@chrt-inc/typescript-sdk 0.0.174 → 0.0.179

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 (310) hide show
  1. package/dist/cjs/Client.d.ts +24 -24
  2. package/dist/cjs/Client.js +48 -48
  3. package/dist/cjs/api/index.d.ts +1 -1
  4. package/dist/cjs/api/index.js +1 -1
  5. package/dist/cjs/api/resources/connections/client/Client.d.ts +8 -8
  6. package/dist/cjs/api/resources/connections/client/Client.js +14 -14
  7. package/dist/cjs/api/resources/connections/resources/connectionToCourier/client/Client.d.ts +1 -1
  8. package/dist/cjs/api/resources/connections/resources/connectionToCourier/client/Client.js +1 -1
  9. package/dist/cjs/api/resources/courierPayDriverLineItemGroup/client/Client.d.ts +26 -26
  10. package/dist/cjs/api/resources/courierPayDriverLineItemGroup/client/Client.js +79 -79
  11. package/dist/cjs/api/resources/courierPayDriverLineItemGroup/client/requests/index.d.ts +1 -1
  12. package/dist/cjs/api/resources/courierPayDriverLineItemGroup/resources/addLineItems/client/Client.d.ts +1 -1
  13. package/dist/cjs/api/resources/courierPayDriverLineItemGroup/resources/addLineItems/client/Client.js +1 -1
  14. package/dist/cjs/api/resources/courierPayDriverLineItemGroup/resources/removeLineItems/client/Client.d.ts +1 -1
  15. package/dist/cjs/api/resources/courierPayDriverLineItemGroup/resources/removeLineItems/client/Client.js +1 -1
  16. package/dist/cjs/api/resources/courierPayDriverPayouts/client/Client.d.ts +16 -12
  17. package/dist/cjs/api/resources/courierPayDriverPayouts/client/Client.js +27 -23
  18. package/dist/cjs/api/resources/courierPayDriverPayouts/client/requests/CourierPayDriverPayoutClientCreate1.d.ts +3 -3
  19. package/dist/cjs/api/resources/courierPayDriverRateSheets/client/Client.d.ts +39 -26
  20. package/dist/cjs/api/resources/courierPayDriverRateSheets/client/Client.js +112 -67
  21. package/dist/cjs/api/resources/courierPayDriverRateSheets/client/requests/CourierPayDriverRateSheetClientCreate1.d.ts +24 -24
  22. package/dist/cjs/api/resources/courierPayDriverRateSheets/client/requests/CourierPayDriverRateSheetClientUpdate1.d.ts +12 -12
  23. package/dist/cjs/api/resources/courierPayDriverRateSheets/client/requests/index.d.ts +0 -1
  24. package/dist/cjs/api/resources/courierPayDriverRateSheets/index.d.ts +0 -1
  25. package/dist/cjs/api/resources/courierPayDriverRateSheets/index.js +0 -1
  26. package/dist/cjs/api/resources/dev/client/Client.d.ts +18 -10
  27. package/dist/cjs/api/resources/dev/client/Client.js +58 -50
  28. package/dist/cjs/api/resources/drivers/client/Client.d.ts +52 -50
  29. package/dist/cjs/api/resources/drivers/client/Client.js +109 -107
  30. package/dist/cjs/api/resources/drivers/client/requests/SetDriverActivationReq.d.ts +3 -3
  31. package/dist/cjs/api/resources/drivers/client/requests/index.d.ts +1 -1
  32. package/dist/cjs/api/resources/index.d.ts +14 -15
  33. package/dist/cjs/api/resources/index.js +15 -16
  34. package/dist/cjs/api/resources/milestoneNotifications/client/Client.d.ts +2 -2
  35. package/dist/cjs/api/resources/milestoneNotifications/client/Client.js +2 -2
  36. package/dist/cjs/api/resources/milestoneNotifications/client/requests/MilestoneNotificationPreferencesClientCreate1.d.ts +3 -3
  37. package/dist/cjs/api/resources/milestones/client/Client.d.ts +16 -16
  38. package/dist/cjs/api/resources/milestones/client/Client.js +25 -25
  39. package/dist/cjs/api/resources/milestones/client/requests/MilestoneAddToTaskReq.d.ts +1 -1
  40. package/dist/cjs/api/resources/milestones/client/requests/MilestoneUpdateReq.d.ts +1 -1
  41. package/dist/cjs/api/resources/milestones/client/requests/index.d.ts +1 -1
  42. package/dist/cjs/api/resources/milestones/resources/blurhash/client/Client.d.ts +1 -5
  43. package/dist/cjs/api/resources/milestones/resources/blurhash/client/Client.js +1 -5
  44. package/dist/cjs/api/resources/milestones/resources/images/client/Client.d.ts +14 -14
  45. package/dist/cjs/api/resources/milestones/resources/images/client/Client.js +35 -35
  46. package/dist/cjs/api/resources/milestones/resources/index.d.ts +1 -1
  47. package/dist/cjs/api/resources/milestones/resources/index.js +2 -2
  48. package/dist/cjs/api/resources/notifications/client/Client.d.ts +3 -3
  49. package/dist/cjs/api/resources/notifications/client/Client.js +6 -6
  50. package/dist/cjs/api/resources/notifications/resources/courierPreferences/client/Client.d.ts +2 -2
  51. package/dist/cjs/api/resources/notifications/resources/courierPreferences/client/Client.js +2 -2
  52. package/dist/cjs/api/resources/notifications/resources/courierPreferences/client/requests/CourierNotificationPreferencesClientCreate1.d.ts +3 -3
  53. package/dist/cjs/api/resources/notifications/resources/index.d.ts +2 -2
  54. package/dist/cjs/api/resources/notifications/resources/index.js +3 -3
  55. package/dist/cjs/api/resources/notifications/resources/shipper/client/Client.d.ts +2 -2
  56. package/dist/cjs/api/resources/notifications/resources/shipper/client/Client.js +2 -2
  57. package/dist/cjs/api/resources/notifications/resources/shipper/client/requests/ShipperNotificationPreferencesClientCreate1.d.ts +3 -3
  58. package/dist/cjs/api/resources/offChrtShipperOrgConnectionInfo/client/Client.d.ts +6 -6
  59. package/dist/cjs/api/resources/offChrtShipperOrgConnectionInfo/client/Client.js +6 -6
  60. package/dist/cjs/api/resources/offChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientCreate1.d.ts +8 -8
  61. package/dist/cjs/api/resources/offChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientUpdate1.d.ts +4 -4
  62. package/dist/cjs/api/resources/orders/client/Client.d.ts +30 -26
  63. package/dist/cjs/api/resources/orders/client/Client.js +74 -70
  64. package/dist/cjs/api/resources/orders/client/requests/CreateOrderReq.d.ts +16 -16
  65. package/dist/cjs/api/resources/orders/resources/full/client/Client.d.ts +12 -12
  66. package/dist/cjs/api/resources/orders/resources/full/client/Client.js +33 -33
  67. package/dist/cjs/api/resources/orgConnectionInfos/client/Client.d.ts +3 -3
  68. package/dist/cjs/api/resources/orgConnectionInfos/client/Client.js +6 -6
  69. package/dist/cjs/api/resources/orgConnectionInfos/resources/courier/client/Client.d.ts +5 -5
  70. package/dist/cjs/api/resources/orgConnectionInfos/resources/courier/client/Client.js +5 -5
  71. package/dist/cjs/api/resources/orgConnectionInfos/resources/courier/client/requests/CourierOrgConnectionInfoClientCreate1.d.ts +7 -7
  72. package/dist/cjs/api/resources/orgConnectionInfos/resources/courier/client/requests/CourierOrgConnectionInfoClientUpdate1.d.ts +4 -4
  73. package/dist/cjs/api/resources/orgConnectionInfos/resources/index.d.ts +2 -2
  74. package/dist/cjs/api/resources/orgConnectionInfos/resources/index.js +3 -3
  75. package/dist/cjs/api/resources/orgConnectionInfos/resources/shipper/client/Client.d.ts +5 -5
  76. package/dist/cjs/api/resources/orgConnectionInfos/resources/shipper/client/Client.js +5 -5
  77. package/dist/cjs/api/resources/orgConnectionInfos/resources/shipper/client/requests/ShipperOrgConnectionInfoClientCreate1.d.ts +7 -7
  78. package/dist/cjs/api/resources/orgConnectionInfos/resources/shipper/client/requests/ShipperOrgConnectionInfoClientUpdate1.d.ts +4 -4
  79. package/dist/cjs/api/resources/orgProfiles/client/Client.d.ts +15 -17
  80. package/dist/cjs/api/resources/orgProfiles/client/Client.js +43 -49
  81. package/dist/cjs/api/resources/orgProfiles/client/requests/CourierOrgProfileClientCreate3.d.ts +3 -3
  82. package/dist/cjs/api/resources/orgProfiles/client/requests/index.d.ts +0 -1
  83. package/dist/cjs/api/resources/orgs/client/Client.d.ts +41 -37
  84. package/dist/cjs/api/resources/orgs/client/Client.js +90 -86
  85. package/dist/cjs/api/resources/orgs/client/requests/CreateOrgPublicDataReq.d.ts +3 -3
  86. package/dist/cjs/api/resources/orgs/client/requests/UpdateOrgPublicDataReq.d.ts +1 -1
  87. package/dist/cjs/api/resources/payments/client/Client.d.ts +3 -7
  88. package/dist/cjs/api/resources/payments/client/Client.js +3 -7
  89. package/dist/cjs/api/resources/root/client/Client.d.ts +19 -13
  90. package/dist/cjs/api/resources/root/client/Client.js +31 -25
  91. package/dist/cjs/api/resources/shipperContactInfo/client/Client.d.ts +42 -42
  92. package/dist/cjs/api/resources/shipperContactInfo/client/Client.js +90 -90
  93. package/dist/cjs/api/resources/shipperContactInfo/client/requests/ShipperContactInfoClientUpdate1.d.ts +4 -4
  94. package/dist/cjs/api/resources/taskGroups/client/Client.d.ts +24 -18
  95. package/dist/cjs/api/resources/taskGroups/client/Client.js +43 -37
  96. package/dist/cjs/api/resources/taskGroups/client/requests/UpdateTaskGroupReq.d.ts +2 -2
  97. package/dist/cjs/api/resources/taskGroups/resources/full/client/Client.d.ts +2 -2
  98. package/dist/cjs/api/resources/taskGroups/resources/full/client/Client.js +2 -2
  99. package/dist/cjs/api/resources/taskGroups/resources/togglePause/client/Client.d.ts +4 -2
  100. package/dist/cjs/api/resources/taskGroups/resources/togglePause/client/Client.js +4 -2
  101. package/dist/cjs/api/resources/taskGroups/resources/togglePause/client/requests/SetTaskGroupPauseReq.d.ts +3 -3
  102. package/dist/cjs/api/resources/users/client/Client.d.ts +2 -0
  103. package/dist/cjs/api/resources/users/client/Client.js +2 -0
  104. package/dist/cjs/api/types/Cargo1.d.ts +6 -6
  105. package/dist/cjs/api/types/CargoClientCreate1.d.ts +3 -3
  106. package/dist/cjs/api/types/CourierNotificationPreferences1.d.ts +9 -9
  107. package/dist/cjs/api/types/CourierOrgConnectionInfo1.d.ts +10 -10
  108. package/dist/cjs/api/types/CourierOrgProfile3.d.ts +3 -3
  109. package/dist/cjs/api/types/CourierPayDriverLineItemGroup1.d.ts +5 -5
  110. package/dist/cjs/api/types/CourierPayDriverLineItemGroupClientCreate1.d.ts +1 -1
  111. package/dist/cjs/api/types/CourierPayDriverRateSheet1.d.ts +16 -16
  112. package/dist/cjs/api/types/DecodedJwtWithOrgAndUserId.d.ts +8 -8
  113. package/dist/cjs/api/types/Driver1.d.ts +6 -6
  114. package/dist/cjs/api/types/Expense1.d.ts +3 -3
  115. package/dist/cjs/api/types/Feature.d.ts +3 -3
  116. package/dist/cjs/api/types/GetOrderFullRes.d.ts +2 -2
  117. package/dist/cjs/api/types/Incident1.d.ts +1 -1
  118. package/dist/cjs/api/types/Insurance1.d.ts +1 -1
  119. package/dist/cjs/api/types/LineItem1.d.ts +1 -1
  120. package/dist/cjs/api/types/Milestone1.d.ts +13 -13
  121. package/dist/cjs/api/types/MilestoneClientCreate1.d.ts +1 -1
  122. package/dist/cjs/api/types/MilestoneNotificationPreferences1.d.ts +9 -9
  123. package/dist/cjs/api/types/OffChrtShipperOrgConnectionInfo1.d.ts +11 -11
  124. package/dist/cjs/api/types/Order1.d.ts +11 -11
  125. package/dist/cjs/api/types/OrgMemberDetails.d.ts +2 -2
  126. package/dist/cjs/api/types/OrgMembersAndDrivers.d.ts +1 -1
  127. package/dist/cjs/api/types/OrgPublicData2.d.ts +4 -4
  128. package/dist/cjs/api/types/PayablesInvoice1.d.ts +11 -11
  129. package/dist/cjs/api/types/ReceivablesInvoice1.d.ts +7 -7
  130. package/dist/cjs/api/types/ShipperContactInfo1.d.ts +11 -11
  131. package/dist/cjs/api/types/ShipperContactInfoClientCreate1.d.ts +6 -6
  132. package/dist/cjs/api/types/ShipperCourierConnection1.d.ts +4 -4
  133. package/dist/cjs/api/types/ShipperNotificationPreferences1.d.ts +9 -9
  134. package/dist/cjs/api/types/ShipperOrgConnectionInfo1.d.ts +6 -6
  135. package/dist/cjs/api/types/StripeConnectInvoice1.d.ts +5 -5
  136. package/dist/cjs/api/types/Task1.d.ts +13 -13
  137. package/dist/cjs/api/types/TaskClientCreate1.d.ts +4 -4
  138. package/dist/cjs/api/types/TaskCreateBundle.d.ts +2 -2
  139. package/dist/cjs/api/types/TaskGroup1.d.ts +11 -11
  140. package/dist/cjs/api/types/TaskWithDetails.d.ts +2 -2
  141. package/dist/cjs/api/types/Tracker1.d.ts +1 -1
  142. package/dist/cjs/api/types/TrackerSession1.d.ts +1 -1
  143. package/dist/cjs/api/types/UserPublicData6.d.ts +6 -6
  144. package/dist/cjs/api/types/Vehicle1.d.ts +1 -1
  145. package/dist/cjs/version.d.ts +1 -1
  146. package/dist/cjs/version.js +1 -1
  147. package/dist/esm/Client.d.mts +24 -24
  148. package/dist/esm/Client.mjs +36 -36
  149. package/dist/esm/api/index.d.mts +1 -1
  150. package/dist/esm/api/index.mjs +1 -1
  151. package/dist/esm/api/resources/connections/client/Client.d.mts +8 -8
  152. package/dist/esm/api/resources/connections/client/Client.mjs +14 -14
  153. package/dist/esm/api/resources/connections/resources/connectionToCourier/client/Client.d.mts +1 -1
  154. package/dist/esm/api/resources/connections/resources/connectionToCourier/client/Client.mjs +1 -1
  155. package/dist/esm/api/resources/courierPayDriverLineItemGroup/client/Client.d.mts +26 -26
  156. package/dist/esm/api/resources/courierPayDriverLineItemGroup/client/Client.mjs +79 -79
  157. package/dist/esm/api/resources/courierPayDriverLineItemGroup/client/requests/index.d.mts +1 -1
  158. package/dist/esm/api/resources/courierPayDriverLineItemGroup/resources/addLineItems/client/Client.d.mts +1 -1
  159. package/dist/esm/api/resources/courierPayDriverLineItemGroup/resources/addLineItems/client/Client.mjs +1 -1
  160. package/dist/esm/api/resources/courierPayDriverLineItemGroup/resources/removeLineItems/client/Client.d.mts +1 -1
  161. package/dist/esm/api/resources/courierPayDriverLineItemGroup/resources/removeLineItems/client/Client.mjs +1 -1
  162. package/dist/esm/api/resources/courierPayDriverPayouts/client/Client.d.mts +16 -12
  163. package/dist/esm/api/resources/courierPayDriverPayouts/client/Client.mjs +27 -23
  164. package/dist/esm/api/resources/courierPayDriverPayouts/client/requests/CourierPayDriverPayoutClientCreate1.d.mts +3 -3
  165. package/dist/esm/api/resources/courierPayDriverRateSheets/client/Client.d.mts +39 -26
  166. package/dist/esm/api/resources/courierPayDriverRateSheets/client/Client.mjs +112 -67
  167. package/dist/esm/api/resources/courierPayDriverRateSheets/client/requests/CourierPayDriverRateSheetClientCreate1.d.mts +24 -24
  168. package/dist/esm/api/resources/courierPayDriverRateSheets/client/requests/CourierPayDriverRateSheetClientUpdate1.d.mts +12 -12
  169. package/dist/esm/api/resources/courierPayDriverRateSheets/client/requests/index.d.mts +0 -1
  170. package/dist/esm/api/resources/courierPayDriverRateSheets/index.d.mts +0 -1
  171. package/dist/esm/api/resources/courierPayDriverRateSheets/index.mjs +0 -1
  172. package/dist/esm/api/resources/dev/client/Client.d.mts +18 -10
  173. package/dist/esm/api/resources/dev/client/Client.mjs +58 -50
  174. package/dist/esm/api/resources/drivers/client/Client.d.mts +52 -50
  175. package/dist/esm/api/resources/drivers/client/Client.mjs +109 -107
  176. package/dist/esm/api/resources/drivers/client/requests/SetDriverActivationReq.d.mts +3 -3
  177. package/dist/esm/api/resources/drivers/client/requests/index.d.mts +1 -1
  178. package/dist/esm/api/resources/index.d.mts +14 -15
  179. package/dist/esm/api/resources/index.mjs +14 -15
  180. package/dist/esm/api/resources/milestoneNotifications/client/Client.d.mts +2 -2
  181. package/dist/esm/api/resources/milestoneNotifications/client/Client.mjs +2 -2
  182. package/dist/esm/api/resources/milestoneNotifications/client/requests/MilestoneNotificationPreferencesClientCreate1.d.mts +3 -3
  183. package/dist/esm/api/resources/milestones/client/Client.d.mts +16 -16
  184. package/dist/esm/api/resources/milestones/client/Client.mjs +24 -24
  185. package/dist/esm/api/resources/milestones/client/requests/MilestoneAddToTaskReq.d.mts +1 -1
  186. package/dist/esm/api/resources/milestones/client/requests/MilestoneUpdateReq.d.mts +1 -1
  187. package/dist/esm/api/resources/milestones/client/requests/index.d.mts +1 -1
  188. package/dist/esm/api/resources/milestones/resources/blurhash/client/Client.d.mts +1 -5
  189. package/dist/esm/api/resources/milestones/resources/blurhash/client/Client.mjs +1 -5
  190. package/dist/esm/api/resources/milestones/resources/images/client/Client.d.mts +14 -14
  191. package/dist/esm/api/resources/milestones/resources/images/client/Client.mjs +35 -35
  192. package/dist/esm/api/resources/milestones/resources/index.d.mts +1 -1
  193. package/dist/esm/api/resources/milestones/resources/index.mjs +1 -1
  194. package/dist/esm/api/resources/notifications/client/Client.d.mts +3 -3
  195. package/dist/esm/api/resources/notifications/client/Client.mjs +5 -5
  196. package/dist/esm/api/resources/notifications/resources/courierPreferences/client/Client.d.mts +2 -2
  197. package/dist/esm/api/resources/notifications/resources/courierPreferences/client/Client.mjs +2 -2
  198. package/dist/esm/api/resources/notifications/resources/courierPreferences/client/requests/CourierNotificationPreferencesClientCreate1.d.mts +3 -3
  199. package/dist/esm/api/resources/notifications/resources/index.d.mts +2 -2
  200. package/dist/esm/api/resources/notifications/resources/index.mjs +2 -2
  201. package/dist/esm/api/resources/notifications/resources/shipper/client/Client.d.mts +2 -2
  202. package/dist/esm/api/resources/notifications/resources/shipper/client/Client.mjs +2 -2
  203. package/dist/esm/api/resources/notifications/resources/shipper/client/requests/ShipperNotificationPreferencesClientCreate1.d.mts +3 -3
  204. package/dist/esm/api/resources/offChrtShipperOrgConnectionInfo/client/Client.d.mts +6 -6
  205. package/dist/esm/api/resources/offChrtShipperOrgConnectionInfo/client/Client.mjs +6 -6
  206. package/dist/esm/api/resources/offChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientCreate1.d.mts +8 -8
  207. package/dist/esm/api/resources/offChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientUpdate1.d.mts +4 -4
  208. package/dist/esm/api/resources/orders/client/Client.d.mts +30 -26
  209. package/dist/esm/api/resources/orders/client/Client.mjs +74 -70
  210. package/dist/esm/api/resources/orders/client/requests/CreateOrderReq.d.mts +16 -16
  211. package/dist/esm/api/resources/orders/resources/full/client/Client.d.mts +12 -12
  212. package/dist/esm/api/resources/orders/resources/full/client/Client.mjs +33 -33
  213. package/dist/esm/api/resources/orgConnectionInfos/client/Client.d.mts +3 -3
  214. package/dist/esm/api/resources/orgConnectionInfos/client/Client.mjs +5 -5
  215. package/dist/esm/api/resources/orgConnectionInfos/resources/courier/client/Client.d.mts +5 -5
  216. package/dist/esm/api/resources/orgConnectionInfos/resources/courier/client/Client.mjs +5 -5
  217. package/dist/esm/api/resources/orgConnectionInfos/resources/courier/client/requests/CourierOrgConnectionInfoClientCreate1.d.mts +7 -7
  218. package/dist/esm/api/resources/orgConnectionInfos/resources/courier/client/requests/CourierOrgConnectionInfoClientUpdate1.d.mts +4 -4
  219. package/dist/esm/api/resources/orgConnectionInfos/resources/index.d.mts +2 -2
  220. package/dist/esm/api/resources/orgConnectionInfos/resources/index.mjs +2 -2
  221. package/dist/esm/api/resources/orgConnectionInfos/resources/shipper/client/Client.d.mts +5 -5
  222. package/dist/esm/api/resources/orgConnectionInfos/resources/shipper/client/Client.mjs +5 -5
  223. package/dist/esm/api/resources/orgConnectionInfos/resources/shipper/client/requests/ShipperOrgConnectionInfoClientCreate1.d.mts +7 -7
  224. package/dist/esm/api/resources/orgConnectionInfos/resources/shipper/client/requests/ShipperOrgConnectionInfoClientUpdate1.d.mts +4 -4
  225. package/dist/esm/api/resources/orgProfiles/client/Client.d.mts +15 -17
  226. package/dist/esm/api/resources/orgProfiles/client/Client.mjs +43 -49
  227. package/dist/esm/api/resources/orgProfiles/client/requests/CourierOrgProfileClientCreate3.d.mts +3 -3
  228. package/dist/esm/api/resources/orgProfiles/client/requests/index.d.mts +0 -1
  229. package/dist/esm/api/resources/orgs/client/Client.d.mts +41 -37
  230. package/dist/esm/api/resources/orgs/client/Client.mjs +90 -86
  231. package/dist/esm/api/resources/orgs/client/requests/CreateOrgPublicDataReq.d.mts +3 -3
  232. package/dist/esm/api/resources/orgs/client/requests/UpdateOrgPublicDataReq.d.mts +1 -1
  233. package/dist/esm/api/resources/payments/client/Client.d.mts +3 -7
  234. package/dist/esm/api/resources/payments/client/Client.mjs +3 -7
  235. package/dist/esm/api/resources/root/client/Client.d.mts +19 -13
  236. package/dist/esm/api/resources/root/client/Client.mjs +31 -25
  237. package/dist/esm/api/resources/shipperContactInfo/client/Client.d.mts +42 -42
  238. package/dist/esm/api/resources/shipperContactInfo/client/Client.mjs +90 -90
  239. package/dist/esm/api/resources/shipperContactInfo/client/requests/ShipperContactInfoClientUpdate1.d.mts +4 -4
  240. package/dist/esm/api/resources/taskGroups/client/Client.d.mts +24 -18
  241. package/dist/esm/api/resources/taskGroups/client/Client.mjs +43 -37
  242. package/dist/esm/api/resources/taskGroups/client/requests/UpdateTaskGroupReq.d.mts +2 -2
  243. package/dist/esm/api/resources/taskGroups/resources/full/client/Client.d.mts +2 -2
  244. package/dist/esm/api/resources/taskGroups/resources/full/client/Client.mjs +2 -2
  245. package/dist/esm/api/resources/taskGroups/resources/togglePause/client/Client.d.mts +4 -2
  246. package/dist/esm/api/resources/taskGroups/resources/togglePause/client/Client.mjs +4 -2
  247. package/dist/esm/api/resources/taskGroups/resources/togglePause/client/requests/SetTaskGroupPauseReq.d.mts +3 -3
  248. package/dist/esm/api/resources/users/client/Client.d.mts +2 -0
  249. package/dist/esm/api/resources/users/client/Client.mjs +2 -0
  250. package/dist/esm/api/types/Cargo1.d.mts +6 -6
  251. package/dist/esm/api/types/CargoClientCreate1.d.mts +3 -3
  252. package/dist/esm/api/types/CourierNotificationPreferences1.d.mts +9 -9
  253. package/dist/esm/api/types/CourierOrgConnectionInfo1.d.mts +10 -10
  254. package/dist/esm/api/types/CourierOrgProfile3.d.mts +3 -3
  255. package/dist/esm/api/types/CourierPayDriverLineItemGroup1.d.mts +5 -5
  256. package/dist/esm/api/types/CourierPayDriverLineItemGroupClientCreate1.d.mts +1 -1
  257. package/dist/esm/api/types/CourierPayDriverRateSheet1.d.mts +16 -16
  258. package/dist/esm/api/types/DecodedJwtWithOrgAndUserId.d.mts +8 -8
  259. package/dist/esm/api/types/Driver1.d.mts +6 -6
  260. package/dist/esm/api/types/Expense1.d.mts +3 -3
  261. package/dist/esm/api/types/Feature.d.mts +3 -3
  262. package/dist/esm/api/types/GetOrderFullRes.d.mts +2 -2
  263. package/dist/esm/api/types/Incident1.d.mts +1 -1
  264. package/dist/esm/api/types/Insurance1.d.mts +1 -1
  265. package/dist/esm/api/types/LineItem1.d.mts +1 -1
  266. package/dist/esm/api/types/Milestone1.d.mts +13 -13
  267. package/dist/esm/api/types/MilestoneClientCreate1.d.mts +1 -1
  268. package/dist/esm/api/types/MilestoneNotificationPreferences1.d.mts +9 -9
  269. package/dist/esm/api/types/OffChrtShipperOrgConnectionInfo1.d.mts +11 -11
  270. package/dist/esm/api/types/Order1.d.mts +11 -11
  271. package/dist/esm/api/types/OrgMemberDetails.d.mts +2 -2
  272. package/dist/esm/api/types/OrgMembersAndDrivers.d.mts +1 -1
  273. package/dist/esm/api/types/OrgPublicData2.d.mts +4 -4
  274. package/dist/esm/api/types/PayablesInvoice1.d.mts +11 -11
  275. package/dist/esm/api/types/ReceivablesInvoice1.d.mts +7 -7
  276. package/dist/esm/api/types/ShipperContactInfo1.d.mts +11 -11
  277. package/dist/esm/api/types/ShipperContactInfoClientCreate1.d.mts +6 -6
  278. package/dist/esm/api/types/ShipperCourierConnection1.d.mts +4 -4
  279. package/dist/esm/api/types/ShipperNotificationPreferences1.d.mts +9 -9
  280. package/dist/esm/api/types/ShipperOrgConnectionInfo1.d.mts +6 -6
  281. package/dist/esm/api/types/StripeConnectInvoice1.d.mts +5 -5
  282. package/dist/esm/api/types/Task1.d.mts +13 -13
  283. package/dist/esm/api/types/TaskClientCreate1.d.mts +4 -4
  284. package/dist/esm/api/types/TaskCreateBundle.d.mts +2 -2
  285. package/dist/esm/api/types/TaskGroup1.d.mts +11 -11
  286. package/dist/esm/api/types/TaskWithDetails.d.mts +2 -2
  287. package/dist/esm/api/types/Tracker1.d.mts +1 -1
  288. package/dist/esm/api/types/TrackerSession1.d.mts +1 -1
  289. package/dist/esm/api/types/UserPublicData6.d.mts +6 -6
  290. package/dist/esm/api/types/Vehicle1.d.mts +1 -1
  291. package/dist/esm/version.d.mts +1 -1
  292. package/dist/esm/version.mjs +1 -1
  293. package/package.json +1 -1
  294. package/reference.md +1156 -779
  295. package/dist/cjs/api/resources/courierPayDriverRateSheets/client/requests/CourierPayDriverRateSheetsGetRequest.d.ts +0 -11
  296. package/dist/cjs/api/resources/courierPayDriverRateSheets/client/requests/CourierPayDriverRateSheetsGetRequest.js +0 -5
  297. package/dist/cjs/api/resources/courierPayDriverRateSheets/types/CourierPayDriverRateSheetsGetResponse.d.ts +0 -5
  298. package/dist/cjs/api/resources/courierPayDriverRateSheets/types/CourierPayDriverRateSheetsGetResponse.js +0 -5
  299. package/dist/cjs/api/resources/courierPayDriverRateSheets/types/index.d.ts +0 -1
  300. package/dist/cjs/api/resources/courierPayDriverRateSheets/types/index.js +0 -17
  301. package/dist/cjs/api/resources/orgProfiles/client/requests/OrgProfilesGetAvatarRequest.d.ts +0 -12
  302. package/dist/cjs/api/resources/orgProfiles/client/requests/OrgProfilesGetAvatarRequest.js +0 -5
  303. package/dist/esm/api/resources/courierPayDriverRateSheets/client/requests/CourierPayDriverRateSheetsGetRequest.d.mts +0 -11
  304. package/dist/esm/api/resources/courierPayDriverRateSheets/client/requests/CourierPayDriverRateSheetsGetRequest.mjs +0 -4
  305. package/dist/esm/api/resources/courierPayDriverRateSheets/types/CourierPayDriverRateSheetsGetResponse.d.mts +0 -5
  306. package/dist/esm/api/resources/courierPayDriverRateSheets/types/CourierPayDriverRateSheetsGetResponse.mjs +0 -4
  307. package/dist/esm/api/resources/courierPayDriverRateSheets/types/index.d.mts +0 -1
  308. package/dist/esm/api/resources/courierPayDriverRateSheets/types/index.mjs +0 -1
  309. package/dist/esm/api/resources/orgProfiles/client/requests/OrgProfilesGetAvatarRequest.d.mts +0 -12
  310. package/dist/esm/api/resources/orgProfiles/client/requests/OrgProfilesGetAvatarRequest.mjs +0 -4
