@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
|
@@ -2557,59 +2557,59 @@ interface AutomationsQueryBuilder {
|
|
|
2557
2557
|
* @param value - Value to compare against.
|
|
2558
2558
|
* @documentationMaturity preview
|
|
2559
2559
|
*/
|
|
2560
|
-
eq: (propertyName: 'name' | 'configuration.status' | 'configuration.trigger.appId' | 'configuration.trigger.triggerKey' | 'configuration.trigger.filterValueSelection.selectedFilterValues' | 'origin' | 'settings' | 'settings.readonly' | 'settings.disableDelete' | 'settings.disableStatusChange' | 'settings.actionSettings' | 'settings.actionSettings.permanentActionIds' | 'settings.actionSettings.readonlyActionIds' | 'settings.actionSettings.disableDelayAddition' | 'settings.actionSettings.disableConditionAddition' | 'archived', value: any) => AutomationsQueryBuilder;
|
|
2560
|
+
eq: (propertyName: 'createdBy.appId' | 'name' | 'configuration.status' | 'configuration.trigger.appId' | 'configuration.trigger.triggerKey' | 'configuration.trigger.filterValueSelection.selectedFilterValues' | 'origin' | 'settings' | 'settings.readonly' | 'settings.disableDelete' | 'settings.disableStatusChange' | 'settings.actionSettings' | 'settings.actionSettings.permanentActionIds' | 'settings.actionSettings.readonlyActionIds' | 'settings.actionSettings.disableDelayAddition' | 'settings.actionSettings.disableConditionAddition' | 'archived', value: any) => AutomationsQueryBuilder;
|
|
2561
2561
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
2562
2562
|
* @param value - Value to compare against.
|
|
2563
2563
|
* @documentationMaturity preview
|
|
2564
2564
|
*/
|
|
2565
|
-
ne: (propertyName: 'name' | 'configuration.status' | 'configuration.trigger.appId' | 'configuration.trigger.triggerKey' | 'configuration.trigger.filterValueSelection.selectedFilterValues' | 'origin' | 'settings' | 'settings.readonly' | 'settings.disableDelete' | 'settings.disableStatusChange' | 'settings.actionSettings' | 'settings.actionSettings.permanentActionIds' | 'settings.actionSettings.readonlyActionIds' | 'settings.actionSettings.disableDelayAddition' | 'settings.actionSettings.disableConditionAddition' | 'archived', value: any) => AutomationsQueryBuilder;
|
|
2565
|
+
ne: (propertyName: 'createdBy.appId' | 'name' | 'configuration.status' | 'configuration.trigger.appId' | 'configuration.trigger.triggerKey' | 'configuration.trigger.filterValueSelection.selectedFilterValues' | 'origin' | 'settings' | 'settings.readonly' | 'settings.disableDelete' | 'settings.disableStatusChange' | 'settings.actionSettings' | 'settings.actionSettings.permanentActionIds' | 'settings.actionSettings.readonlyActionIds' | 'settings.actionSettings.disableDelayAddition' | 'settings.actionSettings.disableConditionAddition' | 'archived', value: any) => AutomationsQueryBuilder;
|
|
2566
2566
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
2567
2567
|
* @param value - Value to compare against.
|
|
2568
2568
|
* @documentationMaturity preview
|
|
2569
2569
|
*/
|
|
2570
|
-
ge: (propertyName: 'name' | 'configuration.trigger.appId' | 'configuration.trigger.triggerKey', value: any) => AutomationsQueryBuilder;
|
|
2570
|
+
ge: (propertyName: 'createdBy.appId' | 'name' | 'configuration.trigger.appId' | 'configuration.trigger.triggerKey', value: any) => AutomationsQueryBuilder;
|
|
2571
2571
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
2572
2572
|
* @param value - Value to compare against.
|
|
2573
2573
|
* @documentationMaturity preview
|
|
2574
2574
|
*/
|
|
2575
|
-
gt: (propertyName: 'name' | 'configuration.trigger.appId' | 'configuration.trigger.triggerKey', value: any) => AutomationsQueryBuilder;
|
|
2575
|
+
gt: (propertyName: 'createdBy.appId' | 'name' | 'configuration.trigger.appId' | 'configuration.trigger.triggerKey', value: any) => AutomationsQueryBuilder;
|
|
2576
2576
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
2577
2577
|
* @param value - Value to compare against.
|
|
2578
2578
|
* @documentationMaturity preview
|
|
2579
2579
|
*/
|
|
2580
|
-
le: (propertyName: 'name' | 'configuration.trigger.appId' | 'configuration.trigger.triggerKey', value: any) => AutomationsQueryBuilder;
|
|
2580
|
+
le: (propertyName: 'createdBy.appId' | 'name' | 'configuration.trigger.appId' | 'configuration.trigger.triggerKey', value: any) => AutomationsQueryBuilder;
|
|
2581
2581
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
2582
2582
|
* @param value - Value to compare against.
|
|
2583
2583
|
* @documentationMaturity preview
|
|
2584
2584
|
*/
|
|
2585
|
-
lt: (propertyName: 'name' | 'configuration.trigger.appId' | 'configuration.trigger.triggerKey', value: any) => AutomationsQueryBuilder;
|
|
2585
|
+
lt: (propertyName: 'createdBy.appId' | 'name' | 'configuration.trigger.appId' | 'configuration.trigger.triggerKey', value: any) => AutomationsQueryBuilder;
|
|
2586
2586
|
/** @param propertyName - Property whose value is compared with `string`.
|
|
2587
2587
|
* @param string - String to compare against. Case-insensitive.
|
|
2588
2588
|
* @documentationMaturity preview
|
|
2589
2589
|
*/
|
|
2590
|
-
startsWith: (propertyName: 'name' | 'configuration.trigger.appId' | 'configuration.trigger.triggerKey', value: string) => AutomationsQueryBuilder;
|
|
2590
|
+
startsWith: (propertyName: 'createdBy.appId' | 'name' | 'configuration.trigger.appId' | 'configuration.trigger.triggerKey', value: string) => AutomationsQueryBuilder;
|
|
2591
2591
|
/** @param propertyName - Property whose value is compared with `values`.
|
|
2592
2592
|
* @param values - List of values to compare against.
|
|
2593
2593
|
* @documentationMaturity preview
|
|
2594
2594
|
*/
|
|
2595
|
-
hasSome: (propertyName: 'name' | 'configuration.status' | 'configuration.trigger.appId' | 'configuration.trigger.triggerKey' | 'configuration.trigger.filterValueSelection.selectedFilterValues' | 'origin' | 'settings' | 'settings.readonly' | 'settings.disableDelete' | 'settings.disableStatusChange' | 'settings.actionSettings' | 'settings.actionSettings.permanentActionIds' | 'settings.actionSettings.readonlyActionIds' | 'settings.actionSettings.disableDelayAddition' | 'settings.actionSettings.disableConditionAddition' | 'archived', value: any[]) => AutomationsQueryBuilder;
|
|
2595
|
+
hasSome: (propertyName: 'createdBy.appId' | 'name' | 'configuration.status' | 'configuration.trigger.appId' | 'configuration.trigger.triggerKey' | 'configuration.trigger.filterValueSelection.selectedFilterValues' | 'origin' | 'settings' | 'settings.readonly' | 'settings.disableDelete' | 'settings.disableStatusChange' | 'settings.actionSettings' | 'settings.actionSettings.permanentActionIds' | 'settings.actionSettings.readonlyActionIds' | 'settings.actionSettings.disableDelayAddition' | 'settings.actionSettings.disableConditionAddition' | 'archived', value: any[]) => AutomationsQueryBuilder;
|
|
2596
2596
|
/** @param propertyName - Property whose value is compared with `values`.
|
|
2597
2597
|
* @param values - List of values to compare against.
|
|
2598
2598
|
* @documentationMaturity preview
|
|
2599
2599
|
*/
|
|
2600
2600
|
hasAll: (propertyName: 'configuration.trigger.filterValueSelection.selectedFilterValues' | 'settings.actionSettings.permanentActionIds' | 'settings.actionSettings.readonlyActionIds', value: any[]) => AutomationsQueryBuilder;
|
|
2601
2601
|
/** @documentationMaturity preview */
|
|
2602
|
-
in: (propertyName: 'name' | 'configuration.status' | 'configuration.trigger.appId' | 'configuration.trigger.triggerKey' | 'configuration.trigger.filterValueSelection.selectedFilterValues' | 'origin' | 'settings' | 'settings.readonly' | 'settings.disableDelete' | 'settings.disableStatusChange' | 'settings.actionSettings' | 'settings.actionSettings.permanentActionIds' | 'settings.actionSettings.readonlyActionIds' | 'settings.actionSettings.disableDelayAddition' | 'settings.actionSettings.disableConditionAddition' | 'archived', value: any) => AutomationsQueryBuilder;
|
|
2602
|
+
in: (propertyName: 'createdBy.appId' | 'name' | 'configuration.status' | 'configuration.trigger.appId' | 'configuration.trigger.triggerKey' | 'configuration.trigger.filterValueSelection.selectedFilterValues' | 'origin' | 'settings' | 'settings.readonly' | 'settings.disableDelete' | 'settings.disableStatusChange' | 'settings.actionSettings' | 'settings.actionSettings.permanentActionIds' | 'settings.actionSettings.readonlyActionIds' | 'settings.actionSettings.disableDelayAddition' | 'settings.actionSettings.disableConditionAddition' | 'archived', value: any) => AutomationsQueryBuilder;
|
|
2603
2603
|
/** @documentationMaturity preview */
|
|
2604
|
-
exists: (propertyName: 'name' | 'configuration.status' | 'configuration.trigger.appId' | 'configuration.trigger.triggerKey' | 'configuration.trigger.filterValueSelection.selectedFilterValues' | 'origin' | 'settings' | 'settings.readonly' | 'settings.disableDelete' | 'settings.disableStatusChange' | 'settings.actionSettings' | 'settings.actionSettings.permanentActionIds' | 'settings.actionSettings.readonlyActionIds' | 'settings.actionSettings.disableDelayAddition' | 'settings.actionSettings.disableConditionAddition' | 'archived', value: boolean) => AutomationsQueryBuilder;
|
|
2604
|
+
exists: (propertyName: 'createdBy.appId' | 'name' | 'configuration.status' | 'configuration.trigger.appId' | 'configuration.trigger.triggerKey' | 'configuration.trigger.filterValueSelection.selectedFilterValues' | 'origin' | 'settings' | 'settings.readonly' | 'settings.disableDelete' | 'settings.disableStatusChange' | 'settings.actionSettings' | 'settings.actionSettings.permanentActionIds' | 'settings.actionSettings.readonlyActionIds' | 'settings.actionSettings.disableDelayAddition' | 'settings.actionSettings.disableConditionAddition' | 'archived', value: boolean) => AutomationsQueryBuilder;
|
|
2605
2605
|
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
|
|
2606
2606
|
* @documentationMaturity preview
|
|
2607
2607
|
*/
|
|
2608
|
-
ascending: (...propertyNames: Array<'name' | 'configuration.status' | 'configuration.trigger.appId' | 'configuration.trigger.triggerKey' | 'configuration.trigger.filters' | 'configuration.trigger.filterValueSelection.selectedFilterValues' | 'origin' | 'settings' | 'settings.readonly' | 'settings.disableDelete' | 'settings.disableStatusChange' | 'settings.actionSettings' | 'settings.actionSettings.permanentActionIds' | 'settings.actionSettings.readonlyActionIds' | 'settings.actionSettings.disableDelayAddition' | 'settings.actionSettings.disableConditionAddition' | 'archived'>) => AutomationsQueryBuilder;
|
|
2608
|
+
ascending: (...propertyNames: Array<'createdBy.appId' | 'name' | 'configuration.status' | 'configuration.trigger.appId' | 'configuration.trigger.triggerKey' | 'configuration.trigger.filters' | 'configuration.trigger.filterValueSelection.selectedFilterValues' | 'origin' | 'settings' | 'settings.readonly' | 'settings.disableDelete' | 'settings.disableStatusChange' | 'settings.actionSettings' | 'settings.actionSettings.permanentActionIds' | 'settings.actionSettings.readonlyActionIds' | 'settings.actionSettings.disableDelayAddition' | 'settings.actionSettings.disableConditionAddition' | 'archived'>) => AutomationsQueryBuilder;
|
|
2609
2609
|
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
|
|
2610
2610
|
* @documentationMaturity preview
|
|
2611
2611
|
*/
|
|
2612
|
-
descending: (...propertyNames: Array<'name' | 'configuration.status' | 'configuration.trigger.appId' | 'configuration.trigger.triggerKey' | 'configuration.trigger.filters' | 'configuration.trigger.filterValueSelection.selectedFilterValues' | 'origin' | 'settings' | 'settings.readonly' | 'settings.disableDelete' | 'settings.disableStatusChange' | 'settings.actionSettings' | 'settings.actionSettings.permanentActionIds' | 'settings.actionSettings.readonlyActionIds' | 'settings.actionSettings.disableDelayAddition' | 'settings.actionSettings.disableConditionAddition' | 'archived'>) => AutomationsQueryBuilder;
|
|
2612
|
+
descending: (...propertyNames: Array<'createdBy.appId' | 'name' | 'configuration.status' | 'configuration.trigger.appId' | 'configuration.trigger.triggerKey' | 'configuration.trigger.filters' | 'configuration.trigger.filterValueSelection.selectedFilterValues' | 'origin' | 'settings' | 'settings.readonly' | 'settings.disableDelete' | 'settings.disableStatusChange' | 'settings.actionSettings' | 'settings.actionSettings.permanentActionIds' | 'settings.actionSettings.readonlyActionIds' | 'settings.actionSettings.disableDelayAddition' | 'settings.actionSettings.disableConditionAddition' | 'archived'>) => AutomationsQueryBuilder;
|
|
2613
2613
|
/** @param limit - Number of items to return, which is also the `pageSize` of the results object.
|
|
2614
2614
|
* @documentationMaturity preview
|
|
2615
2615
|
*/
|
|
@@ -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,
|