@chrt-inc/typescript-sdk 0.0.189 → 0.0.196

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 (320) hide show
  1. package/dist/cjs/Client.d.ts +15 -3
  2. package/dist/cjs/Client.js +49 -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 +8 -2
  16. package/dist/cjs/api/resources/index.js +9 -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 +26 -0
  30. package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/client/Client.js +22 -0
  31. package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/client/index.js +2 -0
  32. package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/index.d.ts +2 -0
  33. package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/index.js +18 -0
  34. package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/resources/addLineItems/client/Client.d.ts +53 -0
  35. package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/resources/addLineItems/client/Client.js +136 -0
  36. package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/resources/addLineItems/client/index.d.ts +2 -0
  37. package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/resources/addLineItems/client/index.js +17 -0
  38. package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/resources/addLineItems/client/requests/ShipperPayCourierLineItemGroupAddLineItemsReq.d.ts +19 -0
  39. package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/resources/addLineItems/client/requests/index.d.ts +1 -0
  40. package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/resources/addLineItems/client/requests/index.js +2 -0
  41. package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/resources/addLineItems/index.d.ts +1 -0
  42. package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/resources/addLineItems/index.js +17 -0
  43. package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/resources/index.d.ts +4 -0
  44. package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/resources/index.js +43 -0
  45. package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/resources/removeLineItems/client/Client.d.ts +48 -0
  46. package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/resources/removeLineItems/client/Client.js +131 -0
  47. package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/resources/removeLineItems/client/index.d.ts +2 -0
  48. package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/resources/removeLineItems/client/index.js +17 -0
  49. package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/resources/removeLineItems/client/requests/ShipperPayCourierLineItemGroupRemoveLineItemsReq.d.ts +12 -0
  50. package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/resources/removeLineItems/client/requests/index.d.ts +1 -0
  51. package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/resources/removeLineItems/client/requests/index.js +2 -0
  52. package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/resources/removeLineItems/index.d.ts +1 -0
  53. package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/resources/removeLineItems/index.js +17 -0
  54. package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/client/Client.d.ts +90 -0
  55. package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/client/Client.js +311 -0
  56. package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/client/index.d.ts +2 -0
  57. package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/client/index.js +17 -0
  58. package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/client/requests/ShipperPayCourierLineItemGroupCreateReq.d.ts +28 -0
  59. package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/client/requests/ShipperPayCourierLineItemGroupPreviewReq.d.ts +28 -0
  60. package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/client/requests/index.d.ts +2 -0
  61. package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/client/requests/index.js +2 -0
  62. package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/index.d.ts +1 -0
  63. package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/index.js +17 -0
  64. package/dist/cjs/api/resources/shipperPayCourierPayments/client/Client.d.ts +98 -0
  65. package/dist/cjs/api/resources/shipperPayCourierPayments/client/Client.js +361 -0
  66. package/dist/cjs/api/resources/shipperPayCourierPayments/client/index.d.ts +1 -0
  67. package/dist/cjs/api/resources/shipperPayCourierPayments/client/index.js +2 -0
  68. package/dist/cjs/api/resources/shipperPayCourierPayments/index.d.ts +1 -0
  69. package/dist/cjs/api/resources/shipperPayCourierPayments/index.js +17 -0
  70. package/dist/cjs/api/resources/shipperPayCourierRateSheets/client/Client.d.ts +110 -0
  71. package/dist/cjs/api/resources/shipperPayCourierRateSheets/client/Client.js +367 -0
  72. package/dist/cjs/api/resources/shipperPayCourierRateSheets/client/index.d.ts +2 -0
  73. package/dist/cjs/api/resources/shipperPayCourierRateSheets/client/index.js +17 -0
  74. package/dist/cjs/api/resources/shipperPayCourierRateSheets/client/requests/ShipperPayCourierRateSheetClientCreate1.d.ts +49 -0
  75. package/dist/cjs/api/resources/shipperPayCourierRateSheets/client/requests/ShipperPayCourierRateSheetClientUpdate1.d.ts +31 -0
  76. package/dist/cjs/api/resources/shipperPayCourierRateSheets/client/requests/index.d.ts +2 -0
  77. package/dist/cjs/api/resources/shipperPayCourierRateSheets/client/requests/index.js +2 -0
  78. package/dist/cjs/api/resources/shipperPayCourierRateSheets/index.d.ts +1 -0
  79. package/dist/cjs/api/resources/shipperPayCourierRateSheets/index.js +17 -0
  80. package/dist/cjs/api/types/CourierPayDriverLineItemGroup1.d.ts +2 -1
  81. package/dist/cjs/api/types/CourierPayDriverLineItemGroupPreviewRes.d.ts +14 -0
  82. package/dist/cjs/api/types/CourierPayDriverLineItemGroupPreviewRes.js +5 -0
  83. package/dist/cjs/api/types/CourierPayDriverPayout1.d.ts +21 -0
  84. package/dist/cjs/api/types/CourierPayDriverPayout1.js +5 -0
  85. package/dist/cjs/api/types/CreateShipperPayCourierPaymentReq.d.ts +9 -0
  86. package/dist/cjs/api/types/CreateShipperPayCourierPaymentReq.js +5 -0
  87. package/dist/cjs/api/types/GenerateInvoiceRes.d.ts +9 -0
  88. package/dist/cjs/api/types/GenerateInvoiceRes.js +5 -0
  89. package/dist/cjs/api/types/GetShipperPayCourierPaymentsForShipperRes.d.ts +10 -0
  90. package/dist/cjs/api/types/GetShipperPayCourierPaymentsForShipperRes.js +5 -0
  91. package/dist/cjs/api/types/GetShipperPayCourierPaymentsRes.d.ts +10 -0
  92. package/dist/cjs/api/types/GetShipperPayCourierPaymentsRes.js +5 -0
  93. package/dist/cjs/api/types/LineItem1.d.ts +3 -1
  94. package/dist/cjs/api/types/LineItemClientCreate1.d.ts +11 -0
  95. package/dist/cjs/api/types/LineItemClientCreate1.js +5 -0
  96. package/dist/cjs/api/types/Milestone1.d.ts +1 -1
  97. package/dist/cjs/api/types/{OffChrtShipperOrgConnectionInfo1.d.ts → OffChrtShipperOrgInfo1.d.ts} +2 -1
  98. package/dist/cjs/api/types/OffChrtShipperOrgInfo1.js +5 -0
  99. package/dist/cjs/api/types/Order1.d.ts +1 -3
  100. package/dist/cjs/api/types/OrgPublicData2.d.ts +5 -1
  101. package/dist/cjs/api/types/PaymentPreviewResponse.d.ts +13 -0
  102. package/dist/cjs/api/types/PaymentPreviewResponse.js +5 -0
  103. package/dist/cjs/api/types/PaymentStatusEnum.d.ts +11 -0
  104. package/dist/cjs/api/types/PaymentStatusEnum.js +13 -0
  105. package/dist/cjs/api/types/PayoutStatusEnum.d.ts +10 -0
  106. package/dist/cjs/api/types/PayoutStatusEnum.js +12 -0
  107. package/dist/cjs/api/types/ShipperContactInfo1.d.ts +1 -1
  108. package/dist/cjs/api/types/ShipperContactInfoClientCreate1.d.ts +1 -1
  109. package/dist/cjs/api/types/ShipperPayCourierLineItemGroup1.d.ts +17 -0
  110. package/dist/cjs/api/types/ShipperPayCourierLineItemGroup1.js +5 -0
  111. package/dist/cjs/api/types/ShipperPayCourierLineItemGroupServerCreate1.d.ts +16 -0
  112. package/dist/cjs/api/types/ShipperPayCourierLineItemGroupServerCreate1.js +5 -0
  113. package/dist/cjs/api/types/ShipperPayCourierPayment1.d.ts +23 -0
  114. package/dist/cjs/api/types/ShipperPayCourierPayment1.js +5 -0
  115. package/dist/cjs/api/types/ShipperPayCourierRateSheet1.d.ts +33 -0
  116. package/dist/cjs/api/types/ShipperPayCourierRateSheet1.js +5 -0
  117. package/dist/cjs/api/types/StripeConnectAccountEvent.d.ts +11 -0
  118. package/dist/cjs/api/types/StripeConnectAccountEvent.js +5 -0
  119. package/dist/cjs/api/types/StripeConnectAccountEventEnum.d.ts +8 -0
  120. package/dist/cjs/api/types/StripeConnectAccountEventEnum.js +10 -0
  121. package/dist/cjs/api/types/Task1.d.ts +0 -2
  122. package/dist/cjs/api/types/TaskGroup1.d.ts +0 -4
  123. package/dist/cjs/api/types/UserPublicData6.d.ts +0 -1
  124. package/dist/cjs/api/types/index.d.ts +17 -10
  125. package/dist/cjs/api/types/index.js +17 -10
  126. package/dist/cjs/version.d.ts +1 -1
  127. package/dist/cjs/version.js +1 -1
  128. package/dist/esm/Client.d.mts +15 -3
  129. package/dist/esm/Client.mjs +25 -5
  130. package/dist/esm/api/resources/courierPayDriverLineItemGroup/client/Client.d.mts +1 -1
  131. package/dist/esm/api/resources/courierPayDriverLineItemGroup/resources/addLineItems/client/Client.d.mts +1 -1
  132. package/dist/esm/api/resources/courierPayDriverLineItemGroup/resources/addLineItems/client/Client.mjs +1 -1
  133. package/dist/esm/api/resources/courierPayDriverLineItemGroup/resources/addLineItems/client/requests/CourierPayDriverLineItemGroupAddLineItemsReq.d.mts +2 -2
  134. package/dist/esm/api/resources/courierPayDriverLineItemGroup/resources/removeLineItems/client/Client.d.mts +1 -6
  135. package/dist/esm/api/resources/courierPayDriverLineItemGroup/resources/removeLineItems/client/Client.mjs +1 -6
  136. package/dist/esm/api/resources/courierPayDriverLineItemGroup/resources/removeLineItems/client/requests/CourierPayDriverLineItemGroupRemoveLineItemsReq.d.mts +2 -9
  137. package/dist/esm/api/resources/courierPayDriverPayouts/client/Client.d.mts +15 -1
  138. package/dist/esm/api/resources/courierPayDriverPayouts/client/Client.mjs +62 -1
  139. package/dist/esm/api/resources/courierPayDriverPayouts/client/requests/CourierPayDriverPayoutClientCreate1.d.mts +2 -2
  140. package/dist/esm/api/resources/courierPayDriverPayouts/client/requests/CourierPayDriverPayoutClientUpdate1.d.mts +14 -0
  141. package/dist/esm/api/resources/courierPayDriverPayouts/client/requests/index.d.mts +1 -0
  142. package/dist/esm/api/resources/index.d.mts +8 -2
  143. package/dist/esm/api/resources/index.mjs +8 -2
  144. package/dist/esm/api/resources/{offChrtShipperOrgConnectionInfo → offChrtShipperOrgInfo}/client/Client.d.mts +18 -18
  145. package/dist/esm/api/resources/{offChrtShipperOrgConnectionInfo → offChrtShipperOrgInfo}/client/Client.mjs +21 -27
  146. package/dist/esm/api/resources/{offChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientCreate1.d.mts → offChrtShipperOrgInfo/client/requests/OffChrtShipperOrgInfoClientCreate1.d.mts} +2 -1
  147. package/dist/esm/api/resources/{offChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientUpdate1.d.mts → offChrtShipperOrgInfo/client/requests/OffChrtShipperOrgInfoClientUpdate1.d.mts} +1 -1
  148. package/dist/esm/api/resources/offChrtShipperOrgInfo/client/requests/index.d.mts +2 -0
  149. package/dist/esm/api/resources/offChrtShipperOrgInfo/client/requests/index.mjs +1 -0
  150. package/dist/esm/api/resources/orders/client/requests/CreateOrderReq.d.mts +1 -1
  151. package/dist/esm/api/resources/payments/client/Client.d.mts +19 -25
  152. package/dist/esm/api/resources/payments/client/Client.mjs +58 -72
  153. package/dist/esm/api/resources/payments/client/requests/GenerateInvoiceReq.d.mts +14 -0
  154. package/dist/esm/api/resources/payments/client/requests/index.d.mts +1 -2
  155. package/dist/esm/api/resources/shipperContactInfo/client/Client.d.mts +4 -4
  156. package/dist/esm/api/resources/shipperContactInfo/client/Client.mjs +7 -7
  157. package/dist/esm/api/resources/shipperPayCourierLineItemGroup/client/Client.d.mts +26 -0
  158. package/dist/esm/api/resources/shipperPayCourierLineItemGroup/client/Client.mjs +18 -0
  159. package/dist/esm/api/resources/shipperPayCourierLineItemGroup/client/index.d.mts +1 -0
  160. package/dist/esm/api/resources/shipperPayCourierLineItemGroup/client/index.mjs +1 -0
  161. package/dist/esm/api/resources/shipperPayCourierLineItemGroup/index.d.mts +2 -0
  162. package/dist/esm/api/resources/shipperPayCourierLineItemGroup/index.mjs +2 -0
  163. package/dist/esm/api/resources/shipperPayCourierLineItemGroup/resources/addLineItems/client/Client.d.mts +53 -0
  164. package/dist/esm/api/resources/shipperPayCourierLineItemGroup/resources/addLineItems/client/Client.mjs +99 -0
  165. package/dist/esm/api/resources/shipperPayCourierLineItemGroup/resources/addLineItems/client/index.d.mts +2 -0
  166. package/dist/esm/api/resources/shipperPayCourierLineItemGroup/resources/addLineItems/client/index.mjs +1 -0
  167. package/dist/esm/api/resources/shipperPayCourierLineItemGroup/resources/addLineItems/client/requests/ShipperPayCourierLineItemGroupAddLineItemsReq.d.mts +19 -0
  168. package/dist/esm/api/resources/shipperPayCourierLineItemGroup/resources/addLineItems/client/requests/index.d.mts +1 -0
  169. package/dist/esm/api/resources/shipperPayCourierLineItemGroup/resources/addLineItems/client/requests/index.mjs +1 -0
  170. package/dist/esm/api/resources/shipperPayCourierLineItemGroup/resources/addLineItems/index.d.mts +1 -0
  171. package/dist/esm/api/resources/shipperPayCourierLineItemGroup/resources/addLineItems/index.mjs +1 -0
  172. package/dist/esm/api/resources/shipperPayCourierLineItemGroup/resources/index.d.mts +4 -0
  173. package/dist/esm/api/resources/shipperPayCourierLineItemGroup/resources/index.mjs +4 -0
  174. package/dist/esm/api/resources/shipperPayCourierLineItemGroup/resources/removeLineItems/client/Client.d.mts +48 -0
  175. package/dist/esm/api/resources/shipperPayCourierLineItemGroup/resources/removeLineItems/client/Client.mjs +94 -0
  176. package/dist/esm/api/resources/shipperPayCourierLineItemGroup/resources/removeLineItems/client/index.d.mts +2 -0
  177. package/dist/esm/api/resources/shipperPayCourierLineItemGroup/resources/removeLineItems/client/index.mjs +1 -0
  178. package/dist/esm/api/resources/shipperPayCourierLineItemGroup/resources/removeLineItems/client/requests/ShipperPayCourierLineItemGroupRemoveLineItemsReq.d.mts +12 -0
  179. package/dist/esm/api/resources/shipperPayCourierLineItemGroup/resources/removeLineItems/client/requests/index.d.mts +1 -0
  180. package/dist/esm/api/resources/shipperPayCourierLineItemGroup/resources/removeLineItems/client/requests/index.mjs +1 -0
  181. package/dist/esm/api/resources/shipperPayCourierLineItemGroup/resources/removeLineItems/index.d.mts +1 -0
  182. package/dist/esm/api/resources/shipperPayCourierLineItemGroup/resources/removeLineItems/index.mjs +1 -0
  183. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/client/Client.d.mts +90 -0
  184. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/client/Client.mjs +274 -0
  185. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/client/index.d.mts +2 -0
  186. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/client/index.mjs +1 -0
  187. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/client/requests/ShipperPayCourierLineItemGroupCreateReq.d.mts +28 -0
  188. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/client/requests/ShipperPayCourierLineItemGroupPreviewReq.d.mts +28 -0
  189. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/client/requests/index.d.mts +2 -0
  190. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/client/requests/index.mjs +1 -0
  191. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/index.d.mts +1 -0
  192. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/index.mjs +1 -0
  193. package/dist/esm/api/resources/shipperPayCourierPayments/client/Client.d.mts +98 -0
  194. package/dist/esm/api/resources/shipperPayCourierPayments/client/Client.mjs +324 -0
  195. package/dist/esm/api/resources/shipperPayCourierPayments/client/index.d.mts +1 -0
  196. package/dist/esm/api/resources/shipperPayCourierPayments/client/index.mjs +1 -0
  197. package/dist/esm/api/resources/shipperPayCourierPayments/index.d.mts +1 -0
  198. package/dist/esm/api/resources/shipperPayCourierPayments/index.mjs +1 -0
  199. package/dist/esm/api/resources/shipperPayCourierRateSheets/client/Client.d.mts +110 -0
  200. package/dist/esm/api/resources/shipperPayCourierRateSheets/client/Client.mjs +330 -0
  201. package/dist/esm/api/resources/shipperPayCourierRateSheets/client/index.d.mts +2 -0
  202. package/dist/esm/api/resources/shipperPayCourierRateSheets/client/index.mjs +1 -0
  203. package/dist/esm/api/resources/shipperPayCourierRateSheets/client/requests/ShipperPayCourierRateSheetClientCreate1.d.mts +49 -0
  204. package/dist/esm/api/resources/shipperPayCourierRateSheets/client/requests/ShipperPayCourierRateSheetClientUpdate1.d.mts +31 -0
  205. package/dist/esm/api/resources/shipperPayCourierRateSheets/client/requests/index.d.mts +2 -0
  206. package/dist/esm/api/resources/shipperPayCourierRateSheets/client/requests/index.mjs +1 -0
  207. package/dist/esm/api/resources/shipperPayCourierRateSheets/index.d.mts +1 -0
  208. package/dist/esm/api/resources/shipperPayCourierRateSheets/index.mjs +1 -0
  209. package/dist/esm/api/types/CourierPayDriverLineItemGroup1.d.mts +2 -1
  210. package/dist/esm/api/types/CourierPayDriverLineItemGroupPreviewRes.d.mts +14 -0
  211. package/dist/esm/api/types/CourierPayDriverLineItemGroupPreviewRes.mjs +4 -0
  212. package/dist/esm/api/types/CourierPayDriverPayout1.d.mts +21 -0
  213. package/dist/esm/api/types/CourierPayDriverPayout1.mjs +4 -0
  214. package/dist/esm/api/types/CreateShipperPayCourierPaymentReq.d.mts +9 -0
  215. package/dist/esm/api/types/CreateShipperPayCourierPaymentReq.mjs +4 -0
  216. package/dist/esm/api/types/GenerateInvoiceRes.d.mts +9 -0
  217. package/dist/esm/api/types/GenerateInvoiceRes.mjs +4 -0
  218. package/dist/esm/api/types/GetShipperPayCourierPaymentsForShipperRes.d.mts +10 -0
  219. package/dist/esm/api/types/GetShipperPayCourierPaymentsForShipperRes.mjs +4 -0
  220. package/dist/esm/api/types/GetShipperPayCourierPaymentsRes.d.mts +10 -0
  221. package/dist/esm/api/types/GetShipperPayCourierPaymentsRes.mjs +4 -0
  222. package/dist/esm/api/types/LineItem1.d.mts +3 -1
  223. package/dist/esm/api/types/LineItemClientCreate1.d.mts +11 -0
  224. package/dist/esm/api/types/LineItemClientCreate1.mjs +4 -0
  225. package/dist/esm/api/types/Milestone1.d.mts +1 -1
  226. package/dist/esm/api/types/{OffChrtShipperOrgConnectionInfo1.d.mts → OffChrtShipperOrgInfo1.d.mts} +2 -1
  227. package/dist/esm/api/types/OffChrtShipperOrgInfo1.mjs +4 -0
  228. package/dist/esm/api/types/Order1.d.mts +1 -3
  229. package/dist/esm/api/types/OrgPublicData2.d.mts +5 -1
  230. package/dist/esm/api/types/PaymentPreviewResponse.d.mts +13 -0
  231. package/dist/esm/api/types/PaymentPreviewResponse.mjs +4 -0
  232. package/dist/esm/api/types/PaymentStatusEnum.d.mts +11 -0
  233. package/dist/esm/api/types/PaymentStatusEnum.mjs +10 -0
  234. package/dist/esm/api/types/PayoutStatusEnum.d.mts +10 -0
  235. package/dist/esm/api/types/PayoutStatusEnum.mjs +9 -0
  236. package/dist/esm/api/types/ShipperContactInfo1.d.mts +1 -1
  237. package/dist/esm/api/types/ShipperContactInfoClientCreate1.d.mts +1 -1
  238. package/dist/esm/api/types/ShipperPayCourierLineItemGroup1.d.mts +17 -0
  239. package/dist/esm/api/types/ShipperPayCourierLineItemGroup1.mjs +4 -0
  240. package/dist/esm/api/types/ShipperPayCourierLineItemGroupServerCreate1.d.mts +16 -0
  241. package/dist/esm/api/types/ShipperPayCourierLineItemGroupServerCreate1.mjs +4 -0
  242. package/dist/esm/api/types/ShipperPayCourierPayment1.d.mts +23 -0
  243. package/dist/esm/api/types/ShipperPayCourierPayment1.mjs +4 -0
  244. package/dist/esm/api/types/ShipperPayCourierRateSheet1.d.mts +33 -0
  245. package/dist/esm/api/types/ShipperPayCourierRateSheet1.mjs +4 -0
  246. package/dist/esm/api/types/StripeConnectAccountEvent.d.mts +11 -0
  247. package/dist/esm/api/types/StripeConnectAccountEvent.mjs +4 -0
  248. package/dist/esm/api/types/StripeConnectAccountEventEnum.d.mts +8 -0
  249. package/dist/esm/api/types/StripeConnectAccountEventEnum.mjs +7 -0
  250. package/dist/esm/api/types/Task1.d.mts +0 -2
  251. package/dist/esm/api/types/TaskGroup1.d.mts +0 -4
  252. package/dist/esm/api/types/UserPublicData6.d.mts +0 -1
  253. package/dist/esm/api/types/index.d.mts +17 -10
  254. package/dist/esm/api/types/index.mjs +17 -10
  255. package/dist/esm/version.d.mts +1 -1
  256. package/dist/esm/version.mjs +1 -1
  257. package/package.json +1 -1
  258. package/reference.md +1221 -106
  259. package/dist/cjs/api/resources/offChrtShipperOrgConnectionInfo/client/requests/index.d.ts +0 -2
  260. package/dist/cjs/api/resources/payments/client/requests/CreateConnectAccountLinkReq.d.ts +0 -12
  261. package/dist/cjs/api/resources/payments/client/requests/CreateDirectChargeReq.d.ts +0 -17
  262. package/dist/cjs/api/types/CourierPayDriverLineItemGroupClientCreate1.d.ts +0 -10
  263. package/dist/cjs/api/types/CreateDirectChargeRes.d.ts +0 -8
  264. package/dist/cjs/api/types/Incident1.d.ts +0 -7
  265. package/dist/cjs/api/types/IncidentEnum1.d.ts +0 -12
  266. package/dist/cjs/api/types/IncidentEnum1.js +0 -14
  267. package/dist/cjs/api/types/Insurance1.d.ts +0 -7
  268. package/dist/cjs/api/types/PayablesInvoice1.d.ts +0 -34
  269. package/dist/cjs/api/types/PayablesInvoice1.js +0 -18
  270. package/dist/cjs/api/types/ReceivablesInvoice1.d.ts +0 -34
  271. package/dist/cjs/api/types/ReceivablesInvoice1.js +0 -18
  272. package/dist/cjs/api/types/ShipperCourierConnection1.d.ts +0 -13
  273. package/dist/cjs/api/types/StripeConnectInvoice1.d.ts +0 -32
  274. package/dist/cjs/api/types/StripeConnectInvoice1.js +0 -18
  275. package/dist/esm/api/resources/offChrtShipperOrgConnectionInfo/client/requests/index.d.mts +0 -2
  276. package/dist/esm/api/resources/payments/client/requests/CreateConnectAccountLinkReq.d.mts +0 -12
  277. package/dist/esm/api/resources/payments/client/requests/CreateDirectChargeReq.d.mts +0 -17
  278. package/dist/esm/api/types/CourierPayDriverLineItemGroupClientCreate1.d.mts +0 -10
  279. package/dist/esm/api/types/CreateDirectChargeRes.d.mts +0 -8
  280. package/dist/esm/api/types/Incident1.d.mts +0 -7
  281. package/dist/esm/api/types/IncidentEnum1.d.mts +0 -12
  282. package/dist/esm/api/types/IncidentEnum1.mjs +0 -11
  283. package/dist/esm/api/types/Insurance1.d.mts +0 -7
  284. package/dist/esm/api/types/PayablesInvoice1.d.mts +0 -34
  285. package/dist/esm/api/types/PayablesInvoice1.mjs +0 -15
  286. package/dist/esm/api/types/ReceivablesInvoice1.d.mts +0 -34
  287. package/dist/esm/api/types/ReceivablesInvoice1.mjs +0 -15
  288. package/dist/esm/api/types/ShipperCourierConnection1.d.mts +0 -13
  289. package/dist/esm/api/types/StripeConnectInvoice1.d.mts +0 -32
  290. package/dist/esm/api/types/StripeConnectInvoice1.mjs +0 -15
  291. /package/dist/cjs/api/resources/{offChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientCreate1.js → courierPayDriverPayouts/client/requests/CourierPayDriverPayoutClientUpdate1.js} +0 -0
  292. /package/dist/cjs/api/resources/{offChrtShipperOrgConnectionInfo → offChrtShipperOrgInfo}/client/index.d.ts +0 -0
  293. /package/dist/cjs/api/resources/{offChrtShipperOrgConnectionInfo → offChrtShipperOrgInfo}/client/index.js +0 -0
  294. /package/dist/cjs/api/resources/{offChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientUpdate1.js → offChrtShipperOrgInfo/client/requests/OffChrtShipperOrgInfoClientCreate1.js} +0 -0
  295. /package/dist/cjs/api/resources/{payments/client/requests/CreateConnectAccountLinkReq.js → offChrtShipperOrgInfo/client/requests/OffChrtShipperOrgInfoClientUpdate1.js} +0 -0
  296. /package/dist/cjs/api/resources/{offChrtShipperOrgConnectionInfo → offChrtShipperOrgInfo}/client/requests/index.js +0 -0
  297. /package/dist/cjs/api/resources/{offChrtShipperOrgConnectionInfo → offChrtShipperOrgInfo}/index.d.ts +0 -0
  298. /package/dist/cjs/api/resources/{offChrtShipperOrgConnectionInfo → offChrtShipperOrgInfo}/index.js +0 -0
  299. /package/dist/cjs/api/resources/payments/client/requests/{CreateDirectChargeReq.js → GenerateInvoiceReq.js} +0 -0
  300. /package/dist/{esm/api/resources/offChrtShipperOrgConnectionInfo/client/requests/index.mjs → cjs/api/resources/shipperPayCourierLineItemGroup/client/index.d.ts} +0 -0
  301. /package/dist/cjs/api/{types/CourierPayDriverLineItemGroupClientCreate1.js → resources/shipperPayCourierLineItemGroup/resources/addLineItems/client/requests/ShipperPayCourierLineItemGroupAddLineItemsReq.js} +0 -0
  302. /package/dist/cjs/api/{types/CreateDirectChargeRes.js → resources/shipperPayCourierLineItemGroup/resources/removeLineItems/client/requests/ShipperPayCourierLineItemGroupRemoveLineItemsReq.js} +0 -0
  303. /package/dist/cjs/api/{types/Incident1.js → resources/shipperPayCourierLineItemGroups/client/requests/ShipperPayCourierLineItemGroupCreateReq.js} +0 -0
  304. /package/dist/cjs/api/{types/Insurance1.js → resources/shipperPayCourierLineItemGroups/client/requests/ShipperPayCourierLineItemGroupPreviewReq.js} +0 -0
  305. /package/dist/cjs/api/{types/OffChrtShipperOrgConnectionInfo1.js → resources/shipperPayCourierRateSheets/client/requests/ShipperPayCourierRateSheetClientCreate1.js} +0 -0
  306. /package/dist/cjs/api/{types/ShipperCourierConnection1.js → resources/shipperPayCourierRateSheets/client/requests/ShipperPayCourierRateSheetClientUpdate1.js} +0 -0
  307. /package/dist/esm/api/resources/{offChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientCreate1.mjs → courierPayDriverPayouts/client/requests/CourierPayDriverPayoutClientUpdate1.mjs} +0 -0
  308. /package/dist/esm/api/resources/{offChrtShipperOrgConnectionInfo → offChrtShipperOrgInfo}/client/index.d.mts +0 -0
  309. /package/dist/esm/api/resources/{offChrtShipperOrgConnectionInfo → offChrtShipperOrgInfo}/client/index.mjs +0 -0
  310. /package/dist/esm/api/resources/{offChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientUpdate1.mjs → offChrtShipperOrgInfo/client/requests/OffChrtShipperOrgInfoClientCreate1.mjs} +0 -0
  311. /package/dist/esm/api/resources/{payments/client/requests/CreateConnectAccountLinkReq.mjs → offChrtShipperOrgInfo/client/requests/OffChrtShipperOrgInfoClientUpdate1.mjs} +0 -0
  312. /package/dist/esm/api/resources/{offChrtShipperOrgConnectionInfo → offChrtShipperOrgInfo}/index.d.mts +0 -0
  313. /package/dist/esm/api/resources/{offChrtShipperOrgConnectionInfo → offChrtShipperOrgInfo}/index.mjs +0 -0
  314. /package/dist/esm/api/resources/payments/client/requests/{CreateDirectChargeReq.mjs → GenerateInvoiceReq.mjs} +0 -0
  315. /package/dist/esm/api/{types/CourierPayDriverLineItemGroupClientCreate1.mjs → resources/shipperPayCourierLineItemGroup/resources/addLineItems/client/requests/ShipperPayCourierLineItemGroupAddLineItemsReq.mjs} +0 -0
  316. /package/dist/esm/api/{types/CreateDirectChargeRes.mjs → resources/shipperPayCourierLineItemGroup/resources/removeLineItems/client/requests/ShipperPayCourierLineItemGroupRemoveLineItemsReq.mjs} +0 -0
  317. /package/dist/esm/api/{types/Incident1.mjs → resources/shipperPayCourierLineItemGroups/client/requests/ShipperPayCourierLineItemGroupCreateReq.mjs} +0 -0
  318. /package/dist/esm/api/{types/Insurance1.mjs → resources/shipperPayCourierLineItemGroups/client/requests/ShipperPayCourierLineItemGroupPreviewReq.mjs} +0 -0
  319. /package/dist/esm/api/{types/OffChrtShipperOrgConnectionInfo1.mjs → resources/shipperPayCourierRateSheets/client/requests/ShipperPayCourierRateSheetClientCreate1.mjs} +0 -0
  320. /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 { ShipperPayCourierLineItemGroups } from "./api/resources/shipperPayCourierLineItemGroups/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";
