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.