@authhero/kysely-adapter 10.57.0 → 10.58.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 +5 -5
- package/dist/kysely-adapter.d.ts +95 -52
- package/dist/kysely-adapter.mjs +1951 -1831
- package/package.json +2 -2
package/dist/kysely-adapter.d.ts
CHANGED
|
@@ -4933,43 +4933,56 @@ declare const logSchema: z.ZodObject<{
|
|
|
4933
4933
|
}>;
|
|
4934
4934
|
export type Log = z.infer<typeof logSchema>;
|
|
4935
4935
|
declare const passwordInsertSchema: z.ZodObject<{
|
|
4936
|
+
id: z.ZodOptional<z.ZodString>;
|
|
4936
4937
|
user_id: z.ZodString;
|
|
4937
4938
|
password: z.ZodString;
|
|
4938
4939
|
algorithm: z.ZodDefault<z.ZodEnum<[
|
|
4939
4940
|
"bcrypt",
|
|
4940
4941
|
"argon2id"
|
|
4941
4942
|
]>>;
|
|
4943
|
+
is_current: z.ZodDefault<z.ZodBoolean>;
|
|
4942
4944
|
}, "strip", z.ZodTypeAny, {
|
|
4943
4945
|
password: string;
|
|
4944
4946
|
user_id: string;
|
|
4945
4947
|
algorithm: "bcrypt" | "argon2id";
|
|
4948
|
+
is_current: boolean;
|
|
4949
|
+
id?: string | undefined;
|
|
4946
4950
|
}, {
|
|
4947
4951
|
password: string;
|
|
4948
4952
|
user_id: string;
|
|
4953
|
+
id?: string | undefined;
|
|
4949
4954
|
algorithm?: "bcrypt" | "argon2id" | undefined;
|
|
4955
|
+
is_current?: boolean | undefined;
|
|
4950
4956
|
}>;
|
|
4951
4957
|
export type PasswordInsert = z.infer<typeof passwordInsertSchema>;
|
|
4952
4958
|
declare const passwordSchema: z.ZodObject<{
|
|
4953
|
-
created_at: z.ZodString;
|
|
4954
|
-
updated_at: z.ZodString;
|
|
4955
4959
|
user_id: z.ZodString;
|
|
4956
4960
|
password: z.ZodString;
|
|
4957
4961
|
algorithm: z.ZodDefault<z.ZodEnum<[
|
|
4958
4962
|
"bcrypt",
|
|
4959
4963
|
"argon2id"
|
|
4960
4964
|
]>>;
|
|
4965
|
+
is_current: z.ZodDefault<z.ZodBoolean>;
|
|
4966
|
+
} & {
|
|
4967
|
+
id: z.ZodString;
|
|
4968
|
+
created_at: z.ZodString;
|
|
4969
|
+
updated_at: z.ZodString;
|
|
4961
4970
|
}, "strip", z.ZodTypeAny, {
|
|
4962
4971
|
password: string;
|
|
4963
4972
|
created_at: string;
|
|
4964
4973
|
updated_at: string;
|
|
4965
4974
|
user_id: string;
|
|
4975
|
+
id: string;
|
|
4966
4976
|
algorithm: "bcrypt" | "argon2id";
|
|
4977
|
+
is_current: boolean;
|
|
4967
4978
|
}, {
|
|
4968
4979
|
password: string;
|
|
4969
4980
|
created_at: string;
|
|
4970
4981
|
updated_at: string;
|
|
4971
4982
|
user_id: string;
|
|
4983
|
+
id: string;
|
|
4972
4984
|
algorithm?: "bcrypt" | "argon2id" | undefined;
|
|
4985
|
+
is_current?: boolean | undefined;
|
|
4973
4986
|
}>;
|
|
4974
4987
|
export type Password = z.infer<typeof passwordSchema>;
|
|
4975
4988
|
declare const sessionInsertSchema: z.ZodObject<{
|
|
@@ -7459,6 +7472,7 @@ export interface PasswordsAdapter {
|
|
|
7459
7472
|
create: (tenant_id: string, params: PasswordInsert) => Promise<Password>;
|
|
7460
7473
|
update: (tenant_id: string, params: PasswordInsert) => Promise<boolean>;
|
|
7461
7474
|
get: (tenant_id: string, user_id: string) => Promise<Password | null>;
|
|
7475
|
+
list: (tenant_id: string, user_id: string, limit?: number) => Promise<Password[]>;
|
|
7462
7476
|
}
|
|
7463
7477
|
export interface ListSesssionsResponse extends Totals {
|
|
7464
7478
|
sessions: Session[];
|
|
@@ -7786,6 +7800,37 @@ declare const sqlPromptSettingSchema: z.ZodObject<{
|
|
|
7786
7800
|
webauthn_platform_first_factor: number;
|
|
7787
7801
|
universal_login_experience?: "new" | "classic" | undefined;
|
|
7788
7802
|
}>;
|
|
7803
|
+
declare const sqlPasswordSchema: z.ZodObject<{
|
|
7804
|
+
id: z.ZodString;
|
|
7805
|
+
user_id: z.ZodString;
|
|
7806
|
+
tenant_id: z.ZodString;
|
|
7807
|
+
password: z.ZodString;
|
|
7808
|
+
algorithm: z.ZodEnum<[
|
|
7809
|
+
"bcrypt",
|
|
7810
|
+
"argon2id"
|
|
7811
|
+
]>;
|
|
7812
|
+
created_at: z.ZodString;
|
|
7813
|
+
updated_at: z.ZodString;
|
|
7814
|
+
is_current: z.ZodNumber;
|
|
7815
|
+
}, "strip", z.ZodTypeAny, {
|
|
7816
|
+
password: string;
|
|
7817
|
+
tenant_id: string;
|
|
7818
|
+
id: string;
|
|
7819
|
+
user_id: string;
|
|
7820
|
+
algorithm: "bcrypt" | "argon2id";
|
|
7821
|
+
created_at: string;
|
|
7822
|
+
updated_at: string;
|
|
7823
|
+
is_current: number;
|
|
7824
|
+
}, {
|
|
7825
|
+
password: string;
|
|
7826
|
+
tenant_id: string;
|
|
7827
|
+
id: string;
|
|
7828
|
+
user_id: string;
|
|
7829
|
+
algorithm: "bcrypt" | "argon2id";
|
|
7830
|
+
created_at: string;
|
|
7831
|
+
updated_at: string;
|
|
7832
|
+
is_current: number;
|
|
7833
|
+
}>;
|
|
7789
7834
|
declare const sqlUserSchema: z.ZodObject<{
|
|
7790
7835
|
email_verified: z.ZodNumber;
|
|
7791
7836
|
is_social: z.ZodNumber;
|
|
@@ -7887,16 +7932,17 @@ declare const sqlUserSchema: z.ZodObject<{
|
|
|
7887
7932
|
connection: z.ZodDefault<z.ZodString>;
|
|
7888
7933
|
}, "strip", z.ZodTypeAny, {
|
|
7889
7934
|
tenant_id: string;
|
|
7935
|
+
user_id: string;
|
|
7936
|
+
created_at: string;
|
|
7937
|
+
updated_at: string;
|
|
7890
7938
|
email_verified: number;
|
|
7891
7939
|
is_social: number;
|
|
7892
7940
|
app_metadata: string;
|
|
7893
7941
|
user_metadata: string;
|
|
7894
|
-
user_id: string;
|
|
7895
7942
|
login_count: number;
|
|
7896
|
-
created_at: string;
|
|
7897
|
-
updated_at: string;
|
|
7898
7943
|
provider: string;
|
|
7899
7944
|
connection: string;
|
|
7945
|
+
name?: string | undefined;
|
|
7900
7946
|
email?: string | undefined;
|
|
7901
7947
|
identities?: {
|
|
7902
7948
|
connection: string;
|
|
@@ -7922,7 +7968,6 @@ declare const sqlUserSchema: z.ZodObject<{
|
|
|
7922
7968
|
given_name?: string | undefined;
|
|
7923
7969
|
family_name?: string | undefined;
|
|
7924
7970
|
nickname?: string | undefined;
|
|
7925
|
-
name?: string | undefined;
|
|
7926
7971
|
picture?: string | undefined;
|
|
7927
7972
|
locale?: string | undefined;
|
|
7928
7973
|
linked_to?: string | undefined;
|
|
@@ -7932,13 +7977,14 @@ declare const sqlUserSchema: z.ZodObject<{
|
|
|
7932
7977
|
last_login?: string | undefined;
|
|
7933
7978
|
}, {
|
|
7934
7979
|
tenant_id: string;
|
|
7980
|
+
user_id: string;
|
|
7981
|
+
created_at: string;
|
|
7982
|
+
updated_at: string;
|
|
7935
7983
|
email_verified: number;
|
|
7936
7984
|
is_social: number;
|
|
7937
7985
|
app_metadata: string;
|
|
7938
7986
|
user_metadata: string;
|
|
7939
|
-
|
|
7940
|
-
created_at: string;
|
|
7941
|
-
updated_at: string;
|
|
7987
|
+
name?: string | undefined;
|
|
7942
7988
|
email?: string | undefined;
|
|
7943
7989
|
login_count?: number | undefined;
|
|
7944
7990
|
identities?: {
|
|
@@ -7965,7 +8011,6 @@ declare const sqlUserSchema: z.ZodObject<{
|
|
|
7965
8011
|
given_name?: string | undefined;
|
|
7966
8012
|
family_name?: string | undefined;
|
|
7967
8013
|
nickname?: string | undefined;
|
|
7968
|
-
name?: string | undefined;
|
|
7969
8014
|
picture?: string | undefined;
|
|
7970
8015
|
locale?: string | undefined;
|
|
7971
8016
|
linked_to?: string | undefined;
|
|
@@ -8021,18 +8066,18 @@ declare const sqlEmailProvidersSchema: z.ZodObject<{
|
|
|
8021
8066
|
default_from_address: z.ZodOptional<z.ZodString>;
|
|
8022
8067
|
}, "strip", z.ZodTypeAny, {
|
|
8023
8068
|
tenant_id: string;
|
|
8069
|
+
name: string;
|
|
8024
8070
|
created_at: string;
|
|
8025
8071
|
updated_at: string;
|
|
8026
|
-
name: string;
|
|
8027
8072
|
enabled: number;
|
|
8028
8073
|
credentials: string;
|
|
8029
8074
|
settings: string;
|
|
8030
8075
|
default_from_address?: string | undefined;
|
|
8031
8076
|
}, {
|
|
8032
8077
|
tenant_id: string;
|
|
8078
|
+
name: string;
|
|
8033
8079
|
created_at: string;
|
|
8034
8080
|
updated_at: string;
|
|
8035
|
-
name: string;
|
|
8036
8081
|
enabled: number;
|
|
8037
8082
|
credentials: string;
|
|
8038
8083
|
settings: string;
|
|
@@ -8055,12 +8100,12 @@ declare const sqlSessionSchema: z.ZodObject<{
|
|
|
8055
8100
|
last_interaction_at: z.ZodString;
|
|
8056
8101
|
}, "strip", z.ZodTypeAny, {
|
|
8057
8102
|
tenant_id: string;
|
|
8103
|
+
id: string;
|
|
8058
8104
|
user_id: string;
|
|
8059
8105
|
created_at: string;
|
|
8060
8106
|
updated_at: string;
|
|
8061
8107
|
device: string;
|
|
8062
8108
|
clients: string;
|
|
8063
|
-
id: string;
|
|
8064
8109
|
login_session_id: string;
|
|
8065
8110
|
authenticated_at: string;
|
|
8066
8111
|
last_interaction_at: string;
|
|
@@ -8070,12 +8115,12 @@ declare const sqlSessionSchema: z.ZodObject<{
|
|
|
8070
8115
|
idle_expires_at?: string | undefined;
|
|
8071
8116
|
}, {
|
|
8072
8117
|
tenant_id: string;
|
|
8118
|
+
id: string;
|
|
8073
8119
|
user_id: string;
|
|
8074
8120
|
created_at: string;
|
|
8075
8121
|
updated_at: string;
|
|
8076
8122
|
device: string;
|
|
8077
8123
|
clients: string;
|
|
8078
|
-
id: string;
|
|
8079
8124
|
login_session_id: string;
|
|
8080
8125
|
authenticated_at: string;
|
|
8081
8126
|
last_interaction_at: string;
|
|
@@ -8099,10 +8144,10 @@ declare const sqlRefreshTokensSchema: z.ZodObject<{
|
|
|
8099
8144
|
created_at: z.ZodString;
|
|
8100
8145
|
}, "strip", z.ZodTypeAny, {
|
|
8101
8146
|
tenant_id: string;
|
|
8147
|
+
id: string;
|
|
8102
8148
|
user_id: string;
|
|
8103
8149
|
created_at: string;
|
|
8104
8150
|
device: string;
|
|
8105
|
-
id: string;
|
|
8106
8151
|
resource_servers: string;
|
|
8107
8152
|
rotating: number;
|
|
8108
8153
|
session_id: string;
|
|
@@ -8112,10 +8157,10 @@ declare const sqlRefreshTokensSchema: z.ZodObject<{
|
|
|
8112
8157
|
last_exchanged_at?: string | undefined;
|
|
8113
8158
|
}, {
|
|
8114
8159
|
tenant_id: string;
|
|
8160
|
+
id: string;
|
|
8115
8161
|
user_id: string;
|
|
8116
8162
|
created_at: string;
|
|
8117
8163
|
device: string;
|
|
8118
|
-
id: string;
|
|
8119
8164
|
resource_servers: string;
|
|
8120
8165
|
rotating: number;
|
|
8121
8166
|
session_id: string;
|
|
@@ -8263,13 +8308,16 @@ declare const sqlFormSchema: z.ZodObject<{
|
|
|
8263
8308
|
updated_at: z.ZodString;
|
|
8264
8309
|
}, "strip", z.ZodTypeAny, {
|
|
8265
8310
|
tenant_id: string;
|
|
8311
|
+
id: string;
|
|
8312
|
+
name: string;
|
|
8266
8313
|
created_at: string;
|
|
8267
8314
|
updated_at: string;
|
|
8268
|
-
name: string;
|
|
8269
|
-
id: string;
|
|
8270
8315
|
nodes: string;
|
|
8271
8316
|
start: string;
|
|
8272
8317
|
ending: string;
|
|
8318
|
+
style?: {
|
|
8319
|
+
css?: string | undefined;
|
|
8320
|
+
} | undefined;
|
|
8273
8321
|
messages?: {
|
|
8274
8322
|
custom?: Record<string, any> | undefined;
|
|
8275
8323
|
errors?: Record<string, any> | undefined;
|
|
@@ -8279,15 +8327,15 @@ declare const sqlFormSchema: z.ZodObject<{
|
|
|
8279
8327
|
primary?: string | undefined;
|
|
8280
8328
|
} | undefined;
|
|
8281
8329
|
translations?: Record<string, any> | undefined;
|
|
8282
|
-
style?: {
|
|
8283
|
-
css?: string | undefined;
|
|
8284
|
-
} | undefined;
|
|
8285
8330
|
}, {
|
|
8286
8331
|
tenant_id: string;
|
|
8332
|
+
id: string;
|
|
8333
|
+
name: string;
|
|
8287
8334
|
created_at: string;
|
|
8288
8335
|
updated_at: string;
|
|
8289
|
-
|
|
8290
|
-
|
|
8336
|
+
style?: {
|
|
8337
|
+
css?: string | undefined;
|
|
8338
|
+
} | undefined;
|
|
8291
8339
|
nodes?: string | undefined;
|
|
8292
8340
|
start?: string | undefined;
|
|
8293
8341
|
ending?: string | undefined;
|
|
@@ -8300,9 +8348,6 @@ declare const sqlFormSchema: z.ZodObject<{
|
|
|
8300
8348
|
primary?: string | undefined;
|
|
8301
8349
|
} | undefined;
|
|
8302
8350
|
translations?: Record<string, any> | undefined;
|
|
8303
|
-
style?: {
|
|
8304
|
-
css?: string | undefined;
|
|
8305
|
-
} | undefined;
|
|
8306
8351
|
}>;
|
|
8307
8352
|
declare const sqlLogSchema: z.ZodObject<{
|
|
8308
8353
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -8370,9 +8415,9 @@ declare const sqlLogSchema: z.ZodObject<{
|
|
|
8370
8415
|
tenant_id: string;
|
|
8371
8416
|
log_id: string;
|
|
8372
8417
|
description?: string | undefined;
|
|
8418
|
+
id?: string | undefined;
|
|
8373
8419
|
user_id?: string | undefined;
|
|
8374
8420
|
connection?: string | undefined;
|
|
8375
|
-
id?: string | undefined;
|
|
8376
8421
|
client_id?: string | undefined;
|
|
8377
8422
|
isMobile?: number | undefined;
|
|
8378
8423
|
scope?: string | undefined;
|
|
@@ -8412,9 +8457,9 @@ declare const sqlLogSchema: z.ZodObject<{
|
|
|
8412
8457
|
tenant_id: string;
|
|
8413
8458
|
log_id: string;
|
|
8414
8459
|
description?: string | undefined;
|
|
8460
|
+
id?: string | undefined;
|
|
8415
8461
|
user_id?: string | undefined;
|
|
8416
8462
|
connection?: string | undefined;
|
|
8417
|
-
id?: string | undefined;
|
|
8418
8463
|
client_id?: string | undefined;
|
|
8419
8464
|
isMobile?: number | undefined;
|
|
8420
8465
|
scope?: string | undefined;
|
|
@@ -8469,9 +8514,9 @@ declare const sqlResourceServerSchema: z.ZodObject<Omit<{
|
|
|
8469
8514
|
}, "verificationKey">, "strip", z.ZodTypeAny, {
|
|
8470
8515
|
options: string;
|
|
8471
8516
|
tenant_id: string;
|
|
8517
|
+
name: string;
|
|
8472
8518
|
created_at: string;
|
|
8473
8519
|
updated_at: string;
|
|
8474
|
-
name: string;
|
|
8475
8520
|
scopes: string;
|
|
8476
8521
|
identifier: string;
|
|
8477
8522
|
id?: string | undefined;
|
|
@@ -8484,9 +8529,9 @@ declare const sqlResourceServerSchema: z.ZodObject<Omit<{
|
|
|
8484
8529
|
token_lifetime_for_web?: number | undefined;
|
|
8485
8530
|
}, {
|
|
8486
8531
|
tenant_id: string;
|
|
8532
|
+
name: string;
|
|
8487
8533
|
created_at: string;
|
|
8488
8534
|
updated_at: string;
|
|
8489
|
-
name: string;
|
|
8490
8535
|
identifier: string;
|
|
8491
8536
|
options?: string | undefined;
|
|
8492
8537
|
id?: string | undefined;
|
|
@@ -8508,17 +8553,17 @@ declare const sqlRoleSchema: z.ZodObject<{
|
|
|
8508
8553
|
id: z.ZodString;
|
|
8509
8554
|
}, "strip", z.ZodTypeAny, {
|
|
8510
8555
|
tenant_id: string;
|
|
8556
|
+
id: string;
|
|
8557
|
+
name: string;
|
|
8511
8558
|
created_at: string;
|
|
8512
8559
|
updated_at: string;
|
|
8513
|
-
name: string;
|
|
8514
|
-
id: string;
|
|
8515
8560
|
description?: string | undefined;
|
|
8516
8561
|
}, {
|
|
8517
8562
|
tenant_id: string;
|
|
8563
|
+
id: string;
|
|
8564
|
+
name: string;
|
|
8518
8565
|
created_at: string;
|
|
8519
8566
|
updated_at: string;
|
|
8520
|
-
name: string;
|
|
8521
|
-
id: string;
|
|
8522
8567
|
description?: string | undefined;
|
|
8523
8568
|
}>;
|
|
8524
8569
|
declare const sqlTenantSchema: z.ZodObject<{
|
|
@@ -8758,9 +8803,9 @@ declare const sqlTenantSchema: z.ZodObject<{
|
|
|
8758
8803
|
created_at: z.ZodEffects<z.ZodNullable<z.ZodString>, string, string | null>;
|
|
8759
8804
|
updated_at: z.ZodEffects<z.ZodNullable<z.ZodString>, string, string | null>;
|
|
8760
8805
|
}, "strip", z.ZodTypeAny, {
|
|
8806
|
+
id: string;
|
|
8761
8807
|
created_at: string;
|
|
8762
8808
|
updated_at: string;
|
|
8763
|
-
id: string;
|
|
8764
8809
|
audience: string;
|
|
8765
8810
|
friendly_name: string;
|
|
8766
8811
|
sender_email: string;
|
|
@@ -8858,9 +8903,9 @@ declare const sqlTenantSchema: z.ZodObject<{
|
|
|
8858
8903
|
pushed_authorization_requests_supported?: boolean | undefined;
|
|
8859
8904
|
authorization_response_iss_parameter_supported?: boolean | undefined;
|
|
8860
8905
|
}, {
|
|
8906
|
+
id: string;
|
|
8861
8907
|
created_at: string | null;
|
|
8862
8908
|
updated_at: string | null;
|
|
8863
|
-
id: string;
|
|
8864
8909
|
audience: string;
|
|
8865
8910
|
friendly_name: string;
|
|
8866
8911
|
sender_email: string;
|
|
@@ -8973,9 +9018,9 @@ declare const sqlClientGrantSchema: z.ZodObject<{
|
|
|
8973
9018
|
updated_at: z.ZodString;
|
|
8974
9019
|
}, "strip", z.ZodTypeAny, {
|
|
8975
9020
|
tenant_id: string;
|
|
9021
|
+
id: string;
|
|
8976
9022
|
created_at: string;
|
|
8977
9023
|
updated_at: string;
|
|
8978
|
-
id: string;
|
|
8979
9024
|
client_id: string;
|
|
8980
9025
|
scope: string;
|
|
8981
9026
|
audience: string;
|
|
@@ -8986,9 +9031,9 @@ declare const sqlClientGrantSchema: z.ZodObject<{
|
|
|
8986
9031
|
subject_type?: string | undefined;
|
|
8987
9032
|
}, {
|
|
8988
9033
|
tenant_id: string;
|
|
9034
|
+
id: string;
|
|
8989
9035
|
created_at: string;
|
|
8990
9036
|
updated_at: string;
|
|
8991
|
-
id: string;
|
|
8992
9037
|
client_id: string;
|
|
8993
9038
|
audience: string;
|
|
8994
9039
|
scope?: string | undefined;
|
|
@@ -9071,10 +9116,10 @@ declare const sqlOrganizationSchema: z.ZodObject<{
|
|
|
9071
9116
|
display_name: z.ZodOptional<z.ZodString>;
|
|
9072
9117
|
}, "strip", z.ZodTypeAny, {
|
|
9073
9118
|
tenant_id: string;
|
|
9119
|
+
id: string;
|
|
9120
|
+
name: string;
|
|
9074
9121
|
created_at: string;
|
|
9075
9122
|
updated_at: string;
|
|
9076
|
-
name: string;
|
|
9077
|
-
id: string;
|
|
9078
9123
|
branding: string;
|
|
9079
9124
|
metadata: string;
|
|
9080
9125
|
enabled_connections: string;
|
|
@@ -9082,10 +9127,10 @@ declare const sqlOrganizationSchema: z.ZodObject<{
|
|
|
9082
9127
|
display_name?: string | undefined;
|
|
9083
9128
|
}, {
|
|
9084
9129
|
tenant_id: string;
|
|
9130
|
+
id: string;
|
|
9131
|
+
name: string;
|
|
9085
9132
|
created_at: string;
|
|
9086
9133
|
updated_at: string;
|
|
9087
|
-
name: string;
|
|
9088
|
-
id: string;
|
|
9089
9134
|
branding?: string | undefined;
|
|
9090
9135
|
metadata?: string | undefined;
|
|
9091
9136
|
enabled_connections?: string | undefined;
|
|
@@ -9101,17 +9146,17 @@ declare const sqlUserOrganizationSchema: z.ZodObject<{
|
|
|
9101
9146
|
updated_at: z.ZodString;
|
|
9102
9147
|
}, "strip", z.ZodTypeAny, {
|
|
9103
9148
|
tenant_id: string;
|
|
9149
|
+
id: string;
|
|
9104
9150
|
user_id: string;
|
|
9105
9151
|
created_at: string;
|
|
9106
9152
|
updated_at: string;
|
|
9107
|
-
id: string;
|
|
9108
9153
|
organization_id: string;
|
|
9109
9154
|
}, {
|
|
9110
9155
|
tenant_id: string;
|
|
9156
|
+
id: string;
|
|
9111
9157
|
user_id: string;
|
|
9112
9158
|
created_at: string;
|
|
9113
9159
|
updated_at: string;
|
|
9114
|
-
id: string;
|
|
9115
9160
|
organization_id: string;
|
|
9116
9161
|
}>;
|
|
9117
9162
|
declare const sqlInviteSchema: z.ZodObject<{
|
|
@@ -9133,10 +9178,10 @@ declare const sqlInviteSchema: z.ZodObject<{
|
|
|
9133
9178
|
send_invitation_email: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
9134
9179
|
}, "strip", z.ZodTypeAny, {
|
|
9135
9180
|
tenant_id: string;
|
|
9181
|
+
id: string;
|
|
9182
|
+
created_at: string;
|
|
9136
9183
|
app_metadata: string;
|
|
9137
9184
|
user_metadata: string;
|
|
9138
|
-
created_at: string;
|
|
9139
|
-
id: string;
|
|
9140
9185
|
expires_at: string;
|
|
9141
9186
|
client_id: string;
|
|
9142
9187
|
organization_id: string;
|
|
@@ -9150,8 +9195,8 @@ declare const sqlInviteSchema: z.ZodObject<{
|
|
|
9150
9195
|
ttl_sec?: number | undefined;
|
|
9151
9196
|
}, {
|
|
9152
9197
|
tenant_id: string;
|
|
9153
|
-
created_at: string;
|
|
9154
9198
|
id: string;
|
|
9199
|
+
created_at: string;
|
|
9155
9200
|
expires_at: string;
|
|
9156
9201
|
client_id: string;
|
|
9157
9202
|
organization_id: string;
|
|
@@ -9262,9 +9307,9 @@ declare const sqlClientSchema: z.ZodObject<{
|
|
|
9262
9307
|
updated_at: z.ZodString;
|
|
9263
9308
|
}, "strip", z.ZodTypeAny, {
|
|
9264
9309
|
tenant_id: string;
|
|
9310
|
+
name: string;
|
|
9265
9311
|
created_at: string;
|
|
9266
9312
|
updated_at: string;
|
|
9267
|
-
name: string;
|
|
9268
9313
|
client_id: string;
|
|
9269
9314
|
allowed_logout_urls: string;
|
|
9270
9315
|
default_organization: string;
|
|
@@ -9312,9 +9357,9 @@ declare const sqlClientSchema: z.ZodObject<{
|
|
|
9312
9357
|
par_request_expiry?: number | undefined;
|
|
9313
9358
|
}, {
|
|
9314
9359
|
tenant_id: string;
|
|
9360
|
+
name: string;
|
|
9315
9361
|
created_at: string;
|
|
9316
9362
|
updated_at: string;
|
|
9317
|
-
name: string;
|
|
9318
9363
|
client_id: string;
|
|
9319
9364
|
allowed_logout_urls: string;
|
|
9320
9365
|
default_organization: string;
|
|
@@ -9378,9 +9423,7 @@ export interface Database {
|
|
|
9378
9423
|
};
|
|
9379
9424
|
login_sessions: z.infer<typeof sqlLoginSchema>;
|
|
9380
9425
|
logs: z.infer<typeof sqlLogSchema>;
|
|
9381
|
-
passwords:
|
|
9382
|
-
tenant_id: string;
|
|
9383
|
-
};
|
|
9426
|
+
passwords: z.infer<typeof sqlPasswordSchema>;
|
|
9384
9427
|
prompt_settings: z.infer<typeof sqlPromptSettingSchema>;
|
|
9385
9428
|
refresh_tokens: z.infer<typeof sqlRefreshTokensSchema>;
|
|
9386
9429
|
users: z.infer<typeof sqlUserSchema>;
|