@chrt-inc/typescript-sdk 1.625.0 → 1.638.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1119) 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 +115 -0
  7. package/dist/cjs/api/resources/billing/resources/billingLedgerPeriods/client/Client.js +425 -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 +41 -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 +110 -0
  13. package/dist/cjs/api/resources/billing/resources/billingLedgers/client/Client.js +411 -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 +32 -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 +151 -45
  33. package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/Client.js +547 -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 +53 -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 +104 -27
  61. package/dist/cjs/api/resources/billing/resources/statements/client/Client.js +396 -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/index.d.ts +2 -4
  65. package/dist/cjs/api/resources/index.d.ts +2 -0
  66. package/dist/cjs/api/resources/index.js +3 -1
  67. package/dist/cjs/api/resources/listing/client/Client.d.ts +32 -0
  68. package/dist/cjs/api/resources/listing/client/Client.js +32 -0
  69. package/dist/cjs/api/resources/listing/client/index.js +2 -0
  70. package/dist/cjs/api/resources/listing/index.d.ts +2 -0
  71. package/dist/cjs/api/resources/listing/index.js +18 -0
  72. package/dist/cjs/api/resources/listing/resources/bidThreads/client/Client.d.ts +183 -0
  73. package/dist/cjs/api/resources/listing/resources/bidThreads/client/Client.js +732 -0
  74. package/dist/cjs/api/resources/listing/resources/bidThreads/client/index.d.ts +2 -0
  75. package/dist/cjs/api/resources/listing/resources/bidThreads/client/index.js +17 -0
  76. package/dist/cjs/api/resources/listing/resources/bidThreads/client/requests/BidThreadClientCreate1.d.ts +18 -0
  77. package/dist/cjs/api/resources/listing/resources/bidThreads/client/requests/BidThreadsListForBidderV1Request.d.ts +44 -0
  78. package/dist/cjs/api/resources/listing/resources/bidThreads/client/requests/BidThreadsListForListingV1Request.d.ts +44 -0
  79. package/dist/cjs/api/resources/listing/resources/bidThreads/client/requests/index.d.ts +3 -0
  80. package/dist/cjs/api/resources/listing/resources/bidThreads/client/requests/index.js +2 -0
  81. package/dist/cjs/api/resources/listing/resources/bidThreads/index.d.ts +1 -0
  82. package/dist/cjs/api/resources/listing/resources/bidThreads/index.js +17 -0
  83. package/dist/cjs/api/resources/listing/resources/driverBiddingGroups/client/Client.d.ts +144 -0
  84. package/dist/cjs/api/resources/listing/resources/driverBiddingGroups/client/Client.js +538 -0
  85. package/dist/cjs/api/resources/listing/resources/driverBiddingGroups/client/index.d.ts +2 -0
  86. package/dist/cjs/api/resources/listing/resources/driverBiddingGroups/client/index.js +17 -0
  87. package/dist/cjs/api/resources/listing/resources/driverBiddingGroups/client/requests/DriverBiddingGroupClientCreate1.d.ts +14 -0
  88. package/dist/cjs/api/resources/listing/resources/driverBiddingGroups/client/requests/DriverBiddingGroupsListByOrgV1Request.d.ts +39 -0
  89. package/dist/cjs/api/resources/listing/resources/driverBiddingGroups/client/requests/DriverBiddingGroupsUpdateNameV1Request.d.ts +12 -0
  90. package/dist/cjs/api/resources/listing/resources/driverBiddingGroups/client/requests/index.d.ts +3 -0
  91. package/dist/cjs/api/resources/listing/resources/driverBiddingGroups/client/requests/index.js +2 -0
  92. package/dist/cjs/api/resources/listing/resources/driverBiddingGroups/index.d.ts +1 -0
  93. package/dist/cjs/api/resources/listing/resources/driverBiddingGroups/index.js +17 -0
  94. package/dist/cjs/api/resources/listing/resources/index.d.ts +8 -0
  95. package/dist/cjs/api/resources/listing/resources/index.js +47 -0
  96. package/dist/cjs/api/resources/listing/resources/listings/client/Client.d.ts +253 -0
  97. package/dist/cjs/api/resources/listing/resources/listings/client/Client.js +1068 -0
  98. package/dist/cjs/api/resources/listing/resources/listings/client/index.d.ts +2 -0
  99. package/dist/cjs/api/resources/listing/resources/listings/client/index.js +17 -0
  100. package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingAddDriverParticipantsReq.d.ts +11 -0
  101. package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingAddProviderParticipantsReq.d.ts +11 -0
  102. package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingClientCreate1.d.ts +30 -0
  103. package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingClientUpdate1.d.ts +17 -0
  104. package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingRemoveDriverParticipantsReq.d.ts +10 -0
  105. package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingRemoveProviderParticipantsReq.d.ts +10 -0
  106. package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingsListByOrgV1Request.d.ts +52 -0
  107. package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingsListForDriverBidderV1Request.d.ts +49 -0
  108. package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingsListForProviderBidderV1Request.d.ts +49 -0
  109. package/dist/cjs/api/resources/listing/resources/listings/client/requests/index.d.ts +9 -0
  110. package/dist/cjs/api/resources/listing/resources/listings/client/requests/index.js +2 -0
  111. package/dist/cjs/api/resources/listing/resources/listings/index.d.ts +1 -0
  112. package/dist/cjs/api/resources/listing/resources/listings/index.js +17 -0
  113. package/dist/cjs/api/resources/listing/resources/orgBiddingGroups/client/Client.d.ts +144 -0
  114. package/dist/cjs/api/resources/listing/resources/orgBiddingGroups/client/Client.js +538 -0
  115. package/dist/cjs/api/resources/listing/resources/orgBiddingGroups/client/index.d.ts +2 -0
  116. package/dist/cjs/api/resources/listing/resources/orgBiddingGroups/client/index.js +17 -0
  117. package/dist/cjs/api/resources/listing/resources/orgBiddingGroups/client/requests/OrgBiddingGroupClientCreate1.d.ts +14 -0
  118. package/dist/cjs/api/resources/listing/resources/orgBiddingGroups/client/requests/OrgBiddingGroupsListByOrgV1Request.d.ts +39 -0
  119. package/dist/cjs/api/resources/listing/resources/orgBiddingGroups/client/requests/OrgBiddingGroupsUpdateNameV1Request.d.ts +12 -0
  120. package/dist/cjs/api/resources/listing/resources/orgBiddingGroups/client/requests/index.d.ts +3 -0
  121. package/dist/cjs/api/resources/listing/resources/orgBiddingGroups/client/requests/index.js +2 -0
  122. package/dist/cjs/api/resources/listing/resources/orgBiddingGroups/index.d.ts +1 -0
  123. package/dist/cjs/api/resources/listing/resources/orgBiddingGroups/index.js +17 -0
  124. package/dist/cjs/api/resources/operations/client/Client.d.ts +26 -0
  125. package/dist/cjs/api/resources/operations/client/Client.js +22 -0
  126. package/dist/cjs/api/resources/operations/client/index.js +2 -0
  127. package/dist/cjs/api/resources/operations/index.d.ts +2 -0
  128. package/dist/cjs/api/resources/operations/index.js +18 -0
  129. package/dist/cjs/api/resources/operations/resources/cases/client/Client.d.ts +143 -0
  130. package/dist/cjs/api/resources/operations/resources/cases/client/Client.js +550 -0
  131. package/dist/cjs/api/resources/operations/resources/cases/client/index.d.ts +2 -0
  132. package/dist/cjs/api/resources/operations/resources/cases/client/index.js +17 -0
  133. package/dist/cjs/api/resources/operations/resources/cases/client/requests/CaseAddMessageReq.d.ts +12 -0
  134. package/dist/cjs/api/resources/operations/resources/cases/client/requests/CaseAssignReq.d.ts +12 -0
  135. package/dist/cjs/api/resources/operations/resources/cases/client/requests/CaseClientUpdate1.d.ts +11 -0
  136. package/dist/cjs/api/resources/operations/resources/cases/client/requests/CaseUnassignReq.d.ts +12 -0
  137. package/dist/cjs/api/resources/operations/resources/cases/client/requests/CasesListV1Request.d.ts +34 -0
  138. package/dist/cjs/api/resources/operations/resources/cases/client/requests/index.d.ts +5 -0
  139. package/dist/cjs/api/resources/operations/resources/cases/client/requests/index.js +2 -0
  140. package/dist/cjs/api/resources/operations/resources/cases/index.d.ts +1 -0
  141. package/dist/cjs/api/resources/operations/resources/cases/index.js +17 -0
  142. package/dist/cjs/api/resources/operations/resources/departments/client/Client.d.ts +137 -0
  143. package/dist/cjs/api/resources/operations/resources/departments/client/Client.js +521 -0
  144. package/dist/cjs/api/resources/operations/resources/departments/client/index.d.ts +2 -0
  145. package/dist/cjs/api/resources/operations/resources/departments/client/index.js +17 -0
  146. package/dist/cjs/api/resources/operations/resources/departments/client/requests/DepartmentClientCreate1.d.ts +19 -0
  147. package/dist/cjs/api/resources/operations/resources/departments/client/requests/DepartmentClientUpdate1.d.ts +13 -0
  148. package/dist/cjs/api/resources/operations/resources/departments/client/requests/DepartmentsListV1Request.d.ts +23 -0
  149. package/dist/cjs/api/resources/operations/resources/departments/client/requests/index.d.ts +3 -0
  150. package/dist/cjs/api/resources/operations/resources/departments/client/requests/index.js +2 -0
  151. package/dist/cjs/api/resources/operations/resources/departments/index.d.ts +1 -0
  152. package/dist/cjs/api/resources/operations/resources/departments/index.js +17 -0
  153. package/dist/cjs/api/resources/operations/resources/index.d.ts +4 -0
  154. package/dist/cjs/api/resources/operations/resources/index.js +43 -0
  155. package/dist/cjs/api/resources/orgs/client/Client.d.ts +4 -1
  156. package/dist/cjs/api/resources/orgs/client/Client.js +16 -11
  157. package/dist/cjs/api/resources/orgs/client/requests/SetOrgTypeReq.d.ts +1 -1
  158. package/dist/cjs/api/resources/orgs/resources/connections/client/Client.d.ts +33 -35
  159. package/dist/cjs/api/resources/orgs/resources/connections/client/Client.js +70 -80
  160. package/dist/cjs/api/resources/orgs/resources/connections/client/requests/ConnectionsListProvidersV1Request.d.ts +17 -0
  161. package/dist/cjs/api/resources/orgs/resources/connections/client/requests/ProviderProviderUpdateAutoAssignReq.d.ts +12 -0
  162. package/dist/cjs/api/resources/orgs/resources/connections/client/requests/SetDepartmentReq.d.ts +10 -0
  163. package/dist/cjs/api/resources/orgs/resources/connections/client/requests/index.d.ts +3 -2
  164. package/dist/cjs/api/resources/orgs/resources/connections/types/ConnectionsGetByHandleV1Response.d.ts +1 -1
  165. package/dist/cjs/api/resources/orgs/resources/index.d.ts +2 -0
  166. package/dist/cjs/api/resources/orgs/resources/index.js +3 -1
  167. package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/Client.d.ts +106 -0
  168. package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/Client.js +384 -0
  169. package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/index.d.ts +2 -0
  170. package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/index.js +17 -0
  171. package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientCreate1.d.ts +26 -0
  172. package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientUpdate1.d.ts +31 -0
  173. package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientUpdate1.js +5 -0
  174. package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgListV1Request.d.ts +14 -0
  175. package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgListV1Request.js +5 -0
  176. package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/requests/index.d.ts +3 -0
  177. package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/requests/index.js +2 -0
  178. package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/index.d.ts +1 -0
  179. package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/index.js +17 -0
  180. package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientCreate1.d.ts +1 -2
  181. package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientUpdate1.d.ts +2 -0
  182. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/client/Client.d.ts +3 -6
  183. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/client/Client.js +3 -8
  184. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/index.d.ts +2 -4
  185. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/index.js +3 -5
  186. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/Client.d.ts +83 -0
  187. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/Client.js +300 -0
  188. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/index.d.ts +2 -0
  189. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/index.js +17 -0
  190. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientCreate1.d.ts +24 -0
  191. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientCreate1.js +5 -0
  192. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientUpdate1.d.ts +29 -0
  193. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientUpdate1.js +5 -0
  194. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/index.d.ts +2 -0
  195. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/index.js +2 -0
  196. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/index.d.ts +1 -0
  197. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/index.js +17 -0
  198. package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/Client.d.ts +14 -45
  199. package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/Client.js +18 -147
  200. package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientCreate1.d.ts +19 -0
  201. package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientCreate1.js +5 -0
  202. package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientUpdate1.d.ts +12 -0
  203. package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientUpdate1.js +5 -0
  204. package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/requests/index.d.ts +2 -4
  205. package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.d.ts +20 -4
  206. package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.js +69 -4
  207. package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriverUpdateAutoAssignReq.d.ts +12 -0
  208. package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriverUpdateAutoAssignReq.js +5 -0
  209. package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/index.d.ts +1 -0
  210. package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/Client.d.ts +1 -1
  211. package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/Client.js +1 -1
  212. package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/requests/OrdersDraftUpdateReq.d.ts +2 -2
  213. package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/requests/OrdersNewDraftReq.d.ts +1 -1
  214. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.d.ts +2 -2
  215. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.js +7 -7
  216. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/expanded/client/requests/ExpandedListV1Request.d.ts +4 -4
  217. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/Client.d.ts +2 -47
  218. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/Client.js +2 -191
  219. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/OrderDraftAddTaskGroupReq.d.ts +1 -4
  220. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/index.d.ts +0 -2
  221. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.ts +13 -13
  222. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.js +27 -27
  223. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.d.ts +58 -0
  224. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.js +5 -0
  225. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.ts +4 -4
  226. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/index.d.ts +1 -1
  227. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/Client.d.ts +228 -15
  228. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/Client.js +952 -22
  229. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/AddExecutorReq.d.ts +13 -0
  230. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/AddExecutorReq.js +5 -0
  231. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/index.d.ts +1 -1
  232. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.ts +25 -25
  233. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.js +46 -46
  234. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverForExecutorV1Request.d.ts +58 -0
  235. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverForExecutorV1Request.js +5 -0
  236. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.ts +60 -0
  237. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.js +5 -0
  238. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/index.d.ts +2 -2
  239. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/s3Object/client/Client.d.ts +2 -2
  240. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/s3Object/client/Client.js +2 -2
  241. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/Client.d.ts +8 -8
  242. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/Client.js +14 -14
  243. package/dist/cjs/api/resources/tracking/resources/sharingSettings/client/Client.d.ts +3 -3
  244. package/dist/cjs/api/resources/tracking/resources/sharingSettings/client/Client.js +3 -3
  245. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/Client.d.ts +2 -2
  246. package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/Client.js +2 -2
  247. package/dist/cjs/api/types/AttachBillingLedgerPeriodReq.d.ts +6 -0
  248. package/dist/cjs/api/types/AttachBillingLedgerPeriodReq.js +5 -0
  249. package/dist/cjs/api/types/AttachLigToVectorClientReq.d.ts +6 -0
  250. package/dist/cjs/api/types/AttachLigToVectorClientReq.js +5 -0
  251. package/dist/cjs/api/types/Bid.d.ts +16 -0
  252. package/dist/cjs/api/types/Bid.js +5 -0
  253. package/dist/cjs/api/types/BidActionEnum.d.ts +11 -0
  254. package/dist/cjs/api/types/BidActionEnum.js +13 -0
  255. package/dist/cjs/api/types/BidAppendReq.d.ts +13 -0
  256. package/dist/cjs/api/types/BidAppendReq.js +5 -0
  257. package/dist/cjs/api/types/BidThread1.d.ts +17 -0
  258. package/dist/cjs/api/types/BidThread1.js +5 -0
  259. package/dist/cjs/api/types/BidThreadListRes.d.ts +8 -0
  260. package/dist/cjs/api/types/BidThreadListRes.js +5 -0
  261. package/dist/cjs/api/types/BidThreadSortByEnum.d.ts +8 -0
  262. package/dist/cjs/api/types/BidThreadSortByEnum.js +10 -0
  263. package/dist/cjs/api/types/BidThreadStatusEnum.d.ts +10 -0
  264. package/dist/cjs/api/types/BidThreadStatusEnum.js +12 -0
  265. package/dist/cjs/api/types/BillingCycleEnum.d.ts +11 -0
  266. package/dist/cjs/api/types/BillingCycleEnum.js +13 -0
  267. package/dist/cjs/api/types/BillingLedger1.d.ts +26 -0
  268. package/dist/cjs/api/types/BillingLedger1.js +5 -0
  269. package/dist/cjs/api/types/BillingLedgerListRes.d.ts +8 -0
  270. package/dist/cjs/api/types/BillingLedgerListRes.js +5 -0
  271. package/dist/cjs/api/types/BillingLedgerPeriod1.d.ts +35 -0
  272. package/dist/cjs/api/types/BillingLedgerPeriod1.js +5 -0
  273. package/dist/cjs/api/types/BillingLedgerPeriodListRes.d.ts +8 -0
  274. package/dist/cjs/api/types/BillingLedgerPeriodListRes.js +5 -0
  275. package/dist/cjs/api/types/BillingLedgerPeriodSortByEnum.d.ts +9 -0
  276. package/dist/cjs/api/types/BillingLedgerPeriodSortByEnum.js +11 -0
  277. package/dist/cjs/api/types/BillingLedgerPeriodStatusEnum.d.ts +8 -0
  278. package/dist/cjs/api/types/BillingLedgerPeriodStatusEnum.js +10 -0
  279. package/dist/cjs/api/types/BillingLedgerSortByEnum.d.ts +4 -0
  280. package/dist/cjs/api/types/BillingLedgerSortByEnum.js +5 -0
  281. package/dist/cjs/api/types/BillingLedgerStatusEnum.d.ts +8 -0
  282. package/dist/cjs/api/types/BillingLedgerStatusEnum.js +10 -0
  283. package/dist/cjs/api/types/CargoOnFlightRateSheet1.d.ts +16 -0
  284. package/dist/cjs/api/types/CargoOnFlightRateSheet1.js +5 -0
  285. package/dist/cjs/api/types/CargoOnFlightRateSheetListRes.d.ts +8 -0
  286. package/dist/cjs/api/types/CargoOnFlightRateSheetListRes.js +5 -0
  287. package/dist/cjs/api/types/CargoOnFlightTaskActionEnum1.d.ts +13 -0
  288. package/dist/cjs/api/types/CargoOnFlightTaskActionEnum1.js +15 -0
  289. package/dist/cjs/api/types/Case1.d.ts +19 -0
  290. package/dist/cjs/api/types/Case1.js +5 -0
  291. package/dist/cjs/api/types/CaseListRes.d.ts +8 -0
  292. package/dist/cjs/api/types/CaseListRes.js +5 -0
  293. package/dist/cjs/api/types/CaseMessage1.d.ts +11 -0
  294. package/dist/cjs/api/types/CaseMessage1.js +5 -0
  295. package/dist/cjs/api/types/CaseSortByEnum.d.ts +9 -0
  296. package/dist/cjs/api/types/CaseSortByEnum.js +11 -0
  297. package/dist/cjs/api/types/CaseStatusEnum.d.ts +9 -0
  298. package/dist/cjs/api/types/CaseStatusEnum.js +11 -0
  299. package/dist/cjs/api/types/ChrtGroundProviderRateSheet1.d.ts +32 -0
  300. package/dist/cjs/api/types/ChrtGroundProviderRateSheet1.js +5 -0
  301. package/dist/cjs/api/types/ChrtGroundProviderRateSheetListRes.d.ts +8 -0
  302. package/dist/cjs/api/types/ChrtGroundProviderRateSheetListRes.js +5 -0
  303. package/dist/cjs/api/types/ChrtGroundProviderTaskActionEnum1.d.ts +13 -0
  304. package/dist/cjs/api/types/ChrtGroundProviderTaskActionEnum1.js +15 -0
  305. package/dist/cjs/api/types/CreateLigFromRateSheetForVectorClientReq.d.ts +7 -0
  306. package/dist/cjs/api/types/CreateLigFromRateSheetForVectorClientReq.js +5 -0
  307. package/dist/cjs/api/types/Department1.d.ts +17 -0
  308. package/dist/cjs/api/types/Department1.js +5 -0
  309. package/dist/cjs/api/types/DepartmentEnum.d.ts +18 -0
  310. package/dist/cjs/api/types/DepartmentEnum.js +20 -0
  311. package/dist/cjs/api/types/DepartmentListRes.d.ts +8 -0
  312. package/dist/cjs/api/types/DepartmentListRes.js +5 -0
  313. package/dist/cjs/api/types/DepartmentSortByEnum.d.ts +8 -0
  314. package/dist/cjs/api/types/DepartmentSortByEnum.js +10 -0
  315. package/dist/cjs/api/types/Driver1.d.ts +1 -2
  316. package/dist/cjs/api/types/DriverBiddingGroup1.d.ts +15 -0
  317. package/dist/cjs/api/types/DriverBiddingGroup1.js +5 -0
  318. package/dist/cjs/api/types/DriverBiddingGroupListRes.d.ts +8 -0
  319. package/dist/cjs/api/types/DriverBiddingGroupListRes.js +5 -0
  320. package/dist/cjs/api/types/DriverBiddingGroupSortByEnum.d.ts +9 -0
  321. package/dist/cjs/api/types/DriverBiddingGroupSortByEnum.js +11 -0
  322. package/dist/cjs/api/types/LineItem1.d.ts +19 -5
  323. package/dist/cjs/api/types/LineItemClientCreate1.d.ts +14 -0
  324. package/dist/cjs/api/types/LineItemClientCreate1.js +5 -0
  325. package/dist/cjs/api/types/LineItemEnum1.d.ts +19 -11
  326. package/dist/cjs/api/types/LineItemEnum1.js +12 -10
  327. package/dist/cjs/api/types/LineItemGroup1.d.ts +31 -4
  328. package/dist/cjs/api/types/LineItemGroupStatusEnum1.d.ts +20 -4
  329. package/dist/cjs/api/types/LineItemGroupStatusEnum1.js +0 -3
  330. package/dist/cjs/api/types/LineItemProvenanceEnum.d.ts +9 -0
  331. package/dist/cjs/api/types/LineItemProvenanceEnum.js +11 -0
  332. package/dist/cjs/api/types/LineItemStatusEnum.d.ts +9 -0
  333. package/dist/cjs/api/types/LineItemStatusEnum.js +11 -0
  334. package/dist/cjs/api/types/Listing1.d.ts +34 -0
  335. package/dist/cjs/api/types/Listing1.js +5 -0
  336. package/dist/cjs/api/types/ListingAudienceEnum.d.ts +8 -0
  337. package/dist/cjs/api/types/ListingAudienceEnum.js +10 -0
  338. package/dist/cjs/api/types/ListingForBidderListRes.d.ts +8 -0
  339. package/dist/cjs/api/types/ListingForBidderListRes.js +5 -0
  340. package/dist/cjs/api/types/ListingLimitedForBidder1.d.ts +41 -0
  341. package/dist/cjs/api/types/ListingLimitedForBidder1.js +5 -0
  342. package/dist/cjs/api/types/ListingListRes.d.ts +8 -0
  343. package/dist/cjs/api/types/ListingListRes.js +5 -0
  344. package/dist/cjs/api/types/ListingSortByEnum.d.ts +8 -0
  345. package/dist/cjs/api/types/ListingSortByEnum.js +10 -0
  346. package/dist/cjs/api/types/ListingStatusEnum.d.ts +9 -0
  347. package/dist/cjs/api/types/ListingStatusEnum.js +11 -0
  348. package/dist/cjs/api/types/ListingTypeEnum.d.ts +8 -0
  349. package/dist/cjs/api/types/ListingTypeEnum.js +10 -0
  350. package/dist/cjs/api/types/OffChrtProviderOrg1.d.ts +24 -0
  351. package/dist/cjs/api/types/OffChrtProviderOrg1.js +5 -0
  352. package/dist/cjs/api/types/OffChrtProviderOrgListRes.d.ts +8 -0
  353. package/dist/cjs/api/types/OffChrtProviderOrgListRes.js +5 -0
  354. package/dist/cjs/api/types/OffChrtShipperOrg1.d.ts +1 -2
  355. package/dist/cjs/api/types/OnboardCourierRateSheet1.d.ts +13 -0
  356. package/dist/cjs/api/types/OnboardCourierRateSheet1.js +5 -0
  357. package/dist/cjs/api/types/OnboardCourierRateSheetListRes.d.ts +8 -0
  358. package/dist/cjs/api/types/OnboardCourierRateSheetListRes.js +5 -0
  359. package/dist/cjs/api/types/Order1.d.ts +5 -5
  360. package/dist/cjs/api/types/OrderAndTaskGroupExpandedReq.d.ts +4 -4
  361. package/dist/cjs/api/types/OrderDraftExpanded.d.ts +2 -2
  362. package/dist/cjs/api/types/OrderExpanded.d.ts +2 -2
  363. package/dist/cjs/api/types/OrdersDraftUpdateRes.d.ts +1 -1
  364. package/dist/cjs/api/types/OrgBiddingGroup1.d.ts +15 -0
  365. package/dist/cjs/api/types/OrgBiddingGroup1.js +5 -0
  366. package/dist/cjs/api/types/OrgBiddingGroupListRes.d.ts +8 -0
  367. package/dist/cjs/api/types/OrgBiddingGroupListRes.js +5 -0
  368. package/dist/cjs/api/types/OrgBiddingGroupSortByEnum.d.ts +9 -0
  369. package/dist/cjs/api/types/OrgBiddingGroupSortByEnum.js +11 -0
  370. package/dist/cjs/api/types/OrgPrivateData1.d.ts +0 -8
  371. package/dist/cjs/api/types/OrgRoleEnum.d.ts +2 -2
  372. package/dist/cjs/api/types/OrgTypeEnum.d.ts +2 -3
  373. package/dist/cjs/api/types/OrgTypeEnum.js +1 -2
  374. package/dist/cjs/api/types/ProFormaLineItem1.d.ts +20 -0
  375. package/dist/cjs/api/types/ProFormaLineItem1.js +5 -0
  376. package/dist/cjs/api/types/ProviderConnectionListRes.d.ts +8 -0
  377. package/dist/cjs/api/types/ProviderConnectionListRes.js +5 -0
  378. package/dist/cjs/api/types/ProviderConnectionRes.d.ts +8 -0
  379. package/dist/cjs/api/types/ProviderConnectionRes.js +5 -0
  380. package/dist/cjs/api/types/ProviderOrgInfoForConnections1.d.ts +22 -0
  381. package/dist/cjs/api/types/ProviderOrgInfoForConnections1.js +5 -0
  382. package/dist/cjs/api/types/ProviderOrgProfile1.d.ts +13 -0
  383. package/dist/cjs/api/types/ProviderOrgProfile1.js +5 -0
  384. package/dist/cjs/api/types/ProviderProviderConnection1.d.ts +15 -0
  385. package/dist/cjs/api/types/ProviderProviderConnection1.js +5 -0
  386. package/dist/cjs/api/types/RateSheetMapping1.d.ts +17 -0
  387. package/dist/cjs/api/types/RateSheetMapping1.js +5 -0
  388. package/dist/cjs/api/types/RateSheetMappingListRes.d.ts +8 -0
  389. package/dist/cjs/api/types/RateSheetMappingListRes.js +5 -0
  390. package/dist/cjs/api/types/ShipperProviderConnection1.d.ts +14 -0
  391. package/dist/cjs/api/types/ShipperProviderConnection1.js +5 -0
  392. package/dist/cjs/api/types/ShippingTaskAddedWebhookPayload.d.ts +1 -1
  393. package/dist/cjs/api/types/ShippingTaskCompletedWebhookPayload.d.ts +2 -2
  394. package/dist/cjs/api/types/ShippingTaskDeletedWebhookPayload.d.ts +1 -1
  395. package/dist/cjs/api/types/ShippingTaskSkippedWebhookPayload.d.ts +1 -1
  396. package/dist/cjs/api/types/Statement1.d.ts +2 -1
  397. package/dist/cjs/api/types/Task1.d.ts +1 -1
  398. package/dist/cjs/api/types/TaskClientCreate1.d.ts +1 -1
  399. package/dist/cjs/api/types/TaskClientUpdate1.d.ts +1 -1
  400. package/dist/cjs/api/types/TaskGroup1.d.ts +19 -16
  401. package/dist/cjs/api/types/TaskGroupExpanded.d.ts +6 -6
  402. package/dist/cjs/api/types/TaskGroupQuoteClientReq.d.ts +6 -0
  403. package/dist/cjs/api/types/TaskGroupQuoteClientReq.js +5 -0
  404. package/dist/cjs/api/types/TaskGroupQuoteResp.d.ts +37 -0
  405. package/dist/cjs/api/types/TaskGroupQuoteResp.js +5 -0
  406. package/dist/cjs/api/types/TaskGroupTypeEnum1.d.ts +3 -3
  407. package/dist/cjs/api/types/TaskGroupTypeEnum1.js +2 -2
  408. package/dist/cjs/api/types/index.d.ts +66 -21
  409. package/dist/cjs/api/types/index.js +66 -21
  410. package/dist/cjs/version.d.ts +1 -1
  411. package/dist/cjs/version.js +1 -1
  412. package/dist/esm/Client.d.mts +6 -0
  413. package/dist/esm/Client.mjs +12 -2
  414. package/dist/esm/api/resources/billing/client/Client.d.mts +18 -3
  415. package/dist/esm/api/resources/billing/client/Client.mjs +28 -3
  416. package/dist/esm/api/resources/billing/resources/billingLedgerPeriods/client/Client.d.mts +115 -0
  417. package/dist/esm/api/resources/billing/resources/billingLedgerPeriods/client/Client.mjs +388 -0
  418. package/dist/esm/api/resources/billing/resources/billingLedgerPeriods/client/requests/BillingLedgerPeriodClientUpdate1.d.mts +14 -0
  419. package/dist/esm/api/resources/billing/resources/billingLedgerPeriods/client/requests/BillingLedgerPeriodsListV1Request.d.mts +41 -0
  420. package/dist/esm/api/resources/billing/resources/billingLedgerPeriods/client/requests/OpenPeriodReq.d.mts +17 -0
  421. package/dist/esm/api/resources/billing/resources/billingLedgerPeriods/client/requests/index.d.mts +3 -0
  422. package/dist/esm/api/resources/billing/resources/billingLedgers/client/Client.d.mts +110 -0
  423. package/dist/esm/api/resources/billing/resources/billingLedgers/client/Client.mjs +374 -0
  424. package/dist/esm/api/resources/billing/resources/billingLedgers/client/requests/BillingLedgerClientCreate1.d.mts +22 -0
  425. package/dist/esm/api/resources/billing/resources/billingLedgers/client/requests/BillingLedgerClientUpdate1.d.mts +11 -0
  426. package/dist/esm/api/resources/billing/resources/billingLedgers/client/requests/BillingLedgersListV1Request.d.mts +32 -0
  427. package/dist/esm/api/resources/billing/resources/billingLedgers/client/requests/index.d.mts +3 -0
  428. package/dist/esm/api/resources/billing/resources/cargoOnFlightRateSheets/client/Client.d.mts +132 -0
  429. package/dist/esm/api/resources/billing/resources/cargoOnFlightRateSheets/client/Client.mjs +468 -0
  430. package/dist/esm/api/resources/billing/resources/cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetClientCreate1.d.mts +19 -0
  431. package/dist/esm/api/resources/billing/resources/cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetClientUpdate1.d.mts +21 -0
  432. package/dist/esm/api/resources/billing/resources/cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetsListV1Request.d.mts +16 -0
  433. package/dist/esm/api/resources/billing/resources/cargoOnFlightRateSheets/client/requests/index.d.mts +3 -0
  434. package/dist/esm/api/resources/billing/resources/cargoOnFlightRateSheets/client/requests/index.mjs +1 -0
  435. package/dist/esm/api/resources/billing/resources/chrtGroundProviderRateSheets/client/Client.d.mts +132 -0
  436. package/dist/esm/api/resources/billing/resources/chrtGroundProviderRateSheets/client/Client.mjs +471 -0
  437. package/dist/esm/api/resources/billing/resources/chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetClientCreate1.d.mts +35 -0
  438. package/dist/esm/api/resources/billing/resources/chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetClientUpdate1.d.mts +46 -0
  439. package/dist/esm/api/resources/billing/resources/chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetsListV1Request.d.mts +16 -0
  440. package/dist/esm/api/resources/billing/resources/chrtGroundProviderRateSheets/client/requests/index.d.mts +3 -0
  441. package/dist/esm/api/resources/billing/resources/chrtGroundProviderRateSheets/client/requests/index.mjs +1 -0
  442. package/dist/esm/api/resources/billing/resources/index.d.mts +12 -2
  443. package/dist/esm/api/resources/billing/resources/index.mjs +12 -2
  444. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/Client.d.mts +151 -45
  445. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/Client.mjs +543 -90
  446. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupAdHocCreateClientReq.d.mts +22 -0
  447. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupsListV1Request.d.mts +53 -0
  448. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/index.d.mts +2 -4
  449. package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/index.d.mts +0 -2
  450. package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/index.mjs +0 -2
  451. package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/client/Client.d.mts +132 -0
  452. package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/client/Client.mjs +468 -0
  453. package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/client/index.d.mts +2 -0
  454. package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/client/index.mjs +1 -0
  455. package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/client/requests/OnboardCourierRateSheetClientCreate1.d.mts +16 -0
  456. package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/client/requests/OnboardCourierRateSheetClientUpdate1.d.mts +15 -0
  457. package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/client/requests/OnboardCourierRateSheetsListV1Request.d.mts +16 -0
  458. package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/client/requests/index.d.mts +3 -0
  459. package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/client/requests/index.mjs +1 -0
  460. package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/index.d.mts +1 -0
  461. package/dist/esm/api/resources/billing/resources/onboardCourierRateSheets/index.mjs +1 -0
  462. package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/Client.d.mts +136 -0
  463. package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/Client.mjs +466 -0
  464. package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/index.d.mts +2 -0
  465. package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/index.mjs +1 -0
  466. package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/requests/RateSheetMappingClientCreate1.d.mts +20 -0
  467. package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/requests/RateSheetMappingsListV1Request.d.mts +14 -0
  468. package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/requests/index.d.mts +2 -0
  469. package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/requests/index.mjs +1 -0
  470. package/dist/esm/api/resources/billing/resources/rateSheetMappings/index.d.mts +1 -0
  471. package/dist/esm/api/resources/billing/resources/rateSheetMappings/index.mjs +1 -0
  472. package/dist/esm/api/resources/billing/resources/statements/client/Client.d.mts +104 -27
  473. package/dist/esm/api/resources/billing/resources/statements/client/Client.mjs +396 -49
  474. package/dist/esm/api/resources/billing/resources/statements/client/requests/StatementCreateClientReq.d.mts +20 -0
  475. package/dist/esm/api/resources/billing/resources/statements/client/requests/StatementUpdateSettlementTypeReq.d.mts +13 -0
  476. package/dist/esm/api/resources/billing/resources/statements/client/requests/index.d.mts +2 -4
  477. package/dist/esm/api/resources/index.d.mts +2 -0
  478. package/dist/esm/api/resources/index.mjs +2 -0
  479. package/dist/esm/api/resources/listing/client/Client.d.mts +32 -0
  480. package/dist/esm/api/resources/listing/client/Client.mjs +28 -0
  481. package/dist/esm/api/resources/listing/client/index.d.mts +1 -0
  482. package/dist/esm/api/resources/listing/client/index.mjs +1 -0
  483. package/dist/esm/api/resources/listing/index.d.mts +2 -0
  484. package/dist/esm/api/resources/listing/index.mjs +2 -0
  485. package/dist/esm/api/resources/listing/resources/bidThreads/client/Client.d.mts +183 -0
  486. package/dist/esm/api/resources/listing/resources/bidThreads/client/Client.mjs +695 -0
  487. package/dist/esm/api/resources/listing/resources/bidThreads/client/index.d.mts +2 -0
  488. package/dist/esm/api/resources/listing/resources/bidThreads/client/index.mjs +1 -0
  489. package/dist/esm/api/resources/listing/resources/bidThreads/client/requests/BidThreadClientCreate1.d.mts +18 -0
  490. package/dist/esm/api/resources/listing/resources/bidThreads/client/requests/BidThreadsListForBidderV1Request.d.mts +44 -0
  491. package/dist/esm/api/resources/listing/resources/bidThreads/client/requests/BidThreadsListForListingV1Request.d.mts +44 -0
  492. package/dist/esm/api/resources/listing/resources/bidThreads/client/requests/index.d.mts +3 -0
  493. package/dist/esm/api/resources/listing/resources/bidThreads/client/requests/index.mjs +1 -0
  494. package/dist/esm/api/resources/listing/resources/bidThreads/index.d.mts +1 -0
  495. package/dist/esm/api/resources/listing/resources/bidThreads/index.mjs +1 -0
  496. package/dist/esm/api/resources/listing/resources/driverBiddingGroups/client/Client.d.mts +144 -0
  497. package/dist/esm/api/resources/listing/resources/driverBiddingGroups/client/Client.mjs +501 -0
  498. package/dist/esm/api/resources/listing/resources/driverBiddingGroups/client/index.d.mts +2 -0
  499. package/dist/esm/api/resources/listing/resources/driverBiddingGroups/client/index.mjs +1 -0
  500. package/dist/esm/api/resources/listing/resources/driverBiddingGroups/client/requests/DriverBiddingGroupClientCreate1.d.mts +14 -0
  501. package/dist/esm/api/resources/listing/resources/driverBiddingGroups/client/requests/DriverBiddingGroupsListByOrgV1Request.d.mts +39 -0
  502. package/dist/esm/api/resources/listing/resources/driverBiddingGroups/client/requests/DriverBiddingGroupsUpdateNameV1Request.d.mts +12 -0
  503. package/dist/esm/api/resources/listing/resources/driverBiddingGroups/client/requests/index.d.mts +3 -0
  504. package/dist/esm/api/resources/listing/resources/driverBiddingGroups/client/requests/index.mjs +1 -0
  505. package/dist/esm/api/resources/listing/resources/driverBiddingGroups/index.d.mts +1 -0
  506. package/dist/esm/api/resources/listing/resources/driverBiddingGroups/index.mjs +1 -0
  507. package/dist/esm/api/resources/listing/resources/index.d.mts +8 -0
  508. package/dist/esm/api/resources/listing/resources/index.mjs +8 -0
  509. package/dist/esm/api/resources/listing/resources/listings/client/Client.d.mts +253 -0
  510. package/dist/esm/api/resources/listing/resources/listings/client/Client.mjs +1031 -0
  511. package/dist/esm/api/resources/listing/resources/listings/client/index.d.mts +2 -0
  512. package/dist/esm/api/resources/listing/resources/listings/client/index.mjs +1 -0
  513. package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingAddDriverParticipantsReq.d.mts +11 -0
  514. package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingAddProviderParticipantsReq.d.mts +11 -0
  515. package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingClientCreate1.d.mts +30 -0
  516. package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingClientUpdate1.d.mts +17 -0
  517. package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingRemoveDriverParticipantsReq.d.mts +10 -0
  518. package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingRemoveProviderParticipantsReq.d.mts +10 -0
  519. package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingsListByOrgV1Request.d.mts +52 -0
  520. package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingsListForDriverBidderV1Request.d.mts +49 -0
  521. package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingsListForProviderBidderV1Request.d.mts +49 -0
  522. package/dist/esm/api/resources/listing/resources/listings/client/requests/index.d.mts +9 -0
  523. package/dist/esm/api/resources/listing/resources/listings/client/requests/index.mjs +1 -0
  524. package/dist/esm/api/resources/listing/resources/listings/index.d.mts +1 -0
  525. package/dist/esm/api/resources/listing/resources/listings/index.mjs +1 -0
  526. package/dist/esm/api/resources/listing/resources/orgBiddingGroups/client/Client.d.mts +144 -0
  527. package/dist/esm/api/resources/listing/resources/orgBiddingGroups/client/Client.mjs +501 -0
  528. package/dist/esm/api/resources/listing/resources/orgBiddingGroups/client/index.d.mts +2 -0
  529. package/dist/esm/api/resources/listing/resources/orgBiddingGroups/client/index.mjs +1 -0
  530. package/dist/esm/api/resources/listing/resources/orgBiddingGroups/client/requests/OrgBiddingGroupClientCreate1.d.mts +14 -0
  531. package/dist/esm/api/resources/listing/resources/orgBiddingGroups/client/requests/OrgBiddingGroupsListByOrgV1Request.d.mts +39 -0
  532. package/dist/esm/api/resources/listing/resources/orgBiddingGroups/client/requests/OrgBiddingGroupsUpdateNameV1Request.d.mts +12 -0
  533. package/dist/esm/api/resources/listing/resources/orgBiddingGroups/client/requests/index.d.mts +3 -0
  534. package/dist/esm/api/resources/listing/resources/orgBiddingGroups/client/requests/index.mjs +1 -0
  535. package/dist/esm/api/resources/listing/resources/orgBiddingGroups/index.d.mts +1 -0
  536. package/dist/esm/api/resources/listing/resources/orgBiddingGroups/index.mjs +1 -0
  537. package/dist/esm/api/resources/operations/client/Client.d.mts +26 -0
  538. package/dist/esm/api/resources/operations/client/Client.mjs +18 -0
  539. package/dist/esm/api/resources/operations/client/index.d.mts +1 -0
  540. package/dist/esm/api/resources/operations/client/index.mjs +1 -0
  541. package/dist/esm/api/resources/operations/index.d.mts +2 -0
  542. package/dist/esm/api/resources/operations/index.mjs +2 -0
  543. package/dist/esm/api/resources/operations/resources/cases/client/Client.d.mts +143 -0
  544. package/dist/esm/api/resources/operations/resources/cases/client/Client.mjs +513 -0
  545. package/dist/esm/api/resources/operations/resources/cases/client/index.d.mts +2 -0
  546. package/dist/esm/api/resources/operations/resources/cases/client/index.mjs +1 -0
  547. package/dist/esm/api/resources/operations/resources/cases/client/requests/CaseAddMessageReq.d.mts +12 -0
  548. package/dist/esm/api/resources/operations/resources/cases/client/requests/CaseAssignReq.d.mts +12 -0
  549. package/dist/esm/api/resources/operations/resources/cases/client/requests/CaseClientUpdate1.d.mts +11 -0
  550. package/dist/esm/api/resources/operations/resources/cases/client/requests/CaseUnassignReq.d.mts +12 -0
  551. package/dist/esm/api/resources/operations/resources/cases/client/requests/CasesListV1Request.d.mts +34 -0
  552. package/dist/esm/api/resources/operations/resources/cases/client/requests/index.d.mts +5 -0
  553. package/dist/esm/api/resources/operations/resources/cases/client/requests/index.mjs +1 -0
  554. package/dist/esm/api/resources/operations/resources/cases/index.d.mts +1 -0
  555. package/dist/esm/api/resources/operations/resources/cases/index.mjs +1 -0
  556. package/dist/esm/api/resources/operations/resources/departments/client/Client.d.mts +137 -0
  557. package/dist/esm/api/resources/operations/resources/departments/client/Client.mjs +484 -0
  558. package/dist/esm/api/resources/operations/resources/departments/client/index.d.mts +2 -0
  559. package/dist/esm/api/resources/operations/resources/departments/client/index.mjs +1 -0
  560. package/dist/esm/api/resources/operations/resources/departments/client/requests/DepartmentClientCreate1.d.mts +19 -0
  561. package/dist/esm/api/resources/operations/resources/departments/client/requests/DepartmentClientUpdate1.d.mts +13 -0
  562. package/dist/esm/api/resources/operations/resources/departments/client/requests/DepartmentsListV1Request.d.mts +23 -0
  563. package/dist/esm/api/resources/operations/resources/departments/client/requests/index.d.mts +3 -0
  564. package/dist/esm/api/resources/operations/resources/departments/client/requests/index.mjs +1 -0
  565. package/dist/esm/api/resources/operations/resources/departments/index.d.mts +1 -0
  566. package/dist/esm/api/resources/operations/resources/departments/index.mjs +1 -0
  567. package/dist/esm/api/resources/operations/resources/index.d.mts +4 -0
  568. package/dist/esm/api/resources/operations/resources/index.mjs +4 -0
  569. package/dist/esm/api/resources/orgs/client/Client.d.mts +4 -1
  570. package/dist/esm/api/resources/orgs/client/Client.mjs +6 -1
  571. package/dist/esm/api/resources/orgs/client/requests/SetOrgTypeReq.d.mts +1 -1
  572. package/dist/esm/api/resources/orgs/resources/connections/client/Client.d.mts +33 -35
  573. package/dist/esm/api/resources/orgs/resources/connections/client/Client.mjs +70 -80
  574. package/dist/esm/api/resources/orgs/resources/connections/client/requests/ConnectionsListProvidersV1Request.d.mts +17 -0
  575. package/dist/esm/api/resources/orgs/resources/connections/client/requests/ProviderProviderUpdateAutoAssignReq.d.mts +12 -0
  576. package/dist/esm/api/resources/orgs/resources/connections/client/requests/SetDepartmentReq.d.mts +10 -0
  577. package/dist/esm/api/resources/orgs/resources/connections/client/requests/index.d.mts +3 -2
  578. package/dist/esm/api/resources/orgs/resources/connections/types/ConnectionsGetByHandleV1Response.d.mts +1 -1
  579. package/dist/esm/api/resources/orgs/resources/index.d.mts +2 -0
  580. package/dist/esm/api/resources/orgs/resources/index.mjs +2 -0
  581. package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/Client.d.mts +106 -0
  582. package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/Client.mjs +347 -0
  583. package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/index.d.mts +2 -0
  584. package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/index.mjs +1 -0
  585. package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientCreate1.d.mts +26 -0
  586. package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientUpdate1.d.mts +31 -0
  587. package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientUpdate1.mjs +4 -0
  588. package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgListV1Request.d.mts +14 -0
  589. package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgListV1Request.mjs +4 -0
  590. package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/requests/index.d.mts +3 -0
  591. package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/requests/index.mjs +1 -0
  592. package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/index.d.mts +1 -0
  593. package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/index.mjs +1 -0
  594. package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientCreate1.d.mts +1 -2
  595. package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientUpdate1.d.mts +2 -0
  596. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/client/Client.d.mts +3 -6
  597. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/client/Client.mjs +3 -8
  598. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/index.d.mts +2 -4
  599. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/index.mjs +2 -4
  600. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/Client.d.mts +83 -0
  601. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/Client.mjs +263 -0
  602. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/index.d.mts +2 -0
  603. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/index.mjs +1 -0
  604. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientCreate1.d.mts +24 -0
  605. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientCreate1.mjs +4 -0
  606. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientUpdate1.d.mts +29 -0
  607. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientUpdate1.mjs +4 -0
  608. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/index.d.mts +2 -0
  609. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/index.mjs +1 -0
  610. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/index.d.mts +1 -0
  611. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/index.mjs +1 -0
  612. package/dist/esm/api/resources/orgs/resources/orgProfiles/client/Client.d.mts +14 -45
  613. package/dist/esm/api/resources/orgs/resources/orgProfiles/client/Client.mjs +18 -147
  614. package/dist/esm/api/resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientCreate1.d.mts +19 -0
  615. package/dist/esm/api/resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientCreate1.mjs +4 -0
  616. package/dist/esm/api/resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientUpdate1.d.mts +12 -0
  617. package/dist/esm/api/resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientUpdate1.mjs +4 -0
  618. package/dist/esm/api/resources/orgs/resources/orgProfiles/client/requests/index.d.mts +2 -4
  619. package/dist/esm/api/resources/shipping/resources/drivers/client/Client.d.mts +20 -4
  620. package/dist/esm/api/resources/shipping/resources/drivers/client/Client.mjs +69 -4
  621. package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriverUpdateAutoAssignReq.d.mts +12 -0
  622. package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriverUpdateAutoAssignReq.mjs +4 -0
  623. package/dist/esm/api/resources/shipping/resources/drivers/client/requests/index.d.mts +1 -0
  624. package/dist/esm/api/resources/shipping/resources/orderDrafts/client/Client.d.mts +1 -1
  625. package/dist/esm/api/resources/shipping/resources/orderDrafts/client/Client.mjs +1 -1
  626. package/dist/esm/api/resources/shipping/resources/orderDrafts/client/requests/OrdersDraftUpdateReq.d.mts +2 -2
  627. package/dist/esm/api/resources/shipping/resources/orderDrafts/client/requests/OrdersNewDraftReq.d.mts +1 -1
  628. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.d.mts +2 -2
  629. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.mjs +7 -7
  630. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/expanded/client/requests/ExpandedListV1Request.d.mts +4 -4
  631. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/Client.d.mts +2 -47
  632. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/Client.mjs +2 -191
  633. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/OrderDraftAddTaskGroupReq.d.mts +1 -4
  634. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/index.d.mts +0 -2
  635. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.mts +13 -13
  636. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.mjs +27 -27
  637. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.d.mts +58 -0
  638. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.mjs +4 -0
  639. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.mts +4 -4
  640. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/index.d.mts +1 -1
  641. package/dist/esm/api/resources/shipping/resources/taskGroups/client/Client.d.mts +228 -15
  642. package/dist/esm/api/resources/shipping/resources/taskGroups/client/Client.mjs +952 -22
  643. package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/AddExecutorReq.d.mts +13 -0
  644. package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/AddExecutorReq.mjs +4 -0
  645. package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/index.d.mts +1 -1
  646. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.mts +25 -25
  647. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.mjs +46 -46
  648. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverForExecutorV1Request.d.mts +58 -0
  649. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverForExecutorV1Request.mjs +4 -0
  650. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.mts +60 -0
  651. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.mjs +4 -0
  652. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/index.d.mts +2 -2
  653. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/s3Object/client/Client.d.mts +2 -2
  654. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/s3Object/client/Client.mjs +2 -2
  655. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/Client.d.mts +8 -8
  656. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/Client.mjs +14 -14
  657. package/dist/esm/api/resources/tracking/resources/sharingSettings/client/Client.d.mts +3 -3
  658. package/dist/esm/api/resources/tracking/resources/sharingSettings/client/Client.mjs +3 -3
  659. package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/Client.d.mts +2 -2
  660. package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/Client.mjs +2 -2
  661. package/dist/esm/api/types/AttachBillingLedgerPeriodReq.d.mts +6 -0
  662. package/dist/esm/api/types/AttachBillingLedgerPeriodReq.mjs +4 -0
  663. package/dist/esm/api/types/AttachLigToVectorClientReq.d.mts +6 -0
  664. package/dist/esm/api/types/AttachLigToVectorClientReq.mjs +4 -0
  665. package/dist/esm/api/types/Bid.d.mts +16 -0
  666. package/dist/esm/api/types/Bid.mjs +4 -0
  667. package/dist/esm/api/types/BidActionEnum.d.mts +11 -0
  668. package/dist/esm/api/types/BidActionEnum.mjs +10 -0
  669. package/dist/esm/api/types/BidAppendReq.d.mts +13 -0
  670. package/dist/esm/api/types/BidAppendReq.mjs +4 -0
  671. package/dist/esm/api/types/BidThread1.d.mts +17 -0
  672. package/dist/esm/api/types/BidThread1.mjs +4 -0
  673. package/dist/esm/api/types/BidThreadListRes.d.mts +8 -0
  674. package/dist/esm/api/types/BidThreadListRes.mjs +4 -0
  675. package/dist/esm/api/types/BidThreadSortByEnum.d.mts +8 -0
  676. package/dist/esm/api/types/BidThreadSortByEnum.mjs +7 -0
  677. package/dist/esm/api/types/BidThreadStatusEnum.d.mts +10 -0
  678. package/dist/esm/api/types/BidThreadStatusEnum.mjs +9 -0
  679. package/dist/esm/api/types/BillingCycleEnum.d.mts +11 -0
  680. package/dist/esm/api/types/BillingCycleEnum.mjs +10 -0
  681. package/dist/esm/api/types/BillingLedger1.d.mts +26 -0
  682. package/dist/esm/api/types/BillingLedger1.mjs +4 -0
  683. package/dist/esm/api/types/BillingLedgerListRes.d.mts +8 -0
  684. package/dist/esm/api/types/BillingLedgerListRes.mjs +4 -0
  685. package/dist/esm/api/types/BillingLedgerPeriod1.d.mts +35 -0
  686. package/dist/esm/api/types/BillingLedgerPeriod1.mjs +4 -0
  687. package/dist/esm/api/types/BillingLedgerPeriodListRes.d.mts +8 -0
  688. package/dist/esm/api/types/BillingLedgerPeriodListRes.mjs +4 -0
  689. package/dist/esm/api/types/BillingLedgerPeriodSortByEnum.d.mts +9 -0
  690. package/dist/esm/api/types/BillingLedgerPeriodSortByEnum.mjs +8 -0
  691. package/dist/esm/api/types/BillingLedgerPeriodStatusEnum.d.mts +8 -0
  692. package/dist/esm/api/types/BillingLedgerPeriodStatusEnum.mjs +7 -0
  693. package/dist/esm/api/types/BillingLedgerSortByEnum.d.mts +4 -0
  694. package/dist/esm/api/types/BillingLedgerSortByEnum.mjs +4 -0
  695. package/dist/esm/api/types/BillingLedgerStatusEnum.d.mts +8 -0
  696. package/dist/esm/api/types/BillingLedgerStatusEnum.mjs +7 -0
  697. package/dist/esm/api/types/CargoOnFlightRateSheet1.d.mts +16 -0
  698. package/dist/esm/api/types/CargoOnFlightRateSheet1.mjs +4 -0
  699. package/dist/esm/api/types/CargoOnFlightRateSheetListRes.d.mts +8 -0
  700. package/dist/esm/api/types/CargoOnFlightRateSheetListRes.mjs +4 -0
  701. package/dist/esm/api/types/CargoOnFlightTaskActionEnum1.d.mts +13 -0
  702. package/dist/esm/api/types/CargoOnFlightTaskActionEnum1.mjs +12 -0
  703. package/dist/esm/api/types/Case1.d.mts +19 -0
  704. package/dist/esm/api/types/Case1.mjs +4 -0
  705. package/dist/esm/api/types/CaseListRes.d.mts +8 -0
  706. package/dist/esm/api/types/CaseListRes.mjs +4 -0
  707. package/dist/esm/api/types/CaseMessage1.d.mts +11 -0
  708. package/dist/esm/api/types/CaseMessage1.mjs +4 -0
  709. package/dist/esm/api/types/CaseSortByEnum.d.mts +9 -0
  710. package/dist/esm/api/types/CaseSortByEnum.mjs +8 -0
  711. package/dist/esm/api/types/CaseStatusEnum.d.mts +9 -0
  712. package/dist/esm/api/types/CaseStatusEnum.mjs +8 -0
  713. package/dist/esm/api/types/ChrtGroundProviderRateSheet1.d.mts +32 -0
  714. package/dist/esm/api/types/ChrtGroundProviderRateSheet1.mjs +4 -0
  715. package/dist/esm/api/types/ChrtGroundProviderRateSheetListRes.d.mts +8 -0
  716. package/dist/esm/api/types/ChrtGroundProviderRateSheetListRes.mjs +4 -0
  717. package/dist/esm/api/types/ChrtGroundProviderTaskActionEnum1.d.mts +13 -0
  718. package/dist/esm/api/types/ChrtGroundProviderTaskActionEnum1.mjs +12 -0
  719. package/dist/esm/api/types/CreateLigFromRateSheetForVectorClientReq.d.mts +7 -0
  720. package/dist/esm/api/types/CreateLigFromRateSheetForVectorClientReq.mjs +4 -0
  721. package/dist/esm/api/types/Department1.d.mts +17 -0
  722. package/dist/esm/api/types/Department1.mjs +4 -0
  723. package/dist/esm/api/types/DepartmentEnum.d.mts +18 -0
  724. package/dist/esm/api/types/DepartmentEnum.mjs +17 -0
  725. package/dist/esm/api/types/DepartmentListRes.d.mts +8 -0
  726. package/dist/esm/api/types/DepartmentListRes.mjs +4 -0
  727. package/dist/esm/api/types/DepartmentSortByEnum.d.mts +8 -0
  728. package/dist/esm/api/types/DepartmentSortByEnum.mjs +7 -0
  729. package/dist/esm/api/types/Driver1.d.mts +1 -2
  730. package/dist/esm/api/types/DriverBiddingGroup1.d.mts +15 -0
  731. package/dist/esm/api/types/DriverBiddingGroup1.mjs +4 -0
  732. package/dist/esm/api/types/DriverBiddingGroupListRes.d.mts +8 -0
  733. package/dist/esm/api/types/DriverBiddingGroupListRes.mjs +4 -0
  734. package/dist/esm/api/types/DriverBiddingGroupSortByEnum.d.mts +9 -0
  735. package/dist/esm/api/types/DriverBiddingGroupSortByEnum.mjs +8 -0
  736. package/dist/esm/api/types/LineItem1.d.mts +19 -5
  737. package/dist/esm/api/types/LineItemClientCreate1.d.mts +14 -0
  738. package/dist/esm/api/types/LineItemClientCreate1.mjs +4 -0
  739. package/dist/esm/api/types/LineItemEnum1.d.mts +19 -11
  740. package/dist/esm/api/types/LineItemEnum1.mjs +12 -10
  741. package/dist/esm/api/types/LineItemGroup1.d.mts +31 -4
  742. package/dist/esm/api/types/LineItemGroupStatusEnum1.d.mts +20 -4
  743. package/dist/esm/api/types/LineItemGroupStatusEnum1.mjs +0 -3
  744. package/dist/esm/api/types/LineItemProvenanceEnum.d.mts +9 -0
  745. package/dist/esm/api/types/LineItemProvenanceEnum.mjs +8 -0
  746. package/dist/esm/api/types/LineItemStatusEnum.d.mts +9 -0
  747. package/dist/esm/api/types/LineItemStatusEnum.mjs +8 -0
  748. package/dist/esm/api/types/Listing1.d.mts +34 -0
  749. package/dist/esm/api/types/Listing1.mjs +4 -0
  750. package/dist/esm/api/types/ListingAudienceEnum.d.mts +8 -0
  751. package/dist/esm/api/types/ListingAudienceEnum.mjs +7 -0
  752. package/dist/esm/api/types/ListingForBidderListRes.d.mts +8 -0
  753. package/dist/esm/api/types/ListingForBidderListRes.mjs +4 -0
  754. package/dist/esm/api/types/ListingLimitedForBidder1.d.mts +41 -0
  755. package/dist/esm/api/types/ListingLimitedForBidder1.mjs +4 -0
  756. package/dist/esm/api/types/ListingListRes.d.mts +8 -0
  757. package/dist/esm/api/types/ListingListRes.mjs +4 -0
  758. package/dist/esm/api/types/ListingSortByEnum.d.mts +8 -0
  759. package/dist/esm/api/types/ListingSortByEnum.mjs +7 -0
  760. package/dist/esm/api/types/ListingStatusEnum.d.mts +9 -0
  761. package/dist/esm/api/types/ListingStatusEnum.mjs +8 -0
  762. package/dist/esm/api/types/ListingTypeEnum.d.mts +8 -0
  763. package/dist/esm/api/types/ListingTypeEnum.mjs +7 -0
  764. package/dist/esm/api/types/OffChrtProviderOrg1.d.mts +24 -0
  765. package/dist/esm/api/types/OffChrtProviderOrg1.mjs +4 -0
  766. package/dist/esm/api/types/OffChrtProviderOrgListRes.d.mts +8 -0
  767. package/dist/esm/api/types/OffChrtProviderOrgListRes.mjs +4 -0
  768. package/dist/esm/api/types/OffChrtShipperOrg1.d.mts +1 -2
  769. package/dist/esm/api/types/OnboardCourierRateSheet1.d.mts +13 -0
  770. package/dist/esm/api/types/OnboardCourierRateSheet1.mjs +4 -0
  771. package/dist/esm/api/types/OnboardCourierRateSheetListRes.d.mts +8 -0
  772. package/dist/esm/api/types/OnboardCourierRateSheetListRes.mjs +4 -0
  773. package/dist/esm/api/types/Order1.d.mts +5 -5
  774. package/dist/esm/api/types/OrderAndTaskGroupExpandedReq.d.mts +4 -4
  775. package/dist/esm/api/types/OrderDraftExpanded.d.mts +2 -2
  776. package/dist/esm/api/types/OrderExpanded.d.mts +2 -2
  777. package/dist/esm/api/types/OrdersDraftUpdateRes.d.mts +1 -1
  778. package/dist/esm/api/types/OrgBiddingGroup1.d.mts +15 -0
  779. package/dist/esm/api/types/OrgBiddingGroup1.mjs +4 -0
  780. package/dist/esm/api/types/OrgBiddingGroupListRes.d.mts +8 -0
  781. package/dist/esm/api/types/OrgBiddingGroupListRes.mjs +4 -0
  782. package/dist/esm/api/types/OrgBiddingGroupSortByEnum.d.mts +9 -0
  783. package/dist/esm/api/types/OrgBiddingGroupSortByEnum.mjs +8 -0
  784. package/dist/esm/api/types/OrgPrivateData1.d.mts +0 -8
  785. package/dist/esm/api/types/OrgRoleEnum.d.mts +2 -2
  786. package/dist/esm/api/types/OrgTypeEnum.d.mts +2 -3
  787. package/dist/esm/api/types/OrgTypeEnum.mjs +1 -2
  788. package/dist/esm/api/types/ProFormaLineItem1.d.mts +20 -0
  789. package/dist/esm/api/types/ProFormaLineItem1.mjs +4 -0
  790. package/dist/esm/api/types/ProviderConnectionListRes.d.mts +8 -0
  791. package/dist/esm/api/types/ProviderConnectionListRes.mjs +4 -0
  792. package/dist/esm/api/types/ProviderConnectionRes.d.mts +8 -0
  793. package/dist/esm/api/types/ProviderConnectionRes.mjs +4 -0
  794. package/dist/esm/api/types/ProviderOrgInfoForConnections1.d.mts +22 -0
  795. package/dist/esm/api/types/ProviderOrgInfoForConnections1.mjs +4 -0
  796. package/dist/esm/api/types/ProviderOrgProfile1.d.mts +13 -0
  797. package/dist/esm/api/types/ProviderOrgProfile1.mjs +4 -0
  798. package/dist/esm/api/types/ProviderProviderConnection1.d.mts +15 -0
  799. package/dist/esm/api/types/ProviderProviderConnection1.mjs +4 -0
  800. package/dist/esm/api/types/RateSheetMapping1.d.mts +17 -0
  801. package/dist/esm/api/types/RateSheetMapping1.mjs +4 -0
  802. package/dist/esm/api/types/RateSheetMappingListRes.d.mts +8 -0
  803. package/dist/esm/api/types/RateSheetMappingListRes.mjs +4 -0
  804. package/dist/esm/api/types/ShipperProviderConnection1.d.mts +14 -0
  805. package/dist/esm/api/types/ShipperProviderConnection1.mjs +4 -0
  806. package/dist/esm/api/types/ShippingTaskAddedWebhookPayload.d.mts +1 -1
  807. package/dist/esm/api/types/ShippingTaskCompletedWebhookPayload.d.mts +2 -2
  808. package/dist/esm/api/types/ShippingTaskDeletedWebhookPayload.d.mts +1 -1
  809. package/dist/esm/api/types/ShippingTaskSkippedWebhookPayload.d.mts +1 -1
  810. package/dist/esm/api/types/Statement1.d.mts +2 -1
  811. package/dist/esm/api/types/Task1.d.mts +1 -1
  812. package/dist/esm/api/types/TaskClientCreate1.d.mts +1 -1
  813. package/dist/esm/api/types/TaskClientUpdate1.d.mts +1 -1
  814. package/dist/esm/api/types/TaskGroup1.d.mts +19 -16
  815. package/dist/esm/api/types/TaskGroupExpanded.d.mts +6 -6
  816. package/dist/esm/api/types/TaskGroupQuoteClientReq.d.mts +6 -0
  817. package/dist/esm/api/types/TaskGroupQuoteClientReq.mjs +4 -0
  818. package/dist/esm/api/types/TaskGroupQuoteResp.d.mts +37 -0
  819. package/dist/esm/api/types/TaskGroupQuoteResp.mjs +4 -0
  820. package/dist/esm/api/types/TaskGroupTypeEnum1.d.mts +3 -3
  821. package/dist/esm/api/types/TaskGroupTypeEnum1.mjs +2 -2
  822. package/dist/esm/api/types/index.d.mts +66 -21
  823. package/dist/esm/api/types/index.mjs +66 -21
  824. package/dist/esm/version.d.mts +1 -1
  825. package/dist/esm/version.mjs +1 -1
  826. package/package.json +1 -1
  827. package/reference.md +8122 -1290
  828. package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/AdjustLineItemReq.d.ts +0 -18
  829. package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupsAssociateWithStatementV1Request.d.ts +0 -12
  830. package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupsListForCourierOrgV1Request.d.ts +0 -32
  831. package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupsQuoteV1Request.d.ts +0 -17
  832. package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/Client.d.ts +0 -113
  833. package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/Client.js +0 -389
  834. package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/requests/AdHocRemoveLineItemV1Request.d.ts +0 -13
  835. package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/requests/CreateAdHocLineItemGroupReq.d.ts +0 -27
  836. package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/requests/LineItemClientCreate1.d.ts +0 -22
  837. package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/requests/SetAdHocTaskGroupReq.d.ts +0 -12
  838. package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/requests/index.d.ts +0 -4
  839. package/dist/cjs/api/resources/billing/resources/rateSheets/client/Client.d.ts +0 -186
  840. package/dist/cjs/api/resources/billing/resources/rateSheets/client/Client.js +0 -717
  841. package/dist/cjs/api/resources/billing/resources/rateSheets/client/requests/RateSheetClientCreate1.d.ts +0 -37
  842. package/dist/cjs/api/resources/billing/resources/rateSheets/client/requests/RateSheetClientUpdate1.d.ts +0 -16
  843. package/dist/cjs/api/resources/billing/resources/rateSheets/client/requests/RateSheetsArchiveV1Request.d.ts +0 -12
  844. package/dist/cjs/api/resources/billing/resources/rateSheets/client/requests/RateSheetsListByOrgV1Request.d.ts +0 -36
  845. package/dist/cjs/api/resources/billing/resources/rateSheets/client/requests/RateSheetsUpdateDefaultForConnectionV1Request.d.ts +0 -17
  846. package/dist/cjs/api/resources/billing/resources/rateSheets/client/requests/RateSheetsUpdateDefaultForDriverV1Request.d.ts +0 -17
  847. package/dist/cjs/api/resources/billing/resources/rateSheets/client/requests/RateSheetsUpdateDefaultForOffChrtShipperV1Request.d.ts +0 -17
  848. package/dist/cjs/api/resources/billing/resources/rateSheets/client/requests/RateSheetsUpdateOrgDefaultForServiceTypeV1Request.d.ts +0 -17
  849. package/dist/cjs/api/resources/billing/resources/rateSheets/client/requests/index.d.ts +0 -8
  850. package/dist/cjs/api/resources/billing/resources/statements/client/requests/BodyStatementsPatchUpdateOffChrtSettlementStateV1BillingStatementsUpdateOffChrtSettlementStateV1StatementIdPatch.d.ts +0 -13
  851. package/dist/cjs/api/resources/billing/resources/statements/client/requests/BodyStatementsPatchUpdateSettlementTypeV1BillingStatementsUpdateSettlementTypeV1StatementIdPatch.d.ts +0 -13
  852. package/dist/cjs/api/resources/billing/resources/statements/client/requests/CreateStatementReq.d.ts +0 -25
  853. package/dist/cjs/api/resources/billing/resources/statements/client/requests/OpenInvoiceReq.d.ts +0 -13
  854. package/dist/cjs/api/resources/orgs/resources/connections/client/requests/ConnectionsListCouriersV1Request.d.ts +0 -17
  855. package/dist/cjs/api/resources/orgs/resources/connections/client/requests/ConnectionsListForwardersV1Request.d.ts +0 -17
  856. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/courier/client/Client.d.ts +0 -83
  857. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/courier/client/Client.js +0 -297
  858. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/courier/client/requests/CourierOrgInfoForConnectionsClientCreate1.d.ts +0 -24
  859. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/courier/client/requests/CourierOrgInfoForConnectionsClientUpdate1.d.ts +0 -29
  860. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/courier/client/requests/index.d.ts +0 -2
  861. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/forwarder/client/Client.d.ts +0 -73
  862. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/forwarder/client/Client.js +0 -246
  863. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/forwarder/client/requests/ForwarderOrgInfoForConnectionsClientCreate1.d.ts +0 -24
  864. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/forwarder/client/requests/ForwarderOrgInfoForConnectionsClientUpdate1.d.ts +0 -29
  865. package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/forwarder/client/requests/index.d.ts +0 -2
  866. package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/requests/CourierOrgProfileClientCreate1.d.ts +0 -19
  867. package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/requests/CourierOrgProfileClientUpdate1.d.ts +0 -12
  868. package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/requests/ForwarderOrgProfileClientCreate1.d.ts +0 -19
  869. package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/requests/ForwarderOrgProfileClientUpdate1.d.ts +0 -12
  870. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/SetServiceTypeReq.d.ts +0 -14
  871. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/UpdateCourierOrgDraftReq.d.ts +0 -13
  872. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForForwarderOperatorsV1Request.d.ts +0 -58
  873. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/UpdateCourierOrgReq.d.ts +0 -13
  874. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForCourierDriverV1Request.d.ts +0 -58
  875. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForCourierOperatorsV1Request.d.ts +0 -60
  876. package/dist/cjs/api/types/ChrtGroundCourierTaskActionEnum1.d.ts +0 -13
  877. package/dist/cjs/api/types/ChrtGroundCourierTaskActionEnum1.js +0 -15
  878. package/dist/cjs/api/types/CourierConnectionListRes.d.ts +0 -8
  879. package/dist/cjs/api/types/CourierConnectionRes.d.ts +0 -8
  880. package/dist/cjs/api/types/CourierOrgInfoForConnections1.d.ts +0 -22
  881. package/dist/cjs/api/types/CourierOrgProfile1.d.ts +0 -13
  882. package/dist/cjs/api/types/FlightTaskActionEnum1.d.ts +0 -13
  883. package/dist/cjs/api/types/FlightTaskActionEnum1.js +0 -15
  884. package/dist/cjs/api/types/ForwarderConnectionListRes.d.ts +0 -8
  885. package/dist/cjs/api/types/ForwarderConnectionRes.d.ts +0 -8
  886. package/dist/cjs/api/types/ForwarderCourierConnection1.d.ts +0 -15
  887. package/dist/cjs/api/types/ForwarderOrgInfoForConnections1.d.ts +0 -22
  888. package/dist/cjs/api/types/ForwarderOrgProfile1.d.ts +0 -13
  889. package/dist/cjs/api/types/OrgProfileRes1.d.ts +0 -8
  890. package/dist/cjs/api/types/PaymentRoleFilterEnum.d.ts +0 -8
  891. package/dist/cjs/api/types/PaymentRoleFilterEnum.js +0 -10
  892. package/dist/cjs/api/types/PaymentVectorTypeEnum1.d.ts +0 -10
  893. package/dist/cjs/api/types/PaymentVectorTypeEnum1.js +0 -12
  894. package/dist/cjs/api/types/Quote.d.ts +0 -12
  895. package/dist/cjs/api/types/RateSheet1.d.ts +0 -33
  896. package/dist/cjs/api/types/RateSheetListResponse.d.ts +0 -11
  897. package/dist/cjs/api/types/RateSheetSortByEnum.d.ts +0 -11
  898. package/dist/cjs/api/types/RateSheetSortByEnum.js +0 -10
  899. package/dist/cjs/api/types/ServiceTypeEnum1.d.ts +0 -8
  900. package/dist/cjs/api/types/ServiceTypeEnum1.js +0 -10
  901. package/dist/cjs/api/types/ShipperCourierConnection1.d.ts +0 -15
  902. package/dist/cjs/api/types/ShipperForwarderConnection1.d.ts +0 -15
  903. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/AdjustLineItemReq.d.mts +0 -18
  904. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupsAssociateWithStatementV1Request.d.mts +0 -12
  905. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupsListForCourierOrgV1Request.d.mts +0 -32
  906. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupsQuoteV1Request.d.mts +0 -17
  907. package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/Client.d.mts +0 -113
  908. package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/Client.mjs +0 -352
  909. package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/requests/AdHocRemoveLineItemV1Request.d.mts +0 -13
  910. package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/requests/CreateAdHocLineItemGroupReq.d.mts +0 -27
  911. package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/requests/LineItemClientCreate1.d.mts +0 -22
  912. package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/requests/SetAdHocTaskGroupReq.d.mts +0 -12
  913. package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/requests/index.d.mts +0 -4
  914. package/dist/esm/api/resources/billing/resources/rateSheets/client/Client.d.mts +0 -186
  915. package/dist/esm/api/resources/billing/resources/rateSheets/client/Client.mjs +0 -680
  916. package/dist/esm/api/resources/billing/resources/rateSheets/client/requests/RateSheetClientCreate1.d.mts +0 -37
  917. package/dist/esm/api/resources/billing/resources/rateSheets/client/requests/RateSheetClientUpdate1.d.mts +0 -16
  918. package/dist/esm/api/resources/billing/resources/rateSheets/client/requests/RateSheetsArchiveV1Request.d.mts +0 -12
  919. package/dist/esm/api/resources/billing/resources/rateSheets/client/requests/RateSheetsListByOrgV1Request.d.mts +0 -36
  920. package/dist/esm/api/resources/billing/resources/rateSheets/client/requests/RateSheetsUpdateDefaultForConnectionV1Request.d.mts +0 -17
  921. package/dist/esm/api/resources/billing/resources/rateSheets/client/requests/RateSheetsUpdateDefaultForDriverV1Request.d.mts +0 -17
  922. package/dist/esm/api/resources/billing/resources/rateSheets/client/requests/RateSheetsUpdateDefaultForOffChrtShipperV1Request.d.mts +0 -17
  923. package/dist/esm/api/resources/billing/resources/rateSheets/client/requests/RateSheetsUpdateOrgDefaultForServiceTypeV1Request.d.mts +0 -17
  924. package/dist/esm/api/resources/billing/resources/rateSheets/client/requests/index.d.mts +0 -8
  925. package/dist/esm/api/resources/billing/resources/statements/client/requests/BodyStatementsPatchUpdateOffChrtSettlementStateV1BillingStatementsUpdateOffChrtSettlementStateV1StatementIdPatch.d.mts +0 -13
  926. package/dist/esm/api/resources/billing/resources/statements/client/requests/BodyStatementsPatchUpdateSettlementTypeV1BillingStatementsUpdateSettlementTypeV1StatementIdPatch.d.mts +0 -13
  927. package/dist/esm/api/resources/billing/resources/statements/client/requests/CreateStatementReq.d.mts +0 -25
  928. package/dist/esm/api/resources/billing/resources/statements/client/requests/OpenInvoiceReq.d.mts +0 -13
  929. package/dist/esm/api/resources/orgs/resources/connections/client/requests/ConnectionsListCouriersV1Request.d.mts +0 -17
  930. package/dist/esm/api/resources/orgs/resources/connections/client/requests/ConnectionsListForwardersV1Request.d.mts +0 -17
  931. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/courier/client/Client.d.mts +0 -83
  932. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/courier/client/Client.mjs +0 -260
  933. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/courier/client/requests/CourierOrgInfoForConnectionsClientCreate1.d.mts +0 -24
  934. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/courier/client/requests/CourierOrgInfoForConnectionsClientUpdate1.d.mts +0 -29
  935. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/courier/client/requests/index.d.mts +0 -2
  936. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/forwarder/client/Client.d.mts +0 -73
  937. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/forwarder/client/Client.mjs +0 -209
  938. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/forwarder/client/requests/ForwarderOrgInfoForConnectionsClientCreate1.d.mts +0 -24
  939. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/forwarder/client/requests/ForwarderOrgInfoForConnectionsClientUpdate1.d.mts +0 -29
  940. package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/forwarder/client/requests/index.d.mts +0 -2
  941. package/dist/esm/api/resources/orgs/resources/orgProfiles/client/requests/CourierOrgProfileClientCreate1.d.mts +0 -19
  942. package/dist/esm/api/resources/orgs/resources/orgProfiles/client/requests/CourierOrgProfileClientUpdate1.d.mts +0 -12
  943. package/dist/esm/api/resources/orgs/resources/orgProfiles/client/requests/ForwarderOrgProfileClientCreate1.d.mts +0 -19
  944. package/dist/esm/api/resources/orgs/resources/orgProfiles/client/requests/ForwarderOrgProfileClientUpdate1.d.mts +0 -12
  945. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/SetServiceTypeReq.d.mts +0 -14
  946. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/UpdateCourierOrgDraftReq.d.mts +0 -13
  947. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForForwarderOperatorsV1Request.d.mts +0 -58
  948. package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/UpdateCourierOrgReq.d.mts +0 -13
  949. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForCourierDriverV1Request.d.mts +0 -58
  950. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForCourierOperatorsV1Request.d.mts +0 -60
  951. package/dist/esm/api/types/ChrtGroundCourierTaskActionEnum1.d.mts +0 -13
  952. package/dist/esm/api/types/ChrtGroundCourierTaskActionEnum1.mjs +0 -12
  953. package/dist/esm/api/types/CourierConnectionListRes.d.mts +0 -8
  954. package/dist/esm/api/types/CourierConnectionRes.d.mts +0 -8
  955. package/dist/esm/api/types/CourierOrgInfoForConnections1.d.mts +0 -22
  956. package/dist/esm/api/types/CourierOrgProfile1.d.mts +0 -13
  957. package/dist/esm/api/types/FlightTaskActionEnum1.d.mts +0 -13
  958. package/dist/esm/api/types/FlightTaskActionEnum1.mjs +0 -12
  959. package/dist/esm/api/types/ForwarderConnectionListRes.d.mts +0 -8
  960. package/dist/esm/api/types/ForwarderConnectionRes.d.mts +0 -8
  961. package/dist/esm/api/types/ForwarderCourierConnection1.d.mts +0 -15
  962. package/dist/esm/api/types/ForwarderOrgInfoForConnections1.d.mts +0 -22
  963. package/dist/esm/api/types/ForwarderOrgProfile1.d.mts +0 -13
  964. package/dist/esm/api/types/OrgProfileRes1.d.mts +0 -8
  965. package/dist/esm/api/types/PaymentRoleFilterEnum.d.mts +0 -8
  966. package/dist/esm/api/types/PaymentRoleFilterEnum.mjs +0 -7
  967. package/dist/esm/api/types/PaymentVectorTypeEnum1.d.mts +0 -10
  968. package/dist/esm/api/types/PaymentVectorTypeEnum1.mjs +0 -9
  969. package/dist/esm/api/types/Quote.d.mts +0 -12
  970. package/dist/esm/api/types/RateSheet1.d.mts +0 -33
  971. package/dist/esm/api/types/RateSheetListResponse.d.mts +0 -11
  972. package/dist/esm/api/types/RateSheetSortByEnum.d.mts +0 -11
  973. package/dist/esm/api/types/RateSheetSortByEnum.mjs +0 -7
  974. package/dist/esm/api/types/ServiceTypeEnum1.d.mts +0 -8
  975. package/dist/esm/api/types/ServiceTypeEnum1.mjs +0 -7
  976. package/dist/esm/api/types/ShipperCourierConnection1.d.mts +0 -15
  977. package/dist/esm/api/types/ShipperForwarderConnection1.d.mts +0 -15
  978. /package/dist/cjs/api/resources/billing/resources/{lineItemGroups/resources/adHoc → billingLedgerPeriods}/client/index.d.ts +0 -0
  979. /package/dist/cjs/api/resources/billing/resources/{lineItemGroups/resources/adHoc → billingLedgerPeriods}/client/index.js +0 -0
  980. /package/dist/cjs/api/resources/billing/resources/{lineItemGroups/client/requests/AdjustLineItemReq.js → billingLedgerPeriods/client/requests/BillingLedgerPeriodClientUpdate1.js} +0 -0
  981. /package/dist/cjs/api/resources/billing/resources/{lineItemGroups/client/requests/LineItemGroupsAssociateWithStatementV1Request.js → billingLedgerPeriods/client/requests/BillingLedgerPeriodsListV1Request.js} +0 -0
  982. /package/dist/cjs/api/resources/billing/resources/{lineItemGroups/client/requests/LineItemGroupsListForCourierOrgV1Request.js → billingLedgerPeriods/client/requests/OpenPeriodReq.js} +0 -0
  983. /package/dist/cjs/api/resources/billing/resources/{lineItemGroups/resources/adHoc → billingLedgerPeriods}/client/requests/index.js +0 -0
  984. /package/dist/cjs/api/resources/billing/resources/{lineItemGroups/resources/adHoc → billingLedgerPeriods}/index.d.ts +0 -0
  985. /package/dist/cjs/api/resources/billing/resources/{lineItemGroups/resources/adHoc → billingLedgerPeriods}/index.js +0 -0
  986. /package/dist/cjs/api/resources/billing/resources/{rateSheets → billingLedgers}/client/index.d.ts +0 -0
  987. /package/dist/cjs/api/resources/billing/resources/{rateSheets → billingLedgers}/client/index.js +0 -0
  988. /package/dist/cjs/api/resources/billing/resources/{lineItemGroups/client/requests/LineItemGroupsQuoteV1Request.js → billingLedgers/client/requests/BillingLedgerClientCreate1.js} +0 -0
  989. /package/dist/cjs/api/resources/billing/resources/{lineItemGroups/resources/adHoc/client/requests/AdHocRemoveLineItemV1Request.js → billingLedgers/client/requests/BillingLedgerClientUpdate1.js} +0 -0
  990. /package/dist/cjs/api/resources/billing/resources/{lineItemGroups/resources/adHoc/client/requests/CreateAdHocLineItemGroupReq.js → billingLedgers/client/requests/BillingLedgersListV1Request.js} +0 -0
  991. /package/dist/cjs/api/resources/billing/resources/{rateSheets → billingLedgers}/client/requests/index.js +0 -0
  992. /package/dist/cjs/api/resources/billing/resources/{rateSheets → billingLedgers}/index.d.ts +0 -0
  993. /package/dist/cjs/api/resources/billing/resources/{rateSheets → billingLedgers}/index.js +0 -0
  994. /package/dist/cjs/api/resources/{orgs/resources/orgInfoForConnections/resources/courier → billing/resources/cargoOnFlightRateSheets}/client/index.d.ts +0 -0
  995. /package/dist/cjs/api/resources/{orgs/resources/orgInfoForConnections/resources/courier → billing/resources/cargoOnFlightRateSheets}/client/index.js +0 -0
  996. /package/dist/cjs/api/resources/billing/resources/{lineItemGroups/resources/adHoc/client/requests/LineItemClientCreate1.js → cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetClientCreate1.js} +0 -0
  997. /package/dist/cjs/api/resources/billing/resources/{lineItemGroups/resources/adHoc/client/requests/SetAdHocTaskGroupReq.js → cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetClientUpdate1.js} +0 -0
  998. /package/dist/cjs/api/resources/billing/resources/{rateSheets/client/requests/RateSheetClientCreate1.js → cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetsListV1Request.js} +0 -0
  999. /package/dist/cjs/api/resources/{orgs/resources/orgInfoForConnections/resources/courier → billing/resources/cargoOnFlightRateSheets}/client/requests/index.js +0 -0
  1000. /package/dist/cjs/api/resources/{orgs/resources/orgInfoForConnections/resources/courier → billing/resources/cargoOnFlightRateSheets}/index.d.ts +0 -0
  1001. /package/dist/cjs/api/resources/{orgs/resources/orgInfoForConnections/resources/courier → billing/resources/cargoOnFlightRateSheets}/index.js +0 -0
  1002. /package/dist/cjs/api/resources/{orgs/resources/orgInfoForConnections/resources/forwarder → billing/resources/chrtGroundProviderRateSheets}/client/index.d.ts +0 -0
  1003. /package/dist/cjs/api/resources/{orgs/resources/orgInfoForConnections/resources/forwarder → billing/resources/chrtGroundProviderRateSheets}/client/index.js +0 -0
  1004. /package/dist/cjs/api/resources/billing/resources/{rateSheets/client/requests/RateSheetClientUpdate1.js → chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetClientCreate1.js} +0 -0
  1005. /package/dist/cjs/api/resources/billing/resources/{rateSheets/client/requests/RateSheetsArchiveV1Request.js → chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetClientUpdate1.js} +0 -0
  1006. /package/dist/cjs/api/resources/billing/resources/{rateSheets/client/requests/RateSheetsListByOrgV1Request.js → chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetsListV1Request.js} +0 -0
  1007. /package/dist/cjs/api/resources/{orgs/resources/orgInfoForConnections/resources/forwarder → billing/resources/chrtGroundProviderRateSheets}/client/requests/index.js +0 -0
  1008. /package/dist/cjs/api/resources/{orgs/resources/orgInfoForConnections/resources/forwarder → billing/resources/chrtGroundProviderRateSheets}/index.d.ts +0 -0
  1009. /package/dist/cjs/api/resources/{orgs/resources/orgInfoForConnections/resources/forwarder → billing/resources/chrtGroundProviderRateSheets}/index.js +0 -0
  1010. /package/dist/cjs/api/resources/billing/resources/{rateSheets/client/requests/RateSheetsUpdateDefaultForConnectionV1Request.js → lineItemGroups/client/requests/LineItemGroupAdHocCreateClientReq.js} +0 -0
  1011. /package/dist/cjs/api/resources/billing/resources/{rateSheets/client/requests/RateSheetsUpdateDefaultForDriverV1Request.js → lineItemGroups/client/requests/LineItemGroupsListV1Request.js} +0 -0
  1012. /package/dist/cjs/api/resources/billing/resources/{rateSheets/client/requests/RateSheetsUpdateDefaultForOffChrtShipperV1Request.js → onboardCourierRateSheets/client/requests/OnboardCourierRateSheetClientCreate1.js} +0 -0
  1013. /package/dist/cjs/api/resources/billing/resources/{rateSheets/client/requests/RateSheetsUpdateOrgDefaultForServiceTypeV1Request.js → onboardCourierRateSheets/client/requests/OnboardCourierRateSheetClientUpdate1.js} +0 -0
  1014. /package/dist/cjs/api/resources/billing/resources/{statements/client/requests/BodyStatementsPatchUpdateOffChrtSettlementStateV1BillingStatementsUpdateOffChrtSettlementStateV1StatementIdPatch.js → onboardCourierRateSheets/client/requests/OnboardCourierRateSheetsListV1Request.js} +0 -0
  1015. /package/dist/cjs/api/resources/billing/resources/{statements/client/requests/BodyStatementsPatchUpdateSettlementTypeV1BillingStatementsUpdateSettlementTypeV1StatementIdPatch.js → rateSheetMappings/client/requests/RateSheetMappingClientCreate1.js} +0 -0
  1016. /package/dist/cjs/api/resources/billing/resources/{statements/client/requests/CreateStatementReq.js → rateSheetMappings/client/requests/RateSheetMappingsListV1Request.js} +0 -0
  1017. /package/dist/cjs/api/resources/billing/resources/statements/client/requests/{OpenInvoiceReq.js → StatementCreateClientReq.js} +0 -0
  1018. /package/dist/cjs/api/resources/{orgs/resources/connections/client/requests/ConnectionsListCouriersV1Request.js → billing/resources/statements/client/requests/StatementUpdateSettlementTypeReq.js} +0 -0
  1019. /package/dist/{esm/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/requests/index.mjs → cjs/api/resources/listing/client/index.d.ts} +0 -0
  1020. /package/dist/cjs/api/resources/{orgs/resources/connections/client/requests/ConnectionsListForwardersV1Request.js → listing/resources/bidThreads/client/requests/BidThreadClientCreate1.js} +0 -0
  1021. /package/dist/cjs/api/resources/{orgs/resources/orgInfoForConnections/resources/courier/client/requests/CourierOrgInfoForConnectionsClientCreate1.js → listing/resources/bidThreads/client/requests/BidThreadsListForBidderV1Request.js} +0 -0
  1022. /package/dist/cjs/api/resources/{orgs/resources/orgInfoForConnections/resources/courier/client/requests/CourierOrgInfoForConnectionsClientUpdate1.js → listing/resources/bidThreads/client/requests/BidThreadsListForListingV1Request.js} +0 -0
  1023. /package/dist/cjs/api/resources/{orgs/resources/orgInfoForConnections/resources/forwarder/client/requests/ForwarderOrgInfoForConnectionsClientCreate1.js → listing/resources/driverBiddingGroups/client/requests/DriverBiddingGroupClientCreate1.js} +0 -0
  1024. /package/dist/cjs/api/resources/{orgs/resources/orgInfoForConnections/resources/forwarder/client/requests/ForwarderOrgInfoForConnectionsClientUpdate1.js → listing/resources/driverBiddingGroups/client/requests/DriverBiddingGroupsListByOrgV1Request.js} +0 -0
  1025. /package/dist/cjs/api/resources/{orgs/resources/orgProfiles/client/requests/CourierOrgProfileClientCreate1.js → listing/resources/driverBiddingGroups/client/requests/DriverBiddingGroupsUpdateNameV1Request.js} +0 -0
  1026. /package/dist/cjs/api/resources/{orgs/resources/orgProfiles/client/requests/CourierOrgProfileClientUpdate1.js → listing/resources/listings/client/requests/ListingAddDriverParticipantsReq.js} +0 -0
  1027. /package/dist/cjs/api/resources/{orgs/resources/orgProfiles/client/requests/ForwarderOrgProfileClientCreate1.js → listing/resources/listings/client/requests/ListingAddProviderParticipantsReq.js} +0 -0
  1028. /package/dist/cjs/api/resources/{orgs/resources/orgProfiles/client/requests/ForwarderOrgProfileClientUpdate1.js → listing/resources/listings/client/requests/ListingClientCreate1.js} +0 -0
  1029. /package/dist/cjs/api/resources/{shipping/resources/orderDrafts/resources/taskGroup/client/requests/SetServiceTypeReq.js → listing/resources/listings/client/requests/ListingClientUpdate1.js} +0 -0
  1030. /package/dist/cjs/api/resources/{shipping/resources/orderDrafts/resources/taskGroup/client/requests/UpdateCourierOrgDraftReq.js → listing/resources/listings/client/requests/ListingRemoveDriverParticipantsReq.js} +0 -0
  1031. /package/dist/cjs/api/resources/{shipping/resources/orders/resources/expanded/client/requests/ExpandedListForForwarderOperatorsV1Request.js → listing/resources/listings/client/requests/ListingRemoveProviderParticipantsReq.js} +0 -0
  1032. /package/dist/cjs/api/resources/{shipping/resources/taskGroups/client/requests/UpdateCourierOrgReq.js → listing/resources/listings/client/requests/ListingsListByOrgV1Request.js} +0 -0
  1033. /package/dist/cjs/api/resources/{shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForCourierDriverV1Request.js → listing/resources/listings/client/requests/ListingsListForDriverBidderV1Request.js} +0 -0
  1034. /package/dist/cjs/api/resources/{shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForCourierOperatorsV1Request.js → listing/resources/listings/client/requests/ListingsListForProviderBidderV1Request.js} +0 -0
  1035. /package/dist/cjs/api/{types/CourierConnectionListRes.js → resources/listing/resources/orgBiddingGroups/client/requests/OrgBiddingGroupClientCreate1.js} +0 -0
  1036. /package/dist/cjs/api/{types/CourierConnectionRes.js → resources/listing/resources/orgBiddingGroups/client/requests/OrgBiddingGroupsListByOrgV1Request.js} +0 -0
  1037. /package/dist/cjs/api/{types/CourierOrgInfoForConnections1.js → resources/listing/resources/orgBiddingGroups/client/requests/OrgBiddingGroupsUpdateNameV1Request.js} +0 -0
  1038. /package/dist/{esm/api/resources/billing/resources/rateSheets/client/requests/index.mjs → cjs/api/resources/operations/client/index.d.ts} +0 -0
  1039. /package/dist/cjs/api/{types/CourierOrgProfile1.js → resources/operations/resources/cases/client/requests/CaseAddMessageReq.js} +0 -0
  1040. /package/dist/cjs/api/{types/ForwarderConnectionListRes.js → resources/operations/resources/cases/client/requests/CaseAssignReq.js} +0 -0
  1041. /package/dist/cjs/api/{types/ForwarderConnectionRes.js → resources/operations/resources/cases/client/requests/CaseClientUpdate1.js} +0 -0
  1042. /package/dist/cjs/api/{types/ForwarderCourierConnection1.js → resources/operations/resources/cases/client/requests/CaseUnassignReq.js} +0 -0
  1043. /package/dist/cjs/api/{types/ForwarderOrgInfoForConnections1.js → resources/operations/resources/cases/client/requests/CasesListV1Request.js} +0 -0
  1044. /package/dist/cjs/api/{types/ForwarderOrgProfile1.js → resources/operations/resources/departments/client/requests/DepartmentClientCreate1.js} +0 -0
  1045. /package/dist/cjs/api/{types/OrgProfileRes1.js → resources/operations/resources/departments/client/requests/DepartmentClientUpdate1.js} +0 -0
  1046. /package/dist/cjs/api/{types/Quote.js → resources/operations/resources/departments/client/requests/DepartmentsListV1Request.js} +0 -0
  1047. /package/dist/cjs/api/{types/RateSheet1.js → resources/orgs/resources/connections/client/requests/ConnectionsListProvidersV1Request.js} +0 -0
  1048. /package/dist/cjs/api/{types/RateSheetListResponse.js → resources/orgs/resources/connections/client/requests/ProviderProviderUpdateAutoAssignReq.js} +0 -0
  1049. /package/dist/cjs/api/{types/ShipperCourierConnection1.js → resources/orgs/resources/connections/client/requests/SetDepartmentReq.js} +0 -0
  1050. /package/dist/cjs/api/{types/ShipperForwarderConnection1.js → resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientCreate1.js} +0 -0
  1051. /package/dist/esm/api/resources/billing/resources/{lineItemGroups/resources/adHoc → billingLedgerPeriods}/client/index.d.mts +0 -0
  1052. /package/dist/esm/api/resources/billing/resources/{lineItemGroups/resources/adHoc → billingLedgerPeriods}/client/index.mjs +0 -0
  1053. /package/dist/esm/api/resources/billing/resources/{lineItemGroups/client/requests/AdjustLineItemReq.mjs → billingLedgerPeriods/client/requests/BillingLedgerPeriodClientUpdate1.mjs} +0 -0
  1054. /package/dist/esm/api/resources/billing/resources/{lineItemGroups/client/requests/LineItemGroupsAssociateWithStatementV1Request.mjs → billingLedgerPeriods/client/requests/BillingLedgerPeriodsListV1Request.mjs} +0 -0
  1055. /package/dist/esm/api/resources/billing/resources/{lineItemGroups/client/requests/LineItemGroupsListForCourierOrgV1Request.mjs → billingLedgerPeriods/client/requests/OpenPeriodReq.mjs} +0 -0
  1056. /package/dist/esm/api/resources/{orgs/resources/orgInfoForConnections/resources/courier → billing/resources/billingLedgerPeriods}/client/requests/index.mjs +0 -0
  1057. /package/dist/esm/api/resources/billing/resources/{lineItemGroups/resources/adHoc → billingLedgerPeriods}/index.d.mts +0 -0
  1058. /package/dist/esm/api/resources/billing/resources/{lineItemGroups/resources/adHoc → billingLedgerPeriods}/index.mjs +0 -0
  1059. /package/dist/esm/api/resources/billing/resources/{rateSheets → billingLedgers}/client/index.d.mts +0 -0
  1060. /package/dist/esm/api/resources/billing/resources/{rateSheets → billingLedgers}/client/index.mjs +0 -0
  1061. /package/dist/esm/api/resources/billing/resources/{lineItemGroups/client/requests/LineItemGroupsQuoteV1Request.mjs → billingLedgers/client/requests/BillingLedgerClientCreate1.mjs} +0 -0
  1062. /package/dist/esm/api/resources/billing/resources/{lineItemGroups/resources/adHoc/client/requests/AdHocRemoveLineItemV1Request.mjs → billingLedgers/client/requests/BillingLedgerClientUpdate1.mjs} +0 -0
  1063. /package/dist/esm/api/resources/billing/resources/{lineItemGroups/resources/adHoc/client/requests/CreateAdHocLineItemGroupReq.mjs → billingLedgers/client/requests/BillingLedgersListV1Request.mjs} +0 -0
  1064. /package/dist/esm/api/resources/{orgs/resources/orgInfoForConnections/resources/forwarder → billing/resources/billingLedgers}/client/requests/index.mjs +0 -0
  1065. /package/dist/esm/api/resources/billing/resources/{rateSheets → billingLedgers}/index.d.mts +0 -0
  1066. /package/dist/esm/api/resources/billing/resources/{rateSheets → billingLedgers}/index.mjs +0 -0
  1067. /package/dist/esm/api/resources/{orgs/resources/orgInfoForConnections/resources/courier → billing/resources/cargoOnFlightRateSheets}/client/index.d.mts +0 -0
  1068. /package/dist/esm/api/resources/{orgs/resources/orgInfoForConnections/resources/courier → billing/resources/cargoOnFlightRateSheets}/client/index.mjs +0 -0
  1069. /package/dist/esm/api/resources/billing/resources/{lineItemGroups/resources/adHoc/client/requests/LineItemClientCreate1.mjs → cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetClientCreate1.mjs} +0 -0
  1070. /package/dist/esm/api/resources/billing/resources/{lineItemGroups/resources/adHoc/client/requests/SetAdHocTaskGroupReq.mjs → cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetClientUpdate1.mjs} +0 -0
  1071. /package/dist/esm/api/resources/billing/resources/{rateSheets/client/requests/RateSheetClientCreate1.mjs → cargoOnFlightRateSheets/client/requests/CargoOnFlightRateSheetsListV1Request.mjs} +0 -0
  1072. /package/dist/esm/api/resources/{orgs/resources/orgInfoForConnections/resources/courier → billing/resources/cargoOnFlightRateSheets}/index.d.mts +0 -0
  1073. /package/dist/esm/api/resources/{orgs/resources/orgInfoForConnections/resources/courier → billing/resources/cargoOnFlightRateSheets}/index.mjs +0 -0
  1074. /package/dist/esm/api/resources/{orgs/resources/orgInfoForConnections/resources/forwarder → billing/resources/chrtGroundProviderRateSheets}/client/index.d.mts +0 -0
  1075. /package/dist/esm/api/resources/{orgs/resources/orgInfoForConnections/resources/forwarder → billing/resources/chrtGroundProviderRateSheets}/client/index.mjs +0 -0
  1076. /package/dist/esm/api/resources/billing/resources/{rateSheets/client/requests/RateSheetClientUpdate1.mjs → chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetClientCreate1.mjs} +0 -0
  1077. /package/dist/esm/api/resources/billing/resources/{rateSheets/client/requests/RateSheetsArchiveV1Request.mjs → chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetClientUpdate1.mjs} +0 -0
  1078. /package/dist/esm/api/resources/billing/resources/{rateSheets/client/requests/RateSheetsListByOrgV1Request.mjs → chrtGroundProviderRateSheets/client/requests/ChrtGroundProviderRateSheetsListV1Request.mjs} +0 -0
  1079. /package/dist/esm/api/resources/{orgs/resources/orgInfoForConnections/resources/forwarder → billing/resources/chrtGroundProviderRateSheets}/index.d.mts +0 -0
  1080. /package/dist/esm/api/resources/{orgs/resources/orgInfoForConnections/resources/forwarder → billing/resources/chrtGroundProviderRateSheets}/index.mjs +0 -0
  1081. /package/dist/esm/api/resources/billing/resources/{rateSheets/client/requests/RateSheetsUpdateDefaultForConnectionV1Request.mjs → lineItemGroups/client/requests/LineItemGroupAdHocCreateClientReq.mjs} +0 -0
  1082. /package/dist/esm/api/resources/billing/resources/{rateSheets/client/requests/RateSheetsUpdateDefaultForDriverV1Request.mjs → lineItemGroups/client/requests/LineItemGroupsListV1Request.mjs} +0 -0
  1083. /package/dist/esm/api/resources/billing/resources/{rateSheets/client/requests/RateSheetsUpdateDefaultForOffChrtShipperV1Request.mjs → onboardCourierRateSheets/client/requests/OnboardCourierRateSheetClientCreate1.mjs} +0 -0
  1084. /package/dist/esm/api/resources/billing/resources/{rateSheets/client/requests/RateSheetsUpdateOrgDefaultForServiceTypeV1Request.mjs → onboardCourierRateSheets/client/requests/OnboardCourierRateSheetClientUpdate1.mjs} +0 -0
  1085. /package/dist/esm/api/resources/billing/resources/{statements/client/requests/BodyStatementsPatchUpdateOffChrtSettlementStateV1BillingStatementsUpdateOffChrtSettlementStateV1StatementIdPatch.mjs → onboardCourierRateSheets/client/requests/OnboardCourierRateSheetsListV1Request.mjs} +0 -0
  1086. /package/dist/esm/api/resources/billing/resources/{statements/client/requests/BodyStatementsPatchUpdateSettlementTypeV1BillingStatementsUpdateSettlementTypeV1StatementIdPatch.mjs → rateSheetMappings/client/requests/RateSheetMappingClientCreate1.mjs} +0 -0
  1087. /package/dist/esm/api/resources/billing/resources/{statements/client/requests/CreateStatementReq.mjs → rateSheetMappings/client/requests/RateSheetMappingsListV1Request.mjs} +0 -0
  1088. /package/dist/esm/api/resources/billing/resources/statements/client/requests/{OpenInvoiceReq.mjs → StatementCreateClientReq.mjs} +0 -0
  1089. /package/dist/esm/api/resources/{orgs/resources/connections/client/requests/ConnectionsListCouriersV1Request.mjs → billing/resources/statements/client/requests/StatementUpdateSettlementTypeReq.mjs} +0 -0
  1090. /package/dist/esm/api/resources/{orgs/resources/connections/client/requests/ConnectionsListForwardersV1Request.mjs → listing/resources/bidThreads/client/requests/BidThreadClientCreate1.mjs} +0 -0
  1091. /package/dist/esm/api/resources/{orgs/resources/orgInfoForConnections/resources/courier/client/requests/CourierOrgInfoForConnectionsClientCreate1.mjs → listing/resources/bidThreads/client/requests/BidThreadsListForBidderV1Request.mjs} +0 -0
  1092. /package/dist/esm/api/resources/{orgs/resources/orgInfoForConnections/resources/courier/client/requests/CourierOrgInfoForConnectionsClientUpdate1.mjs → listing/resources/bidThreads/client/requests/BidThreadsListForListingV1Request.mjs} +0 -0
  1093. /package/dist/esm/api/resources/{orgs/resources/orgInfoForConnections/resources/forwarder/client/requests/ForwarderOrgInfoForConnectionsClientCreate1.mjs → listing/resources/driverBiddingGroups/client/requests/DriverBiddingGroupClientCreate1.mjs} +0 -0
  1094. /package/dist/esm/api/resources/{orgs/resources/orgInfoForConnections/resources/forwarder/client/requests/ForwarderOrgInfoForConnectionsClientUpdate1.mjs → listing/resources/driverBiddingGroups/client/requests/DriverBiddingGroupsListByOrgV1Request.mjs} +0 -0
  1095. /package/dist/esm/api/resources/{orgs/resources/orgProfiles/client/requests/CourierOrgProfileClientCreate1.mjs → listing/resources/driverBiddingGroups/client/requests/DriverBiddingGroupsUpdateNameV1Request.mjs} +0 -0
  1096. /package/dist/esm/api/resources/{orgs/resources/orgProfiles/client/requests/CourierOrgProfileClientUpdate1.mjs → listing/resources/listings/client/requests/ListingAddDriverParticipantsReq.mjs} +0 -0
  1097. /package/dist/esm/api/resources/{orgs/resources/orgProfiles/client/requests/ForwarderOrgProfileClientCreate1.mjs → listing/resources/listings/client/requests/ListingAddProviderParticipantsReq.mjs} +0 -0
  1098. /package/dist/esm/api/resources/{orgs/resources/orgProfiles/client/requests/ForwarderOrgProfileClientUpdate1.mjs → listing/resources/listings/client/requests/ListingClientCreate1.mjs} +0 -0
  1099. /package/dist/esm/api/resources/{shipping/resources/orderDrafts/resources/taskGroup/client/requests/SetServiceTypeReq.mjs → listing/resources/listings/client/requests/ListingClientUpdate1.mjs} +0 -0
  1100. /package/dist/esm/api/resources/{shipping/resources/orderDrafts/resources/taskGroup/client/requests/UpdateCourierOrgDraftReq.mjs → listing/resources/listings/client/requests/ListingRemoveDriverParticipantsReq.mjs} +0 -0
  1101. /package/dist/esm/api/resources/{shipping/resources/orders/resources/expanded/client/requests/ExpandedListForForwarderOperatorsV1Request.mjs → listing/resources/listings/client/requests/ListingRemoveProviderParticipantsReq.mjs} +0 -0
  1102. /package/dist/esm/api/resources/{shipping/resources/taskGroups/client/requests/UpdateCourierOrgReq.mjs → listing/resources/listings/client/requests/ListingsListByOrgV1Request.mjs} +0 -0
  1103. /package/dist/esm/api/resources/{shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForCourierDriverV1Request.mjs → listing/resources/listings/client/requests/ListingsListForDriverBidderV1Request.mjs} +0 -0
  1104. /package/dist/esm/api/resources/{shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForCourierOperatorsV1Request.mjs → listing/resources/listings/client/requests/ListingsListForProviderBidderV1Request.mjs} +0 -0
  1105. /package/dist/esm/api/{types/CourierConnectionListRes.mjs → resources/listing/resources/orgBiddingGroups/client/requests/OrgBiddingGroupClientCreate1.mjs} +0 -0
  1106. /package/dist/esm/api/{types/CourierConnectionRes.mjs → resources/listing/resources/orgBiddingGroups/client/requests/OrgBiddingGroupsListByOrgV1Request.mjs} +0 -0
  1107. /package/dist/esm/api/{types/CourierOrgInfoForConnections1.mjs → resources/listing/resources/orgBiddingGroups/client/requests/OrgBiddingGroupsUpdateNameV1Request.mjs} +0 -0
  1108. /package/dist/esm/api/{types/CourierOrgProfile1.mjs → resources/operations/resources/cases/client/requests/CaseAddMessageReq.mjs} +0 -0
  1109. /package/dist/esm/api/{types/ForwarderConnectionListRes.mjs → resources/operations/resources/cases/client/requests/CaseAssignReq.mjs} +0 -0
  1110. /package/dist/esm/api/{types/ForwarderConnectionRes.mjs → resources/operations/resources/cases/client/requests/CaseClientUpdate1.mjs} +0 -0
  1111. /package/dist/esm/api/{types/ForwarderCourierConnection1.mjs → resources/operations/resources/cases/client/requests/CaseUnassignReq.mjs} +0 -0
  1112. /package/dist/esm/api/{types/ForwarderOrgInfoForConnections1.mjs → resources/operations/resources/cases/client/requests/CasesListV1Request.mjs} +0 -0
  1113. /package/dist/esm/api/{types/ForwarderOrgProfile1.mjs → resources/operations/resources/departments/client/requests/DepartmentClientCreate1.mjs} +0 -0
  1114. /package/dist/esm/api/{types/OrgProfileRes1.mjs → resources/operations/resources/departments/client/requests/DepartmentClientUpdate1.mjs} +0 -0
  1115. /package/dist/esm/api/{types/Quote.mjs → resources/operations/resources/departments/client/requests/DepartmentsListV1Request.mjs} +0 -0
  1116. /package/dist/esm/api/{types/RateSheet1.mjs → resources/orgs/resources/connections/client/requests/ConnectionsListProvidersV1Request.mjs} +0 -0
  1117. /package/dist/esm/api/{types/RateSheetListResponse.mjs → resources/orgs/resources/connections/client/requests/ProviderProviderUpdateAutoAssignReq.mjs} +0 -0
  1118. /package/dist/esm/api/{types/ShipperCourierConnection1.mjs → resources/orgs/resources/connections/client/requests/SetDepartmentReq.mjs} +0 -0
  1119. /package/dist/esm/api/{types/ShipperForwarderConnection1.mjs → resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientCreate1.mjs} +0 -0
