authhero 4.103.0 → 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
  }>;
@@ -46752,6 +46764,7 @@ export declare const refreshTokenSchema: z.ZodObject<{
46752
46764
  }>, "many">;
46753
46765
  rotating: z.ZodBoolean;
46754
46766
  created_at: z.ZodString;
46767
+ revoked_at: z.ZodOptional<z.ZodString>;
46755
46768
  }, "strip", z.ZodTypeAny, {
46756
46769
  created_at: string;
46757
46770
  id: string;
@@ -46772,6 +46785,7 @@ export declare const refreshTokenSchema: z.ZodObject<{
46772
46785
  }[];
46773
46786
  rotating: boolean;
46774
46787
  expires_at?: string | undefined;
46788
+ revoked_at?: string | undefined;
46775
46789
  idle_expires_at?: string | undefined;
46776
46790
  last_exchanged_at?: string | undefined;
46777
46791
  }, {
@@ -46794,6 +46808,7 @@ export declare const refreshTokenSchema: z.ZodObject<{
46794
46808
  }[];
46795
46809
  rotating: boolean;
46796
46810
  expires_at?: string | undefined;
46811
+ revoked_at?: string | undefined;
46797
46812
  idle_expires_at?: string | undefined;
46798
46813
  last_exchanged_at?: string | undefined;
46799
46814
  }>;
@@ -48998,12 +49013,25 @@ export interface EmailProvidersAdapter {
48998
49013
  export interface ListRefreshTokenResponse extends Totals {
48999
49014
  refresh_tokens: RefreshToken[];
49000
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
+ }
49001
49028
  export interface RefreshTokensAdapter {
49002
49029
  create: (tenant_id: string, refresh_token: RefreshTokenInsert) => Promise<RefreshToken>;
49003
49030
  get: (tenant_id: string, id: string) => Promise<RefreshToken | null>;
49004
49031
  list(tenant_id: string, params?: ListParams): Promise<ListRefreshTokenResponse>;
49005
- 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>;
49006
49033
  remove: (tenant_id: string, id: string) => Promise<boolean>;
49034
+ revokeByLoginSession: (tenant_id: string, login_session_id: string, revoked_at: string) => Promise<number>;
49007
49035
  }
49008
49036
  export interface ListFormsResponse extends Totals {
49009
49037
  forms: Form[];
@@ -50476,9 +50504,9 @@ declare const enrichedClientSchema: z.ZodObject<{
50476
50504
  } | undefined;
50477
50505
  } | undefined;
50478
50506
  client_id?: string | undefined;
50507
+ scope?: string | undefined;
50479
50508
  provider?: string | undefined;
50480
50509
  client_secret?: string | undefined;
50481
- scope?: string | undefined;
50482
50510
  kid?: string | undefined;
50483
50511
  team_id?: string | undefined;
50484
50512
  realms?: string | undefined;
@@ -50579,9 +50607,9 @@ declare const enrichedClientSchema: z.ZodObject<{
50579
50607
  } | undefined;
50580
50608
  } | undefined;
50581
50609
  client_id?: string | undefined;
50610
+ scope?: string | undefined;
50582
50611
  provider?: string | undefined;
50583
50612
  client_secret?: string | undefined;
50584
- scope?: string | undefined;
50585
50613
  kid?: string | undefined;
50586
50614
  team_id?: string | undefined;
50587
50615
  realms?: string | undefined;
@@ -50693,9 +50721,9 @@ declare const enrichedClientSchema: z.ZodObject<{
50693
50721
  } | undefined;
50694
50722
  } | undefined;
50695
50723
  client_id?: string | undefined;
50724
+ scope?: string | undefined;
50696
50725
  provider?: string | undefined;
50697
50726
  client_secret?: string | undefined;
50698
- scope?: string | undefined;
50699
50727
  kid?: string | undefined;
50700
50728
  team_id?: string | undefined;
50701
50729
  realms?: string | undefined;
@@ -50813,9 +50841,9 @@ declare const enrichedClientSchema: z.ZodObject<{
50813
50841
  } | undefined;
50814
50842
  } | undefined;
50815
50843
  client_id?: string | undefined;
