@@ -23,10 +23,35 @@ export interface ActionCodeSettings {
23
23
url: string ;
24
24
}
25
25
26
+ // @public
27
+ export interface AllowByDefault {
28
+ disallowedRegions: string [];
29
+ }
30
+
31
+ // @public
32
+ export interface AllowByDefaultWrap {
33
+ allowByDefault: AllowByDefault ;
34
+ // @alpha (undocumented)
35
+ allowlistOnly? : never ;
36
+ }
37
+
38
+ // @public
39
+ export interface AllowlistOnly {
40
+ allowedRegions: string [];
41
+ }
42
+
43
+ // @public
44
+ export interface AllowlistOnlyWrap {
45
+ // @alpha (undocumented)
46
+ allowByDefault? : never ;
47
+ allowlistOnly: AllowlistOnly ;
48
+ }
49
+
26
50
// @public
27
51
export class Auth extends BaseAuth {
28
52
// Warning: (ae-forgotten-export) The symbol "App" needs to be exported by the entry point index.d.ts
29
53
get app(): App ;
54
+ projectConfigManager(): ProjectConfigManager ;
30
55
tenantManager(): TenantManager ;
31
56
}
32
57
@@ -309,6 +334,18 @@ export class PhoneMultiFactorInfo extends MultiFactorInfo {
309
334
toJSON(): object ;
310
335
}
311
336
337
+ // @public
338
+ export class ProjectConfig {
339
+ readonly smsRegionConfig? : SmsRegionConfig ;
340
+ toJSON(): object ;
341
+ }
342
+
343
+ // @public
344
+ export class ProjectConfigManager {
345
+ getProjectConfig(): Promise <ProjectConfig >;
346
+ updateProjectConfig(projectConfigOptions : UpdateProjectConfigRequest ): Promise <ProjectConfig >;
347
+ }
348
+
312
349
// @public
313
350
export interface ProviderIdentifier {
314
351
// (undocumented)
@@ -342,13 +379,17 @@ export interface SessionCookieOptions {
342
379
expiresIn: number ;
343
380
}
344
381
382
+ // @public
383
+ export type SmsRegionConfig = AllowByDefaultWrap | AllowlistOnlyWrap ;
384
+
345
385
// @public
346
386
export class Tenant {
347
387
// (undocumented)
348
388
readonly anonymousSignInEnabled: boolean ;
349
389
readonly displayName? : string ;
350
390
get emailSignInConfig(): EmailSignInProviderConfig | undefined ;
351
391
get multiFactorConfig(): MultiFactorConfig | undefined ;
392
+ readonly smsRegionConfig? : SmsRegionConfig ;
352
393
readonly tenantId: string ;
353
394
readonly testPhoneNumbers? : {
354
395
[phoneNumber : string ]: string ;
@@ -391,6 +432,11 @@ export interface UpdatePhoneMultiFactorInfoRequest extends BaseUpdateMultiFactor
391
432
phoneNumber: string ;
392
433
}
393
434
435
+ // @public
436
+ export interface UpdateProjectConfigRequest {
437
+ smsRegionConfig? : SmsRegionConfig ;
438
+ }
439
+
394
440
// @public
395
441
export interface UpdateRequest {
396
442
disabled? : boolean ;
@@ -411,6 +457,7 @@ export interface UpdateTenantRequest {
411
457
displayName? : string ;
412
458
emailSignInConfig? : EmailSignInProviderConfig ;
413
459
multiFactorConfig? : MultiFactorConfig ;
460
+ smsRegionConfig? : SmsRegionConfig ;
414
461
testPhoneNumbers? : {
415
462
[phoneNumber : string ]: string ;
416
463
} | null ;
0 commit comments