@wix/auto_sdk_data_scheduled-workflows 1.0.0

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 (52) hide show
  1. package/build/cjs/index.d.ts +98 -0
  2. package/build/cjs/index.js +723 -0
  3. package/build/cjs/index.js.map +1 -0
  4. package/build/cjs/index.typings.d.ts +1035 -0
  5. package/build/cjs/index.typings.js +594 -0
  6. package/build/cjs/index.typings.js.map +1 -0
  7. package/build/cjs/meta.d.ts +839 -0
  8. package/build/cjs/meta.js +531 -0
  9. package/build/cjs/meta.js.map +1 -0
  10. package/build/cjs/schemas.d.ts +595 -0
  11. package/build/cjs/schemas.js +1090 -0
  12. package/build/cjs/schemas.js.map +1 -0
  13. package/build/es/index.d.mts +98 -0
  14. package/build/es/index.mjs +681 -0
  15. package/build/es/index.mjs.map +1 -0
  16. package/build/es/index.typings.d.mts +1035 -0
  17. package/build/es/index.typings.mjs +555 -0
  18. package/build/es/index.typings.mjs.map +1 -0
  19. package/build/es/meta.d.mts +839 -0
  20. package/build/es/meta.mjs +489 -0
  21. package/build/es/meta.mjs.map +1 -0
  22. package/build/es/package.json +3 -0
  23. package/build/es/schemas.d.mts +595 -0
  24. package/build/es/schemas.mjs +1040 -0
  25. package/build/es/schemas.mjs.map +1 -0
  26. package/build/internal/cjs/index.d.ts +98 -0
  27. package/build/internal/cjs/index.js +723 -0
  28. package/build/internal/cjs/index.js.map +1 -0
  29. package/build/internal/cjs/index.typings.d.ts +1046 -0
  30. package/build/internal/cjs/index.typings.js +594 -0
  31. package/build/internal/cjs/index.typings.js.map +1 -0
  32. package/build/internal/cjs/meta.d.ts +839 -0
  33. package/build/internal/cjs/meta.js +531 -0
  34. package/build/internal/cjs/meta.js.map +1 -0
  35. package/build/internal/cjs/schemas.d.ts +595 -0
  36. package/build/internal/cjs/schemas.js +1090 -0
  37. package/build/internal/cjs/schemas.js.map +1 -0
  38. package/build/internal/es/index.d.mts +98 -0
  39. package/build/internal/es/index.mjs +681 -0
  40. package/build/internal/es/index.mjs.map +1 -0
  41. package/build/internal/es/index.typings.d.mts +1046 -0
  42. package/build/internal/es/index.typings.mjs +555 -0
  43. package/build/internal/es/index.typings.mjs.map +1 -0
  44. package/build/internal/es/meta.d.mts +839 -0
  45. package/build/internal/es/meta.mjs +489 -0
  46. package/build/internal/es/meta.mjs.map +1 -0
  47. package/build/internal/es/schemas.d.mts +595 -0
  48. package/build/internal/es/schemas.mjs +1040 -0
  49. package/build/internal/es/schemas.mjs.map +1 -0
  50. package/meta/package.json +3 -0
  51. package/package.json +61 -0
  52. package/schemas/package.json +3 -0
