You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@doc("Get the Gmail address that should be added to Google Sheet permissions. This address needs to be granted access to the Google Sheet so the system can modify the form.")
79
75
@route("/forms/google-sheet-email")
@@ -91,4 +87,12 @@ namespace CoreSystem.Forms {
91
87
@route("/forms/fonts")
92
88
@get
93
89
opgetFormFonts():Font[];
90
+
91
+
// Deprecated
92
+
// @summary("Preview Recipients")
93
+
// @doc("Preview recipients by orgIds/unitIds (no duplicated).")
94
+
// @route("/forms/recipients/preview")
95
+
// @post
96
+
// op previewRecipients(@body req: RecipientSelectionRequest): RecipientSelectionResponse;
@doc("Section node - represents a form section/page")
5
+
section:"SECTION",
6
+
7
+
@doc("End node - represents the end of the workflow (thank you page and redirect)")
8
+
end:"END",
9
+
10
+
@doc("Start node - represents the workflow entry point")
11
+
start:"START",
12
+
13
+
@doc("Condition node - represents a condition check node")
14
+
condition:"CONDITION",
15
+
}
16
+
17
+
enumCreateNodeRequestType {
18
+
@doc("Create a section node - represents a form section")
19
+
section:"SECTION",
20
+
21
+
@doc("Create a condition node - represents a condition check node")
22
+
condition:"CONDITION",
23
+
}
24
+
25
+
@doc("Data source for condition rules")
26
+
enumConditionSource {
27
+
@doc("Source from choice answer")
28
+
choice:"CHOICE",
29
+
30
+
@doc("Source from non-choice answer")
31
+
nonChoice:"NON_CHOICE",
32
+
}
33
+
34
+
@doc("Condition rule for condition nodes")
35
+
modelConditionRule {
36
+
@doc("Source of data for the condition")
37
+
@example(ConditionSource.nonChoice)
38
+
source:ConditionSource;
39
+
40
+
@doc("The question ID to check against")
41
+
@example("9a843aa0-8451-4e3b-b6a0-8c0e994e9040")
42
+
question:uuid;
43
+
44
+
@doc("Regex pattern to match against. If source is NON_CHOICE, the regex is matched against the answer value. If source is CHOICE, the answer is an array of selected choice option IDs, and this regex is matched against each element; the condition passes if any element matches (e.g. use an exact-match UUID regex like ^<uuid>$).")
0 commit comments