@chrt-inc/typescript-sdk 1.1000.0 → 1.1002.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 +15 -10
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/client/Client.d.ts +26 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/client/Client.js +22 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/client/index.js +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/index.d.ts +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/index.js +18 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/creds/client/Client.d.ts +115 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/creds/client/Client.js +426 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/creds/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/creds/client/index.js +17 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/creds/client/requests/CourieCredsClientCreate1.d.ts +18 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/creds/client/requests/CourieCredsClientCreate1.js +5 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/creds/client/requests/CourieCredsClientUpdate1.d.ts +15 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/creds/client/requests/CourieCredsClientUpdate1.js +5 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/creds/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/creds/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/creds/index.d.ts +1 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/creds/index.js +17 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/index.d.ts +4 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/index.js +43 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/orders/client/Client.d.ts +105 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/orders/client/Client.js +375 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/orders/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/orders/client/index.js +17 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/orders/client/requests/CourieOrderSyncOneReq.d.ts +15 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/orders/client/requests/CourieOrderSyncOneReq.js +5 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/orders/client/requests/OrdersListV1Request.d.ts +51 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/orders/client/requests/OrdersListV1Request.js +5 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/orders/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/orders/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/orders/index.d.ts +1 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/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/CourieAddressResponse1.d.ts +16 -0
- package/dist/cjs/api/types/CourieAddressResponse1.js +5 -0
- package/dist/cjs/api/types/CourieAttemptReasonResponse1.d.ts +9 -0
- package/dist/cjs/api/types/CourieAttemptReasonResponse1.js +5 -0
- package/dist/cjs/api/types/CourieCredsLimited1.d.ts +24 -0
- package/dist/cjs/api/types/CourieCredsLimited1.js +5 -0
- package/dist/cjs/api/types/CourieCredsListRes.d.ts +8 -0
- package/dist/cjs/api/types/CourieCredsListRes.js +5 -0
- package/dist/cjs/api/types/CourieCredsTestRes.d.ts +10 -0
- package/dist/cjs/api/types/CourieCredsTestRes.js +5 -0
- package/dist/cjs/api/types/CourieCustomFieldResponse1.d.ts +10 -0
- package/dist/cjs/api/types/CourieCustomFieldResponse1.js +5 -0
- package/dist/cjs/api/types/CourieDriverAnswerResponse1.d.ts +11 -0
- package/dist/cjs/api/types/CourieDriverAnswerResponse1.js +5 -0
- package/dist/cjs/api/types/CourieDriverResponse1.d.ts +9 -0
- package/dist/cjs/api/types/CourieDriverResponse1.js +5 -0
- package/dist/cjs/api/types/CourieLatLngResponse1.d.ts +10 -0
- package/dist/cjs/api/types/CourieLatLngResponse1.js +5 -0
- package/dist/cjs/api/types/CourieLocationScanResponse1.d.ts +9 -0
- package/dist/cjs/api/types/CourieLocationScanResponse1.js +5 -0
- package/dist/cjs/api/types/CourieOrder1.d.ts +19 -0
- package/dist/cjs/api/types/CourieOrder1.js +5 -0
- package/dist/cjs/api/types/CourieOrderEventEnum1.d.ts +18 -0
- package/dist/cjs/api/types/CourieOrderEventEnum1.js +14 -0
- package/dist/cjs/api/types/CourieOrderEventResponse1.d.ts +11 -0
- package/dist/cjs/api/types/CourieOrderEventResponse1.js +5 -0
- package/dist/cjs/api/types/CourieOrderListRes.d.ts +8 -0
- package/dist/cjs/api/types/CourieOrderListRes.js +5 -0
- package/dist/cjs/api/types/CourieOrderResponse1.d.ts +42 -0
- package/dist/cjs/api/types/CourieOrderResponse1.js +5 -0
- package/dist/cjs/api/types/CourieOrderSortByEnum.d.ts +10 -0
- package/dist/cjs/api/types/CourieOrderSortByEnum.js +12 -0
- package/dist/cjs/api/types/CourieOrderStatusEnum1.d.ts +21 -0
- package/dist/cjs/api/types/CourieOrderStatusEnum1.js +16 -0
- package/dist/cjs/api/types/CouriePackageItemResponse1.d.ts +19 -0
- package/dist/cjs/api/types/CouriePackageItemResponse1.js +5 -0
- package/dist/cjs/api/types/CouriePackageResponse1.d.ts +9 -0
- package/dist/cjs/api/types/CouriePackageResponse1.js +5 -0
- package/dist/cjs/api/types/CourieProofOfDeliveryResponse1.d.ts +11 -0
- package/dist/cjs/api/types/CourieProofOfDeliveryResponse1.js +5 -0
- package/dist/cjs/api/types/CourieStopAttemptResponse1.d.ts +10 -0
- package/dist/cjs/api/types/CourieStopAttemptResponse1.js +5 -0
- package/dist/cjs/api/types/CourieStopResponse1.d.ts +29 -0
- package/dist/cjs/api/types/CourieStopResponse1.js +5 -0
- package/dist/cjs/api/types/CourieStopTypeEnum1.d.ts +8 -0
- package/dist/cjs/api/types/CourieStopTypeEnum1.js +10 -0
- package/dist/cjs/api/types/DriverComplianceDocumentS3ObjectMetadata1.d.ts +2 -0
- package/dist/cjs/api/types/OrderInternalMessageS3ObjectMetadata1.d.ts +2 -0
- package/dist/cjs/api/types/OrgComplianceDocumentS3ObjectMetadata1.d.ts +2 -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/TaskArtifactS3ObjectMetadata1.d.ts +2 -0
- package/dist/cjs/api/types/TaskGroupS3ObjectMetadata1.d.ts +2 -0
- package/dist/cjs/api/types/index.d.ts +23 -0
- package/dist/cjs/api/types/index.js +23 -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/courie/client/Client.d.mts +26 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/client/Client.mjs +18 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/client/index.d.mts +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/client/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/index.d.mts +2 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/index.mjs +2 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/creds/client/Client.d.mts +115 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/creds/client/Client.mjs +389 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/creds/client/index.d.mts +2 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/creds/client/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/creds/client/requests/CourieCredsClientCreate1.d.mts +18 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/creds/client/requests/CourieCredsClientCreate1.mjs +4 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/creds/client/requests/CourieCredsClientUpdate1.d.mts +15 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/creds/client/requests/CourieCredsClientUpdate1.mjs +4 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/creds/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/creds/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/creds/index.d.mts +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/creds/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/index.d.mts +4 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/index.mjs +4 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/orders/client/Client.d.mts +105 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/orders/client/Client.mjs +338 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/orders/client/index.d.mts +2 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/orders/client/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/orders/client/requests/CourieOrderSyncOneReq.d.mts +15 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/orders/client/requests/CourieOrderSyncOneReq.mjs +4 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/orders/client/requests/OrdersListV1Request.d.mts +51 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/orders/client/requests/OrdersListV1Request.mjs +4 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/orders/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/orders/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/orders/index.d.mts +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/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/CourieAddressResponse1.d.mts +16 -0
- package/dist/esm/api/types/CourieAddressResponse1.mjs +4 -0
- package/dist/esm/api/types/CourieAttemptReasonResponse1.d.mts +9 -0
- package/dist/esm/api/types/CourieAttemptReasonResponse1.mjs +4 -0
- package/dist/esm/api/types/CourieCredsLimited1.d.mts +24 -0
- package/dist/esm/api/types/CourieCredsLimited1.mjs +4 -0
- package/dist/esm/api/types/CourieCredsListRes.d.mts +8 -0
- package/dist/esm/api/types/CourieCredsListRes.mjs +4 -0
- package/dist/esm/api/types/CourieCredsTestRes.d.mts +10 -0
- package/dist/esm/api/types/CourieCredsTestRes.mjs +4 -0
- package/dist/esm/api/types/CourieCustomFieldResponse1.d.mts +10 -0
- package/dist/esm/api/types/CourieCustomFieldResponse1.mjs +4 -0
- package/dist/esm/api/types/CourieDriverAnswerResponse1.d.mts +11 -0
- package/dist/esm/api/types/CourieDriverAnswerResponse1.mjs +4 -0
- package/dist/esm/api/types/CourieDriverResponse1.d.mts +9 -0
- package/dist/esm/api/types/CourieDriverResponse1.mjs +4 -0
- package/dist/esm/api/types/CourieLatLngResponse1.d.mts +10 -0
- package/dist/esm/api/types/CourieLatLngResponse1.mjs +4 -0
- package/dist/esm/api/types/CourieLocationScanResponse1.d.mts +9 -0
- package/dist/esm/api/types/CourieLocationScanResponse1.mjs +4 -0
- package/dist/esm/api/types/CourieOrder1.d.mts +19 -0
- package/dist/esm/api/types/CourieOrder1.mjs +4 -0
- package/dist/esm/api/types/CourieOrderEventEnum1.d.mts +18 -0
- package/dist/esm/api/types/CourieOrderEventEnum1.mjs +11 -0
- package/dist/esm/api/types/CourieOrderEventResponse1.d.mts +11 -0
- package/dist/esm/api/types/CourieOrderEventResponse1.mjs +4 -0
- package/dist/esm/api/types/CourieOrderListRes.d.mts +8 -0
- package/dist/esm/api/types/CourieOrderListRes.mjs +4 -0
- package/dist/esm/api/types/CourieOrderResponse1.d.mts +42 -0
- package/dist/esm/api/types/CourieOrderResponse1.mjs +4 -0
- package/dist/esm/api/types/CourieOrderSortByEnum.d.mts +10 -0
- package/dist/esm/api/types/CourieOrderSortByEnum.mjs +9 -0
- package/dist/esm/api/types/CourieOrderStatusEnum1.d.mts +21 -0
- package/dist/esm/api/types/CourieOrderStatusEnum1.mjs +13 -0
- package/dist/esm/api/types/CouriePackageItemResponse1.d.mts +19 -0
- package/dist/esm/api/types/CouriePackageItemResponse1.mjs +4 -0
- package/dist/esm/api/types/CouriePackageResponse1.d.mts +9 -0
- package/dist/esm/api/types/CouriePackageResponse1.mjs +4 -0
- package/dist/esm/api/types/CourieProofOfDeliveryResponse1.d.mts +11 -0
- package/dist/esm/api/types/CourieProofOfDeliveryResponse1.mjs +4 -0
- package/dist/esm/api/types/CourieStopAttemptResponse1.d.mts +10 -0
- package/dist/esm/api/types/CourieStopAttemptResponse1.mjs +4 -0
- package/dist/esm/api/types/CourieStopResponse1.d.mts +29 -0
- package/dist/esm/api/types/CourieStopResponse1.mjs +4 -0
- package/dist/esm/api/types/CourieStopTypeEnum1.d.mts +8 -0
- package/dist/esm/api/types/CourieStopTypeEnum1.mjs +7 -0
- package/dist/esm/api/types/DriverComplianceDocumentS3ObjectMetadata1.d.mts +2 -0
- package/dist/esm/api/types/OrderInternalMessageS3ObjectMetadata1.d.mts +2 -0
- package/dist/esm/api/types/OrgComplianceDocumentS3ObjectMetadata1.d.mts +2 -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/TaskArtifactS3ObjectMetadata1.d.mts +2 -0
- package/dist/esm/api/types/TaskGroupS3ObjectMetadata1.d.mts +2 -0
- package/dist/esm/api/types/index.d.mts +23 -0
- package/dist/esm/api/types/index.mjs +23 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +672 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.mjs";
|
|
5
|
+
export interface CourieOrder1 {
|
|
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.CourieOrderResponse1;
|
|
15
|
+
provider_payload_hash: string;
|
|
16
|
+
schema_version: number;
|
|
17
|
+
shipping_integration: "courie";
|
|
18
|
+
updated_at_timestamp: string;
|
|
19
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Activity event types.
|
|
6
|
+
*
|
|
7
|
+
* NOTE: there is no assignment event, so an order moving to `ASSIGNED` leaves no
|
|
8
|
+
* trace here and status cannot be reconstructed from this log.
|
|
9
|
+
*/
|
|
10
|
+
export type CourieOrderEventEnum1 = "CREATED" | "PICKED_UP" | "DROPPED_OFF" | "RETURNED_TO_PICK_UP" | "ATTEMPTED" | "COMPLETED";
|
|
11
|
+
export declare const CourieOrderEventEnum1: {
|
|
12
|
+
readonly Created: "CREATED";
|
|
13
|
+
readonly PickedUp: "PICKED_UP";
|
|
14
|
+
readonly DroppedOff: "DROPPED_OFF";
|
|
15
|
+
readonly ReturnedToPickUp: "RETURNED_TO_PICK_UP";
|
|
16
|
+
readonly Attempted: "ATTEMPTED";
|
|
17
|
+
readonly Completed: "COMPLETED";
|
|
18
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export const CourieOrderEventEnum1 = {
|
|
5
|
+
Created: "CREATED",
|
|
6
|
+
PickedUp: "PICKED_UP",
|
|
7
|
+
DroppedOff: "DROPPED_OFF",
|
|
8
|
+
ReturnedToPickUp: "RETURNED_TO_PICK_UP",
|
|
9
|
+
Attempted: "ATTEMPTED",
|
|
10
|
+
Completed: "COMPLETED",
|
|
11
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.mjs";
|
|
5
|
+
export interface CourieOrderEventResponse1 {
|
|
6
|
+
address?: string | null;
|
|
7
|
+
event: Chrt.CourieOrderEventEnum1;
|
|
8
|
+
timestamp: string;
|
|
9
|
+
/** Accepts any additional properties */
|
|
10
|
+
[key: string]: any;
|
|
11
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.mjs";
|
|
5
|
+
/**
|
|
6
|
+
* One Courie order, as returned by both the list and detail endpoints.
|
|
7
|
+
*
|
|
8
|
+
* The list endpoint returns this same complete shape, so the mirror never needs
|
|
9
|
+
* a per-order detail call.
|
|
10
|
+
*/
|
|
11
|
+
export interface CourieOrderResponse1 {
|
|
12
|
+
activities?: Chrt.CourieOrderEventResponse1[];
|
|
13
|
+
customFields?: Chrt.CourieCustomFieldResponse1[];
|
|
14
|
+
customerCompanyName?: string | null;
|
|
15
|
+
customerId: string;
|
|
16
|
+
deliveredAt?: string | null;
|
|
17
|
+
displayId?: number | null;
|
|
18
|
+
id: string;
|
|
19
|
+
numPackages?: number | null;
|
|
20
|
+
packageDescription?: string | null;
|
|
21
|
+
packageItems?: Chrt.CouriePackageItemResponse1[];
|
|
22
|
+
packageSize?: string | null;
|
|
23
|
+
packageTypeName?: string | null;
|
|
24
|
+
packageWeightInPounds?: number | null;
|
|
25
|
+
packages?: Chrt.CouriePackageResponse1[];
|
|
26
|
+
pickedUpAt?: string | null;
|
|
27
|
+
proofOfDeliveries?: Chrt.CourieProofOfDeliveryResponse1[];
|
|
28
|
+
proofOfPickUps?: Chrt.CourieProofOfDeliveryResponse1[];
|
|
29
|
+
referenceNumber?: string | null;
|
|
30
|
+
remoteId?: string | null;
|
|
31
|
+
serviceTypeName?: string | null;
|
|
32
|
+
shipmentDate?: string | null;
|
|
33
|
+
shipmentType?: string | null;
|
|
34
|
+
status: Chrt.CourieOrderStatusEnum1;
|
|
35
|
+
statusDescription?: string | null;
|
|
36
|
+
stops?: Chrt.CourieStopResponse1[];
|
|
37
|
+
trackingNumber?: string | null;
|
|
38
|
+
trackingUrl?: string | null;
|
|
39
|
+
vehicleTypeName?: string | null;
|
|
40
|
+
/** Accepts any additional properties */
|
|
41
|
+
[key: string]: any;
|
|
42
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type CourieOrderSortByEnum = "mirrored_at_timestamp" | "created_at_timestamp" | "updated_at_timestamp" | "integration_order_id";
|
|
5
|
+
export declare const CourieOrderSortByEnum: {
|
|
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,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export const CourieOrderSortByEnum = {
|
|
5
|
+
MirroredAtTimestamp: "mirrored_at_timestamp",
|
|
6
|
+
CreatedAtTimestamp: "created_at_timestamp",
|
|
7
|
+
UpdatedAtTimestamp: "updated_at_timestamp",
|
|
8
|
+
IntegrationOrderId: "integration_order_id",
|
|
9
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Courie's own order status.
|
|
6
|
+
*
|
|
7
|
+
* The spec documents these only as a bare enum list with no per-value meaning.
|
|
8
|
+
* `IN_TRANSIT`, `ON_HOLD` and `DELETED` have not been observed live. `unified.py`
|
|
9
|
+
* derives progress from the pickup milestone rather than this field.
|
|
10
|
+
*/
|
|
11
|
+
export type CourieOrderStatusEnum1 = "CREATED" | "ASSIGNED" | "IN_TRANSIT" | "COMPLETED" | "ATTEMPTED" | "ON_HOLD" | "DELETED" | "FAILED";
|
|
12
|
+
export declare const CourieOrderStatusEnum1: {
|
|
13
|
+
readonly Created: "CREATED";
|
|
14
|
+
readonly Assigned: "ASSIGNED";
|
|
15
|
+
readonly InTransit: "IN_TRANSIT";
|
|
16
|
+
readonly Completed: "COMPLETED";
|
|
17
|
+
readonly Attempted: "ATTEMPTED";
|
|
18
|
+
readonly OnHold: "ON_HOLD";
|
|
19
|
+
readonly Deleted: "DELETED";
|
|
20
|
+
readonly Failed: "FAILED";
|
|
21
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export const CourieOrderStatusEnum1 = {
|
|
5
|
+
Created: "CREATED",
|
|
6
|
+
Assigned: "ASSIGNED",
|
|
7
|
+
InTransit: "IN_TRANSIT",
|
|
8
|
+
Completed: "COMPLETED",
|
|
9
|
+
Attempted: "ATTEMPTED",
|
|
10
|
+
OnHold: "ON_HOLD",
|
|
11
|
+
Deleted: "DELETED",
|
|
12
|
+
Failed: "FAILED",
|
|
13
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Per-item dimensions and weight.
|
|
6
|
+
*
|
|
7
|
+
* Values are **per piece**, not per entry: the spec's `quantity` note says
|
|
8
|
+
* "quantity 5 with weight 10 is 5 pieces weighing 50 lbs in total". Anything
|
|
9
|
+
* summing weight must multiply by `quantity` first.
|
|
10
|
+
*/
|
|
11
|
+
export interface CouriePackageItemResponse1 {
|
|
12
|
+
height?: number | null;
|
|
13
|
+
length?: number | null;
|
|
14
|
+
quantity?: number | null;
|
|
15
|
+
weight?: number | null;
|
|
16
|
+
width?: number | null;
|
|
17
|
+
/** Accepts any additional properties */
|
|
18
|
+
[key: string]: any;
|
|
19
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface CourieProofOfDeliveryResponse1 {
|
|
5
|
+
signedBy?: string | null;
|
|
6
|
+
timestamp?: string | null;
|
|
7
|
+
type?: string | null;
|
|
8
|
+
url?: string | null;
|
|
9
|
+
/** Accepts any additional properties */
|
|
10
|
+
[key: string]: any;
|
|
11
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.mjs";
|
|
5
|
+
export interface CourieStopAttemptResponse1 {
|
|
6
|
+
date?: string | null;
|
|
7
|
+
reason?: Chrt.CourieAttemptReasonResponse1 | null;
|
|
8
|
+
/** Accepts any additional properties */
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.mjs";
|
|
5
|
+
/**
|
|
6
|
+
* One end of a route. Timestamps here are epoch seconds, not ISO strings.
|
|
7
|
+
*/
|
|
8
|
+
export interface CourieStopResponse1 {
|
|
9
|
+
address?: Chrt.CourieAddressResponse1 | null;
|
|
10
|
+
attemptedAt?: number | null;
|
|
11
|
+
attempts?: Chrt.CourieStopAttemptResponse1[];
|
|
12
|
+
companyName?: string | null;
|
|
13
|
+
completedAt?: number | null;
|
|
14
|
+
contactName?: string | null;
|
|
15
|
+
driver?: Chrt.CourieDriverResponse1 | null;
|
|
16
|
+
driverAnswers?: Chrt.CourieDriverAnswerResponse1[];
|
|
17
|
+
driverStopSequenceNumber?: number | null;
|
|
18
|
+
due?: number | null;
|
|
19
|
+
instruction?: string | null;
|
|
20
|
+
locationScans?: Chrt.CourieLocationScanResponse1[];
|
|
21
|
+
orderId?: string | null;
|
|
22
|
+
phone?: string | null;
|
|
23
|
+
ready?: number | null;
|
|
24
|
+
stopSequenceNumber?: number | null;
|
|
25
|
+
suite?: string | null;
|
|
26
|
+
type: Chrt.CourieStopTypeEnum1;
|
|
27
|
+
/** Accepts any additional properties */
|
|
28
|
+
[key: string]: any;
|
|
29
|
+
}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export interface DriverComplianceDocumentS3ObjectMetadata1 {
|
|
5
5
|
_id: string;
|
|
6
|
+
ai_generated_description?: string | null;
|
|
6
7
|
blurhash?: string | null;
|
|
7
8
|
/** MIME type of the uploaded file (e.g., 'image/jpeg', 'application/pdf') */
|
|
8
9
|
content_type?: string | null;
|
|
@@ -16,4 +17,5 @@ export interface DriverComplianceDocumentS3ObjectMetadata1 {
|
|
|
16
17
|
uploaded_by_org_id: string;
|
|
17
18
|
/** Must be a string starting with `user_` */
|
|
18
19
|
uploaded_by_user_id: string;
|
|
20
|
+
user_generated_description?: string | null;
|
|
19
21
|
}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export interface OrderInternalMessageS3ObjectMetadata1 {
|
|
5
5
|
_id: string;
|
|
6
|
+
ai_generated_description?: string | null;
|
|
6
7
|
blurhash?: string | null;
|
|
7
8
|
/** MIME type of the uploaded file (e.g., 'image/jpeg', 'application/pdf') */
|
|
8
9
|
content_type?: string | null;
|
|
@@ -16,4 +17,5 @@ export interface OrderInternalMessageS3ObjectMetadata1 {
|
|
|
16
17
|
uploaded_by_org_id: string;
|
|
17
18
|
/** Must be a string starting with `user_` */
|
|
18
19
|
uploaded_by_user_id: string;
|
|
20
|
+
user_generated_description?: string | null;
|
|
19
21
|
}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export interface OrgComplianceDocumentS3ObjectMetadata1 {
|
|
5
5
|
_id: string;
|
|
6
|
+
ai_generated_description?: string | null;
|
|
6
7
|
blurhash?: string | null;
|
|
7
8
|
/** MIME type of the uploaded file (e.g., 'image/jpeg', 'application/pdf') */
|
|
8
9
|
content_type?: string | null;
|
|
@@ -16,4 +17,5 @@ export interface OrgComplianceDocumentS3ObjectMetadata1 {
|
|
|
16
17
|
uploaded_by_org_id: string;
|
|
17
18
|
/** Must be a string starting with `user_` */
|
|
18
19
|
uploaded_by_user_id: string;
|
|
20
|
+
user_generated_description?: string | null;
|
|
19
21
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
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" | "ecourier";
|
|
4
|
+
export type OrgShippingIntegrationEnum1 = "xcelerator" | "dispatch_science" | "ontime360" | "cxt" | "atlas" | "ecourier" | "courie";
|
|
5
5
|
export declare const OrgShippingIntegrationEnum1: {
|
|
6
6
|
readonly Xcelerator: "xcelerator";
|
|
7
7
|
readonly DispatchScience: "dispatch_science";
|
|
@@ -9,4 +9,5 @@ export declare const OrgShippingIntegrationEnum1: {
|
|
|
9
9
|
readonly Cxt: "cxt";
|
|
10
10
|
readonly Atlas: "atlas";
|
|
11
11
|
readonly Ecourier: "ecourier";
|
|
12
|
+
readonly Courie: "courie";
|
|
12
13
|
};
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
import * as Chrt from "../index.mjs";
|
|
5
5
|
export interface TaskArtifactS3ObjectMetadata1 {
|
|
6
6
|
_id: string;
|
|
7
|
+
ai_generated_description?: string | null;
|
|
7
8
|
ai_image_description?: Chrt.AiImageDescription | null;
|
|
8
9
|
blurhash?: string | null;
|
|
9
10
|
/** MIME type of the uploaded file (e.g., 'image/jpeg', 'application/pdf') */
|
|
@@ -18,4 +19,5 @@ export interface TaskArtifactS3ObjectMetadata1 {
|
|
|
18
19
|
uploaded_by_org_id: string;
|
|
19
20
|
/** Must be a string starting with `user_` */
|
|
20
21
|
uploaded_by_user_id: string;
|
|
22
|
+
user_generated_description?: string | null;
|
|
21
23
|
}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export interface TaskGroupS3ObjectMetadata1 {
|
|
5
5
|
_id: string;
|
|
6
|
+
ai_generated_description?: string | null;
|
|
6
7
|
blurhash?: string | null;
|
|
7
8
|
/** MIME type of the uploaded file (e.g., 'image/jpeg', 'application/pdf') */
|
|
8
9
|
content_type?: string | null;
|
|
@@ -16,4 +17,5 @@ export interface TaskGroupS3ObjectMetadata1 {
|
|
|
16
17
|
uploaded_by_org_id: string;
|
|
17
18
|
/** Must be a string starting with `user_` */
|
|
18
19
|
uploaded_by_user_id: string;
|
|
20
|
+
user_generated_description?: string | null;
|
|
19
21
|
}
|
|
@@ -151,6 +151,29 @@ export * from "./CoordinatorExecutorConnectionForExecutorListItem.mjs";
|
|
|
151
151
|
export * from "./CoordinatorExecutorConnectionsForCoordinatorGeoSearchListRes.mjs";
|
|
152
152
|
export * from "./CoordinatorExecutorConnectionsForCoordinatorListRes.mjs";
|
|
153
153
|
export * from "./CoordinatorExecutorConnectionsForExecutorListRes.mjs";
|
|
154
|
+
export * from "./CourieAddressResponse1.mjs";
|
|
155
|
+
export * from "./CourieAttemptReasonResponse1.mjs";
|
|
156
|
+
export * from "./CourieCredsLimited1.mjs";
|
|
157
|
+
export * from "./CourieCredsListRes.mjs";
|
|
158
|
+
export * from "./CourieCredsTestRes.mjs";
|
|
159
|
+
export * from "./CourieCustomFieldResponse1.mjs";
|
|
160
|
+
export * from "./CourieDriverAnswerResponse1.mjs";
|
|
161
|
+
export * from "./CourieDriverResponse1.mjs";
|
|
162
|
+
export * from "./CourieLatLngResponse1.mjs";
|
|
163
|
+
export * from "./CourieLocationScanResponse1.mjs";
|
|
164
|
+
export * from "./CourieOrder1.mjs";
|
|
165
|
+
export * from "./CourieOrderEventEnum1.mjs";
|
|
166
|
+
export * from "./CourieOrderEventResponse1.mjs";
|
|
167
|
+
export * from "./CourieOrderListRes.mjs";
|
|
168
|
+
export * from "./CourieOrderResponse1.mjs";
|
|
169
|
+
export * from "./CourieOrderSortByEnum.mjs";
|
|
170
|
+
export * from "./CourieOrderStatusEnum1.mjs";
|
|
171
|
+
export * from "./CouriePackageItemResponse1.mjs";
|
|
172
|
+
export * from "./CouriePackageResponse1.mjs";
|
|
173
|
+
export * from "./CourieProofOfDeliveryResponse1.mjs";
|
|
174
|
+
export * from "./CourieStopAttemptResponse1.mjs";
|
|
175
|
+
export * from "./CourieStopResponse1.mjs";
|
|
176
|
+
export * from "./CourieStopTypeEnum1.mjs";
|
|
154
177
|
export * from "./CreateCheckoutSessionRes.mjs";
|
|
155
178
|
export * from "./CreateConnectionReq.mjs";
|
|
156
179
|
export * from "./CreateCustomerPortalSessionRes.mjs";
|
|
@@ -151,6 +151,29 @@ export * from "./CoordinatorExecutorConnectionForExecutorListItem.mjs";
|
|
|
151
151
|
export * from "./CoordinatorExecutorConnectionsForCoordinatorGeoSearchListRes.mjs";
|
|
152
152
|
export * from "./CoordinatorExecutorConnectionsForCoordinatorListRes.mjs";
|
|
153
153
|
export * from "./CoordinatorExecutorConnectionsForExecutorListRes.mjs";
|
|
154
|
+
export * from "./CourieAddressResponse1.mjs";
|
|
155
|
+
export * from "./CourieAttemptReasonResponse1.mjs";
|
|
156
|
+
export * from "./CourieCredsLimited1.mjs";
|
|
157
|
+
export * from "./CourieCredsListRes.mjs";
|
|
158
|
+
export * from "./CourieCredsTestRes.mjs";
|
|
159
|
+
export * from "./CourieCustomFieldResponse1.mjs";
|
|
160
|
+
export * from "./CourieDriverAnswerResponse1.mjs";
|
|
161
|
+
export * from "./CourieDriverResponse1.mjs";
|
|
162
|
+
export * from "./CourieLatLngResponse1.mjs";
|
|
163
|
+
export * from "./CourieLocationScanResponse1.mjs";
|
|
164
|
+
export * from "./CourieOrder1.mjs";
|
|
165
|
+
export * from "./CourieOrderEventEnum1.mjs";
|
|
166
|
+
export * from "./CourieOrderEventResponse1.mjs";
|
|
167
|
+
export * from "./CourieOrderListRes.mjs";
|
|
168
|
+
export * from "./CourieOrderResponse1.mjs";
|
|
169
|
+
export * from "./CourieOrderSortByEnum.mjs";
|
|
170
|
+
export * from "./CourieOrderStatusEnum1.mjs";
|
|
171
|
+
export * from "./CouriePackageItemResponse1.mjs";
|
|
172
|
+
export * from "./CouriePackageResponse1.mjs";
|
|
173
|
+
export * from "./CourieProofOfDeliveryResponse1.mjs";
|
|
174
|
+
export * from "./CourieStopAttemptResponse1.mjs";
|
|
175
|
+
export * from "./CourieStopResponse1.mjs";
|
|
176
|
+
export * from "./CourieStopTypeEnum1.mjs";
|
|
154
177
|
export * from "./CreateCheckoutSessionRes.mjs";
|
|
155
178
|
export * from "./CreateConnectionReq.mjs";
|
|
156
179
|
export * from "./CreateCustomerPortalSessionRes.mjs";
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.
|
|
1
|
+
export declare const SDK_VERSION = "1.1002.0";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "1.
|
|
1
|
+
export const SDK_VERSION = "1.1002.0";
|