@chrt-inc/typescript-sdk 1.983.0 → 1.990.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 (144) hide show
  1. package/dist/cjs/Client.js +2 -2
  2. package/dist/cjs/api/resources/listing/resources/bidThreads/client/Client.d.ts +6 -6
  3. package/dist/cjs/api/resources/listing/resources/bidThreads/client/Client.js +6 -6
  4. package/dist/cjs/api/resources/listing/resources/driverBiddingGroups/client/Client.d.ts +1 -1
  5. package/dist/cjs/api/resources/listing/resources/driverBiddingGroups/client/Client.js +1 -1
  6. package/dist/cjs/api/resources/listing/resources/orgBiddingGroups/client/Client.d.ts +1 -1
  7. package/dist/cjs/api/resources/listing/resources/orgBiddingGroups/client/Client.js +1 -1
  8. package/dist/cjs/api/resources/operations/resources/departments/client/Client.d.ts +2 -1
  9. package/dist/cjs/api/resources/operations/resources/departments/client/Client.js +6 -2
  10. package/dist/cjs/api/resources/operations/resources/departments/client/requests/DepartmentsListV1Request.d.ts +3 -0
  11. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/Client.d.ts +5 -3
  12. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/Client.js +13 -5
  13. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListsApplyToOrderV1Request.d.ts +4 -1
  14. package/dist/cjs/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListsListV1Request.d.ts +3 -0
  15. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.d.ts +19 -2
  16. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.js +79 -4
  17. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientCreate1.d.ts +1 -0
  18. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksExpandedListV1Request.d.ts +3 -0
  19. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksListV1Request.d.ts +3 -0
  20. package/dist/cjs/api/resources/{shipping/resources/orders/client/requests/OrdersUpdateDepartmentReq.d.ts → operations/resources/operationsTasks/client/requests/OperationsTasksUpdateDepartmentManyReq.d.ts} +5 -2
  21. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/index.d.ts +1 -0
  22. package/dist/cjs/api/resources/orgs/client/Client.d.ts +2 -1
  23. package/dist/cjs/api/resources/orgs/client/Client.js +11 -2
  24. package/dist/cjs/api/resources/orgs/client/requests/OrgsListMembersV1Request.d.ts +3 -0
  25. package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.d.ts +29 -0
  26. package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.js +146 -16
  27. package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriversListOrgMembersAndDriversV1Request.d.ts +3 -0
  28. package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriversListV1Request.d.ts +6 -0
  29. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplateNewClientCreate1.d.ts +1 -1
  30. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplateNewClientUpdate1.d.ts +1 -2
  31. package/dist/cjs/api/resources/shipping/resources/orders/client/Client.d.ts +7 -6
  32. package/dist/cjs/api/resources/shipping/resources/orders/client/Client.js +14 -10
  33. package/dist/cjs/api/resources/shipping/resources/orders/client/requests/OrdersAddCoordinatorTaskListToApplyAtOrderStagingV1Request.d.ts +3 -0
  34. package/dist/cjs/api/resources/shipping/resources/orders/client/requests/OrdersUpdateDepartmentsReq.d.ts +10 -0
  35. package/dist/cjs/api/resources/shipping/resources/orders/client/requests/OrdersUpdateDepartmentsReq.js +5 -0
  36. package/dist/cjs/api/resources/shipping/resources/orders/client/requests/index.d.ts +1 -1
  37. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersOpenDraftReq.d.ts +1 -1
  38. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.ts +2 -2
  39. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.js +17 -7
  40. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.ts +6 -5
  41. package/dist/cjs/api/resources/shipping/resources/orders/resources/taskGroup/client/Client.d.ts +3 -5
  42. package/dist/cjs/api/resources/shipping/resources/orders/resources/taskGroup/client/Client.js +5 -7
  43. package/dist/cjs/api/resources/shipping/resources/orders/resources/taskGroup/client/requests/OrdersSetTaskGroupVehicleTypeReq.d.ts +3 -4
  44. package/dist/cjs/api/types/Driver1.d.ts +1 -0
  45. package/dist/cjs/api/types/DriverBiddingGroupListItemRes.d.ts +17 -0
  46. package/dist/cjs/api/types/DriverBiddingGroupListItemRes.js +5 -0
  47. package/dist/cjs/api/types/DriverBiddingGroupListRes.d.ts +1 -1
  48. package/dist/cjs/api/types/DriverWithActiveTaskGroupIds1.d.ts +1 -0
  49. package/dist/cjs/api/types/InvoiceLineItemExportListItem.d.ts +4 -0
  50. package/dist/cjs/api/types/OperationsTask1.d.ts +1 -0
  51. package/dist/cjs/api/types/OperationsTasksUpdateDepartmentManyRes.d.ts +7 -0
  52. package/dist/cjs/api/types/OperationsTasksUpdateDepartmentManyRes.js +5 -0
  53. package/dist/cjs/api/types/Order1.d.ts +1 -1
  54. package/dist/cjs/api/types/OrderAndTaskGroupExpandedReq.d.ts +2 -2
  55. package/dist/cjs/api/types/OrderExpandedForProvider.d.ts +1 -1
  56. package/dist/cjs/api/types/OrderLimitedForProvider1.d.ts +1 -1
  57. package/dist/cjs/api/types/OrderTaskGroupExecutorDetails1.d.ts +1 -1
  58. package/dist/cjs/api/types/OrderTemplateNew1.d.ts +1 -1
  59. package/dist/cjs/api/types/OrderTemplateNewCore1.d.ts +1 -1
  60. package/dist/cjs/api/types/OrderTemplateNewExpanded1.d.ts +1 -1
  61. package/dist/cjs/api/types/OrgBiddingGroupListItemRes.d.ts +17 -0
  62. package/dist/cjs/api/types/OrgBiddingGroupListItemRes.js +5 -0
  63. package/dist/cjs/api/types/OrgBiddingGroupListRes.d.ts +1 -1
  64. package/dist/cjs/api/types/TaskGroup1.d.ts +1 -1
  65. package/dist/cjs/api/types/TaskGroupExpanded.d.ts +1 -1
  66. package/dist/cjs/api/types/TaskListToApplyToOrder1.d.ts +1 -0
  67. package/dist/cjs/api/types/index.d.ts +3 -0
  68. package/dist/cjs/api/types/index.js +3 -0
  69. package/dist/cjs/version.d.ts +1 -1
  70. package/dist/cjs/version.js +1 -1
  71. package/dist/esm/Client.mjs +2 -2
  72. package/dist/esm/api/resources/listing/resources/bidThreads/client/Client.d.mts +6 -6
  73. package/dist/esm/api/resources/listing/resources/bidThreads/client/Client.mjs +6 -6
  74. package/dist/esm/api/resources/listing/resources/driverBiddingGroups/client/Client.d.mts +1 -1
  75. package/dist/esm/api/resources/listing/resources/driverBiddingGroups/client/Client.mjs +1 -1
  76. package/dist/esm/api/resources/listing/resources/orgBiddingGroups/client/Client.d.mts +1 -1
  77. package/dist/esm/api/resources/listing/resources/orgBiddingGroups/client/Client.mjs +1 -1
  78. package/dist/esm/api/resources/operations/resources/departments/client/Client.d.mts +2 -1
  79. package/dist/esm/api/resources/operations/resources/departments/client/Client.mjs +6 -2
  80. package/dist/esm/api/resources/operations/resources/departments/client/requests/DepartmentsListV1Request.d.mts +3 -0
  81. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/Client.d.mts +5 -3
  82. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/Client.mjs +13 -5
  83. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListsApplyToOrderV1Request.d.mts +4 -1
  84. package/dist/esm/api/resources/operations/resources/operationsTaskLists/client/requests/OperationsTaskListsListV1Request.d.mts +3 -0
  85. package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.d.mts +19 -2
  86. package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.mjs +79 -4
  87. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientCreate1.d.mts +1 -0
  88. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksExpandedListV1Request.d.mts +3 -0
  89. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksListV1Request.d.mts +3 -0
  90. package/dist/esm/api/resources/{shipping/resources/orders/client/requests/OrdersUpdateDepartmentReq.d.mts → operations/resources/operationsTasks/client/requests/OperationsTasksUpdateDepartmentManyReq.d.mts} +5 -2
  91. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/index.d.mts +1 -0
  92. package/dist/esm/api/resources/orgs/client/Client.d.mts +2 -1
  93. package/dist/esm/api/resources/orgs/client/Client.mjs +11 -2
  94. package/dist/esm/api/resources/orgs/client/requests/OrgsListMembersV1Request.d.mts +3 -0
  95. package/dist/esm/api/resources/shipping/resources/drivers/client/Client.d.mts +29 -0
  96. package/dist/esm/api/resources/shipping/resources/drivers/client/Client.mjs +146 -16
  97. package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriversListOrgMembersAndDriversV1Request.d.mts +3 -0
  98. package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriversListV1Request.d.mts +6 -0
  99. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplateNewClientCreate1.d.mts +1 -1
  100. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplateNewClientUpdate1.d.mts +1 -2
  101. package/dist/esm/api/resources/shipping/resources/orders/client/Client.d.mts +7 -6
  102. package/dist/esm/api/resources/shipping/resources/orders/client/Client.mjs +14 -10
  103. package/dist/esm/api/resources/shipping/resources/orders/client/requests/OrdersAddCoordinatorTaskListToApplyAtOrderStagingV1Request.d.mts +3 -0
  104. package/dist/esm/api/resources/shipping/resources/orders/client/requests/OrdersUpdateDepartmentsReq.d.mts +10 -0
  105. package/dist/esm/api/resources/shipping/resources/orders/client/requests/OrdersUpdateDepartmentsReq.mjs +4 -0
  106. package/dist/esm/api/resources/shipping/resources/orders/client/requests/index.d.mts +1 -1
  107. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersOpenDraftReq.d.mts +1 -1
  108. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.mts +2 -2
  109. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.mjs +17 -7
  110. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.mts +6 -5
  111. package/dist/esm/api/resources/shipping/resources/orders/resources/taskGroup/client/Client.d.mts +3 -5
  112. package/dist/esm/api/resources/shipping/resources/orders/resources/taskGroup/client/Client.mjs +5 -7
  113. package/dist/esm/api/resources/shipping/resources/orders/resources/taskGroup/client/requests/OrdersSetTaskGroupVehicleTypeReq.d.mts +3 -4
  114. package/dist/esm/api/types/Driver1.d.mts +1 -0
  115. package/dist/esm/api/types/DriverBiddingGroupListItemRes.d.mts +17 -0
  116. package/dist/esm/api/types/DriverBiddingGroupListItemRes.mjs +4 -0
  117. package/dist/esm/api/types/DriverBiddingGroupListRes.d.mts +1 -1
  118. package/dist/esm/api/types/DriverWithActiveTaskGroupIds1.d.mts +1 -0
  119. package/dist/esm/api/types/InvoiceLineItemExportListItem.d.mts +4 -0
  120. package/dist/esm/api/types/OperationsTask1.d.mts +1 -0
  121. package/dist/esm/api/types/OperationsTasksUpdateDepartmentManyRes.d.mts +7 -0
  122. package/dist/esm/api/types/OperationsTasksUpdateDepartmentManyRes.mjs +4 -0
  123. package/dist/esm/api/types/Order1.d.mts +1 -1
  124. package/dist/esm/api/types/OrderAndTaskGroupExpandedReq.d.mts +2 -2
  125. package/dist/esm/api/types/OrderExpandedForProvider.d.mts +1 -1
  126. package/dist/esm/api/types/OrderLimitedForProvider1.d.mts +1 -1
  127. package/dist/esm/api/types/OrderTaskGroupExecutorDetails1.d.mts +1 -1
  128. package/dist/esm/api/types/OrderTemplateNew1.d.mts +1 -1
  129. package/dist/esm/api/types/OrderTemplateNewCore1.d.mts +1 -1
  130. package/dist/esm/api/types/OrderTemplateNewExpanded1.d.mts +1 -1
  131. package/dist/esm/api/types/OrgBiddingGroupListItemRes.d.mts +17 -0
  132. package/dist/esm/api/types/OrgBiddingGroupListItemRes.mjs +4 -0
  133. package/dist/esm/api/types/OrgBiddingGroupListRes.d.mts +1 -1
  134. package/dist/esm/api/types/TaskGroup1.d.mts +1 -1
  135. package/dist/esm/api/types/TaskGroupExpanded.d.mts +1 -1
  136. package/dist/esm/api/types/TaskListToApplyToOrder1.d.mts +1 -0
  137. package/dist/esm/api/types/index.d.mts +3 -0
  138. package/dist/esm/api/types/index.mjs +3 -0
  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 +225 -26
  143. /package/dist/cjs/api/resources/{shipping/resources/orders/client/requests/OrdersUpdateDepartmentReq.js → operations/resources/operationsTasks/client/requests/OperationsTasksUpdateDepartmentManyReq.js} +0 -0
  144. /package/dist/esm/api/resources/{shipping/resources/orders/client/requests/OrdersUpdateDepartmentReq.mjs → operations/resources/operationsTasks/client/requests/OperationsTasksUpdateDepartmentManyReq.mjs} +0 -0
