@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.
Files changed (49) hide show
  1. package/build/cjs/index.d.ts +1 -1
  2. package/build/cjs/index.js +344 -19
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +759 -59
  5. package/build/cjs/index.typings.js +238 -19
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +758 -58
  8. package/build/cjs/meta.js +238 -19
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/cjs/schemas.d.ts +1380 -12
  11. package/build/cjs/schemas.js +6437 -707
  12. package/build/cjs/schemas.js.map +1 -1
  13. package/build/es/index.d.mts +1 -1
  14. package/build/es/index.mjs +343 -19
  15. package/build/es/index.mjs.map +1 -1
  16. package/build/es/index.typings.d.mts +759 -59
  17. package/build/es/index.typings.mjs +237 -19
  18. package/build/es/index.typings.mjs.map +1 -1
  19. package/build/es/meta.d.mts +758 -58
  20. package/build/es/meta.mjs +237 -19
  21. package/build/es/meta.mjs.map +1 -1
  22. package/build/es/schemas.d.mts +1380 -12
  23. package/build/es/schemas.mjs +6437 -707
  24. package/build/es/schemas.mjs.map +1 -1
  25. package/build/internal/cjs/index.d.ts +1 -1
  26. package/build/internal/cjs/index.js +344 -19
  27. package/build/internal/cjs/index.js.map +1 -1
  28. package/build/internal/cjs/index.typings.d.ts +759 -59
  29. package/build/internal/cjs/index.typings.js +238 -19
  30. package/build/internal/cjs/index.typings.js.map +1 -1
  31. package/build/internal/cjs/meta.d.ts +758 -58
  32. package/build/internal/cjs/meta.js +238 -19
  33. package/build/internal/cjs/meta.js.map +1 -1
  34. package/build/internal/cjs/schemas.d.ts +1380 -12
  35. package/build/internal/cjs/schemas.js +6437 -707
  36. package/build/internal/cjs/schemas.js.map +1 -1
  37. package/build/internal/es/index.d.mts +1 -1
  38. package/build/internal/es/index.mjs +343 -19
  39. package/build/internal/es/index.mjs.map +1 -1
  40. package/build/internal/es/index.typings.d.mts +759 -59
  41. package/build/internal/es/index.typings.mjs +237 -19
  42. package/build/internal/es/index.typings.mjs.map +1 -1
  43. package/build/internal/es/meta.d.mts +758 -58
  44. package/build/internal/es/meta.mjs +237 -19
  45. package/build/internal/es/meta.mjs.map +1 -1
  46. package/build/internal/es/schemas.d.mts +1380 -12
  47. package/build/internal/es/schemas.mjs +6437 -707
  48. package/build/internal/es/schemas.mjs.map +1 -1
  49. package/package.json +2 -2
