@wix/auto_sdk_data_scheduled-workflows 1.0.1 → 1.0.2

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 +325 -0
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +697 -8
  5. package/build/cjs/index.typings.js +219 -0
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +696 -7
  8. package/build/cjs/meta.js +219 -0
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/cjs/schemas.d.ts +1278 -12
  11. package/build/cjs/schemas.js +6180 -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 +324 -0
  15. package/build/es/index.mjs.map +1 -1
  16. package/build/es/index.typings.d.mts +697 -8
  17. package/build/es/index.typings.mjs +218 -0
  18. package/build/es/index.typings.mjs.map +1 -1
  19. package/build/es/meta.d.mts +696 -7
  20. package/build/es/meta.mjs +218 -0
  21. package/build/es/meta.mjs.map +1 -1
  22. package/build/es/schemas.d.mts +1278 -12
  23. package/build/es/schemas.mjs +6180 -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 +325 -0
  27. package/build/internal/cjs/index.js.map +1 -1
  28. package/build/internal/cjs/index.typings.d.ts +697 -8
  29. package/build/internal/cjs/index.typings.js +219 -0
  30. package/build/internal/cjs/index.typings.js.map +1 -1
  31. package/build/internal/cjs/meta.d.ts +696 -7
  32. package/build/internal/cjs/meta.js +219 -0
  33. package/build/internal/cjs/meta.js.map +1 -1
  34. package/build/internal/cjs/schemas.d.ts +1278 -12
  35. package/build/internal/cjs/schemas.js +6180 -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 +324 -0
  39. package/build/internal/es/index.mjs.map +1 -1
  40. package/build/internal/es/index.typings.d.mts +697 -8
  41. package/build/internal/es/index.typings.mjs +218 -0
  42. package/build/internal/es/index.typings.mjs.map +1 -1
  43. package/build/internal/es/meta.d.mts +696 -7
  44. package/build/internal/es/meta.mjs +218 -0
  45. package/build/internal/es/meta.mjs.map +1 -1
  46. package/build/internal/es/schemas.d.mts +1278 -12
  47. package/build/internal/es/schemas.mjs +6180 -707
  48. package/build/internal/es/schemas.mjs.map +1 -1
  49. package/package.json +2 -2
@@ -24,6 +24,7 @@ __export(index_typings_exports, {
24
24
  Fields: () => Fields,
25
25
  FileFormat: () => FileFormat,
26
26
  MediaType: () => MediaType,
27
+ SortOrder: () => SortOrder,
27
28
  WebhookIdentityType: () => WebhookIdentityType,
28
29
  WixDataDestinationWritePolicy: () => WixDataDestinationWritePolicy,
29
30
  WixDataEnvironment: () => WixDataEnvironment,
@@ -45,6 +46,8 @@ var import_rename_all_nested_keys = require("@wix/sdk-runtime/rename-all-nested-
45
46
 
46
47
  // src/data-sync-v1-jobs-scheduled-workflows.http.ts
47
48
  var import_rest_modules = require("@wix/sdk-runtime/rest-modules");
49
+ var import_float = require("@wix/sdk-runtime/transformations/float");
50
+ var import_float2 = require("@wix/sdk-runtime/transformations/float");
48
51
  var import_timestamp = require("@wix/sdk-runtime/transformations/timestamp");
49
52
  var import_timestamp2 = require("@wix/sdk-runtime/transformations/timestamp");
50
53
  var import_field_mask = require("@wix/sdk-runtime/transformations/field-mask");
@@ -107,6 +110,41 @@ function createScheduledDataWorkflow(payload) {
107
110
  { path: "scheduledDataWorkflow.lastExecutionDate" },
108
111
  { path: "scheduledDataWorkflow.nextExecutionDate" }
109
112
  ]
113
+ },
114
+ {
115
+ transformFn: import_float.transformSDKFloatToRESTFloat,
116
+ paths: [
117
+ {
118
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.groupIds.expression.numeric"
119
+ },
120
+ {
121
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.avg.expression.numeric"
122
+ },
123
+ {
124
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.min.expression.numeric"
125
+ },
126
+ {
127
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.max.expression.numeric"
128
+ },
129
+ {
130
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.sum.expression.numeric"
131
+ },
132
+ {
133
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.first.expression.numeric"
134
+ },
135
+ {
136
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.last.expression.numeric"
137
+ },
138
+ {
139
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.push.expression.numeric"
140
+ },
141
+ {
142
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.projection.fields.reshape.expression.numeric"
143
+ },
144
+ {
145
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.addFields.fields.expression.numeric"
146
+ }
147
+ ]
110
148
  }
111
149
  ]);
