@chrt-inc/typescript-sdk 1.625.0 → 1.638.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +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 +115 -0
- package/dist/cjs/api/resources/billing/resources/billingLedgerPeriods/client/Client.js +425 -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 +41 -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 +110 -0
- package/dist/cjs/api/resources/billing/resources/billingLedgers/client/Client.js +411 -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 +32 -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 +151 -45
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/Client.js +547 -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 +53 -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 +104 -27
- package/dist/cjs/api/resources/billing/resources/statements/client/Client.js +396 -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/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 +183 -0
- package/dist/cjs/api/resources/listing/resources/bidThreads/client/Client.js +732 -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 +44 -0
- package/dist/cjs/api/resources/listing/resources/bidThreads/client/requests/BidThreadsListForListingV1Request.d.ts +44 -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 +253 -0
- package/dist/cjs/api/resources/listing/resources/listings/client/Client.js +1068 -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 +52 -0
- package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingsListForDriverBidderV1Request.d.ts +49 -0
- package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingsListForProviderBidderV1Request.d.ts +49 -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 +143 -0
- package/dist/cjs/api/resources/operations/resources/cases/client/Client.js +550 -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 +34 -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 +137 -0
- package/dist/cjs/api/resources/operations/resources/departments/client/Client.js +521 -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 +23 -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 +4 -1
- package/dist/cjs/api/resources/orgs/client/Client.js +16 -11
- 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 +20 -4
- package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.js +69 -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/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 +13 -13
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.js +27 -27
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.d.ts +58 -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 +4 -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 +25 -25
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.js +46 -46
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverForExecutorV1Request.d.ts +58 -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 +60 -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 +115 -0
- package/dist/esm/api/resources/billing/resources/billingLedgerPeriods/client/Client.mjs +388 -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 +41 -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 +110 -0
- package/dist/esm/api/resources/billing/resources/billingLedgers/client/Client.mjs +374 -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 +32 -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 +151 -45
- package/dist/esm/api/resources/billing/resources/lineItemGroups/client/Client.mjs +543 -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 +53 -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 +104 -27
- package/dist/esm/api/resources/billing/resources/statements/client/Client.mjs +396 -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/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 +183 -0
- package/dist/esm/api/resources/listing/resources/bidThreads/client/Client.mjs +695 -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 +44 -0
- package/dist/esm/api/resources/listing/resources/bidThreads/client/requests/BidThreadsListForListingV1Request.d.mts +44 -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 +253 -0
- package/dist/esm/api/resources/listing/resources/listings/client/Client.mjs +1031 -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 +52 -0
- package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingsListForDriverBidderV1Request.d.mts +49 -0
- package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingsListForProviderBidderV1Request.d.mts +49 -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 +143 -0
- package/dist/esm/api/resources/operations/resources/cases/client/Client.mjs +513 -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 +34 -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 +137 -0
- package/dist/esm/api/resources/operations/resources/departments/client/Client.mjs +484 -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 +23 -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 +4 -1
- package/dist/esm/api/resources/orgs/client/Client.mjs +6 -1
- 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 +20 -4
- package/dist/esm/api/resources/shipping/resources/drivers/client/Client.mjs +69 -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/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 +13 -13
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.mjs +27 -27
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.d.mts +58 -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 +4 -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 +25 -25
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.mjs +46 -46
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverForExecutorV1Request.d.mts +58 -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 +60 -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 +8122 -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
|
@@ -1,717 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
-
*/
|
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
-
}
|
|
11
|
-
Object.defineProperty(o, k2, desc);
|
|
12
|
-
}) : (function(o, m, k, k2) {
|
|
13
|
-
if (k2 === undefined) k2 = k;
|
|
14
|
-
o[k2] = m[k];
|
|
15
|
-
}));
|
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
-
}) : function(o, v) {
|
|
19
|
-
o["default"] = v;
|
|
20
|
-
});
|
|
21
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
-
var ownKeys = function(o) {
|
|
23
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
-
var ar = [];
|
|
25
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
-
return ar;
|
|
27
|
-
};
|
|
28
|
-
return ownKeys(o);
|
|
29
|
-
};
|
|
30
|
-
return function (mod) {
|
|
31
|
-
if (mod && mod.__esModule) return mod;
|
|
32
|
-
var result = {};
|
|
33
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
-
__setModuleDefault(result, mod);
|
|
35
|
-
return result;
|
|
36
|
-
};
|
|
37
|
-
})();
|
|
38
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
39
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
40
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
41
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
42
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
43
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
44
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
45
|
-
});
|
|
46
|
-
};
|
|
47
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
48
|
-
var t = {};
|
|
49
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
50
|
-
t[p] = s[p];
|
|
51
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
52
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
53
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
54
|
-
t[p[i]] = s[p[i]];
|
|
55
|
-
}
|
|
56
|
-
return t;
|
|
57
|
-
};
|
|
58
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
59
|
-
exports.RateSheets = void 0;
|
|
60
|
-
const environments = __importStar(require("../../../../../../environments.js"));
|
|
61
|
-
const core = __importStar(require("../../../../../../core/index.js"));
|
|
62
|
-
const Chrt = __importStar(require("../../../../../index.js"));
|
|
63
|
-
const headers_js_1 = require("../../../../../../core/headers.js");
|
|
64
|
-
const errors = __importStar(require("../../../../../../errors/index.js"));
|
|
65
|
-
class RateSheets {
|
|
66
|
-
constructor(_options = {}) {
|
|
67
|
-
this._options = _options;
|
|
68
|
-
}
|
|
69
|
-
/**
|
|
70
|
-
* Retrieves a rate sheet by ID. Only the owning org can fetch. | authz: allowed_org_types=[courier, forwarder], min_org_role=operator | () -> (RateSheet1)
|
|
71
|
-
*
|
|
72
|
-
* @param {string} rateSheetId
|
|
73
|
-
* @param {RateSheets.RequestOptions} requestOptions - Request-specific configuration.
|
|
74
|
-
*
|
|
75
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
76
|
-
*
|
|
77
|
-
* @example
|
|
78
|
-
* await client.billing.rateSheets.getV1("rate_sheet_id")
|
|
79
|
-
*/
|
|
80
|
-
getV1(rateSheetId, requestOptions) {
|
|
81
|
-
return core.HttpResponsePromise.fromPromise(this.__getV1(rateSheetId, requestOptions));
|
|
82
|
-
}
|
|
83
|
-
__getV1(rateSheetId, requestOptions) {
|
|
84
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
85
|
-
var _a, _b, _c, _d;
|
|
86
|
-
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);
|
|
87
|
-
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
88
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `billing/rate_sheets/v1/${encodeURIComponent(rateSheetId)}`),
|
|
89
|
-
method: "GET",
|
|
90
|
-
headers: _headers,
|
|
91
|
-
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
92
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
93
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
94
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
95
|
-
});
|
|
96
|
-
if (_response.ok) {
|
|
97
|
-
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
98
|
-
}
|
|
99
|
-
if (_response.error.reason === "status-code") {
|
|
100
|
-
switch (_response.error.statusCode) {
|
|
101
|
-
case 422:
|
|
102
|
-
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
103
|
-
default:
|
|
104
|
-
throw new errors.ChrtError({
|
|
105
|
-
statusCode: _response.error.statusCode,
|
|
106
|
-
body: _response.error.body,
|
|
107
|
-
rawResponse: _response.rawResponse,
|
|
108
|
-
});
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
switch (_response.error.reason) {
|
|
112
|
-
case "non-json":
|
|
113
|
-
throw new errors.ChrtError({
|
|
114
|
-
statusCode: _response.error.statusCode,
|
|
115
|
-
body: _response.error.rawBody,
|
|
116
|
-
rawResponse: _response.rawResponse,
|
|
117
|
-
});
|
|
118
|
-
case "timeout":
|
|
119
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /billing/rate_sheets/v1/{rate_sheet_id}.");
|
|
120
|
-
case "unknown":
|
|
121
|
-
throw new errors.ChrtError({
|
|
122
|
-
message: _response.error.errorMessage,
|
|
123
|
-
rawResponse: _response.rawResponse,
|
|
124
|
-
});
|
|
125
|
-
}
|
|
126
|
-
});
|
|
127
|
-
}
|
|
128
|
-
/**
|
|
129
|
-
* Updates a rate sheet. Only name, comments, cargo_types, and vehicle_types can be changed. Use the archive endpoint for archiving. | authz: allowed_org_types=[courier, forwarder], min_org_role=operator | (RateSheetClientUpdate1) -> (RateSheet1)
|
|
130
|
-
*
|
|
131
|
-
* @param {string} rateSheetId
|
|
132
|
-
* @param {Chrt.billing.RateSheetClientUpdate1} request
|
|
133
|
-
* @param {RateSheets.RequestOptions} requestOptions - Request-specific configuration.
|
|
134
|
-
*
|
|
135
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
136
|
-
*
|
|
137
|
-
* @example
|
|
138
|
-
* await client.billing.rateSheets.updateV1("rate_sheet_id")
|
|
139
|
-
*/
|
|
140
|
-
updateV1(rateSheetId, request = {}, requestOptions) {
|
|
141
|
-
return core.HttpResponsePromise.fromPromise(this.__updateV1(rateSheetId, request, requestOptions));
|
|
142
|
-
}
|
|
143
|
-
__updateV1(rateSheetId_1) {
|
|
144
|
-
return __awaiter(this, arguments, void 0, function* (rateSheetId, request = {}, requestOptions) {
|
|
145
|
-
var _a, _b, _c, _d;
|
|
146
|
-
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);
|
|
147
|
-
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
148
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `billing/rate_sheets/v1/${encodeURIComponent(rateSheetId)}`),
|
|
149
|
-
method: "PATCH",
|
|
150
|
-
headers: _headers,
|
|
151
|
-
contentType: "application/json",
|
|
152
|
-
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
153
|
-
requestType: "json",
|
|
154
|
-
body: request,
|
|
155
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
156
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
157
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
158
|
-
});
|
|
159
|
-
if (_response.ok) {
|
|
160
|
-
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
161
|
-
}
|
|
162
|
-
if (_response.error.reason === "status-code") {
|
|
163
|
-
switch (_response.error.statusCode) {
|
|
164
|
-
case 422:
|
|
165
|
-
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
166
|
-
default:
|
|
167
|
-
throw new errors.ChrtError({
|
|
168
|
-
statusCode: _response.error.statusCode,
|
|
169
|
-
body: _response.error.body,
|
|
170
|
-
rawResponse: _response.rawResponse,
|
|
171
|
-
});
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
switch (_response.error.reason) {
|
|
175
|
-
case "non-json":
|
|
176
|
-
throw new errors.ChrtError({
|
|
177
|
-
statusCode: _response.error.statusCode,
|
|
178
|
-
body: _response.error.rawBody,
|
|
179
|
-
rawResponse: _response.rawResponse,
|
|
180
|
-
});
|
|
181
|
-
case "timeout":
|
|
182
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /billing/rate_sheets/v1/{rate_sheet_id}.");
|
|
183
|
-
case "unknown":
|
|
184
|
-
throw new errors.ChrtError({
|
|
185
|
-
message: _response.error.errorMessage,
|
|
186
|
-
rawResponse: _response.rawResponse,
|
|
187
|
-
});
|
|
188
|
-
}
|
|
189
|
-
});
|
|
190
|
-
}
|
|
191
|
-
/**
|
|
192
|
-
* Lists rate sheets for the caller's organization with filtering, sorting, pagination, and optional full-text search. | authz: allowed_org_types=[courier, forwarder], min_org_role=operator | () -> (RateSheetListResponse)
|
|
193
|
-
*
|
|
194
|
-
* @param {Chrt.billing.RateSheetsListByOrgV1Request} request
|
|
195
|
-
* @param {RateSheets.RequestOptions} requestOptions - Request-specific configuration.
|
|
196
|
-
*
|
|
197
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
198
|
-
*
|
|
199
|
-
* @example
|
|
200
|
-
* await client.billing.rateSheets.listByOrgV1({
|
|
201
|
-
* sort_by: "id",
|
|
202
|
-
* sort_order: "asc",
|
|
203
|
-
* page: 1,
|
|
204
|
-
* page_size: 1,
|
|
205
|
-
* search: "search",
|
|
206
|
-
* filter_archived: true,
|
|
207
|
-
* filter_payment_vector_type: "shipper_pay_forwarder",
|
|
208
|
-
* filter_service_type: "on_demand",
|
|
209
|
-
* filter_cargo_type: "spare_parts",
|
|
210
|
-
* filter_vehicle_type: "sedan"
|
|
211
|
-
* })
|
|
212
|
-
*/
|
|
213
|
-
listByOrgV1(request = {}, requestOptions) {
|
|
214
|
-
return core.HttpResponsePromise.fromPromise(this.__listByOrgV1(request, requestOptions));
|
|
215
|
-
}
|
|
216
|
-
__listByOrgV1() {
|
|
217
|
-
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
218
|
-
var _a, _b, _c, _d, _e, _f, _g;
|
|
219
|
-
const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_archived: filterArchived, filter_payment_vector_type: filterPaymentVectorType, filter_service_type: filterServiceType, filter_cargo_type: filterCargoType, filter_vehicle_type: filterVehicleType, } = request;
|
|
220
|
-
const _queryParams = {};
|
|
221
|
-
if (sortBy !== undefined) {
|
|
222
|
-
_queryParams["sort_by"] = sortBy;
|
|
223
|
-
}
|
|
224
|
-
if (sortOrder !== undefined) {
|
|
225
|
-
_queryParams["sort_order"] = sortOrder;
|
|
226
|
-
}
|
|
227
|
-
if (page !== undefined) {
|
|
228
|
-
_queryParams["page"] = (_a = page === null || page === void 0 ? void 0 : page.toString()) !== null && _a !== void 0 ? _a : null;
|
|
229
|
-
}
|
|
230
|
-
if (pageSize !== undefined) {
|
|
231
|
-
_queryParams["page_size"] = (_b = pageSize === null || pageSize === void 0 ? void 0 : pageSize.toString()) !== null && _b !== void 0 ? _b : null;
|
|
232
|
-
}
|
|
233
|
-
if (search !== undefined) {
|
|
234
|
-
_queryParams["search"] = search;
|
|
235
|
-
}
|
|
236
|
-
if (filterArchived !== undefined) {
|
|
237
|
-
_queryParams["filter_archived"] = (_c = filterArchived === null || filterArchived === void 0 ? void 0 : filterArchived.toString()) !== null && _c !== void 0 ? _c : null;
|
|
238
|
-
}
|
|
239
|
-
if (filterPaymentVectorType !== undefined) {
|
|
240
|
-
_queryParams["filter_payment_vector_type"] = filterPaymentVectorType;
|
|
241
|
-
}
|
|
242
|
-
if (filterServiceType !== undefined) {
|
|
243
|
-
_queryParams["filter_service_type"] = filterServiceType;
|
|
244
|
-
}
|
|
245
|
-
if (filterCargoType !== undefined) {
|
|
246
|
-
_queryParams["filter_cargo_type"] = filterCargoType;
|
|
247
|
-
}
|
|
248
|
-
if (filterVehicleType !== undefined) {
|
|
249
|
-
_queryParams["filter_vehicle_type"] = filterVehicleType;
|
|
250
|
-
}
|
|
251
|
-
let _headers = (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
252
|
-
const _response = yield ((_e = this._options.fetcher) !== null && _e !== void 0 ? _e : core.fetcher)({
|
|
253
|
-
url: core.url.join((_g = (_f = (yield core.Supplier.get(this._options.baseUrl))) !== null && _f !== void 0 ? _f : (yield core.Supplier.get(this._options.environment))) !== null && _g !== void 0 ? _g : environments.ChrtEnvironment.Local, "billing/rate_sheets/list_by_org/v1"),
|
|
254
|
-
method: "GET",
|
|
255
|
-
headers: _headers,
|
|
256
|
-
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
257
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
258
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
259
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
260
|
-
});
|
|
261
|
-
if (_response.ok) {
|
|
262
|
-
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
263
|
-
}
|
|
264
|
-
if (_response.error.reason === "status-code") {
|
|
265
|
-
switch (_response.error.statusCode) {
|
|
266
|
-
case 422:
|
|
267
|
-
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
268
|
-
default:
|
|
269
|
-
throw new errors.ChrtError({
|
|
270
|
-
statusCode: _response.error.statusCode,
|
|
271
|
-
body: _response.error.body,
|
|
272
|
-
rawResponse: _response.rawResponse,
|
|
273
|
-
});
|
|
274
|
-
}
|
|
275
|
-
}
|
|
276
|
-
switch (_response.error.reason) {
|
|
277
|
-
case "non-json":
|
|
278
|
-
throw new errors.ChrtError({
|
|
279
|
-
statusCode: _response.error.statusCode,
|
|
280
|
-
body: _response.error.rawBody,
|
|
281
|
-
rawResponse: _response.rawResponse,
|
|
282
|
-
});
|
|
283
|
-
case "timeout":
|
|
284
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /billing/rate_sheets/list_by_org/v1.");
|
|
285
|
-
case "unknown":
|
|
286
|
-
throw new errors.ChrtError({
|
|
287
|
-
message: _response.error.errorMessage,
|
|
288
|
-
rawResponse: _response.rawResponse,
|
|
289
|
-
});
|
|
290
|
-
}
|
|
291
|
-
});
|
|
292
|
-
}
|
|
293
|
-
/**
|
|
294
|
-
* Creates a rate sheet. Couriers and forwarders only. | authz: allowed_org_types=[courier, forwarder], min_org_role=operator | (RateSheetClientCreate1) -> (PydanticObjectId)
|
|
295
|
-
*
|
|
296
|
-
* @param {Chrt.billing.RateSheetClientCreate1} request
|
|
297
|
-
* @param {RateSheets.RequestOptions} requestOptions - Request-specific configuration.
|
|
298
|
-
*
|
|
299
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
300
|
-
*
|
|
301
|
-
* @example
|
|
302
|
-
* await client.billing.rateSheets.createV1({
|
|
303
|
-
* payment_vector_type: "shipper_pay_forwarder",
|
|
304
|
-
* schema_version: 1,
|
|
305
|
-
* service_type: "on_demand"
|
|
306
|
-
* })
|
|
307
|
-
*/
|
|
308
|
-
createV1(request, requestOptions) {
|
|
309
|
-
return core.HttpResponsePromise.fromPromise(this.__createV1(request, requestOptions));
|
|
310
|
-
}
|
|
311
|
-
__createV1(request, requestOptions) {
|
|
312
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
313
|
-
var _a, _b, _c, _d;
|
|
314
|
-
const { payment_vector_type: paymentVectorType } = request, _body = __rest(request, ["payment_vector_type"]);
|
|
315
|
-
const _queryParams = {};
|
|
316
|
-
_queryParams["payment_vector_type"] = paymentVectorType;
|
|
317
|
-
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);
|
|
318
|
-
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
319
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "billing/rate_sheets/v1"),
|
|
320
|
-
method: "POST",
|
|
321
|
-
headers: _headers,
|
|
322
|
-
contentType: "application/json",
|
|
323
|
-
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
324
|
-
requestType: "json",
|
|
325
|
-
body: _body,
|
|
326
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
327
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
328
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
329
|
-
});
|
|
330
|
-
if (_response.ok) {
|
|
331
|
-
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
332
|
-
}
|
|
333
|
-
if (_response.error.reason === "status-code") {
|
|
334
|
-
switch (_response.error.statusCode) {
|
|
335
|
-
case 422:
|
|
336
|
-
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
337
|
-
default:
|
|
338
|
-
throw new errors.ChrtError({
|
|
339
|
-
statusCode: _response.error.statusCode,
|
|
340
|
-
body: _response.error.body,
|
|
341
|
-
rawResponse: _response.rawResponse,
|
|
342
|
-
});
|
|
343
|
-
}
|
|
344
|
-
}
|
|
345
|
-
switch (_response.error.reason) {
|
|
346
|
-
case "non-json":
|
|
347
|
-
throw new errors.ChrtError({
|
|
348
|
-
statusCode: _response.error.statusCode,
|
|
349
|
-
body: _response.error.rawBody,
|
|
350
|
-
rawResponse: _response.rawResponse,
|
|
351
|
-
});
|
|
352
|
-
case "timeout":
|
|
353
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /billing/rate_sheets/v1.");
|
|
354
|
-
case "unknown":
|
|
355
|
-
throw new errors.ChrtError({
|
|
356
|
-
message: _response.error.errorMessage,
|
|
357
|
-
rawResponse: _response.rawResponse,
|
|
358
|
-
});
|
|
359
|
-
}
|
|
360
|
-
});
|
|
361
|
-
}
|
|
362
|
-
/**
|
|
363
|
-
* Archives or unarchives a rate sheet. When archiving, automatically removes the rate sheet from all default assignments (OrgPrivateData, Connections, Drivers). | authz: allowed_org_types=[courier, forwarder], min_org_role=operator | () -> (bool)
|
|
364
|
-
*
|
|
365
|
-
* @param {string} rateSheetId
|
|
366
|
-
* @param {Chrt.billing.RateSheetsArchiveV1Request} request
|
|
367
|
-
* @param {RateSheets.RequestOptions} requestOptions - Request-specific configuration.
|
|
368
|
-
*
|
|
369
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
370
|
-
*
|
|
371
|
-
* @example
|
|
372
|
-
* await client.billing.rateSheets.archiveV1("rate_sheet_id", {
|
|
373
|
-
* archive: true
|
|
374
|
-
* })
|
|
375
|
-
*/
|
|
376
|
-
archiveV1(rateSheetId, request, requestOptions) {
|
|
377
|
-
return core.HttpResponsePromise.fromPromise(this.__archiveV1(rateSheetId, request, requestOptions));
|
|
378
|
-
}
|
|
379
|
-
__archiveV1(rateSheetId, request, requestOptions) {
|
|
380
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
381
|
-
var _a, _b, _c, _d;
|
|
382
|
-
const { archive } = request;
|
|
383
|
-
const _queryParams = {};
|
|
384
|
-
_queryParams["archive"] = archive.toString();
|
|
385
|
-
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);
|
|
386
|
-
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
387
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `billing/rate_sheets/archive/v1/${encodeURIComponent(rateSheetId)}`),
|
|
388
|
-
method: "PATCH",
|
|
389
|
-
headers: _headers,
|
|
390
|
-
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
391
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
392
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
393
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
394
|
-
});
|
|
395
|
-
if (_response.ok) {
|
|
396
|
-
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
397
|
-
}
|
|
398
|
-
if (_response.error.reason === "status-code") {
|
|
399
|
-
switch (_response.error.statusCode) {
|
|
400
|
-
case 422:
|
|
401
|
-
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
402
|
-
default:
|
|
403
|
-
throw new errors.ChrtError({
|
|
404
|
-
statusCode: _response.error.statusCode,
|
|
405
|
-
body: _response.error.body,
|
|
406
|
-
rawResponse: _response.rawResponse,
|
|
407
|
-
});
|
|
408
|
-
}
|
|
409
|
-
}
|
|
410
|
-
switch (_response.error.reason) {
|
|
411
|
-
case "non-json":
|
|
412
|
-
throw new errors.ChrtError({
|
|
413
|
-
statusCode: _response.error.statusCode,
|
|
414
|
-
body: _response.error.rawBody,
|
|
415
|
-
rawResponse: _response.rawResponse,
|
|
416
|
-
});
|
|
417
|
-
case "timeout":
|
|
418
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /billing/rate_sheets/archive/v1/{rate_sheet_id}.");
|
|
419
|
-
case "unknown":
|
|
420
|
-
throw new errors.ChrtError({
|
|
421
|
-
message: _response.error.errorMessage,
|
|
422
|
-
rawResponse: _response.rawResponse,
|
|
423
|
-
});
|
|
424
|
-
}
|
|
425
|
-
});
|
|
426
|
-
}
|
|
427
|
-
/**
|
|
428
|
-
* Sets or clears the org's default rate sheet for a payment vector type and service type. Pass rate_sheet_id to set a default, or omit it to clear the default. | authz: allowed_org_types=[courier, forwarder], min_org_role=operator | () -> (bool)
|
|
429
|
-
*
|
|
430
|
-
* @param {Chrt.billing.RateSheetsUpdateOrgDefaultForServiceTypeV1Request} request
|
|
431
|
-
* @param {RateSheets.RequestOptions} requestOptions - Request-specific configuration.
|
|
432
|
-
*
|
|
433
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
434
|
-
*
|
|
435
|
-
* @example
|
|
436
|
-
* await client.billing.rateSheets.updateOrgDefaultForServiceTypeV1({
|
|
437
|
-
* payment_vector_type: "shipper_pay_forwarder",
|
|
438
|
-
* service_type: "on_demand",
|
|
439
|
-
* rate_sheet_id: "rate_sheet_id"
|
|
440
|
-
* })
|
|
441
|
-
*/
|
|
442
|
-
updateOrgDefaultForServiceTypeV1(request, requestOptions) {
|
|
443
|
-
return core.HttpResponsePromise.fromPromise(this.__updateOrgDefaultForServiceTypeV1(request, requestOptions));
|
|
444
|
-
}
|
|
445
|
-
__updateOrgDefaultForServiceTypeV1(request, requestOptions) {
|
|
446
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
447
|
-
var _a, _b, _c, _d;
|
|
448
|
-
const { payment_vector_type: paymentVectorType, service_type: serviceType, rate_sheet_id: rateSheetId, } = request;
|
|
449
|
-
const _queryParams = {};
|
|
450
|
-
_queryParams["payment_vector_type"] = paymentVectorType;
|
|
451
|
-
_queryParams["service_type"] = serviceType;
|
|
452
|
-
if (rateSheetId !== undefined) {
|
|
453
|
-
_queryParams["rate_sheet_id"] = rateSheetId;
|
|
454
|
-
}
|
|
455
|
-
let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
456
|
-
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
457
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "billing/rate_sheets/update_org_default_for_service_type/v1"),
|
|
458
|
-
method: "PATCH",
|
|
459
|
-
headers: _headers,
|
|
460
|
-
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
461
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
462
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
463
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
464
|
-
});
|
|
465
|
-
if (_response.ok) {
|
|
466
|
-
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
467
|
-
}
|
|
468
|
-
if (_response.error.reason === "status-code") {
|
|
469
|
-
switch (_response.error.statusCode) {
|
|
470
|
-
case 422:
|
|
471
|
-
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
472
|
-
default:
|
|
473
|
-
throw new errors.ChrtError({
|
|
474
|
-
statusCode: _response.error.statusCode,
|
|
475
|
-
body: _response.error.body,
|
|
476
|
-
rawResponse: _response.rawResponse,
|
|
477
|
-
});
|
|
478
|
-
}
|
|
479
|
-
}
|
|
480
|
-
switch (_response.error.reason) {
|
|
481
|
-
case "non-json":
|
|
482
|
-
throw new errors.ChrtError({
|
|
483
|
-
statusCode: _response.error.statusCode,
|
|
484
|
-
body: _response.error.rawBody,
|
|
485
|
-
rawResponse: _response.rawResponse,
|
|
486
|
-
});
|
|
487
|
-
case "timeout":
|
|
488
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /billing/rate_sheets/update_org_default_for_service_type/v1.");
|
|
489
|
-
case "unknown":
|
|
490
|
-
throw new errors.ChrtError({
|
|
491
|
-
message: _response.error.errorMessage,
|
|
492
|
-
rawResponse: _response.rawResponse,
|
|
493
|
-
});
|
|
494
|
-
}
|
|
495
|
-
});
|
|
496
|
-
}
|
|
497
|
-
/**
|
|
498
|
-
* Sets or clears a rate sheet as the default for a connection. Pass rate_sheet_id to set a default, or omit it to clear the default. One default per service type per connection. | authz: allowed_org_types=[courier, forwarder], min_org_role=operator | () -> (bool)
|
|
499
|
-
*
|
|
500
|
-
* @param {Chrt.billing.RateSheetsUpdateDefaultForConnectionV1Request} request
|
|
501
|
-
* @param {RateSheets.RequestOptions} requestOptions - Request-specific configuration.
|
|
502
|
-
*
|
|
503
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
504
|
-
*
|
|
505
|
-
* @example
|
|
506
|
-
* await client.billing.rateSheets.updateDefaultForConnectionV1({
|
|
507
|
-
* connection_id: "connection_id",
|
|
508
|
-
* service_type: "on_demand",
|
|
509
|
-
* rate_sheet_id: "rate_sheet_id"
|
|
510
|
-
* })
|
|
511
|
-
*/
|
|
512
|
-
updateDefaultForConnectionV1(request, requestOptions) {
|
|
513
|
-
return core.HttpResponsePromise.fromPromise(this.__updateDefaultForConnectionV1(request, requestOptions));
|
|
514
|
-
}
|
|
515
|
-
__updateDefaultForConnectionV1(request, requestOptions) {
|
|
516
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
517
|
-
var _a, _b, _c, _d;
|
|
518
|
-
const { connection_id: connectionId, service_type: serviceType, rate_sheet_id: rateSheetId } = request;
|
|
519
|
-
const _queryParams = {};
|
|
520
|
-
_queryParams["connection_id"] = connectionId;
|
|
521
|
-
_queryParams["service_type"] = serviceType;
|
|
522
|
-
if (rateSheetId !== undefined) {
|
|
523
|
-
_queryParams["rate_sheet_id"] = rateSheetId;
|
|
524
|
-
}
|
|
525
|
-
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);
|
|
526
|
-
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
527
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "billing/rate_sheets/update_default_for_connection/v1"),
|
|
528
|
-
method: "PATCH",
|
|
529
|
-
headers: _headers,
|
|
530
|
-
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
531
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
532
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
533
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
534
|
-
});
|
|
535
|
-
if (_response.ok) {
|
|
536
|
-
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
537
|
-
}
|
|
538
|
-
if (_response.error.reason === "status-code") {
|
|
539
|
-
switch (_response.error.statusCode) {
|
|
540
|
-
case 422:
|
|
541
|
-
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
542
|
-
default:
|
|
543
|
-
throw new errors.ChrtError({
|
|
544
|
-
statusCode: _response.error.statusCode,
|
|
545
|
-
body: _response.error.body,
|
|
546
|
-
rawResponse: _response.rawResponse,
|
|
547
|
-
});
|
|
548
|
-
}
|
|
549
|
-
}
|
|
550
|
-
switch (_response.error.reason) {
|
|
551
|
-
case "non-json":
|
|
552
|
-
throw new errors.ChrtError({
|
|
553
|
-
statusCode: _response.error.statusCode,
|
|
554
|
-
body: _response.error.rawBody,
|
|
555
|
-
rawResponse: _response.rawResponse,
|
|
556
|
-
});
|
|
557
|
-
case "timeout":
|
|
558
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /billing/rate_sheets/update_default_for_connection/v1.");
|
|
559
|
-
case "unknown":
|
|
560
|
-
throw new errors.ChrtError({
|
|
561
|
-
message: _response.error.errorMessage,
|
|
562
|
-
rawResponse: _response.rawResponse,
|
|
563
|
-
});
|
|
564
|
-
}
|
|
565
|
-
});
|
|
566
|
-
}
|
|
567
|
-
/**
|
|
568
|
-
* Sets or clears a rate sheet as the default for a driver. Pass rate_sheet_id to set a default, or omit it to clear the default. One default per service type per driver. | authz: allowed_org_types=[courier, forwarder], min_org_role=operator | () -> (bool)
|
|
569
|
-
*
|
|
570
|
-
* @param {Chrt.billing.RateSheetsUpdateDefaultForDriverV1Request} request
|
|
571
|
-
* @param {RateSheets.RequestOptions} requestOptions - Request-specific configuration.
|
|
572
|
-
*
|
|
573
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
574
|
-
*
|
|
575
|
-
* @example
|
|
576
|
-
* await client.billing.rateSheets.updateDefaultForDriverV1({
|
|
577
|
-
* driver_id: "driver_id",
|
|
578
|
-
* service_type: "on_demand",
|
|
579
|
-
* rate_sheet_id: "rate_sheet_id"
|
|
580
|
-
* })
|
|
581
|
-
*/
|
|
582
|
-
updateDefaultForDriverV1(request, requestOptions) {
|
|
583
|
-
return core.HttpResponsePromise.fromPromise(this.__updateDefaultForDriverV1(request, requestOptions));
|
|
584
|
-
}
|
|
585
|
-
__updateDefaultForDriverV1(request, requestOptions) {
|
|
586
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
587
|
-
var _a, _b, _c, _d;
|
|
588
|
-
const { driver_id: driverId, service_type: serviceType, rate_sheet_id: rateSheetId } = request;
|
|
589
|
-
const _queryParams = {};
|
|
590
|
-
_queryParams["driver_id"] = driverId;
|
|
591
|
-
_queryParams["service_type"] = serviceType;
|
|
592
|
-
if (rateSheetId !== undefined) {
|
|
593
|
-
_queryParams["rate_sheet_id"] = rateSheetId;
|
|
594
|
-
}
|
|
595
|
-
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);
|
|
596
|
-
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
597
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "billing/rate_sheets/update_default_for_driver/v1"),
|
|
598
|
-
method: "PATCH",
|
|
599
|
-
headers: _headers,
|
|
600
|
-
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
601
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
602
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
603
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
604
|
-
});
|
|
605
|
-
if (_response.ok) {
|
|
606
|
-
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
607
|
-
}
|
|
608
|
-
if (_response.error.reason === "status-code") {
|
|
609
|
-
switch (_response.error.statusCode) {
|
|
610
|
-
case 422:
|
|
611
|
-
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
612
|
-
default:
|
|
613
|
-
throw new errors.ChrtError({
|
|
614
|
-
statusCode: _response.error.statusCode,
|
|
615
|
-
body: _response.error.body,
|
|
616
|
-
rawResponse: _response.rawResponse,
|
|
617
|
-
});
|
|
618
|
-
}
|
|
619
|
-
}
|
|
620
|
-
switch (_response.error.reason) {
|
|
621
|
-
case "non-json":
|
|
622
|
-
throw new errors.ChrtError({
|
|
623
|
-
statusCode: _response.error.statusCode,
|
|
624
|
-
body: _response.error.rawBody,
|
|
625
|
-
rawResponse: _response.rawResponse,
|
|
626
|
-
});
|
|
627
|
-
case "timeout":
|
|
628
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /billing/rate_sheets/update_default_for_driver/v1.");
|
|
629
|
-
case "unknown":
|
|
630
|
-
throw new errors.ChrtError({
|
|
631
|
-
message: _response.error.errorMessage,
|
|
632
|
-
rawResponse: _response.rawResponse,
|
|
633
|
-
});
|
|
634
|
-
}
|
|
635
|
-
});
|
|
636
|
-
}
|
|
637
|
-
/**
|
|
638
|
-
* Sets or clears a rate sheet as the default for an off-chrt shipper. Pass rate_sheet_id to set a default, or omit it to clear the default. One default per service type per off-chrt shipper. | authz: allowed_org_types=[courier], min_org_role=operator | () -> (bool)
|
|
639
|
-
*
|
|
640
|
-
* @param {Chrt.billing.RateSheetsUpdateDefaultForOffChrtShipperV1Request} request
|
|
641
|
-
* @param {RateSheets.RequestOptions} requestOptions - Request-specific configuration.
|
|
642
|
-
*
|
|
643
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
644
|
-
*
|
|
645
|
-
* @example
|
|
646
|
-
* await client.billing.rateSheets.updateDefaultForOffChrtShipperV1({
|
|
647
|
-
* off_chrt_shipper_org_id: "off_chrt_shipper_org_id",
|
|
648
|
-
* service_type: "on_demand",
|
|
649
|
-
* rate_sheet_id: "rate_sheet_id"
|
|
650
|
-
* })
|
|
651
|
-
*/
|
|
652
|
-
updateDefaultForOffChrtShipperV1(request, requestOptions) {
|
|
653
|
-
return core.HttpResponsePromise.fromPromise(this.__updateDefaultForOffChrtShipperV1(request, requestOptions));
|
|
654
|
-
}
|
|
655
|
-
__updateDefaultForOffChrtShipperV1(request, requestOptions) {
|
|
656
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
657
|
-
var _a, _b, _c, _d;
|
|
658
|
-
const { off_chrt_shipper_org_id: offChrtShipperOrgId, service_type: serviceType, rate_sheet_id: rateSheetId, } = request;
|
|
659
|
-
const _queryParams = {};
|
|
660
|
-
_queryParams["off_chrt_shipper_org_id"] = offChrtShipperOrgId;
|
|
661
|
-
_queryParams["service_type"] = serviceType;
|
|
662
|
-
if (rateSheetId !== undefined) {
|
|
663
|
-
_queryParams["rate_sheet_id"] = rateSheetId;
|
|
664
|
-
}
|
|
665
|
-
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);
|
|
666
|
-
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
667
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "billing/rate_sheets/update_default_for_off_chrt_shipper/v1"),
|
|
668
|
-
method: "PATCH",
|
|
669
|
-
headers: _headers,
|
|
670
|
-
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
671
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
672
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
673
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
674
|
-
});
|
|
675
|
-
if (_response.ok) {
|
|
676
|
-
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
677
|
-
}
|
|
678
|
-
if (_response.error.reason === "status-code") {
|
|
679
|
-
switch (_response.error.statusCode) {
|
|
680
|
-
case 422:
|
|
681
|
-
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
682
|
-
default:
|
|
683
|
-
throw new errors.ChrtError({
|
|
684
|
-
statusCode: _response.error.statusCode,
|
|
685
|
-
body: _response.error.body,
|
|
686
|
-
rawResponse: _response.rawResponse,
|
|
687
|
-
});
|
|
688
|
-
}
|
|
689
|
-
}
|
|
690
|
-
switch (_response.error.reason) {
|
|
691
|
-
case "non-json":
|
|
692
|
-
throw new errors.ChrtError({
|
|
693
|
-
statusCode: _response.error.statusCode,
|
|
694
|
-
body: _response.error.rawBody,
|
|
695
|
-
rawResponse: _response.rawResponse,
|
|
696
|
-
});
|
|
697
|
-
case "timeout":
|
|
698
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /billing/rate_sheets/update_default_for_off_chrt_shipper/v1.");
|
|
699
|
-
case "unknown":
|
|
700
|
-
throw new errors.ChrtError({
|
|
701
|
-
message: _response.error.errorMessage,
|
|
702
|
-
rawResponse: _response.rawResponse,
|
|
703
|
-
});
|
|
704
|
-
}
|
|
705
|
-
});
|
|
706
|
-
}
|
|
707
|
-
_getAuthorizationHeader() {
|
|
708
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
709
|
-
const bearer = yield core.Supplier.get(this._options.token);
|
|
710
|
-
if (bearer != null) {
|
|
711
|
-
return `Bearer ${bearer}`;
|
|
712
|
-
}
|
|
713
|
-
return undefined;
|
|
714
|
-
});
|
|
715
|
-
}
|
|
716
|
-
}
|
|
717
|
-
exports.RateSheets = RateSheets;
|