@authhero/adapter-interfaces 2.13.0 → 2.13.1

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.
@@ -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: string;
6
- sender_name: string;
7
- sender_email: string;
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;
@@ -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>;
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "type": "git",
12
12
  "url": "https://github.com/markusahlstrand/authhero"
13
13
  },
14
- "version": "2.13.0",
14
+ "version": "2.13.1",
15
15
  "files": [
16
16
  "dist"
17
17
  ],