expo-backend-types 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/src/account/dto/account.dto.d.ts +11 -201
- package/dist/src/account/dto/account.dto.js +4 -21
- package/dist/src/account/dto/create-account.dto.d.ts +9 -301
- package/dist/src/account/dto/create-account.dto.js +3 -4
- package/dist/src/account/dto/get-global-filter.dto.d.ts +24 -20
- package/dist/src/account/dto/get-global-filter.dto.js +10 -6
- package/dist/src/account/dto/get-me.dto.d.ts +214 -188
- package/dist/src/account/dto/get-me.dto.js +27 -4
- package/dist/src/account/dto/update-global-filter.dto.d.ts +136 -169
- package/dist/src/account/dto/update-global-filter.dto.js +7 -15
- package/dist/src/auth/dto/login.dto.d.ts +34 -414
- package/dist/src/auth/dto/login.dto.js +5 -4
- package/dist/src/auth/dto/refresh.dto.d.ts +30 -0
- package/dist/src/auth/dto/refresh.dto.js +17 -0
- package/dist/src/comment/dto/comment.dto.d.ts +21 -15
- package/dist/src/comment/dto/comment.dto.js +11 -6
- package/dist/src/comment/dto/create-comment.dto.d.ts +106 -0
- package/dist/src/comment/dto/create-comment.dto.js +18 -0
- package/dist/src/comment/dto/get-by-profile-comment.dto.d.ts +177 -0
- package/dist/src/comment/dto/get-by-profile-comment.dto.js +21 -0
- package/dist/src/comment/dto/toggle-solve-comment.dto.d.ts +71 -0
- package/dist/src/comment/dto/toggle-solve-comment.dto.js +10 -0
- package/dist/src/comment/exports.d.ts +3 -0
- package/dist/src/comment/exports.js +3 -0
- package/dist/src/event/dto/event.dto.d.ts +10 -16
- package/dist/src/event/dto/event.dto.js +6 -10
- package/dist/src/event-folder/dto/event-folder.dto.d.ts +6 -0
- package/dist/src/event-folder/dto/event-folder.dto.js +2 -0
- package/dist/src/event-folder/exports.d.ts +1 -0
- package/dist/src/event-folder/exports.js +18 -0
- package/dist/src/exports.d.ts +5 -3
- package/dist/src/exports.js +5 -3
- package/dist/src/i18n/es.d.ts +210 -0
- package/dist/src/i18n/es.js +212 -0
- package/dist/src/i18n/es.js.map +1 -0
- package/dist/src/i18n/translate.d.ts +9 -2
- package/dist/src/i18n/translate.js +3 -3
- package/dist/src/i18n/translate.js.map +1 -1
- package/dist/src/profile/dto/profile.dto.d.ts +68 -0
- package/dist/src/profile/dto/profile.dto.js +59 -0
- package/dist/src/profile/exports.d.ts +1 -0
- package/dist/src/profile/exports.js +18 -0
- package/dist/src/shared/dto-modification/create-zod-dto-without-date.d.ts +4 -0
- package/dist/src/shared/dto-modification/create-zod-dto-without-date.js +10 -0
- package/dist/src/shared/dto-modification/create-zod-dto-without-date.js.map +1 -0
- package/dist/src/shared/dto-modification/without-dates.d.ts +4 -0
- package/dist/src/shared/dto-modification/without-dates.js +6 -0
- package/dist/src/shared/dto-modification/without-dates.js.map +1 -0
- package/dist/src/shared/dto-modification/zod-without-dates.d.ts +8 -0
- package/dist/src/shared/dto-modification/zod-without-dates.js +28 -0
- package/dist/src/shared/dto-modification/zod-without-dates.js.map +1 -0
- package/dist/src/tag/dto/create-tag.dto.d.ts +5 -16
- package/dist/src/tag/dto/create-tag.dto.js +3 -3
- package/dist/src/tag/dto/delete-tag.dto.d.ts +7 -7
- package/dist/src/tag/dto/delete-tag.dto.js +2 -2
- package/dist/src/tag/dto/find-all-tag.dto.d.ts +34 -35
- package/dist/src/tag/dto/find-all-tag.dto.js +2 -2
- package/dist/src/tag/dto/find-by-group-tag.dto.d.ts +35 -36
- package/dist/src/tag/dto/find-by-group-tag.dto.js +5 -5
- package/dist/src/tag/dto/find-one-tag.dto.d.ts +23 -24
- package/dist/src/tag/dto/find-one-tag.dto.js +2 -2
- package/dist/src/tag/dto/massive-allocation.dto.d.ts +260 -0
- package/dist/src/tag/dto/massive-allocation.dto.js +24 -0
- package/dist/src/tag/dto/massive-deallocation.dto.d.ts +260 -0
- package/dist/src/tag/dto/massive-deallocation.dto.js +24 -0
- package/dist/src/tag/dto/tag.dto.d.ts +7 -7
- package/dist/src/tag/dto/tag.dto.js +3 -3
- package/dist/src/tag/dto/update-tag.dto.d.ts +31 -22
- package/dist/src/tag/dto/update-tag.dto.js +5 -7
- package/dist/src/tag/exports.d.ts +2 -1
- package/dist/src/tag/exports.js +2 -1
- package/dist/src/tag-group/dto/create-tag-group.dto.d.ts +78 -0
- package/dist/src/tag-group/dto/create-tag-group.dto.js +18 -0
- package/dist/src/tag-group/dto/delete-tag-group.dto.d.ts +47 -0
- package/dist/src/tag-group/dto/delete-tag-group.dto.js +10 -0
- package/dist/src/tag-group/dto/find-all-tag-group.dto.d.ts +207 -0
- package/dist/src/tag-group/dto/find-all-tag-group.dto.js +19 -0
- package/dist/src/{tag/dto/find-all-grouped-tag.dto.d.ts → tag-group/dto/find-all-with-tags.dto.d.ts} +24 -28
- package/dist/src/{tag/dto/find-all-grouped-tag.dto.js → tag-group/dto/find-all-with-tags.dto.js} +8 -8
- package/dist/src/tag-group/dto/find-one-tag-group.dto.d.ts +135 -0
- package/dist/src/tag-group/dto/find-one-tag-group.dto.js +17 -0
- package/dist/src/tag-group/dto/tag-group.dto.d.ts +9 -9
- package/dist/src/tag-group/dto/tag-group.dto.js +5 -3
- package/dist/src/tag-group/dto/update-tag-group.dto.d.ts +78 -0
- package/dist/src/tag-group/dto/update-tag-group.dto.js +18 -0
- package/dist/src/tag-group/exports.d.ts +6 -0
- package/dist/src/tag-group/exports.js +6 -0
- package/dist/types/prisma-schema/edge.js +4 -4
- package/dist/types/prisma-schema/index-browser.js +1 -1
- package/dist/types/prisma-schema/index.d.ts +53 -53
- package/dist/types/prisma-schema/index.js +4 -4
- package/dist/types/prisma-schema/package.json +1 -1
- package/dist/types/prisma-schema/schema.prisma +1 -1
- package/dist/types/prisma-schema/wasm.js +1 -1
- package/dist/types/schema.d.ts +787 -184
- package/package.json +10 -6
- package/dist/src/i18n/es.json +0 -125
@@ -23,16 +23,16 @@ export declare const findOneTagResponseSchema: z.ZodObject<z.objectUtil.extendSh
|
|
23
23
|
id: string;
|
24
24
|
name: string;
|
25
25
|
color: string;
|
26
|
-
isExclusive: boolean;
|
27
26
|
created_at: Date;
|
28
27
|
updated_at: Date;
|
28
|
+
isExclusive: boolean;
|
29
29
|
}, {
|
30
30
|
id: string;
|
31
31
|
name: string;
|
32
32
|
color: string;
|
33
|
-
isExclusive: boolean;
|
34
33
|
created_at: Date;
|
35
34
|
updated_at: Date;
|
35
|
+
isExclusive: boolean;
|
36
36
|
}>;
|
37
37
|
}>, "strip", z.ZodTypeAny, {
|
38
38
|
id: string;
|
@@ -45,9 +45,9 @@ export declare const findOneTagResponseSchema: z.ZodObject<z.objectUtil.extendSh
|
|
45
45
|
id: string;
|
46
46
|
name: string;
|
47
47
|
color: string;
|
48
|
-
isExclusive: boolean;
|
49
48
|
created_at: Date;
|
50
49
|
updated_at: Date;
|
50
|
+
isExclusive: boolean;
|
51
51
|
};
|
52
52
|
}, {
|
53
53
|
id: string;
|
@@ -60,12 +60,12 @@ export declare const findOneTagResponseSchema: z.ZodObject<z.objectUtil.extendSh
|
|
60
60
|
id: string;
|
61
61
|
name: string;
|
62
62
|
color: string;
|
63
|
-
isExclusive: boolean;
|
64
63
|
created_at: Date;
|
65
64
|
updated_at: Date;
|
65
|
+
isExclusive: boolean;
|
66
66
|
};
|
67
67
|
}>;
|
68
|
-
declare const FindOneTagResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<
|
68
|
+
declare const FindOneTagResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
69
69
|
id: z.ZodString;
|
70
70
|
name: z.ZodString;
|
71
71
|
groupId: z.ZodString;
|
@@ -75,60 +75,59 @@ declare const FindOneTagResponseDto_base: import("@anatine/zod-nestjs").ZodDtoSt
|
|
75
75
|
PARTICIPANT: "PARTICIPANT";
|
76
76
|
NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
|
77
77
|
}>;
|
78
|
-
created_at: z.
|
79
|
-
updated_at: z.
|
80
|
-
}, {
|
78
|
+
created_at: z.ZodString;
|
79
|
+
updated_at: z.ZodString;
|
81
80
|
group: z.ZodObject<{
|
82
81
|
id: z.ZodString;
|
83
82
|
name: z.ZodString;
|
84
83
|
color: z.ZodString;
|
85
84
|
isExclusive: z.ZodBoolean;
|
86
|
-
created_at: z.
|
87
|
-
updated_at: z.
|
88
|
-
},
|
85
|
+
created_at: z.ZodString;
|
86
|
+
updated_at: z.ZodString;
|
87
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
89
88
|
id: string;
|
90
89
|
name: string;
|
91
90
|
color: string;
|
91
|
+
created_at: string;
|
92
|
+
updated_at: string;
|
92
93
|
isExclusive: boolean;
|
93
|
-
created_at: Date;
|
94
|
-
updated_at: Date;
|
95
94
|
}, {
|
96
95
|
id: string;
|
97
96
|
name: string;
|
98
97
|
color: string;
|
98
|
+
created_at: string;
|
99
|
+
updated_at: string;
|
99
100
|
isExclusive: boolean;
|
100
|
-
created_at: Date;
|
101
|
-
updated_at: Date;
|
102
101
|
}>;
|
103
|
-
}
|
102
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
104
103
|
id: string;
|
105
104
|
name: string;
|
106
105
|
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
107
|
-
created_at:
|
108
|
-
updated_at:
|
106
|
+
created_at: string;
|
107
|
+
updated_at: string;
|
109
108
|
groupId: string;
|
110
109
|
group: {
|
111
110
|
id: string;
|
112
111
|
name: string;
|
113
112
|
color: string;
|
113
|
+
created_at: string;
|
114
|
+
updated_at: string;
|
114
115
|
isExclusive: boolean;
|
115
|
-
created_at: Date;
|
116
|
-
updated_at: Date;
|
117
116
|
};
|
118
117
|
}, {
|
119
118
|
id: string;
|
120
119
|
name: string;
|
121
120
|
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
122
|
-
created_at:
|
123
|
-
updated_at:
|
121
|
+
created_at: string;
|
122
|
+
updated_at: string;
|
124
123
|
groupId: string;
|
125
124
|
group: {
|
126
125
|
id: string;
|
127
126
|
name: string;
|
128
127
|
color: string;
|
128
|
+
created_at: string;
|
129
|
+
updated_at: string;
|
129
130
|
isExclusive: boolean;
|
130
|
-
created_at: Date;
|
131
|
-
updated_at: Date;
|
132
131
|
};
|
133
132
|
}>>;
|
134
133
|
export declare class FindOneTagResponseDto extends FindOneTagResponseDto_base {
|
@@ -4,14 +4,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4
4
|
};
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
6
|
exports.FindOneTagResponseDto = exports.findOneTagResponseSchema = void 0;
|
7
|
+
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
7
8
|
const tag_group_dto_1 = require("../../tag-group/dto/tag-group.dto");
|
8
9
|
const tag_dto_1 = require("./tag.dto");
|
9
|
-
const zod_nestjs_1 = require("@anatine/zod-nestjs");
|
10
10
|
const zod_1 = __importDefault(require("zod"));
|
11
11
|
exports.findOneTagResponseSchema = tag_dto_1.tagSchema.merge(zod_1.default.object({
|
12
12
|
group: tag_group_dto_1.tagGroupSchema,
|
13
13
|
}));
|
14
|
-
class FindOneTagResponseDto extends (0,
|
14
|
+
class FindOneTagResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.findOneTagResponseSchema) {
|
15
15
|
}
|
16
16
|
exports.FindOneTagResponseDto = FindOneTagResponseDto;
|
17
17
|
//# sourceMappingURL=find-one-tag.dto.js.map
|
@@ -0,0 +1,260 @@
|
|
1
|
+
import z from 'zod';
|
2
|
+
export declare const massiveAllocationSchema: z.ZodObject<{
|
3
|
+
tagIds: z.ZodArray<z.ZodString, "many">;
|
4
|
+
profileIds: z.ZodArray<z.ZodString, "many">;
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
6
|
+
tagIds: string[];
|
7
|
+
profileIds: string[];
|
8
|
+
}, {
|
9
|
+
tagIds: string[];
|
10
|
+
profileIds: string[];
|
11
|
+
}>;
|
12
|
+
declare const MassiveAllocationDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
13
|
+
tagIds: z.ZodArray<z.ZodString, "many">;
|
14
|
+
profileIds: z.ZodArray<z.ZodString, "many">;
|
15
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
16
|
+
tagIds: string[];
|
17
|
+
profileIds: string[];
|
18
|
+
}, {
|
19
|
+
tagIds: string[];
|
20
|
+
profileIds: string[];
|
21
|
+
}>>;
|
22
|
+
export declare class MassiveAllocationDto extends MassiveAllocationDto_base {
|
23
|
+
}
|
24
|
+
export declare const massiveAllocationResponseSchema: z.ZodObject<{
|
25
|
+
profiles: z.ZodArray<z.ZodObject<{
|
26
|
+
id: z.ZodString;
|
27
|
+
shortId: z.ZodNumber;
|
28
|
+
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
29
|
+
secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
|
30
|
+
fullName: z.ZodString;
|
31
|
+
firstName: z.ZodNullable<z.ZodString>;
|
32
|
+
gender: z.ZodNullable<z.ZodString>;
|
33
|
+
birthDate: z.ZodNullable<z.ZodDate>;
|
34
|
+
profilePictureUrl: z.ZodNullable<z.ZodString>;
|
35
|
+
instagram: z.ZodNullable<z.ZodString>;
|
36
|
+
mail: z.ZodNullable<z.ZodString>;
|
37
|
+
dni: z.ZodNullable<z.ZodString>;
|
38
|
+
alternativeNames: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
39
|
+
birthLongitude: z.ZodNullable<z.ZodNumber>;
|
40
|
+
birthLatitude: z.ZodNullable<z.ZodNumber>;
|
41
|
+
residenceLongitude: z.ZodNullable<z.ZodNumber>;
|
42
|
+
residenceLatitude: z.ZodNullable<z.ZodNumber>;
|
43
|
+
isInTrash: z.ZodBoolean;
|
44
|
+
movedToTrashDate: z.ZodNullable<z.ZodDate>;
|
45
|
+
created_at: z.ZodDate;
|
46
|
+
updated_at: z.ZodDate;
|
47
|
+
}, "strip", z.ZodTypeAny, {
|
48
|
+
id: string;
|
49
|
+
phoneNumber: string;
|
50
|
+
secondaryPhoneNumber: string | null;
|
51
|
+
fullName: string;
|
52
|
+
profilePictureUrl: string | null;
|
53
|
+
created_at: Date;
|
54
|
+
updated_at: Date;
|
55
|
+
shortId: number;
|
56
|
+
firstName: string | null;
|
57
|
+
gender: string | null;
|
58
|
+
birthDate: Date | null;
|
59
|
+
instagram: string | null;
|
60
|
+
mail: string | null;
|
61
|
+
dni: string | null;
|
62
|
+
alternativeNames: string[] | null;
|
63
|
+
birthLongitude: number | null;
|
64
|
+
birthLatitude: number | null;
|
65
|
+
residenceLongitude: number | null;
|
66
|
+
residenceLatitude: number | null;
|
67
|
+
isInTrash: boolean;
|
68
|
+
movedToTrashDate: Date | null;
|
69
|
+
}, {
|
70
|
+
id: string;
|
71
|
+
phoneNumber: string;
|
72
|
+
secondaryPhoneNumber: string | null;
|
73
|
+
fullName: string;
|
74
|
+
profilePictureUrl: string | null;
|
75
|
+
created_at: Date;
|
76
|
+
updated_at: Date;
|
77
|
+
shortId: number;
|
78
|
+
firstName: string | null;
|
79
|
+
gender: string | null;
|
80
|
+
birthDate: Date | null;
|
81
|
+
instagram: string | null;
|
82
|
+
mail: string | null;
|
83
|
+
dni: string | null;
|
84
|
+
alternativeNames: string[] | null;
|
85
|
+
birthLongitude: number | null;
|
86
|
+
birthLatitude: number | null;
|
87
|
+
residenceLongitude: number | null;
|
88
|
+
residenceLatitude: number | null;
|
89
|
+
isInTrash: boolean;
|
90
|
+
movedToTrashDate: Date | null;
|
91
|
+
}>, "many">;
|
92
|
+
}, "strip", z.ZodTypeAny, {
|
93
|
+
profiles: {
|
94
|
+
id: string;
|
95
|
+
phoneNumber: string;
|
96
|
+
secondaryPhoneNumber: string | null;
|
97
|
+
fullName: string;
|
98
|
+
profilePictureUrl: string | null;
|
99
|
+
created_at: Date;
|
100
|
+
updated_at: Date;
|
101
|
+
shortId: number;
|
102
|
+
firstName: string | null;
|
103
|
+
gender: string | null;
|
104
|
+
birthDate: Date | null;
|
105
|
+
instagram: string | null;
|
106
|
+
mail: string | null;
|
107
|
+
dni: string | null;
|
108
|
+
alternativeNames: string[] | null;
|
109
|
+
birthLongitude: number | null;
|
110
|
+
birthLatitude: number | null;
|
111
|
+
residenceLongitude: number | null;
|
112
|
+
residenceLatitude: number | null;
|
113
|
+
isInTrash: boolean;
|
114
|
+
movedToTrashDate: Date | null;
|
115
|
+
}[];
|
116
|
+
}, {
|
117
|
+
profiles: {
|
118
|
+
id: string;
|
119
|
+
phoneNumber: string;
|
120
|
+
secondaryPhoneNumber: string | null;
|
121
|
+
fullName: string;
|
122
|
+
profilePictureUrl: string | null;
|
123
|
+
created_at: Date;
|
124
|
+
updated_at: Date;
|
125
|
+
shortId: number;
|
126
|
+
firstName: string | null;
|
127
|
+
gender: string | null;
|
128
|
+
birthDate: Date | null;
|
129
|
+
instagram: string | null;
|
130
|
+
mail: string | null;
|
131
|
+
dni: string | null;
|
132
|
+
alternativeNames: string[] | null;
|
133
|
+
birthLongitude: number | null;
|
134
|
+
birthLatitude: number | null;
|
135
|
+
residenceLongitude: number | null;
|
136
|
+
residenceLatitude: number | null;
|
137
|
+
isInTrash: boolean;
|
138
|
+
movedToTrashDate: Date | null;
|
139
|
+
}[];
|
140
|
+
}>;
|
141
|
+
declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
142
|
+
profiles: z.ZodArray<z.ZodObject<{
|
143
|
+
id: z.ZodString;
|
144
|
+
shortId: z.ZodNumber;
|
145
|
+
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
146
|
+
secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
|
147
|
+
fullName: z.ZodString;
|
148
|
+
firstName: z.ZodNullable<z.ZodString>;
|
149
|
+
gender: z.ZodNullable<z.ZodString>;
|
150
|
+
birthDate: z.ZodNullable<z.ZodDate>;
|
151
|
+
profilePictureUrl: z.ZodNullable<z.ZodString>;
|
152
|
+
instagram: z.ZodNullable<z.ZodString>;
|
153
|
+
mail: z.ZodNullable<z.ZodString>;
|
154
|
+
dni: z.ZodNullable<z.ZodString>;
|
155
|
+
alternativeNames: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
156
|
+
birthLongitude: z.ZodNullable<z.ZodNumber>;
|
157
|
+
birthLatitude: z.ZodNullable<z.ZodNumber>;
|
158
|
+
residenceLongitude: z.ZodNullable<z.ZodNumber>;
|
159
|
+
residenceLatitude: z.ZodNullable<z.ZodNumber>;
|
160
|
+
isInTrash: z.ZodBoolean;
|
161
|
+
movedToTrashDate: z.ZodNullable<z.ZodDate>;
|
162
|
+
created_at: z.ZodString;
|
163
|
+
updated_at: z.ZodString;
|
164
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
165
|
+
id: string;
|
166
|
+
phoneNumber: string;
|
167
|
+
secondaryPhoneNumber: string | null;
|
168
|
+
fullName: string;
|
169
|
+
profilePictureUrl: string | null;
|
170
|
+
created_at: string;
|
171
|
+
updated_at: string;
|
172
|
+
shortId: number;
|
173
|
+
firstName: string | null;
|
174
|
+
gender: string | null;
|
175
|
+
birthDate: Date | null;
|
176
|
+
instagram: string | null;
|
177
|
+
mail: string | null;
|
178
|
+
dni: string | null;
|
179
|
+
alternativeNames: string[] | null;
|
180
|
+
birthLongitude: number | null;
|
181
|
+
birthLatitude: number | null;
|
182
|
+
residenceLongitude: number | null;
|
183
|
+
residenceLatitude: number | null;
|
184
|
+
isInTrash: boolean;
|
185
|
+
movedToTrashDate: Date | null;
|
186
|
+
}, {
|
187
|
+
id: string;
|
188
|
+
phoneNumber: string;
|
189
|
+
secondaryPhoneNumber: string | null;
|
190
|
+
fullName: string;
|
191
|
+
profilePictureUrl: string | null;
|
192
|
+
created_at: string;
|
193
|
+
updated_at: string;
|
194
|
+
shortId: number;
|
195
|
+
firstName: string | null;
|
196
|
+
gender: string | null;
|
197
|
+
birthDate: Date | null;
|
198
|
+
instagram: string | null;
|
199
|
+
mail: string | null;
|
200
|
+
dni: string | null;
|
201
|
+
alternativeNames: string[] | null;
|
202
|
+
birthLongitude: number | null;
|
203
|
+
birthLatitude: number | null;
|
204
|
+
residenceLongitude: number | null;
|
205
|
+
residenceLatitude: number | null;
|
206
|
+
isInTrash: boolean;
|
207
|
+
movedToTrashDate: Date | null;
|
208
|
+
}>, "many">;
|
209
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
210
|
+
profiles: {
|
211
|
+
id: string;
|
212
|
+
phoneNumber: string;
|
213
|
+
secondaryPhoneNumber: string | null;
|
214
|
+
fullName: string;
|
215
|
+
profilePictureUrl: string | null;
|
216
|
+
created_at: string;
|
217
|
+
updated_at: string;
|
218
|
+
shortId: number;
|
219
|
+
firstName: string | null;
|
220
|
+
gender: string | null;
|
221
|
+
birthDate: Date | null;
|
222
|
+
instagram: string | null;
|
223
|
+
mail: string | null;
|
224
|
+
dni: string | null;
|
225
|
+
alternativeNames: string[] | null;
|
226
|
+
birthLongitude: number | null;
|
227
|
+
birthLatitude: number | null;
|
228
|
+
residenceLongitude: number | null;
|
229
|
+
residenceLatitude: number | null;
|
230
|
+
isInTrash: boolean;
|
231
|
+
movedToTrashDate: Date | null;
|
232
|
+
}[];
|
233
|
+
}, {
|
234
|
+
profiles: {
|
235
|
+
id: string;
|
236
|
+
phoneNumber: string;
|
237
|
+
secondaryPhoneNumber: string | null;
|
238
|
+
fullName: string;
|
239
|
+
profilePictureUrl: string | null;
|
240
|
+
created_at: string;
|
241
|
+
updated_at: string;
|
242
|
+
shortId: number;
|
243
|
+
firstName: string | null;
|
244
|
+
gender: string | null;
|
245
|
+
birthDate: Date | null;
|
246
|
+
instagram: string | null;
|
247
|
+
mail: string | null;
|
248
|
+
dni: string | null;
|
249
|
+
alternativeNames: string[] | null;
|
250
|
+
birthLongitude: number | null;
|
251
|
+
birthLatitude: number | null;
|
252
|
+
residenceLongitude: number | null;
|
253
|
+
residenceLatitude: number | null;
|
254
|
+
isInTrash: boolean;
|
255
|
+
movedToTrashDate: Date | null;
|
256
|
+
}[];
|
257
|
+
}>>;
|
258
|
+
export declare class MassiveAllocationResponseDto extends MassiveAllocationResponseDto_base {
|
259
|
+
}
|
260
|
+
export {};
|
@@ -0,0 +1,24 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
|
+
};
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
+
exports.MassiveAllocationResponseDto = exports.massiveAllocationResponseSchema = exports.MassiveAllocationDto = exports.massiveAllocationSchema = void 0;
|
7
|
+
const profile_dto_1 = require("../../profile/dto/profile.dto");
|
8
|
+
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
9
|
+
const tag_dto_1 = require("./tag.dto");
|
10
|
+
const zod_1 = __importDefault(require("zod"));
|
11
|
+
exports.massiveAllocationSchema = zod_1.default.object({
|
12
|
+
tagIds: zod_1.default.array(tag_dto_1.tagSchema.shape.id),
|
13
|
+
profileIds: zod_1.default.array(profile_dto_1.profileSchema.shape.id),
|
14
|
+
});
|
15
|
+
class MassiveAllocationDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.massiveAllocationSchema) {
|
16
|
+
}
|
17
|
+
exports.MassiveAllocationDto = MassiveAllocationDto;
|
18
|
+
exports.massiveAllocationResponseSchema = zod_1.default.object({
|
19
|
+
profiles: zod_1.default.array(profile_dto_1.profileSchema),
|
20
|
+
});
|
21
|
+
class MassiveAllocationResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.massiveAllocationResponseSchema) {
|
22
|
+
}
|
23
|
+
exports.MassiveAllocationResponseDto = MassiveAllocationResponseDto;
|
24
|
+
//# sourceMappingURL=massive-allocation.dto.js.map
|
@@ -0,0 +1,260 @@
|
|
1
|
+
import z from 'zod';
|
2
|
+
export declare const massiveDeallocationSchema: z.ZodObject<{
|
3
|
+
tagIds: z.ZodArray<z.ZodString, "many">;
|
4
|
+
profileIds: z.ZodArray<z.ZodString, "many">;
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
6
|
+
tagIds: string[];
|
7
|
+
profileIds: string[];
|
8
|
+
}, {
|
9
|
+
tagIds: string[];
|
10
|
+
profileIds: string[];
|
11
|
+
}>;
|
12
|
+
declare const MassiveDeallocationDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
13
|
+
tagIds: z.ZodArray<z.ZodString, "many">;
|
14
|
+
profileIds: z.ZodArray<z.ZodString, "many">;
|
15
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
16
|
+
tagIds: string[];
|
17
|
+
profileIds: string[];
|
18
|
+
}, {
|
19
|
+
tagIds: string[];
|
20
|
+
profileIds: string[];
|
21
|
+
}>>;
|
22
|
+
export declare class MassiveDeallocationDto extends MassiveDeallocationDto_base {
|
23
|
+
}
|
24
|
+
export declare const massiveDeallocationResponseSchema: z.ZodObject<{
|
25
|
+
profiles: z.ZodArray<z.ZodObject<{
|
26
|
+
id: z.ZodString;
|
27
|
+
shortId: z.ZodNumber;
|
28
|
+
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
29
|
+
secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
|
30
|
+
fullName: z.ZodString;
|
31
|
+
firstName: z.ZodNullable<z.ZodString>;
|
32
|
+
gender: z.ZodNullable<z.ZodString>;
|
33
|
+
birthDate: z.ZodNullable<z.ZodDate>;
|
34
|
+
profilePictureUrl: z.ZodNullable<z.ZodString>;
|
35
|
+
instagram: z.ZodNullable<z.ZodString>;
|
36
|
+
mail: z.ZodNullable<z.ZodString>;
|
37
|
+
dni: z.ZodNullable<z.ZodString>;
|
38
|
+
alternativeNames: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
39
|
+
birthLongitude: z.ZodNullable<z.ZodNumber>;
|
40
|
+
birthLatitude: z.ZodNullable<z.ZodNumber>;
|
41
|
+
residenceLongitude: z.ZodNullable<z.ZodNumber>;
|
42
|
+
residenceLatitude: z.ZodNullable<z.ZodNumber>;
|
43
|
+
isInTrash: z.ZodBoolean;
|
44
|
+
movedToTrashDate: z.ZodNullable<z.ZodDate>;
|
45
|
+
created_at: z.ZodDate;
|
46
|
+
updated_at: z.ZodDate;
|
47
|
+
}, "strip", z.ZodTypeAny, {
|
48
|
+
id: string;
|
49
|
+
phoneNumber: string;
|
50
|
+
secondaryPhoneNumber: string | null;
|
51
|
+
fullName: string;
|
52
|
+
profilePictureUrl: string | null;
|
53
|
+
created_at: Date;
|
54
|
+
updated_at: Date;
|
55
|
+
shortId: number;
|
56
|
+
firstName: string | null;
|
57
|
+
gender: string | null;
|
58
|
+
birthDate: Date | null;
|
59
|
+
instagram: string | null;
|
60
|
+
mail: string | null;
|
61
|
+
dni: string | null;
|
62
|
+
alternativeNames: string[] | null;
|
63
|
+
birthLongitude: number | null;
|
64
|
+
birthLatitude: number | null;
|
65
|
+
residenceLongitude: number | null;
|
66
|
+
residenceLatitude: number | null;
|
67
|
+
isInTrash: boolean;
|
68
|
+
movedToTrashDate: Date | null;
|
69
|
+
}, {
|
70
|
+
id: string;
|
71
|
+
phoneNumber: string;
|
72
|
+
secondaryPhoneNumber: string | null;
|
73
|
+
fullName: string;
|
74
|
+
profilePictureUrl: string | null;
|
75
|
+
created_at: Date;
|
76
|
+
updated_at: Date;
|
77
|
+
shortId: number;
|
78
|
+
firstName: string | null;
|
79
|
+
gender: string | null;
|
80
|
+
birthDate: Date | null;
|
81
|
+
instagram: string | null;
|
82
|
+
mail: string | null;
|
83
|
+
dni: string | null;
|
84
|
+
alternativeNames: string[] | null;
|
85
|
+
birthLongitude: number | null;
|
86
|
+
birthLatitude: number | null;
|
87
|
+
residenceLongitude: number | null;
|
88
|
+
residenceLatitude: number | null;
|
89
|
+
isInTrash: boolean;
|
90
|
+
movedToTrashDate: Date | null;
|
91
|
+
}>, "many">;
|
92
|
+
}, "strip", z.ZodTypeAny, {
|
93
|
+
profiles: {
|
94
|
+
id: string;
|
95
|
+
phoneNumber: string;
|
96
|
+
secondaryPhoneNumber: string | null;
|
97
|
+
fullName: string;
|
98
|
+
profilePictureUrl: string | null;
|
99
|
+
created_at: Date;
|
100
|
+
updated_at: Date;
|
101
|
+
shortId: number;
|
102
|
+
firstName: string | null;
|
103
|
+
gender: string | null;
|
104
|
+
birthDate: Date | null;
|
105
|
+
instagram: string | null;
|
106
|
+
mail: string | null;
|
107
|
+
dni: string | null;
|
108
|
+
alternativeNames: string[] | null;
|
109
|
+
birthLongitude: number | null;
|
110
|
+
birthLatitude: number | null;
|
111
|
+
residenceLongitude: number | null;
|
112
|
+
residenceLatitude: number | null;
|
113
|
+
isInTrash: boolean;
|
114
|
+
movedToTrashDate: Date | null;
|
115
|
+
}[];
|
116
|
+
}, {
|
117
|
+
profiles: {
|
118
|
+
id: string;
|
119
|
+
phoneNumber: string;
|
120
|
+
secondaryPhoneNumber: string | null;
|
121
|
+
fullName: string;
|
122
|
+
profilePictureUrl: string | null;
|
123
|
+
created_at: Date;
|
124
|
+
updated_at: Date;
|
125
|
+
shortId: number;
|
126
|
+
firstName: string | null;
|
127
|
+
gender: string | null;
|
128
|
+
birthDate: Date | null;
|
129
|
+
instagram: string | null;
|
130
|
+
mail: string | null;
|
131
|
+
dni: string | null;
|
132
|
+
alternativeNames: string[] | null;
|
133
|
+
birthLongitude: number | null;
|
134
|
+
birthLatitude: number | null;
|
135
|
+
residenceLongitude: number | null;
|
136
|
+
residenceLatitude: number | null;
|
137
|
+
isInTrash: boolean;
|
138
|
+
movedToTrashDate: Date | null;
|
139
|
+
}[];
|
140
|
+
}>;
|
141
|
+
declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
142
|
+
profiles: z.ZodArray<z.ZodObject<{
|
143
|
+
id: z.ZodString;
|
144
|
+
shortId: z.ZodNumber;
|
145
|
+
phoneNumber: z.ZodEffects<z.ZodString, string, string>;
|
146
|
+
secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
|
147
|
+
fullName: z.ZodString;
|
148
|
+
firstName: z.ZodNullable<z.ZodString>;
|
149
|
+
gender: z.ZodNullable<z.ZodString>;
|
150
|
+
birthDate: z.ZodNullable<z.ZodDate>;
|
151
|
+
profilePictureUrl: z.ZodNullable<z.ZodString>;
|
152
|
+
instagram: z.ZodNullable<z.ZodString>;
|
153
|
+
mail: z.ZodNullable<z.ZodString>;
|
154
|
+
dni: z.ZodNullable<z.ZodString>;
|
155
|
+
alternativeNames: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
156
|
+
birthLongitude: z.ZodNullable<z.ZodNumber>;
|
157
|
+
birthLatitude: z.ZodNullable<z.ZodNumber>;
|
158
|
+
residenceLongitude: z.ZodNullable<z.ZodNumber>;
|
159
|
+
residenceLatitude: z.ZodNullable<z.ZodNumber>;
|
160
|
+
isInTrash: z.ZodBoolean;
|
161
|
+
movedToTrashDate: z.ZodNullable<z.ZodDate>;
|
162
|
+
created_at: z.ZodString;
|
163
|
+
updated_at: z.ZodString;
|
164
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
165
|
+
id: string;
|
166
|
+
phoneNumber: string;
|
167
|
+
secondaryPhoneNumber: string | null;
|
168
|
+
fullName: string;
|
169
|
+
profilePictureUrl: string | null;
|
170
|
+
created_at: string;
|
171
|
+
updated_at: string;
|
172
|
+
shortId: number;
|
173
|
+
firstName: string | null;
|
174
|
+
gender: string | null;
|
175
|
+
birthDate: Date | null;
|
176
|
+
instagram: string | null;
|
177
|
+
mail: string | null;
|
178
|
+
dni: string | null;
|
179
|
+
alternativeNames: string[] | null;
|
180
|
+
birthLongitude: number | null;
|
181
|
+
birthLatitude: number | null;
|
182
|
+
residenceLongitude: number | null;
|
183
|
+
residenceLatitude: number | null;
|
184
|
+
isInTrash: boolean;
|
185
|
+
movedToTrashDate: Date | null;
|
186
|
+
}, {
|
187
|
+
id: string;
|
188
|
+
phoneNumber: string;
|
189
|
+
secondaryPhoneNumber: string | null;
|
190
|
+
fullName: string;
|
191
|
+
profilePictureUrl: string | null;
|
192
|
+
created_at: string;
|
193
|
+
updated_at: string;
|
194
|
+
shortId: number;
|
195
|
+
firstName: string | null;
|
196
|
+
gender: string | null;
|
197
|
+
birthDate: Date | null;
|
198
|
+
instagram: string | null;
|
199
|
+
mail: string | null;
|
200
|
+
dni: string | null;
|
201
|
+
alternativeNames: string[] | null;
|
202
|
+
birthLongitude: number | null;
|
203
|
+
birthLatitude: number | null;
|
204
|
+
residenceLongitude: number | null;
|
205
|
+
residenceLatitude: number | null;
|
206
|
+
isInTrash: boolean;
|
207
|
+
movedToTrashDate: Date | null;
|
208
|
+
}>, "many">;
|
209
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
210
|
+
profiles: {
|
211
|
+
id: string;
|
212
|
+
phoneNumber: string;
|
213
|
+
secondaryPhoneNumber: string | null;
|
214
|
+
fullName: string;
|
215
|
+
profilePictureUrl: string | null;
|
216
|
+
created_at: string;
|
217
|
+
updated_at: string;
|
218
|
+
shortId: number;
|
219
|
+
firstName: string | null;
|
220
|
+
gender: string | null;
|
221
|
+
birthDate: Date | null;
|
222
|
+
instagram: string | null;
|
223
|
+
mail: string | null;
|
224
|
+
dni: string | null;
|
225
|
+
alternativeNames: string[] | null;
|
226
|
+
birthLongitude: number | null;
|
227
|
+
birthLatitude: number | null;
|
228
|
+
residenceLongitude: number | null;
|
229
|
+
residenceLatitude: number | null;
|
230
|
+
isInTrash: boolean;
|
231
|
+
movedToTrashDate: Date | null;
|
232
|
+
}[];
|
233
|
+
}, {
|
234
|
+
profiles: {
|
235
|
+
id: string;
|
236
|
+
phoneNumber: string;
|
237
|
+
secondaryPhoneNumber: string | null;
|
238
|
+
fullName: string;
|
239
|
+
profilePictureUrl: string | null;
|
240
|
+
created_at: string;
|
241
|
+
updated_at: string;
|
242
|
+
shortId: number;
|
243
|
+
firstName: string | null;
|
244
|
+
gender: string | null;
|
245
|
+
birthDate: Date | null;
|
246
|
+
instagram: string | null;
|
247
|
+
mail: string | null;
|
248
|
+
dni: string | null;
|
249
|
+
alternativeNames: string[] | null;
|
250
|
+
birthLongitude: number | null;
|
251
|
+
birthLatitude: number | null;
|
252
|
+
residenceLongitude: number | null;
|
253
|
+
residenceLatitude: number | null;
|
254
|
+
isInTrash: boolean;
|
255
|
+
movedToTrashDate: Date | null;
|
256
|
+
}[];
|
257
|
+
}>>;
|
258
|
+
export declare class MassiveDeallocationResponseDto extends MassiveDeallocationResponseDto_base {
|
259
|
+
}
|
260
|
+
export {};
|