@uappi/public-sdk 1.1.22 → 1.1.24
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.
|
@@ -56,8 +56,23 @@ export interface SigninCustomerByDocument {
|
|
|
56
56
|
password: string;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
+
export interface MFAOption {
|
|
60
|
+
type: 'email' | 'sms' | 'app';
|
|
61
|
+
id: number;
|
|
62
|
+
label: string;
|
|
63
|
+
settings: Array<never> | {
|
|
64
|
+
otpauth: string;
|
|
65
|
+
qrCode: string;
|
|
66
|
+
secretKey: string;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
59
70
|
export interface ResponseSigninCustomer {
|
|
60
|
-
|
|
71
|
+
status: true;
|
|
72
|
+
data?: {
|
|
73
|
+
mfaToken: string;
|
|
74
|
+
options: Array<MFAOption>;
|
|
75
|
+
}
|
|
61
76
|
}
|
|
62
77
|
|
|
63
78
|
export interface CheckCustomer {
|
|
@@ -106,7 +106,8 @@ import type {
|
|
|
106
106
|
CustomerListWishlistResponse,
|
|
107
107
|
AddProductToWishlistRequest,
|
|
108
108
|
AfterPointSystem,
|
|
109
|
-
Wishlist
|
|
109
|
+
Wishlist,
|
|
110
|
+
MFAOption
|
|
110
111
|
} from './endpoints/customer/customer.interfaces';
|
|
111
112
|
import type {
|
|
112
113
|
CustomerGender,
|
|
@@ -457,6 +458,7 @@ export type {
|
|
|
457
458
|
AddProductToWishlistRequest,
|
|
458
459
|
AfterPointSystem,
|
|
459
460
|
Wishlist,
|
|
461
|
+
MFAOption,
|
|
460
462
|
|
|
461
463
|
// Order
|
|
462
464
|
Order,
|