@@ -3,25 +3,25 @@
3
3
  */
4
4
  import * as Chrt from "../index.js";
5
5
  export interface Milestone1 {
6
+ schema_version: number;
7
+ type: Chrt.MilestoneTypeEnum1;
8
+ requestor_comments?: string;
6
9
  _id: string;
7
- chrt_comments?: string;
8
- completed: boolean;
9
- completed_at_geojson_feature?: Chrt.Feature;
10
+ order_id: string;
11
+ order_short_id: string;
12
+ task_id: string;
10
13
  completed_at_timestamp?: string;
14
+ completed_at_geojson_feature?: Chrt.Feature;
11
15
  /** Must be a string starting with `user_` */
12
16
  completed_by_user_id?: string;
13
- completor_comments?: string;
17
+ completed: boolean;
18
+ s3_milestone_file_metadata_ids?: string[];
14
19
  decoded_scans?: string[];
20
+ requested_by_shipper: boolean;
21
+ completor_comments?: string;
22
+ chrt_comments?: string;
15
23
  notification_email_ids?: string[];
16
- notification_push_ids?: string[];
17
24
  notification_sms_ids?: string[];
25
+ notification_push_ids?: string[];
18
26
  notification_voice_ids?: string[];
19
- order_id: string;
20
- order_short_id: string;
21
- requested_by_shipper: boolean;
22
- requestor_comments?: string;
23
- s3_milestone_file_metadata_ids?: string[];
24
- schema_version: number;
25
- task_id: string;
26
- type: Chrt.MilestoneTypeEnum1;
27
27
  }
