@chrt-inc/typescript-sdk 1.1000.0 → 1.1004.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.js +2 -2
- package/dist/cjs/api/resources/billingNew/resources/chrtGroundProviderRates/client/Client.d.ts +17 -0
- package/dist/cjs/api/resources/billingNew/resources/chrtGroundProviderRates/client/Client.js +81 -1
- package/dist/cjs/api/resources/billingNew/resources/chrtGroundProviderRates/client/requests/ChrtGroundProviderRatesListV1Request.d.ts +3 -0
- package/dist/cjs/api/resources/billingNew/resources/chrtGroundProviderRates/client/requests/ChrtGroundProviderRatesTypeaheadV1Request.d.ts +16 -0
- package/dist/cjs/api/resources/billingNew/resources/chrtGroundProviderRates/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/billingNew/resources/invoices/client/Client.d.ts +17 -0
- package/dist/cjs/api/resources/billingNew/resources/invoices/client/Client.js +78 -1
- package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/InvoicesListV1Request.d.ts +3 -0
- package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/InvoicesTypeaheadV1Request.d.ts +16 -0
- package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/InvoicesTypeaheadV1Request.js +5 -0
- package/dist/cjs/api/resources/billingNew/resources/invoices/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/billingNew/resources/orders/client/Client.d.ts +1 -0
- package/dist/cjs/api/resources/billingNew/resources/orders/client/Client.js +10 -1
- package/dist/cjs/api/resources/billingNew/resources/orders/client/requests/OrderBillingExpandedListReq.d.ts +4 -1
- package/dist/cjs/api/resources/operations/resources/departments/client/Client.d.ts +17 -0
- package/dist/cjs/api/resources/operations/resources/departments/client/Client.js +78 -1
- package/dist/cjs/api/resources/operations/resources/departments/client/requests/DepartmentsListV1Request.d.ts +3 -0
- package/dist/cjs/api/resources/operations/resources/departments/client/requests/DepartmentsTypeaheadV1Request.d.ts +16 -0
- package/dist/cjs/api/resources/operations/resources/departments/client/requests/DepartmentsTypeaheadV1Request.js +5 -0
- package/dist/cjs/api/resources/operations/resources/departments/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/Client.d.ts +17 -0
- package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/Client.js +81 -1
- package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListsListV1Request.d.ts +3 -0
- package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListsTypeaheadV1Request.d.ts +16 -0
- package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListsTypeaheadV1Request.js +5 -0
- package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.d.ts +2 -0
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.js +20 -2
- 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 +16 -0
- package/dist/cjs/api/resources/orgs/client/Client.js +68 -0
- package/dist/cjs/api/resources/orgs/client/requests/OrgsTypeaheadMembersV1Request.d.ts +16 -0
- package/dist/cjs/api/resources/orgs/client/requests/OrgsTypeaheadMembersV1Request.js +5 -0
- package/dist/cjs/api/resources/orgs/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/orgs/resources/accounts/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/orgs/resources/accounts/client/Client.js +10 -5
- package/dist/cjs/api/resources/orgs/resources/accounts/client/requests/AccountsListV1Request.d.ts +3 -3
- package/dist/cjs/api/resources/orgs/resources/connections/client/Client.d.ts +5 -0
- package/dist/cjs/api/resources/orgs/resources/connections/client/Client.js +50 -5
- package/dist/cjs/api/resources/orgs/resources/connections/client/requests/ConnectionsListCoordinatorsForExecutorV1Request.d.ts +3 -0
- package/dist/cjs/api/resources/orgs/resources/connections/client/requests/ConnectionsListCoordinatorsForShipperV1Request.d.ts +3 -0
- package/dist/cjs/api/resources/orgs/resources/connections/client/requests/ConnectionsListExecutorsForCoordinatorV1Request.d.ts +3 -0
- package/dist/cjs/api/resources/orgs/resources/connections/client/requests/ConnectionsListExecutorsGeoSearchForCoordinatorV1Request.d.ts +3 -0
- package/dist/cjs/api/resources/orgs/resources/connections/client/requests/ConnectionsListShippersForCoordinatorV1Request.d.ts +3 -0
- package/dist/cjs/api/resources/orgs/resources/contacts/client/Client.d.ts +17 -0
- package/dist/cjs/api/resources/orgs/resources/contacts/client/Client.js +78 -1
- package/dist/cjs/api/resources/orgs/resources/contacts/client/requests/ContactsListV1Request.d.ts +3 -0
- package/dist/cjs/api/resources/orgs/resources/contacts/client/requests/ContactsTypeaheadV1Request.d.ts +16 -0
- package/dist/cjs/api/resources/orgs/resources/contacts/client/requests/ContactsTypeaheadV1Request.js +5 -0
- package/dist/cjs/api/resources/orgs/resources/contacts/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/orgs/resources/offChrtOrgData/client/Client.d.ts +17 -0
- package/dist/cjs/api/resources/orgs/resources/offChrtOrgData/client/Client.js +78 -1
- package/dist/cjs/api/resources/orgs/resources/offChrtOrgData/client/requests/OffChrtOrgDataListV1Request.d.ts +3 -0
- package/dist/cjs/api/resources/orgs/resources/offChrtOrgData/client/requests/OffChrtOrgDataTypeaheadV1Request.d.ts +16 -0
- package/dist/cjs/api/resources/orgs/resources/offChrtOrgData/client/requests/OffChrtOrgDataTypeaheadV1Request.js +5 -0
- package/dist/cjs/api/resources/orgs/resources/offChrtOrgData/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.d.ts +18 -1
- package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.js +88 -6
- package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriversListOrgMembersAndDriversV1Request.d.ts +3 -0
- package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriversListV1Request.d.ts +3 -3
- package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriversTypeaheadV1Request.d.ts +16 -0
- package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriversTypeaheadV1Request.js +5 -0
- package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/Client.d.ts +17 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/Client.js +81 -1
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplatesNewListV1Request.d.ts +4 -1
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplatesNewTypeaheadV1Request.d.ts +16 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplatesNewTypeaheadV1Request.js +5 -0
- package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/orders/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/shipping/resources/orders/client/Client.js +1 -1
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.ts +2 -0
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.js +20 -2
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.ts +4 -1
- 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 +20 -2
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverV1Request.d.ts +3 -0
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.ts +3 -0
- package/dist/cjs/api/resources/shippingIntegrations/client/Client.d.ts +3 -0
- package/dist/cjs/api/resources/shippingIntegrations/client/Client.js +15 -10
- package/dist/cjs/api/resources/shippingIntegrations/resources/atlas/resources/orders/client/Client.d.ts +17 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/atlas/resources/orders/client/Client.js +78 -1
- package/dist/cjs/api/resources/shippingIntegrations/resources/atlas/resources/orders/client/requests/OrdersListV1Request.d.ts +3 -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 +1 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/client/Client.d.ts +26 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/client/Client.js +22 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/client/index.js +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/index.d.ts +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/index.js +18 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/creds/client/Client.d.ts +115 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/creds/client/Client.js +426 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/creds/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/creds/client/index.js +17 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/creds/client/requests/CourieCredsClientCreate1.d.ts +18 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/creds/client/requests/CourieCredsClientCreate1.js +5 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/creds/client/requests/CourieCredsClientUpdate1.d.ts +15 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/creds/client/requests/CourieCredsClientUpdate1.js +5 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/creds/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/creds/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/creds/index.d.ts +1 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/creds/index.js +17 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/index.d.ts +4 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/index.js +43 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/orders/client/Client.d.ts +105 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/orders/client/Client.js +375 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/orders/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/orders/client/index.js +17 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/orders/client/requests/CourieOrderSyncOneReq.d.ts +15 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/orders/client/requests/CourieOrderSyncOneReq.js +5 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/orders/client/requests/OrdersListV1Request.d.ts +51 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/orders/client/requests/OrdersListV1Request.js +5 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/orders/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/orders/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/orders/index.d.ts +1 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/orders/index.js +17 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/cxt/resources/orders/client/Client.d.ts +17 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/cxt/resources/orders/client/Client.js +78 -1
- package/dist/cjs/api/resources/shippingIntegrations/resources/cxt/resources/orders/client/requests/OrdersListV1Request.d.ts +3 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/cxt/resources/orders/client/requests/OrdersTypeaheadV1Request.d.ts +16 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/cxt/resources/orders/client/requests/OrdersTypeaheadV1Request.js +5 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/cxt/resources/orders/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/dispatchScience/resources/orders/client/Client.d.ts +17 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/dispatchScience/resources/orders/client/Client.js +81 -1
- package/dist/cjs/api/resources/shippingIntegrations/resources/dispatchScience/resources/orders/client/requests/OrdersListV1Request.d.ts +3 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/dispatchScience/resources/orders/client/requests/OrdersTypeaheadV1Request.d.ts +16 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/dispatchScience/resources/orders/client/requests/OrdersTypeaheadV1Request.js +5 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/dispatchScience/resources/orders/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/index.d.ts +1 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/index.js +2 -1
- package/dist/cjs/api/resources/shippingIntegrations/resources/ontime360/resources/orders/client/Client.d.ts +17 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ontime360/resources/orders/client/Client.js +78 -1
- package/dist/cjs/api/resources/shippingIntegrations/resources/ontime360/resources/orders/client/requests/OrdersListV1Request.d.ts +3 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ontime360/resources/orders/client/requests/OrdersTypeaheadV1Request.d.ts +16 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ontime360/resources/orders/client/requests/OrdersTypeaheadV1Request.js +5 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ontime360/resources/orders/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/orders/client/Client.d.ts +3 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/orders/client/Client.js +30 -3
- package/dist/cjs/api/resources/shippingIntegrations/resources/orders/client/requests/OrdersListForIntegrationExecutorOperatorsV1Request.d.ts +3 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/orders/client/requests/OrdersListV1Request.d.ts +3 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/orders/client/requests/OrdersStatusSummaryV1Request.d.ts +3 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/Client.d.ts +17 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/Client.js +81 -1
- package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/requests/OrdersListV1Request.d.ts +3 -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/index.d.ts +1 -0
- package/dist/cjs/api/resources/tracking/resources/devices/client/Client.d.ts +3 -3
- package/dist/cjs/api/resources/tracking/resources/devices/client/Client.js +10 -5
- package/dist/cjs/api/resources/tracking/resources/devices/client/requests/DevicesListV1Request.d.ts +3 -3
- package/dist/cjs/api/resources/tracking/resources/sessions/client/Client.d.ts +3 -2
- package/dist/cjs/api/resources/tracking/resources/sessions/client/Client.js +11 -2
- package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/SessionsListV1Request.d.ts +3 -0
- package/dist/cjs/api/types/AtlasOrderTypeaheadFieldEnum.d.ts +4 -0
- package/dist/cjs/api/types/AtlasOrderTypeaheadFieldEnum.js +5 -0
- package/dist/cjs/api/types/AtlasOrderTypeaheadResult.d.ts +8 -0
- package/dist/cjs/api/types/AtlasOrderTypeaheadResult.js +5 -0
- package/dist/cjs/api/types/AtlasOrderTypeaheadValue.d.ts +7 -0
- package/dist/cjs/api/types/AtlasOrderTypeaheadValue.js +5 -0
- package/dist/cjs/api/types/ChrtGroundProviderRatesTypeaheadFieldEnum.d.ts +4 -0
- package/dist/cjs/api/types/ChrtGroundProviderRatesTypeaheadFieldEnum.js +5 -0
- package/dist/cjs/api/types/ChrtGroundProviderRatesTypeaheadResult.d.ts +8 -0
- package/dist/cjs/api/types/ChrtGroundProviderRatesTypeaheadResult.js +5 -0
- package/dist/cjs/api/types/ChrtGroundProviderRatesTypeaheadValue.d.ts +7 -0
- package/dist/cjs/api/types/ChrtGroundProviderRatesTypeaheadValue.js +5 -0
- package/dist/cjs/api/types/ContactTypeaheadFieldEnum.d.ts +4 -0
- package/dist/cjs/api/types/ContactTypeaheadFieldEnum.js +5 -0
- package/dist/cjs/api/types/ContactTypeaheadResult.d.ts +8 -0
- package/dist/cjs/api/types/ContactTypeaheadResult.js +5 -0
- package/dist/cjs/api/types/ContactTypeaheadValue.d.ts +7 -0
- package/dist/cjs/api/types/ContactTypeaheadValue.js +5 -0
- package/dist/cjs/api/types/CourieAddressResponse1.d.ts +16 -0
- package/dist/cjs/api/types/CourieAddressResponse1.js +5 -0
- package/dist/cjs/api/types/CourieAttemptReasonResponse1.d.ts +9 -0
- package/dist/cjs/api/types/CourieAttemptReasonResponse1.js +5 -0
- package/dist/cjs/api/types/CourieCredsLimited1.d.ts +24 -0
- package/dist/cjs/api/types/CourieCredsLimited1.js +5 -0
- package/dist/cjs/api/types/CourieCredsListRes.d.ts +8 -0
- package/dist/cjs/api/types/CourieCredsListRes.js +5 -0
- package/dist/cjs/api/types/CourieCredsTestRes.d.ts +10 -0
- package/dist/cjs/api/types/CourieCredsTestRes.js +5 -0
- package/dist/cjs/api/types/CourieCustomFieldResponse1.d.ts +10 -0
- package/dist/cjs/api/types/CourieCustomFieldResponse1.js +5 -0
- package/dist/cjs/api/types/CourieDriverAnswerResponse1.d.ts +11 -0
- package/dist/cjs/api/types/CourieDriverAnswerResponse1.js +5 -0
- package/dist/cjs/api/types/CourieDriverResponse1.d.ts +9 -0
- package/dist/cjs/api/types/CourieDriverResponse1.js +5 -0
- package/dist/cjs/api/types/CourieLatLngResponse1.d.ts +10 -0
- package/dist/cjs/api/types/CourieLatLngResponse1.js +5 -0
- package/dist/cjs/api/types/CourieLocationScanResponse1.d.ts +9 -0
- package/dist/cjs/api/types/CourieLocationScanResponse1.js +5 -0
- package/dist/cjs/api/types/CourieOrder1.d.ts +19 -0
- package/dist/cjs/api/types/CourieOrder1.js +5 -0
- package/dist/cjs/api/types/CourieOrderEventEnum1.d.ts +18 -0
- package/dist/cjs/api/types/CourieOrderEventEnum1.js +14 -0
- package/dist/cjs/api/types/CourieOrderEventResponse1.d.ts +11 -0
- package/dist/cjs/api/types/CourieOrderEventResponse1.js +5 -0
- package/dist/cjs/api/types/CourieOrderListRes.d.ts +8 -0
- package/dist/cjs/api/types/CourieOrderListRes.js +5 -0
- package/dist/cjs/api/types/CourieOrderResponse1.d.ts +42 -0
- package/dist/cjs/api/types/CourieOrderResponse1.js +5 -0
- package/dist/cjs/api/types/CourieOrderSortByEnum.d.ts +10 -0
- package/dist/cjs/api/types/CourieOrderSortByEnum.js +12 -0
- package/dist/cjs/api/types/CourieOrderStatusEnum1.d.ts +21 -0
- package/dist/cjs/api/types/CourieOrderStatusEnum1.js +16 -0
- package/dist/cjs/api/types/CouriePackageItemResponse1.d.ts +19 -0
- package/dist/cjs/api/types/CouriePackageItemResponse1.js +5 -0
- package/dist/cjs/api/types/CouriePackageResponse1.d.ts +9 -0
- package/dist/cjs/api/types/CouriePackageResponse1.js +5 -0
- package/dist/cjs/api/types/CourieProofOfDeliveryResponse1.d.ts +11 -0
- package/dist/cjs/api/types/CourieProofOfDeliveryResponse1.js +5 -0
- package/dist/cjs/api/types/CourieStopAttemptResponse1.d.ts +10 -0
- package/dist/cjs/api/types/CourieStopAttemptResponse1.js +5 -0
- package/dist/cjs/api/types/CourieStopResponse1.d.ts +29 -0
- package/dist/cjs/api/types/CourieStopResponse1.js +5 -0
- package/dist/cjs/api/types/CourieStopTypeEnum1.d.ts +8 -0
- package/dist/cjs/api/types/CourieStopTypeEnum1.js +10 -0
- package/dist/cjs/api/types/CxtOrderTypeaheadFieldEnum.d.ts +4 -0
- package/dist/cjs/api/types/CxtOrderTypeaheadFieldEnum.js +5 -0
- package/dist/cjs/api/types/CxtOrderTypeaheadResult.d.ts +8 -0
- package/dist/cjs/api/types/CxtOrderTypeaheadResult.js +5 -0
- package/dist/cjs/api/types/CxtOrderTypeaheadValue.d.ts +7 -0
- package/dist/cjs/api/types/CxtOrderTypeaheadValue.js +5 -0
- package/dist/cjs/api/types/DepartmentTypeaheadFieldEnum.d.ts +8 -0
- package/dist/cjs/api/types/DepartmentTypeaheadFieldEnum.js +10 -0
- package/dist/cjs/api/types/DepartmentTypeaheadResult.d.ts +8 -0
- package/dist/cjs/api/types/DepartmentTypeaheadResult.js +5 -0
- package/dist/cjs/api/types/DepartmentTypeaheadValue.d.ts +7 -0
- package/dist/cjs/api/types/DepartmentTypeaheadValue.js +5 -0
- package/dist/cjs/api/types/{TrackingTypeaheadResult.d.ts → DeviceTypeaheadResult.d.ts} +2 -2
- package/dist/cjs/api/types/DeviceTypeaheadResult.js +5 -0
- package/dist/cjs/api/types/DeviceTypeaheadValue.d.ts +7 -0
- package/dist/cjs/api/types/DeviceTypeaheadValue.js +5 -0
- package/dist/cjs/api/types/DispatchScienceOrderTypeaheadFieldEnum.d.ts +4 -0
- package/dist/cjs/api/types/DispatchScienceOrderTypeaheadFieldEnum.js +5 -0
- package/dist/cjs/api/types/DispatchScienceOrderTypeaheadResult.d.ts +8 -0
- package/dist/cjs/api/types/DispatchScienceOrderTypeaheadResult.js +5 -0
- package/dist/cjs/api/types/DispatchScienceOrderTypeaheadValue.d.ts +7 -0
- package/dist/cjs/api/types/DispatchScienceOrderTypeaheadValue.js +5 -0
- package/dist/cjs/api/types/DriverComplianceDocumentS3ObjectMetadata1.d.ts +2 -0
- package/dist/cjs/api/types/DriverTypeaheadFieldEnum.d.ts +8 -0
- package/dist/cjs/api/types/DriverTypeaheadFieldEnum.js +10 -0
- package/dist/cjs/api/types/DriverTypeaheadResult.d.ts +8 -0
- package/dist/cjs/api/types/DriverTypeaheadResult.js +5 -0
- package/dist/cjs/api/types/DriverTypeaheadValue.d.ts +7 -0
- package/dist/cjs/api/types/DriverTypeaheadValue.js +5 -0
- package/dist/cjs/api/types/InvoiceTypeaheadFieldEnum.d.ts +4 -0
- package/dist/cjs/api/types/InvoiceTypeaheadFieldEnum.js +5 -0
- package/dist/cjs/api/types/InvoiceTypeaheadResult.d.ts +8 -0
- package/dist/cjs/api/types/InvoiceTypeaheadResult.js +5 -0
- package/dist/cjs/api/types/InvoiceTypeaheadValue.d.ts +7 -0
- package/dist/cjs/api/types/InvoiceTypeaheadValue.js +5 -0
- package/dist/cjs/api/types/OffChrtOrgDataTypeaheadFieldEnum.d.ts +4 -0
- package/dist/cjs/api/types/OffChrtOrgDataTypeaheadFieldEnum.js +5 -0
- package/dist/cjs/api/types/OffChrtOrgDataTypeaheadResult.d.ts +8 -0
- package/dist/cjs/api/types/OffChrtOrgDataTypeaheadResult.js +5 -0
- package/dist/cjs/api/types/OffChrtOrgDataTypeaheadValue.d.ts +7 -0
- package/dist/cjs/api/types/OffChrtOrgDataTypeaheadValue.js +5 -0
- package/dist/cjs/api/types/OnTime360OrderTypeaheadFieldEnum.d.ts +4 -0
- package/dist/cjs/api/types/OnTime360OrderTypeaheadFieldEnum.js +5 -0
- package/dist/cjs/api/types/OnTime360OrderTypeaheadResult.d.ts +8 -0
- package/dist/cjs/api/types/OnTime360OrderTypeaheadResult.js +5 -0
- package/dist/cjs/api/types/OnTime360OrderTypeaheadValue.d.ts +7 -0
- package/dist/cjs/api/types/OnTime360OrderTypeaheadValue.js +5 -0
- package/dist/cjs/api/types/OperationsTaskListTypeaheadFieldEnum.d.ts +4 -0
- package/dist/cjs/api/types/OperationsTaskListTypeaheadFieldEnum.js +5 -0
- package/dist/cjs/api/types/OperationsTaskListTypeaheadResult.d.ts +8 -0
- package/dist/cjs/api/types/OperationsTaskListTypeaheadResult.js +5 -0
- package/dist/cjs/api/types/OperationsTaskListTypeaheadValue.d.ts +7 -0
- package/dist/cjs/api/types/OperationsTaskListTypeaheadValue.js +5 -0
- package/dist/cjs/api/types/OperationsTaskTypeaheadResult.d.ts +1 -1
- package/dist/cjs/api/types/OperationsTaskTypeaheadValue.d.ts +7 -0
- package/dist/cjs/api/types/OperationsTaskTypeaheadValue.js +5 -0
- package/dist/cjs/api/types/OrderInternalMessageS3ObjectMetadata1.d.ts +2 -0
- package/dist/cjs/api/types/OrderLabelTypeaheadFieldEnum.d.ts +4 -0
- package/dist/cjs/api/types/OrderLabelTypeaheadFieldEnum.js +5 -0
- package/dist/cjs/api/types/OrderLabelTypeaheadResult.d.ts +8 -0
- package/dist/cjs/api/types/OrderLabelTypeaheadResult.js +5 -0
- package/dist/cjs/api/types/OrderTemplateNewTypeaheadFieldEnum.d.ts +4 -0
- package/dist/cjs/api/types/OrderTemplateNewTypeaheadFieldEnum.js +5 -0
- package/dist/cjs/api/types/OrderTemplateNewTypeaheadResult.d.ts +8 -0
- package/dist/cjs/api/types/OrderTemplateNewTypeaheadResult.js +5 -0
- package/dist/cjs/api/types/OrderTemplateNewTypeaheadValue.d.ts +7 -0
- package/dist/cjs/api/types/OrderTemplateNewTypeaheadValue.js +5 -0
- package/dist/cjs/api/types/OrgComplianceDocumentS3ObjectMetadata1.d.ts +2 -0
- package/dist/cjs/api/types/OrgMemberTypeaheadFieldEnum.d.ts +8 -0
- package/dist/cjs/api/types/OrgMemberTypeaheadFieldEnum.js +10 -0
- package/dist/cjs/api/types/OrgMemberTypeaheadResult.d.ts +8 -0
- package/dist/cjs/api/types/OrgMemberTypeaheadResult.js +5 -0
- package/dist/cjs/api/types/OrgMemberTypeaheadValue.d.ts +7 -0
- package/dist/cjs/api/types/OrgMemberTypeaheadValue.js +5 -0
- package/dist/cjs/api/types/OrgShippingIntegrationEnum1.d.ts +2 -1
- package/dist/cjs/api/types/OrgShippingIntegrationEnum1.js +1 -0
- package/dist/cjs/api/types/SessionTypeaheadResult.d.ts +8 -0
- package/dist/cjs/api/types/SessionTypeaheadResult.js +5 -0
- package/dist/cjs/api/types/SessionTypeaheadValue.d.ts +7 -0
- package/dist/cjs/api/types/SessionTypeaheadValue.js +5 -0
- package/dist/cjs/api/types/ShippingIntegrationOrderTypeaheadResult.d.ts +1 -1
- package/dist/cjs/api/types/ShippingIntegrationOrderTypeaheadValue.d.ts +7 -0
- package/dist/cjs/api/types/ShippingIntegrationOrderTypeaheadValue.js +5 -0
- package/dist/cjs/api/types/TaskArtifactS3ObjectMetadata1.d.ts +2 -0
- package/dist/cjs/api/types/TaskGroupS3ObjectMetadata1.d.ts +2 -0
- package/dist/cjs/api/types/TaskGroupTypeaheadResult.d.ts +1 -1
- package/dist/cjs/api/types/TaskGroupTypeaheadValue.d.ts +7 -0
- package/dist/cjs/api/types/TaskGroupTypeaheadValue.js +5 -0
- package/dist/cjs/api/types/XceleratorOrderTypeaheadFieldEnum.d.ts +4 -0
- package/dist/cjs/api/types/XceleratorOrderTypeaheadFieldEnum.js +5 -0
- package/dist/cjs/api/types/XceleratorOrderTypeaheadResult.d.ts +8 -0
- package/dist/cjs/api/types/XceleratorOrderTypeaheadResult.js +5 -0
- package/dist/cjs/api/types/XceleratorOrderTypeaheadValue.d.ts +7 -0
- package/dist/cjs/api/types/XceleratorOrderTypeaheadValue.js +5 -0
- package/dist/cjs/api/types/index.d.ts +74 -1
- package/dist/cjs/api/types/index.js +74 -1
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.mjs +2 -2
- package/dist/esm/api/resources/billingNew/resources/chrtGroundProviderRates/client/Client.d.mts +17 -0
- package/dist/esm/api/resources/billingNew/resources/chrtGroundProviderRates/client/Client.mjs +81 -1
- package/dist/esm/api/resources/billingNew/resources/chrtGroundProviderRates/client/requests/ChrtGroundProviderRatesListV1Request.d.mts +3 -0
- package/dist/esm/api/resources/billingNew/resources/chrtGroundProviderRates/client/requests/ChrtGroundProviderRatesTypeaheadV1Request.d.mts +16 -0
- package/dist/esm/api/resources/billingNew/resources/chrtGroundProviderRates/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/billingNew/resources/invoices/client/Client.d.mts +17 -0
- package/dist/esm/api/resources/billingNew/resources/invoices/client/Client.mjs +78 -1
- package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/InvoicesListV1Request.d.mts +3 -0
- package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/InvoicesTypeaheadV1Request.d.mts +16 -0
- package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/InvoicesTypeaheadV1Request.mjs +4 -0
- package/dist/esm/api/resources/billingNew/resources/invoices/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/billingNew/resources/orders/client/Client.d.mts +1 -0
- package/dist/esm/api/resources/billingNew/resources/orders/client/Client.mjs +10 -1
- package/dist/esm/api/resources/billingNew/resources/orders/client/requests/OrderBillingExpandedListReq.d.mts +4 -1
- package/dist/esm/api/resources/operations/resources/departments/client/Client.d.mts +17 -0
- package/dist/esm/api/resources/operations/resources/departments/client/Client.mjs +78 -1
- package/dist/esm/api/resources/operations/resources/departments/client/requests/DepartmentsListV1Request.d.mts +3 -0
- package/dist/esm/api/resources/operations/resources/departments/client/requests/DepartmentsTypeaheadV1Request.d.mts +16 -0
- package/dist/esm/api/resources/operations/resources/departments/client/requests/DepartmentsTypeaheadV1Request.mjs +4 -0
- package/dist/esm/api/resources/operations/resources/departments/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/Client.d.mts +17 -0
- package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/Client.mjs +81 -1
- package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListsListV1Request.d.mts +3 -0
- package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListsTypeaheadV1Request.d.mts +16 -0
- package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListsTypeaheadV1Request.mjs +4 -0
- package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.d.mts +2 -0
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.mjs +20 -2
- 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 +16 -0
- package/dist/esm/api/resources/orgs/client/Client.mjs +68 -0
- package/dist/esm/api/resources/orgs/client/requests/OrgsTypeaheadMembersV1Request.d.mts +16 -0
- package/dist/esm/api/resources/orgs/client/requests/OrgsTypeaheadMembersV1Request.mjs +4 -0
- package/dist/esm/api/resources/orgs/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/orgs/resources/accounts/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/orgs/resources/accounts/client/Client.mjs +10 -5
- package/dist/esm/api/resources/orgs/resources/accounts/client/requests/AccountsListV1Request.d.mts +3 -3
- package/dist/esm/api/resources/orgs/resources/connections/client/Client.d.mts +5 -0
- package/dist/esm/api/resources/orgs/resources/connections/client/Client.mjs +50 -5
- package/dist/esm/api/resources/orgs/resources/connections/client/requests/ConnectionsListCoordinatorsForExecutorV1Request.d.mts +3 -0
- package/dist/esm/api/resources/orgs/resources/connections/client/requests/ConnectionsListCoordinatorsForShipperV1Request.d.mts +3 -0
- package/dist/esm/api/resources/orgs/resources/connections/client/requests/ConnectionsListExecutorsForCoordinatorV1Request.d.mts +3 -0
- package/dist/esm/api/resources/orgs/resources/connections/client/requests/ConnectionsListExecutorsGeoSearchForCoordinatorV1Request.d.mts +3 -0
- package/dist/esm/api/resources/orgs/resources/connections/client/requests/ConnectionsListShippersForCoordinatorV1Request.d.mts +3 -0
- package/dist/esm/api/resources/orgs/resources/contacts/client/Client.d.mts +17 -0
- package/dist/esm/api/resources/orgs/resources/contacts/client/Client.mjs +78 -1
- package/dist/esm/api/resources/orgs/resources/contacts/client/requests/ContactsListV1Request.d.mts +3 -0
- package/dist/esm/api/resources/orgs/resources/contacts/client/requests/ContactsTypeaheadV1Request.d.mts +16 -0
- package/dist/esm/api/resources/orgs/resources/contacts/client/requests/ContactsTypeaheadV1Request.mjs +4 -0
- package/dist/esm/api/resources/orgs/resources/contacts/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/orgs/resources/offChrtOrgData/client/Client.d.mts +17 -0
- package/dist/esm/api/resources/orgs/resources/offChrtOrgData/client/Client.mjs +78 -1
- package/dist/esm/api/resources/orgs/resources/offChrtOrgData/client/requests/OffChrtOrgDataListV1Request.d.mts +3 -0
- package/dist/esm/api/resources/orgs/resources/offChrtOrgData/client/requests/OffChrtOrgDataTypeaheadV1Request.d.mts +16 -0
- package/dist/esm/api/resources/orgs/resources/offChrtOrgData/client/requests/OffChrtOrgDataTypeaheadV1Request.mjs +4 -0
- package/dist/esm/api/resources/orgs/resources/offChrtOrgData/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/drivers/client/Client.d.mts +18 -1
- package/dist/esm/api/resources/shipping/resources/drivers/client/Client.mjs +88 -6
- package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriversListOrgMembersAndDriversV1Request.d.mts +3 -0
- package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriversListV1Request.d.mts +3 -3
- package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriversTypeaheadV1Request.d.mts +16 -0
- package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriversTypeaheadV1Request.mjs +4 -0
- package/dist/esm/api/resources/shipping/resources/drivers/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/Client.d.mts +17 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/Client.mjs +81 -1
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplatesNewListV1Request.d.mts +4 -1
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplatesNewTypeaheadV1Request.d.mts +16 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplatesNewTypeaheadV1Request.mjs +4 -0
- package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/orders/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/shipping/resources/orders/client/Client.mjs +1 -1
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.mts +2 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.mjs +20 -2
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.mts +4 -1
- 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 +20 -2
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverV1Request.d.mts +3 -0
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.mts +3 -0
- package/dist/esm/api/resources/shippingIntegrations/client/Client.d.mts +3 -0
- package/dist/esm/api/resources/shippingIntegrations/client/Client.mjs +5 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/atlas/resources/orders/client/Client.d.mts +17 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/atlas/resources/orders/client/Client.mjs +78 -1
- package/dist/esm/api/resources/shippingIntegrations/resources/atlas/resources/orders/client/requests/OrdersListV1Request.d.mts +3 -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 +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/client/Client.d.mts +26 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/client/Client.mjs +18 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/client/index.d.mts +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/client/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/index.d.mts +2 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/index.mjs +2 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/creds/client/Client.d.mts +115 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/creds/client/Client.mjs +389 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/creds/client/index.d.mts +2 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/creds/client/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/creds/client/requests/CourieCredsClientCreate1.d.mts +18 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/creds/client/requests/CourieCredsClientCreate1.mjs +4 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/creds/client/requests/CourieCredsClientUpdate1.d.mts +15 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/creds/client/requests/CourieCredsClientUpdate1.mjs +4 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/creds/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/creds/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/creds/index.d.mts +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/creds/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/index.d.mts +4 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/index.mjs +4 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/orders/client/Client.d.mts +105 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/orders/client/Client.mjs +338 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/orders/client/index.d.mts +2 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/orders/client/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/orders/client/requests/CourieOrderSyncOneReq.d.mts +15 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/orders/client/requests/CourieOrderSyncOneReq.mjs +4 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/orders/client/requests/OrdersListV1Request.d.mts +51 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/orders/client/requests/OrdersListV1Request.mjs +4 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/orders/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/orders/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/orders/index.d.mts +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/orders/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/cxt/resources/orders/client/Client.d.mts +17 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/cxt/resources/orders/client/Client.mjs +78 -1
- package/dist/esm/api/resources/shippingIntegrations/resources/cxt/resources/orders/client/requests/OrdersListV1Request.d.mts +3 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/cxt/resources/orders/client/requests/OrdersTypeaheadV1Request.d.mts +16 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/cxt/resources/orders/client/requests/OrdersTypeaheadV1Request.mjs +4 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/cxt/resources/orders/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/dispatchScience/resources/orders/client/Client.d.mts +17 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/dispatchScience/resources/orders/client/Client.mjs +81 -1
- package/dist/esm/api/resources/shippingIntegrations/resources/dispatchScience/resources/orders/client/requests/OrdersListV1Request.d.mts +3 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/dispatchScience/resources/orders/client/requests/OrdersTypeaheadV1Request.d.mts +16 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/dispatchScience/resources/orders/client/requests/OrdersTypeaheadV1Request.mjs +4 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/dispatchScience/resources/orders/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/index.d.mts +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ontime360/resources/orders/client/Client.d.mts +17 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ontime360/resources/orders/client/Client.mjs +78 -1
- package/dist/esm/api/resources/shippingIntegrations/resources/ontime360/resources/orders/client/requests/OrdersListV1Request.d.mts +3 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ontime360/resources/orders/client/requests/OrdersTypeaheadV1Request.d.mts +16 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ontime360/resources/orders/client/requests/OrdersTypeaheadV1Request.mjs +4 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ontime360/resources/orders/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/orders/client/Client.d.mts +3 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/orders/client/Client.mjs +30 -3
- package/dist/esm/api/resources/shippingIntegrations/resources/orders/client/requests/OrdersListForIntegrationExecutorOperatorsV1Request.d.mts +3 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/orders/client/requests/OrdersListV1Request.d.mts +3 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/orders/client/requests/OrdersStatusSummaryV1Request.d.mts +3 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/Client.d.mts +17 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/Client.mjs +81 -1
- package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/requests/OrdersListV1Request.d.mts +3 -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/index.d.mts +1 -0
- package/dist/esm/api/resources/tracking/resources/devices/client/Client.d.mts +3 -3
- package/dist/esm/api/resources/tracking/resources/devices/client/Client.mjs +10 -5
- package/dist/esm/api/resources/tracking/resources/devices/client/requests/DevicesListV1Request.d.mts +3 -3
- package/dist/esm/api/resources/tracking/resources/sessions/client/Client.d.mts +3 -2
- package/dist/esm/api/resources/tracking/resources/sessions/client/Client.mjs +11 -2
- package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionsListV1Request.d.mts +3 -0
- package/dist/esm/api/types/AtlasOrderTypeaheadFieldEnum.d.mts +4 -0
- package/dist/esm/api/types/AtlasOrderTypeaheadFieldEnum.mjs +4 -0
- package/dist/esm/api/types/AtlasOrderTypeaheadResult.d.mts +8 -0
- package/dist/esm/api/types/AtlasOrderTypeaheadResult.mjs +4 -0
- package/dist/esm/api/types/AtlasOrderTypeaheadValue.d.mts +7 -0
- package/dist/esm/api/types/AtlasOrderTypeaheadValue.mjs +4 -0
- package/dist/esm/api/types/ChrtGroundProviderRatesTypeaheadFieldEnum.d.mts +4 -0
- package/dist/esm/api/types/ChrtGroundProviderRatesTypeaheadFieldEnum.mjs +4 -0
- package/dist/esm/api/types/ChrtGroundProviderRatesTypeaheadResult.d.mts +8 -0
- package/dist/esm/api/types/ChrtGroundProviderRatesTypeaheadResult.mjs +4 -0
- package/dist/esm/api/types/ChrtGroundProviderRatesTypeaheadValue.d.mts +7 -0
- package/dist/esm/api/types/ChrtGroundProviderRatesTypeaheadValue.mjs +4 -0
- package/dist/esm/api/types/ContactTypeaheadFieldEnum.d.mts +4 -0
- package/dist/esm/api/types/ContactTypeaheadFieldEnum.mjs +4 -0
- package/dist/esm/api/types/ContactTypeaheadResult.d.mts +8 -0
- package/dist/esm/api/types/ContactTypeaheadResult.mjs +4 -0
- package/dist/esm/api/types/ContactTypeaheadValue.d.mts +7 -0
- package/dist/esm/api/types/ContactTypeaheadValue.mjs +4 -0
- package/dist/esm/api/types/CourieAddressResponse1.d.mts +16 -0
- package/dist/esm/api/types/CourieAddressResponse1.mjs +4 -0
- package/dist/esm/api/types/CourieAttemptReasonResponse1.d.mts +9 -0
- package/dist/esm/api/types/CourieAttemptReasonResponse1.mjs +4 -0
- package/dist/esm/api/types/CourieCredsLimited1.d.mts +24 -0
- package/dist/esm/api/types/CourieCredsLimited1.mjs +4 -0
- package/dist/esm/api/types/CourieCredsListRes.d.mts +8 -0
- package/dist/esm/api/types/CourieCredsListRes.mjs +4 -0
- package/dist/esm/api/types/CourieCredsTestRes.d.mts +10 -0
- package/dist/esm/api/types/CourieCredsTestRes.mjs +4 -0
- package/dist/esm/api/types/CourieCustomFieldResponse1.d.mts +10 -0
- package/dist/esm/api/types/CourieCustomFieldResponse1.mjs +4 -0
- package/dist/esm/api/types/CourieDriverAnswerResponse1.d.mts +11 -0
- package/dist/esm/api/types/CourieDriverAnswerResponse1.mjs +4 -0
- package/dist/esm/api/types/CourieDriverResponse1.d.mts +9 -0
- package/dist/esm/api/types/CourieDriverResponse1.mjs +4 -0
- package/dist/esm/api/types/CourieLatLngResponse1.d.mts +10 -0
- package/dist/esm/api/types/CourieLatLngResponse1.mjs +4 -0
- package/dist/esm/api/types/CourieLocationScanResponse1.d.mts +9 -0
- package/dist/esm/api/types/CourieLocationScanResponse1.mjs +4 -0
- package/dist/esm/api/types/CourieOrder1.d.mts +19 -0
- package/dist/esm/api/types/CourieOrder1.mjs +4 -0
- package/dist/esm/api/types/CourieOrderEventEnum1.d.mts +18 -0
- package/dist/esm/api/types/CourieOrderEventEnum1.mjs +11 -0
- package/dist/esm/api/types/CourieOrderEventResponse1.d.mts +11 -0
- package/dist/esm/api/types/CourieOrderEventResponse1.mjs +4 -0
- package/dist/esm/api/types/CourieOrderListRes.d.mts +8 -0
- package/dist/esm/api/types/CourieOrderListRes.mjs +4 -0
- package/dist/esm/api/types/CourieOrderResponse1.d.mts +42 -0
- package/dist/esm/api/types/CourieOrderResponse1.mjs +4 -0
- package/dist/esm/api/types/CourieOrderSortByEnum.d.mts +10 -0
- package/dist/esm/api/types/CourieOrderSortByEnum.mjs +9 -0
- package/dist/esm/api/types/CourieOrderStatusEnum1.d.mts +21 -0
- package/dist/esm/api/types/CourieOrderStatusEnum1.mjs +13 -0
- package/dist/esm/api/types/CouriePackageItemResponse1.d.mts +19 -0
- package/dist/esm/api/types/CouriePackageItemResponse1.mjs +4 -0
- package/dist/esm/api/types/CouriePackageResponse1.d.mts +9 -0
- package/dist/esm/api/types/CouriePackageResponse1.mjs +4 -0
- package/dist/esm/api/types/CourieProofOfDeliveryResponse1.d.mts +11 -0
- package/dist/esm/api/types/CourieProofOfDeliveryResponse1.mjs +4 -0
- package/dist/esm/api/types/CourieStopAttemptResponse1.d.mts +10 -0
- package/dist/esm/api/types/CourieStopAttemptResponse1.mjs +4 -0
- package/dist/esm/api/types/CourieStopResponse1.d.mts +29 -0
- package/dist/esm/api/types/CourieStopResponse1.mjs +4 -0
- package/dist/esm/api/types/CourieStopTypeEnum1.d.mts +8 -0
- package/dist/esm/api/types/CourieStopTypeEnum1.mjs +7 -0
- package/dist/esm/api/types/CxtOrderTypeaheadFieldEnum.d.mts +4 -0
- package/dist/esm/api/types/CxtOrderTypeaheadFieldEnum.mjs +4 -0
- package/dist/esm/api/types/CxtOrderTypeaheadResult.d.mts +8 -0
- package/dist/esm/api/types/CxtOrderTypeaheadResult.mjs +4 -0
- package/dist/esm/api/types/CxtOrderTypeaheadValue.d.mts +7 -0
- package/dist/esm/api/types/CxtOrderTypeaheadValue.mjs +4 -0
- package/dist/esm/api/types/DepartmentTypeaheadFieldEnum.d.mts +8 -0
- package/dist/esm/api/types/DepartmentTypeaheadFieldEnum.mjs +7 -0
- package/dist/esm/api/types/DepartmentTypeaheadResult.d.mts +8 -0
- package/dist/esm/api/types/DepartmentTypeaheadResult.mjs +4 -0
- package/dist/esm/api/types/DepartmentTypeaheadValue.d.mts +7 -0
- package/dist/esm/api/types/DepartmentTypeaheadValue.mjs +4 -0
- package/dist/esm/api/types/{TrackingTypeaheadResult.d.mts → DeviceTypeaheadResult.d.mts} +2 -2
- package/dist/esm/api/types/DeviceTypeaheadResult.mjs +4 -0
- package/dist/esm/api/types/DeviceTypeaheadValue.d.mts +7 -0
- package/dist/esm/api/types/DeviceTypeaheadValue.mjs +4 -0
- package/dist/esm/api/types/DispatchScienceOrderTypeaheadFieldEnum.d.mts +4 -0
- package/dist/esm/api/types/DispatchScienceOrderTypeaheadFieldEnum.mjs +4 -0
- package/dist/esm/api/types/DispatchScienceOrderTypeaheadResult.d.mts +8 -0
- package/dist/esm/api/types/DispatchScienceOrderTypeaheadResult.mjs +4 -0
- package/dist/esm/api/types/DispatchScienceOrderTypeaheadValue.d.mts +7 -0
- package/dist/esm/api/types/DispatchScienceOrderTypeaheadValue.mjs +4 -0
- package/dist/esm/api/types/DriverComplianceDocumentS3ObjectMetadata1.d.mts +2 -0
- package/dist/esm/api/types/DriverTypeaheadFieldEnum.d.mts +8 -0
- package/dist/esm/api/types/DriverTypeaheadFieldEnum.mjs +7 -0
- package/dist/esm/api/types/DriverTypeaheadResult.d.mts +8 -0
- package/dist/esm/api/types/DriverTypeaheadResult.mjs +4 -0
- package/dist/esm/api/types/DriverTypeaheadValue.d.mts +7 -0
- package/dist/esm/api/types/DriverTypeaheadValue.mjs +4 -0
- package/dist/esm/api/types/InvoiceTypeaheadFieldEnum.d.mts +4 -0
- package/dist/esm/api/types/InvoiceTypeaheadFieldEnum.mjs +4 -0
- package/dist/esm/api/types/InvoiceTypeaheadResult.d.mts +8 -0
- package/dist/esm/api/types/InvoiceTypeaheadResult.mjs +4 -0
- package/dist/esm/api/types/InvoiceTypeaheadValue.d.mts +7 -0
- package/dist/esm/api/types/InvoiceTypeaheadValue.mjs +4 -0
- package/dist/esm/api/types/OffChrtOrgDataTypeaheadFieldEnum.d.mts +4 -0
- package/dist/esm/api/types/OffChrtOrgDataTypeaheadFieldEnum.mjs +4 -0
- package/dist/esm/api/types/OffChrtOrgDataTypeaheadResult.d.mts +8 -0
- package/dist/esm/api/types/OffChrtOrgDataTypeaheadResult.mjs +4 -0
- package/dist/esm/api/types/OffChrtOrgDataTypeaheadValue.d.mts +7 -0
- package/dist/esm/api/types/OffChrtOrgDataTypeaheadValue.mjs +4 -0
- package/dist/esm/api/types/OnTime360OrderTypeaheadFieldEnum.d.mts +4 -0
- package/dist/esm/api/types/OnTime360OrderTypeaheadFieldEnum.mjs +4 -0
- package/dist/esm/api/types/OnTime360OrderTypeaheadResult.d.mts +8 -0
- package/dist/esm/api/types/OnTime360OrderTypeaheadResult.mjs +4 -0
- package/dist/esm/api/types/OnTime360OrderTypeaheadValue.d.mts +7 -0
- package/dist/esm/api/types/OnTime360OrderTypeaheadValue.mjs +4 -0
- package/dist/esm/api/types/OperationsTaskListTypeaheadFieldEnum.d.mts +4 -0
- package/dist/esm/api/types/OperationsTaskListTypeaheadFieldEnum.mjs +4 -0
- package/dist/esm/api/types/OperationsTaskListTypeaheadResult.d.mts +8 -0
- package/dist/esm/api/types/OperationsTaskListTypeaheadResult.mjs +4 -0
- package/dist/esm/api/types/OperationsTaskListTypeaheadValue.d.mts +7 -0
- package/dist/esm/api/types/OperationsTaskListTypeaheadValue.mjs +4 -0
- package/dist/esm/api/types/OperationsTaskTypeaheadResult.d.mts +1 -1
- package/dist/esm/api/types/OperationsTaskTypeaheadValue.d.mts +7 -0
- package/dist/esm/api/types/OperationsTaskTypeaheadValue.mjs +4 -0
- package/dist/esm/api/types/OrderInternalMessageS3ObjectMetadata1.d.mts +2 -0
- package/dist/esm/api/types/OrderLabelTypeaheadFieldEnum.d.mts +4 -0
- package/dist/esm/api/types/OrderLabelTypeaheadFieldEnum.mjs +4 -0
- package/dist/esm/api/types/OrderLabelTypeaheadResult.d.mts +8 -0
- package/dist/esm/api/types/OrderLabelTypeaheadResult.mjs +4 -0
- package/dist/esm/api/types/OrderTemplateNewTypeaheadFieldEnum.d.mts +4 -0
- package/dist/esm/api/types/OrderTemplateNewTypeaheadFieldEnum.mjs +4 -0
- package/dist/esm/api/types/OrderTemplateNewTypeaheadResult.d.mts +8 -0
- package/dist/esm/api/types/OrderTemplateNewTypeaheadResult.mjs +4 -0
- package/dist/esm/api/types/OrderTemplateNewTypeaheadValue.d.mts +7 -0
- package/dist/esm/api/types/OrderTemplateNewTypeaheadValue.mjs +4 -0
- package/dist/esm/api/types/OrgComplianceDocumentS3ObjectMetadata1.d.mts +2 -0
- package/dist/esm/api/types/OrgMemberTypeaheadFieldEnum.d.mts +8 -0
- package/dist/esm/api/types/OrgMemberTypeaheadFieldEnum.mjs +7 -0
- package/dist/esm/api/types/OrgMemberTypeaheadResult.d.mts +8 -0
- package/dist/esm/api/types/OrgMemberTypeaheadResult.mjs +4 -0
- package/dist/esm/api/types/OrgMemberTypeaheadValue.d.mts +7 -0
- package/dist/esm/api/types/OrgMemberTypeaheadValue.mjs +4 -0
- package/dist/esm/api/types/OrgShippingIntegrationEnum1.d.mts +2 -1
- package/dist/esm/api/types/OrgShippingIntegrationEnum1.mjs +1 -0
- package/dist/esm/api/types/SessionTypeaheadResult.d.mts +8 -0
- package/dist/esm/api/types/SessionTypeaheadResult.mjs +4 -0
- package/dist/esm/api/types/SessionTypeaheadValue.d.mts +7 -0
- package/dist/esm/api/types/SessionTypeaheadValue.mjs +4 -0
- package/dist/esm/api/types/ShippingIntegrationOrderTypeaheadResult.d.mts +1 -1
- package/dist/esm/api/types/ShippingIntegrationOrderTypeaheadValue.d.mts +7 -0
- package/dist/esm/api/types/ShippingIntegrationOrderTypeaheadValue.mjs +4 -0
- package/dist/esm/api/types/TaskArtifactS3ObjectMetadata1.d.mts +2 -0
- package/dist/esm/api/types/TaskGroupS3ObjectMetadata1.d.mts +2 -0
- package/dist/esm/api/types/TaskGroupTypeaheadResult.d.mts +1 -1
- package/dist/esm/api/types/TaskGroupTypeaheadValue.d.mts +7 -0
- package/dist/esm/api/types/TaskGroupTypeaheadValue.mjs +4 -0
- package/dist/esm/api/types/XceleratorOrderTypeaheadFieldEnum.d.mts +4 -0
- package/dist/esm/api/types/XceleratorOrderTypeaheadFieldEnum.mjs +4 -0
- package/dist/esm/api/types/XceleratorOrderTypeaheadResult.d.mts +8 -0
- package/dist/esm/api/types/XceleratorOrderTypeaheadResult.mjs +4 -0
- package/dist/esm/api/types/XceleratorOrderTypeaheadValue.d.mts +7 -0
- package/dist/esm/api/types/XceleratorOrderTypeaheadValue.mjs +4 -0
- package/dist/esm/api/types/index.d.mts +74 -1
- package/dist/esm/api/types/index.mjs +74 -1
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +1727 -102
- /package/dist/cjs/api/{types/TrackingTypeaheadResult.js → resources/billingNew/resources/chrtGroundProviderRates/client/requests/ChrtGroundProviderRatesTypeaheadV1Request.js} +0 -0
- /package/dist/esm/api/{types/TrackingTypeaheadResult.mjs → resources/billingNew/resources/chrtGroundProviderRates/client/requests/ChrtGroundProviderRatesTypeaheadV1Request.mjs} +0 -0
package/dist/cjs/api/resources/shippingIntegrations/resources/cxt/resources/orders/client/Client.js
CHANGED
|
@@ -189,6 +189,7 @@ class Orders {
|
|
|
189
189
|
* limit: 1,
|
|
190
190
|
* page: 1,
|
|
191
191
|
* search: "search",
|
|
192
|
+
* filter_cxt_order_ids: ["filter_cxt_order_ids"],
|
|
192
193
|
* filter_provider_org_id: ["filter_provider_org_id"],
|
|
193
194
|
* filter_integration_order_id: "filter_integration_order_id",
|
|
194
195
|
* filter_mirrored_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
@@ -205,7 +206,7 @@ class Orders {
|
|
|
205
206
|
__listV1() {
|
|
206
207
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
207
208
|
var _a, _b, _c, _d, _e, _f;
|
|
208
|
-
const { sort_by: sortBy, sort_order: sortOrder, limit, page, search, filter_provider_org_id: filterProviderOrgId, filter_integration_order_id: filterIntegrationOrderId, filter_mirrored_at_timestamp_gte: filterMirroredAtTimestampGte, filter_mirrored_at_timestamp_lte: filterMirroredAtTimestampLte, filter_created_at_timestamp_gte: filterCreatedAtTimestampGte, filter_created_at_timestamp_lte: filterCreatedAtTimestampLte, filter_updated_at_timestamp_gte: filterUpdatedAtTimestampGte, filter_updated_at_timestamp_lte: filterUpdatedAtTimestampLte, } = request;
|
|
209
|
+
const { sort_by: sortBy, sort_order: sortOrder, limit, page, search, filter_cxt_order_ids: filterCxtOrderIds, filter_provider_org_id: filterProviderOrgId, filter_integration_order_id: filterIntegrationOrderId, filter_mirrored_at_timestamp_gte: filterMirroredAtTimestampGte, filter_mirrored_at_timestamp_lte: filterMirroredAtTimestampLte, filter_created_at_timestamp_gte: filterCreatedAtTimestampGte, filter_created_at_timestamp_lte: filterCreatedAtTimestampLte, filter_updated_at_timestamp_gte: filterUpdatedAtTimestampGte, filter_updated_at_timestamp_lte: filterUpdatedAtTimestampLte, } = request;
|
|
209
210
|
const _queryParams = {};
|
|
210
211
|
if (sortBy !== undefined) {
|
|
211
212
|
_queryParams["sort_by"] = sortBy;
|
|
@@ -222,6 +223,14 @@ class Orders {
|
|
|
222
223
|
if (search !== undefined) {
|
|
223
224
|
_queryParams["search"] = search;
|
|
224
225
|
}
|
|
226
|
+
if (filterCxtOrderIds !== undefined) {
|
|
227
|
+
if (Array.isArray(filterCxtOrderIds)) {
|
|
228
|
+
_queryParams["filter_cxt_order_ids"] = filterCxtOrderIds.map((item) => item);
|
|
229
|
+
}
|
|
230
|
+
else {
|
|
231
|
+
_queryParams["filter_cxt_order_ids"] = filterCxtOrderIds;
|
|
232
|
+
}
|
|
233
|
+
}
|
|
225
234
|
if (filterProviderOrgId !== undefined) {
|
|
226
235
|
if (Array.isArray(filterProviderOrgId)) {
|
|
227
236
|
_queryParams["filter_provider_org_id"] = filterProviderOrgId.map((item) => item);
|
|
@@ -358,6 +367,74 @@ class Orders {
|
|
|
358
367
|
}
|
|
359
368
|
});
|
|
360
369
|
}
|
|
370
|
+
/**
|
|
371
|
+
* Returns matching integration_order_id values and their IDs within the caller's organization. | () -> (list[CxtOrderTypeaheadResult])
|
|
372
|
+
*
|
|
373
|
+
* @param {Chrt.shippingIntegrations.cxt.OrdersTypeaheadV1Request} request
|
|
374
|
+
* @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
|
|
375
|
+
*
|
|
376
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
377
|
+
*
|
|
378
|
+
* @example
|
|
379
|
+
* await client.shippingIntegrations.cxt.orders.typeaheadV1({
|
|
380
|
+
* query: "query",
|
|
381
|
+
* limit: 1
|
|
382
|
+
* })
|
|
383
|
+
*/
|
|
384
|
+
typeaheadV1(request, requestOptions) {
|
|
385
|
+
return core.HttpResponsePromise.fromPromise(this.__typeaheadV1(request, requestOptions));
|
|
386
|
+
}
|
|
387
|
+
__typeaheadV1(request, requestOptions) {
|
|
388
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
389
|
+
var _a, _b, _c, _d, _e;
|
|
390
|
+
const { query, limit } = request;
|
|
391
|
+
const _queryParams = {};
|
|
392
|
+
_queryParams["query"] = query;
|
|
393
|
+
if (limit !== undefined) {
|
|
394
|
+
_queryParams["limit"] = (_a = limit === null || limit === void 0 ? void 0 : limit.toString()) !== null && _a !== void 0 ? _a : null;
|
|
395
|
+
}
|
|
396
|
+
let _headers = (0, headers_js_1.mergeHeaders)((_b = this._options) === null || _b === void 0 ? void 0 : _b.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
397
|
+
const _response = yield ((_c = this._options.fetcher) !== null && _c !== void 0 ? _c : core.fetcher)({
|
|
398
|
+
url: core.url.join((_e = (_d = (yield core.Supplier.get(this._options.baseUrl))) !== null && _d !== void 0 ? _d : (yield core.Supplier.get(this._options.environment))) !== null && _e !== void 0 ? _e : environments.ChrtEnvironment.Local, "shipping_integrations/cxt/orders/typeahead/v1"),
|
|
399
|
+
method: "GET",
|
|
400
|
+
headers: _headers,
|
|
401
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
402
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
403
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
404
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
405
|
+
});
|
|
406
|
+
if (_response.ok) {
|
|
407
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
408
|
+
}
|
|
409
|
+
if (_response.error.reason === "status-code") {
|
|
410
|
+
switch (_response.error.statusCode) {
|
|
411
|
+
case 422:
|
|
412
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
413
|
+
default:
|
|
414
|
+
throw new errors.ChrtError({
|
|
415
|
+
statusCode: _response.error.statusCode,
|
|
416
|
+
body: _response.error.body,
|
|
417
|
+
rawResponse: _response.rawResponse,
|
|
418
|
+
});
|
|
419
|
+
}
|
|
420
|
+
}
|
|
421
|
+
switch (_response.error.reason) {
|
|
422
|
+
case "non-json":
|
|
423
|
+
throw new errors.ChrtError({
|
|
424
|
+
statusCode: _response.error.statusCode,
|
|
425
|
+
body: _response.error.rawBody,
|
|
426
|
+
rawResponse: _response.rawResponse,
|
|
427
|
+
});
|
|
428
|
+
case "timeout":
|
|
429
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping_integrations/cxt/orders/typeahead/v1.");
|
|
430
|
+
case "unknown":
|
|
431
|
+
throw new errors.ChrtError({
|
|
432
|
+
message: _response.error.errorMessage,
|
|
433
|
+
rawResponse: _response.rawResponse,
|
|
434
|
+
});
|
|
435
|
+
}
|
|
436
|
+
});
|
|
437
|
+
}
|
|
361
438
|
_getAuthorizationHeader() {
|
|
362
439
|
return __awaiter(this, void 0, void 0, function* () {
|
|
363
440
|
const bearer = yield core.Supplier.get(this._options.token);
|
|
@@ -10,6 +10,7 @@ import * as Chrt from "../../../../../../../../index.js";
|
|
|
10
10
|
* limit: 1,
|
|
11
11
|
* page: 1,
|
|
12
12
|
* search: "search",
|
|
13
|
+
* filter_cxt_order_ids: ["filter_cxt_order_ids"],
|
|
13
14
|
* filter_provider_org_id: ["filter_provider_org_id"],
|
|
14
15
|
* filter_integration_order_id: "filter_integration_order_id",
|
|
15
16
|
* filter_mirrored_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
@@ -31,6 +32,8 @@ export interface OrdersListV1Request {
|
|
|
31
32
|
page?: number | null;
|
|
32
33
|
/** Search CXT order IDs. */
|
|
33
34
|
search?: string | null;
|
|
35
|
+
/** Filter by cxt order IDs */
|
|
36
|
+
filter_cxt_order_ids?: (string | null) | (string | null)[];
|
|
34
37
|
/** Filter by provider org ID(s) */
|
|
35
38
|
filter_provider_org_id?: (string | null) | (string | null)[];
|
|
36
39
|
/** Filter by CXT's exact order ID */
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* {
|
|
7
|
+
* query: "query",
|
|
8
|
+
* limit: 1
|
|
9
|
+
* }
|
|
10
|
+
*/
|
|
11
|
+
export interface OrdersTypeaheadV1Request {
|
|
12
|
+
/** Typeahead search query */
|
|
13
|
+
query: string;
|
|
14
|
+
/** Max results per field */
|
|
15
|
+
limit?: number | null;
|
|
16
|
+
}
|
|
@@ -72,6 +72,7 @@ export declare class Orders {
|
|
|
72
72
|
* page: 1,
|
|
73
73
|
* page_size: 1,
|
|
74
74
|
* search: "search",
|
|
75
|
+
* filter_dispatch_science_order_ids: ["filter_dispatch_science_order_ids"],
|
|
75
76
|
* filter_provider_org_id: ["filter_provider_org_id"],
|
|
76
77
|
* filter_integration_order_id: "filter_integration_order_id",
|
|
77
78
|
* filter_provider_status: 1,
|
|
@@ -101,5 +102,21 @@ export declare class Orders {
|
|
|
101
102
|
*/
|
|
102
103
|
syncOneV1(request: Chrt.shippingIntegrations.dispatchScience.DispatchScienceOrderSyncOneReq, requestOptions?: Orders.RequestOptions): core.HttpResponsePromise<Chrt.DispatchScienceOrder1>;
|
|
103
104
|
private __syncOneV1;
|
|
105
|
+
/**
|
|
106
|
+
* Returns matching integration_order_id values and their IDs within the caller's organization. | () -> (list[DispatchScienceOrderTypeaheadResult])
|
|
107
|
+
*
|
|
108
|
+
* @param {Chrt.shippingIntegrations.dispatchScience.OrdersTypeaheadV1Request} request
|
|
109
|
+
* @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
|
|
110
|
+
*
|
|
111
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
112
|
+
*
|
|
113
|
+
* @example
|
|
114
|
+
* await client.shippingIntegrations.dispatchScience.orders.typeaheadV1({
|
|
115
|
+
* query: "query",
|
|
116
|
+
* limit: 1
|
|
117
|
+
* })
|
|
118
|
+
*/
|
|
119
|
+
typeaheadV1(request: Chrt.shippingIntegrations.dispatchScience.OrdersTypeaheadV1Request, requestOptions?: Orders.RequestOptions): core.HttpResponsePromise<Chrt.DispatchScienceOrderTypeaheadResult[]>;
|
|
120
|
+
private __typeaheadV1;
|
|
104
121
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
105
122
|
}
|
|
@@ -189,6 +189,7 @@ class Orders {
|
|
|
189
189
|
* page: 1,
|
|
190
190
|
* page_size: 1,
|
|
191
191
|
* search: "search",
|
|
192
|
+
* filter_dispatch_science_order_ids: ["filter_dispatch_science_order_ids"],
|
|
192
193
|
* filter_provider_org_id: ["filter_provider_org_id"],
|
|
193
194
|
* filter_integration_order_id: "filter_integration_order_id",
|
|
194
195
|
* filter_provider_status: 1,
|
|
@@ -206,7 +207,7 @@ class Orders {
|
|
|
206
207
|
__listV1() {
|
|
207
208
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
208
209
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
209
|
-
const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_provider_org_id: filterProviderOrgId, filter_integration_order_id: filterIntegrationOrderId, filter_provider_status: filterProviderStatus, filter_mirrored_at_timestamp_gte: filterMirroredAtTimestampGte, filter_mirrored_at_timestamp_lte: filterMirroredAtTimestampLte, filter_created_at_timestamp_gte: filterCreatedAtTimestampGte, filter_created_at_timestamp_lte: filterCreatedAtTimestampLte, filter_updated_at_timestamp_gte: filterUpdatedAtTimestampGte, filter_updated_at_timestamp_lte: filterUpdatedAtTimestampLte, } = request;
|
|
210
|
+
const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_dispatch_science_order_ids: filterDispatchScienceOrderIds, filter_provider_org_id: filterProviderOrgId, filter_integration_order_id: filterIntegrationOrderId, filter_provider_status: filterProviderStatus, filter_mirrored_at_timestamp_gte: filterMirroredAtTimestampGte, filter_mirrored_at_timestamp_lte: filterMirroredAtTimestampLte, filter_created_at_timestamp_gte: filterCreatedAtTimestampGte, filter_created_at_timestamp_lte: filterCreatedAtTimestampLte, filter_updated_at_timestamp_gte: filterUpdatedAtTimestampGte, filter_updated_at_timestamp_lte: filterUpdatedAtTimestampLte, } = request;
|
|
210
211
|
const _queryParams = {};
|
|
211
212
|
if (sortBy !== undefined) {
|
|
212
213
|
_queryParams["sort_by"] = sortBy;
|
|
@@ -223,6 +224,14 @@ class Orders {
|
|
|
223
224
|
if (search !== undefined) {
|
|
224
225
|
_queryParams["search"] = search;
|
|
225
226
|
}
|
|
227
|
+
if (filterDispatchScienceOrderIds !== undefined) {
|
|
228
|
+
if (Array.isArray(filterDispatchScienceOrderIds)) {
|
|
229
|
+
_queryParams["filter_dispatch_science_order_ids"] = filterDispatchScienceOrderIds.map((item) => item);
|
|
230
|
+
}
|
|
231
|
+
else {
|
|
232
|
+
_queryParams["filter_dispatch_science_order_ids"] = filterDispatchScienceOrderIds;
|
|
233
|
+
}
|
|
234
|
+
}
|
|
226
235
|
if (filterProviderOrgId !== undefined) {
|
|
227
236
|
if (Array.isArray(filterProviderOrgId)) {
|
|
228
237
|
_queryParams["filter_provider_org_id"] = filterProviderOrgId.map((item) => item);
|
|
@@ -362,6 +371,77 @@ class Orders {
|
|
|
362
371
|
}
|
|
363
372
|
});
|
|
364
373
|
}
|
|
374
|
+
/**
|
|
375
|
+
* Returns matching integration_order_id values and their IDs within the caller's organization. | () -> (list[DispatchScienceOrderTypeaheadResult])
|
|
376
|
+
*
|
|
377
|
+
* @param {Chrt.shippingIntegrations.dispatchScience.OrdersTypeaheadV1Request} request
|
|
378
|
+
* @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
|
|
379
|
+
*
|
|
380
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
381
|
+
*
|
|
382
|
+
* @example
|
|
383
|
+
* await client.shippingIntegrations.dispatchScience.orders.typeaheadV1({
|
|
384
|
+
* query: "query",
|
|
385
|
+
* limit: 1
|
|
386
|
+
* })
|
|
387
|
+
*/
|
|
388
|
+
typeaheadV1(request, requestOptions) {
|
|
389
|
+
return core.HttpResponsePromise.fromPromise(this.__typeaheadV1(request, requestOptions));
|
|
390
|
+
}
|
|
391
|
+
__typeaheadV1(request, requestOptions) {
|
|
392
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
393
|
+
var _a, _b, _c, _d, _e;
|
|
394
|
+
const { query, limit } = request;
|
|
395
|
+
const _queryParams = {};
|
|
396
|
+
_queryParams["query"] = query;
|
|
397
|
+
if (limit !== undefined) {
|
|
398
|
+
_queryParams["limit"] = (_a = limit === null || limit === void 0 ? void 0 : limit.toString()) !== null && _a !== void 0 ? _a : null;
|
|
399
|
+
}
|
|
400
|
+
let _headers = (0, headers_js_1.mergeHeaders)((_b = this._options) === null || _b === void 0 ? void 0 : _b.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
401
|
+
const _response = yield ((_c = this._options.fetcher) !== null && _c !== void 0 ? _c : core.fetcher)({
|
|
402
|
+
url: core.url.join((_e = (_d = (yield core.Supplier.get(this._options.baseUrl))) !== null && _d !== void 0 ? _d : (yield core.Supplier.get(this._options.environment))) !== null && _e !== void 0 ? _e : environments.ChrtEnvironment.Local, "shipping_integrations/dispatch_science/orders/typeahead/v1"),
|
|
403
|
+
method: "GET",
|
|
404
|
+
headers: _headers,
|
|
405
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
406
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
407
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
408
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
409
|
+
});
|
|
410
|
+
if (_response.ok) {
|
|
411
|
+
return {
|
|
412
|
+
data: _response.body,
|
|
413
|
+
rawResponse: _response.rawResponse,
|
|
414
|
+
};
|
|
415
|
+
}
|
|
416
|
+
if (_response.error.reason === "status-code") {
|
|
417
|
+
switch (_response.error.statusCode) {
|
|
418
|
+
case 422:
|
|
419
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
420
|
+
default:
|
|
421
|
+
throw new errors.ChrtError({
|
|
422
|
+
statusCode: _response.error.statusCode,
|
|
423
|
+
body: _response.error.body,
|
|
424
|
+
rawResponse: _response.rawResponse,
|
|
425
|
+
});
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
switch (_response.error.reason) {
|
|
429
|
+
case "non-json":
|
|
430
|
+
throw new errors.ChrtError({
|
|
431
|
+
statusCode: _response.error.statusCode,
|
|
432
|
+
body: _response.error.rawBody,
|
|
433
|
+
rawResponse: _response.rawResponse,
|
|
434
|
+
});
|
|
435
|
+
case "timeout":
|
|
436
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping_integrations/dispatch_science/orders/typeahead/v1.");
|
|
437
|
+
case "unknown":
|
|
438
|
+
throw new errors.ChrtError({
|
|
439
|
+
message: _response.error.errorMessage,
|
|
440
|
+
rawResponse: _response.rawResponse,
|
|
441
|
+
});
|
|
442
|
+
}
|
|
443
|
+
});
|
|
444
|
+
}
|
|
365
445
|
_getAuthorizationHeader() {
|
|
366
446
|
return __awaiter(this, void 0, void 0, function* () {
|
|
367
447
|
const bearer = yield core.Supplier.get(this._options.token);
|
|
@@ -10,6 +10,7 @@ import * as Chrt from "../../../../../../../../index.js";
|
|
|
10
10
|
* page: 1,
|
|
11
11
|
* page_size: 1,
|
|
12
12
|
* search: "search",
|
|
13
|
+
* filter_dispatch_science_order_ids: ["filter_dispatch_science_order_ids"],
|
|
13
14
|
* filter_provider_org_id: ["filter_provider_org_id"],
|
|
14
15
|
* filter_integration_order_id: "filter_integration_order_id",
|
|
15
16
|
* filter_provider_status: 1,
|
|
@@ -30,6 +31,8 @@ export interface OrdersListV1Request {
|
|
|
30
31
|
page_size?: number | null;
|
|
31
32
|
/** Search DispatchScience order IDs. */
|
|
32
33
|
search?: string | null;
|
|
34
|
+
/** Filter by dispatch science order IDs */
|
|
35
|
+
filter_dispatch_science_order_ids?: (string | null) | (string | null)[];
|
|
33
36
|
/** Filter by provider org ID(s) */
|
|
34
37
|
filter_provider_org_id?: (string | null) | (string | null)[];
|
|
35
38
|
/** Filter by DispatchScience's exact order ID */
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* {
|
|
7
|
+
* query: "query",
|
|
8
|
+
* limit: 1
|
|
9
|
+
* }
|
|
10
|
+
*/
|
|
11
|
+
export interface OrdersTypeaheadV1Request {
|
|
12
|
+
/** Typeahead search query */
|
|
13
|
+
query: string;
|
|
14
|
+
/** Max results per field */
|
|
15
|
+
limit?: number | null;
|
|
16
|
+
}
|
|
@@ -2,6 +2,7 @@ export * as connections from "./connections/index.js";
|
|
|
2
2
|
export * as integrationExecutors from "./integrationExecutors/index.js";
|
|
3
3
|
export * as orders from "./orders/index.js";
|
|
4
4
|
export * as atlas from "./atlas/index.js";
|
|
5
|
+
export * as courie from "./courie/index.js";
|
|
5
6
|
export * as cxt from "./cxt/index.js";
|
|
6
7
|
export * as dispatchScience from "./dispatchScience/index.js";
|
|
7
8
|
export * as ecourier from "./ecourier/index.js";
|
|
@@ -36,11 +36,12 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.xcelerator = exports.ontime360 = exports.ecourier = exports.dispatchScience = exports.cxt = exports.atlas = exports.orders = exports.integrationExecutors = exports.connections = void 0;
|
|
39
|
+
exports.xcelerator = exports.ontime360 = exports.ecourier = exports.dispatchScience = exports.cxt = exports.courie = exports.atlas = exports.orders = exports.integrationExecutors = exports.connections = void 0;
|
|
40
40
|
exports.connections = __importStar(require("./connections/index.js"));
|
|
41
41
|
exports.integrationExecutors = __importStar(require("./integrationExecutors/index.js"));
|
|
42
42
|
exports.orders = __importStar(require("./orders/index.js"));
|
|
43
43
|
exports.atlas = __importStar(require("./atlas/index.js"));
|
|
44
|
+
exports.courie = __importStar(require("./courie/index.js"));
|
|
44
45
|
exports.cxt = __importStar(require("./cxt/index.js"));
|
|
45
46
|
exports.dispatchScience = __importStar(require("./dispatchScience/index.js"));
|
|
46
47
|
exports.ecourier = __importStar(require("./ecourier/index.js"));
|
|
@@ -72,6 +72,7 @@ export declare class Orders {
|
|
|
72
72
|
* page: 1,
|
|
73
73
|
* page_size: 1,
|
|
74
74
|
* search: "search",
|
|
75
|
+
* filter_ontime360_order_ids: ["filter_ontime360_order_ids"],
|
|
75
76
|
* filter_provider_org_id: ["filter_provider_org_id"],
|
|
76
77
|
* filter_integration_order_id: "filter_integration_order_id",
|
|
77
78
|
* filter_provider_status_level: 1,
|
|
@@ -101,5 +102,21 @@ export declare class Orders {
|
|
|
101
102
|
*/
|
|
102
103
|
syncOneV1(request: Chrt.shippingIntegrations.ontime360.OnTime360OrderSyncOneReq, requestOptions?: Orders.RequestOptions): core.HttpResponsePromise<Chrt.OnTime360Order1>;
|
|
103
104
|
private __syncOneV1;
|
|
105
|
+
/**
|
|
106
|
+
* Returns matching integration_order_id values and their IDs within the caller's organization. | () -> (list[OnTime360OrderTypeaheadResult])
|
|
107
|
+
*
|
|
108
|
+
* @param {Chrt.shippingIntegrations.ontime360.OrdersTypeaheadV1Request} request
|
|
109
|
+
* @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
|
|
110
|
+
*
|
|
111
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
112
|
+
*
|
|
113
|
+
* @example
|
|
114
|
+
* await client.shippingIntegrations.ontime360.orders.typeaheadV1({
|
|
115
|
+
* query: "query",
|
|
116
|
+
* limit: 1
|
|
117
|
+
* })
|
|
118
|
+
*/
|
|
119
|
+
typeaheadV1(request: Chrt.shippingIntegrations.ontime360.OrdersTypeaheadV1Request, requestOptions?: Orders.RequestOptions): core.HttpResponsePromise<Chrt.OnTime360OrderTypeaheadResult[]>;
|
|
120
|
+
private __typeaheadV1;
|
|
104
121
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
105
122
|
}
|
|
@@ -189,6 +189,7 @@ class Orders {
|
|
|
189
189
|
* page: 1,
|
|
190
190
|
* page_size: 1,
|
|
191
191
|
* search: "search",
|
|
192
|
+
* filter_ontime360_order_ids: ["filter_ontime360_order_ids"],
|
|
192
193
|
* filter_provider_org_id: ["filter_provider_org_id"],
|
|
193
194
|
* filter_integration_order_id: "filter_integration_order_id",
|
|
194
195
|
* filter_provider_status_level: 1,
|
|
@@ -206,7 +207,7 @@ class Orders {
|
|
|
206
207
|
__listV1() {
|
|
207
208
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
208
209
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
209
|
-
const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_provider_org_id: filterProviderOrgId, filter_integration_order_id: filterIntegrationOrderId, filter_provider_status_level: filterProviderStatusLevel, filter_mirrored_at_timestamp_gte: filterMirroredAtTimestampGte, filter_mirrored_at_timestamp_lte: filterMirroredAtTimestampLte, filter_created_at_timestamp_gte: filterCreatedAtTimestampGte, filter_created_at_timestamp_lte: filterCreatedAtTimestampLte, filter_updated_at_timestamp_gte: filterUpdatedAtTimestampGte, filter_updated_at_timestamp_lte: filterUpdatedAtTimestampLte, } = request;
|
|
210
|
+
const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_ontime360_order_ids: filterOntime360OrderIds, filter_provider_org_id: filterProviderOrgId, filter_integration_order_id: filterIntegrationOrderId, filter_provider_status_level: filterProviderStatusLevel, filter_mirrored_at_timestamp_gte: filterMirroredAtTimestampGte, filter_mirrored_at_timestamp_lte: filterMirroredAtTimestampLte, filter_created_at_timestamp_gte: filterCreatedAtTimestampGte, filter_created_at_timestamp_lte: filterCreatedAtTimestampLte, filter_updated_at_timestamp_gte: filterUpdatedAtTimestampGte, filter_updated_at_timestamp_lte: filterUpdatedAtTimestampLte, } = request;
|
|
210
211
|
const _queryParams = {};
|
|
211
212
|
if (sortBy !== undefined) {
|
|
212
213
|
_queryParams["sort_by"] = sortBy;
|
|
@@ -223,6 +224,14 @@ class Orders {
|
|
|
223
224
|
if (search !== undefined) {
|
|
224
225
|
_queryParams["search"] = search;
|
|
225
226
|
}
|
|
227
|
+
if (filterOntime360OrderIds !== undefined) {
|
|
228
|
+
if (Array.isArray(filterOntime360OrderIds)) {
|
|
229
|
+
_queryParams["filter_ontime360_order_ids"] = filterOntime360OrderIds.map((item) => item);
|
|
230
|
+
}
|
|
231
|
+
else {
|
|
232
|
+
_queryParams["filter_ontime360_order_ids"] = filterOntime360OrderIds;
|
|
233
|
+
}
|
|
234
|
+
}
|
|
226
235
|
if (filterProviderOrgId !== undefined) {
|
|
227
236
|
if (Array.isArray(filterProviderOrgId)) {
|
|
228
237
|
_queryParams["filter_provider_org_id"] = filterProviderOrgId.map((item) => item);
|
|
@@ -362,6 +371,74 @@ class Orders {
|
|
|
362
371
|
}
|
|
363
372
|
});
|
|
364
373
|
}
|
|
374
|
+
/**
|
|
375
|
+
* Returns matching integration_order_id values and their IDs within the caller's organization. | () -> (list[OnTime360OrderTypeaheadResult])
|
|
376
|
+
*
|
|
377
|
+
* @param {Chrt.shippingIntegrations.ontime360.OrdersTypeaheadV1Request} request
|
|
378
|
+
* @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
|
|
379
|
+
*
|
|
380
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
381
|
+
*
|
|
382
|
+
* @example
|
|
383
|
+
* await client.shippingIntegrations.ontime360.orders.typeaheadV1({
|
|
384
|
+
* query: "query",
|
|
385
|
+
* limit: 1
|
|
386
|
+
* })
|
|
387
|
+
*/
|
|
388
|
+
typeaheadV1(request, requestOptions) {
|
|
389
|
+
return core.HttpResponsePromise.fromPromise(this.__typeaheadV1(request, requestOptions));
|
|
390
|
+
}
|
|
391
|
+
__typeaheadV1(request, requestOptions) {
|
|
392
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
393
|
+
var _a, _b, _c, _d, _e;
|
|
394
|
+
const { query, limit } = request;
|
|
395
|
+
const _queryParams = {};
|
|
396
|
+
_queryParams["query"] = query;
|
|
397
|
+
if (limit !== undefined) {
|
|
398
|
+
_queryParams["limit"] = (_a = limit === null || limit === void 0 ? void 0 : limit.toString()) !== null && _a !== void 0 ? _a : null;
|
|
399
|
+
}
|
|
400
|
+
let _headers = (0, headers_js_1.mergeHeaders)((_b = this._options) === null || _b === void 0 ? void 0 : _b.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
401
|
+
const _response = yield ((_c = this._options.fetcher) !== null && _c !== void 0 ? _c : core.fetcher)({
|
|
402
|
+
url: core.url.join((_e = (_d = (yield core.Supplier.get(this._options.baseUrl))) !== null && _d !== void 0 ? _d : (yield core.Supplier.get(this._options.environment))) !== null && _e !== void 0 ? _e : environments.ChrtEnvironment.Local, "shipping_integrations/ontime360/orders/typeahead/v1"),
|
|
403
|
+
method: "GET",
|
|
404
|
+
headers: _headers,
|
|
405
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
406
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
407
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
408
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
409
|
+
});
|
|
410
|
+
if (_response.ok) {
|
|
411
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
412
|
+
}
|
|
413
|
+
if (_response.error.reason === "status-code") {
|
|
414
|
+
switch (_response.error.statusCode) {
|
|
415
|
+
case 422:
|
|
416
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
417
|
+
default:
|
|
418
|
+
throw new errors.ChrtError({
|
|
419
|
+
statusCode: _response.error.statusCode,
|
|
420
|
+
body: _response.error.body,
|
|
421
|
+
rawResponse: _response.rawResponse,
|
|
422
|
+
});
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
switch (_response.error.reason) {
|
|
426
|
+
case "non-json":
|
|
427
|
+
throw new errors.ChrtError({
|
|
428
|
+
statusCode: _response.error.statusCode,
|
|
429
|
+
body: _response.error.rawBody,
|
|
430
|
+
rawResponse: _response.rawResponse,
|
|
431
|
+
});
|
|
432
|
+
case "timeout":
|
|
433
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping_integrations/ontime360/orders/typeahead/v1.");
|
|
434
|
+
case "unknown":
|
|
435
|
+
throw new errors.ChrtError({
|
|
436
|
+
message: _response.error.errorMessage,
|
|
437
|
+
rawResponse: _response.rawResponse,
|
|
438
|
+
});
|
|
439
|
+
}
|
|
440
|
+
});
|
|
441
|
+
}
|
|
365
442
|
_getAuthorizationHeader() {
|
|
366
443
|
return __awaiter(this, void 0, void 0, function* () {
|
|
367
444
|
const bearer = yield core.Supplier.get(this._options.token);
|
|
@@ -10,6 +10,7 @@ import * as Chrt from "../../../../../../../../index.js";
|
|
|
10
10
|
* page: 1,
|
|
11
11
|
* page_size: 1,
|
|
12
12
|
* search: "search",
|
|
13
|
+
* filter_ontime360_order_ids: ["filter_ontime360_order_ids"],
|
|
13
14
|
* filter_provider_org_id: ["filter_provider_org_id"],
|
|
14
15
|
* filter_integration_order_id: "filter_integration_order_id",
|
|
15
16
|
* filter_provider_status_level: 1,
|
|
@@ -30,6 +31,8 @@ export interface OrdersListV1Request {
|
|
|
30
31
|
page_size?: number | null;
|
|
31
32
|
/** Search OnTime360 order IDs. */
|
|
32
33
|
search?: string | null;
|
|
34
|
+
/** Filter by ontime360 order IDs */
|
|
35
|
+
filter_ontime360_order_ids?: (string | null) | (string | null)[];
|
|
33
36
|
/** Filter by provider org ID(s) */
|
|
34
37
|
filter_provider_org_id?: (string | null) | (string | null)[];
|
|
35
38
|
/** Filter by OnTime360's exact order GUID */
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* {
|
|
7
|
+
* query: "query",
|
|
8
|
+
* limit: 1
|
|
9
|
+
* }
|
|
10
|
+
*/
|
|
11
|
+
export interface OrdersTypeaheadV1Request {
|
|
12
|
+
/** Typeahead search query */
|
|
13
|
+
query: string;
|
|
14
|
+
/** Max results per field */
|
|
15
|
+
limit?: number | null;
|
|
16
|
+
}
|
|
@@ -58,6 +58,7 @@ export declare class Orders {
|
|
|
58
58
|
* page: 1,
|
|
59
59
|
* page_size: 1,
|
|
60
60
|
* search: "search",
|
|
61
|
+
* filter_shipping_integration_order_ids: ["filter_shipping_integration_order_ids"],
|
|
61
62
|
* filter_shipping_integration: ["xcelerator"],
|
|
62
63
|
* filter_status: ["staged"],
|
|
63
64
|
* filter_integration_order_id: "filter_integration_order_id",
|
|
@@ -87,6 +88,7 @@ export declare class Orders {
|
|
|
87
88
|
* page: 1,
|
|
88
89
|
* page_size: 1,
|
|
89
90
|
* search: "search",
|
|
91
|
+
* filter_shipping_integration_order_ids: ["filter_shipping_integration_order_ids"],
|
|
90
92
|
* filter_shipping_integration: ["xcelerator"],
|
|
91
93
|
* filter_provider_org_id: ["filter_provider_org_id"],
|
|
92
94
|
* filter_status: ["staged"],
|
|
@@ -114,6 +116,7 @@ export declare class Orders {
|
|
|
114
116
|
*
|
|
115
117
|
* @example
|
|
116
118
|
* await client.shippingIntegrations.orders.statusSummaryV1({
|
|
119
|
+
* filter_shipping_integration_order_ids: ["filter_shipping_integration_order_ids"],
|
|
117
120
|
* filter_shipping_integration: ["xcelerator"],
|
|
118
121
|
* filter_provider_org_id: ["filter_provider_org_id"],
|
|
119
122
|
* filter_status: ["staged"],
|