@wix/auto_sdk_automations_automations-v-2 1.0.43 → 1.0.45
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.d.ts +12 -12
- package/build/cjs/index.typings.js +57 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.js +57 -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.d.mts +12 -12
- package/build/es/index.typings.mjs +57 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.mjs +57 -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.d.ts +12 -12
- package/build/internal/cjs/index.typings.js +57 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.js +57 -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.d.mts +12 -12
- package/build/internal/es/index.typings.mjs +57 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.mjs +57 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/index.js
CHANGED
|
@@ -183,6 +183,9 @@ function createAutomation(payload) {
|
|
|
183
183
|
method: "POST",
|
|
184
184
|
methodFqn: "wix.automations.v2.AutomationsService.CreateAutomation",
|
|
185
185
|
packageName: PACKAGE_NAME,
|
|
186
|
+
migrationOptions: {
|
|
187
|
+
optInTransformResponse: true
|
|
188
|
+
},
|
|
186
189
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
187
190
|
protoPath: "/v2/automations",
|
|
188
191
|
data: serializedData,
|
|
@@ -212,6 +215,9 @@ function getAutomation(payload) {
|
|
|
212
215
|
method: "GET",
|
|
213
216
|
methodFqn: "wix.automations.v2.AutomationsService.GetAutomation",
|
|
214
217
|
packageName: PACKAGE_NAME,
|
|
218
|
+
migrationOptions: {
|
|
219
|
+
optInTransformResponse: true
|
|
220
|
+
},
|
|
215
221
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
216
222
|
protoPath: "/v2/automations/{automationId}",
|
|
217
223
|
data: payload,
|
|
@@ -256,6 +262,9 @@ function updateAutomation(payload) {
|
|
|
256
262
|
method: "PATCH",
|
|
257
263
|
methodFqn: "wix.automations.v2.AutomationsService.UpdateAutomation",
|
|
258
264
|
packageName: PACKAGE_NAME,
|
|
265
|
+
migrationOptions: {
|
|
266
|
+
optInTransformResponse: true
|
|
267
|
+
},
|
|
259
268
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
260
269
|
protoPath: "/v2/automations/{automation.id}",
|
|
261
270
|
data: serializedData,
|
|
@@ -285,6 +294,9 @@ function deleteAutomation(payload) {
|
|
|
285
294
|
method: "DELETE",
|
|
286
295
|
methodFqn: "wix.automations.v2.AutomationsService.DeleteAutomation",
|
|
287
296
|
packageName: PACKAGE_NAME,
|
|
297
|
+
migrationOptions: {
|
|
298
|
+
optInTransformResponse: true
|
|
299
|
+
},
|
|
288
300
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
289
301
|
protoPath: "/v2/automations/{automationId}",
|
|
290
302
|
data: payload,
|
|
@@ -303,6 +315,9 @@ function bulkDeleteAutomations(payload) {
|
|
|
303
315
|
method: "POST",
|
|
304
316
|
methodFqn: "wix.automations.v2.AutomationsService.BulkDeleteAutomations",
|
|
305
317
|
packageName: PACKAGE_NAME,
|
|
318
|
+
migrationOptions: {
|
|
319
|
+
optInTransformResponse: true
|
|
320
|
+
},
|
|
306
321
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
307
322
|
protoPath: "/v2/bulk/automations/delete",
|
|
308
323
|
data: payload,
|
|
@@ -332,6 +347,9 @@ function generatePreinstalledAutomation(payload) {
|
|
|
332
347
|
method: "POST",
|
|
333
348
|
methodFqn: "wix.automations.v2.AutomationsService.GeneratePreinstalledAutomation",
|
|
334
349
|
packageName: PACKAGE_NAME,
|
|
350
|
+
migrationOptions: {
|
|
351
|
+
optInTransformResponse: true
|
|
352
|
+
},
|
|
335
353
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
336
354
|
protoPath: "/v2/preinstalled-automation/generate",
|
|
337
355
|
data: serializedData,
|
|
@@ -361,6 +379,9 @@ function queryAutomations(payload) {
|
|
|
361
379
|
method: "POST",
|
|
362
380
|
methodFqn: "wix.automations.v2.AutomationsService.QueryAutomations",
|
|
363
381
|
packageName: PACKAGE_NAME,
|
|
382
|
+
migrationOptions: {
|
|
383
|
+
optInTransformResponse: true
|
|
384
|
+
},
|
|
364
385
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
365
386
|
protoPath: "/v2/automations/query",
|
|
366
387
|
data: payload,
|
|
@@ -390,6 +411,9 @@ function getAggregatedUsageInfo(payload) {
|
|
|
390
411
|
method: "GET",
|
|
391
412
|
methodFqn: "wix.automations.v2.AutomationsService.GetAggregatedUsageInfo",
|
|
392
413
|
packageName: PACKAGE_NAME,
|
|
414
|
+
migrationOptions: {
|
|
415
|
+
optInTransformResponse: true
|
|
416
|
+
},
|
|
393
417
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
394
418
|
protoPath: "/v2/automations/usage",
|
|
395
419
|
data: payload,
|
|
@@ -419,6 +443,9 @@ function copyAutomation(payload) {
|
|
|
419
443
|
method: "POST",
|
|
420
444
|
methodFqn: "wix.automations.v2.AutomationsService.CopyAutomation",
|
|
421
445
|
packageName: PACKAGE_NAME,
|
|
446
|
+
migrationOptions: {
|
|
447
|
+
optInTransformResponse: true
|
|
448
|
+
},
|
|
422
449
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
423
450
|
protoPath: "/v2/automations/{automationId}/copy",
|
|
424
451
|
data: serializedData,
|
|
@@ -459,6 +486,9 @@ function createDraftAutomation(payload) {
|
|
|
459
486
|
method: "POST",
|
|
460
487
|
methodFqn: "wix.automations.v2.AutomationsService.CreateDraftAutomation",
|
|
461
488
|
packageName: PACKAGE_NAME,
|
|
489
|
+
migrationOptions: {
|
|
490
|
+
optInTransformResponse: true
|
|
491
|
+
},
|
|
462
492
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
463
493
|
protoPath: "/v2/automations/drafts",
|
|
464
494
|
data: serializedData,
|
|
@@ -488,6 +518,9 @@ function getOrCreateDraftAutomation(payload) {
|
|
|
488
518
|
method: "POST",
|
|
489
519
|
methodFqn: "wix.automations.v2.AutomationsService.GetOrCreateDraftAutomation",
|
|
490
520
|
packageName: PACKAGE_NAME,
|
|
521
|
+
migrationOptions: {
|
|
522
|
+
optInTransformResponse: true
|
|
523
|
+
},
|
|
491
524
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
492
525
|
protoPath: "/v2/automations/drafts/get-or-create/original-automation-id/{originalAutomationId}",
|
|
493
526
|
data: payload,
|
|
@@ -532,6 +565,9 @@ function updateDraftAutomation(payload) {
|
|
|
532
565
|
method: "PATCH",
|
|
533
566
|
methodFqn: "wix.automations.v2.AutomationsService.UpdateDraftAutomation",
|
|
534
567
|
packageName: PACKAGE_NAME,
|
|
568
|
+
migrationOptions: {
|
|
569
|
+
optInTransformResponse: true
|
|
570
|
+
},
|
|
535
571
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
536
572
|
protoPath: "/v2/automations/drafts/{automation.id}",
|
|
537
573
|
data: serializedData,
|
|
@@ -561,6 +597,9 @@ function queryAutomationsWithDrafts(payload) {
|
|
|
561
597
|
method: "POST",
|
|
562
598
|
methodFqn: "wix.automations.v2.AutomationsService.QueryAutomationsWithDrafts",
|
|
563
599
|
packageName: PACKAGE_NAME,
|
|
600
|
+
migrationOptions: {
|
|
601
|
+
optInTransformResponse: true
|
|
602
|
+
},
|
|
564
603
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
565
604
|
protoPath: "/v2/automations/query-with-drafts",
|
|
566
605
|
data: payload,
|
|
@@ -590,6 +629,9 @@ function bulkCountAutomationsWithDrafts(payload) {
|
|
|
590
629
|
method: "POST",
|
|
591
630
|
methodFqn: "wix.automations.v2.AutomationsService.BulkCountAutomationsWithDrafts",
|
|
592
631
|
packageName: PACKAGE_NAME,
|
|
632
|
+
migrationOptions: {
|
|
633
|
+
optInTransformResponse: true
|
|
634
|
+
},
|
|
593
635
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
594
636
|
protoPath: "/v2/automations/bulk-count-with-drafts",
|
|
595
637
|
data: payload,
|
|
@@ -608,6 +650,9 @@ function deleteDraftAutomation(payload) {
|
|
|
608
650
|
method: "DELETE",
|
|
609
651
|
methodFqn: "wix.automations.v2.AutomationsService.DeleteDraftAutomation",
|
|
610
652
|
packageName: PACKAGE_NAME,
|
|
653
|
+
migrationOptions: {
|
|
654
|
+
optInTransformResponse: true
|
|
655
|
+
},
|
|
611
656
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
612
657
|
protoPath: "/v2/automations/drafts/{automationId}",
|
|
613
658
|
data: payload,
|
|
@@ -626,6 +671,9 @@ function publishDraftAutomation(payload) {
|
|
|
626
671
|
method: "POST",
|
|
627
672
|
methodFqn: "wix.automations.v2.AutomationsService.PublishDraftAutomation",
|
|
628
673
|
packageName: PACKAGE_NAME,
|
|
674
|
+
migrationOptions: {
|
|
675
|
+
optInTransformResponse: true
|
|
676
|
+
},
|
|
629
677
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
630
678
|
protoPath: "/v2/automations/drafts/{automationId}/publish",
|
|
631
679
|
data: payload,
|
|
@@ -666,6 +714,9 @@ function validateAutomation(payload) {
|
|
|
666
714
|
method: "POST",
|
|
667
715
|
methodFqn: "wix.automations.v2.AutomationsService.ValidateAutomation",
|
|
668
716
|
packageName: PACKAGE_NAME,
|
|
717
|
+
migrationOptions: {
|
|
718
|
+
optInTransformResponse: true
|
|
719
|
+
},
|
|
669
720
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
670
721
|
protoPath: "/v2/automations/validate",
|
|
671
722
|
data: serializedData,
|
|
@@ -684,6 +735,9 @@ function validateAutomationById(payload) {
|
|
|
684
735
|
method: "POST",
|
|
685
736
|
methodFqn: "wix.automations.v2.AutomationsService.ValidateAutomationById",
|
|
686
737
|
packageName: PACKAGE_NAME,
|
|
738
|
+
migrationOptions: {
|
|
739
|
+
optInTransformResponse: true
|
|
740
|
+
},
|
|
687
741
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
688
742
|
protoPath: "/v2/automations/{automationId}/validate",
|
|
689
743
|
data: payload,
|
|
@@ -702,6 +756,9 @@ function getAutomationRevision(payload) {
|
|
|
702
756
|
method: "GET",
|
|
703
757
|
methodFqn: "wix.automations.v2.AutomationRevisionsService.GetAutomationRevision",
|
|
704
758
|
packageName: PACKAGE_NAME,
|
|
759
|
+
migrationOptions: {
|
|
760
|
+
optInTransformResponse: true
|
|
761
|
+
},
|
|
705
762
|
url: resolveWixAutomationsV2AutomationRevisionsServiceUrl({
|
|
706
763
|
protoPath: "/v1/automation-revisions/{automationId}",
|
|
707
764
|
data: payload,
|