@opencxh/domain 1.254.0 → 1.255.0
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/dist/entities/playbook/trigger-vars.d.ts +11 -0
- package/dist/entities/playbook/trigger-vars.test.d.ts +1 -0
- package/dist/index.cjs +16 -16
- package/dist/index.js +310 -305
- package/package.json +1 -1
|
@@ -45,12 +45,15 @@ export declare const TRIGGER_VARS: readonly [{
|
|
|
45
45
|
}, {
|
|
46
46
|
readonly name: "fromStatus";
|
|
47
47
|
readonly type: "string";
|
|
48
|
+
readonly onlyFor: readonly ["INTERACTION_STATUS_CHANGED"];
|
|
48
49
|
}, {
|
|
49
50
|
readonly name: "toStatus";
|
|
50
51
|
readonly type: "string";
|
|
52
|
+
readonly onlyFor: readonly ["INTERACTION_STATUS_CHANGED"];
|
|
51
53
|
}, {
|
|
52
54
|
readonly name: "toCategory";
|
|
53
55
|
readonly type: "string";
|
|
56
|
+
readonly onlyFor: readonly ["WORK_ITEM_STATUS_CHANGED"];
|
|
54
57
|
}, {
|
|
55
58
|
readonly name: "contactId";
|
|
56
59
|
readonly type: "string";
|
|
@@ -70,6 +73,14 @@ export declare const TRIGGER_VARS: readonly [{
|
|
|
70
73
|
readonly name: "assigneeUserId";
|
|
71
74
|
readonly type: "string";
|
|
72
75
|
}];
|
|
76
|
+
/**
|
|
77
|
+
* Does this trigger fill that variable? A trigger listing no activity types matches
|
|
78
|
+
* everything, which is also what the engine does with it.
|
|
79
|
+
*/
|
|
80
|
+
export declare function triggerFillsVar(variable: {
|
|
81
|
+
name: string;
|
|
82
|
+
onlyFor?: readonly string[];
|
|
83
|
+
}, activityTypes: readonly string[] | undefined): boolean;
|
|
73
84
|
/**
|
|
74
85
|
* What a classify step **yields** per mode — the contract `runClassify` honours.
|
|
75
86
|
*
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|