@@ -24,6 +24,7 @@ __export(meta_exports, {
24
24
  FieldsOriginal: () => Fields,
25
25
  FileFormatOriginal: () => FileFormat,
26
26
  MediaTypeOriginal: () => MediaType,
27
+ SortOrderOriginal: () => SortOrder,
27
28
  WebhookIdentityTypeOriginal: () => WebhookIdentityType,
28
29
  WixDataDestinationWritePolicyOriginal: () => WixDataDestinationWritePolicy,
29
30
  WixDataEnvironmentOriginal: () => WixDataEnvironment,
@@ -41,6 +42,8 @@ module.exports = __toCommonJS(meta_exports);
41
42
 
42
43
  // src/data-sync-v1-jobs-scheduled-workflows.http.ts
43
44
  var import_rest_modules = require("@wix/sdk-runtime/rest-modules");
45
+ var import_float = require("@wix/sdk-runtime/transformations/float");
46
+ var import_float2 = require("@wix/sdk-runtime/transformations/float");
44
47
  var import_timestamp = require("@wix/sdk-runtime/transformations/timestamp");
45
48
  var import_timestamp2 = require("@wix/sdk-runtime/transformations/timestamp");
46
49
  var import_field_mask = require("@wix/sdk-runtime/transformations/field-mask");
@@ -103,6 +106,41 @@ function createScheduledDataWorkflow(payload) {
103
106
  { path: "scheduledDataWorkflow.lastExecutionDate" },
104
107
  { path: "scheduledDataWorkflow.nextExecutionDate" }
105
108
  ]
109
+ },
110
+ {
111
+ transformFn: import_float.transformSDKFloatToRESTFloat,
112
+ paths: [
113
+ {
114
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationQuery.aggregationPipeline.stages.group.groupIds.expression.numeric"
115
+ },
116
+ {
117
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationQuery.aggregationPipeline.stages.group.accumulators.avg.expression.numeric"
118
+ },
119
+ {
120
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationQuery.aggregationPipeline.stages.group.accumulators.min.expression.numeric"
121
+ },
122
+ {
123
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationQuery.aggregationPipeline.stages.group.accumulators.max.expression.numeric"
124
+ },
125
+ {
126
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationQuery.aggregationPipeline.stages.group.accumulators.sum.expression.numeric"
127
+ },
128
+ {
129
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationQuery.aggregationPipeline.stages.group.accumulators.first.expression.numeric"
130
+ },
131
+ {
132
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationQuery.aggregationPipeline.stages.group.accumulators.last.expression.numeric"
133
+ },
134
+ {
135
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationQuery.aggregationPipeline.stages.group.accumulators.push.expression.numeric"
136
+ },
137
+ {
138
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationQuery.aggregationPipeline.stages.projection.fields.reshape.expression.numeric"
139
+ },
140
+ {
141
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationQuery.aggregationPipeline.stages.addFields.fields.expression.numeric"
142
+ }
143
+ ]
106
144
  }
107
145
  ]);
108
146
  const metadata = {
@@ -126,6 +164,41 @@ function createScheduledDataWorkflow(payload) {
126
164
  { path: "scheduledDataWorkflow.lastExecutionDate" },
127
165
  { path: "scheduledDataWorkflow.nextExecutionDate" }
128
166
  ]
167
+ },
168
+ {
169
+ transformFn: import_float2.transformRESTFloatToSDKFloat,
170
+ paths: [
171
+ {
172
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationQuery.aggregationPipeline.stages.group.groupIds.expression.numeric"
173
+ },
174
+ {
175
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationQuery.aggregationPipeline.stages.group.accumulators.avg.expression.numeric"
176
+ },
177
+ {
178
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationQuery.aggregationPipeline.stages.group.accumulators.min.expression.numeric"
179
+ },
180
+ {
181
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationQuery.aggregationPipeline.stages.group.accumulators.max.expression.numeric"
182
+ },
183
+ {
184
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationQuery.aggregationPipeline.stages.group.accumulators.sum.expression.numeric"
185
+ },
186
+ {
187
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationQuery.aggregationPipeline.stages.group.accumulators.first.expression.numeric"
188
+ },
189
+ {
190
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationQuery.aggregationPipeline.stages.group.accumulators.last.expression.numeric"
191
+ },
192
+ {
193
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationQuery.aggregationPipeline.stages.group.accumulators.push.expression.numeric"
194
+ },
195
+ {
196
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationQuery.aggregationPipeline.stages.projection.fields.reshape.expression.numeric"
197
+ },
198
+ {
199
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationQuery.aggregationPipeline.stages.addFields.fields.expression.numeric"
200
+ }
201
+ ]
129
202
  }
130
203
  ])
131
204
  };
@@ -194,6 +267,41 @@ function updateScheduledDataWorkflow(payload) {
194
267
  { path: "scheduledDataWorkflow.lastExecutionDate" },
195
268
  { path: "scheduledDataWorkflow.nextExecutionDate" }
196
269
  ]
