@authhero/kysely-adapter 10.63.0 → 10.64.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/kysely-adapter.cjs +6 -6
- package/dist/kysely-adapter.d.ts +219 -112
- package/dist/kysely-adapter.mjs +1820 -1736
- package/package.json +2 -2
package/dist/kysely-adapter.d.ts
CHANGED
|
@@ -306,6 +306,7 @@ declare const clientInsertSchema: z.ZodObject<{
|
|
|
306
306
|
web_origins: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
307
307
|
client_aliases: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
308
308
|
allowed_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
309
|
+
connections: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
309
310
|
allowed_logout_urls: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
310
311
|
session_transfer: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
311
312
|
oidc_logout: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
@@ -378,6 +379,7 @@ declare const clientInsertSchema: z.ZodObject<{
|
|
|
378
379
|
web_origins?: string[] | undefined;
|
|
379
380
|
client_aliases?: string[] | undefined;
|
|
380
381
|
allowed_clients?: string[] | undefined;
|
|
382
|
+
connections?: string[] | undefined;
|
|
381
383
|
allowed_logout_urls?: string[] | undefined;
|
|
382
384
|
session_transfer?: Record<string, any> | undefined;
|
|
383
385
|
oidc_logout?: Record<string, any> | undefined;
|
|
@@ -419,6 +421,7 @@ declare const clientInsertSchema: z.ZodObject<{
|
|
|
419
421
|
web_origins?: string[] | undefined;
|
|
420
422
|
client_aliases?: string[] | undefined;
|
|
421
423
|
allowed_clients?: string[] | undefined;
|
|
424
|
+
connections?: string[] | undefined;
|
|
422
425
|
allowed_logout_urls?: string[] | undefined;
|
|
423
426
|
session_transfer?: Record<string, any> | undefined;
|
|
424
427
|
oidc_logout?: Record<string, any> | undefined;
|
|
@@ -493,6 +496,7 @@ declare const clientSchema: z.ZodObject<{
|
|
|
493
496
|
web_origins: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
494
497
|
client_aliases: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
495
498
|
allowed_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
499
|
+
connections: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
496
500
|
allowed_logout_urls: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
497
501
|
session_transfer: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
498
502
|
oidc_logout: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
@@ -569,6 +573,7 @@ declare const clientSchema: z.ZodObject<{
|
|
|
569
573
|
web_origins?: string[] | undefined;
|
|
570
574
|
client_aliases?: string[] | undefined;
|
|
571
575
|
allowed_clients?: string[] | undefined;
|
|
576
|
+
connections?: string[] | undefined;
|
|
572
577
|
allowed_logout_urls?: string[] | undefined;
|
|
573
578
|
session_transfer?: Record<string, any> | undefined;
|
|
574
579
|
oidc_logout?: Record<string, any> | undefined;
|
|
@@ -612,6 +617,7 @@ declare const clientSchema: z.ZodObject<{
|
|
|
612
617
|
web_origins?: string[] | undefined;
|
|
613
618
|
client_aliases?: string[] | undefined;
|
|
614
619
|
allowed_clients?: string[] | undefined;
|
|
620
|
+
connections?: string[] | undefined;
|
|
615
621
|
allowed_logout_urls?: string[] | undefined;
|
|
616
622
|
session_transfer?: Record<string, any> | undefined;
|
|
617
623
|
oidc_logout?: Record<string, any> | undefined;
|
|
@@ -1504,6 +1510,41 @@ declare const LegacyClientSchema: z.ZodObject<{
|
|
|
1504
1510
|
global: boolean;
|
|
1505
1511
|
is_first_party: boolean;
|
|
1506
1512
|
oidc_conformant: boolean;
|
|
1513
|
+
connections: {
|
|
1514
|
+
options: {
|
|
1515
|
+
provider?: string | undefined;
|
|
1516
|
+
client_id?: string | undefined;
|
|
1517
|
+
client_secret?: string | undefined;
|
|
1518
|
+
scope?: string | undefined;
|
|
1519
|
+
kid?: string | undefined;
|
|
1520
|
+
team_id?: string | undefined;
|
|
1521
|
+
realms?: string | undefined;
|
|
1522
|
+
authentication_method?: string | undefined;
|
|
1523
|
+
app_secret?: string | undefined;
|
|
1524
|
+
authorization_endpoint?: string | undefined;
|
|
1525
|
+
token_endpoint?: string | undefined;
|
|
1526
|
+
userinfo_endpoint?: string | undefined;
|
|
1527
|
+
jwks_uri?: string | undefined;
|
|
1528
|
+
discovery_url?: string | undefined;
|
|
1529
|
+
issuer?: string | undefined;
|
|
1530
|
+
from?: string | undefined;
|
|
1531
|
+
twilio_sid?: string | undefined;
|
|
1532
|
+
twilio_token?: string | undefined;
|
|
1533
|
+
icon_url?: string | undefined;
|
|
1534
|
+
};
|
|
1535
|
+
created_at: string;
|
|
1536
|
+
updated_at: string;
|
|
1537
|
+
name: string;
|
|
1538
|
+
strategy: string;
|
|
1539
|
+
id?: string | undefined;
|
|
1540
|
+
response_type?: AuthorizationResponseType | undefined;
|
|
1541
|
+
response_mode?: AuthorizationResponseMode | undefined;
|
|
1542
|
+
display_name?: string | undefined;
|
|
1543
|
+
enabled_clients?: string[] | undefined;
|
|
1544
|
+
is_domain_connection?: boolean | undefined;
|
|
1545
|
+
show_as_button?: boolean | undefined;
|
|
1546
|
+
metadata?: Record<string, any> | undefined;
|
|
1547
|
+
}[];
|
|
1507
1548
|
sso: boolean;
|
|
1508
1549
|
sso_disabled: boolean;
|
|
1509
1550
|
cross_origin_authentication: boolean;
|
|
@@ -1611,41 +1652,6 @@ declare const LegacyClientSchema: z.ZodObject<{
|
|
|
1611
1652
|
pushed_authorization_requests_supported?: boolean | undefined;
|
|
1612
1653
|
authorization_response_iss_parameter_supported?: boolean | undefined;
|
|
1613
1654
|
};
|
|
1614
|
-
connections: {
|
|
1615
|
-
options: {
|
|
1616
|
-
provider?: string | undefined;
|
|
1617
|
-
client_id?: string | undefined;
|
|
1618
|
-
client_secret?: string | undefined;
|
|
1619
|
-
scope?: string | undefined;
|
|
1620
|
-
kid?: string | undefined;
|
|
1621
|
-
team_id?: string | undefined;
|
|
1622
|
-
realms?: string | undefined;
|
|
1623
|
-
authentication_method?: string | undefined;
|
|
1624
|
-
app_secret?: string | undefined;
|
|
1625
|
-
authorization_endpoint?: string | undefined;
|
|
1626
|
-
token_endpoint?: string | undefined;
|
|
1627
|
-
userinfo_endpoint?: string | undefined;
|
|
1628
|
-
jwks_uri?: string | undefined;
|
|
1629
|
-
discovery_url?: string | undefined;
|
|
1630
|
-
issuer?: string | undefined;
|
|
1631
|
-
from?: string | undefined;
|
|
1632
|
-
twilio_sid?: string | undefined;
|
|
1633
|
-
twilio_token?: string | undefined;
|
|
1634
|
-
icon_url?: string | undefined;
|
|
1635
|
-
};
|
|
1636
|
-
created_at: string;
|
|
1637
|
-
updated_at: string;
|
|
1638
|
-
name: string;
|
|
1639
|
-
strategy: string;
|
|
1640
|
-
id?: string | undefined;
|
|
1641
|
-
response_type?: AuthorizationResponseType | undefined;
|
|
1642
|
-
response_mode?: AuthorizationResponseMode | undefined;
|
|
1643
|
-
display_name?: string | undefined;
|
|
1644
|
-
enabled_clients?: string[] | undefined;
|
|
1645
|
-
is_domain_connection?: boolean | undefined;
|
|
1646
|
-
show_as_button?: boolean | undefined;
|
|
1647
|
-
metadata?: Record<string, any> | undefined;
|
|
1648
|
-
}[];
|
|
1649
1655
|
description?: string | undefined;
|
|
1650
1656
|
refresh_token?: Record<string, any> | undefined;
|
|
1651
1657
|
client_secret?: string | undefined;
|
|
@@ -1686,6 +1692,41 @@ declare const LegacyClientSchema: z.ZodObject<{
|
|
|
1686
1692
|
updated_at: string;
|
|
1687
1693
|
name: string;
|
|
1688
1694
|
client_id: string;
|
|
1695
|
+
connections: {
|
|
1696
|
+
created_at: string;
|
|
1697
|
+
updated_at: string;
|
|
1698
|
+
name: string;
|
|
1699
|
+
strategy: string;
|
|
1700
|
+
options?: {
|
|
1701
|
+
provider?: string | undefined;
|
|
1702
|
+
client_id?: string | undefined;
|
|
1703
|
+
client_secret?: string | undefined;
|
|
1704
|
+
scope?: string | undefined;
|
|
1705
|
+
kid?: string | undefined;
|
|
1706
|
+
team_id?: string | undefined;
|
|
1707
|
+
realms?: string | undefined;
|
|
1708
|
+
authentication_method?: string | undefined;
|
|
1709
|
+
app_secret?: string | undefined;
|
|
1710
|
+
authorization_endpoint?: string | undefined;
|
|
1711
|
+
token_endpoint?: string | undefined;
|
|
1712
|
+
userinfo_endpoint?: string | undefined;
|
|
1713
|
+
jwks_uri?: string | undefined;
|
|
1714
|
+
discovery_url?: string | undefined;
|
|
1715
|
+
issuer?: string | undefined;
|
|
1716
|
+
from?: string | undefined;
|
|
1717
|
+
twilio_sid?: string | undefined;
|
|
1718
|
+
twilio_token?: string | undefined;
|
|
1719
|
+
icon_url?: string | undefined;
|
|
1720
|
+
} | undefined;
|
|
1721
|
+
id?: string | undefined;
|
|
1722
|
+
response_type?: AuthorizationResponseType | undefined;
|
|
1723
|
+
response_mode?: AuthorizationResponseMode | undefined;
|
|
1724
|
+
display_name?: string | undefined;
|
|
1725
|
+
enabled_clients?: string[] | undefined;
|
|
1726
|
+
is_domain_connection?: boolean | undefined;
|
|
1727
|
+
show_as_button?: boolean | undefined;
|
|
1728
|
+
metadata?: Record<string, any> | undefined;
|
|
1729
|
+
}[];
|
|
1689
1730
|
tenant: {
|
|
1690
1731
|
created_at: string | null;
|
|
1691
1732
|
updated_at: string | null;
|
|
@@ -1787,41 +1828,6 @@ declare const LegacyClientSchema: z.ZodObject<{
|
|
|
1787
1828
|
pushed_authorization_requests_supported?: boolean | undefined;
|
|
1788
1829
|
authorization_response_iss_parameter_supported?: boolean | undefined;
|
|
1789
1830
|
};
|
|
1790
|
-
connections: {
|
|
1791
|
-
created_at: string;
|
|
1792
|
-
updated_at: string;
|
|
1793
|
-
name: string;
|
|
1794
|
-
strategy: string;
|
|
1795
|
-
options?: {
|
|
1796
|
-
provider?: string | undefined;
|
|
1797
|
-
client_id?: string | undefined;
|
|
1798
|
-
client_secret?: string | undefined;
|
|
1799
|
-
scope?: string | undefined;
|
|
1800
|
-
kid?: string | undefined;
|
|
1801
|
-
team_id?: string | undefined;
|
|
1802
|
-
realms?: string | undefined;
|
|
1803
|
-
authentication_method?: string | undefined;
|
|
1804
|
-
app_secret?: string | undefined;
|
|
1805
|
-
authorization_endpoint?: string | undefined;
|
|
1806
|
-
token_endpoint?: string | undefined;
|
|
1807
|
-
userinfo_endpoint?: string | undefined;
|
|
1808
|
-
jwks_uri?: string | undefined;
|
|
1809
|
-
discovery_url?: string | undefined;
|
|
1810
|
-
issuer?: string | undefined;
|
|
1811
|
-
from?: string | undefined;
|
|
1812
|
-
twilio_sid?: string | undefined;
|
|
1813
|
-
twilio_token?: string | undefined;
|
|
1814
|
-
icon_url?: string | undefined;
|
|
1815
|
-
} | undefined;
|
|
1816
|
-
id?: string | undefined;
|
|
1817
|
-
response_type?: AuthorizationResponseType | undefined;
|
|
1818
|
-
response_mode?: AuthorizationResponseMode | undefined;
|
|
1819
|
-
display_name?: string | undefined;
|
|
1820
|
-
enabled_clients?: string[] | undefined;
|
|
1821
|
-
is_domain_connection?: boolean | undefined;
|
|
1822
|
-
show_as_button?: boolean | undefined;
|
|
1823
|
-
metadata?: Record<string, any> | undefined;
|
|
1824
|
-
}[];
|
|
1825
1831
|
description?: string | undefined;
|
|
1826
1832
|
refresh_token?: Record<string, any> | undefined;
|
|
1827
1833
|
global?: boolean | undefined;
|
|
@@ -2538,20 +2544,20 @@ declare const formInsertSchema: z.ZodObject<{
|
|
|
2538
2544
|
alias: z.ZodOptional<z.ZodString>;
|
|
2539
2545
|
config: z.ZodObject<{
|
|
2540
2546
|
flow_id: z.ZodString;
|
|
2541
|
-
next_node: z.ZodString
|
|
2547
|
+
next_node: z.ZodOptional<z.ZodString>;
|
|
2542
2548
|
}, "strip", z.ZodTypeAny, {
|
|
2543
|
-
next_node: string;
|
|
2544
2549
|
flow_id: string;
|
|
2550
|
+
next_node?: string | undefined;
|
|
2545
2551
|
}, {
|
|
2546
|
-
next_node: string;
|
|
2547
2552
|
flow_id: string;
|
|
2553
|
+
next_node?: string | undefined;
|
|
2548
2554
|
}>;
|
|
2549
2555
|
}, "strip", z.ZodTypeAny, {
|
|
2550
2556
|
type: "FLOW";
|
|
2551
2557
|
id: string;
|
|
2552
2558
|
config: {
|
|
2553
|
-
next_node: string;
|
|
2554
2559
|
flow_id: string;
|
|
2560
|
+
next_node?: string | undefined;
|
|
2555
2561
|
};
|
|
2556
2562
|
coordinates: {
|
|
2557
2563
|
x: number;
|
|
@@ -2562,8 +2568,8 @@ declare const formInsertSchema: z.ZodObject<{
|
|
|
2562
2568
|
type: "FLOW";
|
|
2563
2569
|
id: string;
|
|
2564
2570
|
config: {
|
|
2565
|
-
next_node: string;
|
|
2566
2571
|
flow_id: string;
|
|
2572
|
+
next_node?: string | undefined;
|
|
2567
2573
|
};
|
|
2568
2574
|
coordinates: {
|
|
2569
2575
|
x: number;
|
|
@@ -2602,7 +2608,7 @@ declare const formInsertSchema: z.ZodObject<{
|
|
|
2602
2608
|
alias?: string | undefined;
|
|
2603
2609
|
condition?: any;
|
|
2604
2610
|
}>, "many">;
|
|
2605
|
-
fallback: z.
|
|
2611
|
+
fallback: z.ZodString;
|
|
2606
2612
|
}, "strip", z.ZodTypeAny, {
|
|
2607
2613
|
rules: {
|
|
2608
2614
|
id: string;
|
|
@@ -2610,7 +2616,7 @@ declare const formInsertSchema: z.ZodObject<{
|
|
|
2610
2616
|
alias?: string | undefined;
|
|
2611
2617
|
condition?: any;
|
|
2612
2618
|
}[];
|
|
2613
|
-
fallback: string
|
|
2619
|
+
fallback: string;
|
|
2614
2620
|
}, {
|
|
2615
2621
|
rules: {
|
|
2616
2622
|
id: string;
|
|
@@ -2618,7 +2624,7 @@ declare const formInsertSchema: z.ZodObject<{
|
|
|
2618
2624
|
alias?: string | undefined;
|
|
2619
2625
|
condition?: any;
|
|
2620
2626
|
}[];
|
|
2621
|
-
fallback: string
|
|
2627
|
+
fallback: string;
|
|
2622
2628
|
}>;
|
|
2623
2629
|
}, "strip", z.ZodTypeAny, {
|
|
2624
2630
|
type: "ROUTER";
|
|
@@ -2630,7 +2636,7 @@ declare const formInsertSchema: z.ZodObject<{
|
|
|
2630
2636
|
alias?: string | undefined;
|
|
2631
2637
|
condition?: any;
|
|
2632
2638
|
}[];
|
|
2633
|
-
fallback: string
|
|
2639
|
+
fallback: string;
|
|
2634
2640
|
};
|
|
2635
2641
|
coordinates: {
|
|
2636
2642
|
x: number;
|
|
@@ -2647,7 +2653,7 @@ declare const formInsertSchema: z.ZodObject<{
|
|
|
2647
2653
|
alias?: string | undefined;
|
|
2648
2654
|
condition?: any;
|
|
2649
2655
|
}[];
|
|
2650
|
-
fallback: string
|
|
2656
|
+
fallback: string;
|
|
2651
2657
|
};
|
|
2652
2658
|
coordinates: {
|
|
2653
2659
|
x: number;
|
|
@@ -2673,6 +2679,7 @@ declare const formInsertSchema: z.ZodObject<{
|
|
|
2673
2679
|
components: z.ZodArray<z.ZodDiscriminatedUnion<"type", [
|
|
2674
2680
|
z.ZodObject<{
|
|
2675
2681
|
id: z.ZodString;
|
|
2682
|
+
category: z.ZodOptional<z.ZodLiteral<"BLOCK">>;
|
|
2676
2683
|
type: z.ZodLiteral<"RICH_TEXT">;
|
|
2677
2684
|
config: z.ZodObject<{
|
|
2678
2685
|
content: z.ZodString;
|
|
@@ -2690,6 +2697,7 @@ declare const formInsertSchema: z.ZodObject<{
|
|
|
2690
2697
|
content: string;
|
|
2691
2698
|
};
|
|
2692
2699
|
visible: boolean;
|
|
2700
|
+
category?: "BLOCK" | undefined;
|
|
2693
2701
|
order?: number | undefined;
|
|
2694
2702
|
}, {
|
|
2695
2703
|
type: "RICH_TEXT";
|
|
@@ -2697,11 +2705,13 @@ declare const formInsertSchema: z.ZodObject<{
|
|
|
2697
2705
|
config: {
|
|
2698
2706
|
content: string;
|
|
2699
2707
|
};
|
|
2708
|
+
category?: "BLOCK" | undefined;
|
|
2700
2709
|
order?: number | undefined;
|
|
2701
2710
|
visible?: boolean | undefined;
|
|
2702
2711
|
}>,
|
|
2703
2712
|
z.ZodObject<{
|
|
2704
2713
|
id: z.ZodString;
|
|
2714
|
+
category: z.ZodOptional<z.ZodLiteral<"FIELD">>;
|
|
2705
2715
|
type: z.ZodLiteral<"LEGAL">;
|
|
2706
2716
|
config: z.ZodObject<{
|
|
2707
2717
|
text: z.ZodString;
|
|
@@ -2725,6 +2735,7 @@ declare const formInsertSchema: z.ZodObject<{
|
|
|
2725
2735
|
};
|
|
2726
2736
|
visible: boolean;
|
|
2727
2737
|
required?: boolean | undefined;
|
|
2738
|
+
category?: "FIELD" | undefined;
|
|
2728
2739
|
order?: number | undefined;
|
|
2729
2740
|
}, {
|
|
2730
2741
|
type: "LEGAL";
|
|
@@ -2734,11 +2745,13 @@ declare const formInsertSchema: z.ZodObject<{
|
|
|
2734
2745
|
html?: boolean | undefined;
|
|
2735
2746
|
};
|
|
2736
2747
|
required?: boolean | undefined;
|
|
2748
|
+
category?: "FIELD" | undefined;
|
|
2737
2749
|
order?: number | undefined;
|
|
2738
2750
|
visible?: boolean | undefined;
|
|
2739
2751
|
}>,
|
|
2740
2752
|
z.ZodObject<{
|
|
2741
2753
|
id: z.ZodString;
|
|
2754
|
+
category: z.ZodOptional<z.ZodLiteral<"FIELD">>;
|
|
2742
2755
|
type: z.ZodLiteral<"TEXT">;
|
|
2743
2756
|
config: z.ZodObject<{
|
|
2744
2757
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
@@ -2763,6 +2776,7 @@ declare const formInsertSchema: z.ZodObject<{
|
|
|
2763
2776
|
};
|
|
2764
2777
|
visible: boolean;
|
|
2765
2778
|
required?: boolean | undefined;
|
|
2779
|
+
category?: "FIELD" | undefined;
|
|
2766
2780
|
sensitive?: boolean | undefined;
|
|
2767
2781
|
order?: number | undefined;
|
|
2768
2782
|
}, {
|
|
@@ -2773,12 +2787,14 @@ declare const formInsertSchema: z.ZodObject<{
|
|
|
2773
2787
|
multiline?: boolean | undefined;
|
|
2774
2788
|
};
|
|
2775
2789
|
required?: boolean | undefined;
|
|
2790
|
+
category?: "FIELD" | undefined;
|
|
2776
2791
|
sensitive?: boolean | undefined;
|
|
2777
2792
|
order?: number | undefined;
|
|
2778
2793
|
visible?: boolean | undefined;
|
|
2779
2794
|
}>,
|
|
2780
2795
|
z.ZodObject<{
|
|
2781
2796
|
id: z.ZodString;
|
|
2797
|
+
category: z.ZodOptional<z.ZodLiteral<"BLOCK">>;
|
|
2782
2798
|
type: z.ZodLiteral<"NEXT_BUTTON">;
|
|
2783
2799
|
config: z.ZodObject<{
|
|
2784
2800
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -2796,6 +2812,7 @@ declare const formInsertSchema: z.ZodObject<{
|
|
|
2796
2812
|
text?: string | undefined;
|
|
2797
2813
|
};
|
|
2798
2814
|
visible: boolean;
|
|
2815
|
+
category?: "BLOCK" | undefined;
|
|
2799
2816
|
order?: number | undefined;
|
|
2800
2817
|
}, {
|
|
2801
2818
|
type: "NEXT_BUTTON";
|
|
@@ -2803,11 +2820,12 @@ declare const formInsertSchema: z.ZodObject<{
|
|
|
2803
2820
|
config: {
|
|
2804
2821
|
text?: string | undefined;
|
|
2805
2822
|
};
|
|
2823
|
+
category?: "BLOCK" | undefined;
|
|
2806
2824
|
order?: number | undefined;
|
|
2807
2825
|
visible?: boolean | undefined;
|
|
2808
2826
|
}>
|
|
2809
2827
|
]>, "many">;
|
|
2810
|
-
next_node: z.ZodString
|
|
2828
|
+
next_node: z.ZodOptional<z.ZodString>;
|
|
2811
2829
|
}, "strip", z.ZodTypeAny, {
|
|
2812
2830
|
components: ({
|
|
2813
2831
|
type: "RICH_TEXT";
|
|
@@ -2816,6 +2834,7 @@ declare const formInsertSchema: z.ZodObject<{
|
|
|
2816
2834
|
content: string;
|
|
2817
2835
|
};
|
|
2818
2836
|
visible: boolean;
|
|
2837
|
+
category?: "BLOCK" | undefined;
|
|
2819
2838
|
order?: number | undefined;
|
|
2820
2839
|
} | {
|
|
2821
2840
|
type: "LEGAL";
|
|
@@ -2826,6 +2845,7 @@ declare const formInsertSchema: z.ZodObject<{
|
|
|
2826
2845
|
};
|
|
2827
2846
|
visible: boolean;
|
|
2828
2847
|
required?: boolean | undefined;
|
|
2848
|
+
category?: "FIELD" | undefined;
|
|
2829
2849
|
order?: number | undefined;
|
|
2830
2850
|
} | {
|
|
2831
2851
|
type: "TEXT";
|
|
@@ -2836,6 +2856,7 @@ declare const formInsertSchema: z.ZodObject<{
|
|
|
2836
2856
|
};
|
|
2837
2857
|
visible: boolean;
|
|
2838
2858
|
required?: boolean | undefined;
|
|
2859
|
+
category?: "FIELD" | undefined;
|
|
2839
2860
|
sensitive?: boolean | undefined;
|
|
2840
2861
|
order?: number | undefined;
|
|
2841
2862
|
} | {
|
|
@@ -2845,9 +2866,10 @@ declare const formInsertSchema: z.ZodObject<{
|
|
|
2845
2866
|
text?: string | undefined;
|
|
2846
2867
|
};
|
|
2847
2868
|
visible: boolean;
|
|
2869
|
+
category?: "BLOCK" | undefined;
|
|
2848
2870
|
order?: number | undefined;
|
|
2849
2871
|
})[];
|
|
2850
|
-
next_node
|
|
2872
|
+
next_node?: string | undefined;
|
|
2851
2873
|
}, {
|
|
2852
2874
|
components: ({
|
|
2853
2875
|
type: "RICH_TEXT";
|
|
@@ -2855,6 +2877,7 @@ declare const formInsertSchema: z.ZodObject<{
|
|
|
2855
2877
|
config: {
|
|
2856
2878
|
content: string;
|
|
2857
2879
|
};
|
|
2880
|
+
category?: "BLOCK" | undefined;
|
|
2858
2881
|
order?: number | undefined;
|
|
2859
2882
|
visible?: boolean | undefined;
|
|
2860
2883
|
} | {
|
|
@@ -2865,6 +2888,7 @@ declare const formInsertSchema: z.ZodObject<{
|
|
|
2865
2888
|
html?: boolean | undefined;
|
|
2866
2889
|
};
|
|
2867
2890
|
required?: boolean | undefined;
|
|
2891
|
+
category?: "FIELD" | undefined;
|
|
2868
2892
|
order?: number | undefined;
|
|
2869
2893
|
visible?: boolean | undefined;
|
|
2870
2894
|
} | {
|
|
@@ -2875,6 +2899,7 @@ declare const formInsertSchema: z.ZodObject<{
|
|
|
2875
2899
|
multiline?: boolean | undefined;
|
|
2876
2900
|
};
|
|
2877
2901
|
required?: boolean | undefined;
|
|
2902
|
+
category?: "FIELD" | undefined;
|
|
2878
2903
|
sensitive?: boolean | undefined;
|
|
2879
2904
|
order?: number | undefined;
|
|
2880
2905
|
visible?: boolean | undefined;
|
|
@@ -2884,10 +2909,11 @@ declare const formInsertSchema: z.ZodObject<{
|
|
|
2884
2909
|
config: {
|
|
2885
2910
|
text?: string | undefined;
|
|
2886
2911
|
};
|
|
2912
|
+
category?: "BLOCK" | undefined;
|
|
2887
2913
|
order?: number | undefined;
|
|
2888
2914
|
visible?: boolean | undefined;
|
|
2889
2915
|
})[];
|
|
2890
|
-
next_node
|
|
2916
|
+
next_node?: string | undefined;
|
|
2891
2917
|
}>;
|
|
2892
2918
|
}, "strip", z.ZodTypeAny, {
|
|
2893
2919
|
type: "STEP";
|
|
@@ -2900,6 +2926,7 @@ declare const formInsertSchema: z.ZodObject<{
|
|
|
2900
2926
|
content: string;
|
|
2901
2927
|
};
|
|
2902
2928
|
visible: boolean;
|
|
2929
|
+
category?: "BLOCK" | undefined;
|
|
2903
2930
|
order?: number | undefined;
|
|
2904
2931
|
} | {
|
|
2905
2932
|
type: "LEGAL";
|
|
@@ -2910,6 +2937,7 @@ declare const formInsertSchema: z.ZodObject<{
|
|
|
2910
2937
|
};
|
|
2911
2938
|
visible: boolean;
|
|
2912
2939
|
required?: boolean | undefined;
|
|
2940
|
+
category?: "FIELD" | undefined;
|
|
2913
2941
|
order?: number | undefined;
|
|
2914
2942
|
} | {
|
|
2915
2943
|
type: "TEXT";
|
|
@@ -2920,6 +2948,7 @@ declare const formInsertSchema: z.ZodObject<{
|
|
|
2920
2948
|
};
|
|
2921
2949
|
visible: boolean;
|
|
2922
2950
|
required?: boolean | undefined;
|
|
2951
|
+
category?: "FIELD" | undefined;
|
|
2923
2952
|
sensitive?: boolean | undefined;
|
|
2924
2953
|
order?: number | undefined;
|
|
2925
2954
|
} | {
|
|
@@ -2929,9 +2958,10 @@ declare const formInsertSchema: z.ZodObject<{
|
|
|
2929
2958
|
text?: string | undefined;
|
|
2930
2959
|
};
|
|
2931
2960
|
visible: boolean;
|
|
2961
|
+
category?: "BLOCK" | undefined;
|
|
2932
2962
|
order?: number | undefined;
|
|
2933
2963
|
})[];
|
|
2934
|
-
next_node
|
|
2964
|
+
next_node?: string | undefined;
|
|
2935
2965
|
};
|
|
2936
2966
|
coordinates: {
|
|
2937
2967
|
x: number;
|
|
@@ -2948,6 +2978,7 @@ declare const formInsertSchema: z.ZodObject<{
|
|
|
2948
2978
|
config: {
|
|
2949
2979
|
content: string;
|
|
2950
2980
|
};
|
|
2981
|
+
category?: "BLOCK" | undefined;
|
|
2951
2982
|
order?: number | undefined;
|
|
2952
2983
|
visible?: boolean | undefined;
|
|
2953
2984
|
} | {
|
|
@@ -2958,6 +2989,7 @@ declare const formInsertSchema: z.ZodObject<{
|
|
|
2958
2989
|
html?: boolean | undefined;
|
|
2959
2990
|
};
|
|
2960
2991
|
required?: boolean | undefined;
|
|
2992
|
+
category?: "FIELD" | undefined;
|
|
2961
2993
|
order?: number | undefined;
|
|
2962
2994
|
visible?: boolean | undefined;
|
|
2963
2995
|
} | {
|
|
@@ -2968,6 +3000,7 @@ declare const formInsertSchema: z.ZodObject<{
|
|
|
2968
3000
|
multiline?: boolean | undefined;
|
|
2969
3001
|
};
|
|
2970
3002
|
required?: boolean | undefined;
|
|
3003
|
+
category?: "FIELD" | undefined;
|
|
2971
3004
|
sensitive?: boolean | undefined;
|
|
2972
3005
|
order?: number | undefined;
|
|
2973
3006
|
visible?: boolean | undefined;
|
|
@@ -2977,10 +3010,11 @@ declare const formInsertSchema: z.ZodObject<{
|
|
|
2977
3010
|
config: {
|
|
2978
3011
|
text?: string | undefined;
|
|
2979
3012
|
};
|
|
3013
|
+
category?: "BLOCK" | undefined;
|
|
2980
3014
|
order?: number | undefined;
|
|
2981
3015
|
visible?: boolean | undefined;
|
|
2982
3016
|
})[];
|
|
2983
|
-
next_node
|
|
3017
|
+
next_node?: string | undefined;
|
|
2984
3018
|
};
|
|
2985
3019
|
coordinates: {
|
|
2986
3020
|
x: number;
|
|
@@ -3119,8 +3153,8 @@ declare const formInsertSchema: z.ZodObject<{
|
|
|
3119
3153
|
type: "FLOW";
|
|
3120
3154
|
id: string;
|
|
3121
3155
|
config: {
|
|
3122
|
-
next_node: string;
|
|
3123
3156
|
flow_id: string;
|
|
3157
|
+
next_node?: string | undefined;
|
|
3124
3158
|
};
|
|
3125
3159
|
coordinates: {
|
|
3126
3160
|
x: number;
|
|
@@ -3137,7 +3171,7 @@ declare const formInsertSchema: z.ZodObject<{
|
|
|
3137
3171
|
alias?: string | undefined;
|
|
3138
3172
|
condition?: any;
|
|
3139
3173
|
}[];
|
|
3140
|
-
fallback: string
|
|
3174
|
+
fallback: string;
|
|
3141
3175
|
};
|
|
3142
3176
|
coordinates: {
|
|
3143
3177
|
x: number;
|
|
@@ -3155,6 +3189,7 @@ declare const formInsertSchema: z.ZodObject<{
|
|
|
3155
3189
|
content: string;
|
|
3156
3190
|
};
|
|
3157
3191
|
visible: boolean;
|
|
3192
|
+
category?: "BLOCK" | undefined;
|
|
3158
3193
|
order?: number | undefined;
|
|
3159
3194
|
} | {
|
|
3160
3195
|
type: "LEGAL";
|
|
@@ -3165,6 +3200,7 @@ declare const formInsertSchema: z.ZodObject<{
|
|
|
3165
3200
|
};
|
|
3166
3201
|
visible: boolean;
|
|
3167
3202
|
required?: boolean | undefined;
|
|
3203
|
+
category?: "FIELD" | undefined;
|
|
3168
3204
|
order?: number | undefined;
|
|
3169
3205
|
} | {
|
|
3170
3206
|
type: "TEXT";
|
|
@@ -3175,6 +3211,7 @@ declare const formInsertSchema: z.ZodObject<{
|
|
|
3175
3211
|
};
|
|
3176
3212
|
visible: boolean;
|
|
3177
3213
|
required?: boolean | undefined;
|
|
3214
|
+
category?: "FIELD" | undefined;
|
|
3178
3215
|
sensitive?: boolean | undefined;
|
|
3179
3216
|
order?: number | undefined;
|
|
3180
3217
|
} | {
|
|
@@ -3184,9 +3221,10 @@ declare const formInsertSchema: z.ZodObject<{
|
|
|
3184
3221
|
text?: string | undefined;
|
|
3185
3222
|
};
|
|
3186
3223
|
visible: boolean;
|
|
3224
|
+
category?: "BLOCK" | undefined;
|
|
3187
3225
|
order?: number | undefined;
|
|
3188
3226
|
})[];
|
|
3189
|
-
next_node
|
|
3227
|
+
next_node?: string | undefined;
|
|
3190
3228
|
};
|
|
3191
3229
|
coordinates: {
|
|
3192
3230
|
x: number;
|
|
@@ -3237,8 +3275,8 @@ declare const formInsertSchema: z.ZodObject<{
|
|
|
3237
3275
|
type: "FLOW";
|
|
3238
3276
|
id: string;
|
|
3239
3277
|
config: {
|
|
3240
|
-
next_node: string;
|
|
3241
3278
|
flow_id: string;
|
|
3279
|
+
next_node?: string | undefined;
|
|
3242
3280
|
};
|
|
3243
3281
|
coordinates: {
|
|
3244
3282
|
x: number;
|
|
@@ -3255,7 +3293,7 @@ declare const formInsertSchema: z.ZodObject<{
|
|
|
3255
3293
|
alias?: string | undefined;
|
|
3256
3294
|
condition?: any;
|
|
3257
3295
|
}[];
|
|
3258
|
-
fallback: string
|
|
3296
|
+
fallback: string;
|
|
3259
3297
|
};
|
|
3260
3298
|
coordinates: {
|
|
3261
3299
|
x: number;
|
|
@@ -3272,6 +3310,7 @@ declare const formInsertSchema: z.ZodObject<{
|
|
|
3272
3310
|
config: {
|
|
3273
3311
|
content: string;
|
|
3274
3312
|
};
|
|
3313
|
+
category?: "BLOCK" | undefined;
|
|
3275
3314
|
order?: number | undefined;
|
|
3276
3315
|
visible?: boolean | undefined;
|
|
3277
3316
|
} | {
|
|
@@ -3282,6 +3321,7 @@ declare const formInsertSchema: z.ZodObject<{
|
|
|
3282
3321
|
html?: boolean | undefined;
|
|
3283
3322
|
};
|
|
3284
3323
|
required?: boolean | undefined;
|
|
3324
|
+
category?: "FIELD" | undefined;
|
|
3285
3325
|
order?: number | undefined;
|
|
3286
3326
|
visible?: boolean | undefined;
|
|
3287
3327
|
} | {
|
|
@@ -3292,6 +3332,7 @@ declare const formInsertSchema: z.ZodObject<{
|
|
|
3292
3332
|
multiline?: boolean | undefined;
|
|
3293
3333
|
};
|
|
3294
3334
|
required?: boolean | undefined;
|
|
3335
|
+
category?: "FIELD" | undefined;
|
|
3295
3336
|
sensitive?: boolean | undefined;
|
|
3296
3337
|
order?: number | undefined;
|
|
3297
3338
|
visible?: boolean | undefined;
|
|
@@ -3301,10 +3342,11 @@ declare const formInsertSchema: z.ZodObject<{
|
|
|
3301
3342
|
config: {
|
|
3302
3343
|
text?: string | undefined;
|
|
3303
3344
|
};
|
|
3345
|
+
category?: "BLOCK" | undefined;
|
|
3304
3346
|
order?: number | undefined;
|
|
3305
3347
|
visible?: boolean | undefined;
|
|
3306
3348
|
})[];
|
|
3307
|
-
next_node
|
|
3349
|
+
next_node?: string | undefined;
|
|
3308
3350
|
};
|
|
3309
3351
|
coordinates: {
|
|
3310
3352
|
x: number;
|
|
@@ -3374,20 +3416,20 @@ declare const formSchema: z.ZodObject<{
|
|
|
3374
3416
|
alias: z.ZodOptional<z.ZodString>;
|
|
3375
3417
|
config: z.ZodObject<{
|
|
3376
3418
|
flow_id: z.ZodString;
|
|
3377
|
-
next_node: z.ZodString
|
|
3419
|
+
next_node: z.ZodOptional<z.ZodString>;
|
|
3378
3420
|
}, "strip", z.ZodTypeAny, {
|
|
3379
|
-
next_node: string;
|
|
3380
3421
|
flow_id: string;
|
|
3422
|
+
next_node?: string | undefined;
|
|
3381
3423
|
}, {
|
|
3382
|
-
next_node: string;
|
|
3383
3424
|
flow_id: string;
|
|
3425
|
+
next_node?: string | undefined;
|
|
3384
3426
|
}>;
|
|
3385
3427
|
}, "strip", z.ZodTypeAny, {
|
|
3386
3428
|
type: "FLOW";
|
|
3387
3429
|
id: string;
|
|
3388
3430
|
config: {
|
|
3389
|
-
next_node: string;
|
|
3390
3431
|
flow_id: string;
|
|
3432
|
+
next_node?: string | undefined;
|
|
3391
3433
|
};
|
|
3392
3434
|
coordinates: {
|
|
3393
3435
|
x: number;
|
|
@@ -3398,8 +3440,8 @@ declare const formSchema: z.ZodObject<{
|
|
|
3398
3440
|
type: "FLOW";
|
|
3399
3441
|
id: string;
|
|
3400
3442
|
config: {
|
|
3401
|
-
next_node: string;
|
|
3402
3443
|
flow_id: string;
|
|
3444
|
+
next_node?: string | undefined;
|
|
3403
3445
|
};
|
|
3404
3446
|
coordinates: {
|
|
3405
3447
|
x: number;
|
|
@@ -3438,7 +3480,7 @@ declare const formSchema: z.ZodObject<{
|
|
|
3438
3480
|
alias?: string | undefined;
|
|
3439
3481
|
condition?: any;
|
|
3440
3482
|
}>, "many">;
|
|
3441
|
-
fallback: z.
|
|
3483
|
+
fallback: z.ZodString;
|
|
3442
3484
|
}, "strip", z.ZodTypeAny, {
|
|
3443
3485
|
rules: {
|
|
3444
3486
|
id: string;
|
|
@@ -3446,7 +3488,7 @@ declare const formSchema: z.ZodObject<{
|
|
|
3446
3488
|
alias?: string | undefined;
|
|
3447
3489
|
condition?: any;
|
|
3448
3490
|
}[];
|
|
3449
|
-
fallback: string
|
|
3491
|
+
fallback: string;
|
|
3450
3492
|
}, {
|
|
3451
3493
|
rules: {
|
|
3452
3494
|
id: string;
|
|
@@ -3454,7 +3496,7 @@ declare const formSchema: z.ZodObject<{
|
|
|
3454
3496
|
alias?: string | undefined;
|
|
3455
3497
|
condition?: any;
|
|
3456
3498
|
}[];
|
|
3457
|
-
fallback: string
|
|
3499
|
+
fallback: string;
|
|
3458
3500
|
}>;
|
|
3459
3501
|
}, "strip", z.ZodTypeAny, {
|
|
3460
3502
|
type: "ROUTER";
|
|
@@ -3466,7 +3508,7 @@ declare const formSchema: z.ZodObject<{
|
|
|
3466
3508
|
alias?: string | undefined;
|
|
3467
3509
|
condition?: any;
|
|
3468
3510
|
}[];
|
|
3469
|
-
fallback: string
|
|
3511
|
+
fallback: string;
|
|
3470
3512
|
};
|
|
3471
3513
|
coordinates: {
|
|
3472
3514
|
x: number;
|
|
@@ -3483,7 +3525,7 @@ declare const formSchema: z.ZodObject<{
|
|
|
3483
3525
|
alias?: string | undefined;
|
|
3484
3526
|
condition?: any;
|
|
3485
3527
|
}[];
|
|
3486
|
-
fallback: string
|
|
3528
|
+
fallback: string;
|
|
3487
3529
|
};
|
|
3488
3530
|
coordinates: {
|
|
3489
3531
|
x: number;
|
|
@@ -3509,6 +3551,7 @@ declare const formSchema: z.ZodObject<{
|
|
|
3509
3551
|
components: z.ZodArray<z.ZodDiscriminatedUnion<"type", [
|
|
3510
3552
|
z.ZodObject<{
|
|
3511
3553
|
id: z.ZodString;
|
|
3554
|
+
category: z.ZodOptional<z.ZodLiteral<"BLOCK">>;
|
|
3512
3555
|
type: z.ZodLiteral<"RICH_TEXT">;
|
|
3513
3556
|
config: z.ZodObject<{
|
|
3514
3557
|
content: z.ZodString;
|
|
@@ -3526,6 +3569,7 @@ declare const formSchema: z.ZodObject<{
|
|
|
3526
3569
|
content: string;
|
|
3527
3570
|
};
|
|
3528
3571
|
visible: boolean;
|
|
3572
|
+
category?: "BLOCK" | undefined;
|
|
3529
3573
|
order?: number | undefined;
|
|
3530
3574
|
}, {
|
|
3531
3575
|
type: "RICH_TEXT";
|
|
@@ -3533,11 +3577,13 @@ declare const formSchema: z.ZodObject<{
|
|
|
3533
3577
|
config: {
|
|
3534
3578
|
content: string;
|
|
3535
3579
|
};
|
|
3580
|
+
category?: "BLOCK" | undefined;
|
|
3536
3581
|
order?: number | undefined;
|
|
3537
3582
|
visible?: boolean | undefined;
|
|
3538
3583
|
}>,
|
|
3539
3584
|
z.ZodObject<{
|
|
3540
3585
|
id: z.ZodString;
|
|
3586
|
+
category: z.ZodOptional<z.ZodLiteral<"FIELD">>;
|
|
3541
3587
|
type: z.ZodLiteral<"LEGAL">;
|
|
3542
3588
|
config: z.ZodObject<{
|
|
3543
3589
|
text: z.ZodString;
|
|
@@ -3561,6 +3607,7 @@ declare const formSchema: z.ZodObject<{
|
|
|
3561
3607
|
};
|
|
3562
3608
|
visible: boolean;
|
|
3563
3609
|
required?: boolean | undefined;
|
|
3610
|
+
category?: "FIELD" | undefined;
|
|
3564
3611
|
order?: number | undefined;
|
|
3565
3612
|
}, {
|
|
3566
3613
|
type: "LEGAL";
|
|
@@ -3570,11 +3617,13 @@ declare const formSchema: z.ZodObject<{
|
|
|
3570
3617
|
html?: boolean | undefined;
|
|
3571
3618
|
};
|
|
3572
3619
|
required?: boolean | undefined;
|
|
3620
|
+
category?: "FIELD" | undefined;
|
|
3573
3621
|
order?: number | undefined;
|
|
3574
3622
|
visible?: boolean | undefined;
|
|
3575
3623
|
}>,
|
|
3576
3624
|
z.ZodObject<{
|
|
3577
3625
|
id: z.ZodString;
|
|
3626
|
+
category: z.ZodOptional<z.ZodLiteral<"FIELD">>;
|
|
3578
3627
|
type: z.ZodLiteral<"TEXT">;
|
|
3579
3628
|
config: z.ZodObject<{
|
|
3580
3629
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
@@ -3599,6 +3648,7 @@ declare const formSchema: z.ZodObject<{
|
|
|
3599
3648
|
};
|
|
3600
3649
|
visible: boolean;
|
|
3601
3650
|
required?: boolean | undefined;
|
|
3651
|
+
category?: "FIELD" | undefined;
|
|
3602
3652
|
sensitive?: boolean | undefined;
|
|
3603
3653
|
order?: number | undefined;
|
|
3604
3654
|
}, {
|
|
@@ -3609,12 +3659,14 @@ declare const formSchema: z.ZodObject<{
|
|
|
3609
3659
|
multiline?: boolean | undefined;
|
|
3610
3660
|
};
|
|
3611
3661
|
required?: boolean | undefined;
|
|
3662
|
+
category?: "FIELD" | undefined;
|
|
3612
3663
|
sensitive?: boolean | undefined;
|
|
3613
3664
|
order?: number | undefined;
|
|
3614
3665
|
visible?: boolean | undefined;
|
|
3615
3666
|
}>,
|
|
3616
3667
|
z.ZodObject<{
|
|
3617
3668
|
id: z.ZodString;
|
|
3669
|
+
category: z.ZodOptional<z.ZodLiteral<"BLOCK">>;
|
|
3618
3670
|
type: z.ZodLiteral<"NEXT_BUTTON">;
|
|
3619
3671
|
config: z.ZodObject<{
|
|
3620
3672
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -3632,6 +3684,7 @@ declare const formSchema: z.ZodObject<{
|
|
|
3632
3684
|
text?: string | undefined;
|
|
3633
3685
|
};
|
|
3634
3686
|
visible: boolean;
|
|
3687
|
+
category?: "BLOCK" | undefined;
|
|
3635
3688
|
order?: number | undefined;
|
|
3636
3689
|
}, {
|
|
3637
3690
|
type: "NEXT_BUTTON";
|
|
@@ -3639,11 +3692,12 @@ declare const formSchema: z.ZodObject<{
|
|
|
3639
3692
|
config: {
|
|
3640
3693
|
text?: string | undefined;
|
|
3641
3694
|
};
|
|
3695
|
+
category?: "BLOCK" | undefined;
|
|
3642
3696
|
order?: number | undefined;
|
|
3643
3697
|
visible?: boolean | undefined;
|
|
3644
3698
|
}>
|
|
3645
3699
|
]>, "many">;
|
|
3646
|
-
next_node: z.ZodString
|
|
3700
|
+
next_node: z.ZodOptional<z.ZodString>;
|
|
3647
3701
|
}, "strip", z.ZodTypeAny, {
|
|
3648
3702
|
components: ({
|
|
3649
3703
|
type: "RICH_TEXT";
|
|
@@ -3652,6 +3706,7 @@ declare const formSchema: z.ZodObject<{
|
|
|
3652
3706
|
content: string;
|
|
3653
3707
|
};
|
|
3654
3708
|
visible: boolean;
|
|
3709
|
+
category?: "BLOCK" | undefined;
|
|
3655
3710
|
order?: number | undefined;
|
|
3656
3711
|
} | {
|
|
3657
3712
|
type: "LEGAL";
|
|
@@ -3662,6 +3717,7 @@ declare const formSchema: z.ZodObject<{
|
|
|
3662
3717
|
};
|
|
3663
3718
|
visible: boolean;
|
|
3664
3719
|
required?: boolean | undefined;
|
|
3720
|
+
category?: "FIELD" | undefined;
|
|
3665
3721
|
order?: number | undefined;
|
|
3666
3722
|
} | {
|
|
3667
3723
|
type: "TEXT";
|
|
@@ -3672,6 +3728,7 @@ declare const formSchema: z.ZodObject<{
|
|
|
3672
3728
|
};
|
|
3673
3729
|
visible: boolean;
|
|
3674
3730
|
required?: boolean | undefined;
|
|
3731
|
+
category?: "FIELD" | undefined;
|
|
3675
3732
|
sensitive?: boolean | undefined;
|
|
3676
3733
|
order?: number | undefined;
|
|
3677
3734
|
} | {
|
|
@@ -3681,9 +3738,10 @@ declare const formSchema: z.ZodObject<{
|
|
|
3681
3738
|
text?: string | undefined;
|
|
3682
3739
|
};
|
|
3683
3740
|
visible: boolean;
|
|
3741
|
+
category?: "BLOCK" | undefined;
|
|
3684
3742
|
order?: number | undefined;
|
|
3685
3743
|
})[];
|
|
3686
|
-
next_node
|
|
3744
|
+
next_node?: string | undefined;
|
|
3687
3745
|
}, {
|
|
3688
3746
|
components: ({
|
|
3689
3747
|
type: "RICH_TEXT";
|
|
@@ -3691,6 +3749,7 @@ declare const formSchema: z.ZodObject<{
|
|
|
3691
3749
|
config: {
|
|
3692
3750
|
content: string;
|
|
3693
3751
|
};
|
|
3752
|
+
category?: "BLOCK" | undefined;
|
|
3694
3753
|
order?: number | undefined;
|
|
3695
3754
|
visible?: boolean | undefined;
|
|
3696
3755
|
} | {
|
|
@@ -3701,6 +3760,7 @@ declare const formSchema: z.ZodObject<{
|
|
|
3701
3760
|
html?: boolean | undefined;
|
|
3702
3761
|
};
|
|
3703
3762
|
required?: boolean | undefined;
|
|
3763
|
+
category?: "FIELD" | undefined;
|
|
3704
3764
|
order?: number | undefined;
|
|
3705
3765
|
visible?: boolean | undefined;
|
|
3706
3766
|
} | {
|
|
@@ -3711,6 +3771,7 @@ declare const formSchema: z.ZodObject<{
|
|
|
3711
3771
|
multiline?: boolean | undefined;
|
|
3712
3772
|
};
|
|
3713
3773
|
required?: boolean | undefined;
|
|
3774
|
+
category?: "FIELD" | undefined;
|
|
3714
3775
|
sensitive?: boolean | undefined;
|
|
3715
3776
|
order?: number | undefined;
|
|
3716
3777
|
visible?: boolean | undefined;
|
|
@@ -3720,10 +3781,11 @@ declare const formSchema: z.ZodObject<{
|
|
|
3720
3781
|
config: {
|
|
3721
3782
|
text?: string | undefined;
|
|
3722
3783
|
};
|
|
3784
|
+
category?: "BLOCK" | undefined;
|
|
3723
3785
|
order?: number | undefined;
|
|
3724
3786
|
visible?: boolean | undefined;
|
|
3725
3787
|
})[];
|
|
3726
|
-
next_node
|
|
3788
|
+
next_node?: string | undefined;
|
|
3727
3789
|
}>;
|
|
3728
3790
|
}, "strip", z.ZodTypeAny, {
|
|
3729
3791
|
type: "STEP";
|
|
@@ -3736,6 +3798,7 @@ declare const formSchema: z.ZodObject<{
|
|
|
3736
3798
|
content: string;
|
|
3737
3799
|
};
|
|
3738
3800
|
visible: boolean;
|
|
3801
|
+
category?: "BLOCK" | undefined;
|
|
3739
3802
|
order?: number | undefined;
|
|
3740
3803
|
} | {
|
|
3741
3804
|
type: "LEGAL";
|
|
@@ -3746,6 +3809,7 @@ declare const formSchema: z.ZodObject<{
|
|
|
3746
3809
|
};
|
|
3747
3810
|
visible: boolean;
|
|
3748
3811
|
required?: boolean | undefined;
|
|
3812
|
+
category?: "FIELD" | undefined;
|
|
3749
3813
|
order?: number | undefined;
|
|
3750
3814
|
} | {
|
|
3751
3815
|
type: "TEXT";
|
|
@@ -3756,6 +3820,7 @@ declare const formSchema: z.ZodObject<{
|
|
|
3756
3820
|
};
|
|
3757
3821
|
visible: boolean;
|
|
3758
3822
|
required?: boolean | undefined;
|
|
3823
|
+
category?: "FIELD" | undefined;
|
|
3759
3824
|
sensitive?: boolean | undefined;
|
|
3760
3825
|
order?: number | undefined;
|
|
3761
3826
|
} | {
|
|
@@ -3765,9 +3830,10 @@ declare const formSchema: z.ZodObject<{
|
|
|
3765
3830
|
text?: string | undefined;
|
|
3766
3831
|
};
|
|
3767
3832
|
visible: boolean;
|
|
3833
|
+
category?: "BLOCK" | undefined;
|
|
3768
3834
|
order?: number | undefined;
|
|
3769
3835
|
})[];
|
|
3770
|
-
next_node
|
|
3836
|
+
next_node?: string | undefined;
|
|
3771
3837
|
};
|
|
3772
3838
|
coordinates: {
|
|
3773
3839
|
x: number;
|
|
@@ -3784,6 +3850,7 @@ declare const formSchema: z.ZodObject<{
|
|
|
3784
3850
|
config: {
|
|
3785
3851
|
content: string;
|
|
3786
3852
|
};
|
|
3853
|
+
category?: "BLOCK" | undefined;
|
|
3787
3854
|
order?: number | undefined;
|
|
3788
3855
|
visible?: boolean | undefined;
|
|
3789
3856
|
} | {
|
|
@@ -3794,6 +3861,7 @@ declare const formSchema: z.ZodObject<{
|
|
|
3794
3861
|
html?: boolean | undefined;
|
|
3795
3862
|
};
|
|
3796
3863
|
required?: boolean | undefined;
|
|
3864
|
+
category?: "FIELD" | undefined;
|
|
3797
3865
|
order?: number | undefined;
|
|
3798
3866
|
visible?: boolean | undefined;
|
|
3799
3867
|
} | {
|
|
@@ -3804,6 +3872,7 @@ declare const formSchema: z.ZodObject<{
|
|
|
3804
3872
|
multiline?: boolean | undefined;
|
|
3805
3873
|
};
|
|
3806
3874
|
required?: boolean | undefined;
|
|
3875
|
+
category?: "FIELD" | undefined;
|
|
3807
3876
|
sensitive?: boolean | undefined;
|
|
3808
3877
|
order?: number | undefined;
|
|
3809
3878
|
visible?: boolean | undefined;
|
|
@@ -3813,10 +3882,11 @@ declare const formSchema: z.ZodObject<{
|
|
|
3813
3882
|
config: {
|
|
3814
3883
|
text?: string | undefined;
|
|
3815
3884
|
};
|
|
3885
|
+
category?: "BLOCK" | undefined;
|
|
3816
3886
|
order?: number | undefined;
|
|
3817
3887
|
visible?: boolean | undefined;
|
|
3818
3888
|
})[];
|
|
3819
|
-
next_node
|
|
3889
|
+
next_node?: string | undefined;
|
|
3820
3890
|
};
|
|
3821
3891
|
coordinates: {
|
|
3822
3892
|
x: number;
|
|
@@ -3960,8 +4030,8 @@ declare const formSchema: z.ZodObject<{
|
|
|
3960
4030
|
type: "FLOW";
|
|
3961
4031
|
id: string;
|
|
3962
4032
|
config: {
|
|
3963
|
-
next_node: string;
|
|
3964
4033
|
flow_id: string;
|
|
4034
|
+
next_node?: string | undefined;
|
|
3965
4035
|
};
|
|
3966
4036
|
coordinates: {
|
|
3967
4037
|
x: number;
|
|
@@ -3978,7 +4048,7 @@ declare const formSchema: z.ZodObject<{
|
|
|
3978
4048
|
alias?: string | undefined;
|
|
3979
4049
|
condition?: any;
|
|
3980
4050
|
}[];
|
|
3981
|
-
fallback: string
|
|
4051
|
+
fallback: string;
|
|
3982
4052
|
};
|
|
3983
4053
|
coordinates: {
|
|
3984
4054
|
x: number;
|
|
@@ -3996,6 +4066,7 @@ declare const formSchema: z.ZodObject<{
|
|
|
3996
4066
|
content: string;
|
|
3997
4067
|
};
|
|
3998
4068
|
visible: boolean;
|
|
4069
|
+
category?: "BLOCK" | undefined;
|
|
3999
4070
|
order?: number | undefined;
|
|
4000
4071
|
} | {
|
|
4001
4072
|
type: "LEGAL";
|
|
@@ -4006,6 +4077,7 @@ declare const formSchema: z.ZodObject<{
|
|
|
4006
4077
|
};
|
|
4007
4078
|
visible: boolean;
|
|
4008
4079
|
required?: boolean | undefined;
|
|
4080
|
+
category?: "FIELD" | undefined;
|
|
4009
4081
|
order?: number | undefined;
|
|
4010
4082
|
} | {
|
|
4011
4083
|
type: "TEXT";
|
|
@@ -4016,6 +4088,7 @@ declare const formSchema: z.ZodObject<{
|
|
|
4016
4088
|
};
|
|
4017
4089
|
visible: boolean;
|
|
4018
4090
|
required?: boolean | undefined;
|
|
4091
|
+
category?: "FIELD" | undefined;
|
|
4019
4092
|
sensitive?: boolean | undefined;
|
|
4020
4093
|
order?: number | undefined;
|
|
4021
4094
|
} | {
|
|
@@ -4025,9 +4098,10 @@ declare const formSchema: z.ZodObject<{
|
|
|
4025
4098
|
text?: string | undefined;
|
|
4026
4099
|
};
|
|
4027
4100
|
visible: boolean;
|
|
4101
|
+
category?: "BLOCK" | undefined;
|
|
4028
4102
|
order?: number | undefined;
|
|
4029
4103
|
})[];
|
|
4030
|
-
next_node
|
|
4104
|
+
next_node?: string | undefined;
|
|
4031
4105
|
};
|
|
4032
4106
|
coordinates: {
|
|
4033
4107
|
x: number;
|
|
@@ -4081,8 +4155,8 @@ declare const formSchema: z.ZodObject<{
|
|
|
4081
4155
|
type: "FLOW";
|
|
4082
4156
|
id: string;
|
|
4083
4157
|
config: {
|
|
4084
|
-
next_node: string;
|
|
4085
4158
|
flow_id: string;
|
|
4159
|
+
next_node?: string | undefined;
|
|
4086
4160
|
};
|
|
4087
4161
|
coordinates: {
|
|
4088
4162
|
x: number;
|
|
@@ -4099,7 +4173,7 @@ declare const formSchema: z.ZodObject<{
|
|
|
4099
4173
|
alias?: string | undefined;
|
|
4100
4174
|
condition?: any;
|
|
4101
4175
|
}[];
|
|
4102
|
-
fallback: string
|
|
4176
|
+
fallback: string;
|
|
4103
4177
|
};
|
|
4104
4178
|
coordinates: {
|
|
4105
4179
|
x: number;
|
|
@@ -4116,6 +4190,7 @@ declare const formSchema: z.ZodObject<{
|
|
|
4116
4190
|
config: {
|
|
4117
4191
|
content: string;
|
|
4118
4192
|
};
|
|
4193
|
+
category?: "BLOCK" | undefined;
|
|
4119
4194
|
order?: number | undefined;
|
|
4120
4195
|
visible?: boolean | undefined;
|
|
4121
4196
|
} | {
|
|
@@ -4126,6 +4201,7 @@ declare const formSchema: z.ZodObject<{
|
|
|
4126
4201
|
html?: boolean | undefined;
|
|
4127
4202
|
};
|
|
4128
4203
|
required?: boolean | undefined;
|
|
4204
|
+
category?: "FIELD" | undefined;
|
|
4129
4205
|
order?: number | undefined;
|
|
4130
4206
|
visible?: boolean | undefined;
|
|
4131
4207
|
} | {
|
|
@@ -4136,6 +4212,7 @@ declare const formSchema: z.ZodObject<{
|
|
|
4136
4212
|
multiline?: boolean | undefined;
|
|
4137
4213
|
};
|
|
4138
4214
|
required?: boolean | undefined;
|
|
4215
|
+
category?: "FIELD" | undefined;
|
|
4139
4216
|
sensitive?: boolean | undefined;
|
|
4140
4217
|
order?: number | undefined;
|
|
4141
4218
|
visible?: boolean | undefined;
|
|
@@ -4145,10 +4222,11 @@ declare const formSchema: z.ZodObject<{
|
|
|
4145
4222
|
config: {
|
|
4146
4223
|
text?: string | undefined;
|
|
4147
4224
|
};
|
|
4225
|
+
category?: "BLOCK" | undefined;
|
|
4148
4226
|
order?: number | undefined;
|
|
4149
4227
|
visible?: boolean | undefined;
|
|
4150
4228
|
})[];
|
|
4151
|
-
next_node
|
|
4229
|
+
next_node?: string | undefined;
|
|
4152
4230
|
};
|
|
4153
4231
|
coordinates: {
|
|
4154
4232
|
x: number;
|
|
@@ -7489,6 +7567,31 @@ export interface ClientsAdapter {
|
|
|
7489
7567
|
}>;
|
|
7490
7568
|
update(tenant_id: string, client_id: string, client: Partial<Client>): Promise<boolean>;
|
|
7491
7569
|
}
|
|
7570
|
+
export interface ClientConnectionsAdapter {
|
|
7571
|
+
/**
|
|
7572
|
+
* Get all connections enabled for a specific client
|
|
7573
|
+
* Returns connections in the order they were stored
|
|
7574
|
+
*/
|
|
7575
|
+
listByClient(tenant_id: string, client_id: string): Promise<Connection[]>;
|
|
7576
|
+
/**
|
|
7577
|
+
* Update the connections for a client
|
|
7578
|
+
* The connection_ids array determines both which connections are enabled
|
|
7579
|
+
* and their display order on the login page
|
|
7580
|
+
*/
|
|
7581
|
+
updateByClient(tenant_id: string, client_id: string, connection_ids: string[]): Promise<boolean>;
|
|
7582
|
+
/**
|
|
7583
|
+
* Get all clients that have a specific connection enabled
|
|
7584
|
+
*/
|
|
7585
|
+
listByConnection(tenant_id: string, connection_id: string): Promise<string[]>;
|
|
7586
|
+
/**
|
|
7587
|
+
* Add a client to a connection (add client_id to the list of clients using this connection)
|
|
7588
|
+
*/
|
|
7589
|
+
addClientToConnection(tenant_id: string, connection_id: string, client_id: string): Promise<boolean>;
|
|
7590
|
+
/**
|
|
7591
|
+
* Remove a client from a connection
|
|
7592
|
+
*/
|
|
7593
|
+
removeClientFromConnection(tenant_id: string, connection_id: string, client_id: string): Promise<boolean>;
|
|
7594
|
+
}
|
|
7492
7595
|
export interface ListClientGrantsResponse extends Totals {
|
|
7493
7596
|
client_grants: ClientGrant[];
|
|
7494
7597
|
}
|
|
@@ -7743,6 +7846,7 @@ export interface DataAdapters {
|
|
|
7743
7846
|
branding: BrandingAdapter;
|
|
7744
7847
|
cache?: CacheAdapter;
|
|
7745
7848
|
clients: ClientsAdapter;
|
|
7849
|
+
clientConnections: ClientConnectionsAdapter;
|
|
7746
7850
|
clientGrants: ClientGrantsAdapter;
|
|
7747
7851
|
legacyClients: LegacyClientsAdapter;
|
|
7748
7852
|
codes: CodesAdapter;
|
|
@@ -9251,6 +9355,7 @@ declare const sqlClientSchema: z.ZodObject<{
|
|
|
9251
9355
|
web_origins: z.ZodString;
|
|
9252
9356
|
client_aliases: z.ZodString;
|
|
9253
9357
|
allowed_clients: z.ZodString;
|
|
9358
|
+
connections: z.ZodString;
|
|
9254
9359
|
allowed_logout_urls: z.ZodString;
|
|
9255
9360
|
session_transfer: z.ZodString;
|
|
9256
9361
|
oidc_logout: z.ZodString;
|
|
@@ -9353,6 +9458,7 @@ declare const sqlClientSchema: z.ZodObject<{
|
|
|
9353
9458
|
web_origins: string;
|
|
9354
9459
|
client_aliases: string;
|
|
9355
9460
|
allowed_clients: string;
|
|
9461
|
+
connections: string;
|
|
9356
9462
|
session_transfer: string;
|
|
9357
9463
|
grant_types: string;
|
|
9358
9464
|
jwt_configuration: string;
|
|
@@ -9403,6 +9509,7 @@ declare const sqlClientSchema: z.ZodObject<{
|
|
|
9403
9509
|
web_origins: string;
|
|
9404
9510
|
client_aliases: string;
|
|
9405
9511
|
allowed_clients: string;
|
|
9512
|
+
connections: string;
|
|
9406
9513
|
session_transfer: string;
|
|
9407
9514
|
grant_types: string;
|
|
9408
9515
|
jwt_configuration: string;
|