@chrt-inc/typescript-sdk 1.1000.0 → 1.1002.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 (190) hide show
  1. package/dist/cjs/Client.js +2 -2
  2. package/dist/cjs/api/resources/shippingIntegrations/client/Client.d.ts +3 -0
  3. package/dist/cjs/api/resources/shippingIntegrations/client/Client.js +15 -10
  4. package/dist/cjs/api/resources/shippingIntegrations/resources/courie/client/Client.d.ts +26 -0
  5. package/dist/cjs/api/resources/shippingIntegrations/resources/courie/client/Client.js +22 -0
  6. package/dist/cjs/api/resources/shippingIntegrations/resources/courie/client/index.d.ts +1 -0
  7. package/dist/cjs/api/resources/shippingIntegrations/resources/courie/client/index.js +2 -0
  8. package/dist/cjs/api/resources/shippingIntegrations/resources/courie/index.d.ts +2 -0
  9. package/dist/cjs/api/resources/shippingIntegrations/resources/courie/index.js +18 -0
  10. package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/creds/client/Client.d.ts +115 -0
  11. package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/creds/client/Client.js +426 -0
  12. package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/creds/client/index.d.ts +2 -0
  13. package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/creds/client/index.js +17 -0
  14. package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/creds/client/requests/CourieCredsClientCreate1.d.ts +18 -0
  15. package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/creds/client/requests/CourieCredsClientCreate1.js +5 -0
  16. package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/creds/client/requests/CourieCredsClientUpdate1.d.ts +15 -0
  17. package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/creds/client/requests/CourieCredsClientUpdate1.js +5 -0
  18. package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/creds/client/requests/index.d.ts +2 -0
  19. package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/creds/client/requests/index.js +2 -0
  20. package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/creds/index.d.ts +1 -0
  21. package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/creds/index.js +17 -0
  22. package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/index.d.ts +4 -0
  23. package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/index.js +43 -0
  24. package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/orders/client/Client.d.ts +105 -0
  25. package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/orders/client/Client.js +375 -0
  26. package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/orders/client/index.d.ts +2 -0
  27. package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/orders/client/index.js +17 -0
  28. package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/orders/client/requests/CourieOrderSyncOneReq.d.ts +15 -0
  29. package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/orders/client/requests/CourieOrderSyncOneReq.js +5 -0
  30. package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/orders/client/requests/OrdersListV1Request.d.ts +51 -0
  31. package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/orders/client/requests/OrdersListV1Request.js +5 -0
  32. package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/orders/client/requests/index.d.ts +2 -0
  33. package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/orders/client/requests/index.js +2 -0
  34. package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/orders/index.d.ts +1 -0
  35. package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/orders/index.js +17 -0
  36. package/dist/cjs/api/resources/shippingIntegrations/resources/index.d.ts +1 -0
  37. package/dist/cjs/api/resources/shippingIntegrations/resources/index.js +2 -1
  38. package/dist/cjs/api/types/CourieAddressResponse1.d.ts +16 -0
  39. package/dist/cjs/api/types/CourieAddressResponse1.js +5 -0
  40. package/dist/cjs/api/types/CourieAttemptReasonResponse1.d.ts +9 -0
  41. package/dist/cjs/api/types/CourieAttemptReasonResponse1.js +5 -0
  42. package/dist/cjs/api/types/CourieCredsLimited1.d.ts +24 -0
  43. package/dist/cjs/api/types/CourieCredsLimited1.js +5 -0
  44. package/dist/cjs/api/types/CourieCredsListRes.d.ts +8 -0
  45. package/dist/cjs/api/types/CourieCredsListRes.js +5 -0
  46. package/dist/cjs/api/types/CourieCredsTestRes.d.ts +10 -0
  47. package/dist/cjs/api/types/CourieCredsTestRes.js +5 -0
  48. package/dist/cjs/api/types/CourieCustomFieldResponse1.d.ts +10 -0
  49. package/dist/cjs/api/types/CourieCustomFieldResponse1.js +5 -0
  50. package/dist/cjs/api/types/CourieDriverAnswerResponse1.d.ts +11 -0
  51. package/dist/cjs/api/types/CourieDriverAnswerResponse1.js +5 -0
  52. package/dist/cjs/api/types/CourieDriverResponse1.d.ts +9 -0
  53. package/dist/cjs/api/types/CourieDriverResponse1.js +5 -0
  54. package/dist/cjs/api/types/CourieLatLngResponse1.d.ts +10 -0
  55. package/dist/cjs/api/types/CourieLatLngResponse1.js +5 -0
  56. package/dist/cjs/api/types/CourieLocationScanResponse1.d.ts +9 -0
  57. package/dist/cjs/api/types/CourieLocationScanResponse1.js +5 -0
  58. package/dist/cjs/api/types/CourieOrder1.d.ts +19 -0
  59. package/dist/cjs/api/types/CourieOrder1.js +5 -0
  60. package/dist/cjs/api/types/CourieOrderEventEnum1.d.ts +18 -0
  61. package/dist/cjs/api/types/CourieOrderEventEnum1.js +14 -0
  62. package/dist/cjs/api/types/CourieOrderEventResponse1.d.ts +11 -0
  63. package/dist/cjs/api/types/CourieOrderEventResponse1.js +5 -0
  64. package/dist/cjs/api/types/CourieOrderListRes.d.ts +8 -0
  65. package/dist/cjs/api/types/CourieOrderListRes.js +5 -0
  66. package/dist/cjs/api/types/CourieOrderResponse1.d.ts +42 -0
  67. package/dist/cjs/api/types/CourieOrderResponse1.js +5 -0
  68. package/dist/cjs/api/types/CourieOrderSortByEnum.d.ts +10 -0
  69. package/dist/cjs/api/types/CourieOrderSortByEnum.js +12 -0
  70. package/dist/cjs/api/types/CourieOrderStatusEnum1.d.ts +21 -0
  71. package/dist/cjs/api/types/CourieOrderStatusEnum1.js +16 -0
  72. package/dist/cjs/api/types/CouriePackageItemResponse1.d.ts +19 -0
  73. package/dist/cjs/api/types/CouriePackageItemResponse1.js +5 -0
  74. package/dist/cjs/api/types/CouriePackageResponse1.d.ts +9 -0
  75. package/dist/cjs/api/types/CouriePackageResponse1.js +5 -0
  76. package/dist/cjs/api/types/CourieProofOfDeliveryResponse1.d.ts +11 -0
  77. package/dist/cjs/api/types/CourieProofOfDeliveryResponse1.js +5 -0
  78. package/dist/cjs/api/types/CourieStopAttemptResponse1.d.ts +10 -0
  79. package/dist/cjs/api/types/CourieStopAttemptResponse1.js +5 -0
  80. package/dist/cjs/api/types/CourieStopResponse1.d.ts +29 -0
  81. package/dist/cjs/api/types/CourieStopResponse1.js +5 -0
  82. package/dist/cjs/api/types/CourieStopTypeEnum1.d.ts +8 -0
  83. package/dist/cjs/api/types/CourieStopTypeEnum1.js +10 -0
  84. package/dist/cjs/api/types/DriverComplianceDocumentS3ObjectMetadata1.d.ts +2 -0
  85. package/dist/cjs/api/types/OrderInternalMessageS3ObjectMetadata1.d.ts +2 -0
  86. package/dist/cjs/api/types/OrgComplianceDocumentS3ObjectMetadata1.d.ts +2 -0
  87. package/dist/cjs/api/types/OrgShippingIntegrationEnum1.d.ts +2 -1
  88. package/dist/cjs/api/types/OrgShippingIntegrationEnum1.js +1 -0
  89. package/dist/cjs/api/types/TaskArtifactS3ObjectMetadata1.d.ts +2 -0
  90. package/dist/cjs/api/types/TaskGroupS3ObjectMetadata1.d.ts +2 -0
  91. package/dist/cjs/api/types/index.d.ts +23 -0
  92. package/dist/cjs/api/types/index.js +23 -0
  93. package/dist/cjs/version.d.ts +1 -1
  94. package/dist/cjs/version.js +1 -1
  95. package/dist/esm/Client.mjs +2 -2
  96. package/dist/esm/api/resources/shippingIntegrations/client/Client.d.mts +3 -0
  97. package/dist/esm/api/resources/shippingIntegrations/client/Client.mjs +5 -0
  98. package/dist/esm/api/resources/shippingIntegrations/resources/courie/client/Client.d.mts +26 -0
  99. package/dist/esm/api/resources/shippingIntegrations/resources/courie/client/Client.mjs +18 -0
  100. package/dist/esm/api/resources/shippingIntegrations/resources/courie/client/index.d.mts +1 -0
  101. package/dist/esm/api/resources/shippingIntegrations/resources/courie/client/index.mjs +1 -0
  102. package/dist/esm/api/resources/shippingIntegrations/resources/courie/index.d.mts +2 -0
  103. package/dist/esm/api/resources/shippingIntegrations/resources/courie/index.mjs +2 -0
  104. package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/creds/client/Client.d.mts +115 -0
  105. package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/creds/client/Client.mjs +389 -0
  106. package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/creds/client/index.d.mts +2 -0
  107. package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/creds/client/index.mjs +1 -0
  108. package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/creds/client/requests/CourieCredsClientCreate1.d.mts +18 -0
  109. package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/creds/client/requests/CourieCredsClientCreate1.mjs +4 -0
  110. package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/creds/client/requests/CourieCredsClientUpdate1.d.mts +15 -0
  111. package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/creds/client/requests/CourieCredsClientUpdate1.mjs +4 -0
  112. package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/creds/client/requests/index.d.mts +2 -0
  113. package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/creds/client/requests/index.mjs +1 -0
  114. package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/creds/index.d.mts +1 -0
  115. package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/creds/index.mjs +1 -0
  116. package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/index.d.mts +4 -0
  117. package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/index.mjs +4 -0
  118. package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/orders/client/Client.d.mts +105 -0
  119. package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/orders/client/Client.mjs +338 -0
  120. package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/orders/client/index.d.mts +2 -0
  121. package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/orders/client/index.mjs +1 -0
  122. package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/orders/client/requests/CourieOrderSyncOneReq.d.mts +15 -0
  123. package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/orders/client/requests/CourieOrderSyncOneReq.mjs +4 -0
  124. package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/orders/client/requests/OrdersListV1Request.d.mts +51 -0
  125. package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/orders/client/requests/OrdersListV1Request.mjs +4 -0
  126. package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/orders/client/requests/index.d.mts +2 -0
  127. package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/orders/client/requests/index.mjs +1 -0
  128. package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/orders/index.d.mts +1 -0
  129. package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/orders/index.mjs +1 -0
  130. package/dist/esm/api/resources/shippingIntegrations/resources/index.d.mts +1 -0
  131. package/dist/esm/api/resources/shippingIntegrations/resources/index.mjs +1 -0
  132. package/dist/esm/api/types/CourieAddressResponse1.d.mts +16 -0
  133. package/dist/esm/api/types/CourieAddressResponse1.mjs +4 -0
  134. package/dist/esm/api/types/CourieAttemptReasonResponse1.d.mts +9 -0
  135. package/dist/esm/api/types/CourieAttemptReasonResponse1.mjs +4 -0
  136. package/dist/esm/api/types/CourieCredsLimited1.d.mts +24 -0
  137. package/dist/esm/api/types/CourieCredsLimited1.mjs +4 -0
  138. package/dist/esm/api/types/CourieCredsListRes.d.mts +8 -0
  139. package/dist/esm/api/types/CourieCredsListRes.mjs +4 -0
  140. package/dist/esm/api/types/CourieCredsTestRes.d.mts +10 -0
  141. package/dist/esm/api/types/CourieCredsTestRes.mjs +4 -0
  142. package/dist/esm/api/types/CourieCustomFieldResponse1.d.mts +10 -0
  143. package/dist/esm/api/types/CourieCustomFieldResponse1.mjs +4 -0
  144. package/dist/esm/api/types/CourieDriverAnswerResponse1.d.mts +11 -0
  145. package/dist/esm/api/types/CourieDriverAnswerResponse1.mjs +4 -0
  146. package/dist/esm/api/types/CourieDriverResponse1.d.mts +9 -0
  147. package/dist/esm/api/types/CourieDriverResponse1.mjs +4 -0
  148. package/dist/esm/api/types/CourieLatLngResponse1.d.mts +10 -0
  149. package/dist/esm/api/types/CourieLatLngResponse1.mjs +4 -0
  150. package/dist/esm/api/types/CourieLocationScanResponse1.d.mts +9 -0
  151. package/dist/esm/api/types/CourieLocationScanResponse1.mjs +4 -0
  152. package/dist/esm/api/types/CourieOrder1.d.mts +19 -0
  153. package/dist/esm/api/types/CourieOrder1.mjs +4 -0
  154. package/dist/esm/api/types/CourieOrderEventEnum1.d.mts +18 -0
  155. package/dist/esm/api/types/CourieOrderEventEnum1.mjs +11 -0
  156. package/dist/esm/api/types/CourieOrderEventResponse1.d.mts +11 -0
  157. package/dist/esm/api/types/CourieOrderEventResponse1.mjs +4 -0
  158. package/dist/esm/api/types/CourieOrderListRes.d.mts +8 -0
  159. package/dist/esm/api/types/CourieOrderListRes.mjs +4 -0
  160. package/dist/esm/api/types/CourieOrderResponse1.d.mts +42 -0
  161. package/dist/esm/api/types/CourieOrderResponse1.mjs +4 -0
  162. package/dist/esm/api/types/CourieOrderSortByEnum.d.mts +10 -0
  163. package/dist/esm/api/types/CourieOrderSortByEnum.mjs +9 -0
  164. package/dist/esm/api/types/CourieOrderStatusEnum1.d.mts +21 -0
  165. package/dist/esm/api/types/CourieOrderStatusEnum1.mjs +13 -0
  166. package/dist/esm/api/types/CouriePackageItemResponse1.d.mts +19 -0
  167. package/dist/esm/api/types/CouriePackageItemResponse1.mjs +4 -0
  168. package/dist/esm/api/types/CouriePackageResponse1.d.mts +9 -0
  169. package/dist/esm/api/types/CouriePackageResponse1.mjs +4 -0
  170. package/dist/esm/api/types/CourieProofOfDeliveryResponse1.d.mts +11 -0
  171. package/dist/esm/api/types/CourieProofOfDeliveryResponse1.mjs +4 -0
  172. package/dist/esm/api/types/CourieStopAttemptResponse1.d.mts +10 -0
  173. package/dist/esm/api/types/CourieStopAttemptResponse1.mjs +4 -0
  174. package/dist/esm/api/types/CourieStopResponse1.d.mts +29 -0
  175. package/dist/esm/api/types/CourieStopResponse1.mjs +4 -0
  176. package/dist/esm/api/types/CourieStopTypeEnum1.d.mts +8 -0
  177. package/dist/esm/api/types/CourieStopTypeEnum1.mjs +7 -0
  178. package/dist/esm/api/types/DriverComplianceDocumentS3ObjectMetadata1.d.mts +2 -0
  179. package/dist/esm/api/types/OrderInternalMessageS3ObjectMetadata1.d.mts +2 -0
  180. package/dist/esm/api/types/OrgComplianceDocumentS3ObjectMetadata1.d.mts +2 -0
  181. package/dist/esm/api/types/OrgShippingIntegrationEnum1.d.mts +2 -1
  182. package/dist/esm/api/types/OrgShippingIntegrationEnum1.mjs +1 -0
  183. package/dist/esm/api/types/TaskArtifactS3ObjectMetadata1.d.mts +2 -0
  184. package/dist/esm/api/types/TaskGroupS3ObjectMetadata1.d.mts +2 -0
  185. package/dist/esm/api/types/index.d.mts +23 -0
  186. package/dist/esm/api/types/index.mjs +23 -0
  187. package/dist/esm/version.d.mts +1 -1
  188. package/dist/esm/version.mjs +1 -1
  189. package/package.json +1 -1
  190. package/reference.md +672 -0
