@wix/auto_sdk_automations_automations-v-2 1.0.44 → 1.0.46
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.js +57 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.js +57 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +1077 -1
- package/build/cjs/meta.js +295 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +57 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.mjs +57 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +1077 -1
- package/build/es/meta.mjs +272 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js +57 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.js +57 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +1077 -1
- package/build/internal/cjs/meta.js +295 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs +57 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.mjs +57 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +1077 -1
- package/build/internal/es/meta.mjs +272 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +3 -3
|
@@ -110,6 +110,9 @@ function createAutomation(payload) {
|
|
|
110
110
|
method: "POST",
|
|
111
111
|
methodFqn: "wix.automations.v2.AutomationsService.CreateAutomation",
|
|
112
112
|
packageName: PACKAGE_NAME,
|
|
113
|
+
migrationOptions: {
|
|
114
|
+
optInTransformResponse: true
|
|
115
|
+
},
|
|
113
116
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
114
117
|
protoPath: "/v2/automations",
|
|
115
118
|
data: serializedData,
|
|
@@ -139,6 +142,9 @@ function getAutomation(payload) {
|
|
|
139
142
|
method: "GET",
|
|
140
143
|
methodFqn: "wix.automations.v2.AutomationsService.GetAutomation",
|
|
141
144
|
packageName: PACKAGE_NAME,
|
|
145
|
+
migrationOptions: {
|
|
146
|
+
optInTransformResponse: true
|
|
147
|
+
},
|
|
142
148
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
143
149
|
protoPath: "/v2/automations/{automationId}",
|
|
144
150
|
data: payload,
|
|
@@ -183,6 +189,9 @@ function updateAutomation(payload) {
|
|
|
183
189
|
method: "PATCH",
|
|
184
190
|
methodFqn: "wix.automations.v2.AutomationsService.UpdateAutomation",
|
|
185
191
|
packageName: PACKAGE_NAME,
|
|
192
|
+
migrationOptions: {
|
|
193
|
+
optInTransformResponse: true
|
|
194
|
+
},
|
|
186
195
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
187
196
|
protoPath: "/v2/automations/{automation.id}",
|
|
188
197
|
data: serializedData,
|
|
@@ -212,6 +221,9 @@ function deleteAutomation(payload) {
|
|
|
212
221
|
method: "DELETE",
|
|
213
222
|
methodFqn: "wix.automations.v2.AutomationsService.DeleteAutomation",
|
|
214
223
|
packageName: PACKAGE_NAME,
|
|
224
|
+
migrationOptions: {
|
|
225
|
+
optInTransformResponse: true
|
|
226
|
+
},
|
|
215
227
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
216
228
|
protoPath: "/v2/automations/{automationId}",
|
|
217
229
|
data: payload,
|
|
@@ -230,6 +242,9 @@ function bulkDeleteAutomations(payload) {
|
|
|
230
242
|
method: "POST",
|
|
231
243
|
methodFqn: "wix.automations.v2.AutomationsService.BulkDeleteAutomations",
|
|
232
244
|
packageName: PACKAGE_NAME,
|
|
245
|
+
migrationOptions: {
|
|
246
|
+
optInTransformResponse: true
|
|
247
|
+
},
|
|
233
248
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
234
249
|
protoPath: "/v2/bulk/automations/delete",
|
|
235
250
|
data: payload,
|
|
@@ -259,6 +274,9 @@ function generatePreinstalledAutomation(payload) {
|
|
|
259
274
|
method: "POST",
|
|
260
275
|
methodFqn: "wix.automations.v2.AutomationsService.GeneratePreinstalledAutomation",
|
|
261
276
|
packageName: PACKAGE_NAME,
|
|
277
|
+
migrationOptions: {
|
|
278
|
+
optInTransformResponse: true
|
|
279
|
+
},
|
|
262
280
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
263
281
|
protoPath: "/v2/preinstalled-automation/generate",
|
|
264
282
|
data: serializedData,
|
|
@@ -288,6 +306,9 @@ function queryAutomations(payload) {
|
|
|
288
306
|
method: "POST",
|
|
289
307
|
methodFqn: "wix.automations.v2.AutomationsService.QueryAutomations",
|
|
290
308
|
packageName: PACKAGE_NAME,
|
|
309
|
+
migrationOptions: {
|
|
310
|
+
optInTransformResponse: true
|
|
311
|
+
},
|
|
291
312
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
292
313
|
protoPath: "/v2/automations/query",
|
|
293
314
|
data: payload,
|
|
@@ -317,6 +338,9 @@ function getAggregatedUsageInfo(payload) {
|
|
|
317
338
|
method: "GET",
|
|
318
339
|
methodFqn: "wix.automations.v2.AutomationsService.GetAggregatedUsageInfo",
|
|
319
340
|
packageName: PACKAGE_NAME,
|
|
341
|
+
migrationOptions: {
|
|
342
|
+
optInTransformResponse: true
|
|
343
|
+
},
|
|
320
344
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
321
345
|
protoPath: "/v2/automations/usage",
|
|
322
346
|
data: payload,
|
|
@@ -346,6 +370,9 @@ function copyAutomation(payload) {
|
|
|
346
370
|
method: "POST",
|
|
347
371
|
methodFqn: "wix.automations.v2.AutomationsService.CopyAutomation",
|
|
348
372
|
packageName: PACKAGE_NAME,
|
|
373
|
+
migrationOptions: {
|
|
374
|
+
optInTransformResponse: true
|
|
375
|
+
},
|
|
349
376
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
350
377
|
protoPath: "/v2/automations/{automationId}/copy",
|
|
351
378
|
data: serializedData,
|
|
@@ -386,6 +413,9 @@ function createDraftAutomation(payload) {
|
|
|
386
413
|
method: "POST",
|
|
387
414
|
methodFqn: "wix.automations.v2.AutomationsService.CreateDraftAutomation",
|
|
388
415
|
packageName: PACKAGE_NAME,
|
|
416
|
+
migrationOptions: {
|
|
417
|
+
optInTransformResponse: true
|
|
418
|
+
},
|
|
389
419
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
390
420
|
protoPath: "/v2/automations/drafts",
|
|
391
421
|
data: serializedData,
|
|
@@ -415,6 +445,9 @@ function getOrCreateDraftAutomation(payload) {
|
|
|
415
445
|
method: "POST",
|
|
416
446
|
methodFqn: "wix.automations.v2.AutomationsService.GetOrCreateDraftAutomation",
|
|
417
447
|
packageName: PACKAGE_NAME,
|
|
448
|
+
migrationOptions: {
|
|
449
|
+
optInTransformResponse: true
|
|
450
|
+
},
|
|
418
451
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
419
452
|
protoPath: "/v2/automations/drafts/get-or-create/original-automation-id/{originalAutomationId}",
|
|
420
453
|
data: payload,
|
|
@@ -459,6 +492,9 @@ function updateDraftAutomation(payload) {
|
|
|
459
492
|
method: "PATCH",
|
|
460
493
|
methodFqn: "wix.automations.v2.AutomationsService.UpdateDraftAutomation",
|
|
461
494
|
packageName: PACKAGE_NAME,
|
|
495
|
+
migrationOptions: {
|
|
496
|
+
optInTransformResponse: true
|
|
497
|
+
},
|
|
462
498
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
463
499
|
protoPath: "/v2/automations/drafts/{automation.id}",
|
|
464
500
|
data: serializedData,
|
|
@@ -488,6 +524,9 @@ function queryAutomationsWithDrafts(payload) {
|
|
|
488
524
|
method: "POST",
|
|
489
525
|
methodFqn: "wix.automations.v2.AutomationsService.QueryAutomationsWithDrafts",
|
|
490
526
|
packageName: PACKAGE_NAME,
|
|
527
|
+
migrationOptions: {
|
|
528
|
+
optInTransformResponse: true
|
|
529
|
+
},
|
|
491
530
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
492
531
|
protoPath: "/v2/automations/query-with-drafts",
|
|
493
532
|
data: payload,
|
|
@@ -517,6 +556,9 @@ function bulkCountAutomationsWithDrafts(payload) {
|
|
|
517
556
|
method: "POST",
|
|
518
557
|
methodFqn: "wix.automations.v2.AutomationsService.BulkCountAutomationsWithDrafts",
|
|
519
558
|
packageName: PACKAGE_NAME,
|
|
559
|
+
migrationOptions: {
|
|
560
|
+
optInTransformResponse: true
|
|
561
|
+
},
|
|
520
562
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
521
563
|
protoPath: "/v2/automations/bulk-count-with-drafts",
|
|
522
564
|
data: payload,
|
|
@@ -535,6 +577,9 @@ function deleteDraftAutomation(payload) {
|
|
|
535
577
|
method: "DELETE",
|
|
536
578
|
methodFqn: "wix.automations.v2.AutomationsService.DeleteDraftAutomation",
|
|
537
579
|
packageName: PACKAGE_NAME,
|
|
580
|
+
migrationOptions: {
|
|
581
|
+
optInTransformResponse: true
|
|
582
|
+
},
|
|
538
583
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
539
584
|
protoPath: "/v2/automations/drafts/{automationId}",
|
|
540
585
|
data: payload,
|
|
@@ -553,6 +598,9 @@ function publishDraftAutomation(payload) {
|
|
|
553
598
|
method: "POST",
|
|
554
599
|
methodFqn: "wix.automations.v2.AutomationsService.PublishDraftAutomation",
|
|
555
600
|
packageName: PACKAGE_NAME,
|
|
601
|
+
migrationOptions: {
|
|
602
|
+
optInTransformResponse: true
|
|
603
|
+
},
|
|
556
604
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
557
605
|
protoPath: "/v2/automations/drafts/{automationId}/publish",
|
|
558
606
|
data: payload,
|
|
@@ -593,6 +641,9 @@ function validateAutomation(payload) {
|
|
|
593
641
|
method: "POST",
|
|
594
642
|
methodFqn: "wix.automations.v2.AutomationsService.ValidateAutomation",
|
|
595
643
|
packageName: PACKAGE_NAME,
|
|
644
|
+
migrationOptions: {
|
|
645
|
+
optInTransformResponse: true
|
|
646
|
+
},
|
|
596
647
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
597
648
|
protoPath: "/v2/automations/validate",
|
|
598
649
|
data: serializedData,
|
|
@@ -611,6 +662,9 @@ function validateAutomationById(payload) {
|
|
|
611
662
|
method: "POST",
|
|
612
663
|
methodFqn: "wix.automations.v2.AutomationsService.ValidateAutomationById",
|
|
613
664
|
packageName: PACKAGE_NAME,
|
|
665
|
+
migrationOptions: {
|
|
666
|
+
optInTransformResponse: true
|
|
667
|
+
},
|
|
614
668
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
615
669
|
protoPath: "/v2/automations/{automationId}/validate",
|
|
616
670
|
data: payload,
|
|
@@ -629,6 +683,9 @@ function getAutomationRevision(payload) {
|
|
|
629
683
|
method: "GET",
|
|
630
684
|
methodFqn: "wix.automations.v2.AutomationRevisionsService.GetAutomationRevision",
|
|
631
685
|
packageName: PACKAGE_NAME,
|
|
686
|
+
migrationOptions: {
|
|
687
|
+
optInTransformResponse: true
|
|
688
|
+
},
|
|
632
689
|
url: resolveWixAutomationsV2AutomationRevisionsServiceUrl({
|
|
633
690
|
protoPath: "/v1/automation-revisions/{automationId}",
|
|
634
691
|
data: payload,
|