@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
package/build/es/meta.mjs
CHANGED
|
@@ -102,6 +102,9 @@ function createAutomation(payload) {
|
|
|
102
102
|
method: "POST",
|
|
103
103
|
methodFqn: "wix.automations.v2.AutomationsService.CreateAutomation",
|
|
104
104
|
packageName: PACKAGE_NAME,
|
|
105
|
+
migrationOptions: {
|
|
106
|
+
optInTransformResponse: true
|
|
107
|
+
},
|
|
105
108
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
106
109
|
protoPath: "/v2/automations",
|
|
107
110
|
data: serializedData,
|
|
@@ -131,6 +134,9 @@ function getAutomation(payload) {
|
|
|
131
134
|
method: "GET",
|
|
132
135
|
methodFqn: "wix.automations.v2.AutomationsService.GetAutomation",
|
|
133
136
|
packageName: PACKAGE_NAME,
|
|
137
|
+
migrationOptions: {
|
|
138
|
+
optInTransformResponse: true
|
|
139
|
+
},
|
|
134
140
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
135
141
|
protoPath: "/v2/automations/{automationId}",
|
|
136
142
|
data: payload,
|
|
@@ -175,6 +181,9 @@ function updateAutomation(payload) {
|
|
|
175
181
|
method: "PATCH",
|
|
176
182
|
methodFqn: "wix.automations.v2.AutomationsService.UpdateAutomation",
|
|
177
183
|
packageName: PACKAGE_NAME,
|
|
184
|
+
migrationOptions: {
|
|
185
|
+
optInTransformResponse: true
|
|
186
|
+
},
|
|
178
187
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
179
188
|
protoPath: "/v2/automations/{automation.id}",
|
|
180
189
|
data: serializedData,
|
|
@@ -204,6 +213,9 @@ function deleteAutomation(payload) {
|
|
|
204
213
|
method: "DELETE",
|
|
205
214
|
methodFqn: "wix.automations.v2.AutomationsService.DeleteAutomation",
|
|
206
215
|
packageName: PACKAGE_NAME,
|
|
216
|
+
migrationOptions: {
|
|
217
|
+
optInTransformResponse: true
|
|
218
|
+
},
|
|
207
219
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
208
220
|
protoPath: "/v2/automations/{automationId}",
|
|
209
221
|
data: payload,
|
|
@@ -222,6 +234,9 @@ function bulkDeleteAutomations(payload) {
|
|
|
222
234
|
method: "POST",
|
|
223
235
|
methodFqn: "wix.automations.v2.AutomationsService.BulkDeleteAutomations",
|
|
224
236
|
packageName: PACKAGE_NAME,
|
|
237
|
+
migrationOptions: {
|
|
238
|
+
optInTransformResponse: true
|
|
239
|
+
},
|
|
225
240
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
226
241
|
protoPath: "/v2/bulk/automations/delete",
|
|
227
242
|
data: payload,
|
|
@@ -251,6 +266,9 @@ function generatePreinstalledAutomation(payload) {
|
|
|
251
266
|
method: "POST",
|
|
252
267
|
methodFqn: "wix.automations.v2.AutomationsService.GeneratePreinstalledAutomation",
|
|
253
268
|
packageName: PACKAGE_NAME,
|
|
269
|
+
migrationOptions: {
|
|
270
|
+
optInTransformResponse: true
|
|
271
|
+
},
|
|
254
272
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
255
273
|
protoPath: "/v2/preinstalled-automation/generate",
|
|
256
274
|
data: serializedData,
|
|
@@ -280,6 +298,9 @@ function queryAutomations(payload) {
|
|
|
280
298
|
method: "POST",
|
|
281
299
|
methodFqn: "wix.automations.v2.AutomationsService.QueryAutomations",
|
|
282
300
|
packageName: PACKAGE_NAME,
|
|
301
|
+
migrationOptions: {
|
|
302
|
+
optInTransformResponse: true
|
|
303
|
+
},
|
|
283
304
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
284
305
|
protoPath: "/v2/automations/query",
|
|
285
306
|
data: payload,
|
|
@@ -309,6 +330,9 @@ function getAggregatedUsageInfo(payload) {
|
|
|
309
330
|
method: "GET",
|
|
310
331
|
methodFqn: "wix.automations.v2.AutomationsService.GetAggregatedUsageInfo",
|
|
311
332
|
packageName: PACKAGE_NAME,
|
|
333
|
+
migrationOptions: {
|
|
334
|
+
optInTransformResponse: true
|
|
335
|
+
},
|
|
312
336
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
313
337
|
protoPath: "/v2/automations/usage",
|
|
314
338
|
data: payload,
|
|
@@ -338,6 +362,9 @@ function copyAutomation(payload) {
|
|
|
338
362
|
method: "POST",
|
|
339
363
|
methodFqn: "wix.automations.v2.AutomationsService.CopyAutomation",
|
|
340
364
|
packageName: PACKAGE_NAME,
|
|
365
|
+
migrationOptions: {
|
|
366
|
+
optInTransformResponse: true
|
|
367
|
+
},
|
|
341
368
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
342
369
|
protoPath: "/v2/automations/{automationId}/copy",
|
|
343
370
|
data: serializedData,
|
|
@@ -378,6 +405,9 @@ function createDraftAutomation(payload) {
|
|
|
378
405
|
method: "POST",
|
|
379
406
|
methodFqn: "wix.automations.v2.AutomationsService.CreateDraftAutomation",
|
|
380
407
|
packageName: PACKAGE_NAME,
|
|
408
|
+
migrationOptions: {
|
|
409
|
+
optInTransformResponse: true
|
|
410
|
+
},
|
|
381
411
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
382
412
|
protoPath: "/v2/automations/drafts",
|
|
383
413
|
data: serializedData,
|
|
@@ -407,6 +437,9 @@ function getOrCreateDraftAutomation(payload) {
|
|
|
407
437
|
method: "POST",
|
|
408
438
|
methodFqn: "wix.automations.v2.AutomationsService.GetOrCreateDraftAutomation",
|
|
409
439
|
packageName: PACKAGE_NAME,
|
|
440
|
+
migrationOptions: {
|
|
441
|
+
optInTransformResponse: true
|
|
442
|
+
},
|
|
410
443
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
411
444
|
protoPath: "/v2/automations/drafts/get-or-create/original-automation-id/{originalAutomationId}",
|
|
412
445
|
data: payload,
|
|
@@ -451,6 +484,9 @@ function updateDraftAutomation(payload) {
|
|
|
451
484
|
method: "PATCH",
|
|
452
485
|
methodFqn: "wix.automations.v2.AutomationsService.UpdateDraftAutomation",
|
|
453
486
|
packageName: PACKAGE_NAME,
|
|
487
|
+
migrationOptions: {
|
|
488
|
+
optInTransformResponse: true
|
|
489
|
+
},
|
|
454
490
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
455
491
|
protoPath: "/v2/automations/drafts/{automation.id}",
|
|
456
492
|
data: serializedData,
|
|
@@ -480,6 +516,9 @@ function queryAutomationsWithDrafts(payload) {
|
|
|
480
516
|
method: "POST",
|
|
481
517
|
methodFqn: "wix.automations.v2.AutomationsService.QueryAutomationsWithDrafts",
|
|
482
518
|
packageName: PACKAGE_NAME,
|
|
519
|
+
migrationOptions: {
|
|
520
|
+
optInTransformResponse: true
|
|
521
|
+
},
|
|
483
522
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
484
523
|
protoPath: "/v2/automations/query-with-drafts",
|
|
485
524
|
data: payload,
|
|
@@ -509,6 +548,9 @@ function bulkCountAutomationsWithDrafts(payload) {
|
|
|
509
548
|
method: "POST",
|
|
510
549
|
methodFqn: "wix.automations.v2.AutomationsService.BulkCountAutomationsWithDrafts",
|
|
511
550
|
packageName: PACKAGE_NAME,
|
|
551
|
+
migrationOptions: {
|
|
552
|
+
optInTransformResponse: true
|
|
553
|
+
},
|
|
512
554
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
513
555
|
protoPath: "/v2/automations/bulk-count-with-drafts",
|
|
514
556
|
data: payload,
|
|
@@ -527,6 +569,9 @@ function deleteDraftAutomation(payload) {
|
|
|
527
569
|
method: "DELETE",
|
|
528
570
|
methodFqn: "wix.automations.v2.AutomationsService.DeleteDraftAutomation",
|
|
529
571
|
packageName: PACKAGE_NAME,
|
|
572
|
+
migrationOptions: {
|
|
573
|
+
optInTransformResponse: true
|
|
574
|
+
},
|
|
530
575
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
531
576
|
protoPath: "/v2/automations/drafts/{automationId}",
|
|
532
577
|
data: payload,
|
|
@@ -545,6 +590,9 @@ function publishDraftAutomation(payload) {
|
|
|
545
590
|
method: "POST",
|
|
546
591
|
methodFqn: "wix.automations.v2.AutomationsService.PublishDraftAutomation",
|
|
547
592
|
packageName: PACKAGE_NAME,
|
|
593
|
+
migrationOptions: {
|
|
594
|
+
optInTransformResponse: true
|
|
595
|
+
},
|
|
548
596
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
549
597
|
protoPath: "/v2/automations/drafts/{automationId}/publish",
|
|
550
598
|
data: payload,
|
|
@@ -585,6 +633,9 @@ function validateAutomation(payload) {
|
|
|
585
633
|
method: "POST",
|
|
586
634
|
methodFqn: "wix.automations.v2.AutomationsService.ValidateAutomation",
|
|
587
635
|
packageName: PACKAGE_NAME,
|
|
636
|
+
migrationOptions: {
|
|
637
|
+
optInTransformResponse: true
|
|
638
|
+
},
|
|
588
639
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
589
640
|
protoPath: "/v2/automations/validate",
|
|
590
641
|
data: serializedData,
|
|
@@ -603,6 +654,9 @@ function validateAutomationById(payload) {
|
|
|
603
654
|
method: "POST",
|
|
604
655
|
methodFqn: "wix.automations.v2.AutomationsService.ValidateAutomationById",
|
|
605
656
|
packageName: PACKAGE_NAME,
|
|
657
|
+
migrationOptions: {
|
|
658
|
+
optInTransformResponse: true
|
|
659
|
+
},
|
|
606
660
|
url: resolveWixAutomationsV2AutomationsServiceUrl({
|
|
607
661
|
protoPath: "/v2/automations/{automationId}/validate",
|
|
608
662
|
data: payload,
|
|
@@ -621,6 +675,9 @@ function getAutomationRevision(payload) {
|
|
|
621
675
|
method: "GET",
|
|
622
676
|
methodFqn: "wix.automations.v2.AutomationRevisionsService.GetAutomationRevision",
|
|
623
677
|
packageName: PACKAGE_NAME,
|
|
678
|
+
migrationOptions: {
|
|
679
|
+
optInTransformResponse: true
|
|
680
|
+
},
|
|
624
681
|
url: resolveWixAutomationsV2AutomationRevisionsServiceUrl({
|
|
625
682
|
protoPath: "/v1/automation-revisions/{automationId}",
|
|
626
683
|
data: payload,
|
|
@@ -644,6 +701,198 @@ function getAutomationRevision(payload) {
|
|
|
644
701
|
return __getAutomationRevision;
|
|
645
702
|
}
|
|
646
703
|
|
|
704
|
+
// src/automations-v2-automation-automations-v-2.types.ts
|
|
705
|
+
var Domain = /* @__PURE__ */ ((Domain2) => {
|
|
706
|
+
Domain2["USER"] = "USER";
|
|
707
|
+
Domain2["WIX"] = "WIX";
|
|
708
|
+
Domain2["WIX_ACCOUNT"] = "WIX_ACCOUNT";
|
|
709
|
+
return Domain2;
|
|
710
|
+
})(Domain || {});
|
|
711
|
+
var TimeUnit = /* @__PURE__ */ ((TimeUnit2) => {
|
|
712
|
+
TimeUnit2["UNKNOWN_TIME_UNIT"] = "UNKNOWN_TIME_UNIT";
|
|
713
|
+
TimeUnit2["MINUTES"] = "MINUTES";
|
|
714
|
+
TimeUnit2["HOURS"] = "HOURS";
|
|
715
|
+
TimeUnit2["DAYS"] = "DAYS";
|
|
716
|
+
TimeUnit2["WEEKS"] = "WEEKS";
|
|
717
|
+
TimeUnit2["MONTHS"] = "MONTHS";
|
|
718
|
+
return TimeUnit2;
|
|
719
|
+
})(TimeUnit || {});
|
|
720
|
+
var Operator = /* @__PURE__ */ ((Operator2) => {
|
|
721
|
+
Operator2["UNKNOWN_OPERATOR"] = "UNKNOWN_OPERATOR";
|
|
722
|
+
Operator2["OR"] = "OR";
|
|
723
|
+
Operator2["AND"] = "AND";
|
|
724
|
+
return Operator2;
|
|
725
|
+
})(Operator || {});
|
|
726
|
+
var Language = /* @__PURE__ */ ((Language2) => {
|
|
727
|
+
Language2["UNKNOWN_LANGUAGE"] = "UNKNOWN_LANGUAGE";
|
|
728
|
+
Language2["JAVASCRIPT"] = "JAVASCRIPT";
|
|
729
|
+
return Language2;
|
|
730
|
+
})(Language || {});
|
|
731
|
+
var Type = /* @__PURE__ */ ((Type2) => {
|
|
732
|
+
Type2["UNKNOWN_ACTION_TYPE"] = "UNKNOWN_ACTION_TYPE";
|
|
733
|
+
Type2["APP_DEFINED"] = "APP_DEFINED";
|
|
734
|
+
Type2["CONDITION"] = "CONDITION";
|
|
735
|
+
Type2["DELAY"] = "DELAY";
|
|
736
|
+
Type2["RATE_LIMIT"] = "RATE_LIMIT";
|
|
737
|
+
return Type2;
|
|
738
|
+
})(Type || {});
|
|
739
|
+
var Status = /* @__PURE__ */ ((Status2) => {
|
|
740
|
+
Status2["UNKNOWN_STATUS"] = "UNKNOWN_STATUS";
|
|
741
|
+
Status2["ACTIVE"] = "ACTIVE";
|
|
742
|
+
Status2["INACTIVE"] = "INACTIVE";
|
|
743
|
+
return Status2;
|
|
744
|
+
})(Status || {});
|
|
745
|
+
var Origin = /* @__PURE__ */ ((Origin2) => {
|
|
746
|
+
Origin2["UNKNOWN_ORIGIN"] = "UNKNOWN_ORIGIN";
|
|
747
|
+
Origin2["USER"] = "USER";
|
|
748
|
+
Origin2["APPLICATION"] = "APPLICATION";
|
|
749
|
+
Origin2["PREINSTALLED"] = "PREINSTALLED";
|
|
750
|
+
return Origin2;
|
|
751
|
+
})(Origin || {});
|
|
752
|
+
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
753
|
+
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
754
|
+
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
755
|
+
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
756
|
+
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
757
|
+
WebhookIdentityType2["APP"] = "APP";
|
|
758
|
+
return WebhookIdentityType2;
|
|
759
|
+
})(WebhookIdentityType || {});
|
|
760
|
+
var RequestedFields = /* @__PURE__ */ ((RequestedFields2) => {
|
|
761
|
+
RequestedFields2["UNKNOWN_REQUESTED_FIELD"] = "UNKNOWN_REQUESTED_FIELD";
|
|
762
|
+
RequestedFields2["OVERRIDE_SCHEMA"] = "OVERRIDE_SCHEMA";
|
|
763
|
+
return RequestedFields2;
|
|
764
|
+
})(RequestedFields || {});
|
|
765
|
+
var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
766
|
+
SortOrder2["ASC"] = "ASC";
|
|
767
|
+
SortOrder2["DESC"] = "DESC";
|
|
768
|
+
return SortOrder2;
|
|
769
|
+
})(SortOrder || {});
|
|
770
|
+
var State = /* @__PURE__ */ ((State2) => {
|
|
771
|
+
State2["UNKNOWN"] = "UNKNOWN";
|
|
772
|
+
State2["ENABLED"] = "ENABLED";
|
|
773
|
+
State2["DISABLED"] = "DISABLED";
|
|
774
|
+
State2["PENDING"] = "PENDING";
|
|
775
|
+
State2["DEMO"] = "DEMO";
|
|
776
|
+
return State2;
|
|
777
|
+
})(State || {});
|
|
778
|
+
var SiteCreatedContext = /* @__PURE__ */ ((SiteCreatedContext2) => {
|
|
779
|
+
SiteCreatedContext2["OTHER"] = "OTHER";
|
|
780
|
+
SiteCreatedContext2["FROM_TEMPLATE"] = "FROM_TEMPLATE";
|
|
781
|
+
SiteCreatedContext2["DUPLICATE_BY_SITE_TRANSFER"] = "DUPLICATE_BY_SITE_TRANSFER";
|
|
782
|
+
SiteCreatedContext2["DUPLICATE"] = "DUPLICATE";
|
|
783
|
+
SiteCreatedContext2["OLD_SITE_TRANSFER"] = "OLD_SITE_TRANSFER";
|
|
784
|
+
SiteCreatedContext2["FLASH"] = "FLASH";
|
|
785
|
+
return SiteCreatedContext2;
|
|
786
|
+
})(SiteCreatedContext || {});
|
|
787
|
+
var Namespace = /* @__PURE__ */ ((Namespace2) => {
|
|
788
|
+
Namespace2["UNKNOWN_NAMESPACE"] = "UNKNOWN_NAMESPACE";
|
|
789
|
+
Namespace2["WIX"] = "WIX";
|
|
790
|
+
Namespace2["SHOUT_OUT"] = "SHOUT_OUT";
|
|
791
|
+
Namespace2["ALBUMS"] = "ALBUMS";
|
|
792
|
+
Namespace2["WIX_STORES_TEST_DRIVE"] = "WIX_STORES_TEST_DRIVE";
|
|
793
|
+
Namespace2["HOTELS"] = "HOTELS";
|
|
794
|
+
Namespace2["CLUBS"] = "CLUBS";
|
|
795
|
+
Namespace2["ONBOARDING_DRAFT"] = "ONBOARDING_DRAFT";
|
|
796
|
+
Namespace2["DEV_SITE"] = "DEV_SITE";
|
|
797
|
+
Namespace2["LOGOS"] = "LOGOS";
|
|
798
|
+
Namespace2["VIDEO_MAKER"] = "VIDEO_MAKER";
|
|
799
|
+
Namespace2["PARTNER_DASHBOARD"] = "PARTNER_DASHBOARD";
|
|
800
|
+
Namespace2["DEV_CENTER_COMPANY"] = "DEV_CENTER_COMPANY";
|
|
801
|
+
Namespace2["HTML_DRAFT"] = "HTML_DRAFT";
|
|
802
|
+
Namespace2["SITELESS_BUSINESS"] = "SITELESS_BUSINESS";
|
|
803
|
+
Namespace2["CREATOR_ECONOMY"] = "CREATOR_ECONOMY";
|
|
804
|
+
Namespace2["DASHBOARD_FIRST"] = "DASHBOARD_FIRST";
|
|
805
|
+
Namespace2["ANYWHERE"] = "ANYWHERE";
|
|
806
|
+
Namespace2["HEADLESS"] = "HEADLESS";
|
|
807
|
+
Namespace2["ACCOUNT_MASTER_CMS"] = "ACCOUNT_MASTER_CMS";
|
|
808
|
+
Namespace2["RISE"] = "RISE";
|
|
809
|
+
Namespace2["BRANDED_FIRST"] = "BRANDED_FIRST";
|
|
810
|
+
Namespace2["NOWNIA"] = "NOWNIA";
|
|
811
|
+
Namespace2["UGC_TEMPLATE"] = "UGC_TEMPLATE";
|
|
812
|
+
Namespace2["CODUX"] = "CODUX";
|
|
813
|
+
Namespace2["MEDIA_DESIGN_CREATOR"] = "MEDIA_DESIGN_CREATOR";
|
|
814
|
+
Namespace2["SHARED_BLOG_ENTERPRISE"] = "SHARED_BLOG_ENTERPRISE";
|
|
815
|
+
Namespace2["STANDALONE_FORMS"] = "STANDALONE_FORMS";
|
|
816
|
+
Namespace2["STANDALONE_EVENTS"] = "STANDALONE_EVENTS";
|
|
817
|
+
Namespace2["MIMIR"] = "MIMIR";
|
|
818
|
+
Namespace2["TWINS"] = "TWINS";
|
|
819
|
+
Namespace2["NANO"] = "NANO";
|
|
820
|
+
return Namespace2;
|
|
821
|
+
})(Namespace || {});
|
|
822
|
+
var DeleteStatus = /* @__PURE__ */ ((DeleteStatus2) => {
|
|
823
|
+
DeleteStatus2["UNKNOWN"] = "UNKNOWN";
|
|
824
|
+
DeleteStatus2["TRASH"] = "TRASH";
|
|
825
|
+
DeleteStatus2["DELETED"] = "DELETED";
|
|
826
|
+
DeleteStatus2["PENDING_PURGE"] = "PENDING_PURGE";
|
|
827
|
+
DeleteStatus2["PURGED_EXTERNALLY"] = "PURGED_EXTERNALLY";
|
|
828
|
+
return DeleteStatus2;
|
|
829
|
+
})(DeleteStatus || {});
|
|
830
|
+
var ValidationResultStatus = /* @__PURE__ */ ((ValidationResultStatus2) => {
|
|
831
|
+
ValidationResultStatus2["UNKNOWN_STATUS"] = "UNKNOWN_STATUS";
|
|
832
|
+
ValidationResultStatus2["VALID"] = "VALID";
|
|
833
|
+
ValidationResultStatus2["VALID_WITH_WARNINGS"] = "VALID_WITH_WARNINGS";
|
|
834
|
+
ValidationResultStatus2["INVALID"] = "INVALID";
|
|
835
|
+
return ValidationResultStatus2;
|
|
836
|
+
})(ValidationResultStatus || {});
|
|
837
|
+
var TriggerValidationErrorValidationErrorType = /* @__PURE__ */ ((TriggerValidationErrorValidationErrorType2) => {
|
|
838
|
+
TriggerValidationErrorValidationErrorType2["UNKNOWN_VALIDATION_ERROR_TYPE"] = "UNKNOWN_VALIDATION_ERROR_TYPE";
|
|
839
|
+
TriggerValidationErrorValidationErrorType2["CONFIGURATION_ERROR"] = "CONFIGURATION_ERROR";
|
|
840
|
+
TriggerValidationErrorValidationErrorType2["PROVIDER_ERROR"] = "PROVIDER_ERROR";
|
|
841
|
+
return TriggerValidationErrorValidationErrorType2;
|
|
842
|
+
})(TriggerValidationErrorValidationErrorType || {});
|
|
843
|
+
var TriggerErrorType = /* @__PURE__ */ ((TriggerErrorType2) => {
|
|
844
|
+
TriggerErrorType2["UNKNOWN_TRIGGER_ERROR_TYPE"] = "UNKNOWN_TRIGGER_ERROR_TYPE";
|
|
845
|
+
TriggerErrorType2["NOT_FOUND"] = "NOT_FOUND";
|
|
846
|
+
TriggerErrorType2["APP_NOT_INSTALLED"] = "APP_NOT_INSTALLED";
|
|
847
|
+
TriggerErrorType2["INVALID_TRIGGER_KEY"] = "INVALID_TRIGGER_KEY";
|
|
848
|
+
TriggerErrorType2["INVALID_FILTER_FIELD_KEY"] = "INVALID_FILTER_FIELD_KEY";
|
|
849
|
+
TriggerErrorType2["INVALID_FILTER_EXPRESSION"] = "INVALID_FILTER_EXPRESSION";
|
|
850
|
+
TriggerErrorType2["MISSING_REQUIRED_FILTER"] = "MISSING_REQUIRED_FILTER";
|
|
851
|
+
return TriggerErrorType2;
|
|
852
|
+
})(TriggerErrorType || {});
|
|
853
|
+
var ValidationErrorSeverity = /* @__PURE__ */ ((ValidationErrorSeverity2) => {
|
|
854
|
+
ValidationErrorSeverity2["UNKNOWN_VALIDATION_ERROR_SEVERITY"] = "UNKNOWN_VALIDATION_ERROR_SEVERITY";
|
|
855
|
+
ValidationErrorSeverity2["WARNING"] = "WARNING";
|
|
856
|
+
ValidationErrorSeverity2["ERROR"] = "ERROR";
|
|
857
|
+
return ValidationErrorSeverity2;
|
|
858
|
+
})(ValidationErrorSeverity || {});
|
|
859
|
+
var Severity = /* @__PURE__ */ ((Severity2) => {
|
|
860
|
+
Severity2["UNKNOWN_SEVERITY"] = "UNKNOWN_SEVERITY";
|
|
861
|
+
Severity2["WARNING"] = "WARNING";
|
|
862
|
+
Severity2["CRITICAL"] = "CRITICAL";
|
|
863
|
+
return Severity2;
|
|
864
|
+
})(Severity || {});
|
|
865
|
+
var ValidationErrorType = /* @__PURE__ */ ((ValidationErrorType2) => {
|
|
866
|
+
ValidationErrorType2["UNKNOWN_VALIDATION_ERROR_TYPE"] = "UNKNOWN_VALIDATION_ERROR_TYPE";
|
|
867
|
+
ValidationErrorType2["CONFIGURATION_ERROR"] = "CONFIGURATION_ERROR";
|
|
868
|
+
ValidationErrorType2["PROVIDER_ERROR"] = "PROVIDER_ERROR";
|
|
869
|
+
return ValidationErrorType2;
|
|
870
|
+
})(ValidationErrorType || {});
|
|
871
|
+
var ActionErrorType = /* @__PURE__ */ ((ActionErrorType2) => {
|
|
872
|
+
ActionErrorType2["UNKNOWN_ACTION_ERROR_TYPE"] = "UNKNOWN_ACTION_ERROR_TYPE";
|
|
873
|
+
ActionErrorType2["NOT_FOUND"] = "NOT_FOUND";
|
|
874
|
+
ActionErrorType2["APP_NOT_INSTALLED"] = "APP_NOT_INSTALLED";
|
|
875
|
+
ActionErrorType2["INVALID_ACTION_KEY"] = "INVALID_ACTION_KEY";
|
|
876
|
+
ActionErrorType2["INVALID_MAPPING"] = "INVALID_MAPPING";
|
|
877
|
+
ActionErrorType2["MAPPING_TYPE_MISMATCH"] = "MAPPING_TYPE_MISMATCH";
|
|
878
|
+
ActionErrorType2["MAPPING_MISSING_REQUIRED_FIELD"] = "MAPPING_MISSING_REQUIRED_FIELD";
|
|
879
|
+
ActionErrorType2["MAPPING_SCHEMA_MISMATCH"] = "MAPPING_SCHEMA_MISMATCH";
|
|
880
|
+
ActionErrorType2["MAPPING_VARIABLE_MISSING_FROM_SCHEMA"] = "MAPPING_VARIABLE_MISSING_FROM_SCHEMA";
|
|
881
|
+
ActionErrorType2["SAMPLE_CODE_RUN_FAILED"] = "SAMPLE_CODE_RUN_FAILED";
|
|
882
|
+
ActionErrorType2["POST_ACTION_NOT_FOUND"] = "POST_ACTION_NOT_FOUND";
|
|
883
|
+
return ActionErrorType2;
|
|
884
|
+
})(ActionErrorType || {});
|
|
885
|
+
var AutomationValidationErrorValidationErrorType = /* @__PURE__ */ ((AutomationValidationErrorValidationErrorType2) => {
|
|
886
|
+
AutomationValidationErrorValidationErrorType2["UNKNOWN_VALIDATION_ERROR_TYPE"] = "UNKNOWN_VALIDATION_ERROR_TYPE";
|
|
887
|
+
AutomationValidationErrorValidationErrorType2["CONFIGURATION_ERROR"] = "CONFIGURATION_ERROR";
|
|
888
|
+
AutomationValidationErrorValidationErrorType2["PROVIDER_ERROR"] = "PROVIDER_ERROR";
|
|
889
|
+
return AutomationValidationErrorValidationErrorType2;
|
|
890
|
+
})(AutomationValidationErrorValidationErrorType || {});
|
|
891
|
+
var AutomationErrorType = /* @__PURE__ */ ((AutomationErrorType2) => {
|
|
892
|
+
AutomationErrorType2["UNKNOWN_AUTOMATION_ERROR_TYPE"] = "UNKNOWN_AUTOMATION_ERROR_TYPE";
|
|
893
|
+
return AutomationErrorType2;
|
|
894
|
+
})(AutomationErrorType || {});
|
|
895
|
+
|
|
647
896
|
// src/automations-v2-automation-automations-v-2.meta.ts
|
|
648
897
|
function createAutomation2() {
|
|
649
898
|
const payload = {};
|
|
@@ -992,6 +1241,29 @@ function getAutomationRevision2() {
|
|
|
992
1241
|
};
|
|
993
1242
|
}
|
|
994
1243
|
export {
|
|
1244
|
+
ActionErrorType as ActionErrorTypeOriginal,
|
|
1245
|
+
AutomationErrorType as AutomationErrorTypeOriginal,
|
|
1246
|
+
AutomationValidationErrorValidationErrorType as AutomationValidationErrorValidationErrorTypeOriginal,
|
|
1247
|
+
DeleteStatus as DeleteStatusOriginal,
|
|
1248
|
+
Domain as DomainOriginal,
|
|
1249
|
+
Language as LanguageOriginal,
|
|
1250
|
+
Namespace as NamespaceOriginal,
|
|
1251
|
+
Operator as OperatorOriginal,
|
|
1252
|
+
Origin as OriginOriginal,
|
|
1253
|
+
RequestedFields as RequestedFieldsOriginal,
|
|
1254
|
+
Severity as SeverityOriginal,
|
|
1255
|
+
SiteCreatedContext as SiteCreatedContextOriginal,
|
|
1256
|
+
SortOrder as SortOrderOriginal,
|
|
1257
|
+
State as StateOriginal,
|
|
1258
|
+
Status as StatusOriginal,
|
|
1259
|
+
TimeUnit as TimeUnitOriginal,
|
|
1260
|
+
TriggerErrorType as TriggerErrorTypeOriginal,
|
|
1261
|
+
TriggerValidationErrorValidationErrorType as TriggerValidationErrorValidationErrorTypeOriginal,
|
|
1262
|
+
Type as TypeOriginal,
|
|
1263
|
+
ValidationErrorSeverity as ValidationErrorSeverityOriginal,
|
|
1264
|
+
ValidationErrorType as ValidationErrorTypeOriginal,
|
|
1265
|
+
ValidationResultStatus as ValidationResultStatusOriginal,
|
|
1266
|
+
WebhookIdentityType as WebhookIdentityTypeOriginal,
|
|
995
1267
|
bulkCountAutomationsWithDrafts2 as bulkCountAutomationsWithDrafts,
|
|
996
1268
|
bulkDeleteAutomations2 as bulkDeleteAutomations,
|
|
997
1269
|
copyAutomation2 as copyAutomation,
|