@descope/react-sdk 2.1.1 → 2.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/dts/src/sdk.d.ts +102 -0
- package/dist/index.d.ts +34 -0
- package/dist/index.esm.js +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +10 -10
package/dist/dts/src/sdk.d.ts
CHANGED
|
@@ -176,6 +176,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
176
176
|
phone?: string;
|
|
177
177
|
}, signUpOptions?: {
|
|
178
178
|
customClaims?: Record<string, any>;
|
|
179
|
+
templateId?: string;
|
|
179
180
|
templateOptions?: {
|
|
180
181
|
[x: string]: string;
|
|
181
182
|
};
|
|
@@ -191,6 +192,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
191
192
|
phone?: string;
|
|
192
193
|
}, signUpOptions?: {
|
|
193
194
|
customClaims?: Record<string, any>;
|
|
195
|
+
templateId?: string;
|
|
194
196
|
templateOptions?: {
|
|
195
197
|
[x: string]: string;
|
|
196
198
|
};
|
|
@@ -206,6 +208,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
206
208
|
phone?: string;
|
|
207
209
|
}, signUpOptions?: {
|
|
208
210
|
customClaims?: Record<string, any>;
|
|
211
|
+
templateId?: string;
|
|
209
212
|
templateOptions?: {
|
|
210
213
|
[x: string]: string;
|
|
211
214
|
};
|
|
@@ -221,6 +224,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
221
224
|
phone?: string;
|
|
222
225
|
}, signUpOptions?: {
|
|
223
226
|
customClaims?: Record<string, any>;
|
|
227
|
+
templateId?: string;
|
|
224
228
|
templateOptions?: {
|
|
225
229
|
[x: string]: string;
|
|
226
230
|
};
|
|
@@ -309,6 +313,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
309
313
|
phone?: string;
|
|
310
314
|
}, signUpOptions?: {
|
|
311
315
|
customClaims?: Record<string, any>;
|
|
316
|
+
templateId?: string;
|
|
312
317
|
templateOptions?: {
|
|
313
318
|
[x: string]: string;
|
|
314
319
|
};
|
|
@@ -324,6 +329,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
324
329
|
phone?: string;
|
|
325
330
|
}, signUpOptions?: {
|
|
326
331
|
customClaims?: Record<string, any>;
|
|
332
|
+
templateId?: string;
|
|
327
333
|
templateOptions?: {
|
|
328
334
|
[x: string]: string;
|
|
329
335
|
};
|
|
@@ -339,6 +345,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
339
345
|
phone?: string;
|
|
340
346
|
}, signUpOptions?: {
|
|
341
347
|
customClaims?: Record<string, any>;
|
|
348
|
+
templateId?: string;
|
|
342
349
|
templateOptions?: {
|
|
343
350
|
[x: string]: string;
|
|
344
351
|
};
|
|
@@ -354,6 +361,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
354
361
|
phone?: string;
|
|
355
362
|
}, signUpOptions?: {
|
|
356
363
|
customClaims?: Record<string, any>;
|
|
364
|
+
templateId?: string;
|
|
357
365
|
templateOptions?: {
|
|
358
366
|
[x: string]: string;
|
|
359
367
|
};
|
|
@@ -364,6 +372,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
364
372
|
signUpOrIn: {
|
|
365
373
|
sms: (loginId: string, URI?: string, signUpOptions?: {
|
|
366
374
|
customClaims?: Record<string, any>;
|
|
375
|
+
templateId?: string;
|
|
367
376
|
templateOptions?: {
|
|
368
377
|
[x: string]: string;
|
|
369
378
|
};
|
|
@@ -372,6 +381,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
372
381
|
}>>;
|
|
373
382
|
voice: (loginId: string, URI?: string, signUpOptions?: {
|
|
374
383
|
customClaims?: Record<string, any>;
|
|
384
|
+
templateId?: string;
|
|
375
385
|
templateOptions?: {
|
|
376
386
|
[x: string]: string;
|
|
377
387
|
};
|
|
@@ -380,6 +390,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
380
390
|
}>>;
|
|
381
391
|
whatsapp: (loginId: string, URI?: string, signUpOptions?: {
|
|
382
392
|
customClaims?: Record<string, any>;
|
|
393
|
+
templateId?: string;
|
|
383
394
|
templateOptions?: {
|
|
384
395
|
[x: string]: string;
|
|
385
396
|
};
|
|
@@ -388,6 +399,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
388
399
|
}>>;
|
|
389
400
|
email: (loginId: string, URI?: string, signUpOptions?: {
|
|
390
401
|
customClaims?: Record<string, any>;
|
|
402
|
+
templateId?: string;
|
|
391
403
|
templateOptions?: {
|
|
392
404
|
[x: string]: string;
|
|
393
405
|
};
|
|
@@ -441,6 +453,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
441
453
|
signIn: (loginId: string, URI?: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<_1.EnchantedLinkResponse>>;
|
|
442
454
|
signUpOrIn: (loginId: string, URI?: string, signUpOptions?: {
|
|
443
455
|
customClaims?: Record<string, any>;
|
|
456
|
+
templateId?: string;
|
|
444
457
|
templateOptions?: {
|
|
445
458
|
[x: string]: string;
|
|
446
459
|
};
|
|
@@ -454,6 +467,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
454
467
|
phone?: string;
|
|
455
468
|
}, signUpOptions?: {
|
|
456
469
|
customClaims?: Record<string, any>;
|
|
470
|
+
templateId?: string;
|
|
457
471
|
templateOptions?: {
|
|
458
472
|
[x: string]: string;
|
|
459
473
|
};
|
|
@@ -507,6 +521,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
507
521
|
notp: {
|
|
508
522
|
signUpOrIn: (loginId?: string, signUpOptions?: {
|
|
509
523
|
customClaims?: Record<string, any>;
|
|
524
|
+
templateId?: string;
|
|
510
525
|
templateOptions?: {
|
|
511
526
|
[x: string]: string;
|
|
512
527
|
};
|
|
@@ -524,6 +539,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
524
539
|
phone?: string;
|
|
525
540
|
}, signUpOptions?: {
|
|
526
541
|
customClaims?: Record<string, any>;
|
|
542
|
+
templateId?: string;
|
|
527
543
|
templateOptions?: {
|
|
528
544
|
[x: string]: string;
|
|
529
545
|
};
|
|
@@ -552,6 +568,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
552
568
|
phone?: string;
|
|
553
569
|
}, signUpOptions?: {
|
|
554
570
|
customClaims?: Record<string, any>;
|
|
571
|
+
templateId?: string;
|
|
555
572
|
templateOptions?: {
|
|
556
573
|
[x: string]: string;
|
|
557
574
|
};
|
|
@@ -765,6 +782,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
765
782
|
phone?: string;
|
|
766
783
|
}, signUpOptions?: {
|
|
767
784
|
customClaims?: Record<string, any>;
|
|
785
|
+
templateId?: string;
|
|
768
786
|
templateOptions?: {
|
|
769
787
|
[x: string]: string;
|
|
770
788
|
};
|
|
@@ -780,6 +798,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
780
798
|
phone?: string;
|
|
781
799
|
}, signUpOptions?: {
|
|
782
800
|
customClaims?: Record<string, any>;
|
|
801
|
+
templateId?: string;
|
|
783
802
|
templateOptions?: {
|
|
784
803
|
[x: string]: string;
|
|
785
804
|
};
|
|
@@ -795,6 +814,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
795
814
|
phone?: string;
|
|
796
815
|
}, signUpOptions?: {
|
|
797
816
|
customClaims?: Record<string, any>;
|
|
817
|
+
templateId?: string;
|
|
798
818
|
templateOptions?: {
|
|
799
819
|
[x: string]: string;
|
|
800
820
|
};
|
|
@@ -810,6 +830,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
810
830
|
phone?: string;
|
|
811
831
|
}, signUpOptions?: {
|
|
812
832
|
customClaims?: Record<string, any>;
|
|
833
|
+
templateId?: string;
|
|
813
834
|
templateOptions?: {
|
|
814
835
|
[x: string]: string;
|
|
815
836
|
};
|
|
@@ -898,6 +919,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
898
919
|
phone?: string;
|
|
899
920
|
}, signUpOptions?: {
|
|
900
921
|
customClaims?: Record<string, any>;
|
|
922
|
+
templateId?: string;
|
|
901
923
|
templateOptions?: {
|
|
902
924
|
[x: string]: string;
|
|
903
925
|
};
|
|
@@ -913,6 +935,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
913
935
|
phone?: string;
|
|
914
936
|
}, signUpOptions?: {
|
|
915
937
|
customClaims?: Record<string, any>;
|
|
938
|
+
templateId?: string;
|
|
916
939
|
templateOptions?: {
|
|
917
940
|
[x: string]: string;
|
|
918
941
|
};
|
|
@@ -928,6 +951,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
928
951
|
phone?: string;
|
|
929
952
|
}, signUpOptions?: {
|
|
930
953
|
customClaims?: Record<string, any>;
|
|
954
|
+
templateId?: string;
|
|
931
955
|
templateOptions?: {
|
|
932
956
|
[x: string]: string;
|
|
933
957
|
};
|
|
@@ -943,6 +967,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
943
967
|
phone?: string;
|
|
944
968
|
}, signUpOptions?: {
|
|
945
969
|
customClaims?: Record<string, any>;
|
|
970
|
+
templateId?: string;
|
|
946
971
|
templateOptions?: {
|
|
947
972
|
[x: string]: string;
|
|
948
973
|
};
|
|
@@ -953,6 +978,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
953
978
|
signUpOrIn: {
|
|
954
979
|
sms: (loginId: string, URI?: string, signUpOptions?: {
|
|
955
980
|
customClaims?: Record<string, any>;
|
|
981
|
+
templateId?: string;
|
|
956
982
|
templateOptions?: {
|
|
957
983
|
[x: string]: string;
|
|
958
984
|
};
|
|
@@ -961,6 +987,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
961
987
|
}>>;
|
|
962
988
|
voice: (loginId: string, URI?: string, signUpOptions?: {
|
|
963
989
|
customClaims?: Record<string, any>;
|
|
990
|
+
templateId?: string;
|
|
964
991
|
templateOptions?: {
|
|
965
992
|
[x: string]: string;
|
|
966
993
|
};
|
|
@@ -969,6 +996,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
969
996
|
}>>;
|
|
970
997
|
whatsapp: (loginId: string, URI?: string, signUpOptions?: {
|
|
971
998
|
customClaims?: Record<string, any>;
|
|
999
|
+
templateId?: string;
|
|
972
1000
|
templateOptions?: {
|
|
973
1001
|
[x: string]: string;
|
|
974
1002
|
};
|
|
@@ -977,6 +1005,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
977
1005
|
}>>;
|
|
978
1006
|
email: (loginId: string, URI?: string, signUpOptions?: {
|
|
979
1007
|
customClaims?: Record<string, any>;
|
|
1008
|
+
templateId?: string;
|
|
980
1009
|
templateOptions?: {
|
|
981
1010
|
[x: string]: string;
|
|
982
1011
|
};
|
|
@@ -1030,6 +1059,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
1030
1059
|
signIn: (loginId: string, URI?: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<_1.EnchantedLinkResponse>>;
|
|
1031
1060
|
signUpOrIn: (loginId: string, URI?: string, signUpOptions?: {
|
|
1032
1061
|
customClaims?: Record<string, any>;
|
|
1062
|
+
templateId?: string;
|
|
1033
1063
|
templateOptions?: {
|
|
1034
1064
|
[x: string]: string;
|
|
1035
1065
|
};
|
|
@@ -1043,6 +1073,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
1043
1073
|
phone?: string;
|
|
1044
1074
|
}, signUpOptions?: {
|
|
1045
1075
|
customClaims?: Record<string, any>;
|
|
1076
|
+
templateId?: string;
|
|
1046
1077
|
templateOptions?: {
|
|
1047
1078
|
[x: string]: string;
|
|
1048
1079
|
};
|
|
@@ -1096,6 +1127,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
1096
1127
|
notp: {
|
|
1097
1128
|
signUpOrIn: (loginId?: string, signUpOptions?: {
|
|
1098
1129
|
customClaims?: Record<string, any>;
|
|
1130
|
+
templateId?: string;
|
|
1099
1131
|
templateOptions?: {
|
|
1100
1132
|
[x: string]: string;
|
|
1101
1133
|
};
|
|
@@ -1113,6 +1145,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
1113
1145
|
phone?: string;
|
|
1114
1146
|
}, signUpOptions?: {
|
|
1115
1147
|
customClaims?: Record<string, any>;
|
|
1148
|
+
templateId?: string;
|
|
1116
1149
|
templateOptions?: {
|
|
1117
1150
|
[x: string]: string;
|
|
1118
1151
|
};
|
|
@@ -1141,6 +1174,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
1141
1174
|
phone?: string;
|
|
1142
1175
|
}, signUpOptions?: {
|
|
1143
1176
|
customClaims?: Record<string, any>;
|
|
1177
|
+
templateId?: string;
|
|
1144
1178
|
templateOptions?: {
|
|
1145
1179
|
[x: string]: string;
|
|
1146
1180
|
};
|
|
@@ -1364,6 +1398,7 @@ export declare const createTempSdk: () => ((({
|
|
|
1364
1398
|
phone?: string;
|
|
1365
1399
|
}, signUpOptions?: {
|
|
1366
1400
|
customClaims?: Record<string, any>;
|
|
1401
|
+
templateId?: string;
|
|
1367
1402
|
templateOptions?: {
|
|
1368
1403
|
[x: string]: string;
|
|
1369
1404
|
};
|
|
@@ -1379,6 +1414,7 @@ export declare const createTempSdk: () => ((({
|
|
|
1379
1414
|
phone?: string;
|
|
1380
1415
|
}, signUpOptions?: {
|
|
1381
1416
|
customClaims?: Record<string, any>;
|
|
1417
|
+
templateId?: string;
|
|
1382
1418
|
templateOptions?: {
|
|
1383
1419
|
[x: string]: string;
|
|
1384
1420
|
};
|
|
@@ -1394,6 +1430,7 @@ export declare const createTempSdk: () => ((({
|
|
|
1394
1430
|
phone?: string;
|
|
1395
1431
|
}, signUpOptions?: {
|
|
1396
1432
|
customClaims?: Record<string, any>;
|
|
1433
|
+
templateId?: string;
|
|
1397
1434
|
templateOptions?: {
|
|
1398
1435
|
[x: string]: string;
|
|
1399
1436
|
};
|
|
@@ -1409,6 +1446,7 @@ export declare const createTempSdk: () => ((({
|
|
|
1409
1446
|
phone?: string;
|
|
1410
1447
|
}, signUpOptions?: {
|
|
1411
1448
|
customClaims?: Record<string, any>;
|
|
1449
|
+
templateId?: string;
|
|
1412
1450
|
templateOptions?: {
|
|
1413
1451
|
[x: string]: string;
|
|
1414
1452
|
};
|
|
@@ -1497,6 +1535,7 @@ export declare const createTempSdk: () => ((({
|
|
|
1497
1535
|
phone?: string;
|
|
1498
1536
|
}, signUpOptions?: {
|
|
1499
1537
|
customClaims?: Record<string, any>;
|
|
1538
|
+
templateId?: string;
|
|
1500
1539
|
templateOptions?: {
|
|
1501
1540
|
[x: string]: string;
|
|
1502
1541
|
};
|
|
@@ -1512,6 +1551,7 @@ export declare const createTempSdk: () => ((({
|
|
|
1512
1551
|
phone?: string;
|
|
1513
1552
|
}, signUpOptions?: {
|
|
1514
1553
|
customClaims?: Record<string, any>;
|
|
1554
|
+
templateId?: string;
|
|
1515
1555
|
templateOptions?: {
|
|
1516
1556
|
[x: string]: string;
|
|
1517
1557
|
};
|
|
@@ -1527,6 +1567,7 @@ export declare const createTempSdk: () => ((({
|
|
|
1527
1567
|
phone?: string;
|
|
1528
1568
|
}, signUpOptions?: {
|
|
1529
1569
|
customClaims?: Record<string, any>;
|
|
1570
|
+
templateId?: string;
|
|
1530
1571
|
templateOptions?: {
|
|
1531
1572
|
[x: string]: string;
|
|
1532
1573
|
};
|
|
@@ -1542,6 +1583,7 @@ export declare const createTempSdk: () => ((({
|
|
|
1542
1583
|
phone?: string;
|
|
1543
1584
|
}, signUpOptions?: {
|
|
1544
1585
|
customClaims?: Record<string, any>;
|
|
1586
|
+
templateId?: string;
|
|
1545
1587
|
templateOptions?: {
|
|
1546
1588
|
[x: string]: string;
|
|
1547
1589
|
};
|
|
@@ -1552,6 +1594,7 @@ export declare const createTempSdk: () => ((({
|
|
|
1552
1594
|
signUpOrIn: {
|
|
1553
1595
|
sms: (loginId: string, URI?: string, signUpOptions?: {
|
|
1554
1596
|
customClaims?: Record<string, any>;
|
|
1597
|
+
templateId?: string;
|
|
1555
1598
|
templateOptions?: {
|
|
1556
1599
|
[x: string]: string;
|
|
1557
1600
|
};
|
|
@@ -1560,6 +1603,7 @@ export declare const createTempSdk: () => ((({
|
|
|
1560
1603
|
}>>;
|
|
1561
1604
|
voice: (loginId: string, URI?: string, signUpOptions?: {
|
|
1562
1605
|
customClaims?: Record<string, any>;
|
|
1606
|
+
templateId?: string;
|
|
1563
1607
|
templateOptions?: {
|
|
1564
1608
|
[x: string]: string;
|
|
1565
1609
|
};
|
|
@@ -1568,6 +1612,7 @@ export declare const createTempSdk: () => ((({
|
|
|
1568
1612
|
}>>;
|
|
1569
1613
|
whatsapp: (loginId: string, URI?: string, signUpOptions?: {
|
|
1570
1614
|
customClaims?: Record<string, any>;
|
|
1615
|
+
templateId?: string;
|
|
1571
1616
|
templateOptions?: {
|
|
1572
1617
|
[x: string]: string;
|
|
1573
1618
|
};
|
|
@@ -1576,6 +1621,7 @@ export declare const createTempSdk: () => ((({
|
|
|
1576
1621
|
}>>;
|
|
1577
1622
|
email: (loginId: string, URI?: string, signUpOptions?: {
|
|
1578
1623
|
customClaims?: Record<string, any>;
|
|
1624
|
+
templateId?: string;
|
|
1579
1625
|
templateOptions?: {
|
|
1580
1626
|
[x: string]: string;
|
|
1581
1627
|
};
|
|
@@ -1629,6 +1675,7 @@ export declare const createTempSdk: () => ((({
|
|
|
1629
1675
|
signIn: (loginId: string, URI?: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<_1.EnchantedLinkResponse>>;
|
|
1630
1676
|
signUpOrIn: (loginId: string, URI?: string, signUpOptions?: {
|
|
1631
1677
|
customClaims?: Record<string, any>;
|
|
1678
|
+
templateId?: string;
|
|
1632
1679
|
templateOptions?: {
|
|
1633
1680
|
[x: string]: string;
|
|
1634
1681
|
};
|
|
@@ -1642,6 +1689,7 @@ export declare const createTempSdk: () => ((({
|
|
|
1642
1689
|
phone?: string;
|
|
1643
1690
|
}, signUpOptions?: {
|
|
1644
1691
|
customClaims?: Record<string, any>;
|
|
1692
|
+
templateId?: string;
|
|
1645
1693
|
templateOptions?: {
|
|
1646
1694
|
[x: string]: string;
|
|
1647
1695
|
};
|
|
@@ -1695,6 +1743,7 @@ export declare const createTempSdk: () => ((({
|
|
|
1695
1743
|
notp: {
|
|
1696
1744
|
signUpOrIn: (loginId?: string, signUpOptions?: {
|
|
1697
1745
|
customClaims?: Record<string, any>;
|
|
1746
|
+
templateId?: string;
|
|
1698
1747
|
templateOptions?: {
|
|
1699
1748
|
[x: string]: string;
|
|
1700
1749
|
};
|
|
@@ -1712,6 +1761,7 @@ export declare const createTempSdk: () => ((({
|
|
|
1712
1761
|
phone?: string;
|
|
1713
1762
|
}, signUpOptions?: {
|
|
1714
1763
|
customClaims?: Record<string, any>;
|
|
1764
|
+
templateId?: string;
|
|
1715
1765
|
templateOptions?: {
|
|
1716
1766
|
[x: string]: string;
|
|
1717
1767
|
};
|
|
@@ -1740,6 +1790,7 @@ export declare const createTempSdk: () => ((({
|
|
|
1740
1790
|
phone?: string;
|
|
1741
1791
|
}, signUpOptions?: {
|
|
1742
1792
|
customClaims?: Record<string, any>;
|
|
1793
|
+
templateId?: string;
|
|
1743
1794
|
templateOptions?: {
|
|
1744
1795
|
[x: string]: string;
|
|
1745
1796
|
};
|
|
@@ -1953,6 +2004,7 @@ export declare const createTempSdk: () => ((({
|
|
|
1953
2004
|
phone?: string;
|
|
1954
2005
|
}, signUpOptions?: {
|
|
1955
2006
|
customClaims?: Record<string, any>;
|
|
2007
|
+
templateId?: string;
|
|
1956
2008
|
templateOptions?: {
|
|
1957
2009
|
[x: string]: string;
|
|
1958
2010
|
};
|
|
@@ -1968,6 +2020,7 @@ export declare const createTempSdk: () => ((({
|
|
|
1968
2020
|
phone?: string;
|
|
1969
2021
|
}, signUpOptions?: {
|
|
1970
2022
|
customClaims?: Record<string, any>;
|
|
2023
|
+
templateId?: string;
|
|
1971
2024
|
templateOptions?: {
|
|
1972
2025
|
[x: string]: string;
|
|
1973
2026
|
};
|
|
@@ -1983,6 +2036,7 @@ export declare const createTempSdk: () => ((({
|
|
|
1983
2036
|
phone?: string;
|
|
1984
2037
|
}, signUpOptions?: {
|
|
1985
2038
|
customClaims?: Record<string, any>;
|
|
2039
|
+
templateId?: string;
|
|
1986
2040
|
templateOptions?: {
|
|
1987
2041
|
[x: string]: string;
|
|
1988
2042
|
};
|
|
@@ -1998,6 +2052,7 @@ export declare const createTempSdk: () => ((({
|
|
|
1998
2052
|
phone?: string;
|
|
1999
2053
|
}, signUpOptions?: {
|
|
2000
2054
|
customClaims?: Record<string, any>;
|
|
2055
|
+
templateId?: string;
|
|
2001
2056
|
templateOptions?: {
|
|
2002
2057
|
[x: string]: string;
|
|
2003
2058
|
};
|
|
@@ -2086,6 +2141,7 @@ export declare const createTempSdk: () => ((({
|
|
|
2086
2141
|
phone?: string;
|
|
2087
2142
|
}, signUpOptions?: {
|
|
2088
2143
|
customClaims?: Record<string, any>;
|
|
2144
|
+
templateId?: string;
|
|
2089
2145
|
templateOptions?: {
|
|
2090
2146
|
[x: string]: string;
|
|
2091
2147
|
};
|
|
@@ -2101,6 +2157,7 @@ export declare const createTempSdk: () => ((({
|
|
|
2101
2157
|
phone?: string;
|
|
2102
2158
|
}, signUpOptions?: {
|
|
2103
2159
|
customClaims?: Record<string, any>;
|
|
2160
|
+
templateId?: string;
|
|
2104
2161
|
templateOptions?: {
|
|
2105
2162
|
[x: string]: string;
|
|
2106
2163
|
};
|
|
@@ -2116,6 +2173,7 @@ export declare const createTempSdk: () => ((({
|
|
|
2116
2173
|
phone?: string;
|
|
2117
2174
|
}, signUpOptions?: {
|
|
2118
2175
|
customClaims?: Record<string, any>;
|
|
2176
|
+
templateId?: string;
|
|
2119
2177
|
templateOptions?: {
|
|
2120
2178
|
[x: string]: string;
|
|
2121
2179
|
};
|
|
@@ -2131,6 +2189,7 @@ export declare const createTempSdk: () => ((({
|
|
|
2131
2189
|
phone?: string;
|
|
2132
2190
|
}, signUpOptions?: {
|
|
2133
2191
|
customClaims?: Record<string, any>;
|
|
2192
|
+
templateId?: string;
|
|
2134
2193
|
templateOptions?: {
|
|
2135
2194
|
[x: string]: string;
|
|
2136
2195
|
};
|
|
@@ -2141,6 +2200,7 @@ export declare const createTempSdk: () => ((({
|
|
|
2141
2200
|
signUpOrIn: {
|
|
2142
2201
|
sms: (loginId: string, URI?: string, signUpOptions?: {
|
|
2143
2202
|
customClaims?: Record<string, any>;
|
|
2203
|
+
templateId?: string;
|
|
2144
2204
|
templateOptions?: {
|
|
2145
2205
|
[x: string]: string;
|
|
2146
2206
|
};
|
|
@@ -2149,6 +2209,7 @@ export declare const createTempSdk: () => ((({
|
|
|
2149
2209
|
}>>;
|
|
2150
2210
|
voice: (loginId: string, URI?: string, signUpOptions?: {
|
|
2151
2211
|
customClaims?: Record<string, any>;
|
|
2212
|
+
templateId?: string;
|
|
2152
2213
|
templateOptions?: {
|
|
2153
2214
|
[x: string]: string;
|
|
2154
2215
|
};
|
|
@@ -2157,6 +2218,7 @@ export declare const createTempSdk: () => ((({
|
|
|
2157
2218
|
}>>;
|
|
2158
2219
|
whatsapp: (loginId: string, URI?: string, signUpOptions?: {
|
|
2159
2220
|
customClaims?: Record<string, any>;
|
|
2221
|
+
templateId?: string;
|
|
2160
2222
|
templateOptions?: {
|
|
2161
2223
|
[x: string]: string;
|
|
2162
2224
|
};
|
|
@@ -2165,6 +2227,7 @@ export declare const createTempSdk: () => ((({
|
|
|
2165
2227
|
}>>;
|
|
2166
2228
|
email: (loginId: string, URI?: string, signUpOptions?: {
|
|
2167
2229
|
customClaims?: Record<string, any>;
|
|
2230
|
+
templateId?: string;
|
|
2168
2231
|
templateOptions?: {
|
|
2169
2232
|
[x: string]: string;
|
|
2170
2233
|
};
|
|
@@ -2218,6 +2281,7 @@ export declare const createTempSdk: () => ((({
|
|
|
2218
2281
|
signIn: (loginId: string, URI?: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<_1.EnchantedLinkResponse>>;
|
|
2219
2282
|
signUpOrIn: (loginId: string, URI?: string, signUpOptions?: {
|
|
2220
2283
|
customClaims?: Record<string, any>;
|
|
2284
|
+
templateId?: string;
|
|
2221
2285
|
templateOptions?: {
|
|
2222
2286
|
[x: string]: string;
|
|
2223
2287
|
};
|
|
@@ -2231,6 +2295,7 @@ export declare const createTempSdk: () => ((({
|
|
|
2231
2295
|
phone?: string;
|
|
2232
2296
|
}, signUpOptions?: {
|
|
2233
2297
|
customClaims?: Record<string, any>;
|
|
2298
|
+
templateId?: string;
|
|
2234
2299
|
templateOptions?: {
|
|
2235
2300
|
[x: string]: string;
|
|
2236
2301
|
};
|
|
@@ -2284,6 +2349,7 @@ export declare const createTempSdk: () => ((({
|
|
|
2284
2349
|
notp: {
|
|
2285
2350
|
signUpOrIn: (loginId?: string, signUpOptions?: {
|
|
2286
2351
|
customClaims?: Record<string, any>;
|
|
2352
|
+
templateId?: string;
|
|
2287
2353
|
templateOptions?: {
|
|
2288
2354
|
[x: string]: string;
|
|
2289
2355
|
};
|
|
@@ -2301,6 +2367,7 @@ export declare const createTempSdk: () => ((({
|
|
|
2301
2367
|
phone?: string;
|
|
2302
2368
|
}, signUpOptions?: {
|
|
2303
2369
|
customClaims?: Record<string, any>;
|
|
2370
|
+
templateId?: string;
|
|
2304
2371
|
templateOptions?: {
|
|
2305
2372
|
[x: string]: string;
|
|
2306
2373
|
};
|
|
@@ -2329,6 +2396,7 @@ export declare const createTempSdk: () => ((({
|
|
|
2329
2396
|
phone?: string;
|
|
2330
2397
|
}, signUpOptions?: {
|
|
2331
2398
|
customClaims?: Record<string, any>;
|
|
2399
|
+
templateId?: string;
|
|
2332
2400
|
templateOptions?: {
|
|
2333
2401
|
[x: string]: string;
|
|
2334
2402
|
};
|
|
@@ -2559,6 +2627,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
2559
2627
|
phone?: string;
|
|
2560
2628
|
}, signUpOptions?: {
|
|
2561
2629
|
customClaims?: Record<string, any>;
|
|
2630
|
+
templateId?: string;
|
|
2562
2631
|
templateOptions?: {
|
|
2563
2632
|
[x: string]: string;
|
|
2564
2633
|
};
|
|
@@ -2574,6 +2643,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
2574
2643
|
phone?: string;
|
|
2575
2644
|
}, signUpOptions?: {
|
|
2576
2645
|
customClaims?: Record<string, any>;
|
|
2646
|
+
templateId?: string;
|
|
2577
2647
|
templateOptions?: {
|
|
2578
2648
|
[x: string]: string;
|
|
2579
2649
|
};
|
|
@@ -2589,6 +2659,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
2589
2659
|
phone?: string;
|
|
2590
2660
|
}, signUpOptions?: {
|
|
2591
2661
|
customClaims?: Record<string, any>;
|
|
2662
|
+
templateId?: string;
|
|
2592
2663
|
templateOptions?: {
|
|
2593
2664
|
[x: string]: string;
|
|
2594
2665
|
};
|
|
@@ -2604,6 +2675,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
2604
2675
|
phone?: string;
|
|
2605
2676
|
}, signUpOptions?: {
|
|
2606
2677
|
customClaims?: Record<string, any>;
|
|
2678
|
+
templateId?: string;
|
|
2607
2679
|
templateOptions?: {
|
|
2608
2680
|
[x: string]: string;
|
|
2609
2681
|
};
|
|
@@ -2692,6 +2764,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
2692
2764
|
phone?: string;
|
|
2693
2765
|
}, signUpOptions?: {
|
|
2694
2766
|
customClaims?: Record<string, any>;
|
|
2767
|
+
templateId?: string;
|
|
2695
2768
|
templateOptions?: {
|
|
2696
2769
|
[x: string]: string;
|
|
2697
2770
|
};
|
|
@@ -2707,6 +2780,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
2707
2780
|
phone?: string;
|
|
2708
2781
|
}, signUpOptions?: {
|
|
2709
2782
|
customClaims?: Record<string, any>;
|
|
2783
|
+
templateId?: string;
|
|
2710
2784
|
templateOptions?: {
|
|
2711
2785
|
[x: string]: string;
|
|
2712
2786
|
};
|
|
@@ -2722,6 +2796,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
2722
2796
|
phone?: string;
|
|
2723
2797
|
}, signUpOptions?: {
|
|
2724
2798
|
customClaims?: Record<string, any>;
|
|
2799
|
+
templateId?: string;
|
|
2725
2800
|
templateOptions?: {
|
|
2726
2801
|
[x: string]: string;
|
|
2727
2802
|
};
|
|
@@ -2737,6 +2812,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
2737
2812
|
phone?: string;
|
|
2738
2813
|
}, signUpOptions?: {
|
|
2739
2814
|
customClaims?: Record<string, any>;
|
|
2815
|
+
templateId?: string;
|
|
2740
2816
|
templateOptions?: {
|
|
2741
2817
|
[x: string]: string;
|
|
2742
2818
|
};
|
|
@@ -2747,6 +2823,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
2747
2823
|
signUpOrIn: {
|
|
2748
2824
|
sms: (loginId: string, URI?: string, signUpOptions?: {
|
|
2749
2825
|
customClaims?: Record<string, any>;
|
|
2826
|
+
templateId?: string;
|
|
2750
2827
|
templateOptions?: {
|
|
2751
2828
|
[x: string]: string;
|
|
2752
2829
|
};
|
|
@@ -2755,6 +2832,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
2755
2832
|
}>>;
|
|
2756
2833
|
voice: (loginId: string, URI?: string, signUpOptions?: {
|
|
2757
2834
|
customClaims?: Record<string, any>;
|
|
2835
|
+
templateId?: string;
|
|
2758
2836
|
templateOptions?: {
|
|
2759
2837
|
[x: string]: string;
|
|
2760
2838
|
};
|
|
@@ -2763,6 +2841,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
2763
2841
|
}>>;
|
|
2764
2842
|
whatsapp: (loginId: string, URI?: string, signUpOptions?: {
|
|
2765
2843
|
customClaims?: Record<string, any>;
|
|
2844
|
+
templateId?: string;
|
|
2766
2845
|
templateOptions?: {
|
|
2767
2846
|
[x: string]: string;
|
|
2768
2847
|
};
|
|
@@ -2771,6 +2850,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
2771
2850
|
}>>;
|
|
2772
2851
|
email: (loginId: string, URI?: string, signUpOptions?: {
|
|
2773
2852
|
customClaims?: Record<string, any>;
|
|
2853
|
+
templateId?: string;
|
|
2774
2854
|
templateOptions?: {
|
|
2775
2855
|
[x: string]: string;
|
|
2776
2856
|
};
|
|
@@ -2824,6 +2904,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
2824
2904
|
signIn: (loginId: string, URI?: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<_1.EnchantedLinkResponse>>;
|
|
2825
2905
|
signUpOrIn: (loginId: string, URI?: string, signUpOptions?: {
|
|
2826
2906
|
customClaims?: Record<string, any>;
|
|
2907
|
+
templateId?: string;
|
|
2827
2908
|
templateOptions?: {
|
|
2828
2909
|
[x: string]: string;
|
|
2829
2910
|
};
|
|
@@ -2837,6 +2918,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
2837
2918
|
phone?: string;
|
|
2838
2919
|
}, signUpOptions?: {
|
|
2839
2920
|
customClaims?: Record<string, any>;
|
|
2921
|
+
templateId?: string;
|
|
2840
2922
|
templateOptions?: {
|
|
2841
2923
|
[x: string]: string;
|
|
2842
2924
|
};
|
|
@@ -2890,6 +2972,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
2890
2972
|
notp: {
|
|
2891
2973
|
signUpOrIn: (loginId?: string, signUpOptions?: {
|
|
2892
2974
|
customClaims?: Record<string, any>;
|
|
2975
|
+
templateId?: string;
|
|
2893
2976
|
templateOptions?: {
|
|
2894
2977
|
[x: string]: string;
|
|
2895
2978
|
};
|
|
@@ -2907,6 +2990,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
2907
2990
|
phone?: string;
|
|
2908
2991
|
}, signUpOptions?: {
|
|
2909
2992
|
customClaims?: Record<string, any>;
|
|
2993
|
+
templateId?: string;
|
|
2910
2994
|
templateOptions?: {
|
|
2911
2995
|
[x: string]: string;
|
|
2912
2996
|
};
|
|
@@ -2935,6 +3019,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
2935
3019
|
phone?: string;
|
|
2936
3020
|
}, signUpOptions?: {
|
|
2937
3021
|
customClaims?: Record<string, any>;
|
|
3022
|
+
templateId?: string;
|
|
2938
3023
|
templateOptions?: {
|
|
2939
3024
|
[x: string]: string;
|
|
2940
3025
|
};
|
|
@@ -3148,6 +3233,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
3148
3233
|
phone?: string;
|
|
3149
3234
|
}, signUpOptions?: {
|
|
3150
3235
|
customClaims?: Record<string, any>;
|
|
3236
|
+
templateId?: string;
|
|
3151
3237
|
templateOptions?: {
|
|
3152
3238
|
[x: string]: string;
|
|
3153
3239
|
};
|
|
@@ -3163,6 +3249,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
3163
3249
|
phone?: string;
|
|
3164
3250
|
}, signUpOptions?: {
|
|
3165
3251
|
customClaims?: Record<string, any>;
|
|
3252
|
+
templateId?: string;
|
|
3166
3253
|
templateOptions?: {
|
|
3167
3254
|
[x: string]: string;
|
|
3168
3255
|
};
|
|
@@ -3178,6 +3265,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
3178
3265
|
phone?: string;
|
|
3179
3266
|
}, signUpOptions?: {
|
|
3180
3267
|
customClaims?: Record<string, any>;
|
|
3268
|
+
templateId?: string;
|
|
3181
3269
|
templateOptions?: {
|
|
3182
3270
|
[x: string]: string;
|
|
3183
3271
|
};
|
|
@@ -3193,6 +3281,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
3193
3281
|
phone?: string;
|
|
3194
3282
|
}, signUpOptions?: {
|
|
3195
3283
|
customClaims?: Record<string, any>;
|
|
3284
|
+
templateId?: string;
|
|
3196
3285
|
templateOptions?: {
|
|
3197
3286
|
[x: string]: string;
|
|
3198
3287
|
};
|
|
@@ -3281,6 +3370,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
3281
3370
|
phone?: string;
|
|
3282
3371
|
}, signUpOptions?: {
|
|
3283
3372
|
customClaims?: Record<string, any>;
|
|
3373
|
+
templateId?: string;
|
|
3284
3374
|
templateOptions?: {
|
|
3285
3375
|
[x: string]: string;
|
|
3286
3376
|
};
|
|
@@ -3296,6 +3386,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
3296
3386
|
phone?: string;
|
|
3297
3387
|
}, signUpOptions?: {
|
|
3298
3388
|
customClaims?: Record<string, any>;
|
|
3389
|
+
templateId?: string;
|
|
3299
3390
|
templateOptions?: {
|
|
3300
3391
|
[x: string]: string;
|
|
3301
3392
|
};
|
|
@@ -3311,6 +3402,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
3311
3402
|
phone?: string;
|
|
3312
3403
|
}, signUpOptions?: {
|
|
3313
3404
|
customClaims?: Record<string, any>;
|
|
3405
|
+
templateId?: string;
|
|
3314
3406
|
templateOptions?: {
|
|
3315
3407
|
[x: string]: string;
|
|
3316
3408
|
};
|
|
@@ -3326,6 +3418,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
3326
3418
|
phone?: string;
|
|
3327
3419
|
}, signUpOptions?: {
|
|
3328
3420
|
customClaims?: Record<string, any>;
|
|
3421
|
+
templateId?: string;
|
|
3329
3422
|
templateOptions?: {
|
|
3330
3423
|
[x: string]: string;
|
|
3331
3424
|
};
|
|
@@ -3336,6 +3429,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
3336
3429
|
signUpOrIn: {
|
|
3337
3430
|
sms: (loginId: string, URI?: string, signUpOptions?: {
|
|
3338
3431
|
customClaims?: Record<string, any>;
|
|
3432
|
+
templateId?: string;
|
|
3339
3433
|
templateOptions?: {
|
|
3340
3434
|
[x: string]: string;
|
|
3341
3435
|
};
|
|
@@ -3344,6 +3438,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
3344
3438
|
}>>;
|
|
3345
3439
|
voice: (loginId: string, URI?: string, signUpOptions?: {
|
|
3346
3440
|
customClaims?: Record<string, any>;
|
|
3441
|
+
templateId?: string;
|
|
3347
3442
|
templateOptions?: {
|
|
3348
3443
|
[x: string]: string;
|
|
3349
3444
|
};
|
|
@@ -3352,6 +3447,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
3352
3447
|
}>>;
|
|
3353
3448
|
whatsapp: (loginId: string, URI?: string, signUpOptions?: {
|
|
3354
3449
|
customClaims?: Record<string, any>;
|
|
3450
|
+
templateId?: string;
|
|
3355
3451
|
templateOptions?: {
|
|
3356
3452
|
[x: string]: string;
|
|
3357
3453
|
};
|
|
@@ -3360,6 +3456,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
3360
3456
|
}>>;
|
|
3361
3457
|
email: (loginId: string, URI?: string, signUpOptions?: {
|
|
3362
3458
|
customClaims?: Record<string, any>;
|
|
3459
|
+
templateId?: string;
|
|
3363
3460
|
templateOptions?: {
|
|
3364
3461
|
[x: string]: string;
|
|
3365
3462
|
};
|
|
@@ -3413,6 +3510,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
3413
3510
|
signIn: (loginId: string, URI?: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<_1.EnchantedLinkResponse>>;
|
|
3414
3511
|
signUpOrIn: (loginId: string, URI?: string, signUpOptions?: {
|
|
3415
3512
|
customClaims?: Record<string, any>;
|
|
3513
|
+
templateId?: string;
|
|
3416
3514
|
templateOptions?: {
|
|
3417
3515
|
[x: string]: string;
|
|
3418
3516
|
};
|
|
@@ -3426,6 +3524,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
3426
3524
|
phone?: string;
|
|
3427
3525
|
}, signUpOptions?: {
|
|
3428
3526
|
customClaims?: Record<string, any>;
|
|
3527
|
+
templateId?: string;
|
|
3429
3528
|
templateOptions?: {
|
|
3430
3529
|
[x: string]: string;
|
|
3431
3530
|
};
|
|
@@ -3479,6 +3578,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
3479
3578
|
notp: {
|
|
3480
3579
|
signUpOrIn: (loginId?: string, signUpOptions?: {
|
|
3481
3580
|
customClaims?: Record<string, any>;
|
|
3581
|
+
templateId?: string;
|
|
3482
3582
|
templateOptions?: {
|
|
3483
3583
|
[x: string]: string;
|
|
3484
3584
|
};
|
|
@@ -3496,6 +3596,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
3496
3596
|
phone?: string;
|
|
3497
3597
|
}, signUpOptions?: {
|
|
3498
3598
|
customClaims?: Record<string, any>;
|
|
3599
|
+
templateId?: string;
|
|
3499
3600
|
templateOptions?: {
|
|
3500
3601
|
[x: string]: string;
|
|
3501
3602
|
};
|
|
@@ -3524,6 +3625,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
3524
3625
|
phone?: string;
|
|
3525
3626
|
}, signUpOptions?: {
|
|
3526
3627
|
customClaims?: Record<string, any>;
|
|
3628
|
+
templateId?: string;
|
|
3527
3629
|
templateOptions?: {
|
|
3528
3630
|
[x: string]: string;
|
|
3529
3631
|
};
|