@chrt-inc/typescript-sdk 1.625.0 → 1.625.1
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 +1 -1
- package/dist/cjs/Client.d.ts +6 -0
- package/dist/cjs/Client.js +22 -12
- package/dist/cjs/api/resources/billing/client/Client.d.ts +18 -3
- package/dist/cjs/api/resources/billing/client/Client.js +36 -11
- package/dist/cjs/api/resources/billing/resources/billingLedgerPeriods/client/Client.d.ts +116 -0
- package/dist/cjs/api/resources/billing/resources/billingLedgerPeriods/client/Client.js +426 -0
- package/dist/cjs/api/resources/billing/resources/billingLedgerPeriods/client/requests/BillingLedgerPeriodClientUpdate1.d.ts +14 -0
- package/dist/cjs/api/resources/billing/resources/billingLedgerPeriods/client/requests/BillingLedgerPeriodsListV1Request.d.ts +42 -0
- package/dist/cjs/api/resources/billing/resources/billingLedgerPeriods/client/requests/OpenPeriodReq.d.ts +17 -0
- package/dist/cjs/api/resources/billing/resources/billingLedgerPeriods/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/billing/resources/billingLedgers/client/Client.d.ts +111 -0
- package/dist/cjs/api/resources/billing/resources/billingLedgers/client/Client.js +412 -0
- package/dist/cjs/api/resources/billing/resources/billingLedgers/client/requests/BillingLedgerClientCreate1.d.ts +22 -0
- package/dist/cjs/api/resources/billing/resources/billingLedgers/client/requests/BillingLedgerClientUpdate1.d.ts +11 -0
- package/dist/cjs/api/resources/billing/resources/billingLedgers/client/requests/BillingLedgersListV1Request.d.ts +33 -0
- package/dist/cjs/api/resources/billing/resources/billingLedgers/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/billing/resources/cargoOnFlightRateSheets/client/Client.d.ts +132 -0
- package/dist/cjs/api/resources/billing/resources/cargoOnFlightRateSheets/client/Client.js +505 -0
- package/dist/cjs/api/resources/billing/resources/cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetClientCreate1.d.ts +19 -0
- package/dist/cjs/api/resources/billing/resources/cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetClientUpdate1.d.ts +21 -0
- package/dist/cjs/api/resources/billing/resources/cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetsListV1Request.d.ts +16 -0
- package/dist/cjs/api/resources/billing/resources/cargoOnFlightRateSheets/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/billing/resources/chrtGroundProviderRateSheets/client/Client.d.ts +132 -0
- package/dist/cjs/api/resources/billing/resources/chrtGroundProviderRateSheets/client/Client.js +508 -0
- package/dist/cjs/api/resources/billing/resources/chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetClientCreate1.d.ts +35 -0
- package/dist/cjs/api/resources/billing/resources/chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetClientUpdate1.d.ts +46 -0
- package/dist/cjs/api/resources/billing/resources/chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetsListV1Request.d.ts +16 -0
- package/dist/cjs/api/resources/billing/resources/chrtGroundProviderRateSheets/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/billing/resources/index.d.ts +12 -2
- package/dist/cjs/api/resources/billing/resources/index.js +13 -3
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/Client.d.ts +152 -45
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/Client.js +548 -94
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupAdHocCreateClientReq.d.ts +22 -0
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupsListV1Request.d.ts +54 -0
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/index.d.ts +2 -4
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/index.d.ts +0 -2
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/index.js +1 -3
- package/dist/cjs/api/resources/billing/resources/onboardCourierRateSheets/client/Client.d.ts +132 -0
- package/dist/cjs/api/resources/billing/resources/onboardCourierRateSheets/client/Client.js +505 -0
- package/dist/cjs/api/resources/billing/resources/onboardCourierRateSheets/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/billing/resources/onboardCourierRateSheets/client/index.js +17 -0
- package/dist/cjs/api/resources/billing/resources/onboardCourierRateSheets/client/requests/OnboardCourierRateSheetClientCreate1.d.ts +16 -0
- package/dist/cjs/api/resources/billing/resources/onboardCourierRateSheets/client/requests/OnboardCourierRateSheetClientUpdate1.d.ts +15 -0
- package/dist/cjs/api/resources/billing/resources/onboardCourierRateSheets/client/requests/OnboardCourierRateSheetsListV1Request.d.ts +16 -0
- package/dist/cjs/api/resources/billing/resources/onboardCourierRateSheets/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/billing/resources/onboardCourierRateSheets/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/billing/resources/onboardCourierRateSheets/index.d.ts +1 -0
- package/dist/cjs/api/resources/billing/resources/onboardCourierRateSheets/index.js +17 -0
- package/dist/cjs/api/resources/billing/resources/rateSheetMappings/client/Client.d.ts +136 -0
- package/dist/cjs/api/resources/billing/resources/rateSheetMappings/client/Client.js +503 -0
- package/dist/cjs/api/resources/billing/resources/rateSheetMappings/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/billing/resources/rateSheetMappings/client/index.js +17 -0
- package/dist/cjs/api/resources/billing/resources/rateSheetMappings/client/requests/RateSheetMappingClientCreate1.d.ts +20 -0
- package/dist/cjs/api/resources/billing/resources/rateSheetMappings/client/requests/RateSheetMappingsListV1Request.d.ts +14 -0
- package/dist/cjs/api/resources/billing/resources/rateSheetMappings/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/billing/resources/rateSheetMappings/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/billing/resources/rateSheetMappings/index.d.ts +1 -0
- package/dist/cjs/api/resources/billing/resources/rateSheetMappings/index.js +17 -0
- package/dist/cjs/api/resources/billing/resources/statements/client/Client.d.ts +106 -27
- package/dist/cjs/api/resources/billing/resources/statements/client/Client.js +398 -49
- package/dist/cjs/api/resources/billing/resources/statements/client/requests/StatementCreateClientReq.d.ts +20 -0
- package/dist/cjs/api/resources/billing/resources/statements/client/requests/StatementUpdateSettlementTypeReq.d.ts +13 -0
- package/dist/cjs/api/resources/billing/resources/statements/client/requests/StatementsExpandedListV1Request.d.ts +1 -0
- package/dist/cjs/api/resources/billing/resources/statements/client/requests/StatementsListV1Request.d.ts +1 -0
- package/dist/cjs/api/resources/billing/resources/statements/client/requests/index.d.ts +2 -4
- package/dist/cjs/api/resources/index.d.ts +2 -0
- package/dist/cjs/api/resources/index.js +3 -1
- package/dist/cjs/api/resources/listing/client/Client.d.ts +32 -0
- package/dist/cjs/api/resources/listing/client/Client.js +32 -0
- package/dist/cjs/api/resources/listing/client/index.js +2 -0
- package/dist/cjs/api/resources/listing/index.d.ts +2 -0
- package/dist/cjs/api/resources/listing/index.js +18 -0
- package/dist/cjs/api/resources/listing/resources/bidThreads/client/Client.d.ts +185 -0
- package/dist/cjs/api/resources/listing/resources/bidThreads/client/Client.js +734 -0
- package/dist/cjs/api/resources/listing/resources/bidThreads/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/listing/resources/bidThreads/client/index.js +17 -0
- package/dist/cjs/api/resources/listing/resources/bidThreads/client/requests/BidThreadClientCreate1.d.ts +18 -0
- package/dist/cjs/api/resources/listing/resources/bidThreads/client/requests/BidThreadsListForBidderV1Request.d.ts +45 -0
- package/dist/cjs/api/resources/listing/resources/bidThreads/client/requests/BidThreadsListForListingV1Request.d.ts +45 -0
- package/dist/cjs/api/resources/listing/resources/bidThreads/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/listing/resources/bidThreads/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/listing/resources/bidThreads/index.d.ts +1 -0
- package/dist/cjs/api/resources/listing/resources/bidThreads/index.js +17 -0
- package/dist/cjs/api/resources/listing/resources/driverBiddingGroups/client/Client.d.ts +144 -0
- package/dist/cjs/api/resources/listing/resources/driverBiddingGroups/client/Client.js +538 -0
- package/dist/cjs/api/resources/listing/resources/driverBiddingGroups/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/listing/resources/driverBiddingGroups/client/index.js +17 -0
- package/dist/cjs/api/resources/listing/resources/driverBiddingGroups/client/requests/DriverBiddingGroupClientCreate1.d.ts +14 -0
- package/dist/cjs/api/resources/listing/resources/driverBiddingGroups/client/requests/DriverBiddingGroupsListByOrgV1Request.d.ts +39 -0
- package/dist/cjs/api/resources/listing/resources/driverBiddingGroups/client/requests/DriverBiddingGroupsUpdateNameV1Request.d.ts +12 -0
- package/dist/cjs/api/resources/listing/resources/driverBiddingGroups/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/listing/resources/driverBiddingGroups/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/listing/resources/driverBiddingGroups/index.d.ts +1 -0
- package/dist/cjs/api/resources/listing/resources/driverBiddingGroups/index.js +17 -0
- package/dist/cjs/api/resources/listing/resources/index.d.ts +8 -0
- package/dist/cjs/api/resources/listing/resources/index.js +47 -0
- package/dist/cjs/api/resources/listing/resources/listings/client/Client.d.ts +259 -0
- package/dist/cjs/api/resources/listing/resources/listings/client/Client.js +1074 -0
- package/dist/cjs/api/resources/listing/resources/listings/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/listing/resources/listings/client/index.js +17 -0
- package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingAddDriverParticipantsReq.d.ts +11 -0
- package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingAddProviderParticipantsReq.d.ts +11 -0
- package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingClientCreate1.d.ts +30 -0
- package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingClientUpdate1.d.ts +17 -0
- package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingRemoveDriverParticipantsReq.d.ts +10 -0
- package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingRemoveProviderParticipantsReq.d.ts +10 -0
- package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingsListByOrgV1Request.d.ts +54 -0
- package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingsListForDriverBidderV1Request.d.ts +51 -0
- package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingsListForProviderBidderV1Request.d.ts +51 -0
- package/dist/cjs/api/resources/listing/resources/listings/client/requests/index.d.ts +9 -0
- package/dist/cjs/api/resources/listing/resources/listings/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/listing/resources/listings/index.d.ts +1 -0
- package/dist/cjs/api/resources/listing/resources/listings/index.js +17 -0
- package/dist/cjs/api/resources/listing/resources/orgBiddingGroups/client/Client.d.ts +144 -0
- package/dist/cjs/api/resources/listing/resources/orgBiddingGroups/client/Client.js +538 -0
- package/dist/cjs/api/resources/listing/resources/orgBiddingGroups/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/listing/resources/orgBiddingGroups/client/index.js +17 -0
- package/dist/cjs/api/resources/listing/resources/orgBiddingGroups/client/requests/OrgBiddingGroupClientCreate1.d.ts +14 -0
- package/dist/cjs/api/resources/listing/resources/orgBiddingGroups/client/requests/OrgBiddingGroupsListByOrgV1Request.d.ts +39 -0
- package/dist/cjs/api/resources/listing/resources/orgBiddingGroups/client/requests/OrgBiddingGroupsUpdateNameV1Request.d.ts +12 -0
- package/dist/cjs/api/resources/listing/resources/orgBiddingGroups/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/listing/resources/orgBiddingGroups/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/listing/resources/orgBiddingGroups/index.d.ts +1 -0
- package/dist/cjs/api/resources/listing/resources/orgBiddingGroups/index.js +17 -0
- package/dist/cjs/api/resources/operations/client/Client.d.ts +26 -0
- package/dist/cjs/api/resources/operations/client/Client.js +22 -0
- package/dist/cjs/api/resources/operations/client/index.js +2 -0
- package/dist/cjs/api/resources/operations/index.d.ts +2 -0
- package/dist/cjs/api/resources/operations/index.js +18 -0
- package/dist/cjs/api/resources/operations/resources/cases/client/Client.d.ts +145 -0
- package/dist/cjs/api/resources/operations/resources/cases/client/Client.js +552 -0
- package/dist/cjs/api/resources/operations/resources/cases/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/operations/resources/cases/client/index.js +17 -0
- package/dist/cjs/api/resources/operations/resources/cases/client/requests/CaseAddMessageReq.d.ts +12 -0
- package/dist/cjs/api/resources/operations/resources/cases/client/requests/CaseAssignReq.d.ts +12 -0
- package/dist/cjs/api/resources/operations/resources/cases/client/requests/CaseClientUpdate1.d.ts +11 -0
- package/dist/cjs/api/resources/operations/resources/cases/client/requests/CaseUnassignReq.d.ts +12 -0
- package/dist/cjs/api/resources/operations/resources/cases/client/requests/CasesListV1Request.d.ts +36 -0
- package/dist/cjs/api/resources/operations/resources/cases/client/requests/index.d.ts +5 -0
- package/dist/cjs/api/resources/operations/resources/cases/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/operations/resources/cases/index.d.ts +1 -0
- package/dist/cjs/api/resources/operations/resources/cases/index.js +17 -0
- package/dist/cjs/api/resources/operations/resources/departments/client/Client.d.ts +138 -0
- package/dist/cjs/api/resources/operations/resources/departments/client/Client.js +522 -0
- package/dist/cjs/api/resources/operations/resources/departments/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/operations/resources/departments/client/index.js +17 -0
- package/dist/cjs/api/resources/operations/resources/departments/client/requests/DepartmentClientCreate1.d.ts +19 -0
- package/dist/cjs/api/resources/operations/resources/departments/client/requests/DepartmentClientUpdate1.d.ts +13 -0
- package/dist/cjs/api/resources/operations/resources/departments/client/requests/DepartmentsListV1Request.d.ts +24 -0
- package/dist/cjs/api/resources/operations/resources/departments/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/operations/resources/departments/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/operations/resources/departments/index.d.ts +1 -0
- package/dist/cjs/api/resources/operations/resources/departments/index.js +17 -0
- package/dist/cjs/api/resources/operations/resources/index.d.ts +4 -0
- package/dist/cjs/api/resources/operations/resources/index.js +43 -0
- package/dist/cjs/api/resources/orgs/client/Client.d.ts +5 -1
- package/dist/cjs/api/resources/orgs/client/Client.js +17 -11
- package/dist/cjs/api/resources/orgs/client/requests/OrgsListMembersV1Request.d.ts +1 -0
- package/dist/cjs/api/resources/orgs/client/requests/SetOrgTypeReq.d.ts +1 -1
- package/dist/cjs/api/resources/orgs/resources/connections/client/Client.d.ts +33 -35
- package/dist/cjs/api/resources/orgs/resources/connections/client/Client.js +70 -80
- package/dist/cjs/api/resources/orgs/resources/connections/client/requests/ConnectionsListProvidersV1Request.d.ts +17 -0
- package/dist/cjs/api/resources/orgs/resources/connections/client/requests/ProviderProviderUpdateAutoAssignReq.d.ts +12 -0
- package/dist/cjs/api/resources/orgs/resources/connections/client/requests/SetDepartmentReq.d.ts +10 -0
- package/dist/cjs/api/resources/orgs/resources/connections/client/requests/index.d.ts +3 -2
- package/dist/cjs/api/resources/orgs/resources/connections/types/ConnectionsGetByHandleV1Response.d.ts +1 -1
- package/dist/cjs/api/resources/orgs/resources/index.d.ts +2 -0
- package/dist/cjs/api/resources/orgs/resources/index.js +3 -1
- package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/Client.d.ts +106 -0
- package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/Client.js +384 -0
- package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/index.js +17 -0
- package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientCreate1.d.ts +26 -0
- package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientUpdate1.d.ts +31 -0
- package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientUpdate1.js +5 -0
- package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgListV1Request.d.ts +14 -0
- package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgListV1Request.js +5 -0
- package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/index.d.ts +1 -0
- package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/index.js +17 -0
- package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientCreate1.d.ts +1 -2
- package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientUpdate1.d.ts +2 -0
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/client/Client.d.ts +3 -6
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/client/Client.js +3 -8
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/index.d.ts +2 -4
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/index.js +3 -5
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/Client.d.ts +83 -0
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/Client.js +300 -0
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/index.js +17 -0
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientCreate1.d.ts +24 -0
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientCreate1.js +5 -0
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientUpdate1.d.ts +29 -0
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientUpdate1.js +5 -0
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/index.d.ts +1 -0
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/index.js +17 -0
- package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/Client.d.ts +14 -45
- package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/Client.js +18 -147
- package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientCreate1.d.ts +19 -0
- package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientCreate1.js +5 -0
- package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientUpdate1.d.ts +12 -0
- package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientUpdate1.js +5 -0
- package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/requests/index.d.ts +2 -4
- package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.d.ts +21 -4
- package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.js +70 -4
- package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriverUpdateAutoAssignReq.d.ts +12 -0
- package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriverUpdateAutoAssignReq.js +5 -0
- package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriversListOrgMembersAndDriversV1Request.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/Client.js +1 -1
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/requests/OrdersDraftUpdateReq.d.ts +2 -2
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/requests/OrdersNewDraftReq.d.ts +1 -1
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.js +7 -7
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/expanded/client/requests/ExpandedListV1Request.d.ts +4 -4
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/Client.d.ts +2 -47
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/Client.js +2 -191
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/OrderDraftAddTaskGroupReq.d.ts +1 -4
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/index.d.ts +0 -2
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.ts +15 -13
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.js +29 -27
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.d.ts +59 -0
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.js +5 -0
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.ts +5 -4
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/shipping/resources/taskGroups/client/Client.d.ts +228 -15
- package/dist/cjs/api/resources/shipping/resources/taskGroups/client/Client.js +952 -22
- package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/AddExecutorReq.d.ts +13 -0
- package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/AddExecutorReq.js +5 -0
- package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.ts +27 -25
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.js +48 -46
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverForExecutorV1Request.d.ts +59 -0
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverForExecutorV1Request.js +5 -0
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.ts +61 -0
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.js +5 -0
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/index.d.ts +2 -2
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/s3Object/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/s3Object/client/Client.js +2 -2
- 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/tracking/resources/sharingSettings/client/Client.d.ts +3 -3
- package/dist/cjs/api/resources/tracking/resources/sharingSettings/client/Client.js +3 -3
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/Client.js +2 -2
- package/dist/cjs/api/types/AttachBillingLedgerPeriodReq.d.ts +6 -0
- package/dist/cjs/api/types/AttachBillingLedgerPeriodReq.js +5 -0
- package/dist/cjs/api/types/AttachLigToVectorClientReq.d.ts +6 -0
- package/dist/cjs/api/types/AttachLigToVectorClientReq.js +5 -0
- package/dist/cjs/api/types/Bid.d.ts +16 -0
- package/dist/cjs/api/types/Bid.js +5 -0
- package/dist/cjs/api/types/BidActionEnum.d.ts +11 -0
- package/dist/cjs/api/types/BidActionEnum.js +13 -0
- package/dist/cjs/api/types/BidAppendReq.d.ts +13 -0
- package/dist/cjs/api/types/BidAppendReq.js +5 -0
- package/dist/cjs/api/types/BidThread1.d.ts +17 -0
- package/dist/cjs/api/types/BidThread1.js +5 -0
- package/dist/cjs/api/types/BidThreadListRes.d.ts +8 -0
- package/dist/cjs/api/types/BidThreadListRes.js +5 -0
- package/dist/cjs/api/types/BidThreadSortByEnum.d.ts +8 -0
- package/dist/cjs/api/types/BidThreadSortByEnum.js +10 -0
- package/dist/cjs/api/types/BidThreadStatusEnum.d.ts +10 -0
- package/dist/cjs/api/types/BidThreadStatusEnum.js +12 -0
- package/dist/cjs/api/types/BillingCycleEnum.d.ts +11 -0
- package/dist/cjs/api/types/BillingCycleEnum.js +13 -0
- package/dist/cjs/api/types/BillingLedger1.d.ts +26 -0
- package/dist/cjs/api/types/BillingLedger1.js +5 -0
- package/dist/cjs/api/types/BillingLedgerListRes.d.ts +8 -0
- package/dist/cjs/api/types/BillingLedgerListRes.js +5 -0
- package/dist/cjs/api/types/BillingLedgerPeriod1.d.ts +35 -0
- package/dist/cjs/api/types/BillingLedgerPeriod1.js +5 -0
- package/dist/cjs/api/types/BillingLedgerPeriodListRes.d.ts +8 -0
- package/dist/cjs/api/types/BillingLedgerPeriodListRes.js +5 -0
- package/dist/cjs/api/types/BillingLedgerPeriodSortByEnum.d.ts +9 -0
- package/dist/cjs/api/types/BillingLedgerPeriodSortByEnum.js +11 -0
- package/dist/cjs/api/types/BillingLedgerPeriodStatusEnum.d.ts +8 -0
- package/dist/cjs/api/types/BillingLedgerPeriodStatusEnum.js +10 -0
- package/dist/cjs/api/types/BillingLedgerSortByEnum.d.ts +4 -0
- package/dist/cjs/api/types/BillingLedgerSortByEnum.js +5 -0
- package/dist/cjs/api/types/BillingLedgerStatusEnum.d.ts +8 -0
- package/dist/cjs/api/types/BillingLedgerStatusEnum.js +10 -0
- package/dist/cjs/api/types/CargoOnFlightRateSheet1.d.ts +16 -0
- package/dist/cjs/api/types/CargoOnFlightRateSheet1.js +5 -0
- package/dist/cjs/api/types/CargoOnFlightRateSheetListRes.d.ts +8 -0
- package/dist/cjs/api/types/CargoOnFlightRateSheetListRes.js +5 -0
- package/dist/cjs/api/types/CargoOnFlightTaskActionEnum1.d.ts +13 -0
- package/dist/cjs/api/types/CargoOnFlightTaskActionEnum1.js +15 -0
- package/dist/cjs/api/types/Case1.d.ts +19 -0
- package/dist/cjs/api/types/Case1.js +5 -0
- package/dist/cjs/api/types/CaseListRes.d.ts +8 -0
- package/dist/cjs/api/types/CaseListRes.js +5 -0
- package/dist/cjs/api/types/CaseMessage1.d.ts +11 -0
- package/dist/cjs/api/types/CaseMessage1.js +5 -0
- package/dist/cjs/api/types/CaseSortByEnum.d.ts +9 -0
- package/dist/cjs/api/types/CaseSortByEnum.js +11 -0
- package/dist/cjs/api/types/CaseStatusEnum.d.ts +9 -0
- package/dist/cjs/api/types/CaseStatusEnum.js +11 -0
- package/dist/cjs/api/types/ChrtGroundProviderRateSheet1.d.ts +32 -0
- package/dist/cjs/api/types/ChrtGroundProviderRateSheet1.js +5 -0
- package/dist/cjs/api/types/ChrtGroundProviderRateSheetListRes.d.ts +8 -0
- package/dist/cjs/api/types/ChrtGroundProviderRateSheetListRes.js +5 -0
- package/dist/cjs/api/types/ChrtGroundProviderTaskActionEnum1.d.ts +13 -0
- package/dist/cjs/api/types/ChrtGroundProviderTaskActionEnum1.js +15 -0
- package/dist/cjs/api/types/CreateLigFromRateSheetForVectorClientReq.d.ts +7 -0
- package/dist/cjs/api/types/CreateLigFromRateSheetForVectorClientReq.js +5 -0
- package/dist/cjs/api/types/Department1.d.ts +17 -0
- package/dist/cjs/api/types/Department1.js +5 -0
- package/dist/cjs/api/types/DepartmentEnum.d.ts +18 -0
- package/dist/cjs/api/types/DepartmentEnum.js +20 -0
- package/dist/cjs/api/types/DepartmentListRes.d.ts +8 -0
- package/dist/cjs/api/types/DepartmentListRes.js +5 -0
- package/dist/cjs/api/types/DepartmentSortByEnum.d.ts +8 -0
- package/dist/cjs/api/types/DepartmentSortByEnum.js +10 -0
- package/dist/cjs/api/types/Driver1.d.ts +1 -2
- package/dist/cjs/api/types/DriverBiddingGroup1.d.ts +15 -0
- package/dist/cjs/api/types/DriverBiddingGroup1.js +5 -0
- package/dist/cjs/api/types/DriverBiddingGroupListRes.d.ts +8 -0
- package/dist/cjs/api/types/DriverBiddingGroupListRes.js +5 -0
- package/dist/cjs/api/types/DriverBiddingGroupSortByEnum.d.ts +9 -0
- package/dist/cjs/api/types/DriverBiddingGroupSortByEnum.js +11 -0
- package/dist/cjs/api/types/LineItem1.d.ts +19 -5
- package/dist/cjs/api/types/LineItemClientCreate1.d.ts +14 -0
- package/dist/cjs/api/types/LineItemClientCreate1.js +5 -0
- package/dist/cjs/api/types/LineItemEnum1.d.ts +19 -11
- package/dist/cjs/api/types/LineItemEnum1.js +12 -10
- package/dist/cjs/api/types/LineItemGroup1.d.ts +31 -4
- package/dist/cjs/api/types/LineItemGroupStatusEnum1.d.ts +20 -4
- package/dist/cjs/api/types/LineItemGroupStatusEnum1.js +0 -3
- package/dist/cjs/api/types/LineItemProvenanceEnum.d.ts +9 -0
- package/dist/cjs/api/types/LineItemProvenanceEnum.js +11 -0
- package/dist/cjs/api/types/LineItemStatusEnum.d.ts +9 -0
- package/dist/cjs/api/types/LineItemStatusEnum.js +11 -0
- package/dist/cjs/api/types/Listing1.d.ts +34 -0
- package/dist/cjs/api/types/Listing1.js +5 -0
- package/dist/cjs/api/types/ListingAudienceEnum.d.ts +8 -0
- package/dist/cjs/api/types/ListingAudienceEnum.js +10 -0
- package/dist/cjs/api/types/ListingForBidderListRes.d.ts +8 -0
- package/dist/cjs/api/types/ListingForBidderListRes.js +5 -0
- package/dist/cjs/api/types/ListingLimitedForBidder1.d.ts +41 -0
- package/dist/cjs/api/types/ListingLimitedForBidder1.js +5 -0
- package/dist/cjs/api/types/ListingListRes.d.ts +8 -0
- package/dist/cjs/api/types/ListingListRes.js +5 -0
- package/dist/cjs/api/types/ListingSortByEnum.d.ts +8 -0
- package/dist/cjs/api/types/ListingSortByEnum.js +10 -0
- package/dist/cjs/api/types/ListingStatusEnum.d.ts +9 -0
- package/dist/cjs/api/types/ListingStatusEnum.js +11 -0
- package/dist/cjs/api/types/ListingTypeEnum.d.ts +8 -0
- package/dist/cjs/api/types/ListingTypeEnum.js +10 -0
- package/dist/cjs/api/types/OffChrtProviderOrg1.d.ts +24 -0
- package/dist/cjs/api/types/OffChrtProviderOrg1.js +5 -0
- package/dist/cjs/api/types/OffChrtProviderOrgListRes.d.ts +8 -0
- package/dist/cjs/api/types/OffChrtProviderOrgListRes.js +5 -0
- package/dist/cjs/api/types/OffChrtShipperOrg1.d.ts +1 -2
- package/dist/cjs/api/types/OnboardCourierRateSheet1.d.ts +13 -0
- package/dist/cjs/api/types/OnboardCourierRateSheet1.js +5 -0
- package/dist/cjs/api/types/OnboardCourierRateSheetListRes.d.ts +8 -0
- package/dist/cjs/api/types/OnboardCourierRateSheetListRes.js +5 -0
- package/dist/cjs/api/types/Order1.d.ts +5 -5
- package/dist/cjs/api/types/OrderAndTaskGroupExpandedReq.d.ts +4 -4
- package/dist/cjs/api/types/OrderDraftExpanded.d.ts +2 -2
- package/dist/cjs/api/types/OrderExpanded.d.ts +2 -2
- package/dist/cjs/api/types/OrdersDraftUpdateRes.d.ts +1 -1
- package/dist/cjs/api/types/OrgBiddingGroup1.d.ts +15 -0
- package/dist/cjs/api/types/OrgBiddingGroup1.js +5 -0
- package/dist/cjs/api/types/OrgBiddingGroupListRes.d.ts +8 -0
- package/dist/cjs/api/types/OrgBiddingGroupListRes.js +5 -0
- package/dist/cjs/api/types/OrgBiddingGroupSortByEnum.d.ts +9 -0
- package/dist/cjs/api/types/OrgBiddingGroupSortByEnum.js +11 -0
- package/dist/cjs/api/types/OrgPrivateData1.d.ts +0 -8
- package/dist/cjs/api/types/OrgRoleEnum.d.ts +2 -2
- package/dist/cjs/api/types/OrgTypeEnum.d.ts +2 -3
- package/dist/cjs/api/types/OrgTypeEnum.js +1 -2
- package/dist/cjs/api/types/ProFormaLineItem1.d.ts +20 -0
- package/dist/cjs/api/types/ProFormaLineItem1.js +5 -0
- package/dist/cjs/api/types/ProviderConnectionListRes.d.ts +8 -0
- package/dist/cjs/api/types/ProviderConnectionListRes.js +5 -0
- package/dist/cjs/api/types/ProviderConnectionRes.d.ts +8 -0
- package/dist/cjs/api/types/ProviderConnectionRes.js +5 -0
- package/dist/cjs/api/types/ProviderOrgInfoForConnections1.d.ts +22 -0
- package/dist/cjs/api/types/ProviderOrgInfoForConnections1.js +5 -0
- package/dist/cjs/api/types/ProviderOrgProfile1.d.ts +13 -0
- package/dist/cjs/api/types/ProviderOrgProfile1.js +5 -0
- package/dist/cjs/api/types/ProviderProviderConnection1.d.ts +15 -0
- package/dist/cjs/api/types/ProviderProviderConnection1.js +5 -0
- package/dist/cjs/api/types/RateSheetMapping1.d.ts +17 -0
- package/dist/cjs/api/types/RateSheetMapping1.js +5 -0
- package/dist/cjs/api/types/RateSheetMappingListRes.d.ts +8 -0
- package/dist/cjs/api/types/RateSheetMappingListRes.js +5 -0
- package/dist/cjs/api/types/ShipperProviderConnection1.d.ts +14 -0
- package/dist/cjs/api/types/ShipperProviderConnection1.js +5 -0
- package/dist/cjs/api/types/ShippingTaskAddedWebhookPayload.d.ts +1 -1
- package/dist/cjs/api/types/ShippingTaskCompletedWebhookPayload.d.ts +2 -2
- package/dist/cjs/api/types/ShippingTaskDeletedWebhookPayload.d.ts +1 -1
- package/dist/cjs/api/types/ShippingTaskSkippedWebhookPayload.d.ts +1 -1
- package/dist/cjs/api/types/Statement1.d.ts +2 -1
- package/dist/cjs/api/types/Task1.d.ts +1 -1
- package/dist/cjs/api/types/TaskClientCreate1.d.ts +1 -1
- package/dist/cjs/api/types/TaskClientUpdate1.d.ts +1 -1
- package/dist/cjs/api/types/TaskGroup1.d.ts +19 -16
- package/dist/cjs/api/types/TaskGroupExpanded.d.ts +6 -6
- package/dist/cjs/api/types/TaskGroupQuoteClientReq.d.ts +6 -0
- package/dist/cjs/api/types/TaskGroupQuoteClientReq.js +5 -0
- package/dist/cjs/api/types/TaskGroupQuoteResp.d.ts +37 -0
- package/dist/cjs/api/types/TaskGroupQuoteResp.js +5 -0
- package/dist/cjs/api/types/TaskGroupTypeEnum1.d.ts +3 -3
- package/dist/cjs/api/types/TaskGroupTypeEnum1.js +2 -2
- package/dist/cjs/api/types/index.d.ts +66 -21
- package/dist/cjs/api/types/index.js +66 -21
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.d.mts +6 -0
- package/dist/esm/Client.mjs +12 -2
- package/dist/esm/api/resources/billing/client/Client.d.mts +18 -3
- package/dist/esm/api/resources/billing/client/Client.mjs +28 -3
- package/dist/esm/api/resources/billing/resources/billingLedgerPeriods/client/Client.d.mts +116 -0
- package/dist/esm/api/resources/billing/resources/billingLedgerPeriods/client/Client.mjs +389 -0
- package/dist/esm/api/resources/billing/resources/billingLedgerPeriods/client/requests/BillingLedgerPeriodClientUpdate1.d.mts +14 -0
- package/dist/esm/api/resources/billing/resources/billingLedgerPeriods/client/requests/BillingLedgerPeriodsListV1Request.d.mts +42 -0
- package/dist/esm/api/resources/billing/resources/billingLedgerPeriods/client/requests/OpenPeriodReq.d.mts +17 -0
- package/dist/esm/api/resources/billing/resources/billingLedgerPeriods/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/billing/resources/billingLedgers/client/Client.d.mts +111 -0
- package/dist/esm/api/resources/billing/resources/billingLedgers/client/Client.mjs +375 -0
- package/dist/esm/api/resources/billing/resources/billingLedgers/client/requests/BillingLedgerClientCreate1.d.mts +22 -0
- package/dist/esm/api/resources/billing/resources/billingLedgers/client/requests/BillingLedgerClientUpdate1.d.mts +11 -0
- package/dist/esm/api/resources/billing/resources/billingLedgers/client/requests/BillingLedgersListV1Request.d.mts +33 -0
- package/dist/esm/api/resources/billing/resources/billingLedgers/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/billing/resources/cargoOnFlightRateSheets/client/Client.d.mts +132 -0
- package/dist/esm/api/resources/billing/resources/cargoOnFlightRateSheets/client/Client.mjs +468 -0
- package/dist/esm/api/resources/billing/resources/cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetClientCreate1.d.mts +19 -0
- package/dist/esm/api/resources/billing/resources/cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetClientUpdate1.d.mts +21 -0
- package/dist/esm/api/resources/billing/resources/cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetsListV1Request.d.mts +16 -0
- package/dist/esm/api/resources/billing/resources/cargoOnFlightRateSheets/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/billing/resources/cargoOnFlightRateSheets/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/billing/resources/chrtGroundProviderRateSheets/client/Client.d.mts +132 -0
- package/dist/esm/api/resources/billing/resources/chrtGroundProviderRateSheets/client/Client.mjs +471 -0
- package/dist/esm/api/resources/billing/resources/chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetClientCreate1.d.mts +35 -0
- package/dist/esm/api/resources/billing/resources/chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetClientUpdate1.d.mts +46 -0
- package/dist/esm/api/resources/billing/resources/chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetsListV1Request.d.mts +16 -0
- package/dist/esm/api/resources/billing/resources/chrtGroundProviderRateSheets/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/billing/resources/chrtGroundProviderRateSheets/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/billing/resources/index.d.mts +12 -2
- package/dist/esm/api/resources/billing/resources/index.mjs +12 -2
- package/dist/esm/api/resources/billing/resources/lineItemGroups/client/Client.d.mts +152 -45
- package/dist/esm/api/resources/billing/resources/lineItemGroups/client/Client.mjs +544 -90
- package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupAdHocCreateClientReq.d.mts +22 -0
- package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupsListV1Request.d.mts +54 -0
- package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/index.d.mts +2 -4
- package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/index.d.mts +0 -2
- package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/index.mjs +0 -2
- package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/client/Client.d.mts +132 -0
- package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/client/Client.mjs +468 -0
- package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/client/index.d.mts +2 -0
- package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/client/index.mjs +1 -0
- package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/client/requests/OnboardCourierRateSheetClientCreate1.d.mts +16 -0
- package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/client/requests/OnboardCourierRateSheetClientUpdate1.d.mts +15 -0
- package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/client/requests/OnboardCourierRateSheetsListV1Request.d.mts +16 -0
- package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/index.d.mts +1 -0
- package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/index.mjs +1 -0
- package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/Client.d.mts +136 -0
- package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/Client.mjs +466 -0
- package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/index.d.mts +2 -0
- package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/index.mjs +1 -0
- package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/requests/RateSheetMappingClientCreate1.d.mts +20 -0
- package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/requests/RateSheetMappingsListV1Request.d.mts +14 -0
- package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/billing/resources/rateSheetMappings/index.d.mts +1 -0
- package/dist/esm/api/resources/billing/resources/rateSheetMappings/index.mjs +1 -0
- package/dist/esm/api/resources/billing/resources/statements/client/Client.d.mts +106 -27
- package/dist/esm/api/resources/billing/resources/statements/client/Client.mjs +398 -49
- package/dist/esm/api/resources/billing/resources/statements/client/requests/StatementCreateClientReq.d.mts +20 -0
- package/dist/esm/api/resources/billing/resources/statements/client/requests/StatementUpdateSettlementTypeReq.d.mts +13 -0
- package/dist/esm/api/resources/billing/resources/statements/client/requests/StatementsExpandedListV1Request.d.mts +1 -0
- package/dist/esm/api/resources/billing/resources/statements/client/requests/StatementsListV1Request.d.mts +1 -0
- package/dist/esm/api/resources/billing/resources/statements/client/requests/index.d.mts +2 -4
- package/dist/esm/api/resources/index.d.mts +2 -0
- package/dist/esm/api/resources/index.mjs +2 -0
- package/dist/esm/api/resources/listing/client/Client.d.mts +32 -0
- package/dist/esm/api/resources/listing/client/Client.mjs +28 -0
- package/dist/esm/api/resources/listing/client/index.d.mts +1 -0
- package/dist/esm/api/resources/listing/client/index.mjs +1 -0
- package/dist/esm/api/resources/listing/index.d.mts +2 -0
- package/dist/esm/api/resources/listing/index.mjs +2 -0
- package/dist/esm/api/resources/listing/resources/bidThreads/client/Client.d.mts +185 -0
- package/dist/esm/api/resources/listing/resources/bidThreads/client/Client.mjs +697 -0
- package/dist/esm/api/resources/listing/resources/bidThreads/client/index.d.mts +2 -0
- package/dist/esm/api/resources/listing/resources/bidThreads/client/index.mjs +1 -0
- package/dist/esm/api/resources/listing/resources/bidThreads/client/requests/BidThreadClientCreate1.d.mts +18 -0
- package/dist/esm/api/resources/listing/resources/bidThreads/client/requests/BidThreadsListForBidderV1Request.d.mts +45 -0
- package/dist/esm/api/resources/listing/resources/bidThreads/client/requests/BidThreadsListForListingV1Request.d.mts +45 -0
- package/dist/esm/api/resources/listing/resources/bidThreads/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/listing/resources/bidThreads/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/listing/resources/bidThreads/index.d.mts +1 -0
- package/dist/esm/api/resources/listing/resources/bidThreads/index.mjs +1 -0
- package/dist/esm/api/resources/listing/resources/driverBiddingGroups/client/Client.d.mts +144 -0
- package/dist/esm/api/resources/listing/resources/driverBiddingGroups/client/Client.mjs +501 -0
- package/dist/esm/api/resources/listing/resources/driverBiddingGroups/client/index.d.mts +2 -0
- package/dist/esm/api/resources/listing/resources/driverBiddingGroups/client/index.mjs +1 -0
- package/dist/esm/api/resources/listing/resources/driverBiddingGroups/client/requests/DriverBiddingGroupClientCreate1.d.mts +14 -0
- package/dist/esm/api/resources/listing/resources/driverBiddingGroups/client/requests/DriverBiddingGroupsListByOrgV1Request.d.mts +39 -0
- package/dist/esm/api/resources/listing/resources/driverBiddingGroups/client/requests/DriverBiddingGroupsUpdateNameV1Request.d.mts +12 -0
- package/dist/esm/api/resources/listing/resources/driverBiddingGroups/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/listing/resources/driverBiddingGroups/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/listing/resources/driverBiddingGroups/index.d.mts +1 -0
- package/dist/esm/api/resources/listing/resources/driverBiddingGroups/index.mjs +1 -0
- package/dist/esm/api/resources/listing/resources/index.d.mts +8 -0
- package/dist/esm/api/resources/listing/resources/index.mjs +8 -0
- package/dist/esm/api/resources/listing/resources/listings/client/Client.d.mts +259 -0
- package/dist/esm/api/resources/listing/resources/listings/client/Client.mjs +1037 -0
- package/dist/esm/api/resources/listing/resources/listings/client/index.d.mts +2 -0
- package/dist/esm/api/resources/listing/resources/listings/client/index.mjs +1 -0
- package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingAddDriverParticipantsReq.d.mts +11 -0
- package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingAddProviderParticipantsReq.d.mts +11 -0
- package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingClientCreate1.d.mts +30 -0
- package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingClientUpdate1.d.mts +17 -0
- package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingRemoveDriverParticipantsReq.d.mts +10 -0
- package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingRemoveProviderParticipantsReq.d.mts +10 -0
- package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingsListByOrgV1Request.d.mts +54 -0
- package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingsListForDriverBidderV1Request.d.mts +51 -0
- package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingsListForProviderBidderV1Request.d.mts +51 -0
- package/dist/esm/api/resources/listing/resources/listings/client/requests/index.d.mts +9 -0
- package/dist/esm/api/resources/listing/resources/listings/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/listing/resources/listings/index.d.mts +1 -0
- package/dist/esm/api/resources/listing/resources/listings/index.mjs +1 -0
- package/dist/esm/api/resources/listing/resources/orgBiddingGroups/client/Client.d.mts +144 -0
- package/dist/esm/api/resources/listing/resources/orgBiddingGroups/client/Client.mjs +501 -0
- package/dist/esm/api/resources/listing/resources/orgBiddingGroups/client/index.d.mts +2 -0
- package/dist/esm/api/resources/listing/resources/orgBiddingGroups/client/index.mjs +1 -0
- package/dist/esm/api/resources/listing/resources/orgBiddingGroups/client/requests/OrgBiddingGroupClientCreate1.d.mts +14 -0
- package/dist/esm/api/resources/listing/resources/orgBiddingGroups/client/requests/OrgBiddingGroupsListByOrgV1Request.d.mts +39 -0
- package/dist/esm/api/resources/listing/resources/orgBiddingGroups/client/requests/OrgBiddingGroupsUpdateNameV1Request.d.mts +12 -0
- package/dist/esm/api/resources/listing/resources/orgBiddingGroups/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/listing/resources/orgBiddingGroups/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/listing/resources/orgBiddingGroups/index.d.mts +1 -0
- package/dist/esm/api/resources/listing/resources/orgBiddingGroups/index.mjs +1 -0
- package/dist/esm/api/resources/operations/client/Client.d.mts +26 -0
- package/dist/esm/api/resources/operations/client/Client.mjs +18 -0
- package/dist/esm/api/resources/operations/client/index.d.mts +1 -0
- package/dist/esm/api/resources/operations/client/index.mjs +1 -0
- package/dist/esm/api/resources/operations/index.d.mts +2 -0
- package/dist/esm/api/resources/operations/index.mjs +2 -0
- package/dist/esm/api/resources/operations/resources/cases/client/Client.d.mts +145 -0
- package/dist/esm/api/resources/operations/resources/cases/client/Client.mjs +515 -0
- package/dist/esm/api/resources/operations/resources/cases/client/index.d.mts +2 -0
- package/dist/esm/api/resources/operations/resources/cases/client/index.mjs +1 -0
- package/dist/esm/api/resources/operations/resources/cases/client/requests/CaseAddMessageReq.d.mts +12 -0
- package/dist/esm/api/resources/operations/resources/cases/client/requests/CaseAssignReq.d.mts +12 -0
- package/dist/esm/api/resources/operations/resources/cases/client/requests/CaseClientUpdate1.d.mts +11 -0
- package/dist/esm/api/resources/operations/resources/cases/client/requests/CaseUnassignReq.d.mts +12 -0
- package/dist/esm/api/resources/operations/resources/cases/client/requests/CasesListV1Request.d.mts +36 -0
- package/dist/esm/api/resources/operations/resources/cases/client/requests/index.d.mts +5 -0
- package/dist/esm/api/resources/operations/resources/cases/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/operations/resources/cases/index.d.mts +1 -0
- package/dist/esm/api/resources/operations/resources/cases/index.mjs +1 -0
- package/dist/esm/api/resources/operations/resources/departments/client/Client.d.mts +138 -0
- package/dist/esm/api/resources/operations/resources/departments/client/Client.mjs +485 -0
- package/dist/esm/api/resources/operations/resources/departments/client/index.d.mts +2 -0
- package/dist/esm/api/resources/operations/resources/departments/client/index.mjs +1 -0
- package/dist/esm/api/resources/operations/resources/departments/client/requests/DepartmentClientCreate1.d.mts +19 -0
- package/dist/esm/api/resources/operations/resources/departments/client/requests/DepartmentClientUpdate1.d.mts +13 -0
- package/dist/esm/api/resources/operations/resources/departments/client/requests/DepartmentsListV1Request.d.mts +24 -0
- package/dist/esm/api/resources/operations/resources/departments/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/operations/resources/departments/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/operations/resources/departments/index.d.mts +1 -0
- package/dist/esm/api/resources/operations/resources/departments/index.mjs +1 -0
- package/dist/esm/api/resources/operations/resources/index.d.mts +4 -0
- package/dist/esm/api/resources/operations/resources/index.mjs +4 -0
- package/dist/esm/api/resources/orgs/client/Client.d.mts +5 -1
- package/dist/esm/api/resources/orgs/client/Client.mjs +7 -1
- package/dist/esm/api/resources/orgs/client/requests/OrgsListMembersV1Request.d.mts +1 -0
- package/dist/esm/api/resources/orgs/client/requests/SetOrgTypeReq.d.mts +1 -1
- package/dist/esm/api/resources/orgs/resources/connections/client/Client.d.mts +33 -35
- package/dist/esm/api/resources/orgs/resources/connections/client/Client.mjs +70 -80
- package/dist/esm/api/resources/orgs/resources/connections/client/requests/ConnectionsListProvidersV1Request.d.mts +17 -0
- package/dist/esm/api/resources/orgs/resources/connections/client/requests/ProviderProviderUpdateAutoAssignReq.d.mts +12 -0
- package/dist/esm/api/resources/orgs/resources/connections/client/requests/SetDepartmentReq.d.mts +10 -0
- package/dist/esm/api/resources/orgs/resources/connections/client/requests/index.d.mts +3 -2
- package/dist/esm/api/resources/orgs/resources/connections/types/ConnectionsGetByHandleV1Response.d.mts +1 -1
- package/dist/esm/api/resources/orgs/resources/index.d.mts +2 -0
- package/dist/esm/api/resources/orgs/resources/index.mjs +2 -0
- package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/Client.d.mts +106 -0
- package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/Client.mjs +347 -0
- package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/index.d.mts +2 -0
- package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/index.mjs +1 -0
- package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientCreate1.d.mts +26 -0
- package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientUpdate1.d.mts +31 -0
- package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientUpdate1.mjs +4 -0
- package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgListV1Request.d.mts +14 -0
- package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgListV1Request.mjs +4 -0
- package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/index.d.mts +1 -0
- package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/index.mjs +1 -0
- package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientCreate1.d.mts +1 -2
- package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientUpdate1.d.mts +2 -0
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/client/Client.d.mts +3 -6
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/client/Client.mjs +3 -8
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/index.d.mts +2 -4
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/index.mjs +2 -4
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/Client.d.mts +83 -0
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/Client.mjs +263 -0
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/index.d.mts +2 -0
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/index.mjs +1 -0
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientCreate1.d.mts +24 -0
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientCreate1.mjs +4 -0
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientUpdate1.d.mts +29 -0
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientUpdate1.mjs +4 -0
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/index.d.mts +1 -0
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/index.mjs +1 -0
- package/dist/esm/api/resources/orgs/resources/orgProfiles/client/Client.d.mts +14 -45
- package/dist/esm/api/resources/orgs/resources/orgProfiles/client/Client.mjs +18 -147
- package/dist/esm/api/resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientCreate1.d.mts +19 -0
- package/dist/esm/api/resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientCreate1.mjs +4 -0
- package/dist/esm/api/resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientUpdate1.d.mts +12 -0
- package/dist/esm/api/resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientUpdate1.mjs +4 -0
- package/dist/esm/api/resources/orgs/resources/orgProfiles/client/requests/index.d.mts +2 -4
- package/dist/esm/api/resources/shipping/resources/drivers/client/Client.d.mts +21 -4
- package/dist/esm/api/resources/shipping/resources/drivers/client/Client.mjs +70 -4
- package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriverUpdateAutoAssignReq.d.mts +12 -0
- package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriverUpdateAutoAssignReq.mjs +4 -0
- package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriversListOrgMembersAndDriversV1Request.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/drivers/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/orderDrafts/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/shipping/resources/orderDrafts/client/Client.mjs +1 -1
- package/dist/esm/api/resources/shipping/resources/orderDrafts/client/requests/OrdersDraftUpdateReq.d.mts +2 -2
- package/dist/esm/api/resources/shipping/resources/orderDrafts/client/requests/OrdersNewDraftReq.d.mts +1 -1
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.mjs +7 -7
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/expanded/client/requests/ExpandedListV1Request.d.mts +4 -4
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/Client.d.mts +2 -47
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/Client.mjs +2 -191
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/OrderDraftAddTaskGroupReq.d.mts +1 -4
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/index.d.mts +0 -2
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.mts +15 -13
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.mjs +29 -27
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.d.mts +59 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.mjs +4 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.mts +5 -4
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/shipping/resources/taskGroups/client/Client.d.mts +228 -15
- package/dist/esm/api/resources/shipping/resources/taskGroups/client/Client.mjs +952 -22
- package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/AddExecutorReq.d.mts +13 -0
- package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/AddExecutorReq.mjs +4 -0
- package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.mts +27 -25
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.mjs +48 -46
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverForExecutorV1Request.d.mts +59 -0
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverForExecutorV1Request.mjs +4 -0
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.mts +61 -0
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.mjs +4 -0
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/index.d.mts +2 -2
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/s3Object/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/s3Object/client/Client.mjs +2 -2
- 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/tracking/resources/sharingSettings/client/Client.d.mts +3 -3
- package/dist/esm/api/resources/tracking/resources/sharingSettings/client/Client.mjs +3 -3
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/Client.mjs +2 -2
- package/dist/esm/api/types/AttachBillingLedgerPeriodReq.d.mts +6 -0
- package/dist/esm/api/types/AttachBillingLedgerPeriodReq.mjs +4 -0
- package/dist/esm/api/types/AttachLigToVectorClientReq.d.mts +6 -0
- package/dist/esm/api/types/AttachLigToVectorClientReq.mjs +4 -0
- package/dist/esm/api/types/Bid.d.mts +16 -0
- package/dist/esm/api/types/Bid.mjs +4 -0
- package/dist/esm/api/types/BidActionEnum.d.mts +11 -0
- package/dist/esm/api/types/BidActionEnum.mjs +10 -0
- package/dist/esm/api/types/BidAppendReq.d.mts +13 -0
- package/dist/esm/api/types/BidAppendReq.mjs +4 -0
- package/dist/esm/api/types/BidThread1.d.mts +17 -0
- package/dist/esm/api/types/BidThread1.mjs +4 -0
- package/dist/esm/api/types/BidThreadListRes.d.mts +8 -0
- package/dist/esm/api/types/BidThreadListRes.mjs +4 -0
- package/dist/esm/api/types/BidThreadSortByEnum.d.mts +8 -0
- package/dist/esm/api/types/BidThreadSortByEnum.mjs +7 -0
- package/dist/esm/api/types/BidThreadStatusEnum.d.mts +10 -0
- package/dist/esm/api/types/BidThreadStatusEnum.mjs +9 -0
- package/dist/esm/api/types/BillingCycleEnum.d.mts +11 -0
- package/dist/esm/api/types/BillingCycleEnum.mjs +10 -0
- package/dist/esm/api/types/BillingLedger1.d.mts +26 -0
- package/dist/esm/api/types/BillingLedger1.mjs +4 -0
- package/dist/esm/api/types/BillingLedgerListRes.d.mts +8 -0
- package/dist/esm/api/types/BillingLedgerListRes.mjs +4 -0
- package/dist/esm/api/types/BillingLedgerPeriod1.d.mts +35 -0
- package/dist/esm/api/types/BillingLedgerPeriod1.mjs +4 -0
- package/dist/esm/api/types/BillingLedgerPeriodListRes.d.mts +8 -0
- package/dist/esm/api/types/BillingLedgerPeriodListRes.mjs +4 -0
- package/dist/esm/api/types/BillingLedgerPeriodSortByEnum.d.mts +9 -0
- package/dist/esm/api/types/BillingLedgerPeriodSortByEnum.mjs +8 -0
- package/dist/esm/api/types/BillingLedgerPeriodStatusEnum.d.mts +8 -0
- package/dist/esm/api/types/BillingLedgerPeriodStatusEnum.mjs +7 -0
- package/dist/esm/api/types/BillingLedgerSortByEnum.d.mts +4 -0
- package/dist/esm/api/types/BillingLedgerSortByEnum.mjs +4 -0
- package/dist/esm/api/types/BillingLedgerStatusEnum.d.mts +8 -0
- package/dist/esm/api/types/BillingLedgerStatusEnum.mjs +7 -0
- package/dist/esm/api/types/CargoOnFlightRateSheet1.d.mts +16 -0
- package/dist/esm/api/types/CargoOnFlightRateSheet1.mjs +4 -0
- package/dist/esm/api/types/CargoOnFlightRateSheetListRes.d.mts +8 -0
- package/dist/esm/api/types/CargoOnFlightRateSheetListRes.mjs +4 -0
- package/dist/esm/api/types/CargoOnFlightTaskActionEnum1.d.mts +13 -0
- package/dist/esm/api/types/CargoOnFlightTaskActionEnum1.mjs +12 -0
- package/dist/esm/api/types/Case1.d.mts +19 -0
- package/dist/esm/api/types/Case1.mjs +4 -0
- package/dist/esm/api/types/CaseListRes.d.mts +8 -0
- package/dist/esm/api/types/CaseListRes.mjs +4 -0
- package/dist/esm/api/types/CaseMessage1.d.mts +11 -0
- package/dist/esm/api/types/CaseMessage1.mjs +4 -0
- package/dist/esm/api/types/CaseSortByEnum.d.mts +9 -0
- package/dist/esm/api/types/CaseSortByEnum.mjs +8 -0
- package/dist/esm/api/types/CaseStatusEnum.d.mts +9 -0
- package/dist/esm/api/types/CaseStatusEnum.mjs +8 -0
- package/dist/esm/api/types/ChrtGroundProviderRateSheet1.d.mts +32 -0
- package/dist/esm/api/types/ChrtGroundProviderRateSheet1.mjs +4 -0
- package/dist/esm/api/types/ChrtGroundProviderRateSheetListRes.d.mts +8 -0
- package/dist/esm/api/types/ChrtGroundProviderRateSheetListRes.mjs +4 -0
- package/dist/esm/api/types/ChrtGroundProviderTaskActionEnum1.d.mts +13 -0
- package/dist/esm/api/types/ChrtGroundProviderTaskActionEnum1.mjs +12 -0
- package/dist/esm/api/types/CreateLigFromRateSheetForVectorClientReq.d.mts +7 -0
- package/dist/esm/api/types/CreateLigFromRateSheetForVectorClientReq.mjs +4 -0
- package/dist/esm/api/types/Department1.d.mts +17 -0
- package/dist/esm/api/types/Department1.mjs +4 -0
- package/dist/esm/api/types/DepartmentEnum.d.mts +18 -0
- package/dist/esm/api/types/DepartmentEnum.mjs +17 -0
- package/dist/esm/api/types/DepartmentListRes.d.mts +8 -0
- package/dist/esm/api/types/DepartmentListRes.mjs +4 -0
- package/dist/esm/api/types/DepartmentSortByEnum.d.mts +8 -0
- package/dist/esm/api/types/DepartmentSortByEnum.mjs +7 -0
- package/dist/esm/api/types/Driver1.d.mts +1 -2
- package/dist/esm/api/types/DriverBiddingGroup1.d.mts +15 -0
- package/dist/esm/api/types/DriverBiddingGroup1.mjs +4 -0
- package/dist/esm/api/types/DriverBiddingGroupListRes.d.mts +8 -0
- package/dist/esm/api/types/DriverBiddingGroupListRes.mjs +4 -0
- package/dist/esm/api/types/DriverBiddingGroupSortByEnum.d.mts +9 -0
- package/dist/esm/api/types/DriverBiddingGroupSortByEnum.mjs +8 -0
- package/dist/esm/api/types/LineItem1.d.mts +19 -5
- package/dist/esm/api/types/LineItemClientCreate1.d.mts +14 -0
- package/dist/esm/api/types/LineItemClientCreate1.mjs +4 -0
- package/dist/esm/api/types/LineItemEnum1.d.mts +19 -11
- package/dist/esm/api/types/LineItemEnum1.mjs +12 -10
- package/dist/esm/api/types/LineItemGroup1.d.mts +31 -4
- package/dist/esm/api/types/LineItemGroupStatusEnum1.d.mts +20 -4
- package/dist/esm/api/types/LineItemGroupStatusEnum1.mjs +0 -3
- package/dist/esm/api/types/LineItemProvenanceEnum.d.mts +9 -0
- package/dist/esm/api/types/LineItemProvenanceEnum.mjs +8 -0
- package/dist/esm/api/types/LineItemStatusEnum.d.mts +9 -0
- package/dist/esm/api/types/LineItemStatusEnum.mjs +8 -0
- package/dist/esm/api/types/Listing1.d.mts +34 -0
- package/dist/esm/api/types/Listing1.mjs +4 -0
- package/dist/esm/api/types/ListingAudienceEnum.d.mts +8 -0
- package/dist/esm/api/types/ListingAudienceEnum.mjs +7 -0
- package/dist/esm/api/types/ListingForBidderListRes.d.mts +8 -0
- package/dist/esm/api/types/ListingForBidderListRes.mjs +4 -0
- package/dist/esm/api/types/ListingLimitedForBidder1.d.mts +41 -0
- package/dist/esm/api/types/ListingLimitedForBidder1.mjs +4 -0
- package/dist/esm/api/types/ListingListRes.d.mts +8 -0
- package/dist/esm/api/types/ListingListRes.mjs +4 -0
- package/dist/esm/api/types/ListingSortByEnum.d.mts +8 -0
- package/dist/esm/api/types/ListingSortByEnum.mjs +7 -0
- package/dist/esm/api/types/ListingStatusEnum.d.mts +9 -0
- package/dist/esm/api/types/ListingStatusEnum.mjs +8 -0
- package/dist/esm/api/types/ListingTypeEnum.d.mts +8 -0
- package/dist/esm/api/types/ListingTypeEnum.mjs +7 -0
- package/dist/esm/api/types/OffChrtProviderOrg1.d.mts +24 -0
- package/dist/esm/api/types/OffChrtProviderOrg1.mjs +4 -0
- package/dist/esm/api/types/OffChrtProviderOrgListRes.d.mts +8 -0
- package/dist/esm/api/types/OffChrtProviderOrgListRes.mjs +4 -0
- package/dist/esm/api/types/OffChrtShipperOrg1.d.mts +1 -2
- package/dist/esm/api/types/OnboardCourierRateSheet1.d.mts +13 -0
- package/dist/esm/api/types/OnboardCourierRateSheet1.mjs +4 -0
- package/dist/esm/api/types/OnboardCourierRateSheetListRes.d.mts +8 -0
- package/dist/esm/api/types/OnboardCourierRateSheetListRes.mjs +4 -0
- package/dist/esm/api/types/Order1.d.mts +5 -5
- package/dist/esm/api/types/OrderAndTaskGroupExpandedReq.d.mts +4 -4
- package/dist/esm/api/types/OrderDraftExpanded.d.mts +2 -2
- package/dist/esm/api/types/OrderExpanded.d.mts +2 -2
- package/dist/esm/api/types/OrdersDraftUpdateRes.d.mts +1 -1
- package/dist/esm/api/types/OrgBiddingGroup1.d.mts +15 -0
- package/dist/esm/api/types/OrgBiddingGroup1.mjs +4 -0
- package/dist/esm/api/types/OrgBiddingGroupListRes.d.mts +8 -0
- package/dist/esm/api/types/OrgBiddingGroupListRes.mjs +4 -0
- package/dist/esm/api/types/OrgBiddingGroupSortByEnum.d.mts +9 -0
- package/dist/esm/api/types/OrgBiddingGroupSortByEnum.mjs +8 -0
- package/dist/esm/api/types/OrgPrivateData1.d.mts +0 -8
- package/dist/esm/api/types/OrgRoleEnum.d.mts +2 -2
- package/dist/esm/api/types/OrgTypeEnum.d.mts +2 -3
- package/dist/esm/api/types/OrgTypeEnum.mjs +1 -2
- package/dist/esm/api/types/ProFormaLineItem1.d.mts +20 -0
- package/dist/esm/api/types/ProFormaLineItem1.mjs +4 -0
- package/dist/esm/api/types/ProviderConnectionListRes.d.mts +8 -0
- package/dist/esm/api/types/ProviderConnectionListRes.mjs +4 -0
- package/dist/esm/api/types/ProviderConnectionRes.d.mts +8 -0
- package/dist/esm/api/types/ProviderConnectionRes.mjs +4 -0
- package/dist/esm/api/types/ProviderOrgInfoForConnections1.d.mts +22 -0
- package/dist/esm/api/types/ProviderOrgInfoForConnections1.mjs +4 -0
- package/dist/esm/api/types/ProviderOrgProfile1.d.mts +13 -0
- package/dist/esm/api/types/ProviderOrgProfile1.mjs +4 -0
- package/dist/esm/api/types/ProviderProviderConnection1.d.mts +15 -0
- package/dist/esm/api/types/ProviderProviderConnection1.mjs +4 -0
- package/dist/esm/api/types/RateSheetMapping1.d.mts +17 -0
- package/dist/esm/api/types/RateSheetMapping1.mjs +4 -0
- package/dist/esm/api/types/RateSheetMappingListRes.d.mts +8 -0
- package/dist/esm/api/types/RateSheetMappingListRes.mjs +4 -0
- package/dist/esm/api/types/ShipperProviderConnection1.d.mts +14 -0
- package/dist/esm/api/types/ShipperProviderConnection1.mjs +4 -0
- package/dist/esm/api/types/ShippingTaskAddedWebhookPayload.d.mts +1 -1
- package/dist/esm/api/types/ShippingTaskCompletedWebhookPayload.d.mts +2 -2
- package/dist/esm/api/types/ShippingTaskDeletedWebhookPayload.d.mts +1 -1
- package/dist/esm/api/types/ShippingTaskSkippedWebhookPayload.d.mts +1 -1
- package/dist/esm/api/types/Statement1.d.mts +2 -1
- package/dist/esm/api/types/Task1.d.mts +1 -1
- package/dist/esm/api/types/TaskClientCreate1.d.mts +1 -1
- package/dist/esm/api/types/TaskClientUpdate1.d.mts +1 -1
- package/dist/esm/api/types/TaskGroup1.d.mts +19 -16
- package/dist/esm/api/types/TaskGroupExpanded.d.mts +6 -6
- package/dist/esm/api/types/TaskGroupQuoteClientReq.d.mts +6 -0
- package/dist/esm/api/types/TaskGroupQuoteClientReq.mjs +4 -0
- package/dist/esm/api/types/TaskGroupQuoteResp.d.mts +37 -0
- package/dist/esm/api/types/TaskGroupQuoteResp.mjs +4 -0
- package/dist/esm/api/types/TaskGroupTypeEnum1.d.mts +3 -3
- package/dist/esm/api/types/TaskGroupTypeEnum1.mjs +2 -2
- package/dist/esm/api/types/index.d.mts +66 -21
- package/dist/esm/api/types/index.mjs +66 -21
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +8144 -1290
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/AdjustLineItemReq.d.ts +0 -18
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupsAssociateWithStatementV1Request.d.ts +0 -12
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupsListForCourierOrgV1Request.d.ts +0 -32
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupsQuoteV1Request.d.ts +0 -17
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/Client.d.ts +0 -113
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/Client.js +0 -389
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/requests/AdHocRemoveLineItemV1Request.d.ts +0 -13
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/requests/CreateAdHocLineItemGroupReq.d.ts +0 -27
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/requests/LineItemClientCreate1.d.ts +0 -22
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/requests/SetAdHocTaskGroupReq.d.ts +0 -12
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/requests/index.d.ts +0 -4
- package/dist/cjs/api/resources/billing/resources/rateSheets/client/Client.d.ts +0 -186
- package/dist/cjs/api/resources/billing/resources/rateSheets/client/Client.js +0 -717
- package/dist/cjs/api/resources/billing/resources/rateSheets/client/requests/RateSheetClientCreate1.d.ts +0 -37
- package/dist/cjs/api/resources/billing/resources/rateSheets/client/requests/RateSheetClientUpdate1.d.ts +0 -16
- package/dist/cjs/api/resources/billing/resources/rateSheets/client/requests/RateSheetsArchiveV1Request.d.ts +0 -12
- package/dist/cjs/api/resources/billing/resources/rateSheets/client/requests/RateSheetsListByOrgV1Request.d.ts +0 -36
- package/dist/cjs/api/resources/billing/resources/rateSheets/client/requests/RateSheetsUpdateDefaultForConnectionV1Request.d.ts +0 -17
- package/dist/cjs/api/resources/billing/resources/rateSheets/client/requests/RateSheetsUpdateDefaultForDriverV1Request.d.ts +0 -17
- package/dist/cjs/api/resources/billing/resources/rateSheets/client/requests/RateSheetsUpdateDefaultForOffChrtShipperV1Request.d.ts +0 -17
- package/dist/cjs/api/resources/billing/resources/rateSheets/client/requests/RateSheetsUpdateOrgDefaultForServiceTypeV1Request.d.ts +0 -17
- package/dist/cjs/api/resources/billing/resources/rateSheets/client/requests/index.d.ts +0 -8
- package/dist/cjs/api/resources/billing/resources/statements/client/requests/BodyStatementsPatchUpdateOffChrtSettlementStateV1BillingStatementsUpdateOffChrtSettlementStateV1StatementIdPatch.d.ts +0 -13
- package/dist/cjs/api/resources/billing/resources/statements/client/requests/BodyStatementsPatchUpdateSettlementTypeV1BillingStatementsUpdateSettlementTypeV1StatementIdPatch.d.ts +0 -13
- package/dist/cjs/api/resources/billing/resources/statements/client/requests/CreateStatementReq.d.ts +0 -25
- package/dist/cjs/api/resources/billing/resources/statements/client/requests/OpenInvoiceReq.d.ts +0 -13
- package/dist/cjs/api/resources/orgs/resources/connections/client/requests/ConnectionsListCouriersV1Request.d.ts +0 -17
- package/dist/cjs/api/resources/orgs/resources/connections/client/requests/ConnectionsListForwardersV1Request.d.ts +0 -17
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/courier/client/Client.d.ts +0 -83
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/courier/client/Client.js +0 -297
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/courier/client/requests/CourierOrgInfoForConnectionsClientCreate1.d.ts +0 -24
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/courier/client/requests/CourierOrgInfoForConnectionsClientUpdate1.d.ts +0 -29
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/courier/client/requests/index.d.ts +0 -2
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/forwarder/client/Client.d.ts +0 -73
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/forwarder/client/Client.js +0 -246
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/forwarder/client/requests/ForwarderOrgInfoForConnectionsClientCreate1.d.ts +0 -24
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/forwarder/client/requests/ForwarderOrgInfoForConnectionsClientUpdate1.d.ts +0 -29
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/forwarder/client/requests/index.d.ts +0 -2
- package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/requests/CourierOrgProfileClientCreate1.d.ts +0 -19
- package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/requests/CourierOrgProfileClientUpdate1.d.ts +0 -12
- package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/requests/ForwarderOrgProfileClientCreate1.d.ts +0 -19
- package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/requests/ForwarderOrgProfileClientUpdate1.d.ts +0 -12
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/SetServiceTypeReq.d.ts +0 -14
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/UpdateCourierOrgDraftReq.d.ts +0 -13
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForForwarderOperatorsV1Request.d.ts +0 -58
- package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/UpdateCourierOrgReq.d.ts +0 -13
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForCourierDriverV1Request.d.ts +0 -58
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForCourierOperatorsV1Request.d.ts +0 -60
- package/dist/cjs/api/types/ChrtGroundCourierTaskActionEnum1.d.ts +0 -13
- package/dist/cjs/api/types/ChrtGroundCourierTaskActionEnum1.js +0 -15
- package/dist/cjs/api/types/CourierConnectionListRes.d.ts +0 -8
- package/dist/cjs/api/types/CourierConnectionRes.d.ts +0 -8
- package/dist/cjs/api/types/CourierOrgInfoForConnections1.d.ts +0 -22
- package/dist/cjs/api/types/CourierOrgProfile1.d.ts +0 -13
- package/dist/cjs/api/types/FlightTaskActionEnum1.d.ts +0 -13
- package/dist/cjs/api/types/FlightTaskActionEnum1.js +0 -15
- package/dist/cjs/api/types/ForwarderConnectionListRes.d.ts +0 -8
- package/dist/cjs/api/types/ForwarderConnectionRes.d.ts +0 -8
- package/dist/cjs/api/types/ForwarderCourierConnection1.d.ts +0 -15
- package/dist/cjs/api/types/ForwarderOrgInfoForConnections1.d.ts +0 -22
- package/dist/cjs/api/types/ForwarderOrgProfile1.d.ts +0 -13
- package/dist/cjs/api/types/OrgProfileRes1.d.ts +0 -8
- package/dist/cjs/api/types/PaymentRoleFilterEnum.d.ts +0 -8
- package/dist/cjs/api/types/PaymentRoleFilterEnum.js +0 -10
- package/dist/cjs/api/types/PaymentVectorTypeEnum1.d.ts +0 -10
- package/dist/cjs/api/types/PaymentVectorTypeEnum1.js +0 -12
- package/dist/cjs/api/types/Quote.d.ts +0 -12
- package/dist/cjs/api/types/RateSheet1.d.ts +0 -33
- package/dist/cjs/api/types/RateSheetListResponse.d.ts +0 -11
- package/dist/cjs/api/types/RateSheetSortByEnum.d.ts +0 -11
- package/dist/cjs/api/types/RateSheetSortByEnum.js +0 -10
- package/dist/cjs/api/types/ServiceTypeEnum1.d.ts +0 -8
- package/dist/cjs/api/types/ServiceTypeEnum1.js +0 -10
- package/dist/cjs/api/types/ShipperCourierConnection1.d.ts +0 -15
- package/dist/cjs/api/types/ShipperForwarderConnection1.d.ts +0 -15
- package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/AdjustLineItemReq.d.mts +0 -18
- package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupsAssociateWithStatementV1Request.d.mts +0 -12
- package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupsListForCourierOrgV1Request.d.mts +0 -32
- package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupsQuoteV1Request.d.mts +0 -17
- package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/Client.d.mts +0 -113
- package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/Client.mjs +0 -352
- package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/requests/AdHocRemoveLineItemV1Request.d.mts +0 -13
- package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/requests/CreateAdHocLineItemGroupReq.d.mts +0 -27
- package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/requests/LineItemClientCreate1.d.mts +0 -22
- package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/requests/SetAdHocTaskGroupReq.d.mts +0 -12
- package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/requests/index.d.mts +0 -4
- package/dist/esm/api/resources/billing/resources/rateSheets/client/Client.d.mts +0 -186
- package/dist/esm/api/resources/billing/resources/rateSheets/client/Client.mjs +0 -680
- package/dist/esm/api/resources/billing/resources/rateSheets/client/requests/RateSheetClientCreate1.d.mts +0 -37
- package/dist/esm/api/resources/billing/resources/rateSheets/client/requests/RateSheetClientUpdate1.d.mts +0 -16
- package/dist/esm/api/resources/billing/resources/rateSheets/client/requests/RateSheetsArchiveV1Request.d.mts +0 -12
- package/dist/esm/api/resources/billing/resources/rateSheets/client/requests/RateSheetsListByOrgV1Request.d.mts +0 -36
- package/dist/esm/api/resources/billing/resources/rateSheets/client/requests/RateSheetsUpdateDefaultForConnectionV1Request.d.mts +0 -17
- package/dist/esm/api/resources/billing/resources/rateSheets/client/requests/RateSheetsUpdateDefaultForDriverV1Request.d.mts +0 -17
- package/dist/esm/api/resources/billing/resources/rateSheets/client/requests/RateSheetsUpdateDefaultForOffChrtShipperV1Request.d.mts +0 -17
- package/dist/esm/api/resources/billing/resources/rateSheets/client/requests/RateSheetsUpdateOrgDefaultForServiceTypeV1Request.d.mts +0 -17
- package/dist/esm/api/resources/billing/resources/rateSheets/client/requests/index.d.mts +0 -8
- package/dist/esm/api/resources/billing/resources/statements/client/requests/BodyStatementsPatchUpdateOffChrtSettlementStateV1BillingStatementsUpdateOffChrtSettlementStateV1StatementIdPatch.d.mts +0 -13
- package/dist/esm/api/resources/billing/resources/statements/client/requests/BodyStatementsPatchUpdateSettlementTypeV1BillingStatementsUpdateSettlementTypeV1StatementIdPatch.d.mts +0 -13
- package/dist/esm/api/resources/billing/resources/statements/client/requests/CreateStatementReq.d.mts +0 -25
- package/dist/esm/api/resources/billing/resources/statements/client/requests/OpenInvoiceReq.d.mts +0 -13
- package/dist/esm/api/resources/orgs/resources/connections/client/requests/ConnectionsListCouriersV1Request.d.mts +0 -17
- package/dist/esm/api/resources/orgs/resources/connections/client/requests/ConnectionsListForwardersV1Request.d.mts +0 -17
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/courier/client/Client.d.mts +0 -83
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/courier/client/Client.mjs +0 -260
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/courier/client/requests/CourierOrgInfoForConnectionsClientCreate1.d.mts +0 -24
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/courier/client/requests/CourierOrgInfoForConnectionsClientUpdate1.d.mts +0 -29
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/courier/client/requests/index.d.mts +0 -2
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/forwarder/client/Client.d.mts +0 -73
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/forwarder/client/Client.mjs +0 -209
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/forwarder/client/requests/ForwarderOrgInfoForConnectionsClientCreate1.d.mts +0 -24
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/forwarder/client/requests/ForwarderOrgInfoForConnectionsClientUpdate1.d.mts +0 -29
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/forwarder/client/requests/index.d.mts +0 -2
- package/dist/esm/api/resources/orgs/resources/orgProfiles/client/requests/CourierOrgProfileClientCreate1.d.mts +0 -19
- package/dist/esm/api/resources/orgs/resources/orgProfiles/client/requests/CourierOrgProfileClientUpdate1.d.mts +0 -12
- package/dist/esm/api/resources/orgs/resources/orgProfiles/client/requests/ForwarderOrgProfileClientCreate1.d.mts +0 -19
- package/dist/esm/api/resources/orgs/resources/orgProfiles/client/requests/ForwarderOrgProfileClientUpdate1.d.mts +0 -12
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/SetServiceTypeReq.d.mts +0 -14
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/UpdateCourierOrgDraftReq.d.mts +0 -13
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForForwarderOperatorsV1Request.d.mts +0 -58
- package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/UpdateCourierOrgReq.d.mts +0 -13
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForCourierDriverV1Request.d.mts +0 -58
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForCourierOperatorsV1Request.d.mts +0 -60
- package/dist/esm/api/types/ChrtGroundCourierTaskActionEnum1.d.mts +0 -13
- package/dist/esm/api/types/ChrtGroundCourierTaskActionEnum1.mjs +0 -12
- package/dist/esm/api/types/CourierConnectionListRes.d.mts +0 -8
- package/dist/esm/api/types/CourierConnectionRes.d.mts +0 -8
- package/dist/esm/api/types/CourierOrgInfoForConnections1.d.mts +0 -22
- package/dist/esm/api/types/CourierOrgProfile1.d.mts +0 -13
- package/dist/esm/api/types/FlightTaskActionEnum1.d.mts +0 -13
- package/dist/esm/api/types/FlightTaskActionEnum1.mjs +0 -12
- package/dist/esm/api/types/ForwarderConnectionListRes.d.mts +0 -8
- package/dist/esm/api/types/ForwarderConnectionRes.d.mts +0 -8
- package/dist/esm/api/types/ForwarderCourierConnection1.d.mts +0 -15
- package/dist/esm/api/types/ForwarderOrgInfoForConnections1.d.mts +0 -22
- package/dist/esm/api/types/ForwarderOrgProfile1.d.mts +0 -13
- package/dist/esm/api/types/OrgProfileRes1.d.mts +0 -8
- package/dist/esm/api/types/PaymentRoleFilterEnum.d.mts +0 -8
- package/dist/esm/api/types/PaymentRoleFilterEnum.mjs +0 -7
- package/dist/esm/api/types/PaymentVectorTypeEnum1.d.mts +0 -10
- package/dist/esm/api/types/PaymentVectorTypeEnum1.mjs +0 -9
- package/dist/esm/api/types/Quote.d.mts +0 -12
- package/dist/esm/api/types/RateSheet1.d.mts +0 -33
- package/dist/esm/api/types/RateSheetListResponse.d.mts +0 -11
- package/dist/esm/api/types/RateSheetSortByEnum.d.mts +0 -11
- package/dist/esm/api/types/RateSheetSortByEnum.mjs +0 -7
- package/dist/esm/api/types/ServiceTypeEnum1.d.mts +0 -8
- package/dist/esm/api/types/ServiceTypeEnum1.mjs +0 -7
- package/dist/esm/api/types/ShipperCourierConnection1.d.mts +0 -15
- package/dist/esm/api/types/ShipperForwarderConnection1.d.mts +0 -15
- /package/dist/cjs/api/resources/billing/resources/{lineItemGroups/resources/adHoc → billingLedgerPeriods}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/billing/resources/{lineItemGroups/resources/adHoc → billingLedgerPeriods}/client/index.js +0 -0
- /package/dist/cjs/api/resources/billing/resources/{lineItemGroups/client/requests/AdjustLineItemReq.js → billingLedgerPeriods/client/requests/BillingLedgerPeriodClientUpdate1.js} +0 -0
- /package/dist/cjs/api/resources/billing/resources/{lineItemGroups/client/requests/LineItemGroupsAssociateWithStatementV1Request.js → billingLedgerPeriods/client/requests/BillingLedgerPeriodsListV1Request.js} +0 -0
- /package/dist/cjs/api/resources/billing/resources/{lineItemGroups/client/requests/LineItemGroupsListForCourierOrgV1Request.js → billingLedgerPeriods/client/requests/OpenPeriodReq.js} +0 -0
- /package/dist/cjs/api/resources/billing/resources/{lineItemGroups/resources/adHoc → billingLedgerPeriods}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/billing/resources/{lineItemGroups/resources/adHoc → billingLedgerPeriods}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/billing/resources/{lineItemGroups/resources/adHoc → billingLedgerPeriods}/index.js +0 -0
- /package/dist/cjs/api/resources/billing/resources/{rateSheets → billingLedgers}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/billing/resources/{rateSheets → billingLedgers}/client/index.js +0 -0
- /package/dist/cjs/api/resources/billing/resources/{lineItemGroups/client/requests/LineItemGroupsQuoteV1Request.js → billingLedgers/client/requests/BillingLedgerClientCreate1.js} +0 -0
- /package/dist/cjs/api/resources/billing/resources/{lineItemGroups/resources/adHoc/client/requests/AdHocRemoveLineItemV1Request.js → billingLedgers/client/requests/BillingLedgerClientUpdate1.js} +0 -0
- /package/dist/cjs/api/resources/billing/resources/{lineItemGroups/resources/adHoc/client/requests/CreateAdHocLineItemGroupReq.js → billingLedgers/client/requests/BillingLedgersListV1Request.js} +0 -0
- /package/dist/cjs/api/resources/billing/resources/{rateSheets → billingLedgers}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/billing/resources/{rateSheets → billingLedgers}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/billing/resources/{rateSheets → billingLedgers}/index.js +0 -0
- /package/dist/cjs/api/resources/{orgs/resources/orgInfoForConnections/resources/courier → billing/resources/cargoOnFlightRateSheets}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{orgs/resources/orgInfoForConnections/resources/courier → billing/resources/cargoOnFlightRateSheets}/client/index.js +0 -0
- /package/dist/cjs/api/resources/billing/resources/{lineItemGroups/resources/adHoc/client/requests/LineItemClientCreate1.js → cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetClientCreate1.js} +0 -0
- /package/dist/cjs/api/resources/billing/resources/{lineItemGroups/resources/adHoc/client/requests/SetAdHocTaskGroupReq.js → cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetClientUpdate1.js} +0 -0
- /package/dist/cjs/api/resources/billing/resources/{rateSheets/client/requests/RateSheetClientCreate1.js → cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetsListV1Request.js} +0 -0
- /package/dist/cjs/api/resources/{orgs/resources/orgInfoForConnections/resources/courier → billing/resources/cargoOnFlightRateSheets}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/{orgs/resources/orgInfoForConnections/resources/courier → billing/resources/cargoOnFlightRateSheets}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{orgs/resources/orgInfoForConnections/resources/courier → billing/resources/cargoOnFlightRateSheets}/index.js +0 -0
- /package/dist/cjs/api/resources/{orgs/resources/orgInfoForConnections/resources/forwarder → billing/resources/chrtGroundProviderRateSheets}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{orgs/resources/orgInfoForConnections/resources/forwarder → billing/resources/chrtGroundProviderRateSheets}/client/index.js +0 -0
- /package/dist/cjs/api/resources/billing/resources/{rateSheets/client/requests/RateSheetClientUpdate1.js → chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetClientCreate1.js} +0 -0
- /package/dist/cjs/api/resources/billing/resources/{rateSheets/client/requests/RateSheetsArchiveV1Request.js → chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetClientUpdate1.js} +0 -0
- /package/dist/cjs/api/resources/billing/resources/{rateSheets/client/requests/RateSheetsListByOrgV1Request.js → chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetsListV1Request.js} +0 -0
- /package/dist/cjs/api/resources/{orgs/resources/orgInfoForConnections/resources/forwarder → billing/resources/chrtGroundProviderRateSheets}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/{orgs/resources/orgInfoForConnections/resources/forwarder → billing/resources/chrtGroundProviderRateSheets}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{orgs/resources/orgInfoForConnections/resources/forwarder → billing/resources/chrtGroundProviderRateSheets}/index.js +0 -0
- /package/dist/cjs/api/resources/billing/resources/{rateSheets/client/requests/RateSheetsUpdateDefaultForConnectionV1Request.js → lineItemGroups/client/requests/LineItemGroupAdHocCreateClientReq.js} +0 -0
- /package/dist/cjs/api/resources/billing/resources/{rateSheets/client/requests/RateSheetsUpdateDefaultForDriverV1Request.js → lineItemGroups/client/requests/LineItemGroupsListV1Request.js} +0 -0
- /package/dist/cjs/api/resources/billing/resources/{rateSheets/client/requests/RateSheetsUpdateDefaultForOffChrtShipperV1Request.js → onboardCourierRateSheets/client/requests/OnboardCourierRateSheetClientCreate1.js} +0 -0
- /package/dist/cjs/api/resources/billing/resources/{rateSheets/client/requests/RateSheetsUpdateOrgDefaultForServiceTypeV1Request.js → onboardCourierRateSheets/client/requests/OnboardCourierRateSheetClientUpdate1.js} +0 -0
- /package/dist/cjs/api/resources/billing/resources/{statements/client/requests/BodyStatementsPatchUpdateOffChrtSettlementStateV1BillingStatementsUpdateOffChrtSettlementStateV1StatementIdPatch.js → onboardCourierRateSheets/client/requests/OnboardCourierRateSheetsListV1Request.js} +0 -0
- /package/dist/cjs/api/resources/billing/resources/{statements/client/requests/BodyStatementsPatchUpdateSettlementTypeV1BillingStatementsUpdateSettlementTypeV1StatementIdPatch.js → rateSheetMappings/client/requests/RateSheetMappingClientCreate1.js} +0 -0
- /package/dist/cjs/api/resources/billing/resources/{statements/client/requests/CreateStatementReq.js → rateSheetMappings/client/requests/RateSheetMappingsListV1Request.js} +0 -0
- /package/dist/cjs/api/resources/billing/resources/statements/client/requests/{OpenInvoiceReq.js → StatementCreateClientReq.js} +0 -0
- /package/dist/cjs/api/resources/{orgs/resources/connections/client/requests/ConnectionsListCouriersV1Request.js → billing/resources/statements/client/requests/StatementUpdateSettlementTypeReq.js} +0 -0
- /package/dist/{esm/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/requests/index.mjs → cjs/api/resources/listing/client/index.d.ts} +0 -0
- /package/dist/cjs/api/resources/{orgs/resources/connections/client/requests/ConnectionsListForwardersV1Request.js → listing/resources/bidThreads/client/requests/BidThreadClientCreate1.js} +0 -0
- /package/dist/cjs/api/resources/{orgs/resources/orgInfoForConnections/resources/courier/client/requests/CourierOrgInfoForConnectionsClientCreate1.js → listing/resources/bidThreads/client/requests/BidThreadsListForBidderV1Request.js} +0 -0
- /package/dist/cjs/api/resources/{orgs/resources/orgInfoForConnections/resources/courier/client/requests/CourierOrgInfoForConnectionsClientUpdate1.js → listing/resources/bidThreads/client/requests/BidThreadsListForListingV1Request.js} +0 -0
- /package/dist/cjs/api/resources/{orgs/resources/orgInfoForConnections/resources/forwarder/client/requests/ForwarderOrgInfoForConnectionsClientCreate1.js → listing/resources/driverBiddingGroups/client/requests/DriverBiddingGroupClientCreate1.js} +0 -0
- /package/dist/cjs/api/resources/{orgs/resources/orgInfoForConnections/resources/forwarder/client/requests/ForwarderOrgInfoForConnectionsClientUpdate1.js → listing/resources/driverBiddingGroups/client/requests/DriverBiddingGroupsListByOrgV1Request.js} +0 -0
- /package/dist/cjs/api/resources/{orgs/resources/orgProfiles/client/requests/CourierOrgProfileClientCreate1.js → listing/resources/driverBiddingGroups/client/requests/DriverBiddingGroupsUpdateNameV1Request.js} +0 -0
- /package/dist/cjs/api/resources/{orgs/resources/orgProfiles/client/requests/CourierOrgProfileClientUpdate1.js → listing/resources/listings/client/requests/ListingAddDriverParticipantsReq.js} +0 -0
- /package/dist/cjs/api/resources/{orgs/resources/orgProfiles/client/requests/ForwarderOrgProfileClientCreate1.js → listing/resources/listings/client/requests/ListingAddProviderParticipantsReq.js} +0 -0
- /package/dist/cjs/api/resources/{orgs/resources/orgProfiles/client/requests/ForwarderOrgProfileClientUpdate1.js → listing/resources/listings/client/requests/ListingClientCreate1.js} +0 -0
- /package/dist/cjs/api/resources/{shipping/resources/orderDrafts/resources/taskGroup/client/requests/SetServiceTypeReq.js → listing/resources/listings/client/requests/ListingClientUpdate1.js} +0 -0
- /package/dist/cjs/api/resources/{shipping/resources/orderDrafts/resources/taskGroup/client/requests/UpdateCourierOrgDraftReq.js → listing/resources/listings/client/requests/ListingRemoveDriverParticipantsReq.js} +0 -0
- /package/dist/cjs/api/resources/{shipping/resources/orders/resources/expanded/client/requests/ExpandedListForForwarderOperatorsV1Request.js → listing/resources/listings/client/requests/ListingRemoveProviderParticipantsReq.js} +0 -0
- /package/dist/cjs/api/resources/{shipping/resources/taskGroups/client/requests/UpdateCourierOrgReq.js → listing/resources/listings/client/requests/ListingsListByOrgV1Request.js} +0 -0
- /package/dist/cjs/api/resources/{shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForCourierDriverV1Request.js → listing/resources/listings/client/requests/ListingsListForDriverBidderV1Request.js} +0 -0
- /package/dist/cjs/api/resources/{shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForCourierOperatorsV1Request.js → listing/resources/listings/client/requests/ListingsListForProviderBidderV1Request.js} +0 -0
- /package/dist/cjs/api/{types/CourierConnectionListRes.js → resources/listing/resources/orgBiddingGroups/client/requests/OrgBiddingGroupClientCreate1.js} +0 -0
- /package/dist/cjs/api/{types/CourierConnectionRes.js → resources/listing/resources/orgBiddingGroups/client/requests/OrgBiddingGroupsListByOrgV1Request.js} +0 -0
- /package/dist/cjs/api/{types/CourierOrgInfoForConnections1.js → resources/listing/resources/orgBiddingGroups/client/requests/OrgBiddingGroupsUpdateNameV1Request.js} +0 -0
- /package/dist/{esm/api/resources/billing/resources/rateSheets/client/requests/index.mjs → cjs/api/resources/operations/client/index.d.ts} +0 -0
- /package/dist/cjs/api/{types/CourierOrgProfile1.js → resources/operations/resources/cases/client/requests/CaseAddMessageReq.js} +0 -0
- /package/dist/cjs/api/{types/ForwarderConnectionListRes.js → resources/operations/resources/cases/client/requests/CaseAssignReq.js} +0 -0
- /package/dist/cjs/api/{types/ForwarderConnectionRes.js → resources/operations/resources/cases/client/requests/CaseClientUpdate1.js} +0 -0
- /package/dist/cjs/api/{types/ForwarderCourierConnection1.js → resources/operations/resources/cases/client/requests/CaseUnassignReq.js} +0 -0
- /package/dist/cjs/api/{types/ForwarderOrgInfoForConnections1.js → resources/operations/resources/cases/client/requests/CasesListV1Request.js} +0 -0
- /package/dist/cjs/api/{types/ForwarderOrgProfile1.js → resources/operations/resources/departments/client/requests/DepartmentClientCreate1.js} +0 -0
- /package/dist/cjs/api/{types/OrgProfileRes1.js → resources/operations/resources/departments/client/requests/DepartmentClientUpdate1.js} +0 -0
- /package/dist/cjs/api/{types/Quote.js → resources/operations/resources/departments/client/requests/DepartmentsListV1Request.js} +0 -0
- /package/dist/cjs/api/{types/RateSheet1.js → resources/orgs/resources/connections/client/requests/ConnectionsListProvidersV1Request.js} +0 -0
- /package/dist/cjs/api/{types/RateSheetListResponse.js → resources/orgs/resources/connections/client/requests/ProviderProviderUpdateAutoAssignReq.js} +0 -0
- /package/dist/cjs/api/{types/ShipperCourierConnection1.js → resources/orgs/resources/connections/client/requests/SetDepartmentReq.js} +0 -0
- /package/dist/cjs/api/{types/ShipperForwarderConnection1.js → resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientCreate1.js} +0 -0
- /package/dist/esm/api/resources/billing/resources/{lineItemGroups/resources/adHoc → billingLedgerPeriods}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/billing/resources/{lineItemGroups/resources/adHoc → billingLedgerPeriods}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/billing/resources/{lineItemGroups/client/requests/AdjustLineItemReq.mjs → billingLedgerPeriods/client/requests/BillingLedgerPeriodClientUpdate1.mjs} +0 -0
- /package/dist/esm/api/resources/billing/resources/{lineItemGroups/client/requests/LineItemGroupsAssociateWithStatementV1Request.mjs → billingLedgerPeriods/client/requests/BillingLedgerPeriodsListV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/billing/resources/{lineItemGroups/client/requests/LineItemGroupsListForCourierOrgV1Request.mjs → billingLedgerPeriods/client/requests/OpenPeriodReq.mjs} +0 -0
- /package/dist/esm/api/resources/{orgs/resources/orgInfoForConnections/resources/courier → billing/resources/billingLedgerPeriods}/client/requests/index.mjs +0 -0
- /package/dist/esm/api/resources/billing/resources/{lineItemGroups/resources/adHoc → billingLedgerPeriods}/index.d.mts +0 -0
- /package/dist/esm/api/resources/billing/resources/{lineItemGroups/resources/adHoc → billingLedgerPeriods}/index.mjs +0 -0
- /package/dist/esm/api/resources/billing/resources/{rateSheets → billingLedgers}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/billing/resources/{rateSheets → billingLedgers}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/billing/resources/{lineItemGroups/client/requests/LineItemGroupsQuoteV1Request.mjs → billingLedgers/client/requests/BillingLedgerClientCreate1.mjs} +0 -0
- /package/dist/esm/api/resources/billing/resources/{lineItemGroups/resources/adHoc/client/requests/AdHocRemoveLineItemV1Request.mjs → billingLedgers/client/requests/BillingLedgerClientUpdate1.mjs} +0 -0
- /package/dist/esm/api/resources/billing/resources/{lineItemGroups/resources/adHoc/client/requests/CreateAdHocLineItemGroupReq.mjs → billingLedgers/client/requests/BillingLedgersListV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/{orgs/resources/orgInfoForConnections/resources/forwarder → billing/resources/billingLedgers}/client/requests/index.mjs +0 -0
- /package/dist/esm/api/resources/billing/resources/{rateSheets → billingLedgers}/index.d.mts +0 -0
- /package/dist/esm/api/resources/billing/resources/{rateSheets → billingLedgers}/index.mjs +0 -0
- /package/dist/esm/api/resources/{orgs/resources/orgInfoForConnections/resources/courier → billing/resources/cargoOnFlightRateSheets}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{orgs/resources/orgInfoForConnections/resources/courier → billing/resources/cargoOnFlightRateSheets}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/billing/resources/{lineItemGroups/resources/adHoc/client/requests/LineItemClientCreate1.mjs → cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetClientCreate1.mjs} +0 -0
- /package/dist/esm/api/resources/billing/resources/{lineItemGroups/resources/adHoc/client/requests/SetAdHocTaskGroupReq.mjs → cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetClientUpdate1.mjs} +0 -0
- /package/dist/esm/api/resources/billing/resources/{rateSheets/client/requests/RateSheetClientCreate1.mjs → cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetsListV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/{orgs/resources/orgInfoForConnections/resources/courier → billing/resources/cargoOnFlightRateSheets}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{orgs/resources/orgInfoForConnections/resources/courier → billing/resources/cargoOnFlightRateSheets}/index.mjs +0 -0
- /package/dist/esm/api/resources/{orgs/resources/orgInfoForConnections/resources/forwarder → billing/resources/chrtGroundProviderRateSheets}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{orgs/resources/orgInfoForConnections/resources/forwarder → billing/resources/chrtGroundProviderRateSheets}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/billing/resources/{rateSheets/client/requests/RateSheetClientUpdate1.mjs → chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetClientCreate1.mjs} +0 -0
- /package/dist/esm/api/resources/billing/resources/{rateSheets/client/requests/RateSheetsArchiveV1Request.mjs → chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetClientUpdate1.mjs} +0 -0
- /package/dist/esm/api/resources/billing/resources/{rateSheets/client/requests/RateSheetsListByOrgV1Request.mjs → chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetsListV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/{orgs/resources/orgInfoForConnections/resources/forwarder → billing/resources/chrtGroundProviderRateSheets}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{orgs/resources/orgInfoForConnections/resources/forwarder → billing/resources/chrtGroundProviderRateSheets}/index.mjs +0 -0
- /package/dist/esm/api/resources/billing/resources/{rateSheets/client/requests/RateSheetsUpdateDefaultForConnectionV1Request.mjs → lineItemGroups/client/requests/LineItemGroupAdHocCreateClientReq.mjs} +0 -0
- /package/dist/esm/api/resources/billing/resources/{rateSheets/client/requests/RateSheetsUpdateDefaultForDriverV1Request.mjs → lineItemGroups/client/requests/LineItemGroupsListV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/billing/resources/{rateSheets/client/requests/RateSheetsUpdateDefaultForOffChrtShipperV1Request.mjs → onboardCourierRateSheets/client/requests/OnboardCourierRateSheetClientCreate1.mjs} +0 -0
- /package/dist/esm/api/resources/billing/resources/{rateSheets/client/requests/RateSheetsUpdateOrgDefaultForServiceTypeV1Request.mjs → onboardCourierRateSheets/client/requests/OnboardCourierRateSheetClientUpdate1.mjs} +0 -0
- /package/dist/esm/api/resources/billing/resources/{statements/client/requests/BodyStatementsPatchUpdateOffChrtSettlementStateV1BillingStatementsUpdateOffChrtSettlementStateV1StatementIdPatch.mjs → onboardCourierRateSheets/client/requests/OnboardCourierRateSheetsListV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/billing/resources/{statements/client/requests/BodyStatementsPatchUpdateSettlementTypeV1BillingStatementsUpdateSettlementTypeV1StatementIdPatch.mjs → rateSheetMappings/client/requests/RateSheetMappingClientCreate1.mjs} +0 -0
- /package/dist/esm/api/resources/billing/resources/{statements/client/requests/CreateStatementReq.mjs → rateSheetMappings/client/requests/RateSheetMappingsListV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/billing/resources/statements/client/requests/{OpenInvoiceReq.mjs → StatementCreateClientReq.mjs} +0 -0
- /package/dist/esm/api/resources/{orgs/resources/connections/client/requests/ConnectionsListCouriersV1Request.mjs → billing/resources/statements/client/requests/StatementUpdateSettlementTypeReq.mjs} +0 -0
- /package/dist/esm/api/resources/{orgs/resources/connections/client/requests/ConnectionsListForwardersV1Request.mjs → listing/resources/bidThreads/client/requests/BidThreadClientCreate1.mjs} +0 -0
- /package/dist/esm/api/resources/{orgs/resources/orgInfoForConnections/resources/courier/client/requests/CourierOrgInfoForConnectionsClientCreate1.mjs → listing/resources/bidThreads/client/requests/BidThreadsListForBidderV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/{orgs/resources/orgInfoForConnections/resources/courier/client/requests/CourierOrgInfoForConnectionsClientUpdate1.mjs → listing/resources/bidThreads/client/requests/BidThreadsListForListingV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/{orgs/resources/orgInfoForConnections/resources/forwarder/client/requests/ForwarderOrgInfoForConnectionsClientCreate1.mjs → listing/resources/driverBiddingGroups/client/requests/DriverBiddingGroupClientCreate1.mjs} +0 -0
- /package/dist/esm/api/resources/{orgs/resources/orgInfoForConnections/resources/forwarder/client/requests/ForwarderOrgInfoForConnectionsClientUpdate1.mjs → listing/resources/driverBiddingGroups/client/requests/DriverBiddingGroupsListByOrgV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/{orgs/resources/orgProfiles/client/requests/CourierOrgProfileClientCreate1.mjs → listing/resources/driverBiddingGroups/client/requests/DriverBiddingGroupsUpdateNameV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/{orgs/resources/orgProfiles/client/requests/CourierOrgProfileClientUpdate1.mjs → listing/resources/listings/client/requests/ListingAddDriverParticipantsReq.mjs} +0 -0
- /package/dist/esm/api/resources/{orgs/resources/orgProfiles/client/requests/ForwarderOrgProfileClientCreate1.mjs → listing/resources/listings/client/requests/ListingAddProviderParticipantsReq.mjs} +0 -0
- /package/dist/esm/api/resources/{orgs/resources/orgProfiles/client/requests/ForwarderOrgProfileClientUpdate1.mjs → listing/resources/listings/client/requests/ListingClientCreate1.mjs} +0 -0
- /package/dist/esm/api/resources/{shipping/resources/orderDrafts/resources/taskGroup/client/requests/SetServiceTypeReq.mjs → listing/resources/listings/client/requests/ListingClientUpdate1.mjs} +0 -0
- /package/dist/esm/api/resources/{shipping/resources/orderDrafts/resources/taskGroup/client/requests/UpdateCourierOrgDraftReq.mjs → listing/resources/listings/client/requests/ListingRemoveDriverParticipantsReq.mjs} +0 -0
- /package/dist/esm/api/resources/{shipping/resources/orders/resources/expanded/client/requests/ExpandedListForForwarderOperatorsV1Request.mjs → listing/resources/listings/client/requests/ListingRemoveProviderParticipantsReq.mjs} +0 -0
- /package/dist/esm/api/resources/{shipping/resources/taskGroups/client/requests/UpdateCourierOrgReq.mjs → listing/resources/listings/client/requests/ListingsListByOrgV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/{shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForCourierDriverV1Request.mjs → listing/resources/listings/client/requests/ListingsListForDriverBidderV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/{shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForCourierOperatorsV1Request.mjs → listing/resources/listings/client/requests/ListingsListForProviderBidderV1Request.mjs} +0 -0
- /package/dist/esm/api/{types/CourierConnectionListRes.mjs → resources/listing/resources/orgBiddingGroups/client/requests/OrgBiddingGroupClientCreate1.mjs} +0 -0
- /package/dist/esm/api/{types/CourierConnectionRes.mjs → resources/listing/resources/orgBiddingGroups/client/requests/OrgBiddingGroupsListByOrgV1Request.mjs} +0 -0
- /package/dist/esm/api/{types/CourierOrgInfoForConnections1.mjs → resources/listing/resources/orgBiddingGroups/client/requests/OrgBiddingGroupsUpdateNameV1Request.mjs} +0 -0
- /package/dist/esm/api/{types/CourierOrgProfile1.mjs → resources/operations/resources/cases/client/requests/CaseAddMessageReq.mjs} +0 -0
- /package/dist/esm/api/{types/ForwarderConnectionListRes.mjs → resources/operations/resources/cases/client/requests/CaseAssignReq.mjs} +0 -0
- /package/dist/esm/api/{types/ForwarderConnectionRes.mjs → resources/operations/resources/cases/client/requests/CaseClientUpdate1.mjs} +0 -0
- /package/dist/esm/api/{types/ForwarderCourierConnection1.mjs → resources/operations/resources/cases/client/requests/CaseUnassignReq.mjs} +0 -0
- /package/dist/esm/api/{types/ForwarderOrgInfoForConnections1.mjs → resources/operations/resources/cases/client/requests/CasesListV1Request.mjs} +0 -0
- /package/dist/esm/api/{types/ForwarderOrgProfile1.mjs → resources/operations/resources/departments/client/requests/DepartmentClientCreate1.mjs} +0 -0
- /package/dist/esm/api/{types/OrgProfileRes1.mjs → resources/operations/resources/departments/client/requests/DepartmentClientUpdate1.mjs} +0 -0
- /package/dist/esm/api/{types/Quote.mjs → resources/operations/resources/departments/client/requests/DepartmentsListV1Request.mjs} +0 -0
- /package/dist/esm/api/{types/RateSheet1.mjs → resources/orgs/resources/connections/client/requests/ConnectionsListProvidersV1Request.mjs} +0 -0
- /package/dist/esm/api/{types/RateSheetListResponse.mjs → resources/orgs/resources/connections/client/requests/ProviderProviderUpdateAutoAssignReq.mjs} +0 -0
- /package/dist/esm/api/{types/ShipperCourierConnection1.mjs → resources/orgs/resources/connections/client/requests/SetDepartmentReq.mjs} +0 -0
- /package/dist/esm/api/{types/ShipperForwarderConnection1.mjs → resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientCreate1.mjs} +0 -0
|
@@ -71,7 +71,7 @@ class TaskGroups {
|
|
|
71
71
|
return ((_a = this._expanded) !== null && _a !== void 0 ? _a : (this._expanded = new Client_js_3.Expanded(this._options)));
|
|
72
72
|
}
|
|
73
73
|
/**
|
|
74
|
-
* Starts a task group by transitioning it from STAGED to IN_PROGRESS and syncing related order state. | authz_personas=[
|
|
74
|
+
* Starts a task group by transitioning it from STAGED to IN_PROGRESS and syncing related order state. | authz_personas=[driver_for_executor, executor_org_operators, coordinator_org_operators] | () -> (bool)
|
|
75
75
|
*
|
|
76
76
|
* @param {string} taskGroupId
|
|
77
77
|
* @param {TaskGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -195,7 +195,7 @@ class TaskGroups {
|
|
|
195
195
|
});
|
|
196
196
|
}
|
|
197
197
|
/**
|
|
198
|
-
*
|
|
198
|
+
* Assigns or swaps the driver on a task group. Driver must belong to the task group's executor organization. | authz_personas=[executor_org_operators] | (UpdateDriverReq) -> (bool)
|
|
199
199
|
*
|
|
200
200
|
* @param {string} taskGroupId
|
|
201
201
|
* @param {Chrt.shipping.UpdateDriverReq} request
|
|
@@ -260,7 +260,7 @@ class TaskGroups {
|
|
|
260
260
|
});
|
|
261
261
|
}
|
|
262
262
|
/**
|
|
263
|
-
* Removes the driver from a task group (sets driver_id to null). Allowed when STAGED or IN_PROGRESS (if no tasks have reached a terminal status). | authz_personas=[
|
|
263
|
+
* Removes the driver from a task group (sets driver_id to null). Allowed when STAGED or IN_PROGRESS (if no tasks have reached a terminal status). | authz_personas=[executor_org_operators, driver_for_executor] | () -> (bool)
|
|
264
264
|
*
|
|
265
265
|
* @param {string} taskGroupId
|
|
266
266
|
* @param {TaskGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -319,28 +319,26 @@ class TaskGroups {
|
|
|
319
319
|
});
|
|
320
320
|
}
|
|
321
321
|
/**
|
|
322
|
-
*
|
|
322
|
+
* Assigns an executor organization (on-chrt or off-chrt) to a task group. Coordinator-only. Requires both executor_org_id and off_chrt_executor_org_id to be None (use remove_executor/v1 first to swap). | authz_personas=[coordinator_org_operators] | (AddExecutorReq) -> (bool)
|
|
323
323
|
*
|
|
324
324
|
* @param {string} taskGroupId
|
|
325
|
-
* @param {Chrt.shipping.
|
|
325
|
+
* @param {Chrt.shipping.AddExecutorReq} request
|
|
326
326
|
* @param {TaskGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
327
327
|
*
|
|
328
328
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
329
329
|
*
|
|
330
330
|
* @example
|
|
331
|
-
* await client.shipping.taskGroups.
|
|
332
|
-
* courier_org_id: "courier_org_id"
|
|
333
|
-
* })
|
|
331
|
+
* await client.shipping.taskGroups.addExecutorV1("task_group_id")
|
|
334
332
|
*/
|
|
335
|
-
|
|
336
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
333
|
+
addExecutorV1(taskGroupId, request = {}, requestOptions) {
|
|
334
|
+
return core.HttpResponsePromise.fromPromise(this.__addExecutorV1(taskGroupId, request, requestOptions));
|
|
337
335
|
}
|
|
338
|
-
|
|
339
|
-
return __awaiter(this,
|
|
336
|
+
__addExecutorV1(taskGroupId_1) {
|
|
337
|
+
return __awaiter(this, arguments, void 0, function* (taskGroupId, request = {}, requestOptions) {
|
|
340
338
|
var _a, _b, _c, _d;
|
|
341
339
|
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);
|
|
342
340
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
343
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/task_groups/
|
|
341
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/task_groups/add_executor/v1/${encodeURIComponent(taskGroupId)}`),
|
|
344
342
|
method: "PATCH",
|
|
345
343
|
headers: _headers,
|
|
346
344
|
contentType: "application/json",
|
|
@@ -374,7 +372,7 @@ class TaskGroups {
|
|
|
374
372
|
rawResponse: _response.rawResponse,
|
|
375
373
|
});
|
|
376
374
|
case "timeout":
|
|
377
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /shipping/task_groups/
|
|
375
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /shipping/task_groups/add_executor/v1/{task_group_id}.");
|
|
378
376
|
case "unknown":
|
|
379
377
|
throw new errors.ChrtError({
|
|
380
378
|
message: _response.error.errorMessage,
|
|
@@ -384,26 +382,25 @@ class TaskGroups {
|
|
|
384
382
|
});
|
|
385
383
|
}
|
|
386
384
|
/**
|
|
387
|
-
*
|
|
385
|
+
* Clears the executor on a task group along with the assigned driver and all PPP/PPD billing attachments, returning the TG to executor-less state. Coordinator-only. PPP/PPD LineItemGroup1 and BillingLedgerPeriod1 documents stay alive (orphaned-but-alive); the (ex-)executor disposes of them via their own routes. SPP is unaffected. | authz_personas=[coordinator_org_operators] | () -> (bool)
|
|
388
386
|
*
|
|
389
|
-
* @param {string} rateSheetId
|
|
390
387
|
* @param {string} taskGroupId
|
|
391
388
|
* @param {TaskGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
392
389
|
*
|
|
393
390
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
394
391
|
*
|
|
395
392
|
* @example
|
|
396
|
-
* await client.shipping.taskGroups.
|
|
393
|
+
* await client.shipping.taskGroups.removeExecutorV1("task_group_id")
|
|
397
394
|
*/
|
|
398
|
-
|
|
399
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
395
|
+
removeExecutorV1(taskGroupId, requestOptions) {
|
|
396
|
+
return core.HttpResponsePromise.fromPromise(this.__removeExecutorV1(taskGroupId, requestOptions));
|
|
400
397
|
}
|
|
401
|
-
|
|
398
|
+
__removeExecutorV1(taskGroupId, requestOptions) {
|
|
402
399
|
return __awaiter(this, void 0, void 0, function* () {
|
|
403
400
|
var _a, _b, _c, _d;
|
|
404
401
|
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);
|
|
405
402
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
406
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/task_groups/
|
|
403
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/task_groups/remove_executor/v1/${encodeURIComponent(taskGroupId)}`),
|
|
407
404
|
method: "PATCH",
|
|
408
405
|
headers: _headers,
|
|
409
406
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
@@ -434,7 +431,7 @@ class TaskGroups {
|
|
|
434
431
|
rawResponse: _response.rawResponse,
|
|
435
432
|
});
|
|
436
433
|
case "timeout":
|
|
437
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /shipping/task_groups/
|
|
434
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /shipping/task_groups/remove_executor/v1/{task_group_id}.");
|
|
438
435
|
case "unknown":
|
|
439
436
|
throw new errors.ChrtError({
|
|
440
437
|
message: _response.error.errorMessage,
|
|
@@ -571,6 +568,939 @@ class TaskGroups {
|
|
|
571
568
|
}
|
|
572
569
|
});
|
|
573
570
|
}
|
|
571
|
+
/**
|
|
572
|
+
* Links the operator-supplied OPEN BillingLedgerPeriod to this TaskGroup's SPP vector. Period parties must match the TG's SPP parties. The SPP vector must have no ledger attached and no rate sheet (rate-sheet/ledger exclusivity). Ad-hoc LIGs without a rate sheet may coexist. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[task_group_coordinator_operators] | (AttachBillingLedgerPeriodReq) -> (BillingLedgerPeriod1)
|
|
573
|
+
*
|
|
574
|
+
* @param {string} taskGroupId
|
|
575
|
+
* @param {Chrt.AttachBillingLedgerPeriodReq} request
|
|
576
|
+
* @param {TaskGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
577
|
+
*
|
|
578
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
579
|
+
*
|
|
580
|
+
* @example
|
|
581
|
+
* await client.shipping.taskGroups.attachBillingLedgerPeriodToShipperPayProviderV1("task_group_id", {
|
|
582
|
+
* billing_ledger_period_id: "billing_ledger_period_id"
|
|
583
|
+
* })
|
|
584
|
+
*/
|
|
585
|
+
attachBillingLedgerPeriodToShipperPayProviderV1(taskGroupId, request, requestOptions) {
|
|
586
|
+
return core.HttpResponsePromise.fromPromise(this.__attachBillingLedgerPeriodToShipperPayProviderV1(taskGroupId, request, requestOptions));
|
|
587
|
+
}
|
|
588
|
+
__attachBillingLedgerPeriodToShipperPayProviderV1(taskGroupId, request, requestOptions) {
|
|
589
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
590
|
+
var _a, _b, _c, _d;
|
|
591
|
+
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);
|
|
592
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
593
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/task_groups/attach_billing_ledger_period_to_shipper_pay_provider/v1/${encodeURIComponent(taskGroupId)}`),
|
|
594
|
+
method: "POST",
|
|
595
|
+
headers: _headers,
|
|
596
|
+
contentType: "application/json",
|
|
597
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
598
|
+
requestType: "json",
|
|
599
|
+
body: request,
|
|
600
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
601
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
602
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
603
|
+
});
|
|
604
|
+
if (_response.ok) {
|
|
605
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
606
|
+
}
|
|
607
|
+
if (_response.error.reason === "status-code") {
|
|
608
|
+
switch (_response.error.statusCode) {
|
|
609
|
+
case 422:
|
|
610
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
611
|
+
default:
|
|
612
|
+
throw new errors.ChrtError({
|
|
613
|
+
statusCode: _response.error.statusCode,
|
|
614
|
+
body: _response.error.body,
|
|
615
|
+
rawResponse: _response.rawResponse,
|
|
616
|
+
});
|
|
617
|
+
}
|
|
618
|
+
}
|
|
619
|
+
switch (_response.error.reason) {
|
|
620
|
+
case "non-json":
|
|
621
|
+
throw new errors.ChrtError({
|
|
622
|
+
statusCode: _response.error.statusCode,
|
|
623
|
+
body: _response.error.rawBody,
|
|
624
|
+
rawResponse: _response.rawResponse,
|
|
625
|
+
});
|
|
626
|
+
case "timeout":
|
|
627
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/task_groups/attach_billing_ledger_period_to_shipper_pay_provider/v1/{task_group_id}.");
|
|
628
|
+
case "unknown":
|
|
629
|
+
throw new errors.ChrtError({
|
|
630
|
+
message: _response.error.errorMessage,
|
|
631
|
+
rawResponse: _response.rawResponse,
|
|
632
|
+
});
|
|
633
|
+
}
|
|
634
|
+
});
|
|
635
|
+
}
|
|
636
|
+
/**
|
|
637
|
+
* Links the operator-supplied OPEN BillingLedgerPeriod to this TaskGroup's PPP vector. Period parties must match the TG's PPP parties. The PPP vector must have no ledger attached and no rate sheet (rate-sheet/ledger exclusivity). Ad-hoc LIGs without a rate sheet may coexist. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[task_group_coordinator_operators] | (AttachBillingLedgerPeriodReq) -> (BillingLedgerPeriod1)
|
|
638
|
+
*
|
|
639
|
+
* @param {string} taskGroupId
|
|
640
|
+
* @param {Chrt.AttachBillingLedgerPeriodReq} request
|
|
641
|
+
* @param {TaskGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
642
|
+
*
|
|
643
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
644
|
+
*
|
|
645
|
+
* @example
|
|
646
|
+
* await client.shipping.taskGroups.attachBillingLedgerPeriodToProviderPayProviderV1("task_group_id", {
|
|
647
|
+
* billing_ledger_period_id: "billing_ledger_period_id"
|
|
648
|
+
* })
|
|
649
|
+
*/
|
|
650
|
+
attachBillingLedgerPeriodToProviderPayProviderV1(taskGroupId, request, requestOptions) {
|
|
651
|
+
return core.HttpResponsePromise.fromPromise(this.__attachBillingLedgerPeriodToProviderPayProviderV1(taskGroupId, request, requestOptions));
|
|
652
|
+
}
|
|
653
|
+
__attachBillingLedgerPeriodToProviderPayProviderV1(taskGroupId, request, requestOptions) {
|
|
654
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
655
|
+
var _a, _b, _c, _d;
|
|
656
|
+
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);
|
|
657
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
658
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/task_groups/attach_billing_ledger_period_to_provider_pay_provider/v1/${encodeURIComponent(taskGroupId)}`),
|
|
659
|
+
method: "POST",
|
|
660
|
+
headers: _headers,
|
|
661
|
+
contentType: "application/json",
|
|
662
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
663
|
+
requestType: "json",
|
|
664
|
+
body: request,
|
|
665
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
666
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
667
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
668
|
+
});
|
|
669
|
+
if (_response.ok) {
|
|
670
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
671
|
+
}
|
|
672
|
+
if (_response.error.reason === "status-code") {
|
|
673
|
+
switch (_response.error.statusCode) {
|
|
674
|
+
case 422:
|
|
675
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
676
|
+
default:
|
|
677
|
+
throw new errors.ChrtError({
|
|
678
|
+
statusCode: _response.error.statusCode,
|
|
679
|
+
body: _response.error.body,
|
|
680
|
+
rawResponse: _response.rawResponse,
|
|
681
|
+
});
|
|
682
|
+
}
|
|
683
|
+
}
|
|
684
|
+
switch (_response.error.reason) {
|
|
685
|
+
case "non-json":
|
|
686
|
+
throw new errors.ChrtError({
|
|
687
|
+
statusCode: _response.error.statusCode,
|
|
688
|
+
body: _response.error.rawBody,
|
|
689
|
+
rawResponse: _response.rawResponse,
|
|
690
|
+
});
|
|
691
|
+
case "timeout":
|
|
692
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/task_groups/attach_billing_ledger_period_to_provider_pay_provider/v1/{task_group_id}.");
|
|
693
|
+
case "unknown":
|
|
694
|
+
throw new errors.ChrtError({
|
|
695
|
+
message: _response.error.errorMessage,
|
|
696
|
+
rawResponse: _response.rawResponse,
|
|
697
|
+
});
|
|
698
|
+
}
|
|
699
|
+
});
|
|
700
|
+
}
|
|
701
|
+
/**
|
|
702
|
+
* Links the operator-supplied OPEN BillingLedgerPeriod to this TaskGroup's PPD vector. Period parties must match the TG's PPD parties. The PPD vector must have no ledger attached and no rate sheet (rate-sheet/ledger exclusivity). Ad-hoc LIGs without a rate sheet may coexist. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[executor_org_operators] | (AttachBillingLedgerPeriodReq) -> (BillingLedgerPeriod1)
|
|
703
|
+
*
|
|
704
|
+
* @param {string} taskGroupId
|
|
705
|
+
* @param {Chrt.AttachBillingLedgerPeriodReq} request
|
|
706
|
+
* @param {TaskGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
707
|
+
*
|
|
708
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
709
|
+
*
|
|
710
|
+
* @example
|
|
711
|
+
* await client.shipping.taskGroups.attachBillingLedgerPeriodToProviderPayDriverV1("task_group_id", {
|
|
712
|
+
* billing_ledger_period_id: "billing_ledger_period_id"
|
|
713
|
+
* })
|
|
714
|
+
*/
|
|
715
|
+
attachBillingLedgerPeriodToProviderPayDriverV1(taskGroupId, request, requestOptions) {
|
|
716
|
+
return core.HttpResponsePromise.fromPromise(this.__attachBillingLedgerPeriodToProviderPayDriverV1(taskGroupId, request, requestOptions));
|
|
717
|
+
}
|
|
718
|
+
__attachBillingLedgerPeriodToProviderPayDriverV1(taskGroupId, request, requestOptions) {
|
|
719
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
720
|
+
var _a, _b, _c, _d;
|
|
721
|
+
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);
|
|
722
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
723
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/task_groups/attach_billing_ledger_period_to_provider_pay_driver/v1/${encodeURIComponent(taskGroupId)}`),
|
|
724
|
+
method: "POST",
|
|
725
|
+
headers: _headers,
|
|
726
|
+
contentType: "application/json",
|
|
727
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
728
|
+
requestType: "json",
|
|
729
|
+
body: request,
|
|
730
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
731
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
732
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
733
|
+
});
|
|
734
|
+
if (_response.ok) {
|
|
735
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
736
|
+
}
|
|
737
|
+
if (_response.error.reason === "status-code") {
|
|
738
|
+
switch (_response.error.statusCode) {
|
|
739
|
+
case 422:
|
|
740
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
741
|
+
default:
|
|
742
|
+
throw new errors.ChrtError({
|
|
743
|
+
statusCode: _response.error.statusCode,
|
|
744
|
+
body: _response.error.body,
|
|
745
|
+
rawResponse: _response.rawResponse,
|
|
746
|
+
});
|
|
747
|
+
}
|
|
748
|
+
}
|
|
749
|
+
switch (_response.error.reason) {
|
|
750
|
+
case "non-json":
|
|
751
|
+
throw new errors.ChrtError({
|
|
752
|
+
statusCode: _response.error.statusCode,
|
|
753
|
+
body: _response.error.rawBody,
|
|
754
|
+
rawResponse: _response.rawResponse,
|
|
755
|
+
});
|
|
756
|
+
case "timeout":
|
|
757
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/task_groups/attach_billing_ledger_period_to_provider_pay_driver/v1/{task_group_id}.");
|
|
758
|
+
case "unknown":
|
|
759
|
+
throw new errors.ChrtError({
|
|
760
|
+
message: _response.error.errorMessage,
|
|
761
|
+
rawResponse: _response.rawResponse,
|
|
762
|
+
});
|
|
763
|
+
}
|
|
764
|
+
});
|
|
765
|
+
}
|
|
766
|
+
/**
|
|
767
|
+
* Detaches the SPP billing ledger period from this TaskGroup. Reverses attach_billing_ledger_period_to_shipper_pay_provider/v1. Linked period must be OPEN. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[task_group_coordinator_operators] | () -> (bool)
|
|
768
|
+
*
|
|
769
|
+
* @param {string} taskGroupId
|
|
770
|
+
* @param {TaskGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
771
|
+
*
|
|
772
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
773
|
+
*
|
|
774
|
+
* @example
|
|
775
|
+
* await client.shipping.taskGroups.detachBillingLedgerPeriodFromShipperPayProviderV1("task_group_id")
|
|
776
|
+
*/
|
|
777
|
+
detachBillingLedgerPeriodFromShipperPayProviderV1(taskGroupId, requestOptions) {
|
|
778
|
+
return core.HttpResponsePromise.fromPromise(this.__detachBillingLedgerPeriodFromShipperPayProviderV1(taskGroupId, requestOptions));
|
|
779
|
+
}
|
|
780
|
+
__detachBillingLedgerPeriodFromShipperPayProviderV1(taskGroupId, requestOptions) {
|
|
781
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
782
|
+
var _a, _b, _c, _d;
|
|
783
|
+
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);
|
|
784
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
785
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/task_groups/detach_billing_ledger_period_from_shipper_pay_provider/v1/${encodeURIComponent(taskGroupId)}`),
|
|
786
|
+
method: "DELETE",
|
|
787
|
+
headers: _headers,
|
|
788
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
789
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
790
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
791
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
792
|
+
});
|
|
793
|
+
if (_response.ok) {
|
|
794
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
795
|
+
}
|
|
796
|
+
if (_response.error.reason === "status-code") {
|
|
797
|
+
switch (_response.error.statusCode) {
|
|
798
|
+
case 422:
|
|
799
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
800
|
+
default:
|
|
801
|
+
throw new errors.ChrtError({
|
|
802
|
+
statusCode: _response.error.statusCode,
|
|
803
|
+
body: _response.error.body,
|
|
804
|
+
rawResponse: _response.rawResponse,
|
|
805
|
+
});
|
|
806
|
+
}
|
|
807
|
+
}
|
|
808
|
+
switch (_response.error.reason) {
|
|
809
|
+
case "non-json":
|
|
810
|
+
throw new errors.ChrtError({
|
|
811
|
+
statusCode: _response.error.statusCode,
|
|
812
|
+
body: _response.error.rawBody,
|
|
813
|
+
rawResponse: _response.rawResponse,
|
|
814
|
+
});
|
|
815
|
+
case "timeout":
|
|
816
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling DELETE /shipping/task_groups/detach_billing_ledger_period_from_shipper_pay_provider/v1/{task_group_id}.");
|
|
817
|
+
case "unknown":
|
|
818
|
+
throw new errors.ChrtError({
|
|
819
|
+
message: _response.error.errorMessage,
|
|
820
|
+
rawResponse: _response.rawResponse,
|
|
821
|
+
});
|
|
822
|
+
}
|
|
823
|
+
});
|
|
824
|
+
}
|
|
825
|
+
/**
|
|
826
|
+
* Detaches the PPP billing ledger period from this TaskGroup. Reverses attach_billing_ledger_period_to_provider_pay_provider/v1. Linked period must be OPEN. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[task_group_coordinator_operators] | () -> (bool)
|
|
827
|
+
*
|
|
828
|
+
* @param {string} taskGroupId
|
|
829
|
+
* @param {TaskGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
830
|
+
*
|
|
831
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
832
|
+
*
|
|
833
|
+
* @example
|
|
834
|
+
* await client.shipping.taskGroups.detachBillingLedgerPeriodFromProviderPayProviderV1("task_group_id")
|
|
835
|
+
*/
|
|
836
|
+
detachBillingLedgerPeriodFromProviderPayProviderV1(taskGroupId, requestOptions) {
|
|
837
|
+
return core.HttpResponsePromise.fromPromise(this.__detachBillingLedgerPeriodFromProviderPayProviderV1(taskGroupId, requestOptions));
|
|
838
|
+
}
|
|
839
|
+
__detachBillingLedgerPeriodFromProviderPayProviderV1(taskGroupId, requestOptions) {
|
|
840
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
841
|
+
var _a, _b, _c, _d;
|
|
842
|
+
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);
|
|
843
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
844
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/task_groups/detach_billing_ledger_period_from_provider_pay_provider/v1/${encodeURIComponent(taskGroupId)}`),
|
|
845
|
+
method: "DELETE",
|
|
846
|
+
headers: _headers,
|
|
847
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
848
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
849
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
850
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
851
|
+
});
|
|
852
|
+
if (_response.ok) {
|
|
853
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
854
|
+
}
|
|
855
|
+
if (_response.error.reason === "status-code") {
|
|
856
|
+
switch (_response.error.statusCode) {
|
|
857
|
+
case 422:
|
|
858
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
859
|
+
default:
|
|
860
|
+
throw new errors.ChrtError({
|
|
861
|
+
statusCode: _response.error.statusCode,
|
|
862
|
+
body: _response.error.body,
|
|
863
|
+
rawResponse: _response.rawResponse,
|
|
864
|
+
});
|
|
865
|
+
}
|
|
866
|
+
}
|
|
867
|
+
switch (_response.error.reason) {
|
|
868
|
+
case "non-json":
|
|
869
|
+
throw new errors.ChrtError({
|
|
870
|
+
statusCode: _response.error.statusCode,
|
|
871
|
+
body: _response.error.rawBody,
|
|
872
|
+
rawResponse: _response.rawResponse,
|
|
873
|
+
});
|
|
874
|
+
case "timeout":
|
|
875
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling DELETE /shipping/task_groups/detach_billing_ledger_period_from_provider_pay_provider/v1/{task_group_id}.");
|
|
876
|
+
case "unknown":
|
|
877
|
+
throw new errors.ChrtError({
|
|
878
|
+
message: _response.error.errorMessage,
|
|
879
|
+
rawResponse: _response.rawResponse,
|
|
880
|
+
});
|
|
881
|
+
}
|
|
882
|
+
});
|
|
883
|
+
}
|
|
884
|
+
/**
|
|
885
|
+
* Detaches the PPD billing ledger period from this TaskGroup. Reverses attach_billing_ledger_period_to_provider_pay_driver/v1. Linked period must be OPEN. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[executor_org_operators] | () -> (bool)
|
|
886
|
+
*
|
|
887
|
+
* @param {string} taskGroupId
|
|
888
|
+
* @param {TaskGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
889
|
+
*
|
|
890
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
891
|
+
*
|
|
892
|
+
* @example
|
|
893
|
+
* await client.shipping.taskGroups.detachBillingLedgerPeriodFromProviderPayDriverV1("task_group_id")
|
|
894
|
+
*/
|
|
895
|
+
detachBillingLedgerPeriodFromProviderPayDriverV1(taskGroupId, requestOptions) {
|
|
896
|
+
return core.HttpResponsePromise.fromPromise(this.__detachBillingLedgerPeriodFromProviderPayDriverV1(taskGroupId, requestOptions));
|
|
897
|
+
}
|
|
898
|
+
__detachBillingLedgerPeriodFromProviderPayDriverV1(taskGroupId, requestOptions) {
|
|
899
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
900
|
+
var _a, _b, _c, _d;
|
|
901
|
+
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);
|
|
902
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
903
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/task_groups/detach_billing_ledger_period_from_provider_pay_driver/v1/${encodeURIComponent(taskGroupId)}`),
|
|
904
|
+
method: "DELETE",
|
|
905
|
+
headers: _headers,
|
|
906
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
907
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
908
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
909
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
910
|
+
});
|
|
911
|
+
if (_response.ok) {
|
|
912
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
913
|
+
}
|
|
914
|
+
if (_response.error.reason === "status-code") {
|
|
915
|
+
switch (_response.error.statusCode) {
|
|
916
|
+
case 422:
|
|
917
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
918
|
+
default:
|
|
919
|
+
throw new errors.ChrtError({
|
|
920
|
+
statusCode: _response.error.statusCode,
|
|
921
|
+
body: _response.error.body,
|
|
922
|
+
rawResponse: _response.rawResponse,
|
|
923
|
+
});
|
|
924
|
+
}
|
|
925
|
+
}
|
|
926
|
+
switch (_response.error.reason) {
|
|
927
|
+
case "non-json":
|
|
928
|
+
throw new errors.ChrtError({
|
|
929
|
+
statusCode: _response.error.statusCode,
|
|
930
|
+
body: _response.error.rawBody,
|
|
931
|
+
rawResponse: _response.rawResponse,
|
|
932
|
+
});
|
|
933
|
+
case "timeout":
|
|
934
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling DELETE /shipping/task_groups/detach_billing_ledger_period_from_provider_pay_driver/v1/{task_group_id}.");
|
|
935
|
+
case "unknown":
|
|
936
|
+
throw new errors.ChrtError({
|
|
937
|
+
message: _response.error.errorMessage,
|
|
938
|
+
rawResponse: _response.rawResponse,
|
|
939
|
+
});
|
|
940
|
+
}
|
|
941
|
+
});
|
|
942
|
+
}
|
|
943
|
+
/**
|
|
944
|
+
* Attaches a STAGED, detached LineItemGroup to the SPP vector AND sets `LineItemGroup1.task_group_id` (one txn). The LIG must have `task_group_id is None`, be owned by the coordinator, and be party-matched to SPP. The SPP vector must have no LIG attached; if the LIG carries `rate_sheet_id`, no billing ledger period may be attached either (rate-sheet/ledger exclusivity). The LIG's `rate_sheet_id` is stamped onto `shipper_pay_provider_rate_sheet_id` as a breadcrumb. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[task_group_coordinator_operators] | (AttachLigToVectorClientReq) -> (bool)
|
|
945
|
+
*
|
|
946
|
+
* @param {string} taskGroupId
|
|
947
|
+
* @param {Chrt.AttachLigToVectorClientReq} request
|
|
948
|
+
* @param {TaskGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
949
|
+
*
|
|
950
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
951
|
+
*
|
|
952
|
+
* @example
|
|
953
|
+
* await client.shipping.taskGroups.attachLigToShipperPayProviderV1("task_group_id", {
|
|
954
|
+
* line_item_group_id: "line_item_group_id"
|
|
955
|
+
* })
|
|
956
|
+
*/
|
|
957
|
+
attachLigToShipperPayProviderV1(taskGroupId, request, requestOptions) {
|
|
958
|
+
return core.HttpResponsePromise.fromPromise(this.__attachLigToShipperPayProviderV1(taskGroupId, request, requestOptions));
|
|
959
|
+
}
|
|
960
|
+
__attachLigToShipperPayProviderV1(taskGroupId, request, requestOptions) {
|
|
961
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
962
|
+
var _a, _b, _c, _d;
|
|
963
|
+
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);
|
|
964
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
965
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/task_groups/attach_lig_to_shipper_pay_provider/v1/${encodeURIComponent(taskGroupId)}`),
|
|
966
|
+
method: "POST",
|
|
967
|
+
headers: _headers,
|
|
968
|
+
contentType: "application/json",
|
|
969
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
970
|
+
requestType: "json",
|
|
971
|
+
body: request,
|
|
972
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
973
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
974
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
975
|
+
});
|
|
976
|
+
if (_response.ok) {
|
|
977
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
978
|
+
}
|
|
979
|
+
if (_response.error.reason === "status-code") {
|
|
980
|
+
switch (_response.error.statusCode) {
|
|
981
|
+
case 422:
|
|
982
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
983
|
+
default:
|
|
984
|
+
throw new errors.ChrtError({
|
|
985
|
+
statusCode: _response.error.statusCode,
|
|
986
|
+
body: _response.error.body,
|
|
987
|
+
rawResponse: _response.rawResponse,
|
|
988
|
+
});
|
|
989
|
+
}
|
|
990
|
+
}
|
|
991
|
+
switch (_response.error.reason) {
|
|
992
|
+
case "non-json":
|
|
993
|
+
throw new errors.ChrtError({
|
|
994
|
+
statusCode: _response.error.statusCode,
|
|
995
|
+
body: _response.error.rawBody,
|
|
996
|
+
rawResponse: _response.rawResponse,
|
|
997
|
+
});
|
|
998
|
+
case "timeout":
|
|
999
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/task_groups/attach_lig_to_shipper_pay_provider/v1/{task_group_id}.");
|
|
1000
|
+
case "unknown":
|
|
1001
|
+
throw new errors.ChrtError({
|
|
1002
|
+
message: _response.error.errorMessage,
|
|
1003
|
+
rawResponse: _response.rawResponse,
|
|
1004
|
+
});
|
|
1005
|
+
}
|
|
1006
|
+
});
|
|
1007
|
+
}
|
|
1008
|
+
/**
|
|
1009
|
+
* Attaches a STAGED, detached LineItemGroup to the PPP vector AND sets `LineItemGroup1.task_group_id` (one txn). The LIG must have `task_group_id is None`, be owned by the coordinator, and be party-matched to PPP. The PPP vector must have no LIG attached; if the LIG carries `rate_sheet_id`, no billing ledger period may be attached either (rate-sheet/ledger exclusivity). The LIG's `rate_sheet_id` is stamped onto `provider_pay_provider_rate_sheet_id` as a breadcrumb. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[task_group_coordinator_operators] | (AttachLigToVectorClientReq) -> (bool)
|
|
1010
|
+
*
|
|
1011
|
+
* @param {string} taskGroupId
|
|
1012
|
+
* @param {Chrt.AttachLigToVectorClientReq} request
|
|
1013
|
+
* @param {TaskGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
1014
|
+
*
|
|
1015
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
1016
|
+
*
|
|
1017
|
+
* @example
|
|
1018
|
+
* await client.shipping.taskGroups.attachLigToProviderPayProviderV1("task_group_id", {
|
|
1019
|
+
* line_item_group_id: "line_item_group_id"
|
|
1020
|
+
* })
|
|
1021
|
+
*/
|
|
1022
|
+
attachLigToProviderPayProviderV1(taskGroupId, request, requestOptions) {
|
|
1023
|
+
return core.HttpResponsePromise.fromPromise(this.__attachLigToProviderPayProviderV1(taskGroupId, request, requestOptions));
|
|
1024
|
+
}
|
|
1025
|
+
__attachLigToProviderPayProviderV1(taskGroupId, request, requestOptions) {
|
|
1026
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1027
|
+
var _a, _b, _c, _d;
|
|
1028
|
+
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);
|
|
1029
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1030
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/task_groups/attach_lig_to_provider_pay_provider/v1/${encodeURIComponent(taskGroupId)}`),
|
|
1031
|
+
method: "POST",
|
|
1032
|
+
headers: _headers,
|
|
1033
|
+
contentType: "application/json",
|
|
1034
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
1035
|
+
requestType: "json",
|
|
1036
|
+
body: request,
|
|
1037
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
1038
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
1039
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1040
|
+
});
|
|
1041
|
+
if (_response.ok) {
|
|
1042
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
1043
|
+
}
|
|
1044
|
+
if (_response.error.reason === "status-code") {
|
|
1045
|
+
switch (_response.error.statusCode) {
|
|
1046
|
+
case 422:
|
|
1047
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
1048
|
+
default:
|
|
1049
|
+
throw new errors.ChrtError({
|
|
1050
|
+
statusCode: _response.error.statusCode,
|
|
1051
|
+
body: _response.error.body,
|
|
1052
|
+
rawResponse: _response.rawResponse,
|
|
1053
|
+
});
|
|
1054
|
+
}
|
|
1055
|
+
}
|
|
1056
|
+
switch (_response.error.reason) {
|
|
1057
|
+
case "non-json":
|
|
1058
|
+
throw new errors.ChrtError({
|
|
1059
|
+
statusCode: _response.error.statusCode,
|
|
1060
|
+
body: _response.error.rawBody,
|
|
1061
|
+
rawResponse: _response.rawResponse,
|
|
1062
|
+
});
|
|
1063
|
+
case "timeout":
|
|
1064
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/task_groups/attach_lig_to_provider_pay_provider/v1/{task_group_id}.");
|
|
1065
|
+
case "unknown":
|
|
1066
|
+
throw new errors.ChrtError({
|
|
1067
|
+
message: _response.error.errorMessage,
|
|
1068
|
+
rawResponse: _response.rawResponse,
|
|
1069
|
+
});
|
|
1070
|
+
}
|
|
1071
|
+
});
|
|
1072
|
+
}
|
|
1073
|
+
/**
|
|
1074
|
+
* Attaches a STAGED, detached LineItemGroup to the PPD vector AND sets `LineItemGroup1.task_group_id` (one txn). The LIG must have `task_group_id is None`, be owned by the executor, and be party-matched to PPD. The PPD vector must have no LIG attached; if the LIG carries `rate_sheet_id`, no billing ledger period may be attached either (rate-sheet/ledger exclusivity). The LIG's `rate_sheet_id` is stamped onto `provider_pay_driver_rate_sheet_id` as a breadcrumb. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[executor_org_operators] | (AttachLigToVectorClientReq) -> (bool)
|
|
1075
|
+
*
|
|
1076
|
+
* @param {string} taskGroupId
|
|
1077
|
+
* @param {Chrt.AttachLigToVectorClientReq} request
|
|
1078
|
+
* @param {TaskGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
1079
|
+
*
|
|
1080
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
1081
|
+
*
|
|
1082
|
+
* @example
|
|
1083
|
+
* await client.shipping.taskGroups.attachLigToProviderPayDriverV1("task_group_id", {
|
|
1084
|
+
* line_item_group_id: "line_item_group_id"
|
|
1085
|
+
* })
|
|
1086
|
+
*/
|
|
1087
|
+
attachLigToProviderPayDriverV1(taskGroupId, request, requestOptions) {
|
|
1088
|
+
return core.HttpResponsePromise.fromPromise(this.__attachLigToProviderPayDriverV1(taskGroupId, request, requestOptions));
|
|
1089
|
+
}
|
|
1090
|
+
__attachLigToProviderPayDriverV1(taskGroupId, request, requestOptions) {
|
|
1091
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1092
|
+
var _a, _b, _c, _d;
|
|
1093
|
+
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);
|
|
1094
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1095
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/task_groups/attach_lig_to_provider_pay_driver/v1/${encodeURIComponent(taskGroupId)}`),
|
|
1096
|
+
method: "POST",
|
|
1097
|
+
headers: _headers,
|
|
1098
|
+
contentType: "application/json",
|
|
1099
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
1100
|
+
requestType: "json",
|
|
1101
|
+
body: request,
|
|
1102
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
1103
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
1104
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1105
|
+
});
|
|
1106
|
+
if (_response.ok) {
|
|
1107
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
1108
|
+
}
|
|
1109
|
+
if (_response.error.reason === "status-code") {
|
|
1110
|
+
switch (_response.error.statusCode) {
|
|
1111
|
+
case 422:
|
|
1112
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
1113
|
+
default:
|
|
1114
|
+
throw new errors.ChrtError({
|
|
1115
|
+
statusCode: _response.error.statusCode,
|
|
1116
|
+
body: _response.error.body,
|
|
1117
|
+
rawResponse: _response.rawResponse,
|
|
1118
|
+
});
|
|
1119
|
+
}
|
|
1120
|
+
}
|
|
1121
|
+
switch (_response.error.reason) {
|
|
1122
|
+
case "non-json":
|
|
1123
|
+
throw new errors.ChrtError({
|
|
1124
|
+
statusCode: _response.error.statusCode,
|
|
1125
|
+
body: _response.error.rawBody,
|
|
1126
|
+
rawResponse: _response.rawResponse,
|
|
1127
|
+
});
|
|
1128
|
+
case "timeout":
|
|
1129
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/task_groups/attach_lig_to_provider_pay_driver/v1/{task_group_id}.");
|
|
1130
|
+
case "unknown":
|
|
1131
|
+
throw new errors.ChrtError({
|
|
1132
|
+
message: _response.error.errorMessage,
|
|
1133
|
+
rawResponse: _response.rawResponse,
|
|
1134
|
+
});
|
|
1135
|
+
}
|
|
1136
|
+
});
|
|
1137
|
+
}
|
|
1138
|
+
/**
|
|
1139
|
+
* Clears the SPP vector's `_line_item_group_id` and `_rate_sheet_id` AND clears the LIG's `task_group_id` back-ref (one txn). The LIG document and its line items remain alive but fully detached on both sides. The SPP vector must currently have a LIG attached. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[task_group_coordinator_operators] | () -> (bool)
|
|
1140
|
+
*
|
|
1141
|
+
* @param {string} taskGroupId
|
|
1142
|
+
* @param {TaskGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
1143
|
+
*
|
|
1144
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
1145
|
+
*
|
|
1146
|
+
* @example
|
|
1147
|
+
* await client.shipping.taskGroups.detachLigFromShipperPayProviderV1("task_group_id")
|
|
1148
|
+
*/
|
|
1149
|
+
detachLigFromShipperPayProviderV1(taskGroupId, requestOptions) {
|
|
1150
|
+
return core.HttpResponsePromise.fromPromise(this.__detachLigFromShipperPayProviderV1(taskGroupId, requestOptions));
|
|
1151
|
+
}
|
|
1152
|
+
__detachLigFromShipperPayProviderV1(taskGroupId, requestOptions) {
|
|
1153
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1154
|
+
var _a, _b, _c, _d;
|
|
1155
|
+
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);
|
|
1156
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1157
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/task_groups/detach_lig_from_shipper_pay_provider/v1/${encodeURIComponent(taskGroupId)}`),
|
|
1158
|
+
method: "DELETE",
|
|
1159
|
+
headers: _headers,
|
|
1160
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
1161
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
1162
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
1163
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1164
|
+
});
|
|
1165
|
+
if (_response.ok) {
|
|
1166
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
1167
|
+
}
|
|
1168
|
+
if (_response.error.reason === "status-code") {
|
|
1169
|
+
switch (_response.error.statusCode) {
|
|
1170
|
+
case 422:
|
|
1171
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
1172
|
+
default:
|
|
1173
|
+
throw new errors.ChrtError({
|
|
1174
|
+
statusCode: _response.error.statusCode,
|
|
1175
|
+
body: _response.error.body,
|
|
1176
|
+
rawResponse: _response.rawResponse,
|
|
1177
|
+
});
|
|
1178
|
+
}
|
|
1179
|
+
}
|
|
1180
|
+
switch (_response.error.reason) {
|
|
1181
|
+
case "non-json":
|
|
1182
|
+
throw new errors.ChrtError({
|
|
1183
|
+
statusCode: _response.error.statusCode,
|
|
1184
|
+
body: _response.error.rawBody,
|
|
1185
|
+
rawResponse: _response.rawResponse,
|
|
1186
|
+
});
|
|
1187
|
+
case "timeout":
|
|
1188
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling DELETE /shipping/task_groups/detach_lig_from_shipper_pay_provider/v1/{task_group_id}.");
|
|
1189
|
+
case "unknown":
|
|
1190
|
+
throw new errors.ChrtError({
|
|
1191
|
+
message: _response.error.errorMessage,
|
|
1192
|
+
rawResponse: _response.rawResponse,
|
|
1193
|
+
});
|
|
1194
|
+
}
|
|
1195
|
+
});
|
|
1196
|
+
}
|
|
1197
|
+
/**
|
|
1198
|
+
* Clears the PPP vector's `_line_item_group_id` and `_rate_sheet_id` AND clears the LIG's `task_group_id` back-ref (one txn). The LIG document and its line items remain alive but fully detached on both sides. The PPP vector must currently have a LIG attached. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[task_group_coordinator_operators] | () -> (bool)
|
|
1199
|
+
*
|
|
1200
|
+
* @param {string} taskGroupId
|
|
1201
|
+
* @param {TaskGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
1202
|
+
*
|
|
1203
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
1204
|
+
*
|
|
1205
|
+
* @example
|
|
1206
|
+
* await client.shipping.taskGroups.detachLigFromProviderPayProviderV1("task_group_id")
|
|
1207
|
+
*/
|
|
1208
|
+
detachLigFromProviderPayProviderV1(taskGroupId, requestOptions) {
|
|
1209
|
+
return core.HttpResponsePromise.fromPromise(this.__detachLigFromProviderPayProviderV1(taskGroupId, requestOptions));
|
|
1210
|
+
}
|
|
1211
|
+
__detachLigFromProviderPayProviderV1(taskGroupId, requestOptions) {
|
|
1212
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1213
|
+
var _a, _b, _c, _d;
|
|
1214
|
+
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);
|
|
1215
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1216
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/task_groups/detach_lig_from_provider_pay_provider/v1/${encodeURIComponent(taskGroupId)}`),
|
|
1217
|
+
method: "DELETE",
|
|
1218
|
+
headers: _headers,
|
|
1219
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
1220
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
1221
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
1222
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1223
|
+
});
|
|
1224
|
+
if (_response.ok) {
|
|
1225
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
1226
|
+
}
|
|
1227
|
+
if (_response.error.reason === "status-code") {
|
|
1228
|
+
switch (_response.error.statusCode) {
|
|
1229
|
+
case 422:
|
|
1230
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
1231
|
+
default:
|
|
1232
|
+
throw new errors.ChrtError({
|
|
1233
|
+
statusCode: _response.error.statusCode,
|
|
1234
|
+
body: _response.error.body,
|
|
1235
|
+
rawResponse: _response.rawResponse,
|
|
1236
|
+
});
|
|
1237
|
+
}
|
|
1238
|
+
}
|
|
1239
|
+
switch (_response.error.reason) {
|
|
1240
|
+
case "non-json":
|
|
1241
|
+
throw new errors.ChrtError({
|
|
1242
|
+
statusCode: _response.error.statusCode,
|
|
1243
|
+
body: _response.error.rawBody,
|
|
1244
|
+
rawResponse: _response.rawResponse,
|
|
1245
|
+
});
|
|
1246
|
+
case "timeout":
|
|
1247
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling DELETE /shipping/task_groups/detach_lig_from_provider_pay_provider/v1/{task_group_id}.");
|
|
1248
|
+
case "unknown":
|
|
1249
|
+
throw new errors.ChrtError({
|
|
1250
|
+
message: _response.error.errorMessage,
|
|
1251
|
+
rawResponse: _response.rawResponse,
|
|
1252
|
+
});
|
|
1253
|
+
}
|
|
1254
|
+
});
|
|
1255
|
+
}
|
|
1256
|
+
/**
|
|
1257
|
+
* Clears the PPD vector's `_line_item_group_id` and `_rate_sheet_id` AND clears the LIG's `task_group_id` back-ref (one txn). The LIG document and its line items remain alive but fully detached on both sides. The PPD vector must currently have a LIG attached. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[executor_org_operators] | () -> (bool)
|
|
1258
|
+
*
|
|
1259
|
+
* @param {string} taskGroupId
|
|
1260
|
+
* @param {TaskGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
1261
|
+
*
|
|
1262
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
1263
|
+
*
|
|
1264
|
+
* @example
|
|
1265
|
+
* await client.shipping.taskGroups.detachLigFromProviderPayDriverV1("task_group_id")
|
|
1266
|
+
*/
|
|
1267
|
+
detachLigFromProviderPayDriverV1(taskGroupId, requestOptions) {
|
|
1268
|
+
return core.HttpResponsePromise.fromPromise(this.__detachLigFromProviderPayDriverV1(taskGroupId, requestOptions));
|
|
1269
|
+
}
|
|
1270
|
+
__detachLigFromProviderPayDriverV1(taskGroupId, requestOptions) {
|
|
1271
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1272
|
+
var _a, _b, _c, _d;
|
|
1273
|
+
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);
|
|
1274
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1275
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/task_groups/detach_lig_from_provider_pay_driver/v1/${encodeURIComponent(taskGroupId)}`),
|
|
1276
|
+
method: "DELETE",
|
|
1277
|
+
headers: _headers,
|
|
1278
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
1279
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
1280
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
1281
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1282
|
+
});
|
|
1283
|
+
if (_response.ok) {
|
|
1284
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
1285
|
+
}
|
|
1286
|
+
if (_response.error.reason === "status-code") {
|
|
1287
|
+
switch (_response.error.statusCode) {
|
|
1288
|
+
case 422:
|
|
1289
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
1290
|
+
default:
|
|
1291
|
+
throw new errors.ChrtError({
|
|
1292
|
+
statusCode: _response.error.statusCode,
|
|
1293
|
+
body: _response.error.body,
|
|
1294
|
+
rawResponse: _response.rawResponse,
|
|
1295
|
+
});
|
|
1296
|
+
}
|
|
1297
|
+
}
|
|
1298
|
+
switch (_response.error.reason) {
|
|
1299
|
+
case "non-json":
|
|
1300
|
+
throw new errors.ChrtError({
|
|
1301
|
+
statusCode: _response.error.statusCode,
|
|
1302
|
+
body: _response.error.rawBody,
|
|
1303
|
+
rawResponse: _response.rawResponse,
|
|
1304
|
+
});
|
|
1305
|
+
case "timeout":
|
|
1306
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling DELETE /shipping/task_groups/detach_lig_from_provider_pay_driver/v1/{task_group_id}.");
|
|
1307
|
+
case "unknown":
|
|
1308
|
+
throw new errors.ChrtError({
|
|
1309
|
+
message: _response.error.errorMessage,
|
|
1310
|
+
rawResponse: _response.rawResponse,
|
|
1311
|
+
});
|
|
1312
|
+
}
|
|
1313
|
+
});
|
|
1314
|
+
}
|
|
1315
|
+
/**
|
|
1316
|
+
* Preview the LineItem materialization that would result from applying a rate sheet to the SPP vector of the named TaskGroup. Returns the resolved rate sheet, materialized LineItems (NOT inserted), the pre-adjustment total, and the derived parties (shipper -> coordinator). Auto-resolves the rate sheet via RateSheetMapping1 unless body.rate_sheet_id is provided. No DB writes — operator can iterate freely. To commit, call from_rate_sheet/create_for_shipper_pay_provider/v1 then attach_lig_to_shipper_pay_provider/v1. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[task_group_coordinator_operators] | (TaskGroupQuoteClientReq) -> (TaskGroupQuoteResp)
|
|
1317
|
+
*
|
|
1318
|
+
* @param {string} taskGroupId
|
|
1319
|
+
* @param {Chrt.TaskGroupQuoteClientReq} request
|
|
1320
|
+
* @param {TaskGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
1321
|
+
*
|
|
1322
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
1323
|
+
*
|
|
1324
|
+
* @example
|
|
1325
|
+
* await client.shipping.taskGroups.quoteForShipperPayProviderV1("task_group_id", {})
|
|
1326
|
+
*/
|
|
1327
|
+
quoteForShipperPayProviderV1(taskGroupId, request, requestOptions) {
|
|
1328
|
+
return core.HttpResponsePromise.fromPromise(this.__quoteForShipperPayProviderV1(taskGroupId, request, requestOptions));
|
|
1329
|
+
}
|
|
1330
|
+
__quoteForShipperPayProviderV1(taskGroupId, request, requestOptions) {
|
|
1331
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1332
|
+
var _a, _b, _c, _d;
|
|
1333
|
+
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);
|
|
1334
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1335
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/task_groups/quote_for_shipper_pay_provider/v1/${encodeURIComponent(taskGroupId)}`),
|
|
1336
|
+
method: "POST",
|
|
1337
|
+
headers: _headers,
|
|
1338
|
+
contentType: "application/json",
|
|
1339
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
1340
|
+
requestType: "json",
|
|
1341
|
+
body: request,
|
|
1342
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
1343
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
1344
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1345
|
+
});
|
|
1346
|
+
if (_response.ok) {
|
|
1347
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
1348
|
+
}
|
|
1349
|
+
if (_response.error.reason === "status-code") {
|
|
1350
|
+
switch (_response.error.statusCode) {
|
|
1351
|
+
case 422:
|
|
1352
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
1353
|
+
default:
|
|
1354
|
+
throw new errors.ChrtError({
|
|
1355
|
+
statusCode: _response.error.statusCode,
|
|
1356
|
+
body: _response.error.body,
|
|
1357
|
+
rawResponse: _response.rawResponse,
|
|
1358
|
+
});
|
|
1359
|
+
}
|
|
1360
|
+
}
|
|
1361
|
+
switch (_response.error.reason) {
|
|
1362
|
+
case "non-json":
|
|
1363
|
+
throw new errors.ChrtError({
|
|
1364
|
+
statusCode: _response.error.statusCode,
|
|
1365
|
+
body: _response.error.rawBody,
|
|
1366
|
+
rawResponse: _response.rawResponse,
|
|
1367
|
+
});
|
|
1368
|
+
case "timeout":
|
|
1369
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/task_groups/quote_for_shipper_pay_provider/v1/{task_group_id}.");
|
|
1370
|
+
case "unknown":
|
|
1371
|
+
throw new errors.ChrtError({
|
|
1372
|
+
message: _response.error.errorMessage,
|
|
1373
|
+
rawResponse: _response.rawResponse,
|
|
1374
|
+
});
|
|
1375
|
+
}
|
|
1376
|
+
});
|
|
1377
|
+
}
|
|
1378
|
+
/**
|
|
1379
|
+
* Preview the LineItem materialization that would result from applying a rate sheet to the PPP vector of the named TaskGroup. Returns the resolved rate sheet, materialized LineItems (NOT inserted), the pre-adjustment total, and the derived parties (coordinator -> executor). Auto-resolves the rate sheet via RateSheetMapping1 unless body.rate_sheet_id is provided. No DB writes — operator can iterate freely. To commit, call from_rate_sheet/create_for_provider_pay_provider/v1 then attach_lig_to_provider_pay_provider/v1. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[task_group_coordinator_operators] | (TaskGroupQuoteClientReq) -> (TaskGroupQuoteResp)
|
|
1380
|
+
*
|
|
1381
|
+
* @param {string} taskGroupId
|
|
1382
|
+
* @param {Chrt.TaskGroupQuoteClientReq} request
|
|
1383
|
+
* @param {TaskGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
1384
|
+
*
|
|
1385
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
1386
|
+
*
|
|
1387
|
+
* @example
|
|
1388
|
+
* await client.shipping.taskGroups.quoteForProviderPayProviderV1("task_group_id", {})
|
|
1389
|
+
*/
|
|
1390
|
+
quoteForProviderPayProviderV1(taskGroupId, request, requestOptions) {
|
|
1391
|
+
return core.HttpResponsePromise.fromPromise(this.__quoteForProviderPayProviderV1(taskGroupId, request, requestOptions));
|
|
1392
|
+
}
|
|
1393
|
+
__quoteForProviderPayProviderV1(taskGroupId, request, requestOptions) {
|
|
1394
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1395
|
+
var _a, _b, _c, _d;
|
|
1396
|
+
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);
|
|
1397
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1398
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/task_groups/quote_for_provider_pay_provider/v1/${encodeURIComponent(taskGroupId)}`),
|
|
1399
|
+
method: "POST",
|
|
1400
|
+
headers: _headers,
|
|
1401
|
+
contentType: "application/json",
|
|
1402
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
1403
|
+
requestType: "json",
|
|
1404
|
+
body: request,
|
|
1405
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
1406
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
1407
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1408
|
+
});
|
|
1409
|
+
if (_response.ok) {
|
|
1410
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
1411
|
+
}
|
|
1412
|
+
if (_response.error.reason === "status-code") {
|
|
1413
|
+
switch (_response.error.statusCode) {
|
|
1414
|
+
case 422:
|
|
1415
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
1416
|
+
default:
|
|
1417
|
+
throw new errors.ChrtError({
|
|
1418
|
+
statusCode: _response.error.statusCode,
|
|
1419
|
+
body: _response.error.body,
|
|
1420
|
+
rawResponse: _response.rawResponse,
|
|
1421
|
+
});
|
|
1422
|
+
}
|
|
1423
|
+
}
|
|
1424
|
+
switch (_response.error.reason) {
|
|
1425
|
+
case "non-json":
|
|
1426
|
+
throw new errors.ChrtError({
|
|
1427
|
+
statusCode: _response.error.statusCode,
|
|
1428
|
+
body: _response.error.rawBody,
|
|
1429
|
+
rawResponse: _response.rawResponse,
|
|
1430
|
+
});
|
|
1431
|
+
case "timeout":
|
|
1432
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/task_groups/quote_for_provider_pay_provider/v1/{task_group_id}.");
|
|
1433
|
+
case "unknown":
|
|
1434
|
+
throw new errors.ChrtError({
|
|
1435
|
+
message: _response.error.errorMessage,
|
|
1436
|
+
rawResponse: _response.rawResponse,
|
|
1437
|
+
});
|
|
1438
|
+
}
|
|
1439
|
+
});
|
|
1440
|
+
}
|
|
1441
|
+
/**
|
|
1442
|
+
* Preview the LineItem materialization that would result from applying a rate sheet to the PPD vector of the named TaskGroup. Returns the resolved rate sheet, materialized LineItems (NOT inserted), the pre-adjustment total, and the derived parties (executor -> driver). Auto-resolves the rate sheet via RateSheetMapping1 unless body.rate_sheet_id is provided. PPD is on-chrt-executor only — TGs with an off-chrt executor are 400'd. No DB writes — operator can iterate freely. To commit, call from_rate_sheet/create_for_provider_pay_driver/v1 then attach_lig_to_provider_pay_driver/v1. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[executor_org_operators] | (TaskGroupQuoteClientReq) -> (TaskGroupQuoteResp)
|
|
1443
|
+
*
|
|
1444
|
+
* @param {string} taskGroupId
|
|
1445
|
+
* @param {Chrt.TaskGroupQuoteClientReq} request
|
|
1446
|
+
* @param {TaskGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
1447
|
+
*
|
|
1448
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
1449
|
+
*
|
|
1450
|
+
* @example
|
|
1451
|
+
* await client.shipping.taskGroups.quoteForProviderPayDriverV1("task_group_id", {})
|
|
1452
|
+
*/
|
|
1453
|
+
quoteForProviderPayDriverV1(taskGroupId, request, requestOptions) {
|
|
1454
|
+
return core.HttpResponsePromise.fromPromise(this.__quoteForProviderPayDriverV1(taskGroupId, request, requestOptions));
|
|
1455
|
+
}
|
|
1456
|
+
__quoteForProviderPayDriverV1(taskGroupId, request, requestOptions) {
|
|
1457
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1458
|
+
var _a, _b, _c, _d;
|
|
1459
|
+
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);
|
|
1460
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1461
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/task_groups/quote_for_provider_pay_driver/v1/${encodeURIComponent(taskGroupId)}`),
|
|
1462
|
+
method: "POST",
|
|
1463
|
+
headers: _headers,
|
|
1464
|
+
contentType: "application/json",
|
|
1465
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
1466
|
+
requestType: "json",
|
|
1467
|
+
body: request,
|
|
1468
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
1469
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
1470
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1471
|
+
});
|
|
1472
|
+
if (_response.ok) {
|
|
1473
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
1474
|
+
}
|
|
1475
|
+
if (_response.error.reason === "status-code") {
|
|
1476
|
+
switch (_response.error.statusCode) {
|
|
1477
|
+
case 422:
|
|
1478
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
1479
|
+
default:
|
|
1480
|
+
throw new errors.ChrtError({
|
|
1481
|
+
statusCode: _response.error.statusCode,
|
|
1482
|
+
body: _response.error.body,
|
|
1483
|
+
rawResponse: _response.rawResponse,
|
|
1484
|
+
});
|
|
1485
|
+
}
|
|
1486
|
+
}
|
|
1487
|
+
switch (_response.error.reason) {
|
|
1488
|
+
case "non-json":
|
|
1489
|
+
throw new errors.ChrtError({
|
|
1490
|
+
statusCode: _response.error.statusCode,
|
|
1491
|
+
body: _response.error.rawBody,
|
|
1492
|
+
rawResponse: _response.rawResponse,
|
|
1493
|
+
});
|
|
1494
|
+
case "timeout":
|
|
1495
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/task_groups/quote_for_provider_pay_driver/v1/{task_group_id}.");
|
|
1496
|
+
case "unknown":
|
|
1497
|
+
throw new errors.ChrtError({
|
|
1498
|
+
message: _response.error.errorMessage,
|
|
1499
|
+
rawResponse: _response.rawResponse,
|
|
1500
|
+
});
|
|
1501
|
+
}
|
|
1502
|
+
});
|
|
1503
|
+
}
|
|
574
1504
|
_getAuthorizationHeader() {
|
|
575
1505
|
return __awaiter(this, void 0, void 0, function* () {
|
|
576
1506
|
const bearer = yield core.Supplier.get(this._options.token);
|