@chrt-inc/typescript-sdk 1.760.0 → 1.762.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (248) hide show
  1. package/dist/cjs/Client.js +2 -2
  2. package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupAdHocCreateClientReq.d.ts +2 -0
  3. package/dist/cjs/api/resources/billing/resources/statements/client/requests/StatementCreateClientReq.d.ts +2 -0
  4. package/dist/cjs/api/resources/operations/resources/cases/client/Client.d.ts +16 -0
  5. package/dist/cjs/api/resources/operations/resources/cases/client/Client.js +65 -0
  6. package/dist/cjs/api/resources/operations/resources/cases/client/requests/CaseSetBillingReviewStatusReq.d.ts +13 -0
  7. package/dist/cjs/api/resources/operations/resources/cases/client/requests/index.d.ts +1 -0
  8. package/dist/cjs/api/resources/orgs/client/Client.d.ts +3 -0
  9. package/dist/cjs/api/resources/orgs/client/Client.js +7 -2
  10. package/dist/cjs/api/resources/orgs/resources/index.d.ts +2 -0
  11. package/dist/cjs/api/resources/orgs/resources/index.js +3 -1
  12. package/dist/cjs/api/resources/orgs/resources/offChrtVendor/client/Client.d.ts +106 -0
  13. package/dist/cjs/api/resources/orgs/resources/offChrtVendor/client/Client.js +384 -0
  14. package/dist/cjs/api/resources/orgs/resources/offChrtVendor/client/index.d.ts +2 -0
  15. package/dist/cjs/api/resources/orgs/resources/offChrtVendor/client/index.js +17 -0
  16. package/dist/cjs/api/resources/orgs/resources/offChrtVendor/client/requests/OffChrtVendorClientCreate1.d.ts +15 -0
  17. package/dist/cjs/api/resources/orgs/resources/offChrtVendor/client/requests/OffChrtVendorClientUpdate1.d.ts +12 -0
  18. package/dist/cjs/api/resources/orgs/resources/offChrtVendor/client/requests/OffChrtVendorListV1Request.d.ts +14 -0
  19. package/dist/cjs/api/resources/orgs/resources/offChrtVendor/client/requests/index.d.ts +3 -0
  20. package/dist/cjs/api/resources/orgs/resources/offChrtVendor/client/requests/index.js +2 -0
  21. package/dist/cjs/api/resources/orgs/resources/offChrtVendor/index.d.ts +1 -0
  22. package/dist/cjs/api/resources/orgs/resources/offChrtVendor/index.js +17 -0
  23. package/dist/cjs/api/resources/shipping/client/Client.d.ts +6 -0
  24. package/dist/cjs/api/resources/shipping/client/Client.js +18 -8
  25. package/dist/cjs/api/resources/shipping/resources/flights/client/Client.d.ts +2 -2
  26. package/dist/cjs/api/resources/shipping/resources/flights/client/Client.js +2 -2
  27. package/dist/cjs/api/resources/shipping/resources/index.d.ts +4 -0
  28. package/dist/cjs/api/resources/shipping/resources/index.js +5 -1
  29. package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/Client.d.ts +1 -1
  30. package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/Client.js +1 -1
  31. package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/requests/OrdersNewDraftReq.d.ts +5 -0
  32. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/agentic/client/Client.d.ts +13 -19
  33. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/agentic/client/Client.js +41 -47
  34. package/dist/cjs/api/resources/shipping/resources/orderGroups/client/Client.d.ts +142 -0
  35. package/dist/cjs/api/resources/shipping/resources/orderGroups/client/Client.js +530 -0
  36. package/dist/cjs/api/resources/shipping/resources/orderGroups/client/index.d.ts +2 -0
  37. package/dist/cjs/api/resources/shipping/resources/orderGroups/client/index.js +17 -0
  38. package/dist/cjs/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupClientCreate1.d.ts +16 -0
  39. package/dist/cjs/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupClientUpdate1.d.ts +12 -0
  40. package/dist/cjs/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupSetBillingReviewStatusReq.d.ts +13 -0
  41. package/dist/cjs/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupSetBillingReviewStatusReq.js +5 -0
  42. package/dist/cjs/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupsListV1Request.d.ts +30 -0
  43. package/dist/cjs/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupsListV1Request.js +5 -0
  44. package/dist/cjs/api/resources/shipping/resources/orderGroups/client/requests/index.d.ts +4 -0
  45. package/dist/cjs/api/resources/shipping/resources/orderGroups/client/requests/index.js +2 -0
  46. package/dist/cjs/api/resources/shipping/resources/orderGroups/index.d.ts +1 -0
  47. package/dist/cjs/api/resources/shipping/resources/orderGroups/index.js +17 -0
  48. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/Client.d.ts +3 -3
  49. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/Client.js +2 -2
  50. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientCreate1.d.ts +7 -4
  51. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientUpdate1.d.ts +7 -2
  52. package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/client/Client.d.ts +73 -0
  53. package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/client/Client.js +252 -0
  54. package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/client/index.d.ts +2 -0
  55. package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/client/index.js +17 -0
  56. package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/client/requests/OrdersAndOrderGroupsOrderGroupsListV1Request.d.ts +32 -0
  57. package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/client/requests/OrdersAndOrderGroupsOrderGroupsListV1Request.js +5 -0
  58. package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/client/requests/OrdersAndOrderGroupsUngroupedOrdersListV1Request.d.ts +23 -0
  59. package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/client/requests/OrdersAndOrderGroupsUngroupedOrdersListV1Request.js +5 -0
  60. package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/client/requests/index.d.ts +2 -0
  61. package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/client/requests/index.js +2 -0
  62. package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/index.d.ts +1 -0
  63. package/dist/cjs/api/resources/shipping/resources/ordersAndOrderGroups/index.js +17 -0
  64. package/dist/cjs/api/resources/tracking/resources/sessions/client/Client.d.ts +1 -1
  65. package/dist/cjs/api/resources/tracking/resources/sessions/client/Client.js +1 -1
  66. package/dist/cjs/api/types/BillingReviewStatusEnum.d.ts +15 -0
  67. package/dist/cjs/api/types/BillingReviewStatusEnum.js +12 -0
  68. package/dist/cjs/api/types/Case1.d.ts +1 -0
  69. package/dist/cjs/api/types/{InternalDelegationTokenReq.d.ts → InternalDelegationJwtReq.d.ts} +2 -2
  70. package/dist/cjs/api/types/InternalDelegationJwtReq.js +5 -0
  71. package/dist/{esm/api/types/InternalDelegationTokenRes.d.mts → cjs/api/types/InternalDelegationJwtRes.d.ts} +1 -1
  72. package/dist/cjs/api/types/InternalDelegationJwtRes.js +5 -0
  73. package/dist/cjs/api/types/LineItemGroup1.d.ts +3 -0
  74. package/dist/cjs/api/types/OffChrtVendor1.d.ts +13 -0
  75. package/dist/cjs/api/types/OffChrtVendor1.js +5 -0
  76. package/dist/cjs/api/types/OffChrtVendorListRes.d.ts +8 -0
  77. package/dist/cjs/api/types/OffChrtVendorListRes.js +5 -0
  78. package/dist/cjs/api/types/Order1.d.ts +2 -0
  79. package/dist/cjs/api/types/OrderBuilderReq.d.ts +3 -2
  80. package/dist/cjs/api/types/OrderBuilderRes.d.ts +2 -2
  81. package/dist/cjs/api/types/OrderGroup1.d.ts +21 -0
  82. package/dist/cjs/api/types/OrderGroup1.js +5 -0
  83. package/dist/cjs/api/types/OrderGroupExpandedListRes.d.ts +8 -0
  84. package/dist/cjs/api/types/OrderGroupExpandedListRes.js +5 -0
  85. package/dist/cjs/api/types/OrderGroupExpandedRow.d.ts +9 -0
  86. package/dist/cjs/api/types/OrderGroupExpandedRow.js +5 -0
  87. package/dist/cjs/api/types/OrderGroupExpandedSortByEnum.d.ts +10 -0
  88. package/dist/cjs/api/types/OrderGroupExpandedSortByEnum.js +12 -0
  89. package/dist/cjs/api/types/OrderGroupListRes.d.ts +8 -0
  90. package/dist/cjs/api/types/OrderGroupListRes.js +5 -0
  91. package/dist/cjs/api/types/OrderGroupSortByEnum.d.ts +9 -0
  92. package/dist/cjs/api/types/OrderGroupSortByEnum.js +11 -0
  93. package/dist/cjs/api/types/OrderTemplate1.d.ts +7 -4
  94. package/dist/cjs/api/types/OrderTemplateCore1.d.ts +21 -0
  95. package/dist/cjs/api/types/OrderTemplateCore1.js +5 -0
  96. package/dist/cjs/api/types/{OrderTemplateExpanded.d.ts → OrderTemplateExpanded1.d.ts} +4 -4
  97. package/dist/cjs/api/types/OrderTemplateExpanded1.js +5 -0
  98. package/dist/{esm/api/types/OrderTemplateOrgRef1.d.mts → cjs/api/types/OrderTemplateOrgInfo1.d.ts} +1 -1
  99. package/dist/cjs/api/types/OrderTemplateOrgInfo1.js +5 -0
  100. package/dist/cjs/api/types/OrderTemplateResolvabilityRes.d.ts +10 -0
  101. package/dist/cjs/api/types/OrderTemplateResolvabilityRes.js +5 -0
  102. package/dist/cjs/api/types/ShippingTurnClientCreate1.d.ts +16 -0
  103. package/dist/cjs/api/types/ShippingTurnClientCreate1.js +5 -0
  104. package/dist/cjs/api/types/Statement1.d.ts +3 -0
  105. package/dist/cjs/api/types/UngroupedOrderListRes.d.ts +8 -0
  106. package/dist/cjs/api/types/UngroupedOrderListRes.js +5 -0
  107. package/dist/cjs/api/types/UngroupedOrderRow.d.ts +8 -0
  108. package/dist/cjs/api/types/UngroupedOrderRow.js +5 -0
  109. package/dist/cjs/api/types/UngroupedOrderSortByEnum.d.ts +11 -0
  110. package/dist/cjs/api/types/UngroupedOrderSortByEnum.js +13 -0
  111. package/dist/cjs/api/types/{WorkflowActorContext.d.ts → WorkflowActor.d.ts} +1 -1
  112. package/dist/cjs/api/types/WorkflowActor.js +5 -0
  113. package/dist/cjs/api/types/index.d.ts +20 -6
  114. package/dist/cjs/api/types/index.js +20 -6
  115. package/dist/cjs/version.d.ts +1 -1
  116. package/dist/cjs/version.js +1 -1
  117. package/dist/esm/Client.mjs +2 -2
  118. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupAdHocCreateClientReq.d.mts +2 -0
  119. package/dist/esm/api/resources/billing/resources/statements/client/requests/StatementCreateClientReq.d.mts +2 -0
  120. package/dist/esm/api/resources/operations/resources/cases/client/Client.d.mts +16 -0
  121. package/dist/esm/api/resources/operations/resources/cases/client/Client.mjs +65 -0
  122. package/dist/esm/api/resources/operations/resources/cases/client/requests/CaseSetBillingReviewStatusReq.d.mts +13 -0
  123. package/dist/esm/api/resources/operations/resources/cases/client/requests/index.d.mts +1 -0
  124. package/dist/esm/api/resources/orgs/client/Client.d.mts +3 -0
  125. package/dist/esm/api/resources/orgs/client/Client.mjs +5 -0
  126. package/dist/esm/api/resources/orgs/resources/index.d.mts +2 -0
  127. package/dist/esm/api/resources/orgs/resources/index.mjs +2 -0
  128. package/dist/esm/api/resources/orgs/resources/offChrtVendor/client/Client.d.mts +106 -0
  129. package/dist/esm/api/resources/orgs/resources/offChrtVendor/client/Client.mjs +347 -0
  130. package/dist/esm/api/resources/orgs/resources/offChrtVendor/client/index.d.mts +2 -0
  131. package/dist/esm/api/resources/orgs/resources/offChrtVendor/client/index.mjs +1 -0
  132. package/dist/esm/api/resources/orgs/resources/offChrtVendor/client/requests/OffChrtVendorClientCreate1.d.mts +15 -0
  133. package/dist/esm/api/resources/orgs/resources/offChrtVendor/client/requests/OffChrtVendorClientUpdate1.d.mts +12 -0
  134. package/dist/esm/api/resources/orgs/resources/offChrtVendor/client/requests/OffChrtVendorListV1Request.d.mts +14 -0
  135. package/dist/esm/api/resources/orgs/resources/offChrtVendor/client/requests/index.d.mts +3 -0
  136. package/dist/esm/api/resources/orgs/resources/offChrtVendor/client/requests/index.mjs +1 -0
  137. package/dist/esm/api/resources/orgs/resources/offChrtVendor/index.d.mts +1 -0
  138. package/dist/esm/api/resources/orgs/resources/offChrtVendor/index.mjs +1 -0
  139. package/dist/esm/api/resources/shipping/client/Client.d.mts +6 -0
  140. package/dist/esm/api/resources/shipping/client/Client.mjs +10 -0
  141. package/dist/esm/api/resources/shipping/resources/flights/client/Client.d.mts +2 -2
  142. package/dist/esm/api/resources/shipping/resources/flights/client/Client.mjs +2 -2
  143. package/dist/esm/api/resources/shipping/resources/index.d.mts +4 -0
  144. package/dist/esm/api/resources/shipping/resources/index.mjs +4 -0
  145. package/dist/esm/api/resources/shipping/resources/orderDrafts/client/Client.d.mts +1 -1
  146. package/dist/esm/api/resources/shipping/resources/orderDrafts/client/Client.mjs +1 -1
  147. package/dist/esm/api/resources/shipping/resources/orderDrafts/client/requests/OrdersNewDraftReq.d.mts +5 -0
  148. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/agentic/client/Client.d.mts +13 -19
  149. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/agentic/client/Client.mjs +41 -47
  150. package/dist/esm/api/resources/shipping/resources/orderGroups/client/Client.d.mts +142 -0
  151. package/dist/esm/api/resources/shipping/resources/orderGroups/client/Client.mjs +493 -0
  152. package/dist/esm/api/resources/shipping/resources/orderGroups/client/index.d.mts +2 -0
  153. package/dist/esm/api/resources/shipping/resources/orderGroups/client/index.mjs +1 -0
  154. package/dist/esm/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupClientCreate1.d.mts +16 -0
  155. package/dist/esm/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupClientUpdate1.d.mts +12 -0
  156. package/dist/esm/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupSetBillingReviewStatusReq.d.mts +13 -0
  157. package/dist/esm/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupSetBillingReviewStatusReq.mjs +4 -0
  158. package/dist/esm/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupsListV1Request.d.mts +30 -0
  159. package/dist/esm/api/resources/shipping/resources/orderGroups/client/requests/OrderGroupsListV1Request.mjs +4 -0
  160. package/dist/esm/api/resources/shipping/resources/orderGroups/client/requests/index.d.mts +4 -0
  161. package/dist/esm/api/resources/shipping/resources/orderGroups/client/requests/index.mjs +1 -0
  162. package/dist/esm/api/resources/shipping/resources/orderGroups/index.d.mts +1 -0
  163. package/dist/esm/api/resources/shipping/resources/orderGroups/index.mjs +1 -0
  164. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/Client.d.mts +3 -3
  165. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/Client.mjs +2 -2
  166. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientCreate1.d.mts +7 -4
  167. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientUpdate1.d.mts +7 -2
  168. package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/client/Client.d.mts +73 -0
  169. package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/client/Client.mjs +215 -0
  170. package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/client/index.d.mts +2 -0
  171. package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/client/index.mjs +1 -0
  172. package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/client/requests/OrdersAndOrderGroupsOrderGroupsListV1Request.d.mts +32 -0
  173. package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/client/requests/OrdersAndOrderGroupsOrderGroupsListV1Request.mjs +4 -0
  174. package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/client/requests/OrdersAndOrderGroupsUngroupedOrdersListV1Request.d.mts +23 -0
  175. package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/client/requests/OrdersAndOrderGroupsUngroupedOrdersListV1Request.mjs +4 -0
  176. package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/client/requests/index.d.mts +2 -0
  177. package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/client/requests/index.mjs +1 -0
  178. package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/index.d.mts +1 -0
  179. package/dist/esm/api/resources/shipping/resources/ordersAndOrderGroups/index.mjs +1 -0
  180. package/dist/esm/api/resources/tracking/resources/sessions/client/Client.d.mts +1 -1
  181. package/dist/esm/api/resources/tracking/resources/sessions/client/Client.mjs +1 -1
  182. package/dist/esm/api/types/BillingReviewStatusEnum.d.mts +15 -0
  183. package/dist/esm/api/types/BillingReviewStatusEnum.mjs +9 -0
  184. package/dist/esm/api/types/Case1.d.mts +1 -0
  185. package/dist/esm/api/types/{InternalDelegationTokenReq.d.mts → InternalDelegationJwtReq.d.mts} +2 -2
  186. package/dist/esm/api/types/InternalDelegationJwtReq.mjs +4 -0
  187. package/dist/{cjs/api/types/InternalDelegationTokenRes.d.ts → esm/api/types/InternalDelegationJwtRes.d.mts} +1 -1
  188. package/dist/esm/api/types/InternalDelegationJwtRes.mjs +4 -0
  189. package/dist/esm/api/types/LineItemGroup1.d.mts +3 -0
  190. package/dist/esm/api/types/OffChrtVendor1.d.mts +13 -0
  191. package/dist/esm/api/types/OffChrtVendor1.mjs +4 -0
  192. package/dist/esm/api/types/OffChrtVendorListRes.d.mts +8 -0
  193. package/dist/esm/api/types/OffChrtVendorListRes.mjs +4 -0
  194. package/dist/esm/api/types/Order1.d.mts +2 -0
  195. package/dist/esm/api/types/OrderBuilderReq.d.mts +3 -2
  196. package/dist/esm/api/types/OrderBuilderRes.d.mts +2 -2
  197. package/dist/esm/api/types/OrderGroup1.d.mts +21 -0
  198. package/dist/esm/api/types/OrderGroup1.mjs +4 -0
  199. package/dist/esm/api/types/OrderGroupExpandedListRes.d.mts +8 -0
  200. package/dist/esm/api/types/OrderGroupExpandedListRes.mjs +4 -0
  201. package/dist/esm/api/types/OrderGroupExpandedRow.d.mts +9 -0
  202. package/dist/esm/api/types/OrderGroupExpandedRow.mjs +4 -0
  203. package/dist/esm/api/types/OrderGroupExpandedSortByEnum.d.mts +10 -0
  204. package/dist/esm/api/types/OrderGroupExpandedSortByEnum.mjs +9 -0
  205. package/dist/esm/api/types/OrderGroupListRes.d.mts +8 -0
  206. package/dist/esm/api/types/OrderGroupListRes.mjs +4 -0
  207. package/dist/esm/api/types/OrderGroupSortByEnum.d.mts +9 -0
  208. package/dist/esm/api/types/OrderGroupSortByEnum.mjs +8 -0
  209. package/dist/esm/api/types/OrderTemplate1.d.mts +7 -4
  210. package/dist/esm/api/types/OrderTemplateCore1.d.mts +21 -0
  211. package/dist/esm/api/types/OrderTemplateCore1.mjs +4 -0
  212. package/dist/esm/api/types/{OrderTemplateExpanded.d.mts → OrderTemplateExpanded1.d.mts} +4 -4
  213. package/dist/esm/api/types/OrderTemplateExpanded1.mjs +4 -0
  214. package/dist/{cjs/api/types/OrderTemplateOrgRef1.d.ts → esm/api/types/OrderTemplateOrgInfo1.d.mts} +1 -1
  215. package/dist/esm/api/types/OrderTemplateOrgInfo1.mjs +4 -0
  216. package/dist/esm/api/types/OrderTemplateResolvabilityRes.d.mts +10 -0
  217. package/dist/esm/api/types/OrderTemplateResolvabilityRes.mjs +4 -0
  218. package/dist/esm/api/types/ShippingTurnClientCreate1.d.mts +16 -0
  219. package/dist/esm/api/types/ShippingTurnClientCreate1.mjs +4 -0
  220. package/dist/esm/api/types/Statement1.d.mts +3 -0
  221. package/dist/esm/api/types/UngroupedOrderListRes.d.mts +8 -0
  222. package/dist/esm/api/types/UngroupedOrderListRes.mjs +4 -0
  223. package/dist/esm/api/types/UngroupedOrderRow.d.mts +8 -0
  224. package/dist/esm/api/types/UngroupedOrderRow.mjs +4 -0
  225. package/dist/esm/api/types/UngroupedOrderSortByEnum.d.mts +11 -0
  226. package/dist/esm/api/types/UngroupedOrderSortByEnum.mjs +10 -0
  227. package/dist/esm/api/types/{WorkflowActorContext.d.mts → WorkflowActor.d.mts} +1 -1
  228. package/dist/esm/api/types/WorkflowActor.mjs +4 -0
  229. package/dist/esm/api/types/index.d.mts +20 -6
  230. package/dist/esm/api/types/index.mjs +20 -6
  231. package/dist/esm/version.d.mts +1 -1
  232. package/dist/esm/version.mjs +1 -1
  233. package/package.json +1 -1
  234. package/reference.md +1456 -432
  235. package/dist/cjs/api/types/OrderBuilderPrecheckRes.d.ts +0 -7
  236. package/dist/esm/api/types/OrderBuilderPrecheckRes.d.mts +0 -7
  237. /package/dist/cjs/api/{types/InternalDelegationTokenReq.js → resources/operations/resources/cases/client/requests/CaseSetBillingReviewStatusReq.js} +0 -0
  238. /package/dist/cjs/api/{types/InternalDelegationTokenRes.js → resources/orgs/resources/offChrtVendor/client/requests/OffChrtVendorClientCreate1.js} +0 -0
  239. /package/dist/cjs/api/{types/OrderBuilderPrecheckRes.js → resources/orgs/resources/offChrtVendor/client/requests/OffChrtVendorClientUpdate1.js} +0 -0
  240. /package/dist/cjs/api/{types/OrderTemplateExpanded.js → resources/orgs/resources/offChrtVendor/client/requests/OffChrtVendorListV1Request.js} +0 -0
  241. /package/dist/cjs/api/{types/OrderTemplateOrgRef1.js → resources/shipping/resources/orderGroups/client/requests/OrderGroupClientCreate1.js} +0 -0
  242. /package/dist/cjs/api/{types/WorkflowActorContext.js → resources/shipping/resources/orderGroups/client/requests/OrderGroupClientUpdate1.js} +0 -0
  243. /package/dist/esm/api/{types/InternalDelegationTokenReq.mjs → resources/operations/resources/cases/client/requests/CaseSetBillingReviewStatusReq.mjs} +0 -0
  244. /package/dist/esm/api/{types/InternalDelegationTokenRes.mjs → resources/orgs/resources/offChrtVendor/client/requests/OffChrtVendorClientCreate1.mjs} +0 -0
  245. /package/dist/esm/api/{types/OrderBuilderPrecheckRes.mjs → resources/orgs/resources/offChrtVendor/client/requests/OffChrtVendorClientUpdate1.mjs} +0 -0
  246. /package/dist/esm/api/{types/OrderTemplateExpanded.mjs → resources/orgs/resources/offChrtVendor/client/requests/OffChrtVendorListV1Request.mjs} +0 -0
  247. /package/dist/esm/api/{types/OrderTemplateOrgRef1.mjs → resources/shipping/resources/orderGroups/client/requests/OrderGroupClientCreate1.mjs} +0 -0
  248. /package/dist/esm/api/{types/WorkflowActorContext.mjs → resources/shipping/resources/orderGroups/client/requests/OrderGroupClientUpdate1.mjs} +0 -0
