@authhero/adapter-interfaces 0.103.0 → 0.105.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/adapter-interfaces.cjs +1 -1
- package/dist/adapter-interfaces.d.ts +228 -112
- package/dist/adapter-interfaces.mjs +31 -24
- package/package.json +1 -1
|
@@ -640,6 +640,7 @@ export declare const clientInsertSchema: z.ZodObject<{
|
|
|
640
640
|
web_origins: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
641
641
|
client_aliases: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
642
642
|
allowed_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
643
|
+
connections: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
643
644
|
allowed_logout_urls: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
644
645
|
session_transfer: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
645
646
|
oidc_logout: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
@@ -712,6 +713,7 @@ export declare const clientInsertSchema: z.ZodObject<{
|
|
|
712
713
|
web_origins?: string[] | undefined;
|
|
713
714
|
client_aliases?: string[] | undefined;
|
|
714
715
|
allowed_clients?: string[] | undefined;
|
|
716
|
+
connections?: string[] | undefined;
|
|
715
717
|
allowed_logout_urls?: string[] | undefined;
|
|
716
718
|
session_transfer?: Record<string, any> | undefined;
|
|
717
719
|
oidc_logout?: Record<string, any> | undefined;
|
|
@@ -753,6 +755,7 @@ export declare const clientInsertSchema: z.ZodObject<{
|
|
|
753
755
|
web_origins?: string[] | undefined;
|
|
754
756
|
client_aliases?: string[] | undefined;
|
|
755
757
|
allowed_clients?: string[] | undefined;
|
|
758
|
+
connections?: string[] | undefined;
|
|
756
759
|
allowed_logout_urls?: string[] | undefined;
|
|
757
760
|
session_transfer?: Record<string, any> | undefined;
|
|
758
761
|
oidc_logout?: Record<string, any> | undefined;
|
|
@@ -827,6 +830,7 @@ export declare const clientSchema: z.ZodObject<{
|
|
|
827
830
|
web_origins: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
828
831
|
client_aliases: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
829
832
|
allowed_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
833
|
+
connections: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
830
834
|
allowed_logout_urls: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
831
835
|
session_transfer: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
832
836
|
oidc_logout: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
@@ -903,6 +907,7 @@ export declare const clientSchema: z.ZodObject<{
|
|
|
903
907
|
web_origins?: string[] | undefined;
|
|
904
908
|
client_aliases?: string[] | undefined;
|
|
905
909
|
allowed_clients?: string[] | undefined;
|
|
910
|
+
connections?: string[] | undefined;
|
|
906
911
|
allowed_logout_urls?: string[] | undefined;
|
|
907
912
|
session_transfer?: Record<string, any> | undefined;
|
|
908
913
|
oidc_logout?: Record<string, any> | undefined;
|
|
@@ -946,6 +951,7 @@ export declare const clientSchema: z.ZodObject<{
|
|
|
946
951
|
web_origins?: string[] | undefined;
|
|
947
952
|
client_aliases?: string[] | undefined;
|
|
948
953
|
allowed_clients?: string[] | undefined;
|
|
954
|
+
connections?: string[] | undefined;
|
|
949
955
|
allowed_logout_urls?: string[] | undefined;
|
|
950
956
|
session_transfer?: Record<string, any> | undefined;
|
|
951
957
|
oidc_logout?: Record<string, any> | undefined;
|
|
@@ -8950,6 +8956,41 @@ declare const LegacyClientSchema: z.ZodObject<{
|
|
|
8950
8956
|
global: boolean;
|
|
8951
8957
|
is_first_party: boolean;
|
|
8952
8958
|
oidc_conformant: boolean;
|
|
8959
|
+
connections: {
|
|
8960
|
+
options: {
|
|
8961
|
+
provider?: string | undefined;
|
|
8962
|
+
client_id?: string | undefined;
|
|
8963
|
+
client_secret?: string | undefined;
|
|
8964
|
+
scope?: string | undefined;
|
|
8965
|
+
kid?: string | undefined;
|
|
8966
|
+
team_id?: string | undefined;
|
|
8967
|
+
realms?: string | undefined;
|
|
8968
|
+
authentication_method?: string | undefined;
|
|
8969
|
+
app_secret?: string | undefined;
|
|
8970
|
+
authorization_endpoint?: string | undefined;
|
|
8971
|
+
token_endpoint?: string | undefined;
|
|
8972
|
+
userinfo_endpoint?: string | undefined;
|
|
8973
|
+
jwks_uri?: string | undefined;
|
|
8974
|
+
discovery_url?: string | undefined;
|
|
8975
|
+
issuer?: string | undefined;
|
|
8976
|
+
from?: string | undefined;
|
|
8977
|
+
twilio_sid?: string | undefined;
|
|
8978
|
+
twilio_token?: string | undefined;
|
|
8979
|
+
icon_url?: string | undefined;
|
|
8980
|
+
};
|
|
8981
|
+
created_at: string;
|
|
8982
|
+
updated_at: string;
|
|
8983
|
+
name: string;
|
|
8984
|
+
strategy: string;
|
|
8985
|
+
id?: string | undefined;
|
|
8986
|
+
response_type?: AuthorizationResponseType | undefined;
|
|
8987
|
+
response_mode?: AuthorizationResponseMode | undefined;
|
|
8988
|
+
display_name?: string | undefined;
|
|
8989
|
+
enabled_clients?: string[] | undefined;
|
|
8990
|
+
is_domain_connection?: boolean | undefined;
|
|
8991
|
+
show_as_button?: boolean | undefined;
|
|
8992
|
+
metadata?: Record<string, any> | undefined;
|
|
8993
|
+
}[];
|
|
8953
8994
|
sso: boolean;
|
|
8954
8995
|
sso_disabled: boolean;
|
|
8955
8996
|
cross_origin_authentication: boolean;
|
|
@@ -9057,41 +9098,6 @@ declare const LegacyClientSchema: z.ZodObject<{
|
|
|
9057
9098
|
pushed_authorization_requests_supported?: boolean | undefined;
|
|
9058
9099
|
authorization_response_iss_parameter_supported?: boolean | undefined;
|
|
9059
9100
|
};
|
|
9060
|
-
connections: {
|
|
9061
|
-
options: {
|
|
9062
|
-
provider?: string | undefined;
|
|
9063
|
-
client_id?: string | undefined;
|
|
9064
|
-
client_secret?: string | undefined;
|
|
9065
|
-
scope?: string | undefined;
|
|
9066
|
-
kid?: string | undefined;
|
|
9067
|
-
team_id?: string | undefined;
|
|
9068
|
-
realms?: string | undefined;
|
|
9069
|
-
authentication_method?: string | undefined;
|
|
9070
|
-
app_secret?: string | undefined;
|
|
9071
|
-
authorization_endpoint?: string | undefined;
|
|
9072
|
-
token_endpoint?: string | undefined;
|
|
9073
|
-
userinfo_endpoint?: string | undefined;
|
|
9074
|
-
jwks_uri?: string | undefined;
|
|
9075
|
-
discovery_url?: string | undefined;
|
|
9076
|
-
issuer?: string | undefined;
|
|
9077
|
-
from?: string | undefined;
|
|
9078
|
-
twilio_sid?: string | undefined;
|
|
9079
|
-
twilio_token?: string | undefined;
|
|
9080
|
-
icon_url?: string | undefined;
|
|
9081
|
-
};
|
|
9082
|
-
created_at: string;
|
|
9083
|
-
updated_at: string;
|
|
9084
|
-
name: string;
|
|
9085
|
-
strategy: string;
|
|
9086
|
-
id?: string | undefined;
|
|
9087
|
-
response_type?: AuthorizationResponseType | undefined;
|
|
9088
|
-
response_mode?: AuthorizationResponseMode | undefined;
|
|
9089
|
-
display_name?: string | undefined;
|
|
9090
|
-
enabled_clients?: string[] | undefined;
|
|
9091
|
-
is_domain_connection?: boolean | undefined;
|
|
9092
|
-
show_as_button?: boolean | undefined;
|
|
9093
|
-
metadata?: Record<string, any> | undefined;
|
|
9094
|
-
}[];
|
|
9095
9101
|
description?: string | undefined;
|
|
9096
9102
|
refresh_token?: Record<string, any> | undefined;
|
|
9097
9103
|
client_secret?: string | undefined;
|
|
@@ -9132,6 +9138,41 @@ declare const LegacyClientSchema: z.ZodObject<{
|
|
|
9132
9138
|
updated_at: string;
|
|
9133
9139
|
name: string;
|
|
9134
9140
|
client_id: string;
|
|
9141
|
+
connections: {
|
|
9142
|
+
created_at: string;
|
|
9143
|
+
updated_at: string;
|
|
9144
|
+
name: string;
|
|
9145
|
+
strategy: string;
|
|
9146
|
+
options?: {
|
|
9147
|
+
provider?: string | undefined;
|
|
9148
|
+
client_id?: string | undefined;
|
|
9149
|
+
client_secret?: string | undefined;
|
|
9150
|
+
scope?: string | undefined;
|
|
9151
|
+
kid?: string | undefined;
|
|
9152
|
+
team_id?: string | undefined;
|
|
9153
|
+
realms?: string | undefined;
|
|
9154
|
+
authentication_method?: string | undefined;
|
|
9155
|
+
app_secret?: string | undefined;
|
|
9156
|
+
authorization_endpoint?: string | undefined;
|
|
9157
|
+
token_endpoint?: string | undefined;
|
|
9158
|
+
userinfo_endpoint?: string | undefined;
|
|
9159
|
+
jwks_uri?: string | undefined;
|
|
9160
|
+
discovery_url?: string | undefined;
|
|
9161
|
+
issuer?: string | undefined;
|
|
9162
|
+
from?: string | undefined;
|
|
9163
|
+
twilio_sid?: string | undefined;
|
|
9164
|
+
twilio_token?: string | undefined;
|
|
9165
|
+
icon_url?: string | undefined;
|
|
9166
|
+
} | undefined;
|
|
9167
|
+
id?: string | undefined;
|
|
9168
|
+
response_type?: AuthorizationResponseType | undefined;
|
|
9169
|
+
response_mode?: AuthorizationResponseMode | undefined;
|
|
9170
|
+
display_name?: string | undefined;
|
|
9171
|
+
enabled_clients?: string[] | undefined;
|
|
9172
|
+
is_domain_connection?: boolean | undefined;
|
|
9173
|
+
show_as_button?: boolean | undefined;
|
|
9174
|
+
metadata?: Record<string, any> | undefined;
|
|
9175
|
+
}[];
|
|
9135
9176
|
tenant: {
|
|
9136
9177
|
created_at: string | null;
|
|
9137
9178
|
updated_at: string | null;
|
|
@@ -9233,41 +9274,6 @@ declare const LegacyClientSchema: z.ZodObject<{
|
|
|
9233
9274
|
pushed_authorization_requests_supported?: boolean | undefined;
|
|
9234
9275
|
authorization_response_iss_parameter_supported?: boolean | undefined;
|
|
9235
9276
|
};
|
|
9236
|
-
connections: {
|
|
9237
|
-
created_at: string;
|
|
9238
|
-
updated_at: string;
|
|
9239
|
-
name: string;
|
|
9240
|
-
strategy: string;
|
|
9241
|
-
options?: {
|
|
9242
|
-
provider?: string | undefined;
|
|
9243
|
-
client_id?: string | undefined;
|
|
9244
|
-
client_secret?: string | undefined;
|
|
9245
|
-
scope?: string | undefined;
|
|
9246
|
-
kid?: string | undefined;
|
|
9247
|
-
team_id?: string | undefined;
|
|
9248
|
-
realms?: string | undefined;
|
|
9249
|
-
authentication_method?: string | undefined;
|
|
9250
|
-
app_secret?: string | undefined;
|
|
9251
|
-
authorization_endpoint?: string | undefined;
|
|
9252
|
-
token_endpoint?: string | undefined;
|
|
9253
|
-
userinfo_endpoint?: string | undefined;
|
|
9254
|
-
jwks_uri?: string | undefined;
|
|
9255
|
-
discovery_url?: string | undefined;
|
|
9256
|
-
issuer?: string | undefined;
|
|
9257
|
-
from?: string | undefined;
|
|
9258
|
-
twilio_sid?: string | undefined;
|
|
9259
|
-
twilio_token?: string | undefined;
|
|
9260
|
-
icon_url?: string | undefined;
|
|
9261
|
-
} | undefined;
|
|
9262
|
-
id?: string | undefined;
|
|
9263
|
-
response_type?: AuthorizationResponseType | undefined;
|
|
9264
|
-
response_mode?: AuthorizationResponseMode | undefined;
|
|
9265
|
-
display_name?: string | undefined;
|
|
9266
|
-
enabled_clients?: string[] | undefined;
|
|
9267
|
-
is_domain_connection?: boolean | undefined;
|
|
9268
|
-
show_as_button?: boolean | undefined;
|
|
9269
|
-
metadata?: Record<string, any> | undefined;
|
|
9270
|
-
}[];
|
|
9271
9277
|
description?: string | undefined;
|
|
9272
9278
|
refresh_token?: Record<string, any> | undefined;
|
|
9273
9279
|
global?: boolean | undefined;
|
|
@@ -10057,6 +10063,7 @@ export type FormControl = z.infer<typeof formControlSchema>;
|
|
|
10057
10063
|
export declare const formNodeComponentDefinition: z.ZodDiscriminatedUnion<"type", [
|
|
10058
10064
|
z.ZodObject<{
|
|
10059
10065
|
id: z.ZodString;
|
|
10066
|
+
category: z.ZodOptional<z.ZodLiteral<"BLOCK">>;
|
|
10060
10067
|
type: z.ZodLiteral<"RICH_TEXT">;
|
|
10061
10068
|
config: z.ZodObject<{
|
|
10062
10069
|
content: z.ZodString;
|
|
@@ -10074,6 +10081,7 @@ export declare const formNodeComponentDefinition: z.ZodDiscriminatedUnion<"type"
|
|
|
10074
10081
|
content: string;
|
|
10075
10082
|
};
|
|
10076
10083
|
visible: boolean;
|
|
10084
|
+
category?: "BLOCK" | undefined;
|
|
10077
10085
|
order?: number | undefined;
|
|
10078
10086
|
}, {
|
|
10079
10087
|
type: "RICH_TEXT";
|
|
@@ -10081,11 +10089,13 @@ export declare const formNodeComponentDefinition: z.ZodDiscriminatedUnion<"type"
|
|
|
10081
10089
|
config: {
|
|
10082
10090
|
content: string;
|
|
10083
10091
|
};
|
|
10092
|
+
category?: "BLOCK" | undefined;
|
|
10084
10093
|
order?: number | undefined;
|
|
10085
10094
|
visible?: boolean | undefined;
|
|
10086
10095
|
}>,
|
|
10087
10096
|
z.ZodObject<{
|
|
10088
10097
|
id: z.ZodString;
|
|
10098
|
+
category: z.ZodOptional<z.ZodLiteral<"FIELD">>;
|
|
10089
10099
|
type: z.ZodLiteral<"LEGAL">;
|
|
10090
10100
|
config: z.ZodObject<{
|
|
10091
10101
|
text: z.ZodString;
|
|
@@ -10109,6 +10119,7 @@ export declare const formNodeComponentDefinition: z.ZodDiscriminatedUnion<"type"
|
|
|
10109
10119
|
};
|
|
10110
10120
|
visible: boolean;
|
|
10111
10121
|
required?: boolean | undefined;
|
|
10122
|
+
category?: "FIELD" | undefined;
|
|
10112
10123
|
order?: number | undefined;
|
|
10113
10124
|
}, {
|
|
10114
10125
|
type: "LEGAL";
|
|
@@ -10118,11 +10129,13 @@ export declare const formNodeComponentDefinition: z.ZodDiscriminatedUnion<"type"
|
|
|
10118
10129
|
html?: boolean | undefined;
|
|
10119
10130
|
};
|
|
10120
10131
|
required?: boolean | undefined;
|
|
10132
|
+
category?: "FIELD" | undefined;
|
|
10121
10133
|
order?: number | undefined;
|
|
10122
10134
|
visible?: boolean | undefined;
|
|
10123
10135
|
}>,
|
|
10124
10136
|
z.ZodObject<{
|
|
10125
10137
|
id: z.ZodString;
|
|
10138
|
+
category: z.ZodOptional<z.ZodLiteral<"FIELD">>;
|
|
10126
10139
|
type: z.ZodLiteral<"TEXT">;
|
|
10127
10140
|
config: z.ZodObject<{
|
|
10128
10141
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
@@ -10147,6 +10160,7 @@ export declare const formNodeComponentDefinition: z.ZodDiscriminatedUnion<"type"
|
|
|
10147
10160
|
};
|
|
10148
10161
|
visible: boolean;
|
|
10149
10162
|
required?: boolean | undefined;
|
|
10163
|
+
category?: "FIELD" | undefined;
|
|
10150
10164
|
sensitive?: boolean | undefined;
|
|
10151
10165
|
order?: number | undefined;
|
|
10152
10166
|
}, {
|
|
@@ -10157,12 +10171,14 @@ export declare const formNodeComponentDefinition: z.ZodDiscriminatedUnion<"type"
|
|
|
10157
10171
|
multiline?: boolean | undefined;
|
|
10158
10172
|
};
|
|
10159
10173
|
required?: boolean | undefined;
|
|
10174
|
+
category?: "FIELD" | undefined;
|
|
10160
10175
|
sensitive?: boolean | undefined;
|
|
10161
10176
|
order?: number | undefined;
|
|
10162
10177
|
visible?: boolean | undefined;
|
|
10163
10178
|
}>,
|
|
10164
10179
|
z.ZodObject<{
|
|
10165
10180
|
id: z.ZodString;
|
|
10181
|
+
category: z.ZodOptional<z.ZodLiteral<"BLOCK">>;
|
|
10166
10182
|
type: z.ZodLiteral<"NEXT_BUTTON">;
|
|
10167
10183
|
config: z.ZodObject<{
|
|
10168
10184
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -10180,6 +10196,7 @@ export declare const formNodeComponentDefinition: z.ZodDiscriminatedUnion<"type"
|
|
|
10180
10196
|
text?: string | undefined;
|
|
10181
10197
|
};
|
|
10182
10198
|
visible: boolean;
|
|
10199
|
+
category?: "BLOCK" | undefined;
|
|
10183
10200
|
order?: number | undefined;
|
|
10184
10201
|
}, {
|
|
10185
10202
|
type: "NEXT_BUTTON";
|
|
@@ -10187,6 +10204,7 @@ export declare const formNodeComponentDefinition: z.ZodDiscriminatedUnion<"type"
|
|
|
10187
10204
|
config: {
|
|
10188
10205
|
text?: string | undefined;
|
|
10189
10206
|
};
|
|
10207
|
+
category?: "BLOCK" | undefined;
|
|
10190
10208
|
order?: number | undefined;
|
|
10191
10209
|
visible?: boolean | undefined;
|
|
10192
10210
|
}>
|
|
@@ -10235,20 +10253,20 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
10235
10253
|
alias: z.ZodOptional<z.ZodString>;
|
|
10236
10254
|
config: z.ZodObject<{
|
|
10237
10255
|
flow_id: z.ZodString;
|
|
10238
|
-
next_node: z.ZodString
|
|
10256
|
+
next_node: z.ZodOptional<z.ZodString>;
|
|
10239
10257
|
}, "strip", z.ZodTypeAny, {
|
|
10240
|
-
next_node: string;
|
|
10241
10258
|
flow_id: string;
|
|
10259
|
+
next_node?: string | undefined;
|
|
10242
10260
|
}, {
|
|
10243
|
-
next_node: string;
|
|
10244
10261
|
flow_id: string;
|
|
10262
|
+
next_node?: string | undefined;
|
|
10245
10263
|
}>;
|
|
10246
10264
|
}, "strip", z.ZodTypeAny, {
|
|
10247
10265
|
type: "FLOW";
|
|
10248
10266
|
id: string;
|
|
10249
10267
|
config: {
|
|
10250
|
-
next_node: string;
|
|
10251
10268
|
flow_id: string;
|
|
10269
|
+
next_node?: string | undefined;
|
|
10252
10270
|
};
|
|
10253
10271
|
coordinates: {
|
|
10254
10272
|
x: number;
|
|
@@ -10259,8 +10277,8 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
10259
10277
|
type: "FLOW";
|
|
10260
10278
|
id: string;
|
|
10261
10279
|
config: {
|
|
10262
|
-
next_node: string;
|
|
10263
10280
|
flow_id: string;
|
|
10281
|
+
next_node?: string | undefined;
|
|
10264
10282
|
};
|
|
10265
10283
|
coordinates: {
|
|
10266
10284
|
x: number;
|
|
@@ -10299,7 +10317,7 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
10299
10317
|
alias?: string | undefined;
|
|
10300
10318
|
condition?: any;
|
|
10301
10319
|
}>, "many">;
|
|
10302
|
-
fallback: z.
|
|
10320
|
+
fallback: z.ZodString;
|
|
10303
10321
|
}, "strip", z.ZodTypeAny, {
|
|
10304
10322
|
rules: {
|
|
10305
10323
|
id: string;
|
|
@@ -10307,7 +10325,7 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
10307
10325
|
alias?: string | undefined;
|
|
10308
10326
|
condition?: any;
|
|
10309
10327
|
}[];
|
|
10310
|
-
fallback: string
|
|
10328
|
+
fallback: string;
|
|
10311
10329
|
}, {
|
|
10312
10330
|
rules: {
|
|
10313
10331
|
id: string;
|
|
@@ -10315,7 +10333,7 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
10315
10333
|
alias?: string | undefined;
|
|
10316
10334
|
condition?: any;
|
|
10317
10335
|
}[];
|
|
10318
|
-
fallback: string
|
|
10336
|
+
fallback: string;
|
|
10319
10337
|
}>;
|
|
10320
10338
|
}, "strip", z.ZodTypeAny, {
|
|
10321
10339
|
type: "ROUTER";
|
|
@@ -10327,7 +10345,7 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
10327
10345
|
alias?: string | undefined;
|
|
10328
10346
|
condition?: any;
|
|
10329
10347
|
}[];
|
|
10330
|
-
fallback: string
|
|
10348
|
+
fallback: string;
|
|
10331
10349
|
};
|
|
10332
10350
|
coordinates: {
|
|
10333
10351
|
x: number;
|
|
@@ -10344,7 +10362,7 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
10344
10362
|
alias?: string | undefined;
|
|
10345
10363
|
condition?: any;
|
|
10346
10364
|
}[];
|
|
10347
|
-
fallback: string
|
|
10365
|
+
fallback: string;
|
|
10348
10366
|
};
|
|
10349
10367
|
coordinates: {
|
|
10350
10368
|
x: number;
|
|
@@ -10370,6 +10388,7 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
10370
10388
|
components: z.ZodArray<z.ZodDiscriminatedUnion<"type", [
|
|
10371
10389
|
z.ZodObject<{
|
|
10372
10390
|
id: z.ZodString;
|
|
10391
|
+
category: z.ZodOptional<z.ZodLiteral<"BLOCK">>;
|
|
10373
10392
|
type: z.ZodLiteral<"RICH_TEXT">;
|
|
10374
10393
|
config: z.ZodObject<{
|
|
10375
10394
|
content: z.ZodString;
|
|
@@ -10387,6 +10406,7 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
10387
10406
|
content: string;
|
|
10388
10407
|
};
|
|
10389
10408
|
visible: boolean;
|
|
10409
|
+
category?: "BLOCK" | undefined;
|
|
10390
10410
|
order?: number | undefined;
|
|
10391
10411
|
}, {
|
|
10392
10412
|
type: "RICH_TEXT";
|
|
@@ -10394,11 +10414,13 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
10394
10414
|
config: {
|
|
10395
10415
|
content: string;
|
|
10396
10416
|
};
|
|
10417
|
+
category?: "BLOCK" | undefined;
|
|
10397
10418
|
order?: number | undefined;
|
|
10398
10419
|
visible?: boolean | undefined;
|
|
10399
10420
|
}>,
|
|
10400
10421
|
z.ZodObject<{
|
|
10401
10422
|
id: z.ZodString;
|
|
10423
|
+
category: z.ZodOptional<z.ZodLiteral<"FIELD">>;
|
|
10402
10424
|
type: z.ZodLiteral<"LEGAL">;
|
|
10403
10425
|
config: z.ZodObject<{
|
|
10404
10426
|
text: z.ZodString;
|
|
@@ -10422,6 +10444,7 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
10422
10444
|
};
|
|
10423
10445
|
visible: boolean;
|
|
10424
10446
|
required?: boolean | undefined;
|
|
10447
|
+
category?: "FIELD" | undefined;
|
|
10425
10448
|
order?: number | undefined;
|
|
10426
10449
|
}, {
|
|
10427
10450
|
type: "LEGAL";
|
|
@@ -10431,11 +10454,13 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
10431
10454
|
html?: boolean | undefined;
|
|
10432
10455
|
};
|
|
10433
10456
|
required?: boolean | undefined;
|
|
10457
|
+
category?: "FIELD" | undefined;
|
|
10434
10458
|
order?: number | undefined;
|
|
10435
10459
|
visible?: boolean | undefined;
|
|
10436
10460
|
}>,
|
|
10437
10461
|
z.ZodObject<{
|
|
10438
10462
|
id: z.ZodString;
|
|
10463
|
+
category: z.ZodOptional<z.ZodLiteral<"FIELD">>;
|
|
10439
10464
|
type: z.ZodLiteral<"TEXT">;
|
|
10440
10465
|
config: z.ZodObject<{
|
|
10441
10466
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
@@ -10460,6 +10485,7 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
10460
10485
|
};
|
|
10461
10486
|
visible: boolean;
|
|
10462
10487
|
required?: boolean | undefined;
|
|
10488
|
+
category?: "FIELD" | undefined;
|
|
10463
10489
|
sensitive?: boolean | undefined;
|
|
10464
10490
|
order?: number | undefined;
|
|
10465
10491
|
}, {
|
|
@@ -10470,12 +10496,14 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
10470
10496
|
multiline?: boolean | undefined;
|
|
10471
10497
|
};
|
|
10472
10498
|
required?: boolean | undefined;
|
|
10499
|
+
category?: "FIELD" | undefined;
|
|
10473
10500
|
sensitive?: boolean | undefined;
|
|
10474
10501
|
order?: number | undefined;
|
|
10475
10502
|
visible?: boolean | undefined;
|
|
10476
10503
|
}>,
|
|
10477
10504
|
z.ZodObject<{
|
|
10478
10505
|
id: z.ZodString;
|
|
10506
|
+
category: z.ZodOptional<z.ZodLiteral<"BLOCK">>;
|
|
10479
10507
|
type: z.ZodLiteral<"NEXT_BUTTON">;
|
|
10480
10508
|
config: z.ZodObject<{
|
|
10481
10509
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -10493,6 +10521,7 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
10493
10521
|
text?: string | undefined;
|
|
10494
10522
|
};
|
|
10495
10523
|
visible: boolean;
|
|
10524
|
+
category?: "BLOCK" | undefined;
|
|
10496
10525
|
order?: number | undefined;
|
|
10497
10526
|
}, {
|
|
10498
10527
|
type: "NEXT_BUTTON";
|
|
@@ -10500,11 +10529,12 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
10500
10529
|
config: {
|
|
10501
10530
|
text?: string | undefined;
|
|
10502
10531
|
};
|
|
10532
|
+
category?: "BLOCK" | undefined;
|
|
10503
10533
|
order?: number | undefined;
|
|
10504
10534
|
visible?: boolean | undefined;
|
|
10505
10535
|
}>
|
|
10506
10536
|
]>, "many">;
|
|
10507
|
-
next_node: z.ZodString
|
|
10537
|
+
next_node: z.ZodOptional<z.ZodString>;
|
|
10508
10538
|
}, "strip", z.ZodTypeAny, {
|
|
10509
10539
|
components: ({
|
|
10510
10540
|
type: "RICH_TEXT";
|
|
@@ -10513,6 +10543,7 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
10513
10543
|
content: string;
|
|
10514
10544
|
};
|
|
10515
10545
|
visible: boolean;
|
|
10546
|
+
category?: "BLOCK" | undefined;
|
|
10516
10547
|
order?: number | undefined;
|
|
10517
10548
|
} | {
|
|
10518
10549
|
type: "LEGAL";
|
|
@@ -10523,6 +10554,7 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
10523
10554
|
};
|
|
10524
10555
|
visible: boolean;
|
|
10525
10556
|
required?: boolean | undefined;
|
|
10557
|
+
category?: "FIELD" | undefined;
|
|
10526
10558
|
order?: number | undefined;
|
|
10527
10559
|
} | {
|
|
10528
10560
|
type: "TEXT";
|
|
@@ -10533,6 +10565,7 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
10533
10565
|
};
|
|
10534
10566
|
visible: boolean;
|
|
10535
10567
|
required?: boolean | undefined;
|
|
10568
|
+
category?: "FIELD" | undefined;
|
|
10536
10569
|
sensitive?: boolean | undefined;
|
|
10537
10570
|
order?: number | undefined;
|
|
10538
10571
|
} | {
|
|
@@ -10542,9 +10575,10 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
10542
10575
|
text?: string | undefined;
|
|
10543
10576
|
};
|
|
10544
10577
|
visible: boolean;
|
|
10578
|
+
category?: "BLOCK" | undefined;
|
|
10545
10579
|
order?: number | undefined;
|
|
10546
10580
|
})[];
|
|
10547
|
-
next_node
|
|
10581
|
+
next_node?: string | undefined;
|
|
10548
10582
|
}, {
|
|
10549
10583
|
components: ({
|
|
10550
10584
|
type: "RICH_TEXT";
|
|
@@ -10552,6 +10586,7 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
10552
10586
|
config: {
|
|
10553
10587
|
content: string;
|
|
10554
10588
|
};
|
|
10589
|
+
category?: "BLOCK" | undefined;
|
|
10555
10590
|
order?: number | undefined;
|
|
10556
10591
|
visible?: boolean | undefined;
|
|
10557
10592
|
} | {
|
|
@@ -10562,6 +10597,7 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
10562
10597
|
html?: boolean | undefined;
|
|
10563
10598
|
};
|
|
10564
10599
|
required?: boolean | undefined;
|
|
10600
|
+
category?: "FIELD" | undefined;
|
|
10565
10601
|
order?: number | undefined;
|
|
10566
10602
|
visible?: boolean | undefined;
|
|
10567
10603
|
} | {
|
|
@@ -10572,6 +10608,7 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
10572
10608
|
multiline?: boolean | undefined;
|
|
10573
10609
|
};
|
|
10574
10610
|
required?: boolean | undefined;
|
|
10611
|
+
category?: "FIELD" | undefined;
|
|
10575
10612
|
sensitive?: boolean | undefined;
|
|
10576
10613
|
order?: number | undefined;
|
|
10577
10614
|
visible?: boolean | undefined;
|
|
@@ -10581,10 +10618,11 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
10581
10618
|
config: {
|
|
10582
10619
|
text?: string | undefined;
|
|
10583
10620
|
};
|
|
10621
|
+
category?: "BLOCK" | undefined;
|
|
10584
10622
|
order?: number | undefined;
|
|
10585
10623
|
visible?: boolean | undefined;
|
|
10586
10624
|
})[];
|
|
10587
|
-
next_node
|
|
10625
|
+
next_node?: string | undefined;
|
|
10588
10626
|
}>;
|
|
10589
10627
|
}, "strip", z.ZodTypeAny, {
|
|
10590
10628
|
type: "STEP";
|
|
@@ -10597,6 +10635,7 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
10597
10635
|
content: string;
|
|
10598
10636
|
};
|
|
10599
10637
|
visible: boolean;
|
|
10638
|
+
category?: "BLOCK" | undefined;
|
|
10600
10639
|
order?: number | undefined;
|
|
10601
10640
|
} | {
|
|
10602
10641
|
type: "LEGAL";
|
|
@@ -10607,6 +10646,7 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
10607
10646
|
};
|
|
10608
10647
|
visible: boolean;
|
|
10609
10648
|
required?: boolean | undefined;
|
|
10649
|
+
category?: "FIELD" | undefined;
|
|
10610
10650
|
order?: number | undefined;
|
|
10611
10651
|
} | {
|
|
10612
10652
|
type: "TEXT";
|
|
@@ -10617,6 +10657,7 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
10617
10657
|
};
|
|
10618
10658
|
visible: boolean;
|
|
10619
10659
|
required?: boolean | undefined;
|
|
10660
|
+
category?: "FIELD" | undefined;
|
|
10620
10661
|
sensitive?: boolean | undefined;
|
|
10621
10662
|
order?: number | undefined;
|
|
10622
10663
|
} | {
|
|
@@ -10626,9 +10667,10 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
10626
10667
|
text?: string | undefined;
|
|
10627
10668
|
};
|
|
10628
10669
|
visible: boolean;
|
|
10670
|
+
category?: "BLOCK" | undefined;
|
|
10629
10671
|
order?: number | undefined;
|
|
10630
10672
|
})[];
|
|
10631
|
-
next_node
|
|
10673
|
+
next_node?: string | undefined;
|
|
10632
10674
|
};
|
|
10633
10675
|
coordinates: {
|
|
10634
10676
|
x: number;
|
|
@@ -10645,6 +10687,7 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
10645
10687
|
config: {
|
|
10646
10688
|
content: string;
|
|
10647
10689
|
};
|
|
10690
|
+
category?: "BLOCK" | undefined;
|
|
10648
10691
|
order?: number | undefined;
|
|
10649
10692
|
visible?: boolean | undefined;
|
|
10650
10693
|
} | {
|
|
@@ -10655,6 +10698,7 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
10655
10698
|
html?: boolean | undefined;
|
|
10656
10699
|
};
|
|
10657
10700
|
required?: boolean | undefined;
|
|
10701
|
+
category?: "FIELD" | undefined;
|
|
10658
10702
|
order?: number | undefined;
|
|
10659
10703
|
visible?: boolean | undefined;
|
|
10660
10704
|
} | {
|
|
@@ -10665,6 +10709,7 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
10665
10709
|
multiline?: boolean | undefined;
|
|
10666
10710
|
};
|
|
10667
10711
|
required?: boolean | undefined;
|
|
10712
|
+
category?: "FIELD" | undefined;
|
|
10668
10713
|
sensitive?: boolean | undefined;
|
|
10669
10714
|
order?: number | undefined;
|
|
10670
10715
|
visible?: boolean | undefined;
|
|
@@ -10674,10 +10719,11 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
10674
10719
|
config: {
|
|
10675
10720
|
text?: string | undefined;
|
|
10676
10721
|
};
|
|
10722
|
+
category?: "BLOCK" | undefined;
|
|
10677
10723
|
order?: number | undefined;
|
|
10678
10724
|
visible?: boolean | undefined;
|
|
10679
10725
|
})[];
|
|
10680
|
-
next_node
|
|
10726
|
+
next_node?: string | undefined;
|
|
10681
10727
|
};
|
|
10682
10728
|
coordinates: {
|
|
10683
10729
|
x: number;
|
|
@@ -10816,8 +10862,8 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
10816
10862
|
type: "FLOW";
|
|
10817
10863
|
id: string;
|
|
10818
10864
|
config: {
|
|
10819
|
-
next_node: string;
|
|
10820
10865
|
flow_id: string;
|
|
10866
|
+
next_node?: string | undefined;
|
|
10821
10867
|
};
|
|
10822
10868
|
coordinates: {
|
|
10823
10869
|
x: number;
|
|
@@ -10834,7 +10880,7 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
10834
10880
|
alias?: string | undefined;
|
|
10835
10881
|
condition?: any;
|
|
10836
10882
|
}[];
|
|
10837
|
-
fallback: string
|
|
10883
|
+
fallback: string;
|
|
10838
10884
|
};
|
|
10839
10885
|
coordinates: {
|
|
10840
10886
|
x: number;
|
|
@@ -10852,6 +10898,7 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
10852
10898
|
content: string;
|
|
10853
10899
|
};
|
|
10854
10900
|
visible: boolean;
|
|
10901
|
+
category?: "BLOCK" | undefined;
|
|
10855
10902
|
order?: number | undefined;
|
|
10856
10903
|
} | {
|
|
10857
10904
|
type: "LEGAL";
|
|
@@ -10862,6 +10909,7 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
10862
10909
|
};
|
|
10863
10910
|
visible: boolean;
|
|
10864
10911
|
required?: boolean | undefined;
|
|
10912
|
+
category?: "FIELD" | undefined;
|
|
10865
10913
|
order?: number | undefined;
|
|
10866
10914
|
} | {
|
|
10867
10915
|
type: "TEXT";
|
|
@@ -10872,6 +10920,7 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
10872
10920
|
};
|
|
10873
10921
|
visible: boolean;
|
|
10874
10922
|
required?: boolean | undefined;
|
|
10923
|
+
category?: "FIELD" | undefined;
|
|
10875
10924
|
sensitive?: boolean | undefined;
|
|
10876
10925
|
order?: number | undefined;
|
|
10877
10926
|
} | {
|
|
@@ -10881,9 +10930,10 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
10881
10930
|
text?: string | undefined;
|
|
10882
10931
|
};
|
|
10883
10932
|
visible: boolean;
|
|
10933
|
+
category?: "BLOCK" | undefined;
|
|
10884
10934
|
order?: number | undefined;
|
|
10885
10935
|
})[];
|
|
10886
|
-
next_node
|
|
10936
|
+
next_node?: string | undefined;
|
|
10887
10937
|
};
|
|
10888
10938
|
coordinates: {
|
|
10889
10939
|
x: number;
|
|
@@ -10934,8 +10984,8 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
10934
10984
|
type: "FLOW";
|
|
10935
10985
|
id: string;
|
|
10936
10986
|
config: {
|
|
10937
|
-
next_node: string;
|
|
10938
10987
|
flow_id: string;
|
|
10988
|
+
next_node?: string | undefined;
|
|
10939
10989
|
};
|
|
10940
10990
|
coordinates: {
|
|
10941
10991
|
x: number;
|
|
@@ -10952,7 +11002,7 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
10952
11002
|
alias?: string | undefined;
|
|
10953
11003
|
condition?: any;
|
|
10954
11004
|
}[];
|
|
10955
|
-
fallback: string
|
|
11005
|
+
fallback: string;
|
|
10956
11006
|
};
|
|
10957
11007
|
coordinates: {
|
|
10958
11008
|
x: number;
|
|
@@ -10969,6 +11019,7 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
10969
11019
|
config: {
|
|
10970
11020
|
content: string;
|
|
10971
11021
|
};
|
|
11022
|
+
category?: "BLOCK" | undefined;
|
|
10972
11023
|
order?: number | undefined;
|
|
10973
11024
|
visible?: boolean | undefined;
|
|
10974
11025
|
} | {
|
|
@@ -10979,6 +11030,7 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
10979
11030
|
html?: boolean | undefined;
|
|
10980
11031
|
};
|
|
10981
11032
|
required?: boolean | undefined;
|
|
11033
|
+
category?: "FIELD" | undefined;
|
|
10982
11034
|
order?: number | undefined;
|
|
10983
11035
|
visible?: boolean | undefined;
|
|
10984
11036
|
} | {
|
|
@@ -10989,6 +11041,7 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
10989
11041
|
multiline?: boolean | undefined;
|
|
10990
11042
|
};
|
|
10991
11043
|
required?: boolean | undefined;
|
|
11044
|
+
category?: "FIELD" | undefined;
|
|
10992
11045
|
sensitive?: boolean | undefined;
|
|
10993
11046
|
order?: number | undefined;
|
|
10994
11047
|
visible?: boolean | undefined;
|
|
@@ -10998,10 +11051,11 @@ export declare const formInsertSchema: z.ZodObject<{
|
|
|
10998
11051
|
config: {
|
|
10999
11052
|
text?: string | undefined;
|
|
11000
11053
|
};
|
|
11054
|
+
category?: "BLOCK" | undefined;
|
|
11001
11055
|
order?: number | undefined;
|
|
11002
11056
|
visible?: boolean | undefined;
|
|
11003
11057
|
})[];
|
|
11004
|
-
next_node
|
|
11058
|
+
next_node?: string | undefined;
|
|
11005
11059
|
};
|
|
11006
11060
|
coordinates: {
|
|
11007
11061
|
x: number;
|
|
@@ -11074,20 +11128,20 @@ export declare const formSchema: z.ZodObject<{
|
|
|
11074
11128
|
alias: z.ZodOptional<z.ZodString>;
|
|
11075
11129
|
config: z.ZodObject<{
|
|
11076
11130
|
flow_id: z.ZodString;
|
|
11077
|
-
next_node: z.ZodString
|
|
11131
|
+
next_node: z.ZodOptional<z.ZodString>;
|
|
11078
11132
|
}, "strip", z.ZodTypeAny, {
|
|
11079
|
-
next_node: string;
|
|
11080
11133
|
flow_id: string;
|
|
11134
|
+
next_node?: string | undefined;
|
|
11081
11135
|
}, {
|
|
11082
|
-
next_node: string;
|
|
11083
11136
|
flow_id: string;
|
|
11137
|
+
next_node?: string | undefined;
|
|
11084
11138
|
}>;
|
|
11085
11139
|
}, "strip", z.ZodTypeAny, {
|
|
11086
11140
|
type: "FLOW";
|
|
11087
11141
|
id: string;
|
|
11088
11142
|
config: {
|
|
11089
|
-
next_node: string;
|
|
11090
11143
|
flow_id: string;
|
|
11144
|
+
next_node?: string | undefined;
|
|
11091
11145
|
};
|
|
11092
11146
|
coordinates: {
|
|
11093
11147
|
x: number;
|
|
@@ -11098,8 +11152,8 @@ export declare const formSchema: z.ZodObject<{
|
|
|
11098
11152
|
type: "FLOW";
|
|
11099
11153
|
id: string;
|
|
11100
11154
|
config: {
|
|
11101
|
-
next_node: string;
|
|
11102
11155
|
flow_id: string;
|
|
11156
|
+
next_node?: string | undefined;
|
|
11103
11157
|
};
|
|
11104
11158
|
coordinates: {
|
|
11105
11159
|
x: number;
|
|
@@ -11138,7 +11192,7 @@ export declare const formSchema: z.ZodObject<{
|
|
|
11138
11192
|
alias?: string | undefined;
|
|
11139
11193
|
condition?: any;
|
|
11140
11194
|
}>, "many">;
|
|
11141
|
-
fallback: z.
|
|
11195
|
+
fallback: z.ZodString;
|
|
11142
11196
|
}, "strip", z.ZodTypeAny, {
|
|
11143
11197
|
rules: {
|
|
11144
11198
|
id: string;
|
|
@@ -11146,7 +11200,7 @@ export declare const formSchema: z.ZodObject<{
|
|
|
11146
11200
|
alias?: string | undefined;
|
|
11147
11201
|
condition?: any;
|
|
11148
11202
|
}[];
|
|
11149
|
-
fallback: string
|
|
11203
|
+
fallback: string;
|
|
11150
11204
|
}, {
|
|
11151
11205
|
rules: {
|
|
11152
11206
|
id: string;
|
|
@@ -11154,7 +11208,7 @@ export declare const formSchema: z.ZodObject<{
|
|
|
11154
11208
|
alias?: string | undefined;
|
|
11155
11209
|
condition?: any;
|
|
11156
11210
|
}[];
|
|
11157
|
-
fallback: string
|
|
11211
|
+
fallback: string;
|
|
11158
11212
|
}>;
|
|
11159
11213
|
}, "strip", z.ZodTypeAny, {
|
|
11160
11214
|
type: "ROUTER";
|
|
@@ -11166,7 +11220,7 @@ export declare const formSchema: z.ZodObject<{
|
|
|
11166
11220
|
alias?: string | undefined;
|
|
11167
11221
|
condition?: any;
|
|
11168
11222
|
}[];
|
|
11169
|
-
fallback: string
|
|
11223
|
+
fallback: string;
|
|
11170
11224
|
};
|
|
11171
11225
|
coordinates: {
|
|
11172
11226
|
x: number;
|
|
@@ -11183,7 +11237,7 @@ export declare const formSchema: z.ZodObject<{
|
|
|
11183
11237
|
alias?: string | undefined;
|
|
11184
11238
|
condition?: any;
|
|
11185
11239
|
}[];
|
|
11186
|
-
fallback: string
|
|
11240
|
+
fallback: string;
|
|
11187
11241
|
};
|
|
11188
11242
|
coordinates: {
|
|
11189
11243
|
x: number;
|
|
@@ -11209,6 +11263,7 @@ export declare const formSchema: z.ZodObject<{
|
|
|
11209
11263
|
components: z.ZodArray<z.ZodDiscriminatedUnion<"type", [
|
|
11210
11264
|
z.ZodObject<{
|
|
11211
11265
|
id: z.ZodString;
|
|
11266
|
+
category: z.ZodOptional<z.ZodLiteral<"BLOCK">>;
|
|
11212
11267
|
type: z.ZodLiteral<"RICH_TEXT">;
|
|
11213
11268
|
config: z.ZodObject<{
|
|
11214
11269
|
content: z.ZodString;
|
|
@@ -11226,6 +11281,7 @@ export declare const formSchema: z.ZodObject<{
|
|
|
11226
11281
|
content: string;
|
|
11227
11282
|
};
|
|
11228
11283
|
visible: boolean;
|
|
11284
|
+
category?: "BLOCK" | undefined;
|
|
11229
11285
|
order?: number | undefined;
|
|
11230
11286
|
}, {
|
|
11231
11287
|
type: "RICH_TEXT";
|
|
@@ -11233,11 +11289,13 @@ export declare const formSchema: z.ZodObject<{
|
|
|
11233
11289
|
config: {
|
|
11234
11290
|
content: string;
|
|
11235
11291
|
};
|
|
11292
|
+
category?: "BLOCK" | undefined;
|
|
11236
11293
|
order?: number | undefined;
|
|
11237
11294
|
visible?: boolean | undefined;
|
|
11238
11295
|
}>,
|
|
11239
11296
|
z.ZodObject<{
|
|
11240
11297
|
id: z.ZodString;
|
|
11298
|
+
category: z.ZodOptional<z.ZodLiteral<"FIELD">>;
|
|
11241
11299
|
type: z.ZodLiteral<"LEGAL">;
|
|
11242
11300
|
config: z.ZodObject<{
|
|
11243
11301
|
text: z.ZodString;
|
|
@@ -11261,6 +11319,7 @@ export declare const formSchema: z.ZodObject<{
|
|
|
11261
11319
|
};
|
|
11262
11320
|
visible: boolean;
|
|
11263
11321
|
required?: boolean | undefined;
|
|
11322
|
+
category?: "FIELD" | undefined;
|
|
11264
11323
|
order?: number | undefined;
|
|
11265
11324
|
}, {
|
|
11266
11325
|
type: "LEGAL";
|
|
@@ -11270,11 +11329,13 @@ export declare const formSchema: z.ZodObject<{
|
|
|
11270
11329
|
html?: boolean | undefined;
|
|
11271
11330
|
};
|
|
11272
11331
|
required?: boolean | undefined;
|
|
11332
|
+
category?: "FIELD" | undefined;
|
|
11273
11333
|
order?: number | undefined;
|
|
11274
11334
|
visible?: boolean | undefined;
|
|
11275
11335
|
}>,
|
|
11276
11336
|
z.ZodObject<{
|
|
11277
11337
|
id: z.ZodString;
|
|
11338
|
+
category: z.ZodOptional<z.ZodLiteral<"FIELD">>;
|
|
11278
11339
|
type: z.ZodLiteral<"TEXT">;
|
|
11279
11340
|
config: z.ZodObject<{
|
|
11280
11341
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
@@ -11299,6 +11360,7 @@ export declare const formSchema: z.ZodObject<{
|
|
|
11299
11360
|
};
|
|
11300
11361
|
visible: boolean;
|
|
11301
11362
|
required?: boolean | undefined;
|
|
11363
|
+
category?: "FIELD" | undefined;
|
|
11302
11364
|
sensitive?: boolean | undefined;
|
|
11303
11365
|
order?: number | undefined;
|
|
11304
11366
|
}, {
|
|
@@ -11309,12 +11371,14 @@ export declare const formSchema: z.ZodObject<{
|
|
|
11309
11371
|
multiline?: boolean | undefined;
|
|
11310
11372
|
};
|
|
11311
11373
|
required?: boolean | undefined;
|
|
11374
|
+
category?: "FIELD" | undefined;
|
|
11312
11375
|
sensitive?: boolean | undefined;
|
|
11313
11376
|
order?: number | undefined;
|
|
11314
11377
|
visible?: boolean | undefined;
|
|
11315
11378
|
}>,
|
|
11316
11379
|
z.ZodObject<{
|
|
11317
11380
|
id: z.ZodString;
|
|
11381
|
+
category: z.ZodOptional<z.ZodLiteral<"BLOCK">>;
|
|
11318
11382
|
type: z.ZodLiteral<"NEXT_BUTTON">;
|
|
11319
11383
|
config: z.ZodObject<{
|
|
11320
11384
|
text: z.ZodOptional<z.ZodString>;
|
|
@@ -11332,6 +11396,7 @@ export declare const formSchema: z.ZodObject<{
|
|
|
11332
11396
|
text?: string | undefined;
|
|
11333
11397
|
};
|
|
11334
11398
|
visible: boolean;
|
|
11399
|
+
category?: "BLOCK" | undefined;
|
|
11335
11400
|
order?: number | undefined;
|
|
11336
11401
|
}, {
|
|
11337
11402
|
type: "NEXT_BUTTON";
|
|
@@ -11339,11 +11404,12 @@ export declare const formSchema: z.ZodObject<{
|
|
|
11339
11404
|
config: {
|
|
11340
11405
|
text?: string | undefined;
|
|
11341
11406
|
};
|
|
11407
|
+
category?: "BLOCK" | undefined;
|
|
11342
11408
|
order?: number | undefined;
|
|
11343
11409
|
visible?: boolean | undefined;
|
|
11344
11410
|
}>
|
|
11345
11411
|
]>, "many">;
|
|
11346
|
-
next_node: z.ZodString
|
|
11412
|
+
next_node: z.ZodOptional<z.ZodString>;
|
|
11347
11413
|
}, "strip", z.ZodTypeAny, {
|
|
11348
11414
|
components: ({
|
|
11349
11415
|
type: "RICH_TEXT";
|
|
@@ -11352,6 +11418,7 @@ export declare const formSchema: z.ZodObject<{
|
|
|
11352
11418
|
content: string;
|
|
11353
11419
|
};
|
|
11354
11420
|
visible: boolean;
|
|
11421
|
+
category?: "BLOCK" | undefined;
|
|
11355
11422
|
order?: number | undefined;
|
|
11356
11423
|
} | {
|
|
11357
11424
|
type: "LEGAL";
|
|
@@ -11362,6 +11429,7 @@ export declare const formSchema: z.ZodObject<{
|
|
|
11362
11429
|
};
|
|
11363
11430
|
visible: boolean;
|
|
11364
11431
|
required?: boolean | undefined;
|
|
11432
|
+
category?: "FIELD" | undefined;
|
|
11365
11433
|
order?: number | undefined;
|
|
11366
11434
|
} | {
|
|
11367
11435
|
type: "TEXT";
|
|
@@ -11372,6 +11440,7 @@ export declare const formSchema: z.ZodObject<{
|
|
|
11372
11440
|
};
|
|
11373
11441
|
visible: boolean;
|
|
11374
11442
|
required?: boolean | undefined;
|
|
11443
|
+
category?: "FIELD" | undefined;
|
|
11375
11444
|
sensitive?: boolean | undefined;
|
|
11376
11445
|
order?: number | undefined;
|
|
11377
11446
|
} | {
|
|
@@ -11381,9 +11450,10 @@ export declare const formSchema: z.ZodObject<{
|
|
|
11381
11450
|
text?: string | undefined;
|
|
11382
11451
|
};
|
|
11383
11452
|
visible: boolean;
|
|
11453
|
+
category?: "BLOCK" | undefined;
|
|
11384
11454
|
order?: number | undefined;
|
|
11385
11455
|
})[];
|
|
11386
|
-
next_node
|
|
11456
|
+
next_node?: string | undefined;
|
|
11387
11457
|
}, {
|
|
11388
11458
|
components: ({
|
|
11389
11459
|
type: "RICH_TEXT";
|
|
@@ -11391,6 +11461,7 @@ export declare const formSchema: z.ZodObject<{
|
|
|
11391
11461
|
config: {
|
|
11392
11462
|
content: string;
|
|
11393
11463
|
};
|
|
11464
|
+
category?: "BLOCK" | undefined;
|
|
11394
11465
|
order?: number | undefined;
|
|
11395
11466
|
visible?: boolean | undefined;
|
|
11396
11467
|
} | {
|
|
@@ -11401,6 +11472,7 @@ export declare const formSchema: z.ZodObject<{
|
|
|
11401
11472
|
html?: boolean | undefined;
|
|
11402
11473
|
};
|
|
11403
11474
|
required?: boolean | undefined;
|
|
11475
|
+
category?: "FIELD" | undefined;
|
|
11404
11476
|
order?: number | undefined;
|
|
11405
11477
|
visible?: boolean | undefined;
|
|
11406
11478
|
} | {
|
|
@@ -11411,6 +11483,7 @@ export declare const formSchema: z.ZodObject<{
|
|
|
11411
11483
|
multiline?: boolean | undefined;
|
|
11412
11484
|
};
|
|
11413
11485
|
required?: boolean | undefined;
|
|
11486
|
+
category?: "FIELD" | undefined;
|
|
11414
11487
|
sensitive?: boolean | undefined;
|
|
11415
11488
|
order?: number | undefined;
|
|
11416
11489
|
visible?: boolean | undefined;
|
|
@@ -11420,10 +11493,11 @@ export declare const formSchema: z.ZodObject<{
|
|
|
11420
11493
|
config: {
|
|
11421
11494
|
text?: string | undefined;
|
|
11422
11495
|
};
|
|
11496
|
+
category?: "BLOCK" | undefined;
|
|
11423
11497
|
order?: number | undefined;
|
|
11424
11498
|
visible?: boolean | undefined;
|
|
11425
11499
|
})[];
|
|
11426
|
-
next_node
|
|
11500
|
+
next_node?: string | undefined;
|
|
11427
11501
|
}>;
|
|
11428
11502
|
}, "strip", z.ZodTypeAny, {
|
|
11429
11503
|
type: "STEP";
|
|
@@ -11436,6 +11510,7 @@ export declare const formSchema: z.ZodObject<{
|
|
|
11436
11510
|
content: string;
|
|
11437
11511
|
};
|
|
11438
11512
|
visible: boolean;
|
|
11513
|
+
category?: "BLOCK" | undefined;
|
|
11439
11514
|
order?: number | undefined;
|
|
11440
11515
|
} | {
|
|
11441
11516
|
type: "LEGAL";
|
|
@@ -11446,6 +11521,7 @@ export declare const formSchema: z.ZodObject<{
|
|
|
11446
11521
|
};
|
|
11447
11522
|
visible: boolean;
|
|
11448
11523
|
required?: boolean | undefined;
|
|
11524
|
+
category?: "FIELD" | undefined;
|
|
11449
11525
|
order?: number | undefined;
|
|
11450
11526
|
} | {
|
|
11451
11527
|
type: "TEXT";
|
|
@@ -11456,6 +11532,7 @@ export declare const formSchema: z.ZodObject<{
|
|
|
11456
11532
|
};
|
|
11457
11533
|
visible: boolean;
|
|
11458
11534
|
required?: boolean | undefined;
|
|
11535
|
+
category?: "FIELD" | undefined;
|
|
11459
11536
|
sensitive?: boolean | undefined;
|
|
11460
11537
|
order?: number | undefined;
|
|
11461
11538
|
} | {
|
|
@@ -11465,9 +11542,10 @@ export declare const formSchema: z.ZodObject<{
|
|
|
11465
11542
|
text?: string | undefined;
|
|
11466
11543
|
};
|
|
11467
11544
|
visible: boolean;
|
|
11545
|
+
category?: "BLOCK" | undefined;
|
|
11468
11546
|
order?: number | undefined;
|
|
11469
11547
|
})[];
|
|
11470
|
-
next_node
|
|
11548
|
+
next_node?: string | undefined;
|
|
11471
11549
|
};
|
|
11472
11550
|
coordinates: {
|
|
11473
11551
|
x: number;
|
|
@@ -11484,6 +11562,7 @@ export declare const formSchema: z.ZodObject<{
|
|
|
11484
11562
|
config: {
|
|
11485
11563
|
content: string;
|
|
11486
11564
|
};
|
|
11565
|
+
category?: "BLOCK" | undefined;
|
|
11487
11566
|
order?: number | undefined;
|
|
11488
11567
|
visible?: boolean | undefined;
|
|
11489
11568
|
} | {
|
|
@@ -11494,6 +11573,7 @@ export declare const formSchema: z.ZodObject<{
|
|
|
11494
11573
|
html?: boolean | undefined;
|
|
11495
11574
|
};
|
|
11496
11575
|
required?: boolean | undefined;
|
|
11576
|
+
category?: "FIELD" | undefined;
|
|
11497
11577
|
order?: number | undefined;
|
|
11498
11578
|
visible?: boolean | undefined;
|
|
11499
11579
|
} | {
|
|
@@ -11504,6 +11584,7 @@ export declare const formSchema: z.ZodObject<{
|
|
|
11504
11584
|
multiline?: boolean | undefined;
|
|
11505
11585
|
};
|
|
11506
11586
|
required?: boolean | undefined;
|
|
11587
|
+
category?: "FIELD" | undefined;
|
|
11507
11588
|
sensitive?: boolean | undefined;
|
|
11508
11589
|
order?: number | undefined;
|
|
11509
11590
|
visible?: boolean | undefined;
|
|
@@ -11513,10 +11594,11 @@ export declare const formSchema: z.ZodObject<{
|
|
|
11513
11594
|
config: {
|
|
11514
11595
|
text?: string | undefined;
|
|
11515
11596
|
};
|
|
11597
|
+
category?: "BLOCK" | undefined;
|
|
11516
11598
|
order?: number | undefined;
|
|
11517
11599
|
visible?: boolean | undefined;
|
|
11518
11600
|
})[];
|
|
11519
|
-
next_node
|
|
11601
|
+
next_node?: string | undefined;
|
|
11520
11602
|
};
|
|
11521
11603
|
coordinates: {
|
|
11522
11604
|
x: number;
|
|
@@ -11660,8 +11742,8 @@ export declare const formSchema: z.ZodObject<{
|
|
|
11660
11742
|
type: "FLOW";
|
|
11661
11743
|
id: string;
|
|
11662
11744
|
config: {
|
|
11663
|
-
next_node: string;
|
|
11664
11745
|
flow_id: string;
|
|
11746
|
+
next_node?: string | undefined;
|
|
11665
11747
|
};
|
|
11666
11748
|
coordinates: {
|
|
11667
11749
|
x: number;
|
|
@@ -11678,7 +11760,7 @@ export declare const formSchema: z.ZodObject<{
|
|
|
11678
11760
|
alias?: string | undefined;
|
|
11679
11761
|
condition?: any;
|
|
11680
11762
|
}[];
|
|
11681
|
-
fallback: string
|
|
11763
|
+
fallback: string;
|
|
11682
11764
|
};
|
|
11683
11765
|
coordinates: {
|
|
11684
11766
|
x: number;
|
|
@@ -11696,6 +11778,7 @@ export declare const formSchema: z.ZodObject<{
|
|
|
11696
11778
|
content: string;
|
|
11697
11779
|
};
|
|
11698
11780
|
visible: boolean;
|
|
11781
|
+
category?: "BLOCK" | undefined;
|
|
11699
11782
|
order?: number | undefined;
|
|
11700
11783
|
} | {
|
|
11701
11784
|
type: "LEGAL";
|
|
@@ -11706,6 +11789,7 @@ export declare const formSchema: z.ZodObject<{
|
|
|
11706
11789
|
};
|
|
11707
11790
|
visible: boolean;
|
|
11708
11791
|
required?: boolean | undefined;
|
|
11792
|
+
category?: "FIELD" | undefined;
|
|
11709
11793
|
order?: number | undefined;
|
|
11710
11794
|
} | {
|
|
11711
11795
|
type: "TEXT";
|
|
@@ -11716,6 +11800,7 @@ export declare const formSchema: z.ZodObject<{
|
|
|
11716
11800
|
};
|
|
11717
11801
|
visible: boolean;
|
|
11718
11802
|
required?: boolean | undefined;
|
|
11803
|
+
category?: "FIELD" | undefined;
|
|
11719
11804
|
sensitive?: boolean | undefined;
|
|
11720
11805
|
order?: number | undefined;
|
|
11721
11806
|
} | {
|
|
@@ -11725,9 +11810,10 @@ export declare const formSchema: z.ZodObject<{
|
|
|
11725
11810
|
text?: string | undefined;
|
|
11726
11811
|
};
|
|
11727
11812
|
visible: boolean;
|
|
11813
|
+
category?: "BLOCK" | undefined;
|
|
11728
11814
|
order?: number | undefined;
|
|
11729
11815
|
})[];
|
|
11730
|
-
next_node
|
|
11816
|
+
next_node?: string | undefined;
|
|
11731
11817
|
};
|
|
11732
11818
|
coordinates: {
|
|
11733
11819
|
x: number;
|
|
@@ -11781,8 +11867,8 @@ export declare const formSchema: z.ZodObject<{
|
|
|
11781
11867
|
type: "FLOW";
|
|
11782
11868
|
id: string;
|
|
11783
11869
|
config: {
|
|
11784
|
-
next_node: string;
|
|
11785
11870
|
flow_id: string;
|
|
11871
|
+
next_node?: string | undefined;
|
|
11786
11872
|
};
|
|
11787
11873
|
coordinates: {
|
|
11788
11874
|
x: number;
|
|
@@ -11799,7 +11885,7 @@ export declare const formSchema: z.ZodObject<{
|
|
|
11799
11885
|
alias?: string | undefined;
|
|
11800
11886
|
condition?: any;
|
|
11801
11887
|
}[];
|
|
11802
|
-
fallback: string
|
|
11888
|
+
fallback: string;
|
|
11803
11889
|
};
|
|
11804
11890
|
coordinates: {
|
|
11805
11891
|
x: number;
|
|
@@ -11816,6 +11902,7 @@ export declare const formSchema: z.ZodObject<{
|
|
|
11816
11902
|
config: {
|
|
11817
11903
|
content: string;
|
|
11818
11904
|
};
|
|
11905
|
+
category?: "BLOCK" | undefined;
|
|
11819
11906
|
order?: number | undefined;
|
|
11820
11907
|
visible?: boolean | undefined;
|
|
11821
11908
|
} | {
|
|
@@ -11826,6 +11913,7 @@ export declare const formSchema: z.ZodObject<{
|
|
|
11826
11913
|
html?: boolean | undefined;
|
|
11827
11914
|
};
|
|
11828
11915
|
required?: boolean | undefined;
|
|
11916
|
+
category?: "FIELD" | undefined;
|
|
11829
11917
|
order?: number | undefined;
|
|
11830
11918
|
visible?: boolean | undefined;
|
|
11831
11919
|
} | {
|
|
@@ -11836,6 +11924,7 @@ export declare const formSchema: z.ZodObject<{
|
|
|
11836
11924
|
multiline?: boolean | undefined;
|
|
11837
11925
|
};
|
|
11838
11926
|
required?: boolean | undefined;
|
|
11927
|
+
category?: "FIELD" | undefined;
|
|
11839
11928
|
sensitive?: boolean | undefined;
|
|
11840
11929
|
order?: number | undefined;
|
|
11841
11930
|
visible?: boolean | undefined;
|
|
@@ -11845,10 +11934,11 @@ export declare const formSchema: z.ZodObject<{
|
|
|
11845
11934
|
config: {
|
|
11846
11935
|
text?: string | undefined;
|
|
11847
11936
|
};
|
|
11937
|
+
category?: "BLOCK" | undefined;
|
|
11848
11938
|
order?: number | undefined;
|
|
11849
11939
|
visible?: boolean | undefined;
|
|
11850
11940
|
})[];
|
|
11851
|
-
next_node
|
|
11941
|
+
next_node?: string | undefined;
|
|
11852
11942
|
};
|
|
11853
11943
|
coordinates: {
|
|
11854
11944
|
x: number;
|
|
@@ -17123,6 +17213,31 @@ export interface ClientsAdapter {
|
|
|
17123
17213
|
}>;
|
|
17124
17214
|
update(tenant_id: string, client_id: string, client: Partial<Client>): Promise<boolean>;
|
|
17125
17215
|
}
|
|
17216
|
+
export interface ClientConnectionsAdapter {
|
|
17217
|
+
/**
|
|
17218
|
+
* Get all connections enabled for a specific client
|
|
17219
|
+
* Returns connections in the order they were stored
|
|
17220
|
+
*/
|
|
17221
|
+
listByClient(tenant_id: string, client_id: string): Promise<Connection[]>;
|
|
17222
|
+
/**
|
|
17223
|
+
* Update the connections for a client
|
|
17224
|
+
* The connection_ids array determines both which connections are enabled
|
|
17225
|
+
* and their display order on the login page
|
|
17226
|
+
*/
|
|
17227
|
+
updateByClient(tenant_id: string, client_id: string, connection_ids: string[]): Promise<boolean>;
|
|
17228
|
+
/**
|
|
17229
|
+
* Get all clients that have a specific connection enabled
|
|
17230
|
+
*/
|
|
17231
|
+
listByConnection(tenant_id: string, connection_id: string): Promise<string[]>;
|
|
17232
|
+
/**
|
|
17233
|
+
* Add a client to a connection (add client_id to the list of clients using this connection)
|
|
17234
|
+
*/
|
|
17235
|
+
addClientToConnection(tenant_id: string, connection_id: string, client_id: string): Promise<boolean>;
|
|
17236
|
+
/**
|
|
17237
|
+
* Remove a client from a connection
|
|
17238
|
+
*/
|
|
17239
|
+
removeClientFromConnection(tenant_id: string, connection_id: string, client_id: string): Promise<boolean>;
|
|
17240
|
+
}
|
|
17126
17241
|
export interface ListClientGrantsResponse extends Totals {
|
|
17127
17242
|
client_grants: ClientGrant[];
|
|
17128
17243
|
}
|
|
@@ -17383,6 +17498,7 @@ export interface DataAdapters {
|
|
|
17383
17498
|
branding: BrandingAdapter;
|
|
17384
17499
|
cache?: CacheAdapter;
|
|
17385
17500
|
clients: ClientsAdapter;
|
|
17501
|
+
clientConnections: ClientConnectionsAdapter;
|
|
17386
17502
|
clientGrants: ClientGrantsAdapter;
|
|
17387
17503
|
legacyClients: LegacyClientsAdapter;
|
|
17388
17504
|
codes: CodesAdapter;
|