@wix/auto_sdk_automations_automations-v-2 1.0.44 → 1.0.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.js +57 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.js +57 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +1077 -1
- package/build/cjs/meta.js +295 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +57 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.mjs +57 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +1077 -1
- package/build/es/meta.mjs +272 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js +57 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.js +57 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +1077 -1
- package/build/internal/cjs/meta.js +295 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs +57 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.mjs +57 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +1077 -1
- package/build/internal/es/meta.mjs +272 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +3 -3
|
@@ -20,6 +20,29 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
20
20
|
// meta.ts
|
|
21
21
|
var meta_exports = {};
|
|
22
22
|
__export(meta_exports, {
|
|
23
|
+
ActionErrorTypeOriginal: () => ActionErrorType,
|
|
24
|
+
AutomationErrorTypeOriginal: () => AutomationErrorType,
|
|
25
|
+
AutomationValidationErrorValidationErrorTypeOriginal: () => AutomationValidationErrorValidationErrorType,
|
|
26
|
+
DeleteStatusOriginal: () => DeleteStatus,
|
|
27
|
+
DomainOriginal: () => Domain,
|
|
28
|
+
LanguageOriginal: () => Language,
|
|
29
|
+
NamespaceOriginal: () => Namespace,
|
|
30
|
+
OperatorOriginal: () => Operator,
|
|
31
|
+
OriginOriginal: () => Origin,
|
|
32
|
+
RequestedFieldsOriginal: () => RequestedFields,
|
|
33
|
+
SeverityOriginal: () => Severity,
|
|
34
|
+
SiteCreatedContextOriginal: () => SiteCreatedContext,
|
|
35
|
+
SortOrderOriginal: () => SortOrder,
|
|
36
|
+
StateOriginal: () => State,
|
|
37
|
+
StatusOriginal: () => Status,
|
|
38
|
+
TimeUnitOriginal: () => TimeUnit,
|
|
39
|
+
TriggerErrorTypeOriginal: () => TriggerErrorType,
|
|
40
|
+
TriggerValidationErrorValidationErrorTypeOriginal: () => TriggerValidationErrorValidationErrorType,
|
|
41
|
+
TypeOriginal: () => Type,
|
|
42
|
+
ValidationErrorSeverityOriginal: () => ValidationErrorSeverity,
|
|
43
|
+
ValidationErrorTypeOriginal: () => ValidationErrorType,
|
|
44
|
+
ValidationResultStatusOriginal: () => ValidationResultStatus,
|
|
45
|
+
WebhookIdentityTypeOriginal: () => WebhookIdentityType,
|
|
23
46
|
bulkCountAutomationsWithDrafts: () => bulkCountAutomationsWithDrafts2,
|
|
24
47
|
bulkDeleteAutomations: () => bulkDeleteAutomations2,
|
|
25
48
|
copyAutomation: () => copyAutomation2,
|
|
@@ -146,6 +169,9 @@ function createAutomation(payload) {
|
|
|
146
169
|
method: "POST",
|
|
147
170
|
methodFqn: "wix.automations.v2.AutomationsService.CreateAutomation",
|
|
148
171
|
packageName: PACKAGE_NAME,
|
|
172
|
+
migrationOptions: {
|
|
173
|
+
optInTransformResponse: true
|
|
174
|
+
},
|
|
149
175
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
150
176
|
protoPath: "/v2/automations",
|
|
151
177
|
data: serializedData,
|
|
@@ -175,6 +201,9 @@ function getAutomation(payload) {
|
|
|
175
201
|
method: "GET",
|
|
176
202
|
methodFqn: "wix.automations.v2.AutomationsService.GetAutomation",
|
|
177
203
|
packageName: PACKAGE_NAME,
|
|
204
|
+
migrationOptions: {
|
|
205
|
+
optInTransformResponse: true
|
|
206
|
+
},
|
|
178
207
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
179
208
|
protoPath: "/v2/automations/{automationId}",
|
|
180
209
|
data: payload,
|
|
@@ -219,6 +248,9 @@ function updateAutomation(payload) {
|
|
|
219
248
|
method: "PATCH",
|
|
220
249
|
methodFqn: "wix.automations.v2.AutomationsService.UpdateAutomation",
|
|
221
250
|
packageName: PACKAGE_NAME,
|
|
251
|
+
migrationOptions: {
|
|
252
|
+
optInTransformResponse: true
|
|
253
|
+
},
|
|
222
254
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
223
255
|
protoPath: "/v2/automations/{automation.id}",
|
|
224
256
|
data: serializedData,
|
|
@@ -248,6 +280,9 @@ function deleteAutomation(payload) {
|
|
|
248
280
|
method: "DELETE",
|
|
249
281
|
methodFqn: "wix.automations.v2.AutomationsService.DeleteAutomation",
|
|
250
282
|
packageName: PACKAGE_NAME,
|
|
283
|
+
migrationOptions: {
|
|
284
|
+
optInTransformResponse: true
|
|
285
|
+
},
|
|
251
286
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
252
287
|
protoPath: "/v2/automations/{automationId}",
|
|
253
288
|
data: payload,
|
|
@@ -266,6 +301,9 @@ function bulkDeleteAutomations(payload) {
|
|
|
266
301
|
method: "POST",
|
|
267
302
|
methodFqn: "wix.automations.v2.AutomationsService.BulkDeleteAutomations",
|
|
268
303
|
packageName: PACKAGE_NAME,
|
|
304
|
+
migrationOptions: {
|
|
305
|
+
optInTransformResponse: true
|
|
306
|
+
},
|
|
269
307
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
270
308
|
protoPath: "/v2/bulk/automations/delete",
|
|
271
309
|
data: payload,
|
|
@@ -295,6 +333,9 @@ function generatePreinstalledAutomation(payload) {
|
|
|
295
333
|
method: "POST",
|
|
296
334
|
methodFqn: "wix.automations.v2.AutomationsService.GeneratePreinstalledAutomation",
|
|
297
335
|
packageName: PACKAGE_NAME,
|
|
336
|
+
migrationOptions: {
|
|
337
|
+
optInTransformResponse: true
|
|
338
|
+
},
|
|
298
339
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
299
340
|
protoPath: "/v2/preinstalled-automation/generate",
|
|
300
341
|
data: serializedData,
|
|
@@ -324,6 +365,9 @@ function queryAutomations(payload) {
|
|
|
324
365
|
method: "POST",
|
|
325
366
|
methodFqn: "wix.automations.v2.AutomationsService.QueryAutomations",
|
|
326
367
|
packageName: PACKAGE_NAME,
|
|
368
|
+
migrationOptions: {
|
|
369
|
+
optInTransformResponse: true
|
|
370
|
+
},
|
|
327
371
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
328
372
|
protoPath: "/v2/automations/query",
|
|
329
373
|
data: payload,
|
|
@@ -353,6 +397,9 @@ function getAggregatedUsageInfo(payload) {
|
|
|
353
397
|
method: "GET",
|
|
354
398
|
methodFqn: "wix.automations.v2.AutomationsService.GetAggregatedUsageInfo",
|
|
355
399
|
packageName: PACKAGE_NAME,
|
|
400
|
+
migrationOptions: {
|
|
401
|
+
optInTransformResponse: true
|
|
402
|
+
},
|
|
356
403
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
357
404
|
protoPath: "/v2/automations/usage",
|
|
358
405
|
data: payload,
|
|
@@ -382,6 +429,9 @@ function copyAutomation(payload) {
|
|
|
382
429
|
method: "POST",
|
|
383
430
|
methodFqn: "wix.automations.v2.AutomationsService.CopyAutomation",
|
|
384
431
|
packageName: PACKAGE_NAME,
|
|
432
|
+
migrationOptions: {
|
|
433
|
+
optInTransformResponse: true
|
|
434
|
+
},
|
|
385
435
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
386
436
|
protoPath: "/v2/automations/{automationId}/copy",
|
|
387
437
|
data: serializedData,
|
|
@@ -422,6 +472,9 @@ function createDraftAutomation(payload) {
|
|
|
422
472
|
method: "POST",
|
|
423
473
|
methodFqn: "wix.automations.v2.AutomationsService.CreateDraftAutomation",
|
|
424
474
|
packageName: PACKAGE_NAME,
|
|
475
|
+
migrationOptions: {
|
|
476
|
+
optInTransformResponse: true
|
|
477
|
+
},
|
|
425
478
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
426
479
|
protoPath: "/v2/automations/drafts",
|
|
427
480
|
data: serializedData,
|
|
@@ -451,6 +504,9 @@ function getOrCreateDraftAutomation(payload) {
|
|
|
451
504
|
method: "POST",
|
|
452
505
|
methodFqn: "wix.automations.v2.AutomationsService.GetOrCreateDraftAutomation",
|
|
453
506
|
packageName: PACKAGE_NAME,
|
|
507
|
+
migrationOptions: {
|
|
508
|
+
optInTransformResponse: true
|
|
509
|
+
},
|
|
454
510
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
455
511
|
protoPath: "/v2/automations/drafts/get-or-create/original-automation-id/{originalAutomationId}",
|
|
456
512
|
data: payload,
|
|
@@ -495,6 +551,9 @@ function updateDraftAutomation(payload) {
|
|
|
495
551
|
method: "PATCH",
|
|
496
552
|
methodFqn: "wix.automations.v2.AutomationsService.UpdateDraftAutomation",
|
|
497
553
|
packageName: PACKAGE_NAME,
|
|
554
|
+
migrationOptions: {
|
|
555
|
+
optInTransformResponse: true
|
|
556
|
+
},
|
|
498
557
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
499
558
|
protoPath: "/v2/automations/drafts/{automation.id}",
|
|
500
559
|
data: serializedData,
|
|
@@ -524,6 +583,9 @@ function queryAutomationsWithDrafts(payload) {
|
|
|
524
583
|
method: "POST",
|
|
525
584
|
methodFqn: "wix.automations.v2.AutomationsService.QueryAutomationsWithDrafts",
|
|
526
585
|
packageName: PACKAGE_NAME,
|
|
586
|
+
migrationOptions: {
|
|
587
|
+
optInTransformResponse: true
|
|
588
|
+
},
|
|
527
589
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
528
590
|
protoPath: "/v2/automations/query-with-drafts",
|
|
529
591
|
data: payload,
|
|
@@ -553,6 +615,9 @@ function bulkCountAutomationsWithDrafts(payload) {
|
|
|
553
615
|
method: "POST",
|
|
554
616
|
methodFqn: "wix.automations.v2.AutomationsService.BulkCountAutomationsWithDrafts",
|
|
555
617
|
packageName: PACKAGE_NAME,
|
|
618
|
+
migrationOptions: {
|
|
619
|
+
optInTransformResponse: true
|
|
620
|
+
},
|
|
556
621
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
557
622
|
protoPath: "/v2/automations/bulk-count-with-drafts",
|
|
558
623
|
data: payload,
|
|
@@ -571,6 +636,9 @@ function deleteDraftAutomation(payload) {
|
|
|
571
636
|
method: "DELETE",
|
|
572
637
|
methodFqn: "wix.automations.v2.AutomationsService.DeleteDraftAutomation",
|
|
573
638
|
packageName: PACKAGE_NAME,
|
|
639
|
+
migrationOptions: {
|
|
640
|
+
optInTransformResponse: true
|
|
641
|
+
},
|
|
574
642
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
575
643
|
protoPath: "/v2/automations/drafts/{automationId}",
|
|
576
644
|
data: payload,
|
|
@@ -589,6 +657,9 @@ function publishDraftAutomation(payload) {
|
|
|
589
657
|
method: "POST",
|
|
590
658
|
methodFqn: "wix.automations.v2.AutomationsService.PublishDraftAutomation",
|
|
591
659
|
packageName: PACKAGE_NAME,
|
|
660
|
+
migrationOptions: {
|
|
661
|
+
optInTransformResponse: true
|
|
662
|
+
},
|
|
592
663
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
593
664
|
protoPath: "/v2/automations/drafts/{automationId}/publish",
|
|
594
665
|
data: payload,
|
|
@@ -629,6 +700,9 @@ function validateAutomation(payload) {
|
|
|
629
700
|
method: "POST",
|
|
630
701
|
methodFqn: "wix.automations.v2.AutomationsService.ValidateAutomation",
|
|
631
702
|
packageName: PACKAGE_NAME,
|
|
703
|
+
migrationOptions: {
|
|
704
|
+
optInTransformResponse: true
|
|
705
|
+
},
|
|
632
706
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
633
707
|
protoPath: "/v2/automations/validate",
|
|
634
708
|
data: serializedData,
|
|
@@ -647,6 +721,9 @@ function validateAutomationById(payload) {
|
|
|
647
721
|
method: "POST",
|
|
648
722
|
methodFqn: "wix.automations.v2.AutomationsService.ValidateAutomationById",
|
|
649
723
|
packageName: PACKAGE_NAME,
|
|
724
|
+
migrationOptions: {
|
|
725
|
+
optInTransformResponse: true
|
|
726
|
+
},
|
|
650
727
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
651
728
|
protoPath: "/v2/automations/{automationId}/validate",
|
|
652
729
|
data: payload,
|
|
@@ -665,6 +742,9 @@ function getAutomationRevision(payload) {
|
|
|
665
742
|
method: "GET",
|
|
666
743
|
methodFqn: "wix.automations.v2.AutomationRevisionsService.GetAutomationRevision",
|
|
667
744
|
packageName: PACKAGE_NAME,
|
|
745
|
+
migrationOptions: {
|
|
746
|
+
optInTransformResponse: true
|
|
747
|
+
},
|
|
668
748
|
url: resolveWixAutomationsV2AutomationRevisionsServiceUrl({
|
|
669
749
|
protoPath: "/v1/automation-revisions/{automationId}",
|
|
670
750
|
data: payload,
|
|
@@ -688,6 +768,198 @@ function getAutomationRevision(payload) {
|
|
|
688
768
|
return __getAutomationRevision;
|
|
689
769
|
}
|
|
690
770
|
|
|
771
|
+
// src/automations-v2-automation-automations-v-2.types.ts
|
|
772
|
+
var Domain = /* @__PURE__ */ ((Domain2) => {
|
|
773
|
+
Domain2["USER"] = "USER";
|
|
774
|
+
Domain2["WIX"] = "WIX";
|
|
775
|
+
Domain2["WIX_ACCOUNT"] = "WIX_ACCOUNT";
|
|
776
|
+
return Domain2;
|
|
777
|
+
})(Domain || {});
|
|
778
|
+
var TimeUnit = /* @__PURE__ */ ((TimeUnit2) => {
|
|
779
|
+
TimeUnit2["UNKNOWN_TIME_UNIT"] = "UNKNOWN_TIME_UNIT";
|
|
780
|
+
TimeUnit2["MINUTES"] = "MINUTES";
|
|
781
|
+
TimeUnit2["HOURS"] = "HOURS";
|
|
782
|
+
TimeUnit2["DAYS"] = "DAYS";
|
|
783
|
+
TimeUnit2["WEEKS"] = "WEEKS";
|
|
784
|
+
TimeUnit2["MONTHS"] = "MONTHS";
|
|
785
|
+
return TimeUnit2;
|
|
786
|
+
})(TimeUnit || {});
|
|
787
|
+
var Operator = /* @__PURE__ */ ((Operator2) => {
|
|
788
|
+
Operator2["UNKNOWN_OPERATOR"] = "UNKNOWN_OPERATOR";
|
|
789
|
+
Operator2["OR"] = "OR";
|
|
790
|
+
Operator2["AND"] = "AND";
|
|
791
|
+
return Operator2;
|
|
792
|
+
})(Operator || {});
|
|
793
|
+
var Language = /* @__PURE__ */ ((Language2) => {
|
|
794
|
+
Language2["UNKNOWN_LANGUAGE"] = "UNKNOWN_LANGUAGE";
|
|
795
|
+
Language2["JAVASCRIPT"] = "JAVASCRIPT";
|
|
796
|
+
return Language2;
|
|
797
|
+
})(Language || {});
|
|
798
|
+
var Type = /* @__PURE__ */ ((Type2) => {
|
|
799
|
+
Type2["UNKNOWN_ACTION_TYPE"] = "UNKNOWN_ACTION_TYPE";
|
|
800
|
+
Type2["APP_DEFINED"] = "APP_DEFINED";
|
|
801
|
+
Type2["CONDITION"] = "CONDITION";
|
|
802
|
+
Type2["DELAY"] = "DELAY";
|
|
803
|
+
Type2["RATE_LIMIT"] = "RATE_LIMIT";
|
|
804
|
+
return Type2;
|
|
805
|
+
})(Type || {});
|
|
806
|
+
var Status = /* @__PURE__ */ ((Status2) => {
|
|
807
|
+
Status2["UNKNOWN_STATUS"] = "UNKNOWN_STATUS";
|
|
808
|
+
Status2["ACTIVE"] = "ACTIVE";
|
|
809
|
+
Status2["INACTIVE"] = "INACTIVE";
|
|
810
|
+
return Status2;
|
|
811
|
+
})(Status || {});
|
|
812
|
+
var Origin = /* @__PURE__ */ ((Origin2) => {
|
|
813
|
+
Origin2["UNKNOWN_ORIGIN"] = "UNKNOWN_ORIGIN";
|
|
814
|
+
Origin2["USER"] = "USER";
|
|
815
|
+
Origin2["APPLICATION"] = "APPLICATION";
|
|
816
|
+
Origin2["PREINSTALLED"] = "PREINSTALLED";
|
|
817
|
+
return Origin2;
|
|
818
|
+
})(Origin || {});
|
|
819
|
+
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
820
|
+
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
821
|
+
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
822
|
+
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
823
|
+
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
824
|
+
WebhookIdentityType2["APP"] = "APP";
|
|
825
|
+
return WebhookIdentityType2;
|
|
826
|
+
})(WebhookIdentityType || {});
|
|
827
|
+
var RequestedFields = /* @__PURE__ */ ((RequestedFields2) => {
|
|
828
|
+
RequestedFields2["UNKNOWN_REQUESTED_FIELD"] = "UNKNOWN_REQUESTED_FIELD";
|
|
829
|
+
RequestedFields2["OVERRIDE_SCHEMA"] = "OVERRIDE_SCHEMA";
|
|
830
|
+
return RequestedFields2;
|
|
831
|
+
})(RequestedFields || {});
|
|
832
|
+
var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
833
|
+
SortOrder2["ASC"] = "ASC";
|
|
834
|
+
SortOrder2["DESC"] = "DESC";
|
|
835
|
+
return SortOrder2;
|
|
836
|
+
})(SortOrder || {});
|
|
837
|
+
var State = /* @__PURE__ */ ((State2) => {
|
|
838
|
+
State2["UNKNOWN"] = "UNKNOWN";
|
|
839
|
+
State2["ENABLED"] = "ENABLED";
|
|
840
|
+
State2["DISABLED"] = "DISABLED";
|
|
841
|
+
State2["PENDING"] = "PENDING";
|
|
842
|
+
State2["DEMO"] = "DEMO";
|
|
843
|
+
return State2;
|
|
844
|
+
})(State || {});
|
|
845
|
+
var SiteCreatedContext = /* @__PURE__ */ ((SiteCreatedContext2) => {
|
|
846
|
+
SiteCreatedContext2["OTHER"] = "OTHER";
|
|
847
|
+
SiteCreatedContext2["FROM_TEMPLATE"] = "FROM_TEMPLATE";
|
|
848
|
+
SiteCreatedContext2["DUPLICATE_BY_SITE_TRANSFER"] = "DUPLICATE_BY_SITE_TRANSFER";
|
|
849
|
+
SiteCreatedContext2["DUPLICATE"] = "DUPLICATE";
|
|
850
|
+
SiteCreatedContext2["OLD_SITE_TRANSFER"] = "OLD_SITE_TRANSFER";
|
|
851
|
+
SiteCreatedContext2["FLASH"] = "FLASH";
|
|
852
|
+
return SiteCreatedContext2;
|
|
853
|
+
})(SiteCreatedContext || {});
|
|
854
|
+
var Namespace = /* @__PURE__ */ ((Namespace2) => {
|
|
855
|
+
Namespace2["UNKNOWN_NAMESPACE"] = "UNKNOWN_NAMESPACE";
|
|
856
|
+
Namespace2["WIX"] = "WIX";
|
|
857
|
+
Namespace2["SHOUT_OUT"] = "SHOUT_OUT";
|
|
858
|
+
Namespace2["ALBUMS"] = "ALBUMS";
|
|
859
|
+
Namespace2["WIX_STORES_TEST_DRIVE"] = "WIX_STORES_TEST_DRIVE";
|
|
860
|
+
Namespace2["HOTELS"] = "HOTELS";
|
|
861
|
+
Namespace2["CLUBS"] = "CLUBS";
|
|
862
|
+
Namespace2["ONBOARDING_DRAFT"] = "ONBOARDING_DRAFT";
|
|
863
|
+
Namespace2["DEV_SITE"] = "DEV_SITE";
|
|
864
|
+
Namespace2["LOGOS"] = "LOGOS";
|
|
865
|
+
Namespace2["VIDEO_MAKER"] = "VIDEO_MAKER";
|
|
866
|
+
Namespace2["PARTNER_DASHBOARD"] = "PARTNER_DASHBOARD";
|
|
867
|
+
Namespace2["DEV_CENTER_COMPANY"] = "DEV_CENTER_COMPANY";
|
|
868
|
+
Namespace2["HTML_DRAFT"] = "HTML_DRAFT";
|
|
869
|
+
Namespace2["SITELESS_BUSINESS"] = "SITELESS_BUSINESS";
|
|
870
|
+
Namespace2["CREATOR_ECONOMY"] = "CREATOR_ECONOMY";
|
|
871
|
+
Namespace2["DASHBOARD_FIRST"] = "DASHBOARD_FIRST";
|
|
872
|
+
Namespace2["ANYWHERE"] = "ANYWHERE";
|
|
873
|
+
Namespace2["HEADLESS"] = "HEADLESS";
|
|
874
|
+
Namespace2["ACCOUNT_MASTER_CMS"] = "ACCOUNT_MASTER_CMS";
|
|
875
|
+
Namespace2["RISE"] = "RISE";
|
|
876
|
+
Namespace2["BRANDED_FIRST"] = "BRANDED_FIRST";
|
|
877
|
+
Namespace2["NOWNIA"] = "NOWNIA";
|
|
878
|
+
Namespace2["UGC_TEMPLATE"] = "UGC_TEMPLATE";
|
|
879
|
+
Namespace2["CODUX"] = "CODUX";
|
|
880
|
+
Namespace2["MEDIA_DESIGN_CREATOR"] = "MEDIA_DESIGN_CREATOR";
|
|
881
|
+
Namespace2["SHARED_BLOG_ENTERPRISE"] = "SHARED_BLOG_ENTERPRISE";
|
|
882
|
+
Namespace2["STANDALONE_FORMS"] = "STANDALONE_FORMS";
|
|
883
|
+
Namespace2["STANDALONE_EVENTS"] = "STANDALONE_EVENTS";
|
|
884
|
+
Namespace2["MIMIR"] = "MIMIR";
|
|
885
|
+
Namespace2["TWINS"] = "TWINS";
|
|
886
|
+
Namespace2["NANO"] = "NANO";
|
|
887
|
+
return Namespace2;
|
|
888
|
+
})(Namespace || {});
|
|
889
|
+
var DeleteStatus = /* @__PURE__ */ ((DeleteStatus2) => {
|
|
890
|
+
DeleteStatus2["UNKNOWN"] = "UNKNOWN";
|
|
891
|
+
DeleteStatus2["TRASH"] = "TRASH";
|
|
892
|
+
DeleteStatus2["DELETED"] = "DELETED";
|
|
893
|
+
DeleteStatus2["PENDING_PURGE"] = "PENDING_PURGE";
|
|
894
|
+
DeleteStatus2["PURGED_EXTERNALLY"] = "PURGED_EXTERNALLY";
|
|
895
|
+
return DeleteStatus2;
|
|
896
|
+
})(DeleteStatus || {});
|
|
897
|
+
var ValidationResultStatus = /* @__PURE__ */ ((ValidationResultStatus2) => {
|
|
898
|
+
ValidationResultStatus2["UNKNOWN_STATUS"] = "UNKNOWN_STATUS";
|
|
899
|
+
ValidationResultStatus2["VALID"] = "VALID";
|
|
900
|
+
ValidationResultStatus2["VALID_WITH_WARNINGS"] = "VALID_WITH_WARNINGS";
|
|
901
|
+
ValidationResultStatus2["INVALID"] = "INVALID";
|
|
902
|
+
return ValidationResultStatus2;
|
|
903
|
+
})(ValidationResultStatus || {});
|
|
904
|
+
var TriggerValidationErrorValidationErrorType = /* @__PURE__ */ ((TriggerValidationErrorValidationErrorType2) => {
|
|
905
|
+
TriggerValidationErrorValidationErrorType2["UNKNOWN_VALIDATION_ERROR_TYPE"] = "UNKNOWN_VALIDATION_ERROR_TYPE";
|
|
906
|
+
TriggerValidationErrorValidationErrorType2["CONFIGURATION_ERROR"] = "CONFIGURATION_ERROR";
|
|
907
|
+
TriggerValidationErrorValidationErrorType2["PROVIDER_ERROR"] = "PROVIDER_ERROR";
|
|
908
|
+
return TriggerValidationErrorValidationErrorType2;
|
|
909
|
+
})(TriggerValidationErrorValidationErrorType || {});
|
|
910
|
+
var TriggerErrorType = /* @__PURE__ */ ((TriggerErrorType2) => {
|
|
911
|
+
TriggerErrorType2["UNKNOWN_TRIGGER_ERROR_TYPE"] = "UNKNOWN_TRIGGER_ERROR_TYPE";
|
|
912
|
+
TriggerErrorType2["NOT_FOUND"] = "NOT_FOUND";
|
|
913
|
+
TriggerErrorType2["APP_NOT_INSTALLED"] = "APP_NOT_INSTALLED";
|
|
914
|
+
TriggerErrorType2["INVALID_TRIGGER_KEY"] = "INVALID_TRIGGER_KEY";
|
|
915
|
+
TriggerErrorType2["INVALID_FILTER_FIELD_KEY"] = "INVALID_FILTER_FIELD_KEY";
|
|
916
|
+
TriggerErrorType2["INVALID_FILTER_EXPRESSION"] = "INVALID_FILTER_EXPRESSION";
|
|
917
|
+
TriggerErrorType2["MISSING_REQUIRED_FILTER"] = "MISSING_REQUIRED_FILTER";
|
|
918
|
+
return TriggerErrorType2;
|
|
919
|
+
})(TriggerErrorType || {});
|
|
920
|
+
var ValidationErrorSeverity = /* @__PURE__ */ ((ValidationErrorSeverity2) => {
|
|
921
|
+
ValidationErrorSeverity2["UNKNOWN_VALIDATION_ERROR_SEVERITY"] = "UNKNOWN_VALIDATION_ERROR_SEVERITY";
|
|
922
|
+
ValidationErrorSeverity2["WARNING"] = "WARNING";
|
|
923
|
+
ValidationErrorSeverity2["ERROR"] = "ERROR";
|
|
924
|
+
return ValidationErrorSeverity2;
|
|
925
|
+
})(ValidationErrorSeverity || {});
|
|
926
|
+
var Severity = /* @__PURE__ */ ((Severity2) => {
|
|
927
|
+
Severity2["UNKNOWN_SEVERITY"] = "UNKNOWN_SEVERITY";
|
|
928
|
+
Severity2["WARNING"] = "WARNING";
|
|
929
|
+
Severity2["CRITICAL"] = "CRITICAL";
|
|
930
|
+
return Severity2;
|
|
931
|
+
})(Severity || {});
|
|
932
|
+
var ValidationErrorType = /* @__PURE__ */ ((ValidationErrorType2) => {
|
|
933
|
+
ValidationErrorType2["UNKNOWN_VALIDATION_ERROR_TYPE"] = "UNKNOWN_VALIDATION_ERROR_TYPE";
|
|
934
|
+
ValidationErrorType2["CONFIGURATION_ERROR"] = "CONFIGURATION_ERROR";
|
|
935
|
+
ValidationErrorType2["PROVIDER_ERROR"] = "PROVIDER_ERROR";
|
|
936
|
+
return ValidationErrorType2;
|
|
937
|
+
})(ValidationErrorType || {});
|
|
938
|
+
var ActionErrorType = /* @__PURE__ */ ((ActionErrorType2) => {
|
|
939
|
+
ActionErrorType2["UNKNOWN_ACTION_ERROR_TYPE"] = "UNKNOWN_ACTION_ERROR_TYPE";
|
|
940
|
+
ActionErrorType2["NOT_FOUND"] = "NOT_FOUND";
|
|
941
|
+
ActionErrorType2["APP_NOT_INSTALLED"] = "APP_NOT_INSTALLED";
|
|
942
|
+
ActionErrorType2["INVALID_ACTION_KEY"] = "INVALID_ACTION_KEY";
|
|
943
|
+
ActionErrorType2["INVALID_MAPPING"] = "INVALID_MAPPING";
|
|
944
|
+
ActionErrorType2["MAPPING_TYPE_MISMATCH"] = "MAPPING_TYPE_MISMATCH";
|
|
945
|
+
ActionErrorType2["MAPPING_MISSING_REQUIRED_FIELD"] = "MAPPING_MISSING_REQUIRED_FIELD";
|
|
946
|
+
ActionErrorType2["MAPPING_SCHEMA_MISMATCH"] = "MAPPING_SCHEMA_MISMATCH";
|
|
947
|
+
ActionErrorType2["MAPPING_VARIABLE_MISSING_FROM_SCHEMA"] = "MAPPING_VARIABLE_MISSING_FROM_SCHEMA";
|
|
948
|
+
ActionErrorType2["SAMPLE_CODE_RUN_FAILED"] = "SAMPLE_CODE_RUN_FAILED";
|
|
949
|
+
ActionErrorType2["POST_ACTION_NOT_FOUND"] = "POST_ACTION_NOT_FOUND";
|
|
950
|
+
return ActionErrorType2;
|
|
951
|
+
})(ActionErrorType || {});
|
|
952
|
+
var AutomationValidationErrorValidationErrorType = /* @__PURE__ */ ((AutomationValidationErrorValidationErrorType2) => {
|
|
953
|
+
AutomationValidationErrorValidationErrorType2["UNKNOWN_VALIDATION_ERROR_TYPE"] = "UNKNOWN_VALIDATION_ERROR_TYPE";
|
|
954
|
+
AutomationValidationErrorValidationErrorType2["CONFIGURATION_ERROR"] = "CONFIGURATION_ERROR";
|
|
955
|
+
AutomationValidationErrorValidationErrorType2["PROVIDER_ERROR"] = "PROVIDER_ERROR";
|
|
956
|
+
return AutomationValidationErrorValidationErrorType2;
|
|
957
|
+
})(AutomationValidationErrorValidationErrorType || {});
|
|
958
|
+
var AutomationErrorType = /* @__PURE__ */ ((AutomationErrorType2) => {
|
|
959
|
+
AutomationErrorType2["UNKNOWN_AUTOMATION_ERROR_TYPE"] = "UNKNOWN_AUTOMATION_ERROR_TYPE";
|
|
960
|
+
return AutomationErrorType2;
|
|
961
|
+
})(AutomationErrorType || {});
|
|
962
|
+
|
|
691
963
|
// src/automations-v2-automation-automations-v-2.meta.ts
|
|
692
964
|
function createAutomation2() {
|
|
693
965
|
const payload = {};
|
|
@@ -1037,6 +1309,29 @@ function getAutomationRevision2() {
|
|
|
1037
1309
|
}
|
|
1038
1310
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1039
1311
|
0 && (module.exports = {
|
|
1312
|
+
ActionErrorTypeOriginal,
|
|
1313
|
+
AutomationErrorTypeOriginal,
|
|
1314
|
+
AutomationValidationErrorValidationErrorTypeOriginal,
|
|
1315
|
+
DeleteStatusOriginal,
|
|
1316
|
+
DomainOriginal,
|
|
1317
|
+
LanguageOriginal,
|
|
1318
|
+
NamespaceOriginal,
|
|
1319
|
+
OperatorOriginal,
|
|
1320
|
+
OriginOriginal,
|
|
1321
|
+
RequestedFieldsOriginal,
|
|
1322
|
+
SeverityOriginal,
|
|
1323
|
+
SiteCreatedContextOriginal,
|
|
1324
|
+
SortOrderOriginal,
|
|
1325
|
+
StateOriginal,
|
|
1326
|
+
StatusOriginal,
|
|
1327
|
+
TimeUnitOriginal,
|
|
1328
|
+
TriggerErrorTypeOriginal,
|
|
1329
|
+
TriggerValidationErrorValidationErrorTypeOriginal,
|
|
1330
|
+
TypeOriginal,
|
|
1331
|
+
ValidationErrorSeverityOriginal,
|
|
1332
|
+
ValidationErrorTypeOriginal,
|
|
1333
|
+
ValidationResultStatusOriginal,
|
|
1334
|
+
WebhookIdentityTypeOriginal,
|
|
1040
1335
|
bulkCountAutomationsWithDrafts,
|
|
1041
1336
|
bulkDeleteAutomations,
|
|
1042
1337
|
copyAutomation,
|