@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
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.js";
5
+ export interface CourieAddressResponse1 {
6
+ city?: string | null;
7
+ country?: string | null;
8
+ display?: string | null;
9
+ lngLat?: Chrt.CourieLatLngResponse1 | null;
10
+ postalCode?: string | null;
11
+ state?: string | null;
12
+ streetAddress?: string | null;
13
+ suite?: string | null;
14
+ /** Accepts any additional properties */
15
+ [key: string]: any;
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,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface CourieAttemptReasonResponse1 {
5
+ code?: string | null;
6
+ name?: string | null;
7
+ /** Accepts any additional properties */
8
+ [key: string]: any;
9
+ }
@@ -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,24 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * The only shape of a Courie credential a user is ever allowed to receive.
6
+ */
7
+ export interface CourieCredsLimited1 {
8
+ _id: string;
9
+ active?: boolean;
10
+ courier_id: string;
11
+ created_at_timestamp: string;
12
+ customer_ids?: string[];
13
+ high_water_mark_timestamp?: string | null;
14
+ notes?: string | null;
15
+ /** Must be a string starting with `org_` */
16
+ org_id: string;
17
+ /** Must be a string starting with `user_` */
18
+ owned_by_user_id: string;
19
+ /** Must be a string starting with `org_` */
20
+ provider_org_id: string;
21
+ schema_version: number;
22
+ shipping_integration: "courie";
23
+ updated_at_timestamp: string;
24
+ }
@@ -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 CourieCredsListRes {
6
+ items: Chrt.CourieCredsLimited1[];
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,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Result of testing whether a stored Courie credential still works.
6
+ */
7
+ export interface CourieCredsTestRes {
8
+ failure_reason?: string | null;
9
+ ok: boolean;
10
+ }
@@ -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 interface CourieCustomFieldResponse1 {
5
+ name?: string | null;
6
+ type?: string | null;
7
+ value?: string | null;
8
+ /** Accepts any additional properties */
9
+ [key: string]: any;
10
+ }
@@ -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
+ export interface CourieDriverAnswerResponse1 {
5
+ answer?: string | null;
6
+ photoUrl?: string | null;
7
+ question?: string | null;
8
+ type?: string | null;
9
+ /** Accepts any additional properties */
10
+ [key: string]: any;
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,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface CourieDriverResponse1 {
5
+ firstName?: string | null;
6
+ lastName?: string | null;
7
+ /** Accepts any additional properties */
8
+ [key: string]: any;
9
+ }
@@ -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 interface CourieLatLngResponse1 {
5
+ latitude?: number | null;
6
+ longitude?: number | null;
7
+ valid?: boolean | null;
8
+ /** Accepts any additional properties */
9
+ [key: string]: any;
10
+ }
@@ -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,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface CourieLocationScanResponse1 {
5
+ code?: string | null;
6
+ scannedAt?: number | null;
7
+ /** Accepts any additional properties */
8
+ [key: string]: any;
9
+ }
@@ -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 CourieOrder1 {
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.CourieOrderResponse1;
15
+ provider_payload_hash: string;
16
+ schema_version: number;
17
+ shipping_integration: "courie";
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,18 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Activity event types.
6
+ *
7
+ * NOTE: there is no assignment event, so an order moving to `ASSIGNED` leaves no
8
+ * trace here and status cannot be reconstructed from this log.
9
+ */
10
+ export type CourieOrderEventEnum1 = "CREATED" | "PICKED_UP" | "DROPPED_OFF" | "RETURNED_TO_PICK_UP" | "ATTEMPTED" | "COMPLETED";
11
+ export declare const CourieOrderEventEnum1: {
12
+ readonly Created: "CREATED";
13
+ readonly PickedUp: "PICKED_UP";
14
+ readonly DroppedOff: "DROPPED_OFF";
15
+ readonly ReturnedToPickUp: "RETURNED_TO_PICK_UP";
16
+ readonly Attempted: "ATTEMPTED";
17
+ readonly Completed: "COMPLETED";
18
+ };
@@ -0,0 +1,14 @@
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.CourieOrderEventEnum1 = void 0;
7
+ exports.CourieOrderEventEnum1 = {
8
+ Created: "CREATED",
9
+ PickedUp: "PICKED_UP",
10
+ DroppedOff: "DROPPED_OFF",
11
+ ReturnedToPickUp: "RETURNED_TO_PICK_UP",
12
+ Attempted: "ATTEMPTED",
13
+ Completed: "COMPLETED",
14
+ };
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.js";
5
+ export interface CourieOrderEventResponse1 {
6
+ address?: string | null;
7
+ event: Chrt.CourieOrderEventEnum1;
8
+ timestamp: string;
9
+ /** Accepts any additional properties */
10
+ [key: string]: any;
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,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 CourieOrderListRes {
6
+ items: Chrt.CourieOrder1[];
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,42 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.js";
5
+ /**
6
+ * One Courie order, as returned by both the list and detail endpoints.
7
+ *
8
+ * The list endpoint returns this same complete shape, so the mirror never needs
9
+ * a per-order detail call.
10
+ */
11
+ export interface CourieOrderResponse1 {
12
+ activities?: Chrt.CourieOrderEventResponse1[];
13
+ customFields?: Chrt.CourieCustomFieldResponse1[];
14
+ customerCompanyName?: string | null;
15
+ customerId: string;
16
+ deliveredAt?: string | null;
17
+ displayId?: number | null;
18
+ id: string;
19
+ numPackages?: number | null;
20
+ packageDescription?: string | null;
21
+ packageItems?: Chrt.CouriePackageItemResponse1[];
22
+ packageSize?: string | null;
23
+ packageTypeName?: string | null;
24
+ packageWeightInPounds?: number | null;
25
+ packages?: Chrt.CouriePackageResponse1[];
26
+ pickedUpAt?: string | null;
27
+ proofOfDeliveries?: Chrt.CourieProofOfDeliveryResponse1[];
28
+ proofOfPickUps?: Chrt.CourieProofOfDeliveryResponse1[];
29
+ referenceNumber?: string | null;
30
+ remoteId?: string | null;
31
+ serviceTypeName?: string | null;
32
+ shipmentDate?: string | null;
33
+ shipmentType?: string | null;
34
+ status: Chrt.CourieOrderStatusEnum1;
35
+ statusDescription?: string | null;
36
+ stops?: Chrt.CourieStopResponse1[];
37
+ trackingNumber?: string | null;
38
+ trackingUrl?: string | null;
39
+ vehicleTypeName?: string | null;
40
+ /** Accepts any additional properties */
41
+ [key: string]: any;
42
+ }
@@ -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 CourieOrderSortByEnum = "mirrored_at_timestamp" | "created_at_timestamp" | "updated_at_timestamp" | "integration_order_id";
5
+ export declare const CourieOrderSortByEnum: {
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.CourieOrderSortByEnum = void 0;
7
+ exports.CourieOrderSortByEnum = {
8
+ MirroredAtTimestamp: "mirrored_at_timestamp",
9
+ CreatedAtTimestamp: "created_at_timestamp",
10
+ UpdatedAtTimestamp: "updated_at_timestamp",
11
+ IntegrationOrderId: "integration_order_id",
12
+ };
@@ -0,0 +1,21 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Courie's own order status.
6
+ *
7
+ * The spec documents these only as a bare enum list with no per-value meaning.
8
+ * `IN_TRANSIT`, `ON_HOLD` and `DELETED` have not been observed live. `unified.py`
9
+ * derives progress from the pickup milestone rather than this field.
10
+ */
11
+ export type CourieOrderStatusEnum1 = "CREATED" | "ASSIGNED" | "IN_TRANSIT" | "COMPLETED" | "ATTEMPTED" | "ON_HOLD" | "DELETED" | "FAILED";
12
+ export declare const CourieOrderStatusEnum1: {
13
+ readonly Created: "CREATED";
14
+ readonly Assigned: "ASSIGNED";
15
+ readonly InTransit: "IN_TRANSIT";
16
+ readonly Completed: "COMPLETED";
17
+ readonly Attempted: "ATTEMPTED";
18
+ readonly OnHold: "ON_HOLD";
19
+ readonly Deleted: "DELETED";
20
+ readonly Failed: "FAILED";
21
+ };
@@ -0,0 +1,16 @@
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.CourieOrderStatusEnum1 = void 0;
7
+ exports.CourieOrderStatusEnum1 = {
8
+ Created: "CREATED",
9
+ Assigned: "ASSIGNED",
10
+ InTransit: "IN_TRANSIT",
11
+ Completed: "COMPLETED",
12
+ Attempted: "ATTEMPTED",
13
+ OnHold: "ON_HOLD",
14
+ Deleted: "DELETED",
15
+ Failed: "FAILED",
16
+ };
@@ -0,0 +1,19 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Per-item dimensions and weight.
6
+ *
7
+ * Values are **per piece**, not per entry: the spec's `quantity` note says
8
+ * "quantity 5 with weight 10 is 5 pieces weighing 50 lbs in total". Anything
9
+ * summing weight must multiply by `quantity` first.
10
+ */
11
+ export interface CouriePackageItemResponse1 {
12
+ height?: number | null;
13
+ length?: number | null;
14
+ quantity?: number | null;
15
+ weight?: number | null;
16
+ width?: number | null;
17
+ /** Accepts any additional properties */
18
+ [key: string]: any;
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,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface CouriePackageResponse1 {
5
+ reference?: string | null;
6
+ status?: string | null;
7
+ /** Accepts any additional properties */
8
+ [key: string]: any;
9
+ }
@@ -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
+ export interface CourieProofOfDeliveryResponse1 {
5
+ signedBy?: string | null;
6
+ timestamp?: string | null;
7
+ type?: string | null;
8
+ url?: string | null;
9
+ /** Accepts any additional properties */
10
+ [key: string]: any;
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,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.js";
5
+ export interface CourieStopAttemptResponse1 {
6
+ date?: string | null;
7
+ reason?: Chrt.CourieAttemptReasonResponse1 | null;
8
+ /** Accepts any additional properties */
9
+ [key: string]: any;
10
+ }
@@ -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,29 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.js";
5
+ /**
6
+ * One end of a route. Timestamps here are epoch seconds, not ISO strings.
7
+ */
8
+ export interface CourieStopResponse1 {
9
+ address?: Chrt.CourieAddressResponse1 | null;
10
+ attemptedAt?: number | null;
11
+ attempts?: Chrt.CourieStopAttemptResponse1[];
12
+ companyName?: string | null;
13
+ completedAt?: number | null;
14
+ contactName?: string | null;
15
+ driver?: Chrt.CourieDriverResponse1 | null;
16
+ driverAnswers?: Chrt.CourieDriverAnswerResponse1[];
17
+ driverStopSequenceNumber?: number | null;
18
+ due?: number | null;
19
+ instruction?: string | null;
20
+ locationScans?: Chrt.CourieLocationScanResponse1[];
21
+ orderId?: string | null;
22
+ phone?: string | null;
23
+ ready?: number | null;
24
+ stopSequenceNumber?: number | null;
25
+ suite?: string | null;
26
+ type: Chrt.CourieStopTypeEnum1;
27
+ /** Accepts any additional properties */
28
+ [key: string]: any;
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
+ export type CourieStopTypeEnum1 = "PICK_UP" | "DROP_OFF";
5
+ export declare const CourieStopTypeEnum1: {
6
+ readonly PickUp: "PICK_UP";
7
+ readonly DropOff: "DROP_OFF";
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.CourieStopTypeEnum1 = void 0;
7
+ exports.CourieStopTypeEnum1 = {
8
+ PickUp: "PICK_UP",
9
+ DropOff: "DROP_OFF",
10
+ };
@@ -3,6 +3,7 @@
3
3
  */
4
4
  export interface DriverComplianceDocumentS3ObjectMetadata1 {
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 DriverComplianceDocumentS3ObjectMetadata1 {
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
  }
@@ -3,6 +3,7 @@
3
3
  */
4
4
  export interface OrderInternalMessageS3ObjectMetadata1 {
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 OrderInternalMessageS3ObjectMetadata1 {
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
  }
@@ -3,6 +3,7 @@
3
3
  */
4
4
  export interface OrgComplianceDocumentS3ObjectMetadata1 {
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 OrgComplianceDocumentS3ObjectMetadata1 {
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
  }
@@ -1,7 +1,7 @@
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" | "ecourier";
4
+ export type OrgShippingIntegrationEnum1 = "xcelerator" | "dispatch_science" | "ontime360" | "cxt" | "atlas" | "ecourier" | "courie";
5
5
  export declare const OrgShippingIntegrationEnum1: {
6
6
  readonly Xcelerator: "xcelerator";
7
7
  readonly DispatchScience: "dispatch_science";
@@ -9,4 +9,5 @@ export declare const OrgShippingIntegrationEnum1: {
9
9
  readonly Cxt: "cxt";
10
10
  readonly Atlas: "atlas";
11
11
  readonly Ecourier: "ecourier";
12
+ readonly Courie: "courie";
12
13
  };
@@ -11,4 +11,5 @@ exports.OrgShippingIntegrationEnum1 = {
11
11
  Cxt: "cxt",
12
12
  Atlas: "atlas",
13
13
  Ecourier: "ecourier",
14
+ Courie: "courie",
14
15
  };
@@ -4,6 +4,7 @@
4
4
  import * as Chrt from "../index.js";
5
5
  export interface TaskArtifactS3ObjectMetadata1 {
6
6
  _id: string;
7
+ ai_generated_description?: string | null;
7
8
  ai_image_description?: Chrt.AiImageDescription | null;
8
9
  blurhash?: string | null;
9
10
  /** MIME type of the uploaded file (e.g., 'image/jpeg', 'application/pdf') */
@@ -18,4 +19,5 @@ export interface TaskArtifactS3ObjectMetadata1 {
18
19
  uploaded_by_org_id: string;
19
20
  /** Must be a string starting with `user_` */
20
21
  uploaded_by_user_id: string;
22
+ user_generated_description?: string | null;
21
23
  }