@chrt-inc/typescript-sdk 0.0.189 → 0.0.195

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 (308) hide show
  1. package/dist/cjs/Client.d.ts +12 -3
  2. package/dist/cjs/Client.js +44 -29
  3. package/dist/cjs/api/resources/courierPayDriverLineItemGroup/client/Client.d.ts +1 -1
  4. package/dist/cjs/api/resources/courierPayDriverLineItemGroup/resources/addLineItems/client/Client.d.ts +1 -1
  5. package/dist/cjs/api/resources/courierPayDriverLineItemGroup/resources/addLineItems/client/Client.js +1 -1
  6. package/dist/cjs/api/resources/courierPayDriverLineItemGroup/resources/addLineItems/client/requests/CourierPayDriverLineItemGroupAddLineItemsReq.d.ts +2 -2
  7. package/dist/cjs/api/resources/courierPayDriverLineItemGroup/resources/removeLineItems/client/Client.d.ts +1 -6
  8. package/dist/cjs/api/resources/courierPayDriverLineItemGroup/resources/removeLineItems/client/Client.js +1 -6
  9. package/dist/cjs/api/resources/courierPayDriverLineItemGroup/resources/removeLineItems/client/requests/CourierPayDriverLineItemGroupRemoveLineItemsReq.d.ts +2 -9
  10. package/dist/cjs/api/resources/courierPayDriverPayouts/client/Client.d.ts +15 -1
  11. package/dist/cjs/api/resources/courierPayDriverPayouts/client/Client.js +62 -1
  12. package/dist/cjs/api/resources/courierPayDriverPayouts/client/requests/CourierPayDriverPayoutClientCreate1.d.ts +2 -2
  13. package/dist/cjs/api/resources/courierPayDriverPayouts/client/requests/CourierPayDriverPayoutClientUpdate1.d.ts +14 -0
  14. package/dist/cjs/api/resources/courierPayDriverPayouts/client/requests/index.d.ts +1 -0
  15. package/dist/cjs/api/resources/index.d.ts +7 -2
  16. package/dist/cjs/api/resources/index.js +8 -3
  17. package/dist/cjs/api/resources/{offChrtShipperOrgConnectionInfo → offChrtShipperOrgInfo}/client/Client.d.ts +18 -18
  18. package/dist/cjs/api/resources/{offChrtShipperOrgConnectionInfo → offChrtShipperOrgInfo}/client/Client.js +23 -29
  19. package/dist/cjs/api/resources/{offChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientCreate1.d.ts → offChrtShipperOrgInfo/client/requests/OffChrtShipperOrgInfoClientCreate1.d.ts} +2 -1
  20. package/dist/cjs/api/resources/{offChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientUpdate1.d.ts → offChrtShipperOrgInfo/client/requests/OffChrtShipperOrgInfoClientUpdate1.d.ts} +1 -1
  21. package/dist/cjs/api/resources/offChrtShipperOrgInfo/client/requests/index.d.ts +2 -0
  22. package/dist/cjs/api/resources/orders/client/requests/CreateOrderReq.d.ts +1 -1
  23. package/dist/cjs/api/resources/payments/client/Client.d.ts +19 -25
  24. package/dist/cjs/api/resources/payments/client/Client.js +58 -72
  25. package/dist/cjs/api/resources/payments/client/requests/GenerateInvoiceReq.d.ts +14 -0
  26. package/dist/cjs/api/resources/payments/client/requests/index.d.ts +1 -2
  27. package/dist/cjs/api/resources/shipperContactInfo/client/Client.d.ts +4 -4
  28. package/dist/cjs/api/resources/shipperContactInfo/client/Client.js +7 -7
  29. package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/client/Client.d.ts +96 -0
  30. package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/client/Client.js +321 -0
  31. package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/client/index.d.ts +2 -0
  32. package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/client/index.js +17 -0
  33. package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/client/requests/ShipperPayCourierLineItemGroupCreateReq.d.ts +28 -0
  34. package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/client/requests/ShipperPayCourierLineItemGroupPreviewReq.d.ts +28 -0
  35. package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/client/requests/index.d.ts +2 -0
  36. package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/client/requests/index.js +2 -0
  37. package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/index.d.ts +2 -0
  38. package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/index.js +18 -0
  39. package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/resources/addLineItems/client/Client.d.ts +53 -0
  40. package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/resources/addLineItems/client/Client.js +136 -0
  41. package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/resources/addLineItems/client/index.d.ts +2 -0
  42. package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/resources/addLineItems/client/index.js +17 -0
  43. package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/resources/addLineItems/client/requests/ShipperPayCourierLineItemGroupAddLineItemsReq.d.ts +19 -0
  44. package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/resources/addLineItems/client/requests/index.d.ts +1 -0
  45. package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/resources/addLineItems/client/requests/index.js +2 -0
  46. package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/resources/addLineItems/index.d.ts +1 -0
  47. package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/resources/addLineItems/index.js +17 -0
  48. package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/resources/index.d.ts +4 -0
  49. package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/resources/index.js +43 -0
  50. package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/resources/removeLineItems/client/Client.d.ts +48 -0
  51. package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/resources/removeLineItems/client/Client.js +131 -0
  52. package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/resources/removeLineItems/client/index.d.ts +2 -0
  53. package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/resources/removeLineItems/client/index.js +17 -0
  54. package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/resources/removeLineItems/client/requests/ShipperPayCourierLineItemGroupRemoveLineItemsReq.d.ts +12 -0
  55. package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/resources/removeLineItems/client/requests/index.d.ts +1 -0
  56. package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/resources/removeLineItems/client/requests/index.js +2 -0
  57. package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/resources/removeLineItems/index.d.ts +1 -0
  58. package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/resources/removeLineItems/index.js +17 -0
  59. package/dist/cjs/api/resources/shipperPayCourierPayments/client/Client.d.ts +98 -0
  60. package/dist/cjs/api/resources/shipperPayCourierPayments/client/Client.js +361 -0
  61. package/dist/cjs/api/resources/shipperPayCourierPayments/client/index.js +2 -0
  62. package/dist/cjs/api/resources/shipperPayCourierPayments/index.d.ts +1 -0
  63. package/dist/cjs/api/resources/shipperPayCourierPayments/index.js +17 -0
  64. package/dist/cjs/api/resources/shipperPayCourierRateSheets/client/Client.d.ts +110 -0
  65. package/dist/cjs/api/resources/shipperPayCourierRateSheets/client/Client.js +367 -0
  66. package/dist/cjs/api/resources/shipperPayCourierRateSheets/client/index.d.ts +2 -0
  67. package/dist/cjs/api/resources/shipperPayCourierRateSheets/client/index.js +17 -0
  68. package/dist/cjs/api/resources/shipperPayCourierRateSheets/client/requests/ShipperPayCourierRateSheetClientCreate1.d.ts +49 -0
  69. package/dist/cjs/api/resources/shipperPayCourierRateSheets/client/requests/ShipperPayCourierRateSheetClientUpdate1.d.ts +31 -0
  70. package/dist/cjs/api/resources/shipperPayCourierRateSheets/client/requests/index.d.ts +2 -0
  71. package/dist/cjs/api/resources/shipperPayCourierRateSheets/client/requests/index.js +2 -0
  72. package/dist/cjs/api/resources/shipperPayCourierRateSheets/index.d.ts +1 -0
  73. package/dist/cjs/api/resources/shipperPayCourierRateSheets/index.js +17 -0
  74. package/dist/cjs/api/types/CourierPayDriverLineItemGroup1.d.ts +2 -1
  75. package/dist/cjs/api/types/CourierPayDriverLineItemGroupPreviewRes.d.ts +14 -0
  76. package/dist/cjs/api/types/CourierPayDriverLineItemGroupPreviewRes.js +5 -0
  77. package/dist/cjs/api/types/CourierPayDriverPayout1.d.ts +21 -0
  78. package/dist/cjs/api/types/CourierPayDriverPayout1.js +5 -0
  79. package/dist/cjs/api/types/CreateShipperPayCourierPaymentReq.d.ts +9 -0
  80. package/dist/cjs/api/types/CreateShipperPayCourierPaymentReq.js +5 -0
  81. package/dist/cjs/api/types/GenerateInvoiceRes.d.ts +9 -0
  82. package/dist/cjs/api/types/GenerateInvoiceRes.js +5 -0
  83. package/dist/cjs/api/types/GetShipperPayCourierPaymentsForShipperRes.d.ts +10 -0
  84. package/dist/cjs/api/types/GetShipperPayCourierPaymentsForShipperRes.js +5 -0
  85. package/dist/cjs/api/types/GetShipperPayCourierPaymentsRes.d.ts +10 -0
  86. package/dist/cjs/api/types/GetShipperPayCourierPaymentsRes.js +5 -0
  87. package/dist/cjs/api/types/LineItem1.d.ts +3 -1
  88. package/dist/cjs/api/types/LineItemClientCreate1.d.ts +11 -0
  89. package/dist/cjs/api/types/LineItemClientCreate1.js +5 -0
  90. package/dist/cjs/api/types/Milestone1.d.ts +1 -1
  91. package/dist/cjs/api/types/{OffChrtShipperOrgConnectionInfo1.d.ts → OffChrtShipperOrgInfo1.d.ts} +2 -1
  92. package/dist/cjs/api/types/OffChrtShipperOrgInfo1.js +5 -0
  93. package/dist/cjs/api/types/Order1.d.ts +1 -3
  94. package/dist/cjs/api/types/OrgPublicData2.d.ts +5 -1
  95. package/dist/cjs/api/types/PaymentPreviewResponse.d.ts +13 -0
  96. package/dist/cjs/api/types/PaymentPreviewResponse.js +5 -0
  97. package/dist/cjs/api/types/PaymentStatusEnum.d.ts +11 -0
  98. package/dist/cjs/api/types/PaymentStatusEnum.js +13 -0
  99. package/dist/cjs/api/types/PayoutStatusEnum.d.ts +10 -0
  100. package/dist/cjs/api/types/PayoutStatusEnum.js +12 -0
  101. package/dist/cjs/api/types/ShipperContactInfo1.d.ts +1 -1
  102. package/dist/cjs/api/types/ShipperContactInfoClientCreate1.d.ts +1 -1
  103. package/dist/cjs/api/types/ShipperPayCourierLineItemGroup1.d.ts +17 -0
  104. package/dist/cjs/api/types/ShipperPayCourierLineItemGroup1.js +5 -0
  105. package/dist/cjs/api/types/ShipperPayCourierLineItemGroupServerCreate1.d.ts +16 -0
  106. package/dist/cjs/api/types/ShipperPayCourierLineItemGroupServerCreate1.js +5 -0
  107. package/dist/cjs/api/types/ShipperPayCourierPayment1.d.ts +23 -0
  108. package/dist/cjs/api/types/ShipperPayCourierPayment1.js +5 -0
  109. package/dist/cjs/api/types/ShipperPayCourierRateSheet1.d.ts +33 -0
  110. package/dist/cjs/api/types/ShipperPayCourierRateSheet1.js +5 -0
  111. package/dist/cjs/api/types/StripeConnectAccountEvent.d.ts +11 -0
  112. package/dist/cjs/api/types/StripeConnectAccountEvent.js +5 -0
  113. package/dist/cjs/api/types/StripeConnectAccountEventEnum.d.ts +8 -0
  114. package/dist/cjs/api/types/StripeConnectAccountEventEnum.js +10 -0
  115. package/dist/cjs/api/types/Task1.d.ts +0 -2
  116. package/dist/cjs/api/types/TaskGroup1.d.ts +0 -4
  117. package/dist/cjs/api/types/UserPublicData6.d.ts +0 -1
  118. package/dist/cjs/api/types/index.d.ts +17 -10
  119. package/dist/cjs/api/types/index.js +17 -10
  120. package/dist/cjs/version.d.ts +1 -1
  121. package/dist/cjs/version.js +1 -1
  122. package/dist/esm/Client.d.mts +12 -3
  123. package/dist/esm/Client.mjs +20 -5
  124. package/dist/esm/api/resources/courierPayDriverLineItemGroup/client/Client.d.mts +1 -1
  125. package/dist/esm/api/resources/courierPayDriverLineItemGroup/resources/addLineItems/client/Client.d.mts +1 -1
  126. package/dist/esm/api/resources/courierPayDriverLineItemGroup/resources/addLineItems/client/Client.mjs +1 -1
  127. package/dist/esm/api/resources/courierPayDriverLineItemGroup/resources/addLineItems/client/requests/CourierPayDriverLineItemGroupAddLineItemsReq.d.mts +2 -2
  128. package/dist/esm/api/resources/courierPayDriverLineItemGroup/resources/removeLineItems/client/Client.d.mts +1 -6
  129. package/dist/esm/api/resources/courierPayDriverLineItemGroup/resources/removeLineItems/client/Client.mjs +1 -6
  130. package/dist/esm/api/resources/courierPayDriverLineItemGroup/resources/removeLineItems/client/requests/CourierPayDriverLineItemGroupRemoveLineItemsReq.d.mts +2 -9
  131. package/dist/esm/api/resources/courierPayDriverPayouts/client/Client.d.mts +15 -1
  132. package/dist/esm/api/resources/courierPayDriverPayouts/client/Client.mjs +62 -1
  133. package/dist/esm/api/resources/courierPayDriverPayouts/client/requests/CourierPayDriverPayoutClientCreate1.d.mts +2 -2
  134. package/dist/esm/api/resources/courierPayDriverPayouts/client/requests/CourierPayDriverPayoutClientUpdate1.d.mts +14 -0
  135. package/dist/esm/api/resources/courierPayDriverPayouts/client/requests/index.d.mts +1 -0
  136. package/dist/esm/api/resources/index.d.mts +7 -2
  137. package/dist/esm/api/resources/index.mjs +7 -2
  138. package/dist/esm/api/resources/{offChrtShipperOrgConnectionInfo → offChrtShipperOrgInfo}/client/Client.d.mts +18 -18
  139. package/dist/esm/api/resources/{offChrtShipperOrgConnectionInfo → offChrtShipperOrgInfo}/client/Client.mjs +21 -27
  140. package/dist/esm/api/resources/{offChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientCreate1.d.mts → offChrtShipperOrgInfo/client/requests/OffChrtShipperOrgInfoClientCreate1.d.mts} +2 -1
  141. package/dist/esm/api/resources/{offChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientUpdate1.d.mts → offChrtShipperOrgInfo/client/requests/OffChrtShipperOrgInfoClientUpdate1.d.mts} +1 -1
  142. package/dist/esm/api/resources/offChrtShipperOrgInfo/client/requests/index.d.mts +2 -0
  143. package/dist/esm/api/resources/offChrtShipperOrgInfo/client/requests/index.mjs +1 -0
  144. package/dist/esm/api/resources/orders/client/requests/CreateOrderReq.d.mts +1 -1
  145. package/dist/esm/api/resources/payments/client/Client.d.mts +19 -25
  146. package/dist/esm/api/resources/payments/client/Client.mjs +58 -72
  147. package/dist/esm/api/resources/payments/client/requests/GenerateInvoiceReq.d.mts +14 -0
  148. package/dist/esm/api/resources/payments/client/requests/index.d.mts +1 -2
  149. package/dist/esm/api/resources/shipperContactInfo/client/Client.d.mts +4 -4
  150. package/dist/esm/api/resources/shipperContactInfo/client/Client.mjs +7 -7
  151. package/dist/esm/api/resources/shipperPayCourierLineItemGroup/client/Client.d.mts +96 -0
  152. package/dist/esm/api/resources/shipperPayCourierLineItemGroup/client/Client.mjs +284 -0
  153. package/dist/esm/api/resources/shipperPayCourierLineItemGroup/client/index.d.mts +2 -0
  154. package/dist/esm/api/resources/shipperPayCourierLineItemGroup/client/index.mjs +1 -0
  155. package/dist/esm/api/resources/shipperPayCourierLineItemGroup/client/requests/ShipperPayCourierLineItemGroupCreateReq.d.mts +28 -0
  156. package/dist/esm/api/resources/shipperPayCourierLineItemGroup/client/requests/ShipperPayCourierLineItemGroupPreviewReq.d.mts +28 -0
  157. package/dist/esm/api/resources/shipperPayCourierLineItemGroup/client/requests/index.d.mts +2 -0
  158. package/dist/esm/api/resources/shipperPayCourierLineItemGroup/client/requests/index.mjs +1 -0
  159. package/dist/esm/api/resources/shipperPayCourierLineItemGroup/index.d.mts +2 -0
  160. package/dist/esm/api/resources/shipperPayCourierLineItemGroup/index.mjs +2 -0
  161. package/dist/esm/api/resources/shipperPayCourierLineItemGroup/resources/addLineItems/client/Client.d.mts +53 -0
  162. package/dist/esm/api/resources/shipperPayCourierLineItemGroup/resources/addLineItems/client/Client.mjs +99 -0
  163. package/dist/esm/api/resources/shipperPayCourierLineItemGroup/resources/addLineItems/client/index.d.mts +2 -0
  164. package/dist/esm/api/resources/shipperPayCourierLineItemGroup/resources/addLineItems/client/index.mjs +1 -0
  165. package/dist/esm/api/resources/shipperPayCourierLineItemGroup/resources/addLineItems/client/requests/ShipperPayCourierLineItemGroupAddLineItemsReq.d.mts +19 -0
  166. package/dist/esm/api/resources/shipperPayCourierLineItemGroup/resources/addLineItems/client/requests/index.d.mts +1 -0
  167. package/dist/esm/api/resources/shipperPayCourierLineItemGroup/resources/addLineItems/client/requests/index.mjs +1 -0
  168. package/dist/esm/api/resources/shipperPayCourierLineItemGroup/resources/addLineItems/index.d.mts +1 -0
  169. package/dist/esm/api/resources/shipperPayCourierLineItemGroup/resources/addLineItems/index.mjs +1 -0
  170. package/dist/esm/api/resources/shipperPayCourierLineItemGroup/resources/index.d.mts +4 -0
  171. package/dist/esm/api/resources/shipperPayCourierLineItemGroup/resources/index.mjs +4 -0
  172. package/dist/esm/api/resources/shipperPayCourierLineItemGroup/resources/removeLineItems/client/Client.d.mts +48 -0
  173. package/dist/esm/api/resources/shipperPayCourierLineItemGroup/resources/removeLineItems/client/Client.mjs +94 -0
  174. package/dist/esm/api/resources/shipperPayCourierLineItemGroup/resources/removeLineItems/client/index.d.mts +2 -0
  175. package/dist/esm/api/resources/shipperPayCourierLineItemGroup/resources/removeLineItems/client/index.mjs +1 -0
  176. package/dist/esm/api/resources/shipperPayCourierLineItemGroup/resources/removeLineItems/client/requests/ShipperPayCourierLineItemGroupRemoveLineItemsReq.d.mts +12 -0
  177. package/dist/esm/api/resources/shipperPayCourierLineItemGroup/resources/removeLineItems/client/requests/index.d.mts +1 -0
  178. package/dist/esm/api/resources/shipperPayCourierLineItemGroup/resources/removeLineItems/client/requests/index.mjs +1 -0
  179. package/dist/esm/api/resources/shipperPayCourierLineItemGroup/resources/removeLineItems/index.d.mts +1 -0
  180. package/dist/esm/api/resources/shipperPayCourierLineItemGroup/resources/removeLineItems/index.mjs +1 -0
  181. package/dist/esm/api/resources/shipperPayCourierPayments/client/Client.d.mts +98 -0
  182. package/dist/esm/api/resources/shipperPayCourierPayments/client/Client.mjs +324 -0
  183. package/dist/esm/api/resources/shipperPayCourierPayments/client/index.d.mts +1 -0
  184. package/dist/esm/api/resources/shipperPayCourierPayments/client/index.mjs +1 -0
  185. package/dist/esm/api/resources/shipperPayCourierPayments/index.d.mts +1 -0
  186. package/dist/esm/api/resources/shipperPayCourierPayments/index.mjs +1 -0
  187. package/dist/esm/api/resources/shipperPayCourierRateSheets/client/Client.d.mts +110 -0
  188. package/dist/esm/api/resources/shipperPayCourierRateSheets/client/Client.mjs +330 -0
  189. package/dist/esm/api/resources/shipperPayCourierRateSheets/client/index.d.mts +2 -0
  190. package/dist/esm/api/resources/shipperPayCourierRateSheets/client/index.mjs +1 -0
  191. package/dist/esm/api/resources/shipperPayCourierRateSheets/client/requests/ShipperPayCourierRateSheetClientCreate1.d.mts +49 -0
  192. package/dist/esm/api/resources/shipperPayCourierRateSheets/client/requests/ShipperPayCourierRateSheetClientUpdate1.d.mts +31 -0
  193. package/dist/esm/api/resources/shipperPayCourierRateSheets/client/requests/index.d.mts +2 -0
  194. package/dist/esm/api/resources/shipperPayCourierRateSheets/client/requests/index.mjs +1 -0
  195. package/dist/esm/api/resources/shipperPayCourierRateSheets/index.d.mts +1 -0
  196. package/dist/esm/api/resources/shipperPayCourierRateSheets/index.mjs +1 -0
  197. package/dist/esm/api/types/CourierPayDriverLineItemGroup1.d.mts +2 -1
  198. package/dist/esm/api/types/CourierPayDriverLineItemGroupPreviewRes.d.mts +14 -0
  199. package/dist/esm/api/types/CourierPayDriverLineItemGroupPreviewRes.mjs +4 -0
  200. package/dist/esm/api/types/CourierPayDriverPayout1.d.mts +21 -0
  201. package/dist/esm/api/types/CourierPayDriverPayout1.mjs +4 -0
  202. package/dist/esm/api/types/CreateShipperPayCourierPaymentReq.d.mts +9 -0
  203. package/dist/esm/api/types/CreateShipperPayCourierPaymentReq.mjs +4 -0
  204. package/dist/esm/api/types/GenerateInvoiceRes.d.mts +9 -0
  205. package/dist/esm/api/types/GenerateInvoiceRes.mjs +4 -0
  206. package/dist/esm/api/types/GetShipperPayCourierPaymentsForShipperRes.d.mts +10 -0
  207. package/dist/esm/api/types/GetShipperPayCourierPaymentsForShipperRes.mjs +4 -0
  208. package/dist/esm/api/types/GetShipperPayCourierPaymentsRes.d.mts +10 -0
  209. package/dist/esm/api/types/GetShipperPayCourierPaymentsRes.mjs +4 -0
  210. package/dist/esm/api/types/LineItem1.d.mts +3 -1
  211. package/dist/esm/api/types/LineItemClientCreate1.d.mts +11 -0
  212. package/dist/esm/api/types/LineItemClientCreate1.mjs +4 -0
  213. package/dist/esm/api/types/Milestone1.d.mts +1 -1
  214. package/dist/esm/api/types/{OffChrtShipperOrgConnectionInfo1.d.mts → OffChrtShipperOrgInfo1.d.mts} +2 -1
  215. package/dist/esm/api/types/OffChrtShipperOrgInfo1.mjs +4 -0
  216. package/dist/esm/api/types/Order1.d.mts +1 -3
  217. package/dist/esm/api/types/OrgPublicData2.d.mts +5 -1
  218. package/dist/esm/api/types/PaymentPreviewResponse.d.mts +13 -0
  219. package/dist/esm/api/types/PaymentPreviewResponse.mjs +4 -0
  220. package/dist/esm/api/types/PaymentStatusEnum.d.mts +11 -0
  221. package/dist/esm/api/types/PaymentStatusEnum.mjs +10 -0
  222. package/dist/esm/api/types/PayoutStatusEnum.d.mts +10 -0
  223. package/dist/esm/api/types/PayoutStatusEnum.mjs +9 -0
  224. package/dist/esm/api/types/ShipperContactInfo1.d.mts +1 -1
  225. package/dist/esm/api/types/ShipperContactInfoClientCreate1.d.mts +1 -1
  226. package/dist/esm/api/types/ShipperPayCourierLineItemGroup1.d.mts +17 -0
  227. package/dist/esm/api/types/ShipperPayCourierLineItemGroup1.mjs +4 -0
  228. package/dist/esm/api/types/ShipperPayCourierLineItemGroupServerCreate1.d.mts +16 -0
  229. package/dist/esm/api/types/ShipperPayCourierLineItemGroupServerCreate1.mjs +4 -0
  230. package/dist/esm/api/types/ShipperPayCourierPayment1.d.mts +23 -0
  231. package/dist/esm/api/types/ShipperPayCourierPayment1.mjs +4 -0
  232. package/dist/esm/api/types/ShipperPayCourierRateSheet1.d.mts +33 -0
  233. package/dist/esm/api/types/ShipperPayCourierRateSheet1.mjs +4 -0
  234. package/dist/esm/api/types/StripeConnectAccountEvent.d.mts +11 -0
  235. package/dist/esm/api/types/StripeConnectAccountEvent.mjs +4 -0
  236. package/dist/esm/api/types/StripeConnectAccountEventEnum.d.mts +8 -0
  237. package/dist/esm/api/types/StripeConnectAccountEventEnum.mjs +7 -0
  238. package/dist/esm/api/types/Task1.d.mts +0 -2
  239. package/dist/esm/api/types/TaskGroup1.d.mts +0 -4
  240. package/dist/esm/api/types/UserPublicData6.d.mts +0 -1
  241. package/dist/esm/api/types/index.d.mts +17 -10
  242. package/dist/esm/api/types/index.mjs +17 -10
  243. package/dist/esm/version.d.mts +1 -1
  244. package/dist/esm/version.mjs +1 -1
  245. package/package.json +1 -1
  246. package/reference.md +1221 -106
  247. package/dist/cjs/api/resources/offChrtShipperOrgConnectionInfo/client/requests/index.d.ts +0 -2
  248. package/dist/cjs/api/resources/payments/client/requests/CreateConnectAccountLinkReq.d.ts +0 -12
  249. package/dist/cjs/api/resources/payments/client/requests/CreateDirectChargeReq.d.ts +0 -17
  250. package/dist/cjs/api/types/CourierPayDriverLineItemGroupClientCreate1.d.ts +0 -10
  251. package/dist/cjs/api/types/CreateDirectChargeRes.d.ts +0 -8
  252. package/dist/cjs/api/types/Incident1.d.ts +0 -7
  253. package/dist/cjs/api/types/IncidentEnum1.d.ts +0 -12
  254. package/dist/cjs/api/types/IncidentEnum1.js +0 -14
  255. package/dist/cjs/api/types/Insurance1.d.ts +0 -7
  256. package/dist/cjs/api/types/PayablesInvoice1.d.ts +0 -34
  257. package/dist/cjs/api/types/PayablesInvoice1.js +0 -18
  258. package/dist/cjs/api/types/ReceivablesInvoice1.d.ts +0 -34
  259. package/dist/cjs/api/types/ReceivablesInvoice1.js +0 -18
  260. package/dist/cjs/api/types/ShipperCourierConnection1.d.ts +0 -13
  261. package/dist/cjs/api/types/StripeConnectInvoice1.d.ts +0 -32
  262. package/dist/cjs/api/types/StripeConnectInvoice1.js +0 -18
  263. package/dist/esm/api/resources/offChrtShipperOrgConnectionInfo/client/requests/index.d.mts +0 -2
  264. package/dist/esm/api/resources/payments/client/requests/CreateConnectAccountLinkReq.d.mts +0 -12
  265. package/dist/esm/api/resources/payments/client/requests/CreateDirectChargeReq.d.mts +0 -17
  266. package/dist/esm/api/types/CourierPayDriverLineItemGroupClientCreate1.d.mts +0 -10
  267. package/dist/esm/api/types/CreateDirectChargeRes.d.mts +0 -8
  268. package/dist/esm/api/types/Incident1.d.mts +0 -7
  269. package/dist/esm/api/types/IncidentEnum1.d.mts +0 -12
  270. package/dist/esm/api/types/IncidentEnum1.mjs +0 -11
  271. package/dist/esm/api/types/Insurance1.d.mts +0 -7
  272. package/dist/esm/api/types/PayablesInvoice1.d.mts +0 -34
  273. package/dist/esm/api/types/PayablesInvoice1.mjs +0 -15
  274. package/dist/esm/api/types/ReceivablesInvoice1.d.mts +0 -34
  275. package/dist/esm/api/types/ReceivablesInvoice1.mjs +0 -15
  276. package/dist/esm/api/types/ShipperCourierConnection1.d.mts +0 -13
  277. package/dist/esm/api/types/StripeConnectInvoice1.d.mts +0 -32
  278. package/dist/esm/api/types/StripeConnectInvoice1.mjs +0 -15
  279. /package/dist/cjs/api/resources/{offChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientCreate1.js → courierPayDriverPayouts/client/requests/CourierPayDriverPayoutClientUpdate1.js} +0 -0
  280. /package/dist/cjs/api/resources/{offChrtShipperOrgConnectionInfo → offChrtShipperOrgInfo}/client/index.d.ts +0 -0
  281. /package/dist/cjs/api/resources/{offChrtShipperOrgConnectionInfo → offChrtShipperOrgInfo}/client/index.js +0 -0
  282. /package/dist/cjs/api/resources/{offChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientUpdate1.js → offChrtShipperOrgInfo/client/requests/OffChrtShipperOrgInfoClientCreate1.js} +0 -0
  283. /package/dist/cjs/api/resources/{payments/client/requests/CreateConnectAccountLinkReq.js → offChrtShipperOrgInfo/client/requests/OffChrtShipperOrgInfoClientUpdate1.js} +0 -0
  284. /package/dist/cjs/api/resources/{offChrtShipperOrgConnectionInfo → offChrtShipperOrgInfo}/client/requests/index.js +0 -0
  285. /package/dist/cjs/api/resources/{offChrtShipperOrgConnectionInfo → offChrtShipperOrgInfo}/index.d.ts +0 -0
  286. /package/dist/cjs/api/resources/{offChrtShipperOrgConnectionInfo → offChrtShipperOrgInfo}/index.js +0 -0
  287. /package/dist/cjs/api/resources/payments/client/requests/{CreateDirectChargeReq.js → GenerateInvoiceReq.js} +0 -0
  288. /package/dist/cjs/api/{types/CourierPayDriverLineItemGroupClientCreate1.js → resources/shipperPayCourierLineItemGroup/client/requests/ShipperPayCourierLineItemGroupCreateReq.js} +0 -0
  289. /package/dist/cjs/api/{types/CreateDirectChargeRes.js → resources/shipperPayCourierLineItemGroup/client/requests/ShipperPayCourierLineItemGroupPreviewReq.js} +0 -0
  290. /package/dist/cjs/api/{types/Incident1.js → resources/shipperPayCourierLineItemGroup/resources/addLineItems/client/requests/ShipperPayCourierLineItemGroupAddLineItemsReq.js} +0 -0
  291. /package/dist/cjs/api/{types/Insurance1.js → resources/shipperPayCourierLineItemGroup/resources/removeLineItems/client/requests/ShipperPayCourierLineItemGroupRemoveLineItemsReq.js} +0 -0
  292. /package/dist/{esm/api/resources/offChrtShipperOrgConnectionInfo/client/requests/index.mjs → cjs/api/resources/shipperPayCourierPayments/client/index.d.ts} +0 -0
  293. /package/dist/cjs/api/{types/OffChrtShipperOrgConnectionInfo1.js → resources/shipperPayCourierRateSheets/client/requests/ShipperPayCourierRateSheetClientCreate1.js} +0 -0
  294. /package/dist/cjs/api/{types/ShipperCourierConnection1.js → resources/shipperPayCourierRateSheets/client/requests/ShipperPayCourierRateSheetClientUpdate1.js} +0 -0
  295. /package/dist/esm/api/resources/{offChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientCreate1.mjs → courierPayDriverPayouts/client/requests/CourierPayDriverPayoutClientUpdate1.mjs} +0 -0
  296. /package/dist/esm/api/resources/{offChrtShipperOrgConnectionInfo → offChrtShipperOrgInfo}/client/index.d.mts +0 -0
  297. /package/dist/esm/api/resources/{offChrtShipperOrgConnectionInfo → offChrtShipperOrgInfo}/client/index.mjs +0 -0
  298. /package/dist/esm/api/resources/{offChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientUpdate1.mjs → offChrtShipperOrgInfo/client/requests/OffChrtShipperOrgInfoClientCreate1.mjs} +0 -0
  299. /package/dist/esm/api/resources/{payments/client/requests/CreateConnectAccountLinkReq.mjs → offChrtShipperOrgInfo/client/requests/OffChrtShipperOrgInfoClientUpdate1.mjs} +0 -0
  300. /package/dist/esm/api/resources/{offChrtShipperOrgConnectionInfo → offChrtShipperOrgInfo}/index.d.mts +0 -0
  301. /package/dist/esm/api/resources/{offChrtShipperOrgConnectionInfo → offChrtShipperOrgInfo}/index.mjs +0 -0
  302. /package/dist/esm/api/resources/payments/client/requests/{CreateDirectChargeReq.mjs → GenerateInvoiceReq.mjs} +0 -0
  303. /package/dist/esm/api/{types/CourierPayDriverLineItemGroupClientCreate1.mjs → resources/shipperPayCourierLineItemGroup/client/requests/ShipperPayCourierLineItemGroupCreateReq.mjs} +0 -0
  304. /package/dist/esm/api/{types/CreateDirectChargeRes.mjs → resources/shipperPayCourierLineItemGroup/client/requests/ShipperPayCourierLineItemGroupPreviewReq.mjs} +0 -0
  305. /package/dist/esm/api/{types/Incident1.mjs → resources/shipperPayCourierLineItemGroup/resources/addLineItems/client/requests/ShipperPayCourierLineItemGroupAddLineItemsReq.mjs} +0 -0
  306. /package/dist/esm/api/{types/Insurance1.mjs → resources/shipperPayCourierLineItemGroup/resources/removeLineItems/client/requests/ShipperPayCourierLineItemGroupRemoveLineItemsReq.mjs} +0 -0
  307. /package/dist/esm/api/{types/OffChrtShipperOrgConnectionInfo1.mjs → resources/shipperPayCourierRateSheets/client/requests/ShipperPayCourierRateSheetClientCreate1.mjs} +0 -0
  308. /package/dist/esm/api/{types/ShipperCourierConnection1.mjs → resources/shipperPayCourierRateSheets/client/requests/ShipperPayCourierRateSheetClientUpdate1.mjs} +0 -0