50844
+ scope?: string | undefined;
50816
50845
  provider?: string | undefined;
50817
50846
  client_secret?: string | undefined;
50818
- scope?: string | undefined;
50819
50847
  kid?: string | undefined;
50820
50848
  team_id?: string | undefined;
50821
50849
  realms?: string | undefined;
@@ -51152,9 +51180,9 @@ declare const enrichedClientSchema: z.ZodObject<{
51152
51180
  } | undefined;
51153
51181
  } | undefined;
51154
51182
  client_id?: string | undefined;
51183
+ scope?: string | undefined;
51155
51184
  provider?: string | undefined;
51156
51185
  client_secret?: string | undefined;
51157
- scope?: string | undefined;
51158
51186
  kid?: string | undefined;
51159
51187
  team_id?: string | undefined;
51160
51188
  realms?: string | undefined;
@@ -51450,9 +51478,9 @@ declare const enrichedClientSchema: z.ZodObject<{
51450
51478
  } | undefined;
51451
51479
  } | undefined;
51452
51480
  client_id?: string | undefined;
51481
+ scope?: string | undefined;
51453
51482
  provider?: string | undefined;
51454
51483
  client_secret?: string | undefined;
51455
- scope?: string | undefined;
51456
51484
  kid?: string | undefined;
51457
51485
  team_id?: string | undefined;
51458
51486
  realms?: string | undefined;
@@ -59503,9 +59531,9 @@ export declare function init(config: AuthHeroConfig): {
59503
59531
  } | undefined;
59504
59532
  } | undefined;
59505
59533
  client_id?: string | undefined | undefined;
59534
+ scope?: string | undefined | undefined;
59506
59535
  provider?: string | undefined | undefined;
59507
59536
  client_secret?: string | undefined | undefined;
59508
- scope?: string | undefined | undefined;
59509
59537
  kid?: string | undefined | undefined;
59510
59538
  team_id?: string | undefined | undefined;
59511
59539
  realms?: string | undefined | undefined;
@@ -59625,9 +59653,9 @@ export declare function init(config: AuthHeroConfig): {
59625
59653
  } | undefined;
59626
59654
  } | undefined;
59627
59655
  client_id?: string | undefined | undefined;
59656
+ scope?: string | undefined | undefined;
59628
59657
  provider?: string | undefined | undefined;
59629
59658
  client_secret?: string | undefined | undefined;
59630
- scope?: string | undefined | undefined;
59631
59659
  kid?: string | undefined | undefined;
59632
59660
  team_id?: string | undefined | undefined;
59633
59661
  realms?: string | undefined | undefined;
@@ -59766,9 +59794,9 @@ export declare function init(config: AuthHeroConfig): {
59766
59794
  } | undefined;
59767
59795
  } | undefined;
59768
59796
  client_id?: string | undefined | undefined;
59797
+ scope?: string | undefined | undefined;
59769
59798
  provider?: string | undefined | undefined;
59770
59799
  client_secret?: string | undefined | undefined;
59771
- scope?: string | undefined | undefined;
59772
59800
  kid?: string | undefined | undefined;
59773
59801
  team_id?: string | undefined | undefined;
59774
59802
  realms?: string | undefined | undefined;
@@ -59919,9 +59947,9 @@ export declare function init(config: AuthHeroConfig): {
59919
59947
  } | undefined;
59920
59948
  } | undefined;
59921
59949
  client_id?: string | undefined;
59950
+ scope?: string | undefined;
59922
59951
  provider?: string | undefined;
59923
59952
  client_secret?: string | undefined;
59924
- scope?: string | undefined;
59925
59953
  kid?: string | undefined;
59926
59954
  team_id?: string | undefined;
59927
59955
  realms?: string | undefined;
@@ -60038,9 +60066,9 @@ export declare function init(config: AuthHeroConfig): {
60038
60066
  } | undefined;
60039
60067
  } | undefined;
60040
60068
  client_id?: string | undefined | undefined;
60069
+ scope?: string | undefined | undefined;
60041
60070
  provider?: string | undefined | undefined;
60042
60071
  client_secret?: string | undefined | undefined;