@@ -3,7 +3,7 @@
3
3
  */
4
4
  import * as Chrt from "../index.js";
5
5
  export interface MilestoneClientCreate1 {
6
- requestor_comments?: string;
7
6
  schema_version: number;
8
7
  type: Chrt.MilestoneTypeEnum1;
8
+ requestor_comments?: string;
9
9
  }
@@ -3,16 +3,16 @@
3
3
  */
4
4
  import * as Chrt from "../index.js";
5
5
  export interface MilestoneNotificationPreferences1 {
6
- _id: string;
7
- created_at: string;
8
- /** Must be a string starting with `user_` */
9
- created_by_user_id: string;
10
- email_addresses?: string[];
11
- /** Must be a string starting with `org_` */
12
- org_id: string;
13
- /** For each TaskActionEnum1, which channels (email/sms/voice) are enabled */
14
- preferences?: Record<string, Chrt.NotificationChannelEnum[]>;
15
6
  schema_version: number;
7
+ email_addresses?: string[];
16
8
  sms_phone_numbers?: string[];
17
9
  voice_phone_numbers?: string[];
10
+ /** For each TaskActionEnum1, which channels (email/sms/voice) are enabled */
11
+ preferences?: Record<string, Chrt.NotificationChannelEnum[]>;
12
+ /** Must be a string starting with `org_` */
13
+ org_id: string;
14
+ /** Must be a string starting with `user_` */
15
+ created_by_user_id: string;
16
+ created_at: string;
17
+ _id: string;
18
18
  }