@@ -6,11 +6,14 @@ import * as core from "./core/index.js";
6
6
  import { Dev } from "./api/resources/dev/client/Client.js";
7
7
  import { Drivers } from "./api/resources/drivers/client/Client.js";
8
8
  import { Milestones } from "./api/resources/milestones/client/Client.js";
9
- import { OffChrtShipperOrgConnectionInfo } from "./api/resources/offChrtShipperOrgConnectionInfo/client/Client.js";
9
+ import { OffChrtShipperOrgInfo } from "./api/resources/offChrtShipperOrgInfo/client/Client.js";
10
10
  import { OrgProfiles } from "./api/resources/orgProfiles/client/Client.js";
11
11
  import { Orders } from "./api/resources/orders/client/Client.js";
12
12
  import { CourierPayDriverRateSheets } from "./api/resources/courierPayDriverRateSheets/client/Client.js";
13
+ import { ShipperPayCourierRateSheets } from "./api/resources/shipperPayCourierRateSheets/client/Client.js";
13
14
  import { CourierPayDriverLineItemGroup } from "./api/resources/courierPayDriverLineItemGroup/client/Client.js";
15
+ import { ShipperPayCourierLineItemGroup } from "./api/resources/shipperPayCourierLineItemGroup/client/Client.js";
16
+ import { ShipperPayCourierPayments } from "./api/resources/shipperPayCourierPayments/client/Client.js";
14
17
  import { CourierPayDriverPayouts } from "./api/resources/courierPayDriverPayouts/client/Client.js";
