@authhero/adapter-interfaces 1.11.0 → 1.13.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.
@@ -24,13 +24,13 @@ export declare const actionDependencySchema: z.ZodObject<{
24
24
  }>;
25
25
  export declare const actionSecretSchema: z.ZodObject<{
26
26
  name: z.ZodString;
27
- value: z.ZodString;
27
+ value: z.ZodOptional<z.ZodString>;
28
28
  }, "strip", z.ZodTypeAny, {
29
- value: string;
30
29
  name: string;
30
+ value?: string | undefined;
31
31
  }, {
32
- value: string;
33
32
  name: string;
33
+ value?: string | undefined;
34
34
  }>;
35
35
  export declare const actionInsertSchema: z.ZodObject<{
36
36
  name: z.ZodString;
@@ -58,13 +58,13 @@ export declare const actionInsertSchema: z.ZodObject<{
58
58
  }>, "many">>;
59
59
  secrets: z.ZodOptional<z.ZodArray<z.ZodObject<{
60
60
  name: z.ZodString;
61
- value: z.ZodString;
61
+ value: z.ZodOptional<z.ZodString>;
62
62
  }, "strip", z.ZodTypeAny, {
63
- value: string;
64
63
  name: string;
64
+ value?: string | undefined;
65
65
  }, {
66
- value: string;
67
66
  name: string;
67
+ value?: string | undefined;
68
68
  }>, "many">>;
69
69
  }, "strip", z.ZodTypeAny, {
70
70
  code: string;
@@ -79,8 +79,8 @@ export declare const actionInsertSchema: z.ZodObject<{
79
79
  name: string;
80
80
  }[] | undefined;
81
81
  secrets?: {
82
- value: string;
83
82
  name: string;
83
+ value?: string | undefined;
84
84
  }[] | undefined;
85
85
  }, {
86
86
  code: string;
@@ -95,8 +95,8 @@ export declare const actionInsertSchema: z.ZodObject<{
95
95
  name: string;
96
96
  }[] | undefined;
97
97
  secrets?: {
98
- value: string;
99
98
  name: string;
99
+ value?: string | undefined;
100
100
  }[] | undefined;
101
101
  }>;
102
102
  export type ActionInsert = z.infer<typeof actionInsertSchema>;
@@ -126,13 +126,13 @@ export declare const actionUpdateSchema: z.ZodObject<{
126
126
  }>, "many">>>;
127
127
  secrets: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
128
128
  name: z.ZodString;
129
- value: z.ZodString;
129
+ value: z.ZodOptional<z.ZodString>;
130
130
  }, "strip", z.ZodTypeAny, {
131
- value: string;
132
131
  name: string;
132
+ value?: string | undefined;
133
133
  }, {
134
- value: string;
135
134
  name: string;
135
+ value?: string | undefined;
136
136
  }>, "many">>>;
