@chrt-inc/typescript-sdk 1.319.0 → 1.320.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 (197) hide show
  1. package/dist/cjs/Client.d.ts +6 -3
  2. package/dist/cjs/Client.js +12 -7
  3. package/dist/cjs/api/resources/cargos/client/Client.d.ts +48 -0
  4. package/dist/cjs/api/resources/cargos/client/Client.js +131 -0
  5. package/dist/cjs/api/resources/cargos/index.d.ts +1 -0
  6. package/dist/cjs/{exports.js → api/resources/cargos/index.js} +1 -1
  7. package/dist/cjs/api/resources/connections/client/Client.d.ts +4 -4
  8. package/dist/cjs/api/resources/connections/client/Client.js +4 -4
  9. package/dist/cjs/api/resources/courierPayDriverPayouts/client/Client.d.ts +2 -2
  10. package/dist/cjs/api/resources/courierPayDriverPayouts/client/Client.js +2 -2
  11. package/dist/cjs/api/resources/courierPayDriverRateSheets/client/Client.d.ts +3 -3
  12. package/dist/cjs/api/resources/courierPayDriverRateSheets/client/Client.js +3 -3
  13. package/dist/cjs/api/resources/courierPayDriverStatements/client/Client.d.ts +2 -2
  14. package/dist/cjs/api/resources/courierPayDriverStatements/client/Client.js +2 -2
  15. package/dist/cjs/api/resources/dev/client/Client.d.ts +4 -4
  16. package/dist/cjs/api/resources/dev/client/Client.js +4 -4
  17. package/dist/cjs/api/resources/drivers/client/Client.d.ts +2 -2
  18. package/dist/cjs/api/resources/drivers/client/Client.js +2 -2
  19. package/dist/cjs/api/resources/index.d.ts +2 -2
  20. package/dist/cjs/api/resources/index.js +3 -3
  21. package/dist/cjs/api/resources/notifications/resources/courier/client/Client.d.ts +2 -2
  22. package/dist/cjs/api/resources/notifications/resources/courier/client/Client.js +2 -2
  23. package/dist/cjs/api/resources/notifications/resources/shipper/client/Client.d.ts +2 -2
  24. package/dist/cjs/api/resources/notifications/resources/shipper/client/Client.js +2 -2
  25. package/dist/cjs/api/resources/offChrtShipperOrg/client/Client.d.ts +3 -3
  26. package/dist/cjs/api/resources/offChrtShipperOrg/client/Client.js +3 -3
  27. package/dist/cjs/api/resources/orgInfoForConnections/resources/courier/client/Client.d.ts +1 -1
  28. package/dist/cjs/api/resources/orgInfoForConnections/resources/courier/client/Client.js +1 -1
  29. package/dist/cjs/api/resources/orgInfoForConnections/resources/forwarder/client/Client.d.ts +1 -1
  30. package/dist/cjs/api/resources/orgInfoForConnections/resources/forwarder/client/Client.js +1 -1
  31. package/dist/cjs/api/resources/orgInfoForConnections/resources/shipper/client/Client.d.ts +1 -1
  32. package/dist/cjs/api/resources/orgInfoForConnections/resources/shipper/client/Client.js +1 -1
  33. package/dist/cjs/api/resources/orgProfiles/client/Client.d.ts +1 -1
  34. package/dist/cjs/api/resources/orgProfiles/client/Client.js +1 -1
  35. package/dist/cjs/api/resources/orgs/client/Client.d.ts +5 -5
  36. package/dist/cjs/api/resources/orgs/client/Client.js +5 -5
  37. package/dist/cjs/api/resources/shipperContactInfo/client/Client.d.ts +36 -23
  38. package/dist/cjs/api/resources/shipperContactInfo/client/Client.js +94 -35
  39. package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/client/Client.d.ts +2 -2
  40. package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/client/Client.js +2 -2
  41. package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/resources/courier/client/Client.d.ts +1 -1
  42. package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/resources/courier/client/Client.js +1 -1
  43. package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/resources/shipper/client/Client.d.ts +3 -3
  44. package/dist/cjs/api/resources/shipperPayCourierLineItemGroups/resources/shipper/client/Client.js +3 -3
  45. package/dist/cjs/api/resources/taskArtifactNotifications/client/Client.d.ts +2 -2
  46. package/dist/cjs/api/resources/taskArtifactNotifications/client/Client.js +2 -2
  47. package/dist/cjs/api/resources/taskArtifacts/client/Client.d.ts +0 -60
  48. package/dist/cjs/api/resources/taskArtifacts/client/Client.js +0 -246
  49. package/dist/cjs/api/resources/taskArtifacts/client/index.d.ts +0 -1
  50. package/dist/cjs/api/resources/taskArtifacts/client/index.js +0 -15
  51. package/dist/cjs/api/resources/taskArtifacts/resources/images/client/Client.d.ts +0 -31
  52. package/dist/cjs/api/resources/taskArtifacts/resources/images/client/Client.js +0 -128
  53. package/dist/cjs/api/resources/taskArtifacts/resources/images/client/index.d.ts +0 -1
  54. package/dist/cjs/api/resources/taskArtifacts/resources/images/client/index.js +0 -15
  55. package/dist/cjs/api/resources/taskArtifacts/resources/index.d.ts +0 -1
  56. package/dist/cjs/api/resources/taskArtifacts/resources/index.js +0 -4
  57. package/dist/cjs/api/resources/tracking/resources/devices/client/Client.d.ts +3 -3
  58. package/dist/cjs/api/resources/tracking/resources/devices/client/Client.js +3 -3
  59. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/Client.d.ts +3 -3
  60. package/dist/cjs/api/resources/tracking/resources/sessionByDevice/client/Client.js +3 -3
  61. package/dist/cjs/api/resources/users/client/Client.d.ts +1 -1
  62. package/dist/cjs/api/resources/users/client/Client.js +1 -1
  63. package/dist/cjs/api/types/ChrtGroundCourierTaskActionEnum1.d.ts +2 -2
  64. package/dist/cjs/api/types/ChrtGroundCourierTaskActionEnum1.js +1 -1
  65. package/dist/cjs/core/index.d.ts +0 -2
  66. package/dist/cjs/core/index.js +1 -3
  67. package/dist/cjs/index.d.ts +0 -1
  68. package/dist/cjs/index.js +0 -4
  69. package/dist/cjs/version.d.ts +1 -1
  70. package/dist/cjs/version.js +1 -1
  71. package/dist/esm/Client.d.mts +6 -3
  72. package/dist/esm/Client.mjs +10 -5
  73. package/dist/esm/api/resources/cargos/client/Client.d.mts +48 -0
  74. package/dist/esm/api/resources/cargos/client/Client.mjs +94 -0
  75. package/dist/esm/api/resources/cargos/index.d.mts +1 -0
  76. package/dist/esm/api/resources/cargos/index.mjs +1 -0
  77. package/dist/esm/api/resources/connections/client/Client.d.mts +4 -4
  78. package/dist/esm/api/resources/connections/client/Client.mjs +4 -4
  79. package/dist/esm/api/resources/courierPayDriverPayouts/client/Client.d.mts +2 -2
  80. package/dist/esm/api/resources/courierPayDriverPayouts/client/Client.mjs +2 -2
  81. package/dist/esm/api/resources/courierPayDriverRateSheets/client/Client.d.mts +3 -3
  82. package/dist/esm/api/resources/courierPayDriverRateSheets/client/Client.mjs +3 -3
  83. package/dist/esm/api/resources/courierPayDriverStatements/client/Client.d.mts +2 -2
  84. package/dist/esm/api/resources/courierPayDriverStatements/client/Client.mjs +2 -2
  85. package/dist/esm/api/resources/dev/client/Client.d.mts +4 -4
  86. package/dist/esm/api/resources/dev/client/Client.mjs +4 -4
  87. package/dist/esm/api/resources/drivers/client/Client.d.mts +2 -2
  88. package/dist/esm/api/resources/drivers/client/Client.mjs +2 -2
  89. package/dist/esm/api/resources/index.d.mts +2 -2
  90. package/dist/esm/api/resources/index.mjs +2 -2
  91. package/dist/esm/api/resources/notifications/resources/courier/client/Client.d.mts +2 -2
  92. package/dist/esm/api/resources/notifications/resources/courier/client/Client.mjs +2 -2
  93. package/dist/esm/api/resources/notifications/resources/shipper/client/Client.d.mts +2 -2
  94. package/dist/esm/api/resources/notifications/resources/shipper/client/Client.mjs +2 -2
  95. package/dist/esm/api/resources/offChrtShipperOrg/client/Client.d.mts +3 -3
  96. package/dist/esm/api/resources/offChrtShipperOrg/client/Client.mjs +3 -3
  97. package/dist/esm/api/resources/orgInfoForConnections/resources/courier/client/Client.d.mts +1 -1
  98. package/dist/esm/api/resources/orgInfoForConnections/resources/courier/client/Client.mjs +1 -1
  99. package/dist/esm/api/resources/orgInfoForConnections/resources/forwarder/client/Client.d.mts +1 -1
  100. package/dist/esm/api/resources/orgInfoForConnections/resources/forwarder/client/Client.mjs +1 -1
  101. package/dist/esm/api/resources/orgInfoForConnections/resources/shipper/client/Client.d.mts +1 -1
  102. package/dist/esm/api/resources/orgInfoForConnections/resources/shipper/client/Client.mjs +1 -1
  103. package/dist/esm/api/resources/orgProfiles/client/Client.d.mts +1 -1
  104. package/dist/esm/api/resources/orgProfiles/client/Client.mjs +1 -1
  105. package/dist/esm/api/resources/orgs/client/Client.d.mts +5 -5
  106. package/dist/esm/api/resources/orgs/client/Client.mjs +5 -5
  107. package/dist/esm/api/resources/shipperContactInfo/client/Client.d.mts +36 -23
  108. package/dist/esm/api/resources/shipperContactInfo/client/Client.mjs +94 -35
  109. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/client/Client.d.mts +2 -2
  110. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/client/Client.mjs +2 -2
  111. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/resources/courier/client/Client.d.mts +1 -1
  112. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/resources/courier/client/Client.mjs +1 -1
  113. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/resources/shipper/client/Client.d.mts +3 -3
  114. package/dist/esm/api/resources/shipperPayCourierLineItemGroups/resources/shipper/client/Client.mjs +3 -3
  115. package/dist/esm/api/resources/taskArtifactNotifications/client/Client.d.mts +2 -2
  116. package/dist/esm/api/resources/taskArtifactNotifications/client/Client.mjs +2 -2
  117. package/dist/esm/api/resources/taskArtifacts/client/Client.d.mts +0 -60
  118. package/dist/esm/api/resources/taskArtifacts/client/Client.mjs +0 -213
  119. package/dist/esm/api/resources/taskArtifacts/client/index.d.mts +0 -1
  120. package/dist/esm/api/resources/taskArtifacts/client/index.mjs +1 -1
  121. package/dist/esm/api/resources/taskArtifacts/resources/images/client/Client.d.mts +0 -31
  122. package/dist/esm/api/resources/taskArtifacts/resources/images/client/Client.mjs +0 -128
  123. package/dist/esm/api/resources/taskArtifacts/resources/images/client/index.d.mts +0 -1
  124. package/dist/esm/api/resources/taskArtifacts/resources/images/client/index.mjs +1 -1
  125. package/dist/esm/api/resources/taskArtifacts/resources/index.d.mts +0 -1
  126. package/dist/esm/api/resources/taskArtifacts/resources/index.mjs +0 -1
  127. package/dist/esm/api/resources/tracking/resources/devices/client/Client.d.mts +3 -3
  128. package/dist/esm/api/resources/tracking/resources/devices/client/Client.mjs +3 -3
  129. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/Client.d.mts +3 -3
  130. package/dist/esm/api/resources/tracking/resources/sessionByDevice/client/Client.mjs +3 -3
  131. package/dist/esm/api/resources/users/client/Client.d.mts +1 -1
  132. package/dist/esm/api/resources/users/client/Client.mjs +1 -1
  133. package/dist/esm/api/types/ChrtGroundCourierTaskActionEnum1.d.mts +2 -2
  134. package/dist/esm/api/types/ChrtGroundCourierTaskActionEnum1.mjs +1 -1
  135. package/dist/esm/core/index.d.mts +0 -2
  136. package/dist/esm/core/index.mjs +0 -2
  137. package/dist/esm/index.d.mts +0 -1
  138. package/dist/esm/index.mjs +0 -1
  139. package/dist/esm/version.d.mts +1 -1
  140. package/dist/esm/version.mjs +1 -1
  141. package/package.json +1 -1
  142. package/reference.md +135 -333
  143. package/dist/cjs/api/resources/taskArtifacts/client/requests/TaskArtifactAddToTaskReq.d.ts +0 -19
  144. package/dist/cjs/api/resources/taskArtifacts/client/requests/TaskArtifactAddToTaskReq.js +0 -5
  145. package/dist/cjs/api/resources/taskArtifacts/client/requests/TaskArtifactUpdateCommentsReq.d.ts +0 -14
  146. package/dist/cjs/api/resources/taskArtifacts/client/requests/TaskArtifactUpdateCommentsReq.js +0 -5
  147. package/dist/cjs/api/resources/taskArtifacts/client/requests/index.d.ts +0 -2
  148. package/dist/cjs/api/resources/taskArtifacts/resources/images/client/requests/BodyPostTaskArtifactsUploadImageV1OortTaskArtifactsImagesUploadV1TaskArtifactIdPost.d.ts +0 -13
  149. package/dist/cjs/api/resources/taskArtifacts/resources/images/client/requests/BodyPostTaskArtifactsUploadImageV1OortTaskArtifactsImagesUploadV1TaskArtifactIdPost.js +0 -5
  150. package/dist/cjs/api/resources/taskArtifacts/resources/images/client/requests/index.d.ts +0 -1
  151. package/dist/cjs/api/resources/taskArtifacts/resources/images/client/requests/index.js +0 -2
  152. package/dist/cjs/core/exports.d.ts +0 -1
  153. package/dist/cjs/core/exports.js +0 -17
  154. package/dist/cjs/core/file/exports.d.ts +0 -1
  155. package/dist/cjs/core/file/exports.js +0 -2
  156. package/dist/cjs/core/file/file.d.ts +0 -5
  157. package/dist/cjs/core/file/file.js +0 -203
  158. package/dist/cjs/core/file/index.d.ts +0 -2
  159. package/dist/cjs/core/file/index.js +0 -18
  160. package/dist/cjs/core/file/types.d.ts +0 -66
  161. package/dist/cjs/core/file/types.js +0 -2
  162. package/dist/cjs/core/form-data-utils/FormDataWrapper.d.ts +0 -16
  163. package/dist/cjs/core/form-data-utils/FormDataWrapper.js +0 -208
  164. package/dist/cjs/core/form-data-utils/encodeAsFormParameter.d.ts +0 -1
  165. package/dist/cjs/core/form-data-utils/encodeAsFormParameter.js +0 -12
  166. package/dist/cjs/core/form-data-utils/index.d.ts +0 -2
  167. package/dist/cjs/core/form-data-utils/index.js +0 -20
  168. package/dist/cjs/exports.d.ts +0 -1
  169. package/dist/esm/api/resources/taskArtifacts/client/requests/TaskArtifactAddToTaskReq.d.mts +0 -19
  170. package/dist/esm/api/resources/taskArtifacts/client/requests/TaskArtifactAddToTaskReq.mjs +0 -4
  171. package/dist/esm/api/resources/taskArtifacts/client/requests/TaskArtifactUpdateCommentsReq.d.mts +0 -14
  172. package/dist/esm/api/resources/taskArtifacts/client/requests/TaskArtifactUpdateCommentsReq.mjs +0 -4
  173. package/dist/esm/api/resources/taskArtifacts/client/requests/index.d.mts +0 -2
  174. package/dist/esm/api/resources/taskArtifacts/resources/images/client/requests/BodyPostTaskArtifactsUploadImageV1OortTaskArtifactsImagesUploadV1TaskArtifactIdPost.d.mts +0 -13
  175. package/dist/esm/api/resources/taskArtifacts/resources/images/client/requests/BodyPostTaskArtifactsUploadImageV1OortTaskArtifactsImagesUploadV1TaskArtifactIdPost.mjs +0 -4
  176. package/dist/esm/api/resources/taskArtifacts/resources/images/client/requests/index.d.mts +0 -1
  177. package/dist/esm/core/exports.d.mts +0 -1
  178. package/dist/esm/core/exports.mjs +0 -1
  179. package/dist/esm/core/file/exports.d.mts +0 -1
  180. package/dist/esm/core/file/file.d.mts +0 -5
  181. package/dist/esm/core/file/file.mjs +0 -167
  182. package/dist/esm/core/file/index.d.mts +0 -2
  183. package/dist/esm/core/file/index.mjs +0 -2
  184. package/dist/esm/core/file/types.d.mts +0 -66
  185. package/dist/esm/core/file/types.mjs +0 -1
  186. package/dist/esm/core/form-data-utils/FormDataWrapper.d.mts +0 -16
  187. package/dist/esm/core/form-data-utils/FormDataWrapper.mjs +0 -170
  188. package/dist/esm/core/form-data-utils/encodeAsFormParameter.d.mts +0 -1
  189. package/dist/esm/core/form-data-utils/encodeAsFormParameter.mjs +0 -9
  190. package/dist/esm/core/form-data-utils/index.d.mts +0 -2
  191. package/dist/esm/core/form-data-utils/index.mjs +0 -2
  192. package/dist/esm/exports.d.mts +0 -1
  193. package/dist/esm/exports.mjs +0 -1
  194. /package/dist/{esm/api/resources/taskArtifacts/client/requests/index.mjs → cjs/api/resources/cargos/client/index.d.ts} +0 -0
  195. /package/dist/cjs/api/resources/{taskArtifacts/client/requests → cargos/client}/index.js +0 -0
  196. /package/dist/esm/api/resources/{taskArtifacts/resources/images/client/requests/index.mjs → cargos/client/index.d.mts} +0 -0
  197. /package/dist/esm/{core/file/exports.mjs → api/resources/cargos/client/index.mjs} +0 -0