package/reference.md CHANGED
@@ -139,7 +139,7 @@ await client.orgs.getInfoV1();
139
139
  <dl>
140
140
  <dd>
141
141
 
142
- Lists all members of the caller's organization with their roles and details. Supports search by name, filtering by role, sorting, and pagination. | () -> (OrgMemberListRes)
142
+ Lists all members of the caller's organization with their roles and details. Supports search by name, filtering by role and user IDs, sorting, and pagination. | () -> (OrgMemberListRes)
143
143
 
144
144
  </dd>
145
145
  </dl>
@@ -157,6 +157,7 @@ Lists all members of the caller's organization with their roles and details. Sup
157
157
  ```typescript
158
158
  await client.orgs.listMembersV1({
159
159
  filter_role: ["owner"],
160
+ filter_user_ids: ["filter_user_ids"],
160
161
  sort_by: "first_name",
161
162
  sort_order: "asc",
162
163
  page: 1,
@@ -5071,7 +5072,7 @@ await client.integrations.webcargoEmbed.getEmbedV1("task_group_id", {
5071
5072
  <dl>
5072
5073
  <dd>
5073
5074
 
5074
- Pushes a bidder-side ACCEPT onto an OPEN thread. References the most recent lister-side pro_forma (or the listing's opening for DISPATCH). On `auto_award_first_accept=True` listings, fires the full cascade immediately (thread ACCEPTED, listing AWARDED, shipping and BillingNew side-effects). Otherwise leaves the thread OPEN for the lister to finalise via confirm_accept. Lister-side finalisation lives on confirm_accept; calling /accept/v1 from the lister side is rejected (400). | authz: allowed_org_types=[provider], min_org_role=driver | (BidAppendReq) -> (bool)
5075
+ Accepts an offer; lister acceptance awards immediately, while bidder acceptance follows the listing's auto-award setting. | authz: allowed_org_types=[provider], min_org_role=member; lister min_org_role=operator | (BidAppendReq) -> (bool)
5075
5076
 
5076
5077
  </dd>
5077
5078
  </dl>
@@ -5205,7 +5206,7 @@ await client.listing.bidThreads.byIdV1("bid_thread_id");
5205
5206
  <dl>
5206
5207
  <dd>
5207
5208
 
5208
- Lister confirmation of a bidder's ACCEPT on this thread, used when `listing.auto_award_first_accept == False`. Runs the full award cascade: thread ACCEPTED, listing AWARDED, sibling threads / listings cancelled, and shipping and BillingNew side-effects. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (bool)
5209
+ Confirms a pending bidder acceptance and awards at its recorded price. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (bool)
5209
5210
 
5210
5211
  </dd>
5211
5212
  </dl>
@@ -5268,7 +5269,7 @@ await client.listing.bidThreads.confirmAcceptV1("bid_thread_id");
5268
5269
  <dl>
5269
5270
  <dd>
5270
5271
 
5271
- Pushes a COUNTER Bid carrying revised pro_forma_line_items onto an OPEN NEGOTIATION thread. Both sides of the thread may COUNTER. | authz: allowed_org_types=[provider], min_org_role=driver | (BidAppendReq) -> (bool)
5272
+ Adds a counteroffer to an open negotiation. | authz: allowed_org_types=[provider], min_org_role=member | (BidAppendReq) -> (bool)
5272
5273
 
5273
5274
  </dd>
5274
5275
  </dl>
@@ -5339,7 +5340,7 @@ await client.listing.bidThreads.counterV1("bid_thread_id", {});
5339
5340
  <dl>
5340
5341
  <dd>
5341
5342
 
5342
- Opens a new BidThread on a Listing. The body carries the thread's first Bid (SUBMIT / ACCEPT / DENY). Bidder identity is resolved server-side from the caller's JWT + the listing's audience. | authz: allowed_org_types=[provider], min_org_role=driver | (BidThreadClientCreate1) -> (PydanticObjectId)
5343
+ Opens a bid thread with an offer, acceptance, or denial. | authz: allowed_org_types=[provider], min_org_role=member | (BidThreadClientCreate1) -> (PydanticObjectId)
5343
5344
 
5344
5345
  </dd>
5345
5346
  </dl>
@@ -5405,7 +5406,7 @@ await client.listing.bidThreads.createV1({
5405
5406
  <dl>
5406
5407
  <dd>
5407
5408
 
5408
- Pushes a DENY onto an OPEN thread, flipping its status to DENIED (terminal). Both sides may deny. References the most recent opposite-side Bid; carries no pro_forma. | authz: allowed_org_types=[provider], min_org_role=driver | (BidAppendReq) -> (bool)
5409
+ Declines an open negotiation and closes its thread. | authz: allowed_org_types=[provider], min_org_role=member | (BidAppendReq) -> (bool)
5409
5410
 
5410
5411
  </dd>
5411
5412
  </dl>
@@ -5636,7 +5637,7 @@ await client.listing.bidThreads.listForListingV1("listing_id", {
5636
5637
  <dl>
5637
5638
  <dd>
5638
5639
 
5639
- Pushes a bidder-side WITHDRAW onto an OPEN thread, flipping its status to WITHDRAWN (terminal). Bidder-only — the lister equivalent is CANCEL on the listing. | authz: allowed_org_types=[provider], min_org_role=driver | (BidAppendReq) -> (bool)
5640
+ Withdraws the bidder's offer and closes its thread. | authz: allowed_org_types=[provider], min_org_role=member | (BidAppendReq) -> (bool)
5640
5641
 
5641
5642
  </dd>
5642
5643
  </dl>
@@ -5972,7 +5973,7 @@ await client.listing.driverBiddingGroups.deleteV1("group_id");
5972
5973
  <dl>
5973
5974
  <dd>
5974
5975
 
5975
- Lists driver bidding groups owned by the caller's org with filtering, sorting, and pagination. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (DriverBiddingGroupListRes)
5976
+ Lists driver bidding groups owned by the caller's org with filtering, sorting, pagination, and member driver profiles. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (DriverBiddingGroupListRes)
5976
5977
 
5977
5978
  </dd>
5978
5979
  </dl>
@@ -7367,7 +7368,7 @@ await client.listing.orgBiddingGroups.deleteV1("group_id");
7367
7368
  <dl>
7368
7369
  <dd>
7369
7370
 
7370
- Lists org bidding groups owned by the caller's org with filtering, sorting, and pagination. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (OrgBiddingGroupListRes)
7371
+ Lists org bidding groups owned by the caller's org with filtering, sorting, pagination, and member organization public data. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (OrgBiddingGroupListRes)
7371
7372
 
7372
7373
  </dd>
7373
7374
  </dl>
@@ -9304,7 +9305,7 @@ await client.operations.departments.addOperatorV1("department_id", "user_id");
9304
9305
  <dl>
9305
9306
  <dd>
9306
9307
 
9307
- Lists department configurations for the caller's organization. | authz: min_org_role=operator | () -> (DepartmentListRes)
9308
+ Lists department configurations for the caller's organization with filtering, sorting, pagination, and Atlas Search. | authz: min_org_role=operator | () -> (DepartmentListRes)
9308
9309
 
9309
9310
  </dd>
9310
9311
  </dl>
@@ -9323,6 +9324,7 @@ Lists department configurations for the caller's organization. | authz: min_org_
9323
9324
  await client.operations.departments.listV1({
9324
9325
  sort_by: "created_at",
9325
9326
  sort_order: "asc",
9327
+ search: "search",
9326
9328
  page: 1,
9327
9329
  page_size: 1,
9328
9330
  filter_department_type: ["aerospace"],
@@ -9710,7 +9712,7 @@ await client.operations.departments.updateV1("department_id");
9710
9712
  <dl>
9711
9713
  <dd>
9712
9714
 
9713
- Materializes each entry of an OperationsTaskList into an OperationsTask on the Order (status=not_started, source_task_list_id set). Deadlines resolve per-entry from its anchor+offset; initial_deadline_timestamp, if set, pins the first entry and the chain follows. department_id overrides the caller's Order department when supplied. No dedup — applying twice creates duplicate tasks. | authz: min_org_role=operator | () -> (list[PydanticObjectId])
9715
+ Materializes each entry of an OperationsTaskList into an OperationsTask on the Order (status=not_started, source_task_list_id set). Deadlines resolve per-entry from its anchor+offset; initial_deadline_timestamp, if set, pins the first entry and the chain follows. department_id explicitly assigns the materialized tasks; omitted leaves them unassigned. No dedup — applying twice creates duplicate tasks. | authz_personas=[coordinator_org_operators, order_executor_org_operators] | () -> (list[PydanticObjectId])
9714
9716
 
9715
9717
  </dd>
9716
9718
  </dl>
@@ -9728,6 +9730,7 @@ Materializes each entry of an OperationsTaskList into an OperationsTask on the O
9728
9730
  ```typescript
