@authhero/adapter-interfaces 4.13.0 → 4.15.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.
@@ -1206,6 +1206,9 @@ declare const clientInsertSchema: z.ZodObject<{
1206
1206
  iat_dcr: "iat_dcr";
1207
1207
  }>>;
1208
1208
  registration_metadata: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1209
+ token_exchange: z.ZodOptional<z.ZodObject<{
1210
+ allow_any_profile_of_type: z.ZodOptional<z.ZodArray<z.ZodLiteral<"custom_authentication">>>;
1211
+ }, z.core.$strip>>;
1209
1212
  user_linking_mode: z.ZodOptional<z.ZodEnum<{
1210
1213
  builtin: "builtin";
1211
1214
  off: "off";
@@ -1339,6 +1342,9 @@ declare const clientSchema: z.ZodObject<{
1339
1342
  iat_dcr: "iat_dcr";
1340
1343
  }>>;
1341
1344
  registration_metadata: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1345
+ token_exchange: z.ZodOptional<z.ZodObject<{
1346
+ allow_any_profile_of_type: z.ZodOptional<z.ZodArray<z.ZodLiteral<"custom_authentication">>>;
1347
+ }, z.core.$strip>>;
1342
1348
  user_linking_mode: z.ZodOptional<z.ZodEnum<{
1343
1349
  builtin: "builtin";
1344
1350
  off: "off";
@@ -2117,6 +2123,7 @@ declare const codeTypeSchema: z.ZodEnum<{
2117
2123
  oauth2_state: "oauth2_state";
2118
2124
  ticket: "ticket";
2119
2125
  client_assertion_jti: "client_assertion_jti";
2126
+ subject_token_jti: "subject_token_jti";
2120
2127
  }>;
2121
2128
  type CodeType = z.infer<typeof codeTypeSchema>;
2122
2129
  declare const codeInsertSchema: z.ZodObject<{
@@ -2132,6 +2139,7 @@ declare const codeInsertSchema: z.ZodObject<{
2132
2139
  oauth2_state: "oauth2_state";
2133
2140
  ticket: "ticket";
2134
2141
  client_assertion_jti: "client_assertion_jti";
2142
+ subject_token_jti: "subject_token_jti";
2135
2143
  }>;
2136
2144
  code_verifier: z.ZodOptional<z.ZodString>;
2137
2145
  code_challenge: z.ZodOptional<z.ZodString>;
@@ -2161,6 +2169,7 @@ declare const codeSchema: z.ZodObject<{
2161
2169
  oauth2_state: "oauth2_state";
2162
2170
  ticket: "ticket";
2163
2171
  client_assertion_jti: "client_assertion_jti";
2172
+ subject_token_jti: "subject_token_jti";
2164
2173
  }>;
2165
2174
  code_verifier: z.ZodOptional<z.ZodString>;
2166
2175
  code_challenge: z.ZodOptional<z.ZodString>;
@@ -2864,6 +2873,11 @@ declare const nextButtonComponent: z.ZodObject<{
2864
2873
  type: z.ZodLiteral<"NEXT_BUTTON">;
2865
2874
  config: z.ZodObject<{
2866
2875
  text: z.ZodOptional<z.ZodString>;
2876
+ variant: z.ZodOptional<z.ZodEnum<{
2877
+ primary: "primary";
2878
+ secondary: "secondary";
2879
+ }>>;
2880
+ skip_validation: z.ZodOptional<z.ZodBoolean>;
2867
2881
  }, z.core.$strip>;
2868
2882
  }, z.core.$strip>;
2869
2883
  declare const previousButtonComponent: z.ZodObject<{
@@ -3482,6 +3496,11 @@ declare const blockComponentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3482
3496
  type: z.ZodLiteral<"NEXT_BUTTON">;
3483
3497
  config: z.ZodObject<{
3484
3498
  text: z.ZodOptional<z.ZodString>;
3499
+ variant: z.ZodOptional<z.ZodEnum<{
3500
+ primary: "primary";
3501
+ secondary: "secondary";
3502
+ }>>;
3503
+ skip_validation: z.ZodOptional<z.ZodBoolean>;
3485
3504
  }, z.core.$strip>;
3486
3505
  }, z.core.$strip>, z.ZodObject<{
3487
3506
  id: z.ZodString;
@@ -4095,6 +4114,11 @@ declare const formNodeComponentDefinition: z.ZodUnion<readonly [z.ZodDiscriminat
4095
4114
  type: z.ZodLiteral<"NEXT_BUTTON">;
4096
4115
  config: z.ZodObject<{
4097
4116
  text: z.ZodOptional<z.ZodString>;
4117
+ variant: z.ZodOptional<z.ZodEnum<{
4118
+ primary: "primary";
4119
+ secondary: "secondary";
4120
+ }>>;
4121
+ skip_validation: z.ZodOptional<z.ZodBoolean>;
4098
4122
  }, z.core.$strip>;
4099
4123
  }, z.core.$strip>, z.ZodObject<{
4100
4124
  id: z.ZodString;
@@ -4790,6 +4814,11 @@ declare const stepNodeSchema: z.ZodObject<{
4790
4814
  type: z.ZodLiteral<"NEXT_BUTTON">;
4791
4815
  config: z.ZodObject<{
4792
4816
  text: z.ZodOptional<z.ZodString>;
4817
+ variant: z.ZodOptional<z.ZodEnum<{
4818
+ primary: "primary";
4819
+ secondary: "secondary";
4820
+ }>>;
4821
+ skip_validation: z.ZodOptional<z.ZodBoolean>;
4793
4822
  }, z.core.$strip>;
4794
4823
  }, z.core.$strip>, z.ZodObject<{
4795
4824
  id: z.ZodString;
@@ -5433,6 +5462,11 @@ declare const formNodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5433
5462
  type: z.ZodLiteral<"NEXT_BUTTON">;
5434
5463
  config: z.ZodObject<{
5435
5464
  text: z.ZodOptional<z.ZodString>;
5465
+ variant: z.ZodOptional<z.ZodEnum<{
5466
+ primary: "primary";
5467
+ secondary: "secondary";
5468
+ }>>;
5469
+ skip_validation: z.ZodOptional<z.ZodBoolean>;
5436
5470
  }, z.core.$strip>;
5437
5471
  }, z.core.$strip>, z.ZodObject<{
5438
5472
  id: z.ZodString;
@@ -6094,6 +6128,11 @@ declare const formInsertSchema: z.ZodObject<{
6094
6128
  type: z.ZodLiteral<"NEXT_BUTTON">;
6095
6129
  config: z.ZodObject<{
6096
6130
  text: z.ZodOptional<z.ZodString>;
6131
+ variant: z.ZodOptional<z.ZodEnum<{
6132
+ primary: "primary";
6133
+ secondary: "secondary";
6134
+ }>>;
6135
+ skip_validation: z.ZodOptional<z.ZodBoolean>;
6097
6136
  }, z.core.$strip>;
6098
6137
  }, z.core.$strip>, z.ZodObject<{
6099
6138
  id: z.ZodString;
@@ -6787,6 +6826,11 @@ declare const formSchema: z.ZodObject<{
6787
6826
  type: z.ZodLiteral<"NEXT_BUTTON">;
6788
6827
  config: z.ZodObject<{
6789
6828
  text: z.ZodOptional<z.ZodString>;
6829
+ variant: z.ZodOptional<z.ZodEnum<{
6830
+ primary: "primary";
6831
+ secondary: "secondary";
6832
+ }>>;
6833
+ skip_validation: z.ZodOptional<z.ZodBoolean>;
6790
6834
  }, z.core.$strip>;
6791
6835
  }, z.core.$strip>, z.ZodObject<{
6792
6836
  id: z.ZodString;
@@ -7471,6 +7515,11 @@ declare const uiScreenSchema: z.ZodObject<{
7471
7515
  type: z.ZodLiteral<"NEXT_BUTTON">;
7472
7516
  config: z.ZodObject<{
7473
7517
  text: z.ZodOptional<z.ZodString>;
7518
+ variant: z.ZodOptional<z.ZodEnum<{
7519
+ primary: "primary";
7520
+ secondary: "secondary";
7521
+ }>>;
7522
+ skip_validation: z.ZodOptional<z.ZodBoolean>;
7474
7523
  }, z.core.$strip>;
7475
7524
  }, z.core.$strip>, z.ZodObject<{
7476
7525
  id: z.ZodString;
@@ -8331,7 +8380,7 @@ declare const inviteSchema: z.ZodObject<{
8331
8380
  type Invite = z.infer<typeof inviteSchema>;
8332
8381
 
8333
8382
  declare const jwksSchema: z.ZodObject<{
8334
- alg: z.ZodEnum<{
8383
+ alg: z.ZodOptional<z.ZodEnum<{
8335
8384
  RS256: "RS256";
8336
8385
  RS384: "RS384";
8337
8386
  RS512: "RS512";
@@ -8341,7 +8390,7 @@ declare const jwksSchema: z.ZodObject<{
8341
8390
  HS256: "HS256";
8342
8391
  HS384: "HS384";
8343
8392
  HS512: "HS512";
8344
- }>;
8393
+ }>>;
8345
8394
  kid: z.ZodOptional<z.ZodString>;
8346
8395
  kty: z.ZodEnum<{
8347
8396
  RSA: "RSA";
@@ -8362,7 +8411,7 @@ declare const jwksSchema: z.ZodObject<{
8362
8411
  }, z.core.$strip>;
8363
8412
  declare const jwksKeySchema: z.ZodObject<{
8364
8413
  keys: z.ZodArray<z.ZodObject<{
8365
- alg: z.ZodEnum<{
8414
+ alg: z.ZodOptional<z.ZodEnum<{
8366
8415
  RS256: "RS256";
8367
8416
  RS384: "RS384";
8368
8417
  RS512: "RS512";
@@ -8372,7 +8421,7 @@ declare const jwksKeySchema: z.ZodObject<{
8372
8421
  HS256: "HS256";
8373
8422
  HS384: "HS384";
8374
8423
  HS512: "HS512";
8375
- }>;
8424
+ }>>;
8376
8425
  kid: z.ZodOptional<z.ZodString>;
8377
8426
  kty: z.ZodEnum<{
8378
8427
  RSA: "RSA";
@@ -10316,6 +10365,286 @@ declare const proxyRouteUpdateSchema: z.ZodObject<{
10316
10365
  }, z.core.$strip>;
10317
10366
  type ProxyRouteUpdate = z.infer<typeof proxyRouteUpdateSchema>;
10318
10367
 
10368
+ /**
10369
+ * Custom Token Exchange profiles (Auth0-compatible, issue #1417).
10370
+ *
10371
+ * A profile maps an RFC 8693 `subject_token_type` to the logic that validates
10372
+ * a customer-issued subject token and decides which user the exchange issues
10373
+ * tokens for. Auth0 only supports that logic as an Action (`action_id`).
10374
+ * AuthHero additionally supports a declarative `jwt_verification` block so the
10375
+ * common "verify our signed JWT against our JWKS" case needs no code.
10376
+ * Exactly one of `action_id` and `jwt_verification` is set on a profile.
10377
+ */
10378
+ declare const TOKEN_EXCHANGE_PROFILE_TYPE: "custom_authentication";
10379
+ /**
10380
+ * Namespaces a profile may not claim. `urn:ietf:params:oauth` holds the
10381
+ * standard RFC 8693 token types that AuthHero handles natively; the vendor
10382
+ * namespaces are reserved by Auth0.
10383
+ */
10384
+ declare const RESERVED_SUBJECT_TOKEN_TYPE_PREFIXES: readonly ["urn:ietf:params:oauth:", "urn:auth0", "urn:okta", "http://auth0.com", "https://auth0.com", "http://okta.com", "https://okta.com"];
10385
+ declare const subjectTokenTypeSchema: z.ZodString;
10386
+ declare const tokenExchangeJwtAlgorithmSchema: z.ZodEnum<{
10387
+ RS256: "RS256";
10388
+ RS384: "RS384";
10389
+ RS512: "RS512";
10390
+ ES256: "ES256";
10391
+ ES384: "ES384";
10392
+ ES512: "ES512";
10393
+ }>;
10394
+ type TokenExchangeJwtAlgorithm = z.infer<typeof tokenExchangeJwtAlgorithmSchema>;
10395
+ declare const tokenExchangeUserMappingSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
10396
+ type: z.ZodLiteral<"connection">;
10397
+ connection: z.ZodString;
10398
+ create_if_not_exists: z.ZodDefault<z.ZodBoolean>;
10399
+ trust_email_verified: z.ZodDefault<z.ZodBoolean>;
10400
+ }, z.core.$strip>, z.ZodObject<{
10401
+ type: z.ZodLiteral<"user_id">;
10402
+ }, z.core.$strip>], "type">;
10403
+ type TokenExchangeUserMapping = z.infer<typeof tokenExchangeUserMappingSchema>;
10404
+ declare const tokenExchangeJwtVerificationSchema: z.ZodObject<{
10405
+ issuer: z.ZodString;
10406
+ jwks: z.ZodOptional<z.ZodObject<{
10407
+ keys: z.ZodArray<z.ZodObject<{
10408
+ alg: z.ZodOptional<z.ZodEnum<{
10409
+ RS256: "RS256";
10410
+ RS384: "RS384";
10411
+ RS512: "RS512";
10412
+ ES256: "ES256";
10413
+ ES384: "ES384";
10414
+ ES512: "ES512";
10415
+ HS256: "HS256";
10416
+ HS384: "HS384";
10417
+ HS512: "HS512";
10418
+ }>>;
10419
+ kid: z.ZodOptional<z.ZodString>;
10420
+ kty: z.ZodEnum<{
10421
+ RSA: "RSA";
10422
+ EC: "EC";
10423
+ oct: "oct";
10424
+ }>;
10425
+ use: z.ZodOptional<z.ZodEnum<{
10426
+ sig: "sig";
10427
+ enc: "enc";
10428
+ }>>;
10429
+ n: z.ZodOptional<z.ZodString>;
10430
+ e: z.ZodOptional<z.ZodString>;
10431
+ crv: z.ZodOptional<z.ZodString>;
10432
+ x: z.ZodOptional<z.ZodString>;
10433
+ y: z.ZodOptional<z.ZodString>;
10434
+ x5t: z.ZodOptional<z.ZodString>;
10435
+ x5c: z.ZodOptional<z.ZodArray<z.ZodString>>;
10436
+ }, z.core.$strip>>;
10437
+ }, z.core.$strip>>;
10438
+ jwks_uri: z.ZodOptional<z.ZodString>;
10439
+ audience: z.ZodOptional<z.ZodArray<z.ZodString>>;
10440
+ algorithms: z.ZodOptional<z.ZodArray<z.ZodEnum<{
10441
+ RS256: "RS256";
10442
+ RS384: "RS384";
10443
+ RS512: "RS512";
10444
+ ES256: "ES256";
10445
+ ES384: "ES384";
10446
+ ES512: "ES512";
10447
+ }>>>;
10448
+ max_lifetime_seconds: z.ZodDefault<z.ZodNumber>;
10449
+ require_jti: z.ZodDefault<z.ZodBoolean>;
10450
+ user_mapping: z.ZodDiscriminatedUnion<[z.ZodObject<{
10451
+ type: z.ZodLiteral<"connection">;
10452
+ connection: z.ZodString;
10453
+ create_if_not_exists: z.ZodDefault<z.ZodBoolean>;
10454
+ trust_email_verified: z.ZodDefault<z.ZodBoolean>;
10455
+ }, z.core.$strip>, z.ZodObject<{
10456
+ type: z.ZodLiteral<"user_id">;
10457
+ }, z.core.$strip>], "type">;
10458
+ }, z.core.$strip>;
10459
+ type TokenExchangeJwtVerification = z.infer<typeof tokenExchangeJwtVerificationSchema>;
10460
+ declare const tokenExchangeProfileInsertSchema: z.ZodObject<{
10461
+ name: z.ZodString;
10462
+ subject_token_type: z.ZodString;
10463
+ action_id: z.ZodOptional<z.ZodString>;
10464
+ type: z.ZodLiteral<"custom_authentication">;
10465
+ jwt_verification: z.ZodOptional<z.ZodObject<{
10466
+ issuer: z.ZodString;
10467
+ jwks: z.ZodOptional<z.ZodObject<{
10468
+ keys: z.ZodArray<z.ZodObject<{
10469
+ alg: z.ZodOptional<z.ZodEnum<{
10470
+ RS256: "RS256";
10471
+ RS384: "RS384";
10472
+ RS512: "RS512";
10473
+ ES256: "ES256";
10474
+ ES384: "ES384";
10475
+ ES512: "ES512";
10476
+ HS256: "HS256";
10477
+ HS384: "HS384";
10478
+ HS512: "HS512";
10479
+ }>>;
10480
+ kid: z.ZodOptional<z.ZodString>;
10481
+ kty: z.ZodEnum<{
10482
+ RSA: "RSA";
10483
+ EC: "EC";
10484
+ oct: "oct";
10485
+ }>;
10486
+ use: z.ZodOptional<z.ZodEnum<{
10487
+ sig: "sig";
10488
+ enc: "enc";
10489
+ }>>;
10490
+ n: z.ZodOptional<z.ZodString>;
10491
+ e: z.ZodOptional<z.ZodString>;
10492
+ crv: z.ZodOptional<z.ZodString>;
10493
+ x: z.ZodOptional<z.ZodString>;
10494
+ y: z.ZodOptional<z.ZodString>;
10495
+ x5t: z.ZodOptional<z.ZodString>;
10496
+ x5c: z.ZodOptional<z.ZodArray<z.ZodString>>;
10497
+ }, z.core.$strip>>;
10498
+ }, z.core.$strip>>;
10499
+ jwks_uri: z.ZodOptional<z.ZodString>;
10500
+ audience: z.ZodOptional<z.ZodArray<z.ZodString>>;
10501
+ algorithms: z.ZodOptional<z.ZodArray<z.ZodEnum<{
10502
+ RS256: "RS256";
10503
+ RS384: "RS384";
10504
+ RS512: "RS512";
10505
+ ES256: "ES256";
10506
+ ES384: "ES384";
10507
+ ES512: "ES512";
10508
+ }>>>;
10509
+ max_lifetime_seconds: z.ZodDefault<z.ZodNumber>;
10510
+ require_jti: z.ZodDefault<z.ZodBoolean>;
10511
+ user_mapping: z.ZodDiscriminatedUnion<[z.ZodObject<{
10512
+ type: z.ZodLiteral<"connection">;
10513
+ connection: z.ZodString;
10514
+ create_if_not_exists: z.ZodDefault<z.ZodBoolean>;
10515
+ trust_email_verified: z.ZodDefault<z.ZodBoolean>;
10516
+ }, z.core.$strip>, z.ZodObject<{
10517
+ type: z.ZodLiteral<"user_id">;
10518
+ }, z.core.$strip>], "type">;
10519
+ }, z.core.$strip>>;
10520
+ }, z.core.$strip>;
10521
+ type TokenExchangeProfileInsert = z.input<typeof tokenExchangeProfileInsertSchema>;
10522
+ declare const tokenExchangeProfileSchema: z.ZodObject<{
10523
+ name: z.ZodString;
10524
+ subject_token_type: z.ZodString;
10525
+ action_id: z.ZodOptional<z.ZodString>;
10526
+ type: z.ZodLiteral<"custom_authentication">;
10527
+ jwt_verification: z.ZodOptional<z.ZodObject<{
10528
+ issuer: z.ZodString;
10529
+ jwks: z.ZodOptional<z.ZodObject<{
10530
+ keys: z.ZodArray<z.ZodObject<{
10531
+ alg: z.ZodOptional<z.ZodEnum<{
10532
+ RS256: "RS256";
10533
+ RS384: "RS384";
10534
+ RS512: "RS512";
10535
+ ES256: "ES256";
10536
+ ES384: "ES384";
10537
+ ES512: "ES512";
10538
+ HS256: "HS256";
10539
+ HS384: "HS384";
10540
+ HS512: "HS512";
10541
+ }>>;
10542
+ kid: z.ZodOptional<z.ZodString>;
10543
+ kty: z.ZodEnum<{
10544
+ RSA: "RSA";
10545
+ EC: "EC";
10546
+ oct: "oct";
10547
+ }>;
10548
+ use: z.ZodOptional<z.ZodEnum<{
10549
+ sig: "sig";
10550
+ enc: "enc";
10551
+ }>>;
10552
+ n: z.ZodOptional<z.ZodString>;
10553
+ e: z.ZodOptional<z.ZodString>;
10554
+ crv: z.ZodOptional<z.ZodString>;
10555
+ x: z.ZodOptional<z.ZodString>;
10556
+ y: z.ZodOptional<z.ZodString>;
10557
+ x5t: z.ZodOptional<z.ZodString>;
10558
+ x5c: z.ZodOptional<z.ZodArray<z.ZodString>>;
10559
+ }, z.core.$strip>>;
10560
+ }, z.core.$strip>>;
10561
+ jwks_uri: z.ZodOptional<z.ZodString>;
10562
+ audience: z.ZodOptional<z.ZodArray<z.ZodString>>;
10563
+ algorithms: z.ZodOptional<z.ZodArray<z.ZodEnum<{
10564
+ RS256: "RS256";
10565
+ RS384: "RS384";
10566
+ RS512: "RS512";
10567
+ ES256: "ES256";
10568
+ ES384: "ES384";
10569
+ ES512: "ES512";
10570
+ }>>>;
10571
+ max_lifetime_seconds: z.ZodDefault<z.ZodNumber>;
10572
+ require_jti: z.ZodDefault<z.ZodBoolean>;
10573
+ user_mapping: z.ZodDiscriminatedUnion<[z.ZodObject<{
10574
+ type: z.ZodLiteral<"connection">;
10575
+ connection: z.ZodString;
10576
+ create_if_not_exists: z.ZodDefault<z.ZodBoolean>;
10577
+ trust_email_verified: z.ZodDefault<z.ZodBoolean>;
10578
+ }, z.core.$strip>, z.ZodObject<{
10579
+ type: z.ZodLiteral<"user_id">;
10580
+ }, z.core.$strip>], "type">;
10581
+ }, z.core.$strip>>;
10582
+ id: z.ZodString;
10583
+ created_at: z.ZodString;
10584
+ updated_at: z.ZodString;
10585
+ }, z.core.$strip>;
10586
+ type TokenExchangeProfile = z.infer<typeof tokenExchangeProfileSchema>;
10587
+ declare const tokenExchangeProfileUpdateSchema: z.ZodObject<{
10588
+ name: z.ZodOptional<z.ZodString>;
10589
+ subject_token_type: z.ZodOptional<z.ZodString>;
10590
+ jwt_verification: z.ZodOptional<z.ZodObject<{
10591
+ issuer: z.ZodString;
10592
+ jwks: z.ZodOptional<z.ZodObject<{
10593
+ keys: z.ZodArray<z.ZodObject<{
10594
+ alg: z.ZodOptional<z.ZodEnum<{
10595
+ RS256: "RS256";
10596
+ RS384: "RS384";
10597
+ RS512: "RS512";
10598
+ ES256: "ES256";
10599
+ ES384: "ES384";
10600
+ ES512: "ES512";
10601
+ HS256: "HS256";
10602
+ HS384: "HS384";
10603
+ HS512: "HS512";
10604
+ }>>;
10605
+ kid: z.ZodOptional<z.ZodString>;
10606
+ kty: z.ZodEnum<{
10607
+ RSA: "RSA";
10608
+ EC: "EC";
10609
+ oct: "oct";
10610
+ }>;
10611
+ use: z.ZodOptional<z.ZodEnum<{
10612
+ sig: "sig";
10613
+ enc: "enc";
10614
+ }>>;
10615
+ n: z.ZodOptional<z.ZodString>;
10616
+ e: z.ZodOptional<z.ZodString>;
10617
+ crv: z.ZodOptional<z.ZodString>;
10618
+ x: z.ZodOptional<z.ZodString>;
10619
+ y: z.ZodOptional<z.ZodString>;
10620
+ x5t: z.ZodOptional<z.ZodString>;
10621
+ x5c: z.ZodOptional<z.ZodArray<z.ZodString>>;
10622
+ }, z.core.$strip>>;
10623
+ }, z.core.$strip>>;
10624
+ jwks_uri: z.ZodOptional<z.ZodString>;
10625
+ audience: z.ZodOptional<z.ZodArray<z.ZodString>>;
10626
+ algorithms: z.ZodOptional<z.ZodArray<z.ZodEnum<{
10627
+ RS256: "RS256";
10628
+ RS384: "RS384";
10629
+ RS512: "RS512";
10630
+ ES256: "ES256";
10631
+ ES384: "ES384";
10632
+ ES512: "ES512";
10633
+ }>>>;
10634
+ max_lifetime_seconds: z.ZodDefault<z.ZodNumber>;
10635
+ require_jti: z.ZodDefault<z.ZodBoolean>;
10636
+ user_mapping: z.ZodDiscriminatedUnion<[z.ZodObject<{
10637
+ type: z.ZodLiteral<"connection">;
10638
+ connection: z.ZodString;
10639
+ create_if_not_exists: z.ZodDefault<z.ZodBoolean>;
10640
+ trust_email_verified: z.ZodDefault<z.ZodBoolean>;
10641
+ }, z.core.$strip>, z.ZodObject<{
10642
+ type: z.ZodLiteral<"user_id">;
10643
+ }, z.core.$strip>], "type">;
10644
+ }, z.core.$strip>>;
10645
+ }, z.core.$strip>;
10646
+ type TokenExchangeProfileUpdate = z.input<typeof tokenExchangeProfileUpdateSchema>;
10647
+
10319
10648
  /**
10320
10649
  * One attribute-mapping entry translating a SCIM resource attribute to an
10321
10650
  * AuthHero user field. Mirrors Auth0's SCIM `mapping` shape (`{ scim, auth0 }`).
@@ -11435,6 +11764,12 @@ interface CreateOptions {
11435
11764
  * this const keeps them byte-identical by construction.
11436
11765
  */
11437
11766
  declare const TRIGGER_API_SHAPES: Readonly<Record<string, Readonly<Record<string, readonly string[]>>>>;
11767
+ /**
11768
+ * The export each trigger's user code must define, e.g.
11769
+ * `exports.onExecutePostLogin = async (event, api) => { ... }`. Shared by both
11770
+ * executors for the same reason as {@link TRIGGER_API_SHAPES}.
11771
+ */
11772
+ declare const TRIGGER_FUNCTION_NAMES: Readonly<Record<string, string>>;
11438
11773
  /**
11439
11774
  * A single candidate primary the built-in email-based linking policy would
11440
11775
  * consider, pre-resolved into a `post-user-login` code-hook event as
@@ -12106,6 +12441,25 @@ interface UserDataAdapter {
12106
12441
  * the same atomic unit as the user row.
12107
12442
  */
12108
12443
  rawCreate(tenantId: string, user: UserInsert, options?: WriteOptions): Promise<User>;
12444
+ /**
12445
+ * Insert many users in as few round-trips as the backend allows.
12446
+ *
12447
+ * Optional. Callers MUST fall back to looping `create` when it is absent —
12448
+ * this exists to make bulk paths (the users-import job) fast, not to add a
12449
+ * second way of writing a user that every backend has to implement.
12450
+ *
12451
+ * Unlike `create` this is deliberately narrow: it writes the users row and,
12452
+ * where `user.password` is set, the companion password row. It does NOT
12453
+ * handle identities, activity counters or outbox events, because no bulk
12454
+ * caller needs them and supporting them would make the batch no cheaper than
12455
+ * the loop it replaces. Pass a user carrying those and the implementation is
12456
+ * free to reject the batch.
12457
+ *
12458
+ * Returns the created users in input order. On a uniqueness violation the
12459
+ * whole batch is rejected — the caller is expected to have de-duplicated and
12460
+ * probed first, and to retry row-by-row to attribute the failure.
12461
+ */
12462
+ createMany?(tenantId: string, users: UserInsert[], options?: WriteOptions): Promise<User[]>;
12109
12463
  remove(tenantId: string, id: string, options?: WriteOptions): Promise<boolean>;
12110
12464
  list(tenantId: string, params?: ListParams): Promise<ListUsersResponse>;
12111
12465
  update(tenantId: string, id: string, user: Partial<User>, options?: WriteOptions): Promise<boolean>;
@@ -12234,6 +12588,19 @@ interface ProxyRoutesAdapter {
12234
12588
  remove(tenant_id: string, id: string): Promise<boolean>;
12235
12589
  }
12236
12590
 
12591
+ interface TokenExchangeProfilesAdapter {
12592
+ create(tenant_id: string, profile: TokenExchangeProfileInsert, options?: CreateOptions): Promise<TokenExchangeProfile>;
12593
+ get(tenant_id: string, id: string): Promise<TokenExchangeProfile | null>;
12594
+ /**
12595
+ * All profiles for the tenant, oldest first. Tenants hold a handful of
12596
+ * profiles, so the management API pages in memory and the token endpoint
12597
+ * resolves a `subject_token_type` from this list.
12598
+ */
12599
+ list(tenant_id: string): Promise<TokenExchangeProfile[]>;
12600
+ update(tenant_id: string, id: string, profile: TokenExchangeProfileUpdate): Promise<boolean>;
12601
+ remove(tenant_id: string, id: string): Promise<boolean>;
12602
+ }
12603
+
12237
12604
  interface ScimConfigurationsAdapter {
12238
12605
  create: (tenant_id: string, configuration: ScimConfigurationInsert) => Promise<ScimConfiguration>;
12239
12606
  get: (tenant_id: string, connection_id: string) => Promise<ScimConfiguration | null>;
@@ -13055,6 +13422,12 @@ interface DataAdapters {
13055
13422
  */
13056
13423
  analytics?: AnalyticsAdapter;
13057
13424
  tenants: TenantsDataAdapter;
13425
+ /**
13426
+ * Optional Custom Token Exchange profiles (issue #1417). When set, the
13427
+ * `/api/v2/token-exchange-profiles` management API is mounted and the
13428
+ * token-exchange grant accepts customer-defined `subject_token_type`s.
13429
+ */
13430
+ tokenExchangeProfiles?: TokenExchangeProfilesAdapter;
13058
13431
  /**
13059
13432
  * Optional control-plane log of durable tenant lifecycle operations
13060
13433
  * (provision / seed / upgrade / backup / deprovision — issue #1026).
@@ -13140,5 +13513,5 @@ interface DataAdapters {
13140
13513
  };
13141
13514
  }
13142
13515
 
13143
- export { Auth0ActionEnum, Auth0Client, AuthorizationResponseMode, AuthorizationResponseType, CodeChallengeMethod, ComponentCategory, ComponentType, DATABASE_CONNECTION_STRATEGY, EmailActionEnum, FORM_FIELD_TYPES, FeatureNotSupportedError, FlowActionTypeEnum, GrantType, KNOWN_TENANT_OPERATION_ENGINES, LocationInfo, LogTypes, LoginSessionState, MONDAY_EPOCH_SHIFT_MS, NodeType, PRESERVE_LOCATION_HEADER, RedirectTargetEnum, Strategy, StrategyType, TERMINAL_TENANT_OPERATION_ROW_STATUSES, TRIGGER_API_SHAPES, USERNAME_CONTAINS_AT_MESSAGE, USERNAME_INVALID_CHARACTERS_MESSAGE, WEEK_MS, actionDependencySchema, actionExecutionErrorSchema, actionExecutionInsertSchema, actionExecutionLogEntrySchema, actionExecutionLogsSchema, actionExecutionResultSchema, actionExecutionSchema, actionExecutionStatusSchema, actionExecutionTriggerIdSchema, actionInsertSchema, actionNodeSchema, actionResponseSchema, actionSchema, actionSecretNameSchema, actionSecretSchema, actionTriggerSchema, actionUpdateSchema, actionVersionInsertSchema, actionVersionSchema, activeUsersResponseSchema, actorSchema, addressSchema, allowedTriggersForHook, analyticsColumnMetaSchema, analyticsGroupBySchema, analyticsIntervalSchema, analyticsQueryResponseSchema, analyticsResourceSchema, analyticsStatisticsSchema, analyticsUserTypeSchema, attackProtectionSchema, auditCategorySchema, auditEventInsertSchema, auditEventSchema, auth0ClientSchema, auth0FlowInsertSchema, auth0FlowSchema, auth0QuerySchema, auth0UpdateUserActionSchema, auth0UserResponseSchema, authParamsSchema, authenticationMethodInsertSchema, authenticationMethodSchema, authenticationMethodTypeSchema, baseUserSchema, blockComponentSchema, bordersSchema, brandingSchema, breachedPasswordDetectionSchema, bruteForceProtectionSchema, buildRefreshTokenRetention, buildSessionRetention, buttonComponentSchema, claimsRequestSchema, clientGrantInsertSchema, clientGrantListSchema, clientGrantSchema, clientInsertSchema, clientRegistrationTokenInsertSchema, clientRegistrationTokenSchema, clientRegistrationTokenTypeSchema, clientSchema, codeInsertSchema, codeSchema, codeTypeSchema, colorsSchema, componentMessageSchema, componentSchema, connectionInsertSchema, connectionOptionsSchema, connectionSchema, coordinatesSchema, createPassthroughAdapter, createWriteOnlyAdapter, customDomainCertificateUploadSchema, customDomainInsertSchema, customDomainSchema, customDomainUpdateSchema, customDomainWithTenantIdSchema, customTextEntrySchema, customTextSchema, dailyStatsSchema, decodeBase32, decodeBase64, decodeBase64Url, decodeBase64UrlString, decodeCursor, emailProviderSchema, emailTemplateNameSchema, emailTemplateSchema, emailVerificationRulesSchema, emailVerifyActionSchema, encodeBase32, encodeBase64, encodeBase64Url, encodeBase64UrlString, encodeCursor, encodeHex, endingSchema, escapeLuceneValue, fieldComponentSchema, flowActionStepSchema, flowInsertSchema, flowSchema, fieldComponentSchema$1 as flowsFieldComponentSchema, flowNodeSchema$1 as flowsFlowNodeSchema, stepNodeSchema$1 as flowsStepNodeSchema, fontDetailsSchema, fontsSchema, formControlSchema, formInsertSchema, formNodeComponentDefinition, formNodeSchema, formSchema, genericComponentSchema, genericNodeSchema, getConnectionIdentifierConfig, getLogTypeCategory, getLogTypeDescription, grantInsertSchema, grantSchema, handlerConfigSchema, hookCodeInsertSchema, hookCodeSchema, hookInsertSchema, hookPageId, hookSchema, hookTemplateId, hookTemplates, identitySchema, importMetadataSchema, inviteInsertSchema, inviteSchema, inviteeSchema, inviterSchema, isBlockComponent, isDatabaseConnectionStrategy, isEmailSearchTerm, isFeatureNotSupportedError, isFieldComponent, isPlainObject, isWidgetComponent, jwksKeySchema, jwksSchema, legalComponentSchema, locationInfoSchema, logInsertSchema, logSchema, logStreamFilterSchema, logStreamInsertSchema, logStreamSchema, logStreamStatusSchema, logStreamTypeSchema, logTypeCategories, logTypeDescriptions, loginSessionAuthStrategySchema, loginSessionInsertSchema, loginSessionSchema, loginSessionStateSchema, matchSchema, migrationProviderTypeSchema, migrationSourceCredentialsSchema, migrationSourceInsertSchema, migrationSourceSchema, nodeSchema, normalizeUsername, openIDConfigurationSchema, organizationBrandingSchema, organizationConnectionInsertSchema, organizationConnectionListSchema, organizationConnectionSchema, organizationEnabledConnectionSchema, organizationInsertSchema, organizationSchema, organizationTokenQuotaSchema, pageBackgroundSchema, parseUserId, passwordInsertSchema, passwordSchema, profileDataSchema, promptScreenSchema, promptSettingSchema, proxyRouteInsertSchema, proxyRouteSchema, proxyRouteUpdateSchema, redirectActionSchema, refreshTokenInsertSchema, refreshTokenRetentionCohortSchema, refreshTokenRetentionResponseSchema, refreshTokenSchema, requestContextSchema, resourceServerInsertSchema, resourceServerListSchema, resourceServerOptionsSchema, resourceServerSchema, resourceServerScopeSchema, responseContextSchema, richTextComponentSchema, roleInsertSchema, roleListSchema, rolePermissionInsertSchema, rolePermissionListSchema, rolePermissionSchema, roleSchema, rolloutInsertSchema, rolloutKindSchema, rolloutSchema, rolloutStatusSchema, rolloutUpdateSchema, sanitizeLuceneQuery, scimConfigurationInsertSchema, scimConfigurationSchema, scimExternalIdInsertSchema, scimExternalIdSchema, scimMappingEntrySchema, scimTokenInsertSchema, scimTokenSchema, screenLinkSchema, sessionInsertSchema, sessionRetentionCohortSchema, sessionRetentionResponseSchema, sessionRetentionWindow, sessionSchema, signingKeySchema, smsProviderSchema, smsSendParamsSchema, splitLuceneOrGroups, startSchema, suspiciousIpThrottlingSchema, targetSchema, tenantInsertSchema, tenantOperationEngineSchema, tenantOperationEventInsertSchema, tenantOperationEventOutcomeSchema, tenantOperationEventSchema, tenantOperationInsertSchema, tenantOperationKindSchema, tenantOperationRowInsertSchema, tenantOperationRowOutcomeSchema, tenantOperationRowSchema, tenantOperationRowStatusSchema, tenantOperationSchema, tenantOperationStatusSchema, tenantOperationUpdateSchema, tenantSchema, tenantSettingsSchema, themeInsertSchema, themeSchema, tokenResponseSchema, tokenizeLuceneQuery, totalsSchema, uiScreenSchema, unescapeLuceneValue, unquoteLuceneValue, userActivitySchema, userInsertSchema, userOrganizationInsertSchema, userOrganizationSchema, userPermissionInsertSchema, userPermissionListSchema, userPermissionSchema, userPermissionWithDetailsListSchema, userPermissionWithDetailsSchema, userResponseSchema, userRoleInsertSchema, userRoleListSchema, userRoleSchema, userSchema, usernameHasOnlyAllowedCharacters, validateUsername, verificationMethodsSchema, weekIndex, weekStartMs, widgetComponentSchema, widgetSchema };
13144
- export type { Action, ActionExecution, ActionExecutionError, ActionExecutionInsert, ActionExecutionLogEntry, ActionExecutionLogs, ActionExecutionResult, ActionExecutionStatus, ActionExecutionsAdapter, ActionInsert, ActionNode, ActionResponse, ActionUpdate, ActionVersion, ActionVersionInsert, ActionVersionsAdapter, ActionsAdapter, ActiveUsersResponse, Actor, Address, AnalyticsAdapter, AnalyticsColumnMeta, AnalyticsFilters, AnalyticsGroupBy, AnalyticsInterval, AnalyticsQueryParams, AnalyticsQueryResponse, AnalyticsResource, AnalyticsUserType, AttackProtection, AuditCategory, AuditEvent, AuditEventInsert, Auth0Flow, Auth0FlowInsert, Auth0UpdateUserAction, AuthParams, AuthenticationMethod, AuthenticationMethodInsert, AuthenticationMethodType, AuthenticationMethodUpdate, AuthenticationMethodsAdapter, BaseUser, BlockComponent, BooleanField, Branding, BrandingAdapter, BreachedPasswordDetection, BruteForceProtection, ButtonComponent, CacheAdapter, CacheItem, CardsField, ChoiceField, ClaimsRequest, Client, ClientConnectionsAdapter, ClientGrant, ClientGrantInsert, ClientGrantList, ClientGrantsAdapter, ClientInsert, ClientRegistrationToken, ClientRegistrationTokenInsert, ClientRegistrationTokenType, ClientRegistrationTokensAdapter, ClientWithTenantId, ClientsAdapter, Code, CodeExecutionLog, CodeExecutionResult, CodeExecutor, CodeField, CodeInsert, CodeResponse, CodeType, CodesAdapter, Component, ComponentMessage, Connection, ConnectionInsert, ConnectionsAdapter, ContinuationScope, Coordinates, CountryField, CreateOptions, CreateServiceTokenFn, CreateServiceTokenParams, CreateTenantParams, CursorPayload, CustomDomain, CustomDomainCertificateUpload, CustomDomainInsert, CustomDomainUpdate, CustomDomainWithTenantId, CustomDomainsAdapter, CustomField, CustomText, CustomTextAdapter, CustomTextEntry, DailyStats, DataAdapters, DateField, DividerComponent, DropdownField, EmailField, EmailProvider, EmailProvidersAdapter, EmailServiceAdapter, EmailServiceSendParams, EmailTemplate, EmailTemplateName, EmailTemplatesAdapter, EmailVerificationRules, EmailVerifyAction, Ending, FieldComponent, FileField, Flow, FlowActionStep, FlowActionType, FlowInsert, FlowNode, FlowsAdapter, FieldComponent$1 as FlowsFieldComponent, FlowNode$1 as FlowsFlowNode, StepNode$1 as FlowsStepNode, Form, FormControl, FormInsert, FormNode, FormNodeComponent, FormsAdapter, GenericComponent, GenericNode, GeoAdapter, GeoInfo, GmapsAddressWidget, Grant, GrantInsert, GrantsAdapter, HandlerConfig, Hook, HookCode, HookCodeAdapter, HookCodeInsert, HookInsert, HookPageId, HookTemplateId, HooksAdapter, HtmlComponent, Identity, ImageComponent, ImportMetadata, Invite, InviteInsert, Invitee, Inviter, InvitesAdapter, JumpButtonComponent, Jwk, Jwks, KeysAdapter, LegalComponent, LegalField, LinkCandidate, ListActionVersionsResponse, ListActionsResponse, ListClientGrantsResponse, ListCodesResponse, ListConnectionsResponse, ListFailedEventsResponse, ListFlowsResponse, ListFormsResponse, ListGrantsResponse, ListHooksResponse, ListInvitesResponse, ListKeysResponse, ListOrganizationsResponse, ListParams, ListProxyRoutesParams, ListProxyRoutesResult, ListRefreshTokenResponse, ListResourceServersResponse, ListRoleUsersResponse, ListRolesResponse, ListRolloutsResult, ListSesssionsResponse, ListTenantOperationEventsResult, ListTenantOperationRowsParams, ListTenantOperationRowsResult, ListTenantOperationsParams, ListTenantOperationsResult, ListUserRolesResponse, ListUsersResponse, Log, LogCategory, LogInsert, LogStream, LogStreamInsert, LogStreamsAdapter, LogType, LoginSession, LoginSessionAuthStrategy, LoginSessionInsert, LoginSessionsAdapter, LogsDataAdapter, MigrationProviderType, MigrationSource, MigrationSourceCredentials, MigrationSourceInsert, MigrationSourcesAdapter, NextButtonComponent, Node, NumberField, Organization, OrganizationConnection, OrganizationConnectionInsert, OrganizationConnectionList, OrganizationConnectionsAdapter, OrganizationInsert, OrganizationsAdapter, OutboxAdapter, OutboxEvent, OutboxEventInsert, PassthroughConfig, Password, PasswordField, PasswordInsert, PasswordsAdapter, PaymentField, PostUsersBody, PreviousButtonComponent, PromptScreen, PromptSetting, PromptSettingsAdapter, ProxyRoute, ProxyRouteInsert, ProxyRouteUpdate, ProxyRoutesAdapter, RateLimitAdapter, RateLimitDecision, RateLimitScope, RecaptchaWidget, RedirectAction, RedirectTarget, RefreshToken, RefreshTokenInsert, RefreshTokenListParams, RefreshTokenRetentionCohort, RefreshTokenRetentionParams, RefreshTokenRetentionResponse, RefreshTokenUpdate, RefreshTokensAdapter, RequestContext, ResendButtonComponent, ResourceServer, ResourceServerInsert, ResourceServerList, ResourceServerOptions, ResourceServerScope, ResourceServersAdapter, ResponseContext, RichTextComponent, Role, RoleInsert, RoleList, RolePermission, RolePermissionInsert, RolePermissionList, RolePermissionsAdapter, RolesAdapter, Rollout, RolloutInsert, RolloutKind, RolloutStatus, RolloutUpdate, RolloutsAdapter, RouteMatch, RouterNode, RuntimeComponent, ScimConfiguration, ScimConfigurationInsert, ScimConfigurationsAdapter, ScimExternalId, ScimExternalIdInsert, ScimExternalIdsAdapter, ScimMappingEntry, ScimToken, ScimTokenInsert, ScimTokensAdapter, ScreenLink, SecondaryAdapterConfig, Session, SessionCleanupParams, SessionInsert, SessionRetentionCohort, SessionRetentionParams, SessionRetentionRawRow, SessionRetentionResponse, SessionRetentionWindow, SessionsAdapter, SigningKey, SmsProvider, SmsSendParams, SmsServiceAdapter, SmsServiceSendParams, SocialField, Start, StatsAdapter, StatsListParams, StepNode, SuspiciousIpThrottling, Target, TelField, Tenant, TenantOperation, TenantOperationEngine, TenantOperationEvent, TenantOperationEventInsert, TenantOperationEventOutcome, TenantOperationEventsAdapter, TenantOperationInsert, TenantOperationKind, TenantOperationRow, TenantOperationRowCounts, TenantOperationRowInsert, TenantOperationRowOutcome, TenantOperationRowStatus, TenantOperationRowsAdapter, TenantOperationStatus, TenantOperationUpdate, TenantOperationsAdapter, TenantSettings, TenantSettingsAdapter, TenantsDataAdapter, TextField, Theme, ThemeInsert, ThemesAdapter, TokenResponse, Totals, UiScreen, UniversalLoginTemplate, UniversalLoginTemplatesAdapter, UpdateRefreshTokenOptions, UrlField, User, UserActivity, UserActivityAdapter, UserActivityUpdate, UserDataAdapter, UserInsert, UserOrganization, UserOrganizationInsert, UserOrganizationsAdapter, UserPermission, UserPermissionInsert, UserPermissionList, UserPermissionWithDetails, UserPermissionWithDetailsList, UserPermissionsAdapter, UserResponse, UserRole, UserRoleInsert, UserRoleList, UserRolesAdapter, UsernameLengthBounds, VerifiableCredentialsWidget, VerificationMethods, WidgetComponent, WriteOptions };
13516
+ export { Auth0ActionEnum, Auth0Client, AuthorizationResponseMode, AuthorizationResponseType, CodeChallengeMethod, ComponentCategory, ComponentType, DATABASE_CONNECTION_STRATEGY, EmailActionEnum, FORM_FIELD_TYPES, FeatureNotSupportedError, FlowActionTypeEnum, GrantType, KNOWN_TENANT_OPERATION_ENGINES, LocationInfo, LogTypes, LoginSessionState, MONDAY_EPOCH_SHIFT_MS, NodeType, PRESERVE_LOCATION_HEADER, RESERVED_SUBJECT_TOKEN_TYPE_PREFIXES, RedirectTargetEnum, Strategy, StrategyType, TERMINAL_TENANT_OPERATION_ROW_STATUSES, TOKEN_EXCHANGE_PROFILE_TYPE, TRIGGER_API_SHAPES, TRIGGER_FUNCTION_NAMES, USERNAME_CONTAINS_AT_MESSAGE, USERNAME_INVALID_CHARACTERS_MESSAGE, WEEK_MS, actionDependencySchema, actionExecutionErrorSchema, actionExecutionInsertSchema, actionExecutionLogEntrySchema, actionExecutionLogsSchema, actionExecutionResultSchema, actionExecutionSchema, actionExecutionStatusSchema, actionExecutionTriggerIdSchema, actionInsertSchema, actionNodeSchema, actionResponseSchema, actionSchema, actionSecretNameSchema, actionSecretSchema, actionTriggerSchema, actionUpdateSchema, actionVersionInsertSchema, actionVersionSchema, activeUsersResponseSchema, actorSchema, addressSchema, allowedTriggersForHook, analyticsColumnMetaSchema, analyticsGroupBySchema, analyticsIntervalSchema, analyticsQueryResponseSchema, analyticsResourceSchema, analyticsStatisticsSchema, analyticsUserTypeSchema, attackProtectionSchema, auditCategorySchema, auditEventInsertSchema, auditEventSchema, auth0ClientSchema, auth0FlowInsertSchema, auth0FlowSchema, auth0QuerySchema, auth0UpdateUserActionSchema, auth0UserResponseSchema, authParamsSchema, authenticationMethodInsertSchema, authenticationMethodSchema, authenticationMethodTypeSchema, baseUserSchema, blockComponentSchema, bordersSchema, brandingSchema, breachedPasswordDetectionSchema, bruteForceProtectionSchema, buildRefreshTokenRetention, buildSessionRetention, buttonComponentSchema, claimsRequestSchema, clientGrantInsertSchema, clientGrantListSchema, clientGrantSchema, clientInsertSchema, clientRegistrationTokenInsertSchema, clientRegistrationTokenSchema, clientRegistrationTokenTypeSchema, clientSchema, codeInsertSchema, codeSchema, codeTypeSchema, colorsSchema, componentMessageSchema, componentSchema, connectionInsertSchema, connectionOptionsSchema, connectionSchema, coordinatesSchema, createPassthroughAdapter, createWriteOnlyAdapter, customDomainCertificateUploadSchema, customDomainInsertSchema, customDomainSchema, customDomainUpdateSchema, customDomainWithTenantIdSchema, customTextEntrySchema, customTextSchema, dailyStatsSchema, decodeBase32, decodeBase64, decodeBase64Url, decodeBase64UrlString, decodeCursor, emailProviderSchema, emailTemplateNameSchema, emailTemplateSchema, emailVerificationRulesSchema, emailVerifyActionSchema, encodeBase32, encodeBase64, encodeBase64Url, encodeBase64UrlString, encodeCursor, encodeHex, endingSchema, escapeLuceneValue, fieldComponentSchema, flowActionStepSchema, flowInsertSchema, flowSchema, fieldComponentSchema$1 as flowsFieldComponentSchema, flowNodeSchema$1 as flowsFlowNodeSchema, stepNodeSchema$1 as flowsStepNodeSchema, fontDetailsSchema, fontsSchema, formControlSchema, formInsertSchema, formNodeComponentDefinition, formNodeSchema, formSchema, genericComponentSchema, genericNodeSchema, getConnectionIdentifierConfig, getLogTypeCategory, getLogTypeDescription, grantInsertSchema, grantSchema, handlerConfigSchema, hookCodeInsertSchema, hookCodeSchema, hookInsertSchema, hookPageId, hookSchema, hookTemplateId, hookTemplates, identitySchema, importMetadataSchema, inviteInsertSchema, inviteSchema, inviteeSchema, inviterSchema, isBlockComponent, isDatabaseConnectionStrategy, isEmailSearchTerm, isFeatureNotSupportedError, isFieldComponent, isPlainObject, isWidgetComponent, jwksKeySchema, jwksSchema, legalComponentSchema, locationInfoSchema, logInsertSchema, logSchema, logStreamFilterSchema, logStreamInsertSchema, logStreamSchema, logStreamStatusSchema, logStreamTypeSchema, logTypeCategories, logTypeDescriptions, loginSessionAuthStrategySchema, loginSessionInsertSchema, loginSessionSchema, loginSessionStateSchema, matchSchema, migrationProviderTypeSchema, migrationSourceCredentialsSchema, migrationSourceInsertSchema, migrationSourceSchema, nodeSchema, normalizeUsername, openIDConfigurationSchema, organizationBrandingSchema, organizationConnectionInsertSchema, organizationConnectionListSchema, organizationConnectionSchema, organizationEnabledConnectionSchema, organizationInsertSchema, organizationSchema, organizationTokenQuotaSchema, pageBackgroundSchema, parseUserId, passwordInsertSchema, passwordSchema, profileDataSchema, promptScreenSchema, promptSettingSchema, proxyRouteInsertSchema, proxyRouteSchema, proxyRouteUpdateSchema, redirectActionSchema, refreshTokenInsertSchema, refreshTokenRetentionCohortSchema, refreshTokenRetentionResponseSchema, refreshTokenSchema, requestContextSchema, resourceServerInsertSchema, resourceServerListSchema, resourceServerOptionsSchema, resourceServerSchema, resourceServerScopeSchema, responseContextSchema, richTextComponentSchema, roleInsertSchema, roleListSchema, rolePermissionInsertSchema, rolePermissionListSchema, rolePermissionSchema, roleSchema, rolloutInsertSchema, rolloutKindSchema, rolloutSchema, rolloutStatusSchema, rolloutUpdateSchema, sanitizeLuceneQuery, scimConfigurationInsertSchema, scimConfigurationSchema, scimExternalIdInsertSchema, scimExternalIdSchema, scimMappingEntrySchema, scimTokenInsertSchema, scimTokenSchema, screenLinkSchema, sessionInsertSchema, sessionRetentionCohortSchema, sessionRetentionResponseSchema, sessionRetentionWindow, sessionSchema, signingKeySchema, smsProviderSchema, smsSendParamsSchema, splitLuceneOrGroups, startSchema, subjectTokenTypeSchema, suspiciousIpThrottlingSchema, targetSchema, tenantInsertSchema, tenantOperationEngineSchema, tenantOperationEventInsertSchema, tenantOperationEventOutcomeSchema, tenantOperationEventSchema, tenantOperationInsertSchema, tenantOperationKindSchema, tenantOperationRowInsertSchema, tenantOperationRowOutcomeSchema, tenantOperationRowSchema, tenantOperationRowStatusSchema, tenantOperationSchema, tenantOperationStatusSchema, tenantOperationUpdateSchema, tenantSchema, tenantSettingsSchema, themeInsertSchema, themeSchema, tokenExchangeJwtAlgorithmSchema, tokenExchangeJwtVerificationSchema, tokenExchangeProfileInsertSchema, tokenExchangeProfileSchema, tokenExchangeProfileUpdateSchema, tokenExchangeUserMappingSchema, tokenResponseSchema, tokenizeLuceneQuery, totalsSchema, uiScreenSchema, unescapeLuceneValue, unquoteLuceneValue, userActivitySchema, userInsertSchema, userOrganizationInsertSchema, userOrganizationSchema, userPermissionInsertSchema, userPermissionListSchema, userPermissionSchema, userPermissionWithDetailsListSchema, userPermissionWithDetailsSchema, userResponseSchema, userRoleInsertSchema, userRoleListSchema, userRoleSchema, userSchema, usernameHasOnlyAllowedCharacters, validateUsername, verificationMethodsSchema, weekIndex, weekStartMs, widgetComponentSchema, widgetSchema };
13517
+ export type { Action, ActionExecution, ActionExecutionError, ActionExecutionInsert, ActionExecutionLogEntry, ActionExecutionLogs, ActionExecutionResult, ActionExecutionStatus, ActionExecutionsAdapter, ActionInsert, ActionNode, ActionResponse, ActionUpdate, ActionVersion, ActionVersionInsert, ActionVersionsAdapter, ActionsAdapter, ActiveUsersResponse, Actor, Address, AnalyticsAdapter, AnalyticsColumnMeta, AnalyticsFilters, AnalyticsGroupBy, AnalyticsInterval, AnalyticsQueryParams, AnalyticsQueryResponse, AnalyticsResource, AnalyticsUserType, AttackProtection, AuditCategory, AuditEvent, AuditEventInsert, Auth0Flow, Auth0FlowInsert, Auth0UpdateUserAction, AuthParams, AuthenticationMethod, AuthenticationMethodInsert, AuthenticationMethodType, AuthenticationMethodUpdate, AuthenticationMethodsAdapter, BaseUser, BlockComponent, BooleanField, Branding, BrandingAdapter, BreachedPasswordDetection, BruteForceProtection, ButtonComponent, CacheAdapter, CacheItem, CardsField, ChoiceField, ClaimsRequest, Client, ClientConnectionsAdapter, ClientGrant, ClientGrantInsert, ClientGrantList, ClientGrantsAdapter, ClientInsert, ClientRegistrationToken, ClientRegistrationTokenInsert, ClientRegistrationTokenType, ClientRegistrationTokensAdapter, ClientWithTenantId, ClientsAdapter, Code, CodeExecutionLog, CodeExecutionResult, CodeExecutor, CodeField, CodeInsert, CodeResponse, CodeType, CodesAdapter, Component, ComponentMessage, Connection, ConnectionInsert, ConnectionsAdapter, ContinuationScope, Coordinates, CountryField, CreateOptions, CreateServiceTokenFn, CreateServiceTokenParams, CreateTenantParams, CursorPayload, CustomDomain, CustomDomainCertificateUpload, CustomDomainInsert, CustomDomainUpdate, CustomDomainWithTenantId, CustomDomainsAdapter, CustomField, CustomText, CustomTextAdapter, CustomTextEntry, DailyStats, DataAdapters, DateField, DividerComponent, DropdownField, EmailField, EmailProvider, EmailProvidersAdapter, EmailServiceAdapter, EmailServiceSendParams, EmailTemplate, EmailTemplateName, EmailTemplatesAdapter, EmailVerificationRules, EmailVerifyAction, Ending, FieldComponent, FileField, Flow, FlowActionStep, FlowActionType, FlowInsert, FlowNode, FlowsAdapter, FieldComponent$1 as FlowsFieldComponent, FlowNode$1 as FlowsFlowNode, StepNode$1 as FlowsStepNode, Form, FormControl, FormInsert, FormNode, FormNodeComponent, FormsAdapter, GenericComponent, GenericNode, GeoAdapter, GeoInfo, GmapsAddressWidget, Grant, GrantInsert, GrantsAdapter, HandlerConfig, Hook, HookCode, HookCodeAdapter, HookCodeInsert, HookInsert, HookPageId, HookTemplateId, HooksAdapter, HtmlComponent, Identity, ImageComponent, ImportMetadata, Invite, InviteInsert, Invitee, Inviter, InvitesAdapter, JumpButtonComponent, Jwk, Jwks, KeysAdapter, LegalComponent, LegalField, LinkCandidate, ListActionVersionsResponse, ListActionsResponse, ListClientGrantsResponse, ListCodesResponse, ListConnectionsResponse, ListFailedEventsResponse, ListFlowsResponse, ListFormsResponse, ListGrantsResponse, ListHooksResponse, ListInvitesResponse, ListKeysResponse, ListOrganizationsResponse, ListParams, ListProxyRoutesParams, ListProxyRoutesResult, ListRefreshTokenResponse, ListResourceServersResponse, ListRoleUsersResponse, ListRolesResponse, ListRolloutsResult, ListSesssionsResponse, ListTenantOperationEventsResult, ListTenantOperationRowsParams, ListTenantOperationRowsResult, ListTenantOperationsParams, ListTenantOperationsResult, ListUserRolesResponse, ListUsersResponse, Log, LogCategory, LogInsert, LogStream, LogStreamInsert, LogStreamsAdapter, LogType, LoginSession, LoginSessionAuthStrategy, LoginSessionInsert, LoginSessionsAdapter, LogsDataAdapter, MigrationProviderType, MigrationSource, MigrationSourceCredentials, MigrationSourceInsert, MigrationSourcesAdapter, NextButtonComponent, Node, NumberField, Organization, OrganizationConnection, OrganizationConnectionInsert, OrganizationConnectionList, OrganizationConnectionsAdapter, OrganizationInsert, OrganizationsAdapter, OutboxAdapter, OutboxEvent, OutboxEventInsert, PassthroughConfig, Password, PasswordField, PasswordInsert, PasswordsAdapter, PaymentField, PostUsersBody, PreviousButtonComponent, PromptScreen, PromptSetting, PromptSettingsAdapter, ProxyRoute, ProxyRouteInsert, ProxyRouteUpdate, ProxyRoutesAdapter, RateLimitAdapter, RateLimitDecision, RateLimitScope, RecaptchaWidget, RedirectAction, RedirectTarget, RefreshToken, RefreshTokenInsert, RefreshTokenListParams, RefreshTokenRetentionCohort, RefreshTokenRetentionParams, RefreshTokenRetentionResponse, RefreshTokenUpdate, RefreshTokensAdapter, RequestContext, ResendButtonComponent, ResourceServer, ResourceServerInsert, ResourceServerList, ResourceServerOptions, ResourceServerScope, ResourceServersAdapter, ResponseContext, RichTextComponent, Role, RoleInsert, RoleList, RolePermission, RolePermissionInsert, RolePermissionList, RolePermissionsAdapter, RolesAdapter, Rollout, RolloutInsert, RolloutKind, RolloutStatus, RolloutUpdate, RolloutsAdapter, RouteMatch, RouterNode, RuntimeComponent, ScimConfiguration, ScimConfigurationInsert, ScimConfigurationsAdapter, ScimExternalId, ScimExternalIdInsert, ScimExternalIdsAdapter, ScimMappingEntry, ScimToken, ScimTokenInsert, ScimTokensAdapter, ScreenLink, SecondaryAdapterConfig, Session, SessionCleanupParams, SessionInsert, SessionRetentionCohort, SessionRetentionParams, SessionRetentionRawRow, SessionRetentionResponse, SessionRetentionWindow, SessionsAdapter, SigningKey, SmsProvider, SmsSendParams, SmsServiceAdapter, SmsServiceSendParams, SocialField, Start, StatsAdapter, StatsListParams, StepNode, SuspiciousIpThrottling, Target, TelField, Tenant, TenantOperation, TenantOperationEngine, TenantOperationEvent, TenantOperationEventInsert, TenantOperationEventOutcome, TenantOperationEventsAdapter, TenantOperationInsert, TenantOperationKind, TenantOperationRow, TenantOperationRowCounts, TenantOperationRowInsert, TenantOperationRowOutcome, TenantOperationRowStatus, TenantOperationRowsAdapter, TenantOperationStatus, TenantOperationUpdate, TenantOperationsAdapter, TenantSettings, TenantSettingsAdapter, TenantsDataAdapter, TextField, Theme, ThemeInsert, ThemesAdapter, TokenExchangeJwtAlgorithm, TokenExchangeJwtVerification, TokenExchangeProfile, TokenExchangeProfileInsert, TokenExchangeProfileUpdate, TokenExchangeProfilesAdapter, TokenExchangeUserMapping, TokenResponse, Totals, UiScreen, UniversalLoginTemplate, UniversalLoginTemplatesAdapter, UpdateRefreshTokenOptions, UrlField, User, UserActivity, UserActivityAdapter, UserActivityUpdate, UserDataAdapter, UserInsert, UserOrganization, UserOrganizationInsert, UserOrganizationsAdapter, UserPermission, UserPermissionInsert, UserPermissionList, UserPermissionWithDetails, UserPermissionWithDetailsList, UserPermissionsAdapter, UserResponse, UserRole, UserRoleInsert, UserRoleList, UserRolesAdapter, UsernameLengthBounds, VerifiableCredentialsWidget, VerificationMethods, WidgetComponent, WriteOptions };