@authhero/kysely-adapter 10.132.4 → 10.134.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 +14 -14
- package/dist/kysely-adapter.d.ts +331 -1
- package/dist/kysely-adapter.mjs +1786 -1583
- package/package.json +2 -2
package/dist/kysely-adapter.d.ts
CHANGED
|
@@ -239,6 +239,164 @@ declare const actionSchema: z.ZodObject<{
|
|
|
239
239
|
deployed_at?: string | undefined;
|
|
240
240
|
}>;
|
|
241
241
|
export type Action = z.infer<typeof actionSchema>;
|
|
242
|
+
declare const actionVersionInsertSchema: z.ZodObject<{
|
|
243
|
+
action_id: z.ZodString;
|
|
244
|
+
code: z.ZodString;
|
|
245
|
+
runtime: z.ZodOptional<z.ZodString>;
|
|
246
|
+
dependencies: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
247
|
+
name: z.ZodString;
|
|
248
|
+
version: z.ZodString;
|
|
249
|
+
}, "strip", z.ZodTypeAny, {
|
|
250
|
+
version: string;
|
|
251
|
+
name: string;
|
|
252
|
+
}, {
|
|
253
|
+
version: string;
|
|
254
|
+
name: string;
|
|
255
|
+
}>, "many">>;
|
|
256
|
+
secrets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
257
|
+
name: z.ZodString;
|
|
258
|
+
value: z.ZodOptional<z.ZodString>;
|
|
259
|
+
}, "strip", z.ZodTypeAny, {
|
|
260
|
+
name: string;
|
|
261
|
+
value?: string | undefined;
|
|
262
|
+
}, {
|
|
263
|
+
name: string;
|
|
264
|
+
value?: string | undefined;
|
|
265
|
+
}>, "many">>;
|
|
266
|
+
supported_triggers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
267
|
+
id: z.ZodString;
|
|
268
|
+
version: z.ZodOptional<z.ZodString>;
|
|
269
|
+
}, "strip", z.ZodTypeAny, {
|
|
270
|
+
id: string;
|
|
271
|
+
version?: string | undefined;
|
|
272
|
+
}, {
|
|
273
|
+
id: string;
|
|
274
|
+
version?: string | undefined;
|
|
275
|
+
}>, "many">>;
|
|
276
|
+
deployed: z.ZodDefault<z.ZodBoolean>;
|
|
277
|
+
}, "strip", z.ZodTypeAny, {
|
|
278
|
+
code: string;
|
|
279
|
+
action_id: string;
|
|
280
|
+
deployed: boolean;
|
|
281
|
+
supported_triggers?: {
|
|
282
|
+
id: string;
|
|
283
|
+
version?: string | undefined;
|
|
284
|
+
}[] | undefined;
|
|
285
|
+
runtime?: string | undefined;
|
|
286
|
+
dependencies?: {
|
|
287
|
+
version: string;
|
|
288
|
+
name: string;
|
|
289
|
+
}[] | undefined;
|
|
290
|
+
secrets?: {
|
|
291
|
+
name: string;
|
|
292
|
+
value?: string | undefined;
|
|
293
|
+
}[] | undefined;
|
|
294
|
+
}, {
|
|
295
|
+
code: string;
|
|
296
|
+
action_id: string;
|
|
297
|
+
supported_triggers?: {
|
|
298
|
+
id: string;
|
|
299
|
+
version?: string | undefined;
|
|
300
|
+
}[] | undefined;
|
|
301
|
+
runtime?: string | undefined;
|
|
302
|
+
dependencies?: {
|
|
303
|
+
version: string;
|
|
304
|
+
name: string;
|
|
305
|
+
}[] | undefined;
|
|
306
|
+
secrets?: {
|
|
307
|
+
name: string;
|
|
308
|
+
value?: string | undefined;
|
|
309
|
+
}[] | undefined;
|
|
310
|
+
deployed?: boolean | undefined;
|
|
311
|
+
}>;
|
|
312
|
+
export type ActionVersionInsert = z.infer<typeof actionVersionInsertSchema>;
|
|
313
|
+
declare const actionVersionSchema: z.ZodObject<{
|
|
314
|
+
action_id: z.ZodString;
|
|
315
|
+
code: z.ZodString;
|
|
316
|
+
runtime: z.ZodOptional<z.ZodString>;
|
|
317
|
+
dependencies: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
318
|
+
name: z.ZodString;
|
|
319
|
+
version: z.ZodString;
|
|
320
|
+
}, "strip", z.ZodTypeAny, {
|
|
321
|
+
version: string;
|
|
322
|
+
name: string;
|
|
323
|
+
}, {
|
|
324
|
+
version: string;
|
|
325
|
+
name: string;
|
|
326
|
+
}>, "many">>;
|
|
327
|
+
secrets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
328
|
+
name: z.ZodString;
|
|
329
|
+
value: z.ZodOptional<z.ZodString>;
|
|
330
|
+
}, "strip", z.ZodTypeAny, {
|
|
331
|
+
name: string;
|
|
332
|
+
value?: string | undefined;
|
|
333
|
+
}, {
|
|
334
|
+
name: string;
|
|
335
|
+
value?: string | undefined;
|
|
336
|
+
}>, "many">>;
|
|
337
|
+
supported_triggers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
338
|
+
id: z.ZodString;
|
|
339
|
+
version: z.ZodOptional<z.ZodString>;
|
|
340
|
+
}, "strip", z.ZodTypeAny, {
|
|
341
|
+
id: string;
|
|
342
|
+
version?: string | undefined;
|
|
343
|
+
}, {
|
|
344
|
+
id: string;
|
|
345
|
+
version?: string | undefined;
|
|
346
|
+
}>, "many">>;
|
|
347
|
+
deployed: z.ZodDefault<z.ZodBoolean>;
|
|
348
|
+
} & {
|
|
349
|
+
created_at: z.ZodString;
|
|
350
|
+
updated_at: z.ZodString;
|
|
351
|
+
id: z.ZodString;
|
|
352
|
+
tenant_id: z.ZodString;
|
|
353
|
+
number: z.ZodNumber;
|
|
354
|
+
}, "strip", z.ZodTypeAny, {
|
|
355
|
+
number: number;
|
|
356
|
+
created_at: string;
|
|
357
|
+
updated_at: string;
|
|
358
|
+
code: string;
|
|
359
|
+
id: string;
|
|
360
|
+
tenant_id: string;
|
|
361
|
+
action_id: string;
|
|
362
|
+
deployed: boolean;
|
|
363
|
+
supported_triggers?: {
|
|
364
|
+
id: string;
|
|
365
|
+
version?: string | undefined;
|
|
366
|
+
}[] | undefined;
|
|
367
|
+
runtime?: string | undefined;
|
|
368
|
+
dependencies?: {
|
|
369
|
+
version: string;
|
|
370
|
+
name: string;
|
|
371
|
+
}[] | undefined;
|
|
372
|
+
secrets?: {
|
|
373
|
+
name: string;
|
|
374
|
+
value?: string | undefined;
|
|
375
|
+
}[] | undefined;
|
|
376
|
+
}, {
|
|
377
|
+
number: number;
|
|
378
|
+
created_at: string;
|
|
379
|
+
updated_at: string;
|
|
380
|
+
code: string;
|
|
381
|
+
id: string;
|
|
382
|
+
tenant_id: string;
|
|
383
|
+
action_id: string;
|
|
384
|
+
supported_triggers?: {
|
|
385
|
+
id: string;
|
|
386
|
+
version?: string | undefined;
|
|
387
|
+
}[] | undefined;
|
|
388
|
+
runtime?: string | undefined;
|
|
389
|
+
dependencies?: {
|
|
390
|
+
version: string;
|
|
391
|
+
name: string;
|
|
392
|
+
}[] | undefined;
|
|
393
|
+
secrets?: {
|
|
394
|
+
name: string;
|
|
395
|
+
value?: string | undefined;
|
|
396
|
+
}[] | undefined;
|
|
397
|
+
deployed?: boolean | undefined;
|
|
398
|
+
}>;
|
|
399
|
+
export type ActionVersion = z.infer<typeof actionVersionSchema>;
|
|
242
400
|
declare const auditEventInsertSchema: z.ZodObject<{
|
|
243
401
|
tenant_id: z.ZodString;
|
|
244
402
|
event_type: z.ZodString;
|
|
@@ -2464,7 +2622,7 @@ export type ClientRegistrationToken = z.infer<typeof clientRegistrationTokenSche
|
|
|
2464
2622
|
declare enum AuthorizationResponseType {
|
|
2465
2623
|
TOKEN = "token",
|
|
2466
2624
|
ID_TOKEN = "id_token",
|
|
2467
|
-
TOKEN_ID_TOKEN = "token
|
|
2625
|
+
TOKEN_ID_TOKEN = "id_token token",
|
|
2468
2626
|
CODE = "code"
|
|
2469
2627
|
}
|
|
2470
2628
|
declare enum AuthorizationResponseMode {
|
|
@@ -16957,6 +17115,7 @@ declare const sessionSchema: z.ZodObject<{
|
|
|
16957
17115
|
export type Session = z.infer<typeof sessionSchema>;
|
|
16958
17116
|
declare const signingKeySchema: z.ZodObject<{
|
|
16959
17117
|
kid: z.ZodString;
|
|
17118
|
+
tenant_id: z.ZodOptional<z.ZodString>;
|
|
16960
17119
|
cert: z.ZodString;
|
|
16961
17120
|
fingerprint: z.ZodString;
|
|
16962
17121
|
thumbprint: z.ZodString;
|
|
@@ -16979,6 +17138,7 @@ declare const signingKeySchema: z.ZodObject<{
|
|
|
16979
17138
|
cert: string;
|
|
16980
17139
|
fingerprint: string;
|
|
16981
17140
|
thumbprint: string;
|
|
17141
|
+
tenant_id?: string | undefined;
|
|
16982
17142
|
connection?: string | undefined;
|
|
16983
17143
|
revoked_at?: string | undefined;
|
|
16984
17144
|
pkcs7?: string | undefined;
|
|
@@ -16994,6 +17154,7 @@ declare const signingKeySchema: z.ZodObject<{
|
|
|
16994
17154
|
cert: string;
|
|
16995
17155
|
fingerprint: string;
|
|
16996
17156
|
thumbprint: string;
|
|
17157
|
+
tenant_id?: string | undefined;
|
|
16997
17158
|
connection?: string | undefined;
|
|
16998
17159
|
revoked_at?: string | undefined;
|
|
16999
17160
|
pkcs7?: string | undefined;
|
|
@@ -18877,6 +19038,66 @@ declare const emailProviderSchema: z.ZodObject<{
|
|
|
18877
19038
|
settings?: {} | undefined;
|
|
18878
19039
|
}>;
|
|
18879
19040
|
export type EmailProvider = z.infer<typeof emailProviderSchema>;
|
|
19041
|
+
declare const emailTemplateNameSchema: z.ZodEnum<[
|
|
19042
|
+
"verify_email",
|
|
19043
|
+
"verify_email_by_code",
|
|
19044
|
+
"reset_email",
|
|
19045
|
+
"reset_email_by_code",
|
|
19046
|
+
"welcome_email",
|
|
19047
|
+
"blocked_account",
|
|
19048
|
+
"stolen_credentials",
|
|
19049
|
+
"enrollment_email",
|
|
19050
|
+
"mfa_oob_code",
|
|
19051
|
+
"change_password",
|
|
19052
|
+
"password_reset",
|
|
19053
|
+
"user_invitation"
|
|
19054
|
+
]>;
|
|
19055
|
+
export type EmailTemplateName = z.infer<typeof emailTemplateNameSchema>;
|
|
19056
|
+
declare const emailTemplateSchema: z.ZodObject<{
|
|
19057
|
+
template: z.ZodEnum<[
|
|
19058
|
+
"verify_email",
|
|
19059
|
+
"verify_email_by_code",
|
|
19060
|
+
"reset_email",
|
|
19061
|
+
"reset_email_by_code",
|
|
19062
|
+
"welcome_email",
|
|
19063
|
+
"blocked_account",
|
|
19064
|
+
"stolen_credentials",
|
|
19065
|
+
"enrollment_email",
|
|
19066
|
+
"mfa_oob_code",
|
|
19067
|
+
"change_password",
|
|
19068
|
+
"password_reset",
|
|
19069
|
+
"user_invitation"
|
|
19070
|
+
]>;
|
|
19071
|
+
body: z.ZodString;
|
|
19072
|
+
from: z.ZodString;
|
|
19073
|
+
subject: z.ZodString;
|
|
19074
|
+
syntax: z.ZodDefault<z.ZodLiteral<"liquid">>;
|
|
19075
|
+
resultUrl: z.ZodOptional<z.ZodString>;
|
|
19076
|
+
urlLifetimeInSeconds: z.ZodOptional<z.ZodNumber>;
|
|
19077
|
+
includeEmailInRedirect: z.ZodDefault<z.ZodBoolean>;
|
|
19078
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
19079
|
+
}, "strip", z.ZodTypeAny, {
|
|
19080
|
+
body: string;
|
|
19081
|
+
from: string;
|
|
19082
|
+
enabled: boolean;
|
|
19083
|
+
template: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
19084
|
+
subject: string;
|
|
19085
|
+
syntax: "liquid";
|
|
19086
|
+
includeEmailInRedirect: boolean;
|
|
19087
|
+
resultUrl?: string | undefined;
|
|
19088
|
+
urlLifetimeInSeconds?: number | undefined;
|
|
19089
|
+
}, {
|
|
19090
|
+
body: string;
|
|
19091
|
+
from: string;
|
|
19092
|
+
template: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
19093
|
+
subject: string;
|
|
19094
|
+
enabled?: boolean | undefined;
|
|
19095
|
+
syntax?: "liquid" | undefined;
|
|
19096
|
+
resultUrl?: string | undefined;
|
|
19097
|
+
urlLifetimeInSeconds?: number | undefined;
|
|
19098
|
+
includeEmailInRedirect?: boolean | undefined;
|
|
19099
|
+
}>;
|
|
19100
|
+
export type EmailTemplate = z.infer<typeof emailTemplateSchema>;
|
|
18880
19101
|
declare const refreshTokenInsertSchema: z.ZodObject<{
|
|
18881
19102
|
id: z.ZodString;
|
|
18882
19103
|
login_id: z.ZodString;
|
|
@@ -20015,6 +20236,24 @@ export interface ActionsAdapter {
|
|
|
20015
20236
|
remove: (tenant_id: string, action_id: string) => Promise<boolean>;
|
|
20016
20237
|
list: (tenant_id: string, params?: ListParams) => Promise<ListActionsResponse>;
|
|
20017
20238
|
}
|
|
20239
|
+
export interface ListActionVersionsResponse extends Totals {
|
|
20240
|
+
versions: ActionVersion[];
|
|
20241
|
+
}
|
|
20242
|
+
export interface ActionVersionsAdapter {
|
|
20243
|
+
/**
|
|
20244
|
+
* Append a new version row for an action. The adapter assigns the next
|
|
20245
|
+
* sequential `number` per action_id and clears the `deployed` flag on any
|
|
20246
|
+
* prior versions when the new one is created with `deployed: true`.
|
|
20247
|
+
*/
|
|
20248
|
+
create: (tenant_id: string, version: ActionVersionInsert) => Promise<ActionVersion>;
|
|
20249
|
+
get: (tenant_id: string, action_id: string, version_id: string) => Promise<ActionVersion | null>;
|
|
20250
|
+
list: (tenant_id: string, action_id: string, params?: ListParams) => Promise<ListActionVersionsResponse>;
|
|
20251
|
+
/**
|
|
20252
|
+
* Remove every version row for an action — used when the parent action is
|
|
20253
|
+
* deleted. Returns the number of rows removed.
|
|
20254
|
+
*/
|
|
20255
|
+
removeForAction: (tenant_id: string, action_id: string) => Promise<number>;
|
|
20256
|
+
}
|
|
20018
20257
|
export interface ListFlowsResponse extends Totals {
|
|
20019
20258
|
flows: Flow[];
|
|
20020
20259
|
}
|
|
@@ -20275,6 +20514,13 @@ export interface EmailProvidersAdapter {
|
|
|
20275
20514
|
get: (tenant_id: string) => Promise<EmailProvider | null>;
|
|
20276
20515
|
remove: (tenant_id: string) => Promise<void>;
|
|
20277
20516
|
}
|
|
20517
|
+
export interface EmailTemplatesAdapter {
|
|
20518
|
+
get: (tenant_id: string, templateName: EmailTemplateName) => Promise<EmailTemplate | null>;
|
|
20519
|
+
list: (tenant_id: string) => Promise<EmailTemplate[]>;
|
|
20520
|
+
create: (tenant_id: string, template: EmailTemplate) => Promise<EmailTemplate>;
|
|
20521
|
+
update: (tenant_id: string, templateName: EmailTemplateName, template: Partial<EmailTemplate>) => Promise<boolean>;
|
|
20522
|
+
remove: (tenant_id: string, templateName: EmailTemplateName) => Promise<boolean>;
|
|
20523
|
+
}
|
|
20278
20524
|
export interface ListRefreshTokenResponse extends Totals {
|
|
20279
20525
|
refresh_tokens: RefreshToken[];
|
|
20280
20526
|
}
|
|
@@ -20591,6 +20837,7 @@ export interface SessionCleanupParams {
|
|
|
20591
20837
|
}
|
|
20592
20838
|
export interface DataAdapters {
|
|
20593
20839
|
actions: ActionsAdapter;
|
|
20840
|
+
actionVersions: ActionVersionsAdapter;
|
|
20594
20841
|
branding: BrandingAdapter;
|
|
20595
20842
|
cache?: CacheAdapter;
|
|
20596
20843
|
clients: ClientsAdapter;
|
|
@@ -20601,6 +20848,7 @@ export interface DataAdapters {
|
|
|
20601
20848
|
connections: ConnectionsAdapter;
|
|
20602
20849
|
customDomains: CustomDomainsAdapter;
|
|
20603
20850
|
emailProviders: EmailProvidersAdapter;
|
|
20851
|
+
emailTemplates: EmailTemplatesAdapter;
|
|
20604
20852
|
flows: FlowsAdapter;
|
|
20605
20853
|
forms: FormsAdapter;
|
|
20606
20854
|
geo?: GeoAdapter;
|
|
@@ -21170,6 +21418,46 @@ declare const sqlActionSchema: z.ZodObject<{
|
|
|
21170
21418
|
supported_triggers?: string | null | undefined;
|
|
21171
21419
|
deployed_at_ts?: number | null | undefined;
|
|
21172
21420
|
}>;
|
|
21421
|
+
declare const sqlActionVersionSchema: z.ZodObject<{
|
|
21422
|
+
id: z.ZodString;
|
|
21423
|
+
tenant_id: z.ZodString;
|
|
21424
|
+
action_id: z.ZodString;
|
|
21425
|
+
number: z.ZodNumber;
|
|
21426
|
+
code: z.ZodString;
|
|
21427
|
+
runtime: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
21428
|
+
secrets: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
21429
|
+
dependencies: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
21430
|
+
supported_triggers: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
21431
|
+
deployed: z.ZodNumber;
|
|
21432
|
+
created_at_ts: z.ZodNumber;
|
|
21433
|
+
updated_at_ts: z.ZodNumber;
|
|
21434
|
+
}, "strip", z.ZodTypeAny, {
|
|
21435
|
+
number: number;
|
|
21436
|
+
code: string;
|
|
21437
|
+
tenant_id: string;
|
|
21438
|
+
created_at_ts: number;
|
|
21439
|
+
updated_at_ts: number;
|
|
21440
|
+
id: string;
|
|
21441
|
+
action_id: string;
|
|
21442
|
+
deployed: number;
|
|
21443
|
+
runtime?: string | null | undefined;
|
|
21444
|
+
secrets?: string | null | undefined;
|
|
21445
|
+
dependencies?: string | null | undefined;
|
|
21446
|
+
supported_triggers?: string | null | undefined;
|
|
21447
|
+
}, {
|
|
21448
|
+
number: number;
|
|
21449
|
+
code: string;
|
|
21450
|
+
tenant_id: string;
|
|
21451
|
+
created_at_ts: number;
|
|
21452
|
+
updated_at_ts: number;
|
|
21453
|
+
id: string;
|
|
21454
|
+
action_id: string;
|
|
21455
|
+
deployed: number;
|
|
21456
|
+
runtime?: string | null | undefined;
|
|
21457
|
+
secrets?: string | null | undefined;
|
|
21458
|
+
dependencies?: string | null | undefined;
|
|
21459
|
+
supported_triggers?: string | null | undefined;
|
|
21460
|
+
}>;
|
|
21173
21461
|
declare const sqlHookCodeSchema: z.ZodObject<{
|
|
21174
21462
|
id: z.ZodString;
|
|
21175
21463
|
tenant_id: z.ZodString;
|
|
@@ -21220,6 +21508,46 @@ declare const sqlEmailProvidersSchema: z.ZodObject<{
|
|
|
21220
21508
|
settings: string;
|
|
21221
21509
|
default_from_address?: string | undefined;
|
|
21222
21510
|
}>;
|
|
21511
|
+
declare const sqlEmailTemplatesSchema: z.ZodObject<{
|
|
21512
|
+
tenant_id: z.ZodString;
|
|
21513
|
+
template: z.ZodString;
|
|
21514
|
+
body: z.ZodString;
|
|
21515
|
+
from: z.ZodString;
|
|
21516
|
+
subject: z.ZodString;
|
|
21517
|
+
syntax: z.ZodString;
|
|
21518
|
+
result_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21519
|
+
url_lifetime_in_seconds: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21520
|
+
include_email_in_redirect: z.ZodNumber;
|
|
21521
|
+
enabled: z.ZodNumber;
|
|
21522
|
+
created_at: z.ZodString;
|
|
21523
|
+
updated_at: z.ZodString;
|
|
21524
|
+
}, "strip", z.ZodTypeAny, {
|
|
21525
|
+
tenant_id: string;
|
|
21526
|
+
created_at: string;
|
|
21527
|
+
updated_at: string;
|
|
21528
|
+
body: string;
|
|
21529
|
+
enabled: number;
|
|
21530
|
+
template: string;
|
|
21531
|
+
from: string;
|
|
21532
|
+
subject: string;
|
|
21533
|
+
syntax: string;
|
|
21534
|
+
include_email_in_redirect: number;
|
|
21535
|
+
result_url?: string | null | undefined;
|
|
21536
|
+
url_lifetime_in_seconds?: number | null | undefined;
|
|
21537
|
+
}, {
|
|
21538
|
+
tenant_id: string;
|
|
21539
|
+
created_at: string;
|
|
21540
|
+
updated_at: string;
|
|
21541
|
+
body: string;
|
|
21542
|
+
enabled: number;
|
|
21543
|
+
template: string;
|
|
21544
|
+
from: string;
|
|
21545
|
+
subject: string;
|
|
21546
|
+
syntax: string;
|
|
21547
|
+
include_email_in_redirect: number;
|
|
21548
|
+
result_url?: string | null | undefined;
|
|
21549
|
+
url_lifetime_in_seconds?: number | null | undefined;
|
|
21550
|
+
}>;
|
|
21223
21551
|
declare const sqlSessionSchema: z.ZodObject<Omit<{
|
|
21224
21552
|
id: z.ZodString;
|
|
21225
21553
|
revoked_at: z.ZodOptional<z.ZodString>;
|
|
@@ -23310,6 +23638,7 @@ declare const sqlAuthenticationMethodSchema: z.ZodObject<{
|
|
|
23310
23638
|
}>;
|
|
23311
23639
|
export interface Database {
|
|
23312
23640
|
actions: z.infer<typeof sqlActionSchema>;
|
|
23641
|
+
action_versions: z.infer<typeof sqlActionVersionSchema>;
|
|
23313
23642
|
flows: z.infer<typeof sqlFlowSchema>;
|
|
23314
23643
|
branding: z.infer<typeof sqlBrandingSchema>;
|
|
23315
23644
|
clients: z.infer<typeof sqlClientSchema>;
|
|
@@ -23321,6 +23650,7 @@ export interface Database {
|
|
|
23321
23650
|
connections: z.infer<typeof sqlConnectionSchema>;
|
|
23322
23651
|
custom_domains: z.infer<typeof sqlCustomDomainSchema>;
|
|
23323
23652
|
email_providers: z.infer<typeof sqlEmailProvidersSchema>;
|
|
23653
|
+
email_templates: z.infer<typeof sqlEmailTemplatesSchema>;
|
|
23324
23654
|
forms: z.infer<typeof sqlFormSchema>;
|
|
23325
23655
|
hook_code: z.infer<typeof sqlHookCodeSchema>;
|
|
23326
23656
|
hooks: z.infer<typeof sqlHookSchema>;
|