112
150
  const metadata = {
@@ -130,6 +168,41 @@ function createScheduledDataWorkflow(payload) {
130
168
  { path: "scheduledDataWorkflow.lastExecutionDate" },
131
169
  { path: "scheduledDataWorkflow.nextExecutionDate" }
132
170
  ]
171
+ },
172
+ {
173
+ transformFn: import_float2.transformRESTFloatToSDKFloat,
174
+ paths: [
175
+ {
176
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.groupIds.expression.numeric"
177
+ },
178
+ {
179
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.avg.expression.numeric"
180
+ },
181
+ {
182
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.min.expression.numeric"
183
+ },
184
+ {
185
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.max.expression.numeric"
186
+ },
187
+ {
188
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.sum.expression.numeric"
189
+ },
190
+ {
191
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.first.expression.numeric"
192
+ },
193
+ {
194
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.last.expression.numeric"
195
+ },
196
+ {
197
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.push.expression.numeric"
198
+ },
199
+ {
200
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.projection.fields.reshape.expression.numeric"
201
+ },
202
+ {
203
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.addFields.fields.expression.numeric"
204
+ }
205
+ ]
133
206
  }
134
207
  ])
135
208
  };
@@ -198,6 +271,41 @@ function updateScheduledDataWorkflow(payload) {
198
271
  { path: "scheduledDataWorkflow.lastExecutionDate" },
199
272
  { path: "scheduledDataWorkflow.nextExecutionDate" }
200
273
  ]
274
+ },
275
+ {
276
+ transformFn: import_float.transformSDKFloatToRESTFloat,
277
+ paths: [
278
+ {
279
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.groupIds.expression.numeric"
280
+ },
281
+ {
282
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.avg.expression.numeric"
283
+ },
284
+ {
285
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.min.expression.numeric"
286
+ },
287
+ {
288
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.max.expression.numeric"
289
+ },
290
+ {
291
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.sum.expression.numeric"
292
+ },
293
+ {
294
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.first.expression.numeric"
295
+ },
296
+ {
297
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.last.expression.numeric"
298
+ },
299
+ {
300
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.push.expression.numeric"
301
+ },
302
+ {
303
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.projection.fields.reshape.expression.numeric"
304
+ },
305
+ {
306
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.addFields.fields.expression.numeric"
307
+ }
308
+ ]
201
309
  }
202
310
  ]);
203
311
  const metadata = {
@@ -221,6 +329,41 @@ function updateScheduledDataWorkflow(payload) {
221
329
  { path: "scheduledDataWorkflow.lastExecutionDate" },
222
330
  { path: "scheduledDataWorkflow.nextExecutionDate" }
223
331
  ]
332
+ },
333
+ {
334
+ transformFn: import_float2.transformRESTFloatToSDKFloat,
335
+ paths: [
336
+ {
337
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.groupIds.expression.numeric"
338
+ },
339
+ {
340
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.avg.expression.numeric"
341
+ },
342
+ {
343
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.min.expression.numeric"
344
+ },
345
+ {
346
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.max.expression.numeric"
347
+ },
348
+ {
349
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.sum.expression.numeric"
350
+ },
351
+ {
352
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.first.expression.numeric"
353
+ },
354
+ {
355
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.last.expression.numeric"
356
+ },
357
+ {
358
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.push.expression.numeric"
359
+ },
360
+ {
361
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.projection.fields.reshape.expression.numeric"
362
+ },
363
+ {
364
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.addFields.fields.expression.numeric"
365
+ }
366
+ ]
224
367
  }
