@chrt-inc/typescript-sdk 1.929.0 → 1.930.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 (180) hide show
  1. package/dist/cjs/Client.js +2 -2
  2. package/dist/cjs/api/resources/shipping/client/Client.d.ts +0 -3
  3. package/dist/cjs/api/resources/shipping/client/Client.js +10 -15
  4. package/dist/cjs/api/resources/shipping/resources/flights/client/Client.d.ts +6 -3
  5. package/dist/cjs/api/resources/shipping/resources/flights/client/Client.js +19 -11
  6. package/dist/cjs/api/resources/shipping/resources/flights/client/index.d.ts +1 -0
  7. package/dist/cjs/api/resources/shipping/resources/flights/client/index.js +15 -0
  8. package/dist/cjs/api/resources/shipping/resources/flights/client/requests/FlightsGetFlightTrackForFlightLegV1Request.d.ts +13 -0
  9. package/dist/cjs/api/resources/shipping/resources/flights/client/requests/index.d.ts +1 -0
  10. package/dist/cjs/api/resources/shipping/resources/index.d.ts +1 -2
  11. package/dist/cjs/api/resources/shipping/resources/index.js +2 -3
  12. package/dist/cjs/api/resources/shipping/resources/orders/client/Client.d.ts +103 -0
  13. package/dist/cjs/api/resources/shipping/resources/orders/client/Client.js +442 -0
  14. package/dist/{esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/DraftsAddCoordinatorTaskListToApplyAtOrderStagingV1Request.d.mts → cjs/api/resources/shipping/resources/orders/client/requests/OrdersAddCoordinatorTaskListToApplyAtOrderStagingV1Request.d.ts} +1 -1
  15. package/dist/{esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersDraftDeleteManyReq.d.mts → cjs/api/resources/shipping/resources/orders/client/requests/OrdersDeleteManyDraftsReq.d.ts} +1 -1
  16. package/dist/{esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/SetTaskGroupOrderingDraftReq.d.mts → cjs/api/resources/shipping/resources/orders/client/requests/OrdersTaskGroupOrderingReq.d.ts} +2 -2
  17. package/dist/cjs/api/resources/shipping/resources/orders/{resources/drafts/client/requests/OrdersDraftUpdateReq.d.ts → client/requests/OrdersUpdateDraftReq.d.ts} +2 -2
  18. package/dist/cjs/api/resources/shipping/resources/orders/client/requests/index.d.ts +4 -0
  19. package/dist/cjs/api/resources/shipping/resources/orders/resources/cargo/client/Client.d.ts +13 -0
  20. package/dist/cjs/api/resources/shipping/resources/orders/resources/cargo/client/Client.js +59 -0
  21. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/Client.d.ts +0 -109
  22. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/Client.js +0 -452
  23. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersOpenDraftReq.d.ts +0 -2
  24. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/index.d.ts +0 -4
  25. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/index.d.ts +0 -1
  26. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/index.js +0 -1
  27. package/dist/cjs/api/resources/shipping/resources/orders/resources/taskGroup/client/Client.d.ts +13 -0
  28. package/dist/cjs/api/resources/shipping/resources/orders/resources/taskGroup/client/Client.js +59 -0
  29. package/dist/cjs/api/resources/tracking/resources/sessions/client/Client.d.ts +3 -2
  30. package/dist/cjs/api/resources/tracking/resources/sessions/client/Client.js +11 -7
  31. package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/SessionsFlightTrackV1Request.d.ts +4 -1
  32. package/dist/cjs/api/types/OrderLimitedForProvider1.d.ts +0 -1
  33. package/dist/cjs/api/types/OrderLimitedForShipper1.d.ts +0 -1
  34. package/dist/cjs/api/types/{OrdersDraftDeleteManyRes.d.ts → OrdersDeleteManyDraftsRes.d.ts} +1 -1
  35. package/dist/cjs/api/types/{OrdersDraftUpdateRes.d.ts → OrdersUpdateDraftRes.d.ts} +1 -1
  36. package/dist/cjs/api/types/index.d.ts +2 -9
  37. package/dist/cjs/api/types/index.js +2 -9
  38. package/dist/cjs/version.d.ts +1 -1
  39. package/dist/cjs/version.js +1 -1
  40. package/dist/esm/Client.mjs +2 -2
  41. package/dist/esm/api/resources/shipping/client/Client.d.mts +0 -3
  42. package/dist/esm/api/resources/shipping/client/Client.mjs +0 -5
  43. package/dist/esm/api/resources/shipping/resources/flights/client/Client.d.mts +6 -3
  44. package/dist/esm/api/resources/shipping/resources/flights/client/Client.mjs +19 -11
  45. package/dist/esm/api/resources/shipping/resources/flights/client/index.d.mts +1 -0
  46. package/dist/esm/api/resources/shipping/resources/flights/client/index.mjs +1 -1
  47. package/dist/esm/api/resources/shipping/resources/flights/client/requests/FlightsGetFlightTrackForFlightLegV1Request.d.mts +13 -0
  48. package/dist/esm/api/resources/shipping/resources/flights/client/requests/index.d.mts +1 -0
  49. package/dist/esm/api/resources/shipping/resources/index.d.mts +1 -2
  50. package/dist/esm/api/resources/shipping/resources/index.mjs +1 -2
  51. package/dist/esm/api/resources/shipping/resources/orders/client/Client.d.mts +103 -0
  52. package/dist/esm/api/resources/shipping/resources/orders/client/Client.mjs +442 -0
  53. package/dist/{cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/DraftsAddCoordinatorTaskListToApplyAtOrderStagingV1Request.d.ts → esm/api/resources/shipping/resources/orders/client/requests/OrdersAddCoordinatorTaskListToApplyAtOrderStagingV1Request.d.mts} +1 -1
  54. package/dist/{cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersDraftDeleteManyReq.d.ts → esm/api/resources/shipping/resources/orders/client/requests/OrdersDeleteManyDraftsReq.d.mts} +1 -1
  55. package/dist/{cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/SetTaskGroupOrderingDraftReq.d.ts → esm/api/resources/shipping/resources/orders/client/requests/OrdersTaskGroupOrderingReq.d.mts} +2 -2
  56. package/dist/esm/api/resources/shipping/resources/orders/{resources/drafts/client/requests/OrdersDraftUpdateReq.d.mts → client/requests/OrdersUpdateDraftReq.d.mts} +2 -2
  57. package/dist/esm/api/resources/shipping/resources/orders/client/requests/index.d.mts +4 -0
  58. package/dist/esm/api/resources/shipping/resources/orders/resources/cargo/client/Client.d.mts +13 -0
  59. package/dist/esm/api/resources/shipping/resources/orders/resources/cargo/client/Client.mjs +59 -0
  60. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/Client.d.mts +0 -109
  61. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/Client.mjs +0 -452
  62. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersOpenDraftReq.d.mts +0 -2
  63. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/index.d.mts +0 -4
  64. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/index.d.mts +0 -1
  65. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/index.mjs +0 -1
  66. package/dist/esm/api/resources/shipping/resources/orders/resources/taskGroup/client/Client.d.mts +13 -0
  67. package/dist/esm/api/resources/shipping/resources/orders/resources/taskGroup/client/Client.mjs +59 -0
  68. package/dist/esm/api/resources/tracking/resources/sessions/client/Client.d.mts +3 -2
  69. package/dist/esm/api/resources/tracking/resources/sessions/client/Client.mjs +11 -7
  70. package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionsFlightTrackV1Request.d.mts +4 -1
  71. package/dist/esm/api/types/OrderLimitedForProvider1.d.mts +0 -1
  72. package/dist/esm/api/types/OrderLimitedForShipper1.d.mts +0 -1
  73. package/dist/esm/api/types/{OrdersDraftDeleteManyRes.d.mts → OrdersDeleteManyDraftsRes.d.mts} +1 -1
  74. package/dist/esm/api/types/{OrdersDraftUpdateRes.d.mts → OrdersUpdateDraftRes.d.mts} +1 -1
  75. package/dist/esm/api/types/index.d.mts +2 -9
  76. package/dist/esm/api/types/index.mjs +2 -9
  77. package/dist/esm/version.d.mts +1 -1
  78. package/dist/esm/version.mjs +1 -1
  79. package/package.json +1 -1
  80. package/reference.md +326 -935
  81. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/Client.d.ts +0 -182
  82. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/Client.js +0 -720
  83. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/index.d.ts +0 -2
  84. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/index.js +0 -17
  85. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientCreate1.d.ts +0 -33
  86. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientUpdate1.d.ts +0 -37
  87. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateRemoveReferenceReq.d.ts +0 -14
  88. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplatesListV1Request.d.ts +0 -80
  89. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/index.d.ts +0 -4
  90. package/dist/cjs/api/resources/shipping/resources/orderTemplates/index.d.ts +0 -1
  91. package/dist/cjs/api/resources/shipping/resources/orderTemplates/index.js +0 -17
  92. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/SetTaskGroupOrderingDraftReq.js +0 -5
  93. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/Client.d.ts +0 -46
  94. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/Client.js +0 -127
  95. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/index.d.ts +0 -1
  96. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/index.js +0 -2
  97. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/index.d.ts +0 -1
  98. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/index.js +0 -17
  99. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/index.d.ts +0 -2
  100. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/index.js +0 -38
  101. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/Client.d.ts +0 -46
  102. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/Client.js +0 -127
  103. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/index.d.ts +0 -1
  104. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/index.js +0 -2
  105. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/index.d.ts +0 -1
  106. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/index.js +0 -17
  107. package/dist/cjs/api/types/Order1.d.ts +0 -43
  108. package/dist/cjs/api/types/Order1.js +0 -5
  109. package/dist/cjs/api/types/OrderTemplate1.d.ts +0 -35
  110. package/dist/cjs/api/types/OrderTemplate1.js +0 -5
  111. package/dist/cjs/api/types/OrderTemplateExpanded1.d.ts +0 -16
  112. package/dist/cjs/api/types/OrderTemplateExpanded1.js +0 -5
  113. package/dist/cjs/api/types/OrderTemplateListRes.d.ts +0 -8
  114. package/dist/cjs/api/types/OrderTemplateListRes.js +0 -5
  115. package/dist/cjs/api/types/OrderTemplateOrgInfo1.d.ts +0 -10
  116. package/dist/cjs/api/types/OrderTemplateOrgInfo1.js +0 -5
  117. package/dist/cjs/api/types/OrderTemplateReferenceColumnEnum1.d.ts +0 -13
  118. package/dist/cjs/api/types/OrderTemplateReferenceColumnEnum1.js +0 -15
  119. package/dist/cjs/api/types/OrderTemplateSortByEnum.d.ts +0 -11
  120. package/dist/cjs/api/types/OrderTemplateSortByEnum.js +0 -13
  121. package/dist/cjs/api/types/OrdersDraftDeleteManyRes.js +0 -5
  122. package/dist/cjs/api/types/OrdersDraftUpdateRes.js +0 -5
  123. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/Client.d.mts +0 -182
  124. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/Client.mjs +0 -683
  125. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/index.d.mts +0 -2
  126. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/index.mjs +0 -1
  127. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientCreate1.d.mts +0 -33
  128. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientUpdate1.d.mts +0 -37
  129. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateRemoveReferenceReq.d.mts +0 -14
  130. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplatesListV1Request.d.mts +0 -80
  131. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/index.d.mts +0 -4
  132. package/dist/esm/api/resources/shipping/resources/orderTemplates/index.d.mts +0 -1
  133. package/dist/esm/api/resources/shipping/resources/orderTemplates/index.mjs +0 -1
  134. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/SetTaskGroupOrderingDraftReq.mjs +0 -4
  135. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/Client.d.mts +0 -46
  136. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/Client.mjs +0 -90
  137. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/index.d.mts +0 -1
  138. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/client/index.mjs +0 -1
  139. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/index.d.mts +0 -1
  140. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/cargo/index.mjs +0 -1
  141. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/index.d.mts +0 -2
  142. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/index.mjs +0 -2
  143. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/Client.d.mts +0 -46
  144. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/Client.mjs +0 -90
  145. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/index.d.mts +0 -1
  146. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/index.mjs +0 -1
  147. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/index.d.mts +0 -1
  148. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/index.mjs +0 -1
  149. package/dist/esm/api/types/Order1.d.mts +0 -43
  150. package/dist/esm/api/types/Order1.mjs +0 -4
  151. package/dist/esm/api/types/OrderTemplate1.d.mts +0 -35
  152. package/dist/esm/api/types/OrderTemplate1.mjs +0 -4
  153. package/dist/esm/api/types/OrderTemplateExpanded1.d.mts +0 -16
  154. package/dist/esm/api/types/OrderTemplateExpanded1.mjs +0 -4
  155. package/dist/esm/api/types/OrderTemplateListRes.d.mts +0 -8
  156. package/dist/esm/api/types/OrderTemplateListRes.mjs +0 -4
  157. package/dist/esm/api/types/OrderTemplateOrgInfo1.d.mts +0 -10
  158. package/dist/esm/api/types/OrderTemplateOrgInfo1.mjs +0 -4
  159. package/dist/esm/api/types/OrderTemplateReferenceColumnEnum1.d.mts +0 -13
  160. package/dist/esm/api/types/OrderTemplateReferenceColumnEnum1.mjs +0 -12
  161. package/dist/esm/api/types/OrderTemplateSortByEnum.d.mts +0 -11
  162. package/dist/esm/api/types/OrderTemplateSortByEnum.mjs +0 -10
  163. package/dist/esm/api/types/OrdersDraftDeleteManyRes.mjs +0 -4
  164. package/dist/esm/api/types/OrdersDraftUpdateRes.mjs +0 -4
  165. /package/dist/cjs/api/resources/shipping/resources/{orderTemplates/client/requests/OrderTemplateClientCreate1.js → flights/client/requests/FlightsGetFlightTrackForFlightLegV1Request.js} +0 -0
  166. /package/dist/cjs/api/resources/shipping/resources/{orderTemplates → flights}/client/requests/index.js +0 -0
  167. /package/dist/cjs/api/resources/shipping/resources/{orderTemplates/client/requests/OrderTemplateClientUpdate1.js → orders/client/requests/OrdersAddCoordinatorTaskListToApplyAtOrderStagingV1Request.js} +0 -0
  168. /package/dist/cjs/api/resources/shipping/resources/{orderTemplates/client/requests/OrderTemplateRemoveReferenceReq.js → orders/client/requests/OrdersDeleteManyDraftsReq.js} +0 -0
  169. /package/dist/cjs/api/resources/shipping/resources/{orderTemplates/client/requests/OrderTemplatesListV1Request.js → orders/client/requests/OrdersTaskGroupOrderingReq.js} +0 -0
  170. /package/dist/cjs/api/resources/shipping/resources/orders/{resources/drafts/client/requests/DraftsAddCoordinatorTaskListToApplyAtOrderStagingV1Request.js → client/requests/OrdersUpdateDraftReq.js} +0 -0
  171. /package/dist/cjs/api/{resources/shipping/resources/orders/resources/drafts/client/requests/OrdersDraftDeleteManyReq.js → types/OrdersDeleteManyDraftsRes.js} +0 -0
  172. /package/dist/cjs/api/{resources/shipping/resources/orders/resources/drafts/client/requests/OrdersDraftUpdateReq.js → types/OrdersUpdateDraftRes.js} +0 -0
  173. /package/dist/esm/api/resources/shipping/resources/{orderTemplates/client/requests/OrderTemplateClientCreate1.mjs → flights/client/requests/FlightsGetFlightTrackForFlightLegV1Request.mjs} +0 -0
  174. /package/dist/esm/api/resources/shipping/resources/{orderTemplates → flights}/client/requests/index.mjs +0 -0
  175. /package/dist/esm/api/resources/shipping/resources/{orderTemplates/client/requests/OrderTemplateClientUpdate1.mjs → orders/client/requests/OrdersAddCoordinatorTaskListToApplyAtOrderStagingV1Request.mjs} +0 -0
  176. /package/dist/esm/api/resources/shipping/resources/{orderTemplates/client/requests/OrderTemplateRemoveReferenceReq.mjs → orders/client/requests/OrdersDeleteManyDraftsReq.mjs} +0 -0
  177. /package/dist/esm/api/resources/shipping/resources/{orderTemplates/client/requests/OrderTemplatesListV1Request.mjs → orders/client/requests/OrdersTaskGroupOrderingReq.mjs} +0 -0
  178. /package/dist/esm/api/resources/shipping/resources/orders/{resources/drafts/client/requests/DraftsAddCoordinatorTaskListToApplyAtOrderStagingV1Request.mjs → client/requests/OrdersUpdateDraftReq.mjs} +0 -0
  179. /package/dist/esm/api/{resources/shipping/resources/orders/resources/drafts/client/requests/OrdersDraftDeleteManyReq.mjs → types/OrdersDeleteManyDraftsRes.mjs} +0 -0
  180. /package/dist/esm/api/{resources/shipping/resources/orders/resources/drafts/client/requests/OrdersDraftUpdateReq.mjs → types/OrdersUpdateDraftRes.mjs} +0 -0