270
+ },
271
+ {
272
+ transformFn: import_float.transformSDKFloatToRESTFloat,
273
+ paths: [
274
+ {
275
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationQuery.aggregationPipeline.stages.group.groupIds.expression.numeric"
276
+ },
277
+ {
278
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationQuery.aggregationPipeline.stages.group.accumulators.avg.expression.numeric"
279
+ },
280
+ {
281
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationQuery.aggregationPipeline.stages.group.accumulators.min.expression.numeric"
282
+ },
283
+ {
284
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationQuery.aggregationPipeline.stages.group.accumulators.max.expression.numeric"
285
+ },
286
+ {
287
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationQuery.aggregationPipeline.stages.group.accumulators.sum.expression.numeric"
288
+ },
289
+ {
290
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationQuery.aggregationPipeline.stages.group.accumulators.first.expression.numeric"
291
+ },
292
+ {
293
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationQuery.aggregationPipeline.stages.group.accumulators.last.expression.numeric"
294
+ },
295
+ {
296
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationQuery.aggregationPipeline.stages.group.accumulators.push.expression.numeric"
297
+ },
298
+ {
299
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationQuery.aggregationPipeline.stages.projection.fields.reshape.expression.numeric"
300
+ },
301
+ {
302
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationQuery.aggregationPipeline.stages.addFields.fields.expression.numeric"
303
+ }
304
+ ]
197
305
  }
198
306
  ]);
199
307
  const metadata = {
@@ -217,6 +325,41 @@ function updateScheduledDataWorkflow(payload) {
217
325
  { path: "scheduledDataWorkflow.lastExecutionDate" },
218
326
  { path: "scheduledDataWorkflow.nextExecutionDate" }
219
327
  ]
328
+ },
329
+ {
330
+ transformFn: import_float2.transformRESTFloatToSDKFloat,
331
+ paths: [
332
+ {
333
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationQuery.aggregationPipeline.stages.group.groupIds.expression.numeric"
334
+ },
335
+ {
336
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationQuery.aggregationPipeline.stages.group.accumulators.avg.expression.numeric"
337
+ },
338
+ {
339
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationQuery.aggregationPipeline.stages.group.accumulators.min.expression.numeric"
340
+ },
341
+ {
342
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationQuery.aggregationPipeline.stages.group.accumulators.max.expression.numeric"
343
+ },
344
+ {
345
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationQuery.aggregationPipeline.stages.group.accumulators.sum.expression.numeric"
346
+ },
347
+ {
348
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationQuery.aggregationPipeline.stages.group.accumulators.first.expression.numeric"
349
+ },
350
+ {
351
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationQuery.aggregationPipeline.stages.group.accumulators.last.expression.numeric"
352
+ },
353
+ {
354
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationQuery.aggregationPipeline.stages.group.accumulators.push.expression.numeric"
355
+ },
356
+ {
357
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationQuery.aggregationPipeline.stages.projection.fields.reshape.expression.numeric"
358
+ },
359
+ {
360
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationQuery.aggregationPipeline.stages.addFields.fields.expression.numeric"
361
+ }
362
+ ]
220
363
  }
221
364
  ])
222
365
  };
@@ -268,6 +411,41 @@ function getScheduledDataWorkflow(payload) {
268
411
  { path: "scheduledDataWorkflow.lastExecutionDate" },
269
412
  { path: "scheduledDataWorkflow.nextExecutionDate" }
270
413
  ]
414
+ },
415
+ {
416
+ transformFn: import_float2.transformRESTFloatToSDKFloat,
417
+ paths: [
418
+ {
419
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationQuery.aggregationPipeline.stages.group.groupIds.expression.numeric"
420
+ },
421
+ {
422
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationQuery.aggregationPipeline.stages.group.accumulators.avg.expression.numeric"
423
+ },
424
+ {
425
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationQuery.aggregationPipeline.stages.group.accumulators.min.expression.numeric"
426
+ },
427
+ {
428
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationQuery.aggregationPipeline.stages.group.accumulators.max.expression.numeric"
429
+ },
430
+ {
431
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationQuery.aggregationPipeline.stages.group.accumulators.sum.expression.numeric"
432
+ },
433
+ {
434
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationQuery.aggregationPipeline.stages.group.accumulators.first.expression.numeric"
435
+ },
436
+ {
437
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationQuery.aggregationPipeline.stages.group.accumulators.last.expression.numeric"
438
+ },
439
+ {
440
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationQuery.aggregationPipeline.stages.group.accumulators.push.expression.numeric"
441
+ },
442
+ {
443
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationQuery.aggregationPipeline.stages.projection.fields.reshape.expression.numeric"
444
+ },
445
+ {
446
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationQuery.aggregationPipeline.stages.addFields.fields.expression.numeric"
447
+ }
448
+ ]
271
449
  }