@@ -3,21 +3,21 @@
3
3
  */
4
4
  import * as Chrt from "../index.js";
5
5
  export interface OffChrtShipperOrgConnectionInfo1 {
6
- _id: string;
7
- company_name?: string;
6
+ schema_version: number;
7
+ industry?: string;
8
+ street_address?: Chrt.Feature;
8
9
  contact_first_name?: string;
9
10
  contact_last_name?: string;
10
- /** Must be a string starting with `org_` */
11
- created_by_org_id: string;
12
- /** Must be a string starting with `user_` */
13
- created_by_user_id: string;
11
+ phone_number_primary?: string;
12
+ phone_number_secondary?: string;
14
13
  email_address_primary: string;
15
14
  email_address_secondary?: string;
16
- industry?: string;
17
15
  job_title?: string;
18
16
  notes?: string;
19
- phone_number_primary?: string;
20
- phone_number_secondary?: string;
21
- schema_version: number;
22
- street_address?: Chrt.Feature;
17
+ company_name?: string;
18
+ /** Must be a string starting with `org_` */
19
+ created_by_org_id: string;
20
+ /** Must be a string starting with `user_` */
21
+ created_by_user_id: string;
22
+ _id: string;
23
23
  }
@@ -3,27 +3,27 @@
3
3
  */
