@wix/auto_sdk_data_scheduled-workflows 1.0.4 → 1.0.6
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/build/cjs/index.d.ts +1 -1
- package/build/cjs/index.js +9 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +78 -1
- package/build/cjs/index.typings.js +9 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +78 -1
- package/build/cjs/meta.js +9 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +8 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +78 -1
- package/build/es/index.typings.mjs +8 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +78 -1
- package/build/es/meta.mjs +8 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +9 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +78 -1
- package/build/internal/cjs/index.typings.js +9 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +78 -1
- package/build/internal/cjs/meta.js +9 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +8 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +78 -1
- package/build/internal/es/index.typings.mjs +8 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +78 -1
- package/build/internal/es/meta.mjs +8 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1221,6 +1221,83 @@ interface TransformationTransformationOneOf {
|
|
|
1221
1221
|
}
|
|
1222
1222
|
interface TestTransformation {
|
|
1223
1223
|
}
|
|
1224
|
+
/** Maps and filters source fields onto destination fields. */
|
|
1225
|
+
interface FieldMapping {
|
|
1226
|
+
/**
|
|
1227
|
+
* Column mappings. Any source field not listed here is excluded from the import.
|
|
1228
|
+
* @minSize 1
|
|
1229
|
+
* @maxSize 1000
|
|
1230
|
+
*/
|
|
1231
|
+
mappings?: FieldMappingEntry[];
|
|
1232
|
+
}
|
|
1233
|
+
interface FieldMappingEntry extends FieldMappingEntryConversionOneOf {
|
|
1234
|
+
/** Boolean token mapping. Set when field_type is BOOLEAN. */
|
|
1235
|
+
booleanOptions?: BooleanOptions;
|
|
1236
|
+
/** Date-time format. Set when field_type is DATETIME. */
|
|
1237
|
+
datetimeOptions?: DateTimeOptions;
|
|
1238
|
+
/**
|
|
1239
|
+
* Source field key (e.g. a CSV column header).
|
|
1240
|
+
* @minLength 1
|
|
1241
|
+
* @maxLength 1024
|
|
1242
|
+
*/
|
|
1243
|
+
sourceKey?: string;
|
|
1244
|
+
/**
|
|
1245
|
+
* Destination field key. Must already exist in the destination collection.
|
|
1246
|
+
* Use "_id" to control the item ID. May target a multi-reference or array
|
|
1247
|
+
* field (use field_type = ARRAY; the cell must be a JSON array).
|
|
1248
|
+
* @minLength 1
|
|
1249
|
+
* @maxLength 1024
|
|
1250
|
+
*/
|
|
1251
|
+
targetKey?: string;
|
|
1252
|
+
/**
|
|
1253
|
+
* Destination field data type, used to coerce the source string value.
|
|
1254
|
+
* ARRAY / OBJECT parse the cell as JSON. Default: ANY (pass-through).
|
|
1255
|
+
*/
|
|
1256
|
+
fieldType?: FieldTypeWithLiterals;
|
|
1257
|
+
}
|
|
1258
|
+
/** @oneof */
|
|
1259
|
+
interface FieldMappingEntryConversionOneOf {
|
|
1260
|
+
/** Boolean token mapping. Set when field_type is BOOLEAN. */
|
|
1261
|
+
booleanOptions?: BooleanOptions;
|
|
1262
|
+
/** Date-time format. Set when field_type is DATETIME. */
|
|
1263
|
+
datetimeOptions?: DateTimeOptions;
|
|
1264
|
+
}
|
|
1265
|
+
/**
|
|
1266
|
+
* Maps source tokens to boolean values. Matching is case-insensitive.
|
|
1267
|
+
* When both lists are empty, booleans are converted best-effort ("true"/"false").
|
|
1268
|
+
* Values matching neither list are kept as-is.
|
|
1269
|
+
*/
|
|
1270
|
+
interface BooleanOptions {
|
|
1271
|
+
/**
|
|
1272
|
+
* Source tokens representing boolean true (e.g. "true", "yes", "1").
|
|
1273
|
+
* @maxSize 64
|
|
1274
|
+
* @maxLength 256
|
|
1275
|
+
*/
|
|
1276
|
+
trueValues?: string[];
|
|
1277
|
+
/**
|
|
1278
|
+
* Source tokens representing boolean false (e.g. "false", "no", "0").
|
|
1279
|
+
* @maxSize 64
|
|
1280
|
+
* @maxLength 256
|
|
1281
|
+
*/
|
|
1282
|
+
falseValues?: string[];
|
|
1283
|
+
}
|
|
1284
|
+
/** How to parse a source date-time value. */
|
|
1285
|
+
interface DateTimeOptions {
|
|
1286
|
+
format?: DateFormatWithLiterals;
|
|
1287
|
+
}
|
|
1288
|
+
/** Known source date / date-time formats. */
|
|
1289
|
+
declare enum DateFormat {
|
|
1290
|
+
/** Try to detect and parse the value automatically. */
|
|
1291
|
+
BEST_EFFORT = "BEST_EFFORT",
|
|
1292
|
+
/** ISO 8601, e.g. "2026-07-03T14:04:31.000Z". */
|
|
1293
|
+
ISO_8601 = "ISO_8601",
|
|
1294
|
+
/** "MM/DD/YYYY HH:mm", e.g. "07/03/2026 14:04". */
|
|
1295
|
+
MM_DD_YYYY_HH_MM = "MM_DD_YYYY_HH_MM",
|
|
1296
|
+
/** "DD/MM/YYYY HH:mm", e.g. "03/07/2026 14:04". */
|
|
1297
|
+
DD_MM_YYYY_HH_MM = "DD_MM_YYYY_HH_MM"
|
|
1298
|
+
}
|
|
1299
|
+
/** @enumType */
|
|
1300
|
+
type DateFormatWithLiterals = DateFormat | 'BEST_EFFORT' | 'ISO_8601' | 'MM_DD_YYYY_HH_MM' | 'DD_MM_YYYY_HH_MM';
|
|
1224
1301
|
interface CreateScheduledDataWorkflowRequest {
|
|
1225
1302
|
/** Scheduled data movement workflow to create. */
|
|
1226
1303
|
scheduledDataWorkflow: ScheduledDataWorkflow;
|
|
@@ -1733,4 +1810,4 @@ interface ListScheduledDataWorkflowsOptions {
|
|
|
1733
1810
|
filter?: Record<string, any> | null;
|
|
1734
1811
|
}
|
|
1735
1812
|
|
|
1736
|
-
export { type AbsOperation, type AccountInfo, type AccountInfoMetadata, type Accumulator, type AccumulatorExpressionOneOf, type ActionEvent, type AddField, type AddFields, type AddOperation, type AggregationPipeline, type AggregationPipelinePagingMethodOneOf, type AggregationQuery, type Avg, type BaseEventMetadata, type CeilOperation, type CommonCursorPaging, type CommonSorting, type ConcatOperation, type ConditionOperation, type CreateScheduledDataWorkflowOptions, type CreateScheduledDataWorkflowRequest, type CreateScheduledDataWorkflowResponse, type CursorPaging, type CursorPagingMetadata, type Cursors, type DataMovementJobLogs, type DeleteScheduledDataWorkflowRequest, type DeleteScheduledDataWorkflowResponse, type Destination, type DestinationDestinationOneOf, type DivideOperation, type DomainEvent, type DomainEventBodyOneOf, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type Exclude, type Expression, type ExpressionValueOneOf, type ExternalFileSource, type Field, type FieldProjectionOneOf, FieldType, type FieldTypeWithLiterals, Fields, type FieldsWithLiterals, type FileDestination, FileFormat, type FileFormatWithLiterals, type FileSource, type FilterQuery, type First, type FloorOperation, type GetScheduledDataWorkflowOptions, type GetScheduledDataWorkflowRequest, type GetScheduledDataWorkflowResponse, type GoogleSheetsSource, type GreaterThanOperation, type Group, type GroupId, type IdentificationData, type IdentificationDataIdOneOf, type Include, type JobSpec, type JobSpecSiteOverrideOneOf, type JobsCreatedEnvelope, type JobsDeletedEnvelope, type JobsUpdatedEnvelope, type Last, type LengthOperation, type ListScheduledDataWorkflowsOptions, type ListScheduledDataWorkflowsRequest, type ListScheduledDataWorkflowsResponse, type LocalizationDestination, type LocalizationSource, type Lookup, type Max, MediaType, type MediaTypeWithLiterals, type MessageEnvelope, type Min, type ModOperation, type MultiplyOperation, type ObjectToArray, type Paging, type ProjectNested, type Projection, type Push, type RescheduleScheduledDataWorkflowOptions, type RescheduleScheduledDataWorkflowRequest, type RescheduleScheduledDataWorkflowResponse, type Reshape, type RestoreInfo, type ScheduledDataWorkflow, type ScheduledDataWorkflowSpec, type Schema, type SizeOperation, SortOrder, type SortOrderWithLiterals, type Sorting, type Source, type SourceSourceOneOf, type Stage, type StageStageOneOf, type StoresCatalogInventoryDestination, type StoresCatalogProductsDestination, type StringifyOperation, type SubstringOperation, type SubtractOperation, type Sum, type SumOperation, type TestDestination, type TestSource, type TestTransformation, type ToLowerOperation, type ToUpperOperation, type Transformation, type TransformationTransformationOneOf, type TriggerScheduledDataWorkflowNowRequest, type TriggerScheduledDataWorkflowNowResponse, type UnionWith, type UnwindArray, type UpdateScheduledDataWorkflowOptions, type UpdateScheduledDataWorkflowRequest, type UpdateScheduledDataWorkflowResponse, type V1Field, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, type WixDataCollectionDefinitionDestination, type WixDataCollectionDefinitionSource, type WixDataDestination, WixDataDestinationWritePolicy, type WixDataDestinationWritePolicyWithLiterals, WixDataEnvironment, type WixDataEnvironmentWithLiterals, type WixDataSource, type WixDataSourceQueryOneOf, type WixMediaDestination, WixMediaDestinationWritePolicy, type WixMediaDestinationWritePolicyWithLiterals, type WixMediaSource, WritePolicy, type WritePolicyWithLiterals, createScheduledDataWorkflow, deleteScheduledDataWorkflow, getScheduledDataWorkflow, listScheduledDataWorkflows, onJobsCreated, onJobsDeleted, onJobsUpdated, rescheduleScheduledDataWorkflow, triggerScheduledDataWorkflowNow, updateScheduledDataWorkflow };
|
|
1813
|
+
export { type AbsOperation, type AccountInfo, type AccountInfoMetadata, type Accumulator, type AccumulatorExpressionOneOf, type ActionEvent, type AddField, type AddFields, type AddOperation, type AggregationPipeline, type AggregationPipelinePagingMethodOneOf, type AggregationQuery, type Avg, type BaseEventMetadata, type BooleanOptions, type CeilOperation, type CommonCursorPaging, type CommonSorting, type ConcatOperation, type ConditionOperation, type CreateScheduledDataWorkflowOptions, type CreateScheduledDataWorkflowRequest, type CreateScheduledDataWorkflowResponse, type CursorPaging, type CursorPagingMetadata, type Cursors, type DataMovementJobLogs, DateFormat, type DateFormatWithLiterals, type DateTimeOptions, type DeleteScheduledDataWorkflowRequest, type DeleteScheduledDataWorkflowResponse, type Destination, type DestinationDestinationOneOf, type DivideOperation, type DomainEvent, type DomainEventBodyOneOf, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type Exclude, type Expression, type ExpressionValueOneOf, type ExternalFileSource, type Field, type FieldMapping, type FieldMappingEntry, type FieldMappingEntryConversionOneOf, type FieldProjectionOneOf, FieldType, type FieldTypeWithLiterals, Fields, type FieldsWithLiterals, type FileDestination, FileFormat, type FileFormatWithLiterals, type FileSource, type FilterQuery, type First, type FloorOperation, type GetScheduledDataWorkflowOptions, type GetScheduledDataWorkflowRequest, type GetScheduledDataWorkflowResponse, type GoogleSheetsSource, type GreaterThanOperation, type Group, type GroupId, type IdentificationData, type IdentificationDataIdOneOf, type Include, type JobSpec, type JobSpecSiteOverrideOneOf, type JobsCreatedEnvelope, type JobsDeletedEnvelope, type JobsUpdatedEnvelope, type Last, type LengthOperation, type ListScheduledDataWorkflowsOptions, type ListScheduledDataWorkflowsRequest, type ListScheduledDataWorkflowsResponse, type LocalizationDestination, type LocalizationSource, type Lookup, type Max, MediaType, type MediaTypeWithLiterals, type MessageEnvelope, type Min, type ModOperation, type MultiplyOperation, type ObjectToArray, type Paging, type ProjectNested, type Projection, type Push, type RescheduleScheduledDataWorkflowOptions, type RescheduleScheduledDataWorkflowRequest, type RescheduleScheduledDataWorkflowResponse, type Reshape, type RestoreInfo, type ScheduledDataWorkflow, type ScheduledDataWorkflowSpec, type Schema, type SizeOperation, SortOrder, type SortOrderWithLiterals, type Sorting, type Source, type SourceSourceOneOf, type Stage, type StageStageOneOf, type StoresCatalogInventoryDestination, type StoresCatalogProductsDestination, type StringifyOperation, type SubstringOperation, type SubtractOperation, type Sum, type SumOperation, type TestDestination, type TestSource, type TestTransformation, type ToLowerOperation, type ToUpperOperation, type Transformation, type TransformationTransformationOneOf, type TriggerScheduledDataWorkflowNowRequest, type TriggerScheduledDataWorkflowNowResponse, type UnionWith, type UnwindArray, type UpdateScheduledDataWorkflowOptions, type UpdateScheduledDataWorkflowRequest, type UpdateScheduledDataWorkflowResponse, type V1Field, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, type WixDataCollectionDefinitionDestination, type WixDataCollectionDefinitionSource, type WixDataDestination, WixDataDestinationWritePolicy, type WixDataDestinationWritePolicyWithLiterals, WixDataEnvironment, type WixDataEnvironmentWithLiterals, type WixDataSource, type WixDataSourceQueryOneOf, type WixMediaDestination, WixMediaDestinationWritePolicy, type WixMediaDestinationWritePolicyWithLiterals, type WixMediaSource, WritePolicy, type WritePolicyWithLiterals, createScheduledDataWorkflow, deleteScheduledDataWorkflow, getScheduledDataWorkflow, listScheduledDataWorkflows, onJobsCreated, onJobsDeleted, onJobsUpdated, rescheduleScheduledDataWorkflow, triggerScheduledDataWorkflowNow, updateScheduledDataWorkflow };
|
|
@@ -544,6 +544,13 @@ var WritePolicy = /* @__PURE__ */ ((WritePolicy2) => {
|
|
|
544
544
|
WritePolicy2["OVERWRITE"] = "OVERWRITE";
|
|
545
545
|
return WritePolicy2;
|
|
546
546
|
})(WritePolicy || {});
|
|
547
|
+
var DateFormat = /* @__PURE__ */ ((DateFormat2) => {
|
|
548
|
+
DateFormat2["BEST_EFFORT"] = "BEST_EFFORT";
|
|
549
|
+
DateFormat2["ISO_8601"] = "ISO_8601";
|
|
550
|
+
DateFormat2["MM_DD_YYYY_HH_MM"] = "MM_DD_YYYY_HH_MM";
|
|
551
|
+
DateFormat2["DD_MM_YYYY_HH_MM"] = "DD_MM_YYYY_HH_MM";
|
|
552
|
+
return DateFormat2;
|
|
553
|
+
})(DateFormat || {});
|
|
547
554
|
var Fields = /* @__PURE__ */ ((Fields2) => {
|
|
548
555
|
Fields2["NEXT_SCHEDULE_EXECUTION"] = "NEXT_SCHEDULE_EXECUTION";
|
|
549
556
|
return Fields2;
|
|
@@ -752,6 +759,7 @@ async function listScheduledDataWorkflows2(options) {
|
|
|
752
759
|
}
|
|
753
760
|
}
|
|
754
761
|
export {
|
|
762
|
+
DateFormat,
|
|
755
763
|
FieldType,
|
|
756
764
|
Fields,
|
|
757
765
|
FileFormat,
|