@@ -3,6 +3,7 @@
3
3
  */
4
4
  export interface TaskGroupS3ObjectMetadata1 {
5
5
  _id: string;
6
+ ai_generated_description?: string | null;
6
7
  blurhash?: string | null;
7
8
  /** MIME type of the uploaded file (e.g., 'image/jpeg', 'application/pdf') */
8
9
  content_type?: string | null;
@@ -16,4 +17,5 @@ export interface TaskGroupS3ObjectMetadata1 {
16
17
  uploaded_by_org_id: string;
17
18
  /** Must be a string starting with `user_` */
18
19
  uploaded_by_user_id: string;
20
+ user_generated_description?: string | null;
19
21
  }
@@ -151,6 +151,29 @@ export * from "./CoordinatorExecutorConnectionForExecutorListItem.js";
151
151
  export * from "./CoordinatorExecutorConnectionsForCoordinatorGeoSearchListRes.js";
152
152
  export * from "./CoordinatorExecutorConnectionsForCoordinatorListRes.js";
153
153
  export * from "./CoordinatorExecutorConnectionsForExecutorListRes.js";
154
+ export * from "./CourieAddressResponse1.js";
155
+ export * from "./CourieAttemptReasonResponse1.js";
156
+ export * from "./CourieCredsLimited1.js";
157
+ export * from "./CourieCredsListRes.js";
158
+ export * from "./CourieCredsTestRes.js";
159
+ export * from "./CourieCustomFieldResponse1.js";
160
+ export * from "./CourieDriverAnswerResponse1.js";
161
+ export * from "./CourieDriverResponse1.js";
162
+ export * from "./CourieLatLngResponse1.js";
163
+ export * from "./CourieLocationScanResponse1.js";
164
+ export * from "./CourieOrder1.js";
165
+ export * from "./CourieOrderEventEnum1.js";
166
+ export * from "./CourieOrderEventResponse1.js";
167
+ export * from "./CourieOrderListRes.js";
168
+ export * from "./CourieOrderResponse1.js";
169
+ export * from "./CourieOrderSortByEnum.js";
170
+ export * from "./CourieOrderStatusEnum1.js";
171
+ export * from "./CouriePackageItemResponse1.js";
172
+ export * from "./CouriePackageResponse1.js";
173
+ export * from "./CourieProofOfDeliveryResponse1.js";
174
+ export * from "./CourieStopAttemptResponse1.js";
175
+ export * from "./CourieStopResponse1.js";
176
+ export * from "./CourieStopTypeEnum1.js";
154
177
  export * from "./CreateCheckoutSessionRes.js";
155
178
  export * from "./CreateConnectionReq.js";
156
179
  export * from "./CreateCustomerPortalSessionRes.js";
@@ -167,6 +167,29 @@ __exportStar(require("./CoordinatorExecutorConnectionForExecutorListItem.js"), e
167
167
  __exportStar(require("./CoordinatorExecutorConnectionsForCoordinatorGeoSearchListRes.js"), exports);
168
168
  __exportStar(require("./CoordinatorExecutorConnectionsForCoordinatorListRes.js"), exports);
169
169
  __exportStar(require("./CoordinatorExecutorConnectionsForExecutorListRes.js"), exports);
170
+ __exportStar(require("./CourieAddressResponse1.js"), exports);
171
+ __exportStar(require("./CourieAttemptReasonResponse1.js"), exports);
172
+ __exportStar(require("./CourieCredsLimited1.js"), exports);
173
+ __exportStar(require("./CourieCredsListRes.js"), exports);
174
+ __exportStar(require("./CourieCredsTestRes.js"), exports);
175
+ __exportStar(require("./CourieCustomFieldResponse1.js"), exports);
176
+ __exportStar(require("./CourieDriverAnswerResponse1.js"), exports);
177
+ __exportStar(require("./CourieDriverResponse1.js"), exports);
178
+ __exportStar(require("./CourieLatLngResponse1.js"), exports);
179
+ __exportStar(require("./CourieLocationScanResponse1.js"), exports);
180
+ __exportStar(require("./CourieOrder1.js"), exports);
181
+ __exportStar(require("./CourieOrderEventEnum1.js"), exports);
182
+ __exportStar(require("./CourieOrderEventResponse1.js"), exports);
183
+ __exportStar(require("./CourieOrderListRes.js"), exports);
184
+ __exportStar(require("./CourieOrderResponse1.js"), exports);
185
+ __exportStar(require("./CourieOrderSortByEnum.js"), exports);
186
+ __exportStar(require("./CourieOrderStatusEnum1.js"), exports);
187
+ __exportStar(require("./CouriePackageItemResponse1.js"), exports);
188
+ __exportStar(require("./CouriePackageResponse1.js"), exports);
189
+ __exportStar(require("./CourieProofOfDeliveryResponse1.js"), exports);
190
+ __exportStar(require("./CourieStopAttemptResponse1.js"), exports);
191
+ __exportStar(require("./CourieStopResponse1.js"), exports);
192
+ __exportStar(require("./CourieStopTypeEnum1.js"), exports);
170
193
  __exportStar(require("./CreateCheckoutSessionRes.js"), exports);
171
194
  __exportStar(require("./CreateConnectionReq.js"), exports);
172
195
  __exportStar(require("./CreateCustomerPortalSessionRes.js"), exports);
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.1000.0";
1
+ export declare const SDK_VERSION = "1.1002.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.1000.0";
4
+ exports.SDK_VERSION = "1.1002.0";
@@ -24,8 +24,8 @@ export class ChrtClient {
24
24
  this._options = Object.assign(Object.assign({}, _options), { headers: mergeHeaders({
25
25
  "X-Fern-Language": "JavaScript",
26
26
  "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk",
27
- "X-Fern-SDK-Version": "1.1000.0",
28
- "User-Agent": "@chrt-inc/typescript-sdk/1.1000.0",
27
+ "X-Fern-SDK-Version": "1.1002.0",
28
+ "User-Agent": "@chrt-inc/typescript-sdk/1.1002.0",
29
29
  "X-Fern-Runtime": core.RUNTIME.type,
30
30
  "X-Fern-Runtime-Version": core.RUNTIME.version,
31
31
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -7,6 +7,7 @@ import { Connections } from "../resources/connections/client/Client.mjs";
7
7
  import { IntegrationExecutors } from "../resources/integrationExecutors/client/Client.mjs";
8
8
  import { Orders } from "../resources/orders/client/Client.mjs";
9
9
  import { Atlas } from "../resources/atlas/client/Client.mjs";
10
+ import { Courie } from "../resources/courie/client/Client.mjs";
10
11
  import { Cxt } from "../resources/cxt/client/Client.mjs";
11
12
  import { DispatchScience } from "../resources/dispatchScience/client/Client.mjs";
12
13
  import { Ecourier } from "../resources/ecourier/client/Client.mjs";
@@ -29,6 +30,7 @@ export declare class ShippingIntegrations {
29
30
  protected _integrationExecutors: IntegrationExecutors | undefined;
30
31
  protected _orders: Orders | undefined;
31
32
  protected _atlas: Atlas | undefined;
33
+ protected _courie: Courie | undefined;
32
34
  protected _cxt: Cxt | undefined;
33
35
  protected _dispatchScience: DispatchScience | undefined;
34
36
  protected _ecourier: Ecourier | undefined;
@@ -39,6 +41,7 @@ export declare class ShippingIntegrations {
39
41
  get integrationExecutors(): IntegrationExecutors;
40
42
  get orders(): Orders;
41
43
  get atlas(): Atlas;
44
+ get courie(): Courie;
42
45
  get cxt(): Cxt;
43
46
  get dispatchScience(): DispatchScience;
44
47
  get ecourier(): Ecourier;
@@ -5,6 +5,7 @@ import { Connections } from "../resources/connections/client/Client.mjs";
5
5
  import { IntegrationExecutors } from "../resources/integrationExecutors/client/Client.mjs";
6
6
  import { Orders } from "../resources/orders/client/Client.mjs";
7
7
  import { Atlas } from "../resources/atlas/client/Client.mjs";
8
+ import { Courie } from "../resources/courie/client/Client.mjs";
8
9
  import { Cxt } from "../resources/cxt/client/Client.mjs";
9
10
  import { DispatchScience } from "../resources/dispatchScience/client/Client.mjs";
10
11
  import { Ecourier } from "../resources/ecourier/client/Client.mjs";
@@ -30,6 +31,10 @@ export class ShippingIntegrations {
30
31
  var _a;
31
32
  return ((_a = this._atlas) !== null && _a !== void 0 ? _a : (this._atlas = new Atlas(this._options)));
32
33
  }
34
+ get courie() {
35
+ var _a;
36
+ return ((_a = this._courie) !== null && _a !== void 0 ? _a : (this._courie = new Courie(this._options)));
37
+ }
33
38
  get cxt() {
34
39
  var _a;
35
40
  return ((_a = this._cxt) !== null && _a !== void 0 ? _a : (this._cxt = new Cxt(this._options)));
@@ -0,0 +1,26 @@
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 { Creds } from "../resources/creds/client/Client.mjs";
7
+ import { Orders } from "../resources/orders/client/Client.mjs";
8
+ export declare namespace Courie {
9
+ interface Options {
10
+ environment?: core.Supplier<environments.ChrtEnvironment | string>;
11
+ /** Specify a custom URL to connect the client to. */
12
+ baseUrl?: core.Supplier<string>;
13
+ token?: core.Supplier<core.BearerToken | undefined>;
14
+ /** Additional headers to include in requests. */
15
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
16
+ fetcher?: core.FetchFunction;
17
+ }
18
+ }
19
+ export declare class Courie {
20
+ protected readonly _options: Courie.Options;
21
+ protected _creds: Creds | undefined;
22
+ protected _orders: Orders | undefined;
23
+ constructor(_options?: Courie.Options);
24
+ get creds(): Creds;
25
+ get orders(): Orders;
26
+ }
@@ -0,0 +1,18 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import { Creds } from "../resources/creds/client/Client.mjs";
5
+ import { Orders } from "../resources/orders/client/Client.mjs";
6
+ export class Courie {
7
+ constructor(_options = {}) {
8
+ this._options = _options;
9
+ }
10
+ get creds() {
11
+ var _a;
12
+ return ((_a = this._creds) !== null && _a !== void 0 ? _a : (this._creds = new Creds(this._options)));
13
+ }
14
+ get orders() {
15
+ var _a;
16
+ return ((_a = this._orders) !== null && _a !== void 0 ? _a : (this._orders = new Orders(this._options)));
17
+ }
18
+ }
@@ -0,0 +1,2 @@
1
+ export * from "./client/index.mjs";
2
+ export * from "./resources/index.mjs";
@@ -0,0 +1,2 @@
1
+ export * from "./client/index.mjs";
2
+ export * from "./resources/index.mjs";
@@ -0,0 +1,115 @@
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 Creds {
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 Creds {
31
+ protected readonly _options: Creds.Options;
32
+ constructor(_options?: Creds.Options);
33
+ /**
34
+ * Returns the caller's Courie credential for one provider, without API key. | () -> (CourieCredsLimited1)
35
+ *
36
+ * @param {string} providerOrgId - Must be a string starting with `org_`
37
+ * @param {Creds.RequestOptions} requestOptions - Request-specific configuration.
38
+ *
39
+ * @throws {@link Chrt.UnprocessableEntityError}
40
+ *
41
+ * @example
42
+ * await client.shippingIntegrations.courie.creds.detailV1("provider_org_id")
43
+ */
44
+ detailV1(providerOrgId: string, requestOptions?: Creds.RequestOptions): core.HttpResponsePromise<Chrt.CourieCredsLimited1>;
45
+ private __detailV1;
46
+ /**
47
+ * Lists the caller's Courie credentials, one per connected provider, without API key. | () -> (CourieCredsListRes)
48
+ *
49
+ * @param {Creds.RequestOptions} requestOptions - Request-specific configuration.
50
+ *
51
+ * @example
52
+ * await client.shippingIntegrations.courie.creds.listV1()
53
+ */
54
+ listV1(requestOptions?: Creds.RequestOptions): core.HttpResponsePromise<Chrt.CourieCredsListRes>;
55
+ private __listV1;
56
+ /**
57
+ * Tests whether stored Courie credentials can authenticate against the provider. | authz: min_org_role=operator | () -> (CourieCredsTestRes)
58
+ *
59
+ * @param {string} providerOrgId - Must be a string starting with `org_`
60
+ * @param {Creds.RequestOptions} requestOptions - Request-specific configuration.
61
+ *
62
+ * @throws {@link Chrt.UnprocessableEntityError}
63
+ *
64
+ * @example
65
+ * await client.shippingIntegrations.courie.creds.testV1("provider_org_id")
66
+ */
67
+ testV1(providerOrgId: string, requestOptions?: Creds.RequestOptions): core.HttpResponsePromise<Chrt.CourieCredsTestRes>;
68
+ private __testV1;
69
+ /**
70
+ * Stores Courie credentials for one provider on behalf of the caller's organization. | authz: min_org_role=administrator | (CourieCredsClientCreate1) -> (PydanticObjectId)
71
+ *
72
+ * @param {string} providerOrgId - Must be a string starting with `org_`
73
+ * @param {Chrt.shippingIntegrations.courie.CourieCredsClientCreate1} request
74
+ * @param {Creds.RequestOptions} requestOptions - Request-specific configuration.
75
+ *
76
+ * @throws {@link Chrt.UnprocessableEntityError}
77
+ *
78
+ * @example
79
+ * await client.shippingIntegrations.courie.creds.createV1("provider_org_id", {
80
+ * api_key: "api_key",
81
+ * courier_id: "courier_id",
82
+ * schema_version: 1
83
+ * })
84
+ */
85
+ createV1(providerOrgId: string, request: Chrt.shippingIntegrations.courie.CourieCredsClientCreate1, requestOptions?: Creds.RequestOptions): core.HttpResponsePromise<string>;
86
+ private __createV1;
87
+ /**
88
+ * Deletes stored Courie credentials for one provider. | authz: min_org_role=administrator | () -> (bool)
89
+ *
90
+ * @param {string} providerOrgId - Must be a string starting with `org_`
91
+ * @param {Creds.RequestOptions} requestOptions - Request-specific configuration.
92
+ *
93
+ * @throws {@link Chrt.UnprocessableEntityError}
94
+ *
95
+ * @example
96
+ * await client.shippingIntegrations.courie.creds.deleteV1("provider_org_id")
97
+ */
98
+ deleteV1(providerOrgId: string, requestOptions?: Creds.RequestOptions): core.HttpResponsePromise<boolean>;
99
+ private __deleteV1;
100
+ /**
101
+ * Updates stored Courie credentials for one provider. | authz: min_org_role=administrator | (CourieCredsClientUpdate1) -> (bool)
102
+ *
103
+ * @param {string} providerOrgId - Must be a string starting with `org_`
104
+ * @param {Chrt.shippingIntegrations.courie.CourieCredsClientUpdate1} request
105
+ * @param {Creds.RequestOptions} requestOptions - Request-specific configuration.
106
+ *
107
+ * @throws {@link Chrt.UnprocessableEntityError}
108
+ *
109
+ * @example
110
+ * await client.shippingIntegrations.courie.creds.updateV1("provider_org_id")
111
+ */
112
+ updateV1(providerOrgId: string, request?: Chrt.shippingIntegrations.courie.CourieCredsClientUpdate1, requestOptions?: Creds.RequestOptions): core.HttpResponsePromise<boolean>;
113
+ private __updateV1;
114
+ protected _getAuthorizationHeader(): Promise<string | undefined>;
115
+ }