@chrt-inc/typescript-sdk 1.602.0 → 1.609.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/billing/resources/statements/client/Client.d.ts +2 -0
- package/dist/cjs/api/resources/billing/resources/statements/client/Client.js +10 -2
- package/dist/cjs/api/resources/billing/resources/statements/client/requests/StatementsExpandedListV1Request.d.ts +4 -1
- package/dist/cjs/api/resources/billing/resources/statements/client/requests/StatementsListV1Request.d.ts +4 -1
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.d.ts +4 -0
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.js +17 -1
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/expanded/client/requests/ExpandedListV1Request.d.ts +8 -0
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.ts +5 -0
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.js +22 -2
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForForwarderOperatorsV1Request.d.ts +6 -0
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.ts +4 -0
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.ts +9 -2
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.js +31 -3
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForCourierDriverV1Request.d.ts +6 -0
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForCourierOperatorsV1Request.d.ts +8 -0
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedTypeaheadV1Request.d.ts +1 -1
- package/dist/cjs/api/types/Order1.d.ts +1 -0
- package/dist/cjs/api/types/TaskGroup1.d.ts +5 -0
- package/dist/cjs/api/types/TaskGroupTypeaheadFieldEnum.d.ts +8 -0
- package/dist/cjs/api/types/TaskGroupTypeaheadFieldEnum.js +10 -0
- package/dist/cjs/api/types/TaskGroupTypeaheadResult.d.ts +8 -0
- package/dist/cjs/api/types/TaskGroupTypeaheadResult.js +5 -0
- package/dist/cjs/api/types/index.d.ts +2 -0
- package/dist/cjs/api/types/index.js +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/billing/resources/statements/client/Client.d.mts +2 -0
- package/dist/esm/api/resources/billing/resources/statements/client/Client.mjs +10 -2
- package/dist/esm/api/resources/billing/resources/statements/client/requests/StatementsExpandedListV1Request.d.mts +4 -1
- package/dist/esm/api/resources/billing/resources/statements/client/requests/StatementsListV1Request.d.mts +4 -1
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.d.mts +4 -0
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.mjs +17 -1
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/expanded/client/requests/ExpandedListV1Request.d.mts +8 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.mts +5 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.mjs +22 -2
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForForwarderOperatorsV1Request.d.mts +6 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.mts +4 -0
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.mts +9 -2
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.mjs +31 -3
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForCourierDriverV1Request.d.mts +6 -0
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForCourierOperatorsV1Request.d.mts +8 -0
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedTypeaheadV1Request.d.mts +1 -1
- package/dist/esm/api/types/Order1.d.mts +1 -0
- package/dist/esm/api/types/TaskGroup1.d.mts +5 -0
- package/dist/esm/api/types/TaskGroupTypeaheadFieldEnum.d.mts +8 -0
- package/dist/esm/api/types/TaskGroupTypeaheadFieldEnum.mjs +7 -0
- package/dist/esm/api/types/TaskGroupTypeaheadResult.d.mts +8 -0
- package/dist/esm/api/types/TaskGroupTypeaheadResult.mjs +4 -0
- package/dist/esm/api/types/index.d.mts +2 -0
- package/dist/esm/api/types/index.mjs +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 +20 -2
package/reference.md
CHANGED
|
@@ -1711,6 +1711,7 @@ await client.billing.statements.listV1({
|
|
|
1711
1711
|
page_size: 1,
|
|
1712
1712
|
filter_settlement_type: "stripe_connect",
|
|
1713
1713
|
filter_order_id: "filter_order_id",
|
|
1714
|
+
filter_order_short_id: "filter_order_short_id",
|
|
1714
1715
|
filter_order_off_chrt_reference_id: "filter_order_off_chrt_reference_id",
|
|
1715
1716
|
filter_payment_origin_org_id: "filter_payment_origin_org_id",
|
|
1716
1717
|
filter_payment_origin_off_chrt_shipper_org_id: "filter_payment_origin_off_chrt_shipper_org_id",
|
|
@@ -1794,6 +1795,7 @@ await client.billing.statements.expandedListV1({
|
|
|
1794
1795
|
page_size: 1,
|
|
1795
1796
|
filter_settlement_type: "stripe_connect",
|
|
1796
1797
|
filter_order_id: "filter_order_id",
|
|
1798
|
+
filter_order_short_id: "filter_order_short_id",
|
|
1797
1799
|
filter_order_off_chrt_reference_id: "filter_order_off_chrt_reference_id",
|
|
1798
1800
|
filter_payment_origin_org_id: "filter_payment_origin_org_id",
|
|
1799
1801
|
filter_payment_origin_off_chrt_shipper_org_id: "filter_payment_origin_off_chrt_shipper_org_id",
|
|
@@ -11301,6 +11303,10 @@ await client.shipping.orderDrafts.expanded.listV1({
|
|
|
11301
11303
|
search: "search",
|
|
11302
11304
|
filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
11303
11305
|
filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
11306
|
+
filter_courier_org_id: "filter_courier_org_id",
|
|
11307
|
+
filter_forwarder_org_id: "filter_forwarder_org_id",
|
|
11308
|
+
filter_shipper_org_id: "filter_shipper_org_id",
|
|
11309
|
+
filter_off_chrt_shipper_org_id: "filter_off_chrt_shipper_org_id",
|
|
11304
11310
|
body: {},
|
|
11305
11311
|
});
|
|
11306
11312
|
```
|
|
@@ -11594,6 +11600,9 @@ await client.shipping.orders.expanded.listForForwarderOperatorsV1({
|
|
|
11594
11600
|
filter_order_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
11595
11601
|
filter_order_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
11596
11602
|
filter_order_cancelled: true,
|
|
11603
|
+
filter_courier_org_id: "filter_courier_org_id",
|
|
11604
|
+
filter_shipper_org_id: "filter_shipper_org_id",
|
|
11605
|
+
filter_off_chrt_shipper_org_id: "filter_off_chrt_shipper_org_id",
|
|
11597
11606
|
body: {},
|
|
11598
11607
|
});
|
|
11599
11608
|
```
|
|
@@ -11677,6 +11686,8 @@ await client.shipping.orders.expanded.listForShipperOperatorsV1({
|
|
|
11677
11686
|
filter_order_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
11678
11687
|
filter_order_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
11679
11688
|
filter_order_cancelled: true,
|
|
11689
|
+
filter_courier_org_id: "filter_courier_org_id",
|
|
11690
|
+
filter_forwarder_org_id: "filter_forwarder_org_id",
|
|
11680
11691
|
body: {},
|
|
11681
11692
|
});
|
|
11682
11693
|
```
|
|
@@ -12768,6 +12779,10 @@ await client.shipping.taskGroups.expanded.listForCourierOperatorsV1({
|
|
|
12768
12779
|
filter_exception_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
12769
12780
|
filter_exception_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
12770
12781
|
filter_order_cancelled: true,
|
|
12782
|
+
filter_driver_id: "filter_driver_id",
|
|
12783
|
+
filter_forwarder_org_id: "filter_forwarder_org_id",
|
|
12784
|
+
filter_shipper_org_id: "filter_shipper_org_id",
|
|
12785
|
+
filter_off_chrt_shipper_org_id: "filter_off_chrt_shipper_org_id",
|
|
12771
12786
|
body: {},
|
|
12772
12787
|
});
|
|
12773
12788
|
```
|
|
@@ -12851,6 +12866,9 @@ await client.shipping.taskGroups.expanded.listForCourierDriverV1({
|
|
|
12851
12866
|
filter_exception_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
12852
12867
|
filter_exception_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
12853
12868
|
filter_order_cancelled: true,
|
|
12869
|
+
filter_forwarder_org_id: "filter_forwarder_org_id",
|
|
12870
|
+
filter_shipper_org_id: "filter_shipper_org_id",
|
|
12871
|
+
filter_off_chrt_shipper_org_id: "filter_off_chrt_shipper_org_id",
|
|
12854
12872
|
body: {},
|
|
12855
12873
|
});
|
|
12856
12874
|
```
|
|
@@ -12887,7 +12905,7 @@ await client.shipping.taskGroups.expanded.listForCourierDriverV1({
|
|
|
12887
12905
|
</dl>
|
|
12888
12906
|
</details>
|
|
12889
12907
|
|
|
12890
|
-
<details><summary><code>client.shipping.taskGroups.expanded.<a href="/src/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.ts">typeaheadV1</a>({ ...params }) ->
|
|
12908
|
+
<details><summary><code>client.shipping.taskGroups.expanded.<a href="/src/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.ts">typeaheadV1</a>({ ...params }) -> Chrt.TaskGroupTypeaheadResult[]</code></summary>
|
|
12891
12909
|
<dl>
|
|
12892
12910
|
<dd>
|
|
12893
12911
|
|
|
@@ -12899,7 +12917,7 @@ await client.shipping.taskGroups.expanded.listForCourierDriverV1({
|
|
|
12899
12917
|
<dl>
|
|
12900
12918
|
<dd>
|
|
12901
12919
|
|
|
12902
|
-
Returns distinct order_short_id values matching the query via case-insensitive regex. Searches non-draft task groups belonging to the caller's courier org. | authz: allowed_org_types=[courier], min_org_role=driver | () -> (list[
|
|
12920
|
+
Returns distinct order_short_id and order_off_chrt_reference_id values matching the query via case-insensitive regex. Searches non-draft task groups belonging to the caller's courier org. | authz: allowed_org_types=[courier], min_org_role=driver | () -> (list[TaskGroupTypeaheadResult])
|
|
12903
12921
|
|
|
12904
12922
|
</dd>
|
|
12905
12923
|
</dl>
|