@authhero/adapter-interfaces 4.21.0 → 4.22.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 +352 -12
- package/dist/adapter-interfaces.mjs +512 -478
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/adapters/Tenants.d.ts +1 -0
- package/dist/types/types/Action.d.ts +48 -4
- package/dist/types/types/AuditEvent.d.ts +55 -0
- package/dist/types/types/Branding.d.ts +11 -0
- package/dist/types/types/ConfigInheritance.d.ts +39 -0
- package/dist/types/types/Connection.d.ts +22 -0
- package/dist/types/types/EmailProvider.d.ts +11 -0
- package/dist/types/types/Hook.d.ts +110 -0
- package/dist/types/types/Logs.d.ts +3 -2
- package/dist/types/types/PromptSetting.d.ts +11 -0
- package/dist/types/types/ResourceServer.d.ts +36 -3
- package/dist/types/types/Tenant.d.ts +2 -0
- package/dist/types/types/User.d.ts +1 -1
- package/dist/types/types/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -20,6 +20,18 @@ export declare const resourceServerOptionsSchema: z.ZodObject<{
|
|
|
20
20
|
}, z.core.$strip>;
|
|
21
21
|
export type ResourceServerOptions = z.infer<typeof resourceServerOptionsSchema>;
|
|
22
22
|
export declare const resourceServerInsertSchema: z.ZodObject<{
|
|
23
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
24
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
25
|
+
local: "local";
|
|
26
|
+
shared: "shared";
|
|
27
|
+
platform: "platform";
|
|
28
|
+
}>>;
|
|
29
|
+
override: z.ZodOptional<z.ZodEnum<{
|
|
30
|
+
none: "none";
|
|
31
|
+
secrets: "secrets";
|
|
32
|
+
fields: "fields";
|
|
33
|
+
}>>;
|
|
34
|
+
enforce: z.ZodOptional<z.ZodBoolean>;
|
|
23
35
|
id: z.ZodOptional<z.ZodString>;
|
|
24
36
|
name: z.ZodString;
|
|
25
37
|
identifier: z.ZodString;
|
|
@@ -49,10 +61,21 @@ export declare const resourceServerInsertSchema: z.ZodObject<{
|
|
|
49
61
|
}, z.core.$strip>>;
|
|
50
62
|
}, z.core.$strip>>;
|
|
51
63
|
is_system: z.ZodOptional<z.ZodBoolean>;
|
|
52
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
53
64
|
}, z.core.$strip>;
|
|
54
65
|
export type ResourceServerInsert = z.input<typeof resourceServerInsertSchema>;
|
|
55
66
|
export declare const resourceServerSchema: z.ZodObject<{
|
|
67
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
68
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
69
|
+
local: "local";
|
|
70
|
+
shared: "shared";
|
|
71
|
+
platform: "platform";
|
|
72
|
+
}>>;
|
|
73
|
+
override: z.ZodOptional<z.ZodEnum<{
|
|
74
|
+
none: "none";
|
|
75
|
+
secrets: "secrets";
|
|
76
|
+
fields: "fields";
|
|
77
|
+
}>>;
|
|
78
|
+
enforce: z.ZodOptional<z.ZodBoolean>;
|
|
56
79
|
id: z.ZodOptional<z.ZodString>;
|
|
57
80
|
name: z.ZodString;
|
|
58
81
|
identifier: z.ZodString;
|
|
@@ -82,12 +105,23 @@ export declare const resourceServerSchema: z.ZodObject<{
|
|
|
82
105
|
}, z.core.$strip>>;
|
|
83
106
|
}, z.core.$strip>>;
|
|
84
107
|
is_system: z.ZodOptional<z.ZodBoolean>;
|
|
85
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
86
108
|
created_at: z.ZodOptional<z.ZodString>;
|
|
87
109
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
88
110
|
}, z.core.$strip>;
|
|
89
111
|
export type ResourceServer = z.infer<typeof resourceServerSchema>;
|
|
90
112
|
export declare const resourceServerListSchema: z.ZodArray<z.ZodObject<{
|
|
113
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
114
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
115
|
+
local: "local";
|
|
116
|
+
shared: "shared";
|
|
117
|
+
platform: "platform";
|
|
118
|
+
}>>;
|
|
119
|
+
override: z.ZodOptional<z.ZodEnum<{
|
|
120
|
+
none: "none";
|
|
121
|
+
secrets: "secrets";
|
|
122
|
+
fields: "fields";
|
|
123
|
+
}>>;
|
|
124
|
+
enforce: z.ZodOptional<z.ZodBoolean>;
|
|
91
125
|
id: z.ZodOptional<z.ZodString>;
|
|
92
126
|
name: z.ZodString;
|
|
93
127
|
identifier: z.ZodString;
|
|
@@ -117,7 +151,6 @@ export declare const resourceServerListSchema: z.ZodArray<z.ZodObject<{
|
|
|
117
151
|
}, z.core.$strip>>;
|
|
118
152
|
}, z.core.$strip>>;
|
|
119
153
|
is_system: z.ZodOptional<z.ZodBoolean>;
|
|
120
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
121
154
|
created_at: z.ZodOptional<z.ZodString>;
|
|
122
155
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
123
156
|
}, z.core.$strip>>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { z } from "@hono/zod-openapi";
|
|
2
2
|
export declare const tenantInsertSchema: z.ZodObject<{
|
|
3
3
|
id: z.ZodOptional<z.ZodString>;
|
|
4
|
+
parent_tenant_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4
5
|
audience: z.ZodOptional<z.ZodString>;
|
|
5
6
|
friendly_name: z.ZodString;
|
|
6
7
|
picture_url: z.ZodOptional<z.ZodString>;
|
|
@@ -206,6 +207,7 @@ export declare const tenantInsertSchema: z.ZodObject<{
|
|
|
206
207
|
export declare const tenantSchema: z.ZodObject<{
|
|
207
208
|
created_at: z.ZodPipe<z.ZodNullable<z.ZodString>, z.ZodTransform<string, string | null>>;
|
|
208
209
|
updated_at: z.ZodPipe<z.ZodNullable<z.ZodString>, z.ZodTransform<string, string | null>>;
|
|
210
|
+
parent_tenant_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
209
211
|
audience: z.ZodOptional<z.ZodString>;
|
|
210
212
|
friendly_name: z.ZodString;
|
|
211
213
|
picture_url: z.ZodOptional<z.ZodString>;
|
|
@@ -161,8 +161,8 @@ export declare const auth0UserResponseSchema: z.ZodObject<{
|
|
|
161
161
|
updated_at: z.ZodString;
|
|
162
162
|
name: z.ZodOptional<z.ZodString>;
|
|
163
163
|
email: z.ZodOptional<z.ZodString>;
|
|
164
|
-
connection: z.ZodString;
|
|
165
164
|
user_id: z.ZodString;
|
|
165
|
+
connection: z.ZodString;
|
|
166
166
|
email_verified: z.ZodDefault<z.ZodBoolean>;
|
|
167
167
|
username: z.ZodOptional<z.ZodString>;
|
|
168
168
|
given_name: z.ZodOptional<z.ZodString>;
|