expo-backend-types 0.3.0-EXPO-245.3 → 0.3.0-EXPO-245.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,369 @@
1
+ export declare const createCuentaSchema: import("zod").ZodObject<Pick<{
2
+ id: import("zod").ZodString;
3
+ username: import("zod").ZodString;
4
+ password: import("zod").ZodString;
5
+ isAdmin: import("zod").ZodDefault<import("zod").ZodBoolean>;
6
+ created_at: import("zod").ZodString;
7
+ updated_at: import("zod").ZodString;
8
+ filtroBase: import("zod").ZodObject<{
9
+ etiquetas: import("zod").ZodObject<import("zod").objectUtil.extendShape<Pick<{
10
+ id: import("zod").ZodString;
11
+ name: import("zod").ZodString;
12
+ groupId: import("zod").ZodString;
13
+ type: import("zod").ZodNativeEnum<{
14
+ PERSONAL: "PERSONAL";
15
+ EVENTO: "EVENTO";
16
+ MODELO: "MODELO";
17
+ TENTATIVA: "TENTATIVA";
18
+ }>;
19
+ created_at: import("zod").ZodString;
20
+ updated_at: import("zod").ZodString;
21
+ }, "id" | "name">, {
22
+ grupo: import("zod").ZodObject<Pick<{
23
+ id: import("zod").ZodString;
24
+ name: import("zod").ZodString;
25
+ color: import("zod").ZodString;
26
+ isExclusive: import("zod").ZodBoolean;
27
+ created_at: import("zod").ZodString;
28
+ updated_at: import("zod").ZodString;
29
+ }, "id" | "color" | "isExclusive">, "strip", import("zod").ZodTypeAny, {
30
+ id: string;
31
+ color: string;
32
+ isExclusive: boolean;
33
+ }, {
34
+ id: string;
35
+ color: string;
36
+ isExclusive: boolean;
37
+ }>;
38
+ }>, "strip", import("zod").ZodTypeAny, {
39
+ id: string;
40
+ name: string;
41
+ grupo: {
42
+ id: string;
43
+ color: string;
44
+ isExclusive: boolean;
45
+ };
46
+ }, {
47
+ id: string;
48
+ name: string;
49
+ grupo: {
50
+ id: string;
51
+ color: string;
52
+ isExclusive: boolean;
53
+ };
54
+ }>;
55
+ active: import("zod").ZodBoolean;
56
+ }, "strip", import("zod").ZodTypeAny, {
57
+ etiquetas: {
58
+ id: string;
59
+ name: string;
60
+ grupo: {
61
+ id: string;
62
+ color: string;
63
+ isExclusive: boolean;
64
+ };
65
+ };
66
+ active: boolean;
67
+ }, {
68
+ etiquetas: {
69
+ id: string;
70
+ name: string;
71
+ grupo: {
72
+ id: string;
73
+ color: string;
74
+ isExclusive: boolean;
75
+ };
76
+ };
77
+ active: boolean;
78
+ }>;
79
+ filtroBaseActivo: import("zod").ZodDefault<import("zod").ZodBoolean>;
80
+ fcmToken: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString, "many">>;
81
+ }, "username" | "password" | "isAdmin">, "strip", import("zod").ZodTypeAny, {
82
+ username: string;
83
+ password: string;
84
+ isAdmin: boolean;
85
+ }, {
86
+ username: string;
87
+ password: string;
88
+ isAdmin?: boolean | undefined;
89
+ }>;
90
+ declare const CreateCuentaDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<Pick<{
91
+ id: import("zod").ZodString;
92
+ username: import("zod").ZodString;
93
+ password: import("zod").ZodString;
94
+ isAdmin: import("zod").ZodDefault<import("zod").ZodBoolean>;
95
+ created_at: import("zod").ZodString;
96
+ updated_at: import("zod").ZodString;
97
+ filtroBase: import("zod").ZodObject<{
98
+ etiquetas: import("zod").ZodObject<import("zod").objectUtil.extendShape<Pick<{
99
+ id: import("zod").ZodString;
100
+ name: import("zod").ZodString;
101
+ groupId: import("zod").ZodString;
102
+ type: import("zod").ZodNativeEnum<{
103
+ PERSONAL: "PERSONAL";
104
+ EVENTO: "EVENTO";
105
+ MODELO: "MODELO";
106
+ TENTATIVA: "TENTATIVA";
107
+ }>;
108
+ created_at: import("zod").ZodString;
109
+ updated_at: import("zod").ZodString;
110
+ }, "id" | "name">, {
111
+ grupo: import("zod").ZodObject<Pick<{
112
+ id: import("zod").ZodString;
113
+ name: import("zod").ZodString;
114
+ color: import("zod").ZodString;
115
+ isExclusive: import("zod").ZodBoolean;
116
+ created_at: import("zod").ZodString;
117
+ updated_at: import("zod").ZodString;
118
+ }, "id" | "color" | "isExclusive">, "strip", import("zod").ZodTypeAny, {
119
+ id: string;
120
+ color: string;
121
+ isExclusive: boolean;
122
+ }, {
123
+ id: string;
124
+ color: string;
125
+ isExclusive: boolean;
126
+ }>;
127
+ }>, "strip", import("zod").ZodTypeAny, {
128
+ id: string;
129
+ name: string;
130
+ grupo: {
131
+ id: string;
132
+ color: string;
133
+ isExclusive: boolean;
134
+ };
135
+ }, {
136
+ id: string;
137
+ name: string;
138
+ grupo: {
139
+ id: string;
140
+ color: string;
141
+ isExclusive: boolean;
142
+ };
143
+ }>;
144
+ active: import("zod").ZodBoolean;
145
+ }, "strip", import("zod").ZodTypeAny, {
146
+ etiquetas: {
147
+ id: string;
148
+ name: string;
149
+ grupo: {
150
+ id: string;
151
+ color: string;
152
+ isExclusive: boolean;
153
+ };
154
+ };
155
+ active: boolean;
156
+ }, {
157
+ etiquetas: {
158
+ id: string;
159
+ name: string;
160
+ grupo: {
161
+ id: string;
162
+ color: string;
163
+ isExclusive: boolean;
164
+ };
165
+ };
166
+ active: boolean;
167
+ }>;
168
+ filtroBaseActivo: import("zod").ZodDefault<import("zod").ZodBoolean>;
169
+ fcmToken: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString, "many">>;
170
+ }, "username" | "password" | "isAdmin">, "strip", import("zod").ZodTypeAny, {
171
+ username: string;
172
+ password: string;
173
+ isAdmin: boolean;
174
+ }, {
175
+ username: string;
176
+ password: string;
177
+ isAdmin?: boolean | undefined;
178
+ }>>;
179
+ export declare class CreateCuentaDto extends CreateCuentaDto_base {
180
+ }
181
+ export declare const createCuentaResponseSchema: import("zod").ZodObject<Omit<{
182
+ id: import("zod").ZodString;
183
+ username: import("zod").ZodString;
184
+ password: import("zod").ZodString;
185
+ isAdmin: import("zod").ZodDefault<import("zod").ZodBoolean>;
186
+ created_at: import("zod").ZodString;
187
+ updated_at: import("zod").ZodString;
188
+ filtroBase: import("zod").ZodObject<{
189
+ etiquetas: import("zod").ZodObject<import("zod").objectUtil.extendShape<Pick<{
190
+ id: import("zod").ZodString;
191
+ name: import("zod").ZodString;
192
+ groupId: import("zod").ZodString;
193
+ type: import("zod").ZodNativeEnum<{
194
+ PERSONAL: "PERSONAL";
195
+ EVENTO: "EVENTO";
196
+ MODELO: "MODELO";
197
+ TENTATIVA: "TENTATIVA";
198
+ }>;
199
+ created_at: import("zod").ZodString;
200
+ updated_at: import("zod").ZodString;
201
+ }, "id" | "name">, {
202
+ grupo: import("zod").ZodObject<Pick<{
203
+ id: import("zod").ZodString;
204
+ name: import("zod").ZodString;
205
+ color: import("zod").ZodString;
206
+ isExclusive: import("zod").ZodBoolean;
207
+ created_at: import("zod").ZodString;
208
+ updated_at: import("zod").ZodString;
209
+ }, "id" | "color" | "isExclusive">, "strip", import("zod").ZodTypeAny, {
210
+ id: string;
211
+ color: string;
212
+ isExclusive: boolean;
213
+ }, {
214
+ id: string;
215
+ color: string;
216
+ isExclusive: boolean;
217
+ }>;
218
+ }>, "strip", import("zod").ZodTypeAny, {
219
+ id: string;
220
+ name: string;
221
+ grupo: {
222
+ id: string;
223
+ color: string;
224
+ isExclusive: boolean;
225
+ };
226
+ }, {
227
+ id: string;
228
+ name: string;
229
+ grupo: {
230
+ id: string;
231
+ color: string;
232
+ isExclusive: boolean;
233
+ };
234
+ }>;
235
+ active: import("zod").ZodBoolean;
236
+ }, "strip", import("zod").ZodTypeAny, {
237
+ etiquetas: {
238
+ id: string;
239
+ name: string;
240
+ grupo: {
241
+ id: string;
242
+ color: string;
243
+ isExclusive: boolean;
244
+ };
245
+ };
246
+ active: boolean;
247
+ }, {
248
+ etiquetas: {
249
+ id: string;
250
+ name: string;
251
+ grupo: {
252
+ id: string;
253
+ color: string;
254
+ isExclusive: boolean;
255
+ };
256
+ };
257
+ active: boolean;
258
+ }>;
259
+ filtroBaseActivo: import("zod").ZodDefault<import("zod").ZodBoolean>;
260
+ fcmToken: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString, "many">>;
261
+ }, "created_at" | "updated_at" | "password" | "filtroBase">, "strip", import("zod").ZodTypeAny, {
262
+ id: string;
263
+ username: string;
264
+ isAdmin: boolean;
265
+ filtroBaseActivo: boolean;
266
+ fcmToken: string[];
267
+ }, {
268
+ id: string;
269
+ username: string;
270
+ isAdmin?: boolean | undefined;
271
+ filtroBaseActivo?: boolean | undefined;
272
+ fcmToken?: string[] | undefined;
273
+ }>;
274
+ declare const CreateCuentaResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<Omit<{
275
+ id: import("zod").ZodString;
276
+ username: import("zod").ZodString;
277
+ password: import("zod").ZodString;
278
+ isAdmin: import("zod").ZodDefault<import("zod").ZodBoolean>;
279
+ created_at: import("zod").ZodString;
280
+ updated_at: import("zod").ZodString;
281
+ filtroBase: import("zod").ZodObject<{
282
+ etiquetas: import("zod").ZodObject<import("zod").objectUtil.extendShape<Pick<{
283
+ id: import("zod").ZodString;
284
+ name: import("zod").ZodString;
285
+ groupId: import("zod").ZodString;
286
+ type: import("zod").ZodNativeEnum<{
287
+ PERSONAL: "PERSONAL";
288
+ EVENTO: "EVENTO";
289
+ MODELO: "MODELO";
290
+ TENTATIVA: "TENTATIVA";
291
+ }>;
292
+ created_at: import("zod").ZodString;
293
+ updated_at: import("zod").ZodString;
294
+ }, "id" | "name">, {
295
+ grupo: import("zod").ZodObject<Pick<{
296
+ id: import("zod").ZodString;
297
+ name: import("zod").ZodString;
298
+ color: import("zod").ZodString;
299
+ isExclusive: import("zod").ZodBoolean;
300
+ created_at: import("zod").ZodString;
301
+ updated_at: import("zod").ZodString;
302
+ }, "id" | "color" | "isExclusive">, "strip", import("zod").ZodTypeAny, {
303
+ id: string;
304
+ color: string;
305
+ isExclusive: boolean;
306
+ }, {
307
+ id: string;
308
+ color: string;
309
+ isExclusive: boolean;
310
+ }>;
311
+ }>, "strip", import("zod").ZodTypeAny, {
312
+ id: string;
313
+ name: string;
314
+ grupo: {
315
+ id: string;
316
+ color: string;
317
+ isExclusive: boolean;
318
+ };
319
+ }, {
320
+ id: string;
321
+ name: string;
322
+ grupo: {
323
+ id: string;
324
+ color: string;
325
+ isExclusive: boolean;
326
+ };
327
+ }>;
328
+ active: import("zod").ZodBoolean;
329
+ }, "strip", import("zod").ZodTypeAny, {
330
+ etiquetas: {
331
+ id: string;
332
+ name: string;
333
+ grupo: {
334
+ id: string;
335
+ color: string;
336
+ isExclusive: boolean;
337
+ };
338
+ };
339
+ active: boolean;
340
+ }, {
341
+ etiquetas: {
342
+ id: string;
343
+ name: string;
344
+ grupo: {
345
+ id: string;
346
+ color: string;
347
+ isExclusive: boolean;
348
+ };
349
+ };
350
+ active: boolean;
351
+ }>;
352
+ filtroBaseActivo: import("zod").ZodDefault<import("zod").ZodBoolean>;
353
+ fcmToken: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString, "many">>;
354
+ }, "created_at" | "updated_at" | "password" | "filtroBase">, "strip", import("zod").ZodTypeAny, {
355
+ id: string;
356
+ username: string;
357
+ isAdmin: boolean;
358
+ filtroBaseActivo: boolean;
359
+ fcmToken: string[];
360
+ }, {
361
+ id: string;
362
+ username: string;
363
+ isAdmin?: boolean | undefined;
364
+ filtroBaseActivo?: boolean | undefined;
365
+ fcmToken?: string[] | undefined;
366
+ }>>;
367
+ export declare class CreateCuentaResponseDto extends CreateCuentaResponseDto_base {
368
+ }
369
+ export {};
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateCuentaResponseDto = exports.createCuentaResponseSchema = exports.CreateCuentaDto = exports.createCuentaSchema = void 0;
4
+ const cuenta_dto_1 = require("./cuenta.dto");
5
+ const zod_nestjs_1 = require("@anatine/zod-nestjs");
6
+ exports.createCuentaSchema = cuenta_dto_1.cuentaSchema.pick({
7
+ username: true,
8
+ password: true,
9
+ isAdmin: true,
10
+ });
11
+ class CreateCuentaDto extends (0, zod_nestjs_1.createZodDto)(exports.createCuentaSchema) {
12
+ }
13
+ exports.CreateCuentaDto = CreateCuentaDto;
14
+ exports.createCuentaResponseSchema = cuenta_dto_1.cuentaSchema.omit({
15
+ password: true,
16
+ filtroBase: true,
17
+ created_at: true,
18
+ updated_at: true,
19
+ });
20
+ class CreateCuentaResponseDto extends (0, zod_nestjs_1.createZodDto)(exports.createCuentaResponseSchema) {
21
+ }
22
+ exports.CreateCuentaResponseDto = CreateCuentaResponseDto;
23
+ //# sourceMappingURL=createCuenta.dto.js.map
@@ -0,0 +1,154 @@
1
+ import z from 'zod';
2
+ export declare const getFiltroBaseResponse: z.ZodObject<{
3
+ active: z.ZodBoolean;
4
+ filtroBase: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<Pick<{
5
+ id: z.ZodString;
6
+ name: z.ZodString;
7
+ groupId: z.ZodString;
8
+ type: z.ZodNativeEnum<{
9
+ PERSONAL: "PERSONAL";
10
+ EVENTO: "EVENTO";
11
+ MODELO: "MODELO";
12
+ TENTATIVA: "TENTATIVA";
13
+ }>;
14
+ created_at: z.ZodString;
15
+ updated_at: z.ZodString;
16
+ }, "id" | "name" | "type">, {
17
+ grupo: z.ZodObject<Pick<{
18
+ id: z.ZodString;
19
+ name: z.ZodString;
20
+ color: z.ZodString;
21
+ isExclusive: z.ZodBoolean;
22
+ created_at: z.ZodString;
23
+ updated_at: z.ZodString;
24
+ }, "id" | "color" | "isExclusive">, "strip", z.ZodTypeAny, {
25
+ id: string;
26
+ color: string;
27
+ isExclusive: boolean;
28
+ }, {
29
+ id: string;
30
+ color: string;
31
+ isExclusive: boolean;
32
+ }>;
33
+ }>, "strip", z.ZodTypeAny, {
34
+ id: string;
35
+ name: string;
36
+ type: "PERSONAL" | "EVENTO" | "MODELO" | "TENTATIVA";
37
+ grupo: {
38
+ id: string;
39
+ color: string;
40
+ isExclusive: boolean;
41
+ };
42
+ }, {
43
+ id: string;
44
+ name: string;
45
+ type: "PERSONAL" | "EVENTO" | "MODELO" | "TENTATIVA";
46
+ grupo: {
47
+ id: string;
48
+ color: string;
49
+ isExclusive: boolean;
50
+ };
51
+ }>, "many">;
52
+ }, "strip", z.ZodTypeAny, {
53
+ filtroBase: {
54
+ id: string;
55
+ name: string;
56
+ type: "PERSONAL" | "EVENTO" | "MODELO" | "TENTATIVA";
57
+ grupo: {
58
+ id: string;
59
+ color: string;
60
+ isExclusive: boolean;
61
+ };
62
+ }[];
63
+ active: boolean;
64
+ }, {
65
+ filtroBase: {
66
+ id: string;
67
+ name: string;
68
+ type: "PERSONAL" | "EVENTO" | "MODELO" | "TENTATIVA";
69
+ grupo: {
70
+ id: string;
71
+ color: string;
72
+ isExclusive: boolean;
73
+ };
74
+ }[];
75
+ active: boolean;
76
+ }>;
77
+ declare const GetFiltroBaseResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
78
+ active: z.ZodBoolean;
79
+ filtroBase: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<Pick<{
80
+ id: z.ZodString;
81
+ name: z.ZodString;
82
+ groupId: z.ZodString;
83
+ type: z.ZodNativeEnum<{
84
+ PERSONAL: "PERSONAL";
85
+ EVENTO: "EVENTO";
86
+ MODELO: "MODELO";
87
+ TENTATIVA: "TENTATIVA";
88
+ }>;
89
+ created_at: z.ZodString;
90
+ updated_at: z.ZodString;
91
+ }, "id" | "name" | "type">, {
92
+ grupo: z.ZodObject<Pick<{
93
+ id: z.ZodString;
94
+ name: z.ZodString;
95
+ color: z.ZodString;
96
+ isExclusive: z.ZodBoolean;
97
+ created_at: z.ZodString;
98
+ updated_at: z.ZodString;
99
+ }, "id" | "color" | "isExclusive">, "strip", z.ZodTypeAny, {
100
+ id: string;
101
+ color: string;
102
+ isExclusive: boolean;
103
+ }, {
104
+ id: string;
105
+ color: string;
106
+ isExclusive: boolean;
107
+ }>;
108
+ }>, "strip", z.ZodTypeAny, {
109
+ id: string;
110
+ name: string;
111
+ type: "PERSONAL" | "EVENTO" | "MODELO" | "TENTATIVA";
112
+ grupo: {
113
+ id: string;
114
+ color: string;
115
+ isExclusive: boolean;
116
+ };
117
+ }, {
118
+ id: string;
119
+ name: string;
120
+ type: "PERSONAL" | "EVENTO" | "MODELO" | "TENTATIVA";
121
+ grupo: {
122
+ id: string;
123
+ color: string;
124
+ isExclusive: boolean;
125
+ };
126
+ }>, "many">;
127
+ }, "strip", z.ZodTypeAny, {
128
+ filtroBase: {
129
+ id: string;
130
+ name: string;
131
+ type: "PERSONAL" | "EVENTO" | "MODELO" | "TENTATIVA";
132
+ grupo: {
133
+ id: string;
134
+ color: string;
135
+ isExclusive: boolean;
136
+ };
137
+ }[];
138
+ active: boolean;
139
+ }, {
140
+ filtroBase: {
141
+ id: string;
142
+ name: string;
143
+ type: "PERSONAL" | "EVENTO" | "MODELO" | "TENTATIVA";
144
+ grupo: {
145
+ id: string;
146
+ color: string;
147
+ isExclusive: boolean;
148
+ };
149
+ }[];
150
+ active: boolean;
151
+ }>>;
152
+ export declare class GetFiltroBaseResponseDto extends GetFiltroBaseResponseDto_base {
153
+ }
154
+ export {};
@@ -0,0 +1,29 @@
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.GetFiltroBaseResponseDto = exports.getFiltroBaseResponse = void 0;
7
+ const exports_1 = require("../../exports");
8
+ const zod_nestjs_1 = require("@anatine/zod-nestjs");
9
+ const zod_1 = __importDefault(require("zod"));
10
+ exports.getFiltroBaseResponse = zod_1.default.object({
11
+ active: zod_1.default.boolean(),
12
+ filtroBase: zod_1.default.array(exports_1.etiquetaSchema
13
+ .pick({
14
+ id: true,
15
+ name: true,
16
+ type: true,
17
+ })
18
+ .merge(zod_1.default.object({
19
+ grupo: exports_1.grupoEtiquetaSchema.pick({
20
+ id: true,
21
+ color: true,
22
+ isExclusive: true,
23
+ }),
24
+ }))),
25
+ });
26
+ class GetFiltroBaseResponseDto extends (0, zod_nestjs_1.createZodDto)(exports.getFiltroBaseResponse) {
27
+ }
28
+ exports.GetFiltroBaseResponseDto = GetFiltroBaseResponseDto;
29
+ //# sourceMappingURL=getFiltroBase.dto.js.map