@@ -17,7 +17,7 @@ import { OrgProfiles } from "./api/resources/orgProfiles/client/Client.js";
17
17
  import { Dev } from "./api/resources/dev/client/Client.js";
18
18
  import { TaskArtifactNotifications } from "./api/resources/taskArtifactNotifications/client/Client.js";
19
19
  import { Drivers } from "./api/resources/drivers/client/Client.js";
20
- import { TaskArtifacts } from "./api/resources/taskArtifacts/client/Client.js";
20
+ import { Cargos } from "./api/resources/cargos/client/Client.js";
21
21
  import { OffChrtShipperOrg } from "./api/resources/offChrtShipperOrg/client/Client.js";
22
22
  import { Orders } from "./api/resources/orders/client/Client.js";
23
23
  import { OrderDrafts } from "./api/resources/orderDrafts/client/Client.js";
@@ -29,6 +29,7 @@ import { Users } from "./api/resources/users/client/Client.js";
29
29
  import { Utils } from "./api/resources/utils/client/Client.js";
30
30
  import { Notifications } from "./api/resources/notifications/client/Client.js";
31
31
  import { OrgInfoForConnections } from "./api/resources/orgInfoForConnections/client/Client.js";
32
+ import { TaskArtifacts } from "./api/resources/taskArtifacts/client/Client.js";
32
33
  import { Tracking } from "./api/resources/tracking/client/Client.js";