225
368
  ])
226
369
  };
@@ -272,6 +415,41 @@ function getScheduledDataWorkflow(payload) {
272
415
  { path: "scheduledDataWorkflow.lastExecutionDate" },
273
416
  { path: "scheduledDataWorkflow.nextExecutionDate" }
274
417
  ]
418
+ },
419
+ {
420
+ transformFn: import_float2.transformRESTFloatToSDKFloat,
421
+ paths: [
422
+ {
423
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.groupIds.expression.numeric"
424
+ },
425
+ {
426
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.avg.expression.numeric"
427
+ },
428
+ {
429
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.min.expression.numeric"
430
+ },
431
+ {
432
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.max.expression.numeric"
433
+ },
434
+ {
435
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.sum.expression.numeric"
436
+ },
437
+ {
438
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.first.expression.numeric"
439
+ },
440
+ {
441
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.last.expression.numeric"
442
+ },
443
+ {
444
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.push.expression.numeric"
445
+ },
446
+ {
447
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.projection.fields.reshape.expression.numeric"
448
+ },
449
+ {
450
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.addFields.fields.expression.numeric"
451
+ }
452
+ ]
275
453
  }
276
454
  ])
277
455
  };
@@ -302,6 +480,41 @@ function listScheduledDataWorkflows(payload) {
302
480
  { path: "scheduledDataWorkflows.lastExecutionDate" },
303
481
  { path: "scheduledDataWorkflows.nextExecutionDate" }
304
482
  ]
483
+ },
484
+ {
485
+ transformFn: import_float2.transformRESTFloatToSDKFloat,
486
+ paths: [
487
+ {
488
+ path: "scheduledDataWorkflows.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.groupIds.expression.numeric"
489
+ },
490
+ {
491
+ path: "scheduledDataWorkflows.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.avg.expression.numeric"
492
+ },
493
+ {
494
+ path: "scheduledDataWorkflows.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.min.expression.numeric"
495
+ },
496
+ {
497
+ path: "scheduledDataWorkflows.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.max.expression.numeric"
498
+ },
499
+ {
500
+ path: "scheduledDataWorkflows.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.sum.expression.numeric"
501
+ },
502
+ {
503
+ path: "scheduledDataWorkflows.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.first.expression.numeric"
504
+ },
505
+ {
506
+ path: "scheduledDataWorkflows.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.last.expression.numeric"
507
+ },
508
+ {
509
+ path: "scheduledDataWorkflows.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.push.expression.numeric"
510
+ },
511
+ {
512
+ path: "scheduledDataWorkflows.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.projection.fields.reshape.expression.numeric"
513
+ },
514
+ {
515
+ path: "scheduledDataWorkflows.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.addFields.fields.expression.numeric"
516
+ }
517
+ ]
305
518
  }
306
519
  ])
307
520
  };
@@ -316,6 +529,11 @@ var WixDataEnvironment = /* @__PURE__ */ ((WixDataEnvironment2) => {
316
529
  WixDataEnvironment2["SANDBOX"] = "SANDBOX";
317
530
  return WixDataEnvironment2;
318
531
  })(WixDataEnvironment || {});
532
+ var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
533
+ SortOrder2["ASC"] = "ASC";
534
+ SortOrder2["DESC"] = "DESC";
535
+ return SortOrder2;
536
+ })(SortOrder || {});
319
537
  var FileFormat = /* @__PURE__ */ ((FileFormat2) => {
320
538
  FileFormat2["UNKNOWN"] = "UNKNOWN";
321
539
  FileFormat2["CSV"] = "CSV";
@@ -578,6 +796,7 @@ async function listScheduledDataWorkflows2(options) {
578
796
  Fields,
579
797
  FileFormat,
580
798
  MediaType,
799
+ SortOrder,
581
800
  WebhookIdentityType,
582
801
  WixDataDestinationWritePolicy,
583
802
  WixDataEnvironment,