@wix/automations 1.0.13 → 1.0.15

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/automations",
3
- "version": "1.0.13",
3
+ "version": "1.0.15",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -18,9 +18,9 @@
18
18
  "type-bundles"
19
19
  ],
20
20
  "dependencies": {
21
- "@wix/automations_activations": "1.0.9",
22
- "@wix/automations_automations-service": "1.0.5",
23
- "@wix/automations_automations-service-v-2": "1.0.2"
21
+ "@wix/automations_activations": "1.0.11",
22
+ "@wix/automations_automations-service": "1.0.6",
23
+ "@wix/automations_automations-service-v-2": "1.0.3"
24
24
  },
25
25
  "devDependencies": {
26
26
  "glob": "^10.4.1",
@@ -30,7 +30,7 @@
30
30
  },
31
31
  "scripts": {
32
32
  "build": "tsc -b tsconfig.json tsconfig.esm.json && npm run build:dts-bundles",
33
- "build:dts-bundles": "test -f config/rollup-config.js && rollup --config config/rollup-config.js || echo 'Warning: config/rollup-config.js not found!'",
33
+ "build:dts-bundles": "test -f config/rollup-config.js && NODE_OPTIONS=--max-old-space-size=8192 rollup --config config/rollup-config.js || echo 'Warning: config/rollup-config.js not found!'",
34
34
  "test": ":"
35
35
  },
36
36
  "wix": {
@@ -44,5 +44,5 @@
44
44
  "fqdn": ""
45
45
  }
46
46
  },
47
- "falconPackageHash": "a56cec7b91df10e8c3528f4b19d5f1324586c6d1a91d13c9a332e17e"
47
+ "falconPackageHash": "40f1bc12f22e091550d043195d96c9000a131d17b999551ab9cfc72a"
48
48
  }
@@ -2004,6 +2004,7 @@ interface Trigger$1 {
2004
2004
  scheduledEventOffset?: FutureDateActivationOffset$1;
2005
2005
  /** optional - rate limiting configuration */
2006
2006
  rateLimit?: RateLimit$1;
2007
+ automationConfigMapping?: Record<string, any> | null;
2007
2008
  }
