@chrt-inc/typescript-sdk 1.929.0 → 1.932.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/Client.d.ts +3 -0
- package/dist/cjs/Client.js +13 -8
- package/dist/cjs/api/resources/billingNew/resources/billingPeriods/client/Client.d.ts +3 -0
- package/dist/cjs/api/resources/billingNew/resources/billingPeriods/client/Client.js +3 -0
- package/dist/cjs/api/resources/billingNew/resources/billingPeriods/client/requests/BillingPeriodsListV1Request.d.ts +3 -0
- package/dist/cjs/api/resources/billingNew/resources/chrtGroundProviderRates/client/Client.d.ts +5 -0
- package/dist/cjs/api/resources/billingNew/resources/chrtGroundProviderRates/client/Client.js +5 -0
- package/dist/cjs/api/resources/billingNew/resources/chrtGroundProviderRates/client/requests/ChrtGroundProviderRatesListV1Request.d.ts +5 -0
- package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/Client.d.ts +4 -0
- package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/Client.js +4 -0
- package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemsListV1Request.d.ts +4 -0
- package/dist/cjs/api/resources/billingNew/resources/invoices/client/Client.d.ts +3 -0
- package/dist/cjs/api/resources/billingNew/resources/invoices/client/Client.js +3 -0
- package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/InvoicesListV1Request.d.ts +3 -0
- package/dist/cjs/api/resources/billingNew/resources/orders/client/Client.d.ts +2 -0
- package/dist/cjs/api/resources/billingNew/resources/orders/client/Client.js +2 -0
- package/dist/cjs/api/resources/billingNew/resources/orders/client/requests/OrderBillingExpandedListReq.d.ts +2 -0
- package/dist/cjs/api/resources/index.d.ts +1 -0
- package/dist/cjs/api/resources/index.js +2 -1
- package/dist/cjs/api/resources/integrations/resources/cargoaiTrackAndTrace/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/integrations/resources/cargoaiTrackAndTrace/client/Client.js +2 -2
- package/dist/cjs/api/resources/listing/resources/bidThreads/client/Client.d.ts +2 -0
- package/dist/cjs/api/resources/listing/resources/bidThreads/client/Client.js +2 -0
- package/dist/cjs/api/resources/listing/resources/bidThreads/client/requests/BidThreadsListForBidderV1Request.d.ts +1 -0
- package/dist/cjs/api/resources/listing/resources/bidThreads/client/requests/BidThreadsListForListingV1Request.d.ts +1 -0
- package/dist/cjs/api/resources/listing/resources/listings/client/Client.d.ts +6 -0
- package/dist/cjs/api/resources/listing/resources/listings/client/Client.js +6 -0
- package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingsListByOrgV1Request.d.ts +2 -0
- package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingsListForDriverBidderV1Request.d.ts +2 -0
- package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingsListForProviderBidderV1Request.d.ts +2 -0
- package/dist/cjs/api/resources/listing/resources/orgBiddingGroups/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/listing/resources/orgBiddingGroups/client/Client.js +2 -2
- package/dist/cjs/api/resources/notifications/resources/groups/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/notifications/resources/groups/client/Client.js +2 -2
- package/dist/cjs/api/resources/operations/resources/departments/client/Client.d.ts +4 -3
- package/dist/cjs/api/resources/operations/resources/departments/client/Client.js +4 -3
- package/dist/cjs/api/resources/operations/resources/departments/client/requests/DepartmentsListV1Request.d.ts +2 -1
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.d.ts +6 -0
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.js +6 -0
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksExpandedListV1Request.d.ts +3 -0
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksListV1Request.d.ts +3 -0
- package/dist/cjs/api/resources/orgs/client/Client.d.ts +1 -0
- package/dist/cjs/api/resources/orgs/client/Client.js +1 -0
- package/dist/cjs/api/resources/orgs/client/requests/OrgsListMembersV1Request.d.ts +1 -0
- package/dist/cjs/api/resources/orgs/resources/connections/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/orgs/resources/connections/client/Client.js +1 -1
- package/dist/cjs/api/resources/orgs/resources/publicData/client/Client.d.ts +4 -4
- package/dist/cjs/api/resources/orgs/resources/publicData/client/Client.js +4 -4
- package/dist/cjs/api/resources/shipping/client/Client.d.ts +0 -3
- package/dist/cjs/api/resources/shipping/client/Client.js +10 -15
- package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.d.ts +3 -1
- package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.js +3 -1
- package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriversListOrgMembersAndDriversV1Request.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriversListV1Request.d.ts +2 -1
- package/dist/cjs/api/resources/shipping/resources/flights/client/Client.d.ts +6 -3
- package/dist/cjs/api/resources/shipping/resources/flights/client/Client.js +19 -11
- package/dist/cjs/api/resources/shipping/resources/flights/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/flights/client/index.js +15 -0
- package/dist/cjs/api/resources/shipping/resources/flights/client/requests/FlightsGetFlightTrackForFlightLegV1Request.d.ts +13 -0
- package/dist/cjs/api/resources/shipping/resources/flights/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/index.d.ts +1 -2
- package/dist/cjs/api/resources/shipping/resources/index.js +2 -3
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/Client.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/Client.js +1 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplatesNewListV1Request.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/orders/client/Client.d.ts +103 -0
- package/dist/cjs/api/resources/shipping/resources/orders/client/Client.js +442 -0
- package/dist/{esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/DraftsAddCoordinatorTaskListToApplyAtOrderStagingV1Request.d.mts → cjs/api/resources/shipping/resources/orders/client/requests/OrdersAddCoordinatorTaskListToApplyAtOrderStagingV1Request.d.ts} +1 -1
- package/dist/{esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersDraftDeleteManyReq.d.mts → cjs/api/resources/shipping/resources/orders/client/requests/OrdersDeleteManyDraftsReq.d.ts} +1 -1
- package/dist/{esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/SetTaskGroupOrderingDraftReq.d.mts → cjs/api/resources/shipping/resources/orders/client/requests/OrdersTaskGroupOrderingReq.d.ts} +2 -2
- package/dist/cjs/api/resources/shipping/resources/orders/{resources/drafts/client/requests/OrdersDraftUpdateReq.d.ts → client/requests/OrdersUpdateDraftReq.d.ts} +2 -2
- package/dist/cjs/api/resources/shipping/resources/orders/client/requests/index.d.ts +4 -0
- package/dist/cjs/api/resources/shipping/resources/orders/resources/cargo/client/Client.d.ts +13 -0
- package/dist/cjs/api/resources/shipping/resources/orders/resources/cargo/client/Client.js +59 -0
- package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/Client.d.ts +0 -109
- package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/Client.js +0 -452
- package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersOpenDraftReq.d.ts +0 -2
- package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/index.d.ts +0 -4
- package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/index.d.ts +0 -1
- package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/index.js +0 -1
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.ts +8 -0
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.js +8 -0
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.ts +5 -0
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.ts +3 -0
- package/dist/cjs/api/resources/shipping/resources/orders/resources/taskGroup/client/Client.d.ts +13 -0
- package/dist/cjs/api/resources/shipping/resources/orders/resources/taskGroup/client/Client.js +59 -0
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.ts +2 -0
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.js +2 -0
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverV1Request.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.ts +1 -0
- package/dist/cjs/api/resources/shippingIntegrations/client/Client.d.ts +29 -0
- package/dist/cjs/api/resources/shippingIntegrations/client/Client.js +27 -0
- package/dist/cjs/api/resources/shippingIntegrations/index.d.ts +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/index.js +18 -0
- package/dist/cjs/api/resources/{shipping/resources/orders/resources/drafts/resources/cargo → shippingIntegrations/resources/connections}/client/Client.d.ts +12 -14
- package/dist/cjs/api/resources/{shipping/resources/orders/resources/drafts/resources/cargo → shippingIntegrations/resources/connections}/client/Client.js +25 -31
- package/dist/cjs/api/resources/shippingIntegrations/resources/index.d.ts +4 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/index.js +43 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/orders/client/Client.d.ts +101 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/orders/client/Client.js +388 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/orders/client/requests/OrdersListV1Request.d.ts +54 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/orders/client/requests/OrdersStatusSummaryV1Request.d.ts +44 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/orders/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/orders/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/client/Client.d.ts +26 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/client/Client.js +22 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/client/index.js +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/index.d.ts +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/index.js +18 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/creds/client/Client.d.ts +116 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/creds/client/Client.js +427 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/creds/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/creds/client/index.js +17 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/creds/client/requests/XceleratorCredsClientCreate1.d.ts +19 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/creds/client/requests/XceleratorCredsClientUpdate1.d.ts +15 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/creds/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/creds/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/index.d.ts +4 -0
- package/dist/cjs/api/resources/{shipping/resources/orders/resources/drafts → shippingIntegrations/resources/xcelerator}/resources/index.js +8 -3
- package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/Client.d.ts +104 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/Client.js +371 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/index.js +17 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/requests/OrdersListV1Request.d.ts +48 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/requests/XceleratorOrderSyncOneReq.d.ts +15 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/index.d.ts +1 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/index.js +17 -0
- package/dist/cjs/api/resources/tracking/resources/sessions/client/Client.d.ts +3 -2
- package/dist/cjs/api/resources/tracking/resources/sessions/client/Client.js +11 -7
- package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/SessionsFlightTrackV1Request.d.ts +4 -1
- package/dist/cjs/api/types/{GeometryCollectionGeometriesItem.d.ts → GeometriesItem.d.ts} +2 -2
- package/dist/cjs/api/types/GeometryCollection.d.ts +1 -1
- package/dist/cjs/api/types/InternalDelegationJwtReq.d.ts +1 -1
- package/dist/cjs/api/types/OrderLimitedForProvider1.d.ts +0 -1
- package/dist/cjs/api/types/OrderLimitedForShipper1.d.ts +0 -1
- package/dist/cjs/api/types/{OrdersDraftDeleteManyRes.d.ts → OrdersDeleteManyDraftsRes.d.ts} +1 -1
- package/dist/cjs/api/types/{OrdersDraftUpdateRes.d.ts → OrdersUpdateDraftRes.d.ts} +1 -1
- package/dist/cjs/api/types/OrgShippingIntegrationEnum1.d.ts +11 -0
- package/dist/cjs/api/types/OrgShippingIntegrationEnum1.js +13 -0
- package/dist/cjs/api/types/ShippingIntegrationConnection.d.ts +24 -0
- package/dist/cjs/api/types/ShippingIntegrationConnectionListRes.d.ts +8 -0
- package/dist/cjs/api/types/ShippingIntegrationOrder1.d.ts +24 -0
- package/dist/cjs/api/types/ShippingIntegrationOrderListRes.d.ts +8 -0
- package/dist/cjs/api/types/ShippingIntegrationOrderListRes.js +5 -0
- package/dist/cjs/api/types/ShippingIntegrationOrderPlace1.d.ts +21 -0
- package/dist/cjs/api/types/ShippingIntegrationOrderPlace1.js +5 -0
- package/dist/cjs/api/types/ShippingIntegrationOrderSortByEnum.d.ts +10 -0
- package/dist/cjs/api/types/ShippingIntegrationOrderSortByEnum.js +12 -0
- package/dist/cjs/api/types/ShippingIntegrationOrderStatusEnum1.d.ts +11 -0
- package/dist/cjs/api/types/ShippingIntegrationOrderStatusEnum1.js +13 -0
- package/dist/cjs/api/types/ShippingIntegrationOrderStatusSummaryRes.d.ts +14 -0
- package/dist/cjs/api/types/ShippingIntegrationOrderStatusSummaryRes.js +5 -0
- package/dist/cjs/api/types/{WorkflowActor.d.ts → WorkflowCaller.d.ts} +1 -1
- package/dist/cjs/api/types/WorkflowCaller.js +5 -0
- package/dist/cjs/api/types/XceleratorCredsLimited1.d.ts +27 -0
- package/dist/cjs/api/types/XceleratorCredsLimited1.js +5 -0
- package/dist/cjs/api/types/XceleratorCredsListRes.d.ts +8 -0
- package/dist/cjs/api/types/XceleratorCredsListRes.js +5 -0
- package/dist/cjs/api/types/XceleratorCredsTestRes.d.ts +11 -0
- package/dist/cjs/api/types/XceleratorCredsTestRes.js +5 -0
- package/dist/cjs/api/types/XceleratorOrder1.d.ts +19 -0
- package/dist/cjs/api/types/XceleratorOrder1.js +5 -0
- package/dist/cjs/api/types/XceleratorOrderExtraResponse1.d.ts +11 -0
- package/dist/cjs/api/types/XceleratorOrderExtraResponse1.js +5 -0
- package/dist/cjs/api/types/{OrderTemplateListRes.d.ts → XceleratorOrderListRes.d.ts} +2 -2
- package/dist/cjs/api/types/XceleratorOrderListRes.js +5 -0
- package/dist/cjs/api/types/XceleratorOrderPackageResponse1.d.ts +9 -0
- package/dist/cjs/api/types/XceleratorOrderPackageResponse1.js +5 -0
- package/dist/cjs/api/types/XceleratorOrderResponse1.d.ts +82 -0
- package/dist/cjs/api/types/XceleratorOrderResponse1.js +5 -0
- package/dist/cjs/api/types/XceleratorOrderSortByEnum.d.ts +10 -0
- package/dist/cjs/api/types/XceleratorOrderSortByEnum.js +12 -0
- package/dist/cjs/api/types/index.d.ts +22 -11
- package/dist/cjs/api/types/index.js +22 -11
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.d.mts +3 -0
- package/dist/esm/Client.mjs +7 -2
- package/dist/esm/api/resources/billingNew/resources/billingPeriods/client/Client.d.mts +3 -0
- package/dist/esm/api/resources/billingNew/resources/billingPeriods/client/Client.mjs +3 -0
- package/dist/esm/api/resources/billingNew/resources/billingPeriods/client/requests/BillingPeriodsListV1Request.d.mts +3 -0
- package/dist/esm/api/resources/billingNew/resources/chrtGroundProviderRates/client/Client.d.mts +5 -0
- package/dist/esm/api/resources/billingNew/resources/chrtGroundProviderRates/client/Client.mjs +5 -0
- package/dist/esm/api/resources/billingNew/resources/chrtGroundProviderRates/client/requests/ChrtGroundProviderRatesListV1Request.d.mts +5 -0
- package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/Client.d.mts +4 -0
- package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/Client.mjs +4 -0
- package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemsListV1Request.d.mts +4 -0
- package/dist/esm/api/resources/billingNew/resources/invoices/client/Client.d.mts +3 -0
- package/dist/esm/api/resources/billingNew/resources/invoices/client/Client.mjs +3 -0
- package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/InvoicesListV1Request.d.mts +3 -0
- package/dist/esm/api/resources/billingNew/resources/orders/client/Client.d.mts +2 -0
- package/dist/esm/api/resources/billingNew/resources/orders/client/Client.mjs +2 -0
- package/dist/esm/api/resources/billingNew/resources/orders/client/requests/OrderBillingExpandedListReq.d.mts +2 -0
- package/dist/esm/api/resources/index.d.mts +1 -0
- package/dist/esm/api/resources/index.mjs +1 -0
- package/dist/esm/api/resources/integrations/resources/cargoaiTrackAndTrace/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/integrations/resources/cargoaiTrackAndTrace/client/Client.mjs +2 -2
- package/dist/esm/api/resources/listing/resources/bidThreads/client/Client.d.mts +2 -0
- package/dist/esm/api/resources/listing/resources/bidThreads/client/Client.mjs +2 -0
- package/dist/esm/api/resources/listing/resources/bidThreads/client/requests/BidThreadsListForBidderV1Request.d.mts +1 -0
- package/dist/esm/api/resources/listing/resources/bidThreads/client/requests/BidThreadsListForListingV1Request.d.mts +1 -0
- package/dist/esm/api/resources/listing/resources/listings/client/Client.d.mts +6 -0
- package/dist/esm/api/resources/listing/resources/listings/client/Client.mjs +6 -0
- package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingsListByOrgV1Request.d.mts +2 -0
- package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingsListForDriverBidderV1Request.d.mts +2 -0
- package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingsListForProviderBidderV1Request.d.mts +2 -0
- package/dist/esm/api/resources/listing/resources/orgBiddingGroups/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/listing/resources/orgBiddingGroups/client/Client.mjs +2 -2
- package/dist/esm/api/resources/notifications/resources/groups/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/notifications/resources/groups/client/Client.mjs +2 -2
- package/dist/esm/api/resources/operations/resources/departments/client/Client.d.mts +4 -3
- package/dist/esm/api/resources/operations/resources/departments/client/Client.mjs +4 -3
- package/dist/esm/api/resources/operations/resources/departments/client/requests/DepartmentsListV1Request.d.mts +2 -1
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.d.mts +6 -0
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.mjs +6 -0
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksExpandedListV1Request.d.mts +3 -0
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksListV1Request.d.mts +3 -0
- package/dist/esm/api/resources/orgs/client/Client.d.mts +1 -0
- package/dist/esm/api/resources/orgs/client/Client.mjs +1 -0
- package/dist/esm/api/resources/orgs/client/requests/OrgsListMembersV1Request.d.mts +1 -0
- package/dist/esm/api/resources/orgs/resources/connections/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/orgs/resources/connections/client/Client.mjs +1 -1
- package/dist/esm/api/resources/orgs/resources/publicData/client/Client.d.mts +4 -4
- package/dist/esm/api/resources/orgs/resources/publicData/client/Client.mjs +4 -4
- package/dist/esm/api/resources/shipping/client/Client.d.mts +0 -3
- package/dist/esm/api/resources/shipping/client/Client.mjs +0 -5
- package/dist/esm/api/resources/shipping/resources/drivers/client/Client.d.mts +3 -1
- package/dist/esm/api/resources/shipping/resources/drivers/client/Client.mjs +3 -1
- package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriversListOrgMembersAndDriversV1Request.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriversListV1Request.d.mts +2 -1
- package/dist/esm/api/resources/shipping/resources/flights/client/Client.d.mts +6 -3
- package/dist/esm/api/resources/shipping/resources/flights/client/Client.mjs +19 -11
- package/dist/esm/api/resources/shipping/resources/flights/client/index.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/flights/client/index.mjs +1 -1
- package/dist/esm/api/resources/shipping/resources/flights/client/requests/FlightsGetFlightTrackForFlightLegV1Request.d.mts +13 -0
- package/dist/esm/api/resources/shipping/resources/flights/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/index.d.mts +1 -2
- package/dist/esm/api/resources/shipping/resources/index.mjs +1 -2
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/Client.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/Client.mjs +1 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplatesNewListV1Request.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/orders/client/Client.d.mts +103 -0
- package/dist/esm/api/resources/shipping/resources/orders/client/Client.mjs +442 -0
- package/dist/{cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/DraftsAddCoordinatorTaskListToApplyAtOrderStagingV1Request.d.ts → esm/api/resources/shipping/resources/orders/client/requests/OrdersAddCoordinatorTaskListToApplyAtOrderStagingV1Request.d.mts} +1 -1
- package/dist/{cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersDraftDeleteManyReq.d.ts → esm/api/resources/shipping/resources/orders/client/requests/OrdersDeleteManyDraftsReq.d.mts} +1 -1
- package/dist/{cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/SetTaskGroupOrderingDraftReq.d.ts → esm/api/resources/shipping/resources/orders/client/requests/OrdersTaskGroupOrderingReq.d.mts} +2 -2
- package/dist/esm/api/resources/shipping/resources/orders/{resources/drafts/client/requests/OrdersDraftUpdateReq.d.mts → client/requests/OrdersUpdateDraftReq.d.mts} +2 -2
- package/dist/esm/api/resources/shipping/resources/orders/client/requests/index.d.mts +4 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/cargo/client/Client.d.mts +13 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/cargo/client/Client.mjs +59 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/Client.d.mts +0 -109
- package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/Client.mjs +0 -452
- package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersOpenDraftReq.d.mts +0 -2
- package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/index.d.mts +0 -4
- package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/index.d.mts +0 -1
- package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/index.mjs +0 -1
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.mts +8 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.mjs +8 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.mts +5 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.mts +3 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/taskGroup/client/Client.d.mts +13 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/taskGroup/client/Client.mjs +59 -0
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.mts +2 -0
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.mjs +2 -0
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverV1Request.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.mts +1 -0
- package/dist/esm/api/resources/shippingIntegrations/client/Client.d.mts +29 -0
- package/dist/esm/api/resources/shippingIntegrations/client/Client.mjs +23 -0
- package/dist/esm/api/resources/shippingIntegrations/index.d.mts +2 -0
- package/dist/esm/api/resources/shippingIntegrations/index.mjs +2 -0
- package/dist/esm/api/resources/{shipping/resources/orders/resources/drafts/resources/cargo → shippingIntegrations/resources/connections}/client/Client.d.mts +12 -14
- package/dist/esm/api/resources/{shipping/resources/orders/resources/drafts/resources/cargo → shippingIntegrations/resources/connections}/client/Client.mjs +23 -29
- package/dist/esm/api/resources/shippingIntegrations/resources/connections/client/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/index.d.mts +4 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/index.mjs +4 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/orders/client/Client.d.mts +101 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/orders/client/Client.mjs +351 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/orders/client/requests/OrdersListV1Request.d.mts +54 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/orders/client/requests/OrdersStatusSummaryV1Request.d.mts +44 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/orders/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/orders/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/client/Client.d.mts +26 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/client/Client.mjs +18 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/client/index.d.mts +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/client/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/index.d.mts +2 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/index.mjs +2 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/creds/client/Client.d.mts +116 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/creds/client/Client.mjs +390 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/creds/client/index.d.mts +2 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/creds/client/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/creds/client/requests/XceleratorCredsClientCreate1.d.mts +19 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/creds/client/requests/XceleratorCredsClientUpdate1.d.mts +15 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/creds/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/creds/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/index.d.mts +4 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/index.mjs +4 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/Client.d.mts +104 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/Client.mjs +334 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/index.d.mts +2 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/requests/OrdersListV1Request.d.mts +48 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/requests/XceleratorOrderSyncOneReq.d.mts +15 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/index.d.mts +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/index.mjs +1 -0
- package/dist/esm/api/resources/tracking/resources/sessions/client/Client.d.mts +3 -2
- package/dist/esm/api/resources/tracking/resources/sessions/client/Client.mjs +11 -7
- package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionsFlightTrackV1Request.d.mts +4 -1
- package/dist/esm/api/types/{GeometryCollectionGeometriesItem.d.mts → GeometriesItem.d.mts} +2 -2
- package/dist/esm/api/types/GeometryCollection.d.mts +1 -1
- package/dist/esm/api/types/InternalDelegationJwtReq.d.mts +1 -1
- package/dist/esm/api/types/OrderLimitedForProvider1.d.mts +0 -1
- package/dist/esm/api/types/OrderLimitedForShipper1.d.mts +0 -1
- package/dist/esm/api/types/{OrdersDraftDeleteManyRes.d.mts → OrdersDeleteManyDraftsRes.d.mts} +1 -1
- package/dist/esm/api/types/{OrdersDraftUpdateRes.d.mts → OrdersUpdateDraftRes.d.mts} +1 -1
- package/dist/esm/api/types/OrgShippingIntegrationEnum1.d.mts +11 -0
- package/dist/esm/api/types/OrgShippingIntegrationEnum1.mjs +10 -0
- package/dist/esm/api/types/ShippingIntegrationConnection.d.mts +24 -0
- package/dist/esm/api/types/ShippingIntegrationConnectionListRes.d.mts +8 -0
- package/dist/esm/api/types/ShippingIntegrationOrder1.d.mts +24 -0
- package/dist/esm/api/types/ShippingIntegrationOrderListRes.d.mts +8 -0
- package/dist/esm/api/types/ShippingIntegrationOrderListRes.mjs +4 -0
- package/dist/esm/api/types/ShippingIntegrationOrderPlace1.d.mts +21 -0
- package/dist/esm/api/types/ShippingIntegrationOrderPlace1.mjs +4 -0
- package/dist/esm/api/types/ShippingIntegrationOrderSortByEnum.d.mts +10 -0
- package/dist/esm/api/types/ShippingIntegrationOrderSortByEnum.mjs +9 -0
- package/dist/esm/api/types/ShippingIntegrationOrderStatusEnum1.d.mts +11 -0
- package/dist/esm/api/types/ShippingIntegrationOrderStatusEnum1.mjs +10 -0
- package/dist/esm/api/types/ShippingIntegrationOrderStatusSummaryRes.d.mts +14 -0
- package/dist/esm/api/types/ShippingIntegrationOrderStatusSummaryRes.mjs +4 -0
- package/dist/esm/api/types/{WorkflowActor.d.mts → WorkflowCaller.d.mts} +1 -1
- package/dist/esm/api/types/WorkflowCaller.mjs +4 -0
- package/dist/esm/api/types/XceleratorCredsLimited1.d.mts +27 -0
- package/dist/esm/api/types/XceleratorCredsLimited1.mjs +4 -0
- package/dist/esm/api/types/XceleratorCredsListRes.d.mts +8 -0
- package/dist/esm/api/types/XceleratorCredsListRes.mjs +4 -0
- package/dist/esm/api/types/XceleratorCredsTestRes.d.mts +11 -0
- package/dist/esm/api/types/XceleratorCredsTestRes.mjs +4 -0
- package/dist/esm/api/types/XceleratorOrder1.d.mts +19 -0
- package/dist/esm/api/types/XceleratorOrder1.mjs +4 -0
- package/dist/esm/api/types/XceleratorOrderExtraResponse1.d.mts +11 -0
- package/dist/esm/api/types/XceleratorOrderExtraResponse1.mjs +4 -0
- package/dist/esm/api/types/{OrderTemplateListRes.d.mts → XceleratorOrderListRes.d.mts} +2 -2
- package/dist/esm/api/types/XceleratorOrderListRes.mjs +4 -0
- package/dist/esm/api/types/XceleratorOrderPackageResponse1.d.mts +9 -0
- package/dist/esm/api/types/XceleratorOrderPackageResponse1.mjs +4 -0
- package/dist/esm/api/types/XceleratorOrderResponse1.d.mts +82 -0
- package/dist/esm/api/types/XceleratorOrderResponse1.mjs +4 -0
- package/dist/esm/api/types/XceleratorOrderSortByEnum.d.mts +10 -0
- package/dist/esm/api/types/XceleratorOrderSortByEnum.mjs +9 -0
- package/dist/esm/api/types/index.d.mts +22 -11
- package/dist/esm/api/types/index.mjs +22 -11
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +1309 -921
- package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/Client.d.ts +0 -182
- package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/Client.js +0 -720
- package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientCreate1.d.ts +0 -33
- package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientUpdate1.d.ts +0 -37
- package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateRemoveReferenceReq.d.ts +0 -14
- package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplatesListV1Request.d.ts +0 -80
- package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/index.d.ts +0 -4
- package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/index.d.ts +0 -2
- package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/Client.d.ts +0 -46
- package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/Client.js +0 -127
- package/dist/cjs/api/types/Order1.d.ts +0 -43
- package/dist/cjs/api/types/OrderTemplate1.d.ts +0 -35
- package/dist/cjs/api/types/OrderTemplateExpanded1.d.ts +0 -16
- package/dist/cjs/api/types/OrderTemplateOrgInfo1.d.ts +0 -10
- package/dist/cjs/api/types/OrderTemplateReferenceColumnEnum1.d.ts +0 -13
- package/dist/cjs/api/types/OrderTemplateReferenceColumnEnum1.js +0 -15
- package/dist/cjs/api/types/OrderTemplateSortByEnum.d.ts +0 -11
- package/dist/cjs/api/types/OrderTemplateSortByEnum.js +0 -13
- package/dist/esm/api/resources/shipping/resources/orderTemplates/client/Client.d.mts +0 -182
- package/dist/esm/api/resources/shipping/resources/orderTemplates/client/Client.mjs +0 -683
- package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientCreate1.d.mts +0 -33
- package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientUpdate1.d.mts +0 -37
- package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateRemoveReferenceReq.d.mts +0 -14
- package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplatesListV1Request.d.mts +0 -80
- package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/index.d.mts +0 -4
- package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/index.d.mts +0 -2
- package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/index.mjs +0 -2
- package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/Client.d.mts +0 -46
- package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/Client.mjs +0 -90
- package/dist/esm/api/types/Order1.d.mts +0 -43
- package/dist/esm/api/types/OrderTemplate1.d.mts +0 -35
- package/dist/esm/api/types/OrderTemplateExpanded1.d.mts +0 -16
- package/dist/esm/api/types/OrderTemplateOrgInfo1.d.mts +0 -10
- package/dist/esm/api/types/OrderTemplateReferenceColumnEnum1.d.mts +0 -13
- package/dist/esm/api/types/OrderTemplateReferenceColumnEnum1.mjs +0 -12
- package/dist/esm/api/types/OrderTemplateSortByEnum.d.mts +0 -11
- package/dist/esm/api/types/OrderTemplateSortByEnum.mjs +0 -10
- /package/dist/cjs/api/resources/shipping/resources/{orderTemplates/client/requests/OrderTemplateClientCreate1.js → flights/client/requests/FlightsGetFlightTrackForFlightLegV1Request.js} +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderTemplates → flights}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderTemplates/client/requests/OrderTemplateClientUpdate1.js → orders/client/requests/OrdersAddCoordinatorTaskListToApplyAtOrderStagingV1Request.js} +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderTemplates/client/requests/OrderTemplateRemoveReferenceReq.js → orders/client/requests/OrdersDeleteManyDraftsReq.js} +0 -0
- /package/dist/cjs/api/resources/shipping/resources/{orderTemplates/client/requests/OrderTemplatesListV1Request.js → orders/client/requests/OrdersTaskGroupOrderingReq.js} +0 -0
- /package/dist/cjs/api/resources/shipping/resources/orders/{resources/drafts/client/requests/DraftsAddCoordinatorTaskListToApplyAtOrderStagingV1Request.js → client/requests/OrdersUpdateDraftReq.js} +0 -0
- /package/dist/cjs/api/resources/{shipping/resources/orders/resources/drafts/resources/cargo → shippingIntegrations}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{shipping/resources/orders/resources/drafts/resources/cargo → shippingIntegrations}/client/index.js +0 -0
- /package/dist/cjs/api/resources/{shipping/resources/orders/resources/drafts/resources/taskGroup → shippingIntegrations/resources/connections}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{shipping/resources/orders/resources/drafts/resources/taskGroup → shippingIntegrations/resources/connections}/client/index.js +0 -0
- /package/dist/cjs/api/resources/{shipping/resources/orderTemplates → shippingIntegrations/resources/connections}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{shipping/resources/orderTemplates → shippingIntegrations/resources/connections}/index.js +0 -0
- /package/dist/cjs/api/resources/{shipping/resources/orderTemplates → shippingIntegrations/resources/orders}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{shipping/resources/orderTemplates → shippingIntegrations/resources/orders}/client/index.js +0 -0
- /package/dist/cjs/api/resources/{shipping/resources/orders/resources/drafts/client/requests/OrdersDraftDeleteManyReq.js → shippingIntegrations/resources/orders/client/requests/OrdersListV1Request.js} +0 -0
- /package/dist/cjs/api/resources/{shipping/resources/orders/resources/drafts/client/requests/OrdersDraftUpdateReq.js → shippingIntegrations/resources/orders/client/requests/OrdersStatusSummaryV1Request.js} +0 -0
- /package/dist/cjs/api/resources/{shipping/resources/orders/resources/drafts/resources/cargo → shippingIntegrations/resources/orders}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{shipping/resources/orders/resources/drafts/resources/cargo → shippingIntegrations/resources/orders}/index.js +0 -0
- /package/dist/{esm/api/resources/shipping/resources/orderTemplates/client/requests/index.mjs → cjs/api/resources/shippingIntegrations/resources/xcelerator/client/index.d.ts} +0 -0
- /package/dist/cjs/api/resources/{shipping/resources/orders/resources/drafts/client/requests/SetTaskGroupOrderingDraftReq.js → shippingIntegrations/resources/xcelerator/resources/creds/client/requests/XceleratorCredsClientCreate1.js} +0 -0
- /package/dist/cjs/api/{types/GeometryCollectionGeometriesItem.js → resources/shippingIntegrations/resources/xcelerator/resources/creds/client/requests/XceleratorCredsClientUpdate1.js} +0 -0
- /package/dist/cjs/api/resources/{shipping/resources/orders/resources/drafts/resources/taskGroup → shippingIntegrations/resources/xcelerator/resources/creds}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{shipping/resources/orders/resources/drafts/resources/taskGroup → shippingIntegrations/resources/xcelerator/resources/creds}/index.js +0 -0
- /package/dist/cjs/api/{types/Order1.js → resources/shippingIntegrations/resources/xcelerator/resources/orders/client/requests/OrdersListV1Request.js} +0 -0
- /package/dist/cjs/api/{types/OrderTemplate1.js → resources/shippingIntegrations/resources/xcelerator/resources/orders/client/requests/XceleratorOrderSyncOneReq.js} +0 -0
- /package/dist/cjs/api/types/{OrderTemplateExpanded1.js → GeometriesItem.js} +0 -0
- /package/dist/cjs/api/types/{OrderTemplateListRes.js → OrdersDeleteManyDraftsRes.js} +0 -0
- /package/dist/cjs/api/types/{OrderTemplateOrgInfo1.js → OrdersUpdateDraftRes.js} +0 -0
- /package/dist/cjs/api/types/{OrdersDraftDeleteManyRes.js → ShippingIntegrationConnection.js} +0 -0
- /package/dist/cjs/api/types/{OrdersDraftUpdateRes.js → ShippingIntegrationConnectionListRes.js} +0 -0
- /package/dist/cjs/api/types/{WorkflowActor.js → ShippingIntegrationOrder1.js} +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderTemplates/client/requests/OrderTemplateClientCreate1.mjs → flights/client/requests/FlightsGetFlightTrackForFlightLegV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orders/resources/drafts/resources/cargo/client → flights/client/requests}/index.mjs +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderTemplates/client/requests/OrderTemplateClientUpdate1.mjs → orders/client/requests/OrdersAddCoordinatorTaskListToApplyAtOrderStagingV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderTemplates/client/requests/OrderTemplateRemoveReferenceReq.mjs → orders/client/requests/OrdersDeleteManyDraftsReq.mjs} +0 -0
- /package/dist/esm/api/resources/shipping/resources/{orderTemplates/client/requests/OrderTemplatesListV1Request.mjs → orders/client/requests/OrdersTaskGroupOrderingReq.mjs} +0 -0
- /package/dist/esm/api/resources/shipping/resources/orders/{resources/drafts/client/requests/DraftsAddCoordinatorTaskListToApplyAtOrderStagingV1Request.mjs → client/requests/OrdersUpdateDraftReq.mjs} +0 -0
- /package/dist/esm/api/resources/{shipping/resources/orders/resources/drafts/resources/cargo → shippingIntegrations}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{shipping/resources/orders/resources/drafts/resources/taskGroup → shippingIntegrations}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{shipping/resources/orders/resources/drafts/resources/taskGroup → shippingIntegrations/resources/connections}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{shipping/resources/orderTemplates → shippingIntegrations/resources/connections}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{shipping/resources/orderTemplates → shippingIntegrations/resources/connections}/index.mjs +0 -0
- /package/dist/esm/api/resources/{shipping/resources/orderTemplates → shippingIntegrations/resources/orders}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{shipping/resources/orderTemplates → shippingIntegrations/resources/orders}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{shipping/resources/orders/resources/drafts/client/requests/OrdersDraftDeleteManyReq.mjs → shippingIntegrations/resources/orders/client/requests/OrdersListV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/{shipping/resources/orders/resources/drafts/client/requests/OrdersDraftUpdateReq.mjs → shippingIntegrations/resources/orders/client/requests/OrdersStatusSummaryV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/{shipping/resources/orders/resources/drafts/resources/cargo → shippingIntegrations/resources/orders}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{shipping/resources/orders/resources/drafts/resources/cargo → shippingIntegrations/resources/orders}/index.mjs +0 -0
- /package/dist/esm/api/resources/{shipping/resources/orders/resources/drafts/client/requests/SetTaskGroupOrderingDraftReq.mjs → shippingIntegrations/resources/xcelerator/resources/creds/client/requests/XceleratorCredsClientCreate1.mjs} +0 -0
- /package/dist/esm/api/{types/GeometryCollectionGeometriesItem.mjs → resources/shippingIntegrations/resources/xcelerator/resources/creds/client/requests/XceleratorCredsClientUpdate1.mjs} +0 -0
- /package/dist/esm/api/resources/{shipping/resources/orders/resources/drafts/resources/taskGroup → shippingIntegrations/resources/xcelerator/resources/creds}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{shipping/resources/orders/resources/drafts/resources/taskGroup → shippingIntegrations/resources/xcelerator/resources/creds}/index.mjs +0 -0
- /package/dist/esm/api/{types/Order1.mjs → resources/shippingIntegrations/resources/xcelerator/resources/orders/client/requests/OrdersListV1Request.mjs} +0 -0
- /package/dist/esm/api/{types/OrderTemplate1.mjs → resources/shippingIntegrations/resources/xcelerator/resources/orders/client/requests/XceleratorOrderSyncOneReq.mjs} +0 -0
- /package/dist/esm/api/types/{OrderTemplateExpanded1.mjs → GeometriesItem.mjs} +0 -0
- /package/dist/esm/api/types/{OrderTemplateListRes.mjs → OrdersDeleteManyDraftsRes.mjs} +0 -0
- /package/dist/esm/api/types/{OrderTemplateOrgInfo1.mjs → OrdersUpdateDraftRes.mjs} +0 -0
- /package/dist/esm/api/types/{OrdersDraftDeleteManyRes.mjs → ShippingIntegrationConnection.mjs} +0 -0
- /package/dist/esm/api/types/{OrdersDraftUpdateRes.mjs → ShippingIntegrationConnectionListRes.mjs} +0 -0
- /package/dist/esm/api/types/{WorkflowActor.mjs → ShippingIntegrationOrder1.mjs} +0 -0
|
@@ -51,152 +51,10 @@ const core = __importStar(require("../../../../../../../../core/index.js"));
|
|
|
51
51
|
const Chrt = __importStar(require("../../../../../../../index.js"));
|
|
52
52
|
const headers_js_1 = require("../../../../../../../../core/headers.js");
|
|
53
53
|
const errors = __importStar(require("../../../../../../../../errors/index.js"));
|
|
54
|
-
const Client_js_1 = require("../resources/cargo/client/Client.js");
|
|
55
|
-
const Client_js_2 = require("../resources/taskGroup/client/Client.js");
|
|
56
54
|
class Drafts {
|
|
57
55
|
constructor(_options = {}) {
|
|
58
56
|
this._options = _options;
|
|
59
57
|
}
|
|
60
|
-
get cargo() {
|
|
61
|
-
var _a;
|
|
62
|
-
return ((_a = this._cargo) !== null && _a !== void 0 ? _a : (this._cargo = new Client_js_1.Cargo(this._options)));
|
|
63
|
-
}
|
|
64
|
-
get taskGroup() {
|
|
65
|
-
var _a;
|
|
66
|
-
return ((_a = this._taskGroup) !== null && _a !== void 0 ? _a : (this._taskGroup = new Client_js_2.TaskGroup(this._options)));
|
|
67
|
-
}
|
|
68
|
-
/**
|
|
69
|
-
* Adds a coordinator task list with an optional department override to apply when the draft order is staged. | authz_personas=[coordinator_org_operators] | (UTCDatetime | None) -> (bool)
|
|
70
|
-
*
|
|
71
|
-
* @param {string} orderId
|
|
72
|
-
* @param {string} taskListId
|
|
73
|
-
* @param {Chrt.shipping.orders.DraftsAddCoordinatorTaskListToApplyAtOrderStagingV1Request} request
|
|
74
|
-
* @param {Drafts.RequestOptions} requestOptions - Request-specific configuration.
|
|
75
|
-
*
|
|
76
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
77
|
-
*
|
|
78
|
-
* @example
|
|
79
|
-
* await client.shipping.orders.drafts.addCoordinatorTaskListToApplyAtOrderStagingV1("order_id", "task_list_id", {
|
|
80
|
-
* department_id: "department_id",
|
|
81
|
-
* body: "2024-01-15T09:30:00Z"
|
|
82
|
-
* })
|
|
83
|
-
*/
|
|
84
|
-
addCoordinatorTaskListToApplyAtOrderStagingV1(orderId, taskListId, request = {}, requestOptions) {
|
|
85
|
-
return core.HttpResponsePromise.fromPromise(this.__addCoordinatorTaskListToApplyAtOrderStagingV1(orderId, taskListId, request, requestOptions));
|
|
86
|
-
}
|
|
87
|
-
__addCoordinatorTaskListToApplyAtOrderStagingV1(orderId_1, taskListId_1) {
|
|
88
|
-
return __awaiter(this, arguments, void 0, function* (orderId, taskListId, request = {}, requestOptions) {
|
|
89
|
-
var _a, _b, _c, _d;
|
|
90
|
-
const { department_id: departmentId, body: _body } = request;
|
|
91
|
-
const _queryParams = {};
|
|
92
|
-
if (departmentId !== undefined) {
|
|
93
|
-
_queryParams["department_id"] = departmentId;
|
|
94
|
-
}
|
|
95
|
-
let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
96
|
-
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
97
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/orders/drafts/coordinator_task_lists_to_apply_at_order_staging/add/v1/${encodeURIComponent(orderId)}/${encodeURIComponent(taskListId)}`),
|
|
98
|
-
method: "POST",
|
|
99
|
-
headers: _headers,
|
|
100
|
-
contentType: "application/json",
|
|
101
|
-
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
102
|
-
requestType: "json",
|
|
103
|
-
body: _body != null ? _body : undefined,
|
|
104
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
105
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
106
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
107
|
-
});
|
|
108
|
-
if (_response.ok) {
|
|
109
|
-
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
110
|
-
}
|
|
111
|
-
if (_response.error.reason === "status-code") {
|
|
112
|
-
switch (_response.error.statusCode) {
|
|
113
|
-
case 422:
|
|
114
|
-
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
115
|
-
default:
|
|
116
|
-
throw new errors.ChrtError({
|
|
117
|
-
statusCode: _response.error.statusCode,
|
|
118
|
-
body: _response.error.body,
|
|
119
|
-
rawResponse: _response.rawResponse,
|
|
120
|
-
});
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
switch (_response.error.reason) {
|
|
124
|
-
case "non-json":
|
|
125
|
-
throw new errors.ChrtError({
|
|
126
|
-
statusCode: _response.error.statusCode,
|
|
127
|
-
body: _response.error.rawBody,
|
|
128
|
-
rawResponse: _response.rawResponse,
|
|
129
|
-
});
|
|
130
|
-
case "timeout":
|
|
131
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/orders/drafts/coordinator_task_lists_to_apply_at_order_staging/add/v1/{order_id}/{task_list_id}.");
|
|
132
|
-
case "unknown":
|
|
133
|
-
throw new errors.ChrtError({
|
|
134
|
-
message: _response.error.errorMessage,
|
|
135
|
-
rawResponse: _response.rawResponse,
|
|
136
|
-
});
|
|
137
|
-
}
|
|
138
|
-
});
|
|
139
|
-
}
|
|
140
|
-
/**
|
|
141
|
-
* Removes a pending coordinator staging task list from a draft order. | authz_personas=[coordinator_org_operators] | () -> (bool)
|
|
142
|
-
*
|
|
143
|
-
* @param {string} orderId
|
|
144
|
-
* @param {string} taskListId
|
|
145
|
-
* @param {Drafts.RequestOptions} requestOptions - Request-specific configuration.
|
|
146
|
-
*
|
|
147
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
148
|
-
*
|
|
149
|
-
* @example
|
|
150
|
-
* await client.shipping.orders.drafts.removeCoordinatorTaskListToApplyAtOrderStagingV1("order_id", "task_list_id")
|
|
151
|
-
*/
|
|
152
|
-
removeCoordinatorTaskListToApplyAtOrderStagingV1(orderId, taskListId, requestOptions) {
|
|
153
|
-
return core.HttpResponsePromise.fromPromise(this.__removeCoordinatorTaskListToApplyAtOrderStagingV1(orderId, taskListId, requestOptions));
|
|
154
|
-
}
|
|
155
|
-
__removeCoordinatorTaskListToApplyAtOrderStagingV1(orderId, taskListId, requestOptions) {
|
|
156
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
157
|
-
var _a, _b, _c, _d;
|
|
158
|
-
let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
159
|
-
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
160
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/orders/drafts/coordinator_task_lists_to_apply_at_order_staging/remove/v1/${encodeURIComponent(orderId)}/${encodeURIComponent(taskListId)}`),
|
|
161
|
-
method: "POST",
|
|
162
|
-
headers: _headers,
|
|
163
|
-
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
164
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
165
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
166
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
167
|
-
});
|
|
168
|
-
if (_response.ok) {
|
|
169
|
-
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
170
|
-
}
|
|
171
|
-
if (_response.error.reason === "status-code") {
|
|
172
|
-
switch (_response.error.statusCode) {
|
|
173
|
-
case 422:
|
|
174
|
-
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
175
|
-
default:
|
|
176
|
-
throw new errors.ChrtError({
|
|
177
|
-
statusCode: _response.error.statusCode,
|
|
178
|
-
body: _response.error.body,
|
|
179
|
-
rawResponse: _response.rawResponse,
|
|
180
|
-
});
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
switch (_response.error.reason) {
|
|
184
|
-
case "non-json":
|
|
185
|
-
throw new errors.ChrtError({
|
|
186
|
-
statusCode: _response.error.statusCode,
|
|
187
|
-
body: _response.error.rawBody,
|
|
188
|
-
rawResponse: _response.rawResponse,
|
|
189
|
-
});
|
|
190
|
-
case "timeout":
|
|
191
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/orders/drafts/coordinator_task_lists_to_apply_at_order_staging/remove/v1/{order_id}/{task_list_id}.");
|
|
192
|
-
case "unknown":
|
|
193
|
-
throw new errors.ChrtError({
|
|
194
|
-
message: _response.error.errorMessage,
|
|
195
|
-
rawResponse: _response.rawResponse,
|
|
196
|
-
});
|
|
197
|
-
}
|
|
198
|
-
});
|
|
199
|
-
}
|
|
200
58
|
/**
|
|
201
59
|
* Creates a draft Order through one of three paths: (1) provide only order_template_new_id to load the saved template's core and record that template as the Order's provenance; (2) provide only order_template_new_core to materialize an ad hoc submitted core without template provenance; (3) provide both to record and validate the saved template as provenance while materializing the submitted core, without modifying the saved template. | authz: min_org_role=operator | (OrdersCreateDraftFromOrderTemplateNewReq) -> (OrdersOpenDraftRes)
|
|
202
60
|
*
|
|
@@ -259,129 +117,6 @@ class Drafts {
|
|
|
259
117
|
}
|
|
260
118
|
});
|
|
261
119
|
}
|
|
262
|
-
/**
|
|
263
|
-
* Deletes a draft order and all associated entities. | authz_personas=[draft_creator_org_operator] | () -> (bool)
|
|
264
|
-
*
|
|
265
|
-
* @param {string} orderId
|
|
266
|
-
* @param {Drafts.RequestOptions} requestOptions - Request-specific configuration.
|
|
267
|
-
*
|
|
268
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
269
|
-
*
|
|
270
|
-
* @example
|
|
271
|
-
* await client.shipping.orders.drafts.deleteV1("order_id")
|
|
272
|
-
*/
|
|
273
|
-
deleteV1(orderId, requestOptions) {
|
|
274
|
-
return core.HttpResponsePromise.fromPromise(this.__deleteV1(orderId, requestOptions));
|
|
275
|
-
}
|
|
276
|
-
__deleteV1(orderId, requestOptions) {
|
|
277
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
278
|
-
var _a, _b, _c, _d;
|
|
279
|
-
let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
280
|
-
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
281
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/orders/drafts/delete/v1/${encodeURIComponent(orderId)}`),
|
|
282
|
-
method: "DELETE",
|
|
283
|
-
headers: _headers,
|
|
284
|
-
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
285
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
286
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
287
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
288
|
-
});
|
|
289
|
-
if (_response.ok) {
|
|
290
|
-
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
291
|
-
}
|
|
292
|
-
if (_response.error.reason === "status-code") {
|
|
293
|
-
switch (_response.error.statusCode) {
|
|
294
|
-
case 422:
|
|
295
|
-
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
296
|
-
default:
|
|
297
|
-
throw new errors.ChrtError({
|
|
298
|
-
statusCode: _response.error.statusCode,
|
|
299
|
-
body: _response.error.body,
|
|
300
|
-
rawResponse: _response.rawResponse,
|
|
301
|
-
});
|
|
302
|
-
}
|
|
303
|
-
}
|
|
304
|
-
switch (_response.error.reason) {
|
|
305
|
-
case "non-json":
|
|
306
|
-
throw new errors.ChrtError({
|
|
307
|
-
statusCode: _response.error.statusCode,
|
|
308
|
-
body: _response.error.rawBody,
|
|
309
|
-
rawResponse: _response.rawResponse,
|
|
310
|
-
});
|
|
311
|
-
case "timeout":
|
|
312
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling DELETE /shipping/orders/drafts/delete/v1/{order_id}.");
|
|
313
|
-
case "unknown":
|
|
314
|
-
throw new errors.ChrtError({
|
|
315
|
-
message: _response.error.errorMessage,
|
|
316
|
-
rawResponse: _response.rawResponse,
|
|
317
|
-
});
|
|
318
|
-
}
|
|
319
|
-
});
|
|
320
|
-
}
|
|
321
|
-
/**
|
|
322
|
-
* Deletes multiple draft orders and associated entities. | authz_personas=[draft_creator_org_operator] | (OrdersDraftDeleteManyReq) -> (OrdersDraftDeleteManyRes)
|
|
323
|
-
*
|
|
324
|
-
* @param {Chrt.shipping.orders.OrdersDraftDeleteManyReq} request
|
|
325
|
-
* @param {Drafts.RequestOptions} requestOptions - Request-specific configuration.
|
|
326
|
-
*
|
|
327
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
328
|
-
*
|
|
329
|
-
* @example
|
|
330
|
-
* await client.shipping.orders.drafts.deleteManyV1({
|
|
331
|
-
* order_ids: ["order_ids"]
|
|
332
|
-
* })
|
|
333
|
-
*/
|
|
334
|
-
deleteManyV1(request, requestOptions) {
|
|
335
|
-
return core.HttpResponsePromise.fromPromise(this.__deleteManyV1(request, requestOptions));
|
|
336
|
-
}
|
|
337
|
-
__deleteManyV1(request, requestOptions) {
|
|
338
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
339
|
-
var _a, _b, _c, _d;
|
|
340
|
-
let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
341
|
-
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
342
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "shipping/orders/drafts/delete_many/v1"),
|
|
343
|
-
method: "DELETE",
|
|
344
|
-
headers: _headers,
|
|
345
|
-
contentType: "application/json",
|
|
346
|
-
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
347
|
-
requestType: "json",
|
|
348
|
-
body: request,
|
|
349
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
350
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
351
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
352
|
-
});
|
|
353
|
-
if (_response.ok) {
|
|
354
|
-
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
355
|
-
}
|
|
356
|
-
if (_response.error.reason === "status-code") {
|
|
357
|
-
switch (_response.error.statusCode) {
|
|
358
|
-
case 422:
|
|
359
|
-
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
360
|
-
default:
|
|
361
|
-
throw new errors.ChrtError({
|
|
362
|
-
statusCode: _response.error.statusCode,
|
|
363
|
-
body: _response.error.body,
|
|
364
|
-
rawResponse: _response.rawResponse,
|
|
365
|
-
});
|
|
366
|
-
}
|
|
367
|
-
}
|
|
368
|
-
switch (_response.error.reason) {
|
|
369
|
-
case "non-json":
|
|
370
|
-
throw new errors.ChrtError({
|
|
371
|
-
statusCode: _response.error.statusCode,
|
|
372
|
-
body: _response.error.rawBody,
|
|
373
|
-
rawResponse: _response.rawResponse,
|
|
374
|
-
});
|
|
375
|
-
case "timeout":
|
|
376
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling DELETE /shipping/orders/drafts/delete_many/v1.");
|
|
377
|
-
case "unknown":
|
|
378
|
-
throw new errors.ChrtError({
|
|
379
|
-
message: _response.error.errorMessage,
|
|
380
|
-
rawResponse: _response.rawResponse,
|
|
381
|
-
});
|
|
382
|
-
}
|
|
383
|
-
});
|
|
384
|
-
}
|
|
385
120
|
/**
|
|
386
121
|
* Opens a new draft order shell with org assignments based on caller's organization type. | authz: min_org_role=operator | (OrdersOpenDraftReq) -> (OrdersOpenDraftRes)
|
|
387
122
|
*
|
|
@@ -444,193 +179,6 @@ class Drafts {
|
|
|
444
179
|
}
|
|
445
180
|
});
|
|
446
181
|
}
|
|
447
|
-
/**
|
|
448
|
-
* Sets the ordering of task groups within a draft order. Must provide all task group IDs with no duplicates. | (SetTaskGroupOrderingDraftReq) -> (bool)
|
|
449
|
-
*
|
|
450
|
-
* @param {string} orderId
|
|
451
|
-
* @param {Chrt.shipping.orders.SetTaskGroupOrderingDraftReq} request
|
|
452
|
-
* @param {Drafts.RequestOptions} requestOptions - Request-specific configuration.
|
|
453
|
-
*
|
|
454
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
455
|
-
*
|
|
456
|
-
* @example
|
|
457
|
-
* await client.shipping.orders.drafts.setTaskGroupOrderingV1("order_id", {
|
|
458
|
-
* task_group_ids: ["task_group_ids"]
|
|
459
|
-
* })
|
|
460
|
-
*/
|
|
461
|
-
setTaskGroupOrderingV1(orderId, request, requestOptions) {
|
|
462
|
-
return core.HttpResponsePromise.fromPromise(this.__setTaskGroupOrderingV1(orderId, request, requestOptions));
|
|
463
|
-
}
|
|
464
|
-
__setTaskGroupOrderingV1(orderId, request, requestOptions) {
|
|
465
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
466
|
-
var _a, _b, _c, _d;
|
|
467
|
-
let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
468
|
-
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
469
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/orders/drafts/set_task_group_ordering/v1/${encodeURIComponent(orderId)}`),
|
|
470
|
-
method: "PUT",
|
|
471
|
-
headers: _headers,
|
|
472
|
-
contentType: "application/json",
|
|
473
|
-
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
474
|
-
requestType: "json",
|
|
475
|
-
body: request,
|
|
476
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
477
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
478
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
479
|
-
});
|
|
480
|
-
if (_response.ok) {
|
|
481
|
-
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
482
|
-
}
|
|
483
|
-
if (_response.error.reason === "status-code") {
|
|
484
|
-
switch (_response.error.statusCode) {
|
|
485
|
-
case 422:
|
|
486
|
-
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
487
|
-
default:
|
|
488
|
-
throw new errors.ChrtError({
|
|
489
|
-
statusCode: _response.error.statusCode,
|
|
490
|
-
body: _response.error.body,
|
|
491
|
-
rawResponse: _response.rawResponse,
|
|
492
|
-
});
|
|
493
|
-
}
|
|
494
|
-
}
|
|
495
|
-
switch (_response.error.reason) {
|
|
496
|
-
case "non-json":
|
|
497
|
-
throw new errors.ChrtError({
|
|
498
|
-
statusCode: _response.error.statusCode,
|
|
499
|
-
body: _response.error.rawBody,
|
|
500
|
-
rawResponse: _response.rawResponse,
|
|
501
|
-
});
|
|
502
|
-
case "timeout":
|
|
503
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling PUT /shipping/orders/drafts/set_task_group_ordering/v1/{order_id}.");
|
|
504
|
-
case "unknown":
|
|
505
|
-
throw new errors.ChrtError({
|
|
506
|
-
message: _response.error.errorMessage,
|
|
507
|
-
rawResponse: _response.rawResponse,
|
|
508
|
-
});
|
|
509
|
-
}
|
|
510
|
-
});
|
|
511
|
-
}
|
|
512
|
-
/**
|
|
513
|
-
* Updates coordinator and/or shipper org assignments for a draft order. | authz_personas=[draft_creator_org_operator] | (OrdersDraftUpdateReq) -> (OrdersDraftUpdateRes)
|
|
514
|
-
*
|
|
515
|
-
* @param {string} orderId
|
|
516
|
-
* @param {Chrt.shipping.orders.OrdersDraftUpdateReq} request
|
|
517
|
-
* @param {Drafts.RequestOptions} requestOptions - Request-specific configuration.
|
|
518
|
-
*
|
|
519
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
520
|
-
*
|
|
521
|
-
* @example
|
|
522
|
-
* await client.shipping.orders.drafts.updateV1("order_id")
|
|
523
|
-
*/
|
|
524
|
-
updateV1(orderId, request = {}, requestOptions) {
|
|
525
|
-
return core.HttpResponsePromise.fromPromise(this.__updateV1(orderId, request, requestOptions));
|
|
526
|
-
}
|
|
527
|
-
__updateV1(orderId_1) {
|
|
528
|
-
return __awaiter(this, arguments, void 0, function* (orderId, request = {}, requestOptions) {
|
|
529
|
-
var _a, _b, _c, _d;
|
|
530
|
-
let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
531
|
-
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
532
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/orders/drafts/update/v1/${encodeURIComponent(orderId)}`),
|
|
533
|
-
method: "PATCH",
|
|
534
|
-
headers: _headers,
|
|
535
|
-
contentType: "application/json",
|
|
536
|
-
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
537
|
-
requestType: "json",
|
|
538
|
-
body: request,
|
|
539
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
540
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
541
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
542
|
-
});
|
|
543
|
-
if (_response.ok) {
|
|
544
|
-
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
545
|
-
}
|
|
546
|
-
if (_response.error.reason === "status-code") {
|
|
547
|
-
switch (_response.error.statusCode) {
|
|
548
|
-
case 422:
|
|
549
|
-
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
550
|
-
default:
|
|
551
|
-
throw new errors.ChrtError({
|
|
552
|
-
statusCode: _response.error.statusCode,
|
|
553
|
-
body: _response.error.body,
|
|
554
|
-
rawResponse: _response.rawResponse,
|
|
555
|
-
});
|
|
556
|
-
}
|
|
557
|
-
}
|
|
558
|
-
switch (_response.error.reason) {
|
|
559
|
-
case "non-json":
|
|
560
|
-
throw new errors.ChrtError({
|
|
561
|
-
statusCode: _response.error.statusCode,
|
|
562
|
-
body: _response.error.rawBody,
|
|
563
|
-
rawResponse: _response.rawResponse,
|
|
564
|
-
});
|
|
565
|
-
case "timeout":
|
|
566
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /shipping/orders/drafts/update/v1/{order_id}.");
|
|
567
|
-
case "unknown":
|
|
568
|
-
throw new errors.ChrtError({
|
|
569
|
-
message: _response.error.errorMessage,
|
|
570
|
-
rawResponse: _response.rawResponse,
|
|
571
|
-
});
|
|
572
|
-
}
|
|
573
|
-
});
|
|
574
|
-
}
|
|
575
|
-
/**
|
|
576
|
-
* Validates the draft order for staging and returns requirement results. | () -> (OrderDraftValidationResult)
|
|
577
|
-
*
|
|
578
|
-
* @param {string} orderId
|
|
579
|
-
* @param {Drafts.RequestOptions} requestOptions - Request-specific configuration.
|
|
580
|
-
*
|
|
581
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
582
|
-
*
|
|
583
|
-
* @example
|
|
584
|
-
* await client.shipping.orders.drafts.validateV1("order_id")
|
|
585
|
-
*/
|
|
586
|
-
validateV1(orderId, requestOptions) {
|
|
587
|
-
return core.HttpResponsePromise.fromPromise(this.__validateV1(orderId, requestOptions));
|
|
588
|
-
}
|
|
589
|
-
__validateV1(orderId, requestOptions) {
|
|
590
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
591
|
-
var _a, _b, _c, _d;
|
|
592
|
-
let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
593
|
-
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
594
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/orders/drafts/validate/v1/${encodeURIComponent(orderId)}`),
|
|
595
|
-
method: "GET",
|
|
596
|
-
headers: _headers,
|
|
597
|
-
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
598
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
599
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
600
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
601
|
-
});
|
|
602
|
-
if (_response.ok) {
|
|
603
|
-
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
604
|
-
}
|
|
605
|
-
if (_response.error.reason === "status-code") {
|
|
606
|
-
switch (_response.error.statusCode) {
|
|
607
|
-
case 422:
|
|
608
|
-
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
609
|
-
default:
|
|
610
|
-
throw new errors.ChrtError({
|
|
611
|
-
statusCode: _response.error.statusCode,
|
|
612
|
-
body: _response.error.body,
|
|
613
|
-
rawResponse: _response.rawResponse,
|
|
614
|
-
});
|
|
615
|
-
}
|
|
616
|
-
}
|
|
617
|
-
switch (_response.error.reason) {
|
|
618
|
-
case "non-json":
|
|
619
|
-
throw new errors.ChrtError({
|
|
620
|
-
statusCode: _response.error.statusCode,
|
|
621
|
-
body: _response.error.rawBody,
|
|
622
|
-
rawResponse: _response.rawResponse,
|
|
623
|
-
});
|
|
624
|
-
case "timeout":
|
|
625
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping/orders/drafts/validate/v1/{order_id}.");
|
|
626
|
-
case "unknown":
|
|
627
|
-
throw new errors.ChrtError({
|
|
628
|
-
message: _response.error.errorMessage,
|
|
629
|
-
rawResponse: _response.rawResponse,
|
|
630
|
-
});
|
|
631
|
-
}
|
|
632
|
-
});
|
|
633
|
-
}
|
|
634
182
|
_getAuthorizationHeader() {
|
|
635
183
|
return __awaiter(this, void 0, void 0, function* () {
|
|
636
184
|
const bearer = yield core.Supplier.get(this._options.token);
|
|
@@ -16,8 +16,6 @@ export interface OrdersOpenDraftReq {
|
|
|
16
16
|
/** Must be a URL-safe string of 1-64 characters. Allowed characters: A-Z, a-z, 0-9, '.', '_', '~', '-' (RFC 3986 unreserved). */
|
|
17
17
|
off_chrt_reference_id?: string | null;
|
|
18
18
|
off_chrt_shipper_org_data_id?: string | null;
|
|
19
|
-
/** Saved order template that seeded this draft. Used as template-build provenance. */
|
|
20
|
-
order_template_id?: string | null;
|
|
21
19
|
service_line?: Chrt.ServiceLineEnum;
|
|
22
20
|
/** Must be a string starting with `org_` */
|
|
23
21
|
shipper_org_id?: string | null;
|
package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/index.d.ts
CHANGED
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
export { type DraftsAddCoordinatorTaskListToApplyAtOrderStagingV1Request } from "./DraftsAddCoordinatorTaskListToApplyAtOrderStagingV1Request.js";
|
|
2
1
|
export { type OrdersCreateDraftFromOrderTemplateNewReq } from "./OrdersCreateDraftFromOrderTemplateNewReq.js";
|
|
3
|
-
export { type OrdersDraftDeleteManyReq } from "./OrdersDraftDeleteManyReq.js";
|
|
4
2
|
export { type OrdersOpenDraftReq } from "./OrdersOpenDraftReq.js";
|
|
5
|
-
export { type SetTaskGroupOrderingDraftReq } from "./SetTaskGroupOrderingDraftReq.js";
|
|
6
|
-
export { type OrdersDraftUpdateReq } from "./OrdersDraftUpdateReq.js";
|
package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.ts
CHANGED
|
@@ -74,6 +74,9 @@ export declare class Expanded {
|
|
|
74
74
|
* page: 1,
|
|
75
75
|
* page_size: 1,
|
|
76
76
|
* search: "search",
|
|
77
|
+
* filter_status: ["draft"],
|
|
78
|
+
* filter_service_line: ["on_demand"],
|
|
79
|
+
* filter_order_classification_by_task_group_type: ["chrt_ground_provider"],
|
|
77
80
|
* filter_awb_number: "filter_awb_number",
|
|
78
81
|
* filter_has_invoice: true,
|
|
79
82
|
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
@@ -93,7 +96,9 @@ export declare class Expanded {
|
|
|
93
96
|
* filter_coordinator_org_id: "filter_coordinator_org_id",
|
|
94
97
|
* filter_shipper_org_id: "filter_shipper_org_id",
|
|
95
98
|
* filter_off_chrt_shipper_org_data_id: "filter_off_chrt_shipper_org_data_id",
|
|
99
|
+
* filter_coordinator_shipper_account_ids: ["filter_coordinator_shipper_account_ids"],
|
|
96
100
|
* filter_coordinator_department_id: "filter_coordinator_department_id",
|
|
101
|
+
* filter_coordinator_assigned_user_ids: ["filter_coordinator_assigned_user_ids"],
|
|
97
102
|
* filter_coordinator_label: "filter_coordinator_label",
|
|
98
103
|
* body: {}
|
|
99
104
|
* })
|
|
@@ -115,6 +120,9 @@ export declare class Expanded {
|
|
|
115
120
|
* page: 1,
|
|
116
121
|
* page_size: 1,
|
|
117
122
|
* search: "search",
|
|
123
|
+
* filter_status: ["draft"],
|
|
124
|
+
* filter_service_line: ["on_demand"],
|
|
125
|
+
* filter_order_classification_by_task_group_type: ["chrt_ground_provider"],
|
|
118
126
|
* filter_awb_number: "filter_awb_number",
|
|
119
127
|
* filter_has_invoice: true,
|
|
120
128
|
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.js
CHANGED
|
@@ -197,6 +197,9 @@ class Expanded {
|
|
|
197
197
|
* page: 1,
|
|
198
198
|
* page_size: 1,
|
|
199
199
|
* search: "search",
|
|
200
|
+
* filter_status: ["draft"],
|
|
201
|
+
* filter_service_line: ["on_demand"],
|
|
202
|
+
* filter_order_classification_by_task_group_type: ["chrt_ground_provider"],
|
|
200
203
|
* filter_awb_number: "filter_awb_number",
|
|
201
204
|
* filter_has_invoice: true,
|
|
202
205
|
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
@@ -216,7 +219,9 @@ class Expanded {
|
|
|
216
219
|
* filter_coordinator_org_id: "filter_coordinator_org_id",
|
|
217
220
|
* filter_shipper_org_id: "filter_shipper_org_id",
|
|
218
221
|
* filter_off_chrt_shipper_org_data_id: "filter_off_chrt_shipper_org_data_id",
|
|
222
|
+
* filter_coordinator_shipper_account_ids: ["filter_coordinator_shipper_account_ids"],
|
|
219
223
|
* filter_coordinator_department_id: "filter_coordinator_department_id",
|
|
224
|
+
* filter_coordinator_assigned_user_ids: ["filter_coordinator_assigned_user_ids"],
|
|
220
225
|
* filter_coordinator_label: "filter_coordinator_label",
|
|
221
226
|
* body: {}
|
|
222
227
|
* })
|
|
@@ -415,6 +420,9 @@ class Expanded {
|
|
|
415
420
|
* page: 1,
|
|
416
421
|
* page_size: 1,
|
|
417
422
|
* search: "search",
|
|
423
|
+
* filter_status: ["draft"],
|
|
424
|
+
* filter_service_line: ["on_demand"],
|
|
425
|
+
* filter_order_classification_by_task_group_type: ["chrt_ground_provider"],
|
|
418
426
|
* filter_awb_number: "filter_awb_number",
|
|
419
427
|
* filter_has_invoice: true,
|
|
420
428
|
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
@@ -11,6 +11,9 @@ import * as Chrt from "../../../../../../../../index.js";
|
|
|
11
11
|
* page: 1,
|
|
12
12
|
* page_size: 1,
|
|
13
13
|
* search: "search",
|
|
14
|
+
* filter_status: ["draft"],
|
|
15
|
+
* filter_service_line: ["on_demand"],
|
|
16
|
+
* filter_order_classification_by_task_group_type: ["chrt_ground_provider"],
|
|
14
17
|
* filter_awb_number: "filter_awb_number",
|
|
15
18
|
* filter_has_invoice: true,
|
|
16
19
|
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
@@ -30,7 +33,9 @@ import * as Chrt from "../../../../../../../../index.js";
|
|
|
30
33
|
* filter_coordinator_org_id: "filter_coordinator_org_id",
|
|
31
34
|
* filter_shipper_org_id: "filter_shipper_org_id",
|
|
32
35
|
* filter_off_chrt_shipper_org_data_id: "filter_off_chrt_shipper_org_data_id",
|
|
36
|
+
* filter_coordinator_shipper_account_ids: ["filter_coordinator_shipper_account_ids"],
|
|
33
37
|
* filter_coordinator_department_id: "filter_coordinator_department_id",
|
|
38
|
+
* filter_coordinator_assigned_user_ids: ["filter_coordinator_assigned_user_ids"],
|
|
34
39
|
* filter_coordinator_label: "filter_coordinator_label",
|
|
35
40
|
* body: {}
|
|
36
41
|
* }
|
|
@@ -10,6 +10,9 @@ import * as Chrt from "../../../../../../../../index.js";
|
|
|
10
10
|
* page: 1,
|
|
11
11
|
* page_size: 1,
|
|
12
12
|
* search: "search",
|
|
13
|
+
* filter_status: ["draft"],
|
|
14
|
+
* filter_service_line: ["on_demand"],
|
|
15
|
+
* filter_order_classification_by_task_group_type: ["chrt_ground_provider"],
|
|
13
16
|
* filter_awb_number: "filter_awb_number",
|
|
14
17
|
* filter_has_invoice: true,
|
|
15
18
|
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
package/dist/cjs/api/resources/shipping/resources/orders/resources/taskGroup/client/Client.d.ts
CHANGED
|
@@ -60,6 +60,19 @@ export declare class TaskGroup {
|
|
|
60
60
|
*/
|
|
61
61
|
addExecutorV1(taskGroupId: string, request?: Chrt.shipping.orders.OrdersAddTaskGroupExecutorReq, requestOptions?: TaskGroup.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
62
62
|
private __addExecutorV1;
|
|
63
|
+
/**
|
|
64
|
+
* Deletes a task group from an active order and synchronizes affected order, driver, cargo, and account state. | authz_personas=[draft_creator_org_operator, coordinator_org_operators] | () -> (bool)
|
|
65
|
+
*
|
|
66
|
+
* @param {string} taskGroupId
|
|
67
|
+
* @param {TaskGroup.RequestOptions} requestOptions - Request-specific configuration.
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
70
|
+
*
|
|
71
|
+
* @example
|
|
72
|
+
* await client.shipping.orders.taskGroup.deleteV1("task_group_id")
|
|
73
|
+
*/
|
|
74
|
+
deleteV1(taskGroupId: string, requestOptions?: TaskGroup.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
75
|
+
private __deleteV1;
|
|
63
76
|
/**
|
|
64
77
|
* Clears the driver from an order task group. DRAFT task groups require executor_org_operators; operational task groups require executor_org_operators or driver_for_executor and STAGED or IN_PROGRESS status. | authz_personas=[executor_org_operators, driver_for_executor] | () -> (bool)
|
|
65
78
|
*
|