@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.
- package/build/cjs/index.d.ts +1 -1
- package/build/cjs/index.js +325 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +697 -8
- package/build/cjs/index.typings.js +219 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +696 -7
- package/build/cjs/meta.js +219 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.d.ts +1278 -12
- package/build/cjs/schemas.js +6180 -707
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +324 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +697 -8
- package/build/es/index.typings.mjs +218 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +696 -7
- package/build/es/meta.mjs +218 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.d.mts +1278 -12
- package/build/es/schemas.mjs +6180 -707
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +325 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +697 -8
- package/build/internal/cjs/index.typings.js +219 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +696 -7
- package/build/internal/cjs/meta.js +219 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.d.ts +1278 -12
- package/build/internal/cjs/schemas.js +6180 -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 +324 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +697 -8
- package/build/internal/es/index.typings.mjs +218 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +696 -7
- package/build/internal/es/meta.mjs +218 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.d.mts +1278 -12
- package/build/internal/es/schemas.mjs +6180 -707
- package/build/internal/es/schemas.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/meta.js
CHANGED
|
@@ -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.aggregationPipeline.stages.group.groupIds.expression.numeric"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.avg.expression.numeric"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.min.expression.numeric"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.max.expression.numeric"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.sum.expression.numeric"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.first.expression.numeric"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.last.expression.numeric"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.push.expression.numeric"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.projection.fields.reshape.expression.numeric"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.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.aggregationPipeline.stages.group.groupIds.expression.numeric"
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.avg.expression.numeric"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.min.expression.numeric"
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.max.expression.numeric"
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.sum.expression.numeric"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.first.expression.numeric"
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.last.expression.numeric"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.push.expression.numeric"
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.projection.fields.reshape.expression.numeric"
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.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.aggregationPipeline.stages.group.groupIds.expression.numeric"
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.avg.expression.numeric"
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.min.expression.numeric"
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.max.expression.numeric"
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.sum.expression.numeric"
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.first.expression.numeric"
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.last.expression.numeric"
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.push.expression.numeric"
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.projection.fields.reshape.expression.numeric"
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.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.aggregationPipeline.stages.group.groupIds.expression.numeric"
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.avg.expression.numeric"
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.min.expression.numeric"
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.max.expression.numeric"
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.sum.expression.numeric"
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.first.expression.numeric"
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.last.expression.numeric"
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.push.expression.numeric"
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.projection.fields.reshape.expression.numeric"
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.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.aggregationPipeline.stages.group.groupIds.expression.numeric"
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.avg.expression.numeric"
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.min.expression.numeric"
|
|
426
|
+
},
|
|
427
|
+
{
|
|
428
|
+
path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.max.expression.numeric"
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.sum.expression.numeric"
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.first.expression.numeric"
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.last.expression.numeric"
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.push.expression.numeric"
|
|
441
|
+
},
|
|
442
|
+
{
|
|
443
|
+
path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.projection.fields.reshape.expression.numeric"
|
|
444
|
+
},
|
|
445
|
+
{
|
|
446
|
+
path: "scheduledDataWorkflow.workflow.steps.source.wixDataCollection.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.aggregationPipeline.stages.group.groupIds.expression.numeric"
|
|
485
|
+
},
|
|
486
|
+
{
|
|
487
|
+
path: "scheduledDataWorkflows.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.avg.expression.numeric"
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
path: "scheduledDataWorkflows.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.min.expression.numeric"
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
path: "scheduledDataWorkflows.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.max.expression.numeric"
|
|
494
|
+
},
|
|
495
|
+
{
|
|
496
|
+
path: "scheduledDataWorkflows.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.sum.expression.numeric"
|
|
497
|
+
},
|
|
498
|
+
{
|
|
499
|
+
path: "scheduledDataWorkflows.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.first.expression.numeric"
|
|
500
|
+
},
|
|
501
|
+
{
|
|
502
|
+
path: "scheduledDataWorkflows.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.last.expression.numeric"
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
path: "scheduledDataWorkflows.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.group.accumulators.push.expression.numeric"
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
path: "scheduledDataWorkflows.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.projection.fields.reshape.expression.numeric"
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
path: "scheduledDataWorkflows.workflow.steps.source.wixDataCollection.aggregationPipeline.stages.addFields.fields.expression.numeric"
|
|
512
|
+
}
|
|
513
|
+
]
|
|
301
514
|
}
|
|
302
515
|
])
|
|
303
516
|
};
|
|
@@ -312,6 +525,11 @@ var WixDataEnvironment = /* @__PURE__ */ ((WixDataEnvironment2) => {
|
|
|
312
525
|
WixDataEnvironment2["SANDBOX"] = "SANDBOX";
|
|
313
526
|
return WixDataEnvironment2;
|
|
314
527
|
})(WixDataEnvironment || {});
|
|
528
|
+
var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
529
|
+
SortOrder2["ASC"] = "ASC";
|
|
530
|
+
SortOrder2["DESC"] = "DESC";
|
|
531
|
+
return SortOrder2;
|
|
532
|
+
})(SortOrder || {});
|
|
315
533
|
var FileFormat = /* @__PURE__ */ ((FileFormat2) => {
|
|
316
534
|
FileFormat2["UNKNOWN"] = "UNKNOWN";
|
|
317
535
|
FileFormat2["CSV"] = "CSV";
|
|
@@ -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,
|