@chrt-inc/typescript-sdk 1.563.0 → 1.576.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.
- package/dist/cjs/Client.js +2 -2
- package/dist/cjs/api/resources/orgs/client/Client.d.ts +3 -2
- package/dist/cjs/api/resources/orgs/client/Client.js +7 -3
- package/dist/cjs/api/resources/orgs/client/requests/OrgsListMembersV1Request.d.ts +4 -1
- package/dist/cjs/api/resources/orgs/resources/connections/client/Client.d.ts +6 -3
- package/dist/cjs/api/resources/orgs/resources/connections/client/Client.js +18 -6
- package/dist/cjs/api/resources/orgs/resources/connections/client/requests/ConnectionsListCouriersV1Request.d.ts +3 -0
- package/dist/cjs/api/resources/orgs/resources/connections/client/requests/ConnectionsListForwardersV1Request.d.ts +3 -0
- package/dist/cjs/api/resources/orgs/resources/connections/client/requests/ConnectionsListShippersV1Request.d.ts +3 -0
- package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/Client.d.ts +2 -1
- package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/Client.js +6 -2
- package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgListV1Request.d.ts +3 -0
- package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/requests/CourierOrgProfileClientCreate1.d.ts +1 -0
- package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/requests/ForwarderOrgProfileClientCreate1.d.ts +1 -0
- package/dist/cjs/api/resources/orgs/resources/publicData/client/requests/CreateOrgPublicDataReq.d.ts +1 -0
- package/dist/cjs/api/resources/orgs/resources/publicData/client/requests/UpdateOrgPublicDataReq.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/docs/client/requests/GenerateShippingDocReq.d.ts +2 -2
- package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.d.ts +4 -1
- package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.js +14 -2
- package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriversListOrgMembersAndDriversV1Request.d.ts +9 -0
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/requests/OrdersDraftUpdateReq.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/requests/OrdersNewDraftReq.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.d.ts +3 -3
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.js +7 -7
- package/dist/cjs/api/resources/shipping/resources/orders/client/requests/OrdersUpdateOffChrtReferenceIdReq.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.ts +6 -6
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.js +14 -14
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/Client.d.ts +6 -6
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/Client.js +14 -14
- package/dist/cjs/api/resources/tracking/resources/devices/client/requests/DeviceClientCreate1.d.ts +1 -0
- package/dist/cjs/api/resources/tracking/resources/devices/client/requests/DeviceClientUpdate1.d.ts +1 -0
- package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/SessionClientCreate1.d.ts +1 -0
- package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/SessionClientUpdate1.d.ts +1 -0
- package/dist/cjs/api/resources/tracking/resources/sharingSettings/client/Client.d.ts +4 -4
- package/dist/cjs/api/resources/tracking/resources/sharingSettings/client/Client.js +8 -8
- package/dist/cjs/api/resources/users/resources/directoryEntries/client/Client.d.ts +2 -1
- package/dist/cjs/api/resources/users/resources/directoryEntries/client/Client.js +6 -2
- package/dist/cjs/api/resources/users/resources/directoryEntries/client/requests/DirectoryEntriesListV1Request.d.ts +3 -0
- package/dist/cjs/api/types/CourierOrgProfile1.d.ts +1 -0
- package/dist/cjs/api/types/CreateConnectionReq.d.ts +1 -0
- package/dist/cjs/api/types/DeviceLimitedForList1.d.ts +1 -0
- package/dist/cjs/api/types/ForwarderOrgProfile1.d.ts +1 -0
- package/dist/cjs/api/types/LineItemGroup1.d.ts +1 -0
- package/dist/cjs/api/types/Order1.d.ts +1 -0
- package/dist/cjs/api/types/OrderDraftExpanded.d.ts +1 -0
- package/dist/cjs/api/types/OrderExpanded.d.ts +1 -0
- package/dist/cjs/api/types/OrdersDraftUpdateRes.d.ts +1 -0
- package/dist/cjs/api/types/OrdersUpdateOffChrtReferenceIdRes.d.ts +1 -0
- package/dist/cjs/api/types/OrgPublicData1.d.ts +1 -0
- package/dist/cjs/api/types/Session1.d.ts +1 -0
- package/dist/cjs/api/types/TaskGroup1.d.ts +1 -0
- package/dist/cjs/api/types/TaskGroupExpanded.d.ts +2 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.mjs +2 -2
- package/dist/esm/api/resources/orgs/client/Client.d.mts +3 -2
- package/dist/esm/api/resources/orgs/client/Client.mjs +7 -3
- package/dist/esm/api/resources/orgs/client/requests/OrgsListMembersV1Request.d.mts +4 -1
- package/dist/esm/api/resources/orgs/resources/connections/client/Client.d.mts +6 -3
- package/dist/esm/api/resources/orgs/resources/connections/client/Client.mjs +18 -6
- package/dist/esm/api/resources/orgs/resources/connections/client/requests/ConnectionsListCouriersV1Request.d.mts +3 -0
- package/dist/esm/api/resources/orgs/resources/connections/client/requests/ConnectionsListForwardersV1Request.d.mts +3 -0
- package/dist/esm/api/resources/orgs/resources/connections/client/requests/ConnectionsListShippersV1Request.d.mts +3 -0
- package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/Client.d.mts +2 -1
- package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/Client.mjs +6 -2
- package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgListV1Request.d.mts +3 -0
- package/dist/esm/api/resources/orgs/resources/orgProfiles/client/requests/CourierOrgProfileClientCreate1.d.mts +1 -0
- package/dist/esm/api/resources/orgs/resources/orgProfiles/client/requests/ForwarderOrgProfileClientCreate1.d.mts +1 -0
- package/dist/esm/api/resources/orgs/resources/publicData/client/requests/CreateOrgPublicDataReq.d.mts +1 -0
- package/dist/esm/api/resources/orgs/resources/publicData/client/requests/UpdateOrgPublicDataReq.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/docs/client/requests/GenerateShippingDocReq.d.mts +2 -2
- package/dist/esm/api/resources/shipping/resources/drivers/client/Client.d.mts +4 -1
- package/dist/esm/api/resources/shipping/resources/drivers/client/Client.mjs +14 -2
- package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriversListOrgMembersAndDriversV1Request.d.mts +9 -0
- package/dist/esm/api/resources/shipping/resources/orderDrafts/client/requests/OrdersDraftUpdateReq.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/orderDrafts/client/requests/OrdersNewDraftReq.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.d.mts +3 -3
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.mjs +7 -7
- package/dist/esm/api/resources/shipping/resources/orders/client/requests/OrdersUpdateOffChrtReferenceIdReq.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.mts +6 -6
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.mjs +14 -14
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/Client.d.mts +6 -6
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/Client.mjs +14 -14
- package/dist/esm/api/resources/tracking/resources/devices/client/requests/DeviceClientCreate1.d.mts +1 -0
- package/dist/esm/api/resources/tracking/resources/devices/client/requests/DeviceClientUpdate1.d.mts +1 -0
- package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionClientCreate1.d.mts +1 -0
- package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionClientUpdate1.d.mts +1 -0
- package/dist/esm/api/resources/tracking/resources/sharingSettings/client/Client.d.mts +4 -4
- package/dist/esm/api/resources/tracking/resources/sharingSettings/client/Client.mjs +8 -8
- package/dist/esm/api/resources/users/resources/directoryEntries/client/Client.d.mts +2 -1
- package/dist/esm/api/resources/users/resources/directoryEntries/client/Client.mjs +6 -2
- package/dist/esm/api/resources/users/resources/directoryEntries/client/requests/DirectoryEntriesListV1Request.d.mts +3 -0
- package/dist/esm/api/types/CourierOrgProfile1.d.mts +1 -0
- package/dist/esm/api/types/CreateConnectionReq.d.mts +1 -0
- package/dist/esm/api/types/DeviceLimitedForList1.d.mts +1 -0
- package/dist/esm/api/types/ForwarderOrgProfile1.d.mts +1 -0
- package/dist/esm/api/types/LineItemGroup1.d.mts +1 -0
- package/dist/esm/api/types/Order1.d.mts +1 -0
- package/dist/esm/api/types/OrderDraftExpanded.d.mts +1 -0
- package/dist/esm/api/types/OrderExpanded.d.mts +1 -0
- package/dist/esm/api/types/OrdersDraftUpdateRes.d.mts +1 -0
- package/dist/esm/api/types/OrdersUpdateOffChrtReferenceIdRes.d.mts +1 -0
- package/dist/esm/api/types/OrgPublicData1.d.mts +1 -0
- package/dist/esm/api/types/Session1.d.mts +1 -0
- package/dist/esm/api/types/TaskGroup1.d.mts +1 -0
- package/dist/esm/api/types/TaskGroupExpanded.d.mts +2 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +36 -27
package/reference.md
CHANGED
|
@@ -69,7 +69,7 @@ await client.orgs.getInfoV1();
|
|
|
69
69
|
<dl>
|
|
70
70
|
<dd>
|
|
71
71
|
|
|
72
|
-
Lists all members of the caller's organization with their roles and details. | () -> (OrgMemberListRes)
|
|
72
|
+
Lists all members of the caller's organization with their roles and details. Supports search by name, filtering by role, sorting, and pagination. | () -> (OrgMemberListRes)
|
|
73
73
|
|
|
74
74
|
</dd>
|
|
75
75
|
</dl>
|
|
@@ -90,6 +90,7 @@ await client.orgs.listMembersV1({
|
|
|
90
90
|
sort_order: "asc",
|
|
91
91
|
page: 1,
|
|
92
92
|
page_size: 1,
|
|
93
|
+
search: "search",
|
|
93
94
|
});
|
|
94
95
|
```
|
|
95
96
|
|
|
@@ -5409,7 +5410,7 @@ await client.notifications.webhookSetup.turnOffV1();
|
|
|
5409
5410
|
<dl>
|
|
5410
5411
|
<dd>
|
|
5411
5412
|
|
|
5412
|
-
Lists shipper organizations based on the caller's organization type
|
|
5413
|
+
Lists shipper organizations based on the caller's organization type with optional search by company name or handle. | () -> (ShipperConnectionListRes)
|
|
5413
5414
|
|
|
5414
5415
|
</dd>
|
|
5415
5416
|
</dl>
|
|
@@ -5426,6 +5427,7 @@ Lists shipper organizations based on the caller's organization type. Couriers se
|
|
|
5426
5427
|
|
|
5427
5428
|
```typescript
|
|
5428
5429
|
await client.orgs.connections.listShippersV1({
|
|
5430
|
+
search: "search",
|
|
5429
5431
|
page: 1,
|
|
5430
5432
|
page_size: 1,
|
|
5431
5433
|
});
|
|
@@ -5475,7 +5477,7 @@ await client.orgs.connections.listShippersV1({
|
|
|
5475
5477
|
<dl>
|
|
5476
5478
|
<dd>
|
|
5477
5479
|
|
|
5478
|
-
Lists courier organizations based on the caller's organization type
|
|
5480
|
+
Lists courier organizations based on the caller's organization type with optional search by company name or handle. | () -> (CourierConnectionListRes)
|
|
5479
5481
|
|
|
5480
5482
|
</dd>
|
|
5481
5483
|
</dl>
|
|
@@ -5492,6 +5494,7 @@ Lists courier organizations based on the caller's organization type. Shippers se
|
|
|
5492
5494
|
|
|
5493
5495
|
```typescript
|
|
5494
5496
|
await client.orgs.connections.listCouriersV1({
|
|
5497
|
+
search: "search",
|
|
5495
5498
|
page: 1,
|
|
5496
5499
|
page_size: 1,
|
|
5497
5500
|
});
|
|
@@ -5541,7 +5544,7 @@ await client.orgs.connections.listCouriersV1({
|
|
|
5541
5544
|
<dl>
|
|
5542
5545
|
<dd>
|
|
5543
5546
|
|
|
5544
|
-
Lists forwarder organizations based on the caller's organization type
|
|
5547
|
+
Lists forwarder organizations based on the caller's organization type with optional search by company name or handle. | () -> (ForwarderConnectionListRes)
|
|
5545
5548
|
|
|
5546
5549
|
</dd>
|
|
5547
5550
|
</dl>
|
|
@@ -5558,6 +5561,7 @@ Lists forwarder organizations based on the caller's organization type. Shippers
|
|
|
5558
5561
|
|
|
5559
5562
|
```typescript
|
|
5560
5563
|
await client.orgs.connections.listForwardersV1({
|
|
5564
|
+
search: "search",
|
|
5561
5565
|
page: 1,
|
|
5562
5566
|
page_size: 1,
|
|
5563
5567
|
});
|
|
@@ -5933,7 +5937,7 @@ await client.orgs.offChrtShipperOrg.createV1({
|
|
|
5933
5937
|
<dl>
|
|
5934
5938
|
<dd>
|
|
5935
5939
|
|
|
5936
|
-
Lists all off-platform shipper organizations created by the caller's organization. | () -> (OffChrtShipperOrgListRes)
|
|
5940
|
+
Lists all off-platform shipper organizations created by the caller's organization with optional search by company name. | () -> (OffChrtShipperOrgListRes)
|
|
5937
5941
|
|
|
5938
5942
|
</dd>
|
|
5939
5943
|
</dl>
|
|
@@ -5950,6 +5954,7 @@ Lists all off-platform shipper organizations created by the caller's organizatio
|
|
|
5950
5954
|
|
|
5951
5955
|
```typescript
|
|
5952
5956
|
await client.orgs.offChrtShipperOrg.listV1({
|
|
5957
|
+
search: "search",
|
|
5953
5958
|
page: 1,
|
|
5954
5959
|
page_size: 1,
|
|
5955
5960
|
});
|
|
@@ -7639,7 +7644,7 @@ Generates a shipping document (BOL or POD) as a PDF for the given order. | authz
|
|
|
7639
7644
|
|
|
7640
7645
|
```typescript
|
|
7641
7646
|
await client.shipping.docs.postGenerateV1({
|
|
7642
|
-
|
|
7647
|
+
order_ref: "order_ref",
|
|
7643
7648
|
template: "pod",
|
|
7644
7649
|
});
|
|
7645
7650
|
```
|
|
@@ -7808,7 +7813,7 @@ await client.shipping.drivers.getByDriverIdV1("driver_id");
|
|
|
7808
7813
|
<dl>
|
|
7809
7814
|
<dd>
|
|
7810
7815
|
|
|
7811
|
-
Lists all organization members paired with their driver information if they are drivers.
|
|
7816
|
+
Lists all organization members paired with their driver information if they are drivers. Supports search by name, filtering, sorting, and pagination. | () -> (OrgMembersAndDriversListRes)
|
|
7812
7817
|
|
|
7813
7818
|
</dd>
|
|
7814
7819
|
</dl>
|
|
@@ -7825,8 +7830,11 @@ Lists all organization members paired with their driver information if they are
|
|
|
7825
7830
|
|
|
7826
7831
|
```typescript
|
|
7827
7832
|
await client.shipping.drivers.listOrgMembersAndDriversV1({
|
|
7833
|
+
search: "search",
|
|
7828
7834
|
filter_available_according_to_driver: true,
|
|
7829
7835
|
filter_available_according_to_operators: true,
|
|
7836
|
+
sort_by: "first_name",
|
|
7837
|
+
sort_order: "asc",
|
|
7830
7838
|
page: 1,
|
|
7831
7839
|
page_size: 1,
|
|
7832
7840
|
});
|
|
@@ -11186,7 +11194,7 @@ await client.shipping.orderDrafts.cargo.deleteV1("cargo_id");
|
|
|
11186
11194
|
|
|
11187
11195
|
## Shipping OrderDrafts Expanded
|
|
11188
11196
|
|
|
11189
|
-
<details><summary><code>client.shipping.orderDrafts.expanded.<a href="/src/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.ts">retrieveV1</a>(
|
|
11197
|
+
<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
11198
|
<dl>
|
|
11191
11199
|
<dd>
|
|
11192
11200
|
|
|
@@ -11214,7 +11222,7 @@ Fetches a single draft order with optional expanded related data. Any user in th
|
|
|
11214
11222
|
<dd>
|
|
11215
11223
|
|
|
11216
11224
|
```typescript
|
|
11217
|
-
await client.shipping.orderDrafts.expanded.retrieveV1("
|
|
11225
|
+
await client.shipping.orderDrafts.expanded.retrieveV1("order_ref", {});
|
|
11218
11226
|
```
|
|
11219
11227
|
|
|
11220
11228
|
</dd>
|
|
@@ -11230,7 +11238,7 @@ await client.shipping.orderDrafts.expanded.retrieveV1("order_id_or_short_id", {}
|
|
|
11230
11238
|
<dl>
|
|
11231
11239
|
<dd>
|
|
11232
11240
|
|
|
11233
|
-
**
|
|
11241
|
+
**orderRef:** `string` — Order ID, short ID, or off-chrt reference ID
|
|
11234
11242
|
|
|
11235
11243
|
</dd>
|
|
11236
11244
|
</dl>
|
|
@@ -11330,7 +11338,7 @@ await client.shipping.orderDrafts.expanded.listV1({
|
|
|
11330
11338
|
|
|
11331
11339
|
## Shipping Orders Expanded
|
|
11332
11340
|
|
|
11333
|
-
<details><summary><code>client.shipping.orders.expanded.<a href="/src/api/resources/shipping/resources/orders/resources/expanded/client/Client.ts">forShipperOperatorsV1</a>(
|
|
11341
|
+
<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
11342
|
<dl>
|
|
11335
11343
|
<dd>
|
|
11336
11344
|
|
|
@@ -11358,7 +11366,7 @@ Retrieves an expanded order with optional related data for shipper operators. |
|
|
|
11358
11366
|
<dd>
|
|
11359
11367
|
|
|
11360
11368
|
```typescript
|
|
11361
|
-
await client.shipping.orders.expanded.forShipperOperatorsV1("
|
|
11369
|
+
await client.shipping.orders.expanded.forShipperOperatorsV1("order_ref", {});
|
|
11362
11370
|
```
|
|
11363
11371
|
|
|
11364
11372
|
</dd>
|
|
@@ -11374,7 +11382,7 @@ await client.shipping.orders.expanded.forShipperOperatorsV1("order_id_or_short_i
|
|
|
11374
11382
|
<dl>
|
|
11375
11383
|
<dd>
|
|
11376
11384
|
|
|
11377
|
-
**
|
|
11385
|
+
**orderRef:** `string` — Order ID, short ID, or off-chrt reference ID
|
|
11378
11386
|
|
|
11379
11387
|
</dd>
|
|
11380
11388
|
</dl>
|
|
@@ -11401,7 +11409,7 @@ await client.shipping.orders.expanded.forShipperOperatorsV1("order_id_or_short_i
|
|
|
11401
11409
|
</dl>
|
|
11402
11410
|
</details>
|
|
11403
11411
|
|
|
11404
|
-
<details><summary><code>client.shipping.orders.expanded.<a href="/src/api/resources/shipping/resources/orders/resources/expanded/client/Client.ts">forForwarderOperatorsV1</a>(
|
|
11412
|
+
<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
11413
|
<dl>
|
|
11406
11414
|
<dd>
|
|
11407
11415
|
|
|
@@ -11429,7 +11437,7 @@ Retrieves an expanded order with optional related data for forwarder operators.
|
|
|
11429
11437
|
<dd>
|
|
11430
11438
|
|
|
11431
11439
|
```typescript
|
|
11432
|
-
await client.shipping.orders.expanded.forForwarderOperatorsV1("
|
|
11440
|
+
await client.shipping.orders.expanded.forForwarderOperatorsV1("order_ref", {});
|
|
11433
11441
|
```
|
|
11434
11442
|
|
|
11435
11443
|
</dd>
|
|
@@ -11445,7 +11453,7 @@ await client.shipping.orders.expanded.forForwarderOperatorsV1("order_id_or_short
|
|
|
11445
11453
|
<dl>
|
|
11446
11454
|
<dd>
|
|
11447
11455
|
|
|
11448
|
-
**
|
|
11456
|
+
**orderRef:** `string` — Order ID, short ID, or off-chrt reference ID
|
|
11449
11457
|
|
|
11450
11458
|
</dd>
|
|
11451
11459
|
</dl>
|
|
@@ -11970,7 +11978,7 @@ await client.shipping.taskArtifacts.s3Object.deleteV1("task_artifact_s3_object_m
|
|
|
11970
11978
|
|
|
11971
11979
|
## Shipping TaskGroups TaskGroupId
|
|
11972
11980
|
|
|
11973
|
-
<details><summary><code>client.shipping.taskGroups.taskGroupId.<a href="/src/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/Client.ts">forCourierOperatorsV1</a>(
|
|
11981
|
+
<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>
|
|
11974
11982
|
<dl>
|
|
11975
11983
|
<dd>
|
|
11976
11984
|
|
|
@@ -11998,7 +12006,7 @@ Retrieves the task group IDs for the courier organization assigned to an order's
|
|
|
11998
12006
|
<dd>
|
|
11999
12007
|
|
|
12000
12008
|
```typescript
|
|
12001
|
-
await client.shipping.taskGroups.taskGroupId.forCourierOperatorsV1("
|
|
12009
|
+
await client.shipping.taskGroups.taskGroupId.forCourierOperatorsV1("order_ref");
|
|
12002
12010
|
```
|
|
12003
12011
|
|
|
12004
12012
|
</dd>
|
|
@@ -12014,7 +12022,7 @@ await client.shipping.taskGroups.taskGroupId.forCourierOperatorsV1("order_id_or_
|
|
|
12014
12022
|
<dl>
|
|
12015
12023
|
<dd>
|
|
12016
12024
|
|
|
12017
|
-
**
|
|
12025
|
+
**orderRef:** `string` — Order ID, short ID, or off-chrt reference ID
|
|
12018
12026
|
|
|
12019
12027
|
</dd>
|
|
12020
12028
|
</dl>
|
|
@@ -12033,7 +12041,7 @@ await client.shipping.taskGroups.taskGroupId.forCourierOperatorsV1("order_id_or_
|
|
|
12033
12041
|
</dl>
|
|
12034
12042
|
</details>
|
|
12035
12043
|
|
|
12036
|
-
<details><summary><code>client.shipping.taskGroups.taskGroupId.<a href="/src/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/Client.ts">forCourierDriverV1</a>(
|
|
12044
|
+
<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>
|
|
12037
12045
|
<dl>
|
|
12038
12046
|
<dd>
|
|
12039
12047
|
|
|
@@ -12061,7 +12069,7 @@ Retrieves the task group IDs for the courier driver assigned to an order's task
|
|
|
12061
12069
|
<dd>
|
|
12062
12070
|
|
|
12063
12071
|
```typescript
|
|
12064
|
-
await client.shipping.taskGroups.taskGroupId.forCourierDriverV1("
|
|
12072
|
+
await client.shipping.taskGroups.taskGroupId.forCourierDriverV1("order_ref");
|
|
12065
12073
|
```
|
|
12066
12074
|
|
|
12067
12075
|
</dd>
|
|
@@ -12077,7 +12085,7 @@ await client.shipping.taskGroups.taskGroupId.forCourierDriverV1("order_id_or_sho
|
|
|
12077
12085
|
<dl>
|
|
12078
12086
|
<dd>
|
|
12079
12087
|
|
|
12080
|
-
**
|
|
12088
|
+
**orderRef:** `string` — Order ID, short ID, or off-chrt reference ID
|
|
12081
12089
|
|
|
12082
12090
|
</dd>
|
|
12083
12091
|
</dl>
|
|
@@ -14445,7 +14453,7 @@ await client.tracking.sharingSettings.cargoByDeviceSettingsV1({
|
|
|
14445
14453
|
</dl>
|
|
14446
14454
|
</details>
|
|
14447
14455
|
|
|
14448
|
-
<details><summary><code>client.tracking.sharingSettings.<a href="/src/api/resources/tracking/resources/sharingSettings/client/Client.ts">getSettingsV1</a>(
|
|
14456
|
+
<details><summary><code>client.tracking.sharingSettings.<a href="/src/api/resources/tracking/resources/sharingSettings/client/Client.ts">getSettingsV1</a>(orderRef) -> Chrt.TrackingSharingSettingsRes[]</code></summary>
|
|
14449
14457
|
<dl>
|
|
14450
14458
|
<dd>
|
|
14451
14459
|
|
|
@@ -14457,7 +14465,7 @@ await client.tracking.sharingSettings.cargoByDeviceSettingsV1({
|
|
|
14457
14465
|
<dl>
|
|
14458
14466
|
<dd>
|
|
14459
14467
|
|
|
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. | () -> (list[TrackingSharingSettingsRes])
|
|
14468
|
+
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])
|
|
14461
14469
|
|
|
14462
14470
|
</dd>
|
|
14463
14471
|
</dl>
|
|
@@ -14473,7 +14481,7 @@ Get all tracking datasets and their sharing settings for a given order. If authe
|
|
|
14473
14481
|
<dd>
|
|
14474
14482
|
|
|
14475
14483
|
```typescript
|
|
14476
|
-
await client.tracking.sharingSettings.getSettingsV1("
|
|
14484
|
+
await client.tracking.sharingSettings.getSettingsV1("order_ref");
|
|
14477
14485
|
```
|
|
14478
14486
|
|
|
14479
14487
|
</dd>
|
|
@@ -14489,7 +14497,7 @@ await client.tracking.sharingSettings.getSettingsV1("order_id_or_short_id");
|
|
|
14489
14497
|
<dl>
|
|
14490
14498
|
<dd>
|
|
14491
14499
|
|
|
14492
|
-
**
|
|
14500
|
+
**orderRef:** `string` — Order ID, short ID, or off-chrt reference ID
|
|
14493
14501
|
|
|
14494
14502
|
</dd>
|
|
14495
14503
|
</dl>
|
|
@@ -16092,7 +16100,7 @@ await client.users.directoryEntries.getV1("directory_entry_id");
|
|
|
16092
16100
|
<dl>
|
|
16093
16101
|
<dd>
|
|
16094
16102
|
|
|
16095
|
-
Lists directory entries with pagination and optional full-text search. | authz: min_org_role=operator | () -> (DirectoryEntryListRes)
|
|
16103
|
+
Lists directory entries with pagination, optional filtering by entry_org_id, and optional full-text search. | authz: min_org_role=operator | () -> (DirectoryEntryListRes)
|
|
16096
16104
|
|
|
16097
16105
|
</dd>
|
|
16098
16106
|
</dl>
|
|
@@ -16110,6 +16118,7 @@ Lists directory entries with pagination and optional full-text search. | authz:
|
|
|
16110
16118
|
```typescript
|
|
16111
16119
|
await client.users.directoryEntries.listV1({
|
|
16112
16120
|
search: "search",
|
|
16121
|
+
filter_entry_org_id: "filter_entry_org_id",
|
|
16113
16122
|
sort_by: "company_name",
|
|
16114
16123
|
sort_order: "asc",
|
|
16115
16124
|
page: 1,
|