@@ -37,6 +37,7 @@ __exportStar(require("./BillingLedgerStatusEnum.js"), exports);
37
37
  __exportStar(require("./BillingLineItemGroupMessageWebhookPayload.js"), exports);
38
38
  __exportStar(require("./BillingLineItemGroupS3ObjectAddedWebhookPayload.js"), exports);
39
39
  __exportStar(require("./BillingLineItemS3ObjectAddedWebhookPayload.js"), exports);
40
+ __exportStar(require("./BillingReviewStatusEnum.js"), exports);
40
41
  __exportStar(require("./BillingStatementOpenedWebhookPayload.js"), exports);
41
42
  __exportStar(require("./BillingStatementPaidWebhookPayload.js"), exports);
42
43
  __exportStar(require("./Caller.js"), exports);
@@ -179,8 +180,8 @@ __exportStar(require("./FlightTrackWaypoint1.js"), exports);
179
180
  __exportStar(require("./GeometryCollectionGeometriesItem.js"), exports);
180
181
  __exportStar(require("./GeometryCollection.js"), exports);
181
182
  __exportStar(require("./HttpValidationError.js"), exports);
182
- __exportStar(require("./InternalDelegationTokenReq.js"), exports);
183
- __exportStar(require("./InternalDelegationTokenRes.js"), exports);
183
+ __exportStar(require("./InternalDelegationJwtReq.js"), exports);
184
+ __exportStar(require("./InternalDelegationJwtRes.js"), exports);
184
185
  __exportStar(require("./LlmModelEnum.js"), exports);
