controlresell 0.0.17 → 0.0.18
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/models/users/user.d.ts +10 -10
- package/dist/models/users/user.js +2 -2
- package/package.json +1 -1
|
@@ -7,8 +7,8 @@ export declare const UserSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
7
7
|
firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8
8
|
password: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
9
|
anonymous: z.ZodBoolean;
|
|
10
|
-
membership: z.
|
|
11
|
-
affiliate: z.ZodString
|
|
10
|
+
membership: z.ZodEnum<["free", "monthly", "yearly", "apprentice_monthly", "apprentice_yearly", "confirmed_monthly", "confirmed_yearly"]>;
|
|
11
|
+
affiliate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
12
|
notificationToken: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
prevId: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
|
|
@@ -117,8 +117,7 @@ export declare const UserSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
117
117
|
createdAt: Date;
|
|
118
118
|
username: string;
|
|
119
119
|
anonymous: boolean;
|
|
120
|
-
membership:
|
|
121
|
-
affiliate: string;
|
|
120
|
+
membership: "free" | "monthly" | "yearly" | "apprentice_monthly" | "apprentice_yearly" | "confirmed_monthly" | "confirmed_yearly";
|
|
122
121
|
wallet: {
|
|
123
122
|
profit: number;
|
|
124
123
|
revenue: number;
|
|
@@ -130,6 +129,7 @@ export declare const UserSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
130
129
|
firstName?: string | null | undefined;
|
|
131
130
|
email?: string | null | undefined;
|
|
132
131
|
password?: string | null | undefined;
|
|
132
|
+
affiliate?: string | null | undefined;
|
|
133
133
|
notificationToken?: string | null | undefined;
|
|
134
134
|
token?: string | null | undefined;
|
|
135
135
|
prevId?: string | number | null | undefined;
|
|
@@ -159,8 +159,7 @@ export declare const UserSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
159
159
|
createdAt: Date;
|
|
160
160
|
username: string;
|
|
161
161
|
anonymous: boolean;
|
|
162
|
-
membership:
|
|
163
|
-
affiliate: string;
|
|
162
|
+
membership: "free" | "monthly" | "yearly" | "apprentice_monthly" | "apprentice_yearly" | "confirmed_monthly" | "confirmed_yearly";
|
|
164
163
|
wallet: {
|
|
165
164
|
profit: number;
|
|
166
165
|
revenue: number;
|
|
@@ -172,6 +171,7 @@ export declare const UserSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
172
171
|
firstName?: string | null | undefined;
|
|
173
172
|
email?: string | null | undefined;
|
|
174
173
|
password?: string | null | undefined;
|
|
174
|
+
affiliate?: string | null | undefined;
|
|
175
175
|
notificationToken?: string | null | undefined;
|
|
176
176
|
token?: string | null | undefined;
|
|
177
177
|
prevId?: string | number | null | undefined;
|
|
@@ -187,8 +187,7 @@ export declare const UserSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
187
187
|
createdAt: Date;
|
|
188
188
|
username: string;
|
|
189
189
|
anonymous: boolean;
|
|
190
|
-
membership:
|
|
191
|
-
affiliate: string;
|
|
190
|
+
membership: "free" | "monthly" | "yearly" | "apprentice_monthly" | "apprentice_yearly" | "confirmed_monthly" | "confirmed_yearly";
|
|
192
191
|
wallet: {
|
|
193
192
|
profit: number;
|
|
194
193
|
revenue: number;
|
|
@@ -200,6 +199,7 @@ export declare const UserSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
200
199
|
firstName?: string | null | undefined;
|
|
201
200
|
email?: string | null | undefined;
|
|
202
201
|
password?: string | null | undefined;
|
|
202
|
+
affiliate?: string | null | undefined;
|
|
203
203
|
notificationToken?: string | null | undefined;
|
|
204
204
|
token?: string | null | undefined;
|
|
205
205
|
prevId?: string | number | null | undefined;
|
|
@@ -229,8 +229,7 @@ export declare const UserSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
229
229
|
createdAt: Date;
|
|
230
230
|
username: string;
|
|
231
231
|
anonymous: boolean;
|
|
232
|
-
membership:
|
|
233
|
-
affiliate: string;
|
|
232
|
+
membership: "free" | "monthly" | "yearly" | "apprentice_monthly" | "apprentice_yearly" | "confirmed_monthly" | "confirmed_yearly";
|
|
234
233
|
wallet: {
|
|
235
234
|
profit: number;
|
|
236
235
|
revenue: number;
|
|
@@ -242,6 +241,7 @@ export declare const UserSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
242
241
|
firstName?: string | null | undefined;
|
|
243
242
|
email?: string | null | undefined;
|
|
244
243
|
password?: string | null | undefined;
|
|
244
|
+
affiliate?: string | null | undefined;
|
|
245
245
|
notificationToken?: string | null | undefined;
|
|
246
246
|
token?: string | null | undefined;
|
|
247
247
|
prevId?: string | number | null | undefined;
|
|
@@ -17,8 +17,8 @@ exports.UserSchema = (0, legacy_1.legacy)(zod_1.z.object({
|
|
|
17
17
|
firstName: zod_1.z.string().nullish(),
|
|
18
18
|
password: zod_1.z.string().nullish(),
|
|
19
19
|
anonymous: zod_1.z.boolean(),
|
|
20
|
-
membership:
|
|
21
|
-
affiliate: zod_1.z.string(),
|
|
20
|
+
membership: exports.UserMembershipSchema,
|
|
21
|
+
affiliate: zod_1.z.string().nullish(),
|
|
22
22
|
notificationToken: zod_1.z.string().nullish(),
|
|
23
23
|
token: zod_1.z.string().nullish(),
|
|
24
24
|
prevId: primitives_1.IdSchema.nullish(),
|