authhero 0.124.0 → 0.125.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.
@@ -69,7 +69,7 @@ export declare const baseUserSchema: z.ZodObject<{
69
69
  user_metadata?: any;
70
70
  }>;
71
71
  export type BaseUser = z.infer<typeof baseUserSchema>;
72
- export declare const userInsertSchema: z.ZodObject<z.objectUtil.extendShape<{
72
+ export declare const userInsertSchema: z.ZodObject<{
73
73
  email: z.ZodOptional<z.ZodString>;
74
74
  username: z.ZodOptional<z.ZodString>;
75
75
  phone_number: z.ZodOptional<z.ZodString>;
@@ -81,10 +81,9 @@ export declare const userInsertSchema: z.ZodObject<z.objectUtil.extendShape<{
81
81
  locale: z.ZodOptional<z.ZodString>;
82
82
  linked_to: z.ZodOptional<z.ZodString>;
83
83
  profileData: z.ZodOptional<z.ZodString>;
84
- user_id: z.ZodOptional<z.ZodString>;
85
84
  app_metadata: z.ZodOptional<z.ZodDefault<z.ZodAny>>;
86
85
  user_metadata: z.ZodOptional<z.ZodDefault<z.ZodAny>>;
87
- }, {
86
+ } & {
88
87
  email_verified: z.ZodDefault<z.ZodBoolean>;
89
88
  verify_email: z.ZodOptional<z.ZodBoolean>;
90
89
  last_ip: z.ZodOptional<z.ZodString>;
@@ -93,7 +92,7 @@ export declare const userInsertSchema: z.ZodObject<z.objectUtil.extendShape<{
93
92
  provider: z.ZodDefault<z.ZodString>;
94
93
  connection: z.ZodDefault<z.ZodString>;
95
94
  is_social: z.ZodOptional<z.ZodBoolean>;
96
- }>, "strip", z.ZodTypeAny, {
95
+ }, "strip", z.ZodTypeAny, {
97
96
  email_verified: boolean;
98
97
  connection: string;
99
98
  provider: string;
@@ -521,8 +520,7 @@ export interface PostUsersBody extends BaseUser {
521
520
  connection?: string;
522
521
  email_verified?: boolean;
523
522
  }
524
- export declare const userResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
525
- email: z.ZodOptional<z.ZodString>;
523
+ export declare const userResponseSchema: z.ZodObject<{
526
524
  username: z.ZodOptional<z.ZodString>;
527
525
  phone_number: z.ZodOptional<z.ZodString>;
528
526
  given_name: z.ZodOptional<z.ZodString>;
@@ -533,18 +531,16 @@ export declare const userResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
533
531
  locale: z.ZodOptional<z.ZodString>;
534
532
  linked_to: z.ZodOptional<z.ZodString>;
535
533
  profileData: z.ZodOptional<z.ZodString>;
536
- user_id: z.ZodOptional<z.ZodString>;
537
534
  app_metadata: z.ZodOptional<z.ZodDefault<z.ZodAny>>;
538
535
  user_metadata: z.ZodOptional<z.ZodDefault<z.ZodAny>>;
539
- }, {
536
+ } & {
540
537
  email: z.ZodString;
541
538
  login_count: z.ZodNumber;
542
539
  multifactor: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
543
540
  last_ip: z.ZodOptional<z.ZodString>;
544
541
  last_login: z.ZodOptional<z.ZodString>;
545
542
  user_id: z.ZodString;
546
- }>, "strip", z.ZodAny, z.objectOutputType<z.objectUtil.extendShape<{
547
- email: z.ZodOptional<z.ZodString>;
543
+ }, "strip", z.ZodAny, z.objectOutputType<{
548
544
  username: z.ZodOptional<z.ZodString>;
549
545
  phone_number: z.ZodOptional<z.ZodString>;
550
546
  given_name: z.ZodOptional<z.ZodString>;
@@ -555,18 +551,16 @@ export declare const userResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
555
551
  locale: z.ZodOptional<z.ZodString>;
556
552
  linked_to: z.ZodOptional<z.ZodString>;
557
553
  profileData: z.ZodOptional<z.ZodString>;
558
- user_id: z.ZodOptional<z.ZodString>;
559
554
  app_metadata: z.ZodOptional<z.ZodDefault<z.ZodAny>>;
560
555
  user_metadata: z.ZodOptional<z.ZodDefault<z.ZodAny>>;
561
- }, {
556
+ } & {
562
557
  email: z.ZodString;
563
558
  login_count: z.ZodNumber;
564
559
  multifactor: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
565
560
  last_ip: z.ZodOptional<z.ZodString>;
566
561
  last_login: z.ZodOptional<z.ZodString>;
567
562
  user_id: z.ZodString;
568
- }>, z.ZodAny, "strip">, z.objectInputType<z.objectUtil.extendShape<{
569
- email: z.ZodOptional<z.ZodString>;
563
+ }, z.ZodAny, "strip">, z.objectInputType<{
570
564
  username: z.ZodOptional<z.ZodString>;
571
565
  phone_number: z.ZodOptional<z.ZodString>;
572
566
  given_name: z.ZodOptional<z.ZodString>;
@@ -577,17 +571,16 @@ export declare const userResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
577
571
  locale: z.ZodOptional<z.ZodString>;
578
572
  linked_to: z.ZodOptional<z.ZodString>;
579
573
  profileData: z.ZodOptional<z.ZodString>;
580
- user_id: z.ZodOptional<z.ZodString>;
581
574
  app_metadata: z.ZodOptional<z.ZodDefault<z.ZodAny>>;
582
575
  user_metadata: z.ZodOptional<z.ZodDefault<z.ZodAny>>;
583
- }, {
576
+ } & {
584
577
  email: z.ZodString;
585
578
  login_count: z.ZodNumber;
586
579
  multifactor: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
587
580
  last_ip: z.ZodOptional<z.ZodString>;
588
581
  last_login: z.ZodOptional<z.ZodString>;
589
582
  user_id: z.ZodString;
590
- }>, z.ZodAny, "strip">>;
583
+ }, z.ZodAny, "strip">>;
591
584
  export type UserResponse = z.infer<typeof userResponseSchema>;
592
585
  export declare const samlpAddon: z.ZodObject<{
593
586
  audience: z.ZodOptional<z.ZodString>;
@@ -1176,11 +1169,10 @@ declare const ClientSchema: z.ZodObject<{
1176
1169
  secondary_color?: string | undefined;
1177
1170
  language?: string | undefined;
1178
1171
  }>;
1179
- connections: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1180
- id: z.ZodString;
1172
+ connections: z.ZodArray<z.ZodObject<{
1181
1173
  created_at: z.ZodEffects<z.ZodString, string, string>;
1182
1174
  updated_at: z.ZodEffects<z.ZodString, string, string>;
1183
- }, {
1175
+ } & {
1184
1176
  id: z.ZodOptional<z.ZodString>;
1185
1177
  name: z.ZodString;
1186
1178
  strategy: z.ZodString;
@@ -1242,7 +1234,7 @@ declare const ClientSchema: z.ZodObject<{
1242
1234
  enabled_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
1243
1235
  response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
1244
1236
  response_mode: z.ZodOptional<z.ZodType<AuthorizationResponseMode, z.ZodTypeDef, AuthorizationResponseMode>>;
1245
- }>, "strip", z.ZodTypeAny, {
1237
+ }, "strip", z.ZodTypeAny, {
1246
1238
  options: {
1247
1239
  provider?: string | undefined;
1248
1240
  issuer?: string | undefined;
@@ -1816,11 +1808,10 @@ export declare const connectionInsertSchema: z.ZodObject<{
1816
1808
  enabled_clients?: string[] | undefined;
1817
1809
  }>;
1818
1810
  export type ConnectionInsert = z.infer<typeof connectionInsertSchema>;
1819
- export declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
1820
- id: z.ZodString;
1811
+ export declare const connectionSchema: z.ZodObject<{
1821
1812
  created_at: z.ZodEffects<z.ZodString, string, string>;
1822
1813
  updated_at: z.ZodEffects<z.ZodString, string, string>;
1823
- }, {
1814
+ } & {
1824
1815
  id: z.ZodOptional<z.ZodString>;
1825
1816
  name: z.ZodString;
1826
1817
  strategy: z.ZodString;
@@ -1882,7 +1873,7 @@ export declare const connectionSchema: z.ZodObject<z.objectUtil.extendShape<{
1882
1873
  enabled_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
1883
1874
  response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
1884
1875
  response_mode: z.ZodOptional<z.ZodType<AuthorizationResponseMode, z.ZodTypeDef, AuthorizationResponseMode>>;
1885
- }>, "strip", z.ZodTypeAny, {
1876
+ }, "strip", z.ZodTypeAny, {
1886
1877
  options: {
1887
1878
  provider?: string | undefined;
1888
1879
  issuer?: string | undefined;
@@ -2085,7 +2076,7 @@ export declare const customDomainSchema: z.ZodObject<{
2085
2076
  } | undefined;
2086
2077
  }>;
2087
2078
  export type CustomDomain = z.infer<typeof customDomainSchema>;
2088
- export declare const customDomainWithTenantIdSchema: z.ZodObject<z.objectUtil.extendShape<{
2079
+ export declare const customDomainWithTenantIdSchema: z.ZodObject<{
2089
2080
  custom_domain_id: z.ZodString;
2090
2081
  primary: z.ZodBoolean;
2091
2082
  status: z.ZodEnum<[
@@ -2139,9 +2130,9 @@ export declare const customDomainWithTenantIdSchema: z.ZodObject<z.objectUtil.ex
2139
2130
  "null"
2140
2131
  ]>>;
2141
2132
  domain_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2142
- }, {
2133
+ } & {
2143
2134
  tenant_id: z.ZodString;
2144
- }>, "strip", z.ZodTypeAny, {
2135
+ }, "strip", z.ZodTypeAny, {
2145
2136
  type: "auth0_managed_certs" | "self_managed_certs";
2146
2137
  status: "disabled" | "pending" | "pending_verification" | "ready";
2147
2138
  primary: boolean;
@@ -2208,7 +2199,7 @@ export declare const hookInsertSchema: z.ZodObject<{
2208
2199
  priority?: number | undefined;
2209
2200
  }>;
2210
2201
  export type HookInsert = z.infer<typeof hookInsertSchema>;
2211
- export declare const hookSchema: z.ZodObject<z.objectUtil.extendShape<{
2202
+ export declare const hookSchema: z.ZodObject<{
2212
2203
  trigger_id: z.ZodEnum<[
2213
2204
  "pre-user-signup",
2214
2205
  "post-user-registration",
@@ -2216,14 +2207,13 @@ export declare const hookSchema: z.ZodObject<z.objectUtil.extendShape<{
2216
2207
  ]>;
2217
2208
  enabled: z.ZodDefault<z.ZodBoolean>;
2218
2209
  url: z.ZodString;
2219
- hook_id: z.ZodOptional<z.ZodString>;
2220
2210
  synchronous: z.ZodDefault<z.ZodBoolean>;
2221
2211
  priority: z.ZodOptional<z.ZodNumber>;
2222
- }, {
2212
+ } & {
2223
2213
  hook_id: z.ZodString;
2224
2214
  created_at: z.ZodString;
2225
2215
  updated_at: z.ZodString;
2226
- }>, "strip", z.ZodTypeAny, {
2216
+ }, "strip", z.ZodTypeAny, {
2227
2217
  created_at: string;
2228
2218
  updated_at: string;
2229
2219
  enabled: boolean;
@@ -4073,7 +4063,7 @@ export declare const themeInsertSchema: z.ZodObject<{
4073
4063
  };
4074
4064
  }>;
4075
4065
  export type ThemeInsert = z.infer<typeof themeInsertSchema>;
4076
- export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
4066
+ export declare const themeSchema: z.ZodObject<{
4077
4067
  borders: z.ZodObject<{
4078
4068
  button_border_radius: z.ZodNumber;
4079
4069
  button_border_weight: z.ZodNumber;
@@ -4336,9 +4326,9 @@ export declare const themeSchema: z.ZodObject<z.objectUtil.extendShape<{
4336
4326
  logo_position: "center";
4337
4327
  social_buttons_layout: "bottom";
4338
4328
  }>;
4339
- }, {
4329
+ } & {
4340
4330
  themeId: z.ZodString;
4341
- }>, "strip", z.ZodTypeAny, {
4331
+ }, "strip", z.ZodTypeAny, {
4342
4332
  page_background: {
4343
4333
  background_color: string;
4344
4334
  background_image_url: string;
@@ -5356,9 +5346,9 @@ export declare function init(config: AuthHeroConfig): {
5356
5346
  scopes: string;
5357
5347
  }[];
5358
5348
  rotating: boolean;
5359
- expires_at?: string | undefined;
5360
- idle_expires_at?: string | undefined;
5361
- last_exchanged_at?: string | undefined;
5349
+ expires_at?: string | undefined | undefined;
5350
+ idle_expires_at?: string | undefined | undefined;
5351
+ last_exchanged_at?: string | undefined | undefined;
5362
5352
  };
5363
5353
  outputFormat: "json";
5364
5354
  status: 200;
@@ -5409,10 +5399,10 @@ export declare function init(config: AuthHeroConfig): {
5409
5399
  clients: string[];
5410
5400
  authenticated_at: string;
5411
5401
  last_interaction_at: string;
5412
- expires_at?: string | undefined;
5413
- used_at?: string | undefined;
5414
- revoked_at?: string | undefined;
5415
- idle_expires_at?: string | undefined;
5402
+ expires_at?: string | undefined | undefined;
5403
+ used_at?: string | undefined | undefined;
5404
+ revoked_at?: string | undefined | undefined;
5405
+ idle_expires_at?: string | undefined | undefined;
5416
5406
  };
5417
5407
  outputFormat: "json";
5418
5408
  status: 200;
@@ -5508,64 +5498,64 @@ export declare function init(config: AuthHeroConfig): {
5508
5498
  };
5509
5499
  output: {
5510
5500
  options: {
5511
- provider?: string | undefined;
5512
- issuer?: string | undefined;
5513
- client_secret?: string | undefined;
5514
- client_id?: string | undefined;
5515
- scope?: string | undefined;
5516
- kid?: string | undefined;
5517
- team_id?: string | undefined;
5518
- realms?: string | undefined;
5519
- app_secret?: string | undefined;
5520
- authorization_endpoint?: string | undefined;
5521
- token_endpoint?: string | undefined;
5522
- userinfo_endpoint?: string | undefined;
5523
- jwks_uri?: string | undefined;
5524
- discovery_url?: string | undefined;
5525
- from?: string | undefined;
5526
- twilio_sid?: string | undefined;
5527
- twilio_token?: string | undefined;
5501
+ provider?: string | undefined | undefined;
5502
+ issuer?: string | undefined | undefined;
5503
+ client_secret?: string | undefined | undefined;
5504
+ client_id?: string | undefined | undefined;
5505
+ scope?: string | undefined | undefined;
5506
+ kid?: string | undefined | undefined;
5507
+ team_id?: string | undefined | undefined;
5508
+ realms?: string | undefined | undefined;
5509
+ app_secret?: string | undefined | undefined;
5510
+ authorization_endpoint?: string | undefined | undefined;
5511
+ token_endpoint?: string | undefined | undefined;
5512
+ userinfo_endpoint?: string | undefined | undefined;
5513
+ jwks_uri?: string | undefined | undefined;
5514
+ discovery_url?: string | undefined | undefined;
5515
+ from?: string | undefined | undefined;
5516
+ twilio_sid?: string | undefined | undefined;
5517
+ twilio_token?: string | undefined | undefined;
5528
5518
  };
5529
5519
  created_at: string;
5530
5520
  updated_at: string;
5531
5521
  name: string;
5532
5522
  strategy: string;
5533
- id?: string | undefined;
5523
+ id?: string | undefined | undefined;
5534
5524
  response_type?: AuthorizationResponseType | undefined;
5535
5525
  response_mode?: AuthorizationResponseMode | undefined;
5536
- enabled_clients?: string[] | undefined;
5526
+ enabled_clients?: string[] | undefined | undefined;
5537
5527
  }[] | {
5538
5528
  length: number;
5539
5529
  start: number;
5540
5530
  limit: number;
5541
5531
  connections: {
5542
5532
  options: {
5543
- provider?: string | undefined;
5544
- issuer?: string | undefined;
5545
- client_secret?: string | undefined;
5546
- client_id?: string | undefined;
5547
- scope?: string | undefined;
5548
- kid?: string | undefined;
5549
- team_id?: string | undefined;
5550
- realms?: string | undefined;
5551
- app_secret?: string | undefined;
5552
- authorization_endpoint?: string | undefined;
5553
- token_endpoint?: string | undefined;
5554
- userinfo_endpoint?: string | undefined;
5555
- jwks_uri?: string | undefined;
5556
- discovery_url?: string | undefined;
5557
- from?: string | undefined;
5558
- twilio_sid?: string | undefined;
5559
- twilio_token?: string | undefined;
5533
+ provider?: string | undefined | undefined;
5534
+ issuer?: string | undefined | undefined;
5535
+ client_secret?: string | undefined | undefined;
5536
+ client_id?: string | undefined | undefined;
5537
+ scope?: string | undefined | undefined;
5538
+ kid?: string | undefined | undefined;
5539
+ team_id?: string | undefined | undefined;
5540
+ realms?: string | undefined | undefined;
5541
+ app_secret?: string | undefined | undefined;
5542
+ authorization_endpoint?: string | undefined | undefined;
5543
+ token_endpoint?: string | undefined | undefined;
5544
+ userinfo_endpoint?: string | undefined | undefined;
5545
+ jwks_uri?: string | undefined | undefined;
5546
+ discovery_url?: string | undefined | undefined;
5547
+ from?: string | undefined | undefined;
5548
+ twilio_sid?: string | undefined | undefined;
5549
+ twilio_token?: string | undefined | undefined;
5560
5550
  };
5561
5551
  created_at: string;
5562
5552
  updated_at: string;
5563
5553
  name: string;
5564
5554
  strategy: string;
5565
- id?: string | undefined;
5555
+ id?: string | undefined | undefined;
5566
5556
  response_type?: AuthorizationResponseType | undefined;
5567
5557
  response_mode?: AuthorizationResponseMode | undefined;
5568
- enabled_clients?: string[] | undefined;
5558
+ enabled_clients?: string[] | undefined | undefined;
5569
5559
  }[];
5570
5560
  };
5571
5561
  outputFormat: "json";
@@ -5586,32 +5576,32 @@ export declare function init(config: AuthHeroConfig): {
5586
5576
  };
5587
5577
  output: {
5588
5578
  options: {
5589
- provider?: string | undefined;
5590
- issuer?: string | undefined;
5591
- client_secret?: string | undefined;
5592
- client_id?: string | undefined;
5593
- scope?: string | undefined;
5594
- kid?: string | undefined;
5595
- team_id?: string | undefined;
5596
- realms?: string | undefined;
5597
- app_secret?: string | undefined;
5598
- authorization_endpoint?: string | undefined;
5599
- token_endpoint?: string | undefined;
5600
- userinfo_endpoint?: string | undefined;
5601
- jwks_uri?: string | undefined;
5602
- discovery_url?: string | undefined;
5603
- from?: string | undefined;
5604
- twilio_sid?: string | undefined;
5605
- twilio_token?: string | undefined;
5579
+ provider?: string | undefined | undefined;
5580
+ issuer?: string | undefined | undefined;
5581
+ client_secret?: string | undefined | undefined;
5582
+ client_id?: string | undefined | undefined;
5583
+ scope?: string | undefined | undefined;
5584
+ kid?: string | undefined | undefined;
5585
+ team_id?: string | undefined | undefined;
5586
+ realms?: string | undefined | undefined;
5587
+ app_secret?: string | undefined | undefined;
5588
+ authorization_endpoint?: string | undefined | undefined;
5589
+ token_endpoint?: string | undefined | undefined;
5590
+ userinfo_endpoint?: string | undefined | undefined;
5591
+ jwks_uri?: string | undefined | undefined;
5592
+ discovery_url?: string | undefined | undefined;
5593
+ from?: string | undefined | undefined;
5594
+ twilio_sid?: string | undefined | undefined;
5595
+ twilio_token?: string | undefined | undefined;
5606
5596
  };
5607
5597
  created_at: string;
5608
5598
  updated_at: string;
5609
5599
  name: string;
5610
5600
  strategy: string;
5611
- id?: string | undefined;
5601
+ id?: string | undefined | undefined;
5612
5602
  response_type?: AuthorizationResponseType | undefined;
5613
5603
  response_mode?: AuthorizationResponseMode | undefined;
5614
- enabled_clients?: string[] | undefined;
5604
+ enabled_clients?: string[] | undefined | undefined;
5615
5605
  };
5616
5606
  outputFormat: "json";
5617
5607
  status: 200;
@@ -5676,32 +5666,32 @@ export declare function init(config: AuthHeroConfig): {
5676
5666
  };
5677
5667
  output: {
5678
5668
  options: {
5679
- provider?: string | undefined;
5680
- issuer?: string | undefined;
5681
- client_secret?: string | undefined;
5682
- client_id?: string | undefined;
5683
- scope?: string | undefined;
5684
- kid?: string | undefined;
5685
- team_id?: string | undefined;
5686
- realms?: string | undefined;
5687
- app_secret?: string | undefined;
5688
- authorization_endpoint?: string | undefined;
5689
- token_endpoint?: string | undefined;
5690
- userinfo_endpoint?: string | undefined;
5691
- jwks_uri?: string | undefined;
5692
- discovery_url?: string | undefined;
5693
- from?: string | undefined;
5694
- twilio_sid?: string | undefined;
5695
- twilio_token?: string | undefined;
5669
+ provider?: string | undefined | undefined;
5670
+ issuer?: string | undefined | undefined;
5671
+ client_secret?: string | undefined | undefined;
5672
+ client_id?: string | undefined | undefined;
5673
+ scope?: string | undefined | undefined;
5674
+ kid?: string | undefined | undefined;
5675
+ team_id?: string | undefined | undefined;
5676
+ realms?: string | undefined | undefined;
5677
+ app_secret?: string | undefined | undefined;
5678
+ authorization_endpoint?: string | undefined | undefined;
5679
+ token_endpoint?: string | undefined | undefined;
5680
+ userinfo_endpoint?: string | undefined | undefined;
5681
+ jwks_uri?: string | undefined | undefined;
5682
+ discovery_url?: string | undefined | undefined;
5683
+ from?: string | undefined | undefined;
5684
+ twilio_sid?: string | undefined | undefined;
5685
+ twilio_token?: string | undefined | undefined;
5696
5686
  };
5697
5687
  created_at: string;
5698
5688
  updated_at: string;
5699
5689
  name: string;
5700
5690
  strategy: string;
5701
- id?: string | undefined;
5691
+ id?: string | undefined | undefined;
5702
5692
  response_type?: AuthorizationResponseType | undefined;
5703
5693
  response_mode?: AuthorizationResponseMode | undefined;
5704
- enabled_clients?: string[] | undefined;
5694
+ enabled_clients?: string[] | undefined | undefined;
5705
5695
  };
5706
5696
  outputFormat: "json";
5707
5697
  status: 200;
@@ -5745,32 +5735,32 @@ export declare function init(config: AuthHeroConfig): {
5745
5735
  };
5746
5736
  output: {
5747
5737
  options: {
5748
- provider?: string | undefined;
5749
- issuer?: string | undefined;
5750
- client_secret?: string | undefined;
5751
- client_id?: string | undefined;
5752
- scope?: string | undefined;
5753
- kid?: string | undefined;
5754
- team_id?: string | undefined;
5755
- realms?: string | undefined;
5756
- app_secret?: string | undefined;
5757
- authorization_endpoint?: string | undefined;
5758
- token_endpoint?: string | undefined;
5759
- userinfo_endpoint?: string | undefined;
5760
- jwks_uri?: string | undefined;
5761
- discovery_url?: string | undefined;
5762
- from?: string | undefined;
5763
- twilio_sid?: string | undefined;
5764
- twilio_token?: string | undefined;
5738
+ provider?: string | undefined | undefined;
5739
+ issuer?: string | undefined | undefined;
5740
+ client_secret?: string | undefined | undefined;
5741
+ client_id?: string | undefined | undefined;
5742
+ scope?: string | undefined | undefined;
5743
+ kid?: string | undefined | undefined;
5744
+ team_id?: string | undefined | undefined;
5745
+ realms?: string | undefined | undefined;
5746
+ app_secret?: string | undefined | undefined;
5747
+ authorization_endpoint?: string | undefined | undefined;
5748
+ token_endpoint?: string | undefined | undefined;
5749
+ userinfo_endpoint?: string | undefined | undefined;
5750
+ jwks_uri?: string | undefined | undefined;
5751
+ discovery_url?: string | undefined | undefined;
5752
+ from?: string | undefined | undefined;
5753
+ twilio_sid?: string | undefined | undefined;
5754
+ twilio_token?: string | undefined | undefined;
5765
5755
  };
5766
5756
  created_at: string;
5767
5757
  updated_at: string;
5768
5758
  name: string;
5769
5759
  strategy: string;
5770
- id?: string | undefined;
5760
+ id?: string | undefined | undefined;
5771
5761
  response_type?: AuthorizationResponseType | undefined;
5772
5762
  response_mode?: AuthorizationResponseMode | undefined;
5773
- enabled_clients?: string[] | undefined;
5763
+ enabled_clients?: string[] | undefined | undefined;
5774
5764
  };
5775
5765
  outputFormat: "json";
5776
5766
  status: 201;
@@ -5800,7 +5790,7 @@ export declare function init(config: AuthHeroConfig): {
5800
5790
  trigger_id: "pre-user-signup" | "post-user-registration" | "post-user-login";
5801
5791
  hook_id: string;
5802
5792
  synchronous: boolean;
5803
- priority?: number | undefined;
5793
+ priority?: number | undefined | undefined;
5804
5794
  }[] | {
5805
5795
  length: number;
5806
5796
  start: number;
@@ -5813,7 +5803,7 @@ export declare function init(config: AuthHeroConfig): {
5813
5803
  trigger_id: "pre-user-signup" | "post-user-registration" | "post-user-login";
5814
5804
  hook_id: string;
5815
5805
  synchronous: boolean;
5816
- priority?: number | undefined;
5806
+ priority?: number | undefined | undefined;
5817
5807
  }[];
5818
5808
  };
5819
5809
  outputFormat: "json";
@@ -5845,7 +5835,7 @@ export declare function init(config: AuthHeroConfig): {
5845
5835
  trigger_id: "pre-user-signup" | "post-user-registration" | "post-user-login";
5846
5836
  hook_id: string;
5847
5837
  synchronous: boolean;
5848
- priority?: number | undefined;
5838
+ priority?: number | undefined | undefined;
5849
5839
  };
5850
5840
  outputFormat: "json";
5851
5841
  status: 201;
@@ -5930,7 +5920,7 @@ export declare function init(config: AuthHeroConfig): {
5930
5920
  trigger_id: "pre-user-signup" | "post-user-registration" | "post-user-login";
5931
5921
  hook_id: string;
5932
5922
  synchronous: boolean;
5933
- priority?: number | undefined;
5923
+ priority?: number | undefined | undefined;
5934
5924
  };
5935
5925
  outputFormat: "json";
5936
5926
  status: 200;
@@ -5975,26 +5965,26 @@ export declare function init(config: AuthHeroConfig): {
5975
5965
  ip: string;
5976
5966
  user_agent: string;
5977
5967
  isMobile: boolean;
5978
- description?: string | undefined;
5979
- connection?: string | undefined;
5980
- user_id?: string | undefined;
5981
- audience?: string | undefined;
5982
- client_id?: string | undefined;
5983
- scope?: string[] | undefined;
5984
- strategy?: string | undefined;
5985
- connection_id?: string | undefined;
5986
- log_id?: string | undefined;
5987
- _id?: string | undefined;
5968
+ description?: string | undefined | undefined;
5969
+ connection?: string | undefined | undefined;
5970
+ user_id?: string | undefined | undefined;
5971
+ audience?: string | undefined | undefined;
5972
+ client_id?: string | undefined | undefined;
5973
+ scope?: string[] | undefined | undefined;
5974
+ strategy?: string | undefined | undefined;
5975
+ connection_id?: string | undefined | undefined;
5976
+ log_id?: string | undefined | undefined;
5977
+ _id?: string | undefined | undefined;
5988
5978
  details?: any;
5989
- user_name?: string | undefined;
5990
- client_name?: string | undefined;
5991
- strategy_type?: string | undefined;
5992
- hostname?: string | undefined;
5979
+ user_name?: string | undefined | undefined;
5980
+ client_name?: string | undefined | undefined;
5981
+ strategy_type?: string | undefined | undefined;
5982
+ hostname?: string | undefined | undefined;
5993
5983
  auth0_client?: {
5994
5984
  name: string;
5995
5985
  version: string;
5996
5986
  env?: {
5997
- node?: string | undefined;
5987
+ node?: string | undefined | undefined;
5998
5988
  } | undefined;
5999
5989
  } | undefined;
6000
5990
  }[] | {
@@ -6007,26 +5997,26 @@ export declare function init(config: AuthHeroConfig): {
6007
5997
  ip: string;
6008
5998
  user_agent: string;
6009
5999
  isMobile: boolean;
6010
- description?: string | undefined;
6011
- connection?: string | undefined;
6012
- user_id?: string | undefined;
6013
- audience?: string | undefined;
6014
- client_id?: string | undefined;
6015
- scope?: string[] | undefined;
6016
- strategy?: string | undefined;
6017
- connection_id?: string | undefined;
6018
- log_id?: string | undefined;
6019
- _id?: string | undefined;
6000
+ description?: string | undefined | undefined;
6001
+ connection?: string | undefined | undefined;
6002
+ user_id?: string | undefined | undefined;
6003
+ audience?: string | undefined | undefined;
6004
+ client_id?: string | undefined | undefined;
6005
+ scope?: string[] | undefined | undefined;
6006
+ strategy?: string | undefined | undefined;
6007
+ connection_id?: string | undefined | undefined;
6008
+ log_id?: string | undefined | undefined;
6009
+ _id?: string | undefined | undefined;
6020
6010
  details?: any;
6021
- user_name?: string | undefined;
6022
- client_name?: string | undefined;
6023
- strategy_type?: string | undefined;
6024
- hostname?: string | undefined;
6011
+ user_name?: string | undefined | undefined;
6012
+ client_name?: string | undefined | undefined;
6013
+ strategy_type?: string | undefined | undefined;
6014
+ hostname?: string | undefined | undefined;
6025
6015
  auth0_client?: {
6026
6016
  name: string;
6027
6017
  version: string;
6028
6018
  env?: {
6029
- node?: string | undefined;
6019
+ node?: string | undefined | undefined;
6030
6020
  } | undefined;
6031
6021
  } | undefined;
6032
6022
  }[];
@@ -6053,26 +6043,26 @@ export declare function init(config: AuthHeroConfig): {
6053
6043
  ip: string;
6054
6044
  user_agent: string;
6055
6045
  isMobile: boolean;
6056
- description?: string | undefined;
6057
- connection?: string | undefined;
6058
- user_id?: string | undefined;
6059
- audience?: string | undefined;
6060
- client_id?: string | undefined;
6061
- scope?: string[] | undefined;
6062
- strategy?: string | undefined;
6063
- connection_id?: string | undefined;
6064
- log_id?: string | undefined;
6065
- _id?: string | undefined;
6046
+ description?: string | undefined | undefined;
6047
+ connection?: string | undefined | undefined;
6048
+ user_id?: string | undefined | undefined;
6049
+ audience?: string | undefined | undefined;
6050
+ client_id?: string | undefined | undefined;
6051
+ scope?: string[] | undefined | undefined;
6052
+ strategy?: string | undefined | undefined;
6053
+ connection_id?: string | undefined | undefined;
6054
+ log_id?: string | undefined | undefined;
6055
+ _id?: string | undefined | undefined;
6066
6056
  details?: any;
6067
- user_name?: string | undefined;
6068
- client_name?: string | undefined;
6069
- strategy_type?: string | undefined;
6070
- hostname?: string | undefined;
6057
+ user_name?: string | undefined | undefined;
6058
+ client_name?: string | undefined | undefined;
6059
+ strategy_type?: string | undefined | undefined;
6060
+ hostname?: string | undefined | undefined;
6071
6061
  auth0_client?: {
6072
6062
  name: string;
6073
6063
  version: string;
6074
6064
  env?: {
6075
- node?: string | undefined;
6065
+ node?: string | undefined | undefined;
6076
6066
  } | undefined;
6077
6067
  } | undefined;
6078
6068
  };
@@ -6193,35 +6183,35 @@ export declare function init(config: AuthHeroConfig): {
6193
6183
  name: string;
6194
6184
  id: string;
6195
6185
  disable_sign_ups: boolean;
6196
- callbacks?: string[] | undefined;
6197
- allowed_origins?: string[] | undefined;
6198
- web_origins?: string[] | undefined;
6199
- allowed_logout_urls?: string[] | undefined;
6200
- allowed_clients?: string[] | undefined;
6186
+ callbacks?: string[] | undefined | undefined;
6187
+ allowed_origins?: string[] | undefined | undefined;
6188
+ web_origins?: string[] | undefined | undefined;
6189
+ allowed_logout_urls?: string[] | undefined | undefined;
6190
+ allowed_clients?: string[] | undefined | undefined;
6201
6191
  addons?: {
6202
6192
  samlp?: {
6203
- audience?: string | undefined;
6204
- recipient?: string | undefined;
6205
- createUpnClaim?: boolean | undefined;
6206
- mapUnknownClaimsAsIs?: boolean | undefined;
6207
- passthroughClaimsWithNoMapping?: boolean | undefined;
6208
- mapIdentities?: boolean | undefined;
6209
- signatureAlgorithm?: string | undefined;
6210
- digestAlgorithm?: string | undefined;
6211
- issuer?: string | undefined;
6212
- destination?: string | undefined;
6213
- lifetimeInSeconds?: number | undefined;
6214
- signResponse?: boolean | undefined;
6215
- nameIdentifierFormat?: string | undefined;
6216
- nameIdentifierProbes?: string[] | undefined;
6217
- authnContextClassRef?: string | undefined;
6193
+ audience?: string | undefined | undefined;
6194
+ recipient?: string | undefined | undefined;
6195
+ createUpnClaim?: boolean | undefined | undefined;
6196
+ mapUnknownClaimsAsIs?: boolean | undefined | undefined;
6197
+ passthroughClaimsWithNoMapping?: boolean | undefined | undefined;
6198
+ mapIdentities?: boolean | undefined | undefined;
6199
+ signatureAlgorithm?: string | undefined | undefined;
6200
+ digestAlgorithm?: string | undefined | undefined;
6201
+ issuer?: string | undefined | undefined;
6202
+ destination?: string | undefined | undefined;
6203
+ lifetimeInSeconds?: number | undefined | undefined;
6204
+ signResponse?: boolean | undefined | undefined;
6205
+ nameIdentifierFormat?: string | undefined | undefined;
6206
+ nameIdentifierProbes?: string[] | undefined | undefined;
6207
+ authnContextClassRef?: string | undefined | undefined;
6218
6208
  mappings?: {
6219
6209
  [x: string]: string;
6220
6210
  } | undefined;
6221
6211
  } | undefined;
6222
6212
  } | undefined;
6223
- email_validation?: "enabled" | "disabled" | "enforced" | undefined;
6224
- client_secret?: string | undefined;
6213
+ email_validation?: "enabled" | "disabled" | "enforced" | undefined | undefined;
6214
+ client_secret?: string | undefined | undefined;
6225
6215
  }[] | {
6226
6216
  length: number;
6227
6217
  start: number;
@@ -6232,35 +6222,35 @@ export declare function init(config: AuthHeroConfig): {
6232
6222
  name: string;
6233
6223
  id: string;
6234
6224
  disable_sign_ups: boolean;
6235
- callbacks?: string[] | undefined;
6236
- allowed_origins?: string[] | undefined;
6237
- web_origins?: string[] | undefined;
6238
- allowed_logout_urls?: string[] | undefined;
6239
- allowed_clients?: string[] | undefined;
6225
+ callbacks?: string[] | undefined | undefined;
6226
+ allowed_origins?: string[] | undefined | undefined;
6227
+ web_origins?: string[] | undefined | undefined;
6228
+ allowed_logout_urls?: string[] | undefined | undefined;
6229
+ allowed_clients?: string[] | undefined | undefined;
6240
6230
  addons?: {
6241
6231
  samlp?: {
6242
- audience?: string | undefined;
6243
- recipient?: string | undefined;
6244
- createUpnClaim?: boolean | undefined;
6245
- mapUnknownClaimsAsIs?: boolean | undefined;
6246
- passthroughClaimsWithNoMapping?: boolean | undefined;
6247
- mapIdentities?: boolean | undefined;
6248
- signatureAlgorithm?: string | undefined;
6249
- digestAlgorithm?: string | undefined;
6250
- issuer?: string | undefined;
6251
- destination?: string | undefined;
6252
- lifetimeInSeconds?: number | undefined;
6253
- signResponse?: boolean | undefined;
6254
- nameIdentifierFormat?: string | undefined;
6255
- nameIdentifierProbes?: string[] | undefined;
6256
- authnContextClassRef?: string | undefined;
6232
+ audience?: string | undefined | undefined;
6233
+ recipient?: string | undefined | undefined;
6234
+ createUpnClaim?: boolean | undefined | undefined;
6235
+ mapUnknownClaimsAsIs?: boolean | undefined | undefined;
6236
+ passthroughClaimsWithNoMapping?: boolean | undefined | undefined;
6237
+ mapIdentities?: boolean | undefined | undefined;
6238
+ signatureAlgorithm?: string | undefined | undefined;
6239
+ digestAlgorithm?: string | undefined | undefined;
6240
+ issuer?: string | undefined | undefined;
6241
+ destination?: string | undefined | undefined;
6242
+ lifetimeInSeconds?: number | undefined | undefined;
6243
+ signResponse?: boolean | undefined | undefined;
6244
+ nameIdentifierFormat?: string | undefined | undefined;
6245
+ nameIdentifierProbes?: string[] | undefined | undefined;
6246
+ authnContextClassRef?: string | undefined | undefined;
6257
6247
  mappings?: {
6258
6248
  [x: string]: string;
6259
6249
  } | undefined;
6260
6250
  } | undefined;
6261
6251
  } | undefined;
6262
- email_validation?: "enabled" | "disabled" | "enforced" | undefined;
6263
- client_secret?: string | undefined;
6252
+ email_validation?: "enabled" | "disabled" | "enforced" | undefined | undefined;
6253
+ client_secret?: string | undefined | undefined;
6264
6254
  }[];
6265
6255
  };
6266
6256
  outputFormat: "json";
@@ -6285,35 +6275,35 @@ export declare function init(config: AuthHeroConfig): {
6285
6275
  name: string;
6286
6276
  id: string;
6287
6277
  disable_sign_ups: boolean;
6288
- callbacks?: string[] | undefined;
6289
- allowed_origins?: string[] | undefined;
6290
- web_origins?: string[] | undefined;
6291
- allowed_logout_urls?: string[] | undefined;
6292
- allowed_clients?: string[] | undefined;
6278
+ callbacks?: string[] | undefined | undefined;
6279
+ allowed_origins?: string[] | undefined | undefined;
6280
+ web_origins?: string[] | undefined | undefined;
6281
+ allowed_logout_urls?: string[] | undefined | undefined;
6282
+ allowed_clients?: string[] | undefined | undefined;
6293
6283
  addons?: {
6294
6284
  samlp?: {
6295
- audience?: string | undefined;
6296
- recipient?: string | undefined;
6297
- createUpnClaim?: boolean | undefined;
6298
- mapUnknownClaimsAsIs?: boolean | undefined;
6299
- passthroughClaimsWithNoMapping?: boolean | undefined;
6300
- mapIdentities?: boolean | undefined;
6301
- signatureAlgorithm?: string | undefined;
6302
- digestAlgorithm?: string | undefined;
6303
- issuer?: string | undefined;
6304
- destination?: string | undefined;
6305
- lifetimeInSeconds?: number | undefined;
6306
- signResponse?: boolean | undefined;
6307
- nameIdentifierFormat?: string | undefined;
6308
- nameIdentifierProbes?: string[] | undefined;
6309
- authnContextClassRef?: string | undefined;
6285
+ audience?: string | undefined | undefined;
6286
+ recipient?: string | undefined | undefined;
6287
+ createUpnClaim?: boolean | undefined | undefined;
6288
+ mapUnknownClaimsAsIs?: boolean | undefined | undefined;
6289
+ passthroughClaimsWithNoMapping?: boolean | undefined | undefined;
6290
+ mapIdentities?: boolean | undefined | undefined;
6291
+ signatureAlgorithm?: string | undefined | undefined;
6292
+ digestAlgorithm?: string | undefined | undefined;
6293
+ issuer?: string | undefined | undefined;
6294
+ destination?: string | undefined | undefined;
6295
+ lifetimeInSeconds?: number | undefined | undefined;
6296
+ signResponse?: boolean | undefined | undefined;
6297
+ nameIdentifierFormat?: string | undefined | undefined;
6298
+ nameIdentifierProbes?: string[] | undefined | undefined;
6299
+ authnContextClassRef?: string | undefined | undefined;
6310
6300
  mappings?: {
6311
6301
  [x: string]: string;
6312
6302
  } | undefined;
6313
6303
  } | undefined;
6314
6304
  } | undefined;
6315
- email_validation?: "enabled" | "disabled" | "enforced" | undefined;
6316
- client_secret?: string | undefined;
6305
+ email_validation?: "enabled" | "disabled" | "enforced" | undefined | undefined;
6306
+ client_secret?: string | undefined | undefined;
6317
6307
  };
6318
6308
  outputFormat: "json";
6319
6309
  status: 200;
@@ -6387,35 +6377,35 @@ export declare function init(config: AuthHeroConfig): {
6387
6377
  name: string;
6388
6378
  id: string;
6389
6379
  disable_sign_ups: boolean;
6390
- callbacks?: string[] | undefined;
6391
- allowed_origins?: string[] | undefined;
6392
- web_origins?: string[] | undefined;
6393
- allowed_logout_urls?: string[] | undefined;
6394
- allowed_clients?: string[] | undefined;
6380
+ callbacks?: string[] | undefined | undefined;
6381
+ allowed_origins?: string[] | undefined | undefined;
6382
+ web_origins?: string[] | undefined | undefined;
6383
+ allowed_logout_urls?: string[] | undefined | undefined;
6384
+ allowed_clients?: string[] | undefined | undefined;
6395
6385
  addons?: {
6396
6386
  samlp?: {
6397
- audience?: string | undefined;
6398
- recipient?: string | undefined;
6399
- createUpnClaim?: boolean | undefined;
6400
- mapUnknownClaimsAsIs?: boolean | undefined;
6401
- passthroughClaimsWithNoMapping?: boolean | undefined;
6402
- mapIdentities?: boolean | undefined;
6403
- signatureAlgorithm?: string | undefined;
6404
- digestAlgorithm?: string | undefined;
6405
- issuer?: string | undefined;
6406
- destination?: string | undefined;
6407
- lifetimeInSeconds?: number | undefined;
6408
- signResponse?: boolean | undefined;
6409
- nameIdentifierFormat?: string | undefined;
6410
- nameIdentifierProbes?: string[] | undefined;
6411
- authnContextClassRef?: string | undefined;
6387
+ audience?: string | undefined | undefined;
6388
+ recipient?: string | undefined | undefined;
6389
+ createUpnClaim?: boolean | undefined | undefined;
6390
+ mapUnknownClaimsAsIs?: boolean | undefined | undefined;
6391
+ passthroughClaimsWithNoMapping?: boolean | undefined | undefined;
6392
+ mapIdentities?: boolean | undefined | undefined;
6393
+ signatureAlgorithm?: string | undefined | undefined;
6394
+ digestAlgorithm?: string | undefined | undefined;
6395
+ issuer?: string | undefined | undefined;
6396
+ destination?: string | undefined | undefined;
6397
+ lifetimeInSeconds?: number | undefined | undefined;
6398
+ signResponse?: boolean | undefined | undefined;
6399
+ nameIdentifierFormat?: string | undefined | undefined;
6400
+ nameIdentifierProbes?: string[] | undefined | undefined;
6401
+ authnContextClassRef?: string | undefined | undefined;
6412
6402
  mappings?: {
6413
6403
  [x: string]: string;
6414
6404
  } | undefined;
6415
6405
  } | undefined;
6416
6406
  } | undefined;
6417
- email_validation?: "enabled" | "disabled" | "enforced" | undefined;
6418
- client_secret?: string | undefined;
6407
+ email_validation?: "enabled" | "disabled" | "enforced" | undefined | undefined;
6408
+ client_secret?: string | undefined | undefined;
6419
6409
  };
6420
6410
  outputFormat: "json";
6421
6411
  status: 200;
@@ -6475,21 +6465,21 @@ export declare function init(config: AuthHeroConfig): {
6475
6465
  allowed_clients?: string[] | undefined;
6476
6466
  addons?: {
6477
6467
  samlp?: {
6478
- audience?: string | undefined;
6479
- recipient?: string | undefined;
6480
- createUpnClaim?: boolean | undefined;
6481
- mapUnknownClaimsAsIs?: boolean | undefined;
6482
- passthroughClaimsWithNoMapping?: boolean | undefined;
6483
- mapIdentities?: boolean | undefined;
6484
- signatureAlgorithm?: string | undefined;
6485
- digestAlgorithm?: string | undefined;
6486
- issuer?: string | undefined;
6487
- destination?: string | undefined;
6488
- lifetimeInSeconds?: number | undefined;
6489
- signResponse?: boolean | undefined;
6490
- nameIdentifierFormat?: string | undefined;
6491
- nameIdentifierProbes?: string[] | undefined;
6492
- authnContextClassRef?: string | undefined;
6468
+ audience?: string | undefined | undefined;
6469
+ recipient?: string | undefined | undefined;
6470
+ createUpnClaim?: boolean | undefined | undefined;
6471
+ mapUnknownClaimsAsIs?: boolean | undefined | undefined;
6472
+ passthroughClaimsWithNoMapping?: boolean | undefined | undefined;
6473
+ mapIdentities?: boolean | undefined | undefined;
6474
+ signatureAlgorithm?: string | undefined | undefined;
6475
+ digestAlgorithm?: string | undefined | undefined;
6476
+ issuer?: string | undefined | undefined;
6477
+ destination?: string | undefined | undefined;
6478
+ lifetimeInSeconds?: number | undefined | undefined;
6479
+ signResponse?: boolean | undefined | undefined;
6480
+ nameIdentifierFormat?: string | undefined | undefined;
6481
+ nameIdentifierProbes?: string[] | undefined | undefined;
6482
+ authnContextClassRef?: string | undefined | undefined;
6493
6483
  mappings?: {
6494
6484
  [x: string]: string;
6495
6485
  } | undefined;
@@ -6532,14 +6522,14 @@ export declare function init(config: AuthHeroConfig): {
6532
6522
  cert: string;
6533
6523
  fingerprint: string;
6534
6524
  thumbprint: string;
6535
- revoked_at?: string | undefined;
6536
- pkcs7?: string | undefined;
6537
- current?: boolean | undefined;
6538
- next?: boolean | undefined;
6539
- previous?: boolean | undefined;
6540
- current_since?: string | undefined;
6541
- current_until?: string | undefined;
6542
- revoked?: boolean | undefined;
6525
+ revoked_at?: string | undefined | undefined;
6526
+ pkcs7?: string | undefined | undefined;
6527
+ current?: boolean | undefined | undefined;
6528
+ next?: boolean | undefined | undefined;
6529
+ previous?: boolean | undefined | undefined;
6530
+ current_since?: string | undefined | undefined;
6531
+ current_until?: string | undefined | undefined;
6532
+ revoked?: boolean | undefined | undefined;
6543
6533
  }[];
6544
6534
  outputFormat: "json";
6545
6535
  status: 200;
@@ -6562,14 +6552,14 @@ export declare function init(config: AuthHeroConfig): {
6562
6552
  cert: string;
6563
6553
  fingerprint: string;
6564
6554
  thumbprint: string;
6565
- revoked_at?: string | undefined;
6566
- pkcs7?: string | undefined;
6567
- current?: boolean | undefined;
6568
- next?: boolean | undefined;
6569
- previous?: boolean | undefined;
6570
- current_since?: string | undefined;
6571
- current_until?: string | undefined;
6572
- revoked?: boolean | undefined;
6555
+ revoked_at?: string | undefined | undefined;
6556
+ pkcs7?: string | undefined | undefined;
6557
+ current?: boolean | undefined | undefined;
6558
+ next?: boolean | undefined | undefined;
6559
+ previous?: boolean | undefined | undefined;
6560
+ current_since?: string | undefined | undefined;
6561
+ current_until?: string | undefined | undefined;
6562
+ revoked?: boolean | undefined | undefined;
6573
6563
  };
6574
6564
  outputFormat: "json";
6575
6565
  status: 200;
@@ -6630,30 +6620,30 @@ export declare function init(config: AuthHeroConfig): {
6630
6620
  provider: string;
6631
6621
  is_social: boolean;
6632
6622
  login_count: number;
6633
- email?: string | undefined;
6634
- name?: string | undefined;
6635
- username?: string | undefined;
6636
- given_name?: string | undefined;
6637
- phone_number?: string | undefined;
6638
- family_name?: string | undefined;
6639
- profileData?: string | undefined;
6640
- nickname?: string | undefined;
6641
- picture?: string | undefined;
6642
- locale?: string | undefined;
6643
- linked_to?: string | undefined;
6623
+ email?: string | undefined | undefined;
6624
+ name?: string | undefined | undefined;
6625
+ username?: string | undefined | undefined;
6626
+ given_name?: string | undefined | undefined;
6627
+ phone_number?: string | undefined | undefined;
6628
+ family_name?: string | undefined | undefined;
6629
+ profileData?: string | undefined | undefined;
6630
+ nickname?: string | undefined | undefined;
6631
+ picture?: string | undefined | undefined;
6632
+ locale?: string | undefined | undefined;
6633
+ linked_to?: string | undefined | undefined;
6644
6634
  app_metadata?: any;
6645
6635
  user_metadata?: any;
6646
- verify_email?: boolean | undefined;
6647
- last_ip?: string | undefined;
6648
- last_login?: string | undefined;
6636
+ verify_email?: boolean | undefined | undefined;
6637
+ last_ip?: string | undefined | undefined;
6638
+ last_login?: string | undefined | undefined;
6649
6639
  identities?: {
6650
6640
  connection: string;
6651
6641
  user_id: string;
6652
6642
  provider: string;
6653
6643
  isSocial: boolean;
6654
- access_token?: string | undefined;
6655
- access_token_secret?: string | undefined;
6656
- refresh_token?: string | undefined;
6644
+ access_token?: string | undefined | undefined;
6645
+ access_token_secret?: string | undefined | undefined;
6646
+ refresh_token?: string | undefined | undefined;
6657
6647
  profileData?: {
6658
6648
  [x: string]: any;
6659
6649
  email?: string | undefined;
@@ -6679,30 +6669,30 @@ export declare function init(config: AuthHeroConfig): {
6679
6669
  provider: string;
6680
6670
  is_social: boolean;
6681
6671
  login_count: number;
6682
- email?: string | undefined;
6683
- name?: string | undefined;
6684
- username?: string | undefined;
6685
- given_name?: string | undefined;
6686
- phone_number?: string | undefined;
6687
- family_name?: string | undefined;
6688
- profileData?: string | undefined;
6689
- nickname?: string | undefined;
6690
- picture?: string | undefined;
6691
- locale?: string | undefined;
6692
- linked_to?: string | undefined;
6672
+ email?: string | undefined | undefined;
6673
+ name?: string | undefined | undefined;
6674
+ username?: string | undefined | undefined;
6675
+ given_name?: string | undefined | undefined;
6676
+ phone_number?: string | undefined | undefined;
6677
+ family_name?: string | undefined | undefined;
6678
+ profileData?: string | undefined | undefined;
6679
+ nickname?: string | undefined | undefined;
6680
+ picture?: string | undefined | undefined;
6681
+ locale?: string | undefined | undefined;
6682
+ linked_to?: string | undefined | undefined;
6693
6683
  app_metadata?: any;
6694
6684
  user_metadata?: any;
6695
- verify_email?: boolean | undefined;
6696
- last_ip?: string | undefined;
6697
- last_login?: string | undefined;
6685
+ verify_email?: boolean | undefined | undefined;
6686
+ last_ip?: string | undefined | undefined;
6687
+ last_login?: string | undefined | undefined;
6698
6688
  identities?: {
6699
6689
  connection: string;
6700
6690
  user_id: string;
6701
6691
  provider: string;
6702
6692
  isSocial: boolean;
6703
- access_token?: string | undefined;
6704
- access_token_secret?: string | undefined;
6705
- refresh_token?: string | undefined;
6693
+ access_token?: string | undefined | undefined;
6694
+ access_token_secret?: string | undefined | undefined;
6695
+ refresh_token?: string | undefined | undefined;
6706
6696
  profileData?: {
6707
6697
  [x: string]: any;
6708
6698
  email?: string | undefined;
@@ -6742,30 +6732,30 @@ export declare function init(config: AuthHeroConfig): {
6742
6732
  provider: string;
6743
6733
  is_social: boolean;
6744
6734
  login_count: number;
6745
- email?: string | undefined;
6746
- name?: string | undefined;
6747
- username?: string | undefined;
6748
- given_name?: string | undefined;
6749
- phone_number?: string | undefined;
6750
- family_name?: string | undefined;
6751
- profileData?: string | undefined;
6752
- nickname?: string | undefined;
6753
- picture?: string | undefined;
6754
- locale?: string | undefined;
6755
- linked_to?: string | undefined;
6735
+ email?: string | undefined | undefined;
6736
+ name?: string | undefined | undefined;
6737
+ username?: string | undefined | undefined;
6738
+ given_name?: string | undefined | undefined;
6739
+ phone_number?: string | undefined | undefined;
6740
+ family_name?: string | undefined | undefined;
6741
+ profileData?: string | undefined | undefined;
6742
+ nickname?: string | undefined | undefined;
6743
+ picture?: string | undefined | undefined;
6744
+ locale?: string | undefined | undefined;
6745
+ linked_to?: string | undefined | undefined;
6756
6746
  app_metadata?: any;
6757
6747
  user_metadata?: any;
6758
- verify_email?: boolean | undefined;
6759
- last_ip?: string | undefined;
6760
- last_login?: string | undefined;
6748
+ verify_email?: boolean | undefined | undefined;
6749
+ last_ip?: string | undefined | undefined;
6750
+ last_login?: string | undefined | undefined;
6761
6751
  identities?: {
6762
6752
  connection: string;
6763
6753
  user_id: string;
6764
6754
  provider: string;
6765
6755
  isSocial: boolean;
6766
- access_token?: string | undefined;
6767
- access_token_secret?: string | undefined;
6768
- refresh_token?: string | undefined;
6756
+ access_token?: string | undefined | undefined;
6757
+ access_token_secret?: string | undefined | undefined;
6758
+ refresh_token?: string | undefined | undefined;
6769
6759
  profileData?: {
6770
6760
  [x: string]: any;
6771
6761
  email?: string | undefined;
@@ -6841,30 +6831,30 @@ export declare function init(config: AuthHeroConfig): {
6841
6831
  provider: string;
6842
6832
  is_social: boolean;
6843
6833
  login_count: number;
6844
- email?: string | undefined;
6845
- name?: string | undefined;
6846
- username?: string | undefined;
6847
- given_name?: string | undefined;
6848
- phone_number?: string | undefined;
6849
- family_name?: string | undefined;
6850
- profileData?: string | undefined;
6851
- nickname?: string | undefined;
6852
- picture?: string | undefined;
6853
- locale?: string | undefined;
6854
- linked_to?: string | undefined;
6834
+ email?: string | undefined | undefined;
6835
+ name?: string | undefined | undefined;
6836
+ username?: string | undefined | undefined;
6837
+ given_name?: string | undefined | undefined;
6838
+ phone_number?: string | undefined | undefined;
6839
+ family_name?: string | undefined | undefined;
6840
+ profileData?: string | undefined | undefined;
6841
+ nickname?: string | undefined | undefined;
6842
+ picture?: string | undefined | undefined;
6843
+ locale?: string | undefined | undefined;
6844
+ linked_to?: string | undefined | undefined;
6855
6845
  app_metadata?: any;
6856
6846
  user_metadata?: any;
6857
- verify_email?: boolean | undefined;
6858
- last_ip?: string | undefined;
6859
- last_login?: string | undefined;
6847
+ verify_email?: boolean | undefined | undefined;
6848
+ last_ip?: string | undefined | undefined;
6849
+ last_login?: string | undefined | undefined;
6860
6850
  identities?: {
6861
6851
  connection: string;
6862
6852
  user_id: string;
6863
6853
  provider: string;
6864
6854
  isSocial: boolean;
6865
- access_token?: string | undefined;
6866
- access_token_secret?: string | undefined;
6867
- refresh_token?: string | undefined;
6855
+ access_token?: string | undefined | undefined;
6856
+ access_token_secret?: string | undefined | undefined;
6857
+ refresh_token?: string | undefined | undefined;
6868
6858
  profileData?: {
6869
6859
  [x: string]: any;
6870
6860
  email?: string | undefined;
@@ -6879,7 +6869,7 @@ export declare function init(config: AuthHeroConfig): {
6879
6869
  }[] | undefined;
6880
6870
  };
6881
6871
  outputFormat: "json";
6882
- status: 200;
6872
+ status: 201;
6883
6873
  };
6884
6874
  };
6885
6875
  } & {
@@ -6951,7 +6941,7 @@ export declare function init(config: AuthHeroConfig): {
6951
6941
  isSocial: boolean;
6952
6942
  }[];
6953
6943
  outputFormat: "json";
6954
- status: 200;
6944
+ status: 201;
6955
6945
  };
6956
6946
  };
6957
6947
  } & {
@@ -6977,30 +6967,30 @@ export declare function init(config: AuthHeroConfig): {
6977
6967
  provider: string;
6978
6968
  is_social: boolean;
6979
6969
  login_count: number;
6980
- email?: string | undefined;
6981
- name?: string | undefined;
6982
- username?: string | undefined;
6983
- given_name?: string | undefined;
6984
- phone_number?: string | undefined;
6985
- family_name?: string | undefined;
6986
- profileData?: string | undefined;
6987
- nickname?: string | undefined;
6988
- picture?: string | undefined;
6989
- locale?: string | undefined;
6990
- linked_to?: string | undefined;
6970
+ email?: string | undefined | undefined;
6971
+ name?: string | undefined | undefined;
6972
+ username?: string | undefined | undefined;
6973
+ given_name?: string | undefined | undefined;
6974
+ phone_number?: string | undefined | undefined;
6975
+ family_name?: string | undefined | undefined;
6976
+ profileData?: string | undefined | undefined;
6977
+ nickname?: string | undefined | undefined;
6978
+ picture?: string | undefined | undefined;
6979
+ locale?: string | undefined | undefined;
6980
+ linked_to?: string | undefined | undefined;
6991
6981
  app_metadata?: any;
6992
6982
  user_metadata?: any;
6993
- verify_email?: boolean | undefined;
6994
- last_ip?: string | undefined;
6995
- last_login?: string | undefined;
6983
+ verify_email?: boolean | undefined | undefined;
6984
+ last_ip?: string | undefined | undefined;
6985
+ last_login?: string | undefined | undefined;
6996
6986
  identities?: {
6997
6987
  connection: string;
6998
6988
  user_id: string;
6999
6989
  provider: string;
7000
6990
  isSocial: boolean;
7001
- access_token?: string | undefined;
7002
- access_token_secret?: string | undefined;
7003
- refresh_token?: string | undefined;
6991
+ access_token?: string | undefined | undefined;
6992
+ access_token_secret?: string | undefined | undefined;
6993
+ refresh_token?: string | undefined | undefined;
7004
6994
  profileData?: {
7005
6995
  [x: string]: any;
7006
6996
  email?: string | undefined;
@@ -7054,10 +7044,10 @@ export declare function init(config: AuthHeroConfig): {
7054
7044
  clients: string[];
7055
7045
  authenticated_at: string;
7056
7046
  last_interaction_at: string;
7057
- expires_at?: string | undefined;
7058
- used_at?: string | undefined;
7059
- revoked_at?: string | undefined;
7060
- idle_expires_at?: string | undefined;
7047
+ expires_at?: string | undefined | undefined;
7048
+ used_at?: string | undefined | undefined;
7049
+ revoked_at?: string | undefined | undefined;
7050
+ idle_expires_at?: string | undefined | undefined;
7061
7051
  }[] | {
7062
7052
  length: number;
7063
7053
  start: number;
@@ -7078,10 +7068,10 @@ export declare function init(config: AuthHeroConfig): {
7078
7068
  clients: string[];
7079
7069
  authenticated_at: string;
7080
7070
  last_interaction_at: string;
7081
- expires_at?: string | undefined;
7082
- used_at?: string | undefined;
7083
- revoked_at?: string | undefined;
7084
- idle_expires_at?: string | undefined;
7071
+ expires_at?: string | undefined | undefined;
7072
+ used_at?: string | undefined | undefined;
7073
+ revoked_at?: string | undefined | undefined;
7074
+ idle_expires_at?: string | undefined | undefined;
7085
7075
  }[];
7086
7076
  };
7087
7077
  outputFormat: "json";
@@ -7110,7 +7100,7 @@ export declare function init(config: AuthHeroConfig): {
7110
7100
  smtp_pass: string;
7111
7101
  } | {
7112
7102
  api_key: string;
7113
- domain?: string | undefined;
7103
+ domain?: string | undefined | undefined;
7114
7104
  } | {
7115
7105
  connectionString: string;
7116
7106
  } | {
@@ -7118,7 +7108,7 @@ export declare function init(config: AuthHeroConfig): {
7118
7108
  clientId: string;
7119
7109
  clientSecret: string;
7120
7110
  };
7121
- default_from_address?: string | undefined;
7111
+ default_from_address?: string | undefined | undefined;
7122
7112
  settings?: {} | undefined;
7123
7113
  };
7124
7114
  outputFormat: "json";
@@ -7225,13 +7215,13 @@ export declare function init(config: AuthHeroConfig): {
7225
7215
  primary: boolean;
7226
7216
  domain: string;
7227
7217
  custom_domain_id: string;
7228
- verification_method?: "txt" | undefined;
7229
- tls_policy?: string | undefined;
7230
- custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
7218
+ verification_method?: "txt" | undefined | undefined;
7219
+ tls_policy?: string | undefined | undefined;
7220
+ custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined | undefined;
7231
7221
  domain_metadata?: {
7232
7222
  [x: string]: string;
7233
7223
  } | undefined;
7234
- origin_domain_name?: string | undefined;
7224
+ origin_domain_name?: string | undefined | undefined;
7235
7225
  verification?: {
7236
7226
  methods: {
7237
7227
  name: "txt";
@@ -7262,13 +7252,13 @@ export declare function init(config: AuthHeroConfig): {
7262
7252
  primary: boolean;
7263
7253
  domain: string;
7264
7254
  custom_domain_id: string;
7265
- verification_method?: "txt" | undefined;
7266
- tls_policy?: string | undefined;
7267
- custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
7255
+ verification_method?: "txt" | undefined | undefined;
7256
+ tls_policy?: string | undefined | undefined;
7257
+ custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined | undefined;
7268
7258
  domain_metadata?: {
7269
7259
  [x: string]: string;
7270
7260
  } | undefined;
7271
- origin_domain_name?: string | undefined;
7261
+ origin_domain_name?: string | undefined | undefined;
7272
7262
  verification?: {
7273
7263
  methods: {
7274
7264
  name: "txt";
@@ -7336,13 +7326,13 @@ export declare function init(config: AuthHeroConfig): {
7336
7326
  primary: boolean;
7337
7327
  domain: string;
7338
7328
  custom_domain_id: string;
7339
- verification_method?: "txt" | undefined;
7340
- tls_policy?: string | undefined;
7341
- custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
7329
+ verification_method?: "txt" | undefined | undefined;
7330
+ tls_policy?: string | undefined | undefined;
7331
+ custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined | undefined;
7342
7332
  domain_metadata?: {
7343
7333
  [x: string]: string;
7344
7334
  } | undefined;
7345
- origin_domain_name?: string | undefined;
7335
+ origin_domain_name?: string | undefined | undefined;
7346
7336
  verification?: {
7347
7337
  methods: {
7348
7338
  name: "txt";
@@ -7379,13 +7369,13 @@ export declare function init(config: AuthHeroConfig): {
7379
7369
  primary: boolean;
7380
7370
  domain: string;
7381
7371
  custom_domain_id: string;
7382
- verification_method?: "txt" | undefined;
7383
- tls_policy?: string | undefined;
7384
- custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
7372
+ verification_method?: "txt" | undefined | undefined;
7373
+ tls_policy?: string | undefined | undefined;
7374
+ custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined | undefined;
7385
7375
  domain_metadata?: {
7386
7376
  [x: string]: string;
7387
7377
  } | undefined;
7388
- origin_domain_name?: string | undefined;
7378
+ origin_domain_name?: string | undefined | undefined;
7389
7379
  verification?: {
7390
7380
  methods: {
7391
7381
  name: "txt";
@@ -7416,13 +7406,13 @@ export declare function init(config: AuthHeroConfig): {
7416
7406
  primary: boolean;
7417
7407
  domain: string;
7418
7408
  custom_domain_id: string;
7419
- verification_method?: "txt" | undefined;
7420
- tls_policy?: string | undefined;
7421
- custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
7409
+ verification_method?: "txt" | undefined | undefined;
7410
+ tls_policy?: string | undefined | undefined;
7411
+ custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined | undefined;
7422
7412
  domain_metadata?: {
7423
7413
  [x: string]: string;
7424
7414
  } | undefined;
7425
- origin_domain_name?: string | undefined;
7415
+ origin_domain_name?: string | undefined | undefined;
7426
7416
  verification?: {
7427
7417
  methods: {
7428
7418
  name: "txt";
@@ -7447,14 +7437,14 @@ export declare function init(config: AuthHeroConfig): {
7447
7437
  colors?: {
7448
7438
  primary: string;
7449
7439
  page_background?: {
7450
- start?: string | undefined;
7451
- type?: string | undefined;
7452
- end?: string | undefined;
7453
- angle_deg?: number | undefined;
7440
+ start?: string | undefined | undefined;
7441
+ type?: string | undefined | undefined;
7442
+ end?: string | undefined | undefined;
7443
+ angle_deg?: number | undefined | undefined;
7454
7444
  } | undefined;
7455
7445
  } | undefined;
7456
- logo_url?: string | undefined;
7457
- favicon_url?: string | undefined;
7446
+ logo_url?: string | undefined | undefined;
7447
+ favicon_url?: string | undefined | undefined;
7458
7448
  font?: {
7459
7449
  url: string;
7460
7450
  } | undefined;
@@ -7777,10 +7767,10 @@ export declare function init(config: AuthHeroConfig): {
7777
7767
  access_token: string;
7778
7768
  token_type: string;
7779
7769
  expires_in: number;
7780
- refresh_token?: string | undefined;
7781
- state?: string | undefined;
7782
- scope?: string | undefined;
7783
- id_token?: string | undefined;
7770
+ refresh_token?: string | undefined | undefined;
7771
+ state?: string | undefined | undefined;
7772
+ scope?: string | undefined | undefined;
7773
+ id_token?: string | undefined | undefined;
7784
7774
  };
7785
7775
  outputFormat: "json";
7786
7776
  status: 200;
@@ -7797,9 +7787,9 @@ export declare function init(config: AuthHeroConfig): {
7797
7787
  e: string;
7798
7788
  kty: "RSA" | "EC" | "oct";
7799
7789
  n: string;
7800
- x5t?: string | undefined;
7801
- x5c?: string[] | undefined;
7802
- use?: "sig" | "enc" | undefined;
7790
+ x5t?: string | undefined | undefined;
7791
+ x5c?: string[] | undefined | undefined;
7792
+ use?: "sig" | "enc" | undefined | undefined;
7803
7793
  }[];
7804
7794
  };
7805
7795
  outputFormat: "json";