authhero 9.24.1 → 9.26.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.
Files changed (59) hide show
  1. package/dist/assets/u/widget/index.esm.js +1 -1
  2. package/dist/authhero.cjs +155 -155
  3. package/dist/authhero.d.ts +612 -171
  4. package/dist/authhero.mjs +16457 -15581
  5. package/dist/tsconfig.types.tsbuildinfo +1 -1
  6. package/dist/types/adapters/createEncryptedDataAdapter.d.ts +2 -1
  7. package/dist/types/adapters/index.d.ts +1 -1
  8. package/dist/types/authentication-flows/passwordless.d.ts +12 -5
  9. package/dist/types/errors/management-api-error.d.ts +113 -0
  10. package/dist/types/helpers/audit-target-types.d.ts +26 -0
  11. package/dist/types/helpers/client.d.ts +18 -0
  12. package/dist/types/helpers/control-plane-caller.d.ts +15 -0
  13. package/dist/types/helpers/platform-rows.d.ts +27 -0
  14. package/dist/types/helpers/request-data.d.ts +12 -0
  15. package/dist/types/helpers/reserved-claims.d.ts +2 -2
  16. package/dist/types/helpers/synced-rows.d.ts +1 -0
  17. package/dist/types/index.d.ts +499 -167
  18. package/dist/types/routes/auth-api/index.d.ts +10 -10
  19. package/dist/types/routes/auth-api/passwordless.d.ts +10 -10
  20. package/dist/types/routes/management-api/action-executions.d.ts +1 -1
  21. package/dist/types/routes/management-api/action-triggers.d.ts +8 -2
  22. package/dist/types/routes/management-api/actions.d.ts +44 -11
  23. package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
  24. package/dist/types/routes/management-api/branding.d.ts +13 -1
  25. package/dist/types/routes/management-api/client-grants.d.ts +13 -0
  26. package/dist/types/routes/management-api/clients.d.ts +27 -8
  27. package/dist/types/routes/management-api/connections.d.ts +43 -6
  28. package/dist/types/routes/management-api/custom-domains.d.ts +6 -6
  29. package/dist/types/routes/management-api/email-templates.d.ts +18 -18
  30. package/dist/types/routes/management-api/emails.d.ts +18 -0
  31. package/dist/types/routes/management-api/failed-events.d.ts +24 -0
  32. package/dist/types/routes/management-api/guardian.d.ts +5 -5
  33. package/dist/types/routes/management-api/helpers.d.ts +1 -1
  34. package/dist/types/routes/management-api/hook-code.d.ts +2 -2
  35. package/dist/types/routes/management-api/hooks.d.ts +126 -21
  36. package/dist/types/routes/management-api/index.d.ts +480 -152
  37. package/dist/types/routes/management-api/keys.d.ts +8 -8
  38. package/dist/types/routes/management-api/log-streams.d.ts +6 -6
  39. package/dist/types/routes/management-api/logs.d.ts +4 -4
  40. package/dist/types/routes/management-api/migration-sources.d.ts +6 -6
  41. package/dist/types/routes/management-api/organizations.d.ts +2 -2
  42. package/dist/types/routes/management-api/prompts.d.ts +12 -6
  43. package/dist/types/routes/management-api/resource-servers.d.ts +57 -20
  44. package/dist/types/routes/management-api/rollouts.d.ts +261 -0
  45. package/dist/types/routes/management-api/tenant-operations.d.ts +10 -5
  46. package/dist/types/routes/management-api/tenants.d.ts +24 -8
  47. package/dist/types/routes/management-api/users.d.ts +24 -24
  48. package/dist/types/routes/universal-login/common.d.ts +38 -10
  49. package/dist/types/routes/universal-login/flow-api.d.ts +4 -4
  50. package/dist/types/routes/universal-login/screens/login-partials.d.ts +8 -0
  51. package/dist/types/routes/universal-login/u2-index.d.ts +5 -5
  52. package/dist/types/routes/universal-login/u2-routes.d.ts +5 -5
  53. package/dist/types/state-machines/login-session.d.ts +1 -1
  54. package/dist/types/types/AuthHeroConfig.d.ts +37 -1
  55. package/dist/types/types/Bindings.d.ts +2 -1
  56. package/dist/types/types/Variables.d.ts +8 -0
  57. package/dist/types/utils/field-encryption.d.ts +7 -0
  58. package/dist/types/utils/jwt.d.ts +2 -0
  59. package/package.json +6 -6