@@ -22,6 +25,7 @@ import { Root } from "./api/resources/root/client/Client.js";
22
25
  import { Users } from "./api/resources/users/client/Client.js";
23
26
  import { Notifications } from "./api/resources/notifications/client/Client.js";
24
27
  import { OrgConnectionInfos } from "./api/resources/orgConnectionInfos/client/Client.js";
28
+ import { ShipperPayCourierLineItemGroup } from "./api/resources/shipperPayCourierLineItemGroup/client/Client.js";
25
29
  export declare namespace ChrtClient {
26
30
  interface Options {
27
31
  environment?: core.Supplier<environments.ChrtEnvironment | string>;
@@ -48,11 +52,14 @@ export declare class ChrtClient {
48
52
  protected _dev: Dev | undefined;
49
53
  protected _drivers: Drivers | undefined;
50
54
  protected _milestones: Milestones | undefined;
51
- protected _offChrtShipperOrgConnectionInfo: OffChrtShipperOrgConnectionInfo | undefined;
55
+ protected _offChrtShipperOrgInfo: OffChrtShipperOrgInfo | undefined;
52
56
  protected _orgProfiles: OrgProfiles | undefined;
53
57
  protected _orders: Orders | undefined;
54
58
  protected _courierPayDriverRateSheets: CourierPayDriverRateSheets | undefined;
59
+ protected _shipperPayCourierRateSheets: ShipperPayCourierRateSheets | undefined;
55
60
  protected _courierPayDriverLineItemGroup: CourierPayDriverLineItemGroup | undefined;
61
+ protected _shipperPayCourierLineItemGroups: ShipperPayCourierLineItemGroups | undefined;
62
+ protected _shipperPayCourierPayments: ShipperPayCourierPayments | undefined;
56
63
  protected _courierPayDriverPayouts: CourierPayDriverPayouts | undefined;
57
64
  protected _connections: Connections | undefined;
58
65
  protected _taskGroups: TaskGroups | undefined;
@@ -64,15 +71,19 @@ export declare class ChrtClient {
64
71
  protected _users: Users | undefined;
65
72
  protected _notifications: Notifications | undefined;
66
73
  protected _orgConnectionInfos: OrgConnectionInfos | undefined;
74
+ protected _shipperPayCourierLineItemGroup: ShipperPayCourierLineItemGroup | undefined;
67
75
  constructor(_options?: ChrtClient.Options);
68
76
  get dev(): Dev;
69
77
  get drivers(): Drivers;
70
78
  get milestones(): Milestones;
71
- get offChrtShipperOrgConnectionInfo(): OffChrtShipperOrgConnectionInfo;
79
+ get offChrtShipperOrgInfo(): OffChrtShipperOrgInfo;
72
80
  get orgProfiles(): OrgProfiles;
73
81
  get orders(): Orders;
74
82
  get courierPayDriverRateSheets(): CourierPayDriverRateSheets;
83
+ get shipperPayCourierRateSheets(): ShipperPayCourierRateSheets;
75
84
  get courierPayDriverLineItemGroup(): CourierPayDriverLineItemGroup;
85
+ get shipperPayCourierLineItemGroups(): ShipperPayCourierLineItemGroups;
86
+ get shipperPayCourierPayments(): ShipperPayCourierPayments;
76
87
  get courierPayDriverPayouts(): CourierPayDriverPayouts;
77
88
  get connections(): Connections;
78
89
  get taskGroups(): TaskGroups;
@@ -84,4 +95,5 @@ export declare class ChrtClient {
84
95
  get users(): Users;
85
96
  get notifications(): Notifications;
86
97
  get orgConnectionInfos(): OrgConnectionInfos;
98
+ get shipperPayCourierLineItemGroup(): ShipperPayCourierLineItemGroup;
87
99
  }
@@ -42,29 +42,33 @@ 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/shipperPayCourierLineItemGroups/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");
64
+ const Client_js_23 = require("./api/resources/shipperPayCourierLineItemGroup/client/Client.js");
61
65
  class ChrtClient {
62
66
  constructor(_options = {}) {
63
67
  this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_js_1.mergeHeaders)({
64
68
  "X-Fern-Language": "JavaScript",
65
69
  "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",
70
+ "X-Fern-SDK-Version": "0.0.196",
71
+ "User-Agent": "@chrt-inc/typescript-sdk/0.0.196",
68
72
  "X-Fern-Runtime": core.RUNTIME.type,
69
73
  "X-Fern-Runtime-Version": core.RUNTIME.version,
70
74
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -81,9 +85,9 @@ class ChrtClient {
81
85
  var _a;
82
86
  return ((_a = this._milestones) !== null && _a !== void 0 ? _a : (this._milestones = new Client_js_3.Milestones(this._options)));
83
87
  }
84
- get offChrtShipperOrgConnectionInfo() {
88
+ get offChrtShipperOrgInfo() {
85
89
  var _a;
86
- return ((_a = this._offChrtShipperOrgConnectionInfo) !== null && _a !== void 0 ? _a : (this._offChrtShipperOrgConnectionInfo = new Client_js_4.OffChrtShipperOrgConnectionInfo(this._options)));
90
+ return ((_a = this._offChrtShipperOrgInfo) !== null && _a !== void 0 ? _a : (this._offChrtShipperOrgInfo = new Client_js_4.OffChrtShipperOrgInfo(this._options)));
87
91
  }
88
92
  get orgProfiles() {
89
93
  var _a;
@@ -97,53 +101,69 @@ class ChrtClient {
97
101
  var _a;
98
102
  return ((_a = this._courierPayDriverRateSheets) !== null && _a !== void 0 ? _a : (this._courierPayDriverRateSheets = new Client_js_7.CourierPayDriverRateSheets(this._options)));
99
103
  }
104
+ get shipperPayCourierRateSheets() {
105
+ var _a;
106
+ return ((_a = this._shipperPayCourierRateSheets) !== null && _a !== void 0 ? _a : (this._shipperPayCourierRateSheets = new Client_js_8.ShipperPayCourierRateSheets(this._options)));
107
+ }
100
108
  get courierPayDriverLineItemGroup() {
101
109
  var _a;
102
- return ((_a = this._courierPayDriverLineItemGroup) !== null && _a !== void 0 ? _a : (this._courierPayDriverLineItemGroup = new Client_js_8.CourierPayDriverLineItemGroup(this._options)));
110
+ return ((_a = this._courierPayDriverLineItemGroup) !== null && _a !== void 0 ? _a : (this._courierPayDriverLineItemGroup = new Client_js_9.CourierPayDriverLineItemGroup(this._options)));
111
+ }
112
+ get shipperPayCourierLineItemGroups() {
113
+ var _a;
114
+ return ((_a = this._shipperPayCourierLineItemGroups) !== null && _a !== void 0 ? _a : (this._shipperPayCourierLineItemGroups = new Client_js_10.ShipperPayCourierLineItemGroups(this._options)));
115
+ }
116
+ get shipperPayCourierPayments() {
117
+ var _a;
118
+ return ((_a = this._shipperPayCourierPayments) !== null && _a !== void 0 ? _a : (this._shipperPayCourierPayments = new Client_js_11.ShipperPayCourierPayments(this._options)));
103
119
  }
104
120
  get courierPayDriverPayouts() {
105
121
  var _a;
106
- return ((_a = this._courierPayDriverPayouts) !== null && _a !== void 0 ? _a : (this._courierPayDriverPayouts = new Client_js_9.CourierPayDriverPayouts(this._options)));
122
+ return ((_a = this._courierPayDriverPayouts) !== null && _a !== void 0 ? _a : (this._courierPayDriverPayouts = new Client_js_12.CourierPayDriverPayouts(this._options)));
107
123
  }
108
124
  get connections() {
109
125
  var _a;
110
- return ((_a = this._connections) !== null && _a !== void 0 ? _a : (this._connections = new Client_js_10.Connections(this._options)));
126
+ return ((_a = this._connections) !== null && _a !== void 0 ? _a : (this._connections = new Client_js_13.Connections(this._options)));
111
127
  }
112
128
  get taskGroups() {
113
129
  var _a;
114
- return ((_a = this._taskGroups) !== null && _a !== void 0 ? _a : (this._taskGroups = new Client_js_11.TaskGroups(this._options)));
130
+ return ((_a = this._taskGroups) !== null && _a !== void 0 ? _a : (this._taskGroups = new Client_js_14.TaskGroups(this._options)));
115
131
  }
116
132
  get shipperContactInfo() {
117
133
  var _a;
118
- return ((_a = this._shipperContactInfo) !== null && _a !== void 0 ? _a : (this._shipperContactInfo = new Client_js_12.ShipperContactInfo(this._options)));
134
+ return ((_a = this._shipperContactInfo) !== null && _a !== void 0 ? _a : (this._shipperContactInfo = new Client_js_15.ShipperContactInfo(this._options)));
119
135
  }
120
136
  get milestoneNotifications() {
121
137
  var _a;
122
- return ((_a = this._milestoneNotifications) !== null && _a !== void 0 ? _a : (this._milestoneNotifications = new Client_js_13.MilestoneNotifications(this._options)));
138
+ return ((_a = this._milestoneNotifications) !== null && _a !== void 0 ? _a : (this._milestoneNotifications = new Client_js_16.MilestoneNotifications(this._options)));
123
139
  }
124
140
  get orgs() {
125
141
  var _a;
126
- return ((_a = this._orgs) !== null && _a !== void 0 ? _a : (this._orgs = new Client_js_14.Orgs(this._options)));
142
+ return ((_a = this._orgs) !== null && _a !== void 0 ? _a : (this._orgs = new Client_js_17.Orgs(this._options)));
127
143
  }
128
144
  get payments() {
129
145
  var _a;
130
- return ((_a = this._payments) !== null && _a !== void 0 ? _a : (this._payments = new Client_js_15.Payments(this._options)));
146
+ return ((_a = this._payments) !== null && _a !== void 0 ? _a : (this._payments = new Client_js_18.Payments(this._options)));
131
147
  }
132
148
  get root() {
133
149
  var _a;
134
- return ((_a = this._root) !== null && _a !== void 0 ? _a : (this._root = new Client_js_16.Root(this._options)));
150
+ return ((_a = this._root) !== null && _a !== void 0 ? _a : (this._root = new Client_js_19.Root(this._options)));
135
151
  }
136
152
  get users() {
137
153
  var _a;
138
- return ((_a = this._users) !== null && _a !== void 0 ? _a : (this._users = new Client_js_17.Users(this._options)));
154
+ return ((_a = this._users) !== null && _a !== void 0 ? _a : (this._users = new Client_js_20.Users(this._options)));
139
155
  }
140
156
  get notifications() {
141
157
  var _a;
142
- return ((_a = this._notifications) !== null && _a !== void 0 ? _a : (this._notifications = new Client_js_18.Notifications(this._options)));
158
+ return ((_a = this._notifications) !== null && _a !== void 0 ? _a : (this._notifications = new Client_js_21.Notifications(this._options)));
143
159
  }
144
160
  get orgConnectionInfos() {
145
161
  var _a;
146
- return ((_a = this._orgConnectionInfos) !== null && _a !== void 0 ? _a : (this._orgConnectionInfos = new Client_js_19.OrgConnectionInfos(this._options)));
162
+ return ((_a = this._orgConnectionInfos) !== null && _a !== void 0 ? _a : (this._orgConnectionInfos = new Client_js_22.OrgConnectionInfos(this._options)));
163
+ }
164
+ get shipperPayCourierLineItemGroup() {
165
+ var _a;
166
+ return ((_a = this._shipperPayCourierLineItemGroup) !== null && _a !== void 0 ? _a : (this._shipperPayCourierLineItemGroup = new Client_js_23.ShipperPayCourierLineItemGroup(this._options)));
147
167
  }
148
168
  }
149
169
  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 shipperPayCourierLineItemGroups from "./shipperPayCourierLineItemGroups/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";
@@ -17,14 +20,17 @@ export * as root from "./root/index.js";
17
20
  export * as users from "./users/index.js";
18
21
  export * as notifications from "./notifications/index.js";
19
22
  export * as orgConnectionInfos from "./orgConnectionInfos/index.js";
23
+ export * as shipperPayCourierLineItemGroup from "./shipperPayCourierLineItemGroup/index.js";
20
24
  export * from "./dev/client/requests/index.js";
21
25
  export * from "./drivers/client/requests/index.js";
22
26
  export * from "./milestones/client/requests/index.js";
23
- export * from "./offChrtShipperOrgConnectionInfo/client/requests/index.js";
27
+ export * from "./offChrtShipperOrgInfo/client/requests/index.js";
24
28
  export * from "./orgProfiles/client/requests/index.js";
25
29
  export * from "./orders/client/requests/index.js";
26
30
  export * from "./courierPayDriverRateSheets/client/requests/index.js";
31
+ export * from "./shipperPayCourierRateSheets/client/requests/index.js";
27
32
  export * from "./courierPayDriverLineItemGroup/client/requests/index.js";
33
+ export * from "./shipperPayCourierLineItemGroups/client/requests/index.js";
28
34
  export * from "./courierPayDriverPayouts/client/requests/index.js";
29
35
  export * from "./taskGroups/client/requests/index.js";
30
36
  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.shipperPayCourierLineItemGroup = 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.shipperPayCourierLineItemGroups = 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.shipperPayCourierLineItemGroups = __importStar(require("./shipperPayCourierLineItemGroups/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"));
@@ -56,14 +59,17 @@ exports.root = __importStar(require("./root/index.js"));
56
59
  exports.users = __importStar(require("./users/index.js"));
57
60
  exports.notifications = __importStar(require("./notifications/index.js"));
58
61
  exports.orgConnectionInfos = __importStar(require("./orgConnectionInfos/index.js"));
62
+ exports.shipperPayCourierLineItemGroup = __importStar(require("./shipperPayCourierLineItemGroup/index.js"));
59
63
  __exportStar(require("./dev/client/requests/index.js"), exports);
60
64
  __exportStar(require("./drivers/client/requests/index.js"), exports);
61
65
  __exportStar(require("./milestones/client/requests/index.js"), exports);
62
- __exportStar(require("./offChrtShipperOrgConnectionInfo/client/requests/index.js"), exports);
66
+ __exportStar(require("./offChrtShipperOrgInfo/client/requests/index.js"), exports);
63
67
  __exportStar(require("./orgProfiles/client/requests/index.js"), exports);
64
68
  __exportStar(require("./orders/client/requests/index.js"), exports);
65
69
  __exportStar(require("./courierPayDriverRateSheets/client/requests/index.js"), exports);
70
+ __exportStar(require("./shipperPayCourierRateSheets/client/requests/index.js"), exports);
66
71
  __exportStar(require("./courierPayDriverLineItemGroup/client/requests/index.js"), exports);
72
+ __exportStar(require("./shipperPayCourierLineItemGroups/client/requests/index.js"), exports);
67
73
  __exportStar(require("./courierPayDriverPayouts/client/requests/index.js"), exports);
68
74
  __exportStar(require("./taskGroups/client/requests/index.js"), exports);
69
75
  __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
  }