@authhero/adapter-interfaces 0.101.0 → 0.103.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.
@@ -2,18 +2,37 @@
2
2
 
3
3
  import { z } from '@hono/zod-openapi';
4
4
 
5
+ export declare const auth0QuerySchema: z.ZodObject<{
6
+ page: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodString>>, number, string | undefined>;
7
+ per_page: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodString>>, number, string | undefined>;
8
+ include_totals: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodString>>, boolean, string | undefined>;
9
+ sort: z.ZodOptional<z.ZodString>;
10
+ q: z.ZodOptional<z.ZodString>;
11
+ }, "strip", z.ZodTypeAny, {
12
+ page: number;
13
+ per_page: number;
14
+ include_totals: boolean;
15
+ sort?: string | undefined;
16
+ q?: string | undefined;
17
+ }, {
18
+ page?: string | undefined;
19
+ sort?: string | undefined;
20
+ per_page?: string | undefined;
21
+ include_totals?: string | undefined;
22
+ q?: string | undefined;
23
+ }>;
5
24
  export declare const totalsSchema: z.ZodObject<{
6
25
  start: z.ZodNumber;
7
26
  limit: z.ZodNumber;
8
27
  length: z.ZodNumber;
9
28
  }, "strip", z.ZodTypeAny, {
29
+ length: number;
10
30
  start: number;
11
31
  limit: number;
12
- length: number;
13
32
  }, {
33
+ length: number;
14
34
  start: number;
15
35
  limit: number;
16
- length: number;
17
36
  }>;