@@ -739,17 +739,17 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
739
739
  connection: "email";
740
740
  client_id: string;
741
741
  email: string;
742
- send: "link" | "code";
742
+ send: "code" | "link";
743
743
  authParams: {
744
744
  username?: string | undefined;
745
- state?: string | undefined;
746
745
  scope?: string | undefined;
747
- act_as?: string | undefined;
746
+ state?: string | undefined;
747
+ audience?: string | undefined;
748
+ organization?: string | undefined;
748
749
  response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
749
750
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
750
751
  redirect_uri?: string | undefined;
751
- audience?: string | undefined;
752
- organization?: string | undefined;
752
+ act_as?: string | undefined;
753
753
  nonce?: string | undefined;
754
754
  prompt?: string | undefined;
755
755
  code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
@@ -775,17 +775,17 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
775
775
  client_id: string;
776
776
  connection: "sms";
777
777
  phone_number: string;
778
- send: "link" | "code";
778
+ send: "code" | "link";
779
779
  authParams: {
780
780
  username?: string | undefined;
781
- state?: string | undefined;
782
781
  scope?: string | undefined;
783
- act_as?: string | undefined;
782
+ state?: string | undefined;
783
+ audience?: string | undefined;
784
+ organization?: string | undefined;
784
785
  response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
785
786
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
786
787
  redirect_uri?: string | undefined;
787
- audience?: string | undefined;
788
- organization?: string | undefined;
788
+ act_as?: string | undefined;
789
789
  nonce?: string | undefined;
790
790
  prompt?: string | undefined;
791
791
  code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
@@ -12,17 +12,17 @@ export declare const passwordlessRoutes: OpenAPIHono<{
12
12
  connection: "email";
13
13
  client_id: string;
14
14
  email: string;
15
- send: "link" | "code";
15
+ send: "code" | "link";
16
16
  authParams: {
17
17
  username?: string | undefined;
18
- state?: string | undefined;
19
18
  scope?: string | undefined;
20
- act_as?: string | undefined;
19
+ state?: string | undefined;
20
+ audience?: string | undefined;
21
+ organization?: string | undefined;
21
22
  response_type?: AuthorizationResponseType | undefined;
22
23
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
23
24
  redirect_uri?: string | undefined;
24
- audience?: string | undefined;
25
- organization?: string | undefined;
25
+ act_as?: string | undefined;
26
26
  nonce?: string | undefined;
27
27
  prompt?: string | undefined;
28
28
  code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
@@ -48,17 +48,17 @@ export declare const passwordlessRoutes: OpenAPIHono<{
48
48
  client_id: string;
49
49
  connection: "sms";
50
50
  phone_number: string;
51
- send: "link" | "code";
51
+ send: "code" | "link";
52
52
  authParams: {
53
53
  username?: string | undefined;
54
- state?: string | undefined;
55
54
  scope?: string | undefined;
56
- act_as?: string | undefined;
55
+ state?: string | undefined;
56
+ audience?: string | undefined;
57
+ organization?: string | undefined;
57
58
  response_type?: AuthorizationResponseType | undefined;
58
59
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
59
60
  redirect_uri?: string | undefined;
60
- audience?: string | undefined;
61
- organization?: string | undefined;
61
+ act_as?: string | undefined;
62
62
  nonce?: string | undefined;
63
63
  prompt?: string | undefined;
64
64
  code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
@@ -31,7 +31,7 @@ export declare const actionExecutionsRoutes: OpenAPIHono<{
31
31
  output: {
32
32
  id: string;
33
33
  trigger_id: string;
34
- status: "pending" | "unspecified" | "final" | "partial" | "canceled" | "suspended";
34
+ status: "unspecified" | "pending" | "final" | "partial" | "canceled" | "suspended";
35
35
  results: {
36
36
  action_name: string;
37
37
  error: {
@@ -28,6 +28,10 @@ export declare const actionTriggersRoutes: OpenAPIHono<{
28
28
  status: "draft" | "built";
29
29
  created_at: string;
30
30
  updated_at: string;
31
+ inherit?: boolean | undefined;
32
+ scope?: "local" | "shared" | "platform" | undefined;
33
+ override?: "secrets" | "none" | "fields" | undefined;
34
+ enforce?: boolean | undefined;
31
35
  supported_triggers?: {
32
36
  id: string;
33
37
  version?: string | undefined;
@@ -38,7 +42,6 @@ export declare const actionTriggersRoutes: OpenAPIHono<{
38
42
  version: string;
39
43
  }[] | undefined;
40
44
  is_system?: boolean | undefined;
41
- inherit?: boolean | undefined;
42
45
  deployed_at?: string | undefined;
43
46
  secrets?: {
44
47
  name: string;
@@ -89,6 +92,10 @@ export declare const actionTriggersRoutes: OpenAPIHono<{
89
92
  status: "draft" | "built";
90
93
  created_at: string;
91
94
  updated_at: string;
95
+ inherit?: boolean | undefined;
96
+ scope?: "local" | "shared" | "platform" | undefined;
97
+ override?: "secrets" | "none" | "fields" | undefined;
98
+ enforce?: boolean | undefined;
92
99
  supported_triggers?: {
93
100
  id: string;
94
101
  version?: string | undefined;
@@ -99,7 +106,6 @@ export declare const actionTriggersRoutes: OpenAPIHono<{
99
106
  version: string;
100
107
  }[] | undefined;
101
108
  is_system?: boolean | undefined;
102
- inherit?: boolean | undefined;
103
109
  deployed_at?: string | undefined;
104
110
  secrets?: {
105
111
  name: string;
@@ -31,6 +31,10 @@ export declare const actionsRoutes: OpenAPIHono<{
31
31
  status: "draft" | "built";
32
32
  created_at: string;
33
33
  updated_at: string;
34
+ inherit?: boolean | undefined;
35
+ scope?: "local" | "shared" | "platform" | undefined;
36
+ override?: "secrets" | "none" | "fields" | undefined;
37
+ enforce?: boolean | undefined;
34
38
  supported_triggers?: {
35
39
  id: string;
36
40
  version?: string | undefined;
@@ -41,7 +45,6 @@ export declare const actionsRoutes: OpenAPIHono<{
41
45
  version: string;
42
46
  }[] | undefined;
43
47
  is_system?: boolean | undefined;
44
- inherit?: boolean | undefined;
45
48
  deployed_at?: string | undefined;
46
49
  secrets?: {
47
50
  name: string;
@@ -58,6 +61,10 @@ export declare const actionsRoutes: OpenAPIHono<{
58
61
  status: "draft" | "built";
59
62
  created_at: string;
60
63
  updated_at: string;
64
+ inherit?: boolean | undefined;
65
+ scope?: "local" | "shared" | "platform" | undefined;
66
+ override?: "secrets" | "none" | "fields" | undefined;
67
+ enforce?: boolean | undefined;
61
68
  supported_triggers?: {
62
69
  id: string;
63
70
  version?: string | undefined;
@@ -68,7 +75,6 @@ export declare const actionsRoutes: OpenAPIHono<{
68
75
  version: string;
69
76
  }[] | undefined;
70
77
  is_system?: boolean | undefined;
71
- inherit?: boolean | undefined;
72
78
  deployed_at?: string | undefined;
73
79
  secrets?: {
74
80
  name: string;
@@ -85,6 +91,10 @@ export declare const actionsRoutes: OpenAPIHono<{
85
91
  status: "draft" | "built";
86
92
  created_at: string;
87
93
  updated_at: string;
94
+ inherit?: boolean | undefined;
95
+ scope?: "local" | "shared" | "platform" | undefined;
96
+ override?: "secrets" | "none" | "fields" | undefined;
97
+ enforce?: boolean | undefined;
88
98
  supported_triggers?: {
89
99
  id: string;
90
100
  version?: string | undefined;
@@ -95,7 +105,6 @@ export declare const actionsRoutes: OpenAPIHono<{
95
105
  version: string;
96
106
  }[] | undefined;
97
107
  is_system?: boolean | undefined;
98
- inherit?: boolean | undefined;
99
108
  deployed_at?: string | undefined;
100
109
  secrets?: {
101
110
  name: string;
@@ -118,6 +127,10 @@ export declare const actionsRoutes: OpenAPIHono<{
118
127
  json: {
119
128
  name: string;
120
129
  code: string;
130
+ inherit?: boolean | undefined;
131
+ scope?: "local" | "shared" | "platform" | undefined;
132
+ override?: "secrets" | "none" | "fields" | undefined;
133
+ enforce?: boolean | undefined;
121
134
  supported_triggers?: {
122
135
  id: string;
123
136
  version?: string | undefined;
@@ -132,7 +145,6 @@ export declare const actionsRoutes: OpenAPIHono<{
132
145
  value?: string | undefined;
133
146
  }[] | undefined;
134
147
  is_system?: boolean | undefined;
135
- inherit?: boolean | undefined;
136
148
  };
137
149
  };
138
150
  output: {
@@ -143,6 +155,10 @@ export declare const actionsRoutes: OpenAPIHono<{
143
155
  status: "draft" | "built";
144
156
  created_at: string;
145
157
  updated_at: string;
158
+ inherit?: boolean | undefined;
159
+ scope?: "local" | "shared" | "platform" | undefined;
160
+ override?: "secrets" | "none" | "fields" | undefined;
161
+ enforce?: boolean | undefined;
146
162
  supported_triggers?: {
147
163
  id: string;
148
164
  version?: string | undefined;
@@ -153,7 +169,6 @@ export declare const actionsRoutes: OpenAPIHono<{
153
169
  version: string;
154
170
  }[] | undefined;
155
171
  is_system?: boolean | undefined;
156
- inherit?: boolean | undefined;
157
172
  deployed_at?: string | undefined;
158
173
  secrets?: {
159
174
  name: string;
@@ -196,6 +211,10 @@ export declare const actionsRoutes: OpenAPIHono<{
196
211
  status: "draft" | "built";
197
212
  created_at: string;
198
213
  updated_at: string;
214
+ inherit?: boolean | undefined;
215
+ scope?: "local" | "shared" | "platform" | undefined;
216
+ override?: "secrets" | "none" | "fields" | undefined;
217
+ enforce?: boolean | undefined;
199
218
  supported_triggers?: {
200
219
  id: string;
201
220
  version?: string | undefined;
@@ -206,7 +225,6 @@ export declare const actionsRoutes: OpenAPIHono<{
206
225
  version: string;
207
226
  }[] | undefined;
208
227
  is_system?: boolean | undefined;
209
- inherit?: boolean | undefined;
210
228
  deployed_at?: string | undefined;
211
229
  secrets?: {
212
230
  name: string;
@@ -229,6 +247,10 @@ export declare const actionsRoutes: OpenAPIHono<{
229
247
  };
230
248
  } & {
231
249
  json: {
250
+ inherit?: boolean | undefined;
251
+ scope?: "local" | "shared" | "platform" | undefined;
252
+ override?: "secrets" | "none" | "fields" | undefined;
253
+ enforce?: boolean | undefined;
232
254
  name?: string | undefined;
233
255
  code?: string | undefined;
234
256
  supported_triggers?: {
@@ -245,7 +267,6 @@ export declare const actionsRoutes: OpenAPIHono<{
245
267
  value?: string | undefined;
246
268
  }[] | undefined;
247
269
  is_system?: boolean | undefined;
248
- inherit?: boolean | undefined;
249
270
  };
250
271
  };
251
272
  output: {};
@@ -262,6 +283,10 @@ export declare const actionsRoutes: OpenAPIHono<{
262
283
  };
263
284
  } & {
264
285
  json: {
286
+ inherit?: boolean | undefined;
287
+ scope?: "local" | "shared" | "platform" | undefined;
288
+ override?: "secrets" | "none" | "fields" | undefined;
289
+ enforce?: boolean | undefined;
265
290
  name?: string | undefined;
266
291
  code?: string | undefined;
267
292
  supported_triggers?: {
@@ -278,7 +303,6 @@ export declare const actionsRoutes: OpenAPIHono<{
278
303
  value?: string | undefined;
279
304
  }[] | undefined;
280
305
  is_system?: boolean | undefined;
281
- inherit?: boolean | undefined;
282
306
  };
283
307
  };
284
308
  output: {
@@ -289,6 +313,10 @@ export declare const actionsRoutes: OpenAPIHono<{
289
313
  status: "draft" | "built";
290
314
  created_at: string;
291
315
  updated_at: string;
316
+ inherit?: boolean | undefined;
317
+ scope?: "local" | "shared" | "platform" | undefined;
318
+ override?: "secrets" | "none" | "fields" | undefined;
319
+ enforce?: boolean | undefined;
292
320
  supported_triggers?: {
293
321
  id: string;
294
322
  version?: string | undefined;
@@ -299,7 +327,6 @@ export declare const actionsRoutes: OpenAPIHono<{
299
327
  version: string;
300
328
  }[] | undefined;
301
329
  is_system?: boolean | undefined;
302
- inherit?: boolean | undefined;
303
330
  deployed_at?: string | undefined;
304
331
  secrets?: {
305
332
  name: string;
@@ -385,6 +412,10 @@ export declare const actionsRoutes: OpenAPIHono<{
385
412
  status: "draft" | "built";
386
413
  created_at: string;
387
414
  updated_at: string;
415
+ inherit?: boolean | undefined;
416
+ scope?: "local" | "shared" | "platform" | undefined;
417
+ override?: "secrets" | "none" | "fields" | undefined;
418
+ enforce?: boolean | undefined;
388
419
  supported_triggers?: {
389
420
  id: string;
390
421
  version?: string | undefined;
@@ -395,7 +426,6 @@ export declare const actionsRoutes: OpenAPIHono<{
395
426
  version: string;
396
427
  }[] | undefined;
397
428
  is_system?: boolean | undefined;
398
- inherit?: boolean | undefined;
399
429
  deployed_at?: string | undefined;
400
430
  secrets?: {
401
431
  name: string;
@@ -601,6 +631,10 @@ export declare const actionsRoutes: OpenAPIHono<{
601
631
  status: "draft" | "built";
602
632
  created_at: string;
603
633
  updated_at: string;
634
+ inherit?: boolean | undefined;
635
+ scope?: "local" | "shared" | "platform" | undefined;
636
+ override?: "secrets" | "none" | "fields" | undefined;
637
+ enforce?: boolean | undefined;
604
638
  supported_triggers?: {
605
639
  id: string;
606
640
  version?: string | undefined;
@@ -611,7 +645,6 @@ export declare const actionsRoutes: OpenAPIHono<{
611
645
  version: string;
612
646
  }[] | undefined;
613
647
  is_system?: boolean | undefined;
614
- inherit?: boolean | undefined;
615
648
  deployed_at?: string | undefined;
616
649
  secrets?: {
617
650
  name: string;
@@ -37,7 +37,7 @@ export declare const authenticationMethodsRoutes: OpenAPIHono<{
37
37
  };
38
38
  } & {
39
39
  json: {
40
- type: "push" | "email" | "passkey" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
40
+ type: "push" | "email" | "passkey" | "webauthn-roaming" | "webauthn-platform" | "phone" | "totp";
41
41
  phone_number?: string | undefined;
42
42
  totp_secret?: string | undefined;
43
43
  credential_id?: string | undefined;
@@ -287,6 +287,9 @@ export declare const brandingRoutes: OpenAPIHono<{
287
287
  url: string;
288
288
  } | undefined;
289
289
  dark_mode?: "dark" | "light" | "auto" | undefined;
290
+ scope?: "local" | "shared" | "platform" | undefined;
291
+ override?: "secrets" | "none" | "fields" | undefined;
292
+ enforce?: boolean | undefined;
290
293
  };
291
294
  outputFormat: "json";
292
295
  status: 200;
@@ -317,6 +320,9 @@ export declare const brandingRoutes: OpenAPIHono<{
317
320
  url: string;
318
321
  } | undefined;
319
322
  dark_mode?: "dark" | "light" | "auto" | undefined;
323
+ scope?: "local" | "shared" | "platform" | undefined;
324
+ override?: "secrets" | "none" | "fields" | undefined;
325
+ enforce?: boolean | undefined;
320
326
  };
321
327
  };
322
328
  output: {
@@ -336,6 +342,9 @@ export declare const brandingRoutes: OpenAPIHono<{
336
342
  url: string;
337
343
  } | undefined;
338
344
  dark_mode?: "dark" | "light" | "auto" | undefined;
345
+ scope?: "local" | "shared" | "platform" | undefined;
346
+ override?: "secrets" | "none" | "fields" | undefined;
347
+ enforce?: boolean | undefined;
339
348
  };
340
349
  outputFormat: "json";
341
350
  status: 200;
@@ -409,7 +418,7 @@ export declare const brandingRoutes: OpenAPIHono<{
409
418
  } & {
410
419
  json: {
411
420
  body?: string | undefined;
412
- screen?: "identifier" | "signup" | "password" | "login" | undefined;
421
+ screen?: "password" | "login" | "identifier" | "signup" | undefined;
413
422
  branding?: {
414
423
  colors?: {
415
424
  primary: string;
@@ -427,6 +436,9 @@ export declare const brandingRoutes: OpenAPIHono<{
427
436
  url: string;
428
437
  } | undefined;
429
438
  dark_mode?: "dark" | "light" | "auto" | undefined;
439
+ scope?: "local" | "shared" | "platform" | undefined;
440
+ override?: "secrets" | "none" | "fields" | undefined;
441
+ enforce?: boolean | undefined;
430
442
  } | undefined;
431
443
  theme?: {
432
444
  borders?: {
@@ -118,6 +118,19 @@ export declare const clientGrantRoutes: OpenAPIHono<{
118
118
  output: {};
119
119
  outputFormat: string;
120
120
  status: 200;
121
+ } | {
122
+ input: {
123
+ param: {
124
+ id: string;
125
+ };
126
+ } & {
127
+ header: {
128
+ "tenant-id"?: string | undefined;
129
+ };
130
+ };
131
+ output: {};
132
+ outputFormat: string;
133
+ status: 204;
121
134
  };
122
135
  };
123
136
  } & {
@@ -474,6 +474,19 @@ export declare const clientRoutes: OpenAPIHono<{
474
474
  output: {};
475
475
  outputFormat: string;
476
476
  status: 200;
477
+ } | {
478
+ input: {
479
+ param: {
480
+ id: string;
481
+ };
482
+ } & {
483
+ header: {
484
+ "tenant-id"?: string | undefined;
485
+ };
486
+ };
487
+ output: {};
488
+ outputFormat: string;
489
+ status: 204;
477
490
  };
478
491
  };
479
492
  } & {
@@ -936,7 +949,7 @@ export declare const clientRoutes: OpenAPIHono<{
936
949
  active?: boolean | undefined;
937
950
  } | undefined;
938
951
  signup?: {
939
- status?: "required" | "optional" | "disabled" | undefined;
952
+ status?: "optional" | "required" | "disabled" | undefined;
940
953
  verification?: {
941
954
  active?: boolean | undefined;
942
955
  } | undefined;
@@ -946,14 +959,14 @@ export declare const clientRoutes: OpenAPIHono<{
946
959
  } | undefined;
947
960
  unique?: boolean | undefined;
948
961
  profile_required?: boolean | undefined;
949
- verification_method?: "link" | "code" | undefined;
962
+ verification_method?: "code" | "link" | undefined;
950
963
  } | undefined;
951
964
  username?: {
952
965
  identifier?: {
953
966
  active?: boolean | undefined;
954
967
  } | undefined;
955
968
  signup?: {
956
- status?: "required" | "optional" | "disabled" | undefined;
969
+ status?: "optional" | "required" | "disabled" | undefined;
957
970
  } | undefined;
958
971
  validation?: {
959
972
  max_length?: number | undefined;
@@ -970,7 +983,7 @@ export declare const clientRoutes: OpenAPIHono<{
970
983
  active?: boolean | undefined;
971
984
  } | undefined;
972
985
  signup?: {
973
- status?: "required" | "optional" | "disabled" | undefined;
986
+ status?: "optional" | "required" | "disabled" | undefined;
974
987
  } | undefined;
975
988
  } | undefined;
976
989
  } | undefined;
@@ -996,6 +1009,9 @@ export declare const clientRoutes: OpenAPIHono<{
996
1009
  } | undefined;
997
1010
  set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
998
1011
  };
1012
+ scope?: "local" | "shared" | "platform" | undefined;
1013
+ override?: "secrets" | "none" | "fields" | undefined;
1014
+ enforce?: boolean | undefined;
999
1015
  id?: string | undefined;
1000
1016
  display_name?: string | undefined;
1001
1017
  enabled_clients?: string[] | undefined;
@@ -1094,7 +1110,7 @@ export declare const clientRoutes: OpenAPIHono<{
1094
1110
  active?: boolean | undefined;
1095
1111
  } | undefined;
1096
1112
  signup?: {
1097
- status?: "required" | "optional" | "disabled" | undefined;
1113
+ status?: "optional" | "required" | "disabled" | undefined;
1098
1114
  verification?: {
1099
1115
  active?: boolean | undefined;
1100
1116
  } | undefined;
@@ -1104,14 +1120,14 @@ export declare const clientRoutes: OpenAPIHono<{
1104
1120
  } | undefined;
1105
1121
  unique?: boolean | undefined;
1106
1122
  profile_required?: boolean | undefined;
1107
- verification_method?: "link" | "code" | undefined;
1123
+ verification_method?: "code" | "link" | undefined;
1108
1124
  } | undefined;
1109
1125
  username?: {
1110
1126
  identifier?: {
1111
1127
  active?: boolean | undefined;
1112
1128
  } | undefined;
1113
1129
  signup?: {
1114
- status?: "required" | "optional" | "disabled" | undefined;
1130
+ status?: "optional" | "required" | "disabled" | undefined;
1115
1131
  } | undefined;
1116
1132
  validation?: {
1117
1133
  max_length?: number | undefined;
@@ -1128,7 +1144,7 @@ export declare const clientRoutes: OpenAPIHono<{
1128
1144
  active?: boolean | undefined;
1129
1145
  } | undefined;
1130
1146
  signup?: {
1131
- status?: "required" | "optional" | "disabled" | undefined;
1147
+ status?: "optional" | "required" | "disabled" | undefined;
1132
1148
  } | undefined;
1133
1149
  } | undefined;
1134
1150
  } | undefined;
@@ -1154,6 +1170,9 @@ export declare const clientRoutes: OpenAPIHono<{
1154
1170
  } | undefined;
1155
1171
  set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
1156
1172
  };
1173
+ scope?: "local" | "shared" | "platform" | undefined;
1174
+ override?: "secrets" | "none" | "fields" | undefined;
1175
+ enforce?: boolean | undefined;
1157
1176
  id?: string | undefined;
1158
1177
  display_name?: string | undefined;
1159
1178
  enabled_clients?: string[] | undefined;