@chrt-inc/typescript-sdk 1.935.0 → 1.949.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 (216) hide show
  1. package/dist/cjs/Client.js +2 -2
  2. package/dist/cjs/api/resources/shippingIntegrations/client/Client.d.ts +6 -0
  3. package/dist/cjs/api/resources/shippingIntegrations/client/Client.js +22 -12
  4. package/dist/cjs/api/resources/shippingIntegrations/resources/atlas/resources/orders/client/Client.d.ts +0 -16
  5. package/dist/cjs/api/resources/shippingIntegrations/resources/atlas/resources/orders/client/Client.js +0 -71
  6. package/dist/cjs/api/resources/shippingIntegrations/resources/atlas/resources/orders/client/requests/index.d.ts +0 -1
  7. package/dist/cjs/api/resources/shippingIntegrations/resources/ecourier/client/Client.d.ts +26 -0
  8. package/dist/cjs/api/resources/shippingIntegrations/resources/ecourier/client/Client.js +22 -0
  9. package/dist/cjs/api/resources/shippingIntegrations/resources/ecourier/client/index.d.ts +1 -0
  10. package/dist/cjs/api/resources/shippingIntegrations/resources/ecourier/client/index.js +2 -0
  11. package/dist/cjs/api/resources/shippingIntegrations/resources/ecourier/index.d.ts +2 -0
  12. package/dist/cjs/api/resources/shippingIntegrations/resources/ecourier/index.js +18 -0
  13. package/dist/cjs/api/resources/shippingIntegrations/resources/ecourier/resources/creds/client/Client.d.ts +119 -0
  14. package/dist/cjs/api/resources/shippingIntegrations/resources/ecourier/resources/creds/client/Client.js +430 -0
  15. package/dist/cjs/api/resources/shippingIntegrations/resources/ecourier/resources/creds/client/index.d.ts +2 -0
  16. package/dist/cjs/api/resources/shippingIntegrations/resources/ecourier/resources/creds/client/index.js +17 -0
  17. package/dist/cjs/api/resources/shippingIntegrations/resources/ecourier/resources/creds/client/requests/EcourierCredsClientCreate1.d.ts +26 -0
  18. package/dist/cjs/api/resources/shippingIntegrations/resources/ecourier/resources/creds/client/requests/EcourierCredsClientUpdate1.d.ts +15 -0
  19. package/dist/cjs/api/resources/shippingIntegrations/resources/ecourier/resources/creds/client/requests/index.d.ts +2 -0
  20. package/dist/cjs/api/resources/shippingIntegrations/resources/ecourier/resources/creds/client/requests/index.js +2 -0
  21. package/dist/cjs/api/resources/shippingIntegrations/resources/ecourier/resources/creds/index.d.ts +1 -0
  22. package/dist/cjs/api/resources/shippingIntegrations/resources/ecourier/resources/creds/index.js +17 -0
  23. package/dist/cjs/api/resources/shippingIntegrations/resources/ecourier/resources/index.d.ts +4 -0
  24. package/dist/cjs/api/resources/shippingIntegrations/resources/ecourier/resources/index.js +43 -0
  25. package/dist/cjs/api/resources/shippingIntegrations/resources/ecourier/resources/orders/client/Client.d.ts +104 -0
  26. package/dist/cjs/api/resources/shippingIntegrations/resources/ecourier/resources/orders/client/Client.js +371 -0
  27. package/dist/cjs/api/resources/shippingIntegrations/resources/ecourier/resources/orders/client/index.d.ts +2 -0
  28. package/dist/cjs/api/resources/shippingIntegrations/resources/ecourier/resources/orders/client/index.js +17 -0
  29. package/dist/cjs/api/resources/shippingIntegrations/resources/ecourier/resources/orders/client/requests/EcourierOrderSyncOneReq.d.ts +15 -0
  30. package/dist/cjs/api/resources/shippingIntegrations/resources/ecourier/resources/orders/client/requests/EcourierOrderSyncOneReq.js +5 -0
  31. package/dist/cjs/api/resources/shippingIntegrations/resources/ecourier/resources/orders/client/requests/OrdersListV1Request.d.ts +48 -0
  32. package/dist/cjs/api/resources/shippingIntegrations/resources/ecourier/resources/orders/client/requests/OrdersListV1Request.js +5 -0
  33. package/dist/cjs/api/resources/shippingIntegrations/resources/ecourier/resources/orders/client/requests/index.d.ts +2 -0
  34. package/dist/cjs/api/resources/shippingIntegrations/resources/ecourier/resources/orders/client/requests/index.js +2 -0
  35. package/dist/cjs/api/resources/shippingIntegrations/resources/ecourier/resources/orders/index.d.ts +1 -0
  36. package/dist/cjs/api/resources/shippingIntegrations/resources/ecourier/resources/orders/index.js +17 -0
  37. package/dist/cjs/api/resources/shippingIntegrations/resources/index.d.ts +2 -0
  38. package/dist/cjs/api/resources/shippingIntegrations/resources/index.js +3 -1
  39. package/dist/cjs/api/resources/shippingIntegrations/resources/integrationExecutors/client/Client.d.ts +44 -0
  40. package/dist/cjs/api/resources/shippingIntegrations/resources/integrationExecutors/client/Client.js +121 -0
  41. package/dist/cjs/api/resources/shippingIntegrations/resources/integrationExecutors/client/index.d.ts +1 -0
  42. package/dist/cjs/api/resources/shippingIntegrations/resources/integrationExecutors/client/index.js +2 -0
  43. package/dist/cjs/api/resources/shippingIntegrations/resources/integrationExecutors/index.d.ts +1 -0
  44. package/dist/cjs/api/resources/shippingIntegrations/resources/integrationExecutors/index.js +17 -0
  45. package/dist/cjs/api/resources/shippingIntegrations/resources/orders/client/Client.d.ts +35 -2
  46. package/dist/cjs/api/resources/shippingIntegrations/resources/orders/client/Client.js +152 -4
  47. package/dist/cjs/api/resources/shippingIntegrations/resources/orders/client/requests/OrdersListForIntegrationExecutorOperatorsV1Request.d.ts +54 -0
  48. package/dist/cjs/api/resources/shippingIntegrations/resources/orders/client/requests/OrdersListForIntegrationExecutorOperatorsV1Request.js +5 -0
  49. package/dist/cjs/api/resources/shippingIntegrations/resources/orders/client/requests/OrdersListV1Request.d.ts +6 -0
  50. package/dist/cjs/api/resources/shippingIntegrations/resources/orders/client/requests/OrdersStatusSummaryV1Request.d.ts +6 -0
  51. package/dist/cjs/api/resources/shippingIntegrations/resources/orders/client/requests/index.d.ts +1 -0
  52. package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/Client.d.ts +0 -16
  53. package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/Client.js +0 -71
  54. package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/requests/index.d.ts +0 -1
  55. package/dist/cjs/api/types/EcourierCredsLimited1.d.ts +29 -0
  56. package/dist/cjs/api/types/EcourierCredsLimited1.js +5 -0
  57. package/dist/cjs/api/types/EcourierCredsListRes.d.ts +8 -0
  58. package/dist/cjs/api/types/EcourierCredsListRes.js +5 -0
  59. package/dist/cjs/api/types/EcourierCredsTestRes.d.ts +11 -0
  60. package/dist/cjs/api/types/EcourierCredsTestRes.js +5 -0
  61. package/dist/cjs/api/types/EcourierOrder1.d.ts +19 -0
  62. package/dist/cjs/api/types/EcourierOrder1.js +5 -0
  63. package/dist/cjs/api/types/EcourierOrderCustomerResponse1.d.ts +16 -0
  64. package/dist/cjs/api/types/EcourierOrderCustomerResponse1.js +5 -0
  65. package/dist/cjs/api/types/EcourierOrderListRes.d.ts +8 -0
  66. package/dist/cjs/api/types/EcourierOrderListRes.js +5 -0
  67. package/dist/cjs/api/types/EcourierOrderResponse1.d.ts +43 -0
  68. package/dist/cjs/api/types/EcourierOrderResponse1.js +5 -0
  69. package/dist/cjs/api/types/EcourierOrderSortByEnum.d.ts +10 -0
  70. package/dist/cjs/api/types/EcourierOrderSortByEnum.js +12 -0
  71. package/dist/cjs/api/types/EcourierOrderStopResponse1.d.ts +27 -0
  72. package/dist/cjs/api/types/EcourierOrderStopResponse1.js +5 -0
  73. package/dist/cjs/api/types/FraytWebhookResponse.d.ts +7 -0
  74. package/dist/cjs/api/types/FraytWebhookResponse.js +5 -0
  75. package/dist/cjs/api/types/NotificationEventsForOrgsEnum.d.ts +6 -1
  76. package/dist/cjs/api/types/NotificationEventsForOrgsEnum.js +5 -0
  77. package/dist/cjs/api/types/NotificationEventsForUsersEnum.d.ts +6 -1
  78. package/dist/cjs/api/types/NotificationEventsForUsersEnum.js +5 -0
  79. package/dist/cjs/api/types/OrgShippingIntegrationEnum1.d.ts +2 -1
  80. package/dist/cjs/api/types/OrgShippingIntegrationEnum1.js +1 -0
  81. package/dist/cjs/api/types/ShippingIntegrationIntegrationExecutor.d.ts +17 -0
  82. package/dist/cjs/api/types/ShippingIntegrationIntegrationExecutor.js +5 -0
  83. package/dist/cjs/api/types/ShippingIntegrationIntegrationExecutorListRes.d.ts +8 -0
  84. package/dist/cjs/api/types/ShippingIntegrationIntegrationExecutorListRes.js +5 -0
  85. package/dist/cjs/api/types/ShippingIntegrationOrderCompletedAtProvenanceEnum1.d.ts +8 -0
  86. package/dist/cjs/api/types/ShippingIntegrationOrderCompletedAtProvenanceEnum1.js +10 -0
  87. package/dist/cjs/api/types/ShippingIntegrationOrderExpanded1.d.ts +3 -0
  88. package/dist/cjs/api/types/ShippingIntegrationOrderSortByEnum.d.ts +2 -1
  89. package/dist/cjs/api/types/ShippingIntegrationOrderSortByEnum.js +1 -0
  90. package/dist/cjs/api/types/ShippingIntegrationOrderStatusChange1.d.ts +17 -0
  91. package/dist/cjs/api/types/ShippingIntegrationOrderStatusChange1.js +5 -0
  92. package/dist/cjs/api/types/ShippingIntegrationOrderStatusChangedReq.d.ts +12 -0
  93. package/dist/cjs/api/types/ShippingIntegrationOrderStatusChangedReq.js +5 -0
  94. package/dist/cjs/api/types/ShippingIntegrationOrderStatusChangedRes.d.ts +6 -0
  95. package/dist/cjs/api/types/ShippingIntegrationOrderStatusChangedRes.js +5 -0
  96. package/dist/cjs/api/types/ShippingIntegrationOrderStatusChangedWebhookPayload.d.ts +37 -0
  97. package/dist/cjs/api/types/ShippingIntegrationOrderStatusChangedWebhookPayload.js +16 -0
  98. package/dist/cjs/api/types/ShippingIntegrationOrderTypeaheadFieldEnum.d.ts +5 -1
  99. package/dist/cjs/api/types/ShippingIntegrationOrderTypeaheadFieldEnum.js +5 -0
  100. package/dist/cjs/api/types/index.d.ts +17 -0
  101. package/dist/cjs/api/types/index.js +17 -0
  102. package/dist/cjs/version.d.ts +1 -1
  103. package/dist/cjs/version.js +1 -1
  104. package/dist/esm/Client.mjs +2 -2
  105. package/dist/esm/api/resources/shippingIntegrations/client/Client.d.mts +6 -0
  106. package/dist/esm/api/resources/shippingIntegrations/client/Client.mjs +10 -0
  107. package/dist/esm/api/resources/shippingIntegrations/resources/atlas/resources/orders/client/Client.d.mts +0 -16
  108. package/dist/esm/api/resources/shippingIntegrations/resources/atlas/resources/orders/client/Client.mjs +0 -71
  109. package/dist/esm/api/resources/shippingIntegrations/resources/atlas/resources/orders/client/requests/index.d.mts +0 -1
  110. package/dist/esm/api/resources/shippingIntegrations/resources/ecourier/client/Client.d.mts +26 -0
  111. package/dist/esm/api/resources/shippingIntegrations/resources/ecourier/client/Client.mjs +18 -0
  112. package/dist/esm/api/resources/shippingIntegrations/resources/ecourier/client/index.d.mts +1 -0
  113. package/dist/esm/api/resources/shippingIntegrations/resources/ecourier/client/index.mjs +1 -0
  114. package/dist/esm/api/resources/shippingIntegrations/resources/ecourier/index.d.mts +2 -0
  115. package/dist/esm/api/resources/shippingIntegrations/resources/ecourier/index.mjs +2 -0
  116. package/dist/esm/api/resources/shippingIntegrations/resources/ecourier/resources/creds/client/Client.d.mts +119 -0
  117. package/dist/esm/api/resources/shippingIntegrations/resources/ecourier/resources/creds/client/Client.mjs +393 -0
  118. package/dist/esm/api/resources/shippingIntegrations/resources/ecourier/resources/creds/client/index.d.mts +2 -0
  119. package/dist/esm/api/resources/shippingIntegrations/resources/ecourier/resources/creds/client/index.mjs +1 -0
  120. package/dist/esm/api/resources/shippingIntegrations/resources/ecourier/resources/creds/client/requests/EcourierCredsClientCreate1.d.mts +26 -0
  121. package/dist/esm/api/resources/shippingIntegrations/resources/ecourier/resources/creds/client/requests/EcourierCredsClientUpdate1.d.mts +15 -0
  122. package/dist/esm/api/resources/shippingIntegrations/resources/ecourier/resources/creds/client/requests/index.d.mts +2 -0
  123. package/dist/esm/api/resources/shippingIntegrations/resources/ecourier/resources/creds/client/requests/index.mjs +1 -0
  124. package/dist/esm/api/resources/shippingIntegrations/resources/ecourier/resources/creds/index.d.mts +1 -0
  125. package/dist/esm/api/resources/shippingIntegrations/resources/ecourier/resources/creds/index.mjs +1 -0
  126. package/dist/esm/api/resources/shippingIntegrations/resources/ecourier/resources/index.d.mts +4 -0
  127. package/dist/esm/api/resources/shippingIntegrations/resources/ecourier/resources/index.mjs +4 -0
  128. package/dist/esm/api/resources/shippingIntegrations/resources/ecourier/resources/orders/client/Client.d.mts +104 -0
  129. package/dist/esm/api/resources/shippingIntegrations/resources/ecourier/resources/orders/client/Client.mjs +334 -0
  130. package/dist/esm/api/resources/shippingIntegrations/resources/ecourier/resources/orders/client/index.d.mts +2 -0
  131. package/dist/esm/api/resources/shippingIntegrations/resources/ecourier/resources/orders/client/index.mjs +1 -0
  132. package/dist/esm/api/resources/shippingIntegrations/resources/ecourier/resources/orders/client/requests/EcourierOrderSyncOneReq.d.mts +15 -0
  133. package/dist/esm/api/resources/shippingIntegrations/resources/ecourier/resources/orders/client/requests/EcourierOrderSyncOneReq.mjs +4 -0
  134. package/dist/esm/api/resources/shippingIntegrations/resources/ecourier/resources/orders/client/requests/OrdersListV1Request.d.mts +48 -0
  135. package/dist/esm/api/resources/shippingIntegrations/resources/ecourier/resources/orders/client/requests/OrdersListV1Request.mjs +4 -0
  136. package/dist/esm/api/resources/shippingIntegrations/resources/ecourier/resources/orders/client/requests/index.d.mts +2 -0
  137. package/dist/esm/api/resources/shippingIntegrations/resources/ecourier/resources/orders/client/requests/index.mjs +1 -0
  138. package/dist/esm/api/resources/shippingIntegrations/resources/ecourier/resources/orders/index.d.mts +1 -0
  139. package/dist/esm/api/resources/shippingIntegrations/resources/ecourier/resources/orders/index.mjs +1 -0
  140. package/dist/esm/api/resources/shippingIntegrations/resources/index.d.mts +2 -0
  141. package/dist/esm/api/resources/shippingIntegrations/resources/index.mjs +2 -0
  142. package/dist/esm/api/resources/shippingIntegrations/resources/integrationExecutors/client/Client.d.mts +44 -0
  143. package/dist/esm/api/resources/shippingIntegrations/resources/integrationExecutors/client/Client.mjs +84 -0
  144. package/dist/esm/api/resources/shippingIntegrations/resources/integrationExecutors/client/index.d.mts +1 -0
  145. package/dist/esm/api/resources/shippingIntegrations/resources/integrationExecutors/client/index.mjs +1 -0
  146. package/dist/esm/api/resources/shippingIntegrations/resources/integrationExecutors/index.d.mts +1 -0
  147. package/dist/esm/api/resources/shippingIntegrations/resources/integrationExecutors/index.mjs +1 -0
  148. package/dist/esm/api/resources/shippingIntegrations/resources/orders/client/Client.d.mts +35 -2
  149. package/dist/esm/api/resources/shippingIntegrations/resources/orders/client/Client.mjs +152 -4
  150. package/dist/esm/api/resources/shippingIntegrations/resources/orders/client/requests/OrdersListForIntegrationExecutorOperatorsV1Request.d.mts +54 -0
  151. package/dist/esm/api/resources/shippingIntegrations/resources/orders/client/requests/OrdersListForIntegrationExecutorOperatorsV1Request.mjs +4 -0
  152. package/dist/esm/api/resources/shippingIntegrations/resources/orders/client/requests/OrdersListV1Request.d.mts +6 -0
  153. package/dist/esm/api/resources/shippingIntegrations/resources/orders/client/requests/OrdersStatusSummaryV1Request.d.mts +6 -0
  154. package/dist/esm/api/resources/shippingIntegrations/resources/orders/client/requests/index.d.mts +1 -0
  155. package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/Client.d.mts +0 -16
  156. package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/Client.mjs +0 -71
  157. package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/requests/index.d.mts +0 -1
  158. package/dist/esm/api/types/EcourierCredsLimited1.d.mts +29 -0
  159. package/dist/esm/api/types/EcourierCredsLimited1.mjs +4 -0
  160. package/dist/esm/api/types/EcourierCredsListRes.d.mts +8 -0
  161. package/dist/esm/api/types/EcourierCredsListRes.mjs +4 -0
  162. package/dist/esm/api/types/EcourierCredsTestRes.d.mts +11 -0
  163. package/dist/esm/api/types/EcourierCredsTestRes.mjs +4 -0
  164. package/dist/esm/api/types/EcourierOrder1.d.mts +19 -0
  165. package/dist/esm/api/types/EcourierOrder1.mjs +4 -0
  166. package/dist/esm/api/types/EcourierOrderCustomerResponse1.d.mts +16 -0
  167. package/dist/esm/api/types/EcourierOrderCustomerResponse1.mjs +4 -0
  168. package/dist/esm/api/types/EcourierOrderListRes.d.mts +8 -0
  169. package/dist/esm/api/types/EcourierOrderListRes.mjs +4 -0
  170. package/dist/esm/api/types/EcourierOrderResponse1.d.mts +43 -0
  171. package/dist/esm/api/types/EcourierOrderResponse1.mjs +4 -0
  172. package/dist/esm/api/types/EcourierOrderSortByEnum.d.mts +10 -0
  173. package/dist/esm/api/types/EcourierOrderSortByEnum.mjs +9 -0
  174. package/dist/esm/api/types/EcourierOrderStopResponse1.d.mts +27 -0
  175. package/dist/esm/api/types/EcourierOrderStopResponse1.mjs +4 -0
  176. package/dist/esm/api/types/FraytWebhookResponse.d.mts +7 -0
  177. package/dist/esm/api/types/FraytWebhookResponse.mjs +4 -0
  178. package/dist/esm/api/types/NotificationEventsForOrgsEnum.d.mts +6 -1
  179. package/dist/esm/api/types/NotificationEventsForOrgsEnum.mjs +5 -0
  180. package/dist/esm/api/types/NotificationEventsForUsersEnum.d.mts +6 -1
  181. package/dist/esm/api/types/NotificationEventsForUsersEnum.mjs +5 -0
  182. package/dist/esm/api/types/OrgShippingIntegrationEnum1.d.mts +2 -1
  183. package/dist/esm/api/types/OrgShippingIntegrationEnum1.mjs +1 -0
  184. package/dist/esm/api/types/ShippingIntegrationIntegrationExecutor.d.mts +17 -0
  185. package/dist/esm/api/types/ShippingIntegrationIntegrationExecutor.mjs +4 -0
  186. package/dist/esm/api/types/ShippingIntegrationIntegrationExecutorListRes.d.mts +8 -0
  187. package/dist/esm/api/types/ShippingIntegrationIntegrationExecutorListRes.mjs +4 -0
  188. package/dist/esm/api/types/ShippingIntegrationOrderCompletedAtProvenanceEnum1.d.mts +8 -0
  189. package/dist/esm/api/types/ShippingIntegrationOrderCompletedAtProvenanceEnum1.mjs +7 -0
  190. package/dist/esm/api/types/ShippingIntegrationOrderExpanded1.d.mts +3 -0
  191. package/dist/esm/api/types/ShippingIntegrationOrderSortByEnum.d.mts +2 -1
  192. package/dist/esm/api/types/ShippingIntegrationOrderSortByEnum.mjs +1 -0
  193. package/dist/esm/api/types/ShippingIntegrationOrderStatusChange1.d.mts +17 -0
  194. package/dist/esm/api/types/ShippingIntegrationOrderStatusChange1.mjs +4 -0
  195. package/dist/esm/api/types/ShippingIntegrationOrderStatusChangedReq.d.mts +12 -0
  196. package/dist/esm/api/types/ShippingIntegrationOrderStatusChangedReq.mjs +4 -0
  197. package/dist/esm/api/types/ShippingIntegrationOrderStatusChangedRes.d.mts +6 -0
  198. package/dist/esm/api/types/ShippingIntegrationOrderStatusChangedRes.mjs +4 -0
  199. package/dist/esm/api/types/ShippingIntegrationOrderStatusChangedWebhookPayload.d.mts +37 -0
  200. package/dist/esm/api/types/ShippingIntegrationOrderStatusChangedWebhookPayload.mjs +13 -0
  201. package/dist/esm/api/types/ShippingIntegrationOrderTypeaheadFieldEnum.d.mts +5 -1
  202. package/dist/esm/api/types/ShippingIntegrationOrderTypeaheadFieldEnum.mjs +4 -1
  203. package/dist/esm/api/types/index.d.mts +17 -0
  204. package/dist/esm/api/types/index.mjs +17 -0
  205. package/dist/esm/version.d.mts +1 -1
  206. package/dist/esm/version.mjs +1 -1
  207. package/package.json +1 -1
  208. package/reference.md +848 -162
  209. package/dist/cjs/api/resources/shippingIntegrations/resources/atlas/resources/orders/client/requests/OrdersTypeaheadV1Request.d.ts +0 -16
  210. package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/requests/OrdersTypeaheadV1Request.d.ts +0 -16
  211. package/dist/esm/api/resources/shippingIntegrations/resources/atlas/resources/orders/client/requests/OrdersTypeaheadV1Request.d.mts +0 -16
  212. package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/requests/OrdersTypeaheadV1Request.d.mts +0 -16
  213. /package/dist/cjs/api/resources/shippingIntegrations/resources/{atlas/resources/orders/client/requests/OrdersTypeaheadV1Request.js → ecourier/resources/creds/client/requests/EcourierCredsClientCreate1.js} +0 -0
  214. /package/dist/cjs/api/resources/shippingIntegrations/resources/{xcelerator/resources/orders/client/requests/OrdersTypeaheadV1Request.js → ecourier/resources/creds/client/requests/EcourierCredsClientUpdate1.js} +0 -0
  215. /package/dist/esm/api/resources/shippingIntegrations/resources/{atlas/resources/orders/client/requests/OrdersTypeaheadV1Request.mjs → ecourier/resources/creds/client/requests/EcourierCredsClientCreate1.mjs} +0 -0
  216. /package/dist/esm/api/resources/shippingIntegrations/resources/{xcelerator/resources/orders/client/requests/OrdersTypeaheadV1Request.mjs → ecourier/resources/creds/client/requests/EcourierCredsClientUpdate1.mjs} +0 -0
