@descope/vue-sdk 2.1.0 → 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/index.cjs +1 -1
- package/dist/index.d.ts +192 -16
- package/dist/index.mjs +1 -1
- package/package.json +10 -10
package/dist/index.d.ts
CHANGED
|
@@ -339,14 +339,19 @@ declare const useDescope: () => ((({
|
|
|
339
339
|
locale?: string;
|
|
340
340
|
oidcPrompt?: string;
|
|
341
341
|
oidcErrorRedirectUri?: string;
|
|
342
|
-
|
|
342
|
+
nativeOptions?: {
|
|
343
|
+
platform: "ios" | "android";
|
|
344
|
+
oauthProvider?: string;
|
|
345
|
+
oauthRedirect?: string;
|
|
346
|
+
};
|
|
347
|
+
}, "tenant" | "redirectUrl" | "redirectAuth" | "oidcIdpStateId" | "samlIdpStateId" | "samlIdpUsername" | "ssoAppId" | "oidcLoginHint" | "preview" | "abTestingKey" | "client" | "locale" | "oidcPrompt" | "oidcErrorRedirectUri" | "nativeOptions"> & {
|
|
343
348
|
lastAuth?: Omit<{
|
|
344
349
|
authMethod?: "webauthn" | "otp" | "oauth" | "saml" | "totp" | "magiclink" | "enchantedlink";
|
|
345
350
|
oauthProvider?: string;
|
|
346
351
|
name?: string;
|
|
347
352
|
loginId?: string;
|
|
348
353
|
}, "loginId" | "name">;
|
|
349
|
-
}, conditionInteractionId?: string, interactionId?: string,
|
|
354
|
+
}, conditionInteractionId?: string, interactionId?: string, componentsVersion?: string, flowVersions?: Record<string, number>, input?: {
|
|
350
355
|
[x: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any[])[])[])[])[])[])[])[])[])[])[];
|
|
351
356
|
}) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.FlowResponse>>;
|
|
352
357
|
next: (executionId: string, stepId: string, interactionId: string, version?: number, componentsVersion?: string, input?: {
|
|
@@ -431,6 +436,7 @@ declare const useDescope: () => ((({
|
|
|
431
436
|
phone?: string;
|
|
432
437
|
}, signUpOptions?: {
|
|
433
438
|
customClaims?: Record<string, any>;
|
|
439
|
+
templateId?: string;
|
|
434
440
|
templateOptions?: {
|
|
435
441
|
[x: string]: string;
|
|
436
442
|
};
|
|
@@ -446,6 +452,7 @@ declare const useDescope: () => ((({
|
|
|
446
452
|
phone?: string;
|
|
447
453
|
}, signUpOptions?: {
|
|
448
454
|
customClaims?: Record<string, any>;
|
|
455
|
+
templateId?: string;
|
|
449
456
|
templateOptions?: {
|
|
450
457
|
[x: string]: string;
|
|
451
458
|
};
|
|
@@ -461,6 +468,7 @@ declare const useDescope: () => ((({
|
|
|
461
468
|
phone?: string;
|
|
462
469
|
}, signUpOptions?: {
|
|
463
470
|
customClaims?: Record<string, any>;
|
|
471
|
+
templateId?: string;
|
|
464
472
|
templateOptions?: {
|
|
465
473
|
[x: string]: string;
|
|
466
474
|
};
|
|
@@ -476,6 +484,7 @@ declare const useDescope: () => ((({
|
|
|
476
484
|
phone?: string;
|
|
477
485
|
}, signUpOptions?: {
|
|
478
486
|
customClaims?: Record<string, any>;
|
|
487
|
+
templateId?: string;
|
|
479
488
|
templateOptions?: {
|
|
480
489
|
[x: string]: string;
|
|
481
490
|
};
|
|
@@ -564,6 +573,7 @@ declare const useDescope: () => ((({
|
|
|
564
573
|
phone?: string;
|
|
565
574
|
}, signUpOptions?: {
|
|
566
575
|
customClaims?: Record<string, any>;
|
|
576
|
+
templateId?: string;
|
|
567
577
|
templateOptions?: {
|
|
568
578
|
[x: string]: string;
|
|
569
579
|
};
|
|
@@ -579,6 +589,7 @@ declare const useDescope: () => ((({
|
|
|
579
589
|
phone?: string;
|
|
580
590
|
}, signUpOptions?: {
|
|
581
591
|
customClaims?: Record<string, any>;
|
|
592
|
+
templateId?: string;
|
|
582
593
|
templateOptions?: {
|
|
583
594
|
[x: string]: string;
|
|
584
595
|
};
|
|
@@ -594,6 +605,7 @@ declare const useDescope: () => ((({
|
|
|
594
605
|
phone?: string;
|
|
595
606
|
}, signUpOptions?: {
|
|
596
607
|
customClaims?: Record<string, any>;
|
|
608
|
+
templateId?: string;
|
|
597
609
|
templateOptions?: {
|
|
598
610
|
[x: string]: string;
|
|
599
611
|
};
|
|
@@ -609,6 +621,7 @@ declare const useDescope: () => ((({
|
|
|
609
621
|
phone?: string;
|
|
610
622
|
}, signUpOptions?: {
|
|
611
623
|
customClaims?: Record<string, any>;
|
|
624
|
+
templateId?: string;
|
|
612
625
|
templateOptions?: {
|
|
613
626
|
[x: string]: string;
|
|
614
627
|
};
|
|
@@ -619,6 +632,7 @@ declare const useDescope: () => ((({
|
|
|
619
632
|
signUpOrIn: {
|
|
620
633
|
sms: (loginId: string, URI?: string, signUpOptions?: {
|
|
621
634
|
customClaims?: Record<string, any>;
|
|
635
|
+
templateId?: string;
|
|
622
636
|
templateOptions?: {
|
|
623
637
|
[x: string]: string;
|
|
624
638
|
};
|
|
@@ -627,6 +641,7 @@ declare const useDescope: () => ((({
|
|
|
627
641
|
}>>;
|
|
628
642
|
voice: (loginId: string, URI?: string, signUpOptions?: {
|
|
629
643
|
customClaims?: Record<string, any>;
|
|
644
|
+
templateId?: string;
|
|
630
645
|
templateOptions?: {
|
|
631
646
|
[x: string]: string;
|
|
632
647
|
};
|
|
@@ -635,6 +650,7 @@ declare const useDescope: () => ((({
|
|
|
635
650
|
}>>;
|
|
636
651
|
whatsapp: (loginId: string, URI?: string, signUpOptions?: {
|
|
637
652
|
customClaims?: Record<string, any>;
|
|
653
|
+
templateId?: string;
|
|
638
654
|
templateOptions?: {
|
|
639
655
|
[x: string]: string;
|
|
640
656
|
};
|
|
@@ -643,6 +659,7 @@ declare const useDescope: () => ((({
|
|
|
643
659
|
}>>;
|
|
644
660
|
email: (loginId: string, URI?: string, signUpOptions?: {
|
|
645
661
|
customClaims?: Record<string, any>;
|
|
662
|
+
templateId?: string;
|
|
646
663
|
templateOptions?: {
|
|
647
664
|
[x: string]: string;
|
|
648
665
|
};
|
|
@@ -696,6 +713,7 @@ declare const useDescope: () => ((({
|
|
|
696
713
|
signIn: (loginId: string, URI?: string, loginOptions?: _descope_core_js_sdk.LoginOptions, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
|
|
697
714
|
signUpOrIn: (loginId: string, URI?: string, signUpOptions?: {
|
|
698
715
|
customClaims?: Record<string, any>;
|
|
716
|
+
templateId?: string;
|
|
699
717
|
templateOptions?: {
|
|
700
718
|
[x: string]: string;
|
|
701
719
|
};
|
|
@@ -709,6 +727,7 @@ declare const useDescope: () => ((({
|
|
|
709
727
|
phone?: string;
|
|
710
728
|
}, signUpOptions?: {
|
|
711
729
|
customClaims?: Record<string, any>;
|
|
730
|
+
templateId?: string;
|
|
712
731
|
templateOptions?: {
|
|
713
732
|
[x: string]: string;
|
|
714
733
|
};
|
|
@@ -762,6 +781,7 @@ declare const useDescope: () => ((({
|
|
|
762
781
|
notp: {
|
|
763
782
|
signUpOrIn: (loginId?: string, signUpOptions?: {
|
|
764
783
|
customClaims?: Record<string, any>;
|
|
784
|
+
templateId?: string;
|
|
765
785
|
templateOptions?: {
|
|
766
786
|
[x: string]: string;
|
|
767
787
|
};
|
|
@@ -779,6 +799,7 @@ declare const useDescope: () => ((({
|
|
|
779
799
|
phone?: string;
|
|
780
800
|
}, signUpOptions?: {
|
|
781
801
|
customClaims?: Record<string, any>;
|
|
802
|
+
templateId?: string;
|
|
782
803
|
templateOptions?: {
|
|
783
804
|
[x: string]: string;
|
|
784
805
|
};
|
|
@@ -807,6 +828,7 @@ declare const useDescope: () => ((({
|
|
|
807
828
|
phone?: string;
|
|
808
829
|
}, signUpOptions?: {
|
|
809
830
|
customClaims?: Record<string, any>;
|
|
831
|
+
templateId?: string;
|
|
810
832
|
templateOptions?: {
|
|
811
833
|
[x: string]: string;
|
|
812
834
|
};
|
|
@@ -923,14 +945,19 @@ declare const useDescope: () => ((({
|
|
|
923
945
|
locale?: string;
|
|
924
946
|
oidcPrompt?: string;
|
|
925
947
|
oidcErrorRedirectUri?: string;
|
|
926
|
-
|
|
948
|
+
nativeOptions?: {
|
|
949
|
+
platform: "ios" | "android";
|
|
950
|
+
oauthProvider?: string;
|
|
951
|
+
oauthRedirect?: string;
|
|
952
|
+
};
|
|
953
|
+
}, "tenant" | "redirectUrl" | "redirectAuth" | "oidcIdpStateId" | "samlIdpStateId" | "samlIdpUsername" | "ssoAppId" | "oidcLoginHint" | "preview" | "abTestingKey" | "client" | "locale" | "oidcPrompt" | "oidcErrorRedirectUri" | "nativeOptions"> & {
|
|
927
954
|
lastAuth?: Omit<{
|
|
928
955
|
authMethod?: "webauthn" | "otp" | "oauth" | "saml" | "totp" | "magiclink" | "enchantedlink";
|
|
929
956
|
oauthProvider?: string;
|
|
930
957
|
name?: string;
|
|
931
958
|
loginId?: string;
|
|
932
959
|
}, "loginId" | "name">;
|
|
933
|
-
}, conditionInteractionId?: string, interactionId?: string,
|
|
960
|
+
}, conditionInteractionId?: string, interactionId?: string, componentsVersion?: string, flowVersions?: Record<string, number>, input?: {
|
|
934
961
|
[x: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any[])[])[])[])[])[])[])[])[])[])[];
|
|
935
962
|
}) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.FlowResponse>>;
|
|
936
963
|
next: (executionId: string, stepId: string, interactionId: string, version?: number, componentsVersion?: string, input?: {
|
|
@@ -1015,6 +1042,7 @@ declare const useDescope: () => ((({
|
|
|
1015
1042
|
phone?: string;
|
|
1016
1043
|
}, signUpOptions?: {
|
|
1017
1044
|
customClaims?: Record<string, any>;
|
|
1045
|
+
templateId?: string;
|
|
1018
1046
|
templateOptions?: {
|
|
1019
1047
|
[x: string]: string;
|
|
1020
1048
|
};
|
|
@@ -1030,6 +1058,7 @@ declare const useDescope: () => ((({
|
|
|
1030
1058
|
phone?: string;
|
|
1031
1059
|
}, signUpOptions?: {
|
|
1032
1060
|
customClaims?: Record<string, any>;
|
|
1061
|
+
templateId?: string;
|
|
1033
1062
|
templateOptions?: {
|
|
1034
1063
|
[x: string]: string;
|
|
1035
1064
|
};
|
|
@@ -1045,6 +1074,7 @@ declare const useDescope: () => ((({
|
|
|
1045
1074
|
phone?: string;
|
|
1046
1075
|
}, signUpOptions?: {
|
|
1047
1076
|
customClaims?: Record<string, any>;
|
|
1077
|
+
templateId?: string;
|
|
1048
1078
|
templateOptions?: {
|
|
1049
1079
|
[x: string]: string;
|
|
1050
1080
|
};
|
|
@@ -1060,6 +1090,7 @@ declare const useDescope: () => ((({
|
|
|
1060
1090
|
phone?: string;
|
|
1061
1091
|
}, signUpOptions?: {
|
|
1062
1092
|
customClaims?: Record<string, any>;
|
|
1093
|
+
templateId?: string;
|
|
1063
1094
|
templateOptions?: {
|
|
1064
1095
|
[x: string]: string;
|
|
1065
1096
|
};
|
|
@@ -1148,6 +1179,7 @@ declare const useDescope: () => ((({
|
|
|
1148
1179
|
phone?: string;
|
|
1149
1180
|
}, signUpOptions?: {
|
|
1150
1181
|
customClaims?: Record<string, any>;
|
|
1182
|
+
templateId?: string;
|
|
1151
1183
|
templateOptions?: {
|
|
1152
1184
|
[x: string]: string;
|
|
1153
1185
|
};
|
|
@@ -1163,6 +1195,7 @@ declare const useDescope: () => ((({
|
|
|
1163
1195
|
phone?: string;
|
|
1164
1196
|
}, signUpOptions?: {
|
|
1165
1197
|
customClaims?: Record<string, any>;
|
|
1198
|
+
templateId?: string;
|
|
1166
1199
|
templateOptions?: {
|
|
1167
1200
|
[x: string]: string;
|
|
1168
1201
|
};
|
|
@@ -1178,6 +1211,7 @@ declare const useDescope: () => ((({
|
|
|
1178
1211
|
phone?: string;
|
|
1179
1212
|
}, signUpOptions?: {
|
|
1180
1213
|
customClaims?: Record<string, any>;
|
|
1214
|
+
templateId?: string;
|
|
1181
1215
|
templateOptions?: {
|
|
1182
1216
|
[x: string]: string;
|
|
1183
1217
|
};
|
|
@@ -1193,6 +1227,7 @@ declare const useDescope: () => ((({
|
|
|
1193
1227
|
phone?: string;
|
|
1194
1228
|
}, signUpOptions?: {
|
|
1195
1229
|
customClaims?: Record<string, any>;
|
|
1230
|
+
templateId?: string;
|
|
1196
1231
|
templateOptions?: {
|
|
1197
1232
|
[x: string]: string;
|
|
1198
1233
|
};
|
|
@@ -1203,6 +1238,7 @@ declare const useDescope: () => ((({
|
|
|
1203
1238
|
signUpOrIn: {
|
|
1204
1239
|
sms: (loginId: string, URI?: string, signUpOptions?: {
|
|
1205
1240
|
customClaims?: Record<string, any>;
|
|
1241
|
+
templateId?: string;
|
|
1206
1242
|
templateOptions?: {
|
|
1207
1243
|
[x: string]: string;
|
|
1208
1244
|
};
|
|
@@ -1211,6 +1247,7 @@ declare const useDescope: () => ((({
|
|
|
1211
1247
|
}>>;
|
|
1212
1248
|
voice: (loginId: string, URI?: string, signUpOptions?: {
|
|
1213
1249
|
customClaims?: Record<string, any>;
|
|
1250
|
+
templateId?: string;
|
|
1214
1251
|
templateOptions?: {
|
|
1215
1252
|
[x: string]: string;
|
|
1216
1253
|
};
|
|
@@ -1219,6 +1256,7 @@ declare const useDescope: () => ((({
|
|
|
1219
1256
|
}>>;
|
|
1220
1257
|
whatsapp: (loginId: string, URI?: string, signUpOptions?: {
|
|
1221
1258
|
customClaims?: Record<string, any>;
|
|
1259
|
+
templateId?: string;
|
|
1222
1260
|
templateOptions?: {
|
|
1223
1261
|
[x: string]: string;
|
|
1224
1262
|
};
|
|
@@ -1227,6 +1265,7 @@ declare const useDescope: () => ((({
|
|
|
1227
1265
|
}>>;
|
|
1228
1266
|
email: (loginId: string, URI?: string, signUpOptions?: {
|
|
1229
1267
|
customClaims?: Record<string, any>;
|
|
1268
|
+
templateId?: string;
|
|
1230
1269
|
templateOptions?: {
|
|
1231
1270
|
[x: string]: string;
|
|
1232
1271
|
};
|
|
@@ -1280,6 +1319,7 @@ declare const useDescope: () => ((({
|
|
|
1280
1319
|
signIn: (loginId: string, URI?: string, loginOptions?: _descope_core_js_sdk.LoginOptions, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
|
|
1281
1320
|
signUpOrIn: (loginId: string, URI?: string, signUpOptions?: {
|
|
1282
1321
|
customClaims?: Record<string, any>;
|
|
1322
|
+
templateId?: string;
|
|
1283
1323
|
templateOptions?: {
|
|
1284
1324
|
[x: string]: string;
|
|
1285
1325
|
};
|
|
@@ -1293,6 +1333,7 @@ declare const useDescope: () => ((({
|
|
|
1293
1333
|
phone?: string;
|
|
1294
1334
|
}, signUpOptions?: {
|
|
1295
1335
|
customClaims?: Record<string, any>;
|
|
1336
|
+
templateId?: string;
|
|
1296
1337
|
templateOptions?: {
|
|
1297
1338
|
[x: string]: string;
|
|
1298
1339
|
};
|
|
@@ -1346,6 +1387,7 @@ declare const useDescope: () => ((({
|
|
|
1346
1387
|
notp: {
|
|
1347
1388
|
signUpOrIn: (loginId?: string, signUpOptions?: {
|
|
1348
1389
|
customClaims?: Record<string, any>;
|
|
1390
|
+
templateId?: string;
|
|
1349
1391
|
templateOptions?: {
|
|
1350
1392
|
[x: string]: string;
|
|
1351
1393
|
};
|
|
@@ -1363,6 +1405,7 @@ declare const useDescope: () => ((({
|
|
|
1363
1405
|
phone?: string;
|
|
1364
1406
|
}, signUpOptions?: {
|
|
1365
1407
|
customClaims?: Record<string, any>;
|
|
1408
|
+
templateId?: string;
|
|
1366
1409
|
templateOptions?: {
|
|
1367
1410
|
[x: string]: string;
|
|
1368
1411
|
};
|
|
@@ -1391,6 +1434,7 @@ declare const useDescope: () => ((({
|
|
|
1391
1434
|
phone?: string;
|
|
1392
1435
|
}, signUpOptions?: {
|
|
1393
1436
|
customClaims?: Record<string, any>;
|
|
1437
|
+
templateId?: string;
|
|
1394
1438
|
templateOptions?: {
|
|
1395
1439
|
[x: string]: string;
|
|
1396
1440
|
};
|
|
@@ -1513,14 +1557,19 @@ declare const useDescope: () => ((({
|
|
|
1513
1557
|
locale?: string;
|
|
1514
1558
|
oidcPrompt?: string;
|
|
1515
1559
|
oidcErrorRedirectUri?: string;
|
|
1516
|
-
|
|
1560
|
+
nativeOptions?: {
|
|
1561
|
+
platform: "ios" | "android";
|
|
1562
|
+
oauthProvider?: string;
|
|
1563
|
+
oauthRedirect?: string;
|
|
1564
|
+
};
|
|
1565
|
+
}, "tenant" | "redirectUrl" | "redirectAuth" | "oidcIdpStateId" | "samlIdpStateId" | "samlIdpUsername" | "ssoAppId" | "oidcLoginHint" | "preview" | "abTestingKey" | "client" | "locale" | "oidcPrompt" | "oidcErrorRedirectUri" | "nativeOptions"> & {
|
|
1517
1566
|
lastAuth?: Omit<{
|
|
1518
1567
|
authMethod?: "webauthn" | "otp" | "oauth" | "saml" | "totp" | "magiclink" | "enchantedlink";
|
|
1519
1568
|
oauthProvider?: string;
|
|
1520
1569
|
name?: string;
|
|
1521
1570
|
loginId?: string;
|
|
1522
1571
|
}, "loginId" | "name">;
|
|
1523
|
-
}, conditionInteractionId?: string, interactionId?: string,
|
|
1572
|
+
}, conditionInteractionId?: string, interactionId?: string, componentsVersion?: string, flowVersions?: Record<string, number>, input?: {
|
|
1524
1573
|
[x: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any[])[])[])[])[])[])[])[])[])[])[];
|
|
1525
1574
|
}) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.FlowResponse>>;
|
|
1526
1575
|
next: (executionId: string, stepId: string, interactionId: string, version?: number, componentsVersion?: string, input?: {
|
|
@@ -1605,6 +1654,7 @@ declare const useDescope: () => ((({
|
|
|
1605
1654
|
phone?: string;
|
|
1606
1655
|
}, signUpOptions?: {
|
|
1607
1656
|
customClaims?: Record<string, any>;
|
|
1657
|
+
templateId?: string;
|
|
1608
1658
|
templateOptions?: {
|
|
1609
1659
|
[x: string]: string;
|
|
1610
1660
|
};
|
|
@@ -1620,6 +1670,7 @@ declare const useDescope: () => ((({
|
|
|
1620
1670
|
phone?: string;
|
|
1621
1671
|
}, signUpOptions?: {
|
|
1622
1672
|
customClaims?: Record<string, any>;
|
|
1673
|
+
templateId?: string;
|
|
1623
1674
|
templateOptions?: {
|
|
1624
1675
|
[x: string]: string;
|
|
1625
1676
|
};
|
|
@@ -1635,6 +1686,7 @@ declare const useDescope: () => ((({
|
|
|
1635
1686
|
phone?: string;
|
|
1636
1687
|
}, signUpOptions?: {
|
|
1637
1688
|
customClaims?: Record<string, any>;
|
|
1689
|
+
templateId?: string;
|
|
1638
1690
|
templateOptions?: {
|
|
1639
1691
|
[x: string]: string;
|
|
1640
1692
|
};
|
|
@@ -1650,6 +1702,7 @@ declare const useDescope: () => ((({
|
|
|
1650
1702
|
phone?: string;
|
|
1651
1703
|
}, signUpOptions?: {
|
|
1652
1704
|
customClaims?: Record<string, any>;
|
|
1705
|
+
templateId?: string;
|
|
1653
1706
|
templateOptions?: {
|
|
1654
1707
|
[x: string]: string;
|
|
1655
1708
|
};
|
|
@@ -1738,6 +1791,7 @@ declare const useDescope: () => ((({
|
|
|
1738
1791
|
phone?: string;
|
|
1739
1792
|
}, signUpOptions?: {
|
|
1740
1793
|
customClaims?: Record<string, any>;
|
|
1794
|
+
templateId?: string;
|
|
1741
1795
|
templateOptions?: {
|
|
1742
1796
|
[x: string]: string;
|
|
1743
1797
|
};
|
|
@@ -1753,6 +1807,7 @@ declare const useDescope: () => ((({
|
|
|
1753
1807
|
phone?: string;
|
|
1754
1808
|
}, signUpOptions?: {
|
|
1755
1809
|
customClaims?: Record<string, any>;
|
|
1810
|
+
templateId?: string;
|
|
1756
1811
|
templateOptions?: {
|
|
1757
1812
|
[x: string]: string;
|
|
1758
1813
|
};
|
|
@@ -1768,6 +1823,7 @@ declare const useDescope: () => ((({
|
|
|
1768
1823
|
phone?: string;
|
|
1769
1824
|
}, signUpOptions?: {
|
|
1770
1825
|
customClaims?: Record<string, any>;
|
|
1826
|
+
templateId?: string;
|
|
1771
1827
|
templateOptions?: {
|
|
1772
1828
|
[x: string]: string;
|
|
1773
1829
|
};
|
|
@@ -1783,6 +1839,7 @@ declare const useDescope: () => ((({
|
|
|
1783
1839
|
phone?: string;
|
|
1784
1840
|
}, signUpOptions?: {
|
|
1785
1841
|
customClaims?: Record<string, any>;
|
|
1842
|
+
templateId?: string;
|
|
1786
1843
|
templateOptions?: {
|
|
1787
1844
|
[x: string]: string;
|
|
1788
1845
|
};
|
|
@@ -1793,6 +1850,7 @@ declare const useDescope: () => ((({
|
|
|
1793
1850
|
signUpOrIn: {
|
|
1794
1851
|
sms: (loginId: string, URI?: string, signUpOptions?: {
|
|
1795
1852
|
customClaims?: Record<string, any>;
|
|
1853
|
+
templateId?: string;
|
|
1796
1854
|
templateOptions?: {
|
|
1797
1855
|
[x: string]: string;
|
|
1798
1856
|
};
|
|
@@ -1801,6 +1859,7 @@ declare const useDescope: () => ((({
|
|
|
1801
1859
|
}>>;
|
|
1802
1860
|
voice: (loginId: string, URI?: string, signUpOptions?: {
|
|
1803
1861
|
customClaims?: Record<string, any>;
|
|
1862
|
+
templateId?: string;
|
|
1804
1863
|
templateOptions?: {
|
|
1805
1864
|
[x: string]: string;
|
|
1806
1865
|
};
|
|
@@ -1809,6 +1868,7 @@ declare const useDescope: () => ((({
|
|
|
1809
1868
|
}>>;
|
|
1810
1869
|
whatsapp: (loginId: string, URI?: string, signUpOptions?: {
|
|
1811
1870
|
customClaims?: Record<string, any>;
|
|
1871
|
+
templateId?: string;
|
|
1812
1872
|
templateOptions?: {
|
|
1813
1873
|
[x: string]: string;
|
|
1814
1874
|
};
|
|
@@ -1817,6 +1877,7 @@ declare const useDescope: () => ((({
|
|
|
1817
1877
|
}>>;
|
|
1818
1878
|
email: (loginId: string, URI?: string, signUpOptions?: {
|
|
1819
1879
|
customClaims?: Record<string, any>;
|
|
1880
|
+
templateId?: string;
|
|
1820
1881
|
templateOptions?: {
|
|
1821
1882
|
[x: string]: string;
|
|
1822
1883
|
};
|
|
@@ -1870,6 +1931,7 @@ declare const useDescope: () => ((({
|
|
|
1870
1931
|
signIn: (loginId: string, URI?: string, loginOptions?: _descope_core_js_sdk.LoginOptions, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
|
|
1871
1932
|
signUpOrIn: (loginId: string, URI?: string, signUpOptions?: {
|
|
1872
1933
|
customClaims?: Record<string, any>;
|
|
1934
|
+
templateId?: string;
|
|
1873
1935
|
templateOptions?: {
|
|
1874
1936
|
[x: string]: string;
|
|
1875
1937
|
};
|
|
@@ -1883,6 +1945,7 @@ declare const useDescope: () => ((({
|
|
|
1883
1945
|
phone?: string;
|
|
1884
1946
|
}, signUpOptions?: {
|
|
1885
1947
|
customClaims?: Record<string, any>;
|
|
1948
|
+
templateId?: string;
|
|
1886
1949
|
templateOptions?: {
|
|
1887
1950
|
[x: string]: string;
|
|
1888
1951
|
};
|
|
@@ -1936,6 +1999,7 @@ declare const useDescope: () => ((({
|
|
|
1936
1999
|
notp: {
|
|
1937
2000
|
signUpOrIn: (loginId?: string, signUpOptions?: {
|
|
1938
2001
|
customClaims?: Record<string, any>;
|
|
2002
|
+
templateId?: string;
|
|
1939
2003
|
templateOptions?: {
|
|
1940
2004
|
[x: string]: string;
|
|
1941
2005
|
};
|
|
@@ -1953,6 +2017,7 @@ declare const useDescope: () => ((({
|
|
|
1953
2017
|
phone?: string;
|
|
1954
2018
|
}, signUpOptions?: {
|
|
1955
2019
|
customClaims?: Record<string, any>;
|
|
2020
|
+
templateId?: string;
|
|
1956
2021
|
templateOptions?: {
|
|
1957
2022
|
[x: string]: string;
|
|
1958
2023
|
};
|
|
@@ -1981,6 +2046,7 @@ declare const useDescope: () => ((({
|
|
|
1981
2046
|
phone?: string;
|
|
1982
2047
|
}, signUpOptions?: {
|
|
1983
2048
|
customClaims?: Record<string, any>;
|
|
2049
|
+
templateId?: string;
|
|
1984
2050
|
templateOptions?: {
|
|
1985
2051
|
[x: string]: string;
|
|
1986
2052
|
};
|
|
@@ -2097,14 +2163,19 @@ declare const useDescope: () => ((({
|
|
|
2097
2163
|
locale?: string;
|
|
2098
2164
|
oidcPrompt?: string;
|
|
2099
2165
|
oidcErrorRedirectUri?: string;
|
|
2100
|
-
|
|
2166
|
+
nativeOptions?: {
|
|
2167
|
+
platform: "ios" | "android";
|
|
2168
|
+
oauthProvider?: string;
|
|
2169
|
+
oauthRedirect?: string;
|
|
2170
|
+
};
|
|
2171
|
+
}, "tenant" | "redirectUrl" | "redirectAuth" | "oidcIdpStateId" | "samlIdpStateId" | "samlIdpUsername" | "ssoAppId" | "oidcLoginHint" | "preview" | "abTestingKey" | "client" | "locale" | "oidcPrompt" | "oidcErrorRedirectUri" | "nativeOptions"> & {
|
|
2101
2172
|
lastAuth?: Omit<{
|
|
2102
2173
|
authMethod?: "webauthn" | "otp" | "oauth" | "saml" | "totp" | "magiclink" | "enchantedlink";
|
|
2103
2174
|
oauthProvider?: string;
|
|
2104
2175
|
name?: string;
|
|
2105
2176
|
loginId?: string;
|
|
2106
2177
|
}, "loginId" | "name">;
|
|
2107
|
-
}, conditionInteractionId?: string, interactionId?: string,
|
|
2178
|
+
}, conditionInteractionId?: string, interactionId?: string, componentsVersion?: string, flowVersions?: Record<string, number>, input?: {
|
|
2108
2179
|
[x: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any[])[])[])[])[])[])[])[])[])[])[];
|
|
2109
2180
|
}) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.FlowResponse>>;
|
|
2110
2181
|
next: (executionId: string, stepId: string, interactionId: string, version?: number, componentsVersion?: string, input?: {
|
|
@@ -2189,6 +2260,7 @@ declare const useDescope: () => ((({
|
|
|
2189
2260
|
phone?: string;
|
|
2190
2261
|
}, signUpOptions?: {
|
|
2191
2262
|
customClaims?: Record<string, any>;
|
|
2263
|
+
templateId?: string;
|
|
2192
2264
|
templateOptions?: {
|
|
2193
2265
|
[x: string]: string;
|
|
2194
2266
|
};
|
|
@@ -2204,6 +2276,7 @@ declare const useDescope: () => ((({
|
|
|
2204
2276
|
phone?: string;
|
|
2205
2277
|
}, signUpOptions?: {
|
|
2206
2278
|
customClaims?: Record<string, any>;
|
|
2279
|
+
templateId?: string;
|
|
2207
2280
|
templateOptions?: {
|
|
2208
2281
|
[x: string]: string;
|
|
2209
2282
|
};
|
|
@@ -2219,6 +2292,7 @@ declare const useDescope: () => ((({
|
|
|
2219
2292
|
phone?: string;
|
|
2220
2293
|
}, signUpOptions?: {
|
|
2221
2294
|
customClaims?: Record<string, any>;
|
|
2295
|
+
templateId?: string;
|
|
2222
2296
|
templateOptions?: {
|
|
2223
2297
|
[x: string]: string;
|
|
2224
2298
|
};
|
|
@@ -2234,6 +2308,7 @@ declare const useDescope: () => ((({
|
|
|
2234
2308
|
phone?: string;
|
|
2235
2309
|
}, signUpOptions?: {
|
|
2236
2310
|
customClaims?: Record<string, any>;
|
|
2311
|
+
templateId?: string;
|
|
2237
2312
|
templateOptions?: {
|
|
2238
2313
|
[x: string]: string;
|
|
2239
2314
|
};
|
|
@@ -2322,6 +2397,7 @@ declare const useDescope: () => ((({
|
|
|
2322
2397
|
phone?: string;
|
|
2323
2398
|
}, signUpOptions?: {
|
|
2324
2399
|
customClaims?: Record<string, any>;
|
|
2400
|
+
templateId?: string;
|
|
2325
2401
|
templateOptions?: {
|
|
2326
2402
|
[x: string]: string;
|
|
2327
2403
|
};
|
|
@@ -2337,6 +2413,7 @@ declare const useDescope: () => ((({
|
|
|
2337
2413
|
phone?: string;
|
|
2338
2414
|
}, signUpOptions?: {
|
|
2339
2415
|
customClaims?: Record<string, any>;
|
|
2416
|
+
templateId?: string;
|
|
2340
2417
|
templateOptions?: {
|
|
2341
2418
|
[x: string]: string;
|
|
2342
2419
|
};
|
|
@@ -2352,6 +2429,7 @@ declare const useDescope: () => ((({
|
|
|
2352
2429
|
phone?: string;
|
|
2353
2430
|
}, signUpOptions?: {
|
|
2354
2431
|
customClaims?: Record<string, any>;
|
|
2432
|
+
templateId?: string;
|
|
2355
2433
|
templateOptions?: {
|
|
2356
2434
|
[x: string]: string;
|
|
2357
2435
|
};
|
|
@@ -2367,6 +2445,7 @@ declare const useDescope: () => ((({
|
|
|
2367
2445
|
phone?: string;
|
|
2368
2446
|
}, signUpOptions?: {
|
|
2369
2447
|
customClaims?: Record<string, any>;
|
|
2448
|
+
templateId?: string;
|
|
2370
2449
|
templateOptions?: {
|
|
2371
2450
|
[x: string]: string;
|
|
2372
2451
|
};
|
|
@@ -2377,6 +2456,7 @@ declare const useDescope: () => ((({
|
|
|
2377
2456
|
signUpOrIn: {
|
|
2378
2457
|
sms: (loginId: string, URI?: string, signUpOptions?: {
|
|
2379
2458
|
customClaims?: Record<string, any>;
|
|
2459
|
+
templateId?: string;
|
|
2380
2460
|
templateOptions?: {
|
|
2381
2461
|
[x: string]: string;
|
|
2382
2462
|
};
|
|
@@ -2385,6 +2465,7 @@ declare const useDescope: () => ((({
|
|
|
2385
2465
|
}>>;
|
|
2386
2466
|
voice: (loginId: string, URI?: string, signUpOptions?: {
|
|
2387
2467
|
customClaims?: Record<string, any>;
|
|
2468
|
+
templateId?: string;
|
|
2388
2469
|
templateOptions?: {
|
|
2389
2470
|
[x: string]: string;
|
|
2390
2471
|
};
|
|
@@ -2393,6 +2474,7 @@ declare const useDescope: () => ((({
|
|
|
2393
2474
|
}>>;
|
|
2394
2475
|
whatsapp: (loginId: string, URI?: string, signUpOptions?: {
|
|
2395
2476
|
customClaims?: Record<string, any>;
|
|
2477
|
+
templateId?: string;
|
|
2396
2478
|
templateOptions?: {
|
|
2397
2479
|
[x: string]: string;
|
|
2398
2480
|
};
|
|
@@ -2401,6 +2483,7 @@ declare const useDescope: () => ((({
|
|
|
2401
2483
|
}>>;
|
|
2402
2484
|
email: (loginId: string, URI?: string, signUpOptions?: {
|
|
2403
2485
|
customClaims?: Record<string, any>;
|
|
2486
|
+
templateId?: string;
|
|
2404
2487
|
templateOptions?: {
|
|
2405
2488
|
[x: string]: string;
|
|
2406
2489
|
};
|
|
@@ -2454,6 +2537,7 @@ declare const useDescope: () => ((({
|
|
|
2454
2537
|
signIn: (loginId: string, URI?: string, loginOptions?: _descope_core_js_sdk.LoginOptions, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
|
|
2455
2538
|
signUpOrIn: (loginId: string, URI?: string, signUpOptions?: {
|
|
2456
2539
|
customClaims?: Record<string, any>;
|
|
2540
|
+
templateId?: string;
|
|
2457
2541
|
templateOptions?: {
|
|
2458
2542
|
[x: string]: string;
|
|
2459
2543
|
};
|
|
@@ -2467,6 +2551,7 @@ declare const useDescope: () => ((({
|
|
|
2467
2551
|
phone?: string;
|
|
2468
2552
|
}, signUpOptions?: {
|
|
2469
2553
|
customClaims?: Record<string, any>;
|
|
2554
|
+
templateId?: string;
|
|
2470
2555
|
templateOptions?: {
|
|
2471
2556
|
[x: string]: string;
|
|
2472
2557
|
};
|
|
@@ -2520,6 +2605,7 @@ declare const useDescope: () => ((({
|
|
|
2520
2605
|
notp: {
|
|
2521
2606
|
signUpOrIn: (loginId?: string, signUpOptions?: {
|
|
2522
2607
|
customClaims?: Record<string, any>;
|
|
2608
|
+
templateId?: string;
|
|
2523
2609
|
templateOptions?: {
|
|
2524
2610
|
[x: string]: string;
|
|
2525
2611
|
};
|
|
@@ -2537,6 +2623,7 @@ declare const useDescope: () => ((({
|
|
|
2537
2623
|
phone?: string;
|
|
2538
2624
|
}, signUpOptions?: {
|
|
2539
2625
|
customClaims?: Record<string, any>;
|
|
2626
|
+
templateId?: string;
|
|
2540
2627
|
templateOptions?: {
|
|
2541
2628
|
[x: string]: string;
|
|
2542
2629
|
};
|
|
@@ -2565,6 +2652,7 @@ declare const useDescope: () => ((({
|
|
|
2565
2652
|
phone?: string;
|
|
2566
2653
|
}, signUpOptions?: {
|
|
2567
2654
|
customClaims?: Record<string, any>;
|
|
2655
|
+
templateId?: string;
|
|
2568
2656
|
templateOptions?: {
|
|
2569
2657
|
[x: string]: string;
|
|
2570
2658
|
};
|
|
@@ -2707,14 +2795,19 @@ declare const getSdk: () => ((({
|
|
|
2707
2795
|
locale?: string;
|
|
2708
2796
|
oidcPrompt?: string;
|
|
2709
2797
|
oidcErrorRedirectUri?: string;
|
|
2710
|
-
|
|
2798
|
+
nativeOptions?: {
|
|
2799
|
+
platform: "ios" | "android";
|
|
2800
|
+
oauthProvider?: string;
|
|
2801
|
+
oauthRedirect?: string;
|
|
2802
|
+
};
|
|
2803
|
+
}, "tenant" | "redirectUrl" | "redirectAuth" | "oidcIdpStateId" | "samlIdpStateId" | "samlIdpUsername" | "ssoAppId" | "oidcLoginHint" | "preview" | "abTestingKey" | "client" | "locale" | "oidcPrompt" | "oidcErrorRedirectUri" | "nativeOptions"> & {
|
|
2711
2804
|
lastAuth?: Omit<{
|
|
2712
2805
|
authMethod?: "webauthn" | "otp" | "oauth" | "saml" | "totp" | "magiclink" | "enchantedlink";
|
|
2713
2806
|
oauthProvider?: string;
|
|
2714
2807
|
name?: string;
|
|
2715
2808
|
loginId?: string;
|
|
2716
2809
|
}, "loginId" | "name">;
|
|
2717
|
-
}, conditionInteractionId?: string, interactionId?: string,
|
|
2810
|
+
}, conditionInteractionId?: string, interactionId?: string, componentsVersion?: string, flowVersions?: Record<string, number>, input?: {
|
|
2718
2811
|
[x: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any[])[])[])[])[])[])[])[])[])[])[];
|
|
2719
2812
|
}) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.FlowResponse>>;
|
|
2720
2813
|
next: (executionId: string, stepId: string, interactionId: string, version?: number, componentsVersion?: string, input?: {
|
|
@@ -2799,6 +2892,7 @@ declare const getSdk: () => ((({
|
|
|
2799
2892
|
phone?: string;
|
|
2800
2893
|
}, signUpOptions?: {
|
|
2801
2894
|
customClaims?: Record<string, any>;
|
|
2895
|
+
templateId?: string;
|
|
2802
2896
|
templateOptions?: {
|
|
2803
2897
|
[x: string]: string;
|
|
2804
2898
|
};
|
|
@@ -2814,6 +2908,7 @@ declare const getSdk: () => ((({
|
|
|
2814
2908
|
phone?: string;
|
|
2815
2909
|
}, signUpOptions?: {
|
|
2816
2910
|
customClaims?: Record<string, any>;
|
|
2911
|
+
templateId?: string;
|
|
2817
2912
|
templateOptions?: {
|
|
2818
2913
|
[x: string]: string;
|
|
2819
2914
|
};
|
|
@@ -2829,6 +2924,7 @@ declare const getSdk: () => ((({
|
|
|
2829
2924
|
phone?: string;
|
|
2830
2925
|
}, signUpOptions?: {
|
|
2831
2926
|
customClaims?: Record<string, any>;
|
|
2927
|
+
templateId?: string;
|
|
2832
2928
|
templateOptions?: {
|
|
2833
2929
|
[x: string]: string;
|
|
2834
2930
|
};
|
|
@@ -2844,6 +2940,7 @@ declare const getSdk: () => ((({
|
|
|
2844
2940
|
phone?: string;
|
|
2845
2941
|
}, signUpOptions?: {
|
|
2846
2942
|
customClaims?: Record<string, any>;
|
|
2943
|
+
templateId?: string;
|
|
2847
2944
|
templateOptions?: {
|
|
2848
2945
|
[x: string]: string;
|
|
2849
2946
|
};
|
|
@@ -2932,6 +3029,7 @@ declare const getSdk: () => ((({
|
|
|
2932
3029
|
phone?: string;
|
|
2933
3030
|
}, signUpOptions?: {
|
|
2934
3031
|
customClaims?: Record<string, any>;
|
|
3032
|
+
templateId?: string;
|
|
2935
3033
|
templateOptions?: {
|
|
2936
3034
|
[x: string]: string;
|
|
2937
3035
|
};
|
|
@@ -2947,6 +3045,7 @@ declare const getSdk: () => ((({
|
|
|
2947
3045
|
phone?: string;
|
|
2948
3046
|
}, signUpOptions?: {
|
|
2949
3047
|
customClaims?: Record<string, any>;
|
|
3048
|
+
templateId?: string;
|
|
2950
3049
|
templateOptions?: {
|
|
2951
3050
|
[x: string]: string;
|
|
2952
3051
|
};
|
|
@@ -2962,6 +3061,7 @@ declare const getSdk: () => ((({
|
|
|
2962
3061
|
phone?: string;
|
|
2963
3062
|
}, signUpOptions?: {
|
|
2964
3063
|
customClaims?: Record<string, any>;
|
|
3064
|
+
templateId?: string;
|
|
2965
3065
|
templateOptions?: {
|
|
2966
3066
|
[x: string]: string;
|
|
2967
3067
|
};
|
|
@@ -2977,6 +3077,7 @@ declare const getSdk: () => ((({
|
|
|
2977
3077
|
phone?: string;
|
|
2978
3078
|
}, signUpOptions?: {
|
|
2979
3079
|
customClaims?: Record<string, any>;
|
|
3080
|
+
templateId?: string;
|
|
2980
3081
|
templateOptions?: {
|
|
2981
3082
|
[x: string]: string;
|
|
2982
3083
|
};
|
|
@@ -2987,6 +3088,7 @@ declare const getSdk: () => ((({
|
|
|
2987
3088
|
signUpOrIn: {
|
|
2988
3089
|
sms: (loginId: string, URI?: string, signUpOptions?: {
|
|
2989
3090
|
customClaims?: Record<string, any>;
|
|
3091
|
+
templateId?: string;
|
|
2990
3092
|
templateOptions?: {
|
|
2991
3093
|
[x: string]: string;
|
|
2992
3094
|
};
|
|
@@ -2995,6 +3097,7 @@ declare const getSdk: () => ((({
|
|
|
2995
3097
|
}>>;
|
|
2996
3098
|
voice: (loginId: string, URI?: string, signUpOptions?: {
|
|
2997
3099
|
customClaims?: Record<string, any>;
|
|
3100
|
+
templateId?: string;
|
|
2998
3101
|
templateOptions?: {
|
|
2999
3102
|
[x: string]: string;
|
|
3000
3103
|
};
|
|
@@ -3003,6 +3106,7 @@ declare const getSdk: () => ((({
|
|
|
3003
3106
|
}>>;
|
|
3004
3107
|
whatsapp: (loginId: string, URI?: string, signUpOptions?: {
|
|
3005
3108
|
customClaims?: Record<string, any>;
|
|
3109
|
+
templateId?: string;
|
|
3006
3110
|
templateOptions?: {
|
|
3007
3111
|
[x: string]: string;
|
|
3008
3112
|
};
|
|
@@ -3011,6 +3115,7 @@ declare const getSdk: () => ((({
|
|
|
3011
3115
|
}>>;
|
|
3012
3116
|
email: (loginId: string, URI?: string, signUpOptions?: {
|
|
3013
3117
|
customClaims?: Record<string, any>;
|
|
3118
|
+
templateId?: string;
|
|
3014
3119
|
templateOptions?: {
|
|
3015
3120
|
[x: string]: string;
|
|
3016
3121
|
};
|
|
@@ -3064,6 +3169,7 @@ declare const getSdk: () => ((({
|
|
|
3064
3169
|
signIn: (loginId: string, URI?: string, loginOptions?: _descope_core_js_sdk.LoginOptions, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
|
|
3065
3170
|
signUpOrIn: (loginId: string, URI?: string, signUpOptions?: {
|
|
3066
3171
|
customClaims?: Record<string, any>;
|
|
3172
|
+
templateId?: string;
|
|
3067
3173
|
templateOptions?: {
|
|
3068
3174
|
[x: string]: string;
|
|
3069
3175
|
};
|
|
@@ -3077,6 +3183,7 @@ declare const getSdk: () => ((({
|
|
|
3077
3183
|
phone?: string;
|
|
3078
3184
|
}, signUpOptions?: {
|
|
3079
3185
|
customClaims?: Record<string, any>;
|
|
3186
|
+
templateId?: string;
|
|
3080
3187
|
templateOptions?: {
|
|
3081
3188
|
[x: string]: string;
|
|
3082
3189
|
};
|
|
@@ -3130,6 +3237,7 @@ declare const getSdk: () => ((({
|
|
|
3130
3237
|
notp: {
|
|
3131
3238
|
signUpOrIn: (loginId?: string, signUpOptions?: {
|
|
3132
3239
|
customClaims?: Record<string, any>;
|
|
3240
|
+
templateId?: string;
|
|
3133
3241
|
templateOptions?: {
|
|
3134
3242
|
[x: string]: string;
|
|
3135
3243
|
};
|
|
@@ -3147,6 +3255,7 @@ declare const getSdk: () => ((({
|
|
|
3147
3255
|
phone?: string;
|
|
3148
3256
|
}, signUpOptions?: {
|
|
3149
3257
|
customClaims?: Record<string, any>;
|
|
3258
|
+
templateId?: string;
|
|
3150
3259
|
templateOptions?: {
|
|
3151
3260
|
[x: string]: string;
|
|
3152
3261
|
};
|
|
@@ -3175,6 +3284,7 @@ declare const getSdk: () => ((({
|
|
|
3175
3284
|
phone?: string;
|
|
3176
3285
|
}, signUpOptions?: {
|
|
3177
3286
|
customClaims?: Record<string, any>;
|
|
3287
|
+
templateId?: string;
|
|
3178
3288
|
templateOptions?: {
|
|
3179
3289
|
[x: string]: string;
|
|
3180
3290
|
};
|
|
@@ -3291,14 +3401,19 @@ declare const getSdk: () => ((({
|
|
|
3291
3401
|
locale?: string;
|
|
3292
3402
|
oidcPrompt?: string;
|
|
3293
3403
|
oidcErrorRedirectUri?: string;
|
|
3294
|
-
|
|
3404
|
+
nativeOptions?: {
|
|
3405
|
+
platform: "ios" | "android";
|
|
3406
|
+
oauthProvider?: string;
|
|
3407
|
+
oauthRedirect?: string;
|
|
3408
|
+
};
|
|
3409
|
+
}, "tenant" | "redirectUrl" | "redirectAuth" | "oidcIdpStateId" | "samlIdpStateId" | "samlIdpUsername" | "ssoAppId" | "oidcLoginHint" | "preview" | "abTestingKey" | "client" | "locale" | "oidcPrompt" | "oidcErrorRedirectUri" | "nativeOptions"> & {
|
|
3295
3410
|
lastAuth?: Omit<{
|
|
3296
3411
|
authMethod?: "webauthn" | "otp" | "oauth" | "saml" | "totp" | "magiclink" | "enchantedlink";
|
|
3297
3412
|
oauthProvider?: string;
|
|
3298
3413
|
name?: string;
|
|
3299
3414
|
loginId?: string;
|
|
3300
3415
|
}, "loginId" | "name">;
|
|
3301
|
-
}, conditionInteractionId?: string, interactionId?: string,
|
|
3416
|
+
}, conditionInteractionId?: string, interactionId?: string, componentsVersion?: string, flowVersions?: Record<string, number>, input?: {
|
|
3302
3417
|
[x: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any[])[])[])[])[])[])[])[])[])[])[];
|
|
3303
3418
|
}) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.FlowResponse>>;
|
|
3304
3419
|
next: (executionId: string, stepId: string, interactionId: string, version?: number, componentsVersion?: string, input?: {
|
|
@@ -3383,6 +3498,7 @@ declare const getSdk: () => ((({
|
|
|
3383
3498
|
phone?: string;
|
|
3384
3499
|
}, signUpOptions?: {
|
|
3385
3500
|
customClaims?: Record<string, any>;
|
|
3501
|
+
templateId?: string;
|
|
3386
3502
|
templateOptions?: {
|
|
3387
3503
|
[x: string]: string;
|
|
3388
3504
|
};
|
|
@@ -3398,6 +3514,7 @@ declare const getSdk: () => ((({
|
|
|
3398
3514
|
phone?: string;
|
|
3399
3515
|
}, signUpOptions?: {
|
|
3400
3516
|
customClaims?: Record<string, any>;
|
|
3517
|
+
templateId?: string;
|
|
3401
3518
|
templateOptions?: {
|
|
3402
3519
|
[x: string]: string;
|
|
3403
3520
|
};
|
|
@@ -3413,6 +3530,7 @@ declare const getSdk: () => ((({
|
|
|
3413
3530
|
phone?: string;
|
|
3414
3531
|
}, signUpOptions?: {
|
|
3415
3532
|
customClaims?: Record<string, any>;
|
|
3533
|
+
templateId?: string;
|
|
3416
3534
|
templateOptions?: {
|
|
3417
3535
|
[x: string]: string;
|
|
3418
3536
|
};
|
|
@@ -3428,6 +3546,7 @@ declare const getSdk: () => ((({
|
|
|
3428
3546
|
phone?: string;
|
|
3429
3547
|
}, signUpOptions?: {
|
|
3430
3548
|
customClaims?: Record<string, any>;
|
|
3549
|
+
templateId?: string;
|
|
3431
3550
|
templateOptions?: {
|
|
3432
3551
|
[x: string]: string;
|
|
3433
3552
|
};
|
|
@@ -3516,6 +3635,7 @@ declare const getSdk: () => ((({
|
|
|
3516
3635
|
phone?: string;
|
|
3517
3636
|
}, signUpOptions?: {
|
|
3518
3637
|
customClaims?: Record<string, any>;
|
|
3638
|
+
templateId?: string;
|
|
3519
3639
|
templateOptions?: {
|
|
3520
3640
|
[x: string]: string;
|
|
3521
3641
|
};
|
|
@@ -3531,6 +3651,7 @@ declare const getSdk: () => ((({
|
|
|
3531
3651
|
phone?: string;
|
|
3532
3652
|
}, signUpOptions?: {
|
|
3533
3653
|
customClaims?: Record<string, any>;
|
|
3654
|
+
templateId?: string;
|
|
3534
3655
|
templateOptions?: {
|
|
3535
3656
|
[x: string]: string;
|
|
3536
3657
|
};
|
|
@@ -3546,6 +3667,7 @@ declare const getSdk: () => ((({
|
|
|
3546
3667
|
phone?: string;
|
|
3547
3668
|
}, signUpOptions?: {
|
|
3548
3669
|
customClaims?: Record<string, any>;
|
|
3670
|
+
templateId?: string;
|
|
3549
3671
|
templateOptions?: {
|
|
3550
3672
|
[x: string]: string;
|
|
3551
3673
|
};
|
|
@@ -3561,6 +3683,7 @@ declare const getSdk: () => ((({
|
|
|
3561
3683
|
phone?: string;
|
|
3562
3684
|
}, signUpOptions?: {
|
|
3563
3685
|
customClaims?: Record<string, any>;
|
|
3686
|
+
templateId?: string;
|
|
3564
3687
|
templateOptions?: {
|
|
3565
3688
|
[x: string]: string;
|
|
3566
3689
|
};
|
|
@@ -3571,6 +3694,7 @@ declare const getSdk: () => ((({
|
|
|
3571
3694
|
signUpOrIn: {
|
|
3572
3695
|
sms: (loginId: string, URI?: string, signUpOptions?: {
|
|
3573
3696
|
customClaims?: Record<string, any>;
|
|
3697
|
+
templateId?: string;
|
|
3574
3698
|
templateOptions?: {
|
|
3575
3699
|
[x: string]: string;
|
|
3576
3700
|
};
|
|
@@ -3579,6 +3703,7 @@ declare const getSdk: () => ((({
|
|
|
3579
3703
|
}>>;
|
|
3580
3704
|
voice: (loginId: string, URI?: string, signUpOptions?: {
|
|
3581
3705
|
customClaims?: Record<string, any>;
|
|
3706
|
+
templateId?: string;
|
|
3582
3707
|
templateOptions?: {
|
|
3583
3708
|
[x: string]: string;
|
|
3584
3709
|
};
|
|
@@ -3587,6 +3712,7 @@ declare const getSdk: () => ((({
|
|
|
3587
3712
|
}>>;
|
|
3588
3713
|
whatsapp: (loginId: string, URI?: string, signUpOptions?: {
|
|
3589
3714
|
customClaims?: Record<string, any>;
|
|
3715
|
+
templateId?: string;
|
|
3590
3716
|
templateOptions?: {
|
|
3591
3717
|
[x: string]: string;
|
|
3592
3718
|
};
|
|
@@ -3595,6 +3721,7 @@ declare const getSdk: () => ((({
|
|
|
3595
3721
|
}>>;
|
|
3596
3722
|
email: (loginId: string, URI?: string, signUpOptions?: {
|
|
3597
3723
|
customClaims?: Record<string, any>;
|
|
3724
|
+
templateId?: string;
|
|
3598
3725
|
templateOptions?: {
|
|
3599
3726
|
[x: string]: string;
|
|
3600
3727
|
};
|
|
@@ -3648,6 +3775,7 @@ declare const getSdk: () => ((({
|
|
|
3648
3775
|
signIn: (loginId: string, URI?: string, loginOptions?: _descope_core_js_sdk.LoginOptions, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
|
|
3649
3776
|
signUpOrIn: (loginId: string, URI?: string, signUpOptions?: {
|
|
3650
3777
|
customClaims?: Record<string, any>;
|
|
3778
|
+
templateId?: string;
|
|
3651
3779
|
templateOptions?: {
|
|
3652
3780
|
[x: string]: string;
|
|
3653
3781
|
};
|
|
@@ -3661,6 +3789,7 @@ declare const getSdk: () => ((({
|
|
|
3661
3789
|
phone?: string;
|
|
3662
3790
|
}, signUpOptions?: {
|
|
3663
3791
|
customClaims?: Record<string, any>;
|
|
3792
|
+
templateId?: string;
|
|
3664
3793
|
templateOptions?: {
|
|
3665
3794
|
[x: string]: string;
|
|
3666
3795
|
};
|
|
@@ -3714,6 +3843,7 @@ declare const getSdk: () => ((({
|
|
|
3714
3843
|
notp: {
|
|
3715
3844
|
signUpOrIn: (loginId?: string, signUpOptions?: {
|
|
3716
3845
|
customClaims?: Record<string, any>;
|
|
3846
|
+
templateId?: string;
|
|
3717
3847
|
templateOptions?: {
|
|
3718
3848
|
[x: string]: string;
|
|
3719
3849
|
};
|
|
@@ -3731,6 +3861,7 @@ declare const getSdk: () => ((({
|
|
|
3731
3861
|
phone?: string;
|
|
3732
3862
|
}, signUpOptions?: {
|
|
3733
3863
|
customClaims?: Record<string, any>;
|
|
3864
|
+
templateId?: string;
|
|
3734
3865
|
templateOptions?: {
|
|
3735
3866
|
[x: string]: string;
|
|
3736
3867
|
};
|
|
@@ -3759,6 +3890,7 @@ declare const getSdk: () => ((({
|
|
|
3759
3890
|
phone?: string;
|
|
3760
3891
|
}, signUpOptions?: {
|
|
3761
3892
|
customClaims?: Record<string, any>;
|
|
3893
|
+
templateId?: string;
|
|
3762
3894
|
templateOptions?: {
|
|
3763
3895
|
[x: string]: string;
|
|
3764
3896
|
};
|
|
@@ -3881,14 +4013,19 @@ declare const getSdk: () => ((({
|
|
|
3881
4013
|
locale?: string;
|
|
3882
4014
|
oidcPrompt?: string;
|
|
3883
4015
|
oidcErrorRedirectUri?: string;
|
|
3884
|
-
|
|
4016
|
+
nativeOptions?: {
|
|
4017
|
+
platform: "ios" | "android";
|
|
4018
|
+
oauthProvider?: string;
|
|
4019
|
+
oauthRedirect?: string;
|
|
4020
|
+
};
|
|
4021
|
+
}, "tenant" | "redirectUrl" | "redirectAuth" | "oidcIdpStateId" | "samlIdpStateId" | "samlIdpUsername" | "ssoAppId" | "oidcLoginHint" | "preview" | "abTestingKey" | "client" | "locale" | "oidcPrompt" | "oidcErrorRedirectUri" | "nativeOptions"> & {
|
|
3885
4022
|
lastAuth?: Omit<{
|
|
3886
4023
|
authMethod?: "webauthn" | "otp" | "oauth" | "saml" | "totp" | "magiclink" | "enchantedlink";
|
|
3887
4024
|
oauthProvider?: string;
|
|
3888
4025
|
name?: string;
|
|
3889
4026
|
loginId?: string;
|
|
3890
4027
|
}, "loginId" | "name">;
|
|
3891
|
-
}, conditionInteractionId?: string, interactionId?: string,
|
|
4028
|
+
}, conditionInteractionId?: string, interactionId?: string, componentsVersion?: string, flowVersions?: Record<string, number>, input?: {
|
|
3892
4029
|
[x: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any[])[])[])[])[])[])[])[])[])[])[];
|
|
3893
4030
|
}) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.FlowResponse>>;
|
|
3894
4031
|
next: (executionId: string, stepId: string, interactionId: string, version?: number, componentsVersion?: string, input?: {
|
|
@@ -3973,6 +4110,7 @@ declare const getSdk: () => ((({
|
|
|
3973
4110
|
phone?: string;
|
|
3974
4111
|
}, signUpOptions?: {
|
|
3975
4112
|
customClaims?: Record<string, any>;
|
|
4113
|
+
templateId?: string;
|
|
3976
4114
|
templateOptions?: {
|
|
3977
4115
|
[x: string]: string;
|
|
3978
4116
|
};
|
|
@@ -3988,6 +4126,7 @@ declare const getSdk: () => ((({
|
|
|
3988
4126
|
phone?: string;
|
|
3989
4127
|
}, signUpOptions?: {
|
|
3990
4128
|
customClaims?: Record<string, any>;
|
|
4129
|
+
templateId?: string;
|
|
3991
4130
|
templateOptions?: {
|
|
3992
4131
|
[x: string]: string;
|
|
3993
4132
|
};
|
|
@@ -4003,6 +4142,7 @@ declare const getSdk: () => ((({
|
|
|
4003
4142
|
phone?: string;
|
|
4004
4143
|
}, signUpOptions?: {
|
|
4005
4144
|
customClaims?: Record<string, any>;
|
|
4145
|
+
templateId?: string;
|
|
4006
4146
|
templateOptions?: {
|
|
4007
4147
|
[x: string]: string;
|
|
4008
4148
|
};
|
|
@@ -4018,6 +4158,7 @@ declare const getSdk: () => ((({
|
|
|
4018
4158
|
phone?: string;
|
|
4019
4159
|
}, signUpOptions?: {
|
|
4020
4160
|
customClaims?: Record<string, any>;
|
|
4161
|
+
templateId?: string;
|
|
4021
4162
|
templateOptions?: {
|
|
4022
4163
|
[x: string]: string;
|
|
4023
4164
|
};
|
|
@@ -4106,6 +4247,7 @@ declare const getSdk: () => ((({
|
|
|
4106
4247
|
phone?: string;
|
|
4107
4248
|
}, signUpOptions?: {
|
|
4108
4249
|
customClaims?: Record<string, any>;
|
|
4250
|
+
templateId?: string;
|
|
4109
4251
|
templateOptions?: {
|
|
4110
4252
|
[x: string]: string;
|
|
4111
4253
|
};
|
|
@@ -4121,6 +4263,7 @@ declare const getSdk: () => ((({
|
|
|
4121
4263
|
phone?: string;
|
|
4122
4264
|
}, signUpOptions?: {
|
|
4123
4265
|
customClaims?: Record<string, any>;
|
|
4266
|
+
templateId?: string;
|
|
4124
4267
|
templateOptions?: {
|
|
4125
4268
|
[x: string]: string;
|
|
4126
4269
|
};
|
|
@@ -4136,6 +4279,7 @@ declare const getSdk: () => ((({
|
|
|
4136
4279
|
phone?: string;
|
|
4137
4280
|
}, signUpOptions?: {
|
|
4138
4281
|
customClaims?: Record<string, any>;
|
|
4282
|
+
templateId?: string;
|
|
4139
4283
|
templateOptions?: {
|
|
4140
4284
|
[x: string]: string;
|
|
4141
4285
|
};
|
|
@@ -4151,6 +4295,7 @@ declare const getSdk: () => ((({
|
|
|
4151
4295
|
phone?: string;
|
|
4152
4296
|
}, signUpOptions?: {
|
|
4153
4297
|
customClaims?: Record<string, any>;
|
|
4298
|
+
templateId?: string;
|
|
4154
4299
|
templateOptions?: {
|
|
4155
4300
|
[x: string]: string;
|
|
4156
4301
|
};
|
|
@@ -4161,6 +4306,7 @@ declare const getSdk: () => ((({
|
|
|
4161
4306
|
signUpOrIn: {
|
|
4162
4307
|
sms: (loginId: string, URI?: string, signUpOptions?: {
|
|
4163
4308
|
customClaims?: Record<string, any>;
|
|
4309
|
+
templateId?: string;
|
|
4164
4310
|
templateOptions?: {
|
|
4165
4311
|
[x: string]: string;
|
|
4166
4312
|
};
|
|
@@ -4169,6 +4315,7 @@ declare const getSdk: () => ((({
|
|
|
4169
4315
|
}>>;
|
|
4170
4316
|
voice: (loginId: string, URI?: string, signUpOptions?: {
|
|
4171
4317
|
customClaims?: Record<string, any>;
|
|
4318
|
+
templateId?: string;
|
|
4172
4319
|
templateOptions?: {
|
|
4173
4320
|
[x: string]: string;
|
|
4174
4321
|
};
|
|
@@ -4177,6 +4324,7 @@ declare const getSdk: () => ((({
|
|
|
4177
4324
|
}>>;
|
|
4178
4325
|
whatsapp: (loginId: string, URI?: string, signUpOptions?: {
|
|
4179
4326
|
customClaims?: Record<string, any>;
|
|
4327
|
+
templateId?: string;
|
|
4180
4328
|
templateOptions?: {
|
|
4181
4329
|
[x: string]: string;
|
|
4182
4330
|
};
|
|
@@ -4185,6 +4333,7 @@ declare const getSdk: () => ((({
|
|
|
4185
4333
|
}>>;
|
|
4186
4334
|
email: (loginId: string, URI?: string, signUpOptions?: {
|
|
4187
4335
|
customClaims?: Record<string, any>;
|
|
4336
|
+
templateId?: string;
|
|
4188
4337
|
templateOptions?: {
|
|
4189
4338
|
[x: string]: string;
|
|
4190
4339
|
};
|
|
@@ -4238,6 +4387,7 @@ declare const getSdk: () => ((({
|
|
|
4238
4387
|
signIn: (loginId: string, URI?: string, loginOptions?: _descope_core_js_sdk.LoginOptions, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
|
|
4239
4388
|
signUpOrIn: (loginId: string, URI?: string, signUpOptions?: {
|
|
4240
4389
|
customClaims?: Record<string, any>;
|
|
4390
|
+
templateId?: string;
|
|
4241
4391
|
templateOptions?: {
|
|
4242
4392
|
[x: string]: string;
|
|
4243
4393
|
};
|
|
@@ -4251,6 +4401,7 @@ declare const getSdk: () => ((({
|
|
|
4251
4401
|
phone?: string;
|
|
4252
4402
|
}, signUpOptions?: {
|
|
4253
4403
|
customClaims?: Record<string, any>;
|
|
4404
|
+
templateId?: string;
|
|
4254
4405
|
templateOptions?: {
|
|
4255
4406
|
[x: string]: string;
|
|
4256
4407
|
};
|
|
@@ -4304,6 +4455,7 @@ declare const getSdk: () => ((({
|
|
|
4304
4455
|
notp: {
|
|
4305
4456
|
signUpOrIn: (loginId?: string, signUpOptions?: {
|
|
4306
4457
|
customClaims?: Record<string, any>;
|
|
4458
|
+
templateId?: string;
|
|
4307
4459
|
templateOptions?: {
|
|
4308
4460
|
[x: string]: string;
|
|
4309
4461
|
};
|
|
@@ -4321,6 +4473,7 @@ declare const getSdk: () => ((({
|
|
|
4321
4473
|
phone?: string;
|
|
4322
4474
|
}, signUpOptions?: {
|
|
4323
4475
|
customClaims?: Record<string, any>;
|
|
4476
|
+
templateId?: string;
|
|
4324
4477
|
templateOptions?: {
|
|
4325
4478
|
[x: string]: string;
|
|
4326
4479
|
};
|
|
@@ -4349,6 +4502,7 @@ declare const getSdk: () => ((({
|
|
|
4349
4502
|
phone?: string;
|
|
4350
4503
|
}, signUpOptions?: {
|
|
4351
4504
|
customClaims?: Record<string, any>;
|
|
4505
|
+
templateId?: string;
|
|
4352
4506
|
templateOptions?: {
|
|
4353
4507
|
[x: string]: string;
|
|
4354
4508
|
};
|
|
@@ -4465,14 +4619,19 @@ declare const getSdk: () => ((({
|
|
|
4465
4619
|
locale?: string;
|
|
4466
4620
|
oidcPrompt?: string;
|
|
4467
4621
|
oidcErrorRedirectUri?: string;
|
|
4468
|
-
|
|
4622
|
+
nativeOptions?: {
|
|
4623
|
+
platform: "ios" | "android";
|
|
4624
|
+
oauthProvider?: string;
|
|
4625
|
+
oauthRedirect?: string;
|
|
4626
|
+
};
|
|
4627
|
+
}, "tenant" | "redirectUrl" | "redirectAuth" | "oidcIdpStateId" | "samlIdpStateId" | "samlIdpUsername" | "ssoAppId" | "oidcLoginHint" | "preview" | "abTestingKey" | "client" | "locale" | "oidcPrompt" | "oidcErrorRedirectUri" | "nativeOptions"> & {
|
|
4469
4628
|
lastAuth?: Omit<{
|
|
4470
4629
|
authMethod?: "webauthn" | "otp" | "oauth" | "saml" | "totp" | "magiclink" | "enchantedlink";
|
|
4471
4630
|
oauthProvider?: string;
|
|
4472
4631
|
name?: string;
|
|
4473
4632
|
loginId?: string;
|
|
4474
4633
|
}, "loginId" | "name">;
|
|
4475
|
-
}, conditionInteractionId?: string, interactionId?: string,
|
|
4634
|
+
}, conditionInteractionId?: string, interactionId?: string, componentsVersion?: string, flowVersions?: Record<string, number>, input?: {
|
|
4476
4635
|
[x: string]: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any[])[])[])[])[])[])[])[])[])[])[];
|
|
4477
4636
|
}) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.FlowResponse>>;
|
|
4478
4637
|
next: (executionId: string, stepId: string, interactionId: string, version?: number, componentsVersion?: string, input?: {
|
|
@@ -4557,6 +4716,7 @@ declare const getSdk: () => ((({
|
|
|
4557
4716
|
phone?: string;
|
|
4558
4717
|
}, signUpOptions?: {
|
|
4559
4718
|
customClaims?: Record<string, any>;
|
|
4719
|
+
templateId?: string;
|
|
4560
4720
|
templateOptions?: {
|
|
4561
4721
|
[x: string]: string;
|
|
4562
4722
|
};
|
|
@@ -4572,6 +4732,7 @@ declare const getSdk: () => ((({
|
|
|
4572
4732
|
phone?: string;
|
|
4573
4733
|
}, signUpOptions?: {
|
|
4574
4734
|
customClaims?: Record<string, any>;
|
|
4735
|
+
templateId?: string;
|
|
4575
4736
|
templateOptions?: {
|
|
4576
4737
|
[x: string]: string;
|
|
4577
4738
|
};
|
|
@@ -4587,6 +4748,7 @@ declare const getSdk: () => ((({
|
|
|
4587
4748
|
phone?: string;
|
|
4588
4749
|
}, signUpOptions?: {
|
|
4589
4750
|
customClaims?: Record<string, any>;
|
|
4751
|
+
templateId?: string;
|
|
4590
4752
|
templateOptions?: {
|
|
4591
4753
|
[x: string]: string;
|
|
4592
4754
|
};
|
|
@@ -4602,6 +4764,7 @@ declare const getSdk: () => ((({
|
|
|
4602
4764
|
phone?: string;
|
|
4603
4765
|
}, signUpOptions?: {
|
|
4604
4766
|
customClaims?: Record<string, any>;
|
|
4767
|
+
templateId?: string;
|
|
4605
4768
|
templateOptions?: {
|
|
4606
4769
|
[x: string]: string;
|
|
4607
4770
|
};
|
|
@@ -4690,6 +4853,7 @@ declare const getSdk: () => ((({
|
|
|
4690
4853
|
phone?: string;
|
|
4691
4854
|
}, signUpOptions?: {
|
|
4692
4855
|
customClaims?: Record<string, any>;
|
|
4856
|
+
templateId?: string;
|
|
4693
4857
|
templateOptions?: {
|
|
4694
4858
|
[x: string]: string;
|
|
4695
4859
|
};
|
|
@@ -4705,6 +4869,7 @@ declare const getSdk: () => ((({
|
|
|
4705
4869
|
phone?: string;
|
|
4706
4870
|
}, signUpOptions?: {
|
|
4707
4871
|
customClaims?: Record<string, any>;
|
|
4872
|
+
templateId?: string;
|
|
4708
4873
|
templateOptions?: {
|
|
4709
4874
|
[x: string]: string;
|
|
4710
4875
|
};
|
|
@@ -4720,6 +4885,7 @@ declare const getSdk: () => ((({
|
|
|
4720
4885
|
phone?: string;
|
|
4721
4886
|
}, signUpOptions?: {
|
|
4722
4887
|
customClaims?: Record<string, any>;
|
|
4888
|
+
templateId?: string;
|
|
4723
4889
|
templateOptions?: {
|
|
4724
4890
|
[x: string]: string;
|
|
4725
4891
|
};
|
|
@@ -4735,6 +4901,7 @@ declare const getSdk: () => ((({
|
|
|
4735
4901
|
phone?: string;
|
|
4736
4902
|
}, signUpOptions?: {
|
|
4737
4903
|
customClaims?: Record<string, any>;
|
|
4904
|
+
templateId?: string;
|
|
4738
4905
|
templateOptions?: {
|
|
4739
4906
|
[x: string]: string;
|
|
4740
4907
|
};
|
|
@@ -4745,6 +4912,7 @@ declare const getSdk: () => ((({
|
|
|
4745
4912
|
signUpOrIn: {
|
|
4746
4913
|
sms: (loginId: string, URI?: string, signUpOptions?: {
|
|
4747
4914
|
customClaims?: Record<string, any>;
|
|
4915
|
+
templateId?: string;
|
|
4748
4916
|
templateOptions?: {
|
|
4749
4917
|
[x: string]: string;
|
|
4750
4918
|
};
|
|
@@ -4753,6 +4921,7 @@ declare const getSdk: () => ((({
|
|
|
4753
4921
|
}>>;
|
|
4754
4922
|
voice: (loginId: string, URI?: string, signUpOptions?: {
|
|
4755
4923
|
customClaims?: Record<string, any>;
|
|
4924
|
+
templateId?: string;
|
|
4756
4925
|
templateOptions?: {
|
|
4757
4926
|
[x: string]: string;
|
|
4758
4927
|
};
|
|
@@ -4761,6 +4930,7 @@ declare const getSdk: () => ((({
|
|
|
4761
4930
|
}>>;
|
|
4762
4931
|
whatsapp: (loginId: string, URI?: string, signUpOptions?: {
|
|
4763
4932
|
customClaims?: Record<string, any>;
|
|
4933
|
+
templateId?: string;
|
|
4764
4934
|
templateOptions?: {
|
|
4765
4935
|
[x: string]: string;
|
|
4766
4936
|
};
|
|
@@ -4769,6 +4939,7 @@ declare const getSdk: () => ((({
|
|
|
4769
4939
|
}>>;
|
|
4770
4940
|
email: (loginId: string, URI?: string, signUpOptions?: {
|
|
4771
4941
|
customClaims?: Record<string, any>;
|
|
4942
|
+
templateId?: string;
|
|
4772
4943
|
templateOptions?: {
|
|
4773
4944
|
[x: string]: string;
|
|
4774
4945
|
};
|
|
@@ -4822,6 +4993,7 @@ declare const getSdk: () => ((({
|
|
|
4822
4993
|
signIn: (loginId: string, URI?: string, loginOptions?: _descope_core_js_sdk.LoginOptions, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
|
|
4823
4994
|
signUpOrIn: (loginId: string, URI?: string, signUpOptions?: {
|
|
4824
4995
|
customClaims?: Record<string, any>;
|
|
4996
|
+
templateId?: string;
|
|
4825
4997
|
templateOptions?: {
|
|
4826
4998
|
[x: string]: string;
|
|
4827
4999
|
};
|
|
@@ -4835,6 +5007,7 @@ declare const getSdk: () => ((({
|
|
|
4835
5007
|
phone?: string;
|
|
4836
5008
|
}, signUpOptions?: {
|
|
4837
5009
|
customClaims?: Record<string, any>;
|
|
5010
|
+
templateId?: string;
|
|
4838
5011
|
templateOptions?: {
|
|
4839
5012
|
[x: string]: string;
|
|
4840
5013
|
};
|
|
@@ -4888,6 +5061,7 @@ declare const getSdk: () => ((({
|
|
|
4888
5061
|
notp: {
|
|
4889
5062
|
signUpOrIn: (loginId?: string, signUpOptions?: {
|
|
4890
5063
|
customClaims?: Record<string, any>;
|
|
5064
|
+
templateId?: string;
|
|
4891
5065
|
templateOptions?: {
|
|
4892
5066
|
[x: string]: string;
|
|
4893
5067
|
};
|
|
@@ -4905,6 +5079,7 @@ declare const getSdk: () => ((({
|
|
|
4905
5079
|
phone?: string;
|
|
4906
5080
|
}, signUpOptions?: {
|
|
4907
5081
|
customClaims?: Record<string, any>;
|
|
5082
|
+
templateId?: string;
|
|
4908
5083
|
templateOptions?: {
|
|
4909
5084
|
[x: string]: string;
|
|
4910
5085
|
};
|
|
@@ -4933,6 +5108,7 @@ declare const getSdk: () => ((({
|
|
|
4933
5108
|
phone?: string;
|
|
4934
5109
|
}, signUpOptions?: {
|
|
4935
5110
|
customClaims?: Record<string, any>;
|
|
5111
|
+
templateId?: string;
|
|
4936
5112
|
templateOptions?: {
|
|
4937
5113
|
[x: string]: string;
|
|
4938
5114
|
};
|