@chrt-inc/typescript-sdk 1.625.0 → 1.625.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1127) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/Client.d.ts +6 -0
  3. package/dist/cjs/Client.js +22 -12
  4. package/dist/cjs/api/resources/billing/client/Client.d.ts +18 -3
  5. package/dist/cjs/api/resources/billing/client/Client.js +36 -11
  6. package/dist/cjs/api/resources/billing/resources/billingLedgerPeriods/client/Client.d.ts +116 -0
  7. package/dist/cjs/api/resources/billing/resources/billingLedgerPeriods/client/Client.js +426 -0
  8. package/dist/cjs/api/resources/billing/resources/billingLedgerPeriods/client/requests/BillingLedgerPeriodClientUpdate1.d.ts +14 -0
  9. package/dist/cjs/api/resources/billing/resources/billingLedgerPeriods/client/requests/BillingLedgerPeriodsListV1Request.d.ts +42 -0
  10. package/dist/cjs/api/resources/billing/resources/billingLedgerPeriods/client/requests/OpenPeriodReq.d.ts +17 -0
  11. package/dist/cjs/api/resources/billing/resources/billingLedgerPeriods/client/requests/index.d.ts +3 -0
  12. package/dist/cjs/api/resources/billing/resources/billingLedgers/client/Client.d.ts +111 -0
  13. package/dist/cjs/api/resources/billing/resources/billingLedgers/client/Client.js +412 -0
  14. package/dist/cjs/api/resources/billing/resources/billingLedgers/client/requests/BillingLedgerClientCreate1.d.ts +22 -0
  15. package/dist/cjs/api/resources/billing/resources/billingLedgers/client/requests/BillingLedgerClientUpdate1.d.ts +11 -0
  16. package/dist/cjs/api/resources/billing/resources/billingLedgers/client/requests/BillingLedgersListV1Request.d.ts +33 -0
  17. package/dist/cjs/api/resources/billing/resources/billingLedgers/client/requests/index.d.ts +3 -0
  18. package/dist/cjs/api/resources/billing/resources/cargoOnFlightRateSheets/client/Client.d.ts +132 -0
  19. package/dist/cjs/api/resources/billing/resources/cargoOnFlightRateSheets/client/Client.js +505 -0
  20. package/dist/cjs/api/resources/billing/resources/cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetClientCreate1.d.ts +19 -0
  21. package/dist/cjs/api/resources/billing/resources/cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetClientUpdate1.d.ts +21 -0
  22. package/dist/cjs/api/resources/billing/resources/cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetsListV1Request.d.ts +16 -0
  23. package/dist/cjs/api/resources/billing/resources/cargoOnFlightRateSheets/client/requests/index.d.ts +3 -0
  24. package/dist/cjs/api/resources/billing/resources/chrtGroundProviderRateSheets/client/Client.d.ts +132 -0
  25. package/dist/cjs/api/resources/billing/resources/chrtGroundProviderRateSheets/client/Client.js +508 -0
  26. package/dist/cjs/api/resources/billing/resources/chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetClientCreate1.d.ts +35 -0
  27. package/dist/cjs/api/resources/billing/resources/chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetClientUpdate1.d.ts +46 -0
  28. package/dist/cjs/api/resources/billing/resources/chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetsListV1Request.d.ts +16 -0
  29. package/dist/cjs/api/resources/billing/resources/chrtGroundProviderRateSheets/client/requests/index.d.ts +3 -0
  30. package/dist/cjs/api/resources/billing/resources/index.d.ts +12 -2
  31. package/dist/cjs/api/resources/billing/resources/index.js +13 -3
  32. package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/Client.d.ts +152 -45
  33. package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/Client.js +548 -94
  34. package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupAdHocCreateClientReq.d.ts +22 -0
  35. package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupsListV1Request.d.ts +54 -0
  36. package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/index.d.ts +2 -4
  37. package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/index.d.ts +0 -2
  38. package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/index.js +1 -3
  39. package/dist/cjs/api/resources/billing/resources/onboardCourierRateSheets/client/Client.d.ts +132 -0
  40. package/dist/cjs/api/resources/billing/resources/onboardCourierRateSheets/client/Client.js +505 -0
  41. package/dist/cjs/api/resources/billing/resources/onboardCourierRateSheets/client/index.d.ts +2 -0
  42. package/dist/cjs/api/resources/billing/resources/onboardCourierRateSheets/client/index.js +17 -0
  43. package/dist/cjs/api/resources/billing/resources/onboardCourierRateSheets/client/requests/OnboardCourierRateSheetClientCreate1.d.ts +16 -0
  44. package/dist/cjs/api/resources/billing/resources/onboardCourierRateSheets/client/requests/OnboardCourierRateSheetClientUpdate1.d.ts +15 -0
  45. package/dist/cjs/api/resources/billing/resources/onboardCourierRateSheets/client/requests/OnboardCourierRateSheetsListV1Request.d.ts +16 -0
  46. package/dist/cjs/api/resources/billing/resources/onboardCourierRateSheets/client/requests/index.d.ts +3 -0
  47. package/dist/cjs/api/resources/billing/resources/onboardCourierRateSheets/client/requests/index.js +2 -0
  48. package/dist/cjs/api/resources/billing/resources/onboardCourierRateSheets/index.d.ts +1 -0
  49. package/dist/cjs/api/resources/billing/resources/onboardCourierRateSheets/index.js +17 -0
  50. package/dist/cjs/api/resources/billing/resources/rateSheetMappings/client/Client.d.ts +136 -0
  51. package/dist/cjs/api/resources/billing/resources/rateSheetMappings/client/Client.js +503 -0
  52. package/dist/cjs/api/resources/billing/resources/rateSheetMappings/client/index.d.ts +2 -0
  53. package/dist/cjs/api/resources/billing/resources/rateSheetMappings/client/index.js +17 -0
  54. package/dist/cjs/api/resources/billing/resources/rateSheetMappings/client/requests/RateSheetMappingClientCreate1.d.ts +20 -0
  55. package/dist/cjs/api/resources/billing/resources/rateSheetMappings/client/requests/RateSheetMappingsListV1Request.d.ts +14 -0
  56. package/dist/cjs/api/resources/billing/resources/rateSheetMappings/client/requests/index.d.ts +2 -0
  57. package/dist/cjs/api/resources/billing/resources/rateSheetMappings/client/requests/index.js +2 -0
  58. package/dist/cjs/api/resources/billing/resources/rateSheetMappings/index.d.ts +1 -0
  59. package/dist/cjs/api/resources/billing/resources/rateSheetMappings/index.js +17 -0
  60. package/dist/cjs/api/resources/billing/resources/statements/client/Client.d.ts +106 -27
  61. package/dist/cjs/api/resources/billing/resources/statements/client/Client.js +398 -49
  62. package/dist/cjs/api/resources/billing/resources/statements/client/requests/StatementCreateClientReq.d.ts +20 -0
  63. package/dist/cjs/api/resources/billing/resources/statements/client/requests/StatementUpdateSettlementTypeReq.d.ts +13 -0
  64. package/dist/cjs/api/resources/billing/resources/statements/client/requests/StatementsExpandedListV1Request.d.ts +1 -0
  65. package/dist/cjs/api/resources/billing/resources/statements/client/requests/StatementsListV1Request.d.ts +1 -0
  66. package/dist/cjs/api/resources/billing/resources/statements/client/requests/index.d.ts +2 -4
  67. package/dist/cjs/api/resources/index.d.ts +2 -0
  68. package/dist/cjs/api/resources/index.js +3 -1
  69. package/dist/cjs/api/resources/listing/client/Client.d.ts +32 -0
  70. package/dist/cjs/api/resources/listing/client/Client.js +32 -0
  71. package/dist/cjs/api/resources/listing/client/index.js +2 -0
  72. package/dist/cjs/api/resources/listing/index.d.ts +2 -0
  73. package/dist/cjs/api/resources/listing/index.js +18 -0
  74. package/dist/cjs/api/resources/listing/resources/bidThreads/client/Client.d.ts +185 -0
  75. package/dist/cjs/api/resources/listing/resources/bidThreads/client/Client.js +734 -0
  76. package/dist/cjs/api/resources/listing/resources/bidThreads/client/index.d.ts +2 -0
  77. package/dist/cjs/api/resources/listing/resources/bidThreads/client/index.js +17 -0
  78. package/dist/cjs/api/resources/listing/resources/bidThreads/client/requests/BidThreadClientCreate1.d.ts +18 -0
  79. package/dist/cjs/api/resources/listing/resources/bidThreads/client/requests/BidThreadsListForBidderV1Request.d.ts +45 -0
  80. package/dist/cjs/api/resources/listing/resources/bidThreads/client/requests/BidThreadsListForListingV1Request.d.ts +45 -0
  81. package/dist/cjs/api/resources/listing/resources/bidThreads/client/requests/index.d.ts +3 -0
  82. package/dist/cjs/api/resources/listing/resources/bidThreads/client/requests/index.js +2 -0
  83. package/dist/cjs/api/resources/listing/resources/bidThreads/index.d.ts +1 -0
  84. package/dist/cjs/api/resources/listing/resources/bidThreads/index.js +17 -0
  85. package/dist/cjs/api/resources/listing/resources/driverBiddingGroups/client/Client.d.ts +144 -0
  86. package/dist/cjs/api/resources/listing/resources/driverBiddingGroups/client/Client.js +538 -0
  87. package/dist/cjs/api/resources/listing/resources/driverBiddingGroups/client/index.d.ts +2 -0
  88. package/dist/cjs/api/resources/listing/resources/driverBiddingGroups/client/index.js +17 -0
  89. package/dist/cjs/api/resources/listing/resources/driverBiddingGroups/client/requests/DriverBiddingGroupClientCreate1.d.ts +14 -0
  90. package/dist/cjs/api/resources/listing/resources/driverBiddingGroups/client/requests/DriverBiddingGroupsListByOrgV1Request.d.ts +39 -0
  91. package/dist/cjs/api/resources/listing/resources/driverBiddingGroups/client/requests/DriverBiddingGroupsUpdateNameV1Request.d.ts +12 -0
  92. package/dist/cjs/api/resources/listing/resources/driverBiddingGroups/client/requests/index.d.ts +3 -0
  93. package/dist/cjs/api/resources/listing/resources/driverBiddingGroups/client/requests/index.js +2 -0
  94. package/dist/cjs/api/resources/listing/resources/driverBiddingGroups/index.d.ts +1 -0
  95. package/dist/cjs/api/resources/listing/resources/driverBiddingGroups/index.js +17 -0
  96. package/dist/cjs/api/resources/listing/resources/index.d.ts +8 -0
  97. package/dist/cjs/api/resources/listing/resources/index.js +47 -0
  98. package/dist/cjs/api/resources/listing/resources/listings/client/Client.d.ts +259 -0
  99. package/dist/cjs/api/resources/listing/resources/listings/client/Client.js +1074 -0
  100. package/dist/cjs/api/resources/listing/resources/listings/client/index.d.ts +2 -0
  101. package/dist/cjs/api/resources/listing/resources/listings/client/index.js +17 -0
  102. package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingAddDriverParticipantsReq.d.ts +11 -0
  103. package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingAddProviderParticipantsReq.d.ts +11 -0
  104. package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingClientCreate1.d.ts +30 -0
  105. package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingClientUpdate1.d.ts +17 -0
  106. package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingRemoveDriverParticipantsReq.d.ts +10 -0
  107. package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingRemoveProviderParticipantsReq.d.ts +10 -0
  108. package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingsListByOrgV1Request.d.ts +54 -0
  109. package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingsListForDriverBidderV1Request.d.ts +51 -0
  110. package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingsListForProviderBidderV1Request.d.ts +51 -0
  111. package/dist/cjs/api/resources/listing/resources/listings/client/requests/index.d.ts +9 -0
  112. package/dist/cjs/api/resources/listing/resources/listings/client/requests/index.js +2 -0
  113. package/dist/cjs/api/resources/listing/resources/listings/index.d.ts +1 -0
  114. package/dist/cjs/api/resources/listing/resources/listings/index.js +17 -0
  115. package/dist/cjs/api/resources/listing/resources/orgBiddingGroups/client/Client.d.ts +144 -0
  116. package/dist/cjs/api/resources/listing/resources/orgBiddingGroups/client/Client.js +538 -0
  117. package/dist/cjs/api/resources/listing/resources/orgBiddingGroups/client/index.d.ts +2 -0
  118. package/dist/cjs/api/resources/listing/resources/orgBiddingGroups/client/index.js +17 -0
  119. package/dist/cjs/api/resources/listing/resources/orgBiddingGroups/client/requests/OrgBiddingGroupClientCreate1.d.ts +14 -0
  120. package/dist/cjs/api/resources/listing/resources/orgBiddingGroups/client/requests/OrgBiddingGroupsListByOrgV1Request.d.ts +39 -0
  121. package/dist/cjs/api/resources/listing/resources/orgBiddingGroups/client/requests/OrgBiddingGroupsUpdateNameV1Request.d.ts +12 -0
  122. package/dist/cjs/api/resources/listing/resources/orgBiddingGroups/client/requests/index.d.ts +3 -0
  123. package/dist/cjs/api/resources/listing/resources/orgBiddingGroups/client/requests/index.js +2 -0
  124. package/dist/cjs/api/resources/listing/resources/orgBiddingGroups/index.d.ts +1 -0
  125. package/dist/cjs/api/resources/listing/resources/orgBiddingGroups/index.js +17 -0
  126. package/dist/cjs/api/resources/operations/client/Client.d.ts +26 -0
  127. package/dist/cjs/api/resources/operations/client/Client.js +22 -0
  128. package/dist/cjs/api/resources/operations/client/index.js +2 -0
  129. package/dist/cjs/api/resources/operations/index.d.ts +2 -0
  130. package/dist/cjs/api/resources/operations/index.js +18 -0
  131. package/dist/cjs/api/resources/operations/resources/cases/client/Client.d.ts +145 -0
  132. package/dist/cjs/api/resources/operations/resources/cases/client/Client.js +552 -0
  133. package/dist/cjs/api/resources/operations/resources/cases/client/index.d.ts +2 -0
  134. package/dist/cjs/api/resources/operations/resources/cases/client/index.js +17 -0
  135. package/dist/cjs/api/resources/operations/resources/cases/client/requests/CaseAddMessageReq.d.ts +12 -0
  136. package/dist/cjs/api/resources/operations/resources/cases/client/requests/CaseAssignReq.d.ts +12 -0
  137. package/dist/cjs/api/resources/operations/resources/cases/client/requests/CaseClientUpdate1.d.ts +11 -0
  138. package/dist/cjs/api/resources/operations/resources/cases/client/requests/CaseUnassignReq.d.ts +12 -0
  139. package/dist/cjs/api/resources/operations/resources/cases/client/requests/CasesListV1Request.d.ts +36 -0
  140. package/dist/cjs/api/resources/operations/resources/cases/client/requests/index.d.ts +5 -0
  141. package/dist/cjs/api/resources/operations/resources/cases/client/requests/index.js +2 -0
  142. package/dist/cjs/api/resources/operations/resources/cases/index.d.ts +1 -0
  143. package/dist/cjs/api/resources/operations/resources/cases/index.js +17 -0
  144. package/dist/cjs/api/resources/operations/resources/departments/client/Client.d.ts +138 -0
  145. package/dist/cjs/api/resources/operations/resources/departments/client/Client.js +522 -0
  146. package/dist/cjs/api/resources/operations/resources/departments/client/index.d.ts +2 -0
  147. package/dist/cjs/api/resources/operations/resources/departments/client/index.js +17 -0
  148. package/dist/cjs/api/resources/operations/resources/departments/client/requests/DepartmentClientCreate1.d.ts +19 -0
  149. package/dist/cjs/api/resources/operations/resources/departments/client/requests/DepartmentClientUpdate1.d.ts +13 -0
  150. package/dist/cjs/api/resources/operations/resources/departments/client/requests/DepartmentsListV1Request.d.ts +24 -0
  151. package/dist/cjs/api/resources/operations/resources/departments/client/requests/index.d.ts +3 -0
  152. package/dist/cjs/api/resources/operations/resources/departments/client/requests/index.js +2 -0
  153. package/dist/cjs/api/resources/operations/resources/departments/index.d.ts +1 -0
  154. package/dist/cjs/api/resources/operations/resources/departments/index.js +17 -0
  155. package/dist/cjs/api/resources/operations/resources/index.d.ts +4 -0
  156. package/dist/cjs/api/resources/operations/resources/index.js +43 -0
  157. package/dist/cjs/api/resources/orgs/client/Client.d.ts +5 -1
  158. package/dist/cjs/api/resources/orgs/client/Client.js +17 -11
  159. package/dist/cjs/api/resources/orgs/client/requests/OrgsListMembersV1Request.d.ts +1 -0
  160. package/dist/cjs/api/resources/orgs/client/requests/SetOrgTypeReq.d.ts +1 -1
  161. package/dist/cjs/api/resources/orgs/resources/connections/client/Client.d.ts +33 -35
  162. package/dist/cjs/api/resources/orgs/resources/connections/client/Client.js +70 -80
  163. package/dist/cjs/api/resources/orgs/resources/connections/client/requests/ConnectionsListProvidersV1Request.d.ts +17 -0
  164. package/dist/cjs/api/resources/orgs/resources/connections/client/requests/ProviderProviderUpdateAutoAssignReq.d.ts +12 -0
  165. package/dist/cjs/api/resources/orgs/resources/connections/client/requests/SetDepartmentReq.d.ts +10 -0
  166. package/dist/cjs/api/resources/orgs/resources/connections/client/requests/index.d.ts +3 -2
  167. package/dist/cjs/api/resources/orgs/resources/connections/types/ConnectionsGetByHandleV1Response.d.ts +1 -1
  168. package/dist/cjs/api/resources/orgs/resources/index.d.ts +2 -0
  169. package/dist/cjs/api/resources/orgs/resources/index.js +3 -1
  170. package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/Client.d.ts +106 -0
  171. package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/Client.js +384 -0
  172. package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/index.d.ts +2 -0
  173. package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/index.js +17 -0
  174. package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientCreate1.d.ts +26 -0
  175. package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientUpdate1.d.ts +31 -0
  176. package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientUpdate1.js +5 -0
  177. package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgListV1Request.d.ts +14 -0
  178. package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgListV1Request.js +5 -0
  179. package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/requests/index.d.ts +3 -0
  180. package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/requests/index.js +2 -0
  181. package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/index.d.ts +1 -0
  182. package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/index.js +17 -0
  183. package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientCreate1.d.ts +1 -2
  184. package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientUpdate1.d.ts +2 -0
  185. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/client/Client.d.ts +3 -6
  186. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/client/Client.js +3 -8
  187. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/index.d.ts +2 -4
  188. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/index.js +3 -5
  189. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/Client.d.ts +83 -0
  190. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/Client.js +300 -0
  191. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/index.d.ts +2 -0
  192. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/index.js +17 -0
  193. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientCreate1.d.ts +24 -0
  194. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientCreate1.js +5 -0
  195. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientUpdate1.d.ts +29 -0
  196. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientUpdate1.js +5 -0
  197. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/index.d.ts +2 -0
  198. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/index.js +2 -0
  199. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/index.d.ts +1 -0
  200. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/index.js +17 -0
  201. package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/Client.d.ts +14 -45
  202. package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/Client.js +18 -147
  203. package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientCreate1.d.ts +19 -0
  204. package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientCreate1.js +5 -0
  205. package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientUpdate1.d.ts +12 -0
  206. package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientUpdate1.js +5 -0
  207. package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/requests/index.d.ts +2 -4
  208. package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.d.ts +21 -4
  209. package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.js +70 -4
  210. package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriverUpdateAutoAssignReq.d.ts +12 -0
  211. package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriverUpdateAutoAssignReq.js +5 -0
  212. package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriversListOrgMembersAndDriversV1Request.d.ts +1 -0
  213. package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/index.d.ts +1 -0
  214. package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/Client.d.ts +1 -1
  215. package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/Client.js +1 -1
  216. package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/requests/OrdersDraftUpdateReq.d.ts +2 -2
  217. package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/requests/OrdersNewDraftReq.d.ts +1 -1
  218. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.d.ts +2 -2
  219. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.js +7 -7
  220. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/expanded/client/requests/ExpandedListV1Request.d.ts +4 -4
  221. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/Client.d.ts +2 -47
  222. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/Client.js +2 -191
  223. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/OrderDraftAddTaskGroupReq.d.ts +1 -4
  224. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/index.d.ts +0 -2
  225. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.ts +15 -13
  226. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.js +29 -27
  227. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.d.ts +59 -0
  228. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.js +5 -0
  229. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.ts +5 -4
  230. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/index.d.ts +1 -1
  231. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/Client.d.ts +228 -15
  232. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/Client.js +952 -22
  233. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/AddExecutorReq.d.ts +13 -0
  234. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/AddExecutorReq.js +5 -0
  235. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/index.d.ts +1 -1
  236. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.ts +27 -25
  237. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.js +48 -46
  238. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverForExecutorV1Request.d.ts +59 -0
  239. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverForExecutorV1Request.js +5 -0
  240. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.ts +61 -0
  241. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.js +5 -0
  242. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/index.d.ts +2 -2
  243. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/s3Object/client/Client.d.ts +2 -2
  244. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/s3Object/client/Client.js +2 -2
  245. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/Client.d.ts +8 -8
  246. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/Client.js +14 -14
  247. package/dist/cjs/api/resources/tracking/resources/sharingSettings/client/Client.d.ts +3 -3
  248. package/dist/cjs/api/resources/tracking/resources/sharingSettings/client/Client.js +3 -3
  249. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/Client.d.ts +2 -2
  250. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/Client.js +2 -2
  251. package/dist/cjs/api/types/AttachBillingLedgerPeriodReq.d.ts +6 -0
  252. package/dist/cjs/api/types/AttachBillingLedgerPeriodReq.js +5 -0
  253. package/dist/cjs/api/types/AttachLigToVectorClientReq.d.ts +6 -0
  254. package/dist/cjs/api/types/AttachLigToVectorClientReq.js +5 -0
  255. package/dist/cjs/api/types/Bid.d.ts +16 -0
  256. package/dist/cjs/api/types/Bid.js +5 -0
  257. package/dist/cjs/api/types/BidActionEnum.d.ts +11 -0
  258. package/dist/cjs/api/types/BidActionEnum.js +13 -0
  259. package/dist/cjs/api/types/BidAppendReq.d.ts +13 -0
  260. package/dist/cjs/api/types/BidAppendReq.js +5 -0
  261. package/dist/cjs/api/types/BidThread1.d.ts +17 -0
  262. package/dist/cjs/api/types/BidThread1.js +5 -0
  263. package/dist/cjs/api/types/BidThreadListRes.d.ts +8 -0
  264. package/dist/cjs/api/types/BidThreadListRes.js +5 -0
  265. package/dist/cjs/api/types/BidThreadSortByEnum.d.ts +8 -0
  266. package/dist/cjs/api/types/BidThreadSortByEnum.js +10 -0
  267. package/dist/cjs/api/types/BidThreadStatusEnum.d.ts +10 -0
  268. package/dist/cjs/api/types/BidThreadStatusEnum.js +12 -0
  269. package/dist/cjs/api/types/BillingCycleEnum.d.ts +11 -0
  270. package/dist/cjs/api/types/BillingCycleEnum.js +13 -0
  271. package/dist/cjs/api/types/BillingLedger1.d.ts +26 -0
  272. package/dist/cjs/api/types/BillingLedger1.js +5 -0
  273. package/dist/cjs/api/types/BillingLedgerListRes.d.ts +8 -0
  274. package/dist/cjs/api/types/BillingLedgerListRes.js +5 -0
  275. package/dist/cjs/api/types/BillingLedgerPeriod1.d.ts +35 -0
  276. package/dist/cjs/api/types/BillingLedgerPeriod1.js +5 -0
  277. package/dist/cjs/api/types/BillingLedgerPeriodListRes.d.ts +8 -0
  278. package/dist/cjs/api/types/BillingLedgerPeriodListRes.js +5 -0
  279. package/dist/cjs/api/types/BillingLedgerPeriodSortByEnum.d.ts +9 -0
  280. package/dist/cjs/api/types/BillingLedgerPeriodSortByEnum.js +11 -0
  281. package/dist/cjs/api/types/BillingLedgerPeriodStatusEnum.d.ts +8 -0
  282. package/dist/cjs/api/types/BillingLedgerPeriodStatusEnum.js +10 -0
  283. package/dist/cjs/api/types/BillingLedgerSortByEnum.d.ts +4 -0
  284. package/dist/cjs/api/types/BillingLedgerSortByEnum.js +5 -0
  285. package/dist/cjs/api/types/BillingLedgerStatusEnum.d.ts +8 -0
  286. package/dist/cjs/api/types/BillingLedgerStatusEnum.js +10 -0
  287. package/dist/cjs/api/types/CargoOnFlightRateSheet1.d.ts +16 -0
  288. package/dist/cjs/api/types/CargoOnFlightRateSheet1.js +5 -0
  289. package/dist/cjs/api/types/CargoOnFlightRateSheetListRes.d.ts +8 -0
  290. package/dist/cjs/api/types/CargoOnFlightRateSheetListRes.js +5 -0
  291. package/dist/cjs/api/types/CargoOnFlightTaskActionEnum1.d.ts +13 -0
  292. package/dist/cjs/api/types/CargoOnFlightTaskActionEnum1.js +15 -0
  293. package/dist/cjs/api/types/Case1.d.ts +19 -0
  294. package/dist/cjs/api/types/Case1.js +5 -0
  295. package/dist/cjs/api/types/CaseListRes.d.ts +8 -0
  296. package/dist/cjs/api/types/CaseListRes.js +5 -0
  297. package/dist/cjs/api/types/CaseMessage1.d.ts +11 -0
  298. package/dist/cjs/api/types/CaseMessage1.js +5 -0
  299. package/dist/cjs/api/types/CaseSortByEnum.d.ts +9 -0
  300. package/dist/cjs/api/types/CaseSortByEnum.js +11 -0
  301. package/dist/cjs/api/types/CaseStatusEnum.d.ts +9 -0
  302. package/dist/cjs/api/types/CaseStatusEnum.js +11 -0
  303. package/dist/cjs/api/types/ChrtGroundProviderRateSheet1.d.ts +32 -0
  304. package/dist/cjs/api/types/ChrtGroundProviderRateSheet1.js +5 -0
  305. package/dist/cjs/api/types/ChrtGroundProviderRateSheetListRes.d.ts +8 -0
  306. package/dist/cjs/api/types/ChrtGroundProviderRateSheetListRes.js +5 -0
  307. package/dist/cjs/api/types/ChrtGroundProviderTaskActionEnum1.d.ts +13 -0
  308. package/dist/cjs/api/types/ChrtGroundProviderTaskActionEnum1.js +15 -0
  309. package/dist/cjs/api/types/CreateLigFromRateSheetForVectorClientReq.d.ts +7 -0
  310. package/dist/cjs/api/types/CreateLigFromRateSheetForVectorClientReq.js +5 -0
  311. package/dist/cjs/api/types/Department1.d.ts +17 -0
  312. package/dist/cjs/api/types/Department1.js +5 -0
  313. package/dist/cjs/api/types/DepartmentEnum.d.ts +18 -0
  314. package/dist/cjs/api/types/DepartmentEnum.js +20 -0
  315. package/dist/cjs/api/types/DepartmentListRes.d.ts +8 -0
  316. package/dist/cjs/api/types/DepartmentListRes.js +5 -0
  317. package/dist/cjs/api/types/DepartmentSortByEnum.d.ts +8 -0
  318. package/dist/cjs/api/types/DepartmentSortByEnum.js +10 -0
  319. package/dist/cjs/api/types/Driver1.d.ts +1 -2
  320. package/dist/cjs/api/types/DriverBiddingGroup1.d.ts +15 -0
  321. package/dist/cjs/api/types/DriverBiddingGroup1.js +5 -0
  322. package/dist/cjs/api/types/DriverBiddingGroupListRes.d.ts +8 -0
  323. package/dist/cjs/api/types/DriverBiddingGroupListRes.js +5 -0
  324. package/dist/cjs/api/types/DriverBiddingGroupSortByEnum.d.ts +9 -0
  325. package/dist/cjs/api/types/DriverBiddingGroupSortByEnum.js +11 -0
  326. package/dist/cjs/api/types/LineItem1.d.ts +19 -5
  327. package/dist/cjs/api/types/LineItemClientCreate1.d.ts +14 -0
  328. package/dist/cjs/api/types/LineItemClientCreate1.js +5 -0
  329. package/dist/cjs/api/types/LineItemEnum1.d.ts +19 -11
  330. package/dist/cjs/api/types/LineItemEnum1.js +12 -10
  331. package/dist/cjs/api/types/LineItemGroup1.d.ts +31 -4
  332. package/dist/cjs/api/types/LineItemGroupStatusEnum1.d.ts +20 -4
  333. package/dist/cjs/api/types/LineItemGroupStatusEnum1.js +0 -3
  334. package/dist/cjs/api/types/LineItemProvenanceEnum.d.ts +9 -0
  335. package/dist/cjs/api/types/LineItemProvenanceEnum.js +11 -0
  336. package/dist/cjs/api/types/LineItemStatusEnum.d.ts +9 -0
  337. package/dist/cjs/api/types/LineItemStatusEnum.js +11 -0
  338. package/dist/cjs/api/types/Listing1.d.ts +34 -0
  339. package/dist/cjs/api/types/Listing1.js +5 -0
  340. package/dist/cjs/api/types/ListingAudienceEnum.d.ts +8 -0
  341. package/dist/cjs/api/types/ListingAudienceEnum.js +10 -0
  342. package/dist/cjs/api/types/ListingForBidderListRes.d.ts +8 -0
  343. package/dist/cjs/api/types/ListingForBidderListRes.js +5 -0
  344. package/dist/cjs/api/types/ListingLimitedForBidder1.d.ts +41 -0
  345. package/dist/cjs/api/types/ListingLimitedForBidder1.js +5 -0
  346. package/dist/cjs/api/types/ListingListRes.d.ts +8 -0
  347. package/dist/cjs/api/types/ListingListRes.js +5 -0
  348. package/dist/cjs/api/types/ListingSortByEnum.d.ts +8 -0
  349. package/dist/cjs/api/types/ListingSortByEnum.js +10 -0
  350. package/dist/cjs/api/types/ListingStatusEnum.d.ts +9 -0
  351. package/dist/cjs/api/types/ListingStatusEnum.js +11 -0
  352. package/dist/cjs/api/types/ListingTypeEnum.d.ts +8 -0
  353. package/dist/cjs/api/types/ListingTypeEnum.js +10 -0
  354. package/dist/cjs/api/types/OffChrtProviderOrg1.d.ts +24 -0
  355. package/dist/cjs/api/types/OffChrtProviderOrg1.js +5 -0
  356. package/dist/cjs/api/types/OffChrtProviderOrgListRes.d.ts +8 -0
  357. package/dist/cjs/api/types/OffChrtProviderOrgListRes.js +5 -0
  358. package/dist/cjs/api/types/OffChrtShipperOrg1.d.ts +1 -2
  359. package/dist/cjs/api/types/OnboardCourierRateSheet1.d.ts +13 -0
  360. package/dist/cjs/api/types/OnboardCourierRateSheet1.js +5 -0
  361. package/dist/cjs/api/types/OnboardCourierRateSheetListRes.d.ts +8 -0
  362. package/dist/cjs/api/types/OnboardCourierRateSheetListRes.js +5 -0
  363. package/dist/cjs/api/types/Order1.d.ts +5 -5
  364. package/dist/cjs/api/types/OrderAndTaskGroupExpandedReq.d.ts +4 -4
  365. package/dist/cjs/api/types/OrderDraftExpanded.d.ts +2 -2
  366. package/dist/cjs/api/types/OrderExpanded.d.ts +2 -2
  367. package/dist/cjs/api/types/OrdersDraftUpdateRes.d.ts +1 -1
  368. package/dist/cjs/api/types/OrgBiddingGroup1.d.ts +15 -0
  369. package/dist/cjs/api/types/OrgBiddingGroup1.js +5 -0
  370. package/dist/cjs/api/types/OrgBiddingGroupListRes.d.ts +8 -0
  371. package/dist/cjs/api/types/OrgBiddingGroupListRes.js +5 -0
  372. package/dist/cjs/api/types/OrgBiddingGroupSortByEnum.d.ts +9 -0
  373. package/dist/cjs/api/types/OrgBiddingGroupSortByEnum.js +11 -0
  374. package/dist/cjs/api/types/OrgPrivateData1.d.ts +0 -8
  375. package/dist/cjs/api/types/OrgRoleEnum.d.ts +2 -2
  376. package/dist/cjs/api/types/OrgTypeEnum.d.ts +2 -3
  377. package/dist/cjs/api/types/OrgTypeEnum.js +1 -2
  378. package/dist/cjs/api/types/ProFormaLineItem1.d.ts +20 -0
  379. package/dist/cjs/api/types/ProFormaLineItem1.js +5 -0
  380. package/dist/cjs/api/types/ProviderConnectionListRes.d.ts +8 -0
  381. package/dist/cjs/api/types/ProviderConnectionListRes.js +5 -0
  382. package/dist/cjs/api/types/ProviderConnectionRes.d.ts +8 -0
  383. package/dist/cjs/api/types/ProviderConnectionRes.js +5 -0
  384. package/dist/cjs/api/types/ProviderOrgInfoForConnections1.d.ts +22 -0
  385. package/dist/cjs/api/types/ProviderOrgInfoForConnections1.js +5 -0
  386. package/dist/cjs/api/types/ProviderOrgProfile1.d.ts +13 -0
  387. package/dist/cjs/api/types/ProviderOrgProfile1.js +5 -0
  388. package/dist/cjs/api/types/ProviderProviderConnection1.d.ts +15 -0
  389. package/dist/cjs/api/types/ProviderProviderConnection1.js +5 -0
  390. package/dist/cjs/api/types/RateSheetMapping1.d.ts +17 -0
  391. package/dist/cjs/api/types/RateSheetMapping1.js +5 -0
  392. package/dist/cjs/api/types/RateSheetMappingListRes.d.ts +8 -0
  393. package/dist/cjs/api/types/RateSheetMappingListRes.js +5 -0
  394. package/dist/cjs/api/types/ShipperProviderConnection1.d.ts +14 -0
  395. package/dist/cjs/api/types/ShipperProviderConnection1.js +5 -0
  396. package/dist/cjs/api/types/ShippingTaskAddedWebhookPayload.d.ts +1 -1
  397. package/dist/cjs/api/types/ShippingTaskCompletedWebhookPayload.d.ts +2 -2
  398. package/dist/cjs/api/types/ShippingTaskDeletedWebhookPayload.d.ts +1 -1
  399. package/dist/cjs/api/types/ShippingTaskSkippedWebhookPayload.d.ts +1 -1
  400. package/dist/cjs/api/types/Statement1.d.ts +2 -1
  401. package/dist/cjs/api/types/Task1.d.ts +1 -1
  402. package/dist/cjs/api/types/TaskClientCreate1.d.ts +1 -1
  403. package/dist/cjs/api/types/TaskClientUpdate1.d.ts +1 -1
  404. package/dist/cjs/api/types/TaskGroup1.d.ts +19 -16
  405. package/dist/cjs/api/types/TaskGroupExpanded.d.ts +6 -6
  406. package/dist/cjs/api/types/TaskGroupQuoteClientReq.d.ts +6 -0
  407. package/dist/cjs/api/types/TaskGroupQuoteClientReq.js +5 -0
  408. package/dist/cjs/api/types/TaskGroupQuoteResp.d.ts +37 -0
  409. package/dist/cjs/api/types/TaskGroupQuoteResp.js +5 -0
  410. package/dist/cjs/api/types/TaskGroupTypeEnum1.d.ts +3 -3
  411. package/dist/cjs/api/types/TaskGroupTypeEnum1.js +2 -2
  412. package/dist/cjs/api/types/index.d.ts +66 -21
  413. package/dist/cjs/api/types/index.js +66 -21
  414. package/dist/cjs/version.d.ts +1 -1
  415. package/dist/cjs/version.js +1 -1
  416. package/dist/esm/Client.d.mts +6 -0
  417. package/dist/esm/Client.mjs +12 -2
  418. package/dist/esm/api/resources/billing/client/Client.d.mts +18 -3
  419. package/dist/esm/api/resources/billing/client/Client.mjs +28 -3
  420. package/dist/esm/api/resources/billing/resources/billingLedgerPeriods/client/Client.d.mts +116 -0
  421. package/dist/esm/api/resources/billing/resources/billingLedgerPeriods/client/Client.mjs +389 -0
  422. package/dist/esm/api/resources/billing/resources/billingLedgerPeriods/client/requests/BillingLedgerPeriodClientUpdate1.d.mts +14 -0
  423. package/dist/esm/api/resources/billing/resources/billingLedgerPeriods/client/requests/BillingLedgerPeriodsListV1Request.d.mts +42 -0
  424. package/dist/esm/api/resources/billing/resources/billingLedgerPeriods/client/requests/OpenPeriodReq.d.mts +17 -0
  425. package/dist/esm/api/resources/billing/resources/billingLedgerPeriods/client/requests/index.d.mts +3 -0
  426. package/dist/esm/api/resources/billing/resources/billingLedgers/client/Client.d.mts +111 -0
  427. package/dist/esm/api/resources/billing/resources/billingLedgers/client/Client.mjs +375 -0
  428. package/dist/esm/api/resources/billing/resources/billingLedgers/client/requests/BillingLedgerClientCreate1.d.mts +22 -0
  429. package/dist/esm/api/resources/billing/resources/billingLedgers/client/requests/BillingLedgerClientUpdate1.d.mts +11 -0
  430. package/dist/esm/api/resources/billing/resources/billingLedgers/client/requests/BillingLedgersListV1Request.d.mts +33 -0
  431. package/dist/esm/api/resources/billing/resources/billingLedgers/client/requests/index.d.mts +3 -0
  432. package/dist/esm/api/resources/billing/resources/cargoOnFlightRateSheets/client/Client.d.mts +132 -0
  433. package/dist/esm/api/resources/billing/resources/cargoOnFlightRateSheets/client/Client.mjs +468 -0
  434. package/dist/esm/api/resources/billing/resources/cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetClientCreate1.d.mts +19 -0
  435. package/dist/esm/api/resources/billing/resources/cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetClientUpdate1.d.mts +21 -0
  436. package/dist/esm/api/resources/billing/resources/cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetsListV1Request.d.mts +16 -0
  437. package/dist/esm/api/resources/billing/resources/cargoOnFlightRateSheets/client/requests/index.d.mts +3 -0
  438. package/dist/esm/api/resources/billing/resources/cargoOnFlightRateSheets/client/requests/index.mjs +1 -0
  439. package/dist/esm/api/resources/billing/resources/chrtGroundProviderRateSheets/client/Client.d.mts +132 -0
  440. package/dist/esm/api/resources/billing/resources/chrtGroundProviderRateSheets/client/Client.mjs +471 -0
  441. package/dist/esm/api/resources/billing/resources/chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetClientCreate1.d.mts +35 -0
  442. package/dist/esm/api/resources/billing/resources/chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetClientUpdate1.d.mts +46 -0
  443. package/dist/esm/api/resources/billing/resources/chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetsListV1Request.d.mts +16 -0
  444. package/dist/esm/api/resources/billing/resources/chrtGroundProviderRateSheets/client/requests/index.d.mts +3 -0
  445. package/dist/esm/api/resources/billing/resources/chrtGroundProviderRateSheets/client/requests/index.mjs +1 -0
  446. package/dist/esm/api/resources/billing/resources/index.d.mts +12 -2
  447. package/dist/esm/api/resources/billing/resources/index.mjs +12 -2
  448. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/Client.d.mts +152 -45
  449. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/Client.mjs +544 -90
  450. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupAdHocCreateClientReq.d.mts +22 -0
  451. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupsListV1Request.d.mts +54 -0
  452. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/index.d.mts +2 -4
  453. package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/index.d.mts +0 -2
  454. package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/index.mjs +0 -2
  455. package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/client/Client.d.mts +132 -0
  456. package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/client/Client.mjs +468 -0
  457. package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/client/index.d.mts +2 -0
  458. package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/client/index.mjs +1 -0
  459. package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/client/requests/OnboardCourierRateSheetClientCreate1.d.mts +16 -0
  460. package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/client/requests/OnboardCourierRateSheetClientUpdate1.d.mts +15 -0
  461. package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/client/requests/OnboardCourierRateSheetsListV1Request.d.mts +16 -0
  462. package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/client/requests/index.d.mts +3 -0
  463. package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/client/requests/index.mjs +1 -0
  464. package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/index.d.mts +1 -0
  465. package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/index.mjs +1 -0
  466. package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/Client.d.mts +136 -0
  467. package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/Client.mjs +466 -0
  468. package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/index.d.mts +2 -0
  469. package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/index.mjs +1 -0
  470. package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/requests/RateSheetMappingClientCreate1.d.mts +20 -0
  471. package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/requests/RateSheetMappingsListV1Request.d.mts +14 -0
  472. package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/requests/index.d.mts +2 -0
  473. package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/requests/index.mjs +1 -0
  474. package/dist/esm/api/resources/billing/resources/rateSheetMappings/index.d.mts +1 -0
  475. package/dist/esm/api/resources/billing/resources/rateSheetMappings/index.mjs +1 -0
  476. package/dist/esm/api/resources/billing/resources/statements/client/Client.d.mts +106 -27
  477. package/dist/esm/api/resources/billing/resources/statements/client/Client.mjs +398 -49
  478. package/dist/esm/api/resources/billing/resources/statements/client/requests/StatementCreateClientReq.d.mts +20 -0
  479. package/dist/esm/api/resources/billing/resources/statements/client/requests/StatementUpdateSettlementTypeReq.d.mts +13 -0
  480. package/dist/esm/api/resources/billing/resources/statements/client/requests/StatementsExpandedListV1Request.d.mts +1 -0
  481. package/dist/esm/api/resources/billing/resources/statements/client/requests/StatementsListV1Request.d.mts +1 -0
  482. package/dist/esm/api/resources/billing/resources/statements/client/requests/index.d.mts +2 -4
  483. package/dist/esm/api/resources/index.d.mts +2 -0
  484. package/dist/esm/api/resources/index.mjs +2 -0
  485. package/dist/esm/api/resources/listing/client/Client.d.mts +32 -0
  486. package/dist/esm/api/resources/listing/client/Client.mjs +28 -0
  487. package/dist/esm/api/resources/listing/client/index.d.mts +1 -0
  488. package/dist/esm/api/resources/listing/client/index.mjs +1 -0
  489. package/dist/esm/api/resources/listing/index.d.mts +2 -0
  490. package/dist/esm/api/resources/listing/index.mjs +2 -0
  491. package/dist/esm/api/resources/listing/resources/bidThreads/client/Client.d.mts +185 -0
  492. package/dist/esm/api/resources/listing/resources/bidThreads/client/Client.mjs +697 -0
  493. package/dist/esm/api/resources/listing/resources/bidThreads/client/index.d.mts +2 -0
  494. package/dist/esm/api/resources/listing/resources/bidThreads/client/index.mjs +1 -0
  495. package/dist/esm/api/resources/listing/resources/bidThreads/client/requests/BidThreadClientCreate1.d.mts +18 -0
  496. package/dist/esm/api/resources/listing/resources/bidThreads/client/requests/BidThreadsListForBidderV1Request.d.mts +45 -0
  497. package/dist/esm/api/resources/listing/resources/bidThreads/client/requests/BidThreadsListForListingV1Request.d.mts +45 -0
  498. package/dist/esm/api/resources/listing/resources/bidThreads/client/requests/index.d.mts +3 -0
  499. package/dist/esm/api/resources/listing/resources/bidThreads/client/requests/index.mjs +1 -0
  500. package/dist/esm/api/resources/listing/resources/bidThreads/index.d.mts +1 -0
  501. package/dist/esm/api/resources/listing/resources/bidThreads/index.mjs +1 -0
  502. package/dist/esm/api/resources/listing/resources/driverBiddingGroups/client/Client.d.mts +144 -0
  503. package/dist/esm/api/resources/listing/resources/driverBiddingGroups/client/Client.mjs +501 -0
  504. package/dist/esm/api/resources/listing/resources/driverBiddingGroups/client/index.d.mts +2 -0
  505. package/dist/esm/api/resources/listing/resources/driverBiddingGroups/client/index.mjs +1 -0
  506. package/dist/esm/api/resources/listing/resources/driverBiddingGroups/client/requests/DriverBiddingGroupClientCreate1.d.mts +14 -0
  507. package/dist/esm/api/resources/listing/resources/driverBiddingGroups/client/requests/DriverBiddingGroupsListByOrgV1Request.d.mts +39 -0
  508. package/dist/esm/api/resources/listing/resources/driverBiddingGroups/client/requests/DriverBiddingGroupsUpdateNameV1Request.d.mts +12 -0
  509. package/dist/esm/api/resources/listing/resources/driverBiddingGroups/client/requests/index.d.mts +3 -0
  510. package/dist/esm/api/resources/listing/resources/driverBiddingGroups/client/requests/index.mjs +1 -0
  511. package/dist/esm/api/resources/listing/resources/driverBiddingGroups/index.d.mts +1 -0
  512. package/dist/esm/api/resources/listing/resources/driverBiddingGroups/index.mjs +1 -0
  513. package/dist/esm/api/resources/listing/resources/index.d.mts +8 -0
  514. package/dist/esm/api/resources/listing/resources/index.mjs +8 -0
  515. package/dist/esm/api/resources/listing/resources/listings/client/Client.d.mts +259 -0
  516. package/dist/esm/api/resources/listing/resources/listings/client/Client.mjs +1037 -0
  517. package/dist/esm/api/resources/listing/resources/listings/client/index.d.mts +2 -0
  518. package/dist/esm/api/resources/listing/resources/listings/client/index.mjs +1 -0
  519. package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingAddDriverParticipantsReq.d.mts +11 -0
  520. package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingAddProviderParticipantsReq.d.mts +11 -0
  521. package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingClientCreate1.d.mts +30 -0
  522. package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingClientUpdate1.d.mts +17 -0
  523. package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingRemoveDriverParticipantsReq.d.mts +10 -0
  524. package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingRemoveProviderParticipantsReq.d.mts +10 -0
  525. package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingsListByOrgV1Request.d.mts +54 -0
  526. package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingsListForDriverBidderV1Request.d.mts +51 -0
  527. package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingsListForProviderBidderV1Request.d.mts +51 -0
  528. package/dist/esm/api/resources/listing/resources/listings/client/requests/index.d.mts +9 -0
  529. package/dist/esm/api/resources/listing/resources/listings/client/requests/index.mjs +1 -0
  530. package/dist/esm/api/resources/listing/resources/listings/index.d.mts +1 -0
  531. package/dist/esm/api/resources/listing/resources/listings/index.mjs +1 -0
  532. package/dist/esm/api/resources/listing/resources/orgBiddingGroups/client/Client.d.mts +144 -0
  533. package/dist/esm/api/resources/listing/resources/orgBiddingGroups/client/Client.mjs +501 -0
  534. package/dist/esm/api/resources/listing/resources/orgBiddingGroups/client/index.d.mts +2 -0
  535. package/dist/esm/api/resources/listing/resources/orgBiddingGroups/client/index.mjs +1 -0
  536. package/dist/esm/api/resources/listing/resources/orgBiddingGroups/client/requests/OrgBiddingGroupClientCreate1.d.mts +14 -0
  537. package/dist/esm/api/resources/listing/resources/orgBiddingGroups/client/requests/OrgBiddingGroupsListByOrgV1Request.d.mts +39 -0
  538. package/dist/esm/api/resources/listing/resources/orgBiddingGroups/client/requests/OrgBiddingGroupsUpdateNameV1Request.d.mts +12 -0
  539. package/dist/esm/api/resources/listing/resources/orgBiddingGroups/client/requests/index.d.mts +3 -0
  540. package/dist/esm/api/resources/listing/resources/orgBiddingGroups/client/requests/index.mjs +1 -0
  541. package/dist/esm/api/resources/listing/resources/orgBiddingGroups/index.d.mts +1 -0
  542. package/dist/esm/api/resources/listing/resources/orgBiddingGroups/index.mjs +1 -0
  543. package/dist/esm/api/resources/operations/client/Client.d.mts +26 -0
  544. package/dist/esm/api/resources/operations/client/Client.mjs +18 -0
  545. package/dist/esm/api/resources/operations/client/index.d.mts +1 -0
  546. package/dist/esm/api/resources/operations/client/index.mjs +1 -0
  547. package/dist/esm/api/resources/operations/index.d.mts +2 -0
  548. package/dist/esm/api/resources/operations/index.mjs +2 -0
  549. package/dist/esm/api/resources/operations/resources/cases/client/Client.d.mts +145 -0
  550. package/dist/esm/api/resources/operations/resources/cases/client/Client.mjs +515 -0
  551. package/dist/esm/api/resources/operations/resources/cases/client/index.d.mts +2 -0
  552. package/dist/esm/api/resources/operations/resources/cases/client/index.mjs +1 -0
  553. package/dist/esm/api/resources/operations/resources/cases/client/requests/CaseAddMessageReq.d.mts +12 -0
  554. package/dist/esm/api/resources/operations/resources/cases/client/requests/CaseAssignReq.d.mts +12 -0
  555. package/dist/esm/api/resources/operations/resources/cases/client/requests/CaseClientUpdate1.d.mts +11 -0
  556. package/dist/esm/api/resources/operations/resources/cases/client/requests/CaseUnassignReq.d.mts +12 -0
  557. package/dist/esm/api/resources/operations/resources/cases/client/requests/CasesListV1Request.d.mts +36 -0
  558. package/dist/esm/api/resources/operations/resources/cases/client/requests/index.d.mts +5 -0
  559. package/dist/esm/api/resources/operations/resources/cases/client/requests/index.mjs +1 -0
  560. package/dist/esm/api/resources/operations/resources/cases/index.d.mts +1 -0
  561. package/dist/esm/api/resources/operations/resources/cases/index.mjs +1 -0
  562. package/dist/esm/api/resources/operations/resources/departments/client/Client.d.mts +138 -0
  563. package/dist/esm/api/resources/operations/resources/departments/client/Client.mjs +485 -0
  564. package/dist/esm/api/resources/operations/resources/departments/client/index.d.mts +2 -0
  565. package/dist/esm/api/resources/operations/resources/departments/client/index.mjs +1 -0
  566. package/dist/esm/api/resources/operations/resources/departments/client/requests/DepartmentClientCreate1.d.mts +19 -0
  567. package/dist/esm/api/resources/operations/resources/departments/client/requests/DepartmentClientUpdate1.d.mts +13 -0
  568. package/dist/esm/api/resources/operations/resources/departments/client/requests/DepartmentsListV1Request.d.mts +24 -0
  569. package/dist/esm/api/resources/operations/resources/departments/client/requests/index.d.mts +3 -0
  570. package/dist/esm/api/resources/operations/resources/departments/client/requests/index.mjs +1 -0
  571. package/dist/esm/api/resources/operations/resources/departments/index.d.mts +1 -0
  572. package/dist/esm/api/resources/operations/resources/departments/index.mjs +1 -0
  573. package/dist/esm/api/resources/operations/resources/index.d.mts +4 -0
  574. package/dist/esm/api/resources/operations/resources/index.mjs +4 -0
  575. package/dist/esm/api/resources/orgs/client/Client.d.mts +5 -1
  576. package/dist/esm/api/resources/orgs/client/Client.mjs +7 -1
  577. package/dist/esm/api/resources/orgs/client/requests/OrgsListMembersV1Request.d.mts +1 -0
  578. package/dist/esm/api/resources/orgs/client/requests/SetOrgTypeReq.d.mts +1 -1
  579. package/dist/esm/api/resources/orgs/resources/connections/client/Client.d.mts +33 -35
  580. package/dist/esm/api/resources/orgs/resources/connections/client/Client.mjs +70 -80
  581. package/dist/esm/api/resources/orgs/resources/connections/client/requests/ConnectionsListProvidersV1Request.d.mts +17 -0
  582. package/dist/esm/api/resources/orgs/resources/connections/client/requests/ProviderProviderUpdateAutoAssignReq.d.mts +12 -0
  583. package/dist/esm/api/resources/orgs/resources/connections/client/requests/SetDepartmentReq.d.mts +10 -0
  584. package/dist/esm/api/resources/orgs/resources/connections/client/requests/index.d.mts +3 -2
  585. package/dist/esm/api/resources/orgs/resources/connections/types/ConnectionsGetByHandleV1Response.d.mts +1 -1
  586. package/dist/esm/api/resources/orgs/resources/index.d.mts +2 -0
  587. package/dist/esm/api/resources/orgs/resources/index.mjs +2 -0
  588. package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/Client.d.mts +106 -0
  589. package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/Client.mjs +347 -0
  590. package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/index.d.mts +2 -0
  591. package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/index.mjs +1 -0
  592. package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientCreate1.d.mts +26 -0
  593. package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientUpdate1.d.mts +31 -0
  594. package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientUpdate1.mjs +4 -0
  595. package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgListV1Request.d.mts +14 -0
  596. package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgListV1Request.mjs +4 -0
  597. package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/requests/index.d.mts +3 -0
  598. package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/requests/index.mjs +1 -0
  599. package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/index.d.mts +1 -0
  600. package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/index.mjs +1 -0
  601. package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientCreate1.d.mts +1 -2
  602. package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientUpdate1.d.mts +2 -0
  603. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/client/Client.d.mts +3 -6
  604. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/client/Client.mjs +3 -8
  605. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/index.d.mts +2 -4
  606. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/index.mjs +2 -4
  607. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/Client.d.mts +83 -0
  608. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/Client.mjs +263 -0
  609. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/index.d.mts +2 -0
  610. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/index.mjs +1 -0
  611. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientCreate1.d.mts +24 -0
  612. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientCreate1.mjs +4 -0
  613. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientUpdate1.d.mts +29 -0
  614. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientUpdate1.mjs +4 -0
  615. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/index.d.mts +2 -0
  616. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/index.mjs +1 -0
  617. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/index.d.mts +1 -0
  618. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/index.mjs +1 -0
  619. package/dist/esm/api/resources/orgs/resources/orgProfiles/client/Client.d.mts +14 -45
  620. package/dist/esm/api/resources/orgs/resources/orgProfiles/client/Client.mjs +18 -147
  621. package/dist/esm/api/resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientCreate1.d.mts +19 -0
  622. package/dist/esm/api/resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientCreate1.mjs +4 -0
  623. package/dist/esm/api/resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientUpdate1.d.mts +12 -0
  624. package/dist/esm/api/resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientUpdate1.mjs +4 -0
  625. package/dist/esm/api/resources/orgs/resources/orgProfiles/client/requests/index.d.mts +2 -4
  626. package/dist/esm/api/resources/shipping/resources/drivers/client/Client.d.mts +21 -4
  627. package/dist/esm/api/resources/shipping/resources/drivers/client/Client.mjs +70 -4
  628. package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriverUpdateAutoAssignReq.d.mts +12 -0
  629. package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriverUpdateAutoAssignReq.mjs +4 -0
  630. package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriversListOrgMembersAndDriversV1Request.d.mts +1 -0
  631. package/dist/esm/api/resources/shipping/resources/drivers/client/requests/index.d.mts +1 -0
  632. package/dist/esm/api/resources/shipping/resources/orderDrafts/client/Client.d.mts +1 -1
  633. package/dist/esm/api/resources/shipping/resources/orderDrafts/client/Client.mjs +1 -1
  634. package/dist/esm/api/resources/shipping/resources/orderDrafts/client/requests/OrdersDraftUpdateReq.d.mts +2 -2
  635. package/dist/esm/api/resources/shipping/resources/orderDrafts/client/requests/OrdersNewDraftReq.d.mts +1 -1
  636. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.d.mts +2 -2
  637. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.mjs +7 -7
  638. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/expanded/client/requests/ExpandedListV1Request.d.mts +4 -4
  639. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/Client.d.mts +2 -47
  640. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/Client.mjs +2 -191
  641. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/OrderDraftAddTaskGroupReq.d.mts +1 -4
  642. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/index.d.mts +0 -2
  643. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.mts +15 -13
  644. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.mjs +29 -27
  645. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.d.mts +59 -0
  646. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.mjs +4 -0
  647. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.mts +5 -4
  648. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/index.d.mts +1 -1
  649. package/dist/esm/api/resources/shipping/resources/taskGroups/client/Client.d.mts +228 -15
  650. package/dist/esm/api/resources/shipping/resources/taskGroups/client/Client.mjs +952 -22
  651. package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/AddExecutorReq.d.mts +13 -0
  652. package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/AddExecutorReq.mjs +4 -0
  653. package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/index.d.mts +1 -1
  654. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.mts +27 -25
  655. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.mjs +48 -46
  656. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverForExecutorV1Request.d.mts +59 -0
  657. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverForExecutorV1Request.mjs +4 -0
  658. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.mts +61 -0
  659. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.mjs +4 -0
  660. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/index.d.mts +2 -2
  661. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/s3Object/client/Client.d.mts +2 -2
  662. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/s3Object/client/Client.mjs +2 -2
  663. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/Client.d.mts +8 -8
  664. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/Client.mjs +14 -14
  665. package/dist/esm/api/resources/tracking/resources/sharingSettings/client/Client.d.mts +3 -3
  666. package/dist/esm/api/resources/tracking/resources/sharingSettings/client/Client.mjs +3 -3
  667. package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/Client.d.mts +2 -2
  668. package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/Client.mjs +2 -2
  669. package/dist/esm/api/types/AttachBillingLedgerPeriodReq.d.mts +6 -0
  670. package/dist/esm/api/types/AttachBillingLedgerPeriodReq.mjs +4 -0
  671. package/dist/esm/api/types/AttachLigToVectorClientReq.d.mts +6 -0
  672. package/dist/esm/api/types/AttachLigToVectorClientReq.mjs +4 -0
  673. package/dist/esm/api/types/Bid.d.mts +16 -0
  674. package/dist/esm/api/types/Bid.mjs +4 -0
  675. package/dist/esm/api/types/BidActionEnum.d.mts +11 -0
  676. package/dist/esm/api/types/BidActionEnum.mjs +10 -0
  677. package/dist/esm/api/types/BidAppendReq.d.mts +13 -0
  678. package/dist/esm/api/types/BidAppendReq.mjs +4 -0
  679. package/dist/esm/api/types/BidThread1.d.mts +17 -0
  680. package/dist/esm/api/types/BidThread1.mjs +4 -0
  681. package/dist/esm/api/types/BidThreadListRes.d.mts +8 -0
  682. package/dist/esm/api/types/BidThreadListRes.mjs +4 -0
  683. package/dist/esm/api/types/BidThreadSortByEnum.d.mts +8 -0
  684. package/dist/esm/api/types/BidThreadSortByEnum.mjs +7 -0
  685. package/dist/esm/api/types/BidThreadStatusEnum.d.mts +10 -0
  686. package/dist/esm/api/types/BidThreadStatusEnum.mjs +9 -0
  687. package/dist/esm/api/types/BillingCycleEnum.d.mts +11 -0
  688. package/dist/esm/api/types/BillingCycleEnum.mjs +10 -0
  689. package/dist/esm/api/types/BillingLedger1.d.mts +26 -0
  690. package/dist/esm/api/types/BillingLedger1.mjs +4 -0
  691. package/dist/esm/api/types/BillingLedgerListRes.d.mts +8 -0
  692. package/dist/esm/api/types/BillingLedgerListRes.mjs +4 -0
  693. package/dist/esm/api/types/BillingLedgerPeriod1.d.mts +35 -0
  694. package/dist/esm/api/types/BillingLedgerPeriod1.mjs +4 -0
  695. package/dist/esm/api/types/BillingLedgerPeriodListRes.d.mts +8 -0
  696. package/dist/esm/api/types/BillingLedgerPeriodListRes.mjs +4 -0
  697. package/dist/esm/api/types/BillingLedgerPeriodSortByEnum.d.mts +9 -0
  698. package/dist/esm/api/types/BillingLedgerPeriodSortByEnum.mjs +8 -0
  699. package/dist/esm/api/types/BillingLedgerPeriodStatusEnum.d.mts +8 -0
  700. package/dist/esm/api/types/BillingLedgerPeriodStatusEnum.mjs +7 -0
  701. package/dist/esm/api/types/BillingLedgerSortByEnum.d.mts +4 -0
  702. package/dist/esm/api/types/BillingLedgerSortByEnum.mjs +4 -0
  703. package/dist/esm/api/types/BillingLedgerStatusEnum.d.mts +8 -0
  704. package/dist/esm/api/types/BillingLedgerStatusEnum.mjs +7 -0
  705. package/dist/esm/api/types/CargoOnFlightRateSheet1.d.mts +16 -0
  706. package/dist/esm/api/types/CargoOnFlightRateSheet1.mjs +4 -0
  707. package/dist/esm/api/types/CargoOnFlightRateSheetListRes.d.mts +8 -0
  708. package/dist/esm/api/types/CargoOnFlightRateSheetListRes.mjs +4 -0
  709. package/dist/esm/api/types/CargoOnFlightTaskActionEnum1.d.mts +13 -0
  710. package/dist/esm/api/types/CargoOnFlightTaskActionEnum1.mjs +12 -0
  711. package/dist/esm/api/types/Case1.d.mts +19 -0
  712. package/dist/esm/api/types/Case1.mjs +4 -0
  713. package/dist/esm/api/types/CaseListRes.d.mts +8 -0
  714. package/dist/esm/api/types/CaseListRes.mjs +4 -0
  715. package/dist/esm/api/types/CaseMessage1.d.mts +11 -0
  716. package/dist/esm/api/types/CaseMessage1.mjs +4 -0
  717. package/dist/esm/api/types/CaseSortByEnum.d.mts +9 -0
  718. package/dist/esm/api/types/CaseSortByEnum.mjs +8 -0
  719. package/dist/esm/api/types/CaseStatusEnum.d.mts +9 -0
  720. package/dist/esm/api/types/CaseStatusEnum.mjs +8 -0
  721. package/dist/esm/api/types/ChrtGroundProviderRateSheet1.d.mts +32 -0
  722. package/dist/esm/api/types/ChrtGroundProviderRateSheet1.mjs +4 -0
  723. package/dist/esm/api/types/ChrtGroundProviderRateSheetListRes.d.mts +8 -0
  724. package/dist/esm/api/types/ChrtGroundProviderRateSheetListRes.mjs +4 -0
  725. package/dist/esm/api/types/ChrtGroundProviderTaskActionEnum1.d.mts +13 -0
  726. package/dist/esm/api/types/ChrtGroundProviderTaskActionEnum1.mjs +12 -0
  727. package/dist/esm/api/types/CreateLigFromRateSheetForVectorClientReq.d.mts +7 -0
  728. package/dist/esm/api/types/CreateLigFromRateSheetForVectorClientReq.mjs +4 -0
  729. package/dist/esm/api/types/Department1.d.mts +17 -0
  730. package/dist/esm/api/types/Department1.mjs +4 -0
  731. package/dist/esm/api/types/DepartmentEnum.d.mts +18 -0
  732. package/dist/esm/api/types/DepartmentEnum.mjs +17 -0
  733. package/dist/esm/api/types/DepartmentListRes.d.mts +8 -0
  734. package/dist/esm/api/types/DepartmentListRes.mjs +4 -0
  735. package/dist/esm/api/types/DepartmentSortByEnum.d.mts +8 -0
  736. package/dist/esm/api/types/DepartmentSortByEnum.mjs +7 -0
  737. package/dist/esm/api/types/Driver1.d.mts +1 -2
  738. package/dist/esm/api/types/DriverBiddingGroup1.d.mts +15 -0
  739. package/dist/esm/api/types/DriverBiddingGroup1.mjs +4 -0
  740. package/dist/esm/api/types/DriverBiddingGroupListRes.d.mts +8 -0
  741. package/dist/esm/api/types/DriverBiddingGroupListRes.mjs +4 -0
  742. package/dist/esm/api/types/DriverBiddingGroupSortByEnum.d.mts +9 -0
  743. package/dist/esm/api/types/DriverBiddingGroupSortByEnum.mjs +8 -0
  744. package/dist/esm/api/types/LineItem1.d.mts +19 -5
  745. package/dist/esm/api/types/LineItemClientCreate1.d.mts +14 -0
  746. package/dist/esm/api/types/LineItemClientCreate1.mjs +4 -0
  747. package/dist/esm/api/types/LineItemEnum1.d.mts +19 -11
  748. package/dist/esm/api/types/LineItemEnum1.mjs +12 -10
  749. package/dist/esm/api/types/LineItemGroup1.d.mts +31 -4
  750. package/dist/esm/api/types/LineItemGroupStatusEnum1.d.mts +20 -4
  751. package/dist/esm/api/types/LineItemGroupStatusEnum1.mjs +0 -3
  752. package/dist/esm/api/types/LineItemProvenanceEnum.d.mts +9 -0
  753. package/dist/esm/api/types/LineItemProvenanceEnum.mjs +8 -0
  754. package/dist/esm/api/types/LineItemStatusEnum.d.mts +9 -0
  755. package/dist/esm/api/types/LineItemStatusEnum.mjs +8 -0
  756. package/dist/esm/api/types/Listing1.d.mts +34 -0
  757. package/dist/esm/api/types/Listing1.mjs +4 -0
  758. package/dist/esm/api/types/ListingAudienceEnum.d.mts +8 -0
  759. package/dist/esm/api/types/ListingAudienceEnum.mjs +7 -0
  760. package/dist/esm/api/types/ListingForBidderListRes.d.mts +8 -0
  761. package/dist/esm/api/types/ListingForBidderListRes.mjs +4 -0
  762. package/dist/esm/api/types/ListingLimitedForBidder1.d.mts +41 -0
  763. package/dist/esm/api/types/ListingLimitedForBidder1.mjs +4 -0
  764. package/dist/esm/api/types/ListingListRes.d.mts +8 -0
  765. package/dist/esm/api/types/ListingListRes.mjs +4 -0
  766. package/dist/esm/api/types/ListingSortByEnum.d.mts +8 -0
  767. package/dist/esm/api/types/ListingSortByEnum.mjs +7 -0
  768. package/dist/esm/api/types/ListingStatusEnum.d.mts +9 -0
  769. package/dist/esm/api/types/ListingStatusEnum.mjs +8 -0
  770. package/dist/esm/api/types/ListingTypeEnum.d.mts +8 -0
  771. package/dist/esm/api/types/ListingTypeEnum.mjs +7 -0
  772. package/dist/esm/api/types/OffChrtProviderOrg1.d.mts +24 -0
  773. package/dist/esm/api/types/OffChrtProviderOrg1.mjs +4 -0
  774. package/dist/esm/api/types/OffChrtProviderOrgListRes.d.mts +8 -0
  775. package/dist/esm/api/types/OffChrtProviderOrgListRes.mjs +4 -0
  776. package/dist/esm/api/types/OffChrtShipperOrg1.d.mts +1 -2
  777. package/dist/esm/api/types/OnboardCourierRateSheet1.d.mts +13 -0
  778. package/dist/esm/api/types/OnboardCourierRateSheet1.mjs +4 -0
  779. package/dist/esm/api/types/OnboardCourierRateSheetListRes.d.mts +8 -0
  780. package/dist/esm/api/types/OnboardCourierRateSheetListRes.mjs +4 -0
  781. package/dist/esm/api/types/Order1.d.mts +5 -5
  782. package/dist/esm/api/types/OrderAndTaskGroupExpandedReq.d.mts +4 -4
  783. package/dist/esm/api/types/OrderDraftExpanded.d.mts +2 -2
  784. package/dist/esm/api/types/OrderExpanded.d.mts +2 -2
  785. package/dist/esm/api/types/OrdersDraftUpdateRes.d.mts +1 -1
  786. package/dist/esm/api/types/OrgBiddingGroup1.d.mts +15 -0
  787. package/dist/esm/api/types/OrgBiddingGroup1.mjs +4 -0
  788. package/dist/esm/api/types/OrgBiddingGroupListRes.d.mts +8 -0
  789. package/dist/esm/api/types/OrgBiddingGroupListRes.mjs +4 -0
  790. package/dist/esm/api/types/OrgBiddingGroupSortByEnum.d.mts +9 -0
  791. package/dist/esm/api/types/OrgBiddingGroupSortByEnum.mjs +8 -0
  792. package/dist/esm/api/types/OrgPrivateData1.d.mts +0 -8
  793. package/dist/esm/api/types/OrgRoleEnum.d.mts +2 -2
  794. package/dist/esm/api/types/OrgTypeEnum.d.mts +2 -3
  795. package/dist/esm/api/types/OrgTypeEnum.mjs +1 -2
  796. package/dist/esm/api/types/ProFormaLineItem1.d.mts +20 -0
  797. package/dist/esm/api/types/ProFormaLineItem1.mjs +4 -0
  798. package/dist/esm/api/types/ProviderConnectionListRes.d.mts +8 -0
  799. package/dist/esm/api/types/ProviderConnectionListRes.mjs +4 -0
  800. package/dist/esm/api/types/ProviderConnectionRes.d.mts +8 -0
  801. package/dist/esm/api/types/ProviderConnectionRes.mjs +4 -0
  802. package/dist/esm/api/types/ProviderOrgInfoForConnections1.d.mts +22 -0
  803. package/dist/esm/api/types/ProviderOrgInfoForConnections1.mjs +4 -0
  804. package/dist/esm/api/types/ProviderOrgProfile1.d.mts +13 -0
  805. package/dist/esm/api/types/ProviderOrgProfile1.mjs +4 -0
  806. package/dist/esm/api/types/ProviderProviderConnection1.d.mts +15 -0
  807. package/dist/esm/api/types/ProviderProviderConnection1.mjs +4 -0
  808. package/dist/esm/api/types/RateSheetMapping1.d.mts +17 -0
  809. package/dist/esm/api/types/RateSheetMapping1.mjs +4 -0
  810. package/dist/esm/api/types/RateSheetMappingListRes.d.mts +8 -0
  811. package/dist/esm/api/types/RateSheetMappingListRes.mjs +4 -0
  812. package/dist/esm/api/types/ShipperProviderConnection1.d.mts +14 -0
  813. package/dist/esm/api/types/ShipperProviderConnection1.mjs +4 -0
  814. package/dist/esm/api/types/ShippingTaskAddedWebhookPayload.d.mts +1 -1
  815. package/dist/esm/api/types/ShippingTaskCompletedWebhookPayload.d.mts +2 -2
  816. package/dist/esm/api/types/ShippingTaskDeletedWebhookPayload.d.mts +1 -1
  817. package/dist/esm/api/types/ShippingTaskSkippedWebhookPayload.d.mts +1 -1
  818. package/dist/esm/api/types/Statement1.d.mts +2 -1
  819. package/dist/esm/api/types/Task1.d.mts +1 -1
  820. package/dist/esm/api/types/TaskClientCreate1.d.mts +1 -1
  821. package/dist/esm/api/types/TaskClientUpdate1.d.mts +1 -1
  822. package/dist/esm/api/types/TaskGroup1.d.mts +19 -16
  823. package/dist/esm/api/types/TaskGroupExpanded.d.mts +6 -6
  824. package/dist/esm/api/types/TaskGroupQuoteClientReq.d.mts +6 -0
  825. package/dist/esm/api/types/TaskGroupQuoteClientReq.mjs +4 -0
  826. package/dist/esm/api/types/TaskGroupQuoteResp.d.mts +37 -0
  827. package/dist/esm/api/types/TaskGroupQuoteResp.mjs +4 -0
  828. package/dist/esm/api/types/TaskGroupTypeEnum1.d.mts +3 -3
  829. package/dist/esm/api/types/TaskGroupTypeEnum1.mjs +2 -2
  830. package/dist/esm/api/types/index.d.mts +66 -21
  831. package/dist/esm/api/types/index.mjs +66 -21
  832. package/dist/esm/version.d.mts +1 -1
  833. package/dist/esm/version.mjs +1 -1
  834. package/package.json +1 -1
  835. package/reference.md +8144 -1290
  836. package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/AdjustLineItemReq.d.ts +0 -18
  837. package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupsAssociateWithStatementV1Request.d.ts +0 -12
  838. package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupsListForCourierOrgV1Request.d.ts +0 -32
  839. package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupsQuoteV1Request.d.ts +0 -17
  840. package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/Client.d.ts +0 -113
  841. package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/Client.js +0 -389
  842. package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/requests/AdHocRemoveLineItemV1Request.d.ts +0 -13
  843. package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/requests/CreateAdHocLineItemGroupReq.d.ts +0 -27
  844. package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/requests/LineItemClientCreate1.d.ts +0 -22
  845. package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/requests/SetAdHocTaskGroupReq.d.ts +0 -12
  846. package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/requests/index.d.ts +0 -4
  847. package/dist/cjs/api/resources/billing/resources/rateSheets/client/Client.d.ts +0 -186
  848. package/dist/cjs/api/resources/billing/resources/rateSheets/client/Client.js +0 -717
  849. package/dist/cjs/api/resources/billing/resources/rateSheets/client/requests/RateSheetClientCreate1.d.ts +0 -37
  850. package/dist/cjs/api/resources/billing/resources/rateSheets/client/requests/RateSheetClientUpdate1.d.ts +0 -16
  851. package/dist/cjs/api/resources/billing/resources/rateSheets/client/requests/RateSheetsArchiveV1Request.d.ts +0 -12
  852. package/dist/cjs/api/resources/billing/resources/rateSheets/client/requests/RateSheetsListByOrgV1Request.d.ts +0 -36
  853. package/dist/cjs/api/resources/billing/resources/rateSheets/client/requests/RateSheetsUpdateDefaultForConnectionV1Request.d.ts +0 -17
  854. package/dist/cjs/api/resources/billing/resources/rateSheets/client/requests/RateSheetsUpdateDefaultForDriverV1Request.d.ts +0 -17
  855. package/dist/cjs/api/resources/billing/resources/rateSheets/client/requests/RateSheetsUpdateDefaultForOffChrtShipperV1Request.d.ts +0 -17
  856. package/dist/cjs/api/resources/billing/resources/rateSheets/client/requests/RateSheetsUpdateOrgDefaultForServiceTypeV1Request.d.ts +0 -17
  857. package/dist/cjs/api/resources/billing/resources/rateSheets/client/requests/index.d.ts +0 -8
  858. package/dist/cjs/api/resources/billing/resources/statements/client/requests/BodyStatementsPatchUpdateOffChrtSettlementStateV1BillingStatementsUpdateOffChrtSettlementStateV1StatementIdPatch.d.ts +0 -13
  859. package/dist/cjs/api/resources/billing/resources/statements/client/requests/BodyStatementsPatchUpdateSettlementTypeV1BillingStatementsUpdateSettlementTypeV1StatementIdPatch.d.ts +0 -13
  860. package/dist/cjs/api/resources/billing/resources/statements/client/requests/CreateStatementReq.d.ts +0 -25
  861. package/dist/cjs/api/resources/billing/resources/statements/client/requests/OpenInvoiceReq.d.ts +0 -13
  862. package/dist/cjs/api/resources/orgs/resources/connections/client/requests/ConnectionsListCouriersV1Request.d.ts +0 -17
  863. package/dist/cjs/api/resources/orgs/resources/connections/client/requests/ConnectionsListForwardersV1Request.d.ts +0 -17
  864. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/courier/client/Client.d.ts +0 -83
  865. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/courier/client/Client.js +0 -297
  866. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/courier/client/requests/CourierOrgInfoForConnectionsClientCreate1.d.ts +0 -24
  867. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/courier/client/requests/CourierOrgInfoForConnectionsClientUpdate1.d.ts +0 -29
  868. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/courier/client/requests/index.d.ts +0 -2
  869. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/forwarder/client/Client.d.ts +0 -73
  870. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/forwarder/client/Client.js +0 -246
  871. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/forwarder/client/requests/ForwarderOrgInfoForConnectionsClientCreate1.d.ts +0 -24
  872. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/forwarder/client/requests/ForwarderOrgInfoForConnectionsClientUpdate1.d.ts +0 -29
  873. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/forwarder/client/requests/index.d.ts +0 -2
  874. package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/requests/CourierOrgProfileClientCreate1.d.ts +0 -19
  875. package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/requests/CourierOrgProfileClientUpdate1.d.ts +0 -12
  876. package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/requests/ForwarderOrgProfileClientCreate1.d.ts +0 -19
  877. package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/requests/ForwarderOrgProfileClientUpdate1.d.ts +0 -12
  878. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/SetServiceTypeReq.d.ts +0 -14
  879. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/UpdateCourierOrgDraftReq.d.ts +0 -13
  880. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForForwarderOperatorsV1Request.d.ts +0 -58
  881. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/UpdateCourierOrgReq.d.ts +0 -13
  882. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForCourierDriverV1Request.d.ts +0 -58
  883. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForCourierOperatorsV1Request.d.ts +0 -60
  884. package/dist/cjs/api/types/ChrtGroundCourierTaskActionEnum1.d.ts +0 -13
  885. package/dist/cjs/api/types/ChrtGroundCourierTaskActionEnum1.js +0 -15
  886. package/dist/cjs/api/types/CourierConnectionListRes.d.ts +0 -8
  887. package/dist/cjs/api/types/CourierConnectionRes.d.ts +0 -8
  888. package/dist/cjs/api/types/CourierOrgInfoForConnections1.d.ts +0 -22
  889. package/dist/cjs/api/types/CourierOrgProfile1.d.ts +0 -13
  890. package/dist/cjs/api/types/FlightTaskActionEnum1.d.ts +0 -13
  891. package/dist/cjs/api/types/FlightTaskActionEnum1.js +0 -15
  892. package/dist/cjs/api/types/ForwarderConnectionListRes.d.ts +0 -8
  893. package/dist/cjs/api/types/ForwarderConnectionRes.d.ts +0 -8
  894. package/dist/cjs/api/types/ForwarderCourierConnection1.d.ts +0 -15
  895. package/dist/cjs/api/types/ForwarderOrgInfoForConnections1.d.ts +0 -22
  896. package/dist/cjs/api/types/ForwarderOrgProfile1.d.ts +0 -13
  897. package/dist/cjs/api/types/OrgProfileRes1.d.ts +0 -8
  898. package/dist/cjs/api/types/PaymentRoleFilterEnum.d.ts +0 -8
  899. package/dist/cjs/api/types/PaymentRoleFilterEnum.js +0 -10
  900. package/dist/cjs/api/types/PaymentVectorTypeEnum1.d.ts +0 -10
  901. package/dist/cjs/api/types/PaymentVectorTypeEnum1.js +0 -12
  902. package/dist/cjs/api/types/Quote.d.ts +0 -12
  903. package/dist/cjs/api/types/RateSheet1.d.ts +0 -33
  904. package/dist/cjs/api/types/RateSheetListResponse.d.ts +0 -11
  905. package/dist/cjs/api/types/RateSheetSortByEnum.d.ts +0 -11
  906. package/dist/cjs/api/types/RateSheetSortByEnum.js +0 -10
  907. package/dist/cjs/api/types/ServiceTypeEnum1.d.ts +0 -8
  908. package/dist/cjs/api/types/ServiceTypeEnum1.js +0 -10
  909. package/dist/cjs/api/types/ShipperCourierConnection1.d.ts +0 -15
  910. package/dist/cjs/api/types/ShipperForwarderConnection1.d.ts +0 -15
  911. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/AdjustLineItemReq.d.mts +0 -18
  912. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupsAssociateWithStatementV1Request.d.mts +0 -12
  913. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupsListForCourierOrgV1Request.d.mts +0 -32
  914. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupsQuoteV1Request.d.mts +0 -17
  915. package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/Client.d.mts +0 -113
  916. package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/Client.mjs +0 -352
  917. package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/requests/AdHocRemoveLineItemV1Request.d.mts +0 -13
  918. package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/requests/CreateAdHocLineItemGroupReq.d.mts +0 -27
  919. package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/requests/LineItemClientCreate1.d.mts +0 -22
  920. package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/requests/SetAdHocTaskGroupReq.d.mts +0 -12
  921. package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/requests/index.d.mts +0 -4
  922. package/dist/esm/api/resources/billing/resources/rateSheets/client/Client.d.mts +0 -186
  923. package/dist/esm/api/resources/billing/resources/rateSheets/client/Client.mjs +0 -680
  924. package/dist/esm/api/resources/billing/resources/rateSheets/client/requests/RateSheetClientCreate1.d.mts +0 -37
  925. package/dist/esm/api/resources/billing/resources/rateSheets/client/requests/RateSheetClientUpdate1.d.mts +0 -16
  926. package/dist/esm/api/resources/billing/resources/rateSheets/client/requests/RateSheetsArchiveV1Request.d.mts +0 -12
  927. package/dist/esm/api/resources/billing/resources/rateSheets/client/requests/RateSheetsListByOrgV1Request.d.mts +0 -36
  928. package/dist/esm/api/resources/billing/resources/rateSheets/client/requests/RateSheetsUpdateDefaultForConnectionV1Request.d.mts +0 -17
  929. package/dist/esm/api/resources/billing/resources/rateSheets/client/requests/RateSheetsUpdateDefaultForDriverV1Request.d.mts +0 -17
  930. package/dist/esm/api/resources/billing/resources/rateSheets/client/requests/RateSheetsUpdateDefaultForOffChrtShipperV1Request.d.mts +0 -17
  931. package/dist/esm/api/resources/billing/resources/rateSheets/client/requests/RateSheetsUpdateOrgDefaultForServiceTypeV1Request.d.mts +0 -17
  932. package/dist/esm/api/resources/billing/resources/rateSheets/client/requests/index.d.mts +0 -8
  933. package/dist/esm/api/resources/billing/resources/statements/client/requests/BodyStatementsPatchUpdateOffChrtSettlementStateV1BillingStatementsUpdateOffChrtSettlementStateV1StatementIdPatch.d.mts +0 -13
  934. package/dist/esm/api/resources/billing/resources/statements/client/requests/BodyStatementsPatchUpdateSettlementTypeV1BillingStatementsUpdateSettlementTypeV1StatementIdPatch.d.mts +0 -13
  935. package/dist/esm/api/resources/billing/resources/statements/client/requests/CreateStatementReq.d.mts +0 -25
  936. package/dist/esm/api/resources/billing/resources/statements/client/requests/OpenInvoiceReq.d.mts +0 -13
  937. package/dist/esm/api/resources/orgs/resources/connections/client/requests/ConnectionsListCouriersV1Request.d.mts +0 -17
  938. package/dist/esm/api/resources/orgs/resources/connections/client/requests/ConnectionsListForwardersV1Request.d.mts +0 -17
  939. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/courier/client/Client.d.mts +0 -83
  940. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/courier/client/Client.mjs +0 -260
  941. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/courier/client/requests/CourierOrgInfoForConnectionsClientCreate1.d.mts +0 -24
  942. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/courier/client/requests/CourierOrgInfoForConnectionsClientUpdate1.d.mts +0 -29
  943. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/courier/client/requests/index.d.mts +0 -2
  944. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/forwarder/client/Client.d.mts +0 -73
  945. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/forwarder/client/Client.mjs +0 -209
  946. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/forwarder/client/requests/ForwarderOrgInfoForConnectionsClientCreate1.d.mts +0 -24
  947. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/forwarder/client/requests/ForwarderOrgInfoForConnectionsClientUpdate1.d.mts +0 -29
  948. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/forwarder/client/requests/index.d.mts +0 -2
  949. package/dist/esm/api/resources/orgs/resources/orgProfiles/client/requests/CourierOrgProfileClientCreate1.d.mts +0 -19
  950. package/dist/esm/api/resources/orgs/resources/orgProfiles/client/requests/CourierOrgProfileClientUpdate1.d.mts +0 -12
  951. package/dist/esm/api/resources/orgs/resources/orgProfiles/client/requests/ForwarderOrgProfileClientCreate1.d.mts +0 -19
  952. package/dist/esm/api/resources/orgs/resources/orgProfiles/client/requests/ForwarderOrgProfileClientUpdate1.d.mts +0 -12
  953. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/SetServiceTypeReq.d.mts +0 -14
  954. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/UpdateCourierOrgDraftReq.d.mts +0 -13
  955. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForForwarderOperatorsV1Request.d.mts +0 -58
  956. package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/UpdateCourierOrgReq.d.mts +0 -13
  957. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForCourierDriverV1Request.d.mts +0 -58
  958. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForCourierOperatorsV1Request.d.mts +0 -60
  959. package/dist/esm/api/types/ChrtGroundCourierTaskActionEnum1.d.mts +0 -13
  960. package/dist/esm/api/types/ChrtGroundCourierTaskActionEnum1.mjs +0 -12
  961. package/dist/esm/api/types/CourierConnectionListRes.d.mts +0 -8
  962. package/dist/esm/api/types/CourierConnectionRes.d.mts +0 -8
  963. package/dist/esm/api/types/CourierOrgInfoForConnections1.d.mts +0 -22
  964. package/dist/esm/api/types/CourierOrgProfile1.d.mts +0 -13
  965. package/dist/esm/api/types/FlightTaskActionEnum1.d.mts +0 -13
  966. package/dist/esm/api/types/FlightTaskActionEnum1.mjs +0 -12
  967. package/dist/esm/api/types/ForwarderConnectionListRes.d.mts +0 -8
  968. package/dist/esm/api/types/ForwarderConnectionRes.d.mts +0 -8
  969. package/dist/esm/api/types/ForwarderCourierConnection1.d.mts +0 -15
  970. package/dist/esm/api/types/ForwarderOrgInfoForConnections1.d.mts +0 -22
  971. package/dist/esm/api/types/ForwarderOrgProfile1.d.mts +0 -13
  972. package/dist/esm/api/types/OrgProfileRes1.d.mts +0 -8
  973. package/dist/esm/api/types/PaymentRoleFilterEnum.d.mts +0 -8
  974. package/dist/esm/api/types/PaymentRoleFilterEnum.mjs +0 -7
  975. package/dist/esm/api/types/PaymentVectorTypeEnum1.d.mts +0 -10
  976. package/dist/esm/api/types/PaymentVectorTypeEnum1.mjs +0 -9
  977. package/dist/esm/api/types/Quote.d.mts +0 -12
  978. package/dist/esm/api/types/RateSheet1.d.mts +0 -33
  979. package/dist/esm/api/types/RateSheetListResponse.d.mts +0 -11
  980. package/dist/esm/api/types/RateSheetSortByEnum.d.mts +0 -11
  981. package/dist/esm/api/types/RateSheetSortByEnum.mjs +0 -7
  982. package/dist/esm/api/types/ServiceTypeEnum1.d.mts +0 -8
  983. package/dist/esm/api/types/ServiceTypeEnum1.mjs +0 -7
  984. package/dist/esm/api/types/ShipperCourierConnection1.d.mts +0 -15
  985. package/dist/esm/api/types/ShipperForwarderConnection1.d.mts +0 -15
  986. /package/dist/cjs/api/resources/billing/resources/{lineItemGroups/resources/adHoc → billingLedgerPeriods}/client/index.d.ts +0 -0
  987. /package/dist/cjs/api/resources/billing/resources/{lineItemGroups/resources/adHoc → billingLedgerPeriods}/client/index.js +0 -0
  988. /package/dist/cjs/api/resources/billing/resources/{lineItemGroups/client/requests/AdjustLineItemReq.js → billingLedgerPeriods/client/requests/BillingLedgerPeriodClientUpdate1.js} +0 -0
  989. /package/dist/cjs/api/resources/billing/resources/{lineItemGroups/client/requests/LineItemGroupsAssociateWithStatementV1Request.js → billingLedgerPeriods/client/requests/BillingLedgerPeriodsListV1Request.js} +0 -0
  990. /package/dist/cjs/api/resources/billing/resources/{lineItemGroups/client/requests/LineItemGroupsListForCourierOrgV1Request.js → billingLedgerPeriods/client/requests/OpenPeriodReq.js} +0 -0
  991. /package/dist/cjs/api/resources/billing/resources/{lineItemGroups/resources/adHoc → billingLedgerPeriods}/client/requests/index.js +0 -0
  992. /package/dist/cjs/api/resources/billing/resources/{lineItemGroups/resources/adHoc → billingLedgerPeriods}/index.d.ts +0 -0
  993. /package/dist/cjs/api/resources/billing/resources/{lineItemGroups/resources/adHoc → billingLedgerPeriods}/index.js +0 -0
  994. /package/dist/cjs/api/resources/billing/resources/{rateSheets → billingLedgers}/client/index.d.ts +0 -0
  995. /package/dist/cjs/api/resources/billing/resources/{rateSheets → billingLedgers}/client/index.js +0 -0
  996. /package/dist/cjs/api/resources/billing/resources/{lineItemGroups/client/requests/LineItemGroupsQuoteV1Request.js → billingLedgers/client/requests/BillingLedgerClientCreate1.js} +0 -0
  997. /package/dist/cjs/api/resources/billing/resources/{lineItemGroups/resources/adHoc/client/requests/AdHocRemoveLineItemV1Request.js → billingLedgers/client/requests/BillingLedgerClientUpdate1.js} +0 -0
  998. /package/dist/cjs/api/resources/billing/resources/{lineItemGroups/resources/adHoc/client/requests/CreateAdHocLineItemGroupReq.js → billingLedgers/client/requests/BillingLedgersListV1Request.js} +0 -0
  999. /package/dist/cjs/api/resources/billing/resources/{rateSheets → billingLedgers}/client/requests/index.js +0 -0
  1000. /package/dist/cjs/api/resources/billing/resources/{rateSheets → billingLedgers}/index.d.ts +0 -0
  1001. /package/dist/cjs/api/resources/billing/resources/{rateSheets → billingLedgers}/index.js +0 -0
  1002. /package/dist/cjs/api/resources/{orgs/resources/orgInfoForConnections/resources/courier → billing/resources/cargoOnFlightRateSheets}/client/index.d.ts +0 -0
  1003. /package/dist/cjs/api/resources/{orgs/resources/orgInfoForConnections/resources/courier → billing/resources/cargoOnFlightRateSheets}/client/index.js +0 -0
  1004. /package/dist/cjs/api/resources/billing/resources/{lineItemGroups/resources/adHoc/client/requests/LineItemClientCreate1.js → cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetClientCreate1.js} +0 -0
  1005. /package/dist/cjs/api/resources/billing/resources/{lineItemGroups/resources/adHoc/client/requests/SetAdHocTaskGroupReq.js → cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetClientUpdate1.js} +0 -0
  1006. /package/dist/cjs/api/resources/billing/resources/{rateSheets/client/requests/RateSheetClientCreate1.js → cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetsListV1Request.js} +0 -0
  1007. /package/dist/cjs/api/resources/{orgs/resources/orgInfoForConnections/resources/courier → billing/resources/cargoOnFlightRateSheets}/client/requests/index.js +0 -0
  1008. /package/dist/cjs/api/resources/{orgs/resources/orgInfoForConnections/resources/courier → billing/resources/cargoOnFlightRateSheets}/index.d.ts +0 -0
  1009. /package/dist/cjs/api/resources/{orgs/resources/orgInfoForConnections/resources/courier → billing/resources/cargoOnFlightRateSheets}/index.js +0 -0
  1010. /package/dist/cjs/api/resources/{orgs/resources/orgInfoForConnections/resources/forwarder → billing/resources/chrtGroundProviderRateSheets}/client/index.d.ts +0 -0
  1011. /package/dist/cjs/api/resources/{orgs/resources/orgInfoForConnections/resources/forwarder → billing/resources/chrtGroundProviderRateSheets}/client/index.js +0 -0
  1012. /package/dist/cjs/api/resources/billing/resources/{rateSheets/client/requests/RateSheetClientUpdate1.js → chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetClientCreate1.js} +0 -0
  1013. /package/dist/cjs/api/resources/billing/resources/{rateSheets/client/requests/RateSheetsArchiveV1Request.js → chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetClientUpdate1.js} +0 -0
  1014. /package/dist/cjs/api/resources/billing/resources/{rateSheets/client/requests/RateSheetsListByOrgV1Request.js → chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetsListV1Request.js} +0 -0
  1015. /package/dist/cjs/api/resources/{orgs/resources/orgInfoForConnections/resources/forwarder → billing/resources/chrtGroundProviderRateSheets}/client/requests/index.js +0 -0
  1016. /package/dist/cjs/api/resources/{orgs/resources/orgInfoForConnections/resources/forwarder → billing/resources/chrtGroundProviderRateSheets}/index.d.ts +0 -0
  1017. /package/dist/cjs/api/resources/{orgs/resources/orgInfoForConnections/resources/forwarder → billing/resources/chrtGroundProviderRateSheets}/index.js +0 -0
  1018. /package/dist/cjs/api/resources/billing/resources/{rateSheets/client/requests/RateSheetsUpdateDefaultForConnectionV1Request.js → lineItemGroups/client/requests/LineItemGroupAdHocCreateClientReq.js} +0 -0
  1019. /package/dist/cjs/api/resources/billing/resources/{rateSheets/client/requests/RateSheetsUpdateDefaultForDriverV1Request.js → lineItemGroups/client/requests/LineItemGroupsListV1Request.js} +0 -0
  1020. /package/dist/cjs/api/resources/billing/resources/{rateSheets/client/requests/RateSheetsUpdateDefaultForOffChrtShipperV1Request.js → onboardCourierRateSheets/client/requests/OnboardCourierRateSheetClientCreate1.js} +0 -0
  1021. /package/dist/cjs/api/resources/billing/resources/{rateSheets/client/requests/RateSheetsUpdateOrgDefaultForServiceTypeV1Request.js → onboardCourierRateSheets/client/requests/OnboardCourierRateSheetClientUpdate1.js} +0 -0
  1022. /package/dist/cjs/api/resources/billing/resources/{statements/client/requests/BodyStatementsPatchUpdateOffChrtSettlementStateV1BillingStatementsUpdateOffChrtSettlementStateV1StatementIdPatch.js → onboardCourierRateSheets/client/requests/OnboardCourierRateSheetsListV1Request.js} +0 -0
  1023. /package/dist/cjs/api/resources/billing/resources/{statements/client/requests/BodyStatementsPatchUpdateSettlementTypeV1BillingStatementsUpdateSettlementTypeV1StatementIdPatch.js → rateSheetMappings/client/requests/RateSheetMappingClientCreate1.js} +0 -0
  1024. /package/dist/cjs/api/resources/billing/resources/{statements/client/requests/CreateStatementReq.js → rateSheetMappings/client/requests/RateSheetMappingsListV1Request.js} +0 -0
  1025. /package/dist/cjs/api/resources/billing/resources/statements/client/requests/{OpenInvoiceReq.js → StatementCreateClientReq.js} +0 -0
  1026. /package/dist/cjs/api/resources/{orgs/resources/connections/client/requests/ConnectionsListCouriersV1Request.js → billing/resources/statements/client/requests/StatementUpdateSettlementTypeReq.js} +0 -0
  1027. /package/dist/{esm/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/requests/index.mjs → cjs/api/resources/listing/client/index.d.ts} +0 -0
  1028. /package/dist/cjs/api/resources/{orgs/resources/connections/client/requests/ConnectionsListForwardersV1Request.js → listing/resources/bidThreads/client/requests/BidThreadClientCreate1.js} +0 -0
  1029. /package/dist/cjs/api/resources/{orgs/resources/orgInfoForConnections/resources/courier/client/requests/CourierOrgInfoForConnectionsClientCreate1.js → listing/resources/bidThreads/client/requests/BidThreadsListForBidderV1Request.js} +0 -0
  1030. /package/dist/cjs/api/resources/{orgs/resources/orgInfoForConnections/resources/courier/client/requests/CourierOrgInfoForConnectionsClientUpdate1.js → listing/resources/bidThreads/client/requests/BidThreadsListForListingV1Request.js} +0 -0
  1031. /package/dist/cjs/api/resources/{orgs/resources/orgInfoForConnections/resources/forwarder/client/requests/ForwarderOrgInfoForConnectionsClientCreate1.js → listing/resources/driverBiddingGroups/client/requests/DriverBiddingGroupClientCreate1.js} +0 -0
  1032. /package/dist/cjs/api/resources/{orgs/resources/orgInfoForConnections/resources/forwarder/client/requests/ForwarderOrgInfoForConnectionsClientUpdate1.js → listing/resources/driverBiddingGroups/client/requests/DriverBiddingGroupsListByOrgV1Request.js} +0 -0
  1033. /package/dist/cjs/api/resources/{orgs/resources/orgProfiles/client/requests/CourierOrgProfileClientCreate1.js → listing/resources/driverBiddingGroups/client/requests/DriverBiddingGroupsUpdateNameV1Request.js} +0 -0
  1034. /package/dist/cjs/api/resources/{orgs/resources/orgProfiles/client/requests/CourierOrgProfileClientUpdate1.js → listing/resources/listings/client/requests/ListingAddDriverParticipantsReq.js} +0 -0
  1035. /package/dist/cjs/api/resources/{orgs/resources/orgProfiles/client/requests/ForwarderOrgProfileClientCreate1.js → listing/resources/listings/client/requests/ListingAddProviderParticipantsReq.js} +0 -0
  1036. /package/dist/cjs/api/resources/{orgs/resources/orgProfiles/client/requests/ForwarderOrgProfileClientUpdate1.js → listing/resources/listings/client/requests/ListingClientCreate1.js} +0 -0
  1037. /package/dist/cjs/api/resources/{shipping/resources/orderDrafts/resources/taskGroup/client/requests/SetServiceTypeReq.js → listing/resources/listings/client/requests/ListingClientUpdate1.js} +0 -0
  1038. /package/dist/cjs/api/resources/{shipping/resources/orderDrafts/resources/taskGroup/client/requests/UpdateCourierOrgDraftReq.js → listing/resources/listings/client/requests/ListingRemoveDriverParticipantsReq.js} +0 -0
  1039. /package/dist/cjs/api/resources/{shipping/resources/orders/resources/expanded/client/requests/ExpandedListForForwarderOperatorsV1Request.js → listing/resources/listings/client/requests/ListingRemoveProviderParticipantsReq.js} +0 -0
  1040. /package/dist/cjs/api/resources/{shipping/resources/taskGroups/client/requests/UpdateCourierOrgReq.js → listing/resources/listings/client/requests/ListingsListByOrgV1Request.js} +0 -0
  1041. /package/dist/cjs/api/resources/{shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForCourierDriverV1Request.js → listing/resources/listings/client/requests/ListingsListForDriverBidderV1Request.js} +0 -0
  1042. /package/dist/cjs/api/resources/{shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForCourierOperatorsV1Request.js → listing/resources/listings/client/requests/ListingsListForProviderBidderV1Request.js} +0 -0
  1043. /package/dist/cjs/api/{types/CourierConnectionListRes.js → resources/listing/resources/orgBiddingGroups/client/requests/OrgBiddingGroupClientCreate1.js} +0 -0
  1044. /package/dist/cjs/api/{types/CourierConnectionRes.js → resources/listing/resources/orgBiddingGroups/client/requests/OrgBiddingGroupsListByOrgV1Request.js} +0 -0
  1045. /package/dist/cjs/api/{types/CourierOrgInfoForConnections1.js → resources/listing/resources/orgBiddingGroups/client/requests/OrgBiddingGroupsUpdateNameV1Request.js} +0 -0
  1046. /package/dist/{esm/api/resources/billing/resources/rateSheets/client/requests/index.mjs → cjs/api/resources/operations/client/index.d.ts} +0 -0
  1047. /package/dist/cjs/api/{types/CourierOrgProfile1.js → resources/operations/resources/cases/client/requests/CaseAddMessageReq.js} +0 -0
  1048. /package/dist/cjs/api/{types/ForwarderConnectionListRes.js → resources/operations/resources/cases/client/requests/CaseAssignReq.js} +0 -0
  1049. /package/dist/cjs/api/{types/ForwarderConnectionRes.js → resources/operations/resources/cases/client/requests/CaseClientUpdate1.js} +0 -0
  1050. /package/dist/cjs/api/{types/ForwarderCourierConnection1.js → resources/operations/resources/cases/client/requests/CaseUnassignReq.js} +0 -0
  1051. /package/dist/cjs/api/{types/ForwarderOrgInfoForConnections1.js → resources/operations/resources/cases/client/requests/CasesListV1Request.js} +0 -0
  1052. /package/dist/cjs/api/{types/ForwarderOrgProfile1.js → resources/operations/resources/departments/client/requests/DepartmentClientCreate1.js} +0 -0
  1053. /package/dist/cjs/api/{types/OrgProfileRes1.js → resources/operations/resources/departments/client/requests/DepartmentClientUpdate1.js} +0 -0
  1054. /package/dist/cjs/api/{types/Quote.js → resources/operations/resources/departments/client/requests/DepartmentsListV1Request.js} +0 -0
  1055. /package/dist/cjs/api/{types/RateSheet1.js → resources/orgs/resources/connections/client/requests/ConnectionsListProvidersV1Request.js} +0 -0
  1056. /package/dist/cjs/api/{types/RateSheetListResponse.js → resources/orgs/resources/connections/client/requests/ProviderProviderUpdateAutoAssignReq.js} +0 -0
  1057. /package/dist/cjs/api/{types/ShipperCourierConnection1.js → resources/orgs/resources/connections/client/requests/SetDepartmentReq.js} +0 -0
  1058. /package/dist/cjs/api/{types/ShipperForwarderConnection1.js → resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientCreate1.js} +0 -0
  1059. /package/dist/esm/api/resources/billing/resources/{lineItemGroups/resources/adHoc → billingLedgerPeriods}/client/index.d.mts +0 -0
  1060. /package/dist/esm/api/resources/billing/resources/{lineItemGroups/resources/adHoc → billingLedgerPeriods}/client/index.mjs +0 -0
  1061. /package/dist/esm/api/resources/billing/resources/{lineItemGroups/client/requests/AdjustLineItemReq.mjs → billingLedgerPeriods/client/requests/BillingLedgerPeriodClientUpdate1.mjs} +0 -0
  1062. /package/dist/esm/api/resources/billing/resources/{lineItemGroups/client/requests/LineItemGroupsAssociateWithStatementV1Request.mjs → billingLedgerPeriods/client/requests/BillingLedgerPeriodsListV1Request.mjs} +0 -0
  1063. /package/dist/esm/api/resources/billing/resources/{lineItemGroups/client/requests/LineItemGroupsListForCourierOrgV1Request.mjs → billingLedgerPeriods/client/requests/OpenPeriodReq.mjs} +0 -0
  1064. /package/dist/esm/api/resources/{orgs/resources/orgInfoForConnections/resources/courier → billing/resources/billingLedgerPeriods}/client/requests/index.mjs +0 -0
  1065. /package/dist/esm/api/resources/billing/resources/{lineItemGroups/resources/adHoc → billingLedgerPeriods}/index.d.mts +0 -0
  1066. /package/dist/esm/api/resources/billing/resources/{lineItemGroups/resources/adHoc → billingLedgerPeriods}/index.mjs +0 -0
  1067. /package/dist/esm/api/resources/billing/resources/{rateSheets → billingLedgers}/client/index.d.mts +0 -0
  1068. /package/dist/esm/api/resources/billing/resources/{rateSheets → billingLedgers}/client/index.mjs +0 -0
  1069. /package/dist/esm/api/resources/billing/resources/{lineItemGroups/client/requests/LineItemGroupsQuoteV1Request.mjs → billingLedgers/client/requests/BillingLedgerClientCreate1.mjs} +0 -0
  1070. /package/dist/esm/api/resources/billing/resources/{lineItemGroups/resources/adHoc/client/requests/AdHocRemoveLineItemV1Request.mjs → billingLedgers/client/requests/BillingLedgerClientUpdate1.mjs} +0 -0
  1071. /package/dist/esm/api/resources/billing/resources/{lineItemGroups/resources/adHoc/client/requests/CreateAdHocLineItemGroupReq.mjs → billingLedgers/client/requests/BillingLedgersListV1Request.mjs} +0 -0
  1072. /package/dist/esm/api/resources/{orgs/resources/orgInfoForConnections/resources/forwarder → billing/resources/billingLedgers}/client/requests/index.mjs +0 -0
  1073. /package/dist/esm/api/resources/billing/resources/{rateSheets → billingLedgers}/index.d.mts +0 -0
  1074. /package/dist/esm/api/resources/billing/resources/{rateSheets → billingLedgers}/index.mjs +0 -0
  1075. /package/dist/esm/api/resources/{orgs/resources/orgInfoForConnections/resources/courier → billing/resources/cargoOnFlightRateSheets}/client/index.d.mts +0 -0
  1076. /package/dist/esm/api/resources/{orgs/resources/orgInfoForConnections/resources/courier → billing/resources/cargoOnFlightRateSheets}/client/index.mjs +0 -0
  1077. /package/dist/esm/api/resources/billing/resources/{lineItemGroups/resources/adHoc/client/requests/LineItemClientCreate1.mjs → cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetClientCreate1.mjs} +0 -0
  1078. /package/dist/esm/api/resources/billing/resources/{lineItemGroups/resources/adHoc/client/requests/SetAdHocTaskGroupReq.mjs → cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetClientUpdate1.mjs} +0 -0
  1079. /package/dist/esm/api/resources/billing/resources/{rateSheets/client/requests/RateSheetClientCreate1.mjs → cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetsListV1Request.mjs} +0 -0
  1080. /package/dist/esm/api/resources/{orgs/resources/orgInfoForConnections/resources/courier → billing/resources/cargoOnFlightRateSheets}/index.d.mts +0 -0
  1081. /package/dist/esm/api/resources/{orgs/resources/orgInfoForConnections/resources/courier → billing/resources/cargoOnFlightRateSheets}/index.mjs +0 -0
  1082. /package/dist/esm/api/resources/{orgs/resources/orgInfoForConnections/resources/forwarder → billing/resources/chrtGroundProviderRateSheets}/client/index.d.mts +0 -0
  1083. /package/dist/esm/api/resources/{orgs/resources/orgInfoForConnections/resources/forwarder → billing/resources/chrtGroundProviderRateSheets}/client/index.mjs +0 -0
  1084. /package/dist/esm/api/resources/billing/resources/{rateSheets/client/requests/RateSheetClientUpdate1.mjs → chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetClientCreate1.mjs} +0 -0
  1085. /package/dist/esm/api/resources/billing/resources/{rateSheets/client/requests/RateSheetsArchiveV1Request.mjs → chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetClientUpdate1.mjs} +0 -0
  1086. /package/dist/esm/api/resources/billing/resources/{rateSheets/client/requests/RateSheetsListByOrgV1Request.mjs → chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetsListV1Request.mjs} +0 -0
  1087. /package/dist/esm/api/resources/{orgs/resources/orgInfoForConnections/resources/forwarder → billing/resources/chrtGroundProviderRateSheets}/index.d.mts +0 -0
  1088. /package/dist/esm/api/resources/{orgs/resources/orgInfoForConnections/resources/forwarder → billing/resources/chrtGroundProviderRateSheets}/index.mjs +0 -0
  1089. /package/dist/esm/api/resources/billing/resources/{rateSheets/client/requests/RateSheetsUpdateDefaultForConnectionV1Request.mjs → lineItemGroups/client/requests/LineItemGroupAdHocCreateClientReq.mjs} +0 -0
  1090. /package/dist/esm/api/resources/billing/resources/{rateSheets/client/requests/RateSheetsUpdateDefaultForDriverV1Request.mjs → lineItemGroups/client/requests/LineItemGroupsListV1Request.mjs} +0 -0
  1091. /package/dist/esm/api/resources/billing/resources/{rateSheets/client/requests/RateSheetsUpdateDefaultForOffChrtShipperV1Request.mjs → onboardCourierRateSheets/client/requests/OnboardCourierRateSheetClientCreate1.mjs} +0 -0
  1092. /package/dist/esm/api/resources/billing/resources/{rateSheets/client/requests/RateSheetsUpdateOrgDefaultForServiceTypeV1Request.mjs → onboardCourierRateSheets/client/requests/OnboardCourierRateSheetClientUpdate1.mjs} +0 -0
  1093. /package/dist/esm/api/resources/billing/resources/{statements/client/requests/BodyStatementsPatchUpdateOffChrtSettlementStateV1BillingStatementsUpdateOffChrtSettlementStateV1StatementIdPatch.mjs → onboardCourierRateSheets/client/requests/OnboardCourierRateSheetsListV1Request.mjs} +0 -0
  1094. /package/dist/esm/api/resources/billing/resources/{statements/client/requests/BodyStatementsPatchUpdateSettlementTypeV1BillingStatementsUpdateSettlementTypeV1StatementIdPatch.mjs → rateSheetMappings/client/requests/RateSheetMappingClientCreate1.mjs} +0 -0
  1095. /package/dist/esm/api/resources/billing/resources/{statements/client/requests/CreateStatementReq.mjs → rateSheetMappings/client/requests/RateSheetMappingsListV1Request.mjs} +0 -0
  1096. /package/dist/esm/api/resources/billing/resources/statements/client/requests/{OpenInvoiceReq.mjs → StatementCreateClientReq.mjs} +0 -0
  1097. /package/dist/esm/api/resources/{orgs/resources/connections/client/requests/ConnectionsListCouriersV1Request.mjs → billing/resources/statements/client/requests/StatementUpdateSettlementTypeReq.mjs} +0 -0
  1098. /package/dist/esm/api/resources/{orgs/resources/connections/client/requests/ConnectionsListForwardersV1Request.mjs → listing/resources/bidThreads/client/requests/BidThreadClientCreate1.mjs} +0 -0
  1099. /package/dist/esm/api/resources/{orgs/resources/orgInfoForConnections/resources/courier/client/requests/CourierOrgInfoForConnectionsClientCreate1.mjs → listing/resources/bidThreads/client/requests/BidThreadsListForBidderV1Request.mjs} +0 -0
  1100. /package/dist/esm/api/resources/{orgs/resources/orgInfoForConnections/resources/courier/client/requests/CourierOrgInfoForConnectionsClientUpdate1.mjs → listing/resources/bidThreads/client/requests/BidThreadsListForListingV1Request.mjs} +0 -0
  1101. /package/dist/esm/api/resources/{orgs/resources/orgInfoForConnections/resources/forwarder/client/requests/ForwarderOrgInfoForConnectionsClientCreate1.mjs → listing/resources/driverBiddingGroups/client/requests/DriverBiddingGroupClientCreate1.mjs} +0 -0
  1102. /package/dist/esm/api/resources/{orgs/resources/orgInfoForConnections/resources/forwarder/client/requests/ForwarderOrgInfoForConnectionsClientUpdate1.mjs → listing/resources/driverBiddingGroups/client/requests/DriverBiddingGroupsListByOrgV1Request.mjs} +0 -0
  1103. /package/dist/esm/api/resources/{orgs/resources/orgProfiles/client/requests/CourierOrgProfileClientCreate1.mjs → listing/resources/driverBiddingGroups/client/requests/DriverBiddingGroupsUpdateNameV1Request.mjs} +0 -0
  1104. /package/dist/esm/api/resources/{orgs/resources/orgProfiles/client/requests/CourierOrgProfileClientUpdate1.mjs → listing/resources/listings/client/requests/ListingAddDriverParticipantsReq.mjs} +0 -0
  1105. /package/dist/esm/api/resources/{orgs/resources/orgProfiles/client/requests/ForwarderOrgProfileClientCreate1.mjs → listing/resources/listings/client/requests/ListingAddProviderParticipantsReq.mjs} +0 -0
  1106. /package/dist/esm/api/resources/{orgs/resources/orgProfiles/client/requests/ForwarderOrgProfileClientUpdate1.mjs → listing/resources/listings/client/requests/ListingClientCreate1.mjs} +0 -0
  1107. /package/dist/esm/api/resources/{shipping/resources/orderDrafts/resources/taskGroup/client/requests/SetServiceTypeReq.mjs → listing/resources/listings/client/requests/ListingClientUpdate1.mjs} +0 -0
  1108. /package/dist/esm/api/resources/{shipping/resources/orderDrafts/resources/taskGroup/client/requests/UpdateCourierOrgDraftReq.mjs → listing/resources/listings/client/requests/ListingRemoveDriverParticipantsReq.mjs} +0 -0
  1109. /package/dist/esm/api/resources/{shipping/resources/orders/resources/expanded/client/requests/ExpandedListForForwarderOperatorsV1Request.mjs → listing/resources/listings/client/requests/ListingRemoveProviderParticipantsReq.mjs} +0 -0
  1110. /package/dist/esm/api/resources/{shipping/resources/taskGroups/client/requests/UpdateCourierOrgReq.mjs → listing/resources/listings/client/requests/ListingsListByOrgV1Request.mjs} +0 -0
  1111. /package/dist/esm/api/resources/{shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForCourierDriverV1Request.mjs → listing/resources/listings/client/requests/ListingsListForDriverBidderV1Request.mjs} +0 -0
  1112. /package/dist/esm/api/resources/{shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForCourierOperatorsV1Request.mjs → listing/resources/listings/client/requests/ListingsListForProviderBidderV1Request.mjs} +0 -0
  1113. /package/dist/esm/api/{types/CourierConnectionListRes.mjs → resources/listing/resources/orgBiddingGroups/client/requests/OrgBiddingGroupClientCreate1.mjs} +0 -0
  1114. /package/dist/esm/api/{types/CourierConnectionRes.mjs → resources/listing/resources/orgBiddingGroups/client/requests/OrgBiddingGroupsListByOrgV1Request.mjs} +0 -0
  1115. /package/dist/esm/api/{types/CourierOrgInfoForConnections1.mjs → resources/listing/resources/orgBiddingGroups/client/requests/OrgBiddingGroupsUpdateNameV1Request.mjs} +0 -0
  1116. /package/dist/esm/api/{types/CourierOrgProfile1.mjs → resources/operations/resources/cases/client/requests/CaseAddMessageReq.mjs} +0 -0
  1117. /package/dist/esm/api/{types/ForwarderConnectionListRes.mjs → resources/operations/resources/cases/client/requests/CaseAssignReq.mjs} +0 -0
  1118. /package/dist/esm/api/{types/ForwarderConnectionRes.mjs → resources/operations/resources/cases/client/requests/CaseClientUpdate1.mjs} +0 -0
  1119. /package/dist/esm/api/{types/ForwarderCourierConnection1.mjs → resources/operations/resources/cases/client/requests/CaseUnassignReq.mjs} +0 -0
  1120. /package/dist/esm/api/{types/ForwarderOrgInfoForConnections1.mjs → resources/operations/resources/cases/client/requests/CasesListV1Request.mjs} +0 -0
  1121. /package/dist/esm/api/{types/ForwarderOrgProfile1.mjs → resources/operations/resources/departments/client/requests/DepartmentClientCreate1.mjs} +0 -0
  1122. /package/dist/esm/api/{types/OrgProfileRes1.mjs → resources/operations/resources/departments/client/requests/DepartmentClientUpdate1.mjs} +0 -0
  1123. /package/dist/esm/api/{types/Quote.mjs → resources/operations/resources/departments/client/requests/DepartmentsListV1Request.mjs} +0 -0
  1124. /package/dist/esm/api/{types/RateSheet1.mjs → resources/orgs/resources/connections/client/requests/ConnectionsListProvidersV1Request.mjs} +0 -0
  1125. /package/dist/esm/api/{types/RateSheetListResponse.mjs → resources/orgs/resources/connections/client/requests/ProviderProviderUpdateAutoAssignReq.mjs} +0 -0
  1126. /package/dist/esm/api/{types/ShipperCourierConnection1.mjs → resources/orgs/resources/connections/client/requests/SetDepartmentReq.mjs} +0 -0
  1127. /package/dist/esm/api/{types/ShipperForwarderConnection1.mjs → resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientCreate1.mjs} +0 -0
