@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
|
@@ -66,28 +66,36 @@ class LineItemGroups {
|
|
|
66
66
|
return ((_a = this._s3Objects) !== null && _a !== void 0 ? _a : (this._s3Objects = new Client_js_2.S3Objects(this._options)));
|
|
67
67
|
}
|
|
68
68
|
/**
|
|
69
|
-
*
|
|
69
|
+
* Appends an owner-direct AD_HOC LineItem to the amendment bucket of a LineItemGroup that has not yet been finalized. The agreement bucket is reserved for the original deal at creation; everything added after lands in amendment. | authz_personas=[lig_org_operators] | (LineItemClientCreate1) -> (LineItemGroup1)
|
|
70
70
|
*
|
|
71
|
-
* @param {string}
|
|
71
|
+
* @param {string} lineItemGroupId
|
|
72
|
+
* @param {Chrt.LineItemClientCreate1} request
|
|
72
73
|
* @param {LineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
73
74
|
*
|
|
74
75
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
75
76
|
*
|
|
76
77
|
* @example
|
|
77
|
-
* await client.billing.lineItemGroups.
|
|
78
|
+
* await client.billing.lineItemGroups.adHocAddLineItemV1("line_item_group_id", {
|
|
79
|
+
* item: "base_rate",
|
|
80
|
+
* quantity: 1.1,
|
|
81
|
+
* rate: 1.1
|
|
82
|
+
* })
|
|
78
83
|
*/
|
|
79
|
-
|
|
80
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
84
|
+
adHocAddLineItemV1(lineItemGroupId, request, requestOptions) {
|
|
85
|
+
return core.HttpResponsePromise.fromPromise(this.__adHocAddLineItemV1(lineItemGroupId, request, requestOptions));
|
|
81
86
|
}
|
|
82
|
-
|
|
87
|
+
__adHocAddLineItemV1(lineItemGroupId, request, requestOptions) {
|
|
83
88
|
return __awaiter(this, void 0, void 0, function* () {
|
|
84
89
|
var _a, _b, _c, _d;
|
|
85
90
|
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);
|
|
86
91
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
87
|
-
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, `billing/line_item_groups/
|
|
88
|
-
method: "
|
|
92
|
+
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, `billing/line_item_groups/ad_hoc/add_line_item/v1/${encodeURIComponent(lineItemGroupId)}`),
|
|
93
|
+
method: "POST",
|
|
89
94
|
headers: _headers,
|
|
95
|
+
contentType: "application/json",
|
|
90
96
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
97
|
+
requestType: "json",
|
|
98
|
+
body: request,
|
|
91
99
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
92
100
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
93
101
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -115,7 +123,7 @@ class LineItemGroups {
|
|
|
115
123
|
rawResponse: _response.rawResponse,
|
|
116
124
|
});
|
|
117
125
|
case "timeout":
|
|
118
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling
|
|
126
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /billing/line_item_groups/ad_hoc/add_line_item/v1/{line_item_group_id}.");
|
|
119
127
|
case "unknown":
|
|
120
128
|
throw new errors.ChrtError({
|
|
121
129
|
message: _response.error.errorMessage,
|
|
@@ -125,28 +133,33 @@ class LineItemGroups {
|
|
|
125
133
|
});
|
|
126
134
|
}
|
|
127
135
|
/**
|
|
128
|
-
*
|
|
136
|
+
* Creates a detached ad-hoc LineItemGroup. The LIG is not linked to any TaskGroup at create time — operator follows up with `/shipping/task_groups/attach_lig_to_<vector>/v1` to populate the TG vector link field and the `task_group_id` back-ref together (one txn). | authz: allowed_org_types=[provider, shipper], min_org_role=operator | (LineItemGroupAdHocCreateClientReq) -> (LineItemGroup1)
|
|
129
137
|
*
|
|
130
|
-
* @param {
|
|
138
|
+
* @param {Chrt.billing.LineItemGroupAdHocCreateClientReq} request
|
|
131
139
|
* @param {LineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
132
140
|
*
|
|
133
141
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
134
142
|
*
|
|
135
143
|
* @example
|
|
136
|
-
* await client.billing.lineItemGroups.
|
|
144
|
+
* await client.billing.lineItemGroups.adHocCreateV1({
|
|
145
|
+
* owned_by_org_id: "owned_by_org_id"
|
|
146
|
+
* })
|
|
137
147
|
*/
|
|
138
|
-
|
|
139
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
148
|
+
adHocCreateV1(request, requestOptions) {
|
|
149
|
+
return core.HttpResponsePromise.fromPromise(this.__adHocCreateV1(request, requestOptions));
|
|
140
150
|
}
|
|
141
|
-
|
|
151
|
+
__adHocCreateV1(request, requestOptions) {
|
|
142
152
|
return __awaiter(this, void 0, void 0, function* () {
|
|
143
153
|
var _a, _b, _c, _d;
|
|
144
154
|
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);
|
|
145
155
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
146
|
-
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,
|
|
147
|
-
method: "
|
|
156
|
+
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, "billing/line_item_groups/ad_hoc/create/v1"),
|
|
157
|
+
method: "POST",
|
|
148
158
|
headers: _headers,
|
|
159
|
+
contentType: "application/json",
|
|
149
160
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
161
|
+
requestType: "json",
|
|
162
|
+
body: request,
|
|
150
163
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
151
164
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
152
165
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -174,7 +187,7 @@ class LineItemGroups {
|
|
|
174
187
|
rawResponse: _response.rawResponse,
|
|
175
188
|
});
|
|
176
189
|
case "timeout":
|
|
177
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling
|
|
190
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /billing/line_item_groups/ad_hoc/create/v1.");
|
|
178
191
|
case "unknown":
|
|
179
192
|
throw new errors.ChrtError({
|
|
180
193
|
message: _response.error.errorMessage,
|
|
@@ -184,95 +197,29 @@ class LineItemGroups {
|
|
|
184
197
|
});
|
|
185
198
|
}
|
|
186
199
|
/**
|
|
187
|
-
*
|
|
200
|
+
* Removes an AD_HOC LineItem from a LineItemGroup that has not yet been finalized. | authz_personas=[lig_org_operators] | () -> (LineItemGroup1)
|
|
188
201
|
*
|
|
189
|
-
* @param {
|
|
202
|
+
* @param {string} lineItemGroupId
|
|
203
|
+
* @param {string} lineItemId
|
|
190
204
|
* @param {LineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
191
205
|
*
|
|
192
206
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
193
207
|
*
|
|
194
208
|
* @example
|
|
195
|
-
* await client.billing.lineItemGroups.
|
|
196
|
-
* sort_order: "asc",
|
|
197
|
-
* page: 1,
|
|
198
|
-
* page_size: 1,
|
|
199
|
-
* filter_task_group_id: "filter_task_group_id",
|
|
200
|
-
* filter_order_id: "filter_order_id",
|
|
201
|
-
* filter_order_short_id: "filter_order_short_id",
|
|
202
|
-
* filter_order_off_chrt_reference_id: "filter_order_off_chrt_reference_id",
|
|
203
|
-
* filter_owned_by_org_id: "filter_owned_by_org_id",
|
|
204
|
-
* filter_payment_origin_org_id: "filter_payment_origin_org_id",
|
|
205
|
-
* filter_payment_destination_org_id: "filter_payment_destination_org_id",
|
|
206
|
-
* filter_payment_destination_driver_id: "filter_payment_destination_driver_id",
|
|
207
|
-
* filter_rate_sheet_id: "filter_rate_sheet_id",
|
|
208
|
-
* filter_statement_id: "filter_statement_id",
|
|
209
|
-
* filter_attached_to_statement: true
|
|
210
|
-
* })
|
|
209
|
+
* await client.billing.lineItemGroups.adHocRemoveLineItemV1("line_item_group_id", "line_item_id")
|
|
211
210
|
*/
|
|
212
|
-
|
|
213
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
211
|
+
adHocRemoveLineItemV1(lineItemGroupId, lineItemId, requestOptions) {
|
|
212
|
+
return core.HttpResponsePromise.fromPromise(this.__adHocRemoveLineItemV1(lineItemGroupId, lineItemId, requestOptions));
|
|
214
213
|
}
|
|
215
|
-
|
|
216
|
-
return __awaiter(this,
|
|
217
|
-
var _a, _b, _c, _d
|
|
218
|
-
|
|
219
|
-
const
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
}
|
|
223
|
-
if (page !== undefined) {
|
|
224
|
-
_queryParams["page"] = (_a = page === null || page === void 0 ? void 0 : page.toString()) !== null && _a !== void 0 ? _a : null;
|
|
225
|
-
}
|
|
226
|
-
if (pageSize !== undefined) {
|
|
227
|
-
_queryParams["page_size"] = (_b = pageSize === null || pageSize === void 0 ? void 0 : pageSize.toString()) !== null && _b !== void 0 ? _b : null;
|
|
228
|
-
}
|
|
229
|
-
if (filterStatus !== undefined) {
|
|
230
|
-
if (Array.isArray(filterStatus)) {
|
|
231
|
-
_queryParams["filter_status"] = filterStatus.map((item) => item);
|
|
232
|
-
}
|
|
233
|
-
else {
|
|
234
|
-
_queryParams["filter_status"] = filterStatus;
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
if (filterTaskGroupId !== undefined) {
|
|
238
|
-
_queryParams["filter_task_group_id"] = filterTaskGroupId;
|
|
239
|
-
}
|
|
240
|
-
if (filterOrderId !== undefined) {
|
|
241
|
-
_queryParams["filter_order_id"] = filterOrderId;
|
|
242
|
-
}
|
|
243
|
-
if (filterOrderShortId !== undefined) {
|
|
244
|
-
_queryParams["filter_order_short_id"] = filterOrderShortId;
|
|
245
|
-
}
|
|
246
|
-
if (filterOrderOffChrtReferenceId !== undefined) {
|
|
247
|
-
_queryParams["filter_order_off_chrt_reference_id"] = filterOrderOffChrtReferenceId;
|
|
248
|
-
}
|
|
249
|
-
if (filterOwnedByOrgId !== undefined) {
|
|
250
|
-
_queryParams["filter_owned_by_org_id"] = filterOwnedByOrgId;
|
|
251
|
-
}
|
|
252
|
-
if (filterPaymentOriginOrgId !== undefined) {
|
|
253
|
-
_queryParams["filter_payment_origin_org_id"] = filterPaymentOriginOrgId;
|
|
254
|
-
}
|
|
255
|
-
if (filterPaymentDestinationOrgId !== undefined) {
|
|
256
|
-
_queryParams["filter_payment_destination_org_id"] = filterPaymentDestinationOrgId;
|
|
257
|
-
}
|
|
258
|
-
if (filterPaymentDestinationDriverId !== undefined) {
|
|
259
|
-
_queryParams["filter_payment_destination_driver_id"] = filterPaymentDestinationDriverId;
|
|
260
|
-
}
|
|
261
|
-
if (filterRateSheetId !== undefined) {
|
|
262
|
-
_queryParams["filter_rate_sheet_id"] = filterRateSheetId;
|
|
263
|
-
}
|
|
264
|
-
if (filterStatementId !== undefined) {
|
|
265
|
-
_queryParams["filter_statement_id"] = filterStatementId;
|
|
266
|
-
}
|
|
267
|
-
if (filterAttachedToStatement !== undefined) {
|
|
268
|
-
_queryParams["filter_attached_to_statement"] = (_c = filterAttachedToStatement === null || filterAttachedToStatement === void 0 ? void 0 : filterAttachedToStatement.toString()) !== null && _c !== void 0 ? _c : null;
|
|
269
|
-
}
|
|
270
|
-
let _headers = (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
271
|
-
const _response = yield ((_e = this._options.fetcher) !== null && _e !== void 0 ? _e : core.fetcher)({
|
|
272
|
-
url: core.url.join((_g = (_f = (yield core.Supplier.get(this._options.baseUrl))) !== null && _f !== void 0 ? _f : (yield core.Supplier.get(this._options.environment))) !== null && _g !== void 0 ? _g : environments.ChrtEnvironment.Local, "billing/line_item_groups/list/v1"),
|
|
273
|
-
method: "GET",
|
|
214
|
+
__adHocRemoveLineItemV1(lineItemGroupId, lineItemId, requestOptions) {
|
|
215
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
216
|
+
var _a, _b, _c, _d;
|
|
217
|
+
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);
|
|
218
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
219
|
+
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, `billing/line_item_groups/ad_hoc/remove_line_item/v1/${encodeURIComponent(lineItemGroupId)}/${encodeURIComponent(lineItemId)}`),
|
|
220
|
+
method: "DELETE",
|
|
274
221
|
headers: _headers,
|
|
275
|
-
queryParameters:
|
|
222
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
276
223
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
277
224
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
278
225
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -300,7 +247,7 @@ class LineItemGroups {
|
|
|
300
247
|
rawResponse: _response.rawResponse,
|
|
301
248
|
});
|
|
302
249
|
case "timeout":
|
|
303
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling
|
|
250
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling DELETE /billing/line_item_groups/ad_hoc/remove_line_item/v1/{line_item_group_id}/{line_item_id}.");
|
|
304
251
|
case "unknown":
|
|
305
252
|
throw new errors.ChrtError({
|
|
306
253
|
message: _response.error.errorMessage,
|
|
@@ -310,33 +257,29 @@ class LineItemGroups {
|
|
|
310
257
|
});
|
|
311
258
|
}
|
|
312
259
|
/**
|
|
313
|
-
*
|
|
260
|
+
* Owner approves a counterparty-proposed LineItem on a non-FINALIZED LineItemGroup, moving it from pending_line_item_ids to amendment_line_item_ids and stamping ad_hoc__status=APPROVED. The agreement bucket is reserved for the original deal at creation; counterparty additions land in amendment by construction. | authz_personas=[lig_owner_operators] | () -> (LineItemGroup1)
|
|
314
261
|
*
|
|
315
|
-
* @param {
|
|
262
|
+
* @param {string} lineItemGroupId
|
|
263
|
+
* @param {string} lineItemId
|
|
316
264
|
* @param {LineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
317
265
|
*
|
|
318
266
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
319
267
|
*
|
|
320
268
|
* @example
|
|
321
|
-
* await client.billing.lineItemGroups.
|
|
322
|
-
* owned_by_org_id: "owned_by_org_id"
|
|
323
|
-
* })
|
|
269
|
+
* await client.billing.lineItemGroups.approveLineItemV1("line_item_group_id", "line_item_id")
|
|
324
270
|
*/
|
|
325
|
-
|
|
326
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
271
|
+
approveLineItemV1(lineItemGroupId, lineItemId, requestOptions) {
|
|
272
|
+
return core.HttpResponsePromise.fromPromise(this.__approveLineItemV1(lineItemGroupId, lineItemId, requestOptions));
|
|
327
273
|
}
|
|
328
|
-
|
|
274
|
+
__approveLineItemV1(lineItemGroupId, lineItemId, requestOptions) {
|
|
329
275
|
return __awaiter(this, void 0, void 0, function* () {
|
|
330
276
|
var _a, _b, _c, _d;
|
|
331
277
|
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);
|
|
332
278
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
333
|
-
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,
|
|
279
|
+
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, `billing/line_item_groups/approve_line_item/v1/${encodeURIComponent(lineItemGroupId)}/${encodeURIComponent(lineItemId)}`),
|
|
334
280
|
method: "POST",
|
|
335
281
|
headers: _headers,
|
|
336
|
-
contentType: "application/json",
|
|
337
282
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
338
|
-
requestType: "json",
|
|
339
|
-
body: request,
|
|
340
283
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
341
284
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
342
285
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -364,7 +307,7 @@ class LineItemGroups {
|
|
|
364
307
|
rawResponse: _response.rawResponse,
|
|
365
308
|
});
|
|
366
309
|
case "timeout":
|
|
367
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /billing/line_item_groups/
|
|
310
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /billing/line_item_groups/approve_line_item/v1/{line_item_group_id}/{line_item_id}.");
|
|
368
311
|
case "unknown":
|
|
369
312
|
throw new errors.ChrtError({
|
|
370
313
|
message: _response.error.errorMessage,
|
|
@@ -374,36 +317,28 @@ class LineItemGroups {
|
|
|
374
317
|
});
|
|
375
318
|
}
|
|
376
319
|
/**
|
|
377
|
-
*
|
|
320
|
+
* Retrieves a LineItemGroup the caller owns, is a payment counterparty on, or is the destination driver for. | authz_personas=[lig_org_operators, lig_driver] | () -> (LineItemGroup1)
|
|
378
321
|
*
|
|
379
|
-
* @param {string}
|
|
380
|
-
* @param {Chrt.LineItemClientCreate1} request
|
|
322
|
+
* @param {string} id
|
|
381
323
|
* @param {LineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
382
324
|
*
|
|
383
325
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
384
326
|
*
|
|
385
327
|
* @example
|
|
386
|
-
* await client.billing.lineItemGroups.
|
|
387
|
-
* item: "base_rate",
|
|
388
|
-
* rate: 1.1,
|
|
389
|
-
* quantity: 1.1
|
|
390
|
-
* })
|
|
328
|
+
* await client.billing.lineItemGroups.getByIdV1("id")
|
|
391
329
|
*/
|
|
392
|
-
|
|
393
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
330
|
+
getByIdV1(id, requestOptions) {
|
|
331
|
+
return core.HttpResponsePromise.fromPromise(this.__getByIdV1(id, requestOptions));
|
|
394
332
|
}
|
|
395
|
-
|
|
333
|
+
__getByIdV1(id, requestOptions) {
|
|
396
334
|
return __awaiter(this, void 0, void 0, function* () {
|
|
397
335
|
var _a, _b, _c, _d;
|
|
398
336
|
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);
|
|
399
337
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
400
|
-
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, `billing/line_item_groups/
|
|
401
|
-
method: "
|
|
338
|
+
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, `billing/line_item_groups/by_id/v1/${encodeURIComponent(id)}`),
|
|
339
|
+
method: "GET",
|
|
402
340
|
headers: _headers,
|
|
403
|
-
contentType: "application/json",
|
|
404
341
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
405
|
-
requestType: "json",
|
|
406
|
-
body: request,
|
|
407
342
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
408
343
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
409
344
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -431,7 +366,7 @@ class LineItemGroups {
|
|
|
431
366
|
rawResponse: _response.rawResponse,
|
|
432
367
|
});
|
|
433
368
|
case "timeout":
|
|
434
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling
|
|
369
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /billing/line_item_groups/by_id/v1/{id}.");
|
|
435
370
|
case "unknown":
|
|
436
371
|
throw new errors.ChrtError({
|
|
437
372
|
message: _response.error.errorMessage,
|
|
@@ -441,26 +376,25 @@ class LineItemGroups {
|
|
|
441
376
|
});
|
|
442
377
|
}
|
|
443
378
|
/**
|
|
444
|
-
*
|
|
379
|
+
* Owner-only operator cleanup: deletes a STAGED LineItemGroup and cascades. Cascades: (1) deletes every LineItem referenced across the four buckets (agreement / amendment / pending / denied); (2) if the LIG is attached to a parent TaskGroup vector, clears that vector's `_line_item_group_id` and `_rate_sheet_id` (the LIG's `task_group_id` back-ref disappears with the LIG itself). Refuses if the LIG is already attached to a Statement (defense-in-depth — should be unreachable since attach requires FINALIZED). FINALIZED-or-beyond LIGs cannot be deleted (audit records). | authz_personas=[lig_owner_operators] | () -> (bool)
|
|
445
380
|
*
|
|
446
381
|
* @param {string} lineItemGroupId
|
|
447
|
-
* @param {string} lineItemId
|
|
448
382
|
* @param {LineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
449
383
|
*
|
|
450
384
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
451
385
|
*
|
|
452
386
|
* @example
|
|
453
|
-
* await client.billing.lineItemGroups.
|
|
387
|
+
* await client.billing.lineItemGroups.deleteV1("line_item_group_id")
|
|
454
388
|
*/
|
|
455
|
-
|
|
456
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
389
|
+
deleteV1(lineItemGroupId, requestOptions) {
|
|
390
|
+
return core.HttpResponsePromise.fromPromise(this.__deleteV1(lineItemGroupId, requestOptions));
|
|
457
391
|
}
|
|
458
|
-
|
|
392
|
+
__deleteV1(lineItemGroupId, requestOptions) {
|
|
459
393
|
return __awaiter(this, void 0, void 0, function* () {
|
|
460
394
|
var _a, _b, _c, _d;
|
|
461
395
|
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);
|
|
462
396
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
463
|
-
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, `billing/line_item_groups/
|
|
397
|
+
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, `billing/line_item_groups/delete/v1/${encodeURIComponent(lineItemGroupId)}`),
|
|
464
398
|
method: "DELETE",
|
|
465
399
|
headers: _headers,
|
|
466
400
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
@@ -491,7 +425,7 @@ class LineItemGroups {
|
|
|
491
425
|
rawResponse: _response.rawResponse,
|
|
492
426
|
});
|
|
493
427
|
case "timeout":
|
|
494
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling DELETE /billing/line_item_groups/
|
|
428
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling DELETE /billing/line_item_groups/delete/v1/{line_item_group_id}.");
|
|
495
429
|
case "unknown":
|
|
496
430
|
throw new errors.ChrtError({
|
|
497
431
|
message: _response.error.errorMessage,
|
|
@@ -501,25 +435,26 @@ class LineItemGroups {
|
|
|
501
435
|
});
|
|
502
436
|
}
|
|
503
437
|
/**
|
|
504
|
-
*
|
|
438
|
+
* Owner denies a counterparty-proposed LineItem on a non-FINALIZED LineItemGroup, moving it from pending_line_item_ids to denied_line_item_ids and stamping ad_hoc__status=DENIED. | authz_personas=[lig_owner_operators] | () -> (LineItemGroup1)
|
|
505
439
|
*
|
|
506
440
|
* @param {string} lineItemGroupId
|
|
441
|
+
* @param {string} lineItemId
|
|
507
442
|
* @param {LineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
508
443
|
*
|
|
509
444
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
510
445
|
*
|
|
511
446
|
* @example
|
|
512
|
-
* await client.billing.lineItemGroups.
|
|
447
|
+
* await client.billing.lineItemGroups.denyLineItemV1("line_item_group_id", "line_item_id")
|
|
513
448
|
*/
|
|
514
|
-
|
|
515
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
449
|
+
denyLineItemV1(lineItemGroupId, lineItemId, requestOptions) {
|
|
450
|
+
return core.HttpResponsePromise.fromPromise(this.__denyLineItemV1(lineItemGroupId, lineItemId, requestOptions));
|
|
516
451
|
}
|
|
517
|
-
|
|
452
|
+
__denyLineItemV1(lineItemGroupId, lineItemId, requestOptions) {
|
|
518
453
|
return __awaiter(this, void 0, void 0, function* () {
|
|
519
454
|
var _a, _b, _c, _d;
|
|
520
455
|
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);
|
|
521
456
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
522
|
-
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, `billing/line_item_groups/
|
|
457
|
+
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, `billing/line_item_groups/deny_line_item/v1/${encodeURIComponent(lineItemGroupId)}/${encodeURIComponent(lineItemId)}`),
|
|
523
458
|
method: "POST",
|
|
524
459
|
headers: _headers,
|
|
525
460
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
@@ -550,7 +485,7 @@ class LineItemGroups {
|
|
|
550
485
|
rawResponse: _response.rawResponse,
|
|
551
486
|
});
|
|
552
487
|
case "timeout":
|
|
553
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /billing/line_item_groups/
|
|
488
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /billing/line_item_groups/deny_line_item/v1/{line_item_group_id}/{line_item_id}.");
|
|
554
489
|
case "unknown":
|
|
555
490
|
throw new errors.ChrtError({
|
|
556
491
|
message: _response.error.errorMessage,
|
|
@@ -560,36 +495,28 @@ class LineItemGroups {
|
|
|
560
495
|
});
|
|
561
496
|
}
|
|
562
497
|
/**
|
|
563
|
-
*
|
|
498
|
+
* Locks a LineItemGroup, transitioning STAGED → FINALIZED. Required precondition for attaching to a Statement. Owner-only. Rejects if the LIG has no items in agreement_line_item_ids ∪ amendment_line_item_ids, or if pending_line_item_ids is non-empty (counterparty proposals must be resolved first). | authz: allowed_org_types=[provider, shipper], min_org_role=operator, authz_personas=[lig_owner_operators] | () -> (LineItemGroup1)
|
|
564
499
|
*
|
|
565
500
|
* @param {string} lineItemGroupId
|
|
566
|
-
* @param {Chrt.LineItemClientCreate1} request
|
|
567
501
|
* @param {LineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
568
502
|
*
|
|
569
503
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
570
504
|
*
|
|
571
505
|
* @example
|
|
572
|
-
* await client.billing.lineItemGroups.
|
|
573
|
-
* item: "base_rate",
|
|
574
|
-
* rate: 1.1,
|
|
575
|
-
* quantity: 1.1
|
|
576
|
-
* })
|
|
506
|
+
* await client.billing.lineItemGroups.finalizeV1("line_item_group_id")
|
|
577
507
|
*/
|
|
578
|
-
|
|
579
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
508
|
+
finalizeV1(lineItemGroupId, requestOptions) {
|
|
509
|
+
return core.HttpResponsePromise.fromPromise(this.__finalizeV1(lineItemGroupId, requestOptions));
|
|
580
510
|
}
|
|
581
|
-
|
|
511
|
+
__finalizeV1(lineItemGroupId, requestOptions) {
|
|
582
512
|
return __awaiter(this, void 0, void 0, function* () {
|
|
583
513
|
var _a, _b, _c, _d;
|
|
584
514
|
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);
|
|
585
515
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
586
|
-
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, `billing/line_item_groups/
|
|
516
|
+
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, `billing/line_item_groups/finalize/v1/${encodeURIComponent(lineItemGroupId)}`),
|
|
587
517
|
method: "POST",
|
|
588
518
|
headers: _headers,
|
|
589
|
-
contentType: "application/json",
|
|
590
519
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
591
|
-
requestType: "json",
|
|
592
|
-
body: request,
|
|
593
520
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
594
521
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
595
522
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -617,7 +544,7 @@ class LineItemGroups {
|
|
|
617
544
|
rawResponse: _response.rawResponse,
|
|
618
545
|
});
|
|
619
546
|
case "timeout":
|
|
620
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /billing/line_item_groups/
|
|
547
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /billing/line_item_groups/finalize/v1/{line_item_group_id}.");
|
|
621
548
|
case "unknown":
|
|
622
549
|
throw new errors.ChrtError({
|
|
623
550
|
message: _response.error.errorMessage,
|
|
@@ -627,29 +554,33 @@ class LineItemGroups {
|
|
|
627
554
|
});
|
|
628
555
|
}
|
|
629
556
|
/**
|
|
630
|
-
*
|
|
557
|
+
* Atomically materialises a STAGED LineItemGroup from a rate sheet AND attaches it to the PPD vector of the named TaskGroup (one transaction; both sides of the LIG ↔ TG link populated together). Auto-resolves the rate sheet via RateSheetMapping1 unless body.rate_sheet_id is provided. Rejects if the PPD vector already has a LIG attached, or if a billing ledger period is attached (rate-sheet/ledger exclusivity). | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[executor_org_operators] | (CreateLigFromRateSheetForVectorClientReq) -> (LineItemGroup1)
|
|
631
558
|
*
|
|
632
|
-
* @param {
|
|
633
|
-
* @param {string} lineItemId
|
|
559
|
+
* @param {Chrt.CreateLigFromRateSheetForVectorClientReq} request
|
|
634
560
|
* @param {LineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
635
561
|
*
|
|
636
562
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
637
563
|
*
|
|
638
564
|
* @example
|
|
639
|
-
* await client.billing.lineItemGroups.
|
|
565
|
+
* await client.billing.lineItemGroups.fromRateSheetCreateForProviderPayDriverV1({
|
|
566
|
+
* task_group_id: "task_group_id"
|
|
567
|
+
* })
|
|
640
568
|
*/
|
|
641
|
-
|
|
642
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
569
|
+
fromRateSheetCreateForProviderPayDriverV1(request, requestOptions) {
|
|
570
|
+
return core.HttpResponsePromise.fromPromise(this.__fromRateSheetCreateForProviderPayDriverV1(request, requestOptions));
|
|
643
571
|
}
|
|
644
|
-
|
|
572
|
+
__fromRateSheetCreateForProviderPayDriverV1(request, requestOptions) {
|
|
645
573
|
return __awaiter(this, void 0, void 0, function* () {
|
|
646
574
|
var _a, _b, _c, _d;
|
|
647
575
|
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);
|
|
648
576
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
649
|
-
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,
|
|
650
|
-
method: "
|
|
577
|
+
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, "billing/line_item_groups/from_rate_sheet/create_for_provider_pay_driver/v1"),
|
|
578
|
+
method: "POST",
|
|
651
579
|
headers: _headers,
|
|
580
|
+
contentType: "application/json",
|
|
652
581
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
582
|
+
requestType: "json",
|
|
583
|
+
body: request,
|
|
653
584
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
654
585
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
655
586
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -677,7 +608,7 @@ class LineItemGroups {
|
|
|
677
608
|
rawResponse: _response.rawResponse,
|
|
678
609
|
});
|
|
679
610
|
case "timeout":
|
|
680
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling
|
|
611
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /billing/line_item_groups/from_rate_sheet/create_for_provider_pay_driver/v1.");
|
|
681
612
|
case "unknown":
|
|
682
613
|
throw new errors.ChrtError({
|
|
683
614
|
message: _response.error.errorMessage,
|
|
@@ -687,29 +618,33 @@ class LineItemGroups {
|
|
|
687
618
|
});
|
|
688
619
|
}
|
|
689
620
|
/**
|
|
690
|
-
*
|
|
621
|
+
* Atomically materialises a STAGED LineItemGroup from a rate sheet AND attaches it to the PPP vector of the named TaskGroup (one transaction; both sides of the LIG ↔ TG link populated together). Auto-resolves the rate sheet via RateSheetMapping1 unless body.rate_sheet_id is provided. Rejects if the PPP vector already has a LIG attached, or if a billing ledger period is attached (rate-sheet/ledger exclusivity). | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[task_group_coordinator_operators] | (CreateLigFromRateSheetForVectorClientReq) -> (LineItemGroup1)
|
|
691
622
|
*
|
|
692
|
-
* @param {
|
|
693
|
-
* @param {string} lineItemId
|
|
623
|
+
* @param {Chrt.CreateLigFromRateSheetForVectorClientReq} request
|
|
694
624
|
* @param {LineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
695
625
|
*
|
|
696
626
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
697
627
|
*
|
|
698
628
|
* @example
|
|
699
|
-
* await client.billing.lineItemGroups.
|
|
629
|
+
* await client.billing.lineItemGroups.fromRateSheetCreateForProviderPayProviderV1({
|
|
630
|
+
* task_group_id: "task_group_id"
|
|
631
|
+
* })
|
|
700
632
|
*/
|
|
701
|
-
|
|
702
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
633
|
+
fromRateSheetCreateForProviderPayProviderV1(request, requestOptions) {
|
|
634
|
+
return core.HttpResponsePromise.fromPromise(this.__fromRateSheetCreateForProviderPayProviderV1(request, requestOptions));
|
|
703
635
|
}
|
|
704
|
-
|
|
636
|
+
__fromRateSheetCreateForProviderPayProviderV1(request, requestOptions) {
|
|
705
637
|
return __awaiter(this, void 0, void 0, function* () {
|
|
706
638
|
var _a, _b, _c, _d;
|
|
707
639
|
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);
|
|
708
640
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
709
|
-
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,
|
|
641
|
+
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, "billing/line_item_groups/from_rate_sheet/create_for_provider_pay_provider/v1"),
|
|
710
642
|
method: "POST",
|
|
711
643
|
headers: _headers,
|
|
644
|
+
contentType: "application/json",
|
|
712
645
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
646
|
+
requestType: "json",
|
|
647
|
+
body: request,
|
|
713
648
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
714
649
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
715
650
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -737,7 +672,7 @@ class LineItemGroups {
|
|
|
737
672
|
rawResponse: _response.rawResponse,
|
|
738
673
|
});
|
|
739
674
|
case "timeout":
|
|
740
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /billing/line_item_groups/
|
|
675
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /billing/line_item_groups/from_rate_sheet/create_for_provider_pay_provider/v1.");
|
|
741
676
|
case "unknown":
|
|
742
677
|
throw new errors.ChrtError({
|
|
743
678
|
message: _response.error.errorMessage,
|
|
@@ -747,29 +682,33 @@ class LineItemGroups {
|
|
|
747
682
|
});
|
|
748
683
|
}
|
|
749
684
|
/**
|
|
750
|
-
*
|
|
685
|
+
* Atomically materialises a STAGED LineItemGroup from a rate sheet AND attaches it to the SPP vector of the named TaskGroup (one transaction; both sides of the LIG ↔ TG link populated together). Auto-resolves the rate sheet via RateSheetMapping1 unless body.rate_sheet_id is provided. Rejects if the SPP vector already has a LIG attached, or if a billing ledger period is attached (rate-sheet/ledger exclusivity). | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[task_group_coordinator_operators] | (CreateLigFromRateSheetForVectorClientReq) -> (LineItemGroup1)
|
|
751
686
|
*
|
|
752
|
-
* @param {
|
|
753
|
-
* @param {string} lineItemId
|
|
687
|
+
* @param {Chrt.CreateLigFromRateSheetForVectorClientReq} request
|
|
754
688
|
* @param {LineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
755
689
|
*
|
|
756
690
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
757
691
|
*
|
|
758
692
|
* @example
|
|
759
|
-
* await client.billing.lineItemGroups.
|
|
693
|
+
* await client.billing.lineItemGroups.fromRateSheetCreateForShipperPayProviderV1({
|
|
694
|
+
* task_group_id: "task_group_id"
|
|
695
|
+
* })
|
|
760
696
|
*/
|
|
761
|
-
|
|
762
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
697
|
+
fromRateSheetCreateForShipperPayProviderV1(request, requestOptions) {
|
|
698
|
+
return core.HttpResponsePromise.fromPromise(this.__fromRateSheetCreateForShipperPayProviderV1(request, requestOptions));
|
|
763
699
|
}
|
|
764
|
-
|
|
700
|
+
__fromRateSheetCreateForShipperPayProviderV1(request, requestOptions) {
|
|
765
701
|
return __awaiter(this, void 0, void 0, function* () {
|
|
766
702
|
var _a, _b, _c, _d;
|
|
767
703
|
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);
|
|
768
704
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
769
|
-
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,
|
|
705
|
+
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, "billing/line_item_groups/from_rate_sheet/create_for_shipper_pay_provider/v1"),
|
|
770
706
|
method: "POST",
|
|
771
707
|
headers: _headers,
|
|
708
|
+
contentType: "application/json",
|
|
772
709
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
710
|
+
requestType: "json",
|
|
711
|
+
body: request,
|
|
773
712
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
774
713
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
775
714
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -797,7 +736,7 @@ class LineItemGroups {
|
|
|
797
736
|
rawResponse: _response.rawResponse,
|
|
798
737
|
});
|
|
799
738
|
case "timeout":
|
|
800
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /billing/line_item_groups/
|
|
739
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /billing/line_item_groups/from_rate_sheet/create_for_shipper_pay_provider/v1.");
|
|
801
740
|
case "unknown":
|
|
802
741
|
throw new errors.ChrtError({
|
|
803
742
|
message: _response.error.errorMessage,
|
|
@@ -807,7 +746,7 @@ class LineItemGroups {
|
|
|
807
746
|
});
|
|
808
747
|
}
|
|
809
748
|
/**
|
|
810
|
-
*
|
|
749
|
+
* Retrieves all LineItems referenced by a LineItemGroup the caller can access. | authz_personas=[lig_org_operators, lig_driver] | () -> (LineItemGroupLineItemsRes)
|
|
811
750
|
*
|
|
812
751
|
* @param {string} lineItemGroupId
|
|
813
752
|
* @param {LineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -815,18 +754,18 @@ class LineItemGroups {
|
|
|
815
754
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
816
755
|
*
|
|
817
756
|
* @example
|
|
818
|
-
* await client.billing.lineItemGroups.
|
|
757
|
+
* await client.billing.lineItemGroups.getLineItemsV1("line_item_group_id")
|
|
819
758
|
*/
|
|
820
|
-
|
|
821
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
759
|
+
getLineItemsV1(lineItemGroupId, requestOptions) {
|
|
760
|
+
return core.HttpResponsePromise.fromPromise(this.__getLineItemsV1(lineItemGroupId, requestOptions));
|
|
822
761
|
}
|
|
823
|
-
|
|
762
|
+
__getLineItemsV1(lineItemGroupId, requestOptions) {
|
|
824
763
|
return __awaiter(this, void 0, void 0, function* () {
|
|
825
764
|
var _a, _b, _c, _d;
|
|
826
765
|
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);
|
|
827
766
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
828
|
-
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, `billing/line_item_groups/
|
|
829
|
-
method: "
|
|
767
|
+
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, `billing/line_item_groups/line_items/v1/${encodeURIComponent(lineItemGroupId)}`),
|
|
768
|
+
method: "GET",
|
|
830
769
|
headers: _headers,
|
|
831
770
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
832
771
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -856,7 +795,7 @@ class LineItemGroups {
|
|
|
856
795
|
rawResponse: _response.rawResponse,
|
|
857
796
|
});
|
|
858
797
|
case "timeout":
|
|
859
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling
|
|
798
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /billing/line_item_groups/line_items/v1/{line_item_group_id}.");
|
|
860
799
|
case "unknown":
|
|
861
800
|
throw new errors.ChrtError({
|
|
862
801
|
message: _response.error.errorMessage,
|
|
@@ -866,33 +805,95 @@ class LineItemGroups {
|
|
|
866
805
|
});
|
|
867
806
|
}
|
|
868
807
|
/**
|
|
869
|
-
*
|
|
808
|
+
* Lists LineItemGroups the caller owns, is a payment counterparty on, or is the destination driver for. | authz_personas=[lig_org_operators, lig_driver] | () -> (LineItemGroupListRes)
|
|
870
809
|
*
|
|
871
|
-
* @param {Chrt.
|
|
810
|
+
* @param {Chrt.billing.LineItemGroupsListV1Request} request
|
|
872
811
|
* @param {LineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
873
812
|
*
|
|
874
813
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
875
814
|
*
|
|
876
815
|
* @example
|
|
877
|
-
* await client.billing.lineItemGroups.
|
|
878
|
-
*
|
|
816
|
+
* await client.billing.lineItemGroups.listV1({
|
|
817
|
+
* sort_order: "asc",
|
|
818
|
+
* page: 1,
|
|
819
|
+
* page_size: 1,
|
|
820
|
+
* filter_task_group_id: "filter_task_group_id",
|
|
821
|
+
* filter_order_id: "filter_order_id",
|
|
822
|
+
* filter_order_short_id: "filter_order_short_id",
|
|
823
|
+
* filter_order_off_chrt_reference_id: "filter_order_off_chrt_reference_id",
|
|
824
|
+
* filter_owned_by_org_id: "filter_owned_by_org_id",
|
|
825
|
+
* filter_payment_origin_org_id: "filter_payment_origin_org_id",
|
|
826
|
+
* filter_payment_destination_org_id: "filter_payment_destination_org_id",
|
|
827
|
+
* filter_payment_destination_driver_id: "filter_payment_destination_driver_id",
|
|
828
|
+
* filter_rate_sheet_id: "filter_rate_sheet_id",
|
|
829
|
+
* filter_statement_id: "filter_statement_id",
|
|
830
|
+
* filter_attached_to_statement: true
|
|
879
831
|
* })
|
|
880
832
|
*/
|
|
881
|
-
|
|
882
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
833
|
+
listV1(request = {}, requestOptions) {
|
|
834
|
+
return core.HttpResponsePromise.fromPromise(this.__listV1(request, requestOptions));
|
|
883
835
|
}
|
|
884
|
-
|
|
885
|
-
return __awaiter(this,
|
|
886
|
-
var _a, _b, _c, _d;
|
|
887
|
-
|
|
888
|
-
const
|
|
889
|
-
|
|
890
|
-
|
|
836
|
+
__listV1() {
|
|
837
|
+
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
838
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
839
|
+
const { sort_order: sortOrder, page, page_size: pageSize, filter_status: filterStatus, filter_task_group_id: filterTaskGroupId, filter_order_id: filterOrderId, filter_order_short_id: filterOrderShortId, filter_order_off_chrt_reference_id: filterOrderOffChrtReferenceId, filter_owned_by_org_id: filterOwnedByOrgId, filter_payment_origin_org_id: filterPaymentOriginOrgId, filter_payment_destination_org_id: filterPaymentDestinationOrgId, filter_payment_destination_driver_id: filterPaymentDestinationDriverId, filter_rate_sheet_id: filterRateSheetId, filter_statement_id: filterStatementId, filter_attached_to_statement: filterAttachedToStatement, } = request;
|
|
840
|
+
const _queryParams = {};
|
|
841
|
+
if (sortOrder !== undefined) {
|
|
842
|
+
_queryParams["sort_order"] = sortOrder;
|
|
843
|
+
}
|
|
844
|
+
if (page !== undefined) {
|
|
845
|
+
_queryParams["page"] = (_a = page === null || page === void 0 ? void 0 : page.toString()) !== null && _a !== void 0 ? _a : null;
|
|
846
|
+
}
|
|
847
|
+
if (pageSize !== undefined) {
|
|
848
|
+
_queryParams["page_size"] = (_b = pageSize === null || pageSize === void 0 ? void 0 : pageSize.toString()) !== null && _b !== void 0 ? _b : null;
|
|
849
|
+
}
|
|
850
|
+
if (filterStatus !== undefined) {
|
|
851
|
+
if (Array.isArray(filterStatus)) {
|
|
852
|
+
_queryParams["filter_status"] = filterStatus.map((item) => item);
|
|
853
|
+
}
|
|
854
|
+
else {
|
|
855
|
+
_queryParams["filter_status"] = filterStatus;
|
|
856
|
+
}
|
|
857
|
+
}
|
|
858
|
+
if (filterTaskGroupId !== undefined) {
|
|
859
|
+
_queryParams["filter_task_group_id"] = filterTaskGroupId;
|
|
860
|
+
}
|
|
861
|
+
if (filterOrderId !== undefined) {
|
|
862
|
+
_queryParams["filter_order_id"] = filterOrderId;
|
|
863
|
+
}
|
|
864
|
+
if (filterOrderShortId !== undefined) {
|
|
865
|
+
_queryParams["filter_order_short_id"] = filterOrderShortId;
|
|
866
|
+
}
|
|
867
|
+
if (filterOrderOffChrtReferenceId !== undefined) {
|
|
868
|
+
_queryParams["filter_order_off_chrt_reference_id"] = filterOrderOffChrtReferenceId;
|
|
869
|
+
}
|
|
870
|
+
if (filterOwnedByOrgId !== undefined) {
|
|
871
|
+
_queryParams["filter_owned_by_org_id"] = filterOwnedByOrgId;
|
|
872
|
+
}
|
|
873
|
+
if (filterPaymentOriginOrgId !== undefined) {
|
|
874
|
+
_queryParams["filter_payment_origin_org_id"] = filterPaymentOriginOrgId;
|
|
875
|
+
}
|
|
876
|
+
if (filterPaymentDestinationOrgId !== undefined) {
|
|
877
|
+
_queryParams["filter_payment_destination_org_id"] = filterPaymentDestinationOrgId;
|
|
878
|
+
}
|
|
879
|
+
if (filterPaymentDestinationDriverId !== undefined) {
|
|
880
|
+
_queryParams["filter_payment_destination_driver_id"] = filterPaymentDestinationDriverId;
|
|
881
|
+
}
|
|
882
|
+
if (filterRateSheetId !== undefined) {
|
|
883
|
+
_queryParams["filter_rate_sheet_id"] = filterRateSheetId;
|
|
884
|
+
}
|
|
885
|
+
if (filterStatementId !== undefined) {
|
|
886
|
+
_queryParams["filter_statement_id"] = filterStatementId;
|
|
887
|
+
}
|
|
888
|
+
if (filterAttachedToStatement !== undefined) {
|
|
889
|
+
_queryParams["filter_attached_to_statement"] = (_c = filterAttachedToStatement === null || filterAttachedToStatement === void 0 ? void 0 : filterAttachedToStatement.toString()) !== null && _c !== void 0 ? _c : null;
|
|
890
|
+
}
|
|
891
|
+
let _headers = (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
892
|
+
const _response = yield ((_e = this._options.fetcher) !== null && _e !== void 0 ? _e : core.fetcher)({
|
|
893
|
+
url: core.url.join((_g = (_f = (yield core.Supplier.get(this._options.baseUrl))) !== null && _f !== void 0 ? _f : (yield core.Supplier.get(this._options.environment))) !== null && _g !== void 0 ? _g : environments.ChrtEnvironment.Local, "billing/line_item_groups/list/v1"),
|
|
894
|
+
method: "GET",
|
|
891
895
|
headers: _headers,
|
|
892
|
-
|
|
893
|
-
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
894
|
-
requestType: "json",
|
|
895
|
-
body: request,
|
|
896
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
896
897
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
897
898
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
898
899
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -920,7 +921,7 @@ class LineItemGroups {
|
|
|
920
921
|
rawResponse: _response.rawResponse,
|
|
921
922
|
});
|
|
922
923
|
case "timeout":
|
|
923
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling
|
|
924
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /billing/line_item_groups/list/v1.");
|
|
924
925
|
case "unknown":
|
|
925
926
|
throw new errors.ChrtError({
|
|
926
927
|
message: _response.error.errorMessage,
|
|
@@ -930,27 +931,30 @@ class LineItemGroups {
|
|
|
930
931
|
});
|
|
931
932
|
}
|
|
932
933
|
/**
|
|
933
|
-
*
|
|
934
|
+
* Counterparty proposes a draft AD_HOC LineItem on a non-FINALIZED LineItemGroup. The item lands in pending_line_item_ids with ad_hoc__status=PENDING; the owner resolves it via approve/deny. Caller must be on the LIG (origin or destination) but not the owner. | authz_personas=[lig_org_operators] | (LineItemClientCreate1) -> (LineItemGroup1)
|
|
934
935
|
*
|
|
935
|
-
* @param {
|
|
936
|
+
* @param {string} lineItemGroupId
|
|
937
|
+
* @param {Chrt.LineItemClientCreate1} request
|
|
936
938
|
* @param {LineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
937
939
|
*
|
|
938
940
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
939
941
|
*
|
|
940
942
|
* @example
|
|
941
|
-
* await client.billing.lineItemGroups.
|
|
942
|
-
*
|
|
943
|
+
* await client.billing.lineItemGroups.proposeLineItemV1("line_item_group_id", {
|
|
944
|
+
* item: "base_rate",
|
|
945
|
+
* quantity: 1.1,
|
|
946
|
+
* rate: 1.1
|
|
943
947
|
* })
|
|
944
948
|
*/
|
|
945
|
-
|
|
946
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
949
|
+
proposeLineItemV1(lineItemGroupId, request, requestOptions) {
|
|
950
|
+
return core.HttpResponsePromise.fromPromise(this.__proposeLineItemV1(lineItemGroupId, request, requestOptions));
|
|
947
951
|
}
|
|
948
|
-
|
|
952
|
+
__proposeLineItemV1(lineItemGroupId, request, requestOptions) {
|
|
949
953
|
return __awaiter(this, void 0, void 0, function* () {
|
|
950
954
|
var _a, _b, _c, _d;
|
|
951
955
|
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);
|
|
952
956
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
953
|
-
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,
|
|
957
|
+
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, `billing/line_item_groups/propose_line_item/v1/${encodeURIComponent(lineItemGroupId)}`),
|
|
954
958
|
method: "POST",
|
|
955
959
|
headers: _headers,
|
|
956
960
|
contentType: "application/json",
|
|
@@ -984,7 +988,7 @@ class LineItemGroups {
|
|
|
984
988
|
rawResponse: _response.rawResponse,
|
|
985
989
|
});
|
|
986
990
|
case "timeout":
|
|
987
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /billing/line_item_groups/
|
|
991
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /billing/line_item_groups/propose_line_item/v1/{line_item_group_id}.");
|
|
988
992
|
case "unknown":
|
|
989
993
|
throw new errors.ChrtError({
|
|
990
994
|
message: _response.error.errorMessage,
|
|
@@ -994,27 +998,30 @@ class LineItemGroups {
|
|
|
994
998
|
});
|
|
995
999
|
}
|
|
996
1000
|
/**
|
|
997
|
-
*
|
|
1001
|
+
* Prices a single driver's combined trip across several task groups once. Recomputes route mileage from the ordered task locations (plus optional start/end legs), applies the CHRT-ground rate sheet, and atomically creates an OrderGroup-anchored LineItemGroup, its mileage LineItems, and the LineItemCalculation that records how the charges were derived. The LIG is detached on create (task_group_id is None) — attach to a Statement afterwards. | authz: allowed_org_types=[provider], min_org_role=operator | (SharedTaskGroupMileageCreateForProviderPayDriverClientReq) -> (LineItemGroup1)
|
|
998
1002
|
*
|
|
999
|
-
* @param {Chrt.
|
|
1003
|
+
* @param {Chrt.billing.SharedTaskGroupMileageCreateForProviderPayDriverClientReq} request
|
|
1000
1004
|
* @param {LineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
1001
1005
|
*
|
|
1002
1006
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
1003
1007
|
*
|
|
1004
1008
|
* @example
|
|
1005
|
-
* await client.billing.lineItemGroups.
|
|
1006
|
-
*
|
|
1009
|
+
* await client.billing.lineItemGroups.sharedTaskGroupMileageCreateV1({
|
|
1010
|
+
* order_group_id: "order_group_id",
|
|
1011
|
+
* payment_destination_driver_id: "payment_destination_driver_id",
|
|
1012
|
+
* rate_sheet_id: "rate_sheet_id",
|
|
1013
|
+
* task_ids: ["task_ids"]
|
|
1007
1014
|
* })
|
|
1008
1015
|
*/
|
|
1009
|
-
|
|
1010
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
1016
|
+
sharedTaskGroupMileageCreateV1(request, requestOptions) {
|
|
1017
|
+
return core.HttpResponsePromise.fromPromise(this.__sharedTaskGroupMileageCreateV1(request, requestOptions));
|
|
1011
1018
|
}
|
|
1012
|
-
|
|
1019
|
+
__sharedTaskGroupMileageCreateV1(request, requestOptions) {
|
|
1013
1020
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1014
1021
|
var _a, _b, _c, _d;
|
|
1015
1022
|
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);
|
|
1016
1023
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1017
|
-
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, "billing/line_item_groups/
|
|
1024
|
+
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, "billing/line_item_groups/shared_task_group_mileage/create/v1"),
|
|
1018
1025
|
method: "POST",
|
|
1019
1026
|
headers: _headers,
|
|
1020
1027
|
contentType: "application/json",
|
|
@@ -1048,7 +1055,7 @@ class LineItemGroups {
|
|
|
1048
1055
|
rawResponse: _response.rawResponse,
|
|
1049
1056
|
});
|
|
1050
1057
|
case "timeout":
|
|
1051
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /billing/line_item_groups/
|
|
1058
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /billing/line_item_groups/shared_task_group_mileage/create/v1.");
|
|
1052
1059
|
case "unknown":
|
|
1053
1060
|
throw new errors.ChrtError({
|
|
1054
1061
|
message: _response.error.errorMessage,
|
|
@@ -1058,30 +1065,29 @@ class LineItemGroups {
|
|
|
1058
1065
|
});
|
|
1059
1066
|
}
|
|
1060
1067
|
/**
|
|
1061
|
-
* Prices a single
|
|
1068
|
+
* Prices a single agent's combined trip across several task groups once, on the provider_pay_provider vector — a coordinator paying the executor (commonly an off-chrt agent) that ran the route. Recomputes route mileage from the ordered task locations (plus optional start/end legs), applies the CHRT-ground rate sheet, and atomically creates an OrderGroup-anchored LineItemGroup, its mileage LineItems, and the LineItemCalculation that records how the charges were derived. The LIG is detached on create (task_group_id is None) — attach to a Statement afterwards. | authz: allowed_org_types=[provider], min_org_role=operator | (SharedTaskGroupMileageCreateForProviderPayProviderClientReq) -> (LineItemGroup1)
|
|
1062
1069
|
*
|
|
1063
|
-
* @param {Chrt.billing.
|
|
1070
|
+
* @param {Chrt.billing.SharedTaskGroupMileageCreateForProviderPayProviderClientReq} request
|
|
1064
1071
|
* @param {LineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
1065
1072
|
*
|
|
1066
1073
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
1067
1074
|
*
|
|
1068
1075
|
* @example
|
|
1069
|
-
* await client.billing.lineItemGroups.
|
|
1076
|
+
* await client.billing.lineItemGroups.sharedTaskGroupMileageCreateForProviderPayProviderV1({
|
|
1070
1077
|
* order_group_id: "order_group_id",
|
|
1071
1078
|
* rate_sheet_id: "rate_sheet_id",
|
|
1072
|
-
* payment_destination_driver_id: "payment_destination_driver_id",
|
|
1073
1079
|
* task_ids: ["task_ids"]
|
|
1074
1080
|
* })
|
|
1075
1081
|
*/
|
|
1076
|
-
|
|
1077
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
1082
|
+
sharedTaskGroupMileageCreateForProviderPayProviderV1(request, requestOptions) {
|
|
1083
|
+
return core.HttpResponsePromise.fromPromise(this.__sharedTaskGroupMileageCreateForProviderPayProviderV1(request, requestOptions));
|
|
1078
1084
|
}
|
|
1079
|
-
|
|
1085
|
+
__sharedTaskGroupMileageCreateForProviderPayProviderV1(request, requestOptions) {
|
|
1080
1086
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1081
1087
|
var _a, _b, _c, _d;
|
|
1082
1088
|
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);
|
|
1083
1089
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1084
|
-
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, "billing/line_item_groups/shared_task_group_mileage/
|
|
1090
|
+
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, "billing/line_item_groups/shared_task_group_mileage/create_for_provider_pay_provider/v1"),
|
|
1085
1091
|
method: "POST",
|
|
1086
1092
|
headers: _headers,
|
|
1087
1093
|
contentType: "application/json",
|
|
@@ -1115,7 +1121,7 @@ class LineItemGroups {
|
|
|
1115
1121
|
rawResponse: _response.rawResponse,
|
|
1116
1122
|
});
|
|
1117
1123
|
case "timeout":
|
|
1118
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /billing/line_item_groups/shared_task_group_mileage/
|
|
1124
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /billing/line_item_groups/shared_task_group_mileage/create_for_provider_pay_provider/v1.");
|
|
1119
1125
|
case "unknown":
|
|
1120
1126
|
throw new errors.ChrtError({
|
|
1121
1127
|
message: _response.error.errorMessage,
|
|
@@ -1125,35 +1131,29 @@ class LineItemGroups {
|
|
|
1125
1131
|
});
|
|
1126
1132
|
}
|
|
1127
1133
|
/**
|
|
1128
|
-
*
|
|
1134
|
+
* Counterparty pulls back their own pending LineItem on a non-FINALIZED LineItemGroup. Only the proposing org can withdraw; the LineItem doc is deleted (no breadcrumb). | authz_personas=[lig_org_operators] | () -> (LineItemGroup1)
|
|
1129
1135
|
*
|
|
1130
|
-
* @param {
|
|
1136
|
+
* @param {string} lineItemGroupId
|
|
1137
|
+
* @param {string} lineItemId
|
|
1131
1138
|
* @param {LineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
1132
1139
|
*
|
|
1133
1140
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
1134
1141
|
*
|
|
1135
1142
|
* @example
|
|
1136
|
-
* await client.billing.lineItemGroups.
|
|
1137
|
-
* order_group_id: "order_group_id",
|
|
1138
|
-
* rate_sheet_id: "rate_sheet_id",
|
|
1139
|
-
* task_ids: ["task_ids"]
|
|
1140
|
-
* })
|
|
1143
|
+
* await client.billing.lineItemGroups.withdrawLineItemV1("line_item_group_id", "line_item_id")
|
|
1141
1144
|
*/
|
|
1142
|
-
|
|
1143
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
1145
|
+
withdrawLineItemV1(lineItemGroupId, lineItemId, requestOptions) {
|
|
1146
|
+
return core.HttpResponsePromise.fromPromise(this.__withdrawLineItemV1(lineItemGroupId, lineItemId, requestOptions));
|
|
1144
1147
|
}
|
|
1145
|
-
|
|
1148
|
+
__withdrawLineItemV1(lineItemGroupId, lineItemId, requestOptions) {
|
|
1146
1149
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1147
1150
|
var _a, _b, _c, _d;
|
|
1148
1151
|
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);
|
|
1149
1152
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1150
|
-
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,
|
|
1151
|
-
method: "
|
|
1153
|
+
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, `billing/line_item_groups/withdraw_line_item/v1/${encodeURIComponent(lineItemGroupId)}/${encodeURIComponent(lineItemId)}`),
|
|
1154
|
+
method: "DELETE",
|
|
1152
1155
|
headers: _headers,
|
|
1153
|
-
contentType: "application/json",
|
|
1154
1156
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
1155
|
-
requestType: "json",
|
|
1156
|
-
body: request,
|
|
1157
1157
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
1158
1158
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
1159
1159
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -1181,7 +1181,7 @@ class LineItemGroups {
|
|
|
1181
1181
|
rawResponse: _response.rawResponse,
|
|
1182
1182
|
});
|
|
1183
1183
|
case "timeout":
|
|
1184
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling
|
|
1184
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling DELETE /billing/line_item_groups/withdraw_line_item/v1/{line_item_group_id}/{line_item_id}.");
|
|
1185
1185
|
case "unknown":
|
|
1186
1186
|
throw new errors.ChrtError({
|
|
1187
1187
|
message: _response.error.errorMessage,
|