137
137
  } & {
138
138
  status: z.ZodOptional<z.ZodEnum<[
@@ -154,8 +154,8 @@ export declare const actionUpdateSchema: z.ZodObject<{
154
154
  name: string;
155
155
  }[] | undefined;
156
156
  secrets?: {
157
- value: string;
158
157
  name: string;
158
+ value?: string | undefined;
159
159
  }[] | undefined;
160
160
  deployed_at?: string | undefined;
161
161
  }, {
@@ -172,8 +172,8 @@ export declare const actionUpdateSchema: z.ZodObject<{
172
172
  name: string;
173
173
  }[] | undefined;
174
174
  secrets?: {
175
- value: string;
176
175
  name: string;
176
+ value?: string | undefined;
177
177
  }[] | undefined;
178
178
  deployed_at?: string | undefined;
179
179
  }>;
@@ -3060,7 +3060,9 @@ export declare const clientInsertSchema: z.ZodObject<{
3060
3060
  token_endpoint_auth_method: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
3061
3061
  "none",
3062
3062
  "client_secret_post",
3063
- "client_secret_basic"
3063
+ "client_secret_basic",
3064
+ "client_secret_jwt",
3065
+ "private_key_jwt"
3064
3066
  ]>>>;
3065
3067
  client_metadata: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>>;
3066
3068
  mobile: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
@@ -3176,7 +3178,7 @@ export declare const clientInsertSchema: z.ZodObject<{
3176
3178
  custom_login_page_preview?: string | undefined;
3177
3179
  form_template?: string | undefined;
3178
3180
  addons?: Record<string, any> | undefined;
3179
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
3181
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
3180
3182
  client_metadata?: Record<string, string> | undefined;
3181
3183
  mobile?: Record<string, any> | undefined;
3182
3184
  initiate_login_uri?: string | undefined;
@@ -3235,7 +3237,7 @@ export declare const clientInsertSchema: z.ZodObject<{
3235
3237
  custom_login_page_preview?: string | undefined;
3236
3238
  form_template?: string | undefined;
3237
3239
  addons?: Record<string, any> | undefined;
3238
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
3240
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
3239
3241
  client_metadata?: Record<string, string> | undefined;
3240
3242
  mobile?: Record<string, any> | undefined;
3241
3243
  initiate_login_uri?: string | undefined;
@@ -3318,7 +3320,9 @@ export declare const clientSchema: z.ZodObject<{
3318
3320
  token_endpoint_auth_method: z.ZodOptional<z.ZodDefault<z.ZodEnum<[
3319
3321
  "none",
3320
3322
  "client_secret_post",
3321
- "client_secret_basic"
3323
+ "client_secret_basic",
3324
+ "client_secret_jwt",
3325
+ "private_key_jwt"
3322
3326
  ]>>>;
3323
3327
  client_metadata: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>>;
3324
3328
  mobile: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
@@ -3438,7 +3442,7 @@ export declare const clientSchema: z.ZodObject<{
3438
3442
  custom_login_page_preview?: string | undefined;
3439
3443
  form_template?: string | undefined;
3440
3444
  addons?: Record<string, any> | undefined;
3441
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
3445
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
3442
3446
  client_metadata?: Record<string, string> | undefined;
3443
3447
  mobile?: Record<string, any> | undefined;
3444
3448
  initiate_login_uri?: string | undefined;
@@ -3499,7 +3503,7 @@ export declare const clientSchema: z.ZodObject<{
3499
3503
  custom_login_page_preview?: string | undefined;
3500
3504
  form_template?: string | undefined;
3501
3505
  addons?: Record<string, any> | undefined;
3502
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | undefined;
3506
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
3503
3507
  client_metadata?: Record<string, string> | undefined;
3504
3508
  mobile?: Record<string, any> | undefined;
3505
3509
  initiate_login_uri?: string | undefined;
@@ -11695,6 +11699,7 @@ export declare const connectionOptionsSchema: z.ZodObject<{
11695
11699
  twilio_sid: z.ZodOptional<z.ZodString>;
11696
11700
  twilio_token: z.ZodOptional<z.ZodString>;
11697
11701
  icon_url: z.ZodOptional<z.ZodString>;
11702
+ domain_aliases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
11698
11703
  passwordPolicy: z.ZodOptional<z.ZodEnum<[
11699
11704
  "none",
11700
11705
  "low",
@@ -12121,6 +12126,7 @@ export declare const connectionOptionsSchema: z.ZodObject<{
12121
12126
  twilio_sid?: string | undefined;
12122
12127
  twilio_token?: string | undefined;
12123
12128
  icon_url?: string | undefined;
12129
+ domain_aliases?: string[] | undefined;
12124
12130
  passwordPolicy?: "none" | "low" | "fair" | "good" | "excellent" | undefined;
12125
12131
  password_complexity_options?: {
12126
12132
  min_length?: number | undefined;
@@ -12224,6 +12230,7 @@ export declare const connectionOptionsSchema: z.ZodObject<{
12224
12230
  twilio_sid?: string | undefined;
12225
12231
  twilio_token?: string | undefined;
12226
12232
  icon_url?: string | undefined;
12233
+ domain_aliases?: string[] | undefined;
12227
12234
  passwordPolicy?: "none" | "low" | "fair" | "good" | "excellent" | undefined;
12228
12235
  password_complexity_options?: {
12229
12236
  min_length?: number | undefined;
@@ -12327,6 +12334,7 @@ export declare const connectionInsertSchema: z.ZodObject<{
12327
12334
  twilio_sid: z.ZodOptional<z.ZodString>;
12328
12335
  twilio_token: z.ZodOptional<z.ZodString>;
12329
12336
  icon_url: z.ZodOptional<z.ZodString>;
12337
+ domain_aliases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
12330
12338
  passwordPolicy: z.ZodOptional<z.ZodEnum<[
12331
12339
  "none",
12332
12340
  "low",
@@ -12753,6 +12761,7 @@ export declare const connectionInsertSchema: z.ZodObject<{
12753
12761
  twilio_sid?: string | undefined;
12754
12762
  twilio_token?: string | undefined;
12755
12763
  icon_url?: string | undefined;
12764
+ domain_aliases?: string[] | undefined;
12756
12765
  passwordPolicy?: "none" | "low" | "fair" | "good" | "excellent" | undefined;
12757
12766
  password_complexity_options?: {
12758
12767
  min_length?: number | undefined;
@@ -12856,6 +12865,7 @@ export declare const connectionInsertSchema: z.ZodObject<{
12856
12865
  twilio_sid?: string | undefined;
12857
12866
  twilio_token?: string | undefined;
12858
12867
  icon_url?: string | undefined;
12868
+ domain_aliases?: string[] | undefined;
12859
12869
  passwordPolicy?: "none" | "low" | "fair" | "good" | "excellent" | undefined;
12860
12870
  password_complexity_options?: {
12861
12871
  min_length?: number | undefined;
@@ -12959,6 +12969,7 @@ export declare const connectionInsertSchema: z.ZodObject<{
12959
12969
  twilio_sid?: string | undefined;
12960
12970
  twilio_token?: string | undefined;
12961
12971
  icon_url?: string | undefined;
12972
+ domain_aliases?: string[] | undefined;
12962
12973
  passwordPolicy?: "none" | "low" | "fair" | "good" | "excellent" | undefined;
12963
12974
  password_complexity_options?: {
12964
12975
  min_length?: number | undefined;
@@ -13071,6 +13082,7 @@ export declare const connectionInsertSchema: z.ZodObject<{
13071
13082
  twilio_sid?: string | undefined;
13072
13083
  twilio_token?: string | undefined;
13073
13084
  icon_url?: string | undefined;
13085
+ domain_aliases?: string[] | undefined;
13074
13086
  passwordPolicy?: "none" | "low" | "fair" | "good" | "excellent" | undefined;
13075
13087
  password_complexity_options?: {
13076
13088
  min_length?: number | undefined;
@@ -13203,6 +13215,7 @@ export declare const connectionSchema: z.ZodObject<{
13203
13215
  twilio_sid: z.ZodOptional<z.ZodString>;
13204
13216
  twilio_token: z.ZodOptional<z.ZodString>;
13205
13217
  icon_url: z.ZodOptional<z.ZodString>;
13218
+ domain_aliases: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
13206
13219
  passwordPolicy: z.ZodOptional<z.ZodEnum<[
13207
13220
  "none",
13208
13221
  "low",
@@ -13629,6 +13642,7 @@ export declare const connectionSchema: z.ZodObject<{
13629
13642
  twilio_sid?: string | undefined;
13630
13643
  twilio_token?: string | undefined;
13631
13644
  icon_url?: string | undefined;
13645
+ domain_aliases?: string[] | undefined;
13632
13646
  passwordPolicy?: "none" | "low" | "fair" | "good" | "excellent" | undefined;
13633
13647
  password_complexity_options?: {
13634
13648
  min_length?: number | undefined;
@@ -13732,6 +13746,7 @@ export declare const connectionSchema: z.ZodObject<{
13732
13746
  twilio_sid?: string | undefined;
13733
13747
  twilio_token?: string | undefined;
13734
13748
  icon_url?: string | undefined;
13749
+ domain_aliases?: string[] | undefined;
13735
13750
  passwordPolicy?: "none" | "low" | "fair" | "good" | "excellent" | undefined;
13736
13751
  password_complexity_options?: {
13737
13752
  min_length?: number | undefined;
@@ -13835,6 +13850,7 @@ export declare const connectionSchema: z.ZodObject<{
13835
13850
  twilio_sid?: string | undefined;
13836
13851
  twilio_token?: string | undefined;
13837
13852
  icon_url?: string | undefined;
13853
+ domain_aliases?: string[] | undefined;
13838
13854
  passwordPolicy?: "none" | "low" | "fair" | "good" | "excellent" | undefined;
13839
13855
  password_complexity_options?: {
13840
13856
  min_length?: number | undefined;
@@ -13949,6 +13965,7 @@ export declare const connectionSchema: z.ZodObject<{
13949
13965
  twilio_sid?: string | undefined;
13950
13966
  twilio_token?: string | undefined;
13951
13967
  icon_url?: string | undefined;
13968
+ domain_aliases?: string[] | undefined;
13952
13969
  passwordPolicy?: "none" | "low" | "fair" | "good" | "excellent" | undefined;
13953
13970
  password_complexity_options?: {
13954
13971
  min_length?: number | undefined;
@@ -43136,7 +43153,7 @@ export declare const inviteSchema: z.ZodObject<{
43136
43153
  ticket_id?: string | undefined;
43137
43154
  }>;
43138
43155
  export type Invite = z.infer<typeof inviteSchema>;
43139
- export declare const jwksSchema: z.ZodObject<{
43156
+ export declare const jwksSchema: z.ZodEffects<z.ZodObject<{
43140
43157
  alg: z.ZodEnum<[
43141
43158
  "RS256",
43142
43159
  "RS384",
@@ -43148,41 +43165,74 @@ export declare const jwksSchema: z.ZodObject<{
43148
43165
  "HS384",
43149
43166
  "HS512"
43150
43167
  ]>;
43151
- e: z.ZodString;
43152
43168
  kid: z.ZodString;
43153
43169
  kty: z.ZodEnum<[
43154
43170
  "RSA",
43155
43171
  "EC",
43156
43172
  "oct"
43157
43173
  ]>;
43158
- n: z.ZodString;
43159
- x5t: z.ZodOptional<z.ZodString>;
43160
- x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
43161
43174
  use: z.ZodOptional<z.ZodEnum<[
43162
43175
  "sig",
43163
43176
  "enc"
43164
43177
  ]>>;
43178
+ n: z.ZodOptional<z.ZodString>;
43179
+ e: z.ZodOptional<z.ZodString>;
43180
+ crv: z.ZodOptional<z.ZodString>;
43181
+ x: z.ZodOptional<z.ZodString>;
43182
+ y: z.ZodOptional<z.ZodString>;
43183
+ x5t: z.ZodOptional<z.ZodString>;
43184
+ x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
43165
43185
  }, "strip", z.ZodTypeAny, {
43166
43186
  kid: string;
43167
43187
  alg: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "HS256" | "HS384" | "HS512";
43168
- e: string;
43169
43188
  kty: "RSA" | "EC" | "oct";
43170
- n: string;
43189
+ x?: string | undefined;
43190
+ y?: string | undefined;
43191
+ use?: "sig" | "enc" | undefined;
43192
+ n?: string | undefined;
43193
+ e?: string | undefined;
43194
+ crv?: string | undefined;
43171
43195
  x5t?: string | undefined;
43172
43196
  x5c?: string[] | undefined;
43173
- use?: "sig" | "enc" | undefined;
43174
43197
  }, {
43175
43198
  kid: string;
43176
43199
  alg: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "HS256" | "HS384" | "HS512";
43177
- e: string;
43178
43200
  kty: "RSA" | "EC" | "oct";
43179
- n: string;
43201
+ x?: string | undefined;
43202
+ y?: string | undefined;
43203
+ use?: "sig" | "enc" | undefined;
43204
+ n?: string | undefined;
43205
+ e?: string | undefined;
43206
+ crv?: string | undefined;
43207
+ x5t?: string | undefined;
43208
+ x5c?: string[] | undefined;
43209
+ }>, {
43210
+ kid: string;
43211
+ alg: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "HS256" | "HS384" | "HS512";
43212
+ kty: "RSA" | "EC" | "oct";
43213
+ x?: string | undefined;
43214
+ y?: string | undefined;
43215
+ use?: "sig" | "enc" | undefined;
43216
+ n?: string | undefined;
43217
+ e?: string | undefined;
43218
+ crv?: string | undefined;
43180
43219
  x5t?: string | undefined;
43181
43220
  x5c?: string[] | undefined;
43221
+ }, {
43222
+ kid: string;
43223
+ alg: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "HS256" | "HS384" | "HS512";
43224
+ kty: "RSA" | "EC" | "oct";
43225
+ x?: string | undefined;
43226
+ y?: string | undefined;
43182
43227
  use?: "sig" | "enc" | undefined;
43228
+ n?: string | undefined;
43229
+ e?: string | undefined;
43230
+ crv?: string | undefined;
43231
+ x5t?: string | undefined;
43232
+ x5c?: string[] | undefined;
43183
43233
  }>;
43184
43234
  export declare const jwksKeySchema: z.ZodObject<{
43185
- keys: z.ZodArray<z.ZodObject<{
43235
+ keys: z.ZodArray<z.ZodEffects<z.ZodObject<{
43186
43236
  alg: z.ZodEnum<[
43187
43237
  "RS256",
43188
43238
  "RS384",
@@ -43194,62 +43244,103 @@ export declare const jwksKeySchema: z.ZodObject<{
43194
43244
  "HS384",
43195
43245
  "HS512"
43196
43246
  ]>;
43197
- e: z.ZodString;
43198
43247
  kid: z.ZodString;
43199
43248
  kty: z.ZodEnum<[
43200
43249
  "RSA",
43201
43250
  "EC",
43202
43251
  "oct"
43203
43252
  ]>;
43204
- n: z.ZodString;
43205
- x5t: z.ZodOptional<z.ZodString>;
43206
- x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
43207
43253
  use: z.ZodOptional<z.ZodEnum<[
43208
43254
  "sig",
43209
43255
  "enc"
43210
43256
  ]>>;
43257
+ n: z.ZodOptional<z.ZodString>;
43258
+ e: z.ZodOptional<z.ZodString>;
43259
+ crv: z.ZodOptional<z.ZodString>;
43260
+ x: z.ZodOptional<z.ZodString>;
43261
+ y: z.ZodOptional<z.ZodString>;
43262
+ x5t: z.ZodOptional<z.ZodString>;
43263
+ x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
43211
43264
  }, "strip", z.ZodTypeAny, {
43212
43265
  kid: string;
43213
43266
  alg: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "HS256" | "HS384" | "HS512";
43214
- e: string;
43215
43267
  kty: "RSA" | "EC" | "oct";
43216
- n: string;
43268
+ x?: string | undefined;
43269
+ y?: string | undefined;
43270
+ use?: "sig" | "enc" | undefined;
43271
+ n?: string | undefined;
43272
+ e?: string | undefined;
43273
+ crv?: string | undefined;
43217
43274
  x5t?: string | undefined;
43218
43275
  x5c?: string[] | undefined;
43219
- use?: "sig" | "enc" | undefined;
43220
43276
  }, {
43221
43277
  kid: string;
43222
43278
  alg: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "HS256" | "HS384" | "HS512";
43223
- e: string;
43224
43279
  kty: "RSA" | "EC" | "oct";
43225
- n: string;
43280
+ x?: string | undefined;
43281
+ y?: string | undefined;
43282
+ use?: "sig" | "enc" | undefined;
43283
+ n?: string | undefined;
43284
+ e?: string | undefined;
43285
+ crv?: string | undefined;
43286
+ x5t?: string | undefined;
43287
+ x5c?: string[] | undefined;
43288
+ }>, {
43289
+ kid: string;
43290
+ alg: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "HS256" | "HS384" | "HS512";
43291
+ kty: "RSA" | "EC" | "oct";
43292
+ x?: string | undefined;
43293
+ y?: string | undefined;
43294
+ use?: "sig" | "enc" | undefined;
43295
+ n?: string | undefined;
43296
+ e?: string | undefined;
43297
+ crv?: string | undefined;
43226
43298
  x5t?: string | undefined;
43227
43299
  x5c?: string[] | undefined;
43300
+ }, {
43301
+ kid: string;
43302
+ alg: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "HS256" | "HS384" | "HS512";
43303
+ kty: "RSA" | "EC" | "oct";
43304
+ x?: string | undefined;
43305
+ y?: string | undefined;
43228
43306
  use?: "sig" | "enc" | undefined;
43307
+ n?: string | undefined;
43308
+ e?: string | undefined;
43309
+ crv?: string | undefined;
43310
+ x5t?: string | undefined;
43311
+ x5c?: string[] | undefined;
43229
43312
  }>, "many">;
43230
43313
  }, "strip", z.ZodTypeAny, {
43231
43314
  keys: {
43232
43315
  kid: string;
43233
43316
  alg: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "HS256" | "HS384" | "HS512";
43234
- e: string;
43235
43317
  kty: "RSA" | "EC" | "oct";
43236
- n: string;
43318
+ x?: string | undefined;
43319
+ y?: string | undefined;
43320
+ use?: "sig" | "enc" | undefined;
43321
+ n?: string | undefined;
43322
+ e?: string | undefined;
43323
+ crv?: string | undefined;
43237
43324
  x5t?: string | undefined;
43238
43325
  x5c?: string[] | undefined;
43239
- use?: "sig" | "enc" | undefined;
43240
43326
  }[];
43241
43327
  }, {
43242
43328
  keys: {
43243
43329
  kid: string;
43244
43330
  alg: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "HS256" | "HS384" | "HS512";
43245
- e: string;
43246
43331
  kty: "RSA" | "EC" | "oct";
43247
- n: string;
43332
+ x?: string | undefined;
43333
+ y?: string | undefined;
43334
+ use?: "sig" | "enc" | undefined;
43335
+ n?: string | undefined;
43336
+ e?: string | undefined;
43337
+ crv?: string | undefined;
43248
43338
  x5t?: string | undefined;
43249
43339
  x5c?: string[] | undefined;
43250
- use?: "sig" | "enc" | undefined;
43251
43340
  }[];
43252
43341
  }>;
43342
+ export type Jwk = z.infer<typeof jwksSchema>;
43343
+ export type Jwks = z.infer<typeof jwksKeySchema>;
43253
43344
  export declare const openIDConfigurationSchema: z.ZodObject<{
43254
43345
  issuer: z.ZodString;
43255
43346
  authorization_endpoint: z.ZodString;
@@ -43272,6 +43363,7 @@ export declare const openIDConfigurationSchema: z.ZodObject<{
43272
43363
  claims_supported: z.ZodArray<z.ZodString, "many">;
43273
43364
  request_uri_parameter_supported: z.ZodBoolean;
43274
43365
  request_parameter_supported: z.ZodBoolean;
43366
+ request_object_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
43275
43367
  token_endpoint_auth_signing_alg_values_supported: z.ZodArray<z.ZodString, "many">;
43276
43368
  }, "strip", z.ZodTypeAny, {
43277
43369
  authorization_endpoint: string;
@@ -43296,6 +43388,7 @@ export declare const openIDConfigurationSchema: z.ZodObject<{
43296
43388
  registration_endpoint?: string | undefined;
43297
43389
  end_session_endpoint?: string | undefined;
43298
43390
  grant_types_supported?: string[] | undefined;
43391
+ request_object_signing_alg_values_supported?: string[] | undefined;
43299
43392
  }, {
43300
43393
  authorization_endpoint: string;
43301
43394
  token_endpoint: string;
@@ -43319,6 +43412,7 @@ export declare const openIDConfigurationSchema: z.ZodObject<{
43319
43412
  registration_endpoint?: string | undefined;
43320
43413
  end_session_endpoint?: string | undefined;
43321
43414
  grant_types_supported?: string[] | undefined;
43415
+ request_object_signing_alg_values_supported?: string[] | undefined;
43322
43416
  }>;
43323
43417
  export interface ListParams {
43324
43418
  page?: number;
@@ -43843,6 +43937,7 @@ export declare const LogTypes: {
43843
43937
  readonly SUCCESSFULLY_ACCEPTED_USER_INVITE: "si";
43844
43938
  readonly BREACHED_PASSWORD_ON_SIGNUP: "signup_pwd_leak";
43845
43939
  readonly SUCCESS_LOGOUT: "slo";
43940
+ readonly SUCCESS_HOOK: "sh";
43846
43941
  readonly SUCCESS_REVOCATION: "srrt";
43847
43942
  readonly SUCCESS_SIGNUP: "ss";
43848
43943
  readonly FAILED_SS_SSO_OPERATION: "ss_sso_failure";
@@ -43908,7 +44003,7 @@ export declare const LocationInfo: z.ZodObject<{
43908
44003
  continent_code: string;
43909
44004
  }>;
43910
44005
  export declare const logInsertSchema: z.ZodObject<{
43911
- type: z.ZodEffects<z.ZodString, "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum", string>;
44006
+ type: z.ZodEffects<z.ZodString, "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum", string>;
43912
44007
  date: z.ZodString;
43913
44008
  description: z.ZodOptional<z.ZodString>;
43914
44009
  ip: z.ZodOptional<z.ZodString>;
@@ -43973,7 +44068,7 @@ export declare const logInsertSchema: z.ZodObject<{
43973
44068
  continent_code: string;
43974
44069
  }>>;
43975
44070
  }, "strip", z.ZodTypeAny, {
43976
- type: "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
44071
+ type: "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
43977
44072
  date: string;
43978
44073
  isMobile: boolean;
43979
44074
  description?: string | undefined;
@@ -44046,7 +44141,7 @@ export declare const logInsertSchema: z.ZodObject<{
44046
44141
  export type LogInsert = z.infer<typeof logInsertSchema>;
44047
44142
  export declare const logSchema: z.ZodObject<{
44048
44143
  log_id: z.ZodString;
44049
- type: z.ZodEffects<z.ZodString, "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum", string>;
44144
+ type: z.ZodEffects<z.ZodString, "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum", string>;
44050
44145
  date: z.ZodString;
44051
44146
  description: z.ZodOptional<z.ZodString>;
44052
44147
  ip: z.ZodOptional<z.ZodString>;
@@ -44110,7 +44205,7 @@ export declare const logSchema: z.ZodObject<{
44110
44205
  continent_code: string;
44111
44206
  }>>;
44112
44207
  }, "strip", z.ZodTypeAny, {
44113
- type: "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
44208
+ type: "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
44114
44209
  date: string;
44115
44210
  isMobile: boolean;
44116
44211
  log_id: string;
@@ -44974,6 +45069,7 @@ export declare const tenantInsertSchema: z.ZodObject<{
44974
45069
  }>>;
44975
45070
  allowed_logout_urls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
44976
45071
  default_redirection_uri: z.ZodOptional<z.ZodString>;
45072
+ default_client_id: z.ZodOptional<z.ZodString>;
44977
45073
  enabled_locales: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
44978
45074
  default_directory: z.ZodOptional<z.ZodString>;
44979
45075
  error_page: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -45564,6 +45660,7 @@ export declare const tenantInsertSchema: z.ZodObject<{
45564
45660
  mode?: "persistent" | "non-persistent" | undefined;
45565
45661
  } | undefined;
45566
45662
  default_redirection_uri?: string | undefined;
45663
+ default_client_id?: string | undefined;
45567
45664
  enabled_locales?: string[] | undefined;
45568
45665
  default_directory?: string | undefined;
45569
45666
  error_page?: {
@@ -45729,6 +45826,7 @@ export declare const tenantInsertSchema: z.ZodObject<{
45729
45826
  mode?: "persistent" | "non-persistent" | undefined;
45730
45827
  } | undefined;
45731
45828
  default_redirection_uri?: string | undefined;
45829
+ default_client_id?: string | undefined;
45732
45830
  enabled_locales?: string[] | undefined;
45733
45831
  default_directory?: string | undefined;
45734
45832
  error_page?: {
@@ -45898,6 +45996,7 @@ export declare const tenantSchema: z.ZodObject<{
45898
45996
  }>>;
45899
45997
  allowed_logout_urls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
45900
45998
  default_redirection_uri: z.ZodOptional<z.ZodString>;
45999
+ default_client_id: z.ZodOptional<z.ZodString>;
45901
46000
  enabled_locales: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
45902
46001
  default_directory: z.ZodOptional<z.ZodString>;
45903
46002
  error_page: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -46492,6 +46591,7 @@ export declare const tenantSchema: z.ZodObject<{
46492
46591
  mode?: "persistent" | "non-persistent" | undefined;
46493
46592
  } | undefined;
46494
46593
  default_redirection_uri?: string | undefined;
46594
+ default_client_id?: string | undefined;
46495
46595
  enabled_locales?: string[] | undefined;
46496
46596
  default_directory?: string | undefined;
46497
46597
  error_page?: {
@@ -46659,6 +46759,7 @@ export declare const tenantSchema: z.ZodObject<{
46659
46759
  mode?: "persistent" | "non-persistent" | undefined;
46660
46760
  } | undefined;
46661
46761
  default_redirection_uri?: string | undefined;
46762
+ default_client_id?: string | undefined;
46662
46763
  enabled_locales?: string[] | undefined;
46663
46764
  default_directory?: string | undefined;
46664
46765
  error_page?: {
@@ -47095,14 +47196,29 @@ export declare const pageBackgroundSchema: z.ZodObject<{
47095
47196
  "left",
47096
47197
  "right"
47097
47198
  ]>;
47199
+ /**
47200
+ * Where the tenant logo renders on the page.
47201
+ * - "widget" (default): inside the widget card via the widget's own header.
47202
+ * - "chip": as a floating pill in the top-left page corner. The widget's
47203
+ * internal logo is suppressed when this is selected.
47204
+ * - "none": no logo on the page or in the widget.
47205
+ * Optional for backwards compatibility; absent values mean "widget".
47206
+ */
47207
+ logo_placement: z.ZodOptional<z.ZodEnum<[
47208
+ "widget",
47209
+ "chip",
47210
+ "none"
47211
+ ]>>;
47098
47212
  }, "strip", z.ZodTypeAny, {
47099
47213
  background_color: string;
47100
47214
  background_image_url: string;
47101
47215
  page_layout: "center" | "left" | "right";
47216
+ logo_placement?: "none" | "widget" | "chip" | undefined;
47102
47217
  }, {
47103
47218
  background_color: string;
47104
47219
  background_image_url: string;
47105
47220
  page_layout: "center" | "left" | "right";
47221
+ logo_placement?: "none" | "widget" | "chip" | undefined;
47106
47222
  }>;
47107
47223
  export declare const widgetSchema: z.ZodObject<{
47108
47224
  header_text_alignment: z.ZodEnum<[
@@ -47373,14 +47489,29 @@ export declare const themeInsertSchema: z.ZodObject<{
47373
47489
  "left",
47374
47490
  "right"
47375
47491
  ]>;
47492
+ /**
47493
+ * Where the tenant logo renders on the page.
47494
+ * - "widget" (default): inside the widget card via the widget's own header.
47495
+ * - "chip": as a floating pill in the top-left page corner. The widget's
47496
+ * internal logo is suppressed when this is selected.
47497
+ * - "none": no logo on the page or in the widget.
47498
+ * Optional for backwards compatibility; absent values mean "widget".
47499
+ */
47500
+ logo_placement: z.ZodOptional<z.ZodEnum<[
47501
+ "widget",
47502
+ "chip",
47503
+ "none"
47504
+ ]>>;
47376
47505
  }, "strip", z.ZodTypeAny, {
47377
47506
  background_color: string;
47378
47507
  background_image_url: string;
47379
47508
  page_layout: "center" | "left" | "right";
47509
+ logo_placement?: "none" | "widget" | "chip" | undefined;
47380
47510
  }, {
47381
47511
  background_color: string;
47382
47512
  background_image_url: string;
47383
47513
  page_layout: "center" | "left" | "right";
47514
+ logo_placement?: "none" | "widget" | "chip" | undefined;
47384
47515
  }>;
47385
47516
  widget: z.ZodObject<{
47386
47517
  header_text_alignment: z.ZodEnum<[
@@ -47418,6 +47549,7 @@ export declare const themeInsertSchema: z.ZodObject<{
47418
47549
  background_color: string;
47419
47550
  background_image_url: string;
47420
47551
  page_layout: "center" | "left" | "right";
47552
+ logo_placement?: "none" | "widget" | "chip" | undefined;
47421
47553
  };
47422
47554
  colors: {
47423
47555
  error: string;
@@ -47440,6 +47572,13 @@ export declare const themeInsertSchema: z.ZodObject<{
47440
47572
  widget_background: string;
47441
47573
  widget_border: string;
47442
47574
  };
47575
+ widget: {
47576
+ logo_url: string;
47577
+ header_text_alignment: "center" | "left" | "right";
47578
+ logo_height: number;
47579
+ logo_position: "none" | "center" | "left" | "right";
47580
+ social_buttons_layout: "bottom" | "top";
47581
+ };
47443
47582
  borders: {
47444
47583
  button_border_radius: number;
47445
47584
  button_border_weight: number;
@@ -47481,18 +47620,12 @@ export declare const themeInsertSchema: z.ZodObject<{
47481
47620
  bold: boolean;
47482
47621
  };
47483
47622
  };
47484
- widget: {
47485
- logo_url: string;
47486
- header_text_alignment: "center" | "left" | "right";
47487
- logo_height: number;
47488
- logo_position: "none" | "center" | "left" | "right";
47489
- social_buttons_layout: "bottom" | "top";
47490
- };
47491
47623
  }, {
47492
47624
  page_background: {
47493
47625
  background_color: string;
47494
47626
  background_image_url: string;
47495
47627
  page_layout: "center" | "left" | "right";
47628
+ logo_placement?: "none" | "widget" | "chip" | undefined;
47496
47629
  };
47497
47630
  colors: {
47498
47631
  error: string;
@@ -47515,6 +47648,13 @@ export declare const themeInsertSchema: z.ZodObject<{
47515
47648
  widget_background: string;
47516
47649
  widget_border: string;
47517
47650
  };
47651
+ widget: {
47652
+ logo_url: string;
47653
+ header_text_alignment: "center" | "left" | "right";
47654
+ logo_height: number;
47655
+ logo_position: "none" | "center" | "left" | "right";
47656
+ social_buttons_layout: "bottom" | "top";
47657
+ };
47518
47658
  borders: {
47519
47659
  button_border_radius: number;
47520
47660
  button_border_weight: number;
@@ -47556,13 +47696,6 @@ export declare const themeInsertSchema: z.ZodObject<{
47556
47696
  bold: boolean;
47557
47697
  };
47558
47698
  };
47559
- widget: {
47560
- logo_url: string;
47561
- header_text_alignment: "center" | "left" | "right";
47562
- logo_height: number;
47563
- logo_position: "none" | "center" | "left" | "right";
47564
- social_buttons_layout: "bottom" | "top";
47565
- };
47566
47699
  }>;
47567
47700
  export type ThemeInsert = z.input<typeof themeInsertSchema>;
47568
47701
  export declare const themeSchema: z.ZodObject<{
@@ -47803,14 +47936,29 @@ export declare const themeSchema: z.ZodObject<{
47803
47936
  "left",
47804
47937
  "right"
47805
47938
  ]>;
47939
+ /**
47940
+ * Where the tenant logo renders on the page.
47941
+ * - "widget" (default): inside the widget card via the widget's own header.
47942
+ * - "chip": as a floating pill in the top-left page corner. The widget's
47943
+ * internal logo is suppressed when this is selected.
47944
+ * - "none": no logo on the page or in the widget.
47945
+ * Optional for backwards compatibility; absent values mean "widget".
47946
+ */
47947
+ logo_placement: z.ZodOptional<z.ZodEnum<[
47948
+ "widget",
47949
+ "chip",
47950
+ "none"
47951
+ ]>>;
47806
47952
  }, "strip", z.ZodTypeAny, {
47807
47953
  background_color: string;
47808
47954
  background_image_url: string;
47809
47955
  page_layout: "center" | "left" | "right";
47956
+ logo_placement?: "none" | "widget" | "chip" | undefined;
47810
47957
  }, {
47811
47958
  background_color: string;
47812
47959
  background_image_url: string;
47813
47960
  page_layout: "center" | "left" | "right";
47961
+ logo_placement?: "none" | "widget" | "chip" | undefined;
47814
47962
  }>;
47815
47963
  widget: z.ZodObject<{
47816
47964
  header_text_alignment: z.ZodEnum<[
@@ -47850,6 +47998,7 @@ export declare const themeSchema: z.ZodObject<{
47850
47998
  background_color: string;
47851
47999
  background_image_url: string;
47852
48000
  page_layout: "center" | "left" | "right";
48001
+ logo_placement?: "none" | "widget" | "chip" | undefined;
47853
48002
  };
47854
48003
  colors: {
47855
48004
  error: string;
@@ -47872,6 +48021,13 @@ export declare const themeSchema: z.ZodObject<{
47872
48021
  widget_background: string;
47873
48022
  widget_border: string;
47874
48023
  };
48024
+ widget: {
48025
+ logo_url: string;
48026
+ header_text_alignment: "center" | "left" | "right";
48027
+ logo_height: number;
48028
+ logo_position: "none" | "center" | "left" | "right";
48029
+ social_buttons_layout: "bottom" | "top";
48030
+ };
47875
48031
  borders: {
47876
48032
  button_border_radius: number;
47877
48033
  button_border_weight: number;
@@ -47913,19 +48069,13 @@ export declare const themeSchema: z.ZodObject<{
47913
48069
  bold: boolean;
47914
48070
  };
47915
48071
  };
47916
- widget: {
47917
- logo_url: string;
47918
- header_text_alignment: "center" | "left" | "right";
47919
- logo_height: number;
47920
- logo_position: "none" | "center" | "left" | "right";
47921
- social_buttons_layout: "bottom" | "top";
47922
- };
47923
48072
  themeId: string;
47924
48073
  }, {
47925
48074
  page_background: {
47926
48075
  background_color: string;
47927
48076
  background_image_url: string;
47928
48077
  page_layout: "center" | "left" | "right";
48078
+ logo_placement?: "none" | "widget" | "chip" | undefined;
47929
48079
  };
47930
48080
  colors: {
47931
48081
  error: string;
@@ -47948,6 +48098,13 @@ export declare const themeSchema: z.ZodObject<{
47948
48098
  widget_background: string;
47949
48099
  widget_border: string;
47950
48100
  };
48101
+ widget: {
48102
+ logo_url: string;
48103
+ header_text_alignment: "center" | "left" | "right";
48104
+ logo_height: number;
48105
+ logo_position: "none" | "center" | "left" | "right";
48106
+ social_buttons_layout: "bottom" | "top";
48107
+ };
47951
48108
  borders: {
47952
48109
  button_border_radius: number;
47953
48110
  button_border_weight: number;
@@ -47989,13 +48146,6 @@ export declare const themeSchema: z.ZodObject<{
47989
48146
  bold: boolean;
47990
48147
  };
47991
48148
  };
47992
- widget: {
47993
- logo_url: string;
47994
- header_text_alignment: "center" | "left" | "right";
47995
- logo_height: number;
47996
- logo_position: "none" | "center" | "left" | "right";
47997
- social_buttons_layout: "bottom" | "top";
47998
- };
47999
48149
  themeId: string;
48000
48150
  }>;
48001
48151
  export type Theme = z.infer<typeof themeSchema>;
@@ -50843,6 +50993,37 @@ export interface OutboxAdapter {
50843
50993
  /** Delete processed events older than the given ISO date. Returns count deleted. */
50844
50994
  cleanup(olderThan: string): Promise<number>;
50845
50995
  }
50996
+ /**
50997
+ * Logical buckets that consumers can rate-limit against. Backends decide
50998
+ * how each scope is enforced (e.g. mapping to a separate Cloudflare Workers
50999
+ * Rate Limiter binding with its own deploy-time limit/period).
51000
+ */
51001
+ export type RateLimitScope = "pre-login" | "pre-user-registration" | "brute-force";
51002
+ export interface RateLimitDecision {
51003
+ /** True if the request is allowed; false if the limit was exceeded. */
51004
+ allowed: boolean;
51005
+ /** Optional retry-after hint in seconds (omitted if the backend can't tell). */
51006
+ retryAfterSeconds?: number;
51007
+ }
51008
+ export interface RateLimitAdapter {
51009
+ /**
51010
+ * Consume one unit of quota for the given scope and key.
51011
+ *
51012
+ * The numeric threshold and window are backend-specific; the
51013
+ * Cloudflare Workers Rate Limiter binding bakes them in at deploy
51014
+ * time and cannot honor a per-tenant override. Callers that need
51015
+ * per-tenant `max_attempts` should layer their own counter on top.
51016
+ *
51017
+ * Returns `{ allowed: true }` if the scope is not configured, so
51018
+ * callers can opt in by configuring backends without changing call
51019
+ * sites.
51020
+ */
51021
+ consume(scope: RateLimitScope, key: string): Promise<RateLimitDecision>;
51022
+ }
51023
+ export interface CodeExecutionLog {
51024
+ level: "log" | "info" | "warn" | "error" | "debug";
51025
+ message: string;
51026
+ }
50846
51027
  export interface CodeExecutionResult {
50847
51028
  success: boolean;
50848
51029
  error?: string;
@@ -50851,6 +51032,12 @@ export interface CodeExecutionResult {
50851
51032
  method: string;
50852
51033
  args: unknown[];
50853
51034
  }>;
51035
+ /**
51036
+ * Console output captured from the user code during execution. Populated by
51037
+ * executors that shadow `console.*` inside the sandbox; absent on executors
51038
+ * that don't support capture.
51039
+ */
51040
+ logs?: CodeExecutionLog[];
50854
51041
  }
50855
51042
  export interface CodeExecutor {
50856
51043
  execute(params: {
@@ -50934,6 +51121,13 @@ export interface DataAdapters {
50934
51121
  smsService?: SmsServiceAdapter;
50935
51122
  /** Optional outbox adapter for transactional audit event capture */
50936
51123
  outbox?: OutboxAdapter;
51124
+ /**
51125
+ * Optional rate-limit adapter for short-window abuse protection
51126
+ * (e.g. backed by the Cloudflare Workers Rate Limiter binding).
51127
+ * Auth flows treat this as opt-in: when undefined, no extra
51128
+ * throttling is applied.
51129
+ */
51130
+ rateLimit?: RateLimitAdapter;
50937
51131
  /**
50938
51132
  * Execute a callback within a database transaction.
50939
51133
  * The callback receives a set of adapters scoped to the transaction.