272
450
  ])
273
451
  };
@@ -298,6 +476,41 @@ function listScheduledDataWorkflows(payload) {
298
476
  { path: "scheduledDataWorkflows.lastExecutionDate" },
299
477
  { path: "scheduledDataWorkflows.nextExecutionDate" }
300
478
  ]
479
+ },
480
+ {
481
+ transformFn: import_float2.transformRESTFloatToSDKFloat,
482
+ paths: [
483
+ {
484
+ path: "scheduledDataWorkflows.workflow.steps.source.wixDataCollection.aggregationQuery.aggregationPipeline.stages.group.groupIds.expression.numeric"
485
+ },
486
+ {
487
+ path: "scheduledDataWorkflows.workflow.steps.source.wixDataCollection.aggregationQuery.aggregationPipeline.stages.group.accumulators.avg.expression.numeric"
488
+ },
489
+ {
490
+ path: "scheduledDataWorkflows.workflow.steps.source.wixDataCollection.aggregationQuery.aggregationPipeline.stages.group.accumulators.min.expression.numeric"
491
+ },
492
+ {
493
+ path: "scheduledDataWorkflows.workflow.steps.source.wixDataCollection.aggregationQuery.aggregationPipeline.stages.group.accumulators.max.expression.numeric"
494
+ },
495
+ {
496
+ path: "scheduledDataWorkflows.workflow.steps.source.wixDataCollection.aggregationQuery.aggregationPipeline.stages.group.accumulators.sum.expression.numeric"
497
+ },
498
+ {
499
+ path: "scheduledDataWorkflows.workflow.steps.source.wixDataCollection.aggregationQuery.aggregationPipeline.stages.group.accumulators.first.expression.numeric"
500
+ },
501
+ {
502
+ path: "scheduledDataWorkflows.workflow.steps.source.wixDataCollection.aggregationQuery.aggregationPipeline.stages.group.accumulators.last.expression.numeric"
503
+ },
504
+ {
505
+ path: "scheduledDataWorkflows.workflow.steps.source.wixDataCollection.aggregationQuery.aggregationPipeline.stages.group.accumulators.push.expression.numeric"
506
+ },
507
+ {
508
+ path: "scheduledDataWorkflows.workflow.steps.source.wixDataCollection.aggregationQuery.aggregationPipeline.stages.projection.fields.reshape.expression.numeric"
509
+ },
510
+ {
511
+ path: "scheduledDataWorkflows.workflow.steps.source.wixDataCollection.aggregationQuery.aggregationPipeline.stages.addFields.fields.expression.numeric"
512
+ }
513
+ ]
301
514
  }
302
515
  ])
303
516
  };
@@ -307,6 +520,30 @@ function listScheduledDataWorkflows(payload) {
307
520
  }
308
521
 
309
522
  // src/data-sync-v1-jobs-scheduled-workflows.types.ts
