@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
|
@@ -1,66 +1,77 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ActivationActionStatusChangedStatus = exports.Status = exports.IdentifierType = exports.BlockType = exports.WebhookIdentityType = exports.ScheduleStatus = exports.Units = exports.ActivationStatusChangedStatus = exports.SkipReason = exports.ErrorReason = exports.CancellationReason = exports.Target = exports.Origin = exports.AutomationConfigurationStatus = exports.Type = exports.Operator = exports.TimeUnit = exports.Domain = void 0;
|
|
3
|
+
exports.ActivationActionStatusChangedStatus = exports.Status = exports.RuntimeStatus = exports.IdentifierType = exports.Language = exports.BlockType = exports.WebhookIdentityType = exports.ScheduleStatus = exports.Units = exports.ActivationStatusChangedStatus = exports.SkipReason = exports.ErrorReason = exports.CancellationReason = exports.Target = exports.Origin = exports.AutomationConfigurationStatus = exports.Type = exports.CodeSnippetLanguage = exports.Operator = exports.TimeUnit = exports.Domain = void 0;
|
|
4
4
|
var Domain;
|
|
5
5
|
(function (Domain) {
|
|
6
6
|
/** User domain (default). */
|
|
7
7
|
Domain["USER"] = "USER";
|
|
8
8
|
/** Wix domain. */
|
|
9
9
|
Domain["WIX"] = "WIX";
|
|
10
|
+
/** Wix account-level domain. */
|
|
11
|
+
Domain["WIX_ACCOUNT"] = "WIX_ACCOUNT";
|
|
10
12
|
})(Domain || (exports.Domain = Domain = {}));
|
|
11
13
|
var TimeUnit;
|
|
12
14
|
(function (TimeUnit) {
|
|
13
15
|
TimeUnit["UNKNOWN_TIME_UNIT"] = "UNKNOWN_TIME_UNIT";
|
|
16
|
+
/** Minutes. */
|
|
14
17
|
TimeUnit["MINUTES"] = "MINUTES";
|
|
18
|
+
/** Hours. */
|
|
15
19
|
TimeUnit["HOURS"] = "HOURS";
|
|
20
|
+
/** Days. */
|
|
16
21
|
TimeUnit["DAYS"] = "DAYS";
|
|
22
|
+
/** Weeks. */
|
|
17
23
|
TimeUnit["WEEKS"] = "WEEKS";
|
|
24
|
+
/** Months. */
|
|
18
25
|
TimeUnit["MONTHS"] = "MONTHS";
|
|
19
26
|
})(TimeUnit || (exports.TimeUnit = TimeUnit = {}));
|
|
20
27
|
var Operator;
|
|
21
28
|
(function (Operator) {
|
|
29
|
+
/** Unknown. */
|
|
22
30
|
Operator["UNKNOWN_OPERATOR"] = "UNKNOWN_OPERATOR";
|
|
31
|
+
/** `OR` operator. */
|
|
23
32
|
Operator["OR"] = "OR";
|
|
33
|
+
/** `AND` operator. */
|
|
24
34
|
Operator["AND"] = "AND";
|
|
25
35
|
})(Operator || (exports.Operator = Operator = {}));
|
|
36
|
+
var CodeSnippetLanguage;
|
|
37
|
+
(function (CodeSnippetLanguage) {
|
|
38
|
+
/** Unknown. */
|
|
39
|
+
CodeSnippetLanguage["UNKNOWN_LANGUAGE"] = "UNKNOWN_LANGUAGE";
|
|
40
|
+
/** `JAVASCRIPT` language. */
|
|
41
|
+
CodeSnippetLanguage["JAVASCRIPT"] = "JAVASCRIPT";
|
|
42
|
+
})(CodeSnippetLanguage || (exports.CodeSnippetLanguage = CodeSnippetLanguage = {}));
|
|
26
43
|
var Type;
|
|
27
44
|
(function (Type) {
|
|
28
|
-
/**
|
|
45
|
+
/** Based on the trigger. */
|
|
29
46
|
Type["UNKNOWN_ACTION_TYPE"] = "UNKNOWN_ACTION_TYPE";
|
|
30
|
-
/**
|
|
47
|
+
/** 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. */
|
|
31
48
|
Type["APP_DEFINED"] = "APP_DEFINED";
|
|
32
|
-
/** Condition
|
|
49
|
+
/** Condition. This determines which action runs next. */
|
|
33
50
|
Type["CONDITION"] = "CONDITION";
|
|
34
|
-
/** Delay
|
|
51
|
+
/** Delay. The automation must wait before executing the next step. */
|
|
35
52
|
Type["DELAY"] = "DELAY";
|
|
36
|
-
/**
|
|
53
|
+
/** Rate-limiter. This stops the automation flow if the subsequent action has reached its maximum allowed executions. */
|
|
37
54
|
Type["RATE_LIMIT"] = "RATE_LIMIT";
|
|
38
|
-
/** Set Variables Action. */
|
|
39
|
-
Type["SET_VARIABLES"] = "SET_VARIABLES";
|
|
40
|
-
/** Output Action. */
|
|
41
|
-
Type["OUTPUT"] = "OUTPUT";
|
|
42
55
|
})(Type || (exports.Type = Type = {}));
|
|
43
56
|
var AutomationConfigurationStatus;
|
|
44
57
|
(function (AutomationConfigurationStatus) {
|
|
45
|
-
/**
|
|
58
|
+
/** Unknown. */
|
|
46
59
|
AutomationConfigurationStatus["UNKNOWN_STATUS"] = "UNKNOWN_STATUS";
|
|
47
|
-
/**
|
|
60
|
+
/** Active. Active automations can be triggered. */
|
|
48
61
|
AutomationConfigurationStatus["ACTIVE"] = "ACTIVE";
|
|
49
|
-
/**
|
|
62
|
+
/** Inactive. Inactive automations cannot be triggered. */
|
|
50
63
|
AutomationConfigurationStatus["INACTIVE"] = "INACTIVE";
|
|
51
64
|
})(AutomationConfigurationStatus || (exports.AutomationConfigurationStatus = AutomationConfigurationStatus = {}));
|
|
52
65
|
var Origin;
|
|
53
66
|
(function (Origin) {
|
|
54
|
-
/** Default value.
|
|
67
|
+
/** Default value. */
|
|
55
68
|
Origin["UNKNOWN_ORIGIN"] = "UNKNOWN_ORIGIN";
|
|
56
|
-
/**
|
|
69
|
+
/** Created by a [Wix user](https://dev.wix.com/docs/build-apps/get-started/overview/glossary#wix-user). */
|
|
57
70
|
Origin["USER"] = "USER";
|
|
58
|
-
/**
|
|
71
|
+
/** Created by a [Wix app](https://dev.wix.com/docs/build-apps/get-started/overview/glossary#wix-app) for a particular site. */
|
|
59
72
|
Origin["APPLICATION"] = "APPLICATION";
|
|
60
|
-
/** Preinstalled
|
|
73
|
+
/** [Preinstalled automation](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/automations/pre-installed-automations/about-pre-installed-automations). */
|
|
61
74
|
Origin["PREINSTALLED"] = "PREINSTALLED";
|
|
62
|
-
/** Automation created from a recipe. */
|
|
63
|
-
Origin["RECIPE"] = "RECIPE";
|
|
64
75
|
})(Origin || (exports.Origin = Origin = {}));
|
|
65
76
|
var Target;
|
|
66
77
|
(function (Target) {
|
|
@@ -153,12 +164,32 @@ var BlockType;
|
|
|
153
164
|
BlockType["OR"] = "OR";
|
|
154
165
|
BlockType["AND"] = "AND";
|
|
155
166
|
})(BlockType || (exports.BlockType = BlockType = {}));
|
|
167
|
+
var Language;
|
|
168
|
+
(function (Language) {
|
|
169
|
+
/** Unknown. */
|
|
170
|
+
Language["UNKNOWN_LANGUAGE"] = "UNKNOWN_LANGUAGE";
|
|
171
|
+
/** `JAVASCRIPT` language. */
|
|
172
|
+
Language["JAVASCRIPT"] = "JAVASCRIPT";
|
|
173
|
+
})(Language || (exports.Language = Language = {}));
|
|
156
174
|
var IdentifierType;
|
|
157
175
|
(function (IdentifierType) {
|
|
158
176
|
IdentifierType["UNKNOWN_IDENTIFIER"] = "UNKNOWN_IDENTIFIER";
|
|
159
177
|
IdentifierType["PREINSTALLED"] = "PREINSTALLED";
|
|
160
178
|
IdentifierType["AUTOMATION"] = "AUTOMATION";
|
|
161
179
|
})(IdentifierType || (exports.IdentifierType = IdentifierType = {}));
|
|
180
|
+
var RuntimeStatus;
|
|
181
|
+
(function (RuntimeStatus) {
|
|
182
|
+
RuntimeStatus["UNKNOWN_STATUS"] = "UNKNOWN_STATUS";
|
|
183
|
+
RuntimeStatus["STARTED"] = "STARTED";
|
|
184
|
+
RuntimeStatus["ENDED"] = "ENDED";
|
|
185
|
+
RuntimeStatus["ERROR"] = "ERROR";
|
|
186
|
+
RuntimeStatus["SCHEDULED"] = "SCHEDULED";
|
|
187
|
+
RuntimeStatus["FROM_SCHEDULER"] = "FROM_SCHEDULER";
|
|
188
|
+
RuntimeStatus["RETRY"] = "RETRY";
|
|
189
|
+
RuntimeStatus["RESUMED"] = "RESUMED";
|
|
190
|
+
RuntimeStatus["PAUSED"] = "PAUSED";
|
|
191
|
+
RuntimeStatus["ACTION_SKIPPED"] = "ACTION_SKIPPED";
|
|
192
|
+
})(RuntimeStatus || (exports.RuntimeStatus = RuntimeStatus = {}));
|
|
162
193
|
var Status;
|
|
163
194
|
(function (Status) {
|
|
164
195
|
/** 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,IAAY,MAOX;AAPD,WAAY,MAAM;IAChB,6BAA6B;IAC7B,uBAAa,CAAA;IACb,kBAAkB;IAClB,qBAAW,CAAA;IACX,gCAAgC;IAChC,qCAA2B,CAAA;AAC7B,CAAC,EAPW,MAAM,sBAAN,MAAM,QAOjB;AA0DD,IAAY,QAYX;AAZD,WAAY,QAAQ;IAClB,mDAAuC,CAAA;IACvC,eAAe;IACf,+BAAmB,CAAA;IACnB,aAAa;IACb,2BAAe,CAAA;IACf,YAAY;IACZ,yBAAa,CAAA;IACb,aAAa;IACb,2BAAe,CAAA;IACf,cAAc;IACd,6BAAiB,CAAA;AACnB,CAAC,EAZW,QAAQ,wBAAR,QAAQ,QAYnB;AAiFD,IAAY,QAOX;AAPD,WAAY,QAAQ;IAClB,eAAe;IACf,iDAAqC,CAAA;IACrC,qBAAqB;IACrB,qBAAS,CAAA;IACT,sBAAsB;IACtB,uBAAW,CAAA;AACb,CAAC,EAPW,QAAQ,wBAAR,QAAQ,QAOnB;AAYD,IAAY,mBAKX;AALD,WAAY,mBAAmB;IAC7B,eAAe;IACf,4DAAqC,CAAA;IACrC,6BAA6B;IAC7B,gDAAyB,CAAA;AAC3B,CAAC,EALW,mBAAmB,mCAAnB,mBAAmB,QAK9B;AAsBD,IAAY,IAWX;AAXD,WAAY,IAAI;IACd,4BAA4B;IAC5B,mDAA2C,CAAA;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