@coast/coast-api-client 2.0.228 → 2.0.229
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.
|
@@ -1,24 +1,26 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.AutomationGqlFields = void 0;
|
|
4
|
+
const operandFields = `
|
|
5
|
+
... on ActionResultNumberOperand { type actionId }
|
|
6
|
+
... on BooleanOperand { type booleanValue }
|
|
7
|
+
... on ComponentOperand { type componentId }
|
|
8
|
+
... on DateOperand { type dateValue }
|
|
9
|
+
... on DateTokenOperand { type dateToken }
|
|
10
|
+
... on EmptyOperand { type }
|
|
11
|
+
... on NumberArrayOperand { type numberValues }
|
|
12
|
+
... on NumberOperand { type numberValue }
|
|
13
|
+
... on PreviousComponentOperand { type componentId scalarKey }
|
|
14
|
+
... on StringArrayOperand { type stringValues }
|
|
15
|
+
... on StringOperand { type stringValue }
|
|
16
|
+
... on SubformComponentRefOperand { type subformComponentId refComponentType cases { workflowTemplateId componentId } }
|
|
17
|
+
... on WorkflowEntityRefComponentOperand { type componentId refComponentId refWorkflowTemplateId }
|
|
18
|
+
`;
|
|
4
19
|
const conditionFields = `
|
|
5
20
|
id
|
|
6
|
-
leftOperand {
|
|
7
|
-
... on ComponentOperand { type componentId }
|
|
8
|
-
... on NumberOperand { type numberValue }
|
|
9
|
-
... on StringOperand { type stringValue }
|
|
10
|
-
... on WorkflowEntityRefComponentOperand { type componentId refComponentId refWorkflowTemplateId }
|
|
11
|
-
... on SubformComponentRefOperand { type subformComponentId refComponentType cases { workflowTemplateId componentId } }
|
|
12
|
-
}
|
|
21
|
+
leftOperand { ${operandFields} }
|
|
13
22
|
comparisonOperator
|
|
14
|
-
rightOperand {
|
|
15
|
-
... on ComponentOperand { type componentId }
|
|
16
|
-
... on NumberOperand { type numberValue }
|
|
17
|
-
... on StringOperand { type stringValue }
|
|
18
|
-
... on WorkflowEntityRefComponentOperand { type componentId refComponentId refWorkflowTemplateId }
|
|
19
|
-
... on SubformComponentRefOperand { type subformComponentId refComponentType cases { workflowTemplateId componentId } }
|
|
20
|
-
}
|
|
21
|
-
logicalOperator
|
|
23
|
+
rightOperand { ${operandFields} }
|
|
22
24
|
`;
|
|
23
25
|
const staticDataFields = `
|
|
24
26
|
... on NumberComponentData { type numberComponentDataValue }
|
|
@@ -39,21 +41,9 @@ const dataFields = `
|
|
|
39
41
|
`;
|
|
40
42
|
const calculateValueActionSettings = `
|
|
41
43
|
type
|
|
42
|
-
leftOperand {
|
|
43
|
-
... on ActionResultNumberOperand { type actionId }
|
|
44
|
-
... on ComponentOperand { type componentId }
|
|
45
|
-
... on NumberOperand { type numberValue }
|
|
46
|
-
... on WorkflowEntityRefComponentOperand { type componentId refComponentId refWorkflowTemplateId }
|
|
47
|
-
... on SubformComponentRefOperand { type subformComponentId refComponentType cases { workflowTemplateId componentId } }
|
|
48
|
-
}
|
|
44
|
+
leftOperand { ${operandFields} }
|
|
49
45
|
operator
|
|
50
|
-
rightOperand {
|
|
51
|
-
... on ActionResultNumberOperand { type actionId }
|
|
52
|
-
... on ComponentOperand { type componentId }
|
|
53
|
-
... on NumberOperand { type numberValue }
|
|
54
|
-
... on WorkflowEntityRefComponentOperand { type componentId refComponentId refWorkflowTemplateId }
|
|
55
|
-
... on SubformComponentRefOperand { type subformComponentId refComponentType cases { workflowTemplateId componentId } }
|
|
56
|
-
}
|
|
46
|
+
rightOperand { ${operandFields} }
|
|
57
47
|
`;
|
|
58
48
|
const sendEmailActionSettings = `
|
|
59
49
|
message recipientEmails recipientsFromEmailComponentIds recipientsFromPersonComponentIds
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AutomationGqlFields.js","sourceRoot":"","sources":["../../../lib/coast-api/AutomationGqlFields.ts"],"names":[],"mappings":";;;AAAA,MAAM,eAAe,GAAG
|
|
1
|
+
{"version":3,"file":"AutomationGqlFields.js","sourceRoot":"","s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