@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
@@ -7,6 +7,8 @@ import {
7
7
 
8
8
  // src/data-sync-v1-jobs-scheduled-workflows.http.ts
9
9
  import { toURLSearchParams } from "@wix/sdk-runtime/rest-modules";
10
+ import { transformSDKFloatToRESTFloat } from "@wix/sdk-runtime/transformations/float";
11
+ import { transformRESTFloatToSDKFloat } from "@wix/sdk-runtime/transformations/float";
10
12
  import { transformSDKTimestampToRESTTimestamp } from "@wix/sdk-runtime/transformations/timestamp";
11
13
  import { transformRESTTimestampToSDKTimestamp } from "@wix/sdk-runtime/transformations/timestamp";
12
14
  import { transformSDKFieldMaskToRESTFieldMask } from "@wix/sdk-runtime/transformations/field-mask";
@@ -69,6 +71,41 @@ function createScheduledDataWorkflow(payload) {
69
71
  { path: "scheduledDataWorkflow.lastExecutionDate" },
70
72
  { path: "scheduledDataWorkflow.nextExecutionDate" }
71
73
  ]
74
+ },
75
+ {
76
+ transformFn: transformSDKFloatToRESTFloat,
77
+ paths: [
78
+ {
79
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.groupIds.expression.numeric"
80
+ },
81
+ {
82
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.avg.expression.numeric"
83
+ },
84
+ {
85
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.min.expression.numeric"
86
+ },
87
+ {
88
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.max.expression.numeric"
89
+ },
90
+ {
91
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.sum.expression.numeric"
92
+ },
93
+ {
94
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.first.expression.numeric"
95
+ },
96
+ {
97
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.last.expression.numeric"
98
+ },
99
+ {
100
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.push.expression.numeric"
101
+ },
102
+ {
103
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.projection.fields.reshape.expression.numeric"
104
+ },
105
+ {
106
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.addFields.fields.expression.numeric"
107
+ }
108
+ ]
72
109
  }
73
110
  ]);
74
111
  const metadata = {
@@ -92,6 +129,41 @@ function createScheduledDataWorkflow(payload) {
92
129
  { path: "scheduledDataWorkflow.lastExecutionDate" },
93
130
  { path: "scheduledDataWorkflow.nextExecutionDate" }
94
131
  ]
132
+ },
133
+ {
134
+ transformFn: transformRESTFloatToSDKFloat,
135
+ paths: [
136
+ {
137
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.groupIds.expression.numeric"
138
+ },
139
+ {
140
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.avg.expression.numeric"
141
+ },
142
+ {
143
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.min.expression.numeric"
144
+ },
145
+ {
146
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.max.expression.numeric"
147
+ },
148
+ {
149
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.sum.expression.numeric"
150
+ },
151
+ {
152
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.first.expression.numeric"
153
+ },
154
+ {
155
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.last.expression.numeric"
156
+ },
157
+ {
158
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.push.expression.numeric"
159
+ },
160
+ {
161
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.projection.fields.reshape.expression.numeric"
162
+ },
163
+ {
164
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.addFields.fields.expression.numeric"
165
+ }
166
+ ]
95
167
  }
96
168
  ])
97
169
  };
@@ -160,6 +232,41 @@ function updateScheduledDataWorkflow(payload) {
160
232
  { path: "scheduledDataWorkflow.lastExecutionDate" },
161
233
  { path: "scheduledDataWorkflow.nextExecutionDate" }
162
234
  ]
235
+ },
236
+ {
237
+ transformFn: transformSDKFloatToRESTFloat,
238
+ paths: [
239
+ {
240
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.groupIds.expression.numeric"
241
+ },
242
+ {
243
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.avg.expression.numeric"
244
+ },
245
+ {
246
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.min.expression.numeric"
247
+ },
248
+ {
249
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.max.expression.numeric"
250
+ },
251
+ {
252
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.sum.expression.numeric"
253
+ },
254
+ {
255
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.first.expression.numeric"
256
+ },
257
+ {
258
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.last.expression.numeric"
259
+ },
260
+ {
261
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.push.expression.numeric"
262
+ },
263
+ {
264
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.projection.fields.reshape.expression.numeric"
265
+ },
266
+ {
267
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.addFields.fields.expression.numeric"
268
+ }
269
+ ]
163
270
  }
164
271
  ]);
