@dgpholdings/greatoak-shared 1.1.83 → 1.1.85
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
CHANGED
|
@@ -21,7 +21,7 @@ export type TOnboardingData = {
|
|
|
21
21
|
export type TApiSignupRes = TApiSigninRes & {
|
|
22
22
|
authType: "email";
|
|
23
23
|
};
|
|
24
|
-
export type TApiSignupAnonymousReq = TOnboardingData & {
|
|
24
|
+
export type TApiSignupAnonymousReq = Omit<TOnboardingData, "userCode"> & {
|
|
25
25
|
model: string;
|
|
26
26
|
appLanguage: string;
|
|
27
27
|
deviceUniqueId: string;
|
|
@@ -94,3 +94,22 @@ export type TApiTemplateShopAdoptOneRes = {
|
|
|
94
94
|
status: 201;
|
|
95
95
|
state: "success";
|
|
96
96
|
};
|
|
97
|
+
export type TApiSharedPlanGetReq = {
|
|
98
|
+
planCode: string;
|
|
99
|
+
};
|
|
100
|
+
export type TApiSharedPlanGetRes = {
|
|
101
|
+
status: 400;
|
|
102
|
+
state: "failed";
|
|
103
|
+
message: string;
|
|
104
|
+
} | {
|
|
105
|
+
status: 200;
|
|
106
|
+
state: "success";
|
|
107
|
+
plan: {
|
|
108
|
+
name: TTemplateShopDb["name"];
|
|
109
|
+
description: TTemplateShopDb["description"];
|
|
110
|
+
planCode: string;
|
|
111
|
+
ownerId: string;
|
|
112
|
+
ownerCode: string;
|
|
113
|
+
avatarImgName: string;
|
|
114
|
+
};
|
|
115
|
+
};
|