@wix/auto_sdk_data_scheduled-workflows 1.0.0 → 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 +699 -10
  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 +697 -8
  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 +699 -10
  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 +697 -8
  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 +699 -10
  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 +697 -8
  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 +699 -10
  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 +697 -8
  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
@@ -1,5 +1,7 @@
1
1
  // src/data-sync-v1-jobs-scheduled-workflows.http.ts
2
2
  import { toURLSearchParams } from "@wix/sdk-runtime/rest-modules";
3
+ import { transformSDKFloatToRESTFloat } from "@wix/sdk-runtime/transformations/float";
4
+ import { transformRESTFloatToSDKFloat } from "@wix/sdk-runtime/transformations/float";
3
5
  import { transformSDKTimestampToRESTTimestamp } from "@wix/sdk-runtime/transformations/timestamp";
4
6
  import { transformRESTTimestampToSDKTimestamp } from "@wix/sdk-runtime/transformations/timestamp";
5
7
  import { transformSDKFieldMaskToRESTFieldMask } from "@wix/sdk-runtime/transformations/field-mask";
@@ -62,6 +64,41 @@ function createScheduledDataWorkflow(payload) {
62
64
  { path: "scheduledDataWorkflow.lastExecutionDate" },
63
65
  { path: "scheduledDataWorkflow.nextExecutionDate" }
64
66
  ]
67
+ },
68
+ {
69
+ transformFn: transformSDKFloatToRESTFloat,
70
+ paths: [
71
+ {
72
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.groupIds.expression.numeric"
73
+ },
74
+ {
75
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.avg.expression.numeric"
76
+ },
77
+ {
78
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.min.expression.numeric"
79
+ },
80
+ {
81
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.max.expression.numeric"
82
+ },
83
+ {
84
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.sum.expression.numeric"
85
+ },
86
+ {
87
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.first.expression.numeric"
88
+ },
89
+ {
90
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.last.expression.numeric"
91
+ },
92
+ {
93
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.push.expression.numeric"
94
+ },
95
+ {
96
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.projection.fields.reshape.expression.numeric"
97
+ },
98
+ {
99
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.addFields.fields.expression.numeric"
100
+ }
101
+ ]
65
102
  }
66
103
  ]);
67
104
  const metadata = {
@@ -85,6 +122,41 @@ function createScheduledDataWorkflow(payload) {
85
122
  { path: "scheduledDataWorkflow.lastExecutionDate" },
86
123
  { path: "scheduledDataWorkflow.nextExecutionDate" }
87
124
  ]
125
+ },
126
+ {
127
+ transformFn: transformRESTFloatToSDKFloat,
128
+ paths: [
129
+ {
130
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.groupIds.expression.numeric"
131
+ },
132
+ {
133
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.avg.expression.numeric"
134
+ },
135
+ {
136
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.min.expression.numeric"
137
+ },
138
+ {
139
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.max.expression.numeric"
140
+ },
141
+ {
142
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.sum.expression.numeric"
143
+ },
144
+ {
145
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.first.expression.numeric"
146
+ },
147
+ {
148
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.last.expression.numeric"
149
+ },
150
+ {
151
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.push.expression.numeric"
152
+ },
153
+ {
154
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.projection.fields.reshape.expression.numeric"
155
+ },
156
+ {
157
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.addFields.fields.expression.numeric"
158
+ }
159
+ ]
88
160
  }
89
161
  ])
90
162
  };
@@ -153,6 +225,41 @@ function updateScheduledDataWorkflow(payload) {
153
225
  { path: "scheduledDataWorkflow.lastExecutionDate" },
154
226
  { path: "scheduledDataWorkflow.nextExecutionDate" }
155
227
  ]
228
+ },
229
+ {
230
+ transformFn: transformSDKFloatToRESTFloat,
231
+ paths: [
232
+ {
233
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.groupIds.expression.numeric"
234
+ },
235
+ {
236
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.avg.expression.numeric"
237
+ },
238
+ {
239
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.min.expression.numeric"
240
+ },
241
+ {
242
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.max.expression.numeric"
243
+ },
244
+ {
245
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.sum.expression.numeric"
246
+ },
247
+ {
248
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.first.expression.numeric"
249
+ },
250
+ {
251
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.last.expression.numeric"
252
+ },
253
+ {
254
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.push.expression.numeric"
255
+ },
256
+ {
257
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.projection.fields.reshape.expression.numeric"
258
+ },
259
+ {
260
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.addFields.fields.expression.numeric"
261
+ }
262
+ ]
156
263
  }
157
264
  ]);