185
186
  __exportStar(require("./LineItem1.js"), exports);
186
187
  __exportStar(require("./LineItemClientCreate1.js"), exports);
@@ -230,6 +231,8 @@ __exportStar(require("./OffChrtProviderOrg1.js"), exports);
230
231
  __exportStar(require("./OffChrtProviderOrgListRes.js"), exports);
231
232
  __exportStar(require("./OffChrtShipperOrg1.js"), exports);
232
233
  __exportStar(require("./OffChrtShipperOrgListRes.js"), exports);
234
+ __exportStar(require("./OffChrtVendor1.js"), exports);
235
+ __exportStar(require("./OffChrtVendorListRes.js"), exports);
233
236
  __exportStar(require("./OnboardCourierRateSheet1.js"), exports);
234
237
  __exportStar(require("./OnboardCourierRateSheetListRes.js"), exports);
235
238
  __exportStar(require("./OnboardCourierTaskActionEnum1.js"), exports);
@@ -250,7 +253,6 @@ __exportStar(require("./OperationsTaskStatusEnum.js"), exports);
250
253
  __exportStar(require("./OperationsTaskTypeEnum.js"), exports);
251
254
  __exportStar(require("./Order1.js"), exports);
252
255
  __exportStar(require("./OrderAndTaskGroupExpandedReq.js"), exports);
