@chrt-inc/typescript-sdk 1.930.0 → 1.935.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/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/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/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/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 +41 -0
- package/dist/cjs/api/resources/shippingIntegrations/client/Client.js +47 -0
- package/dist/cjs/api/resources/shippingIntegrations/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/shippingIntegrations/client/index.js +2 -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/shippingIntegrations/resources/atlas/client/Client.d.ts +26 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/atlas/client/Client.js +22 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/atlas/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/atlas/client/index.js +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/atlas/index.d.ts +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/atlas/index.js +18 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/atlas/resources/creds/client/Client.d.ts +114 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/atlas/resources/creds/client/Client.js +425 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/atlas/resources/creds/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/atlas/resources/creds/client/index.js +17 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/atlas/resources/creds/client/requests/AtlasCredsClientCreate1.d.ts +15 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/atlas/resources/creds/client/requests/AtlasCredsClientUpdate1.d.ts +13 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/atlas/resources/creds/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/atlas/resources/creds/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/atlas/resources/creds/index.d.ts +1 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/atlas/resources/creds/index.js +17 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/atlas/resources/index.d.ts +4 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/atlas/resources/index.js +43 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/atlas/resources/orders/client/Client.d.ts +120 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/atlas/resources/orders/client/Client.js +442 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/atlas/resources/orders/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/atlas/resources/orders/client/index.js +17 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/atlas/resources/orders/client/requests/AtlasOrderSyncOneReq.d.ts +15 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/atlas/resources/orders/client/requests/AtlasOrderSyncOneReq.js +5 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/atlas/resources/orders/client/requests/OrdersListV1Request.d.ts +50 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/atlas/resources/orders/client/requests/OrdersListV1Request.js +5 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/atlas/resources/orders/client/requests/OrdersTypeaheadV1Request.d.ts +16 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/atlas/resources/orders/client/requests/OrdersTypeaheadV1Request.js +5 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/atlas/resources/orders/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/atlas/resources/orders/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/atlas/resources/orders/index.d.ts +1 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/atlas/resources/orders/index.js +17 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/connections/client/Client.d.ts +44 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/connections/client/Client.js +121 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/connections/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/connections/client/index.js +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/connections/index.d.ts +1 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/connections/index.js +17 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/cxt/client/Client.d.ts +26 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/cxt/client/Client.js +22 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/cxt/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/cxt/client/index.js +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/cxt/index.d.ts +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/cxt/index.js +18 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/cxt/resources/creds/client/Client.d.ts +117 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/cxt/resources/creds/client/Client.js +428 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/cxt/resources/creds/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/cxt/resources/creds/client/index.js +17 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/cxt/resources/creds/client/requests/CxtCredsClientCreate1.d.ts +23 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/cxt/resources/creds/client/requests/CxtCredsClientCreate1.js +5 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/cxt/resources/creds/client/requests/CxtCredsClientUpdate1.d.ts +19 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/cxt/resources/creds/client/requests/CxtCredsClientUpdate1.js +5 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/cxt/resources/creds/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/cxt/resources/creds/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/cxt/resources/creds/index.d.ts +1 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/cxt/resources/creds/index.js +17 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/cxt/resources/index.d.ts +4 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/cxt/resources/index.js +43 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/cxt/resources/orders/client/Client.d.ts +104 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/cxt/resources/orders/client/Client.js +371 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/cxt/resources/orders/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/cxt/resources/orders/client/index.js +17 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/cxt/resources/orders/client/requests/CxtOrderSyncOneReq.d.ts +15 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/cxt/resources/orders/client/requests/CxtOrderSyncOneReq.js +5 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/cxt/resources/orders/client/requests/OrdersListV1Request.d.ts +50 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/cxt/resources/orders/client/requests/OrdersListV1Request.js +5 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/cxt/resources/orders/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/cxt/resources/orders/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/cxt/resources/orders/index.d.ts +1 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/cxt/resources/orders/index.js +17 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/dispatchScience/client/Client.d.ts +26 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/dispatchScience/client/Client.js +22 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/dispatchScience/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/dispatchScience/client/index.js +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/dispatchScience/index.d.ts +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/dispatchScience/index.js +18 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/dispatchScience/resources/creds/client/Client.d.ts +116 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/dispatchScience/resources/creds/client/Client.js +427 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/dispatchScience/resources/creds/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/dispatchScience/resources/creds/client/index.js +17 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/dispatchScience/resources/creds/client/requests/DispatchScienceCredsClientCreate1.d.ts +20 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/dispatchScience/resources/creds/client/requests/DispatchScienceCredsClientCreate1.js +5 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/dispatchScience/resources/creds/client/requests/DispatchScienceCredsClientUpdate1.d.ts +15 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/dispatchScience/resources/creds/client/requests/DispatchScienceCredsClientUpdate1.js +5 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/dispatchScience/resources/creds/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/dispatchScience/resources/creds/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/dispatchScience/resources/creds/index.d.ts +1 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/dispatchScience/resources/creds/index.js +17 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/dispatchScience/resources/index.d.ts +4 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/dispatchScience/resources/index.js +43 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/dispatchScience/resources/orders/client/Client.d.ts +105 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/dispatchScience/resources/orders/client/Client.js +375 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/dispatchScience/resources/orders/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/dispatchScience/resources/orders/client/index.js +17 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/dispatchScience/resources/orders/client/requests/DispatchScienceOrderSyncOneReq.d.ts +15 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/dispatchScience/resources/orders/client/requests/DispatchScienceOrderSyncOneReq.js +5 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/dispatchScience/resources/orders/client/requests/OrdersListV1Request.d.ts +51 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/dispatchScience/resources/orders/client/requests/OrdersListV1Request.js +5 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/dispatchScience/resources/orders/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/dispatchScience/resources/orders/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/dispatchScience/resources/orders/index.d.ts +1 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/dispatchScience/resources/orders/index.js +17 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/index.d.ts +8 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/index.js +47 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ontime360/client/Client.d.ts +26 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ontime360/client/Client.js +22 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ontime360/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ontime360/client/index.js +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ontime360/index.d.ts +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ontime360/index.js +18 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ontime360/resources/creds/client/Client.d.ts +116 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ontime360/resources/creds/client/Client.js +427 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ontime360/resources/creds/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ontime360/resources/creds/client/index.js +17 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ontime360/resources/creds/client/requests/OnTime360CredsClientCreate1.d.ts +20 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ontime360/resources/creds/client/requests/OnTime360CredsClientCreate1.js +5 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ontime360/resources/creds/client/requests/OnTime360CredsClientUpdate1.d.ts +15 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ontime360/resources/creds/client/requests/OnTime360CredsClientUpdate1.js +5 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ontime360/resources/creds/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ontime360/resources/creds/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ontime360/resources/creds/index.d.ts +1 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ontime360/resources/creds/index.js +17 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ontime360/resources/index.d.ts +4 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ontime360/resources/index.js +43 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ontime360/resources/orders/client/Client.d.ts +105 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ontime360/resources/orders/client/Client.js +375 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ontime360/resources/orders/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ontime360/resources/orders/client/index.js +17 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ontime360/resources/orders/client/requests/OnTime360OrderSyncOneReq.d.ts +15 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ontime360/resources/orders/client/requests/OnTime360OrderSyncOneReq.js +5 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ontime360/resources/orders/client/requests/OrdersListV1Request.d.ts +51 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ontime360/resources/orders/client/requests/OrdersListV1Request.js +5 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ontime360/resources/orders/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ontime360/resources/orders/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ontime360/resources/orders/index.d.ts +1 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ontime360/resources/orders/index.js +17 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/orders/client/Client.d.ts +118 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/orders/client/Client.js +466 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/orders/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/orders/client/index.js +17 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/orders/client/requests/OrdersListV1Request.d.ts +57 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/orders/client/requests/OrdersListV1Request.js +5 -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/OrdersStatusSummaryV1Request.js +5 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/orders/client/requests/OrdersTypeaheadV1Request.d.ts +16 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/orders/client/requests/OrdersTypeaheadV1Request.js +5 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/orders/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/orders/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/orders/index.d.ts +1 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/orders/index.js +17 -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.d.ts +1 -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 +20 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/creds/client/requests/XceleratorCredsClientCreate1.js +5 -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/XceleratorCredsClientUpdate1.js +5 -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/creds/index.d.ts +1 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/creds/index.js +17 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/index.d.ts +4 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/index.js +43 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/Client.d.ts +121 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/Client.js +446 -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 +51 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/requests/OrdersListV1Request.js +5 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/requests/OrdersTypeaheadV1Request.d.ts +16 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/requests/OrdersTypeaheadV1Request.js +5 -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/XceleratorOrderSyncOneReq.js +5 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/requests/index.d.ts +3 -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/types/AtlasCredsLimited1.d.ts +23 -0
- package/dist/cjs/api/types/AtlasCredsLimited1.js +5 -0
- package/dist/cjs/api/types/AtlasCredsListRes.d.ts +8 -0
- package/dist/cjs/api/types/AtlasCredsListRes.js +5 -0
- package/dist/cjs/api/types/AtlasCredsTestRes.d.ts +10 -0
- package/dist/cjs/api/types/AtlasCredsTestRes.js +5 -0
- package/dist/cjs/api/types/AtlasEventResponse1.d.ts +12 -0
- package/dist/cjs/api/types/AtlasEventResponse1.js +5 -0
- package/dist/cjs/api/types/AtlasOrder1.d.ts +19 -0
- package/dist/cjs/api/types/AtlasOrder1.js +5 -0
- package/dist/cjs/api/types/AtlasOrderExpanded1.d.ts +20 -0
- package/dist/cjs/api/types/AtlasOrderExpanded1.js +5 -0
- package/dist/cjs/api/types/AtlasOrderListRes.d.ts +8 -0
- package/dist/cjs/api/types/AtlasOrderListRes.js +5 -0
- package/dist/cjs/api/types/AtlasOrderResponse1.d.ts +21 -0
- package/dist/cjs/api/types/AtlasOrderResponse1.js +5 -0
- package/dist/cjs/api/types/AtlasOrderSortByEnum.d.ts +10 -0
- package/dist/cjs/api/types/AtlasOrderSortByEnum.js +12 -0
- package/dist/cjs/api/types/AtlasStopResponse1.d.ts +13 -0
- package/dist/cjs/api/types/AtlasStopResponse1.js +5 -0
- package/dist/cjs/api/types/CxtAuthTypeEnum1.d.ts +8 -0
- package/dist/cjs/api/types/CxtAuthTypeEnum1.js +10 -0
- package/dist/cjs/api/types/CxtCredsLimited1.d.ts +29 -0
- package/dist/cjs/api/types/CxtCredsLimited1.js +5 -0
- package/dist/cjs/api/types/CxtCredsListRes.d.ts +8 -0
- package/dist/cjs/api/types/CxtCredsListRes.js +5 -0
- package/dist/cjs/api/types/CxtCredsTestRes.d.ts +10 -0
- package/dist/cjs/api/types/CxtCredsTestRes.js +5 -0
- package/dist/cjs/api/types/CxtInetUserOrderResponse1.d.ts +11 -0
- package/dist/cjs/api/types/CxtInetUserOrderResponse1.js +5 -0
- package/dist/cjs/api/types/CxtOrder1.d.ts +22 -0
- package/dist/cjs/api/types/CxtOrder1.js +5 -0
- package/dist/cjs/api/types/CxtOrderDetailResponse1.d.ts +53 -0
- package/dist/cjs/api/types/CxtOrderDetailResponse1.js +5 -0
- package/dist/cjs/api/types/CxtOrderExpanded1.d.ts +23 -0
- package/dist/cjs/api/types/CxtOrderExpanded1.js +5 -0
- package/dist/cjs/api/types/CxtOrderListRes.d.ts +8 -0
- package/dist/cjs/api/types/CxtOrderListRes.js +5 -0
- package/dist/cjs/api/types/CxtOrderSortByEnum.d.ts +10 -0
- package/dist/cjs/api/types/CxtOrderSortByEnum.js +12 -0
- package/dist/cjs/api/types/CxtXdUserOrderResponse1.d.ts +58 -0
- package/dist/cjs/api/types/CxtXdUserOrderResponse1.js +5 -0
- package/dist/cjs/api/types/DispatchScienceAddressResponse1.d.ts +13 -0
- package/dist/cjs/api/types/DispatchScienceAddressResponse1.js +5 -0
- package/dist/cjs/api/types/DispatchScienceAttachmentResponse1.d.ts +16 -0
- package/dist/cjs/api/types/DispatchScienceAttachmentResponse1.js +5 -0
- package/dist/cjs/api/types/DispatchScienceChargeResponse1.d.ts +17 -0
- package/dist/cjs/api/types/DispatchScienceChargeResponse1.js +5 -0
- package/dist/cjs/api/types/DispatchScienceContactInfoResponse1.d.ts +12 -0
- package/dist/cjs/api/types/DispatchScienceContactInfoResponse1.js +5 -0
- package/dist/cjs/api/types/DispatchScienceCredsLimited1.d.ts +25 -0
- package/dist/cjs/api/types/DispatchScienceCredsLimited1.js +5 -0
- package/dist/cjs/api/types/DispatchScienceCredsListRes.d.ts +8 -0
- package/dist/cjs/api/types/DispatchScienceCredsListRes.js +5 -0
- package/dist/cjs/api/types/DispatchScienceCredsTestRes.d.ts +11 -0
- package/dist/cjs/api/types/DispatchScienceCredsTestRes.js +5 -0
- package/dist/cjs/api/types/DispatchScienceLocationResponse1.d.ts +13 -0
- package/dist/cjs/api/types/DispatchScienceLocationResponse1.js +5 -0
- package/dist/cjs/api/types/DispatchScienceOrder1.d.ts +19 -0
- package/dist/cjs/api/types/DispatchScienceOrder1.js +5 -0
- package/dist/cjs/api/types/DispatchScienceOrderListRes.d.ts +8 -0
- package/dist/cjs/api/types/DispatchScienceOrderListRes.js +5 -0
- package/dist/cjs/api/types/DispatchScienceOrderResponse1.d.ts +44 -0
- package/dist/cjs/api/types/DispatchScienceOrderResponse1.js +5 -0
- package/dist/cjs/api/types/DispatchScienceOrderSortByEnum.d.ts +10 -0
- package/dist/cjs/api/types/DispatchScienceOrderSortByEnum.js +12 -0
- package/dist/cjs/api/types/DispatchScienceTimeWindowResponse1.d.ts +9 -0
- package/dist/cjs/api/types/DispatchScienceTimeWindowResponse1.js +5 -0
- package/dist/cjs/api/types/DispatchScienceTimeZoneResponse1.d.ts +13 -0
- package/dist/cjs/api/types/DispatchScienceTimeZoneResponse1.js +5 -0
- package/dist/cjs/api/types/{GeometryCollectionGeometriesItem.d.ts → GeometriesItem.d.ts} +2 -2
- package/dist/cjs/api/types/GeometriesItem.js +5 -0
- 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/OnTime360CredsLimited1.d.ts +26 -0
- package/dist/cjs/api/types/OnTime360CredsLimited1.js +5 -0
- package/dist/cjs/api/types/OnTime360CredsListRes.d.ts +8 -0
- package/dist/cjs/api/types/OnTime360CredsListRes.js +5 -0
- package/dist/cjs/api/types/OnTime360CredsTestRes.d.ts +13 -0
- package/dist/cjs/api/types/OnTime360CredsTestRes.js +5 -0
- package/dist/cjs/api/types/OnTime360ItemResponse1.d.ts +12 -0
- package/dist/cjs/api/types/OnTime360ItemResponse1.js +5 -0
- package/dist/cjs/api/types/OnTime360LocationResponse1.d.ts +19 -0
- package/dist/cjs/api/types/OnTime360LocationResponse1.js +5 -0
- package/dist/cjs/api/types/OnTime360Order1.d.ts +19 -0
- package/dist/cjs/api/types/OnTime360Order1.js +5 -0
- package/dist/cjs/api/types/OnTime360OrderListRes.d.ts +8 -0
- package/dist/cjs/api/types/OnTime360OrderListRes.js +5 -0
- package/dist/cjs/api/types/OnTime360OrderResponse1.d.ts +58 -0
- package/dist/cjs/api/types/OnTime360OrderResponse1.js +5 -0
- package/dist/cjs/api/types/OnTime360OrderSortByEnum.d.ts +10 -0
- package/dist/cjs/api/types/OnTime360OrderSortByEnum.js +12 -0
- package/dist/cjs/api/types/OnTime360PriceModifierResponse1.d.ts +11 -0
- package/dist/cjs/api/types/OnTime360PriceModifierResponse1.js +5 -0
- package/dist/cjs/api/types/OnTime360StatusLevelEnum1.d.ts +11 -0
- package/dist/cjs/api/types/OnTime360StatusLevelEnum1.js +5 -0
- package/dist/cjs/api/types/OnTime360StatusResponse1.d.ts +13 -0
- package/dist/cjs/api/types/OnTime360StatusResponse1.js +5 -0
- package/dist/cjs/api/types/OnTime360TimeWindowResponse1.d.ts +10 -0
- package/dist/cjs/api/types/OnTime360TimeWindowResponse1.js +5 -0
- package/dist/cjs/api/types/OnTime360ZoneResponse1.d.ts +9 -0
- package/dist/cjs/api/types/OnTime360ZoneResponse1.js +5 -0
- 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 +25 -0
- package/dist/cjs/api/types/ShippingIntegrationConnection.js +5 -0
- package/dist/cjs/api/types/ShippingIntegrationConnectionListRes.d.ts +8 -0
- package/dist/cjs/api/types/ShippingIntegrationConnectionListRes.js +5 -0
- package/dist/cjs/api/types/ShippingIntegrationOrderExpanded1.d.ts +25 -0
- package/dist/cjs/api/types/ShippingIntegrationOrderExpanded1.js +5 -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/ShippingIntegrationOrderTypeaheadFieldEnum.d.ts +4 -0
- package/dist/cjs/api/types/ShippingIntegrationOrderTypeaheadFieldEnum.js +5 -0
- package/dist/cjs/api/types/ShippingIntegrationOrderTypeaheadResult.d.ts +8 -0
- package/dist/cjs/api/types/ShippingIntegrationOrderTypeaheadResult.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/XceleratorOrderExpanded1.d.ts +20 -0
- package/dist/cjs/api/types/XceleratorOrderExpanded1.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/XceleratorOrderListRes.d.ts +8 -0
- 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 +72 -2
- package/dist/cjs/api/types/index.js +72 -2
- 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/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/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/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/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 +41 -0
- package/dist/esm/api/resources/shippingIntegrations/client/Client.mjs +43 -0
- package/dist/esm/api/resources/shippingIntegrations/client/index.d.mts +1 -0
- package/dist/esm/api/resources/shippingIntegrations/client/index.mjs +1 -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/shippingIntegrations/resources/atlas/client/Client.d.mts +26 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/atlas/client/Client.mjs +18 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/atlas/client/index.d.mts +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/atlas/client/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/atlas/index.d.mts +2 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/atlas/index.mjs +2 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/atlas/resources/creds/client/Client.d.mts +114 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/atlas/resources/creds/client/Client.mjs +388 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/atlas/resources/creds/client/index.d.mts +2 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/atlas/resources/creds/client/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/atlas/resources/creds/client/requests/AtlasCredsClientCreate1.d.mts +15 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/atlas/resources/creds/client/requests/AtlasCredsClientUpdate1.d.mts +13 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/atlas/resources/creds/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/atlas/resources/creds/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/atlas/resources/creds/index.d.mts +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/atlas/resources/creds/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/atlas/resources/index.d.mts +4 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/atlas/resources/index.mjs +4 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/atlas/resources/orders/client/Client.d.mts +120 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/atlas/resources/orders/client/Client.mjs +405 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/atlas/resources/orders/client/index.d.mts +2 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/atlas/resources/orders/client/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/atlas/resources/orders/client/requests/AtlasOrderSyncOneReq.d.mts +15 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/atlas/resources/orders/client/requests/AtlasOrderSyncOneReq.mjs +4 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/atlas/resources/orders/client/requests/OrdersListV1Request.d.mts +50 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/atlas/resources/orders/client/requests/OrdersListV1Request.mjs +4 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/atlas/resources/orders/client/requests/OrdersTypeaheadV1Request.d.mts +16 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/atlas/resources/orders/client/requests/OrdersTypeaheadV1Request.mjs +4 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/atlas/resources/orders/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/atlas/resources/orders/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/atlas/resources/orders/index.d.mts +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/atlas/resources/orders/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/connections/client/Client.d.mts +44 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/connections/client/Client.mjs +84 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/connections/client/index.d.mts +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/connections/client/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/connections/index.d.mts +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/connections/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/cxt/client/Client.d.mts +26 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/cxt/client/Client.mjs +18 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/cxt/client/index.d.mts +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/cxt/client/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/cxt/index.d.mts +2 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/cxt/index.mjs +2 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/cxt/resources/creds/client/Client.d.mts +117 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/cxt/resources/creds/client/Client.mjs +391 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/cxt/resources/creds/client/index.d.mts +2 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/cxt/resources/creds/client/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/cxt/resources/creds/client/requests/CxtCredsClientCreate1.d.mts +23 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/cxt/resources/creds/client/requests/CxtCredsClientCreate1.mjs +4 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/cxt/resources/creds/client/requests/CxtCredsClientUpdate1.d.mts +19 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/cxt/resources/creds/client/requests/CxtCredsClientUpdate1.mjs +4 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/cxt/resources/creds/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/cxt/resources/creds/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/cxt/resources/creds/index.d.mts +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/cxt/resources/creds/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/cxt/resources/index.d.mts +4 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/cxt/resources/index.mjs +4 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/cxt/resources/orders/client/Client.d.mts +104 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/cxt/resources/orders/client/Client.mjs +334 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/cxt/resources/orders/client/index.d.mts +2 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/cxt/resources/orders/client/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/cxt/resources/orders/client/requests/CxtOrderSyncOneReq.d.mts +15 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/cxt/resources/orders/client/requests/CxtOrderSyncOneReq.mjs +4 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/cxt/resources/orders/client/requests/OrdersListV1Request.d.mts +50 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/cxt/resources/orders/client/requests/OrdersListV1Request.mjs +4 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/cxt/resources/orders/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/cxt/resources/orders/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/cxt/resources/orders/index.d.mts +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/cxt/resources/orders/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/dispatchScience/client/Client.d.mts +26 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/dispatchScience/client/Client.mjs +18 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/dispatchScience/client/index.d.mts +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/dispatchScience/client/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/dispatchScience/index.d.mts +2 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/dispatchScience/index.mjs +2 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/dispatchScience/resources/creds/client/Client.d.mts +116 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/dispatchScience/resources/creds/client/Client.mjs +390 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/dispatchScience/resources/creds/client/index.d.mts +2 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/dispatchScience/resources/creds/client/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/dispatchScience/resources/creds/client/requests/DispatchScienceCredsClientCreate1.d.mts +20 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/dispatchScience/resources/creds/client/requests/DispatchScienceCredsClientCreate1.mjs +4 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/dispatchScience/resources/creds/client/requests/DispatchScienceCredsClientUpdate1.d.mts +15 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/dispatchScience/resources/creds/client/requests/DispatchScienceCredsClientUpdate1.mjs +4 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/dispatchScience/resources/creds/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/dispatchScience/resources/creds/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/dispatchScience/resources/creds/index.d.mts +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/dispatchScience/resources/creds/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/dispatchScience/resources/index.d.mts +4 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/dispatchScience/resources/index.mjs +4 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/dispatchScience/resources/orders/client/Client.d.mts +105 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/dispatchScience/resources/orders/client/Client.mjs +338 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/dispatchScience/resources/orders/client/index.d.mts +2 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/dispatchScience/resources/orders/client/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/dispatchScience/resources/orders/client/requests/DispatchScienceOrderSyncOneReq.d.mts +15 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/dispatchScience/resources/orders/client/requests/DispatchScienceOrderSyncOneReq.mjs +4 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/dispatchScience/resources/orders/client/requests/OrdersListV1Request.d.mts +51 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/dispatchScience/resources/orders/client/requests/OrdersListV1Request.mjs +4 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/dispatchScience/resources/orders/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/dispatchScience/resources/orders/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/dispatchScience/resources/orders/index.d.mts +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/dispatchScience/resources/orders/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/index.d.mts +8 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/index.mjs +8 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ontime360/client/Client.d.mts +26 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ontime360/client/Client.mjs +18 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ontime360/client/index.d.mts +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ontime360/client/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ontime360/index.d.mts +2 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ontime360/index.mjs +2 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ontime360/resources/creds/client/Client.d.mts +116 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ontime360/resources/creds/client/Client.mjs +390 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ontime360/resources/creds/client/index.d.mts +2 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ontime360/resources/creds/client/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ontime360/resources/creds/client/requests/OnTime360CredsClientCreate1.d.mts +20 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ontime360/resources/creds/client/requests/OnTime360CredsClientCreate1.mjs +4 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ontime360/resources/creds/client/requests/OnTime360CredsClientUpdate1.d.mts +15 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ontime360/resources/creds/client/requests/OnTime360CredsClientUpdate1.mjs +4 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ontime360/resources/creds/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ontime360/resources/creds/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ontime360/resources/creds/index.d.mts +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ontime360/resources/creds/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ontime360/resources/index.d.mts +4 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ontime360/resources/index.mjs +4 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ontime360/resources/orders/client/Client.d.mts +105 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ontime360/resources/orders/client/Client.mjs +338 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ontime360/resources/orders/client/index.d.mts +2 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ontime360/resources/orders/client/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ontime360/resources/orders/client/requests/OnTime360OrderSyncOneReq.d.mts +15 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ontime360/resources/orders/client/requests/OnTime360OrderSyncOneReq.mjs +4 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ontime360/resources/orders/client/requests/OrdersListV1Request.d.mts +51 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ontime360/resources/orders/client/requests/OrdersListV1Request.mjs +4 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ontime360/resources/orders/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ontime360/resources/orders/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ontime360/resources/orders/index.d.mts +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ontime360/resources/orders/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/orders/client/Client.d.mts +118 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/orders/client/Client.mjs +429 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/orders/client/index.d.mts +2 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/orders/client/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/orders/client/requests/OrdersListV1Request.d.mts +57 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/orders/client/requests/OrdersListV1Request.mjs +4 -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/OrdersStatusSummaryV1Request.mjs +4 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/orders/client/requests/OrdersTypeaheadV1Request.d.mts +16 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/orders/client/requests/OrdersTypeaheadV1Request.mjs +4 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/orders/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/orders/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/orders/index.d.mts +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/orders/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 +20 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/creds/client/requests/XceleratorCredsClientCreate1.mjs +4 -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/XceleratorCredsClientUpdate1.mjs +4 -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/creds/index.d.mts +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/creds/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 +121 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/Client.mjs +409 -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 +51 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/requests/OrdersListV1Request.mjs +4 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/requests/OrdersTypeaheadV1Request.d.mts +16 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/requests/OrdersTypeaheadV1Request.mjs +4 -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/XceleratorOrderSyncOneReq.mjs +4 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/requests/index.d.mts +3 -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/types/AtlasCredsLimited1.d.mts +23 -0
- package/dist/esm/api/types/AtlasCredsLimited1.mjs +4 -0
- package/dist/esm/api/types/AtlasCredsListRes.d.mts +8 -0
- package/dist/esm/api/types/AtlasCredsListRes.mjs +4 -0
- package/dist/esm/api/types/AtlasCredsTestRes.d.mts +10 -0
- package/dist/esm/api/types/AtlasCredsTestRes.mjs +4 -0
- package/dist/esm/api/types/AtlasEventResponse1.d.mts +12 -0
- package/dist/esm/api/types/AtlasEventResponse1.mjs +4 -0
- package/dist/esm/api/types/AtlasOrder1.d.mts +19 -0
- package/dist/esm/api/types/AtlasOrder1.mjs +4 -0
- package/dist/esm/api/types/AtlasOrderExpanded1.d.mts +20 -0
- package/dist/esm/api/types/AtlasOrderExpanded1.mjs +4 -0
- package/dist/esm/api/types/AtlasOrderListRes.d.mts +8 -0
- package/dist/esm/api/types/AtlasOrderListRes.mjs +4 -0
- package/dist/esm/api/types/AtlasOrderResponse1.d.mts +21 -0
- package/dist/esm/api/types/AtlasOrderResponse1.mjs +4 -0
- package/dist/esm/api/types/AtlasOrderSortByEnum.d.mts +10 -0
- package/dist/esm/api/types/AtlasOrderSortByEnum.mjs +9 -0
- package/dist/esm/api/types/AtlasStopResponse1.d.mts +13 -0
- package/dist/esm/api/types/AtlasStopResponse1.mjs +4 -0
- package/dist/esm/api/types/CxtAuthTypeEnum1.d.mts +8 -0
- package/dist/esm/api/types/CxtAuthTypeEnum1.mjs +7 -0
- package/dist/esm/api/types/CxtCredsLimited1.d.mts +29 -0
- package/dist/esm/api/types/CxtCredsLimited1.mjs +4 -0
- package/dist/esm/api/types/CxtCredsListRes.d.mts +8 -0
- package/dist/esm/api/types/CxtCredsListRes.mjs +4 -0
- package/dist/esm/api/types/CxtCredsTestRes.d.mts +10 -0
- package/dist/esm/api/types/CxtCredsTestRes.mjs +4 -0
- package/dist/esm/api/types/CxtInetUserOrderResponse1.d.mts +11 -0
- package/dist/esm/api/types/CxtInetUserOrderResponse1.mjs +4 -0
- package/dist/esm/api/types/CxtOrder1.d.mts +22 -0
- package/dist/esm/api/types/CxtOrder1.mjs +4 -0
- package/dist/esm/api/types/CxtOrderDetailResponse1.d.mts +53 -0
- package/dist/esm/api/types/CxtOrderDetailResponse1.mjs +4 -0
- package/dist/esm/api/types/CxtOrderExpanded1.d.mts +23 -0
- package/dist/esm/api/types/CxtOrderExpanded1.mjs +4 -0
- package/dist/esm/api/types/CxtOrderListRes.d.mts +8 -0
- package/dist/esm/api/types/CxtOrderListRes.mjs +4 -0
- package/dist/esm/api/types/CxtOrderSortByEnum.d.mts +10 -0
- package/dist/esm/api/types/CxtOrderSortByEnum.mjs +9 -0
- package/dist/esm/api/types/CxtXdUserOrderResponse1.d.mts +58 -0
- package/dist/esm/api/types/CxtXdUserOrderResponse1.mjs +4 -0
- package/dist/esm/api/types/DispatchScienceAddressResponse1.d.mts +13 -0
- package/dist/esm/api/types/DispatchScienceAddressResponse1.mjs +4 -0
- package/dist/esm/api/types/DispatchScienceAttachmentResponse1.d.mts +16 -0
- package/dist/esm/api/types/DispatchScienceAttachmentResponse1.mjs +4 -0
- package/dist/esm/api/types/DispatchScienceChargeResponse1.d.mts +17 -0
- package/dist/esm/api/types/DispatchScienceChargeResponse1.mjs +4 -0
- package/dist/esm/api/types/DispatchScienceContactInfoResponse1.d.mts +12 -0
- package/dist/esm/api/types/DispatchScienceContactInfoResponse1.mjs +4 -0
- package/dist/esm/api/types/DispatchScienceCredsLimited1.d.mts +25 -0
- package/dist/esm/api/types/DispatchScienceCredsLimited1.mjs +4 -0
- package/dist/esm/api/types/DispatchScienceCredsListRes.d.mts +8 -0
- package/dist/esm/api/types/DispatchScienceCredsListRes.mjs +4 -0
- package/dist/esm/api/types/DispatchScienceCredsTestRes.d.mts +11 -0
- package/dist/esm/api/types/DispatchScienceCredsTestRes.mjs +4 -0
- package/dist/esm/api/types/DispatchScienceLocationResponse1.d.mts +13 -0
- package/dist/esm/api/types/DispatchScienceLocationResponse1.mjs +4 -0
- package/dist/esm/api/types/DispatchScienceOrder1.d.mts +19 -0
- package/dist/esm/api/types/DispatchScienceOrder1.mjs +4 -0
- package/dist/esm/api/types/DispatchScienceOrderListRes.d.mts +8 -0
- package/dist/esm/api/types/DispatchScienceOrderListRes.mjs +4 -0
- package/dist/esm/api/types/DispatchScienceOrderResponse1.d.mts +44 -0
- package/dist/esm/api/types/DispatchScienceOrderResponse1.mjs +4 -0
- package/dist/esm/api/types/DispatchScienceOrderSortByEnum.d.mts +10 -0
- package/dist/esm/api/types/DispatchScienceOrderSortByEnum.mjs +9 -0
- package/dist/esm/api/types/DispatchScienceTimeWindowResponse1.d.mts +9 -0
- package/dist/esm/api/types/DispatchScienceTimeWindowResponse1.mjs +4 -0
- package/dist/esm/api/types/DispatchScienceTimeZoneResponse1.d.mts +13 -0
- package/dist/esm/api/types/DispatchScienceTimeZoneResponse1.mjs +4 -0
- package/dist/esm/api/types/{GeometryCollectionGeometriesItem.d.mts → GeometriesItem.d.mts} +2 -2
- package/dist/esm/api/types/GeometriesItem.mjs +4 -0
- 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/OnTime360CredsLimited1.d.mts +26 -0
- package/dist/esm/api/types/OnTime360CredsLimited1.mjs +4 -0
- package/dist/esm/api/types/OnTime360CredsListRes.d.mts +8 -0
- package/dist/esm/api/types/OnTime360CredsListRes.mjs +4 -0
- package/dist/esm/api/types/OnTime360CredsTestRes.d.mts +13 -0
- package/dist/esm/api/types/OnTime360CredsTestRes.mjs +4 -0
- package/dist/esm/api/types/OnTime360ItemResponse1.d.mts +12 -0
- package/dist/esm/api/types/OnTime360ItemResponse1.mjs +4 -0
- package/dist/esm/api/types/OnTime360LocationResponse1.d.mts +19 -0
- package/dist/esm/api/types/OnTime360LocationResponse1.mjs +4 -0
- package/dist/esm/api/types/OnTime360Order1.d.mts +19 -0
- package/dist/esm/api/types/OnTime360Order1.mjs +4 -0
- package/dist/esm/api/types/OnTime360OrderListRes.d.mts +8 -0
- package/dist/esm/api/types/OnTime360OrderListRes.mjs +4 -0
- package/dist/esm/api/types/OnTime360OrderResponse1.d.mts +58 -0
- package/dist/esm/api/types/OnTime360OrderResponse1.mjs +4 -0
- package/dist/esm/api/types/OnTime360OrderSortByEnum.d.mts +10 -0
- package/dist/esm/api/types/OnTime360OrderSortByEnum.mjs +9 -0
- package/dist/esm/api/types/OnTime360PriceModifierResponse1.d.mts +11 -0
- package/dist/esm/api/types/OnTime360PriceModifierResponse1.mjs +4 -0
- package/dist/esm/api/types/OnTime360StatusLevelEnum1.d.mts +11 -0
- package/dist/esm/api/types/OnTime360StatusLevelEnum1.mjs +4 -0
- package/dist/esm/api/types/OnTime360StatusResponse1.d.mts +13 -0
- package/dist/esm/api/types/OnTime360StatusResponse1.mjs +4 -0
- package/dist/esm/api/types/OnTime360TimeWindowResponse1.d.mts +10 -0
- package/dist/esm/api/types/OnTime360TimeWindowResponse1.mjs +4 -0
- package/dist/esm/api/types/OnTime360ZoneResponse1.d.mts +9 -0
- package/dist/esm/api/types/OnTime360ZoneResponse1.mjs +4 -0
- 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 +25 -0
- package/dist/esm/api/types/ShippingIntegrationConnection.mjs +4 -0
- package/dist/esm/api/types/ShippingIntegrationConnectionListRes.d.mts +8 -0
- package/dist/esm/api/types/ShippingIntegrationConnectionListRes.mjs +4 -0
- package/dist/esm/api/types/ShippingIntegrationOrderExpanded1.d.mts +25 -0
- package/dist/esm/api/types/ShippingIntegrationOrderExpanded1.mjs +4 -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/ShippingIntegrationOrderTypeaheadFieldEnum.d.mts +4 -0
- package/dist/esm/api/types/ShippingIntegrationOrderTypeaheadFieldEnum.mjs +4 -0
- package/dist/esm/api/types/ShippingIntegrationOrderTypeaheadResult.d.mts +8 -0
- package/dist/esm/api/types/ShippingIntegrationOrderTypeaheadResult.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/XceleratorOrderExpanded1.d.mts +20 -0
- package/dist/esm/api/types/XceleratorOrderExpanded1.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/XceleratorOrderListRes.d.mts +8 -0
- 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 +72 -2
- package/dist/esm/api/types/index.mjs +72 -2
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +3905 -13
- /package/dist/cjs/api/{types/GeometryCollectionGeometriesItem.js → resources/shippingIntegrations/resources/atlas/resources/creds/client/requests/AtlasCredsClientCreate1.js} +0 -0
- /package/dist/cjs/api/{types/WorkflowActor.js → resources/shippingIntegrations/resources/atlas/resources/creds/client/requests/AtlasCredsClientUpdate1.js} +0 -0
- /package/dist/esm/api/{types/GeometryCollectionGeometriesItem.mjs → resources/shippingIntegrations/resources/atlas/resources/creds/client/requests/AtlasCredsClientCreate1.mjs} +0 -0
- /package/dist/esm/api/{types/WorkflowActor.mjs → resources/shippingIntegrations/resources/atlas/resources/creds/client/requests/AtlasCredsClientUpdate1.mjs} +0 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./client/index.js"), exports);
|
|
18
|
+
__exportStar(require("./resources/index.js"), exports);
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as environments from "../../../../../../../../environments.js";
|
|
5
|
+
import * as core from "../../../../../../../../core/index.js";
|
|
6
|
+
import * as Chrt from "../../../../../../../index.js";
|
|
7
|
+
export declare namespace Creds {
|
|
8
|
+
interface Options {
|
|
9
|
+
environment?: core.Supplier<environments.ChrtEnvironment | string>;
|
|
10
|
+
/** Specify a custom URL to connect the client to. */
|
|
11
|
+
baseUrl?: core.Supplier<string>;
|
|
12
|
+
token?: core.Supplier<core.BearerToken | undefined>;
|
|
13
|
+
/** Additional headers to include in requests. */
|
|
14
|
+
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
15
|
+
fetcher?: core.FetchFunction;
|
|
16
|
+
}
|
|
17
|
+
interface RequestOptions {
|
|
18
|
+
/** The maximum time to wait for a response in seconds. */
|
|
19
|
+
timeoutInSeconds?: number;
|
|
20
|
+
/** The number of times to retry the request. Defaults to 2. */
|
|
21
|
+
maxRetries?: number;
|
|
22
|
+
/** A hook to abort the request. */
|
|
23
|
+
abortSignal?: AbortSignal;
|
|
24
|
+
/** Additional query string parameters to include in the request. */
|
|
25
|
+
queryParams?: Record<string, unknown>;
|
|
26
|
+
/** Additional headers to include in the request. */
|
|
27
|
+
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
export declare class Creds {
|
|
31
|
+
protected readonly _options: Creds.Options;
|
|
32
|
+
constructor(_options?: Creds.Options);
|
|
33
|
+
/**
|
|
34
|
+
* Returns the caller's Atlas credential for one provider, without API key. | () -> (AtlasCredsLimited1)
|
|
35
|
+
*
|
|
36
|
+
* @param {string} providerOrgId - Must be a string starting with `org_`
|
|
37
|
+
* @param {Creds.RequestOptions} requestOptions - Request-specific configuration.
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
* await client.shippingIntegrations.atlas.creds.detailV1("provider_org_id")
|
|
43
|
+
*/
|
|
44
|
+
detailV1(providerOrgId: string, requestOptions?: Creds.RequestOptions): core.HttpResponsePromise<Chrt.AtlasCredsLimited1>;
|
|
45
|
+
private __detailV1;
|
|
46
|
+
/**
|
|
47
|
+
* Lists the caller's Atlas credentials, one per connected provider, without API key. | () -> (AtlasCredsListRes)
|
|
48
|
+
*
|
|
49
|
+
* @param {Creds.RequestOptions} requestOptions - Request-specific configuration.
|
|
50
|
+
*
|
|
51
|
+
* @example
|
|
52
|
+
* await client.shippingIntegrations.atlas.creds.listV1()
|
|
53
|
+
*/
|
|
54
|
+
listV1(requestOptions?: Creds.RequestOptions): core.HttpResponsePromise<Chrt.AtlasCredsListRes>;
|
|
55
|
+
private __listV1;
|
|
56
|
+
/**
|
|
57
|
+
* Tests whether stored Atlas credentials can authenticate against the provider. | authz: min_org_role=operator | () -> (AtlasCredsTestRes)
|
|
58
|
+
*
|
|
59
|
+
* @param {string} providerOrgId - Must be a string starting with `org_`
|
|
60
|
+
* @param {Creds.RequestOptions} requestOptions - Request-specific configuration.
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
63
|
+
*
|
|
64
|
+
* @example
|
|
65
|
+
* await client.shippingIntegrations.atlas.creds.testV1("provider_org_id")
|
|
66
|
+
*/
|
|
67
|
+
testV1(providerOrgId: string, requestOptions?: Creds.RequestOptions): core.HttpResponsePromise<Chrt.AtlasCredsTestRes>;
|
|
68
|
+
private __testV1;
|
|
69
|
+
/**
|
|
70
|
+
* Stores Atlas credentials for one provider on behalf of the caller's organization. | authz: min_org_role=administrator | (AtlasCredsClientCreate1) -> (PydanticObjectId)
|
|
71
|
+
*
|
|
72
|
+
* @param {string} providerOrgId - Must be a string starting with `org_`
|
|
73
|
+
* @param {Chrt.shippingIntegrations.atlas.AtlasCredsClientCreate1} request
|
|
74
|
+
* @param {Creds.RequestOptions} requestOptions - Request-specific configuration.
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
77
|
+
*
|
|
78
|
+
* @example
|
|
79
|
+
* await client.shippingIntegrations.atlas.creds.createV1("provider_org_id", {
|
|
80
|
+
* api_key: "api_key",
|
|
81
|
+
* schema_version: 1
|
|
82
|
+
* })
|
|
83
|
+
*/
|
|
84
|
+
createV1(providerOrgId: string, request: Chrt.shippingIntegrations.atlas.AtlasCredsClientCreate1, requestOptions?: Creds.RequestOptions): core.HttpResponsePromise<string>;
|
|
85
|
+
private __createV1;
|
|
86
|
+
/**
|
|
87
|
+
* Deletes stored Atlas credentials for one provider. | authz: min_org_role=administrator | () -> (bool)
|
|
88
|
+
*
|
|
89
|
+
* @param {string} providerOrgId - Must be a string starting with `org_`
|
|
90
|
+
* @param {Creds.RequestOptions} requestOptions - Request-specific configuration.
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
93
|
+
*
|
|
94
|
+
* @example
|
|
95
|
+
* await client.shippingIntegrations.atlas.creds.deleteV1("provider_org_id")
|
|
96
|
+
*/
|
|
97
|
+
deleteV1(providerOrgId: string, requestOptions?: Creds.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
98
|
+
private __deleteV1;
|
|
99
|
+
/**
|
|
100
|
+
* Updates stored Atlas credentials for one provider. | authz: min_org_role=administrator | (AtlasCredsClientUpdate1) -> (bool)
|
|
101
|
+
*
|
|
102
|
+
* @param {string} providerOrgId - Must be a string starting with `org_`
|
|
103
|
+
* @param {Chrt.shippingIntegrations.atlas.AtlasCredsClientUpdate1} request
|
|
104
|
+
* @param {Creds.RequestOptions} requestOptions - Request-specific configuration.
|
|
105
|
+
*
|
|
106
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
107
|
+
*
|
|
108
|
+
* @example
|
|
109
|
+
* await client.shippingIntegrations.atlas.creds.updateV1("provider_org_id")
|
|
110
|
+
*/
|
|
111
|
+
updateV1(providerOrgId: string, request?: Chrt.shippingIntegrations.atlas.AtlasCredsClientUpdate1, requestOptions?: Creds.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
112
|
+
private __updateV1;
|
|
113
|
+
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
114
|
+
}
|
package/dist/cjs/api/resources/shippingIntegrations/resources/atlas/resources/creds/client/Client.js
ADDED
|
@@ -0,0 +1,425 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
39
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
40
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
41
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
42
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
43
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
44
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
45
|
+
});
|
|
46
|
+
};
|
|
47
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
48
|
+
exports.Creds = void 0;
|
|
49
|
+
const environments = __importStar(require("../../../../../../../../environments.js"));
|
|
50
|
+
const core = __importStar(require("../../../../../../../../core/index.js"));
|
|
51
|
+
const Chrt = __importStar(require("../../../../../../../index.js"));
|
|
52
|
+
const headers_js_1 = require("../../../../../../../../core/headers.js");
|
|
53
|
+
const errors = __importStar(require("../../../../../../../../errors/index.js"));
|
|
54
|
+
class Creds {
|
|
55
|
+
constructor(_options = {}) {
|
|
56
|
+
this._options = _options;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Returns the caller's Atlas credential for one provider, without API key. | () -> (AtlasCredsLimited1)
|
|
60
|
+
*
|
|
61
|
+
* @param {string} providerOrgId - Must be a string starting with `org_`
|
|
62
|
+
* @param {Creds.RequestOptions} requestOptions - Request-specific configuration.
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* await client.shippingIntegrations.atlas.creds.detailV1("provider_org_id")
|
|
68
|
+
*/
|
|
69
|
+
detailV1(providerOrgId, requestOptions) {
|
|
70
|
+
return core.HttpResponsePromise.fromPromise(this.__detailV1(providerOrgId, requestOptions));
|
|
71
|
+
}
|
|
72
|
+
__detailV1(providerOrgId, requestOptions) {
|
|
73
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
74
|
+
var _a, _b, _c, _d;
|
|
75
|
+
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);
|
|
76
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
77
|
+
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_integrations/atlas/creds/detail/v1/${encodeURIComponent(providerOrgId)}`),
|
|
78
|
+
method: "GET",
|
|
79
|
+
headers: _headers,
|
|
80
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
81
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
82
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
83
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
84
|
+
});
|
|
85
|
+
if (_response.ok) {
|
|
86
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
87
|
+
}
|
|
88
|
+
if (_response.error.reason === "status-code") {
|
|
89
|
+
switch (_response.error.statusCode) {
|
|
90
|
+
case 422:
|
|
91
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
92
|
+
default:
|
|
93
|
+
throw new errors.ChrtError({
|
|
94
|
+
statusCode: _response.error.statusCode,
|
|
95
|
+
body: _response.error.body,
|
|
96
|
+
rawResponse: _response.rawResponse,
|
|
97
|
+
});
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
switch (_response.error.reason) {
|
|
101
|
+
case "non-json":
|
|
102
|
+
throw new errors.ChrtError({
|
|
103
|
+
statusCode: _response.error.statusCode,
|
|
104
|
+
body: _response.error.rawBody,
|
|
105
|
+
rawResponse: _response.rawResponse,
|
|
106
|
+
});
|
|
107
|
+
case "timeout":
|
|
108
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping_integrations/atlas/creds/detail/v1/{provider_org_id}.");
|
|
109
|
+
case "unknown":
|
|
110
|
+
throw new errors.ChrtError({
|
|
111
|
+
message: _response.error.errorMessage,
|
|
112
|
+
rawResponse: _response.rawResponse,
|
|
113
|
+
});
|
|
114
|
+
}
|
|
115
|
+
});
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* Lists the caller's Atlas credentials, one per connected provider, without API key. | () -> (AtlasCredsListRes)
|
|
119
|
+
*
|
|
120
|
+
* @param {Creds.RequestOptions} requestOptions - Request-specific configuration.
|
|
121
|
+
*
|
|
122
|
+
* @example
|
|
123
|
+
* await client.shippingIntegrations.atlas.creds.listV1()
|
|
124
|
+
*/
|
|
125
|
+
listV1(requestOptions) {
|
|
126
|
+
return core.HttpResponsePromise.fromPromise(this.__listV1(requestOptions));
|
|
127
|
+
}
|
|
128
|
+
__listV1(requestOptions) {
|
|
129
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
130
|
+
var _a, _b, _c, _d;
|
|
131
|
+
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);
|
|
132
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
133
|
+
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_integrations/atlas/creds/list/v1"),
|
|
134
|
+
method: "GET",
|
|
135
|
+
headers: _headers,
|
|
136
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
137
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
138
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
139
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
140
|
+
});
|
|
141
|
+
if (_response.ok) {
|
|
142
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
143
|
+
}
|
|
144
|
+
if (_response.error.reason === "status-code") {
|
|
145
|
+
throw new errors.ChrtError({
|
|
146
|
+
statusCode: _response.error.statusCode,
|
|
147
|
+
body: _response.error.body,
|
|
148
|
+
rawResponse: _response.rawResponse,
|
|
149
|
+
});
|
|
150
|
+
}
|
|
151
|
+
switch (_response.error.reason) {
|
|
152
|
+
case "non-json":
|
|
153
|
+
throw new errors.ChrtError({
|
|
154
|
+
statusCode: _response.error.statusCode,
|
|
155
|
+
body: _response.error.rawBody,
|
|
156
|
+
rawResponse: _response.rawResponse,
|
|
157
|
+
});
|
|
158
|
+
case "timeout":
|
|
159
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping_integrations/atlas/creds/list/v1.");
|
|
160
|
+
case "unknown":
|
|
161
|
+
throw new errors.ChrtError({
|
|
162
|
+
message: _response.error.errorMessage,
|
|
163
|
+
rawResponse: _response.rawResponse,
|
|
164
|
+
});
|
|
165
|
+
}
|
|
166
|
+
});
|
|
167
|
+
}
|
|
168
|
+
/**
|
|
169
|
+
* Tests whether stored Atlas credentials can authenticate against the provider. | authz: min_org_role=operator | () -> (AtlasCredsTestRes)
|
|
170
|
+
*
|
|
171
|
+
* @param {string} providerOrgId - Must be a string starting with `org_`
|
|
172
|
+
* @param {Creds.RequestOptions} requestOptions - Request-specific configuration.
|
|
173
|
+
*
|
|
174
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
175
|
+
*
|
|
176
|
+
* @example
|
|
177
|
+
* await client.shippingIntegrations.atlas.creds.testV1("provider_org_id")
|
|
178
|
+
*/
|
|
179
|
+
testV1(providerOrgId, requestOptions) {
|
|
180
|
+
return core.HttpResponsePromise.fromPromise(this.__testV1(providerOrgId, requestOptions));
|
|
181
|
+
}
|
|
182
|
+
__testV1(providerOrgId, requestOptions) {
|
|
183
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
184
|
+
var _a, _b, _c, _d;
|
|
185
|
+
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);
|
|
186
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
187
|
+
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_integrations/atlas/creds/test/v1/${encodeURIComponent(providerOrgId)}`),
|
|
188
|
+
method: "POST",
|
|
189
|
+
headers: _headers,
|
|
190
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
191
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
192
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
193
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
194
|
+
});
|
|
195
|
+
if (_response.ok) {
|
|
196
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
197
|
+
}
|
|
198
|
+
if (_response.error.reason === "status-code") {
|
|
199
|
+
switch (_response.error.statusCode) {
|
|
200
|
+
case 422:
|
|
201
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
202
|
+
default:
|
|
203
|
+
throw new errors.ChrtError({
|
|
204
|
+
statusCode: _response.error.statusCode,
|
|
205
|
+
body: _response.error.body,
|
|
206
|
+
rawResponse: _response.rawResponse,
|
|
207
|
+
});
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
switch (_response.error.reason) {
|
|
211
|
+
case "non-json":
|
|
212
|
+
throw new errors.ChrtError({
|
|
213
|
+
statusCode: _response.error.statusCode,
|
|
214
|
+
body: _response.error.rawBody,
|
|
215
|
+
rawResponse: _response.rawResponse,
|
|
216
|
+
});
|
|
217
|
+
case "timeout":
|
|
218
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping_integrations/atlas/creds/test/v1/{provider_org_id}.");
|
|
219
|
+
case "unknown":
|
|
220
|
+
throw new errors.ChrtError({
|
|
221
|
+
message: _response.error.errorMessage,
|
|
222
|
+
rawResponse: _response.rawResponse,
|
|
223
|
+
});
|
|
224
|
+
}
|
|
225
|
+
});
|
|
226
|
+
}
|
|
227
|
+
/**
|
|
228
|
+
* Stores Atlas credentials for one provider on behalf of the caller's organization. | authz: min_org_role=administrator | (AtlasCredsClientCreate1) -> (PydanticObjectId)
|
|
229
|
+
*
|
|
230
|
+
* @param {string} providerOrgId - Must be a string starting with `org_`
|
|
231
|
+
* @param {Chrt.shippingIntegrations.atlas.AtlasCredsClientCreate1} request
|
|
232
|
+
* @param {Creds.RequestOptions} requestOptions - Request-specific configuration.
|
|
233
|
+
*
|
|
234
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
235
|
+
*
|
|
236
|
+
* @example
|
|
237
|
+
* await client.shippingIntegrations.atlas.creds.createV1("provider_org_id", {
|
|
238
|
+
* api_key: "api_key",
|
|
239
|
+
* schema_version: 1
|
|
240
|
+
* })
|
|
241
|
+
*/
|
|
242
|
+
createV1(providerOrgId, request, requestOptions) {
|
|
243
|
+
return core.HttpResponsePromise.fromPromise(this.__createV1(providerOrgId, request, requestOptions));
|
|
244
|
+
}
|
|
245
|
+
__createV1(providerOrgId, request, requestOptions) {
|
|
246
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
247
|
+
var _a, _b, _c, _d;
|
|
248
|
+
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);
|
|
249
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
250
|
+
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_integrations/atlas/creds/v1/${encodeURIComponent(providerOrgId)}`),
|
|
251
|
+
method: "POST",
|
|
252
|
+
headers: _headers,
|
|
253
|
+
contentType: "application/json",
|
|
254
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
255
|
+
requestType: "json",
|
|
256
|
+
body: request,
|
|
257
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
258
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
259
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
260
|
+
});
|
|
261
|
+
if (_response.ok) {
|
|
262
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
263
|
+
}
|
|
264
|
+
if (_response.error.reason === "status-code") {
|
|
265
|
+
switch (_response.error.statusCode) {
|
|
266
|
+
case 422:
|
|
267
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
268
|
+
default:
|
|
269
|
+
throw new errors.ChrtError({
|
|
270
|
+
statusCode: _response.error.statusCode,
|
|
271
|
+
body: _response.error.body,
|
|
272
|
+
rawResponse: _response.rawResponse,
|
|
273
|
+
});
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
switch (_response.error.reason) {
|
|
277
|
+
case "non-json":
|
|
278
|
+
throw new errors.ChrtError({
|
|
279
|
+
statusCode: _response.error.statusCode,
|
|
280
|
+
body: _response.error.rawBody,
|
|
281
|
+
rawResponse: _response.rawResponse,
|
|
282
|
+
});
|
|
283
|
+
case "timeout":
|
|
284
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping_integrations/atlas/creds/v1/{provider_org_id}.");
|
|
285
|
+
case "unknown":
|
|
286
|
+
throw new errors.ChrtError({
|
|
287
|
+
message: _response.error.errorMessage,
|
|
288
|
+
rawResponse: _response.rawResponse,
|
|
289
|
+
});
|
|
290
|
+
}
|
|
291
|
+
});
|
|
292
|
+
}
|
|
293
|
+
/**
|
|
294
|
+
* Deletes stored Atlas credentials for one provider. | authz: min_org_role=administrator | () -> (bool)
|
|
295
|
+
*
|
|
296
|
+
* @param {string} providerOrgId - Must be a string starting with `org_`
|
|
297
|
+
* @param {Creds.RequestOptions} requestOptions - Request-specific configuration.
|
|
298
|
+
*
|
|
299
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
300
|
+
*
|
|
301
|
+
* @example
|
|
302
|
+
* await client.shippingIntegrations.atlas.creds.deleteV1("provider_org_id")
|
|
303
|
+
*/
|
|
304
|
+
deleteV1(providerOrgId, requestOptions) {
|
|
305
|
+
return core.HttpResponsePromise.fromPromise(this.__deleteV1(providerOrgId, requestOptions));
|
|
306
|
+
}
|
|
307
|
+
__deleteV1(providerOrgId, requestOptions) {
|
|
308
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
309
|
+
var _a, _b, _c, _d;
|
|
310
|
+
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);
|
|
311
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
312
|
+
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_integrations/atlas/creds/v1/${encodeURIComponent(providerOrgId)}`),
|
|
313
|
+
method: "DELETE",
|
|
314
|
+
headers: _headers,
|
|
315
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
316
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
317
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
318
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
319
|
+
});
|
|
320
|
+
if (_response.ok) {
|
|
321
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
322
|
+
}
|
|
323
|
+
if (_response.error.reason === "status-code") {
|
|
324
|
+
switch (_response.error.statusCode) {
|
|
325
|
+
case 422:
|
|
326
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
327
|
+
default:
|
|
328
|
+
throw new errors.ChrtError({
|
|
329
|
+
statusCode: _response.error.statusCode,
|
|
330
|
+
body: _response.error.body,
|
|
331
|
+
rawResponse: _response.rawResponse,
|
|
332
|
+
});
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
switch (_response.error.reason) {
|
|
336
|
+
case "non-json":
|
|
337
|
+
throw new errors.ChrtError({
|
|
338
|
+
statusCode: _response.error.statusCode,
|
|
339
|
+
body: _response.error.rawBody,
|
|
340
|
+
rawResponse: _response.rawResponse,
|
|
341
|
+
});
|
|
342
|
+
case "timeout":
|
|
343
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling DELETE /shipping_integrations/atlas/creds/v1/{provider_org_id}.");
|
|
344
|
+
case "unknown":
|
|
345
|
+
throw new errors.ChrtError({
|
|
346
|
+
message: _response.error.errorMessage,
|
|
347
|
+
rawResponse: _response.rawResponse,
|
|
348
|
+
});
|
|
349
|
+
}
|
|
350
|
+
});
|
|
351
|
+
}
|
|
352
|
+
/**
|
|
353
|
+
* Updates stored Atlas credentials for one provider. | authz: min_org_role=administrator | (AtlasCredsClientUpdate1) -> (bool)
|
|
354
|
+
*
|
|
355
|
+
* @param {string} providerOrgId - Must be a string starting with `org_`
|
|
356
|
+
* @param {Chrt.shippingIntegrations.atlas.AtlasCredsClientUpdate1} request
|
|
357
|
+
* @param {Creds.RequestOptions} requestOptions - Request-specific configuration.
|
|
358
|
+
*
|
|
359
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
360
|
+
*
|
|
361
|
+
* @example
|
|
362
|
+
* await client.shippingIntegrations.atlas.creds.updateV1("provider_org_id")
|
|
363
|
+
*/
|
|
364
|
+
updateV1(providerOrgId, request = {}, requestOptions) {
|
|
365
|
+
return core.HttpResponsePromise.fromPromise(this.__updateV1(providerOrgId, request, requestOptions));
|
|
366
|
+
}
|
|
367
|
+
__updateV1(providerOrgId_1) {
|
|
368
|
+
return __awaiter(this, arguments, void 0, function* (providerOrgId, request = {}, requestOptions) {
|
|
369
|
+
var _a, _b, _c, _d;
|
|
370
|
+
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);
|
|
371
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
372
|
+
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_integrations/atlas/creds/v1/${encodeURIComponent(providerOrgId)}`),
|
|
373
|
+
method: "PATCH",
|
|
374
|
+
headers: _headers,
|
|
375
|
+
contentType: "application/json",
|
|
376
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
377
|
+
requestType: "json",
|
|
378
|
+
body: request,
|
|
379
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
380
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
381
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
382
|
+
});
|
|
383
|
+
if (_response.ok) {
|
|
384
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
385
|
+
}
|
|
386
|
+
if (_response.error.reason === "status-code") {
|
|
387
|
+
switch (_response.error.statusCode) {
|
|
388
|
+
case 422:
|
|
389
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
390
|
+
default:
|
|
391
|
+
throw new errors.ChrtError({
|
|
392
|
+
statusCode: _response.error.statusCode,
|
|
393
|
+
body: _response.error.body,
|
|
394
|
+
rawResponse: _response.rawResponse,
|
|
395
|
+
});
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
switch (_response.error.reason) {
|
|
399
|
+
case "non-json":
|
|
400
|
+
throw new errors.ChrtError({
|
|
401
|
+
statusCode: _response.error.statusCode,
|
|
402
|
+
body: _response.error.rawBody,
|
|
403
|
+
rawResponse: _response.rawResponse,
|
|
404
|
+
});
|
|
405
|
+
case "timeout":
|
|
406
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /shipping_integrations/atlas/creds/v1/{provider_org_id}.");
|
|
407
|
+
case "unknown":
|
|
408
|
+
throw new errors.ChrtError({
|
|
409
|
+
message: _response.error.errorMessage,
|
|
410
|
+
rawResponse: _response.rawResponse,
|
|
411
|
+
});
|
|
412
|
+
}
|
|
413
|
+
});
|
|
414
|
+
}
|
|
415
|
+
_getAuthorizationHeader() {
|
|
416
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
417
|
+
const bearer = yield core.Supplier.get(this._options.token);
|
|
418
|
+
if (bearer != null) {
|
|
419
|
+
return `Bearer ${bearer}`;
|
|
420
|
+
}
|
|
421
|
+
return undefined;
|
|
422
|
+
});
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
exports.Creds = Creds;
|
package/dist/cjs/api/resources/shippingIntegrations/resources/atlas/resources/creds/client/index.js
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./requests/index.js"), exports);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* {
|
|
7
|
+
* api_key: "api_key",
|
|
8
|
+
* schema_version: 1
|
|
9
|
+
* }
|
|
10
|
+
*/
|
|
11
|
+
export interface AtlasCredsClientCreate1 {
|
|
12
|
+
api_key: string;
|
|
13
|
+
notes?: string | null;
|
|
14
|
+
schema_version: number;
|
|
15
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* {}
|
|
7
|
+
*/
|
|
8
|
+
export interface AtlasCredsClientUpdate1 {
|
|
9
|
+
api_key?: string | null;
|
|
10
|
+
api_key__set_to_None?: boolean;
|
|
11
|
+
notes?: string | null;
|
|
12
|
+
notes__set_to_None?: boolean;
|
|
13
|
+
}
|
package/dist/cjs/api/resources/shippingIntegrations/resources/atlas/resources/creds/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client/index.js";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./client/index.js"), exports);
|