@descope/vue-sdk 2.13.2 → 2.13.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/index.d.ts CHANGED
@@ -59,6 +59,9 @@ declare const _default$7: vue.DefineComponent<{
59
59
  dismissScreenErrorOnInput: {
60
60
  type: BooleanConstructor;
61
61
  };
62
+ popupOrigin: {
63
+ type: StringConstructor;
64
+ };
62
65
  }, (_ctx: any, _cache: any) => vue.VNode<vue.RendererNode, vue.RendererElement, {
63
66
  [key: string]: any;
64
67
  }>, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("success" | "error" | "ready")[], "success" | "error" | "ready", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
@@ -114,6 +117,9 @@ declare const _default$7: vue.DefineComponent<{
114
117
  dismissScreenErrorOnInput: {
115
118
  type: BooleanConstructor;
116
119
  };
120
+ popupOrigin: {
121
+ type: StringConstructor;
122
+ };
117
123
  }>> & {
118
124
  onSuccess?: (...args: any[]) => any;
119
125
  onError?: (...args: any[]) => any;
@@ -822,13 +828,17 @@ declare const useDescope: () => ((({
822
828
  };
823
829
  enchantedLink: {
824
830
  verify: (token: string) => Promise<_descope_core_js_sdk.SdkResponse<never>>;
825
- signIn: (loginId: string, URI?: string, loginOptions?: _descope_core_js_sdk.LoginOptions, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
826
- signUpOrIn: (loginId: string, URI?: string, signUpOptions?: {
831
+ signIn: (loginId: string, URI?: string, args_2?: _descope_core_js_sdk.LoginOptions & {
832
+ providerId?: string;
833
+ }, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
834
+ signUpOrIn: (loginId: string, URI?: string, args_2?: {
827
835
  customClaims?: Record<string, any>;
828
836
  templateId?: string;
829
837
  templateOptions?: {
830
838
  [x: string]: string;
831
839
  };
840
+ } & {
841
+ providerId?: string;
832
842
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
833
843
  signUp: (loginId: string, URI?: string, user?: {
834
844
  email?: string;
@@ -837,12 +847,14 @@ declare const useDescope: () => ((({
837
847
  middleName?: string;
838
848
  familyName?: string;
839
849
  phone?: string;
840
- }, signUpOptions?: {
850
+ }, args_3?: {
841
851
  customClaims?: Record<string, any>;
842
852
  templateId?: string;
843
853
  templateOptions?: {
844
854
  [x: string]: string;
845
855
  };
856
+ } & {
857
+ providerId?: string;
846
858
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
847
859
  waitForSession: (pendingRef: string, config?: {
848
860
  pollingIntervalMs: number;
@@ -908,12 +920,14 @@ declare const useDescope: () => ((({
908
920
  update: (loginId: string, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.TOTPResponse>>;
909
921
  };
910
922
  notp: {
911
- signUpOrIn: (loginId?: string, signUpOptions?: {
923
+ signUpOrIn: (loginId?: string, args_1?: {
912
924
  customClaims?: Record<string, any>;
913
925
  templateId?: string;
914
926
  templateOptions?: {
915
927
  [x: string]: string;
916
928
  };
929
+ } & {
930
+ providerId?: string;
917
931
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
918
932
  pendingRef: string;
919
933
  redirectUrl: string;
@@ -926,18 +940,22 @@ declare const useDescope: () => ((({
926
940
  middleName?: string;
927
941
  familyName?: string;
928
942
  phone?: string;
929
- }, signUpOptions?: {
943
+ }, args_2?: {
930
944
  customClaims?: Record<string, any>;
931
945
  templateId?: string;
932
946
  templateOptions?: {
933
947
  [x: string]: string;
934
948
  };
949
+ } & {
950
+ providerId?: string;
935
951
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
936
952
  pendingRef: string;
937
953
  redirectUrl: string;
938
954
  image: string;
939
955
  }>>;
940
- signIn: (loginId?: string, loginOptions?: _descope_core_js_sdk.LoginOptions, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<{
956
+ signIn: (loginId?: string, args_1?: _descope_core_js_sdk.LoginOptions & {
957
+ providerId?: string;
958
+ }, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<{
941
959
  pendingRef: string;
942
960
  redirectUrl: string;
943
961
  image: string;
@@ -955,14 +973,18 @@ declare const useDescope: () => ((({
955
973
  middleName?: string;
956
974
  familyName?: string;
957
975
  phone?: string;
958
- }, signUpOptions?: {
976
+ }, args_3?: {
959
977
  customClaims?: Record<string, any>;
960
978
  templateId?: string;
961
979
  templateOptions?: {
962
980
  [x: string]: string;
963
981
  };
982
+ } & {
983
+ providerId?: string;
984
+ }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
985
+ signIn: (loginId: string, password: string, args_2?: _descope_core_js_sdk.LoginOptions & {
986
+ providerId?: string;
964
987
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
965
- signIn: (loginId: string, password: string, loginOptions?: _descope_core_js_sdk.LoginOptions) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
966
988
  sendReset: (loginId: string, redirectUrl?: string, templateOptions?: {
967
989
  [x: string]: string;
968
990
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
@@ -1452,13 +1474,17 @@ declare const useDescope: () => ((({
1452
1474
  };
1453
1475
  enchantedLink: {
1454
1476
  verify: (token: string) => Promise<_descope_core_js_sdk.SdkResponse<never>>;
1455
- signIn: (loginId: string, URI?: string, loginOptions?: _descope_core_js_sdk.LoginOptions, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
1456
- signUpOrIn: (loginId: string, URI?: string, signUpOptions?: {
1477
+ signIn: (loginId: string, URI?: string, args_2?: _descope_core_js_sdk.LoginOptions & {
1478
+ providerId?: string;
1479
+ }, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
1480
+ signUpOrIn: (loginId: string, URI?: string, args_2?: {
1457
1481
  customClaims?: Record<string, any>;
1458
1482
  templateId?: string;
1459
1483
  templateOptions?: {
1460
1484
  [x: string]: string;
1461
1485
  };
1486
+ } & {
1487
+ providerId?: string;
1462
1488
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
1463
1489
  signUp: (loginId: string, URI?: string, user?: {
1464
1490
  email?: string;
@@ -1467,12 +1493,14 @@ declare const useDescope: () => ((({
1467
1493
  middleName?: string;
1468
1494
  familyName?: string;
1469
1495
  phone?: string;
1470
- }, signUpOptions?: {
1496
+ }, args_3?: {
1471
1497
  customClaims?: Record<string, any>;
1472
1498
  templateId?: string;
1473
1499
  templateOptions?: {
1474
1500
  [x: string]: string;
1475
1501
  };
1502
+ } & {
1503
+ providerId?: string;
1476
1504
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
1477
1505
  waitForSession: (pendingRef: string, config?: {
1478
1506
  pollingIntervalMs: number;
@@ -1538,12 +1566,14 @@ declare const useDescope: () => ((({
1538
1566
  update: (loginId: string, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.TOTPResponse>>;
1539
1567
  };
1540
1568
  notp: {
1541
- signUpOrIn: (loginId?: string, signUpOptions?: {
1569
+ signUpOrIn: (loginId?: string, args_1?: {
1542
1570
  customClaims?: Record<string, any>;
1543
1571
  templateId?: string;
1544
1572
  templateOptions?: {
1545
1573
  [x: string]: string;
1546
1574
  };
1575
+ } & {
1576
+ providerId?: string;
1547
1577
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
1548
1578
  pendingRef: string;
1549
1579
  redirectUrl: string;
@@ -1556,18 +1586,22 @@ declare const useDescope: () => ((({
1556
1586
  middleName?: string;
1557
1587
  familyName?: string;
1558
1588
  phone?: string;
1559
- }, signUpOptions?: {
1589
+ }, args_2?: {
1560
1590
  customClaims?: Record<string, any>;
1561
1591
  templateId?: string;
1562
1592
  templateOptions?: {
1563
1593
  [x: string]: string;
1564
1594
  };
1595
+ } & {
1596
+ providerId?: string;
1565
1597
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
1566
1598
  pendingRef: string;
1567
1599
  redirectUrl: string;
1568
1600
  image: string;
1569
1601
  }>>;
1570
- signIn: (loginId?: string, loginOptions?: _descope_core_js_sdk.LoginOptions, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<{
1602
+ signIn: (loginId?: string, args_1?: _descope_core_js_sdk.LoginOptions & {
1603
+ providerId?: string;
1604
+ }, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<{
1571
1605
  pendingRef: string;
1572
1606
  redirectUrl: string;
1573
1607
  image: string;
@@ -1585,14 +1619,18 @@ declare const useDescope: () => ((({
1585
1619
  middleName?: string;
1586
1620
  familyName?: string;
1587
1621
  phone?: string;
1588
- }, signUpOptions?: {
1622
+ }, args_3?: {
1589
1623
  customClaims?: Record<string, any>;
1590
1624
  templateId?: string;
1591
1625
  templateOptions?: {
1592
1626
  [x: string]: string;
1593
1627
  };
1628
+ } & {
1629
+ providerId?: string;
1630
+ }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
1631
+ signIn: (loginId: string, password: string, args_2?: _descope_core_js_sdk.LoginOptions & {
1632
+ providerId?: string;
1594
1633
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
1595
- signIn: (loginId: string, password: string, loginOptions?: _descope_core_js_sdk.LoginOptions) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
1596
1634
  sendReset: (loginId: string, redirectUrl?: string, templateOptions?: {
1597
1635
  [x: string]: string;
1598
1636
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
@@ -2082,13 +2120,17 @@ declare const useDescope: () => ((({
2082
2120
  };
2083
2121
  enchantedLink: {
2084
2122
  verify: (token: string) => Promise<_descope_core_js_sdk.SdkResponse<never>>;
2085
- signIn: (loginId: string, URI?: string, loginOptions?: _descope_core_js_sdk.LoginOptions, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
2086
- signUpOrIn: (loginId: string, URI?: string, signUpOptions?: {
2123
+ signIn: (loginId: string, URI?: string, args_2?: _descope_core_js_sdk.LoginOptions & {
2124
+ providerId?: string;
2125
+ }, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
2126
+ signUpOrIn: (loginId: string, URI?: string, args_2?: {
2087
2127
  customClaims?: Record<string, any>;
2088
2128
  templateId?: string;
2089
2129
  templateOptions?: {
2090
2130
  [x: string]: string;
2091
2131
  };
2132
+ } & {
2133
+ providerId?: string;
2092
2134
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
2093
2135
  signUp: (loginId: string, URI?: string, user?: {
2094
2136
  email?: string;
@@ -2097,12 +2139,14 @@ declare const useDescope: () => ((({
2097
2139
  middleName?: string;
2098
2140
  familyName?: string;
2099
2141
  phone?: string;
2100
- }, signUpOptions?: {
2142
+ }, args_3?: {
2101
2143
  customClaims?: Record<string, any>;
2102
2144
  templateId?: string;
2103
2145
  templateOptions?: {
2104
2146
  [x: string]: string;
2105
2147
  };
2148
+ } & {
2149
+ providerId?: string;
2106
2150
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
2107
2151
  waitForSession: (pendingRef: string, config?: {
2108
2152
  pollingIntervalMs: number;
@@ -2168,12 +2212,14 @@ declare const useDescope: () => ((({
2168
2212
  update: (loginId: string, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.TOTPResponse>>;
2169
2213
  };
2170
2214
  notp: {
2171
- signUpOrIn: (loginId?: string, signUpOptions?: {
2215
+ signUpOrIn: (loginId?: string, args_1?: {
2172
2216
  customClaims?: Record<string, any>;
2173
2217
  templateId?: string;
2174
2218
  templateOptions?: {
2175
2219
  [x: string]: string;
2176
2220
  };
2221
+ } & {
2222
+ providerId?: string;
2177
2223
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
2178
2224
  pendingRef: string;
2179
2225
  redirectUrl: string;
@@ -2186,18 +2232,22 @@ declare const useDescope: () => ((({
2186
2232
  middleName?: string;
2187
2233
  familyName?: string;
2188
2234
  phone?: string;
2189
- }, signUpOptions?: {
2235
+ }, args_2?: {
2190
2236
  customClaims?: Record<string, any>;
2191
2237
  templateId?: string;
2192
2238
  templateOptions?: {
2193
2239
  [x: string]: string;
2194
2240
  };
2241
+ } & {
2242
+ providerId?: string;
2195
2243
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
2196
2244
  pendingRef: string;
2197
2245
  redirectUrl: string;
2198
2246
  image: string;
2199
2247
  }>>;
2200
- signIn: (loginId?: string, loginOptions?: _descope_core_js_sdk.LoginOptions, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<{
2248
+ signIn: (loginId?: string, args_1?: _descope_core_js_sdk.LoginOptions & {
2249
+ providerId?: string;
2250
+ }, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<{
2201
2251
  pendingRef: string;
2202
2252
  redirectUrl: string;
2203
2253
  image: string;
@@ -2215,14 +2265,18 @@ declare const useDescope: () => ((({
2215
2265
  middleName?: string;
2216
2266
  familyName?: string;
2217
2267
  phone?: string;
2218
- }, signUpOptions?: {
2268
+ }, args_3?: {
2219
2269
  customClaims?: Record<string, any>;
2220
2270
  templateId?: string;
2221
2271
  templateOptions?: {
2222
2272
  [x: string]: string;
2223
2273
  };
2274
+ } & {
2275
+ providerId?: string;
2276
+ }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
2277
+ signIn: (loginId: string, password: string, args_2?: _descope_core_js_sdk.LoginOptions & {
2278
+ providerId?: string;
2224
2279
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
2225
- signIn: (loginId: string, password: string, loginOptions?: _descope_core_js_sdk.LoginOptions) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
2226
2280
  sendReset: (loginId: string, redirectUrl?: string, templateOptions?: {
2227
2281
  [x: string]: string;
2228
2282
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
@@ -2720,13 +2774,17 @@ declare const useDescope: () => ((({
2720
2774
  };
2721
2775
  enchantedLink: {
2722
2776
  verify: (token: string) => Promise<_descope_core_js_sdk.SdkResponse<never>>;
2723
- signIn: (loginId: string, URI?: string, loginOptions?: _descope_core_js_sdk.LoginOptions, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
2724
- signUpOrIn: (loginId: string, URI?: string, signUpOptions?: {
2777
+ signIn: (loginId: string, URI?: string, args_2?: _descope_core_js_sdk.LoginOptions & {
2778
+ providerId?: string;
2779
+ }, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
2780
+ signUpOrIn: (loginId: string, URI?: string, args_2?: {
2725
2781
  customClaims?: Record<string, any>;
2726
2782
  templateId?: string;
2727
2783
  templateOptions?: {
2728
2784
  [x: string]: string;
2729
2785
  };
2786
+ } & {
2787
+ providerId?: string;
2730
2788
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
2731
2789
  signUp: (loginId: string, URI?: string, user?: {
2732
2790
  email?: string;
@@ -2735,12 +2793,14 @@ declare const useDescope: () => ((({
2735
2793
  middleName?: string;
2736
2794
  familyName?: string;
2737
2795
  phone?: string;
2738
- }, signUpOptions?: {
2796
+ }, args_3?: {
2739
2797
  customClaims?: Record<string, any>;
2740
2798
  templateId?: string;
2741
2799
  templateOptions?: {
2742
2800
  [x: string]: string;
2743
2801
  };
2802
+ } & {
2803
+ providerId?: string;
2744
2804
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
2745
2805
  waitForSession: (pendingRef: string, config?: {
2746
2806
  pollingIntervalMs: number;
@@ -2806,12 +2866,14 @@ declare const useDescope: () => ((({
2806
2866
  update: (loginId: string, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.TOTPResponse>>;
2807
2867
  };
2808
2868
  notp: {
2809
- signUpOrIn: (loginId?: string, signUpOptions?: {
2869
+ signUpOrIn: (loginId?: string, args_1?: {
2810
2870
  customClaims?: Record<string, any>;
2811
2871
  templateId?: string;
2812
2872
  templateOptions?: {
2813
2873
  [x: string]: string;
2814
2874
  };
2875
+ } & {
2876
+ providerId?: string;
2815
2877
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
2816
2878
  pendingRef: string;
2817
2879
  redirectUrl: string;
@@ -2824,18 +2886,22 @@ declare const useDescope: () => ((({
2824
2886
  middleName?: string;
2825
2887
  familyName?: string;
2826
2888
  phone?: string;
2827
- }, signUpOptions?: {
2889
+ }, args_2?: {
2828
2890
  customClaims?: Record<string, any>;
2829
2891
  templateId?: string;
2830
2892
  templateOptions?: {
2831
2893
  [x: string]: string;
2832
2894
  };
2895
+ } & {
2896
+ providerId?: string;
2833
2897
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
2834
2898
  pendingRef: string;
2835
2899
  redirectUrl: string;
2836
2900
  image: string;
2837
2901
  }>>;
2838
- signIn: (loginId?: string, loginOptions?: _descope_core_js_sdk.LoginOptions, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<{
2902
+ signIn: (loginId?: string, args_1?: _descope_core_js_sdk.LoginOptions & {
2903
+ providerId?: string;
2904
+ }, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<{
2839
2905
  pendingRef: string;
2840
2906
  redirectUrl: string;
2841
2907
  image: string;
@@ -2853,14 +2919,18 @@ declare const useDescope: () => ((({
2853
2919
  middleName?: string;
2854
2920
  familyName?: string;
2855
2921
  phone?: string;
2856
- }, signUpOptions?: {
2922
+ }, args_3?: {
2857
2923
  customClaims?: Record<string, any>;
2858
2924
  templateId?: string;
2859
2925
  templateOptions?: {
2860
2926
  [x: string]: string;
2861
2927
  };
2928
+ } & {
2929
+ providerId?: string;
2930
+ }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
2931
+ signIn: (loginId: string, password: string, args_2?: _descope_core_js_sdk.LoginOptions & {
2932
+ providerId?: string;
2862
2933
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
2863
- signIn: (loginId: string, password: string, loginOptions?: _descope_core_js_sdk.LoginOptions) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
2864
2934
  sendReset: (loginId: string, redirectUrl?: string, templateOptions?: {
2865
2935
  [x: string]: string;
2866
2936
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
@@ -3350,13 +3420,17 @@ declare const useDescope: () => ((({
3350
3420
  };
3351
3421
  enchantedLink: {
3352
3422
  verify: (token: string) => Promise<_descope_core_js_sdk.SdkResponse<never>>;
3353
- signIn: (loginId: string, URI?: string, loginOptions?: _descope_core_js_sdk.LoginOptions, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
3354
- signUpOrIn: (loginId: string, URI?: string, signUpOptions?: {
3423
+ signIn: (loginId: string, URI?: string, args_2?: _descope_core_js_sdk.LoginOptions & {
3424
+ providerId?: string;
3425
+ }, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
3426
+ signUpOrIn: (loginId: string, URI?: string, args_2?: {
3355
3427
  customClaims?: Record<string, any>;
3356
3428
  templateId?: string;
3357
3429
  templateOptions?: {
3358
3430
  [x: string]: string;
3359
3431
  };
3432
+ } & {
3433
+ providerId?: string;
3360
3434
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
3361
3435
  signUp: (loginId: string, URI?: string, user?: {
3362
3436
  email?: string;
@@ -3365,12 +3439,14 @@ declare const useDescope: () => ((({
3365
3439
  middleName?: string;
3366
3440
  familyName?: string;
3367
3441
  phone?: string;
3368
- }, signUpOptions?: {
3442
+ }, args_3?: {
3369
3443
  customClaims?: Record<string, any>;
3370
3444
  templateId?: string;
3371
3445
  templateOptions?: {
3372
3446
  [x: string]: string;
3373
3447
  };
3448
+ } & {
3449
+ providerId?: string;
3374
3450
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
3375
3451
  waitForSession: (pendingRef: string, config?: {
3376
3452
  pollingIntervalMs: number;
@@ -3436,12 +3512,14 @@ declare const useDescope: () => ((({
3436
3512
  update: (loginId: string, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.TOTPResponse>>;
3437
3513
  };
3438
3514
  notp: {
3439
- signUpOrIn: (loginId?: string, signUpOptions?: {
3515
+ signUpOrIn: (loginId?: string, args_1?: {
3440
3516
  customClaims?: Record<string, any>;
3441
3517
  templateId?: string;
3442
3518
  templateOptions?: {
3443
3519
  [x: string]: string;
3444
3520
  };
3521
+ } & {
3522
+ providerId?: string;
3445
3523
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
3446
3524
  pendingRef: string;
3447
3525
  redirectUrl: string;
@@ -3454,18 +3532,22 @@ declare const useDescope: () => ((({
3454
3532
  middleName?: string;
3455
3533
  familyName?: string;
3456
3534
  phone?: string;
3457
- }, signUpOptions?: {
3535
+ }, args_2?: {
3458
3536
  customClaims?: Record<string, any>;
3459
3537
  templateId?: string;
3460
3538
  templateOptions?: {
3461
3539
  [x: string]: string;
3462
3540
  };
3541
+ } & {
3542
+ providerId?: string;
3463
3543
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
3464
3544
  pendingRef: string;
3465
3545
  redirectUrl: string;
3466
3546
  image: string;
3467
3547
  }>>;
3468
- signIn: (loginId?: string, loginOptions?: _descope_core_js_sdk.LoginOptions, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<{
3548
+ signIn: (loginId?: string, args_1?: _descope_core_js_sdk.LoginOptions & {
3549
+ providerId?: string;
3550
+ }, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<{
3469
3551
  pendingRef: string;
3470
3552
  redirectUrl: string;
3471
3553
  image: string;
@@ -3483,14 +3565,18 @@ declare const useDescope: () => ((({
3483
3565
  middleName?: string;
3484
3566
  familyName?: string;
3485
3567
  phone?: string;
3486
- }, signUpOptions?: {
3568
+ }, args_3?: {
3487
3569
  customClaims?: Record<string, any>;
3488
3570
  templateId?: string;
3489
3571
  templateOptions?: {
3490
3572
  [x: string]: string;
3491
3573
  };
3574
+ } & {
3575
+ providerId?: string;
3576
+ }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
3577
+ signIn: (loginId: string, password: string, args_2?: _descope_core_js_sdk.LoginOptions & {
3578
+ providerId?: string;
3492
3579
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
3493
- signIn: (loginId: string, password: string, loginOptions?: _descope_core_js_sdk.LoginOptions) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
3494
3580
  sendReset: (loginId: string, redirectUrl?: string, templateOptions?: {
3495
3581
  [x: string]: string;
3496
3582
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
@@ -3980,13 +4066,17 @@ declare const useDescope: () => ((({
3980
4066
  };
3981
4067
  enchantedLink: {
3982
4068
  verify: (token: string) => Promise<_descope_core_js_sdk.SdkResponse<never>>;
3983
- signIn: (loginId: string, URI?: string, loginOptions?: _descope_core_js_sdk.LoginOptions, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
3984
- signUpOrIn: (loginId: string, URI?: string, signUpOptions?: {
4069
+ signIn: (loginId: string, URI?: string, args_2?: _descope_core_js_sdk.LoginOptions & {
4070
+ providerId?: string;
4071
+ }, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
4072
+ signUpOrIn: (loginId: string, URI?: string, args_2?: {
3985
4073
  customClaims?: Record<string, any>;
3986
4074
  templateId?: string;
3987
4075
  templateOptions?: {
3988
4076
  [x: string]: string;
3989
4077
  };
4078
+ } & {
4079
+ providerId?: string;
3990
4080
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
3991
4081
  signUp: (loginId: string, URI?: string, user?: {
3992
4082
  email?: string;
@@ -3995,12 +4085,14 @@ declare const useDescope: () => ((({
3995
4085
  middleName?: string;
3996
4086
  familyName?: string;
3997
4087
  phone?: string;
3998
- }, signUpOptions?: {
4088
+ }, args_3?: {
3999
4089
  customClaims?: Record<string, any>;
4000
4090
  templateId?: string;
4001
4091
  templateOptions?: {
4002
4092
  [x: string]: string;
4003
4093
  };
4094
+ } & {
4095
+ providerId?: string;
4004
4096
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
4005
4097
  waitForSession: (pendingRef: string, config?: {
4006
4098
  pollingIntervalMs: number;
@@ -4066,12 +4158,14 @@ declare const useDescope: () => ((({
4066
4158
  update: (loginId: string, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.TOTPResponse>>;
4067
4159
  };
4068
4160
  notp: {
4069
- signUpOrIn: (loginId?: string, signUpOptions?: {
4161
+ signUpOrIn: (loginId?: string, args_1?: {
4070
4162
  customClaims?: Record<string, any>;
4071
4163
  templateId?: string;
4072
4164
  templateOptions?: {
4073
4165
  [x: string]: string;
4074
4166
  };
4167
+ } & {
4168
+ providerId?: string;
4075
4169
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
4076
4170
  pendingRef: string;
4077
4171
  redirectUrl: string;
@@ -4084,18 +4178,22 @@ declare const useDescope: () => ((({
4084
4178
  middleName?: string;
4085
4179
  familyName?: string;
4086
4180
  phone?: string;
4087
- }, signUpOptions?: {
4181
+ }, args_2?: {
4088
4182
  customClaims?: Record<string, any>;
4089
4183
  templateId?: string;
4090
4184
  templateOptions?: {
4091
4185
  [x: string]: string;
4092
4186
  };
4187
+ } & {
4188
+ providerId?: string;
4093
4189
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
4094
4190
  pendingRef: string;
4095
4191
  redirectUrl: string;
4096
4192
  image: string;
4097
4193
  }>>;
4098
- signIn: (loginId?: string, loginOptions?: _descope_core_js_sdk.LoginOptions, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<{
4194
+ signIn: (loginId?: string, args_1?: _descope_core_js_sdk.LoginOptions & {
4195
+ providerId?: string;
4196
+ }, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<{
4099
4197
  pendingRef: string;
4100
4198
  redirectUrl: string;
4101
4199
  image: string;
@@ -4113,14 +4211,18 @@ declare const useDescope: () => ((({
4113
4211
  middleName?: string;
4114
4212
  familyName?: string;
4115
4213
  phone?: string;
4116
- }, signUpOptions?: {
4214
+ }, args_3?: {
4117
4215
  customClaims?: Record<string, any>;
4118
4216
  templateId?: string;
4119
4217
  templateOptions?: {
4120
4218
  [x: string]: string;
4121
4219
  };
4220
+ } & {
4221
+ providerId?: string;
4222
+ }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
4223
+ signIn: (loginId: string, password: string, args_2?: _descope_core_js_sdk.LoginOptions & {
4224
+ providerId?: string;
4122
4225
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
4123
- signIn: (loginId: string, password: string, loginOptions?: _descope_core_js_sdk.LoginOptions) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
4124
4226
  sendReset: (loginId: string, redirectUrl?: string, templateOptions?: {
4125
4227
  [x: string]: string;
4126
4228
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
@@ -4640,13 +4742,17 @@ declare const getSdk: () => ((({
4640
4742
  };
4641
4743
  enchantedLink: {
4642
4744
  verify: (token: string) => Promise<_descope_core_js_sdk.SdkResponse<never>>;
4643
- signIn: (loginId: string, URI?: string, loginOptions?: _descope_core_js_sdk.LoginOptions, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
4644
- signUpOrIn: (loginId: string, URI?: string, signUpOptions?: {
4745
+ signIn: (loginId: string, URI?: string, args_2?: _descope_core_js_sdk.LoginOptions & {
4746
+ providerId?: string;
4747
+ }, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
4748
+ signUpOrIn: (loginId: string, URI?: string, args_2?: {
4645
4749
  customClaims?: Record<string, any>;
4646
4750
  templateId?: string;
4647
4751
  templateOptions?: {
4648
4752
  [x: string]: string;
4649
4753
  };
4754
+ } & {
4755
+ providerId?: string;
4650
4756
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
4651
4757
  signUp: (loginId: string, URI?: string, user?: {
4652
4758
  email?: string;
@@ -4655,12 +4761,14 @@ declare const getSdk: () => ((({
4655
4761
  middleName?: string;
4656
4762
  familyName?: string;
4657
4763
  phone?: string;
4658
- }, signUpOptions?: {
4764
+ }, args_3?: {
4659
4765
  customClaims?: Record<string, any>;
4660
4766
  templateId?: string;
4661
4767
  templateOptions?: {
4662
4768
  [x: string]: string;
4663
4769
  };
4770
+ } & {
4771
+ providerId?: string;
4664
4772
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
4665
4773
  waitForSession: (pendingRef: string, config?: {
4666
4774
  pollingIntervalMs: number;
@@ -4726,12 +4834,14 @@ declare const getSdk: () => ((({
4726
4834
  update: (loginId: string, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.TOTPResponse>>;
4727
4835
  };
4728
4836
  notp: {
4729
- signUpOrIn: (loginId?: string, signUpOptions?: {
4837
+ signUpOrIn: (loginId?: string, args_1?: {
4730
4838
  customClaims?: Record<string, any>;
4731
4839
  templateId?: string;
4732
4840
  templateOptions?: {
4733
4841
  [x: string]: string;
4734
4842
  };
4843
+ } & {
4844
+ providerId?: string;
4735
4845
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
4736
4846
  pendingRef: string;
4737
4847
  redirectUrl: string;
@@ -4744,18 +4854,22 @@ declare const getSdk: () => ((({
4744
4854
  middleName?: string;
4745
4855
  familyName?: string;
4746
4856
  phone?: string;
4747
- }, signUpOptions?: {
4857
+ }, args_2?: {
4748
4858
  customClaims?: Record<string, any>;
4749
4859
  templateId?: string;
4750
4860
  templateOptions?: {
4751
4861
  [x: string]: string;
4752
4862
  };
4863
+ } & {
4864
+ providerId?: string;
4753
4865
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
4754
4866
  pendingRef: string;
4755
4867
  redirectUrl: string;
4756
4868
  image: string;
4757
4869
  }>>;
4758
- signIn: (loginId?: string, loginOptions?: _descope_core_js_sdk.LoginOptions, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<{
4870
+ signIn: (loginId?: string, args_1?: _descope_core_js_sdk.LoginOptions & {
4871
+ providerId?: string;
4872
+ }, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<{
4759
4873
  pendingRef: string;
4760
4874
  redirectUrl: string;
4761
4875
  image: string;
@@ -4773,14 +4887,18 @@ declare const getSdk: () => ((({
4773
4887
  middleName?: string;
4774
4888
  familyName?: string;
4775
4889
  phone?: string;
4776
- }, signUpOptions?: {
4890
+ }, args_3?: {
4777
4891
  customClaims?: Record<string, any>;
4778
4892
  templateId?: string;
4779
4893
  templateOptions?: {
4780
4894
  [x: string]: string;
4781
4895
  };
4896
+ } & {
4897
+ providerId?: string;
4898
+ }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
4899
+ signIn: (loginId: string, password: string, args_2?: _descope_core_js_sdk.LoginOptions & {
4900
+ providerId?: string;
4782
4901
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
4783
- signIn: (loginId: string, password: string, loginOptions?: _descope_core_js_sdk.LoginOptions) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
4784
4902
  sendReset: (loginId: string, redirectUrl?: string, templateOptions?: {
4785
4903
  [x: string]: string;
4786
4904
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
@@ -5270,13 +5388,17 @@ declare const getSdk: () => ((({
5270
5388
  };
5271
5389
  enchantedLink: {
5272
5390
  verify: (token: string) => Promise<_descope_core_js_sdk.SdkResponse<never>>;
5273
- signIn: (loginId: string, URI?: string, loginOptions?: _descope_core_js_sdk.LoginOptions, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
5274
- signUpOrIn: (loginId: string, URI?: string, signUpOptions?: {
5391
+ signIn: (loginId: string, URI?: string, args_2?: _descope_core_js_sdk.LoginOptions & {
5392
+ providerId?: string;
5393
+ }, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
5394
+ signUpOrIn: (loginId: string, URI?: string, args_2?: {
5275
5395
  customClaims?: Record<string, any>;
5276
5396
  templateId?: string;
5277
5397
  templateOptions?: {
5278
5398
  [x: string]: string;
5279
5399
  };
5400
+ } & {
5401
+ providerId?: string;
5280
5402
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
5281
5403
  signUp: (loginId: string, URI?: string, user?: {
5282
5404
  email?: string;
@@ -5285,12 +5407,14 @@ declare const getSdk: () => ((({
5285
5407
  middleName?: string;
5286
5408
  familyName?: string;
5287
5409
  phone?: string;
5288
- }, signUpOptions?: {
5410
+ }, args_3?: {
5289
5411
  customClaims?: Record<string, any>;
5290
5412
  templateId?: string;
5291
5413
  templateOptions?: {
5292
5414
  [x: string]: string;
5293
5415
  };
5416
+ } & {
5417
+ providerId?: string;
5294
5418
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
5295
5419
  waitForSession: (pendingRef: string, config?: {
5296
5420
  pollingIntervalMs: number;
@@ -5356,12 +5480,14 @@ declare const getSdk: () => ((({
5356
5480
  update: (loginId: string, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.TOTPResponse>>;
5357
5481
  };
5358
5482
  notp: {
5359
- signUpOrIn: (loginId?: string, signUpOptions?: {
5483
+ signUpOrIn: (loginId?: string, args_1?: {
5360
5484
  customClaims?: Record<string, any>;
5361
5485
  templateId?: string;
5362
5486
  templateOptions?: {
5363
5487
  [x: string]: string;
5364
5488
  };
5489
+ } & {
5490
+ providerId?: string;
5365
5491
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
5366
5492
  pendingRef: string;
5367
5493
  redirectUrl: string;
@@ -5374,18 +5500,22 @@ declare const getSdk: () => ((({
5374
5500
  middleName?: string;
5375
5501
  familyName?: string;
5376
5502
  phone?: string;
5377
- }, signUpOptions?: {
5503
+ }, args_2?: {
5378
5504
  customClaims?: Record<string, any>;
5379
5505
  templateId?: string;
5380
5506
  templateOptions?: {
5381
5507
  [x: string]: string;
5382
5508
  };
5509
+ } & {
5510
+ providerId?: string;
5383
5511
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
5384
5512
  pendingRef: string;
5385
5513
  redirectUrl: string;
5386
5514
  image: string;
5387
5515
  }>>;
5388
- signIn: (loginId?: string, loginOptions?: _descope_core_js_sdk.LoginOptions, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<{
5516
+ signIn: (loginId?: string, args_1?: _descope_core_js_sdk.LoginOptions & {
5517
+ providerId?: string;
5518
+ }, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<{
5389
5519
  pendingRef: string;
5390
5520
  redirectUrl: string;
5391
5521
  image: string;
@@ -5403,14 +5533,18 @@ declare const getSdk: () => ((({
5403
5533
  middleName?: string;
5404
5534
  familyName?: string;
5405
5535
  phone?: string;
5406
- }, signUpOptions?: {
5536
+ }, args_3?: {
5407
5537
  customClaims?: Record<string, any>;
5408
5538
  templateId?: string;
5409
5539
  templateOptions?: {
5410
5540
  [x: string]: string;
5411
5541
  };
5542
+ } & {
5543
+ providerId?: string;
5544
+ }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
5545
+ signIn: (loginId: string, password: string, args_2?: _descope_core_js_sdk.LoginOptions & {
5546
+ providerId?: string;
5412
5547
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
5413
- signIn: (loginId: string, password: string, loginOptions?: _descope_core_js_sdk.LoginOptions) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
5414
5548
  sendReset: (loginId: string, redirectUrl?: string, templateOptions?: {
5415
5549
  [x: string]: string;
5416
5550
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
@@ -5900,13 +6034,17 @@ declare const getSdk: () => ((({
5900
6034
  };
5901
6035
  enchantedLink: {
5902
6036
  verify: (token: string) => Promise<_descope_core_js_sdk.SdkResponse<never>>;
5903
- signIn: (loginId: string, URI?: string, loginOptions?: _descope_core_js_sdk.LoginOptions, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
5904
- signUpOrIn: (loginId: string, URI?: string, signUpOptions?: {
6037
+ signIn: (loginId: string, URI?: string, args_2?: _descope_core_js_sdk.LoginOptions & {
6038
+ providerId?: string;
6039
+ }, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
6040
+ signUpOrIn: (loginId: string, URI?: string, args_2?: {
5905
6041
  customClaims?: Record<string, any>;
5906
6042
  templateId?: string;
5907
6043
  templateOptions?: {
5908
6044
  [x: string]: string;
5909
6045
  };
6046
+ } & {
6047
+ providerId?: string;
5910
6048
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
5911
6049
  signUp: (loginId: string, URI?: string, user?: {
5912
6050
  email?: string;
@@ -5915,12 +6053,14 @@ declare const getSdk: () => ((({
5915
6053
  middleName?: string;
5916
6054
  familyName?: string;
5917
6055
  phone?: string;
5918
- }, signUpOptions?: {
6056
+ }, args_3?: {
5919
6057
  customClaims?: Record<string, any>;
5920
6058
  templateId?: string;
5921
6059
  templateOptions?: {
5922
6060
  [x: string]: string;
5923
6061
  };
6062
+ } & {
6063
+ providerId?: string;
5924
6064
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
5925
6065
  waitForSession: (pendingRef: string, config?: {
5926
6066
  pollingIntervalMs: number;
@@ -5986,12 +6126,14 @@ declare const getSdk: () => ((({
5986
6126
  update: (loginId: string, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.TOTPResponse>>;
5987
6127
  };
5988
6128
  notp: {
5989
- signUpOrIn: (loginId?: string, signUpOptions?: {
6129
+ signUpOrIn: (loginId?: string, args_1?: {
5990
6130
  customClaims?: Record<string, any>;
5991
6131
  templateId?: string;
5992
6132
  templateOptions?: {
5993
6133
  [x: string]: string;
5994
6134
  };
6135
+ } & {
6136
+ providerId?: string;
5995
6137
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
5996
6138
  pendingRef: string;
5997
6139
  redirectUrl: string;
@@ -6004,18 +6146,22 @@ declare const getSdk: () => ((({
6004
6146
  middleName?: string;
6005
6147
  familyName?: string;
6006
6148
  phone?: string;
6007
- }, signUpOptions?: {
6149
+ }, args_2?: {
6008
6150
  customClaims?: Record<string, any>;
6009
6151
  templateId?: string;
6010
6152
  templateOptions?: {
6011
6153
  [x: string]: string;
6012
6154
  };
6155
+ } & {
6156
+ providerId?: string;
6013
6157
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
6014
6158
  pendingRef: string;
6015
6159
  redirectUrl: string;
6016
6160
  image: string;
6017
6161
  }>>;
6018
- signIn: (loginId?: string, loginOptions?: _descope_core_js_sdk.LoginOptions, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<{
6162
+ signIn: (loginId?: string, args_1?: _descope_core_js_sdk.LoginOptions & {
6163
+ providerId?: string;
6164
+ }, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<{
6019
6165
  pendingRef: string;
6020
6166
  redirectUrl: string;
6021
6167
  image: string;
@@ -6033,14 +6179,18 @@ declare const getSdk: () => ((({
6033
6179
  middleName?: string;
6034
6180
  familyName?: string;
6035
6181
  phone?: string;
6036
- }, signUpOptions?: {
6182
+ }, args_3?: {
6037
6183
  customClaims?: Record<string, any>;
6038
6184
  templateId?: string;
6039
6185
  templateOptions?: {
6040
6186
  [x: string]: string;
6041
6187
  };
6188
+ } & {
6189
+ providerId?: string;
6190
+ }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
6191
+ signIn: (loginId: string, password: string, args_2?: _descope_core_js_sdk.LoginOptions & {
6192
+ providerId?: string;
6042
6193
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
6043
- signIn: (loginId: string, password: string, loginOptions?: _descope_core_js_sdk.LoginOptions) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
6044
6194
  sendReset: (loginId: string, redirectUrl?: string, templateOptions?: {
6045
6195
  [x: string]: string;
6046
6196
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
@@ -6538,13 +6688,17 @@ declare const getSdk: () => ((({
6538
6688
  };
6539
6689
  enchantedLink: {
6540
6690
  verify: (token: string) => Promise<_descope_core_js_sdk.SdkResponse<never>>;
6541
- signIn: (loginId: string, URI?: string, loginOptions?: _descope_core_js_sdk.LoginOptions, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
6542
- signUpOrIn: (loginId: string, URI?: string, signUpOptions?: {
6691
+ signIn: (loginId: string, URI?: string, args_2?: _descope_core_js_sdk.LoginOptions & {
6692
+ providerId?: string;
6693
+ }, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
6694
+ signUpOrIn: (loginId: string, URI?: string, args_2?: {
6543
6695
  customClaims?: Record<string, any>;
6544
6696
  templateId?: string;
6545
6697
  templateOptions?: {
6546
6698
  [x: string]: string;
6547
6699
  };
6700
+ } & {
6701
+ providerId?: string;
6548
6702
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
6549
6703
  signUp: (loginId: string, URI?: string, user?: {
6550
6704
  email?: string;
@@ -6553,12 +6707,14 @@ declare const getSdk: () => ((({
6553
6707
  middleName?: string;
6554
6708
  familyName?: string;
6555
6709
  phone?: string;
6556
- }, signUpOptions?: {
6710
+ }, args_3?: {
6557
6711
  customClaims?: Record<string, any>;
6558
6712
  templateId?: string;
6559
6713
  templateOptions?: {
6560
6714
  [x: string]: string;
6561
6715
  };
6716
+ } & {
6717
+ providerId?: string;
6562
6718
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
6563
6719
  waitForSession: (pendingRef: string, config?: {
6564
6720
  pollingIntervalMs: number;
@@ -6624,12 +6780,14 @@ declare const getSdk: () => ((({
6624
6780
  update: (loginId: string, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.TOTPResponse>>;
6625
6781
  };
6626
6782
  notp: {
6627
- signUpOrIn: (loginId?: string, signUpOptions?: {
6783
+ signUpOrIn: (loginId?: string, args_1?: {
6628
6784
  customClaims?: Record<string, any>;
6629
6785
  templateId?: string;
6630
6786
  templateOptions?: {
6631
6787
  [x: string]: string;
6632
6788
  };
6789
+ } & {
6790
+ providerId?: string;
6633
6791
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
6634
6792
  pendingRef: string;
6635
6793
  redirectUrl: string;
@@ -6642,18 +6800,22 @@ declare const getSdk: () => ((({
6642
6800
  middleName?: string;
6643
6801
  familyName?: string;
6644
6802
  phone?: string;
6645
- }, signUpOptions?: {
6803
+ }, args_2?: {
6646
6804
  customClaims?: Record<string, any>;
6647
6805
  templateId?: string;
6648
6806
  templateOptions?: {
6649
6807
  [x: string]: string;
6650
6808
  };
6809
+ } & {
6810
+ providerId?: string;
6651
6811
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
6652
6812
  pendingRef: string;
6653
6813
  redirectUrl: string;
6654
6814
  image: string;
6655
6815
  }>>;
6656
- signIn: (loginId?: string, loginOptions?: _descope_core_js_sdk.LoginOptions, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<{
6816
+ signIn: (loginId?: string, args_1?: _descope_core_js_sdk.LoginOptions & {
6817
+ providerId?: string;
6818
+ }, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<{
6657
6819
  pendingRef: string;
6658
6820
  redirectUrl: string;
6659
6821
  image: string;
@@ -6671,14 +6833,18 @@ declare const getSdk: () => ((({
6671
6833
  middleName?: string;
6672
6834
  familyName?: string;
6673
6835
  phone?: string;
6674
- }, signUpOptions?: {
6836
+ }, args_3?: {
6675
6837
  customClaims?: Record<string, any>;
6676
6838
  templateId?: string;
6677
6839
  templateOptions?: {
6678
6840
  [x: string]: string;
6679
6841
  };
6842
+ } & {
6843
+ providerId?: string;
6844
+ }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
6845
+ signIn: (loginId: string, password: string, args_2?: _descope_core_js_sdk.LoginOptions & {
6846
+ providerId?: string;
6680
6847
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
6681
- signIn: (loginId: string, password: string, loginOptions?: _descope_core_js_sdk.LoginOptions) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
6682
6848
  sendReset: (loginId: string, redirectUrl?: string, templateOptions?: {
6683
6849
  [x: string]: string;
6684
6850
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
@@ -7168,13 +7334,17 @@ declare const getSdk: () => ((({
7168
7334
  };
7169
7335
  enchantedLink: {
7170
7336
  verify: (token: string) => Promise<_descope_core_js_sdk.SdkResponse<never>>;
7171
- signIn: (loginId: string, URI?: string, loginOptions?: _descope_core_js_sdk.LoginOptions, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
7172
- signUpOrIn: (loginId: string, URI?: string, signUpOptions?: {
7337
+ signIn: (loginId: string, URI?: string, args_2?: _descope_core_js_sdk.LoginOptions & {
7338
+ providerId?: string;
7339
+ }, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
7340
+ signUpOrIn: (loginId: string, URI?: string, args_2?: {
7173
7341
  customClaims?: Record<string, any>;
7174
7342
  templateId?: string;
7175
7343
  templateOptions?: {
7176
7344
  [x: string]: string;
7177
7345
  };
7346
+ } & {
7347
+ providerId?: string;
7178
7348
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
7179
7349
  signUp: (loginId: string, URI?: string, user?: {
7180
7350
  email?: string;
@@ -7183,12 +7353,14 @@ declare const getSdk: () => ((({
7183
7353
  middleName?: string;
7184
7354
  familyName?: string;
7185
7355
  phone?: string;
7186
- }, signUpOptions?: {
7356
+ }, args_3?: {
7187
7357
  customClaims?: Record<string, any>;
7188
7358
  templateId?: string;
7189
7359
  templateOptions?: {
7190
7360
  [x: string]: string;
7191
7361
  };
7362
+ } & {
7363
+ providerId?: string;
7192
7364
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
7193
7365
  waitForSession: (pendingRef: string, config?: {
7194
7366
  pollingIntervalMs: number;
@@ -7254,12 +7426,14 @@ declare const getSdk: () => ((({
7254
7426
  update: (loginId: string, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.TOTPResponse>>;
7255
7427
  };
7256
7428
  notp: {
7257
- signUpOrIn: (loginId?: string, signUpOptions?: {
7429
+ signUpOrIn: (loginId?: string, args_1?: {
7258
7430
  customClaims?: Record<string, any>;
7259
7431
  templateId?: string;
7260
7432
  templateOptions?: {
7261
7433
  [x: string]: string;
7262
7434
  };
7435
+ } & {
7436
+ providerId?: string;
7263
7437
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
7264
7438
  pendingRef: string;
7265
7439
  redirectUrl: string;
@@ -7272,18 +7446,22 @@ declare const getSdk: () => ((({
7272
7446
  middleName?: string;
7273
7447
  familyName?: string;
7274
7448
  phone?: string;
7275
- }, signUpOptions?: {
7449
+ }, args_2?: {
7276
7450
  customClaims?: Record<string, any>;
7277
7451
  templateId?: string;
7278
7452
  templateOptions?: {
7279
7453
  [x: string]: string;
7280
7454
  };
7455
+ } & {
7456
+ providerId?: string;
7281
7457
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
7282
7458
  pendingRef: string;
7283
7459
  redirectUrl: string;
7284
7460
  image: string;
7285
7461
  }>>;
7286
- signIn: (loginId?: string, loginOptions?: _descope_core_js_sdk.LoginOptions, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<{
7462
+ signIn: (loginId?: string, args_1?: _descope_core_js_sdk.LoginOptions & {
7463
+ providerId?: string;
7464
+ }, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<{
7287
7465
  pendingRef: string;
7288
7466
  redirectUrl: string;
7289
7467
  image: string;
@@ -7301,14 +7479,18 @@ declare const getSdk: () => ((({
7301
7479
  middleName?: string;
7302
7480
  familyName?: string;
7303
7481
  phone?: string;
7304
- }, signUpOptions?: {
7482
+ }, args_3?: {
7305
7483
  customClaims?: Record<string, any>;
7306
7484
  templateId?: string;
7307
7485
  templateOptions?: {
7308
7486
  [x: string]: string;
7309
7487
  };
7488
+ } & {
7489
+ providerId?: string;
7490
+ }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
7491
+ signIn: (loginId: string, password: string, args_2?: _descope_core_js_sdk.LoginOptions & {
7492
+ providerId?: string;
7310
7493
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
7311
- signIn: (loginId: string, password: string, loginOptions?: _descope_core_js_sdk.LoginOptions) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
7312
7494
  sendReset: (loginId: string, redirectUrl?: string, templateOptions?: {
7313
7495
  [x: string]: string;
7314
7496
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
@@ -7798,13 +7980,17 @@ declare const getSdk: () => ((({
7798
7980
  };
7799
7981
  enchantedLink: {
7800
7982
  verify: (token: string) => Promise<_descope_core_js_sdk.SdkResponse<never>>;
7801
- signIn: (loginId: string, URI?: string, loginOptions?: _descope_core_js_sdk.LoginOptions, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
7802
- signUpOrIn: (loginId: string, URI?: string, signUpOptions?: {
7983
+ signIn: (loginId: string, URI?: string, args_2?: _descope_core_js_sdk.LoginOptions & {
7984
+ providerId?: string;
7985
+ }, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
7986
+ signUpOrIn: (loginId: string, URI?: string, args_2?: {
7803
7987
  customClaims?: Record<string, any>;
7804
7988
  templateId?: string;
7805
7989
  templateOptions?: {
7806
7990
  [x: string]: string;
7807
7991
  };
7992
+ } & {
7993
+ providerId?: string;
7808
7994
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
7809
7995
  signUp: (loginId: string, URI?: string, user?: {
7810
7996
  email?: string;
@@ -7813,12 +7999,14 @@ declare const getSdk: () => ((({
7813
7999
  middleName?: string;
7814
8000
  familyName?: string;
7815
8001
  phone?: string;
7816
- }, signUpOptions?: {
8002
+ }, args_3?: {
7817
8003
  customClaims?: Record<string, any>;
7818
8004
  templateId?: string;
7819
8005
  templateOptions?: {
7820
8006
  [x: string]: string;
7821
8007
  };
8008
+ } & {
8009
+ providerId?: string;
7822
8010
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
7823
8011
  waitForSession: (pendingRef: string, config?: {
7824
8012
  pollingIntervalMs: number;
@@ -7884,12 +8072,14 @@ declare const getSdk: () => ((({
7884
8072
  update: (loginId: string, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.TOTPResponse>>;
7885
8073
  };
7886
8074
  notp: {
7887
- signUpOrIn: (loginId?: string, signUpOptions?: {
8075
+ signUpOrIn: (loginId?: string, args_1?: {
7888
8076
  customClaims?: Record<string, any>;
7889
8077
  templateId?: string;
7890
8078
  templateOptions?: {
7891
8079
  [x: string]: string;
7892
8080
  };
8081
+ } & {
8082
+ providerId?: string;
7893
8083
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
7894
8084
  pendingRef: string;
7895
8085
  redirectUrl: string;
@@ -7902,18 +8092,22 @@ declare const getSdk: () => ((({
7902
8092
  middleName?: string;
7903
8093
  familyName?: string;
7904
8094
  phone?: string;
7905
- }, signUpOptions?: {
8095
+ }, args_2?: {
7906
8096
  customClaims?: Record<string, any>;
7907
8097
  templateId?: string;
7908
8098
  templateOptions?: {
7909
8099
  [x: string]: string;
7910
8100
  };
8101
+ } & {
8102
+ providerId?: string;
7911
8103
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
7912
8104
  pendingRef: string;
7913
8105
  redirectUrl: string;
7914
8106
  image: string;
7915
8107
  }>>;
7916
- signIn: (loginId?: string, loginOptions?: _descope_core_js_sdk.LoginOptions, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<{
8108
+ signIn: (loginId?: string, args_1?: _descope_core_js_sdk.LoginOptions & {
8109
+ providerId?: string;
8110
+ }, token?: string) => Promise<_descope_core_js_sdk.SdkResponse<{
7917
8111
  pendingRef: string;
7918
8112
  redirectUrl: string;
7919
8113
  image: string;
@@ -7931,14 +8125,18 @@ declare const getSdk: () => ((({
7931
8125
  middleName?: string;
7932
8126
  familyName?: string;
7933
8127
  phone?: string;
7934
- }, signUpOptions?: {
8128
+ }, args_3?: {
7935
8129
  customClaims?: Record<string, any>;
7936
8130
  templateId?: string;
7937
8131
  templateOptions?: {
7938
8132
  [x: string]: string;
7939
8133
  };
8134
+ } & {
8135
+ providerId?: string;
8136
+ }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
8137
+ signIn: (loginId: string, password: string, args_2?: _descope_core_js_sdk.LoginOptions & {
8138
+ providerId?: string;
7940
8139
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
7941
- signIn: (loginId: string, password: string, loginOptions?: _descope_core_js_sdk.LoginOptions) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
7942
8140
  sendReset: (loginId: string, redirectUrl?: string, templateOptions?: {
7943
8141
  [x: string]: string;
7944
8142
  }) => Promise<_descope_core_js_sdk.SdkResponse<{