4
4
  import * as Chrt from "../index.js";
5
5
  export interface Order1 {
6
+ schema_version: number;
6
7
  _id: string;
8
+ short_id: string;
9
+ order_created_by_type: Chrt.OrderCreatedByTypeEnum;
10
+ order_dispatch_type: Chrt.OrderDispatchTypeEnum;
11
+ transport_type: Chrt.TransportTypeEnum;
7
12
  /** Must be a string starting with `org_` */
8
13
  created_by_org_id: string;
9
14
  /** Must be a string starting with `user_` */
10
15
  created_by_user_id: string;
11
16
  draft_started_at: string;
12
- off_chrt_shipper_org_connection_info_id?: string;
13
- order_cancelled?: boolean;
14
- order_created_by_type: Chrt.OrderCreatedByTypeEnum;
15
- order_dispatch_type: Chrt.OrderDispatchTypeEnum;
16
- order_level_expenses_ids?: string[];
17
- order_level_receivables_line_items?: Chrt.LineItem1[];
17
+ task_group_ids?: string[];
18
+ stripe_connect_invoice_id?: string;
18
19
  receivables_invoice_id?: string;
19
- schema_version: number;
20
20
  /** Must be a string starting with `org_` */
21
21
  shipper_org_id?: string;
22
22
  /** Must be a string starting with `user_` */
23
23
  shipper_user_id?: string;
24
- short_id: string;
24
+ off_chrt_shipper_org_connection_info_id?: string;
25
+ order_level_expenses_ids?: string[];
26
+ order_level_receivables_line_items?: Chrt.LineItem1[];
25
27
  status?: Chrt.OrderStatusEnum1;
26
- stripe_connect_invoice_id?: string;
27
- task_group_ids?: string[];
28
- transport_type: Chrt.TransportTypeEnum;
28
+ order_cancelled?: boolean;
29
29
  }
