@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.
@@ -116,6 +116,9 @@ function createAutomation(payload) {
116
116
  method: "POST",
117
117
  methodFqn: "wix.automations.v2.AutomationsService.CreateAutomation",
118
118
  packageName: PACKAGE_NAME,
119
+ migrationOptions: {
120
+ optInTransformResponse: true
121
+ },
119
122
  url: resolveWixAutomationsV2AutomationsServiceUrl({
120
123
  protoPath: "/v2/automations",
121
124
  data: serializedData,
@@ -145,6 +148,9 @@ function getAutomation(payload) {
145
148
  method: "GET",
146
149
  methodFqn: "wix.automations.v2.AutomationsService.GetAutomation",
147
150
  packageName: PACKAGE_NAME,
151
+ migrationOptions: {
152
+ optInTransformResponse: true
153
+ },
148
154
  url: resolveWixAutomationsV2AutomationsServiceUrl({
149
155
  protoPath: "/v2/automations/{automationId}",
150
156
  data: payload,
@@ -189,6 +195,9 @@ function updateAutomation(payload) {
189
195
  method: "PATCH",
190
196
  methodFqn: "wix.automations.v2.AutomationsService.UpdateAutomation",
191
197
  packageName: PACKAGE_NAME,
198
+ migrationOptions: {
199
+ optInTransformResponse: true
200
+ },
192
201
  url: resolveWixAutomationsV2AutomationsServiceUrl({
193
202
  protoPath: "/v2/automations/{automation.id}",
194
203
  data: serializedData,
@@ -218,6 +227,9 @@ function deleteAutomation(payload) {
218
227
  method: "DELETE",
219
228
  methodFqn: "wix.automations.v2.AutomationsService.DeleteAutomation",
220
229
  packageName: PACKAGE_NAME,
230
+ migrationOptions: {
231
+ optInTransformResponse: true
232
+ },
221
233
  url: resolveWixAutomationsV2AutomationsServiceUrl({
222
234
  protoPath: "/v2/automations/{automationId}",
223
235
  data: payload,
@@ -236,6 +248,9 @@ function bulkDeleteAutomations(payload) {
236
248
  method: "POST",
237
249
  methodFqn: "wix.automations.v2.AutomationsService.BulkDeleteAutomations",
238
250
  packageName: PACKAGE_NAME,
251
+ migrationOptions: {
252
+ optInTransformResponse: true
253
+ },
239
254
  url: resolveWixAutomationsV2AutomationsServiceUrl({
240
255
  protoPath: "/v2/bulk/automations/delete",
241
256
  data: payload,
@@ -265,6 +280,9 @@ function generatePreinstalledAutomation(payload) {
265
280
  method: "POST",
266
281
  methodFqn: "wix.automations.v2.AutomationsService.GeneratePreinstalledAutomation",
267
282
  packageName: PACKAGE_NAME,
283
+ migrationOptions: {
284
+ optInTransformResponse: true
285
+ },
268
286
  url: resolveWixAutomationsV2AutomationsServiceUrl({
269
287
  protoPath: "/v2/preinstalled-automation/generate",
270
288
  data: serializedData,
@@ -294,6 +312,9 @@ function queryAutomations(payload) {
294
312
  method: "POST",
295
313
  methodFqn: "wix.automations.v2.AutomationsService.QueryAutomations",
296
314
  packageName: PACKAGE_NAME,
315
+ migrationOptions: {
316
+ optInTransformResponse: true
317
+ },
297
318
  url: resolveWixAutomationsV2AutomationsServiceUrl({
298
319
  protoPath: "/v2/automations/query",
299
320
  data: payload,
@@ -323,6 +344,9 @@ function getAggregatedUsageInfo(payload) {
323
344
  method: "GET",
324
345
  methodFqn: "wix.automations.v2.AutomationsService.GetAggregatedUsageInfo",
325
346
  packageName: PACKAGE_NAME,
347
+ migrationOptions: {
348
+ optInTransformResponse: true
349
+ },
326
350
  url: resolveWixAutomationsV2AutomationsServiceUrl({
327
351
  protoPath: "/v2/automations/usage",
328
352
  data: payload,
@@ -352,6 +376,9 @@ function copyAutomation(payload) {
352
376
  method: "POST",
353
377
  methodFqn: "wix.automations.v2.AutomationsService.CopyAutomation",
354
378
  packageName: PACKAGE_NAME,
379
+ migrationOptions: {
380
+ optInTransformResponse: true
381
+ },
355
382
  url: resolveWixAutomationsV2AutomationsServiceUrl({
356
383
  protoPath: "/v2/automations/{automationId}/copy",
357
384
  data: serializedData,
@@ -392,6 +419,9 @@ function createDraftAutomation(payload) {
392
419
  method: "POST",
393
420
  methodFqn: "wix.automations.v2.AutomationsService.CreateDraftAutomation",
394
421
  packageName: PACKAGE_NAME,
422
+ migrationOptions: {
423
+ optInTransformResponse: true
424
+ },
395
425
  url: resolveWixAutomationsV2AutomationsServiceUrl({
396
426
  protoPath: "/v2/automations/drafts",
397
427
  data: serializedData,
@@ -421,6 +451,9 @@ function getOrCreateDraftAutomation(payload) {
421
451
  method: "POST",
422
452
  methodFqn: "wix.automations.v2.AutomationsService.GetOrCreateDraftAutomation",
423
453
  packageName: PACKAGE_NAME,
454
+ migrationOptions: {
455
+ optInTransformResponse: true
456
+ },
424
457
  url: resolveWixAutomationsV2AutomationsServiceUrl({
425
458
  protoPath: "/v2/automations/drafts/get-or-create/original-automation-id/{originalAutomationId}",
426
459
  data: payload,
@@ -465,6 +498,9 @@ function updateDraftAutomation(payload) {
465
498
  method: "PATCH",
466
499
  methodFqn: "wix.automations.v2.AutomationsService.UpdateDraftAutomation",
467
500
  packageName: PACKAGE_NAME,
501
+ migrationOptions: {
502
+ optInTransformResponse: true
503
+ },
468
504
  url: resolveWixAutomationsV2AutomationsServiceUrl({
469
505
  protoPath: "/v2/automations/drafts/{automation.id}",
470
506
  data: serializedData,
@@ -494,6 +530,9 @@ function queryAutomationsWithDrafts(payload) {
494
530
  method: "POST",
495
531
  methodFqn: "wix.automations.v2.AutomationsService.QueryAutomationsWithDrafts",
496
532
  packageName: PACKAGE_NAME,
533
+ migrationOptions: {
534
+ optInTransformResponse: true
535
+ },
497
536
  url: resolveWixAutomationsV2AutomationsServiceUrl({
498
537
  protoPath: "/v2/automations/query-with-drafts",
499
538
  data: payload,
@@ -523,6 +562,9 @@ function bulkCountAutomationsWithDrafts(payload) {
523
562
  method: "POST",
524
563
  methodFqn: "wix.automations.v2.AutomationsService.BulkCountAutomationsWithDrafts",
525
564
  packageName: PACKAGE_NAME,
565
+ migrationOptions: {
566
+ optInTransformResponse: true
567
+ },
526
568
  url: resolveWixAutomationsV2AutomationsServiceUrl({
527
569
  protoPath: "/v2/automations/bulk-count-with-drafts",
528
570
  data: payload,
@@ -541,6 +583,9 @@ function deleteDraftAutomation(payload) {
541
583
  method: "DELETE",
542
584
  methodFqn: "wix.automations.v2.AutomationsService.DeleteDraftAutomation",
543
585
  packageName: PACKAGE_NAME,
586
+ migrationOptions: {
587
+ optInTransformResponse: true
588
+ },
544
589
  url: resolveWixAutomationsV2AutomationsServiceUrl({
545
590
  protoPath: "/v2/automations/drafts/{automationId}",
546
591
  data: payload,
@@ -559,6 +604,9 @@ function publishDraftAutomation(payload) {
559
604
  method: "POST",
560
605
  methodFqn: "wix.automations.v2.AutomationsService.PublishDraftAutomation",
561
606
  packageName: PACKAGE_NAME,
607
+ migrationOptions: {
608
+ optInTransformResponse: true
609
+ },
562
610
  url: resolveWixAutomationsV2AutomationsServiceUrl({
563
611
  protoPath: "/v2/automations/drafts/{automationId}/publish",
564
612
  data: payload,
@@ -599,6 +647,9 @@ function validateAutomation(payload) {
599
647
  method: "POST",
600
648
  methodFqn: "wix.automations.v2.AutomationsService.ValidateAutomation",
601
649
  packageName: PACKAGE_NAME,
650
+ migrationOptions: {
651
+ optInTransformResponse: true
652
+ },
602
653
  url: resolveWixAutomationsV2AutomationsServiceUrl({
603
654
  protoPath: "/v2/automations/validate",
604
655
  data: serializedData,
@@ -617,6 +668,9 @@ function validateAutomationById(payload) {
617
668
  method: "POST",
618
669
  methodFqn: "wix.automations.v2.AutomationsService.ValidateAutomationById",
619
670
  packageName: PACKAGE_NAME,
671
+ migrationOptions: {
672
+ optInTransformResponse: true
673
+ },
620
674
  url: resolveWixAutomationsV2AutomationsServiceUrl({
621
675
  protoPath: "/v2/automations/{automationId}/validate",
622
676
  data: payload,
@@ -635,6 +689,9 @@ function getAutomationRevision(payload) {
635
689
  method: "GET",
636
690
  methodFqn: "wix.automations.v2.AutomationRevisionsService.GetAutomationRevision",
637
691
  packageName: PACKAGE_NAME,
692
+ migrationOptions: {
693
+ optInTransformResponse: true
694
+ },
638
695
  url: resolveWixAutomationsV2AutomationRevisionsServiceUrl({
639
696
  protoPath: "/v1/automation-revisions/{automationId}",
640
697
  data: payload,