@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
|
@@ -502,16 +502,15 @@ export class Statements {
|
|
|
502
502
|
});
|
|
503
503
|
}
|
|
504
504
|
/**
|
|
505
|
-
* Creates
|
|
505
|
+
* Creates an empty STAGED Statement carrying payment parties + settlement_type. Items are attached via the attach_* routes. | authz: allowed_org_types=[provider], min_org_role=operator | (StatementCreateClientReq) -> (Statement1)
|
|
506
506
|
*
|
|
507
|
-
* @param {Chrt.billing.
|
|
507
|
+
* @param {Chrt.billing.StatementCreateClientReq} request
|
|
508
508
|
* @param {Statements.RequestOptions} requestOptions - Request-specific configuration.
|
|
509
509
|
*
|
|
510
510
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
511
511
|
*
|
|
512
512
|
* @example
|
|
513
513
|
* await client.billing.statements.createV1({
|
|
514
|
-
* payment_vector_type: "shipper_pay_forwarder",
|
|
515
514
|
* settlement_type: "stripe_connect"
|
|
516
515
|
* })
|
|
517
516
|
*/
|
|
@@ -567,25 +566,86 @@ export class Statements {
|
|
|
567
566
|
});
|
|
568
567
|
}
|
|
569
568
|
/**
|
|
570
|
-
*
|
|
569
|
+
* Attaches a FINALIZED, unbundled LineItemGroup to a STAGED Statement. Parties must match; the Statement's settlement_type is written onto the LIG (or matched if previously stamped). | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[statement_owner_operators] | () -> (Statement1)
|
|
571
570
|
*
|
|
572
571
|
* @param {string} statementId
|
|
572
|
+
* @param {string} lineItemGroupId
|
|
573
573
|
* @param {Statements.RequestOptions} requestOptions - Request-specific configuration.
|
|
574
574
|
*
|
|
575
575
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
576
576
|
*
|
|
577
577
|
* @example
|
|
578
|
-
* await client.billing.statements.
|
|
578
|
+
* await client.billing.statements.attachLineItemGroupV1("statement_id", "line_item_group_id")
|
|
579
579
|
*/
|
|
580
|
-
|
|
581
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
580
|
+
attachLineItemGroupV1(statementId, lineItemGroupId, requestOptions) {
|
|
581
|
+
return core.HttpResponsePromise.fromPromise(this.__attachLineItemGroupV1(statementId, lineItemGroupId, requestOptions));
|
|
582
582
|
}
|
|
583
|
-
|
|
583
|
+
__attachLineItemGroupV1(statementId, lineItemGroupId, requestOptions) {
|
|
584
584
|
return __awaiter(this, void 0, void 0, function* () {
|
|
585
585
|
var _a, _b, _c, _d;
|
|
586
586
|
let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
587
587
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
588
|
-
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/statements/
|
|
588
|
+
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/statements/attach_line_item_group/v1/${encodeURIComponent(statementId)}/${encodeURIComponent(lineItemGroupId)}`),
|
|
589
|
+
method: "POST",
|
|
590
|
+
headers: _headers,
|
|
591
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
592
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
593
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
594
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
595
|
+
});
|
|
596
|
+
if (_response.ok) {
|
|
597
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
598
|
+
}
|
|
599
|
+
if (_response.error.reason === "status-code") {
|
|
600
|
+
switch (_response.error.statusCode) {
|
|
601
|
+
case 422:
|
|
602
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
603
|
+
default:
|
|
604
|
+
throw new errors.ChrtError({
|
|
605
|
+
statusCode: _response.error.statusCode,
|
|
606
|
+
body: _response.error.body,
|
|
607
|
+
rawResponse: _response.rawResponse,
|
|
608
|
+
});
|
|
609
|
+
}
|
|
610
|
+
}
|
|
611
|
+
switch (_response.error.reason) {
|
|
612
|
+
case "non-json":
|
|
613
|
+
throw new errors.ChrtError({
|
|
614
|
+
statusCode: _response.error.statusCode,
|
|
615
|
+
body: _response.error.rawBody,
|
|
616
|
+
rawResponse: _response.rawResponse,
|
|
617
|
+
});
|
|
618
|
+
case "timeout":
|
|
619
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /billing/statements/attach_line_item_group/v1/{statement_id}/{line_item_group_id}.");
|
|
620
|
+
case "unknown":
|
|
621
|
+
throw new errors.ChrtError({
|
|
622
|
+
message: _response.error.errorMessage,
|
|
623
|
+
rawResponse: _response.rawResponse,
|
|
624
|
+
});
|
|
625
|
+
}
|
|
626
|
+
});
|
|
627
|
+
}
|
|
628
|
+
/**
|
|
629
|
+
* Detaches a LineItemGroup from a STAGED Statement and recomputes order denormalization. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[statement_owner_operators] | () -> (Statement1)
|
|
630
|
+
*
|
|
631
|
+
* @param {string} statementId
|
|
632
|
+
* @param {string} lineItemGroupId
|
|
633
|
+
* @param {Statements.RequestOptions} requestOptions - Request-specific configuration.
|
|
634
|
+
*
|
|
635
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
636
|
+
*
|
|
637
|
+
* @example
|
|
638
|
+
* await client.billing.statements.detachLineItemGroupV1("statement_id", "line_item_group_id")
|
|
639
|
+
*/
|
|
640
|
+
detachLineItemGroupV1(statementId, lineItemGroupId, requestOptions) {
|
|
641
|
+
return core.HttpResponsePromise.fromPromise(this.__detachLineItemGroupV1(statementId, lineItemGroupId, requestOptions));
|
|
642
|
+
}
|
|
643
|
+
__detachLineItemGroupV1(statementId, lineItemGroupId, requestOptions) {
|
|
644
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
645
|
+
var _a, _b, _c, _d;
|
|
646
|
+
let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
647
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
648
|
+
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/statements/detach_line_item_group/v1/${encodeURIComponent(statementId)}/${encodeURIComponent(lineItemGroupId)}`),
|
|
589
649
|
method: "DELETE",
|
|
590
650
|
headers: _headers,
|
|
591
651
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
@@ -616,7 +676,7 @@ export class Statements {
|
|
|
616
676
|
rawResponse: _response.rawResponse,
|
|
617
677
|
});
|
|
618
678
|
case "timeout":
|
|
619
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling DELETE /billing/statements/
|
|
679
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling DELETE /billing/statements/detach_line_item_group/v1/{statement_id}/{line_item_group_id}.");
|
|
620
680
|
case "unknown":
|
|
621
681
|
throw new errors.ChrtError({
|
|
622
682
|
message: _response.error.errorMessage,
|
|
@@ -626,34 +686,29 @@ export class Statements {
|
|
|
626
686
|
});
|
|
627
687
|
}
|
|
628
688
|
/**
|
|
629
|
-
*
|
|
689
|
+
* Attaches a CLOSED, unbundled BillingLedgerPeriod to a STAGED Statement. Parties must match. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[statement_owner_operators] | () -> (Statement1)
|
|
630
690
|
*
|
|
631
691
|
* @param {string} statementId
|
|
632
|
-
* @param {
|
|
692
|
+
* @param {string} billingLedgerPeriodId
|
|
633
693
|
* @param {Statements.RequestOptions} requestOptions - Request-specific configuration.
|
|
634
694
|
*
|
|
635
695
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
636
696
|
*
|
|
637
697
|
* @example
|
|
638
|
-
* await client.billing.statements.
|
|
639
|
-
* settlement_type: "stripe_connect"
|
|
640
|
-
* })
|
|
698
|
+
* await client.billing.statements.attachBillingLedgerPeriodV1("statement_id", "billing_ledger_period_id")
|
|
641
699
|
*/
|
|
642
|
-
|
|
643
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
700
|
+
attachBillingLedgerPeriodV1(statementId, billingLedgerPeriodId, requestOptions) {
|
|
701
|
+
return core.HttpResponsePromise.fromPromise(this.__attachBillingLedgerPeriodV1(statementId, billingLedgerPeriodId, requestOptions));
|
|
644
702
|
}
|
|
645
|
-
|
|
703
|
+
__attachBillingLedgerPeriodV1(statementId, billingLedgerPeriodId, requestOptions) {
|
|
646
704
|
return __awaiter(this, void 0, void 0, function* () {
|
|
647
705
|
var _a, _b, _c, _d;
|
|
648
706
|
let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
649
707
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
650
|
-
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/statements/
|
|
651
|
-
method: "
|
|
708
|
+
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/statements/attach_billing_ledger_period/v1/${encodeURIComponent(statementId)}/${encodeURIComponent(billingLedgerPeriodId)}`),
|
|
709
|
+
method: "POST",
|
|
652
710
|
headers: _headers,
|
|
653
|
-
contentType: "application/json",
|
|
654
711
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
655
|
-
requestType: "json",
|
|
656
|
-
body: request,
|
|
657
712
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
658
713
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
659
714
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -681,7 +736,7 @@ export class Statements {
|
|
|
681
736
|
rawResponse: _response.rawResponse,
|
|
682
737
|
});
|
|
683
738
|
case "timeout":
|
|
684
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling
|
|
739
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /billing/statements/attach_billing_ledger_period/v1/{statement_id}/{billing_ledger_period_id}.");
|
|
685
740
|
case "unknown":
|
|
686
741
|
throw new errors.ChrtError({
|
|
687
742
|
message: _response.error.errorMessage,
|
|
@@ -691,34 +746,147 @@ export class Statements {
|
|
|
691
746
|
});
|
|
692
747
|
}
|
|
693
748
|
/**
|
|
694
|
-
*
|
|
749
|
+
* Detaches a BillingLedgerPeriod from a STAGED Statement, freeing it for re-bundling. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[statement_owner_operators] | () -> (Statement1)
|
|
695
750
|
*
|
|
696
751
|
* @param {string} statementId
|
|
697
|
-
* @param {
|
|
752
|
+
* @param {string} billingLedgerPeriodId
|
|
698
753
|
* @param {Statements.RequestOptions} requestOptions - Request-specific configuration.
|
|
699
754
|
*
|
|
700
755
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
701
756
|
*
|
|
702
757
|
* @example
|
|
703
|
-
* await client.billing.statements.
|
|
704
|
-
* new_status: "staged"
|
|
705
|
-
* })
|
|
758
|
+
* await client.billing.statements.detachBillingLedgerPeriodV1("statement_id", "billing_ledger_period_id")
|
|
706
759
|
*/
|
|
707
|
-
|
|
708
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
760
|
+
detachBillingLedgerPeriodV1(statementId, billingLedgerPeriodId, requestOptions) {
|
|
761
|
+
return core.HttpResponsePromise.fromPromise(this.__detachBillingLedgerPeriodV1(statementId, billingLedgerPeriodId, requestOptions));
|
|
709
762
|
}
|
|
710
|
-
|
|
763
|
+
__detachBillingLedgerPeriodV1(statementId, billingLedgerPeriodId, requestOptions) {
|
|
711
764
|
return __awaiter(this, void 0, void 0, function* () {
|
|
712
765
|
var _a, _b, _c, _d;
|
|
713
766
|
let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
714
767
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
715
|
-
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/statements/
|
|
716
|
-
method: "
|
|
768
|
+
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/statements/detach_billing_ledger_period/v1/${encodeURIComponent(statementId)}/${encodeURIComponent(billingLedgerPeriodId)}`),
|
|
769
|
+
method: "DELETE",
|
|
770
|
+
headers: _headers,
|
|
771
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
772
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
773
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
774
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
775
|
+
});
|
|
776
|
+
if (_response.ok) {
|
|
777
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
778
|
+
}
|
|
779
|
+
if (_response.error.reason === "status-code") {
|
|
780
|
+
switch (_response.error.statusCode) {
|
|
781
|
+
case 422:
|
|
782
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
783
|
+
default:
|
|
784
|
+
throw new errors.ChrtError({
|
|
785
|
+
statusCode: _response.error.statusCode,
|
|
786
|
+
body: _response.error.body,
|
|
787
|
+
rawResponse: _response.rawResponse,
|
|
788
|
+
});
|
|
789
|
+
}
|
|
790
|
+
}
|
|
791
|
+
switch (_response.error.reason) {
|
|
792
|
+
case "non-json":
|
|
793
|
+
throw new errors.ChrtError({
|
|
794
|
+
statusCode: _response.error.statusCode,
|
|
795
|
+
body: _response.error.rawBody,
|
|
796
|
+
rawResponse: _response.rawResponse,
|
|
797
|
+
});
|
|
798
|
+
case "timeout":
|
|
799
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling DELETE /billing/statements/detach_billing_ledger_period/v1/{statement_id}/{billing_ledger_period_id}.");
|
|
800
|
+
case "unknown":
|
|
801
|
+
throw new errors.ChrtError({
|
|
802
|
+
message: _response.error.errorMessage,
|
|
803
|
+
rawResponse: _response.rawResponse,
|
|
804
|
+
});
|
|
805
|
+
}
|
|
806
|
+
});
|
|
807
|
+
}
|
|
808
|
+
/**
|
|
809
|
+
* Off-chrt manual transition: STAGED → OPEN. Cascades attached LineItemGroups FINALIZED → OPEN. Stripe-Connect statements take a separate Stripe-invoice path. Requires settlement_type=OFF_CHRT and at least one bundled LIG or period. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[statement_owner_operators] | () -> (Statement1)
|
|
810
|
+
*
|
|
811
|
+
* @param {string} statementId
|
|
812
|
+
* @param {Statements.RequestOptions} requestOptions - Request-specific configuration.
|
|
813
|
+
*
|
|
814
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
815
|
+
*
|
|
816
|
+
* @example
|
|
817
|
+
* await client.billing.statements.openOffChrtV1("statement_id")
|
|
818
|
+
*/
|
|
819
|
+
openOffChrtV1(statementId, requestOptions) {
|
|
820
|
+
return core.HttpResponsePromise.fromPromise(this.__openOffChrtV1(statementId, requestOptions));
|
|
821
|
+
}
|
|
822
|
+
__openOffChrtV1(statementId, requestOptions) {
|
|
823
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
824
|
+
var _a, _b, _c, _d;
|
|
825
|
+
let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
826
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
827
|
+
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/statements/open_off_chrt/v1/${encodeURIComponent(statementId)}`),
|
|
828
|
+
method: "POST",
|
|
829
|
+
headers: _headers,
|
|
830
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
831
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
832
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
833
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
834
|
+
});
|
|
835
|
+
if (_response.ok) {
|
|
836
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
837
|
+
}
|
|
838
|
+
if (_response.error.reason === "status-code") {
|
|
839
|
+
switch (_response.error.statusCode) {
|
|
840
|
+
case 422:
|
|
841
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
842
|
+
default:
|
|
843
|
+
throw new errors.ChrtError({
|
|
844
|
+
statusCode: _response.error.statusCode,
|
|
845
|
+
body: _response.error.body,
|
|
846
|
+
rawResponse: _response.rawResponse,
|
|
847
|
+
});
|
|
848
|
+
}
|
|
849
|
+
}
|
|
850
|
+
switch (_response.error.reason) {
|
|
851
|
+
case "non-json":
|
|
852
|
+
throw new errors.ChrtError({
|
|
853
|
+
statusCode: _response.error.statusCode,
|
|
854
|
+
body: _response.error.rawBody,
|
|
855
|
+
rawResponse: _response.rawResponse,
|
|
856
|
+
});
|
|
857
|
+
case "timeout":
|
|
858
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /billing/statements/open_off_chrt/v1/{statement_id}.");
|
|
859
|
+
case "unknown":
|
|
860
|
+
throw new errors.ChrtError({
|
|
861
|
+
message: _response.error.errorMessage,
|
|
862
|
+
rawResponse: _response.rawResponse,
|
|
863
|
+
});
|
|
864
|
+
}
|
|
865
|
+
});
|
|
866
|
+
}
|
|
867
|
+
/**
|
|
868
|
+
* Off-chrt manual transition: OPEN → PAID. Cascades attached LineItemGroups OPEN → PAID. Stripe-Connect statements transition via Stripe webhook + sync, not this route. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[statement_owner_operators] | () -> (Statement1)
|
|
869
|
+
*
|
|
870
|
+
* @param {string} statementId
|
|
871
|
+
* @param {Statements.RequestOptions} requestOptions - Request-specific configuration.
|
|
872
|
+
*
|
|
873
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
874
|
+
*
|
|
875
|
+
* @example
|
|
876
|
+
* await client.billing.statements.markPaidOffChrtV1("statement_id")
|
|
877
|
+
*/
|
|
878
|
+
markPaidOffChrtV1(statementId, requestOptions) {
|
|
879
|
+
return core.HttpResponsePromise.fromPromise(this.__markPaidOffChrtV1(statementId, requestOptions));
|
|
880
|
+
}
|
|
881
|
+
__markPaidOffChrtV1(statementId, requestOptions) {
|
|
882
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
883
|
+
var _a, _b, _c, _d;
|
|
884
|
+
let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
885
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
886
|
+
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/statements/mark_paid_off_chrt/v1/${encodeURIComponent(statementId)}`),
|
|
887
|
+
method: "POST",
|
|
717
888
|
headers: _headers,
|
|
718
|
-
contentType: "application/json",
|
|
719
889
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
720
|
-
requestType: "json",
|
|
721
|
-
body: request,
|
|
722
890
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
723
891
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
724
892
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -746,7 +914,7 @@ export class Statements {
|
|
|
746
914
|
rawResponse: _response.rawResponse,
|
|
747
915
|
});
|
|
748
916
|
case "timeout":
|
|
749
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling
|
|
917
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /billing/statements/mark_paid_off_chrt/v1/{statement_id}.");
|
|
750
918
|
case "unknown":
|
|
751
919
|
throw new errors.ChrtError({
|
|
752
920
|
message: _response.error.errorMessage,
|
|
@@ -756,10 +924,68 @@ export class Statements {
|
|
|
756
924
|
});
|
|
757
925
|
}
|
|
758
926
|
/**
|
|
759
|
-
*
|
|
927
|
+
* Off-chrt manual write-off: OPEN → UNCOLLECTIBLE. Cascades attached LineItemGroups OPEN → UNCOLLECTIBLE. Stripe-Connect statements transition via Stripe webhook + sync_invoice/v1, not this route. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[statement_owner_operators] | () -> (Statement1)
|
|
928
|
+
*
|
|
929
|
+
* @param {string} statementId
|
|
930
|
+
* @param {Statements.RequestOptions} requestOptions - Request-specific configuration.
|
|
931
|
+
*
|
|
932
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
933
|
+
*
|
|
934
|
+
* @example
|
|
935
|
+
* await client.billing.statements.markUncollectibleOffChrtV1("statement_id")
|
|
936
|
+
*/
|
|
937
|
+
markUncollectibleOffChrtV1(statementId, requestOptions) {
|
|
938
|
+
return core.HttpResponsePromise.fromPromise(this.__markUncollectibleOffChrtV1(statementId, requestOptions));
|
|
939
|
+
}
|
|
940
|
+
__markUncollectibleOffChrtV1(statementId, requestOptions) {
|
|
941
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
942
|
+
var _a, _b, _c, _d;
|
|
943
|
+
let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
944
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
945
|
+
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/statements/mark_uncollectible_off_chrt/v1/${encodeURIComponent(statementId)}`),
|
|
946
|
+
method: "POST",
|
|
947
|
+
headers: _headers,
|
|
948
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
949
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
950
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
951
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
952
|
+
});
|
|
953
|
+
if (_response.ok) {
|
|
954
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
955
|
+
}
|
|
956
|
+
if (_response.error.reason === "status-code") {
|
|
957
|
+
switch (_response.error.statusCode) {
|
|
958
|
+
case 422:
|
|
959
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
960
|
+
default:
|
|
961
|
+
throw new errors.ChrtError({
|
|
962
|
+
statusCode: _response.error.statusCode,
|
|
963
|
+
body: _response.error.body,
|
|
964
|
+
rawResponse: _response.rawResponse,
|
|
965
|
+
});
|
|
966
|
+
}
|
|
967
|
+
}
|
|
968
|
+
switch (_response.error.reason) {
|
|
969
|
+
case "non-json":
|
|
970
|
+
throw new errors.ChrtError({
|
|
971
|
+
statusCode: _response.error.statusCode,
|
|
972
|
+
body: _response.error.rawBody,
|
|
973
|
+
rawResponse: _response.rawResponse,
|
|
974
|
+
});
|
|
975
|
+
case "timeout":
|
|
976
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /billing/statements/mark_uncollectible_off_chrt/v1/{statement_id}.");
|
|
977
|
+
case "unknown":
|
|
978
|
+
throw new errors.ChrtError({
|
|
979
|
+
message: _response.error.errorMessage,
|
|
980
|
+
rawResponse: _response.rawResponse,
|
|
981
|
+
});
|
|
982
|
+
}
|
|
983
|
+
});
|
|
984
|
+
}
|
|
985
|
+
/**
|
|
986
|
+
* Stripe-Connect transition: STAGED → OPEN. Creates and finalizes a Stripe invoice for the Statement; cascades attached LineItemGroups FINALIZED → OPEN. Requires settlement_type=STRIPE_CONNECT and at least one bundled FINALIZED LIG. Off-chrt statements take open_off_chrt/v1 instead. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[statement_owner_operators] | () -> (Statement1)
|
|
760
987
|
*
|
|
761
988
|
* @param {string} statementId
|
|
762
|
-
* @param {Chrt.billing.OpenInvoiceReq} request
|
|
763
989
|
* @param {Statements.RequestOptions} requestOptions - Request-specific configuration.
|
|
764
990
|
*
|
|
765
991
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
@@ -767,21 +993,18 @@ export class Statements {
|
|
|
767
993
|
* @example
|
|
768
994
|
* await client.billing.statements.openInvoiceV1("statement_id")
|
|
769
995
|
*/
|
|
770
|
-
openInvoiceV1(statementId,
|
|
771
|
-
return core.HttpResponsePromise.fromPromise(this.__openInvoiceV1(statementId,
|
|
996
|
+
openInvoiceV1(statementId, requestOptions) {
|
|
997
|
+
return core.HttpResponsePromise.fromPromise(this.__openInvoiceV1(statementId, requestOptions));
|
|
772
998
|
}
|
|
773
|
-
__openInvoiceV1(
|
|
774
|
-
return __awaiter(this,
|
|
999
|
+
__openInvoiceV1(statementId, requestOptions) {
|
|
1000
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
775
1001
|
var _a, _b, _c, _d;
|
|
776
1002
|
let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
777
1003
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
778
1004
|
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/statements/open_invoice/v1/${encodeURIComponent(statementId)}`),
|
|
779
1005
|
method: "POST",
|
|
780
1006
|
headers: _headers,
|
|
781
|
-
contentType: "application/json",
|
|
782
1007
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
783
|
-
requestType: "json",
|
|
784
|
-
body: request,
|
|
785
1008
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
786
1009
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
787
1010
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -819,7 +1042,7 @@ export class Statements {
|
|
|
819
1042
|
});
|
|
820
1043
|
}
|
|
821
1044
|
/**
|
|
822
|
-
*
|
|
1045
|
+
* Stripe-Connect manual reconciliation: pulls the live Stripe invoice status and updates the Statement (and cascaded LIG statuses) accordingly. Same backend as the Stripe webhook handler — idempotent, no-op when already in sync. Handles PAID, UNCOLLECTIBLE, and VOID/DELETED transitions. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[statement_owner_operators] | () -> (Statement1)
|
|
823
1046
|
*
|
|
824
1047
|
* @param {string} statementId
|
|
825
1048
|
* @param {Statements.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -878,7 +1101,7 @@ export class Statements {
|
|
|
878
1101
|
});
|
|
879
1102
|
}
|
|
880
1103
|
/**
|
|
881
|
-
* Voids
|
|
1104
|
+
* Stripe-Connect transition: OPEN → STAGED. Voids the Stripe invoice, clears stripe_* fields on the Statement, and cascades attached LineItemGroups OPEN → FINALIZED so they remain re-bundleable into a new Statement. Reversible — the Statement can be re-opened with a fresh open_invoice/v1. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[statement_owner_operators] | () -> (Statement1)
|
|
882
1105
|
*
|
|
883
1106
|
* @param {string} statementId
|
|
884
1107
|
* @param {Statements.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -936,6 +1159,130 @@ export class Statements {
|
|
|
936
1159
|
}
|
|
937
1160
|
});
|
|
938
1161
|
}
|
|
1162
|
+
/**
|
|
1163
|
+
* Flips a STAGED Statement's settlement_type between STRIPE_CONNECT and OFF_CHRT and cascades the new value onto every attached LineItemGroup. Rejects if the new value matches the current value. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[statement_owner_operators] | (StatementUpdateSettlementTypeReq) -> (Statement1)
|
|
1164
|
+
*
|
|
1165
|
+
* @param {string} statementId
|
|
1166
|
+
* @param {Chrt.billing.StatementUpdateSettlementTypeReq} request
|
|
1167
|
+
* @param {Statements.RequestOptions} requestOptions - Request-specific configuration.
|
|
1168
|
+
*
|
|
1169
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
1170
|
+
*
|
|
1171
|
+
* @example
|
|
1172
|
+
* await client.billing.statements.updateSettlementTypeV1("statement_id", {
|
|
1173
|
+
* settlement_type: "stripe_connect"
|
|
1174
|
+
* })
|
|
1175
|
+
*/
|
|
1176
|
+
updateSettlementTypeV1(statementId, request, requestOptions) {
|
|
1177
|
+
return core.HttpResponsePromise.fromPromise(this.__updateSettlementTypeV1(statementId, request, requestOptions));
|
|
1178
|
+
}
|
|
1179
|
+
__updateSettlementTypeV1(statementId, request, requestOptions) {
|
|
1180
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1181
|
+
var _a, _b, _c, _d;
|
|
1182
|
+
let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1183
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1184
|
+
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/statements/update_settlement_type/v1/${encodeURIComponent(statementId)}`),
|
|
1185
|
+
method: "POST",
|
|
1186
|
+
headers: _headers,
|
|
1187
|
+
contentType: "application/json",
|
|
1188
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
1189
|
+
requestType: "json",
|
|
1190
|
+
body: request,
|
|
1191
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
1192
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
1193
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1194
|
+
});
|
|
1195
|
+
if (_response.ok) {
|
|
1196
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
1197
|
+
}
|
|
1198
|
+
if (_response.error.reason === "status-code") {
|
|
1199
|
+
switch (_response.error.statusCode) {
|
|
1200
|
+
case 422:
|
|
1201
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
1202
|
+
default:
|
|
1203
|
+
throw new errors.ChrtError({
|
|
1204
|
+
statusCode: _response.error.statusCode,
|
|
1205
|
+
body: _response.error.body,
|
|
1206
|
+
rawResponse: _response.rawResponse,
|
|
1207
|
+
});
|
|
1208
|
+
}
|
|
1209
|
+
}
|
|
1210
|
+
switch (_response.error.reason) {
|
|
1211
|
+
case "non-json":
|
|
1212
|
+
throw new errors.ChrtError({
|
|
1213
|
+
statusCode: _response.error.statusCode,
|
|
1214
|
+
body: _response.error.rawBody,
|
|
1215
|
+
rawResponse: _response.rawResponse,
|
|
1216
|
+
});
|
|
1217
|
+
case "timeout":
|
|
1218
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /billing/statements/update_settlement_type/v1/{statement_id}.");
|
|
1219
|
+
case "unknown":
|
|
1220
|
+
throw new errors.ChrtError({
|
|
1221
|
+
message: _response.error.errorMessage,
|
|
1222
|
+
rawResponse: _response.rawResponse,
|
|
1223
|
+
});
|
|
1224
|
+
}
|
|
1225
|
+
});
|
|
1226
|
+
}
|
|
1227
|
+
/**
|
|
1228
|
+
* Deletes a STAGED Statement that has no attached LineItemGroups or BillingLedgerPeriods. Detach all children first via the detach_* routes. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[statement_owner_operators] | () -> (bool)
|
|
1229
|
+
*
|
|
1230
|
+
* @param {string} statementId
|
|
1231
|
+
* @param {Statements.RequestOptions} requestOptions - Request-specific configuration.
|
|
1232
|
+
*
|
|
1233
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
1234
|
+
*
|
|
1235
|
+
* @example
|
|
1236
|
+
* await client.billing.statements.deleteV1("statement_id")
|
|
1237
|
+
*/
|
|
1238
|
+
deleteV1(statementId, requestOptions) {
|
|
1239
|
+
return core.HttpResponsePromise.fromPromise(this.__deleteV1(statementId, requestOptions));
|
|
1240
|
+
}
|
|
1241
|
+
__deleteV1(statementId, requestOptions) {
|
|
1242
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1243
|
+
var _a, _b, _c, _d;
|
|
1244
|
+
let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1245
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1246
|
+
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/statements/delete/v1/${encodeURIComponent(statementId)}`),
|
|
1247
|
+
method: "DELETE",
|
|
1248
|
+
headers: _headers,
|
|
1249
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
1250
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
1251
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
1252
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1253
|
+
});
|
|
1254
|
+
if (_response.ok) {
|
|
1255
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
1256
|
+
}
|
|
1257
|
+
if (_response.error.reason === "status-code") {
|
|
1258
|
+
switch (_response.error.statusCode) {
|
|
1259
|
+
case 422:
|
|
1260
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
1261
|
+
default:
|
|
1262
|
+
throw new errors.ChrtError({
|
|
1263
|
+
statusCode: _response.error.statusCode,
|
|
1264
|
+
body: _response.error.body,
|
|
1265
|
+
rawResponse: _response.rawResponse,
|
|
1266
|
+
});
|
|
1267
|
+
}
|
|
1268
|
+
}
|
|
1269
|
+
switch (_response.error.reason) {
|
|
1270
|
+
case "non-json":
|
|
1271
|
+
throw new errors.ChrtError({
|
|
1272
|
+
statusCode: _response.error.statusCode,
|
|
1273
|
+
body: _response.error.rawBody,
|
|
1274
|
+
rawResponse: _response.rawResponse,
|
|
1275
|
+
});
|
|
1276
|
+
case "timeout":
|
|
1277
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling DELETE /billing/statements/delete/v1/{statement_id}.");
|
|
1278
|
+
case "unknown":
|
|
1279
|
+
throw new errors.ChrtError({
|
|
1280
|
+
message: _response.error.errorMessage,
|
|
1281
|
+
rawResponse: _response.rawResponse,
|
|
1282
|
+
});
|
|
1283
|
+
}
|
|
1284
|
+
});
|
|
1285
|
+
}
|
|
939
1286
|
_getAuthorizationHeader() {
|
|
940
1287
|
return __awaiter(this, void 0, void 0, function* () {
|
|
941
1288
|
const bearer = yield core.Supplier.get(this._options.token);
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../../../../../../index.mjs";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* settlement_type: "stripe_connect"
|
|
9
|
+
* }
|
|
10
|
+
*/
|
|
11
|
+
export interface StatementCreateClientReq {
|
|
12
|
+
settlement_type: Chrt.SettlementTypeEnum1;
|
|
13
|
+
/** Must be a string starting with `org_` */
|
|
14
|
+
payment_origin_org_id?: string | null;
|
|
15
|
+
payment_origin_off_chrt_shipper_org_id?: string | null;
|
|
16
|
+
/** Must be a string starting with `org_` */
|
|
17
|
+
payment_destination_org_id?: string | null;
|
|
18
|
+
payment_destination_off_chrt_provider_org_id?: string | null;
|
|
19
|
+
payment_destination_driver_id?: string | null;
|
|
20
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../../../../../../index.mjs";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* settlement_type: "stripe_connect"
|
|
9
|
+
* }
|
|
10
|
+
*/
|
|
11
|
+
export interface StatementUpdateSettlementTypeReq {
|
|
12
|
+
settlement_type: Chrt.SettlementTypeEnum1;
|
|
13
|
+
}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
export { type StatementExpandedRetrieveReq } from "./StatementExpandedRetrieveReq.mjs";
|
|
2
2
|
export { type StatementsListV1Request } from "./StatementsListV1Request.mjs";
|
|
3
3
|
export { type StatementsExpandedListV1Request } from "./StatementsExpandedListV1Request.mjs";
|
|
4
|
-
export { type
|
|
5
|
-
export { type
|
|
6
|
-
export { type BodyStatementsPatchUpdateOffChrtSettlementStateV1BillingStatementsUpdateOffChrtSettlementStateV1StatementIdPatch } from "./BodyStatementsPatchUpdateOffChrtSettlementStateV1BillingStatementsUpdateOffChrtSettlementStateV1StatementIdPatch.mjs";
|
|
7
|
-
export { type OpenInvoiceReq } from "./OpenInvoiceReq.mjs";
|
|
4
|
+
export { type StatementCreateClientReq } from "./StatementCreateClientReq.mjs";
|
|
5
|
+
export { type StatementUpdateSettlementTypeReq } from "./StatementUpdateSettlementTypeReq.mjs";
|