@chrt-inc/typescript-sdk 1.810.0 → 1.841.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/README.md +2 -2
- package/dist/cjs/Client.js +2 -2
- package/dist/cjs/api/resources/analytics/resources/shipping/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/analytics/resources/shipping/client/Client.js +2 -2
- package/dist/cjs/api/resources/analytics/resources/shipping/client/requests/AnalyticsTimePeriodReq.d.ts +4 -4
- package/dist/cjs/api/resources/billing/client/Client.d.ts +12 -12
- package/dist/cjs/api/resources/billing/client/Client.js +23 -23
- package/dist/cjs/api/resources/billing/resources/billingLedgerPeriods/client/Client.d.ts +13 -13
- package/dist/cjs/api/resources/billing/resources/billingLedgerPeriods/client/Client.js +59 -59
- package/dist/cjs/api/resources/billing/resources/billingLedgerPeriods/client/requests/BillingLedgerPeriodClientUpdate1.d.ts +2 -2
- package/dist/cjs/api/resources/billing/resources/billingLedgerPeriods/client/requests/OpenPeriodReq.d.ts +2 -2
- package/dist/cjs/api/resources/billing/resources/billingLedgers/client/Client.d.ts +28 -28
- package/dist/cjs/api/resources/billing/resources/billingLedgers/client/Client.js +92 -92
- package/dist/cjs/api/resources/billing/resources/billingLedgers/client/requests/BillingLedgerClientCreate1.d.ts +7 -7
- package/dist/cjs/api/resources/billing/resources/billingLedgers/client/requests/BillingLedgerClientUpdate1.d.ts +2 -2
- package/dist/cjs/api/resources/billing/resources/billingLedgers/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/billing/resources/cargoOnFlightRateSheets/client/Client.d.ts +27 -27
- package/dist/cjs/api/resources/billing/resources/cargoOnFlightRateSheets/client/Client.js +72 -72
- package/dist/cjs/api/resources/billing/resources/cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetClientCreate1.d.ts +4 -4
- package/dist/cjs/api/resources/billing/resources/cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetClientUpdate1.d.ts +8 -8
- package/dist/cjs/api/resources/billing/resources/cargoOnFlightRateSheets/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/billing/resources/chrtGroundProviderRateSheets/client/Client.d.ts +27 -27
- package/dist/cjs/api/resources/billing/resources/chrtGroundProviderRateSheets/client/Client.js +77 -77
- package/dist/cjs/api/resources/billing/resources/chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetClientCreate1.d.ts +14 -14
- package/dist/cjs/api/resources/billing/resources/chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetClientUpdate1.d.ts +27 -27
- package/dist/cjs/api/resources/billing/resources/chrtGroundProviderRateSheets/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/billing/resources/index.d.ts +8 -8
- package/dist/cjs/api/resources/billing/resources/index.js +9 -9
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/Client.d.ts +104 -104
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/Client.js +256 -256
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupAdHocCreateClientReq.d.ts +7 -7
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/SharedTaskGroupMileageCreateForProviderPayDriverClientReq.d.ts +5 -5
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/SharedTaskGroupMileageCreateForProviderPayProviderClientReq.d.ts +5 -5
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/s3Objects/client/Client.d.ts +19 -19
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/s3Objects/client/Client.js +52 -52
- package/dist/cjs/api/resources/billing/resources/lineItems/resources/s3Objects/client/Client.d.ts +19 -19
- package/dist/cjs/api/resources/billing/resources/lineItems/resources/s3Objects/client/Client.js +52 -52
- package/dist/cjs/api/resources/billing/resources/onboardCourierRateSheets/client/Client.d.ts +27 -27
- package/dist/cjs/api/resources/billing/resources/onboardCourierRateSheets/client/Client.js +72 -72
- package/dist/cjs/api/resources/billing/resources/onboardCourierRateSheets/client/requests/OnboardCourierRateSheetClientCreate1.d.ts +2 -2
- package/dist/cjs/api/resources/billing/resources/onboardCourierRateSheets/client/requests/OnboardCourierRateSheetClientUpdate1.d.ts +3 -3
- package/dist/cjs/api/resources/billing/resources/onboardCourierRateSheets/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/billing/resources/rateSheetMappings/client/Client.d.ts +37 -37
- package/dist/cjs/api/resources/billing/resources/rateSheetMappings/client/Client.js +102 -102
- package/dist/cjs/api/resources/billing/resources/rateSheetMappings/client/requests/RateSheetMappingClientCreate1.d.ts +5 -5
- package/dist/cjs/api/resources/billing/resources/rateSheetMappings/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/billing/resources/statements/client/Client.d.ts +115 -115
- package/dist/cjs/api/resources/billing/resources/statements/client/Client.js +366 -366
- package/dist/cjs/api/resources/billing/resources/statements/client/requests/StatementCreateClientReq.d.ts +7 -7
- package/dist/cjs/api/resources/billing/resources/statements/client/requests/index.d.ts +2 -2
- package/dist/cjs/api/resources/billing/resources/stripe/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/billing/resources/stripe/client/Client.js +2 -2
- package/dist/cjs/api/resources/billing/resources/stripe/client/requests/CreateCheckoutSessionReq.d.ts +3 -3
- package/dist/cjs/api/resources/billing/resources/stripeConnect/client/Client.d.ts +8 -8
- package/dist/cjs/api/resources/billing/resources/stripeConnect/client/Client.js +19 -19
- package/dist/cjs/api/resources/flights/client/Client.d.ts +3 -3
- package/dist/cjs/api/resources/flights/client/Client.js +3 -3
- package/dist/cjs/api/resources/flights/client/requests/FlightConnectionsSearchReq.d.ts +23 -23
- package/dist/cjs/api/resources/integrations/resources/airWaybills/client/Client.d.ts +33 -33
- package/dist/cjs/api/resources/integrations/resources/airWaybills/client/Client.js +68 -68
- package/dist/cjs/api/resources/integrations/resources/airWaybills/client/requests/ChampAirWaybillClientUpdate1.d.ts +23 -23
- package/dist/cjs/api/resources/integrations/resources/cargoaiTrackAndTrace/client/Client.d.ts +16 -16
- package/dist/cjs/api/resources/integrations/resources/cargoaiTrackAndTrace/client/Client.js +35 -35
- package/dist/cjs/api/resources/integrations/resources/webcargoBookings/client/Client.d.ts +8 -8
- package/dist/cjs/api/resources/integrations/resources/webcargoBookings/client/Client.js +16 -16
- package/dist/cjs/api/resources/integrations/resources/webcargoEmbed/client/Client.d.ts +3 -3
- package/dist/cjs/api/resources/integrations/resources/webcargoEmbed/client/Client.js +3 -3
- package/dist/cjs/api/resources/integrations/resources/webcargoEmbed/client/requests/GetWebcargoEmbedReq.d.ts +6 -6
- package/dist/cjs/api/resources/listing/client/Client.d.ts +6 -6
- package/dist/cjs/api/resources/listing/client/Client.js +12 -12
- package/dist/cjs/api/resources/listing/resources/bidThreads/client/Client.d.ts +64 -64
- package/dist/cjs/api/resources/listing/resources/bidThreads/client/Client.js +216 -216
- package/dist/cjs/api/resources/listing/resources/bidThreads/client/requests/BidThreadClientCreate1.d.ts +2 -2
- package/dist/cjs/api/resources/listing/resources/bidThreads/client/requests/index.d.ts +2 -2
- package/dist/cjs/api/resources/listing/resources/driverBiddingGroups/client/Client.d.ts +39 -39
- package/dist/cjs/api/resources/listing/resources/driverBiddingGroups/client/Client.js +105 -105
- package/dist/cjs/api/resources/listing/resources/driverBiddingGroups/client/requests/DriverBiddingGroupClientCreate1.d.ts +3 -3
- package/dist/cjs/api/resources/listing/resources/driverBiddingGroups/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/listing/resources/index.d.ts +4 -4
- package/dist/cjs/api/resources/listing/resources/index.js +5 -5
- package/dist/cjs/api/resources/listing/resources/listings/client/Client.d.ts +79 -79
- package/dist/cjs/api/resources/listing/resources/listings/client/Client.js +286 -286
- package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingAddDriverParticipantsReq.d.ts +1 -1
- package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingAddProviderParticipantsReq.d.ts +1 -1
- package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingClientCreate1.d.ts +13 -13
- package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingClientUpdate1.d.ts +3 -3
- package/dist/cjs/api/resources/listing/resources/listings/client/requests/index.d.ts +6 -6
- package/dist/cjs/api/resources/listing/resources/orgBiddingGroups/client/Client.d.ts +39 -39
- package/dist/cjs/api/resources/listing/resources/orgBiddingGroups/client/Client.js +105 -105
- package/dist/cjs/api/resources/listing/resources/orgBiddingGroups/client/requests/OrgBiddingGroupClientCreate1.d.ts +3 -3
- package/dist/cjs/api/resources/listing/resources/orgBiddingGroups/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/notifications/resources/adHoc/client/Client.d.ts +36 -36
- package/dist/cjs/api/resources/notifications/resources/adHoc/client/Client.js +98 -98
- package/dist/cjs/api/resources/notifications/resources/groups/client/Client.d.ts +61 -61
- package/dist/cjs/api/resources/notifications/resources/groups/client/Client.js +150 -150
- package/dist/cjs/api/resources/notifications/resources/groups/client/requests/NotificationGroupClientCreate1.d.ts +3 -3
- package/dist/cjs/api/resources/notifications/resources/groups/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/notifications/resources/userPreferences/client/Client.d.ts +8 -8
- package/dist/cjs/api/resources/notifications/resources/userPreferences/client/Client.js +16 -16
- package/dist/cjs/api/resources/notifications/resources/userPreferences/client/requests/UserNotificationPreferencesUpdateRequest.d.ts +2 -2
- package/dist/cjs/api/resources/notifications/resources/webhookSetup/client/Client.d.ts +14 -14
- package/dist/cjs/api/resources/notifications/resources/webhookSetup/client/Client.js +28 -28
- package/dist/cjs/api/resources/operations/resources/cases/client/Client.d.ts +84 -51
- package/dist/cjs/api/resources/operations/resources/cases/client/Client.js +293 -145
- package/dist/cjs/api/resources/operations/resources/cases/client/requests/CaseClientUpdate1.d.ts +3 -1
- package/dist/cjs/api/resources/operations/resources/cases/client/requests/CasesExpandedListV1Request.d.ts +17 -0
- package/dist/cjs/api/resources/operations/resources/cases/client/requests/CasesExpandedListV1Request.js +5 -0
- package/dist/cjs/api/resources/operations/resources/cases/client/requests/CasesListV1Request.d.ts +2 -0
- package/dist/cjs/api/resources/operations/resources/cases/client/requests/CasesTypeaheadV1Request.d.ts +16 -0
- package/dist/cjs/api/resources/operations/resources/cases/client/requests/CasesTypeaheadV1Request.js +5 -0
- package/dist/cjs/api/resources/operations/resources/cases/client/requests/index.d.ts +5 -3
- package/dist/cjs/api/resources/operations/resources/cases/resources/s3Objects/client/Client.d.ts +19 -19
- package/dist/cjs/api/resources/operations/resources/cases/resources/s3Objects/client/Client.js +52 -52
- package/dist/cjs/api/resources/operations/resources/departmentRoutingRules/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/operations/resources/departmentRoutingRules/client/Client.js +2 -2
- package/dist/cjs/api/resources/operations/resources/departmentRoutingRules/client/requests/DepartmentRoutingRuleClientCreate1.d.ts +4 -4
- package/dist/cjs/api/resources/operations/resources/departments/client/Client.d.ts +41 -41
- package/dist/cjs/api/resources/operations/resources/departments/client/Client.js +107 -107
- package/dist/cjs/api/resources/operations/resources/departments/client/requests/DepartmentClientCreate1.d.ts +4 -4
- package/dist/cjs/api/resources/operations/resources/departments/client/requests/DepartmentClientUpdate1.d.ts +1 -1
- package/dist/cjs/api/resources/operations/resources/departments/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/Client.d.ts +65 -65
- package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/Client.js +169 -169
- package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListClientCreate1.d.ts +5 -5
- package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListClientUpdate1.d.ts +2 -2
- package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/requests/index.d.ts +3 -3
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.d.ts +66 -66
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.js +184 -184
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientCreate1.d.ts +8 -8
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientUpdate1.d.ts +4 -4
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksBulkUpdateDeadlinesReq1.d.ts +2 -2
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/index.d.ts +4 -4
- package/dist/cjs/api/resources/orgs/client/Client.d.ts +6 -6
- package/dist/cjs/api/resources/orgs/client/Client.js +20 -20
- package/dist/cjs/api/resources/orgs/client/requests/SetupOrgReq.d.ts +2 -2
- package/dist/cjs/api/resources/orgs/resources/complianceDocuments/client/Client.d.ts +24 -24
- package/dist/cjs/api/resources/orgs/resources/complianceDocuments/client/Client.js +59 -59
- package/dist/cjs/api/resources/orgs/resources/complianceDocuments/client/requests/OrgComplianceDocumentClientCreate1.d.ts +4 -4
- package/dist/cjs/api/resources/orgs/resources/complianceDocuments/resources/s3Object/client/Client.d.ts +19 -19
- package/dist/cjs/api/resources/orgs/resources/complianceDocuments/resources/s3Object/client/Client.js +57 -57
- package/dist/cjs/api/resources/orgs/resources/connections/client/Client.d.ts +34 -34
- package/dist/cjs/api/resources/orgs/resources/connections/client/Client.js +117 -117
- package/dist/cjs/api/resources/orgs/resources/connections/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/orgs/resources/index.d.ts +4 -4
- package/dist/cjs/api/resources/orgs/resources/index.js +5 -5
- package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/Client.js +2 -2
- package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientCreate1.d.ts +7 -7
- package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientUpdate1.d.ts +11 -11
- package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/Client.js +2 -2
- package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientCreate1.d.ts +7 -7
- package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientUpdate1.d.ts +11 -11
- package/dist/cjs/api/resources/orgs/resources/offChrtVendor/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/orgs/resources/offChrtVendor/client/Client.js +2 -2
- package/dist/cjs/api/resources/orgs/resources/offChrtVendor/client/requests/OffChrtVendorClientCreate1.d.ts +3 -3
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/client/Client.d.ts +3 -3
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/client/Client.js +6 -6
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/index.d.ts +2 -2
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/index.js +3 -3
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/Client.d.ts +19 -19
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/Client.js +51 -51
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientCreate1.d.ts +7 -7
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientUpdate1.d.ts +11 -11
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/Client.d.ts +12 -12
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/Client.js +51 -51
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientCreate1.d.ts +7 -7
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientUpdate1.d.ts +11 -11
- package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/Client.d.ts +17 -17
- package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/Client.js +41 -41
- package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientCreate1.d.ts +3 -3
- package/dist/cjs/api/resources/orgs/resources/publicData/client/Client.d.ts +13 -13
- package/dist/cjs/api/resources/orgs/resources/publicData/client/Client.js +54 -54
- package/dist/cjs/api/resources/orgs/resources/publicData/client/requests/UpdateOrgPublicDataReq.d.ts +1 -1
- package/dist/cjs/api/resources/shipping/client/Client.d.ts +12 -12
- package/dist/cjs/api/resources/shipping/client/Client.js +27 -27
- package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.d.ts +97 -97
- package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.js +313 -313
- package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriverClientCreate1.d.ts +3 -3
- package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriverClientUpdate1.d.ts +7 -7
- package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriverSelfReportedHoursAndMileageClientCreate1.d.ts +4 -4
- package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriverSelfReportedHoursAndMileageClientUpdate1.d.ts +1 -1
- package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriverStatsReq.d.ts +3 -4
- package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/index.d.ts +5 -5
- package/dist/cjs/api/resources/shipping/resources/drivers/resources/complianceDocuments/client/Client.d.ts +23 -23
- package/dist/cjs/api/resources/shipping/resources/drivers/resources/complianceDocuments/client/Client.js +43 -43
- package/dist/cjs/api/resources/shipping/resources/drivers/resources/complianceDocuments/client/requests/DriverComplianceDocumentClientCreate1.d.ts +4 -4
- package/dist/cjs/api/resources/shipping/resources/drivers/resources/complianceDocuments/resources/s3Object/client/Client.d.ts +19 -19
- package/dist/cjs/api/resources/shipping/resources/drivers/resources/complianceDocuments/resources/s3Object/client/Client.js +57 -57
- package/dist/cjs/api/resources/shipping/resources/index.d.ts +6 -6
- package/dist/cjs/api/resources/shipping/resources/index.js +7 -7
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/Client.d.ts +52 -52
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/Client.js +118 -118
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/requests/OrdersDraftUpdateReq.d.ts +5 -5
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/requests/OrdersNewDraftReq.d.ts +12 -9
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/requests/index.d.ts +3 -3
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/agentic/types/OrderBuilderStreamEvent.d.ts +3 -3
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/cargo/client/Client.d.ts +21 -21
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/cargo/client/Client.js +41 -41
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/cargo/client/requests/OrderDraftAddCargoReq.d.ts +5 -5
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/cargo/client/requests/OrderDraftAssociateCargoWithTaskReq.d.ts +3 -3
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/cargo/client/requests/OrderDraftUnassociateCargoWithTaskReq.d.ts +3 -3
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.d.ts +14 -14
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.js +63 -63
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/index.d.ts +6 -6
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/index.js +7 -7
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/task/client/Client.d.ts +15 -15
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/task/client/Client.js +26 -26
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/task/client/requests/OrderDraftAddTaskReqV1.d.ts +4 -4
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskArtifact/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskArtifact/client/Client.js +2 -2
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskArtifact/client/requests/OrderDraftAddTaskArtifactReq.d.ts +4 -4
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/Client.d.ts +46 -46
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/Client.js +79 -79
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/OrderDraftAddTaskGroupReq.d.ts +4 -4
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/SetRateSheetsReq.d.ts +2 -2
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/index.d.ts +3 -3
- package/dist/cjs/api/resources/shipping/resources/orderGroups/client/Client.d.ts +37 -37
- package/dist/cjs/api/resources/shipping/resources/orderGroups/client/Client.js +106 -106
- package/dist/cjs/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupClientCreate1.d.ts +4 -4
- package/dist/cjs/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupClientUpdate1.d.ts +1 -1
- package/dist/cjs/api/resources/shipping/resources/orderGroups/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/shipping/resources/orderSchedules/client/Client.d.ts +52 -52
- package/dist/cjs/api/resources/shipping/resources/orderSchedules/client/Client.js +136 -136
- package/dist/cjs/api/resources/shipping/resources/orderSchedules/resources/draft/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/shipping/resources/orderSchedules/resources/draft/client/Client.js +2 -2
- package/dist/cjs/api/resources/shipping/resources/orderSchedules/resources/draft/client/requests/OrderScheduleClientCreate1.d.ts +4 -4
- package/dist/cjs/api/resources/shipping/resources/orderSchedules/resources/draft/client/requests/OrderScheduleClientUpdate1.d.ts +2 -2
- package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/Client.d.ts +41 -41
- package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/Client.js +111 -111
- package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientCreate1.d.ts +13 -12
- package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientUpdate1.d.ts +17 -15
- package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/index.d.ts +2 -2
- package/dist/cjs/api/resources/shipping/resources/orders/client/Client.d.ts +30 -30
- package/dist/cjs/api/resources/shipping/resources/orders/client/Client.js +73 -73
- package/dist/cjs/api/resources/shipping/resources/orders/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.ts +8 -8
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.js +14 -14
- package/dist/cjs/api/resources/shipping/resources/taskArtifacts/client/Client.d.ts +10 -10
- package/dist/cjs/api/resources/shipping/resources/taskArtifacts/client/Client.js +18 -18
- package/dist/cjs/api/resources/shipping/resources/taskArtifacts/client/requests/AddTaskArtifactReq.d.ts +3 -3
- package/dist/cjs/api/resources/shipping/resources/taskArtifacts/resources/s3Object/client/Client.d.ts +36 -36
- package/dist/cjs/api/resources/shipping/resources/taskArtifacts/resources/s3Object/client/Client.js +76 -76
- package/dist/cjs/api/resources/shipping/resources/taskGroups/client/Client.d.ts +146 -146
- package/dist/cjs/api/resources/shipping/resources/taskGroups/client/Client.js +279 -279
- package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForProviderPayDriverClientReq.d.ts +1 -1
- package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForProviderPayProviderClientReq.d.ts +1 -1
- package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForShipperPayProviderClientReq.d.ts +1 -1
- package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/index.d.ts +5 -5
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.ts +23 -23
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.js +43 -43
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/index.d.ts +3 -3
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/index.js +4 -4
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/s3Object/client/Client.d.ts +19 -19
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/s3Object/client/Client.js +52 -52
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/Client.d.ts +8 -8
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/Client.js +14 -14
- package/dist/cjs/api/resources/shipping/resources/tasks/client/Client.d.ts +56 -56
- package/dist/cjs/api/resources/shipping/resources/tasks/client/Client.js +110 -110
- package/dist/cjs/api/resources/shipping/resources/tasks/client/requests/AddTaskToGroupReq.d.ts +6 -6
- package/dist/cjs/api/resources/shipping/resources/tasks/client/requests/WaitTimeOverrideReq.d.ts +1 -1
- package/dist/cjs/api/resources/shipping/resources/tasks/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/tracking/resources/devices/client/Client.d.ts +67 -67
- package/dist/cjs/api/resources/tracking/resources/devices/client/Client.js +197 -197
- package/dist/cjs/api/resources/tracking/resources/devices/client/requests/DeviceClientCreate1.d.ts +5 -5
- package/dist/cjs/api/resources/tracking/resources/devices/client/requests/DeviceClientUpdate1.d.ts +3 -3
- package/dist/cjs/api/resources/tracking/resources/devices/client/requests/DevicesUpdateSharedOrgsReq1.d.ts +1 -1
- package/dist/cjs/api/resources/tracking/resources/devices/client/requests/index.d.ts +5 -5
- package/dist/cjs/api/resources/tracking/resources/driver/client/Client.d.ts +3 -3
- package/dist/cjs/api/resources/tracking/resources/driver/client/Client.js +3 -3
- package/dist/cjs/api/resources/tracking/resources/driver/client/requests/DriverByDriverDataPointClientCreate1.d.ts +4 -4
- package/dist/cjs/api/resources/tracking/resources/sessions/client/Client.d.ts +86 -86
- package/dist/cjs/api/resources/tracking/resources/sessions/client/Client.js +222 -222
- package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/SessionClientCreate1.d.ts +5 -5
- package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/SessionClientUpdate1.d.ts +6 -6
- package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/SessionSetFlightInfoReq1.d.ts +7 -7
- package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/SessionsUpdateSharedOrgsReq1.d.ts +1 -1
- package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/index.d.ts +6 -6
- package/dist/cjs/api/resources/tracking/resources/sharingSettings/client/Client.d.ts +28 -28
- package/dist/cjs/api/resources/tracking/resources/sharingSettings/client/Client.js +50 -50
- package/dist/cjs/api/resources/tracking/resources/sharingSettings/client/requests/CargoByDeviceSharingSettingsUpdateReq.d.ts +3 -3
- package/dist/cjs/api/resources/tracking/resources/sharingSettings/client/requests/CargoByDriverSharingSettingsUpdateReq.d.ts +3 -3
- package/dist/cjs/api/resources/tracking/resources/sharingSettings/client/requests/TaskGroupByDriverSharingSettingsUpdateReq.d.ts +3 -3
- package/dist/cjs/api/resources/tracking/resources/sharingSettings/client/requests/index.d.ts +2 -2
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/Client.d.ts +26 -26
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/Client.js +64 -64
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/requests/CargoByDeviceMarkOutliersRequest1.d.ts +3 -3
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/requests/index.d.ts +3 -3
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDriver/client/Client.d.ts +23 -23
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDriver/client/Client.js +51 -51
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDriver/client/requests/index.d.ts +2 -2
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/sessionByDevice/client/Client.d.ts +27 -27
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/sessionByDevice/client/Client.js +66 -66
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/sessionByDevice/client/requests/SessionByDeviceMarkOutliersRequest1.d.ts +3 -3
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/sessionByDevice/client/requests/index.d.ts +3 -3
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/Client.d.ts +23 -23
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/Client.js +51 -51
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/requests/index.d.ts +2 -2
- package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/devices/client/Client.d.ts +15 -15
- package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/devices/client/Client.js +60 -60
- package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/devices/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/shipments/client/Client.d.ts +15 -15
- package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/shipments/client/Client.js +60 -60
- package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/shipments/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/timeseries/client/Client.d.ts +14 -14
- package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/timeseries/client/Client.js +29 -29
- package/dist/cjs/api/resources/trackingIntegrations/resources/tive/resources/timeseries/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/users/client/Client.d.ts +6 -6
- package/dist/cjs/api/resources/users/client/Client.js +6 -6
- package/dist/cjs/api/resources/users/resources/directoryEntries/client/Client.d.ts +23 -23
- package/dist/cjs/api/resources/users/resources/directoryEntries/client/Client.js +76 -76
- package/dist/cjs/api/resources/users/resources/directoryEntries/client/requests/DirectoryEntryClientCreate1.d.ts +8 -8
- package/dist/cjs/api/resources/users/resources/directoryEntries/client/requests/DirectoryEntryClientUpdate1.d.ts +13 -13
- package/dist/cjs/api/resources/users/resources/directoryEntries/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/users/resources/index.d.ts +3 -3
- package/dist/cjs/api/resources/users/resources/index.js +4 -4
- package/dist/cjs/api/resources/users/resources/privateData/client/Client.d.ts +15 -15
- package/dist/cjs/api/resources/users/resources/privateData/client/Client.js +59 -59
- package/dist/cjs/api/resources/users/resources/privateData/client/requests/UserPrivateDataClientCreate1.d.ts +2 -2
- package/dist/cjs/api/resources/users/resources/privateData/client/requests/UserPrivateDataClientUpdate1.d.ts +2 -2
- package/dist/cjs/api/resources/users/resources/privateData/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/utils/client/Client.d.ts +3 -3
- package/dist/cjs/api/resources/utils/client/Client.js +6 -6
- package/dist/cjs/api/resources/utils/resources/dev/client/Client.d.ts +24 -24
- package/dist/cjs/api/resources/utils/resources/dev/client/Client.js +80 -80
- package/dist/cjs/api/resources/utils/resources/index.d.ts +1 -1
- package/dist/cjs/api/resources/utils/resources/index.js +2 -2
- package/dist/cjs/api/resources/utils/resources/root/client/Client.d.ts +18 -18
- package/dist/cjs/api/resources/utils/resources/root/client/Client.js +35 -35
- package/dist/cjs/api/types/AiImageDescription.d.ts +9 -9
- package/dist/cjs/api/types/AlertMessage.d.ts +2 -2
- package/dist/cjs/api/types/Bid.d.ts +4 -4
- package/dist/cjs/api/types/BidAppendReq.d.ts +1 -1
- package/dist/cjs/api/types/BidThread1.d.ts +6 -6
- package/dist/cjs/api/types/BillingLedger1.d.ts +14 -14
- package/dist/cjs/api/types/BillingLedgerPeriod1.d.ts +19 -19
- package/dist/cjs/api/types/BillingLineItemGroupMessageWebhookPayload.d.ts +1 -1
- package/dist/cjs/api/types/BillingLineItemGroupS3ObjectAddedWebhookPayload.d.ts +1 -1
- package/dist/cjs/api/types/BillingLineItemS3ObjectAddedWebhookPayload.d.ts +3 -3
- package/dist/cjs/api/types/BillingStatementOpenedWebhookPayload.d.ts +1 -1
- package/dist/cjs/api/types/BillingStatementPaidWebhookPayload.d.ts +1 -1
- package/dist/cjs/api/types/Caller.d.ts +4 -4
- package/dist/cjs/api/types/Cargo1.d.ts +19 -19
- package/dist/cjs/api/types/CargoAiTrackAndTraceAdditionalInformation.d.ts +2 -2
- package/dist/cjs/api/types/CargoAiTrackAndTraceEvent.d.ts +13 -13
- package/dist/cjs/api/types/CargoAiTrackAndTraceFlight.d.ts +11 -11
- package/dist/cjs/api/types/CargoAiTrackAndTraceSubscription1.d.ts +7 -7
- package/dist/cjs/api/types/CargoAiTrackAndTraceUpdate1.d.ts +11 -11
- package/dist/cjs/api/types/CargoAiTrackAndTraceWebhookResponse.d.ts +1 -1
- package/dist/cjs/api/types/CargoByDeviceDataPoint1.d.ts +4 -4
- package/dist/cjs/api/types/CargoByDeviceDataPointMetadata1.d.ts +1 -1
- package/dist/cjs/api/types/CargoByDeviceMarkOutliersResponse1.d.ts +1 -1
- package/dist/cjs/api/types/CargoByDeviceSharingSettings1.d.ts +6 -6
- package/dist/cjs/api/types/CargoByDriverDataPoint1.d.ts +3 -3
- package/dist/cjs/api/types/CargoByDriverDataPointMetadata1.d.ts +1 -1
- package/dist/cjs/api/types/CargoByDriverSharingSettings1.d.ts +6 -6
- package/dist/cjs/api/types/CargoClientCreate1.d.ts +8 -8
- package/dist/cjs/api/types/CargoClientUpdate1.d.ts +15 -15
- package/dist/cjs/api/types/CargoManifest1.d.ts +8 -8
- package/dist/cjs/api/types/CargoOnFlightRateSheet1.d.ts +7 -7
- package/dist/cjs/api/types/CargojsonAccounting.d.ts +1 -1
- package/dist/cjs/api/types/CargojsonAddress.d.ts +4 -4
- package/dist/cjs/api/types/CargojsonAddressing.d.ts +3 -3
- package/dist/cjs/api/types/CargojsonAgent.d.ts +3 -3
- package/dist/cjs/api/types/CargojsonCharge.d.ts +2 -2
- package/dist/cjs/api/types/CargojsonChargeDeclarations.d.ts +3 -3
- package/dist/cjs/api/types/CargojsonChargeItem.d.ts +4 -4
- package/dist/cjs/api/types/CargojsonChargeSummary.d.ts +3 -3
- package/dist/cjs/api/types/CargojsonCollectChargesInDestCurrency.d.ts +3 -3
- package/dist/cjs/api/types/CargojsonDimensions.d.ts +2 -2
- package/dist/cjs/api/types/CargojsonEdifactData.d.ts +2 -2
- package/dist/cjs/api/types/CargojsonOci.d.ts +3 -3
- package/dist/cjs/api/types/CargojsonOfficeMessageAddress.d.ts +1 -1
- package/dist/cjs/api/types/CargojsonOtherChargeItem.d.ts +3 -3
- package/dist/cjs/api/types/CargojsonOtherParticipant.d.ts +1 -1
- package/dist/cjs/api/types/CargojsonPackaging.d.ts +4 -4
- package/dist/cjs/api/types/CargojsonParticipantAddress.d.ts +1 -1
- package/dist/cjs/api/types/CargojsonParticipantIdentifier.d.ts +2 -2
- package/dist/cjs/api/types/CargojsonSalesIncentive.d.ts +1 -1
- package/dist/cjs/api/types/CargojsonShipmentReferenceInformation.d.ts +1 -1
- package/dist/cjs/api/types/CargojsonUld.d.ts +3 -3
- package/dist/cjs/api/types/Case1.d.ts +8 -7
- package/dist/cjs/api/types/CaseMessage1.d.ts +2 -2
- package/dist/cjs/api/types/CaseS3ObjectMetadata1.d.ts +8 -8
- package/dist/cjs/api/types/CaseTypeaheadFieldEnum.d.ts +4 -0
- package/dist/cjs/api/types/CaseTypeaheadFieldEnum.js +5 -0
- package/dist/cjs/api/types/CaseTypeaheadResult.d.ts +8 -0
- package/dist/cjs/api/types/CaseTypeaheadResult.js +5 -0
- package/dist/cjs/api/types/CasesExpandedListItem.d.ts +15 -0
- package/dist/cjs/api/types/CasesExpandedListItem.js +5 -0
- package/dist/cjs/api/types/CasesExpandedListRes.d.ts +8 -0
- package/dist/cjs/api/types/CasesExpandedListRes.js +5 -0
- package/dist/cjs/api/types/CasesExpandedListShippingTaskGroup.d.ts +8 -0
- package/dist/cjs/api/types/CasesExpandedListShippingTaskGroup.js +5 -0
- package/dist/cjs/api/types/ChampAirWaybill1.d.ts +33 -33
- package/dist/cjs/api/types/ChampConfirmationReceipt1.d.ts +10 -10
- package/dist/cjs/api/types/ChampFlightStatus1.d.ts +8 -8
- package/dist/cjs/api/types/ChampFlightStatusEvent1.d.ts +15 -15
- package/dist/cjs/api/types/ChampOriginAndDestination.d.ts +1 -1
- package/dist/cjs/api/types/ChampQuantity.d.ts +1 -1
- package/dist/cjs/api/types/ChrtGroundProviderRateSheet1.d.ts +17 -17
- package/dist/cjs/api/types/CiriumAirportResources.d.ts +3 -3
- package/dist/cjs/api/types/CiriumFlightAlertsWebhookResponse.d.ts +1 -1
- package/dist/cjs/api/types/CiriumFlightStatus.d.ts +5 -5
- package/dist/cjs/api/types/CiriumOperationalTimes.d.ts +4 -4
- package/dist/cjs/api/types/CreateLigFromRateSheetForVectorClientReq.d.ts +1 -1
- package/dist/cjs/api/types/CredentialInfoRes.d.ts +1 -1
- package/dist/cjs/api/types/Department1.d.ts +6 -6
- package/dist/cjs/api/types/DepartmentRoutingRule1.d.ts +8 -8
- package/dist/cjs/api/types/DeviceExpandedRes.d.ts +3 -3
- package/dist/cjs/api/types/DeviceLimitedForList1.d.ts +14 -14
- package/dist/cjs/api/types/DevicePausedTimeWindow1.d.ts +1 -1
- package/dist/cjs/api/types/DirectoryEntry1.d.ts +13 -13
- package/dist/cjs/api/types/Driver1.d.ts +13 -13
- package/dist/cjs/api/types/DriverAnalyticsDay.d.ts +15 -0
- package/dist/cjs/api/types/DriverAnalyticsDay.js +5 -0
- package/dist/cjs/api/types/DriverAnalyticsTaskGroup.d.ts +10 -0
- package/dist/cjs/api/types/DriverAnalyticsTaskGroup.js +5 -0
- package/dist/cjs/api/types/DriverBiddingGroup1.d.ts +7 -7
- package/dist/cjs/api/types/DriverComplianceDocument1.d.ts +5 -5
- package/dist/cjs/api/types/DriverComplianceDocumentS3ObjectMetadata1.d.ts +8 -8
- package/dist/cjs/api/types/DriverSelfReportedHoursAndMileage1.d.ts +6 -6
- package/dist/cjs/api/types/DriverStatsRes.d.ts +2 -10
- package/dist/cjs/api/types/DriverUpdateRes.d.ts +1 -1
- package/dist/cjs/api/types/DriverWithActiveTaskGroupIds1.d.ts +14 -14
- package/dist/cjs/api/types/FirebaseCloudMessagingTokenData1.d.ts +1 -1
- package/dist/cjs/api/types/FlightConnection.d.ts +1 -1
- package/dist/cjs/api/types/FlightConnectionLeg.d.ts +10 -10
- package/dist/cjs/api/types/FlightLeg1.d.ts +18 -18
- package/dist/cjs/api/types/FlightLegClientCreate1.d.ts +6 -6
- package/dist/cjs/api/types/FlightLegWebhookInfo.d.ts +6 -6
- package/dist/cjs/api/types/FlightTrackPosition1.d.ts +3 -3
- package/dist/cjs/api/types/FlightTrackRes.d.ts +3 -3
- package/dist/cjs/api/types/InternalDelegationJwtReq.d.ts +1 -1
- package/dist/cjs/api/types/LineItem1.d.ts +15 -15
- package/dist/cjs/api/types/LineItemClientCreate1.d.ts +5 -5
- package/dist/cjs/api/types/LineItemGroup1.d.ts +25 -25
- package/dist/cjs/api/types/LineItemGroupLineItemsRes.d.ts +2 -2
- package/dist/cjs/api/types/LineItemGroupMessage1.d.ts +2 -2
- package/dist/cjs/api/types/LineItemGroupS3ObjectMetadata1.d.ts +8 -8
- package/dist/cjs/api/types/LineItemS3ObjectMetadata1.d.ts +8 -8
- package/dist/cjs/api/types/Listing1.d.ts +19 -19
- package/dist/cjs/api/types/ListingBidThreadActionAddedWebhookPayload.d.ts +7 -7
- package/dist/cjs/api/types/ListingLimitedForBidder1.d.ts +17 -17
- package/dist/cjs/api/types/ListingListingDriverInvitedToBidWebhookPayload.d.ts +3 -3
- package/dist/cjs/api/types/ListingListingProviderInvitedToBidWebhookPayload.d.ts +3 -3
- package/dist/cjs/api/types/ListingTaskForBidder1.d.ts +1 -1
- package/dist/cjs/api/types/LocationFeature.d.ts +2 -2
- package/dist/cjs/api/types/NotificationGroup1.d.ts +7 -7
- package/dist/cjs/api/types/NotificationGroupLimitedForDriver1.d.ts +5 -5
- package/dist/cjs/api/types/NotificationIntentAdHoc1.d.ts +4 -4
- package/dist/cjs/api/types/NotificationIntentAdHocClientCreate1.d.ts +1 -1
- package/dist/cjs/api/types/NotificationUserPreferences1.d.ts +5 -5
- package/dist/cjs/api/types/OffChrtProviderOrg1.d.ts +10 -10
- package/dist/cjs/api/types/OffChrtShipperOrg1.d.ts +10 -10
- package/dist/cjs/api/types/OffChrtVendor1.d.ts +3 -3
- package/dist/cjs/api/types/OnboardCourierRateSheet1.d.ts +3 -3
- package/dist/cjs/api/types/OperationsCaseGroupAssignedWebhookPayload.d.ts +5 -5
- package/dist/cjs/api/types/OperationsCaseMessageWebhookPayload.d.ts +5 -5
- package/dist/cjs/api/types/OperationsCaseOperatorAssignedWebhookPayload.d.ts +5 -5
- package/dist/cjs/api/types/OperationsCaseS3ObjectAddedWebhookPayload.d.ts +5 -5
- package/dist/cjs/api/types/OperationsTask1.d.ts +13 -13
- package/dist/cjs/api/types/OperationsTaskComment1.d.ts +2 -2
- package/dist/cjs/api/types/OperationsTaskDeadlineUpdate1.d.ts +1 -1
- package/dist/cjs/api/types/OperationsTaskList1.d.ts +8 -8
- package/dist/cjs/api/types/OperationsTaskListEntry1.d.ts +3 -3
- package/dist/cjs/api/types/OperationsTaskListEntryClientCreate1.d.ts +3 -3
- package/dist/cjs/api/types/Order1.d.ts +20 -20
- package/dist/cjs/api/types/OrderAndTaskGroupExpandedReq.d.ts +6 -6
- package/dist/cjs/api/types/OrderBuilderReq.d.ts +2 -2
- package/dist/cjs/api/types/OrderBuilderRes.d.ts +2 -2
- package/dist/cjs/api/types/OrderDraftExpanded.d.ts +4 -4
- package/dist/cjs/api/types/OrderDraftValidationRequirements.d.ts +5 -5
- package/dist/cjs/api/types/OrderDraftValidationResult.d.ts +1 -1
- package/dist/cjs/api/types/OrderExpanded.d.ts +3 -3
- package/dist/cjs/api/types/OrderGroup1.d.ts +10 -10
- package/dist/cjs/api/types/OrderManifest1.d.ts +5 -5
- package/dist/cjs/api/types/OrderManifestValidationRequirements.d.ts +5 -5
- package/dist/cjs/api/types/OrderSchedule1.d.ts +12 -12
- package/dist/cjs/api/types/OrderScheduleAboutRes.d.ts +2 -2
- package/dist/cjs/api/types/OrderScheduleOrchestratorScheduleStatus.d.ts +2 -2
- package/dist/cjs/api/types/OrderScheduleSpec1.d.ts +1 -1
- package/dist/cjs/api/types/OrderTemplate1.d.ts +17 -15
- package/dist/cjs/api/types/OrderTemplateCore1.d.ts +9 -8
- package/dist/cjs/api/types/OrderTemplateExpanded1.d.ts +6 -4
- package/dist/cjs/api/types/OrderTemplateOrgInfo1.d.ts +2 -2
- package/dist/cjs/api/types/OrderTemplateResolvabilityRes.d.ts +4 -4
- package/dist/cjs/api/types/OrderTypeaheadValue.d.ts +1 -1
- package/dist/cjs/api/types/OrdersDraftUpdateRes.d.ts +5 -5
- package/dist/cjs/api/types/OrgBiddingGroup1.d.ts +6 -6
- package/dist/cjs/api/types/OrgComplianceDocument1.d.ts +5 -5
- package/dist/cjs/api/types/OrgComplianceDocumentS3ObjectMetadata1.d.ts +8 -8
- package/dist/cjs/api/types/OrgInfoResponse.d.ts +6 -6
- package/dist/cjs/api/types/OrgMemberDetails.d.ts +2 -2
- package/dist/cjs/api/types/OrgMembersAndDrivers.d.ts +1 -1
- package/dist/cjs/api/types/OrgPrivateData1.d.ts +6 -6
- package/dist/cjs/api/types/OrgPublicData1.d.ts +5 -5
- package/dist/cjs/api/types/PingRes.d.ts +2 -2
- package/dist/cjs/api/types/ProFormaLineItem1.d.ts +7 -7
- package/dist/cjs/api/types/ProviderConnectionRes.d.ts +1 -1
- package/dist/cjs/api/types/ProviderOrgInfoForConnections1.d.ts +6 -6
- package/dist/cjs/api/types/ProviderOrgProfile1.d.ts +4 -4
- package/dist/cjs/api/types/ProviderProviderConnection1.d.ts +5 -5
- package/dist/cjs/api/types/RateSheetMapping1.d.ts +6 -6
- package/dist/cjs/api/types/ScheduleCalendarSpec.d.ts +12 -5
- package/dist/cjs/api/types/ScheduleIntervalSpec.d.ts +5 -0
- package/dist/cjs/api/types/ScheduleRange.d.ts +4 -1
- package/dist/cjs/api/types/Session1.d.ts +19 -19
- package/dist/cjs/api/types/SessionByDeviceDataPoint1.d.ts +5 -5
- package/dist/cjs/api/types/SessionByDeviceDataPointMetadata1.d.ts +1 -1
- package/dist/cjs/api/types/SessionByDeviceMarkOutliersResponse1.d.ts +1 -1
- package/dist/cjs/api/types/ShipperConnectionRes.d.ts +1 -1
- package/dist/cjs/api/types/ShipperOrgInfoForConnections1.d.ts +6 -6
- package/dist/cjs/api/types/ShipperProviderConnection1.d.ts +5 -5
- package/dist/cjs/api/types/ShippingOrderCancelledWebhookPayload.d.ts +1 -1
- package/dist/cjs/api/types/ShippingOrderCompletedWebhookPayload.d.ts +1 -1
- package/dist/cjs/api/types/ShippingOrderStagedWebhookPayload.d.ts +1 -1
- package/dist/cjs/api/types/ShippingTaskAddedWebhookPayload.d.ts +5 -5
- package/dist/cjs/api/types/ShippingTaskAttemptedWebhookPayload.d.ts +5 -5
- package/dist/cjs/api/types/ShippingTaskCompletedWebhookPayload.d.ts +5 -5
- package/dist/cjs/api/types/ShippingTaskDeletedWebhookPayload.d.ts +5 -5
- package/dist/cjs/api/types/ShippingTaskExecutorOrgNoteAddedWebhookPayload.d.ts +3 -3
- package/dist/cjs/api/types/ShippingTaskGroupDriverAssignedWebhookPayload.d.ts +3 -3
- package/dist/cjs/api/types/ShippingTaskGroupFlightInfoUpdatedWebhookPayload.d.ts +3 -3
- package/dist/cjs/api/types/ShippingTaskGroupInProgressWebhookPayload.d.ts +1 -1
- package/dist/cjs/api/types/ShippingTaskGroupMessageWebhookPayload.d.ts +3 -3
- package/dist/cjs/api/types/ShippingTaskGroupProviderAssignedWebhookPayload.d.ts +3 -3
- package/dist/cjs/api/types/ShippingTaskGroupS3ObjectAddedWebhookPayload.d.ts +1 -1
- package/dist/cjs/api/types/ShippingTaskGroupTasksOrderingUpdatedWebhookPayload.d.ts +1 -1
- package/dist/cjs/api/types/ShippingTaskSkippedWebhookPayload.d.ts +5 -5
- package/dist/cjs/api/types/ShippingTaskTaskArtifactCompletedWebhookPayload.d.ts +5 -5
- package/dist/cjs/api/types/ShippingTurnClientCreate1.d.ts +8 -8
- package/dist/cjs/api/types/Statement1.d.ts +26 -26
- package/dist/cjs/api/types/StatementExpandedListItem.d.ts +1 -1
- package/dist/cjs/api/types/StatementExpandedRes.d.ts +1 -1
- package/dist/cjs/api/types/StationaryCluster.d.ts +3 -3
- package/dist/cjs/api/types/Task1.d.ts +25 -25
- package/dist/cjs/api/types/TaskArtifact1.d.ts +20 -20
- package/dist/cjs/api/types/TaskArtifactClientCreate1.d.ts +1 -1
- package/dist/cjs/api/types/TaskArtifactS3ObjectMetadata1.d.ts +9 -9
- package/dist/cjs/api/types/TaskClientCreate1.d.ts +5 -5
- package/dist/cjs/api/types/TaskClientUpdate1.d.ts +2 -2
- package/dist/cjs/api/types/TaskExecutorOrgNote1.d.ts +2 -2
- package/dist/cjs/api/types/TaskExpanded.d.ts +2 -2
- package/dist/cjs/api/types/TaskGroup1.d.ts +37 -37
- package/dist/cjs/api/types/TaskGroupByDriverDataPoint1.d.ts +3 -3
- package/dist/cjs/api/types/TaskGroupByDriverDataPointMetadata1.d.ts +1 -1
- package/dist/cjs/api/types/TaskGroupByDriverSharingSettings1.d.ts +6 -6
- package/dist/cjs/api/types/TaskGroupExpanded.d.ts +11 -11
- package/dist/cjs/api/types/TaskGroupManifest1.d.ts +3 -3
- package/dist/cjs/api/types/TaskGroupMessage1.d.ts +2 -2
- package/dist/cjs/api/types/TaskGroupQuoteResp.d.ts +9 -9
- package/dist/cjs/api/types/TaskGroupS3ObjectMetadata1.d.ts +8 -8
- package/dist/cjs/api/types/TaskManifest1.d.ts +6 -6
- package/dist/cjs/api/types/TaskWaitTimeGeofenceRes.d.ts +2 -2
- package/dist/cjs/api/types/TimezoneResponse.d.ts +1 -1
- package/dist/cjs/api/types/TiveDataPoint1.d.ts +9 -9
- package/dist/cjs/api/types/TiveDataPointMetadata1.d.ts +2 -2
- package/dist/cjs/api/types/TiveDevice1.d.ts +5 -5
- package/dist/cjs/api/types/TiveShipment1.d.ts +4 -4
- package/dist/cjs/api/types/TiveTimeseriesSyncRes.d.ts +2 -2
- package/dist/cjs/api/types/TrackingSessionDestinationGeofenceEnteredWebhookPayload.d.ts +1 -1
- package/dist/cjs/api/types/TrackingSharingSettingsRes.d.ts +1 -1
- package/dist/cjs/api/types/TrackingWebhookResponse.d.ts +1 -1
- package/dist/cjs/api/types/UngroupedOrderRow.d.ts +1 -1
- package/dist/cjs/api/types/UserPrivateData1.d.ts +5 -5
- package/dist/cjs/api/types/UserPublicData1.d.ts +2 -2
- package/dist/cjs/api/types/ValidationError.d.ts +2 -2
- package/dist/cjs/api/types/ValidationIssueScope.d.ts +1 -1
- package/dist/cjs/api/types/Vehicle1.d.ts +1 -1
- package/dist/cjs/api/types/WebcargoAccountId.d.ts +1 -1
- package/dist/cjs/api/types/WebcargoBookingRate.d.ts +10 -10
- package/dist/cjs/api/types/WebcargoBookingRecord1.d.ts +7 -7
- package/dist/cjs/api/types/WebcargoBusinessInfo.d.ts +1 -1
- package/dist/cjs/api/types/WebcargoContact.d.ts +1 -1
- package/dist/cjs/api/types/WebcargoDimension.d.ts +2 -2
- package/dist/cjs/api/types/WebcargoDocumentIdentifier.d.ts +1 -1
- package/dist/cjs/api/types/WebcargoFee.d.ts +5 -5
- package/dist/cjs/api/types/WebcargoLeg.d.ts +2 -2
- package/dist/cjs/api/types/WebcargoLoad.d.ts +2 -2
- package/dist/cjs/api/types/WebcargoLocation.d.ts +3 -3
- package/dist/cjs/api/types/WebcargoPackage.d.ts +2 -2
- package/dist/cjs/api/types/WebcargoParty.d.ts +3 -3
- package/dist/cjs/api/types/WebcargoPostalAddress.d.ts +5 -5
- package/dist/cjs/api/types/WebcargoPriceIndicator.d.ts +1 -1
- package/dist/cjs/api/types/WebcargoSegment.d.ts +12 -12
- package/dist/cjs/api/types/WebcargoShipment.d.ts +1 -1
- package/dist/cjs/api/types/WebhookAppPortalAccessRes.d.ts +1 -1
- package/dist/cjs/api/types/WorkflowActor.d.ts +3 -3
- package/dist/cjs/api/types/index.d.ts +7 -0
- package/dist/cjs/api/types/index.js +7 -0
- 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/analytics/resources/shipping/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/analytics/resources/shipping/client/Client.mjs +2 -2
- package/dist/esm/api/resources/analytics/resources/shipping/client/requests/AnalyticsTimePeriodReq.d.mts +4 -4
- package/dist/esm/api/resources/billing/client/Client.d.mts +12 -12
- package/dist/esm/api/resources/billing/client/Client.mjs +16 -16
- package/dist/esm/api/resources/billing/resources/billingLedgerPeriods/client/Client.d.mts +13 -13
- package/dist/esm/api/resources/billing/resources/billingLedgerPeriods/client/Client.mjs +59 -59
- package/dist/esm/api/resources/billing/resources/billingLedgerPeriods/client/requests/BillingLedgerPeriodClientUpdate1.d.mts +2 -2
- package/dist/esm/api/resources/billing/resources/billingLedgerPeriods/client/requests/OpenPeriodReq.d.mts +2 -2
- package/dist/esm/api/resources/billing/resources/billingLedgers/client/Client.d.mts +28 -28
- package/dist/esm/api/resources/billing/resources/billingLedgers/client/Client.mjs +92 -92
- package/dist/esm/api/resources/billing/resources/billingLedgers/client/requests/BillingLedgerClientCreate1.d.mts +7 -7
- package/dist/esm/api/resources/billing/resources/billingLedgers/client/requests/BillingLedgerClientUpdate1.d.mts +2 -2
- package/dist/esm/api/resources/billing/resources/billingLedgers/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/billing/resources/cargoOnFlightRateSheets/client/Client.d.mts +27 -27
- package/dist/esm/api/resources/billing/resources/cargoOnFlightRateSheets/client/Client.mjs +72 -72
- package/dist/esm/api/resources/billing/resources/cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetClientCreate1.d.mts +4 -4
- package/dist/esm/api/resources/billing/resources/cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetClientUpdate1.d.mts +8 -8
- package/dist/esm/api/resources/billing/resources/cargoOnFlightRateSheets/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/billing/resources/chrtGroundProviderRateSheets/client/Client.d.mts +27 -27
- package/dist/esm/api/resources/billing/resources/chrtGroundProviderRateSheets/client/Client.mjs +77 -77
- package/dist/esm/api/resources/billing/resources/chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetClientCreate1.d.mts +14 -14
- package/dist/esm/api/resources/billing/resources/chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetClientUpdate1.d.mts +27 -27
- package/dist/esm/api/resources/billing/resources/chrtGroundProviderRateSheets/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/billing/resources/index.d.mts +8 -8
- package/dist/esm/api/resources/billing/resources/index.mjs +8 -8
- package/dist/esm/api/resources/billing/resources/lineItemGroups/client/Client.d.mts +104 -104
- package/dist/esm/api/resources/billing/resources/lineItemGroups/client/Client.mjs +256 -256
- package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupAdHocCreateClientReq.d.mts +7 -7
- package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/SharedTaskGroupMileageCreateForProviderPayDriverClientReq.d.mts +5 -5
- package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/SharedTaskGroupMileageCreateForProviderPayProviderClientReq.d.mts +5 -5
- package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/s3Objects/client/Client.d.mts +19 -19
- package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/s3Objects/client/Client.mjs +52 -52
- package/dist/esm/api/resources/billing/resources/lineItems/resources/s3Objects/client/Client.d.mts +19 -19
- package/dist/esm/api/resources/billing/resources/lineItems/resources/s3Objects/client/Client.mjs +52 -52
- package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/client/Client.d.mts +27 -27
- package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/client/Client.mjs +72 -72
- package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/client/requests/OnboardCourierRateSheetClientCreate1.d.mts +2 -2
- package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/client/requests/OnboardCourierRateSheetClientUpdate1.d.mts +3 -3
- package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/Client.d.mts +37 -37
- package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/Client.mjs +102 -102
- package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/requests/RateSheetMappingClientCreate1.d.mts +5 -5
- package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/billing/resources/statements/client/Client.d.mts +115 -115
- package/dist/esm/api/resources/billing/resources/statements/client/Client.mjs +366 -366
- package/dist/esm/api/resources/billing/resources/statements/client/requests/StatementCreateClientReq.d.mts +7 -7
- package/dist/esm/api/resources/billing/resources/statements/client/requests/index.d.mts +2 -2
- package/dist/esm/api/resources/billing/resources/stripe/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/billing/resources/stripe/client/Client.mjs +2 -2
- package/dist/esm/api/resources/billing/resources/stripe/client/requests/CreateCheckoutSessionReq.d.mts +3 -3
- package/dist/esm/api/resources/billing/resources/stripeConnect/client/Client.d.mts +8 -8
- package/dist/esm/api/resources/billing/resources/stripeConnect/client/Client.mjs +19 -19
- package/dist/esm/api/resources/flights/client/Client.d.mts +3 -3
- package/dist/esm/api/resources/flights/client/Client.mjs +3 -3
- package/dist/esm/api/resources/flights/client/requests/FlightConnectionsSearchReq.d.mts +23 -23
- package/dist/esm/api/resources/integrations/resources/airWaybills/client/Client.d.mts +33 -33
- package/dist/esm/api/resources/integrations/resources/airWaybills/client/Client.mjs +68 -68
- package/dist/esm/api/resources/integrations/resources/airWaybills/client/requests/ChampAirWaybillClientUpdate1.d.mts +23 -23
- package/dist/esm/api/resources/integrations/resources/cargoaiTrackAndTrace/client/Client.d.mts +16 -16
- package/dist/esm/api/resources/integrations/resources/cargoaiTrackAndTrace/client/Client.mjs +35 -35
- package/dist/esm/api/resources/integrations/resources/webcargoBookings/client/Client.d.mts +8 -8
- package/dist/esm/api/resources/integrations/resources/webcargoBookings/client/Client.mjs +16 -16
- package/dist/esm/api/resources/integrations/resources/webcargoEmbed/client/Client.d.mts +3 -3
- package/dist/esm/api/resources/integrations/resources/webcargoEmbed/client/Client.mjs +3 -3
- package/dist/esm/api/resources/integrations/resources/webcargoEmbed/client/requests/GetWebcargoEmbedReq.d.mts +6 -6
- package/dist/esm/api/resources/listing/client/Client.d.mts +6 -6
- package/dist/esm/api/resources/listing/client/Client.mjs +10 -10
- package/dist/esm/api/resources/listing/resources/bidThreads/client/Client.d.mts +64 -64
- package/dist/esm/api/resources/listing/resources/bidThreads/client/Client.mjs +216 -216
- package/dist/esm/api/resources/listing/resources/bidThreads/client/requests/BidThreadClientCreate1.d.mts +2 -2
- package/dist/esm/api/resources/listing/resources/bidThreads/client/requests/index.d.mts +2 -2
- package/dist/esm/api/resources/listing/resources/driverBiddingGroups/client/Client.d.mts +39 -39
- package/dist/esm/api/resources/listing/resources/driverBiddingGroups/client/Client.mjs +105 -105
- package/dist/esm/api/resources/listing/resources/driverBiddingGroups/client/requests/DriverBiddingGroupClientCreate1.d.mts +3 -3
- package/dist/esm/api/resources/listing/resources/driverBiddingGroups/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/listing/resources/index.d.mts +4 -4
- package/dist/esm/api/resources/listing/resources/index.mjs +4 -4
- package/dist/esm/api/resources/listing/resources/listings/client/Client.d.mts +79 -79
- package/dist/esm/api/resources/listing/resources/listings/client/Client.mjs +286 -286
- package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingAddDriverParticipantsReq.d.mts +1 -1
- package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingAddProviderParticipantsReq.d.mts +1 -1
- package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingClientCreate1.d.mts +13 -13
- package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingClientUpdate1.d.mts +3 -3
- package/dist/esm/api/resources/listing/resources/listings/client/requests/index.d.mts +6 -6
- package/dist/esm/api/resources/listing/resources/orgBiddingGroups/client/Client.d.mts +39 -39
- package/dist/esm/api/resources/listing/resources/orgBiddingGroups/client/Client.mjs +105 -105
- package/dist/esm/api/resources/listing/resources/orgBiddingGroups/client/requests/OrgBiddingGroupClientCreate1.d.mts +3 -3
- package/dist/esm/api/resources/listing/resources/orgBiddingGroups/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/notifications/resources/adHoc/client/Client.d.mts +36 -36
- package/dist/esm/api/resources/notifications/resources/adHoc/client/Client.mjs +98 -98
- package/dist/esm/api/resources/notifications/resources/groups/client/Client.d.mts +61 -61
- package/dist/esm/api/resources/notifications/resources/groups/client/Client.mjs +150 -150
- package/dist/esm/api/resources/notifications/resources/groups/client/requests/NotificationGroupClientCreate1.d.mts +3 -3
- package/dist/esm/api/resources/notifications/resources/groups/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/notifications/resources/userPreferences/client/Client.d.mts +8 -8
- package/dist/esm/api/resources/notifications/resources/userPreferences/client/Client.mjs +16 -16
- package/dist/esm/api/resources/notifications/resources/userPreferences/client/requests/UserNotificationPreferencesUpdateRequest.d.mts +2 -2
- package/dist/esm/api/resources/notifications/resources/webhookSetup/client/Client.d.mts +14 -14
- package/dist/esm/api/resources/notifications/resources/webhookSetup/client/Client.mjs +28 -28
- package/dist/esm/api/resources/operations/resources/cases/client/Client.d.mts +84 -51
- package/dist/esm/api/resources/operations/resources/cases/client/Client.mjs +293 -145
- package/dist/esm/api/resources/operations/resources/cases/client/requests/CaseClientUpdate1.d.mts +3 -1
- package/dist/esm/api/resources/operations/resources/cases/client/requests/CasesExpandedListV1Request.d.mts +17 -0
- package/dist/esm/api/resources/operations/resources/cases/client/requests/CasesExpandedListV1Request.mjs +4 -0
- package/dist/esm/api/resources/operations/resources/cases/client/requests/CasesListV1Request.d.mts +2 -0
- package/dist/esm/api/resources/operations/resources/cases/client/requests/CasesTypeaheadV1Request.d.mts +16 -0
- package/dist/esm/api/resources/operations/resources/cases/client/requests/CasesTypeaheadV1Request.mjs +4 -0
- package/dist/esm/api/resources/operations/resources/cases/client/requests/index.d.mts +5 -3
- package/dist/esm/api/resources/operations/resources/cases/resources/s3Objects/client/Client.d.mts +19 -19
- package/dist/esm/api/resources/operations/resources/cases/resources/s3Objects/client/Client.mjs +52 -52
- package/dist/esm/api/resources/operations/resources/departmentRoutingRules/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/operations/resources/departmentRoutingRules/client/Client.mjs +2 -2
- package/dist/esm/api/resources/operations/resources/departmentRoutingRules/client/requests/DepartmentRoutingRuleClientCreate1.d.mts +4 -4
- package/dist/esm/api/resources/operations/resources/departments/client/Client.d.mts +41 -41
- package/dist/esm/api/resources/operations/resources/departments/client/Client.mjs +107 -107
- package/dist/esm/api/resources/operations/resources/departments/client/requests/DepartmentClientCreate1.d.mts +4 -4
- package/dist/esm/api/resources/operations/resources/departments/client/requests/DepartmentClientUpdate1.d.mts +1 -1
- package/dist/esm/api/resources/operations/resources/departments/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/Client.d.mts +65 -65
- package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/Client.mjs +169 -169
- package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListClientCreate1.d.mts +5 -5
- package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListClientUpdate1.d.mts +2 -2
- package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/index.d.mts +3 -3
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.d.mts +66 -66
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.mjs +184 -184
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientCreate1.d.mts +8 -8
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientUpdate1.d.mts +4 -4
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksBulkUpdateDeadlinesReq1.d.mts +2 -2
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/index.d.mts +4 -4
- package/dist/esm/api/resources/orgs/client/Client.d.mts +6 -6
- package/dist/esm/api/resources/orgs/client/Client.mjs +8 -8
- package/dist/esm/api/resources/orgs/client/requests/SetupOrgReq.d.mts +2 -2
- package/dist/esm/api/resources/orgs/resources/complianceDocuments/client/Client.d.mts +24 -24
- package/dist/esm/api/resources/orgs/resources/complianceDocuments/client/Client.mjs +59 -59
- package/dist/esm/api/resources/orgs/resources/complianceDocuments/client/requests/OrgComplianceDocumentClientCreate1.d.mts +4 -4
- package/dist/esm/api/resources/orgs/resources/complianceDocuments/resources/s3Object/client/Client.d.mts +19 -19
- package/dist/esm/api/resources/orgs/resources/complianceDocuments/resources/s3Object/client/Client.mjs +57 -57
- package/dist/esm/api/resources/orgs/resources/connections/client/Client.d.mts +34 -34
- package/dist/esm/api/resources/orgs/resources/connections/client/Client.mjs +117 -117
- package/dist/esm/api/resources/orgs/resources/connections/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/orgs/resources/index.d.mts +4 -4
- package/dist/esm/api/resources/orgs/resources/index.mjs +4 -4
- package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/Client.mjs +2 -2
- package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientCreate1.d.mts +7 -7
- package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientUpdate1.d.mts +11 -11
- package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/Client.mjs +2 -2
- package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientCreate1.d.mts +7 -7
- package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientUpdate1.d.mts +11 -11
- package/dist/esm/api/resources/orgs/resources/offChrtVendor/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/orgs/resources/offChrtVendor/client/Client.mjs +2 -2
- package/dist/esm/api/resources/orgs/resources/offChrtVendor/client/requests/OffChrtVendorClientCreate1.d.mts +3 -3
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/client/Client.d.mts +3 -3
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/client/Client.mjs +5 -5
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/index.d.mts +2 -2
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/index.mjs +2 -2
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/Client.d.mts +19 -19
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/Client.mjs +51 -51
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientCreate1.d.mts +7 -7
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientUpdate1.d.mts +11 -11
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/Client.d.mts +12 -12
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/Client.mjs +51 -51
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientCreate1.d.mts +7 -7
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientUpdate1.d.mts +11 -11
- package/dist/esm/api/resources/orgs/resources/orgProfiles/client/Client.d.mts +17 -17
- package/dist/esm/api/resources/orgs/resources/orgProfiles/client/Client.mjs +41 -41
- package/dist/esm/api/resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientCreate1.d.mts +3 -3
- package/dist/esm/api/resources/orgs/resources/publicData/client/Client.d.mts +13 -13
- package/dist/esm/api/resources/orgs/resources/publicData/client/Client.mjs +54 -54
- package/dist/esm/api/resources/orgs/resources/publicData/client/requests/UpdateOrgPublicDataReq.d.mts +1 -1
- package/dist/esm/api/resources/shipping/client/Client.d.mts +12 -12
- package/dist/esm/api/resources/shipping/client/Client.mjs +20 -20
- package/dist/esm/api/resources/shipping/resources/drivers/client/Client.d.mts +97 -97
- package/dist/esm/api/resources/shipping/resources/drivers/client/Client.mjs +313 -313
- package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriverClientCreate1.d.mts +3 -3
- package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriverClientUpdate1.d.mts +7 -7
- package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriverSelfReportedHoursAndMileageClientCreate1.d.mts +4 -4
- package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriverSelfReportedHoursAndMileageClientUpdate1.d.mts +1 -1
- package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriverStatsReq.d.mts +3 -4
- package/dist/esm/api/resources/shipping/resources/drivers/client/requests/index.d.mts +5 -5
- package/dist/esm/api/resources/shipping/resources/drivers/resources/complianceDocuments/client/Client.d.mts +23 -23
- package/dist/esm/api/resources/shipping/resources/drivers/resources/complianceDocuments/client/Client.mjs +43 -43
- package/dist/esm/api/resources/shipping/resources/drivers/resources/complianceDocuments/client/requests/DriverComplianceDocumentClientCreate1.d.mts +4 -4
- package/dist/esm/api/resources/shipping/resources/drivers/resources/complianceDocuments/resources/s3Object/client/Client.d.mts +19 -19
- package/dist/esm/api/resources/shipping/resources/drivers/resources/complianceDocuments/resources/s3Object/client/Client.mjs +57 -57
- package/dist/esm/api/resources/shipping/resources/index.d.mts +6 -6
- package/dist/esm/api/resources/shipping/resources/index.mjs +6 -6
- package/dist/esm/api/resources/shipping/resources/orderDrafts/client/Client.d.mts +52 -52
- package/dist/esm/api/resources/shipping/resources/orderDrafts/client/Client.mjs +114 -114
- package/dist/esm/api/resources/shipping/resources/orderDrafts/client/requests/OrdersDraftUpdateReq.d.mts +5 -5
- package/dist/esm/api/resources/shipping/resources/orderDrafts/client/requests/OrdersNewDraftReq.d.mts +12 -9
- package/dist/esm/api/resources/shipping/resources/orderDrafts/client/requests/index.d.mts +3 -3
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/agentic/types/OrderBuilderStreamEvent.d.mts +3 -3
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/cargo/client/Client.d.mts +21 -21
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/cargo/client/Client.mjs +41 -41
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/cargo/client/requests/OrderDraftAddCargoReq.d.mts +5 -5
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/cargo/client/requests/OrderDraftAssociateCargoWithTaskReq.d.mts +3 -3
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/cargo/client/requests/OrderDraftUnassociateCargoWithTaskReq.d.mts +3 -3
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.d.mts +14 -14
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.mjs +63 -63
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/index.d.mts +6 -6
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/index.mjs +6 -6
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/task/client/Client.d.mts +15 -15
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/task/client/Client.mjs +26 -26
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/task/client/requests/OrderDraftAddTaskReqV1.d.mts +4 -4
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskArtifact/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskArtifact/client/Client.mjs +2 -2
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskArtifact/client/requests/OrderDraftAddTaskArtifactReq.d.mts +4 -4
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/Client.d.mts +46 -46
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/Client.mjs +79 -79
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/OrderDraftAddTaskGroupReq.d.mts +4 -4
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/SetRateSheetsReq.d.mts +2 -2
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/index.d.mts +3 -3
- package/dist/esm/api/resources/shipping/resources/orderGroups/client/Client.d.mts +37 -37
- package/dist/esm/api/resources/shipping/resources/orderGroups/client/Client.mjs +106 -106
- package/dist/esm/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupClientCreate1.d.mts +4 -4
- package/dist/esm/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupClientUpdate1.d.mts +1 -1
- package/dist/esm/api/resources/shipping/resources/orderGroups/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/shipping/resources/orderSchedules/client/Client.d.mts +52 -52
- package/dist/esm/api/resources/shipping/resources/orderSchedules/client/Client.mjs +136 -136
- package/dist/esm/api/resources/shipping/resources/orderSchedules/resources/draft/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/shipping/resources/orderSchedules/resources/draft/client/Client.mjs +2 -2
- package/dist/esm/api/resources/shipping/resources/orderSchedules/resources/draft/client/requests/OrderScheduleClientCreate1.d.mts +4 -4
- package/dist/esm/api/resources/shipping/resources/orderSchedules/resources/draft/client/requests/OrderScheduleClientUpdate1.d.mts +2 -2
- package/dist/esm/api/resources/shipping/resources/orderTemplates/client/Client.d.mts +41 -41
- package/dist/esm/api/resources/shipping/resources/orderTemplates/client/Client.mjs +111 -111
- package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientCreate1.d.mts +13 -12
- package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientUpdate1.d.mts +17 -15
- package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/index.d.mts +2 -2
- package/dist/esm/api/resources/shipping/resources/orders/client/Client.d.mts +30 -30
- package/dist/esm/api/resources/shipping/resources/orders/client/Client.mjs +73 -73
- package/dist/esm/api/resources/shipping/resources/orders/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.mts +8 -8
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.mjs +14 -14
- package/dist/esm/api/resources/shipping/resources/taskArtifacts/client/Client.d.mts +10 -10
- package/dist/esm/api/resources/shipping/resources/taskArtifacts/client/Client.mjs +18 -18
- package/dist/esm/api/resources/shipping/resources/taskArtifacts/client/requests/AddTaskArtifactReq.d.mts +3 -3
- package/dist/esm/api/resources/shipping/resources/taskArtifacts/resources/s3Object/client/Client.d.mts +36 -36
- package/dist/esm/api/resources/shipping/resources/taskArtifacts/resources/s3Object/client/Client.mjs +76 -76
- package/dist/esm/api/resources/shipping/resources/taskGroups/client/Client.d.mts +146 -146
- package/dist/esm/api/resources/shipping/resources/taskGroups/client/Client.mjs +279 -279
- package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForProviderPayDriverClientReq.d.mts +1 -1
- package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForProviderPayProviderClientReq.d.mts +1 -1
- package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForShipperPayProviderClientReq.d.mts +1 -1
- package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/index.d.mts +5 -5
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.mts +23 -23
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.mjs +43 -43
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/index.d.mts +3 -3
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/index.mjs +3 -3
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/s3Object/client/Client.d.mts +19 -19
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/s3Object/client/Client.mjs +52 -52
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/Client.d.mts +8 -8
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/Client.mjs +14 -14
- package/dist/esm/api/resources/shipping/resources/tasks/client/Client.d.mts +56 -56
- package/dist/esm/api/resources/shipping/resources/tasks/client/Client.mjs +110 -110
- package/dist/esm/api/resources/shipping/resources/tasks/client/requests/AddTaskToGroupReq.d.mts +6 -6
- package/dist/esm/api/resources/shipping/resources/tasks/client/requests/WaitTimeOverrideReq.d.mts +1 -1
- package/dist/esm/api/resources/shipping/resources/tasks/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/tracking/resources/devices/client/Client.d.mts +67 -67
- package/dist/esm/api/resources/tracking/resources/devices/client/Client.mjs +197 -197
- package/dist/esm/api/resources/tracking/resources/devices/client/requests/DeviceClientCreate1.d.mts +5 -5
- package/dist/esm/api/resources/tracking/resources/devices/client/requests/DeviceClientUpdate1.d.mts +3 -3
- package/dist/esm/api/resources/tracking/resources/devices/client/requests/DevicesUpdateSharedOrgsReq1.d.mts +1 -1
- package/dist/esm/api/resources/tracking/resources/devices/client/requests/index.d.mts +5 -5
- package/dist/esm/api/resources/tracking/resources/driver/client/Client.d.mts +3 -3
- package/dist/esm/api/resources/tracking/resources/driver/client/Client.mjs +3 -3
- package/dist/esm/api/resources/tracking/resources/driver/client/requests/DriverByDriverDataPointClientCreate1.d.mts +4 -4
- package/dist/esm/api/resources/tracking/resources/sessions/client/Client.d.mts +86 -86
- package/dist/esm/api/resources/tracking/resources/sessions/client/Client.mjs +222 -222
- package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionClientCreate1.d.mts +5 -5
- package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionClientUpdate1.d.mts +6 -6
- package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionSetFlightInfoReq1.d.mts +7 -7
- package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionsUpdateSharedOrgsReq1.d.mts +1 -1
- package/dist/esm/api/resources/tracking/resources/sessions/client/requests/index.d.mts +6 -6
- package/dist/esm/api/resources/tracking/resources/sharingSettings/client/Client.d.mts +28 -28
- package/dist/esm/api/resources/tracking/resources/sharingSettings/client/Client.mjs +50 -50
- package/dist/esm/api/resources/tracking/resources/sharingSettings/client/requests/CargoByDeviceSharingSettingsUpdateReq.d.mts +3 -3
- package/dist/esm/api/resources/tracking/resources/sharingSettings/client/requests/CargoByDriverSharingSettingsUpdateReq.d.mts +3 -3
- package/dist/esm/api/resources/tracking/resources/sharingSettings/client/requests/TaskGroupByDriverSharingSettingsUpdateReq.d.mts +3 -3
- package/dist/esm/api/resources/tracking/resources/sharingSettings/client/requests/index.d.mts +2 -2
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/Client.d.mts +26 -26
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/Client.mjs +64 -64
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/requests/CargoByDeviceMarkOutliersRequest1.d.mts +3 -3
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/requests/index.d.mts +3 -3
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDriver/client/Client.d.mts +23 -23
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDriver/client/Client.mjs +51 -51
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDriver/client/requests/index.d.mts +2 -2
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/sessionByDevice/client/Client.d.mts +27 -27
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/sessionByDevice/client/Client.mjs +66 -66
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/sessionByDevice/client/requests/SessionByDeviceMarkOutliersRequest1.d.mts +3 -3
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/sessionByDevice/client/requests/index.d.mts +3 -3
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/Client.d.mts +23 -23
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/Client.mjs +51 -51
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/requests/index.d.mts +2 -2
- package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/devices/client/Client.d.mts +15 -15
- package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/devices/client/Client.mjs +60 -60
- package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/devices/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/shipments/client/Client.d.mts +15 -15
- package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/shipments/client/Client.mjs +60 -60
- package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/shipments/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/timeseries/client/Client.d.mts +14 -14
- package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/timeseries/client/Client.mjs +29 -29
- package/dist/esm/api/resources/trackingIntegrations/resources/tive/resources/timeseries/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/users/client/Client.d.mts +6 -6
- package/dist/esm/api/resources/users/client/Client.mjs +6 -6
- package/dist/esm/api/resources/users/resources/directoryEntries/client/Client.d.mts +23 -23
- package/dist/esm/api/resources/users/resources/directoryEntries/client/Client.mjs +76 -76
- package/dist/esm/api/resources/users/resources/directoryEntries/client/requests/DirectoryEntryClientCreate1.d.mts +8 -8
- package/dist/esm/api/resources/users/resources/directoryEntries/client/requests/DirectoryEntryClientUpdate1.d.mts +13 -13
- package/dist/esm/api/resources/users/resources/directoryEntries/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/users/resources/index.d.mts +3 -3
- package/dist/esm/api/resources/users/resources/index.mjs +3 -3
- package/dist/esm/api/resources/users/resources/privateData/client/Client.d.mts +15 -15
- package/dist/esm/api/resources/users/resources/privateData/client/Client.mjs +59 -59
- package/dist/esm/api/resources/users/resources/privateData/client/requests/UserPrivateDataClientCreate1.d.mts +2 -2
- package/dist/esm/api/resources/users/resources/privateData/client/requests/UserPrivateDataClientUpdate1.d.mts +2 -2
- package/dist/esm/api/resources/users/resources/privateData/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/utils/client/Client.d.mts +3 -3
- package/dist/esm/api/resources/utils/client/Client.mjs +5 -5
- package/dist/esm/api/resources/utils/resources/dev/client/Client.d.mts +24 -24
- package/dist/esm/api/resources/utils/resources/dev/client/Client.mjs +80 -80
- package/dist/esm/api/resources/utils/resources/index.d.mts +1 -1
- package/dist/esm/api/resources/utils/resources/index.mjs +1 -1
- package/dist/esm/api/resources/utils/resources/root/client/Client.d.mts +18 -18
- package/dist/esm/api/resources/utils/resources/root/client/Client.mjs +35 -35
- package/dist/esm/api/types/AiImageDescription.d.mts +9 -9
- package/dist/esm/api/types/AlertMessage.d.mts +2 -2
- package/dist/esm/api/types/Bid.d.mts +4 -4
- package/dist/esm/api/types/BidAppendReq.d.mts +1 -1
- package/dist/esm/api/types/BidThread1.d.mts +6 -6
- package/dist/esm/api/types/BillingLedger1.d.mts +14 -14
- package/dist/esm/api/types/BillingLedgerPeriod1.d.mts +19 -19
- package/dist/esm/api/types/BillingLineItemGroupMessageWebhookPayload.d.mts +1 -1
- package/dist/esm/api/types/BillingLineItemGroupS3ObjectAddedWebhookPayload.d.mts +1 -1
- package/dist/esm/api/types/BillingLineItemS3ObjectAddedWebhookPayload.d.mts +3 -3
- package/dist/esm/api/types/BillingStatementOpenedWebhookPayload.d.mts +1 -1
- package/dist/esm/api/types/BillingStatementPaidWebhookPayload.d.mts +1 -1
- package/dist/esm/api/types/Caller.d.mts +4 -4
- package/dist/esm/api/types/Cargo1.d.mts +19 -19
- package/dist/esm/api/types/CargoAiTrackAndTraceAdditionalInformation.d.mts +2 -2
- package/dist/esm/api/types/CargoAiTrackAndTraceEvent.d.mts +13 -13
- package/dist/esm/api/types/CargoAiTrackAndTraceFlight.d.mts +11 -11
- package/dist/esm/api/types/CargoAiTrackAndTraceSubscription1.d.mts +7 -7
- package/dist/esm/api/types/CargoAiTrackAndTraceUpdate1.d.mts +11 -11
- package/dist/esm/api/types/CargoAiTrackAndTraceWebhookResponse.d.mts +1 -1
- package/dist/esm/api/types/CargoByDeviceDataPoint1.d.mts +4 -4
- package/dist/esm/api/types/CargoByDeviceDataPointMetadata1.d.mts +1 -1
- package/dist/esm/api/types/CargoByDeviceMarkOutliersResponse1.d.mts +1 -1
- package/dist/esm/api/types/CargoByDeviceSharingSettings1.d.mts +6 -6
- package/dist/esm/api/types/CargoByDriverDataPoint1.d.mts +3 -3
- package/dist/esm/api/types/CargoByDriverDataPointMetadata1.d.mts +1 -1
- package/dist/esm/api/types/CargoByDriverSharingSettings1.d.mts +6 -6
- package/dist/esm/api/types/CargoClientCreate1.d.mts +8 -8
- package/dist/esm/api/types/CargoClientUpdate1.d.mts +15 -15
- package/dist/esm/api/types/CargoManifest1.d.mts +8 -8
- package/dist/esm/api/types/CargoOnFlightRateSheet1.d.mts +7 -7
- package/dist/esm/api/types/CargojsonAccounting.d.mts +1 -1
- package/dist/esm/api/types/CargojsonAddress.d.mts +4 -4
- package/dist/esm/api/types/CargojsonAddressing.d.mts +3 -3
- package/dist/esm/api/types/CargojsonAgent.d.mts +3 -3
- package/dist/esm/api/types/CargojsonCharge.d.mts +2 -2
- package/dist/esm/api/types/CargojsonChargeDeclarations.d.mts +3 -3
- package/dist/esm/api/types/CargojsonChargeItem.d.mts +4 -4
- package/dist/esm/api/types/CargojsonChargeSummary.d.mts +3 -3
- package/dist/esm/api/types/CargojsonCollectChargesInDestCurrency.d.mts +3 -3
- package/dist/esm/api/types/CargojsonDimensions.d.mts +2 -2
- package/dist/esm/api/types/CargojsonEdifactData.d.mts +2 -2
- package/dist/esm/api/types/CargojsonOci.d.mts +3 -3
- package/dist/esm/api/types/CargojsonOfficeMessageAddress.d.mts +1 -1
- package/dist/esm/api/types/CargojsonOtherChargeItem.d.mts +3 -3
- package/dist/esm/api/types/CargojsonOtherParticipant.d.mts +1 -1
- package/dist/esm/api/types/CargojsonPackaging.d.mts +4 -4
- package/dist/esm/api/types/CargojsonParticipantAddress.d.mts +1 -1
- package/dist/esm/api/types/CargojsonParticipantIdentifier.d.mts +2 -2
- package/dist/esm/api/types/CargojsonSalesIncentive.d.mts +1 -1
- package/dist/esm/api/types/CargojsonShipmentReferenceInformation.d.mts +1 -1
- package/dist/esm/api/types/CargojsonUld.d.mts +3 -3
- package/dist/esm/api/types/Case1.d.mts +8 -7
- package/dist/esm/api/types/CaseMessage1.d.mts +2 -2
- package/dist/esm/api/types/CaseS3ObjectMetadata1.d.mts +8 -8
- package/dist/esm/api/types/CaseTypeaheadFieldEnum.d.mts +4 -0
- package/dist/esm/api/types/CaseTypeaheadFieldEnum.mjs +4 -0
- package/dist/esm/api/types/CaseTypeaheadResult.d.mts +8 -0
- package/dist/esm/api/types/CaseTypeaheadResult.mjs +4 -0
- package/dist/esm/api/types/CasesExpandedListItem.d.mts +15 -0
- package/dist/esm/api/types/CasesExpandedListItem.mjs +4 -0
- package/dist/esm/api/types/CasesExpandedListRes.d.mts +8 -0
- package/dist/esm/api/types/CasesExpandedListRes.mjs +4 -0
- package/dist/esm/api/types/CasesExpandedListShippingTaskGroup.d.mts +8 -0
- package/dist/esm/api/types/CasesExpandedListShippingTaskGroup.mjs +4 -0
- package/dist/esm/api/types/ChampAirWaybill1.d.mts +33 -33
- package/dist/esm/api/types/ChampConfirmationReceipt1.d.mts +10 -10
- package/dist/esm/api/types/ChampFlightStatus1.d.mts +8 -8
- package/dist/esm/api/types/ChampFlightStatusEvent1.d.mts +15 -15
- package/dist/esm/api/types/ChampOriginAndDestination.d.mts +1 -1
- package/dist/esm/api/types/ChampQuantity.d.mts +1 -1
- package/dist/esm/api/types/ChrtGroundProviderRateSheet1.d.mts +17 -17
- package/dist/esm/api/types/CiriumAirportResources.d.mts +3 -3
- package/dist/esm/api/types/CiriumFlightAlertsWebhookResponse.d.mts +1 -1
- package/dist/esm/api/types/CiriumFlightStatus.d.mts +5 -5
- package/dist/esm/api/types/CiriumOperationalTimes.d.mts +4 -4
- package/dist/esm/api/types/CreateLigFromRateSheetForVectorClientReq.d.mts +1 -1
- package/dist/esm/api/types/CredentialInfoRes.d.mts +1 -1
- package/dist/esm/api/types/Department1.d.mts +6 -6
- package/dist/esm/api/types/DepartmentRoutingRule1.d.mts +8 -8
- package/dist/esm/api/types/DeviceExpandedRes.d.mts +3 -3
- package/dist/esm/api/types/DeviceLimitedForList1.d.mts +14 -14
- package/dist/esm/api/types/DevicePausedTimeWindow1.d.mts +1 -1
- package/dist/esm/api/types/DirectoryEntry1.d.mts +13 -13
- package/dist/esm/api/types/Driver1.d.mts +13 -13
- package/dist/esm/api/types/DriverAnalyticsDay.d.mts +15 -0
- package/dist/esm/api/types/DriverAnalyticsDay.mjs +4 -0
- package/dist/esm/api/types/DriverAnalyticsTaskGroup.d.mts +10 -0
- package/dist/esm/api/types/DriverAnalyticsTaskGroup.mjs +4 -0
- package/dist/esm/api/types/DriverBiddingGroup1.d.mts +7 -7
- package/dist/esm/api/types/DriverComplianceDocument1.d.mts +5 -5
- package/dist/esm/api/types/DriverComplianceDocumentS3ObjectMetadata1.d.mts +8 -8
- package/dist/esm/api/types/DriverSelfReportedHoursAndMileage1.d.mts +6 -6
- package/dist/esm/api/types/DriverStatsRes.d.mts +2 -10
- package/dist/esm/api/types/DriverUpdateRes.d.mts +1 -1
- package/dist/esm/api/types/DriverWithActiveTaskGroupIds1.d.mts +14 -14
- package/dist/esm/api/types/FirebaseCloudMessagingTokenData1.d.mts +1 -1
- package/dist/esm/api/types/FlightConnection.d.mts +1 -1
- package/dist/esm/api/types/FlightConnectionLeg.d.mts +10 -10
- package/dist/esm/api/types/FlightLeg1.d.mts +18 -18
- package/dist/esm/api/types/FlightLegClientCreate1.d.mts +6 -6
- package/dist/esm/api/types/FlightLegWebhookInfo.d.mts +6 -6
- package/dist/esm/api/types/FlightTrackPosition1.d.mts +3 -3
- package/dist/esm/api/types/FlightTrackRes.d.mts +3 -3
- package/dist/esm/api/types/InternalDelegationJwtReq.d.mts +1 -1
- package/dist/esm/api/types/LineItem1.d.mts +15 -15
- package/dist/esm/api/types/LineItemClientCreate1.d.mts +5 -5
- package/dist/esm/api/types/LineItemGroup1.d.mts +25 -25
- package/dist/esm/api/types/LineItemGroupLineItemsRes.d.mts +2 -2
- package/dist/esm/api/types/LineItemGroupMessage1.d.mts +2 -2
- package/dist/esm/api/types/LineItemGroupS3ObjectMetadata1.d.mts +8 -8
- package/dist/esm/api/types/LineItemS3ObjectMetadata1.d.mts +8 -8
- package/dist/esm/api/types/Listing1.d.mts +19 -19
- package/dist/esm/api/types/ListingBidThreadActionAddedWebhookPayload.d.mts +7 -7
- package/dist/esm/api/types/ListingLimitedForBidder1.d.mts +17 -17
- package/dist/esm/api/types/ListingListingDriverInvitedToBidWebhookPayload.d.mts +3 -3
- package/dist/esm/api/types/ListingListingProviderInvitedToBidWebhookPayload.d.mts +3 -3
- package/dist/esm/api/types/ListingTaskForBidder1.d.mts +1 -1
- package/dist/esm/api/types/LocationFeature.d.mts +2 -2
- package/dist/esm/api/types/NotificationGroup1.d.mts +7 -7
- package/dist/esm/api/types/NotificationGroupLimitedForDriver1.d.mts +5 -5
- package/dist/esm/api/types/NotificationIntentAdHoc1.d.mts +4 -4
- package/dist/esm/api/types/NotificationIntentAdHocClientCreate1.d.mts +1 -1
- package/dist/esm/api/types/NotificationUserPreferences1.d.mts +5 -5
- package/dist/esm/api/types/OffChrtProviderOrg1.d.mts +10 -10
- package/dist/esm/api/types/OffChrtShipperOrg1.d.mts +10 -10
- package/dist/esm/api/types/OffChrtVendor1.d.mts +3 -3
- package/dist/esm/api/types/OnboardCourierRateSheet1.d.mts +3 -3
- package/dist/esm/api/types/OperationsCaseGroupAssignedWebhookPayload.d.mts +5 -5
- package/dist/esm/api/types/OperationsCaseMessageWebhookPayload.d.mts +5 -5
- package/dist/esm/api/types/OperationsCaseOperatorAssignedWebhookPayload.d.mts +5 -5
- package/dist/esm/api/types/OperationsCaseS3ObjectAddedWebhookPayload.d.mts +5 -5
- package/dist/esm/api/types/OperationsTask1.d.mts +13 -13
- package/dist/esm/api/types/OperationsTaskComment1.d.mts +2 -2
- package/dist/esm/api/types/OperationsTaskDeadlineUpdate1.d.mts +1 -1
- package/dist/esm/api/types/OperationsTaskList1.d.mts +8 -8
- package/dist/esm/api/types/OperationsTaskListEntry1.d.mts +3 -3
- package/dist/esm/api/types/OperationsTaskListEntryClientCreate1.d.mts +3 -3
- package/dist/esm/api/types/Order1.d.mts +20 -20
- package/dist/esm/api/types/OrderAndTaskGroupExpandedReq.d.mts +6 -6
- package/dist/esm/api/types/OrderBuilderReq.d.mts +2 -2
- package/dist/esm/api/types/OrderBuilderRes.d.mts +2 -2
- package/dist/esm/api/types/OrderDraftExpanded.d.mts +4 -4
- package/dist/esm/api/types/OrderDraftValidationRequirements.d.mts +5 -5
- package/dist/esm/api/types/OrderDraftValidationResult.d.mts +1 -1
- package/dist/esm/api/types/OrderExpanded.d.mts +3 -3
- package/dist/esm/api/types/OrderGroup1.d.mts +10 -10
- package/dist/esm/api/types/OrderManifest1.d.mts +5 -5
- package/dist/esm/api/types/OrderManifestValidationRequirements.d.mts +5 -5
- package/dist/esm/api/types/OrderSchedule1.d.mts +12 -12
- package/dist/esm/api/types/OrderScheduleAboutRes.d.mts +2 -2
- package/dist/esm/api/types/OrderScheduleOrchestratorScheduleStatus.d.mts +2 -2
- package/dist/esm/api/types/OrderScheduleSpec1.d.mts +1 -1
- package/dist/esm/api/types/OrderTemplate1.d.mts +17 -15
- package/dist/esm/api/types/OrderTemplateCore1.d.mts +9 -8
- package/dist/esm/api/types/OrderTemplateExpanded1.d.mts +6 -4
- package/dist/esm/api/types/OrderTemplateOrgInfo1.d.mts +2 -2
- package/dist/esm/api/types/OrderTemplateResolvabilityRes.d.mts +4 -4
- package/dist/esm/api/types/OrderTypeaheadValue.d.mts +1 -1
- package/dist/esm/api/types/OrdersDraftUpdateRes.d.mts +5 -5
- package/dist/esm/api/types/OrgBiddingGroup1.d.mts +6 -6
- package/dist/esm/api/types/OrgComplianceDocument1.d.mts +5 -5
- package/dist/esm/api/types/OrgComplianceDocumentS3ObjectMetadata1.d.mts +8 -8
- package/dist/esm/api/types/OrgInfoResponse.d.mts +6 -6
- package/dist/esm/api/types/OrgMemberDetails.d.mts +2 -2
- package/dist/esm/api/types/OrgMembersAndDrivers.d.mts +1 -1
- package/dist/esm/api/types/OrgPrivateData1.d.mts +6 -6
- package/dist/esm/api/types/OrgPublicData1.d.mts +5 -5
- package/dist/esm/api/types/PingRes.d.mts +2 -2
- package/dist/esm/api/types/ProFormaLineItem1.d.mts +7 -7
- package/dist/esm/api/types/ProviderConnectionRes.d.mts +1 -1
- package/dist/esm/api/types/ProviderOrgInfoForConnections1.d.mts +6 -6
- package/dist/esm/api/types/ProviderOrgProfile1.d.mts +4 -4
- package/dist/esm/api/types/ProviderProviderConnection1.d.mts +5 -5
- package/dist/esm/api/types/RateSheetMapping1.d.mts +6 -6
- package/dist/esm/api/types/ScheduleCalendarSpec.d.mts +12 -5
- package/dist/esm/api/types/ScheduleIntervalSpec.d.mts +5 -0
- package/dist/esm/api/types/ScheduleRange.d.mts +4 -1
- package/dist/esm/api/types/Session1.d.mts +19 -19
- package/dist/esm/api/types/SessionByDeviceDataPoint1.d.mts +5 -5
- package/dist/esm/api/types/SessionByDeviceDataPointMetadata1.d.mts +1 -1
- package/dist/esm/api/types/SessionByDeviceMarkOutliersResponse1.d.mts +1 -1
- package/dist/esm/api/types/ShipperConnectionRes.d.mts +1 -1
- package/dist/esm/api/types/ShipperOrgInfoForConnections1.d.mts +6 -6
- package/dist/esm/api/types/ShipperProviderConnection1.d.mts +5 -5
- package/dist/esm/api/types/ShippingOrderCancelledWebhookPayload.d.mts +1 -1
- package/dist/esm/api/types/ShippingOrderCompletedWebhookPayload.d.mts +1 -1
- package/dist/esm/api/types/ShippingOrderStagedWebhookPayload.d.mts +1 -1
- package/dist/esm/api/types/ShippingTaskAddedWebhookPayload.d.mts +5 -5
- package/dist/esm/api/types/ShippingTaskAttemptedWebhookPayload.d.mts +5 -5
- package/dist/esm/api/types/ShippingTaskCompletedWebhookPayload.d.mts +5 -5
- package/dist/esm/api/types/ShippingTaskDeletedWebhookPayload.d.mts +5 -5
- package/dist/esm/api/types/ShippingTaskExecutorOrgNoteAddedWebhookPayload.d.mts +3 -3
- package/dist/esm/api/types/ShippingTaskGroupDriverAssignedWebhookPayload.d.mts +3 -3
- package/dist/esm/api/types/ShippingTaskGroupFlightInfoUpdatedWebhookPayload.d.mts +3 -3
- package/dist/esm/api/types/ShippingTaskGroupInProgressWebhookPayload.d.mts +1 -1
- package/dist/esm/api/types/ShippingTaskGroupMessageWebhookPayload.d.mts +3 -3
- package/dist/esm/api/types/ShippingTaskGroupProviderAssignedWebhookPayload.d.mts +3 -3
- package/dist/esm/api/types/ShippingTaskGroupS3ObjectAddedWebhookPayload.d.mts +1 -1
- package/dist/esm/api/types/ShippingTaskGroupTasksOrderingUpdatedWebhookPayload.d.mts +1 -1
- package/dist/esm/api/types/ShippingTaskSkippedWebhookPayload.d.mts +5 -5
- package/dist/esm/api/types/ShippingTaskTaskArtifactCompletedWebhookPayload.d.mts +5 -5
- package/dist/esm/api/types/ShippingTurnClientCreate1.d.mts +8 -8
- package/dist/esm/api/types/Statement1.d.mts +26 -26
- package/dist/esm/api/types/StatementExpandedListItem.d.mts +1 -1
- package/dist/esm/api/types/StatementExpandedRes.d.mts +1 -1
- package/dist/esm/api/types/StationaryCluster.d.mts +3 -3
- package/dist/esm/api/types/Task1.d.mts +25 -25
- package/dist/esm/api/types/TaskArtifact1.d.mts +20 -20
- package/dist/esm/api/types/TaskArtifactClientCreate1.d.mts +1 -1
- package/dist/esm/api/types/TaskArtifactS3ObjectMetadata1.d.mts +9 -9
- package/dist/esm/api/types/TaskClientCreate1.d.mts +5 -5
- package/dist/esm/api/types/TaskClientUpdate1.d.mts +2 -2
- package/dist/esm/api/types/TaskExecutorOrgNote1.d.mts +2 -2
- package/dist/esm/api/types/TaskExpanded.d.mts +2 -2
- package/dist/esm/api/types/TaskGroup1.d.mts +37 -37
- package/dist/esm/api/types/TaskGroupByDriverDataPoint1.d.mts +3 -3
- package/dist/esm/api/types/TaskGroupByDriverDataPointMetadata1.d.mts +1 -1
- package/dist/esm/api/types/TaskGroupByDriverSharingSettings1.d.mts +6 -6
- package/dist/esm/api/types/TaskGroupExpanded.d.mts +11 -11
- package/dist/esm/api/types/TaskGroupManifest1.d.mts +3 -3
- package/dist/esm/api/types/TaskGroupMessage1.d.mts +2 -2
- package/dist/esm/api/types/TaskGroupQuoteResp.d.mts +9 -9
- package/dist/esm/api/types/TaskGroupS3ObjectMetadata1.d.mts +8 -8
- package/dist/esm/api/types/TaskManifest1.d.mts +6 -6
- package/dist/esm/api/types/TaskWaitTimeGeofenceRes.d.mts +2 -2
- package/dist/esm/api/types/TimezoneResponse.d.mts +1 -1
- package/dist/esm/api/types/TiveDataPoint1.d.mts +9 -9
- package/dist/esm/api/types/TiveDataPointMetadata1.d.mts +2 -2
- package/dist/esm/api/types/TiveDevice1.d.mts +5 -5
- package/dist/esm/api/types/TiveShipment1.d.mts +4 -4
- package/dist/esm/api/types/TiveTimeseriesSyncRes.d.mts +2 -2
- package/dist/esm/api/types/TrackingSessionDestinationGeofenceEnteredWebhookPayload.d.mts +1 -1
- package/dist/esm/api/types/TrackingSharingSettingsRes.d.mts +1 -1
- package/dist/esm/api/types/TrackingWebhookResponse.d.mts +1 -1
- package/dist/esm/api/types/UngroupedOrderRow.d.mts +1 -1
- package/dist/esm/api/types/UserPrivateData1.d.mts +5 -5
- package/dist/esm/api/types/UserPublicData1.d.mts +2 -2
- package/dist/esm/api/types/ValidationError.d.mts +2 -2
- package/dist/esm/api/types/ValidationIssueScope.d.mts +1 -1
- package/dist/esm/api/types/Vehicle1.d.mts +1 -1
- package/dist/esm/api/types/WebcargoAccountId.d.mts +1 -1
- package/dist/esm/api/types/WebcargoBookingRate.d.mts +10 -10
- package/dist/esm/api/types/WebcargoBookingRecord1.d.mts +7 -7
- package/dist/esm/api/types/WebcargoBusinessInfo.d.mts +1 -1
- package/dist/esm/api/types/WebcargoContact.d.mts +1 -1
- package/dist/esm/api/types/WebcargoDimension.d.mts +2 -2
- package/dist/esm/api/types/WebcargoDocumentIdentifier.d.mts +1 -1
- package/dist/esm/api/types/WebcargoFee.d.mts +5 -5
- package/dist/esm/api/types/WebcargoLeg.d.mts +2 -2
- package/dist/esm/api/types/WebcargoLoad.d.mts +2 -2
- package/dist/esm/api/types/WebcargoLocation.d.mts +3 -3
- package/dist/esm/api/types/WebcargoPackage.d.mts +2 -2
- package/dist/esm/api/types/WebcargoParty.d.mts +3 -3
- package/dist/esm/api/types/WebcargoPostalAddress.d.mts +5 -5
- package/dist/esm/api/types/WebcargoPriceIndicator.d.mts +1 -1
- package/dist/esm/api/types/WebcargoSegment.d.mts +12 -12
- package/dist/esm/api/types/WebcargoShipment.d.mts +1 -1
- package/dist/esm/api/types/WebhookAppPortalAccessRes.d.mts +1 -1
- package/dist/esm/api/types/WorkflowActor.d.mts +3 -3
- package/dist/esm/api/types/index.d.mts +7 -0
- package/dist/esm/api/types/index.mjs +7 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +4321 -4188
|
@@ -72,35 +72,39 @@ class Drivers {
|
|
|
72
72
|
return ((_a = this._complianceDocuments) !== null && _a !== void 0 ? _a : (this._complianceDocuments = new Client_js_1.ComplianceDocuments(this._options)));
|
|
73
73
|
}
|
|
74
74
|
/**
|
|
75
|
-
*
|
|
75
|
+
* Creates a new driver profile for the target user (defaults to caller). Drivers can create themselves; operators+ can create any org member. Provider orgs only. | (DriverClientCreate1) -> (PydanticObjectId)
|
|
76
76
|
*
|
|
77
|
-
* @param {
|
|
78
|
-
* @param {Chrt.shipping.DriverStatsReq} request
|
|
77
|
+
* @param {Chrt.shipping.DriverClientCreate1} request
|
|
79
78
|
* @param {Drivers.RequestOptions} requestOptions - Request-specific configuration.
|
|
80
79
|
*
|
|
81
80
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
82
81
|
*
|
|
83
82
|
* @example
|
|
84
|
-
* await client.shipping.drivers.
|
|
85
|
-
*
|
|
86
|
-
*
|
|
83
|
+
* await client.shipping.drivers.createV1({
|
|
84
|
+
* target_user_id: "target_user_id",
|
|
85
|
+
* schema_version: 1
|
|
87
86
|
* })
|
|
88
87
|
*/
|
|
89
|
-
|
|
90
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
88
|
+
createV1(request, requestOptions) {
|
|
89
|
+
return core.HttpResponsePromise.fromPromise(this.__createV1(request, requestOptions));
|
|
91
90
|
}
|
|
92
|
-
|
|
91
|
+
__createV1(request, requestOptions) {
|
|
93
92
|
return __awaiter(this, void 0, void 0, function* () {
|
|
94
93
|
var _a, _b, _c, _d;
|
|
94
|
+
const { target_user_id: targetUserId } = request, _body = __rest(request, ["target_user_id"]);
|
|
95
|
+
const _queryParams = {};
|
|
96
|
+
if (targetUserId !== undefined) {
|
|
97
|
+
_queryParams["target_user_id"] = targetUserId;
|
|
98
|
+
}
|
|
95
99
|
let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
96
100
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
97
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local,
|
|
101
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "shipping/drivers/create/v1"),
|
|
98
102
|
method: "POST",
|
|
99
103
|
headers: _headers,
|
|
100
104
|
contentType: "application/json",
|
|
101
|
-
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
105
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
102
106
|
requestType: "json",
|
|
103
|
-
body:
|
|
107
|
+
body: _body,
|
|
104
108
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
105
109
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
106
110
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -128,7 +132,7 @@ class Drivers {
|
|
|
128
132
|
rawResponse: _response.rawResponse,
|
|
129
133
|
});
|
|
130
134
|
case "timeout":
|
|
131
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/drivers/
|
|
135
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/drivers/create/v1.");
|
|
132
136
|
case "unknown":
|
|
133
137
|
throw new errors.ChrtError({
|
|
134
138
|
message: _response.error.errorMessage,
|
|
@@ -138,26 +142,22 @@ class Drivers {
|
|
|
138
142
|
});
|
|
139
143
|
}
|
|
140
144
|
/**
|
|
141
|
-
* Retrieves
|
|
145
|
+
* Retrieves driver information for the caller within their organization. | () -> (DriverWithActiveTaskGroupIds1)
|
|
142
146
|
*
|
|
143
|
-
* @param {string} driverId
|
|
144
|
-
* @param {string} reportDate
|
|
145
147
|
* @param {Drivers.RequestOptions} requestOptions - Request-specific configuration.
|
|
146
148
|
*
|
|
147
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
148
|
-
*
|
|
149
149
|
* @example
|
|
150
|
-
* await client.shipping.drivers.
|
|
150
|
+
* await client.shipping.drivers.getForCallerV1()
|
|
151
151
|
*/
|
|
152
|
-
|
|
153
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
152
|
+
getForCallerV1(requestOptions) {
|
|
153
|
+
return core.HttpResponsePromise.fromPromise(this.__getForCallerV1(requestOptions));
|
|
154
154
|
}
|
|
155
|
-
|
|
155
|
+
__getForCallerV1(requestOptions) {
|
|
156
156
|
return __awaiter(this, void 0, void 0, function* () {
|
|
157
157
|
var _a, _b, _c, _d;
|
|
158
158
|
let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
159
159
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
160
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local,
|
|
160
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "shipping/drivers/for_caller/v1"),
|
|
161
161
|
method: "GET",
|
|
162
162
|
headers: _headers,
|
|
163
163
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
@@ -166,22 +166,65 @@ class Drivers {
|
|
|
166
166
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
167
167
|
});
|
|
168
168
|
if (_response.ok) {
|
|
169
|
-
return {
|
|
170
|
-
|
|
169
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
170
|
+
}
|
|
171
|
+
if (_response.error.reason === "status-code") {
|
|
172
|
+
throw new errors.ChrtError({
|
|
173
|
+
statusCode: _response.error.statusCode,
|
|
174
|
+
body: _response.error.body,
|
|
171
175
|
rawResponse: _response.rawResponse,
|
|
172
|
-
};
|
|
176
|
+
});
|
|
177
|
+
}
|
|
178
|
+
switch (_response.error.reason) {
|
|
179
|
+
case "non-json":
|
|
180
|
+
throw new errors.ChrtError({
|
|
181
|
+
statusCode: _response.error.statusCode,
|
|
182
|
+
body: _response.error.rawBody,
|
|
183
|
+
rawResponse: _response.rawResponse,
|
|
184
|
+
});
|
|
185
|
+
case "timeout":
|
|
186
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping/drivers/for_caller/v1.");
|
|
187
|
+
case "unknown":
|
|
188
|
+
throw new errors.ChrtError({
|
|
189
|
+
message: _response.error.errorMessage,
|
|
190
|
+
rawResponse: _response.rawResponse,
|
|
191
|
+
});
|
|
192
|
+
}
|
|
193
|
+
});
|
|
194
|
+
}
|
|
195
|
+
/**
|
|
196
|
+
* Clears the driver's last known location and timestamp. | () -> (bool)
|
|
197
|
+
*
|
|
198
|
+
* @param {Drivers.RequestOptions} requestOptions - Request-specific configuration.
|
|
199
|
+
*
|
|
200
|
+
* @example
|
|
201
|
+
* await client.shipping.drivers.clearLastSeenV1()
|
|
202
|
+
*/
|
|
203
|
+
clearLastSeenV1(requestOptions) {
|
|
204
|
+
return core.HttpResponsePromise.fromPromise(this.__clearLastSeenV1(requestOptions));
|
|
205
|
+
}
|
|
206
|
+
__clearLastSeenV1(requestOptions) {
|
|
207
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
208
|
+
var _a, _b, _c, _d;
|
|
209
|
+
let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
210
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
211
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "shipping/drivers/last_seen/clear/v1"),
|
|
212
|
+
method: "POST",
|
|
213
|
+
headers: _headers,
|
|
214
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
215
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
216
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
217
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
218
|
+
});
|
|
219
|
+
if (_response.ok) {
|
|
220
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
173
221
|
}
|
|
174
222
|
if (_response.error.reason === "status-code") {
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
statusCode: _response.error.statusCode,
|
|
181
|
-
body: _response.error.body,
|
|
182
|
-
rawResponse: _response.rawResponse,
|
|
183
|
-
});
|
|
184
|
-
}
|
|
223
|
+
throw new errors.ChrtError({
|
|
224
|
+
statusCode: _response.error.statusCode,
|
|
225
|
+
body: _response.error.body,
|
|
226
|
+
rawResponse: _response.rawResponse,
|
|
227
|
+
});
|
|
185
228
|
}
|
|
186
229
|
switch (_response.error.reason) {
|
|
187
230
|
case "non-json":
|
|
@@ -191,7 +234,7 @@ class Drivers {
|
|
|
191
234
|
rawResponse: _response.rawResponse,
|
|
192
235
|
});
|
|
193
236
|
case "timeout":
|
|
194
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling
|
|
237
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/drivers/last_seen/clear/v1.");
|
|
195
238
|
case "unknown":
|
|
196
239
|
throw new errors.ChrtError({
|
|
197
240
|
message: _response.error.errorMessage,
|
|
@@ -201,37 +244,31 @@ class Drivers {
|
|
|
201
244
|
});
|
|
202
245
|
}
|
|
203
246
|
/**
|
|
204
|
-
* Lists
|
|
247
|
+
* Lists all drivers belonging to the caller's organization with filtering, sorting, pagination, and optional full-text search. | () -> (DriverListRes)
|
|
205
248
|
*
|
|
206
|
-
* @param {
|
|
207
|
-
* @param {Chrt.shipping.DriversListSelfReportedHoursAndMileageV1Request} request
|
|
249
|
+
* @param {Chrt.shipping.DriversListV1Request} request
|
|
208
250
|
* @param {Drivers.RequestOptions} requestOptions - Request-specific configuration.
|
|
209
251
|
*
|
|
210
252
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
211
253
|
*
|
|
212
254
|
* @example
|
|
213
|
-
* await client.shipping.drivers.
|
|
214
|
-
* filter_start_date: "filter_start_date",
|
|
215
|
-
* filter_end_date: "filter_end_date",
|
|
255
|
+
* await client.shipping.drivers.listV1({
|
|
216
256
|
* sort_order: "asc",
|
|
217
257
|
* page: 1,
|
|
218
|
-
* page_size: 1
|
|
258
|
+
* page_size: 1,
|
|
259
|
+
* search: "search",
|
|
260
|
+
* filter_available_according_to_driver: true,
|
|
261
|
+
* filter_available_according_to_operators: true
|
|
219
262
|
* })
|
|
220
263
|
*/
|
|
221
|
-
|
|
222
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
264
|
+
listV1(request = {}, requestOptions) {
|
|
265
|
+
return core.HttpResponsePromise.fromPromise(this.__listV1(request, requestOptions));
|
|
223
266
|
}
|
|
224
|
-
|
|
225
|
-
return __awaiter(this, arguments, void 0, function* (
|
|
226
|
-
var _a, _b, _c, _d, _e, _f;
|
|
227
|
-
const {
|
|
267
|
+
__listV1() {
|
|
268
|
+
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
269
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
270
|
+
const { sort_order: sortOrder, page, page_size: pageSize, search, filter_available_according_to_driver: filterAvailableAccordingToDriver, filter_available_according_to_operators: filterAvailableAccordingToOperators, filter_status: filterStatus, } = request;
|
|
228
271
|
const _queryParams = {};
|
|
229
|
-
if (filterStartDate !== undefined) {
|
|
230
|
-
_queryParams["filter_start_date"] = filterStartDate;
|
|
231
|
-
}
|
|
232
|
-
if (filterEndDate !== undefined) {
|
|
233
|
-
_queryParams["filter_end_date"] = filterEndDate;
|
|
234
|
-
}
|
|
235
272
|
if (sortOrder !== undefined) {
|
|
236
273
|
_queryParams["sort_order"] = sortOrder;
|
|
237
274
|
}
|
|
@@ -241,9 +278,27 @@ class Drivers {
|
|
|
241
278
|
if (pageSize !== undefined) {
|
|
242
279
|
_queryParams["page_size"] = (_b = pageSize === null || pageSize === void 0 ? void 0 : pageSize.toString()) !== null && _b !== void 0 ? _b : null;
|
|
243
280
|
}
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
281
|
+
if (search !== undefined) {
|
|
282
|
+
_queryParams["search"] = search;
|
|
283
|
+
}
|
|
284
|
+
if (filterAvailableAccordingToDriver !== undefined) {
|
|
285
|
+
_queryParams["filter_available_according_to_driver"] = (_c = filterAvailableAccordingToDriver === null || filterAvailableAccordingToDriver === void 0 ? void 0 : filterAvailableAccordingToDriver.toString()) !== null && _c !== void 0 ? _c : null;
|
|
286
|
+
}
|
|
287
|
+
if (filterAvailableAccordingToOperators !== undefined) {
|
|
288
|
+
_queryParams["filter_available_according_to_operators"] =
|
|
289
|
+
(_d = filterAvailableAccordingToOperators === null || filterAvailableAccordingToOperators === void 0 ? void 0 : filterAvailableAccordingToOperators.toString()) !== null && _d !== void 0 ? _d : null;
|
|
290
|
+
}
|
|
291
|
+
if (filterStatus !== undefined) {
|
|
292
|
+
if (Array.isArray(filterStatus)) {
|
|
293
|
+
_queryParams["filter_status"] = filterStatus.map((item) => item);
|
|
294
|
+
}
|
|
295
|
+
else {
|
|
296
|
+
_queryParams["filter_status"] = filterStatus;
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
let _headers = (0, headers_js_1.mergeHeaders)((_e = this._options) === null || _e === void 0 ? void 0 : _e.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
300
|
+
const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
|
|
301
|
+
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.ChrtEnvironment.Local, "shipping/drivers/list/v1"),
|
|
247
302
|
method: "GET",
|
|
248
303
|
headers: _headers,
|
|
249
304
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
@@ -252,10 +307,7 @@ class Drivers {
|
|
|
252
307
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
253
308
|
});
|
|
254
309
|
if (_response.ok) {
|
|
255
|
-
return {
|
|
256
|
-
data: _response.body,
|
|
257
|
-
rawResponse: _response.rawResponse,
|
|
258
|
-
};
|
|
310
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
259
311
|
}
|
|
260
312
|
if (_response.error.reason === "status-code") {
|
|
261
313
|
switch (_response.error.statusCode) {
|
|
@@ -277,7 +329,7 @@ class Drivers {
|
|
|
277
329
|
rawResponse: _response.rawResponse,
|
|
278
330
|
});
|
|
279
331
|
case "timeout":
|
|
280
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping/drivers/
|
|
332
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping/drivers/list/v1.");
|
|
281
333
|
case "unknown":
|
|
282
334
|
throw new errors.ChrtError({
|
|
283
335
|
message: _response.error.errorMessage,
|
|
@@ -287,40 +339,49 @@ class Drivers {
|
|
|
287
339
|
});
|
|
288
340
|
}
|
|
289
341
|
/**
|
|
290
|
-
* Lists all
|
|
342
|
+
* Lists all organization members paired with their driver information if they are drivers. Supports search by name, filtering, sorting, and pagination. | () -> (OrgMembersAndDriversListRes)
|
|
291
343
|
*
|
|
292
|
-
* @param {Chrt.shipping.
|
|
344
|
+
* @param {Chrt.shipping.DriversListOrgMembersAndDriversV1Request} request
|
|
293
345
|
* @param {Drivers.RequestOptions} requestOptions - Request-specific configuration.
|
|
294
346
|
*
|
|
295
347
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
296
348
|
*
|
|
297
349
|
* @example
|
|
298
|
-
* await client.shipping.drivers.
|
|
299
|
-
*
|
|
300
|
-
*
|
|
301
|
-
*
|
|
302
|
-
* sort_by: "
|
|
350
|
+
* await client.shipping.drivers.listOrgMembersAndDriversV1({
|
|
351
|
+
* search: "search",
|
|
352
|
+
* filter_available_according_to_driver: true,
|
|
353
|
+
* filter_available_according_to_operators: true,
|
|
354
|
+
* sort_by: "first_name",
|
|
303
355
|
* sort_order: "asc",
|
|
304
356
|
* page: 1,
|
|
305
357
|
* page_size: 1
|
|
306
358
|
* })
|
|
307
359
|
*/
|
|
308
|
-
|
|
309
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
360
|
+
listOrgMembersAndDriversV1(request = {}, requestOptions) {
|
|
361
|
+
return core.HttpResponsePromise.fromPromise(this.__listOrgMembersAndDriversV1(request, requestOptions));
|
|
310
362
|
}
|
|
311
|
-
|
|
363
|
+
__listOrgMembersAndDriversV1() {
|
|
312
364
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
313
|
-
var _a, _b, _c, _d, _e, _f;
|
|
314
|
-
const {
|
|
365
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
366
|
+
const { search, 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;
|
|
315
367
|
const _queryParams = {};
|
|
316
|
-
if (
|
|
317
|
-
_queryParams["
|
|
368
|
+
if (search !== undefined) {
|
|
369
|
+
_queryParams["search"] = search;
|
|
318
370
|
}
|
|
319
|
-
if (
|
|
320
|
-
|
|
371
|
+
if (filterRole !== undefined) {
|
|
372
|
+
if (Array.isArray(filterRole)) {
|
|
373
|
+
_queryParams["filter_role"] = filterRole.map((item) => item);
|
|
374
|
+
}
|
|
375
|
+
else {
|
|
376
|
+
_queryParams["filter_role"] = filterRole;
|
|
377
|
+
}
|
|
321
378
|
}
|
|
322
|
-
if (
|
|
323
|
-
_queryParams["
|
|
379
|
+
if (filterAvailableAccordingToDriver !== undefined) {
|
|
380
|
+
_queryParams["filter_available_according_to_driver"] = (_a = filterAvailableAccordingToDriver === null || filterAvailableAccordingToDriver === void 0 ? void 0 : filterAvailableAccordingToDriver.toString()) !== null && _a !== void 0 ? _a : null;
|
|
381
|
+
}
|
|
382
|
+
if (filterAvailableAccordingToOperators !== undefined) {
|
|
383
|
+
_queryParams["filter_available_according_to_operators"] =
|
|
384
|
+
(_b = filterAvailableAccordingToOperators === null || filterAvailableAccordingToOperators === void 0 ? void 0 : filterAvailableAccordingToOperators.toString()) !== null && _b !== void 0 ? _b : null;
|
|
324
385
|
}
|
|
325
386
|
if (sortBy !== undefined) {
|
|
326
387
|
_queryParams["sort_by"] = sortBy;
|
|
@@ -329,14 +390,14 @@ class Drivers {
|
|
|
329
390
|
_queryParams["sort_order"] = sortOrder;
|
|
330
391
|
}
|
|
331
392
|
if (page !== undefined) {
|
|
332
|
-
_queryParams["page"] = (
|
|
393
|
+
_queryParams["page"] = (_c = page === null || page === void 0 ? void 0 : page.toString()) !== null && _c !== void 0 ? _c : null;
|
|
333
394
|
}
|
|
334
395
|
if (pageSize !== undefined) {
|
|
335
|
-
_queryParams["page_size"] = (
|
|
396
|
+
_queryParams["page_size"] = (_d = pageSize === null || pageSize === void 0 ? void 0 : pageSize.toString()) !== null && _d !== void 0 ? _d : null;
|
|
336
397
|
}
|
|
337
|
-
let _headers = (0, headers_js_1.mergeHeaders)((
|
|
338
|
-
const _response = yield ((
|
|
339
|
-
url: core.url.join((
|
|
398
|
+
let _headers = (0, headers_js_1.mergeHeaders)((_e = this._options) === null || _e === void 0 ? void 0 : _e.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
399
|
+
const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
|
|
400
|
+
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.ChrtEnvironment.Local, "shipping/drivers/org_members_and_drivers/list/v1"),
|
|
340
401
|
method: "GET",
|
|
341
402
|
headers: _headers,
|
|
342
403
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
@@ -345,10 +406,7 @@ class Drivers {
|
|
|
345
406
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
346
407
|
});
|
|
347
408
|
if (_response.ok) {
|
|
348
|
-
return {
|
|
349
|
-
data: _response.body,
|
|
350
|
-
rawResponse: _response.rawResponse,
|
|
351
|
-
};
|
|
409
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
352
410
|
}
|
|
353
411
|
if (_response.error.reason === "status-code") {
|
|
354
412
|
switch (_response.error.statusCode) {
|
|
@@ -370,7 +428,7 @@ class Drivers {
|
|
|
370
428
|
rawResponse: _response.rawResponse,
|
|
371
429
|
});
|
|
372
430
|
case "timeout":
|
|
373
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping/drivers/
|
|
431
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping/drivers/org_members_and_drivers/list/v1.");
|
|
374
432
|
case "unknown":
|
|
375
433
|
throw new errors.ChrtError({
|
|
376
434
|
message: _response.error.errorMessage,
|
|
@@ -389,9 +447,9 @@ class Drivers {
|
|
|
389
447
|
*
|
|
390
448
|
* @example
|
|
391
449
|
* await client.shipping.drivers.createSelfReportedHoursAndMileageV1({
|
|
392
|
-
*
|
|
450
|
+
* date: "date",
|
|
393
451
|
* driver_id: "driver_id",
|
|
394
|
-
*
|
|
452
|
+
* schema_version: 1
|
|
395
453
|
* })
|
|
396
454
|
*/
|
|
397
455
|
createSelfReportedHoursAndMileageV1(request, requestOptions) {
|
|
@@ -449,42 +507,35 @@ class Drivers {
|
|
|
449
507
|
});
|
|
450
508
|
}
|
|
451
509
|
/**
|
|
452
|
-
*
|
|
510
|
+
* Permanently deletes a driver's self-report for a calendar day. Caller must be the driver themselves. | authz: allowed_org_types=[provider], min_org_role=driver | () -> (bool)
|
|
453
511
|
*
|
|
454
512
|
* @param {string} driverId
|
|
455
513
|
* @param {string} reportDate
|
|
456
|
-
* @param {Chrt.shipping.DriverSelfReportedHoursAndMileageClientUpdate1} request
|
|
457
514
|
* @param {Drivers.RequestOptions} requestOptions - Request-specific configuration.
|
|
458
515
|
*
|
|
459
516
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
460
517
|
*
|
|
461
518
|
* @example
|
|
462
|
-
* await client.shipping.drivers.
|
|
519
|
+
* await client.shipping.drivers.deleteSelfReportedHoursAndMileageV1("driver_id", "report_date")
|
|
463
520
|
*/
|
|
464
|
-
|
|
465
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
521
|
+
deleteSelfReportedHoursAndMileageV1(driverId, reportDate, requestOptions) {
|
|
522
|
+
return core.HttpResponsePromise.fromPromise(this.__deleteSelfReportedHoursAndMileageV1(driverId, reportDate, requestOptions));
|
|
466
523
|
}
|
|
467
|
-
|
|
468
|
-
return __awaiter(this,
|
|
524
|
+
__deleteSelfReportedHoursAndMileageV1(driverId, reportDate, requestOptions) {
|
|
525
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
469
526
|
var _a, _b, _c, _d;
|
|
470
527
|
let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
471
528
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
472
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/drivers/self_reported_hours_and_mileage/
|
|
473
|
-
method: "
|
|
529
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/drivers/self_reported_hours_and_mileage/delete/v1/${encodeURIComponent(driverId)}/${encodeURIComponent(reportDate)}`),
|
|
530
|
+
method: "POST",
|
|
474
531
|
headers: _headers,
|
|
475
|
-
contentType: "application/json",
|
|
476
532
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
477
|
-
requestType: "json",
|
|
478
|
-
body: request,
|
|
479
533
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
480
534
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
481
535
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
482
536
|
});
|
|
483
537
|
if (_response.ok) {
|
|
484
|
-
return {
|
|
485
|
-
data: _response.body,
|
|
486
|
-
rawResponse: _response.rawResponse,
|
|
487
|
-
};
|
|
538
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
488
539
|
}
|
|
489
540
|
if (_response.error.reason === "status-code") {
|
|
490
541
|
switch (_response.error.statusCode) {
|
|
@@ -506,7 +557,7 @@ class Drivers {
|
|
|
506
557
|
rawResponse: _response.rawResponse,
|
|
507
558
|
});
|
|
508
559
|
case "timeout":
|
|
509
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling
|
|
560
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/drivers/self_reported_hours_and_mileage/delete/v1/{driver_id}/{report_date}.");
|
|
510
561
|
case "unknown":
|
|
511
562
|
throw new errors.ChrtError({
|
|
512
563
|
message: _response.error.errorMessage,
|
|
@@ -516,7 +567,7 @@ class Drivers {
|
|
|
516
567
|
});
|
|
517
568
|
}
|
|
518
569
|
/**
|
|
519
|
-
*
|
|
570
|
+
* Retrieves a driver's self-report for a single calendar day. Caller must be the driver themselves or an operator+ in the driver's org. | authz: allowed_org_types=[provider], min_org_role=driver | () -> (DriverSelfReportedHoursAndMileage1)
|
|
520
571
|
*
|
|
521
572
|
* @param {string} driverId
|
|
522
573
|
* @param {string} reportDate
|
|
@@ -525,18 +576,18 @@ class Drivers {
|
|
|
525
576
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
526
577
|
*
|
|
527
578
|
* @example
|
|
528
|
-
* await client.shipping.drivers.
|
|
579
|
+
* await client.shipping.drivers.getSelfReportedHoursAndMileageV1("driver_id", "report_date")
|
|
529
580
|
*/
|
|
530
|
-
|
|
531
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
581
|
+
getSelfReportedHoursAndMileageV1(driverId, reportDate, requestOptions) {
|
|
582
|
+
return core.HttpResponsePromise.fromPromise(this.__getSelfReportedHoursAndMileageV1(driverId, reportDate, requestOptions));
|
|
532
583
|
}
|
|
533
|
-
|
|
584
|
+
__getSelfReportedHoursAndMileageV1(driverId, reportDate, requestOptions) {
|
|
534
585
|
return __awaiter(this, void 0, void 0, function* () {
|
|
535
586
|
var _a, _b, _c, _d;
|
|
536
587
|
let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
537
588
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
538
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/drivers/self_reported_hours_and_mileage/
|
|
539
|
-
method: "
|
|
589
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/drivers/self_reported_hours_and_mileage/get/v1/${encodeURIComponent(driverId)}/${encodeURIComponent(reportDate)}`),
|
|
590
|
+
method: "GET",
|
|
540
591
|
headers: _headers,
|
|
541
592
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
542
593
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -544,7 +595,10 @@ class Drivers {
|
|
|
544
595
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
545
596
|
});
|
|
546
597
|
if (_response.ok) {
|
|
547
|
-
return {
|
|
598
|
+
return {
|
|
599
|
+
data: _response.body,
|
|
600
|
+
rawResponse: _response.rawResponse,
|
|
601
|
+
};
|
|
548
602
|
}
|
|
549
603
|
if (_response.error.reason === "status-code") {
|
|
550
604
|
switch (_response.error.statusCode) {
|
|
@@ -566,58 +620,7 @@ class Drivers {
|
|
|
566
620
|
rawResponse: _response.rawResponse,
|
|
567
621
|
});
|
|
568
622
|
case "timeout":
|
|
569
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling
|
|
570
|
-
case "unknown":
|
|
571
|
-
throw new errors.ChrtError({
|
|
572
|
-
message: _response.error.errorMessage,
|
|
573
|
-
rawResponse: _response.rawResponse,
|
|
574
|
-
});
|
|
575
|
-
}
|
|
576
|
-
});
|
|
577
|
-
}
|
|
578
|
-
/**
|
|
579
|
-
* Retrieves driver information for the caller within their organization. | () -> (DriverWithActiveTaskGroupIds1)
|
|
580
|
-
*
|
|
581
|
-
* @param {Drivers.RequestOptions} requestOptions - Request-specific configuration.
|
|
582
|
-
*
|
|
583
|
-
* @example
|
|
584
|
-
* await client.shipping.drivers.getForCallerV1()
|
|
585
|
-
*/
|
|
586
|
-
getForCallerV1(requestOptions) {
|
|
587
|
-
return core.HttpResponsePromise.fromPromise(this.__getForCallerV1(requestOptions));
|
|
588
|
-
}
|
|
589
|
-
__getForCallerV1(requestOptions) {
|
|
590
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
591
|
-
var _a, _b, _c, _d;
|
|
592
|
-
let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
593
|
-
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
594
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "shipping/drivers/for_caller/v1"),
|
|
595
|
-
method: "GET",
|
|
596
|
-
headers: _headers,
|
|
597
|
-
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
598
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
599
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
600
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
601
|
-
});
|
|
602
|
-
if (_response.ok) {
|
|
603
|
-
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
604
|
-
}
|
|
605
|
-
if (_response.error.reason === "status-code") {
|
|
606
|
-
throw new errors.ChrtError({
|
|
607
|
-
statusCode: _response.error.statusCode,
|
|
608
|
-
body: _response.error.body,
|
|
609
|
-
rawResponse: _response.rawResponse,
|
|
610
|
-
});
|
|
611
|
-
}
|
|
612
|
-
switch (_response.error.reason) {
|
|
613
|
-
case "non-json":
|
|
614
|
-
throw new errors.ChrtError({
|
|
615
|
-
statusCode: _response.error.statusCode,
|
|
616
|
-
body: _response.error.rawBody,
|
|
617
|
-
rawResponse: _response.rawResponse,
|
|
618
|
-
});
|
|
619
|
-
case "timeout":
|
|
620
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping/drivers/for_caller/v1.");
|
|
623
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping/drivers/self_reported_hours_and_mileage/get/v1/{driver_id}/{report_date}.");
|
|
621
624
|
case "unknown":
|
|
622
625
|
throw new errors.ChrtError({
|
|
623
626
|
message: _response.error.errorMessage,
|
|
@@ -627,34 +630,61 @@ class Drivers {
|
|
|
627
630
|
});
|
|
628
631
|
}
|
|
629
632
|
/**
|
|
630
|
-
*
|
|
633
|
+
* Lists a driver's self-reports across an optional date range with sorting and pagination. Caller must be the driver themselves or an operator+ in the driver's org. | authz: allowed_org_types=[provider], min_org_role=driver | () -> (DriverSelfReportedHoursAndMileageListRes)
|
|
631
634
|
*
|
|
632
635
|
* @param {string} driverId
|
|
636
|
+
* @param {Chrt.shipping.DriversListSelfReportedHoursAndMileageV1Request} request
|
|
633
637
|
* @param {Drivers.RequestOptions} requestOptions - Request-specific configuration.
|
|
634
638
|
*
|
|
635
639
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
636
640
|
*
|
|
637
641
|
* @example
|
|
638
|
-
* await client.shipping.drivers.
|
|
642
|
+
* await client.shipping.drivers.listSelfReportedHoursAndMileageV1("driver_id", {
|
|
643
|
+
* filter_start_date: "filter_start_date",
|
|
644
|
+
* filter_end_date: "filter_end_date",
|
|
645
|
+
* sort_order: "asc",
|
|
646
|
+
* page: 1,
|
|
647
|
+
* page_size: 1
|
|
648
|
+
* })
|
|
639
649
|
*/
|
|
640
|
-
|
|
641
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
650
|
+
listSelfReportedHoursAndMileageV1(driverId, request = {}, requestOptions) {
|
|
651
|
+
return core.HttpResponsePromise.fromPromise(this.__listSelfReportedHoursAndMileageV1(driverId, request, requestOptions));
|
|
642
652
|
}
|
|
643
|
-
|
|
644
|
-
return __awaiter(this,
|
|
645
|
-
var _a, _b, _c, _d;
|
|
646
|
-
|
|
647
|
-
const
|
|
648
|
-
|
|
653
|
+
__listSelfReportedHoursAndMileageV1(driverId_1) {
|
|
654
|
+
return __awaiter(this, arguments, void 0, function* (driverId, request = {}, requestOptions) {
|
|
655
|
+
var _a, _b, _c, _d, _e, _f;
|
|
656
|
+
const { filter_start_date: filterStartDate, filter_end_date: filterEndDate, sort_order: sortOrder, page, page_size: pageSize, } = request;
|
|
657
|
+
const _queryParams = {};
|
|
658
|
+
if (filterStartDate !== undefined) {
|
|
659
|
+
_queryParams["filter_start_date"] = filterStartDate;
|
|
660
|
+
}
|
|
661
|
+
if (filterEndDate !== undefined) {
|
|
662
|
+
_queryParams["filter_end_date"] = filterEndDate;
|
|
663
|
+
}
|
|
664
|
+
if (sortOrder !== undefined) {
|
|
665
|
+
_queryParams["sort_order"] = sortOrder;
|
|
666
|
+
}
|
|
667
|
+
if (page !== undefined) {
|
|
668
|
+
_queryParams["page"] = (_a = page === null || page === void 0 ? void 0 : page.toString()) !== null && _a !== void 0 ? _a : null;
|
|
669
|
+
}
|
|
670
|
+
if (pageSize !== undefined) {
|
|
671
|
+
_queryParams["page_size"] = (_b = pageSize === null || pageSize === void 0 ? void 0 : pageSize.toString()) !== null && _b !== void 0 ? _b : null;
|
|
672
|
+
}
|
|
673
|
+
let _headers = (0, headers_js_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
674
|
+
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
675
|
+
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ChrtEnvironment.Local, `shipping/drivers/self_reported_hours_and_mileage/list/v1/${encodeURIComponent(driverId)}`),
|
|
649
676
|
method: "GET",
|
|
650
677
|
headers: _headers,
|
|
651
|
-
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
678
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
652
679
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
653
680
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
654
681
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
655
682
|
});
|
|
656
683
|
if (_response.ok) {
|
|
657
|
-
return {
|
|
684
|
+
return {
|
|
685
|
+
data: _response.body,
|
|
686
|
+
rawResponse: _response.rawResponse,
|
|
687
|
+
};
|
|
658
688
|
}
|
|
659
689
|
if (_response.error.reason === "status-code") {
|
|
660
690
|
switch (_response.error.statusCode) {
|
|
@@ -676,7 +706,7 @@ class Drivers {
|
|
|
676
706
|
rawResponse: _response.rawResponse,
|
|
677
707
|
});
|
|
678
708
|
case "timeout":
|
|
679
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping/drivers/v1/{driver_id}.");
|
|
709
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping/drivers/self_reported_hours_and_mileage/list/v1/{driver_id}.");
|
|
680
710
|
case "unknown":
|
|
681
711
|
throw new errors.ChrtError({
|
|
682
712
|
message: _response.error.errorMessage,
|
|
@@ -686,49 +716,40 @@ class Drivers {
|
|
|
686
716
|
});
|
|
687
717
|
}
|
|
688
718
|
/**
|
|
689
|
-
* Lists all
|
|
719
|
+
* Lists all drivers' self-reports in the caller's org with date-range filtering, sorting, and pagination. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (DriverSelfReportedHoursAndMileageListRes)
|
|
690
720
|
*
|
|
691
|
-
* @param {Chrt.shipping.
|
|
721
|
+
* @param {Chrt.shipping.DriversOrgListSelfReportedHoursAndMileageV1Request} request
|
|
692
722
|
* @param {Drivers.RequestOptions} requestOptions - Request-specific configuration.
|
|
693
723
|
*
|
|
694
724
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
695
725
|
*
|
|
696
726
|
* @example
|
|
697
|
-
* await client.shipping.drivers.
|
|
698
|
-
*
|
|
699
|
-
*
|
|
700
|
-
*
|
|
701
|
-
* sort_by: "
|
|
727
|
+
* await client.shipping.drivers.orgListSelfReportedHoursAndMileageV1({
|
|
728
|
+
* filter_driver_id: "filter_driver_id",
|
|
729
|
+
* filter_start_date: "filter_start_date",
|
|
730
|
+
* filter_end_date: "filter_end_date",
|
|
731
|
+
* sort_by: "date",
|
|
702
732
|
* sort_order: "asc",
|
|
703
733
|
* page: 1,
|
|
704
734
|
* page_size: 1
|
|
705
735
|
* })
|
|
706
736
|
*/
|
|
707
|
-
|
|
708
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
737
|
+
orgListSelfReportedHoursAndMileageV1(request = {}, requestOptions) {
|
|
738
|
+
return core.HttpResponsePromise.fromPromise(this.__orgListSelfReportedHoursAndMileageV1(request, requestOptions));
|
|
709
739
|
}
|
|
710
|
-
|
|
740
|
+
__orgListSelfReportedHoursAndMileageV1() {
|
|
711
741
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
712
|
-
var _a, _b, _c, _d, _e, _f
|
|
713
|
-
const {
|
|
742
|
+
var _a, _b, _c, _d, _e, _f;
|
|
743
|
+
const { filter_driver_id: filterDriverId, filter_start_date: filterStartDate, filter_end_date: filterEndDate, sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, } = request;
|
|
714
744
|
const _queryParams = {};
|
|
715
|
-
if (
|
|
716
|
-
_queryParams["
|
|
717
|
-
}
|
|
718
|
-
if (filterRole !== undefined) {
|
|
719
|
-
if (Array.isArray(filterRole)) {
|
|
720
|
-
_queryParams["filter_role"] = filterRole.map((item) => item);
|
|
721
|
-
}
|
|
722
|
-
else {
|
|
723
|
-
_queryParams["filter_role"] = filterRole;
|
|
724
|
-
}
|
|
745
|
+
if (filterDriverId !== undefined) {
|
|
746
|
+
_queryParams["filter_driver_id"] = filterDriverId;
|
|
725
747
|
}
|
|
726
|
-
if (
|
|
727
|
-
_queryParams["
|
|
748
|
+
if (filterStartDate !== undefined) {
|
|
749
|
+
_queryParams["filter_start_date"] = filterStartDate;
|
|
728
750
|
}
|
|
729
|
-
if (
|
|
730
|
-
_queryParams["
|
|
731
|
-
(_b = filterAvailableAccordingToOperators === null || filterAvailableAccordingToOperators === void 0 ? void 0 : filterAvailableAccordingToOperators.toString()) !== null && _b !== void 0 ? _b : null;
|
|
751
|
+
if (filterEndDate !== undefined) {
|
|
752
|
+
_queryParams["filter_end_date"] = filterEndDate;
|
|
732
753
|
}
|
|
733
754
|
if (sortBy !== undefined) {
|
|
734
755
|
_queryParams["sort_by"] = sortBy;
|
|
@@ -737,14 +758,14 @@ class Drivers {
|
|
|
737
758
|
_queryParams["sort_order"] = sortOrder;
|
|
738
759
|
}
|
|
739
760
|
if (page !== undefined) {
|
|
740
|
-
_queryParams["page"] = (
|
|
761
|
+
_queryParams["page"] = (_a = page === null || page === void 0 ? void 0 : page.toString()) !== null && _a !== void 0 ? _a : null;
|
|
741
762
|
}
|
|
742
763
|
if (pageSize !== undefined) {
|
|
743
|
-
_queryParams["page_size"] = (
|
|
764
|
+
_queryParams["page_size"] = (_b = pageSize === null || pageSize === void 0 ? void 0 : pageSize.toString()) !== null && _b !== void 0 ? _b : null;
|
|
744
765
|
}
|
|
745
|
-
let _headers = (0, headers_js_1.mergeHeaders)((
|
|
746
|
-
const _response = yield ((
|
|
747
|
-
url: core.url.join((
|
|
766
|
+
let _headers = (0, headers_js_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
767
|
+
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
768
|
+
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ChrtEnvironment.Local, "shipping/drivers/self_reported_hours_and_mileage/org_list/v1"),
|
|
748
769
|
method: "GET",
|
|
749
770
|
headers: _headers,
|
|
750
771
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
@@ -753,7 +774,10 @@ class Drivers {
|
|
|
753
774
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
754
775
|
});
|
|
755
776
|
if (_response.ok) {
|
|
756
|
-
return {
|
|
777
|
+
return {
|
|
778
|
+
data: _response.body,
|
|
779
|
+
rawResponse: _response.rawResponse,
|
|
780
|
+
};
|
|
757
781
|
}
|
|
758
782
|
if (_response.error.reason === "status-code") {
|
|
759
783
|
switch (_response.error.statusCode) {
|
|
@@ -775,7 +799,7 @@ class Drivers {
|
|
|
775
799
|
rawResponse: _response.rawResponse,
|
|
776
800
|
});
|
|
777
801
|
case "timeout":
|
|
778
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping/drivers/
|
|
802
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping/drivers/self_reported_hours_and_mileage/org_list/v1.");
|
|
779
803
|
case "unknown":
|
|
780
804
|
throw new errors.ChrtError({
|
|
781
805
|
message: _response.error.errorMessage,
|
|
@@ -785,70 +809,42 @@ class Drivers {
|
|
|
785
809
|
});
|
|
786
810
|
}
|
|
787
811
|
/**
|
|
788
|
-
*
|
|
812
|
+
* Partially updates a driver's self-reported hours worked and/or miles driven for a calendar day. Caller must be the driver themselves. | authz: allowed_org_types=[provider], min_org_role=driver | (DriverSelfReportedHoursAndMileageClientUpdate1) -> (DriverSelfReportedHoursAndMileage1)
|
|
789
813
|
*
|
|
790
|
-
* @param {
|
|
814
|
+
* @param {string} driverId
|
|
815
|
+
* @param {string} reportDate
|
|
816
|
+
* @param {Chrt.shipping.DriverSelfReportedHoursAndMileageClientUpdate1} request
|
|
791
817
|
* @param {Drivers.RequestOptions} requestOptions - Request-specific configuration.
|
|
792
818
|
*
|
|
793
819
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
794
820
|
*
|
|
795
821
|
* @example
|
|
796
|
-
* await client.shipping.drivers.
|
|
797
|
-
* sort_order: "asc",
|
|
798
|
-
* page: 1,
|
|
799
|
-
* page_size: 1,
|
|
800
|
-
* search: "search",
|
|
801
|
-
* filter_available_according_to_driver: true,
|
|
802
|
-
* filter_available_according_to_operators: true
|
|
803
|
-
* })
|
|
822
|
+
* await client.shipping.drivers.updateSelfReportedHoursAndMileageV1("driver_id", "report_date")
|
|
804
823
|
*/
|
|
805
|
-
|
|
806
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
824
|
+
updateSelfReportedHoursAndMileageV1(driverId, reportDate, request = {}, requestOptions) {
|
|
825
|
+
return core.HttpResponsePromise.fromPromise(this.__updateSelfReportedHoursAndMileageV1(driverId, reportDate, request, requestOptions));
|
|
807
826
|
}
|
|
808
|
-
|
|
809
|
-
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
810
|
-
var _a, _b, _c, _d
|
|
811
|
-
|
|
812
|
-
const
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
}
|
|
816
|
-
if (page !== undefined) {
|
|
817
|
-
_queryParams["page"] = (_a = page === null || page === void 0 ? void 0 : page.toString()) !== null && _a !== void 0 ? _a : null;
|
|
818
|
-
}
|
|
819
|
-
if (pageSize !== undefined) {
|
|
820
|
-
_queryParams["page_size"] = (_b = pageSize === null || pageSize === void 0 ? void 0 : pageSize.toString()) !== null && _b !== void 0 ? _b : null;
|
|
821
|
-
}
|
|
822
|
-
if (search !== undefined) {
|
|
823
|
-
_queryParams["search"] = search;
|
|
824
|
-
}
|
|
825
|
-
if (filterAvailableAccordingToDriver !== undefined) {
|
|
826
|
-
_queryParams["filter_available_according_to_driver"] = (_c = filterAvailableAccordingToDriver === null || filterAvailableAccordingToDriver === void 0 ? void 0 : filterAvailableAccordingToDriver.toString()) !== null && _c !== void 0 ? _c : null;
|
|
827
|
-
}
|
|
828
|
-
if (filterAvailableAccordingToOperators !== undefined) {
|
|
829
|
-
_queryParams["filter_available_according_to_operators"] =
|
|
830
|
-
(_d = filterAvailableAccordingToOperators === null || filterAvailableAccordingToOperators === void 0 ? void 0 : filterAvailableAccordingToOperators.toString()) !== null && _d !== void 0 ? _d : null;
|
|
831
|
-
}
|
|
832
|
-
if (filterStatus !== undefined) {
|
|
833
|
-
if (Array.isArray(filterStatus)) {
|
|
834
|
-
_queryParams["filter_status"] = filterStatus.map((item) => item);
|
|
835
|
-
}
|
|
836
|
-
else {
|
|
837
|
-
_queryParams["filter_status"] = filterStatus;
|
|
838
|
-
}
|
|
839
|
-
}
|
|
840
|
-
let _headers = (0, headers_js_1.mergeHeaders)((_e = this._options) === null || _e === void 0 ? void 0 : _e.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
841
|
-
const _response = yield ((_f = this._options.fetcher) !== null && _f !== void 0 ? _f : core.fetcher)({
|
|
842
|
-
url: core.url.join((_h = (_g = (yield core.Supplier.get(this._options.baseUrl))) !== null && _g !== void 0 ? _g : (yield core.Supplier.get(this._options.environment))) !== null && _h !== void 0 ? _h : environments.ChrtEnvironment.Local, "shipping/drivers/list/v1"),
|
|
843
|
-
method: "GET",
|
|
827
|
+
__updateSelfReportedHoursAndMileageV1(driverId_1, reportDate_1) {
|
|
828
|
+
return __awaiter(this, arguments, void 0, function* (driverId, reportDate, request = {}, requestOptions) {
|
|
829
|
+
var _a, _b, _c, _d;
|
|
830
|
+
let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
831
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
832
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/drivers/self_reported_hours_and_mileage/update/v1/${encodeURIComponent(driverId)}/${encodeURIComponent(reportDate)}`),
|
|
833
|
+
method: "PATCH",
|
|
844
834
|
headers: _headers,
|
|
845
|
-
|
|
835
|
+
contentType: "application/json",
|
|
836
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
837
|
+
requestType: "json",
|
|
838
|
+
body: request,
|
|
846
839
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
847
840
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
848
841
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
849
842
|
});
|
|
850
843
|
if (_response.ok) {
|
|
851
|
-
return {
|
|
844
|
+
return {
|
|
845
|
+
data: _response.body,
|
|
846
|
+
rawResponse: _response.rawResponse,
|
|
847
|
+
};
|
|
852
848
|
}
|
|
853
849
|
if (_response.error.reason === "status-code") {
|
|
854
850
|
switch (_response.error.statusCode) {
|
|
@@ -870,7 +866,7 @@ class Drivers {
|
|
|
870
866
|
rawResponse: _response.rawResponse,
|
|
871
867
|
});
|
|
872
868
|
case "timeout":
|
|
873
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling
|
|
869
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /shipping/drivers/self_reported_hours_and_mileage/update/v1/{driver_id}/{report_date}.");
|
|
874
870
|
case "unknown":
|
|
875
871
|
throw new errors.ChrtError({
|
|
876
872
|
message: _response.error.errorMessage,
|
|
@@ -880,39 +876,35 @@ class Drivers {
|
|
|
880
876
|
});
|
|
881
877
|
}
|
|
882
878
|
/**
|
|
883
|
-
*
|
|
879
|
+
* Retrieves driver analytics for a time window. Daily rows are clipped to the requested UTC window; task-group rows include full in-progress mileage for task groups whose in-progress interval overlaps the requested window. | authz: allowed_org_types=[provider], min_org_role=operator | (DriverStatsReq) -> (DriverStatsRes)
|
|
884
880
|
*
|
|
885
|
-
* @param {
|
|
881
|
+
* @param {string} driverId
|
|
882
|
+
* @param {Chrt.shipping.DriverStatsReq} request
|
|
886
883
|
* @param {Drivers.RequestOptions} requestOptions - Request-specific configuration.
|
|
887
884
|
*
|
|
888
885
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
889
886
|
*
|
|
890
887
|
* @example
|
|
891
|
-
* await client.shipping.drivers.
|
|
892
|
-
*
|
|
893
|
-
*
|
|
888
|
+
* await client.shipping.drivers.getStatsV1("driver_id", {
|
|
889
|
+
* end_timestamp: "2024-01-15T09:30:00Z",
|
|
890
|
+
* start_timestamp: "2024-01-15T09:30:00Z"
|
|
894
891
|
* })
|
|
895
892
|
*/
|
|
896
|
-
|
|
897
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
893
|
+
getStatsV1(driverId, request, requestOptions) {
|
|
894
|
+
return core.HttpResponsePromise.fromPromise(this.__getStatsV1(driverId, request, requestOptions));
|
|
898
895
|
}
|
|
899
|
-
|
|
896
|
+
__getStatsV1(driverId, request, requestOptions) {
|
|
900
897
|
return __awaiter(this, void 0, void 0, function* () {
|
|
901
898
|
var _a, _b, _c, _d;
|
|
902
|
-
const { target_user_id: targetUserId } = request, _body = __rest(request, ["target_user_id"]);
|
|
903
|
-
const _queryParams = {};
|
|
904
|
-
if (targetUserId !== undefined) {
|
|
905
|
-
_queryParams["target_user_id"] = targetUserId;
|
|
906
|
-
}
|
|
907
899
|
let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
908
900
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
909
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local,
|
|
901
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/drivers/stats/v1/${encodeURIComponent(driverId)}`),
|
|
910
902
|
method: "POST",
|
|
911
903
|
headers: _headers,
|
|
912
904
|
contentType: "application/json",
|
|
913
|
-
queryParameters:
|
|
905
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
914
906
|
requestType: "json",
|
|
915
|
-
body:
|
|
907
|
+
body: request,
|
|
916
908
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
917
909
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
918
910
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -940,7 +932,7 @@ class Drivers {
|
|
|
940
932
|
rawResponse: _response.rawResponse,
|
|
941
933
|
});
|
|
942
934
|
case "timeout":
|
|
943
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/drivers/
|
|
935
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/drivers/stats/v1/{driver_id}.");
|
|
944
936
|
case "unknown":
|
|
945
937
|
throw new errors.ChrtError({
|
|
946
938
|
message: _response.error.errorMessage,
|
|
@@ -1013,25 +1005,34 @@ class Drivers {
|
|
|
1013
1005
|
});
|
|
1014
1006
|
}
|
|
1015
1007
|
/**
|
|
1016
|
-
*
|
|
1008
|
+
* Toggles a driver's `auto_assign_enabled` flag — opt-in for direct (non-bidding) task-group assignment. Authorized: the driver themselves OR an operator+ in the driver's org (operators may override the driver's setting). Provider orgs only. | (DriverUpdateAutoAssignReq) -> (bool)
|
|
1017
1009
|
*
|
|
1010
|
+
* @param {string} driverId
|
|
1011
|
+
* @param {Chrt.shipping.DriverUpdateAutoAssignReq} request
|
|
1018
1012
|
* @param {Drivers.RequestOptions} requestOptions - Request-specific configuration.
|
|
1019
1013
|
*
|
|
1014
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
1015
|
+
*
|
|
1020
1016
|
* @example
|
|
1021
|
-
* await client.shipping.drivers.
|
|
1017
|
+
* await client.shipping.drivers.updateAutoAssignV1("driver_id", {
|
|
1018
|
+
* auto_assign_enabled: true
|
|
1019
|
+
* })
|
|
1022
1020
|
*/
|
|
1023
|
-
|
|
1024
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
1021
|
+
updateAutoAssignV1(driverId, request, requestOptions) {
|
|
1022
|
+
return core.HttpResponsePromise.fromPromise(this.__updateAutoAssignV1(driverId, request, requestOptions));
|
|
1025
1023
|
}
|
|
1026
|
-
|
|
1024
|
+
__updateAutoAssignV1(driverId, request, requestOptions) {
|
|
1027
1025
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1028
1026
|
var _a, _b, _c, _d;
|
|
1029
1027
|
let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1030
1028
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1031
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local,
|
|
1032
|
-
method: "
|
|
1029
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/drivers/update_auto_assign/v1/${encodeURIComponent(driverId)}`),
|
|
1030
|
+
method: "PATCH",
|
|
1033
1031
|
headers: _headers,
|
|
1032
|
+
contentType: "application/json",
|
|
1034
1033
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
1034
|
+
requestType: "json",
|
|
1035
|
+
body: request,
|
|
1035
1036
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
1036
1037
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
1037
1038
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -1040,11 +1041,16 @@ class Drivers {
|
|
|
1040
1041
|
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
1041
1042
|
}
|
|
1042
1043
|
if (_response.error.reason === "status-code") {
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1044
|
+
switch (_response.error.statusCode) {
|
|
1045
|
+
case 422:
|
|
1046
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
1047
|
+
default:
|
|
1048
|
+
throw new errors.ChrtError({
|
|
1049
|
+
statusCode: _response.error.statusCode,
|
|
1050
|
+
body: _response.error.body,
|
|
1051
|
+
rawResponse: _response.rawResponse,
|
|
1052
|
+
});
|
|
1053
|
+
}
|
|
1048
1054
|
}
|
|
1049
1055
|
switch (_response.error.reason) {
|
|
1050
1056
|
case "non-json":
|
|
@@ -1054,7 +1060,7 @@ class Drivers {
|
|
|
1054
1060
|
rawResponse: _response.rawResponse,
|
|
1055
1061
|
});
|
|
1056
1062
|
case "timeout":
|
|
1057
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling
|
|
1063
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /shipping/drivers/update_auto_assign/v1/{driver_id}.");
|
|
1058
1064
|
case "unknown":
|
|
1059
1065
|
throw new errors.ChrtError({
|
|
1060
1066
|
message: _response.error.errorMessage,
|
|
@@ -1193,34 +1199,28 @@ class Drivers {
|
|
|
1193
1199
|
});
|
|
1194
1200
|
}
|
|
1195
1201
|
/**
|
|
1196
|
-
*
|
|
1202
|
+
* Retrieves detailed driver information by driver ID within the organization. | () -> (DriverWithActiveTaskGroupIds1)
|
|
1197
1203
|
*
|
|
1198
1204
|
* @param {string} driverId
|
|
1199
|
-
* @param {Chrt.shipping.DriverUpdateAutoAssignReq} request
|
|
1200
1205
|
* @param {Drivers.RequestOptions} requestOptions - Request-specific configuration.
|
|
1201
1206
|
*
|
|
1202
1207
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
1203
1208
|
*
|
|
1204
1209
|
* @example
|
|
1205
|
-
* await client.shipping.drivers.
|
|
1206
|
-
* auto_assign_enabled: true
|
|
1207
|
-
* })
|
|
1210
|
+
* await client.shipping.drivers.getByDriverIdV1("driver_id")
|
|
1208
1211
|
*/
|
|
1209
|
-
|
|
1210
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
1212
|
+
getByDriverIdV1(driverId, requestOptions) {
|
|
1213
|
+
return core.HttpResponsePromise.fromPromise(this.__getByDriverIdV1(driverId, requestOptions));
|
|
1211
1214
|
}
|
|
1212
|
-
|
|
1215
|
+
__getByDriverIdV1(driverId, requestOptions) {
|
|
1213
1216
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1214
1217
|
var _a, _b, _c, _d;
|
|
1215
1218
|
let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1216
1219
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1217
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/drivers/
|
|
1218
|
-
method: "
|
|
1220
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/drivers/v1/${encodeURIComponent(driverId)}`),
|
|
1221
|
+
method: "GET",
|
|
1219
1222
|
headers: _headers,
|
|
1220
|
-
contentType: "application/json",
|
|
1221
1223
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
1222
|
-
requestType: "json",
|
|
1223
|
-
body: request,
|
|
1224
1224
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
1225
1225
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
1226
1226
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -1248,7 +1248,7 @@ class Drivers {
|
|
|
1248
1248
|
rawResponse: _response.rawResponse,
|
|
1249
1249
|
});
|
|
1250
1250
|
case "timeout":
|
|
1251
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling
|
|
1251
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping/drivers/v1/{driver_id}.");
|
|
1252
1252
|
case "unknown":
|
|
1253
1253
|
throw new errors.ChrtError({
|
|
1254
1254
|
message: _response.error.errorMessage,
|