253
- __exportStar(require("./OrderBuilderPrecheckRes.js"), exports);
254
256
  __exportStar(require("./OrderBuilderReq.js"), exports);
255
257
  __exportStar(require("./OrderBuilderRes.js"), exports);
256
258
  __exportStar(require("./OrderDraftExpanded.js"), exports);
@@ -259,6 +261,12 @@ __exportStar(require("./OrderDraftSortByEnum.js"), exports);
259
261
  __exportStar(require("./OrderDraftValidationRequirements.js"), exports);
260
262
  __exportStar(require("./OrderDraftValidationResult.js"), exports);
261
263
  __exportStar(require("./OrderExpanded.js"), exports);
264
+ __exportStar(require("./OrderGroup1.js"), exports);
265
+ __exportStar(require("./OrderGroupExpandedListRes.js"), exports);
266
+ __exportStar(require("./OrderGroupExpandedRow.js"), exports);
267
+ __exportStar(require("./OrderGroupExpandedSortByEnum.js"), exports);
268
+ __exportStar(require("./OrderGroupListRes.js"), exports);
269
+ __exportStar(require("./OrderGroupSortByEnum.js"), exports);
262
270
  __exportStar(require("./OrderManifest1.js"), exports);
263
271
  __exportStar(require("./OrderManifestValidationRequirements.js"), exports);
