@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/esm/api/resources/billingNew/resources/chrtGroundProviderRates/client/Client.mjs
CHANGED
|
@@ -218,6 +218,7 @@ export class ChrtGroundProviderRates {
|
|
|
218
218
|
* sort_order: "asc",
|
|
219
219
|
* page: 1,
|
|
220
220
|
* page_size: 1,
|
|
221
|
+
* filter_chrt_ground_provider_rates_ids: ["filter_chrt_ground_provider_rates_ids"],
|
|
221
222
|
* filter_service_line: ["on_demand"],
|
|
222
223
|
* filter_invoice_types: ["accounts_receivable"],
|
|
223
224
|
* filter_currency_codes: ["USD"],
|
|
@@ -239,7 +240,7 @@ export class ChrtGroundProviderRates {
|
|
|
239
240
|
__listV1() {
|
|
240
241
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
241
242
|
var _a, _b, _c, _d, _e, _f;
|
|
242
|
-
const { search, sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, filter_service_line: filterServiceLine, filter_invoice_types: filterInvoiceTypes, filter_currency_codes: filterCurrencyCodes, filter_counterparty_org_id: filterCounterpartyOrgId, filter_counterparty_off_chrt_org_data_id: filterCounterpartyOffChrtOrgDataId, filter_shipper_account_id: filterShipperAccountId, filter_counterparty_driver_id: filterCounterpartyDriverId, filter_cargo_types: filterCargoTypes, filter_vehicle_types: filterVehicleTypes, 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;
|
|
243
|
+
const { search, sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, filter_chrt_ground_provider_rates_ids: filterChrtGroundProviderRatesIds, filter_service_line: filterServiceLine, filter_invoice_types: filterInvoiceTypes, filter_currency_codes: filterCurrencyCodes, filter_counterparty_org_id: filterCounterpartyOrgId, filter_counterparty_off_chrt_org_data_id: filterCounterpartyOffChrtOrgDataId, filter_shipper_account_id: filterShipperAccountId, filter_counterparty_driver_id: filterCounterpartyDriverId, filter_cargo_types: filterCargoTypes, filter_vehicle_types: filterVehicleTypes, 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;
|
|
243
244
|
const _queryParams = {};
|
|
244
245
|
if (search !== undefined) {
|
|
245
246
|
_queryParams["search"] = search;
|
|
@@ -256,6 +257,14 @@ export class ChrtGroundProviderRates {
|
|
|
256
257
|
if (pageSize !== undefined) {
|
|
257
258
|
_queryParams["page_size"] = (_b = pageSize === null || pageSize === void 0 ? void 0 : pageSize.toString()) !== null && _b !== void 0 ? _b : null;
|
|
258
259
|
}
|
|
260
|
+
if (filterChrtGroundProviderRatesIds !== undefined) {
|
|
261
|
+
if (Array.isArray(filterChrtGroundProviderRatesIds)) {
|
|
262
|
+
_queryParams["filter_chrt_ground_provider_rates_ids"] = filterChrtGroundProviderRatesIds.map((item) => item);
|
|
263
|
+
}
|
|
264
|
+
else {
|
|
265
|
+
_queryParams["filter_chrt_ground_provider_rates_ids"] = filterChrtGroundProviderRatesIds;
|
|
266
|
+
}
|
|
267
|
+
}
|
|
259
268
|
if (filterServiceLine !== undefined) {
|
|
260
269
|
if (Array.isArray(filterServiceLine)) {
|
|
261
270
|
_queryParams["filter_service_line"] = filterServiceLine.map((item) => item);
|
|
@@ -429,6 +438,77 @@ export class ChrtGroundProviderRates {
|
|
|
429
438
|
}
|
|
430
439
|
});
|
|
431
440
|
}
|
|
441
|
+
/**
|
|
442
|
+
* Returns matching name values and their IDs within the caller's organization. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (list[ChrtGroundProviderRatesTypeaheadResult])
|
|
443
|
+
*
|
|
444
|
+
* @param {Chrt.billingNew.ChrtGroundProviderRatesTypeaheadV1Request} request
|
|
445
|
+
* @param {ChrtGroundProviderRates.RequestOptions} requestOptions - Request-specific configuration.
|
|
446
|
+
*
|
|
447
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
448
|
+
*
|
|
449
|
+
* @example
|
|
450
|
+
* await client.billingNew.chrtGroundProviderRates.typeaheadV1({
|
|
451
|
+
* query: "query",
|
|
452
|
+
* limit: 1
|
|
453
|
+
* })
|
|
454
|
+
*/
|
|
455
|
+
typeaheadV1(request, requestOptions) {
|
|
456
|
+
return core.HttpResponsePromise.fromPromise(this.__typeaheadV1(request, requestOptions));
|
|
457
|
+
}
|
|
458
|
+
__typeaheadV1(request, requestOptions) {
|
|
459
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
460
|
+
var _a, _b, _c, _d, _e;
|
|
461
|
+
const { query, limit } = request;
|
|
462
|
+
const _queryParams = {};
|
|
463
|
+
_queryParams["query"] = query;
|
|
464
|
+
if (limit !== undefined) {
|
|
465
|
+
_queryParams["limit"] = (_a = limit === null || limit === void 0 ? void 0 : limit.toString()) !== null && _a !== void 0 ? _a : null;
|
|
466
|
+
}
|
|
467
|
+
let _headers = mergeHeaders((_b = this._options) === null || _b === void 0 ? void 0 : _b.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
468
|
+
const _response = yield ((_c = this._options.fetcher) !== null && _c !== void 0 ? _c : core.fetcher)({
|
|
469
|
+
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, "billing_new/chrt_ground_provider_rates/typeahead/v1"),
|
|
470
|
+
method: "GET",
|
|
471
|
+
headers: _headers,
|
|
472
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
473
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
474
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
475
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
476
|
+
});
|
|
477
|
+
if (_response.ok) {
|
|
478
|
+
return {
|
|
479
|
+
data: _response.body,
|
|
480
|
+
rawResponse: _response.rawResponse,
|
|
481
|
+
};
|
|
482
|
+
}
|
|
483
|
+
if (_response.error.reason === "status-code") {
|
|
484
|
+
switch (_response.error.statusCode) {
|
|
485
|
+
case 422:
|
|
486
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
487
|
+
default:
|
|
488
|
+
throw new errors.ChrtError({
|
|
489
|
+
statusCode: _response.error.statusCode,
|
|
490
|
+
body: _response.error.body,
|
|
491
|
+
rawResponse: _response.rawResponse,
|
|
492
|
+
});
|
|
493
|
+
}
|
|
494
|
+
}
|
|
495
|
+
switch (_response.error.reason) {
|
|
496
|
+
case "non-json":
|
|
497
|
+
throw new errors.ChrtError({
|
|
498
|
+
statusCode: _response.error.statusCode,
|
|
499
|
+
body: _response.error.rawBody,
|
|
500
|
+
rawResponse: _response.rawResponse,
|
|
501
|
+
});
|
|
502
|
+
case "timeout":
|
|
503
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /billing_new/chrt_ground_provider_rates/typeahead/v1.");
|
|
504
|
+
case "unknown":
|
|
505
|
+
throw new errors.ChrtError({
|
|
506
|
+
message: _response.error.errorMessage,
|
|
507
|
+
rawResponse: _response.rawResponse,
|
|
508
|
+
});
|
|
509
|
+
}
|
|
510
|
+
});
|
|
511
|
+
}
|
|
432
512
|
/**
|
|
433
513
|
* Updates owner-scoped ground-provider rates and advances the server-managed update timestamp. | authz: allowed_org_types=[provider], min_org_role=operator | (ChrtGroundProviderRatesClientUpdate1) -> (bool)
|
|
434
514
|
*
|
|
@@ -10,6 +10,7 @@ import * as Chrt from "../../../../../../index.mjs";
|
|
|
10
10
|
* sort_order: "asc",
|
|
11
11
|
* page: 1,
|
|
12
12
|
* page_size: 1,
|
|
13
|
+
* filter_chrt_ground_provider_rates_ids: ["filter_chrt_ground_provider_rates_ids"],
|
|
13
14
|
* filter_service_line: ["on_demand"],
|
|
14
15
|
* filter_invoice_types: ["accounts_receivable"],
|
|
15
16
|
* filter_currency_codes: ["USD"],
|
|
@@ -34,6 +35,8 @@ export interface ChrtGroundProviderRatesListV1Request {
|
|
|
34
35
|
sort_order?: Chrt.SortOrderEnum | null;
|
|
35
36
|
page?: number | null;
|
|
36
37
|
page_size?: number | null;
|
|
38
|
+
/** Filter by CHRT ground provider rate IDs */
|
|
39
|
+
filter_chrt_ground_provider_rates_ids?: (string | null) | (string | null)[];
|
|
37
40
|
/** Filter by one or more service lines. */
|
|
38
41
|
filter_service_line?: (Chrt.ServiceLineEnum | null) | (Chrt.ServiceLineEnum | null)[];
|
|
39
42
|
/** Filter by one or more invoice types. */
|
|
@@ -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 ChrtGroundProviderRatesTypeaheadV1Request {
|
|
12
|
+
/** Typeahead search query */
|
|
13
|
+
query: string;
|
|
14
|
+
/** Max results per field */
|
|
15
|
+
limit?: number | null;
|
|
16
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { type ChrtGroundProviderRatesClientCreate1 } from "./ChrtGroundProviderRatesClientCreate1.mjs";
|
|
2
2
|
export { type ChrtGroundProviderRatesListV1Request } from "./ChrtGroundProviderRatesListV1Request.mjs";
|
|
3
3
|
export { type ResolveChrtGroundProviderRatesReq } from "./ResolveChrtGroundProviderRatesReq.mjs";
|
|
4
|
+
export { type ChrtGroundProviderRatesTypeaheadV1Request } from "./ChrtGroundProviderRatesTypeaheadV1Request.mjs";
|
|
4
5
|
export { type ChrtGroundProviderRatesClientUpdate1 } from "./ChrtGroundProviderRatesClientUpdate1.mjs";
|
|
@@ -151,6 +151,7 @@ export declare class Invoices {
|
|
|
151
151
|
* sort_order: "asc",
|
|
152
152
|
* page: 1,
|
|
153
153
|
* page_size: 1,
|
|
154
|
+
* filter_invoice_ids: ["filter_invoice_ids"],
|
|
154
155
|
* filter_statuses: ["draft"],
|
|
155
156
|
* filter_invoice_types: ["accounts_receivable"],
|
|
156
157
|
* filter_currency_codes: ["USD"],
|
|
@@ -201,6 +202,22 @@ export declare class Invoices {
|
|
|
201
202
|
*/
|
|
202
203
|
previewFromOrdersV1(request: Chrt.InvoiceCreateFromOrdersReq, requestOptions?: Invoices.RequestOptions): core.HttpResponsePromise<Chrt.InvoicePreviewFromOrdersRes>;
|
|
203
204
|
private __previewFromOrdersV1;
|
|
205
|
+
/**
|
|
206
|
+
* Returns matching name values and their IDs within the caller's organization. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (list[InvoiceTypeaheadResult])
|
|
207
|
+
*
|
|
208
|
+
* @param {Chrt.billingNew.InvoicesTypeaheadV1Request} request
|
|
209
|
+
* @param {Invoices.RequestOptions} requestOptions - Request-specific configuration.
|
|
210
|
+
*
|
|
211
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
212
|
+
*
|
|
213
|
+
* @example
|
|
214
|
+
* await client.billingNew.invoices.typeaheadV1({
|
|
215
|
+
* query: "query",
|
|
216
|
+
* limit: 1
|
|
217
|
+
* })
|
|
218
|
+
*/
|
|
219
|
+
typeaheadV1(request: Chrt.billingNew.InvoicesTypeaheadV1Request, requestOptions?: Invoices.RequestOptions): core.HttpResponsePromise<Chrt.InvoiceTypeaheadResult[]>;
|
|
220
|
+
private __typeaheadV1;
|
|
204
221
|
/**
|
|
205
222
|
* Updates the name or description of a draft invoice owned by the caller's organization. | authz: allowed_org_types=[provider], min_org_role=operator | (InvoiceClientUpdate1) -> (bool)
|
|
206
223
|
*
|
|
@@ -474,6 +474,7 @@ export class Invoices {
|
|
|
474
474
|
* sort_order: "asc",
|
|
475
475
|
* page: 1,
|
|
476
476
|
* page_size: 1,
|
|
477
|
+
* filter_invoice_ids: ["filter_invoice_ids"],
|
|
477
478
|
* filter_statuses: ["draft"],
|
|
478
479
|
* filter_invoice_types: ["accounts_receivable"],
|
|
479
480
|
* filter_currency_codes: ["USD"],
|
|
@@ -493,7 +494,7 @@ export class Invoices {
|
|
|
493
494
|
__listV1() {
|
|
494
495
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
495
496
|
var _a, _b, _c, _d, _e, _f;
|
|
496
|
-
const { search, sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, filter_statuses: filterStatuses, filter_invoice_types: filterInvoiceTypes, filter_currency_codes: filterCurrencyCodes, filter_counterparty_org_id: filterCounterpartyOrgId, filter_counterparty_off_chrt_org_data_id: filterCounterpartyOffChrtOrgDataId, filter_counterparty_driver_id: filterCounterpartyDriverId, filter_counterparty_account_id: filterCounterpartyAccountId, filter_created_at_timestamp_gte: filterCreatedAtTimestampGte, filter_created_at_timestamp_lte: filterCreatedAtTimestampLte, filter_last_edited_at_timestamp_gte: filterLastEditedAtTimestampGte, filter_last_edited_at_timestamp_lte: filterLastEditedAtTimestampLte, } = request;
|
|
497
|
+
const { search, sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, filter_invoice_ids: filterInvoiceIds, filter_statuses: filterStatuses, filter_invoice_types: filterInvoiceTypes, filter_currency_codes: filterCurrencyCodes, filter_counterparty_org_id: filterCounterpartyOrgId, filter_counterparty_off_chrt_org_data_id: filterCounterpartyOffChrtOrgDataId, filter_counterparty_driver_id: filterCounterpartyDriverId, filter_counterparty_account_id: filterCounterpartyAccountId, filter_created_at_timestamp_gte: filterCreatedAtTimestampGte, filter_created_at_timestamp_lte: filterCreatedAtTimestampLte, filter_last_edited_at_timestamp_gte: filterLastEditedAtTimestampGte, filter_last_edited_at_timestamp_lte: filterLastEditedAtTimestampLte, } = request;
|
|
497
498
|
const _queryParams = {};
|
|
498
499
|
if (search !== undefined) {
|
|
499
500
|
_queryParams["search"] = search;
|
|
@@ -510,6 +511,14 @@ export class Invoices {
|
|
|
510
511
|
if (pageSize !== undefined) {
|
|
511
512
|
_queryParams["page_size"] = (_b = pageSize === null || pageSize === void 0 ? void 0 : pageSize.toString()) !== null && _b !== void 0 ? _b : null;
|
|
512
513
|
}
|
|
514
|
+
if (filterInvoiceIds !== undefined) {
|
|
515
|
+
if (Array.isArray(filterInvoiceIds)) {
|
|
516
|
+
_queryParams["filter_invoice_ids"] = filterInvoiceIds.map((item) => item);
|
|
517
|
+
}
|
|
518
|
+
else {
|
|
519
|
+
_queryParams["filter_invoice_ids"] = filterInvoiceIds;
|
|
520
|
+
}
|
|
521
|
+
}
|
|
513
522
|
if (filterStatuses !== undefined) {
|
|
514
523
|
if (Array.isArray(filterStatuses)) {
|
|
515
524
|
_queryParams["filter_statuses"] = filterStatuses.map((item) => item);
|
|
@@ -733,6 +742,74 @@ export class Invoices {
|
|
|
733
742
|
}
|
|
734
743
|
});
|
|
735
744
|
}
|
|
745
|
+
/**
|
|
746
|
+
* Returns matching name values and their IDs within the caller's organization. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (list[InvoiceTypeaheadResult])
|
|
747
|
+
*
|
|
748
|
+
* @param {Chrt.billingNew.InvoicesTypeaheadV1Request} request
|
|
749
|
+
* @param {Invoices.RequestOptions} requestOptions - Request-specific configuration.
|
|
750
|
+
*
|
|
751
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
752
|
+
*
|
|
753
|
+
* @example
|
|
754
|
+
* await client.billingNew.invoices.typeaheadV1({
|
|
755
|
+
* query: "query",
|
|
756
|
+
* limit: 1
|
|
757
|
+
* })
|
|
758
|
+
*/
|
|
759
|
+
typeaheadV1(request, requestOptions) {
|
|
760
|
+
return core.HttpResponsePromise.fromPromise(this.__typeaheadV1(request, requestOptions));
|
|
761
|
+
}
|
|
762
|
+
__typeaheadV1(request, requestOptions) {
|
|
763
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
764
|
+
var _a, _b, _c, _d, _e;
|
|
765
|
+
const { query, limit } = request;
|
|
766
|
+
const _queryParams = {};
|
|
767
|
+
_queryParams["query"] = query;
|
|
768
|
+
if (limit !== undefined) {
|
|
769
|
+
_queryParams["limit"] = (_a = limit === null || limit === void 0 ? void 0 : limit.toString()) !== null && _a !== void 0 ? _a : null;
|
|
770
|
+
}
|
|
771
|
+
let _headers = mergeHeaders((_b = this._options) === null || _b === void 0 ? void 0 : _b.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
772
|
+
const _response = yield ((_c = this._options.fetcher) !== null && _c !== void 0 ? _c : core.fetcher)({
|
|
773
|
+
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, "billing_new/invoices/typeahead/v1"),
|
|
774
|
+
method: "GET",
|
|
775
|
+
headers: _headers,
|
|
776
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
777
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
778
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
779
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
780
|
+
});
|
|
781
|
+
if (_response.ok) {
|
|
782
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
783
|
+
}
|
|
784
|
+
if (_response.error.reason === "status-code") {
|
|
785
|
+
switch (_response.error.statusCode) {
|
|
786
|
+
case 422:
|
|
787
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
788
|
+
default:
|
|
789
|
+
throw new errors.ChrtError({
|
|
790
|
+
statusCode: _response.error.statusCode,
|
|
791
|
+
body: _response.error.body,
|
|
792
|
+
rawResponse: _response.rawResponse,
|
|
793
|
+
});
|
|
794
|
+
}
|
|
795
|
+
}
|
|
796
|
+
switch (_response.error.reason) {
|
|
797
|
+
case "non-json":
|
|
798
|
+
throw new errors.ChrtError({
|
|
799
|
+
statusCode: _response.error.statusCode,
|
|
800
|
+
body: _response.error.rawBody,
|
|
801
|
+
rawResponse: _response.rawResponse,
|
|
802
|
+
});
|
|
803
|
+
case "timeout":
|
|
804
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /billing_new/invoices/typeahead/v1.");
|
|
805
|
+
case "unknown":
|
|
806
|
+
throw new errors.ChrtError({
|
|
807
|
+
message: _response.error.errorMessage,
|
|
808
|
+
rawResponse: _response.rawResponse,
|
|
809
|
+
});
|
|
810
|
+
}
|
|
811
|
+
});
|
|
812
|
+
}
|
|
736
813
|
/**
|
|
737
814
|
* Updates the name or description of a draft invoice owned by the caller's organization. | authz: allowed_org_types=[provider], min_org_role=operator | (InvoiceClientUpdate1) -> (bool)
|
|
738
815
|
*
|
|
@@ -10,6 +10,7 @@ import * as Chrt from "../../../../../../index.mjs";
|
|
|
10
10
|
* sort_order: "asc",
|
|
11
11
|
* page: 1,
|
|
12
12
|
* page_size: 1,
|
|
13
|
+
* filter_invoice_ids: ["filter_invoice_ids"],
|
|
13
14
|
* filter_statuses: ["draft"],
|
|
14
15
|
* filter_invoice_types: ["accounts_receivable"],
|
|
15
16
|
* filter_currency_codes: ["USD"],
|
|
@@ -32,6 +33,8 @@ export interface InvoicesListV1Request {
|
|
|
32
33
|
sort_order?: Chrt.SortOrderEnum | null;
|
|
33
34
|
page?: number | null;
|
|
34
35
|
page_size?: number | null;
|
|
36
|
+
/** Filter by selected invoice ids */
|
|
37
|
+
filter_invoice_ids?: (string | null) | (string | null)[];
|
|
35
38
|
/** Filter by one or more invoice statuses. */
|
|
36
39
|
filter_statuses?: (Chrt.InvoiceStatusEnum1 | null) | (Chrt.InvoiceStatusEnum1 | null)[];
|
|
37
40
|
/** Filter by one or more invoice types. */
|
|
@@ -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 InvoicesTypeaheadV1Request {
|
|
12
|
+
/** Typeahead search query */
|
|
13
|
+
query: string;
|
|
14
|
+
/** Max results per field */
|
|
15
|
+
limit?: number | null;
|
|
16
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { type InvoiceLineItemsAddReq } from "./InvoiceLineItemsAddReq.mjs";
|
|
2
2
|
export { type InvoiceLineItemsRemoveReq } from "./InvoiceLineItemsRemoveReq.mjs";
|
|
3
3
|
export { type InvoicesListV1Request } from "./InvoicesListV1Request.mjs";
|
|
4
|
+
export { type InvoicesTypeaheadV1Request } from "./InvoicesTypeaheadV1Request.mjs";
|
|
4
5
|
export { type InvoiceClientUpdate1 } from "./InvoiceClientUpdate1.mjs";
|
|
5
6
|
export { type InvoicePeriodUpdateReq } from "./InvoicePeriodUpdateReq.mjs";
|
|
6
7
|
export { type InvoiceVoidReq } from "./InvoiceVoidReq.mjs";
|
|
@@ -115,6 +115,7 @@ export class Orders {
|
|
|
115
115
|
* page: 1,
|
|
116
116
|
* page_size: 1,
|
|
117
117
|
* search: "search",
|
|
118
|
+
* filter_order_ids: ["filter_order_ids"],
|
|
118
119
|
* filter_status: ["draft"],
|
|
119
120
|
* filter_awb_number: "filter_awb_number",
|
|
120
121
|
* filter_shipper_org_id: "filter_shipper_org_id",
|
|
@@ -145,7 +146,7 @@ export class Orders {
|
|
|
145
146
|
__listExpandedForCoordinatorOperatorsV1() {
|
|
146
147
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
147
148
|
var _a, _b, _c, _d, _e, _f;
|
|
148
|
-
const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_awb_number: filterAwbNumber, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_data_id: filterOffChrtShipperOrgDataId, filter_coordinator_shipper_account_ids: filterCoordinatorShipperAccountIds, filter_executor_org_id: filterExecutorOrgId, filter_off_chrt_executor_org_data_id: filterOffChrtExecutorOrgDataId, filter_coordinator_labels: filterCoordinatorLabels, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_last_delivery_task_completed_at_timestamp_gte: filterLastDeliveryTaskCompletedAtTimestampGte, filter_last_delivery_task_completed_at_timestamp_lte: filterLastDeliveryTaskCompletedAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte } = request, _body = __rest(request, ["sort_by", "sort_order", "page", "page_size", "search", "filter_status", "filter_awb_number", "filter_shipper_org_id", "filter_off_chrt_shipper_org_data_id", "filter_coordinator_shipper_account_ids", "filter_executor_org_id", "filter_off_chrt_executor_org_data_id", "filter_coordinator_labels", "filter_draft_started_at_timestamp_gte", "filter_draft_started_at_timestamp_lte", "filter_staged_at_timestamp_gte", "filter_staged_at_timestamp_lte", "filter_in_progress_at_timestamp_gte", "filter_in_progress_at_timestamp_lte", "filter_completed_at_timestamp_gte", "filter_completed_at_timestamp_lte", "filter_last_delivery_task_completed_at_timestamp_gte", "filter_last_delivery_task_completed_at_timestamp_lte", "filter_cancelled_at_timestamp_gte", "filter_cancelled_at_timestamp_lte", "filter_exception_at_timestamp_gte", "filter_exception_at_timestamp_lte"]);
|
|
149
|
+
const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_order_ids: filterOrderIds, filter_status: filterStatus, filter_awb_number: filterAwbNumber, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_data_id: filterOffChrtShipperOrgDataId, filter_coordinator_shipper_account_ids: filterCoordinatorShipperAccountIds, filter_executor_org_id: filterExecutorOrgId, filter_off_chrt_executor_org_data_id: filterOffChrtExecutorOrgDataId, filter_coordinator_labels: filterCoordinatorLabels, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_last_delivery_task_completed_at_timestamp_gte: filterLastDeliveryTaskCompletedAtTimestampGte, filter_last_delivery_task_completed_at_timestamp_lte: filterLastDeliveryTaskCompletedAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte } = request, _body = __rest(request, ["sort_by", "sort_order", "page", "page_size", "search", "filter_order_ids", "filter_status", "filter_awb_number", "filter_shipper_org_id", "filter_off_chrt_shipper_org_data_id", "filter_coordinator_shipper_account_ids", "filter_executor_org_id", "filter_off_chrt_executor_org_data_id", "filter_coordinator_labels", "filter_draft_started_at_timestamp_gte", "filter_draft_started_at_timestamp_lte", "filter_staged_at_timestamp_gte", "filter_staged_at_timestamp_lte", "filter_in_progress_at_timestamp_gte", "filter_in_progress_at_timestamp_lte", "filter_completed_at_timestamp_gte", "filter_completed_at_timestamp_lte", "filter_last_delivery_task_completed_at_timestamp_gte", "filter_last_delivery_task_completed_at_timestamp_lte", "filter_cancelled_at_timestamp_gte", "filter_cancelled_at_timestamp_lte", "filter_exception_at_timestamp_gte", "filter_exception_at_timestamp_lte"]);
|
|
149
150
|
const _queryParams = {};
|
|
150
151
|
if (sortBy !== undefined) {
|
|
151
152
|
_queryParams["sort_by"] = sortBy;
|
|
@@ -162,6 +163,14 @@ export class Orders {
|
|
|
162
163
|
if (search !== undefined) {
|
|
163
164
|
_queryParams["search"] = search;
|
|
164
165
|
}
|
|
166
|
+
if (filterOrderIds !== undefined) {
|
|
167
|
+
if (Array.isArray(filterOrderIds)) {
|
|
168
|
+
_queryParams["filter_order_ids"] = filterOrderIds.map((item) => item);
|
|
169
|
+
}
|
|
170
|
+
else {
|
|
171
|
+
_queryParams["filter_order_ids"] = filterOrderIds;
|
|
172
|
+
}
|
|
173
|
+
}
|
|
165
174
|
if (filterStatus !== undefined) {
|
|
166
175
|
if (Array.isArray(filterStatus)) {
|
|
167
176
|
_queryParams["filter_status"] = filterStatus.map((item) => item);
|
|
@@ -10,6 +10,7 @@ import * as Chrt from "../../../../../../index.mjs";
|
|
|
10
10
|
* page: 1,
|
|
11
11
|
* page_size: 1,
|
|
12
12
|
* search: "search",
|
|
13
|
+
* filter_order_ids: ["filter_order_ids"],
|
|
13
14
|
* filter_status: ["draft"],
|
|
14
15
|
* filter_awb_number: "filter_awb_number",
|
|
15
16
|
* filter_shipper_org_id: "filter_shipper_org_id",
|
|
@@ -43,6 +44,8 @@ export interface OrderBillingExpandedListReq {
|
|
|
43
44
|
page_size?: number | null;
|
|
44
45
|
/** Full-text search query for order short ID, off-CHRT reference ID, and AWB. */
|
|
45
46
|
search?: string | null;
|
|
47
|
+
/** Filter by selected order ids */
|
|
48
|
+
filter_order_ids?: (string | null) | (string | null)[];
|
|
46
49
|
/** Filter by one or more order statuses. */
|
|
47
50
|
filter_status?: (Chrt.OrderStatusEnum1 | null) | (Chrt.OrderStatusEnum1 | null)[];
|
|
48
51
|
/** Filter by an exact order AWB number. */
|
|
@@ -57,7 +60,7 @@ export interface OrderBillingExpandedListReq {
|
|
|
57
60
|
filter_executor_org_id?: string | null;
|
|
58
61
|
/** Filter by an off-CHRT executor. */
|
|
59
62
|
filter_off_chrt_executor_org_data_id?: string | null;
|
|
60
|
-
/** Filter by
|
|
63
|
+
/** Filter by all supplied coordinator labels (exact matches). */
|
|
61
64
|
filter_coordinator_labels?: (string | null) | (string | null)[];
|
|
62
65
|
filter_draft_started_at_timestamp_gte?: string | null;
|
|
63
66
|
filter_draft_started_at_timestamp_lte?: string | null;
|
|
@@ -59,6 +59,7 @@ export declare class Departments {
|
|
|
59
59
|
* search: "search",
|
|
60
60
|
* page: 1,
|
|
61
61
|
* page_size: 1,
|
|
62
|
+
* filter_department_ids: ["filter_department_ids"],
|
|
62
63
|
* filter_department_type: ["aerospace"]
|
|
63
64
|
* })
|
|
64
65
|
*/
|
|
@@ -78,6 +79,22 @@ export declare class Departments {
|
|
|
78
79
|
*/
|
|
79
80
|
removeOperatorV1(departmentId: string, userId: string, requestOptions?: Departments.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
80
81
|
private __removeOperatorV1;
|
|
82
|
+
/**
|
|
83
|
+
* Returns matching name, short_id values and their IDs within the caller's organization. | authz: min_org_role=operator | () -> (list[DepartmentTypeaheadResult])
|
|
84
|
+
*
|
|
85
|
+
* @param {Chrt.operations.DepartmentsTypeaheadV1Request} request
|
|
86
|
+
* @param {Departments.RequestOptions} requestOptions - Request-specific configuration.
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
89
|
+
*
|
|
90
|
+
* @example
|
|
91
|
+
* await client.operations.departments.typeaheadV1({
|
|
92
|
+
* query: "query",
|
|
93
|
+
* limit: 1
|
|
94
|
+
* })
|
|
95
|
+
*/
|
|
96
|
+
typeaheadV1(request: Chrt.operations.DepartmentsTypeaheadV1Request, requestOptions?: Departments.RequestOptions): core.HttpResponsePromise<Chrt.DepartmentTypeaheadResult[]>;
|
|
97
|
+
private __typeaheadV1;
|
|
81
98
|
/**
|
|
82
99
|
* Creates a new department configuration for the caller's organization. | authz: min_org_role=administrator | (DepartmentClientCreate1) -> (PydanticObjectId)
|
|
83
100
|
*
|
|
@@ -94,6 +94,7 @@ export class Departments {
|
|
|
94
94
|
* search: "search",
|
|
95
95
|
* page: 1,
|
|
96
96
|
* page_size: 1,
|
|
97
|
+
* filter_department_ids: ["filter_department_ids"],
|
|
97
98
|
* filter_department_type: ["aerospace"]
|
|
98
99
|
* })
|
|
99
100
|
*/
|
|
@@ -103,7 +104,7 @@ export class Departments {
|
|
|
103
104
|
__listV1() {
|
|
104
105
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
105
106
|
var _a, _b, _c, _d, _e, _f;
|
|
106
|
-
const { sort_by: sortBy, sort_order: sortOrder, search, page, page_size: pageSize, filter_department_type: filterDepartmentType, } = request;
|
|
107
|
+
const { sort_by: sortBy, sort_order: sortOrder, search, page, page_size: pageSize, filter_department_ids: filterDepartmentIds, filter_department_type: filterDepartmentType, } = request;
|
|
107
108
|
const _queryParams = {};
|
|
108
109
|
if (sortBy !== undefined) {
|
|
109
110
|
_queryParams["sort_by"] = sortBy;
|
|
@@ -120,6 +121,14 @@ export class Departments {
|
|
|
120
121
|
if (pageSize !== undefined) {
|
|
121
122
|
_queryParams["page_size"] = (_b = pageSize === null || pageSize === void 0 ? void 0 : pageSize.toString()) !== null && _b !== void 0 ? _b : null;
|
|
122
123
|
}
|
|
124
|
+
if (filterDepartmentIds !== undefined) {
|
|
125
|
+
if (Array.isArray(filterDepartmentIds)) {
|
|
126
|
+
_queryParams["filter_department_ids"] = filterDepartmentIds.map((item) => item);
|
|
127
|
+
}
|
|
128
|
+
else {
|
|
129
|
+
_queryParams["filter_department_ids"] = filterDepartmentIds;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
123
132
|
if (filterDepartmentType !== undefined) {
|
|
124
133
|
if (Array.isArray(filterDepartmentType)) {
|
|
125
134
|
_queryParams["filter_department_type"] = filterDepartmentType.map((item) => item);
|
|
@@ -230,6 +239,74 @@ export class Departments {
|
|
|
230
239
|
}
|
|
231
240
|
});
|
|
232
241
|
}
|
|
242
|
+
/**
|
|
243
|
+
* Returns matching name, short_id values and their IDs within the caller's organization. | authz: min_org_role=operator | () -> (list[DepartmentTypeaheadResult])
|
|
244
|
+
*
|
|
245
|
+
* @param {Chrt.operations.DepartmentsTypeaheadV1Request} request
|
|
246
|
+
* @param {Departments.RequestOptions} requestOptions - Request-specific configuration.
|
|
247
|
+
*
|
|
248
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
249
|
+
*
|
|
250
|
+
* @example
|
|
251
|
+
* await client.operations.departments.typeaheadV1({
|
|
252
|
+
* query: "query",
|
|
253
|
+
* limit: 1
|
|
254
|
+
* })
|
|
255
|
+
*/
|
|
256
|
+
typeaheadV1(request, requestOptions) {
|
|
257
|
+
return core.HttpResponsePromise.fromPromise(this.__typeaheadV1(request, requestOptions));
|
|
258
|
+
}
|
|
259
|
+
__typeaheadV1(request, requestOptions) {
|
|
260
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
261
|
+
var _a, _b, _c, _d, _e;
|
|
262
|
+
const { query, limit } = request;
|
|
263
|
+
const _queryParams = {};
|
|
264
|
+
_queryParams["query"] = query;
|
|
265
|
+
if (limit !== undefined) {
|
|
266
|
+
_queryParams["limit"] = (_a = limit === null || limit === void 0 ? void 0 : limit.toString()) !== null && _a !== void 0 ? _a : null;
|
|
267
|
+
}
|
|
268
|
+
let _headers = mergeHeaders((_b = this._options) === null || _b === void 0 ? void 0 : _b.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
269
|
+
const _response = yield ((_c = this._options.fetcher) !== null && _c !== void 0 ? _c : core.fetcher)({
|
|
270
|
+
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, "operations/departments/typeahead/v1"),
|
|
271
|
+
method: "GET",
|
|
272
|
+
headers: _headers,
|
|
273
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
274
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
275
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
276
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
277
|
+
});
|
|
278
|
+
if (_response.ok) {
|
|
279
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
280
|
+
}
|
|
281
|
+
if (_response.error.reason === "status-code") {
|
|
282
|
+
switch (_response.error.statusCode) {
|
|
283
|
+
case 422:
|
|
284
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
285
|
+
default:
|
|
286
|
+
throw new errors.ChrtError({
|
|
287
|
+
statusCode: _response.error.statusCode,
|
|
288
|
+
body: _response.error.body,
|
|
289
|
+
rawResponse: _response.rawResponse,
|
|
290
|
+
});
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
switch (_response.error.reason) {
|
|
294
|
+
case "non-json":
|
|
295
|
+
throw new errors.ChrtError({
|
|
296
|
+
statusCode: _response.error.statusCode,
|
|
297
|
+
body: _response.error.rawBody,
|
|
298
|
+
rawResponse: _response.rawResponse,
|
|
299
|
+
});
|
|
300
|
+
case "timeout":
|
|
301
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /operations/departments/typeahead/v1.");
|
|
302
|
+
case "unknown":
|
|
303
|
+
throw new errors.ChrtError({
|
|
304
|
+
message: _response.error.errorMessage,
|
|
305
|
+
rawResponse: _response.rawResponse,
|
|
306
|
+
});
|
|
307
|
+
}
|
|
308
|
+
});
|
|
309
|
+
}
|
|
233
310
|
/**
|
|
234
311
|
* Creates a new department configuration for the caller's organization. | authz: min_org_role=administrator | (DepartmentClientCreate1) -> (PydanticObjectId)
|
|
235
312
|
*
|
|
@@ -10,6 +10,7 @@ import * as Chrt from "../../../../../../index.mjs";
|
|
|
10
10
|
* search: "search",
|
|
11
11
|
* page: 1,
|
|
12
12
|
* page_size: 1,
|
|
13
|
+
* filter_department_ids: ["filter_department_ids"],
|
|
13
14
|
* filter_department_type: ["aerospace"]
|
|
14
15
|
* }
|
|
15
16
|
*/
|
|
@@ -22,6 +23,8 @@ export interface DepartmentsListV1Request {
|
|
|
22
23
|
search?: string | null;
|
|
23
24
|
page?: number | null;
|
|
24
25
|
page_size?: number | null;
|
|
26
|
+
/** Filter by selected department ids */
|
|
27
|
+
filter_department_ids?: (string | null) | (string | null)[];
|
|
25
28
|
/** Filter by department type(s) */
|
|
26
29
|
filter_department_type?: (Chrt.DepartmentTypeEnum | null) | (Chrt.DepartmentTypeEnum | null)[];
|
|
27
30
|
}
|
|
@@ -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 DepartmentsTypeaheadV1Request {
|
|
12
|
+
/** Typeahead search query */
|
|
13
|
+
query: string;
|
|
14
|
+
/** Max results per field */
|
|
15
|
+
limit?: number | null;
|
|
16
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export { type DepartmentsListV1Request } from "./DepartmentsListV1Request.mjs";
|
|
2
|
+
export { type DepartmentsTypeaheadV1Request } from "./DepartmentsTypeaheadV1Request.mjs";
|
|
2
3
|
export { type DepartmentClientCreate1 } from "./DepartmentClientCreate1.mjs";
|
|
3
4
|
export { type DepartmentClientUpdate1 } from "./DepartmentClientUpdate1.mjs";
|
|
@@ -142,6 +142,7 @@ export declare class OperationsTaskLists {
|
|
|
142
142
|
* search: "search",
|
|
143
143
|
* page: 1,
|
|
144
144
|
* page_size: 1,
|
|
145
|
+
* filter_operations_task_list_ids: ["filter_operations_task_list_ids"],
|
|
145
146
|
* filter_archived: true
|
|
146
147
|
* })
|
|
147
148
|
*/
|
|
@@ -161,6 +162,22 @@ export declare class OperationsTaskLists {
|
|
|
161
162
|
*/
|
|
162
163
|
removeNotStartedTasksFromOrderV1(taskListId: string, orderId: string, requestOptions?: OperationsTaskLists.RequestOptions): core.HttpResponsePromise<Chrt.OperationsTaskListRemoveFromOrderRes1>;
|
|
163
164
|
private __removeNotStartedTasksFromOrderV1;
|
|
165
|
+
/**
|
|
166
|
+
* Returns matching name values and their IDs within the caller's organization. | authz: min_org_role=operator | () -> (list[OperationsTaskListTypeaheadResult])
|
|
167
|
+
*
|
|
168
|
+
* @param {Chrt.operations.OperationsTaskListsTypeaheadV1Request} request
|
|
169
|
+
* @param {OperationsTaskLists.RequestOptions} requestOptions - Request-specific configuration.
|
|
170
|
+
*
|
|
171
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
172
|
+
*
|
|
173
|
+
* @example
|
|
174
|
+
* await client.operations.operationsTaskLists.typeaheadV1({
|
|
175
|
+
* query: "query",
|
|
176
|
+
* limit: 1
|
|
177
|
+
* })
|
|
178
|
+
*/
|
|
179
|
+
typeaheadV1(request: Chrt.operations.OperationsTaskListsTypeaheadV1Request, requestOptions?: OperationsTaskLists.RequestOptions): core.HttpResponsePromise<Chrt.OperationsTaskListTypeaheadResult[]>;
|
|
180
|
+
private __typeaheadV1;
|
|
164
181
|
/**
|
|
165
182
|
* Restores an archived OperationsTaskList by setting `archived=False`. | authz: min_org_role=operator | () -> (bool)
|
|
166
183
|
*
|