2008
2009
  interface AutomationConfigurationAction extends AutomationConfigurationActionInfoOneOf {
2009
2010
  /** App defined Action (via RPC, HTTP or Velo) */
@@ -2951,7 +2952,7 @@ interface ReportEventRequest {
2951
2952
  * For example, `fc81a355-3429-50fc-a4c7-def486e828f3`.
2952
2953
  *
2953
2954
  * Required if your app needs to
2954
- * [cancel the event](https://dev.wix.com/docs/rest/business-management/automations/triggered-events/cancel-event)
2955
+ * [cancel the event](https://dev.wix.com/docs/sdk/backend-modules/automations/triggered-events/cancel-event)
2955
2956
  * if the automation becomes no longer relevant.
2956
2957
  *
2957
2958
  * Typically, this ID is defined in your system,
@@ -3287,7 +3288,7 @@ interface ReportEventOptions {
3287
3288
  * For example, `fc81a355-3429-50fc-a4c7-def486e828f3`.
3288
3289
  *
3289
3290
  * Required if your app needs to
3290
- * [cancel the event](https://dev.wix.com/docs/rest/business-management/automations/triggered-events/cancel-event)
3291
+ * [cancel the event](https://dev.wix.com/docs/sdk/backend-modules/automations/triggered-events/cancel-event)
3291
3292
  * if the automation becomes no longer relevant.
3292
3293
  *
3293
3294
  * Typically, this ID is defined in your system,
@@ -3717,6 +3718,7 @@ interface Trigger {
3717
3718
  scheduledEventOffset?: FutureDateActivationOffset;
3718
3719
  /** optional - rate limiting configuration */
3719
3720
  rateLimit?: RateLimit;
3721
+ automationConfigMapping?: Record<string, any> | null;
3720
3722
  }
3721
3723
  interface Action extends ActionInfoOneOf {
3722
3724
  /** App defined Action (via RPC, HTTP or Velo) */
@@ -2004,6 +2004,7 @@ interface Trigger$1 {
2004
2004
  scheduledEventOffset?: FutureDateActivationOffset$1;
2005
2005
  /** optional - rate limiting configuration */
2006
2006
  rateLimit?: RateLimit$1;
2007
+ automationConfigMapping?: Record<string, any> | null;
2007
2008
  }
2008
2009
  interface AutomationConfigurationAction extends AutomationConfigurationActionInfoOneOf {
2009
2010
  /** App defined Action (via RPC, HTTP or Velo) */
@@ -2951,7 +2952,7 @@ interface ReportEventRequest {
2951
2952
  * For example, `fc81a355-3429-50fc-a4c7-def486e828f3`.
2952
2953
  *
2953
2954
  * Required if your app needs to
2954
- * [cancel the event](https://dev.wix.com/docs/rest/business-management/automations/triggered-events/cancel-event)
2955
+ * [cancel the event](https://dev.wix.com/docs/sdk/backend-modules/automations/triggered-events/cancel-event)
2955
2956
  * if the automation becomes no longer relevant.
2956
2957
  *
2957
2958
  * Typically, this ID is defined in your system,
@@ -3287,7 +3288,7 @@ interface ReportEventOptions {
3287
3288
  * For example, `fc81a355-3429-50fc-a4c7-def486e828f3`.
3288
3289
  *
3289
3290
  * Required if your app needs to
3290
- * [cancel the event](https://dev.wix.com/docs/rest/business-management/automations/triggered-events/cancel-event)
3291
+ * [cancel the event](https://dev.wix.com/docs/sdk/backend-modules/automations/triggered-events/cancel-event)
3291
3292
  * if the automation becomes no longer relevant.
3292
3293
  *
3293
3294
  * Typically, this ID is defined in your system,
@@ -3717,6 +3718,7 @@ interface Trigger {
3717
3718
  scheduledEventOffset?: FutureDateActivationOffset;
3718
3719
  /** optional - rate limiting configuration */
3719
3720
  rateLimit?: RateLimit;
3721
+ automationConfigMapping?: Record<string, any> | null;
3720
3722
  }
3721
3723
  interface Action extends ActionInfoOneOf {
3722
3724
  /** App defined Action (via RPC, HTTP or Velo) */
@@ -1854,7 +1854,7 @@ interface ReportEventRequest {
1854
1854
  * For example, `fc81a355-3429-50fc-a4c7-def486e828f3`.
1855
1855
  *
1856
1856
  * Required if your app needs to
1857
- * [cancel the event](https://dev.wix.com/docs/rest/business-management/automations/triggered-events/cancel-event)
1857
+ * [cancel the event](https://dev.wix.com/docs/sdk/backend-modules/automations/triggered-events/cancel-event)
1858
1858
  * if the automation becomes no longer relevant.
1859
1859
  *
1860
1860
  * Typically, this ID is defined in your system,
@@ -2322,6 +2322,7 @@ interface Trigger$1 {
2322
2322
  scheduledEventOffset?: FutureDateActivationOffset$1;
2323
2323
  /** optional - rate limiting configuration */
2324
2324
  rateLimit?: RateLimit$1;
2325
+ automationConfigMapping?: Record<string, any> | null;
2325
2326
  }
2326
2327
  interface Action$1 extends ActionInfoOneOf$1 {
2327
2328
  /** App defined Action (via RPC, HTTP or Velo) */
@@ -3087,6 +3088,7 @@ interface Trigger {
3087
3088
  scheduledEventOffset?: FutureDateActivationOffset;
3088
3089
  /** optional - rate limiting configuration */
3089
3090
  rateLimit?: RateLimit;
3091
+ automationConfigMapping?: Record<string, any> | null;
3090
3092
  }
3091
3093
  interface Action extends ActionInfoOneOf {
3092
3094
  /** App defined Action (via RPC, HTTP or Velo) */