264
272
  __exportStar(require("./OrderManifestValidationResult.js"), exports);
@@ -273,10 +281,12 @@ __exportStar(require("./OrderScheduleStatusEnum1.js"), exports);
273
281
  __exportStar(require("./OrderSortByEnum.js"), exports);
274
282
  __exportStar(require("./OrderStatusEnum1.js"), exports);
275
283
  __exportStar(require("./OrderTemplate1.js"), exports);
276
- __exportStar(require("./OrderTemplateExpanded.js"), exports);
284
+ __exportStar(require("./OrderTemplateCore1.js"), exports);
285
+ __exportStar(require("./OrderTemplateExpanded1.js"), exports);
277
286
  __exportStar(require("./OrderTemplateListRes.js"), exports);
278
- __exportStar(require("./OrderTemplateOrgRef1.js"), exports);
287
+ __exportStar(require("./OrderTemplateOrgInfo1.js"), exports);
279
288
  __exportStar(require("./OrderTemplateReferenceColumnEnum1.js"), exports);
289
+ __exportStar(require("./OrderTemplateResolvabilityRes.js"), exports);
280
290
  __exportStar(require("./OrderTemplateSortByEnum.js"), exports);
281
291
  __exportStar(require("./OrderTypeaheadFieldEnum.js"), exports);
282
292
  __exportStar(require("./OrderTypeaheadResult.js"), exports);
