@dgpholdings/greatoak-shared 1.0.71 → 1.0.73
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/types/TApiAuth.d.ts +17 -0
- package/package.json +1 -1
package/dist/types/TApiAuth.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export type TApiSignupReq = {
|
|
|
4
4
|
model: string;
|
|
5
5
|
languageCountryCode: string;
|
|
6
6
|
deviceUniqueId: string;
|
|
7
|
+
captchaToken: string;
|
|
7
8
|
};
|
|
8
9
|
export type TApiSignupRes = TApiSigninRes & {
|
|
9
10
|
authType: "email";
|
|
@@ -23,6 +24,7 @@ export type TApiSigninEmailReq = {
|
|
|
23
24
|
password: string;
|
|
24
25
|
model: string;
|
|
25
26
|
deviceUniqueId: string;
|
|
27
|
+
captchaToken: string;
|
|
26
28
|
};
|
|
27
29
|
export type TApiSigninEmailRes = TApiSigninRes & {
|
|
28
30
|
authType: "email";
|
|
@@ -65,3 +67,18 @@ export type TUser = {
|
|
|
65
67
|
authMethod: "email" | "apple";
|
|
66
68
|
};
|
|
67
69
|
export type TUserSignInData = Pick<TUser, "email" | "isVerified" | "languageCountryCode" | "billingPlanType" | "billingPlanVersion" | "paymentMethod">;
|
|
70
|
+
export type TForgotPasswordReq = {
|
|
71
|
+
email: string;
|
|
72
|
+
captchaToken: string;
|
|
73
|
+
};
|
|
74
|
+
export type TForgotPasswordRes = {
|
|
75
|
+
success: boolean;
|
|
76
|
+
};
|
|
77
|
+
export type TResetPasswordReq = {
|
|
78
|
+
verifyToken: string;
|
|
79
|
+
newPassword: string;
|
|
80
|
+
captchaToken: string;
|
|
81
|
+
};
|
|
82
|
+
export type TResetPasswordRes = {
|
|
83
|
+
success: boolean;
|
|
84
|
+
};
|