authhero 4.103.1 → 4.103.2

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.
@@ -531,6 +531,8 @@ export declare const auditEventInsertSchema: z.ZodObject<{
531
531
  connection: z.ZodOptional<z.ZodString>;
532
532
  strategy: z.ZodOptional<z.ZodString>;
533
533
  strategy_type: z.ZodOptional<z.ZodString>;
534
+ audience: z.ZodOptional<z.ZodString>;
535
+ scope: z.ZodOptional<z.ZodString>;
534
536
  location: z.ZodOptional<z.ZodObject<{
535
537
  country_code: z.ZodString;
536
538
  city_name: z.ZodString;
@@ -612,6 +614,8 @@ export declare const auditEventInsertSchema: z.ZodObject<{
612
614
  connection?: string | undefined;
613
615
  strategy?: string | undefined;
614
616
  strategy_type?: string | undefined;
617
+ audience?: string | undefined;
618
+ scope?: string | undefined;
615
619
  location?: {
616
620
  country_code: string;
617
621
  city_name: string;
@@ -669,6 +673,8 @@ export declare const auditEventInsertSchema: z.ZodObject<{
669
673
  connection?: string | undefined;
670
674
  strategy?: string | undefined;
671
675
  strategy_type?: string | undefined;
676
+ audience?: string | undefined;
677
+ scope?: string | undefined;
672
678
  location?: {
673
679
  country_code: string;
674
680
  city_name: string;
@@ -799,6 +805,8 @@ export declare const auditEventSchema: z.ZodObject<{
799
805
  connection: z.ZodOptional<z.ZodString>;
800
806
  strategy: z.ZodOptional<z.ZodString>;
801
807
  strategy_type: z.ZodOptional<z.ZodString>;
808
+ audience: z.ZodOptional<z.ZodString>;
809
+ scope: z.ZodOptional<z.ZodString>;
802
810
  location: z.ZodOptional<z.ZodObject<{
803
811
  country_code: z.ZodString;
804
812
  city_name: z.ZodString;
@@ -883,6 +891,8 @@ export declare const auditEventSchema: z.ZodObject<{
883
891
  connection?: string | undefined;
884
892
  strategy?: string | undefined;
885
893
  strategy_type?: string | undefined;
894
+ audience?: string | undefined;
895
+ scope?: string | undefined;
886
896
  location?: {
887
897
  country_code: string;
888
898
  city_name: string;
@@ -941,6 +951,8 @@ export declare const auditEventSchema: z.ZodObject<{
941
951
  connection?: string | undefined;
942
952
  strategy?: string | undefined;
943
953
  strategy_type?: string | undefined;
954
+ audience?: string | undefined;
955
+ scope?: string | undefined;
944
956
  location?: {
945
957
  country_code: string;
946
958
  city_name: string;
@@ -3400,8 +3412,8 @@ export declare const clientGrantInsertSchema: z.ZodObject<{
3400
3412
  }, "strip", z.ZodTypeAny, {
3401
3413
  client_id: string;
3402
3414
  audience: string;
3403
- organization_usage?: "deny" | "allow" | "require" | undefined;
3404
3415
  scope?: string[] | undefined;
3416
+ organization_usage?: "deny" | "allow" | "require" | undefined;
3405
3417
  allow_any_organization?: boolean | undefined;
3406
3418
  is_system?: boolean | undefined;
3407
3419
  subject_type?: "user" | "client" | undefined;
@@ -3409,8 +3421,8 @@ export declare const clientGrantInsertSchema: z.ZodObject<{
3409
3421
  }, {
3410
3422
  client_id: string;
3411
3423
  audience: string;
3412
- organization_usage?: "deny" | "allow" | "require" | undefined;
3413
3424
  scope?: string[] | undefined;
3425
+ organization_usage?: "deny" | "allow" | "require" | undefined;
3414
3426
  allow_any_organization?: boolean | undefined;
3415
3427
  is_system?: boolean | undefined;
3416
3428
  subject_type?: "user" | "client" | undefined;
@@ -3442,8 +3454,8 @@ export declare const clientGrantSchema: z.ZodObject<{
3442
3454
  audience: string;
3443
3455
  created_at?: string | undefined;
3444
3456
  updated_at?: string | undefined;
3445
- organization_usage?: "deny" | "allow" | "require" | undefined;
3446
3457
  scope?: string[] | undefined;
3458
+ organization_usage?: "deny" | "allow" | "require" | undefined;
3447
3459
  allow_any_organization?: boolean | undefined;
3448
3460
  is_system?: boolean | undefined;
3449
3461
  subject_type?: "user" | "client" | undefined;
@@ -3454,8 +3466,8 @@ export declare const clientGrantSchema: z.ZodObject<{
3454
3466
  audience: string;
3455
3467
  created_at?: string | undefined;
3456
3468
  updated_at?: string | undefined;
3457
- organization_usage?: "deny" | "allow" | "require" | undefined;
3458
3469
  scope?: string[] | undefined;
3470
+ organization_usage?: "deny" | "allow" | "require" | undefined;
3459
3471
  allow_any_organization?: boolean | undefined;
3460
3472
  is_system?: boolean | undefined;
3461
3473
  subject_type?: "user" | "client" | undefined;
@@ -3487,8 +3499,8 @@ export declare const clientGrantListSchema: z.ZodArray<z.ZodObject<{
3487
3499
  audience: string;
3488
3500
  created_at?: string | undefined;
3489
3501
  updated_at?: string | undefined;
3490
- organization_usage?: "deny" | "allow" | "require" | undefined;
3491
3502
  scope?: string[] | undefined;
3503
+ organization_usage?: "deny" | "allow" | "require" | undefined;
3492
3504
  allow_any_organization?: boolean | undefined;
3493
3505
  is_system?: boolean | undefined;
3494
3506
  subject_type?: "user" | "client" | undefined;
@@ -3499,8 +3511,8 @@ export declare const clientGrantListSchema: z.ZodArray<z.ZodObject<{
3499
3511
  audience: string;
3500
3512
  created_at?: string | undefined;
3501
3513
  updated_at?: string | undefined;
3502
- organization_usage?: "deny" | "allow" | "require" | undefined;
3503
3514
  scope?: string[] | undefined;
3515
+ organization_usage?: "deny" | "allow" | "require" | undefined;
3504
3516
  allow_any_organization?: boolean | undefined;
3505
3517
  is_system?: boolean | undefined;
3506
3518
  subject_type?: "user" | "client" | undefined;
@@ -11208,9 +11220,9 @@ export declare const authParamsSchema: z.ZodObject<{
11208
11220
  vendor_id: z.ZodOptional<z.ZodString>;
11209
11221
  }, "strip", z.ZodTypeAny, {
11210
11222
  client_id: string;
11211
- username?: string | undefined;
11212
11223
  audience?: string | undefined;
11213
11224
  scope?: string | undefined;
11225
+ username?: string | undefined;
11214
11226
  act_as?: string | undefined;
11215
11227
  response_type?: AuthorizationResponseType | undefined;
11216
11228
  response_mode?: AuthorizationResponseMode | undefined;
@@ -11227,9 +11239,9 @@ export declare const authParamsSchema: z.ZodObject<{
11227
11239
  vendor_id?: string | undefined;
11228
11240
  }, {
11229
11241
  client_id: string;
11230
- username?: string | undefined;
11231
11242
  audience?: string | undefined;
11232
11243
  scope?: string | undefined;
11244
+ username?: string | undefined;
11233
11245
  act_as?: string | undefined;
11234
11246
  response_type?: AuthorizationResponseType | undefined;
11235
11247
  response_mode?: AuthorizationResponseMode | undefined;
@@ -11883,9 +11895,9 @@ export declare const connectionOptionsSchema: z.ZodObject<{
11883
11895
  } | undefined;
11884
11896
  } | undefined;
11885
11897
  client_id?: string | undefined;
11898
+ scope?: string | undefined;
11886
11899
  provider?: string | undefined;
11887
11900
  client_secret?: string | undefined;
11888
- scope?: string | undefined;
11889
11901
  kid?: string | undefined;
11890
11902
  team_id?: string | undefined;
11891
11903
  realms?: string | undefined;
@@ -11986,9 +11998,9 @@ export declare const connectionOptionsSchema: z.ZodObject<{
11986
11998
  } | undefined;
11987
11999
  } | undefined;
11988
12000
  client_id?: string | undefined;
12001
+ scope?: string | undefined;
11989
12002
  provider?: string | undefined;
11990
12003
  client_secret?: string | undefined;
11991
- scope?: string | undefined;
11992
12004
  kid?: string | undefined;
11993
12005
  team_id?: string | undefined;
11994
12006
  realms?: string | undefined;
@@ -12515,9 +12527,9 @@ export declare const connectionInsertSchema: z.ZodObject<{
12515
12527
  } | undefined;
12516
12528
  } | undefined;
12517
12529
  client_id?: string | undefined;
12530
+ scope?: string | undefined;
12518
12531
  provider?: string | undefined;
12519
12532
  client_secret?: string | undefined;
12520
- scope?: string | undefined;
12521
12533
  kid?: string | undefined;
12522
12534
  team_id?: string | undefined;
12523
12535
  realms?: string | undefined;
@@ -12618,9 +12630,9 @@ export declare const connectionInsertSchema: z.ZodObject<{
12618
12630
  } | undefined;
12619
12631
  } | undefined;
12620
12632
  client_id?: string | undefined;
12633
+ scope?: string | undefined;
12621
12634
  provider?: string | undefined;
12622
12635
  client_secret?: string | undefined;
12623
- scope?: string | undefined;
12624
12636
  kid?: string | undefined;
12625
12637
  team_id?: string | undefined;
12626
12638
  realms?: string | undefined;
@@ -12730,9 +12742,9 @@ export declare const connectionInsertSchema: z.ZodObject<{
12730
12742
  } | undefined;
12731
12743
  } | undefined;
12732
12744
  client_id?: string | undefined;
12745
+ scope?: string | undefined;
12733
12746
  provider?: string | undefined;
12734
12747
  client_secret?: string | undefined;
12735
- scope?: string | undefined;
12736
12748
  kid?: string | undefined;
12737
12749
  team_id?: string | undefined;
12738
12750
  realms?: string | undefined;
@@ -12848,9 +12860,9 @@ export declare const connectionInsertSchema: z.ZodObject<{
12848
12860
  } | undefined;
12849
12861
  } | undefined;
12850
12862
  client_id?: string | undefined;
12863
+ scope?: string | undefined;
12851
12864
  provider?: string | undefined;
12852
12865
  client_secret?: string | undefined;
12853
- scope?: string | undefined;
12854
12866
  kid?: string | undefined;
12855
12867
  team_id?: string | undefined;
12856
12868
  realms?: string | undefined;
@@ -13391,9 +13403,9 @@ export declare const connectionSchema: z.ZodObject<{
13391
13403
  } | undefined;
13392
13404
  } | undefined;
13393
13405
  client_id?: string | undefined;
13406
+ scope?: string | undefined;
13394
13407
  provider?: string | undefined;
13395
13408
  client_secret?: string | undefined;
13396
- scope?: string | undefined;
13397
13409
  kid?: string | undefined;
13398
13410
  team_id?: string | undefined;
13399
13411
  realms?: string | undefined;
@@ -13494,9 +13506,9 @@ export declare const connectionSchema: z.ZodObject<{
13494
13506
  } | undefined;
13495
13507
  } | undefined;
13496
13508
  client_id?: string | undefined;
13509
+ scope?: string | undefined;
13497
13510
  provider?: string | undefined;
13498
13511
  client_secret?: string | undefined;
13499
- scope?: string | undefined;
13500
13512
  kid?: string | undefined;
13501
13513
  team_id?: string | undefined;
13502
13514
  realms?: string | undefined;
@@ -13608,9 +13620,9 @@ export declare const connectionSchema: z.ZodObject<{
13608
13620
  } | undefined;
13609
13621
  } | undefined;
13610
13622
  client_id?: string | undefined;
13623
+ scope?: string | undefined;
13611
13624
  provider?: string | undefined;
13612
13625
  client_secret?: string | undefined;
13613
- scope?: string | undefined;
13614
13626
  kid?: string | undefined;
13615
13627
  team_id?: string | undefined;
13616
13628
  realms?: string | undefined;
@@ -13728,9 +13740,9 @@ export declare const connectionSchema: z.ZodObject<{
13728
13740
  } | undefined;
13729
13741
  } | undefined;
13730
13742
  client_id?: string | undefined;
13743
+ scope?: string | undefined;
13731
13744
  provider?: string | undefined;
13732
13745
  client_secret?: string | undefined;
13733
- scope?: string | undefined;
13734
13746
  kid?: string | undefined;
13735
13747
  team_id?: string | undefined;
13736
13748
  realms?: string | undefined;
@@ -43046,9 +43058,9 @@ export declare const loginSessionInsertSchema: z.ZodObject<{
43046
43058
  vendor_id: z.ZodOptional<z.ZodString>;
43047
43059
  }, "strip", z.ZodTypeAny, {
43048
43060
  client_id: string;
43049
- username?: string | undefined;
43050
43061
  audience?: string | undefined;
43051
43062
  scope?: string | undefined;
43063
+ username?: string | undefined;
43052
43064
  act_as?: string | undefined;
43053
43065
  response_type?: AuthorizationResponseType | undefined;
43054
43066
  response_mode?: AuthorizationResponseMode | undefined;
@@ -43065,9 +43077,9 @@ export declare const loginSessionInsertSchema: z.ZodObject<{
43065
43077
  vendor_id?: string | undefined;
43066
43078
  }, {
43067
43079
  client_id: string;
43068
- username?: string | undefined;
43069
43080
  audience?: string | undefined;
43070
43081
  scope?: string | undefined;
43082
+ username?: string | undefined;
43071
43083
  act_as?: string | undefined;
43072
43084
  response_type?: AuthorizationResponseType | undefined;
43073
43085
  response_mode?: AuthorizationResponseMode | undefined;
@@ -43111,9 +43123,9 @@ export declare const loginSessionInsertSchema: z.ZodObject<{
43111
43123
  csrf_token: string;
43112
43124
  authParams: {
43113
43125
  client_id: string;
43114
- username?: string | undefined;
43115
43126
  audience?: string | undefined;
43116
43127
  scope?: string | undefined;
43128
+ username?: string | undefined;
43117
43129
  act_as?: string | undefined;
43118
43130
  response_type?: AuthorizationResponseType | undefined;
43119
43131
  response_mode?: AuthorizationResponseMode | undefined;
@@ -43149,9 +43161,9 @@ export declare const loginSessionInsertSchema: z.ZodObject<{
43149
43161
  csrf_token: string;
43150
43162
  authParams: {
43151
43163
  client_id: string;
43152
- username?: string | undefined;
43153
43164
  audience?: string | undefined;
43154
43165
  scope?: string | undefined;
43166
+ username?: string | undefined;
43155
43167
  act_as?: string | undefined;
43156
43168
  response_type?: AuthorizationResponseType | undefined;
43157
43169
  response_mode?: AuthorizationResponseMode | undefined;
@@ -43212,9 +43224,9 @@ export declare const loginSessionSchema: z.ZodObject<{
43212
43224
  vendor_id: z.ZodOptional<z.ZodString>;
43213
43225
  }, "strip", z.ZodTypeAny, {
43214
43226
  client_id: string;
43215
- username?: string | undefined;
43216
43227
  audience?: string | undefined;
43217
43228
  scope?: string | undefined;
43229
+ username?: string | undefined;
43218
43230
  act_as?: string | undefined;
43219
43231
  response_type?: AuthorizationResponseType | undefined;
43220
43232
  response_mode?: AuthorizationResponseMode | undefined;
@@ -43231,9 +43243,9 @@ export declare const loginSessionSchema: z.ZodObject<{
43231
43243
  vendor_id?: string | undefined;
43232
43244
  }, {
43233
43245
  client_id: string;
43234
- username?: string | undefined;
43235
43246
  audience?: string | undefined;
43236
43247
  scope?: string | undefined;
43248
+ username?: string | undefined;
43237
43249
  act_as?: string | undefined;
43238
43250
  response_type?: AuthorizationResponseType | undefined;
43239
43251
  response_mode?: AuthorizationResponseMode | undefined;
@@ -43280,9 +43292,9 @@ export declare const loginSessionSchema: z.ZodObject<{
43280
43292
  csrf_token: string;
43281
43293
  authParams: {
43282
43294
  client_id: string;
43283
- username?: string | undefined;
43284
43295
  audience?: string | undefined;
43285
43296
  scope?: string | undefined;
43297
+ username?: string | undefined;
43286
43298
  act_as?: string | undefined;
43287
43299
  response_type?: AuthorizationResponseType | undefined;
43288
43300
  response_mode?: AuthorizationResponseMode | undefined;
@@ -43321,9 +43333,9 @@ export declare const loginSessionSchema: z.ZodObject<{
43321
43333
  csrf_token: string;
43322
43334
  authParams: {
43323
43335
  client_id: string;
43324
- username?: string | undefined;
43325
43336
  audience?: string | undefined;
43326
43337
  scope?: string | undefined;
43338
+ username?: string | undefined;
43327
43339
  act_as?: string | undefined;
43328
43340
  response_type?: AuthorizationResponseType | undefined;
43329
43341
  response_mode?: AuthorizationResponseMode | undefined;
@@ -43634,6 +43646,8 @@ export declare const logInsertSchema: z.ZodObject<{
43634
43646
  connection?: string | undefined;
43635
43647
  strategy?: string | undefined;
43636
43648
  strategy_type?: string | undefined;
43649
+ audience?: string | undefined;
43650
+ scope?: string | undefined;
43637
43651
  auth0_client?: {
43638
43652
  version: string;
43639
43653
  name: string;
@@ -43644,8 +43658,6 @@ export declare const logInsertSchema: z.ZodObject<{
43644
43658
  hostname?: string | undefined;
43645
43659
  connection_id?: string | undefined;
43646
43660
  user_id?: string | undefined;
43647
- audience?: string | undefined;
43648
- scope?: string | undefined;
43649
43661
  details?: any;
43650
43662
  user_name?: string | undefined;
43651
43663
  client_name?: string | undefined;
@@ -43669,6 +43681,8 @@ export declare const logInsertSchema: z.ZodObject<{
43669
43681
  connection?: string | undefined;
43670
43682
  strategy?: string | undefined;
43671
43683
  strategy_type?: string | undefined;
43684
+ audience?: string | undefined;
43685
+ scope?: string | undefined;
43672
43686
  auth0_client?: {
43673
43687
  version: string;
43674
43688
  name: string;
@@ -43679,8 +43693,6 @@ export declare const logInsertSchema: z.ZodObject<{
43679
43693
  hostname?: string | undefined;
43680
43694
  connection_id?: string | undefined;
43681
43695
  user_id?: string | undefined;
43682
- audience?: string | undefined;
43683
- scope?: string | undefined;
43684
43696
  details?: any;
43685
43697
  user_name?: string | undefined;
43686
43698
  client_name?: string | undefined;
@@ -43772,6 +43784,8 @@ export declare const logSchema: z.ZodObject<{
43772
43784
  connection?: string | undefined;
43773
43785
  strategy?: string | undefined;
43774
43786
  strategy_type?: string | undefined;
43787
+ audience?: string | undefined;
43788
+ scope?: string | undefined;
43775
43789
  auth0_client?: {
43776
43790
  version: string;
43777
43791
  name: string;
@@ -43782,8 +43796,6 @@ export declare const logSchema: z.ZodObject<{
43782
43796
  hostname?: string | undefined;
43783
43797
  connection_id?: string | undefined;
43784
43798
  user_id?: string | undefined;
43785
- audience?: string | undefined;
43786
- scope?: string | undefined;
43787
43799
  details?: any;
43788
43800
  user_name?: string | undefined;
43789
43801
  client_name?: string | undefined;
@@ -43807,6 +43819,8 @@ export declare const logSchema: z.ZodObject<{
43807
43819
  connection?: string | undefined;
43808
43820
  strategy?: string | undefined;
43809
43821
  strategy_type?: string | undefined;
43822
+ audience?: string | undefined;
43823
+ scope?: string | undefined;
43810
43824
  auth0_client?: {
43811
43825
  version: string;
43812
43826
  name: string;
@@ -43817,8 +43831,6 @@ export declare const logSchema: z.ZodObject<{
43817
43831
  hostname?: string | undefined;
43818
43832
  connection_id?: string | undefined;
43819
43833
  user_id?: string | undefined;
43820
- audience?: string | undefined;
43821
- scope?: string | undefined;
43822
43834
  details?: any;
43823
43835
  user_name?: string | undefined;
43824
43836
  client_name?: string | undefined;
@@ -45314,16 +45326,16 @@ export declare const tokenResponseSchema: z.ZodObject<{
45314
45326
  access_token: string;
45315
45327
  token_type: string;
45316
45328
  expires_in: number;
45317
- refresh_token?: string | undefined;
45318
45329
  scope?: string | undefined;
45330
+ refresh_token?: string | undefined;
45319
45331
  id_token?: string | undefined;
45320
45332
  state?: string | undefined;
45321
45333
  }, {
45322
45334
  access_token: string;
45323
45335
  token_type: string;
45324
45336
  expires_in: number;
45325
- refresh_token?: string | undefined;
45326
45337
  scope?: string | undefined;
45338
+ refresh_token?: string | undefined;
45327
45339
  id_token?: string | undefined;
45328
45340
  state?: string | undefined;
45329
45341
  }>;
@@ -49001,11 +49013,23 @@ export interface EmailProvidersAdapter {
49001
49013
  export interface ListRefreshTokenResponse extends Totals {
49002
49014
  refresh_tokens: RefreshToken[];
49003
49015
  }
49016
+ export interface UpdateRefreshTokenOptions {
49017
+ /**
49018
+ * When provided, the adapter also extends the parent login_session's
49019
+ * `expires_at` to `expires_at` (only if the current value is smaller).
49020
+ * The caller is expected to compute the new expiry so the adapter can
49021
+ * avoid a read-before-write and parallelise the two UPDATEs.
49022
+ */
49023
+ loginSessionBump?: {
49024
+ login_id: string;
49025
+ expires_at: string;
49026
+ };
49027
+ }
49004
49028
  export interface RefreshTokensAdapter {
49005
49029
  create: (tenant_id: string, refresh_token: RefreshTokenInsert) => Promise<RefreshToken>;
49006
49030
  get: (tenant_id: string, id: string) => Promise<RefreshToken | null>;
49007
49031
  list(tenant_id: string, params?: ListParams): Promise<ListRefreshTokenResponse>;
49008
- update: (tenant_id: string, id: string, refresh_token: Partial<RefreshToken>) => Promise<boolean>;
49032
+ update: (tenant_id: string, id: string, refresh_token: Partial<RefreshToken>, options?: UpdateRefreshTokenOptions) => Promise<boolean>;
49009
49033
  remove: (tenant_id: string, id: string) => Promise<boolean>;
49010
49034
  revokeByLoginSession: (tenant_id: string, login_session_id: string, revoked_at: string) => Promise<number>;
49011
49035
  }
@@ -50480,9 +50504,9 @@ declare const enrichedClientSchema: z.ZodObject<{
50480
50504
  } | undefined;
50481
50505
  } | undefined;
50482
50506
  client_id?: string | undefined;
50507
+ scope?: string | undefined;
50483
50508
  provider?: string | undefined;
50484
50509
  client_secret?: string | undefined;
50485
- scope?: string | undefined;
50486
50510
  kid?: string | undefined;
50487
50511
  team_id?: string | undefined;
50488
50512
  realms?: string | undefined;
@@ -50583,9 +50607,9 @@ declare const enrichedClientSchema: z.ZodObject<{
50583
50607
  } | undefined;
50584
50608
  } | undefined;
50585
50609
  client_id?: string | undefined;
50610
+ scope?: string | undefined;
50586
50611
  provider?: string | undefined;
50587
50612
  client_secret?: string | undefined;
50588
- scope?: string | undefined;
50589
50613
  kid?: string | undefined;
50590
50614
  team_id?: string | undefined;
50591
50615
  realms?: string | undefined;
@@ -50697,9 +50721,9 @@ declare const enrichedClientSchema: z.ZodObject<{
50697
50721
  } | undefined;
50698
50722
  } | undefined;
50699
50723
  client_id?: string | undefined;
50724
+ scope?: string | undefined;
50700
50725
  provider?: string | undefined;
50701
50726
  client_secret?: string | undefined;
50702
- scope?: string | undefined;
50703
50727
  kid?: string | undefined;
50704
50728
  team_id?: string | undefined;
50705
50729
  realms?: string | undefined;
@@ -50817,9 +50841,9 @@ declare const enrichedClientSchema: z.ZodObject<{
50817
50841
  } | undefined;
50818
50842
  } | undefined;
50819
50843
  client_id?: string | undefined;
50844
+ scope?: string | undefined;
50820
50845
  provider?: string | undefined;
50821
50846
  client_secret?: string | undefined;
50822
- scope?: string | undefined;
50823
50847
  kid?: string | undefined;
50824
50848
  team_id?: string | undefined;
50825
50849
  realms?: string | undefined;
@@ -51156,9 +51180,9 @@ declare const enrichedClientSchema: z.ZodObject<{
51156
51180
  } | undefined;
51157
51181
  } | undefined;
51158
51182
  client_id?: string | undefined;
51183
+ scope?: string | undefined;
51159
51184
  provider?: string | undefined;
51160
51185
  client_secret?: string | undefined;
51161
- scope?: string | undefined;
51162
51186
  kid?: string | undefined;
51163
51187
  team_id?: string | undefined;
51164
51188
  realms?: string | undefined;
@@ -51454,9 +51478,9 @@ declare const enrichedClientSchema: z.ZodObject<{
51454
51478
  } | undefined;
51455
51479
  } | undefined;
51456
51480
  client_id?: string | undefined;
51481
+ scope?: string | undefined;
51457
51482
  provider?: string | undefined;
51458
51483
  client_secret?: string | undefined;
51459
- scope?: string | undefined;
51460
51484
  kid?: string | undefined;
51461
51485
  team_id?: string | undefined;
51462
51486
  realms?: string | undefined;
@@ -59507,9 +59531,9 @@ export declare function init(config: AuthHeroConfig): {
59507
59531
  } | undefined;
59508
59532
  } | undefined;
59509
59533
  client_id?: string | undefined | undefined;
59534
+ scope?: string | undefined | undefined;
59510
59535
  provider?: string | undefined | undefined;
59511
59536
  client_secret?: string | undefined | undefined;
59512
- scope?: string | undefined | undefined;
59513
59537
  kid?: string | undefined | undefined;
59514
59538
  team_id?: string | undefined | undefined;
59515
59539
  realms?: string | undefined | undefined;
@@ -59629,9 +59653,9 @@ export declare function init(config: AuthHeroConfig): {
59629
59653
  } | undefined;
59630
59654
  } | undefined;
59631
59655
  client_id?: string | undefined | undefined;
59656
+ scope?: string | undefined | undefined;
59632
59657
  provider?: string | undefined | undefined;
59633
59658
  client_secret?: string | undefined | undefined;
59634
- scope?: string | undefined | undefined;
59635
59659
  kid?: string | undefined | undefined;
59636
59660
  team_id?: string | undefined | undefined;
59637
59661
  realms?: string | undefined | undefined;
@@ -59770,9 +59794,9 @@ export declare function init(config: AuthHeroConfig): {
59770
59794
  } | undefined;
59771
59795
  } | undefined;
59772
59796
  client_id?: string | undefined | undefined;
59797
+ scope?: string | undefined | undefined;
59773
59798
  provider?: string | undefined | undefined;
59774
59799
  client_secret?: string | undefined | undefined;
59775
- scope?: string | undefined | undefined;
59776
59800
  kid?: string | undefined | undefined;
59777
59801
  team_id?: string | undefined | undefined;
59778
59802
  realms?: string | undefined | undefined;
@@ -59923,9 +59947,9 @@ export declare function init(config: AuthHeroConfig): {
59923
59947
  } | undefined;
59924
59948
  } | undefined;
59925
59949
  client_id?: string | undefined;
59950
+ scope?: string | undefined;
59926
59951
  provider?: string | undefined;
59927
59952
  client_secret?: string | undefined;
59928
- scope?: string | undefined;
59929
59953
  kid?: string | undefined;
59930
59954
  team_id?: string | undefined;
59931
59955
  realms?: string | undefined;
@@ -60042,9 +60066,9 @@ export declare function init(config: AuthHeroConfig): {
60042
60066
  } | undefined;
60043
60067
  } | undefined;
60044
60068
  client_id?: string | undefined | undefined;
60069
+ scope?: string | undefined | undefined;
60045
60070
  provider?: string | undefined | undefined;
60046
60071
  client_secret?: string | undefined | undefined;
60047
- scope?: string | undefined | undefined;
60048
60072
  kid?: string | undefined | undefined;
60049
60073
  team_id?: string | undefined | undefined;
60050
60074
  realms?: string | undefined | undefined;
@@ -60175,9 +60199,9 @@ export declare function init(config: AuthHeroConfig): {
60175
60199
  } | undefined;
60176
60200
  } | undefined;
60177
60201
  client_id?: string | undefined;
60202
+ scope?: string | undefined;
60178
60203
  provider?: string | undefined;
60179
60204
  client_secret?: string | undefined;
60180
- scope?: string | undefined;
60181
60205
  kid?: string | undefined;
60182
60206
  team_id?: string | undefined;
60183
60207
  realms?: string | undefined;
@@ -60293,9 +60317,9 @@ export declare function init(config: AuthHeroConfig): {
60293
60317
  } | undefined;
60294
60318
  } | undefined;
60295
60319
  client_id?: string | undefined | undefined;
60320
+ scope?: string | undefined | undefined;
60296
60321
  provider?: string | undefined | undefined;
60297
60322
  client_secret?: string | undefined | undefined;
60298
- scope?: string | undefined | undefined;
60299
60323
  kid?: string | undefined | undefined;
60300
60324
  team_id?: string | undefined | undefined;
60301
60325
  realms?: string | undefined | undefined;
@@ -60992,6 +61016,8 @@ export declare function init(config: AuthHeroConfig): {
60992
61016
  };
60993
61017
  timestamp: string;
60994
61018
  description?: string | undefined;
61019
+ scope?: string | undefined;
61020
+ audience?: string | undefined;
60995
61021
  connection?: string | undefined;
60996
61022
  auth0_client?: {
60997
61023
  version: string;
@@ -61086,6 +61112,8 @@ export declare function init(config: AuthHeroConfig): {
61086
61112
  connection?: string | undefined | undefined;
61087
61113
  strategy?: string | undefined | undefined;
61088
61114
  strategy_type?: string | undefined | undefined;
61115
+ audience?: string | undefined | undefined;
61116
+ scope?: string | undefined | undefined;
61089
61117
  auth0_client?: {
61090
61118
  version: string;
61091
61119
  name: string;
@@ -61096,8 +61124,6 @@ export declare function init(config: AuthHeroConfig): {
61096
61124
  hostname?: string | undefined | undefined;
61097
61125
  connection_id?: string | undefined | undefined;
61098
61126
  user_id?: string | undefined | undefined;
61099
- audience?: string | undefined | undefined;
61100
- scope?: string | undefined | undefined;
61101
61127
  details?: any;
61102
61128
  user_name?: string | undefined | undefined;
61103
61129
  client_name?: string | undefined | undefined;
@@ -61125,6 +61151,8 @@ export declare function init(config: AuthHeroConfig): {
61125
61151
  connection?: string | undefined | undefined;
61126
61152
  strategy?: string | undefined | undefined;
61127
61153
  strategy_type?: string | undefined | undefined;
61154
+ audience?: string | undefined | undefined;
61155
+ scope?: string | undefined | undefined;
61128
61156
  auth0_client?: {
61129
61157
  version: string;
61130
61158
  name: string;
@@ -61135,8 +61163,6 @@ export declare function init(config: AuthHeroConfig): {
61135
61163
  hostname?: string | undefined | undefined;
61136
61164
  connection_id?: string | undefined | undefined;
61137
61165
  user_id?: string | undefined | undefined;
61138
- audience?: string | undefined | undefined;
61139
- scope?: string | undefined | undefined;
61140
61166
  details?: any;
61141
61167
  user_name?: string | undefined | undefined;
61142
61168
  client_name?: string | undefined | undefined;
@@ -61179,6 +61205,8 @@ export declare function init(config: AuthHeroConfig): {
61179
61205
  connection?: string | undefined | undefined;
61180
61206
  strategy?: string | undefined | undefined;
61181
61207
  strategy_type?: string | undefined | undefined;
61208
+ audience?: string | undefined | undefined;
61209
+ scope?: string | undefined | undefined;
61182
61210
  auth0_client?: {
61183
61211
  version: string;
61184
61212
  name: string;
@@ -61189,8 +61217,6 @@ export declare function init(config: AuthHeroConfig): {
61189
61217
  hostname?: string | undefined | undefined;
61190
61218
  connection_id?: string | undefined | undefined;
61191
61219
  user_id?: string | undefined | undefined;
61192
- audience?: string | undefined | undefined;
61193
- scope?: string | undefined | undefined;
61194
61220
  details?: any;
61195
61221
  user_name?: string | undefined | undefined;
61196
61222
  client_name?: string | undefined | undefined;
@@ -61233,8 +61259,8 @@ export declare function init(config: AuthHeroConfig): {
61233
61259
  audience: string;
61234
61260
  created_at?: string | undefined | undefined;
61235
61261
  updated_at?: string | undefined | undefined;
61236
- organization_usage?: "deny" | "allow" | "require" | undefined | undefined;
61237
61262
  scope?: string[] | undefined | undefined;
61263
+ organization_usage?: "deny" | "allow" | "require" | undefined | undefined;
61238
61264
  allow_any_organization?: boolean | undefined | undefined;
61239
61265
  is_system?: boolean | undefined | undefined;
61240
61266
  subject_type?: "user" | "client" | undefined | undefined;
@@ -61249,8 +61275,8 @@ export declare function init(config: AuthHeroConfig): {
61249
61275
  audience: string;
61250
61276
  created_at?: string | undefined | undefined;
61251
61277
  updated_at?: string | undefined | undefined;
61252
- organization_usage?: "deny" | "allow" | "require" | undefined | undefined;
61253
61278
  scope?: string[] | undefined | undefined;
61279
+ organization_usage?: "deny" | "allow" | "require" | undefined | undefined;
61254
61280
  allow_any_organization?: boolean | undefined | undefined;
61255
61281
  is_system?: boolean | undefined | undefined;
61256
61282
  subject_type?: "user" | "client" | undefined | undefined;
@@ -61280,8 +61306,8 @@ export declare function init(config: AuthHeroConfig): {
61280
61306
  audience: string;
61281
61307
  created_at?: string | undefined | undefined;
61282
61308
  updated_at?: string | undefined | undefined;
61283
- organization_usage?: "deny" | "allow" | "require" | undefined | undefined;
61284
61309
  scope?: string[] | undefined | undefined;
61310
+ organization_usage?: "deny" | "allow" | "require" | undefined | undefined;
61285
61311
  allow_any_organization?: boolean | undefined | undefined;
61286
61312
  is_system?: boolean | undefined | undefined;
61287
61313
  subject_type?: "user" | "client" | undefined | undefined;
@@ -61337,8 +61363,8 @@ export declare function init(config: AuthHeroConfig): {
61337
61363
  audience: string;
61338
61364
  created_at?: string | undefined | undefined;
61339
61365
  updated_at?: string | undefined | undefined;
61340
- organization_usage?: "deny" | "allow" | "require" | undefined | undefined;
61341
61366
  scope?: string[] | undefined | undefined;
61367
+ organization_usage?: "deny" | "allow" | "require" | undefined | undefined;
61342
61368
  allow_any_organization?: boolean | undefined | undefined;
61343
61369
  is_system?: boolean | undefined | undefined;
61344
61370
  subject_type?: "user" | "client" | undefined | undefined;
@@ -61373,8 +61399,8 @@ export declare function init(config: AuthHeroConfig): {
61373
61399
  audience: string;
61374
61400
  created_at?: string | undefined | undefined;
61375
61401
  updated_at?: string | undefined | undefined;
61376
- organization_usage?: "deny" | "allow" | "require" | undefined | undefined;
61377
61402
  scope?: string[] | undefined | undefined;
61403
+ organization_usage?: "deny" | "allow" | "require" | undefined | undefined;
61378
61404
  allow_any_organization?: boolean | undefined | undefined;
61379
61405
  is_system?: boolean | undefined | undefined;
61380
61406
  subject_type?: "user" | "client" | undefined | undefined;
@@ -62000,9 +62026,9 @@ export declare function init(config: AuthHeroConfig): {
62000
62026
  } | undefined;
62001
62027
  } | undefined;
62002
62028
  client_id?: string | undefined | undefined;
62029
+ scope?: string | undefined | undefined;
62003
62030
  provider?: string | undefined | undefined;
62004
62031
  client_secret?: string | undefined | undefined;
62005
- scope?: string | undefined | undefined;
62006
62032
  kid?: string | undefined | undefined;
62007
62033
  team_id?: string | undefined | undefined;
62008
62034
  realms?: string | undefined | undefined;
@@ -62144,9 +62170,9 @@ export declare function init(config: AuthHeroConfig): {
62144
62170
  } | undefined;
62145
62171
  } | undefined;
62146
62172
  client_id?: string | undefined | undefined;
62173
+ scope?: string | undefined | undefined;
62147
62174
  provider?: string | undefined | undefined;
62148
62175
  client_secret?: string | undefined | undefined;
62149
- scope?: string | undefined | undefined;
62150
62176
  kid?: string | undefined | undefined;
62151
62177
  team_id?: string | undefined | undefined;
62152
62178
  realms?: string | undefined | undefined;
@@ -63051,6 +63077,8 @@ export declare function init(config: AuthHeroConfig): {
63051
63077
  connection?: string | undefined | undefined;
63052
63078
  strategy?: string | undefined | undefined;
63053
63079
  strategy_type?: string | undefined | undefined;
63080
+ audience?: string | undefined | undefined;
63081
+ scope?: string | undefined | undefined;
63054
63082
  auth0_client?: {
63055
63083
  version: string;
63056
63084
  name: string;
@@ -63061,8 +63089,6 @@ export declare function init(config: AuthHeroConfig): {
63061
63089
  hostname?: string | undefined | undefined;
63062
63090
  connection_id?: string | undefined | undefined;
63063
63091
  user_id?: string | undefined | undefined;
63064
- audience?: string | undefined | undefined;
63065
- scope?: string | undefined | undefined;
63066
63092
  details?: any;
63067
63093
  user_name?: string | undefined | undefined;
63068
63094
  client_name?: string | undefined | undefined;
@@ -63090,6 +63116,8 @@ export declare function init(config: AuthHeroConfig): {
63090
63116
  connection?: string | undefined | undefined;
63091
63117
  strategy?: string | undefined | undefined;
63092
63118
  strategy_type?: string | undefined | undefined;
63119
+ audience?: string | undefined | undefined;
63120
+ scope?: string | undefined | undefined;
63093
63121
  auth0_client?: {
63094
63122
  version: string;
63095
63123
  name: string;
@@ -63100,8 +63128,6 @@ export declare function init(config: AuthHeroConfig): {
63100
63128
  hostname?: string | undefined | undefined;
63101
63129
  connection_id?: string | undefined | undefined;
63102
63130
  user_id?: string | undefined | undefined;
63103
- audience?: string | undefined | undefined;
63104
- scope?: string | undefined | undefined;
63105
63131
  details?: any;
63106
63132
  user_name?: string | undefined | undefined;
63107
63133
  client_name?: string | undefined | undefined;
@@ -64865,8 +64891,8 @@ export declare function init(config: AuthHeroConfig): {
64865
64891
  access_token: string;
64866
64892
  token_type: string;
64867
64893
  expires_in: number;
64868
- refresh_token?: string | undefined | undefined;
64869
64894
  scope?: string | undefined | undefined;
64895
+ refresh_token?: string | undefined | undefined;
64870
64896
  id_token?: string | undefined | undefined;
64871
64897
  state?: string | undefined | undefined;
64872
64898
  };
@@ -65330,8 +65356,8 @@ export declare function init(config: AuthHeroConfig): {
65330
65356
  access_token: string;
65331
65357
  token_type: string;
65332
65358
  expires_in: number;
65333
- refresh_token?: string | undefined | undefined;
65334
65359
  scope?: string | undefined | undefined;
65360
+ refresh_token?: string | undefined | undefined;
65335
65361
  id_token?: string | undefined | undefined;
65336
65362
  state?: string | undefined | undefined;
65337
65363
  };