@descope/react-sdk 2.25.2 → 2.25.4
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/constants.js +1 -1
- package/dist/esm/constants.js +1 -1
- package/dist/index.d.ts +255 -36
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/dist/types/sdk.d.ts +767 -110
- package/package.json +12 -12
package/dist/types/sdk.d.ts
CHANGED
|
@@ -188,6 +188,7 @@ declare const createSdkWrapper: <P extends {
|
|
|
188
188
|
sms: (loginId: string, code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
189
189
|
voice: (loginId: string, code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
190
190
|
whatsapp: (loginId: string, code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
191
|
+
im: (loginId: string, code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
191
192
|
email: (loginId: string, code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
192
193
|
};
|
|
193
194
|
signIn: {
|
|
@@ -200,6 +201,9 @@ declare const createSdkWrapper: <P extends {
|
|
|
200
201
|
whatsapp: (loginId: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
201
202
|
maskedPhone: string;
|
|
202
203
|
}>>;
|
|
204
|
+
im: (loginId: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
205
|
+
maskedPhone: string;
|
|
206
|
+
}>>;
|
|
203
207
|
email: (loginId: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
204
208
|
maskedEmail: string;
|
|
205
209
|
}>>;
|
|
@@ -253,6 +257,22 @@ declare const createSdkWrapper: <P extends {
|
|
|
253
257
|
}) => Promise<_1.SdkResponse<{
|
|
254
258
|
maskedPhone: string;
|
|
255
259
|
}>>;
|
|
260
|
+
im: (loginId: string, user?: {
|
|
261
|
+
email?: string;
|
|
262
|
+
name?: string;
|
|
263
|
+
givenName?: string;
|
|
264
|
+
middleName?: string;
|
|
265
|
+
familyName?: string;
|
|
266
|
+
phone?: string;
|
|
267
|
+
}, signUpOptions?: {
|
|
268
|
+
customClaims?: Record<string, any>;
|
|
269
|
+
templateId?: string;
|
|
270
|
+
templateOptions?: {
|
|
271
|
+
[x: string]: string;
|
|
272
|
+
};
|
|
273
|
+
}) => Promise<_1.SdkResponse<{
|
|
274
|
+
maskedPhone: string;
|
|
275
|
+
}>>;
|
|
256
276
|
email: (loginId: string, user?: {
|
|
257
277
|
email?: string;
|
|
258
278
|
name?: string;
|
|
@@ -280,6 +300,9 @@ declare const createSdkWrapper: <P extends {
|
|
|
280
300
|
whatsapp: (loginId: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
281
301
|
maskedPhone: string;
|
|
282
302
|
}>>;
|
|
303
|
+
im: (loginId: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
304
|
+
maskedPhone: string;
|
|
305
|
+
}>>;
|
|
283
306
|
email: (loginId: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
284
307
|
maskedEmail: string;
|
|
285
308
|
}>>;
|
|
@@ -330,6 +353,17 @@ declare const createSdkWrapper: <P extends {
|
|
|
330
353
|
}) => Promise<_1.SdkResponse<{
|
|
331
354
|
maskedPhone: string;
|
|
332
355
|
}>>;
|
|
356
|
+
im: <T_1_3 extends boolean>(loginId: string, phone: string, token?: string, updateOptions?: {
|
|
357
|
+
addToLoginIDs?: T_1_3;
|
|
358
|
+
onMergeUseExisting?: T_1_3 extends true ? boolean : never;
|
|
359
|
+
templateOptions?: {
|
|
360
|
+
[x: string]: string;
|
|
361
|
+
};
|
|
362
|
+
templateId?: string;
|
|
363
|
+
providerId?: string;
|
|
364
|
+
}) => Promise<_1.SdkResponse<{
|
|
365
|
+
maskedPhone: string;
|
|
366
|
+
}>>;
|
|
333
367
|
};
|
|
334
368
|
};
|
|
335
369
|
};
|
|
@@ -345,6 +379,9 @@ declare const createSdkWrapper: <P extends {
|
|
|
345
379
|
whatsapp: (loginId: string, URI: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
346
380
|
maskedPhone: string;
|
|
347
381
|
}>>;
|
|
382
|
+
im: (loginId: string, URI: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
383
|
+
maskedPhone: string;
|
|
384
|
+
}>>;
|
|
348
385
|
email: (loginId: string, URI: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
349
386
|
maskedEmail: string;
|
|
350
387
|
}>>;
|
|
@@ -398,6 +435,22 @@ declare const createSdkWrapper: <P extends {
|
|
|
398
435
|
}) => Promise<_1.SdkResponse<{
|
|
399
436
|
maskedPhone: string;
|
|
400
437
|
}>>;
|
|
438
|
+
im: (loginId: string, URI: string, user?: {
|
|
439
|
+
email?: string;
|
|
440
|
+
name?: string;
|
|
441
|
+
givenName?: string;
|
|
442
|
+
middleName?: string;
|
|
443
|
+
familyName?: string;
|
|
444
|
+
phone?: string;
|
|
445
|
+
}, signUpOptions?: {
|
|
446
|
+
customClaims?: Record<string, any>;
|
|
447
|
+
templateId?: string;
|
|
448
|
+
templateOptions?: {
|
|
449
|
+
[x: string]: string;
|
|
450
|
+
};
|
|
451
|
+
}) => Promise<_1.SdkResponse<{
|
|
452
|
+
maskedPhone: string;
|
|
453
|
+
}>>;
|
|
401
454
|
email: (loginId: string, URI: string, user?: {
|
|
402
455
|
email?: string;
|
|
403
456
|
name?: string;
|
|
@@ -443,6 +496,15 @@ declare const createSdkWrapper: <P extends {
|
|
|
443
496
|
}) => Promise<_1.SdkResponse<{
|
|
444
497
|
maskedPhone: string;
|
|
445
498
|
}>>;
|
|
499
|
+
im: (loginId: string, URI?: string, signUpOptions?: {
|
|
500
|
+
customClaims?: Record<string, any>;
|
|
501
|
+
templateId?: string;
|
|
502
|
+
templateOptions?: {
|
|
503
|
+
[x: string]: string;
|
|
504
|
+
};
|
|
505
|
+
}) => Promise<_1.SdkResponse<{
|
|
506
|
+
maskedPhone: string;
|
|
507
|
+
}>>;
|
|
446
508
|
email: (loginId: string, URI?: string, signUpOptions?: {
|
|
447
509
|
customClaims?: Record<string, any>;
|
|
448
510
|
templateId?: string;
|
|
@@ -499,6 +561,17 @@ declare const createSdkWrapper: <P extends {
|
|
|
499
561
|
}) => Promise<_1.SdkResponse<{
|
|
500
562
|
maskedPhone: string;
|
|
501
563
|
}>>;
|
|
564
|
+
im: <T_3_3 extends boolean>(loginId: string, phone: string, URI?: string, token?: string, updateOptions?: {
|
|
565
|
+
addToLoginIDs?: T_3_3;
|
|
566
|
+
onMergeUseExisting?: T_3_3 extends true ? boolean : never;
|
|
567
|
+
templateOptions?: {
|
|
568
|
+
[x: string]: string;
|
|
569
|
+
};
|
|
570
|
+
templateId?: string;
|
|
571
|
+
providerId?: string;
|
|
572
|
+
}) => Promise<_1.SdkResponse<{
|
|
573
|
+
maskedPhone: string;
|
|
574
|
+
}>>;
|
|
502
575
|
};
|
|
503
576
|
};
|
|
504
577
|
};
|
|
@@ -834,6 +907,7 @@ declare const createSdkWrapper: <P extends {
|
|
|
834
907
|
sms: (loginId: string, code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
835
908
|
voice: (loginId: string, code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
836
909
|
whatsapp: (loginId: string, code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
910
|
+
im: (loginId: string, code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
837
911
|
email: (loginId: string, code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
838
912
|
};
|
|
839
913
|
signIn: {
|
|
@@ -846,6 +920,9 @@ declare const createSdkWrapper: <P extends {
|
|
|
846
920
|
whatsapp: (loginId: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
847
921
|
maskedPhone: string;
|
|
848
922
|
}>>;
|
|
923
|
+
im: (loginId: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
924
|
+
maskedPhone: string;
|
|
925
|
+
}>>;
|
|
849
926
|
email: (loginId: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
850
927
|
maskedEmail: string;
|
|
851
928
|
}>>;
|
|
@@ -899,6 +976,22 @@ declare const createSdkWrapper: <P extends {
|
|
|
899
976
|
}) => Promise<_1.SdkResponse<{
|
|
900
977
|
maskedPhone: string;
|
|
901
978
|
}>>;
|
|
979
|
+
im: (loginId: string, user?: {
|
|
980
|
+
email?: string;
|
|
981
|
+
name?: string;
|
|
982
|
+
givenName?: string;
|
|
983
|
+
middleName?: string;
|
|
984
|
+
familyName?: string;
|
|
985
|
+
phone?: string;
|
|
986
|
+
}, signUpOptions?: {
|
|
987
|
+
customClaims?: Record<string, any>;
|
|
988
|
+
templateId?: string;
|
|
989
|
+
templateOptions?: {
|
|
990
|
+
[x: string]: string;
|
|
991
|
+
};
|
|
992
|
+
}) => Promise<_1.SdkResponse<{
|
|
993
|
+
maskedPhone: string;
|
|
994
|
+
}>>;
|
|
902
995
|
email: (loginId: string, user?: {
|
|
903
996
|
email?: string;
|
|
904
997
|
name?: string;
|
|
@@ -926,6 +1019,9 @@ declare const createSdkWrapper: <P extends {
|
|
|
926
1019
|
whatsapp: (loginId: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
927
1020
|
maskedPhone: string;
|
|
928
1021
|
}>>;
|
|
1022
|
+
im: (loginId: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
1023
|
+
maskedPhone: string;
|
|
1024
|
+
}>>;
|
|
929
1025
|
email: (loginId: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
930
1026
|
maskedEmail: string;
|
|
931
1027
|
}>>;
|
|
@@ -943,9 +1039,9 @@ declare const createSdkWrapper: <P extends {
|
|
|
943
1039
|
maskedEmail: string;
|
|
944
1040
|
}>>;
|
|
945
1041
|
phone: {
|
|
946
|
-
sms: <
|
|
947
|
-
addToLoginIDs?:
|
|
948
|
-
onMergeUseExisting?:
|
|
1042
|
+
sms: <T_1_4 extends boolean>(loginId: string, phone: string, token?: string, updateOptions?: {
|
|
1043
|
+
addToLoginIDs?: T_1_4;
|
|
1044
|
+
onMergeUseExisting?: T_1_4 extends true ? boolean : never;
|
|
949
1045
|
templateOptions?: {
|
|
950
1046
|
[x: string]: string;
|
|
951
1047
|
};
|
|
@@ -954,9 +1050,9 @@ declare const createSdkWrapper: <P extends {
|
|
|
954
1050
|
}) => Promise<_1.SdkResponse<{
|
|
955
1051
|
maskedPhone: string;
|
|
956
1052
|
}>>;
|
|
957
|
-
voice: <
|
|
958
|
-
addToLoginIDs?:
|
|
959
|
-
onMergeUseExisting?:
|
|
1053
|
+
voice: <T_1_5 extends boolean>(loginId: string, phone: string, token?: string, updateOptions?: {
|
|
1054
|
+
addToLoginIDs?: T_1_5;
|
|
1055
|
+
onMergeUseExisting?: T_1_5 extends true ? boolean : never;
|
|
960
1056
|
templateOptions?: {
|
|
961
1057
|
[x: string]: string;
|
|
962
1058
|
};
|
|
@@ -965,9 +1061,20 @@ declare const createSdkWrapper: <P extends {
|
|
|
965
1061
|
}) => Promise<_1.SdkResponse<{
|
|
966
1062
|
maskedPhone: string;
|
|
967
1063
|
}>>;
|
|
968
|
-
whatsapp: <
|
|
969
|
-
addToLoginIDs?:
|
|
970
|
-
onMergeUseExisting?:
|
|
1064
|
+
whatsapp: <T_1_6 extends boolean>(loginId: string, phone: string, token?: string, updateOptions?: {
|
|
1065
|
+
addToLoginIDs?: T_1_6;
|
|
1066
|
+
onMergeUseExisting?: T_1_6 extends true ? boolean : never;
|
|
1067
|
+
templateOptions?: {
|
|
1068
|
+
[x: string]: string;
|
|
1069
|
+
};
|
|
1070
|
+
templateId?: string;
|
|
1071
|
+
providerId?: string;
|
|
1072
|
+
}) => Promise<_1.SdkResponse<{
|
|
1073
|
+
maskedPhone: string;
|
|
1074
|
+
}>>;
|
|
1075
|
+
im: <T_1_7 extends boolean>(loginId: string, phone: string, token?: string, updateOptions?: {
|
|
1076
|
+
addToLoginIDs?: T_1_7;
|
|
1077
|
+
onMergeUseExisting?: T_1_7 extends true ? boolean : never;
|
|
971
1078
|
templateOptions?: {
|
|
972
1079
|
[x: string]: string;
|
|
973
1080
|
};
|
|
@@ -991,6 +1098,9 @@ declare const createSdkWrapper: <P extends {
|
|
|
991
1098
|
whatsapp: (loginId: string, URI: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
992
1099
|
maskedPhone: string;
|
|
993
1100
|
}>>;
|
|
1101
|
+
im: (loginId: string, URI: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
1102
|
+
maskedPhone: string;
|
|
1103
|
+
}>>;
|
|
994
1104
|
email: (loginId: string, URI: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
995
1105
|
maskedEmail: string;
|
|
996
1106
|
}>>;
|
|
@@ -1044,6 +1154,22 @@ declare const createSdkWrapper: <P extends {
|
|
|
1044
1154
|
}) => Promise<_1.SdkResponse<{
|
|
1045
1155
|
maskedPhone: string;
|
|
1046
1156
|
}>>;
|
|
1157
|
+
im: (loginId: string, URI: string, user?: {
|
|
1158
|
+
email?: string;
|
|
1159
|
+
name?: string;
|
|
1160
|
+
givenName?: string;
|
|
1161
|
+
middleName?: string;
|
|
1162
|
+
familyName?: string;
|
|
1163
|
+
phone?: string;
|
|
1164
|
+
}, signUpOptions?: {
|
|
1165
|
+
customClaims?: Record<string, any>;
|
|
1166
|
+
templateId?: string;
|
|
1167
|
+
templateOptions?: {
|
|
1168
|
+
[x: string]: string;
|
|
1169
|
+
};
|
|
1170
|
+
}) => Promise<_1.SdkResponse<{
|
|
1171
|
+
maskedPhone: string;
|
|
1172
|
+
}>>;
|
|
1047
1173
|
email: (loginId: string, URI: string, user?: {
|
|
1048
1174
|
email?: string;
|
|
1049
1175
|
name?: string;
|
|
@@ -1089,6 +1215,15 @@ declare const createSdkWrapper: <P extends {
|
|
|
1089
1215
|
}) => Promise<_1.SdkResponse<{
|
|
1090
1216
|
maskedPhone: string;
|
|
1091
1217
|
}>>;
|
|
1218
|
+
im: (loginId: string, URI?: string, signUpOptions?: {
|
|
1219
|
+
customClaims?: Record<string, any>;
|
|
1220
|
+
templateId?: string;
|
|
1221
|
+
templateOptions?: {
|
|
1222
|
+
[x: string]: string;
|
|
1223
|
+
};
|
|
1224
|
+
}) => Promise<_1.SdkResponse<{
|
|
1225
|
+
maskedPhone: string;
|
|
1226
|
+
}>>;
|
|
1092
1227
|
email: (loginId: string, URI?: string, signUpOptions?: {
|
|
1093
1228
|
customClaims?: Record<string, any>;
|
|
1094
1229
|
templateId?: string;
|
|
@@ -1112,9 +1247,9 @@ declare const createSdkWrapper: <P extends {
|
|
|
1112
1247
|
maskedEmail: string;
|
|
1113
1248
|
}>>;
|
|
1114
1249
|
phone: {
|
|
1115
|
-
sms: <
|
|
1116
|
-
addToLoginIDs?:
|
|
1117
|
-
onMergeUseExisting?:
|
|
1250
|
+
sms: <T_3_4 extends boolean>(loginId: string, phone: string, URI?: string, token?: string, updateOptions?: {
|
|
1251
|
+
addToLoginIDs?: T_3_4;
|
|
1252
|
+
onMergeUseExisting?: T_3_4 extends true ? boolean : never;
|
|
1118
1253
|
templateOptions?: {
|
|
1119
1254
|
[x: string]: string;
|
|
1120
1255
|
};
|
|
@@ -1123,9 +1258,9 @@ declare const createSdkWrapper: <P extends {
|
|
|
1123
1258
|
}) => Promise<_1.SdkResponse<{
|
|
1124
1259
|
maskedPhone: string;
|
|
1125
1260
|
}>>;
|
|
1126
|
-
voice: <
|
|
1127
|
-
addToLoginIDs?:
|
|
1128
|
-
onMergeUseExisting?:
|
|
1261
|
+
voice: <T_3_5 extends boolean>(loginId: string, phone: string, URI?: string, token?: string, updateOptions?: {
|
|
1262
|
+
addToLoginIDs?: T_3_5;
|
|
1263
|
+
onMergeUseExisting?: T_3_5 extends true ? boolean : never;
|
|
1129
1264
|
templateOptions?: {
|
|
1130
1265
|
[x: string]: string;
|
|
1131
1266
|
};
|
|
@@ -1134,9 +1269,20 @@ declare const createSdkWrapper: <P extends {
|
|
|
1134
1269
|
}) => Promise<_1.SdkResponse<{
|
|
1135
1270
|
maskedPhone: string;
|
|
1136
1271
|
}>>;
|
|
1137
|
-
whatsapp: <
|
|
1138
|
-
addToLoginIDs?:
|
|
1139
|
-
onMergeUseExisting?:
|
|
1272
|
+
whatsapp: <T_3_6 extends boolean>(loginId: string, phone: string, URI?: string, token?: string, updateOptions?: {
|
|
1273
|
+
addToLoginIDs?: T_3_6;
|
|
1274
|
+
onMergeUseExisting?: T_3_6 extends true ? boolean : never;
|
|
1275
|
+
templateOptions?: {
|
|
1276
|
+
[x: string]: string;
|
|
1277
|
+
};
|
|
1278
|
+
templateId?: string;
|
|
1279
|
+
providerId?: string;
|
|
1280
|
+
}) => Promise<_1.SdkResponse<{
|
|
1281
|
+
maskedPhone: string;
|
|
1282
|
+
}>>;
|
|
1283
|
+
im: <T_3_7 extends boolean>(loginId: string, phone: string, URI?: string, token?: string, updateOptions?: {
|
|
1284
|
+
addToLoginIDs?: T_3_7;
|
|
1285
|
+
onMergeUseExisting?: T_3_7 extends true ? boolean : never;
|
|
1140
1286
|
templateOptions?: {
|
|
1141
1287
|
[x: string]: string;
|
|
1142
1288
|
};
|
|
@@ -1480,6 +1626,7 @@ declare const createSdkWrapper: <P extends {
|
|
|
1480
1626
|
sms: (loginId: string, code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
1481
1627
|
voice: (loginId: string, code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
1482
1628
|
whatsapp: (loginId: string, code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
1629
|
+
im: (loginId: string, code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
1483
1630
|
email: (loginId: string, code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
1484
1631
|
};
|
|
1485
1632
|
signIn: {
|
|
@@ -1492,6 +1639,9 @@ declare const createSdkWrapper: <P extends {
|
|
|
1492
1639
|
whatsapp: (loginId: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
1493
1640
|
maskedPhone: string;
|
|
1494
1641
|
}>>;
|
|
1642
|
+
im: (loginId: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
1643
|
+
maskedPhone: string;
|
|
1644
|
+
}>>;
|
|
1495
1645
|
email: (loginId: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
1496
1646
|
maskedEmail: string;
|
|
1497
1647
|
}>>;
|
|
@@ -1545,6 +1695,22 @@ declare const createSdkWrapper: <P extends {
|
|
|
1545
1695
|
}) => Promise<_1.SdkResponse<{
|
|
1546
1696
|
maskedPhone: string;
|
|
1547
1697
|
}>>;
|
|
1698
|
+
im: (loginId: string, user?: {
|
|
1699
|
+
email?: string;
|
|
1700
|
+
name?: string;
|
|
1701
|
+
givenName?: string;
|
|
1702
|
+
middleName?: string;
|
|
1703
|
+
familyName?: string;
|
|
1704
|
+
phone?: string;
|
|
1705
|
+
}, signUpOptions?: {
|
|
1706
|
+
customClaims?: Record<string, any>;
|
|
1707
|
+
templateId?: string;
|
|
1708
|
+
templateOptions?: {
|
|
1709
|
+
[x: string]: string;
|
|
1710
|
+
};
|
|
1711
|
+
}) => Promise<_1.SdkResponse<{
|
|
1712
|
+
maskedPhone: string;
|
|
1713
|
+
}>>;
|
|
1548
1714
|
email: (loginId: string, user?: {
|
|
1549
1715
|
email?: string;
|
|
1550
1716
|
name?: string;
|
|
@@ -1572,6 +1738,9 @@ declare const createSdkWrapper: <P extends {
|
|
|
1572
1738
|
whatsapp: (loginId: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
1573
1739
|
maskedPhone: string;
|
|
1574
1740
|
}>>;
|
|
1741
|
+
im: (loginId: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
1742
|
+
maskedPhone: string;
|
|
1743
|
+
}>>;
|
|
1575
1744
|
email: (loginId: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
1576
1745
|
maskedEmail: string;
|
|
1577
1746
|
}>>;
|
|
@@ -1589,9 +1758,9 @@ declare const createSdkWrapper: <P extends {
|
|
|
1589
1758
|
maskedEmail: string;
|
|
1590
1759
|
}>>;
|
|
1591
1760
|
phone: {
|
|
1592
|
-
sms: <
|
|
1593
|
-
addToLoginIDs?:
|
|
1594
|
-
onMergeUseExisting?:
|
|
1761
|
+
sms: <T_1_8 extends boolean>(loginId: string, phone: string, token?: string, updateOptions?: {
|
|
1762
|
+
addToLoginIDs?: T_1_8;
|
|
1763
|
+
onMergeUseExisting?: T_1_8 extends true ? boolean : never;
|
|
1595
1764
|
templateOptions?: {
|
|
1596
1765
|
[x: string]: string;
|
|
1597
1766
|
};
|
|
@@ -1600,9 +1769,9 @@ declare const createSdkWrapper: <P extends {
|
|
|
1600
1769
|
}) => Promise<_1.SdkResponse<{
|
|
1601
1770
|
maskedPhone: string;
|
|
1602
1771
|
}>>;
|
|
1603
|
-
voice: <
|
|
1604
|
-
addToLoginIDs?:
|
|
1605
|
-
onMergeUseExisting?:
|
|
1772
|
+
voice: <T_1_9 extends boolean>(loginId: string, phone: string, token?: string, updateOptions?: {
|
|
1773
|
+
addToLoginIDs?: T_1_9;
|
|
1774
|
+
onMergeUseExisting?: T_1_9 extends true ? boolean : never;
|
|
1606
1775
|
templateOptions?: {
|
|
1607
1776
|
[x: string]: string;
|
|
1608
1777
|
};
|
|
@@ -1611,9 +1780,20 @@ declare const createSdkWrapper: <P extends {
|
|
|
1611
1780
|
}) => Promise<_1.SdkResponse<{
|
|
1612
1781
|
maskedPhone: string;
|
|
1613
1782
|
}>>;
|
|
1614
|
-
whatsapp: <
|
|
1615
|
-
addToLoginIDs?:
|
|
1616
|
-
onMergeUseExisting?:
|
|
1783
|
+
whatsapp: <T_1_10 extends boolean>(loginId: string, phone: string, token?: string, updateOptions?: {
|
|
1784
|
+
addToLoginIDs?: T_1_10;
|
|
1785
|
+
onMergeUseExisting?: T_1_10 extends true ? boolean : never;
|
|
1786
|
+
templateOptions?: {
|
|
1787
|
+
[x: string]: string;
|
|
1788
|
+
};
|
|
1789
|
+
templateId?: string;
|
|
1790
|
+
providerId?: string;
|
|
1791
|
+
}) => Promise<_1.SdkResponse<{
|
|
1792
|
+
maskedPhone: string;
|
|
1793
|
+
}>>;
|
|
1794
|
+
im: <T_1_11 extends boolean>(loginId: string, phone: string, token?: string, updateOptions?: {
|
|
1795
|
+
addToLoginIDs?: T_1_11;
|
|
1796
|
+
onMergeUseExisting?: T_1_11 extends true ? boolean : never;
|
|
1617
1797
|
templateOptions?: {
|
|
1618
1798
|
[x: string]: string;
|
|
1619
1799
|
};
|
|
@@ -1637,6 +1817,9 @@ declare const createSdkWrapper: <P extends {
|
|
|
1637
1817
|
whatsapp: (loginId: string, URI: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
1638
1818
|
maskedPhone: string;
|
|
1639
1819
|
}>>;
|
|
1820
|
+
im: (loginId: string, URI: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
1821
|
+
maskedPhone: string;
|
|
1822
|
+
}>>;
|
|
1640
1823
|
email: (loginId: string, URI: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
1641
1824
|
maskedEmail: string;
|
|
1642
1825
|
}>>;
|
|
@@ -1690,6 +1873,22 @@ declare const createSdkWrapper: <P extends {
|
|
|
1690
1873
|
}) => Promise<_1.SdkResponse<{
|
|
1691
1874
|
maskedPhone: string;
|
|
1692
1875
|
}>>;
|
|
1876
|
+
im: (loginId: string, URI: string, user?: {
|
|
1877
|
+
email?: string;
|
|
1878
|
+
name?: string;
|
|
1879
|
+
givenName?: string;
|
|
1880
|
+
middleName?: string;
|
|
1881
|
+
familyName?: string;
|
|
1882
|
+
phone?: string;
|
|
1883
|
+
}, signUpOptions?: {
|
|
1884
|
+
customClaims?: Record<string, any>;
|
|
1885
|
+
templateId?: string;
|
|
1886
|
+
templateOptions?: {
|
|
1887
|
+
[x: string]: string;
|
|
1888
|
+
};
|
|
1889
|
+
}) => Promise<_1.SdkResponse<{
|
|
1890
|
+
maskedPhone: string;
|
|
1891
|
+
}>>;
|
|
1693
1892
|
email: (loginId: string, URI: string, user?: {
|
|
1694
1893
|
email?: string;
|
|
1695
1894
|
name?: string;
|
|
@@ -1735,6 +1934,15 @@ declare const createSdkWrapper: <P extends {
|
|
|
1735
1934
|
}) => Promise<_1.SdkResponse<{
|
|
1736
1935
|
maskedPhone: string;
|
|
1737
1936
|
}>>;
|
|
1937
|
+
im: (loginId: string, URI?: string, signUpOptions?: {
|
|
1938
|
+
customClaims?: Record<string, any>;
|
|
1939
|
+
templateId?: string;
|
|
1940
|
+
templateOptions?: {
|
|
1941
|
+
[x: string]: string;
|
|
1942
|
+
};
|
|
1943
|
+
}) => Promise<_1.SdkResponse<{
|
|
1944
|
+
maskedPhone: string;
|
|
1945
|
+
}>>;
|
|
1738
1946
|
email: (loginId: string, URI?: string, signUpOptions?: {
|
|
1739
1947
|
customClaims?: Record<string, any>;
|
|
1740
1948
|
templateId?: string;
|
|
@@ -1758,9 +1966,9 @@ declare const createSdkWrapper: <P extends {
|
|
|
1758
1966
|
maskedEmail: string;
|
|
1759
1967
|
}>>;
|
|
1760
1968
|
phone: {
|
|
1761
|
-
sms: <
|
|
1762
|
-
addToLoginIDs?:
|
|
1763
|
-
onMergeUseExisting?:
|
|
1969
|
+
sms: <T_3_8 extends boolean>(loginId: string, phone: string, URI?: string, token?: string, updateOptions?: {
|
|
1970
|
+
addToLoginIDs?: T_3_8;
|
|
1971
|
+
onMergeUseExisting?: T_3_8 extends true ? boolean : never;
|
|
1764
1972
|
templateOptions?: {
|
|
1765
1973
|
[x: string]: string;
|
|
1766
1974
|
};
|
|
@@ -1769,9 +1977,9 @@ declare const createSdkWrapper: <P extends {
|
|
|
1769
1977
|
}) => Promise<_1.SdkResponse<{
|
|
1770
1978
|
maskedPhone: string;
|
|
1771
1979
|
}>>;
|
|
1772
|
-
voice: <
|
|
1773
|
-
addToLoginIDs?:
|
|
1774
|
-
onMergeUseExisting?:
|
|
1980
|
+
voice: <T_3_9 extends boolean>(loginId: string, phone: string, URI?: string, token?: string, updateOptions?: {
|
|
1981
|
+
addToLoginIDs?: T_3_9;
|
|
1982
|
+
onMergeUseExisting?: T_3_9 extends true ? boolean : never;
|
|
1775
1983
|
templateOptions?: {
|
|
1776
1984
|
[x: string]: string;
|
|
1777
1985
|
};
|
|
@@ -1780,9 +1988,20 @@ declare const createSdkWrapper: <P extends {
|
|
|
1780
1988
|
}) => Promise<_1.SdkResponse<{
|
|
1781
1989
|
maskedPhone: string;
|
|
1782
1990
|
}>>;
|
|
1783
|
-
whatsapp: <
|
|
1784
|
-
addToLoginIDs?:
|
|
1785
|
-
onMergeUseExisting?:
|
|
1991
|
+
whatsapp: <T_3_10 extends boolean>(loginId: string, phone: string, URI?: string, token?: string, updateOptions?: {
|
|
1992
|
+
addToLoginIDs?: T_3_10;
|
|
1993
|
+
onMergeUseExisting?: T_3_10 extends true ? boolean : never;
|
|
1994
|
+
templateOptions?: {
|
|
1995
|
+
[x: string]: string;
|
|
1996
|
+
};
|
|
1997
|
+
templateId?: string;
|
|
1998
|
+
providerId?: string;
|
|
1999
|
+
}) => Promise<_1.SdkResponse<{
|
|
2000
|
+
maskedPhone: string;
|
|
2001
|
+
}>>;
|
|
2002
|
+
im: <T_3_11 extends boolean>(loginId: string, phone: string, URI?: string, token?: string, updateOptions?: {
|
|
2003
|
+
addToLoginIDs?: T_3_11;
|
|
2004
|
+
onMergeUseExisting?: T_3_11 extends true ? boolean : never;
|
|
1786
2005
|
templateOptions?: {
|
|
1787
2006
|
[x: string]: string;
|
|
1788
2007
|
};
|
|
@@ -2139,6 +2358,7 @@ export declare const createTempSdk: () => ((({
|
|
|
2139
2358
|
sms: (loginId: string, code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
2140
2359
|
voice: (loginId: string, code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
2141
2360
|
whatsapp: (loginId: string, code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
2361
|
+
im: (loginId: string, code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
2142
2362
|
email: (loginId: string, code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
2143
2363
|
};
|
|
2144
2364
|
signIn: {
|
|
@@ -2151,6 +2371,9 @@ export declare const createTempSdk: () => ((({
|
|
|
2151
2371
|
whatsapp: (loginId: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
2152
2372
|
maskedPhone: string;
|
|
2153
2373
|
}>>;
|
|
2374
|
+
im: (loginId: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
2375
|
+
maskedPhone: string;
|
|
2376
|
+
}>>;
|
|
2154
2377
|
email: (loginId: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
2155
2378
|
maskedEmail: string;
|
|
2156
2379
|
}>>;
|
|
@@ -2204,6 +2427,22 @@ export declare const createTempSdk: () => ((({
|
|
|
2204
2427
|
}) => Promise<_1.SdkResponse<{
|
|
2205
2428
|
maskedPhone: string;
|
|
2206
2429
|
}>>;
|
|
2430
|
+
im: (loginId: string, user?: {
|
|
2431
|
+
email?: string;
|
|
2432
|
+
name?: string;
|
|
2433
|
+
givenName?: string;
|
|
2434
|
+
middleName?: string;
|
|
2435
|
+
familyName?: string;
|
|
2436
|
+
phone?: string;
|
|
2437
|
+
}, signUpOptions?: {
|
|
2438
|
+
customClaims?: Record<string, any>;
|
|
2439
|
+
templateId?: string;
|
|
2440
|
+
templateOptions?: {
|
|
2441
|
+
[x: string]: string;
|
|
2442
|
+
};
|
|
2443
|
+
}) => Promise<_1.SdkResponse<{
|
|
2444
|
+
maskedPhone: string;
|
|
2445
|
+
}>>;
|
|
2207
2446
|
email: (loginId: string, user?: {
|
|
2208
2447
|
email?: string;
|
|
2209
2448
|
name?: string;
|
|
@@ -2231,6 +2470,9 @@ export declare const createTempSdk: () => ((({
|
|
|
2231
2470
|
whatsapp: (loginId: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
2232
2471
|
maskedPhone: string;
|
|
2233
2472
|
}>>;
|
|
2473
|
+
im: (loginId: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
2474
|
+
maskedPhone: string;
|
|
2475
|
+
}>>;
|
|
2234
2476
|
email: (loginId: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
2235
2477
|
maskedEmail: string;
|
|
2236
2478
|
}>>;
|
|
@@ -2281,6 +2523,17 @@ export declare const createTempSdk: () => ((({
|
|
|
2281
2523
|
}) => Promise<_1.SdkResponse<{
|
|
2282
2524
|
maskedPhone: string;
|
|
2283
2525
|
}>>;
|
|
2526
|
+
im: <T_1_3 extends boolean>(loginId: string, phone: string, token?: string, updateOptions?: {
|
|
2527
|
+
addToLoginIDs?: T_1_3;
|
|
2528
|
+
onMergeUseExisting?: T_1_3 extends true ? boolean : never;
|
|
2529
|
+
templateOptions?: {
|
|
2530
|
+
[x: string]: string;
|
|
2531
|
+
};
|
|
2532
|
+
templateId?: string;
|
|
2533
|
+
providerId?: string;
|
|
2534
|
+
}) => Promise<_1.SdkResponse<{
|
|
2535
|
+
maskedPhone: string;
|
|
2536
|
+
}>>;
|
|
2284
2537
|
};
|
|
2285
2538
|
};
|
|
2286
2539
|
};
|
|
@@ -2296,6 +2549,9 @@ export declare const createTempSdk: () => ((({
|
|
|
2296
2549
|
whatsapp: (loginId: string, URI: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
2297
2550
|
maskedPhone: string;
|
|
2298
2551
|
}>>;
|
|
2552
|
+
im: (loginId: string, URI: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
2553
|
+
maskedPhone: string;
|
|
2554
|
+
}>>;
|
|
2299
2555
|
email: (loginId: string, URI: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
2300
2556
|
maskedEmail: string;
|
|
2301
2557
|
}>>;
|
|
@@ -2349,6 +2605,22 @@ export declare const createTempSdk: () => ((({
|
|
|
2349
2605
|
}) => Promise<_1.SdkResponse<{
|
|
2350
2606
|
maskedPhone: string;
|
|
2351
2607
|
}>>;
|
|
2608
|
+
im: (loginId: string, URI: string, user?: {
|
|
2609
|
+
email?: string;
|
|
2610
|
+
name?: string;
|
|
2611
|
+
givenName?: string;
|
|
2612
|
+
middleName?: string;
|
|
2613
|
+
familyName?: string;
|
|
2614
|
+
phone?: string;
|
|
2615
|
+
}, signUpOptions?: {
|
|
2616
|
+
customClaims?: Record<string, any>;
|
|
2617
|
+
templateId?: string;
|
|
2618
|
+
templateOptions?: {
|
|
2619
|
+
[x: string]: string;
|
|
2620
|
+
};
|
|
2621
|
+
}) => Promise<_1.SdkResponse<{
|
|
2622
|
+
maskedPhone: string;
|
|
2623
|
+
}>>;
|
|
2352
2624
|
email: (loginId: string, URI: string, user?: {
|
|
2353
2625
|
email?: string;
|
|
2354
2626
|
name?: string;
|
|
@@ -2394,6 +2666,15 @@ export declare const createTempSdk: () => ((({
|
|
|
2394
2666
|
}) => Promise<_1.SdkResponse<{
|
|
2395
2667
|
maskedPhone: string;
|
|
2396
2668
|
}>>;
|
|
2669
|
+
im: (loginId: string, URI?: string, signUpOptions?: {
|
|
2670
|
+
customClaims?: Record<string, any>;
|
|
2671
|
+
templateId?: string;
|
|
2672
|
+
templateOptions?: {
|
|
2673
|
+
[x: string]: string;
|
|
2674
|
+
};
|
|
2675
|
+
}) => Promise<_1.SdkResponse<{
|
|
2676
|
+
maskedPhone: string;
|
|
2677
|
+
}>>;
|
|
2397
2678
|
email: (loginId: string, URI?: string, signUpOptions?: {
|
|
2398
2679
|
customClaims?: Record<string, any>;
|
|
2399
2680
|
templateId?: string;
|
|
@@ -2450,6 +2731,17 @@ export declare const createTempSdk: () => ((({
|
|
|
2450
2731
|
}) => Promise<_1.SdkResponse<{
|
|
2451
2732
|
maskedPhone: string;
|
|
2452
2733
|
}>>;
|
|
2734
|
+
im: <T_3_3 extends boolean>(loginId: string, phone: string, URI?: string, token?: string, updateOptions?: {
|
|
2735
|
+
addToLoginIDs?: T_3_3;
|
|
2736
|
+
onMergeUseExisting?: T_3_3 extends true ? boolean : never;
|
|
2737
|
+
templateOptions?: {
|
|
2738
|
+
[x: string]: string;
|
|
2739
|
+
};
|
|
2740
|
+
templateId?: string;
|
|
2741
|
+
providerId?: string;
|
|
2742
|
+
}) => Promise<_1.SdkResponse<{
|
|
2743
|
+
maskedPhone: string;
|
|
2744
|
+
}>>;
|
|
2453
2745
|
};
|
|
2454
2746
|
};
|
|
2455
2747
|
};
|
|
@@ -2785,6 +3077,7 @@ export declare const createTempSdk: () => ((({
|
|
|
2785
3077
|
sms: (loginId: string, code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
2786
3078
|
voice: (loginId: string, code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
2787
3079
|
whatsapp: (loginId: string, code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
3080
|
+
im: (loginId: string, code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
2788
3081
|
email: (loginId: string, code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
2789
3082
|
};
|
|
2790
3083
|
signIn: {
|
|
@@ -2797,6 +3090,9 @@ export declare const createTempSdk: () => ((({
|
|
|
2797
3090
|
whatsapp: (loginId: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
2798
3091
|
maskedPhone: string;
|
|
2799
3092
|
}>>;
|
|
3093
|
+
im: (loginId: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
3094
|
+
maskedPhone: string;
|
|
3095
|
+
}>>;
|
|
2800
3096
|
email: (loginId: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
2801
3097
|
maskedEmail: string;
|
|
2802
3098
|
}>>;
|
|
@@ -2850,6 +3146,22 @@ export declare const createTempSdk: () => ((({
|
|
|
2850
3146
|
}) => Promise<_1.SdkResponse<{
|
|
2851
3147
|
maskedPhone: string;
|
|
2852
3148
|
}>>;
|
|
3149
|
+
im: (loginId: string, user?: {
|
|
3150
|
+
email?: string;
|
|
3151
|
+
name?: string;
|
|
3152
|
+
givenName?: string;
|
|
3153
|
+
middleName?: string;
|
|
3154
|
+
familyName?: string;
|
|
3155
|
+
phone?: string;
|
|
3156
|
+
}, signUpOptions?: {
|
|
3157
|
+
customClaims?: Record<string, any>;
|
|
3158
|
+
templateId?: string;
|
|
3159
|
+
templateOptions?: {
|
|
3160
|
+
[x: string]: string;
|
|
3161
|
+
};
|
|
3162
|
+
}) => Promise<_1.SdkResponse<{
|
|
3163
|
+
maskedPhone: string;
|
|
3164
|
+
}>>;
|
|
2853
3165
|
email: (loginId: string, user?: {
|
|
2854
3166
|
email?: string;
|
|
2855
3167
|
name?: string;
|
|
@@ -2877,6 +3189,9 @@ export declare const createTempSdk: () => ((({
|
|
|
2877
3189
|
whatsapp: (loginId: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
2878
3190
|
maskedPhone: string;
|
|
2879
3191
|
}>>;
|
|
3192
|
+
im: (loginId: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
3193
|
+
maskedPhone: string;
|
|
3194
|
+
}>>;
|
|
2880
3195
|
email: (loginId: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
2881
3196
|
maskedEmail: string;
|
|
2882
3197
|
}>>;
|
|
@@ -2894,9 +3209,9 @@ export declare const createTempSdk: () => ((({
|
|
|
2894
3209
|
maskedEmail: string;
|
|
2895
3210
|
}>>;
|
|
2896
3211
|
phone: {
|
|
2897
|
-
sms: <
|
|
2898
|
-
addToLoginIDs?:
|
|
2899
|
-
onMergeUseExisting?:
|
|
3212
|
+
sms: <T_1_4 extends boolean>(loginId: string, phone: string, token?: string, updateOptions?: {
|
|
3213
|
+
addToLoginIDs?: T_1_4;
|
|
3214
|
+
onMergeUseExisting?: T_1_4 extends true ? boolean : never;
|
|
2900
3215
|
templateOptions?: {
|
|
2901
3216
|
[x: string]: string;
|
|
2902
3217
|
};
|
|
@@ -2905,9 +3220,9 @@ export declare const createTempSdk: () => ((({
|
|
|
2905
3220
|
}) => Promise<_1.SdkResponse<{
|
|
2906
3221
|
maskedPhone: string;
|
|
2907
3222
|
}>>;
|
|
2908
|
-
voice: <
|
|
2909
|
-
addToLoginIDs?:
|
|
2910
|
-
onMergeUseExisting?:
|
|
3223
|
+
voice: <T_1_5 extends boolean>(loginId: string, phone: string, token?: string, updateOptions?: {
|
|
3224
|
+
addToLoginIDs?: T_1_5;
|
|
3225
|
+
onMergeUseExisting?: T_1_5 extends true ? boolean : never;
|
|
2911
3226
|
templateOptions?: {
|
|
2912
3227
|
[x: string]: string;
|
|
2913
3228
|
};
|
|
@@ -2916,9 +3231,20 @@ export declare const createTempSdk: () => ((({
|
|
|
2916
3231
|
}) => Promise<_1.SdkResponse<{
|
|
2917
3232
|
maskedPhone: string;
|
|
2918
3233
|
}>>;
|
|
2919
|
-
whatsapp: <
|
|
2920
|
-
addToLoginIDs?:
|
|
2921
|
-
onMergeUseExisting?:
|
|
3234
|
+
whatsapp: <T_1_6 extends boolean>(loginId: string, phone: string, token?: string, updateOptions?: {
|
|
3235
|
+
addToLoginIDs?: T_1_6;
|
|
3236
|
+
onMergeUseExisting?: T_1_6 extends true ? boolean : never;
|
|
3237
|
+
templateOptions?: {
|
|
3238
|
+
[x: string]: string;
|
|
3239
|
+
};
|
|
3240
|
+
templateId?: string;
|
|
3241
|
+
providerId?: string;
|
|
3242
|
+
}) => Promise<_1.SdkResponse<{
|
|
3243
|
+
maskedPhone: string;
|
|
3244
|
+
}>>;
|
|
3245
|
+
im: <T_1_7 extends boolean>(loginId: string, phone: string, token?: string, updateOptions?: {
|
|
3246
|
+
addToLoginIDs?: T_1_7;
|
|
3247
|
+
onMergeUseExisting?: T_1_7 extends true ? boolean : never;
|
|
2922
3248
|
templateOptions?: {
|
|
2923
3249
|
[x: string]: string;
|
|
2924
3250
|
};
|
|
@@ -2942,6 +3268,9 @@ export declare const createTempSdk: () => ((({
|
|
|
2942
3268
|
whatsapp: (loginId: string, URI: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
2943
3269
|
maskedPhone: string;
|
|
2944
3270
|
}>>;
|
|
3271
|
+
im: (loginId: string, URI: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
3272
|
+
maskedPhone: string;
|
|
3273
|
+
}>>;
|
|
2945
3274
|
email: (loginId: string, URI: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
2946
3275
|
maskedEmail: string;
|
|
2947
3276
|
}>>;
|
|
@@ -2995,6 +3324,22 @@ export declare const createTempSdk: () => ((({
|
|
|
2995
3324
|
}) => Promise<_1.SdkResponse<{
|
|
2996
3325
|
maskedPhone: string;
|
|
2997
3326
|
}>>;
|
|
3327
|
+
im: (loginId: string, URI: string, user?: {
|
|
3328
|
+
email?: string;
|
|
3329
|
+
name?: string;
|
|
3330
|
+
givenName?: string;
|
|
3331
|
+
middleName?: string;
|
|
3332
|
+
familyName?: string;
|
|
3333
|
+
phone?: string;
|
|
3334
|
+
}, signUpOptions?: {
|
|
3335
|
+
customClaims?: Record<string, any>;
|
|
3336
|
+
templateId?: string;
|
|
3337
|
+
templateOptions?: {
|
|
3338
|
+
[x: string]: string;
|
|
3339
|
+
};
|
|
3340
|
+
}) => Promise<_1.SdkResponse<{
|
|
3341
|
+
maskedPhone: string;
|
|
3342
|
+
}>>;
|
|
2998
3343
|
email: (loginId: string, URI: string, user?: {
|
|
2999
3344
|
email?: string;
|
|
3000
3345
|
name?: string;
|
|
@@ -3040,6 +3385,15 @@ export declare const createTempSdk: () => ((({
|
|
|
3040
3385
|
}) => Promise<_1.SdkResponse<{
|
|
3041
3386
|
maskedPhone: string;
|
|
3042
3387
|
}>>;
|
|
3388
|
+
im: (loginId: string, URI?: string, signUpOptions?: {
|
|
3389
|
+
customClaims?: Record<string, any>;
|
|
3390
|
+
templateId?: string;
|
|
3391
|
+
templateOptions?: {
|
|
3392
|
+
[x: string]: string;
|
|
3393
|
+
};
|
|
3394
|
+
}) => Promise<_1.SdkResponse<{
|
|
3395
|
+
maskedPhone: string;
|
|
3396
|
+
}>>;
|
|
3043
3397
|
email: (loginId: string, URI?: string, signUpOptions?: {
|
|
3044
3398
|
customClaims?: Record<string, any>;
|
|
3045
3399
|
templateId?: string;
|
|
@@ -3063,9 +3417,9 @@ export declare const createTempSdk: () => ((({
|
|
|
3063
3417
|
maskedEmail: string;
|
|
3064
3418
|
}>>;
|
|
3065
3419
|
phone: {
|
|
3066
|
-
sms: <
|
|
3067
|
-
addToLoginIDs?:
|
|
3068
|
-
onMergeUseExisting?:
|
|
3420
|
+
sms: <T_3_4 extends boolean>(loginId: string, phone: string, URI?: string, token?: string, updateOptions?: {
|
|
3421
|
+
addToLoginIDs?: T_3_4;
|
|
3422
|
+
onMergeUseExisting?: T_3_4 extends true ? boolean : never;
|
|
3069
3423
|
templateOptions?: {
|
|
3070
3424
|
[x: string]: string;
|
|
3071
3425
|
};
|
|
@@ -3074,9 +3428,9 @@ export declare const createTempSdk: () => ((({
|
|
|
3074
3428
|
}) => Promise<_1.SdkResponse<{
|
|
3075
3429
|
maskedPhone: string;
|
|
3076
3430
|
}>>;
|
|
3077
|
-
voice: <
|
|
3078
|
-
addToLoginIDs?:
|
|
3079
|
-
onMergeUseExisting?:
|
|
3431
|
+
voice: <T_3_5 extends boolean>(loginId: string, phone: string, URI?: string, token?: string, updateOptions?: {
|
|
3432
|
+
addToLoginIDs?: T_3_5;
|
|
3433
|
+
onMergeUseExisting?: T_3_5 extends true ? boolean : never;
|
|
3080
3434
|
templateOptions?: {
|
|
3081
3435
|
[x: string]: string;
|
|
3082
3436
|
};
|
|
@@ -3085,9 +3439,20 @@ export declare const createTempSdk: () => ((({
|
|
|
3085
3439
|
}) => Promise<_1.SdkResponse<{
|
|
3086
3440
|
maskedPhone: string;
|
|
3087
3441
|
}>>;
|
|
3088
|
-
whatsapp: <
|
|
3089
|
-
addToLoginIDs?:
|
|
3090
|
-
onMergeUseExisting?:
|
|
3442
|
+
whatsapp: <T_3_6 extends boolean>(loginId: string, phone: string, URI?: string, token?: string, updateOptions?: {
|
|
3443
|
+
addToLoginIDs?: T_3_6;
|
|
3444
|
+
onMergeUseExisting?: T_3_6 extends true ? boolean : never;
|
|
3445
|
+
templateOptions?: {
|
|
3446
|
+
[x: string]: string;
|
|
3447
|
+
};
|
|
3448
|
+
templateId?: string;
|
|
3449
|
+
providerId?: string;
|
|
3450
|
+
}) => Promise<_1.SdkResponse<{
|
|
3451
|
+
maskedPhone: string;
|
|
3452
|
+
}>>;
|
|
3453
|
+
im: <T_3_7 extends boolean>(loginId: string, phone: string, URI?: string, token?: string, updateOptions?: {
|
|
3454
|
+
addToLoginIDs?: T_3_7;
|
|
3455
|
+
onMergeUseExisting?: T_3_7 extends true ? boolean : never;
|
|
3091
3456
|
templateOptions?: {
|
|
3092
3457
|
[x: string]: string;
|
|
3093
3458
|
};
|
|
@@ -3431,6 +3796,7 @@ export declare const createTempSdk: () => ((({
|
|
|
3431
3796
|
sms: (loginId: string, code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
3432
3797
|
voice: (loginId: string, code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
3433
3798
|
whatsapp: (loginId: string, code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
3799
|
+
im: (loginId: string, code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
3434
3800
|
email: (loginId: string, code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
3435
3801
|
};
|
|
3436
3802
|
signIn: {
|
|
@@ -3443,6 +3809,9 @@ export declare const createTempSdk: () => ((({
|
|
|
3443
3809
|
whatsapp: (loginId: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
3444
3810
|
maskedPhone: string;
|
|
3445
3811
|
}>>;
|
|
3812
|
+
im: (loginId: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
3813
|
+
maskedPhone: string;
|
|
3814
|
+
}>>;
|
|
3446
3815
|
email: (loginId: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
3447
3816
|
maskedEmail: string;
|
|
3448
3817
|
}>>;
|
|
@@ -3496,6 +3865,22 @@ export declare const createTempSdk: () => ((({
|
|
|
3496
3865
|
}) => Promise<_1.SdkResponse<{
|
|
3497
3866
|
maskedPhone: string;
|
|
3498
3867
|
}>>;
|
|
3868
|
+
im: (loginId: string, user?: {
|
|
3869
|
+
email?: string;
|
|
3870
|
+
name?: string;
|
|
3871
|
+
givenName?: string;
|
|
3872
|
+
middleName?: string;
|
|
3873
|
+
familyName?: string;
|
|
3874
|
+
phone?: string;
|
|
3875
|
+
}, signUpOptions?: {
|
|
3876
|
+
customClaims?: Record<string, any>;
|
|
3877
|
+
templateId?: string;
|
|
3878
|
+
templateOptions?: {
|
|
3879
|
+
[x: string]: string;
|
|
3880
|
+
};
|
|
3881
|
+
}) => Promise<_1.SdkResponse<{
|
|
3882
|
+
maskedPhone: string;
|
|
3883
|
+
}>>;
|
|
3499
3884
|
email: (loginId: string, user?: {
|
|
3500
3885
|
email?: string;
|
|
3501
3886
|
name?: string;
|
|
@@ -3523,6 +3908,9 @@ export declare const createTempSdk: () => ((({
|
|
|
3523
3908
|
whatsapp: (loginId: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
3524
3909
|
maskedPhone: string;
|
|
3525
3910
|
}>>;
|
|
3911
|
+
im: (loginId: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
3912
|
+
maskedPhone: string;
|
|
3913
|
+
}>>;
|
|
3526
3914
|
email: (loginId: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
3527
3915
|
maskedEmail: string;
|
|
3528
3916
|
}>>;
|
|
@@ -3540,9 +3928,9 @@ export declare const createTempSdk: () => ((({
|
|
|
3540
3928
|
maskedEmail: string;
|
|
3541
3929
|
}>>;
|
|
3542
3930
|
phone: {
|
|
3543
|
-
sms: <
|
|
3544
|
-
addToLoginIDs?:
|
|
3545
|
-
onMergeUseExisting?:
|
|
3931
|
+
sms: <T_1_8 extends boolean>(loginId: string, phone: string, token?: string, updateOptions?: {
|
|
3932
|
+
addToLoginIDs?: T_1_8;
|
|
3933
|
+
onMergeUseExisting?: T_1_8 extends true ? boolean : never;
|
|
3546
3934
|
templateOptions?: {
|
|
3547
3935
|
[x: string]: string;
|
|
3548
3936
|
};
|
|
@@ -3551,9 +3939,9 @@ export declare const createTempSdk: () => ((({
|
|
|
3551
3939
|
}) => Promise<_1.SdkResponse<{
|
|
3552
3940
|
maskedPhone: string;
|
|
3553
3941
|
}>>;
|
|
3554
|
-
voice: <
|
|
3555
|
-
addToLoginIDs?:
|
|
3556
|
-
onMergeUseExisting?:
|
|
3942
|
+
voice: <T_1_9 extends boolean>(loginId: string, phone: string, token?: string, updateOptions?: {
|
|
3943
|
+
addToLoginIDs?: T_1_9;
|
|
3944
|
+
onMergeUseExisting?: T_1_9 extends true ? boolean : never;
|
|
3557
3945
|
templateOptions?: {
|
|
3558
3946
|
[x: string]: string;
|
|
3559
3947
|
};
|
|
@@ -3562,9 +3950,20 @@ export declare const createTempSdk: () => ((({
|
|
|
3562
3950
|
}) => Promise<_1.SdkResponse<{
|
|
3563
3951
|
maskedPhone: string;
|
|
3564
3952
|
}>>;
|
|
3565
|
-
whatsapp: <
|
|
3566
|
-
addToLoginIDs?:
|
|
3567
|
-
onMergeUseExisting?:
|
|
3953
|
+
whatsapp: <T_1_10 extends boolean>(loginId: string, phone: string, token?: string, updateOptions?: {
|
|
3954
|
+
addToLoginIDs?: T_1_10;
|
|
3955
|
+
onMergeUseExisting?: T_1_10 extends true ? boolean : never;
|
|
3956
|
+
templateOptions?: {
|
|
3957
|
+
[x: string]: string;
|
|
3958
|
+
};
|
|
3959
|
+
templateId?: string;
|
|
3960
|
+
providerId?: string;
|
|
3961
|
+
}) => Promise<_1.SdkResponse<{
|
|
3962
|
+
maskedPhone: string;
|
|
3963
|
+
}>>;
|
|
3964
|
+
im: <T_1_11 extends boolean>(loginId: string, phone: string, token?: string, updateOptions?: {
|
|
3965
|
+
addToLoginIDs?: T_1_11;
|
|
3966
|
+
onMergeUseExisting?: T_1_11 extends true ? boolean : never;
|
|
3568
3967
|
templateOptions?: {
|
|
3569
3968
|
[x: string]: string;
|
|
3570
3969
|
};
|
|
@@ -3588,6 +3987,9 @@ export declare const createTempSdk: () => ((({
|
|
|
3588
3987
|
whatsapp: (loginId: string, URI: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
3589
3988
|
maskedPhone: string;
|
|
3590
3989
|
}>>;
|
|
3990
|
+
im: (loginId: string, URI: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
3991
|
+
maskedPhone: string;
|
|
3992
|
+
}>>;
|
|
3591
3993
|
email: (loginId: string, URI: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
3592
3994
|
maskedEmail: string;
|
|
3593
3995
|
}>>;
|
|
@@ -3609,7 +4011,23 @@ export declare const createTempSdk: () => ((({
|
|
|
3609
4011
|
}) => Promise<_1.SdkResponse<{
|
|
3610
4012
|
maskedPhone: string;
|
|
3611
4013
|
}>>;
|
|
3612
|
-
voice: (loginId: string, URI: string, user?: {
|
|
4014
|
+
voice: (loginId: string, URI: string, user?: {
|
|
4015
|
+
email?: string;
|
|
4016
|
+
name?: string;
|
|
4017
|
+
givenName?: string;
|
|
4018
|
+
middleName?: string;
|
|
4019
|
+
familyName?: string;
|
|
4020
|
+
phone?: string;
|
|
4021
|
+
}, signUpOptions?: {
|
|
4022
|
+
customClaims?: Record<string, any>;
|
|
4023
|
+
templateId?: string;
|
|
4024
|
+
templateOptions?: {
|
|
4025
|
+
[x: string]: string;
|
|
4026
|
+
};
|
|
4027
|
+
}) => Promise<_1.SdkResponse<{
|
|
4028
|
+
maskedPhone: string;
|
|
4029
|
+
}>>;
|
|
4030
|
+
whatsapp: (loginId: string, URI: string, user?: {
|
|
3613
4031
|
email?: string;
|
|
3614
4032
|
name?: string;
|
|
3615
4033
|
givenName?: string;
|
|
@@ -3625,7 +4043,7 @@ export declare const createTempSdk: () => ((({
|
|
|
3625
4043
|
}) => Promise<_1.SdkResponse<{
|
|
3626
4044
|
maskedPhone: string;
|
|
3627
4045
|
}>>;
|
|
3628
|
-
|
|
4046
|
+
im: (loginId: string, URI: string, user?: {
|
|
3629
4047
|
email?: string;
|
|
3630
4048
|
name?: string;
|
|
3631
4049
|
givenName?: string;
|
|
@@ -3686,6 +4104,15 @@ export declare const createTempSdk: () => ((({
|
|
|
3686
4104
|
}) => Promise<_1.SdkResponse<{
|
|
3687
4105
|
maskedPhone: string;
|
|
3688
4106
|
}>>;
|
|
4107
|
+
im: (loginId: string, URI?: string, signUpOptions?: {
|
|
4108
|
+
customClaims?: Record<string, any>;
|
|
4109
|
+
templateId?: string;
|
|
4110
|
+
templateOptions?: {
|
|
4111
|
+
[x: string]: string;
|
|
4112
|
+
};
|
|
4113
|
+
}) => Promise<_1.SdkResponse<{
|
|
4114
|
+
maskedPhone: string;
|
|
4115
|
+
}>>;
|
|
3689
4116
|
email: (loginId: string, URI?: string, signUpOptions?: {
|
|
3690
4117
|
customClaims?: Record<string, any>;
|
|
3691
4118
|
templateId?: string;
|
|
@@ -3709,9 +4136,9 @@ export declare const createTempSdk: () => ((({
|
|
|
3709
4136
|
maskedEmail: string;
|
|
3710
4137
|
}>>;
|
|
3711
4138
|
phone: {
|
|
3712
|
-
sms: <
|
|
3713
|
-
addToLoginIDs?:
|
|
3714
|
-
onMergeUseExisting?:
|
|
4139
|
+
sms: <T_3_8 extends boolean>(loginId: string, phone: string, URI?: string, token?: string, updateOptions?: {
|
|
4140
|
+
addToLoginIDs?: T_3_8;
|
|
4141
|
+
onMergeUseExisting?: T_3_8 extends true ? boolean : never;
|
|
3715
4142
|
templateOptions?: {
|
|
3716
4143
|
[x: string]: string;
|
|
3717
4144
|
};
|
|
@@ -3720,9 +4147,9 @@ export declare const createTempSdk: () => ((({
|
|
|
3720
4147
|
}) => Promise<_1.SdkResponse<{
|
|
3721
4148
|
maskedPhone: string;
|
|
3722
4149
|
}>>;
|
|
3723
|
-
voice: <
|
|
3724
|
-
addToLoginIDs?:
|
|
3725
|
-
onMergeUseExisting?:
|
|
4150
|
+
voice: <T_3_9 extends boolean>(loginId: string, phone: string, URI?: string, token?: string, updateOptions?: {
|
|
4151
|
+
addToLoginIDs?: T_3_9;
|
|
4152
|
+
onMergeUseExisting?: T_3_9 extends true ? boolean : never;
|
|
3726
4153
|
templateOptions?: {
|
|
3727
4154
|
[x: string]: string;
|
|
3728
4155
|
};
|
|
@@ -3731,9 +4158,20 @@ export declare const createTempSdk: () => ((({
|
|
|
3731
4158
|
}) => Promise<_1.SdkResponse<{
|
|
3732
4159
|
maskedPhone: string;
|
|
3733
4160
|
}>>;
|
|
3734
|
-
whatsapp: <
|
|
3735
|
-
addToLoginIDs?:
|
|
3736
|
-
onMergeUseExisting?:
|
|
4161
|
+
whatsapp: <T_3_10 extends boolean>(loginId: string, phone: string, URI?: string, token?: string, updateOptions?: {
|
|
4162
|
+
addToLoginIDs?: T_3_10;
|
|
4163
|
+
onMergeUseExisting?: T_3_10 extends true ? boolean : never;
|
|
4164
|
+
templateOptions?: {
|
|
4165
|
+
[x: string]: string;
|
|
4166
|
+
};
|
|
4167
|
+
templateId?: string;
|
|
4168
|
+
providerId?: string;
|
|
4169
|
+
}) => Promise<_1.SdkResponse<{
|
|
4170
|
+
maskedPhone: string;
|
|
4171
|
+
}>>;
|
|
4172
|
+
im: <T_3_11 extends boolean>(loginId: string, phone: string, URI?: string, token?: string, updateOptions?: {
|
|
4173
|
+
addToLoginIDs?: T_3_11;
|
|
4174
|
+
onMergeUseExisting?: T_3_11 extends true ? boolean : never;
|
|
3737
4175
|
templateOptions?: {
|
|
3738
4176
|
[x: string]: string;
|
|
3739
4177
|
};
|
|
@@ -4098,6 +4536,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
4098
4536
|
sms: (loginId: string, code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
4099
4537
|
voice: (loginId: string, code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
4100
4538
|
whatsapp: (loginId: string, code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
4539
|
+
im: (loginId: string, code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
4101
4540
|
email: (loginId: string, code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
4102
4541
|
};
|
|
4103
4542
|
signIn: {
|
|
@@ -4110,6 +4549,9 @@ export declare const getGlobalSdk: () => ((({
|
|
|
4110
4549
|
whatsapp: (loginId: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
4111
4550
|
maskedPhone: string;
|
|
4112
4551
|
}>>;
|
|
4552
|
+
im: (loginId: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
4553
|
+
maskedPhone: string;
|
|
4554
|
+
}>>;
|
|
4113
4555
|
email: (loginId: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
4114
4556
|
maskedEmail: string;
|
|
4115
4557
|
}>>;
|
|
@@ -4163,6 +4605,22 @@ export declare const getGlobalSdk: () => ((({
|
|
|
4163
4605
|
}) => Promise<_1.SdkResponse<{
|
|
4164
4606
|
maskedPhone: string;
|
|
4165
4607
|
}>>;
|
|
4608
|
+
im: (loginId: string, user?: {
|
|
4609
|
+
email?: string;
|
|
4610
|
+
name?: string;
|
|
4611
|
+
givenName?: string;
|
|
4612
|
+
middleName?: string;
|
|
4613
|
+
familyName?: string;
|
|
4614
|
+
phone?: string;
|
|
4615
|
+
}, signUpOptions?: {
|
|
4616
|
+
customClaims?: Record<string, any>;
|
|
4617
|
+
templateId?: string;
|
|
4618
|
+
templateOptions?: {
|
|
4619
|
+
[x: string]: string;
|
|
4620
|
+
};
|
|
4621
|
+
}) => Promise<_1.SdkResponse<{
|
|
4622
|
+
maskedPhone: string;
|
|
4623
|
+
}>>;
|
|
4166
4624
|
email: (loginId: string, user?: {
|
|
4167
4625
|
email?: string;
|
|
4168
4626
|
name?: string;
|
|
@@ -4190,6 +4648,9 @@ export declare const getGlobalSdk: () => ((({
|
|
|
4190
4648
|
whatsapp: (loginId: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
4191
4649
|
maskedPhone: string;
|
|
4192
4650
|
}>>;
|
|
4651
|
+
im: (loginId: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
4652
|
+
maskedPhone: string;
|
|
4653
|
+
}>>;
|
|
4193
4654
|
email: (loginId: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
4194
4655
|
maskedEmail: string;
|
|
4195
4656
|
}>>;
|
|
@@ -4240,6 +4701,17 @@ export declare const getGlobalSdk: () => ((({
|
|
|
4240
4701
|
}) => Promise<_1.SdkResponse<{
|
|
4241
4702
|
maskedPhone: string;
|
|
4242
4703
|
}>>;
|
|
4704
|
+
im: <T_1_3 extends boolean>(loginId: string, phone: string, token?: string, updateOptions?: {
|
|
4705
|
+
addToLoginIDs?: T_1_3;
|
|
4706
|
+
onMergeUseExisting?: T_1_3 extends true ? boolean : never;
|
|
4707
|
+
templateOptions?: {
|
|
4708
|
+
[x: string]: string;
|
|
4709
|
+
};
|
|
4710
|
+
templateId?: string;
|
|
4711
|
+
providerId?: string;
|
|
4712
|
+
}) => Promise<_1.SdkResponse<{
|
|
4713
|
+
maskedPhone: string;
|
|
4714
|
+
}>>;
|
|
4243
4715
|
};
|
|
4244
4716
|
};
|
|
4245
4717
|
};
|
|
@@ -4255,6 +4727,9 @@ export declare const getGlobalSdk: () => ((({
|
|
|
4255
4727
|
whatsapp: (loginId: string, URI: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
4256
4728
|
maskedPhone: string;
|
|
4257
4729
|
}>>;
|
|
4730
|
+
im: (loginId: string, URI: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
4731
|
+
maskedPhone: string;
|
|
4732
|
+
}>>;
|
|
4258
4733
|
email: (loginId: string, URI: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
4259
4734
|
maskedEmail: string;
|
|
4260
4735
|
}>>;
|
|
@@ -4308,6 +4783,22 @@ export declare const getGlobalSdk: () => ((({
|
|
|
4308
4783
|
}) => Promise<_1.SdkResponse<{
|
|
4309
4784
|
maskedPhone: string;
|
|
4310
4785
|
}>>;
|
|
4786
|
+
im: (loginId: string, URI: string, user?: {
|
|
4787
|
+
email?: string;
|
|
4788
|
+
name?: string;
|
|
4789
|
+
givenName?: string;
|
|
4790
|
+
middleName?: string;
|
|
4791
|
+
familyName?: string;
|
|
4792
|
+
phone?: string;
|
|
4793
|
+
}, signUpOptions?: {
|
|
4794
|
+
customClaims?: Record<string, any>;
|
|
4795
|
+
templateId?: string;
|
|
4796
|
+
templateOptions?: {
|
|
4797
|
+
[x: string]: string;
|
|
4798
|
+
};
|
|
4799
|
+
}) => Promise<_1.SdkResponse<{
|
|
4800
|
+
maskedPhone: string;
|
|
4801
|
+
}>>;
|
|
4311
4802
|
email: (loginId: string, URI: string, user?: {
|
|
4312
4803
|
email?: string;
|
|
4313
4804
|
name?: string;
|
|
@@ -4353,6 +4844,15 @@ export declare const getGlobalSdk: () => ((({
|
|
|
4353
4844
|
}) => Promise<_1.SdkResponse<{
|
|
4354
4845
|
maskedPhone: string;
|
|
4355
4846
|
}>>;
|
|
4847
|
+
im: (loginId: string, URI?: string, signUpOptions?: {
|
|
4848
|
+
customClaims?: Record<string, any>;
|
|
4849
|
+
templateId?: string;
|
|
4850
|
+
templateOptions?: {
|
|
4851
|
+
[x: string]: string;
|
|
4852
|
+
};
|
|
4853
|
+
}) => Promise<_1.SdkResponse<{
|
|
4854
|
+
maskedPhone: string;
|
|
4855
|
+
}>>;
|
|
4356
4856
|
email: (loginId: string, URI?: string, signUpOptions?: {
|
|
4357
4857
|
customClaims?: Record<string, any>;
|
|
4358
4858
|
templateId?: string;
|
|
@@ -4409,6 +4909,17 @@ export declare const getGlobalSdk: () => ((({
|
|
|
4409
4909
|
}) => Promise<_1.SdkResponse<{
|
|
4410
4910
|
maskedPhone: string;
|
|
4411
4911
|
}>>;
|
|
4912
|
+
im: <T_3_3 extends boolean>(loginId: string, phone: string, URI?: string, token?: string, updateOptions?: {
|
|
4913
|
+
addToLoginIDs?: T_3_3;
|
|
4914
|
+
onMergeUseExisting?: T_3_3 extends true ? boolean : never;
|
|
4915
|
+
templateOptions?: {
|
|
4916
|
+
[x: string]: string;
|
|
4917
|
+
};
|
|
4918
|
+
templateId?: string;
|
|
4919
|
+
providerId?: string;
|
|
4920
|
+
}) => Promise<_1.SdkResponse<{
|
|
4921
|
+
maskedPhone: string;
|
|
4922
|
+
}>>;
|
|
4412
4923
|
};
|
|
4413
4924
|
};
|
|
4414
4925
|
};
|
|
@@ -4744,6 +5255,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
4744
5255
|
sms: (loginId: string, code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
4745
5256
|
voice: (loginId: string, code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
4746
5257
|
whatsapp: (loginId: string, code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
5258
|
+
im: (loginId: string, code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
4747
5259
|
email: (loginId: string, code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
4748
5260
|
};
|
|
4749
5261
|
signIn: {
|
|
@@ -4756,6 +5268,9 @@ export declare const getGlobalSdk: () => ((({
|
|
|
4756
5268
|
whatsapp: (loginId: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
4757
5269
|
maskedPhone: string;
|
|
4758
5270
|
}>>;
|
|
5271
|
+
im: (loginId: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
5272
|
+
maskedPhone: string;
|
|
5273
|
+
}>>;
|
|
4759
5274
|
email: (loginId: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
4760
5275
|
maskedEmail: string;
|
|
4761
5276
|
}>>;
|
|
@@ -4809,6 +5324,22 @@ export declare const getGlobalSdk: () => ((({
|
|
|
4809
5324
|
}) => Promise<_1.SdkResponse<{
|
|
4810
5325
|
maskedPhone: string;
|
|
4811
5326
|
}>>;
|
|
5327
|
+
im: (loginId: string, user?: {
|
|
5328
|
+
email?: string;
|
|
5329
|
+
name?: string;
|
|
5330
|
+
givenName?: string;
|
|
5331
|
+
middleName?: string;
|
|
5332
|
+
familyName?: string;
|
|
5333
|
+
phone?: string;
|
|
5334
|
+
}, signUpOptions?: {
|
|
5335
|
+
customClaims?: Record<string, any>;
|
|
5336
|
+
templateId?: string;
|
|
5337
|
+
templateOptions?: {
|
|
5338
|
+
[x: string]: string;
|
|
5339
|
+
};
|
|
5340
|
+
}) => Promise<_1.SdkResponse<{
|
|
5341
|
+
maskedPhone: string;
|
|
5342
|
+
}>>;
|
|
4812
5343
|
email: (loginId: string, user?: {
|
|
4813
5344
|
email?: string;
|
|
4814
5345
|
name?: string;
|
|
@@ -4836,6 +5367,9 @@ export declare const getGlobalSdk: () => ((({
|
|
|
4836
5367
|
whatsapp: (loginId: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
4837
5368
|
maskedPhone: string;
|
|
4838
5369
|
}>>;
|
|
5370
|
+
im: (loginId: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
5371
|
+
maskedPhone: string;
|
|
5372
|
+
}>>;
|
|
4839
5373
|
email: (loginId: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
4840
5374
|
maskedEmail: string;
|
|
4841
5375
|
}>>;
|
|
@@ -4853,9 +5387,9 @@ export declare const getGlobalSdk: () => ((({
|
|
|
4853
5387
|
maskedEmail: string;
|
|
4854
5388
|
}>>;
|
|
4855
5389
|
phone: {
|
|
4856
|
-
sms: <
|
|
4857
|
-
addToLoginIDs?:
|
|
4858
|
-
onMergeUseExisting?:
|
|
5390
|
+
sms: <T_1_4 extends boolean>(loginId: string, phone: string, token?: string, updateOptions?: {
|
|
5391
|
+
addToLoginIDs?: T_1_4;
|
|
5392
|
+
onMergeUseExisting?: T_1_4 extends true ? boolean : never;
|
|
4859
5393
|
templateOptions?: {
|
|
4860
5394
|
[x: string]: string;
|
|
4861
5395
|
};
|
|
@@ -4864,9 +5398,9 @@ export declare const getGlobalSdk: () => ((({
|
|
|
4864
5398
|
}) => Promise<_1.SdkResponse<{
|
|
4865
5399
|
maskedPhone: string;
|
|
4866
5400
|
}>>;
|
|
4867
|
-
voice: <
|
|
4868
|
-
addToLoginIDs?:
|
|
4869
|
-
onMergeUseExisting?:
|
|
5401
|
+
voice: <T_1_5 extends boolean>(loginId: string, phone: string, token?: string, updateOptions?: {
|
|
5402
|
+
addToLoginIDs?: T_1_5;
|
|
5403
|
+
onMergeUseExisting?: T_1_5 extends true ? boolean : never;
|
|
4870
5404
|
templateOptions?: {
|
|
4871
5405
|
[x: string]: string;
|
|
4872
5406
|
};
|
|
@@ -4875,9 +5409,20 @@ export declare const getGlobalSdk: () => ((({
|
|
|
4875
5409
|
}) => Promise<_1.SdkResponse<{
|
|
4876
5410
|
maskedPhone: string;
|
|
4877
5411
|
}>>;
|
|
4878
|
-
whatsapp: <
|
|
4879
|
-
addToLoginIDs?:
|
|
4880
|
-
onMergeUseExisting?:
|
|
5412
|
+
whatsapp: <T_1_6 extends boolean>(loginId: string, phone: string, token?: string, updateOptions?: {
|
|
5413
|
+
addToLoginIDs?: T_1_6;
|
|
5414
|
+
onMergeUseExisting?: T_1_6 extends true ? boolean : never;
|
|
5415
|
+
templateOptions?: {
|
|
5416
|
+
[x: string]: string;
|
|
5417
|
+
};
|
|
5418
|
+
templateId?: string;
|
|
5419
|
+
providerId?: string;
|
|
5420
|
+
}) => Promise<_1.SdkResponse<{
|
|
5421
|
+
maskedPhone: string;
|
|
5422
|
+
}>>;
|
|
5423
|
+
im: <T_1_7 extends boolean>(loginId: string, phone: string, token?: string, updateOptions?: {
|
|
5424
|
+
addToLoginIDs?: T_1_7;
|
|
5425
|
+
onMergeUseExisting?: T_1_7 extends true ? boolean : never;
|
|
4881
5426
|
templateOptions?: {
|
|
4882
5427
|
[x: string]: string;
|
|
4883
5428
|
};
|
|
@@ -4901,6 +5446,9 @@ export declare const getGlobalSdk: () => ((({
|
|
|
4901
5446
|
whatsapp: (loginId: string, URI: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
4902
5447
|
maskedPhone: string;
|
|
4903
5448
|
}>>;
|
|
5449
|
+
im: (loginId: string, URI: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
5450
|
+
maskedPhone: string;
|
|
5451
|
+
}>>;
|
|
4904
5452
|
email: (loginId: string, URI: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
4905
5453
|
maskedEmail: string;
|
|
4906
5454
|
}>>;
|
|
@@ -4954,6 +5502,22 @@ export declare const getGlobalSdk: () => ((({
|
|
|
4954
5502
|
}) => Promise<_1.SdkResponse<{
|
|
4955
5503
|
maskedPhone: string;
|
|
4956
5504
|
}>>;
|
|
5505
|
+
im: (loginId: string, URI: string, user?: {
|
|
5506
|
+
email?: string;
|
|
5507
|
+
name?: string;
|
|
5508
|
+
givenName?: string;
|
|
5509
|
+
middleName?: string;
|
|
5510
|
+
familyName?: string;
|
|
5511
|
+
phone?: string;
|
|
5512
|
+
}, signUpOptions?: {
|
|
5513
|
+
customClaims?: Record<string, any>;
|
|
5514
|
+
templateId?: string;
|
|
5515
|
+
templateOptions?: {
|
|
5516
|
+
[x: string]: string;
|
|
5517
|
+
};
|
|
5518
|
+
}) => Promise<_1.SdkResponse<{
|
|
5519
|
+
maskedPhone: string;
|
|
5520
|
+
}>>;
|
|
4957
5521
|
email: (loginId: string, URI: string, user?: {
|
|
4958
5522
|
email?: string;
|
|
4959
5523
|
name?: string;
|
|
@@ -4999,6 +5563,15 @@ export declare const getGlobalSdk: () => ((({
|
|
|
4999
5563
|
}) => Promise<_1.SdkResponse<{
|
|
5000
5564
|
maskedPhone: string;
|
|
5001
5565
|
}>>;
|
|
5566
|
+
im: (loginId: string, URI?: string, signUpOptions?: {
|
|
5567
|
+
customClaims?: Record<string, any>;
|
|
5568
|
+
templateId?: string;
|
|
5569
|
+
templateOptions?: {
|
|
5570
|
+
[x: string]: string;
|
|
5571
|
+
};
|
|
5572
|
+
}) => Promise<_1.SdkResponse<{
|
|
5573
|
+
maskedPhone: string;
|
|
5574
|
+
}>>;
|
|
5002
5575
|
email: (loginId: string, URI?: string, signUpOptions?: {
|
|
5003
5576
|
customClaims?: Record<string, any>;
|
|
5004
5577
|
templateId?: string;
|
|
@@ -5022,9 +5595,9 @@ export declare const getGlobalSdk: () => ((({
|
|
|
5022
5595
|
maskedEmail: string;
|
|
5023
5596
|
}>>;
|
|
5024
5597
|
phone: {
|
|
5025
|
-
sms: <
|
|
5026
|
-
addToLoginIDs?:
|
|
5027
|
-
onMergeUseExisting?:
|
|
5598
|
+
sms: <T_3_4 extends boolean>(loginId: string, phone: string, URI?: string, token?: string, updateOptions?: {
|
|
5599
|
+
addToLoginIDs?: T_3_4;
|
|
5600
|
+
onMergeUseExisting?: T_3_4 extends true ? boolean : never;
|
|
5028
5601
|
templateOptions?: {
|
|
5029
5602
|
[x: string]: string;
|
|
5030
5603
|
};
|
|
@@ -5033,9 +5606,9 @@ export declare const getGlobalSdk: () => ((({
|
|
|
5033
5606
|
}) => Promise<_1.SdkResponse<{
|
|
5034
5607
|
maskedPhone: string;
|
|
5035
5608
|
}>>;
|
|
5036
|
-
voice: <
|
|
5037
|
-
addToLoginIDs?:
|
|
5038
|
-
onMergeUseExisting?:
|
|
5609
|
+
voice: <T_3_5 extends boolean>(loginId: string, phone: string, URI?: string, token?: string, updateOptions?: {
|
|
5610
|
+
addToLoginIDs?: T_3_5;
|
|
5611
|
+
onMergeUseExisting?: T_3_5 extends true ? boolean : never;
|
|
5039
5612
|
templateOptions?: {
|
|
5040
5613
|
[x: string]: string;
|
|
5041
5614
|
};
|
|
@@ -5044,9 +5617,20 @@ export declare const getGlobalSdk: () => ((({
|
|
|
5044
5617
|
}) => Promise<_1.SdkResponse<{
|
|
5045
5618
|
maskedPhone: string;
|
|
5046
5619
|
}>>;
|
|
5047
|
-
whatsapp: <
|
|
5048
|
-
addToLoginIDs?:
|
|
5049
|
-
onMergeUseExisting?:
|
|
5620
|
+
whatsapp: <T_3_6 extends boolean>(loginId: string, phone: string, URI?: string, token?: string, updateOptions?: {
|
|
5621
|
+
addToLoginIDs?: T_3_6;
|
|
5622
|
+
onMergeUseExisting?: T_3_6 extends true ? boolean : never;
|
|
5623
|
+
templateOptions?: {
|
|
5624
|
+
[x: string]: string;
|
|
5625
|
+
};
|
|
5626
|
+
templateId?: string;
|
|
5627
|
+
providerId?: string;
|
|
5628
|
+
}) => Promise<_1.SdkResponse<{
|
|
5629
|
+
maskedPhone: string;
|
|
5630
|
+
}>>;
|
|
5631
|
+
im: <T_3_7 extends boolean>(loginId: string, phone: string, URI?: string, token?: string, updateOptions?: {
|
|
5632
|
+
addToLoginIDs?: T_3_7;
|
|
5633
|
+
onMergeUseExisting?: T_3_7 extends true ? boolean : never;
|
|
5050
5634
|
templateOptions?: {
|
|
5051
5635
|
[x: string]: string;
|
|
5052
5636
|
};
|
|
@@ -5390,6 +5974,7 @@ export declare const getGlobalSdk: () => ((({
|
|
|
5390
5974
|
sms: (loginId: string, code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
5391
5975
|
voice: (loginId: string, code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
5392
5976
|
whatsapp: (loginId: string, code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
5977
|
+
im: (loginId: string, code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
5393
5978
|
email: (loginId: string, code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
5394
5979
|
};
|
|
5395
5980
|
signIn: {
|
|
@@ -5402,6 +5987,9 @@ export declare const getGlobalSdk: () => ((({
|
|
|
5402
5987
|
whatsapp: (loginId: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
5403
5988
|
maskedPhone: string;
|
|
5404
5989
|
}>>;
|
|
5990
|
+
im: (loginId: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
5991
|
+
maskedPhone: string;
|
|
5992
|
+
}>>;
|
|
5405
5993
|
email: (loginId: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
5406
5994
|
maskedEmail: string;
|
|
5407
5995
|
}>>;
|
|
@@ -5455,6 +6043,22 @@ export declare const getGlobalSdk: () => ((({
|
|
|
5455
6043
|
}) => Promise<_1.SdkResponse<{
|
|
5456
6044
|
maskedPhone: string;
|
|
5457
6045
|
}>>;
|
|
6046
|
+
im: (loginId: string, user?: {
|
|
6047
|
+
email?: string;
|
|
6048
|
+
name?: string;
|
|
6049
|
+
givenName?: string;
|
|
6050
|
+
middleName?: string;
|
|
6051
|
+
familyName?: string;
|
|
6052
|
+
phone?: string;
|
|
6053
|
+
}, signUpOptions?: {
|
|
6054
|
+
customClaims?: Record<string, any>;
|
|
6055
|
+
templateId?: string;
|
|
6056
|
+
templateOptions?: {
|
|
6057
|
+
[x: string]: string;
|
|
6058
|
+
};
|
|
6059
|
+
}) => Promise<_1.SdkResponse<{
|
|
6060
|
+
maskedPhone: string;
|
|
6061
|
+
}>>;
|
|
5458
6062
|
email: (loginId: string, user?: {
|
|
5459
6063
|
email?: string;
|
|
5460
6064
|
name?: string;
|
|
@@ -5482,6 +6086,9 @@ export declare const getGlobalSdk: () => ((({
|
|
|
5482
6086
|
whatsapp: (loginId: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
5483
6087
|
maskedPhone: string;
|
|
5484
6088
|
}>>;
|
|
6089
|
+
im: (loginId: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
6090
|
+
maskedPhone: string;
|
|
6091
|
+
}>>;
|
|
5485
6092
|
email: (loginId: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
5486
6093
|
maskedEmail: string;
|
|
5487
6094
|
}>>;
|
|
@@ -5499,9 +6106,9 @@ export declare const getGlobalSdk: () => ((({
|
|
|
5499
6106
|
maskedEmail: string;
|
|
5500
6107
|
}>>;
|
|
5501
6108
|
phone: {
|
|
5502
|
-
sms: <
|
|
5503
|
-
addToLoginIDs?:
|
|
5504
|
-
onMergeUseExisting?:
|
|
6109
|
+
sms: <T_1_8 extends boolean>(loginId: string, phone: string, token?: string, updateOptions?: {
|
|
6110
|
+
addToLoginIDs?: T_1_8;
|
|
6111
|
+
onMergeUseExisting?: T_1_8 extends true ? boolean : never;
|
|
5505
6112
|
templateOptions?: {
|
|
5506
6113
|
[x: string]: string;
|
|
5507
6114
|
};
|
|
@@ -5510,9 +6117,9 @@ export declare const getGlobalSdk: () => ((({
|
|
|
5510
6117
|
}) => Promise<_1.SdkResponse<{
|
|
5511
6118
|
maskedPhone: string;
|
|
5512
6119
|
}>>;
|
|
5513
|
-
voice: <
|
|
5514
|
-
addToLoginIDs?:
|
|
5515
|
-
onMergeUseExisting?:
|
|
6120
|
+
voice: <T_1_9 extends boolean>(loginId: string, phone: string, token?: string, updateOptions?: {
|
|
6121
|
+
addToLoginIDs?: T_1_9;
|
|
6122
|
+
onMergeUseExisting?: T_1_9 extends true ? boolean : never;
|
|
5516
6123
|
templateOptions?: {
|
|
5517
6124
|
[x: string]: string;
|
|
5518
6125
|
};
|
|
@@ -5521,9 +6128,20 @@ export declare const getGlobalSdk: () => ((({
|
|
|
5521
6128
|
}) => Promise<_1.SdkResponse<{
|
|
5522
6129
|
maskedPhone: string;
|
|
5523
6130
|
}>>;
|
|
5524
|
-
whatsapp: <
|
|
5525
|
-
addToLoginIDs?:
|
|
5526
|
-
onMergeUseExisting?:
|
|
6131
|
+
whatsapp: <T_1_10 extends boolean>(loginId: string, phone: string, token?: string, updateOptions?: {
|
|
6132
|
+
addToLoginIDs?: T_1_10;
|
|
6133
|
+
onMergeUseExisting?: T_1_10 extends true ? boolean : never;
|
|
6134
|
+
templateOptions?: {
|
|
6135
|
+
[x: string]: string;
|
|
6136
|
+
};
|
|
6137
|
+
templateId?: string;
|
|
6138
|
+
providerId?: string;
|
|
6139
|
+
}) => Promise<_1.SdkResponse<{
|
|
6140
|
+
maskedPhone: string;
|
|
6141
|
+
}>>;
|
|
6142
|
+
im: <T_1_11 extends boolean>(loginId: string, phone: string, token?: string, updateOptions?: {
|
|
6143
|
+
addToLoginIDs?: T_1_11;
|
|
6144
|
+
onMergeUseExisting?: T_1_11 extends true ? boolean : never;
|
|
5527
6145
|
templateOptions?: {
|
|
5528
6146
|
[x: string]: string;
|
|
5529
6147
|
};
|
|
@@ -5547,6 +6165,9 @@ export declare const getGlobalSdk: () => ((({
|
|
|
5547
6165
|
whatsapp: (loginId: string, URI: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
5548
6166
|
maskedPhone: string;
|
|
5549
6167
|
}>>;
|
|
6168
|
+
im: (loginId: string, URI: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
6169
|
+
maskedPhone: string;
|
|
6170
|
+
}>>;
|
|
5550
6171
|
email: (loginId: string, URI: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<{
|
|
5551
6172
|
maskedEmail: string;
|
|
5552
6173
|
}>>;
|
|
@@ -5600,6 +6221,22 @@ export declare const getGlobalSdk: () => ((({
|
|
|
5600
6221
|
}) => Promise<_1.SdkResponse<{
|
|
5601
6222
|
maskedPhone: string;
|
|
5602
6223
|
}>>;
|
|
6224
|
+
im: (loginId: string, URI: string, user?: {
|
|
6225
|
+
email?: string;
|
|
6226
|
+
name?: string;
|
|
6227
|
+
givenName?: string;
|
|
6228
|
+
middleName?: string;
|
|
6229
|
+
familyName?: string;
|
|
6230
|
+
phone?: string;
|
|
6231
|
+
}, signUpOptions?: {
|
|
6232
|
+
customClaims?: Record<string, any>;
|
|
6233
|
+
templateId?: string;
|
|
6234
|
+
templateOptions?: {
|
|
6235
|
+
[x: string]: string;
|
|
6236
|
+
};
|
|
6237
|
+
}) => Promise<_1.SdkResponse<{
|
|
6238
|
+
maskedPhone: string;
|
|
6239
|
+
}>>;
|
|
5603
6240
|
email: (loginId: string, URI: string, user?: {
|
|
5604
6241
|
email?: string;
|
|
5605
6242
|
name?: string;
|
|
@@ -5645,6 +6282,15 @@ export declare const getGlobalSdk: () => ((({
|
|
|
5645
6282
|
}) => Promise<_1.SdkResponse<{
|
|
5646
6283
|
maskedPhone: string;
|
|
5647
6284
|
}>>;
|
|
6285
|
+
im: (loginId: string, URI?: string, signUpOptions?: {
|
|
6286
|
+
customClaims?: Record<string, any>;
|
|
6287
|
+
templateId?: string;
|
|
6288
|
+
templateOptions?: {
|
|
6289
|
+
[x: string]: string;
|
|
6290
|
+
};
|
|
6291
|
+
}) => Promise<_1.SdkResponse<{
|
|
6292
|
+
maskedPhone: string;
|
|
6293
|
+
}>>;
|
|
5648
6294
|
email: (loginId: string, URI?: string, signUpOptions?: {
|
|
5649
6295
|
customClaims?: Record<string, any>;
|
|
5650
6296
|
templateId?: string;
|
|
@@ -5668,9 +6314,9 @@ export declare const getGlobalSdk: () => ((({
|
|
|
5668
6314
|
maskedEmail: string;
|
|
5669
6315
|
}>>;
|
|
5670
6316
|
phone: {
|
|
5671
|
-
sms: <
|
|
5672
|
-
addToLoginIDs?:
|
|
5673
|
-
onMergeUseExisting?:
|
|
6317
|
+
sms: <T_3_8 extends boolean>(loginId: string, phone: string, URI?: string, token?: string, updateOptions?: {
|
|
6318
|
+
addToLoginIDs?: T_3_8;
|
|
6319
|
+
onMergeUseExisting?: T_3_8 extends true ? boolean : never;
|
|
5674
6320
|
templateOptions?: {
|
|
5675
6321
|
[x: string]: string;
|
|
5676
6322
|
};
|
|
@@ -5679,9 +6325,9 @@ export declare const getGlobalSdk: () => ((({
|
|
|
5679
6325
|
}) => Promise<_1.SdkResponse<{
|
|
5680
6326
|
maskedPhone: string;
|
|
5681
6327
|
}>>;
|
|
5682
|
-
voice: <
|
|
5683
|
-
addToLoginIDs?:
|
|
5684
|
-
onMergeUseExisting?:
|
|
6328
|
+
voice: <T_3_9 extends boolean>(loginId: string, phone: string, URI?: string, token?: string, updateOptions?: {
|
|
6329
|
+
addToLoginIDs?: T_3_9;
|
|
6330
|
+
onMergeUseExisting?: T_3_9 extends true ? boolean : never;
|
|
5685
6331
|
templateOptions?: {
|
|
5686
6332
|
[x: string]: string;
|
|
5687
6333
|
};
|
|
@@ -5690,9 +6336,20 @@ export declare const getGlobalSdk: () => ((({
|
|
|
5690
6336
|
}) => Promise<_1.SdkResponse<{
|
|
5691
6337
|
maskedPhone: string;
|
|
5692
6338
|
}>>;
|
|
5693
|
-
whatsapp: <
|
|
5694
|
-
addToLoginIDs?:
|
|
5695
|
-
onMergeUseExisting?:
|
|
6339
|
+
whatsapp: <T_3_10 extends boolean>(loginId: string, phone: string, URI?: string, token?: string, updateOptions?: {
|
|
6340
|
+
addToLoginIDs?: T_3_10;
|
|
6341
|
+
onMergeUseExisting?: T_3_10 extends true ? boolean : never;
|
|
6342
|
+
templateOptions?: {
|
|
6343
|
+
[x: string]: string;
|
|
6344
|
+
};
|
|
6345
|
+
templateId?: string;
|
|
6346
|
+
providerId?: string;
|
|
6347
|
+
}) => Promise<_1.SdkResponse<{
|
|
6348
|
+
maskedPhone: string;
|
|
6349
|
+
}>>;
|
|
6350
|
+
im: <T_3_11 extends boolean>(loginId: string, phone: string, URI?: string, token?: string, updateOptions?: {
|
|
6351
|
+
addToLoginIDs?: T_3_11;
|
|
6352
|
+
onMergeUseExisting?: T_3_11 extends true ? boolean : never;
|
|
5696
6353
|
templateOptions?: {
|
|
5697
6354
|
[x: string]: string;
|
|
5698
6355
|
};
|