@chrt-inc/typescript-sdk 1.625.0 → 1.625.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/cjs/Client.d.ts +6 -0
- package/dist/cjs/Client.js +22 -12
- package/dist/cjs/api/resources/billing/client/Client.d.ts +18 -3
- package/dist/cjs/api/resources/billing/client/Client.js +36 -11
- package/dist/cjs/api/resources/billing/resources/billingLedgerPeriods/client/Client.d.ts +116 -0
- package/dist/cjs/api/resources/billing/resources/billingLedgerPeriods/client/Client.js +426 -0
- package/dist/cjs/api/resources/billing/resources/billingLedgerPeriods/client/requests/BillingLedgerPeriodClientUpdate1.d.ts +14 -0
- package/dist/cjs/api/resources/billing/resources/billingLedgerPeriods/client/requests/BillingLedgerPeriodsListV1Request.d.ts +42 -0
- package/dist/cjs/api/resources/billing/resources/billingLedgerPeriods/client/requests/OpenPeriodReq.d.ts +17 -0
- package/dist/cjs/api/resources/billing/resources/billingLedgerPeriods/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/billing/resources/billingLedgers/client/Client.d.ts +111 -0
- package/dist/cjs/api/resources/billing/resources/billingLedgers/client/Client.js +412 -0
- package/dist/cjs/api/resources/billing/resources/billingLedgers/client/requests/BillingLedgerClientCreate1.d.ts +22 -0
- package/dist/cjs/api/resources/billing/resources/billingLedgers/client/requests/BillingLedgerClientUpdate1.d.ts +11 -0
- package/dist/cjs/api/resources/billing/resources/billingLedgers/client/requests/BillingLedgersListV1Request.d.ts +33 -0
- package/dist/cjs/api/resources/billing/resources/billingLedgers/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/billing/resources/cargoOnFlightRateSheets/client/Client.d.ts +132 -0
- package/dist/cjs/api/resources/billing/resources/cargoOnFlightRateSheets/client/Client.js +505 -0
- package/dist/cjs/api/resources/billing/resources/cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetClientCreate1.d.ts +19 -0
- package/dist/cjs/api/resources/billing/resources/cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetClientUpdate1.d.ts +21 -0
- package/dist/cjs/api/resources/billing/resources/cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetsListV1Request.d.ts +16 -0
- package/dist/cjs/api/resources/billing/resources/cargoOnFlightRateSheets/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/billing/resources/chrtGroundProviderRateSheets/client/Client.d.ts +132 -0
- package/dist/cjs/api/resources/billing/resources/chrtGroundProviderRateSheets/client/Client.js +508 -0
- package/dist/cjs/api/resources/billing/resources/chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetClientCreate1.d.ts +35 -0
- package/dist/cjs/api/resources/billing/resources/chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetClientUpdate1.d.ts +46 -0
- package/dist/cjs/api/resources/billing/resources/chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetsListV1Request.d.ts +16 -0
- package/dist/cjs/api/resources/billing/resources/chrtGroundProviderRateSheets/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/billing/resources/index.d.ts +12 -2
- package/dist/cjs/api/resources/billing/resources/index.js +13 -3
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/Client.d.ts +152 -45
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/Client.js +548 -94
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupAdHocCreateClientReq.d.ts +22 -0
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupsListV1Request.d.ts +54 -0
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/index.d.ts +2 -4
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/index.d.ts +0 -2
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/index.js +1 -3
- package/dist/cjs/api/resources/billing/resources/onboardCourierRateSheets/client/Client.d.ts +132 -0
- package/dist/cjs/api/resources/billing/resources/onboardCourierRateSheets/client/Client.js +505 -0
- package/dist/cjs/api/resources/billing/resources/onboardCourierRateSheets/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/billing/resources/onboardCourierRateSheets/client/index.js +17 -0
- package/dist/cjs/api/resources/billing/resources/onboardCourierRateSheets/client/requests/OnboardCourierRateSheetClientCreate1.d.ts +16 -0
- package/dist/cjs/api/resources/billing/resources/onboardCourierRateSheets/client/requests/OnboardCourierRateSheetClientUpdate1.d.ts +15 -0
- package/dist/cjs/api/resources/billing/resources/onboardCourierRateSheets/client/requests/OnboardCourierRateSheetsListV1Request.d.ts +16 -0
- package/dist/cjs/api/resources/billing/resources/onboardCourierRateSheets/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/billing/resources/onboardCourierRateSheets/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/billing/resources/onboardCourierRateSheets/index.d.ts +1 -0
- package/dist/cjs/api/resources/billing/resources/onboardCourierRateSheets/index.js +17 -0
- package/dist/cjs/api/resources/billing/resources/rateSheetMappings/client/Client.d.ts +136 -0
- package/dist/cjs/api/resources/billing/resources/rateSheetMappings/client/Client.js +503 -0
- package/dist/cjs/api/resources/billing/resources/rateSheetMappings/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/billing/resources/rateSheetMappings/client/index.js +17 -0
- package/dist/cjs/api/resources/billing/resources/rateSheetMappings/client/requests/RateSheetMappingClientCreate1.d.ts +20 -0
- package/dist/cjs/api/resources/billing/resources/rateSheetMappings/client/requests/RateSheetMappingsListV1Request.d.ts +14 -0
- package/dist/cjs/api/resources/billing/resources/rateSheetMappings/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/billing/resources/rateSheetMappings/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/billing/resources/rateSheetMappings/index.d.ts +1 -0
- package/dist/cjs/api/resources/billing/resources/rateSheetMappings/index.js +17 -0
- package/dist/cjs/api/resources/billing/resources/statements/client/Client.d.ts +106 -27
- package/dist/cjs/api/resources/billing/resources/statements/client/Client.js +398 -49
- package/dist/cjs/api/resources/billing/resources/statements/client/requests/StatementCreateClientReq.d.ts +20 -0
- package/dist/cjs/api/resources/billing/resources/statements/client/requests/StatementUpdateSettlementTypeReq.d.ts +13 -0
- package/dist/cjs/api/resources/billing/resources/statements/client/requests/StatementsExpandedListV1Request.d.ts +1 -0
- package/dist/cjs/api/resources/billing/resources/statements/client/requests/StatementsListV1Request.d.ts +1 -0
- package/dist/cjs/api/resources/billing/resources/statements/client/requests/index.d.ts +2 -4
- package/dist/cjs/api/resources/index.d.ts +2 -0
- package/dist/cjs/api/resources/index.js +3 -1
- package/dist/cjs/api/resources/listing/client/Client.d.ts +32 -0
- package/dist/cjs/api/resources/listing/client/Client.js +32 -0
- package/dist/cjs/api/resources/listing/client/index.js +2 -0
- package/dist/cjs/api/resources/listing/index.d.ts +2 -0
- package/dist/cjs/api/resources/listing/index.js +18 -0
- package/dist/cjs/api/resources/listing/resources/bidThreads/client/Client.d.ts +185 -0
- package/dist/cjs/api/resources/listing/resources/bidThreads/client/Client.js +734 -0
- package/dist/cjs/api/resources/listing/resources/bidThreads/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/listing/resources/bidThreads/client/index.js +17 -0
- package/dist/cjs/api/resources/listing/resources/bidThreads/client/requests/BidThreadClientCreate1.d.ts +18 -0
- package/dist/cjs/api/resources/listing/resources/bidThreads/client/requests/BidThreadsListForBidderV1Request.d.ts +45 -0
- package/dist/cjs/api/resources/listing/resources/bidThreads/client/requests/BidThreadsListForListingV1Request.d.ts +45 -0
- package/dist/cjs/api/resources/listing/resources/bidThreads/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/listing/resources/bidThreads/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/listing/resources/bidThreads/index.d.ts +1 -0
- package/dist/cjs/api/resources/listing/resources/bidThreads/index.js +17 -0
- package/dist/cjs/api/resources/listing/resources/driverBiddingGroups/client/Client.d.ts +144 -0
- package/dist/cjs/api/resources/listing/resources/driverBiddingGroups/client/Client.js +538 -0
- package/dist/cjs/api/resources/listing/resources/driverBiddingGroups/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/listing/resources/driverBiddingGroups/client/index.js +17 -0
- package/dist/cjs/api/resources/listing/resources/driverBiddingGroups/client/requests/DriverBiddingGroupClientCreate1.d.ts +14 -0
- package/dist/cjs/api/resources/listing/resources/driverBiddingGroups/client/requests/DriverBiddingGroupsListByOrgV1Request.d.ts +39 -0
- package/dist/cjs/api/resources/listing/resources/driverBiddingGroups/client/requests/DriverBiddingGroupsUpdateNameV1Request.d.ts +12 -0
- package/dist/cjs/api/resources/listing/resources/driverBiddingGroups/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/listing/resources/driverBiddingGroups/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/listing/resources/driverBiddingGroups/index.d.ts +1 -0
- package/dist/cjs/api/resources/listing/resources/driverBiddingGroups/index.js +17 -0
- package/dist/cjs/api/resources/listing/resources/index.d.ts +8 -0
- package/dist/cjs/api/resources/listing/resources/index.js +47 -0
- package/dist/cjs/api/resources/listing/resources/listings/client/Client.d.ts +259 -0
- package/dist/cjs/api/resources/listing/resources/listings/client/Client.js +1074 -0
- package/dist/cjs/api/resources/listing/resources/listings/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/listing/resources/listings/client/index.js +17 -0
- package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingAddDriverParticipantsReq.d.ts +11 -0
- package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingAddProviderParticipantsReq.d.ts +11 -0
- package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingClientCreate1.d.ts +30 -0
- package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingClientUpdate1.d.ts +17 -0
- package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingRemoveDriverParticipantsReq.d.ts +10 -0
- package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingRemoveProviderParticipantsReq.d.ts +10 -0
- package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingsListByOrgV1Request.d.ts +54 -0
- package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingsListForDriverBidderV1Request.d.ts +51 -0
- package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingsListForProviderBidderV1Request.d.ts +51 -0
- package/dist/cjs/api/resources/listing/resources/listings/client/requests/index.d.ts +9 -0
- package/dist/cjs/api/resources/listing/resources/listings/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/listing/resources/listings/index.d.ts +1 -0
- package/dist/cjs/api/resources/listing/resources/listings/index.js +17 -0
- package/dist/cjs/api/resources/listing/resources/orgBiddingGroups/client/Client.d.ts +144 -0
- package/dist/cjs/api/resources/listing/resources/orgBiddingGroups/client/Client.js +538 -0
- package/dist/cjs/api/resources/listing/resources/orgBiddingGroups/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/listing/resources/orgBiddingGroups/client/index.js +17 -0
- package/dist/cjs/api/resources/listing/resources/orgBiddingGroups/client/requests/OrgBiddingGroupClientCreate1.d.ts +14 -0
- package/dist/cjs/api/resources/listing/resources/orgBiddingGroups/client/requests/OrgBiddingGroupsListByOrgV1Request.d.ts +39 -0
- package/dist/cjs/api/resources/listing/resources/orgBiddingGroups/client/requests/OrgBiddingGroupsUpdateNameV1Request.d.ts +12 -0
- package/dist/cjs/api/resources/listing/resources/orgBiddingGroups/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/listing/resources/orgBiddingGroups/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/listing/resources/orgBiddingGroups/index.d.ts +1 -0
- package/dist/cjs/api/resources/listing/resources/orgBiddingGroups/index.js +17 -0
- package/dist/cjs/api/resources/operations/client/Client.d.ts +26 -0
- package/dist/cjs/api/resources/operations/client/Client.js +22 -0
- package/dist/cjs/api/resources/operations/client/index.js +2 -0
- package/dist/cjs/api/resources/operations/index.d.ts +2 -0
- package/dist/cjs/api/resources/operations/index.js +18 -0
- package/dist/cjs/api/resources/operations/resources/cases/client/Client.d.ts +145 -0
- package/dist/cjs/api/resources/operations/resources/cases/client/Client.js +552 -0
- package/dist/cjs/api/resources/operations/resources/cases/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/operations/resources/cases/client/index.js +17 -0
- package/dist/cjs/api/resources/operations/resources/cases/client/requests/CaseAddMessageReq.d.ts +12 -0
- package/dist/cjs/api/resources/operations/resources/cases/client/requests/CaseAssignReq.d.ts +12 -0
- package/dist/cjs/api/resources/operations/resources/cases/client/requests/CaseClientUpdate1.d.ts +11 -0
- package/dist/cjs/api/resources/operations/resources/cases/client/requests/CaseUnassignReq.d.ts +12 -0
- package/dist/cjs/api/resources/operations/resources/cases/client/requests/CasesListV1Request.d.ts +36 -0
- package/dist/cjs/api/resources/operations/resources/cases/client/requests/index.d.ts +5 -0
- package/dist/cjs/api/resources/operations/resources/cases/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/operations/resources/cases/index.d.ts +1 -0
- package/dist/cjs/api/resources/operations/resources/cases/index.js +17 -0
- package/dist/cjs/api/resources/operations/resources/departments/client/Client.d.ts +138 -0
- package/dist/cjs/api/resources/operations/resources/departments/client/Client.js +522 -0
- package/dist/cjs/api/resources/operations/resources/departments/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/operations/resources/departments/client/index.js +17 -0
- package/dist/cjs/api/resources/operations/resources/departments/client/requests/DepartmentClientCreate1.d.ts +19 -0
- package/dist/cjs/api/resources/operations/resources/departments/client/requests/DepartmentClientUpdate1.d.ts +13 -0
- package/dist/cjs/api/resources/operations/resources/departments/client/requests/DepartmentsListV1Request.d.ts +24 -0
- package/dist/cjs/api/resources/operations/resources/departments/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/operations/resources/departments/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/operations/resources/departments/index.d.ts +1 -0
- package/dist/cjs/api/resources/operations/resources/departments/index.js +17 -0
- package/dist/cjs/api/resources/operations/resources/index.d.ts +4 -0
- package/dist/cjs/api/resources/operations/resources/index.js +43 -0
- package/dist/cjs/api/resources/orgs/client/Client.d.ts +5 -1
- package/dist/cjs/api/resources/orgs/client/Client.js +17 -11
- package/dist/cjs/api/resources/orgs/client/requests/OrgsListMembersV1Request.d.ts +1 -0
- package/dist/cjs/api/resources/orgs/client/requests/SetOrgTypeReq.d.ts +1 -1
- package/dist/cjs/api/resources/orgs/resources/connections/client/Client.d.ts +33 -35
- package/dist/cjs/api/resources/orgs/resources/connections/client/Client.js +70 -80
- package/dist/cjs/api/resources/orgs/resources/connections/client/requests/ConnectionsListProvidersV1Request.d.ts +17 -0
- package/dist/cjs/api/resources/orgs/resources/connections/client/requests/ProviderProviderUpdateAutoAssignReq.d.ts +12 -0
- package/dist/cjs/api/resources/orgs/resources/connections/client/requests/SetDepartmentReq.d.ts +10 -0
- package/dist/cjs/api/resources/orgs/resources/connections/client/requests/index.d.ts +3 -2
- package/dist/cjs/api/resources/orgs/resources/connections/types/ConnectionsGetByHandleV1Response.d.ts +1 -1
- package/dist/cjs/api/resources/orgs/resources/index.d.ts +2 -0
- package/dist/cjs/api/resources/orgs/resources/index.js +3 -1
- package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/Client.d.ts +106 -0
- package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/Client.js +384 -0
- package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/index.js +17 -0
- package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientCreate1.d.ts +26 -0
- package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientUpdate1.d.ts +31 -0
- package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientUpdate1.js +5 -0
- package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgListV1Request.d.ts +14 -0
- package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgListV1Request.js +5 -0
- package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/index.d.ts +1 -0
- package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/index.js +17 -0
- package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientCreate1.d.ts +1 -2
- package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientUpdate1.d.ts +2 -0
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/client/Client.d.ts +3 -6
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/client/Client.js +3 -8
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/index.d.ts +2 -4
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/index.js +3 -5
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/Client.d.ts +83 -0
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/Client.js +300 -0
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/index.js +17 -0
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientCreate1.d.ts +24 -0
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientCreate1.js +5 -0
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientUpdate1.d.ts +29 -0
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientUpdate1.js +5 -0
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/index.d.ts +1 -0
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/index.js +17 -0
- package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/Client.d.ts +14 -45
- package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/Client.js +18 -147
- package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientCreate1.d.ts +19 -0
- package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientCreate1.js +5 -0
- package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientUpdate1.d.ts +12 -0
- package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientUpdate1.js +5 -0
- package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/requests/index.d.ts +2 -4
- package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.d.ts +21 -4
- package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.js +70 -4
- package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriverUpdateAutoAssignReq.d.ts +12 -0
- package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriverUpdateAutoAssignReq.js +5 -0
- package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriversListOrgMembersAndDriversV1Request.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/Client.js +1 -1
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/requests/OrdersDraftUpdateReq.d.ts +2 -2
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/requests/OrdersNewDraftReq.d.ts +1 -1
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.js +7 -7
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/expanded/client/requests/ExpandedListV1Request.d.ts +4 -4
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/Client.d.ts +2 -47
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/Client.js +2 -191
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/OrderDraftAddTaskGroupReq.d.ts +1 -4
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/index.d.ts +0 -2
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.ts +15 -13
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.js +29 -27
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.d.ts +59 -0
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.js +5 -0
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.ts +5 -4
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/shipping/resources/taskGroups/client/Client.d.ts +228 -15
- package/dist/cjs/api/resources/shipping/resources/taskGroups/client/Client.js +952 -22
- package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/AddExecutorReq.d.ts +13 -0
- package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/AddExecutorReq.js +5 -0
- package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.ts +27 -25
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.js +48 -46
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverForExecutorV1Request.d.ts +59 -0
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverForExecutorV1Request.js +5 -0
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.ts +61 -0
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.js +5 -0
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/index.d.ts +2 -2
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/s3Object/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/s3Object/client/Client.js +2 -2
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/Client.d.ts +8 -8
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/Client.js +14 -14
- package/dist/cjs/api/resources/tracking/resources/sharingSettings/client/Client.d.ts +3 -3
- package/dist/cjs/api/resources/tracking/resources/sharingSettings/client/Client.js +3 -3
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/Client.js +2 -2
- package/dist/cjs/api/types/AttachBillingLedgerPeriodReq.d.ts +6 -0
- package/dist/cjs/api/types/AttachBillingLedgerPeriodReq.js +5 -0
- package/dist/cjs/api/types/AttachLigToVectorClientReq.d.ts +6 -0
- package/dist/cjs/api/types/AttachLigToVectorClientReq.js +5 -0
- package/dist/cjs/api/types/Bid.d.ts +16 -0
- package/dist/cjs/api/types/Bid.js +5 -0
- package/dist/cjs/api/types/BidActionEnum.d.ts +11 -0
- package/dist/cjs/api/types/BidActionEnum.js +13 -0
- package/dist/cjs/api/types/BidAppendReq.d.ts +13 -0
- package/dist/cjs/api/types/BidAppendReq.js +5 -0
- package/dist/cjs/api/types/BidThread1.d.ts +17 -0
- package/dist/cjs/api/types/BidThread1.js +5 -0
- package/dist/cjs/api/types/BidThreadListRes.d.ts +8 -0
- package/dist/cjs/api/types/BidThreadListRes.js +5 -0
- package/dist/cjs/api/types/BidThreadSortByEnum.d.ts +8 -0
- package/dist/cjs/api/types/BidThreadSortByEnum.js +10 -0
- package/dist/cjs/api/types/BidThreadStatusEnum.d.ts +10 -0
- package/dist/cjs/api/types/BidThreadStatusEnum.js +12 -0
- package/dist/cjs/api/types/BillingCycleEnum.d.ts +11 -0
- package/dist/cjs/api/types/BillingCycleEnum.js +13 -0
- package/dist/cjs/api/types/BillingLedger1.d.ts +26 -0
- package/dist/cjs/api/types/BillingLedger1.js +5 -0
- package/dist/cjs/api/types/BillingLedgerListRes.d.ts +8 -0
- package/dist/cjs/api/types/BillingLedgerListRes.js +5 -0
- package/dist/cjs/api/types/BillingLedgerPeriod1.d.ts +35 -0
- package/dist/cjs/api/types/BillingLedgerPeriod1.js +5 -0
- package/dist/cjs/api/types/BillingLedgerPeriodListRes.d.ts +8 -0
- package/dist/cjs/api/types/BillingLedgerPeriodListRes.js +5 -0
- package/dist/cjs/api/types/BillingLedgerPeriodSortByEnum.d.ts +9 -0
- package/dist/cjs/api/types/BillingLedgerPeriodSortByEnum.js +11 -0
- package/dist/cjs/api/types/BillingLedgerPeriodStatusEnum.d.ts +8 -0
- package/dist/cjs/api/types/BillingLedgerPeriodStatusEnum.js +10 -0
- package/dist/cjs/api/types/BillingLedgerSortByEnum.d.ts +4 -0
- package/dist/cjs/api/types/BillingLedgerSortByEnum.js +5 -0
- package/dist/cjs/api/types/BillingLedgerStatusEnum.d.ts +8 -0
- package/dist/cjs/api/types/BillingLedgerStatusEnum.js +10 -0
- package/dist/cjs/api/types/CargoOnFlightRateSheet1.d.ts +16 -0
- package/dist/cjs/api/types/CargoOnFlightRateSheet1.js +5 -0
- package/dist/cjs/api/types/CargoOnFlightRateSheetListRes.d.ts +8 -0
- package/dist/cjs/api/types/CargoOnFlightRateSheetListRes.js +5 -0
- package/dist/cjs/api/types/CargoOnFlightTaskActionEnum1.d.ts +13 -0
- package/dist/cjs/api/types/CargoOnFlightTaskActionEnum1.js +15 -0
- package/dist/cjs/api/types/Case1.d.ts +19 -0
- package/dist/cjs/api/types/Case1.js +5 -0
- package/dist/cjs/api/types/CaseListRes.d.ts +8 -0
- package/dist/cjs/api/types/CaseListRes.js +5 -0
- package/dist/cjs/api/types/CaseMessage1.d.ts +11 -0
- package/dist/cjs/api/types/CaseMessage1.js +5 -0
- package/dist/cjs/api/types/CaseSortByEnum.d.ts +9 -0
- package/dist/cjs/api/types/CaseSortByEnum.js +11 -0
- package/dist/cjs/api/types/CaseStatusEnum.d.ts +9 -0
- package/dist/cjs/api/types/CaseStatusEnum.js +11 -0
- package/dist/cjs/api/types/ChrtGroundProviderRateSheet1.d.ts +32 -0
- package/dist/cjs/api/types/ChrtGroundProviderRateSheet1.js +5 -0
- package/dist/cjs/api/types/ChrtGroundProviderRateSheetListRes.d.ts +8 -0
- package/dist/cjs/api/types/ChrtGroundProviderRateSheetListRes.js +5 -0
- package/dist/cjs/api/types/ChrtGroundProviderTaskActionEnum1.d.ts +13 -0
- package/dist/cjs/api/types/ChrtGroundProviderTaskActionEnum1.js +15 -0
- package/dist/cjs/api/types/CreateLigFromRateSheetForVectorClientReq.d.ts +7 -0
- package/dist/cjs/api/types/CreateLigFromRateSheetForVectorClientReq.js +5 -0
- package/dist/cjs/api/types/Department1.d.ts +17 -0
- package/dist/cjs/api/types/Department1.js +5 -0
- package/dist/cjs/api/types/DepartmentEnum.d.ts +18 -0
- package/dist/cjs/api/types/DepartmentEnum.js +20 -0
- package/dist/cjs/api/types/DepartmentListRes.d.ts +8 -0
- package/dist/cjs/api/types/DepartmentListRes.js +5 -0
- package/dist/cjs/api/types/DepartmentSortByEnum.d.ts +8 -0
- package/dist/cjs/api/types/DepartmentSortByEnum.js +10 -0
- package/dist/cjs/api/types/Driver1.d.ts +1 -2
- package/dist/cjs/api/types/DriverBiddingGroup1.d.ts +15 -0
- package/dist/cjs/api/types/DriverBiddingGroup1.js +5 -0
- package/dist/cjs/api/types/DriverBiddingGroupListRes.d.ts +8 -0
- package/dist/cjs/api/types/DriverBiddingGroupListRes.js +5 -0
- package/dist/cjs/api/types/DriverBiddingGroupSortByEnum.d.ts +9 -0
- package/dist/cjs/api/types/DriverBiddingGroupSortByEnum.js +11 -0
- package/dist/cjs/api/types/LineItem1.d.ts +19 -5
- package/dist/cjs/api/types/LineItemClientCreate1.d.ts +14 -0
- package/dist/cjs/api/types/LineItemClientCreate1.js +5 -0
- package/dist/cjs/api/types/LineItemEnum1.d.ts +19 -11
- package/dist/cjs/api/types/LineItemEnum1.js +12 -10
- package/dist/cjs/api/types/LineItemGroup1.d.ts +31 -4
- package/dist/cjs/api/types/LineItemGroupStatusEnum1.d.ts +20 -4
- package/dist/cjs/api/types/LineItemGroupStatusEnum1.js +0 -3
- package/dist/cjs/api/types/LineItemProvenanceEnum.d.ts +9 -0
- package/dist/cjs/api/types/LineItemProvenanceEnum.js +11 -0
- package/dist/cjs/api/types/LineItemStatusEnum.d.ts +9 -0
- package/dist/cjs/api/types/LineItemStatusEnum.js +11 -0
- package/dist/cjs/api/types/Listing1.d.ts +34 -0
- package/dist/cjs/api/types/Listing1.js +5 -0
- package/dist/cjs/api/types/ListingAudienceEnum.d.ts +8 -0
- package/dist/cjs/api/types/ListingAudienceEnum.js +10 -0
- package/dist/cjs/api/types/ListingForBidderListRes.d.ts +8 -0
- package/dist/cjs/api/types/ListingForBidderListRes.js +5 -0
- package/dist/cjs/api/types/ListingLimitedForBidder1.d.ts +41 -0
- package/dist/cjs/api/types/ListingLimitedForBidder1.js +5 -0
- package/dist/cjs/api/types/ListingListRes.d.ts +8 -0
- package/dist/cjs/api/types/ListingListRes.js +5 -0
- package/dist/cjs/api/types/ListingSortByEnum.d.ts +8 -0
- package/dist/cjs/api/types/ListingSortByEnum.js +10 -0
- package/dist/cjs/api/types/ListingStatusEnum.d.ts +9 -0
- package/dist/cjs/api/types/ListingStatusEnum.js +11 -0
- package/dist/cjs/api/types/ListingTypeEnum.d.ts +8 -0
- package/dist/cjs/api/types/ListingTypeEnum.js +10 -0
- package/dist/cjs/api/types/OffChrtProviderOrg1.d.ts +24 -0
- package/dist/cjs/api/types/OffChrtProviderOrg1.js +5 -0
- package/dist/cjs/api/types/OffChrtProviderOrgListRes.d.ts +8 -0
- package/dist/cjs/api/types/OffChrtProviderOrgListRes.js +5 -0
- package/dist/cjs/api/types/OffChrtShipperOrg1.d.ts +1 -2
- package/dist/cjs/api/types/OnboardCourierRateSheet1.d.ts +13 -0
- package/dist/cjs/api/types/OnboardCourierRateSheet1.js +5 -0
- package/dist/cjs/api/types/OnboardCourierRateSheetListRes.d.ts +8 -0
- package/dist/cjs/api/types/OnboardCourierRateSheetListRes.js +5 -0
- package/dist/cjs/api/types/Order1.d.ts +5 -5
- package/dist/cjs/api/types/OrderAndTaskGroupExpandedReq.d.ts +4 -4
- package/dist/cjs/api/types/OrderDraftExpanded.d.ts +2 -2
- package/dist/cjs/api/types/OrderExpanded.d.ts +2 -2
- package/dist/cjs/api/types/OrdersDraftUpdateRes.d.ts +1 -1
- package/dist/cjs/api/types/OrgBiddingGroup1.d.ts +15 -0
- package/dist/cjs/api/types/OrgBiddingGroup1.js +5 -0
- package/dist/cjs/api/types/OrgBiddingGroupListRes.d.ts +8 -0
- package/dist/cjs/api/types/OrgBiddingGroupListRes.js +5 -0
- package/dist/cjs/api/types/OrgBiddingGroupSortByEnum.d.ts +9 -0
- package/dist/cjs/api/types/OrgBiddingGroupSortByEnum.js +11 -0
- package/dist/cjs/api/types/OrgPrivateData1.d.ts +0 -8
- package/dist/cjs/api/types/OrgRoleEnum.d.ts +2 -2
- package/dist/cjs/api/types/OrgTypeEnum.d.ts +2 -3
- package/dist/cjs/api/types/OrgTypeEnum.js +1 -2
- package/dist/cjs/api/types/ProFormaLineItem1.d.ts +20 -0
- package/dist/cjs/api/types/ProFormaLineItem1.js +5 -0
- package/dist/cjs/api/types/ProviderConnectionListRes.d.ts +8 -0
- package/dist/cjs/api/types/ProviderConnectionListRes.js +5 -0
- package/dist/cjs/api/types/ProviderConnectionRes.d.ts +8 -0
- package/dist/cjs/api/types/ProviderConnectionRes.js +5 -0
- package/dist/cjs/api/types/ProviderOrgInfoForConnections1.d.ts +22 -0
- package/dist/cjs/api/types/ProviderOrgInfoForConnections1.js +5 -0
- package/dist/cjs/api/types/ProviderOrgProfile1.d.ts +13 -0
- package/dist/cjs/api/types/ProviderOrgProfile1.js +5 -0
- package/dist/cjs/api/types/ProviderProviderConnection1.d.ts +15 -0
- package/dist/cjs/api/types/ProviderProviderConnection1.js +5 -0
- package/dist/cjs/api/types/RateSheetMapping1.d.ts +17 -0
- package/dist/cjs/api/types/RateSheetMapping1.js +5 -0
- package/dist/cjs/api/types/RateSheetMappingListRes.d.ts +8 -0
- package/dist/cjs/api/types/RateSheetMappingListRes.js +5 -0
- package/dist/cjs/api/types/ShipperProviderConnection1.d.ts +14 -0
- package/dist/cjs/api/types/ShipperProviderConnection1.js +5 -0
- package/dist/cjs/api/types/ShippingTaskAddedWebhookPayload.d.ts +1 -1
- package/dist/cjs/api/types/ShippingTaskCompletedWebhookPayload.d.ts +2 -2
- package/dist/cjs/api/types/ShippingTaskDeletedWebhookPayload.d.ts +1 -1
- package/dist/cjs/api/types/ShippingTaskSkippedWebhookPayload.d.ts +1 -1
- package/dist/cjs/api/types/Statement1.d.ts +2 -1
- package/dist/cjs/api/types/Task1.d.ts +1 -1
- package/dist/cjs/api/types/TaskClientCreate1.d.ts +1 -1
- package/dist/cjs/api/types/TaskClientUpdate1.d.ts +1 -1
- package/dist/cjs/api/types/TaskGroup1.d.ts +19 -16
- package/dist/cjs/api/types/TaskGroupExpanded.d.ts +6 -6
- package/dist/cjs/api/types/TaskGroupQuoteClientReq.d.ts +6 -0
- package/dist/cjs/api/types/TaskGroupQuoteClientReq.js +5 -0
- package/dist/cjs/api/types/TaskGroupQuoteResp.d.ts +37 -0
- package/dist/cjs/api/types/TaskGroupQuoteResp.js +5 -0
- package/dist/cjs/api/types/TaskGroupTypeEnum1.d.ts +3 -3
- package/dist/cjs/api/types/TaskGroupTypeEnum1.js +2 -2
- package/dist/cjs/api/types/index.d.ts +66 -21
- package/dist/cjs/api/types/index.js +66 -21
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.d.mts +6 -0
- package/dist/esm/Client.mjs +12 -2
- package/dist/esm/api/resources/billing/client/Client.d.mts +18 -3
- package/dist/esm/api/resources/billing/client/Client.mjs +28 -3
- package/dist/esm/api/resources/billing/resources/billingLedgerPeriods/client/Client.d.mts +116 -0
- package/dist/esm/api/resources/billing/resources/billingLedgerPeriods/client/Client.mjs +389 -0
- package/dist/esm/api/resources/billing/resources/billingLedgerPeriods/client/requests/BillingLedgerPeriodClientUpdate1.d.mts +14 -0
- package/dist/esm/api/resources/billing/resources/billingLedgerPeriods/client/requests/BillingLedgerPeriodsListV1Request.d.mts +42 -0
- package/dist/esm/api/resources/billing/resources/billingLedgerPeriods/client/requests/OpenPeriodReq.d.mts +17 -0
- package/dist/esm/api/resources/billing/resources/billingLedgerPeriods/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/billing/resources/billingLedgers/client/Client.d.mts +111 -0
- package/dist/esm/api/resources/billing/resources/billingLedgers/client/Client.mjs +375 -0
- package/dist/esm/api/resources/billing/resources/billingLedgers/client/requests/BillingLedgerClientCreate1.d.mts +22 -0
- package/dist/esm/api/resources/billing/resources/billingLedgers/client/requests/BillingLedgerClientUpdate1.d.mts +11 -0
- package/dist/esm/api/resources/billing/resources/billingLedgers/client/requests/BillingLedgersListV1Request.d.mts +33 -0
- package/dist/esm/api/resources/billing/resources/billingLedgers/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/billing/resources/cargoOnFlightRateSheets/client/Client.d.mts +132 -0
- package/dist/esm/api/resources/billing/resources/cargoOnFlightRateSheets/client/Client.mjs +468 -0
- package/dist/esm/api/resources/billing/resources/cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetClientCreate1.d.mts +19 -0
- package/dist/esm/api/resources/billing/resources/cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetClientUpdate1.d.mts +21 -0
- package/dist/esm/api/resources/billing/resources/cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetsListV1Request.d.mts +16 -0
- package/dist/esm/api/resources/billing/resources/cargoOnFlightRateSheets/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/billing/resources/cargoOnFlightRateSheets/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/billing/resources/chrtGroundProviderRateSheets/client/Client.d.mts +132 -0
- package/dist/esm/api/resources/billing/resources/chrtGroundProviderRateSheets/client/Client.mjs +471 -0
- package/dist/esm/api/resources/billing/resources/chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetClientCreate1.d.mts +35 -0
- package/dist/esm/api/resources/billing/resources/chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetClientUpdate1.d.mts +46 -0
- package/dist/esm/api/resources/billing/resources/chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetsListV1Request.d.mts +16 -0
- package/dist/esm/api/resources/billing/resources/chrtGroundProviderRateSheets/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/billing/resources/chrtGroundProviderRateSheets/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/billing/resources/index.d.mts +12 -2
- package/dist/esm/api/resources/billing/resources/index.mjs +12 -2
- package/dist/esm/api/resources/billing/resources/lineItemGroups/client/Client.d.mts +152 -45
- package/dist/esm/api/resources/billing/resources/lineItemGroups/client/Client.mjs +544 -90
- package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupAdHocCreateClientReq.d.mts +22 -0
- package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupsListV1Request.d.mts +54 -0
- package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/index.d.mts +2 -4
- package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/index.d.mts +0 -2
- package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/index.mjs +0 -2
- package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/client/Client.d.mts +132 -0
- package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/client/Client.mjs +468 -0
- package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/client/index.d.mts +2 -0
- package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/client/index.mjs +1 -0
- package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/client/requests/OnboardCourierRateSheetClientCreate1.d.mts +16 -0
- package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/client/requests/OnboardCourierRateSheetClientUpdate1.d.mts +15 -0
- package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/client/requests/OnboardCourierRateSheetsListV1Request.d.mts +16 -0
- package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/index.d.mts +1 -0
- package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/index.mjs +1 -0
- package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/Client.d.mts +136 -0
- package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/Client.mjs +466 -0
- package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/index.d.mts +2 -0
- package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/index.mjs +1 -0
- package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/requests/RateSheetMappingClientCreate1.d.mts +20 -0
- package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/requests/RateSheetMappingsListV1Request.d.mts +14 -0
- package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/billing/resources/rateSheetMappings/index.d.mts +1 -0
- package/dist/esm/api/resources/billing/resources/rateSheetMappings/index.mjs +1 -0
- package/dist/esm/api/resources/billing/resources/statements/client/Client.d.mts +106 -27
- package/dist/esm/api/resources/billing/resources/statements/client/Client.mjs +398 -49
- package/dist/esm/api/resources/billing/resources/statements/client/requests/StatementCreateClientReq.d.mts +20 -0
- package/dist/esm/api/resources/billing/resources/statements/client/requests/StatementUpdateSettlementTypeReq.d.mts +13 -0
- package/dist/esm/api/resources/billing/resources/statements/client/requests/StatementsExpandedListV1Request.d.mts +1 -0
- package/dist/esm/api/resources/billing/resources/statements/client/requests/StatementsListV1Request.d.mts +1 -0
- package/dist/esm/api/resources/billing/resources/statements/client/requests/index.d.mts +2 -4
- package/dist/esm/api/resources/index.d.mts +2 -0
- package/dist/esm/api/resources/index.mjs +2 -0
- package/dist/esm/api/resources/listing/client/Client.d.mts +32 -0
- package/dist/esm/api/resources/listing/client/Client.mjs +28 -0
- package/dist/esm/api/resources/listing/client/index.d.mts +1 -0
- package/dist/esm/api/resources/listing/client/index.mjs +1 -0
- package/dist/esm/api/resources/listing/index.d.mts +2 -0
- package/dist/esm/api/resources/listing/index.mjs +2 -0
- package/dist/esm/api/resources/listing/resources/bidThreads/client/Client.d.mts +185 -0
- package/dist/esm/api/resources/listing/resources/bidThreads/client/Client.mjs +697 -0
- package/dist/esm/api/resources/listing/resources/bidThreads/client/index.d.mts +2 -0
- package/dist/esm/api/resources/listing/resources/bidThreads/client/index.mjs +1 -0
- package/dist/esm/api/resources/listing/resources/bidThreads/client/requests/BidThreadClientCreate1.d.mts +18 -0
- package/dist/esm/api/resources/listing/resources/bidThreads/client/requests/BidThreadsListForBidderV1Request.d.mts +45 -0
- package/dist/esm/api/resources/listing/resources/bidThreads/client/requests/BidThreadsListForListingV1Request.d.mts +45 -0
- package/dist/esm/api/resources/listing/resources/bidThreads/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/listing/resources/bidThreads/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/listing/resources/bidThreads/index.d.mts +1 -0
- package/dist/esm/api/resources/listing/resources/bidThreads/index.mjs +1 -0
- package/dist/esm/api/resources/listing/resources/driverBiddingGroups/client/Client.d.mts +144 -0
- package/dist/esm/api/resources/listing/resources/driverBiddingGroups/client/Client.mjs +501 -0
- package/dist/esm/api/resources/listing/resources/driverBiddingGroups/client/index.d.mts +2 -0
- package/dist/esm/api/resources/listing/resources/driverBiddingGroups/client/index.mjs +1 -0
- package/dist/esm/api/resources/listing/resources/driverBiddingGroups/client/requests/DriverBiddingGroupClientCreate1.d.mts +14 -0
- package/dist/esm/api/resources/listing/resources/driverBiddingGroups/client/requests/DriverBiddingGroupsListByOrgV1Request.d.mts +39 -0
- package/dist/esm/api/resources/listing/resources/driverBiddingGroups/client/requests/DriverBiddingGroupsUpdateNameV1Request.d.mts +12 -0
- package/dist/esm/api/resources/listing/resources/driverBiddingGroups/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/listing/resources/driverBiddingGroups/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/listing/resources/driverBiddingGroups/index.d.mts +1 -0
- package/dist/esm/api/resources/listing/resources/driverBiddingGroups/index.mjs +1 -0
- package/dist/esm/api/resources/listing/resources/index.d.mts +8 -0
- package/dist/esm/api/resources/listing/resources/index.mjs +8 -0
- package/dist/esm/api/resources/listing/resources/listings/client/Client.d.mts +259 -0
- package/dist/esm/api/resources/listing/resources/listings/client/Client.mjs +1037 -0
- package/dist/esm/api/resources/listing/resources/listings/client/index.d.mts +2 -0
- package/dist/esm/api/resources/listing/resources/listings/client/index.mjs +1 -0
- package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingAddDriverParticipantsReq.d.mts +11 -0
- package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingAddProviderParticipantsReq.d.mts +11 -0
- package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingClientCreate1.d.mts +30 -0
- package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingClientUpdate1.d.mts +17 -0
- package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingRemoveDriverParticipantsReq.d.mts +10 -0
- package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingRemoveProviderParticipantsReq.d.mts +10 -0
- package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingsListByOrgV1Request.d.mts +54 -0
- package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingsListForDriverBidderV1Request.d.mts +51 -0
- package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingsListForProviderBidderV1Request.d.mts +51 -0
- package/dist/esm/api/resources/listing/resources/listings/client/requests/index.d.mts +9 -0
- package/dist/esm/api/resources/listing/resources/listings/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/listing/resources/listings/index.d.mts +1 -0
- package/dist/esm/api/resources/listing/resources/listings/index.mjs +1 -0
- package/dist/esm/api/resources/listing/resources/orgBiddingGroups/client/Client.d.mts +144 -0
- package/dist/esm/api/resources/listing/resources/orgBiddingGroups/client/Client.mjs +501 -0
- package/dist/esm/api/resources/listing/resources/orgBiddingGroups/client/index.d.mts +2 -0
- package/dist/esm/api/resources/listing/resources/orgBiddingGroups/client/index.mjs +1 -0
- package/dist/esm/api/resources/listing/resources/orgBiddingGroups/client/requests/OrgBiddingGroupClientCreate1.d.mts +14 -0
- package/dist/esm/api/resources/listing/resources/orgBiddingGroups/client/requests/OrgBiddingGroupsListByOrgV1Request.d.mts +39 -0
- package/dist/esm/api/resources/listing/resources/orgBiddingGroups/client/requests/OrgBiddingGroupsUpdateNameV1Request.d.mts +12 -0
- package/dist/esm/api/resources/listing/resources/orgBiddingGroups/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/listing/resources/orgBiddingGroups/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/listing/resources/orgBiddingGroups/index.d.mts +1 -0
- package/dist/esm/api/resources/listing/resources/orgBiddingGroups/index.mjs +1 -0
- package/dist/esm/api/resources/operations/client/Client.d.mts +26 -0
- package/dist/esm/api/resources/operations/client/Client.mjs +18 -0
- package/dist/esm/api/resources/operations/client/index.d.mts +1 -0
- package/dist/esm/api/resources/operations/client/index.mjs +1 -0
- package/dist/esm/api/resources/operations/index.d.mts +2 -0
- package/dist/esm/api/resources/operations/index.mjs +2 -0
- package/dist/esm/api/resources/operations/resources/cases/client/Client.d.mts +145 -0
- package/dist/esm/api/resources/operations/resources/cases/client/Client.mjs +515 -0
- package/dist/esm/api/resources/operations/resources/cases/client/index.d.mts +2 -0
- package/dist/esm/api/resources/operations/resources/cases/client/index.mjs +1 -0
- package/dist/esm/api/resources/operations/resources/cases/client/requests/CaseAddMessageReq.d.mts +12 -0
- package/dist/esm/api/resources/operations/resources/cases/client/requests/CaseAssignReq.d.mts +12 -0
- package/dist/esm/api/resources/operations/resources/cases/client/requests/CaseClientUpdate1.d.mts +11 -0
- package/dist/esm/api/resources/operations/resources/cases/client/requests/CaseUnassignReq.d.mts +12 -0
- package/dist/esm/api/resources/operations/resources/cases/client/requests/CasesListV1Request.d.mts +36 -0
- package/dist/esm/api/resources/operations/resources/cases/client/requests/index.d.mts +5 -0
- package/dist/esm/api/resources/operations/resources/cases/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/operations/resources/cases/index.d.mts +1 -0
- package/dist/esm/api/resources/operations/resources/cases/index.mjs +1 -0
- package/dist/esm/api/resources/operations/resources/departments/client/Client.d.mts +138 -0
- package/dist/esm/api/resources/operations/resources/departments/client/Client.mjs +485 -0
- package/dist/esm/api/resources/operations/resources/departments/client/index.d.mts +2 -0
- package/dist/esm/api/resources/operations/resources/departments/client/index.mjs +1 -0
- package/dist/esm/api/resources/operations/resources/departments/client/requests/DepartmentClientCreate1.d.mts +19 -0
- package/dist/esm/api/resources/operations/resources/departments/client/requests/DepartmentClientUpdate1.d.mts +13 -0
- package/dist/esm/api/resources/operations/resources/departments/client/requests/DepartmentsListV1Request.d.mts +24 -0
- package/dist/esm/api/resources/operations/resources/departments/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/operations/resources/departments/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/operations/resources/departments/index.d.mts +1 -0
- package/dist/esm/api/resources/operations/resources/departments/index.mjs +1 -0
- package/dist/esm/api/resources/operations/resources/index.d.mts +4 -0
- package/dist/esm/api/resources/operations/resources/index.mjs +4 -0
- package/dist/esm/api/resources/orgs/client/Client.d.mts +5 -1
- package/dist/esm/api/resources/orgs/client/Client.mjs +7 -1
- package/dist/esm/api/resources/orgs/client/requests/OrgsListMembersV1Request.d.mts +1 -0
- package/dist/esm/api/resources/orgs/client/requests/SetOrgTypeReq.d.mts +1 -1
- package/dist/esm/api/resources/orgs/resources/connections/client/Client.d.mts +33 -35
- package/dist/esm/api/resources/orgs/resources/connections/client/Client.mjs +70 -80
- package/dist/esm/api/resources/orgs/resources/connections/client/requests/ConnectionsListProvidersV1Request.d.mts +17 -0
- package/dist/esm/api/resources/orgs/resources/connections/client/requests/ProviderProviderUpdateAutoAssignReq.d.mts +12 -0
- package/dist/esm/api/resources/orgs/resources/connections/client/requests/SetDepartmentReq.d.mts +10 -0
- package/dist/esm/api/resources/orgs/resources/connections/client/requests/index.d.mts +3 -2
- package/dist/esm/api/resources/orgs/resources/connections/types/ConnectionsGetByHandleV1Response.d.mts +1 -1
- package/dist/esm/api/resources/orgs/resources/index.d.mts +2 -0
- package/dist/esm/api/resources/orgs/resources/index.mjs +2 -0
- package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/Client.d.mts +106 -0
- package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/Client.mjs +347 -0
- package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/index.d.mts +2 -0
- package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/index.mjs +1 -0
- package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientCreate1.d.mts +26 -0
- package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientUpdate1.d.mts +31 -0
- package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientUpdate1.mjs +4 -0
- package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgListV1Request.d.mts +14 -0
- package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgListV1Request.mjs +4 -0
- package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/index.d.mts +1 -0
- package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/index.mjs +1 -0
- package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientCreate1.d.mts +1 -2
- package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientUpdate1.d.mts +2 -0
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/client/Client.d.mts +3 -6
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/client/Client.mjs +3 -8
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/index.d.mts +2 -4
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/index.mjs +2 -4
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/Client.d.mts +83 -0
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/Client.mjs +263 -0
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/index.d.mts +2 -0
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/index.mjs +1 -0
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientCreate1.d.mts +24 -0
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientCreate1.mjs +4 -0
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientUpdate1.d.mts +29 -0
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientUpdate1.mjs +4 -0
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/index.d.mts +1 -0
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/index.mjs +1 -0
- package/dist/esm/api/resources/orgs/resources/orgProfiles/client/Client.d.mts +14 -45
- package/dist/esm/api/resources/orgs/resources/orgProfiles/client/Client.mjs +18 -147
- package/dist/esm/api/resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientCreate1.d.mts +19 -0
- package/dist/esm/api/resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientCreate1.mjs +4 -0
- package/dist/esm/api/resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientUpdate1.d.mts +12 -0
- package/dist/esm/api/resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientUpdate1.mjs +4 -0
- package/dist/esm/api/resources/orgs/resources/orgProfiles/client/requests/index.d.mts +2 -4
- package/dist/esm/api/resources/shipping/resources/drivers/client/Client.d.mts +21 -4
- package/dist/esm/api/resources/shipping/resources/drivers/client/Client.mjs +70 -4
- package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriverUpdateAutoAssignReq.d.mts +12 -0
- package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriverUpdateAutoAssignReq.mjs +4 -0
- package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriversListOrgMembersAndDriversV1Request.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/drivers/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/orderDrafts/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/shipping/resources/orderDrafts/client/Client.mjs +1 -1
- package/dist/esm/api/resources/shipping/resources/orderDrafts/client/requests/OrdersDraftUpdateReq.d.mts +2 -2
- package/dist/esm/api/resources/shipping/resources/orderDrafts/client/requests/OrdersNewDraftReq.d.mts +1 -1
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.mjs +7 -7
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/expanded/client/requests/ExpandedListV1Request.d.mts +4 -4
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/Client.d.mts +2 -47
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/Client.mjs +2 -191
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/OrderDraftAddTaskGroupReq.d.mts +1 -4
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/index.d.mts +0 -2
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.mts +15 -13
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.mjs +29 -27
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.d.mts +59 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.mjs +4 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.mts +5 -4
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/shipping/resources/taskGroups/client/Client.d.mts +228 -15
- package/dist/esm/api/resources/shipping/resources/taskGroups/client/Client.mjs +952 -22
- package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/AddExecutorReq.d.mts +13 -0
- package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/AddExecutorReq.mjs +4 -0
- package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.mts +27 -25
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.mjs +48 -46
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverForExecutorV1Request.d.mts +59 -0
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverForExecutorV1Request.mjs +4 -0
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.mts +61 -0
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.mjs +4 -0
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/index.d.mts +2 -2
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/s3Object/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/s3Object/client/Client.mjs +2 -2
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/Client.d.mts +8 -8
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/Client.mjs +14 -14
- package/dist/esm/api/resources/tracking/resources/sharingSettings/client/Client.d.mts +3 -3
- package/dist/esm/api/resources/tracking/resources/sharingSettings/client/Client.mjs +3 -3
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/Client.mjs +2 -2
- package/dist/esm/api/types/AttachBillingLedgerPeriodReq.d.mts +6 -0
- package/dist/esm/api/types/AttachBillingLedgerPeriodReq.mjs +4 -0
- package/dist/esm/api/types/AttachLigToVectorClientReq.d.mts +6 -0
- package/dist/esm/api/types/AttachLigToVectorClientReq.mjs +4 -0
- package/dist/esm/api/types/Bid.d.mts +16 -0
- package/dist/esm/api/types/Bid.mjs +4 -0
- package/dist/esm/api/types/BidActionEnum.d.mts +11 -0
- package/dist/esm/api/types/BidActionEnum.mjs +10 -0
- package/dist/esm/api/types/BidAppendReq.d.mts +13 -0
- package/dist/esm/api/types/BidAppendReq.mjs +4 -0
- package/dist/esm/api/types/BidThread1.d.mts +17 -0
- package/dist/esm/api/types/BidThread1.mjs +4 -0
- package/dist/esm/api/types/BidThreadListRes.d.mts +8 -0
- package/dist/esm/api/types/BidThreadListRes.mjs +4 -0
- package/dist/esm/api/types/BidThreadSortByEnum.d.mts +8 -0
- package/dist/esm/api/types/BidThreadSortByEnum.mjs +7 -0
- package/dist/esm/api/types/BidThreadStatusEnum.d.mts +10 -0
- package/dist/esm/api/types/BidThreadStatusEnum.mjs +9 -0
- package/dist/esm/api/types/BillingCycleEnum.d.mts +11 -0
- package/dist/esm/api/types/BillingCycleEnum.mjs +10 -0
- package/dist/esm/api/types/BillingLedger1.d.mts +26 -0
- package/dist/esm/api/types/BillingLedger1.mjs +4 -0
- package/dist/esm/api/types/BillingLedgerListRes.d.mts +8 -0
- package/dist/esm/api/types/BillingLedgerListRes.mjs +4 -0
- package/dist/esm/api/types/BillingLedgerPeriod1.d.mts +35 -0
- package/dist/esm/api/types/BillingLedgerPeriod1.mjs +4 -0
- package/dist/esm/api/types/BillingLedgerPeriodListRes.d.mts +8 -0
- package/dist/esm/api/types/BillingLedgerPeriodListRes.mjs +4 -0
- package/dist/esm/api/types/BillingLedgerPeriodSortByEnum.d.mts +9 -0
- package/dist/esm/api/types/BillingLedgerPeriodSortByEnum.mjs +8 -0
- package/dist/esm/api/types/BillingLedgerPeriodStatusEnum.d.mts +8 -0
- package/dist/esm/api/types/BillingLedgerPeriodStatusEnum.mjs +7 -0
- package/dist/esm/api/types/BillingLedgerSortByEnum.d.mts +4 -0
- package/dist/esm/api/types/BillingLedgerSortByEnum.mjs +4 -0
- package/dist/esm/api/types/BillingLedgerStatusEnum.d.mts +8 -0
- package/dist/esm/api/types/BillingLedgerStatusEnum.mjs +7 -0
- package/dist/esm/api/types/CargoOnFlightRateSheet1.d.mts +16 -0
- package/dist/esm/api/types/CargoOnFlightRateSheet1.mjs +4 -0
- package/dist/esm/api/types/CargoOnFlightRateSheetListRes.d.mts +8 -0
- package/dist/esm/api/types/CargoOnFlightRateSheetListRes.mjs +4 -0
- package/dist/esm/api/types/CargoOnFlightTaskActionEnum1.d.mts +13 -0
- package/dist/esm/api/types/CargoOnFlightTaskActionEnum1.mjs +12 -0
- package/dist/esm/api/types/Case1.d.mts +19 -0
- package/dist/esm/api/types/Case1.mjs +4 -0
- package/dist/esm/api/types/CaseListRes.d.mts +8 -0
- package/dist/esm/api/types/CaseListRes.mjs +4 -0
- package/dist/esm/api/types/CaseMessage1.d.mts +11 -0
- package/dist/esm/api/types/CaseMessage1.mjs +4 -0
- package/dist/esm/api/types/CaseSortByEnum.d.mts +9 -0
- package/dist/esm/api/types/CaseSortByEnum.mjs +8 -0
- package/dist/esm/api/types/CaseStatusEnum.d.mts +9 -0
- package/dist/esm/api/types/CaseStatusEnum.mjs +8 -0
- package/dist/esm/api/types/ChrtGroundProviderRateSheet1.d.mts +32 -0
- package/dist/esm/api/types/ChrtGroundProviderRateSheet1.mjs +4 -0
- package/dist/esm/api/types/ChrtGroundProviderRateSheetListRes.d.mts +8 -0
- package/dist/esm/api/types/ChrtGroundProviderRateSheetListRes.mjs +4 -0
- package/dist/esm/api/types/ChrtGroundProviderTaskActionEnum1.d.mts +13 -0
- package/dist/esm/api/types/ChrtGroundProviderTaskActionEnum1.mjs +12 -0
- package/dist/esm/api/types/CreateLigFromRateSheetForVectorClientReq.d.mts +7 -0
- package/dist/esm/api/types/CreateLigFromRateSheetForVectorClientReq.mjs +4 -0
- package/dist/esm/api/types/Department1.d.mts +17 -0
- package/dist/esm/api/types/Department1.mjs +4 -0
- package/dist/esm/api/types/DepartmentEnum.d.mts +18 -0
- package/dist/esm/api/types/DepartmentEnum.mjs +17 -0
- package/dist/esm/api/types/DepartmentListRes.d.mts +8 -0
- package/dist/esm/api/types/DepartmentListRes.mjs +4 -0
- package/dist/esm/api/types/DepartmentSortByEnum.d.mts +8 -0
- package/dist/esm/api/types/DepartmentSortByEnum.mjs +7 -0
- package/dist/esm/api/types/Driver1.d.mts +1 -2
- package/dist/esm/api/types/DriverBiddingGroup1.d.mts +15 -0
- package/dist/esm/api/types/DriverBiddingGroup1.mjs +4 -0
- package/dist/esm/api/types/DriverBiddingGroupListRes.d.mts +8 -0
- package/dist/esm/api/types/DriverBiddingGroupListRes.mjs +4 -0
- package/dist/esm/api/types/DriverBiddingGroupSortByEnum.d.mts +9 -0
- package/dist/esm/api/types/DriverBiddingGroupSortByEnum.mjs +8 -0
- package/dist/esm/api/types/LineItem1.d.mts +19 -5
- package/dist/esm/api/types/LineItemClientCreate1.d.mts +14 -0
- package/dist/esm/api/types/LineItemClientCreate1.mjs +4 -0
- package/dist/esm/api/types/LineItemEnum1.d.mts +19 -11
- package/dist/esm/api/types/LineItemEnum1.mjs +12 -10
- package/dist/esm/api/types/LineItemGroup1.d.mts +31 -4
- package/dist/esm/api/types/LineItemGroupStatusEnum1.d.mts +20 -4
- package/dist/esm/api/types/LineItemGroupStatusEnum1.mjs +0 -3
- package/dist/esm/api/types/LineItemProvenanceEnum.d.mts +9 -0
- package/dist/esm/api/types/LineItemProvenanceEnum.mjs +8 -0
- package/dist/esm/api/types/LineItemStatusEnum.d.mts +9 -0
- package/dist/esm/api/types/LineItemStatusEnum.mjs +8 -0
- package/dist/esm/api/types/Listing1.d.mts +34 -0
- package/dist/esm/api/types/Listing1.mjs +4 -0
- package/dist/esm/api/types/ListingAudienceEnum.d.mts +8 -0
- package/dist/esm/api/types/ListingAudienceEnum.mjs +7 -0
- package/dist/esm/api/types/ListingForBidderListRes.d.mts +8 -0
- package/dist/esm/api/types/ListingForBidderListRes.mjs +4 -0
- package/dist/esm/api/types/ListingLimitedForBidder1.d.mts +41 -0
- package/dist/esm/api/types/ListingLimitedForBidder1.mjs +4 -0
- package/dist/esm/api/types/ListingListRes.d.mts +8 -0
- package/dist/esm/api/types/ListingListRes.mjs +4 -0
- package/dist/esm/api/types/ListingSortByEnum.d.mts +8 -0
- package/dist/esm/api/types/ListingSortByEnum.mjs +7 -0
- package/dist/esm/api/types/ListingStatusEnum.d.mts +9 -0
- package/dist/esm/api/types/ListingStatusEnum.mjs +8 -0
- package/dist/esm/api/types/ListingTypeEnum.d.mts +8 -0
- package/dist/esm/api/types/ListingTypeEnum.mjs +7 -0
- package/dist/esm/api/types/OffChrtProviderOrg1.d.mts +24 -0
- package/dist/esm/api/types/OffChrtProviderOrg1.mjs +4 -0
- package/dist/esm/api/types/OffChrtProviderOrgListRes.d.mts +8 -0
- package/dist/esm/api/types/OffChrtProviderOrgListRes.mjs +4 -0
- package/dist/esm/api/types/OffChrtShipperOrg1.d.mts +1 -2
- package/dist/esm/api/types/OnboardCourierRateSheet1.d.mts +13 -0
- package/dist/esm/api/types/OnboardCourierRateSheet1.mjs +4 -0
- package/dist/esm/api/types/OnboardCourierRateSheetListRes.d.mts +8 -0
- package/dist/esm/api/types/OnboardCourierRateSheetListRes.mjs +4 -0
- package/dist/esm/api/types/Order1.d.mts +5 -5
- package/dist/esm/api/types/OrderAndTaskGroupExpandedReq.d.mts +4 -4
- package/dist/esm/api/types/OrderDraftExpanded.d.mts +2 -2
- package/dist/esm/api/types/OrderExpanded.d.mts +2 -2
- package/dist/esm/api/types/OrdersDraftUpdateRes.d.mts +1 -1
- package/dist/esm/api/types/OrgBiddingGroup1.d.mts +15 -0
- package/dist/esm/api/types/OrgBiddingGroup1.mjs +4 -0
- package/dist/esm/api/types/OrgBiddingGroupListRes.d.mts +8 -0
- package/dist/esm/api/types/OrgBiddingGroupListRes.mjs +4 -0
- package/dist/esm/api/types/OrgBiddingGroupSortByEnum.d.mts +9 -0
- package/dist/esm/api/types/OrgBiddingGroupSortByEnum.mjs +8 -0
- package/dist/esm/api/types/OrgPrivateData1.d.mts +0 -8
- package/dist/esm/api/types/OrgRoleEnum.d.mts +2 -2
- package/dist/esm/api/types/OrgTypeEnum.d.mts +2 -3
- package/dist/esm/api/types/OrgTypeEnum.mjs +1 -2
- package/dist/esm/api/types/ProFormaLineItem1.d.mts +20 -0
- package/dist/esm/api/types/ProFormaLineItem1.mjs +4 -0
- package/dist/esm/api/types/ProviderConnectionListRes.d.mts +8 -0
- package/dist/esm/api/types/ProviderConnectionListRes.mjs +4 -0
- package/dist/esm/api/types/ProviderConnectionRes.d.mts +8 -0
- package/dist/esm/api/types/ProviderConnectionRes.mjs +4 -0
- package/dist/esm/api/types/ProviderOrgInfoForConnections1.d.mts +22 -0
- package/dist/esm/api/types/ProviderOrgInfoForConnections1.mjs +4 -0
- package/dist/esm/api/types/ProviderOrgProfile1.d.mts +13 -0
- package/dist/esm/api/types/ProviderOrgProfile1.mjs +4 -0
- package/dist/esm/api/types/ProviderProviderConnection1.d.mts +15 -0
- package/dist/esm/api/types/ProviderProviderConnection1.mjs +4 -0
- package/dist/esm/api/types/RateSheetMapping1.d.mts +17 -0
- package/dist/esm/api/types/RateSheetMapping1.mjs +4 -0
- package/dist/esm/api/types/RateSheetMappingListRes.d.mts +8 -0
- package/dist/esm/api/types/RateSheetMappingListRes.mjs +4 -0
- package/dist/esm/api/types/ShipperProviderConnection1.d.mts +14 -0
- package/dist/esm/api/types/ShipperProviderConnection1.mjs +4 -0
- package/dist/esm/api/types/ShippingTaskAddedWebhookPayload.d.mts +1 -1
- package/dist/esm/api/types/ShippingTaskCompletedWebhookPayload.d.mts +2 -2
- package/dist/esm/api/types/ShippingTaskDeletedWebhookPayload.d.mts +1 -1
- package/dist/esm/api/types/ShippingTaskSkippedWebhookPayload.d.mts +1 -1
- package/dist/esm/api/types/Statement1.d.mts +2 -1
- package/dist/esm/api/types/Task1.d.mts +1 -1
- package/dist/esm/api/types/TaskClientCreate1.d.mts +1 -1
- package/dist/esm/api/types/TaskClientUpdate1.d.mts +1 -1
- package/dist/esm/api/types/TaskGroup1.d.mts +19 -16
- package/dist/esm/api/types/TaskGroupExpanded.d.mts +6 -6
- package/dist/esm/api/types/TaskGroupQuoteClientReq.d.mts +6 -0
- package/dist/esm/api/types/TaskGroupQuoteClientReq.mjs +4 -0
- package/dist/esm/api/types/TaskGroupQuoteResp.d.mts +37 -0
- package/dist/esm/api/types/TaskGroupQuoteResp.mjs +4 -0
- package/dist/esm/api/types/TaskGroupTypeEnum1.d.mts +3 -3
- package/dist/esm/api/types/TaskGroupTypeEnum1.mjs +2 -2
- package/dist/esm/api/types/index.d.mts +66 -21
- package/dist/esm/api/types/index.mjs +66 -21
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +8144 -1290
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/AdjustLineItemReq.d.ts +0 -18
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupsAssociateWithStatementV1Request.d.ts +0 -12
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupsListForCourierOrgV1Request.d.ts +0 -32
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupsQuoteV1Request.d.ts +0 -17
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/Client.d.ts +0 -113
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/Client.js +0 -389
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/requests/AdHocRemoveLineItemV1Request.d.ts +0 -13
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/requests/CreateAdHocLineItemGroupReq.d.ts +0 -27
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/requests/LineItemClientCreate1.d.ts +0 -22
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/requests/SetAdHocTaskGroupReq.d.ts +0 -12
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/requests/index.d.ts +0 -4
- package/dist/cjs/api/resources/billing/resources/rateSheets/client/Client.d.ts +0 -186
- package/dist/cjs/api/resources/billing/resources/rateSheets/client/Client.js +0 -717
- package/dist/cjs/api/resources/billing/resources/rateSheets/client/requests/RateSheetClientCreate1.d.ts +0 -37
- package/dist/cjs/api/resources/billing/resources/rateSheets/client/requests/RateSheetClientUpdate1.d.ts +0 -16
- package/dist/cjs/api/resources/billing/resources/rateSheets/client/requests/RateSheetsArchiveV1Request.d.ts +0 -12
- package/dist/cjs/api/resources/billing/resources/rateSheets/client/requests/RateSheetsListByOrgV1Request.d.ts +0 -36
- package/dist/cjs/api/resources/billing/resources/rateSheets/client/requests/RateSheetsUpdateDefaultForConnectionV1Request.d.ts +0 -17
- package/dist/cjs/api/resources/billing/resources/rateSheets/client/requests/RateSheetsUpdateDefaultForDriverV1Request.d.ts +0 -17
- package/dist/cjs/api/resources/billing/resources/rateSheets/client/requests/RateSheetsUpdateDefaultForOffChrtShipperV1Request.d.ts +0 -17
- package/dist/cjs/api/resources/billing/resources/rateSheets/client/requests/RateSheetsUpdateOrgDefaultForServiceTypeV1Request.d.ts +0 -17
- package/dist/cjs/api/resources/billing/resources/rateSheets/client/requests/index.d.ts +0 -8
- package/dist/cjs/api/resources/billing/resources/statements/client/requests/BodyStatementsPatchUpdateOffChrtSettlementStateV1BillingStatementsUpdateOffChrtSettlementStateV1StatementIdPatch.d.ts +0 -13
- package/dist/cjs/api/resources/billing/resources/statements/client/requests/BodyStatementsPatchUpdateSettlementTypeV1BillingStatementsUpdateSettlementTypeV1StatementIdPatch.d.ts +0 -13
- package/dist/cjs/api/resources/billing/resources/statements/client/requests/CreateStatementReq.d.ts +0 -25
- package/dist/cjs/api/resources/billing/resources/statements/client/requests/OpenInvoiceReq.d.ts +0 -13
- package/dist/cjs/api/resources/orgs/resources/connections/client/requests/ConnectionsListCouriersV1Request.d.ts +0 -17
- package/dist/cjs/api/resources/orgs/resources/connections/client/requests/ConnectionsListForwardersV1Request.d.ts +0 -17
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/courier/client/Client.d.ts +0 -83
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/courier/client/Client.js +0 -297
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/courier/client/requests/CourierOrgInfoForConnectionsClientCreate1.d.ts +0 -24
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/courier/client/requests/CourierOrgInfoForConnectionsClientUpdate1.d.ts +0 -29
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/courier/client/requests/index.d.ts +0 -2
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/forwarder/client/Client.d.ts +0 -73
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/forwarder/client/Client.js +0 -246
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/forwarder/client/requests/ForwarderOrgInfoForConnectionsClientCreate1.d.ts +0 -24
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/forwarder/client/requests/ForwarderOrgInfoForConnectionsClientUpdate1.d.ts +0 -29
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/forwarder/client/requests/index.d.ts +0 -2
- package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/requests/CourierOrgProfileClientCreate1.d.ts +0 -19
- package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/requests/CourierOrgProfileClientUpdate1.d.ts +0 -12
- package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/requests/ForwarderOrgProfileClientCreate1.d.ts +0 -19
- package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/requests/ForwarderOrgProfileClientUpdate1.d.ts +0 -12
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/SetServiceTypeReq.d.ts +0 -14
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/UpdateCourierOrgDraftReq.d.ts +0 -13
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForForwarderOperatorsV1Request.d.ts +0 -58
- package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/UpdateCourierOrgReq.d.ts +0 -13
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForCourierDriverV1Request.d.ts +0 -58
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForCourierOperatorsV1Request.d.ts +0 -60
- package/dist/cjs/api/types/ChrtGroundCourierTaskActionEnum1.d.ts +0 -13
- package/dist/cjs/api/types/ChrtGroundCourierTaskActionEnum1.js +0 -15
- package/dist/cjs/api/types/CourierConnectionListRes.d.ts +0 -8
- package/dist/cjs/api/types/CourierConnectionRes.d.ts +0 -8
- package/dist/cjs/api/types/CourierOrgInfoForConnections1.d.ts +0 -22
- package/dist/cjs/api/types/CourierOrgProfile1.d.ts +0 -13
- package/dist/cjs/api/types/FlightTaskActionEnum1.d.ts +0 -13
- package/dist/cjs/api/types/FlightTaskActionEnum1.js +0 -15
- package/dist/cjs/api/types/ForwarderConnectionListRes.d.ts +0 -8
- package/dist/cjs/api/types/ForwarderConnectionRes.d.ts +0 -8
- package/dist/cjs/api/types/ForwarderCourierConnection1.d.ts +0 -15
- package/dist/cjs/api/types/ForwarderOrgInfoForConnections1.d.ts +0 -22
- package/dist/cjs/api/types/ForwarderOrgProfile1.d.ts +0 -13
- package/dist/cjs/api/types/OrgProfileRes1.d.ts +0 -8
- package/dist/cjs/api/types/PaymentRoleFilterEnum.d.ts +0 -8
- package/dist/cjs/api/types/PaymentRoleFilterEnum.js +0 -10
- package/dist/cjs/api/types/PaymentVectorTypeEnum1.d.ts +0 -10
- package/dist/cjs/api/types/PaymentVectorTypeEnum1.js +0 -12
- package/dist/cjs/api/types/Quote.d.ts +0 -12
- package/dist/cjs/api/types/RateSheet1.d.ts +0 -33
- package/dist/cjs/api/types/RateSheetListResponse.d.ts +0 -11
- package/dist/cjs/api/types/RateSheetSortByEnum.d.ts +0 -11
- package/dist/cjs/api/types/RateSheetSortByEnum.js +0 -10
- package/dist/cjs/api/types/ServiceTypeEnum1.d.ts +0 -8
- package/dist/cjs/api/types/ServiceTypeEnum1.js +0 -10
- package/dist/cjs/api/types/ShipperCourierConnection1.d.ts +0 -15
- package/dist/cjs/api/types/ShipperForwarderConnection1.d.ts +0 -15
- package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/AdjustLineItemReq.d.mts +0 -18
- package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupsAssociateWithStatementV1Request.d.mts +0 -12
- package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupsListForCourierOrgV1Request.d.mts +0 -32
- package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupsQuoteV1Request.d.mts +0 -17
- package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/Client.d.mts +0 -113
- package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/Client.mjs +0 -352
- package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/requests/AdHocRemoveLineItemV1Request.d.mts +0 -13
- package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/requests/CreateAdHocLineItemGroupReq.d.mts +0 -27
- package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/requests/LineItemClientCreate1.d.mts +0 -22
- package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/requests/SetAdHocTaskGroupReq.d.mts +0 -12
- package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/requests/index.d.mts +0 -4
- package/dist/esm/api/resources/billing/resources/rateSheets/client/Client.d.mts +0 -186
- package/dist/esm/api/resources/billing/resources/rateSheets/client/Client.mjs +0 -680
- package/dist/esm/api/resources/billing/resources/rateSheets/client/requests/RateSheetClientCreate1.d.mts +0 -37
- package/dist/esm/api/resources/billing/resources/rateSheets/client/requests/RateSheetClientUpdate1.d.mts +0 -16
- package/dist/esm/api/resources/billing/resources/rateSheets/client/requests/RateSheetsArchiveV1Request.d.mts +0 -12
- package/dist/esm/api/resources/billing/resources/rateSheets/client/requests/RateSheetsListByOrgV1Request.d.mts +0 -36
- package/dist/esm/api/resources/billing/resources/rateSheets/client/requests/RateSheetsUpdateDefaultForConnectionV1Request.d.mts +0 -17
- package/dist/esm/api/resources/billing/resources/rateSheets/client/requests/RateSheetsUpdateDefaultForDriverV1Request.d.mts +0 -17
- package/dist/esm/api/resources/billing/resources/rateSheets/client/requests/RateSheetsUpdateDefaultForOffChrtShipperV1Request.d.mts +0 -17
- package/dist/esm/api/resources/billing/resources/rateSheets/client/requests/RateSheetsUpdateOrgDefaultForServiceTypeV1Request.d.mts +0 -17
- package/dist/esm/api/resources/billing/resources/rateSheets/client/requests/index.d.mts +0 -8
- package/dist/esm/api/resources/billing/resources/statements/client/requests/BodyStatementsPatchUpdateOffChrtSettlementStateV1BillingStatementsUpdateOffChrtSettlementStateV1StatementIdPatch.d.mts +0 -13
- package/dist/esm/api/resources/billing/resources/statements/client/requests/BodyStatementsPatchUpdateSettlementTypeV1BillingStatementsUpdateSettlementTypeV1StatementIdPatch.d.mts +0 -13
- package/dist/esm/api/resources/billing/resources/statements/client/requests/CreateStatementReq.d.mts +0 -25
- package/dist/esm/api/resources/billing/resources/statements/client/requests/OpenInvoiceReq.d.mts +0 -13
- package/dist/esm/api/resources/orgs/resources/connections/client/requests/ConnectionsListCouriersV1Request.d.mts +0 -17
- package/dist/esm/api/resources/orgs/resources/connections/client/requests/ConnectionsListForwardersV1Request.d.mts +0 -17
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/courier/client/Client.d.mts +0 -83
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/courier/client/Client.mjs +0 -260
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/courier/client/requests/CourierOrgInfoForConnectionsClientCreate1.d.mts +0 -24
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/courier/client/requests/CourierOrgInfoForConnectionsClientUpdate1.d.mts +0 -29
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/courier/client/requests/index.d.mts +0 -2
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/forwarder/client/Client.d.mts +0 -73
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/forwarder/client/Client.mjs +0 -209
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/forwarder/client/requests/ForwarderOrgInfoForConnectionsClientCreate1.d.mts +0 -24
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/forwarder/client/requests/ForwarderOrgInfoForConnectionsClientUpdate1.d.mts +0 -29
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/forwarder/client/requests/index.d.mts +0 -2
- package/dist/esm/api/resources/orgs/resources/orgProfiles/client/requests/CourierOrgProfileClientCreate1.d.mts +0 -19
- package/dist/esm/api/resources/orgs/resources/orgProfiles/client/requests/CourierOrgProfileClientUpdate1.d.mts +0 -12
- package/dist/esm/api/resources/orgs/resources/orgProfiles/client/requests/ForwarderOrgProfileClientCreate1.d.mts +0 -19
- package/dist/esm/api/resources/orgs/resources/orgProfiles/client/requests/ForwarderOrgProfileClientUpdate1.d.mts +0 -12
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/SetServiceTypeReq.d.mts +0 -14
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/UpdateCourierOrgDraftReq.d.mts +0 -13
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForForwarderOperatorsV1Request.d.mts +0 -58
- package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/UpdateCourierOrgReq.d.mts +0 -13
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForCourierDriverV1Request.d.mts +0 -58
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForCourierOperatorsV1Request.d.mts +0 -60
- package/dist/esm/api/types/ChrtGroundCourierTaskActionEnum1.d.mts +0 -13
- package/dist/esm/api/types/ChrtGroundCourierTaskActionEnum1.mjs +0 -12
- package/dist/esm/api/types/CourierConnectionListRes.d.mts +0 -8
- package/dist/esm/api/types/CourierConnectionRes.d.mts +0 -8
- package/dist/esm/api/types/CourierOrgInfoForConnections1.d.mts +0 -22
- package/dist/esm/api/types/CourierOrgProfile1.d.mts +0 -13
- package/dist/esm/api/types/FlightTaskActionEnum1.d.mts +0 -13
- package/dist/esm/api/types/FlightTaskActionEnum1.mjs +0 -12
- package/dist/esm/api/types/ForwarderConnectionListRes.d.mts +0 -8
- package/dist/esm/api/types/ForwarderConnectionRes.d.mts +0 -8
- package/dist/esm/api/types/ForwarderCourierConnection1.d.mts +0 -15
- package/dist/esm/api/types/ForwarderOrgInfoForConnections1.d.mts +0 -22
- package/dist/esm/api/types/ForwarderOrgProfile1.d.mts +0 -13
- package/dist/esm/api/types/OrgProfileRes1.d.mts +0 -8
- package/dist/esm/api/types/PaymentRoleFilterEnum.d.mts +0 -8
- package/dist/esm/api/types/PaymentRoleFilterEnum.mjs +0 -7
- package/dist/esm/api/types/PaymentVectorTypeEnum1.d.mts +0 -10
- package/dist/esm/api/types/PaymentVectorTypeEnum1.mjs +0 -9
- package/dist/esm/api/types/Quote.d.mts +0 -12
- package/dist/esm/api/types/RateSheet1.d.mts +0 -33
- package/dist/esm/api/types/RateSheetListResponse.d.mts +0 -11
- package/dist/esm/api/types/RateSheetSortByEnum.d.mts +0 -11
- package/dist/esm/api/types/RateSheetSortByEnum.mjs +0 -7
- package/dist/esm/api/types/ServiceTypeEnum1.d.mts +0 -8
- package/dist/esm/api/types/ServiceTypeEnum1.mjs +0 -7
- package/dist/esm/api/types/ShipperCourierConnection1.d.mts +0 -15
- package/dist/esm/api/types/ShipperForwarderConnection1.d.mts +0 -15
- /package/dist/cjs/api/resources/billing/resources/{lineItemGroups/resources/adHoc → billingLedgerPeriods}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/billing/resources/{lineItemGroups/resources/adHoc → billingLedgerPeriods}/client/index.js +0 -0
- /package/dist/cjs/api/resources/billing/resources/{lineItemGroups/client/requests/AdjustLineItemReq.js → billingLedgerPeriods/client/requests/BillingLedgerPeriodClientUpdate1.js} +0 -0
- /package/dist/cjs/api/resources/billing/resources/{lineItemGroups/client/requests/LineItemGroupsAssociateWithStatementV1Request.js → billingLedgerPeriods/client/requests/BillingLedgerPeriodsListV1Request.js} +0 -0
- /package/dist/cjs/api/resources/billing/resources/{lineItemGroups/client/requests/LineItemGroupsListForCourierOrgV1Request.js → billingLedgerPeriods/client/requests/OpenPeriodReq.js} +0 -0
- /package/dist/cjs/api/resources/billing/resources/{lineItemGroups/resources/adHoc → billingLedgerPeriods}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/billing/resources/{lineItemGroups/resources/adHoc → billingLedgerPeriods}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/billing/resources/{lineItemGroups/resources/adHoc → billingLedgerPeriods}/index.js +0 -0
- /package/dist/cjs/api/resources/billing/resources/{rateSheets → billingLedgers}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/billing/resources/{rateSheets → billingLedgers}/client/index.js +0 -0
- /package/dist/cjs/api/resources/billing/resources/{lineItemGroups/client/requests/LineItemGroupsQuoteV1Request.js → billingLedgers/client/requests/BillingLedgerClientCreate1.js} +0 -0
- /package/dist/cjs/api/resources/billing/resources/{lineItemGroups/resources/adHoc/client/requests/AdHocRemoveLineItemV1Request.js → billingLedgers/client/requests/BillingLedgerClientUpdate1.js} +0 -0
- /package/dist/cjs/api/resources/billing/resources/{lineItemGroups/resources/adHoc/client/requests/CreateAdHocLineItemGroupReq.js → billingLedgers/client/requests/BillingLedgersListV1Request.js} +0 -0
- /package/dist/cjs/api/resources/billing/resources/{rateSheets → billingLedgers}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/billing/resources/{rateSheets → billingLedgers}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/billing/resources/{rateSheets → billingLedgers}/index.js +0 -0
- /package/dist/cjs/api/resources/{orgs/resources/orgInfoForConnections/resources/courier → billing/resources/cargoOnFlightRateSheets}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{orgs/resources/orgInfoForConnections/resources/courier → billing/resources/cargoOnFlightRateSheets}/client/index.js +0 -0
- /package/dist/cjs/api/resources/billing/resources/{lineItemGroups/resources/adHoc/client/requests/LineItemClientCreate1.js → cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetClientCreate1.js} +0 -0
- /package/dist/cjs/api/resources/billing/resources/{lineItemGroups/resources/adHoc/client/requests/SetAdHocTaskGroupReq.js → cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetClientUpdate1.js} +0 -0
- /package/dist/cjs/api/resources/billing/resources/{rateSheets/client/requests/RateSheetClientCreate1.js → cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetsListV1Request.js} +0 -0
- /package/dist/cjs/api/resources/{orgs/resources/orgInfoForConnections/resources/courier → billing/resources/cargoOnFlightRateSheets}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/{orgs/resources/orgInfoForConnections/resources/courier → billing/resources/cargoOnFlightRateSheets}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{orgs/resources/orgInfoForConnections/resources/courier → billing/resources/cargoOnFlightRateSheets}/index.js +0 -0
- /package/dist/cjs/api/resources/{orgs/resources/orgInfoForConnections/resources/forwarder → billing/resources/chrtGroundProviderRateSheets}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{orgs/resources/orgInfoForConnections/resources/forwarder → billing/resources/chrtGroundProviderRateSheets}/client/index.js +0 -0
- /package/dist/cjs/api/resources/billing/resources/{rateSheets/client/requests/RateSheetClientUpdate1.js → chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetClientCreate1.js} +0 -0
- /package/dist/cjs/api/resources/billing/resources/{rateSheets/client/requests/RateSheetsArchiveV1Request.js → chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetClientUpdate1.js} +0 -0
- /package/dist/cjs/api/resources/billing/resources/{rateSheets/client/requests/RateSheetsListByOrgV1Request.js → chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetsListV1Request.js} +0 -0
- /package/dist/cjs/api/resources/{orgs/resources/orgInfoForConnections/resources/forwarder → billing/resources/chrtGroundProviderRateSheets}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/{orgs/resources/orgInfoForConnections/resources/forwarder → billing/resources/chrtGroundProviderRateSheets}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{orgs/resources/orgInfoForConnections/resources/forwarder → billing/resources/chrtGroundProviderRateSheets}/index.js +0 -0
- /package/dist/cjs/api/resources/billing/resources/{rateSheets/client/requests/RateSheetsUpdateDefaultForConnectionV1Request.js → lineItemGroups/client/requests/LineItemGroupAdHocCreateClientReq.js} +0 -0
- /package/dist/cjs/api/resources/billing/resources/{rateSheets/client/requests/RateSheetsUpdateDefaultForDriverV1Request.js → lineItemGroups/client/requests/LineItemGroupsListV1Request.js} +0 -0
- /package/dist/cjs/api/resources/billing/resources/{rateSheets/client/requests/RateSheetsUpdateDefaultForOffChrtShipperV1Request.js → onboardCourierRateSheets/client/requests/OnboardCourierRateSheetClientCreate1.js} +0 -0
- /package/dist/cjs/api/resources/billing/resources/{rateSheets/client/requests/RateSheetsUpdateOrgDefaultForServiceTypeV1Request.js → onboardCourierRateSheets/client/requests/OnboardCourierRateSheetClientUpdate1.js} +0 -0
- /package/dist/cjs/api/resources/billing/resources/{statements/client/requests/BodyStatementsPatchUpdateOffChrtSettlementStateV1BillingStatementsUpdateOffChrtSettlementStateV1StatementIdPatch.js → onboardCourierRateSheets/client/requests/OnboardCourierRateSheetsListV1Request.js} +0 -0
- /package/dist/cjs/api/resources/billing/resources/{statements/client/requests/BodyStatementsPatchUpdateSettlementTypeV1BillingStatementsUpdateSettlementTypeV1StatementIdPatch.js → rateSheetMappings/client/requests/RateSheetMappingClientCreate1.js} +0 -0
- /package/dist/cjs/api/resources/billing/resources/{statements/client/requests/CreateStatementReq.js → rateSheetMappings/client/requests/RateSheetMappingsListV1Request.js} +0 -0
- /package/dist/cjs/api/resources/billing/resources/statements/client/requests/{OpenInvoiceReq.js → StatementCreateClientReq.js} +0 -0
- /package/dist/cjs/api/resources/{orgs/resources/connections/client/requests/ConnectionsListCouriersV1Request.js → billing/resources/statements/client/requests/StatementUpdateSettlementTypeReq.js} +0 -0
- /package/dist/{esm/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/requests/index.mjs → cjs/api/resources/listing/client/index.d.ts} +0 -0
- /package/dist/cjs/api/resources/{orgs/resources/connections/client/requests/ConnectionsListForwardersV1Request.js → listing/resources/bidThreads/client/requests/BidThreadClientCreate1.js} +0 -0
- /package/dist/cjs/api/resources/{orgs/resources/orgInfoForConnections/resources/courier/client/requests/CourierOrgInfoForConnectionsClientCreate1.js → listing/resources/bidThreads/client/requests/BidThreadsListForBidderV1Request.js} +0 -0
- /package/dist/cjs/api/resources/{orgs/resources/orgInfoForConnections/resources/courier/client/requests/CourierOrgInfoForConnectionsClientUpdate1.js → listing/resources/bidThreads/client/requests/BidThreadsListForListingV1Request.js} +0 -0
- /package/dist/cjs/api/resources/{orgs/resources/orgInfoForConnections/resources/forwarder/client/requests/ForwarderOrgInfoForConnectionsClientCreate1.js → listing/resources/driverBiddingGroups/client/requests/DriverBiddingGroupClientCreate1.js} +0 -0
- /package/dist/cjs/api/resources/{orgs/resources/orgInfoForConnections/resources/forwarder/client/requests/ForwarderOrgInfoForConnectionsClientUpdate1.js → listing/resources/driverBiddingGroups/client/requests/DriverBiddingGroupsListByOrgV1Request.js} +0 -0
- /package/dist/cjs/api/resources/{orgs/resources/orgProfiles/client/requests/CourierOrgProfileClientCreate1.js → listing/resources/driverBiddingGroups/client/requests/DriverBiddingGroupsUpdateNameV1Request.js} +0 -0
- /package/dist/cjs/api/resources/{orgs/resources/orgProfiles/client/requests/CourierOrgProfileClientUpdate1.js → listing/resources/listings/client/requests/ListingAddDriverParticipantsReq.js} +0 -0
- /package/dist/cjs/api/resources/{orgs/resources/orgProfiles/client/requests/ForwarderOrgProfileClientCreate1.js → listing/resources/listings/client/requests/ListingAddProviderParticipantsReq.js} +0 -0
- /package/dist/cjs/api/resources/{orgs/resources/orgProfiles/client/requests/ForwarderOrgProfileClientUpdate1.js → listing/resources/listings/client/requests/ListingClientCreate1.js} +0 -0
- /package/dist/cjs/api/resources/{shipping/resources/orderDrafts/resources/taskGroup/client/requests/SetServiceTypeReq.js → listing/resources/listings/client/requests/ListingClientUpdate1.js} +0 -0
- /package/dist/cjs/api/resources/{shipping/resources/orderDrafts/resources/taskGroup/client/requests/UpdateCourierOrgDraftReq.js → listing/resources/listings/client/requests/ListingRemoveDriverParticipantsReq.js} +0 -0
- /package/dist/cjs/api/resources/{shipping/resources/orders/resources/expanded/client/requests/ExpandedListForForwarderOperatorsV1Request.js → listing/resources/listings/client/requests/ListingRemoveProviderParticipantsReq.js} +0 -0
- /package/dist/cjs/api/resources/{shipping/resources/taskGroups/client/requests/UpdateCourierOrgReq.js → listing/resources/listings/client/requests/ListingsListByOrgV1Request.js} +0 -0
- /package/dist/cjs/api/resources/{shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForCourierDriverV1Request.js → listing/resources/listings/client/requests/ListingsListForDriverBidderV1Request.js} +0 -0
- /package/dist/cjs/api/resources/{shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForCourierOperatorsV1Request.js → listing/resources/listings/client/requests/ListingsListForProviderBidderV1Request.js} +0 -0
- /package/dist/cjs/api/{types/CourierConnectionListRes.js → resources/listing/resources/orgBiddingGroups/client/requests/OrgBiddingGroupClientCreate1.js} +0 -0
- /package/dist/cjs/api/{types/CourierConnectionRes.js → resources/listing/resources/orgBiddingGroups/client/requests/OrgBiddingGroupsListByOrgV1Request.js} +0 -0
- /package/dist/cjs/api/{types/CourierOrgInfoForConnections1.js → resources/listing/resources/orgBiddingGroups/client/requests/OrgBiddingGroupsUpdateNameV1Request.js} +0 -0
- /package/dist/{esm/api/resources/billing/resources/rateSheets/client/requests/index.mjs → cjs/api/resources/operations/client/index.d.ts} +0 -0
- /package/dist/cjs/api/{types/CourierOrgProfile1.js → resources/operations/resources/cases/client/requests/CaseAddMessageReq.js} +0 -0
- /package/dist/cjs/api/{types/ForwarderConnectionListRes.js → resources/operations/resources/cases/client/requests/CaseAssignReq.js} +0 -0
- /package/dist/cjs/api/{types/ForwarderConnectionRes.js → resources/operations/resources/cases/client/requests/CaseClientUpdate1.js} +0 -0
- /package/dist/cjs/api/{types/ForwarderCourierConnection1.js → resources/operations/resources/cases/client/requests/CaseUnassignReq.js} +0 -0
- /package/dist/cjs/api/{types/ForwarderOrgInfoForConnections1.js → resources/operations/resources/cases/client/requests/CasesListV1Request.js} +0 -0
- /package/dist/cjs/api/{types/ForwarderOrgProfile1.js → resources/operations/resources/departments/client/requests/DepartmentClientCreate1.js} +0 -0
- /package/dist/cjs/api/{types/OrgProfileRes1.js → resources/operations/resources/departments/client/requests/DepartmentClientUpdate1.js} +0 -0
- /package/dist/cjs/api/{types/Quote.js → resources/operations/resources/departments/client/requests/DepartmentsListV1Request.js} +0 -0
- /package/dist/cjs/api/{types/RateSheet1.js → resources/orgs/resources/connections/client/requests/ConnectionsListProvidersV1Request.js} +0 -0
- /package/dist/cjs/api/{types/RateSheetListResponse.js → resources/orgs/resources/connections/client/requests/ProviderProviderUpdateAutoAssignReq.js} +0 -0
- /package/dist/cjs/api/{types/ShipperCourierConnection1.js → resources/orgs/resources/connections/client/requests/SetDepartmentReq.js} +0 -0
- /package/dist/cjs/api/{types/ShipperForwarderConnection1.js → resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientCreate1.js} +0 -0
- /package/dist/esm/api/resources/billing/resources/{lineItemGroups/resources/adHoc → billingLedgerPeriods}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/billing/resources/{lineItemGroups/resources/adHoc → billingLedgerPeriods}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/billing/resources/{lineItemGroups/client/requests/AdjustLineItemReq.mjs → billingLedgerPeriods/client/requests/BillingLedgerPeriodClientUpdate1.mjs} +0 -0
- /package/dist/esm/api/resources/billing/resources/{lineItemGroups/client/requests/LineItemGroupsAssociateWithStatementV1Request.mjs → billingLedgerPeriods/client/requests/BillingLedgerPeriodsListV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/billing/resources/{lineItemGroups/client/requests/LineItemGroupsListForCourierOrgV1Request.mjs → billingLedgerPeriods/client/requests/OpenPeriodReq.mjs} +0 -0
- /package/dist/esm/api/resources/{orgs/resources/orgInfoForConnections/resources/courier → billing/resources/billingLedgerPeriods}/client/requests/index.mjs +0 -0
- /package/dist/esm/api/resources/billing/resources/{lineItemGroups/resources/adHoc → billingLedgerPeriods}/index.d.mts +0 -0
- /package/dist/esm/api/resources/billing/resources/{lineItemGroups/resources/adHoc → billingLedgerPeriods}/index.mjs +0 -0
- /package/dist/esm/api/resources/billing/resources/{rateSheets → billingLedgers}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/billing/resources/{rateSheets → billingLedgers}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/billing/resources/{lineItemGroups/client/requests/LineItemGroupsQuoteV1Request.mjs → billingLedgers/client/requests/BillingLedgerClientCreate1.mjs} +0 -0
- /package/dist/esm/api/resources/billing/resources/{lineItemGroups/resources/adHoc/client/requests/AdHocRemoveLineItemV1Request.mjs → billingLedgers/client/requests/BillingLedgerClientUpdate1.mjs} +0 -0
- /package/dist/esm/api/resources/billing/resources/{lineItemGroups/resources/adHoc/client/requests/CreateAdHocLineItemGroupReq.mjs → billingLedgers/client/requests/BillingLedgersListV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/{orgs/resources/orgInfoForConnections/resources/forwarder → billing/resources/billingLedgers}/client/requests/index.mjs +0 -0
- /package/dist/esm/api/resources/billing/resources/{rateSheets → billingLedgers}/index.d.mts +0 -0
- /package/dist/esm/api/resources/billing/resources/{rateSheets → billingLedgers}/index.mjs +0 -0
- /package/dist/esm/api/resources/{orgs/resources/orgInfoForConnections/resources/courier → billing/resources/cargoOnFlightRateSheets}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{orgs/resources/orgInfoForConnections/resources/courier → billing/resources/cargoOnFlightRateSheets}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/billing/resources/{lineItemGroups/resources/adHoc/client/requests/LineItemClientCreate1.mjs → cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetClientCreate1.mjs} +0 -0
- /package/dist/esm/api/resources/billing/resources/{lineItemGroups/resources/adHoc/client/requests/SetAdHocTaskGroupReq.mjs → cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetClientUpdate1.mjs} +0 -0
- /package/dist/esm/api/resources/billing/resources/{rateSheets/client/requests/RateSheetClientCreate1.mjs → cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetsListV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/{orgs/resources/orgInfoForConnections/resources/courier → billing/resources/cargoOnFlightRateSheets}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{orgs/resources/orgInfoForConnections/resources/courier → billing/resources/cargoOnFlightRateSheets}/index.mjs +0 -0
- /package/dist/esm/api/resources/{orgs/resources/orgInfoForConnections/resources/forwarder → billing/resources/chrtGroundProviderRateSheets}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{orgs/resources/orgInfoForConnections/resources/forwarder → billing/resources/chrtGroundProviderRateSheets}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/billing/resources/{rateSheets/client/requests/RateSheetClientUpdate1.mjs → chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetClientCreate1.mjs} +0 -0
- /package/dist/esm/api/resources/billing/resources/{rateSheets/client/requests/RateSheetsArchiveV1Request.mjs → chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetClientUpdate1.mjs} +0 -0
- /package/dist/esm/api/resources/billing/resources/{rateSheets/client/requests/RateSheetsListByOrgV1Request.mjs → chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetsListV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/{orgs/resources/orgInfoForConnections/resources/forwarder → billing/resources/chrtGroundProviderRateSheets}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{orgs/resources/orgInfoForConnections/resources/forwarder → billing/resources/chrtGroundProviderRateSheets}/index.mjs +0 -0
- /package/dist/esm/api/resources/billing/resources/{rateSheets/client/requests/RateSheetsUpdateDefaultForConnectionV1Request.mjs → lineItemGroups/client/requests/LineItemGroupAdHocCreateClientReq.mjs} +0 -0
- /package/dist/esm/api/resources/billing/resources/{rateSheets/client/requests/RateSheetsUpdateDefaultForDriverV1Request.mjs → lineItemGroups/client/requests/LineItemGroupsListV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/billing/resources/{rateSheets/client/requests/RateSheetsUpdateDefaultForOffChrtShipperV1Request.mjs → onboardCourierRateSheets/client/requests/OnboardCourierRateSheetClientCreate1.mjs} +0 -0
- /package/dist/esm/api/resources/billing/resources/{rateSheets/client/requests/RateSheetsUpdateOrgDefaultForServiceTypeV1Request.mjs → onboardCourierRateSheets/client/requests/OnboardCourierRateSheetClientUpdate1.mjs} +0 -0
- /package/dist/esm/api/resources/billing/resources/{statements/client/requests/BodyStatementsPatchUpdateOffChrtSettlementStateV1BillingStatementsUpdateOffChrtSettlementStateV1StatementIdPatch.mjs → onboardCourierRateSheets/client/requests/OnboardCourierRateSheetsListV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/billing/resources/{statements/client/requests/BodyStatementsPatchUpdateSettlementTypeV1BillingStatementsUpdateSettlementTypeV1StatementIdPatch.mjs → rateSheetMappings/client/requests/RateSheetMappingClientCreate1.mjs} +0 -0
- /package/dist/esm/api/resources/billing/resources/{statements/client/requests/CreateStatementReq.mjs → rateSheetMappings/client/requests/RateSheetMappingsListV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/billing/resources/statements/client/requests/{OpenInvoiceReq.mjs → StatementCreateClientReq.mjs} +0 -0
- /package/dist/esm/api/resources/{orgs/resources/connections/client/requests/ConnectionsListCouriersV1Request.mjs → billing/resources/statements/client/requests/StatementUpdateSettlementTypeReq.mjs} +0 -0
- /package/dist/esm/api/resources/{orgs/resources/connections/client/requests/ConnectionsListForwardersV1Request.mjs → listing/resources/bidThreads/client/requests/BidThreadClientCreate1.mjs} +0 -0
- /package/dist/esm/api/resources/{orgs/resources/orgInfoForConnections/resources/courier/client/requests/CourierOrgInfoForConnectionsClientCreate1.mjs → listing/resources/bidThreads/client/requests/BidThreadsListForBidderV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/{orgs/resources/orgInfoForConnections/resources/courier/client/requests/CourierOrgInfoForConnectionsClientUpdate1.mjs → listing/resources/bidThreads/client/requests/BidThreadsListForListingV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/{orgs/resources/orgInfoForConnections/resources/forwarder/client/requests/ForwarderOrgInfoForConnectionsClientCreate1.mjs → listing/resources/driverBiddingGroups/client/requests/DriverBiddingGroupClientCreate1.mjs} +0 -0
- /package/dist/esm/api/resources/{orgs/resources/orgInfoForConnections/resources/forwarder/client/requests/ForwarderOrgInfoForConnectionsClientUpdate1.mjs → listing/resources/driverBiddingGroups/client/requests/DriverBiddingGroupsListByOrgV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/{orgs/resources/orgProfiles/client/requests/CourierOrgProfileClientCreate1.mjs → listing/resources/driverBiddingGroups/client/requests/DriverBiddingGroupsUpdateNameV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/{orgs/resources/orgProfiles/client/requests/CourierOrgProfileClientUpdate1.mjs → listing/resources/listings/client/requests/ListingAddDriverParticipantsReq.mjs} +0 -0
- /package/dist/esm/api/resources/{orgs/resources/orgProfiles/client/requests/ForwarderOrgProfileClientCreate1.mjs → listing/resources/listings/client/requests/ListingAddProviderParticipantsReq.mjs} +0 -0
- /package/dist/esm/api/resources/{orgs/resources/orgProfiles/client/requests/ForwarderOrgProfileClientUpdate1.mjs → listing/resources/listings/client/requests/ListingClientCreate1.mjs} +0 -0
- /package/dist/esm/api/resources/{shipping/resources/orderDrafts/resources/taskGroup/client/requests/SetServiceTypeReq.mjs → listing/resources/listings/client/requests/ListingClientUpdate1.mjs} +0 -0
- /package/dist/esm/api/resources/{shipping/resources/orderDrafts/resources/taskGroup/client/requests/UpdateCourierOrgDraftReq.mjs → listing/resources/listings/client/requests/ListingRemoveDriverParticipantsReq.mjs} +0 -0
- /package/dist/esm/api/resources/{shipping/resources/orders/resources/expanded/client/requests/ExpandedListForForwarderOperatorsV1Request.mjs → listing/resources/listings/client/requests/ListingRemoveProviderParticipantsReq.mjs} +0 -0
- /package/dist/esm/api/resources/{shipping/resources/taskGroups/client/requests/UpdateCourierOrgReq.mjs → listing/resources/listings/client/requests/ListingsListByOrgV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/{shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForCourierDriverV1Request.mjs → listing/resources/listings/client/requests/ListingsListForDriverBidderV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/{shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForCourierOperatorsV1Request.mjs → listing/resources/listings/client/requests/ListingsListForProviderBidderV1Request.mjs} +0 -0
- /package/dist/esm/api/{types/CourierConnectionListRes.mjs → resources/listing/resources/orgBiddingGroups/client/requests/OrgBiddingGroupClientCreate1.mjs} +0 -0
- /package/dist/esm/api/{types/CourierConnectionRes.mjs → resources/listing/resources/orgBiddingGroups/client/requests/OrgBiddingGroupsListByOrgV1Request.mjs} +0 -0
- /package/dist/esm/api/{types/CourierOrgInfoForConnections1.mjs → resources/listing/resources/orgBiddingGroups/client/requests/OrgBiddingGroupsUpdateNameV1Request.mjs} +0 -0
- /package/dist/esm/api/{types/CourierOrgProfile1.mjs → resources/operations/resources/cases/client/requests/CaseAddMessageReq.mjs} +0 -0
- /package/dist/esm/api/{types/ForwarderConnectionListRes.mjs → resources/operations/resources/cases/client/requests/CaseAssignReq.mjs} +0 -0
- /package/dist/esm/api/{types/ForwarderConnectionRes.mjs → resources/operations/resources/cases/client/requests/CaseClientUpdate1.mjs} +0 -0
- /package/dist/esm/api/{types/ForwarderCourierConnection1.mjs → resources/operations/resources/cases/client/requests/CaseUnassignReq.mjs} +0 -0
- /package/dist/esm/api/{types/ForwarderOrgInfoForConnections1.mjs → resources/operations/resources/cases/client/requests/CasesListV1Request.mjs} +0 -0
- /package/dist/esm/api/{types/ForwarderOrgProfile1.mjs → resources/operations/resources/departments/client/requests/DepartmentClientCreate1.mjs} +0 -0
- /package/dist/esm/api/{types/OrgProfileRes1.mjs → resources/operations/resources/departments/client/requests/DepartmentClientUpdate1.mjs} +0 -0
- /package/dist/esm/api/{types/Quote.mjs → resources/operations/resources/departments/client/requests/DepartmentsListV1Request.mjs} +0 -0
- /package/dist/esm/api/{types/RateSheet1.mjs → resources/orgs/resources/connections/client/requests/ConnectionsListProvidersV1Request.mjs} +0 -0
- /package/dist/esm/api/{types/RateSheetListResponse.mjs → resources/orgs/resources/connections/client/requests/ProviderProviderUpdateAutoAssignReq.mjs} +0 -0
- /package/dist/esm/api/{types/ShipperCourierConnection1.mjs → resources/orgs/resources/connections/client/requests/SetDepartmentReq.mjs} +0 -0
- /package/dist/esm/api/{types/ShipperForwarderConnection1.mjs → resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientCreate1.mjs} +0 -0
|
@@ -251,6 +251,7 @@ class Statements {
|
|
|
251
251
|
* sort_order: "asc",
|
|
252
252
|
* page: 1,
|
|
253
253
|
* page_size: 1,
|
|
254
|
+
* filter_status: ["staged"],
|
|
254
255
|
* filter_settlement_type: "stripe_connect",
|
|
255
256
|
* filter_order_id: "filter_order_id",
|
|
256
257
|
* filter_order_short_id: "filter_order_short_id",
|
|
@@ -401,6 +402,7 @@ class Statements {
|
|
|
401
402
|
* sort_order: "asc",
|
|
402
403
|
* page: 1,
|
|
403
404
|
* page_size: 1,
|
|
405
|
+
* filter_status: ["staged"],
|
|
404
406
|
* filter_settlement_type: "stripe_connect",
|
|
405
407
|
* filter_order_id: "filter_order_id",
|
|
406
408
|
* filter_order_short_id: "filter_order_short_id",
|
|
@@ -538,16 +540,15 @@ class Statements {
|
|
|
538
540
|
});
|
|
539
541
|
}
|
|
540
542
|
/**
|
|
541
|
-
* Creates
|
|
543
|
+
* 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)
|
|
542
544
|
*
|
|
543
|
-
* @param {Chrt.billing.
|
|
545
|
+
* @param {Chrt.billing.StatementCreateClientReq} request
|
|
544
546
|
* @param {Statements.RequestOptions} requestOptions - Request-specific configuration.
|
|
545
547
|
*
|
|
546
548
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
547
549
|
*
|
|
548
550
|
* @example
|
|
549
551
|
* await client.billing.statements.createV1({
|
|
550
|
-
* payment_vector_type: "shipper_pay_forwarder",
|
|
551
552
|
* settlement_type: "stripe_connect"
|
|
552
553
|
* })
|
|
553
554
|
*/
|
|
@@ -603,25 +604,86 @@ class Statements {
|
|
|
603
604
|
});
|
|
604
605
|
}
|
|
605
606
|
/**
|
|
606
|
-
*
|
|
607
|
+
* 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)
|
|
607
608
|
*
|
|
608
609
|
* @param {string} statementId
|
|
610
|
+
* @param {string} lineItemGroupId
|
|
609
611
|
* @param {Statements.RequestOptions} requestOptions - Request-specific configuration.
|
|
610
612
|
*
|
|
611
613
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
612
614
|
*
|
|
613
615
|
* @example
|
|
614
|
-
* await client.billing.statements.
|
|
616
|
+
* await client.billing.statements.attachLineItemGroupV1("statement_id", "line_item_group_id")
|
|
615
617
|
*/
|
|
616
|
-
|
|
617
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
618
|
+
attachLineItemGroupV1(statementId, lineItemGroupId, requestOptions) {
|
|
619
|
+
return core.HttpResponsePromise.fromPromise(this.__attachLineItemGroupV1(statementId, lineItemGroupId, requestOptions));
|
|
618
620
|
}
|
|
619
|
-
|
|
621
|
+
__attachLineItemGroupV1(statementId, lineItemGroupId, requestOptions) {
|
|
620
622
|
return __awaiter(this, void 0, void 0, function* () {
|
|
621
623
|
var _a, _b, _c, _d;
|
|
622
624
|
let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
623
625
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
624
|
-
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/
|
|
626
|
+
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)}`),
|
|
627
|
+
method: "POST",
|
|
628
|
+
headers: _headers,
|
|
629
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
630
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
631
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
632
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
633
|
+
});
|
|
634
|
+
if (_response.ok) {
|
|
635
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
636
|
+
}
|
|
637
|
+
if (_response.error.reason === "status-code") {
|
|
638
|
+
switch (_response.error.statusCode) {
|
|
639
|
+
case 422:
|
|
640
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
641
|
+
default:
|
|
642
|
+
throw new errors.ChrtError({
|
|
643
|
+
statusCode: _response.error.statusCode,
|
|
644
|
+
body: _response.error.body,
|
|
645
|
+
rawResponse: _response.rawResponse,
|
|
646
|
+
});
|
|
647
|
+
}
|
|
648
|
+
}
|
|
649
|
+
switch (_response.error.reason) {
|
|
650
|
+
case "non-json":
|
|
651
|
+
throw new errors.ChrtError({
|
|
652
|
+
statusCode: _response.error.statusCode,
|
|
653
|
+
body: _response.error.rawBody,
|
|
654
|
+
rawResponse: _response.rawResponse,
|
|
655
|
+
});
|
|
656
|
+
case "timeout":
|
|
657
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /billing/statements/attach_line_item_group/v1/{statement_id}/{line_item_group_id}.");
|
|
658
|
+
case "unknown":
|
|
659
|
+
throw new errors.ChrtError({
|
|
660
|
+
message: _response.error.errorMessage,
|
|
661
|
+
rawResponse: _response.rawResponse,
|
|
662
|
+
});
|
|
663
|
+
}
|
|
664
|
+
});
|
|
665
|
+
}
|
|
666
|
+
/**
|
|
667
|
+
* 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)
|
|
668
|
+
*
|
|
669
|
+
* @param {string} statementId
|
|
670
|
+
* @param {string} lineItemGroupId
|
|
671
|
+
* @param {Statements.RequestOptions} requestOptions - Request-specific configuration.
|
|
672
|
+
*
|
|
673
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
674
|
+
*
|
|
675
|
+
* @example
|
|
676
|
+
* await client.billing.statements.detachLineItemGroupV1("statement_id", "line_item_group_id")
|
|
677
|
+
*/
|
|
678
|
+
detachLineItemGroupV1(statementId, lineItemGroupId, requestOptions) {
|
|
679
|
+
return core.HttpResponsePromise.fromPromise(this.__detachLineItemGroupV1(statementId, lineItemGroupId, requestOptions));
|
|
680
|
+
}
|
|
681
|
+
__detachLineItemGroupV1(statementId, lineItemGroupId, requestOptions) {
|
|
682
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
683
|
+
var _a, _b, _c, _d;
|
|
684
|
+
let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
685
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
686
|
+
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)}`),
|
|
625
687
|
method: "DELETE",
|
|
626
688
|
headers: _headers,
|
|
627
689
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
@@ -652,7 +714,7 @@ class Statements {
|
|
|
652
714
|
rawResponse: _response.rawResponse,
|
|
653
715
|
});
|
|
654
716
|
case "timeout":
|
|
655
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling DELETE /billing/statements/
|
|
717
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling DELETE /billing/statements/detach_line_item_group/v1/{statement_id}/{line_item_group_id}.");
|
|
656
718
|
case "unknown":
|
|
657
719
|
throw new errors.ChrtError({
|
|
658
720
|
message: _response.error.errorMessage,
|
|
@@ -662,34 +724,29 @@ class Statements {
|
|
|
662
724
|
});
|
|
663
725
|
}
|
|
664
726
|
/**
|
|
665
|
-
*
|
|
727
|
+
* 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)
|
|
666
728
|
*
|
|
667
729
|
* @param {string} statementId
|
|
668
|
-
* @param {
|
|
730
|
+
* @param {string} billingLedgerPeriodId
|
|
669
731
|
* @param {Statements.RequestOptions} requestOptions - Request-specific configuration.
|
|
670
732
|
*
|
|
671
733
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
672
734
|
*
|
|
673
735
|
* @example
|
|
674
|
-
* await client.billing.statements.
|
|
675
|
-
* settlement_type: "stripe_connect"
|
|
676
|
-
* })
|
|
736
|
+
* await client.billing.statements.attachBillingLedgerPeriodV1("statement_id", "billing_ledger_period_id")
|
|
677
737
|
*/
|
|
678
|
-
|
|
679
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
738
|
+
attachBillingLedgerPeriodV1(statementId, billingLedgerPeriodId, requestOptions) {
|
|
739
|
+
return core.HttpResponsePromise.fromPromise(this.__attachBillingLedgerPeriodV1(statementId, billingLedgerPeriodId, requestOptions));
|
|
680
740
|
}
|
|
681
|
-
|
|
741
|
+
__attachBillingLedgerPeriodV1(statementId, billingLedgerPeriodId, requestOptions) {
|
|
682
742
|
return __awaiter(this, void 0, void 0, function* () {
|
|
683
743
|
var _a, _b, _c, _d;
|
|
684
744
|
let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
685
745
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
686
|
-
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/
|
|
687
|
-
method: "
|
|
746
|
+
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)}`),
|
|
747
|
+
method: "POST",
|
|
688
748
|
headers: _headers,
|
|
689
|
-
contentType: "application/json",
|
|
690
749
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
691
|
-
requestType: "json",
|
|
692
|
-
body: request,
|
|
693
750
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
694
751
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
695
752
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -717,7 +774,7 @@ class Statements {
|
|
|
717
774
|
rawResponse: _response.rawResponse,
|
|
718
775
|
});
|
|
719
776
|
case "timeout":
|
|
720
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling
|
|
777
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /billing/statements/attach_billing_ledger_period/v1/{statement_id}/{billing_ledger_period_id}.");
|
|
721
778
|
case "unknown":
|
|
722
779
|
throw new errors.ChrtError({
|
|
723
780
|
message: _response.error.errorMessage,
|
|
@@ -727,34 +784,147 @@ class Statements {
|
|
|
727
784
|
});
|
|
728
785
|
}
|
|
729
786
|
/**
|
|
730
|
-
*
|
|
787
|
+
* 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)
|
|
731
788
|
*
|
|
732
789
|
* @param {string} statementId
|
|
733
|
-
* @param {
|
|
790
|
+
* @param {string} billingLedgerPeriodId
|
|
734
791
|
* @param {Statements.RequestOptions} requestOptions - Request-specific configuration.
|
|
735
792
|
*
|
|
736
793
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
737
794
|
*
|
|
738
795
|
* @example
|
|
739
|
-
* await client.billing.statements.
|
|
740
|
-
* new_status: "staged"
|
|
741
|
-
* })
|
|
796
|
+
* await client.billing.statements.detachBillingLedgerPeriodV1("statement_id", "billing_ledger_period_id")
|
|
742
797
|
*/
|
|
743
|
-
|
|
744
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
798
|
+
detachBillingLedgerPeriodV1(statementId, billingLedgerPeriodId, requestOptions) {
|
|
799
|
+
return core.HttpResponsePromise.fromPromise(this.__detachBillingLedgerPeriodV1(statementId, billingLedgerPeriodId, requestOptions));
|
|
745
800
|
}
|
|
746
|
-
|
|
801
|
+
__detachBillingLedgerPeriodV1(statementId, billingLedgerPeriodId, requestOptions) {
|
|
747
802
|
return __awaiter(this, void 0, void 0, function* () {
|
|
748
803
|
var _a, _b, _c, _d;
|
|
749
804
|
let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
750
805
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
751
|
-
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/
|
|
752
|
-
method: "
|
|
806
|
+
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)}`),
|
|
807
|
+
method: "DELETE",
|
|
808
|
+
headers: _headers,
|
|
809
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
810
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
811
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
812
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
813
|
+
});
|
|
814
|
+
if (_response.ok) {
|
|
815
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
816
|
+
}
|
|
817
|
+
if (_response.error.reason === "status-code") {
|
|
818
|
+
switch (_response.error.statusCode) {
|
|
819
|
+
case 422:
|
|
820
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
821
|
+
default:
|
|
822
|
+
throw new errors.ChrtError({
|
|
823
|
+
statusCode: _response.error.statusCode,
|
|
824
|
+
body: _response.error.body,
|
|
825
|
+
rawResponse: _response.rawResponse,
|
|
826
|
+
});
|
|
827
|
+
}
|
|
828
|
+
}
|
|
829
|
+
switch (_response.error.reason) {
|
|
830
|
+
case "non-json":
|
|
831
|
+
throw new errors.ChrtError({
|
|
832
|
+
statusCode: _response.error.statusCode,
|
|
833
|
+
body: _response.error.rawBody,
|
|
834
|
+
rawResponse: _response.rawResponse,
|
|
835
|
+
});
|
|
836
|
+
case "timeout":
|
|
837
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling DELETE /billing/statements/detach_billing_ledger_period/v1/{statement_id}/{billing_ledger_period_id}.");
|
|
838
|
+
case "unknown":
|
|
839
|
+
throw new errors.ChrtError({
|
|
840
|
+
message: _response.error.errorMessage,
|
|
841
|
+
rawResponse: _response.rawResponse,
|
|
842
|
+
});
|
|
843
|
+
}
|
|
844
|
+
});
|
|
845
|
+
}
|
|
846
|
+
/**
|
|
847
|
+
* 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)
|
|
848
|
+
*
|
|
849
|
+
* @param {string} statementId
|
|
850
|
+
* @param {Statements.RequestOptions} requestOptions - Request-specific configuration.
|
|
851
|
+
*
|
|
852
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
853
|
+
*
|
|
854
|
+
* @example
|
|
855
|
+
* await client.billing.statements.openOffChrtV1("statement_id")
|
|
856
|
+
*/
|
|
857
|
+
openOffChrtV1(statementId, requestOptions) {
|
|
858
|
+
return core.HttpResponsePromise.fromPromise(this.__openOffChrtV1(statementId, requestOptions));
|
|
859
|
+
}
|
|
860
|
+
__openOffChrtV1(statementId, requestOptions) {
|
|
861
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
862
|
+
var _a, _b, _c, _d;
|
|
863
|
+
let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
864
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
865
|
+
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)}`),
|
|
866
|
+
method: "POST",
|
|
867
|
+
headers: _headers,
|
|
868
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
869
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
870
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
871
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
872
|
+
});
|
|
873
|
+
if (_response.ok) {
|
|
874
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
875
|
+
}
|
|
876
|
+
if (_response.error.reason === "status-code") {
|
|
877
|
+
switch (_response.error.statusCode) {
|
|
878
|
+
case 422:
|
|
879
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
880
|
+
default:
|
|
881
|
+
throw new errors.ChrtError({
|
|
882
|
+
statusCode: _response.error.statusCode,
|
|
883
|
+
body: _response.error.body,
|
|
884
|
+
rawResponse: _response.rawResponse,
|
|
885
|
+
});
|
|
886
|
+
}
|
|
887
|
+
}
|
|
888
|
+
switch (_response.error.reason) {
|
|
889
|
+
case "non-json":
|
|
890
|
+
throw new errors.ChrtError({
|
|
891
|
+
statusCode: _response.error.statusCode,
|
|
892
|
+
body: _response.error.rawBody,
|
|
893
|
+
rawResponse: _response.rawResponse,
|
|
894
|
+
});
|
|
895
|
+
case "timeout":
|
|
896
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /billing/statements/open_off_chrt/v1/{statement_id}.");
|
|
897
|
+
case "unknown":
|
|
898
|
+
throw new errors.ChrtError({
|
|
899
|
+
message: _response.error.errorMessage,
|
|
900
|
+
rawResponse: _response.rawResponse,
|
|
901
|
+
});
|
|
902
|
+
}
|
|
903
|
+
});
|
|
904
|
+
}
|
|
905
|
+
/**
|
|
906
|
+
* 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)
|
|
907
|
+
*
|
|
908
|
+
* @param {string} statementId
|
|
909
|
+
* @param {Statements.RequestOptions} requestOptions - Request-specific configuration.
|
|
910
|
+
*
|
|
911
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
912
|
+
*
|
|
913
|
+
* @example
|
|
914
|
+
* await client.billing.statements.markPaidOffChrtV1("statement_id")
|
|
915
|
+
*/
|
|
916
|
+
markPaidOffChrtV1(statementId, requestOptions) {
|
|
917
|
+
return core.HttpResponsePromise.fromPromise(this.__markPaidOffChrtV1(statementId, requestOptions));
|
|
918
|
+
}
|
|
919
|
+
__markPaidOffChrtV1(statementId, requestOptions) {
|
|
920
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
921
|
+
var _a, _b, _c, _d;
|
|
922
|
+
let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
923
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
924
|
+
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)}`),
|
|
925
|
+
method: "POST",
|
|
753
926
|
headers: _headers,
|
|
754
|
-
contentType: "application/json",
|
|
755
927
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
756
|
-
requestType: "json",
|
|
757
|
-
body: request,
|
|
758
928
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
759
929
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
760
930
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -782,7 +952,7 @@ class Statements {
|
|
|
782
952
|
rawResponse: _response.rawResponse,
|
|
783
953
|
});
|
|
784
954
|
case "timeout":
|
|
785
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling
|
|
955
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /billing/statements/mark_paid_off_chrt/v1/{statement_id}.");
|
|
786
956
|
case "unknown":
|
|
787
957
|
throw new errors.ChrtError({
|
|
788
958
|
message: _response.error.errorMessage,
|
|
@@ -792,10 +962,68 @@ class Statements {
|
|
|
792
962
|
});
|
|
793
963
|
}
|
|
794
964
|
/**
|
|
795
|
-
*
|
|
965
|
+
* 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)
|
|
966
|
+
*
|
|
967
|
+
* @param {string} statementId
|
|
968
|
+
* @param {Statements.RequestOptions} requestOptions - Request-specific configuration.
|
|
969
|
+
*
|
|
970
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
971
|
+
*
|
|
972
|
+
* @example
|
|
973
|
+
* await client.billing.statements.markUncollectibleOffChrtV1("statement_id")
|
|
974
|
+
*/
|
|
975
|
+
markUncollectibleOffChrtV1(statementId, requestOptions) {
|
|
976
|
+
return core.HttpResponsePromise.fromPromise(this.__markUncollectibleOffChrtV1(statementId, requestOptions));
|
|
977
|
+
}
|
|
978
|
+
__markUncollectibleOffChrtV1(statementId, requestOptions) {
|
|
979
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
980
|
+
var _a, _b, _c, _d;
|
|
981
|
+
let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
982
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
983
|
+
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)}`),
|
|
984
|
+
method: "POST",
|
|
985
|
+
headers: _headers,
|
|
986
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
987
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
988
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
989
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
990
|
+
});
|
|
991
|
+
if (_response.ok) {
|
|
992
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
993
|
+
}
|
|
994
|
+
if (_response.error.reason === "status-code") {
|
|
995
|
+
switch (_response.error.statusCode) {
|
|
996
|
+
case 422:
|
|
997
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
998
|
+
default:
|
|
999
|
+
throw new errors.ChrtError({
|
|
1000
|
+
statusCode: _response.error.statusCode,
|
|
1001
|
+
body: _response.error.body,
|
|
1002
|
+
rawResponse: _response.rawResponse,
|
|
1003
|
+
});
|
|
1004
|
+
}
|
|
1005
|
+
}
|
|
1006
|
+
switch (_response.error.reason) {
|
|
1007
|
+
case "non-json":
|
|
1008
|
+
throw new errors.ChrtError({
|
|
1009
|
+
statusCode: _response.error.statusCode,
|
|
1010
|
+
body: _response.error.rawBody,
|
|
1011
|
+
rawResponse: _response.rawResponse,
|
|
1012
|
+
});
|
|
1013
|
+
case "timeout":
|
|
1014
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /billing/statements/mark_uncollectible_off_chrt/v1/{statement_id}.");
|
|
1015
|
+
case "unknown":
|
|
1016
|
+
throw new errors.ChrtError({
|
|
1017
|
+
message: _response.error.errorMessage,
|
|
1018
|
+
rawResponse: _response.rawResponse,
|
|
1019
|
+
});
|
|
1020
|
+
}
|
|
1021
|
+
});
|
|
1022
|
+
}
|
|
1023
|
+
/**
|
|
1024
|
+
* 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)
|
|
796
1025
|
*
|
|
797
1026
|
* @param {string} statementId
|
|
798
|
-
* @param {Chrt.billing.OpenInvoiceReq} request
|
|
799
1027
|
* @param {Statements.RequestOptions} requestOptions - Request-specific configuration.
|
|
800
1028
|
*
|
|
801
1029
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
@@ -803,21 +1031,18 @@ class Statements {
|
|
|
803
1031
|
* @example
|
|
804
1032
|
* await client.billing.statements.openInvoiceV1("statement_id")
|
|
805
1033
|
*/
|
|
806
|
-
openInvoiceV1(statementId,
|
|
807
|
-
return core.HttpResponsePromise.fromPromise(this.__openInvoiceV1(statementId,
|
|
1034
|
+
openInvoiceV1(statementId, requestOptions) {
|
|
1035
|
+
return core.HttpResponsePromise.fromPromise(this.__openInvoiceV1(statementId, requestOptions));
|
|
808
1036
|
}
|
|
809
|
-
__openInvoiceV1(
|
|
810
|
-
return __awaiter(this,
|
|
1037
|
+
__openInvoiceV1(statementId, requestOptions) {
|
|
1038
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
811
1039
|
var _a, _b, _c, _d;
|
|
812
1040
|
let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
813
1041
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
814
1042
|
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)}`),
|
|
815
1043
|
method: "POST",
|
|
816
1044
|
headers: _headers,
|
|
817
|
-
contentType: "application/json",
|
|
818
1045
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
819
|
-
requestType: "json",
|
|
820
|
-
body: request,
|
|
821
1046
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
822
1047
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
823
1048
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -855,7 +1080,7 @@ class Statements {
|
|
|
855
1080
|
});
|
|
856
1081
|
}
|
|
857
1082
|
/**
|
|
858
|
-
*
|
|
1083
|
+
* 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)
|
|
859
1084
|
*
|
|
860
1085
|
* @param {string} statementId
|
|
861
1086
|
* @param {Statements.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -914,7 +1139,7 @@ class Statements {
|
|
|
914
1139
|
});
|
|
915
1140
|
}
|
|
916
1141
|
/**
|
|
917
|
-
* Voids
|
|
1142
|
+
* 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)
|
|
918
1143
|
*
|
|
919
1144
|
* @param {string} statementId
|
|
920
1145
|
* @param {Statements.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -972,6 +1197,130 @@ class Statements {
|
|
|
972
1197
|
}
|
|
973
1198
|
});
|
|
974
1199
|
}
|
|
1200
|
+
/**
|
|
1201
|
+
* 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)
|
|
1202
|
+
*
|
|
1203
|
+
* @param {string} statementId
|
|
1204
|
+
* @param {Chrt.billing.StatementUpdateSettlementTypeReq} request
|
|
1205
|
+
* @param {Statements.RequestOptions} requestOptions - Request-specific configuration.
|
|
1206
|
+
*
|
|
1207
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
1208
|
+
*
|
|
1209
|
+
* @example
|
|
1210
|
+
* await client.billing.statements.updateSettlementTypeV1("statement_id", {
|
|
1211
|
+
* settlement_type: "stripe_connect"
|
|
1212
|
+
* })
|
|
1213
|
+
*/
|
|
1214
|
+
updateSettlementTypeV1(statementId, request, requestOptions) {
|
|
1215
|
+
return core.HttpResponsePromise.fromPromise(this.__updateSettlementTypeV1(statementId, request, requestOptions));
|
|
1216
|
+
}
|
|
1217
|
+
__updateSettlementTypeV1(statementId, request, requestOptions) {
|
|
1218
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1219
|
+
var _a, _b, _c, _d;
|
|
1220
|
+
let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1221
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1222
|
+
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)}`),
|
|
1223
|
+
method: "POST",
|
|
1224
|
+
headers: _headers,
|
|
1225
|
+
contentType: "application/json",
|
|
1226
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
1227
|
+
requestType: "json",
|
|
1228
|
+
body: request,
|
|
1229
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
1230
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
1231
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1232
|
+
});
|
|
1233
|
+
if (_response.ok) {
|
|
1234
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
1235
|
+
}
|
|
1236
|
+
if (_response.error.reason === "status-code") {
|
|
1237
|
+
switch (_response.error.statusCode) {
|
|
1238
|
+
case 422:
|
|
1239
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
1240
|
+
default:
|
|
1241
|
+
throw new errors.ChrtError({
|
|
1242
|
+
statusCode: _response.error.statusCode,
|
|
1243
|
+
body: _response.error.body,
|
|
1244
|
+
rawResponse: _response.rawResponse,
|
|
1245
|
+
});
|
|
1246
|
+
}
|
|
1247
|
+
}
|
|
1248
|
+
switch (_response.error.reason) {
|
|
1249
|
+
case "non-json":
|
|
1250
|
+
throw new errors.ChrtError({
|
|
1251
|
+
statusCode: _response.error.statusCode,
|
|
1252
|
+
body: _response.error.rawBody,
|
|
1253
|
+
rawResponse: _response.rawResponse,
|
|
1254
|
+
});
|
|
1255
|
+
case "timeout":
|
|
1256
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /billing/statements/update_settlement_type/v1/{statement_id}.");
|
|
1257
|
+
case "unknown":
|
|
1258
|
+
throw new errors.ChrtError({
|
|
1259
|
+
message: _response.error.errorMessage,
|
|
1260
|
+
rawResponse: _response.rawResponse,
|
|
1261
|
+
});
|
|
1262
|
+
}
|
|
1263
|
+
});
|
|
1264
|
+
}
|
|
1265
|
+
/**
|
|
1266
|
+
* 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)
|
|
1267
|
+
*
|
|
1268
|
+
* @param {string} statementId
|
|
1269
|
+
* @param {Statements.RequestOptions} requestOptions - Request-specific configuration.
|
|
1270
|
+
*
|
|
1271
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
1272
|
+
*
|
|
1273
|
+
* @example
|
|
1274
|
+
* await client.billing.statements.deleteV1("statement_id")
|
|
1275
|
+
*/
|
|
1276
|
+
deleteV1(statementId, requestOptions) {
|
|
1277
|
+
return core.HttpResponsePromise.fromPromise(this.__deleteV1(statementId, requestOptions));
|
|
1278
|
+
}
|
|
1279
|
+
__deleteV1(statementId, requestOptions) {
|
|
1280
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1281
|
+
var _a, _b, _c, _d;
|
|
1282
|
+
let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1283
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
1284
|
+
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)}`),
|
|
1285
|
+
method: "DELETE",
|
|
1286
|
+
headers: _headers,
|
|
1287
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
1288
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
1289
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
1290
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1291
|
+
});
|
|
1292
|
+
if (_response.ok) {
|
|
1293
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
1294
|
+
}
|
|
1295
|
+
if (_response.error.reason === "status-code") {
|
|
1296
|
+
switch (_response.error.statusCode) {
|
|
1297
|
+
case 422:
|
|
1298
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
1299
|
+
default:
|
|
1300
|
+
throw new errors.ChrtError({
|
|
1301
|
+
statusCode: _response.error.statusCode,
|
|
1302
|
+
body: _response.error.body,
|
|
1303
|
+
rawResponse: _response.rawResponse,
|
|
1304
|
+
});
|
|
1305
|
+
}
|
|
1306
|
+
}
|
|
1307
|
+
switch (_response.error.reason) {
|
|
1308
|
+
case "non-json":
|
|
1309
|
+
throw new errors.ChrtError({
|
|
1310
|
+
statusCode: _response.error.statusCode,
|
|
1311
|
+
body: _response.error.rawBody,
|
|
1312
|
+
rawResponse: _response.rawResponse,
|
|
1313
|
+
});
|
|
1314
|
+
case "timeout":
|
|
1315
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling DELETE /billing/statements/delete/v1/{statement_id}.");
|
|
1316
|
+
case "unknown":
|
|
1317
|
+
throw new errors.ChrtError({
|
|
1318
|
+
message: _response.error.errorMessage,
|
|
1319
|
+
rawResponse: _response.rawResponse,
|
|
1320
|
+
});
|
|
1321
|
+
}
|
|
1322
|
+
});
|
|
1323
|
+
}
|
|
975
1324
|
_getAuthorizationHeader() {
|
|
976
1325
|
return __awaiter(this, void 0, void 0, function* () {
|
|
977
1326
|
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.js";
|
|
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
|
+
}
|