@chrt-inc/typescript-sdk 1.675.0 → 1.681.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/shipping/resources/flights/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/shipping/resources/flights/client/Client.js +1 -1
- package/dist/cjs/api/resources/shipping/resources/taskArtifacts/client/Client.d.ts +3 -3
- package/dist/cjs/api/resources/shipping/resources/taskArtifacts/client/Client.js +3 -3
- package/dist/cjs/api/resources/shipping/resources/taskArtifacts/resources/s3Object/client/Client.d.ts +3 -3
- package/dist/cjs/api/resources/shipping/resources/taskArtifacts/resources/s3Object/client/Client.js +3 -3
- package/dist/cjs/api/resources/shipping/resources/taskGroups/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/shipping/resources/taskGroups/client/Client.js +1 -1
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/s3Object/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/s3Object/client/Client.js +1 -1
- package/dist/cjs/api/resources/shipping/resources/tasks/client/Client.d.ts +18 -2
- package/dist/cjs/api/resources/shipping/resources/tasks/client/Client.js +66 -2
- package/dist/cjs/api/resources/shipping/resources/tasks/index.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/tasks/index.js +1 -0
- package/dist/cjs/api/resources/shipping/resources/tasks/resources/executorOrgNotes/client/Client.d.ts +50 -0
- package/dist/cjs/api/resources/shipping/resources/tasks/resources/executorOrgNotes/client/Client.js +133 -0
- package/dist/cjs/api/resources/shipping/resources/tasks/resources/executorOrgNotes/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/shipping/resources/tasks/resources/executorOrgNotes/client/index.js +17 -0
- package/dist/cjs/api/resources/shipping/resources/tasks/resources/executorOrgNotes/client/requests/AddExecutorOrgNoteReq.d.ts +13 -0
- package/dist/cjs/api/resources/shipping/resources/tasks/resources/executorOrgNotes/client/requests/AddExecutorOrgNoteReq.js +5 -0
- package/dist/cjs/api/resources/shipping/resources/tasks/resources/executorOrgNotes/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/tasks/resources/executorOrgNotes/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/shipping/resources/tasks/resources/executorOrgNotes/index.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/tasks/resources/executorOrgNotes/index.js +17 -0
- package/dist/cjs/api/resources/shipping/resources/tasks/resources/index.d.ts +2 -0
- package/dist/cjs/api/resources/shipping/resources/tasks/resources/index.js +41 -0
- package/dist/cjs/api/resources/tracking/resources/devices/client/Client.d.ts +8 -8
- package/dist/cjs/api/resources/tracking/resources/devices/client/Client.js +8 -8
- package/dist/cjs/api/resources/tracking/resources/driver/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/tracking/resources/driver/client/Client.js +1 -1
- package/dist/cjs/api/resources/tracking/resources/sessions/client/Client.d.ts +6 -6
- package/dist/cjs/api/resources/tracking/resources/sessions/client/Client.js +6 -6
- package/dist/cjs/api/resources/tracking/resources/sharingSettings/client/Client.d.ts +3 -3
- package/dist/cjs/api/resources/tracking/resources/sharingSettings/client/Client.js +3 -3
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/Client.d.ts +3 -3
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/Client.js +3 -3
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDriver/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDriver/client/Client.js +2 -2
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/sessionByDevice/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/sessionByDevice/client/Client.js +1 -1
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/Client.js +2 -2
- package/dist/cjs/api/types/ListingListingDriverInvitedToBidWebhookPayload.d.ts +16 -0
- package/dist/cjs/api/types/ListingListingDriverInvitedToBidWebhookPayload.js +5 -0
- package/dist/cjs/api/types/ListingListingProviderInvitedToBidWebhookPayload.d.ts +16 -0
- package/dist/cjs/api/types/ListingListingProviderInvitedToBidWebhookPayload.js +5 -0
- package/dist/cjs/api/types/NotificationEventsForOrgsEnum.d.ts +5 -1
- package/dist/cjs/api/types/NotificationEventsForOrgsEnum.js +4 -0
- package/dist/cjs/api/types/NotificationEventsForUsersEnum.d.ts +4 -1
- package/dist/cjs/api/types/NotificationEventsForUsersEnum.js +3 -0
- package/dist/cjs/api/types/OperationsCaseGroupAssignedWebhookPayload.d.ts +16 -0
- package/dist/cjs/api/types/OperationsCaseGroupAssignedWebhookPayload.js +5 -0
- package/dist/cjs/api/types/OperationsCaseOperatorAssignedWebhookPayload.d.ts +14 -0
- package/dist/cjs/api/types/OperationsCaseOperatorAssignedWebhookPayload.js +5 -0
- package/dist/cjs/api/types/Task1.d.ts +2 -0
- package/dist/cjs/api/types/TaskExecutorOrgNote1.d.ts +11 -0
- package/dist/cjs/api/types/TaskExecutorOrgNote1.js +5 -0
- package/dist/cjs/api/types/TaskStatusEnum1.d.ts +2 -1
- package/dist/cjs/api/types/TaskStatusEnum1.js +1 -0
- package/dist/cjs/api/types/index.d.ts +5 -0
- package/dist/cjs/api/types/index.js +5 -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/shipping/resources/flights/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/shipping/resources/flights/client/Client.mjs +1 -1
- package/dist/esm/api/resources/shipping/resources/taskArtifacts/client/Client.d.mts +3 -3
- package/dist/esm/api/resources/shipping/resources/taskArtifacts/client/Client.mjs +3 -3
- package/dist/esm/api/resources/shipping/resources/taskArtifacts/resources/s3Object/client/Client.d.mts +3 -3
- package/dist/esm/api/resources/shipping/resources/taskArtifacts/resources/s3Object/client/Client.mjs +3 -3
- package/dist/esm/api/resources/shipping/resources/taskGroups/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/shipping/resources/taskGroups/client/Client.mjs +1 -1
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/s3Object/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/s3Object/client/Client.mjs +1 -1
- package/dist/esm/api/resources/shipping/resources/tasks/client/Client.d.mts +18 -2
- package/dist/esm/api/resources/shipping/resources/tasks/client/Client.mjs +66 -2
- package/dist/esm/api/resources/shipping/resources/tasks/index.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/tasks/index.mjs +1 -0
- package/dist/esm/api/resources/shipping/resources/tasks/resources/executorOrgNotes/client/Client.d.mts +50 -0
- package/dist/esm/api/resources/shipping/resources/tasks/resources/executorOrgNotes/client/Client.mjs +96 -0
- package/dist/esm/api/resources/shipping/resources/tasks/resources/executorOrgNotes/client/index.d.mts +2 -0
- package/dist/esm/api/resources/shipping/resources/tasks/resources/executorOrgNotes/client/index.mjs +1 -0
- package/dist/esm/api/resources/shipping/resources/tasks/resources/executorOrgNotes/client/requests/AddExecutorOrgNoteReq.d.mts +13 -0
- package/dist/esm/api/resources/shipping/resources/tasks/resources/executorOrgNotes/client/requests/AddExecutorOrgNoteReq.mjs +4 -0
- package/dist/esm/api/resources/shipping/resources/tasks/resources/executorOrgNotes/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/tasks/resources/executorOrgNotes/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/shipping/resources/tasks/resources/executorOrgNotes/index.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/tasks/resources/executorOrgNotes/index.mjs +1 -0
- package/dist/esm/api/resources/shipping/resources/tasks/resources/index.d.mts +2 -0
- package/dist/esm/api/resources/shipping/resources/tasks/resources/index.mjs +2 -0
- package/dist/esm/api/resources/tracking/resources/devices/client/Client.d.mts +8 -8
- package/dist/esm/api/resources/tracking/resources/devices/client/Client.mjs +8 -8
- package/dist/esm/api/resources/tracking/resources/driver/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/tracking/resources/driver/client/Client.mjs +1 -1
- package/dist/esm/api/resources/tracking/resources/sessions/client/Client.d.mts +6 -6
- package/dist/esm/api/resources/tracking/resources/sessions/client/Client.mjs +6 -6
- package/dist/esm/api/resources/tracking/resources/sharingSettings/client/Client.d.mts +3 -3
- package/dist/esm/api/resources/tracking/resources/sharingSettings/client/Client.mjs +3 -3
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/Client.d.mts +3 -3
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/Client.mjs +3 -3
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDriver/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDriver/client/Client.mjs +2 -2
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/sessionByDevice/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/sessionByDevice/client/Client.mjs +1 -1
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/Client.mjs +2 -2
- package/dist/esm/api/types/ListingListingDriverInvitedToBidWebhookPayload.d.mts +16 -0
- package/dist/esm/api/types/ListingListingDriverInvitedToBidWebhookPayload.mjs +4 -0
- package/dist/esm/api/types/ListingListingProviderInvitedToBidWebhookPayload.d.mts +16 -0
- package/dist/esm/api/types/ListingListingProviderInvitedToBidWebhookPayload.mjs +4 -0
- package/dist/esm/api/types/NotificationEventsForOrgsEnum.d.mts +5 -1
- package/dist/esm/api/types/NotificationEventsForOrgsEnum.mjs +4 -0
- package/dist/esm/api/types/NotificationEventsForUsersEnum.d.mts +4 -1
- package/dist/esm/api/types/NotificationEventsForUsersEnum.mjs +3 -0
- package/dist/esm/api/types/OperationsCaseGroupAssignedWebhookPayload.d.mts +16 -0
- package/dist/esm/api/types/OperationsCaseGroupAssignedWebhookPayload.mjs +4 -0
- package/dist/esm/api/types/OperationsCaseOperatorAssignedWebhookPayload.d.mts +14 -0
- package/dist/esm/api/types/OperationsCaseOperatorAssignedWebhookPayload.mjs +4 -0
- package/dist/esm/api/types/Task1.d.mts +2 -0
- package/dist/esm/api/types/TaskExecutorOrgNote1.d.mts +11 -0
- package/dist/esm/api/types/TaskExecutorOrgNote1.mjs +4 -0
- package/dist/esm/api/types/TaskStatusEnum1.d.mts +2 -1
- package/dist/esm/api/types/TaskStatusEnum1.mjs +1 -0
- package/dist/esm/api/types/index.d.mts +5 -0
- package/dist/esm/api/types/index.mjs +5 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +175 -37
|
@@ -20,7 +20,7 @@ export class TaskGroupByDriver {
|
|
|
20
20
|
this._options = _options;
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
|
-
* Returns the most recent driver location data point for a task group. | authz_personas=[
|
|
23
|
+
* Returns the most recent driver location data point for a task group. | auth: api_key | authz_personas=[coordinator_org_operators, shipper_org_operators, executor_org_operators, driver_for_executor] | () -> (TaskGroupByDriverDataPoint1 | None)
|
|
24
24
|
*
|
|
25
25
|
* @param {Chrt.tracking.timeseries.TaskGroupByDriverLastSeenV1Request} request
|
|
26
26
|
* @param {TaskGroupByDriver.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -87,7 +87,7 @@ export class TaskGroupByDriver {
|
|
|
87
87
|
});
|
|
88
88
|
}
|
|
89
89
|
/**
|
|
90
|
-
* Returns sampled driver location data points for a task group. Excludes outliers. | authz_personas=[
|
|
90
|
+
* Returns sampled driver location data points for a task group. Excludes outliers. | auth: api_key | authz_personas=[coordinator_org_operators, shipper_org_operators, executor_org_operators, driver_for_executor] | () -> (list[TaskGroupByDriverDataPoint1])
|
|
91
91
|
*
|
|
92
92
|
* @param {Chrt.tracking.timeseries.TaskGroupByDriverDataPointsV1Request} request
|
|
93
93
|
* @param {TaskGroupByDriver.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface ListingListingDriverInvitedToBidWebhookPayload {
|
|
5
|
+
event_type?: "listing.listing.driver_invited_to_bid";
|
|
6
|
+
/** UTC timestamp when the event occurred */
|
|
7
|
+
event_timestamp: string;
|
|
8
|
+
/** The listing the driver was invited to */
|
|
9
|
+
listing_id: string;
|
|
10
|
+
/** The order associated with the listing */
|
|
11
|
+
order_id: string;
|
|
12
|
+
/** The task group associated with the listing */
|
|
13
|
+
task_group_id: string;
|
|
14
|
+
/** Drivers invited to the listing */
|
|
15
|
+
driver_ids: string[];
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface ListingListingProviderInvitedToBidWebhookPayload {
|
|
5
|
+
event_type?: "listing.listing.provider_invited_to_bid";
|
|
6
|
+
/** UTC timestamp when the event occurred */
|
|
7
|
+
event_timestamp: string;
|
|
8
|
+
/** The listing the provider org was invited to */
|
|
9
|
+
listing_id: string;
|
|
10
|
+
/** The order associated with the listing */
|
|
11
|
+
order_id: string;
|
|
12
|
+
/** The task group associated with the listing */
|
|
13
|
+
task_group_id: string;
|
|
14
|
+
/** Provider orgs invited to the listing */
|
|
15
|
+
provider_org_ids: string[];
|
|
16
|
+
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* Controlled by Groups that admins configure.
|
|
7
7
|
* Individual users in the group can opt out.
|
|
8
8
|
*/
|
|
9
|
-
export type NotificationEventsForOrgsEnum = "shipping.order.staged" | "shipping.order.completed" | "shipping.order.cancelled" | "shipping.task_group.courier_org_assigned" | "shipping.task_group.in_progress" | "shipping.task_group.file_added" | "shipping.task_group.driver_assigned" | "shipping.task_group.message" | "shipping.task_group.tasks_ordering_updated" | "shipping.task_group.flight_info_updated" | "shipping.task.added" | "shipping.task.completed" | "shipping.task.skipped" | "shipping.task.deleted" | "shipping.task.task_artifact_completed" | "billing.statement.opened" | "billing.statement.paid" | "billing.line_item_group.message" | "billing.line_item_group.file_added";
|
|
9
|
+
export type NotificationEventsForOrgsEnum = "shipping.order.staged" | "shipping.order.completed" | "shipping.order.cancelled" | "shipping.task_group.courier_org_assigned" | "shipping.task_group.in_progress" | "shipping.task_group.file_added" | "shipping.task_group.driver_assigned" | "shipping.task_group.message" | "shipping.task_group.tasks_ordering_updated" | "shipping.task_group.flight_info_updated" | "shipping.task.added" | "shipping.task.completed" | "shipping.task.skipped" | "shipping.task.deleted" | "shipping.task.task_artifact_completed" | "listing.listing.driver_invited_to_bid" | "listing.listing.provider_invited_to_bid" | "operations.case.operator_assigned" | "operations.case.group_assigned" | "billing.statement.opened" | "billing.statement.paid" | "billing.line_item_group.message" | "billing.line_item_group.file_added";
|
|
10
10
|
export declare const NotificationEventsForOrgsEnum: {
|
|
11
11
|
readonly ShippingOrderStaged: "shipping.order.staged";
|
|
12
12
|
readonly ShippingOrderCompleted: "shipping.order.completed";
|
|
@@ -23,6 +23,10 @@ export declare const NotificationEventsForOrgsEnum: {
|
|
|
23
23
|
readonly ShippingTaskSkipped: "shipping.task.skipped";
|
|
24
24
|
readonly ShippingTaskDeleted: "shipping.task.deleted";
|
|
25
25
|
readonly ShippingTaskTaskArtifactCompleted: "shipping.task.task_artifact_completed";
|
|
26
|
+
readonly ListingListingDriverInvitedToBid: "listing.listing.driver_invited_to_bid";
|
|
27
|
+
readonly ListingListingProviderInvitedToBid: "listing.listing.provider_invited_to_bid";
|
|
28
|
+
readonly OperationsCaseOperatorAssigned: "operations.case.operator_assigned";
|
|
29
|
+
readonly OperationsCaseGroupAssigned: "operations.case.group_assigned";
|
|
26
30
|
readonly BillingStatementOpened: "billing.statement.opened";
|
|
27
31
|
readonly BillingStatementPaid: "billing.statement.paid";
|
|
28
32
|
readonly BillingLineItemGroupMessage: "billing.line_item_group.message";
|
|
@@ -17,6 +17,10 @@ export const NotificationEventsForOrgsEnum = {
|
|
|
17
17
|
ShippingTaskSkipped: "shipping.task.skipped",
|
|
18
18
|
ShippingTaskDeleted: "shipping.task.deleted",
|
|
19
19
|
ShippingTaskTaskArtifactCompleted: "shipping.task.task_artifact_completed",
|
|
20
|
+
ListingListingDriverInvitedToBid: "listing.listing.driver_invited_to_bid",
|
|
21
|
+
ListingListingProviderInvitedToBid: "listing.listing.provider_invited_to_bid",
|
|
22
|
+
OperationsCaseOperatorAssigned: "operations.case.operator_assigned",
|
|
23
|
+
OperationsCaseGroupAssigned: "operations.case.group_assigned",
|
|
20
24
|
BillingStatementOpened: "billing.statement.opened",
|
|
21
25
|
BillingStatementPaid: "billing.statement.paid",
|
|
22
26
|
BillingLineItemGroupMessage: "billing.line_item_group.message",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* - Order events: via `order.created_by_user_id`
|
|
9
9
|
* - TaskGroup events: via `task_group.driver_id`
|
|
10
10
|
*/
|
|
11
|
-
export type NotificationEventsForUsersEnum = "shipping.order.staged" | "shipping.order.completed" | "shipping.order.cancelled" | "shipping.task_group.driver_assigned" | "shipping.task_group.message" | "shipping.task_group.tasks_ordering_updated" | "shipping.task_group.flight_info_updated";
|
|
11
|
+
export type NotificationEventsForUsersEnum = "shipping.order.staged" | "shipping.order.completed" | "shipping.order.cancelled" | "shipping.task_group.driver_assigned" | "shipping.task_group.message" | "shipping.task_group.tasks_ordering_updated" | "shipping.task_group.flight_info_updated" | "listing.listing.driver_invited_to_bid" | "operations.case.operator_assigned" | "operations.case.group_assigned";
|
|
12
12
|
export declare const NotificationEventsForUsersEnum: {
|
|
13
13
|
readonly ShippingOrderStaged: "shipping.order.staged";
|
|
14
14
|
readonly ShippingOrderCompleted: "shipping.order.completed";
|
|
@@ -17,4 +17,7 @@ export declare const NotificationEventsForUsersEnum: {
|
|
|
17
17
|
readonly ShippingTaskGroupMessage: "shipping.task_group.message";
|
|
18
18
|
readonly ShippingTaskGroupTasksOrderingUpdated: "shipping.task_group.tasks_ordering_updated";
|
|
19
19
|
readonly ShippingTaskGroupFlightInfoUpdated: "shipping.task_group.flight_info_updated";
|
|
20
|
+
readonly ListingListingDriverInvitedToBid: "listing.listing.driver_invited_to_bid";
|
|
21
|
+
readonly OperationsCaseOperatorAssigned: "operations.case.operator_assigned";
|
|
22
|
+
readonly OperationsCaseGroupAssigned: "operations.case.group_assigned";
|
|
20
23
|
};
|
|
@@ -9,4 +9,7 @@ export const NotificationEventsForUsersEnum = {
|
|
|
9
9
|
ShippingTaskGroupMessage: "shipping.task_group.message",
|
|
10
10
|
ShippingTaskGroupTasksOrderingUpdated: "shipping.task_group.tasks_ordering_updated",
|
|
11
11
|
ShippingTaskGroupFlightInfoUpdated: "shipping.task_group.flight_info_updated",
|
|
12
|
+
ListingListingDriverInvitedToBid: "listing.listing.driver_invited_to_bid",
|
|
13
|
+
OperationsCaseOperatorAssigned: "operations.case.operator_assigned",
|
|
14
|
+
OperationsCaseGroupAssigned: "operations.case.group_assigned",
|
|
12
15
|
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface OperationsCaseGroupAssignedWebhookPayload {
|
|
5
|
+
event_type?: "operations.case.group_assigned";
|
|
6
|
+
/** UTC timestamp when the event occurred */
|
|
7
|
+
event_timestamp: string;
|
|
8
|
+
/** The case that was assigned to a group */
|
|
9
|
+
case_id: string;
|
|
10
|
+
/** The order associated with the case */
|
|
11
|
+
order_id: string;
|
|
12
|
+
/** The department the case was assigned to */
|
|
13
|
+
department_id: string;
|
|
14
|
+
/** Operators in the assigned department */
|
|
15
|
+
operator_user_ids: string[];
|
|
16
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface OperationsCaseOperatorAssignedWebhookPayload {
|
|
5
|
+
event_type?: "operations.case.operator_assigned";
|
|
6
|
+
/** UTC timestamp when the event occurred */
|
|
7
|
+
event_timestamp: string;
|
|
8
|
+
/** The case that was assigned */
|
|
9
|
+
case_id: string;
|
|
10
|
+
/** The order associated with the case */
|
|
11
|
+
order_id: string;
|
|
12
|
+
/** Operators assigned to the case */
|
|
13
|
+
operator_user_ids: string[];
|
|
14
|
+
}
|
|
@@ -26,11 +26,13 @@ export interface Task1 {
|
|
|
26
26
|
completed_by_user_id?: string | null;
|
|
27
27
|
cargo_ids?: string[];
|
|
28
28
|
task_artifact_ids?: string[];
|
|
29
|
+
executor_org_notes?: Chrt.TaskExecutorOrgNote1[];
|
|
29
30
|
status?: Chrt.TaskStatusEnum1;
|
|
30
31
|
draft_started_at_timestamp: string;
|
|
31
32
|
staged_at_timestamp?: string | null;
|
|
32
33
|
completed_at_timestamp?: string | null;
|
|
33
34
|
skipped_at_timestamp?: string | null;
|
|
35
|
+
attempted_at_timestamp?: string | null;
|
|
34
36
|
exception_at_timestamp?: string | null;
|
|
35
37
|
order_cancelled?: boolean;
|
|
36
38
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface TaskExecutorOrgNote1 {
|
|
5
|
+
note: string;
|
|
6
|
+
/** Must be a string starting with `user_` */
|
|
7
|
+
user_id: string;
|
|
8
|
+
/** Must be a string starting with `org_` */
|
|
9
|
+
org_id: string;
|
|
10
|
+
timestamp: string;
|
|
11
|
+
}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type TaskStatusEnum1 = "draft" | "staged" | "completed" | "skipped" | "exception";
|
|
4
|
+
export type TaskStatusEnum1 = "draft" | "staged" | "completed" | "skipped" | "attempt" | "exception";
|
|
5
5
|
export declare const TaskStatusEnum1: {
|
|
6
6
|
readonly Draft: "draft";
|
|
7
7
|
readonly Staged: "staged";
|
|
8
8
|
readonly Completed: "completed";
|
|
9
9
|
readonly Skipped: "skipped";
|
|
10
|
+
readonly Attempt: "attempt";
|
|
10
11
|
readonly Exception: "exception";
|
|
11
12
|
};
|
|
@@ -155,6 +155,8 @@ export * from "./ListingForBidder1.mjs";
|
|
|
155
155
|
export * from "./ListingForBidderListRes.mjs";
|
|
156
156
|
export * from "./ListingLimitedForBidder1.mjs";
|
|
157
157
|
export * from "./ListingListRes.mjs";
|
|
158
|
+
export * from "./ListingListingDriverInvitedToBidWebhookPayload.mjs";
|
|
159
|
+
export * from "./ListingListingProviderInvitedToBidWebhookPayload.mjs";
|
|
158
160
|
export * from "./ListingSortByEnum.mjs";
|
|
159
161
|
export * from "./ListingStatusEnum.mjs";
|
|
160
162
|
export * from "./ListingTaskForBidder1.mjs";
|
|
@@ -184,6 +186,8 @@ export * from "./OffChrtShipperOrgListRes.mjs";
|
|
|
184
186
|
export * from "./OnboardCourierRateSheet1.mjs";
|
|
185
187
|
export * from "./OnboardCourierRateSheetListRes.mjs";
|
|
186
188
|
export * from "./OnboardCourierTaskActionEnum1.mjs";
|
|
189
|
+
export * from "./OperationsCaseGroupAssignedWebhookPayload.mjs";
|
|
190
|
+
export * from "./OperationsCaseOperatorAssignedWebhookPayload.mjs";
|
|
187
191
|
export * from "./Order1.mjs";
|
|
188
192
|
export * from "./OrderAndTaskGroupExpandedReq.mjs";
|
|
189
193
|
export * from "./OrderBuilderReq.mjs";
|
|
@@ -296,6 +300,7 @@ export * from "./TaskArtifactStatusEnum1.mjs";
|
|
|
296
300
|
export * from "./TaskArtifactTypeEnum1.mjs";
|
|
297
301
|
export * from "./TaskClientCreate1.mjs";
|
|
298
302
|
export * from "./TaskClientUpdate1.mjs";
|
|
303
|
+
export * from "./TaskExecutorOrgNote1.mjs";
|
|
299
304
|
export * from "./TaskExpanded.mjs";
|
|
300
305
|
export * from "./TaskGroup1.mjs";
|
|
301
306
|
export * from "./TaskGroupByDriverDataPoint1.mjs";
|
|
@@ -155,6 +155,8 @@ export * from "./ListingForBidder1.mjs";
|
|
|
155
155
|
export * from "./ListingForBidderListRes.mjs";
|
|
156
156
|
export * from "./ListingLimitedForBidder1.mjs";
|
|
157
157
|
export * from "./ListingListRes.mjs";
|
|
158
|
+
export * from "./ListingListingDriverInvitedToBidWebhookPayload.mjs";
|
|
159
|
+
export * from "./ListingListingProviderInvitedToBidWebhookPayload.mjs";
|
|
158
160
|
export * from "./ListingSortByEnum.mjs";
|
|
159
161
|
export * from "./ListingStatusEnum.mjs";
|
|
160
162
|
export * from "./ListingTaskForBidder1.mjs";
|
|
@@ -184,6 +186,8 @@ export * from "./OffChrtShipperOrgListRes.mjs";
|
|
|
184
186
|
export * from "./OnboardCourierRateSheet1.mjs";
|
|
185
187
|
export * from "./OnboardCourierRateSheetListRes.mjs";
|
|
186
188
|
export * from "./OnboardCourierTaskActionEnum1.mjs";
|
|
189
|
+
export * from "./OperationsCaseGroupAssignedWebhookPayload.mjs";
|
|
190
|
+
export * from "./OperationsCaseOperatorAssignedWebhookPayload.mjs";
|
|
187
191
|
export * from "./Order1.mjs";
|
|
188
192
|
export * from "./OrderAndTaskGroupExpandedReq.mjs";
|
|
189
193
|
export * from "./OrderBuilderReq.mjs";
|
|
@@ -296,6 +300,7 @@ export * from "./TaskArtifactStatusEnum1.mjs";
|
|
|
296
300
|
export * from "./TaskArtifactTypeEnum1.mjs";
|
|
297
301
|
export * from "./TaskClientCreate1.mjs";
|
|
298
302
|
export * from "./TaskClientUpdate1.mjs";
|
|
303
|
+
export * from "./TaskExecutorOrgNote1.mjs";
|
|
299
304
|
export * from "./TaskExpanded.mjs";
|
|
300
305
|
export * from "./TaskGroup1.mjs";
|
|
301
306
|
export * from "./TaskGroupByDriverDataPoint1.mjs";
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.
|
|
1
|
+
export declare const SDK_VERSION = "1.681.0";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "1.
|
|
1
|
+
export const SDK_VERSION = "1.681.0";
|