@wix/auto_sdk_data_scheduled-workflows 1.0.1 → 1.0.3
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 +344 -19
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +759 -59
- package/build/cjs/index.typings.js +238 -19
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +758 -58
- package/build/cjs/meta.js +238 -19
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.d.ts +1380 -12
- package/build/cjs/schemas.js +6437 -707
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +343 -19
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +759 -59
- package/build/es/index.typings.mjs +237 -19
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +758 -58
- package/build/es/meta.mjs +237 -19
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.d.mts +1380 -12
- package/build/es/schemas.mjs +6437 -707
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +344 -19
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +759 -59
- package/build/internal/cjs/index.typings.js +238 -19
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +758 -58
- package/build/internal/cjs/meta.js +238 -19
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.d.ts +1380 -12
- package/build/internal/cjs/schemas.js +6437 -707
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +343 -19
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +759 -59
- package/build/internal/es/index.typings.mjs +237 -19
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +758 -58
- package/build/internal/es/meta.mjs +237 -19
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.d.mts +1380 -12
- package/build/internal/es/schemas.mjs +6437 -707
- package/build/internal/es/schemas.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/meta.d.ts
CHANGED
|
@@ -164,6 +164,716 @@ interface SourceSourceOneOf {
|
|
|
164
164
|
*/
|
|
165
165
|
file?: FileSource;
|
|
166
166
|
}
|
|
167
|
+
interface AggregationPipeline extends AggregationPipelinePagingMethodOneOf {
|
|
168
|
+
/**
|
|
169
|
+
* Paging options to limit and skip the number of results.
|
|
170
|
+
*
|
|
171
|
+
* Learn more about [sorting and paging](https://dev.wix.com/docs/rest/articles/get-started/sorting-and-paging).
|
|
172
|
+
*/
|
|
173
|
+
paging?: Paging;
|
|
174
|
+
/**
|
|
175
|
+
* Cursor token referring to a page of results.
|
|
176
|
+
*
|
|
177
|
+
* Not used in the first request. Subsequent requests use the cursor token and not `filter` or `sort`.
|
|
178
|
+
*/
|
|
179
|
+
cursorPaging?: CursorPaging;
|
|
180
|
+
/**
|
|
181
|
+
* Sequence of aggregation operations to apply to the data.
|
|
182
|
+
*
|
|
183
|
+
* Stages are processed in order, with each stage operating on the output of the previous stage.
|
|
184
|
+
* @maxSize 100
|
|
185
|
+
*/
|
|
186
|
+
stages?: Stage[];
|
|
187
|
+
}
|
|
188
|
+
/** @oneof */
|
|
189
|
+
interface AggregationPipelinePagingMethodOneOf {
|
|
190
|
+
/**
|
|
191
|
+
* Paging options to limit and skip the number of results.
|
|
192
|
+
*
|
|
193
|
+
* Learn more about [sorting and paging](https://dev.wix.com/docs/rest/articles/get-started/sorting-and-paging).
|
|
194
|
+
*/
|
|
195
|
+
paging?: Paging;
|
|
196
|
+
/**
|
|
197
|
+
* Cursor token referring to a page of results.
|
|
198
|
+
*
|
|
199
|
+
* Not used in the first request. Subsequent requests use the cursor token and not `filter` or `sort`.
|
|
200
|
+
*/
|
|
201
|
+
cursorPaging?: CursorPaging;
|
|
202
|
+
}
|
|
203
|
+
interface Stage extends StageStageOneOf {
|
|
204
|
+
/** Groups aggregated items to new result items. */
|
|
205
|
+
group?: Group;
|
|
206
|
+
/**
|
|
207
|
+
* Aggregation filter. Only items that match the filter are processed.
|
|
208
|
+
*
|
|
209
|
+
* Learn more about [filters in API Query Language](https://dev.wix.com/docs/rest/articles/get-started/api-query-language#filters).
|
|
210
|
+
*
|
|
211
|
+
* > **Note:** The values you provide for each filter field must adhere to that field's data type. For example, when filtering by a field whose type is Date and Time, use an object in the following format: `"someDateAndTimeFieldKey": { "$date": "YYYY-MM-DDTHH:mm:ss.sssZ"}`. Learn more about [data types in Wix Data](https://dev.wix.com/docs/rest/business-solutions/cms/data-items/data-types-in-wix-data).
|
|
212
|
+
*/
|
|
213
|
+
filter?: Record<string, any> | null;
|
|
214
|
+
/**
|
|
215
|
+
* Sorting preferences.
|
|
216
|
+
*
|
|
217
|
+
* Learn more about [sorting and paging](https://dev.wix.com/docs/rest/articles/get-started/sorting-and-paging).
|
|
218
|
+
*/
|
|
219
|
+
sort?: Sorting;
|
|
220
|
+
/** Transforms items by including, excluding, or reshaping fields. */
|
|
221
|
+
projection?: Projection;
|
|
222
|
+
/** Transforms an object into an array where each object property becomes a new array element containing the property's key and value, as well as all other properties from the original object. */
|
|
223
|
+
objectToArray?: ObjectToArray;
|
|
224
|
+
/** Creates a result item for each array element. Each result contains the full original item, with the array field replaced by an element whose key is the array name and whose value is the array element. */
|
|
225
|
+
unwindArray?: UnwindArray;
|
|
226
|
+
/** Number of results to skip from the beginning of the result set. */
|
|
227
|
+
skip?: number;
|
|
228
|
+
/** Maximum number of results to return. */
|
|
229
|
+
limit?: number;
|
|
230
|
+
}
|
|
231
|
+
/** @oneof */
|
|
232
|
+
interface StageStageOneOf {
|
|
233
|
+
/** Groups aggregated items to new result items. */
|
|
234
|
+
group?: Group;
|
|
235
|
+
/**
|
|
236
|
+
* Aggregation filter. Only items that match the filter are processed.
|
|
237
|
+
*
|
|
238
|
+
* Learn more about [filters in API Query Language](https://dev.wix.com/docs/rest/articles/get-started/api-query-language#filters).
|
|
239
|
+
*
|
|
240
|
+
* > **Note:** The values you provide for each filter field must adhere to that field's data type. For example, when filtering by a field whose type is Date and Time, use an object in the following format: `"someDateAndTimeFieldKey": { "$date": "YYYY-MM-DDTHH:mm:ss.sssZ"}`. Learn more about [data types in Wix Data](https://dev.wix.com/docs/rest/business-solutions/cms/data-items/data-types-in-wix-data).
|
|
241
|
+
*/
|
|
242
|
+
filter?: Record<string, any> | null;
|
|
243
|
+
/**
|
|
244
|
+
* Sorting preferences.
|
|
245
|
+
*
|
|
246
|
+
* Learn more about [sorting and paging](https://dev.wix.com/docs/rest/articles/get-started/sorting-and-paging).
|
|
247
|
+
*/
|
|
248
|
+
sort?: Sorting;
|
|
249
|
+
/** Transforms items by including, excluding, or reshaping fields. */
|
|
250
|
+
projection?: Projection;
|
|
251
|
+
/** Transforms an object into an array where each object property becomes a new array element containing the property's key and value, as well as all other properties from the original object. */
|
|
252
|
+
objectToArray?: ObjectToArray;
|
|
253
|
+
/** Creates a result item for each array element. Each result contains the full original item, with the array field replaced by an element whose key is the array name and whose value is the array element. */
|
|
254
|
+
unwindArray?: UnwindArray;
|
|
255
|
+
/** Number of results to skip from the beginning of the result set. */
|
|
256
|
+
skip?: number;
|
|
257
|
+
/** Maximum number of results to return. */
|
|
258
|
+
limit?: number;
|
|
259
|
+
}
|
|
260
|
+
interface Group {
|
|
261
|
+
/**
|
|
262
|
+
* Grouping criteria by which to organize items.
|
|
263
|
+
*
|
|
264
|
+
* Each `groupId` specifies a field by which to group items, and serves as the result item's unique `_id` property.
|
|
265
|
+
*
|
|
266
|
+
* Items with identical values for the specified `expression` are placed in the same group based on the specified `key`. If empty, all items are treated as a single group.
|
|
267
|
+
* @maxSize 1000
|
|
268
|
+
*/
|
|
269
|
+
groupIds?: GroupId[];
|
|
270
|
+
/**
|
|
271
|
+
* Accumulation operations to run on each group.
|
|
272
|
+
*
|
|
273
|
+
* Accumulators aggregate data across all items in the group and return the result in a new field.
|
|
274
|
+
*
|
|
275
|
+
* > **Note:** When using accumulators, the type of expression must be compatible with the operation type. For example, when using the `sum` accumulator, the specified expression must resolve to a number.
|
|
276
|
+
* @maxSize 1000
|
|
277
|
+
*/
|
|
278
|
+
accumulators?: Accumulator[];
|
|
279
|
+
}
|
|
280
|
+
interface Expression extends ExpressionValueOneOf {
|
|
281
|
+
/**
|
|
282
|
+
* Path to the field containing the value to resolve.
|
|
283
|
+
*
|
|
284
|
+
* Use dot notation to specify nested fields. For example, `user.name` or `product.price`.
|
|
285
|
+
* @maxLength 1000
|
|
286
|
+
*/
|
|
287
|
+
fieldPath?: string;
|
|
288
|
+
/**
|
|
289
|
+
* Text value.
|
|
290
|
+
* @maxLength 1000
|
|
291
|
+
*/
|
|
292
|
+
text?: string;
|
|
293
|
+
/** Number value. */
|
|
294
|
+
numeric?: number;
|
|
295
|
+
/** Adds the specified expressions together. */
|
|
296
|
+
add?: AddOperation;
|
|
297
|
+
/** Calculates the total sum of multiple expressions. */
|
|
298
|
+
sum?: SumOperation;
|
|
299
|
+
/** Subtracts 1 expression from another. */
|
|
300
|
+
subtract?: SubtractOperation;
|
|
301
|
+
/** Multiplies multiple expressions together. */
|
|
302
|
+
multiply?: MultiplyOperation;
|
|
303
|
+
/** Divides 1 expression by another. */
|
|
304
|
+
divide?: DivideOperation;
|
|
305
|
+
/** Finds the absolute value of an expression. */
|
|
306
|
+
abs?: AbsOperation;
|
|
307
|
+
/** Finds the remainder when dividing 1 expression by another. */
|
|
308
|
+
mod?: ModOperation;
|
|
309
|
+
/** Rounds an expression down to the nearest whole number. */
|
|
310
|
+
floor?: FloorOperation;
|
|
311
|
+
/** Rounds an expression up to the nearest whole number. */
|
|
312
|
+
ceil?: CeilOperation;
|
|
313
|
+
/** Joins multiple expressions together to create a string. */
|
|
314
|
+
concat?: ConcatOperation;
|
|
315
|
+
/** Converts an expression to a string. */
|
|
316
|
+
stringify?: StringifyOperation;
|
|
317
|
+
/** Converts an expression to lowercase. */
|
|
318
|
+
toLower?: ToLowerOperation;
|
|
319
|
+
/** Converts an expression to uppercase. */
|
|
320
|
+
toUpper?: ToUpperOperation;
|
|
321
|
+
/** Extracts a portion of a string expression. */
|
|
322
|
+
substring?: SubstringOperation;
|
|
323
|
+
/** Finds the length of a string expression. */
|
|
324
|
+
length?: LengthOperation;
|
|
325
|
+
}
|
|
326
|
+
/** @oneof */
|
|
327
|
+
interface ExpressionValueOneOf {
|
|
328
|
+
/**
|
|
329
|
+
* Path to the field containing the value to resolve.
|
|
330
|
+
*
|
|
331
|
+
* Use dot notation to specify nested fields. For example, `user.name` or `product.price`.
|
|
332
|
+
* @maxLength 1000
|
|
333
|
+
*/
|
|
334
|
+
fieldPath?: string;
|
|
335
|
+
/**
|
|
336
|
+
* Text value.
|
|
337
|
+
* @maxLength 1000
|
|
338
|
+
*/
|
|
339
|
+
text?: string;
|
|
340
|
+
/** Number value. */
|
|
341
|
+
numeric?: number;
|
|
342
|
+
/** Adds the specified expressions together. */
|
|
343
|
+
add?: AddOperation;
|
|
344
|
+
/** Calculates the total sum of multiple expressions. */
|
|
345
|
+
sum?: SumOperation;
|
|
346
|
+
/** Subtracts 1 expression from another. */
|
|
347
|
+
subtract?: SubtractOperation;
|
|
348
|
+
/** Multiplies multiple expressions together. */
|
|
349
|
+
multiply?: MultiplyOperation;
|
|
350
|
+
/** Divides 1 expression by another. */
|
|
351
|
+
divide?: DivideOperation;
|
|
352
|
+
/** Finds the absolute value of an expression. */
|
|
353
|
+
abs?: AbsOperation;
|
|
354
|
+
/** Finds the remainder when dividing 1 expression by another. */
|
|
355
|
+
mod?: ModOperation;
|
|
356
|
+
/** Rounds an expression down to the nearest whole number. */
|
|
357
|
+
floor?: FloorOperation;
|
|
358
|
+
/** Rounds an expression up to the nearest whole number. */
|
|
359
|
+
ceil?: CeilOperation;
|
|
360
|
+
/** Joins multiple expressions together to create a string. */
|
|
361
|
+
concat?: ConcatOperation;
|
|
362
|
+
/** Converts an expression to a string. */
|
|
363
|
+
stringify?: StringifyOperation;
|
|
364
|
+
/** Converts an expression to lowercase. */
|
|
365
|
+
toLower?: ToLowerOperation;
|
|
366
|
+
/** Converts an expression to uppercase. */
|
|
367
|
+
toUpper?: ToUpperOperation;
|
|
368
|
+
/** Extracts a portion of a string expression. */
|
|
369
|
+
substring?: SubstringOperation;
|
|
370
|
+
/** Finds the length of a string expression. */
|
|
371
|
+
length?: LengthOperation;
|
|
372
|
+
}
|
|
373
|
+
interface AddOperation {
|
|
374
|
+
/**
|
|
375
|
+
* Expressions to add together.
|
|
376
|
+
*
|
|
377
|
+
* All expressions must resolve to numbers.
|
|
378
|
+
* @maxSize 1000
|
|
379
|
+
*/
|
|
380
|
+
expressions?: Expression[];
|
|
381
|
+
}
|
|
382
|
+
interface SumOperation {
|
|
383
|
+
/**
|
|
384
|
+
* Expressions to calculate the total sum of.
|
|
385
|
+
*
|
|
386
|
+
* All expressions must resolve to numbers.
|
|
387
|
+
* @maxSize 1000
|
|
388
|
+
*/
|
|
389
|
+
expressions?: Expression[];
|
|
390
|
+
}
|
|
391
|
+
interface SubtractOperation {
|
|
392
|
+
/**
|
|
393
|
+
* Expression to subtract `secondExpression` from.
|
|
394
|
+
*
|
|
395
|
+
* Expression must resolve to a number.
|
|
396
|
+
*/
|
|
397
|
+
firstExpression?: Expression;
|
|
398
|
+
/**
|
|
399
|
+
* Expression to subtract from `firstExpression`.
|
|
400
|
+
*
|
|
401
|
+
* Expression must resolve to a number.
|
|
402
|
+
*/
|
|
403
|
+
secondExpression?: Expression;
|
|
404
|
+
}
|
|
405
|
+
interface MultiplyOperation {
|
|
406
|
+
/**
|
|
407
|
+
* Expressions to multiply.
|
|
408
|
+
*
|
|
409
|
+
* All expressions must resolve to numbers.
|
|
410
|
+
* @maxSize 1000
|
|
411
|
+
*/
|
|
412
|
+
expressions?: Expression[];
|
|
413
|
+
}
|
|
414
|
+
interface DivideOperation {
|
|
415
|
+
/**
|
|
416
|
+
* Expression to divide by `secondExpression`.
|
|
417
|
+
*
|
|
418
|
+
* Expression must resolve to a number.
|
|
419
|
+
*/
|
|
420
|
+
firstExpression?: Expression;
|
|
421
|
+
/**
|
|
422
|
+
* Expression to divide `firstExpression` by.
|
|
423
|
+
*
|
|
424
|
+
* Expression must resolve to a non-zero number.
|
|
425
|
+
*/
|
|
426
|
+
secondExpression?: Expression;
|
|
427
|
+
}
|
|
428
|
+
interface AbsOperation {
|
|
429
|
+
/**
|
|
430
|
+
* Expression to find the absolute value of.
|
|
431
|
+
*
|
|
432
|
+
* Expression must resolve to a number.
|
|
433
|
+
*/
|
|
434
|
+
expression?: Expression;
|
|
435
|
+
}
|
|
436
|
+
interface ModOperation {
|
|
437
|
+
/**
|
|
438
|
+
* Expression to divide by `secondExpression` to find the remainder.
|
|
439
|
+
*
|
|
440
|
+
* Expression must resolve to a number.
|
|
441
|
+
*/
|
|
442
|
+
firstExpression?: Expression;
|
|
443
|
+
/**
|
|
444
|
+
* Expression to divide `firstExpression` by.
|
|
445
|
+
*
|
|
446
|
+
* Expression must resolve to a non-zero number.
|
|
447
|
+
*/
|
|
448
|
+
secondExpression?: Expression;
|
|
449
|
+
}
|
|
450
|
+
interface FloorOperation {
|
|
451
|
+
/**
|
|
452
|
+
* Expression to round down to the nearest whole number.
|
|
453
|
+
*
|
|
454
|
+
* Expression must resolve to a number.
|
|
455
|
+
*/
|
|
456
|
+
expression?: Expression;
|
|
457
|
+
}
|
|
458
|
+
interface CeilOperation {
|
|
459
|
+
/**
|
|
460
|
+
* Expression to round up to the nearest whole number.
|
|
461
|
+
*
|
|
462
|
+
* Expression must resolve to a number.
|
|
463
|
+
*/
|
|
464
|
+
expression?: Expression;
|
|
465
|
+
}
|
|
466
|
+
interface ConcatOperation {
|
|
467
|
+
/**
|
|
468
|
+
* Expressions to join together.
|
|
469
|
+
*
|
|
470
|
+
* All expressions must resolve to strings.
|
|
471
|
+
* @maxSize 1000
|
|
472
|
+
*/
|
|
473
|
+
expressions?: Expression[];
|
|
474
|
+
}
|
|
475
|
+
interface StringifyOperation {
|
|
476
|
+
/** Expression to convert to a string. */
|
|
477
|
+
expression?: Expression;
|
|
478
|
+
}
|
|
479
|
+
interface ToLowerOperation {
|
|
480
|
+
/**
|
|
481
|
+
* Expression to convert to lowercase.
|
|
482
|
+
*
|
|
483
|
+
* Expression must resolve to a string.
|
|
484
|
+
*/
|
|
485
|
+
expression?: Expression;
|
|
486
|
+
}
|
|
487
|
+
interface ToUpperOperation {
|
|
488
|
+
/**
|
|
489
|
+
* Expression to convert to uppercase.
|
|
490
|
+
*
|
|
491
|
+
* Expression must resolve to a string.
|
|
492
|
+
*/
|
|
493
|
+
expression?: Expression;
|
|
494
|
+
}
|
|
495
|
+
interface SubstringOperation {
|
|
496
|
+
/**
|
|
497
|
+
* Expression to extract a substring from.
|
|
498
|
+
*
|
|
499
|
+
* Expression must resolve to a string.
|
|
500
|
+
*/
|
|
501
|
+
expression?: Expression;
|
|
502
|
+
/**
|
|
503
|
+
* Starting position of the substring to extract, specified in zero-based indexing.
|
|
504
|
+
*
|
|
505
|
+
* Expression must resolve to a number.
|
|
506
|
+
*/
|
|
507
|
+
startExpression?: Expression;
|
|
508
|
+
/**
|
|
509
|
+
* Number of characters to extract from the starting position.
|
|
510
|
+
*
|
|
511
|
+
* Expression must resolve to a number.
|
|
512
|
+
*/
|
|
513
|
+
lengthExpression?: Expression;
|
|
514
|
+
}
|
|
515
|
+
interface LengthOperation {
|
|
516
|
+
/**
|
|
517
|
+
* Expression to count the total number of characters of.
|
|
518
|
+
*
|
|
519
|
+
* Expression must resolve to a string.
|
|
520
|
+
*/
|
|
521
|
+
expression?: Expression;
|
|
522
|
+
}
|
|
523
|
+
interface ConditionOperation {
|
|
524
|
+
/** Expression to evaluate as a condition. */
|
|
525
|
+
ifExpression?: Expression;
|
|
526
|
+
/** Expression to return when `ifExpression` resolves to `true`. */
|
|
527
|
+
whenTrue?: Expression;
|
|
528
|
+
/** Expression to return when `ifExpression` resolves to `false`. */
|
|
529
|
+
whenFalse?: Expression;
|
|
530
|
+
}
|
|
531
|
+
interface GreaterThanOperation {
|
|
532
|
+
/** Expression on the left side of the comparison. */
|
|
533
|
+
firstExpression?: Expression;
|
|
534
|
+
/** Expression on the right side of the comparison. */
|
|
535
|
+
secondExpression?: Expression;
|
|
536
|
+
}
|
|
537
|
+
interface SizeOperation {
|
|
538
|
+
/** Expression containing the array whose size to return. */
|
|
539
|
+
expression?: Expression;
|
|
540
|
+
}
|
|
541
|
+
interface GroupId {
|
|
542
|
+
/**
|
|
543
|
+
* Name of the field to group items by.
|
|
544
|
+
*
|
|
545
|
+
* This becomes the field name in the result's `_id` property.
|
|
546
|
+
* @maxLength 1000
|
|
547
|
+
*/
|
|
548
|
+
key?: string;
|
|
549
|
+
/** Expression to determine the grouping value. Items whose expression resolves to the same value are grouped together in the result item's `_id` property. */
|
|
550
|
+
expression?: Expression;
|
|
551
|
+
}
|
|
552
|
+
interface Accumulator extends AccumulatorExpressionOneOf {
|
|
553
|
+
/** Calculates the average value across all items in the group based on the specified expression. */
|
|
554
|
+
avg?: Avg;
|
|
555
|
+
/** Finds the minimum value across all items in the group. */
|
|
556
|
+
min?: Min;
|
|
557
|
+
/** Finds the maximum value across all items in the group. */
|
|
558
|
+
max?: Max;
|
|
559
|
+
/** Calculates the sum of the specified expression across all items in the group. */
|
|
560
|
+
sum?: Sum;
|
|
561
|
+
/** Finds the first item in the group. */
|
|
562
|
+
first?: First;
|
|
563
|
+
/** Finds the last item in the group. */
|
|
564
|
+
last?: Last;
|
|
565
|
+
/** Collects values from all items in the group into an array. */
|
|
566
|
+
push?: Push;
|
|
567
|
+
/**
|
|
568
|
+
* Field key in the output item to store the result in.
|
|
569
|
+
* @maxLength 1000
|
|
570
|
+
*/
|
|
571
|
+
resultFieldName?: string;
|
|
572
|
+
}
|
|
573
|
+
/** @oneof */
|
|
574
|
+
interface AccumulatorExpressionOneOf {
|
|
575
|
+
/** Calculates the average value across all items in the group based on the specified expression. */
|
|
576
|
+
avg?: Avg;
|
|
577
|
+
/** Finds the minimum value across all items in the group. */
|
|
578
|
+
min?: Min;
|
|
579
|
+
/** Finds the maximum value across all items in the group. */
|
|
580
|
+
max?: Max;
|
|
581
|
+
/** Calculates the sum of the specified expression across all items in the group. */
|
|
582
|
+
sum?: Sum;
|
|
583
|
+
/** Finds the first item in the group. */
|
|
584
|
+
first?: First;
|
|
585
|
+
/** Finds the last item in the group. */
|
|
586
|
+
last?: Last;
|
|
587
|
+
/** Collects values from all items in the group into an array. */
|
|
588
|
+
push?: Push;
|
|
589
|
+
}
|
|
590
|
+
interface Avg {
|
|
591
|
+
/**
|
|
592
|
+
* Expression to calculate the group's average value.
|
|
593
|
+
*
|
|
594
|
+
* Expression must resolve to a number.
|
|
595
|
+
*/
|
|
596
|
+
expression?: Expression;
|
|
597
|
+
}
|
|
598
|
+
interface Min {
|
|
599
|
+
/**
|
|
600
|
+
* Expression to find the group's minimum value.
|
|
601
|
+
*
|
|
602
|
+
* Expression must resolve to a comparable value, such as a number or string.
|
|
603
|
+
*/
|
|
604
|
+
expression?: Expression;
|
|
605
|
+
}
|
|
606
|
+
interface Max {
|
|
607
|
+
/**
|
|
608
|
+
* Expression to find the group's maximum value.
|
|
609
|
+
*
|
|
610
|
+
* Expression must resolve to a comparable value, such as a number or string.
|
|
611
|
+
*/
|
|
612
|
+
expression?: Expression;
|
|
613
|
+
}
|
|
614
|
+
interface Sum {
|
|
615
|
+
/**
|
|
616
|
+
* Expression to calculate the group's total sum.
|
|
617
|
+
*
|
|
618
|
+
* Expression must resolve to a number.
|
|
619
|
+
*/
|
|
620
|
+
expression?: Expression;
|
|
621
|
+
}
|
|
622
|
+
interface First {
|
|
623
|
+
/** Expression to find the first item in the group. */
|
|
624
|
+
expression?: Expression;
|
|
625
|
+
}
|
|
626
|
+
interface Last {
|
|
627
|
+
/** Expression to find the last item in the group. */
|
|
628
|
+
expression?: Expression;
|
|
629
|
+
}
|
|
630
|
+
interface Push {
|
|
631
|
+
/** Expression to collect items into an array. */
|
|
632
|
+
expression?: Expression;
|
|
633
|
+
}
|
|
634
|
+
interface Sorting {
|
|
635
|
+
/**
|
|
636
|
+
* Fields to sort the results by.
|
|
637
|
+
* @maxSize 1000
|
|
638
|
+
*/
|
|
639
|
+
values?: CommonSorting[];
|
|
640
|
+
}
|
|
641
|
+
interface CommonSorting {
|
|
642
|
+
/**
|
|
643
|
+
* Name of the field to sort by.
|
|
644
|
+
* @minLength 1
|
|
645
|
+
* @maxLength 1000
|
|
646
|
+
*/
|
|
647
|
+
fieldName?: string;
|
|
648
|
+
/** Sort order. */
|
|
649
|
+
order?: SortOrderWithLiterals;
|
|
650
|
+
}
|
|
651
|
+
declare enum SortOrder {
|
|
652
|
+
ASC = "ASC",
|
|
653
|
+
DESC = "DESC"
|
|
654
|
+
}
|
|
655
|
+
/** @enumType */
|
|
656
|
+
type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
|
|
657
|
+
/** Transforms collection items by including, excluding, or reshaping fields. */
|
|
658
|
+
interface Projection {
|
|
659
|
+
/**
|
|
660
|
+
* Fields to include, exclude, or reshape.
|
|
661
|
+
* @maxSize 1000
|
|
662
|
+
*/
|
|
663
|
+
fields?: Field[];
|
|
664
|
+
}
|
|
665
|
+
interface Include {
|
|
666
|
+
/**
|
|
667
|
+
* Key of the field to include in the result.
|
|
668
|
+
*
|
|
669
|
+
* Use dot notation to specify nested fields. For example, `user.name` or `product.price`. Learn more about [field keys](https://support.wix.com/en/article/cms-formerly-content-manager-about-your-collection-fields#field-id-velo-by-wix-only).
|
|
670
|
+
* @maxLength 1000
|
|
671
|
+
*/
|
|
672
|
+
fieldName?: string;
|
|
673
|
+
}
|
|
674
|
+
interface Exclude {
|
|
675
|
+
/**
|
|
676
|
+
* Key of the field to exclude from the result.
|
|
677
|
+
*
|
|
678
|
+
* Use dot notation to specify nested fields. For example, `user.name` or `product.price`. Learn more about [field keys](https://support.wix.com/en/article/cms-formerly-content-manager-about-your-collection-fields#field-id-velo-by-wix-only).
|
|
679
|
+
* @maxLength 1000
|
|
680
|
+
*/
|
|
681
|
+
fieldName?: string;
|
|
682
|
+
}
|
|
683
|
+
interface Reshape {
|
|
684
|
+
/**
|
|
685
|
+
* Key of the field to create in the result item.
|
|
686
|
+
*
|
|
687
|
+
* Learn more about [field keys](https://support.wix.com/en/article/cms-formerly-content-manager-about-your-collection-fields#field-id-velo-by-wix-only).
|
|
688
|
+
* @maxLength 1000
|
|
689
|
+
*/
|
|
690
|
+
resultFieldName?: string;
|
|
691
|
+
/** Expression to resolve. The result of the expression becomes the value of the new field. */
|
|
692
|
+
expression?: Expression;
|
|
693
|
+
}
|
|
694
|
+
interface ProjectNested {
|
|
695
|
+
/**
|
|
696
|
+
* Key of the parent field for the nested fields.
|
|
697
|
+
*
|
|
698
|
+
* Learn more about [field keys](https://support.wix.com/en/article/cms-formerly-content-manager-about-your-collection-fields#field-id-velo-by-wix-only).
|
|
699
|
+
* @maxLength 1000
|
|
700
|
+
*/
|
|
701
|
+
resultFieldName?: string;
|
|
702
|
+
/**
|
|
703
|
+
* Nested fields to include, exclude, or reshape.
|
|
704
|
+
* @maxSize 1000
|
|
705
|
+
*/
|
|
706
|
+
fields?: Field[];
|
|
707
|
+
}
|
|
708
|
+
interface Field extends FieldProjectionOneOf {
|
|
709
|
+
/** When specified, includes only the specified field in the result. All other fields are excluded. */
|
|
710
|
+
include?: Include;
|
|
711
|
+
/** When specified, excludes the specified field from the result. All other fields are included. */
|
|
712
|
+
exclude?: Exclude;
|
|
713
|
+
/** Reshapes a new field based on the specified expression. The field used by the expression is not included in the result. */
|
|
714
|
+
reshape?: Reshape;
|
|
715
|
+
/** Creates nested fields by including, excluding, or reshaping fields. */
|
|
716
|
+
projectNested?: ProjectNested;
|
|
717
|
+
}
|
|
718
|
+
/** @oneof */
|
|
719
|
+
interface FieldProjectionOneOf {
|
|
720
|
+
/** When specified, includes only the specified field in the result. All other fields are excluded. */
|
|
721
|
+
include?: Include;
|
|
722
|
+
/** When specified, excludes the specified field from the result. All other fields are included. */
|
|
723
|
+
exclude?: Exclude;
|
|
724
|
+
/** Reshapes a new field based on the specified expression. The field used by the expression is not included in the result. */
|
|
725
|
+
reshape?: Reshape;
|
|
726
|
+
/** Creates nested fields by including, excluding, or reshaping fields. */
|
|
727
|
+
projectNested?: ProjectNested;
|
|
728
|
+
}
|
|
729
|
+
/** Converts an object to an array. */
|
|
730
|
+
interface ObjectToArray {
|
|
731
|
+
/**
|
|
732
|
+
* Key of the object field to convert to an array.
|
|
733
|
+
*
|
|
734
|
+
* Use dot notation to specify nested fields. For example, `user.name` or `product.price`. Learn more about [field keys](https://support.wix.com/en/article/cms-formerly-content-manager-about-your-collection-fields#field-id-velo-by-wix-only).
|
|
735
|
+
* @maxLength 1000
|
|
736
|
+
*/
|
|
737
|
+
objectFieldName?: string;
|
|
738
|
+
/**
|
|
739
|
+
* Key of the new array to create in the result item.
|
|
740
|
+
*
|
|
741
|
+
* Learn more about [field keys](https://support.wix.com/en/article/cms-formerly-content-manager-about-your-collection-fields#field-id-velo-by-wix-only).
|
|
742
|
+
* @maxLength 1000
|
|
743
|
+
*/
|
|
744
|
+
destinationFieldName?: string;
|
|
745
|
+
}
|
|
746
|
+
/** Unwinds an array. */
|
|
747
|
+
interface UnwindArray {
|
|
748
|
+
/**
|
|
749
|
+
* Key of the array field to unwind.
|
|
750
|
+
*
|
|
751
|
+
* Use dot notation to specify a nested array. For example, `user.products` or `product.colors`. Learn more about [field keys](https://support.wix.com/en/article/cms-formerly-content-manager-about-your-collection-fields#field-id-velo-by-wix-only).
|
|
752
|
+
* @maxLength 1000
|
|
753
|
+
*/
|
|
754
|
+
arrayFieldName?: string;
|
|
755
|
+
}
|
|
756
|
+
interface AddFields {
|
|
757
|
+
/**
|
|
758
|
+
* Fields to add or replace in the result items.
|
|
759
|
+
* @maxSize 1000
|
|
760
|
+
*/
|
|
761
|
+
fields?: AddField[];
|
|
762
|
+
}
|
|
763
|
+
interface AddField {
|
|
764
|
+
/**
|
|
765
|
+
* Key of the field to add or replace in the result item.
|
|
766
|
+
* @maxLength 1000
|
|
767
|
+
*/
|
|
768
|
+
fieldName?: string;
|
|
769
|
+
/** Expression to resolve. The result of the expression becomes the value of the field. */
|
|
770
|
+
expression?: Expression;
|
|
771
|
+
}
|
|
772
|
+
interface Lookup {
|
|
773
|
+
/**
|
|
774
|
+
* ID of the collection to join with.
|
|
775
|
+
* @maxLength 256
|
|
776
|
+
*/
|
|
777
|
+
dataCollectionId?: string;
|
|
778
|
+
/**
|
|
779
|
+
* Key of the local field whose value is used for matching items in the joined collection.
|
|
780
|
+
* @maxLength 1000
|
|
781
|
+
*/
|
|
782
|
+
localField?: string;
|
|
783
|
+
/**
|
|
784
|
+
* Key of the field in the joined collection to match against the local field value.
|
|
785
|
+
* @maxLength 1000
|
|
786
|
+
*/
|
|
787
|
+
foreignField?: string;
|
|
788
|
+
/**
|
|
789
|
+
* Key of the array field where matching joined items are stored.
|
|
790
|
+
* @maxLength 1000
|
|
791
|
+
*/
|
|
792
|
+
asField?: string;
|
|
793
|
+
}
|
|
794
|
+
interface UnionWith {
|
|
795
|
+
/**
|
|
796
|
+
* ID of the collection whose results are appended to the current pipeline results.
|
|
797
|
+
* @maxLength 256
|
|
798
|
+
*/
|
|
799
|
+
dataCollectionId?: string;
|
|
800
|
+
/** Pipeline to run on the union collection before appending its results. */
|
|
801
|
+
pipeline?: AggregationPipeline;
|
|
802
|
+
}
|
|
803
|
+
interface Paging {
|
|
804
|
+
/** Number of items to load. */
|
|
805
|
+
limit?: number | null;
|
|
806
|
+
/** Number of items to skip in the current sort order. */
|
|
807
|
+
offset?: number | null;
|
|
808
|
+
}
|
|
809
|
+
interface CursorPaging {
|
|
810
|
+
/**
|
|
811
|
+
* Number of items to load.
|
|
812
|
+
* @max 1000
|
|
813
|
+
*/
|
|
814
|
+
limit?: number | null;
|
|
815
|
+
/**
|
|
816
|
+
* Pointer to the next or previous page in the list of results.
|
|
817
|
+
*
|
|
818
|
+
* You can get the relevant cursor token
|
|
819
|
+
* from the `pagingMetadata` object in the previous call's response.
|
|
820
|
+
* Not relevant for the first request.
|
|
821
|
+
* @maxLength 150000
|
|
822
|
+
*/
|
|
823
|
+
cursor?: string | null;
|
|
824
|
+
}
|
|
825
|
+
interface V1Field {
|
|
826
|
+
/**
|
|
827
|
+
* Field ID.
|
|
828
|
+
*
|
|
829
|
+
* If the field type is `Array`, specify the item index. If the field type is `Object`, specify the field path. Use dot notation to specify nested fields, for example: `data.address.city`.
|
|
830
|
+
* @maxLength 1024
|
|
831
|
+
*/
|
|
832
|
+
key?: string;
|
|
833
|
+
/**
|
|
834
|
+
* Field display name.
|
|
835
|
+
*
|
|
836
|
+
* When moving items to CSV files, use this to set the header of the target column.
|
|
837
|
+
* @maxLength 1024
|
|
838
|
+
*/
|
|
839
|
+
displayName?: string;
|
|
840
|
+
/**
|
|
841
|
+
* Field data type. Default: `ANY`.
|
|
842
|
+
*
|
|
843
|
+
* Learn more about [data types in Wix Data](https://dev.wix.com/docs/rest/business-solutions/cms/data-types-in-wix-data).
|
|
844
|
+
*/
|
|
845
|
+
fieldType?: FieldTypeWithLiterals;
|
|
846
|
+
}
|
|
847
|
+
declare enum FieldType {
|
|
848
|
+
/** Any data type. */
|
|
849
|
+
ANY = "ANY",
|
|
850
|
+
/** String. */
|
|
851
|
+
STRING = "STRING",
|
|
852
|
+
/** Number. */
|
|
853
|
+
NUMBER = "NUMBER",
|
|
854
|
+
/** Boolean. */
|
|
855
|
+
BOOLEAN = "BOOLEAN",
|
|
856
|
+
/** Date string in ISO 8601 date format: `YYYY-MM-DD`. */
|
|
857
|
+
DATE = "DATE",
|
|
858
|
+
/** [Date object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) (SDK) or an object in the following format: `"someFieldKey": { "$date": "YYYY-MM-DDTHH:mm:ss.sssZ"}`. */
|
|
859
|
+
DATETIME = "DATETIME",
|
|
860
|
+
/** Binary file. */
|
|
861
|
+
BINARY = "BINARY",
|
|
862
|
+
/** object. */
|
|
863
|
+
OBJECT = "OBJECT",
|
|
864
|
+
/** Array. */
|
|
865
|
+
ARRAY = "ARRAY",
|
|
866
|
+
/** Web URL. */
|
|
867
|
+
URL = "URL",
|
|
868
|
+
WIX_MEDIA_URL = "WIX_MEDIA_URL",
|
|
869
|
+
WIX_MEDIA_IMAGE_URL = "WIX_MEDIA_IMAGE_URL",
|
|
870
|
+
WIX_MEDIA_VIDEO_URL = "WIX_MEDIA_VIDEO_URL",
|
|
871
|
+
WIX_MEDIA_DOCUMENT_URL = "WIX_MEDIA_DOCUMENT_URL",
|
|
872
|
+
IMAGE_URL = "IMAGE_URL",
|
|
873
|
+
VIDEO_URL = "VIDEO_URL"
|
|
874
|
+
}
|
|
875
|
+
/** @enumType */
|
|
876
|
+
type FieldTypeWithLiterals = FieldType | 'ANY' | 'STRING' | 'NUMBER' | 'BOOLEAN' | 'DATE' | 'DATETIME' | 'BINARY' | 'OBJECT' | 'ARRAY' | 'URL' | 'WIX_MEDIA_URL' | 'WIX_MEDIA_IMAGE_URL' | 'WIX_MEDIA_VIDEO_URL' | 'WIX_MEDIA_DOCUMENT_URL' | 'IMAGE_URL' | 'VIDEO_URL';
|
|
167
877
|
declare enum WixDataEnvironment {
|
|
168
878
|
/** Collection's [live environment](https://support.wix.com/en/article/cms-about-sandbox-and-live-collections-and-syncing#sandbox-collections). */
|
|
169
879
|
LIVE = "LIVE",
|
|
@@ -172,6 +882,28 @@ declare enum WixDataEnvironment {
|
|
|
172
882
|
}
|
|
173
883
|
/** @enumType */
|
|
174
884
|
type WixDataEnvironmentWithLiterals = WixDataEnvironment | 'LIVE' | 'SANDBOX';
|
|
885
|
+
/** Filter and field selection query. */
|
|
886
|
+
interface FilterQuery {
|
|
887
|
+
/**
|
|
888
|
+
* Filter to apply to the items. Only items that pass the filter are moved.
|
|
889
|
+
*
|
|
890
|
+
* Learn more about building a query filter using [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#filters).
|
|
891
|
+
*/
|
|
892
|
+
filter?: Record<string, any> | null;
|
|
893
|
+
/** Item fields to move. If not set, the method moves the full items. */
|
|
894
|
+
fields?: string[];
|
|
895
|
+
}
|
|
896
|
+
interface AggregationQuery {
|
|
897
|
+
/** Aggregation pipeline to run on the collection. */
|
|
898
|
+
aggregationPipeline?: AggregationPipeline;
|
|
899
|
+
/**
|
|
900
|
+
* Fields, will be used to map aggregation pipeline result to export result.
|
|
901
|
+
* Fields in the aggregation pipeline results that are not in the provided list will be ignored.
|
|
902
|
+
* If no fields provided, data will be exported as is, without transformation or field name mapping.
|
|
903
|
+
* @maxSize 1000
|
|
904
|
+
*/
|
|
905
|
+
fields?: V1Field[];
|
|
906
|
+
}
|
|
175
907
|
declare enum FileFormat {
|
|
176
908
|
/** Unknown format. */
|
|
177
909
|
UNKNOWN = "UNKNOWN",
|
|
@@ -197,7 +929,11 @@ declare enum MediaType {
|
|
|
197
929
|
/** @enumType */
|
|
198
930
|
type MediaTypeWithLiterals = MediaType | 'ALL' | 'IMAGE' | 'VIDEO' | 'AUDIO' | 'DOCUMENT';
|
|
199
931
|
/** Wix data collection. */
|
|
200
|
-
interface WixDataSource {
|
|
932
|
+
interface WixDataSource extends WixDataSourceQueryOneOf {
|
|
933
|
+
/** Filter and field selection to apply to the collection items. */
|
|
934
|
+
filterQuery?: FilterQuery;
|
|
935
|
+
/** Aggregation pipeline to run on the collection. */
|
|
936
|
+
aggregationQuery?: AggregationQuery;
|
|
201
937
|
/**
|
|
202
938
|
* ID of the data collection.
|
|
203
939
|
* @minLength 1
|
|
@@ -208,11 +944,27 @@ interface WixDataSource {
|
|
|
208
944
|
* Filter to apply to the items. Only items that pass the filter are moved.
|
|
209
945
|
*
|
|
210
946
|
* Learn more about building a query filter using [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#filters).
|
|
947
|
+
* Deprecated: Use `filter_query.filter` instead.
|
|
948
|
+
* @deprecated
|
|
949
|
+
* @replacedBy filter_query
|
|
950
|
+
* @targetRemovalDate 2027-01-01
|
|
211
951
|
*/
|
|
212
952
|
filter?: Record<string, any> | null;
|
|
213
|
-
/**
|
|
953
|
+
/**
|
|
954
|
+
* Deprecated: Use `filter_query.fields` instead.
|
|
955
|
+
* @deprecated
|
|
956
|
+
* @replacedBy filter_query
|
|
957
|
+
* @targetRemovalDate 2027-01-01
|
|
958
|
+
*/
|
|
214
959
|
fields?: string[];
|
|
215
960
|
}
|
|
961
|
+
/** @oneof */
|
|
962
|
+
interface WixDataSourceQueryOneOf {
|
|
963
|
+
/** Filter and field selection to apply to the collection items. */
|
|
964
|
+
filterQuery?: FilterQuery;
|
|
965
|
+
/** Aggregation pipeline to run on the collection. */
|
|
966
|
+
aggregationQuery?: AggregationQuery;
|
|
967
|
+
}
|
|
216
968
|
interface LocalizationSource {
|
|
217
969
|
/**
|
|
218
970
|
* Translated CMS content in the specified languages. Content in these languages is exported to the destination, with the first specified language treated as the main one.
|
|
@@ -408,60 +1160,8 @@ interface Schema {
|
|
|
408
1160
|
* Item fields to move to the destination file.
|
|
409
1161
|
* @maxSize 1000
|
|
410
1162
|
*/
|
|
411
|
-
fields?:
|
|
1163
|
+
fields?: V1Field[];
|
|
412
1164
|
}
|
|
413
|
-
interface Field {
|
|
414
|
-
/**
|
|
415
|
-
* Field ID.
|
|
416
|
-
*
|
|
417
|
-
* If the field type is `Array`, specify the item index. If the field type is `Object`, specify the field path. Use dot notation to specify nested fields, for example: `data.address.city`.
|
|
418
|
-
* @maxLength 1024
|
|
419
|
-
*/
|
|
420
|
-
key?: string;
|
|
421
|
-
/**
|
|
422
|
-
* Field display name.
|
|
423
|
-
*
|
|
424
|
-
* When moving items to CSV files, use this to set the header of the target column.
|
|
425
|
-
* @maxLength 1024
|
|
426
|
-
*/
|
|
427
|
-
displayName?: string;
|
|
428
|
-
/**
|
|
429
|
-
* Field data type. Default: `ANY`.
|
|
430
|
-
*
|
|
431
|
-
* Learn more about [data types in Wix Data](https://dev.wix.com/docs/rest/business-solutions/cms/data-types-in-wix-data).
|
|
432
|
-
*/
|
|
433
|
-
fieldType?: FieldTypeWithLiterals;
|
|
434
|
-
}
|
|
435
|
-
declare enum FieldType {
|
|
436
|
-
/** Any data type. */
|
|
437
|
-
ANY = "ANY",
|
|
438
|
-
/** String. */
|
|
439
|
-
STRING = "STRING",
|
|
440
|
-
/** Number. */
|
|
441
|
-
NUMBER = "NUMBER",
|
|
442
|
-
/** Boolean. */
|
|
443
|
-
BOOLEAN = "BOOLEAN",
|
|
444
|
-
/** Date string in ISO 8601 date format: `YYYY-MM-DD`. */
|
|
445
|
-
DATE = "DATE",
|
|
446
|
-
/** [Date object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) (SDK) or an object in the following format: `"someFieldKey": { "$date": "YYYY-MM-DDTHH:mm:ss.sssZ"}`. */
|
|
447
|
-
DATETIME = "DATETIME",
|
|
448
|
-
/** Binary file. */
|
|
449
|
-
BINARY = "BINARY",
|
|
450
|
-
/** object. */
|
|
451
|
-
OBJECT = "OBJECT",
|
|
452
|
-
/** Array. */
|
|
453
|
-
ARRAY = "ARRAY",
|
|
454
|
-
/** Web URL. */
|
|
455
|
-
URL = "URL",
|
|
456
|
-
WIX_MEDIA_URL = "WIX_MEDIA_URL",
|
|
457
|
-
WIX_MEDIA_IMAGE_URL = "WIX_MEDIA_IMAGE_URL",
|
|
458
|
-
WIX_MEDIA_VIDEO_URL = "WIX_MEDIA_VIDEO_URL",
|
|
459
|
-
WIX_MEDIA_DOCUMENT_URL = "WIX_MEDIA_DOCUMENT_URL",
|
|
460
|
-
IMAGE_URL = "IMAGE_URL",
|
|
461
|
-
VIDEO_URL = "VIDEO_URL"
|
|
462
|
-
}
|
|
463
|
-
/** @enumType */
|
|
464
|
-
type FieldTypeWithLiterals = FieldType | 'ANY' | 'STRING' | 'NUMBER' | 'BOOLEAN' | 'DATE' | 'DATETIME' | 'BINARY' | 'OBJECT' | 'ARRAY' | 'URL' | 'WIX_MEDIA_URL' | 'WIX_MEDIA_IMAGE_URL' | 'WIX_MEDIA_VIDEO_URL' | 'WIX_MEDIA_DOCUMENT_URL' | 'IMAGE_URL' | 'VIDEO_URL';
|
|
465
1165
|
interface StoresCatalogProductsDestination {
|
|
466
1166
|
}
|
|
467
1167
|
/** Wix Media Manager destination. */
|
|
@@ -604,11 +1304,11 @@ interface ListScheduledDataWorkflowsRequest {
|
|
|
604
1304
|
*/
|
|
605
1305
|
fields?: FieldsWithLiterals[];
|
|
606
1306
|
/** Reserved for future server-side paging support. Currently ignored. */
|
|
607
|
-
paging?:
|
|
1307
|
+
paging?: CommonCursorPaging;
|
|
608
1308
|
/** Reserved for future server-side filtering support. Currently ignored. */
|
|
609
1309
|
filter?: Record<string, any> | null;
|
|
610
1310
|
}
|
|
611
|
-
interface
|
|
1311
|
+
interface CommonCursorPaging {
|
|
612
1312
|
/**
|
|
613
1313
|
* Maximum number of items to return in the results.
|
|
614
1314
|
* @max 100
|
|
@@ -836,4 +1536,4 @@ declare function getScheduledDataWorkflow(): __PublicMethodMetaInfo<'GET', {
|
|
|
836
1536
|
}, GetScheduledDataWorkflowRequest$1, GetScheduledDataWorkflowRequest, GetScheduledDataWorkflowResponse$1, GetScheduledDataWorkflowResponse>;
|
|
837
1537
|
declare function listScheduledDataWorkflows(): __PublicMethodMetaInfo<'GET', {}, ListScheduledDataWorkflowsRequest$1, ListScheduledDataWorkflowsRequest, ListScheduledDataWorkflowsResponse$1, ListScheduledDataWorkflowsResponse>;
|
|
838
1538
|
|
|
839
|
-
export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type CreateScheduledDataWorkflowRequest as CreateScheduledDataWorkflowRequestOriginal, type CreateScheduledDataWorkflowResponse as CreateScheduledDataWorkflowResponseOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type Cursors as CursorsOriginal, type DataMovementJobLogs as DataMovementJobLogsOriginal, type DeleteScheduledDataWorkflowRequest as DeleteScheduledDataWorkflowRequestOriginal, type DeleteScheduledDataWorkflowResponse as DeleteScheduledDataWorkflowResponseOriginal, type DestinationDestinationOneOf as DestinationDestinationOneOfOriginal, type Destination as DestinationOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type ExternalFileSource as ExternalFileSourceOriginal, type Field as FieldOriginal, FieldType as FieldTypeOriginal, type FieldTypeWithLiterals as FieldTypeWithLiteralsOriginal, Fields as FieldsOriginal, type FieldsWithLiterals as FieldsWithLiteralsOriginal, type FileDestination as FileDestinationOriginal, FileFormat as FileFormatOriginal, type FileFormatWithLiterals as FileFormatWithLiteralsOriginal, type FileSource as FileSourceOriginal, type GetScheduledDataWorkflowRequest as GetScheduledDataWorkflowRequestOriginal, type GetScheduledDataWorkflowResponse as GetScheduledDataWorkflowResponseOriginal, type GoogleSheetsSource as GoogleSheetsSourceOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type JobSpec as JobSpecOriginal, type JobSpecSiteOverrideOneOf as JobSpecSiteOverrideOneOfOriginal, type ListScheduledDataWorkflowsRequest as ListScheduledDataWorkflowsRequestOriginal, type ListScheduledDataWorkflowsResponse as ListScheduledDataWorkflowsResponseOriginal, type LocalizationDestination as LocalizationDestinationOriginal, type LocalizationSource as LocalizationSourceOriginal, MediaType as MediaTypeOriginal, type MediaTypeWithLiterals as MediaTypeWithLiteralsOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type RescheduleScheduledDataWorkflowRequest as RescheduleScheduledDataWorkflowRequestOriginal, type RescheduleScheduledDataWorkflowResponse as RescheduleScheduledDataWorkflowResponseOriginal, type RestoreInfo as RestoreInfoOriginal, type ScheduledDataWorkflow as ScheduledDataWorkflowOriginal, type ScheduledDataWorkflowSpec as ScheduledDataWorkflowSpecOriginal, type Schema as SchemaOriginal, type Source as SourceOriginal, type SourceSourceOneOf as SourceSourceOneOfOriginal, type StoresCatalogInventoryDestination as StoresCatalogInventoryDestinationOriginal, type StoresCatalogProductsDestination as StoresCatalogProductsDestinationOriginal, type TestDestination as TestDestinationOriginal, type TestSource as TestSourceOriginal, type TestTransformation as TestTransformationOriginal, type Transformation as TransformationOriginal, type TransformationTransformationOneOf as TransformationTransformationOneOfOriginal, type TriggerScheduledDataWorkflowNowRequest as TriggerScheduledDataWorkflowNowRequestOriginal, type TriggerScheduledDataWorkflowNowResponse as TriggerScheduledDataWorkflowNowResponseOriginal, type UpdateScheduledDataWorkflowRequest as UpdateScheduledDataWorkflowRequestOriginal, type UpdateScheduledDataWorkflowResponse as UpdateScheduledDataWorkflowResponseOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type WixDataCollectionDefinitionDestination as WixDataCollectionDefinitionDestinationOriginal, type WixDataCollectionDefinitionSource as WixDataCollectionDefinitionSourceOriginal, type WixDataDestination as WixDataDestinationOriginal, WixDataDestinationWritePolicy as WixDataDestinationWritePolicyOriginal, type WixDataDestinationWritePolicyWithLiterals as WixDataDestinationWritePolicyWithLiteralsOriginal, WixDataEnvironment as WixDataEnvironmentOriginal, type WixDataEnvironmentWithLiterals as WixDataEnvironmentWithLiteralsOriginal, type WixDataSource as WixDataSourceOriginal, type WixMediaDestination as WixMediaDestinationOriginal, WixMediaDestinationWritePolicy as WixMediaDestinationWritePolicyOriginal, type WixMediaDestinationWritePolicyWithLiterals as WixMediaDestinationWritePolicyWithLiteralsOriginal, type WixMediaSource as WixMediaSourceOriginal, WritePolicy as WritePolicyOriginal, type WritePolicyWithLiterals as WritePolicyWithLiteralsOriginal, type __PublicMethodMetaInfo, createScheduledDataWorkflow, deleteScheduledDataWorkflow, getScheduledDataWorkflow, listScheduledDataWorkflows, rescheduleScheduledDataWorkflow, triggerScheduledDataWorkflowNow, updateScheduledDataWorkflow };
|
|
1539
|
+
export { type AbsOperation as AbsOperationOriginal, type AccountInfo as AccountInfoOriginal, type AccumulatorExpressionOneOf as AccumulatorExpressionOneOfOriginal, type Accumulator as AccumulatorOriginal, type ActionEvent as ActionEventOriginal, type AddField as AddFieldOriginal, type AddFields as AddFieldsOriginal, type AddOperation as AddOperationOriginal, type AggregationPipeline as AggregationPipelineOriginal, type AggregationPipelinePagingMethodOneOf as AggregationPipelinePagingMethodOneOfOriginal, type AggregationQuery as AggregationQueryOriginal, type Avg as AvgOriginal, type CeilOperation as CeilOperationOriginal, type CommonCursorPaging as CommonCursorPagingOriginal, type CommonSorting as CommonSortingOriginal, type ConcatOperation as ConcatOperationOriginal, type ConditionOperation as ConditionOperationOriginal, type CreateScheduledDataWorkflowRequest as CreateScheduledDataWorkflowRequestOriginal, type CreateScheduledDataWorkflowResponse as CreateScheduledDataWorkflowResponseOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type Cursors as CursorsOriginal, type DataMovementJobLogs as DataMovementJobLogsOriginal, type DeleteScheduledDataWorkflowRequest as DeleteScheduledDataWorkflowRequestOriginal, type DeleteScheduledDataWorkflowResponse as DeleteScheduledDataWorkflowResponseOriginal, type DestinationDestinationOneOf as DestinationDestinationOneOfOriginal, type Destination as DestinationOriginal, type DivideOperation as DivideOperationOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type Exclude as ExcludeOriginal, type Expression as ExpressionOriginal, type ExpressionValueOneOf as ExpressionValueOneOfOriginal, type ExternalFileSource as ExternalFileSourceOriginal, type Field as FieldOriginal, type FieldProjectionOneOf as FieldProjectionOneOfOriginal, FieldType as FieldTypeOriginal, type FieldTypeWithLiterals as FieldTypeWithLiteralsOriginal, Fields as FieldsOriginal, type FieldsWithLiterals as FieldsWithLiteralsOriginal, type FileDestination as FileDestinationOriginal, FileFormat as FileFormatOriginal, type FileFormatWithLiterals as FileFormatWithLiteralsOriginal, type FileSource as FileSourceOriginal, type FilterQuery as FilterQueryOriginal, type First as FirstOriginal, type FloorOperation as FloorOperationOriginal, type GetScheduledDataWorkflowRequest as GetScheduledDataWorkflowRequestOriginal, type GetScheduledDataWorkflowResponse as GetScheduledDataWorkflowResponseOriginal, type GoogleSheetsSource as GoogleSheetsSourceOriginal, type GreaterThanOperation as GreaterThanOperationOriginal, type GroupId as GroupIdOriginal, type Group as GroupOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type Include as IncludeOriginal, type JobSpec as JobSpecOriginal, type JobSpecSiteOverrideOneOf as JobSpecSiteOverrideOneOfOriginal, type Last as LastOriginal, type LengthOperation as LengthOperationOriginal, type ListScheduledDataWorkflowsRequest as ListScheduledDataWorkflowsRequestOriginal, type ListScheduledDataWorkflowsResponse as ListScheduledDataWorkflowsResponseOriginal, type LocalizationDestination as LocalizationDestinationOriginal, type LocalizationSource as LocalizationSourceOriginal, type Lookup as LookupOriginal, type Max as MaxOriginal, MediaType as MediaTypeOriginal, type MediaTypeWithLiterals as MediaTypeWithLiteralsOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type Min as MinOriginal, type ModOperation as ModOperationOriginal, type MultiplyOperation as MultiplyOperationOriginal, type ObjectToArray as ObjectToArrayOriginal, type Paging as PagingOriginal, type ProjectNested as ProjectNestedOriginal, type Projection as ProjectionOriginal, type Push as PushOriginal, type RescheduleScheduledDataWorkflowRequest as RescheduleScheduledDataWorkflowRequestOriginal, type RescheduleScheduledDataWorkflowResponse as RescheduleScheduledDataWorkflowResponseOriginal, type Reshape as ReshapeOriginal, type RestoreInfo as RestoreInfoOriginal, type ScheduledDataWorkflow as ScheduledDataWorkflowOriginal, type ScheduledDataWorkflowSpec as ScheduledDataWorkflowSpecOriginal, type Schema as SchemaOriginal, type SizeOperation as SizeOperationOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, type Source as SourceOriginal, type SourceSourceOneOf as SourceSourceOneOfOriginal, type Stage as StageOriginal, type StageStageOneOf as StageStageOneOfOriginal, type StoresCatalogInventoryDestination as StoresCatalogInventoryDestinationOriginal, type StoresCatalogProductsDestination as StoresCatalogProductsDestinationOriginal, type StringifyOperation as StringifyOperationOriginal, type SubstringOperation as SubstringOperationOriginal, type SubtractOperation as SubtractOperationOriginal, type SumOperation as SumOperationOriginal, type Sum as SumOriginal, type TestDestination as TestDestinationOriginal, type TestSource as TestSourceOriginal, type TestTransformation as TestTransformationOriginal, type ToLowerOperation as ToLowerOperationOriginal, type ToUpperOperation as ToUpperOperationOriginal, type Transformation as TransformationOriginal, type TransformationTransformationOneOf as TransformationTransformationOneOfOriginal, type TriggerScheduledDataWorkflowNowRequest as TriggerScheduledDataWorkflowNowRequestOriginal, type TriggerScheduledDataWorkflowNowResponse as TriggerScheduledDataWorkflowNowResponseOriginal, type UnionWith as UnionWithOriginal, type UnwindArray as UnwindArrayOriginal, type UpdateScheduledDataWorkflowRequest as UpdateScheduledDataWorkflowRequestOriginal, type UpdateScheduledDataWorkflowResponse as UpdateScheduledDataWorkflowResponseOriginal, type V1Field as V1FieldOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type WixDataCollectionDefinitionDestination as WixDataCollectionDefinitionDestinationOriginal, type WixDataCollectionDefinitionSource as WixDataCollectionDefinitionSourceOriginal, type WixDataDestination as WixDataDestinationOriginal, WixDataDestinationWritePolicy as WixDataDestinationWritePolicyOriginal, type WixDataDestinationWritePolicyWithLiterals as WixDataDestinationWritePolicyWithLiteralsOriginal, WixDataEnvironment as WixDataEnvironmentOriginal, type WixDataEnvironmentWithLiterals as WixDataEnvironmentWithLiteralsOriginal, type WixDataSource as WixDataSourceOriginal, type WixDataSourceQueryOneOf as WixDataSourceQueryOneOfOriginal, type WixMediaDestination as WixMediaDestinationOriginal, WixMediaDestinationWritePolicy as WixMediaDestinationWritePolicyOriginal, type WixMediaDestinationWritePolicyWithLiterals as WixMediaDestinationWritePolicyWithLiteralsOriginal, type WixMediaSource as WixMediaSourceOriginal, WritePolicy as WritePolicyOriginal, type WritePolicyWithLiterals as WritePolicyWithLiteralsOriginal, type __PublicMethodMetaInfo, createScheduledDataWorkflow, deleteScheduledDataWorkflow, getScheduledDataWorkflow, listScheduledDataWorkflows, rescheduleScheduledDataWorkflow, triggerScheduledDataWorkflowNow, updateScheduledDataWorkflow };
|