18
37
  export interface Totals {
19
38
  start: number;
@@ -87,13 +106,12 @@ export declare const userInsertSchema: z.ZodObject<{
87
106
  last_ip: z.ZodOptional<z.ZodString>;
88
107
  last_login: z.ZodOptional<z.ZodString>;
89
108
  user_id: z.ZodOptional<z.ZodString>;
90
- provider: z.ZodDefault<z.ZodString>;
91
- connection: z.ZodDefault<z.ZodString>;
109
+ provider: z.ZodOptional<z.ZodString>;
110
+ connection: z.ZodString;
92
111
  is_social: z.ZodOptional<z.ZodBoolean>;
93
112
  }, "strip", z.ZodTypeAny, {
94
113
  email_verified: boolean;
95
114
  connection: string;
96
- provider: string;
97
115
  email?: string | undefined;
98
116
  name?: string | undefined;
99
117
  username?: string | undefined;
@@ -101,6 +119,7 @@ export declare const userInsertSchema: z.ZodObject<{
101
119
  phone_number?: string | undefined;
102
120
  family_name?: string | undefined;
103
121
  user_id?: string | undefined;
122
+ provider?: string | undefined;
104
123
  profileData?: string | undefined;
105
124
  nickname?: string | undefined;
106
125
  picture?: string | undefined;
@@ -113,6 +132,7 @@ export declare const userInsertSchema: z.ZodObject<{
113
132
  last_login?: string | undefined;
114
133
  is_social?: boolean | undefined;
115
134
  }, {
135
+ connection: string;
116
136
  email?: string | undefined;
117
137
  email_verified?: boolean | undefined;
118
138
  name?: string | undefined;
@@ -120,7 +140,6 @@ export declare const userInsertSchema: z.ZodObject<{
120
140
  given_name?: string | undefined;
121
141
  phone_number?: string | undefined;
122
142
  family_name?: string | undefined;
123
- connection?: string | undefined;
124
143
  user_id?: string | undefined;
125
144
  provider?: string | undefined;
126
145
  profileData?: string | undefined;
@@ -138,6 +157,7 @@ export declare const userInsertSchema: z.ZodObject<{
138
157
  export type UserInsert = z.infer<typeof userInsertSchema>;
139
158
  export declare const userSchema: z.ZodObject<{
140
159
  user_id: z.ZodString;
160
+ provider: z.ZodString;
141
161
  is_social: z.ZodBoolean;
142
162
  email: z.ZodOptional<z.ZodString>;
143
163
  login_count: z.ZodDefault<z.ZodNumber>;
@@ -232,8 +252,7 @@ export declare const userSchema: z.ZodObject<{
232
252
  verify_email: z.ZodOptional<z.ZodBoolean>;
233
253
  last_ip: z.ZodOptional<z.ZodString>;
234
254
  last_login: z.ZodOptional<z.ZodString>;
235
- provider: z.ZodDefault<z.ZodString>;
236
- connection: z.ZodDefault<z.ZodString>;
255
+ connection: z.ZodString;
237
256
  }, "strip", z.ZodTypeAny, {
238
257
  created_at: string;
239
258
  updated_at: string;
@@ -281,7 +300,9 @@ export declare const userSchema: z.ZodObject<{
281
300
  }, {
282
301
  created_at: string;
283
302
  updated_at: string;
303
+ connection: string;
284
304
  user_id: string;
305
+ provider: string;
285
306
  is_social: boolean;
286
307
  email?: string | undefined;
287
308
  email_verified?: boolean | undefined;
@@ -290,8 +311,6 @@ export declare const userSchema: z.ZodObject<{
290
311
  given_name?: string | undefined;
291
312
  phone_number?: string | undefined;
292
313
  family_name?: string | undefined;
293
- connection?: string | undefined;
294
- provider?: string | undefined;
295
314
  profileData?: string | undefined;
296
315
  nickname?: string | undefined;
297
316
  picture?: string | undefined;
@@ -326,6 +345,7 @@ export declare const userSchema: z.ZodObject<{
326
345
  export type User = z.infer<typeof userSchema>;
327
346
  export declare const auth0UserResponseSchema: z.ZodObject<{
328
347
  user_id: z.ZodString;
348
+ provider: z.ZodString;
329
349
  is_social: z.ZodBoolean;
330
350
  email: z.ZodOptional<z.ZodString>;
331
351
  login_count: z.ZodDefault<z.ZodNumber>;
@@ -420,8 +440,7 @@ export declare const auth0UserResponseSchema: z.ZodObject<{
420
440
  verify_email: z.ZodOptional<z.ZodBoolean>;
421
441
  last_ip: z.ZodOptional<z.ZodString>;
422
442
  last_login: z.ZodOptional<z.ZodString>;
423
- provider: z.ZodDefault<z.ZodString>;
424
- connection: z.ZodDefault<z.ZodString>;
443
+ connection: z.ZodString;
425
444
  }, "strip", z.ZodTypeAny, {
426
445
  created_at: string;
427
446
  updated_at: string;
@@ -469,7 +488,9 @@ export declare const auth0UserResponseSchema: z.ZodObject<{
469
488
  }, {
470
489
  created_at: string;
471
490
  updated_at: string;
491
+ connection: string;
472
492
  user_id: string;
493
+ provider: string;
473
494
  is_social: boolean;
474
495
  email?: string | undefined;
475
496
  email_verified?: boolean | undefined;
@@ -478,8 +499,6 @@ export declare const auth0UserResponseSchema: z.ZodObject<{
478
499
  given_name?: string | undefined;
479
500
  phone_number?: string | undefined;
480
501
  family_name?: string | undefined;
481
- connection?: string | undefined;
482
- provider?: string | undefined;
483
502
  profileData?: string | undefined;
484
503
  nickname?: string | undefined;
485
504
  picture?: string | undefined;
@@ -8178,29 +8197,29 @@ export declare const brandingSchema: z.ZodObject<{
8178
8197
  end: z.ZodOptional<z.ZodString>;
8179
8198
  angle_deg: z.ZodOptional<z.ZodNumber>;
8180
8199
  }, "strip", z.ZodTypeAny, {
8181
- start?: string | undefined;
8182
8200
  type?: string | undefined;
8201
+ start?: string | undefined;
8183
8202
  end?: string | undefined;
8184
8203
  angle_deg?: number | undefined;
8185
8204
  }, {
8186
- start?: string | undefined;
8187
8205
  type?: string | undefined;
8206
+ start?: string | undefined;
8188
8207
  end?: string | undefined;
8189
8208
  angle_deg?: number | undefined;
8190
8209
  }>>;
8191
8210
  }, "strip", z.ZodTypeAny, {
8192
8211
  primary: string;
8193
8212
  page_background?: {
8194
- start?: string | undefined;
8195
8213
  type?: string | undefined;
8214
+ start?: string | undefined;
8196
8215
  end?: string | undefined;
8197
8216
  angle_deg?: number | undefined;
8198
8217
  } | undefined;
8199
8218
  }, {
8200
8219
  primary: string;
8201
8220
  page_background?: {
8202
- start?: string | undefined;
8203
8221
  type?: string | undefined;
8222
+ start?: string | undefined;
8204
8223
  end?: string | undefined;
8205
8224
  angle_deg?: number | undefined;
8206
8225
  } | undefined;
@@ -8219,8 +8238,8 @@ export declare const brandingSchema: z.ZodObject<{
8219
8238
  colors?: {
8220
8239
  primary: string;
8221
8240
  page_background?: {
8222
- start?: string | undefined;
8223
8241
  type?: string | undefined;
8242
+ start?: string | undefined;
8224
8243
  end?: string | undefined;
8225
8244
  angle_deg?: number | undefined;
8226
8245
  } | undefined;
@@ -8235,8 +8254,8 @@ export declare const brandingSchema: z.ZodObject<{
8235
8254
  colors?: {
8236
8255
  primary: string;
8237
8256
  page_background?: {
8238
- start?: string | undefined;
8239
8257
  type?: string | undefined;
8258
+ start?: string | undefined;
8240
8259
  end?: string | undefined;
8241
8260
  angle_deg?: number | undefined;
8242
8261
  } | undefined;
@@ -8693,6 +8712,7 @@ declare const LegacyClientSchema: z.ZodObject<{
8693
8712
  } & {
8694
8713
  id: z.ZodOptional<z.ZodString>;
8695
8714
  name: z.ZodString;
8715
+ display_name: z.ZodOptional<z.ZodString>;
8696
8716
  strategy: z.ZodString;
8697
8717
  options: z.ZodDefault<z.ZodObject<{
8698
8718
  kid: z.ZodOptional<z.ZodString>;
@@ -8713,6 +8733,7 @@ declare const LegacyClientSchema: z.ZodObject<{
8713
8733
  from: z.ZodOptional<z.ZodString>;
8714
8734
  twilio_sid: z.ZodOptional<z.ZodString>;
8715
8735
  twilio_token: z.ZodOptional<z.ZodString>;
8736
+ icon_url: z.ZodOptional<z.ZodString>;
8716
8737
  }, "strip", z.ZodTypeAny, {
8717
8738
  provider?: string | undefined;
8718
8739
  client_id?: string | undefined;
@@ -8732,6 +8753,7 @@ declare const LegacyClientSchema: z.ZodObject<{
8732
8753
  from?: string | undefined;
8733
8754
  twilio_sid?: string | undefined;
8734
8755
  twilio_token?: string | undefined;
8756
+ icon_url?: string | undefined;
8735
8757
  }, {
8736
8758
  provider?: string | undefined;
8737
8759
  client_id?: string | undefined;
@@ -8751,10 +8773,14 @@ declare const LegacyClientSchema: z.ZodObject<{
8751
8773
  from?: string | undefined;
8752
8774
  twilio_sid?: string | undefined;
8753
8775
  twilio_token?: string | undefined;
8776
+ icon_url?: string | undefined;
8754
8777
  }>>;
8755
8778
  enabled_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
8756
8779
  response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
8757
8780
  response_mode: z.ZodOptional<z.ZodType<AuthorizationResponseMode, z.ZodTypeDef, AuthorizationResponseMode>>;
8781
+ is_domain_connection: z.ZodOptional<z.ZodBoolean>;
8782
+ show_as_button: z.ZodOptional<z.ZodBoolean>;
8783
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
8758
8784
  }, "strip", z.ZodTypeAny, {
8759
8785
  options: {
8760
8786
  provider?: string | undefined;
@@ -8775,6 +8801,7 @@ declare const LegacyClientSchema: z.ZodObject<{
8775
8801
  from?: string | undefined;
8776
8802
  twilio_sid?: string | undefined;
8777
8803
  twilio_token?: string | undefined;
8804
+ icon_url?: string | undefined;
8778
8805
  };
8779
8806
  created_at: string;
8780
8807
  updated_at: string;
@@ -8783,7 +8810,11 @@ declare const LegacyClientSchema: z.ZodObject<{
8783
8810
  id?: string | undefined;
8784
8811
  response_type?: AuthorizationResponseType | undefined;
8785
8812
  response_mode?: AuthorizationResponseMode | undefined;
8813
+ display_name?: string | undefined;
8786
8814
  enabled_clients?: string[] | undefined;
8815
+ is_domain_connection?: boolean | undefined;
8816
+ show_as_button?: boolean | undefined;
8817
+ metadata?: Record<string, any> | undefined;
8787
8818
  }, {
8788
8819
  created_at: string;
8789
8820
  updated_at: string;
@@ -8808,11 +8839,16 @@ declare const LegacyClientSchema: z.ZodObject<{
8808
8839
  from?: string | undefined;
8809
8840
  twilio_sid?: string | undefined;
8810
8841
  twilio_token?: string | undefined;
8842
+ icon_url?: string | undefined;
8811
8843
  } | undefined;
8812
8844
  id?: string | undefined;
8813
8845
  response_type?: AuthorizationResponseType | undefined;
8814
8846
  response_mode?: AuthorizationResponseMode | undefined;
8847
+ display_name?: string | undefined;
8815
8848
  enabled_clients?: string[] | undefined;
8849
+ is_domain_connection?: boolean | undefined;
8850
+ show_as_button?: boolean | undefined;
8851
+ metadata?: Record<string, any> | undefined;
8816
8852
  }>, "many">;
8817
8853
  client_id: z.ZodString;
8818
8854
  name: z.ZodString;
@@ -9041,6 +9077,7 @@ declare const LegacyClientSchema: z.ZodObject<{
9041
9077
  from?: string | undefined;
9042
9078
  twilio_sid?: string | undefined;
9043
9079
  twilio_token?: string | undefined;
9080
+ icon_url?: string | undefined;
9044
9081
  };
9045
9082
  created_at: string;
9046
9083
  updated_at: string;
@@ -9049,7 +9086,11 @@ declare const LegacyClientSchema: z.ZodObject<{
9049
9086
  id?: string | undefined;
9050
9087
  response_type?: AuthorizationResponseType | undefined;
9051
9088
  response_mode?: AuthorizationResponseMode | undefined;
9089
+ display_name?: string | undefined;
9052
9090
  enabled_clients?: string[] | undefined;
9091
+ is_domain_connection?: boolean | undefined;
9092
+ show_as_button?: boolean | undefined;
9093
+ metadata?: Record<string, any> | undefined;
9053
9094
  }[];
9054
9095
  description?: string | undefined;
9055
9096
  refresh_token?: Record<string, any> | undefined;
@@ -9216,11 +9257,16 @@ declare const LegacyClientSchema: z.ZodObject<{
9216
9257
  from?: string | undefined;
9217
9258
  twilio_sid?: string | undefined;
9218
9259
  twilio_token?: string | undefined;
9260
+ icon_url?: string | undefined;
9219
9261
  } | undefined;
9220
9262
  id?: string | undefined;
9221
9263
  response_type?: AuthorizationResponseType | undefined;
9222
9264
  response_mode?: AuthorizationResponseMode | undefined;
9265
+ display_name?: string | undefined;
9223
9266
  enabled_clients?: string[] | undefined;
9267
+ is_domain_connection?: boolean | undefined;
9268
+ show_as_button?: boolean | undefined;
9269
+ metadata?: Record<string, any> | undefined;
9224
9270
  }[];
9225
9271
  description?: string | undefined;
9226
9272
  refresh_token?: Record<string, any> | undefined;
@@ -9407,6 +9453,7 @@ export declare const connectionOptionsSchema: z.ZodObject<{
9407
9453
  from: z.ZodOptional<z.ZodString>;
9408
9454
  twilio_sid: z.ZodOptional<z.ZodString>;
9409
9455
  twilio_token: z.ZodOptional<z.ZodString>;
9456
+ icon_url: z.ZodOptional<z.ZodString>;
9410
9457
  }, "strip", z.ZodTypeAny, {
9411
9458
  provider?: string | undefined;
9412
9459
  client_id?: string | undefined;
@@ -9426,6 +9473,7 @@ export declare const connectionOptionsSchema: z.ZodObject<{
9426
9473
  from?: string | undefined;
9427
9474
  twilio_sid?: string | undefined;
9428
9475
  twilio_token?: string | undefined;
9476
+ icon_url?: string | undefined;
9429
9477
  }, {
9430
9478
  provider?: string | undefined;
9431
9479
  client_id?: string | undefined;
@@ -9445,10 +9493,12 @@ export declare const connectionOptionsSchema: z.ZodObject<{
9445
9493
  from?: string | undefined;
9446
9494
  twilio_sid?: string | undefined;
9447
9495
  twilio_token?: string | undefined;
9496
+ icon_url?: string | undefined;
9448
9497
  }>;
9449
9498
  export declare const connectionInsertSchema: z.ZodObject<{
9450
9499
  id: z.ZodOptional<z.ZodString>;
9451
9500
  name: z.ZodString;
9501
+ display_name: z.ZodOptional<z.ZodString>;
9452
9502
  strategy: z.ZodString;
9453
9503
  options: z.ZodDefault<z.ZodObject<{
9454
9504
  kid: z.ZodOptional<z.ZodString>;
@@ -9469,6 +9519,7 @@ export declare const connectionInsertSchema: z.ZodObject<{
9469
9519
  from: z.ZodOptional<z.ZodString>;
9470
9520
  twilio_sid: z.ZodOptional<z.ZodString>;
9471
9521
  twilio_token: z.ZodOptional<z.ZodString>;
9522
+ icon_url: z.ZodOptional<z.ZodString>;
9472
9523
  }, "strip", z.ZodTypeAny, {
9473
9524
  provider?: string | undefined;
9474
9525
  client_id?: string | undefined;
@@ -9488,6 +9539,7 @@ export declare const connectionInsertSchema: z.ZodObject<{
9488
9539
  from?: string | undefined;
9489
9540
  twilio_sid?: string | undefined;
9490
9541
  twilio_token?: string | undefined;
9542
+ icon_url?: string | undefined;
9491
9543
  }, {
9492
9544
  provider?: string | undefined;
9493
9545
  client_id?: string | undefined;
@@ -9507,10 +9559,14 @@ export declare const connectionInsertSchema: z.ZodObject<{
9507
9559
  from?: string | undefined;
9508
9560
  twilio_sid?: string | undefined;
9509
9561
  twilio_token?: string | undefined;
9562
+ icon_url?: string | undefined;
9510
9563
  }>>;
9511
9564
  enabled_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
9512
9565
  response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
9513
9566
  response_mode: z.ZodOptional<z.ZodType<AuthorizationResponseMode, z.ZodTypeDef, AuthorizationResponseMode>>;
9567
+ is_domain_connection: z.ZodOptional<z.ZodBoolean>;
9568
+ show_as_button: z.ZodOptional<z.ZodBoolean>;
9569
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
9514
9570
  }, "strip", z.ZodTypeAny, {
9515
9571
  options: {
9516
9572
  provider?: string | undefined;
@@ -9531,13 +9587,18 @@ export declare const connectionInsertSchema: z.ZodObject<{
9531
9587
  from?: string | undefined;
9532
9588
  twilio_sid?: string | undefined;
9533
9589
  twilio_token?: string | undefined;
9590
+ icon_url?: string | undefined;
9534
9591
  };
9535
9592
  name: string;
9536
9593
  strategy: string;
9537
9594
  id?: string | undefined;
9538
9595
  response_type?: AuthorizationResponseType | undefined;
9539
9596
  response_mode?: AuthorizationResponseMode | undefined;
9597
+ display_name?: string | undefined;
9540
9598
  enabled_clients?: string[] | undefined;
9599
+ is_domain_connection?: boolean | undefined;
9600
+ show_as_button?: boolean | undefined;
9601
+ metadata?: Record<string, any> | undefined;
9541
9602
  }, {
9542
9603
  name: string;
9543
9604
  strategy: string;
@@ -9560,11 +9621,16 @@ export declare const connectionInsertSchema: z.ZodObject<{
9560
9621
  from?: string | undefined;
9561
9622
  twilio_sid?: string | undefined;
9562
9623
  twilio_token?: string | undefined;
9624
+ icon_url?: string | undefined;
9563
9625
  } | undefined;
9564
9626
  id?: string | undefined;
9565
9627
  response_type?: AuthorizationResponseType | undefined;
9566
9628
  response_mode?: AuthorizationResponseMode | undefined;
9629
+ display_name?: string | undefined;
9567
9630
  enabled_clients?: string[] | undefined;
9631
+ is_domain_connection?: boolean | undefined;
9632
+ show_as_button?: boolean | undefined;
9633
+ metadata?: Record<string, any> | undefined;
9568
9634
  }>;
9569
9635
  export type ConnectionInsert = z.infer<typeof connectionInsertSchema>;
9570
9636
  export declare const connectionSchema: z.ZodObject<{
@@ -9573,6 +9639,7 @@ export declare const connectionSchema: z.ZodObject<{
9573
9639
  } & {
9574
9640
  id: z.ZodOptional<z.ZodString>;
9575
9641
  name: z.ZodString;
9642
+ display_name: z.ZodOptional<z.ZodString>;
9576
9643
  strategy: z.ZodString;
9577
9644
  options: z.ZodDefault<z.ZodObject<{
9578
9645
  kid: z.ZodOptional<z.ZodString>;
@@ -9593,6 +9660,7 @@ export declare const connectionSchema: z.ZodObject<{
9593
9660
  from: z.ZodOptional<z.ZodString>;
9594
9661
  twilio_sid: z.ZodOptional<z.ZodString>;
9595
9662
  twilio_token: z.ZodOptional<z.ZodString>;
9663
+ icon_url: z.ZodOptional<z.ZodString>;
9596
9664
  }, "strip", z.ZodTypeAny, {
9597
9665
  provider?: string | undefined;
9598
9666
  client_id?: string | undefined;
@@ -9612,6 +9680,7 @@ export declare const connectionSchema: z.ZodObject<{
9612
9680
  from?: string | undefined;
9613
9681
  twilio_sid?: string | undefined;
9614
9682
  twilio_token?: string | undefined;
9683
+ icon_url?: string | undefined;
9615
9684
  }, {
9616
9685
  provider?: string | undefined;
9617
9686
  client_id?: string | undefined;
@@ -9631,10 +9700,14 @@ export declare const connectionSchema: z.ZodObject<{
9631
9700
  from?: string | undefined;
9632
9701
  twilio_sid?: string | undefined;
9633
9702
  twilio_token?: string | undefined;
9703
+ icon_url?: string | undefined;
9634
9704
  }>>;
9635
9705
  enabled_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
9636
9706
  response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
9637
9707
  response_mode: z.ZodOptional<z.ZodType<AuthorizationResponseMode, z.ZodTypeDef, AuthorizationResponseMode>>;
9708
+ is_domain_connection: z.ZodOptional<z.ZodBoolean>;
9709
+ show_as_button: z.ZodOptional<z.ZodBoolean>;
9710
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
9638
9711
  }, "strip", z.ZodTypeAny, {
9639
9712
  options: {
9640
9713
  provider?: string | undefined;
@@ -9655,6 +9728,7 @@ export declare const connectionSchema: z.ZodObject<{
9655
9728
  from?: string | undefined;
9656
9729
  twilio_sid?: string | undefined;
9657
9730
  twilio_token?: string | undefined;
9731
+ icon_url?: string | undefined;
9658
9732
  };
9659
9733
  created_at: string;
9660
9734
  updated_at: string;
@@ -9663,7 +9737,11 @@ export declare const connectionSchema: z.ZodObject<{
9663
9737
  id?: string | undefined;
9664
9738
  response_type?: AuthorizationResponseType | undefined;
9665
9739
  response_mode?: AuthorizationResponseMode | undefined;
9740
+ display_name?: string | undefined;
9666
9741
  enabled_clients?: string[] | undefined;
9742
+ is_domain_connection?: boolean | undefined;
9743
+ show_as_button?: boolean | undefined;
9744
+ metadata?: Record<string, any> | undefined;
9667
9745
  }, {
9668
9746
  created_at: string;
9669
9747
  updated_at: string;
@@ -9688,11 +9766,16 @@ export declare const connectionSchema: z.ZodObject<{
9688
9766
  from?: string | undefined;
9689
9767
  twilio_sid?: string | undefined;
9690
9768
  twilio_token?: string | undefined;
9769
+ icon_url?: string | undefined;
9691
9770
  } | undefined;
9692
9771
  id?: string | undefined;
9693
9772
  response_type?: AuthorizationResponseType | undefined;
9694
9773
  response_mode?: AuthorizationResponseMode | undefined;
9774
+ display_name?: string | undefined;
9695
9775
  enabled_clients?: string[] | undefined;
9776
+ is_domain_connection?: boolean | undefined;
9777
+ show_as_button?: boolean | undefined;
9778
+ metadata?: Record<string, any> | undefined;
9696
9779
  }>;
9697
9780
  export type Connection = z.infer<typeof connectionSchema>;
9698
9781
  export declare const customDomainInsertSchema: z.ZodObject<{
@@ -12790,8 +12873,6 @@ export declare const Auth0Client: z.ZodObject<{
12790
12873
  }>;
12791
12874
  export declare const LocationInfo: z.ZodObject<{
12792
12875
  country_code: z.ZodString;
12793
- country_code3: z.ZodString;
12794
- country_name: z.ZodString;
12795
12876
  city_name: z.ZodString;
12796
12877
  latitude: z.ZodString;
12797
12878
  longitude: z.ZodString;
@@ -12799,8 +12880,6 @@ export declare const LocationInfo: z.ZodObject<{
12799
12880
  continent_code: z.ZodString;
12800
12881
  }, "strip", z.ZodTypeAny, {
12801
12882
  country_code: string;
12802
- country_code3: string;
12803
- country_name: string;
12804
12883
  city_name: string;
12805
12884
  latitude: string;
12806
12885
  longitude: string;
@@ -12808,8 +12887,6 @@ export declare const LocationInfo: z.ZodObject<{
12808
12887
  continent_code: string;
12809
12888
  }, {
12810
12889
  country_code: string;
12811
- country_code3: string;
12812
- country_name: string;
12813
12890
  city_name: string;
12814
12891
  latitude: string;
12815
12892
  longitude: string;
@@ -12861,8 +12938,6 @@ export declare const logInsertSchema: z.ZodObject<{
12861
12938
  log_id: z.ZodOptional<z.ZodString>;
12862
12939
  location_info: z.ZodOptional<z.ZodObject<{
12863
12940
  country_code: z.ZodString;
12864
- country_code3: z.ZodString;
12865
- country_name: z.ZodString;
12866
12941
  city_name: z.ZodString;
12867
12942
  latitude: z.ZodString;
12868
12943
  longitude: z.ZodString;
@@ -12870,8 +12945,6 @@ export declare const logInsertSchema: z.ZodObject<{
12870
12945
  continent_code: z.ZodString;
12871
12946
  }, "strip", z.ZodTypeAny, {
12872
12947
  country_code: string;
12873
- country_code3: string;
12874
- country_name: string;
12875
12948
  city_name: string;
12876
12949
  latitude: string;
12877
12950
  longitude: string;
@@ -12879,8 +12952,6 @@ export declare const logInsertSchema: z.ZodObject<{
12879
12952
  continent_code: string;
12880
12953
  }, {
12881
12954
  country_code: string;
12882
- country_code3: string;
12883
- country_name: string;
12884
12955
  city_name: string;
12885
12956
  latitude: string;
12886
12957
  longitude: string;
@@ -12916,8 +12987,6 @@ export declare const logInsertSchema: z.ZodObject<{
12916
12987
  log_id?: string | undefined;
12917
12988
  location_info?: {
12918
12989
  country_code: string;
12919
- country_code3: string;
12920
- country_name: string;
12921
12990
  city_name: string;
12922
12991
  latitude: string;
12923
12992
  longitude: string;
@@ -12953,8 +13022,6 @@ export declare const logInsertSchema: z.ZodObject<{
12953
13022
  log_id?: string | undefined;
12954
13023
  location_info?: {
12955
13024
  country_code: string;
12956
- country_code3: string;
12957
- country_name: string;
12958
13025
  city_name: string;
12959
13026
  latitude: string;
12960
13027
  longitude: string;
@@ -13008,8 +13075,6 @@ export declare const logSchema: z.ZodObject<{
13008
13075
  }>>;
13009
13076
  location_info: z.ZodOptional<z.ZodObject<{
13010
13077
  country_code: z.ZodString;
13011
- country_code3: z.ZodString;
13012
- country_name: z.ZodString;
13013
13078
  city_name: z.ZodString;
13014
13079
  latitude: z.ZodString;
13015
13080
  longitude: z.ZodString;
@@ -13017,8 +13082,6 @@ export declare const logSchema: z.ZodObject<{
13017
13082
  continent_code: z.ZodString;
13018
13083
  }, "strip", z.ZodTypeAny, {
13019
13084
  country_code: string;
13020
- country_code3: string;
13021
- country_name: string;
13022
13085
  city_name: string;
13023
13086
  latitude: string;
13024
13087
  longitude: string;
@@ -13026,8 +13089,6 @@ export declare const logSchema: z.ZodObject<{
13026
13089
  continent_code: string;
13027
13090
  }, {
13028
13091
  country_code: string;
13029
- country_code3: string;
13030
- country_name: string;
13031
13092
  city_name: string;
13032
13093
  latitude: string;
13033
13094
  longitude: string;
@@ -13063,8 +13124,6 @@ export declare const logSchema: z.ZodObject<{
13063
13124
  } | undefined;
13064
13125
  location_info?: {
13065
13126
  country_code: string;
13066
- country_code3: string;
13067
- country_name: string;
13068
13127
  city_name: string;
13069
13128
  latitude: string;
13070
13129
  longitude: string;
@@ -13100,8 +13159,6 @@ export declare const logSchema: z.ZodObject<{
13100
13159
  } | undefined;
13101
13160
  location_info?: {
13102
13161
  country_code: string;
13103
- country_code3: string;
13104
- country_name: string;
13105
13162
  city_name: string;
13106
13163
  latitude: string;
13107
13164
  longitude: string;
@@ -16451,14 +16508,14 @@ export declare const organizationEnabledConnectionSchema: z.ZodObject<{
16451
16508
  show_as_button: z.ZodDefault<z.ZodBoolean>;
16452
16509
  is_signup_enabled: z.ZodDefault<z.ZodBoolean>;
16453
16510
  }, "strip", z.ZodTypeAny, {
16511
+ show_as_button: boolean;
16454
16512
  connection_id: string;
16455
16513
  assign_membership_on_login: boolean;
16456
- show_as_button: boolean;
16457
16514
  is_signup_enabled: boolean;
16458
16515
  }, {
16459
16516
  connection_id: string;
16460
- assign_membership_on_login?: boolean | undefined;
16461
16517
  show_as_button?: boolean | undefined;
16518
+ assign_membership_on_login?: boolean | undefined;
16462
16519
  is_signup_enabled?: boolean | undefined;
16463
16520
  }>;
16464
16521
  export declare const organizationTokenQuotaSchema: z.ZodOptional<z.ZodObject<{
@@ -16524,14 +16581,14 @@ export declare const organizationInsertSchema: z.ZodObject<{
16524
16581
  show_as_button: z.ZodDefault<z.ZodBoolean>;
16525
16582
  is_signup_enabled: z.ZodDefault<z.ZodBoolean>;
16526
16583
  }, "strip", z.ZodTypeAny, {
16584
+ show_as_button: boolean;
16527
16585
  connection_id: string;
16528
16586
  assign_membership_on_login: boolean;
16529
- show_as_button: boolean;
16530
16587
  is_signup_enabled: boolean;
16531
16588
  }, {
16532
16589
  connection_id: string;
16533
- assign_membership_on_login?: boolean | undefined;
16534
16590
  show_as_button?: boolean | undefined;
16591
+ assign_membership_on_login?: boolean | undefined;
16535
16592
  is_signup_enabled?: boolean | undefined;
16536
16593
  }>, "many">>>;
16537
16594
  token_quota: z.ZodOptional<z.ZodObject<{
@@ -16572,6 +16629,7 @@ export declare const organizationInsertSchema: z.ZodObject<{
16572
16629
  } | undefined;
16573
16630
  id?: string | undefined;
16574
16631
  display_name?: string | undefined;
16632
+ metadata?: Record<string, any> | undefined;
16575
16633
  branding?: {
16576
16634
  colors?: {
16577
16635
  primary?: string | undefined;
@@ -16579,11 +16637,10 @@ export declare const organizationInsertSchema: z.ZodObject<{
16579
16637
  } | undefined;
16580
16638
  logo_url?: string | undefined;
16581
16639
  } | undefined;
16582
- metadata?: Record<string, any> | undefined;
16583
16640
  enabled_connections?: {
16641
+ show_as_button: boolean;
16584
16642
  connection_id: string;
16585
16643
  assign_membership_on_login: boolean;
16586
- show_as_button: boolean;
16587
16644
  is_signup_enabled: boolean;
16588
16645
  }[] | undefined;
16589
16646
  }, {
@@ -16597,6 +16654,7 @@ export declare const organizationInsertSchema: z.ZodObject<{
16597
16654
  } | undefined;
16598
16655
  id?: string | undefined;
16599
16656
  display_name?: string | undefined;
16657
+ metadata?: Record<string, any> | undefined;
16600
16658
  branding?: {
16601
16659
  colors?: {
16602
16660
  primary?: string | undefined;
@@ -16604,11 +16662,10 @@ export declare const organizationInsertSchema: z.ZodObject<{
16604
16662
  } | undefined;
16605
16663
  logo_url?: string | undefined;
16606
16664
  } | undefined;
16607
- metadata?: Record<string, any> | undefined;
16608
16665
  enabled_connections?: {
16609
16666
  connection_id: string;
16610
- assign_membership_on_login?: boolean | undefined;
16611
16667
  show_as_button?: boolean | undefined;
16668
+ assign_membership_on_login?: boolean | undefined;
16612
16669
  is_signup_enabled?: boolean | undefined;
16613
16670
  }[] | undefined;
16614
16671
  }>;
@@ -16651,14 +16708,14 @@ export declare const organizationSchema: z.ZodObject<{
16651
16708
  show_as_button: z.ZodDefault<z.ZodBoolean>;
16652
16709
  is_signup_enabled: z.ZodDefault<z.ZodBoolean>;
16653
16710
  }, "strip", z.ZodTypeAny, {
16711
+ show_as_button: boolean;
16654
16712
  connection_id: string;
16655
16713
  assign_membership_on_login: boolean;
16656
- show_as_button: boolean;
16657
16714
  is_signup_enabled: boolean;
16658
16715
  }, {
16659
16716
  connection_id: string;
16660
- assign_membership_on_login?: boolean | undefined;
16661
16717
  show_as_button?: boolean | undefined;
16718
+ assign_membership_on_login?: boolean | undefined;
16662
16719
  is_signup_enabled?: boolean | undefined;
16663
16720
  }>, "many">>>;
16664
16721
  token_quota: z.ZodOptional<z.ZodObject<{
@@ -16701,6 +16758,7 @@ export declare const organizationSchema: z.ZodObject<{
16701
16758
  } | undefined;
16702
16759
  } | undefined;
16703
16760
  display_name?: string | undefined;
16761
+ metadata?: Record<string, any> | undefined;
16704
16762
  branding?: {
16705
16763
  colors?: {
16706
16764
  primary?: string | undefined;
@@ -16708,11 +16766,10 @@ export declare const organizationSchema: z.ZodObject<{
16708
16766
  } | undefined;
16709
16767
  logo_url?: string | undefined;
16710
16768
  } | undefined;
16711
- metadata?: Record<string, any> | undefined;
16712
16769
  enabled_connections?: {
16770
+ show_as_button: boolean;
16713
16771
  connection_id: string;
16714
16772
  assign_membership_on_login: boolean;
16715
- show_as_button: boolean;
16716
16773
  is_signup_enabled: boolean;
16717
16774
  }[] | undefined;
16718
16775
  }, {
@@ -16728,6 +16785,7 @@ export declare const organizationSchema: z.ZodObject<{
16728
16785
  } | undefined;
16729
16786
  } | undefined;
16730
16787
  display_name?: string | undefined;
16788
+ metadata?: Record<string, any> | undefined;
16731
16789
  branding?: {
16732
16790
  colors?: {
16733
16791
  primary?: string | undefined;
@@ -16735,11 +16793,10 @@ export declare const organizationSchema: z.ZodObject<{
16735
16793
  } | undefined;
16736
16794
  logo_url?: string | undefined;
16737
16795
  } | undefined;
16738
- metadata?: Record<string, any> | undefined;
16739
16796
  enabled_connections?: {
16740
16797
  connection_id: string;
16741
- assign_membership_on_login?: boolean | undefined;
16742
16798
  show_as_button?: boolean | undefined;
16799
+ assign_membership_on_login?: boolean | undefined;
16743
16800
  is_signup_enabled?: boolean | undefined;
16744
16801
  }[] | undefined;
16745
16802
  }>;
@@ -17308,8 +17365,6 @@ export interface InvitesAdapter {
17308
17365
  }
17309
17366
  export interface GeoInfo {
17310
17367
  country_code: string;
17311
- country_code3: string;
17312
- country_name: string;
17313
17368
  city_name: string;
17314
17369
  latitude: string;
17315
17370
  longitude: string;
@@ -17318,10 +17373,11 @@ export interface GeoInfo {
17318
17373
  }
17319
17374
  export interface GeoAdapter {
17320
17375
  /**
17321
- * Get geo information from the current request
17376
+ * Get geo information from request headers
17377
+ * @param headers - Record of HTTP headers (lowercase keys)
17322
17378
  * @returns Geo information or null if not available
17323
17379
  */
17324
- getGeoInfo(): Promise<GeoInfo | null>;
17380
+ getGeoInfo(headers: Record<string, string>): Promise<GeoInfo | null>;
17325
17381
  }
17326
17382
  export interface DataAdapters {
17327
17383
  branding: BrandingAdapter;