@chrt-inc/typescript-sdk 1.925.0 → 1.929.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 (212) hide show
  1. package/dist/cjs/Client.js +2 -2
  2. package/dist/cjs/api/resources/billingNew/resources/invoices/client/Client.d.ts +1 -1
  3. package/dist/cjs/api/resources/billingNew/resources/invoices/client/Client.js +1 -1
  4. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.d.ts +3 -1
  5. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.js +11 -3
  6. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksExpandedListV1Request.d.ts +3 -0
  7. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksListV1Request.d.ts +3 -0
  8. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/Client.d.ts +6 -1
  9. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/Client.js +30 -2
  10. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplatesNewListV1Request.d.ts +17 -0
  11. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/resources/tasks/client/requests/OrderTemplateNewTaskClientUpdate1.d.ts +1 -0
  12. package/dist/cjs/api/resources/shipping/resources/orders/resources/task/client/requests/TaskClientUpdate1.d.ts +1 -0
  13. package/dist/cjs/api/resources/shipping/resources/tasks/client/Client.d.ts +19 -2
  14. package/dist/cjs/api/resources/shipping/resources/tasks/client/Client.js +74 -5
  15. package/dist/cjs/api/resources/shipping/resources/tasks/client/requests/TaskCompleteReq.d.ts +10 -0
  16. package/dist/cjs/api/resources/shipping/resources/tasks/client/requests/TaskCompletionTimestampUpdateReq.d.ts +12 -0
  17. package/dist/cjs/api/resources/shipping/resources/tasks/client/requests/index.d.ts +2 -0
  18. package/dist/cjs/api/resources/tracking/client/Client.d.ts +6 -0
  19. package/dist/cjs/api/resources/tracking/client/Client.js +16 -6
  20. package/dist/cjs/api/resources/tracking/resources/geofenceTemplates/client/Client.d.ts +140 -0
  21. package/dist/cjs/api/resources/tracking/resources/geofenceTemplates/client/Client.js +494 -0
  22. package/dist/cjs/api/resources/tracking/resources/geofenceTemplates/client/index.d.ts +2 -0
  23. package/dist/cjs/api/resources/tracking/resources/geofenceTemplates/client/index.js +17 -0
  24. package/dist/cjs/api/resources/tracking/resources/geofenceTemplates/client/requests/GeofenceTemplatesListV1Request.d.ts +45 -0
  25. package/dist/cjs/api/resources/tracking/resources/geofenceTemplates/client/requests/SessionGeofenceTemplateClientCreate1.d.ts +28 -0
  26. package/dist/cjs/api/resources/tracking/resources/geofenceTemplates/client/requests/SessionGeofenceTemplateClientUpdate1.d.ts +14 -0
  27. package/dist/cjs/api/resources/tracking/resources/geofenceTemplates/client/requests/SessionGeofenceTemplateClientUpdate1.js +5 -0
  28. package/dist/cjs/api/resources/tracking/resources/geofenceTemplates/client/requests/index.d.ts +3 -0
  29. package/dist/cjs/api/resources/tracking/resources/geofenceTemplates/client/requests/index.js +2 -0
  30. package/dist/cjs/api/resources/tracking/resources/geofenceTemplates/index.d.ts +1 -0
  31. package/dist/cjs/api/resources/tracking/resources/geofenceTemplates/index.js +17 -0
  32. package/dist/cjs/api/resources/tracking/resources/index.d.ts +4 -0
  33. package/dist/cjs/api/resources/tracking/resources/index.js +5 -1
  34. package/dist/cjs/api/resources/tracking/resources/sessionGeofences/client/Client.d.ts +117 -0
  35. package/dist/cjs/api/resources/tracking/resources/sessionGeofences/client/Client.js +393 -0
  36. package/dist/cjs/api/resources/tracking/resources/sessionGeofences/client/index.d.ts +2 -0
  37. package/dist/cjs/api/resources/tracking/resources/sessionGeofences/client/index.js +17 -0
  38. package/dist/cjs/api/resources/tracking/resources/sessionGeofences/client/requests/SessionGeofenceApplyTemplateReq.d.ts +12 -0
  39. package/dist/cjs/api/resources/tracking/resources/sessionGeofences/client/requests/SessionGeofenceApplyTemplateReq.js +5 -0
  40. package/dist/cjs/api/resources/tracking/resources/sessionGeofences/client/requests/SessionGeofenceClientUpdate1.d.ts +13 -0
  41. package/dist/cjs/api/resources/tracking/resources/sessionGeofences/client/requests/SessionGeofenceClientUpdate1.js +5 -0
  42. package/dist/cjs/api/resources/tracking/resources/sessionGeofences/client/requests/SessionGeofenceReorderReq.d.ts +10 -0
  43. package/dist/cjs/api/resources/tracking/resources/sessionGeofences/client/requests/SessionGeofenceReorderReq.js +5 -0
  44. package/dist/cjs/api/resources/tracking/resources/sessionGeofences/client/requests/index.d.ts +3 -0
  45. package/dist/cjs/api/resources/tracking/resources/sessionGeofences/client/requests/index.js +2 -0
  46. package/dist/cjs/api/resources/tracking/resources/sessionGeofences/index.d.ts +1 -0
  47. package/dist/cjs/api/resources/tracking/resources/sessionGeofences/index.js +17 -0
  48. package/dist/cjs/api/resources/tracking/resources/sessions/client/Client.d.ts +8 -8
  49. package/dist/cjs/api/resources/tracking/resources/sessions/client/Client.js +5 -5
  50. package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/{SessionClientUpdate1.d.ts → SessionClientUpdate2.d.ts} +1 -5
  51. package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/SessionClientUpdate2.js +5 -0
  52. package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/{SessionClientCreate1.d.ts → SessionsCreateV1Req.d.ts} +3 -3
  53. package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/SessionsCreateV1Req.js +5 -0
  54. package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/index.d.ts +2 -2
  55. package/dist/cjs/api/types/BillingInvoiceApprovedWebhookPayload.d.ts +10 -0
  56. package/dist/cjs/api/types/BillingInvoiceApprovedWebhookPayload.js +5 -0
  57. package/dist/cjs/api/types/DeviceExpandedRes.d.ts +2 -2
  58. package/dist/cjs/api/types/GeofencePointLocationFeature1.d.ts +14 -0
  59. package/dist/cjs/api/types/GeofencePointLocationFeature1.js +5 -0
  60. package/dist/cjs/api/types/GeofenceTemplateListRes.d.ts +8 -0
  61. package/dist/cjs/api/types/GeofenceTemplateListRes.js +5 -0
  62. package/dist/cjs/api/types/GeofenceTemplateSortByEnum.d.ts +10 -0
  63. package/dist/cjs/api/types/GeofenceTemplateSortByEnum.js +12 -0
  64. package/dist/cjs/api/types/InvoiceExpandedRes.d.ts +1 -1
  65. package/dist/cjs/api/types/InvoiceLineItemExpandedRes.d.ts +12 -0
  66. package/dist/cjs/api/types/InvoiceLineItemExpandedRes.js +5 -0
  67. package/dist/cjs/api/types/NotificationEventsForAdHocEnum.d.ts +2 -2
  68. package/dist/cjs/api/types/NotificationEventsForAdHocEnum.js +1 -1
  69. package/dist/cjs/api/types/NotificationEventsForOrgsEnum.d.ts +3 -2
  70. package/dist/cjs/api/types/NotificationEventsForOrgsEnum.js +2 -1
  71. package/dist/cjs/api/types/NotificationEventsForUsersEnum.d.ts +3 -2
  72. package/dist/cjs/api/types/NotificationEventsForUsersEnum.js +2 -1
  73. package/dist/cjs/api/types/OrderAndTaskGroupExpandedReq.d.ts +1 -0
  74. package/dist/cjs/api/types/OrderExpandedForProvider.d.ts +1 -0
  75. package/dist/cjs/api/types/OrderTemplateNewExpanded1.d.ts +37 -0
  76. package/dist/cjs/api/types/OrderTemplateNewExpanded1.js +5 -0
  77. package/dist/cjs/api/types/OrderTemplateNewListRes.d.ts +1 -1
  78. package/dist/cjs/api/types/OrderTemplateNewTaskGroupExpanded1.d.ts +10 -0
  79. package/dist/cjs/api/types/OrderTemplateNewTaskGroupExpanded1.js +5 -0
  80. package/dist/cjs/api/types/Point.d.ts +1 -0
  81. package/dist/cjs/api/types/{Session1.d.ts → Session2.d.ts} +2 -4
  82. package/dist/cjs/api/types/Session2.js +5 -0
  83. package/dist/cjs/api/types/SessionGeofence1.d.ts +12 -0
  84. package/dist/cjs/api/types/SessionGeofence1.js +5 -0
  85. package/dist/cjs/api/types/SessionGeofenceBase1.d.ts +9 -0
  86. package/dist/cjs/api/types/SessionGeofenceBase1.js +5 -0
  87. package/dist/cjs/api/types/SessionGeofenceClientCreate1.d.ts +9 -0
  88. package/dist/cjs/api/types/SessionGeofenceClientCreate1.js +5 -0
  89. package/dist/cjs/api/types/SessionGeofenceTemplate1.d.ts +19 -0
  90. package/dist/cjs/api/types/SessionGeofenceTemplate1.js +5 -0
  91. package/dist/cjs/api/types/SessionListRes.d.ts +1 -1
  92. package/dist/cjs/api/types/Task1.d.ts +1 -0
  93. package/dist/cjs/api/types/TaskListToApplyToOrderExpanded.d.ts +8 -0
  94. package/dist/cjs/api/types/TaskListToApplyToOrderExpanded.js +5 -0
  95. package/dist/cjs/api/types/TrackingSessionGeofenceEnteredWebhookPayload.d.ts +14 -0
  96. package/dist/cjs/api/types/TrackingSessionGeofenceEnteredWebhookPayload.js +5 -0
  97. package/dist/cjs/api/types/index.d.ts +14 -2
  98. package/dist/cjs/api/types/index.js +14 -2
  99. package/dist/cjs/version.d.ts +1 -1
  100. package/dist/cjs/version.js +1 -1
  101. package/dist/esm/Client.mjs +2 -2
  102. package/dist/esm/api/resources/billingNew/resources/invoices/client/Client.d.mts +1 -1
  103. package/dist/esm/api/resources/billingNew/resources/invoices/client/Client.mjs +1 -1
  104. package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.d.mts +3 -1
  105. package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.mjs +11 -3
  106. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksExpandedListV1Request.d.mts +3 -0
  107. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksListV1Request.d.mts +3 -0
  108. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/Client.d.mts +6 -1
  109. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/Client.mjs +30 -2
  110. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplatesNewListV1Request.d.mts +17 -0
  111. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/resources/tasks/client/requests/OrderTemplateNewTaskClientUpdate1.d.mts +1 -0
  112. package/dist/esm/api/resources/shipping/resources/orders/resources/task/client/requests/TaskClientUpdate1.d.mts +1 -0
  113. package/dist/esm/api/resources/shipping/resources/tasks/client/Client.d.mts +19 -2
  114. package/dist/esm/api/resources/shipping/resources/tasks/client/Client.mjs +74 -5
  115. package/dist/esm/api/resources/shipping/resources/tasks/client/requests/TaskCompleteReq.d.mts +10 -0
  116. package/dist/esm/api/resources/shipping/resources/tasks/client/requests/TaskCompletionTimestampUpdateReq.d.mts +12 -0
  117. package/dist/esm/api/resources/shipping/resources/tasks/client/requests/index.d.mts +2 -0
  118. package/dist/esm/api/resources/tracking/client/Client.d.mts +6 -0
  119. package/dist/esm/api/resources/tracking/client/Client.mjs +10 -0
  120. package/dist/esm/api/resources/tracking/resources/geofenceTemplates/client/Client.d.mts +140 -0
  121. package/dist/esm/api/resources/tracking/resources/geofenceTemplates/client/Client.mjs +457 -0
  122. package/dist/esm/api/resources/tracking/resources/geofenceTemplates/client/index.d.mts +2 -0
  123. package/dist/esm/api/resources/tracking/resources/geofenceTemplates/client/index.mjs +1 -0
  124. package/dist/esm/api/resources/tracking/resources/geofenceTemplates/client/requests/GeofenceTemplatesListV1Request.d.mts +45 -0
  125. package/dist/esm/api/resources/tracking/resources/geofenceTemplates/client/requests/SessionGeofenceTemplateClientCreate1.d.mts +28 -0
  126. package/dist/esm/api/resources/tracking/resources/geofenceTemplates/client/requests/SessionGeofenceTemplateClientUpdate1.d.mts +14 -0
  127. package/dist/esm/api/resources/tracking/resources/geofenceTemplates/client/requests/SessionGeofenceTemplateClientUpdate1.mjs +4 -0
  128. package/dist/esm/api/resources/tracking/resources/geofenceTemplates/client/requests/index.d.mts +3 -0
  129. package/dist/esm/api/resources/tracking/resources/geofenceTemplates/client/requests/index.mjs +1 -0
  130. package/dist/esm/api/resources/tracking/resources/geofenceTemplates/index.d.mts +1 -0
  131. package/dist/esm/api/resources/tracking/resources/geofenceTemplates/index.mjs +1 -0
  132. package/dist/esm/api/resources/tracking/resources/index.d.mts +4 -0
  133. package/dist/esm/api/resources/tracking/resources/index.mjs +4 -0
  134. package/dist/esm/api/resources/tracking/resources/sessionGeofences/client/Client.d.mts +117 -0
  135. package/dist/esm/api/resources/tracking/resources/sessionGeofences/client/Client.mjs +356 -0
  136. package/dist/esm/api/resources/tracking/resources/sessionGeofences/client/index.d.mts +2 -0
  137. package/dist/esm/api/resources/tracking/resources/sessionGeofences/client/index.mjs +1 -0
  138. package/dist/esm/api/resources/tracking/resources/sessionGeofences/client/requests/SessionGeofenceApplyTemplateReq.d.mts +12 -0
  139. package/dist/esm/api/resources/tracking/resources/sessionGeofences/client/requests/SessionGeofenceApplyTemplateReq.mjs +4 -0
  140. package/dist/esm/api/resources/tracking/resources/sessionGeofences/client/requests/SessionGeofenceClientUpdate1.d.mts +13 -0
  141. package/dist/esm/api/resources/tracking/resources/sessionGeofences/client/requests/SessionGeofenceClientUpdate1.mjs +4 -0
  142. package/dist/esm/api/resources/tracking/resources/sessionGeofences/client/requests/SessionGeofenceReorderReq.d.mts +10 -0
  143. package/dist/esm/api/resources/tracking/resources/sessionGeofences/client/requests/SessionGeofenceReorderReq.mjs +4 -0
  144. package/dist/esm/api/resources/tracking/resources/sessionGeofences/client/requests/index.d.mts +3 -0
  145. package/dist/esm/api/resources/tracking/resources/sessionGeofences/client/requests/index.mjs +1 -0
  146. package/dist/esm/api/resources/tracking/resources/sessionGeofences/index.d.mts +1 -0
  147. package/dist/esm/api/resources/tracking/resources/sessionGeofences/index.mjs +1 -0
  148. package/dist/esm/api/resources/tracking/resources/sessions/client/Client.d.mts +8 -8
  149. package/dist/esm/api/resources/tracking/resources/sessions/client/Client.mjs +5 -5
  150. package/dist/esm/api/resources/tracking/resources/sessions/client/requests/{SessionClientUpdate1.d.mts → SessionClientUpdate2.d.mts} +1 -5
  151. package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionClientUpdate2.mjs +4 -0
  152. package/dist/esm/api/resources/tracking/resources/sessions/client/requests/{SessionClientCreate1.d.mts → SessionsCreateV1Req.d.mts} +3 -3
  153. package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionsCreateV1Req.mjs +4 -0
  154. package/dist/esm/api/resources/tracking/resources/sessions/client/requests/index.d.mts +2 -2
  155. package/dist/esm/api/types/BillingInvoiceApprovedWebhookPayload.d.mts +10 -0
  156. package/dist/esm/api/types/BillingInvoiceApprovedWebhookPayload.mjs +4 -0
  157. package/dist/esm/api/types/DeviceExpandedRes.d.mts +2 -2
  158. package/dist/esm/api/types/GeofencePointLocationFeature1.d.mts +14 -0
  159. package/dist/esm/api/types/GeofencePointLocationFeature1.mjs +4 -0
  160. package/dist/esm/api/types/GeofenceTemplateListRes.d.mts +8 -0
  161. package/dist/esm/api/types/GeofenceTemplateListRes.mjs +4 -0
  162. package/dist/esm/api/types/GeofenceTemplateSortByEnum.d.mts +10 -0
  163. package/dist/esm/api/types/GeofenceTemplateSortByEnum.mjs +9 -0
  164. package/dist/esm/api/types/InvoiceExpandedRes.d.mts +1 -1
  165. package/dist/esm/api/types/InvoiceLineItemExpandedRes.d.mts +12 -0
  166. package/dist/esm/api/types/InvoiceLineItemExpandedRes.mjs +4 -0
  167. package/dist/esm/api/types/NotificationEventsForAdHocEnum.d.mts +2 -2
  168. package/dist/esm/api/types/NotificationEventsForAdHocEnum.mjs +1 -1
  169. package/dist/esm/api/types/NotificationEventsForOrgsEnum.d.mts +3 -2
  170. package/dist/esm/api/types/NotificationEventsForOrgsEnum.mjs +2 -1
  171. package/dist/esm/api/types/NotificationEventsForUsersEnum.d.mts +3 -2
  172. package/dist/esm/api/types/NotificationEventsForUsersEnum.mjs +2 -1
  173. package/dist/esm/api/types/OrderAndTaskGroupExpandedReq.d.mts +1 -0
  174. package/dist/esm/api/types/OrderExpandedForProvider.d.mts +1 -0
  175. package/dist/esm/api/types/OrderTemplateNewExpanded1.d.mts +37 -0
  176. package/dist/esm/api/types/OrderTemplateNewExpanded1.mjs +4 -0
  177. package/dist/esm/api/types/OrderTemplateNewListRes.d.mts +1 -1
  178. package/dist/esm/api/types/OrderTemplateNewTaskGroupExpanded1.d.mts +10 -0
  179. package/dist/esm/api/types/OrderTemplateNewTaskGroupExpanded1.mjs +4 -0
  180. package/dist/esm/api/types/Point.d.mts +1 -0
  181. package/dist/esm/api/types/{Session1.d.mts → Session2.d.mts} +2 -4
  182. package/dist/esm/api/types/Session2.mjs +4 -0
  183. package/dist/esm/api/types/SessionGeofence1.d.mts +12 -0
  184. package/dist/esm/api/types/SessionGeofence1.mjs +4 -0
  185. package/dist/esm/api/types/SessionGeofenceBase1.d.mts +9 -0
  186. package/dist/esm/api/types/SessionGeofenceBase1.mjs +4 -0
  187. package/dist/esm/api/types/SessionGeofenceClientCreate1.d.mts +9 -0
  188. package/dist/esm/api/types/SessionGeofenceClientCreate1.mjs +4 -0
  189. package/dist/esm/api/types/SessionGeofenceTemplate1.d.mts +19 -0
  190. package/dist/esm/api/types/SessionGeofenceTemplate1.mjs +4 -0
  191. package/dist/esm/api/types/SessionListRes.d.mts +1 -1
  192. package/dist/esm/api/types/Task1.d.mts +1 -0
  193. package/dist/esm/api/types/TaskListToApplyToOrderExpanded.d.mts +8 -0
  194. package/dist/esm/api/types/TaskListToApplyToOrderExpanded.mjs +4 -0
  195. package/dist/esm/api/types/TrackingSessionGeofenceEnteredWebhookPayload.d.mts +14 -0
  196. package/dist/esm/api/types/TrackingSessionGeofenceEnteredWebhookPayload.mjs +4 -0
  197. package/dist/esm/api/types/index.d.mts +14 -2
  198. package/dist/esm/api/types/index.mjs +14 -2
  199. package/dist/esm/version.d.mts +1 -1
  200. package/dist/esm/version.mjs +1 -1
  201. package/package.json +1 -1
  202. package/reference.md +982 -100
  203. package/dist/cjs/api/types/TrackingSessionDestinationGeofenceEnteredWebhookPayload.d.ts +0 -10
  204. package/dist/esm/api/types/TrackingSessionDestinationGeofenceEnteredWebhookPayload.d.mts +0 -10
  205. /package/dist/cjs/api/resources/{tracking/resources/sessions/client/requests/SessionClientCreate1.js → shipping/resources/tasks/client/requests/TaskCompleteReq.js} +0 -0
  206. /package/dist/cjs/api/resources/{tracking/resources/sessions/client/requests/SessionClientUpdate1.js → shipping/resources/tasks/client/requests/TaskCompletionTimestampUpdateReq.js} +0 -0
  207. /package/dist/cjs/api/{types/Session1.js → resources/tracking/resources/geofenceTemplates/client/requests/GeofenceTemplatesListV1Request.js} +0 -0
  208. /package/dist/cjs/api/{types/TrackingSessionDestinationGeofenceEnteredWebhookPayload.js → resources/tracking/resources/geofenceTemplates/client/requests/SessionGeofenceTemplateClientCreate1.js} +0 -0
  209. /package/dist/esm/api/resources/{tracking/resources/sessions/client/requests/SessionClientCreate1.mjs → shipping/resources/tasks/client/requests/TaskCompleteReq.mjs} +0 -0
  210. /package/dist/esm/api/resources/{tracking/resources/sessions/client/requests/SessionClientUpdate1.mjs → shipping/resources/tasks/client/requests/TaskCompletionTimestampUpdateReq.mjs} +0 -0
  211. /package/dist/esm/api/{types/Session1.mjs → resources/tracking/resources/geofenceTemplates/client/requests/GeofenceTemplatesListV1Request.mjs} +0 -0
  212. /package/dist/esm/api/{types/TrackingSessionDestinationGeofenceEnteredWebhookPayload.mjs → resources/tracking/resources/geofenceTemplates/client/requests/SessionGeofenceTemplateClientCreate1.mjs} +0 -0
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {}
7
+ */
8
+ export interface SessionGeofenceReorderReq {
9
+ ordered_geofence_ids?: string[];
10
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,3 @@
1
+ export { type SessionGeofenceApplyTemplateReq } from "./SessionGeofenceApplyTemplateReq.mjs";
2
+ export { type SessionGeofenceReorderReq } from "./SessionGeofenceReorderReq.mjs";
3
+ export { type SessionGeofenceClientUpdate1 } from "./SessionGeofenceClientUpdate1.mjs";
@@ -0,0 +1 @@
1
+ export * from "./client/index.mjs";
@@ -0,0 +1 @@
1
+ export * from "./client/index.mjs";
@@ -31,9 +31,9 @@ export declare class Sessions {
31
31
  protected readonly _options: Sessions.Options;
32
32
  constructor(_options?: Sessions.Options);
33
33
  /**
34
- * Creates a new tracking session for a device and automatically starts recording data points. The caller must be the device owner or belong to an org the device is shared with. The device owner remains the session owner (org_id). The device's shared_with_org_ids are copied to the session. The device must not have an active session. Optionally seed a destination geofence (location + radius) to fire a destination geofence entered notification; attach flights afterwards via set_flight_info. Auto-termination is scheduled for ~1 week out at 8 PM PT. Prevent auto termination with `no_auto_termination=True` | auth: api_key | (SessionClientCreate1) -> (PydanticObjectId)
34
+ * Creates a tracking session with ordered geofences or an organization template and links its device. | auth: api_key | authz: min_org_role=operator | (SessionsCreateV1Req) -> (PydanticObjectId)
35
35
  *
36
- * @param {Chrt.tracking.SessionClientCreate1} request
36
+ * @param {Chrt.tracking.SessionsCreateV1Req} request
37
37
  * @param {Sessions.RequestOptions} requestOptions - Request-specific configuration.
38
38
  *
39
39
  * @throws {@link Chrt.UnprocessableEntityError}
@@ -45,7 +45,7 @@ export declare class Sessions {
45
45
  * schema_version: 1
46
46
  * })
47
47
  */
48
- createSessionV1(request: Chrt.tracking.SessionClientCreate1, requestOptions?: Sessions.RequestOptions): core.HttpResponsePromise<string>;
48
+ createSessionV1(request: Chrt.tracking.SessionsCreateV1Req, requestOptions?: Sessions.RequestOptions): core.HttpResponsePromise<string>;
49
49
  private __createSessionV1;
50
50
  /**
51
51
  * Returns the session's flight legs in order, with Cirium-sourced status lazily resolved and refreshed on read. Access restricted to the caller's organization or shared organizations. | auth: api_key | authz: min_org_role=operator | () -> (list[FlightLeg1])
@@ -79,7 +79,7 @@ export declare class Sessions {
79
79
  flightTrackV1(request: Chrt.tracking.SessionsFlightTrackV1Request, requestOptions?: Sessions.RequestOptions): core.HttpResponsePromise<Chrt.FlightTrackRes>;
80
80
  private __flightTrackV1;
81
81
  /**
82
- * Retrieves a single session by its ID. Access restricted to the caller's organization or shared organizations. | auth: api_key | authz: min_org_role=operator | () -> (Session1)
82
+ * Retrieves a single session by its ID. Access restricted to the caller's organization or shared organizations. | auth: api_key | authz: min_org_role=operator | () -> (Session2)
83
83
  *
84
84
  * @param {Chrt.tracking.SessionsGetV1Request} request
85
85
  * @param {Sessions.RequestOptions} requestOptions - Request-specific configuration.
@@ -91,7 +91,7 @@ export declare class Sessions {
91
91
  * session_id: "session_id"
92
92
  * })
93
93
  */
94
- getV1(request: Chrt.tracking.SessionsGetV1Request, requestOptions?: Sessions.RequestOptions): core.HttpResponsePromise<Chrt.Session1>;
94
+ getV1(request: Chrt.tracking.SessionsGetV1Request, requestOptions?: Sessions.RequestOptions): core.HttpResponsePromise<Chrt.Session2>;
95
95
  private __getV1;
96
96
  /**
97
97
  * Lists sessions with filtering, sorting, and pagination. Use org_scope to restrict to owned, shared, or both (default). | auth: api_key | authz: min_org_role=operator | () -> (SessionListRes)
@@ -185,9 +185,9 @@ export declare class Sessions {
185
185
  typeaheadV1(request: Chrt.tracking.SessionsTypeaheadV1Request, requestOptions?: Sessions.RequestOptions): core.HttpResponsePromise<Chrt.TrackingTypeaheadResult[]>;
186
186
  private __typeaheadV1;
187
187
  /**
188
- * Updates a session's mutable metadata (off_chrt_reference_id, comments, public, termination_scheduled_for_timestamp, destination_geofence_location, destination_geofence_radius_miles). Setting or replacing the destination geofence location resets the entered latch so it can fire again; clearing it (destination_geofence_location__set_to_None) also resets the latch. | auth: api_key | (SessionClientUpdate1) -> (bool)
188
+ * Updates mutable non-geofence session fields. Use dedicated geofence routes for geofence changes. | auth: api_key | authz: min_org_role=operator | (SessionClientUpdate2) -> (bool)
189
189
  *
190
- * @param {Chrt.tracking.SessionClientUpdate1} request
190
+ * @param {Chrt.tracking.SessionClientUpdate2} request
191
191
  * @param {Sessions.RequestOptions} requestOptions - Request-specific configuration.
192
192
  *
193
193
  * @throws {@link Chrt.UnprocessableEntityError}
@@ -197,7 +197,7 @@ export declare class Sessions {
197
197
  * session_id: "session_id"
198
198
  * })
199
199
  */
200
- updateV1(request: Chrt.tracking.SessionClientUpdate1, requestOptions?: Sessions.RequestOptions): core.HttpResponsePromise<boolean>;
200
+ updateV1(request: Chrt.tracking.SessionClientUpdate2, requestOptions?: Sessions.RequestOptions): core.HttpResponsePromise<boolean>;
201
201
  private __updateV1;
202
202
  /**
203
203
  * Adds and/or removes org_ids from a session's shared_with_org_ids list. Only the owning org may modify sharing. Removal overrides addition. | auth: api_key | (SessionsUpdateSharedOrgsReq1) -> (bool)
@@ -31,9 +31,9 @@ export class Sessions {
31
31
  this._options = _options;
32
32
  }
33
33
  /**
34
- * Creates a new tracking session for a device and automatically starts recording data points. The caller must be the device owner or belong to an org the device is shared with. The device owner remains the session owner (org_id). The device's shared_with_org_ids are copied to the session. The device must not have an active session. Optionally seed a destination geofence (location + radius) to fire a destination geofence entered notification; attach flights afterwards via set_flight_info. Auto-termination is scheduled for ~1 week out at 8 PM PT. Prevent auto termination with `no_auto_termination=True` | auth: api_key | (SessionClientCreate1) -> (PydanticObjectId)
34
+ * Creates a tracking session with ordered geofences or an organization template and links its device. | auth: api_key | authz: min_org_role=operator | (SessionsCreateV1Req) -> (PydanticObjectId)
35
35
  *
36
- * @param {Chrt.tracking.SessionClientCreate1} request
36
+ * @param {Chrt.tracking.SessionsCreateV1Req} request
37
37
  * @param {Sessions.RequestOptions} requestOptions - Request-specific configuration.
38
38
  *
39
39
  * @throws {@link Chrt.UnprocessableEntityError}
@@ -233,7 +233,7 @@ export class Sessions {
233
233
  });
234
234
  }
235
235
  /**
236
- * Retrieves a single session by its ID. Access restricted to the caller's organization or shared organizations. | auth: api_key | authz: min_org_role=operator | () -> (Session1)
236
+ * Retrieves a single session by its ID. Access restricted to the caller's organization or shared organizations. | auth: api_key | authz: min_org_role=operator | () -> (Session2)
237
237
  *
238
238
  * @param {Chrt.tracking.SessionsGetV1Request} request
239
239
  * @param {Sessions.RequestOptions} requestOptions - Request-specific configuration.
@@ -652,9 +652,9 @@ export class Sessions {
652
652
  });
653
653
  }
654
654
  /**
655
- * Updates a session's mutable metadata (off_chrt_reference_id, comments, public, termination_scheduled_for_timestamp, destination_geofence_location, destination_geofence_radius_miles). Setting or replacing the destination geofence location resets the entered latch so it can fire again; clearing it (destination_geofence_location__set_to_None) also resets the latch. | auth: api_key | (SessionClientUpdate1) -> (bool)
655
+ * Updates mutable non-geofence session fields. Use dedicated geofence routes for geofence changes. | auth: api_key | authz: min_org_role=operator | (SessionClientUpdate2) -> (bool)
656
656
  *
657
- * @param {Chrt.tracking.SessionClientUpdate1} request
657
+ * @param {Chrt.tracking.SessionClientUpdate2} request
658
658
  * @param {Sessions.RequestOptions} requestOptions - Request-specific configuration.
659
659
  *
660
660
  * @throws {@link Chrt.UnprocessableEntityError}
@@ -1,20 +1,16 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as Chrt from "../../../../../../index.mjs";
5
4
  /**
6
5
  * @example
7
6
  * {
8
7
  * session_id: "session_id"
9
8
  * }
10
9
  */
11
- export interface SessionClientUpdate1 {
10
+ export interface SessionClientUpdate2 {
12
11
  session_id: string;
13
12
  comments?: string | null;
14
13
  comments__set_to_None?: boolean;
15
- destination_geofence_location?: Chrt.LocationFeature | null;
16
- destination_geofence_location__set_to_None?: boolean;
17
- destination_geofence_radius_miles?: number | null;
18
14
  /** Must be a URL-safe string of 1-64 characters. Allowed characters: A-Z, a-z, 0-9, '.', '_', '~', '-' (RFC 3986 unreserved). */
19
15
  off_chrt_reference_id?: string | null;
20
16
  off_chrt_reference_id__set_to_None?: boolean;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -10,12 +10,12 @@ import * as Chrt from "../../../../../../index.mjs";
10
10
  * schema_version: 1
11
11
  * }
12
12
  */
13
- export interface SessionClientCreate1 {
13
+ export interface SessionsCreateV1Req {
14
14
  device_id: string;
15
15
  no_auto_termination?: boolean | null;
16
16
  comments?: string | null;
17
- destination_geofence_location?: Chrt.LocationFeature | null;
18
- destination_geofence_radius_miles?: number;
17
+ geofence_template_id?: string | null;
18
+ geofences?: Chrt.SessionGeofenceClientCreate1[];
19
19
  /** Must be a URL-safe string of 1-64 characters. Allowed characters: A-Z, a-z, 0-9, '.', '_', '~', '-' (RFC 3986 unreserved). */
20
20
  off_chrt_reference_id?: string | null;
21
21
  off_chrt_shipper_org_data_id?: string | null;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -1,4 +1,4 @@
1
- export { type SessionClientCreate1 } from "./SessionClientCreate1.mjs";
1
+ export { type SessionsCreateV1Req } from "./SessionsCreateV1Req.mjs";
2
2
  export { type SessionsFlightLegsV1Request } from "./SessionsFlightLegsV1Request.mjs";
3
3
  export { type SessionsFlightTrackV1Request } from "./SessionsFlightTrackV1Request.mjs";
4
4
  export { type SessionsGetV1Request } from "./SessionsGetV1Request.mjs";
@@ -6,5 +6,5 @@ export { type SessionsListV1Request } from "./SessionsListV1Request.mjs";
6
6
  export { type SessionSetFlightInfoReq1 } from "./SessionSetFlightInfoReq1.mjs";
7
7
  export { type SessionsTerminateV1Request } from "./SessionsTerminateV1Request.mjs";
8
8
  export { type SessionsTypeaheadV1Request } from "./SessionsTypeaheadV1Request.mjs";
9
- export { type SessionClientUpdate1 } from "./SessionClientUpdate1.mjs";
9
+ export { type SessionClientUpdate2 } from "./SessionClientUpdate2.mjs";
10
10
  export { type SessionsUpdateSharedOrgsReq1 } from "./SessionsUpdateSharedOrgsReq1.mjs";
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface BillingInvoiceApprovedWebhookPayload {
5
+ /** UTC timestamp when the event occurred */
6
+ event_timestamp: string;
7
+ event_type?: "billing.invoice.approved";
8
+ /** The invoice that was approved */
9
+ invoice_id: string;
10
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -4,8 +4,8 @@
4
4
  import * as Chrt from "../index.mjs";
5
5
  export interface DeviceExpandedRes {
6
6
  active_cargo?: Chrt.Cargo1 | null;
7
- active_session?: Chrt.Session1 | null;
7
+ active_session?: Chrt.Session2 | null;
8
8
  device: Chrt.DeviceLimitedForList1;
9
9
  past_cargos?: Chrt.Cargo1[];
10
- past_sessions?: Chrt.Session1[];
10
+ past_sessions?: Chrt.Session2[];
11
11
  }
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.mjs";
5
+ export interface GeofencePointLocationFeature1 {
6
+ bbox?: unknown[] | null;
7
+ geometry: Chrt.Point;
8
+ id?: GeofencePointLocationFeature1.Id | null;
9
+ properties?: Chrt.LocationProperties | null;
10
+ type: "Feature";
11
+ }
12
+ export declare namespace GeofencePointLocationFeature1 {
13
+ type Id = number | string;
14
+ }
@@ -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 GeofenceTemplateListRes {
6
+ items: Chrt.SessionGeofenceTemplate1[];
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 {};
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type GeofenceTemplateSortByEnum = "created_at_timestamp" | "last_edited_at_timestamp" | "last_used_at_timestamp" | "name";
5
+ export declare const GeofenceTemplateSortByEnum: {
6
+ readonly CreatedAtTimestamp: "created_at_timestamp";
7
+ readonly LastEditedAtTimestamp: "last_edited_at_timestamp";
8
+ readonly LastUsedAtTimestamp: "last_used_at_timestamp";
9
+ readonly Name: "name";
10
+ };
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export const GeofenceTemplateSortByEnum = {
5
+ CreatedAtTimestamp: "created_at_timestamp",
6
+ LastEditedAtTimestamp: "last_edited_at_timestamp",
7
+ LastUsedAtTimestamp: "last_used_at_timestamp",
8
+ Name: "name",
9
+ };
@@ -8,5 +8,5 @@ export interface InvoiceExpandedRes {
8
8
  counterparty_off_chrt_org_data?: Chrt.OffChrtOrgData1 | null;
9
9
  counterparty_org?: Chrt.OrgPublicData1 | null;
10
10
  invoice: Chrt.Invoice1;
11
- invoice_line_items?: Chrt.InvoiceLineItem1[];
11
+ invoice_line_items?: Chrt.InvoiceLineItemExpandedRes[];
12
12
  }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.mjs";
5
+ export interface InvoiceLineItemExpandedRes {
6
+ counterparty_driver?: Chrt.Driver1 | null;
7
+ counterparty_off_chrt_org_data?: Chrt.OffChrtOrgData1 | null;
8
+ counterparty_org?: Chrt.OrgPublicData1 | null;
9
+ invoice_line_item: Chrt.InvoiceLineItem1;
10
+ order?: Chrt.OrderLimitedForProvider1 | null;
11
+ shipper_account?: Chrt.Account1 | null;
12
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -7,9 +7,9 @@
7
7
  * Set per order or per tracking session for any contact.
8
8
  * Limited scope since it can go outside the org, e.g. share order completion but probably not billing events
9
9
  */
10
- export type NotificationEventsForAdHocEnum = "shipping.order.staged" | "shipping.order.completed" | "tracking.session.destination_geofence_entered";
10
+ export type NotificationEventsForAdHocEnum = "shipping.order.staged" | "shipping.order.completed" | "tracking.session.geofence_entered";
11
11
  export declare const NotificationEventsForAdHocEnum: {
12
12
  readonly ShippingOrderStaged: "shipping.order.staged";
13
13
  readonly ShippingOrderCompleted: "shipping.order.completed";
14
- readonly TrackingSessionDestinationGeofenceEntered: "tracking.session.destination_geofence_entered";
14
+ readonly TrackingSessionGeofenceEntered: "tracking.session.geofence_entered";
15
15
  };
@@ -4,5 +4,5 @@
4
4
  export const NotificationEventsForAdHocEnum = {
5
5
  ShippingOrderStaged: "shipping.order.staged",
6
6
  ShippingOrderCompleted: "shipping.order.completed",
7
- TrackingSessionDestinationGeofenceEntered: "tracking.session.destination_geofence_entered",
7
+ TrackingSessionGeofenceEntered: "tracking.session.geofence_entered",
8
8
  };
@@ -6,7 +6,7 @@
6
6
  * Controlled by Groups that admins configure.
7
7
  * Individual users in the group can opt out.
8
8
  */
9
- export type NotificationEventsForOrgsEnum = "shipping.order.staged" | "shipping.order.completed" | "shipping.order.cancelled" | "shipping.task_group.provider_assigned" | "shipping.task_group.in_progress" | "shipping.task_group.file_added" | "shipping.task_group.driver_assigned" | "shipping.task_group.message" | "shipping.task_group.tasks_ordering_updated" | "shipping.task_group.flight_info_updated" | "shipping.task.added" | "shipping.task.attempted" | "shipping.task.completed" | "shipping.task.skipped" | "shipping.task.deleted" | "shipping.task.task_artifact_completed" | "shipping.task.executor_org_note_added" | "listing.listing.driver_invited_to_bid" | "listing.listing.provider_invited_to_bid" | "listing.bid_thread.action_added" | "operations.order.operator_assigned" | "operations.order.department_assigned" | "operations.order_internal_messages.message" | "operations.order_internal_messages.file_added" | "tracking.session.destination_geofence_entered";
9
+ export type NotificationEventsForOrgsEnum = "shipping.order.staged" | "shipping.order.completed" | "shipping.order.cancelled" | "shipping.task_group.provider_assigned" | "shipping.task_group.in_progress" | "shipping.task_group.file_added" | "shipping.task_group.driver_assigned" | "shipping.task_group.message" | "shipping.task_group.tasks_ordering_updated" | "shipping.task_group.flight_info_updated" | "shipping.task.added" | "shipping.task.attempted" | "shipping.task.completed" | "shipping.task.skipped" | "shipping.task.deleted" | "shipping.task.task_artifact_completed" | "shipping.task.executor_org_note_added" | "listing.listing.driver_invited_to_bid" | "listing.listing.provider_invited_to_bid" | "listing.bid_thread.action_added" | "operations.order.operator_assigned" | "operations.order.department_assigned" | "operations.order_internal_messages.message" | "operations.order_internal_messages.file_added" | "billing.invoice.approved" | "tracking.session.geofence_entered";
10
10
  export declare const NotificationEventsForOrgsEnum: {
11
11
  readonly ShippingOrderStaged: "shipping.order.staged";
12
12
  readonly ShippingOrderCompleted: "shipping.order.completed";
@@ -32,5 +32,6 @@ export declare const NotificationEventsForOrgsEnum: {
32
32
  readonly OperationsOrderDepartmentAssigned: "operations.order.department_assigned";
33
33
  readonly OperationsOrderInternalMessagesMessage: "operations.order_internal_messages.message";
34
34
  readonly OperationsOrderInternalMessagesFileAdded: "operations.order_internal_messages.file_added";
35
- readonly TrackingSessionDestinationGeofenceEntered: "tracking.session.destination_geofence_entered";
35
+ readonly BillingInvoiceApproved: "billing.invoice.approved";
36
+ readonly TrackingSessionGeofenceEntered: "tracking.session.geofence_entered";
36
37
  };
@@ -26,5 +26,6 @@ export const NotificationEventsForOrgsEnum = {
26
26
  OperationsOrderDepartmentAssigned: "operations.order.department_assigned",
27
27
  OperationsOrderInternalMessagesMessage: "operations.order_internal_messages.message",
28
28
  OperationsOrderInternalMessagesFileAdded: "operations.order_internal_messages.file_added",
29
- TrackingSessionDestinationGeofenceEntered: "tracking.session.destination_geofence_entered",
29
+ BillingInvoiceApproved: "billing.invoice.approved",
30
+ TrackingSessionGeofenceEntered: "tracking.session.geofence_entered",
30
31
  };
@@ -8,7 +8,7 @@
8
8
  * - Order events: via `order.created_by_user_id`
9
9
  * - TaskGroup events: via `task_group.driver_id`
10
10
  */
11
- export type NotificationEventsForUsersEnum = "shipping.order.staged" | "shipping.order.completed" | "shipping.order.cancelled" | "shipping.task_group.driver_assigned" | "shipping.task_group.message" | "shipping.task_group.tasks_ordering_updated" | "shipping.task_group.flight_info_updated" | "shipping.task.executor_org_note_added" | "listing.listing.driver_invited_to_bid" | "listing.bid_thread.action_added" | "operations.order.operator_assigned" | "operations.order.department_assigned" | "operations.order_internal_messages.message" | "operations.order_internal_messages.file_added" | "tracking.session.destination_geofence_entered";
11
+ export type NotificationEventsForUsersEnum = "shipping.order.staged" | "shipping.order.completed" | "shipping.order.cancelled" | "shipping.task_group.driver_assigned" | "shipping.task_group.message" | "shipping.task_group.tasks_ordering_updated" | "shipping.task_group.flight_info_updated" | "shipping.task.executor_org_note_added" | "listing.listing.driver_invited_to_bid" | "listing.bid_thread.action_added" | "operations.order.operator_assigned" | "operations.order.department_assigned" | "operations.order_internal_messages.message" | "operations.order_internal_messages.file_added" | "billing.invoice.approved" | "tracking.session.geofence_entered";
12
12
  export declare const NotificationEventsForUsersEnum: {
13
13
  readonly ShippingOrderStaged: "shipping.order.staged";
14
14
  readonly ShippingOrderCompleted: "shipping.order.completed";
@@ -24,5 +24,6 @@ export declare const NotificationEventsForUsersEnum: {
24
24
  readonly OperationsOrderDepartmentAssigned: "operations.order.department_assigned";
25
25
  readonly OperationsOrderInternalMessagesMessage: "operations.order_internal_messages.message";
26
26
  readonly OperationsOrderInternalMessagesFileAdded: "operations.order_internal_messages.file_added";
27
- readonly TrackingSessionDestinationGeofenceEntered: "tracking.session.destination_geofence_entered";
27
+ readonly BillingInvoiceApproved: "billing.invoice.approved";
28
+ readonly TrackingSessionGeofenceEntered: "tracking.session.geofence_entered";
28
29
  };
@@ -16,5 +16,6 @@ export const NotificationEventsForUsersEnum = {
16
16
  OperationsOrderDepartmentAssigned: "operations.order.department_assigned",
17
17
  OperationsOrderInternalMessagesMessage: "operations.order_internal_messages.message",
18
18
  OperationsOrderInternalMessagesFileAdded: "operations.order_internal_messages.file_added",
19
- TrackingSessionDestinationGeofenceEntered: "tracking.session.destination_geofence_entered",
19
+ BillingInvoiceApproved: "billing.invoice.approved",
20
+ TrackingSessionGeofenceEntered: "tracking.session.geofence_entered",
20
21
  };
@@ -7,6 +7,7 @@ export interface OrderAndTaskGroupExpandedReq {
7
7
  expand_contacts?: boolean;
8
8
  expand_coordinator_org_company_name?: boolean;
9
9
  expand_coordinator_org_handle?: boolean;
10
+ expand_coordinator_task_lists_to_apply_at_order_staging?: boolean;
10
11
  expand_driver?: boolean;
11
12
  expand_executor_org_company_name?: boolean;
12
13
  expand_executor_org_handle?: boolean;
@@ -7,6 +7,7 @@ export interface OrderExpandedForProvider {
7
7
  /** Must be a string starting with `@`. May only contain a-z, A-Z, 0-9, _, -. May not be longer than 30 characters. */
8
8
  coordinator_org_handle?: string | null;
9
9
  coordinator_shipper_accounts?: Chrt.Account1[] | null;
10
+ coordinator_task_lists_to_apply_at_order_staging_expanded?: Chrt.TaskListToApplyToOrderExpanded[] | null;
10
11
  notification_intents_ad_hoc?: Chrt.NotificationIntentAdHoc1[] | null;
11
12
  off_chrt_shipper_org_company_name?: string | null;
12
13
  order: Chrt.OrderLimitedForProvider1;
@@ -0,0 +1,37 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.mjs";
5
+ export interface OrderTemplateNewExpanded1 {
6
+ _id: string;
7
+ archived_at_timestamp?: string | null;
8
+ cargos?: Chrt.OrderTemplateNewCargo1[];
9
+ coordinator_assigned_user_ids?: string[];
10
+ coordinator_department_id?: string | null;
11
+ coordinator_label?: string | null;
12
+ coordinator_org?: Chrt.OrgPublicData1 | null;
13
+ /** Must be a string starting with `org_` */
14
+ coordinator_org_id?: string | null;
15
+ created_at_timestamp: string;
16
+ description?: string | null;
17
+ last_edited_at_timestamp: string;
18
+ last_used_at_timestamp?: string | null;
19
+ name: string;
20
+ /** Must be a URL-safe string of 1-64 characters. Allowed characters: A-Z, a-z, 0-9, '.', '_', '~', '-' (RFC 3986 unreserved). */
21
+ off_chrt_reference_id?: string | null;
22
+ off_chrt_shipper_org?: Chrt.OffChrtOrgData1 | 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
+ shipper_org?: Chrt.OrgPublicData1 | null;
31
+ /** Must be a string starting with `org_` */
32
+ shipper_org_id?: string | null;
33
+ task_groups?: Chrt.OrderTemplateNewTaskGroup1[];
34
+ task_groups_expanded?: Chrt.OrderTemplateNewTaskGroupExpanded1[];
35
+ task_lists_to_apply_at_order_creation?: Chrt.TaskListToApplyToOrder1[];
36
+ task_lists_to_apply_at_order_staging?: Chrt.TaskListToApplyToOrder1[];
37
+ }
@@ -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 OrderTemplateNewListRes {
6
- items: Chrt.OrderTemplateNew1[];
6
+ items: Chrt.OrderTemplateNewExpanded1[];
7
7
  total_count: number;
8
8
  }
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.mjs";
5
+ export interface OrderTemplateNewTaskGroupExpanded1 {
6
+ coordinator_shipper_accounts_by_task_key?: Record<string, Chrt.Account1[]>;
7
+ executor_org?: Chrt.OrgPublicData1 | null;
8
+ off_chrt_executor_org?: Chrt.OffChrtOrgData1 | null;
9
+ task_group: Chrt.OrderTemplateNewTaskGroup1;
10
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -8,6 +8,7 @@ import * as Chrt from "../index.mjs";
8
8
  export interface Point {
9
9
  bbox?: unknown[] | null;
10
10
  coordinates: Point.Coordinates;
11
+ type: "Point";
11
12
  }
12
13
  export declare namespace Point {
13
14
  type Coordinates = Chrt.Position2D | Chrt.Position3D;
@@ -2,19 +2,17 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as Chrt from "../index.mjs";
5
- export interface Session1 {
5
+ export interface Session2 {
6
6
  _id: string;
7
7
  comments?: string | null;
8
8
  created_at_timestamp: string;
9
- destination_geofence_entered?: boolean;
10
- destination_geofence_location?: Chrt.LocationFeature | null;
11
- destination_geofence_radius_miles?: number;
12
9
  device_id: string;
13
10
  device_mac_address: string;
14
11
  flight_leg_ids?: string[];
15
12
  flight_loaded_status_by_flight_leg_id?: Record<string, (string | null) | undefined>;
16
13
  flight_loaded_statuses?: string[];
17
14
  flight_numbers?: string[];
15
+ geofences?: Chrt.SessionGeofence1[];
18
16
  last_seen_at_location?: Chrt.LocationFeature | null;
19
17
  last_seen_at_location_city?: string | null;
20
18
  last_seen_at_location_large_city?: string | null;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.mjs";
5
+ export interface SessionGeofence1 {
6
+ display_name: string;
7
+ entered?: boolean;
8
+ entered_at_timestamp?: string | null;
9
+ geofence_id: string;
10
+ location: Chrt.GeofencePointLocationFeature1;
11
+ radius_miles: number;
12
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.mjs";
5
+ export interface SessionGeofenceBase1 {
6
+ display_name: string;
7
+ location: Chrt.GeofencePointLocationFeature1;
8
+ radius_miles: number;
9
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.mjs";
5
+ export interface SessionGeofenceClientCreate1 {
6
+ display_name: string;
7
+ location: Chrt.GeofencePointLocationFeature1;
8
+ radius_miles: number;
9
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,19 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.mjs";
5
+ export interface SessionGeofenceTemplate1 {
6
+ _id: string;
7
+ archived_at_timestamp?: string | null;
8
+ created_at_timestamp: string;
9
+ description?: string | null;
10
+ geofences: Chrt.SessionGeofenceBase1[];
11
+ last_edited_at_timestamp: string;
12
+ last_used_at_timestamp?: string | null;
13
+ name: string;
14
+ /** Must be a string starting with `org_` */
15
+ owned_by_org_id: string;
16
+ /** Must be a string starting with `user_` */
17
+ owned_by_user_id: string;
18
+ schema_version: number;
19
+ }
@@ -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 SessionListRes {
6
- items: Chrt.Session1[];
6
+ items: Chrt.Session2[];
7
7
  total_count: number;
8
8
  }