158
265
  const metadata = {
@@ -176,6 +283,41 @@ function updateScheduledDataWorkflow(payload) {
176
283
  { path: "scheduledDataWorkflow.lastExecutionDate" },
177
284
  { path: "scheduledDataWorkflow.nextExecutionDate" }
178
285
  ]
286
+ },
287
+ {
288
+ transformFn: transformRESTFloatToSDKFloat,
289
+ paths: [
290
+ {
291
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.groupIds.expression.numeric"
292
+ },
293
+ {
294
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.avg.expression.numeric"
295
+ },
296
+ {
297
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.min.expression.numeric"
298
+ },
299
+ {
300
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.max.expression.numeric"
301
+ },
302
+ {
303
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.sum.expression.numeric"
304
+ },
305
+ {
306
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.first.expression.numeric"
307
+ },
308
+ {
309
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.last.expression.numeric"
310
+ },
311
+ {
312
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.push.expression.numeric"
313
+ },
314
+ {
315
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.projection.fields.reshape.expression.numeric"
316
+ },
317
+ {
318
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.addFields.fields.expression.numeric"
319
+ }
320
+ ]
179
321
  }
180
322
  ])
181
323
  };
@@ -227,6 +369,41 @@ function getScheduledDataWorkflow(payload) {
227
369
  { path: "scheduledDataWorkflow.lastExecutionDate" },
228
370
  { path: "scheduledDataWorkflow.nextExecutionDate" }
229
371
  ]
372
+ },
373
+ {
374
+ transformFn: transformRESTFloatToSDKFloat,
375
+ paths: [
376
+ {
377
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.groupIds.expression.numeric"
378
+ },
379
+ {
380
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.avg.expression.numeric"
381
+ },
382
+ {
383
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.min.expression.numeric"
384
+ },
385
+ {
386
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.max.expression.numeric"
387
+ },
388
+ {
389
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.sum.expression.numeric"
390
+ },
391
+ {
392
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.first.expression.numeric"
393
+ },
394
+ {
395
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.last.expression.numeric"
396
+ },
397
+ {
398
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.push.expression.numeric"
399
+ },
400
+ {
401
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.projection.fields.reshape.expression.numeric"
402
+ },
403
+ {
404
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.addFields.fields.expression.numeric"
405
+ }
406
+ ]
230
407
  }
231
408
  ])
232
409
  };
@@ -257,6 +434,41 @@ function listScheduledDataWorkflows(payload) {
257
434
  { path: "scheduledDataWorkflows.lastExecutionDate" },
258
435
  { path: "scheduledDataWorkflows.nextExecutionDate" }
259
436
  ]
437
+ },
438
+ {
439
+ transformFn: transformRESTFloatToSDKFloat,
440
+ paths: [
441
+ {
442
+ path: "scheduledDataWorkflows.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.groupIds.expression.numeric"
443
+ },
444
+ {
445
+ path: "scheduledDataWorkflows.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.avg.expression.numeric"
446
+ },
447
+ {
448
+ path: "scheduledDataWorkflows.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.min.expression.numeric"
449
+ },
450
+ {
451
+ path: "scheduledDataWorkflows.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.max.expression.numeric"
452
+ },
453
+ {
454
+ path: "scheduledDataWorkflows.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.sum.expression.numeric"
455
+ },
456
+ {
457
+ path: "scheduledDataWorkflows.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.first.expression.numeric"
458
+ },
459
+ {
460
+ path: "scheduledDataWorkflows.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.last.expression.numeric"
461
+ },
462
+ {
463
+ path: "scheduledDataWorkflows.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.push.expression.numeric"
464
+ },
465
+ {
466
+ path: "scheduledDataWorkflows.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.projection.fields.reshape.expression.numeric"
467
+ },
468
+ {
469
+ path: "scheduledDataWorkflows.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.addFields.fields.expression.numeric"
470
+ }
471
+ ]
260
472
  }
261
473
  ])
262
474
  };
@@ -271,6 +483,11 @@ var WixDataEnvironment = /* @__PURE__ */ ((WixDataEnvironment2) => {
271
483
  WixDataEnvironment2["SANDBOX"] = "SANDBOX";
272
484
  return WixDataEnvironment2;
273
485
  })(WixDataEnvironment || {});
486
+ var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
487
+ SortOrder2["ASC"] = "ASC";
488
+ SortOrder2["DESC"] = "DESC";
489
+ return SortOrder2;
490
+ })(SortOrder || {});
274
491
  var FileFormat = /* @__PURE__ */ ((FileFormat2) => {
275
492
  FileFormat2["UNKNOWN"] = "UNKNOWN";
276
493
  FileFormat2["CSV"] = "CSV";
@@ -473,6 +690,7 @@ export {
473
690
  Fields as FieldsOriginal,
474
691
  FileFormat as FileFormatOriginal,
475
692
  MediaType as MediaTypeOriginal,
693
+ SortOrder as SortOrderOriginal,
476
694
  WebhookIdentityType as WebhookIdentityTypeOriginal,
477
695
  WixDataDestinationWritePolicy as WixDataDestinationWritePolicyOriginal,
478
696
  WixDataEnvironment as WixDataEnvironmentOriginal,