@inploi/plugin-chatbot 3.20.2 → 3.21.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.
@@ -1945,714 +1945,6 @@ export declare const FlowByJobPayloadSchema: import("valibot").ObjectSchema<{
1945
1945
  title: string;
1946
1946
  };
1947
1947
  }>;
1948
- export declare const StartFlowSchema: import("valibot").ObjectSchema<{
1949
- flow: import("valibot").ObjectSchema<{
1950
- id: import("valibot").StringSchema<string>;
1951
- version: import("valibot").NumberSchema<number>;
1952
- build: import("valibot").NumberSchema<number>;
1953
- nodes: import("valibot").ArraySchema<AnySchema<{
1954
- data: {
1955
- text: string;
1956
- };
1957
- type: "text";
1958
- id: string;
1959
- isHead?: boolean | undefined;
1960
- nextId?: string | undefined;
1961
- } | {
1962
- data: {
1963
- systemMessage: string;
1964
- };
1965
- type: "end-flow";
1966
- id: string;
1967
- isHead?: boolean | undefined;
1968
- nextId?: string | undefined;
1969
- } | {
1970
- data: {
1971
- integrationId: string;
1972
- skipConfirmation: boolean;
1973
- submitLabel: string;
1974
- submitKeys: (string[] | "all") & (string[] | "all" | undefined);
1975
- key?: string | undefined;
1976
- };
1977
- type: "integration-application-submit";
1978
- id: string;
1979
- isHead?: boolean | undefined;
1980
- nextId?: string | undefined;
1981
- } | {
1982
- data: {
1983
- integrationId: string;
1984
- };
1985
- type: "integration-workflow-get";
1986
- id: string;
1987
- isHead?: boolean | undefined;
1988
- nextId?: string | undefined;
1989
- } | {
1990
- data: {
1991
- href: string;
1992
- cta: string;
1993
- };
1994
- type: "link";
1995
- id: string;
1996
- isHead?: boolean | undefined;
1997
- nextId?: string | undefined;
1998
- } | {
1999
- data: {
2000
- url: string;
2001
- width: number;
2002
- height: number;
2003
- };
2004
- type: "image";
2005
- id: string;
2006
- isHead?: boolean | undefined;
2007
- nextId?: string | undefined;
2008
- } | {
2009
- data: {
2010
- key: string;
2011
- question: string;
2012
- trueLabel: string;
2013
- falseLabel: string;
2014
- optional: boolean;
2015
- };
2016
- type: "question-boolean";
2017
- id: string;
2018
- isHead?: boolean | undefined;
2019
- nextId?: string | undefined;
2020
- } | {
2021
- data: {
2022
- key: string;
2023
- question: string;
2024
- optional: boolean;
2025
- format: "text" | "url" | "email" | "phone";
2026
- placeholder?: string | undefined;
2027
- maxChars?: number | undefined;
2028
- };
2029
- type: "question-text";
2030
- id: string;
2031
- isHead?: boolean | undefined;
2032
- nextId?: string | undefined;
2033
- } | {
2034
- data: {
2035
- key: string;
2036
- question: string;
2037
- optional: boolean;
2038
- placeholder?: string | undefined;
2039
- decimalCases?: number | undefined;
2040
- min?: number | undefined;
2041
- max?: number | undefined;
2042
- };
2043
- type: "question-number";
2044
- id: string;
2045
- isHead?: boolean | undefined;
2046
- nextId?: string | undefined;
2047
- } | {
2048
- data: {
2049
- options: {
2050
- value: string;
2051
- label: string;
2052
- }[];
2053
- key: string;
2054
- question: string;
2055
- maxSelected: number;
2056
- minSelected: number;
2057
- };
2058
- type: "question-enum";
2059
- id: string;
2060
- isHead?: boolean | undefined;
2061
- nextId?: string | undefined;
2062
- } | {
2063
- data: {
2064
- key: string;
2065
- question: string;
2066
- optional: boolean;
2067
- extensions: string[];
2068
- multiple?: boolean | undefined;
2069
- maxSizeKb?: number | undefined;
2070
- };
2071
- type: "question-file";
2072
- id: string;
2073
- isHead?: boolean | undefined;
2074
- nextId?: string | undefined;
2075
- } | {
2076
- data: {
2077
- keys: {
2078
- line1: string | null;
2079
- line2: string | null;
2080
- line3: string | null;
2081
- city: string | null;
2082
- state: string | null;
2083
- postcode: string | null;
2084
- country: string | null;
2085
- };
2086
- key: string;
2087
- question: string;
2088
- optional: boolean;
2089
- placeholder?: string | undefined;
2090
- };
2091
- type: "question-address";
2092
- id: string;
2093
- isHead?: boolean | undefined;
2094
- nextId?: string | undefined;
2095
- } | {
2096
- data: {
2097
- compareKey: string;
2098
- compareValue: string;
2099
- compare: "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEqualTo" | "lessThanOrEqualTo";
2100
- };
2101
- type: "if-block";
2102
- id: string;
2103
- isHead?: boolean | undefined;
2104
- nextId?: string | undefined;
2105
- branchId?: string | undefined;
2106
- } | {
2107
- data: {
2108
- targetId: string;
2109
- };
2110
- type: "jump";
2111
- id: string;
2112
- isHead?: boolean | undefined;
2113
- nextId?: string | undefined;
2114
- }>, ({
2115
- data: {
2116
- text: string;
2117
- };
2118
- type: "text";
2119
- id: string;
2120
- isHead?: boolean | undefined;
2121
- nextId?: string | undefined;
2122
- } | {
2123
- data: {
2124
- systemMessage: string;
2125
- };
2126
- type: "end-flow";
2127
- id: string;
2128
- isHead?: boolean | undefined;
2129
- nextId?: string | undefined;
2130
- } | {
2131
- data: {
2132
- integrationId: string;
2133
- skipConfirmation: boolean;
2134
- submitLabel: string;
2135
- submitKeys: (string[] | "all") & (string[] | "all" | undefined);
2136
- key?: string | undefined;
2137
- };
2138
- type: "integration-application-submit";
2139
- id: string;
2140
- isHead?: boolean | undefined;
2141
- nextId?: string | undefined;
2142
- } | {
2143
- data: {
2144
- integrationId: string;
2145
- };
2146
- type: "integration-workflow-get";
2147
- id: string;
2148
- isHead?: boolean | undefined;
2149
- nextId?: string | undefined;
2150
- } | {
2151
- data: {
2152
- href: string;
2153
- cta: string;
2154
- };
2155
- type: "link";
2156
- id: string;
2157
- isHead?: boolean | undefined;
2158
- nextId?: string | undefined;
2159
- } | {
2160
- data: {
2161
- url: string;
2162
- width: number;
2163
- height: number;
2164
- };
2165
- type: "image";
2166
- id: string;
2167
- isHead?: boolean | undefined;
2168
- nextId?: string | undefined;
2169
- } | {
2170
- data: {
2171
- key: string;
2172
- question: string;
2173
- trueLabel: string;
2174
- falseLabel: string;
2175
- optional: boolean;
2176
- };
2177
- type: "question-boolean";
2178
- id: string;
2179
- isHead?: boolean | undefined;
2180
- nextId?: string | undefined;
2181
- } | {
2182
- data: {
2183
- key: string;
2184
- question: string;
2185
- optional: boolean;
2186
- format: "text" | "url" | "email" | "phone";
2187
- placeholder?: string | undefined;
2188
- maxChars?: number | undefined;
2189
- };
2190
- type: "question-text";
2191
- id: string;
2192
- isHead?: boolean | undefined;
2193
- nextId?: string | undefined;
2194
- } | {
2195
- data: {
2196
- key: string;
2197
- question: string;
2198
- optional: boolean;
2199
- placeholder?: string | undefined;
2200
- decimalCases?: number | undefined;
2201
- min?: number | undefined;
2202
- max?: number | undefined;
2203
- };
2204
- type: "question-number";
2205
- id: string;
2206
- isHead?: boolean | undefined;
2207
- nextId?: string | undefined;
2208
- } | {
2209
- data: {
2210
- options: {
2211
- value: string;
2212
- label: string;
2213
- }[];
2214
- key: string;
2215
- question: string;
2216
- maxSelected: number;
2217
- minSelected: number;
2218
- };
2219
- type: "question-enum";
2220
- id: string;
2221
- isHead?: boolean | undefined;
2222
- nextId?: string | undefined;
2223
- } | {
2224
- data: {
2225
- key: string;
2226
- question: string;
2227
- optional: boolean;
2228
- extensions: string[];
2229
- multiple?: boolean | undefined;
2230
- maxSizeKb?: number | undefined;
2231
- };
2232
- type: "question-file";
2233
- id: string;
2234
- isHead?: boolean | undefined;
2235
- nextId?: string | undefined;
2236
- } | {
2237
- data: {
2238
- keys: {
2239
- line1: string | null;
2240
- line2: string | null;
2241
- line3: string | null;
2242
- city: string | null;
2243
- state: string | null;
2244
- postcode: string | null;
2245
- country: string | null;
2246
- };
2247
- key: string;
2248
- question: string;
2249
- optional: boolean;
2250
- placeholder?: string | undefined;
2251
- };
2252
- type: "question-address";
2253
- id: string;
2254
- isHead?: boolean | undefined;
2255
- nextId?: string | undefined;
2256
- } | {
2257
- data: {
2258
- compareKey: string;
2259
- compareValue: string;
2260
- compare: "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEqualTo" | "lessThanOrEqualTo";
2261
- };
2262
- type: "if-block";
2263
- id: string;
2264
- isHead?: boolean | undefined;
2265
- nextId?: string | undefined;
2266
- branchId?: string | undefined;
2267
- } | {
2268
- data: {
2269
- targetId: string;
2270
- };
2271
- type: "jump";
2272
- id: string;
2273
- isHead?: boolean | undefined;
2274
- nextId?: string | undefined;
2275
- })[]>;
2276
- context_schema: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").RecordSchema<import("valibot").StringSchema<string>, import("valibot").ObjectSchema<{
2277
- required: import("valibot").BooleanSchema<boolean>;
2278
- type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"string", "string">, import("valibot").LiteralSchema<"number", "number">], "string" | "number">;
2279
- }, undefined, {
2280
- required: boolean;
2281
- type: "string" | "number";
2282
- }>, {
2283
- [x: string]: {
2284
- required: boolean;
2285
- type: "string" | "number";
2286
- };
2287
- }>, undefined, {
2288
- [x: string]: {
2289
- required: boolean;
2290
- type: "string" | "number";
2291
- };
2292
- } | null>, undefined, {
2293
- [x: string]: {
2294
- required: boolean;
2295
- type: "string" | "number";
2296
- };
2297
- } | null | undefined>;
2298
- }, undefined, {
2299
- id: string;
2300
- version: number;
2301
- build: number;
2302
- nodes: ({
2303
- data: {
2304
- text: string;
2305
- };
2306
- type: "text";
2307
- id: string;
2308
- isHead?: boolean | undefined;
2309
- nextId?: string | undefined;
2310
- } | {
2311
- data: {
2312
- systemMessage: string;
2313
- };
2314
- type: "end-flow";
2315
- id: string;
2316
- isHead?: boolean | undefined;
2317
- nextId?: string | undefined;
2318
- } | {
2319
- data: {
2320
- integrationId: string;
2321
- skipConfirmation: boolean;
2322
- submitLabel: string;
2323
- submitKeys: (string[] | "all") & (string[] | "all" | undefined);
2324
- key?: string | undefined;
2325
- };
2326
- type: "integration-application-submit";
2327
- id: string;
2328
- isHead?: boolean | undefined;
2329
- nextId?: string | undefined;
2330
- } | {
2331
- data: {
2332
- integrationId: string;
2333
- };
2334
- type: "integration-workflow-get";
2335
- id: string;
2336
- isHead?: boolean | undefined;
2337
- nextId?: string | undefined;
2338
- } | {
2339
- data: {
2340
- href: string;
2341
- cta: string;
2342
- };
2343
- type: "link";
2344
- id: string;
2345
- isHead?: boolean | undefined;
2346
- nextId?: string | undefined;
2347
- } | {
2348
- data: {
2349
- url: string;
2350
- width: number;
2351
- height: number;
2352
- };
2353
- type: "image";
2354
- id: string;
2355
- isHead?: boolean | undefined;
2356
- nextId?: string | undefined;
2357
- } | {
2358
- data: {
2359
- key: string;
2360
- question: string;
2361
- trueLabel: string;
2362
- falseLabel: string;
2363
- optional: boolean;
2364
- };
2365
- type: "question-boolean";
2366
- id: string;
2367
- isHead?: boolean | undefined;
2368
- nextId?: string | undefined;
2369
- } | {
2370
- data: {
2371
- key: string;
2372
- question: string;
2373
- optional: boolean;
2374
- format: "text" | "url" | "email" | "phone";
2375
- placeholder?: string | undefined;
2376
- maxChars?: number | undefined;
2377
- };
2378
- type: "question-text";
2379
- id: string;
2380
- isHead?: boolean | undefined;
2381
- nextId?: string | undefined;
2382
- } | {
2383
- data: {
2384
- key: string;
2385
- question: string;
2386
- optional: boolean;
2387
- placeholder?: string | undefined;
2388
- decimalCases?: number | undefined;
2389
- min?: number | undefined;
2390
- max?: number | undefined;
2391
- };
2392
- type: "question-number";
2393
- id: string;
2394
- isHead?: boolean | undefined;
2395
- nextId?: string | undefined;
2396
- } | {
2397
- data: {
2398
- options: {
2399
- value: string;
2400
- label: string;
2401
- }[];
2402
- key: string;
2403
- question: string;
2404
- maxSelected: number;
2405
- minSelected: number;
2406
- };
2407
- type: "question-enum";
2408
- id: string;
2409
- isHead?: boolean | undefined;
2410
- nextId?: string | undefined;
2411
- } | {
2412
- data: {
2413
- key: string;
2414
- question: string;
2415
- optional: boolean;
2416
- extensions: string[];
2417
- multiple?: boolean | undefined;
2418
- maxSizeKb?: number | undefined;
2419
- };
2420
- type: "question-file";
2421
- id: string;
2422
- isHead?: boolean | undefined;
2423
- nextId?: string | undefined;
2424
- } | {
2425
- data: {
2426
- keys: {
2427
- line1: string | null;
2428
- line2: string | null;
2429
- line3: string | null;
2430
- city: string | null;
2431
- state: string | null;
2432
- postcode: string | null;
2433
- country: string | null;
2434
- };
2435
- key: string;
2436
- question: string;
2437
- optional: boolean;
2438
- placeholder?: string | undefined;
2439
- };
2440
- type: "question-address";
2441
- id: string;
2442
- isHead?: boolean | undefined;
2443
- nextId?: string | undefined;
2444
- } | {
2445
- data: {
2446
- compareKey: string;
2447
- compareValue: string;
2448
- compare: "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEqualTo" | "lessThanOrEqualTo";
2449
- };
2450
- type: "if-block";
2451
- id: string;
2452
- isHead?: boolean | undefined;
2453
- nextId?: string | undefined;
2454
- branchId?: string | undefined;
2455
- } | {
2456
- data: {
2457
- targetId: string;
2458
- };
2459
- type: "jump";
2460
- id: string;
2461
- isHead?: boolean | undefined;
2462
- nextId?: string | undefined;
2463
- })[];
2464
- context_schema?: {
2465
- [x: string]: {
2466
- required: boolean;
2467
- type: "string" | "number";
2468
- };
2469
- } | null | undefined;
2470
- }>;
2471
- title: import("valibot").StringSchema<string>;
2472
- flowKeys: import("valibot").ArraySchema<import("valibot").StringSchema<string>, string[]>;
2473
- context: import("valibot").RecordSchema<import("valibot").StringSchema<string>, AnySchema<any>, {
2474
- [x: string]: any;
2475
- }>;
2476
- }, undefined, {
2477
- flow: {
2478
- id: string;
2479
- version: number;
2480
- build: number;
2481
- nodes: ({
2482
- data: {
2483
- text: string;
2484
- };
2485
- type: "text";
2486
- id: string;
2487
- isHead?: boolean | undefined;
2488
- nextId?: string | undefined;
2489
- } | {
2490
- data: {
2491
- systemMessage: string;
2492
- };
2493
- type: "end-flow";
2494
- id: string;
2495
- isHead?: boolean | undefined;
2496
- nextId?: string | undefined;
2497
- } | {
2498
- data: {
2499
- integrationId: string;
2500
- skipConfirmation: boolean;
2501
- submitLabel: string;
2502
- submitKeys: (string[] | "all") & (string[] | "all" | undefined);
2503
- key?: string | undefined;
2504
- };
2505
- type: "integration-application-submit";
2506
- id: string;
2507
- isHead?: boolean | undefined;
2508
- nextId?: string | undefined;
2509
- } | {
2510
- data: {
2511
- integrationId: string;
2512
- };
2513
- type: "integration-workflow-get";
2514
- id: string;
2515
- isHead?: boolean | undefined;
2516
- nextId?: string | undefined;
2517
- } | {
2518
- data: {
2519
- href: string;
2520
- cta: string;
2521
- };
2522
- type: "link";
2523
- id: string;
2524
- isHead?: boolean | undefined;
2525
- nextId?: string | undefined;
2526
- } | {
2527
- data: {
2528
- url: string;
2529
- width: number;
2530
- height: number;
2531
- };
2532
- type: "image";
2533
- id: string;
2534
- isHead?: boolean | undefined;
2535
- nextId?: string | undefined;
2536
- } | {
2537
- data: {
2538
- key: string;
2539
- question: string;
2540
- trueLabel: string;
2541
- falseLabel: string;
2542
- optional: boolean;
2543
- };
2544
- type: "question-boolean";
2545
- id: string;
2546
- isHead?: boolean | undefined;
2547
- nextId?: string | undefined;
2548
- } | {
2549
- data: {
2550
- key: string;
2551
- question: string;
2552
- optional: boolean;
2553
- format: "text" | "url" | "email" | "phone";
2554
- placeholder?: string | undefined;
2555
- maxChars?: number | undefined;
2556
- };
2557
- type: "question-text";
2558
- id: string;
2559
- isHead?: boolean | undefined;
2560
- nextId?: string | undefined;
2561
- } | {
2562
- data: {
2563
- key: string;
2564
- question: string;
2565
- optional: boolean;
2566
- placeholder?: string | undefined;
2567
- decimalCases?: number | undefined;
2568
- min?: number | undefined;
2569
- max?: number | undefined;
2570
- };
2571
- type: "question-number";
2572
- id: string;
2573
- isHead?: boolean | undefined;
2574
- nextId?: string | undefined;
2575
- } | {
2576
- data: {
2577
- options: {
2578
- value: string;
2579
- label: string;
2580
- }[];
2581
- key: string;
2582
- question: string;
2583
- maxSelected: number;
2584
- minSelected: number;
2585
- };
2586
- type: "question-enum";
2587
- id: string;
2588
- isHead?: boolean | undefined;
2589
- nextId?: string | undefined;
2590
- } | {
2591
- data: {
2592
- key: string;
2593
- question: string;
2594
- optional: boolean;
2595
- extensions: string[];
2596
- multiple?: boolean | undefined;
2597
- maxSizeKb?: number | undefined;
2598
- };
2599
- type: "question-file";
2600
- id: string;
2601
- isHead?: boolean | undefined;
2602
- nextId?: string | undefined;
2603
- } | {
2604
- data: {
2605
- keys: {
2606
- line1: string | null;
2607
- line2: string | null;
2608
- line3: string | null;
2609
- city: string | null;
2610
- state: string | null;
2611
- postcode: string | null;
2612
- country: string | null;
2613
- };
2614
- key: string;
2615
- question: string;
2616
- optional: boolean;
2617
- placeholder?: string | undefined;
2618
- };
2619
- type: "question-address";
2620
- id: string;
2621
- isHead?: boolean | undefined;
2622
- nextId?: string | undefined;
2623
- } | {
2624
- data: {
2625
- compareKey: string;
2626
- compareValue: string;
2627
- compare: "equals" | "notEquals" | "contains" | "notContains" | "greaterThan" | "lessThan" | "greaterThanOrEqualTo" | "lessThanOrEqualTo";
2628
- };
2629
- type: "if-block";
2630
- id: string;
2631
- isHead?: boolean | undefined;
2632
- nextId?: string | undefined;
2633
- branchId?: string | undefined;
2634
- } | {
2635
- data: {
2636
- targetId: string;
2637
- };
2638
- type: "jump";
2639
- id: string;
2640
- isHead?: boolean | undefined;
2641
- nextId?: string | undefined;
2642
- })[];
2643
- context_schema?: {
2644
- [x: string]: {
2645
- required: boolean;
2646
- type: "string" | "number";
2647
- };
2648
- } | null | undefined;
2649
- };
2650
- title: string;
2651
- flowKeys: string[];
2652
- context: {
2653
- [x: string]: any;
2654
- };
2655
- }>;
2656
1948
  export type JobApplication = {
2657
1949
  job: {
2658
1950
  id: string;