@@ -352,6 +362,7 @@ __exportStar(require("./ShippingTaskGroupS3ObjectAddedWebhookPayload.js"), expor
352
362
  __exportStar(require("./ShippingTaskGroupTasksOrderingUpdatedWebhookPayload.js"), exports);
353
363
  __exportStar(require("./ShippingTaskSkippedWebhookPayload.js"), exports);
354
364
  __exportStar(require("./ShippingTaskTaskArtifactCompletedWebhookPayload.js"), exports);
365
+ __exportStar(require("./ShippingTurnClientCreate1.js"), exports);
355
366
  __exportStar(require("./SortOrderEnum.js"), exports);
356
367
  __exportStar(require("./StartOfWeek.js"), exports);
357
368
  __exportStar(require("./Statement1.js"), exports);
@@ -414,6 +425,9 @@ __exportStar(require("./TrackingSharingSettingsRes.js"), exports);
414
425
  __exportStar(require("./TrackingTypeaheadFieldEnum.js"), exports);
415
426
  __exportStar(require("./TrackingTypeaheadResult.js"), exports);
416
427
  __exportStar(require("./TrackingWebhookResponse.js"), exports);
428
+ __exportStar(require("./UngroupedOrderListRes.js"), exports);
429
+ __exportStar(require("./UngroupedOrderRow.js"), exports);
430
+ __exportStar(require("./UngroupedOrderSortByEnum.js"), exports);
417
431
  __exportStar(require("./UnitsEnum.js"), exports);
418
432
  __exportStar(require("./UserPrivateData1.js"), exports);
419
433
  __exportStar(require("./UserPublicData1.js"), exports);
@@ -450,4 +464,4 @@ __exportStar(require("./WebcargoSegment.js"), exports);
450
464
  __exportStar(require("./WebcargoShipment.js"), exports);
451
465
  __exportStar(require("./WebcargoValueWithUnit.js"), exports);
452
466
  __exportStar(require("./WebhookAppPortalAccessRes.js"), exports);
453
- __exportStar(require("./WorkflowActorContext.js"), exports);
467
+ __exportStar(require("./WorkflowActor.js"), exports);
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.760.0";
1
+ export declare const SDK_VERSION = "1.762.0";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "1.760.0";
4
+ exports.SDK_VERSION = "1.762.0";
@@ -20,8 +20,8 @@ export class ChrtClient {
20
20
  this._options = Object.assign(Object.assign({}, _options), { headers: mergeHeaders({
21
21
  "X-Fern-Language": "JavaScript",
22
22
  "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk",
23
- "X-Fern-SDK-Version": "1.760.0",
24
- "User-Agent": "@chrt-inc/typescript-sdk/1.760.0",
23
+ "X-Fern-SDK-Version": "1.762.0",
24
+ "User-Agent": "@chrt-inc/typescript-sdk/1.762.0",
25
25
  "X-Fern-Runtime": core.RUNTIME.type,
26
26
  "X-Fern-Runtime-Version": core.RUNTIME.version,
27
27
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -18,5 +18,7 @@ export interface LineItemGroupAdHocCreateClientReq {
18
18
  payment_destination_org_id?: string | null;
19
19
  payment_destination_off_chrt_provider_org_id?: string | null;
20
20
  payment_destination_driver_id?: string | null;
21
+ payment_destination_off_chrt_vendor_id?: string | null;
22
+ order_group_id?: string | null;
21
23
  line_items?: Chrt.LineItemClientCreate1[];
22
24
  }
@@ -17,4 +17,6 @@ export interface StatementCreateClientReq {
17
17
  payment_destination_org_id?: string | null;
18
18
  payment_destination_off_chrt_provider_org_id?: string | null;
19
19
  payment_destination_driver_id?: string | null;
20
+ payment_destination_off_chrt_vendor_id?: string | null;
21
+ order_group_id?: string | null;
20
22
  }
@@ -132,6 +132,22 @@ export declare class Cases {
132
132
  */
133
133
  getSuggestedDepartmentV1(caseId: string, requestOptions?: Cases.RequestOptions): core.HttpResponsePromise<(string | null) | undefined>;
134
134
  private __getSuggestedDepartmentV1;
135
+ /**
136
+ * Sets the case's operator billing-review status. | authz: min_org_role=operator | (CaseSetBillingReviewStatusReq) -> (bool)
137
+ *
138
+ * @param {string} caseId
139
+ * @param {Chrt.operations.CaseSetBillingReviewStatusReq} request
140
+ * @param {Cases.RequestOptions} requestOptions - Request-specific configuration.
141
+ *
142
+ * @throws {@link Chrt.UnprocessableEntityError}
143
+ *
144
+ * @example
145
+ * await client.operations.cases.setBillingReviewStatusV1("case_id", {
146
+ * billing_review_status: "not_started"
147
+ * })
148
+ */
149
+ setBillingReviewStatusV1(caseId: string, request: Chrt.operations.CaseSetBillingReviewStatusReq, requestOptions?: Cases.RequestOptions): core.HttpResponsePromise<boolean>;
150
+ private __setBillingReviewStatusV1;
135
151
  /**
136
152
  * Adds operator(s) to a case. | authz: min_org_role=operator | (CaseAssignReq) -> (bool)
137
153
  *
@@ -476,6 +476,71 @@ export class Cases {
476
476
  }
477
477
  });
478
478
  }
479
+ /**
480
+ * Sets the case's operator billing-review status. | authz: min_org_role=operator | (CaseSetBillingReviewStatusReq) -> (bool)
481
+ *
482
+ * @param {string} caseId
483
+ * @param {Chrt.operations.CaseSetBillingReviewStatusReq} request
484
+ * @param {Cases.RequestOptions} requestOptions - Request-specific configuration.
485
+ *
486
+ * @throws {@link Chrt.UnprocessableEntityError}
487
+ *
488
+ * @example
489
+ * await client.operations.cases.setBillingReviewStatusV1("case_id", {
490
+ * billing_review_status: "not_started"
491
+ * })
492
+ */
493
+ setBillingReviewStatusV1(caseId, request, requestOptions) {
494
+ return core.HttpResponsePromise.fromPromise(this.__setBillingReviewStatusV1(caseId, request, requestOptions));
495
+ }
496
+ __setBillingReviewStatusV1(caseId, request, requestOptions) {
497
+ return __awaiter(this, void 0, void 0, function* () {
498
+ var _a, _b, _c, _d;
499
+ let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
500
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
501
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `operations/cases/set_billing_review_status/v1/${encodeURIComponent(caseId)}`),
502
+ method: "PATCH",
503
+ headers: _headers,
504
+ contentType: "application/json",
505
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
506
+ requestType: "json",
507
+ body: request,
508
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
509
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
510
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
511
+ });
512
+ if (_response.ok) {
513
+ return { data: _response.body, rawResponse: _response.rawResponse };
514
+ }
515
+ if (_response.error.reason === "status-code") {
516
+ switch (_response.error.statusCode) {
517
+ case 422:
518
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
519
+ default:
520
+ throw new errors.ChrtError({
521
+ statusCode: _response.error.statusCode,
522
+ body: _response.error.body,
523
+ rawResponse: _response.rawResponse,
524
+ });
525
+ }
526
+ }
527
+ switch (_response.error.reason) {
528
+ case "non-json":
529
+ throw new errors.ChrtError({
530
+ statusCode: _response.error.statusCode,
531
+ body: _response.error.rawBody,
532
+ rawResponse: _response.rawResponse,
533
+ });
534
+ case "timeout":
535
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /operations/cases/set_billing_review_status/v1/{case_id}.");
536
+ case "unknown":
537
+ throw new errors.ChrtError({
538
+ message: _response.error.errorMessage,
539
+ rawResponse: _response.rawResponse,
540
+ });
541
+ }
542
+ });
543
+ }
479
544
  /**
480
545
  * Adds operator(s) to a case. | authz: min_org_role=operator | (CaseAssignReq) -> (bool)
481
546
  *
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../../../../../../index.mjs";
5
+ /**
6
+ * @example
7
+ * {
8
+ * billing_review_status: "not_started"
9
+ * }
10
+ */
11
+ export interface CaseSetBillingReviewStatusReq {
12
+ billing_review_status: Chrt.BillingReviewStatusEnum;
13
+ }
@@ -1,5 +1,6 @@
1
1
  export { type CasesListV1Request } from "./CasesListV1Request.mjs";
2
2
  export { type CaseClientUpdate1 } from "./CaseClientUpdate1.mjs";
3
+ export { type CaseSetBillingReviewStatusReq } from "./CaseSetBillingReviewStatusReq.mjs";
3
4
  export { type CaseAssignReq } from "./CaseAssignReq.mjs";
4
5
  export { type CaseUnassignReq } from "./CaseUnassignReq.mjs";
5
6
  export { type CaseAddMessageReq } from "./CaseAddMessageReq.mjs";
@@ -11,6 +11,7 @@ import { ComplianceDocuments } from "../resources/complianceDocuments/client/Cli
11
11
  import { PrivateData } from "../resources/privateData/client/Client.mjs";
12
12
  import { OrgProfiles } from "../resources/orgProfiles/client/Client.mjs";
13
13
  import { PublicData } from "../resources/publicData/client/Client.mjs";
14
+ import { OffChrtVendor } from "../resources/offChrtVendor/client/Client.mjs";
14
15
  import { OrgInfoForConnections } from "../resources/orgInfoForConnections/client/Client.mjs";
15
16
  export declare namespace Orgs {
16
17
  interface Options {
@@ -44,6 +45,7 @@ export declare class Orgs {
44
45
  protected _privateData: PrivateData | undefined;
45
46
  protected _orgProfiles: OrgProfiles | undefined;
46
47
  protected _publicData: PublicData | undefined;
48
+ protected _offChrtVendor: OffChrtVendor | undefined;
47
49
  protected _orgInfoForConnections: OrgInfoForConnections | undefined;
48
50
  constructor(_options?: Orgs.Options);
49
51
  get connections(): Connections;
@@ -53,6 +55,7 @@ export declare class Orgs {
53
55
  get privateData(): PrivateData;
54
56
  get orgProfiles(): OrgProfiles;
55
57
  get publicData(): PublicData;
58
+ get offChrtVendor(): OffChrtVendor;
56
59
  get orgInfoForConnections(): OrgInfoForConnections;
57
60
  /**
58
61
  * Retrieves basic organization information from the authentication service. | () -> (OrgInfoResponse)
@@ -22,6 +22,7 @@ import { ComplianceDocuments } from "../resources/complianceDocuments/client/Cli
22
22
  import { PrivateData } from "../resources/privateData/client/Client.mjs";
23
23
  import { OrgProfiles } from "../resources/orgProfiles/client/Client.mjs";
24
24
  import { PublicData } from "../resources/publicData/client/Client.mjs";
25
+ import { OffChrtVendor } from "../resources/offChrtVendor/client/Client.mjs";
25
26
  import { OrgInfoForConnections } from "../resources/orgInfoForConnections/client/Client.mjs";
26
27
  export class Orgs {
27
28
  constructor(_options = {}) {
@@ -55,6 +56,10 @@ export class Orgs {
55
56
  var _a;
56
57
  return ((_a = this._publicData) !== null && _a !== void 0 ? _a : (this._publicData = new PublicData(this._options)));
57
58
  }
59
+ get offChrtVendor() {
60
+ var _a;
61
+ return ((_a = this._offChrtVendor) !== null && _a !== void 0 ? _a : (this._offChrtVendor = new OffChrtVendor(this._options)));
62
+ }
58
63
  get orgInfoForConnections() {
59
64
  var _a;
60
65
  return ((_a = this._orgInfoForConnections) !== null && _a !== void 0 ? _a : (this._orgInfoForConnections = new OrgInfoForConnections(this._options)));
@@ -6,6 +6,7 @@ export * as complianceDocuments from "./complianceDocuments/index.mjs";
6
6
  export * as privateData from "./privateData/index.mjs";
7
7
  export * as orgProfiles from "./orgProfiles/index.mjs";
8
8
  export * as publicData from "./publicData/index.mjs";
9
+ export * as offChrtVendor from "./offChrtVendor/index.mjs";
9
10
  export * as orgInfoForConnections from "./orgInfoForConnections/index.mjs";
10
11
  export * from "./connections/client/requests/index.mjs";
11
12
  export * from "./offChrtProviderOrg/client/requests/index.mjs";
@@ -13,3 +14,4 @@ export * from "./offChrtShipperOrg/client/requests/index.mjs";
13
14
  export * from "./complianceDocuments/client/requests/index.mjs";
14
15
  export * from "./orgProfiles/client/requests/index.mjs";
15
16
  export * from "./publicData/client/requests/index.mjs";
17
+ export * from "./offChrtVendor/client/requests/index.mjs";
@@ -6,6 +6,7 @@ export * as complianceDocuments from "./complianceDocuments/index.mjs";
6
6
  export * as privateData from "./privateData/index.mjs";
7
7
  export * as orgProfiles from "./orgProfiles/index.mjs";
8
8
  export * as publicData from "./publicData/index.mjs";
9
+ export * as offChrtVendor from "./offChrtVendor/index.mjs";
9
10
  export * as orgInfoForConnections from "./orgInfoForConnections/index.mjs";
10
11
  export * from "./connections/client/requests/index.mjs";
11
12
  export * from "./offChrtProviderOrg/client/requests/index.mjs";
@@ -13,3 +14,4 @@ export * from "./offChrtShipperOrg/client/requests/index.mjs";
13
14
  export * from "./complianceDocuments/client/requests/index.mjs";
14
15
  export * from "./orgProfiles/client/requests/index.mjs";
15
16
  export * from "./publicData/client/requests/index.mjs";
17
+ export * from "./offChrtVendor/client/requests/index.mjs";
@@ -0,0 +1,106 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as environments from "../../../../../../environments.mjs";
5
+ import * as core from "../../../../../../core/index.mjs";
6
+ import * as Chrt from "../../../../../index.mjs";
7
+ export declare namespace OffChrtVendor {
8
+ interface Options {
9
+ environment?: core.Supplier<environments.ChrtEnvironment | string>;
10
+ /** Specify a custom URL to connect the client to. */
11
+ baseUrl?: core.Supplier<string>;
12
+ token?: core.Supplier<core.BearerToken | undefined>;
13
+ /** Additional headers to include in requests. */
14
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
15
+ fetcher?: core.FetchFunction;
16
+ }
17
+ interface RequestOptions {
18
+ /** The maximum time to wait for a response in seconds. */
19
+ timeoutInSeconds?: number;
20
+ /** The number of times to retry the request. Defaults to 2. */
21
+ maxRetries?: number;
22
+ /** A hook to abort the request. */
23
+ abortSignal?: AbortSignal;
24
+ /** Additional query string parameters to include in the request. */
25
+ queryParams?: Record<string, unknown>;
26
+ /** Additional headers to include in the request. */
27
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
28
+ }
29
+ }
30
+ export declare class OffChrtVendor {
31
+ protected readonly _options: OffChrtVendor.Options;
32
+ constructor(_options?: OffChrtVendor.Options);
33
+ /**
34
+ * Creates an off-platform vendor shell owned by the caller's org. Used as an off-CHRT billing payment destination (e.g. an airline). | (OffChrtVendorClientCreate1) -> (PydanticObjectId)
35
+ *
36
+ * @param {Chrt.orgs.OffChrtVendorClientCreate1} request
37
+ * @param {OffChrtVendor.RequestOptions} requestOptions - Request-specific configuration.
38
+ *
39
+ * @throws {@link Chrt.UnprocessableEntityError}
40
+ *
41
+ * @example
42
+ * await client.orgs.offChrtVendor.createV1({
43
+ * schema_version: 1,
44
+ * name: "name"
45
+ * })
46
+ */
47
+ createV1(request: Chrt.orgs.OffChrtVendorClientCreate1, requestOptions?: OffChrtVendor.RequestOptions): core.HttpResponsePromise<string>;
48
+ private __createV1;
49
+ /**
50
+ * Lists all off-chrt vendors created by the caller's organization. Pagination only — no search/filter. | () -> (OffChrtVendorListRes)
51
+ *
52
+ * @param {Chrt.orgs.OffChrtVendorListV1Request} request
53
+ * @param {OffChrtVendor.RequestOptions} requestOptions - Request-specific configuration.
54
+ *
55
+ * @throws {@link Chrt.UnprocessableEntityError}
56
+ *
57
+ * @example
58
+ * await client.orgs.offChrtVendor.listV1({
59
+ * page: 1,
60
+ * page_size: 1
61
+ * })
62
+ */
63
+ listV1(request?: Chrt.orgs.OffChrtVendorListV1Request, requestOptions?: OffChrtVendor.RequestOptions): core.HttpResponsePromise<Chrt.OffChrtVendorListRes>;
64
+ private __listV1;
65
+ /**
66
+ * Retrieves a specific off-chrt vendor by ID. Scoped to the caller's org. | () -> (OffChrtVendor1)
67
+ *
68
+ * @param {string} id
69
+ * @param {OffChrtVendor.RequestOptions} requestOptions - Request-specific configuration.
70
+ *
71
+ * @throws {@link Chrt.UnprocessableEntityError}
72
+ *
73
+ * @example
74
+ * await client.orgs.offChrtVendor.getByIdV1("id")
75
+ */
76
+ getByIdV1(id: string, requestOptions?: OffChrtVendor.RequestOptions): core.HttpResponsePromise<Chrt.OffChrtVendor1>;
77
+ private __getByIdV1;
78
+ /**
79
+ * Deletes an off-chrt vendor owned by the caller's organization. Existing LineItemGroups / Statements keep their snapshotted destination id; deletion does not cascade. | () -> (bool)
80
+ *
81
+ * @param {string} id
82
+ * @param {OffChrtVendor.RequestOptions} requestOptions - Request-specific configuration.
83
+ *
84
+ * @throws {@link Chrt.UnprocessableEntityError}
85
+ *
86
+ * @example
87
+ * await client.orgs.offChrtVendor.deleteByIdV1("id")
88
+ */
89
+ deleteByIdV1(id: string, requestOptions?: OffChrtVendor.RequestOptions): core.HttpResponsePromise<boolean>;
90
+ private __deleteByIdV1;
91
+ /**
92
+ * Updates an existing off-chrt vendor owned by the caller's organization. | (OffChrtVendorClientUpdate1) -> (bool)
93
+ *
94
+ * @param {string} id
95
+ * @param {Chrt.orgs.OffChrtVendorClientUpdate1} request
96
+ * @param {OffChrtVendor.RequestOptions} requestOptions - Request-specific configuration.
97
+ *
98
+ * @throws {@link Chrt.UnprocessableEntityError}
99
+ *
100
+ * @example
101
+ * await client.orgs.offChrtVendor.updateByIdV1("id")
102
+ */
103
+ updateByIdV1(id: string, request?: Chrt.orgs.OffChrtVendorClientUpdate1, requestOptions?: OffChrtVendor.RequestOptions): core.HttpResponsePromise<boolean>;
104
+ private __updateByIdV1;
105
+ protected _getAuthorizationHeader(): Promise<string | undefined>;
106
+ }