@chrt-inc/typescript-sdk 1.562.0 → 1.575.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 (84) hide show
  1. package/dist/cjs/Client.js +2 -2
  2. package/dist/cjs/api/resources/shipping/resources/docs/client/Client.d.ts +1 -11
  3. package/dist/cjs/api/resources/shipping/resources/docs/client/Client.js +1 -10
  4. package/dist/cjs/api/resources/shipping/resources/docs/client/requests/GenerateShippingDocReq.d.ts +2 -2
  5. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.d.ts +3 -3
  6. package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.js +7 -7
  7. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.ts +8 -6
  8. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.js +32 -24
  9. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForForwarderOperatorsV1Request.d.ts +2 -0
  10. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.ts +2 -0
  11. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.ts +2 -0
  12. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.js +18 -10
  13. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForCourierDriverV1Request.d.ts +2 -0
  14. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForCourierOperatorsV1Request.d.ts +2 -0
  15. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/Client.d.ts +6 -6
  16. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/Client.js +14 -14
  17. package/dist/cjs/api/resources/shipping/resources/tasks/client/Client.d.ts +1 -1
  18. package/dist/cjs/api/resources/shipping/resources/tasks/client/Client.js +1 -1
  19. package/dist/cjs/api/resources/tracking/resources/sharingSettings/client/Client.d.ts +4 -4
  20. package/dist/cjs/api/resources/tracking/resources/sharingSettings/client/Client.js +8 -8
  21. package/dist/cjs/api/resources/utils/index.d.ts +1 -1
  22. package/dist/cjs/api/resources/utils/index.js +1 -1
  23. package/dist/cjs/api/resources/utils/resources/dev/client/Client.d.ts +2 -13
  24. package/dist/cjs/api/resources/utils/resources/dev/client/Client.js +14 -13
  25. package/dist/cjs/api/resources/utils/resources/dev/index.d.ts +1 -0
  26. package/dist/cjs/api/resources/utils/resources/dev/index.js +1 -0
  27. package/dist/cjs/api/resources/utils/resources/dev/types/OrderBuilderStreamEvent.d.ts +27 -0
  28. package/dist/cjs/api/resources/utils/resources/dev/types/OrderBuilderStreamEvent.js +14 -0
  29. package/dist/cjs/api/resources/utils/resources/dev/types/index.d.ts +1 -0
  30. package/dist/cjs/api/resources/utils/resources/dev/types/index.js +17 -0
  31. package/dist/cjs/api/resources/utils/resources/index.d.ts +1 -0
  32. package/dist/cjs/api/resources/utils/resources/index.js +1 -0
  33. package/dist/cjs/api/types/TaskClientUpdate1.d.ts +2 -0
  34. package/dist/cjs/core/index.d.ts +1 -0
  35. package/dist/cjs/core/index.js +1 -0
  36. package/dist/cjs/core/stream/Stream.d.ts +46 -0
  37. package/dist/cjs/core/stream/Stream.js +169 -0
  38. package/dist/cjs/core/stream/index.d.ts +1 -0
  39. package/dist/cjs/core/stream/index.js +5 -0
  40. package/dist/cjs/version.d.ts +1 -1
  41. package/dist/cjs/version.js +1 -1
  42. package/dist/esm/Client.mjs +2 -2
  43. package/dist/esm/api/resources/shipping/resources/docs/client/Client.d.mts +1 -11
  44. package/dist/esm/api/resources/shipping/resources/docs/client/Client.mjs +1 -10
  45. package/dist/esm/api/resources/shipping/resources/docs/client/requests/GenerateShippingDocReq.d.mts +2 -2
  46. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.d.mts +3 -3
  47. package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.mjs +7 -7
  48. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.mts +8 -6
  49. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.mjs +32 -24
  50. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForForwarderOperatorsV1Request.d.mts +2 -0
  51. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.mts +2 -0
  52. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.mts +2 -0
  53. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.mjs +18 -10
  54. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForCourierDriverV1Request.d.mts +2 -0
  55. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForCourierOperatorsV1Request.d.mts +2 -0
  56. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/Client.d.mts +6 -6
  57. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/Client.mjs +14 -14
  58. package/dist/esm/api/resources/shipping/resources/tasks/client/Client.d.mts +1 -1
  59. package/dist/esm/api/resources/shipping/resources/tasks/client/Client.mjs +1 -1
  60. package/dist/esm/api/resources/tracking/resources/sharingSettings/client/Client.d.mts +4 -4
  61. package/dist/esm/api/resources/tracking/resources/sharingSettings/client/Client.mjs +8 -8
  62. package/dist/esm/api/resources/utils/index.d.mts +1 -1
  63. package/dist/esm/api/resources/utils/index.mjs +1 -1
  64. package/dist/esm/api/resources/utils/resources/dev/client/Client.d.mts +2 -13
  65. package/dist/esm/api/resources/utils/resources/dev/client/Client.mjs +14 -13
  66. package/dist/esm/api/resources/utils/resources/dev/index.d.mts +1 -0
  67. package/dist/esm/api/resources/utils/resources/dev/index.mjs +1 -0
  68. package/dist/esm/api/resources/utils/resources/dev/types/OrderBuilderStreamEvent.d.mts +27 -0
  69. package/dist/esm/api/resources/utils/resources/dev/types/OrderBuilderStreamEvent.mjs +11 -0
  70. package/dist/esm/api/resources/utils/resources/dev/types/index.d.mts +1 -0
  71. package/dist/esm/api/resources/utils/resources/dev/types/index.mjs +1 -0
  72. package/dist/esm/api/resources/utils/resources/index.d.mts +1 -0
  73. package/dist/esm/api/resources/utils/resources/index.mjs +1 -0
  74. package/dist/esm/api/types/TaskClientUpdate1.d.mts +2 -0
  75. package/dist/esm/core/index.d.mts +1 -0
  76. package/dist/esm/core/index.mjs +1 -0
  77. package/dist/esm/core/stream/Stream.d.mts +46 -0
  78. package/dist/esm/core/stream/Stream.mjs +164 -0
  79. package/dist/esm/core/stream/index.d.mts +1 -0
  80. package/dist/esm/core/stream/index.mjs +1 -0
  81. package/dist/esm/version.d.mts +1 -1
  82. package/dist/esm/version.mjs +1 -1
  83. package/package.json +1 -1
  84. package/reference.md +32 -25