33
34
  export declare namespace ChrtClient {
34
35
  interface Options {
@@ -69,7 +70,7 @@ export declare class ChrtClient {
69
70
  protected _dev: Dev | undefined;
70
71
  protected _taskArtifactNotifications: TaskArtifactNotifications | undefined;
71
72
  protected _drivers: Drivers | undefined;
72
- protected _taskArtifacts: TaskArtifacts | undefined;
73
+ protected _cargos: Cargos | undefined;
73
74
  protected _offChrtShipperOrg: OffChrtShipperOrg | undefined;
74
75
  protected _orders: Orders | undefined;
75
76
  protected _orderDrafts: OrderDrafts | undefined;
@@ -81,6 +82,7 @@ export declare class ChrtClient {
81
82
  protected _utils: Utils | undefined;
82
83
  protected _notifications: Notifications | undefined;
83
84
  protected _orgInfoForConnections: OrgInfoForConnections | undefined;
85
+ protected _taskArtifacts: TaskArtifacts | undefined;
84
86
  protected _tracking: Tracking | undefined;
85
87
  constructor(_options?: ChrtClient.Options);
86
88
  get payments(): Payments;
@@ -97,7 +99,7 @@ export declare class ChrtClient {
97
99
  get dev(): Dev;
98
100
  get taskArtifactNotifications(): TaskArtifactNotifications;
99
101
  get drivers(): Drivers;
100
- get taskArtifacts(): TaskArtifacts;
102
+ get cargos(): Cargos;
101
103
  get offChrtShipperOrg(): OffChrtShipperOrg;
102
104
  get orders(): Orders;
103
105
  get orderDrafts(): OrderDrafts;
@@ -109,5 +111,6 @@ export declare class ChrtClient {
109
111
  get utils(): Utils;
110
112
  get notifications(): Notifications;
111
113
  get orgInfoForConnections(): OrgInfoForConnections;
114
+ get taskArtifacts(): TaskArtifacts;
112
115
  get tracking(): Tracking;
113
116
  }
@@ -53,7 +53,7 @@ const Client_js_11 = require("./api/resources/orgProfiles/client/Client.js");
53
53
  const Client_js_12 = require("./api/resources/dev/client/Client.js");
54
54
  const Client_js_13 = require("./api/resources/taskArtifactNotifications/client/Client.js");
55
55
  const Client_js_14 = require("./api/resources/drivers/client/Client.js");
56
- const Client_js_15 = require("./api/resources/taskArtifacts/client/Client.js");
56
+ const Client_js_15 = require("./api/resources/cargos/client/Client.js");
57
57
  const Client_js_16 = require("./api/resources/offChrtShipperOrg/client/Client.js");
58
58
  const Client_js_17 = require("./api/resources/orders/client/Client.js");
59
59
  const Client_js_18 = require("./api/resources/orderDrafts/client/Client.js");
@@ -65,14 +65,15 @@ const Client_js_23 = require("./api/resources/users/client/Client.js");
65
65
  const Client_js_24 = require("./api/resources/utils/client/Client.js");
66
66
  const Client_js_25 = require("./api/resources/notifications/client/Client.js");
67
67
  const Client_js_26 = require("./api/resources/orgInfoForConnections/client/Client.js");
68
- const Client_js_27 = require("./api/resources/tracking/client/Client.js");
68
+ const Client_js_27 = require("./api/resources/taskArtifacts/client/Client.js");
69
+ const Client_js_28 = require("./api/resources/tracking/client/Client.js");
69
70
  class ChrtClient {
70
71
  constructor(_options = {}) {
71
72
  this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_js_1.mergeHeaders)({
72
73
  "X-Fern-Language": "JavaScript",
73
74
  "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk",
74
- "X-Fern-SDK-Version": "1.319.0",
75
- "User-Agent": "@chrt-inc/typescript-sdk/1.319.0",
75
+ "X-Fern-SDK-Version": "1.320.0",
76
+ "User-Agent": "@chrt-inc/typescript-sdk/1.320.0",
76
77
  "X-Fern-Runtime": core.RUNTIME.type,
77
78
  "X-Fern-Runtime-Version": core.RUNTIME.version,
78
79
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -133,9 +134,9 @@ class ChrtClient {
133
134
  var _a;
134
135
  return ((_a = this._drivers) !== null && _a !== void 0 ? _a : (this._drivers = new Client_js_14.Drivers(this._options)));
135
136
  }
136
- get taskArtifacts() {
137
+ get cargos() {
137
138
  var _a;
138
- return ((_a = this._taskArtifacts) !== null && _a !== void 0 ? _a : (this._taskArtifacts = new Client_js_15.TaskArtifacts(this._options)));
139
+ return ((_a = this._cargos) !== null && _a !== void 0 ? _a : (this._cargos = new Client_js_15.Cargos(this._options)));
139
140
  }
140
141
  get offChrtShipperOrg() {
141
142
  var _a;
@@ -181,9 +182,13 @@ class ChrtClient {
181
182
  var _a;
182
183
  return ((_a = this._orgInfoForConnections) !== null && _a !== void 0 ? _a : (this._orgInfoForConnections = new Client_js_26.OrgInfoForConnections(this._options)));
183
184
  }
185
+ get taskArtifacts() {
186
+ var _a;
187
+ return ((_a = this._taskArtifacts) !== null && _a !== void 0 ? _a : (this._taskArtifacts = new Client_js_27.TaskArtifacts(this._options)));
188
+ }
184
189
  get tracking() {
185
190
  var _a;
186
- return ((_a = this._tracking) !== null && _a !== void 0 ? _a : (this._tracking = new Client_js_27.Tracking(this._options)));
191
+ return ((_a = this._tracking) !== null && _a !== void 0 ? _a : (this._tracking = new Client_js_28.Tracking(this._options)));
187
192
  }
188
193
  }
189
194
  exports.ChrtClient = ChrtClient;
@@ -0,0 +1,48 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as environments from "../../../../environments.js";
5
+ import * as core from "../../../../core/index.js";
6
+ import * as Chrt from "../../../index.js";
7
+ export declare namespace Cargos {
8
+ interface Options {
9
+ environment?: core.Supplier<environments.ChrtEnvironment | string>;
10
+ /** Specify a custom URL to connect the client to. */
11
+ baseUrl?: core.Supplier<string>;
12
+ token?: core.Supplier<core.BearerToken | undefined>;
13
+ /** Additional headers to include in requests. */
14
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
15
+ fetcher?: core.FetchFunction;
16
+ }
17
+ interface RequestOptions {
18
+ /** The maximum time to wait for a response in seconds. */
19
+ timeoutInSeconds?: number;
20
+ /** The number of times to retry the request. Defaults to 2. */
21
+ maxRetries?: number;
22
+ /** A hook to abort the request. */
23
+ abortSignal?: AbortSignal;
24
+ /** Additional query string parameters to include in the request. */
25
+ queryParams?: Record<string, unknown>;
26
+ /** Additional headers to include in the request. */
27
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
28
+ }
29
+ }
30
+ export declare class Cargos {
31
+ protected readonly _options: Cargos.Options;
32
+ constructor(_options?: Cargos.Options);
33
+ /**
34
+ * Updates a cargo's details. Cargo must be in STAGED, IN_TRANSIT, DELIVERED, or EXCEPTION status. | authz_personas=[lig_org_operators] | (CargoClientUpdate1) -> (PydanticObjectId)
35
+ *
36
+ * @param {string} cargoId
37
+ * @param {Chrt.CargoClientUpdate1} request
38
+ * @param {Cargos.RequestOptions} requestOptions - Request-specific configuration.
39
+ *
40
+ * @throws {@link Chrt.UnprocessableEntityError}
41
+ *
42
+ * @example
43
+ * await client.cargos.updateV1("cargo_id", {})
44
+ */
45
+ updateV1(cargoId: string, request: Chrt.CargoClientUpdate1, requestOptions?: Cargos.RequestOptions): core.HttpResponsePromise<string>;
46
+ private __updateV1;
47
+ protected _getAuthorizationHeader(): Promise<string | undefined>;
48
+ }
@@ -0,0 +1,131 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
39
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
40
+ return new (P || (P = Promise))(function (resolve, reject) {
41
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
42
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
43
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
44
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
45
+ });
46
+ };
47
+ Object.defineProperty(exports, "__esModule", { value: true });
48
+ exports.Cargos = void 0;
49
+ const environments = __importStar(require("../../../../environments.js"));
50
+ const core = __importStar(require("../../../../core/index.js"));
51
+ const Chrt = __importStar(require("../../../index.js"));
52
+ const headers_js_1 = require("../../../../core/headers.js");
53
+ const errors = __importStar(require("../../../../errors/index.js"));
54
+ class Cargos {
55
+ constructor(_options = {}) {
56
+ this._options = _options;
57
+ }
58
+ /**
59
+ * Updates a cargo's details. Cargo must be in STAGED, IN_TRANSIT, DELIVERED, or EXCEPTION status. | authz_personas=[lig_org_operators] | (CargoClientUpdate1) -> (PydanticObjectId)
60
+ *
61
+ * @param {string} cargoId
62
+ * @param {Chrt.CargoClientUpdate1} request
63
+ * @param {Cargos.RequestOptions} requestOptions - Request-specific configuration.
64
+ *
65
+ * @throws {@link Chrt.UnprocessableEntityError}
66
+ *
67
+ * @example
68
+ * await client.cargos.updateV1("cargo_id", {})
69
+ */
70
+ updateV1(cargoId, request, requestOptions) {
71
+ return core.HttpResponsePromise.fromPromise(this.__updateV1(cargoId, request, requestOptions));
72
+ }
73
+ __updateV1(cargoId, request, requestOptions) {
74
+ return __awaiter(this, void 0, void 0, function* () {
75
+ var _a, _b, _c, _d;
76
+ let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
77
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
78
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `oort/cargos/update/v1/${encodeURIComponent(cargoId)}`),
79
+ method: "PATCH",
80
+ headers: _headers,
81
+ contentType: "application/json",
82
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
83
+ requestType: "json",
84
+ body: request,
85
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
86
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
87
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
88
+ });
89
+ if (_response.ok) {
90
+ return { data: _response.body, rawResponse: _response.rawResponse };
91
+ }
92
+ if (_response.error.reason === "status-code") {
93
+ switch (_response.error.statusCode) {
94
+ case 422:
95
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
96
+ default:
97
+ throw new errors.ChrtError({
98
+ statusCode: _response.error.statusCode,
99
+ body: _response.error.body,
100
+ rawResponse: _response.rawResponse,
101
+ });
102
+ }
103
+ }
104
+ switch (_response.error.reason) {
105
+ case "non-json":
106
+ throw new errors.ChrtError({
107
+ statusCode: _response.error.statusCode,
108
+ body: _response.error.rawBody,
109
+ rawResponse: _response.rawResponse,
110
+ });
111
+ case "timeout":
112
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /oort/cargos/update/v1/{cargo_id}.");
113
+ case "unknown":
114
+ throw new errors.ChrtError({
115
+ message: _response.error.errorMessage,
116
+ rawResponse: _response.rawResponse,
117
+ });
118
+ }
119
+ });
120
+ }
121
+ _getAuthorizationHeader() {
122
+ return __awaiter(this, void 0, void 0, function* () {
123
+ const bearer = yield core.Supplier.get(this._options.token);
124
+ if (bearer != null) {
125
+ return `Bearer ${bearer}`;
126
+ }
127
+ return undefined;
128
+ });
129
+ }
130
+ }
131
+ exports.Cargos = Cargos;
@@ -0,0 +1 @@
1
+ export * from "./client/index.js";
@@ -14,4 +14,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./core/exports.js"), exports);
17
+ __exportStar(require("./client/index.js"), exports);
@@ -40,7 +40,7 @@ export declare class Connections {
40
40
  get connectionToShipper(): ConnectionToShipper;
41
41
  get connectionToForwarder(): ConnectionToForwarder;
42
42
  /**
43
- * Lists shipper organizations based on the authenticated organization type. Couriers see connected shippers, forwarders see connected shippers. | () -> (list[ShipperConnectionRes])
43
+ * Lists shipper organizations based on the caller's organization type. Couriers see connected shippers, forwarders see connected shippers. | () -> (list[ShipperConnectionRes])
44
44
  *
45
45
  * @param {Connections.RequestOptions} requestOptions - Request-specific configuration.
46
46
  *
@@ -50,7 +50,7 @@ export declare class Connections {
50
50
  listShippersV1(requestOptions?: Connections.RequestOptions): core.HttpResponsePromise<Chrt.ShipperConnectionRes[]>;
51
51
  private __listShippersV1;
52
52
  /**
53
- * Lists courier organizations based on the authenticated organization type. Shippers see connected couriers, forwarders see connected couriers. | () -> (list[CourierConnectionRes])
53
+ * Lists courier organizations based on the caller's organization type. Shippers see connected couriers, forwarders see connected couriers. | () -> (list[CourierConnectionRes])
54
54
  *
55
55
  * @param {Connections.RequestOptions} requestOptions - Request-specific configuration.
56
56
  *
@@ -60,7 +60,7 @@ export declare class Connections {
60
60
  listCouriersV1(requestOptions?: Connections.RequestOptions): core.HttpResponsePromise<Chrt.CourierConnectionRes[]>;
61
61
  private __listCouriersV1;
62
62
  /**
63
- * Lists forwarder organizations based on the authenticated organization type. Shippers see connected forwarders, couriers see connected forwarders. | () -> (list[ForwarderConnectionRes])
63
+ * Lists forwarder organizations based on the caller's organization type. Shippers see connected forwarders, couriers see connected forwarders. | () -> (list[ForwarderConnectionRes])
64
64
  *
65
65
  * @param {Connections.RequestOptions} requestOptions - Request-specific configuration.
66
66
  *
@@ -70,7 +70,7 @@ export declare class Connections {
70
70
  listForwardersV1(requestOptions?: Connections.RequestOptions): core.HttpResponsePromise<Chrt.ForwarderConnectionRes[]>;
71
71
  private __listForwardersV1;
72
72
  /**
73
- * Gets connection between authenticated org and org with specified handle. | () -> (ShipperCourierConnection1 | ShipperForwarderConnection1 | ForwarderCourierConnection1 | None)
73
+ * Gets connection between caller's org and org with specified handle. | () -> (ShipperCourierConnection1 | ShipperForwarderConnection1 | ForwarderCourierConnection1 | None)
74
74
  *
75
75
  * @param {string} handle
76
76
  * @param {Connections.RequestOptions} requestOptions - Request-specific configuration.
@@ -71,7 +71,7 @@ class Connections {
71
71
  return ((_a = this._connectionToForwarder) !== null && _a !== void 0 ? _a : (this._connectionToForwarder = new Client_js_3.ConnectionToForwarder(this._options)));
72
72
  }
73
73
  /**
74
- * Lists shipper organizations based on the authenticated organization type. Couriers see connected shippers, forwarders see connected shippers. | () -> (list[ShipperConnectionRes])
74
+ * Lists shipper organizations based on the caller's organization type. Couriers see connected shippers, forwarders see connected shippers. | () -> (list[ShipperConnectionRes])
75
75
  *
76
76
  * @param {Connections.RequestOptions} requestOptions - Request-specific configuration.
77
77
  *
@@ -122,7 +122,7 @@ class Connections {
122
122
  });
123
123
  }
124
124
  /**
125
- * Lists courier organizations based on the authenticated organization type. Shippers see connected couriers, forwarders see connected couriers. | () -> (list[CourierConnectionRes])
125
+ * Lists courier organizations based on the caller's organization type. Shippers see connected couriers, forwarders see connected couriers. | () -> (list[CourierConnectionRes])
126
126
  *
127
127
  * @param {Connections.RequestOptions} requestOptions - Request-specific configuration.
128
128
  *
@@ -173,7 +173,7 @@ class Connections {
173
173
  });
174
174
  }
175
175
  /**
176
- * Lists forwarder organizations based on the authenticated organization type. Shippers see connected forwarders, couriers see connected forwarders. | () -> (list[ForwarderConnectionRes])
176
+ * Lists forwarder organizations based on the caller's organization type. Shippers see connected forwarders, couriers see connected forwarders. | () -> (list[ForwarderConnectionRes])
177
177
  *
178
178
  * @param {Connections.RequestOptions} requestOptions - Request-specific configuration.
179
179
  *
@@ -224,7 +224,7 @@ class Connections {
224
224
  });
225
225
  }
226
226
  /**
227
- * Gets connection between authenticated org and org with specified handle. | () -> (ShipperCourierConnection1 | ShipperForwarderConnection1 | ForwarderCourierConnection1 | None)
227
+ * Gets connection between caller's org and org with specified handle. | () -> (ShipperCourierConnection1 | ShipperForwarderConnection1 | ForwarderCourierConnection1 | None)
228
228
  *
229
229
  * @param {string} handle
230
230
  * @param {Connections.RequestOptions} requestOptions - Request-specific configuration.
@@ -31,7 +31,7 @@ export declare class CourierPayDriverPayouts {
31
31
  protected readonly _options: CourierPayDriverPayouts.Options;
32
32
  constructor(_options?: CourierPayDriverPayouts.Options);
33
33
  /**
34
- * Retrieves a specific courier driver payout by ID for the authenticated organization.
34
+ * Retrieves a specific courier driver payout by ID for the caller's organization.
35
35
  *
36
36
  * @param {string} id
37
37
  * @param {CourierPayDriverPayouts.RequestOptions} requestOptions - Request-specific configuration.
@@ -44,7 +44,7 @@ export declare class CourierPayDriverPayouts {
44
44
  getByIdV1(id: string, requestOptions?: CourierPayDriverPayouts.RequestOptions): core.HttpResponsePromise<Chrt.CourierPayDriverStatement1>;
45
45
  private __getByIdV1;
46
46
  /**
47
- * Lists all payouts for a specific driver within the authenticated organization.
47
+ * Lists all payouts for a specific driver within the caller's organization.
48
48
  *
49
49
  * @param {string} driverId
50
50
  * @param {CourierPayDriverPayouts.RequestOptions} requestOptions - Request-specific configuration.
@@ -56,7 +56,7 @@ class CourierPayDriverPayouts {
56
56
  this._options = _options;
57
57
  }
58
58
  /**
59
- * Retrieves a specific courier driver payout by ID for the authenticated organization.
59
+ * Retrieves a specific courier driver payout by ID for the caller's organization.
60
60
  *
61
61
  * @param {string} id
62
62
  * @param {CourierPayDriverPayouts.RequestOptions} requestOptions - Request-specific configuration.
@@ -115,7 +115,7 @@ class CourierPayDriverPayouts {
115
115
  });
116
116
  }
117
117
  /**
118
- * Lists all payouts for a specific driver within the authenticated organization.
118
+ * Lists all payouts for a specific driver within the caller's organization.
119
119
  *
120
120
  * @param {string} driverId
121
121
  * @param {CourierPayDriverPayouts.RequestOptions} requestOptions - Request-specific configuration.
@@ -31,7 +31,7 @@ export declare class CourierPayDriverRateSheets {
31
31
  protected readonly _options: CourierPayDriverRateSheets.Options;
32
32
  constructor(_options?: CourierPayDriverRateSheets.Options);
33
33
  /**
34
- * Lists all driver rate sheets for the authenticated courier organization.
34
+ * Lists all driver rate sheets for the caller's courier organization.
35
35
  *
36
36
  * @param {CourierPayDriverRateSheets.RequestOptions} requestOptions - Request-specific configuration.
37
37
  *
@@ -96,7 +96,7 @@ export declare class CourierPayDriverRateSheets {
96
96
  getV1(id: string, requestOptions?: CourierPayDriverRateSheets.RequestOptions): core.HttpResponsePromise<Chrt.CourierPayDriverRateSheet1>;
97
97
  private __getV1;
98
98
  /**
99
- * Deletes a driver rate sheet owned by the authenticated organization.
99
+ * Deletes a driver rate sheet owned by the caller's organization.
100
100
  *
101
101
  * @param {string} id
102
102
  * @param {CourierPayDriverRateSheets.RequestOptions} requestOptions - Request-specific configuration.
@@ -109,7 +109,7 @@ export declare class CourierPayDriverRateSheets {
109
109
  deleteByIdV1(id: string, requestOptions?: CourierPayDriverRateSheets.RequestOptions): core.HttpResponsePromise<boolean>;
110
110
  private __deleteByIdV1;
111
111
  /**
112
- * Updates an existing driver rate sheet owned by the authenticated organization.
112
+ * Updates an existing driver rate sheet owned by the caller's organization.
113
113
  *
114
114
  * @param {string} id
115
115
  * @param {Chrt.CourierPayDriverRateSheetClientUpdate1} request
@@ -56,7 +56,7 @@ class CourierPayDriverRateSheets {
56
56
  this._options = _options;
57
57
  }
58
58
  /**
59
- * Lists all driver rate sheets for the authenticated courier organization.
59
+ * Lists all driver rate sheets for the caller's courier organization.
60
60
  *
61
61
  * @param {CourierPayDriverRateSheets.RequestOptions} requestOptions - Request-specific configuration.
62
62
  *
@@ -303,7 +303,7 @@ class CourierPayDriverRateSheets {
303
303
  });
304
304
  }
305
305
  /**
306
- * Deletes a driver rate sheet owned by the authenticated organization.
306
+ * Deletes a driver rate sheet owned by the caller's organization.
307
307
  *
308
308
  * @param {string} id
309
309
  * @param {CourierPayDriverRateSheets.RequestOptions} requestOptions - Request-specific configuration.
@@ -362,7 +362,7 @@ class CourierPayDriverRateSheets {
362
362
  });
363
363
  }
364
364
  /**
365
- * Updates an existing driver rate sheet owned by the authenticated organization.
365
+ * Updates an existing driver rate sheet owned by the caller's organization.
366
366
  *
367
367
  * @param {string} id
368
368
  * @param {Chrt.CourierPayDriverRateSheetClientUpdate1} request
@@ -31,7 +31,7 @@ export declare class CourierPayDriverStatements {
31
31
  protected readonly _options: CourierPayDriverStatements.Options;
32
32
  constructor(_options?: CourierPayDriverStatements.Options);
33
33
  /**
34
- * Retrieves a specific courier driver statement by ID for the authenticated organization.
34
+ * Retrieves a specific courier driver statement by ID for the caller's organization.
35
35
  *
36
36
  * @param {string} id
37
37
  * @param {CourierPayDriverStatements.RequestOptions} requestOptions - Request-specific configuration.
@@ -44,7 +44,7 @@ export declare class CourierPayDriverStatements {
44
44
  getByIdV1(id: string, requestOptions?: CourierPayDriverStatements.RequestOptions): core.HttpResponsePromise<Chrt.CourierPayDriverStatement1>;
45
45
  private __getByIdV1;
46
46
  /**
47
- * Lists all statements for a specific driver within the authenticated organization.
47
+ * Lists all statements for a specific driver within the caller's organization.
48
48
  *
49
49
  * @param {string} driverId
50
50
  * @param {CourierPayDriverStatements.RequestOptions} requestOptions - Request-specific configuration.
@@ -56,7 +56,7 @@ class CourierPayDriverStatements {
56
56
  this._options = _options;
57
57
  }
58
58
  /**
59
- * Retrieves a specific courier driver statement by ID for the authenticated organization.
59
+ * Retrieves a specific courier driver statement by ID for the caller's organization.
60
60
  *
61
61
  * @param {string} id
62
62
  * @param {CourierPayDriverStatements.RequestOptions} requestOptions - Request-specific configuration.
@@ -115,7 +115,7 @@ class CourierPayDriverStatements {
115
115
  });
116
116
  }
117
117
  /**
118
- * Lists all statements for a specific driver within the authenticated organization.
118
+ * Lists all statements for a specific driver within the caller's organization.
119
119
  *
120
120
  * @param {string} driverId
121
121
  * @param {CourierPayDriverStatements.RequestOptions} requestOptions - Request-specific configuration.
@@ -31,7 +31,7 @@ export declare class Dev {
31
31
  protected readonly _options: Dev.Options;
32
32
  constructor(_options?: Dev.Options);
33
33
  /**
34
- * Experimental endpoint for running AI agentic workflows. Returns the authenticated user's ID for testing purposes. | () -> (str)
34
+ * Experimental endpoint for running AI agentic workflows. Returns the caller's ID for testing purposes. | () -> (str)
35
35
  *
36
36
  * @param {Dev.RequestOptions} requestOptions - Request-specific configuration.
37
37
  *
@@ -71,7 +71,7 @@ export declare class Dev {
71
71
  getDecodedJwtV1(requestOptions?: Dev.RequestOptions): core.HttpResponsePromise<Chrt.DecodedJwtWithOrgAndUserId>;
72
72
  private __getDecodedJwtV1;
73
73
  /**
74
- * Retrieves the primary email address for the authenticated user from the authentication service. | () -> (str)
74
+ * Retrieves the primary email address for the caller from the authentication service. | () -> (str)
75
75
  *
76
76
  * @param {Dev.RequestOptions} requestOptions - Request-specific configuration.
77
77
  *
@@ -81,7 +81,7 @@ export declare class Dev {
81
81
  getEmailV1(requestOptions?: Dev.RequestOptions): core.HttpResponsePromise<string>;
82
82
  private __getEmailV1;
83
83
  /**
84
- * Experimental endpoint for running durable execution workflows. Returns the authenticated user's ID for testing purposes. | () -> (dict[str, Any])
84
+ * Experimental endpoint for running durable execution workflows. Returns the caller's ID for testing purposes. | () -> (dict[str, Any])
85
85
  *
86
86
  * @param {Dev.RequestOptions} requestOptions - Request-specific configuration.
87
87
  *
@@ -91,7 +91,7 @@ export declare class Dev {
91
91
  getDurableV1(requestOptions?: Dev.RequestOptions): core.HttpResponsePromise<Record<string, unknown>>;
92
92
  private __getDurableV1;
93
93
  /**
94
- * Development template endpoint that returns the authenticated user's ID for testing. | () -> (str)
94
+ * Development template endpoint that returns the caller's ID for testing. | () -> (str)
95
95
  *
96
96
  * @param {Dev.RequestOptions} requestOptions - Request-specific configuration.
97
97
  *
@@ -56,7 +56,7 @@ class Dev {
56
56
  this._options = _options;
57
57
  }
58
58
  /**
59
- * Experimental endpoint for running AI agentic workflows. Returns the authenticated user's ID for testing purposes. | () -> (str)
59
+ * Experimental endpoint for running AI agentic workflows. Returns the caller's ID for testing purposes. | () -> (str)
60
60
  *
61
61
  * @param {Dev.RequestOptions} requestOptions - Request-specific configuration.
62
62
  *
@@ -260,7 +260,7 @@ class Dev {
260
260
  });
261
261
  }
262
262
  /**
263
- * Retrieves the primary email address for the authenticated user from the authentication service. | () -> (str)
263
+ * Retrieves the primary email address for the caller from the authentication service. | () -> (str)
264
264
  *
265
265
  * @param {Dev.RequestOptions} requestOptions - Request-specific configuration.
266
266
  *
@@ -311,7 +311,7 @@ class Dev {
311
311
  });
312
312
  }
313
313
  /**
314
- * Experimental endpoint for running durable execution workflows. Returns the authenticated user's ID for testing purposes. | () -> (dict[str, Any])
314
+ * Experimental endpoint for running durable execution workflows. Returns the caller's ID for testing purposes. | () -> (dict[str, Any])
315
315
  *
316
316
  * @param {Dev.RequestOptions} requestOptions - Request-specific configuration.
317
317
  *
@@ -362,7 +362,7 @@ class Dev {
362
362
  });
363
363
  }
364
364
  /**
365
- * Development template endpoint that returns the authenticated user's ID for testing. | () -> (str)
365
+ * Development template endpoint that returns the caller's ID for testing. | () -> (str)
366
366
  *
367
367
  * @param {Dev.RequestOptions} requestOptions - Request-specific configuration.
368
368
  *
@@ -41,7 +41,7 @@ export declare class Drivers {
41
41
  listOrgMembersAndDriversV1(requestOptions?: Drivers.RequestOptions): core.HttpResponsePromise<Chrt.OrgMembersAndDrivers[]>;
42
42
  private __listOrgMembersAndDriversV1;
43
43
  /**
44
- * Lists all drivers belonging to the authenticated organization. | () -> (list[Driver1])
44
+ * Lists all drivers belonging to the caller's organization. | () -> (list[Driver1])
45
45
  *
46
46
  * @param {Drivers.RequestOptions} requestOptions - Request-specific configuration.
47
47
  *
@@ -69,7 +69,7 @@ export declare class Drivers {
69
69
  createV1(request: Chrt.DriverCreateReq, requestOptions?: Drivers.RequestOptions): core.HttpResponsePromise<string>;
70
70
  private __createV1;
71
71
  /**
72
- * Retrieves driver information for the authenticated user within their organization. | () -> (Driver1)
72
+ * Retrieves driver information for the caller within their organization. | () -> (Driver1)
73
73
  *
74
74
  * @param {Drivers.RequestOptions} requestOptions - Request-specific configuration.
75
75
  *
@@ -107,7 +107,7 @@ class Drivers {
107
107
  });
108
108
  }
109
109
  /**
110
- * Lists all drivers belonging to the authenticated organization. | () -> (list[Driver1])
110
+ * Lists all drivers belonging to the caller's organization. | () -> (list[Driver1])
111
111
  *
112
112
  * @param {Drivers.RequestOptions} requestOptions - Request-specific configuration.
113
113
  *
@@ -225,7 +225,7 @@ class Drivers {
225
225
  });
226
226
  }
227
227
  /**
228
- * Retrieves driver information for the authenticated user within their organization. | () -> (Driver1)
228
+ * Retrieves driver information for the caller within their organization. | () -> (Driver1)
229
229
  *
230
230
  * @param {Drivers.RequestOptions} requestOptions - Request-specific configuration.
231
231
  *
@@ -16,7 +16,7 @@ export * as orgProfiles from "./orgProfiles/index.js";
16
16
  export * as dev from "./dev/index.js";
17
17
  export * as taskArtifactNotifications from "./taskArtifactNotifications/index.js";
18
18
  export * as drivers from "./drivers/index.js";
19
- export * as taskArtifacts from "./taskArtifacts/index.js";
19
+ export * as cargos from "./cargos/index.js";
20
20
  export * as offChrtShipperOrg from "./offChrtShipperOrg/index.js";
21
21
  export * as shipperContactInfo from "./shipperContactInfo/index.js";
22
22
  export * as orgs from "./orgs/index.js";
@@ -25,6 +25,7 @@ export * as users from "./users/index.js";
25
25
  export * as utils from "./utils/index.js";
26
26
  export * as notifications from "./notifications/index.js";
27
27
  export * as orgInfoForConnections from "./orgInfoForConnections/index.js";
28
+ export * as taskArtifacts from "./taskArtifacts/index.js";
28
29
  export * as tracking from "./tracking/index.js";
29
30
  export * from "./payments/client/requests/index.js";
30
31
  export * from "./courierPayDriverRateSheets/client/requests/index.js";
@@ -35,7 +36,6 @@ export * from "./orgProfiles/client/requests/index.js";
35
36
  export * from "./dev/client/requests/index.js";
36
37
  export * from "./taskArtifactNotifications/client/requests/index.js";
37
38
  export * from "./drivers/client/requests/index.js";
38
- export * from "./taskArtifacts/client/requests/index.js";
39
39
  export * from "./offChrtShipperOrg/client/requests/index.js";
40
40
  export * from "./orderDrafts/client/requests/index.js";
41
41
  export * from "./taskGroups/client/requests/index.js";