@faable/auth-sdk 1.3.10 → 1.3.12

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.
@@ -22,9 +22,13 @@ export declare class FaableAuthApi extends FaableApi {
22
22
  icon_src?: string | null | undefined;
23
23
  callback_hostnames: string[];
24
24
  token_signature: string;
25
+ token_signing_alg: "RS256";
25
26
  default_connection?: unknown;
26
27
  enabled_locales: string[];
27
28
  team?: string | null | undefined;
29
+ notification_settings: {
30
+ welcome_email_enabled: boolean;
31
+ };
28
32
  createdAt: string;
29
33
  updatedAt?: string | undefined;
30
34
  }>;
@@ -37,14 +41,27 @@ export declare class FaableAuthApi extends FaableApi {
37
41
  username?: string | null | undefined;
38
42
  given_name?: string | null | undefined;
39
43
  family_name?: string | null | undefined;
44
+ middle_name?: string | null | undefined;
45
+ nickname?: string | null | undefined;
40
46
  email?: string | null | undefined;
41
47
  email_verified: boolean;
42
48
  phone?: string | null | undefined;
43
49
  phone_verified: boolean;
44
50
  country_iso?: string | null | undefined;
45
51
  birth_date?: string | null | undefined;
52
+ gender?: string | null | undefined;
53
+ zoneinfo?: string | null | undefined;
46
54
  locale?: string | undefined;
47
55
  region?: string | null | undefined;
56
+ website?: string | null | undefined;
57
+ address?: {
58
+ formatted?: string | null | undefined;
59
+ street_address?: string | null | undefined;
60
+ locality?: string | null | undefined;
61
+ region?: string | null | undefined;
62
+ postal_code?: string | null | undefined;
63
+ country?: string | null | undefined;
64
+ } | null | undefined;
48
65
  picture?: string | null | undefined;
49
66
  logins_count: number;
50
67
  last_ip?: string | null | undefined;
@@ -68,14 +85,27 @@ export declare class FaableAuthApi extends FaableApi {
68
85
  username?: string | null | undefined;
69
86
  given_name?: string | null | undefined;
70
87
  family_name?: string | null | undefined;
88
+ middle_name?: string | null | undefined;
89
+ nickname?: string | null | undefined;
71
90
  email?: string | null | undefined;
72
91
  email_verified: boolean;
73
92
  phone?: string | null | undefined;
74
93
  phone_verified: boolean;
75
94
  country_iso?: string | null | undefined;
76
95
  birth_date?: string | null | undefined;
96
+ gender?: string | null | undefined;
97
+ zoneinfo?: string | null | undefined;
77
98
  locale?: string | undefined;
78
99
  region?: string | null | undefined;
100
+ website?: string | null | undefined;
101
+ address?: {
102
+ formatted?: string | null | undefined;
103
+ street_address?: string | null | undefined;
104
+ locality?: string | null | undefined;
105
+ region?: string | null | undefined;
106
+ postal_code?: string | null | undefined;
107
+ country?: string | null | undefined;
108
+ } | null | undefined;
79
109
  picture?: string | null | undefined;
80
110
  logins_count: number;
81
111
  last_ip?: string | null | undefined;
@@ -102,14 +132,27 @@ export declare class FaableAuthApi extends FaableApi {
102
132
  username?: string | null | undefined;
103
133
  given_name?: string | null | undefined;
104
134
  family_name?: string | null | undefined;
135
+ middle_name?: string | null | undefined;
136
+ nickname?: string | null | undefined;
105
137
  email?: string | null | undefined;
106
138
  email_verified: boolean;
107
139
  phone?: string | null | undefined;
108
140
  phone_verified: boolean;
109
141
  country_iso?: string | null | undefined;
110
142
  birth_date?: string | null | undefined;
143
+ gender?: string | null | undefined;
144
+ zoneinfo?: string | null | undefined;
111
145
  locale?: string | undefined;
112
146
  region?: string | null | undefined;
147
+ website?: string | null | undefined;
148
+ address?: {
149
+ formatted?: string | null | undefined;
150
+ street_address?: string | null | undefined;
151
+ locality?: string | null | undefined;
152
+ region?: string | null | undefined;
153
+ postal_code?: string | null | undefined;
154
+ country?: string | null | undefined;
155
+ } | null | undefined;
113
156
  picture?: string | null | undefined;
114
157
  logins_count: number;
115
158
  last_ip?: string | null | undefined;
@@ -134,14 +177,27 @@ export declare class FaableAuthApi extends FaableApi {
134
177
  username?: string | null | undefined;
135
178
  given_name?: string | null | undefined;
136
179
  family_name?: string | null | undefined;
180
+ middle_name?: string | null | undefined;
181
+ nickname?: string | null | undefined;
137
182
  email?: string | null | undefined;
138
183
  email_verified: boolean;
139
184
  phone?: string | null | undefined;
140
185
  phone_verified: boolean;
141
186
  country_iso?: string | null | undefined;
142
187
  birth_date?: string | null | undefined;
188
+ gender?: string | null | undefined;
189
+ zoneinfo?: string | null | undefined;
143
190
  locale?: string | undefined;
144
191
  region?: string | null | undefined;
192
+ website?: string | null | undefined;
193
+ address?: {
194
+ formatted?: string | null | undefined;
195
+ street_address?: string | null | undefined;
196
+ locality?: string | null | undefined;
197
+ region?: string | null | undefined;
198
+ postal_code?: string | null | undefined;
199
+ country?: string | null | undefined;
200
+ } | null | undefined;
145
201
  picture?: string | null | undefined;
146
202
  logins_count: number;
147
203
  last_ip?: string | null | undefined;
@@ -165,14 +221,27 @@ export declare class FaableAuthApi extends FaableApi {
165
221
  username?: string | null | undefined;
166
222
  given_name?: string | null | undefined;
167
223
  family_name?: string | null | undefined;
224
+ middle_name?: string | null | undefined;
225
+ nickname?: string | null | undefined;
168
226
  email?: string | null | undefined;
169
227
  email_verified: boolean;
170
228
  phone?: string | null | undefined;
171
229
  phone_verified: boolean;
172
230
  country_iso?: string | null | undefined;
173
231
  birth_date?: string | null | undefined;
232
+ gender?: string | null | undefined;
233
+ zoneinfo?: string | null | undefined;
174
234
  locale?: string | undefined;
175
235
  region?: string | null | undefined;
236
+ website?: string | null | undefined;
237
+ address?: {
238
+ formatted?: string | null | undefined;
239
+ street_address?: string | null | undefined;
240
+ locality?: string | null | undefined;
241
+ region?: string | null | undefined;
242
+ postal_code?: string | null | undefined;
243
+ country?: string | null | undefined;
244
+ } | null | undefined;
176
245
  picture?: string | null | undefined;
177
246
  logins_count: number;
178
247
  last_ip?: string | null | undefined;
@@ -196,14 +265,27 @@ export declare class FaableAuthApi extends FaableApi {
196
265
  username?: string | null | undefined;
197
266
  given_name?: string | null | undefined;
198
267
  family_name?: string | null | undefined;
268
+ middle_name?: string | null | undefined;
269
+ nickname?: string | null | undefined;
199
270
  email?: string | null | undefined;
200
271
  email_verified: boolean;
201
272
  phone?: string | null | undefined;
202
273
  phone_verified: boolean;
203
274
  country_iso?: string | null | undefined;
204
275
  birth_date?: string | null | undefined;
276
+ gender?: string | null | undefined;
277
+ zoneinfo?: string | null | undefined;
205
278
  locale?: string | undefined;
206
279
  region?: string | null | undefined;
280
+ website?: string | null | undefined;
281
+ address?: {
282
+ formatted?: string | null | undefined;
283
+ street_address?: string | null | undefined;
284
+ locality?: string | null | undefined;
285
+ region?: string | null | undefined;
286
+ postal_code?: string | null | undefined;
287
+ country?: string | null | undefined;
288
+ } | null | undefined;
207
289
  picture?: string | null | undefined;
208
290
  logins_count: number;
209
291
  last_ip?: string | null | undefined;
@@ -342,7 +424,7 @@ export declare class FaableAuthApi extends FaableApi {
342
424
  all: () => Promise<{
343
425
  id: string;
344
426
  connection_name: string;
345
- connection_type: "custom" | "database" | "github" | "figma" | "google_oauth2" | "oidc";
427
+ connection_type: "custom" | "database" | "github" | "figma" | "google_oauth2" | "oidc" | "passwordless_email";
346
428
  authorize_url: string;
347
429
  token_url: string;
348
430
  userinfo_url: string;
@@ -367,7 +449,7 @@ export declare class FaableAuthApi extends FaableApi {
367
449
  first: () => Promise<import("@faable/sdk-base/dist/helpers/paginator.js").Page<{
368
450
  id: string;
369
451
  connection_name: string;
370
- connection_type: "custom" | "database" | "github" | "figma" | "google_oauth2" | "oidc";
452
+ connection_type: "custom" | "database" | "github" | "figma" | "google_oauth2" | "oidc" | "passwordless_email";
371
453
  authorize_url: string;
372
454
  token_url: string;
373
455
  userinfo_url: string;
@@ -395,7 +477,7 @@ export declare class FaableAuthApi extends FaableApi {
395
477
  } | undefined) => Promise<import("@faable/sdk-base/dist/helpers/paginator.js").Page<{
396
478
  id: string;
397
479
  connection_name: string;
398
- connection_type: "custom" | "database" | "github" | "figma" | "google_oauth2" | "oidc";
480
+ connection_type: "custom" | "database" | "github" | "figma" | "google_oauth2" | "oidc" | "passwordless_email";
399
481
  authorize_url: string;
400
482
  token_url: string;
401
483
  userinfo_url: string;
@@ -421,7 +503,7 @@ export declare class FaableAuthApi extends FaableApi {
421
503
  getConection(connection_id: string): Promise<{
422
504
  id: string;
423
505
  connection_name: string;
424
- connection_type: "custom" | "database" | "github" | "figma" | "google_oauth2" | "oidc";
506
+ connection_type: "custom" | "database" | "github" | "figma" | "google_oauth2" | "oidc" | "passwordless_email";
425
507
  authorize_url: string;
426
508
  token_url: string;
427
509
  userinfo_url: string;
@@ -459,6 +541,19 @@ export declare class FaableAuthApi extends FaableApi {
459
541
  infinite_token_lifetime: boolean;
460
542
  token_lifetime: number;
461
543
  };
544
+ client_uri?: string | null | undefined;
545
+ logo_uri?: string | null | undefined;
546
+ tos_uri?: string | null | undefined;
547
+ policy_uri?: string | null | undefined;
548
+ contacts?: string[] | undefined;
549
+ grant_types?: string[] | undefined;
550
+ response_types?: string[] | undefined;
551
+ token_endpoint_auth_method?: string | undefined;
552
+ application_type?: string | undefined;
553
+ software_id?: string | null | undefined;
554
+ software_version?: string | null | undefined;
555
+ frontchannel_logout_uri?: string | null | undefined;
556
+ frontchannel_logout_session_required?: boolean | undefined;
462
557
  account: string;
463
558
  metadata: {
464
559
  [key: string]: unknown;
@@ -479,6 +574,19 @@ export declare class FaableAuthApi extends FaableApi {
479
574
  infinite_token_lifetime: boolean;
480
575
  token_lifetime: number;
481
576
  };
577
+ client_uri?: string | null | undefined;
578
+ logo_uri?: string | null | undefined;
579
+ tos_uri?: string | null | undefined;
580
+ policy_uri?: string | null | undefined;
581
+ contacts?: string[] | undefined;
582
+ grant_types?: string[] | undefined;
583
+ response_types?: string[] | undefined;
584
+ token_endpoint_auth_method?: string | undefined;
585
+ application_type?: string | undefined;
586
+ software_id?: string | null | undefined;
587
+ software_version?: string | null | undefined;
588
+ frontchannel_logout_uri?: string | null | undefined;
589
+ frontchannel_logout_session_required?: boolean | undefined;
482
590
  account: string;
483
591
  metadata: {
484
592
  [key: string]: unknown;
@@ -502,6 +610,19 @@ export declare class FaableAuthApi extends FaableApi {
502
610
  infinite_token_lifetime: boolean;
503
611
  token_lifetime: number;
504
612
  };
613
+ client_uri?: string | null | undefined;
614
+ logo_uri?: string | null | undefined;
615
+ tos_uri?: string | null | undefined;
616
+ policy_uri?: string | null | undefined;
617
+ contacts?: string[] | undefined;
618
+ grant_types?: string[] | undefined;
619
+ response_types?: string[] | undefined;
620
+ token_endpoint_auth_method?: string | undefined;
621
+ application_type?: string | undefined;
622
+ software_id?: string | null | undefined;
623
+ software_version?: string | null | undefined;
624
+ frontchannel_logout_uri?: string | null | undefined;
625
+ frontchannel_logout_session_required?: boolean | undefined;
505
626
  account: string;
506
627
  metadata: {
507
628
  [key: string]: unknown;
@@ -513,7 +634,7 @@ export declare class FaableAuthApi extends FaableApi {
513
634
  getClient(client_id: string): Promise<{
514
635
  id: string;
515
636
  connection_name: string;
516
- connection_type: "custom" | "database" | "github" | "figma" | "google_oauth2" | "oidc";
637
+ connection_type: "custom" | "database" | "github" | "figma" | "google_oauth2" | "oidc" | "passwordless_email";
517
638
  authorize_url: string;
518
639
  token_url: string;
519
640
  userinfo_url: string;