165
272
  const metadata = {
@@ -183,6 +290,41 @@ function updateScheduledDataWorkflow(payload) {
183
290
  { path: "scheduledDataWorkflow.lastExecutionDate" },
184
291
  { path: "scheduledDataWorkflow.nextExecutionDate" }
185
292
  ]
293
+ },
294
+ {
295
+ transformFn: transformRESTFloatToSDKFloat,
296
+ paths: [
297
+ {
298
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.groupIds.expression.numeric"
299
+ },
300
+ {
301
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.avg.expression.numeric"
302
+ },
303
+ {
304
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.min.expression.numeric"
305
+ },
306
+ {
307
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.max.expression.numeric"
308
+ },
309
+ {
310
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.sum.expression.numeric"
311
+ },
312
+ {
313
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.first.expression.numeric"
314
+ },
315
+ {
316
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.last.expression.numeric"
317
+ },
318
+ {
319
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.push.expression.numeric"
320
+ },
321
+ {
322
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.projection.fields.reshape.expression.numeric"
323
+ },
324
+ {
325
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.addFields.fields.expression.numeric"
326
+ }
327
+ ]
186
328
  }
187
329
  ])
188
330
  };
@@ -234,6 +376,41 @@ function getScheduledDataWorkflow(payload) {
234
376
  { path: "scheduledDataWorkflow.lastExecutionDate" },
235
377
  { path: "scheduledDataWorkflow.nextExecutionDate" }
236
378
  ]
379
+ },
380
+ {
381
+ transformFn: transformRESTFloatToSDKFloat,
382
+ paths: [
383
+ {
384
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.groupIds.expression.numeric"
385
+ },
386
+ {
387
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.avg.expression.numeric"
388
+ },
389
+ {
390
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.min.expression.numeric"
391
+ },
392
+ {
393
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.max.expression.numeric"
394
+ },
395
+ {
396
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.sum.expression.numeric"
397
+ },
398
+ {
399
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.first.expression.numeric"
400
+ },
401
+ {
402
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.last.expression.numeric"
403
+ },
404
+ {
405
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.push.expression.numeric"
406
+ },
407
+ {
408
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.projection.fields.reshape.expression.numeric"
409
+ },
410
+ {
411
+ path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.addFields.fields.expression.numeric"
412
+ }
413
+ ]
237
414
  }
238
415
  ])
239
416
  };
@@ -264,6 +441,41 @@ function listScheduledDataWorkflows(payload) {
264
441
  { path: "scheduledDataWorkflows.lastExecutionDate" },
265
442
  { path: "scheduledDataWorkflows.nextExecutionDate" }
266
443
  ]
444
+ },
445
+ {
446
+ transformFn: transformRESTFloatToSDKFloat,
447
+ paths: [
448
+ {
449
+ path: "scheduledDataWorkflows.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.groupIds.expression.numeric"
450
+ },
451
+ {
452
+ path: "scheduledDataWorkflows.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.avg.expression.numeric"
453
+ },
454
+ {
455
+ path: "scheduledDataWorkflows.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.min.expression.numeric"
456
+ },
457
+ {
458
+ path: "scheduledDataWorkflows.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.max.expression.numeric"
459
+ },
460
+ {
461
+ path: "scheduledDataWorkflows.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.sum.expression.numeric"
462
+ },
463
+ {
464
+ path: "scheduledDataWorkflows.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.first.expression.numeric"
465
+ },
466
+ {
467
+ path: "scheduledDataWorkflows.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.last.expression.numeric"
468
+ },
469
+ {
470
+ path: "scheduledDataWorkflows.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.push.expression.numeric"
471
+ },
472
+ {
473
+ path: "scheduledDataWorkflows.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.projection.fields.reshape.expression.numeric"
474
+ },
475
+ {
476
+ path: "scheduledDataWorkflows.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.addFields.fields.expression.numeric"
477
+ }
478
+ ]
267
479
  }
268
480
  ])
269
481
  };
@@ -278,6 +490,11 @@ var WixDataEnvironment = /* @__PURE__ */ ((WixDataEnvironment2) => {
278
490
  WixDataEnvironment2["SANDBOX"] = "SANDBOX";
279
491
  return WixDataEnvironment2;
280
492
  })(WixDataEnvironment || {});
493
+ var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
494
+ SortOrder2["ASC"] = "ASC";
495
+ SortOrder2["DESC"] = "DESC";
496
+ return SortOrder2;
497
+ })(SortOrder || {});
281
498
  var FileFormat = /* @__PURE__ */ ((FileFormat2) => {
282
499
  FileFormat2["UNKNOWN"] = "UNKNOWN";
283
500
  FileFormat2["CSV"] = "CSV";
@@ -539,6 +756,7 @@ export {
539
756
  Fields,
540
757
  FileFormat,
541
758
  MediaType,
759
+ SortOrder,
542
760
  WebhookIdentityType,
543
761
  WixDataDestinationWritePolicy,
544
762
  WixDataEnvironment,