@wix/auto_sdk_automations_trigger-provider 1.0.7 → 1.0.9

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.
@@ -4,60 +4,64 @@ 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 = {}));
23
33
  export var Type;
24
34
  (function (Type) {
25
- /** Automation will be triggered according to the trigger configuration. */
35
+ /** Based on the trigger. */
26
36
  Type["UNKNOWN_ACTION_TYPE"] = "UNKNOWN_ACTION_TYPE";
27
- /** App defined Action. */
37
+ /** 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
38
  Type["APP_DEFINED"] = "APP_DEFINED";
29
- /** Condition Action. */
39
+ /** Condition. This determines which action runs next. */
30
40
  Type["CONDITION"] = "CONDITION";
31
- /** Delay Action. */
41
+ /** Delay. The automation must wait before executing the next step. */
32
42
  Type["DELAY"] = "DELAY";
33
- /** RateLimit Action. */
43
+ /** Rate-limiter. This stops the automation flow if the subsequent action has reached its maximum allowed executions. */
34
44
  Type["RATE_LIMIT"] = "RATE_LIMIT";
35
- /** Set Variables Action. */
36
- Type["SET_VARIABLES"] = "SET_VARIABLES";
37
- /** Output Action. */
38
- Type["OUTPUT"] = "OUTPUT";
39
45
  })(Type || (Type = {}));
40
46
  export var Status;
41
47
  (function (Status) {
42
- /** unused */
48
+ /** Unknown. */
43
49
  Status["UNKNOWN_STATUS"] = "UNKNOWN_STATUS";
44
- /** Automation will be triggered according to the trigger configuration */
50
+ /** Active. Active automations can be triggered. */
45
51
  Status["ACTIVE"] = "ACTIVE";
46
- /** Automation will not be triggered */
52
+ /** Inactive. Inactive automations cannot be triggered. */
47
53
  Status["INACTIVE"] = "INACTIVE";
48
54
  })(Status || (Status = {}));
49
55
  export var Origin;
50
56
  (function (Origin) {
51
- /** Default value. This is unused. */
57
+ /** Default value. */
52
58
  Origin["UNKNOWN_ORIGIN"] = "UNKNOWN_ORIGIN";
53
- /** User created automation. */
59
+ /** Created by a [Wix user](https://dev.wix.com/docs/build-apps/get-started/overview/glossary#wix-user). */
54
60
  Origin["USER"] = "USER";
55
- /** Automation created by application (site specific). */
61
+ /** Created by a [Wix app](https://dev.wix.com/docs/build-apps/get-started/overview/glossary#wix-app) for a particular site. */
56
62
  Origin["APPLICATION"] = "APPLICATION";
57
- /** Preinstalled application automation. */
63
+ /** [Preinstalled automation](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/automations/pre-installed-automations/about-pre-installed-automations). */
58
64
  Origin["PREINSTALLED"] = "PREINSTALLED";
59
- /** Automation created from a recipe. */
60
- Origin["RECIPE"] = "RECIPE";
61
65
  })(Origin || (Origin = {}));
62
66
  export var IdentityType;
63
67
  (function (IdentityType) {
@@ -1 +1 @@
1
- {"version":3,"file":"service-plugins-types.js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;IACzD,qCAA2B,CAAA;IAC3B,2CAA2C;IAC3C,uCAA6B,CAAA;IAC7B,wCAAwC;IACxC,2BAAiB,CAAA;AACnB,CAAC,EAXW,MAAM,KAAN,MAAM,QAWjB;AA4MD,MAAM,CAAN,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,mCAAmB,CAAA;IACnB,uDAAuC,CAAA;IACvC,iCAAiB,CAAA;IACjB,qCAAqB,CAAA;IACrB,2BAAW,CAAA;AACb,CAAC,EANW,YAAY,KAAZ,YAAY,QAMvB"}
1
+ {"version":3,"file":"service-plugins-types.js","sourceRoot":"","sources":["../../../src/service-plugins-types.ts"],"names":[],"mappings":"AAkNA,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;IACb,aAAa;IACb,2BAAe,CAAA;IACf,cAAc;IACd,6BAAiB,CAAA;AACnB,CAAC,EAZW,QAAQ,KAAR,QAAQ,QAYnB;AAiFD,MAAM,CAAN,IAAY,QAOX;AAPD,WAAY,QAAQ;IAClB,eAAe;IACf,iDAAqC,CAAA;IACrC,qBAAqB;IACrB,qBAAS,CAAA;IACT,sBAAsB;IACtB,uBAAW,CAAA;AACb,CAAC,EAPW,QAAQ,KAAR,QAAQ,QAOnB;AAsBD,MAAM,CAAN,IAAY,IAWX;AAXD,WAAY,IAAI;IACd,4BAA4B;IAC5B,mDAA2C,CAAA;IAC3C,gOAAgO;IAChO,mCAA2B,CAAA;IAC3B,yDAAyD;IACzD,+BAAuB,CAAA;IACvB,sEAAsE;IACtE,uBAAe,CAAA;IACf,wHAAwH;IACxH,iCAAyB,CAAA;AAC3B,CAAC,EAXW,IAAI,KAAJ,IAAI,QAWf;AA2ID,MAAM,CAAN,IAAY,MAOX;AAPD,WAAY,MAAM;IAChB,eAAe;IACf,2CAAiC,CAAA;IACjC,mDAAmD;IACnD,2BAAiB,CAAA;IACjB,0DAA0D;IAC1D,+BAAqB,CAAA;AACvB,CAAC,EAPW,MAAM,KAAN,MAAM,QAOjB;AAsFD,MAAM,CAAN,IAAY,MASX;AATD,WAAY,MAAM;IAChB,qBAAqB;IACrB,2CAAiC,CAAA;IACjC,2GAA2G;IAC3G,uBAAa,CAAA;IACb,+HAA+H;IAC/H,qCAA2B,CAAA;IAC3B,2LAA2L;IAC3L,uCAA6B,CAAA;AAC/B,CAAC,EATW,MAAM,KAAN,MAAM,QASjB;AA0MD,MAAM,CAAN,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,mCAAmB,CAAA;IACnB,uDAAuC,CAAA;IACvC,iCAAiB,CAAA;IACjB,qCAAqB,CAAA;IACrB,2BAAW,CAAA;AACb,CAAC,EANW,YAAY,KAAZ,YAAY,QAMvB"}
@@ -1,3 +1,3 @@
1
- export * from './src/service-plugins-types';
2
- export * from './src/interfaces-automations-v1-trigger-provider.context';
3
- export * from './src/service-plugins-error-classes';
1
+ export * from './src/service-plugins-types.js';
2
+ export * from './src/interfaces-automations-v1-trigger-provider.context.js';
3
+ export * from './src/service-plugins-error-classes.js';
@@ -14,7 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./src/service-plugins-types"), exports);
18
- __exportStar(require("./src/interfaces-automations-v1-trigger-provider.context"), exports);
19
- __exportStar(require("./src/service-plugins-error-classes"), exports);
17
+ __exportStar(require("./src/service-plugins-types.js"), exports);
18
+ __exportStar(require("./src/interfaces-automations-v1-trigger-provider.context.js"), exports);
19
+ __exportStar(require("./src/service-plugins-error-classes.js"), exports);
20
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8DAA4C;AAC5C,2FAAyE;AACzE,sEAAoD"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iEAA+C;AAC/C,8FAA4E;AAC5E,yEAAuD"}