@inploi/plugin-chatbot 3.12.6 → 3.13.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/cdn/index.js +11 -11
- package/cdn/style.css +1 -0
- package/dist/{chatbot-body-6f031a3d.js → chatbot-body-d6f85db2.js} +578 -212
- package/dist/{chatbot-body-7f2615e5.cjs → chatbot-body-da121658.cjs} +578 -212
- package/dist/chatbot.api.d.ts +225 -210
- package/dist/chatbot.utils.d.ts +19 -16
- package/dist/{index-67deb823.cjs → index-58417acc.cjs} +8 -9
- package/dist/{index-9ff98ab5.js → index-767d53bf.js} +12 -13
- package/dist/plugin-chatbot.cjs +1 -1
- package/dist/plugin-chatbot.js +1 -1
- package/dist/style.css +1635 -0
- package/package.json +3 -3
package/dist/chatbot.api.d.ts
CHANGED
|
@@ -16,61 +16,60 @@ export declare const FlowSchema: import("valibot").ObjectSchema<{
|
|
|
16
16
|
id: import("valibot").StringSchema<string>;
|
|
17
17
|
version: import("valibot").NumberSchema<number>;
|
|
18
18
|
nodes: import("valibot").ArraySchema<AnySchema<{
|
|
19
|
-
id: string;
|
|
20
19
|
data: {
|
|
21
20
|
text: string;
|
|
22
21
|
};
|
|
23
22
|
type: "text";
|
|
23
|
+
id: string;
|
|
24
24
|
isHead?: boolean | undefined;
|
|
25
25
|
nextId?: string | undefined;
|
|
26
26
|
} | {
|
|
27
|
-
id: string;
|
|
28
27
|
data: {
|
|
29
28
|
systemMessage: string;
|
|
30
29
|
};
|
|
31
30
|
type: "end-flow";
|
|
31
|
+
id: string;
|
|
32
32
|
isHead?: boolean | undefined;
|
|
33
33
|
nextId?: string | undefined;
|
|
34
34
|
} | {
|
|
35
|
-
id: string;
|
|
36
35
|
data: {
|
|
37
36
|
integrationId: string;
|
|
38
37
|
skipConfirmation: boolean;
|
|
39
38
|
submitLabel: string;
|
|
40
39
|
};
|
|
41
40
|
type: "integration-application-submit";
|
|
41
|
+
id: string;
|
|
42
42
|
isHead?: boolean | undefined;
|
|
43
43
|
nextId?: string | undefined;
|
|
44
44
|
} | {
|
|
45
|
-
id: string;
|
|
46
45
|
data: {
|
|
47
46
|
ats: "cornerstone";
|
|
48
47
|
integrationId: string;
|
|
49
48
|
};
|
|
50
49
|
type: "integration-workflow-get";
|
|
50
|
+
id: string;
|
|
51
51
|
isHead?: boolean | undefined;
|
|
52
52
|
nextId?: string | undefined;
|
|
53
53
|
} | {
|
|
54
|
-
id: string;
|
|
55
54
|
data: {
|
|
56
55
|
href: string;
|
|
57
56
|
cta: string;
|
|
58
57
|
};
|
|
59
58
|
type: "link";
|
|
59
|
+
id: string;
|
|
60
60
|
isHead?: boolean | undefined;
|
|
61
61
|
nextId?: string | undefined;
|
|
62
62
|
} | {
|
|
63
|
-
id: string;
|
|
64
63
|
data: {
|
|
65
64
|
url: string;
|
|
66
65
|
width: number;
|
|
67
66
|
height: number;
|
|
68
67
|
};
|
|
69
68
|
type: "image";
|
|
69
|
+
id: string;
|
|
70
70
|
isHead?: boolean | undefined;
|
|
71
71
|
nextId?: string | undefined;
|
|
72
72
|
} | {
|
|
73
|
-
id: string;
|
|
74
73
|
data: {
|
|
75
74
|
key: string;
|
|
76
75
|
question: string;
|
|
@@ -79,10 +78,10 @@ export declare const FlowSchema: import("valibot").ObjectSchema<{
|
|
|
79
78
|
optional: boolean;
|
|
80
79
|
};
|
|
81
80
|
type: "question-boolean";
|
|
81
|
+
id: string;
|
|
82
82
|
isHead?: boolean | undefined;
|
|
83
83
|
nextId?: string | undefined;
|
|
84
84
|
} | {
|
|
85
|
-
id: string;
|
|
86
85
|
data: {
|
|
87
86
|
key: string;
|
|
88
87
|
question: string;
|
|
@@ -92,10 +91,10 @@ export declare const FlowSchema: import("valibot").ObjectSchema<{
|
|
|
92
91
|
maxChars?: number | undefined;
|
|
93
92
|
};
|
|
94
93
|
type: "question-text";
|
|
94
|
+
id: string;
|
|
95
95
|
isHead?: boolean | undefined;
|
|
96
96
|
nextId?: string | undefined;
|
|
97
97
|
} | {
|
|
98
|
-
id: string;
|
|
99
98
|
data: {
|
|
100
99
|
key: string;
|
|
101
100
|
question: string;
|
|
@@ -106,10 +105,10 @@ export declare const FlowSchema: import("valibot").ObjectSchema<{
|
|
|
106
105
|
max?: number | undefined;
|
|
107
106
|
};
|
|
108
107
|
type: "question-number";
|
|
108
|
+
id: string;
|
|
109
109
|
isHead?: boolean | undefined;
|
|
110
110
|
nextId?: string | undefined;
|
|
111
111
|
} | {
|
|
112
|
-
id: string;
|
|
113
112
|
data: {
|
|
114
113
|
options: {
|
|
115
114
|
value: string;
|
|
@@ -121,10 +120,10 @@ export declare const FlowSchema: import("valibot").ObjectSchema<{
|
|
|
121
120
|
minSelected: number;
|
|
122
121
|
};
|
|
123
122
|
type: "question-enum";
|
|
123
|
+
id: string;
|
|
124
124
|
isHead?: boolean | undefined;
|
|
125
125
|
nextId?: string | undefined;
|
|
126
126
|
} | {
|
|
127
|
-
id: string;
|
|
128
127
|
data: {
|
|
129
128
|
key: string;
|
|
130
129
|
question: string;
|
|
@@ -134,10 +133,10 @@ export declare const FlowSchema: import("valibot").ObjectSchema<{
|
|
|
134
133
|
maxSizeKb?: number | undefined;
|
|
135
134
|
};
|
|
136
135
|
type: "question-file";
|
|
136
|
+
id: string;
|
|
137
137
|
isHead?: boolean | undefined;
|
|
138
138
|
nextId?: string | undefined;
|
|
139
139
|
} | {
|
|
140
|
-
id: string;
|
|
141
140
|
data: {
|
|
142
141
|
keys: {
|
|
143
142
|
line1: string | null;
|
|
@@ -148,88 +147,89 @@ export declare const FlowSchema: import("valibot").ObjectSchema<{
|
|
|
148
147
|
postcode: string | null;
|
|
149
148
|
country: string | null;
|
|
150
149
|
};
|
|
150
|
+
key: string;
|
|
151
151
|
question: string;
|
|
152
152
|
optional: boolean;
|
|
153
153
|
placeholder?: string | undefined;
|
|
154
154
|
};
|
|
155
155
|
type: "question-address";
|
|
156
|
+
id: string;
|
|
156
157
|
isHead?: boolean | undefined;
|
|
157
158
|
nextId?: string | undefined;
|
|
158
159
|
} | {
|
|
159
|
-
id: string;
|
|
160
160
|
data: {
|
|
161
161
|
compareKey: string;
|
|
162
162
|
compareValue: string;
|
|
163
163
|
compare: "equals" | "notEquals" | "contains" | "notContains";
|
|
164
164
|
};
|
|
165
165
|
type: "if-block";
|
|
166
|
+
id: string;
|
|
166
167
|
isHead?: boolean | undefined;
|
|
167
168
|
nextId?: string | undefined;
|
|
168
169
|
branchId?: string | undefined;
|
|
169
170
|
} | {
|
|
170
|
-
id: string;
|
|
171
171
|
data: {
|
|
172
172
|
targetId: string;
|
|
173
173
|
};
|
|
174
174
|
type: "jump";
|
|
175
|
+
id: string;
|
|
175
176
|
isHead?: boolean | undefined;
|
|
176
177
|
nextId?: string | undefined;
|
|
177
178
|
}>, ({
|
|
178
|
-
id: string;
|
|
179
179
|
data: {
|
|
180
180
|
text: string;
|
|
181
181
|
};
|
|
182
182
|
type: "text";
|
|
183
|
+
id: string;
|
|
183
184
|
isHead?: boolean | undefined;
|
|
184
185
|
nextId?: string | undefined;
|
|
185
186
|
} | {
|
|
186
|
-
id: string;
|
|
187
187
|
data: {
|
|
188
188
|
systemMessage: string;
|
|
189
189
|
};
|
|
190
190
|
type: "end-flow";
|
|
191
|
+
id: string;
|
|
191
192
|
isHead?: boolean | undefined;
|
|
192
193
|
nextId?: string | undefined;
|
|
193
194
|
} | {
|
|
194
|
-
id: string;
|
|
195
195
|
data: {
|
|
196
196
|
integrationId: string;
|
|
197
197
|
skipConfirmation: boolean;
|
|
198
198
|
submitLabel: string;
|
|
199
199
|
};
|
|
200
200
|
type: "integration-application-submit";
|
|
201
|
+
id: string;
|
|
201
202
|
isHead?: boolean | undefined;
|
|
202
203
|
nextId?: string | undefined;
|
|
203
204
|
} | {
|
|
204
|
-
id: string;
|
|
205
205
|
data: {
|
|
206
206
|
ats: "cornerstone";
|
|
207
207
|
integrationId: string;
|
|
208
208
|
};
|
|
209
209
|
type: "integration-workflow-get";
|
|
210
|
+
id: string;
|
|
210
211
|
isHead?: boolean | undefined;
|
|
211
212
|
nextId?: string | undefined;
|
|
212
213
|
} | {
|
|
213
|
-
id: string;
|
|
214
214
|
data: {
|
|
215
215
|
href: string;
|
|
216
216
|
cta: string;
|
|
217
217
|
};
|
|
218
218
|
type: "link";
|
|
219
|
+
id: string;
|
|
219
220
|
isHead?: boolean | undefined;
|
|
220
221
|
nextId?: string | undefined;
|
|
221
222
|
} | {
|
|
222
|
-
id: string;
|
|
223
223
|
data: {
|
|
224
224
|
url: string;
|
|
225
225
|
width: number;
|
|
226
226
|
height: number;
|
|
227
227
|
};
|
|
228
228
|
type: "image";
|
|
229
|
+
id: string;
|
|
229
230
|
isHead?: boolean | undefined;
|
|
230
231
|
nextId?: string | undefined;
|
|
231
232
|
} | {
|
|
232
|
-
id: string;
|
|
233
233
|
data: {
|
|
234
234
|
key: string;
|
|
235
235
|
question: string;
|
|
@@ -238,10 +238,10 @@ export declare const FlowSchema: import("valibot").ObjectSchema<{
|
|
|
238
238
|
optional: boolean;
|
|
239
239
|
};
|
|
240
240
|
type: "question-boolean";
|
|
241
|
+
id: string;
|
|
241
242
|
isHead?: boolean | undefined;
|
|
242
243
|
nextId?: string | undefined;
|
|
243
244
|
} | {
|
|
244
|
-
id: string;
|
|
245
245
|
data: {
|
|
246
246
|
key: string;
|
|
247
247
|
question: string;
|
|
@@ -251,10 +251,10 @@ export declare const FlowSchema: import("valibot").ObjectSchema<{
|
|
|
251
251
|
maxChars?: number | undefined;
|
|
252
252
|
};
|
|
253
253
|
type: "question-text";
|
|
254
|
+
id: string;
|
|
254
255
|
isHead?: boolean | undefined;
|
|
255
256
|
nextId?: string | undefined;
|
|
256
257
|
} | {
|
|
257
|
-
id: string;
|
|
258
258
|
data: {
|
|
259
259
|
key: string;
|
|
260
260
|
question: string;
|
|
@@ -265,10 +265,10 @@ export declare const FlowSchema: import("valibot").ObjectSchema<{
|
|
|
265
265
|
max?: number | undefined;
|
|
266
266
|
};
|
|
267
267
|
type: "question-number";
|
|
268
|
+
id: string;
|
|
268
269
|
isHead?: boolean | undefined;
|
|
269
270
|
nextId?: string | undefined;
|
|
270
271
|
} | {
|
|
271
|
-
id: string;
|
|
272
272
|
data: {
|
|
273
273
|
options: {
|
|
274
274
|
value: string;
|
|
@@ -280,10 +280,10 @@ export declare const FlowSchema: import("valibot").ObjectSchema<{
|
|
|
280
280
|
minSelected: number;
|
|
281
281
|
};
|
|
282
282
|
type: "question-enum";
|
|
283
|
+
id: string;
|
|
283
284
|
isHead?: boolean | undefined;
|
|
284
285
|
nextId?: string | undefined;
|
|
285
286
|
} | {
|
|
286
|
-
id: string;
|
|
287
287
|
data: {
|
|
288
288
|
key: string;
|
|
289
289
|
question: string;
|
|
@@ -293,10 +293,10 @@ export declare const FlowSchema: import("valibot").ObjectSchema<{
|
|
|
293
293
|
maxSizeKb?: number | undefined;
|
|
294
294
|
};
|
|
295
295
|
type: "question-file";
|
|
296
|
+
id: string;
|
|
296
297
|
isHead?: boolean | undefined;
|
|
297
298
|
nextId?: string | undefined;
|
|
298
299
|
} | {
|
|
299
|
-
id: string;
|
|
300
300
|
data: {
|
|
301
301
|
keys: {
|
|
302
302
|
line1: string | null;
|
|
@@ -307,30 +307,32 @@ export declare const FlowSchema: import("valibot").ObjectSchema<{
|
|
|
307
307
|
postcode: string | null;
|
|
308
308
|
country: string | null;
|
|
309
309
|
};
|
|
310
|
+
key: string;
|
|
310
311
|
question: string;
|
|
311
312
|
optional: boolean;
|
|
312
313
|
placeholder?: string | undefined;
|
|
313
314
|
};
|
|
314
315
|
type: "question-address";
|
|
316
|
+
id: string;
|
|
315
317
|
isHead?: boolean | undefined;
|
|
316
318
|
nextId?: string | undefined;
|
|
317
319
|
} | {
|
|
318
|
-
id: string;
|
|
319
320
|
data: {
|
|
320
321
|
compareKey: string;
|
|
321
322
|
compareValue: string;
|
|
322
323
|
compare: "equals" | "notEquals" | "contains" | "notContains";
|
|
323
324
|
};
|
|
324
325
|
type: "if-block";
|
|
326
|
+
id: string;
|
|
325
327
|
isHead?: boolean | undefined;
|
|
326
328
|
nextId?: string | undefined;
|
|
327
329
|
branchId?: string | undefined;
|
|
328
330
|
} | {
|
|
329
|
-
id: string;
|
|
330
331
|
data: {
|
|
331
332
|
targetId: string;
|
|
332
333
|
};
|
|
333
334
|
type: "jump";
|
|
335
|
+
id: string;
|
|
334
336
|
isHead?: boolean | undefined;
|
|
335
337
|
nextId?: string | undefined;
|
|
336
338
|
})[]>;
|
|
@@ -338,61 +340,60 @@ export declare const FlowSchema: import("valibot").ObjectSchema<{
|
|
|
338
340
|
id: string;
|
|
339
341
|
version: number;
|
|
340
342
|
nodes: ({
|
|
341
|
-
id: string;
|
|
342
343
|
data: {
|
|
343
344
|
text: string;
|
|
344
345
|
};
|
|
345
346
|
type: "text";
|
|
347
|
+
id: string;
|
|
346
348
|
isHead?: boolean | undefined;
|
|
347
349
|
nextId?: string | undefined;
|
|
348
350
|
} | {
|
|
349
|
-
id: string;
|
|
350
351
|
data: {
|
|
351
352
|
systemMessage: string;
|
|
352
353
|
};
|
|
353
354
|
type: "end-flow";
|
|
355
|
+
id: string;
|
|
354
356
|
isHead?: boolean | undefined;
|
|
355
357
|
nextId?: string | undefined;
|
|
356
358
|
} | {
|
|
357
|
-
id: string;
|
|
358
359
|
data: {
|
|
359
360
|
integrationId: string;
|
|
360
361
|
skipConfirmation: boolean;
|
|
361
362
|
submitLabel: string;
|
|
362
363
|
};
|
|
363
364
|
type: "integration-application-submit";
|
|
365
|
+
id: string;
|
|
364
366
|
isHead?: boolean | undefined;
|
|
365
367
|
nextId?: string | undefined;
|
|
366
368
|
} | {
|
|
367
|
-
id: string;
|
|
368
369
|
data: {
|
|
369
370
|
ats: "cornerstone";
|
|
370
371
|
integrationId: string;
|
|
371
372
|
};
|
|
372
373
|
type: "integration-workflow-get";
|
|
374
|
+
id: string;
|
|
373
375
|
isHead?: boolean | undefined;
|
|
374
376
|
nextId?: string | undefined;
|
|
375
377
|
} | {
|
|
376
|
-
id: string;
|
|
377
378
|
data: {
|
|
378
379
|
href: string;
|
|
379
380
|
cta: string;
|
|
380
381
|
};
|
|
381
382
|
type: "link";
|
|
383
|
+
id: string;
|
|
382
384
|
isHead?: boolean | undefined;
|
|
383
385
|
nextId?: string | undefined;
|
|
384
386
|
} | {
|
|
385
|
-
id: string;
|
|
386
387
|
data: {
|
|
387
388
|
url: string;
|
|
388
389
|
width: number;
|
|
389
390
|
height: number;
|
|
390
391
|
};
|
|
391
392
|
type: "image";
|
|
393
|
+
id: string;
|
|
392
394
|
isHead?: boolean | undefined;
|
|
393
395
|
nextId?: string | undefined;
|
|
394
396
|
} | {
|
|
395
|
-
id: string;
|
|
396
397
|
data: {
|
|
397
398
|
key: string;
|
|
398
399
|
question: string;
|
|
@@ -401,10 +402,10 @@ export declare const FlowSchema: import("valibot").ObjectSchema<{
|
|
|
401
402
|
optional: boolean;
|
|
402
403
|
};
|
|
403
404
|
type: "question-boolean";
|
|
405
|
+
id: string;
|
|
404
406
|
isHead?: boolean | undefined;
|
|
405
407
|
nextId?: string | undefined;
|
|
406
408
|
} | {
|
|
407
|
-
id: string;
|
|
408
409
|
data: {
|
|
409
410
|
key: string;
|
|
410
411
|
question: string;
|
|
@@ -414,10 +415,10 @@ export declare const FlowSchema: import("valibot").ObjectSchema<{
|
|
|
414
415
|
maxChars?: number | undefined;
|
|
415
416
|
};
|
|
416
417
|
type: "question-text";
|
|
418
|
+
id: string;
|
|
417
419
|
isHead?: boolean | undefined;
|
|
418
420
|
nextId?: string | undefined;
|
|
419
421
|
} | {
|
|
420
|
-
id: string;
|
|
421
422
|
data: {
|
|
422
423
|
key: string;
|
|
423
424
|
question: string;
|
|
@@ -428,10 +429,10 @@ export declare const FlowSchema: import("valibot").ObjectSchema<{
|
|
|
428
429
|
max?: number | undefined;
|
|
429
430
|
};
|
|
430
431
|
type: "question-number";
|
|
432
|
+
id: string;
|
|
431
433
|
isHead?: boolean | undefined;
|
|
432
434
|
nextId?: string | undefined;
|
|
433
435
|
} | {
|
|
434
|
-
id: string;
|
|
435
436
|
data: {
|
|
436
437
|
options: {
|
|
437
438
|
value: string;
|
|
@@ -443,10 +444,10 @@ export declare const FlowSchema: import("valibot").ObjectSchema<{
|
|
|
443
444
|
minSelected: number;
|
|
444
445
|
};
|
|
445
446
|
type: "question-enum";
|
|
447
|
+
id: string;
|
|
446
448
|
isHead?: boolean | undefined;
|
|
447
449
|
nextId?: string | undefined;
|
|
448
450
|
} | {
|
|
449
|
-
id: string;
|
|
450
451
|
data: {
|
|
451
452
|
key: string;
|
|
452
453
|
question: string;
|
|
@@ -456,10 +457,10 @@ export declare const FlowSchema: import("valibot").ObjectSchema<{
|
|
|
456
457
|
maxSizeKb?: number | undefined;
|
|
457
458
|
};
|
|
458
459
|
type: "question-file";
|
|
460
|
+
id: string;
|
|
459
461
|
isHead?: boolean | undefined;
|
|
460
462
|
nextId?: string | undefined;
|
|
461
463
|
} | {
|
|
462
|
-
id: string;
|
|
463
464
|
data: {
|
|
464
465
|
keys: {
|
|
465
466
|
line1: string | null;
|
|
@@ -470,30 +471,32 @@ export declare const FlowSchema: import("valibot").ObjectSchema<{
|
|
|
470
471
|
postcode: string | null;
|
|
471
472
|
country: string | null;
|
|
472
473
|
};
|
|
474
|
+
key: string;
|
|
473
475
|
question: string;
|
|
474
476
|
optional: boolean;
|
|
475
477
|
placeholder?: string | undefined;
|
|
476
478
|
};
|
|
477
479
|
type: "question-address";
|
|
480
|
+
id: string;
|
|
478
481
|
isHead?: boolean | undefined;
|
|
479
482
|
nextId?: string | undefined;
|
|
480
483
|
} | {
|
|
481
|
-
id: string;
|
|
482
484
|
data: {
|
|
483
485
|
compareKey: string;
|
|
484
486
|
compareValue: string;
|
|
485
487
|
compare: "equals" | "notEquals" | "contains" | "notContains";
|
|
486
488
|
};
|
|
487
489
|
type: "if-block";
|
|
490
|
+
id: string;
|
|
488
491
|
isHead?: boolean | undefined;
|
|
489
492
|
nextId?: string | undefined;
|
|
490
493
|
branchId?: string | undefined;
|
|
491
494
|
} | {
|
|
492
|
-
id: string;
|
|
493
495
|
data: {
|
|
494
496
|
targetId: string;
|
|
495
497
|
};
|
|
496
498
|
type: "jump";
|
|
499
|
+
id: string;
|
|
497
500
|
isHead?: boolean | undefined;
|
|
498
501
|
nextId?: string | undefined;
|
|
499
502
|
})[];
|
|
@@ -503,61 +506,60 @@ export declare const FlowByIdPayloadSchema: import("valibot").ObjectSchema<{
|
|
|
503
506
|
id: import("valibot").StringSchema<string>;
|
|
504
507
|
version: import("valibot").NumberSchema<number>;
|
|
505
508
|
nodes: import("valibot").ArraySchema<AnySchema<{
|
|
506
|
-
id: string;
|
|
507
509
|
data: {
|
|
508
510
|
text: string;
|
|
509
511
|
};
|
|
510
512
|
type: "text";
|
|
513
|
+
id: string;
|
|
511
514
|
isHead?: boolean | undefined;
|
|
512
515
|
nextId?: string | undefined;
|
|
513
516
|
} | {
|
|
514
|
-
id: string;
|
|
515
517
|
data: {
|
|
516
518
|
systemMessage: string;
|
|
517
519
|
};
|
|
518
520
|
type: "end-flow";
|
|
521
|
+
id: string;
|
|
519
522
|
isHead?: boolean | undefined;
|
|
520
523
|
nextId?: string | undefined;
|
|
521
524
|
} | {
|
|
522
|
-
id: string;
|
|
523
525
|
data: {
|
|
524
526
|
integrationId: string;
|
|
525
527
|
skipConfirmation: boolean;
|
|
526
528
|
submitLabel: string;
|
|
527
529
|
};
|
|
528
530
|
type: "integration-application-submit";
|
|
531
|
+
id: string;
|
|
529
532
|
isHead?: boolean | undefined;
|
|
530
533
|
nextId?: string | undefined;
|
|
531
534
|
} | {
|
|
532
|
-
id: string;
|
|
533
535
|
data: {
|
|
534
536
|
ats: "cornerstone";
|
|
535
537
|
integrationId: string;
|
|
536
538
|
};
|
|
537
539
|
type: "integration-workflow-get";
|
|
540
|
+
id: string;
|
|
538
541
|
isHead?: boolean | undefined;
|
|
539
542
|
nextId?: string | undefined;
|
|
540
543
|
} | {
|
|
541
|
-
id: string;
|
|
542
544
|
data: {
|
|
543
545
|
href: string;
|
|
544
546
|
cta: string;
|
|
545
547
|
};
|
|
546
548
|
type: "link";
|
|
549
|
+
id: string;
|
|
547
550
|
isHead?: boolean | undefined;
|
|
548
551
|
nextId?: string | undefined;
|
|
549
552
|
} | {
|
|
550
|
-
id: string;
|
|
551
553
|
data: {
|
|
552
554
|
url: string;
|
|
553
555
|
width: number;
|
|
554
556
|
height: number;
|
|
555
557
|
};
|
|
556
558
|
type: "image";
|
|
559
|
+
id: string;
|
|
557
560
|
isHead?: boolean | undefined;
|
|
558
561
|
nextId?: string | undefined;
|
|
559
562
|
} | {
|
|
560
|
-
id: string;
|
|
561
563
|
data: {
|
|
562
564
|
key: string;
|
|
563
565
|
question: string;
|
|
@@ -566,10 +568,10 @@ export declare const FlowByIdPayloadSchema: import("valibot").ObjectSchema<{
|
|
|
566
568
|
optional: boolean;
|
|
567
569
|
};
|
|
568
570
|
type: "question-boolean";
|
|
571
|
+
id: string;
|
|
569
572
|
isHead?: boolean | undefined;
|
|
570
573
|
nextId?: string | undefined;
|
|
571
574
|
} | {
|
|
572
|
-
id: string;
|
|
573
575
|
data: {
|
|
574
576
|
key: string;
|
|
575
577
|
question: string;
|
|
@@ -579,10 +581,10 @@ export declare const FlowByIdPayloadSchema: import("valibot").ObjectSchema<{
|
|
|
579
581
|
maxChars?: number | undefined;
|
|
580
582
|
};
|
|
581
583
|
type: "question-text";
|
|
584
|
+
id: string;
|
|
582
585
|
isHead?: boolean | undefined;
|
|
583
586
|
nextId?: string | undefined;
|
|
584
587
|
} | {
|
|
585
|
-
id: string;
|
|
586
588
|
data: {
|
|
587
589
|
key: string;
|
|
588
590
|
question: string;
|
|
@@ -593,10 +595,10 @@ export declare const FlowByIdPayloadSchema: import("valibot").ObjectSchema<{
|
|
|
593
595
|
max?: number | undefined;
|
|
594
596
|
};
|
|
595
597
|
type: "question-number";
|
|
598
|
+
id: string;
|
|
596
599
|
isHead?: boolean | undefined;
|
|
597
600
|
nextId?: string | undefined;
|
|
598
601
|
} | {
|
|
599
|
-
id: string;
|
|
600
602
|
data: {
|
|
601
603
|
options: {
|
|
602
604
|
value: string;
|
|
@@ -608,10 +610,10 @@ export declare const FlowByIdPayloadSchema: import("valibot").ObjectSchema<{
|
|
|
608
610
|
minSelected: number;
|
|
609
611
|
};
|
|
610
612
|
type: "question-enum";
|
|
613
|
+
id: string;
|
|
611
614
|
isHead?: boolean | undefined;
|
|
612
615
|
nextId?: string | undefined;
|
|
613
616
|
} | {
|
|
614
|
-
id: string;
|
|
615
617
|
data: {
|
|
616
618
|
key: string;
|
|
617
619
|
question: string;
|
|
@@ -621,10 +623,10 @@ export declare const FlowByIdPayloadSchema: import("valibot").ObjectSchema<{
|
|
|
621
623
|
maxSizeKb?: number | undefined;
|
|
622
624
|
};
|
|
623
625
|
type: "question-file";
|
|
626
|
+
id: string;
|
|
624
627
|
isHead?: boolean | undefined;
|
|
625
628
|
nextId?: string | undefined;
|
|
626
629
|
} | {
|
|
627
|
-
id: string;
|
|
628
630
|
data: {
|
|
629
631
|
keys: {
|
|
630
632
|
line1: string | null;
|
|
@@ -635,88 +637,89 @@ export declare const FlowByIdPayloadSchema: import("valibot").ObjectSchema<{
|
|
|
635
637
|
postcode: string | null;
|
|
636
638
|
country: string | null;
|
|
637
639
|
};
|
|
640
|
+
key: string;
|
|
638
641
|
question: string;
|
|
639
642
|
optional: boolean;
|
|
640
643
|
placeholder?: string | undefined;
|
|
641
644
|
};
|
|
642
645
|
type: "question-address";
|
|
646
|
+
id: string;
|
|
643
647
|
isHead?: boolean | undefined;
|
|
644
648
|
nextId?: string | undefined;
|
|
645
649
|
} | {
|
|
646
|
-
id: string;
|
|
647
650
|
data: {
|
|
648
651
|
compareKey: string;
|
|
649
652
|
compareValue: string;
|
|
650
653
|
compare: "equals" | "notEquals" | "contains" | "notContains";
|
|
651
654
|
};
|
|
652
655
|
type: "if-block";
|
|
656
|
+
id: string;
|
|
653
657
|
isHead?: boolean | undefined;
|
|
654
658
|
nextId?: string | undefined;
|
|
655
659
|
branchId?: string | undefined;
|
|
656
660
|
} | {
|
|
657
|
-
id: string;
|
|
658
661
|
data: {
|
|
659
662
|
targetId: string;
|
|
660
663
|
};
|
|
661
664
|
type: "jump";
|
|
665
|
+
id: string;
|
|
662
666
|
isHead?: boolean | undefined;
|
|
663
667
|
nextId?: string | undefined;
|
|
664
668
|
}>, ({
|
|
665
|
-
id: string;
|
|
666
669
|
data: {
|
|
667
670
|
text: string;
|
|
668
671
|
};
|
|
669
672
|
type: "text";
|
|
673
|
+
id: string;
|
|
670
674
|
isHead?: boolean | undefined;
|
|
671
675
|
nextId?: string | undefined;
|
|
672
676
|
} | {
|
|
673
|
-
id: string;
|
|
674
677
|
data: {
|
|
675
678
|
systemMessage: string;
|
|
676
679
|
};
|
|
677
680
|
type: "end-flow";
|
|
681
|
+
id: string;
|
|
678
682
|
isHead?: boolean | undefined;
|
|
679
683
|
nextId?: string | undefined;
|
|
680
684
|
} | {
|
|
681
|
-
id: string;
|
|
682
685
|
data: {
|
|
683
686
|
integrationId: string;
|
|
684
687
|
skipConfirmation: boolean;
|
|
685
688
|
submitLabel: string;
|
|
686
689
|
};
|
|
687
690
|
type: "integration-application-submit";
|
|
691
|
+
id: string;
|
|
688
692
|
isHead?: boolean | undefined;
|
|
689
693
|
nextId?: string | undefined;
|
|
690
694
|
} | {
|
|
691
|
-
id: string;
|
|
692
695
|
data: {
|
|
693
696
|
ats: "cornerstone";
|
|
694
697
|
integrationId: string;
|
|
695
698
|
};
|
|
696
699
|
type: "integration-workflow-get";
|
|
700
|
+
id: string;
|
|
697
701
|
isHead?: boolean | undefined;
|
|
698
702
|
nextId?: string | undefined;
|
|
699
703
|
} | {
|
|
700
|
-
id: string;
|
|
701
704
|
data: {
|
|
702
705
|
href: string;
|
|
703
706
|
cta: string;
|
|
704
707
|
};
|
|
705
708
|
type: "link";
|
|
709
|
+
id: string;
|
|
706
710
|
isHead?: boolean | undefined;
|
|
707
711
|
nextId?: string | undefined;
|
|
708
712
|
} | {
|
|
709
|
-
id: string;
|
|
710
713
|
data: {
|
|
711
714
|
url: string;
|
|
712
715
|
width: number;
|
|
713
716
|
height: number;
|
|
714
717
|
};
|
|
715
718
|
type: "image";
|
|
719
|
+
id: string;
|
|
716
720
|
isHead?: boolean | undefined;
|
|
717
721
|
nextId?: string | undefined;
|
|
718
722
|
} | {
|
|
719
|
-
id: string;
|
|
720
723
|
data: {
|
|
721
724
|
key: string;
|
|
722
725
|
question: string;
|
|
@@ -725,10 +728,10 @@ export declare const FlowByIdPayloadSchema: import("valibot").ObjectSchema<{
|
|
|
725
728
|
optional: boolean;
|
|
726
729
|
};
|
|
727
730
|
type: "question-boolean";
|
|
731
|
+
id: string;
|
|
728
732
|
isHead?: boolean | undefined;
|
|
729
733
|
nextId?: string | undefined;
|
|
730
734
|
} | {
|
|
731
|
-
id: string;
|
|
732
735
|
data: {
|
|
733
736
|
key: string;
|
|
734
737
|
question: string;
|
|
@@ -738,10 +741,10 @@ export declare const FlowByIdPayloadSchema: import("valibot").ObjectSchema<{
|
|
|
738
741
|
maxChars?: number | undefined;
|
|
739
742
|
};
|
|
740
743
|
type: "question-text";
|
|
744
|
+
id: string;
|
|
741
745
|
isHead?: boolean | undefined;
|
|
742
746
|
nextId?: string | undefined;
|
|
743
747
|
} | {
|
|
744
|
-
id: string;
|
|
745
748
|
data: {
|
|
746
749
|
key: string;
|
|
747
750
|
question: string;
|
|
@@ -752,10 +755,10 @@ export declare const FlowByIdPayloadSchema: import("valibot").ObjectSchema<{
|
|
|
752
755
|
max?: number | undefined;
|
|
753
756
|
};
|
|
754
757
|
type: "question-number";
|
|
758
|
+
id: string;
|
|
755
759
|
isHead?: boolean | undefined;
|
|
756
760
|
nextId?: string | undefined;
|
|
757
761
|
} | {
|
|
758
|
-
id: string;
|
|
759
762
|
data: {
|
|
760
763
|
options: {
|
|
761
764
|
value: string;
|
|
@@ -767,10 +770,10 @@ export declare const FlowByIdPayloadSchema: import("valibot").ObjectSchema<{
|
|
|
767
770
|
minSelected: number;
|
|
768
771
|
};
|
|
769
772
|
type: "question-enum";
|
|
773
|
+
id: string;
|
|
770
774
|
isHead?: boolean | undefined;
|
|
771
775
|
nextId?: string | undefined;
|
|
772
776
|
} | {
|
|
773
|
-
id: string;
|
|
774
777
|
data: {
|
|
775
778
|
key: string;
|
|
776
779
|
question: string;
|
|
@@ -780,10 +783,10 @@ export declare const FlowByIdPayloadSchema: import("valibot").ObjectSchema<{
|
|
|
780
783
|
maxSizeKb?: number | undefined;
|
|
781
784
|
};
|
|
782
785
|
type: "question-file";
|
|
786
|
+
id: string;
|
|
783
787
|
isHead?: boolean | undefined;
|
|
784
788
|
nextId?: string | undefined;
|
|
785
789
|
} | {
|
|
786
|
-
id: string;
|
|
787
790
|
data: {
|
|
788
791
|
keys: {
|
|
789
792
|
line1: string | null;
|
|
@@ -794,30 +797,32 @@ export declare const FlowByIdPayloadSchema: import("valibot").ObjectSchema<{
|
|
|
794
797
|
postcode: string | null;
|
|
795
798
|
country: string | null;
|
|
796
799
|
};
|
|
800
|
+
key: string;
|
|
797
801
|
question: string;
|
|
798
802
|
optional: boolean;
|
|
799
803
|
placeholder?: string | undefined;
|
|
800
804
|
};
|
|
801
805
|
type: "question-address";
|
|
806
|
+
id: string;
|
|
802
807
|
isHead?: boolean | undefined;
|
|
803
808
|
nextId?: string | undefined;
|
|
804
809
|
} | {
|
|
805
|
-
id: string;
|
|
806
810
|
data: {
|
|
807
811
|
compareKey: string;
|
|
808
812
|
compareValue: string;
|
|
809
813
|
compare: "equals" | "notEquals" | "contains" | "notContains";
|
|
810
814
|
};
|
|
811
815
|
type: "if-block";
|
|
816
|
+
id: string;
|
|
812
817
|
isHead?: boolean | undefined;
|
|
813
818
|
nextId?: string | undefined;
|
|
814
819
|
branchId?: string | undefined;
|
|
815
820
|
} | {
|
|
816
|
-
id: string;
|
|
817
821
|
data: {
|
|
818
822
|
targetId: string;
|
|
819
823
|
};
|
|
820
824
|
type: "jump";
|
|
825
|
+
id: string;
|
|
821
826
|
isHead?: boolean | undefined;
|
|
822
827
|
nextId?: string | undefined;
|
|
823
828
|
})[]>;
|
|
@@ -825,61 +830,60 @@ export declare const FlowByIdPayloadSchema: import("valibot").ObjectSchema<{
|
|
|
825
830
|
id: string;
|
|
826
831
|
version: number;
|
|
827
832
|
nodes: ({
|
|
828
|
-
id: string;
|
|
829
833
|
data: {
|
|
830
834
|
text: string;
|
|
831
835
|
};
|
|
832
836
|
type: "text";
|
|
837
|
+
id: string;
|
|
833
838
|
isHead?: boolean | undefined;
|
|
834
839
|
nextId?: string | undefined;
|
|
835
840
|
} | {
|
|
836
|
-
id: string;
|
|
837
841
|
data: {
|
|
838
842
|
systemMessage: string;
|
|
839
843
|
};
|
|
840
844
|
type: "end-flow";
|
|
845
|
+
id: string;
|
|
841
846
|
isHead?: boolean | undefined;
|
|
842
847
|
nextId?: string | undefined;
|
|
843
848
|
} | {
|
|
844
|
-
id: string;
|
|
845
849
|
data: {
|
|
846
850
|
integrationId: string;
|
|
847
851
|
skipConfirmation: boolean;
|
|
848
852
|
submitLabel: string;
|
|
849
853
|
};
|
|
850
854
|
type: "integration-application-submit";
|
|
855
|
+
id: string;
|
|
851
856
|
isHead?: boolean | undefined;
|
|
852
857
|
nextId?: string | undefined;
|
|
853
858
|
} | {
|
|
854
|
-
id: string;
|
|
855
859
|
data: {
|
|
856
860
|
ats: "cornerstone";
|
|
857
861
|
integrationId: string;
|
|
858
862
|
};
|
|
859
863
|
type: "integration-workflow-get";
|
|
864
|
+
id: string;
|
|
860
865
|
isHead?: boolean | undefined;
|
|
861
866
|
nextId?: string | undefined;
|
|
862
867
|
} | {
|
|
863
|
-
id: string;
|
|
864
868
|
data: {
|
|
865
869
|
href: string;
|
|
866
870
|
cta: string;
|
|
867
871
|
};
|
|
868
872
|
type: "link";
|
|
873
|
+
id: string;
|
|
869
874
|
isHead?: boolean | undefined;
|
|
870
875
|
nextId?: string | undefined;
|
|
871
876
|
} | {
|
|
872
|
-
id: string;
|
|
873
877
|
data: {
|
|
874
878
|
url: string;
|
|
875
879
|
width: number;
|
|
876
880
|
height: number;
|
|
877
881
|
};
|
|
878
882
|
type: "image";
|
|
883
|
+
id: string;
|
|
879
884
|
isHead?: boolean | undefined;
|
|
880
885
|
nextId?: string | undefined;
|
|
881
886
|
} | {
|
|
882
|
-
id: string;
|
|
883
887
|
data: {
|
|
884
888
|
key: string;
|
|
885
889
|
question: string;
|
|
@@ -888,10 +892,10 @@ export declare const FlowByIdPayloadSchema: import("valibot").ObjectSchema<{
|
|
|
888
892
|
optional: boolean;
|
|
889
893
|
};
|
|
890
894
|
type: "question-boolean";
|
|
895
|
+
id: string;
|
|
891
896
|
isHead?: boolean | undefined;
|
|
892
897
|
nextId?: string | undefined;
|
|
893
898
|
} | {
|
|
894
|
-
id: string;
|
|
895
899
|
data: {
|
|
896
900
|
key: string;
|
|
897
901
|
question: string;
|
|
@@ -901,10 +905,10 @@ export declare const FlowByIdPayloadSchema: import("valibot").ObjectSchema<{
|
|
|
901
905
|
maxChars?: number | undefined;
|
|
902
906
|
};
|
|
903
907
|
type: "question-text";
|
|
908
|
+
id: string;
|
|
904
909
|
isHead?: boolean | undefined;
|
|
905
910
|
nextId?: string | undefined;
|
|
906
911
|
} | {
|
|
907
|
-
id: string;
|
|
908
912
|
data: {
|
|
909
913
|
key: string;
|
|
910
914
|
question: string;
|
|
@@ -915,10 +919,10 @@ export declare const FlowByIdPayloadSchema: import("valibot").ObjectSchema<{
|
|
|
915
919
|
max?: number | undefined;
|
|
916
920
|
};
|
|
917
921
|
type: "question-number";
|
|
922
|
+
id: string;
|
|
918
923
|
isHead?: boolean | undefined;
|
|
919
924
|
nextId?: string | undefined;
|
|
920
925
|
} | {
|
|
921
|
-
id: string;
|
|
922
926
|
data: {
|
|
923
927
|
options: {
|
|
924
928
|
value: string;
|
|
@@ -930,10 +934,10 @@ export declare const FlowByIdPayloadSchema: import("valibot").ObjectSchema<{
|
|
|
930
934
|
minSelected: number;
|
|
931
935
|
};
|
|
932
936
|
type: "question-enum";
|
|
937
|
+
id: string;
|
|
933
938
|
isHead?: boolean | undefined;
|
|
934
939
|
nextId?: string | undefined;
|
|
935
940
|
} | {
|
|
936
|
-
id: string;
|
|
937
941
|
data: {
|
|
938
942
|
key: string;
|
|
939
943
|
question: string;
|
|
@@ -943,10 +947,10 @@ export declare const FlowByIdPayloadSchema: import("valibot").ObjectSchema<{
|
|
|
943
947
|
maxSizeKb?: number | undefined;
|
|
944
948
|
};
|
|
945
949
|
type: "question-file";
|
|
950
|
+
id: string;
|
|
946
951
|
isHead?: boolean | undefined;
|
|
947
952
|
nextId?: string | undefined;
|
|
948
953
|
} | {
|
|
949
|
-
id: string;
|
|
950
954
|
data: {
|
|
951
955
|
keys: {
|
|
952
956
|
line1: string | null;
|
|
@@ -957,30 +961,32 @@ export declare const FlowByIdPayloadSchema: import("valibot").ObjectSchema<{
|
|
|
957
961
|
postcode: string | null;
|
|
958
962
|
country: string | null;
|
|
959
963
|
};
|
|
964
|
+
key: string;
|
|
960
965
|
question: string;
|
|
961
966
|
optional: boolean;
|
|
962
967
|
placeholder?: string | undefined;
|
|
963
968
|
};
|
|
964
969
|
type: "question-address";
|
|
970
|
+
id: string;
|
|
965
971
|
isHead?: boolean | undefined;
|
|
966
972
|
nextId?: string | undefined;
|
|
967
973
|
} | {
|
|
968
|
-
id: string;
|
|
969
974
|
data: {
|
|
970
975
|
compareKey: string;
|
|
971
976
|
compareValue: string;
|
|
972
977
|
compare: "equals" | "notEquals" | "contains" | "notContains";
|
|
973
978
|
};
|
|
974
979
|
type: "if-block";
|
|
980
|
+
id: string;
|
|
975
981
|
isHead?: boolean | undefined;
|
|
976
982
|
nextId?: string | undefined;
|
|
977
983
|
branchId?: string | undefined;
|
|
978
984
|
} | {
|
|
979
|
-
id: string;
|
|
980
985
|
data: {
|
|
981
986
|
targetId: string;
|
|
982
987
|
};
|
|
983
988
|
type: "jump";
|
|
989
|
+
id: string;
|
|
984
990
|
isHead?: boolean | undefined;
|
|
985
991
|
nextId?: string | undefined;
|
|
986
992
|
})[];
|
|
@@ -990,61 +996,60 @@ export declare const FlowByIdPayloadSchema: import("valibot").ObjectSchema<{
|
|
|
990
996
|
id: string;
|
|
991
997
|
version: number;
|
|
992
998
|
nodes: ({
|
|
993
|
-
id: string;
|
|
994
999
|
data: {
|
|
995
1000
|
text: string;
|
|
996
1001
|
};
|
|
997
1002
|
type: "text";
|
|
1003
|
+
id: string;
|
|
998
1004
|
isHead?: boolean | undefined;
|
|
999
1005
|
nextId?: string | undefined;
|
|
1000
1006
|
} | {
|
|
1001
|
-
id: string;
|
|
1002
1007
|
data: {
|
|
1003
1008
|
systemMessage: string;
|
|
1004
1009
|
};
|
|
1005
1010
|
type: "end-flow";
|
|
1011
|
+
id: string;
|
|
1006
1012
|
isHead?: boolean | undefined;
|
|
1007
1013
|
nextId?: string | undefined;
|
|
1008
1014
|
} | {
|
|
1009
|
-
id: string;
|
|
1010
1015
|
data: {
|
|
1011
1016
|
integrationId: string;
|
|
1012
1017
|
skipConfirmation: boolean;
|
|
1013
1018
|
submitLabel: string;
|
|
1014
1019
|
};
|
|
1015
1020
|
type: "integration-application-submit";
|
|
1021
|
+
id: string;
|
|
1016
1022
|
isHead?: boolean | undefined;
|
|
1017
1023
|
nextId?: string | undefined;
|
|
1018
1024
|
} | {
|
|
1019
|
-
id: string;
|
|
1020
1025
|
data: {
|
|
1021
1026
|
ats: "cornerstone";
|
|
1022
1027
|
integrationId: string;
|
|
1023
1028
|
};
|
|
1024
1029
|
type: "integration-workflow-get";
|
|
1030
|
+
id: string;
|
|
1025
1031
|
isHead?: boolean | undefined;
|
|
1026
1032
|
nextId?: string | undefined;
|
|
1027
1033
|
} | {
|
|
1028
|
-
id: string;
|
|
1029
1034
|
data: {
|
|
1030
1035
|
href: string;
|
|
1031
1036
|
cta: string;
|
|
1032
1037
|
};
|
|
1033
1038
|
type: "link";
|
|
1039
|
+
id: string;
|
|
1034
1040
|
isHead?: boolean | undefined;
|
|
1035
1041
|
nextId?: string | undefined;
|
|
1036
1042
|
} | {
|
|
1037
|
-
id: string;
|
|
1038
1043
|
data: {
|
|
1039
1044
|
url: string;
|
|
1040
1045
|
width: number;
|
|
1041
1046
|
height: number;
|
|
1042
1047
|
};
|
|
1043
1048
|
type: "image";
|
|
1049
|
+
id: string;
|
|
1044
1050
|
isHead?: boolean | undefined;
|
|
1045
1051
|
nextId?: string | undefined;
|
|
1046
1052
|
} | {
|
|
1047
|
-
id: string;
|
|
1048
1053
|
data: {
|
|
1049
1054
|
key: string;
|
|
1050
1055
|
question: string;
|
|
@@ -1053,10 +1058,10 @@ export declare const FlowByIdPayloadSchema: import("valibot").ObjectSchema<{
|
|
|
1053
1058
|
optional: boolean;
|
|
1054
1059
|
};
|
|
1055
1060
|
type: "question-boolean";
|
|
1061
|
+
id: string;
|
|
1056
1062
|
isHead?: boolean | undefined;
|
|
1057
1063
|
nextId?: string | undefined;
|
|
1058
1064
|
} | {
|
|
1059
|
-
id: string;
|
|
1060
1065
|
data: {
|
|
1061
1066
|
key: string;
|
|
1062
1067
|
question: string;
|
|
@@ -1066,10 +1071,10 @@ export declare const FlowByIdPayloadSchema: import("valibot").ObjectSchema<{
|
|
|
1066
1071
|
maxChars?: number | undefined;
|
|
1067
1072
|
};
|
|
1068
1073
|
type: "question-text";
|
|
1074
|
+
id: string;
|
|
1069
1075
|
isHead?: boolean | undefined;
|
|
1070
1076
|
nextId?: string | undefined;
|
|
1071
1077
|
} | {
|
|
1072
|
-
id: string;
|
|
1073
1078
|
data: {
|
|
1074
1079
|
key: string;
|
|
1075
1080
|
question: string;
|
|
@@ -1080,10 +1085,10 @@ export declare const FlowByIdPayloadSchema: import("valibot").ObjectSchema<{
|
|
|
1080
1085
|
max?: number | undefined;
|
|
1081
1086
|
};
|
|
1082
1087
|
type: "question-number";
|
|
1088
|
+
id: string;
|
|
1083
1089
|
isHead?: boolean | undefined;
|
|
1084
1090
|
nextId?: string | undefined;
|
|
1085
1091
|
} | {
|
|
1086
|
-
id: string;
|
|
1087
1092
|
data: {
|
|
1088
1093
|
options: {
|
|
1089
1094
|
value: string;
|
|
@@ -1095,10 +1100,10 @@ export declare const FlowByIdPayloadSchema: import("valibot").ObjectSchema<{
|
|
|
1095
1100
|
minSelected: number;
|
|
1096
1101
|
};
|
|
1097
1102
|
type: "question-enum";
|
|
1103
|
+
id: string;
|
|
1098
1104
|
isHead?: boolean | undefined;
|
|
1099
1105
|
nextId?: string | undefined;
|
|
1100
1106
|
} | {
|
|
1101
|
-
id: string;
|
|
1102
1107
|
data: {
|
|
1103
1108
|
key: string;
|
|
1104
1109
|
question: string;
|
|
@@ -1108,10 +1113,10 @@ export declare const FlowByIdPayloadSchema: import("valibot").ObjectSchema<{
|
|
|
1108
1113
|
maxSizeKb?: number | undefined;
|
|
1109
1114
|
};
|
|
1110
1115
|
type: "question-file";
|
|
1116
|
+
id: string;
|
|
1111
1117
|
isHead?: boolean | undefined;
|
|
1112
1118
|
nextId?: string | undefined;
|
|
1113
1119
|
} | {
|
|
1114
|
-
id: string;
|
|
1115
1120
|
data: {
|
|
1116
1121
|
keys: {
|
|
1117
1122
|
line1: string | null;
|
|
@@ -1122,30 +1127,32 @@ export declare const FlowByIdPayloadSchema: import("valibot").ObjectSchema<{
|
|
|
1122
1127
|
postcode: string | null;
|
|
1123
1128
|
country: string | null;
|
|
1124
1129
|
};
|
|
1130
|
+
key: string;
|
|
1125
1131
|
question: string;
|
|
1126
1132
|
optional: boolean;
|
|
1127
1133
|
placeholder?: string | undefined;
|
|
1128
1134
|
};
|
|
1129
1135
|
type: "question-address";
|
|
1136
|
+
id: string;
|
|
1130
1137
|
isHead?: boolean | undefined;
|
|
1131
1138
|
nextId?: string | undefined;
|
|
1132
1139
|
} | {
|
|
1133
|
-
id: string;
|
|
1134
1140
|
data: {
|
|
1135
1141
|
compareKey: string;
|
|
1136
1142
|
compareValue: string;
|
|
1137
1143
|
compare: "equals" | "notEquals" | "contains" | "notContains";
|
|
1138
1144
|
};
|
|
1139
1145
|
type: "if-block";
|
|
1146
|
+
id: string;
|
|
1140
1147
|
isHead?: boolean | undefined;
|
|
1141
1148
|
nextId?: string | undefined;
|
|
1142
1149
|
branchId?: string | undefined;
|
|
1143
1150
|
} | {
|
|
1144
|
-
id: string;
|
|
1145
1151
|
data: {
|
|
1146
1152
|
targetId: string;
|
|
1147
1153
|
};
|
|
1148
1154
|
type: "jump";
|
|
1155
|
+
id: string;
|
|
1149
1156
|
isHead?: boolean | undefined;
|
|
1150
1157
|
nextId?: string | undefined;
|
|
1151
1158
|
})[];
|
|
@@ -1161,61 +1168,60 @@ export declare const FlowByJobPayloadSchema: import("valibot").ObjectSchema<{
|
|
|
1161
1168
|
id: import("valibot").StringSchema<string>;
|
|
1162
1169
|
version: import("valibot").NumberSchema<number>;
|
|
1163
1170
|
nodes: import("valibot").ArraySchema<AnySchema<{
|
|
1164
|
-
id: string;
|
|
1165
1171
|
data: {
|
|
1166
1172
|
text: string;
|
|
1167
1173
|
};
|
|
1168
1174
|
type: "text";
|
|
1175
|
+
id: string;
|
|
1169
1176
|
isHead?: boolean | undefined;
|
|
1170
1177
|
nextId?: string | undefined;
|
|
1171
1178
|
} | {
|
|
1172
|
-
id: string;
|
|
1173
1179
|
data: {
|
|
1174
1180
|
systemMessage: string;
|
|
1175
1181
|
};
|
|
1176
1182
|
type: "end-flow";
|
|
1183
|
+
id: string;
|
|
1177
1184
|
isHead?: boolean | undefined;
|
|
1178
1185
|
nextId?: string | undefined;
|
|
1179
1186
|
} | {
|
|
1180
|
-
id: string;
|
|
1181
1187
|
data: {
|
|
1182
1188
|
integrationId: string;
|
|
1183
1189
|
skipConfirmation: boolean;
|
|
1184
1190
|
submitLabel: string;
|
|
1185
1191
|
};
|
|
1186
1192
|
type: "integration-application-submit";
|
|
1193
|
+
id: string;
|
|
1187
1194
|
isHead?: boolean | undefined;
|
|
1188
1195
|
nextId?: string | undefined;
|
|
1189
1196
|
} | {
|
|
1190
|
-
id: string;
|
|
1191
1197
|
data: {
|
|
1192
1198
|
ats: "cornerstone";
|
|
1193
1199
|
integrationId: string;
|
|
1194
1200
|
};
|
|
1195
1201
|
type: "integration-workflow-get";
|
|
1202
|
+
id: string;
|
|
1196
1203
|
isHead?: boolean | undefined;
|
|
1197
1204
|
nextId?: string | undefined;
|
|
1198
1205
|
} | {
|
|
1199
|
-
id: string;
|
|
1200
1206
|
data: {
|
|
1201
1207
|
href: string;
|
|
1202
1208
|
cta: string;
|
|
1203
1209
|
};
|
|
1204
1210
|
type: "link";
|
|
1211
|
+
id: string;
|
|
1205
1212
|
isHead?: boolean | undefined;
|
|
1206
1213
|
nextId?: string | undefined;
|
|
1207
1214
|
} | {
|
|
1208
|
-
id: string;
|
|
1209
1215
|
data: {
|
|
1210
1216
|
url: string;
|
|
1211
1217
|
width: number;
|
|
1212
1218
|
height: number;
|
|
1213
1219
|
};
|
|
1214
1220
|
type: "image";
|
|
1221
|
+
id: string;
|
|
1215
1222
|
isHead?: boolean | undefined;
|
|
1216
1223
|
nextId?: string | undefined;
|
|
1217
1224
|
} | {
|
|
1218
|
-
id: string;
|
|
1219
1225
|
data: {
|
|
1220
1226
|
key: string;
|
|
1221
1227
|
question: string;
|
|
@@ -1224,10 +1230,10 @@ export declare const FlowByJobPayloadSchema: import("valibot").ObjectSchema<{
|
|
|
1224
1230
|
optional: boolean;
|
|
1225
1231
|
};
|
|
1226
1232
|
type: "question-boolean";
|
|
1233
|
+
id: string;
|
|
1227
1234
|
isHead?: boolean | undefined;
|
|
1228
1235
|
nextId?: string | undefined;
|
|
1229
1236
|
} | {
|
|
1230
|
-
id: string;
|
|
1231
1237
|
data: {
|
|
1232
1238
|
key: string;
|
|
1233
1239
|
question: string;
|
|
@@ -1237,10 +1243,10 @@ export declare const FlowByJobPayloadSchema: import("valibot").ObjectSchema<{
|
|
|
1237
1243
|
maxChars?: number | undefined;
|
|
1238
1244
|
};
|
|
1239
1245
|
type: "question-text";
|
|
1246
|
+
id: string;
|
|
1240
1247
|
isHead?: boolean | undefined;
|
|
1241
1248
|
nextId?: string | undefined;
|
|
1242
1249
|
} | {
|
|
1243
|
-
id: string;
|
|
1244
1250
|
data: {
|
|
1245
1251
|
key: string;
|
|
1246
1252
|
question: string;
|
|
@@ -1251,10 +1257,10 @@ export declare const FlowByJobPayloadSchema: import("valibot").ObjectSchema<{
|
|
|
1251
1257
|
max?: number | undefined;
|
|
1252
1258
|
};
|
|
1253
1259
|
type: "question-number";
|
|
1260
|
+
id: string;
|
|
1254
1261
|
isHead?: boolean | undefined;
|
|
1255
1262
|
nextId?: string | undefined;
|
|
1256
1263
|
} | {
|
|
1257
|
-
id: string;
|
|
1258
1264
|
data: {
|
|
1259
1265
|
options: {
|
|
1260
1266
|
value: string;
|
|
@@ -1266,10 +1272,10 @@ export declare const FlowByJobPayloadSchema: import("valibot").ObjectSchema<{
|
|
|
1266
1272
|
minSelected: number;
|
|
1267
1273
|
};
|
|
1268
1274
|
type: "question-enum";
|
|
1275
|
+
id: string;
|
|
1269
1276
|
isHead?: boolean | undefined;
|
|
1270
1277
|
nextId?: string | undefined;
|
|
1271
1278
|
} | {
|
|
1272
|
-
id: string;
|
|
1273
1279
|
data: {
|
|
1274
1280
|
key: string;
|
|
1275
1281
|
question: string;
|
|
@@ -1279,10 +1285,10 @@ export declare const FlowByJobPayloadSchema: import("valibot").ObjectSchema<{
|
|
|
1279
1285
|
maxSizeKb?: number | undefined;
|
|
1280
1286
|
};
|
|
1281
1287
|
type: "question-file";
|
|
1288
|
+
id: string;
|
|
1282
1289
|
isHead?: boolean | undefined;
|
|
1283
1290
|
nextId?: string | undefined;
|
|
1284
1291
|
} | {
|
|
1285
|
-
id: string;
|
|
1286
1292
|
data: {
|
|
1287
1293
|
keys: {
|
|
1288
1294
|
line1: string | null;
|
|
@@ -1293,88 +1299,89 @@ export declare const FlowByJobPayloadSchema: import("valibot").ObjectSchema<{
|
|
|
1293
1299
|
postcode: string | null;
|
|
1294
1300
|
country: string | null;
|
|
1295
1301
|
};
|
|
1302
|
+
key: string;
|
|
1296
1303
|
question: string;
|
|
1297
1304
|
optional: boolean;
|
|
1298
1305
|
placeholder?: string | undefined;
|
|
1299
1306
|
};
|
|
1300
1307
|
type: "question-address";
|
|
1308
|
+
id: string;
|
|
1301
1309
|
isHead?: boolean | undefined;
|
|
1302
1310
|
nextId?: string | undefined;
|
|
1303
1311
|
} | {
|
|
1304
|
-
id: string;
|
|
1305
1312
|
data: {
|
|
1306
1313
|
compareKey: string;
|
|
1307
1314
|
compareValue: string;
|
|
1308
1315
|
compare: "equals" | "notEquals" | "contains" | "notContains";
|
|
1309
1316
|
};
|
|
1310
1317
|
type: "if-block";
|
|
1318
|
+
id: string;
|
|
1311
1319
|
isHead?: boolean | undefined;
|
|
1312
1320
|
nextId?: string | undefined;
|
|
1313
1321
|
branchId?: string | undefined;
|
|
1314
1322
|
} | {
|
|
1315
|
-
id: string;
|
|
1316
1323
|
data: {
|
|
1317
1324
|
targetId: string;
|
|
1318
1325
|
};
|
|
1319
1326
|
type: "jump";
|
|
1327
|
+
id: string;
|
|
1320
1328
|
isHead?: boolean | undefined;
|
|
1321
1329
|
nextId?: string | undefined;
|
|
1322
1330
|
}>, ({
|
|
1323
|
-
id: string;
|
|
1324
1331
|
data: {
|
|
1325
1332
|
text: string;
|
|
1326
1333
|
};
|
|
1327
1334
|
type: "text";
|
|
1335
|
+
id: string;
|
|
1328
1336
|
isHead?: boolean | undefined;
|
|
1329
1337
|
nextId?: string | undefined;
|
|
1330
1338
|
} | {
|
|
1331
|
-
id: string;
|
|
1332
1339
|
data: {
|
|
1333
1340
|
systemMessage: string;
|
|
1334
1341
|
};
|
|
1335
1342
|
type: "end-flow";
|
|
1343
|
+
id: string;
|
|
1336
1344
|
isHead?: boolean | undefined;
|
|
1337
1345
|
nextId?: string | undefined;
|
|
1338
1346
|
} | {
|
|
1339
|
-
id: string;
|
|
1340
1347
|
data: {
|
|
1341
1348
|
integrationId: string;
|
|
1342
1349
|
skipConfirmation: boolean;
|
|
1343
1350
|
submitLabel: string;
|
|
1344
1351
|
};
|
|
1345
1352
|
type: "integration-application-submit";
|
|
1353
|
+
id: string;
|
|
1346
1354
|
isHead?: boolean | undefined;
|
|
1347
1355
|
nextId?: string | undefined;
|
|
1348
1356
|
} | {
|
|
1349
|
-
id: string;
|
|
1350
1357
|
data: {
|
|
1351
1358
|
ats: "cornerstone";
|
|
1352
1359
|
integrationId: string;
|
|
1353
1360
|
};
|
|
1354
1361
|
type: "integration-workflow-get";
|
|
1362
|
+
id: string;
|
|
1355
1363
|
isHead?: boolean | undefined;
|
|
1356
1364
|
nextId?: string | undefined;
|
|
1357
1365
|
} | {
|
|
1358
|
-
id: string;
|
|
1359
1366
|
data: {
|
|
1360
1367
|
href: string;
|
|
1361
1368
|
cta: string;
|
|
1362
1369
|
};
|
|
1363
1370
|
type: "link";
|
|
1371
|
+
id: string;
|
|
1364
1372
|
isHead?: boolean | undefined;
|
|
1365
1373
|
nextId?: string | undefined;
|
|
1366
1374
|
} | {
|
|
1367
|
-
id: string;
|
|
1368
1375
|
data: {
|
|
1369
1376
|
url: string;
|
|
1370
1377
|
width: number;
|
|
1371
1378
|
height: number;
|
|
1372
1379
|
};
|
|
1373
1380
|
type: "image";
|
|
1381
|
+
id: string;
|
|
1374
1382
|
isHead?: boolean | undefined;
|
|
1375
1383
|
nextId?: string | undefined;
|
|
1376
1384
|
} | {
|
|
1377
|
-
id: string;
|
|
1378
1385
|
data: {
|
|
1379
1386
|
key: string;
|
|
1380
1387
|
question: string;
|
|
@@ -1383,10 +1390,10 @@ export declare const FlowByJobPayloadSchema: import("valibot").ObjectSchema<{
|
|
|
1383
1390
|
optional: boolean;
|
|
1384
1391
|
};
|
|
1385
1392
|
type: "question-boolean";
|
|
1393
|
+
id: string;
|
|
1386
1394
|
isHead?: boolean | undefined;
|
|
1387
1395
|
nextId?: string | undefined;
|
|
1388
1396
|
} | {
|
|
1389
|
-
id: string;
|
|
1390
1397
|
data: {
|
|
1391
1398
|
key: string;
|
|
1392
1399
|
question: string;
|
|
@@ -1396,10 +1403,10 @@ export declare const FlowByJobPayloadSchema: import("valibot").ObjectSchema<{
|
|
|
1396
1403
|
maxChars?: number | undefined;
|
|
1397
1404
|
};
|
|
1398
1405
|
type: "question-text";
|
|
1406
|
+
id: string;
|
|
1399
1407
|
isHead?: boolean | undefined;
|
|
1400
1408
|
nextId?: string | undefined;
|
|
1401
1409
|
} | {
|
|
1402
|
-
id: string;
|
|
1403
1410
|
data: {
|
|
1404
1411
|
key: string;
|
|
1405
1412
|
question: string;
|
|
@@ -1410,10 +1417,10 @@ export declare const FlowByJobPayloadSchema: import("valibot").ObjectSchema<{
|
|
|
1410
1417
|
max?: number | undefined;
|
|
1411
1418
|
};
|
|
1412
1419
|
type: "question-number";
|
|
1420
|
+
id: string;
|
|
1413
1421
|
isHead?: boolean | undefined;
|
|
1414
1422
|
nextId?: string | undefined;
|
|
1415
1423
|
} | {
|
|
1416
|
-
id: string;
|
|
1417
1424
|
data: {
|
|
1418
1425
|
options: {
|
|
1419
1426
|
value: string;
|
|
@@ -1425,10 +1432,10 @@ export declare const FlowByJobPayloadSchema: import("valibot").ObjectSchema<{
|
|
|
1425
1432
|
minSelected: number;
|
|
1426
1433
|
};
|
|
1427
1434
|
type: "question-enum";
|
|
1435
|
+
id: string;
|
|
1428
1436
|
isHead?: boolean | undefined;
|
|
1429
1437
|
nextId?: string | undefined;
|
|
1430
1438
|
} | {
|
|
1431
|
-
id: string;
|
|
1432
1439
|
data: {
|
|
1433
1440
|
key: string;
|
|
1434
1441
|
question: string;
|
|
@@ -1438,10 +1445,10 @@ export declare const FlowByJobPayloadSchema: import("valibot").ObjectSchema<{
|
|
|
1438
1445
|
maxSizeKb?: number | undefined;
|
|
1439
1446
|
};
|
|
1440
1447
|
type: "question-file";
|
|
1448
|
+
id: string;
|
|
1441
1449
|
isHead?: boolean | undefined;
|
|
1442
1450
|
nextId?: string | undefined;
|
|
1443
1451
|
} | {
|
|
1444
|
-
id: string;
|
|
1445
1452
|
data: {
|
|
1446
1453
|
keys: {
|
|
1447
1454
|
line1: string | null;
|
|
@@ -1452,30 +1459,32 @@ export declare const FlowByJobPayloadSchema: import("valibot").ObjectSchema<{
|
|
|
1452
1459
|
postcode: string | null;
|
|
1453
1460
|
country: string | null;
|
|
1454
1461
|
};
|
|
1462
|
+
key: string;
|
|
1455
1463
|
question: string;
|
|
1456
1464
|
optional: boolean;
|
|
1457
1465
|
placeholder?: string | undefined;
|
|
1458
1466
|
};
|
|
1459
1467
|
type: "question-address";
|
|
1468
|
+
id: string;
|
|
1460
1469
|
isHead?: boolean | undefined;
|
|
1461
1470
|
nextId?: string | undefined;
|
|
1462
1471
|
} | {
|
|
1463
|
-
id: string;
|
|
1464
1472
|
data: {
|
|
1465
1473
|
compareKey: string;
|
|
1466
1474
|
compareValue: string;
|
|
1467
1475
|
compare: "equals" | "notEquals" | "contains" | "notContains";
|
|
1468
1476
|
};
|
|
1469
1477
|
type: "if-block";
|
|
1478
|
+
id: string;
|
|
1470
1479
|
isHead?: boolean | undefined;
|
|
1471
1480
|
nextId?: string | undefined;
|
|
1472
1481
|
branchId?: string | undefined;
|
|
1473
1482
|
} | {
|
|
1474
|
-
id: string;
|
|
1475
1483
|
data: {
|
|
1476
1484
|
targetId: string;
|
|
1477
1485
|
};
|
|
1478
1486
|
type: "jump";
|
|
1487
|
+
id: string;
|
|
1479
1488
|
isHead?: boolean | undefined;
|
|
1480
1489
|
nextId?: string | undefined;
|
|
1481
1490
|
})[]>;
|
|
@@ -1483,61 +1492,60 @@ export declare const FlowByJobPayloadSchema: import("valibot").ObjectSchema<{
|
|
|
1483
1492
|
id: string;
|
|
1484
1493
|
version: number;
|
|
1485
1494
|
nodes: ({
|
|
1486
|
-
id: string;
|
|
1487
1495
|
data: {
|
|
1488
1496
|
text: string;
|
|
1489
1497
|
};
|
|
1490
1498
|
type: "text";
|
|
1499
|
+
id: string;
|
|
1491
1500
|
isHead?: boolean | undefined;
|
|
1492
1501
|
nextId?: string | undefined;
|
|
1493
1502
|
} | {
|
|
1494
|
-
id: string;
|
|
1495
1503
|
data: {
|
|
1496
1504
|
systemMessage: string;
|
|
1497
1505
|
};
|
|
1498
1506
|
type: "end-flow";
|
|
1507
|
+
id: string;
|
|
1499
1508
|
isHead?: boolean | undefined;
|
|
1500
1509
|
nextId?: string | undefined;
|
|
1501
1510
|
} | {
|
|
1502
|
-
id: string;
|
|
1503
1511
|
data: {
|
|
1504
1512
|
integrationId: string;
|
|
1505
1513
|
skipConfirmation: boolean;
|
|
1506
1514
|
submitLabel: string;
|
|
1507
1515
|
};
|
|
1508
1516
|
type: "integration-application-submit";
|
|
1517
|
+
id: string;
|
|
1509
1518
|
isHead?: boolean | undefined;
|
|
1510
1519
|
nextId?: string | undefined;
|
|
1511
1520
|
} | {
|
|
1512
|
-
id: string;
|
|
1513
1521
|
data: {
|
|
1514
1522
|
ats: "cornerstone";
|
|
1515
1523
|
integrationId: string;
|
|
1516
1524
|
};
|
|
1517
1525
|
type: "integration-workflow-get";
|
|
1526
|
+
id: string;
|
|
1518
1527
|
isHead?: boolean | undefined;
|
|
1519
1528
|
nextId?: string | undefined;
|
|
1520
1529
|
} | {
|
|
1521
|
-
id: string;
|
|
1522
1530
|
data: {
|
|
1523
1531
|
href: string;
|
|
1524
1532
|
cta: string;
|
|
1525
1533
|
};
|
|
1526
1534
|
type: "link";
|
|
1535
|
+
id: string;
|
|
1527
1536
|
isHead?: boolean | undefined;
|
|
1528
1537
|
nextId?: string | undefined;
|
|
1529
1538
|
} | {
|
|
1530
|
-
id: string;
|
|
1531
1539
|
data: {
|
|
1532
1540
|
url: string;
|
|
1533
1541
|
width: number;
|
|
1534
1542
|
height: number;
|
|
1535
1543
|
};
|
|
1536
1544
|
type: "image";
|
|
1545
|
+
id: string;
|
|
1537
1546
|
isHead?: boolean | undefined;
|
|
1538
1547
|
nextId?: string | undefined;
|
|
1539
1548
|
} | {
|
|
1540
|
-
id: string;
|
|
1541
1549
|
data: {
|
|
1542
1550
|
key: string;
|
|
1543
1551
|
question: string;
|
|
@@ -1546,10 +1554,10 @@ export declare const FlowByJobPayloadSchema: import("valibot").ObjectSchema<{
|
|
|
1546
1554
|
optional: boolean;
|
|
1547
1555
|
};
|
|
1548
1556
|
type: "question-boolean";
|
|
1557
|
+
id: string;
|
|
1549
1558
|
isHead?: boolean | undefined;
|
|
1550
1559
|
nextId?: string | undefined;
|
|
1551
1560
|
} | {
|
|
1552
|
-
id: string;
|
|
1553
1561
|
data: {
|
|
1554
1562
|
key: string;
|
|
1555
1563
|
question: string;
|
|
@@ -1559,10 +1567,10 @@ export declare const FlowByJobPayloadSchema: import("valibot").ObjectSchema<{
|
|
|
1559
1567
|
maxChars?: number | undefined;
|
|
1560
1568
|
};
|
|
1561
1569
|
type: "question-text";
|
|
1570
|
+
id: string;
|
|
1562
1571
|
isHead?: boolean | undefined;
|
|
1563
1572
|
nextId?: string | undefined;
|
|
1564
1573
|
} | {
|
|
1565
|
-
id: string;
|
|
1566
1574
|
data: {
|
|
1567
1575
|
key: string;
|
|
1568
1576
|
question: string;
|
|
@@ -1573,10 +1581,10 @@ export declare const FlowByJobPayloadSchema: import("valibot").ObjectSchema<{
|
|
|
1573
1581
|
max?: number | undefined;
|
|
1574
1582
|
};
|
|
1575
1583
|
type: "question-number";
|
|
1584
|
+
id: string;
|
|
1576
1585
|
isHead?: boolean | undefined;
|
|
1577
1586
|
nextId?: string | undefined;
|
|
1578
1587
|
} | {
|
|
1579
|
-
id: string;
|
|
1580
1588
|
data: {
|
|
1581
1589
|
options: {
|
|
1582
1590
|
value: string;
|
|
@@ -1588,10 +1596,10 @@ export declare const FlowByJobPayloadSchema: import("valibot").ObjectSchema<{
|
|
|
1588
1596
|
minSelected: number;
|
|
1589
1597
|
};
|
|
1590
1598
|
type: "question-enum";
|
|
1599
|
+
id: string;
|
|
1591
1600
|
isHead?: boolean | undefined;
|
|
1592
1601
|
nextId?: string | undefined;
|
|
1593
1602
|
} | {
|
|
1594
|
-
id: string;
|
|
1595
1603
|
data: {
|
|
1596
1604
|
key: string;
|
|
1597
1605
|
question: string;
|
|
@@ -1601,10 +1609,10 @@ export declare const FlowByJobPayloadSchema: import("valibot").ObjectSchema<{
|
|
|
1601
1609
|
maxSizeKb?: number | undefined;
|
|
1602
1610
|
};
|
|
1603
1611
|
type: "question-file";
|
|
1612
|
+
id: string;
|
|
1604
1613
|
isHead?: boolean | undefined;
|
|
1605
1614
|
nextId?: string | undefined;
|
|
1606
1615
|
} | {
|
|
1607
|
-
id: string;
|
|
1608
1616
|
data: {
|
|
1609
1617
|
keys: {
|
|
1610
1618
|
line1: string | null;
|
|
@@ -1615,30 +1623,32 @@ export declare const FlowByJobPayloadSchema: import("valibot").ObjectSchema<{
|
|
|
1615
1623
|
postcode: string | null;
|
|
1616
1624
|
country: string | null;
|
|
1617
1625
|
};
|
|
1626
|
+
key: string;
|
|
1618
1627
|
question: string;
|
|
1619
1628
|
optional: boolean;
|
|
1620
1629
|
placeholder?: string | undefined;
|
|
1621
1630
|
};
|
|
1622
1631
|
type: "question-address";
|
|
1632
|
+
id: string;
|
|
1623
1633
|
isHead?: boolean | undefined;
|
|
1624
1634
|
nextId?: string | undefined;
|
|
1625
1635
|
} | {
|
|
1626
|
-
id: string;
|
|
1627
1636
|
data: {
|
|
1628
1637
|
compareKey: string;
|
|
1629
1638
|
compareValue: string;
|
|
1630
1639
|
compare: "equals" | "notEquals" | "contains" | "notContains";
|
|
1631
1640
|
};
|
|
1632
1641
|
type: "if-block";
|
|
1642
|
+
id: string;
|
|
1633
1643
|
isHead?: boolean | undefined;
|
|
1634
1644
|
nextId?: string | undefined;
|
|
1635
1645
|
branchId?: string | undefined;
|
|
1636
1646
|
} | {
|
|
1637
|
-
id: string;
|
|
1638
1647
|
data: {
|
|
1639
1648
|
targetId: string;
|
|
1640
1649
|
};
|
|
1641
1650
|
type: "jump";
|
|
1651
|
+
id: string;
|
|
1642
1652
|
isHead?: boolean | undefined;
|
|
1643
1653
|
nextId?: string | undefined;
|
|
1644
1654
|
})[];
|
|
@@ -1655,61 +1665,60 @@ export declare const FlowByJobPayloadSchema: import("valibot").ObjectSchema<{
|
|
|
1655
1665
|
id: string;
|
|
1656
1666
|
version: number;
|
|
1657
1667
|
nodes: ({
|
|
1658
|
-
id: string;
|
|
1659
1668
|
data: {
|
|
1660
1669
|
text: string;
|
|
1661
1670
|
};
|
|
1662
1671
|
type: "text";
|
|
1672
|
+
id: string;
|
|
1663
1673
|
isHead?: boolean | undefined;
|
|
1664
1674
|
nextId?: string | undefined;
|
|
1665
1675
|
} | {
|
|
1666
|
-
id: string;
|
|
1667
1676
|
data: {
|
|
1668
1677
|
systemMessage: string;
|
|
1669
1678
|
};
|
|
1670
1679
|
type: "end-flow";
|
|
1680
|
+
id: string;
|
|
1671
1681
|
isHead?: boolean | undefined;
|
|
1672
1682
|
nextId?: string | undefined;
|
|
1673
1683
|
} | {
|
|
1674
|
-
id: string;
|
|
1675
1684
|
data: {
|
|
1676
1685
|
integrationId: string;
|
|
1677
1686
|
skipConfirmation: boolean;
|
|
1678
1687
|
submitLabel: string;
|
|
1679
1688
|
};
|
|
1680
1689
|
type: "integration-application-submit";
|
|
1690
|
+
id: string;
|
|
1681
1691
|
isHead?: boolean | undefined;
|
|
1682
1692
|
nextId?: string | undefined;
|
|
1683
1693
|
} | {
|
|
1684
|
-
id: string;
|
|
1685
1694
|
data: {
|
|
1686
1695
|
ats: "cornerstone";
|
|
1687
1696
|
integrationId: string;
|
|
1688
1697
|
};
|
|
1689
1698
|
type: "integration-workflow-get";
|
|
1699
|
+
id: string;
|
|
1690
1700
|
isHead?: boolean | undefined;
|
|
1691
1701
|
nextId?: string | undefined;
|
|
1692
1702
|
} | {
|
|
1693
|
-
id: string;
|
|
1694
1703
|
data: {
|
|
1695
1704
|
href: string;
|
|
1696
1705
|
cta: string;
|
|
1697
1706
|
};
|
|
1698
1707
|
type: "link";
|
|
1708
|
+
id: string;
|
|
1699
1709
|
isHead?: boolean | undefined;
|
|
1700
1710
|
nextId?: string | undefined;
|
|
1701
1711
|
} | {
|
|
1702
|
-
id: string;
|
|
1703
1712
|
data: {
|
|
1704
1713
|
url: string;
|
|
1705
1714
|
width: number;
|
|
1706
1715
|
height: number;
|
|
1707
1716
|
};
|
|
1708
1717
|
type: "image";
|
|
1718
|
+
id: string;
|
|
1709
1719
|
isHead?: boolean | undefined;
|
|
1710
1720
|
nextId?: string | undefined;
|
|
1711
1721
|
} | {
|
|
1712
|
-
id: string;
|
|
1713
1722
|
data: {
|
|
1714
1723
|
key: string;
|
|
1715
1724
|
question: string;
|
|
@@ -1718,10 +1727,10 @@ export declare const FlowByJobPayloadSchema: import("valibot").ObjectSchema<{
|
|
|
1718
1727
|
optional: boolean;
|
|
1719
1728
|
};
|
|
1720
1729
|
type: "question-boolean";
|
|
1730
|
+
id: string;
|
|
1721
1731
|
isHead?: boolean | undefined;
|
|
1722
1732
|
nextId?: string | undefined;
|
|
1723
1733
|
} | {
|
|
1724
|
-
id: string;
|
|
1725
1734
|
data: {
|
|
1726
1735
|
key: string;
|
|
1727
1736
|
question: string;
|
|
@@ -1731,10 +1740,10 @@ export declare const FlowByJobPayloadSchema: import("valibot").ObjectSchema<{
|
|
|
1731
1740
|
maxChars?: number | undefined;
|
|
1732
1741
|
};
|
|
1733
1742
|
type: "question-text";
|
|
1743
|
+
id: string;
|
|
1734
1744
|
isHead?: boolean | undefined;
|
|
1735
1745
|
nextId?: string | undefined;
|
|
1736
1746
|
} | {
|
|
1737
|
-
id: string;
|
|
1738
1747
|
data: {
|
|
1739
1748
|
key: string;
|
|
1740
1749
|
question: string;
|
|
@@ -1745,10 +1754,10 @@ export declare const FlowByJobPayloadSchema: import("valibot").ObjectSchema<{
|
|
|
1745
1754
|
max?: number | undefined;
|
|
1746
1755
|
};
|
|
1747
1756
|
type: "question-number";
|
|
1757
|
+
id: string;
|
|
1748
1758
|
isHead?: boolean | undefined;
|
|
1749
1759
|
nextId?: string | undefined;
|
|
1750
1760
|
} | {
|
|
1751
|
-
id: string;
|
|
1752
1761
|
data: {
|
|
1753
1762
|
options: {
|
|
1754
1763
|
value: string;
|
|
@@ -1760,10 +1769,10 @@ export declare const FlowByJobPayloadSchema: import("valibot").ObjectSchema<{
|
|
|
1760
1769
|
minSelected: number;
|
|
1761
1770
|
};
|
|
1762
1771
|
type: "question-enum";
|
|
1772
|
+
id: string;
|
|
1763
1773
|
isHead?: boolean | undefined;
|
|
1764
1774
|
nextId?: string | undefined;
|
|
1765
1775
|
} | {
|
|
1766
|
-
id: string;
|
|
1767
1776
|
data: {
|
|
1768
1777
|
key: string;
|
|
1769
1778
|
question: string;
|
|
@@ -1773,10 +1782,10 @@ export declare const FlowByJobPayloadSchema: import("valibot").ObjectSchema<{
|
|
|
1773
1782
|
maxSizeKb?: number | undefined;
|
|
1774
1783
|
};
|
|
1775
1784
|
type: "question-file";
|
|
1785
|
+
id: string;
|
|
1776
1786
|
isHead?: boolean | undefined;
|
|
1777
1787
|
nextId?: string | undefined;
|
|
1778
1788
|
} | {
|
|
1779
|
-
id: string;
|
|
1780
1789
|
data: {
|
|
1781
1790
|
keys: {
|
|
1782
1791
|
line1: string | null;
|
|
@@ -1787,30 +1796,32 @@ export declare const FlowByJobPayloadSchema: import("valibot").ObjectSchema<{
|
|
|
1787
1796
|
postcode: string | null;
|
|
1788
1797
|
country: string | null;
|
|
1789
1798
|
};
|
|
1799
|
+
key: string;
|
|
1790
1800
|
question: string;
|
|
1791
1801
|
optional: boolean;
|
|
1792
1802
|
placeholder?: string | undefined;
|
|
1793
1803
|
};
|
|
1794
1804
|
type: "question-address";
|
|
1805
|
+
id: string;
|
|
1795
1806
|
isHead?: boolean | undefined;
|
|
1796
1807
|
nextId?: string | undefined;
|
|
1797
1808
|
} | {
|
|
1798
|
-
id: string;
|
|
1799
1809
|
data: {
|
|
1800
1810
|
compareKey: string;
|
|
1801
1811
|
compareValue: string;
|
|
1802
1812
|
compare: "equals" | "notEquals" | "contains" | "notContains";
|
|
1803
1813
|
};
|
|
1804
1814
|
type: "if-block";
|
|
1815
|
+
id: string;
|
|
1805
1816
|
isHead?: boolean | undefined;
|
|
1806
1817
|
nextId?: string | undefined;
|
|
1807
1818
|
branchId?: string | undefined;
|
|
1808
1819
|
} | {
|
|
1809
|
-
id: string;
|
|
1810
1820
|
data: {
|
|
1811
1821
|
targetId: string;
|
|
1812
1822
|
};
|
|
1813
1823
|
type: "jump";
|
|
1824
|
+
id: string;
|
|
1814
1825
|
isHead?: boolean | undefined;
|
|
1815
1826
|
nextId?: string | undefined;
|
|
1816
1827
|
})[];
|
|
@@ -1828,61 +1839,60 @@ export declare const StartFlowSchema: import("valibot").ObjectSchema<{
|
|
|
1828
1839
|
id: import("valibot").StringSchema<string>;
|
|
1829
1840
|
version: import("valibot").NumberSchema<number>;
|
|
1830
1841
|
nodes: import("valibot").ArraySchema<AnySchema<{
|
|
1831
|
-
id: string;
|
|
1832
1842
|
data: {
|
|
1833
1843
|
text: string;
|
|
1834
1844
|
};
|
|
1835
1845
|
type: "text";
|
|
1846
|
+
id: string;
|
|
1836
1847
|
isHead?: boolean | undefined;
|
|
1837
1848
|
nextId?: string | undefined;
|
|
1838
1849
|
} | {
|
|
1839
|
-
id: string;
|
|
1840
1850
|
data: {
|
|
1841
1851
|
systemMessage: string;
|
|
1842
1852
|
};
|
|
1843
1853
|
type: "end-flow";
|
|
1854
|
+
id: string;
|
|
1844
1855
|
isHead?: boolean | undefined;
|
|
1845
1856
|
nextId?: string | undefined;
|
|
1846
1857
|
} | {
|
|
1847
|
-
id: string;
|
|
1848
1858
|
data: {
|
|
1849
1859
|
integrationId: string;
|
|
1850
1860
|
skipConfirmation: boolean;
|
|
1851
1861
|
submitLabel: string;
|
|
1852
1862
|
};
|
|
1853
1863
|
type: "integration-application-submit";
|
|
1864
|
+
id: string;
|
|
1854
1865
|
isHead?: boolean | undefined;
|
|
1855
1866
|
nextId?: string | undefined;
|
|
1856
1867
|
} | {
|
|
1857
|
-
id: string;
|
|
1858
1868
|
data: {
|
|
1859
1869
|
ats: "cornerstone";
|
|
1860
1870
|
integrationId: string;
|
|
1861
1871
|
};
|
|
1862
1872
|
type: "integration-workflow-get";
|
|
1873
|
+
id: string;
|
|
1863
1874
|
isHead?: boolean | undefined;
|
|
1864
1875
|
nextId?: string | undefined;
|
|
1865
1876
|
} | {
|
|
1866
|
-
id: string;
|
|
1867
1877
|
data: {
|
|
1868
1878
|
href: string;
|
|
1869
1879
|
cta: string;
|
|
1870
1880
|
};
|
|
1871
1881
|
type: "link";
|
|
1882
|
+
id: string;
|
|
1872
1883
|
isHead?: boolean | undefined;
|
|
1873
1884
|
nextId?: string | undefined;
|
|
1874
1885
|
} | {
|
|
1875
|
-
id: string;
|
|
1876
1886
|
data: {
|
|
1877
1887
|
url: string;
|
|
1878
1888
|
width: number;
|
|
1879
1889
|
height: number;
|
|
1880
1890
|
};
|
|
1881
1891
|
type: "image";
|
|
1892
|
+
id: string;
|
|
1882
1893
|
isHead?: boolean | undefined;
|
|
1883
1894
|
nextId?: string | undefined;
|
|
1884
1895
|
} | {
|
|
1885
|
-
id: string;
|
|
1886
1896
|
data: {
|
|
1887
1897
|
key: string;
|
|
1888
1898
|
question: string;
|
|
@@ -1891,10 +1901,10 @@ export declare const StartFlowSchema: import("valibot").ObjectSchema<{
|
|
|
1891
1901
|
optional: boolean;
|
|
1892
1902
|
};
|
|
1893
1903
|
type: "question-boolean";
|
|
1904
|
+
id: string;
|
|
1894
1905
|
isHead?: boolean | undefined;
|
|
1895
1906
|
nextId?: string | undefined;
|
|
1896
1907
|
} | {
|
|
1897
|
-
id: string;
|
|
1898
1908
|
data: {
|
|
1899
1909
|
key: string;
|
|
1900
1910
|
question: string;
|
|
@@ -1904,10 +1914,10 @@ export declare const StartFlowSchema: import("valibot").ObjectSchema<{
|
|
|
1904
1914
|
maxChars?: number | undefined;
|
|
1905
1915
|
};
|
|
1906
1916
|
type: "question-text";
|
|
1917
|
+
id: string;
|
|
1907
1918
|
isHead?: boolean | undefined;
|
|
1908
1919
|
nextId?: string | undefined;
|
|
1909
1920
|
} | {
|
|
1910
|
-
id: string;
|
|
1911
1921
|
data: {
|
|
1912
1922
|
key: string;
|
|
1913
1923
|
question: string;
|
|
@@ -1918,10 +1928,10 @@ export declare const StartFlowSchema: import("valibot").ObjectSchema<{
|
|
|
1918
1928
|
max?: number | undefined;
|
|
1919
1929
|
};
|
|
1920
1930
|
type: "question-number";
|
|
1931
|
+
id: string;
|
|
1921
1932
|
isHead?: boolean | undefined;
|
|
1922
1933
|
nextId?: string | undefined;
|
|
1923
1934
|
} | {
|
|
1924
|
-
id: string;
|
|
1925
1935
|
data: {
|
|
1926
1936
|
options: {
|
|
1927
1937
|
value: string;
|
|
@@ -1933,10 +1943,10 @@ export declare const StartFlowSchema: import("valibot").ObjectSchema<{
|
|
|
1933
1943
|
minSelected: number;
|
|
1934
1944
|
};
|
|
1935
1945
|
type: "question-enum";
|
|
1946
|
+
id: string;
|
|
1936
1947
|
isHead?: boolean | undefined;
|
|
1937
1948
|
nextId?: string | undefined;
|
|
1938
1949
|
} | {
|
|
1939
|
-
id: string;
|
|
1940
1950
|
data: {
|
|
1941
1951
|
key: string;
|
|
1942
1952
|
question: string;
|
|
@@ -1946,10 +1956,10 @@ export declare const StartFlowSchema: import("valibot").ObjectSchema<{
|
|
|
1946
1956
|
maxSizeKb?: number | undefined;
|
|
1947
1957
|
};
|
|
1948
1958
|
type: "question-file";
|
|
1959
|
+
id: string;
|
|
1949
1960
|
isHead?: boolean | undefined;
|
|
1950
1961
|
nextId?: string | undefined;
|
|
1951
1962
|
} | {
|
|
1952
|
-
id: string;
|
|
1953
1963
|
data: {
|
|
1954
1964
|
keys: {
|
|
1955
1965
|
line1: string | null;
|
|
@@ -1960,88 +1970,89 @@ export declare const StartFlowSchema: import("valibot").ObjectSchema<{
|
|
|
1960
1970
|
postcode: string | null;
|
|
1961
1971
|
country: string | null;
|
|
1962
1972
|
};
|
|
1973
|
+
key: string;
|
|
1963
1974
|
question: string;
|
|
1964
1975
|
optional: boolean;
|
|
1965
1976
|
placeholder?: string | undefined;
|
|
1966
1977
|
};
|
|
1967
1978
|
type: "question-address";
|
|
1979
|
+
id: string;
|
|
1968
1980
|
isHead?: boolean | undefined;
|
|
1969
1981
|
nextId?: string | undefined;
|
|
1970
1982
|
} | {
|
|
1971
|
-
id: string;
|
|
1972
1983
|
data: {
|
|
1973
1984
|
compareKey: string;
|
|
1974
1985
|
compareValue: string;
|
|
1975
1986
|
compare: "equals" | "notEquals" | "contains" | "notContains";
|
|
1976
1987
|
};
|
|
1977
1988
|
type: "if-block";
|
|
1989
|
+
id: string;
|
|
1978
1990
|
isHead?: boolean | undefined;
|
|
1979
1991
|
nextId?: string | undefined;
|
|
1980
1992
|
branchId?: string | undefined;
|
|
1981
1993
|
} | {
|
|
1982
|
-
id: string;
|
|
1983
1994
|
data: {
|
|
1984
1995
|
targetId: string;
|
|
1985
1996
|
};
|
|
1986
1997
|
type: "jump";
|
|
1998
|
+
id: string;
|
|
1987
1999
|
isHead?: boolean | undefined;
|
|
1988
2000
|
nextId?: string | undefined;
|
|
1989
2001
|
}>, ({
|
|
1990
|
-
id: string;
|
|
1991
2002
|
data: {
|
|
1992
2003
|
text: string;
|
|
1993
2004
|
};
|
|
1994
2005
|
type: "text";
|
|
2006
|
+
id: string;
|
|
1995
2007
|
isHead?: boolean | undefined;
|
|
1996
2008
|
nextId?: string | undefined;
|
|
1997
2009
|
} | {
|
|
1998
|
-
id: string;
|
|
1999
2010
|
data: {
|
|
2000
2011
|
systemMessage: string;
|
|
2001
2012
|
};
|
|
2002
2013
|
type: "end-flow";
|
|
2014
|
+
id: string;
|
|
2003
2015
|
isHead?: boolean | undefined;
|
|
2004
2016
|
nextId?: string | undefined;
|
|
2005
2017
|
} | {
|
|
2006
|
-
id: string;
|
|
2007
2018
|
data: {
|
|
2008
2019
|
integrationId: string;
|
|
2009
2020
|
skipConfirmation: boolean;
|
|
2010
2021
|
submitLabel: string;
|
|
2011
2022
|
};
|
|
2012
2023
|
type: "integration-application-submit";
|
|
2024
|
+
id: string;
|
|
2013
2025
|
isHead?: boolean | undefined;
|
|
2014
2026
|
nextId?: string | undefined;
|
|
2015
2027
|
} | {
|
|
2016
|
-
id: string;
|
|
2017
2028
|
data: {
|
|
2018
2029
|
ats: "cornerstone";
|
|
2019
2030
|
integrationId: string;
|
|
2020
2031
|
};
|
|
2021
2032
|
type: "integration-workflow-get";
|
|
2033
|
+
id: string;
|
|
2022
2034
|
isHead?: boolean | undefined;
|
|
2023
2035
|
nextId?: string | undefined;
|
|
2024
2036
|
} | {
|
|
2025
|
-
id: string;
|
|
2026
2037
|
data: {
|
|
2027
2038
|
href: string;
|
|
2028
2039
|
cta: string;
|
|
2029
2040
|
};
|
|
2030
2041
|
type: "link";
|
|
2042
|
+
id: string;
|
|
2031
2043
|
isHead?: boolean | undefined;
|
|
2032
2044
|
nextId?: string | undefined;
|
|
2033
2045
|
} | {
|
|
2034
|
-
id: string;
|
|
2035
2046
|
data: {
|
|
2036
2047
|
url: string;
|
|
2037
2048
|
width: number;
|
|
2038
2049
|
height: number;
|
|
2039
2050
|
};
|
|
2040
2051
|
type: "image";
|
|
2052
|
+
id: string;
|
|
2041
2053
|
isHead?: boolean | undefined;
|
|
2042
2054
|
nextId?: string | undefined;
|
|
2043
2055
|
} | {
|
|
2044
|
-
id: string;
|
|
2045
2056
|
data: {
|
|
2046
2057
|
key: string;
|
|
2047
2058
|
question: string;
|
|
@@ -2050,10 +2061,10 @@ export declare const StartFlowSchema: import("valibot").ObjectSchema<{
|
|
|
2050
2061
|
optional: boolean;
|
|
2051
2062
|
};
|
|
2052
2063
|
type: "question-boolean";
|
|
2064
|
+
id: string;
|
|
2053
2065
|
isHead?: boolean | undefined;
|
|
2054
2066
|
nextId?: string | undefined;
|
|
2055
2067
|
} | {
|
|
2056
|
-
id: string;
|
|
2057
2068
|
data: {
|
|
2058
2069
|
key: string;
|
|
2059
2070
|
question: string;
|
|
@@ -2063,10 +2074,10 @@ export declare const StartFlowSchema: import("valibot").ObjectSchema<{
|
|
|
2063
2074
|
maxChars?: number | undefined;
|
|
2064
2075
|
};
|
|
2065
2076
|
type: "question-text";
|
|
2077
|
+
id: string;
|
|
2066
2078
|
isHead?: boolean | undefined;
|
|
2067
2079
|
nextId?: string | undefined;
|
|
2068
2080
|
} | {
|
|
2069
|
-
id: string;
|
|
2070
2081
|
data: {
|
|
2071
2082
|
key: string;
|
|
2072
2083
|
question: string;
|
|
@@ -2077,10 +2088,10 @@ export declare const StartFlowSchema: import("valibot").ObjectSchema<{
|
|
|
2077
2088
|
max?: number | undefined;
|
|
2078
2089
|
};
|
|
2079
2090
|
type: "question-number";
|
|
2091
|
+
id: string;
|
|
2080
2092
|
isHead?: boolean | undefined;
|
|
2081
2093
|
nextId?: string | undefined;
|
|
2082
2094
|
} | {
|
|
2083
|
-
id: string;
|
|
2084
2095
|
data: {
|
|
2085
2096
|
options: {
|
|
2086
2097
|
value: string;
|
|
@@ -2092,10 +2103,10 @@ export declare const StartFlowSchema: import("valibot").ObjectSchema<{
|
|
|
2092
2103
|
minSelected: number;
|
|
2093
2104
|
};
|
|
2094
2105
|
type: "question-enum";
|
|
2106
|
+
id: string;
|
|
2095
2107
|
isHead?: boolean | undefined;
|
|
2096
2108
|
nextId?: string | undefined;
|
|
2097
2109
|
} | {
|
|
2098
|
-
id: string;
|
|
2099
2110
|
data: {
|
|
2100
2111
|
key: string;
|
|
2101
2112
|
question: string;
|
|
@@ -2105,10 +2116,10 @@ export declare const StartFlowSchema: import("valibot").ObjectSchema<{
|
|
|
2105
2116
|
maxSizeKb?: number | undefined;
|
|
2106
2117
|
};
|
|
2107
2118
|
type: "question-file";
|
|
2119
|
+
id: string;
|
|
2108
2120
|
isHead?: boolean | undefined;
|
|
2109
2121
|
nextId?: string | undefined;
|
|
2110
2122
|
} | {
|
|
2111
|
-
id: string;
|
|
2112
2123
|
data: {
|
|
2113
2124
|
keys: {
|
|
2114
2125
|
line1: string | null;
|
|
@@ -2119,30 +2130,32 @@ export declare const StartFlowSchema: import("valibot").ObjectSchema<{
|
|
|
2119
2130
|
postcode: string | null;
|
|
2120
2131
|
country: string | null;
|
|
2121
2132
|
};
|
|
2133
|
+
key: string;
|
|
2122
2134
|
question: string;
|
|
2123
2135
|
optional: boolean;
|
|
2124
2136
|
placeholder?: string | undefined;
|
|
2125
2137
|
};
|
|
2126
2138
|
type: "question-address";
|
|
2139
|
+
id: string;
|
|
2127
2140
|
isHead?: boolean | undefined;
|
|
2128
2141
|
nextId?: string | undefined;
|
|
2129
2142
|
} | {
|
|
2130
|
-
id: string;
|
|
2131
2143
|
data: {
|
|
2132
2144
|
compareKey: string;
|
|
2133
2145
|
compareValue: string;
|
|
2134
2146
|
compare: "equals" | "notEquals" | "contains" | "notContains";
|
|
2135
2147
|
};
|
|
2136
2148
|
type: "if-block";
|
|
2149
|
+
id: string;
|
|
2137
2150
|
isHead?: boolean | undefined;
|
|
2138
2151
|
nextId?: string | undefined;
|
|
2139
2152
|
branchId?: string | undefined;
|
|
2140
2153
|
} | {
|
|
2141
|
-
id: string;
|
|
2142
2154
|
data: {
|
|
2143
2155
|
targetId: string;
|
|
2144
2156
|
};
|
|
2145
2157
|
type: "jump";
|
|
2158
|
+
id: string;
|
|
2146
2159
|
isHead?: boolean | undefined;
|
|
2147
2160
|
nextId?: string | undefined;
|
|
2148
2161
|
})[]>;
|
|
@@ -2150,61 +2163,60 @@ export declare const StartFlowSchema: import("valibot").ObjectSchema<{
|
|
|
2150
2163
|
id: string;
|
|
2151
2164
|
version: number;
|
|
2152
2165
|
nodes: ({
|
|
2153
|
-
id: string;
|
|
2154
2166
|
data: {
|
|
2155
2167
|
text: string;
|
|
2156
2168
|
};
|
|
2157
2169
|
type: "text";
|
|
2170
|
+
id: string;
|
|
2158
2171
|
isHead?: boolean | undefined;
|
|
2159
2172
|
nextId?: string | undefined;
|
|
2160
2173
|
} | {
|
|
2161
|
-
id: string;
|
|
2162
2174
|
data: {
|
|
2163
2175
|
systemMessage: string;
|
|
2164
2176
|
};
|
|
2165
2177
|
type: "end-flow";
|
|
2178
|
+
id: string;
|
|
2166
2179
|
isHead?: boolean | undefined;
|
|
2167
2180
|
nextId?: string | undefined;
|
|
2168
2181
|
} | {
|
|
2169
|
-
id: string;
|
|
2170
2182
|
data: {
|
|
2171
2183
|
integrationId: string;
|
|
2172
2184
|
skipConfirmation: boolean;
|
|
2173
2185
|
submitLabel: string;
|
|
2174
2186
|
};
|
|
2175
2187
|
type: "integration-application-submit";
|
|
2188
|
+
id: string;
|
|
2176
2189
|
isHead?: boolean | undefined;
|
|
2177
2190
|
nextId?: string | undefined;
|
|
2178
2191
|
} | {
|
|
2179
|
-
id: string;
|
|
2180
2192
|
data: {
|
|
2181
2193
|
ats: "cornerstone";
|
|
2182
2194
|
integrationId: string;
|
|
2183
2195
|
};
|
|
2184
2196
|
type: "integration-workflow-get";
|
|
2197
|
+
id: string;
|
|
2185
2198
|
isHead?: boolean | undefined;
|
|
2186
2199
|
nextId?: string | undefined;
|
|
2187
2200
|
} | {
|
|
2188
|
-
id: string;
|
|
2189
2201
|
data: {
|
|
2190
2202
|
href: string;
|
|
2191
2203
|
cta: string;
|
|
2192
2204
|
};
|
|
2193
2205
|
type: "link";
|
|
2206
|
+
id: string;
|
|
2194
2207
|
isHead?: boolean | undefined;
|
|
2195
2208
|
nextId?: string | undefined;
|
|
2196
2209
|
} | {
|
|
2197
|
-
id: string;
|
|
2198
2210
|
data: {
|
|
2199
2211
|
url: string;
|
|
2200
2212
|
width: number;
|
|
2201
2213
|
height: number;
|
|
2202
2214
|
};
|
|
2203
2215
|
type: "image";
|
|
2216
|
+
id: string;
|
|
2204
2217
|
isHead?: boolean | undefined;
|
|
2205
2218
|
nextId?: string | undefined;
|
|
2206
2219
|
} | {
|
|
2207
|
-
id: string;
|
|
2208
2220
|
data: {
|
|
2209
2221
|
key: string;
|
|
2210
2222
|
question: string;
|
|
@@ -2213,10 +2225,10 @@ export declare const StartFlowSchema: import("valibot").ObjectSchema<{
|
|
|
2213
2225
|
optional: boolean;
|
|
2214
2226
|
};
|
|
2215
2227
|
type: "question-boolean";
|
|
2228
|
+
id: string;
|
|
2216
2229
|
isHead?: boolean | undefined;
|
|
2217
2230
|
nextId?: string | undefined;
|
|
2218
2231
|
} | {
|
|
2219
|
-
id: string;
|
|
2220
2232
|
data: {
|
|
2221
2233
|
key: string;
|
|
2222
2234
|
question: string;
|
|
@@ -2226,10 +2238,10 @@ export declare const StartFlowSchema: import("valibot").ObjectSchema<{
|
|
|
2226
2238
|
maxChars?: number | undefined;
|
|
2227
2239
|
};
|
|
2228
2240
|
type: "question-text";
|
|
2241
|
+
id: string;
|
|
2229
2242
|
isHead?: boolean | undefined;
|
|
2230
2243
|
nextId?: string | undefined;
|
|
2231
2244
|
} | {
|
|
2232
|
-
id: string;
|
|
2233
2245
|
data: {
|
|
2234
2246
|
key: string;
|
|
2235
2247
|
question: string;
|
|
@@ -2240,10 +2252,10 @@ export declare const StartFlowSchema: import("valibot").ObjectSchema<{
|
|
|
2240
2252
|
max?: number | undefined;
|
|
2241
2253
|
};
|
|
2242
2254
|
type: "question-number";
|
|
2255
|
+
id: string;
|
|
2243
2256
|
isHead?: boolean | undefined;
|
|
2244
2257
|
nextId?: string | undefined;
|
|
2245
2258
|
} | {
|
|
2246
|
-
id: string;
|
|
2247
2259
|
data: {
|
|
2248
2260
|
options: {
|
|
2249
2261
|
value: string;
|
|
@@ -2255,10 +2267,10 @@ export declare const StartFlowSchema: import("valibot").ObjectSchema<{
|
|
|
2255
2267
|
minSelected: number;
|
|
2256
2268
|
};
|
|
2257
2269
|
type: "question-enum";
|
|
2270
|
+
id: string;
|
|
2258
2271
|
isHead?: boolean | undefined;
|
|
2259
2272
|
nextId?: string | undefined;
|
|
2260
2273
|
} | {
|
|
2261
|
-
id: string;
|
|
2262
2274
|
data: {
|
|
2263
2275
|
key: string;
|
|
2264
2276
|
question: string;
|
|
@@ -2268,10 +2280,10 @@ export declare const StartFlowSchema: import("valibot").ObjectSchema<{
|
|
|
2268
2280
|
maxSizeKb?: number | undefined;
|
|
2269
2281
|
};
|
|
2270
2282
|
type: "question-file";
|
|
2283
|
+
id: string;
|
|
2271
2284
|
isHead?: boolean | undefined;
|
|
2272
2285
|
nextId?: string | undefined;
|
|
2273
2286
|
} | {
|
|
2274
|
-
id: string;
|
|
2275
2287
|
data: {
|
|
2276
2288
|
keys: {
|
|
2277
2289
|
line1: string | null;
|
|
@@ -2282,30 +2294,32 @@ export declare const StartFlowSchema: import("valibot").ObjectSchema<{
|
|
|
2282
2294
|
postcode: string | null;
|
|
2283
2295
|
country: string | null;
|
|
2284
2296
|
};
|
|
2297
|
+
key: string;
|
|
2285
2298
|
question: string;
|
|
2286
2299
|
optional: boolean;
|
|
2287
2300
|
placeholder?: string | undefined;
|
|
2288
2301
|
};
|
|
2289
2302
|
type: "question-address";
|
|
2303
|
+
id: string;
|
|
2290
2304
|
isHead?: boolean | undefined;
|
|
2291
2305
|
nextId?: string | undefined;
|
|
2292
2306
|
} | {
|
|
2293
|
-
id: string;
|
|
2294
2307
|
data: {
|
|
2295
2308
|
compareKey: string;
|
|
2296
2309
|
compareValue: string;
|
|
2297
2310
|
compare: "equals" | "notEquals" | "contains" | "notContains";
|
|
2298
2311
|
};
|
|
2299
2312
|
type: "if-block";
|
|
2313
|
+
id: string;
|
|
2300
2314
|
isHead?: boolean | undefined;
|
|
2301
2315
|
nextId?: string | undefined;
|
|
2302
2316
|
branchId?: string | undefined;
|
|
2303
2317
|
} | {
|
|
2304
|
-
id: string;
|
|
2305
2318
|
data: {
|
|
2306
2319
|
targetId: string;
|
|
2307
2320
|
};
|
|
2308
2321
|
type: "jump";
|
|
2322
|
+
id: string;
|
|
2309
2323
|
isHead?: boolean | undefined;
|
|
2310
2324
|
nextId?: string | undefined;
|
|
2311
2325
|
})[];
|
|
@@ -2320,61 +2334,60 @@ export declare const StartFlowSchema: import("valibot").ObjectSchema<{
|
|
|
2320
2334
|
id: string;
|
|
2321
2335
|
version: number;
|
|
2322
2336
|
nodes: ({
|
|
2323
|
-
id: string;
|
|
2324
2337
|
data: {
|
|
2325
2338
|
text: string;
|
|
2326
2339
|
};
|
|
2327
2340
|
type: "text";
|
|
2341
|
+
id: string;
|
|
2328
2342
|
isHead?: boolean | undefined;
|
|
2329
2343
|
nextId?: string | undefined;
|
|
2330
2344
|
} | {
|
|
2331
|
-
id: string;
|
|
2332
2345
|
data: {
|
|
2333
2346
|
systemMessage: string;
|
|
2334
2347
|
};
|
|
2335
2348
|
type: "end-flow";
|
|
2349
|
+
id: string;
|
|
2336
2350
|
isHead?: boolean | undefined;
|
|
2337
2351
|
nextId?: string | undefined;
|
|
2338
2352
|
} | {
|
|
2339
|
-
id: string;
|
|
2340
2353
|
data: {
|
|
2341
2354
|
integrationId: string;
|
|
2342
2355
|
skipConfirmation: boolean;
|
|
2343
2356
|
submitLabel: string;
|
|
2344
2357
|
};
|
|
2345
2358
|
type: "integration-application-submit";
|
|
2359
|
+
id: string;
|
|
2346
2360
|
isHead?: boolean | undefined;
|
|
2347
2361
|
nextId?: string | undefined;
|
|
2348
2362
|
} | {
|
|
2349
|
-
id: string;
|
|
2350
2363
|
data: {
|
|
2351
2364
|
ats: "cornerstone";
|
|
2352
2365
|
integrationId: string;
|
|
2353
2366
|
};
|
|
2354
2367
|
type: "integration-workflow-get";
|
|
2368
|
+
id: string;
|
|
2355
2369
|
isHead?: boolean | undefined;
|
|
2356
2370
|
nextId?: string | undefined;
|
|
2357
2371
|
} | {
|
|
2358
|
-
id: string;
|
|
2359
2372
|
data: {
|
|
2360
2373
|
href: string;
|
|
2361
2374
|
cta: string;
|
|
2362
2375
|
};
|
|
2363
2376
|
type: "link";
|
|
2377
|
+
id: string;
|
|
2364
2378
|
isHead?: boolean | undefined;
|
|
2365
2379
|
nextId?: string | undefined;
|
|
2366
2380
|
} | {
|
|
2367
|
-
id: string;
|
|
2368
2381
|
data: {
|
|
2369
2382
|
url: string;
|
|
2370
2383
|
width: number;
|
|
2371
2384
|
height: number;
|
|
2372
2385
|
};
|
|
2373
2386
|
type: "image";
|
|
2387
|
+
id: string;
|
|
2374
2388
|
isHead?: boolean | undefined;
|
|
2375
2389
|
nextId?: string | undefined;
|
|
2376
2390
|
} | {
|
|
2377
|
-
id: string;
|
|
2378
2391
|
data: {
|
|
2379
2392
|
key: string;
|
|
2380
2393
|
question: string;
|
|
@@ -2383,10 +2396,10 @@ export declare const StartFlowSchema: import("valibot").ObjectSchema<{
|
|
|
2383
2396
|
optional: boolean;
|
|
2384
2397
|
};
|
|
2385
2398
|
type: "question-boolean";
|
|
2399
|
+
id: string;
|
|
2386
2400
|
isHead?: boolean | undefined;
|
|
2387
2401
|
nextId?: string | undefined;
|
|
2388
2402
|
} | {
|
|
2389
|
-
id: string;
|
|
2390
2403
|
data: {
|
|
2391
2404
|
key: string;
|
|
2392
2405
|
question: string;
|
|
@@ -2396,10 +2409,10 @@ export declare const StartFlowSchema: import("valibot").ObjectSchema<{
|
|
|
2396
2409
|
maxChars?: number | undefined;
|
|
2397
2410
|
};
|
|
2398
2411
|
type: "question-text";
|
|
2412
|
+
id: string;
|
|
2399
2413
|
isHead?: boolean | undefined;
|
|
2400
2414
|
nextId?: string | undefined;
|
|
2401
2415
|
} | {
|
|
2402
|
-
id: string;
|
|
2403
2416
|
data: {
|
|
2404
2417
|
key: string;
|
|
2405
2418
|
question: string;
|
|
@@ -2410,10 +2423,10 @@ export declare const StartFlowSchema: import("valibot").ObjectSchema<{
|
|
|
2410
2423
|
max?: number | undefined;
|
|
2411
2424
|
};
|
|
2412
2425
|
type: "question-number";
|
|
2426
|
+
id: string;
|
|
2413
2427
|
isHead?: boolean | undefined;
|
|
2414
2428
|
nextId?: string | undefined;
|
|
2415
2429
|
} | {
|
|
2416
|
-
id: string;
|
|
2417
2430
|
data: {
|
|
2418
2431
|
options: {
|
|
2419
2432
|
value: string;
|
|
@@ -2425,10 +2438,10 @@ export declare const StartFlowSchema: import("valibot").ObjectSchema<{
|
|
|
2425
2438
|
minSelected: number;
|
|
2426
2439
|
};
|
|
2427
2440
|
type: "question-enum";
|
|
2441
|
+
id: string;
|
|
2428
2442
|
isHead?: boolean | undefined;
|
|
2429
2443
|
nextId?: string | undefined;
|
|
2430
2444
|
} | {
|
|
2431
|
-
id: string;
|
|
2432
2445
|
data: {
|
|
2433
2446
|
key: string;
|
|
2434
2447
|
question: string;
|
|
@@ -2438,10 +2451,10 @@ export declare const StartFlowSchema: import("valibot").ObjectSchema<{
|
|
|
2438
2451
|
maxSizeKb?: number | undefined;
|
|
2439
2452
|
};
|
|
2440
2453
|
type: "question-file";
|
|
2454
|
+
id: string;
|
|
2441
2455
|
isHead?: boolean | undefined;
|
|
2442
2456
|
nextId?: string | undefined;
|
|
2443
2457
|
} | {
|
|
2444
|
-
id: string;
|
|
2445
2458
|
data: {
|
|
2446
2459
|
keys: {
|
|
2447
2460
|
line1: string | null;
|
|
@@ -2452,30 +2465,32 @@ export declare const StartFlowSchema: import("valibot").ObjectSchema<{
|
|
|
2452
2465
|
postcode: string | null;
|
|
2453
2466
|
country: string | null;
|
|
2454
2467
|
};
|
|
2468
|
+
key: string;
|
|
2455
2469
|
question: string;
|
|
2456
2470
|
optional: boolean;
|
|
2457
2471
|
placeholder?: string | undefined;
|
|
2458
2472
|
};
|
|
2459
2473
|
type: "question-address";
|
|
2474
|
+
id: string;
|
|
2460
2475
|
isHead?: boolean | undefined;
|
|
2461
2476
|
nextId?: string | undefined;
|
|
2462
2477
|
} | {
|
|
2463
|
-
id: string;
|
|
2464
2478
|
data: {
|
|
2465
2479
|
compareKey: string;
|
|
2466
2480
|
compareValue: string;
|
|
2467
2481
|
compare: "equals" | "notEquals" | "contains" | "notContains";
|
|
2468
2482
|
};
|
|
2469
2483
|
type: "if-block";
|
|
2484
|
+
id: string;
|
|
2470
2485
|
isHead?: boolean | undefined;
|
|
2471
2486
|
nextId?: string | undefined;
|
|
2472
2487
|
branchId?: string | undefined;
|
|
2473
2488
|
} | {
|
|
2474
|
-
id: string;
|
|
2475
2489
|
data: {
|
|
2476
2490
|
targetId: string;
|
|
2477
2491
|
};
|
|
2478
2492
|
type: "jump";
|
|
2493
|
+
id: string;
|
|
2479
2494
|
isHead?: boolean | undefined;
|
|
2480
2495
|
nextId?: string | undefined;
|
|
2481
2496
|
})[];
|