@wix/auto_sdk_automations_automations-v-2 1.0.28 → 1.0.30
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.d.ts +1 -1
- package/build/cjs/index.js +13 -13
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +182 -267
- package/build/cjs/index.typings.js +13 -13
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +38 -38
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +13 -13
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +182 -267
- package/build/es/index.typings.mjs +13 -13
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +38 -38
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +13 -13
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +182 -267
- package/build/internal/cjs/index.typings.js +13 -13
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +38 -38
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +13 -13
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +182 -267
- package/build/internal/es/index.typings.mjs +13 -13
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +38 -38
- package/package.json +2 -2
|
@@ -245,6 +245,23 @@ declare enum Operator {
|
|
|
245
245
|
}
|
|
246
246
|
/** @enumType */
|
|
247
247
|
type OperatorWithLiterals = Operator | 'UNKNOWN_OPERATOR' | 'OR' | 'AND';
|
|
248
|
+
interface CodeSnippet {
|
|
249
|
+
/** Logical operator used to evaluate the condition expressions. */
|
|
250
|
+
language?: LanguageWithLiterals;
|
|
251
|
+
/**
|
|
252
|
+
* Expressions evaluated using the selected operator. this code should comply the language syntax. and format
|
|
253
|
+
* @maxLength 1000
|
|
254
|
+
*/
|
|
255
|
+
code?: string;
|
|
256
|
+
}
|
|
257
|
+
declare enum Language {
|
|
258
|
+
/** Unknown. */
|
|
259
|
+
UNKNOWN_LANGUAGE = "UNKNOWN_LANGUAGE",
|
|
260
|
+
/** `JAVASCRIPT` language. */
|
|
261
|
+
JAVASCRIPT = "JAVASCRIPT"
|
|
262
|
+
}
|
|
263
|
+
/** @enumType */
|
|
264
|
+
type LanguageWithLiterals = Language | 'UNKNOWN_LANGUAGE' | 'JAVASCRIPT';
|
|
248
265
|
declare enum Type {
|
|
249
266
|
/** Based on the trigger. */
|
|
250
267
|
UNKNOWN_ACTION_TYPE = "UNKNOWN_ACTION_TYPE",
|
|
@@ -287,7 +304,7 @@ interface AppDefinedAction {
|
|
|
287
304
|
skipConditionOrExpressionGroups?: ConditionExpressionGroup[];
|
|
288
305
|
/**
|
|
289
306
|
* IDs of actions that run in parallel after the action completes.
|
|
290
|
-
* @maxSize
|
|
307
|
+
* @maxSize 1
|
|
291
308
|
* @format GUID
|
|
292
309
|
*/
|
|
293
310
|
postActionIds?: string[];
|
|
@@ -303,13 +320,29 @@ interface ConditionAction {
|
|
|
303
320
|
orExpressionGroups?: ConditionExpressionGroup[];
|
|
304
321
|
/**
|
|
305
322
|
* IDs of actions to run when the condition evaluates to `true`.
|
|
306
|
-
* @maxSize
|
|
323
|
+
* @maxSize 1
|
|
307
324
|
* @format GUID
|
|
308
325
|
*/
|
|
309
326
|
truePostActionIds?: string[];
|
|
310
327
|
/**
|
|
311
328
|
* IDs of actions to run when the condition evaluates to `false`.
|
|
312
|
-
* @maxSize
|
|
329
|
+
* @maxSize 1
|
|
330
|
+
* @format GUID
|
|
331
|
+
*/
|
|
332
|
+
falsePostActionIds?: string[];
|
|
333
|
+
}
|
|
334
|
+
interface CodeConditionAction {
|
|
335
|
+
/** condition code. This is a code that can be used to identify the condition in the automation. code should return a boolean value. otherwise the value will be tried to be casted to boolean. */
|
|
336
|
+
snippet?: CodeSnippet;
|
|
337
|
+
/**
|
|
338
|
+
* IDs of actions to run when the condition evaluates to `true`.
|
|
339
|
+
* @maxSize 1
|
|
340
|
+
* @format GUID
|
|
341
|
+
*/
|
|
342
|
+
truePostActionIds?: string[];
|
|
343
|
+
/**
|
|
344
|
+
* IDs of actions to run when the condition evaluates to `false`.
|
|
345
|
+
* @maxSize 1
|
|
313
346
|
* @format GUID
|
|
314
347
|
*/
|
|
315
348
|
falsePostActionIds?: string[];
|
|
@@ -346,7 +379,7 @@ interface DelayAction {
|
|
|
346
379
|
dueDateExpression?: string | null;
|
|
347
380
|
/**
|
|
348
381
|
* IDs of actions to run in parallel after the time delay.
|
|
349
|
-
* @maxSize
|
|
382
|
+
* @maxSize 1
|
|
350
383
|
* @format GUID
|
|
351
384
|
*/
|
|
352
385
|
postActionIds?: string[];
|
|
@@ -374,7 +407,7 @@ interface RateLimitAction {
|
|
|
374
407
|
uniqueIdentifierExpression?: string | null;
|
|
375
408
|
/**
|
|
376
409
|
* IDs of actions to run in parallel after the action completes.
|
|
377
|
-
* @maxSize
|
|
410
|
+
* @maxSize 1
|
|
378
411
|
* @format GUID
|
|
379
412
|
*/
|
|
380
413
|
postActionIds?: string[];
|
|
@@ -548,39 +581,6 @@ interface DraftInfo {
|
|
|
548
581
|
*/
|
|
549
582
|
originalAutomationId?: string | null;
|
|
550
583
|
}
|
|
551
|
-
interface CodeSnippet {
|
|
552
|
-
/** Logical operator used to evaluate the condition expressions. */
|
|
553
|
-
language?: LanguageWithLiterals;
|
|
554
|
-
/**
|
|
555
|
-
* Expressions evaluated using the selected operator. this code should comply the language syntax. and format
|
|
556
|
-
* @maxLength 1000
|
|
557
|
-
*/
|
|
558
|
-
code?: string;
|
|
559
|
-
}
|
|
560
|
-
declare enum Language {
|
|
561
|
-
/** Unknown. */
|
|
562
|
-
UNKNOWN_LANGUAGE = "UNKNOWN_LANGUAGE",
|
|
563
|
-
/** `JAVASCRIPT` language. */
|
|
564
|
-
JAVASCRIPT = "JAVASCRIPT"
|
|
565
|
-
}
|
|
566
|
-
/** @enumType */
|
|
567
|
-
type LanguageWithLiterals = Language | 'UNKNOWN_LANGUAGE' | 'JAVASCRIPT';
|
|
568
|
-
interface CodeConditionAction {
|
|
569
|
-
/** condition code. This is a code that can be used to identify the condition in the automation. code should return a boolean value. otherwise the value will be tried to be casted to boolean. */
|
|
570
|
-
snippet?: CodeSnippet;
|
|
571
|
-
/**
|
|
572
|
-
* IDs of actions to run when the condition evaluates to `true`.
|
|
573
|
-
* @maxSize 20
|
|
574
|
-
* @format GUID
|
|
575
|
-
*/
|
|
576
|
-
truePostActionIds?: string[];
|
|
577
|
-
/**
|
|
578
|
-
* IDs of actions to run when the condition evaluates to `false`.
|
|
579
|
-
* @maxSize 20
|
|
580
|
-
* @format GUID
|
|
581
|
-
*/
|
|
582
|
-
falsePostActionIds?: string[];
|
|
583
|
-
}
|
|
584
584
|
interface AutoArchivePolicy {
|
|
585
585
|
/**
|
|
586
586
|
* Date when to archive the automation
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_automations_automations-v-2",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.30",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"fqdn": "wix.automations.v2.automation"
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
|
-
"falconPackageHash": "
|
|
53
|
+
"falconPackageHash": "b290bc35f4b44d20646c6160a93412ed5e5d140f959b4d7cee240d9d"
|
|
54
54
|
}
|