package/reference.md CHANGED
@@ -7610,7 +7610,7 @@ await client.orgs.orgInfoForConnections.forwarder.updateV1();
7610
7610
 
7611
7611
  ## Shipping Docs
7612
7612
 
7613
- <details><summary><code>client.shipping.docs.<a href="/src/api/resources/shipping/resources/docs/client/Client.ts">postGenerateV1</a>({ ...params }) -> unknown</code></summary>
7613
+ <details><summary><code>client.shipping.docs.<a href="/src/api/resources/shipping/resources/docs/client/Client.ts">postGenerateV1</a>({ ...params }) -> core.BinaryResponse</code></summary>
7614
7614
  <dl>
7615
7615
  <dd>
7616
7616
 
@@ -7639,7 +7639,7 @@ Generates a shipping document (BOL or POD) as a PDF for the given order. | authz
7639
7639
 
7640
7640
  ```typescript
7641
7641
  await client.shipping.docs.postGenerateV1({
7642
- order_id_or_short_id: "order_id_or_short_id",
7642
+ order_ref: "order_ref",
7643
7643
  template: "pod",
7644
7644
  });
7645
7645
  ```
@@ -9784,7 +9784,7 @@ await client.shipping.tasks.addToTaskGroupV1("task_group_id", {
9784
9784
  <dl>
9785
9785
  <dd>
9786
9786
 
9787
- Updates a task. Task must be in STAGED status. | authz_personas=[lig_owner_operators] | (TaskClientUpdate1) -> (PydanticObjectId)
9787
+ Updates a task. Operational fields require STAGED status (lig_owner_operators). order_placer_comments can be edited on any non-DRAFT task (order_creator_org_operators). | (TaskClientUpdate1) -> (PydanticObjectId)
9788
9788
 
9789
9789
  </dd>
9790
9790
  </dl>
@@ -11186,7 +11186,7 @@ await client.shipping.orderDrafts.cargo.deleteV1("cargo_id");
11186
11186
 
11187
11187
  ## Shipping OrderDrafts Expanded
11188
11188
 
11189
- <details><summary><code>client.shipping.orderDrafts.expanded.<a href="/src/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.ts">retrieveV1</a>(orderIdOrShortId, { ...params }) -> Chrt.OrderDraftExpanded</code></summary>
11189
+ <details><summary><code>client.shipping.orderDrafts.expanded.<a href="/src/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.ts">retrieveV1</a>(orderRef, { ...params }) -> Chrt.OrderDraftExpanded</code></summary>
11190
11190
  <dl>
11191
11191
  <dd>
11192
11192
 
@@ -11214,7 +11214,7 @@ Fetches a single draft order with optional expanded related data. Any user in th
11214
11214
  <dd>
11215
11215
 
11216
11216
  ```typescript
11217
- await client.shipping.orderDrafts.expanded.retrieveV1("order_id_or_short_id", {});
11217
+ await client.shipping.orderDrafts.expanded.retrieveV1("order_ref", {});
11218
11218
  ```
11219
11219
 
11220
11220
  </dd>
@@ -11230,7 +11230,7 @@ await client.shipping.orderDrafts.expanded.retrieveV1("order_id_or_short_id", {}
11230
11230
  <dl>
11231
11231
  <dd>
11232
11232
 
11233
- **orderIdOrShortId:** `string`
11233
+ **orderRef:** `string` — Order ID, short ID, or off-chrt reference ID
11234
11234
 
11235
11235
  </dd>
11236
11236
  </dl>
@@ -11330,7 +11330,7 @@ await client.shipping.orderDrafts.expanded.listV1({
11330
11330
 
11331
11331
  ## Shipping Orders Expanded
11332
11332
 
11333
- <details><summary><code>client.shipping.orders.expanded.<a href="/src/api/resources/shipping/resources/orders/resources/expanded/client/Client.ts">forShipperOperatorsV1</a>(orderIdOrShortId, { ...params }) -> Chrt.OrderExpanded</code></summary>
11333
+ <details><summary><code>client.shipping.orders.expanded.<a href="/src/api/resources/shipping/resources/orders/resources/expanded/client/Client.ts">forShipperOperatorsV1</a>(orderRef, { ...params }) -> Chrt.OrderExpanded</code></summary>
11334
11334
  <dl>
11335
11335
  <dd>
11336
11336
 
@@ -11358,7 +11358,7 @@ Retrieves an expanded order with optional related data for shipper operators. |
11358
11358
  <dd>
11359
11359
 
11360
11360
  ```typescript
11361
- await client.shipping.orders.expanded.forShipperOperatorsV1("order_id_or_short_id", {});
11361
+ await client.shipping.orders.expanded.forShipperOperatorsV1("order_ref", {});
11362
11362
  ```
11363
11363
 
11364
11364
  </dd>
@@ -11374,7 +11374,7 @@ await client.shipping.orders.expanded.forShipperOperatorsV1("order_id_or_short_i
11374
11374
  <dl>
11375
11375
  <dd>
11376
11376
 
11377
- **orderIdOrShortId:** `string`
11377
+ **orderRef:** `string` — Order ID, short ID, or off-chrt reference ID
11378
11378
 
11379
11379
  </dd>
11380
11380
  </dl>
@@ -11401,7 +11401,7 @@ await client.shipping.orders.expanded.forShipperOperatorsV1("order_id_or_short_i
11401
11401
  </dl>
11402
11402
  </details>
11403
11403
 
11404
- <details><summary><code>client.shipping.orders.expanded.<a href="/src/api/resources/shipping/resources/orders/resources/expanded/client/Client.ts">forForwarderOperatorsV1</a>(orderIdOrShortId, { ...params }) -> Chrt.OrderExpanded</code></summary>
11404
+ <details><summary><code>client.shipping.orders.expanded.<a href="/src/api/resources/shipping/resources/orders/resources/expanded/client/Client.ts">forForwarderOperatorsV1</a>(orderRef, { ...params }) -> Chrt.OrderExpanded</code></summary>
11405
11405
  <dl>
11406
11406
  <dd>
11407
11407
 
@@ -11429,7 +11429,7 @@ Retrieves an expanded order with optional related data for forwarder operators.
11429
11429
  <dd>
11430
11430
 
11431
11431
  ```typescript
11432
- await client.shipping.orders.expanded.forForwarderOperatorsV1("order_id_or_short_id", {});
11432
+ await client.shipping.orders.expanded.forForwarderOperatorsV1("order_ref", {});
11433
11433
  ```
11434
11434
 
11435
11435
  </dd>
@@ -11445,7 +11445,7 @@ await client.shipping.orders.expanded.forForwarderOperatorsV1("order_id_or_short
11445
11445
  <dl>
11446
11446
  <dd>
11447
11447
 
11448
- **orderIdOrShortId:** `string`
11448
+ **orderRef:** `string` — Order ID, short ID, or off-chrt reference ID
11449
11449
 
11450
11450
  </dd>
11451
11451
  </dl>
@@ -11518,6 +11518,7 @@ await client.shipping.orders.expanded.listForForwarderOperatorsV1({
11518
11518
  filter_exception_at_timestamp_gte: "2024-01-15T09:30:00Z",
11519
11519
  filter_order_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
11520
11520
  filter_order_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
11521
+ filter_order_cancelled: true,
11521
11522
  body: {},
11522
11523
  });
11523
11524
  ```
@@ -11600,6 +11601,7 @@ await client.shipping.orders.expanded.listForShipperOperatorsV1({
11600
11601
  filter_exception_at_timestamp_gte: "2024-01-15T09:30:00Z",
11601
11602
  filter_order_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
11602
11603
  filter_order_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
11604
+ filter_order_cancelled: true,
11603
11605
  body: {},
11604
11606
  });
11605
11607
  ```
@@ -11968,7 +11970,7 @@ await client.shipping.taskArtifacts.s3Object.deleteV1("task_artifact_s3_object_m
11968
11970
 
11969
11971
  ## Shipping TaskGroups TaskGroupId
11970
11972
 
11971
- <details><summary><code>client.shipping.taskGroups.taskGroupId.<a href="/src/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/Client.ts">forCourierOperatorsV1</a>(orderIdOrShortId) -> string[]</code></summary>
11973
+ <details><summary><code>client.shipping.taskGroups.taskGroupId.<a href="/src/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/Client.ts">forCourierOperatorsV1</a>(orderRef) -> string[]</code></summary>
11972
11974
  <dl>
11973
11975
  <dd>
11974
11976
 
@@ -11996,7 +11998,7 @@ Retrieves the task group IDs for the courier organization assigned to an order's
11996
11998
  <dd>
11997
11999
 
11998
12000
  ```typescript
11999
- await client.shipping.taskGroups.taskGroupId.forCourierOperatorsV1("order_id_or_short_id");
12001
+ await client.shipping.taskGroups.taskGroupId.forCourierOperatorsV1("order_ref");
12000
12002
  ```
12001
12003
 
12002
12004
  </dd>
@@ -12012,7 +12014,7 @@ await client.shipping.taskGroups.taskGroupId.forCourierOperatorsV1("order_id_or_
12012
12014
  <dl>
12013
12015
  <dd>
12014
12016
 
12015
- **orderIdOrShortId:** `string`
12017
+ **orderRef:** `string` — Order ID, short ID, or off-chrt reference ID
12016
12018
 
12017
12019
  </dd>
12018
12020
  </dl>
@@ -12031,7 +12033,7 @@ await client.shipping.taskGroups.taskGroupId.forCourierOperatorsV1("order_id_or_
12031
12033
  </dl>
12032
12034
  </details>
12033
12035
 
12034
- <details><summary><code>client.shipping.taskGroups.taskGroupId.<a href="/src/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/Client.ts">forCourierDriverV1</a>(orderIdOrShortId) -> string[]</code></summary>
12036
+ <details><summary><code>client.shipping.taskGroups.taskGroupId.<a href="/src/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/Client.ts">forCourierDriverV1</a>(orderRef) -> string[]</code></summary>
12035
12037
  <dl>
12036
12038
  <dd>
12037
12039
 
@@ -12059,7 +12061,7 @@ Retrieves the task group IDs for the courier driver assigned to an order's task
12059
12061
  <dd>
12060
12062
 
12061
12063
  ```typescript
12062
- await client.shipping.taskGroups.taskGroupId.forCourierDriverV1("order_id_or_short_id");
12064
+ await client.shipping.taskGroups.taskGroupId.forCourierDriverV1("order_ref");
12063
12065
  ```
12064
12066
 
12065
12067
  </dd>
@@ -12075,7 +12077,7 @@ await client.shipping.taskGroups.taskGroupId.forCourierDriverV1("order_id_or_sho
12075
12077
  <dl>
12076
12078
  <dd>
12077
12079
 
12078
- **orderIdOrShortId:** `string`
12080
+ **orderRef:** `string` — Order ID, short ID, or off-chrt reference ID
12079
12081
 
12080
12082
  </dd>
12081
12083
  </dl>
@@ -12690,6 +12692,7 @@ await client.shipping.taskGroups.expanded.listForCourierOperatorsV1({
12690
12692
  filter_skipped_at_timestamp_gte: "2024-01-15T09:30:00Z",
12691
12693
  filter_exception_at_timestamp_lte: "2024-01-15T09:30:00Z",
12692
12694
  filter_exception_at_timestamp_gte: "2024-01-15T09:30:00Z",
12695
+ filter_order_cancelled: true,
12693
12696
  body: {},
12694
12697
  });
12695
12698
  ```
@@ -12772,6 +12775,7 @@ await client.shipping.taskGroups.expanded.listForCourierDriverV1({
12772
12775
  filter_skipped_at_timestamp_gte: "2024-01-15T09:30:00Z",
12773
12776
  filter_exception_at_timestamp_lte: "2024-01-15T09:30:00Z",
12774
12777
  filter_exception_at_timestamp_gte: "2024-01-15T09:30:00Z",
12778
+ filter_order_cancelled: true,
12775
12779
  body: {},
12776
12780
  });
12777
12781
  ```
@@ -14441,7 +14445,7 @@ await client.tracking.sharingSettings.cargoByDeviceSettingsV1({
14441
14445
  </dl>
14442
14446
  </details>
14443
14447
 
14444
- <details><summary><code>client.tracking.sharingSettings.<a href="/src/api/resources/tracking/resources/sharingSettings/client/Client.ts">getSettingsV1</a>(orderIdOrShortId) -> Chrt.TrackingSharingSettingsRes[]</code></summary>
14448
+ <details><summary><code>client.tracking.sharingSettings.<a href="/src/api/resources/tracking/resources/sharingSettings/client/Client.ts">getSettingsV1</a>(orderRef) -> Chrt.TrackingSharingSettingsRes[]</code></summary>
14445
14449
  <dl>
14446
14450
  <dd>
14447
14451
 
@@ -14453,7 +14457,7 @@ await client.tracking.sharingSettings.cargoByDeviceSettingsV1({
14453
14457
  <dl>
14454
14458
  <dd>
14455
14459
 
14456
- Get all tracking datasets and their sharing settings for a given order. If authenticated, returns datasets the user has direct access to plus public datasets. If unauthenticated, returns only datasets with public=True. | () -> (list[TrackingSharingSettingsRes])
14460
+ Get all tracking datasets and their sharing settings for a given order. If authenticated, returns datasets the user has direct access to plus public datasets. If unauthenticated, returns only datasets with public=True. Note: looking up by off_chrt_reference_id requires authentication because it is only org-level unique and needs the caller's org_id to resolve unambiguously. | () -> (list[TrackingSharingSettingsRes])
14457
14461
 
14458
14462
  </dd>
14459
14463
  </dl>
@@ -14469,7 +14473,7 @@ Get all tracking datasets and their sharing settings for a given order. If authe
14469
14473
  <dd>
14470
14474
 
14471
14475
  ```typescript
14472
- await client.tracking.sharingSettings.getSettingsV1("order_id_or_short_id");
14476
+ await client.tracking.sharingSettings.getSettingsV1("order_ref");
14473
14477
  ```
14474
14478
 
14475
14479
  </dd>
@@ -14485,7 +14489,7 @@ await client.tracking.sharingSettings.getSettingsV1("order_id_or_short_id");
14485
14489
  <dl>
14486
14490
  <dd>
14487
14491
 
14488
- **orderIdOrShortId:** `string`
14492
+ **orderRef:** `string` — Order ID, short ID, or off-chrt reference ID
14489
14493
 
14490
14494
  </dd>
14491
14495
  </dl>
@@ -16540,7 +16544,7 @@ await client.utils.dev.postAgentOrderBuilderV1({
16540
16544
  </dl>
16541
16545
  </details>
16542
16546
 
16543
- <details><summary><code>client.utils.dev.<a href="/src/api/resources/utils/resources/dev/client/Client.ts">postAgentOrderBuilderStreamV1</a>({ ...params }) -> void</code></summary>
16547
+ <details><summary><code>client.utils.dev.<a href="/src/api/resources/utils/resources/dev/client/Client.ts">postAgentOrderBuilderStreamV1</a>({ ...params }) -> core.Stream&lt;Chrt.OrderBuilderStreamEvent&gt;</code></summary>
16544
16548
  <dl>
16545
16549
  <dd>
16546
16550
 
@@ -16552,7 +16556,7 @@ await client.utils.dev.postAgentOrderBuilderV1({
16552
16556
  <dl>
16553
16557
  <dd>
16554
16558
 
16555
- Same as /agent/order-builder/v1 but streams progress events via SSE as each workflow step completes. | (OrderBuilderReq) -> SSE stream of OrderBuilderProgressEvent, final OrderBuilderRes
16559
+ Same as /agent/order-builder/v1 but streams progress events via SSE as each workflow step completes. | (OrderBuilderReq) -> SSE stream of OrderBuilderStreamEvent
16556
16560
 
16557
16561
  </dd>
16558
16562
  </dl>
@@ -16568,10 +16572,13 @@ Same as /agent/order-builder/v1 but streams progress events via SSE as each work
16568
16572
  <dd>
16569
16573
 
16570
16574
  ```typescript
16571
- await client.utils.dev.postAgentOrderBuilderStreamV1({
16575
+ const response = await client.utils.dev.postAgentOrderBuilderStreamV1({
16572
16576
  order_short_id: "order_short_id",
16573
16577
  text: "text",
16574
16578
  });
16579
+ for await (const item of response) {
16580
+ console.log(item);
16581
+ }
16575
16582
  ```
16576
16583
 
16577
16584
  </dd>