@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/meta.js
CHANGED
|
@@ -146,6 +146,9 @@ function createAutomation(payload) {
|
|
|
146
146
|
method: "POST",
|
|
147
147
|
methodFqn: "wix.automations.v2.AutomationsService.CreateAutomation",
|
|
148
148
|
packageName: PACKAGE_NAME,
|
|
149
|
+
migrationOptions: {
|
|
150
|
+
optInTransformResponse: true
|
|
151
|
+
},
|
|
149
152
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
150
153
|
protoPath: "/v2/automations",
|
|
151
154
|
data: serializedData,
|
|
@@ -175,6 +178,9 @@ function getAutomation(payload) {
|
|
|
175
178
|
method: "GET",
|
|
176
179
|
methodFqn: "wix.automations.v2.AutomationsService.GetAutomation",
|
|
177
180
|
packageName: PACKAGE_NAME,
|
|
181
|
+
migrationOptions: {
|
|
182
|
+
optInTransformResponse: true
|
|
183
|
+
},
|
|
178
184
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
179
185
|
protoPath: "/v2/automations/{automationId}",
|
|
180
186
|
data: payload,
|
|
@@ -219,6 +225,9 @@ function updateAutomation(payload) {
|
|
|
219
225
|
method: "PATCH",
|
|
220
226
|
methodFqn: "wix.automations.v2.AutomationsService.UpdateAutomation",
|
|
221
227
|
packageName: PACKAGE_NAME,
|
|
228
|
+
migrationOptions: {
|
|
229
|
+
optInTransformResponse: true
|
|
230
|
+
},
|
|
222
231
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
223
232
|
protoPath: "/v2/automations/{automation.id}",
|
|
224
233
|
data: serializedData,
|
|
@@ -248,6 +257,9 @@ function deleteAutomation(payload) {
|
|
|
248
257
|
method: "DELETE",
|
|
249
258
|
methodFqn: "wix.automations.v2.AutomationsService.DeleteAutomation",
|
|
250
259
|
packageName: PACKAGE_NAME,
|
|
260
|
+
migrationOptions: {
|
|
261
|
+
optInTransformResponse: true
|
|
262
|
+
},
|
|
251
263
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
252
264
|
protoPath: "/v2/automations/{automationId}",
|
|
253
265
|
data: payload,
|
|
@@ -266,6 +278,9 @@ function bulkDeleteAutomations(payload) {
|
|
|
266
278
|
method: "POST",
|
|
267
279
|
methodFqn: "wix.automations.v2.AutomationsService.BulkDeleteAutomations",
|
|
268
280
|
packageName: PACKAGE_NAME,
|
|
281
|
+
migrationOptions: {
|
|
282
|
+
optInTransformResponse: true
|
|
283
|
+
},
|
|
269
284
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
270
285
|
protoPath: "/v2/bulk/automations/delete",
|
|
271
286
|
data: payload,
|
|
@@ -295,6 +310,9 @@ function generatePreinstalledAutomation(payload) {
|
|
|
295
310
|
method: "POST",
|
|
296
311
|
methodFqn: "wix.automations.v2.AutomationsService.GeneratePreinstalledAutomation",
|
|
297
312
|
packageName: PACKAGE_NAME,
|
|
313
|
+
migrationOptions: {
|
|
314
|
+
optInTransformResponse: true
|
|
315
|
+
},
|
|
298
316
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
299
317
|
protoPath: "/v2/preinstalled-automation/generate",
|
|
300
318
|
data: serializedData,
|
|
@@ -324,6 +342,9 @@ function queryAutomations(payload) {
|
|
|
324
342
|
method: "POST",
|
|
325
343
|
methodFqn: "wix.automations.v2.AutomationsService.QueryAutomations",
|
|
326
344
|
packageName: PACKAGE_NAME,
|
|
345
|
+
migrationOptions: {
|
|
346
|
+
optInTransformResponse: true
|
|
347
|
+
},
|
|
327
348
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
328
349
|
protoPath: "/v2/automations/query",
|
|
329
350
|
data: payload,
|
|
@@ -353,6 +374,9 @@ function getAggregatedUsageInfo(payload) {
|
|
|
353
374
|
method: "GET",
|
|
354
375
|
methodFqn: "wix.automations.v2.AutomationsService.GetAggregatedUsageInfo",
|
|
355
376
|
packageName: PACKAGE_NAME,
|
|
377
|
+
migrationOptions: {
|
|
378
|
+
optInTransformResponse: true
|
|
379
|
+
},
|
|
356
380
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
357
381
|
protoPath: "/v2/automations/usage",
|
|
358
382
|
data: payload,
|
|
@@ -382,6 +406,9 @@ function copyAutomation(payload) {
|
|
|
382
406
|
method: "POST",
|
|
383
407
|
methodFqn: "wix.automations.v2.AutomationsService.CopyAutomation",
|
|
384
408
|
packageName: PACKAGE_NAME,
|
|
409
|
+
migrationOptions: {
|
|
410
|
+
optInTransformResponse: true
|
|
411
|
+
},
|
|
385
412
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
386
413
|
protoPath: "/v2/automations/{automationId}/copy",
|
|
387
414
|
data: serializedData,
|
|
@@ -422,6 +449,9 @@ function createDraftAutomation(payload) {
|
|
|
422
449
|
method: "POST",
|
|
423
450
|
methodFqn: "wix.automations.v2.AutomationsService.CreateDraftAutomation",
|
|
424
451
|
packageName: PACKAGE_NAME,
|
|
452
|
+
migrationOptions: {
|
|
453
|
+
optInTransformResponse: true
|
|
454
|
+
},
|
|
425
455
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
426
456
|
protoPath: "/v2/automations/drafts",
|
|
427
457
|
data: serializedData,
|
|
@@ -451,6 +481,9 @@ function getOrCreateDraftAutomation(payload) {
|
|
|
451
481
|
method: "POST",
|
|
452
482
|
methodFqn: "wix.automations.v2.AutomationsService.GetOrCreateDraftAutomation",
|
|
453
483
|
packageName: PACKAGE_NAME,
|
|
484
|
+
migrationOptions: {
|
|
485
|
+
optInTransformResponse: true
|
|
486
|
+
},
|
|
454
487
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
455
488
|
protoPath: "/v2/automations/drafts/get-or-create/original-automation-id/{originalAutomationId}",
|
|
456
489
|
data: payload,
|
|
@@ -495,6 +528,9 @@ function updateDraftAutomation(payload) {
|
|
|
495
528
|
method: "PATCH",
|
|
496
529
|
methodFqn: "wix.automations.v2.AutomationsService.UpdateDraftAutomation",
|
|
497
530
|
packageName: PACKAGE_NAME,
|
|
531
|
+
migrationOptions: {
|
|
532
|
+
optInTransformResponse: true
|
|
533
|
+
},
|
|
498
534
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
499
535
|
protoPath: "/v2/automations/drafts/{automation.id}",
|
|
500
536
|
data: serializedData,
|
|
@@ -524,6 +560,9 @@ function queryAutomationsWithDrafts(payload) {
|
|
|
524
560
|
method: "POST",
|
|
525
561
|
methodFqn: "wix.automations.v2.AutomationsService.QueryAutomationsWithDrafts",
|
|
526
562
|
packageName: PACKAGE_NAME,
|
|
563
|
+
migrationOptions: {
|
|
564
|
+
optInTransformResponse: true
|
|
565
|
+
},
|
|
527
566
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
528
567
|
protoPath: "/v2/automations/query-with-drafts",
|
|
529
568
|
data: payload,
|
|
@@ -553,6 +592,9 @@ function bulkCountAutomationsWithDrafts(payload) {
|
|
|
553
592
|
method: "POST",
|
|
554
593
|
methodFqn: "wix.automations.v2.AutomationsService.BulkCountAutomationsWithDrafts",
|
|
555
594
|
packageName: PACKAGE_NAME,
|
|
595
|
+
migrationOptions: {
|
|
596
|
+
optInTransformResponse: true
|
|
597
|
+
},
|
|
556
598
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
557
599
|
protoPath: "/v2/automations/bulk-count-with-drafts",
|
|
558
600
|
data: payload,
|
|
@@ -571,6 +613,9 @@ function deleteDraftAutomation(payload) {
|
|
|
571
613
|
method: "DELETE",
|
|
572
614
|
methodFqn: "wix.automations.v2.AutomationsService.DeleteDraftAutomation",
|
|
573
615
|
packageName: PACKAGE_NAME,
|
|
616
|
+
migrationOptions: {
|
|
617
|
+
optInTransformResponse: true
|
|
618
|
+
},
|
|
574
619
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
575
620
|
protoPath: "/v2/automations/drafts/{automationId}",
|
|
576
621
|
data: payload,
|
|
@@ -589,6 +634,9 @@ function publishDraftAutomation(payload) {
|
|
|
589
634
|
method: "POST",
|
|
590
635
|
methodFqn: "wix.automations.v2.AutomationsService.PublishDraftAutomation",
|
|
591
636
|
packageName: PACKAGE_NAME,
|
|
637
|
+
migrationOptions: {
|
|
638
|
+
optInTransformResponse: true
|
|
639
|
+
},
|
|
592
640
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
593
641
|
protoPath: "/v2/automations/drafts/{automationId}/publish",
|
|
594
642
|
data: payload,
|
|
@@ -629,6 +677,9 @@ function validateAutomation(payload) {
|
|
|
629
677
|
method: "POST",
|
|
630
678
|
methodFqn: "wix.automations.v2.AutomationsService.ValidateAutomation",
|
|
631
679
|
packageName: PACKAGE_NAME,
|
|
680
|
+
migrationOptions: {
|
|
681
|
+
optInTransformResponse: true
|
|
682
|
+
},
|
|
632
683
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
633
684
|
protoPath: "/v2/automations/validate",
|
|
634
685
|
data: serializedData,
|
|
@@ -647,6 +698,9 @@ function validateAutomationById(payload) {
|
|
|
647
698
|
method: "POST",
|
|
648
699
|
methodFqn: "wix.automations.v2.AutomationsService.ValidateAutomationById",
|
|
649
700
|
packageName: PACKAGE_NAME,
|
|
701
|
+
migrationOptions: {
|
|
702
|
+
optInTransformResponse: true
|
|
703
|
+
},
|
|
650
704
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
651
705
|
protoPath: "/v2/automations/{automationId}/validate",
|
|
652
706
|
data: payload,
|
|
@@ -665,6 +719,9 @@ function getAutomationRevision(payload) {
|
|
|
665
719
|
method: "GET",
|
|
666
720
|
methodFqn: "wix.automations.v2.AutomationRevisionsService.GetAutomationRevision",
|
|
667
721
|
packageName: PACKAGE_NAME,
|
|
722
|
+
migrationOptions: {
|
|
723
|
+
optInTransformResponse: true
|
|
724
|
+
},
|
|
668
725
|
url: resolveWixAutomationsV2AutomationRevisionsServiceUrl({
|
|
669
726
|
protoPath: "/v1/automation-revisions/{automationId}",
|
|
670
727
|
data: payload,
|
package/build/cjs/meta.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../meta.ts","../../src/automations-v2-automation-automations-v-2.http.ts","../../src/automations-v2-automation-automations-v-2.meta.ts"],"sourcesContent":["export * from './src/automations-v2-automation-automations-v-2.meta.js';\n","import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformSDKFieldMaskToRESTFieldMask } from '@wix/sdk-runtime/transformations/field-mask';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveWixAutomationsV2AutomationRevisionsServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'manage._base_domain_': [\n {\n srcPath: '/automations-service',\n destPath: '',\n },\n {\n srcPath: '/_api/automations-service',\n destPath: '/api',\n },\n ],\n 'platform.rise.ai': [\n {\n srcPath: '/v2/automations',\n destPath: '',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/automations-service',\n destPath: '',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/automations-service',\n destPath: '',\n },\n ],\n _: [\n {\n srcPath: '/automations-service',\n destPath: '',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nfunction resolveWixAutomationsV2AutomationsServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'manage._base_domain_': [\n {\n srcPath: '/automations-service',\n destPath: '',\n },\n {\n srcPath: '/_api/automations-service',\n destPath: '/api',\n },\n ],\n 'platform.rise.ai': [\n {\n srcPath: '/v2/automations',\n destPath: '',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/automations-service',\n destPath: '',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/automations-service',\n destPath: '',\n },\n ],\n _: [\n {\n srcPath: '/automations-service',\n destPath: '',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_automations_automations-v-2';\n\n/** Creates an automation. */\nexport function createAutomation(payload: object): RequestOptionsFactory<any> {\n function __createAutomation({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'automation.createdDate' },\n { path: 'automation.updatedDate' },\n { path: 'automation.draftUpdatedDate' },\n { path: 'automation.autoArchivePolicy.archiveDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.automations.v2.automation',\n method: 'POST' as any,\n methodFqn: 'wix.automations.v2.AutomationsService.CreateAutomation',\n packageName: PACKAGE_NAME,\n url: resolveWixAutomationsV2AutomationsServiceUrl({\n protoPath: '/v2/automations',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'automation.createdDate' },\n { path: 'automation.updatedDate' },\n { path: 'automation.draftUpdatedDate' },\n { path: 'automation.autoArchivePolicy.archiveDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createAutomation;\n}\n\n/** Retrieves an automation by ID. */\nexport function getAutomation(payload: object): RequestOptionsFactory<any> {\n function __getAutomation({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.automations.v2.automation',\n method: 'GET' as any,\n methodFqn: 'wix.automations.v2.AutomationsService.GetAutomation',\n packageName: PACKAGE_NAME,\n url: resolveWixAutomationsV2AutomationsServiceUrl({\n protoPath: '/v2/automations/{automationId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'automation.createdDate' },\n { path: 'automation.updatedDate' },\n { path: 'automation.draftUpdatedDate' },\n { path: 'automation.autoArchivePolicy.archiveDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getAutomation;\n}\n\n/**\n * Updates the specified automation.\n *\n * When an automation is updated, its `revision` property is incremented by 1. When updating an automation, you must specify the current revision number.\n */\nexport function updateAutomation(payload: object): RequestOptionsFactory<any> {\n function __updateAutomation({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'fieldMask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'automation.createdDate' },\n { path: 'automation.updatedDate' },\n { path: 'automation.draftUpdatedDate' },\n { path: 'automation.autoArchivePolicy.archiveDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.automations.v2.automation',\n method: 'PATCH' as any,\n methodFqn: 'wix.automations.v2.AutomationsService.UpdateAutomation',\n packageName: PACKAGE_NAME,\n url: resolveWixAutomationsV2AutomationsServiceUrl({\n protoPath: '/v2/automations/{automation.id}',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'automation.createdDate' },\n { path: 'automation.updatedDate' },\n { path: 'automation.draftUpdatedDate' },\n { path: 'automation.autoArchivePolicy.archiveDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateAutomation;\n}\n\n/** Deletes the specified automation. */\nexport function deleteAutomation(payload: object): RequestOptionsFactory<any> {\n function __deleteAutomation({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.automations.v2.automation',\n method: 'DELETE' as any,\n methodFqn: 'wix.automations.v2.AutomationsService.DeleteAutomation',\n packageName: PACKAGE_NAME,\n url: resolveWixAutomationsV2AutomationsServiceUrl({\n protoPath: '/v2/automations/{automationId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __deleteAutomation;\n}\n\n/** Deletes one or more automations. */\nexport function bulkDeleteAutomations(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkDeleteAutomations({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.automations.v2.automation',\n method: 'POST' as any,\n methodFqn: 'wix.automations.v2.AutomationsService.BulkDeleteAutomations',\n packageName: PACKAGE_NAME,\n url: resolveWixAutomationsV2AutomationsServiceUrl({\n protoPath: '/v2/bulk/automations/delete',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkDeleteAutomations;\n}\n\n/**\n * Generates a preinstalled automation from another automation.\n *\n * Calls the action providers for changes needed to make a preinstalled automation, such as changes made to email template.\n *\n * > **Note**: You must have an account permission to edit an app.\n */\nexport function generatePreinstalledAutomation(\n payload: object\n): RequestOptionsFactory<any> {\n function __generatePreinstalledAutomation({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'automation.createdDate' },\n { path: 'automation.updatedDate' },\n { path: 'automation.draftUpdatedDate' },\n { path: 'automation.autoArchivePolicy.archiveDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.automations.v2.automation',\n method: 'POST' as any,\n methodFqn:\n 'wix.automations.v2.AutomationsService.GeneratePreinstalledAutomation',\n packageName: PACKAGE_NAME,\n url: resolveWixAutomationsV2AutomationsServiceUrl({\n protoPath: '/v2/preinstalled-automation/generate',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'automation.createdDate' },\n { path: 'automation.updatedDate' },\n { path: 'automation.draftUpdatedDate' },\n { path: 'automation.autoArchivePolicy.archiveDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __generatePreinstalledAutomation;\n}\n\n/**\n * Retrieves a list of automations. This includes both automations overridden on a site and preinstalled automations. If a preinstalled automation has been overridden on the site, the method returns the override automation.\n *\n * > **Note**: The method only returns automations by apps installed on the site.\n *\n * Learn more about [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language).\n */\nexport function queryAutomations(payload: object): RequestOptionsFactory<any> {\n function __queryAutomations({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.automations.v2.automation',\n method: 'POST' as any,\n methodFqn: 'wix.automations.v2.AutomationsService.QueryAutomations',\n packageName: PACKAGE_NAME,\n url: resolveWixAutomationsV2AutomationsServiceUrl({\n protoPath: '/v2/automations/query',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'automations.createdDate' },\n { path: 'automations.updatedDate' },\n { path: 'automations.draftUpdatedDate' },\n { path: 'automations.autoArchivePolicy.archiveDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __queryAutomations;\n}\n\n/** Get aggregated info */\nexport function getAggregatedUsageInfo(\n payload: object\n): RequestOptionsFactory<any> {\n function __getAggregatedUsageInfo({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.automations.v2.automation',\n method: 'GET' as any,\n methodFqn: 'wix.automations.v2.AutomationsService.GetAggregatedUsageInfo',\n packageName: PACKAGE_NAME,\n url: resolveWixAutomationsV2AutomationsServiceUrl({\n protoPath: '/v2/automations/usage',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload, true),\n };\n\n return metadata;\n }\n\n return __getAggregatedUsageInfo;\n}\n\n/**\n * Creates a copy of an action with a new ID, and changes the action's input mapping if necessary.\n *\n * The action copy isn't saved automatically. To save it, the user must perform an action\n * such as clicking the **Save** button.\n */\nexport function copyAutomation(payload: object): RequestOptionsFactory<any> {\n function __copyAutomation({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'automation.createdDate' },\n { path: 'automation.updatedDate' },\n { path: 'automation.draftUpdatedDate' },\n { path: 'automation.autoArchivePolicy.archiveDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.automations.v2.automation',\n method: 'POST' as any,\n methodFqn: 'wix.automations.v2.AutomationsService.CopyAutomation',\n packageName: PACKAGE_NAME,\n url: resolveWixAutomationsV2AutomationsServiceUrl({\n protoPath: '/v2/automations/{automationId}/copy',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'automation.createdDate' },\n { path: 'automation.updatedDate' },\n { path: 'automation.draftUpdatedDate' },\n { path: 'automation.autoArchivePolicy.archiveDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __copyAutomation;\n}\n\n/** Creates a draft automation. */\nexport function createDraftAutomation(\n payload: object\n): RequestOptionsFactory<any> {\n function __createDraftAutomation({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'automation.createdDate' },\n { path: 'automation.updatedDate' },\n { path: 'automation.draftUpdatedDate' },\n { path: 'automation.autoArchivePolicy.archiveDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.automations.v2.automation',\n method: 'POST' as any,\n methodFqn: 'wix.automations.v2.AutomationsService.CreateDraftAutomation',\n packageName: PACKAGE_NAME,\n url: resolveWixAutomationsV2AutomationsServiceUrl({\n protoPath: '/v2/automations/drafts',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'automation.createdDate' },\n { path: 'automation.updatedDate' },\n { path: 'automation.draftUpdatedDate' },\n { path: 'automation.autoArchivePolicy.archiveDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createDraftAutomation;\n}\n\n/**\n * Retrieves the draft of the specified automation. If a draft doesn't exist, the method creates one.\n *\n * > **Note**: If the specified automation is a draft, the method returns it.\n */\nexport function getOrCreateDraftAutomation(\n payload: object\n): RequestOptionsFactory<any> {\n function __getOrCreateDraftAutomation({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.automations.v2.automation',\n method: 'POST' as any,\n methodFqn:\n 'wix.automations.v2.AutomationsService.GetOrCreateDraftAutomation',\n packageName: PACKAGE_NAME,\n url: resolveWixAutomationsV2AutomationsServiceUrl({\n protoPath:\n '/v2/automations/drafts/get-or-create/original-automation-id/{originalAutomationId}',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'automation.createdDate' },\n { path: 'automation.updatedDate' },\n { path: 'automation.draftUpdatedDate' },\n { path: 'automation.autoArchivePolicy.archiveDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getOrCreateDraftAutomation;\n}\n\n/** Updates a draft automation. */\nexport function updateDraftAutomation(\n payload: object\n): RequestOptionsFactory<any> {\n function __updateDraftAutomation({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'fieldMask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'automation.createdDate' },\n { path: 'automation.updatedDate' },\n { path: 'automation.draftUpdatedDate' },\n { path: 'automation.autoArchivePolicy.archiveDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.automations.v2.automation',\n method: 'PATCH' as any,\n methodFqn: 'wix.automations.v2.AutomationsService.UpdateDraftAutomation',\n packageName: PACKAGE_NAME,\n url: resolveWixAutomationsV2AutomationsServiceUrl({\n protoPath: '/v2/automations/drafts/{automation.id}',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'automation.createdDate' },\n { path: 'automation.updatedDate' },\n { path: 'automation.draftUpdatedDate' },\n { path: 'automation.autoArchivePolicy.archiveDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateDraftAutomation;\n}\n\n/**\n * Retrieves a list of automations, including drafts. Max query filter depth is 3.\n *\n * Relevant automations for the query are returned. This includes automations created on the site and pre-installed automations.\n * If there's an existing override for a pre-installed automation, the override is returned in the query result.\n * The query only returns automations from apps that are installed on the site.\n *\n * - new drafts that are not related to existing automations will be returned in the list\n * - the response will contain a map of originalAutomationId => relatedDrafts\n *\n * To learn about working with _Query_ endpoints, see\n * [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language),\n * [Sorting and Paging](https://dev.wix.com/api/rest/getting-started/pagination),\n * and [Field Projection](https://dev.wix.com/api/rest/getting-started/field-projection).\n */\nexport function queryAutomationsWithDrafts(\n payload: object\n): RequestOptionsFactory<any> {\n function __queryAutomationsWithDrafts({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.automations.v2.automation',\n method: 'POST' as any,\n methodFqn:\n 'wix.automations.v2.AutomationsService.QueryAutomationsWithDrafts',\n packageName: PACKAGE_NAME,\n url: resolveWixAutomationsV2AutomationsServiceUrl({\n protoPath: '/v2/automations/query-with-drafts',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'automations.createdDate' },\n { path: 'automations.updatedDate' },\n { path: 'automations.draftUpdatedDate' },\n { path: 'automations.autoArchivePolicy.archiveDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __queryAutomationsWithDrafts;\n}\n\nexport function bulkCountAutomationsWithDrafts(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkCountAutomationsWithDrafts({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.automations.v2.automation',\n method: 'POST' as any,\n methodFqn:\n 'wix.automations.v2.AutomationsService.BulkCountAutomationsWithDrafts',\n packageName: PACKAGE_NAME,\n url: resolveWixAutomationsV2AutomationsServiceUrl({\n protoPath: '/v2/automations/bulk-count-with-drafts',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkCountAutomationsWithDrafts;\n}\n\n/** Deletes a draft automation. */\nexport function deleteDraftAutomation(\n payload: object\n): RequestOptionsFactory<any> {\n function __deleteDraftAutomation({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.automations.v2.automation',\n method: 'DELETE' as any,\n methodFqn: 'wix.automations.v2.AutomationsService.DeleteDraftAutomation',\n packageName: PACKAGE_NAME,\n url: resolveWixAutomationsV2AutomationsServiceUrl({\n protoPath: '/v2/automations/drafts/{automationId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __deleteDraftAutomation;\n}\n\n/** Publishes a draft automation. This applies any changes to the live automation. */\nexport function publishDraftAutomation(\n payload: object\n): RequestOptionsFactory<any> {\n function __publishDraftAutomation({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.automations.v2.automation',\n method: 'POST' as any,\n methodFqn: 'wix.automations.v2.AutomationsService.PublishDraftAutomation',\n packageName: PACKAGE_NAME,\n url: resolveWixAutomationsV2AutomationsServiceUrl({\n protoPath: '/v2/automations/drafts/{automationId}/publish',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'automation.createdDate' },\n { path: 'automation.updatedDate' },\n { path: 'automation.draftUpdatedDate' },\n { path: 'automation.autoArchivePolicy.archiveDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __publishDraftAutomation;\n}\n\n/** Validates the specified automation. */\nexport function validateAutomation(\n payload: object\n): RequestOptionsFactory<any> {\n function __validateAutomation({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'automation.createdDate' },\n { path: 'automation.updatedDate' },\n { path: 'automation.draftUpdatedDate' },\n { path: 'automation.autoArchivePolicy.archiveDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.automations.v2.automation',\n method: 'POST' as any,\n methodFqn: 'wix.automations.v2.AutomationsService.ValidateAutomation',\n packageName: PACKAGE_NAME,\n url: resolveWixAutomationsV2AutomationsServiceUrl({\n protoPath: '/v2/automations/validate',\n data: serializedData,\n host,\n }),\n data: serializedData,\n };\n\n return metadata;\n }\n\n return __validateAutomation;\n}\n\n/** Validates the automation specified by ID. */\nexport function validateAutomationById(\n payload: object\n): RequestOptionsFactory<any> {\n function __validateAutomationById({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.automations.v2.automation',\n method: 'POST' as any,\n methodFqn: 'wix.automations.v2.AutomationsService.ValidateAutomationById',\n packageName: PACKAGE_NAME,\n url: resolveWixAutomationsV2AutomationsServiceUrl({\n protoPath: '/v2/automations/{automationId}/validate',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __validateAutomationById;\n}\n\n/** Gets the specified automation revision. */\nexport function getAutomationRevision(\n payload: object\n): RequestOptionsFactory<any> {\n function __getAutomationRevision({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.automations.v2.automation',\n method: 'GET' as any,\n methodFqn:\n 'wix.automations.v2.AutomationRevisionsService.GetAutomationRevision',\n packageName: PACKAGE_NAME,\n url: resolveWixAutomationsV2AutomationRevisionsServiceUrl({\n protoPath: '/v1/automation-revisions/{automationId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'automation.createdDate' },\n { path: 'automation.updatedDate' },\n { path: 'automation.draftUpdatedDate' },\n { path: 'automation.autoArchivePolicy.archiveDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getAutomationRevision;\n}\n","import * as ambassadorWixAutomationsV2Automation from './automations-v2-automation-automations-v-2.http.js';\nimport * as ambassadorWixAutomationsV2AutomationTypes from './automations-v2-automation-automations-v-2.types.js';\nimport * as ambassadorWixAutomationsV2AutomationUniversalTypes from './automations-v2-automation-automations-v-2.universal.js';\n\nexport type __PublicMethodMetaInfo<\n K = string,\n M = unknown,\n T = unknown,\n S = unknown,\n Q = unknown,\n R = unknown\n> = {\n getUrl: (context: any) => string;\n httpMethod: K;\n path: string;\n pathParams: M;\n __requestType: T;\n __originalRequestType: S;\n __responseType: Q;\n __originalResponseType: R;\n};\n\nexport function createAutomation(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixAutomationsV2AutomationUniversalTypes.CreateAutomationRequest,\n ambassadorWixAutomationsV2AutomationTypes.CreateAutomationRequest,\n ambassadorWixAutomationsV2AutomationUniversalTypes.CreateAutomationResponse,\n ambassadorWixAutomationsV2AutomationTypes.CreateAutomationResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixAutomationsV2Automation.createAutomation(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v2/automations',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function getAutomation(): __PublicMethodMetaInfo<\n 'GET',\n { automationId: string },\n ambassadorWixAutomationsV2AutomationUniversalTypes.GetAutomationRequest,\n ambassadorWixAutomationsV2AutomationTypes.GetAutomationRequest,\n ambassadorWixAutomationsV2AutomationUniversalTypes.GetAutomationResponse,\n ambassadorWixAutomationsV2AutomationTypes.GetAutomationResponse\n> {\n const payload = { automationId: ':automationId' } as any;\n\n const getRequestOptions =\n ambassadorWixAutomationsV2Automation.getAutomation(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v2/automations/{automationId}',\n pathParams: { automationId: 'automationId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function updateAutomation(): __PublicMethodMetaInfo<\n 'PATCH',\n { automationId: string },\n ambassadorWixAutomationsV2AutomationUniversalTypes.UpdateAutomationRequest,\n ambassadorWixAutomationsV2AutomationTypes.UpdateAutomationRequest,\n ambassadorWixAutomationsV2AutomationUniversalTypes.UpdateAutomationResponse,\n ambassadorWixAutomationsV2AutomationTypes.UpdateAutomationResponse\n> {\n const payload = { automation: { id: ':automationId' } } as any;\n\n const getRequestOptions =\n ambassadorWixAutomationsV2Automation.updateAutomation(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'PATCH',\n path: '/v2/automations/{automation.id}',\n pathParams: { automationId: 'automationId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function deleteAutomation(): __PublicMethodMetaInfo<\n 'DELETE',\n { automationId: string },\n ambassadorWixAutomationsV2AutomationUniversalTypes.DeleteAutomationRequest,\n ambassadorWixAutomationsV2AutomationTypes.DeleteAutomationRequest,\n ambassadorWixAutomationsV2AutomationUniversalTypes.DeleteAutomationResponse,\n ambassadorWixAutomationsV2AutomationTypes.DeleteAutomationResponse\n> {\n const payload = { automationId: ':automationId' } as any;\n\n const getRequestOptions =\n ambassadorWixAutomationsV2Automation.deleteAutomation(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'DELETE',\n path: '/v2/automations/{automationId}',\n pathParams: { automationId: 'automationId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function bulkDeleteAutomations(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixAutomationsV2AutomationUniversalTypes.BulkDeleteAutomationsRequest,\n ambassadorWixAutomationsV2AutomationTypes.BulkDeleteAutomationsRequest,\n ambassadorWixAutomationsV2AutomationUniversalTypes.BulkDeleteAutomationsResponse,\n ambassadorWixAutomationsV2AutomationTypes.BulkDeleteAutomationsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixAutomationsV2Automation.bulkDeleteAutomations(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v2/bulk/automations/delete',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function generatePreinstalledAutomation(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixAutomationsV2AutomationUniversalTypes.GeneratePreinstalledAutomationRequest,\n ambassadorWixAutomationsV2AutomationTypes.GeneratePreinstalledAutomationRequest,\n ambassadorWixAutomationsV2AutomationUniversalTypes.GeneratePreinstalledAutomationResponse,\n ambassadorWixAutomationsV2AutomationTypes.GeneratePreinstalledAutomationResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixAutomationsV2Automation.generatePreinstalledAutomation(\n payload\n );\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v2/preinstalled-automation/generate',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function queryAutomations(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixAutomationsV2AutomationUniversalTypes.QueryAutomationsRequest,\n ambassadorWixAutomationsV2AutomationTypes.QueryAutomationsRequest,\n ambassadorWixAutomationsV2AutomationUniversalTypes.QueryAutomationsResponse,\n ambassadorWixAutomationsV2AutomationTypes.QueryAutomationsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixAutomationsV2Automation.queryAutomations(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v2/automations/query',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function getAggregatedUsageInfo(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixAutomationsV2AutomationUniversalTypes.GetAggregatedUsageInfoRequest,\n ambassadorWixAutomationsV2AutomationTypes.GetAggregatedUsageInfoRequest,\n ambassadorWixAutomationsV2AutomationUniversalTypes.GetAggregatedUsageInfoResponse,\n ambassadorWixAutomationsV2AutomationTypes.GetAggregatedUsageInfoResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixAutomationsV2Automation.getAggregatedUsageInfo(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v2/automations/usage',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function copyAutomation(): __PublicMethodMetaInfo<\n 'POST',\n { automationId: string },\n ambassadorWixAutomationsV2AutomationUniversalTypes.CopyAutomationRequest,\n ambassadorWixAutomationsV2AutomationTypes.CopyAutomationRequest,\n ambassadorWixAutomationsV2AutomationUniversalTypes.CopyAutomationResponse,\n ambassadorWixAutomationsV2AutomationTypes.CopyAutomationResponse\n> {\n const payload = { automationId: ':automationId' } as any;\n\n const getRequestOptions =\n ambassadorWixAutomationsV2Automation.copyAutomation(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v2/automations/{automationId}/copy',\n pathParams: { automationId: 'automationId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function createDraftAutomation(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixAutomationsV2AutomationUniversalTypes.CreateDraftAutomationRequest,\n ambassadorWixAutomationsV2AutomationTypes.CreateDraftAutomationRequest,\n ambassadorWixAutomationsV2AutomationUniversalTypes.CreateDraftAutomationResponse,\n ambassadorWixAutomationsV2AutomationTypes.CreateDraftAutomationResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixAutomationsV2Automation.createDraftAutomation(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v2/automations/drafts',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function getOrCreateDraftAutomation(): __PublicMethodMetaInfo<\n 'POST',\n { originalAutomationId: string },\n ambassadorWixAutomationsV2AutomationUniversalTypes.GetOrCreateDraftAutomationRequest,\n ambassadorWixAutomationsV2AutomationTypes.GetOrCreateDraftAutomationRequest,\n ambassadorWixAutomationsV2AutomationUniversalTypes.GetOrCreateDraftAutomationResponse,\n ambassadorWixAutomationsV2AutomationTypes.GetOrCreateDraftAutomationResponse\n> {\n const payload = { originalAutomationId: ':originalAutomationId' } as any;\n\n const getRequestOptions =\n ambassadorWixAutomationsV2Automation.getOrCreateDraftAutomation(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v2/automations/drafts/get-or-create/original-automation-id/{originalAutomationId}',\n pathParams: { originalAutomationId: 'originalAutomationId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function updateDraftAutomation(): __PublicMethodMetaInfo<\n 'PATCH',\n { automationId: string },\n ambassadorWixAutomationsV2AutomationUniversalTypes.UpdateDraftAutomationRequest,\n ambassadorWixAutomationsV2AutomationTypes.UpdateDraftAutomationRequest,\n ambassadorWixAutomationsV2AutomationUniversalTypes.UpdateDraftAutomationResponse,\n ambassadorWixAutomationsV2AutomationTypes.UpdateDraftAutomationResponse\n> {\n const payload = { automation: { id: ':automationId' } } as any;\n\n const getRequestOptions =\n ambassadorWixAutomationsV2Automation.updateDraftAutomation(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'PATCH',\n path: '/v2/automations/drafts/{automation.id}',\n pathParams: { automationId: 'automationId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function queryAutomationsWithDrafts(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixAutomationsV2AutomationUniversalTypes.QueryAutomationsWithDraftsRequest,\n ambassadorWixAutomationsV2AutomationTypes.QueryAutomationsWithDraftsRequest,\n ambassadorWixAutomationsV2AutomationUniversalTypes.QueryAutomationsWithDraftsResponse,\n ambassadorWixAutomationsV2AutomationTypes.QueryAutomationsWithDraftsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixAutomationsV2Automation.queryAutomationsWithDrafts(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v2/automations/query-with-drafts',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function bulkCountAutomationsWithDrafts(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixAutomationsV2AutomationUniversalTypes.BulkCountAutomationsWithDraftsRequest,\n ambassadorWixAutomationsV2AutomationTypes.BulkCountAutomationsWithDraftsRequest,\n ambassadorWixAutomationsV2AutomationUniversalTypes.BulkCountAutomationsWithDraftsResponse,\n ambassadorWixAutomationsV2AutomationTypes.BulkCountAutomationsWithDraftsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixAutomationsV2Automation.bulkCountAutomationsWithDrafts(\n payload\n );\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v2/automations/bulk-count-with-drafts',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function deleteDraftAutomation(): __PublicMethodMetaInfo<\n 'DELETE',\n { automationId: string },\n ambassadorWixAutomationsV2AutomationUniversalTypes.DeleteDraftAutomationRequest,\n ambassadorWixAutomationsV2AutomationTypes.DeleteDraftAutomationRequest,\n ambassadorWixAutomationsV2AutomationUniversalTypes.DeleteDraftAutomationResponse,\n ambassadorWixAutomationsV2AutomationTypes.DeleteDraftAutomationResponse\n> {\n const payload = { automationId: ':automationId' } as any;\n\n const getRequestOptions =\n ambassadorWixAutomationsV2Automation.deleteDraftAutomation(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'DELETE',\n path: '/v2/automations/drafts/{automationId}',\n pathParams: { automationId: 'automationId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function publishDraftAutomation(): __PublicMethodMetaInfo<\n 'POST',\n { automationId: string },\n ambassadorWixAutomationsV2AutomationUniversalTypes.PublishDraftAutomationRequest,\n ambassadorWixAutomationsV2AutomationTypes.PublishDraftAutomationRequest,\n ambassadorWixAutomationsV2AutomationUniversalTypes.PublishDraftAutomationResponse,\n ambassadorWixAutomationsV2AutomationTypes.PublishDraftAutomationResponse\n> {\n const payload = { automationId: ':automationId' } as any;\n\n const getRequestOptions =\n ambassadorWixAutomationsV2Automation.publishDraftAutomation(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v2/automations/drafts/{automationId}/publish',\n pathParams: { automationId: 'automationId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function validateAutomation(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixAutomationsV2AutomationUniversalTypes.ValidateAutomationRequest,\n ambassadorWixAutomationsV2AutomationTypes.ValidateAutomationRequest,\n ambassadorWixAutomationsV2AutomationUniversalTypes.ValidateAutomationResponse,\n ambassadorWixAutomationsV2AutomationTypes.ValidateAutomationResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixAutomationsV2Automation.validateAutomation(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v2/automations/validate',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function validateAutomationById(): __PublicMethodMetaInfo<\n 'POST',\n { automationId: string },\n ambassadorWixAutomationsV2AutomationUniversalTypes.ValidateAutomationByIdRequest,\n ambassadorWixAutomationsV2AutomationTypes.ValidateAutomationByIdRequest,\n ambassadorWixAutomationsV2AutomationUniversalTypes.ValidateAutomationByIdResponse,\n ambassadorWixAutomationsV2AutomationTypes.ValidateAutomationByIdResponse\n> {\n const payload = { automationId: ':automationId' } as any;\n\n const getRequestOptions =\n ambassadorWixAutomationsV2Automation.validateAutomationById(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v2/automations/{automationId}/validate',\n pathParams: { automationId: 'automationId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function getAutomationRevision(): __PublicMethodMetaInfo<\n 'GET',\n { automationId: string },\n ambassadorWixAutomationsV2AutomationUniversalTypes.GetAutomationRevisionRequest,\n ambassadorWixAutomationsV2AutomationTypes.GetAutomationRevisionRequest,\n ambassadorWixAutomationsV2AutomationUniversalTypes.GetAutomationRevisionResponse,\n ambassadorWixAutomationsV2AutomationTypes.GetAutomationRevisionResponse\n> {\n const payload = { automationId: ':automationId' } as any;\n\n const getRequestOptions =\n ambassadorWixAutomationsV2Automation.getAutomationRevision(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v1/automation-revisions/{automationId}',\n pathParams: { automationId: 'automationId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA,wCAAAA;AAAA,EAAA,6BAAAC;AAAA,EAAA,sBAAAC;AAAA,EAAA,wBAAAC;AAAA,EAAA,6BAAAC;AAAA,EAAA,wBAAAC;AAAA,EAAA,6BAAAC;AAAA,EAAA,sCAAAC;AAAA,EAAA,8BAAAC;AAAA,EAAA,qBAAAC;AAAA,EAAA,6BAAAC;AAAA,EAAA,kCAAAC;AAAA,EAAA,8BAAAC;AAAA,EAAA,wBAAAC;AAAA,EAAA,kCAAAC;AAAA,EAAA,wBAAAC;AAAA,EAAA,6BAAAC;AAAA,EAAA,0BAAAC;AAAA,EAAA,8BAAAC;AAAA;AAAA;;;ACAA,0BAAkC;AAClC,uBAAqD;AACrD,IAAAC,oBAAqD;AACrD,wBAAqD;AACrD,6BAA+B;AAC/B,IAAAC,uBAA2B;AAI3B,SAAS,qDACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,wBAAwB;AAAA,MACtB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,oBAAoB;AAAA,MAClB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,mBAAmB;AAAA,MACjB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,sBAAsB;AAAA,MACpB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,GAAG;AAAA,MACD;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,EACF;AAEA,aAAO,iCA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CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,EAAE,cAAc,eAAe;AAAA,IAC3C,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["bulkCountAutomationsWithDrafts","bulkDeleteAutomations","copyAutomation","createAutomation","createDraftAutomation","deleteAutomation","deleteDraftAutomation","generatePreinstalledAutomation","getAggregatedUsageInfo","getAutomation","getAutomationRevision","getOrCreateDraftAutomation","publishDraftAutomation","queryAutomations","queryAutomationsWithDrafts","updateAutomation","updateDraftAutomation","validateAutomation","validateAutomationById","import_timestamp","import_rest_modules","payload","createAutomation","getAutomation","updateAutomation","deleteAutomation","bulkDeleteAutomations","generatePreinstalledAutomation","queryAutomations","getAggregatedUsageInfo","copyAutomation","createDraftAutomation","getOrCreateDraftAutomation","updateDraftAutomation","queryAutomationsWithDrafts","bulkCountAutomationsWithDrafts","deleteDraftAutomation","publishDraftAutomation","validateAutomation","validateAutomationById","getAutomationRevision"]}
|
|
1
|
+
{"version":3,"sources":["../../meta.ts","../../src/automations-v2-automation-automations-v-2.http.ts","../../src/automations-v2-automation-automations-v-2.meta.ts"],"sourcesContent":["export * from './src/automations-v2-automation-automations-v-2.meta.js';\n","import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformSDKFieldMaskToRESTFieldMask } from '@wix/sdk-runtime/transformations/field-mask';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveWixAutomationsV2AutomationRevisionsServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'manage._base_domain_': [\n {\n srcPath: '/automations-service',\n destPath: '',\n },\n {\n srcPath: '/_api/automations-service',\n destPath: '/api',\n },\n ],\n 'platform.rise.ai': [\n {\n srcPath: '/v2/automations',\n destPath: '',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/automations-service',\n destPath: '',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/automations-service',\n destPath: '',\n },\n ],\n _: [\n {\n srcPath: '/automations-service',\n destPath: '',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nfunction resolveWixAutomationsV2AutomationsServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'manage._base_domain_': [\n {\n srcPath: '/automations-service',\n destPath: '',\n },\n {\n srcPath: '/_api/automations-service',\n destPath: '/api',\n },\n ],\n 'platform.rise.ai': [\n {\n srcPath: '/v2/automations',\n destPath: '',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/automations-service',\n destPath: '',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/automations-service',\n destPath: '',\n },\n ],\n _: [\n {\n srcPath: '/automations-service',\n destPath: '',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_automations_automations-v-2';\n\n/** Creates an automation. */\nexport function createAutomation(payload: object): RequestOptionsFactory<any> {\n function __createAutomation({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'automation.createdDate' },\n { path: 'automation.updatedDate' },\n { path: 'automation.draftUpdatedDate' },\n { path: 'automation.autoArchivePolicy.archiveDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.automations.v2.automation',\n method: 'POST' as any,\n methodFqn: 'wix.automations.v2.AutomationsService.CreateAutomation',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixAutomationsV2AutomationsServiceUrl({\n protoPath: '/v2/automations',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'automation.createdDate' },\n { path: 'automation.updatedDate' },\n { path: 'automation.draftUpdatedDate' },\n { path: 'automation.autoArchivePolicy.archiveDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createAutomation;\n}\n\n/** Retrieves an automation by ID. */\nexport function getAutomation(payload: object): RequestOptionsFactory<any> {\n function __getAutomation({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.automations.v2.automation',\n method: 'GET' as any,\n methodFqn: 'wix.automations.v2.AutomationsService.GetAutomation',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixAutomationsV2AutomationsServiceUrl({\n protoPath: '/v2/automations/{automationId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'automation.createdDate' },\n { path: 'automation.updatedDate' },\n { path: 'automation.draftUpdatedDate' },\n { path: 'automation.autoArchivePolicy.archiveDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getAutomation;\n}\n\n/**\n * Updates the specified automation.\n *\n * When an automation is updated, its `revision` property is incremented by 1. When updating an automation, you must specify the current revision number.\n */\nexport function updateAutomation(payload: object): RequestOptionsFactory<any> {\n function __updateAutomation({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'fieldMask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'automation.createdDate' },\n { path: 'automation.updatedDate' },\n { path: 'automation.draftUpdatedDate' },\n { path: 'automation.autoArchivePolicy.archiveDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.automations.v2.automation',\n method: 'PATCH' as any,\n methodFqn: 'wix.automations.v2.AutomationsService.UpdateAutomation',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixAutomationsV2AutomationsServiceUrl({\n protoPath: '/v2/automations/{automation.id}',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'automation.createdDate' },\n { path: 'automation.updatedDate' },\n { path: 'automation.draftUpdatedDate' },\n { path: 'automation.autoArchivePolicy.archiveDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateAutomation;\n}\n\n/** Deletes the specified automation. */\nexport function deleteAutomation(payload: object): RequestOptionsFactory<any> {\n function __deleteAutomation({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.automations.v2.automation',\n method: 'DELETE' as any,\n methodFqn: 'wix.automations.v2.AutomationsService.DeleteAutomation',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixAutomationsV2AutomationsServiceUrl({\n protoPath: '/v2/automations/{automationId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __deleteAutomation;\n}\n\n/** Deletes one or more automations. */\nexport function bulkDeleteAutomations(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkDeleteAutomations({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.automations.v2.automation',\n method: 'POST' as any,\n methodFqn: 'wix.automations.v2.AutomationsService.BulkDeleteAutomations',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixAutomationsV2AutomationsServiceUrl({\n protoPath: '/v2/bulk/automations/delete',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkDeleteAutomations;\n}\n\n/**\n * Generates a preinstalled automation from another automation.\n *\n * Calls the action providers for changes needed to make a preinstalled automation, such as changes made to email template.\n *\n * > **Note**: You must have an account permission to edit an app.\n */\nexport function generatePreinstalledAutomation(\n payload: object\n): RequestOptionsFactory<any> {\n function __generatePreinstalledAutomation({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'automation.createdDate' },\n { path: 'automation.updatedDate' },\n { path: 'automation.draftUpdatedDate' },\n { path: 'automation.autoArchivePolicy.archiveDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.automations.v2.automation',\n method: 'POST' as any,\n methodFqn:\n 'wix.automations.v2.AutomationsService.GeneratePreinstalledAutomation',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixAutomationsV2AutomationsServiceUrl({\n protoPath: '/v2/preinstalled-automation/generate',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'automation.createdDate' },\n { path: 'automation.updatedDate' },\n { path: 'automation.draftUpdatedDate' },\n { path: 'automation.autoArchivePolicy.archiveDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __generatePreinstalledAutomation;\n}\n\n/**\n * Retrieves a list of automations. This includes both automations overridden on a site and preinstalled automations. If a preinstalled automation has been overridden on the site, the method returns the override automation.\n *\n * > **Note**: The method only returns automations by apps installed on the site.\n *\n * Learn more about [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language).\n */\nexport function queryAutomations(payload: object): RequestOptionsFactory<any> {\n function __queryAutomations({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.automations.v2.automation',\n method: 'POST' as any,\n methodFqn: 'wix.automations.v2.AutomationsService.QueryAutomations',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixAutomationsV2AutomationsServiceUrl({\n protoPath: '/v2/automations/query',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'automations.createdDate' },\n { path: 'automations.updatedDate' },\n { path: 'automations.draftUpdatedDate' },\n { path: 'automations.autoArchivePolicy.archiveDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __queryAutomations;\n}\n\n/** Get aggregated info */\nexport function getAggregatedUsageInfo(\n payload: object\n): RequestOptionsFactory<any> {\n function __getAggregatedUsageInfo({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.automations.v2.automation',\n method: 'GET' as any,\n methodFqn: 'wix.automations.v2.AutomationsService.GetAggregatedUsageInfo',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixAutomationsV2AutomationsServiceUrl({\n protoPath: '/v2/automations/usage',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload, true),\n };\n\n return metadata;\n }\n\n return __getAggregatedUsageInfo;\n}\n\n/**\n * Creates a copy of an action with a new ID, and changes the action's input mapping if necessary.\n *\n * The action copy isn't saved automatically. To save it, the user must perform an action\n * such as clicking the **Save** button.\n */\nexport function copyAutomation(payload: object): RequestOptionsFactory<any> {\n function __copyAutomation({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'automation.createdDate' },\n { path: 'automation.updatedDate' },\n { path: 'automation.draftUpdatedDate' },\n { path: 'automation.autoArchivePolicy.archiveDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.automations.v2.automation',\n method: 'POST' as any,\n methodFqn: 'wix.automations.v2.AutomationsService.CopyAutomation',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixAutomationsV2AutomationsServiceUrl({\n protoPath: '/v2/automations/{automationId}/copy',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'automation.createdDate' },\n { path: 'automation.updatedDate' },\n { path: 'automation.draftUpdatedDate' },\n { path: 'automation.autoArchivePolicy.archiveDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __copyAutomation;\n}\n\n/** Creates a draft automation. */\nexport function createDraftAutomation(\n payload: object\n): RequestOptionsFactory<any> {\n function __createDraftAutomation({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'automation.createdDate' },\n { path: 'automation.updatedDate' },\n { path: 'automation.draftUpdatedDate' },\n { path: 'automation.autoArchivePolicy.archiveDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.automations.v2.automation',\n method: 'POST' as any,\n methodFqn: 'wix.automations.v2.AutomationsService.CreateDraftAutomation',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixAutomationsV2AutomationsServiceUrl({\n protoPath: '/v2/automations/drafts',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'automation.createdDate' },\n { path: 'automation.updatedDate' },\n { path: 'automation.draftUpdatedDate' },\n { path: 'automation.autoArchivePolicy.archiveDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createDraftAutomation;\n}\n\n/**\n * Retrieves the draft of the specified automation. If a draft doesn't exist, the method creates one.\n *\n * > **Note**: If the specified automation is a draft, the method returns it.\n */\nexport function getOrCreateDraftAutomation(\n payload: object\n): RequestOptionsFactory<any> {\n function __getOrCreateDraftAutomation({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.automations.v2.automation',\n method: 'POST' as any,\n methodFqn:\n 'wix.automations.v2.AutomationsService.GetOrCreateDraftAutomation',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixAutomationsV2AutomationsServiceUrl({\n protoPath:\n '/v2/automations/drafts/get-or-create/original-automation-id/{originalAutomationId}',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'automation.createdDate' },\n { path: 'automation.updatedDate' },\n { path: 'automation.draftUpdatedDate' },\n { path: 'automation.autoArchivePolicy.archiveDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getOrCreateDraftAutomation;\n}\n\n/** Updates a draft automation. */\nexport function updateDraftAutomation(\n payload: object\n): RequestOptionsFactory<any> {\n function __updateDraftAutomation({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'fieldMask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'automation.createdDate' },\n { path: 'automation.updatedDate' },\n { path: 'automation.draftUpdatedDate' },\n { path: 'automation.autoArchivePolicy.archiveDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.automations.v2.automation',\n method: 'PATCH' as any,\n methodFqn: 'wix.automations.v2.AutomationsService.UpdateDraftAutomation',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixAutomationsV2AutomationsServiceUrl({\n protoPath: '/v2/automations/drafts/{automation.id}',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'automation.createdDate' },\n { path: 'automation.updatedDate' },\n { path: 'automation.draftUpdatedDate' },\n { path: 'automation.autoArchivePolicy.archiveDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateDraftAutomation;\n}\n\n/**\n * Retrieves a list of automations, including drafts. Max query filter depth is 3.\n *\n * Relevant automations for the query are returned. This includes automations created on the site and pre-installed automations.\n * If there's an existing override for a pre-installed automation, the override is returned in the query result.\n * The query only returns automations from apps that are installed on the site.\n *\n * - new drafts that are not related to existing automations will be returned in the list\n * - the response will contain a map of originalAutomationId => relatedDrafts\n *\n * To learn about working with _Query_ endpoints, see\n * [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language),\n * [Sorting and Paging](https://dev.wix.com/api/rest/getting-started/pagination),\n * and [Field Projection](https://dev.wix.com/api/rest/getting-started/field-projection).\n */\nexport function queryAutomationsWithDrafts(\n payload: object\n): RequestOptionsFactory<any> {\n function __queryAutomationsWithDrafts({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.automations.v2.automation',\n method: 'POST' as any,\n methodFqn:\n 'wix.automations.v2.AutomationsService.QueryAutomationsWithDrafts',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixAutomationsV2AutomationsServiceUrl({\n protoPath: '/v2/automations/query-with-drafts',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'automations.createdDate' },\n { path: 'automations.updatedDate' },\n { path: 'automations.draftUpdatedDate' },\n { path: 'automations.autoArchivePolicy.archiveDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __queryAutomationsWithDrafts;\n}\n\nexport function bulkCountAutomationsWithDrafts(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkCountAutomationsWithDrafts({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.automations.v2.automation',\n method: 'POST' as any,\n methodFqn:\n 'wix.automations.v2.AutomationsService.BulkCountAutomationsWithDrafts',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixAutomationsV2AutomationsServiceUrl({\n protoPath: '/v2/automations/bulk-count-with-drafts',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkCountAutomationsWithDrafts;\n}\n\n/** Deletes a draft automation. */\nexport function deleteDraftAutomation(\n payload: object\n): RequestOptionsFactory<any> {\n function __deleteDraftAutomation({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.automations.v2.automation',\n method: 'DELETE' as any,\n methodFqn: 'wix.automations.v2.AutomationsService.DeleteDraftAutomation',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixAutomationsV2AutomationsServiceUrl({\n protoPath: '/v2/automations/drafts/{automationId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __deleteDraftAutomation;\n}\n\n/** Publishes a draft automation. This applies any changes to the live automation. */\nexport function publishDraftAutomation(\n payload: object\n): RequestOptionsFactory<any> {\n function __publishDraftAutomation({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.automations.v2.automation',\n method: 'POST' as any,\n methodFqn: 'wix.automations.v2.AutomationsService.PublishDraftAutomation',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixAutomationsV2AutomationsServiceUrl({\n protoPath: '/v2/automations/drafts/{automationId}/publish',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'automation.createdDate' },\n { path: 'automation.updatedDate' },\n { path: 'automation.draftUpdatedDate' },\n { path: 'automation.autoArchivePolicy.archiveDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __publishDraftAutomation;\n}\n\n/** Validates the specified automation. */\nexport function validateAutomation(\n payload: object\n): RequestOptionsFactory<any> {\n function __validateAutomation({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [\n { path: 'automation.createdDate' },\n { path: 'automation.updatedDate' },\n { path: 'automation.draftUpdatedDate' },\n { path: 'automation.autoArchivePolicy.archiveDate' },\n ],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.automations.v2.automation',\n method: 'POST' as any,\n methodFqn: 'wix.automations.v2.AutomationsService.ValidateAutomation',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixAutomationsV2AutomationsServiceUrl({\n protoPath: '/v2/automations/validate',\n data: serializedData,\n host,\n }),\n data: serializedData,\n };\n\n return metadata;\n }\n\n return __validateAutomation;\n}\n\n/** Validates the automation specified by ID. */\nexport function validateAutomationById(\n payload: object\n): RequestOptionsFactory<any> {\n function __validateAutomationById({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.automations.v2.automation',\n method: 'POST' as any,\n methodFqn: 'wix.automations.v2.AutomationsService.ValidateAutomationById',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixAutomationsV2AutomationsServiceUrl({\n protoPath: '/v2/automations/{automationId}/validate',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __validateAutomationById;\n}\n\n/** Gets the specified automation revision. */\nexport function getAutomationRevision(\n payload: object\n): RequestOptionsFactory<any> {\n function __getAutomationRevision({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.automations.v2.automation',\n method: 'GET' as any,\n methodFqn:\n 'wix.automations.v2.AutomationRevisionsService.GetAutomationRevision',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixAutomationsV2AutomationRevisionsServiceUrl({\n protoPath: '/v1/automation-revisions/{automationId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'automation.createdDate' },\n { path: 'automation.updatedDate' },\n { path: 'automation.draftUpdatedDate' },\n { path: 'automation.autoArchivePolicy.archiveDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getAutomationRevision;\n}\n","import * as ambassadorWixAutomationsV2Automation from './automations-v2-automation-automations-v-2.http.js';\nimport * as ambassadorWixAutomationsV2AutomationTypes from './automations-v2-automation-automations-v-2.types.js';\nimport * as ambassadorWixAutomationsV2AutomationUniversalTypes from './automations-v2-automation-automations-v-2.universal.js';\n\nexport type __PublicMethodMetaInfo<\n K = string,\n M = unknown,\n T = unknown,\n S = unknown,\n Q = unknown,\n R = unknown\n> = {\n getUrl: (context: any) => string;\n httpMethod: K;\n path: string;\n pathParams: M;\n __requestType: T;\n __originalRequestType: S;\n __responseType: Q;\n __originalResponseType: R;\n};\n\nexport function createAutomation(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixAutomationsV2AutomationUniversalTypes.CreateAutomationRequest,\n ambassadorWixAutomationsV2AutomationTypes.CreateAutomationRequest,\n ambassadorWixAutomationsV2AutomationUniversalTypes.CreateAutomationResponse,\n ambassadorWixAutomationsV2AutomationTypes.CreateAutomationResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixAutomationsV2Automation.createAutomation(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v2/automations',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function getAutomation(): __PublicMethodMetaInfo<\n 'GET',\n { automationId: string },\n ambassadorWixAutomationsV2AutomationUniversalTypes.GetAutomationRequest,\n ambassadorWixAutomationsV2AutomationTypes.GetAutomationRequest,\n ambassadorWixAutomationsV2AutomationUniversalTypes.GetAutomationResponse,\n ambassadorWixAutomationsV2AutomationTypes.GetAutomationResponse\n> {\n const payload = { automationId: ':automationId' } as any;\n\n const getRequestOptions =\n ambassadorWixAutomationsV2Automation.getAutomation(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v2/automations/{automationId}',\n pathParams: { automationId: 'automationId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function updateAutomation(): __PublicMethodMetaInfo<\n 'PATCH',\n { automationId: string },\n ambassadorWixAutomationsV2AutomationUniversalTypes.UpdateAutomationRequest,\n ambassadorWixAutomationsV2AutomationTypes.UpdateAutomationRequest,\n ambassadorWixAutomationsV2AutomationUniversalTypes.UpdateAutomationResponse,\n ambassadorWixAutomationsV2AutomationTypes.UpdateAutomationResponse\n> {\n const payload = { automation: { id: ':automationId' } } as any;\n\n const getRequestOptions =\n ambassadorWixAutomationsV2Automation.updateAutomation(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'PATCH',\n path: '/v2/automations/{automation.id}',\n pathParams: { automationId: 'automationId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function deleteAutomation(): __PublicMethodMetaInfo<\n 'DELETE',\n { automationId: string },\n ambassadorWixAutomationsV2AutomationUniversalTypes.DeleteAutomationRequest,\n ambassadorWixAutomationsV2AutomationTypes.DeleteAutomationRequest,\n ambassadorWixAutomationsV2AutomationUniversalTypes.DeleteAutomationResponse,\n ambassadorWixAutomationsV2AutomationTypes.DeleteAutomationResponse\n> {\n const payload = { automationId: ':automationId' } as any;\n\n const getRequestOptions =\n ambassadorWixAutomationsV2Automation.deleteAutomation(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'DELETE',\n path: '/v2/automations/{automationId}',\n pathParams: { automationId: 'automationId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function bulkDeleteAutomations(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixAutomationsV2AutomationUniversalTypes.BulkDeleteAutomationsRequest,\n ambassadorWixAutomationsV2AutomationTypes.BulkDeleteAutomationsRequest,\n ambassadorWixAutomationsV2AutomationUniversalTypes.BulkDeleteAutomationsResponse,\n ambassadorWixAutomationsV2AutomationTypes.BulkDeleteAutomationsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixAutomationsV2Automation.bulkDeleteAutomations(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v2/bulk/automations/delete',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function generatePreinstalledAutomation(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixAutomationsV2AutomationUniversalTypes.GeneratePreinstalledAutomationRequest,\n ambassadorWixAutomationsV2AutomationTypes.GeneratePreinstalledAutomationRequest,\n ambassadorWixAutomationsV2AutomationUniversalTypes.GeneratePreinstalledAutomationResponse,\n ambassadorWixAutomationsV2AutomationTypes.GeneratePreinstalledAutomationResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixAutomationsV2Automation.generatePreinstalledAutomation(\n payload\n );\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v2/preinstalled-automation/generate',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function queryAutomations(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixAutomationsV2AutomationUniversalTypes.QueryAutomationsRequest,\n ambassadorWixAutomationsV2AutomationTypes.QueryAutomationsRequest,\n ambassadorWixAutomationsV2AutomationUniversalTypes.QueryAutomationsResponse,\n ambassadorWixAutomationsV2AutomationTypes.QueryAutomationsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixAutomationsV2Automation.queryAutomations(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v2/automations/query',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function getAggregatedUsageInfo(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixAutomationsV2AutomationUniversalTypes.GetAggregatedUsageInfoRequest,\n ambassadorWixAutomationsV2AutomationTypes.GetAggregatedUsageInfoRequest,\n ambassadorWixAutomationsV2AutomationUniversalTypes.GetAggregatedUsageInfoResponse,\n ambassadorWixAutomationsV2AutomationTypes.GetAggregatedUsageInfoResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixAutomationsV2Automation.getAggregatedUsageInfo(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v2/automations/usage',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function copyAutomation(): __PublicMethodMetaInfo<\n 'POST',\n { automationId: string },\n ambassadorWixAutomationsV2AutomationUniversalTypes.CopyAutomationRequest,\n ambassadorWixAutomationsV2AutomationTypes.CopyAutomationRequest,\n ambassadorWixAutomationsV2AutomationUniversalTypes.CopyAutomationResponse,\n ambassadorWixAutomationsV2AutomationTypes.CopyAutomationResponse\n> {\n const payload = { automationId: ':automationId' } as any;\n\n const getRequestOptions =\n ambassadorWixAutomationsV2Automation.copyAutomation(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v2/automations/{automationId}/copy',\n pathParams: { automationId: 'automationId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function createDraftAutomation(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixAutomationsV2AutomationUniversalTypes.CreateDraftAutomationRequest,\n ambassadorWixAutomationsV2AutomationTypes.CreateDraftAutomationRequest,\n ambassadorWixAutomationsV2AutomationUniversalTypes.CreateDraftAutomationResponse,\n ambassadorWixAutomationsV2AutomationTypes.CreateDraftAutomationResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixAutomationsV2Automation.createDraftAutomation(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v2/automations/drafts',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function getOrCreateDraftAutomation(): __PublicMethodMetaInfo<\n 'POST',\n { originalAutomationId: string },\n ambassadorWixAutomationsV2AutomationUniversalTypes.GetOrCreateDraftAutomationRequest,\n ambassadorWixAutomationsV2AutomationTypes.GetOrCreateDraftAutomationRequest,\n ambassadorWixAutomationsV2AutomationUniversalTypes.GetOrCreateDraftAutomationResponse,\n ambassadorWixAutomationsV2AutomationTypes.GetOrCreateDraftAutomationResponse\n> {\n const payload = { originalAutomationId: ':originalAutomationId' } as any;\n\n const getRequestOptions =\n ambassadorWixAutomationsV2Automation.getOrCreateDraftAutomation(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v2/automations/drafts/get-or-create/original-automation-id/{originalAutomationId}',\n pathParams: { originalAutomationId: 'originalAutomationId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function updateDraftAutomation(): __PublicMethodMetaInfo<\n 'PATCH',\n { automationId: string },\n ambassadorWixAutomationsV2AutomationUniversalTypes.UpdateDraftAutomationRequest,\n ambassadorWixAutomationsV2AutomationTypes.UpdateDraftAutomationRequest,\n ambassadorWixAutomationsV2AutomationUniversalTypes.UpdateDraftAutomationResponse,\n ambassadorWixAutomationsV2AutomationTypes.UpdateDraftAutomationResponse\n> {\n const payload = { automation: { id: ':automationId' } } as any;\n\n const getRequestOptions =\n ambassadorWixAutomationsV2Automation.updateDraftAutomation(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'PATCH',\n path: '/v2/automations/drafts/{automation.id}',\n pathParams: { automationId: 'automationId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function queryAutomationsWithDrafts(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixAutomationsV2AutomationUniversalTypes.QueryAutomationsWithDraftsRequest,\n ambassadorWixAutomationsV2AutomationTypes.QueryAutomationsWithDraftsRequest,\n ambassadorWixAutomationsV2AutomationUniversalTypes.QueryAutomationsWithDraftsResponse,\n ambassadorWixAutomationsV2AutomationTypes.QueryAutomationsWithDraftsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixAutomationsV2Automation.queryAutomationsWithDrafts(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v2/automations/query-with-drafts',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function bulkCountAutomationsWithDrafts(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixAutomationsV2AutomationUniversalTypes.BulkCountAutomationsWithDraftsRequest,\n ambassadorWixAutomationsV2AutomationTypes.BulkCountAutomationsWithDraftsRequest,\n ambassadorWixAutomationsV2AutomationUniversalTypes.BulkCountAutomationsWithDraftsResponse,\n ambassadorWixAutomationsV2AutomationTypes.BulkCountAutomationsWithDraftsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixAutomationsV2Automation.bulkCountAutomationsWithDrafts(\n payload\n );\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v2/automations/bulk-count-with-drafts',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function deleteDraftAutomation(): __PublicMethodMetaInfo<\n 'DELETE',\n { automationId: string },\n ambassadorWixAutomationsV2AutomationUniversalTypes.DeleteDraftAutomationRequest,\n ambassadorWixAutomationsV2AutomationTypes.DeleteDraftAutomationRequest,\n ambassadorWixAutomationsV2AutomationUniversalTypes.DeleteDraftAutomationResponse,\n ambassadorWixAutomationsV2AutomationTypes.DeleteDraftAutomationResponse\n> {\n const payload = { automationId: ':automationId' } as any;\n\n const getRequestOptions =\n ambassadorWixAutomationsV2Automation.deleteDraftAutomation(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'DELETE',\n path: '/v2/automations/drafts/{automationId}',\n pathParams: { automationId: 'automationId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function publishDraftAutomation(): __PublicMethodMetaInfo<\n 'POST',\n { automationId: string },\n ambassadorWixAutomationsV2AutomationUniversalTypes.PublishDraftAutomationRequest,\n ambassadorWixAutomationsV2AutomationTypes.PublishDraftAutomationRequest,\n ambassadorWixAutomationsV2AutomationUniversalTypes.PublishDraftAutomationResponse,\n ambassadorWixAutomationsV2AutomationTypes.PublishDraftAutomationResponse\n> {\n const payload = { automationId: ':automationId' } as any;\n\n const getRequestOptions =\n ambassadorWixAutomationsV2Automation.publishDraftAutomation(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v2/automations/drafts/{automationId}/publish',\n pathParams: { automationId: 'automationId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function validateAutomation(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixAutomationsV2AutomationUniversalTypes.ValidateAutomationRequest,\n ambassadorWixAutomationsV2AutomationTypes.ValidateAutomationRequest,\n ambassadorWixAutomationsV2AutomationUniversalTypes.ValidateAutomationResponse,\n ambassadorWixAutomationsV2AutomationTypes.ValidateAutomationResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixAutomationsV2Automation.validateAutomation(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v2/automations/validate',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function validateAutomationById(): __PublicMethodMetaInfo<\n 'POST',\n { automationId: string },\n ambassadorWixAutomationsV2AutomationUniversalTypes.ValidateAutomationByIdRequest,\n ambassadorWixAutomationsV2AutomationTypes.ValidateAutomationByIdRequest,\n ambassadorWixAutomationsV2AutomationUniversalTypes.ValidateAutomationByIdResponse,\n ambassadorWixAutomationsV2AutomationTypes.ValidateAutomationByIdResponse\n> {\n const payload = { automationId: ':automationId' } as any;\n\n const getRequestOptions =\n ambassadorWixAutomationsV2Automation.validateAutomationById(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v2/automations/{automationId}/validate',\n pathParams: { automationId: 'automationId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function getAutomationRevision(): __PublicMethodMetaInfo<\n 'GET',\n { automationId: string },\n ambassadorWixAutomationsV2AutomationUniversalTypes.GetAutomationRevisionRequest,\n ambassadorWixAutomationsV2AutomationTypes.GetAutomationRevisionRequest,\n ambassadorWixAutomationsV2AutomationUniversalTypes.GetAutomationRevisionResponse,\n ambassadorWixAutomationsV2AutomationTypes.GetAutomationRevisionResponse\n> {\n const payload = { automationId: ':automationId' } as any;\n\n const getRequestOptions =\n ambassadorWixAutomationsV2Automation.getAutomationRevision(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v1/automation-revisions/{automationId}',\n pathParams: { automationId: 'automationId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA,wCAAAA;AAAA,EAAA,6BAAAC;AAAA,EAAA,sBAAAC;AAAA,EAAA,wBAAAC;AAAA,EAAA,6BAAAC;AAAA,EAAA,wBAAAC;AAAA,EAAA,6BAAAC;AAAA,EAAA,sCAAAC;AAAA,EAAA,8BAAAC;AAAA,EAAA,qBAAAC;AAAA,EAAA,6BAAAC;AAAA,EAAA,kCAAAC;AAAA,EAAA,8BAAAC;AAAA,EAAA,wBAAAC;AAAA,EAAA,kCAAAC;AAAA,EAAA,wBAAAC;AAAA,EAAA,6BAAAC;AAAA,EAAA,0BAAAC;AAAA,EAAA,8BAAAC;AAAA;AAAA;;;ACAA,0BAAkC;AAClC,uBAAqD;AACrD,IAAAC,oBAAqD;AACrD,wBAAqD;AACrD,6BAA+B;AAC/B,IAAAC,uBAA2B;AAI3B,SAAS,qDACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,wBAAwB;A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IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,EAAE,cAAc,eAAe;AAAA,IAC3C,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,yBAOd;AACA,QAAM,UAAU,EAAE,cAAc,gBAAgB;AAEhD,QAAM,oBACiC,sBAAsB,OAAO;AAEpE,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,EAAE,cAAc,eAAe;AAAA,IAC3C,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["bulkCountAutomationsWithDrafts","bulkDeleteAutomations","copyAutomation","createAutomation","createDraftAutomation","deleteAutomation","deleteDraftAutomation","generatePreinstalledAutomation","getAggregatedUsageInfo","getAutomation","getAutomationRevision","getOrCreateDraftAutomation","publishDraftAutomation","queryAutomations","queryAutomationsWithDrafts","updateAutomation","updateDraftAutomation","validateAutomation","validateAutomationById","import_timestamp","import_rest_modules","payload","createAutomation","getAutomation","updateAutomation","deleteAutomation","bulkDeleteAutomations","generatePreinstalledAutomation","queryAutomations","getAggregatedUsageInfo","copyAutomation","createDraftAutomation","getOrCreateDraftAutomation","updateDraftAutomation","queryAutomationsWithDrafts","bulkCountAutomationsWithDrafts","deleteDraftAutomation","publishDraftAutomation","validateAutomation","validateAutomationById","getAutomationRevision"]}
|