@@ -51,45 +51,40 @@ const core = __importStar(require("../../../../../../core/index.js"));
51
51
  const Chrt = __importStar(require("../../../../../index.js"));
52
52
  const headers_js_1 = require("../../../../../../core/headers.js");
53
53
  const errors = __importStar(require("../../../../../../errors/index.js"));
54
- const Client_js_1 = require("../resources/adHoc/client/Client.js");
55
- const Client_js_2 = require("../resources/messages/client/Client.js");
56
- const Client_js_3 = require("../resources/s3Objects/client/Client.js");
54
+ const Client_js_1 = require("../resources/messages/client/Client.js");
55
+ const Client_js_2 = require("../resources/s3Objects/client/Client.js");
57
56
  class LineItemGroups {
58
57
  constructor(_options = {}) {
59
58
  this._options = _options;
60
59
  }
61
- get adHoc() {
62
- var _a;
63
- return ((_a = this._adHoc) !== null && _a !== void 0 ? _a : (this._adHoc = new Client_js_1.AdHoc(this._options)));
64
- }
65
60
  get messages() {
66
61
  var _a;
67
- return ((_a = this._messages) !== null && _a !== void 0 ? _a : (this._messages = new Client_js_2.Messages(this._options)));
62
+ return ((_a = this._messages) !== null && _a !== void 0 ? _a : (this._messages = new Client_js_1.Messages(this._options)));
68
63
  }
69
64
  get s3Objects() {
70
65
  var _a;
71
- return ((_a = this._s3Objects) !== null && _a !== void 0 ? _a : (this._s3Objects = new Client_js_3.S3Objects(this._options)));
66
+ return ((_a = this._s3Objects) !== null && _a !== void 0 ? _a : (this._s3Objects = new Client_js_2.S3Objects(this._options)));
72
67
  }
73
68
  /**
74
- * Gets a line item group by ID. | authz_personas=[lig_org_operators, lig_driver] | () -> (LineItemGroup1)
69
+ * 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)
75
70
  *
76
- * @param {string} lineItemGroupId
71
+ * @param {string} id
77
72
  * @param {LineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
78
73
  *
79
74
  * @throws {@link Chrt.UnprocessableEntityError}
80
75
  *
81
76
  * @example
82
- * await client.billing.lineItemGroups.getV1("line_item_group_id")
77
+ * await client.billing.lineItemGroups.getByIdV1("id")
83
78
  */
84
- getV1(lineItemGroupId, requestOptions) {
85
- return core.HttpResponsePromise.fromPromise(this.__getV1(lineItemGroupId, requestOptions));
79
+ getByIdV1(id, requestOptions) {
80
+ return core.HttpResponsePromise.fromPromise(this.__getByIdV1(id, requestOptions));
86
81
  }
87
- __getV1(lineItemGroupId, requestOptions) {
82
+ __getByIdV1(id, requestOptions) {
88
83
  return __awaiter(this, void 0, void 0, function* () {
89
84
  var _a, _b, _c, _d;
90
85
  let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
91
86
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
92
- 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(lineItemGroupId)}`),
87
+ 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)}`),
93
88
  method: "GET",
94
89
  headers: _headers,
95
90
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -120,7 +115,7 @@ class LineItemGroups {
120
115
  rawResponse: _response.rawResponse,
121
116
  });
122
117
  case "timeout":
123
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /billing/line_item_groups/v1/{line_item_group_id}.");
118
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /billing/line_item_groups/by_id/v1/{id}.");
124
119
  case "unknown":
125
120
  throw new errors.ChrtError({
126
121
  message: _response.error.errorMessage,
@@ -130,34 +125,48 @@ class LineItemGroups {
130
125
  });
131
126
  }
132
127
  /**
133
- * Lists line item groups for the authenticated courier organization with filtering and pagination. | org_type=[courier], min_org_role=operator | () -> (LineItemGroupListRes)
128
+ * Lists LineItemGroups the caller owns, is a payment counterparty on, or is the destination driver for. | authz_personas=[lig_org_operators, lig_driver] | () -> (LineItemGroupListRes)
134
129
  *
135
- * @param {Chrt.billing.LineItemGroupsListForCourierOrgV1Request} request
130
+ * @param {Chrt.billing.LineItemGroupsListV1Request} request
136
131
  * @param {LineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
137
132
  *
138
133
  * @throws {@link Chrt.UnprocessableEntityError}
139
134
  *
140
135
  * @example
141
- * await client.billing.lineItemGroups.listForCourierOrgV1({
142
- * filter_driver_id: "filter_driver_id",
143
- * filter_attached_to_statement: true,
144
- * filter_order_id: "filter_order_id",
145
- * filter_payment_role: "origin",
136
+ * await client.billing.lineItemGroups.listV1({
146
137
  * sort_order: "asc",
147
138
  * page: 1,
148
- * page_size: 1
139
+ * page_size: 1,
140
+ * filter_status: ["staged"],
141
+ * filter_task_group_id: "filter_task_group_id",
142
+ * filter_order_id: "filter_order_id",
143
+ * filter_order_short_id: "filter_order_short_id",
144
+ * filter_order_off_chrt_reference_id: "filter_order_off_chrt_reference_id",
145
+ * filter_owned_by_org_id: "filter_owned_by_org_id",
146
+ * filter_payment_origin_org_id: "filter_payment_origin_org_id",
147
+ * filter_payment_destination_org_id: "filter_payment_destination_org_id",
148
+ * filter_payment_destination_driver_id: "filter_payment_destination_driver_id",
149
+ * filter_rate_sheet_id: "filter_rate_sheet_id",
150
+ * filter_statement_id: "filter_statement_id",
151
+ * filter_attached_to_statement: true
149
152
  * })
150
153
  */
151
- listForCourierOrgV1(request = {}, requestOptions) {
152
- return core.HttpResponsePromise.fromPromise(this.__listForCourierOrgV1(request, requestOptions));
154
+ listV1(request = {}, requestOptions) {
155
+ return core.HttpResponsePromise.fromPromise(this.__listV1(request, requestOptions));
153
156
  }
154
- __listForCourierOrgV1() {
157
+ __listV1() {
155
158
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
156
159
  var _a, _b, _c, _d, _e, _f, _g;
157
- const { filter_driver_id: filterDriverId, filter_status: filterStatus, filter_attached_to_statement: filterAttachedToStatement, filter_order_id: filterOrderId, filter_payment_role: filterPaymentRole, sort_order: sortOrder, page, page_size: pageSize, } = request;
160
+ 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;
158
161
  const _queryParams = {};
159
- if (filterDriverId !== undefined) {
160
- _queryParams["filter_driver_id"] = filterDriverId;
162
+ if (sortOrder !== undefined) {
163
+ _queryParams["sort_order"] = sortOrder;
164
+ }
165
+ if (page !== undefined) {
166
+ _queryParams["page"] = (_a = page === null || page === void 0 ? void 0 : page.toString()) !== null && _a !== void 0 ? _a : null;
167
+ }
168
+ if (pageSize !== undefined) {
169
+ _queryParams["page_size"] = (_b = pageSize === null || pageSize === void 0 ? void 0 : pageSize.toString()) !== null && _b !== void 0 ? _b : null;
161
170
  }
162
171
  if (filterStatus !== undefined) {
163
172
  if (Array.isArray(filterStatus)) {
@@ -167,27 +176,42 @@ class LineItemGroups {
167
176
  _queryParams["filter_status"] = filterStatus;
168
177
  }
169
178
  }
170
- if (filterAttachedToStatement !== undefined) {
171
- _queryParams["filter_attached_to_statement"] = (_a = filterAttachedToStatement === null || filterAttachedToStatement === void 0 ? void 0 : filterAttachedToStatement.toString()) !== null && _a !== void 0 ? _a : null;
179
+ if (filterTaskGroupId !== undefined) {
180
+ _queryParams["filter_task_group_id"] = filterTaskGroupId;
172
181
  }
173
182
  if (filterOrderId !== undefined) {
174
183
  _queryParams["filter_order_id"] = filterOrderId;
175
184
  }
176
- if (filterPaymentRole !== undefined) {
177
- _queryParams["filter_payment_role"] = filterPaymentRole;
185
+ if (filterOrderShortId !== undefined) {
186
+ _queryParams["filter_order_short_id"] = filterOrderShortId;
178
187
  }
179
- if (sortOrder !== undefined) {
180
- _queryParams["sort_order"] = sortOrder;
188
+ if (filterOrderOffChrtReferenceId !== undefined) {
189
+ _queryParams["filter_order_off_chrt_reference_id"] = filterOrderOffChrtReferenceId;
181
190
  }
182
- if (page !== undefined) {
183
- _queryParams["page"] = (_b = page === null || page === void 0 ? void 0 : page.toString()) !== null && _b !== void 0 ? _b : null;
191
+ if (filterOwnedByOrgId !== undefined) {
192
+ _queryParams["filter_owned_by_org_id"] = filterOwnedByOrgId;
184
193
  }
185
- if (pageSize !== undefined) {
186
- _queryParams["page_size"] = (_c = pageSize === null || pageSize === void 0 ? void 0 : pageSize.toString()) !== null && _c !== void 0 ? _c : null;
194
+ if (filterPaymentOriginOrgId !== undefined) {
195
+ _queryParams["filter_payment_origin_org_id"] = filterPaymentOriginOrgId;
196
+ }
197
+ if (filterPaymentDestinationOrgId !== undefined) {
198
+ _queryParams["filter_payment_destination_org_id"] = filterPaymentDestinationOrgId;
199
+ }
200
+ if (filterPaymentDestinationDriverId !== undefined) {
201
+ _queryParams["filter_payment_destination_driver_id"] = filterPaymentDestinationDriverId;
202
+ }
203
+ if (filterRateSheetId !== undefined) {
204
+ _queryParams["filter_rate_sheet_id"] = filterRateSheetId;
205
+ }
206
+ if (filterStatementId !== undefined) {
207
+ _queryParams["filter_statement_id"] = filterStatementId;
208
+ }
209
+ if (filterAttachedToStatement !== undefined) {
210
+ _queryParams["filter_attached_to_statement"] = (_c = filterAttachedToStatement === null || filterAttachedToStatement === void 0 ? void 0 : filterAttachedToStatement.toString()) !== null && _c !== void 0 ? _c : null;
187
211
  }
188
212
  let _headers = (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
189
213
  const _response = yield ((_e = this._options.fetcher) !== null && _e !== void 0 ? _e : core.fetcher)({
190
- 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/for_courier_org/v1"),
214
+ 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"),
191
215
  method: "GET",
192
216
  headers: _headers,
193
217
  queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
@@ -218,7 +242,7 @@ class LineItemGroups {
218
242
  rawResponse: _response.rawResponse,
219
243
  });
220
244
  case "timeout":
221
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /billing/line_item_groups/list/for_courier_org/v1.");
245
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /billing/line_item_groups/list/v1.");
222
246
  case "unknown":
223
247
  throw new errors.ChrtError({
224
248
  message: _response.error.errorMessage,
@@ -228,38 +252,160 @@ class LineItemGroups {
228
252
  });
229
253
  }
230
254
  /**
231
- * Calculates a quote (line item group preview) for a task group and payment vector without persisting any data. | authz_personas=[courier_driver, courier_org_operators, forwarder_org_operators, shipper_org_operators] | () -> (Quote)
255
+ * 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)
232
256
  *
233
- * @param {string} taskGroupId
234
- * @param {Chrt.billing.LineItemGroupsQuoteV1Request} request
257
+ * @param {Chrt.billing.LineItemGroupAdHocCreateClientReq} request
235
258
  * @param {LineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
236
259
  *
237
260
  * @throws {@link Chrt.UnprocessableEntityError}
238
261
  *
239
262
  * @example
240
- * await client.billing.lineItemGroups.quoteV1("task_group_id", {
241
- * payment_vector_type: "shipper_pay_forwarder",
242
- * rate_sheet_id: "rate_sheet_id"
263
+ * await client.billing.lineItemGroups.adHocCreateV1({
264
+ * owned_by_org_id: "owned_by_org_id"
243
265
  * })
244
266
  */
245
- quoteV1(taskGroupId, request, requestOptions) {
246
- return core.HttpResponsePromise.fromPromise(this.__quoteV1(taskGroupId, request, requestOptions));
267
+ adHocCreateV1(request, requestOptions) {
268
+ return core.HttpResponsePromise.fromPromise(this.__adHocCreateV1(request, requestOptions));
247
269
  }
248
- __quoteV1(taskGroupId, request, requestOptions) {
270
+ __adHocCreateV1(request, requestOptions) {
249
271
  return __awaiter(this, void 0, void 0, function* () {
250
272
  var _a, _b, _c, _d;
251
- const { payment_vector_type: paymentVectorType, rate_sheet_id: rateSheetId } = request;
252
- const _queryParams = {};
253
- _queryParams["payment_vector_type"] = paymentVectorType;
254
- if (rateSheetId !== undefined) {
255
- _queryParams["rate_sheet_id"] = rateSheetId;
273
+ let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
274
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
275
+ 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"),
276
+ method: "POST",
277
+ headers: _headers,
278
+ contentType: "application/json",
279
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
280
+ requestType: "json",
281
+ body: request,
282
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
283
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
284
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
285
+ });
286
+ if (_response.ok) {
287
+ return { data: _response.body, rawResponse: _response.rawResponse };
288
+ }
289
+ if (_response.error.reason === "status-code") {
290
+ switch (_response.error.statusCode) {
291
+ case 422:
292
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
293
+ default:
294
+ throw new errors.ChrtError({
295
+ statusCode: _response.error.statusCode,
296
+ body: _response.error.body,
297
+ rawResponse: _response.rawResponse,
298
+ });
299
+ }
300
+ }
301
+ switch (_response.error.reason) {
302
+ case "non-json":
303
+ throw new errors.ChrtError({
304
+ statusCode: _response.error.statusCode,
305
+ body: _response.error.rawBody,
306
+ rawResponse: _response.rawResponse,
307
+ });
308
+ case "timeout":
309
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /billing/line_item_groups/ad_hoc/create/v1.");
310
+ case "unknown":
311
+ throw new errors.ChrtError({
312
+ message: _response.error.errorMessage,
313
+ rawResponse: _response.rawResponse,
314
+ });
256
315
  }
316
+ });
317
+ }
318
+ /**
319
+ * 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)
320
+ *
321
+ * @param {string} lineItemGroupId
322
+ * @param {Chrt.LineItemClientCreate1} request
323
+ * @param {LineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
324
+ *
325
+ * @throws {@link Chrt.UnprocessableEntityError}
326
+ *
327
+ * @example
328
+ * await client.billing.lineItemGroups.adHocAddLineItemV1("line_item_group_id", {
329
+ * item: "base_rate",
330
+ * rate: 1.1,
331
+ * quantity: 1.1
332
+ * })
333
+ */
334
+ adHocAddLineItemV1(lineItemGroupId, request, requestOptions) {
335
+ return core.HttpResponsePromise.fromPromise(this.__adHocAddLineItemV1(lineItemGroupId, request, requestOptions));
336
+ }
337
+ __adHocAddLineItemV1(lineItemGroupId, request, requestOptions) {
338
+ return __awaiter(this, void 0, void 0, function* () {
339
+ var _a, _b, _c, _d;
257
340
  let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
258
341
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
259
- 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/quote/v1/${encodeURIComponent(taskGroupId)}`),
260
- method: "GET",
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/ad_hoc/add_line_item/v1/${encodeURIComponent(lineItemGroupId)}`),
343
+ method: "POST",
261
344
  headers: _headers,
262
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
345
+ contentType: "application/json",
346
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
347
+ requestType: "json",
348
+ body: request,
349
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
350
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
351
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
352
+ });
353
+ if (_response.ok) {
354
+ return { data: _response.body, rawResponse: _response.rawResponse };
355
+ }
356
+ if (_response.error.reason === "status-code") {
357
+ switch (_response.error.statusCode) {
358
+ case 422:
359
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
360
+ default:
361
+ throw new errors.ChrtError({
362
+ statusCode: _response.error.statusCode,
363
+ body: _response.error.body,
364
+ rawResponse: _response.rawResponse,
365
+ });
366
+ }
367
+ }
368
+ switch (_response.error.reason) {
369
+ case "non-json":
370
+ throw new errors.ChrtError({
371
+ statusCode: _response.error.statusCode,
372
+ body: _response.error.rawBody,
373
+ rawResponse: _response.rawResponse,
374
+ });
375
+ case "timeout":
376
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /billing/line_item_groups/ad_hoc/add_line_item/v1/{line_item_group_id}.");
377
+ case "unknown":
378
+ throw new errors.ChrtError({
379
+ message: _response.error.errorMessage,
380
+ rawResponse: _response.rawResponse,
381
+ });
382
+ }
383
+ });
384
+ }
385
+ /**
386
+ * Removes an AD_HOC LineItem from a LineItemGroup that has not yet been finalized. | authz_personas=[lig_org_operators] | () -> (LineItemGroup1)
387
+ *
388
+ * @param {string} lineItemGroupId
389
+ * @param {string} lineItemId
390
+ * @param {LineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
391
+ *
392
+ * @throws {@link Chrt.UnprocessableEntityError}
393
+ *
394
+ * @example
395
+ * await client.billing.lineItemGroups.adHocRemoveLineItemV1("line_item_group_id", "line_item_id")
396
+ */
397
+ adHocRemoveLineItemV1(lineItemGroupId, lineItemId, requestOptions) {
398
+ return core.HttpResponsePromise.fromPromise(this.__adHocRemoveLineItemV1(lineItemGroupId, lineItemId, requestOptions));
399
+ }
400
+ __adHocRemoveLineItemV1(lineItemGroupId, lineItemId, requestOptions) {
401
+ return __awaiter(this, void 0, void 0, function* () {
402
+ var _a, _b, _c, _d;
403
+ let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
404
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
405
+ 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)}`),
406
+ method: "DELETE",
407
+ headers: _headers,
408
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
263
409
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
264
410
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
265
411
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -287,7 +433,7 @@ class LineItemGroups {
287
433
  rawResponse: _response.rawResponse,
288
434
  });
289
435
  case "timeout":
290
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /billing/line_item_groups/quote/v1/{task_group_id}.");
436
+ 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}.");
291
437
  case "unknown":
292
438
  throw new errors.ChrtError({
293
439
  message: _response.error.errorMessage,
@@ -297,7 +443,7 @@ class LineItemGroups {
297
443
  });
298
444
  }
299
445
  /**
300
- * Finalizes a line item group. LIG must be in ADJUSTABLE status. | org_type=[courier, forwarder], min_org_role=operator, authz_personas=[lig_owner_operators] | () -> (LineItemGroup1)
446
+ * 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)
301
447
  *
302
448
  * @param {string} lineItemGroupId
303
449
  * @param {LineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
@@ -356,28 +502,36 @@ class LineItemGroups {
356
502
  });
357
503
  }
358
504
  /**
359
- * (Re)calculates line items for a line item group. LIG must be PENDING_CALCULATION or ADJUSTABLE and must be associated with a TaskGroup. Note: Line item calculation normally happens automatically; this route is primarily for PENDING_CALCULATION LIGs where automatic calculation failed (e.g., due to third-party service failure). | org_type=[courier, forwarder], min_org_role=operator, authz_personas=[lig_owner_operators] | () -> (LineItemGroup1)
505
+ * 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)
360
506
  *
361
507
  * @param {string} lineItemGroupId
508
+ * @param {Chrt.LineItemClientCreate1} request
362
509
  * @param {LineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
363
510
  *
364
511
  * @throws {@link Chrt.UnprocessableEntityError}
365
512
  *
366
513
  * @example
367
- * await client.billing.lineItemGroups.calculateLineItemsV1("line_item_group_id")
514
+ * await client.billing.lineItemGroups.proposeLineItemV1("line_item_group_id", {
515
+ * item: "base_rate",
516
+ * rate: 1.1,
517
+ * quantity: 1.1
518
+ * })
368
519
  */
369
- calculateLineItemsV1(lineItemGroupId, requestOptions) {
370
- return core.HttpResponsePromise.fromPromise(this.__calculateLineItemsV1(lineItemGroupId, requestOptions));
520
+ proposeLineItemV1(lineItemGroupId, request, requestOptions) {
521
+ return core.HttpResponsePromise.fromPromise(this.__proposeLineItemV1(lineItemGroupId, request, requestOptions));
371
522
  }
372
- __calculateLineItemsV1(lineItemGroupId, requestOptions) {
523
+ __proposeLineItemV1(lineItemGroupId, request, requestOptions) {
373
524
  return __awaiter(this, void 0, void 0, function* () {
374
525
  var _a, _b, _c, _d;
375
526
  let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
376
527
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
377
- 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/calculate_line_items/v1/${encodeURIComponent(lineItemGroupId)}`),
528
+ 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)}`),
378
529
  method: "POST",
379
530
  headers: _headers,
531
+ contentType: "application/json",
380
532
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
533
+ requestType: "json",
534
+ body: request,
381
535
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
382
536
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
383
537
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -405,7 +559,7 @@ class LineItemGroups {
405
559
  rawResponse: _response.rawResponse,
406
560
  });
407
561
  case "timeout":
408
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /billing/line_item_groups/calculate_line_items/v1/{line_item_group_id}.");
562
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /billing/line_item_groups/propose_line_item/v1/{line_item_group_id}.");
409
563
  case "unknown":
410
564
  throw new errors.ChrtError({
411
565
  message: _response.error.errorMessage,
@@ -415,34 +569,149 @@ class LineItemGroups {
415
569
  });
416
570
  }
417
571
  /**
418
- * Associates a line item group with a statement. LIG must be PENDING_RATES, PENDING_CALCULATION, ADJUSTABLE, or FINALIZED (before OPEN). Statement must be STAGED. LIG payment info must match Statement. Also removes from previous statement if any. | org_type=[courier, forwarder], min_org_role=operator, authz_personas=[lig_owner_operators, statement_owner_operators] | (PydanticObjectId) -> (LineItemGroup1)
572
+ * 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)
419
573
  *
420
574
  * @param {string} lineItemGroupId
421
- * @param {Chrt.billing.LineItemGroupsAssociateWithStatementV1Request} request
575
+ * @param {string} lineItemId
422
576
  * @param {LineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
423
577
  *
424
578
  * @throws {@link Chrt.UnprocessableEntityError}
425
579
  *
426
580
  * @example
427
- * await client.billing.lineItemGroups.associateWithStatementV1("line_item_group_id", {
428
- * statement_id: "statement_id"
429
- * })
581
+ * await client.billing.lineItemGroups.withdrawLineItemV1("line_item_group_id", "line_item_id")
430
582
  */
431
- associateWithStatementV1(lineItemGroupId, request, requestOptions) {
432
- return core.HttpResponsePromise.fromPromise(this.__associateWithStatementV1(lineItemGroupId, request, requestOptions));
583
+ withdrawLineItemV1(lineItemGroupId, lineItemId, requestOptions) {
584
+ return core.HttpResponsePromise.fromPromise(this.__withdrawLineItemV1(lineItemGroupId, lineItemId, requestOptions));
433
585
  }
434
- __associateWithStatementV1(lineItemGroupId, request, requestOptions) {
586
+ __withdrawLineItemV1(lineItemGroupId, lineItemId, requestOptions) {
587
+ return __awaiter(this, void 0, void 0, function* () {
588
+ var _a, _b, _c, _d;
589
+ let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
590
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
591
+ 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)}`),
592
+ method: "DELETE",
593
+ headers: _headers,
594
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
595
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
596
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
597
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
598
+ });
599
+ if (_response.ok) {
600
+ return { data: _response.body, rawResponse: _response.rawResponse };
601
+ }
602
+ if (_response.error.reason === "status-code") {
603
+ switch (_response.error.statusCode) {
604
+ case 422:
605
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
606
+ default:
607
+ throw new errors.ChrtError({
608
+ statusCode: _response.error.statusCode,
609
+ body: _response.error.body,
610
+ rawResponse: _response.rawResponse,
611
+ });
612
+ }
613
+ }
614
+ switch (_response.error.reason) {
615
+ case "non-json":
616
+ throw new errors.ChrtError({
617
+ statusCode: _response.error.statusCode,
618
+ body: _response.error.rawBody,
619
+ rawResponse: _response.rawResponse,
620
+ });
621
+ case "timeout":
622
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling DELETE /billing/line_item_groups/withdraw_line_item/v1/{line_item_group_id}/{line_item_id}.");
623
+ case "unknown":
624
+ throw new errors.ChrtError({
625
+ message: _response.error.errorMessage,
626
+ rawResponse: _response.rawResponse,
627
+ });
628
+ }
629
+ });
630
+ }
631
+ /**
632
+ * 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)
633
+ *
634
+ * @param {string} lineItemGroupId
635
+ * @param {string} lineItemId
636
+ * @param {LineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
637
+ *
638
+ * @throws {@link Chrt.UnprocessableEntityError}
639
+ *
640
+ * @example
641
+ * await client.billing.lineItemGroups.approveLineItemV1("line_item_group_id", "line_item_id")
642
+ */
643
+ approveLineItemV1(lineItemGroupId, lineItemId, requestOptions) {
644
+ return core.HttpResponsePromise.fromPromise(this.__approveLineItemV1(lineItemGroupId, lineItemId, requestOptions));
645
+ }
646
+ __approveLineItemV1(lineItemGroupId, lineItemId, requestOptions) {
435
647
  return __awaiter(this, void 0, void 0, function* () {
436
648
  var _a, _b, _c, _d;
437
- const { statement_id: statementId } = request;
438
- const _queryParams = {};
439
- _queryParams["statement_id"] = statementId;
440
649
  let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
441
650
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
442
- 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/associate_with_statement/v1/${encodeURIComponent(lineItemGroupId)}`),
651
+ 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)}`),
443
652
  method: "POST",
444
653
  headers: _headers,
445
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
654
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
655
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
656
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
657
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
658
+ });
659
+ if (_response.ok) {
660
+ return { data: _response.body, rawResponse: _response.rawResponse };
661
+ }
662
+ if (_response.error.reason === "status-code") {
663
+ switch (_response.error.statusCode) {
664
+ case 422:
665
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
666
+ default:
667
+ throw new errors.ChrtError({
668
+ statusCode: _response.error.statusCode,
669
+ body: _response.error.body,
670
+ rawResponse: _response.rawResponse,
671
+ });
672
+ }
673
+ }
674
+ switch (_response.error.reason) {
675
+ case "non-json":
676
+ throw new errors.ChrtError({
677
+ statusCode: _response.error.statusCode,
678
+ body: _response.error.rawBody,
679
+ rawResponse: _response.rawResponse,
680
+ });
681
+ case "timeout":
682
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /billing/line_item_groups/approve_line_item/v1/{line_item_group_id}/{line_item_id}.");
683
+ case "unknown":
684
+ throw new errors.ChrtError({
685
+ message: _response.error.errorMessage,
686
+ rawResponse: _response.rawResponse,
687
+ });
688
+ }
689
+ });
690
+ }
691
+ /**
692
+ * 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)
693
+ *
694
+ * @param {string} lineItemGroupId
695
+ * @param {string} lineItemId
696
+ * @param {LineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
697
+ *
698
+ * @throws {@link Chrt.UnprocessableEntityError}
699
+ *
700
+ * @example
701
+ * await client.billing.lineItemGroups.denyLineItemV1("line_item_group_id", "line_item_id")
702
+ */
703
+ denyLineItemV1(lineItemGroupId, lineItemId, requestOptions) {
704
+ return core.HttpResponsePromise.fromPromise(this.__denyLineItemV1(lineItemGroupId, lineItemId, requestOptions));
705
+ }
706
+ __denyLineItemV1(lineItemGroupId, lineItemId, requestOptions) {
707
+ return __awaiter(this, void 0, void 0, function* () {
708
+ var _a, _b, _c, _d;
709
+ let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
710
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
711
+ 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)}`),
712
+ method: "POST",
713
+ headers: _headers,
714
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
446
715
  timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
447
716
  maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
448
717
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -470,7 +739,7 @@ class LineItemGroups {
470
739
  rawResponse: _response.rawResponse,
471
740
  });
472
741
  case "timeout":
473
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /billing/line_item_groups/associate_with_statement/v1/{line_item_group_id}.");
742
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /billing/line_item_groups/deny_line_item/v1/{line_item_group_id}/{line_item_id}.");
474
743
  case "unknown":
475
744
  throw new errors.ChrtError({
476
745
  message: _response.error.errorMessage,
@@ -480,30 +749,215 @@ class LineItemGroups {
480
749
  });
481
750
  }
482
751
  /**
483
- * Adjusts a line item within a line item group. LIG must be ADJUSTABLE. Adjustment can be negative beyond item.amount to serve as a credit. | org_type=[courier, forwarder], min_org_role=operator, authz_personas=[lig_owner_operators] | (AdjustLineItemReq) -> (LineItemGroup1)
752
+ * 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)
484
753
  *
485
754
  * @param {string} lineItemGroupId
486
- * @param {Chrt.billing.AdjustLineItemReq} request
487
755
  * @param {LineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
488
756
  *
489
757
  * @throws {@link Chrt.UnprocessableEntityError}
490
758
  *
491
759
  * @example
492
- * await client.billing.lineItemGroups.adjustLineItemV1("line_item_group_id", {
493
- * line_item_uuid_str: "line_item_uuid_str",
494
- * adjustment: 1.1
760
+ * await client.billing.lineItemGroups.deleteV1("line_item_group_id")
761
+ */
762
+ deleteV1(lineItemGroupId, requestOptions) {
763
+ return core.HttpResponsePromise.fromPromise(this.__deleteV1(lineItemGroupId, requestOptions));
764
+ }
765
+ __deleteV1(lineItemGroupId, requestOptions) {
766
+ return __awaiter(this, void 0, void 0, function* () {
767
+ var _a, _b, _c, _d;
768
+ let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
769
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
770
+ 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)}`),
771
+ method: "DELETE",
772
+ headers: _headers,
773
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
774
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
775
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
776
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
777
+ });
778
+ if (_response.ok) {
779
+ return { data: _response.body, rawResponse: _response.rawResponse };
780
+ }
781
+ if (_response.error.reason === "status-code") {
782
+ switch (_response.error.statusCode) {
783
+ case 422:
784
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
785
+ default:
786
+ throw new errors.ChrtError({
787
+ statusCode: _response.error.statusCode,
788
+ body: _response.error.body,
789
+ rawResponse: _response.rawResponse,
790
+ });
791
+ }
792
+ }
793
+ switch (_response.error.reason) {
794
+ case "non-json":
795
+ throw new errors.ChrtError({
796
+ statusCode: _response.error.statusCode,
797
+ body: _response.error.rawBody,
798
+ rawResponse: _response.rawResponse,
799
+ });
800
+ case "timeout":
801
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling DELETE /billing/line_item_groups/delete/v1/{line_item_group_id}.");
802
+ case "unknown":
803
+ throw new errors.ChrtError({
804
+ message: _response.error.errorMessage,
805
+ rawResponse: _response.rawResponse,
806
+ });
807
+ }
808
+ });
809
+ }
810
+ /**
811
+ * 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)
812
+ *
813
+ * @param {Chrt.CreateLigFromRateSheetForVectorClientReq} request
814
+ * @param {LineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
815
+ *
816
+ * @throws {@link Chrt.UnprocessableEntityError}
817
+ *
818
+ * @example
819
+ * await client.billing.lineItemGroups.fromRateSheetCreateForShipperPayProviderV1({
820
+ * task_group_id: "task_group_id"
821
+ * })
822
+ */
823
+ fromRateSheetCreateForShipperPayProviderV1(request, requestOptions) {
824
+ return core.HttpResponsePromise.fromPromise(this.__fromRateSheetCreateForShipperPayProviderV1(request, requestOptions));
825
+ }
826
+ __fromRateSheetCreateForShipperPayProviderV1(request, requestOptions) {
827
+ return __awaiter(this, void 0, void 0, function* () {
828
+ var _a, _b, _c, _d;
829
+ let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
830
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
831
+ 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"),
832
+ method: "POST",
833
+ headers: _headers,
834
+ contentType: "application/json",
835
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
836
+ requestType: "json",
837
+ body: request,
838
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
839
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
840
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
841
+ });
842
+ if (_response.ok) {
843
+ return { data: _response.body, rawResponse: _response.rawResponse };
844
+ }
845
+ if (_response.error.reason === "status-code") {
846
+ switch (_response.error.statusCode) {
847
+ case 422:
848
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
849
+ default:
850
+ throw new errors.ChrtError({
851
+ statusCode: _response.error.statusCode,
852
+ body: _response.error.body,
853
+ rawResponse: _response.rawResponse,
854
+ });
855
+ }
856
+ }
857
+ switch (_response.error.reason) {
858
+ case "non-json":
859
+ throw new errors.ChrtError({
860
+ statusCode: _response.error.statusCode,
861
+ body: _response.error.rawBody,
862
+ rawResponse: _response.rawResponse,
863
+ });
864
+ case "timeout":
865
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /billing/line_item_groups/from_rate_sheet/create_for_shipper_pay_provider/v1.");
866
+ case "unknown":
867
+ throw new errors.ChrtError({
868
+ message: _response.error.errorMessage,
869
+ rawResponse: _response.rawResponse,
870
+ });
871
+ }
872
+ });
873
+ }
874
+ /**
875
+ * 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)
876
+ *
877
+ * @param {Chrt.CreateLigFromRateSheetForVectorClientReq} request
878
+ * @param {LineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
879
+ *
880
+ * @throws {@link Chrt.UnprocessableEntityError}
881
+ *
882
+ * @example
883
+ * await client.billing.lineItemGroups.fromRateSheetCreateForProviderPayProviderV1({
884
+ * task_group_id: "task_group_id"
885
+ * })
886
+ */
887
+ fromRateSheetCreateForProviderPayProviderV1(request, requestOptions) {
888
+ return core.HttpResponsePromise.fromPromise(this.__fromRateSheetCreateForProviderPayProviderV1(request, requestOptions));
889
+ }
890
+ __fromRateSheetCreateForProviderPayProviderV1(request, requestOptions) {
891
+ return __awaiter(this, void 0, void 0, function* () {
892
+ var _a, _b, _c, _d;
893
+ let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
894
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
895
+ 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"),
896
+ method: "POST",
897
+ headers: _headers,
898
+ contentType: "application/json",
899
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
900
+ requestType: "json",
901
+ body: request,
902
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
903
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
904
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
905
+ });
906
+ if (_response.ok) {
907
+ return { data: _response.body, rawResponse: _response.rawResponse };
908
+ }
909
+ if (_response.error.reason === "status-code") {
910
+ switch (_response.error.statusCode) {
911
+ case 422:
912
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
913
+ default:
914
+ throw new errors.ChrtError({
915
+ statusCode: _response.error.statusCode,
916
+ body: _response.error.body,
917
+ rawResponse: _response.rawResponse,
918
+ });
919
+ }
920
+ }
921
+ switch (_response.error.reason) {
922
+ case "non-json":
923
+ throw new errors.ChrtError({
924
+ statusCode: _response.error.statusCode,
925
+ body: _response.error.rawBody,
926
+ rawResponse: _response.rawResponse,
927
+ });
928
+ case "timeout":
929
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /billing/line_item_groups/from_rate_sheet/create_for_provider_pay_provider/v1.");
930
+ case "unknown":
931
+ throw new errors.ChrtError({
932
+ message: _response.error.errorMessage,
933
+ rawResponse: _response.rawResponse,
934
+ });
935
+ }
936
+ });
937
+ }
938
+ /**
939
+ * 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)
940
+ *
941
+ * @param {Chrt.CreateLigFromRateSheetForVectorClientReq} request
942
+ * @param {LineItemGroups.RequestOptions} requestOptions - Request-specific configuration.
943
+ *
944
+ * @throws {@link Chrt.UnprocessableEntityError}
945
+ *
946
+ * @example
947
+ * await client.billing.lineItemGroups.fromRateSheetCreateForProviderPayDriverV1({
948
+ * task_group_id: "task_group_id"
495
949
  * })
496
950
  */