9729
9731
  await client.operations.operationsTaskLists.applyToOrderV1("task_list_id", "order_id", {
9730
9732
  department_id: "department_id",
9733
+ entry_tag: "entry_tag",
9731
9734
  initial_deadline_timestamp: "2024-01-15T09:30:00Z",
9732
9735
  });
9733
9736
  ```
@@ -10155,7 +10158,7 @@ await client.operations.operationsTaskLists.reorderEntriesV1("task_list_id");
10155
10158
  <dl>
10156
10159
  <dd>
10157
10160
 
10158
- Lists OperationsTaskLists for the caller's organization with filtering, sorting, and pagination. | authz: min_org_role=operator | () -> (OperationsTaskListListRes)
10161
+ Lists OperationsTaskLists for the caller's organization with filtering, sorting, pagination, and Atlas Search. | authz: min_org_role=operator | () -> (OperationsTaskListListRes)
10159
10162
 
10160
10163
  </dd>
10161
10164
  </dl>
@@ -10174,6 +10177,7 @@ Lists OperationsTaskLists for the caller's organization with filtering, sorting,
10174
10177
  await client.operations.operationsTaskLists.listV1({
10175
10178
  sort_by: "created_at_timestamp",
10176
10179
  sort_order: "asc",
10180
+ search: "search",
10177
10181
  page: 1,
10178
10182
  page_size: 1,
10179
10183
  filter_archived: true,
@@ -10224,7 +10228,7 @@ await client.operations.operationsTaskLists.listV1({
10224
10228
  <dl>
10225
10229
  <dd>
10226
10230
 
10227
- Removes the OperationsTasks this OperationsTaskList added to the Order (matched by source_task_list_id). Only untouched (not_started) tasks are deleted; started/completed/skipped/cancelled tasks are kept. Returns deleted and kept counts. | authz: min_org_role=operator | () -> (OperationsTaskListRemoveFromOrderRes1)
10231
+ Removes the OperationsTasks this OperationsTaskList added to the Order (matched by source_task_list_id). Only untouched (not_started) tasks are deleted; started/completed/skipped/cancelled tasks are kept. Returns deleted and kept counts. | authz_personas=[coordinator_org_operators, order_executor_org_operators] | () -> (OperationsTaskListRemoveFromOrderRes1)
10228
10232
 
10229
10233
  </dd>
10230
10234
  </dl>
@@ -10800,6 +10804,7 @@ await client.operations.operationsTasks.expandedListV1({
10800
10804
  filter_status: ["not_started"],
10801
10805
  filter_assigned_user_id: "filter_assigned_user_id",
10802
10806
  filter_source_task_list_id: "filter_source_task_list_id",
10807
+ filter_entry_tag: "filter_entry_tag",
10803
10808
  filter_deadline_gte: "2024-01-15T09:30:00Z",
10804
10809
  filter_deadline_lte: "2024-01-15T09:30:00Z",
10805
10810
  });
@@ -10849,7 +10854,7 @@ await client.operations.operationsTasks.expandedListV1({
10849
10854
  <dl>
10850
10855
  <dd>
10851
10856
 
10852
- Lists OperationsTasks for the caller's organization, with order ids / order short id / order off-CHRT reference id / department / type / status / assignee / source task list / deadline filtering, sorting, and pagination. | authz: min_org_role=operator | () -> (OperationsTaskListRes)
10857
+ Lists OperationsTasks for the caller's organization, with order ids / order short id / order off-CHRT reference id / department / type / status / assignee / source task list / entry tag / deadline filtering, sorting, and pagination. | authz: min_org_role=operator | () -> (OperationsTaskListRes)
10853
10858
 
10854
10859
  </dd>
10855
10860
  </dl>
@@ -10879,6 +10884,7 @@ await client.operations.operationsTasks.listV1({
10879
10884
  filter_status: ["not_started"],
10880
10885
  filter_assigned_user_id: "filter_assigned_user_id",
10881
10886
  filter_source_task_list_id: "filter_source_task_list_id",
10887
+ filter_entry_tag: "filter_entry_tag",
10882
10888
  filter_deadline_gte: "2024-01-15T09:30:00Z",
10883
10889
  filter_deadline_lte: "2024-01-15T09:30:00Z",
10884
10890
  });
@@ -11052,6 +11058,71 @@ await client.operations.operationsTasks.setStatusV1({
11052
11058
  </dl>
11053
11059
  </details>
11054
11060
 
11061
+ <details><summary><code>client.operations.operationsTasks.<a href="/src/api/resources/operations/resources/operationsTasks/client/Client.ts">updateDepartmentManyV1</a>({ ...params }) -> Chrt.OperationsTasksUpdateDepartmentManyRes</code></summary>
11062
+ <dl>
11063
+ <dd>
11064
+
11065
+ #### 📝 Description
11066
+
11067
+ <dl>
11068
+ <dd>
11069
+
11070
+ <dl>
11071
+ <dd>
11072
+
11073
+ Assigns or clears one department on selected tasks across orders. Missing and other-org tasks are skipped. | authz: min_org_role=operator | (OperationsTasksUpdateDepartmentManyReq) -> (OperationsTasksUpdateDepartmentManyRes)
11074
+
11075
+ </dd>
11076
+ </dl>
11077
+ </dd>
11078
+ </dl>
11079
+
11080
+ #### 🔌 Usage
11081
+
11082
+ <dl>
11083
+ <dd>
11084
+
11085
+ <dl>
11086
+ <dd>
11087
+
11088
+ ```typescript
11089
+ await client.operations.operationsTasks.updateDepartmentManyV1({
11090
+ operations_task_ids: ["operations_task_ids"],
11091
+ });
11092
+ ```
11093
+
11094
+ </dd>
11095
+ </dl>
11096
+ </dd>
11097
+ </dl>
11098
+
11099
+ #### ⚙️ Parameters
11100
+
11101
+ <dl>
11102
+ <dd>
11103
+
11104
+ <dl>
11105
+ <dd>
11106
+
11107
+ **request:** `Chrt.operations.OperationsTasksUpdateDepartmentManyReq`
11108
+
11109
+ </dd>
11110
+ </dl>
11111
+
11112
+ <dl>
11113
+ <dd>
11114
+
11115
+ **requestOptions:** `OperationsTasks.RequestOptions`
11116
+
11117
+ </dd>
11118
+ </dl>
11119
+ </dd>
11120
+ </dl>
11121
+
11122
+ </dd>
11123
+ </dl>
11124
+ </details>
11125
+
11055
11126
  <details><summary><code>client.operations.operationsTasks.<a href="/src/api/resources/operations/resources/operationsTasks/client/Client.ts">createV1</a>({ ...params }) -> string</code></summary>
11056
11127
  <dl>
11057
11128
  <dd>
@@ -11064,7 +11135,7 @@ await client.operations.operationsTasks.setStatusV1({
11064
11135
  <dl>
11065
11136
  <dd>
11066
11137
 
11067
- Creates a new OperationsTask on an Order where the caller is coordinator or executor. Seeds department_id from the caller's Order department fields. | authz: min_org_role=operator | (OperationsTaskClientCreate1) -> (PydanticObjectId)
11138
+ Creates a new OperationsTask on an Order where the caller is coordinator or executor. Uses the explicit department_id or leaves the task unassigned. | authz_personas=[coordinator_org_operators, order_executor_org_operators] | (OperationsTaskClientCreate1) -> (PydanticObjectId)
11068
11139
 
11069
11140
  </dd>
11070
11141
  </dl>
@@ -14728,6 +14799,69 @@ await client.orgs.connections.shippers.typeaheadV1({
14728
14799
 
14729
14800
  ## Shipping Drivers
14730
14801
 
14802
+ <details><summary><code>client.shipping.drivers.<a href="/src/api/resources/shipping/resources/drivers/client/Client.ts">archiveV1</a>(driverId) -> boolean</code></summary>
14803
+ <dl>
14804
+ <dd>
14805
+
14806
+ #### 📝 Description
14807
+
14808
+ <dl>
14809
+ <dd>
14810
+
14811
+ <dl>
14812
+ <dd>
14813
+
14814
+ Archives a driver after draft, staged, and in-progress assignments are resolved, and denies their open bid threads. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (bool)
14815
+
14816
+ </dd>
14817
+ </dl>
14818
+ </dd>
14819
+ </dl>
14820
+
14821
+ #### 🔌 Usage
14822
+
14823
+ <dl>
14824
+ <dd>
14825
+
14826
+ <dl>
14827
+ <dd>
14828
+
14829
+ ```typescript
14830
+ await client.shipping.drivers.archiveV1("driver_id");
14831
+ ```
14832
+
14833
+ </dd>
14834
+ </dl>
14835
+ </dd>
14836
+ </dl>
14837
+
14838
+ #### ⚙️ Parameters
14839
+
14840
+ <dl>
14841
+ <dd>
14842
+
14843
+ <dl>
14844
+ <dd>
14845
+
14846
+ **driverId:** `string`
14847
+
14848
+ </dd>
14849
+ </dl>
14850
+
14851
+ <dl>
14852
+ <dd>
14853
+
14854
+ **requestOptions:** `Drivers.RequestOptions`
14855
+
14856
+ </dd>
14857
+ </dl>
14858
+ </dd>
14859
+ </dl>
14860
+
14861
+ </dd>
14862
+ </dl>
14863
+ </details>
14864
+
14731
14865
  <details><summary><code>client.shipping.drivers.<a href="/src/api/resources/shipping/resources/drivers/client/Client.ts">createV1</a>({ ...params }) -> string</code></summary>
14732
14866
  <dl>
14733
14867
  <dd>
@@ -14937,6 +15071,8 @@ await client.shipping.drivers.listV1({
14937
15071
  page: 1,
14938
15072
  page_size: 1,
14939
15073
  search: "search",
15074
+ filter_by_driver_id: "filter_by_driver_id",
15075
+ filter_archived: true,
14940
15076
  filter_available_according_to_driver: true,
14941
15077
  filter_available_according_to_operators: true,
14942
15078
  filter_status: ["unassigned"],
@@ -15005,6 +15141,7 @@ Lists all organization members paired with their driver information if they are
15005
15141
  ```typescript
