From bbb7f33f7ccbd03e2dc5141a01e5a15c478cfd34 Mon Sep 17 00:00:00 2001 From: Igor de Paula Date: Wed, 15 Nov 2023 13:54:45 -0500 Subject: [PATCH] fix: exports create order service --- src/booking/Orders/OrdersTypes.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/booking/Orders/OrdersTypes.ts b/src/booking/Orders/OrdersTypes.ts index aa0d9b05..3b01a71e 100644 --- a/src/booking/Orders/OrdersTypes.ts +++ b/src/booking/Orders/OrdersTypes.ts @@ -530,7 +530,7 @@ export interface CreateOrder { /** * The services you want to book along wpith the first selected offer. */ - services?: Pick[] + services?: CreateOrderService[] /** * The personal details of the passengers, expanding on the information initially provided when creating the offer request @@ -557,6 +557,8 @@ export interface CreateOrder { metadata?: Record } +export type CreateOrderService = Pick + export interface ListParamsOrders { /** * Whether to filter orders that are awaiting payment or not. If not specified, all orders regardless of their payment state will be returned.