@chrt-inc/typescript-sdk 1.638.0 → 1.639.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/billingLedgerPeriods/client/Client.d.ts +1 -0
- package/dist/cjs/api/resources/billing/resources/billingLedgerPeriods/client/Client.js +1 -0
- package/dist/cjs/api/resources/billing/resources/billingLedgerPeriods/client/requests/BillingLedgerPeriodsListV1Request.d.ts +1 -0
- package/dist/cjs/api/resources/billing/resources/billingLedgers/client/Client.d.ts +1 -0
- package/dist/cjs/api/resources/billing/resources/billingLedgers/client/Client.js +1 -0
- package/dist/cjs/api/resources/billing/resources/billingLedgers/client/requests/BillingLedgersListV1Request.d.ts +1 -0
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/Client.d.ts +1 -0
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/Client.js +1 -0
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupsListV1Request.d.ts +1 -0
- 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 +2 -0
- package/dist/cjs/api/resources/billing/resources/statements/client/requests/StatementsExpandedListV1Request.d.ts +1 -0
- package/dist/cjs/api/resources/billing/resources/statements/client/requests/StatementsListV1Request.d.ts +1 -0
- package/dist/cjs/api/resources/listing/resources/bidThreads/client/Client.d.ts +2 -0
- package/dist/cjs/api/resources/listing/resources/bidThreads/client/Client.js +2 -0
- package/dist/cjs/api/resources/listing/resources/bidThreads/client/requests/BidThreadsListForBidderV1Request.d.ts +1 -0
- package/dist/cjs/api/resources/listing/resources/bidThreads/client/requests/BidThreadsListForListingV1Request.d.ts +1 -0
- package/dist/cjs/api/resources/listing/resources/listings/client/Client.d.ts +6 -0
- package/dist/cjs/api/resources/listing/resources/listings/client/Client.js +6 -0
- package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingsListByOrgV1Request.d.ts +2 -0
- package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingsListForDriverBidderV1Request.d.ts +2 -0
- package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingsListForProviderBidderV1Request.d.ts +2 -0
- package/dist/cjs/api/resources/operations/resources/cases/client/Client.d.ts +2 -0
- package/dist/cjs/api/resources/operations/resources/cases/client/Client.js +2 -0
- package/dist/cjs/api/resources/operations/resources/cases/client/requests/CasesListV1Request.d.ts +2 -0
- package/dist/cjs/api/resources/operations/resources/departments/client/Client.d.ts +2 -1
- package/dist/cjs/api/resources/operations/resources/departments/client/Client.js +2 -1
- package/dist/cjs/api/resources/operations/resources/departments/client/requests/DepartmentsListV1Request.d.ts +2 -1
- package/dist/cjs/api/resources/orgs/client/Client.d.ts +1 -0
- package/dist/cjs/api/resources/orgs/client/Client.js +1 -0
- package/dist/cjs/api/resources/orgs/client/requests/OrgsListMembersV1Request.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.js +1 -0
- package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriversListOrgMembersAndDriversV1Request.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.ts +2 -0
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.js +2 -0
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.ts +2 -0
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.js +2 -0
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverForExecutorV1Request.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.ts +1 -0
- package/dist/cjs/api/resources/utils/resources/dev/client/Client.d.ts +28 -0
- package/dist/cjs/api/resources/utils/resources/dev/client/Client.js +126 -0
- package/dist/cjs/api/resources/utils/resources/dev/client/requests/PingReq.d.ts +10 -0
- package/dist/cjs/api/resources/utils/resources/dev/client/requests/PingReq.js +5 -0
- package/dist/cjs/api/resources/utils/resources/dev/client/requests/ScheduledHelloPocReq.d.ts +15 -0
- package/dist/cjs/api/resources/utils/resources/dev/client/requests/ScheduledHelloPocReq.js +5 -0
- package/dist/cjs/api/resources/utils/resources/dev/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/types/PingRes.d.ts +9 -0
- package/dist/cjs/api/types/PingRes.js +5 -0
- package/dist/cjs/api/types/ScheduleCalendarSpec.d.ts +14 -0
- package/dist/cjs/api/types/ScheduleCalendarSpec.js +5 -0
- package/dist/cjs/api/types/ScheduleIntervalSpec.d.ts +7 -0
- package/dist/cjs/api/types/ScheduleIntervalSpec.js +5 -0
- package/dist/cjs/api/types/ScheduleRange.d.ts +8 -0
- package/dist/cjs/api/types/ScheduleRange.js +5 -0
- package/dist/cjs/api/types/ScheduleSpec.d.ts +14 -0
- package/dist/cjs/api/types/ScheduleSpec.js +5 -0
- package/dist/cjs/api/types/ScheduledHelloPocRes.d.ts +16 -0
- package/dist/cjs/api/types/ScheduledHelloPocRes.js +5 -0
- package/dist/cjs/api/types/index.d.ts +6 -0
- package/dist/cjs/api/types/index.js +6 -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/billingLedgerPeriods/client/Client.d.mts +1 -0
- package/dist/esm/api/resources/billing/resources/billingLedgerPeriods/client/Client.mjs +1 -0
- package/dist/esm/api/resources/billing/resources/billingLedgerPeriods/client/requests/BillingLedgerPeriodsListV1Request.d.mts +1 -0
- package/dist/esm/api/resources/billing/resources/billingLedgers/client/Client.d.mts +1 -0
- package/dist/esm/api/resources/billing/resources/billingLedgers/client/Client.mjs +1 -0
- package/dist/esm/api/resources/billing/resources/billingLedgers/client/requests/BillingLedgersListV1Request.d.mts +1 -0
- package/dist/esm/api/resources/billing/resources/lineItemGroups/client/Client.d.mts +1 -0
- package/dist/esm/api/resources/billing/resources/lineItemGroups/client/Client.mjs +1 -0
- package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupsListV1Request.d.mts +1 -0
- 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 +2 -0
- package/dist/esm/api/resources/billing/resources/statements/client/requests/StatementsExpandedListV1Request.d.mts +1 -0
- package/dist/esm/api/resources/billing/resources/statements/client/requests/StatementsListV1Request.d.mts +1 -0
- package/dist/esm/api/resources/listing/resources/bidThreads/client/Client.d.mts +2 -0
- package/dist/esm/api/resources/listing/resources/bidThreads/client/Client.mjs +2 -0
- package/dist/esm/api/resources/listing/resources/bidThreads/client/requests/BidThreadsListForBidderV1Request.d.mts +1 -0
- package/dist/esm/api/resources/listing/resources/bidThreads/client/requests/BidThreadsListForListingV1Request.d.mts +1 -0
- package/dist/esm/api/resources/listing/resources/listings/client/Client.d.mts +6 -0
- package/dist/esm/api/resources/listing/resources/listings/client/Client.mjs +6 -0
- package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingsListByOrgV1Request.d.mts +2 -0
- package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingsListForDriverBidderV1Request.d.mts +2 -0
- package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingsListForProviderBidderV1Request.d.mts +2 -0
- package/dist/esm/api/resources/operations/resources/cases/client/Client.d.mts +2 -0
- package/dist/esm/api/resources/operations/resources/cases/client/Client.mjs +2 -0
- package/dist/esm/api/resources/operations/resources/cases/client/requests/CasesListV1Request.d.mts +2 -0
- package/dist/esm/api/resources/operations/resources/departments/client/Client.d.mts +2 -1
- package/dist/esm/api/resources/operations/resources/departments/client/Client.mjs +2 -1
- package/dist/esm/api/resources/operations/resources/departments/client/requests/DepartmentsListV1Request.d.mts +2 -1
- package/dist/esm/api/resources/orgs/client/Client.d.mts +1 -0
- package/dist/esm/api/resources/orgs/client/Client.mjs +1 -0
- package/dist/esm/api/resources/orgs/client/requests/OrgsListMembersV1Request.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/drivers/client/Client.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/drivers/client/Client.mjs +1 -0
- package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriversListOrgMembersAndDriversV1Request.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.mts +2 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.mjs +2 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.mts +2 -0
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.mjs +2 -0
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverForExecutorV1Request.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.mts +1 -0
- package/dist/esm/api/resources/utils/resources/dev/client/Client.d.mts +28 -0
- package/dist/esm/api/resources/utils/resources/dev/client/Client.mjs +126 -0
- package/dist/esm/api/resources/utils/resources/dev/client/requests/PingReq.d.mts +10 -0
- package/dist/esm/api/resources/utils/resources/dev/client/requests/PingReq.mjs +4 -0
- package/dist/esm/api/resources/utils/resources/dev/client/requests/ScheduledHelloPocReq.d.mts +15 -0
- package/dist/esm/api/resources/utils/resources/dev/client/requests/ScheduledHelloPocReq.mjs +4 -0
- package/dist/esm/api/resources/utils/resources/dev/client/requests/index.d.mts +2 -0
- package/dist/esm/api/types/PingRes.d.mts +9 -0
- package/dist/esm/api/types/PingRes.mjs +4 -0
- package/dist/esm/api/types/ScheduleCalendarSpec.d.mts +14 -0
- package/dist/esm/api/types/ScheduleCalendarSpec.mjs +4 -0
- package/dist/esm/api/types/ScheduleIntervalSpec.d.mts +7 -0
- package/dist/esm/api/types/ScheduleIntervalSpec.mjs +4 -0
- package/dist/esm/api/types/ScheduleRange.d.mts +8 -0
- package/dist/esm/api/types/ScheduleRange.mjs +4 -0
- package/dist/esm/api/types/ScheduleSpec.d.mts +14 -0
- package/dist/esm/api/types/ScheduleSpec.mjs +4 -0
- package/dist/esm/api/types/ScheduledHelloPocRes.d.mts +16 -0
- package/dist/esm/api/types/ScheduledHelloPocRes.mjs +4 -0
- package/dist/esm/api/types/index.d.mts +6 -0
- package/dist/esm/api/types/index.mjs +6 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +150 -0
|
@@ -9,6 +9,8 @@ import * as Chrt from "../../../../../../index.mjs";
|
|
|
9
9
|
* sort_order: "asc",
|
|
10
10
|
* page: 1,
|
|
11
11
|
* page_size: 1,
|
|
12
|
+
* filter_status: ["open"],
|
|
13
|
+
* filter_type: ["dispatch"],
|
|
12
14
|
* filter_task_group_id: "filter_task_group_id",
|
|
13
15
|
* filter_order_id: "filter_order_id",
|
|
14
16
|
* filter_created_by_org_id: "filter_created_by_org_id",
|
|
@@ -44,6 +44,8 @@ export declare class Cases {
|
|
|
44
44
|
* sort_order: "asc",
|
|
45
45
|
* page: 1,
|
|
46
46
|
* page_size: 1,
|
|
47
|
+
* filter_status: ["open"],
|
|
48
|
+
* filter_department_id: ["filter_department_id"],
|
|
47
49
|
* filter_assigned_operator_user_id: "filter_assigned_operator_user_id",
|
|
48
50
|
* filter_needs_action: true,
|
|
49
51
|
* filter_unassigned: true
|
|
@@ -33,6 +33,8 @@ export class Cases {
|
|
|
33
33
|
* sort_order: "asc",
|
|
34
34
|
* page: 1,
|
|
35
35
|
* page_size: 1,
|
|
36
|
+
* filter_status: ["open"],
|
|
37
|
+
* filter_department_id: ["filter_department_id"],
|
|
36
38
|
* filter_assigned_operator_user_id: "filter_assigned_operator_user_id",
|
|
37
39
|
* filter_needs_action: true,
|
|
38
40
|
* filter_unassigned: true
|
package/dist/esm/api/resources/operations/resources/cases/client/requests/CasesListV1Request.d.mts
CHANGED
|
@@ -9,6 +9,8 @@ import * as Chrt from "../../../../../../index.mjs";
|
|
|
9
9
|
* sort_order: "asc",
|
|
10
10
|
* page: 1,
|
|
11
11
|
* page_size: 1,
|
|
12
|
+
* filter_status: ["open"],
|
|
13
|
+
* filter_department_id: ["filter_department_id"],
|
|
12
14
|
* filter_assigned_operator_user_id: "filter_assigned_operator_user_id",
|
|
13
15
|
* filter_needs_action: true,
|
|
14
16
|
* filter_unassigned: true
|
|
@@ -43,7 +43,8 @@ export declare class Departments {
|
|
|
43
43
|
* sort_by: "created_at",
|
|
44
44
|
* sort_order: "asc",
|
|
45
45
|
* page: 1,
|
|
46
|
-
* page_size: 1
|
|
46
|
+
* page_size: 1,
|
|
47
|
+
* filter_department: ["automotive"]
|
|
47
48
|
* })
|
|
48
49
|
*/
|
|
49
50
|
listV1(request?: Chrt.operations.DepartmentsListV1Request, requestOptions?: Departments.RequestOptions): core.HttpResponsePromise<Chrt.DepartmentListRes>;
|
|
@@ -64,6 +64,7 @@ export declare class Drivers {
|
|
|
64
64
|
* @example
|
|
65
65
|
* await client.shipping.drivers.listOrgMembersAndDriversV1({
|
|
66
66
|
* search: "search",
|
|
67
|
+
* filter_role: ["owner"],
|
|
67
68
|
* filter_available_according_to_driver: true,
|
|
68
69
|
* filter_available_according_to_operators: true,
|
|
69
70
|
* sort_by: "first_name",
|
|
@@ -151,6 +151,7 @@ export class Drivers {
|
|
|
151
151
|
* @example
|
|
152
152
|
* await client.shipping.drivers.listOrgMembersAndDriversV1({
|
|
153
153
|
* search: "search",
|
|
154
|
+
* filter_role: ["owner"],
|
|
154
155
|
* filter_available_according_to_driver: true,
|
|
155
156
|
* filter_available_according_to_operators: true,
|
|
156
157
|
* sort_by: "first_name",
|
package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.mts
CHANGED
|
@@ -73,6 +73,7 @@ export declare class Expanded {
|
|
|
73
73
|
* page: 1,
|
|
74
74
|
* page_size: 1,
|
|
75
75
|
* search: "search",
|
|
76
|
+
* filter_status: ["draft"],
|
|
76
77
|
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
77
78
|
* filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
78
79
|
* filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
@@ -109,6 +110,7 @@ export declare class Expanded {
|
|
|
109
110
|
* page: 1,
|
|
110
111
|
* page_size: 1,
|
|
111
112
|
* search: "search",
|
|
113
|
+
* filter_status: ["draft"],
|
|
112
114
|
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
113
115
|
* filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
114
116
|
* filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.mjs
CHANGED
|
@@ -160,6 +160,7 @@ export class Expanded {
|
|
|
160
160
|
* page: 1,
|
|
161
161
|
* page_size: 1,
|
|
162
162
|
* search: "search",
|
|
163
|
+
* filter_status: ["draft"],
|
|
163
164
|
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
164
165
|
* filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
165
166
|
* filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
@@ -318,6 +319,7 @@ export class Expanded {
|
|
|
318
319
|
* page: 1,
|
|
319
320
|
* page_size: 1,
|
|
320
321
|
* search: "search",
|
|
322
|
+
* filter_status: ["draft"],
|
|
321
323
|
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
322
324
|
* filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
323
325
|
* filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
@@ -10,6 +10,7 @@ import * as Chrt from "../../../../../../../../index.mjs";
|
|
|
10
10
|
* page: 1,
|
|
11
11
|
* page_size: 1,
|
|
12
12
|
* search: "search",
|
|
13
|
+
* filter_status: ["draft"],
|
|
13
14
|
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
14
15
|
* filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
15
16
|
* filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
@@ -10,6 +10,7 @@ import * as Chrt from "../../../../../../../../index.mjs";
|
|
|
10
10
|
* page: 1,
|
|
11
11
|
* page_size: 1,
|
|
12
12
|
* search: "search",
|
|
13
|
+
* filter_status: ["draft"],
|
|
13
14
|
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
14
15
|
* filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
15
16
|
* filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.mts
CHANGED
|
@@ -101,6 +101,7 @@ export declare class Expanded {
|
|
|
101
101
|
* page: 1,
|
|
102
102
|
* page_size: 1,
|
|
103
103
|
* search: "search",
|
|
104
|
+
* filter_status: ["draft"],
|
|
104
105
|
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
105
106
|
* filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
106
107
|
* filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
@@ -138,6 +139,7 @@ export declare class Expanded {
|
|
|
138
139
|
* page: 1,
|
|
139
140
|
* page_size: 1,
|
|
140
141
|
* search: "search",
|
|
142
|
+
* filter_status: ["draft"],
|
|
141
143
|
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
142
144
|
* filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
143
145
|
* filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.mjs
CHANGED
|
@@ -286,6 +286,7 @@ export class Expanded {
|
|
|
286
286
|
* page: 1,
|
|
287
287
|
* page_size: 1,
|
|
288
288
|
* search: "search",
|
|
289
|
+
* filter_status: ["draft"],
|
|
289
290
|
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
290
291
|
* filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
291
292
|
* filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
@@ -448,6 +449,7 @@ export class Expanded {
|
|
|
448
449
|
* page: 1,
|
|
449
450
|
* page_size: 1,
|
|
450
451
|
* search: "search",
|
|
452
|
+
* filter_status: ["draft"],
|
|
451
453
|
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
452
454
|
* filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
453
455
|
* filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
@@ -10,6 +10,7 @@ import * as Chrt from "../../../../../../../../index.mjs";
|
|
|
10
10
|
* page: 1,
|
|
11
11
|
* page_size: 1,
|
|
12
12
|
* search: "search",
|
|
13
|
+
* filter_status: ["draft"],
|
|
13
14
|
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
14
15
|
* filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
15
16
|
* filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
@@ -10,6 +10,7 @@ import * as Chrt from "../../../../../../../../index.mjs";
|
|
|
10
10
|
* page: 1,
|
|
11
11
|
* page_size: 1,
|
|
12
12
|
* search: "search",
|
|
13
|
+
* filter_status: ["draft"],
|
|
13
14
|
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
14
15
|
* filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
15
16
|
* filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
@@ -30,6 +30,21 @@ export declare namespace Dev {
|
|
|
30
30
|
export declare class Dev {
|
|
31
31
|
protected readonly _options: Dev.Options;
|
|
32
32
|
constructor(_options?: Dev.Options);
|
|
33
|
+
/**
|
|
34
|
+
* Creates or updates a Temporal Schedule that runs the scheduled hello workflow for a driver. | authz: min_org_role=administrator | (ScheduledHelloPocReq) -> (ScheduledHelloPocRes)
|
|
35
|
+
*
|
|
36
|
+
* @param {Chrt.utils.ScheduledHelloPocReq} request
|
|
37
|
+
* @param {Dev.RequestOptions} requestOptions - Request-specific configuration.
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
* await client.utils.dev.postAgentScheduledHelloPocV1({
|
|
43
|
+
* driver_name: "driver_name"
|
|
44
|
+
* })
|
|
45
|
+
*/
|
|
46
|
+
postAgentScheduledHelloPocV1(request: Chrt.utils.ScheduledHelloPocReq, requestOptions?: Dev.RequestOptions): core.HttpResponsePromise<Chrt.ScheduledHelloPocRes>;
|
|
47
|
+
private __postAgentScheduledHelloPocV1;
|
|
33
48
|
/**
|
|
34
49
|
* Runs a customer service agent that responds with logistics fun facts (real order data not yet available). | (AgentReq) -> (AgentRes)
|
|
35
50
|
*
|
|
@@ -43,6 +58,19 @@ export declare class Dev {
|
|
|
43
58
|
*/
|
|
44
59
|
postAgentV1(request?: Chrt.utils.AgentReq, requestOptions?: Dev.RequestOptions): core.HttpResponsePromise<Chrt.AgentRes>;
|
|
45
60
|
private __postAgentV1;
|
|
61
|
+
/**
|
|
62
|
+
* Runs a lightweight Temporal workflow and activity round trip for developer diagnostics. | (PingReq) -> (PingRes)
|
|
63
|
+
*
|
|
64
|
+
* @param {Chrt.utils.PingReq} request
|
|
65
|
+
* @param {Dev.RequestOptions} requestOptions - Request-specific configuration.
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
68
|
+
*
|
|
69
|
+
* @example
|
|
70
|
+
* await client.utils.dev.postAgentPingV1()
|
|
71
|
+
*/
|
|
72
|
+
postAgentPingV1(request?: Chrt.utils.PingReq, requestOptions?: Dev.RequestOptions): core.HttpResponsePromise<Chrt.PingRes>;
|
|
73
|
+
private __postAgentPingV1;
|
|
46
74
|
/**
|
|
47
75
|
* Fetches expanded order data and returns an AI-generated natural-language summary. | (ReadOrderAgentReq) -> (ReadOrderAgentRes)
|
|
48
76
|
*
|
|
@@ -19,6 +19,70 @@ export class Dev {
|
|
|
19
19
|
constructor(_options = {}) {
|
|
20
20
|
this._options = _options;
|
|
21
21
|
}
|
|
22
|
+
/**
|
|
23
|
+
* Creates or updates a Temporal Schedule that runs the scheduled hello workflow for a driver. | authz: min_org_role=administrator | (ScheduledHelloPocReq) -> (ScheduledHelloPocRes)
|
|
24
|
+
*
|
|
25
|
+
* @param {Chrt.utils.ScheduledHelloPocReq} request
|
|
26
|
+
* @param {Dev.RequestOptions} requestOptions - Request-specific configuration.
|
|
27
|
+
*
|
|
28
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* await client.utils.dev.postAgentScheduledHelloPocV1({
|
|
32
|
+
* driver_name: "driver_name"
|
|
33
|
+
* })
|
|
34
|
+
*/
|
|
35
|
+
postAgentScheduledHelloPocV1(request, requestOptions) {
|
|
36
|
+
return core.HttpResponsePromise.fromPromise(this.__postAgentScheduledHelloPocV1(request, requestOptions));
|
|
37
|
+
}
|
|
38
|
+
__postAgentScheduledHelloPocV1(request, requestOptions) {
|
|
39
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
40
|
+
var _a, _b, _c, _d;
|
|
41
|
+
let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
42
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
43
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "dev/agent/scheduled-hello-poc/v1"),
|
|
44
|
+
method: "POST",
|
|
45
|
+
headers: _headers,
|
|
46
|
+
contentType: "application/json",
|
|
47
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
48
|
+
requestType: "json",
|
|
49
|
+
body: request,
|
|
50
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
51
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
52
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
53
|
+
});
|
|
54
|
+
if (_response.ok) {
|
|
55
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
56
|
+
}
|
|
57
|
+
if (_response.error.reason === "status-code") {
|
|
58
|
+
switch (_response.error.statusCode) {
|
|
59
|
+
case 422:
|
|
60
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
61
|
+
default:
|
|
62
|
+
throw new errors.ChrtError({
|
|
63
|
+
statusCode: _response.error.statusCode,
|
|
64
|
+
body: _response.error.body,
|
|
65
|
+
rawResponse: _response.rawResponse,
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
switch (_response.error.reason) {
|
|
70
|
+
case "non-json":
|
|
71
|
+
throw new errors.ChrtError({
|
|
72
|
+
statusCode: _response.error.statusCode,
|
|
73
|
+
body: _response.error.rawBody,
|
|
74
|
+
rawResponse: _response.rawResponse,
|
|
75
|
+
});
|
|
76
|
+
case "timeout":
|
|
77
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /dev/agent/scheduled-hello-poc/v1.");
|
|
78
|
+
case "unknown":
|
|
79
|
+
throw new errors.ChrtError({
|
|
80
|
+
message: _response.error.errorMessage,
|
|
81
|
+
rawResponse: _response.rawResponse,
|
|
82
|
+
});
|
|
83
|
+
}
|
|
84
|
+
});
|
|
85
|
+
}
|
|
22
86
|
/**
|
|
23
87
|
* Runs a customer service agent that responds with logistics fun facts (real order data not yet available). | (AgentReq) -> (AgentRes)
|
|
24
88
|
*
|
|
@@ -81,6 +145,68 @@ export class Dev {
|
|
|
81
145
|
}
|
|
82
146
|
});
|
|
83
147
|
}
|
|
148
|
+
/**
|
|
149
|
+
* Runs a lightweight Temporal workflow and activity round trip for developer diagnostics. | (PingReq) -> (PingRes)
|
|
150
|
+
*
|
|
151
|
+
* @param {Chrt.utils.PingReq} request
|
|
152
|
+
* @param {Dev.RequestOptions} requestOptions - Request-specific configuration.
|
|
153
|
+
*
|
|
154
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
155
|
+
*
|
|
156
|
+
* @example
|
|
157
|
+
* await client.utils.dev.postAgentPingV1()
|
|
158
|
+
*/
|
|
159
|
+
postAgentPingV1(request = {}, requestOptions) {
|
|
160
|
+
return core.HttpResponsePromise.fromPromise(this.__postAgentPingV1(request, requestOptions));
|
|
161
|
+
}
|
|
162
|
+
__postAgentPingV1() {
|
|
163
|
+
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
164
|
+
var _a, _b, _c, _d;
|
|
165
|
+
let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
166
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
167
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "dev/agent/ping/v1"),
|
|
168
|
+
method: "POST",
|
|
169
|
+
headers: _headers,
|
|
170
|
+
contentType: "application/json",
|
|
171
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
172
|
+
requestType: "json",
|
|
173
|
+
body: request,
|
|
174
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
175
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
176
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
177
|
+
});
|
|
178
|
+
if (_response.ok) {
|
|
179
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
180
|
+
}
|
|
181
|
+
if (_response.error.reason === "status-code") {
|
|
182
|
+
switch (_response.error.statusCode) {
|
|
183
|
+
case 422:
|
|
184
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
185
|
+
default:
|
|
186
|
+
throw new errors.ChrtError({
|
|
187
|
+
statusCode: _response.error.statusCode,
|
|
188
|
+
body: _response.error.body,
|
|
189
|
+
rawResponse: _response.rawResponse,
|
|
190
|
+
});
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
switch (_response.error.reason) {
|
|
194
|
+
case "non-json":
|
|
195
|
+
throw new errors.ChrtError({
|
|
196
|
+
statusCode: _response.error.statusCode,
|
|
197
|
+
body: _response.error.rawBody,
|
|
198
|
+
rawResponse: _response.rawResponse,
|
|
199
|
+
});
|
|
200
|
+
case "timeout":
|
|
201
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /dev/agent/ping/v1.");
|
|
202
|
+
case "unknown":
|
|
203
|
+
throw new errors.ChrtError({
|
|
204
|
+
message: _response.error.errorMessage,
|
|
205
|
+
rawResponse: _response.rawResponse,
|
|
206
|
+
});
|
|
207
|
+
}
|
|
208
|
+
});
|
|
209
|
+
}
|
|
84
210
|
/**
|
|
85
211
|
* Fetches expanded order data and returns an AI-generated natural-language summary. | (ReadOrderAgentReq) -> (ReadOrderAgentRes)
|
|
86
212
|
*
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../../../../../../index.mjs";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* driver_name: "driver_name"
|
|
9
|
+
* }
|
|
10
|
+
*/
|
|
11
|
+
export interface ScheduledHelloPocReq {
|
|
12
|
+
driver_name: string;
|
|
13
|
+
schedule_spec?: Chrt.ScheduleSpec;
|
|
14
|
+
catchup_window_seconds?: number;
|
|
15
|
+
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
export { type ScheduledHelloPocReq } from "./ScheduledHelloPocReq.mjs";
|
|
1
2
|
export { type AgentReq } from "./AgentReq.mjs";
|
|
3
|
+
export { type PingReq } from "./PingReq.mjs";
|
|
2
4
|
export { type ReadOrderAgentReq } from "./ReadOrderAgentReq.mjs";
|
|
3
5
|
export { type TemplateReq } from "./TemplateReq.mjs";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.mjs";
|
|
5
|
+
export interface ScheduleCalendarSpec {
|
|
6
|
+
second?: Chrt.ScheduleRange[];
|
|
7
|
+
minute?: Chrt.ScheduleRange[];
|
|
8
|
+
hour?: Chrt.ScheduleRange[];
|
|
9
|
+
day_of_month?: Chrt.ScheduleRange[];
|
|
10
|
+
month?: Chrt.ScheduleRange[];
|
|
11
|
+
year?: Chrt.ScheduleRange[];
|
|
12
|
+
day_of_week?: Chrt.ScheduleRange[];
|
|
13
|
+
comment?: string | null;
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.mjs";
|
|
5
|
+
export interface ScheduleSpec {
|
|
6
|
+
calendars?: Chrt.ScheduleCalendarSpec[];
|
|
7
|
+
intervals?: Chrt.ScheduleIntervalSpec[];
|
|
8
|
+
cron_expressions?: string[];
|
|
9
|
+
skip?: Chrt.ScheduleCalendarSpec[];
|
|
10
|
+
start_at?: string | null;
|
|
11
|
+
end_at?: string | null;
|
|
12
|
+
jitter?: string | null;
|
|
13
|
+
time_zone_name?: string | null;
|
|
14
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.mjs";
|
|
5
|
+
export interface ScheduledHelloPocRes {
|
|
6
|
+
schedule_id: string;
|
|
7
|
+
order_id: string;
|
|
8
|
+
driver_name: string;
|
|
9
|
+
workflow_name: string;
|
|
10
|
+
workflow_id: string;
|
|
11
|
+
task_queue: string;
|
|
12
|
+
schedule_spec: Chrt.ScheduleSpec;
|
|
13
|
+
catchup_window_seconds: number;
|
|
14
|
+
created: boolean;
|
|
15
|
+
next_action_times: string[];
|
|
16
|
+
}
|
|
@@ -210,6 +210,7 @@ export * from "./OrgPublicData1.mjs";
|
|
|
210
210
|
export * from "./OrgRoleEnum.mjs";
|
|
211
211
|
export * from "./OrgTypeEnum.mjs";
|
|
212
212
|
export * from "./OutlierLabellerEnum.mjs";
|
|
213
|
+
export * from "./PingRes.mjs";
|
|
213
214
|
export * from "./PlatformEnum.mjs";
|
|
214
215
|
export * from "./Point.mjs";
|
|
215
216
|
export * from "./Polygon.mjs";
|
|
@@ -225,6 +226,11 @@ export * from "./ProviderProviderConnection1.mjs";
|
|
|
225
226
|
export * from "./RateSheetMapping1.mjs";
|
|
226
227
|
export * from "./RateSheetMappingListRes.mjs";
|
|
227
228
|
export * from "./ReadOrderAgentRes.mjs";
|
|
229
|
+
export * from "./ScheduleCalendarSpec.mjs";
|
|
230
|
+
export * from "./ScheduleIntervalSpec.mjs";
|
|
231
|
+
export * from "./ScheduleRange.mjs";
|
|
232
|
+
export * from "./ScheduleSpec.mjs";
|
|
233
|
+
export * from "./ScheduledHelloPocRes.mjs";
|
|
228
234
|
export * from "./Session1.mjs";
|
|
229
235
|
export * from "./SessionByDeviceDataPoint1.mjs";
|
|
230
236
|
export * from "./SessionByDeviceDataPointMetadata1.mjs";
|
|
@@ -210,6 +210,7 @@ export * from "./OrgPublicData1.mjs";
|
|
|
210
210
|
export * from "./OrgRoleEnum.mjs";
|
|
211
211
|
export * from "./OrgTypeEnum.mjs";
|
|
212
212
|
export * from "./OutlierLabellerEnum.mjs";
|
|
213
|
+
export * from "./PingRes.mjs";
|
|
213
214
|
export * from "./PlatformEnum.mjs";
|
|
214
215
|
export * from "./Point.mjs";
|
|
215
216
|
export * from "./Polygon.mjs";
|
|
@@ -225,6 +226,11 @@ export * from "./ProviderProviderConnection1.mjs";
|
|
|
225
226
|
export * from "./RateSheetMapping1.mjs";
|
|
226
227
|
export * from "./RateSheetMappingListRes.mjs";
|
|
227
228
|
export * from "./ReadOrderAgentRes.mjs";
|
|
229
|
+
export * from "./ScheduleCalendarSpec.mjs";
|
|
230
|
+
export * from "./ScheduleIntervalSpec.mjs";
|
|
231
|
+
export * from "./ScheduleRange.mjs";
|
|
232
|
+
export * from "./ScheduleSpec.mjs";
|
|
233
|
+
export * from "./ScheduledHelloPocRes.mjs";
|
|
228
234
|
export * from "./Session1.mjs";
|
|
229
235
|
export * from "./SessionByDeviceDataPoint1.mjs";
|
|
230
236
|
export * from "./SessionByDeviceDataPointMetadata1.mjs";
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.
|
|
1
|
+
export declare const SDK_VERSION = "1.639.0";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "1.
|
|
1
|
+
export const SDK_VERSION = "1.639.0";
|