@chrt-inc/typescript-sdk 1.1002.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/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/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/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/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/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/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/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/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/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 +51 -1
- package/dist/cjs/api/types/index.js +51 -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/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/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/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/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/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/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/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/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/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 +51 -1
- package/dist/esm/api/types/index.mjs +51 -1
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +968 -15
- /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/shipping/resources/orders/resources/expanded/client/Client.d.mts
CHANGED
|
@@ -74,6 +74,7 @@ export declare class Expanded {
|
|
|
74
74
|
* page: 1,
|
|
75
75
|
* page_size: 1,
|
|
76
76
|
* search: "search",
|
|
77
|
+
* filter_order_ids: ["filter_order_ids"],
|
|
77
78
|
* filter_status: ["draft"],
|
|
78
79
|
* filter_service_line: ["on_demand"],
|
|
79
80
|
* filter_order_classification_by_task_group_type: ["chrt_ground_provider"],
|
|
@@ -123,6 +124,7 @@ export declare class Expanded {
|
|
|
123
124
|
* page: 1,
|
|
124
125
|
* page_size: 1,
|
|
125
126
|
* search: "search",
|
|
127
|
+
* filter_order_ids: ["filter_order_ids"],
|
|
126
128
|
* filter_status: ["draft"],
|
|
127
129
|
* filter_service_line: ["on_demand"],
|
|
128
130
|
* filter_order_classification_by_task_group_type: ["chrt_ground_provider"],
|
package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.mjs
CHANGED
|
@@ -161,6 +161,7 @@ export class Expanded {
|
|
|
161
161
|
* page: 1,
|
|
162
162
|
* page_size: 1,
|
|
163
163
|
* search: "search",
|
|
164
|
+
* filter_order_ids: ["filter_order_ids"],
|
|
164
165
|
* filter_status: ["draft"],
|
|
165
166
|
* filter_service_line: ["on_demand"],
|
|
166
167
|
* filter_order_classification_by_task_group_type: ["chrt_ground_provider"],
|
|
@@ -199,7 +200,7 @@ export class Expanded {
|
|
|
199
200
|
__listForProviderOperatorsV1(request, requestOptions) {
|
|
200
201
|
return __awaiter(this, void 0, void 0, function* () {
|
|
201
202
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
202
|
-
const { provider_role: providerRole, sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_service_line: filterServiceLine, filter_order_classification_by_task_group_type: filterOrderClassificationByTaskGroupType, filter_awb_number: filterAwbNumber, filter_has_invoice: filterHasInvoice, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_last_delivery_task_completed_at_timestamp_lte: filterLastDeliveryTaskCompletedAtTimestampLte, filter_last_delivery_task_completed_at_timestamp_gte: filterLastDeliveryTaskCompletedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_executor_org_id: filterExecutorOrgId, filter_executor_department_ids: filterExecutorDepartmentIds, filter_off_chrt_executor_org_data_id: filterOffChrtExecutorOrgDataId, filter_coordinator_org_id: filterCoordinatorOrgId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_data_id: filterOffChrtShipperOrgDataId, filter_coordinator_shipper_account_ids: filterCoordinatorShipperAccountIds, filter_coordinator_department_ids: filterCoordinatorDepartmentIds, filter_coordinator_assigned_user_ids: filterCoordinatorAssignedUserIds, filter_coordinator_labels: filterCoordinatorLabels, body: _body, } = request;
|
|
203
|
+
const { provider_role: providerRole, sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_order_ids: filterOrderIds, filter_status: filterStatus, filter_service_line: filterServiceLine, filter_order_classification_by_task_group_type: filterOrderClassificationByTaskGroupType, filter_awb_number: filterAwbNumber, filter_has_invoice: filterHasInvoice, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_last_delivery_task_completed_at_timestamp_lte: filterLastDeliveryTaskCompletedAtTimestampLte, filter_last_delivery_task_completed_at_timestamp_gte: filterLastDeliveryTaskCompletedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_executor_org_id: filterExecutorOrgId, filter_executor_department_ids: filterExecutorDepartmentIds, filter_off_chrt_executor_org_data_id: filterOffChrtExecutorOrgDataId, filter_coordinator_org_id: filterCoordinatorOrgId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_data_id: filterOffChrtShipperOrgDataId, filter_coordinator_shipper_account_ids: filterCoordinatorShipperAccountIds, filter_coordinator_department_ids: filterCoordinatorDepartmentIds, filter_coordinator_assigned_user_ids: filterCoordinatorAssignedUserIds, filter_coordinator_labels: filterCoordinatorLabels, body: _body, } = request;
|
|
203
204
|
const _queryParams = {};
|
|
204
205
|
if (providerRole !== undefined) {
|
|
205
206
|
_queryParams["provider_role"] = providerRole;
|
|
@@ -219,6 +220,14 @@ export class Expanded {
|
|
|
219
220
|
if (search !== undefined) {
|
|
220
221
|
_queryParams["search"] = search;
|
|
221
222
|
}
|
|
223
|
+
if (filterOrderIds !== undefined) {
|
|
224
|
+
if (Array.isArray(filterOrderIds)) {
|
|
225
|
+
_queryParams["filter_order_ids"] = filterOrderIds.map((item) => item);
|
|
226
|
+
}
|
|
227
|
+
else {
|
|
228
|
+
_queryParams["filter_order_ids"] = filterOrderIds;
|
|
229
|
+
}
|
|
230
|
+
}
|
|
222
231
|
if (filterStatus !== undefined) {
|
|
223
232
|
if (Array.isArray(filterStatus)) {
|
|
224
233
|
_queryParams["filter_status"] = filterStatus.map((item) => item);
|
|
@@ -413,6 +422,7 @@ export class Expanded {
|
|
|
413
422
|
* page: 1,
|
|
414
423
|
* page_size: 1,
|
|
415
424
|
* search: "search",
|
|
425
|
+
* filter_order_ids: ["filter_order_ids"],
|
|
416
426
|
* filter_status: ["draft"],
|
|
417
427
|
* filter_service_line: ["on_demand"],
|
|
418
428
|
* filter_order_classification_by_task_group_type: ["chrt_ground_provider"],
|
|
@@ -443,7 +453,7 @@ export class Expanded {
|
|
|
443
453
|
__listForShipperOperatorsV1(request, requestOptions) {
|
|
444
454
|
return __awaiter(this, void 0, void 0, function* () {
|
|
445
455
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
446
|
-
const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_service_line: filterServiceLine, filter_order_classification_by_task_group_type: filterOrderClassificationByTaskGroupType, filter_awb_number: filterAwbNumber, filter_has_invoice: filterHasInvoice, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_last_delivery_task_completed_at_timestamp_lte: filterLastDeliveryTaskCompletedAtTimestampLte, filter_last_delivery_task_completed_at_timestamp_gte: filterLastDeliveryTaskCompletedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_executor_org_id: filterExecutorOrgId, filter_coordinator_org_id: filterCoordinatorOrgId, body: _body, } = request;
|
|
456
|
+
const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_order_ids: filterOrderIds, filter_status: filterStatus, filter_service_line: filterServiceLine, filter_order_classification_by_task_group_type: filterOrderClassificationByTaskGroupType, filter_awb_number: filterAwbNumber, filter_has_invoice: filterHasInvoice, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_last_delivery_task_completed_at_timestamp_lte: filterLastDeliveryTaskCompletedAtTimestampLte, filter_last_delivery_task_completed_at_timestamp_gte: filterLastDeliveryTaskCompletedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_executor_org_id: filterExecutorOrgId, filter_coordinator_org_id: filterCoordinatorOrgId, body: _body, } = request;
|
|
447
457
|
const _queryParams = {};
|
|
448
458
|
if (sortBy !== undefined) {
|
|
449
459
|
_queryParams["sort_by"] = sortBy;
|
|
@@ -460,6 +470,14 @@ export class Expanded {
|
|
|
460
470
|
if (search !== undefined) {
|
|
461
471
|
_queryParams["search"] = search;
|
|
462
472
|
}
|
|
473
|
+
if (filterOrderIds !== undefined) {
|
|
474
|
+
if (Array.isArray(filterOrderIds)) {
|
|
475
|
+
_queryParams["filter_order_ids"] = filterOrderIds.map((item) => item);
|
|
476
|
+
}
|
|
477
|
+
else {
|
|
478
|
+
_queryParams["filter_order_ids"] = filterOrderIds;
|
|
479
|
+
}
|
|
480
|
+
}
|
|
463
481
|
if (filterStatus !== undefined) {
|
|
464
482
|
if (Array.isArray(filterStatus)) {
|
|
465
483
|
_queryParams["filter_status"] = filterStatus.map((item) => item);
|
|
@@ -11,6 +11,7 @@ import * as Chrt from "../../../../../../../../index.mjs";
|
|
|
11
11
|
* page: 1,
|
|
12
12
|
* page_size: 1,
|
|
13
13
|
* search: "search",
|
|
14
|
+
* filter_order_ids: ["filter_order_ids"],
|
|
14
15
|
* filter_status: ["draft"],
|
|
15
16
|
* filter_service_line: ["on_demand"],
|
|
16
17
|
* filter_order_classification_by_task_group_type: ["chrt_ground_provider"],
|
|
@@ -52,6 +53,8 @@ export interface ExpandedListForProviderOperatorsV1Request {
|
|
|
52
53
|
page_size?: number | null;
|
|
53
54
|
/** Full-text search query (searches order short ID, off-CHRT reference ID, and AWB) */
|
|
54
55
|
search?: string | null;
|
|
56
|
+
/** Filter by selected order ids */
|
|
57
|
+
filter_order_ids?: (string | null) | (string | null)[];
|
|
55
58
|
filter_status?: (Chrt.OrderStatusEnum1 | null) | (Chrt.OrderStatusEnum1 | null)[];
|
|
56
59
|
/** Filter by service line */
|
|
57
60
|
filter_service_line?: (Chrt.ServiceLineEnum | null) | (Chrt.ServiceLineEnum | null)[];
|
|
@@ -90,7 +93,7 @@ export interface ExpandedListForProviderOperatorsV1Request {
|
|
|
90
93
|
/** Filter by coordinator department IDs */
|
|
91
94
|
filter_coordinator_department_ids?: (string | null) | (string | null)[];
|
|
92
95
|
filter_coordinator_assigned_user_ids?: (string | null) | (string | null)[];
|
|
93
|
-
/** Filter by
|
|
96
|
+
/** Filter by all supplied coordinator labels (exact matches). */
|
|
94
97
|
filter_coordinator_labels?: (string | null) | (string | null)[];
|
|
95
98
|
body: Chrt.OrderAndTaskGroupExpandedReq;
|
|
96
99
|
}
|
|
@@ -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_service_line: ["on_demand"],
|
|
15
16
|
* filter_order_classification_by_task_group_type: ["chrt_ground_provider"],
|
|
@@ -42,6 +43,8 @@ export interface ExpandedListForShipperOperatorsV1Request {
|
|
|
42
43
|
page_size?: number | null;
|
|
43
44
|
/** Full-text search query (searches order short ID, off-CHRT reference ID, and AWB) */
|
|
44
45
|
search?: string | null;
|
|
46
|
+
/** Filter by selected order ids */
|
|
47
|
+
filter_order_ids?: (string | null) | (string | null)[];
|
|
45
48
|
filter_status?: (Chrt.OrderStatusEnum1 | null) | (Chrt.OrderStatusEnum1 | null)[];
|
|
46
49
|
/** Filter by service line */
|
|
47
50
|
filter_service_line?: (Chrt.ServiceLineEnum | null) | (Chrt.ServiceLineEnum | null)[];
|
package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.mts
CHANGED
|
@@ -87,6 +87,7 @@ export declare class Expanded {
|
|
|
87
87
|
* page: 1,
|
|
88
88
|
* page_size: 1,
|
|
89
89
|
* search: "search",
|
|
90
|
+
* filter_task_group_ids: ["filter_task_group_ids"],
|
|
90
91
|
* filter_status: ["draft"],
|
|
91
92
|
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
92
93
|
* filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
@@ -126,6 +127,7 @@ export declare class Expanded {
|
|
|
126
127
|
* page: 1,
|
|
127
128
|
* page_size: 1,
|
|
128
129
|
* search: "search",
|
|
130
|
+
* filter_task_group_ids: ["filter_task_group_ids"],
|
|
129
131
|
* filter_status: ["draft"],
|
|
130
132
|
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
131
133
|
* filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.mjs
CHANGED
|
@@ -223,6 +223,7 @@ export class Expanded {
|
|
|
223
223
|
* page: 1,
|
|
224
224
|
* page_size: 1,
|
|
225
225
|
* search: "search",
|
|
226
|
+
* filter_task_group_ids: ["filter_task_group_ids"],
|
|
226
227
|
* filter_status: ["draft"],
|
|
227
228
|
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
228
229
|
* filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
@@ -250,7 +251,7 @@ export class Expanded {
|
|
|
250
251
|
__listForDriverV1(request, requestOptions) {
|
|
251
252
|
return __awaiter(this, void 0, void 0, function* () {
|
|
252
253
|
var _a, _b, _c, _d, _e, _f;
|
|
253
|
-
const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_skipped_at_timestamp_lte: filterSkippedAtTimestampLte, filter_skipped_at_timestamp_gte: filterSkippedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_coordinator_org_id: filterCoordinatorOrgId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_data_id: filterOffChrtShipperOrgDataId, body: _body, } = request;
|
|
254
|
+
const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_task_group_ids: filterTaskGroupIds, filter_status: filterStatus, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_skipped_at_timestamp_lte: filterSkippedAtTimestampLte, filter_skipped_at_timestamp_gte: filterSkippedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_coordinator_org_id: filterCoordinatorOrgId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_data_id: filterOffChrtShipperOrgDataId, body: _body, } = request;
|
|
254
255
|
const _queryParams = {};
|
|
255
256
|
if (sortBy !== undefined) {
|
|
256
257
|
_queryParams["sort_by"] = sortBy;
|
|
@@ -267,6 +268,14 @@ export class Expanded {
|
|
|
267
268
|
if (search !== undefined) {
|
|
268
269
|
_queryParams["search"] = search;
|
|
269
270
|
}
|
|
271
|
+
if (filterTaskGroupIds !== undefined) {
|
|
272
|
+
if (Array.isArray(filterTaskGroupIds)) {
|
|
273
|
+
_queryParams["filter_task_group_ids"] = filterTaskGroupIds.map((item) => item);
|
|
274
|
+
}
|
|
275
|
+
else {
|
|
276
|
+
_queryParams["filter_task_group_ids"] = filterTaskGroupIds;
|
|
277
|
+
}
|
|
278
|
+
}
|
|
270
279
|
if (filterStatus !== undefined) {
|
|
271
280
|
if (Array.isArray(filterStatus)) {
|
|
272
281
|
_queryParams["filter_status"] = filterStatus.map((item) => item);
|
|
@@ -387,6 +396,7 @@ export class Expanded {
|
|
|
387
396
|
* page: 1,
|
|
388
397
|
* page_size: 1,
|
|
389
398
|
* search: "search",
|
|
399
|
+
* filter_task_group_ids: ["filter_task_group_ids"],
|
|
390
400
|
* filter_status: ["draft"],
|
|
391
401
|
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
392
402
|
* filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
@@ -415,7 +425,7 @@ export class Expanded {
|
|
|
415
425
|
__listForProviderOperatorsV1(request, requestOptions) {
|
|
416
426
|
return __awaiter(this, void 0, void 0, function* () {
|
|
417
427
|
var _a, _b, _c, _d, _e, _f;
|
|
418
|
-
const { provider_role: providerRole, sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_skipped_at_timestamp_lte: filterSkippedAtTimestampLte, filter_skipped_at_timestamp_gte: filterSkippedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_driver_id: filterDriverId, filter_coordinator_org_id: filterCoordinatorOrgId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_data_id: filterOffChrtShipperOrgDataId, body: _body, } = request;
|
|
428
|
+
const { provider_role: providerRole, sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_task_group_ids: filterTaskGroupIds, filter_status: filterStatus, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_skipped_at_timestamp_lte: filterSkippedAtTimestampLte, filter_skipped_at_timestamp_gte: filterSkippedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_driver_id: filterDriverId, filter_coordinator_org_id: filterCoordinatorOrgId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_data_id: filterOffChrtShipperOrgDataId, body: _body, } = request;
|
|
419
429
|
const _queryParams = {};
|
|
420
430
|
if (providerRole !== undefined) {
|
|
421
431
|
_queryParams["provider_role"] = providerRole;
|
|
@@ -435,6 +445,14 @@ export class Expanded {
|
|
|
435
445
|
if (search !== undefined) {
|
|
436
446
|
_queryParams["search"] = search;
|
|
437
447
|
}
|
|
448
|
+
if (filterTaskGroupIds !== undefined) {
|
|
449
|
+
if (Array.isArray(filterTaskGroupIds)) {
|
|
450
|
+
_queryParams["filter_task_group_ids"] = filterTaskGroupIds.map((item) => item);
|
|
451
|
+
}
|
|
452
|
+
else {
|
|
453
|
+
_queryParams["filter_task_group_ids"] = filterTaskGroupIds;
|
|
454
|
+
}
|
|
455
|
+
}
|
|
438
456
|
if (filterStatus !== undefined) {
|
|
439
457
|
if (Array.isArray(filterStatus)) {
|
|
440
458
|
_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_task_group_ids: ["filter_task_group_ids"],
|
|
13
14
|
* filter_status: ["draft"],
|
|
14
15
|
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
15
16
|
* filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
@@ -39,6 +40,8 @@ export interface ExpandedListForDriverV1Request {
|
|
|
39
40
|
page_size?: number | null;
|
|
40
41
|
/** Full-text search query (searches order_short_id, order_off_chrt_reference_id) */
|
|
41
42
|
search?: string | null;
|
|
43
|
+
/** Filter by selected task group ids */
|
|
44
|
+
filter_task_group_ids?: (string | null) | (string | null)[];
|
|
42
45
|
filter_status?: (Chrt.TaskGroupStatusEnum1 | null) | (Chrt.TaskGroupStatusEnum1 | null)[];
|
|
43
46
|
filter_draft_started_at_timestamp_lte?: string | null;
|
|
44
47
|
filter_draft_started_at_timestamp_gte?: string | null;
|
|
@@ -11,6 +11,7 @@ import * as Chrt from "../../../../../../../../index.mjs";
|
|
|
11
11
|
* page: 1,
|
|
12
12
|
* page_size: 1,
|
|
13
13
|
* search: "search",
|
|
14
|
+
* filter_task_group_ids: ["filter_task_group_ids"],
|
|
14
15
|
* filter_status: ["draft"],
|
|
15
16
|
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
16
17
|
* filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
@@ -42,6 +43,8 @@ export interface ExpandedListForProviderOperatorsV1Request {
|
|
|
42
43
|
page_size?: number | null;
|
|
43
44
|
/** Full-text search query (searches order_short_id, order_off_chrt_reference_id) */
|
|
44
45
|
search?: string | null;
|
|
46
|
+
/** Filter by selected task group ids */
|
|
47
|
+
filter_task_group_ids?: (string | null) | (string | null)[];
|
|
45
48
|
filter_status?: (Chrt.TaskGroupStatusEnum1 | null) | (Chrt.TaskGroupStatusEnum1 | null)[];
|
|
46
49
|
filter_draft_started_at_timestamp_lte?: string | null;
|
|
47
50
|
filter_draft_started_at_timestamp_gte?: string | null;
|
|
@@ -72,6 +72,7 @@ export declare class Orders {
|
|
|
72
72
|
* limit: 1,
|
|
73
73
|
* page: 1,
|
|
74
74
|
* search: "search",
|
|
75
|
+
* filter_atlas_order_ids: ["filter_atlas_order_ids"],
|
|
75
76
|
* filter_provider_org_id: ["filter_provider_org_id"],
|
|
76
77
|
* filter_integration_order_id: "filter_integration_order_id",
|
|
77
78
|
* filter_mirrored_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
@@ -100,5 +101,21 @@ export declare class Orders {
|
|
|
100
101
|
*/
|
|
101
102
|
syncOneV1(request: Chrt.shippingIntegrations.atlas.AtlasOrderSyncOneReq, requestOptions?: Orders.RequestOptions): core.HttpResponsePromise<Chrt.AtlasOrder1>;
|
|
102
103
|
private __syncOneV1;
|
|
104
|
+
/**
|
|
105
|
+
* Returns matching integration_order_id values and their IDs within the caller's organization. | () -> (list[AtlasOrderTypeaheadResult])
|
|
106
|
+
*
|
|
107
|
+
* @param {Chrt.shippingIntegrations.atlas.OrdersTypeaheadV1Request} request
|
|
108
|
+
* @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
|
|
109
|
+
*
|
|
110
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
111
|
+
*
|
|
112
|
+
* @example
|
|
113
|
+
* await client.shippingIntegrations.atlas.orders.typeaheadV1({
|
|
114
|
+
* query: "query",
|
|
115
|
+
* limit: 1
|
|
116
|
+
* })
|
|
117
|
+
*/
|
|
118
|
+
typeaheadV1(request: Chrt.shippingIntegrations.atlas.OrdersTypeaheadV1Request, requestOptions?: Orders.RequestOptions): core.HttpResponsePromise<Chrt.AtlasOrderTypeaheadResult[]>;
|
|
119
|
+
private __typeaheadV1;
|
|
103
120
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
104
121
|
}
|
|
@@ -153,6 +153,7 @@ export class Orders {
|
|
|
153
153
|
* limit: 1,
|
|
154
154
|
* page: 1,
|
|
155
155
|
* search: "search",
|
|
156
|
+
* filter_atlas_order_ids: ["filter_atlas_order_ids"],
|
|
156
157
|
* filter_provider_org_id: ["filter_provider_org_id"],
|
|
157
158
|
* filter_integration_order_id: "filter_integration_order_id",
|
|
158
159
|
* filter_mirrored_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
@@ -169,7 +170,7 @@ export class Orders {
|
|
|
169
170
|
__listV1() {
|
|
170
171
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
171
172
|
var _a, _b, _c, _d, _e, _f;
|
|
172
|
-
const { sort_by: sortBy, sort_order: sortOrder, limit, page, search, filter_provider_org_id: filterProviderOrgId, filter_integration_order_id: filterIntegrationOrderId, filter_mirrored_at_timestamp_gte: filterMirroredAtTimestampGte, filter_mirrored_at_timestamp_lte: filterMirroredAtTimestampLte, filter_created_at_timestamp_gte: filterCreatedAtTimestampGte, filter_created_at_timestamp_lte: filterCreatedAtTimestampLte, filter_updated_at_timestamp_gte: filterUpdatedAtTimestampGte, filter_updated_at_timestamp_lte: filterUpdatedAtTimestampLte, } = request;
|
|
173
|
+
const { sort_by: sortBy, sort_order: sortOrder, limit, page, search, filter_atlas_order_ids: filterAtlasOrderIds, filter_provider_org_id: filterProviderOrgId, filter_integration_order_id: filterIntegrationOrderId, filter_mirrored_at_timestamp_gte: filterMirroredAtTimestampGte, filter_mirrored_at_timestamp_lte: filterMirroredAtTimestampLte, filter_created_at_timestamp_gte: filterCreatedAtTimestampGte, filter_created_at_timestamp_lte: filterCreatedAtTimestampLte, filter_updated_at_timestamp_gte: filterUpdatedAtTimestampGte, filter_updated_at_timestamp_lte: filterUpdatedAtTimestampLte, } = request;
|
|
173
174
|
const _queryParams = {};
|
|
174
175
|
if (sortBy !== undefined) {
|
|
175
176
|
_queryParams["sort_by"] = sortBy;
|
|
@@ -186,6 +187,14 @@ export class Orders {
|
|
|
186
187
|
if (search !== undefined) {
|
|
187
188
|
_queryParams["search"] = search;
|
|
188
189
|
}
|
|
190
|
+
if (filterAtlasOrderIds !== undefined) {
|
|
191
|
+
if (Array.isArray(filterAtlasOrderIds)) {
|
|
192
|
+
_queryParams["filter_atlas_order_ids"] = filterAtlasOrderIds.map((item) => item);
|
|
193
|
+
}
|
|
194
|
+
else {
|
|
195
|
+
_queryParams["filter_atlas_order_ids"] = filterAtlasOrderIds;
|
|
196
|
+
}
|
|
197
|
+
}
|
|
189
198
|
if (filterProviderOrgId !== undefined) {
|
|
190
199
|
if (Array.isArray(filterProviderOrgId)) {
|
|
191
200
|
_queryParams["filter_provider_org_id"] = filterProviderOrgId.map((item) => item);
|
|
@@ -322,6 +331,74 @@ export class Orders {
|
|
|
322
331
|
}
|
|
323
332
|
});
|
|
324
333
|
}
|
|
334
|
+
/**
|
|
335
|
+
* Returns matching integration_order_id values and their IDs within the caller's organization. | () -> (list[AtlasOrderTypeaheadResult])
|
|
336
|
+
*
|
|
337
|
+
* @param {Chrt.shippingIntegrations.atlas.OrdersTypeaheadV1Request} request
|
|
338
|
+
* @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
|
|
339
|
+
*
|
|
340
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
341
|
+
*
|
|
342
|
+
* @example
|
|
343
|
+
* await client.shippingIntegrations.atlas.orders.typeaheadV1({
|
|
344
|
+
* query: "query",
|
|
345
|
+
* limit: 1
|
|
346
|
+
* })
|
|
347
|
+
*/
|
|
348
|
+
typeaheadV1(request, requestOptions) {
|
|
349
|
+
return core.HttpResponsePromise.fromPromise(this.__typeaheadV1(request, requestOptions));
|
|
350
|
+
}
|
|
351
|
+
__typeaheadV1(request, requestOptions) {
|
|
352
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
353
|
+
var _a, _b, _c, _d, _e;
|
|
354
|
+
const { query, limit } = request;
|
|
355
|
+
const _queryParams = {};
|
|
356
|
+
_queryParams["query"] = query;
|
|
357
|
+
if (limit !== undefined) {
|
|
358
|
+
_queryParams["limit"] = (_a = limit === null || limit === void 0 ? void 0 : limit.toString()) !== null && _a !== void 0 ? _a : null;
|
|
359
|
+
}
|
|
360
|
+
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);
|
|
361
|
+
const _response = yield ((_c = this._options.fetcher) !== null && _c !== void 0 ? _c : core.fetcher)({
|
|
362
|
+
url: core.url.join((_e = (_d = (yield core.Supplier.get(this._options.baseUrl))) !== null && _d !== void 0 ? _d : (yield core.Supplier.get(this._options.environment))) !== null && _e !== void 0 ? _e : environments.ChrtEnvironment.Local, "shipping_integrations/atlas/orders/typeahead/v1"),
|
|
363
|
+
method: "GET",
|
|
364
|
+
headers: _headers,
|
|
365
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
366
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
367
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
368
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
369
|
+
});
|
|
370
|
+
if (_response.ok) {
|
|
371
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
372
|
+
}
|
|
373
|
+
if (_response.error.reason === "status-code") {
|
|
374
|
+
switch (_response.error.statusCode) {
|
|
375
|
+
case 422:
|
|
376
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
377
|
+
default:
|
|
378
|
+
throw new errors.ChrtError({
|
|
379
|
+
statusCode: _response.error.statusCode,
|
|
380
|
+
body: _response.error.body,
|
|
381
|
+
rawResponse: _response.rawResponse,
|
|
382
|
+
});
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
switch (_response.error.reason) {
|
|
386
|
+
case "non-json":
|
|
387
|
+
throw new errors.ChrtError({
|
|
388
|
+
statusCode: _response.error.statusCode,
|
|
389
|
+
body: _response.error.rawBody,
|
|
390
|
+
rawResponse: _response.rawResponse,
|
|
391
|
+
});
|
|
392
|
+
case "timeout":
|
|
393
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping_integrations/atlas/orders/typeahead/v1.");
|
|
394
|
+
case "unknown":
|
|
395
|
+
throw new errors.ChrtError({
|
|
396
|
+
message: _response.error.errorMessage,
|
|
397
|
+
rawResponse: _response.rawResponse,
|
|
398
|
+
});
|
|
399
|
+
}
|
|
400
|
+
});
|
|
401
|
+
}
|
|
325
402
|
_getAuthorizationHeader() {
|
|
326
403
|
return __awaiter(this, void 0, void 0, function* () {
|
|
327
404
|
const bearer = yield core.Supplier.get(this._options.token);
|
|
@@ -10,6 +10,7 @@ import * as Chrt from "../../../../../../../../index.mjs";
|
|
|
10
10
|
* limit: 1,
|
|
11
11
|
* page: 1,
|
|
12
12
|
* search: "search",
|
|
13
|
+
* filter_atlas_order_ids: ["filter_atlas_order_ids"],
|
|
13
14
|
* filter_provider_org_id: ["filter_provider_org_id"],
|
|
14
15
|
* filter_integration_order_id: "filter_integration_order_id",
|
|
15
16
|
* filter_mirrored_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
@@ -31,6 +32,8 @@ export interface OrdersListV1Request {
|
|
|
31
32
|
page?: number | null;
|
|
32
33
|
/** Search Atlas order IDs. */
|
|
33
34
|
search?: string | null;
|
|
35
|
+
/** Filter by atlas order IDs */
|
|
36
|
+
filter_atlas_order_ids?: (string | null) | (string | null)[];
|
|
34
37
|
/** Filter by provider org ID(s) */
|
|
35
38
|
filter_provider_org_id?: (string | null) | (string | null)[];
|
|
36
39
|
/** Filter by Atlas's exact order ID */
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* {
|
|
7
|
+
* query: "query",
|
|
8
|
+
* limit: 1
|
|
9
|
+
* }
|
|
10
|
+
*/
|
|
11
|
+
export interface OrdersTypeaheadV1Request {
|
|
12
|
+
/** Typeahead search query */
|
|
13
|
+
query: string;
|
|
14
|
+
/** Max results per field */
|
|
15
|
+
limit?: number | null;
|
|
16
|
+
}
|
|
@@ -72,6 +72,7 @@ export declare class Orders {
|
|
|
72
72
|
* limit: 1,
|
|
73
73
|
* page: 1,
|
|
74
74
|
* search: "search",
|
|
75
|
+
* filter_cxt_order_ids: ["filter_cxt_order_ids"],
|
|
75
76
|
* filter_provider_org_id: ["filter_provider_org_id"],
|
|
76
77
|
* filter_integration_order_id: "filter_integration_order_id",
|
|
77
78
|
* filter_mirrored_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
@@ -100,5 +101,21 @@ export declare class Orders {
|
|
|
100
101
|
*/
|
|
101
102
|
syncOneV1(request: Chrt.shippingIntegrations.cxt.CxtOrderSyncOneReq, requestOptions?: Orders.RequestOptions): core.HttpResponsePromise<Chrt.CxtOrder1>;
|
|
102
103
|
private __syncOneV1;
|
|
104
|
+
/**
|
|
105
|
+
* Returns matching integration_order_id values and their IDs within the caller's organization. | () -> (list[CxtOrderTypeaheadResult])
|
|
106
|
+
*
|
|
107
|
+
* @param {Chrt.shippingIntegrations.cxt.OrdersTypeaheadV1Request} request
|
|
108
|
+
* @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
|
|
109
|
+
*
|
|
110
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
111
|
+
*
|
|
112
|
+
* @example
|
|
113
|
+
* await client.shippingIntegrations.cxt.orders.typeaheadV1({
|
|
114
|
+
* query: "query",
|
|
115
|
+
* limit: 1
|
|
116
|
+
* })
|
|
117
|
+
*/
|
|
118
|
+
typeaheadV1(request: Chrt.shippingIntegrations.cxt.OrdersTypeaheadV1Request, requestOptions?: Orders.RequestOptions): core.HttpResponsePromise<Chrt.CxtOrderTypeaheadResult[]>;
|
|
119
|
+
private __typeaheadV1;
|
|
103
120
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
104
121
|
}
|
package/dist/esm/api/resources/shippingIntegrations/resources/cxt/resources/orders/client/Client.mjs
CHANGED
|
@@ -153,6 +153,7 @@ export class Orders {
|
|
|
153
153
|
* limit: 1,
|
|
154
154
|
* page: 1,
|
|
155
155
|
* search: "search",
|
|
156
|
+
* filter_cxt_order_ids: ["filter_cxt_order_ids"],
|
|
156
157
|
* filter_provider_org_id: ["filter_provider_org_id"],
|
|
157
158
|
* filter_integration_order_id: "filter_integration_order_id",
|
|
158
159
|
* filter_mirrored_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
@@ -169,7 +170,7 @@ export class Orders {
|
|
|
169
170
|
__listV1() {
|
|
170
171
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
171
172
|
var _a, _b, _c, _d, _e, _f;
|
|
172
|
-
const { sort_by: sortBy, sort_order: sortOrder, limit, page, search, filter_provider_org_id: filterProviderOrgId, filter_integration_order_id: filterIntegrationOrderId, filter_mirrored_at_timestamp_gte: filterMirroredAtTimestampGte, filter_mirrored_at_timestamp_lte: filterMirroredAtTimestampLte, filter_created_at_timestamp_gte: filterCreatedAtTimestampGte, filter_created_at_timestamp_lte: filterCreatedAtTimestampLte, filter_updated_at_timestamp_gte: filterUpdatedAtTimestampGte, filter_updated_at_timestamp_lte: filterUpdatedAtTimestampLte, } = request;
|
|
173
|
+
const { sort_by: sortBy, sort_order: sortOrder, limit, page, search, filter_cxt_order_ids: filterCxtOrderIds, filter_provider_org_id: filterProviderOrgId, filter_integration_order_id: filterIntegrationOrderId, filter_mirrored_at_timestamp_gte: filterMirroredAtTimestampGte, filter_mirrored_at_timestamp_lte: filterMirroredAtTimestampLte, filter_created_at_timestamp_gte: filterCreatedAtTimestampGte, filter_created_at_timestamp_lte: filterCreatedAtTimestampLte, filter_updated_at_timestamp_gte: filterUpdatedAtTimestampGte, filter_updated_at_timestamp_lte: filterUpdatedAtTimestampLte, } = request;
|
|
173
174
|
const _queryParams = {};
|
|
174
175
|
if (sortBy !== undefined) {
|
|
175
176
|
_queryParams["sort_by"] = sortBy;
|
|
@@ -186,6 +187,14 @@ export class Orders {
|
|
|
186
187
|
if (search !== undefined) {
|
|
187
188
|
_queryParams["search"] = search;
|
|
188
189
|
}
|
|
190
|
+
if (filterCxtOrderIds !== undefined) {
|
|
191
|
+
if (Array.isArray(filterCxtOrderIds)) {
|
|
192
|
+
_queryParams["filter_cxt_order_ids"] = filterCxtOrderIds.map((item) => item);
|
|
193
|
+
}
|
|
194
|
+
else {
|
|
195
|
+
_queryParams["filter_cxt_order_ids"] = filterCxtOrderIds;
|
|
196
|
+
}
|
|
197
|
+
}
|
|
189
198
|
if (filterProviderOrgId !== undefined) {
|
|
190
199
|
if (Array.isArray(filterProviderOrgId)) {
|
|
191
200
|
_queryParams["filter_provider_org_id"] = filterProviderOrgId.map((item) => item);
|
|
@@ -322,6 +331,74 @@ export class Orders {
|
|
|
322
331
|
}
|
|
323
332
|
});
|
|
324
333
|
}
|
|
334
|
+
/**
|
|
335
|
+
* Returns matching integration_order_id values and their IDs within the caller's organization. | () -> (list[CxtOrderTypeaheadResult])
|
|
336
|
+
*
|
|
337
|
+
* @param {Chrt.shippingIntegrations.cxt.OrdersTypeaheadV1Request} request
|
|
338
|
+
* @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
|
|
339
|
+
*
|
|
340
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
341
|
+
*
|
|
342
|
+
* @example
|
|
343
|
+
* await client.shippingIntegrations.cxt.orders.typeaheadV1({
|
|
344
|
+
* query: "query",
|
|
345
|
+
* limit: 1
|
|
346
|
+
* })
|
|
347
|
+
*/
|
|
348
|
+
typeaheadV1(request, requestOptions) {
|
|
349
|
+
return core.HttpResponsePromise.fromPromise(this.__typeaheadV1(request, requestOptions));
|
|
350
|
+
}
|
|
351
|
+
__typeaheadV1(request, requestOptions) {
|
|
352
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
353
|
+
var _a, _b, _c, _d, _e;
|
|
354
|
+
const { query, limit } = request;
|
|
355
|
+
const _queryParams = {};
|
|
356
|
+
_queryParams["query"] = query;
|
|
357
|
+
if (limit !== undefined) {
|
|
358
|
+
_queryParams["limit"] = (_a = limit === null || limit === void 0 ? void 0 : limit.toString()) !== null && _a !== void 0 ? _a : null;
|
|
359
|
+
}
|
|
360
|
+
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);
|
|
361
|
+
const _response = yield ((_c = this._options.fetcher) !== null && _c !== void 0 ? _c : core.fetcher)({
|
|
362
|
+
url: core.url.join((_e = (_d = (yield core.Supplier.get(this._options.baseUrl))) !== null && _d !== void 0 ? _d : (yield core.Supplier.get(this._options.environment))) !== null && _e !== void 0 ? _e : environments.ChrtEnvironment.Local, "shipping_integrations/cxt/orders/typeahead/v1"),
|
|
363
|
+
method: "GET",
|
|
364
|
+
headers: _headers,
|
|
365
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
366
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
367
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
368
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
369
|
+
});
|
|
370
|
+
if (_response.ok) {
|
|
371
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
372
|
+
}
|
|
373
|
+
if (_response.error.reason === "status-code") {
|
|
374
|
+
switch (_response.error.statusCode) {
|
|
375
|
+
case 422:
|
|
376
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
377
|
+
default:
|
|
378
|
+
throw new errors.ChrtError({
|
|
379
|
+
statusCode: _response.error.statusCode,
|
|
380
|
+
body: _response.error.body,
|
|
381
|
+
rawResponse: _response.rawResponse,
|
|
382
|
+
});
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
switch (_response.error.reason) {
|
|
386
|
+
case "non-json":
|
|
387
|
+
throw new errors.ChrtError({
|
|
388
|
+
statusCode: _response.error.statusCode,
|
|
389
|
+
body: _response.error.rawBody,
|
|
390
|
+
rawResponse: _response.rawResponse,
|
|
391
|
+
});
|
|
392
|
+
case "timeout":
|
|
393
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping_integrations/cxt/orders/typeahead/v1.");
|
|
394
|
+
case "unknown":
|
|
395
|
+
throw new errors.ChrtError({
|
|
396
|
+
message: _response.error.errorMessage,
|
|
397
|
+
rawResponse: _response.rawResponse,
|
|
398
|
+
});
|
|
399
|
+
}
|
|
400
|
+
});
|
|
401
|
+
}
|
|
325
402
|
_getAuthorizationHeader() {
|
|
326
403
|
return __awaiter(this, void 0, void 0, function* () {
|
|
327
404
|
const bearer = yield core.Supplier.get(this._options.token);
|
|
@@ -10,6 +10,7 @@ import * as Chrt from "../../../../../../../../index.mjs";
|
|
|
10
10
|
* limit: 1,
|
|
11
11
|
* page: 1,
|
|
12
12
|
* search: "search",
|
|
13
|
+
* filter_cxt_order_ids: ["filter_cxt_order_ids"],
|
|
13
14
|
* filter_provider_org_id: ["filter_provider_org_id"],
|
|
14
15
|
* filter_integration_order_id: "filter_integration_order_id",
|
|
15
16
|
* filter_mirrored_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
@@ -31,6 +32,8 @@ export interface OrdersListV1Request {
|
|
|
31
32
|
page?: number | null;
|
|
32
33
|
/** Search CXT order IDs. */
|
|
33
34
|
search?: string | null;
|
|
35
|
+
/** Filter by cxt order IDs */
|
|
36
|
+
filter_cxt_order_ids?: (string | null) | (string | null)[];
|
|
34
37
|
/** Filter by provider org ID(s) */
|
|
35
38
|
filter_provider_org_id?: (string | null) | (string | null)[];
|
|
36
39
|
/** Filter by CXT's exact order ID */
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* {
|
|
7
|
+
* query: "query",
|
|
8
|
+
* limit: 1
|
|
9
|
+
* }
|
|
10
|
+
*/
|
|
11
|
+
export interface OrdersTypeaheadV1Request {
|
|
12
|
+
/** Typeahead search query */
|
|
13
|
+
query: string;
|
|
14
|
+
/** Max results per field */
|
|
15
|
+
limit?: number | null;
|
|
16
|
+
}
|