@expresscsv/sdk 0.1.15 → 0.1.16
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/index.d.cts +19 -0
- package/dist/index.d.mts +19 -0
- package/dist/index.d.ts +19 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1281,6 +1281,11 @@ export declare class CSVImporter<TSchema extends ExType<unknown, ExBaseDef, unkn
|
|
|
1281
1281
|
* Chunks data using SDK-determined chunk size (independent of customer's chunkSize)
|
|
1282
1282
|
*/
|
|
1283
1283
|
private deliverToWebhook;
|
|
1284
|
+
/**
|
|
1285
|
+
* Poll the delivery status endpoint until the delivery reaches a terminal state
|
|
1286
|
+
* ('success' or 'failed'), or until the timeout is exceeded.
|
|
1287
|
+
*/
|
|
1288
|
+
private pollDeliveryStatus;
|
|
1284
1289
|
/**
|
|
1285
1290
|
* Send a single chunk to backend webhook API with retry logic
|
|
1286
1291
|
*/
|
|
@@ -2852,6 +2857,13 @@ declare interface ExpressCSVLocale {
|
|
|
2852
2857
|
matched: string;
|
|
2853
2858
|
unmatched: string;
|
|
2854
2859
|
custom: string;
|
|
2860
|
+
nextDisabledUpload: string;
|
|
2861
|
+
nextDisabledSelectSheet: string;
|
|
2862
|
+
nextDisabledSelectHeader: string;
|
|
2863
|
+
nextDisabledMatchColumns: string;
|
|
2864
|
+
nextDisabledMatchOptions: string;
|
|
2865
|
+
nextDisabledReviewValidating: string;
|
|
2866
|
+
nextDisabledReviewInvalid: string;
|
|
2855
2867
|
};
|
|
2856
2868
|
widget: {
|
|
2857
2869
|
title: string;
|
|
@@ -3878,6 +3890,13 @@ export declare interface WebhookConfig {
|
|
|
3878
3890
|
retries?: number;
|
|
3879
3891
|
/** Arbitrary developer-provided metadata */
|
|
3880
3892
|
metadata?: Record<string, unknown>;
|
|
3893
|
+
/**
|
|
3894
|
+
* Whether to wait for the delivery service to confirm the webhook was
|
|
3895
|
+
* successfully received before considering the import complete.
|
|
3896
|
+
* When false, the import completes as soon as all chunks are queued.
|
|
3897
|
+
* Default: true
|
|
3898
|
+
*/
|
|
3899
|
+
awaitWebhookArrival?: boolean;
|
|
3881
3900
|
}
|
|
3882
3901
|
|
|
3883
3902
|
/**
|
package/dist/index.d.mts
CHANGED
|
@@ -1281,6 +1281,11 @@ export declare class CSVImporter<TSchema extends ExType<unknown, ExBaseDef, unkn
|
|
|
1281
1281
|
* Chunks data using SDK-determined chunk size (independent of customer's chunkSize)
|
|
1282
1282
|
*/
|
|
1283
1283
|
private deliverToWebhook;
|
|
1284
|
+
/**
|
|
1285
|
+
* Poll the delivery status endpoint until the delivery reaches a terminal state
|
|
1286
|
+
* ('success' or 'failed'), or until the timeout is exceeded.
|
|
1287
|
+
*/
|
|
1288
|
+
private pollDeliveryStatus;
|
|
1284
1289
|
/**
|
|
1285
1290
|
* Send a single chunk to backend webhook API with retry logic
|
|
1286
1291
|
*/
|
|
@@ -2852,6 +2857,13 @@ declare interface ExpressCSVLocale {
|
|
|
2852
2857
|
matched: string;
|
|
2853
2858
|
unmatched: string;
|
|
2854
2859
|
custom: string;
|
|
2860
|
+
nextDisabledUpload: string;
|
|
2861
|
+
nextDisabledSelectSheet: string;
|
|
2862
|
+
nextDisabledSelectHeader: string;
|
|
2863
|
+
nextDisabledMatchColumns: string;
|
|
2864
|
+
nextDisabledMatchOptions: string;
|
|
2865
|
+
nextDisabledReviewValidating: string;
|
|
2866
|
+
nextDisabledReviewInvalid: string;
|
|
2855
2867
|
};
|
|
2856
2868
|
widget: {
|
|
2857
2869
|
title: string;
|
|
@@ -3878,6 +3890,13 @@ export declare interface WebhookConfig {
|
|
|
3878
3890
|
retries?: number;
|
|
3879
3891
|
/** Arbitrary developer-provided metadata */
|
|
3880
3892
|
metadata?: Record<string, unknown>;
|
|
3893
|
+
/**
|
|
3894
|
+
* Whether to wait for the delivery service to confirm the webhook was
|
|
3895
|
+
* successfully received before considering the import complete.
|
|
3896
|
+
* When false, the import completes as soon as all chunks are queued.
|
|
3897
|
+
* Default: true
|
|
3898
|
+
*/
|
|
3899
|
+
awaitWebhookArrival?: boolean;
|
|
3881
3900
|
}
|
|
3882
3901
|
|
|
3883
3902
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -1281,6 +1281,11 @@ export declare class CSVImporter<TSchema extends ExType<unknown, ExBaseDef, unkn
|
|
|
1281
1281
|
* Chunks data using SDK-determined chunk size (independent of customer's chunkSize)
|
|
1282
1282
|
*/
|
|
1283
1283
|
private deliverToWebhook;
|
|
1284
|
+
/**
|
|
1285
|
+
* Poll the delivery status endpoint until the delivery reaches a terminal state
|
|
1286
|
+
* ('success' or 'failed'), or until the timeout is exceeded.
|
|
1287
|
+
*/
|
|
1288
|
+
private pollDeliveryStatus;
|
|
1284
1289
|
/**
|
|
1285
1290
|
* Send a single chunk to backend webhook API with retry logic
|
|
1286
1291
|
*/
|
|
@@ -2852,6 +2857,13 @@ declare interface ExpressCSVLocale {
|
|
|
2852
2857
|
matched: string;
|
|
2853
2858
|
unmatched: string;
|
|
2854
2859
|
custom: string;
|
|
2860
|
+
nextDisabledUpload: string;
|
|
2861
|
+
nextDisabledSelectSheet: string;
|
|
2862
|
+
nextDisabledSelectHeader: string;
|
|
2863
|
+
nextDisabledMatchColumns: string;
|
|
2864
|
+
nextDisabledMatchOptions: string;
|
|
2865
|
+
nextDisabledReviewValidating: string;
|
|
2866
|
+
nextDisabledReviewInvalid: string;
|
|
2855
2867
|
};
|
|
2856
2868
|
widget: {
|
|
2857
2869
|
title: string;
|
|
@@ -3878,6 +3890,13 @@ export declare interface WebhookConfig {
|
|
|
3878
3890
|
retries?: number;
|
|
3879
3891
|
/** Arbitrary developer-provided metadata */
|
|
3880
3892
|
metadata?: Record<string, unknown>;
|
|
3893
|
+
/**
|
|
3894
|
+
* Whether to wait for the delivery service to confirm the webhook was
|
|
3895
|
+
* successfully received before considering the import complete.
|
|
3896
|
+
* When false, the import completes as soon as all chunks are queued.
|
|
3897
|
+
* Default: true
|
|
3898
|
+
*/
|
|
3899
|
+
awaitWebhookArrival?: boolean;
|
|
3881
3900
|
}
|
|
3882
3901
|
|
|
3883
3902
|
/**
|