@@ -2,10 +2,10 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  export interface OrgMemberDetails {
5
- first_name?: string;
6
- last_name?: string;
7
5
  role: string;
8
6
  role_name?: string;
9
7
  /** Must be a string starting with `user_` */
10
8
  user_id: string;
9
+ first_name?: string;
10
+ last_name?: string;
11
11
  }
@@ -3,6 +3,6 @@
3
3
  */
4
4
  import * as Chrt from "../index.js";
5
5
  export interface OrgMembersAndDrivers {
6
- driver?: Chrt.Driver1;
7
6
  org_member: Chrt.OrgMemberDetails;
7
+ driver?: Chrt.Driver1;
8
8
  }
@@ -2,10 +2,10 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  export interface OrgPublicData2 {
5
- _id: string;
6
- company_name?: string;
7
- handle: string;
5
+ schema_version: number;
8
6
  /** Must be a string starting with `org_` */
9
7
  org_id: string;
10
- schema_version: number;
8
+ handle: string;
9
+ company_name?: string;
10
+ _id: string;
11
11
  }
@@ -3,22 +3,22 @@
3
3
  */
4
4
  import * as Chrt from "../index.js";
5
5
  export interface PayablesInvoice1 {
6
+ schema_version: number;
6
7
  _id: string;
7
- chrt_approved?: boolean;
8
- chrt_approved_at?: string;
9
- chrt_approved_by_automation?: string;
10
- /** Must be a string starting with `user_` */
11
- chrt_approved_by_user_id?: string;
8
+ order_id: string;
9
+ order_short_id: string;
10
+ task_group_id?: string;
11
+ line_items?: Chrt.LineItem1[];
12
+ status: PayablesInvoice1.Status;
12
13
  courier_approved?: boolean;
13
14
  courier_approved_at?: string;
14
15
  /** Must be a string starting with `user_` */
15
16
  courier_approved_by_user_id?: string;
16
- line_items?: Chrt.LineItem1[];
17
- order_id: string;
18
- order_short_id: string;
19
- schema_version: number;
20
- status: PayablesInvoice1.Status;
21
- task_group_id?: string;
17
+ chrt_approved?: boolean;
18
+ chrt_approved_at?: string;
19
+ /** Must be a string starting with `user_` */
20
+ chrt_approved_by_user_id?: string;
21
+ chrt_approved_by_automation?: string;
22
22
  }