@@ -1,2 +0,0 @@
1
- export {};
2
- export * from "./requests/index.mjs";
@@ -1 +0,0 @@
1
- export * from "./requests/index.mjs";
@@ -1,33 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Chrt from "../../../../../../index.mjs";
5
- /**
6
- * @example
7
- * {
8
- * name: "name",
9
- * schema_version: 1
10
- * }
11
- */
12
- export interface OrderTemplateClientCreate1 {
13
- contact_ids?: string[];
14
- coordinator_label?: string | null;
15
- /** Must be a string starting with `org_` */
16
- coordinator_org_id?: string | null;
17
- coordinator_shipper_account_ids?: string[];
18
- department_id?: string | null;
19
- description?: string | null;
20
- driver_ids?: string[];
21
- executor_org_ids?: string[];
22
- name: string;
23
- off_chrt_executor_org_data_ids?: string[];
24
- off_chrt_reference_id_str?: string | null;
25
- off_chrt_shipper_org_data_id?: string | null;
26
- schema_version: number;
27
- service_line?: Chrt.ServiceLineEnum;
28
- /** Must be a string starting with `org_` */
29
- shipper_org_id?: string | null;
30
- task_lists_to_apply_at_order_creation?: Chrt.TaskListToApplyToOrder1[];
31
- task_lists_to_apply_at_order_staging?: Chrt.TaskListToApplyToOrder1[];
32
- text?: string | null;
33
- }
@@ -1,37 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Chrt from "../../../../../../index.mjs";
5
- /**
6
- * @example
7
- * {}
8
- */
9
- export interface OrderTemplateClientUpdate1 {
10
- contact_ids?: string[];
11
- coordinator_label?: string | null;
12
- coordinator_label__set_to_None?: boolean;
13
- /** Must be a string starting with `org_` */
14
- coordinator_org_id?: string | null;
15
- coordinator_org_id__set_to_None?: boolean;
16
- coordinator_shipper_account_ids?: string[];
17
- department_id?: string | null;
18
- department_id__set_to_None?: boolean;
19
- description?: string | null;
20
- description__set_to_None?: boolean;
21
- driver_ids?: string[];
22
- executor_org_ids?: string[];
23
- name?: string | null;
24
- off_chrt_executor_org_data_ids?: string[];
25
- off_chrt_reference_id_str?: string | null;
26
- off_chrt_reference_id_str__set_to_None?: boolean;
27
- off_chrt_shipper_org_data_id?: string | null;
28
- off_chrt_shipper_org_data_id__set_to_None?: boolean;
29
- service_line?: Chrt.ServiceLineEnum | null;
30
- /** Must be a string starting with `org_` */
31
- shipper_org_id?: string | null;
32
- shipper_org_id__set_to_None?: boolean;
33
- task_lists_to_apply_at_order_creation?: Chrt.TaskListToApplyToOrder1[];
34
- task_lists_to_apply_at_order_staging?: Chrt.TaskListToApplyToOrder1[];
35
- text?: string | null;
36
- text__set_to_None?: boolean;
37
- }
@@ -1,14 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Chrt from "../../../../../../index.mjs";
5
- /**
6
- * @example
7
- * {
8
- * column: "shipper_org_id"
9
- * }
10
- */
11
- export interface OrderTemplateRemoveReferenceReq {
12
- column: Chrt.OrderTemplateReferenceColumnEnum1;
13
- object_id?: string | null;
14
- }
@@ -1,80 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Chrt from "../../../../../../index.mjs";
5
- /**
6
- * @example
7
- * {
8
- * sort_by: "created_at_timestamp",
9
- * sort_order: "asc",
10
- * page: 1,
11
- * page_size: 1,
12
- * search: "search",
13
- * filter_archived: true,
14
- * filter_owned_by_user_id: "filter_owned_by_user_id",
15
- * filter_off_chrt_reference_id_str: "filter_off_chrt_reference_id_str",
16
- * filter_shipper_org_id: "filter_shipper_org_id",
17
- * filter_off_chrt_shipper_org_data_id: "filter_off_chrt_shipper_org_data_id",
18
- * filter_coordinator_org_id: "filter_coordinator_org_id",
19
- * filter_department_id: "filter_department_id",
20
- * filter_coordinator_label: "filter_coordinator_label",
21
- * filter_driver_id: "filter_driver_id",
22
- * filter_contact_id: "filter_contact_id",
23
- * filter_task_lists_to_apply_at_order_creation_task_list_id: "filter_task_lists_to_apply_at_order_creation_task_list_id",
24
- * filter_task_lists_to_apply_at_order_staging_task_list_id: "filter_task_lists_to_apply_at_order_staging_task_list_id",
25
- * filter_created_at_timestamp_gte: "2024-01-15T09:30:00Z",
26
- * filter_created_at_timestamp_lte: "2024-01-15T09:30:00Z",
27
- * filter_last_edited_at_timestamp_gte: "2024-01-15T09:30:00Z",
28
- * filter_last_edited_at_timestamp_lte: "2024-01-15T09:30:00Z",
29
- * filter_last_used_at_timestamp_gte: "2024-01-15T09:30:00Z",
30
- * filter_last_used_at_timestamp_lte: "2024-01-15T09:30:00Z"
31
- * }
32
- */
33
- export interface OrderTemplatesListV1Request {
34
- /** Field to sort by. */
35
- sort_by?: Chrt.OrderTemplateSortByEnum | null;
36
- /** Sort order (asc or desc). */
37
- sort_order?: Chrt.SortOrderEnum | null;
38
- page?: number | null;
39
- page_size?: number | null;
40
- /** Full-text search query */
41
- search?: string | null;
42
- /** Filter by archived (True) vs active (False) templates. */
43
- filter_archived?: boolean | null;
44
- /** Filter by the user who owns the order template. */
45
- filter_owned_by_user_id?: string | null;
46
- /** Filter by service line. */
47
- filter_service_line?: (Chrt.ServiceLineEnum | null) | (Chrt.ServiceLineEnum | null)[];
48
- /** Filter by the off-CHRT reference ID string. */
49
- filter_off_chrt_reference_id_str?: string | null;
50
- /** Filter by on-CHRT shipper org ID. */
51
- filter_shipper_org_id?: string | null;
52
- /** Filter by off-CHRT shipper organization data ID. */
53
- filter_off_chrt_shipper_org_data_id?: string | null;
54
- /** Filter by coordinator org ID. */
55
- filter_coordinator_org_id?: string | null;
56
- /** Filter by coordinator department ID. */
57
- filter_department_id?: string | null;
58
- /** Filter by coordinator label. */
59
- filter_coordinator_label?: string | null;
60
- /** Filter by driver ID included in the template. */
61
- filter_driver_id?: string | null;
62
- /** Filter by contact ID included in the template. */
63
- filter_contact_id?: string | null;
64
- /** Filter by task list ID included in order-creation applications. */
65
- filter_task_lists_to_apply_at_order_creation_task_list_id?: string | null;
66
- /** Filter by task list ID included in staging applications. */
67
- filter_task_lists_to_apply_at_order_staging_task_list_id?: string | null;
68
- /** Filter created_at_timestamp >= value (inclusive). */
69
- filter_created_at_timestamp_gte?: string | null;
70
- /** Filter created_at_timestamp <= value (inclusive). */
71
- filter_created_at_timestamp_lte?: string | null;
72
- /** Filter last_edited_at_timestamp >= value (inclusive). */
73
- filter_last_edited_at_timestamp_gte?: string | null;
74
- /** Filter last_edited_at_timestamp <= value (inclusive). */
75
- filter_last_edited_at_timestamp_lte?: string | null;
76
- /** Filter last_used_at_timestamp >= value (inclusive). */
77
- filter_last_used_at_timestamp_gte?: string | null;
78
- /** Filter last_used_at_timestamp <= value (inclusive). */
79
- filter_last_used_at_timestamp_lte?: string | null;
80
- }
@@ -1,4 +0,0 @@
1
- export { type OrderTemplatesListV1Request } from "./OrderTemplatesListV1Request.mjs";
2
- export { type OrderTemplateRemoveReferenceReq } from "./OrderTemplateRemoveReferenceReq.mjs";
3
- export { type OrderTemplateClientUpdate1 } from "./OrderTemplateClientUpdate1.mjs";
4
- export { type OrderTemplateClientCreate1 } from "./OrderTemplateClientCreate1.mjs";
@@ -1 +0,0 @@
1
- export * from "./client/index.mjs";
@@ -1 +0,0 @@
1
- export * from "./client/index.mjs";
@@ -1,4 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export {};
@@ -1,46 +0,0 @@
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
- export declare namespace Cargo {
7
- interface Options {
8
- environment?: core.Supplier<environments.ChrtEnvironment | string>;
9
- /** Specify a custom URL to connect the client to. */
10
- baseUrl?: core.Supplier<string>;
11
- token?: core.Supplier<core.BearerToken | undefined>;
12
- /** Additional headers to include in requests. */
13
- headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
14
- fetcher?: core.FetchFunction;
15
- }
16
- interface RequestOptions {
17
- /** The maximum time to wait for a response in seconds. */
18
- timeoutInSeconds?: number;
19
- /** The number of times to retry the request. Defaults to 2. */
20
- maxRetries?: number;
21
- /** A hook to abort the request. */
22
- abortSignal?: AbortSignal;
23
- /** Additional query string parameters to include in the request. */
24
- queryParams?: Record<string, unknown>;
25
- /** Additional headers to include in the request. */
26
- headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
27
- }
28
- }
29
- export declare class Cargo {
30
- protected readonly _options: Cargo.Options;
31
- constructor(_options?: Cargo.Options);
32
- /**
33
- * Deletes a cargo item from a draft order and removes references from associated tasks. | () -> (bool)
34
- *
35
- * @param {string} cargoId
36
- * @param {Cargo.RequestOptions} requestOptions - Request-specific configuration.
37
- *
38
- * @throws {@link Chrt.UnprocessableEntityError}
39
- *
40
- * @example
41
- * await client.shipping.orders.drafts.cargo.deleteV1("cargo_id")
42
- */
43
- deleteV1(cargoId: string, requestOptions?: Cargo.RequestOptions): core.HttpResponsePromise<boolean>;
44
- private __deleteV1;
45
- protected _getAuthorizationHeader(): Promise<string | undefined>;
46
- }
@@ -1,90 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
5
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
6
- return new (P || (P = Promise))(function (resolve, reject) {
7
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
8
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
9
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
10
- step((generator = generator.apply(thisArg, _arguments || [])).next());
11
- });
12
- };
13
- import * as environments from "../../../../../../../../../../environments.mjs";
14
- import * as core from "../../../../../../../../../../core/index.mjs";
15
- import * as Chrt from "../../../../../../../../../index.mjs";
16
- import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../../../../../../../core/headers.mjs";
17
- import * as errors from "../../../../../../../../../../errors/index.mjs";
18
- export class Cargo {
19
- constructor(_options = {}) {
20
- this._options = _options;
21
- }
22
- /**
23
- * Deletes a cargo item from a draft order and removes references from associated tasks. | () -> (bool)
24
- *
25
- * @param {string} cargoId
26
- * @param {Cargo.RequestOptions} requestOptions - Request-specific configuration.
27
- *
28
- * @throws {@link Chrt.UnprocessableEntityError}
29
- *
30
- * @example
31
- * await client.shipping.orders.drafts.cargo.deleteV1("cargo_id")
32
- */
33
- deleteV1(cargoId, requestOptions) {
34
- return core.HttpResponsePromise.fromPromise(this.__deleteV1(cargoId, requestOptions));
35
- }
36
- __deleteV1(cargoId, requestOptions) {
37
- return __awaiter(this, void 0, void 0, function* () {
38
- var _a, _b, _c, _d;
39
- let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
40
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
41
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/orders/drafts/cargo/delete/v1/${encodeURIComponent(cargoId)}`),
42
- method: "DELETE",
43
- headers: _headers,
44
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
45
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
46
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
47
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
48
- });
49
- if (_response.ok) {
50
- return { data: _response.body, rawResponse: _response.rawResponse };
51
- }
52
- if (_response.error.reason === "status-code") {
53
- switch (_response.error.statusCode) {
54
- case 422:
55
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
56
- default:
57
- throw new errors.ChrtError({
58
- statusCode: _response.error.statusCode,
59
- body: _response.error.body,
60
- rawResponse: _response.rawResponse,
61
- });
62
- }
63
- }
64
- switch (_response.error.reason) {
65
- case "non-json":
66
- throw new errors.ChrtError({
67
- statusCode: _response.error.statusCode,
68
- body: _response.error.rawBody,
69
- rawResponse: _response.rawResponse,
70
- });
71
- case "timeout":
72
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling DELETE /shipping/orders/drafts/cargo/delete/v1/{cargo_id}.");
73
- case "unknown":
74
- throw new errors.ChrtError({
75
- message: _response.error.errorMessage,
76
- rawResponse: _response.rawResponse,
77
- });
78
- }
79
- });
80
- }
81
- _getAuthorizationHeader() {
82
- return __awaiter(this, void 0, void 0, function* () {
83
- const bearer = yield core.Supplier.get(this._options.token);
84
- if (bearer != null) {
85
- return `Bearer ${bearer}`;
86
- }
87
- return undefined;
88
- });
89
- }
90
- }
@@ -1 +0,0 @@
1
- export * from "./client/index.mjs";
@@ -1,2 +0,0 @@
1
- export * as cargo from "./cargo/index.mjs";
2
- export * as taskGroup from "./taskGroup/index.mjs";
@@ -1,2 +0,0 @@
1
- export * as cargo from "./cargo/index.mjs";
2
- export * as taskGroup from "./taskGroup/index.mjs";
@@ -1,46 +0,0 @@
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
- export declare namespace TaskGroup {
7
- interface Options {
8
- environment?: core.Supplier<environments.ChrtEnvironment | string>;
9
- /** Specify a custom URL to connect the client to. */
10
- baseUrl?: core.Supplier<string>;
11
- token?: core.Supplier<core.BearerToken | undefined>;
12
- /** Additional headers to include in requests. */
13
- headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
14
- fetcher?: core.FetchFunction;
15
- }
16
- interface RequestOptions {
17
- /** The maximum time to wait for a response in seconds. */
18
- timeoutInSeconds?: number;
19
- /** The number of times to retry the request. Defaults to 2. */
20
- maxRetries?: number;
21
- /** A hook to abort the request. */
22
- abortSignal?: AbortSignal;
23
- /** Additional query string parameters to include in the request. */
24
- queryParams?: Record<string, unknown>;
25
- /** Additional headers to include in the request. */
26
- headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
27
- }
28
- }
29
- export declare class TaskGroup {
30
- protected readonly _options: TaskGroup.Options;
31
- constructor(_options?: TaskGroup.Options);
32
- /**
33
- * Deletes a task group and all associated entities (tasks, task artifacts, S3 metadata). The task group must belong to a DRAFT order. | () -> (bool)
34
- *
35
- * @param {string} taskGroupId
36
- * @param {TaskGroup.RequestOptions} requestOptions - Request-specific configuration.
37
- *
38
- * @throws {@link Chrt.UnprocessableEntityError}
39
- *
40
- * @example
41
- * await client.shipping.orders.drafts.taskGroup.deleteV1("task_group_id")
42
- */
43
- deleteV1(taskGroupId: string, requestOptions?: TaskGroup.RequestOptions): core.HttpResponsePromise<boolean>;
44
- private __deleteV1;
45
- protected _getAuthorizationHeader(): Promise<string | undefined>;
46
- }
@@ -1,90 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
5
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
6
- return new (P || (P = Promise))(function (resolve, reject) {
7
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
8
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
9
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
10
- step((generator = generator.apply(thisArg, _arguments || [])).next());
11
- });
12
- };
13
- import * as environments from "../../../../../../../../../../environments.mjs";
14
- import * as core from "../../../../../../../../../../core/index.mjs";
15
- import * as Chrt from "../../../../../../../../../index.mjs";
16
- import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../../../../../../../core/headers.mjs";
17
- import * as errors from "../../../../../../../../../../errors/index.mjs";
18
- export class TaskGroup {
19
- constructor(_options = {}) {
20
- this._options = _options;
21
- }
22
- /**
23
- * Deletes a task group and all associated entities (tasks, task artifacts, S3 metadata). The task group must belong to a DRAFT order. | () -> (bool)
24
- *
25
- * @param {string} taskGroupId
26
- * @param {TaskGroup.RequestOptions} requestOptions - Request-specific configuration.
27
- *
28
- * @throws {@link Chrt.UnprocessableEntityError}
29
- *
30
- * @example
31
- * await client.shipping.orders.drafts.taskGroup.deleteV1("task_group_id")
32
- */
33
- deleteV1(taskGroupId, requestOptions) {
34
- return core.HttpResponsePromise.fromPromise(this.__deleteV1(taskGroupId, requestOptions));
35
- }
36
- __deleteV1(taskGroupId, requestOptions) {
37
- return __awaiter(this, void 0, void 0, function* () {
38
- var _a, _b, _c, _d;
39
- let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
40
- const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
41
- url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/orders/drafts/task_group/delete/v1/${encodeURIComponent(taskGroupId)}`),
42
- method: "DELETE",
43
- headers: _headers,
44
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
45
- timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
46
- maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
47
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
48
- });
49
- if (_response.ok) {
50
- return { data: _response.body, rawResponse: _response.rawResponse };
51
- }
52
- if (_response.error.reason === "status-code") {
53
- switch (_response.error.statusCode) {
54
- case 422:
55
- throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
56
- default:
57
- throw new errors.ChrtError({
58
- statusCode: _response.error.statusCode,
59
- body: _response.error.body,
60
- rawResponse: _response.rawResponse,
61
- });
62
- }
63
- }
64
- switch (_response.error.reason) {
65
- case "non-json":
66
- throw new errors.ChrtError({
67
- statusCode: _response.error.statusCode,
68
- body: _response.error.rawBody,
69
- rawResponse: _response.rawResponse,
70
- });
71
- case "timeout":
72
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling DELETE /shipping/orders/drafts/task_group/delete/v1/{task_group_id}.");
73
- case "unknown":
74
- throw new errors.ChrtError({
75
- message: _response.error.errorMessage,
76
- rawResponse: _response.rawResponse,
77
- });
78
- }
79
- });
80
- }
81
- _getAuthorizationHeader() {
82
- return __awaiter(this, void 0, void 0, function* () {
83
- const bearer = yield core.Supplier.get(this._options.token);
84
- if (bearer != null) {
85
- return `Bearer ${bearer}`;
86
- }
87
- return undefined;
88
- });
89
- }
90
- }
@@ -1,43 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Chrt from "../index.mjs";
5
- export interface Order1 {
6
- _id: string;
7
- awb_numbers?: string[];
8
- cancelled_at_timestamp?: string | null;
9
- completed_at_timestamp?: string | null;
10
- coordinator_assigned_user_ids?: string[];
11
- coordinator_department_id?: string | null;
12
- coordinator_label?: string | null;
13
- /** Must be a string starting with `org_` */
14
- coordinator_org_id?: string | null;
15
- coordinator_shipper_account_ids?: string[];
16
- coordinator_task_lists_to_apply_at_order_staging?: Chrt.TaskListToApplyToOrder1[];
17
- /** Must be a string starting with `org_` */
18
- created_by_org_id: string;
19
- /** Must be a string starting with `user_` */
20
- created_by_user_id: string;
21
- /** Client-supplied key for idempotent draft creation */
22
- creation_idempotency_key?: string | null;
23
- draft_started_at_timestamp: string;
24
- exception_at_timestamp?: string | null;
25
- in_progress_at_timestamp?: string | null;
26
- invoice_ids?: string[];
27
- /** Must be a URL-safe string of 1-64 characters. Allowed characters: A-Z, a-z, 0-9, '.', '_', '~', '-' (RFC 3986 unreserved). */
28
- off_chrt_reference_id?: string | null;
29
- off_chrt_shipper_org_data_id?: string | null;
30
- order_classification_by_task_group_type?: Chrt.TaskGroupTypeEnum1 | null;
31
- order_schedule_id?: string | null;
32
- order_schedule_run_idempotency_key?: string | null;
33
- order_template_id?: string | null;
34
- order_template_new_id?: string | null;
35
- schema_version: number;
36
- service_line?: Chrt.ServiceLineEnum;
37
- /** Must be a string starting with `org_` */
38
- shipper_org_id?: string | null;
39
- short_id: string;
40
- staged_at_timestamp?: string | null;
41
- status?: Chrt.OrderStatusEnum1;
42
- task_group_details?: Chrt.OrderTaskGroupExecutorDetails1[];
43
- }
@@ -1,4 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export {};
@@ -1,35 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Chrt from "../index.mjs";
5
- export interface OrderTemplate1 {
6
- _id: string;
7
- archived_at_timestamp?: string | null;
8
- contact_ids?: string[];
9
- coordinator_label?: string | null;
10
- /** Must be a string starting with `org_` */
11
- coordinator_org_id?: string | null;
12
- coordinator_shipper_account_ids?: string[];
13
- created_at_timestamp: string;
14
- department_id?: string | null;
15
- description?: string | null;
16
- driver_ids?: string[];
17
- executor_org_ids?: string[];
18
- last_edited_at_timestamp: string;
19
- last_used_at_timestamp?: string | null;
20
- name: string;
21
- off_chrt_executor_org_data_ids?: string[];
22
- off_chrt_reference_id_str?: string | null;
23
- off_chrt_shipper_org_data_id?: string | null;
24
- /** Must be a string starting with `org_` */
25
- owned_by_org_id: string;
26
- /** Must be a string starting with `user_` */
27
- owned_by_user_id: string;
28
- schema_version: number;
29
- service_line?: Chrt.ServiceLineEnum;
30
- /** Must be a string starting with `org_` */
31
- shipper_org_id?: string | null;
32
- task_lists_to_apply_at_order_creation?: Chrt.TaskListToApplyToOrder1[];
33
- task_lists_to_apply_at_order_staging?: Chrt.TaskListToApplyToOrder1[];
34
- text?: string | null;
35
- }
@@ -1,4 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export {};
@@ -1,16 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Chrt from "../index.mjs";
5
- export interface OrderTemplateExpanded1 {
6
- contacts?: Chrt.Contact1[];
7
- coordinator_shipper_accounts?: Chrt.Account1[];
8
- drivers?: Chrt.Driver1[];
9
- executor_orgs?: Chrt.OrderTemplateOrgInfo1[];
10
- off_chrt_executor_orgs?: Chrt.OffChrtOrgData1[];
11
- off_chrt_shipper_org?: Chrt.OffChrtOrgData1 | null;
12
- order_template: Chrt.OrderTemplate1;
13
- orders?: Chrt.Order1[];
14
- orders_total_count?: number;
15
- shipper_org?: Chrt.OrderTemplateOrgInfo1 | null;
16
- }
@@ -1,4 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export {};
@@ -1,8 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Chrt from "../index.mjs";
5
- export interface OrderTemplateListRes {
6
- items: Chrt.OrderTemplate1[];
7
- total_count: number;
8
- }
@@ -1,4 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export {};
@@ -1,10 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export interface OrderTemplateOrgInfo1 {
5
- company_name?: string | null;
6
- /** Must be a string starting with `@`. May only contain a-z, A-Z, 0-9, _, -. May not be longer than 30 characters. */
7
- handle?: string | null;
8
- /** Must be a string starting with `org_` */
9
- org_id: string;
10
- }