60043
- scope?: string | undefined | undefined;
60044
60072
  kid?: string | undefined | undefined;
60045
60073
  team_id?: string | undefined | undefined;
60046
60074
  realms?: string | undefined | undefined;
@@ -60171,9 +60199,9 @@ export declare function init(config: AuthHeroConfig): {
60171
60199
  } | undefined;
60172
60200
  } | undefined;
60173
60201
  client_id?: string | undefined;
60202
+ scope?: string | undefined;
60174
60203
  provider?: string | undefined;
60175
60204
  client_secret?: string | undefined;
60176
- scope?: string | undefined;
60177
60205
  kid?: string | undefined;
60178
60206
  team_id?: string | undefined;
60179
60207
  realms?: string | undefined;
@@ -60289,9 +60317,9 @@ export declare function init(config: AuthHeroConfig): {
60289
60317
  } | undefined;
60290
60318
  } | undefined;
60291
60319
  client_id?: string | undefined | undefined;
60320
+ scope?: string | undefined | undefined;
60292
60321
  provider?: string | undefined | undefined;
60293
60322
  client_secret?: string | undefined | undefined;
60294
- scope?: string | undefined | undefined;
60295
60323
  kid?: string | undefined | undefined;
60296
60324
  team_id?: string | undefined | undefined;
60297
60325
  realms?: string | undefined | undefined;
@@ -60988,6 +61016,8 @@ export declare function init(config: AuthHeroConfig): {
60988
61016
  };
60989
61017
  timestamp: string;
60990
61018
  description?: string | undefined;
61019
+ scope?: string | undefined;
61020
+ audience?: string | undefined;
60991
61021
  connection?: string | undefined;