15
18
  import { Connections } from "./api/resources/connections/client/Client.js";
16
19
  import { TaskGroups } from "./api/resources/taskGroups/client/Client.js";
@@ -48,11 +51,14 @@ export declare class ChrtClient {
48
51
  protected _dev: Dev | undefined;
49
52
  protected _drivers: Drivers | undefined;
50
53
  protected _milestones: Milestones | undefined;
51
- protected _offChrtShipperOrgConnectionInfo: OffChrtShipperOrgConnectionInfo | undefined;
54
+ protected _offChrtShipperOrgInfo: OffChrtShipperOrgInfo | undefined;
52
55
  protected _orgProfiles: OrgProfiles | undefined;
53
56
  protected _orders: Orders | undefined;
54
57
  protected _courierPayDriverRateSheets: CourierPayDriverRateSheets | undefined;
58
+ protected _shipperPayCourierRateSheets: ShipperPayCourierRateSheets | undefined;
55
59
  protected _courierPayDriverLineItemGroup: CourierPayDriverLineItemGroup | undefined;
60
+ protected _shipperPayCourierLineItemGroup: ShipperPayCourierLineItemGroup | undefined;
61
+ protected _shipperPayCourierPayments: ShipperPayCourierPayments | undefined;
56
62
  protected _courierPayDriverPayouts: CourierPayDriverPayouts | undefined;
57
63
  protected _connections: Connections | undefined;
58
64
  protected _taskGroups: TaskGroups | undefined;
@@ -68,11 +74,14 @@ export declare class ChrtClient {
68
74
  get dev(): Dev;
69
75
  get drivers(): Drivers;
70
76
  get milestones(): Milestones;
71
- get offChrtShipperOrgConnectionInfo(): OffChrtShipperOrgConnectionInfo;
77
+ get offChrtShipperOrgInfo(): OffChrtShipperOrgInfo;
72
78
  get orgProfiles(): OrgProfiles;
73
79
  get orders(): Orders;
74
80
  get courierPayDriverRateSheets(): CourierPayDriverRateSheets;
81
+ get shipperPayCourierRateSheets(): ShipperPayCourierRateSheets;
75
82
  get courierPayDriverLineItemGroup(): CourierPayDriverLineItemGroup;
83
+ get shipperPayCourierLineItemGroup(): ShipperPayCourierLineItemGroup;
84
+ get shipperPayCourierPayments(): ShipperPayCourierPayments;
76
85
  get courierPayDriverPayouts(): CourierPayDriverPayouts;
77
86
  get connections(): Connections;
78
87
  get taskGroups(): TaskGroups;
@@ -42,29 +42,32 @@ const headers_js_1 = require("./core/headers.js");
42
42
  const Client_js_1 = require("./api/resources/dev/client/Client.js");
43
43
  const Client_js_2 = require("./api/resources/drivers/client/Client.js");
44
44
  const Client_js_3 = require("./api/resources/milestones/client/Client.js");
45
- const Client_js_4 = require("./api/resources/offChrtShipperOrgConnectionInfo/client/Client.js");
45
+ const Client_js_4 = require("./api/resources/offChrtShipperOrgInfo/client/Client.js");
46
46
  const Client_js_5 = require("./api/resources/orgProfiles/client/Client.js");
47
47
  const Client_js_6 = require("./api/resources/orders/client/Client.js");
48
48
  const Client_js_7 = require("./api/resources/courierPayDriverRateSheets/client/Client.js");
49
- const Client_js_8 = require("./api/resources/courierPayDriverLineItemGroup/client/Client.js");
50
- const Client_js_9 = require("./api/resources/courierPayDriverPayouts/client/Client.js");
51
- const Client_js_10 = require("./api/resources/connections/client/Client.js");
52
- const Client_js_11 = require("./api/resources/taskGroups/client/Client.js");
53
- const Client_js_12 = require("./api/resources/shipperContactInfo/client/Client.js");
54
- const Client_js_13 = require("./api/resources/milestoneNotifications/client/Client.js");
55
- const Client_js_14 = require("./api/resources/orgs/client/Client.js");
56
- const Client_js_15 = require("./api/resources/payments/client/Client.js");
57
- const Client_js_16 = require("./api/resources/root/client/Client.js");
58
- const Client_js_17 = require("./api/resources/users/client/Client.js");
59
- const Client_js_18 = require("./api/resources/notifications/client/Client.js");
60
- const Client_js_19 = require("./api/resources/orgConnectionInfos/client/Client.js");
49
+ const Client_js_8 = require("./api/resources/shipperPayCourierRateSheets/client/Client.js");
50
+ const Client_js_9 = require("./api/resources/courierPayDriverLineItemGroup/client/Client.js");
51
+ const Client_js_10 = require("./api/resources/shipperPayCourierLineItemGroup/client/Client.js");
52
+ const Client_js_11 = require("./api/resources/shipperPayCourierPayments/client/Client.js");
53
+ const Client_js_12 = require("./api/resources/courierPayDriverPayouts/client/Client.js");
54
+ const Client_js_13 = require("./api/resources/connections/client/Client.js");
55
+ const Client_js_14 = require("./api/resources/taskGroups/client/Client.js");
56
+ const Client_js_15 = require("./api/resources/shipperContactInfo/client/Client.js");
57
+ const Client_js_16 = require("./api/resources/milestoneNotifications/client/Client.js");
58
+ const Client_js_17 = require("./api/resources/orgs/client/Client.js");
59
+ const Client_js_18 = require("./api/resources/payments/client/Client.js");
60
+ const Client_js_19 = require("./api/resources/root/client/Client.js");
61
+ const Client_js_20 = require("./api/resources/users/client/Client.js");
62
+ const Client_js_21 = require("./api/resources/notifications/client/Client.js");
63
+ const Client_js_22 = require("./api/resources/orgConnectionInfos/client/Client.js");
61
64
  class ChrtClient {
62
65
  constructor(_options = {}) {
63
66
  this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_js_1.mergeHeaders)({
64
67
  "X-Fern-Language": "JavaScript",
65
68
  "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk",
66
- "X-Fern-SDK-Version": "0.0.189",
67
- "User-Agent": "@chrt-inc/typescript-sdk/0.0.189",
69
+ "X-Fern-SDK-Version": "0.0.195",
70
+ "User-Agent": "@chrt-inc/typescript-sdk/0.0.195",
68
71
  "X-Fern-Runtime": core.RUNTIME.type,
69
72
  "X-Fern-Runtime-Version": core.RUNTIME.version,
70
73
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -81,9 +84,9 @@ class ChrtClient {
81
84
  var _a;
82
85
  return ((_a = this._milestones) !== null && _a !== void 0 ? _a : (this._milestones = new Client_js_3.Milestones(this._options)));
83
86
  }
84
- get offChrtShipperOrgConnectionInfo() {
87
+ get offChrtShipperOrgInfo() {
85
88
  var _a;
86
- return ((_a = this._offChrtShipperOrgConnectionInfo) !== null && _a !== void 0 ? _a : (this._offChrtShipperOrgConnectionInfo = new Client_js_4.OffChrtShipperOrgConnectionInfo(this._options)));
89
+ return ((_a = this._offChrtShipperOrgInfo) !== null && _a !== void 0 ? _a : (this._offChrtShipperOrgInfo = new Client_js_4.OffChrtShipperOrgInfo(this._options)));
87
90
  }
88
91
  get orgProfiles() {
89
92
  var _a;
@@ -97,53 +100,65 @@ class ChrtClient {
97
100
  var _a;
98
101
  return ((_a = this._courierPayDriverRateSheets) !== null && _a !== void 0 ? _a : (this._courierPayDriverRateSheets = new Client_js_7.CourierPayDriverRateSheets(this._options)));
99
102
  }
103
+ get shipperPayCourierRateSheets() {
104
+ var _a;
105
+ return ((_a = this._shipperPayCourierRateSheets) !== null && _a !== void 0 ? _a : (this._shipperPayCourierRateSheets = new Client_js_8.ShipperPayCourierRateSheets(this._options)));
106
+ }
100
107
  get courierPayDriverLineItemGroup() {
101
108
  var _a;
102
- return ((_a = this._courierPayDriverLineItemGroup) !== null && _a !== void 0 ? _a : (this._courierPayDriverLineItemGroup = new Client_js_8.CourierPayDriverLineItemGroup(this._options)));
109
+ return ((_a = this._courierPayDriverLineItemGroup) !== null && _a !== void 0 ? _a : (this._courierPayDriverLineItemGroup = new Client_js_9.CourierPayDriverLineItemGroup(this._options)));
110
+ }
111
+ get shipperPayCourierLineItemGroup() {
112
+ var _a;
113
+ return ((_a = this._shipperPayCourierLineItemGroup) !== null && _a !== void 0 ? _a : (this._shipperPayCourierLineItemGroup = new Client_js_10.ShipperPayCourierLineItemGroup(this._options)));
114
+ }
115
+ get shipperPayCourierPayments() {
116
+ var _a;
117
+ return ((_a = this._shipperPayCourierPayments) !== null && _a !== void 0 ? _a : (this._shipperPayCourierPayments = new Client_js_11.ShipperPayCourierPayments(this._options)));
103
118
  }
104
119
  get courierPayDriverPayouts() {
105
120
  var _a;
106
- return ((_a = this._courierPayDriverPayouts) !== null && _a !== void 0 ? _a : (this._courierPayDriverPayouts = new Client_js_9.CourierPayDriverPayouts(this._options)));
121
+ return ((_a = this._courierPayDriverPayouts) !== null && _a !== void 0 ? _a : (this._courierPayDriverPayouts = new Client_js_12.CourierPayDriverPayouts(this._options)));
107
122
  }
108
123
  get connections() {
109
124
  var _a;
110
- return ((_a = this._connections) !== null && _a !== void 0 ? _a : (this._connections = new Client_js_10.Connections(this._options)));
125
+ return ((_a = this._connections) !== null && _a !== void 0 ? _a : (this._connections = new Client_js_13.Connections(this._options)));
111
126
  }
112
127
  get taskGroups() {
113
128
  var _a;
114
- return ((_a = this._taskGroups) !== null && _a !== void 0 ? _a : (this._taskGroups = new Client_js_11.TaskGroups(this._options)));
129
+ return ((_a = this._taskGroups) !== null && _a !== void 0 ? _a : (this._taskGroups = new Client_js_14.TaskGroups(this._options)));
115
130
  }
116
131
  get shipperContactInfo() {
117
132
  var _a;
118
- return ((_a = this._shipperContactInfo) !== null && _a !== void 0 ? _a : (this._shipperContactInfo = new Client_js_12.ShipperContactInfo(this._options)));
133
+ return ((_a = this._shipperContactInfo) !== null && _a !== void 0 ? _a : (this._shipperContactInfo = new Client_js_15.ShipperContactInfo(this._options)));
119
134
  }
120
135
  get milestoneNotifications() {
121
136
  var _a;
122
- return ((_a = this._milestoneNotifications) !== null && _a !== void 0 ? _a : (this._milestoneNotifications = new Client_js_13.MilestoneNotifications(this._options)));
137
+ return ((_a = this._milestoneNotifications) !== null && _a !== void 0 ? _a : (this._milestoneNotifications = new Client_js_16.MilestoneNotifications(this._options)));
123
138
  }
124
139
  get orgs() {
125
140
  var _a;
126
- return ((_a = this._orgs) !== null && _a !== void 0 ? _a : (this._orgs = new Client_js_14.Orgs(this._options)));
141
+ return ((_a = this._orgs) !== null && _a !== void 0 ? _a : (this._orgs = new Client_js_17.Orgs(this._options)));
127
142
  }
128
143
  get payments() {
129
144
  var _a;
130
- return ((_a = this._payments) !== null && _a !== void 0 ? _a : (this._payments = new Client_js_15.Payments(this._options)));
145
+ return ((_a = this._payments) !== null && _a !== void 0 ? _a : (this._payments = new Client_js_18.Payments(this._options)));
131
146
  }
132
147
  get root() {
133
148
  var _a;
134
- return ((_a = this._root) !== null && _a !== void 0 ? _a : (this._root = new Client_js_16.Root(this._options)));
149
+ return ((_a = this._root) !== null && _a !== void 0 ? _a : (this._root = new Client_js_19.Root(this._options)));
135
150
  }
136
151
  get users() {
137
152
  var _a;
138
- return ((_a = this._users) !== null && _a !== void 0 ? _a : (this._users = new Client_js_17.Users(this._options)));
153
+ return ((_a = this._users) !== null && _a !== void 0 ? _a : (this._users = new Client_js_20.Users(this._options)));
139
154
  }
140
155
  get notifications() {
141
156
  var _a;
142
- return ((_a = this._notifications) !== null && _a !== void 0 ? _a : (this._notifications = new Client_js_18.Notifications(this._options)));
157
+ return ((_a = this._notifications) !== null && _a !== void 0 ? _a : (this._notifications = new Client_js_21.Notifications(this._options)));
143
158
  }
144
159
  get orgConnectionInfos() {
145
160
  var _a;
146
- return ((_a = this._orgConnectionInfos) !== null && _a !== void 0 ? _a : (this._orgConnectionInfos = new Client_js_19.OrgConnectionInfos(this._options)));
161
+ return ((_a = this._orgConnectionInfos) !== null && _a !== void 0 ? _a : (this._orgConnectionInfos = new Client_js_22.OrgConnectionInfos(this._options)));
147
162
  }
148
163
  }
149
164
  exports.ChrtClient = ChrtClient;
@@ -49,7 +49,7 @@ export declare class CourierPayDriverLineItemGroup {
49
49
  * driver_id: "driver_id"
50
50
  * })
51
51
  */
52
- preview(request: Chrt.CourierPayDriverLineItemGroupPreviewReq, requestOptions?: CourierPayDriverLineItemGroup.RequestOptions): core.HttpResponsePromise<Chrt.CourierPayDriverLineItemGroupClientCreate1>;
52
+ preview(request: Chrt.CourierPayDriverLineItemGroupPreviewReq, requestOptions?: CourierPayDriverLineItemGroup.RequestOptions): core.HttpResponsePromise<Chrt.CourierPayDriverLineItemGroupPreviewRes>;
53
53
  private __preview;
54
54
  /**
55
55
  * Retrieves a courier driver line item group by its ID.
@@ -40,7 +40,7 @@ export declare class AddLineItems {
40
40
  * @example
41
41
  * await client.courierPayDriverLineItemGroup.addLineItems.byId("id", {
42
42
  * line_items: [{
43
- * created_at: "2024-01-15T09:30:00Z",
43
+ * schema_version: 1,
44
44
  * item: "base_rate",
45
45
  * quantity: 1.1,
46
46
  * rate: 1.1
@@ -67,7 +67,7 @@ class AddLineItems {
67
67
  * @example
68
68
  * await client.courierPayDriverLineItemGroup.addLineItems.byId("id", {
69
69
  * line_items: [{
70
- * created_at: "2024-01-15T09:30:00Z",
70
+ * schema_version: 1,
71
71
  * item: "base_rate",
72
72
  * quantity: 1.1,
73
73
  * rate: 1.1
@@ -6,7 +6,7 @@ import * as Chrt from "../../../../../../index.js";
6
6
  * @example
7
7
  * {
8
8
  * line_items: [{
9
- * created_at: "2024-01-15T09:30:00Z",
9
+ * schema_version: 1,
10
10
  * item: "base_rate",
11
11
  * quantity: 1.1,
12
12
  * rate: 1.1
@@ -15,5 +15,5 @@ import * as Chrt from "../../../../../../index.js";
15
15
  */
16
16
  export interface CourierPayDriverLineItemGroupAddLineItemsReq {
17
17
  /** Line items to add to the group */
18
- line_items: Chrt.LineItem1[];
18
+ line_items: Chrt.LineItemClientCreate1[];
19
19
  }
@@ -39,12 +39,7 @@ export declare class RemoveLineItems {
39
39
  *
40
40
  * @example
41
41
  * await client.courierPayDriverLineItemGroup.removeLineItems.byId("id", {
42
- * line_items: [{
43
- * created_at: "2024-01-15T09:30:00Z",
44
- * item: "base_rate",
45
- * quantity: 1.1,
46
- * rate: 1.1
47
- * }]
42
+ * line_item_uuid_strs: ["line_item_uuid_strs"]
48
43
  * })
49
44
  */
50
45
  byId(id: string, request: Chrt.courierPayDriverLineItemGroup.CourierPayDriverLineItemGroupRemoveLineItemsReq, requestOptions?: RemoveLineItems.RequestOptions): core.HttpResponsePromise<Chrt.CourierPayDriverLineItemGroup1>;
@@ -66,12 +66,7 @@ class RemoveLineItems {
66
66
  *
67
67
  * @example
68
68
  * await client.courierPayDriverLineItemGroup.removeLineItems.byId("id", {
69
- * line_items: [{
70
- * created_at: "2024-01-15T09:30:00Z",
71
- * item: "base_rate",
72
- * quantity: 1.1,
73
- * rate: 1.1
74
- * }]
69
+ * line_item_uuid_strs: ["line_item_uuid_strs"]
75
70
  * })
76
71
  */
77
72
  byId(id, request, requestOptions) {
@@ -1,19 +1,12 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as Chrt from "../../../../../../index.js";
5
4
  /**
6
5
  * @example
7
6
  * {
8
- * line_items: [{
9
- * created_at: "2024-01-15T09:30:00Z",
10
- * item: "base_rate",
11
- * quantity: 1.1,
12
- * rate: 1.1
13
- * }]
7
+ * line_item_uuid_strs: ["line_item_uuid_strs"]
14
8
  * }
15
9
  */
16
10
  export interface CourierPayDriverLineItemGroupRemoveLineItemsReq {
17
- /** Exact line items to remove (must match exactly) */
18
- line_items: Chrt.LineItem1[];
11
+ line_item_uuid_strs: string[];
19
12
  }
@@ -65,10 +65,24 @@ export declare class CourierPayDriverPayouts {
65
65
  * @example
66
66
  * await client.courierPayDriverPayouts.create({
67
67
  * schema_version: 1,
68
- * line_item_group_ids: ["line_item_group_ids"]
68
+ * courier_pay_driver_line_item_group_ids: ["courier_pay_driver_line_item_group_ids"]
69
69
  * })
70
70
  */
71
71
  create(request: Chrt.CourierPayDriverPayoutClientCreate1, requestOptions?: CourierPayDriverPayouts.RequestOptions): core.HttpResponsePromise<string>;
72
72
  private __create;
73
+ /**
74
+ * Updates the status of a courier driver payout with proper validation.
75
+ *
76
+ * @param {string} id
77
+ * @param {Chrt.CourierPayDriverPayoutClientUpdate1} request
78
+ * @param {CourierPayDriverPayouts.RequestOptions} requestOptions - Request-specific configuration.
79
+ *
80
+ * @throws {@link Chrt.UnprocessableEntityError}
81
+ *
82
+ * @example
83
+ * await client.courierPayDriverPayouts.updateStatus("id")
84
+ */
85
+ updateStatus(id: string, request?: Chrt.CourierPayDriverPayoutClientUpdate1, requestOptions?: CourierPayDriverPayouts.RequestOptions): core.HttpResponsePromise<Chrt.CourierPayDriverPayout1>;
86
+ private __updateStatus;
73
87
  protected _getAuthorizationHeader(): Promise<string | undefined>;
74
88
  }
@@ -180,7 +180,7 @@ class CourierPayDriverPayouts {
180
180
  * @example
181
181
  * await client.courierPayDriverPayouts.create({
182
182
  * schema_version: 1,
183
- * line_item_group_ids: ["line_item_group_ids"]
183
+ * courier_pay_driver_line_item_group_ids: ["courier_pay_driver_line_item_group_ids"]
184
184
  * })
185
185
  */
186
186
  create(request, requestOptions) {
@@ -232,6 +232,67 @@ class CourierPayDriverPayouts {
232
232
  }
233
233
  });
234
234
  }
235
+ /**
236
+ * Updates the status of a courier driver payout with proper validation.
237
+ *
238
+ * @param {string} id
239
+ * @param {Chrt.CourierPayDriverPayoutClientUpdate1} request
240
+ * @param {CourierPayDriverPayouts.RequestOptions} requestOptions - Request-specific configuration.
241
+ *
242
+ * @throws {@link Chrt.UnprocessableEntityError}
243
+ *
244
+ * @example
245
+ * await client.courierPayDriverPayouts.updateStatus("id")
246
+ */
247
+ updateStatus(id, request = {}, requestOptions) {
248
+ return core.HttpResponsePromise.fromPromise(this.__updateStatus(id, request, requestOptions));
249
+ }
250
+ __updateStatus(id_1) {
251
+ return __awaiter(this, arguments, void 0, function* (id, request = {}, requestOptions) {
252
+ var _a, _b, _c, _d;
253
+ const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
254
+ url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, `oort/courier_pay_driver_payouts/${encodeURIComponent(id)}/status`),
255
+ method: "PATCH",
256
+ headers: (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
257
+ contentType: "application/json",
258
+ requestType: "json",
259
+ body: request,
260
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
261
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
262
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
263
+ });
264
+ if (_response.ok) {
265
+ return { data: _response.body, rawResponse: _response.rawResponse };
266
+ }
267
+ if (_response.error.reason === "status-code") {
268
+ switch (_response.error.statusCode) {
269
+ case 422:
270
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
271
+ default:
272
+ throw new errors.ChrtError({
273
+ statusCode: _response.error.statusCode,
274
+ body: _response.error.body,
275
+ rawResponse: _response.rawResponse,
276
+ });
277
+ }
278
+ }
279
+ switch (_response.error.reason) {
280
+ case "non-json":
281
+ throw new errors.ChrtError({
282
+ statusCode: _response.error.statusCode,
283
+ body: _response.error.rawBody,
284
+ rawResponse: _response.rawResponse,
285
+ });
286
+ case "timeout":
287
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /oort/courier_pay_driver_payouts/{id}/status.");
288
+ case "unknown":
289
+ throw new errors.ChrtError({
290
+ message: _response.error.errorMessage,
291
+ rawResponse: _response.rawResponse,
292
+ });
293
+ }
294
+ });
295
+ }
235
296
  _getAuthorizationHeader() {
236
297
  return __awaiter(this, void 0, void 0, function* () {
237
298
  const bearer = yield core.Supplier.get(this._options.token);
@@ -5,10 +5,10 @@
5
5
  * @example
6
6
  * {
7
7
  * schema_version: 1,
8
- * line_item_group_ids: ["line_item_group_ids"]
8
+ * courier_pay_driver_line_item_group_ids: ["courier_pay_driver_line_item_group_ids"]
9
9
  * }
10
10
  */
11
11
  export interface CourierPayDriverPayoutClientCreate1 {
12
12
  schema_version: number;
13
- line_item_group_ids: string[];
13
+ courier_pay_driver_line_item_group_ids: string[];
14
14
  }
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../../../../index.js";
5
+ /**
6
+ * @example
7
+ * {}
8
+ */
9
+ export interface CourierPayDriverPayoutClientUpdate1 {
10
+ payout_status?: Chrt.PayoutStatusEnum | null;
11
+ payout_completed_at?: string | null;
12
+ /** Must be a string starting with `user_` */
13
+ payout_completed_by_user_id?: string | null;
14
+ }
@@ -1 +1,2 @@
1
1
  export { type CourierPayDriverPayoutClientCreate1 } from "./CourierPayDriverPayoutClientCreate1.js";
2
+ export { type CourierPayDriverPayoutClientUpdate1 } from "./CourierPayDriverPayoutClientUpdate1.js";
@@ -1,11 +1,14 @@
1
1
  export * as dev from "./dev/index.js";
2
2
  export * as drivers from "./drivers/index.js";
3
3
  export * as milestones from "./milestones/index.js";
4
- export * as offChrtShipperOrgConnectionInfo from "./offChrtShipperOrgConnectionInfo/index.js";
4
+ export * as offChrtShipperOrgInfo from "./offChrtShipperOrgInfo/index.js";
5
5
  export * as orgProfiles from "./orgProfiles/index.js";
6
6
  export * as orders from "./orders/index.js";
7
7
  export * as courierPayDriverRateSheets from "./courierPayDriverRateSheets/index.js";
8
+ export * as shipperPayCourierRateSheets from "./shipperPayCourierRateSheets/index.js";
8
9
  export * as courierPayDriverLineItemGroup from "./courierPayDriverLineItemGroup/index.js";
10
+ export * as shipperPayCourierLineItemGroup from "./shipperPayCourierLineItemGroup/index.js";
11
+ export * as shipperPayCourierPayments from "./shipperPayCourierPayments/index.js";
9
12
  export * as courierPayDriverPayouts from "./courierPayDriverPayouts/index.js";
10
13
  export * as connections from "./connections/index.js";
11
14
  export * as taskGroups from "./taskGroups/index.js";
@@ -20,11 +23,13 @@ export * as orgConnectionInfos from "./orgConnectionInfos/index.js";
20
23
  export * from "./dev/client/requests/index.js";
21
24
  export * from "./drivers/client/requests/index.js";
22
25
  export * from "./milestones/client/requests/index.js";
23
- export * from "./offChrtShipperOrgConnectionInfo/client/requests/index.js";
26
+ export * from "./offChrtShipperOrgInfo/client/requests/index.js";
24
27
  export * from "./orgProfiles/client/requests/index.js";
25
28
  export * from "./orders/client/requests/index.js";
26
29
  export * from "./courierPayDriverRateSheets/client/requests/index.js";
30
+ export * from "./shipperPayCourierRateSheets/client/requests/index.js";
27
31
  export * from "./courierPayDriverLineItemGroup/client/requests/index.js";
32
+ export * from "./shipperPayCourierLineItemGroup/client/requests/index.js";
28
33
  export * from "./courierPayDriverPayouts/client/requests/index.js";
29
34
  export * from "./taskGroups/client/requests/index.js";
30
35
  export * from "./shipperContactInfo/client/requests/index.js";
@@ -36,15 +36,18 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
36
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.orgConnectionInfos = exports.notifications = exports.users = exports.root = exports.payments = exports.orgs = exports.milestoneNotifications = exports.shipperContactInfo = exports.taskGroups = exports.connections = exports.courierPayDriverPayouts = exports.courierPayDriverLineItemGroup = exports.courierPayDriverRateSheets = exports.orders = exports.orgProfiles = exports.offChrtShipperOrgConnectionInfo = exports.milestones = exports.drivers = exports.dev = void 0;
39
+ exports.orgConnectionInfos = exports.notifications = exports.users = exports.root = exports.payments = exports.orgs = exports.milestoneNotifications = exports.shipperContactInfo = exports.taskGroups = exports.connections = exports.courierPayDriverPayouts = exports.shipperPayCourierPayments = exports.shipperPayCourierLineItemGroup = exports.courierPayDriverLineItemGroup = exports.shipperPayCourierRateSheets = exports.courierPayDriverRateSheets = exports.orders = exports.orgProfiles = exports.offChrtShipperOrgInfo = exports.milestones = exports.drivers = exports.dev = void 0;
40
40
  exports.dev = __importStar(require("./dev/index.js"));
41
41
  exports.drivers = __importStar(require("./drivers/index.js"));
42
42
  exports.milestones = __importStar(require("./milestones/index.js"));
43
- exports.offChrtShipperOrgConnectionInfo = __importStar(require("./offChrtShipperOrgConnectionInfo/index.js"));
43
+ exports.offChrtShipperOrgInfo = __importStar(require("./offChrtShipperOrgInfo/index.js"));
44
44
  exports.orgProfiles = __importStar(require("./orgProfiles/index.js"));
45
45
  exports.orders = __importStar(require("./orders/index.js"));
46
46
  exports.courierPayDriverRateSheets = __importStar(require("./courierPayDriverRateSheets/index.js"));
47
+ exports.shipperPayCourierRateSheets = __importStar(require("./shipperPayCourierRateSheets/index.js"));
47
48
  exports.courierPayDriverLineItemGroup = __importStar(require("./courierPayDriverLineItemGroup/index.js"));
49
+ exports.shipperPayCourierLineItemGroup = __importStar(require("./shipperPayCourierLineItemGroup/index.js"));
50
+ exports.shipperPayCourierPayments = __importStar(require("./shipperPayCourierPayments/index.js"));
48
51
  exports.courierPayDriverPayouts = __importStar(require("./courierPayDriverPayouts/index.js"));
49
52
  exports.connections = __importStar(require("./connections/index.js"));
50
53
  exports.taskGroups = __importStar(require("./taskGroups/index.js"));
@@ -59,11 +62,13 @@ exports.orgConnectionInfos = __importStar(require("./orgConnectionInfos/index.js
59
62
  __exportStar(require("./dev/client/requests/index.js"), exports);
60
63
  __exportStar(require("./drivers/client/requests/index.js"), exports);
61
64
  __exportStar(require("./milestones/client/requests/index.js"), exports);
62
- __exportStar(require("./offChrtShipperOrgConnectionInfo/client/requests/index.js"), exports);
65
+ __exportStar(require("./offChrtShipperOrgInfo/client/requests/index.js"), exports);
63
66
  __exportStar(require("./orgProfiles/client/requests/index.js"), exports);
64
67
  __exportStar(require("./orders/client/requests/index.js"), exports);
65
68
  __exportStar(require("./courierPayDriverRateSheets/client/requests/index.js"), exports);
69
+ __exportStar(require("./shipperPayCourierRateSheets/client/requests/index.js"), exports);
66
70
  __exportStar(require("./courierPayDriverLineItemGroup/client/requests/index.js"), exports);
71
+ __exportStar(require("./shipperPayCourierLineItemGroup/client/requests/index.js"), exports);
67
72
  __exportStar(require("./courierPayDriverPayouts/client/requests/index.js"), exports);
68
73
  __exportStar(require("./taskGroups/client/requests/index.js"), exports);
69
74
  __exportStar(require("./shipperContactInfo/client/requests/index.js"), exports);
@@ -4,7 +4,7 @@
4
4
  import * as environments from "../../../../environments.js";
5
5
  import * as core from "../../../../core/index.js";
6
6
  import * as Chrt from "../../../index.js";
7
- export declare namespace OffChrtShipperOrgConnectionInfo {
7
+ export declare namespace OffChrtShipperOrgInfo {
8
8
  interface Options {
9
9
  environment?: core.Supplier<environments.ChrtEnvironment | string>;
10
10
  /** Specify a custom URL to connect the client to. */
@@ -25,61 +25,61 @@ export declare namespace OffChrtShipperOrgConnectionInfo {
25
25
  headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
26
26
  }
27
27
  }
28
- export declare class OffChrtShipperOrgConnectionInfo {
29
- protected readonly _options: OffChrtShipperOrgConnectionInfo.Options;
30
- constructor(_options?: OffChrtShipperOrgConnectionInfo.Options);
28
+ export declare class OffChrtShipperOrgInfo {
29
+ protected readonly _options: OffChrtShipperOrgInfo.Options;
30
+ constructor(_options?: OffChrtShipperOrgInfo.Options);
31
31
  /**
32
32
  * Creates connection information for working with off-platform shipper organizations.
33
33
  *
34
- * @param {Chrt.OffChrtShipperOrgConnectionInfoClientCreate1} request
35
- * @param {OffChrtShipperOrgConnectionInfo.RequestOptions} requestOptions - Request-specific configuration.
34
+ * @param {Chrt.OffChrtShipperOrgInfoClientCreate1} request
35
+ * @param {OffChrtShipperOrgInfo.RequestOptions} requestOptions - Request-specific configuration.
36
36
  *
37
37
  * @throws {@link Chrt.UnprocessableEntityError}
38
38
  *
39
39
  * @example
40
- * await client.offChrtShipperOrgConnectionInfo.create({
40
+ * await client.offChrtShipperOrgInfo.create({
41
41
  * schema_version: 1,
42
42
  * email_address_primary: "email_address_primary"
43
43
  * })
44
44
  */
45
- create(request: Chrt.OffChrtShipperOrgConnectionInfoClientCreate1, requestOptions?: OffChrtShipperOrgConnectionInfo.RequestOptions): core.HttpResponsePromise<string>;
45
+ create(request: Chrt.OffChrtShipperOrgInfoClientCreate1, requestOptions?: OffChrtShipperOrgInfo.RequestOptions): core.HttpResponsePromise<string>;
46
46
  private __create;
47
47
  /**
48
48
  * Lists all off-platform shipper connections created by the authenticated organization.
49
49
  *
50
- * @param {OffChrtShipperOrgConnectionInfo.RequestOptions} requestOptions - Request-specific configuration.
50
+ * @param {OffChrtShipperOrgInfo.RequestOptions} requestOptions - Request-specific configuration.
51
51
  *
52
52
  * @example
53
- * await client.offChrtShipperOrgConnectionInfo.list()
53
+ * await client.offChrtShipperOrgInfo.list()
54
54
  */
55
- list(requestOptions?: OffChrtShipperOrgConnectionInfo.RequestOptions): core.HttpResponsePromise<Chrt.OffChrtShipperOrgConnectionInfo1[]>;
55
+ list(requestOptions?: OffChrtShipperOrgInfo.RequestOptions): core.HttpResponsePromise<Chrt.OffChrtShipperOrgInfo1[]>;
56
56
  private __list;
57
57
  /**
58
58
  * Retrieves specific off-platform shipper connection information by ID.
59
59
  *
60
60
  * @param {string} id
61
- * @param {OffChrtShipperOrgConnectionInfo.RequestOptions} requestOptions - Request-specific configuration.
61
+ * @param {OffChrtShipperOrgInfo.RequestOptions} requestOptions - Request-specific configuration.
62
62
  *
63
63
  * @throws {@link Chrt.UnprocessableEntityError}
64
64
  *
65
65
  * @example
66
- * await client.offChrtShipperOrgConnectionInfo.getById("id")
66
+ * await client.offChrtShipperOrgInfo.getById("id")
67
67
  */
68
- getById(id: string, requestOptions?: OffChrtShipperOrgConnectionInfo.RequestOptions): core.HttpResponsePromise<Chrt.OffChrtShipperOrgConnectionInfo1>;
68
+ getById(id: string, requestOptions?: OffChrtShipperOrgInfo.RequestOptions): core.HttpResponsePromise<Chrt.OffChrtShipperOrgInfo1>;
69
69
  private __getById;
70
70
  /**
71
71
  * Updates existing off-platform shipper connection information owned by the authenticated organization.
72
72
  *
73
73
  * @param {string} id
74
- * @param {Chrt.OffChrtShipperOrgConnectionInfoClientUpdate1} request
75
- * @param {OffChrtShipperOrgConnectionInfo.RequestOptions} requestOptions - Request-specific configuration.
74
+ * @param {Chrt.OffChrtShipperOrgInfoClientUpdate1} request
75
+ * @param {OffChrtShipperOrgInfo.RequestOptions} requestOptions - Request-specific configuration.
76
76
  *
77
77
  * @throws {@link Chrt.UnprocessableEntityError}
78
78
  *
79
79
  * @example
80
- * await client.offChrtShipperOrgConnectionInfo.updateById("id")
80
+ * await client.offChrtShipperOrgInfo.updateById("id")
81
81
  */
82
- updateById(id: string, request?: Chrt.OffChrtShipperOrgConnectionInfoClientUpdate1, requestOptions?: OffChrtShipperOrgConnectionInfo.RequestOptions): core.HttpResponsePromise<boolean>;
82
+ updateById(id: string, request?: Chrt.OffChrtShipperOrgInfoClientUpdate1, requestOptions?: OffChrtShipperOrgInfo.RequestOptions): core.HttpResponsePromise<boolean>;
83
83
  private __updateById;
84
84
  protected _getAuthorizationHeader(): Promise<string | undefined>;
85
85
  }