@chrt-inc/typescript-sdk 1.1000.0 → 1.1002.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/Client.js +2 -2
- package/dist/cjs/api/resources/shippingIntegrations/client/Client.d.ts +3 -0
- package/dist/cjs/api/resources/shippingIntegrations/client/Client.js +15 -10
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/client/Client.d.ts +26 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/client/Client.js +22 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/client/index.js +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/index.d.ts +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/index.js +18 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/creds/client/Client.d.ts +115 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/creds/client/Client.js +426 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/creds/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/creds/client/index.js +17 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/creds/client/requests/CourieCredsClientCreate1.d.ts +18 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/creds/client/requests/CourieCredsClientCreate1.js +5 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/creds/client/requests/CourieCredsClientUpdate1.d.ts +15 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/creds/client/requests/CourieCredsClientUpdate1.js +5 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/creds/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/creds/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/creds/index.d.ts +1 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/creds/index.js +17 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/index.d.ts +4 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/index.js +43 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/orders/client/Client.d.ts +105 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/orders/client/Client.js +375 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/orders/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/orders/client/index.js +17 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/orders/client/requests/CourieOrderSyncOneReq.d.ts +15 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/orders/client/requests/CourieOrderSyncOneReq.js +5 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/orders/client/requests/OrdersListV1Request.d.ts +51 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/orders/client/requests/OrdersListV1Request.js +5 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/orders/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/orders/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/orders/index.d.ts +1 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/courie/resources/orders/index.js +17 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/index.d.ts +1 -0
- package/dist/cjs/api/resources/shippingIntegrations/resources/index.js +2 -1
- package/dist/cjs/api/types/CourieAddressResponse1.d.ts +16 -0
- package/dist/cjs/api/types/CourieAddressResponse1.js +5 -0
- package/dist/cjs/api/types/CourieAttemptReasonResponse1.d.ts +9 -0
- package/dist/cjs/api/types/CourieAttemptReasonResponse1.js +5 -0
- package/dist/cjs/api/types/CourieCredsLimited1.d.ts +24 -0
- package/dist/cjs/api/types/CourieCredsLimited1.js +5 -0
- package/dist/cjs/api/types/CourieCredsListRes.d.ts +8 -0
- package/dist/cjs/api/types/CourieCredsListRes.js +5 -0
- package/dist/cjs/api/types/CourieCredsTestRes.d.ts +10 -0
- package/dist/cjs/api/types/CourieCredsTestRes.js +5 -0
- package/dist/cjs/api/types/CourieCustomFieldResponse1.d.ts +10 -0
- package/dist/cjs/api/types/CourieCustomFieldResponse1.js +5 -0
- package/dist/cjs/api/types/CourieDriverAnswerResponse1.d.ts +11 -0
- package/dist/cjs/api/types/CourieDriverAnswerResponse1.js +5 -0
- package/dist/cjs/api/types/CourieDriverResponse1.d.ts +9 -0
- package/dist/cjs/api/types/CourieDriverResponse1.js +5 -0
- package/dist/cjs/api/types/CourieLatLngResponse1.d.ts +10 -0
- package/dist/cjs/api/types/CourieLatLngResponse1.js +5 -0
- package/dist/cjs/api/types/CourieLocationScanResponse1.d.ts +9 -0
- package/dist/cjs/api/types/CourieLocationScanResponse1.js +5 -0
- package/dist/cjs/api/types/CourieOrder1.d.ts +19 -0
- package/dist/cjs/api/types/CourieOrder1.js +5 -0
- package/dist/cjs/api/types/CourieOrderEventEnum1.d.ts +18 -0
- package/dist/cjs/api/types/CourieOrderEventEnum1.js +14 -0
- package/dist/cjs/api/types/CourieOrderEventResponse1.d.ts +11 -0
- package/dist/cjs/api/types/CourieOrderEventResponse1.js +5 -0
- package/dist/cjs/api/types/CourieOrderListRes.d.ts +8 -0
- package/dist/cjs/api/types/CourieOrderListRes.js +5 -0
- package/dist/cjs/api/types/CourieOrderResponse1.d.ts +42 -0
- package/dist/cjs/api/types/CourieOrderResponse1.js +5 -0
- package/dist/cjs/api/types/CourieOrderSortByEnum.d.ts +10 -0
- package/dist/cjs/api/types/CourieOrderSortByEnum.js +12 -0
- package/dist/cjs/api/types/CourieOrderStatusEnum1.d.ts +21 -0
- package/dist/cjs/api/types/CourieOrderStatusEnum1.js +16 -0
- package/dist/cjs/api/types/CouriePackageItemResponse1.d.ts +19 -0
- package/dist/cjs/api/types/CouriePackageItemResponse1.js +5 -0
- package/dist/cjs/api/types/CouriePackageResponse1.d.ts +9 -0
- package/dist/cjs/api/types/CouriePackageResponse1.js +5 -0
- package/dist/cjs/api/types/CourieProofOfDeliveryResponse1.d.ts +11 -0
- package/dist/cjs/api/types/CourieProofOfDeliveryResponse1.js +5 -0
- package/dist/cjs/api/types/CourieStopAttemptResponse1.d.ts +10 -0
- package/dist/cjs/api/types/CourieStopAttemptResponse1.js +5 -0
- package/dist/cjs/api/types/CourieStopResponse1.d.ts +29 -0
- package/dist/cjs/api/types/CourieStopResponse1.js +5 -0
- package/dist/cjs/api/types/CourieStopTypeEnum1.d.ts +8 -0
- package/dist/cjs/api/types/CourieStopTypeEnum1.js +10 -0
- package/dist/cjs/api/types/DriverComplianceDocumentS3ObjectMetadata1.d.ts +2 -0
- package/dist/cjs/api/types/OrderInternalMessageS3ObjectMetadata1.d.ts +2 -0
- package/dist/cjs/api/types/OrgComplianceDocumentS3ObjectMetadata1.d.ts +2 -0
- package/dist/cjs/api/types/OrgShippingIntegrationEnum1.d.ts +2 -1
- package/dist/cjs/api/types/OrgShippingIntegrationEnum1.js +1 -0
- package/dist/cjs/api/types/TaskArtifactS3ObjectMetadata1.d.ts +2 -0
- package/dist/cjs/api/types/TaskGroupS3ObjectMetadata1.d.ts +2 -0
- package/dist/cjs/api/types/index.d.ts +23 -0
- package/dist/cjs/api/types/index.js +23 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.mjs +2 -2
- package/dist/esm/api/resources/shippingIntegrations/client/Client.d.mts +3 -0
- package/dist/esm/api/resources/shippingIntegrations/client/Client.mjs +5 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/client/Client.d.mts +26 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/client/Client.mjs +18 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/client/index.d.mts +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/client/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/index.d.mts +2 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/index.mjs +2 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/creds/client/Client.d.mts +115 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/creds/client/Client.mjs +389 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/creds/client/index.d.mts +2 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/creds/client/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/creds/client/requests/CourieCredsClientCreate1.d.mts +18 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/creds/client/requests/CourieCredsClientCreate1.mjs +4 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/creds/client/requests/CourieCredsClientUpdate1.d.mts +15 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/creds/client/requests/CourieCredsClientUpdate1.mjs +4 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/creds/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/creds/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/creds/index.d.mts +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/creds/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/index.d.mts +4 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/index.mjs +4 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/orders/client/Client.d.mts +105 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/orders/client/Client.mjs +338 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/orders/client/index.d.mts +2 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/orders/client/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/orders/client/requests/CourieOrderSyncOneReq.d.mts +15 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/orders/client/requests/CourieOrderSyncOneReq.mjs +4 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/orders/client/requests/OrdersListV1Request.d.mts +51 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/orders/client/requests/OrdersListV1Request.mjs +4 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/orders/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/orders/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/orders/index.d.mts +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/courie/resources/orders/index.mjs +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/index.d.mts +1 -0
- package/dist/esm/api/resources/shippingIntegrations/resources/index.mjs +1 -0
- package/dist/esm/api/types/CourieAddressResponse1.d.mts +16 -0
- package/dist/esm/api/types/CourieAddressResponse1.mjs +4 -0
- package/dist/esm/api/types/CourieAttemptReasonResponse1.d.mts +9 -0
- package/dist/esm/api/types/CourieAttemptReasonResponse1.mjs +4 -0
- package/dist/esm/api/types/CourieCredsLimited1.d.mts +24 -0
- package/dist/esm/api/types/CourieCredsLimited1.mjs +4 -0
- package/dist/esm/api/types/CourieCredsListRes.d.mts +8 -0
- package/dist/esm/api/types/CourieCredsListRes.mjs +4 -0
- package/dist/esm/api/types/CourieCredsTestRes.d.mts +10 -0
- package/dist/esm/api/types/CourieCredsTestRes.mjs +4 -0
- package/dist/esm/api/types/CourieCustomFieldResponse1.d.mts +10 -0
- package/dist/esm/api/types/CourieCustomFieldResponse1.mjs +4 -0
- package/dist/esm/api/types/CourieDriverAnswerResponse1.d.mts +11 -0
- package/dist/esm/api/types/CourieDriverAnswerResponse1.mjs +4 -0
- package/dist/esm/api/types/CourieDriverResponse1.d.mts +9 -0
- package/dist/esm/api/types/CourieDriverResponse1.mjs +4 -0
- package/dist/esm/api/types/CourieLatLngResponse1.d.mts +10 -0
- package/dist/esm/api/types/CourieLatLngResponse1.mjs +4 -0
- package/dist/esm/api/types/CourieLocationScanResponse1.d.mts +9 -0
- package/dist/esm/api/types/CourieLocationScanResponse1.mjs +4 -0
- package/dist/esm/api/types/CourieOrder1.d.mts +19 -0
- package/dist/esm/api/types/CourieOrder1.mjs +4 -0
- package/dist/esm/api/types/CourieOrderEventEnum1.d.mts +18 -0
- package/dist/esm/api/types/CourieOrderEventEnum1.mjs +11 -0
- package/dist/esm/api/types/CourieOrderEventResponse1.d.mts +11 -0
- package/dist/esm/api/types/CourieOrderEventResponse1.mjs +4 -0
- package/dist/esm/api/types/CourieOrderListRes.d.mts +8 -0
- package/dist/esm/api/types/CourieOrderListRes.mjs +4 -0
- package/dist/esm/api/types/CourieOrderResponse1.d.mts +42 -0
- package/dist/esm/api/types/CourieOrderResponse1.mjs +4 -0
- package/dist/esm/api/types/CourieOrderSortByEnum.d.mts +10 -0
- package/dist/esm/api/types/CourieOrderSortByEnum.mjs +9 -0
- package/dist/esm/api/types/CourieOrderStatusEnum1.d.mts +21 -0
- package/dist/esm/api/types/CourieOrderStatusEnum1.mjs +13 -0
- package/dist/esm/api/types/CouriePackageItemResponse1.d.mts +19 -0
- package/dist/esm/api/types/CouriePackageItemResponse1.mjs +4 -0
- package/dist/esm/api/types/CouriePackageResponse1.d.mts +9 -0
- package/dist/esm/api/types/CouriePackageResponse1.mjs +4 -0
- package/dist/esm/api/types/CourieProofOfDeliveryResponse1.d.mts +11 -0
- package/dist/esm/api/types/CourieProofOfDeliveryResponse1.mjs +4 -0
- package/dist/esm/api/types/CourieStopAttemptResponse1.d.mts +10 -0
- package/dist/esm/api/types/CourieStopAttemptResponse1.mjs +4 -0
- package/dist/esm/api/types/CourieStopResponse1.d.mts +29 -0
- package/dist/esm/api/types/CourieStopResponse1.mjs +4 -0
- package/dist/esm/api/types/CourieStopTypeEnum1.d.mts +8 -0
- package/dist/esm/api/types/CourieStopTypeEnum1.mjs +7 -0
- package/dist/esm/api/types/DriverComplianceDocumentS3ObjectMetadata1.d.mts +2 -0
- package/dist/esm/api/types/OrderInternalMessageS3ObjectMetadata1.d.mts +2 -0
- package/dist/esm/api/types/OrgComplianceDocumentS3ObjectMetadata1.d.mts +2 -0
- package/dist/esm/api/types/OrgShippingIntegrationEnum1.d.mts +2 -1
- package/dist/esm/api/types/OrgShippingIntegrationEnum1.mjs +1 -0
- package/dist/esm/api/types/TaskArtifactS3ObjectMetadata1.d.mts +2 -0
- package/dist/esm/api/types/TaskGroupS3ObjectMetadata1.d.mts +2 -0
- package/dist/esm/api/types/index.d.mts +23 -0
- package/dist/esm/api/types/index.mjs +23 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +672 -0
|
@@ -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) });
|
|
@@ -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 {};
|
|
@@ -0,0 +1,115 @@
|
|
|
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 * as Chrt from "../../../../../../../index.mjs";
|
|
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
|
+
}
|