@wix/auto_sdk_automations_activations 1.0.19 → 1.0.21
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/src/automations-v2-activation-activations.context.d.ts +2 -2
- package/build/cjs/src/automations-v2-activation-activations.context.js +4 -1
- package/build/cjs/src/automations-v2-activation-activations.context.js.map +1 -1
- package/build/cjs/src/automations-v2-activation-activations.meta.d.ts +3 -3
- package/build/cjs/src/automations-v2-activation-activations.meta.js.map +1 -1
- package/build/cjs/src/automations-v2-activation-activations.public.d.ts +5 -5
- package/build/cjs/src/automations-v2-activation-activations.public.js +4 -1
- package/build/cjs/src/automations-v2-activation-activations.public.js.map +1 -1
- package/build/cjs/src/automations-v2-activation-activations.types.d.ts +351 -209
- package/build/cjs/src/automations-v2-activation-activations.types.js +50 -19
- package/build/cjs/src/automations-v2-activation-activations.types.js.map +1 -1
- package/build/cjs/src/automations-v2-activation-activations.universal.d.ts +359 -212
- package/build/cjs/src/automations-v2-activation-activations.universal.js +54 -19
- package/build/cjs/src/automations-v2-activation-activations.universal.js.map +1 -1
- package/build/es/src/automations-v2-activation-activations.context.d.ts +2 -2
- package/build/es/src/automations-v2-activation-activations.context.js +1 -1
- package/build/es/src/automations-v2-activation-activations.context.js.map +1 -1
- package/build/es/src/automations-v2-activation-activations.meta.d.ts +3 -3
- package/build/es/src/automations-v2-activation-activations.meta.js.map +1 -1
- package/build/es/src/automations-v2-activation-activations.public.d.ts +5 -5
- package/build/es/src/automations-v2-activation-activations.public.js +1 -1
- package/build/es/src/automations-v2-activation-activations.public.js.map +1 -1
- package/build/es/src/automations-v2-activation-activations.types.d.ts +351 -209
- package/build/es/src/automations-v2-activation-activations.types.js +49 -18
- package/build/es/src/automations-v2-activation-activations.types.js.map +1 -1
- package/build/es/src/automations-v2-activation-activations.universal.d.ts +359 -212
- package/build/es/src/automations-v2-activation-activations.universal.js +53 -18
- package/build/es/src/automations-v2-activation-activations.universal.js.map +1 -1
- package/build/internal/cjs/src/automations-v2-activation-activations.context.d.ts +2 -2
- package/build/internal/cjs/src/automations-v2-activation-activations.context.js +4 -1
- package/build/internal/cjs/src/automations-v2-activation-activations.context.js.map +1 -1
- package/build/internal/cjs/src/automations-v2-activation-activations.meta.d.ts +3 -3
- package/build/internal/cjs/src/automations-v2-activation-activations.meta.js.map +1 -1
- package/build/internal/cjs/src/automations-v2-activation-activations.public.d.ts +5 -5
- package/build/internal/cjs/src/automations-v2-activation-activations.public.js +4 -1
- package/build/internal/cjs/src/automations-v2-activation-activations.public.js.map +1 -1
- package/build/internal/cjs/src/automations-v2-activation-activations.types.d.ts +351 -209
- package/build/internal/cjs/src/automations-v2-activation-activations.types.js +50 -19
- package/build/internal/cjs/src/automations-v2-activation-activations.types.js.map +1 -1
- package/build/internal/cjs/src/automations-v2-activation-activations.universal.d.ts +359 -212
- package/build/internal/cjs/src/automations-v2-activation-activations.universal.js +54 -19
- package/build/internal/cjs/src/automations-v2-activation-activations.universal.js.map +1 -1
- package/build/internal/es/src/automations-v2-activation-activations.context.d.ts +2 -2
- package/build/internal/es/src/automations-v2-activation-activations.context.js +1 -1
- package/build/internal/es/src/automations-v2-activation-activations.context.js.map +1 -1
- package/build/internal/es/src/automations-v2-activation-activations.meta.d.ts +3 -3
- package/build/internal/es/src/automations-v2-activation-activations.meta.js.map +1 -1
- package/build/internal/es/src/automations-v2-activation-activations.public.d.ts +5 -5
- package/build/internal/es/src/automations-v2-activation-activations.public.js +1 -1
- package/build/internal/es/src/automations-v2-activation-activations.public.js.map +1 -1
- package/build/internal/es/src/automations-v2-activation-activations.types.d.ts +351 -209
- package/build/internal/es/src/automations-v2-activation-activations.types.js +49 -18
- package/build/internal/es/src/automations-v2-activation-activations.types.js.map +1 -1
- package/build/internal/es/src/automations-v2-activation-activations.universal.d.ts +359 -212
- package/build/internal/es/src/automations-v2-activation-activations.universal.js +53 -18
- package/build/internal/es/src/automations-v2-activation-activations.universal.js.map +1 -1
- package/package.json +4 -4
|
@@ -4,60 +4,71 @@ export var Domain;
|
|
|
4
4
|
Domain["USER"] = "USER";
|
|
5
5
|
/** Wix domain. */
|
|
6
6
|
Domain["WIX"] = "WIX";
|
|
7
|
+
/** Wix account-level domain. */
|
|
8
|
+
Domain["WIX_ACCOUNT"] = "WIX_ACCOUNT";
|
|
7
9
|
})(Domain || (Domain = {}));
|
|
8
10
|
export var TimeUnit;
|
|
9
11
|
(function (TimeUnit) {
|
|
10
12
|
TimeUnit["UNKNOWN_TIME_UNIT"] = "UNKNOWN_TIME_UNIT";
|
|
13
|
+
/** Minutes. */
|
|
11
14
|
TimeUnit["MINUTES"] = "MINUTES";
|
|
15
|
+
/** Hours. */
|
|
12
16
|
TimeUnit["HOURS"] = "HOURS";
|
|
17
|
+
/** Days. */
|
|
13
18
|
TimeUnit["DAYS"] = "DAYS";
|
|
19
|
+
/** Weeks. */
|
|
14
20
|
TimeUnit["WEEKS"] = "WEEKS";
|
|
21
|
+
/** Months. */
|
|
15
22
|
TimeUnit["MONTHS"] = "MONTHS";
|
|
16
23
|
})(TimeUnit || (TimeUnit = {}));
|
|
17
24
|
export var Operator;
|
|
18
25
|
(function (Operator) {
|
|
26
|
+
/** Unknown. */
|
|
19
27
|
Operator["UNKNOWN_OPERATOR"] = "UNKNOWN_OPERATOR";
|
|
28
|
+
/** `OR` operator. */
|
|
20
29
|
Operator["OR"] = "OR";
|
|
30
|
+
/** `AND` operator. */
|
|
21
31
|
Operator["AND"] = "AND";
|
|
22
32
|
})(Operator || (Operator = {}));
|
|
33
|
+
export var CodeSnippetLanguage;
|
|
34
|
+
(function (CodeSnippetLanguage) {
|
|
35
|
+
/** Unknown. */
|
|
36
|
+
CodeSnippetLanguage["UNKNOWN_LANGUAGE"] = "UNKNOWN_LANGUAGE";
|
|
37
|
+
/** `JAVASCRIPT` language. */
|
|
38
|
+
CodeSnippetLanguage["JAVASCRIPT"] = "JAVASCRIPT";
|
|
39
|
+
})(CodeSnippetLanguage || (CodeSnippetLanguage = {}));
|
|
23
40
|
export var Type;
|
|
24
41
|
(function (Type) {
|
|
25
|
-
/**
|
|
42
|
+
/** Based on the trigger. */
|
|
26
43
|
Type["UNKNOWN_ACTION_TYPE"] = "UNKNOWN_ACTION_TYPE";
|
|
27
|
-
/**
|
|
44
|
+
/** Defined by a [Wix app](https://dev.wix.com/docs/rest/business-management/automations/automations/automations-v2/about-automation-configuration#app-defined-actions). This action type is available in the site dashboard. */
|
|
28
45
|
Type["APP_DEFINED"] = "APP_DEFINED";
|
|
29
|
-
/** Condition
|
|
46
|
+
/** Condition. This determines which action runs next. */
|
|
30
47
|
Type["CONDITION"] = "CONDITION";
|
|
31
|
-
/** Delay
|
|
48
|
+
/** Delay. The automation must wait before executing the next step. */
|
|
32
49
|
Type["DELAY"] = "DELAY";
|
|
33
|
-
/**
|
|
50
|
+
/** Rate-limiter. This stops the automation flow if the subsequent action has reached its maximum allowed executions. */
|
|
34
51
|
Type["RATE_LIMIT"] = "RATE_LIMIT";
|
|
35
|
-
/** Set Variables Action. */
|
|
36
|
-
Type["SET_VARIABLES"] = "SET_VARIABLES";
|
|
37
|
-
/** Output Action. */
|
|
38
|
-
Type["OUTPUT"] = "OUTPUT";
|
|
39
52
|
})(Type || (Type = {}));
|
|
40
53
|
export var AutomationConfigurationStatus;
|
|
41
54
|
(function (AutomationConfigurationStatus) {
|
|
42
|
-
/**
|
|
55
|
+
/** Unknown. */
|
|
43
56
|
AutomationConfigurationStatus["UNKNOWN_STATUS"] = "UNKNOWN_STATUS";
|
|
44
|
-
/**
|
|
57
|
+
/** Active. Active automations can be triggered. */
|
|
45
58
|
AutomationConfigurationStatus["ACTIVE"] = "ACTIVE";
|
|
46
|
-
/**
|
|
59
|
+
/** Inactive. Inactive automations cannot be triggered. */
|
|
47
60
|
AutomationConfigurationStatus["INACTIVE"] = "INACTIVE";
|
|
48
61
|
})(AutomationConfigurationStatus || (AutomationConfigurationStatus = {}));
|
|
49
62
|
export var Origin;
|
|
50
63
|
(function (Origin) {
|
|
51
|
-
/** Default value.
|
|
64
|
+
/** Default value. */
|
|
52
65
|
Origin["UNKNOWN_ORIGIN"] = "UNKNOWN_ORIGIN";
|
|
53
|
-
/**
|
|
66
|
+
/** Created by a [Wix user](https://dev.wix.com/docs/build-apps/get-started/overview/glossary#wix-user). */
|
|
54
67
|
Origin["USER"] = "USER";
|
|
55
|
-
/**
|
|
68
|
+
/** Created by a [Wix app](https://dev.wix.com/docs/build-apps/get-started/overview/glossary#wix-app) for a particular site. */
|
|
56
69
|
Origin["APPLICATION"] = "APPLICATION";
|
|
57
|
-
/** Preinstalled
|
|
70
|
+
/** [Preinstalled automation](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/automations/pre-installed-automations/about-pre-installed-automations). */
|
|
58
71
|
Origin["PREINSTALLED"] = "PREINSTALLED";
|
|
59
|
-
/** Automation created from a recipe. */
|
|
60
|
-
Origin["RECIPE"] = "RECIPE";
|
|
61
72
|
})(Origin || (Origin = {}));
|
|
62
73
|
export var Target;
|
|
63
74
|
(function (Target) {
|
|
@@ -150,12 +161,32 @@ export var BlockType;
|
|
|
150
161
|
BlockType["OR"] = "OR";
|
|
151
162
|
BlockType["AND"] = "AND";
|
|
152
163
|
})(BlockType || (BlockType = {}));
|
|
164
|
+
export var Language;
|
|
165
|
+
(function (Language) {
|
|
166
|
+
/** Unknown. */
|
|
167
|
+
Language["UNKNOWN_LANGUAGE"] = "UNKNOWN_LANGUAGE";
|
|
168
|
+
/** `JAVASCRIPT` language. */
|
|
169
|
+
Language["JAVASCRIPT"] = "JAVASCRIPT";
|
|
170
|
+
})(Language || (Language = {}));
|
|
153
171
|
export var IdentifierType;
|
|
154
172
|
(function (IdentifierType) {
|
|
155
173
|
IdentifierType["UNKNOWN_IDENTIFIER"] = "UNKNOWN_IDENTIFIER";
|
|
156
174
|
IdentifierType["PREINSTALLED"] = "PREINSTALLED";
|
|
157
175
|
IdentifierType["AUTOMATION"] = "AUTOMATION";
|
|
158
176
|
})(IdentifierType || (IdentifierType = {}));
|
|
177
|
+
export var RuntimeStatus;
|
|
178
|
+
(function (RuntimeStatus) {
|
|
179
|
+
RuntimeStatus["UNKNOWN_STATUS"] = "UNKNOWN_STATUS";
|
|
180
|
+
RuntimeStatus["STARTED"] = "STARTED";
|
|
181
|
+
RuntimeStatus["ENDED"] = "ENDED";
|
|
182
|
+
RuntimeStatus["ERROR"] = "ERROR";
|
|
183
|
+
RuntimeStatus["SCHEDULED"] = "SCHEDULED";
|
|
184
|
+
RuntimeStatus["FROM_SCHEDULER"] = "FROM_SCHEDULER";
|
|
185
|
+
RuntimeStatus["RETRY"] = "RETRY";
|
|
186
|
+
RuntimeStatus["RESUMED"] = "RESUMED";
|
|
187
|
+
RuntimeStatus["PAUSED"] = "PAUSED";
|
|
188
|
+
RuntimeStatus["ACTION_SKIPPED"] = "ACTION_SKIPPED";
|
|
189
|
+
})(RuntimeStatus || (RuntimeStatus = {}));
|
|
159
190
|
export var Status;
|
|
160
191
|
(function (Status) {
|
|
161
192
|
/** Unknown action completion status. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"automations-v2-activation-activations.types.js","sourceRoot":"","sources":["../../../../src/automations-v2-activation-activations.types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"automations-v2-activation-activations.types.js","sourceRoot":"","sources":["../../../../src/automations-v2-activation-activations.types.ts"],"names":[],"mappings":"AAuHA,MAAM,CAAN,IAAY,MAOX;AAPD,WAAY,MAAM;IAChB,6BAA6B;IAC7B,uBAAa,CAAA;IACb,kBAAkB;IAClB,qBAAW,CAAA;IACX,gCAAgC;IAChC,qCAA2B,CAAA;AAC7B,CAAC,EAPW,MAAM,KAAN,MAAM,QAOjB;AA0DD,MAAM,CAAN,IAAY,QAYX;AAZD,WAAY,QAAQ;IAClB,mDAAuC,CAAA;IACvC,eAAe;IACf,+BAAmB,CAAA;IACnB,aAAa;IACb,2BAAe,CAAA;IACf,YAAY;IACZ,yBAAa,CAAA;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