@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
|
@@ -97,6 +97,7 @@ export class OffChrtOrgData {
|
|
|
97
97
|
*
|
|
98
98
|
* @example
|
|
99
99
|
* await client.orgs.offChrtOrgData.listV1({
|
|
100
|
+
* filter_off_chrt_org_data_ids: ["filter_off_chrt_org_data_ids"],
|
|
100
101
|
* search: "search",
|
|
101
102
|
* filter_org_type: "provider",
|
|
102
103
|
* sort_by: "name",
|
|
@@ -111,8 +112,16 @@ export class OffChrtOrgData {
|
|
|
111
112
|
__listV1() {
|
|
112
113
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
113
114
|
var _a, _b, _c, _d, _e, _f;
|
|
114
|
-
const { search, filter_org_type: filterOrgType, sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, } = request;
|
|
115
|
+
const { filter_off_chrt_org_data_ids: filterOffChrtOrgDataIds, search, filter_org_type: filterOrgType, sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, } = request;
|
|
115
116
|
const _queryParams = {};
|
|
117
|
+
if (filterOffChrtOrgDataIds !== undefined) {
|
|
118
|
+
if (Array.isArray(filterOffChrtOrgDataIds)) {
|
|
119
|
+
_queryParams["filter_off_chrt_org_data_ids"] = filterOffChrtOrgDataIds.map((item) => item);
|
|
120
|
+
}
|
|
121
|
+
else {
|
|
122
|
+
_queryParams["filter_off_chrt_org_data_ids"] = filterOffChrtOrgDataIds;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
116
125
|
if (search !== undefined) {
|
|
117
126
|
_queryParams["search"] = search;
|
|
118
127
|
}
|
|
@@ -173,6 +182,74 @@ export class OffChrtOrgData {
|
|
|
173
182
|
}
|
|
174
183
|
});
|
|
175
184
|
}
|
|
185
|
+
/**
|
|
186
|
+
* Returns matching name values and their IDs within the caller's organization. | authz: allowed_org_types=[provider] | () -> (list[OffChrtOrgDataTypeaheadResult])
|
|
187
|
+
*
|
|
188
|
+
* @param {Chrt.orgs.OffChrtOrgDataTypeaheadV1Request} request
|
|
189
|
+
* @param {OffChrtOrgData.RequestOptions} requestOptions - Request-specific configuration.
|
|
190
|
+
*
|
|
191
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
192
|
+
*
|
|
193
|
+
* @example
|
|
194
|
+
* await client.orgs.offChrtOrgData.typeaheadV1({
|
|
195
|
+
* query: "query",
|
|
196
|
+
* limit: 1
|
|
197
|
+
* })
|
|
198
|
+
*/
|
|
199
|
+
typeaheadV1(request, requestOptions) {
|
|
200
|
+
return core.HttpResponsePromise.fromPromise(this.__typeaheadV1(request, requestOptions));
|
|
201
|
+
}
|
|
202
|
+
__typeaheadV1(request, requestOptions) {
|
|
203
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
204
|
+
var _a, _b, _c, _d, _e;
|
|
205
|
+
const { query, limit } = request;
|
|
206
|
+
const _queryParams = {};
|
|
207
|
+
_queryParams["query"] = query;
|
|
208
|
+
if (limit !== undefined) {
|
|
209
|
+
_queryParams["limit"] = (_a = limit === null || limit === void 0 ? void 0 : limit.toString()) !== null && _a !== void 0 ? _a : null;
|
|
210
|
+
}
|
|
211
|
+
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);
|
|
212
|
+
const _response = yield ((_c = this._options.fetcher) !== null && _c !== void 0 ? _c : core.fetcher)({
|
|
213
|
+
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, "orgs/off_chrt_org_data/typeahead/v1"),
|
|
214
|
+
method: "GET",
|
|
215
|
+
headers: _headers,
|
|
216
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
217
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
218
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
219
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
220
|
+
});
|
|
221
|
+
if (_response.ok) {
|
|
222
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
223
|
+
}
|
|
224
|
+
if (_response.error.reason === "status-code") {
|
|
225
|
+
switch (_response.error.statusCode) {
|
|
226
|
+
case 422:
|
|
227
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
228
|
+
default:
|
|
229
|
+
throw new errors.ChrtError({
|
|
230
|
+
statusCode: _response.error.statusCode,
|
|
231
|
+
body: _response.error.body,
|
|
232
|
+
rawResponse: _response.rawResponse,
|
|
233
|
+
});
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
switch (_response.error.reason) {
|
|
237
|
+
case "non-json":
|
|
238
|
+
throw new errors.ChrtError({
|
|
239
|
+
statusCode: _response.error.statusCode,
|
|
240
|
+
body: _response.error.rawBody,
|
|
241
|
+
rawResponse: _response.rawResponse,
|
|
242
|
+
});
|
|
243
|
+
case "timeout":
|
|
244
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /orgs/off_chrt_org_data/typeahead/v1.");
|
|
245
|
+
case "unknown":
|
|
246
|
+
throw new errors.ChrtError({
|
|
247
|
+
message: _response.error.errorMessage,
|
|
248
|
+
rawResponse: _response.rawResponse,
|
|
249
|
+
});
|
|
250
|
+
}
|
|
251
|
+
});
|
|
252
|
+
}
|
|
176
253
|
/**
|
|
177
254
|
* Gets owner-scoped off-CHRT organization data by ID. | authz: allowed_org_types=[provider] | () -> (OffChrtOrgData1)
|
|
178
255
|
*
|
|
@@ -5,6 +5,7 @@ import * as Chrt from "../../../../../../index.mjs";
|
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
7
|
* {
|
|
8
|
+
* filter_off_chrt_org_data_ids: ["filter_off_chrt_org_data_ids"],
|
|
8
9
|
* search: "search",
|
|
9
10
|
* filter_org_type: "provider",
|
|
10
11
|
* sort_by: "name",
|
|
@@ -14,6 +15,8 @@ import * as Chrt from "../../../../../../index.mjs";
|
|
|
14
15
|
* }
|
|
15
16
|
*/
|
|
16
17
|
export interface OffChrtOrgDataListV1Request {
|
|
18
|
+
/** Filter by selected off chrt org data ids */
|
|
19
|
+
filter_off_chrt_org_data_ids?: (string | null) | (string | null)[];
|
|
17
20
|
/** Search by name, industry, or email */
|
|
18
21
|
search?: string | null;
|
|
19
22
|
filter_org_type?: Chrt.OrgTypeEnum | null;
|
|
@@ -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 OffChrtOrgDataTypeaheadV1Request {
|
|
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 CreateOffChrtOrgReq } from "./CreateOffChrtOrgReq.mjs";
|
|
2
2
|
export { type OffChrtOrgDataListV1Request } from "./OffChrtOrgDataListV1Request.mjs";
|
|
3
|
+
export { type OffChrtOrgDataTypeaheadV1Request } from "./OffChrtOrgDataTypeaheadV1Request.mjs";
|
|
3
4
|
export { type OffChrtOrgDataClientUpdate1 } from "./OffChrtOrgDataClientUpdate1.mjs";
|
|
@@ -96,10 +96,10 @@ export declare class Drivers {
|
|
|
96
96
|
* page: 1,
|
|
97
97
|
* page_size: 1,
|
|
98
98
|
* search: "search",
|
|
99
|
+
* filter_driver_ids: ["filter_driver_ids"],
|
|
99
100
|
* filter_waiting: true,
|
|
100
101
|
* filter_auto_assign_enabled: true,
|
|
101
102
|
* filter_vehicle_type: ["sedan"],
|
|
102
|
-
* filter_by_driver_id: "filter_by_driver_id",
|
|
103
103
|
* filter_archived: true,
|
|
104
104
|
* filter_available_according_to_driver: true,
|
|
105
105
|
* filter_available_according_to_operators: true,
|
|
@@ -118,6 +118,7 @@ export declare class Drivers {
|
|
|
118
118
|
*
|
|
119
119
|
* @example
|
|
120
120
|
* await client.shipping.drivers.listOrgMembersAndDriversV1({
|
|
121
|
+
* filter_user_ids: ["filter_user_ids"],
|
|
121
122
|
* search: "search",
|
|
122
123
|
* filter_archived: true,
|
|
123
124
|
* filter_role: ["owner"],
|
|
@@ -249,6 +250,22 @@ export declare class Drivers {
|
|
|
249
250
|
*/
|
|
250
251
|
getStatsV1(driverId: string, request: Chrt.shipping.DriverStatsReq, requestOptions?: Drivers.RequestOptions): core.HttpResponsePromise<Chrt.DriverStatsRes>;
|
|
251
252
|
private __getStatsV1;
|
|
253
|
+
/**
|
|
254
|
+
* Returns matching first_name, last_name values and their IDs within the caller's organization, excluding archived drivers. | () -> (list[DriverTypeaheadResult])
|
|
255
|
+
*
|
|
256
|
+
* @param {Chrt.shipping.DriversTypeaheadV1Request} request
|
|
257
|
+
* @param {Drivers.RequestOptions} requestOptions - Request-specific configuration.
|
|
258
|
+
*
|
|
259
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
260
|
+
*
|
|
261
|
+
* @example
|
|
262
|
+
* await client.shipping.drivers.typeaheadV1({
|
|
263
|
+
* query: "query",
|
|
264
|
+
* limit: 1
|
|
265
|
+
* })
|
|
266
|
+
*/
|
|
267
|
+
typeaheadV1(request: Chrt.shipping.DriversTypeaheadV1Request, requestOptions?: Drivers.RequestOptions): core.HttpResponsePromise<Chrt.DriverTypeaheadResult[]>;
|
|
268
|
+
private __typeaheadV1;
|
|
252
269
|
/**
|
|
253
270
|
* Restores an archived driver with active organization membership. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (bool)
|
|
254
271
|
*
|
|
@@ -280,10 +280,10 @@ export class Drivers {
|
|
|
280
280
|
* page: 1,
|
|
281
281
|
* page_size: 1,
|
|
282
282
|
* search: "search",
|
|
283
|
+
* filter_driver_ids: ["filter_driver_ids"],
|
|
283
284
|
* filter_waiting: true,
|
|
284
285
|
* filter_auto_assign_enabled: true,
|
|
285
286
|
* filter_vehicle_type: ["sedan"],
|
|
286
|
-
* filter_by_driver_id: "filter_by_driver_id",
|
|
287
287
|
* filter_archived: true,
|
|
288
288
|
* filter_available_according_to_driver: true,
|
|
289
289
|
* filter_available_according_to_operators: true,
|
|
@@ -296,7 +296,7 @@ export class Drivers {
|
|
|
296
296
|
__listV1() {
|
|
297
297
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
298
298
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
299
|
-
const { sort_order: sortOrder, page, page_size: pageSize, search, filter_waiting: filterWaiting, filter_auto_assign_enabled: filterAutoAssignEnabled, filter_vehicle_type: filterVehicleType,
|
|
299
|
+
const { sort_order: sortOrder, page, page_size: pageSize, search, filter_driver_ids: filterDriverIds, filter_waiting: filterWaiting, filter_auto_assign_enabled: filterAutoAssignEnabled, filter_vehicle_type: filterVehicleType, filter_archived: filterArchived, filter_available_according_to_driver: filterAvailableAccordingToDriver, filter_available_according_to_operators: filterAvailableAccordingToOperators, filter_status: filterStatus, } = request;
|
|
300
300
|
const _queryParams = {};
|
|
301
301
|
if (sortOrder !== undefined) {
|
|
302
302
|
_queryParams["sort_order"] = sortOrder;
|
|
@@ -310,6 +310,14 @@ export class Drivers {
|
|
|
310
310
|
if (search !== undefined) {
|
|
311
311
|
_queryParams["search"] = search;
|
|
312
312
|
}
|
|
313
|
+
if (filterDriverIds !== undefined) {
|
|
314
|
+
if (Array.isArray(filterDriverIds)) {
|
|
315
|
+
_queryParams["filter_driver_ids"] = filterDriverIds.map((item) => item);
|
|
316
|
+
}
|
|
317
|
+
else {
|
|
318
|
+
_queryParams["filter_driver_ids"] = filterDriverIds;
|
|
319
|
+
}
|
|
320
|
+
}
|
|
313
321
|
if (filterWaiting !== undefined) {
|
|
314
322
|
_queryParams["filter_waiting"] = (_c = filterWaiting === null || filterWaiting === void 0 ? void 0 : filterWaiting.toString()) !== null && _c !== void 0 ? _c : null;
|
|
315
323
|
}
|
|
@@ -324,9 +332,6 @@ export class Drivers {
|
|
|
324
332
|
_queryParams["filter_vehicle_type"] = filterVehicleType;
|
|
325
333
|
}
|
|
326
334
|
}
|
|
327
|
-
if (filterByDriverId !== undefined) {
|
|
328
|
-
_queryParams["filter_by_driver_id"] = filterByDriverId;
|
|
329
|
-
}
|
|
330
335
|
if (filterArchived !== undefined) {
|
|
331
336
|
_queryParams["filter_archived"] = (_e = filterArchived === null || filterArchived === void 0 ? void 0 : filterArchived.toString()) !== null && _e !== void 0 ? _e : null;
|
|
332
337
|
}
|
|
@@ -397,6 +402,7 @@ export class Drivers {
|
|
|
397
402
|
*
|
|
398
403
|
* @example
|
|
399
404
|
* await client.shipping.drivers.listOrgMembersAndDriversV1({
|
|
405
|
+
* filter_user_ids: ["filter_user_ids"],
|
|
400
406
|
* search: "search",
|
|
401
407
|
* filter_archived: true,
|
|
402
408
|
* filter_role: ["owner"],
|
|
@@ -414,8 +420,16 @@ export class Drivers {
|
|
|
414
420
|
__listOrgMembersAndDriversV1() {
|
|
415
421
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
416
422
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
417
|
-
const { search, filter_archived: filterArchived, filter_role: filterRole, filter_available_according_to_driver: filterAvailableAccordingToDriver, filter_available_according_to_operators: filterAvailableAccordingToOperators, sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, } = request;
|
|
423
|
+
const { filter_user_ids: filterUserIds, search, filter_archived: filterArchived, filter_role: filterRole, filter_available_according_to_driver: filterAvailableAccordingToDriver, filter_available_according_to_operators: filterAvailableAccordingToOperators, sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, } = request;
|
|
418
424
|
const _queryParams = {};
|
|
425
|
+
if (filterUserIds !== undefined) {
|
|
426
|
+
if (Array.isArray(filterUserIds)) {
|
|
427
|
+
_queryParams["filter_user_ids"] = filterUserIds.map((item) => item);
|
|
428
|
+
}
|
|
429
|
+
else {
|
|
430
|
+
_queryParams["filter_user_ids"] = filterUserIds;
|
|
431
|
+
}
|
|
432
|
+
}
|
|
419
433
|
if (search !== undefined) {
|
|
420
434
|
_queryParams["search"] = search;
|
|
421
435
|
}
|
|
@@ -995,6 +1009,74 @@ export class Drivers {
|
|
|
995
1009
|
}
|
|
996
1010
|
});
|
|
997
1011
|
}
|
|
1012
|
+
/**
|
|
1013
|
+
* Returns matching first_name, last_name values and their IDs within the caller's organization, excluding archived drivers. | () -> (list[DriverTypeaheadResult])
|
|
1014
|
+
*
|
|
1015
|
+
* @param {Chrt.shipping.DriversTypeaheadV1Request} request
|
|
1016
|
+
* @param {Drivers.RequestOptions} requestOptions - Request-specific configuration.
|
|
1017
|
+
*
|
|
1018
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
1019
|
+
*
|
|
1020
|
+
* @example
|
|
1021
|
+
* await client.shipping.drivers.typeaheadV1({
|
|
1022
|
+
* query: "query",
|
|
1023
|
+
* limit: 1
|
|
1024
|
+
* })
|
|
1025
|
+
*/
|
|
1026
|
+
typeaheadV1(request, requestOptions) {
|
|
1027
|
+
return core.HttpResponsePromise.fromPromise(this.__typeaheadV1(request, requestOptions));
|
|
1028
|
+
}
|
|
1029
|
+
__typeaheadV1(request, requestOptions) {
|
|
1030
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1031
|
+
var _a, _b, _c, _d, _e;
|
|
1032
|
+
const { query, limit } = request;
|
|
1033
|
+
const _queryParams = {};
|
|
1034
|
+
_queryParams["query"] = query;
|
|
1035
|
+
if (limit !== undefined) {
|
|
1036
|
+
_queryParams["limit"] = (_a = limit === null || limit === void 0 ? void 0 : limit.toString()) !== null && _a !== void 0 ? _a : null;
|
|
1037
|
+
}
|
|
1038
|
+
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);
|
|
1039
|
+
const _response = yield ((_c = this._options.fetcher) !== null && _c !== void 0 ? _c : core.fetcher)({
|
|
1040
|
+
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/drivers/typeahead/v1"),
|
|
1041
|
+
method: "GET",
|
|
1042
|
+
headers: _headers,
|
|
1043
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
1044
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
1045
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
1046
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1047
|
+
});
|
|
1048
|
+
if (_response.ok) {
|
|
1049
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
1050
|
+
}
|
|
1051
|
+
if (_response.error.reason === "status-code") {
|
|
1052
|
+
switch (_response.error.statusCode) {
|
|
1053
|
+
case 422:
|
|
1054
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
1055
|
+
default:
|
|
1056
|
+
throw new errors.ChrtError({
|
|
1057
|
+
statusCode: _response.error.statusCode,
|
|
1058
|
+
body: _response.error.body,
|
|
1059
|
+
rawResponse: _response.rawResponse,
|
|
1060
|
+
});
|
|
1061
|
+
}
|
|
1062
|
+
}
|
|
1063
|
+
switch (_response.error.reason) {
|
|
1064
|
+
case "non-json":
|
|
1065
|
+
throw new errors.ChrtError({
|
|
1066
|
+
statusCode: _response.error.statusCode,
|
|
1067
|
+
body: _response.error.rawBody,
|
|
1068
|
+
rawResponse: _response.rawResponse,
|
|
1069
|
+
});
|
|
1070
|
+
case "timeout":
|
|
1071
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping/drivers/typeahead/v1.");
|
|
1072
|
+
case "unknown":
|
|
1073
|
+
throw new errors.ChrtError({
|
|
1074
|
+
message: _response.error.errorMessage,
|
|
1075
|
+
rawResponse: _response.rawResponse,
|
|
1076
|
+
});
|
|
1077
|
+
}
|
|
1078
|
+
});
|
|
1079
|
+
}
|
|
998
1080
|
/**
|
|
999
1081
|
* Restores an archived driver with active organization membership. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (bool)
|
|
1000
1082
|
*
|
|
@@ -5,6 +5,7 @@ import * as Chrt from "../../../../../../index.mjs";
|
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
7
|
* {
|
|
8
|
+
* filter_user_ids: ["filter_user_ids"],
|
|
8
9
|
* search: "search",
|
|
9
10
|
* filter_archived: true,
|
|
10
11
|
* filter_role: ["owner"],
|
|
@@ -17,6 +18,8 @@ import * as Chrt from "../../../../../../index.mjs";
|
|
|
17
18
|
* }
|
|
18
19
|
*/
|
|
19
20
|
export interface DriversListOrgMembersAndDriversV1Request {
|
|
21
|
+
/** Filter by user IDs */
|
|
22
|
+
filter_user_ids?: (string | null) | (string | null)[];
|
|
20
23
|
/** Search by first or last name */
|
|
21
24
|
search?: string | null;
|
|
22
25
|
/** Select archived driver profiles */
|
package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriversListV1Request.d.mts
CHANGED
|
@@ -9,10 +9,10 @@ import * as Chrt from "../../../../../../index.mjs";
|
|
|
9
9
|
* page: 1,
|
|
10
10
|
* page_size: 1,
|
|
11
11
|
* search: "search",
|
|
12
|
+
* filter_driver_ids: ["filter_driver_ids"],
|
|
12
13
|
* filter_waiting: true,
|
|
13
14
|
* filter_auto_assign_enabled: true,
|
|
14
15
|
* filter_vehicle_type: ["sedan"],
|
|
15
|
-
* filter_by_driver_id: "filter_by_driver_id",
|
|
16
16
|
* filter_archived: true,
|
|
17
17
|
* filter_available_according_to_driver: true,
|
|
18
18
|
* filter_available_according_to_operators: true,
|
|
@@ -26,14 +26,14 @@ export interface DriversListV1Request {
|
|
|
26
26
|
page_size?: number | null;
|
|
27
27
|
/** Full-text search query */
|
|
28
28
|
search?: string | null;
|
|
29
|
+
/** Filter by selected driver ids */
|
|
30
|
+
filter_driver_ids?: (string | null) | (string | null)[];
|
|
29
31
|
/** Filter by waiting status */
|
|
30
32
|
filter_waiting?: boolean | null;
|
|
31
33
|
/** Filter by automatic assignment consent */
|
|
32
34
|
filter_auto_assign_enabled?: boolean | null;
|
|
33
35
|
/** Filter by any matching vehicle type */
|
|
34
36
|
filter_vehicle_type?: (Chrt.VehicleTypeEnum | null) | (Chrt.VehicleTypeEnum | null)[];
|
|
35
|
-
/** Filter by driver ID */
|
|
36
|
-
filter_by_driver_id?: string | null;
|
|
37
37
|
/** Select archived drivers instead of active drivers */
|
|
38
38
|
filter_archived?: boolean | null;
|
|
39
39
|
/** Filter by driver's self-reported availability */
|
|
@@ -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 DriversTypeaheadV1Request {
|
|
12
|
+
/** Typeahead search query */
|
|
13
|
+
query: string;
|
|
14
|
+
/** Max results per field */
|
|
15
|
+
limit?: number | null;
|
|
16
|
+
}
|
|
@@ -6,5 +6,6 @@ export { type DriversListSelfReportedHoursAndMileageV1Request } from "./DriversL
|
|
|
6
6
|
export { type DriversOrgListSelfReportedHoursAndMileageV1Request } from "./DriversOrgListSelfReportedHoursAndMileageV1Request.mjs";
|
|
7
7
|
export { type DriverSelfReportedHoursAndMileageClientUpdate1 } from "./DriverSelfReportedHoursAndMileageClientUpdate1.mjs";
|
|
8
8
|
export { type DriverStatsReq } from "./DriverStatsReq.mjs";
|
|
9
|
+
export { type DriversTypeaheadV1Request } from "./DriversTypeaheadV1Request.mjs";
|
|
9
10
|
export { type DriverClientUpdate1 } from "./DriverClientUpdate1.mjs";
|
|
10
11
|
export { type DriverUpdateAutoAssignReq } from "./DriverUpdateAutoAssignReq.mjs";
|
|
@@ -102,6 +102,7 @@ export declare class OrderTemplatesNew {
|
|
|
102
102
|
* page: 1,
|
|
103
103
|
* page_size: 1,
|
|
104
104
|
* search: "search",
|
|
105
|
+
* filter_order_template_new_ids: ["filter_order_template_new_ids"],
|
|
105
106
|
* filter_archived: true,
|
|
106
107
|
* filter_owned_by_user_id: "filter_owned_by_user_id",
|
|
107
108
|
* filter_coordinator_labels: ["filter_coordinator_labels"],
|
|
@@ -120,6 +121,22 @@ export declare class OrderTemplatesNew {
|
|
|
120
121
|
*/
|
|
121
122
|
listV1(request?: Chrt.shipping.OrderTemplatesNewListV1Request, requestOptions?: OrderTemplatesNew.RequestOptions): core.HttpResponsePromise<Chrt.OrderTemplateNewListRes>;
|
|
122
123
|
private __listV1;
|
|
124
|
+
/**
|
|
125
|
+
* Returns matching name values and their IDs within the caller's organization, excluding archived order templates. | authz: min_org_role=operator | () -> (list[OrderTemplateNewTypeaheadResult])
|
|
126
|
+
*
|
|
127
|
+
* @param {Chrt.shipping.OrderTemplatesNewTypeaheadV1Request} request
|
|
128
|
+
* @param {OrderTemplatesNew.RequestOptions} requestOptions - Request-specific configuration.
|
|
129
|
+
*
|
|
130
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
131
|
+
*
|
|
132
|
+
* @example
|
|
133
|
+
* await client.shipping.orderTemplatesNew.typeaheadV1({
|
|
134
|
+
* query: "query",
|
|
135
|
+
* limit: 1
|
|
136
|
+
* })
|
|
137
|
+
*/
|
|
138
|
+
typeaheadV1(request: Chrt.shipping.OrderTemplatesNewTypeaheadV1Request, requestOptions?: OrderTemplatesNew.RequestOptions): core.HttpResponsePromise<Chrt.OrderTemplateNewTypeaheadResult[]>;
|
|
139
|
+
private __typeaheadV1;
|
|
123
140
|
/**
|
|
124
141
|
* Restores an archived order template owned by the caller's organization. | authz: min_org_role=operator | () -> (bool)
|
|
125
142
|
*
|
|
@@ -246,6 +246,7 @@ export class OrderTemplatesNew {
|
|
|
246
246
|
* page: 1,
|
|
247
247
|
* page_size: 1,
|
|
248
248
|
* search: "search",
|
|
249
|
+
* filter_order_template_new_ids: ["filter_order_template_new_ids"],
|
|
249
250
|
* filter_archived: true,
|
|
250
251
|
* filter_owned_by_user_id: "filter_owned_by_user_id",
|
|
251
252
|
* filter_coordinator_labels: ["filter_coordinator_labels"],
|
|
@@ -268,7 +269,7 @@ export class OrderTemplatesNew {
|
|
|
268
269
|
__listV1() {
|
|
269
270
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
270
271
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
271
|
-
const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_archived: filterArchived, filter_owned_by_user_id: filterOwnedByUserId, filter_coordinator_labels: filterCoordinatorLabels, filter_executor_org_id: filterExecutorOrgId, filter_off_chrt_executor_org_data_id: filterOffChrtExecutorOrgDataId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_data_id: filterOffChrtShipperOrgDataId, filter_coordinator_shipper_account_ids: filterCoordinatorShipperAccountIds, 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, filter_last_used_at_timestamp_gte: filterLastUsedAtTimestampGte, filter_last_used_at_timestamp_lte: filterLastUsedAtTimestampLte, } = request;
|
|
272
|
+
const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_order_template_new_ids: filterOrderTemplateNewIds, filter_archived: filterArchived, filter_owned_by_user_id: filterOwnedByUserId, filter_coordinator_labels: filterCoordinatorLabels, filter_executor_org_id: filterExecutorOrgId, filter_off_chrt_executor_org_data_id: filterOffChrtExecutorOrgDataId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_data_id: filterOffChrtShipperOrgDataId, filter_coordinator_shipper_account_ids: filterCoordinatorShipperAccountIds, 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, filter_last_used_at_timestamp_gte: filterLastUsedAtTimestampGte, filter_last_used_at_timestamp_lte: filterLastUsedAtTimestampLte, } = request;
|
|
272
273
|
const _queryParams = {};
|
|
273
274
|
if (sortBy !== undefined) {
|
|
274
275
|
_queryParams["sort_by"] = sortBy;
|
|
@@ -285,6 +286,14 @@ export class OrderTemplatesNew {
|
|
|
285
286
|
if (search !== undefined) {
|
|
286
287
|
_queryParams["search"] = search;
|
|
287
288
|
}
|
|
289
|
+
if (filterOrderTemplateNewIds !== undefined) {
|
|
290
|
+
if (Array.isArray(filterOrderTemplateNewIds)) {
|
|
291
|
+
_queryParams["filter_order_template_new_ids"] = filterOrderTemplateNewIds.map((item) => item);
|
|
292
|
+
}
|
|
293
|
+
else {
|
|
294
|
+
_queryParams["filter_order_template_new_ids"] = filterOrderTemplateNewIds;
|
|
295
|
+
}
|
|
296
|
+
}
|
|
288
297
|
if (filterArchived !== undefined) {
|
|
289
298
|
_queryParams["filter_archived"] = (_c = filterArchived === null || filterArchived === void 0 ? void 0 : filterArchived.toString()) !== null && _c !== void 0 ? _c : null;
|
|
290
299
|
}
|
|
@@ -379,6 +388,77 @@ export class OrderTemplatesNew {
|
|
|
379
388
|
}
|
|
380
389
|
});
|
|
381
390
|
}
|
|
391
|
+
/**
|
|
392
|
+
* Returns matching name values and their IDs within the caller's organization, excluding archived order templates. | authz: min_org_role=operator | () -> (list[OrderTemplateNewTypeaheadResult])
|
|
393
|
+
*
|
|
394
|
+
* @param {Chrt.shipping.OrderTemplatesNewTypeaheadV1Request} request
|
|
395
|
+
* @param {OrderTemplatesNew.RequestOptions} requestOptions - Request-specific configuration.
|
|
396
|
+
*
|
|
397
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
398
|
+
*
|
|
399
|
+
* @example
|
|
400
|
+
* await client.shipping.orderTemplatesNew.typeaheadV1({
|
|
401
|
+
* query: "query",
|
|
402
|
+
* limit: 1
|
|
403
|
+
* })
|
|
404
|
+
*/
|
|
405
|
+
typeaheadV1(request, requestOptions) {
|
|
406
|
+
return core.HttpResponsePromise.fromPromise(this.__typeaheadV1(request, requestOptions));
|
|
407
|
+
}
|
|
408
|
+
__typeaheadV1(request, requestOptions) {
|
|
409
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
410
|
+
var _a, _b, _c, _d, _e;
|
|
411
|
+
const { query, limit } = request;
|
|
412
|
+
const _queryParams = {};
|
|
413
|
+
_queryParams["query"] = query;
|
|
414
|
+
if (limit !== undefined) {
|
|
415
|
+
_queryParams["limit"] = (_a = limit === null || limit === void 0 ? void 0 : limit.toString()) !== null && _a !== void 0 ? _a : null;
|
|
416
|
+
}
|
|
417
|
+
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);
|
|
418
|
+
const _response = yield ((_c = this._options.fetcher) !== null && _c !== void 0 ? _c : core.fetcher)({
|
|
419
|
+
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/order_templates_new/typeahead/v1"),
|
|
420
|
+
method: "GET",
|
|
421
|
+
headers: _headers,
|
|
422
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
423
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
424
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
425
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
426
|
+
});
|
|
427
|
+
if (_response.ok) {
|
|
428
|
+
return {
|
|
429
|
+
data: _response.body,
|
|
430
|
+
rawResponse: _response.rawResponse,
|
|
431
|
+
};
|
|
432
|
+
}
|
|
433
|
+
if (_response.error.reason === "status-code") {
|
|
434
|
+
switch (_response.error.statusCode) {
|
|
435
|
+
case 422:
|
|
436
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
437
|
+
default:
|
|
438
|
+
throw new errors.ChrtError({
|
|
439
|
+
statusCode: _response.error.statusCode,
|
|
440
|
+
body: _response.error.body,
|
|
441
|
+
rawResponse: _response.rawResponse,
|
|
442
|
+
});
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
switch (_response.error.reason) {
|
|
446
|
+
case "non-json":
|
|
447
|
+
throw new errors.ChrtError({
|
|
448
|
+
statusCode: _response.error.statusCode,
|
|
449
|
+
body: _response.error.rawBody,
|
|
450
|
+
rawResponse: _response.rawResponse,
|
|
451
|
+
});
|
|
452
|
+
case "timeout":
|
|
453
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping/order_templates_new/typeahead/v1.");
|
|
454
|
+
case "unknown":
|
|
455
|
+
throw new errors.ChrtError({
|
|
456
|
+
message: _response.error.errorMessage,
|
|
457
|
+
rawResponse: _response.rawResponse,
|
|
458
|
+
});
|
|
459
|
+
}
|
|
460
|
+
});
|
|
461
|
+
}
|
|
382
462
|
/**
|
|
383
463
|
* Restores an archived order template owned by the caller's organization. | authz: min_org_role=operator | () -> (bool)
|
|
384
464
|
*
|
|
@@ -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_template_new_ids: ["filter_order_template_new_ids"],
|
|
13
14
|
* filter_archived: true,
|
|
14
15
|
* filter_owned_by_user_id: "filter_owned_by_user_id",
|
|
15
16
|
* filter_coordinator_labels: ["filter_coordinator_labels"],
|
|
@@ -35,11 +36,13 @@ export interface OrderTemplatesNewListV1Request {
|
|
|
35
36
|
page_size?: number | null;
|
|
36
37
|
/** Full-text search query for template name or description. */
|
|
37
38
|
search?: string | null;
|
|
39
|
+
/** Filter by order template new IDs */
|
|
40
|
+
filter_order_template_new_ids?: (string | null) | (string | null)[];
|
|
38
41
|
/** Include archived templates instead of active templates. */
|
|
39
42
|
filter_archived?: boolean | null;
|
|
40
43
|
/** Filter by the user that created the template. */
|
|
41
44
|
filter_owned_by_user_id?: string | null;
|
|
42
|
-
/** Filter by
|
|
45
|
+
/** Filter by all supplied coordinator labels (exact matches). */
|
|
43
46
|
filter_coordinator_labels?: (string | null) | (string | null)[];
|
|
44
47
|
/** Filter by an on-CHRT executor organization ID. */
|
|
45
48
|
filter_executor_org_id?: string | null;
|
|
@@ -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 OrderTemplatesNewTypeaheadV1Request {
|
|
12
|
+
/** Typeahead search query */
|
|
13
|
+
query: string;
|
|
14
|
+
/** Max results per field */
|
|
15
|
+
limit?: number | null;
|
|
16
|
+
}
|
package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/requests/index.d.mts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { type OrderTemplateNewDateparserResolveReq } from "./OrderTemplateNewDateparserResolveReq.mjs";
|
|
2
2
|
export { type OrderTemplatesNewListV1Request } from "./OrderTemplatesNewListV1Request.mjs";
|
|
3
|
+
export { type OrderTemplatesNewTypeaheadV1Request } from "./OrderTemplatesNewTypeaheadV1Request.mjs";
|
|
3
4
|
export { type OrderTemplateNewClientUpdate1 } from "./OrderTemplateNewClientUpdate1.mjs";
|
|
4
5
|
export { type OrderTemplateNewClientCreate1 } from "./OrderTemplateNewClientCreate1.mjs";
|
|
@@ -202,7 +202,7 @@ export declare class Orders {
|
|
|
202
202
|
taskGroupOrderingV1(orderId: string, request: Chrt.shipping.OrdersTaskGroupOrderingReq, requestOptions?: Orders.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
203
203
|
private __taskGroupOrderingV1;
|
|
204
204
|
/**
|
|
205
|
-
* Returns distinct label values matching the query for orders where the caller is coordinator (coordinator_labels) or executor (task_group_details.executor_labels). | authz: allowed_org_types=[provider], min_org_role=operator | () -> (list[
|
|
205
|
+
* Returns distinct label values matching the query for orders where the caller is coordinator (coordinator_labels) or executor (task_group_details.executor_labels). | authz: allowed_org_types=[provider], min_org_role=operator | () -> (list[OrderLabelTypeaheadResult])
|
|
206
206
|
*
|
|
207
207
|
* @param {Chrt.shipping.OrdersTypeaheadLabelV1Request} request
|
|
208
208
|
* @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -215,7 +215,7 @@ export declare class Orders {
|
|
|
215
215
|
* limit: 1
|
|
216
216
|
* })
|
|
217
217
|
*/
|
|
218
|
-
typeaheadLabelV1(request: Chrt.shipping.OrdersTypeaheadLabelV1Request, requestOptions?: Orders.RequestOptions): core.HttpResponsePromise<
|
|
218
|
+
typeaheadLabelV1(request: Chrt.shipping.OrdersTypeaheadLabelV1Request, requestOptions?: Orders.RequestOptions): core.HttpResponsePromise<Chrt.OrderLabelTypeaheadResult[]>;
|
|
219
219
|
private __typeaheadLabelV1;
|
|
220
220
|
/**
|
|
221
221
|
* Returns distinct order short ID, off-CHRT reference ID, and AWB values matching the query via case-insensitive regex. Searches visible non-draft orders and caller-created draft orders. | authz: allowed_org_types=[provider, shipper], min_org_role=operator | () -> (list[OrderTypeaheadResult])
|
|
@@ -690,7 +690,7 @@ export class Orders {
|
|
|
690
690
|
});
|
|
691
691
|
}
|
|
692
692
|
/**
|
|
693
|
-
* Returns distinct label values matching the query for orders where the caller is coordinator (coordinator_labels) or executor (task_group_details.executor_labels). | authz: allowed_org_types=[provider], min_org_role=operator | () -> (list[
|
|
693
|
+
* Returns distinct label values matching the query for orders where the caller is coordinator (coordinator_labels) or executor (task_group_details.executor_labels). | authz: allowed_org_types=[provider], min_org_role=operator | () -> (list[OrderLabelTypeaheadResult])
|
|
694
694
|
*
|
|
695
695
|
* @param {Chrt.shipping.OrdersTypeaheadLabelV1Request} request
|
|
696
696
|
* @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
|