60992
61022
  auth0_client?: {
60993
61023
  version: string;
@@ -61082,6 +61112,8 @@ export declare function init(config: AuthHeroConfig): {
61082
61112
  connection?: string | undefined | undefined;
61083
61113
  strategy?: string | undefined | undefined;
61084
61114
  strategy_type?: string | undefined | undefined;
61115
+ audience?: string | undefined | undefined;
61116
+ scope?: string | undefined | undefined;
61085
61117
  auth0_client?: {
61086
61118
  version: string;
61087
61119
  name: string;
@@ -61092,8 +61124,6 @@ export declare function init(config: AuthHeroConfig): {
61092
61124
  hostname?: string | undefined | undefined;
61093
61125
  connection_id?: string | undefined | undefined;
61094
61126
  user_id?: string | undefined | undefined;
61095
- audience?: string | undefined | undefined;
61096
- scope?: string | undefined | undefined;
61097
61127
  details?: any;
61098
61128
  user_name?: string | undefined | undefined;
61099
61129
  client_name?: string | undefined | undefined;
@@ -61121,6 +61151,8 @@ export declare function init(config: AuthHeroConfig): {
61121
61151
  connection?: string | undefined | undefined;
61122
61152
  strategy?: string | undefined | undefined;
61123
61153
  strategy_type?: string | undefined | undefined;
61154
+ audience?: string | undefined | undefined;
61155
+ scope?: string | undefined | undefined;
61124
61156
  auth0_client?: {
61125
61157
  version: string;
61126
61158
  name: string;
@@ -61131,8 +61163,6 @@ export declare function init(config: AuthHeroConfig): {
61131
61163
  hostname?: string | undefined | undefined;
61132
61164
  connection_id?: string | undefined | undefined;
61133
61165
  user_id?: string | undefined | undefined;
61134
- audience?: string | undefined | undefined;
61135
- scope?: string | undefined | undefined;
61136
61166
  details?: any;
61137
61167
  user_name?: string | undefined | undefined;
61138
61168
  client_name?: string | undefined | undefined;
@@ -61175,6 +61205,8 @@ export declare function init(config: AuthHeroConfig): {
61175
61205
  connection?: string | undefined | undefined;
61176
61206
  strategy?: string | undefined | undefined;
61177
61207
  strategy_type?: string | undefined | undefined;
61208
+ audience?: string | undefined | undefined;
61209
+ scope?: string | undefined | undefined;
61178
61210
  auth0_client?: {
61179
61211
  version: string;
61180
61212
  name: string;
@@ -61185,8 +61217,6 @@ export declare function init(config: AuthHeroConfig): {
61185
61217
  hostname?: string | undefined | undefined;
61186
61218
  connection_id?: string | undefined | undefined;
61187
61219
  user_id?: string | undefined | undefined;
61188
- audience?: string | undefined | undefined;
61189
- scope?: string | undefined | undefined;
61190
61220
  details?: any;
61191
61221
  user_name?: string | undefined | undefined;
61192
61222
  client_name?: string | undefined | undefined;
@@ -61229,8 +61259,8 @@ export declare function init(config: AuthHeroConfig): {
61229
61259
  audience: string;
61230
61260
  created_at?: string | undefined | undefined;
61231
61261
  updated_at?: string | undefined | undefined;
61232
- organization_usage?: "deny" | "allow" | "require" | undefined | undefined;
61233
61262
  scope?: string[] | undefined | undefined;
61263
+ organization_usage?: "deny" | "allow" | "require" | undefined | undefined;
61234
61264
  allow_any_organization?: boolean | undefined | undefined;
61235
61265
  is_system?: boolean | undefined | undefined;
61236
61266
  subject_type?: "user" | "client" | undefined | undefined;
@@ -61245,8 +61275,8 @@ export declare function init(config: AuthHeroConfig): {
61245
61275
  audience: string;
61246
61276
  created_at?: string | undefined | undefined;
61247
61277
  updated_at?: string | undefined | undefined;
61248
- organization_usage?: "deny" | "allow" | "require" | undefined | undefined;
61249
61278
  scope?: string[] | undefined | undefined;
61279
+ organization_usage?: "deny" | "allow" | "require" | undefined | undefined;
61250
61280
  allow_any_organization?: boolean | undefined | undefined;
61251
61281
  is_system?: boolean | undefined | undefined;
61252
61282
  subject_type?: "user" | "client" | undefined | undefined;
@@ -61276,8 +61306,8 @@ export declare function init(config: AuthHeroConfig): {
61276
61306
  audience: string;
61277
61307
  created_at?: string | undefined | undefined;
61278
61308
  updated_at?: string | undefined | undefined;
61279
- organization_usage?: "deny" | "allow" | "require" | undefined | undefined;
61280
61309
  scope?: string[] | undefined | undefined;
61310
+ organization_usage?: "deny" | "allow" | "require" | undefined | undefined;
61281
61311
  allow_any_organization?: boolean | undefined | undefined;
61282
61312
  is_system?: boolean | undefined | undefined;
61283
61313
  subject_type?: "user" | "client" | undefined | undefined;
@@ -61333,8 +61363,8 @@ export declare function init(config: AuthHeroConfig): {
61333
61363
  audience: string;
61334
61364
  created_at?: string | undefined | undefined;
61335
61365
  updated_at?: string | undefined | undefined;
61336
- organization_usage?: "deny" | "allow" | "require" | undefined | undefined;
61337
61366
  scope?: string[] | undefined | undefined;
61367
+ organization_usage?: "deny" | "allow" | "require" | undefined | undefined;
61338
61368
  allow_any_organization?: boolean | undefined | undefined;
61339
61369
  is_system?: boolean | undefined | undefined;
61340
61370
  subject_type?: "user" | "client" | undefined | undefined;
@@ -61369,8 +61399,8 @@ export declare function init(config: AuthHeroConfig): {
61369
61399
  audience: string;
61370
61400
  created_at?: string | undefined | undefined;
61371
61401
  updated_at?: string | undefined | undefined;
61372
- organization_usage?: "deny" | "allow" | "require" | undefined | undefined;
61373
61402
  scope?: string[] | undefined | undefined;
61403
+ organization_usage?: "deny" | "allow" | "require" | undefined | undefined;
61374
61404
  allow_any_organization?: boolean | undefined | undefined;
61375
61405
  is_system?: boolean | undefined | undefined;
61376
61406
  subject_type?: "user" | "client" | undefined | undefined;
@@ -61996,9 +62026,9 @@ export declare function init(config: AuthHeroConfig): {
61996
62026
  } | undefined;
61997
62027
  } | undefined;
61998
62028
  client_id?: string | undefined | undefined;
62029
+ scope?: string | undefined | undefined;
61999
62030
  provider?: string | undefined | undefined;
62000
62031
  client_secret?: string | undefined | undefined;
62001
- scope?: string | undefined | undefined;
62002
62032
  kid?: string | undefined | undefined;
62003
62033
  team_id?: string | undefined | undefined;
62004
62034
  realms?: string | undefined | undefined;
@@ -62140,9 +62170,9 @@ export declare function init(config: AuthHeroConfig): {
62140
62170
  } | undefined;
62141
62171
  } | undefined;
62142
62172
  client_id?: string | undefined | undefined;
62173
+ scope?: string | undefined | undefined;
62143
62174
  provider?: string | undefined | undefined;
62144
62175
  client_secret?: string | undefined | undefined;
62145
- scope?: string | undefined | undefined;
62146
62176
  kid?: string | undefined | undefined;
62147
62177
  team_id?: string | undefined | undefined;
62148
62178
  realms?: string | undefined | undefined;
@@ -63047,6 +63077,8 @@ export declare function init(config: AuthHeroConfig): {
63047
63077
  connection?: string | undefined | undefined;
63048
63078
  strategy?: string | undefined | undefined;
63049
63079
  strategy_type?: string | undefined | undefined;
63080
+ audience?: string | undefined | undefined;
63081
+ scope?: string | undefined | undefined;
63050
63082
  auth0_client?: {
63051
63083
  version: string;
63052
63084
  name: string;
@@ -63057,8 +63089,6 @@ export declare function init(config: AuthHeroConfig): {
63057
63089
  hostname?: string | undefined | undefined;
63058
63090
  connection_id?: string | undefined | undefined;
63059
63091
  user_id?: string | undefined | undefined;
63060
- audience?: string | undefined | undefined;
63061
- scope?: string | undefined | undefined;
63062
63092
  details?: any;
63063
63093
  user_name?: string | undefined | undefined;
63064
63094
  client_name?: string | undefined | undefined;
@@ -63086,6 +63116,8 @@ export declare function init(config: AuthHeroConfig): {
63086
63116
  connection?: string | undefined | undefined;
63087
63117
  strategy?: string | undefined | undefined;
63088
63118
  strategy_type?: string | undefined | undefined;
63119
+ audience?: string | undefined | undefined;
63120
+ scope?: string | undefined | undefined;
63089
63121
  auth0_client?: {
63090
63122
  version: string;
63091
63123
  name: string;
@@ -63096,8 +63128,6 @@ export declare function init(config: AuthHeroConfig): {
63096
63128
  hostname?: string | undefined | undefined;
63097
63129
  connection_id?: string | undefined | undefined;
63098
63130
  user_id?: string | undefined | undefined;
63099
- audience?: string | undefined | undefined;
63100
- scope?: string | undefined | undefined;
63101
63131
  details?: any;
63102
63132
  user_name?: string | undefined | undefined;
63103
63133
  client_name?: string | undefined | undefined;
@@ -64861,8 +64891,8 @@ export declare function init(config: AuthHeroConfig): {
64861
64891
  access_token: string;
64862
64892
  token_type: string;
64863
64893
  expires_in: number;
64864
- refresh_token?: string | undefined | undefined;
64865
64894
  scope?: string | undefined | undefined;
64895
+ refresh_token?: string | undefined | undefined;
64866
64896
  id_token?: string | undefined | undefined;
64867
64897
  state?: string | undefined | undefined;
64868
64898
  };
@@ -65326,8 +65356,8 @@ export declare function init(config: AuthHeroConfig): {
65326
65356
  access_token: string;
65327
65357
  token_type: string;
65328
65358
  expires_in: number;
65329
- refresh_token?: string | undefined | undefined;
65330
65359
  scope?: string | undefined | undefined;
65360
+ refresh_token?: string | undefined | undefined;
65331
65361
  id_token?: string | undefined | undefined;
65332
65362
  state?: string | undefined | undefined;
65333
65363
  };