@descope/react-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/cjs/index.cjs.js +1 -1
- package/dist/dts/src/sdk.d.ts +144 -12
- package/dist/index.d.ts +48 -4
- 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
|
@@ -79,14 +79,19 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
79
79
|
locale?: string;
|
|
80
80
|
oidcPrompt?: string;
|
|
81
81
|
oidcErrorRedirectUri?: string;
|
|
82
|
-
|
|
82
|
+
nativeOptions?: {
|
|
83
|
+
platform: "ios" | "android";
|
|
84
|
+
oauthProvider?: string;
|
|
85
|
+
oauthRedirect?: string;
|
|
86
|
+
};
|
|
87
|
+
}, "tenant" | "redirectUrl" | "redirectAuth" | "oidcIdpStateId" | "samlIdpStateId" | "samlIdpUsername" | "ssoAppId" | "oidcLoginHint" | "preview" | "abTestingKey" | "client" | "locale" | "oidcPrompt" | "oidcErrorRedirectUri" | "nativeOptions"> & {
|
|
83
88
|
lastAuth?: Omit<{
|
|
84
89
|
authMethod?: "webauthn" | "otp" | "oauth" | "saml" | "totp" | "magiclink" | "enchantedlink";
|
|
85
90
|
oauthProvider?: string;
|
|
86
91
|
name?: string;
|
|
87
92
|
loginId?: string;
|
|
88
93
|
}, "loginId" | "name">;
|
|
89
|
-
}, conditionInteractionId?: string, interactionId?: string,
|
|
94
|
+
}, conditionInteractionId?: string, interactionId?: string, componentsVersion?: string, flowVersions?: Record<string, number>, input?: {
|
|
90
95
|
[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[])[])[])[])[])[])[])[])[])[])[];
|
|
91
96
|
}) => Promise<_1.SdkResponse<_1.FlowResponse>>;
|
|
92
97
|
next: (executionId: string, stepId: string, interactionId: string, version?: number, componentsVersion?: string, input?: {
|
|
@@ -171,6 +176,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
171
176
|
phone?: string;
|
|
172
177
|
}, signUpOptions?: {
|
|
173
178
|
customClaims?: Record<string, any>;
|
|
179
|
+
templateId?: string;
|
|
174
180
|
templateOptions?: {
|
|
175
181
|
[x: string]: string;
|
|
176
182
|
};
|
|
@@ -186,6 +192,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
186
192
|
phone?: string;
|
|
187
193
|
}, signUpOptions?: {
|
|
188
194
|
customClaims?: Record<string, any>;
|
|
195
|
+
templateId?: string;
|
|
189
196
|
templateOptions?: {
|
|
190
197
|
[x: string]: string;
|
|
191
198
|
};
|
|
@@ -201,6 +208,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
201
208
|
phone?: string;
|
|
202
209
|
}, signUpOptions?: {
|
|
203
210
|
customClaims?: Record<string, any>;
|
|
211
|
+
templateId?: string;
|
|
204
212
|
templateOptions?: {
|
|
205
213
|
[x: string]: string;
|
|
206
214
|
};
|
|
@@ -216,6 +224,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
216
224
|
phone?: string;
|
|
217
225
|
}, signUpOptions?: {
|
|
218
226
|
customClaims?: Record<string, any>;
|
|
227
|
+
templateId?: string;
|
|
219
228
|
templateOptions?: {
|
|
220
229
|
[x: string]: string;
|
|
221
230
|
};
|
|
@@ -304,6 +313,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
304
313
|
phone?: string;
|
|
305
314
|
}, signUpOptions?: {
|
|
306
315
|
customClaims?: Record<string, any>;
|
|
316
|
+
templateId?: string;
|
|
307
317
|
templateOptions?: {
|
|
308
318
|
[x: string]: string;
|
|
309
319
|
};
|
|
@@ -319,6 +329,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
319
329
|
phone?: string;
|
|
320
330
|
}, signUpOptions?: {
|
|
321
331
|
customClaims?: Record<string, any>;
|
|
332
|
+
templateId?: string;
|
|
322
333
|
templateOptions?: {
|
|
323
334
|
[x: string]: string;
|
|
324
335
|
};
|
|
@@ -334,6 +345,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
334
345
|
phone?: string;
|
|
335
346
|
}, signUpOptions?: {
|
|
336
347
|
customClaims?: Record<string, any>;
|
|
348
|
+
templateId?: string;
|
|
337
349
|
templateOptions?: {
|
|
338
350
|
[x: string]: string;
|
|
339
351
|
};
|
|
@@ -349,6 +361,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
349
361
|
phone?: string;
|
|
350
362
|
}, signUpOptions?: {
|
|
351
363
|
customClaims?: Record<string, any>;
|
|
364
|
+
templateId?: string;
|
|
352
365
|
templateOptions?: {
|
|
353
366
|
[x: string]: string;
|
|
354
367
|
};
|
|
@@ -359,6 +372,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
359
372
|
signUpOrIn: {
|
|
360
373
|
sms: (loginId: string, URI?: string, signUpOptions?: {
|
|
361
374
|
customClaims?: Record<string, any>;
|
|
375
|
+
templateId?: string;
|
|
362
376
|
templateOptions?: {
|
|
363
377
|
[x: string]: string;
|
|
364
378
|
};
|
|
@@ -367,6 +381,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
367
381
|
}>>;
|
|
368
382
|
voice: (loginId: string, URI?: string, signUpOptions?: {
|
|
369
383
|
customClaims?: Record<string, any>;
|
|
384
|
+
templateId?: string;
|
|
370
385
|
templateOptions?: {
|
|
371
386
|
[x: string]: string;
|
|
372
387
|
};
|
|
@@ -375,6 +390,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
375
390
|
}>>;
|
|
376
391
|
whatsapp: (loginId: string, URI?: string, signUpOptions?: {
|
|
377
392
|
customClaims?: Record<string, any>;
|
|
393
|
+
templateId?: string;
|
|
378
394
|
templateOptions?: {
|
|
379
395
|
[x: string]: string;
|
|
380
396
|
};
|
|
@@ -383,6 +399,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
383
399
|
}>>;
|
|
384
400
|
email: (loginId: string, URI?: string, signUpOptions?: {
|
|
385
401
|
customClaims?: Record<string, any>;
|
|
402
|
+
templateId?: string;
|
|
386
403
|
templateOptions?: {
|
|
387
404
|
[x: string]: string;
|
|
388
405
|
};
|
|
@@ -436,6 +453,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
436
453
|
signIn: (loginId: string, URI?: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<_1.EnchantedLinkResponse>>;
|
|
437
454
|
signUpOrIn: (loginId: string, URI?: string, signUpOptions?: {
|
|
438
455
|
customClaims?: Record<string, any>;
|
|
456
|
+
templateId?: string;
|
|
439
457
|
templateOptions?: {
|
|
440
458
|
[x: string]: string;
|
|
441
459
|
};
|
|
@@ -449,6 +467,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
449
467
|
phone?: string;
|
|
450
468
|
}, signUpOptions?: {
|
|
451
469
|
customClaims?: Record<string, any>;
|
|
470
|
+
templateId?: string;
|
|
452
471
|
templateOptions?: {
|
|
453
472
|
[x: string]: string;
|
|
454
473
|
};
|
|
@@ -502,6 +521,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
502
521
|
notp: {
|
|
503
522
|
signUpOrIn: (loginId?: string, signUpOptions?: {
|
|
504
523
|
customClaims?: Record<string, any>;
|
|
524
|
+
templateId?: string;
|
|
505
525
|
templateOptions?: {
|
|
506
526
|
[x: string]: string;
|
|
507
527
|
};
|
|
@@ -519,6 +539,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
519
539
|
phone?: string;
|
|
520
540
|
}, signUpOptions?: {
|
|
521
541
|
customClaims?: Record<string, any>;
|
|
542
|
+
templateId?: string;
|
|
522
543
|
templateOptions?: {
|
|
523
544
|
[x: string]: string;
|
|
524
545
|
};
|
|
@@ -547,6 +568,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
547
568
|
phone?: string;
|
|
548
569
|
}, signUpOptions?: {
|
|
549
570
|
customClaims?: Record<string, any>;
|
|
571
|
+
templateId?: string;
|
|
550
572
|
templateOptions?: {
|
|
551
573
|
[x: string]: string;
|
|
552
574
|
};
|
|
@@ -663,14 +685,19 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
663
685
|
locale?: string;
|
|
664
686
|
oidcPrompt?: string;
|
|
665
687
|
oidcErrorRedirectUri?: string;
|
|
666
|
-
|
|
688
|
+
nativeOptions?: {
|
|
689
|
+
platform: "ios" | "android";
|
|
690
|
+
oauthProvider?: string;
|
|
691
|
+
oauthRedirect?: string;
|
|
692
|
+
};
|
|
693
|
+
}, "tenant" | "redirectUrl" | "redirectAuth" | "oidcIdpStateId" | "samlIdpStateId" | "samlIdpUsername" | "ssoAppId" | "oidcLoginHint" | "preview" | "abTestingKey" | "client" | "locale" | "oidcPrompt" | "oidcErrorRedirectUri" | "nativeOptions"> & {
|
|
667
694
|
lastAuth?: Omit<{
|
|
668
695
|
authMethod?: "webauthn" | "otp" | "oauth" | "saml" | "totp" | "magiclink" | "enchantedlink";
|
|
669
696
|
oauthProvider?: string;
|
|
670
697
|
name?: string;
|
|
671
698
|
loginId?: string;
|
|
672
699
|
}, "loginId" | "name">;
|
|
673
|
-
}, conditionInteractionId?: string, interactionId?: string,
|
|
700
|
+
}, conditionInteractionId?: string, interactionId?: string, componentsVersion?: string, flowVersions?: Record<string, number>, input?: {
|
|
674
701
|
[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[])[])[])[])[])[])[])[])[])[])[];
|
|
675
702
|
}) => Promise<_1.SdkResponse<_1.FlowResponse>>;
|
|
676
703
|
next: (executionId: string, stepId: string, interactionId: string, version?: number, componentsVersion?: string, input?: {
|
|
@@ -755,6 +782,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
755
782
|
phone?: string;
|
|
756
783
|
}, signUpOptions?: {
|
|
757
784
|
customClaims?: Record<string, any>;
|
|
785
|
+
templateId?: string;
|
|
758
786
|
templateOptions?: {
|
|
759
787
|
[x: string]: string;
|
|
760
788
|
};
|
|
@@ -770,6 +798,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
770
798
|
phone?: string;
|
|
771
799
|
}, signUpOptions?: {
|
|
772
800
|
customClaims?: Record<string, any>;
|
|
801
|
+
templateId?: string;
|
|
773
802
|
templateOptions?: {
|
|
774
803
|
[x: string]: string;
|
|
775
804
|
};
|
|
@@ -785,6 +814,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
785
814
|
phone?: string;
|
|
786
815
|
}, signUpOptions?: {
|
|
787
816
|
customClaims?: Record<string, any>;
|
|
817
|
+
templateId?: string;
|
|
788
818
|
templateOptions?: {
|
|
789
819
|
[x: string]: string;
|
|
790
820
|
};
|
|
@@ -800,6 +830,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
800
830
|
phone?: string;
|
|
801
831
|
}, signUpOptions?: {
|
|
802
832
|
customClaims?: Record<string, any>;
|
|
833
|
+
templateId?: string;
|
|
803
834
|
templateOptions?: {
|
|
804
835
|
[x: string]: string;
|
|
805
836
|
};
|
|
@@ -888,6 +919,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
888
919
|
phone?: string;
|
|
889
920
|
}, signUpOptions?: {
|
|
890
921
|
customClaims?: Record<string, any>;
|
|
922
|
+
templateId?: string;
|
|
891
923
|
templateOptions?: {
|
|
892
924
|
[x: string]: string;
|
|
893
925
|
};
|
|
@@ -903,6 +935,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
903
935
|
phone?: string;
|
|
904
936
|
}, signUpOptions?: {
|
|
905
937
|
customClaims?: Record<string, any>;
|
|
938
|
+
templateId?: string;
|
|
906
939
|
templateOptions?: {
|
|
907
940
|
[x: string]: string;
|
|
908
941
|
};
|
|
@@ -918,6 +951,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
918
951
|
phone?: string;
|
|
919
952
|
}, signUpOptions?: {
|
|
920
953
|
customClaims?: Record<string, any>;
|
|
954
|
+
templateId?: string;
|
|
921
955
|
templateOptions?: {
|
|
922
956
|
[x: string]: string;
|
|
923
957
|
};
|
|
@@ -933,6 +967,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
933
967
|
phone?: string;
|
|
934
968
|
}, signUpOptions?: {
|
|
935
969
|
customClaims?: Record<string, any>;
|
|
970
|
+
templateId?: string;
|
|
936
971
|
templateOptions?: {
|
|
937
972
|
[x: string]: string;
|
|
938
973
|
};
|
|
@@ -943,6 +978,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
943
978
|
signUpOrIn: {
|
|
944
979
|
sms: (loginId: string, URI?: string, signUpOptions?: {
|
|
945
980
|
customClaims?: Record<string, any>;
|
|
981
|
+
templateId?: string;
|
|
946
982
|
templateOptions?: {
|
|
947
983
|
[x: string]: string;
|
|
948
984
|
};
|
|
@@ -951,6 +987,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
951
987
|
}>>;
|
|
952
988
|
voice: (loginId: string, URI?: string, signUpOptions?: {
|
|
953
989
|
customClaims?: Record<string, any>;
|
|
990
|
+
templateId?: string;
|
|
954
991
|
templateOptions?: {
|
|
955
992
|
[x: string]: string;
|
|
956
993
|
};
|
|
@@ -959,6 +996,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
959
996
|
}>>;
|
|
960
997
|
whatsapp: (loginId: string, URI?: string, signUpOptions?: {
|
|
961
998
|
customClaims?: Record<string, any>;
|
|
999
|
+
templateId?: string;
|
|
962
1000
|
templateOptions?: {
|
|
963
1001
|
[x: string]: string;
|
|
964
1002
|
};
|
|
@@ -967,6 +1005,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
967
1005
|
}>>;
|
|
968
1006
|
email: (loginId: string, URI?: string, signUpOptions?: {
|
|
969
1007
|
customClaims?: Record<string, any>;
|
|
1008
|
+
templateId?: string;
|
|
970
1009
|
templateOptions?: {
|
|
971
1010
|
[x: string]: string;
|
|
972
1011
|
};
|
|
@@ -1020,6 +1059,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
1020
1059
|
signIn: (loginId: string, URI?: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<_1.EnchantedLinkResponse>>;
|
|
1021
1060
|
signUpOrIn: (loginId: string, URI?: string, signUpOptions?: {
|
|
1022
1061
|
customClaims?: Record<string, any>;
|
|
1062
|
+
templateId?: string;
|
|
1023
1063
|
templateOptions?: {
|
|
1024
1064
|
[x: string]: string;
|
|
1025
1065
|
};
|
|
@@ -1033,6 +1073,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
1033
1073
|
phone?: string;
|
|
1034
1074
|
}, signUpOptions?: {
|
|
1035
1075
|
customClaims?: Record<string, any>;
|
|
1076
|
+
templateId?: string;
|
|
1036
1077
|
templateOptions?: {
|
|
1037
1078
|
[x: string]: string;
|
|
1038
1079
|
};
|
|
@@ -1086,6 +1127,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
1086
1127
|
notp: {
|
|
1087
1128
|
signUpOrIn: (loginId?: string, signUpOptions?: {
|
|
1088
1129
|
customClaims?: Record<string, any>;
|
|
1130
|
+
templateId?: string;
|
|
1089
1131
|
templateOptions?: {
|
|
1090
1132
|
[x: string]: string;
|
|
1091
1133
|
};
|
|
@@ -1103,6 +1145,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
1103
1145
|
phone?: string;
|
|
1104
1146
|
}, signUpOptions?: {
|
|
1105
1147
|
customClaims?: Record<string, any>;
|
|
1148
|
+
templateId?: string;
|
|
1106
1149
|
templateOptions?: {
|
|
1107
1150
|
[x: string]: string;
|
|
1108
1151
|
};
|
|
@@ -1131,6 +1174,7 @@ declare const createSdkWrapper: <P extends Omit<{
|
|
|
1131
1174
|
phone?: string;
|
|
1132
1175
|
}, signUpOptions?: {
|
|
1133
1176
|
customClaims?: Record<string, any>;
|
|
1177
|
+
templateId?: string;
|
|
1134
1178
|
templateOptions?: {
|
|
1135
1179
|
[x: string]: string;
|
|
1136
1180
|
};
|
|
@@ -1257,14 +1301,19 @@ export declare const createTempSdk: () => ((({
|
|
|
1257
1301
|
locale?: string;
|
|
1258
1302
|
oidcPrompt?: string;
|
|
1259
1303
|
oidcErrorRedirectUri?: string;
|
|
1260
|
-
|
|
1304
|
+
nativeOptions?: {
|
|
1305
|
+
platform: "ios" | "android";
|
|
1306
|
+
oauthProvider?: string;
|
|
1307
|
+
oauthRedirect?: string;
|
|
1308
|
+
};
|
|
1309
|
+
}, "tenant" | "redirectUrl" | "redirectAuth" | "oidcIdpStateId" | "samlIdpStateId" | "samlIdpUsername" | "ssoAppId" | "oidcLoginHint" | "preview" | "abTestingKey" | "client" | "locale" | "oidcPrompt" | "oidcErrorRedirectUri" | "nativeOptions"> & {
|
|
1261
1310
|
lastAuth?: Omit<{
|
|
1262
1311
|
authMethod?: "webauthn" | "otp" | "oauth" | "saml" | "totp" | "magiclink" | "enchantedlink";
|
|
1263
1312
|
oauthProvider?: string;
|
|
1264
1313
|
name?: string;
|
|
1265
1314
|
loginId?: string;
|
|
1266
1315
|
}, "loginId" | "name">;
|
|
1267
|
-
}, conditionInteractionId?: string, interactionId?: string,
|
|
1316
|
+
}, conditionInteractionId?: string, interactionId?: string, componentsVersion?: string, flowVersions?: Record<string, number>, input?: {
|
|
1268
1317
|
[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[])[])[])[])[])[])[])[])[])[])[];
|
|
1269
1318
|
}) => Promise<_1.SdkResponse<_1.FlowResponse>>;
|
|
1270
1319
|
next: (executionId: string, stepId: string, interactionId: string, version?: number, componentsVersion?: string, input?: {
|
|
@@ -1349,6 +1398,7 @@ export declare const createTempSdk: () => ((({
|
|
|
1349
1398
|
phone?: string;
|
|
1350
1399
|
}, signUpOptions?: {
|
|
1351
1400
|
customClaims?: Record<string, any>;
|
|
1401
|
+
templateId?: string;
|
|
1352
1402
|
templateOptions?: {
|
|
1353
1403
|
[x: string]: string;
|
|
1354
1404
|
};
|
|
@@ -1364,6 +1414,7 @@ export declare const createTempSdk: () => ((({
|
|
|
1364
1414
|
phone?: string;
|
|
1365
1415
|
}, signUpOptions?: {
|
|
1366
1416
|
customClaims?: Record<string, any>;
|
|
1417
|
+
templateId?: string;
|
|
1367
1418
|
templateOptions?: {
|
|
1368
1419
|
[x: string]: string;
|
|
1369
1420
|
};
|
|
@@ -1379,6 +1430,7 @@ export declare const createTempSdk: () => ((({
|
|
|
1379
1430
|
phone?: string;
|
|
1380
1431
|
}, signUpOptions?: {
|
|
1381
1432
|
customClaims?: Record<string, any>;
|
|
1433
|
+
templateId?: string;
|
|
1382
1434
|
templateOptions?: {
|
|
1383
1435
|
[x: string]: string;
|
|
1384
1436
|
};
|
|
@@ -1394,6 +1446,7 @@ export declare const createTempSdk: () => ((({
|
|
|
1394
1446
|
phone?: string;
|
|
1395
1447
|
}, signUpOptions?: {
|
|
1396
1448
|
customClaims?: Record<string, any>;
|
|
1449
|
+
templateId?: string;
|
|
1397
1450
|
templateOptions?: {
|
|
1398
1451
|
[x: string]: string;
|
|
1399
1452
|
};
|
|
@@ -1482,6 +1535,7 @@ export declare const createTempSdk: () => ((({
|
|
|
1482
1535
|
phone?: string;
|
|
1483
1536
|
}, signUpOptions?: {
|
|
1484
1537
|
customClaims?: Record<string, any>;
|
|
1538
|
+
templateId?: string;
|
|
1485
1539
|
templateOptions?: {
|
|
1486
1540
|
[x: string]: string;
|
|
1487
1541
|
};
|
|
@@ -1497,6 +1551,7 @@ export declare const createTempSdk: () => ((({
|
|
|
1497
1551
|
phone?: string;
|
|
1498
1552
|
}, signUpOptions?: {
|
|
1499
1553
|
customClaims?: Record<string, any>;
|
|
1554
|
+
templateId?: string;
|
|
1500
1555
|
templateOptions?: {
|
|
1501
1556
|
[x: string]: string;
|
|
1502
1557
|
};
|
|
@@ -1512,6 +1567,7 @@ export declare const createTempSdk: () => ((({
|
|
|
1512
1567
|
phone?: string;
|
|
1513
1568
|
}, signUpOptions?: {
|
|
1514
1569
|
customClaims?: Record<string, any>;
|
|
1570
|
+
templateId?: string;
|
|
1515
1571
|
templateOptions?: {
|
|
1516
1572
|
[x: string]: string;
|
|
1517
1573
|
};
|
|
@@ -1527,6 +1583,7 @@ export declare const createTempSdk: () => ((({
|
|
|
1527
1583
|
phone?: string;
|
|
1528
1584
|
}, signUpOptions?: {
|
|
1529
1585
|
customClaims?: Record<string, any>;
|
|
1586
|
+
templateId?: string;
|
|
1530
1587
|
templateOptions?: {
|
|
1531
1588
|
[x: string]: string;
|
|
1532
1589
|
};
|
|
@@ -1537,6 +1594,7 @@ export declare const createTempSdk: () => ((({
|
|
|
1537
1594
|
signUpOrIn: {
|
|
1538
1595
|
sms: (loginId: string, URI?: string, signUpOptions?: {
|
|
1539
1596
|
customClaims?: Record<string, any>;
|
|
1597
|
+
templateId?: string;
|
|
1540
1598
|
templateOptions?: {
|
|
1541
1599
|
[x: string]: string;
|
|
1542
1600
|
};
|
|
@@ -1545,6 +1603,7 @@ export declare const createTempSdk: () => ((({
|
|
|
1545
1603
|
}>>;
|
|
1546
1604
|
voice: (loginId: string, URI?: string, signUpOptions?: {
|
|
1547
1605
|
customClaims?: Record<string, any>;
|
|
1606
|
+
templateId?: string;
|
|
1548
1607
|
templateOptions?: {
|
|
1549
1608
|
[x: string]: string;
|
|
1550
1609
|
};
|
|
@@ -1553,6 +1612,7 @@ export declare const createTempSdk: () => ((({
|
|
|
1553
1612
|
}>>;
|
|
1554
1613
|
whatsapp: (loginId: string, URI?: string, signUpOptions?: {
|
|
1555
1614
|
customClaims?: Record<string, any>;
|
|
1615
|
+
templateId?: string;
|
|
1556
1616
|
templateOptions?: {
|
|
1557
1617
|
[x: string]: string;
|
|
1558
1618
|
};
|
|
@@ -1561,6 +1621,7 @@ export declare const createTempSdk: () => ((({
|
|
|
1561
1621
|
}>>;
|
|
1562
1622
|
email: (loginId: string, URI?: string, signUpOptions?: {
|
|
1563
1623
|
customClaims?: Record<string, any>;
|
|
1624
|
+
templateId?: string;
|
|
1564
1625
|
templateOptions?: {
|
|
1565
1626
|
[x: string]: string;
|
|
1566
1627
|
};
|
|
@@ -1614,6 +1675,7 @@ export declare const createTempSdk: () => ((({
|
|
|
1614
1675
|
signIn: (loginId: string, URI?: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<_1.EnchantedLinkResponse>>;
|
|
1615
1676
|
signUpOrIn: (loginId: string, URI?: string, signUpOptions?: {
|
|
1616
1677
|
customClaims?: Record<string, any>;
|
|
1678
|
+
templateId?: string;
|
|
1617
1679
|
templateOptions?: {
|
|
1618
1680
|
[x: string]: string;
|
|
1619
1681
|
};
|
|
@@ -1627,6 +1689,7 @@ export declare const createTempSdk: () => ((({
|
|
|
1627
1689
|
phone?: string;
|
|
1628
1690
|
}, signUpOptions?: {
|
|
1629
1691
|
customClaims?: Record<string, any>;
|
|
1692
|
+
templateId?: string;
|
|
1630
1693
|
templateOptions?: {
|
|
1631
1694
|
[x: string]: string;
|
|
1632
1695
|
};
|
|
@@ -1680,6 +1743,7 @@ export declare const createTempSdk: () => ((({
|
|
|
1680
1743
|
notp: {
|
|
1681
1744
|
signUpOrIn: (loginId?: string, signUpOptions?: {
|
|
1682
1745
|
customClaims?: Record<string, any>;
|
|
1746
|
+
templateId?: string;
|
|
1683
1747
|
templateOptions?: {
|
|
1684
1748
|
[x: string]: string;
|
|
1685
1749
|
};
|
|
@@ -1697,6 +1761,7 @@ export declare const createTempSdk: () => ((({
|
|
|
1697
1761
|
phone?: string;
|
|
1698
1762
|
}, signUpOptions?: {
|
|
1699
1763
|
customClaims?: Record<string, any>;
|
|
1764
|
+
templateId?: string;
|
|
1700
1765
|
templateOptions?: {
|
|
1701
1766
|
[x: string]: string;
|
|
1702
1767
|
};
|
|
@@ -1725,6 +1790,7 @@ export declare const createTempSdk: () => ((({
|
|
|
1725
1790
|
phone?: string;
|
|
1726
1791
|
}, signUpOptions?: {
|
|
1727
1792
|
customClaims?: Record<string, any>;
|
|
1793
|
+
templateId?: string;
|
|
1728
1794
|
templateOptions?: {
|
|
1729
1795
|
[x: string]: string;
|
|
1730
1796
|
};
|
|
@@ -1841,14 +1907,19 @@ export declare const createTempSdk: () => ((({
|
|
|
1841
1907
|
locale?: string;
|
|
1842
1908
|
oidcPrompt?: string;
|
|
1843
1909
|
oidcErrorRedirectUri?: string;
|
|
1844
|
-
|
|
1910
|
+
nativeOptions?: {
|
|
1911
|
+
platform: "ios" | "android";
|
|
1912
|
+
oauthProvider?: string;
|
|
1913
|
+
oauthRedirect?: string;
|
|
1914
|
+
};
|
|
1915
|
+
}, "tenant" | "redirectUrl" | "redirectAuth" | "oidcIdpStateId" | "samlIdpStateId" | "samlIdpUsername" | "ssoAppId" | "oidcLoginHint" | "preview" | "abTestingKey" | "client" | "locale" | "oidcPrompt" | "oidcErrorRedirectUri" | "nativeOptions"> & {
|
|
1845
1916
|
lastAuth?: Omit<{
|
|
1846
1917
|
authMethod?: "webauthn" | "otp" | "oauth" | "saml" | "totp" | "magiclink" | "enchantedlink";
|
|
1847
1918
|
oauthProvider?: string;
|
|
1848
1919
|
name?: string;
|
|
1849
1920
|
loginId?: string;
|
|
1850
1921
|
}, "loginId" | "name">;
|
|
1851
|
-
}, conditionInteractionId?: string, interactionId?: string,
|
|
1922
|
+
}, conditionInteractionId?: string, interactionId?: string, componentsVersion?: string, flowVersions?: Record<string, number>, input?: {
|
|
1852
1923
|
[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[])[])[])[])[])[])[])[])[])[])[];
|
|
1853
1924
|
}) => Promise<_1.SdkResponse<_1.FlowResponse>>;
|
|
1854
1925
|
next: (executionId: string, stepId: string, interactionId: string, version?: number, componentsVersion?: string, input?: {
|
|
@@ -1933,6 +2004,7 @@ export declare const createTempSdk: () => ((({
|
|
|
1933
2004
|
phone?: string;
|
|
1934
2005
|
}, signUpOptions?: {
|
|
1935
2006
|
customClaims?: Record<string, any>;
|
|
2007
|
+
templateId?: string;
|
|
1936
2008
|
templateOptions?: {
|
|
1937
2009
|
[x: string]: string;
|
|
1938
2010
|
};
|
|
@@ -1948,6 +2020,7 @@ export declare const createTempSdk: () => ((({
|
|
|
1948
2020
|
phone?: string;
|
|
1949
2021
|
}, signUpOptions?: {
|
|
1950
2022
|
customClaims?: Record<string, any>;
|
|
2023
|
+
templateId?: string;
|
|
1951
2024
|
templateOptions?: {
|
|
1952
2025
|
[x: string]: string;
|
|
1953
2026
|
};
|
|
@@ -1963,6 +2036,7 @@ export declare const createTempSdk: () => ((({
|
|
|
1963
2036
|
phone?: string;
|
|
1964
2037
|
}, signUpOptions?: {
|
|
1965
2038
|
customClaims?: Record<string, any>;
|
|
2039
|
+
templateId?: string;
|
|
1966
2040
|
templateOptions?: {
|
|
1967
2041
|
[x: string]: string;
|
|
1968
2042
|
};
|
|
@@ -1978,6 +2052,7 @@ export declare const createTempSdk: () => ((({
|
|
|
1978
2052
|
phone?: string;
|
|
1979
2053
|
}, signUpOptions?: {
|
|
1980
2054
|
customClaims?: Record<string, any>;
|
|
2055
|
+
templateId?: string;
|
|
1981
2056
|
templateOptions?: {
|
|
1982
2057
|
[x: string]: string;
|
|
1983
2058
|
};
|
|
@@ -2066,6 +2141,7 @@ export declare const createTempSdk: () => ((({
|
|
|
2066
2141
|
phone?: string;
|
|
2067
2142
|
}, signUpOptions?: {
|
|
2068
2143
|
customClaims?: Record<string, any>;
|
|
2144
|
+
templateId?: string;
|
|
2069
2145
|
templateOptions?: {
|
|
2070
2146
|
[x: string]: string;
|
|
2071
2147
|
};
|
|
@@ -2081,6 +2157,7 @@ export declare const createTempSdk: () => ((({
|
|
|
2081
2157
|
phone?: string;
|
|
2082
2158
|
}, signUpOptions?: {
|
|
2083
2159
|
customClaims?: Record<string, any>;
|
|
2160
|
+
templateId?: string;
|
|
2084
2161
|
templateOptions?: {
|
|
2085
2162
|
[x: string]: string;
|
|
2086
2163
|
};
|
|
@@ -2096,6 +2173,7 @@ export declare const createTempSdk: () => ((({
|
|
|
2096
2173
|
phone?: string;
|
|
2097
2174
|
}, signUpOptions?: {
|
|
2098
2175
|
customClaims?: Record<string, any>;
|
|
2176
|
+
templateId?: string;
|
|
2099
2177
|
templateOptions?: {
|
|
2100
2178
|
[x: string]: string;
|
|
2101
2179
|
};
|
|
@@ -2111,6 +2189,7 @@ export declare const createTempSdk: () => ((({
|
|
|
2111
2189
|
phone?: string;
|
|
2112
2190
|
}, signUpOptions?: {
|
|
2113
2191
|
customClaims?: Record<string, any>;
|
|
2192
|
+
templateId?: string;
|
|
2114
2193
|
templateOptions?: {
|
|
2115
2194
|
[x: string]: string;
|
|
2116
2195
|
};
|
|
@@ -2121,6 +2200,7 @@ export declare const createTempSdk: () => ((({
|
|
|
2121
2200
|
signUpOrIn: {
|
|
2122
2201
|
sms: (loginId: string, URI?: string, signUpOptions?: {
|
|
2123
2202
|
customClaims?: Record<string, any>;
|
|
2203
|
+
templateId?: string;
|
|
2124
2204
|
templateOptions?: {
|
|
2125
2205
|
[x: string]: string;
|
|
2126
2206
|
};
|
|
@@ -2129,6 +2209,7 @@ export declare const createTempSdk: () => ((({
|
|
|
2129
2209
|
}>>;
|
|
2130
2210
|
voice: (loginId: string, URI?: string, signUpOptions?: {
|
|
2131
2211
|
customClaims?: Record<string, any>;
|
|
2212
|
+
templateId?: string;
|
|
2132
2213
|
templateOptions?: {
|
|
2133
2214
|
[x: string]: string;
|
|
2134
2215
|
};
|
|
@@ -2137,6 +2218,7 @@ export declare const createTempSdk: () => ((({
|
|
|
2137
2218
|
}>>;
|
|
2138
2219
|
whatsapp: (loginId: string, URI?: string, signUpOptions?: {
|
|
2139
2220
|
customClaims?: Record<string, any>;
|
|
2221
|
+
templateId?: string;
|
|
2140
2222
|
templateOptions?: {
|
|
2141
2223
|
[x: string]: string;
|
|
2142
2224
|
};
|
|
@@ -2145,6 +2227,7 @@ export declare const createTempSdk: () => ((({
|
|
|
2145
2227
|
}>>;
|
|
2146
2228
|
email: (loginId: string, URI?: string, signUpOptions?: {
|
|
2147
2229
|
customClaims?: Record<string, any>;
|
|
2230
|
+
templateId?: string;
|
|
2148
2231
|
templateOptions?: {
|
|
2149
2232
|
[x: string]: string;
|
|
2150
2233
|
};
|
|
@@ -2198,6 +2281,7 @@ export declare const createTempSdk: () => ((({
|
|
|
2198
2281
|
signIn: (loginId: string, URI?: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<_1.EnchantedLinkResponse>>;
|
|
2199
2282
|
signUpOrIn: (loginId: string, URI?: string, signUpOptions?: {
|
|
2200
2283
|
customClaims?: Record<string, any>;
|
|
2284
|
+
templateId?: string;
|
|
2201
2285
|
templateOptions?: {
|
|
2202
2286
|
[x: string]: string;
|
|
2203
2287
|
};
|
|
@@ -2211,6 +2295,7 @@ export declare const createTempSdk: () => ((({
|
|
|
2211
2295
|
phone?: string;
|
|
2212
2296
|
}, signUpOptions?: {
|
|
2213
2297
|
customClaims?: Record<string, any>;
|
|
2298
|
+
templateId?: string;
|
|
2214
2299
|
templateOptions?: {
|
|
2215
2300
|
[x: string]: string;
|
|
2216
2301
|
};
|
|
@@ -2264,6 +2349,7 @@ export declare const createTempSdk: () => ((({
|
|
|
2264
2349
|
notp: {
|
|
2265
2350
|
signUpOrIn: (loginId?: string, signUpOptions?: {
|
|
2266
2351
|
customClaims?: Record<string, any>;
|
|
2352
|
+
templateId?: string;
|
|
2267
2353
|
templateOptions?: {
|
|
2268
2354
|
[x: string]: string;
|
|
2269
2355
|
};
|
|
@@ -2281,6 +2367,7 @@ export declare const createTempSdk: () => ((({
|
|
|
2281
2367
|
phone?: string;
|
|
2282
2368
|
}, signUpOptions?: {
|
|
2283
2369
|
customClaims?: Record<string, any>;
|
|
2370
|
+
templateId?: string;
|
|
2284
2371
|
templateOptions?: {
|
|
2285
2372
|
[x: string]: string;
|
|
2286
2373
|
};
|
|
@@ -2309,6 +2396,7 @@ export declare const createTempSdk: () => ((({
|
|
|
2309
2396
|
phone?: string;
|
|
2310
2397
|
}, signUpOptions?: {
|
|
2311
2398
|
customClaims?: Record<string, any>;
|
|
2399
|
+
templateId?: string;
|
|
2312
2400
|
templateOptions?: {
|
|
2313
2401
|
[x: string]: string;
|
|
2314
2402
|
};
|
|
@@ -2442,14 +2530,19 @@ export declare const getGlobalSdk: () => ((({
|
|
|
2442
2530
|
locale?: string;
|
|
2443
2531
|
oidcPrompt?: string;
|
|
2444
2532
|
oidcErrorRedirectUri?: string;
|
|
2445
|
-
|
|
2533
|
+
nativeOptions?: {
|
|
2534
|
+
platform: "ios" | "android";
|
|
2535
|
+
oauthProvider?: string;
|
|
2536
|
+
oauthRedirect?: string;
|
|
2537
|
+
};
|
|
2538
|
+
}, "tenant" | "redirectUrl" | "redirectAuth" | "oidcIdpStateId" | "samlIdpStateId" | "samlIdpUsername" | "ssoAppId" | "oidcLoginHint" | "preview" | "abTestingKey" | "client" | "locale" | "oidcPrompt" | "oidcErrorRedirectUri" | "nativeOptions"> & {
|
|
2446
2539
|
lastAuth?: Omit<{
|
|
2447
2540
|
authMethod?: "webauthn" | "otp" | "oauth" | "saml" | "totp" | "magiclink" | "enchantedlink";
|
|
2448
2541
|
oauthProvider?: string;
|
|
2449
2542
|
name?: string;
|
|
2450
2543
|
loginId?: string;
|
|
2451
2544
|
}, "loginId" | "name">;
|
|
2452
|
-
}, conditionInteractionId?: string, interactionId?: string,
|
|
2545
|
+
}, conditionInteractionId?: string, interactionId?: string, componentsVersion?: string, flowVersions?: Record<string, number>, input?: {
|
|
2453
2546
|
[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[])[])[])[])[])[])[])[])[])[])[];
|
|
2454
2547
|
}) => Promise<_1.SdkResponse<_1.FlowResponse>>;
|
|
2455
2548
|
next: (executionId: string, stepId: string, interactionId: string, version?: number, componentsVersion?: string, input?: {
|
|
@@ -2534,6 +2627,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
2534
2627
|
phone?: string;
|
|
2535
2628
|
}, signUpOptions?: {
|
|
2536
2629
|
customClaims?: Record<string, any>;
|
|
2630
|
+
templateId?: string;
|
|
2537
2631
|
templateOptions?: {
|
|
2538
2632
|
[x: string]: string;
|
|
2539
2633
|
};
|
|
@@ -2549,6 +2643,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
2549
2643
|
phone?: string;
|
|
2550
2644
|
}, signUpOptions?: {
|
|
2551
2645
|
customClaims?: Record<string, any>;
|
|
2646
|
+
templateId?: string;
|
|
2552
2647
|
templateOptions?: {
|
|
2553
2648
|
[x: string]: string;
|
|
2554
2649
|
};
|
|
@@ -2564,6 +2659,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
2564
2659
|
phone?: string;
|
|
2565
2660
|
}, signUpOptions?: {
|
|
2566
2661
|
customClaims?: Record<string, any>;
|
|
2662
|
+
templateId?: string;
|
|
2567
2663
|
templateOptions?: {
|
|
2568
2664
|
[x: string]: string;
|
|
2569
2665
|
};
|
|
@@ -2579,6 +2675,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
2579
2675
|
phone?: string;
|
|
2580
2676
|
}, signUpOptions?: {
|
|
2581
2677
|
customClaims?: Record<string, any>;
|
|
2678
|
+
templateId?: string;
|
|
2582
2679
|
templateOptions?: {
|
|
2583
2680
|
[x: string]: string;
|
|
2584
2681
|
};
|
|
@@ -2667,6 +2764,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
2667
2764
|
phone?: string;
|
|
2668
2765
|
}, signUpOptions?: {
|
|
2669
2766
|
customClaims?: Record<string, any>;
|
|
2767
|
+
templateId?: string;
|
|
2670
2768
|
templateOptions?: {
|
|
2671
2769
|
[x: string]: string;
|
|
2672
2770
|
};
|
|
@@ -2682,6 +2780,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
2682
2780
|
phone?: string;
|
|
2683
2781
|
}, signUpOptions?: {
|
|
2684
2782
|
customClaims?: Record<string, any>;
|
|
2783
|
+
templateId?: string;
|
|
2685
2784
|
templateOptions?: {
|
|
2686
2785
|
[x: string]: string;
|
|
2687
2786
|
};
|
|
@@ -2697,6 +2796,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
2697
2796
|
phone?: string;
|
|
2698
2797
|
}, signUpOptions?: {
|
|
2699
2798
|
customClaims?: Record<string, any>;
|
|
2799
|
+
templateId?: string;
|
|
2700
2800
|
templateOptions?: {
|
|
2701
2801
|
[x: string]: string;
|
|
2702
2802
|
};
|
|
@@ -2712,6 +2812,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
2712
2812
|
phone?: string;
|
|
2713
2813
|
}, signUpOptions?: {
|
|
2714
2814
|
customClaims?: Record<string, any>;
|
|
2815
|
+
templateId?: string;
|
|
2715
2816
|
templateOptions?: {
|
|
2716
2817
|
[x: string]: string;
|
|
2717
2818
|
};
|
|
@@ -2722,6 +2823,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
2722
2823
|
signUpOrIn: {
|
|
2723
2824
|
sms: (loginId: string, URI?: string, signUpOptions?: {
|
|
2724
2825
|
customClaims?: Record<string, any>;
|
|
2826
|
+
templateId?: string;
|
|
2725
2827
|
templateOptions?: {
|
|
2726
2828
|
[x: string]: string;
|
|
2727
2829
|
};
|
|
@@ -2730,6 +2832,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
2730
2832
|
}>>;
|
|
2731
2833
|
voice: (loginId: string, URI?: string, signUpOptions?: {
|
|
2732
2834
|
customClaims?: Record<string, any>;
|
|
2835
|
+
templateId?: string;
|
|
2733
2836
|
templateOptions?: {
|
|
2734
2837
|
[x: string]: string;
|
|
2735
2838
|
};
|
|
@@ -2738,6 +2841,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
2738
2841
|
}>>;
|
|
2739
2842
|
whatsapp: (loginId: string, URI?: string, signUpOptions?: {
|
|
2740
2843
|
customClaims?: Record<string, any>;
|
|
2844
|
+
templateId?: string;
|
|
2741
2845
|
templateOptions?: {
|
|
2742
2846
|
[x: string]: string;
|
|
2743
2847
|
};
|
|
@@ -2746,6 +2850,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
2746
2850
|
}>>;
|
|
2747
2851
|
email: (loginId: string, URI?: string, signUpOptions?: {
|
|
2748
2852
|
customClaims?: Record<string, any>;
|
|
2853
|
+
templateId?: string;
|
|
2749
2854
|
templateOptions?: {
|
|
2750
2855
|
[x: string]: string;
|
|
2751
2856
|
};
|
|
@@ -2799,6 +2904,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
2799
2904
|
signIn: (loginId: string, URI?: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<_1.EnchantedLinkResponse>>;
|
|
2800
2905
|
signUpOrIn: (loginId: string, URI?: string, signUpOptions?: {
|
|
2801
2906
|
customClaims?: Record<string, any>;
|
|
2907
|
+
templateId?: string;
|
|
2802
2908
|
templateOptions?: {
|
|
2803
2909
|
[x: string]: string;
|
|
2804
2910
|
};
|
|
@@ -2812,6 +2918,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
2812
2918
|
phone?: string;
|
|
2813
2919
|
}, signUpOptions?: {
|
|
2814
2920
|
customClaims?: Record<string, any>;
|
|
2921
|
+
templateId?: string;
|
|
2815
2922
|
templateOptions?: {
|
|
2816
2923
|
[x: string]: string;
|
|
2817
2924
|
};
|
|
@@ -2865,6 +2972,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
2865
2972
|
notp: {
|
|
2866
2973
|
signUpOrIn: (loginId?: string, signUpOptions?: {
|
|
2867
2974
|
customClaims?: Record<string, any>;
|
|
2975
|
+
templateId?: string;
|
|
2868
2976
|
templateOptions?: {
|
|
2869
2977
|
[x: string]: string;
|
|
2870
2978
|
};
|
|
@@ -2882,6 +2990,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
2882
2990
|
phone?: string;
|
|
2883
2991
|
}, signUpOptions?: {
|
|
2884
2992
|
customClaims?: Record<string, any>;
|
|
2993
|
+
templateId?: string;
|
|
2885
2994
|
templateOptions?: {
|
|
2886
2995
|
[x: string]: string;
|
|
2887
2996
|
};
|
|
@@ -2910,6 +3019,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
2910
3019
|
phone?: string;
|
|
2911
3020
|
}, signUpOptions?: {
|
|
2912
3021
|
customClaims?: Record<string, any>;
|
|
3022
|
+
templateId?: string;
|
|
2913
3023
|
templateOptions?: {
|
|
2914
3024
|
[x: string]: string;
|
|
2915
3025
|
};
|
|
@@ -3026,14 +3136,19 @@ export declare const getGlobalSdk: () => ((({
|
|
|
3026
3136
|
locale?: string;
|
|
3027
3137
|
oidcPrompt?: string;
|
|
3028
3138
|
oidcErrorRedirectUri?: string;
|
|
3029
|
-
|
|
3139
|
+
nativeOptions?: {
|
|
3140
|
+
platform: "ios" | "android";
|
|
3141
|
+
oauthProvider?: string;
|
|
3142
|
+
oauthRedirect?: string;
|
|
3143
|
+
};
|
|
3144
|
+
}, "tenant" | "redirectUrl" | "redirectAuth" | "oidcIdpStateId" | "samlIdpStateId" | "samlIdpUsername" | "ssoAppId" | "oidcLoginHint" | "preview" | "abTestingKey" | "client" | "locale" | "oidcPrompt" | "oidcErrorRedirectUri" | "nativeOptions"> & {
|
|
3030
3145
|
lastAuth?: Omit<{
|
|
3031
3146
|
authMethod?: "webauthn" | "otp" | "oauth" | "saml" | "totp" | "magiclink" | "enchantedlink";
|
|
3032
3147
|
oauthProvider?: string;
|
|
3033
3148
|
name?: string;
|
|
3034
3149
|
loginId?: string;
|
|
3035
3150
|
}, "loginId" | "name">;
|
|
3036
|
-
}, conditionInteractionId?: string, interactionId?: string,
|
|
3151
|
+
}, conditionInteractionId?: string, interactionId?: string, componentsVersion?: string, flowVersions?: Record<string, number>, input?: {
|
|
3037
3152
|
[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[])[])[])[])[])[])[])[])[])[])[];
|
|
3038
3153
|
}) => Promise<_1.SdkResponse<_1.FlowResponse>>;
|
|
3039
3154
|
next: (executionId: string, stepId: string, interactionId: string, version?: number, componentsVersion?: string, input?: {
|
|
@@ -3118,6 +3233,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
3118
3233
|
phone?: string;
|
|
3119
3234
|
}, signUpOptions?: {
|
|
3120
3235
|
customClaims?: Record<string, any>;
|
|
3236
|
+
templateId?: string;
|
|
3121
3237
|
templateOptions?: {
|
|
3122
3238
|
[x: string]: string;
|
|
3123
3239
|
};
|
|
@@ -3133,6 +3249,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
3133
3249
|
phone?: string;
|
|
3134
3250
|
}, signUpOptions?: {
|
|
3135
3251
|
customClaims?: Record<string, any>;
|
|
3252
|
+
templateId?: string;
|
|
3136
3253
|
templateOptions?: {
|
|
3137
3254
|
[x: string]: string;
|
|
3138
3255
|
};
|
|
@@ -3148,6 +3265,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
3148
3265
|
phone?: string;
|
|
3149
3266
|
}, signUpOptions?: {
|
|
3150
3267
|
customClaims?: Record<string, any>;
|
|
3268
|
+
templateId?: string;
|
|
3151
3269
|
templateOptions?: {
|
|
3152
3270
|
[x: string]: string;
|
|
3153
3271
|
};
|
|
@@ -3163,6 +3281,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
3163
3281
|
phone?: string;
|
|
3164
3282
|
}, signUpOptions?: {
|
|
3165
3283
|
customClaims?: Record<string, any>;
|
|
3284
|
+
templateId?: string;
|
|
3166
3285
|
templateOptions?: {
|
|
3167
3286
|
[x: string]: string;
|
|
3168
3287
|
};
|
|
@@ -3251,6 +3370,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
3251
3370
|
phone?: string;
|
|
3252
3371
|
}, signUpOptions?: {
|
|
3253
3372
|
customClaims?: Record<string, any>;
|
|
3373
|
+
templateId?: string;
|
|
3254
3374
|
templateOptions?: {
|
|
3255
3375
|
[x: string]: string;
|
|
3256
3376
|
};
|
|
@@ -3266,6 +3386,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
3266
3386
|
phone?: string;
|
|
3267
3387
|
}, signUpOptions?: {
|
|
3268
3388
|
customClaims?: Record<string, any>;
|
|
3389
|
+
templateId?: string;
|
|
3269
3390
|
templateOptions?: {
|
|
3270
3391
|
[x: string]: string;
|
|
3271
3392
|
};
|
|
@@ -3281,6 +3402,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
3281
3402
|
phone?: string;
|
|
3282
3403
|
}, signUpOptions?: {
|
|
3283
3404
|
customClaims?: Record<string, any>;
|
|
3405
|
+
templateId?: string;
|
|
3284
3406
|
templateOptions?: {
|
|
3285
3407
|
[x: string]: string;
|
|
3286
3408
|
};
|
|
@@ -3296,6 +3418,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
3296
3418
|
phone?: string;
|
|
3297
3419
|
}, signUpOptions?: {
|
|
3298
3420
|
customClaims?: Record<string, any>;
|
|
3421
|
+
templateId?: string;
|
|
3299
3422
|
templateOptions?: {
|
|
3300
3423
|
[x: string]: string;
|
|
3301
3424
|
};
|
|
@@ -3306,6 +3429,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
3306
3429
|
signUpOrIn: {
|
|
3307
3430
|
sms: (loginId: string, URI?: string, signUpOptions?: {
|
|
3308
3431
|
customClaims?: Record<string, any>;
|
|
3432
|
+
templateId?: string;
|
|
3309
3433
|
templateOptions?: {
|
|
3310
3434
|
[x: string]: string;
|
|
3311
3435
|
};
|
|
@@ -3314,6 +3438,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
3314
3438
|
}>>;
|
|
3315
3439
|
voice: (loginId: string, URI?: string, signUpOptions?: {
|
|
3316
3440
|
customClaims?: Record<string, any>;
|
|
3441
|
+
templateId?: string;
|
|
3317
3442
|
templateOptions?: {
|
|
3318
3443
|
[x: string]: string;
|
|
3319
3444
|
};
|
|
@@ -3322,6 +3447,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
3322
3447
|
}>>;
|
|
3323
3448
|
whatsapp: (loginId: string, URI?: string, signUpOptions?: {
|
|
3324
3449
|
customClaims?: Record<string, any>;
|
|
3450
|
+
templateId?: string;
|
|
3325
3451
|
templateOptions?: {
|
|
3326
3452
|
[x: string]: string;
|
|
3327
3453
|
};
|
|
@@ -3330,6 +3456,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
3330
3456
|
}>>;
|
|
3331
3457
|
email: (loginId: string, URI?: string, signUpOptions?: {
|
|
3332
3458
|
customClaims?: Record<string, any>;
|
|
3459
|
+
templateId?: string;
|
|
3333
3460
|
templateOptions?: {
|
|
3334
3461
|
[x: string]: string;
|
|
3335
3462
|
};
|
|
@@ -3383,6 +3510,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
3383
3510
|
signIn: (loginId: string, URI?: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<_1.EnchantedLinkResponse>>;
|
|
3384
3511
|
signUpOrIn: (loginId: string, URI?: string, signUpOptions?: {
|
|
3385
3512
|
customClaims?: Record<string, any>;
|
|
3513
|
+
templateId?: string;
|
|
3386
3514
|
templateOptions?: {
|
|
3387
3515
|
[x: string]: string;
|
|
3388
3516
|
};
|
|
@@ -3396,6 +3524,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
3396
3524
|
phone?: string;
|
|
3397
3525
|
}, signUpOptions?: {
|
|
3398
3526
|
customClaims?: Record<string, any>;
|
|
3527
|
+
templateId?: string;
|
|
3399
3528
|
templateOptions?: {
|
|
3400
3529
|
[x: string]: string;
|
|
3401
3530
|
};
|
|
@@ -3449,6 +3578,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
3449
3578
|
notp: {
|
|
3450
3579
|
signUpOrIn: (loginId?: string, signUpOptions?: {
|
|
3451
3580
|
customClaims?: Record<string, any>;
|
|
3581
|
+
templateId?: string;
|
|
3452
3582
|
templateOptions?: {
|
|
3453
3583
|
[x: string]: string;
|
|
3454
3584
|
};
|
|
@@ -3466,6 +3596,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
3466
3596
|
phone?: string;
|
|
3467
3597
|
}, signUpOptions?: {
|
|
3468
3598
|
customClaims?: Record<string, any>;
|
|
3599
|
+
templateId?: string;
|
|
3469
3600
|
templateOptions?: {
|
|
3470
3601
|
[x: string]: string;
|
|
3471
3602
|
};
|
|
@@ -3494,6 +3625,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
3494
3625
|
phone?: string;
|
|
3495
3626
|
}, signUpOptions?: {
|
|
3496
3627
|
customClaims?: Record<string, any>;
|
|
3628
|
+
templateId?: string;
|
|
3497
3629
|
templateOptions?: {
|
|
3498
3630
|
[x: string]: string;
|
|
3499
3631
|
};
|