@authhero/adapter-interfaces 2.13.0 → 3.0.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 +11 -10
- package/dist/adapter-interfaces.mjs +6 -5
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/adapters/Tenants.d.ts +3 -3
- package/dist/types/types/Strategy.d.ts +2 -1
- package/dist/types/types/Tenant.d.ts +6 -6
- package/package.json +1 -1
|
@@ -2,9 +2,9 @@ import { Tenant, Totals } from "../types";
|
|
|
2
2
|
import { ListParams } from "../types/ListParams";
|
|
3
3
|
export interface CreateTenantParams {
|
|
4
4
|
friendly_name: string;
|
|
5
|
-
audience
|
|
6
|
-
sender_name
|
|
7
|
-
sender_email
|
|
5
|
+
audience?: string;
|
|
6
|
+
sender_name?: string;
|
|
7
|
+
sender_email?: string;
|
|
8
8
|
id?: string;
|
|
9
9
|
session_lifetime?: number;
|
|
10
10
|
idle_session_lifetime?: number;
|
|
@@ -6,13 +6,14 @@ export declare const Strategy: {
|
|
|
6
6
|
readonly APPLE: "apple";
|
|
7
7
|
readonly FACEBOOK: "facebook";
|
|
8
8
|
readonly GITHUB: "github";
|
|
9
|
-
readonly
|
|
9
|
+
readonly WINDOWSLIVE: "windowslive";
|
|
10
10
|
readonly VIPPS: "vipps";
|
|
11
11
|
readonly OIDC: "oidc";
|
|
12
12
|
readonly OAUTH2: "oauth2";
|
|
13
13
|
readonly SAMLP: "samlp";
|
|
14
14
|
readonly WAAD: "waad";
|
|
15
15
|
readonly ADFS: "adfs";
|
|
16
|
+
readonly OKTA: "okta";
|
|
16
17
|
};
|
|
17
18
|
export declare const StrategyType: {
|
|
18
19
|
readonly DATABASE: "database";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { z } from "@hono/zod-openapi";
|
|
2
2
|
export declare const tenantInsertSchema: z.ZodObject<{
|
|
3
3
|
id: z.ZodOptional<z.ZodString>;
|
|
4
|
-
audience: z.ZodString
|
|
4
|
+
audience: z.ZodOptional<z.ZodString>;
|
|
5
5
|
friendly_name: z.ZodString;
|
|
6
6
|
picture_url: z.ZodOptional<z.ZodString>;
|
|
7
7
|
support_email: z.ZodOptional<z.ZodString>;
|
|
8
8
|
support_url: z.ZodOptional<z.ZodString>;
|
|
9
|
-
sender_email: z.ZodString
|
|
10
|
-
sender_name: z.ZodString
|
|
9
|
+
sender_email: z.ZodOptional<z.ZodString>;
|
|
10
|
+
sender_name: z.ZodOptional<z.ZodString>;
|
|
11
11
|
session_lifetime: z.ZodOptional<z.ZodNumber>;
|
|
12
12
|
idle_session_lifetime: z.ZodOptional<z.ZodNumber>;
|
|
13
13
|
ephemeral_session_lifetime: z.ZodOptional<z.ZodNumber>;
|
|
@@ -205,13 +205,13 @@ export declare const tenantInsertSchema: z.ZodObject<{
|
|
|
205
205
|
export declare const tenantSchema: z.ZodObject<{
|
|
206
206
|
created_at: z.ZodPipe<z.ZodNullable<z.ZodString>, z.ZodTransform<string, string | null>>;
|
|
207
207
|
updated_at: z.ZodPipe<z.ZodNullable<z.ZodString>, z.ZodTransform<string, string | null>>;
|
|
208
|
-
audience: z.ZodString
|
|
208
|
+
audience: z.ZodOptional<z.ZodString>;
|
|
209
209
|
friendly_name: z.ZodString;
|
|
210
210
|
picture_url: z.ZodOptional<z.ZodString>;
|
|
211
211
|
support_email: z.ZodOptional<z.ZodString>;
|
|
212
212
|
support_url: z.ZodOptional<z.ZodString>;
|
|
213
|
-
sender_email: z.ZodString
|
|
214
|
-
sender_name: z.ZodString
|
|
213
|
+
sender_email: z.ZodOptional<z.ZodString>;
|
|
214
|
+
sender_name: z.ZodOptional<z.ZodString>;
|
|
215
215
|
session_lifetime: z.ZodOptional<z.ZodNumber>;
|
|
216
216
|
idle_session_lifetime: z.ZodOptional<z.ZodNumber>;
|
|
217
217
|
ephemeral_session_lifetime: z.ZodOptional<z.ZodNumber>;
|