@@ -362,77 +362,6 @@ class Orders {
362
362
  }
363
363
  });
364
364
  }
365
- /**
366
- * Returns distinct Xcelerator integration order IDs matching the query via case-insensitive regex within the caller's organization. | authz: caller's organization scope | () -> (list[ShippingIntegrationOrderTypeaheadResult])
367
- *
368
- * @param {Chrt.shippingIntegrations.xcelerator.OrdersTypeaheadV1Request} request
369
- * @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
370
- *
371
- * @throws {@link Chrt.UnprocessableEntityError}
372
- *
373
- * @example
374
- * await client.shippingIntegrations.xcelerator.orders.typeaheadV1({
375
- * query: "query",
376
- * limit: 1
377
- * })
378
- */
379
- typeaheadV1(request, requestOptions) {
380
- return core.HttpResponsePromise.fromPromise(this.__typeaheadV1(request, requestOptions));
381
- }
382
- __typeaheadV1(request, requestOptions) {
383
- return __awaiter(this, void 0, void 0, function* () {
384
- var _a, _b, _c, _d, _e;
385
- const { query, limit } = request;
386
- const _queryParams = {};
387
- _queryParams["query"] = query;
388
- if (limit !== undefined) {
389
- _queryParams["limit"] = (_a = limit === null || limit === void 0 ? void 0 : limit.toString()) !== null && _a !== void 0 ? _a : null;
390
- }
391
- let _headers = (0, headers_js_1.mergeHeaders)((_b = this._options) === null || _b === void 0 ? void 0 : _b.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
392
- const _response = yield ((_c = this._options.fetcher) !== null && _c !== void 0 ? _c : core.fetcher)({
393
- url: core.url.join((_e = (_d = (yield core.Supplier.get(this._options.baseUrl))) !== null && _d !== void 0 ? _d : (yield core.Supplier.get(this._options.environment))) !== null && _e !== void 0 ? _e : environments.ChrtEnvironment.Local, "shipping_integrations/xcelerator/orders/typeahead/v1"),
394
- method: "GET",
395
- headers: _headers,
396
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
397
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
398
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
399
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
400
- });
401
- if (_response.ok) {
402
- return {
403
- data: _response.body,
404
- rawResponse: _response.rawResponse,
405
- };
406
- }
407
- if (_response.error.reason === "status-code") {
408
- switch (_response.error.statusCode) {
409
- case 422:
410
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
411
- default:
412
- throw new errors.ChrtError({
413
- statusCode: _response.error.statusCode,
414
- body: _response.error.body,
415
- rawResponse: _response.rawResponse,
416
- });
417
- }
418
- }
419
- switch (_response.error.reason) {
420
- case "non-json":
421
- throw new errors.ChrtError({
422
- statusCode: _response.error.statusCode,
423
- body: _response.error.rawBody,
424
- rawResponse: _response.rawResponse,
425
- });
426
- case "timeout":
427
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping_integrations/xcelerator/orders/typeahead/v1.");
428
- case "unknown":
429
- throw new errors.ChrtError({
430
- message: _response.error.errorMessage,
431
- rawResponse: _response.rawResponse,
432
- });
433
- }
434
- });
435
- }
436
365
  _getAuthorizationHeader() {
437
366
  return __awaiter(this, void 0, void 0, function* () {
438
367
  const bearer = yield core.Supplier.get(this._options.token);
@@ -1,3 +1,2 @@
1
1
  export { type OrdersListV1Request } from "./OrdersListV1Request.js";
2
2
  export { type XceleratorOrderSyncOneReq } from "./XceleratorOrderSyncOneReq.js";
3
- export { type OrdersTypeaheadV1Request } from "./OrdersTypeaheadV1Request.js";
@@ -0,0 +1,29 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * The only shape of an e-Courier credential a user is ever allowed to receive.
6
+ */
7
+ export interface EcourierCredsLimited1 {
8
+ _id: string;
9
+ active?: boolean;
10
+ /** Origin of the courier's e-Courier host, with no path. The request path is derived from `ecourier_database`. */
11
+ base_url: string;
12
+ created_at_timestamp: string;
13
+ ecourier_customer_code: string;
14
+ ecourier_customer_id: string;
15
+ ecourier_database: string;
16
+ high_water_mark_timestamp?: string | null;
17
+ notes?: string | null;
18
+ /** Must be a string starting with `org_` */
19
+ org_id: string;
20
+ /** Must be a string starting with `user_` */
21
+ owned_by_user_id: string;
22
+ provider_account_label?: string | null;
23
+ /** Must be a string starting with `org_` */
24
+ provider_org_id: string;
25
+ schema_version: number;
26
+ shipping_integration: "ecourier";
27
+ updated_at_timestamp: string;
28
+ username: string;
29
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.js";
5
+ export interface EcourierCredsListRes {
6
+ items: Chrt.EcourierCredsLimited1[];
7
+ total_count: number;
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Result of testing whether a stored e-Courier credential still works.
6
+ */
7
+ export interface EcourierCredsTestRes {
8
+ failure_reason?: string | null;
9
+ ok: boolean;
10
+ provider_account_label?: string | null;
11
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,19 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.js";
5
+ export interface EcourierOrder1 {
6
+ _id: string;
7
+ created_at_timestamp: string;
8
+ integration_order_id: string;
9
+ mirrored_at_timestamp: string;
10
+ /** Must be a string starting with `org_` */
11
+ org_id: string;
12
+ /** Must be a string starting with `org_` */
13
+ provider_org_id: string;
14
+ provider_payload: Chrt.EcourierOrderResponse1;
15
+ provider_payload_hash: string;
16
+ schema_version: number;
17
+ shipping_integration: "ecourier";
18
+ updated_at_timestamp: string;
19
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * The customer an order belongs to.
6
+ *
7
+ * This is what the customer check reads. `FindOrder`'s `CustomerCode` filter is
8
+ * undocumented, so the sync asserts `customer_code` here on every
9
+ * hydrated order before persisting it, keeping the mirror to our customer's
10
+ * orders rather than trusting the query.
11
+ */
12
+ export interface EcourierOrderCustomerResponse1 {
13
+ "@CustomerCode"?: string | null;
14
+ "@CustomerID"?: string | null;
15
+ "@Name"?: string | null;
16
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.js";
5
+ export interface EcourierOrderListRes {
6
+ items: Chrt.EcourierOrder1[];
7
+ total_count: number;
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,43 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.js";
5
+ /**
6
+ * One e-Courier order, including caller contact details and POD signoff.
7
+ *
8
+ * `@UserGUID` and `OrderEvents` are the only attributes deliberately absent,
9
+ * and never to be added. See the module docstring.
10
+ */
11
+ export interface EcourierOrderResponse1 {
12
+ "@AmountCharged"?: string | null;
13
+ "@Auth"?: string | null;
14
+ "@Caller"?: string | null;
15
+ "@CallerEmail"?: string | null;
16
+ "@CallerPhone"?: string | null;
17
+ "@CreateDate"?: string | null;
18
+ "@CreateUserName"?: string | null;
19
+ "@CustomerID"?: string | null;
20
+ "@DeliveredDateTime"?: string | null;
21
+ "@DispatchDateTime"?: string | null;
22
+ "@DueDateTime"?: string | null;
23
+ "@InvoiceStatus"?: string | null;
24
+ "@LastChanged"?: string | null;
25
+ "@OperationalStatus"?: string | null;
26
+ "@OrderAlias"?: string | null;
27
+ "@OrderDate"?: string | null;
28
+ "@OrderGUID"?: string | null;
29
+ "@OrderID"?: string | null;
30
+ "@OrderNumber"?: string | null;
31
+ "@OrderStatus"?: string | null;
32
+ "@PickedUpDateTime"?: string | null;
33
+ "@Pieces"?: string | null;
34
+ "@PodDateTime"?: string | null;
35
+ "@PodName"?: string | null;
36
+ "@Service"?: string | null;
37
+ "@ServiceDesc"?: string | null;
38
+ "@SiteCode"?: string | null;
39
+ "@TotalMiles"?: string | null;
40
+ "@Weight"?: string | null;
41
+ Customer?: Chrt.EcourierOrderCustomerResponse1 | null;
42
+ Stops?: Chrt.EcourierOrderStopResponse1[];
43
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type EcourierOrderSortByEnum = "mirrored_at_timestamp" | "created_at_timestamp" | "updated_at_timestamp" | "integration_order_id";
5
+ export declare const EcourierOrderSortByEnum: {
6
+ readonly MirroredAtTimestamp: "mirrored_at_timestamp";
7
+ readonly CreatedAtTimestamp: "created_at_timestamp";
8
+ readonly UpdatedAtTimestamp: "updated_at_timestamp";
9
+ readonly IntegrationOrderId: "integration_order_id";
10
+ };
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.EcourierOrderSortByEnum = void 0;
7
+ exports.EcourierOrderSortByEnum = {
8
+ MirroredAtTimestamp: "mirrored_at_timestamp",
9
+ CreatedAtTimestamp: "created_at_timestamp",
10
+ UpdatedAtTimestamp: "updated_at_timestamp",
11
+ IntegrationOrderId: "integration_order_id",
12
+ };
@@ -0,0 +1,27 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * One stop on an order.
6
+ *
7
+ * `stop_type` is the authoritative origin/destination marker: `P` for pickup,
8
+ * `D` for delivery. No sequence-number inference is needed, which is
9
+ * cleaner than most integrations give us.
10
+ */
11
+ export interface EcourierOrderStopResponse1 {
12
+ "@Address"?: string | null;
13
+ "@City"?: string | null;
14
+ "@Country"?: string | null;
15
+ "@Latitude"?: string | null;
16
+ "@Longitude"?: string | null;
17
+ "@Name"?: string | null;
18
+ "@Pieces"?: string | null;
19
+ "@ScheduledDateTime"?: string | null;
20
+ "@ScheduledDateTimeTZ"?: string | null;
21
+ "@Sequence"?: string | null;
22
+ "@State"?: string | null;
23
+ "@StopID"?: string | null;
24
+ "@StopType"?: string | null;
25
+ "@Weight"?: string | null;
26
+ "@Zip"?: string | null;
27
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface FraytWebhookResponse {
5
+ message: string;
6
+ success: boolean;
7
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -6,7 +6,7 @@
6
6
  * Controlled by Groups that admins configure.
7
7
  * Individual users in the group can opt out.
8
8
  */
9
- export type NotificationEventsForOrgsEnum = "shipping.order.staged" | "shipping.order.completed" | "shipping.order.cancelled" | "shipping.task_group.provider_assigned" | "shipping.task_group.in_progress" | "shipping.task_group.file_added" | "shipping.task_group.driver_assigned" | "shipping.task_group.message" | "shipping.task_group.tasks_ordering_updated" | "shipping.task_group.flight_info_updated" | "shipping.task.added" | "shipping.task.attempted" | "shipping.task.completed" | "shipping.task.skipped" | "shipping.task.deleted" | "shipping.task.task_artifact_completed" | "shipping.task.executor_org_note_added" | "listing.listing.driver_invited_to_bid" | "listing.listing.provider_invited_to_bid" | "listing.bid_thread.action_added" | "operations.order.operator_assigned" | "operations.order.department_assigned" | "operations.order_internal_messages.message" | "operations.order_internal_messages.file_added" | "billing.invoice.approved" | "tracking.session.geofence_entered";
9
+ export type NotificationEventsForOrgsEnum = "shipping.order.staged" | "shipping.order.completed" | "shipping.order.cancelled" | "shipping.task_group.provider_assigned" | "shipping.task_group.in_progress" | "shipping.task_group.file_added" | "shipping.task_group.driver_assigned" | "shipping.task_group.message" | "shipping.task_group.tasks_ordering_updated" | "shipping.task_group.flight_info_updated" | "shipping.task.added" | "shipping.task.attempted" | "shipping.task.completed" | "shipping.task.skipped" | "shipping.task.deleted" | "shipping.task.task_artifact_completed" | "shipping.task.executor_org_note_added" | "listing.listing.driver_invited_to_bid" | "listing.listing.provider_invited_to_bid" | "listing.bid_thread.action_added" | "operations.order.operator_assigned" | "operations.order.department_assigned" | "operations.order_internal_messages.message" | "operations.order_internal_messages.file_added" | "billing.invoice.approved" | "tracking.session.geofence_entered" | "shipping_integration.order.staged" | "shipping_integration.order.in_progress" | "shipping_integration.order.completed" | "shipping_integration.order.exception" | "shipping_integration.order.cancelled";
10
10
  export declare const NotificationEventsForOrgsEnum: {
11
11
  readonly ShippingOrderStaged: "shipping.order.staged";
12
12
  readonly ShippingOrderCompleted: "shipping.order.completed";
@@ -34,4 +34,9 @@ export declare const NotificationEventsForOrgsEnum: {
34
34
  readonly OperationsOrderInternalMessagesFileAdded: "operations.order_internal_messages.file_added";
35
35
  readonly BillingInvoiceApproved: "billing.invoice.approved";
36
36
  readonly TrackingSessionGeofenceEntered: "tracking.session.geofence_entered";
37
+ readonly ShippingIntegrationOrderStaged: "shipping_integration.order.staged";
38
+ readonly ShippingIntegrationOrderInProgress: "shipping_integration.order.in_progress";
39
+ readonly ShippingIntegrationOrderCompleted: "shipping_integration.order.completed";
40
+ readonly ShippingIntegrationOrderException: "shipping_integration.order.exception";
41
+ readonly ShippingIntegrationOrderCancelled: "shipping_integration.order.cancelled";
37
42
  };
@@ -31,4 +31,9 @@ exports.NotificationEventsForOrgsEnum = {
31
31
  OperationsOrderInternalMessagesFileAdded: "operations.order_internal_messages.file_added",
32
32
  BillingInvoiceApproved: "billing.invoice.approved",
33
33
  TrackingSessionGeofenceEntered: "tracking.session.geofence_entered",
34
+ ShippingIntegrationOrderStaged: "shipping_integration.order.staged",
35
+ ShippingIntegrationOrderInProgress: "shipping_integration.order.in_progress",
36
+ ShippingIntegrationOrderCompleted: "shipping_integration.order.completed",
37
+ ShippingIntegrationOrderException: "shipping_integration.order.exception",
38
+ ShippingIntegrationOrderCancelled: "shipping_integration.order.cancelled",
34
39
  };
@@ -8,7 +8,7 @@
8
8
  * - Order events: via `order.created_by_user_id`
9
9
  * - TaskGroup events: via `task_group.driver_id`
10
10
  */
11
- export type NotificationEventsForUsersEnum = "shipping.order.staged" | "shipping.order.completed" | "shipping.order.cancelled" | "shipping.task_group.driver_assigned" | "shipping.task_group.message" | "shipping.task_group.tasks_ordering_updated" | "shipping.task_group.flight_info_updated" | "shipping.task.executor_org_note_added" | "listing.listing.driver_invited_to_bid" | "listing.bid_thread.action_added" | "operations.order.operator_assigned" | "operations.order.department_assigned" | "operations.order_internal_messages.message" | "operations.order_internal_messages.file_added" | "billing.invoice.approved" | "tracking.session.geofence_entered";
11
+ export type NotificationEventsForUsersEnum = "shipping.order.staged" | "shipping.order.completed" | "shipping.order.cancelled" | "shipping.task_group.driver_assigned" | "shipping.task_group.message" | "shipping.task_group.tasks_ordering_updated" | "shipping.task_group.flight_info_updated" | "shipping.task.executor_org_note_added" | "listing.listing.driver_invited_to_bid" | "listing.bid_thread.action_added" | "operations.order.operator_assigned" | "operations.order.department_assigned" | "operations.order_internal_messages.message" | "operations.order_internal_messages.file_added" | "billing.invoice.approved" | "tracking.session.geofence_entered" | "shipping_integration.order.staged" | "shipping_integration.order.in_progress" | "shipping_integration.order.completed" | "shipping_integration.order.exception" | "shipping_integration.order.cancelled";
12
12
  export declare const NotificationEventsForUsersEnum: {
13
13
  readonly ShippingOrderStaged: "shipping.order.staged";
14
14
  readonly ShippingOrderCompleted: "shipping.order.completed";
@@ -26,4 +26,9 @@ export declare const NotificationEventsForUsersEnum: {
26
26
  readonly OperationsOrderInternalMessagesFileAdded: "operations.order_internal_messages.file_added";
27
27
  readonly BillingInvoiceApproved: "billing.invoice.approved";
28
28
  readonly TrackingSessionGeofenceEntered: "tracking.session.geofence_entered";
29
+ readonly ShippingIntegrationOrderStaged: "shipping_integration.order.staged";
30
+ readonly ShippingIntegrationOrderInProgress: "shipping_integration.order.in_progress";
31
+ readonly ShippingIntegrationOrderCompleted: "shipping_integration.order.completed";
32
+ readonly ShippingIntegrationOrderException: "shipping_integration.order.exception";
33
+ readonly ShippingIntegrationOrderCancelled: "shipping_integration.order.cancelled";
29
34
  };
@@ -21,4 +21,9 @@ exports.NotificationEventsForUsersEnum = {
21
21
  OperationsOrderInternalMessagesFileAdded: "operations.order_internal_messages.file_added",
22
22
  BillingInvoiceApproved: "billing.invoice.approved",
23
23
  TrackingSessionGeofenceEntered: "tracking.session.geofence_entered",
24
+ ShippingIntegrationOrderStaged: "shipping_integration.order.staged",
25
+ ShippingIntegrationOrderInProgress: "shipping_integration.order.in_progress",
26
+ ShippingIntegrationOrderCompleted: "shipping_integration.order.completed",
27
+ ShippingIntegrationOrderException: "shipping_integration.order.exception",
28
+ ShippingIntegrationOrderCancelled: "shipping_integration.order.cancelled",
24
29
  };
@@ -1,11 +1,12 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export type OrgShippingIntegrationEnum1 = "xcelerator" | "dispatch_science" | "ontime360" | "cxt" | "atlas";
4
+ export type OrgShippingIntegrationEnum1 = "xcelerator" | "dispatch_science" | "ontime360" | "cxt" | "atlas" | "ecourier";
5
5
  export declare const OrgShippingIntegrationEnum1: {
6
6
  readonly Xcelerator: "xcelerator";
7
7
  readonly DispatchScience: "dispatch_science";
8
8
  readonly Ontime360: "ontime360";
9
9
  readonly Cxt: "cxt";
10
10
  readonly Atlas: "atlas";
11
+ readonly Ecourier: "ecourier";
11
12
  };
@@ -10,4 +10,5 @@ exports.OrgShippingIntegrationEnum1 = {
10
10
  Ontime360: "ontime360",
11
11
  Cxt: "cxt",
12
12
  Atlas: "atlas",
13
+ Ecourier: "ecourier",
13
14
  };
@@ -0,0 +1,17 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.js";
5
+ /**
6
+ * A distinct integration executor organization configured across shipping integrations.
7
+ *
8
+ * Deliberately carries no credentials or secrets: provides the public identity
9
+ * and the list of shipping integrations the executor org is connected with.
10
+ */
11
+ export interface ShippingIntegrationIntegrationExecutor {
12
+ integration_executor_org?: Chrt.OrgPublicData1 | null;
13
+ /** Must be a string starting with `org_` */
14
+ integration_executor_org_id: string;
15
+ integration_executor_org_name?: string | null;
16
+ integrations?: Chrt.OrgShippingIntegrationEnum1[];
17
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.js";
5
+ export interface ShippingIntegrationIntegrationExecutorListRes {
6
+ items: Chrt.ShippingIntegrationIntegrationExecutor[];
7
+ total_count: number;
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type ShippingIntegrationOrderCompletedAtProvenanceEnum1 = "reported" | "derived";
5
+ export declare const ShippingIntegrationOrderCompletedAtProvenanceEnum1: {
6
+ readonly Reported: "reported";
7
+ readonly Derived: "derived";
8
+ };
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.ShippingIntegrationOrderCompletedAtProvenanceEnum1 = void 0;
7
+ exports.ShippingIntegrationOrderCompletedAtProvenanceEnum1 = {
8
+ Reported: "reported",
9
+ Derived: "derived",
10
+ };
@@ -4,6 +4,8 @@
4
4
  import * as Chrt from "../index.js";
5
5
  export interface ShippingIntegrationOrderExpanded1 {
6
6
  _id: string;
7
+ completed_at_provenance?: Chrt.ShippingIntegrationOrderCompletedAtProvenanceEnum1 | null;
8
+ completed_at_timestamp?: string | null;
7
9
  destination?: Chrt.ShippingIntegrationOrderPlace1 | null;
8
10
  first_mirrored_at_timestamp: string;
9
11
  integration_order_id: string;
@@ -18,6 +20,7 @@ export interface ShippingIntegrationOrderExpanded1 {
18
20
  provider_status_raw?: string | null;
19
21
  reference_numbers?: string[];
20
22
  schema_version: number;
23
+ shipper_org?: Chrt.OrgPublicData1 | null;
21
24
  shipping_integration: Chrt.OrgShippingIntegrationEnum1;
22
25
  source_provider_payload_hash: string;
23
26
  status: Chrt.ShippingIntegrationOrderStatusEnum1;
@@ -1,9 +1,10 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export type ShippingIntegrationOrderSortByEnum = "ordered_at_timestamp" | "last_mirrored_at_timestamp" | "first_mirrored_at_timestamp" | "status";
4
+ export type ShippingIntegrationOrderSortByEnum = "ordered_at_timestamp" | "completed_at_timestamp" | "last_mirrored_at_timestamp" | "first_mirrored_at_timestamp" | "status";
5
5
  export declare const ShippingIntegrationOrderSortByEnum: {
6
6
  readonly OrderedAtTimestamp: "ordered_at_timestamp";
7
+ readonly CompletedAtTimestamp: "completed_at_timestamp";
7
8
  readonly LastMirroredAtTimestamp: "last_mirrored_at_timestamp";
8
9
  readonly FirstMirroredAtTimestamp: "first_mirrored_at_timestamp";
9
10
  readonly Status: "status";
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.ShippingIntegrationOrderSortByEnum = void 0;
7
7
  exports.ShippingIntegrationOrderSortByEnum = {
8
8
  OrderedAtTimestamp: "ordered_at_timestamp",
9
+ CompletedAtTimestamp: "completed_at_timestamp",
9
10
  LastMirroredAtTimestamp: "last_mirrored_at_timestamp",
10
11
  FirstMirroredAtTimestamp: "first_mirrored_at_timestamp",
11
12
  Status: "status",
@@ -0,0 +1,17 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.js";
5
+ export interface ShippingIntegrationOrderStatusChange1 {
6
+ integration_order_id: string;
7
+ new_status: Chrt.ShippingIntegrationOrderStatusEnum1;
8
+ /** Must be a string starting with `org_` */
9
+ org_id: string;
10
+ previous_status?: Chrt.ShippingIntegrationOrderStatusEnum1 | null;
11
+ /** Must be a string starting with `org_` */
12
+ provider_org_id: string;
13
+ reference_numbers?: string[];
14
+ shipping_integration: Chrt.OrgShippingIntegrationEnum1;
15
+ shipping_integration_order_id: string;
16
+ timestamp: string;
17
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.js";
5
+ export interface ShippingIntegrationOrderStatusChangedReq {
6
+ /** Must be a string starting with `org_` */
7
+ org_id: string;
8
+ /** Must be a string starting with `org_` */
9
+ provider_org_id: string;
10
+ shipping_integration: Chrt.OrgShippingIntegrationEnum1;
11
+ status_changes?: Chrt.ShippingIntegrationOrderStatusChange1[];
12
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface ShippingIntegrationOrderStatusChangedRes {
5
+ dispatched_count: number;
6
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });