@dgpholdings/greatoak-shared 1.1.91 → 1.1.92
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/TApiUser.d.ts +2 -2
- package/package.json +1 -1
package/dist/types/TApiUser.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export type TSubscriptionStatus = "active" | "cancelled" | "expired" | "trial" |
|
|
|
8
8
|
export type TSubscriptionType = "monthly" | "yearly" | null;
|
|
9
9
|
export type TAppStore = "app_store" | "play_store" | null;
|
|
10
10
|
export type TUserMetric = {
|
|
11
|
+
userId: string;
|
|
11
12
|
dob: Date;
|
|
12
13
|
userCode: string;
|
|
13
14
|
fullName?: string;
|
|
@@ -32,8 +33,7 @@ export type TUserMetric = {
|
|
|
32
33
|
createdAt: Date;
|
|
33
34
|
updatedAt?: Date;
|
|
34
35
|
};
|
|
35
|
-
export type
|
|
36
|
-
export type TApiUserUpdateReq = Omit<TUserMetricWoSubscription, "createdAt" | "updatedAt">;
|
|
36
|
+
export type TApiUserUpdateReq = Omit<TUserMetric, "userId" | "subscriptionStatus" | "subscriptionType" | "subscriptionExpiresAt" | "subscriptionStartedAt" | "subscriptionWillRenew" | "subscriptionStore" | "subscriptionLastUpdatedAt">;
|
|
37
37
|
export type TApiUserUpdateRes = {
|
|
38
38
|
status: 400 | 500;
|
|
39
39
|
state: "failed" | "time_restricted_error";
|