@chrt-inc/typescript-sdk 1.999.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/billingNew/resources/orders/client/Client.d.ts +2 -0
- package/dist/cjs/api/resources/billingNew/resources/orders/client/Client.js +11 -1
- package/dist/cjs/api/resources/billingNew/resources/orders/client/requests/OrderBillingExpandedListReq.d.ts +7 -1
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.ts +4 -0
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.js +22 -2
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.ts +6 -0
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.ts +6 -0
- 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/InvoiceLineItem1.d.ts +1 -0
- package/dist/cjs/api/types/InvoiceLineItemExportListItem.d.ts +1 -0
- package/dist/cjs/api/types/Order1.d.ts +1 -0
- package/dist/cjs/api/types/OrderBillingExpandedListItem1.d.ts +7 -0
- package/dist/cjs/api/types/OrderBillingSortByEnum.d.ts +2 -1
- package/dist/cjs/api/types/OrderBillingSortByEnum.js +1 -0
- package/dist/cjs/api/types/OrderInternalMessageS3ObjectMetadata1.d.ts +2 -0
- package/dist/cjs/api/types/OrderLimitedForProvider1.d.ts +1 -0
- package/dist/cjs/api/types/OrderLimitedForShipper1.d.ts +1 -0
- package/dist/cjs/api/types/OrderSortByEnum.d.ts +2 -1
- package/dist/cjs/api/types/OrderSortByEnum.js +1 -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/billingNew/resources/orders/client/Client.d.mts +2 -0
- package/dist/esm/api/resources/billingNew/resources/orders/client/Client.mjs +11 -1
- package/dist/esm/api/resources/billingNew/resources/orders/client/requests/OrderBillingExpandedListReq.d.mts +7 -1
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.mts +4 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.mjs +22 -2
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.mts +6 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.mts +6 -0
- 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/InvoiceLineItem1.d.mts +1 -0
- package/dist/esm/api/types/InvoiceLineItemExportListItem.d.mts +1 -0
- package/dist/esm/api/types/Order1.d.mts +1 -0
- package/dist/esm/api/types/OrderBillingExpandedListItem1.d.mts +7 -0
- package/dist/esm/api/types/OrderBillingSortByEnum.d.mts +2 -1
- package/dist/esm/api/types/OrderBillingSortByEnum.mjs +1 -0
- package/dist/esm/api/types/OrderInternalMessageS3ObjectMetadata1.d.mts +2 -0
- package/dist/esm/api/types/OrderLimitedForProvider1.d.mts +1 -0
- package/dist/esm/api/types/OrderLimitedForShipper1.d.mts +1 -0
- package/dist/esm/api/types/OrderSortByEnum.d.mts +2 -1
- package/dist/esm/api/types/OrderSortByEnum.mjs +1 -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 +678 -0
|
@@ -9,6 +9,7 @@ exports.OrderBillingSortByEnum = {
|
|
|
9
9
|
StagedAtTimestamp: "staged_at_timestamp",
|
|
10
10
|
InProgressAtTimestamp: "in_progress_at_timestamp",
|
|
11
11
|
CompletedAtTimestamp: "completed_at_timestamp",
|
|
12
|
+
LastDeliveryTaskCompletedAtTimestamp: "last_delivery_task_completed_at_timestamp",
|
|
12
13
|
CancelledAtTimestamp: "cancelled_at_timestamp",
|
|
13
14
|
ExceptionAtTimestamp: "exception_at_timestamp",
|
|
14
15
|
};
|
|
@@ -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
|
}
|
|
@@ -28,6 +28,7 @@ export interface OrderLimitedForProvider1 {
|
|
|
28
28
|
exception_at_timestamp?: string | null;
|
|
29
29
|
in_progress_at_timestamp?: string | null;
|
|
30
30
|
invoice_ids?: string[];
|
|
31
|
+
last_delivery_task_completed_at_timestamp?: string | null;
|
|
31
32
|
/** Must be a URL-safe string of 1-64 characters. Allowed characters: A-Z, a-z, 0-9, '.', '_', '~', '-' (RFC 3986 unreserved). */
|
|
32
33
|
off_chrt_reference_id?: string | null;
|
|
33
34
|
off_chrt_shipper_org_data_id?: string | null;
|
|
@@ -23,6 +23,7 @@ export interface OrderLimitedForShipper1 {
|
|
|
23
23
|
exception_at_timestamp?: string | null;
|
|
24
24
|
in_progress_at_timestamp?: string | null;
|
|
25
25
|
invoice_ids?: string[];
|
|
26
|
+
last_delivery_task_completed_at_timestamp?: string | null;
|
|
26
27
|
/** Must be a URL-safe string of 1-64 characters. Allowed characters: A-Z, a-z, 0-9, '.', '_', '~', '-' (RFC 3986 unreserved). */
|
|
27
28
|
off_chrt_reference_id?: string | null;
|
|
28
29
|
off_chrt_shipper_org_data_id?: string | null;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type OrderSortByEnum = "draft_started_at_timestamp" | "staged_at_timestamp" | "in_progress_at_timestamp" | "completed_at_timestamp" | "cancelled_at_timestamp" | "exception_at_timestamp";
|
|
4
|
+
export type OrderSortByEnum = "draft_started_at_timestamp" | "staged_at_timestamp" | "in_progress_at_timestamp" | "completed_at_timestamp" | "last_delivery_task_completed_at_timestamp" | "cancelled_at_timestamp" | "exception_at_timestamp";
|
|
5
5
|
export declare const OrderSortByEnum: {
|
|
6
6
|
readonly DraftStartedAtTimestamp: "draft_started_at_timestamp";
|
|
7
7
|
readonly StagedAtTimestamp: "staged_at_timestamp";
|
|
8
8
|
readonly InProgressAtTimestamp: "in_progress_at_timestamp";
|
|
9
9
|
readonly CompletedAtTimestamp: "completed_at_timestamp";
|
|
10
|
+
readonly LastDeliveryTaskCompletedAtTimestamp: "last_delivery_task_completed_at_timestamp";
|
|
10
11
|
readonly CancelledAtTimestamp: "cancelled_at_timestamp";
|
|
11
12
|
readonly ExceptionAtTimestamp: "exception_at_timestamp";
|
|
12
13
|
};
|
|
@@ -9,6 +9,7 @@ exports.OrderSortByEnum = {
|
|
|
9
9
|
StagedAtTimestamp: "staged_at_timestamp",
|
|
10
10
|
InProgressAtTimestamp: "in_progress_at_timestamp",
|
|
11
11
|
CompletedAtTimestamp: "completed_at_timestamp",
|
|
12
|
+
LastDeliveryTaskCompletedAtTimestamp: "last_delivery_task_completed_at_timestamp",
|
|
12
13
|
CancelledAtTimestamp: "cancelled_at_timestamp",
|
|
13
14
|
ExceptionAtTimestamp: "exception_at_timestamp",
|
|
14
15
|
};
|
|
@@ -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.js";
|
|
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.js";
|
|
|
151
151
|
export * from "./CoordinatorExecutorConnectionsForCoordinatorGeoSearchListRes.js";
|
|
152
152
|
export * from "./CoordinatorExecutorConnectionsForCoordinatorListRes.js";
|
|
153
153
|
export * from "./CoordinatorExecutorConnectionsForExecutorListRes.js";
|
|
154
|
+
export * from "./CourieAddressResponse1.js";
|
|
155
|
+
export * from "./CourieAttemptReasonResponse1.js";
|
|
156
|
+
export * from "./CourieCredsLimited1.js";
|
|
157
|
+
export * from "./CourieCredsListRes.js";
|
|
158
|
+
export * from "./CourieCredsTestRes.js";
|
|
159
|
+
export * from "./CourieCustomFieldResponse1.js";
|
|
160
|
+
export * from "./CourieDriverAnswerResponse1.js";
|
|
161
|
+
export * from "./CourieDriverResponse1.js";
|
|
162
|
+
export * from "./CourieLatLngResponse1.js";
|
|
163
|
+
export * from "./CourieLocationScanResponse1.js";
|
|
164
|
+
export * from "./CourieOrder1.js";
|
|
165
|
+
export * from "./CourieOrderEventEnum1.js";
|
|
166
|
+
export * from "./CourieOrderEventResponse1.js";
|
|
167
|
+
export * from "./CourieOrderListRes.js";
|
|
168
|
+
export * from "./CourieOrderResponse1.js";
|
|
169
|
+
export * from "./CourieOrderSortByEnum.js";
|
|
170
|
+
export * from "./CourieOrderStatusEnum1.js";
|
|
171
|
+
export * from "./CouriePackageItemResponse1.js";
|
|
172
|
+
export * from "./CouriePackageResponse1.js";
|
|
173
|
+
export * from "./CourieProofOfDeliveryResponse1.js";
|
|
174
|
+
export * from "./CourieStopAttemptResponse1.js";
|
|
175
|
+
export * from "./CourieStopResponse1.js";
|
|
176
|
+
export * from "./CourieStopTypeEnum1.js";
|
|
154
177
|
export * from "./CreateCheckoutSessionRes.js";
|
|
155
178
|
export * from "./CreateConnectionReq.js";
|
|
156
179
|
export * from "./CreateCustomerPortalSessionRes.js";
|
|
@@ -167,6 +167,29 @@ __exportStar(require("./CoordinatorExecutorConnectionForExecutorListItem.js"), e
|
|
|
167
167
|
__exportStar(require("./CoordinatorExecutorConnectionsForCoordinatorGeoSearchListRes.js"), exports);
|
|
168
168
|
__exportStar(require("./CoordinatorExecutorConnectionsForCoordinatorListRes.js"), exports);
|
|
169
169
|
__exportStar(require("./CoordinatorExecutorConnectionsForExecutorListRes.js"), exports);
|
|
170
|
+
__exportStar(require("./CourieAddressResponse1.js"), exports);
|
|
171
|
+
__exportStar(require("./CourieAttemptReasonResponse1.js"), exports);
|
|
172
|
+
__exportStar(require("./CourieCredsLimited1.js"), exports);
|
|
173
|
+
__exportStar(require("./CourieCredsListRes.js"), exports);
|
|
174
|
+
__exportStar(require("./CourieCredsTestRes.js"), exports);
|
|
175
|
+
__exportStar(require("./CourieCustomFieldResponse1.js"), exports);
|
|
176
|
+
__exportStar(require("./CourieDriverAnswerResponse1.js"), exports);
|
|
177
|
+
__exportStar(require("./CourieDriverResponse1.js"), exports);
|
|
178
|
+
__exportStar(require("./CourieLatLngResponse1.js"), exports);
|
|
179
|
+
__exportStar(require("./CourieLocationScanResponse1.js"), exports);
|
|
180
|
+
__exportStar(require("./CourieOrder1.js"), exports);
|
|
181
|
+
__exportStar(require("./CourieOrderEventEnum1.js"), exports);
|
|
182
|
+
__exportStar(require("./CourieOrderEventResponse1.js"), exports);
|
|
183
|
+
__exportStar(require("./CourieOrderListRes.js"), exports);
|
|
184
|
+
__exportStar(require("./CourieOrderResponse1.js"), exports);
|
|
185
|
+
__exportStar(require("./CourieOrderSortByEnum.js"), exports);
|
|
186
|
+
__exportStar(require("./CourieOrderStatusEnum1.js"), exports);
|
|
187
|
+
__exportStar(require("./CouriePackageItemResponse1.js"), exports);
|
|
188
|
+
__exportStar(require("./CouriePackageResponse1.js"), exports);
|
|
189
|
+
__exportStar(require("./CourieProofOfDeliveryResponse1.js"), exports);
|
|
190
|
+
__exportStar(require("./CourieStopAttemptResponse1.js"), exports);
|
|
191
|
+
__exportStar(require("./CourieStopResponse1.js"), exports);
|
|
192
|
+
__exportStar(require("./CourieStopTypeEnum1.js"), exports);
|
|
170
193
|
__exportStar(require("./CreateCheckoutSessionRes.js"), exports);
|
|
171
194
|
__exportStar(require("./CreateConnectionReq.js"), exports);
|
|
172
195
|
__exportStar(require("./CreateCustomerPortalSessionRes.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.1002.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.1002.0",
|
|
28
|
+
"User-Agent": "@chrt-inc/typescript-sdk/1.1002.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) });
|
|
@@ -77,6 +77,8 @@ export declare class Orders {
|
|
|
77
77
|
* filter_in_progress_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
78
78
|
* filter_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
79
79
|
* filter_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
80
|
+
* filter_last_delivery_task_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
81
|
+
* filter_last_delivery_task_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
80
82
|
* filter_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
81
83
|
* filter_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
82
84
|
* filter_exception_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
@@ -131,6 +131,8 @@ export class Orders {
|
|
|
131
131
|
* filter_in_progress_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
132
132
|
* filter_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
133
133
|
* filter_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
134
|
+
* filter_last_delivery_task_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
135
|
+
* filter_last_delivery_task_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
134
136
|
* filter_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
135
137
|
* filter_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
136
138
|
* filter_exception_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
@@ -143,7 +145,7 @@ export class Orders {
|
|
|
143
145
|
__listExpandedForCoordinatorOperatorsV1() {
|
|
144
146
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
145
147
|
var _a, _b, _c, _d, _e, _f;
|
|
146
|
-
const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_awb_number: filterAwbNumber, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_data_id: filterOffChrtShipperOrgDataId, filter_coordinator_shipper_account_ids: filterCoordinatorShipperAccountIds, filter_executor_org_id: filterExecutorOrgId, filter_off_chrt_executor_org_data_id: filterOffChrtExecutorOrgDataId, filter_coordinator_labels: filterCoordinatorLabels, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte } = request, _body = __rest(request, ["sort_by", "sort_order", "page", "page_size", "search", "filter_status", "filter_awb_number", "filter_shipper_org_id", "filter_off_chrt_shipper_org_data_id", "filter_coordinator_shipper_account_ids", "filter_executor_org_id", "filter_off_chrt_executor_org_data_id", "filter_coordinator_labels", "filter_draft_started_at_timestamp_gte", "filter_draft_started_at_timestamp_lte", "filter_staged_at_timestamp_gte", "filter_staged_at_timestamp_lte", "filter_in_progress_at_timestamp_gte", "filter_in_progress_at_timestamp_lte", "filter_completed_at_timestamp_gte", "filter_completed_at_timestamp_lte", "filter_cancelled_at_timestamp_gte", "filter_cancelled_at_timestamp_lte", "filter_exception_at_timestamp_gte", "filter_exception_at_timestamp_lte"]);
|
|
148
|
+
const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_awb_number: filterAwbNumber, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_data_id: filterOffChrtShipperOrgDataId, filter_coordinator_shipper_account_ids: filterCoordinatorShipperAccountIds, filter_executor_org_id: filterExecutorOrgId, filter_off_chrt_executor_org_data_id: filterOffChrtExecutorOrgDataId, filter_coordinator_labels: filterCoordinatorLabels, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_last_delivery_task_completed_at_timestamp_gte: filterLastDeliveryTaskCompletedAtTimestampGte, filter_last_delivery_task_completed_at_timestamp_lte: filterLastDeliveryTaskCompletedAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte } = request, _body = __rest(request, ["sort_by", "sort_order", "page", "page_size", "search", "filter_status", "filter_awb_number", "filter_shipper_org_id", "filter_off_chrt_shipper_org_data_id", "filter_coordinator_shipper_account_ids", "filter_executor_org_id", "filter_off_chrt_executor_org_data_id", "filter_coordinator_labels", "filter_draft_started_at_timestamp_gte", "filter_draft_started_at_timestamp_lte", "filter_staged_at_timestamp_gte", "filter_staged_at_timestamp_lte", "filter_in_progress_at_timestamp_gte", "filter_in_progress_at_timestamp_lte", "filter_completed_at_timestamp_gte", "filter_completed_at_timestamp_lte", "filter_last_delivery_task_completed_at_timestamp_gte", "filter_last_delivery_task_completed_at_timestamp_lte", "filter_cancelled_at_timestamp_gte", "filter_cancelled_at_timestamp_lte", "filter_exception_at_timestamp_gte", "filter_exception_at_timestamp_lte"]);
|
|
147
149
|
const _queryParams = {};
|
|
148
150
|
if (sortBy !== undefined) {
|
|
149
151
|
_queryParams["sort_by"] = sortBy;
|
|
@@ -223,6 +225,14 @@ export class Orders {
|
|
|
223
225
|
if (filterCompletedAtTimestampLte !== undefined) {
|
|
224
226
|
_queryParams["filter_completed_at_timestamp_lte"] = filterCompletedAtTimestampLte;
|
|
225
227
|
}
|
|
228
|
+
if (filterLastDeliveryTaskCompletedAtTimestampGte !== undefined) {
|
|
229
|
+
_queryParams["filter_last_delivery_task_completed_at_timestamp_gte"] =
|
|
230
|
+
filterLastDeliveryTaskCompletedAtTimestampGte;
|
|
231
|
+
}
|
|
232
|
+
if (filterLastDeliveryTaskCompletedAtTimestampLte !== undefined) {
|
|
233
|
+
_queryParams["filter_last_delivery_task_completed_at_timestamp_lte"] =
|
|
234
|
+
filterLastDeliveryTaskCompletedAtTimestampLte;
|
|
235
|
+
}
|
|
226
236
|
if (filterCancelledAtTimestampGte !== undefined) {
|
|
227
237
|
_queryParams["filter_cancelled_at_timestamp_gte"] = filterCancelledAtTimestampGte;
|
|
228
238
|
}
|
|
@@ -26,6 +26,8 @@ import * as Chrt from "../../../../../../index.mjs";
|
|
|
26
26
|
* filter_in_progress_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
27
27
|
* filter_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
28
28
|
* filter_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
29
|
+
* filter_last_delivery_task_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
30
|
+
* filter_last_delivery_task_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
29
31
|
* filter_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
30
32
|
* filter_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
31
33
|
* filter_exception_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
@@ -33,7 +35,7 @@ import * as Chrt from "../../../../../../index.mjs";
|
|
|
33
35
|
* }
|
|
34
36
|
*/
|
|
35
37
|
export interface OrderBillingExpandedListReq {
|
|
36
|
-
/** Order lifecycle timestamp used for sorting. */
|
|
38
|
+
/** Order lifecycle or last delivery completion timestamp used for sorting. */
|
|
37
39
|
sort_by?: Chrt.OrderBillingSortByEnum | null;
|
|
38
40
|
/** Sort order (asc or desc). */
|
|
39
41
|
sort_order?: Chrt.SortOrderEnum | null;
|
|
@@ -65,6 +67,10 @@ export interface OrderBillingExpandedListReq {
|
|
|
65
67
|
filter_in_progress_at_timestamp_lte?: string | null;
|
|
66
68
|
filter_completed_at_timestamp_gte?: string | null;
|
|
67
69
|
filter_completed_at_timestamp_lte?: string | null;
|
|
70
|
+
/** Filter by last delivery completion time, inclusive. */
|
|
71
|
+
filter_last_delivery_task_completed_at_timestamp_gte?: string | null;
|
|
72
|
+
/** Filter by last delivery completion time, inclusive. */
|
|
73
|
+
filter_last_delivery_task_completed_at_timestamp_lte?: string | null;
|
|
68
74
|
filter_cancelled_at_timestamp_gte?: string | null;
|
|
69
75
|
filter_cancelled_at_timestamp_lte?: string | null;
|
|
70
76
|
filter_exception_at_timestamp_gte?: string | null;
|
package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.mts
CHANGED
|
@@ -87,6 +87,8 @@ export declare class Expanded {
|
|
|
87
87
|
* filter_in_progress_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
88
88
|
* filter_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
89
89
|
* filter_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
90
|
+
* filter_last_delivery_task_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
91
|
+
* filter_last_delivery_task_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
90
92
|
* filter_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
91
93
|
* filter_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
92
94
|
* filter_exception_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
@@ -134,6 +136,8 @@ export declare class Expanded {
|
|
|
134
136
|
* filter_in_progress_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
135
137
|
* filter_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
136
138
|
* filter_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
139
|
+
* filter_last_delivery_task_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
140
|
+
* filter_last_delivery_task_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
137
141
|
* filter_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
138
142
|
* filter_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
139
143
|
* filter_exception_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.mjs
CHANGED
|
@@ -174,6 +174,8 @@ export class Expanded {
|
|
|
174
174
|
* filter_in_progress_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
175
175
|
* filter_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
176
176
|
* filter_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
177
|
+
* filter_last_delivery_task_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
178
|
+
* filter_last_delivery_task_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
177
179
|
* filter_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
178
180
|
* filter_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
179
181
|
* filter_exception_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
@@ -197,7 +199,7 @@ export class Expanded {
|
|
|
197
199
|
__listForProviderOperatorsV1(request, requestOptions) {
|
|
198
200
|
return __awaiter(this, void 0, void 0, function* () {
|
|
199
201
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
200
|
-
const { provider_role: providerRole, sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_service_line: filterServiceLine, filter_order_classification_by_task_group_type: filterOrderClassificationByTaskGroupType, filter_awb_number: filterAwbNumber, filter_has_invoice: filterHasInvoice, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_executor_org_id: filterExecutorOrgId, filter_executor_department_ids: filterExecutorDepartmentIds, filter_off_chrt_executor_org_data_id: filterOffChrtExecutorOrgDataId, filter_coordinator_org_id: filterCoordinatorOrgId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_data_id: filterOffChrtShipperOrgDataId, filter_coordinator_shipper_account_ids: filterCoordinatorShipperAccountIds, filter_coordinator_department_ids: filterCoordinatorDepartmentIds, filter_coordinator_assigned_user_ids: filterCoordinatorAssignedUserIds, filter_coordinator_labels: filterCoordinatorLabels, body: _body, } = request;
|
|
202
|
+
const { provider_role: providerRole, sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_service_line: filterServiceLine, filter_order_classification_by_task_group_type: filterOrderClassificationByTaskGroupType, filter_awb_number: filterAwbNumber, filter_has_invoice: filterHasInvoice, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_last_delivery_task_completed_at_timestamp_lte: filterLastDeliveryTaskCompletedAtTimestampLte, filter_last_delivery_task_completed_at_timestamp_gte: filterLastDeliveryTaskCompletedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_executor_org_id: filterExecutorOrgId, filter_executor_department_ids: filterExecutorDepartmentIds, filter_off_chrt_executor_org_data_id: filterOffChrtExecutorOrgDataId, filter_coordinator_org_id: filterCoordinatorOrgId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_data_id: filterOffChrtShipperOrgDataId, filter_coordinator_shipper_account_ids: filterCoordinatorShipperAccountIds, filter_coordinator_department_ids: filterCoordinatorDepartmentIds, filter_coordinator_assigned_user_ids: filterCoordinatorAssignedUserIds, filter_coordinator_labels: filterCoordinatorLabels, body: _body, } = request;
|
|
201
203
|
const _queryParams = {};
|
|
202
204
|
if (providerRole !== undefined) {
|
|
203
205
|
_queryParams["provider_role"] = providerRole;
|
|
@@ -273,6 +275,14 @@ export class Expanded {
|
|
|
273
275
|
if (filterCompletedAtTimestampGte !== undefined) {
|
|
274
276
|
_queryParams["filter_completed_at_timestamp_gte"] = filterCompletedAtTimestampGte;
|
|
275
277
|
}
|
|
278
|
+
if (filterLastDeliveryTaskCompletedAtTimestampLte !== undefined) {
|
|
279
|
+
_queryParams["filter_last_delivery_task_completed_at_timestamp_lte"] =
|
|
280
|
+
filterLastDeliveryTaskCompletedAtTimestampLte;
|
|
281
|
+
}
|
|
282
|
+
if (filterLastDeliveryTaskCompletedAtTimestampGte !== undefined) {
|
|
283
|
+
_queryParams["filter_last_delivery_task_completed_at_timestamp_gte"] =
|
|
284
|
+
filterLastDeliveryTaskCompletedAtTimestampGte;
|
|
285
|
+
}
|
|
276
286
|
if (filterCancelledAtTimestampLte !== undefined) {
|
|
277
287
|
_queryParams["filter_cancelled_at_timestamp_lte"] = filterCancelledAtTimestampLte;
|
|
278
288
|
}
|
|
@@ -416,6 +426,8 @@ export class Expanded {
|
|
|
416
426
|
* filter_in_progress_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
417
427
|
* filter_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
418
428
|
* filter_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
429
|
+
* filter_last_delivery_task_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
430
|
+
* filter_last_delivery_task_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
419
431
|
* filter_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
420
432
|
* filter_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
421
433
|
* filter_exception_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
@@ -431,7 +443,7 @@ export class Expanded {
|
|
|
431
443
|
__listForShipperOperatorsV1(request, requestOptions) {
|
|
432
444
|
return __awaiter(this, void 0, void 0, function* () {
|
|
433
445
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
434
|
-
const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_service_line: filterServiceLine, filter_order_classification_by_task_group_type: filterOrderClassificationByTaskGroupType, filter_awb_number: filterAwbNumber, filter_has_invoice: filterHasInvoice, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_executor_org_id: filterExecutorOrgId, filter_coordinator_org_id: filterCoordinatorOrgId, body: _body, } = request;
|
|
446
|
+
const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_service_line: filterServiceLine, filter_order_classification_by_task_group_type: filterOrderClassificationByTaskGroupType, filter_awb_number: filterAwbNumber, filter_has_invoice: filterHasInvoice, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_last_delivery_task_completed_at_timestamp_lte: filterLastDeliveryTaskCompletedAtTimestampLte, filter_last_delivery_task_completed_at_timestamp_gte: filterLastDeliveryTaskCompletedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_executor_org_id: filterExecutorOrgId, filter_coordinator_org_id: filterCoordinatorOrgId, body: _body, } = request;
|
|
435
447
|
const _queryParams = {};
|
|
436
448
|
if (sortBy !== undefined) {
|
|
437
449
|
_queryParams["sort_by"] = sortBy;
|
|
@@ -504,6 +516,14 @@ export class Expanded {
|
|
|
504
516
|
if (filterCompletedAtTimestampGte !== undefined) {
|
|
505
517
|
_queryParams["filter_completed_at_timestamp_gte"] = filterCompletedAtTimestampGte;
|
|
506
518
|
}
|
|
519
|
+
if (filterLastDeliveryTaskCompletedAtTimestampLte !== undefined) {
|
|
520
|
+
_queryParams["filter_last_delivery_task_completed_at_timestamp_lte"] =
|
|
521
|
+
filterLastDeliveryTaskCompletedAtTimestampLte;
|
|
522
|
+
}
|
|
523
|
+
if (filterLastDeliveryTaskCompletedAtTimestampGte !== undefined) {
|
|
524
|
+
_queryParams["filter_last_delivery_task_completed_at_timestamp_gte"] =
|
|
525
|
+
filterLastDeliveryTaskCompletedAtTimestampGte;
|
|
526
|
+
}
|
|
507
527
|
if (filterCancelledAtTimestampLte !== undefined) {
|
|
508
528
|
_queryParams["filter_cancelled_at_timestamp_lte"] = filterCancelledAtTimestampLte;
|
|
509
529
|
}
|
|
@@ -24,6 +24,8 @@ import * as Chrt from "../../../../../../../../index.mjs";
|
|
|
24
24
|
* filter_in_progress_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
25
25
|
* filter_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
26
26
|
* filter_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
27
|
+
* filter_last_delivery_task_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
28
|
+
* filter_last_delivery_task_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
27
29
|
* filter_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
28
30
|
* filter_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
29
31
|
* filter_exception_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
@@ -67,6 +69,10 @@ export interface ExpandedListForProviderOperatorsV1Request {
|
|
|
67
69
|
filter_in_progress_at_timestamp_gte?: string | null;
|
|
68
70
|
filter_completed_at_timestamp_lte?: string | null;
|
|
69
71
|
filter_completed_at_timestamp_gte?: string | null;
|
|
72
|
+
/** Filter by last delivery completion time, inclusive. */
|
|
73
|
+
filter_last_delivery_task_completed_at_timestamp_lte?: string | null;
|
|
74
|
+
/** Filter by last delivery completion time, inclusive. */
|
|
75
|
+
filter_last_delivery_task_completed_at_timestamp_gte?: string | null;
|
|
70
76
|
filter_cancelled_at_timestamp_lte?: string | null;
|
|
71
77
|
filter_cancelled_at_timestamp_gte?: string | null;
|
|
72
78
|
filter_exception_at_timestamp_lte?: string | null;
|
|
@@ -23,6 +23,8 @@ import * as Chrt from "../../../../../../../../index.mjs";
|
|
|
23
23
|
* filter_in_progress_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
24
24
|
* filter_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
25
25
|
* filter_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
26
|
+
* filter_last_delivery_task_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
27
|
+
* filter_last_delivery_task_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
26
28
|
* filter_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
27
29
|
* filter_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
28
30
|
* filter_exception_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
@@ -57,6 +59,10 @@ export interface ExpandedListForShipperOperatorsV1Request {
|
|
|
57
59
|
filter_in_progress_at_timestamp_gte?: string | null;
|
|
58
60
|
filter_completed_at_timestamp_lte?: string | null;
|
|
59
61
|
filter_completed_at_timestamp_gte?: string | null;
|
|
62
|
+
/** Filter by last delivery completion time, inclusive. */
|
|
63
|
+
filter_last_delivery_task_completed_at_timestamp_lte?: string | null;
|
|
64
|
+
/** Filter by last delivery completion time, inclusive. */
|
|
65
|
+
filter_last_delivery_task_completed_at_timestamp_gte?: string | null;
|
|
60
66
|
filter_cancelled_at_timestamp_lte?: string | null;
|
|
61
67
|
filter_cancelled_at_timestamp_gte?: string | null;
|
|
62
68
|
filter_exception_at_timestamp_lte?: string | null;
|
|
@@ -7,6 +7,7 @@ import { Connections } from "../resources/connections/client/Client.mjs";
|
|
|
7
7
|
import { IntegrationExecutors } from "../resources/integrationExecutors/client/Client.mjs";
|
|
8
8
|
import { Orders } from "../resources/orders/client/Client.mjs";
|
|
9
9
|
import { Atlas } from "../resources/atlas/client/Client.mjs";
|
|
10
|
+
import { Courie } from "../resources/courie/client/Client.mjs";
|
|
10
11
|
import { Cxt } from "../resources/cxt/client/Client.mjs";
|
|
11
12
|
import { DispatchScience } from "../resources/dispatchScience/client/Client.mjs";
|
|
12
13
|
import { Ecourier } from "../resources/ecourier/client/Client.mjs";
|
|
@@ -29,6 +30,7 @@ export declare class ShippingIntegrations {
|
|
|
29
30
|
protected _integrationExecutors: IntegrationExecutors | undefined;
|
|
30
31
|
protected _orders: Orders | undefined;
|
|
31
32
|
protected _atlas: Atlas | undefined;
|
|
33
|
+
protected _courie: Courie | undefined;
|
|
32
34
|
protected _cxt: Cxt | undefined;
|
|
33
35
|
protected _dispatchScience: DispatchScience | undefined;
|
|
34
36
|
protected _ecourier: Ecourier | undefined;
|
|
@@ -39,6 +41,7 @@ export declare class ShippingIntegrations {
|
|
|
39
41
|
get integrationExecutors(): IntegrationExecutors;
|
|
40
42
|
get orders(): Orders;
|
|
41
43
|
get atlas(): Atlas;
|
|
44
|
+
get courie(): Courie;
|
|
42
45
|
get cxt(): Cxt;
|
|
43
46
|
get dispatchScience(): DispatchScience;
|
|
44
47
|
get ecourier(): Ecourier;
|
|
@@ -5,6 +5,7 @@ import { Connections } from "../resources/connections/client/Client.mjs";
|
|
|
5
5
|
import { IntegrationExecutors } from "../resources/integrationExecutors/client/Client.mjs";
|
|
6
6
|
import { Orders } from "../resources/orders/client/Client.mjs";
|
|
7
7
|
import { Atlas } from "../resources/atlas/client/Client.mjs";
|
|
8
|
+
import { Courie } from "../resources/courie/client/Client.mjs";
|
|
8
9
|
import { Cxt } from "../resources/cxt/client/Client.mjs";
|
|
9
10
|
import { DispatchScience } from "../resources/dispatchScience/client/Client.mjs";
|
|
10
11
|
import { Ecourier } from "../resources/ecourier/client/Client.mjs";
|
|
@@ -30,6 +31,10 @@ export class ShippingIntegrations {
|
|
|
30
31
|
var _a;
|
|
31
32
|
return ((_a = this._atlas) !== null && _a !== void 0 ? _a : (this._atlas = new Atlas(this._options)));
|
|
32
33
|
}
|
|
34
|
+
get courie() {
|
|
35
|
+
var _a;
|
|
36
|
+
return ((_a = this._courie) !== null && _a !== void 0 ? _a : (this._courie = new Courie(this._options)));
|
|
37
|
+
}
|
|
33
38
|
get cxt() {
|
|
34
39
|
var _a;
|
|
35
40
|
return ((_a = this._cxt) !== null && _a !== void 0 ? _a : (this._cxt = new Cxt(this._options)));
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as environments from "../../../../../../environments.mjs";
|
|
5
|
+
import * as core from "../../../../../../core/index.mjs";
|
|
6
|
+
import { Creds } from "../resources/creds/client/Client.mjs";
|
|
7
|
+
import { Orders } from "../resources/orders/client/Client.mjs";
|
|
8
|
+
export declare namespace Courie {
|
|
9
|
+
interface Options {
|
|
10
|
+
environment?: core.Supplier<environments.ChrtEnvironment | string>;
|
|
11
|
+
/** Specify a custom URL to connect the client to. */
|
|
12
|
+
baseUrl?: core.Supplier<string>;
|
|
13
|
+
token?: core.Supplier<core.BearerToken | undefined>;
|
|
14
|
+
/** Additional headers to include in requests. */
|
|
15
|
+
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
16
|
+
fetcher?: core.FetchFunction;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
export declare class Courie {
|
|
20
|
+
protected readonly _options: Courie.Options;
|
|
21
|
+
protected _creds: Creds | undefined;
|
|
22
|
+
protected _orders: Orders | undefined;
|
|
23
|
+
constructor(_options?: Courie.Options);
|
|
24
|
+
get creds(): Creds;
|
|
25
|
+
get orders(): Orders;
|
|
26
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import { Creds } from "../resources/creds/client/Client.mjs";
|
|
5
|
+
import { Orders } from "../resources/orders/client/Client.mjs";
|
|
6
|
+
export class Courie {
|
|
7
|
+
constructor(_options = {}) {
|
|
8
|
+
this._options = _options;
|
|
9
|
+
}
|
|
10
|
+
get creds() {
|
|
11
|
+
var _a;
|
|
12
|
+
return ((_a = this._creds) !== null && _a !== void 0 ? _a : (this._creds = new Creds(this._options)));
|
|
13
|
+
}
|
|
14
|
+
get orders() {
|
|
15
|
+
var _a;
|
|
16
|
+
return ((_a = this._orders) !== null && _a !== void 0 ? _a : (this._orders = new Orders(this._options)));
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|