@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
package/dist/cjs/Client.js
CHANGED
|
@@ -60,8 +60,8 @@ class ChrtClient {
|
|
|
60
60
|
this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_js_1.mergeHeaders)({
|
|
61
61
|
"X-Fern-Language": "JavaScript",
|
|
62
62
|
"X-Fern-SDK-Name": "@chrt-inc/typescript-sdk",
|
|
63
|
-
"X-Fern-SDK-Version": "1.
|
|
64
|
-
"User-Agent": "@chrt-inc/typescript-sdk/1.
|
|
63
|
+
"X-Fern-SDK-Version": "1.1002.0",
|
|
64
|
+
"User-Agent": "@chrt-inc/typescript-sdk/1.1002.0",
|
|
65
65
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
66
66
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
67
67
|
}, _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",
|
|
@@ -167,6 +167,8 @@ class Orders {
|
|
|
167
167
|
* filter_in_progress_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
168
168
|
* filter_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
169
169
|
* filter_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
170
|
+
* filter_last_delivery_task_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
171
|
+
* filter_last_delivery_task_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
170
172
|
* filter_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
171
173
|
* filter_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
172
174
|
* filter_exception_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
@@ -179,7 +181,7 @@ class Orders {
|
|
|
179
181
|
__listExpandedForCoordinatorOperatorsV1() {
|
|
180
182
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
181
183
|
var _a, _b, _c, _d, _e, _f;
|
|
182
|
-
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"]);
|
|
184
|
+
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"]);
|
|
183
185
|
const _queryParams = {};
|
|
184
186
|
if (sortBy !== undefined) {
|
|
185
187
|
_queryParams["sort_by"] = sortBy;
|
|
@@ -259,6 +261,14 @@ class Orders {
|
|
|
259
261
|
if (filterCompletedAtTimestampLte !== undefined) {
|
|
260
262
|
_queryParams["filter_completed_at_timestamp_lte"] = filterCompletedAtTimestampLte;
|
|
261
263
|
}
|
|
264
|
+
if (filterLastDeliveryTaskCompletedAtTimestampGte !== undefined) {
|
|
265
|
+
_queryParams["filter_last_delivery_task_completed_at_timestamp_gte"] =
|
|
266
|
+
filterLastDeliveryTaskCompletedAtTimestampGte;
|
|
267
|
+
}
|
|
268
|
+
if (filterLastDeliveryTaskCompletedAtTimestampLte !== undefined) {
|
|
269
|
+
_queryParams["filter_last_delivery_task_completed_at_timestamp_lte"] =
|
|
270
|
+
filterLastDeliveryTaskCompletedAtTimestampLte;
|
|
271
|
+
}
|
|
262
272
|
if (filterCancelledAtTimestampGte !== undefined) {
|
|
263
273
|
_queryParams["filter_cancelled_at_timestamp_gte"] = filterCancelledAtTimestampGte;
|
|
264
274
|
}
|
|
@@ -26,6 +26,8 @@ import * as Chrt from "../../../../../../index.js";
|
|
|
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.js";
|
|
|
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/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.ts
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/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.js
CHANGED
|
@@ -210,6 +210,8 @@ class Expanded {
|
|
|
210
210
|
* filter_in_progress_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
211
211
|
* filter_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
212
212
|
* filter_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
213
|
+
* filter_last_delivery_task_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
214
|
+
* filter_last_delivery_task_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
213
215
|
* filter_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
214
216
|
* filter_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
215
217
|
* filter_exception_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
@@ -233,7 +235,7 @@ class Expanded {
|
|
|
233
235
|
__listForProviderOperatorsV1(request, requestOptions) {
|
|
234
236
|
return __awaiter(this, void 0, void 0, function* () {
|
|
235
237
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
236
|
-
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;
|
|
238
|
+
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;
|
|
237
239
|
const _queryParams = {};
|
|
238
240
|
if (providerRole !== undefined) {
|
|
239
241
|
_queryParams["provider_role"] = providerRole;
|
|
@@ -309,6 +311,14 @@ class Expanded {
|
|
|
309
311
|
if (filterCompletedAtTimestampGte !== undefined) {
|
|
310
312
|
_queryParams["filter_completed_at_timestamp_gte"] = filterCompletedAtTimestampGte;
|
|
311
313
|
}
|
|
314
|
+
if (filterLastDeliveryTaskCompletedAtTimestampLte !== undefined) {
|
|
315
|
+
_queryParams["filter_last_delivery_task_completed_at_timestamp_lte"] =
|
|
316
|
+
filterLastDeliveryTaskCompletedAtTimestampLte;
|
|
317
|
+
}
|
|
318
|
+
if (filterLastDeliveryTaskCompletedAtTimestampGte !== undefined) {
|
|
319
|
+
_queryParams["filter_last_delivery_task_completed_at_timestamp_gte"] =
|
|
320
|
+
filterLastDeliveryTaskCompletedAtTimestampGte;
|
|
321
|
+
}
|
|
312
322
|
if (filterCancelledAtTimestampLte !== undefined) {
|
|
313
323
|
_queryParams["filter_cancelled_at_timestamp_lte"] = filterCancelledAtTimestampLte;
|
|
314
324
|
}
|
|
@@ -452,6 +462,8 @@ class Expanded {
|
|
|
452
462
|
* filter_in_progress_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
453
463
|
* filter_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
454
464
|
* filter_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
465
|
+
* filter_last_delivery_task_completed_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
466
|
+
* filter_last_delivery_task_completed_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
455
467
|
* filter_cancelled_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
456
468
|
* filter_cancelled_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
457
469
|
* filter_exception_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
@@ -467,7 +479,7 @@ class Expanded {
|
|
|
467
479
|
__listForShipperOperatorsV1(request, requestOptions) {
|
|
468
480
|
return __awaiter(this, void 0, void 0, function* () {
|
|
469
481
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
470
|
-
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;
|
|
482
|
+
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;
|
|
471
483
|
const _queryParams = {};
|
|
472
484
|
if (sortBy !== undefined) {
|
|
473
485
|
_queryParams["sort_by"] = sortBy;
|
|
@@ -540,6 +552,14 @@ class Expanded {
|
|
|
540
552
|
if (filterCompletedAtTimestampGte !== undefined) {
|
|
541
553
|
_queryParams["filter_completed_at_timestamp_gte"] = filterCompletedAtTimestampGte;
|
|
542
554
|
}
|
|
555
|
+
if (filterLastDeliveryTaskCompletedAtTimestampLte !== undefined) {
|
|
556
|
+
_queryParams["filter_last_delivery_task_completed_at_timestamp_lte"] =
|
|
557
|
+
filterLastDeliveryTaskCompletedAtTimestampLte;
|
|
558
|
+
}
|
|
559
|
+
if (filterLastDeliveryTaskCompletedAtTimestampGte !== undefined) {
|
|
560
|
+
_queryParams["filter_last_delivery_task_completed_at_timestamp_gte"] =
|
|
561
|
+
filterLastDeliveryTaskCompletedAtTimestampGte;
|
|
562
|
+
}
|
|
543
563
|
if (filterCancelledAtTimestampLte !== undefined) {
|
|
544
564
|
_queryParams["filter_cancelled_at_timestamp_lte"] = filterCancelledAtTimestampLte;
|
|
545
565
|
}
|
|
@@ -24,6 +24,8 @@ import * as Chrt from "../../../../../../../../index.js";
|
|
|
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.js";
|
|
|
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.js";
|
|
|
7
7
|
import { IntegrationExecutors } from "../resources/integrationExecutors/client/Client.js";
|
|
8
8
|
import { Orders } from "../resources/orders/client/Client.js";
|
|
9
9
|
import { Atlas } from "../resources/atlas/client/Client.js";
|
|
10
|
+
import { Courie } from "../resources/courie/client/Client.js";
|
|
10
11
|
import { Cxt } from "../resources/cxt/client/Client.js";
|
|
11
12
|
import { DispatchScience } from "../resources/dispatchScience/client/Client.js";
|
|
12
13
|
import { Ecourier } from "../resources/ecourier/client/Client.js";
|
|
@@ -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;
|
|
@@ -8,11 +8,12 @@ const Client_js_1 = require("../resources/connections/client/Client.js");
|
|
|
8
8
|
const Client_js_2 = require("../resources/integrationExecutors/client/Client.js");
|
|
9
9
|
const Client_js_3 = require("../resources/orders/client/Client.js");
|
|
10
10
|
const Client_js_4 = require("../resources/atlas/client/Client.js");
|
|
11
|
-
const Client_js_5 = require("../resources/
|
|
12
|
-
const Client_js_6 = require("../resources/
|
|
13
|
-
const Client_js_7 = require("../resources/
|
|
14
|
-
const Client_js_8 = require("../resources/
|
|
15
|
-
const Client_js_9 = require("../resources/
|
|
11
|
+
const Client_js_5 = require("../resources/courie/client/Client.js");
|
|
12
|
+
const Client_js_6 = require("../resources/cxt/client/Client.js");
|
|
13
|
+
const Client_js_7 = require("../resources/dispatchScience/client/Client.js");
|
|
14
|
+
const Client_js_8 = require("../resources/ecourier/client/Client.js");
|
|
15
|
+
const Client_js_9 = require("../resources/ontime360/client/Client.js");
|
|
16
|
+
const Client_js_10 = require("../resources/xcelerator/client/Client.js");
|
|
16
17
|
class ShippingIntegrations {
|
|
17
18
|
constructor(_options = {}) {
|
|
18
19
|
this._options = _options;
|
|
@@ -33,25 +34,29 @@ class ShippingIntegrations {
|
|
|
33
34
|
var _a;
|
|
34
35
|
return ((_a = this._atlas) !== null && _a !== void 0 ? _a : (this._atlas = new Client_js_4.Atlas(this._options)));
|
|
35
36
|
}
|
|
37
|
+
get courie() {
|
|
38
|
+
var _a;
|
|
39
|
+
return ((_a = this._courie) !== null && _a !== void 0 ? _a : (this._courie = new Client_js_5.Courie(this._options)));
|
|
40
|
+
}
|
|
36
41
|
get cxt() {
|
|
37
42
|
var _a;
|
|
38
|
-
return ((_a = this._cxt) !== null && _a !== void 0 ? _a : (this._cxt = new
|
|
43
|
+
return ((_a = this._cxt) !== null && _a !== void 0 ? _a : (this._cxt = new Client_js_6.Cxt(this._options)));
|
|
39
44
|
}
|
|
40
45
|
get dispatchScience() {
|
|
41
46
|
var _a;
|
|
42
|
-
return ((_a = this._dispatchScience) !== null && _a !== void 0 ? _a : (this._dispatchScience = new
|
|
47
|
+
return ((_a = this._dispatchScience) !== null && _a !== void 0 ? _a : (this._dispatchScience = new Client_js_7.DispatchScience(this._options)));
|
|
43
48
|
}
|
|
44
49
|
get ecourier() {
|
|
45
50
|
var _a;
|
|
46
|
-
return ((_a = this._ecourier) !== null && _a !== void 0 ? _a : (this._ecourier = new
|
|
51
|
+
return ((_a = this._ecourier) !== null && _a !== void 0 ? _a : (this._ecourier = new Client_js_8.Ecourier(this._options)));
|
|
47
52
|
}
|
|
48
53
|
get ontime360() {
|
|
49
54
|
var _a;
|
|
50
|
-
return ((_a = this._ontime360) !== null && _a !== void 0 ? _a : (this._ontime360 = new
|
|
55
|
+
return ((_a = this._ontime360) !== null && _a !== void 0 ? _a : (this._ontime360 = new Client_js_9.Ontime360(this._options)));
|
|
51
56
|
}
|
|
52
57
|
get xcelerator() {
|
|
53
58
|
var _a;
|
|
54
|
-
return ((_a = this._xcelerator) !== null && _a !== void 0 ? _a : (this._xcelerator = new
|
|
59
|
+
return ((_a = this._xcelerator) !== null && _a !== void 0 ? _a : (this._xcelerator = new Client_js_10.Xcelerator(this._options)));
|
|
55
60
|
}
|
|
56
61
|
}
|
|
57
62
|
exports.ShippingIntegrations = ShippingIntegrations;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as environments from "../../../../../../environments.js";
|
|
5
|
+
import * as core from "../../../../../../core/index.js";
|
|
6
|
+
import { Creds } from "../resources/creds/client/Client.js";
|
|
7
|
+
import { Orders } from "../resources/orders/client/Client.js";
|
|
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,22 @@
|
|
|
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.Courie = void 0;
|
|
7
|
+
const Client_js_1 = require("../resources/creds/client/Client.js");
|
|
8
|
+
const Client_js_2 = require("../resources/orders/client/Client.js");
|
|
9
|
+
class Courie {
|
|
10
|
+
constructor(_options = {}) {
|
|
11
|
+
this._options = _options;
|
|
12
|
+
}
|
|
13
|
+
get creds() {
|
|
14
|
+
var _a;
|
|
15
|
+
return ((_a = this._creds) !== null && _a !== void 0 ? _a : (this._creds = new Client_js_1.Creds(this._options)));
|
|
16
|
+
}
|
|
17
|
+
get orders() {
|
|
18
|
+
var _a;
|
|
19
|
+
return ((_a = this._orders) !== null && _a !== void 0 ? _a : (this._orders = new Client_js_2.Orders(this._options)));
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.Courie = Courie;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./client/index.js"), exports);
|
|
18
|
+
__exportStar(require("./resources/index.js"), exports);
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as environments from "../../../../../../../../environments.js";
|
|
5
|
+
import * as core from "../../../../../../../../core/index.js";
|
|
6
|
+
import * as Chrt from "../../../../../../../index.js";
|
|
7
|
+
export declare namespace Creds {
|
|
8
|
+
interface Options {
|
|
9
|
+
environment?: core.Supplier<environments.ChrtEnvironment | string>;
|
|
10
|
+
/** Specify a custom URL to connect the client to. */
|
|
11
|
+
baseUrl?: core.Supplier<string>;
|
|
12
|
+
token?: core.Supplier<core.BearerToken | undefined>;
|
|
13
|
+
/** Additional headers to include in requests. */
|
|
14
|
+
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
15
|
+
fetcher?: core.FetchFunction;
|
|
16
|
+
}
|
|
17
|
+
interface RequestOptions {
|
|
18
|
+
/** The maximum time to wait for a response in seconds. */
|
|
19
|
+
timeoutInSeconds?: number;
|
|
20
|
+
/** The number of times to retry the request. Defaults to 2. */
|
|
21
|
+
maxRetries?: number;
|
|
22
|
+
/** A hook to abort the request. */
|
|
23
|
+
abortSignal?: AbortSignal;
|
|
24
|
+
/** Additional query string parameters to include in the request. */
|
|
25
|
+
queryParams?: Record<string, unknown>;
|
|
26
|
+
/** Additional headers to include in the request. */
|
|
27
|
+
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
export declare class Creds {
|
|
31
|
+
protected readonly _options: Creds.Options;
|
|
32
|
+
constructor(_options?: Creds.Options);
|
|
33
|
+
/**
|
|
34
|
+
* Returns the caller's Courie credential for one provider, without API key. | () -> (CourieCredsLimited1)
|
|
35
|
+
*
|
|
36
|
+
* @param {string} providerOrgId - Must be a string starting with `org_`
|
|
37
|
+
* @param {Creds.RequestOptions} requestOptions - Request-specific configuration.
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
* await client.shippingIntegrations.courie.creds.detailV1("provider_org_id")
|
|
43
|
+
*/
|
|
44
|
+
detailV1(providerOrgId: string, requestOptions?: Creds.RequestOptions): core.HttpResponsePromise<Chrt.CourieCredsLimited1>;
|
|
45
|
+
private __detailV1;
|
|
46
|
+
/**
|
|
47
|
+
* Lists the caller's Courie credentials, one per connected provider, without API key. | () -> (CourieCredsListRes)
|
|
48
|
+
*
|
|
49
|
+
* @param {Creds.RequestOptions} requestOptions - Request-specific configuration.
|
|
50
|
+
*
|
|
51
|
+
* @example
|
|
52
|
+
* await client.shippingIntegrations.courie.creds.listV1()
|
|
53
|
+
*/
|
|
54
|
+
listV1(requestOptions?: Creds.RequestOptions): core.HttpResponsePromise<Chrt.CourieCredsListRes>;
|
|
55
|
+
private __listV1;
|
|
56
|
+
/**
|
|
57
|
+
* Tests whether stored Courie credentials can authenticate against the provider. | authz: min_org_role=operator | () -> (CourieCredsTestRes)
|
|
58
|
+
*
|
|
59
|
+
* @param {string} providerOrgId - Must be a string starting with `org_`
|
|
60
|
+
* @param {Creds.RequestOptions} requestOptions - Request-specific configuration.
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
63
|
+
*
|
|
64
|
+
* @example
|
|
65
|
+
* await client.shippingIntegrations.courie.creds.testV1("provider_org_id")
|
|
66
|
+
*/
|
|
67
|
+
testV1(providerOrgId: string, requestOptions?: Creds.RequestOptions): core.HttpResponsePromise<Chrt.CourieCredsTestRes>;
|
|
68
|
+
private __testV1;
|
|
69
|
+
/**
|
|
70
|
+
* Stores Courie credentials for one provider on behalf of the caller's organization. | authz: min_org_role=administrator | (CourieCredsClientCreate1) -> (PydanticObjectId)
|
|
71
|
+
*
|
|
72
|
+
* @param {string} providerOrgId - Must be a string starting with `org_`
|
|
73
|
+
* @param {Chrt.shippingIntegrations.courie.CourieCredsClientCreate1} request
|
|
74
|
+
* @param {Creds.RequestOptions} requestOptions - Request-specific configuration.
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
77
|
+
*
|
|
78
|
+
* @example
|
|
79
|
+
* await client.shippingIntegrations.courie.creds.createV1("provider_org_id", {
|
|
80
|
+
* api_key: "api_key",
|
|
81
|
+
* courier_id: "courier_id",
|
|
82
|
+
* schema_version: 1
|
|
83
|
+
* })
|
|
84
|
+
*/
|
|
85
|
+
createV1(providerOrgId: string, request: Chrt.shippingIntegrations.courie.CourieCredsClientCreate1, requestOptions?: Creds.RequestOptions): core.HttpResponsePromise<string>;
|
|
86
|
+
private __createV1;
|
|
87
|
+
/**
|
|
88
|
+
* Deletes stored Courie credentials for one provider. | authz: min_org_role=administrator | () -> (bool)
|
|
89
|
+
*
|
|
90
|
+
* @param {string} providerOrgId - Must be a string starting with `org_`
|
|
91
|
+
* @param {Creds.RequestOptions} requestOptions - Request-specific configuration.
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
94
|
+
*
|
|
95
|
+
* @example
|
|
96
|
+
* await client.shippingIntegrations.courie.creds.deleteV1("provider_org_id")
|
|
97
|
+
*/
|
|
98
|
+
deleteV1(providerOrgId: string, requestOptions?: Creds.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
99
|
+
private __deleteV1;
|
|
100
|
+
/**
|
|
101
|
+
* Updates stored Courie credentials for one provider. | authz: min_org_role=administrator | (CourieCredsClientUpdate1) -> (bool)
|
|
102
|
+
*
|
|
103
|
+
* @param {string} providerOrgId - Must be a string starting with `org_`
|
|
104
|
+
* @param {Chrt.shippingIntegrations.courie.CourieCredsClientUpdate1} request
|
|
105
|
+
* @param {Creds.RequestOptions} requestOptions - Request-specific configuration.
|
|
106
|
+
*
|
|
107
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
108
|
+
*
|
|
109
|
+
* @example
|
|
110
|
+
* await client.shippingIntegrations.courie.creds.updateV1("provider_org_id")
|
|
111
|
+
*/
|
|
112
|
+
updateV1(providerOrgId: string, request?: Chrt.shippingIntegrations.courie.CourieCredsClientUpdate1, requestOptions?: Creds.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
113
|
+
private __updateV1;
|
|
114
|
+
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
115
|
+
}
|