@chrt-inc/typescript-sdk 1.935.0 → 1.944.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/shippingIntegrations/client/Client.d.ts +3 -0
- package/dist/cjs/api/resources/shippingIntegrations/client/Client.js +9 -4
- package/dist/cjs/api/resources/shippingIntegrations/resources/ecourier/client/Client.d.ts +26 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ecourier/client/Client.js +22 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ecourier/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ecourier/client/index.js +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ecourier/index.d.ts +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ecourier/index.js +18 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ecourier/resources/creds/client/Client.d.ts +119 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ecourier/resources/creds/client/Client.js +430 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ecourier/resources/creds/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ecourier/resources/creds/client/index.js +17 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ecourier/resources/creds/client/requests/EcourierCredsClientCreate1.d.ts +26 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ecourier/resources/creds/client/requests/EcourierCredsClientCreate1.js +5 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ecourier/resources/creds/client/requests/EcourierCredsClientUpdate1.d.ts +15 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ecourier/resources/creds/client/requests/EcourierCredsClientUpdate1.js +5 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ecourier/resources/creds/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ecourier/resources/creds/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ecourier/resources/creds/index.d.ts +1 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ecourier/resources/creds/index.js +17 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ecourier/resources/index.d.ts +4 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ecourier/resources/index.js +43 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ecourier/resources/orders/client/Client.d.ts +104 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ecourier/resources/orders/client/Client.js +371 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ecourier/resources/orders/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ecourier/resources/orders/client/index.js +17 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ecourier/resources/orders/client/requests/EcourierOrderSyncOneReq.d.ts +15 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ecourier/resources/orders/client/requests/EcourierOrderSyncOneReq.js +5 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ecourier/resources/orders/client/requests/OrdersListV1Request.d.ts +48 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ecourier/resources/orders/client/requests/OrdersListV1Request.js +5 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ecourier/resources/orders/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ecourier/resources/orders/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ecourier/resources/orders/index.d.ts +1 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/ecourier/resources/orders/index.js +17 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/index.d.ts +1 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/index.js +2 -1
- package/dist/cjs/api/types/EcourierCredsLimited1.d.ts +29 -0
- package/dist/cjs/api/types/EcourierCredsLimited1.js +5 -0
- package/dist/cjs/api/types/EcourierCredsListRes.d.ts +8 -0
- package/dist/cjs/api/types/EcourierCredsListRes.js +5 -0
- package/dist/cjs/api/types/EcourierCredsTestRes.d.ts +11 -0
- package/dist/cjs/api/types/EcourierCredsTestRes.js +5 -0
- package/dist/cjs/api/types/EcourierOrder1.d.ts +19 -0
- package/dist/cjs/api/types/EcourierOrder1.js +5 -0
- package/dist/cjs/api/types/EcourierOrderCustomerResponse1.d.ts +16 -0
- package/dist/cjs/api/types/EcourierOrderCustomerResponse1.js +5 -0
- package/dist/cjs/api/types/EcourierOrderListRes.d.ts +8 -0
- package/dist/cjs/api/types/EcourierOrderListRes.js +5 -0
- package/dist/cjs/api/types/EcourierOrderResponse1.d.ts +43 -0
- package/dist/cjs/api/types/EcourierOrderResponse1.js +5 -0
- package/dist/cjs/api/types/EcourierOrderSortByEnum.d.ts +10 -0
- package/dist/cjs/api/types/EcourierOrderSortByEnum.js +12 -0
- package/dist/cjs/api/types/EcourierOrderStopResponse1.d.ts +27 -0
- package/dist/cjs/api/types/EcourierOrderStopResponse1.js +5 -0
- package/dist/cjs/api/types/FraytWebhookResponse.d.ts +7 -0
- package/dist/cjs/api/types/FraytWebhookResponse.js +5 -0
- package/dist/cjs/api/types/NotificationEventsForOrgsEnum.d.ts +6 -1
- package/dist/cjs/api/types/NotificationEventsForOrgsEnum.js +5 -0
- package/dist/cjs/api/types/NotificationEventsForUsersEnum.d.ts +6 -1
- package/dist/cjs/api/types/NotificationEventsForUsersEnum.js +5 -0
- package/dist/cjs/api/types/OrgShippingIntegrationEnum1.d.ts +2 -1
- package/dist/cjs/api/types/OrgShippingIntegrationEnum1.js +1 -0
- package/dist/cjs/api/types/ShippingIntegrationOrderStatusChange1.d.ts +17 -0
- package/dist/cjs/api/types/ShippingIntegrationOrderStatusChange1.js +5 -0
- package/dist/cjs/api/types/ShippingIntegrationOrderStatusChangedReq.d.ts +12 -0
- package/dist/cjs/api/types/ShippingIntegrationOrderStatusChangedReq.js +5 -0
- package/dist/cjs/api/types/ShippingIntegrationOrderStatusChangedRes.d.ts +6 -0
- package/dist/cjs/api/types/ShippingIntegrationOrderStatusChangedRes.js +5 -0
- package/dist/cjs/api/types/ShippingIntegrationOrderStatusChangedWebhookPayload.d.ts +37 -0
- package/dist/cjs/api/types/ShippingIntegrationOrderStatusChangedWebhookPayload.js +16 -0
- package/dist/cjs/api/types/index.d.ts +14 -0
- package/dist/cjs/api/types/index.js +14 -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/shippingIntegrations/client/Client.d.mts +3 -0
- package/dist/esm/api/resources/shippingIntegrations/client/Client.mjs +5 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ecourier/client/Client.d.mts +26 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ecourier/client/Client.mjs +18 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ecourier/client/index.d.mts +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ecourier/client/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ecourier/index.d.mts +2 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ecourier/index.mjs +2 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ecourier/resources/creds/client/Client.d.mts +119 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ecourier/resources/creds/client/Client.mjs +393 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ecourier/resources/creds/client/index.d.mts +2 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ecourier/resources/creds/client/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ecourier/resources/creds/client/requests/EcourierCredsClientCreate1.d.mts +26 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ecourier/resources/creds/client/requests/EcourierCredsClientCreate1.mjs +4 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ecourier/resources/creds/client/requests/EcourierCredsClientUpdate1.d.mts +15 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ecourier/resources/creds/client/requests/EcourierCredsClientUpdate1.mjs +4 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ecourier/resources/creds/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ecourier/resources/creds/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ecourier/resources/creds/index.d.mts +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ecourier/resources/creds/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ecourier/resources/index.d.mts +4 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ecourier/resources/index.mjs +4 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ecourier/resources/orders/client/Client.d.mts +104 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ecourier/resources/orders/client/Client.mjs +334 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ecourier/resources/orders/client/index.d.mts +2 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ecourier/resources/orders/client/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ecourier/resources/orders/client/requests/EcourierOrderSyncOneReq.d.mts +15 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ecourier/resources/orders/client/requests/EcourierOrderSyncOneReq.mjs +4 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ecourier/resources/orders/client/requests/OrdersListV1Request.d.mts +48 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ecourier/resources/orders/client/requests/OrdersListV1Request.mjs +4 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ecourier/resources/orders/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ecourier/resources/orders/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ecourier/resources/orders/index.d.mts +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/ecourier/resources/orders/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/index.d.mts +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/index.mjs +1 -0
- package/dist/esm/api/types/EcourierCredsLimited1.d.mts +29 -0
- package/dist/esm/api/types/EcourierCredsLimited1.mjs +4 -0
- package/dist/esm/api/types/EcourierCredsListRes.d.mts +8 -0
- package/dist/esm/api/types/EcourierCredsListRes.mjs +4 -0
- package/dist/esm/api/types/EcourierCredsTestRes.d.mts +11 -0
- package/dist/esm/api/types/EcourierCredsTestRes.mjs +4 -0
- package/dist/esm/api/types/EcourierOrder1.d.mts +19 -0
- package/dist/esm/api/types/EcourierOrder1.mjs +4 -0
- package/dist/esm/api/types/EcourierOrderCustomerResponse1.d.mts +16 -0
- package/dist/esm/api/types/EcourierOrderCustomerResponse1.mjs +4 -0
- package/dist/esm/api/types/EcourierOrderListRes.d.mts +8 -0
- package/dist/esm/api/types/EcourierOrderListRes.mjs +4 -0
- package/dist/esm/api/types/EcourierOrderResponse1.d.mts +43 -0
- package/dist/esm/api/types/EcourierOrderResponse1.mjs +4 -0
- package/dist/esm/api/types/EcourierOrderSortByEnum.d.mts +10 -0
- package/dist/esm/api/types/EcourierOrderSortByEnum.mjs +9 -0
- package/dist/esm/api/types/EcourierOrderStopResponse1.d.mts +27 -0
- package/dist/esm/api/types/EcourierOrderStopResponse1.mjs +4 -0
- package/dist/esm/api/types/FraytWebhookResponse.d.mts +7 -0
- package/dist/esm/api/types/FraytWebhookResponse.mjs +4 -0
- package/dist/esm/api/types/NotificationEventsForOrgsEnum.d.mts +6 -1
- package/dist/esm/api/types/NotificationEventsForOrgsEnum.mjs +5 -0
- package/dist/esm/api/types/NotificationEventsForUsersEnum.d.mts +6 -1
- package/dist/esm/api/types/NotificationEventsForUsersEnum.mjs +5 -0
- package/dist/esm/api/types/OrgShippingIntegrationEnum1.d.mts +2 -1
- package/dist/esm/api/types/OrgShippingIntegrationEnum1.mjs +1 -0
- package/dist/esm/api/types/ShippingIntegrationOrderStatusChange1.d.mts +17 -0
- package/dist/esm/api/types/ShippingIntegrationOrderStatusChange1.mjs +4 -0
- package/dist/esm/api/types/ShippingIntegrationOrderStatusChangedReq.d.mts +12 -0
- package/dist/esm/api/types/ShippingIntegrationOrderStatusChangedReq.mjs +4 -0
- package/dist/esm/api/types/ShippingIntegrationOrderStatusChangedRes.d.mts +6 -0
- package/dist/esm/api/types/ShippingIntegrationOrderStatusChangedRes.mjs +4 -0
- package/dist/esm/api/types/ShippingIntegrationOrderStatusChangedWebhookPayload.d.mts +37 -0
- package/dist/esm/api/types/ShippingIntegrationOrderStatusChangedWebhookPayload.mjs +13 -0
- package/dist/esm/api/types/index.d.mts +14 -0
- package/dist/esm/api/types/index.mjs +14 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +678 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* The only shape of an e-Courier credential a user is ever allowed to receive.
|
|
6
|
+
*/
|
|
7
|
+
export interface EcourierCredsLimited1 {
|
|
8
|
+
_id: string;
|
|
9
|
+
active?: boolean;
|
|
10
|
+
/** Origin of the courier's e-Courier host, with no path. The request path is derived from `ecourier_database`. */
|
|
11
|
+
base_url: string;
|
|
12
|
+
created_at_timestamp: string;
|
|
13
|
+
ecourier_customer_code: string;
|
|
14
|
+
ecourier_customer_id: string;
|
|
15
|
+
ecourier_database: string;
|
|
16
|
+
high_water_mark_timestamp?: string | null;
|
|
17
|
+
notes?: string | null;
|
|
18
|
+
/** Must be a string starting with `org_` */
|
|
19
|
+
org_id: string;
|
|
20
|
+
/** Must be a string starting with `user_` */
|
|
21
|
+
owned_by_user_id: string;
|
|
22
|
+
provider_account_label?: string | null;
|
|
23
|
+
/** Must be a string starting with `org_` */
|
|
24
|
+
provider_org_id: string;
|
|
25
|
+
schema_version: number;
|
|
26
|
+
shipping_integration: "ecourier";
|
|
27
|
+
updated_at_timestamp: string;
|
|
28
|
+
username: string;
|
|
29
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Result of testing whether a stored e-Courier credential still works.
|
|
6
|
+
*/
|
|
7
|
+
export interface EcourierCredsTestRes {
|
|
8
|
+
failure_reason?: string | null;
|
|
9
|
+
ok: boolean;
|
|
10
|
+
provider_account_label?: string | null;
|
|
11
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.js";
|
|
5
|
+
export interface EcourierOrder1 {
|
|
6
|
+
_id: string;
|
|
7
|
+
created_at_timestamp: string;
|
|
8
|
+
integration_order_id: string;
|
|
9
|
+
mirrored_at_timestamp: string;
|
|
10
|
+
/** Must be a string starting with `org_` */
|
|
11
|
+
org_id: string;
|
|
12
|
+
/** Must be a string starting with `org_` */
|
|
13
|
+
provider_org_id: string;
|
|
14
|
+
provider_payload: Chrt.EcourierOrderResponse1;
|
|
15
|
+
provider_payload_hash: string;
|
|
16
|
+
schema_version: number;
|
|
17
|
+
shipping_integration: "ecourier";
|
|
18
|
+
updated_at_timestamp: string;
|
|
19
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* The customer an order belongs to.
|
|
6
|
+
*
|
|
7
|
+
* This is what the customer check reads. `FindOrder`'s `CustomerCode` filter is
|
|
8
|
+
* undocumented, so the sync asserts `customer_code` here on every
|
|
9
|
+
* hydrated order before persisting it, keeping the mirror to our customer's
|
|
10
|
+
* orders rather than trusting the query.
|
|
11
|
+
*/
|
|
12
|
+
export interface EcourierOrderCustomerResponse1 {
|
|
13
|
+
"@CustomerCode"?: string | null;
|
|
14
|
+
"@CustomerID"?: string | null;
|
|
15
|
+
"@Name"?: string | null;
|
|
16
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.js";
|
|
5
|
+
/**
|
|
6
|
+
* One e-Courier order, including caller contact details and POD signoff.
|
|
7
|
+
*
|
|
8
|
+
* `@UserGUID` and `OrderEvents` are the only attributes deliberately absent,
|
|
9
|
+
* and never to be added. See the module docstring.
|
|
10
|
+
*/
|
|
11
|
+
export interface EcourierOrderResponse1 {
|
|
12
|
+
"@AmountCharged"?: string | null;
|
|
13
|
+
"@Auth"?: string | null;
|
|
14
|
+
"@Caller"?: string | null;
|
|
15
|
+
"@CallerEmail"?: string | null;
|
|
16
|
+
"@CallerPhone"?: string | null;
|
|
17
|
+
"@CreateDate"?: string | null;
|
|
18
|
+
"@CreateUserName"?: string | null;
|
|
19
|
+
"@CustomerID"?: string | null;
|
|
20
|
+
"@DeliveredDateTime"?: string | null;
|
|
21
|
+
"@DispatchDateTime"?: string | null;
|
|
22
|
+
"@DueDateTime"?: string | null;
|
|
23
|
+
"@InvoiceStatus"?: string | null;
|
|
24
|
+
"@LastChanged"?: string | null;
|
|
25
|
+
"@OperationalStatus"?: string | null;
|
|
26
|
+
"@OrderAlias"?: string | null;
|
|
27
|
+
"@OrderDate"?: string | null;
|
|
28
|
+
"@OrderGUID"?: string | null;
|
|
29
|
+
"@OrderID"?: string | null;
|
|
30
|
+
"@OrderNumber"?: string | null;
|
|
31
|
+
"@OrderStatus"?: string | null;
|
|
32
|
+
"@PickedUpDateTime"?: string | null;
|
|
33
|
+
"@Pieces"?: string | null;
|
|
34
|
+
"@PodDateTime"?: string | null;
|
|
35
|
+
"@PodName"?: string | null;
|
|
36
|
+
"@Service"?: string | null;
|
|
37
|
+
"@ServiceDesc"?: string | null;
|
|
38
|
+
"@SiteCode"?: string | null;
|
|
39
|
+
"@TotalMiles"?: string | null;
|
|
40
|
+
"@Weight"?: string | null;
|
|
41
|
+
Customer?: Chrt.EcourierOrderCustomerResponse1 | null;
|
|
42
|
+
Stops?: Chrt.EcourierOrderStopResponse1[];
|
|
43
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type EcourierOrderSortByEnum = "mirrored_at_timestamp" | "created_at_timestamp" | "updated_at_timestamp" | "integration_order_id";
|
|
5
|
+
export declare const EcourierOrderSortByEnum: {
|
|
6
|
+
readonly MirroredAtTimestamp: "mirrored_at_timestamp";
|
|
7
|
+
readonly CreatedAtTimestamp: "created_at_timestamp";
|
|
8
|
+
readonly UpdatedAtTimestamp: "updated_at_timestamp";
|
|
9
|
+
readonly IntegrationOrderId: "integration_order_id";
|
|
10
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.EcourierOrderSortByEnum = void 0;
|
|
7
|
+
exports.EcourierOrderSortByEnum = {
|
|
8
|
+
MirroredAtTimestamp: "mirrored_at_timestamp",
|
|
9
|
+
CreatedAtTimestamp: "created_at_timestamp",
|
|
10
|
+
UpdatedAtTimestamp: "updated_at_timestamp",
|
|
11
|
+
IntegrationOrderId: "integration_order_id",
|
|
12
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* One stop on an order.
|
|
6
|
+
*
|
|
7
|
+
* `stop_type` is the authoritative origin/destination marker: `P` for pickup,
|
|
8
|
+
* `D` for delivery. No sequence-number inference is needed, which is
|
|
9
|
+
* cleaner than most integrations give us.
|
|
10
|
+
*/
|
|
11
|
+
export interface EcourierOrderStopResponse1 {
|
|
12
|
+
"@Address"?: string | null;
|
|
13
|
+
"@City"?: string | null;
|
|
14
|
+
"@Country"?: string | null;
|
|
15
|
+
"@Latitude"?: string | null;
|
|
16
|
+
"@Longitude"?: string | null;
|
|
17
|
+
"@Name"?: string | null;
|
|
18
|
+
"@Pieces"?: string | null;
|
|
19
|
+
"@ScheduledDateTime"?: string | null;
|
|
20
|
+
"@ScheduledDateTimeTZ"?: string | null;
|
|
21
|
+
"@Sequence"?: string | null;
|
|
22
|
+
"@State"?: string | null;
|
|
23
|
+
"@StopID"?: string | null;
|
|
24
|
+
"@StopType"?: string | null;
|
|
25
|
+
"@Weight"?: string | null;
|
|
26
|
+
"@Zip"?: string | null;
|
|
27
|
+
}
|
|
@@ -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.provider_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.attempted" | "shipping.task.completed" | "shipping.task.skipped" | "shipping.task.deleted" | "shipping.task.task_artifact_completed" | "shipping.task.executor_org_note_added" | "listing.listing.driver_invited_to_bid" | "listing.listing.provider_invited_to_bid" | "listing.bid_thread.action_added" | "operations.order.operator_assigned" | "operations.order.department_assigned" | "operations.order_internal_messages.message" | "operations.order_internal_messages.file_added" | "billing.invoice.approved" | "tracking.session.geofence_entered";
|
|
9
|
+
export type NotificationEventsForOrgsEnum = "shipping.order.staged" | "shipping.order.completed" | "shipping.order.cancelled" | "shipping.task_group.provider_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.attempted" | "shipping.task.completed" | "shipping.task.skipped" | "shipping.task.deleted" | "shipping.task.task_artifact_completed" | "shipping.task.executor_org_note_added" | "listing.listing.driver_invited_to_bid" | "listing.listing.provider_invited_to_bid" | "listing.bid_thread.action_added" | "operations.order.operator_assigned" | "operations.order.department_assigned" | "operations.order_internal_messages.message" | "operations.order_internal_messages.file_added" | "billing.invoice.approved" | "tracking.session.geofence_entered" | "shipping_integration.order.staged" | "shipping_integration.order.in_progress" | "shipping_integration.order.completed" | "shipping_integration.order.exception" | "shipping_integration.order.cancelled";
|
|
10
10
|
export declare const NotificationEventsForOrgsEnum: {
|
|
11
11
|
readonly ShippingOrderStaged: "shipping.order.staged";
|
|
12
12
|
readonly ShippingOrderCompleted: "shipping.order.completed";
|
|
@@ -34,4 +34,9 @@ export declare const NotificationEventsForOrgsEnum: {
|
|
|
34
34
|
readonly OperationsOrderInternalMessagesFileAdded: "operations.order_internal_messages.file_added";
|
|
35
35
|
readonly BillingInvoiceApproved: "billing.invoice.approved";
|
|
36
36
|
readonly TrackingSessionGeofenceEntered: "tracking.session.geofence_entered";
|
|
37
|
+
readonly ShippingIntegrationOrderStaged: "shipping_integration.order.staged";
|
|
38
|
+
readonly ShippingIntegrationOrderInProgress: "shipping_integration.order.in_progress";
|
|
39
|
+
readonly ShippingIntegrationOrderCompleted: "shipping_integration.order.completed";
|
|
40
|
+
readonly ShippingIntegrationOrderException: "shipping_integration.order.exception";
|
|
41
|
+
readonly ShippingIntegrationOrderCancelled: "shipping_integration.order.cancelled";
|
|
37
42
|
};
|
|
@@ -31,4 +31,9 @@ exports.NotificationEventsForOrgsEnum = {
|
|
|
31
31
|
OperationsOrderInternalMessagesFileAdded: "operations.order_internal_messages.file_added",
|
|
32
32
|
BillingInvoiceApproved: "billing.invoice.approved",
|
|
33
33
|
TrackingSessionGeofenceEntered: "tracking.session.geofence_entered",
|
|
34
|
+
ShippingIntegrationOrderStaged: "shipping_integration.order.staged",
|
|
35
|
+
ShippingIntegrationOrderInProgress: "shipping_integration.order.in_progress",
|
|
36
|
+
ShippingIntegrationOrderCompleted: "shipping_integration.order.completed",
|
|
37
|
+
ShippingIntegrationOrderException: "shipping_integration.order.exception",
|
|
38
|
+
ShippingIntegrationOrderCancelled: "shipping_integration.order.cancelled",
|
|
34
39
|
};
|
|
@@ -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" | "shipping.task.executor_org_note_added" | "listing.listing.driver_invited_to_bid" | "listing.bid_thread.action_added" | "operations.order.operator_assigned" | "operations.order.department_assigned" | "operations.order_internal_messages.message" | "operations.order_internal_messages.file_added" | "billing.invoice.approved" | "tracking.session.geofence_entered";
|
|
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" | "shipping.task.executor_org_note_added" | "listing.listing.driver_invited_to_bid" | "listing.bid_thread.action_added" | "operations.order.operator_assigned" | "operations.order.department_assigned" | "operations.order_internal_messages.message" | "operations.order_internal_messages.file_added" | "billing.invoice.approved" | "tracking.session.geofence_entered" | "shipping_integration.order.staged" | "shipping_integration.order.in_progress" | "shipping_integration.order.completed" | "shipping_integration.order.exception" | "shipping_integration.order.cancelled";
|
|
12
12
|
export declare const NotificationEventsForUsersEnum: {
|
|
13
13
|
readonly ShippingOrderStaged: "shipping.order.staged";
|
|
14
14
|
readonly ShippingOrderCompleted: "shipping.order.completed";
|
|
@@ -26,4 +26,9 @@ export declare const NotificationEventsForUsersEnum: {
|
|
|
26
26
|
readonly OperationsOrderInternalMessagesFileAdded: "operations.order_internal_messages.file_added";
|
|
27
27
|
readonly BillingInvoiceApproved: "billing.invoice.approved";
|
|
28
28
|
readonly TrackingSessionGeofenceEntered: "tracking.session.geofence_entered";
|
|
29
|
+
readonly ShippingIntegrationOrderStaged: "shipping_integration.order.staged";
|
|
30
|
+
readonly ShippingIntegrationOrderInProgress: "shipping_integration.order.in_progress";
|
|
31
|
+
readonly ShippingIntegrationOrderCompleted: "shipping_integration.order.completed";
|
|
32
|
+
readonly ShippingIntegrationOrderException: "shipping_integration.order.exception";
|
|
33
|
+
readonly ShippingIntegrationOrderCancelled: "shipping_integration.order.cancelled";
|
|
29
34
|
};
|
|
@@ -21,4 +21,9 @@ exports.NotificationEventsForUsersEnum = {
|
|
|
21
21
|
OperationsOrderInternalMessagesFileAdded: "operations.order_internal_messages.file_added",
|
|
22
22
|
BillingInvoiceApproved: "billing.invoice.approved",
|
|
23
23
|
TrackingSessionGeofenceEntered: "tracking.session.geofence_entered",
|
|
24
|
+
ShippingIntegrationOrderStaged: "shipping_integration.order.staged",
|
|
25
|
+
ShippingIntegrationOrderInProgress: "shipping_integration.order.in_progress",
|
|
26
|
+
ShippingIntegrationOrderCompleted: "shipping_integration.order.completed",
|
|
27
|
+
ShippingIntegrationOrderException: "shipping_integration.order.exception",
|
|
28
|
+
ShippingIntegrationOrderCancelled: "shipping_integration.order.cancelled",
|
|
24
29
|
};
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type OrgShippingIntegrationEnum1 = "xcelerator" | "dispatch_science" | "ontime360" | "cxt" | "atlas";
|
|
4
|
+
export type OrgShippingIntegrationEnum1 = "xcelerator" | "dispatch_science" | "ontime360" | "cxt" | "atlas" | "ecourier";
|
|
5
5
|
export declare const OrgShippingIntegrationEnum1: {
|
|
6
6
|
readonly Xcelerator: "xcelerator";
|
|
7
7
|
readonly DispatchScience: "dispatch_science";
|
|
8
8
|
readonly Ontime360: "ontime360";
|
|
9
9
|
readonly Cxt: "cxt";
|
|
10
10
|
readonly Atlas: "atlas";
|
|
11
|
+
readonly Ecourier: "ecourier";
|
|
11
12
|
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.js";
|
|
5
|
+
export interface ShippingIntegrationOrderStatusChange1 {
|
|
6
|
+
integration_order_id: string;
|
|
7
|
+
new_status: Chrt.ShippingIntegrationOrderStatusEnum1;
|
|
8
|
+
/** Must be a string starting with `org_` */
|
|
9
|
+
org_id: string;
|
|
10
|
+
previous_status?: Chrt.ShippingIntegrationOrderStatusEnum1 | null;
|
|
11
|
+
/** Must be a string starting with `org_` */
|
|
12
|
+
provider_org_id: string;
|
|
13
|
+
reference_numbers?: string[];
|
|
14
|
+
shipping_integration: Chrt.OrgShippingIntegrationEnum1;
|
|
15
|
+
shipping_integration_order_id: string;
|
|
16
|
+
timestamp: string;
|
|
17
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.js";
|
|
5
|
+
export interface ShippingIntegrationOrderStatusChangedReq {
|
|
6
|
+
/** Must be a string starting with `org_` */
|
|
7
|
+
org_id: string;
|
|
8
|
+
/** Must be a string starting with `org_` */
|
|
9
|
+
provider_org_id: string;
|
|
10
|
+
shipping_integration: Chrt.OrgShippingIntegrationEnum1;
|
|
11
|
+
status_changes?: Chrt.ShippingIntegrationOrderStatusChange1[];
|
|
12
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.js";
|
|
5
|
+
export interface ShippingIntegrationOrderStatusChangedWebhookPayload {
|
|
6
|
+
/** UTC timestamp when the event occurred */
|
|
7
|
+
event_timestamp: string;
|
|
8
|
+
/** The order status event that occurred */
|
|
9
|
+
event_type: ShippingIntegrationOrderStatusChangedWebhookPayload.EventType;
|
|
10
|
+
/** The provider's order ID in their TMS */
|
|
11
|
+
integration_order_id: string;
|
|
12
|
+
/** The order's new status derived from the current sync */
|
|
13
|
+
new_status: Chrt.ShippingIntegrationOrderStatusEnum1;
|
|
14
|
+
/** The order's previous status before this sync */
|
|
15
|
+
previous_status?: Chrt.ShippingIntegrationOrderStatusEnum1 | null;
|
|
16
|
+
/** The courier provider organization ID */
|
|
17
|
+
provider_org_id: string;
|
|
18
|
+
/** Associated reference numbers on the order */
|
|
19
|
+
reference_numbers?: string[];
|
|
20
|
+
/** The TMS shipping integration platform */
|
|
21
|
+
shipping_integration: Chrt.OrgShippingIntegrationEnum1;
|
|
22
|
+
/** The unified shipping integration order ID */
|
|
23
|
+
shipping_integration_order_id: string;
|
|
24
|
+
}
|
|
25
|
+
export declare namespace ShippingIntegrationOrderStatusChangedWebhookPayload {
|
|
26
|
+
/**
|
|
27
|
+
* The order status event that occurred
|
|
28
|
+
*/
|
|
29
|
+
type EventType = "shipping_integration.order.staged" | "shipping_integration.order.in_progress" | "shipping_integration.order.completed" | "shipping_integration.order.exception" | "shipping_integration.order.cancelled";
|
|
30
|
+
const EventType: {
|
|
31
|
+
readonly ShippingIntegrationOrderStaged: "shipping_integration.order.staged";
|
|
32
|
+
readonly ShippingIntegrationOrderInProgress: "shipping_integration.order.in_progress";
|
|
33
|
+
readonly ShippingIntegrationOrderCompleted: "shipping_integration.order.completed";
|
|
34
|
+
readonly ShippingIntegrationOrderException: "shipping_integration.order.exception";
|
|
35
|
+
readonly ShippingIntegrationOrderCancelled: "shipping_integration.order.cancelled";
|
|
36
|
+
};
|
|
37
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.ShippingIntegrationOrderStatusChangedWebhookPayload = void 0;
|
|
7
|
+
var ShippingIntegrationOrderStatusChangedWebhookPayload;
|
|
8
|
+
(function (ShippingIntegrationOrderStatusChangedWebhookPayload) {
|
|
9
|
+
ShippingIntegrationOrderStatusChangedWebhookPayload.EventType = {
|
|
10
|
+
ShippingIntegrationOrderStaged: "shipping_integration.order.staged",
|
|
11
|
+
ShippingIntegrationOrderInProgress: "shipping_integration.order.in_progress",
|
|
12
|
+
ShippingIntegrationOrderCompleted: "shipping_integration.order.completed",
|
|
13
|
+
ShippingIntegrationOrderException: "shipping_integration.order.exception",
|
|
14
|
+
ShippingIntegrationOrderCancelled: "shipping_integration.order.cancelled",
|
|
15
|
+
};
|
|
16
|
+
})(ShippingIntegrationOrderStatusChangedWebhookPayload || (exports.ShippingIntegrationOrderStatusChangedWebhookPayload = ShippingIntegrationOrderStatusChangedWebhookPayload = {}));
|
|
@@ -213,6 +213,15 @@ export * from "./DriverStatusEnum.js";
|
|
|
213
213
|
export * from "./DriverUpdateAvailabilityReq.js";
|
|
214
214
|
export * from "./DriverUpdateRes.js";
|
|
215
215
|
export * from "./DriverWithActiveTaskGroupIds1.js";
|
|
216
|
+
export * from "./EcourierCredsLimited1.js";
|
|
217
|
+
export * from "./EcourierCredsListRes.js";
|
|
218
|
+
export * from "./EcourierCredsTestRes.js";
|
|
219
|
+
export * from "./EcourierOrder1.js";
|
|
220
|
+
export * from "./EcourierOrderCustomerResponse1.js";
|
|
221
|
+
export * from "./EcourierOrderListRes.js";
|
|
222
|
+
export * from "./EcourierOrderResponse1.js";
|
|
223
|
+
export * from "./EcourierOrderSortByEnum.js";
|
|
224
|
+
export * from "./EcourierOrderStopResponse1.js";
|
|
216
225
|
export * from "./ExtraStopRate1.js";
|
|
217
226
|
export * from "./FirebaseCloudMessagingTokenData1.js";
|
|
218
227
|
export * from "./FlatFeeRate1.js";
|
|
@@ -229,6 +238,7 @@ export * from "./FlightLegWebhookInfo.js";
|
|
|
229
238
|
export * from "./FlightTrackPosition1.js";
|
|
230
239
|
export * from "./FlightTrackRes.js";
|
|
231
240
|
export * from "./FlightTrackWaypoint1.js";
|
|
241
|
+
export * from "./FraytWebhookResponse.js";
|
|
232
242
|
export * from "./FromPayables1.js";
|
|
233
243
|
export * from "./FuelSurchargeRate1.js";
|
|
234
244
|
export * from "./GeofencePointLocationFeature1.js";
|
|
@@ -455,6 +465,10 @@ export * from "./ShippingIntegrationOrderExpanded1.js";
|
|
|
455
465
|
export * from "./ShippingIntegrationOrderListRes.js";
|
|
456
466
|
export * from "./ShippingIntegrationOrderPlace1.js";
|
|
457
467
|
export * from "./ShippingIntegrationOrderSortByEnum.js";
|
|
468
|
+
export * from "./ShippingIntegrationOrderStatusChange1.js";
|
|
469
|
+
export * from "./ShippingIntegrationOrderStatusChangedReq.js";
|
|
470
|
+
export * from "./ShippingIntegrationOrderStatusChangedRes.js";
|
|
471
|
+
export * from "./ShippingIntegrationOrderStatusChangedWebhookPayload.js";
|
|
458
472
|
export * from "./ShippingIntegrationOrderStatusEnum1.js";
|
|
459
473
|
export * from "./ShippingIntegrationOrderStatusSummaryRes.js";
|
|
460
474
|
export * from "./ShippingIntegrationOrderTypeaheadFieldEnum.js";
|
|
@@ -229,6 +229,15 @@ __exportStar(require("./DriverStatusEnum.js"), exports);
|
|
|
229
229
|
__exportStar(require("./DriverUpdateAvailabilityReq.js"), exports);
|
|
230
230
|
__exportStar(require("./DriverUpdateRes.js"), exports);
|
|
231
231
|
__exportStar(require("./DriverWithActiveTaskGroupIds1.js"), exports);
|
|
232
|
+
__exportStar(require("./EcourierCredsLimited1.js"), exports);
|
|
233
|
+
__exportStar(require("./EcourierCredsListRes.js"), exports);
|
|
234
|
+
__exportStar(require("./EcourierCredsTestRes.js"), exports);
|
|
235
|
+
__exportStar(require("./EcourierOrder1.js"), exports);
|
|
236
|
+
__exportStar(require("./EcourierOrderCustomerResponse1.js"), exports);
|
|
237
|
+
__exportStar(require("./EcourierOrderListRes.js"), exports);
|
|
238
|
+
__exportStar(require("./EcourierOrderResponse1.js"), exports);
|
|
239
|
+
__exportStar(require("./EcourierOrderSortByEnum.js"), exports);
|
|
240
|
+
__exportStar(require("./EcourierOrderStopResponse1.js"), exports);
|
|
232
241
|
__exportStar(require("./ExtraStopRate1.js"), exports);
|
|
233
242
|
__exportStar(require("./FirebaseCloudMessagingTokenData1.js"), exports);
|
|
234
243
|
__exportStar(require("./FlatFeeRate1.js"), exports);
|
|
@@ -245,6 +254,7 @@ __exportStar(require("./FlightLegWebhookInfo.js"), exports);
|
|
|
245
254
|
__exportStar(require("./FlightTrackPosition1.js"), exports);
|
|
246
255
|
__exportStar(require("./FlightTrackRes.js"), exports);
|
|
247
256
|
__exportStar(require("./FlightTrackWaypoint1.js"), exports);
|
|
257
|
+
__exportStar(require("./FraytWebhookResponse.js"), exports);
|
|
248
258
|
__exportStar(require("./FromPayables1.js"), exports);
|
|
249
259
|
__exportStar(require("./FuelSurchargeRate1.js"), exports);
|
|
250
260
|
__exportStar(require("./GeofencePointLocationFeature1.js"), exports);
|
|
@@ -471,6 +481,10 @@ __exportStar(require("./ShippingIntegrationOrderExpanded1.js"), exports);
|
|
|
471
481
|
__exportStar(require("./ShippingIntegrationOrderListRes.js"), exports);
|
|
472
482
|
__exportStar(require("./ShippingIntegrationOrderPlace1.js"), exports);
|
|
473
483
|
__exportStar(require("./ShippingIntegrationOrderSortByEnum.js"), exports);
|
|
484
|
+
__exportStar(require("./ShippingIntegrationOrderStatusChange1.js"), exports);
|
|
485
|
+
__exportStar(require("./ShippingIntegrationOrderStatusChangedReq.js"), exports);
|
|
486
|
+
__exportStar(require("./ShippingIntegrationOrderStatusChangedRes.js"), exports);
|
|
487
|
+
__exportStar(require("./ShippingIntegrationOrderStatusChangedWebhookPayload.js"), exports);
|
|
474
488
|
__exportStar(require("./ShippingIntegrationOrderStatusEnum1.js"), exports);
|
|
475
489
|
__exportStar(require("./ShippingIntegrationOrderStatusSummaryRes.js"), exports);
|
|
476
490
|
__exportStar(require("./ShippingIntegrationOrderTypeaheadFieldEnum.js"), exports);
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.
|
|
1
|
+
export declare const SDK_VERSION = "1.944.0";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/Client.mjs
CHANGED
|
@@ -24,8 +24,8 @@ export class ChrtClient {
|
|
|
24
24
|
this._options = Object.assign(Object.assign({}, _options), { headers: mergeHeaders({
|
|
25
25
|
"X-Fern-Language": "JavaScript",
|
|
26
26
|
"X-Fern-SDK-Name": "@chrt-inc/typescript-sdk",
|
|
27
|
-
"X-Fern-SDK-Version": "1.
|
|
28
|
-
"User-Agent": "@chrt-inc/typescript-sdk/1.
|
|
27
|
+
"X-Fern-SDK-Version": "1.944.0",
|
|
28
|
+
"User-Agent": "@chrt-inc/typescript-sdk/1.944.0",
|
|
29
29
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
30
30
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
31
31
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
|
@@ -8,6 +8,7 @@ import { Orders } from "../resources/orders/client/Client.mjs";
|
|
|
8
8
|
import { Atlas } from "../resources/atlas/client/Client.mjs";
|
|
9
9
|
import { Cxt } from "../resources/cxt/client/Client.mjs";
|
|
10
10
|
import { DispatchScience } from "../resources/dispatchScience/client/Client.mjs";
|
|
11
|
+
import { Ecourier } from "../resources/ecourier/client/Client.mjs";
|
|
11
12
|
import { Ontime360 } from "../resources/ontime360/client/Client.mjs";
|
|
12
13
|
import { Xcelerator } from "../resources/xcelerator/client/Client.mjs";
|
|
13
14
|
export declare namespace ShippingIntegrations {
|
|
@@ -28,6 +29,7 @@ export declare class ShippingIntegrations {
|
|
|
28
29
|
protected _atlas: Atlas | undefined;
|
|
29
30
|
protected _cxt: Cxt | undefined;
|
|
30
31
|
protected _dispatchScience: DispatchScience | undefined;
|
|
32
|
+
protected _ecourier: Ecourier | undefined;
|
|
31
33
|
protected _ontime360: Ontime360 | undefined;
|
|
32
34
|
protected _xcelerator: Xcelerator | undefined;
|
|
33
35
|
constructor(_options?: ShippingIntegrations.Options);
|
|
@@ -36,6 +38,7 @@ export declare class ShippingIntegrations {
|
|
|
36
38
|
get atlas(): Atlas;
|
|
37
39
|
get cxt(): Cxt;
|
|
38
40
|
get dispatchScience(): DispatchScience;
|
|
41
|
+
get ecourier(): Ecourier;
|
|
39
42
|
get ontime360(): Ontime360;
|
|
40
43
|
get xcelerator(): Xcelerator;
|
|
41
44
|
}
|
|
@@ -6,6 +6,7 @@ import { Orders } from "../resources/orders/client/Client.mjs";
|
|
|
6
6
|
import { Atlas } from "../resources/atlas/client/Client.mjs";
|
|
7
7
|
import { Cxt } from "../resources/cxt/client/Client.mjs";
|
|
8
8
|
import { DispatchScience } from "../resources/dispatchScience/client/Client.mjs";
|
|
9
|
+
import { Ecourier } from "../resources/ecourier/client/Client.mjs";
|
|
9
10
|
import { Ontime360 } from "../resources/ontime360/client/Client.mjs";
|
|
10
11
|
import { Xcelerator } from "../resources/xcelerator/client/Client.mjs";
|
|
11
12
|
export class ShippingIntegrations {
|
|
@@ -32,6 +33,10 @@ export class ShippingIntegrations {
|
|
|
32
33
|
var _a;
|
|
33
34
|
return ((_a = this._dispatchScience) !== null && _a !== void 0 ? _a : (this._dispatchScience = new DispatchScience(this._options)));
|
|
34
35
|
}
|
|
36
|
+
get ecourier() {
|
|
37
|
+
var _a;
|
|
38
|
+
return ((_a = this._ecourier) !== null && _a !== void 0 ? _a : (this._ecourier = new Ecourier(this._options)));
|
|
39
|
+
}
|
|
35
40
|
get ontime360() {
|
|
36
41
|
var _a;
|
|
37
42
|
return ((_a = this._ontime360) !== null && _a !== void 0 ? _a : (this._ontime360 = new Ontime360(this._options)));
|