497
- adjustLineItemV1(lineItemGroupId, request, requestOptions) {
498
- return core.HttpResponsePromise.fromPromise(this.__adjustLineItemV1(lineItemGroupId, request, requestOptions));
951
+ fromRateSheetCreateForProviderPayDriverV1(request, requestOptions) {
952
+ return core.HttpResponsePromise.fromPromise(this.__fromRateSheetCreateForProviderPayDriverV1(request, requestOptions));
499
953
  }
500
- __adjustLineItemV1(lineItemGroupId, request, requestOptions) {
954
+ __fromRateSheetCreateForProviderPayDriverV1(request, requestOptions) {
501
955
  return __awaiter(this, void 0, void 0, function* () {
502
956
  var _a, _b, _c, _d;
503
957
  let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
504
958
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
505
- 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/adjust_line_item/v1/${encodeURIComponent(lineItemGroupId)}`),
506
- method: "PATCH",
959
+ 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"),
960
+ method: "POST",
507
961
  headers: _headers,
508
962
  contentType: "application/json",
509
963
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -536,7 +990,7 @@ class LineItemGroups {
536
990
  rawResponse: _response.rawResponse,
537
991
  });
538
992
  case "timeout":
539
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /billing/line_item_groups/adjust_line_item/v1/{line_item_group_id}.");
993
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /billing/line_item_groups/from_rate_sheet/create_for_provider_pay_driver/v1.");
540
994
  case "unknown":
541
995
  throw new errors.ChrtError({
542
996
  message: _response.error.errorMessage,