23
23
  export declare namespace PayablesInvoice1 {
24
24
  type Status = "draft" | "pending_approvals" | "approved" | "pending_payment" | "payment_processing" | "payment_error" | "paid";
@@ -3,22 +3,22 @@
3
3
  */
4
4
  import * as Chrt from "../index.js";
5
5
  export interface ReceivablesInvoice1 {
6
+ schema_version: number;
6
7
  _id: string;
8
+ order_id: string;
9
+ order_short_id: string;
10
+ task_group_ids?: string[];
11
+ line_items?: Chrt.LineItem1[];
12
+ status: ReceivablesInvoice1.Status;
7
13
  chrt_approved?: boolean;
8
14
  chrt_approved_at?: string;
9
- chrt_approved_by_automation?: string;
10
15
  /** Must be a string starting with `user_` */
11
16
  chrt_approved_by_user_id?: string;
12
- line_items?: Chrt.LineItem1[];
13
- order_id: string;
14
- order_short_id: string;
15
- schema_version: number;
17
+ chrt_approved_by_automation?: string;
16
18
  shipper_approved?: boolean;
17
19
  shipper_approved_at?: string;
18
20
  /** Must be a string starting with `user_` */
19
21
  shipper_approved_by_user_id?: string;
20
- status: ReceivablesInvoice1.Status;
21
- task_group_ids?: string[];
22
22
  }
23
23
  export declare namespace ReceivablesInvoice1 {
24
24
  type Status = "draft" | "pending_approvals" | "approved" | "pending_payment" | "payment_processing" | "payment_error" | "paid";
@@ -3,26 +3,26 @@
3
3
  */
4
4
  import * as Chrt from "../index.js";
5
5
  export interface ShipperContactInfo1 {
6
- _id: string;
6
+ schema_version: number;
7
7
  company_name?: string;
8
+ industry?: string;
9
+ street_address?: Chrt.Feature;
8
10
  contact_first_name?: string;
9
11
  contact_last_name?: string;
10
- /** Must be a string starting with `org_` */
11
- created_by_org_id: string;
12
- /** Must be a string starting with `user_` */
13
- created_by_user_id: string;
12
+ phone_number_primary?: string;
13
+ phone_number_secondary?: string;
14
14
  email_address_primary?: string;
15
15
  email_address_secondary?: string;
16
- industry?: string;
17
16
  job_title?: string;
18
17
  notes?: string;
19
- off_chrt_shipper_org_connection_info_id?: string;
20
- phone_number_primary?: string;
21
- phone_number_secondary?: string;
22
- schema_version: number;
23
18
  /** Must be a string starting with `org_` */
24
19
  shipper_org_id?: string;
25
20
  /** Must be a string starting with `user_` */
26
21
  shipper_user_id?: string;
27
- street_address?: Chrt.Feature;
22
+ off_chrt_shipper_org_connection_info_id?: string;
23
+ /** Must be a string starting with `org_` */
24
+ created_by_org_id: string;
25
+ /** Must be a string starting with `user_` */
26
+ created_by_user_id: string;
27
+ _id: string;
28
28
  }
@@ -3,21 +3,21 @@
3
3
  */
4
4
  import * as Chrt from "../index.js";
5
5
  export interface ShipperContactInfoClientCreate1 {
6
+ schema_version: number;
6
7
  company_name?: string;
8
+ industry?: string;
9
+ street_address?: Chrt.Feature;
7
10
  contact_first_name?: string;
8
11
  contact_last_name?: string;
12
+ phone_number_primary?: string;
13
+ phone_number_secondary?: string;
9
14
  email_address_primary?: string;
10
15
  email_address_secondary?: string;
11
- industry?: string;
12
16
  job_title?: string;
13
17
  notes?: string;
14
- off_chrt_shipper_org_connection_info_id?: string;
15
- phone_number_primary?: string;
16
- phone_number_secondary?: string;
17
- schema_version: number;
18
18
  /** Must be a string starting with `org_` */
19
19
  shipper_org_id?: string;
20
20
  /** Must be a string starting with `user_` */
21
21
  shipper_user_id?: string;
22
- street_address?: Chrt.Feature;
22
+ off_chrt_shipper_org_connection_info_id?: string;
23
23
  }
@@ -2,12 +2,12 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  export interface ShipperCourierConnection1 {
5
- _id: string;
5
+ schema_version: number;
6
+ /** Must be a string starting with `org_` */
7
+ shipper_org_id: string;
6
8
  /** Must be a string starting with `org_` */
7
9
  courier_org_id: string;
8
10
  /** Must be a string starting with `user_` */
9
11
  created_by_user_id: string;
10
- schema_version: number;
11
- /** Must be a string starting with `org_` */
12
- shipper_org_id: string;
12
+ _id: string;
13
13
  }
@@ -3,16 +3,16 @@
3
3
  */
4
4
  import * as Chrt from "../index.js";
5
5
  export interface ShipperNotificationPreferences1 {
6
- _id: string;
7
- created_at: string;
8
- /** Must be a string starting with `user_` */
9
- created_by_user_id: string;
10
- email_addresses?: string[];
11
- /** Must be a string starting with `org_` */
12
- org_id: string;
13
- /** For each ShipperNotificationEventEnum, which channels (email/sms/push/phone_call) are enabled */
14
- preferences?: Record<string, Chrt.NotificationChannelEnum[]>;
15
6
  schema_version: number;
7
+ email_addresses?: string[];
16
8
  sms_phone_numbers?: string[];
17
9
  voice_phone_numbers?: string[];
10
+ /** For each ShipperNotificationEventEnum, which channels (email/sms/push/phone_call) are enabled */
11
+ preferences?: Record<string, Chrt.NotificationChannelEnum[]>;
12
+ /** Must be a string starting with `org_` */
13
+ org_id: string;
14
+ /** Must be a string starting with `user_` */
15
+ created_by_user_id: string;
16
+ created_at: string;
17
+ _id: string;
18
18
  }
@@ -3,20 +3,20 @@
3
3
  */
4
4
  import * as Chrt from "../index.js";
5
5
  export interface ShipperOrgConnectionInfo1 {
6
- _id: string;
6
+ schema_version: number;
7
+ industry?: string;
8
+ street_address?: Chrt.Feature;
7
9
  contact_first_name?: string;
8
10
  contact_last_name?: string;
11
+ phone_number_primary?: string;
12
+ phone_number_secondary?: string;
9
13
  email_address_primary: string;
10
14
  email_address_secondary?: string;
11
- industry?: string;
12
15
  job_title?: string;
13
16
  notes?: string;
14
- phone_number_primary?: string;
15
- phone_number_secondary?: string;
16
- schema_version: number;
17
17
  /** Must be a string starting with `org_` */
18
18
  shipper_org_id: string;
19
19
  /** Must be a string starting with `user_` */
20
20
  shipper_user_id?: string;
21
- street_address?: Chrt.Feature;
21
+ _id: string;
22
22
  }
@@ -3,20 +3,20 @@
3
3
  */
4
4
  import * as Chrt from "../index.js";
5
5
  export interface StripeConnectInvoice1 {
6
+ schema_version: number;
6
7
  _id: string;
8
+ order_id: string;
9
+ task_group_id?: string;
10
+ line_items?: Chrt.LineItem1[];
11
+ status: StripeConnectInvoice1.Status;
7
12
  courier_approved?: boolean;
8
13
  courier_approved_at?: string;
9
14
  /** Must be a string starting with `user_` */
10
15
  courier_approved_by_user_id?: string;
11
- line_items?: Chrt.LineItem1[];
12
- order_id: string;
13
- schema_version: number;
14
16
  shipper_approved?: boolean;
15
17
  shipper_approved_at?: string;
16
18
  /** Must be a string starting with `user_` */
17
19
  shipper_approved_by_user_id?: string;
18
- status: StripeConnectInvoice1.Status;
19
- task_group_id?: string;
20
20
  }
21
21
  export declare namespace StripeConnectInvoice1 {
22
22
  type Status = "draft" | "pending_approvals" | "approved" | "pending_payment" | "payment_processing" | "payment_error" | "paid";
@@ -3,28 +3,28 @@
3
3
  */
4
4
  import * as Chrt from "../index.js";
5
5
  export interface Task1 {
6
- _id: string;
6
+ schema_version: number;
7
+ location?: Chrt.Feature;
7
8
  action?: Task1.Action;
8
- arrive_at?: string;
9
+ shipper_contact_info_ids?: string[];
9
10
  arrive_by?: string;
10
- cargo_ids?: string[];
11
+ arrive_at?: string;
11
12
  comments?: string;
12
- completed?: boolean;
13
- completed_at?: string;
13
+ flight_number?: string;
14
+ _id: string;
15
+ order_id: string;
16
+ order_short_id: string;
14
17
  /** Must be a string starting with `org_` */
15
18
  created_by_org_id: string;
16
19
  /** Must be a string starting with `user_` */
17
20
  created_by_user_id: string;
18
- flight_number?: string;
21
+ order_cancelled?: boolean;
22
+ completed?: boolean;
23
+ completed_at?: string;
24
+ cargo_ids?: string[];
25
+ milestone_ids?: string[];
19
26
  incident_ids?: string[];
20
27
  insurance_ids?: string[];
21
- location?: Chrt.Feature;
22
- milestone_ids?: string[];
23
- order_cancelled?: boolean;
24
- order_id: string;
25
- order_short_id: string;
26
- schema_version: number;
27
- shipper_contact_info_ids?: string[];
28
28
  }
29
29
  export declare namespace Task1 {
30
30
  type Action = Chrt.TaskActionEnum1 | Chrt.ObcNfoTaskActionEnum;
@@ -3,14 +3,14 @@
3
3
  */
4
4
  import * as Chrt from "../index.js";
5
5
  export interface TaskClientCreate1 {
6
+ schema_version: number;
7
+ location?: Chrt.Feature;
6
8
  action?: TaskClientCreate1.Action;
7
- arrive_at?: string;
9
+ shipper_contact_info_ids?: string[];
8
10
  arrive_by?: string;
11
+ arrive_at?: string;
9
12
  comments?: string;
10
13
  flight_number?: string;
11
- location?: Chrt.Feature;
12
- schema_version: number;
13
- shipper_contact_info_ids?: string[];
14
14
  }
15
15
  export declare namespace TaskClientCreate1 {
16
16
  type Action = Chrt.TaskActionEnum1 | Chrt.ObcNfoTaskActionEnum;
@@ -3,11 +3,11 @@
3
3
  */
4
4
  import * as Chrt from "../index.js";
5
5
  export interface TaskCreateBundle {
6
+ task_client_create: Chrt.TaskClientCreate1;
7
+ milestone_client_creates?: Chrt.MilestoneClientCreate1[];
6
8
  /** Client-side generated UUID that is used with cargo_client_creates_map to find a oort.CargoClientCreate1 object */
7
9
  cargo_client_creates_uuids?: string[];
8
10
  /** Email addresses to send notifications to for each milestone */
9
11
  email_addresses?: string[];
10
12
  flight_number?: string;
11
- milestone_client_creates?: Chrt.MilestoneClientCreate1[];
12
- task_client_create: Chrt.TaskClientCreate1;
13
13
  }
@@ -3,22 +3,22 @@
3
3
  */
4
4
  import * as Chrt from "../index.js";
5
5
  export interface TaskGroup1 {
6
+ schema_version: number;
6
7
  _id: string;
7
- completed?: boolean;
8
- completed_at?: string;
9
- /** Must be a string starting with `org_` */
10
- courier_org_id?: string;
11
- driver_id?: string;
12
- line_items?: Chrt.LineItem1[];
13
- order_cancelled?: boolean;
14
8
  order_id: string;
15
9
  order_short_id: string;
16
- paused?: boolean;
10
+ task_ids: string[];
11
+ line_items?: Chrt.LineItem1[];
17
12
  payables_invoice_id?: string;
18
- schema_version: number;
19
13
  /** Must be a string starting with `org_` */
20
14
  shipper_org_id?: string;
21
- started_at?: string;
15
+ /** Must be a string starting with `org_` */
16
+ courier_org_id?: string;
17
+ order_cancelled?: boolean;
22
18
  status?: Chrt.TaskGroupStatusEnum1;
23
- task_ids: string[];
19
+ driver_id?: string;
20
+ started_at?: string;
21
+ completed_at?: string;
22
+ completed?: boolean;
23
+ paused?: boolean;
24
24
  }
@@ -3,7 +3,7 @@
3
3
  */
4
4
  import * as Chrt from "../index.js";
5
5
  export interface TaskWithDetails {
6
- cargos: Chrt.Cargo1[];
7
- milestones: Chrt.Milestone1[];
8
6
  task: Chrt.Task1;
7
+ milestones: Chrt.Milestone1[];
8
+ cargos: Chrt.Cargo1[];
9
9
  }
@@ -2,6 +2,6 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  export interface Tracker1 {
5
- _id: string;
6
5
  schema_version: number;
6
+ _id: string;
7
7
  }
@@ -2,6 +2,6 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  export interface TrackerSession1 {
5
- _id: string;
6
5
  schema_version: number;
6
+ _id: string;
7
7
  }
@@ -2,13 +2,13 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  export interface UserPublicData6 {
5
- _id: string;
6
- courier_profile_is_public: boolean;
5
+ schema_version: number;
7
6
  created_at: string;
8
- customer_id?: string;
9
7
  last_edited: string;
10
- notes?: Record<string, unknown>;
11
- primary_email_address?: string;
12
- schema_version: number;
8
+ courier_profile_is_public: boolean;
13
9
  user_id: string;
10
+ customer_id?: string;
11
+ primary_email_address?: string;
12
+ notes?: Record<string, unknown>;
13
+ _id: string;
14
14
  }
@@ -2,6 +2,6 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  export interface Vehicle1 {
5
- _id: string;
6
5
  schema_version: number;
6
+ _id: string;
7
7
  }
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.0.174";
1
+ export declare const SDK_VERSION = "0.0.179";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.0.174";
4
+ exports.SDK_VERSION = "0.0.179";