523
+ var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
524
+ SortOrder2["ASC"] = "ASC";
525
+ SortOrder2["DESC"] = "DESC";
526
+ return SortOrder2;
527
+ })(SortOrder || {});
528
+ var FieldType = /* @__PURE__ */ ((FieldType2) => {
529
+ FieldType2["ANY"] = "ANY";
530
+ FieldType2["STRING"] = "STRING";
531
+ FieldType2["NUMBER"] = "NUMBER";
532
+ FieldType2["BOOLEAN"] = "BOOLEAN";
533
+ FieldType2["DATE"] = "DATE";
534
+ FieldType2["DATETIME"] = "DATETIME";
535
+ FieldType2["BINARY"] = "BINARY";
536
+ FieldType2["OBJECT"] = "OBJECT";
537
+ FieldType2["ARRAY"] = "ARRAY";
538
+ FieldType2["URL"] = "URL";
539
+ FieldType2["WIX_MEDIA_URL"] = "WIX_MEDIA_URL";
540
+ FieldType2["WIX_MEDIA_IMAGE_URL"] = "WIX_MEDIA_IMAGE_URL";
541
+ FieldType2["WIX_MEDIA_VIDEO_URL"] = "WIX_MEDIA_VIDEO_URL";
542
+ FieldType2["WIX_MEDIA_DOCUMENT_URL"] = "WIX_MEDIA_DOCUMENT_URL";
543
+ FieldType2["IMAGE_URL"] = "IMAGE_URL";
544
+ FieldType2["VIDEO_URL"] = "VIDEO_URL";
545
+ return FieldType2;
546
+ })(FieldType || {});
310
547
  var WixDataEnvironment = /* @__PURE__ */ ((WixDataEnvironment2) => {
311
548
  WixDataEnvironment2["LIVE"] = "LIVE";
312
549
  WixDataEnvironment2["SANDBOX"] = "SANDBOX";
@@ -332,25 +569,6 @@ var WixDataDestinationWritePolicy = /* @__PURE__ */ ((WixDataDestinationWritePol
332
569
  WixDataDestinationWritePolicy2["TRUNCATE_BEFORE"] = "TRUNCATE_BEFORE";
333
570
  return WixDataDestinationWritePolicy2;
334
571
  })(WixDataDestinationWritePolicy || {});
335
- var FieldType = /* @__PURE__ */ ((FieldType2) => {
336
- FieldType2["ANY"] = "ANY";
337
- FieldType2["STRING"] = "STRING";
338
- FieldType2["NUMBER"] = "NUMBER";
339
- FieldType2["BOOLEAN"] = "BOOLEAN";
340
- FieldType2["DATE"] = "DATE";
341
- FieldType2["DATETIME"] = "DATETIME";
342
- FieldType2["BINARY"] = "BINARY";
343
- FieldType2["OBJECT"] = "OBJECT";
344
- FieldType2["ARRAY"] = "ARRAY";
345
- FieldType2["URL"] = "URL";
346
- FieldType2["WIX_MEDIA_URL"] = "WIX_MEDIA_URL";
347
- FieldType2["WIX_MEDIA_IMAGE_URL"] = "WIX_MEDIA_IMAGE_URL";
348
- FieldType2["WIX_MEDIA_VIDEO_URL"] = "WIX_MEDIA_VIDEO_URL";
349
- FieldType2["WIX_MEDIA_DOCUMENT_URL"] = "WIX_MEDIA_DOCUMENT_URL";
350
- FieldType2["IMAGE_URL"] = "IMAGE_URL";
351
- FieldType2["VIDEO_URL"] = "VIDEO_URL";
352
- return FieldType2;
353
- })(FieldType || {});
354
572
  var WixMediaDestinationWritePolicy = /* @__PURE__ */ ((WixMediaDestinationWritePolicy2) => {
355
573
  WixMediaDestinationWritePolicy2["OVERWRITE"] = "OVERWRITE";
356
574
  WixMediaDestinationWritePolicy2["SKIP_EXISTING"] = "SKIP_EXISTING";
@@ -515,6 +733,7 @@ function listScheduledDataWorkflows2() {
515
733
  FieldsOriginal,
516
734
  FileFormatOriginal,
517
735
  MediaTypeOriginal,
736
+ SortOrderOriginal,
518
737
  WebhookIdentityTypeOriginal,
519
738
  WixDataDestinationWritePolicyOriginal,
520
739
  WixDataEnvironmentOriginal,