authhero 0.49.0 → 0.49.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.
@@ -2236,6 +2236,16 @@ export declare const openIDConfigurationSchema: z.ZodObject<{
2236
2236
  request_parameter_supported: boolean;
2237
2237
  token_endpoint_auth_signing_alg_values_supported: string[];
2238
2238
  }>;
2239
+ export interface ListParams {
2240
+ page: number;
2241
+ per_page: number;
2242
+ include_totals: boolean;
2243
+ q?: string;
2244
+ sort?: {
2245
+ sort_by: string;
2246
+ sort_order: "asc" | "desc";
2247
+ };
2248
+ }
2239
2249
  export declare const loginInsertSchema: z.ZodObject<{
2240
2250
  auth0Client: z.ZodOptional<z.ZodString>;
2241
2251
  authParams: z.ZodObject<{
@@ -4221,20 +4231,53 @@ export declare const emailProviderSchema: z.ZodObject<{
4221
4231
  settings?: {} | undefined;
4222
4232
  }>;
4223
4233
  export type EmailProvider = z.infer<typeof emailProviderSchema>;
4234
+ export declare const refreshTokenInsertSchema: z.ZodObject<{
4235
+ refresh_token: z.ZodString;
4236
+ session_id: z.ZodString;
4237
+ expires_at: z.ZodString;
4238
+ used_at: z.ZodOptional<z.ZodString>;
4239
+ revoked_at: z.ZodOptional<z.ZodString>;
4240
+ }, "strip", z.ZodTypeAny, {
4241
+ refresh_token: string;
4242
+ expires_at: string;
4243
+ session_id: string;
4244
+ used_at?: string | undefined;
4245
+ revoked_at?: string | undefined;
4246
+ }, {
4247
+ refresh_token: string;
4248
+ expires_at: string;
4249
+ session_id: string;
4250
+ used_at?: string | undefined;
4251
+ revoked_at?: string | undefined;
4252
+ }>;
4253
+ export type RefreshTokenInsert = z.infer<typeof refreshTokenInsertSchema>;
4254
+ export declare const refreshTokenSchema: z.ZodObject<{
4255
+ refresh_token: z.ZodString;
4256
+ session_id: z.ZodString;
4257
+ expires_at: z.ZodString;
4258
+ used_at: z.ZodOptional<z.ZodString>;
4259
+ revoked_at: z.ZodOptional<z.ZodString>;
4260
+ created_at: z.ZodString;
4261
+ }, "strip", z.ZodTypeAny, {
4262
+ created_at: string;
4263
+ refresh_token: string;
4264
+ expires_at: string;
4265
+ session_id: string;
4266
+ used_at?: string | undefined;
4267
+ revoked_at?: string | undefined;
4268
+ }, {
4269
+ created_at: string;
4270
+ refresh_token: string;
4271
+ expires_at: string;
4272
+ session_id: string;
4273
+ used_at?: string | undefined;
4274
+ revoked_at?: string | undefined;
4275
+ }>;
4276
+ export type RefreshToken = z.infer<typeof refreshTokenSchema>;
4224
4277
  export declare function parseUserId(user_id: string): {
4225
4278
  connection: string;
4226
4279
  id: string;
4227
4280
  };
4228
- export interface ListParams {
4229
- page: number;
4230
- per_page: number;
4231
- include_totals: boolean;
4232
- q?: string;
4233
- sort?: {
4234
- sort_by: string;
4235
- sort_order: "asc" | "desc";
4236
- };
4237
- }
4238
4281
  export interface ListCodesResponse extends Totals {
4239
4282
  codes: Code[];
4240
4283
  }