15006
15142
  await client.shipping.drivers.listOrgMembersAndDriversV1({
15007
15143
  search: "search",
15144
+ filter_archived: true,
15008
15145
  filter_role: ["owner"],
15009
15146
  filter_available_according_to_driver: true,
15010
15147
  filter_available_according_to_operators: true,
@@ -15557,6 +15694,69 @@ await client.shipping.drivers.getStatsV1("driver_id", {
15557
15694
  </dl>
15558
15695
  </details>
15559
15696
 
15697
+ <details><summary><code>client.shipping.drivers.<a href="/src/api/resources/shipping/resources/drivers/client/Client.ts">unarchiveV1</a>(driverId) -> boolean</code></summary>
15698
+ <dl>
15699
+ <dd>
15700
+
15701
+ #### 📝 Description
15702
+
15703
+ <dl>
15704
+ <dd>
15705
+
15706
+ <dl>
15707
+ <dd>
15708
+
15709
+ Restores an archived driver with active organization membership. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (bool)
15710
+
15711
+ </dd>
15712
+ </dl>
15713
+ </dd>
15714
+ </dl>
15715
+
15716
+ #### 🔌 Usage
15717
+
15718
+ <dl>
15719
+ <dd>
15720
+
15721
+ <dl>
15722
+ <dd>
15723
+
15724
+ ```typescript
15725
+ await client.shipping.drivers.unarchiveV1("driver_id");
15726
+ ```
15727
+
15728
+ </dd>
15729
+ </dl>
15730
+ </dd>
15731
+ </dl>
15732
+
15733
+ #### ⚙️ Parameters
15734
+
15735
+ <dl>
15736
+ <dd>
15737
+
15738
+ <dl>
15739
+ <dd>
15740
+
15741
+ **driverId:** `string`
15742
+
15743
+ </dd>
15744
+ </dl>
15745
+
15746
+ <dl>
15747
+ <dd>
15748
+
15749
+ **requestOptions:** `Drivers.RequestOptions`
15750
+
15751
+ </dd>
15752
+ </dl>
15753
+ </dd>
15754
+ </dl>
15755
+
15756
+ </dd>
15757
+ </dl>
15758
+ </details>
15759
+
15560
15760
  <details><summary><code>client.shipping.drivers.<a href="/src/api/resources/shipping/resources/drivers/client/Client.ts">updateV1</a>(driverId, { ...params }) -> boolean</code></summary>
15561
15761
  <dl>
15562
15762
  <dd>
@@ -17012,6 +17212,7 @@ Adds or updates a coordinator task list to apply when the draft is staged. | aut
17012
17212
  ```typescript
17013
17213
  await client.shipping.orders.addCoordinatorTaskListToApplyAtOrderStagingV1("order_id", "task_list_id", {
17014
17214
  department_id: "department_id",
17215
+ entry_tag: "entry_tag",
17015
17216
  body: "2024-01-15T09:30:00Z",
17016
17217
  });
17017
17218
  ```
@@ -17338,7 +17539,7 @@ await client.shipping.orders.stageV1("order_id");
17338
17539
  <dl>
17339
17540
  <dd>
17340
17541
 
17341
- Returns the coordinator's account-level default department for the order's shipper. | authz: min_org_role=operator | () -> (PydanticObjectId | None)
17542
+ Returns the coordinator's account-level default department for the order's shipper. | authz_personas=[coordinator_org_operators, order_executor_org_operators] | () -> (PydanticObjectId | None)
17342
17543
 
17343
17544
  </dd>
17344
17545
  </dl>
@@ -17730,7 +17931,7 @@ await client.shipping.orders.undoCancelV1("order_id");
17730
17931
  </dl>
17731
17932
  </details>
17732
17933
 
17733
- <details><summary><code>client.shipping.orders.<a href="/src/api/resources/shipping/resources/orders/client/Client.ts">updateDepartmentV1</a>(orderId, { ...params }) -> boolean</code></summary>
17934
+ <details><summary><code>client.shipping.orders.<a href="/src/api/resources/shipping/resources/orders/client/Client.ts">updateDepartmentsV1</a>(orderId, { ...params }) -> boolean</code></summary>
17734
17935
  <dl>
17735
17936
  <dd>
17736
17937
 
@@ -17742,7 +17943,7 @@ await client.shipping.orders.undoCancelV1("order_id");
17742
17943
  <dl>
17743
17944
  <dd>
17744
17945
 
17745
- Updates department_id for the caller's role on the order. Coordinator writes coordinator_department_id; executor writes executor_department_id on matching task_group_details rows. | authz_personas=[coordinator_org_operators, order_executor_org_operators] | (OrdersUpdateDepartmentReq) -> (bool)
17946
+ Replaces department_ids for the caller's role on the order. Coordinator writes coordinator_department_ids; executor writes executor_department_ids on matching task_group_details rows. | authz_personas=[coordinator_org_operators, order_executor_org_operators] | (OrdersUpdateDepartmentsReq) -> (bool)
17746
17947
 
17747
17948
  </dd>
17748
17949
  </dl>
@@ -17758,7 +17959,7 @@ Updates department_id for the caller's role on the order. Coordinator writes coo
17758
17959
  <dd>
17759
17960
 
17760
17961
  ```typescript
17761
- await client.shipping.orders.updateDepartmentV1("order_id");
17962
+ await client.shipping.orders.updateDepartmentsV1("order_id");
17762
17963
  ```
17763
17964
 
17764
17965
  </dd>
@@ -17782,7 +17983,7 @@ await client.shipping.orders.updateDepartmentV1("order_id");
17782
17983
  <dl>
17783
17984
  <dd>
17784
17985
 
17785
- **request:** `Chrt.shipping.OrdersUpdateDepartmentReq`
17986
+ **request:** `Chrt.shipping.OrdersUpdateDepartmentsReq`
17786
17987
 
17787
17988
  </dd>
17788
17989
  </dl>
@@ -22017,13 +22218,13 @@ await client.shipping.orders.expanded.listForProviderOperatorsV1({
22017
22218
  filter_exception_at_timestamp_lte: "2024-01-15T09:30:00Z",
22018
22219
  filter_exception_at_timestamp_gte: "2024-01-15T09:30:00Z",
22019
22220
  filter_executor_org_id: "filter_executor_org_id",
22020
- filter_executor_department_id: "filter_executor_department_id",
22221
+ filter_executor_department_ids: ["filter_executor_department_ids"],
22021
22222
  filter_off_chrt_executor_org_data_id: "filter_off_chrt_executor_org_data_id",
22022
22223
  filter_coordinator_org_id: "filter_coordinator_org_id",
22023
22224
  filter_shipper_org_id: "filter_shipper_org_id",
22024
22225
  filter_off_chrt_shipper_org_data_id: "filter_off_chrt_shipper_org_data_id",
22025
22226
  filter_coordinator_shipper_account_ids: ["filter_coordinator_shipper_account_ids"],
22026
- filter_coordinator_department_id: "filter_coordinator_department_id",
22227
+ filter_coordinator_department_ids: ["filter_coordinator_department_ids"],
22027
22228
  filter_coordinator_assigned_user_ids: ["filter_coordinator_assigned_user_ids"],
22028
22229
  filter_coordinator_label: "filter_coordinator_label",
22029
22230
  body: {},
@@ -23138,7 +23339,7 @@ await client.shipping.orders.taskGroup.setTaskOrderingV1("task_group_id", {
23138
23339
  <dl>
23139
23340
  <dd>
23140
23341
 
23141
- Sets the task-group vehicle type in any lifecycle state. | authz_personas=[draft_creator_org_operator, task_group_coordinator_operators] | (OrdersSetTaskGroupVehicleTypeReq) -> (bool)
23342
+ Sets the task-group vehicle type in any lifecycle state; vehicle_type\_\_set_to_None clears it. | authz_personas=[draft_creator_org_operator, task_group_coordinator_operators] | (OrdersSetTaskGroupVehicleTypeReq) -> (bool)
23142
23343
 
23143
23344
  </dd>
23144
23345
  </dl>
@@ -23154,9 +23355,7 @@ Sets the task-group vehicle type in any lifecycle state. | authz_personas=[draft
23154
23355
  <dd>
23155
23356
 
23156
23357
  ```typescript
23157
- await client.shipping.orders.taskGroup.setVehicleTypeV1("task_group_id", {
23158
- vehicle_type: "sedan",
23159
- });
23358
+ await client.shipping.orders.taskGroup.setVehicleTypeV1("task_group_id");
23160
23359
  ```
23161
23360
 
23162
23361
  </dd>