@chrt-inc/typescript-sdk 1.984.0 → 1.992.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 (202) hide show
  1. package/dist/cjs/Client.js +2 -2
  2. package/dist/cjs/api/resources/billingNew/resources/orders/client/Client.d.ts +1 -1
  3. package/dist/cjs/api/resources/billingNew/resources/orders/client/Client.js +9 -4
  4. package/dist/cjs/api/resources/billingNew/resources/orders/client/requests/OrderBillingExpandedListReq.d.ts +3 -3
  5. package/dist/cjs/api/resources/listing/resources/bidThreads/client/Client.d.ts +8 -8
  6. package/dist/cjs/api/resources/listing/resources/bidThreads/client/Client.js +7 -7
  7. package/dist/cjs/api/resources/listing/resources/driverBiddingGroups/client/Client.d.ts +1 -1
  8. package/dist/cjs/api/resources/listing/resources/driverBiddingGroups/client/Client.js +1 -1
  9. package/dist/cjs/api/resources/listing/resources/orgBiddingGroups/client/Client.d.ts +1 -1
  10. package/dist/cjs/api/resources/listing/resources/orgBiddingGroups/client/Client.js +1 -1
  11. package/dist/cjs/api/resources/operations/resources/departments/client/Client.d.ts +2 -1
  12. package/dist/cjs/api/resources/operations/resources/departments/client/Client.js +6 -2
  13. package/dist/cjs/api/resources/operations/resources/departments/client/requests/DepartmentsListV1Request.d.ts +3 -0
  14. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/Client.d.ts +5 -3
  15. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/Client.js +13 -5
  16. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListsApplyToOrderV1Request.d.ts +4 -1
  17. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListsListV1Request.d.ts +3 -0
  18. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.d.ts +38 -5
  19. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.js +164 -11
  20. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientCreate1.d.ts +1 -0
  21. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientUpdate1.d.ts +4 -0
  22. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksExpandedListV1Request.d.ts +6 -3
  23. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksListV1Request.d.ts +6 -3
  24. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksTypeaheadV1Request.d.ts +16 -0
  25. package/dist/cjs/api/resources/{shipping/resources/orders/client/requests/OrdersUpdateDepartmentReq.d.ts → operations/resources/operationsTasks/client/requests/OperationsTasksUpdateDepartmentManyReq.d.ts} +5 -2
  26. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/index.d.ts +2 -0
  27. package/dist/cjs/api/resources/orgs/client/Client.d.ts +2 -1
  28. package/dist/cjs/api/resources/orgs/client/Client.js +11 -2
  29. package/dist/cjs/api/resources/orgs/client/requests/OrgsListMembersV1Request.d.ts +3 -0
  30. package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.d.ts +32 -0
  31. package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.js +163 -16
  32. package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriversListOrgMembersAndDriversV1Request.d.ts +3 -0
  33. package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriversListV1Request.d.ts +15 -0
  34. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/Client.d.ts +2 -2
  35. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/Client.js +10 -5
  36. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplateNewClientCreate1.d.ts +2 -2
  37. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplateNewClientUpdate1.d.ts +2 -4
  38. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplatesNewListV1Request.d.ts +3 -3
  39. package/dist/cjs/api/resources/shipping/resources/orders/client/Client.d.ts +13 -12
  40. package/dist/cjs/api/resources/shipping/resources/orders/client/Client.js +23 -19
  41. package/dist/cjs/api/resources/shipping/resources/orders/client/requests/OrdersAddCoordinatorTaskListToApplyAtOrderStagingV1Request.d.ts +3 -0
  42. package/dist/cjs/api/resources/shipping/resources/orders/client/requests/{OrdersUpdateLabelReq.d.ts → OrdersUpdateDepartmentsReq.d.ts} +2 -3
  43. package/dist/cjs/api/resources/shipping/resources/orders/client/requests/OrdersUpdateDepartmentsReq.js +5 -0
  44. package/dist/{esm/api/resources/shipping/resources/orders/client/requests/OrdersUpdateLabelReq.d.mts → cjs/api/resources/shipping/resources/orders/client/requests/OrdersUpdateLabelsReq.d.ts} +2 -3
  45. package/dist/cjs/api/resources/shipping/resources/orders/client/requests/OrdersUpdateLabelsReq.js +5 -0
  46. package/dist/cjs/api/resources/shipping/resources/orders/client/requests/index.d.ts +2 -2
  47. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersOpenDraftReq.d.ts +2 -2
  48. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.ts +3 -3
  49. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.js +25 -10
  50. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.ts +9 -7
  51. package/dist/cjs/api/resources/shipping/resources/orders/resources/taskGroup/client/Client.d.ts +3 -5
  52. package/dist/cjs/api/resources/shipping/resources/orders/resources/taskGroup/client/Client.js +5 -7
  53. package/dist/cjs/api/resources/shipping/resources/orders/resources/taskGroup/client/requests/OrdersSetTaskGroupVehicleTypeReq.d.ts +3 -4
  54. package/dist/cjs/api/resources/tracking/resources/devices/client/Client.d.ts +2 -0
  55. package/dist/cjs/api/resources/tracking/resources/devices/client/Client.js +9 -1
  56. package/dist/cjs/api/resources/tracking/resources/devices/client/requests/DevicesListV1Request.d.ts +6 -0
  57. package/dist/cjs/api/types/BidThreadForListing1.d.ts +19 -0
  58. package/dist/cjs/api/types/BidThreadForListing1.js +5 -0
  59. package/dist/cjs/api/types/BidThreadForListingListRes.d.ts +8 -0
  60. package/dist/cjs/api/types/BidThreadForListingListRes.js +5 -0
  61. package/dist/cjs/api/types/Driver1.d.ts +1 -0
  62. package/dist/cjs/api/types/DriverBiddingGroupListItemRes.d.ts +17 -0
  63. package/dist/cjs/api/types/DriverBiddingGroupListItemRes.js +5 -0
  64. package/dist/cjs/api/types/DriverBiddingGroupListRes.d.ts +1 -1
  65. package/dist/cjs/api/types/DriverWithActiveTaskGroupIds1.d.ts +1 -0
  66. package/dist/cjs/api/types/OperationsTask1.d.ts +1 -0
  67. package/dist/cjs/api/types/OperationsTaskStatusEnum.d.ts +2 -1
  68. package/dist/cjs/api/types/OperationsTaskStatusEnum.js +1 -0
  69. package/dist/cjs/api/types/OperationsTaskTypeEnum.d.ts +2 -1
  70. package/dist/cjs/api/types/OperationsTaskTypeEnum.js +1 -0
  71. package/dist/cjs/api/types/OperationsTaskTypeaheadFieldEnum.d.ts +4 -0
  72. package/dist/cjs/api/types/OperationsTaskTypeaheadFieldEnum.js +5 -0
  73. package/dist/cjs/api/types/OperationsTaskTypeaheadResult.d.ts +8 -0
  74. package/dist/cjs/api/types/OperationsTaskTypeaheadResult.js +5 -0
  75. package/dist/cjs/api/types/OperationsTasksUpdateDepartmentManyRes.d.ts +7 -0
  76. package/dist/cjs/api/types/OperationsTasksUpdateDepartmentManyRes.js +5 -0
  77. package/dist/cjs/api/types/Order1.d.ts +2 -2
  78. package/dist/cjs/api/types/OrderAndTaskGroupExpandedReq.d.ts +2 -2
  79. package/dist/cjs/api/types/OrderBillingExecutor1.d.ts +1 -1
  80. package/dist/cjs/api/types/OrderBillingExpandedListItem1.d.ts +1 -1
  81. package/dist/cjs/api/types/OrderExpandedForProvider.d.ts +1 -1
  82. package/dist/cjs/api/types/OrderLimitedForProvider1.d.ts +2 -2
  83. package/dist/cjs/api/types/OrderTaskGroupExecutorDetails1.d.ts +2 -2
  84. package/dist/cjs/api/types/OrderTemplateNew1.d.ts +2 -2
  85. package/dist/cjs/api/types/OrderTemplateNewCore1.d.ts +2 -2
  86. package/dist/cjs/api/types/OrderTemplateNewExpanded1.d.ts +3 -2
  87. package/dist/cjs/api/types/OrgBiddingGroupListItemRes.d.ts +17 -0
  88. package/dist/cjs/api/types/OrgBiddingGroupListItemRes.js +5 -0
  89. package/dist/cjs/api/types/OrgBiddingGroupListRes.d.ts +1 -1
  90. package/dist/cjs/api/types/TaskArtifactTypeEnum1.d.ts +2 -1
  91. package/dist/cjs/api/types/TaskArtifactTypeEnum1.js +1 -0
  92. package/dist/cjs/api/types/TaskGroup1.d.ts +1 -1
  93. package/dist/cjs/api/types/TaskGroupExpanded.d.ts +1 -1
  94. package/dist/cjs/api/types/TaskListToApplyToOrder1.d.ts +1 -0
  95. package/dist/cjs/api/types/index.d.ts +7 -0
  96. package/dist/cjs/api/types/index.js +7 -0
  97. package/dist/cjs/version.d.ts +1 -1
  98. package/dist/cjs/version.js +1 -1
  99. package/dist/esm/Client.mjs +2 -2
  100. package/dist/esm/api/resources/billingNew/resources/orders/client/Client.d.mts +1 -1
  101. package/dist/esm/api/resources/billingNew/resources/orders/client/Client.mjs +9 -4
  102. package/dist/esm/api/resources/billingNew/resources/orders/client/requests/OrderBillingExpandedListReq.d.mts +3 -3
  103. package/dist/esm/api/resources/listing/resources/bidThreads/client/Client.d.mts +8 -8
  104. package/dist/esm/api/resources/listing/resources/bidThreads/client/Client.mjs +7 -7
  105. package/dist/esm/api/resources/listing/resources/driverBiddingGroups/client/Client.d.mts +1 -1
  106. package/dist/esm/api/resources/listing/resources/driverBiddingGroups/client/Client.mjs +1 -1
  107. package/dist/esm/api/resources/listing/resources/orgBiddingGroups/client/Client.d.mts +1 -1
  108. package/dist/esm/api/resources/listing/resources/orgBiddingGroups/client/Client.mjs +1 -1
  109. package/dist/esm/api/resources/operations/resources/departments/client/Client.d.mts +2 -1
  110. package/dist/esm/api/resources/operations/resources/departments/client/Client.mjs +6 -2
  111. package/dist/esm/api/resources/operations/resources/departments/client/requests/DepartmentsListV1Request.d.mts +3 -0
  112. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/Client.d.mts +5 -3
  113. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/Client.mjs +13 -5
  114. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListsApplyToOrderV1Request.d.mts +4 -1
  115. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListsListV1Request.d.mts +3 -0
  116. package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.d.mts +38 -5
  117. package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.mjs +164 -11
  118. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientCreate1.d.mts +1 -0
  119. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientUpdate1.d.mts +4 -0
  120. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksExpandedListV1Request.d.mts +6 -3
  121. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksListV1Request.d.mts +6 -3
  122. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksTypeaheadV1Request.d.mts +16 -0
  123. package/dist/esm/api/resources/{shipping/resources/orders/client/requests/OrdersUpdateDepartmentReq.d.mts → operations/resources/operationsTasks/client/requests/OperationsTasksUpdateDepartmentManyReq.d.mts} +5 -2
  124. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/index.d.mts +2 -0
  125. package/dist/esm/api/resources/orgs/client/Client.d.mts +2 -1
  126. package/dist/esm/api/resources/orgs/client/Client.mjs +11 -2
  127. package/dist/esm/api/resources/orgs/client/requests/OrgsListMembersV1Request.d.mts +3 -0
  128. package/dist/esm/api/resources/shipping/resources/drivers/client/Client.d.mts +32 -0
  129. package/dist/esm/api/resources/shipping/resources/drivers/client/Client.mjs +163 -16
  130. package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriversListOrgMembersAndDriversV1Request.d.mts +3 -0
  131. package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriversListV1Request.d.mts +15 -0
  132. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/Client.d.mts +2 -2
  133. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/Client.mjs +10 -5
  134. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplateNewClientCreate1.d.mts +2 -2
  135. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplateNewClientUpdate1.d.mts +2 -4
  136. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplatesNewListV1Request.d.mts +3 -3
  137. package/dist/esm/api/resources/shipping/resources/orders/client/Client.d.mts +13 -12
  138. package/dist/esm/api/resources/shipping/resources/orders/client/Client.mjs +23 -19
  139. package/dist/esm/api/resources/shipping/resources/orders/client/requests/OrdersAddCoordinatorTaskListToApplyAtOrderStagingV1Request.d.mts +3 -0
  140. package/dist/esm/api/resources/shipping/resources/orders/client/requests/OrdersUpdateDepartmentsReq.d.mts +10 -0
  141. package/dist/esm/api/resources/shipping/resources/orders/client/requests/OrdersUpdateDepartmentsReq.mjs +4 -0
  142. package/dist/esm/api/resources/shipping/resources/orders/client/requests/OrdersUpdateLabelsReq.d.mts +10 -0
  143. package/dist/esm/api/resources/shipping/resources/orders/client/requests/OrdersUpdateLabelsReq.mjs +4 -0
  144. package/dist/esm/api/resources/shipping/resources/orders/client/requests/index.d.mts +2 -2
  145. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersOpenDraftReq.d.mts +2 -2
  146. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.mts +3 -3
  147. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.mjs +25 -10
  148. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.mts +9 -7
  149. package/dist/esm/api/resources/shipping/resources/orders/resources/taskGroup/client/Client.d.mts +3 -5
  150. package/dist/esm/api/resources/shipping/resources/orders/resources/taskGroup/client/Client.mjs +5 -7
  151. package/dist/esm/api/resources/shipping/resources/orders/resources/taskGroup/client/requests/OrdersSetTaskGroupVehicleTypeReq.d.mts +3 -4
  152. package/dist/esm/api/resources/tracking/resources/devices/client/Client.d.mts +2 -0
  153. package/dist/esm/api/resources/tracking/resources/devices/client/Client.mjs +9 -1
  154. package/dist/esm/api/resources/tracking/resources/devices/client/requests/DevicesListV1Request.d.mts +6 -0
  155. package/dist/esm/api/types/BidThreadForListing1.d.mts +19 -0
  156. package/dist/esm/api/types/BidThreadForListing1.mjs +4 -0
  157. package/dist/esm/api/types/BidThreadForListingListRes.d.mts +8 -0
  158. package/dist/esm/api/types/BidThreadForListingListRes.mjs +4 -0
  159. package/dist/esm/api/types/Driver1.d.mts +1 -0
  160. package/dist/esm/api/types/DriverBiddingGroupListItemRes.d.mts +17 -0
  161. package/dist/esm/api/types/DriverBiddingGroupListItemRes.mjs +4 -0
  162. package/dist/esm/api/types/DriverBiddingGroupListRes.d.mts +1 -1
  163. package/dist/esm/api/types/DriverWithActiveTaskGroupIds1.d.mts +1 -0
  164. package/dist/esm/api/types/OperationsTask1.d.mts +1 -0
  165. package/dist/esm/api/types/OperationsTaskStatusEnum.d.mts +2 -1
  166. package/dist/esm/api/types/OperationsTaskStatusEnum.mjs +1 -0
  167. package/dist/esm/api/types/OperationsTaskTypeEnum.d.mts +2 -1
  168. package/dist/esm/api/types/OperationsTaskTypeEnum.mjs +1 -0
  169. package/dist/esm/api/types/OperationsTaskTypeaheadFieldEnum.d.mts +4 -0
  170. package/dist/esm/api/types/OperationsTaskTypeaheadFieldEnum.mjs +4 -0
  171. package/dist/esm/api/types/OperationsTaskTypeaheadResult.d.mts +8 -0
  172. package/dist/esm/api/types/OperationsTaskTypeaheadResult.mjs +4 -0
  173. package/dist/esm/api/types/OperationsTasksUpdateDepartmentManyRes.d.mts +7 -0
  174. package/dist/esm/api/types/OperationsTasksUpdateDepartmentManyRes.mjs +4 -0
  175. package/dist/esm/api/types/Order1.d.mts +2 -2
  176. package/dist/esm/api/types/OrderAndTaskGroupExpandedReq.d.mts +2 -2
  177. package/dist/esm/api/types/OrderBillingExecutor1.d.mts +1 -1
  178. package/dist/esm/api/types/OrderBillingExpandedListItem1.d.mts +1 -1
  179. package/dist/esm/api/types/OrderExpandedForProvider.d.mts +1 -1
  180. package/dist/esm/api/types/OrderLimitedForProvider1.d.mts +2 -2
  181. package/dist/esm/api/types/OrderTaskGroupExecutorDetails1.d.mts +2 -2
  182. package/dist/esm/api/types/OrderTemplateNew1.d.mts +2 -2
  183. package/dist/esm/api/types/OrderTemplateNewCore1.d.mts +2 -2
  184. package/dist/esm/api/types/OrderTemplateNewExpanded1.d.mts +3 -2
  185. package/dist/esm/api/types/OrgBiddingGroupListItemRes.d.mts +17 -0
  186. package/dist/esm/api/types/OrgBiddingGroupListItemRes.mjs +4 -0
  187. package/dist/esm/api/types/OrgBiddingGroupListRes.d.mts +1 -1
  188. package/dist/esm/api/types/TaskArtifactTypeEnum1.d.mts +2 -1
  189. package/dist/esm/api/types/TaskArtifactTypeEnum1.mjs +1 -0
  190. package/dist/esm/api/types/TaskGroup1.d.mts +1 -1
  191. package/dist/esm/api/types/TaskGroupExpanded.d.mts +1 -1
  192. package/dist/esm/api/types/TaskListToApplyToOrder1.d.mts +1 -0
  193. package/dist/esm/api/types/index.d.mts +7 -0
  194. package/dist/esm/api/types/index.mjs +7 -0
  195. package/dist/esm/version.d.mts +1 -1
  196. package/dist/esm/version.mjs +1 -1
  197. package/package.json +1 -1
  198. package/reference.md +310 -40
  199. /package/dist/cjs/api/resources/{shipping/resources/orders/client/requests/OrdersUpdateDepartmentReq.js → operations/resources/operationsTasks/client/requests/OperationsTasksTypeaheadV1Request.js} +0 -0
  200. /package/dist/cjs/api/resources/{shipping/resources/orders/client/requests/OrdersUpdateLabelReq.js → operations/resources/operationsTasks/client/requests/OperationsTasksUpdateDepartmentManyReq.js} +0 -0
  201. /package/dist/esm/api/resources/{shipping/resources/orders/client/requests/OrdersUpdateDepartmentReq.mjs → operations/resources/operationsTasks/client/requests/OperationsTasksTypeaheadV1Request.mjs} +0 -0
  202. /package/dist/esm/api/resources/{shipping/resources/orders/client/requests/OrdersUpdateLabelReq.mjs → operations/resources/operationsTasks/client/requests/OperationsTasksUpdateDepartmentManyReq.mjs} +0 -0
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.mjs";
5
+ export interface BidThreadForListingListRes {
6
+ items: Chrt.BidThreadForListing1[];
7
+ total_count: number;
8
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -4,6 +4,7 @@
4
4
  import * as Chrt from "../index.mjs";
5
5
  export interface Driver1 {
6
6
  _id: string;
7
+ archived_at_timestamp?: string | null;
7
8
  auto_assign_enabled?: boolean;
8
9
  available_according_to_driver?: boolean;
9
10
  available_according_to_operators?: boolean;
@@ -0,0 +1,17 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.mjs";
5
+ export interface DriverBiddingGroupListItemRes {
6
+ _id: string;
7
+ created_at_timestamp: string;
8
+ /** Must be a string starting with `user_` */
9
+ created_by_user_id: string;
10
+ driver_ids?: string[];
11
+ drivers?: Chrt.Driver1[];
12
+ group_name: string;
13
+ last_edited_at_timestamp: string;
14
+ /** Must be a string starting with `org_` */
15
+ owner_org_id: string;
16
+ schema_version: number;
17
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -3,6 +3,6 @@
3
3
  */
4
4
  import * as Chrt from "../index.mjs";
5
5
  export interface DriverBiddingGroupListRes {
6
- items: Chrt.DriverBiddingGroup1[];
6
+ items: Chrt.DriverBiddingGroupListItemRes[];
7
7
  total_count: number;
8
8
  }
@@ -11,6 +11,7 @@ import * as Chrt from "../index.mjs";
11
11
  export interface DriverWithActiveTaskGroupIds1 {
12
12
  _id: string;
13
13
  active_task_group_ids?: string[];
14
+ archived_at_timestamp?: string | null;
14
15
  auto_assign_enabled?: boolean;
15
16
  available_according_to_driver?: boolean;
16
17
  available_according_to_operators?: boolean;
@@ -12,6 +12,7 @@ export interface OperationsTask1 {
12
12
  deadline_timestamp?: string;
13
13
  department_id?: string | null;
14
14
  description: string;
15
+ entry_tag?: string | null;
15
16
  order_id: string;
16
17
  /** Must be a URL-safe string of 1-64 characters. Allowed characters: A-Z, a-z, 0-9, '.', '_', '~', '-' (RFC 3986 unreserved). */
17
18
  order_off_chrt_reference_id?: string | null;
@@ -8,10 +8,11 @@
8
8
  * structurally parallel to the Check status model in anticipation of the
9
9
  * eventual Task <-> Check merge.
10
10
  */
11
- export type OperationsTaskStatusEnum = "not_started" | "in_progress" | "completed" | "skipped" | "cancelled";
11
+ export type OperationsTaskStatusEnum = "not_started" | "in_progress" | "blocked" | "completed" | "skipped" | "cancelled";
12
12
  export declare const OperationsTaskStatusEnum: {
13
13
  readonly NotStarted: "not_started";
14
14
  readonly InProgress: "in_progress";
15
+ readonly Blocked: "blocked";
15
16
  readonly Completed: "completed";
16
17
  readonly Skipped: "skipped";
17
18
  readonly Cancelled: "cancelled";
@@ -4,6 +4,7 @@
4
4
  export const OperationsTaskStatusEnum = {
5
5
  NotStarted: "not_started",
6
6
  InProgress: "in_progress",
7
+ Blocked: "blocked",
7
8
  Completed: "completed",
8
9
  Skipped: "skipped",
9
10
  Cancelled: "cancelled",
@@ -15,13 +15,14 @@
15
15
  * *channel* (call vs. email) — the recipient is what a dispatcher batches
16
16
  * around, and the channel is captured in title/description detail.
17
17
  */
18
- export type OperationsTaskTypeEnum = "review_order_details" | "flight_check" | "facility_check" | "weather_check" | "book_cargo" | "track_and_verify" | "contact_customer" | "contact_agent" | "contact_airline" | "contact_other" | "finalize_billing" | "custom" | "other";
18
+ export type OperationsTaskTypeEnum = "review_order_details" | "flight_check" | "facility_check" | "weather_check" | "book_cargo" | "customs" | "track_and_verify" | "contact_customer" | "contact_agent" | "contact_airline" | "contact_other" | "finalize_billing" | "custom" | "other";
19
19
  export declare const OperationsTaskTypeEnum: {
20
20
  readonly ReviewOrderDetails: "review_order_details";
21
21
  readonly FlightCheck: "flight_check";
22
22
  readonly FacilityCheck: "facility_check";
23
23
  readonly WeatherCheck: "weather_check";
24
24
  readonly BookCargo: "book_cargo";
25
+ readonly Customs: "customs";
25
26
  readonly TrackAndVerify: "track_and_verify";
26
27
  readonly ContactCustomer: "contact_customer";
27
28
  readonly ContactAgent: "contact_agent";
@@ -7,6 +7,7 @@ export const OperationsTaskTypeEnum = {
7
7
  FacilityCheck: "facility_check",
8
8
  WeatherCheck: "weather_check",
9
9
  BookCargo: "book_cargo",
10
+ Customs: "customs",
10
11
  TrackAndVerify: "track_and_verify",
11
12
  ContactCustomer: "contact_customer",
12
13
  ContactAgent: "contact_agent",
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type OperationsTaskTypeaheadFieldEnum = "entry_tag";
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.mjs";
5
+ export interface OperationsTaskTypeaheadResult {
6
+ type: Chrt.OperationsTaskTypeaheadFieldEnum;
7
+ values?: string[];
8
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface OperationsTasksUpdateDepartmentManyRes {
5
+ /** Matched tasks in the caller's org, including unchanged assignments; missing and other-org tasks are skipped. */
6
+ updated_count: number;
7
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -8,8 +8,8 @@ export interface Order1 {
8
8
  cancelled_at_timestamp?: string | null;
9
9
  completed_at_timestamp?: string | null;
10
10
  coordinator_assigned_user_ids?: string[];
11
- coordinator_department_id?: string | null;
12
- coordinator_label?: string | null;
11
+ coordinator_department_ids?: string[];
12
+ coordinator_labels?: string[];
13
13
  /** Must be a string starting with `org_` */
14
14
  coordinator_org_id?: string | null;
15
15
  coordinator_shipper_account_ids?: string[];
@@ -5,12 +5,12 @@ export interface OrderAndTaskGroupExpandedReq {
5
5
  expand_accounts?: boolean;
6
6
  expand_cargos?: boolean;
7
7
  expand_contacts?: boolean;
8
- expand_coordinator_department?: boolean;
8
+ expand_coordinator_departments?: boolean;
9
9
  expand_coordinator_org_company_name?: boolean;
10
10
  expand_coordinator_org_handle?: boolean;
11
11
  expand_coordinator_task_lists_to_apply_at_order_staging?: boolean;
12
12
  expand_driver?: boolean;
13
- expand_executor_department?: boolean;
13
+ expand_executor_departments?: boolean;
14
14
  expand_executor_org_company_name?: boolean;
15
15
  expand_executor_org_handle?: boolean;
16
16
  expand_notification_intents_ad_hoc?: boolean;
@@ -2,7 +2,7 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  export interface OrderBillingExecutor1 {
5
- executor_label?: string | null;
5
+ executor_labels?: string[];
6
6
  /** Must be a string starting with `org_` */
7
7
  executor_org_id?: string | null;
8
8
  name?: string | null;
@@ -6,7 +6,7 @@ export interface OrderBillingExpandedListItem1 {
6
6
  accounts?: Chrt.OrderBillingAccount1[];
7
7
  awb_numbers?: string[];
8
8
  billing_periods?: Chrt.OrderBillingPeriod1[];
9
- coordinator_label?: string | null;
9
+ coordinator_labels?: string[];
10
10
  executors?: Chrt.OrderBillingExecutor1[];
11
11
  includes_air_waybill_invoice_line_item: boolean;
12
12
  invoice_count: number;
@@ -3,7 +3,7 @@
3
3
  */
4
4
  import * as Chrt from "../index.mjs";
5
5
  export interface OrderExpandedForProvider {
6
- coordinator_department?: Chrt.Department1 | null;
6
+ coordinator_departments?: Chrt.Department1[];
7
7
  coordinator_org_company_name?: string | null;
8
8
  /** Must be a string starting with `@`. May only contain a-z, A-Z, 0-9, _, -. May not be longer than 30 characters. */
9
9
  coordinator_org_handle?: string | null;
@@ -13,8 +13,8 @@ export interface OrderLimitedForProvider1 {
13
13
  cancelled_at_timestamp?: string | null;
14
14
  completed_at_timestamp?: string | null;
15
15
  coordinator_assigned_user_ids?: string[];
16
- coordinator_department_id?: string | null;
17
- coordinator_label?: string | null;
16
+ coordinator_department_ids?: string[];
17
+ coordinator_labels?: string[];
18
18
  /** Must be a string starting with `org_` */
19
19
  coordinator_org_id?: string | null;
20
20
  coordinator_shipper_account_ids?: string[];
@@ -4,8 +4,8 @@
4
4
  import * as Chrt from "../index.mjs";
5
5
  export interface OrderTaskGroupExecutorDetails1 {
6
6
  executor_assigned_user_ids?: string[];
7
- executor_department_id?: string | null;
8
- executor_label?: string | null;
7
+ executor_department_ids?: string[];
8
+ executor_labels?: string[];
9
9
  /** Must be a string starting with `org_` */
10
10
  executor_org_id?: string | null;
11
11
  off_chrt_executor_org_data_id?: string | null;
@@ -7,8 +7,8 @@ export interface OrderTemplateNew1 {
7
7
  archived_at_timestamp?: string | null;
8
8
  cargos?: Chrt.OrderTemplateNewCargo1[];
9
9
  coordinator_assigned_user_ids?: string[];
10
- coordinator_department_id?: string | null;
11
- coordinator_label?: string | null;
10
+ coordinator_department_ids?: string[];
11
+ coordinator_labels?: string[];
12
12
  /** Must be a string starting with `org_` */
13
13
  coordinator_org_id?: string | null;
14
14
  created_at_timestamp: string;
@@ -5,8 +5,8 @@ import * as Chrt from "../index.mjs";
5
5
  export interface OrderTemplateNewCore1 {
6
6
  cargos?: Chrt.OrderTemplateNewCargo1[];
7
7
  coordinator_assigned_user_ids?: string[];
8
- coordinator_department_id?: string | null;
9
- coordinator_label?: string | null;
8
+ coordinator_department_ids?: string[];
9
+ coordinator_labels?: string[];
10
10
  /** Must be a string starting with `org_` */
11
11
  coordinator_org_id?: string | null;
12
12
  /** Must be a URL-safe string of 1-64 characters. Allowed characters: A-Z, a-z, 0-9, '.', '_', '~', '-' (RFC 3986 unreserved). */
@@ -7,8 +7,9 @@ export interface OrderTemplateNewExpanded1 {
7
7
  archived_at_timestamp?: string | null;
8
8
  cargos?: Chrt.OrderTemplateNewCargo1[];
9
9
  coordinator_assigned_user_ids?: string[];
10
- coordinator_department_id?: string | null;
11
- coordinator_label?: string | null;
10
+ coordinator_department_ids?: string[];
11
+ coordinator_departments?: Chrt.Department1[];
12
+ coordinator_labels?: string[];
12
13
  coordinator_org?: Chrt.OrgPublicData1 | null;
13
14
  /** Must be a string starting with `org_` */
14
15
  coordinator_org_id?: string | null;
@@ -0,0 +1,17 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.mjs";
5
+ export interface OrgBiddingGroupListItemRes {
6
+ _id: string;
7
+ created_at_timestamp: string;
8
+ /** Must be a string starting with `user_` */
9
+ created_by_user_id: string;
10
+ group_name: string;
11
+ last_edited_at_timestamp: string;
12
+ /** Must be a string starting with `org_` */
13
+ owner_org_id: string;
14
+ provider_org_ids?: string[];
15
+ providers?: Chrt.OrgPublicData1[];
16
+ schema_version: number;
17
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -3,6 +3,6 @@
3
3
  */
4
4
  import * as Chrt from "../index.mjs";
5
5
  export interface OrgBiddingGroupListRes {
6
- items: Chrt.OrgBiddingGroup1[];
6
+ items: Chrt.OrgBiddingGroupListItemRes[];
7
7
  total_count: number;
8
8
  }
@@ -1,9 +1,10 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export type TaskArtifactTypeEnum1 = "image" | "signature" | "scan" | "other";
4
+ export type TaskArtifactTypeEnum1 = "image" | "file" | "signature" | "scan" | "other";
5
5
  export declare const TaskArtifactTypeEnum1: {
6
6
  readonly Image: "image";
7
+ readonly File: "file";
7
8
  readonly Signature: "signature";
8
9
  readonly Scan: "scan";
9
10
  readonly Other: "other";
@@ -3,6 +3,7 @@
3
3
  */
4
4
  export const TaskArtifactTypeEnum1 = {
5
5
  Image: "image",
6
+ File: "file",
6
7
  Signature: "signature",
7
8
  Scan: "scan",
8
9
  Other: "other",
@@ -38,6 +38,6 @@ export interface TaskGroup1 {
38
38
  task_group_s3_object_metadata_ids?: string[];
39
39
  task_group_type: Chrt.TaskGroupTypeEnum1;
40
40
  task_ids?: string[];
41
- vehicle_type?: Chrt.VehicleTypeEnum;
41
+ vehicle_type?: Chrt.VehicleTypeEnum | null;
42
42
  wait_time_total_minutes?: number | null;
43
43
  }
@@ -10,7 +10,7 @@ export interface TaskGroupExpanded {
10
10
  /** Must be a string starting with `org_` */
11
11
  coordinator_org_id?: string | null;
12
12
  driver?: Chrt.Driver1 | null;
13
- executor_department?: Chrt.Department1 | null;
13
+ executor_departments?: Chrt.Department1[];
14
14
  executor_org_company_name?: string | null;
15
15
  /** Must be a string starting with `@`. May only contain a-z, A-Z, 0-9, _, -. May not be longer than 30 characters. */
16
16
  executor_org_handle?: string | null;
@@ -6,6 +6,7 @@
6
6
  */
7
7
  export interface TaskListToApplyToOrder1 {
8
8
  department_id?: string | null;
9
+ entry_tag?: string | null;
9
10
  initial_deadline_timestamp?: string | null;
10
11
  task_list_id: string;
11
12
  }
@@ -33,6 +33,8 @@ export * from "./Bid.mjs";
33
33
  export * from "./BidActionEnum.mjs";
34
34
  export * from "./BidAppendReq.mjs";
35
35
  export * from "./BidThread1.mjs";
36
+ export * from "./BidThreadForListing1.mjs";
37
+ export * from "./BidThreadForListingListRes.mjs";
36
38
  export * from "./BidThreadListRes.mjs";
37
39
  export * from "./BidThreadSortByEnum.mjs";
38
40
  export * from "./BidThreadStatusEnum.mjs";
@@ -202,6 +204,7 @@ export * from "./Driver1.mjs";
202
204
  export * from "./DriverAnalyticsDay.mjs";
203
205
  export * from "./DriverAnalyticsTaskGroup.mjs";
204
206
  export * from "./DriverBiddingGroup1.mjs";
207
+ export * from "./DriverBiddingGroupListItemRes.mjs";
205
208
  export * from "./DriverBiddingGroupListRes.mjs";
206
209
  export * from "./DriverBiddingGroupSortByEnum.mjs";
207
210
  export * from "./DriverComplianceDocument1.mjs";
@@ -353,8 +356,11 @@ export * from "./OperationsTaskListSortByEnum.mjs";
353
356
  export * from "./OperationsTaskSortByEnum.mjs";
354
357
  export * from "./OperationsTaskStatusEnum.mjs";
355
358
  export * from "./OperationsTaskTypeEnum.mjs";
359
+ export * from "./OperationsTaskTypeaheadFieldEnum.mjs";
360
+ export * from "./OperationsTaskTypeaheadResult.mjs";
356
361
  export * from "./OperationsTasksDeadlineTimestampsUpdateRes1.mjs";
357
362
  export * from "./OperationsTasksStatusUpdateRes1.mjs";
363
+ export * from "./OperationsTasksUpdateDepartmentManyRes.mjs";
358
364
  export * from "./Order1.mjs";
359
365
  export * from "./OrderAndTaskGroupExpandedReq.mjs";
360
366
  export * from "./OrderAwbBillingAccount1.mjs";
@@ -416,6 +422,7 @@ export * from "./OrdersOpenDraftRes.mjs";
416
422
  export * from "./OrdersUpdateDraftRes.mjs";
417
423
  export * from "./OrdersUpdateOffChrtReferenceIdRes.mjs";
418
424
  export * from "./OrgBiddingGroup1.mjs";
425
+ export * from "./OrgBiddingGroupListItemRes.mjs";
419
426
  export * from "./OrgBiddingGroupListRes.mjs";
420
427
  export * from "./OrgBiddingGroupSortByEnum.mjs";
421
428
  export * from "./OrgComplianceDocument1.mjs";
@@ -33,6 +33,8 @@ export * from "./Bid.mjs";
33
33
  export * from "./BidActionEnum.mjs";
34
34
  export * from "./BidAppendReq.mjs";
35
35
  export * from "./BidThread1.mjs";
36
+ export * from "./BidThreadForListing1.mjs";
37
+ export * from "./BidThreadForListingListRes.mjs";
36
38
  export * from "./BidThreadListRes.mjs";
37
39
  export * from "./BidThreadSortByEnum.mjs";
38
40
  export * from "./BidThreadStatusEnum.mjs";
@@ -202,6 +204,7 @@ export * from "./Driver1.mjs";
202
204
  export * from "./DriverAnalyticsDay.mjs";
203
205
  export * from "./DriverAnalyticsTaskGroup.mjs";
204
206
  export * from "./DriverBiddingGroup1.mjs";
207
+ export * from "./DriverBiddingGroupListItemRes.mjs";
205
208
  export * from "./DriverBiddingGroupListRes.mjs";
206
209
  export * from "./DriverBiddingGroupSortByEnum.mjs";
207
210
  export * from "./DriverComplianceDocument1.mjs";
@@ -353,8 +356,11 @@ export * from "./OperationsTaskListSortByEnum.mjs";
353
356
  export * from "./OperationsTaskSortByEnum.mjs";
354
357
  export * from "./OperationsTaskStatusEnum.mjs";
355
358
  export * from "./OperationsTaskTypeEnum.mjs";
359
+ export * from "./OperationsTaskTypeaheadFieldEnum.mjs";
360
+ export * from "./OperationsTaskTypeaheadResult.mjs";
356
361
  export * from "./OperationsTasksDeadlineTimestampsUpdateRes1.mjs";
357
362
  export * from "./OperationsTasksStatusUpdateRes1.mjs";
363
+ export * from "./OperationsTasksUpdateDepartmentManyRes.mjs";
358
364
  export * from "./Order1.mjs";
359
365
  export * from "./OrderAndTaskGroupExpandedReq.mjs";
360
366
  export * from "./OrderAwbBillingAccount1.mjs";
@@ -416,6 +422,7 @@ export * from "./OrdersOpenDraftRes.mjs";
416
422
  export * from "./OrdersUpdateDraftRes.mjs";
417
423
  export * from "./OrdersUpdateOffChrtReferenceIdRes.mjs";
418
424
  export * from "./OrgBiddingGroup1.mjs";
425
+ export * from "./OrgBiddingGroupListItemRes.mjs";
419
426
  export * from "./OrgBiddingGroupListRes.mjs";
420
427
  export * from "./OrgBiddingGroupSortByEnum.mjs";
421
428
  export * from "./OrgComplianceDocument1.mjs";
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.984.0";
1
+ export declare const SDK_VERSION = "1.992.0";
@@ -1 +1 @@
1
- export const SDK_VERSION = "1.984.0";
1
+ export const SDK_VERSION = "1.992.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chrt-inc/typescript-sdk",
3
- "version": "1.984.0",
3
+ "version": "1.992.0",
4
4
  "private": false,
5
5
  "repository": "github:chrt-inc/typescript-sdk",
6
6
  "type": "commonjs",