@@ -0,0 +1,1031 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
5
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
6
+ return new (P || (P = Promise))(function (resolve, reject) {
7
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
8
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
9
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
10
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
11
+ });
12
+ };
13
+ import * as environments from "../../../../../../environments.mjs";
14
+ import * as core from "../../../../../../core/index.mjs";
15
+ import * as Chrt from "../../../../../index.mjs";
16
+ import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../../../core/headers.mjs";
17
+ import * as errors from "../../../../../../errors/index.mjs";
18
+ export class Listings {
19
+ constructor(_options = {}) {
20
+ this._options = _options;
21
+ }
22
+ /**
23
+ * Fetches a listing by id in the bidder-facing shape (no `internal_notes`). Visible to the lister and to snapshot participants (as bidder — provider org or driver). Listers wanting the full record call `by_id_for_lister/v1`. | authz: allowed_org_types=[provider], min_org_role=driver | () -> (ListingLimitedForBidder1)
24
+ *
25
+ * @param {string} listingId
26
+ * @param {Listings.RequestOptions} requestOptions - Request-specific configuration.
27
+ *
28
+ * @throws {@link Chrt.UnprocessableEntityError}
29
+ *
30
+ * @example
31
+ * await client.listing.listings.byIdV1("listing_id")
32
+ */
33
+ byIdV1(listingId, requestOptions) {
34
+ return core.HttpResponsePromise.fromPromise(this.__byIdV1(listingId, requestOptions));
35
+ }
36
+ __byIdV1(listingId, requestOptions) {
37
+ return __awaiter(this, void 0, void 0, function* () {
38
+ var _a, _b, _c, _d;
39
+ let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
40
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
41
+ 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, `listing/listings/by_id/v1/${encodeURIComponent(listingId)}`),
42
+ method: "GET",
43
+ headers: _headers,
44
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
45
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
46
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
47
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
48
+ });
49
+ if (_response.ok) {
50
+ return { data: _response.body, rawResponse: _response.rawResponse };
51
+ }
52
+ if (_response.error.reason === "status-code") {
53
+ switch (_response.error.statusCode) {
54
+ case 422:
55
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
56
+ default:
57
+ throw new errors.ChrtError({
58
+ statusCode: _response.error.statusCode,
59
+ body: _response.error.body,
60
+ rawResponse: _response.rawResponse,
61
+ });
62
+ }
63
+ }
64
+ switch (_response.error.reason) {
65
+ case "non-json":
66
+ throw new errors.ChrtError({
67
+ statusCode: _response.error.statusCode,
68
+ body: _response.error.rawBody,
69
+ rawResponse: _response.rawResponse,
70
+ });
71
+ case "timeout":
72
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /listing/listings/by_id/v1/{listing_id}.");
73
+ case "unknown":
74
+ throw new errors.ChrtError({
75
+ message: _response.error.errorMessage,
76
+ rawResponse: _response.rawResponse,
77
+ });
78
+ }
79
+ });
80
+ }
81
+ /**
82
+ * Fetches the full listing record (including `internal_notes`). Restricted to the lister org — bidders use `by_id/v1`. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (Listing1)
83
+ *
84
+ * @param {string} listingId
85
+ * @param {Listings.RequestOptions} requestOptions - Request-specific configuration.
86
+ *
87
+ * @throws {@link Chrt.UnprocessableEntityError}
88
+ *
89
+ * @example
90
+ * await client.listing.listings.byIdForListerV1("listing_id")
91
+ */
92
+ byIdForListerV1(listingId, requestOptions) {
93
+ return core.HttpResponsePromise.fromPromise(this.__byIdForListerV1(listingId, requestOptions));
94
+ }
95
+ __byIdForListerV1(listingId, requestOptions) {
96
+ return __awaiter(this, void 0, void 0, function* () {
97
+ var _a, _b, _c, _d;
98
+ let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
99
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
100
+ 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, `listing/listings/by_id_for_lister/v1/${encodeURIComponent(listingId)}`),
101
+ method: "GET",
102
+ headers: _headers,
103
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
104
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
105
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
106
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
107
+ });
108
+ if (_response.ok) {
109
+ return { data: _response.body, rawResponse: _response.rawResponse };
110
+ }
111
+ if (_response.error.reason === "status-code") {
112
+ switch (_response.error.statusCode) {
113
+ case 422:
114
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
115
+ default:
116
+ throw new errors.ChrtError({
117
+ statusCode: _response.error.statusCode,
118
+ body: _response.error.body,
119
+ rawResponse: _response.rawResponse,
120
+ });
121
+ }
122
+ }
123
+ switch (_response.error.reason) {
124
+ case "non-json":
125
+ throw new errors.ChrtError({
126
+ statusCode: _response.error.statusCode,
127
+ body: _response.error.rawBody,
128
+ rawResponse: _response.rawResponse,
129
+ });
130
+ case "timeout":
131
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /listing/listings/by_id_for_lister/v1/{listing_id}.");
132
+ case "unknown":
133
+ throw new errors.ChrtError({
134
+ message: _response.error.errorMessage,
135
+ rawResponse: _response.rawResponse,
136
+ });
137
+ }
138
+ });
139
+ }
140
+ /**
141
+ * Fetches all listings for a single task group. Typically returns one or two (dual-audience siblings) OPEN listings during active bidding plus any terminal history. Visible only to the task group's coordinator. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (list[Listing1])
142
+ *
143
+ * @param {string} taskGroupId
144
+ * @param {Listings.RequestOptions} requestOptions - Request-specific configuration.
145
+ *
146
+ * @throws {@link Chrt.UnprocessableEntityError}
147
+ *
148
+ * @example
149
+ * await client.listing.listings.byTaskGroupV1("task_group_id")
150
+ */
151
+ byTaskGroupV1(taskGroupId, requestOptions) {
152
+ return core.HttpResponsePromise.fromPromise(this.__byTaskGroupV1(taskGroupId, requestOptions));
153
+ }
154
+ __byTaskGroupV1(taskGroupId, requestOptions) {
155
+ return __awaiter(this, void 0, void 0, function* () {
156
+ var _a, _b, _c, _d;
157
+ let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
158
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
159
+ 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, `listing/listings/by_task_group/v1/${encodeURIComponent(taskGroupId)}`),
160
+ method: "GET",
161
+ headers: _headers,
162
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
163
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
164
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
165
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
166
+ });
167
+ if (_response.ok) {
168
+ return { data: _response.body, rawResponse: _response.rawResponse };
169
+ }
170
+ if (_response.error.reason === "status-code") {
171
+ switch (_response.error.statusCode) {
172
+ case 422:
173
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
174
+ default:
175
+ throw new errors.ChrtError({
176
+ statusCode: _response.error.statusCode,
177
+ body: _response.error.body,
178
+ rawResponse: _response.rawResponse,
179
+ });
180
+ }
181
+ }
182
+ switch (_response.error.reason) {
183
+ case "non-json":
184
+ throw new errors.ChrtError({
185
+ statusCode: _response.error.statusCode,
186
+ body: _response.error.rawBody,
187
+ rawResponse: _response.rawResponse,
188
+ });
189
+ case "timeout":
190
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /listing/listings/by_task_group/v1/{task_group_id}.");
191
+ case "unknown":
192
+ throw new errors.ChrtError({
193
+ message: _response.error.errorMessage,
194
+ rawResponse: _response.rawResponse,
195
+ });
196
+ }
197
+ });
198
+ }
199
+ /**
200
+ * Lists listings owned (created) by the caller's org with filtering, sorting, and pagination. Lister view. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (ListingListRes)
201
+ *
202
+ * @param {Chrt.listing.ListingsListByOrgV1Request} request
203
+ * @param {Listings.RequestOptions} requestOptions - Request-specific configuration.
204
+ *
205
+ * @throws {@link Chrt.UnprocessableEntityError}
206
+ *
207
+ * @example
208
+ * await client.listing.listings.listByOrgV1({
209
+ * filter_audience: "providers",
210
+ * sort_by: "created_at_timestamp",
211
+ * sort_order: "asc",
212
+ * page: 1,
213
+ * page_size: 1,
214
+ * filter_task_group_id: "filter_task_group_id",
215
+ * filter_order_id: "filter_order_id",
216
+ * filter_created_by_org_id: "filter_created_by_org_id",
217
+ * filter_created_by_user_id: "filter_created_by_user_id",
218
+ * filter_created_at_timestamp_gte: "2024-01-15T09:30:00Z",
219
+ * filter_created_at_timestamp_lte: "2024-01-15T09:30:00Z",
220
+ * filter_last_edited_at_timestamp_gte: "2024-01-15T09:30:00Z",
221
+ * filter_last_edited_at_timestamp_lte: "2024-01-15T09:30:00Z"
222
+ * })
223
+ */
224
+ listByOrgV1(request = {}, requestOptions) {
225
+ return core.HttpResponsePromise.fromPromise(this.__listByOrgV1(request, requestOptions));
226
+ }
227
+ __listByOrgV1() {
228
+ return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
229
+ var _a, _b, _c, _d, _e, _f;
230
+ const { filter_audience: filterAudience, sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, filter_status: filterStatus, filter_type: filterType, filter_task_group_id: filterTaskGroupId, filter_order_id: filterOrderId, filter_created_by_org_id: filterCreatedByOrgId, filter_created_by_user_id: filterCreatedByUserId, filter_created_at_timestamp_gte: filterCreatedAtTimestampGte, filter_created_at_timestamp_lte: filterCreatedAtTimestampLte, filter_last_edited_at_timestamp_gte: filterLastEditedAtTimestampGte, filter_last_edited_at_timestamp_lte: filterLastEditedAtTimestampLte, } = request;
231
+ const _queryParams = {};
232
+ if (filterAudience !== undefined) {
233
+ _queryParams["filter_audience"] = filterAudience;
234
+ }
235
+ if (sortBy !== undefined) {
236
+ _queryParams["sort_by"] = sortBy;
237
+ }
238
+ if (sortOrder !== undefined) {
239
+ _queryParams["sort_order"] = sortOrder;
240
+ }
241
+ if (page !== undefined) {
242
+ _queryParams["page"] = (_a = page === null || page === void 0 ? void 0 : page.toString()) !== null && _a !== void 0 ? _a : null;
243
+ }
244
+ if (pageSize !== undefined) {
245
+ _queryParams["page_size"] = (_b = pageSize === null || pageSize === void 0 ? void 0 : pageSize.toString()) !== null && _b !== void 0 ? _b : null;
246
+ }
247
+ if (filterStatus !== undefined) {
248
+ if (Array.isArray(filterStatus)) {
249
+ _queryParams["filter_status"] = filterStatus.map((item) => item);
250
+ }
251
+ else {
252
+ _queryParams["filter_status"] = filterStatus;
253
+ }
254
+ }
255
+ if (filterType !== undefined) {
256
+ if (Array.isArray(filterType)) {
257
+ _queryParams["filter_type"] = filterType.map((item) => item);
258
+ }
259
+ else {
260
+ _queryParams["filter_type"] = filterType;
261
+ }
262
+ }
263
+ if (filterTaskGroupId !== undefined) {
264
+ _queryParams["filter_task_group_id"] = filterTaskGroupId;
265
+ }
266
+ if (filterOrderId !== undefined) {
267
+ _queryParams["filter_order_id"] = filterOrderId;
268
+ }
269
+ if (filterCreatedByOrgId !== undefined) {
270
+ _queryParams["filter_created_by_org_id"] = filterCreatedByOrgId;
271
+ }
272
+ if (filterCreatedByUserId !== undefined) {
273
+ _queryParams["filter_created_by_user_id"] = filterCreatedByUserId;
274
+ }
275
+ if (filterCreatedAtTimestampGte !== undefined) {
276
+ _queryParams["filter_created_at_timestamp_gte"] = filterCreatedAtTimestampGte;
277
+ }
278
+ if (filterCreatedAtTimestampLte !== undefined) {
279
+ _queryParams["filter_created_at_timestamp_lte"] = filterCreatedAtTimestampLte;
280
+ }
281
+ if (filterLastEditedAtTimestampGte !== undefined) {
282
+ _queryParams["filter_last_edited_at_timestamp_gte"] = filterLastEditedAtTimestampGte;
283
+ }
284
+ if (filterLastEditedAtTimestampLte !== undefined) {
285
+ _queryParams["filter_last_edited_at_timestamp_lte"] = filterLastEditedAtTimestampLte;
286
+ }
287
+ let _headers = mergeHeaders((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
288
+ const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
289
+ url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ChrtEnvironment.Local, "listing/listings/list_by_org/v1"),
290
+ method: "GET",
291
+ headers: _headers,
292
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
293
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
294
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
295
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
296
+ });
297
+ if (_response.ok) {
298
+ return { data: _response.body, rawResponse: _response.rawResponse };
299
+ }
300
+ if (_response.error.reason === "status-code") {
301
+ switch (_response.error.statusCode) {
302
+ case 422:
303
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
304
+ default:
305
+ throw new errors.ChrtError({
306
+ statusCode: _response.error.statusCode,
307
+ body: _response.error.body,
308
+ rawResponse: _response.rawResponse,
309
+ });
310
+ }
311
+ }
312
+ switch (_response.error.reason) {
313
+ case "non-json":
314
+ throw new errors.ChrtError({
315
+ statusCode: _response.error.statusCode,
316
+ body: _response.error.rawBody,
317
+ rawResponse: _response.rawResponse,
318
+ });
319
+ case "timeout":
320
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /listing/listings/list_by_org/v1.");
321
+ case "unknown":
322
+ throw new errors.ChrtError({
323
+ message: _response.error.errorMessage,
324
+ rawResponse: _response.rawResponse,
325
+ });
326
+ }
327
+ });
328
+ }
329
+ /**
330
+ * Lists PROVIDERS-audience listings where the caller's org is a snapshot participant. Provider-side bidder view with filtering, sorting, and pagination. Returns the bidder shape (no `internal_notes`). | authz: allowed_org_types=[provider], min_org_role=operator | () -> (ListingForBidderListRes)
331
+ *
332
+ * @param {Chrt.listing.ListingsListForProviderBidderV1Request} request
333
+ * @param {Listings.RequestOptions} requestOptions - Request-specific configuration.
334
+ *
335
+ * @throws {@link Chrt.UnprocessableEntityError}
336
+ *
337
+ * @example
338
+ * await client.listing.listings.listForProviderBidderV1({
339
+ * sort_by: "created_at_timestamp",
340
+ * sort_order: "asc",
341
+ * page: 1,
342
+ * page_size: 1,
343
+ * filter_task_group_id: "filter_task_group_id",
344
+ * filter_order_id: "filter_order_id",
345
+ * filter_created_by_org_id: "filter_created_by_org_id",
346
+ * filter_created_by_user_id: "filter_created_by_user_id",
347
+ * filter_created_at_timestamp_gte: "2024-01-15T09:30:00Z",
348
+ * filter_created_at_timestamp_lte: "2024-01-15T09:30:00Z",
349
+ * filter_last_edited_at_timestamp_gte: "2024-01-15T09:30:00Z",
350
+ * filter_last_edited_at_timestamp_lte: "2024-01-15T09:30:00Z"
351
+ * })
352
+ */
353
+ listForProviderBidderV1(request = {}, requestOptions) {
354
+ return core.HttpResponsePromise.fromPromise(this.__listForProviderBidderV1(request, requestOptions));
355
+ }
356
+ __listForProviderBidderV1() {
357
+ return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
358
+ var _a, _b, _c, _d, _e, _f;
359
+ const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, filter_status: filterStatus, filter_type: filterType, filter_task_group_id: filterTaskGroupId, filter_order_id: filterOrderId, filter_created_by_org_id: filterCreatedByOrgId, filter_created_by_user_id: filterCreatedByUserId, filter_created_at_timestamp_gte: filterCreatedAtTimestampGte, filter_created_at_timestamp_lte: filterCreatedAtTimestampLte, filter_last_edited_at_timestamp_gte: filterLastEditedAtTimestampGte, filter_last_edited_at_timestamp_lte: filterLastEditedAtTimestampLte, } = request;
360
+ const _queryParams = {};
361
+ if (sortBy !== undefined) {
362
+ _queryParams["sort_by"] = sortBy;
363
+ }
364
+ if (sortOrder !== undefined) {
365
+ _queryParams["sort_order"] = sortOrder;
366
+ }
367
+ if (page !== undefined) {
368
+ _queryParams["page"] = (_a = page === null || page === void 0 ? void 0 : page.toString()) !== null && _a !== void 0 ? _a : null;
369
+ }
370
+ if (pageSize !== undefined) {
371
+ _queryParams["page_size"] = (_b = pageSize === null || pageSize === void 0 ? void 0 : pageSize.toString()) !== null && _b !== void 0 ? _b : null;
372
+ }
373
+ if (filterStatus !== undefined) {
374
+ if (Array.isArray(filterStatus)) {
375
+ _queryParams["filter_status"] = filterStatus.map((item) => item);
376
+ }
377
+ else {
378
+ _queryParams["filter_status"] = filterStatus;
379
+ }
380
+ }
381
+ if (filterType !== undefined) {
382
+ if (Array.isArray(filterType)) {
383
+ _queryParams["filter_type"] = filterType.map((item) => item);
384
+ }
385
+ else {
386
+ _queryParams["filter_type"] = filterType;
387
+ }
388
+ }
389
+ if (filterTaskGroupId !== undefined) {
390
+ _queryParams["filter_task_group_id"] = filterTaskGroupId;
391
+ }
392
+ if (filterOrderId !== undefined) {
393
+ _queryParams["filter_order_id"] = filterOrderId;
394
+ }
395
+ if (filterCreatedByOrgId !== undefined) {
396
+ _queryParams["filter_created_by_org_id"] = filterCreatedByOrgId;
397
+ }
398
+ if (filterCreatedByUserId !== undefined) {
399
+ _queryParams["filter_created_by_user_id"] = filterCreatedByUserId;
400
+ }
401
+ if (filterCreatedAtTimestampGte !== undefined) {
402
+ _queryParams["filter_created_at_timestamp_gte"] = filterCreatedAtTimestampGte;
403
+ }
404
+ if (filterCreatedAtTimestampLte !== undefined) {
405
+ _queryParams["filter_created_at_timestamp_lte"] = filterCreatedAtTimestampLte;
406
+ }
407
+ if (filterLastEditedAtTimestampGte !== undefined) {
408
+ _queryParams["filter_last_edited_at_timestamp_gte"] = filterLastEditedAtTimestampGte;
409
+ }
410
+ if (filterLastEditedAtTimestampLte !== undefined) {
411
+ _queryParams["filter_last_edited_at_timestamp_lte"] = filterLastEditedAtTimestampLte;
412
+ }
413
+ let _headers = mergeHeaders((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
414
+ const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
415
+ url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ChrtEnvironment.Local, "listing/listings/list_for_provider_bidder/v1"),
416
+ method: "GET",
417
+ headers: _headers,
418
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
419
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
420
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
421
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
422
+ });
423
+ if (_response.ok) {
424
+ return { data: _response.body, rawResponse: _response.rawResponse };
425
+ }
426
+ if (_response.error.reason === "status-code") {
427
+ switch (_response.error.statusCode) {
428
+ case 422:
429
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
430
+ default:
431
+ throw new errors.ChrtError({
432
+ statusCode: _response.error.statusCode,
433
+ body: _response.error.body,
434
+ rawResponse: _response.rawResponse,
435
+ });
436
+ }
437
+ }
438
+ switch (_response.error.reason) {
439
+ case "non-json":
440
+ throw new errors.ChrtError({
441
+ statusCode: _response.error.statusCode,
442
+ body: _response.error.rawBody,
443
+ rawResponse: _response.rawResponse,
444
+ });
445
+ case "timeout":
446
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /listing/listings/list_for_provider_bidder/v1.");
447
+ case "unknown":
448
+ throw new errors.ChrtError({
449
+ message: _response.error.errorMessage,
450
+ rawResponse: _response.rawResponse,
451
+ });
452
+ }
453
+ });
454
+ }
455
+ /**
456
+ * Lists DRIVERS-audience listings where the caller (resolved to a Driver of their org) is a snapshot participant. Driver-side bidder view with filtering, sorting, and pagination. Returns the bidder shape (no `internal_notes`). | authz: allowed_org_types=[provider], min_org_role=driver | () -> (ListingForBidderListRes)
457
+ *
458
+ * @param {Chrt.listing.ListingsListForDriverBidderV1Request} request
459
+ * @param {Listings.RequestOptions} requestOptions - Request-specific configuration.
460
+ *
461
+ * @throws {@link Chrt.UnprocessableEntityError}
462
+ *
463
+ * @example
464
+ * await client.listing.listings.listForDriverBidderV1({
465
+ * sort_by: "created_at_timestamp",
466
+ * sort_order: "asc",
467
+ * page: 1,
468
+ * page_size: 1,
469
+ * filter_task_group_id: "filter_task_group_id",
470
+ * filter_order_id: "filter_order_id",
471
+ * filter_created_by_org_id: "filter_created_by_org_id",
472
+ * filter_created_by_user_id: "filter_created_by_user_id",
473
+ * filter_created_at_timestamp_gte: "2024-01-15T09:30:00Z",
474
+ * filter_created_at_timestamp_lte: "2024-01-15T09:30:00Z",
475
+ * filter_last_edited_at_timestamp_gte: "2024-01-15T09:30:00Z",
476
+ * filter_last_edited_at_timestamp_lte: "2024-01-15T09:30:00Z"
477
+ * })
478
+ */
479
+ listForDriverBidderV1(request = {}, requestOptions) {
480
+ return core.HttpResponsePromise.fromPromise(this.__listForDriverBidderV1(request, requestOptions));
481
+ }
482
+ __listForDriverBidderV1() {
483
+ return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
484
+ var _a, _b, _c, _d, _e, _f;
485
+ const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, filter_status: filterStatus, filter_type: filterType, filter_task_group_id: filterTaskGroupId, filter_order_id: filterOrderId, filter_created_by_org_id: filterCreatedByOrgId, filter_created_by_user_id: filterCreatedByUserId, filter_created_at_timestamp_gte: filterCreatedAtTimestampGte, filter_created_at_timestamp_lte: filterCreatedAtTimestampLte, filter_last_edited_at_timestamp_gte: filterLastEditedAtTimestampGte, filter_last_edited_at_timestamp_lte: filterLastEditedAtTimestampLte, } = request;
486
+ const _queryParams = {};
487
+ if (sortBy !== undefined) {
488
+ _queryParams["sort_by"] = sortBy;
489
+ }
490
+ if (sortOrder !== undefined) {
491
+ _queryParams["sort_order"] = sortOrder;
492
+ }
493
+ if (page !== undefined) {
494
+ _queryParams["page"] = (_a = page === null || page === void 0 ? void 0 : page.toString()) !== null && _a !== void 0 ? _a : null;
495
+ }
496
+ if (pageSize !== undefined) {
497
+ _queryParams["page_size"] = (_b = pageSize === null || pageSize === void 0 ? void 0 : pageSize.toString()) !== null && _b !== void 0 ? _b : null;
498
+ }
499
+ if (filterStatus !== undefined) {
500
+ if (Array.isArray(filterStatus)) {
501
+ _queryParams["filter_status"] = filterStatus.map((item) => item);
502
+ }
503
+ else {
504
+ _queryParams["filter_status"] = filterStatus;
505
+ }
506
+ }
507
+ if (filterType !== undefined) {
508
+ if (Array.isArray(filterType)) {
509
+ _queryParams["filter_type"] = filterType.map((item) => item);
510
+ }
511
+ else {
512
+ _queryParams["filter_type"] = filterType;
513
+ }
514
+ }
515
+ if (filterTaskGroupId !== undefined) {
516
+ _queryParams["filter_task_group_id"] = filterTaskGroupId;
517
+ }
518
+ if (filterOrderId !== undefined) {
519
+ _queryParams["filter_order_id"] = filterOrderId;
520
+ }
521
+ if (filterCreatedByOrgId !== undefined) {
522
+ _queryParams["filter_created_by_org_id"] = filterCreatedByOrgId;
523
+ }
524
+ if (filterCreatedByUserId !== undefined) {
525
+ _queryParams["filter_created_by_user_id"] = filterCreatedByUserId;
526
+ }
527
+ if (filterCreatedAtTimestampGte !== undefined) {
528
+ _queryParams["filter_created_at_timestamp_gte"] = filterCreatedAtTimestampGte;
529
+ }
530
+ if (filterCreatedAtTimestampLte !== undefined) {
531
+ _queryParams["filter_created_at_timestamp_lte"] = filterCreatedAtTimestampLte;
532
+ }
533
+ if (filterLastEditedAtTimestampGte !== undefined) {
534
+ _queryParams["filter_last_edited_at_timestamp_gte"] = filterLastEditedAtTimestampGte;
535
+ }
536
+ if (filterLastEditedAtTimestampLte !== undefined) {
537
+ _queryParams["filter_last_edited_at_timestamp_lte"] = filterLastEditedAtTimestampLte;
538
+ }
539
+ let _headers = mergeHeaders((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
540
+ const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
541
+ url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ChrtEnvironment.Local, "listing/listings/list_for_driver_bidder/v1"),
542
+ method: "GET",
543
+ headers: _headers,
544
+ queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
545
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
546
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
547
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
548
+ });
549
+ if (_response.ok) {
550
+ return { data: _response.body, rawResponse: _response.rawResponse };
551
+ }
552
+ if (_response.error.reason === "status-code") {
553
+ switch (_response.error.statusCode) {
554
+ case 422:
555
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
556
+ default:
557
+ throw new errors.ChrtError({
558
+ statusCode: _response.error.statusCode,
559
+ body: _response.error.body,
560
+ rawResponse: _response.rawResponse,
561
+ });
562
+ }
563
+ }
564
+ switch (_response.error.reason) {
565
+ case "non-json":
566
+ throw new errors.ChrtError({
567
+ statusCode: _response.error.statusCode,
568
+ body: _response.error.rawBody,
569
+ rawResponse: _response.rawResponse,
570
+ });
571
+ case "timeout":
572
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /listing/listings/list_for_driver_bidder/v1.");
573
+ case "unknown":
574
+ throw new errors.ChrtError({
575
+ message: _response.error.errorMessage,
576
+ rawResponse: _response.rawResponse,
577
+ });
578
+ }
579
+ });
580
+ }
581
+ /**
582
+ * Creates a Listing for a TaskGroup that the caller's org coordinates. Snapshots participants by unioning ad-hoc picks with expanded bidding groups. When `auto_open_priced_bid_threads` is True, also auto-opens one BidThread per resolved participant with a lister-side seed Bid carrying default-rate-sheet-derived pricing (falling back to the listing's `pro_forma_line_items` when no rate sheet is configured for a participant) — listing insert and thread inserts are atomic. | authz: allowed_org_types=[provider], min_org_role=operator | (ListingClientCreate1) -> (PydanticObjectId)
583
+ *
584
+ * @param {Chrt.listing.ListingClientCreate1} request
585
+ * @param {Listings.RequestOptions} requestOptions - Request-specific configuration.
586
+ *
587
+ * @throws {@link Chrt.UnprocessableEntityError}
588
+ *
589
+ * @example
590
+ * await client.listing.listings.createV1({
591
+ * listing_description: "listing_description",
592
+ * task_group_id: "task_group_id",
593
+ * task_group_summary_for_bidders: "task_group_summary_for_bidders",
594
+ * audience: "providers"
595
+ * })
596
+ */
597
+ createV1(request, requestOptions) {
598
+ return core.HttpResponsePromise.fromPromise(this.__createV1(request, requestOptions));
599
+ }
600
+ __createV1(request, requestOptions) {
601
+ return __awaiter(this, void 0, void 0, function* () {
602
+ var _a, _b, _c, _d;
603
+ let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
604
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
605
+ 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, "listing/listings/create/v1"),
606
+ method: "POST",
607
+ headers: _headers,
608
+ contentType: "application/json",
609
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
610
+ requestType: "json",
611
+ body: request,
612
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
613
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
614
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
615
+ });
616
+ if (_response.ok) {
617
+ return { data: _response.body, rawResponse: _response.rawResponse };
618
+ }
619
+ if (_response.error.reason === "status-code") {
620
+ switch (_response.error.statusCode) {
621
+ case 422:
622
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
623
+ default:
624
+ throw new errors.ChrtError({
625
+ statusCode: _response.error.statusCode,
626
+ body: _response.error.body,
627
+ rawResponse: _response.rawResponse,
628
+ });
629
+ }
630
+ }
631
+ switch (_response.error.reason) {
632
+ case "non-json":
633
+ throw new errors.ChrtError({
634
+ statusCode: _response.error.statusCode,
635
+ body: _response.error.rawBody,
636
+ rawResponse: _response.rawResponse,
637
+ });
638
+ case "timeout":
639
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /listing/listings/create/v1.");
640
+ case "unknown":
641
+ throw new errors.ChrtError({
642
+ message: _response.error.errorMessage,
643
+ rawResponse: _response.rawResponse,
644
+ });
645
+ }
646
+ });
647
+ }
648
+ /**
649
+ * Partial update of a Listing. Allowed only while `status == OPEN`. Audience participant lists are NOT editable here — use add_participants / remove_participants. | authz: allowed_org_types=[provider], min_org_role=operator | (ListingClientUpdate1) -> (bool)
650
+ *
651
+ * @param {string} listingId
652
+ * @param {Chrt.listing.ListingClientUpdate1} request
653
+ * @param {Listings.RequestOptions} requestOptions - Request-specific configuration.
654
+ *
655
+ * @throws {@link Chrt.UnprocessableEntityError}
656
+ *
657
+ * @example
658
+ * await client.listing.listings.updateV1("listing_id")
659
+ */
660
+ updateV1(listingId, request = {}, requestOptions) {
661
+ return core.HttpResponsePromise.fromPromise(this.__updateV1(listingId, request, requestOptions));
662
+ }
663
+ __updateV1(listingId_1) {
664
+ return __awaiter(this, arguments, void 0, function* (listingId, request = {}, requestOptions) {
665
+ var _a, _b, _c, _d;
666
+ let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
667
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
668
+ 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, `listing/listings/update/v1/${encodeURIComponent(listingId)}`),
669
+ method: "PATCH",
670
+ headers: _headers,
671
+ contentType: "application/json",
672
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
673
+ requestType: "json",
674
+ body: request,
675
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
676
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
677
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
678
+ });
679
+ if (_response.ok) {
680
+ return { data: _response.body, rawResponse: _response.rawResponse };
681
+ }
682
+ if (_response.error.reason === "status-code") {
683
+ switch (_response.error.statusCode) {
684
+ case 422:
685
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
686
+ default:
687
+ throw new errors.ChrtError({
688
+ statusCode: _response.error.statusCode,
689
+ body: _response.error.body,
690
+ rawResponse: _response.rawResponse,
691
+ });
692
+ }
693
+ }
694
+ switch (_response.error.reason) {
695
+ case "non-json":
696
+ throw new errors.ChrtError({
697
+ statusCode: _response.error.statusCode,
698
+ body: _response.error.rawBody,
699
+ rawResponse: _response.rawResponse,
700
+ });
701
+ case "timeout":
702
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /listing/listings/update/v1/{listing_id}.");
703
+ case "unknown":
704
+ throw new errors.ChrtError({
705
+ message: _response.error.errorMessage,
706
+ rawResponse: _response.rawResponse,
707
+ });
708
+ }
709
+ });
710
+ }
711
+ /**
712
+ * Expands the audience of an OPEN PROVIDERS listing. Ad-hoc provider picks are unioned with expanded org bidding groups, then `$addToSet` onto the listing. Rejected for DRIVERS listings. | authz: allowed_org_types=[provider], min_org_role=operator | (ListingAddProviderParticipantsReq) -> (bool)
713
+ *
714
+ * @param {string} listingId
715
+ * @param {Chrt.listing.ListingAddProviderParticipantsReq} request
716
+ * @param {Listings.RequestOptions} requestOptions - Request-specific configuration.
717
+ *
718
+ * @throws {@link Chrt.UnprocessableEntityError}
719
+ *
720
+ * @example
721
+ * await client.listing.listings.addProviderParticipantsV1("listing_id")
722
+ */
723
+ addProviderParticipantsV1(listingId, request = {}, requestOptions) {
724
+ return core.HttpResponsePromise.fromPromise(this.__addProviderParticipantsV1(listingId, request, requestOptions));
725
+ }
726
+ __addProviderParticipantsV1(listingId_1) {
727
+ return __awaiter(this, arguments, void 0, function* (listingId, request = {}, requestOptions) {
728
+ var _a, _b, _c, _d;
729
+ let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
730
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
731
+ 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, `listing/listings/add_provider_participants/v1/${encodeURIComponent(listingId)}`),
732
+ method: "POST",
733
+ headers: _headers,
734
+ contentType: "application/json",
735
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
736
+ requestType: "json",
737
+ body: request,
738
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
739
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
740
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
741
+ });
742
+ if (_response.ok) {
743
+ return { data: _response.body, rawResponse: _response.rawResponse };
744
+ }
745
+ if (_response.error.reason === "status-code") {
746
+ switch (_response.error.statusCode) {
747
+ case 422:
748
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
749
+ default:
750
+ throw new errors.ChrtError({
751
+ statusCode: _response.error.statusCode,
752
+ body: _response.error.body,
753
+ rawResponse: _response.rawResponse,
754
+ });
755
+ }
756
+ }
757
+ switch (_response.error.reason) {
758
+ case "non-json":
759
+ throw new errors.ChrtError({
760
+ statusCode: _response.error.statusCode,
761
+ body: _response.error.rawBody,
762
+ rawResponse: _response.rawResponse,
763
+ });
764
+ case "timeout":
765
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /listing/listings/add_provider_participants/v1/{listing_id}.");
766
+ case "unknown":
767
+ throw new errors.ChrtError({
768
+ message: _response.error.errorMessage,
769
+ rawResponse: _response.rawResponse,
770
+ });
771
+ }
772
+ });
773
+ }
774
+ /**
775
+ * Expands the audience of an OPEN DRIVERS listing. Ad-hoc driver picks are unioned with expanded driver bidding groups, then `$addToSet` onto the listing. Rejected for PROVIDERS listings. | authz: allowed_org_types=[provider], min_org_role=operator | (ListingAddDriverParticipantsReq) -> (bool)
776
+ *
777
+ * @param {string} listingId
778
+ * @param {Chrt.listing.ListingAddDriverParticipantsReq} request
779
+ * @param {Listings.RequestOptions} requestOptions - Request-specific configuration.
780
+ *
781
+ * @throws {@link Chrt.UnprocessableEntityError}
782
+ *
783
+ * @example
784
+ * await client.listing.listings.addDriverParticipantsV1("listing_id")
785
+ */
786
+ addDriverParticipantsV1(listingId, request = {}, requestOptions) {
787
+ return core.HttpResponsePromise.fromPromise(this.__addDriverParticipantsV1(listingId, request, requestOptions));
788
+ }
789
+ __addDriverParticipantsV1(listingId_1) {
790
+ return __awaiter(this, arguments, void 0, function* (listingId, request = {}, requestOptions) {
791
+ var _a, _b, _c, _d;
792
+ let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
793
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
794
+ 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, `listing/listings/add_driver_participants/v1/${encodeURIComponent(listingId)}`),
795
+ method: "POST",
796
+ headers: _headers,
797
+ contentType: "application/json",
798
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
799
+ requestType: "json",
800
+ body: request,
801
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
802
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
803
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
804
+ });
805
+ if (_response.ok) {
806
+ return { data: _response.body, rawResponse: _response.rawResponse };
807
+ }
808
+ if (_response.error.reason === "status-code") {
809
+ switch (_response.error.statusCode) {
810
+ case 422:
811
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
812
+ default:
813
+ throw new errors.ChrtError({
814
+ statusCode: _response.error.statusCode,
815
+ body: _response.error.body,
816
+ rawResponse: _response.rawResponse,
817
+ });
818
+ }
819
+ }
820
+ switch (_response.error.reason) {
821
+ case "non-json":
822
+ throw new errors.ChrtError({
823
+ statusCode: _response.error.statusCode,
824
+ body: _response.error.rawBody,
825
+ rawResponse: _response.rawResponse,
826
+ });
827
+ case "timeout":
828
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /listing/listings/add_driver_participants/v1/{listing_id}.");
829
+ case "unknown":
830
+ throw new errors.ChrtError({
831
+ message: _response.error.errorMessage,
832
+ rawResponse: _response.rawResponse,
833
+ });
834
+ }
835
+ });
836
+ }
837
+ /**
838
+ * Narrows the audience of an OPEN PROVIDERS listing. Rejected for any participant with a live (OPEN) BidThread. Rejected for DRIVERS listings. | authz: allowed_org_types=[provider], min_org_role=operator | (ListingRemoveProviderParticipantsReq) -> (bool)
839
+ *
840
+ * @param {string} listingId
841
+ * @param {Chrt.listing.ListingRemoveProviderParticipantsReq} request
842
+ * @param {Listings.RequestOptions} requestOptions - Request-specific configuration.
843
+ *
844
+ * @throws {@link Chrt.UnprocessableEntityError}
845
+ *
846
+ * @example
847
+ * await client.listing.listings.removeProviderParticipantsV1("listing_id")
848
+ */
849
+ removeProviderParticipantsV1(listingId, request = {}, requestOptions) {
850
+ return core.HttpResponsePromise.fromPromise(this.__removeProviderParticipantsV1(listingId, request, requestOptions));
851
+ }
852
+ __removeProviderParticipantsV1(listingId_1) {
853
+ return __awaiter(this, arguments, void 0, function* (listingId, request = {}, requestOptions) {
854
+ var _a, _b, _c, _d;
855
+ let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
856
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
857
+ 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, `listing/listings/remove_provider_participants/v1/${encodeURIComponent(listingId)}`),
858
+ method: "DELETE",
859
+ headers: _headers,
860
+ contentType: "application/json",
861
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
862
+ requestType: "json",
863
+ body: request,
864
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
865
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
866
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
867
+ });
868
+ if (_response.ok) {
869
+ return { data: _response.body, rawResponse: _response.rawResponse };
870
+ }
871
+ if (_response.error.reason === "status-code") {
872
+ switch (_response.error.statusCode) {
873
+ case 422:
874
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
875
+ default:
876
+ throw new errors.ChrtError({
877
+ statusCode: _response.error.statusCode,
878
+ body: _response.error.body,
879
+ rawResponse: _response.rawResponse,
880
+ });
881
+ }
882
+ }
883
+ switch (_response.error.reason) {
884
+ case "non-json":
885
+ throw new errors.ChrtError({
886
+ statusCode: _response.error.statusCode,
887
+ body: _response.error.rawBody,
888
+ rawResponse: _response.rawResponse,
889
+ });
890
+ case "timeout":
891
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling DELETE /listing/listings/remove_provider_participants/v1/{listing_id}.");
892
+ case "unknown":
893
+ throw new errors.ChrtError({
894
+ message: _response.error.errorMessage,
895
+ rawResponse: _response.rawResponse,
896
+ });
897
+ }
898
+ });
899
+ }
900
+ /**
901
+ * Narrows the audience of an OPEN DRIVERS listing. Rejected for any driver with a live (OPEN) BidThread. Rejected for PROVIDERS listings. | authz: allowed_org_types=[provider], min_org_role=operator | (ListingRemoveDriverParticipantsReq) -> (bool)
902
+ *
903
+ * @param {string} listingId
904
+ * @param {Chrt.listing.ListingRemoveDriverParticipantsReq} request
905
+ * @param {Listings.RequestOptions} requestOptions - Request-specific configuration.
906
+ *
907
+ * @throws {@link Chrt.UnprocessableEntityError}
908
+ *
909
+ * @example
910
+ * await client.listing.listings.removeDriverParticipantsV1("listing_id")
911
+ */
912
+ removeDriverParticipantsV1(listingId, request = {}, requestOptions) {
913
+ return core.HttpResponsePromise.fromPromise(this.__removeDriverParticipantsV1(listingId, request, requestOptions));
914
+ }
915
+ __removeDriverParticipantsV1(listingId_1) {
916
+ return __awaiter(this, arguments, void 0, function* (listingId, request = {}, requestOptions) {
917
+ var _a, _b, _c, _d;
918
+ let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
919
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
920
+ 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, `listing/listings/remove_driver_participants/v1/${encodeURIComponent(listingId)}`),
921
+ method: "DELETE",
922
+ headers: _headers,
923
+ contentType: "application/json",
924
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
925
+ requestType: "json",
926
+ body: request,
927
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
928
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
929
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
930
+ });
931
+ if (_response.ok) {
932
+ return { data: _response.body, rawResponse: _response.rawResponse };
933
+ }
934
+ if (_response.error.reason === "status-code") {
935
+ switch (_response.error.statusCode) {
936
+ case 422:
937
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
938
+ default:
939
+ throw new errors.ChrtError({
940
+ statusCode: _response.error.statusCode,
941
+ body: _response.error.body,
942
+ rawResponse: _response.rawResponse,
943
+ });
944
+ }
945
+ }
946
+ switch (_response.error.reason) {
947
+ case "non-json":
948
+ throw new errors.ChrtError({
949
+ statusCode: _response.error.statusCode,
950
+ body: _response.error.rawBody,
951
+ rawResponse: _response.rawResponse,
952
+ });
953
+ case "timeout":
954
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling DELETE /listing/listings/remove_driver_participants/v1/{listing_id}.");
955
+ case "unknown":
956
+ throw new errors.ChrtError({
957
+ message: _response.error.errorMessage,
958
+ rawResponse: _response.rawResponse,
959
+ });
960
+ }
961
+ });
962
+ }
963
+ /**
964
+ * Cancels an OPEN listing. All OPEN BidThreads on this listing are system-rejected. No shipping or billing side-effects. Idempotent: no-op on an already-terminal listing. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (bool)
965
+ *
966
+ * @param {string} listingId
967
+ * @param {Listings.RequestOptions} requestOptions - Request-specific configuration.
968
+ *
969
+ * @throws {@link Chrt.UnprocessableEntityError}
970
+ *
971
+ * @example
972
+ * await client.listing.listings.cancelV1("listing_id")
973
+ */
974
+ cancelV1(listingId, requestOptions) {
975
+ return core.HttpResponsePromise.fromPromise(this.__cancelV1(listingId, requestOptions));
976
+ }
977
+ __cancelV1(listingId, requestOptions) {
978
+ return __awaiter(this, void 0, void 0, function* () {
979
+ var _a, _b, _c, _d;
980
+ let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
981
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
982
+ 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, `listing/listings/cancel/v1/${encodeURIComponent(listingId)}`),
983
+ method: "PUT",
984
+ headers: _headers,
985
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
986
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
987
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
988
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
989
+ });
990
+ if (_response.ok) {
991
+ return { data: _response.body, rawResponse: _response.rawResponse };
992
+ }
993
+ if (_response.error.reason === "status-code") {
994
+ switch (_response.error.statusCode) {
995
+ case 422:
996
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
997
+ default:
998
+ throw new errors.ChrtError({
999
+ statusCode: _response.error.statusCode,
1000
+ body: _response.error.body,
1001
+ rawResponse: _response.rawResponse,
1002
+ });
1003
+ }
1004
+ }
1005
+ switch (_response.error.reason) {
1006
+ case "non-json":
1007
+ throw new errors.ChrtError({
1008
+ statusCode: _response.error.statusCode,
1009
+ body: _response.error.rawBody,
1010
+ rawResponse: _response.rawResponse,
1011
+ });
1012
+ case "timeout":
1013
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling PUT /listing/listings/cancel/v1/{listing_id}.");
1014
+ case "unknown":
1015
+ throw new errors.ChrtError({
1016
+ message: _response.error.errorMessage,
1017
+ rawResponse: _response.rawResponse,
1018
+ });
1019
+ }
1020
+ });
1021
+ }
1022
+ _getAuthorizationHeader() {
1023
+ return __awaiter(this, void 0, void 0, function* () {
1024
+ const bearer = yield core.Supplier.get(this._options.token);
1025
+ if (bearer != null) {
1026
+ return `Bearer ${bearer}`;
1027
+ }
1028
+ return undefined;
1029
+ });
1030
+ }
1031
+ }