@chrt-inc/typescript-sdk 1.616.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 -46
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/Client.js +548 -95
- 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/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/rateSheetMappings/client/Client.d.ts +136 -0
- package/dist/cjs/api/resources/billing/resources/rateSheetMappings/client/Client.js +503 -0
- package/dist/cjs/api/resources/billing/resources/rateSheetMappings/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/billing/resources/rateSheetMappings/client/index.js +17 -0
- package/dist/cjs/api/resources/billing/resources/rateSheetMappings/client/requests/RateSheetMappingClientCreate1.d.ts +20 -0
- package/dist/cjs/api/resources/billing/resources/rateSheetMappings/client/requests/RateSheetMappingsListV1Request.d.ts +14 -0
- package/dist/cjs/api/resources/billing/resources/rateSheetMappings/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/billing/resources/rateSheetMappings/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/billing/resources/rateSheetMappings/index.d.ts +1 -0
- package/dist/cjs/api/resources/billing/resources/rateSheetMappings/index.js +17 -0
- package/dist/cjs/api/resources/billing/resources/statements/client/Client.d.ts +104 -27
- package/dist/cjs/api/resources/billing/resources/statements/client/Client.js +396 -49
- package/dist/cjs/api/resources/billing/resources/statements/client/requests/StatementCreateClientReq.d.ts +20 -0
- package/dist/cjs/api/resources/billing/resources/statements/client/requests/StatementUpdateSettlementTypeReq.d.ts +13 -0
- package/dist/cjs/api/resources/billing/resources/statements/client/requests/index.d.ts +2 -4
- package/dist/cjs/api/resources/index.d.ts +2 -0
- package/dist/cjs/api/resources/index.js +3 -1
- package/dist/cjs/api/resources/listing/client/Client.d.ts +32 -0
- package/dist/cjs/api/resources/listing/client/Client.js +32 -0
- package/dist/cjs/api/resources/listing/client/index.js +2 -0
- package/dist/cjs/api/resources/listing/index.d.ts +2 -0
- package/dist/cjs/api/resources/listing/index.js +18 -0
- package/dist/cjs/api/resources/listing/resources/bidThreads/client/Client.d.ts +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 +4 -1
- package/dist/cjs/api/resources/orgs/client/Client.js +16 -11
- package/dist/cjs/api/resources/orgs/client/requests/SetOrgTypeReq.d.ts +1 -1
- package/dist/cjs/api/resources/orgs/resources/connections/client/Client.d.ts +33 -35
- package/dist/cjs/api/resources/orgs/resources/connections/client/Client.js +70 -80
- package/dist/cjs/api/resources/orgs/resources/connections/client/requests/ConnectionsListProvidersV1Request.d.ts +17 -0
- package/dist/cjs/api/resources/orgs/resources/connections/client/requests/ProviderProviderUpdateAutoAssignReq.d.ts +12 -0
- package/dist/cjs/api/resources/orgs/resources/connections/client/requests/SetDepartmentReq.d.ts +10 -0
- package/dist/cjs/api/resources/orgs/resources/connections/client/requests/index.d.ts +3 -2
- package/dist/cjs/api/resources/orgs/resources/connections/types/ConnectionsGetByHandleV1Response.d.ts +1 -1
- package/dist/cjs/api/resources/orgs/resources/index.d.ts +2 -0
- package/dist/cjs/api/resources/orgs/resources/index.js +3 -1
- package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/Client.d.ts +106 -0
- package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/Client.js +384 -0
- package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/index.js +17 -0
- package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientCreate1.d.ts +26 -0
- package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientUpdate1.d.ts +31 -0
- package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/requests/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/client/Client.d.ts +0 -3
- package/dist/cjs/api/resources/shipping/client/Client.js +16 -21
- package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.d.ts +20 -4
- package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.js +69 -4
- package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriverUpdateAutoAssignReq.d.ts +12 -0
- package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriverUpdateAutoAssignReq.js +5 -0
- package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/index.d.ts +0 -2
- package/dist/cjs/api/resources/shipping/resources/index.js +1 -3
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/Client.js +1 -1
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/requests/OrdersDraftUpdateReq.d.ts +2 -2
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/requests/OrdersNewDraftReq.d.ts +1 -1
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.js +7 -7
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/expanded/client/requests/ExpandedListV1Request.d.ts +4 -4
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/Client.d.ts +2 -47
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/Client.js +2 -191
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/OrderDraftAddTaskGroupReq.d.ts +1 -4
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/index.d.ts +0 -2
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.ts +13 -13
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.js +27 -27
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.d.ts +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 +4 -4
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/shipping/resources/taskGroups/client/Client.d.ts +228 -15
- package/dist/cjs/api/resources/shipping/resources/taskGroups/client/Client.js +952 -22
- package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/AddExecutorReq.d.ts +13 -0
- package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/AddExecutorReq.js +5 -0
- package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.ts +25 -25
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.js +46 -46
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverForExecutorV1Request.d.ts +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 -22
- package/dist/cjs/api/types/index.js +66 -22
- 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/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 -46
- package/dist/esm/api/resources/billing/resources/lineItemGroups/client/Client.mjs +544 -91
- 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/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/rateSheetMappings/client/Client.d.mts +136 -0
- package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/Client.mjs +466 -0
- package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/index.d.mts +2 -0
- package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/index.mjs +1 -0
- package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/requests/RateSheetMappingClientCreate1.d.mts +20 -0
- package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/requests/RateSheetMappingsListV1Request.d.mts +14 -0
- package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/billing/resources/rateSheetMappings/index.d.mts +1 -0
- package/dist/esm/api/resources/billing/resources/rateSheetMappings/index.mjs +1 -0
- package/dist/esm/api/resources/billing/resources/statements/client/Client.d.mts +104 -27
- package/dist/esm/api/resources/billing/resources/statements/client/Client.mjs +396 -49
- package/dist/esm/api/resources/billing/resources/statements/client/requests/StatementCreateClientReq.d.mts +20 -0
- package/dist/esm/api/resources/billing/resources/statements/client/requests/StatementUpdateSettlementTypeReq.d.mts +13 -0
- package/dist/esm/api/resources/billing/resources/statements/client/requests/index.d.mts +2 -4
- package/dist/esm/api/resources/index.d.mts +2 -0
- package/dist/esm/api/resources/index.mjs +2 -0
- package/dist/esm/api/resources/listing/client/Client.d.mts +32 -0
- package/dist/esm/api/resources/listing/client/Client.mjs +28 -0
- package/dist/esm/api/resources/listing/client/index.d.mts +1 -0
- package/dist/esm/api/resources/listing/client/index.mjs +1 -0
- package/dist/esm/api/resources/listing/index.d.mts +2 -0
- package/dist/esm/api/resources/listing/index.mjs +2 -0
- package/dist/esm/api/resources/listing/resources/bidThreads/client/Client.d.mts +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 +4 -1
- package/dist/esm/api/resources/orgs/client/Client.mjs +6 -1
- package/dist/esm/api/resources/orgs/client/requests/SetOrgTypeReq.d.mts +1 -1
- package/dist/esm/api/resources/orgs/resources/connections/client/Client.d.mts +33 -35
- package/dist/esm/api/resources/orgs/resources/connections/client/Client.mjs +70 -80
- package/dist/esm/api/resources/orgs/resources/connections/client/requests/ConnectionsListProvidersV1Request.d.mts +17 -0
- package/dist/esm/api/resources/orgs/resources/connections/client/requests/ProviderProviderUpdateAutoAssignReq.d.mts +12 -0
- package/dist/esm/api/resources/orgs/resources/connections/client/requests/SetDepartmentReq.d.mts +10 -0
- package/dist/esm/api/resources/orgs/resources/connections/client/requests/index.d.mts +3 -2
- package/dist/esm/api/resources/orgs/resources/connections/types/ConnectionsGetByHandleV1Response.d.mts +1 -1
- package/dist/esm/api/resources/orgs/resources/index.d.mts +2 -0
- package/dist/esm/api/resources/orgs/resources/index.mjs +2 -0
- package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/Client.d.mts +106 -0
- package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/Client.mjs +347 -0
- package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/index.d.mts +2 -0
- package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/index.mjs +1 -0
- package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientCreate1.d.mts +26 -0
- package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientUpdate1.d.mts +31 -0
- package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/requests/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/client/Client.d.mts +0 -3
- package/dist/esm/api/resources/shipping/client/Client.mjs +0 -5
- package/dist/esm/api/resources/shipping/resources/drivers/client/Client.d.mts +20 -4
- package/dist/esm/api/resources/shipping/resources/drivers/client/Client.mjs +69 -4
- package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriverUpdateAutoAssignReq.d.mts +12 -0
- package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriverUpdateAutoAssignReq.mjs +4 -0
- package/dist/esm/api/resources/shipping/resources/drivers/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/index.d.mts +0 -2
- package/dist/esm/api/resources/shipping/resources/index.mjs +0 -2
- package/dist/esm/api/resources/shipping/resources/orderDrafts/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/shipping/resources/orderDrafts/client/Client.mjs +1 -1
- package/dist/esm/api/resources/shipping/resources/orderDrafts/client/requests/OrdersDraftUpdateReq.d.mts +2 -2
- package/dist/esm/api/resources/shipping/resources/orderDrafts/client/requests/OrdersNewDraftReq.d.mts +1 -1
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.mjs +7 -7
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/expanded/client/requests/ExpandedListV1Request.d.mts +4 -4
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/Client.d.mts +2 -47
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/Client.mjs +2 -191
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/OrderDraftAddTaskGroupReq.d.mts +1 -4
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/index.d.mts +0 -2
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.mts +13 -13
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.mjs +27 -27
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.d.mts +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 +4 -4
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/shipping/resources/taskGroups/client/Client.d.mts +228 -15
- package/dist/esm/api/resources/shipping/resources/taskGroups/client/Client.mjs +952 -22
- package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/AddExecutorReq.d.mts +13 -0
- package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/AddExecutorReq.mjs +4 -0
- package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.mts +25 -25
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.mjs +46 -46
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverForExecutorV1Request.d.mts +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 -22
- package/dist/esm/api/types/index.mjs +66 -22
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +8074 -1297
- 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 -33
- 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/docs/client/Client.d.ts +0 -40
- package/dist/cjs/api/resources/shipping/resources/docs/client/Client.js +0 -124
- package/dist/cjs/api/resources/shipping/resources/docs/client/requests/GenerateShippingDocReq.d.ts +0 -15
- package/dist/cjs/api/resources/shipping/resources/docs/client/requests/index.d.ts +0 -1
- 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 -59
- 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 -59
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForCourierOperatorsV1Request.d.ts +0 -61
- 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/cjs/api/types/ShippingDocTemplateEnum.d.ts +0 -8
- package/dist/cjs/api/types/ShippingDocTemplateEnum.js +0 -10
- 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 -33
- 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/docs/client/Client.d.mts +0 -40
- package/dist/esm/api/resources/shipping/resources/docs/client/Client.mjs +0 -87
- package/dist/esm/api/resources/shipping/resources/docs/client/requests/GenerateShippingDocReq.d.mts +0 -15
- package/dist/esm/api/resources/shipping/resources/docs/client/requests/index.d.mts +0 -1
- 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 -59
- 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 -59
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForCourierOperatorsV1Request.d.mts +0 -61
- 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/esm/api/types/ShippingDocTemplateEnum.d.mts +0 -8
- package/dist/esm/api/types/ShippingDocTemplateEnum.mjs +0 -7
- /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/{shipping/resources/docs → billing/resources/onboardCourierRateSheets}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{shipping/resources/docs → billing/resources/onboardCourierRateSheets}/client/index.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/{shipping/resources/docs → billing/resources/onboardCourierRateSheets}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/{shipping/resources/docs → billing/resources/onboardCourierRateSheets}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{shipping/resources/docs → billing/resources/onboardCourierRateSheets}/index.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/docs/client/requests/GenerateShippingDocReq.js → listing/resources/listings/client/requests/ListingClientUpdate1.js} +0 -0
- /package/dist/cjs/api/resources/{shipping/resources/orderDrafts/resources/taskGroup/client/requests/SetServiceTypeReq.js → listing/resources/listings/client/requests/ListingRemoveDriverParticipantsReq.js} +0 -0
- /package/dist/cjs/api/resources/{shipping/resources/orderDrafts/resources/taskGroup/client/requests/UpdateCourierOrgDraftReq.js → listing/resources/listings/client/requests/ListingRemoveProviderParticipantsReq.js} +0 -0
- /package/dist/cjs/api/resources/{shipping/resources/orders/resources/expanded/client/requests/ExpandedListForForwarderOperatorsV1Request.js → listing/resources/listings/client/requests/ListingsListByOrgV1Request.js} +0 -0
- /package/dist/cjs/api/resources/{shipping/resources/taskGroups/client/requests/UpdateCourierOrgReq.js → listing/resources/listings/client/requests/ListingsListForDriverBidderV1Request.js} +0 -0
- /package/dist/cjs/api/resources/{shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForCourierDriverV1Request.js → listing/resources/listings/client/requests/ListingsListForProviderBidderV1Request.js} +0 -0
- /package/dist/cjs/api/resources/{shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForCourierOperatorsV1Request.js → listing/resources/orgBiddingGroups/client/requests/OrgBiddingGroupClientCreate1.js} +0 -0
- /package/dist/cjs/api/{types/CourierConnectionListRes.js → resources/listing/resources/orgBiddingGroups/client/requests/OrgBiddingGroupsListByOrgV1Request.js} +0 -0
- /package/dist/cjs/api/{types/CourierConnectionRes.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/CourierOrgInfoForConnections1.js → resources/operations/resources/cases/client/requests/CaseAddMessageReq.js} +0 -0
- /package/dist/cjs/api/{types/CourierOrgProfile1.js → resources/operations/resources/cases/client/requests/CaseAssignReq.js} +0 -0
- /package/dist/cjs/api/{types/ForwarderConnectionListRes.js → resources/operations/resources/cases/client/requests/CaseClientUpdate1.js} +0 -0
- /package/dist/cjs/api/{types/ForwarderConnectionRes.js → resources/operations/resources/cases/client/requests/CaseUnassignReq.js} +0 -0
- /package/dist/cjs/api/{types/ForwarderCourierConnection1.js → resources/operations/resources/cases/client/requests/CasesListV1Request.js} +0 -0
- /package/dist/cjs/api/{types/ForwarderOrgInfoForConnections1.js → resources/operations/resources/departments/client/requests/DepartmentClientCreate1.js} +0 -0
- /package/dist/cjs/api/{types/ForwarderOrgProfile1.js → resources/operations/resources/departments/client/requests/DepartmentClientUpdate1.js} +0 -0
- /package/dist/cjs/api/{types/OrgProfileRes1.js → resources/operations/resources/departments/client/requests/DepartmentsListV1Request.js} +0 -0
- /package/dist/cjs/api/{types/Quote.js → resources/orgs/resources/connections/client/requests/ConnectionsListProvidersV1Request.js} +0 -0
- /package/dist/cjs/api/{types/RateSheet1.js → resources/orgs/resources/connections/client/requests/ProviderProviderUpdateAutoAssignReq.js} +0 -0
- /package/dist/cjs/api/{types/RateSheetListResponse.js → resources/orgs/resources/connections/client/requests/SetDepartmentReq.js} +0 -0
- /package/dist/cjs/api/{types/ShipperCourierConnection1.js → resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientCreate1.js} +0 -0
- /package/dist/cjs/api/{types/ShipperForwarderConnection1.js → resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientUpdate1.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/{shipping/resources/docs → billing/resources/cargoOnFlightRateSheets}/client/requests/index.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/{shipping/resources/docs → billing/resources/onboardCourierRateSheets}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{shipping/resources/docs → billing/resources/onboardCourierRateSheets}/client/index.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/{shipping/resources/docs → billing/resources/onboardCourierRateSheets}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{shipping/resources/docs → billing/resources/onboardCourierRateSheets}/index.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/docs/client/requests/GenerateShippingDocReq.mjs → listing/resources/listings/client/requests/ListingClientUpdate1.mjs} +0 -0
- /package/dist/esm/api/resources/{shipping/resources/orderDrafts/resources/taskGroup/client/requests/SetServiceTypeReq.mjs → listing/resources/listings/client/requests/ListingRemoveDriverParticipantsReq.mjs} +0 -0
- /package/dist/esm/api/resources/{shipping/resources/orderDrafts/resources/taskGroup/client/requests/UpdateCourierOrgDraftReq.mjs → listing/resources/listings/client/requests/ListingRemoveProviderParticipantsReq.mjs} +0 -0
- /package/dist/esm/api/resources/{shipping/resources/orders/resources/expanded/client/requests/ExpandedListForForwarderOperatorsV1Request.mjs → listing/resources/listings/client/requests/ListingsListByOrgV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/{shipping/resources/taskGroups/client/requests/UpdateCourierOrgReq.mjs → listing/resources/listings/client/requests/ListingsListForDriverBidderV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/{shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForCourierDriverV1Request.mjs → listing/resources/listings/client/requests/ListingsListForProviderBidderV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/{shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForCourierOperatorsV1Request.mjs → listing/resources/orgBiddingGroups/client/requests/OrgBiddingGroupClientCreate1.mjs} +0 -0
- /package/dist/esm/api/{types/CourierConnectionListRes.mjs → resources/listing/resources/orgBiddingGroups/client/requests/OrgBiddingGroupsListByOrgV1Request.mjs} +0 -0
- /package/dist/esm/api/{types/CourierConnectionRes.mjs → resources/listing/resources/orgBiddingGroups/client/requests/OrgBiddingGroupsUpdateNameV1Request.mjs} +0 -0
- /package/dist/esm/api/{types/CourierOrgInfoForConnections1.mjs → resources/operations/resources/cases/client/requests/CaseAddMessageReq.mjs} +0 -0
- /package/dist/esm/api/{types/CourierOrgProfile1.mjs → resources/operations/resources/cases/client/requests/CaseAssignReq.mjs} +0 -0
- /package/dist/esm/api/{types/ForwarderConnectionListRes.mjs → resources/operations/resources/cases/client/requests/CaseClientUpdate1.mjs} +0 -0
- /package/dist/esm/api/{types/ForwarderConnectionRes.mjs → resources/operations/resources/cases/client/requests/CaseUnassignReq.mjs} +0 -0
- /package/dist/esm/api/{types/ForwarderCourierConnection1.mjs → resources/operations/resources/cases/client/requests/CasesListV1Request.mjs} +0 -0
- /package/dist/esm/api/{types/ForwarderOrgInfoForConnections1.mjs → resources/operations/resources/departments/client/requests/DepartmentClientCreate1.mjs} +0 -0
- /package/dist/esm/api/{types/ForwarderOrgProfile1.mjs → resources/operations/resources/departments/client/requests/DepartmentClientUpdate1.mjs} +0 -0
- /package/dist/esm/api/{types/OrgProfileRes1.mjs → resources/operations/resources/departments/client/requests/DepartmentsListV1Request.mjs} +0 -0
- /package/dist/esm/api/{types/Quote.mjs → resources/orgs/resources/connections/client/requests/ConnectionsListProvidersV1Request.mjs} +0 -0
- /package/dist/esm/api/{types/RateSheet1.mjs → resources/orgs/resources/connections/client/requests/ProviderProviderUpdateAutoAssignReq.mjs} +0 -0
- /package/dist/esm/api/{types/RateSheetListResponse.mjs → resources/orgs/resources/connections/client/requests/SetDepartmentReq.mjs} +0 -0
- /package/dist/esm/api/{types/ShipperCourierConnection1.mjs → resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientCreate1.mjs} +0 -0
- /package/dist/esm/api/{types/ShipperForwarderConnection1.mjs → resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientUpdate1.mjs} +0 -0
|
@@ -15,17 +15,12 @@ import * as core from "../../../../../../core/index.mjs";
|
|
|
15
15
|
import * as Chrt from "../../../../../index.mjs";
|
|
16
16
|
import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../../../core/headers.mjs";
|
|
17
17
|
import * as errors from "../../../../../../errors/index.mjs";
|
|
18
|
-
import { AdHoc } from "../resources/adHoc/client/Client.mjs";
|
|
19
18
|
import { Messages } from "../resources/messages/client/Client.mjs";
|
|
20
19
|
import { S3Objects } from "../resources/s3Objects/client/Client.mjs";
|
|
21
20
|
export class LineItemGroups {
|
|
22
21
|
constructor(_options = {}) {
|
|
23
22
|
this._options = _options;
|
|
24
23
|
}
|
|
25
|
-
get adHoc() {
|
|
26
|
-
var _a;
|
|
27
|
-
return ((_a = this._adHoc) !== null && _a !== void 0 ? _a : (this._adHoc = new AdHoc(this._options)));
|
|
28
|
-
}
|
|
29
24
|
get messages() {
|
|
30
25
|
var _a;
|
|
31
26
|
return ((_a = this._messages) !== null && _a !== void 0 ? _a : (this._messages = new Messages(this._options)));
|
|
@@ -35,25 +30,25 @@ export class LineItemGroups {
|
|
|
35
30
|
return ((_a = this._s3Objects) !== null && _a !== void 0 ? _a : (this._s3Objects = new S3Objects(this._options)));
|
|
36
31
|
}
|
|
37
32
|
/**
|
|
38
|
-
*
|
|
33
|
+
* Retrieves a LineItemGroup the caller owns, is a payment counterparty on, or is the destination driver for. | authz_personas=[lig_org_operators, lig_driver] | () -> (LineItemGroup1)
|
|
39
34
|
*
|
|
40
|
-
* @param {string}
|
|
35
|
+
* @param {string} id
|
|
41
36
|
* @param {LineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
42
37
|
*
|
|
43
38
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
44
39
|
*
|
|
45
40
|
* @example
|
|
46
|
-
* await client.billing.lineItemGroups.
|
|
41
|
+
* await client.billing.lineItemGroups.getByIdV1("id")
|
|
47
42
|
*/
|
|
48
|
-
|
|
49
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
43
|
+
getByIdV1(id, requestOptions) {
|
|
44
|
+
return core.HttpResponsePromise.fromPromise(this.__getByIdV1(id, requestOptions));
|
|
50
45
|
}
|
|
51
|
-
|
|
46
|
+
__getByIdV1(id, requestOptions) {
|
|
52
47
|
return __awaiter(this, void 0, void 0, function* () {
|
|
53
48
|
var _a, _b, _c, _d;
|
|
54
49
|
let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
55
50
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
56
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `billing/line_item_groups/v1/${encodeURIComponent(
|
|
51
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `billing/line_item_groups/by_id/v1/${encodeURIComponent(id)}`),
|
|
57
52
|
method: "GET",
|
|
58
53
|
headers: _headers,
|
|
59
54
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
@@ -84,7 +79,7 @@ export class LineItemGroups {
|
|
|
84
79
|
rawResponse: _response.rawResponse,
|
|
85
80
|
});
|
|
86
81
|
case "timeout":
|
|
87
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /billing/line_item_groups/v1/{
|
|
82
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /billing/line_item_groups/by_id/v1/{id}.");
|
|
88
83
|
case "unknown":
|
|
89
84
|
throw new errors.ChrtError({
|
|
90
85
|
message: _response.error.errorMessage,
|
|
@@ -94,35 +89,48 @@ export class LineItemGroups {
|
|
|
94
89
|
});
|
|
95
90
|
}
|
|
96
91
|
/**
|
|
97
|
-
* Lists
|
|
92
|
+
* Lists LineItemGroups the caller owns, is a payment counterparty on, or is the destination driver for. | authz_personas=[lig_org_operators, lig_driver] | () -> (LineItemGroupListRes)
|
|
98
93
|
*
|
|
99
|
-
* @param {Chrt.billing.
|
|
94
|
+
* @param {Chrt.billing.LineItemGroupsListV1Request} request
|
|
100
95
|
* @param {LineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
101
96
|
*
|
|
102
97
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
103
98
|
*
|
|
104
99
|
* @example
|
|
105
|
-
* await client.billing.lineItemGroups.
|
|
106
|
-
* filter_driver_id: "filter_driver_id",
|
|
107
|
-
* filter_status: ["staged"],
|
|
108
|
-
* filter_attached_to_statement: true,
|
|
109
|
-
* filter_order_id: "filter_order_id",
|
|
110
|
-
* filter_payment_role: "origin",
|
|
100
|
+
* await client.billing.lineItemGroups.listV1({
|
|
111
101
|
* sort_order: "asc",
|
|
112
102
|
* page: 1,
|
|
113
|
-
* page_size: 1
|
|
103
|
+
* page_size: 1,
|
|
104
|
+
* filter_status: ["staged"],
|
|
105
|
+
* filter_task_group_id: "filter_task_group_id",
|
|
106
|
+
* filter_order_id: "filter_order_id",
|
|
107
|
+
* filter_order_short_id: "filter_order_short_id",
|
|
108
|
+
* filter_order_off_chrt_reference_id: "filter_order_off_chrt_reference_id",
|
|
109
|
+
* filter_owned_by_org_id: "filter_owned_by_org_id",
|
|
110
|
+
* filter_payment_origin_org_id: "filter_payment_origin_org_id",
|
|
111
|
+
* filter_payment_destination_org_id: "filter_payment_destination_org_id",
|
|
112
|
+
* filter_payment_destination_driver_id: "filter_payment_destination_driver_id",
|
|
113
|
+
* filter_rate_sheet_id: "filter_rate_sheet_id",
|
|
114
|
+
* filter_statement_id: "filter_statement_id",
|
|
115
|
+
* filter_attached_to_statement: true
|
|
114
116
|
* })
|
|
115
117
|
*/
|
|
116
|
-
|
|
117
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
118
|
+
listV1(request = {}, requestOptions) {
|
|
119
|
+
return core.HttpResponsePromise.fromPromise(this.__listV1(request, requestOptions));
|
|
118
120
|
}
|
|
119
|
-
|
|
121
|
+
__listV1() {
|
|
120
122
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
121
123
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
122
|
-
const {
|
|
124
|
+
const { sort_order: sortOrder, page, page_size: pageSize, filter_status: filterStatus, filter_task_group_id: filterTaskGroupId, filter_order_id: filterOrderId, filter_order_short_id: filterOrderShortId, filter_order_off_chrt_reference_id: filterOrderOffChrtReferenceId, filter_owned_by_org_id: filterOwnedByOrgId, filter_payment_origin_org_id: filterPaymentOriginOrgId, filter_payment_destination_org_id: filterPaymentDestinationOrgId, filter_payment_destination_driver_id: filterPaymentDestinationDriverId, filter_rate_sheet_id: filterRateSheetId, filter_statement_id: filterStatementId, filter_attached_to_statement: filterAttachedToStatement, } = request;
|
|
123
125
|
const _queryParams = {};
|
|
124
|
-
if (
|
|
125
|
-
_queryParams["
|
|
126
|
+
if (sortOrder !== undefined) {
|
|
127
|
+
_queryParams["sort_order"] = sortOrder;
|
|
128
|
+
}
|
|
129
|
+
if (page !== undefined) {
|
|
130
|
+
_queryParams["page"] = (_a = page === null || page === void 0 ? void 0 : page.toString()) !== null && _a !== void 0 ? _a : null;
|
|
131
|
+
}
|
|
132
|
+
if (pageSize !== undefined) {
|
|
133
|
+
_queryParams["page_size"] = (_b = pageSize === null || pageSize === void 0 ? void 0 : pageSize.toString()) !== null && _b !== void 0 ? _b : null;
|
|
126
134
|
}
|
|
127
135
|
if (filterStatus !== undefined) {
|
|
128
136
|
if (Array.isArray(filterStatus)) {
|
|
@@ -132,27 +140,42 @@ export class LineItemGroups {
|
|
|
132
140
|
_queryParams["filter_status"] = filterStatus;
|
|
133
141
|
}
|
|
134
142
|
}
|
|
135
|
-
if (
|
|
136
|
-
_queryParams["
|
|
143
|
+
if (filterTaskGroupId !== undefined) {
|
|
144
|
+
_queryParams["filter_task_group_id"] = filterTaskGroupId;
|
|
137
145
|
}
|
|
138
146
|
if (filterOrderId !== undefined) {
|
|
139
147
|
_queryParams["filter_order_id"] = filterOrderId;
|
|
140
148
|
}
|
|
141
|
-
if (
|
|
142
|
-
_queryParams["
|
|
149
|
+
if (filterOrderShortId !== undefined) {
|
|
150
|
+
_queryParams["filter_order_short_id"] = filterOrderShortId;
|
|
143
151
|
}
|
|
144
|
-
if (
|
|
145
|
-
_queryParams["
|
|
152
|
+
if (filterOrderOffChrtReferenceId !== undefined) {
|
|
153
|
+
_queryParams["filter_order_off_chrt_reference_id"] = filterOrderOffChrtReferenceId;
|
|
146
154
|
}
|
|
147
|
-
if (
|
|
148
|
-
_queryParams["
|
|
155
|
+
if (filterOwnedByOrgId !== undefined) {
|
|
156
|
+
_queryParams["filter_owned_by_org_id"] = filterOwnedByOrgId;
|
|
149
157
|
}
|
|
150
|
-
if (
|
|
151
|
-
_queryParams["
|
|
158
|
+
if (filterPaymentOriginOrgId !== undefined) {
|
|
159
|
+
_queryParams["filter_payment_origin_org_id"] = filterPaymentOriginOrgId;
|
|
160
|
+
}
|
|
161
|
+
if (filterPaymentDestinationOrgId !== undefined) {
|
|
162
|
+
_queryParams["filter_payment_destination_org_id"] = filterPaymentDestinationOrgId;
|
|
163
|
+
}
|
|
164
|
+
if (filterPaymentDestinationDriverId !== undefined) {
|
|
165
|
+
_queryParams["filter_payment_destination_driver_id"] = filterPaymentDestinationDriverId;
|
|
166
|
+
}
|
|
167
|
+
if (filterRateSheetId !== undefined) {
|
|
168
|
+
_queryParams["filter_rate_sheet_id"] = filterRateSheetId;
|
|
169
|
+
}
|
|
170
|
+
if (filterStatementId !== undefined) {
|
|
171
|
+
_queryParams["filter_statement_id"] = filterStatementId;
|
|
172
|
+
}
|
|
173
|
+
if (filterAttachedToStatement !== undefined) {
|
|
174
|
+
_queryParams["filter_attached_to_statement"] = (_c = filterAttachedToStatement === null || filterAttachedToStatement === void 0 ? void 0 : filterAttachedToStatement.toString()) !== null && _c !== void 0 ? _c : null;
|
|
152
175
|
}
|
|
153
176
|
let _headers = mergeHeaders((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
154
177
|
const _response = yield ((_e = this._options.fetcher) !== null && _e !== void 0 ? _e : core.fetcher)({
|
|
155
|
-
url: core.url.join((_g = (_f = (yield core.Supplier.get(this._options.baseUrl))) !== null && _f !== void 0 ? _f : (yield core.Supplier.get(this._options.environment))) !== null && _g !== void 0 ? _g : environments.ChrtEnvironment.Local, "billing/line_item_groups/list/
|
|
178
|
+
url: core.url.join((_g = (_f = (yield core.Supplier.get(this._options.baseUrl))) !== null && _f !== void 0 ? _f : (yield core.Supplier.get(this._options.environment))) !== null && _g !== void 0 ? _g : environments.ChrtEnvironment.Local, "billing/line_item_groups/list/v1"),
|
|
156
179
|
method: "GET",
|
|
157
180
|
headers: _headers,
|
|
158
181
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
@@ -183,7 +206,7 @@ export class LineItemGroups {
|
|
|
183
206
|
rawResponse: _response.rawResponse,
|
|
184
207
|
});
|
|
185
208
|
case "timeout":
|
|
186
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /billing/line_item_groups/list/
|
|
209
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /billing/line_item_groups/list/v1.");
|
|
187
210
|
case "unknown":
|
|
188
211
|
throw new errors.ChrtError({
|
|
189
212
|
message: _response.error.errorMessage,
|
|
@@ -193,38 +216,100 @@ export class LineItemGroups {
|
|
|
193
216
|
});
|
|
194
217
|
}
|
|
195
218
|
/**
|
|
196
|
-
*
|
|
219
|
+
* Creates a detached ad-hoc LineItemGroup. The LIG is not linked to any TaskGroup at create time — operator follows up with `/shipping/task_groups/attach_lig_to_<vector>/v1` to populate the TG vector link field and the `task_group_id` back-ref together (one txn). | authz: allowed_org_types=[provider, shipper], min_org_role=operator | (LineItemGroupAdHocCreateClientReq) -> (LineItemGroup1)
|
|
197
220
|
*
|
|
198
|
-
* @param {
|
|
199
|
-
* @param {Chrt.billing.LineItemGroupsQuoteV1Request} request
|
|
221
|
+
* @param {Chrt.billing.LineItemGroupAdHocCreateClientReq} request
|
|
200
222
|
* @param {LineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
201
223
|
*
|
|
202
224
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
203
225
|
*
|
|
204
226
|
* @example
|
|
205
|
-
* await client.billing.lineItemGroups.
|
|
206
|
-
*
|
|
207
|
-
* rate_sheet_id: "rate_sheet_id"
|
|
227
|
+
* await client.billing.lineItemGroups.adHocCreateV1({
|
|
228
|
+
* owned_by_org_id: "owned_by_org_id"
|
|
208
229
|
* })
|
|
209
230
|
*/
|
|
210
|
-
|
|
211
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
231
|
+
adHocCreateV1(request, requestOptions) {
|
|
232
|
+
return core.HttpResponsePromise.fromPromise(this.__adHocCreateV1(request, requestOptions));
|
|
212
233
|
}
|
|
213
|
-
|
|
234
|
+
__adHocCreateV1(request, requestOptions) {
|
|
214
235
|
return __awaiter(this, void 0, void 0, function* () {
|
|
215
236
|
var _a, _b, _c, _d;
|
|
216
|
-
|
|
217
|
-
const
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
237
|
+
let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
238
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
239
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "billing/line_item_groups/ad_hoc/create/v1"),
|
|
240
|
+
method: "POST",
|
|
241
|
+
headers: _headers,
|
|
242
|
+
contentType: "application/json",
|
|
243
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
244
|
+
requestType: "json",
|
|
245
|
+
body: request,
|
|
246
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
247
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
248
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
249
|
+
});
|
|
250
|
+
if (_response.ok) {
|
|
251
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
221
252
|
}
|
|
253
|
+
if (_response.error.reason === "status-code") {
|
|
254
|
+
switch (_response.error.statusCode) {
|
|
255
|
+
case 422:
|
|
256
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
257
|
+
default:
|
|
258
|
+
throw new errors.ChrtError({
|
|
259
|
+
statusCode: _response.error.statusCode,
|
|
260
|
+
body: _response.error.body,
|
|
261
|
+
rawResponse: _response.rawResponse,
|
|
262
|
+
});
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
switch (_response.error.reason) {
|
|
266
|
+
case "non-json":
|
|
267
|
+
throw new errors.ChrtError({
|
|
268
|
+
statusCode: _response.error.statusCode,
|
|
269
|
+
body: _response.error.rawBody,
|
|
270
|
+
rawResponse: _response.rawResponse,
|
|
271
|
+
});
|
|
272
|
+
case "timeout":
|
|
273
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /billing/line_item_groups/ad_hoc/create/v1.");
|
|
274
|
+
case "unknown":
|
|
275
|
+
throw new errors.ChrtError({
|
|
276
|
+
message: _response.error.errorMessage,
|
|
277
|
+
rawResponse: _response.rawResponse,
|
|
278
|
+
});
|
|
279
|
+
}
|
|
280
|
+
});
|
|
281
|
+
}
|
|
282
|
+
/**
|
|
283
|
+
* Appends an owner-direct AD_HOC LineItem to the amendment bucket of a LineItemGroup that has not yet been finalized. The agreement bucket is reserved for the original deal at creation; everything added after lands in amendment. | authz_personas=[lig_org_operators] | (LineItemClientCreate1) -> (LineItemGroup1)
|
|
284
|
+
*
|
|
285
|
+
* @param {string} lineItemGroupId
|
|
286
|
+
* @param {Chrt.LineItemClientCreate1} request
|
|
287
|
+
* @param {LineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
288
|
+
*
|
|
289
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
290
|
+
*
|
|
291
|
+
* @example
|
|
292
|
+
* await client.billing.lineItemGroups.adHocAddLineItemV1("line_item_group_id", {
|
|
293
|
+
* item: "base_rate",
|
|
294
|
+
* rate: 1.1,
|
|
295
|
+
* quantity: 1.1
|
|
296
|
+
* })
|
|
297
|
+
*/
|
|
298
|
+
adHocAddLineItemV1(lineItemGroupId, request, requestOptions) {
|
|
299
|
+
return core.HttpResponsePromise.fromPromise(this.__adHocAddLineItemV1(lineItemGroupId, request, requestOptions));
|
|
300
|
+
}
|
|
301
|
+
__adHocAddLineItemV1(lineItemGroupId, request, requestOptions) {
|
|
302
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
303
|
+
var _a, _b, _c, _d;
|
|
222
304
|
let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
223
305
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
224
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `billing/line_item_groups/
|
|
225
|
-
method: "
|
|
306
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `billing/line_item_groups/ad_hoc/add_line_item/v1/${encodeURIComponent(lineItemGroupId)}`),
|
|
307
|
+
method: "POST",
|
|
226
308
|
headers: _headers,
|
|
227
|
-
|
|
309
|
+
contentType: "application/json",
|
|
310
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
311
|
+
requestType: "json",
|
|
312
|
+
body: request,
|
|
228
313
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
229
314
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
230
315
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -252,7 +337,7 @@ export class LineItemGroups {
|
|
|
252
337
|
rawResponse: _response.rawResponse,
|
|
253
338
|
});
|
|
254
339
|
case "timeout":
|
|
255
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling
|
|
340
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /billing/line_item_groups/ad_hoc/add_line_item/v1/{line_item_group_id}.");
|
|
256
341
|
case "unknown":
|
|
257
342
|
throw new errors.ChrtError({
|
|
258
343
|
message: _response.error.errorMessage,
|
|
@@ -262,7 +347,67 @@ export class LineItemGroups {
|
|
|
262
347
|
});
|
|
263
348
|
}
|
|
264
349
|
/**
|
|
265
|
-
*
|
|
350
|
+
* Removes an AD_HOC LineItem from a LineItemGroup that has not yet been finalized. | authz_personas=[lig_org_operators] | () -> (LineItemGroup1)
|
|
351
|
+
*
|
|
352
|
+
* @param {string} lineItemGroupId
|
|
353
|
+
* @param {string} lineItemId
|
|
354
|
+
* @param {LineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
355
|
+
*
|
|
356
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
357
|
+
*
|
|
358
|
+
* @example
|
|
359
|
+
* await client.billing.lineItemGroups.adHocRemoveLineItemV1("line_item_group_id", "line_item_id")
|
|
360
|
+
*/
|
|
361
|
+
adHocRemoveLineItemV1(lineItemGroupId, lineItemId, requestOptions) {
|
|
362
|
+
return core.HttpResponsePromise.fromPromise(this.__adHocRemoveLineItemV1(lineItemGroupId, lineItemId, requestOptions));
|
|
363
|
+
}
|
|
364
|
+
__adHocRemoveLineItemV1(lineItemGroupId, lineItemId, requestOptions) {
|
|
365
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
366
|
+
var _a, _b, _c, _d;
|
|
367
|
+
let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
368
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
369
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `billing/line_item_groups/ad_hoc/remove_line_item/v1/${encodeURIComponent(lineItemGroupId)}/${encodeURIComponent(lineItemId)}`),
|
|
370
|
+
method: "DELETE",
|
|
371
|
+
headers: _headers,
|
|
372
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
373
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
374
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
375
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
376
|
+
});
|
|
377
|
+
if (_response.ok) {
|
|
378
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
379
|
+
}
|
|
380
|
+
if (_response.error.reason === "status-code") {
|
|
381
|
+
switch (_response.error.statusCode) {
|
|
382
|
+
case 422:
|
|
383
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
384
|
+
default:
|
|
385
|
+
throw new errors.ChrtError({
|
|
386
|
+
statusCode: _response.error.statusCode,
|
|
387
|
+
body: _response.error.body,
|
|
388
|
+
rawResponse: _response.rawResponse,
|
|
389
|
+
});
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
switch (_response.error.reason) {
|
|
393
|
+
case "non-json":
|
|
394
|
+
throw new errors.ChrtError({
|
|
395
|
+
statusCode: _response.error.statusCode,
|
|
396
|
+
body: _response.error.rawBody,
|
|
397
|
+
rawResponse: _response.rawResponse,
|
|
398
|
+
});
|
|
399
|
+
case "timeout":
|
|
400
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling DELETE /billing/line_item_groups/ad_hoc/remove_line_item/v1/{line_item_group_id}/{line_item_id}.");
|
|
401
|
+
case "unknown":
|
|
402
|
+
throw new errors.ChrtError({
|
|
403
|
+
message: _response.error.errorMessage,
|
|
404
|
+
rawResponse: _response.rawResponse,
|
|
405
|
+
});
|
|
406
|
+
}
|
|
407
|
+
});
|
|
408
|
+
}
|
|
409
|
+
/**
|
|
410
|
+
* Locks a LineItemGroup, transitioning STAGED → FINALIZED. Required precondition for attaching to a Statement. Owner-only. Rejects if the LIG has no items in agreement_line_item_ids ∪ amendment_line_item_ids, or if pending_line_item_ids is non-empty (counterparty proposals must be resolved first). | authz: allowed_org_types=[provider, shipper], min_org_role=operator, authz_personas=[lig_owner_operators] | () -> (LineItemGroup1)
|
|
266
411
|
*
|
|
267
412
|
* @param {string} lineItemGroupId
|
|
268
413
|
* @param {LineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -321,28 +466,36 @@ export class LineItemGroups {
|
|
|
321
466
|
});
|
|
322
467
|
}
|
|
323
468
|
/**
|
|
324
|
-
*
|
|
469
|
+
* Counterparty proposes a draft AD_HOC LineItem on a non-FINALIZED LineItemGroup. The item lands in pending_line_item_ids with ad_hoc__status=PENDING; the owner resolves it via approve/deny. Caller must be on the LIG (origin or destination) but not the owner. | authz_personas=[lig_org_operators] | (LineItemClientCreate1) -> (LineItemGroup1)
|
|
325
470
|
*
|
|
326
471
|
* @param {string} lineItemGroupId
|
|
472
|
+
* @param {Chrt.LineItemClientCreate1} request
|
|
327
473
|
* @param {LineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
328
474
|
*
|
|
329
475
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
330
476
|
*
|
|
331
477
|
* @example
|
|
332
|
-
* await client.billing.lineItemGroups.
|
|
478
|
+
* await client.billing.lineItemGroups.proposeLineItemV1("line_item_group_id", {
|
|
479
|
+
* item: "base_rate",
|
|
480
|
+
* rate: 1.1,
|
|
481
|
+
* quantity: 1.1
|
|
482
|
+
* })
|
|
333
483
|
*/
|
|
334
|
-
|
|
335
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
484
|
+
proposeLineItemV1(lineItemGroupId, request, requestOptions) {
|
|
485
|
+
return core.HttpResponsePromise.fromPromise(this.__proposeLineItemV1(lineItemGroupId, request, requestOptions));
|
|
336
486
|
}
|
|
337
|
-
|
|
487
|
+
__proposeLineItemV1(lineItemGroupId, request, requestOptions) {
|
|
338
488
|
return __awaiter(this, void 0, void 0, function* () {
|
|
339
489
|
var _a, _b, _c, _d;
|
|
340
490
|
let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
341
491
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
342
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `billing/line_item_groups/
|
|
492
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `billing/line_item_groups/propose_line_item/v1/${encodeURIComponent(lineItemGroupId)}`),
|
|
343
493
|
method: "POST",
|
|
344
494
|
headers: _headers,
|
|
495
|
+
contentType: "application/json",
|
|
345
496
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
497
|
+
requestType: "json",
|
|
498
|
+
body: request,
|
|
346
499
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
347
500
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
348
501
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -370,7 +523,7 @@ export class LineItemGroups {
|
|
|
370
523
|
rawResponse: _response.rawResponse,
|
|
371
524
|
});
|
|
372
525
|
case "timeout":
|
|
373
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /billing/line_item_groups/
|
|
526
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /billing/line_item_groups/propose_line_item/v1/{line_item_group_id}.");
|
|
374
527
|
case "unknown":
|
|
375
528
|
throw new errors.ChrtError({
|
|
376
529
|
message: _response.error.errorMessage,
|
|
@@ -380,34 +533,149 @@ export class LineItemGroups {
|
|
|
380
533
|
});
|
|
381
534
|
}
|
|
382
535
|
/**
|
|
383
|
-
*
|
|
536
|
+
* Counterparty pulls back their own pending LineItem on a non-FINALIZED LineItemGroup. Only the proposing org can withdraw; the LineItem doc is deleted (no breadcrumb). | authz_personas=[lig_org_operators] | () -> (LineItemGroup1)
|
|
384
537
|
*
|
|
385
538
|
* @param {string} lineItemGroupId
|
|
386
|
-
* @param {
|
|
539
|
+
* @param {string} lineItemId
|
|
387
540
|
* @param {LineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
388
541
|
*
|
|
389
542
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
390
543
|
*
|
|
391
544
|
* @example
|
|
392
|
-
* await client.billing.lineItemGroups.
|
|
393
|
-
* statement_id: "statement_id"
|
|
394
|
-
* })
|
|
545
|
+
* await client.billing.lineItemGroups.withdrawLineItemV1("line_item_group_id", "line_item_id")
|
|
395
546
|
*/
|
|
396
|
-
|
|
397
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
547
|
+
withdrawLineItemV1(lineItemGroupId, lineItemId, requestOptions) {
|
|
548
|
+
return core.HttpResponsePromise.fromPromise(this.__withdrawLineItemV1(lineItemGroupId, lineItemId, requestOptions));
|
|
398
549
|
}
|
|
399
|
-
|
|
550
|
+
__withdrawLineItemV1(lineItemGroupId, lineItemId, requestOptions) {
|
|
551
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
552
|
+
var _a, _b, _c, _d;
|
|
553
|
+
let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
554
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
555
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `billing/line_item_groups/withdraw_line_item/v1/${encodeURIComponent(lineItemGroupId)}/${encodeURIComponent(lineItemId)}`),
|
|
556
|
+
method: "DELETE",
|
|
557
|
+
headers: _headers,
|
|
558
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
559
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
560
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
561
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
562
|
+
});
|
|
563
|
+
if (_response.ok) {
|
|
564
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
565
|
+
}
|
|
566
|
+
if (_response.error.reason === "status-code") {
|
|
567
|
+
switch (_response.error.statusCode) {
|
|
568
|
+
case 422:
|
|
569
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
570
|
+
default:
|
|
571
|
+
throw new errors.ChrtError({
|
|
572
|
+
statusCode: _response.error.statusCode,
|
|
573
|
+
body: _response.error.body,
|
|
574
|
+
rawResponse: _response.rawResponse,
|
|
575
|
+
});
|
|
576
|
+
}
|
|
577
|
+
}
|
|
578
|
+
switch (_response.error.reason) {
|
|
579
|
+
case "non-json":
|
|
580
|
+
throw new errors.ChrtError({
|
|
581
|
+
statusCode: _response.error.statusCode,
|
|
582
|
+
body: _response.error.rawBody,
|
|
583
|
+
rawResponse: _response.rawResponse,
|
|
584
|
+
});
|
|
585
|
+
case "timeout":
|
|
586
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling DELETE /billing/line_item_groups/withdraw_line_item/v1/{line_item_group_id}/{line_item_id}.");
|
|
587
|
+
case "unknown":
|
|
588
|
+
throw new errors.ChrtError({
|
|
589
|
+
message: _response.error.errorMessage,
|
|
590
|
+
rawResponse: _response.rawResponse,
|
|
591
|
+
});
|
|
592
|
+
}
|
|
593
|
+
});
|
|
594
|
+
}
|
|
595
|
+
/**
|
|
596
|
+
* Owner approves a counterparty-proposed LineItem on a non-FINALIZED LineItemGroup, moving it from pending_line_item_ids to amendment_line_item_ids and stamping ad_hoc__status=APPROVED. The agreement bucket is reserved for the original deal at creation; counterparty additions land in amendment by construction. | authz_personas=[lig_owner_operators] | () -> (LineItemGroup1)
|
|
597
|
+
*
|
|
598
|
+
* @param {string} lineItemGroupId
|
|
599
|
+
* @param {string} lineItemId
|
|
600
|
+
* @param {LineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
601
|
+
*
|
|
602
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
603
|
+
*
|
|
604
|
+
* @example
|
|
605
|
+
* await client.billing.lineItemGroups.approveLineItemV1("line_item_group_id", "line_item_id")
|
|
606
|
+
*/
|
|
607
|
+
approveLineItemV1(lineItemGroupId, lineItemId, requestOptions) {
|
|
608
|
+
return core.HttpResponsePromise.fromPromise(this.__approveLineItemV1(lineItemGroupId, lineItemId, requestOptions));
|
|
609
|
+
}
|
|
610
|
+
__approveLineItemV1(lineItemGroupId, lineItemId, requestOptions) {
|
|
400
611
|
return __awaiter(this, void 0, void 0, function* () {
|
|
401
612
|
var _a, _b, _c, _d;
|
|
402
|
-
const { statement_id: statementId } = request;
|
|
403
|
-
const _queryParams = {};
|
|
404
|
-
_queryParams["statement_id"] = statementId;
|
|
405
613
|
let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
406
614
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
407
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `billing/line_item_groups/
|
|
615
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `billing/line_item_groups/approve_line_item/v1/${encodeURIComponent(lineItemGroupId)}/${encodeURIComponent(lineItemId)}`),
|
|
408
616
|
method: "POST",
|
|
409
617
|
headers: _headers,
|
|
410
|
-
queryParameters:
|
|
618
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
619
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
620
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
621
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
622
|
+
});
|
|
623
|
+
if (_response.ok) {
|
|
624
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
625
|
+
}
|
|
626
|
+
if (_response.error.reason === "status-code") {
|
|
627
|
+
switch (_response.error.statusCode) {
|
|
628
|
+
case 422:
|
|
629
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
630
|
+
default:
|
|
631
|
+
throw new errors.ChrtError({
|
|
632
|
+
statusCode: _response.error.statusCode,
|
|
633
|
+
body: _response.error.body,
|
|
634
|
+
rawResponse: _response.rawResponse,
|
|
635
|
+
});
|
|
636
|
+
}
|
|
637
|
+
}
|
|
638
|
+
switch (_response.error.reason) {
|
|
639
|
+
case "non-json":
|
|
640
|
+
throw new errors.ChrtError({
|
|
641
|
+
statusCode: _response.error.statusCode,
|
|
642
|
+
body: _response.error.rawBody,
|
|
643
|
+
rawResponse: _response.rawResponse,
|
|
644
|
+
});
|
|
645
|
+
case "timeout":
|
|
646
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /billing/line_item_groups/approve_line_item/v1/{line_item_group_id}/{line_item_id}.");
|
|
647
|
+
case "unknown":
|
|
648
|
+
throw new errors.ChrtError({
|
|
649
|
+
message: _response.error.errorMessage,
|
|
650
|
+
rawResponse: _response.rawResponse,
|
|
651
|
+
});
|
|
652
|
+
}
|
|
653
|
+
});
|
|
654
|
+
}
|
|
655
|
+
/**
|
|
656
|
+
* Owner denies a counterparty-proposed LineItem on a non-FINALIZED LineItemGroup, moving it from pending_line_item_ids to denied_line_item_ids and stamping ad_hoc__status=DENIED. | authz_personas=[lig_owner_operators] | () -> (LineItemGroup1)
|
|
657
|
+
*
|
|
658
|
+
* @param {string} lineItemGroupId
|
|
659
|
+
* @param {string} lineItemId
|
|
660
|
+
* @param {LineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
661
|
+
*
|
|
662
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
663
|
+
*
|
|
664
|
+
* @example
|
|
665
|
+
* await client.billing.lineItemGroups.denyLineItemV1("line_item_group_id", "line_item_id")
|
|
666
|
+
*/
|
|
667
|
+
denyLineItemV1(lineItemGroupId, lineItemId, requestOptions) {
|
|
668
|
+
return core.HttpResponsePromise.fromPromise(this.__denyLineItemV1(lineItemGroupId, lineItemId, requestOptions));
|
|
669
|
+
}
|
|
670
|
+
__denyLineItemV1(lineItemGroupId, lineItemId, requestOptions) {
|
|
671
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
672
|
+
var _a, _b, _c, _d;
|
|
673
|
+
let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
674
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
675
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `billing/line_item_groups/deny_line_item/v1/${encodeURIComponent(lineItemGroupId)}/${encodeURIComponent(lineItemId)}`),
|
|
676
|
+
method: "POST",
|
|
677
|
+
headers: _headers,
|
|
678
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
411
679
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
412
680
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
413
681
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -435,7 +703,7 @@ export class LineItemGroups {
|
|
|
435
703
|
rawResponse: _response.rawResponse,
|
|
436
704
|
});
|
|
437
705
|
case "timeout":
|
|
438
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /billing/line_item_groups/
|
|
706
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /billing/line_item_groups/deny_line_item/v1/{line_item_group_id}/{line_item_id}.");
|
|
439
707
|
case "unknown":
|
|
440
708
|
throw new errors.ChrtError({
|
|
441
709
|
message: _response.error.errorMessage,
|
|
@@ -445,30 +713,215 @@ export class LineItemGroups {
|
|
|
445
713
|
});
|
|
446
714
|
}
|
|
447
715
|
/**
|
|
448
|
-
*
|
|
716
|
+
* Owner-only operator cleanup: deletes a STAGED LineItemGroup and cascades. Cascades: (1) deletes every LineItem referenced across the four buckets (agreement / amendment / pending / denied); (2) if the LIG is attached to a parent TaskGroup vector, clears that vector's `_line_item_group_id` and `_rate_sheet_id` (the LIG's `task_group_id` back-ref disappears with the LIG itself). Refuses if the LIG is already attached to a Statement (defense-in-depth — should be unreachable since attach requires FINALIZED). FINALIZED-or-beyond LIGs cannot be deleted (audit records). | authz_personas=[lig_owner_operators] | () -> (bool)
|
|
449
717
|
*
|
|
450
718
|
* @param {string} lineItemGroupId
|
|
451
|
-
* @param {Chrt.billing.AdjustLineItemReq} request
|
|
452
719
|
* @param {LineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
453
720
|
*
|
|
454
721
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
455
722
|
*
|
|
456
723
|
* @example
|
|
457
|
-
* await client.billing.lineItemGroups.
|
|
458
|
-
|
|
459
|
-
|
|
724
|
+
* await client.billing.lineItemGroups.deleteV1("line_item_group_id")
|
|
725
|
+
*/
|
|
726
|
+
deleteV1(lineItemGroupId, requestOptions) {
|
|
727
|
+
return core.HttpResponsePromise.fromPromise(this.__deleteV1(lineItemGroupId, requestOptions));
|
|
728
|
+
}
|
|
729
|
+
__deleteV1(lineItemGroupId, requestOptions) {
|
|
730
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
731
|
+
var _a, _b, _c, _d;
|
|
732
|
+
let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
733
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
734
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `billing/line_item_groups/delete/v1/${encodeURIComponent(lineItemGroupId)}`),
|
|
735
|
+
method: "DELETE",
|
|
736
|
+
headers: _headers,
|
|
737
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
738
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
739
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
740
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
741
|
+
});
|
|
742
|
+
if (_response.ok) {
|
|
743
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
744
|
+
}
|
|
745
|
+
if (_response.error.reason === "status-code") {
|
|
746
|
+
switch (_response.error.statusCode) {
|
|
747
|
+
case 422:
|
|
748
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
749
|
+
default:
|
|
750
|
+
throw new errors.ChrtError({
|
|
751
|
+
statusCode: _response.error.statusCode,
|
|
752
|
+
body: _response.error.body,
|
|
753
|
+
rawResponse: _response.rawResponse,
|
|
754
|
+
});
|
|
755
|
+
}
|
|
756
|
+
}
|
|
757
|
+
switch (_response.error.reason) {
|
|
758
|
+
case "non-json":
|
|
759
|
+
throw new errors.ChrtError({
|
|
760
|
+
statusCode: _response.error.statusCode,
|
|
761
|
+
body: _response.error.rawBody,
|
|
762
|
+
rawResponse: _response.rawResponse,
|
|
763
|
+
});
|
|
764
|
+
case "timeout":
|
|
765
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling DELETE /billing/line_item_groups/delete/v1/{line_item_group_id}.");
|
|
766
|
+
case "unknown":
|
|
767
|
+
throw new errors.ChrtError({
|
|
768
|
+
message: _response.error.errorMessage,
|
|
769
|
+
rawResponse: _response.rawResponse,
|
|
770
|
+
});
|
|
771
|
+
}
|
|
772
|
+
});
|
|
773
|
+
}
|
|
774
|
+
/**
|
|
775
|
+
* Atomically materialises a STAGED LineItemGroup from a rate sheet AND attaches it to the SPP vector of the named TaskGroup (one transaction; both sides of the LIG ↔ TG link populated together). Auto-resolves the rate sheet via RateSheetMapping1 unless body.rate_sheet_id is provided. Rejects if the SPP vector already has a LIG attached, or if a billing ledger period is attached (rate-sheet/ledger exclusivity). | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[task_group_coordinator_operators] | (CreateLigFromRateSheetForVectorClientReq) -> (LineItemGroup1)
|
|
776
|
+
*
|
|
777
|
+
* @param {Chrt.CreateLigFromRateSheetForVectorClientReq} request
|
|
778
|
+
* @param {LineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
779
|
+
*
|
|
780
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
781
|
+
*
|
|
782
|
+
* @example
|
|
783
|
+
* await client.billing.lineItemGroups.fromRateSheetCreateForShipperPayProviderV1({
|
|
784
|
+
* task_group_id: "task_group_id"
|
|
460
785
|
* })
|
|
461
786
|
*/
|
|
462
|
-
|
|
463
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
787
|
+
fromRateSheetCreateForShipperPayProviderV1(request, requestOptions) {
|
|
788
|
+
return core.HttpResponsePromise.fromPromise(this.__fromRateSheetCreateForShipperPayProviderV1(request, requestOptions));
|
|
464
789
|
}
|
|
465
|
-
|
|
790
|
+
__fromRateSheetCreateForShipperPayProviderV1(request, requestOptions) {
|
|
466
791
|
return __awaiter(this, void 0, void 0, function* () {
|
|
467
792
|
var _a, _b, _c, _d;
|
|
468
793
|
let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
469
794
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
470
|
-
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,
|
|
471
|
-
method: "
|
|
795
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "billing/line_item_groups/from_rate_sheet/create_for_shipper_pay_provider/v1"),
|
|
796
|
+
method: "POST",
|
|
797
|
+
headers: _headers,
|
|
798
|
+
contentType: "application/json",
|
|
799
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
800
|
+
requestType: "json",
|
|
801
|
+
body: request,
|
|
802
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
803
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
804
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
805
|
+
});
|
|
806
|
+
if (_response.ok) {
|
|
807
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
808
|
+
}
|
|
809
|
+
if (_response.error.reason === "status-code") {
|
|
810
|
+
switch (_response.error.statusCode) {
|
|
811
|
+
case 422:
|
|
812
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
813
|
+
default:
|
|
814
|
+
throw new errors.ChrtError({
|
|
815
|
+
statusCode: _response.error.statusCode,
|
|
816
|
+
body: _response.error.body,
|
|
817
|
+
rawResponse: _response.rawResponse,
|
|
818
|
+
});
|
|
819
|
+
}
|
|
820
|
+
}
|
|
821
|
+
switch (_response.error.reason) {
|
|
822
|
+
case "non-json":
|
|
823
|
+
throw new errors.ChrtError({
|
|
824
|
+
statusCode: _response.error.statusCode,
|
|
825
|
+
body: _response.error.rawBody,
|
|
826
|
+
rawResponse: _response.rawResponse,
|
|
827
|
+
});
|
|
828
|
+
case "timeout":
|
|
829
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /billing/line_item_groups/from_rate_sheet/create_for_shipper_pay_provider/v1.");
|
|
830
|
+
case "unknown":
|
|
831
|
+
throw new errors.ChrtError({
|
|
832
|
+
message: _response.error.errorMessage,
|
|
833
|
+
rawResponse: _response.rawResponse,
|
|
834
|
+
});
|
|
835
|
+
}
|
|
836
|
+
});
|
|
837
|
+
}
|
|
838
|
+
/**
|
|
839
|
+
* Atomically materialises a STAGED LineItemGroup from a rate sheet AND attaches it to the PPP vector of the named TaskGroup (one transaction; both sides of the LIG ↔ TG link populated together). Auto-resolves the rate sheet via RateSheetMapping1 unless body.rate_sheet_id is provided. Rejects if the PPP vector already has a LIG attached, or if a billing ledger period is attached (rate-sheet/ledger exclusivity). | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[task_group_coordinator_operators] | (CreateLigFromRateSheetForVectorClientReq) -> (LineItemGroup1)
|
|
840
|
+
*
|
|
841
|
+
* @param {Chrt.CreateLigFromRateSheetForVectorClientReq} request
|
|
842
|
+
* @param {LineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
843
|
+
*
|
|
844
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
845
|
+
*
|
|
846
|
+
* @example
|
|
847
|
+
* await client.billing.lineItemGroups.fromRateSheetCreateForProviderPayProviderV1({
|
|
848
|
+
* task_group_id: "task_group_id"
|
|
849
|
+
* })
|
|
850
|
+
*/
|
|
851
|
+
fromRateSheetCreateForProviderPayProviderV1(request, requestOptions) {
|
|
852
|
+
return core.HttpResponsePromise.fromPromise(this.__fromRateSheetCreateForProviderPayProviderV1(request, requestOptions));
|
|
853
|
+
}
|
|
854
|
+
__fromRateSheetCreateForProviderPayProviderV1(request, requestOptions) {
|
|
855
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
856
|
+
var _a, _b, _c, _d;
|
|
857
|
+
let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
858
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
859
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "billing/line_item_groups/from_rate_sheet/create_for_provider_pay_provider/v1"),
|
|
860
|
+
method: "POST",
|
|
861
|
+
headers: _headers,
|
|
862
|
+
contentType: "application/json",
|
|
863
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
864
|
+
requestType: "json",
|
|
865
|
+
body: request,
|
|
866
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
867
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
868
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
869
|
+
});
|
|
870
|
+
if (_response.ok) {
|
|
871
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
872
|
+
}
|
|
873
|
+
if (_response.error.reason === "status-code") {
|
|
874
|
+
switch (_response.error.statusCode) {
|
|
875
|
+
case 422:
|
|
876
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
877
|
+
default:
|
|
878
|
+
throw new errors.ChrtError({
|
|
879
|
+
statusCode: _response.error.statusCode,
|
|
880
|
+
body: _response.error.body,
|
|
881
|
+
rawResponse: _response.rawResponse,
|
|
882
|
+
});
|
|
883
|
+
}
|
|
884
|
+
}
|
|
885
|
+
switch (_response.error.reason) {
|
|
886
|
+
case "non-json":
|
|
887
|
+
throw new errors.ChrtError({
|
|
888
|
+
statusCode: _response.error.statusCode,
|
|
889
|
+
body: _response.error.rawBody,
|
|
890
|
+
rawResponse: _response.rawResponse,
|
|
891
|
+
});
|
|
892
|
+
case "timeout":
|
|
893
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /billing/line_item_groups/from_rate_sheet/create_for_provider_pay_provider/v1.");
|
|
894
|
+
case "unknown":
|
|
895
|
+
throw new errors.ChrtError({
|
|
896
|
+
message: _response.error.errorMessage,
|
|
897
|
+
rawResponse: _response.rawResponse,
|
|
898
|
+
});
|
|
899
|
+
}
|
|
900
|
+
});
|
|
901
|
+
}
|
|
902
|
+
/**
|
|
903
|
+
* Atomically materialises a STAGED LineItemGroup from a rate sheet AND attaches it to the PPD vector of the named TaskGroup (one transaction; both sides of the LIG ↔ TG link populated together). Auto-resolves the rate sheet via RateSheetMapping1 unless body.rate_sheet_id is provided. Rejects if the PPD vector already has a LIG attached, or if a billing ledger period is attached (rate-sheet/ledger exclusivity). | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[executor_org_operators] | (CreateLigFromRateSheetForVectorClientReq) -> (LineItemGroup1)
|
|
904
|
+
*
|
|
905
|
+
* @param {Chrt.CreateLigFromRateSheetForVectorClientReq} request
|
|
906
|
+
* @param {LineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
|
|
907
|
+
*
|
|
908
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
909
|
+
*
|
|
910
|
+
* @example
|
|
911
|
+
* await client.billing.lineItemGroups.fromRateSheetCreateForProviderPayDriverV1({
|
|
912
|
+
* task_group_id: "task_group_id"
|
|
913
|
+
* })
|
|
914
|
+
*/
|
|
915
|
+
fromRateSheetCreateForProviderPayDriverV1(request, requestOptions) {
|
|
916
|
+
return core.HttpResponsePromise.fromPromise(this.__fromRateSheetCreateForProviderPayDriverV1(request, requestOptions));
|
|
917
|
+
}
|
|
918
|
+
__fromRateSheetCreateForProviderPayDriverV1(request, requestOptions) {
|
|
919
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
920
|
+
var _a, _b, _c, _d;
|
|
921
|
+
let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
922
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
923
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "billing/line_item_groups/from_rate_sheet/create_for_provider_pay_driver/v1"),
|
|
924
|
+
method: "POST",
|
|
472
925
|
headers: _headers,
|
|
473
926
|
contentType: "application/json",
|
|
474
927
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
@@ -501,7 +954,7 @@ export class LineItemGroups {
|
|
|
501
954
|
rawResponse: _response.rawResponse,
|
|
502
955
|
});
|
|
503
956
|
case "timeout":
|
|
504
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling
|
|
957
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /billing/line_item_groups/from_rate_sheet/create_for_provider_pay_driver/v1.");
|
|
505
958
|
case "unknown":
|
|
506
959
|
throw new errors.ChrtError({
|
|
507
960
|
message: _response.error.errorMessage,
|