@@ -0,0 +1,531 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // meta.ts
21
+ var meta_exports = {};
22
+ __export(meta_exports, {
23
+ FieldTypeOriginal: () => FieldType,
24
+ FieldsOriginal: () => Fields,
25
+ FileFormatOriginal: () => FileFormat,
26
+ MediaTypeOriginal: () => MediaType,
27
+ WebhookIdentityTypeOriginal: () => WebhookIdentityType,
28
+ WixDataDestinationWritePolicyOriginal: () => WixDataDestinationWritePolicy,
29
+ WixDataEnvironmentOriginal: () => WixDataEnvironment,
30
+ WixMediaDestinationWritePolicyOriginal: () => WixMediaDestinationWritePolicy,
31
+ WritePolicyOriginal: () => WritePolicy,
32
+ createScheduledDataWorkflow: () => createScheduledDataWorkflow2,
33
+ deleteScheduledDataWorkflow: () => deleteScheduledDataWorkflow2,
34
+ getScheduledDataWorkflow: () => getScheduledDataWorkflow2,
35
+ listScheduledDataWorkflows: () => listScheduledDataWorkflows2,
36
+ rescheduleScheduledDataWorkflow: () => rescheduleScheduledDataWorkflow2,
37
+ triggerScheduledDataWorkflowNow: () => triggerScheduledDataWorkflowNow2,
38
+ updateScheduledDataWorkflow: () => updateScheduledDataWorkflow2
39
+ });
40
+ module.exports = __toCommonJS(meta_exports);
41
+
42
+ // src/data-sync-v1-jobs-scheduled-workflows.http.ts
43
+ var import_rest_modules = require("@wix/sdk-runtime/rest-modules");
44
+ var import_timestamp = require("@wix/sdk-runtime/transformations/timestamp");
45
+ var import_timestamp2 = require("@wix/sdk-runtime/transformations/timestamp");
46
+ var import_field_mask = require("@wix/sdk-runtime/transformations/field-mask");
47
+ var import_transform_paths = require("@wix/sdk-runtime/transformations/transform-paths");
48
+ var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
49
+ function resolveWixHubV1DataMovementSchedulerServiceUrl(opts) {
50
+ const domainToMappings = {
51
+ "editor._base_domain_": [
52
+ {
53
+ srcPath: "/_api/wix-data-hub-scheduler",
54
+ destPath: ""
55
+ }
56
+ ],
57
+ "blocks._base_domain_": [
58
+ {
59
+ srcPath: "/_api/wix-data-hub-scheduler",
60
+ destPath: ""
61
+ }
62
+ ],
63
+ "create.editorx": [
64
+ {
65
+ srcPath: "/_api/wix-data-hub-scheduler",
66
+ destPath: ""
67
+ }
68
+ ],
69
+ _: [
70
+ {
71
+ srcPath: "/_api/wix-data-hub-scheduler",
72
+ destPath: ""
73
+ }
74
+ ],
75
+ "manage._base_domain_": [
76
+ {
77
+ srcPath: "/_api/wix-data-hub-scheduler",
78
+ destPath: ""
79
+ }
80
+ ],
81
+ "www.wixapis.com": [
82
+ {
83
+ srcPath: "/data-move-scheduler",
84
+ destPath: ""
85
+ }
86
+ ],
87
+ "*.dev.wix-code.com": [
88
+ {
89
+ srcPath: "/_api/wix-data-hub-scheduler",
90
+ destPath: ""
91
+ }
92
+ ]
93
+ };
94
+ return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
95
+ }
96
+ var PACKAGE_NAME = "@wix/auto_sdk_data_scheduled-workflows";
97
+ function createScheduledDataWorkflow(payload) {
98
+ function __createScheduledDataWorkflow({ host }) {
99
+ const serializedData = (0, import_transform_paths.transformPaths)(payload, [
100
+ {
101
+ transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
102
+ paths: [
103
+ { path: "scheduledDataWorkflow.lastExecutionDate" },
104
+ { path: "scheduledDataWorkflow.nextExecutionDate" }
105
+ ]
106
+ }
107
+ ]);
108
+ const metadata = {
109
+ entityFqdn: "wix.data.sync.v1.jobs",
110
+ method: "POST",
111
+ methodFqn: "wix.hub.v1.DataMovementSchedulerService.CreateScheduledDataWorkflow",
112
+ packageName: PACKAGE_NAME,
113
+ migrationOptions: {
114
+ optInTransformResponse: true
115
+ },
116
+ url: resolveWixHubV1DataMovementSchedulerServiceUrl({
117
+ protoPath: "/v1/scheduled-data-workflows",
118
+ data: serializedData,
119
+ host
120
+ }),
121
+ data: serializedData,
122
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
123
+ {
124
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
125
+ paths: [
126
+ { path: "scheduledDataWorkflow.lastExecutionDate" },
127
+ { path: "scheduledDataWorkflow.nextExecutionDate" }
128
+ ]
129
+ }
130
+ ])
131
+ };
132
+ return metadata;
133
+ }
134
+ return __createScheduledDataWorkflow;
135
+ }
136
+ function rescheduleScheduledDataWorkflow(payload) {
137
+ function __rescheduleScheduledDataWorkflow({ host }) {
138
+ const metadata = {
139
+ entityFqdn: "wix.data.sync.v1.jobs",
140
+ method: "POST",
141
+ methodFqn: "wix.hub.v1.DataMovementSchedulerService.RescheduleScheduledDataWorkflow",
142
+ packageName: PACKAGE_NAME,
143
+ migrationOptions: {
144
+ optInTransformResponse: true
145
+ },
146
+ url: resolveWixHubV1DataMovementSchedulerServiceUrl({
147
+ protoPath: "/v1/scheduled-data-workflows/{scheduledDataWorkflowId}/reschedule",
148
+ data: payload,
149
+ host
150
+ }),
151
+ data: payload,
152
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
153
+ {
154
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
155
+ paths: [{ path: "nextExecutionDate" }]
156
+ }
157
+ ])
158
+ };
159
+ return metadata;
160
+ }
161
+ return __rescheduleScheduledDataWorkflow;
162
+ }
163
+ function triggerScheduledDataWorkflowNow(payload) {
164
+ function __triggerScheduledDataWorkflowNow({ host }) {
165
+ const metadata = {
166
+ entityFqdn: "wix.data.sync.v1.jobs",
167
+ method: "POST",
168
+ methodFqn: "wix.hub.v1.DataMovementSchedulerService.TriggerScheduledDataWorkflowNow",
169
+ packageName: PACKAGE_NAME,
170
+ migrationOptions: {
171
+ optInTransformResponse: true
172
+ },
173
+ url: resolveWixHubV1DataMovementSchedulerServiceUrl({
174
+ protoPath: "/v1/scheduled-data-workflows/{scheduledDataWorkflowId}/run-now",
175
+ data: payload,
176
+ host
177
+ }),
178
+ data: payload
179
+ };
180
+ return metadata;
181
+ }
182
+ return __triggerScheduledDataWorkflowNow;
183
+ }
184
+ function updateScheduledDataWorkflow(payload) {
185
+ function __updateScheduledDataWorkflow({ host }) {
186
+ const serializedData = (0, import_transform_paths.transformPaths)(payload, [
187
+ {
188
+ transformFn: import_field_mask.transformSDKFieldMaskToRESTFieldMask,
189
+ paths: [{ path: "mask" }]
190
+ },
191
+ {
192
+ transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
193
+ paths: [
194
+ { path: "scheduledDataWorkflow.lastExecutionDate" },
195
+ { path: "scheduledDataWorkflow.nextExecutionDate" }
196
+ ]
197
+ }
198
+ ]);
199
+ const metadata = {
200
+ entityFqdn: "wix.data.sync.v1.jobs",
201
+ method: "PATCH",
202
+ methodFqn: "wix.hub.v1.DataMovementSchedulerService.UpdateScheduledDataWorkflow",
203
+ packageName: PACKAGE_NAME,
204
+ migrationOptions: {
205
+ optInTransformResponse: true
206
+ },
207
+ url: resolveWixHubV1DataMovementSchedulerServiceUrl({
208
+ protoPath: "/v1/scheduled-data-workflows",
209
+ data: serializedData,
210
+ host
211
+ }),
212
+ data: serializedData,
213
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
214
+ {
215
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
216
+ paths: [
217
+ { path: "scheduledDataWorkflow.lastExecutionDate" },
218
+ { path: "scheduledDataWorkflow.nextExecutionDate" }
219
+ ]
220
+ }
221
+ ])
222
+ };
223
+ return metadata;
224
+ }
225
+ return __updateScheduledDataWorkflow;
226
+ }
227
+ function deleteScheduledDataWorkflow(payload) {
228
+ function __deleteScheduledDataWorkflow({ host }) {
229
+ const metadata = {
230
+ entityFqdn: "wix.data.sync.v1.jobs",
231
+ method: "DELETE",
232
+ methodFqn: "wix.hub.v1.DataMovementSchedulerService.DeleteScheduledDataWorkflow",
233
+ packageName: PACKAGE_NAME,
234
+ migrationOptions: {
235
+ optInTransformResponse: true
236
+ },
237
+ url: resolveWixHubV1DataMovementSchedulerServiceUrl({
238
+ protoPath: "/v1/scheduled-data-workflows/{scheduledDataWorkflowId}",
239
+ data: payload,
240
+ host
241
+ }),
242
+ params: (0, import_rest_modules.toURLSearchParams)(payload)
243
+ };
244
+ return metadata;
245
+ }
246
+ return __deleteScheduledDataWorkflow;
247
+ }
248
+ function getScheduledDataWorkflow(payload) {
249
+ function __getScheduledDataWorkflow({ host }) {
250
+ const metadata = {
251
+ entityFqdn: "wix.data.sync.v1.jobs",
252
+ method: "GET",
253
+ methodFqn: "wix.hub.v1.DataMovementSchedulerService.GetScheduledDataWorkflow",
254
+ packageName: PACKAGE_NAME,
255
+ migrationOptions: {
256
+ optInTransformResponse: true
257
+ },
258
+ url: resolveWixHubV1DataMovementSchedulerServiceUrl({
259
+ protoPath: "/v1/scheduled-data-workflows/{scheduledDataWorkflowId}",
260
+ data: payload,
261
+ host
262
+ }),
263
+ params: (0, import_rest_modules.toURLSearchParams)(payload),
264
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
265
+ {
266
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
267
+ paths: [
268
+ { path: "scheduledDataWorkflow.lastExecutionDate" },
269
+ { path: "scheduledDataWorkflow.nextExecutionDate" }
270
+ ]
271
+ }
272
+ ])
273
+ };
274
+ return metadata;
275
+ }
276
+ return __getScheduledDataWorkflow;
277
+ }
278
+ function listScheduledDataWorkflows(payload) {
279
+ function __listScheduledDataWorkflows({ host }) {
280
+ const metadata = {
281
+ entityFqdn: "wix.data.sync.v1.jobs",
282
+ method: "GET",
283
+ methodFqn: "wix.hub.v1.DataMovementSchedulerService.ListScheduledDataWorkflows",
284
+ packageName: PACKAGE_NAME,
285
+ migrationOptions: {
286
+ optInTransformResponse: true
287
+ },
288
+ url: resolveWixHubV1DataMovementSchedulerServiceUrl({
289
+ protoPath: "/v1/scheduled-data-workflows",
290
+ data: payload,
291
+ host
292
+ }),
293
+ params: (0, import_rest_modules.toURLSearchParams)(payload, true),
294
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
295
+ {
296
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
297
+ paths: [
298
+ { path: "scheduledDataWorkflows.lastExecutionDate" },
299
+ { path: "scheduledDataWorkflows.nextExecutionDate" }
300
+ ]
301
+ }
302
+ ])
303
+ };
304
+ return metadata;
305
+ }
306
+ return __listScheduledDataWorkflows;
307
+ }
308
+
309
+ // src/data-sync-v1-jobs-scheduled-workflows.types.ts
310
+ var WixDataEnvironment = /* @__PURE__ */ ((WixDataEnvironment2) => {
311
+ WixDataEnvironment2["LIVE"] = "LIVE";
312
+ WixDataEnvironment2["SANDBOX"] = "SANDBOX";
313
+ return WixDataEnvironment2;
314
+ })(WixDataEnvironment || {});
315
+ var FileFormat = /* @__PURE__ */ ((FileFormat2) => {
316
+ FileFormat2["UNKNOWN"] = "UNKNOWN";
317
+ FileFormat2["CSV"] = "CSV";
318
+ FileFormat2["JSONL"] = "JSONL";
319
+ return FileFormat2;
320
+ })(FileFormat || {});
321
+ var MediaType = /* @__PURE__ */ ((MediaType2) => {
322
+ MediaType2["ALL"] = "ALL";
323
+ MediaType2["IMAGE"] = "IMAGE";
324
+ MediaType2["VIDEO"] = "VIDEO";
325
+ MediaType2["AUDIO"] = "AUDIO";
326
+ MediaType2["DOCUMENT"] = "DOCUMENT";
327
+ return MediaType2;
328
+ })(MediaType || {});
329
+ var WixDataDestinationWritePolicy = /* @__PURE__ */ ((WixDataDestinationWritePolicy2) => {
330
+ WixDataDestinationWritePolicy2["OVERWRITE"] = "OVERWRITE";
331
+ WixDataDestinationWritePolicy2["SKIP_EXISTING"] = "SKIP_EXISTING";
332
+ WixDataDestinationWritePolicy2["TRUNCATE_BEFORE"] = "TRUNCATE_BEFORE";
333
+ return WixDataDestinationWritePolicy2;
334
+ })(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
+ var WixMediaDestinationWritePolicy = /* @__PURE__ */ ((WixMediaDestinationWritePolicy2) => {
355
+ WixMediaDestinationWritePolicy2["OVERWRITE"] = "OVERWRITE";
356
+ WixMediaDestinationWritePolicy2["SKIP_EXISTING"] = "SKIP_EXISTING";
357
+ return WixMediaDestinationWritePolicy2;
358
+ })(WixMediaDestinationWritePolicy || {});
359
+ var WritePolicy = /* @__PURE__ */ ((WritePolicy2) => {
360
+ WritePolicy2["SKIP_EXISTING"] = "SKIP_EXISTING";
361
+ WritePolicy2["OVERWRITE"] = "OVERWRITE";
362
+ return WritePolicy2;
363
+ })(WritePolicy || {});
364
+ var Fields = /* @__PURE__ */ ((Fields2) => {
365
+ Fields2["NEXT_SCHEDULE_EXECUTION"] = "NEXT_SCHEDULE_EXECUTION";
366
+ return Fields2;
367
+ })(Fields || {});
368
+ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
369
+ WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
370
+ WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
371
+ WebhookIdentityType2["MEMBER"] = "MEMBER";
372
+ WebhookIdentityType2["WIX_USER"] = "WIX_USER";
373
+ WebhookIdentityType2["APP"] = "APP";
374
+ return WebhookIdentityType2;
375
+ })(WebhookIdentityType || {});
376
+
377
+ // src/data-sync-v1-jobs-scheduled-workflows.meta.ts
378
+ function createScheduledDataWorkflow2() {
379
+ const payload = {};
380
+ const getRequestOptions = createScheduledDataWorkflow(payload);
381
+ const getUrl = (context) => {
382
+ const { url } = getRequestOptions(context);
383
+ return url;
384
+ };
385
+ return {
386
+ getUrl,
387
+ httpMethod: "POST",
388
+ path: "/v1/scheduled-data-workflows",
389
+ pathParams: {},
390
+ __requestType: null,
391
+ __originalRequestType: null,
392
+ __responseType: null,
393
+ __originalResponseType: null
394
+ };
395
+ }
396
+ function rescheduleScheduledDataWorkflow2() {
397
+ const payload = {
398
+ scheduledDataWorkflowId: ":scheduledDataWorkflowId"
399
+ };
400
+ const getRequestOptions = rescheduleScheduledDataWorkflow(payload);
401
+ const getUrl = (context) => {
402
+ const { url } = getRequestOptions(context);
403
+ return url;
404
+ };
405
+ return {
406
+ getUrl,
407
+ httpMethod: "POST",
408
+ path: "/v1/scheduled-data-workflows/{scheduledDataWorkflowId}/reschedule",
409
+ pathParams: { scheduledDataWorkflowId: "scheduledDataWorkflowId" },
410
+ __requestType: null,
411
+ __originalRequestType: null,
412
+ __responseType: null,
413
+ __originalResponseType: null
414
+ };
415
+ }
416
+ function triggerScheduledDataWorkflowNow2() {
417
+ const payload = {
418
+ scheduledDataWorkflowId: ":scheduledDataWorkflowId"
419
+ };
420
+ const getRequestOptions = triggerScheduledDataWorkflowNow(payload);
421
+ const getUrl = (context) => {
422
+ const { url } = getRequestOptions(context);
423
+ return url;
424
+ };
425
+ return {
426
+ getUrl,
427
+ httpMethod: "POST",
428
+ path: "/v1/scheduled-data-workflows/{scheduledDataWorkflowId}/run-now",
429
+ pathParams: { scheduledDataWorkflowId: "scheduledDataWorkflowId" },
430
+ __requestType: null,
431
+ __originalRequestType: null,
432
+ __responseType: null,
433
+ __originalResponseType: null
434
+ };
435
+ }
436
+ function updateScheduledDataWorkflow2() {
437
+ const payload = {};
438
+ const getRequestOptions = updateScheduledDataWorkflow(payload);
439
+ const getUrl = (context) => {
440
+ const { url } = getRequestOptions(context);
441
+ return url;
442
+ };
443
+ return {
444
+ getUrl,
445
+ httpMethod: "PATCH",
446
+ path: "/v1/scheduled-data-workflows",
447
+ pathParams: {},
448
+ __requestType: null,
449
+ __originalRequestType: null,
450
+ __responseType: null,
451
+ __originalResponseType: null
452
+ };
453
+ }
454
+ function deleteScheduledDataWorkflow2() {
455
+ const payload = {
456
+ scheduledDataWorkflowId: ":scheduledDataWorkflowId"
457
+ };
458
+ const getRequestOptions = deleteScheduledDataWorkflow(payload);
459
+ const getUrl = (context) => {
460
+ const { url } = getRequestOptions(context);
461
+ return url;
462
+ };
463
+ return {
464
+ getUrl,
465
+ httpMethod: "DELETE",
466
+ path: "/v1/scheduled-data-workflows/{scheduledDataWorkflowId}",
467
+ pathParams: { scheduledDataWorkflowId: "scheduledDataWorkflowId" },
468
+ __requestType: null,
469
+ __originalRequestType: null,
470
+ __responseType: null,
471
+ __originalResponseType: null
472
+ };
473
+ }
474
+ function getScheduledDataWorkflow2() {
475
+ const payload = {
476
+ scheduledDataWorkflowId: ":scheduledDataWorkflowId"
477
+ };
478
+ const getRequestOptions = getScheduledDataWorkflow(payload);
479
+ const getUrl = (context) => {
480
+ const { url } = getRequestOptions(context);
481
+ return url;
482
+ };
483
+ return {
484
+ getUrl,
485
+ httpMethod: "GET",
486
+ path: "/v1/scheduled-data-workflows/{scheduledDataWorkflowId}",
487
+ pathParams: { scheduledDataWorkflowId: "scheduledDataWorkflowId" },
488
+ __requestType: null,
489
+ __originalRequestType: null,
490
+ __responseType: null,
491
+ __originalResponseType: null
492
+ };
493
+ }
494
+ function listScheduledDataWorkflows2() {
495
+ const payload = {};
496
+ const getRequestOptions = listScheduledDataWorkflows(payload);
497
+ const getUrl = (context) => {
498
+ const { url } = getRequestOptions(context);
499
+ return url;
500
+ };
501
+ return {
502
+ getUrl,
503
+ httpMethod: "GET",
504
+ path: "/v1/scheduled-data-workflows",
505
+ pathParams: {},
506
+ __requestType: null,
507
+ __originalRequestType: null,
508
+ __responseType: null,
509
+ __originalResponseType: null
510
+ };
511
+ }
512
+ // Annotate the CommonJS export names for ESM import in node:
513
+ 0 && (module.exports = {
514
+ FieldTypeOriginal,
515
+ FieldsOriginal,
516
+ FileFormatOriginal,
517
+ MediaTypeOriginal,
518
+ WebhookIdentityTypeOriginal,
519
+ WixDataDestinationWritePolicyOriginal,
520
+ WixDataEnvironmentOriginal,
521
+ WixMediaDestinationWritePolicyOriginal,
522
+ WritePolicyOriginal,
523
+ createScheduledDataWorkflow,
524
+ deleteScheduledDataWorkflow,
525
+ getScheduledDataWorkflow,
526
+ listScheduledDataWorkflows,
527
+ rescheduleScheduledDataWorkflow,
528
+ triggerScheduledDataWorkflowNow,
529
+ updateScheduledDataWorkflow
530
+ });
531
+ //# sourceMappingURL=meta.js.map