expo-backend-types 0.14.0 → 0.15.0-EXPO-244-EB-CSV.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,18 @@
1
+ import { z } from 'zod';
2
+ export declare const csvDownloadSchema: z.ZodObject<{
3
+ password: z.ZodString;
4
+ }, "strip", z.ZodTypeAny, {
5
+ password: string;
6
+ }, {
7
+ password: string;
8
+ }>;
9
+ declare const CsvDownloadDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
10
+ password: z.ZodString;
11
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
12
+ password: string;
13
+ }, {
14
+ password: string;
15
+ }>>;
16
+ export declare class CsvDownloadDto extends CsvDownloadDto_base {
17
+ }
18
+ export {};
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CsvDownloadDto = exports.csvDownloadSchema = void 0;
4
+ const translate_1 = require("../i18n/translate");
5
+ const create_zod_dto_without_date_1 = require("../shared/dto-modification/create-zod-dto-without-date");
6
+ const zod_1 = require("zod");
7
+ exports.csvDownloadSchema = zod_1.z.object({
8
+ password: zod_1.z
9
+ .string({
10
+ required_error: (0, translate_1.translate)('model.csv.password.required'),
11
+ })
12
+ .min(1, (0, translate_1.translate)('model.csv.password.empty')),
13
+ });
14
+ class CsvDownloadDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.csvDownloadSchema) {
15
+ }
16
+ exports.CsvDownloadDto = CsvDownloadDto;
17
+ //# sourceMappingURL=csv.dto.js.map
@@ -148,6 +148,12 @@ declare const _default: {
148
148
  readonly uuid: "El ID debe ser un UUID";
149
149
  };
150
150
  };
151
+ readonly csv: {
152
+ readonly password: {
153
+ readonly required: "La contraseña es obligatoria";
154
+ readonly empty: "La contraseña no puede estar vacía";
155
+ };
156
+ };
151
157
  };
152
158
  readonly route: {
153
159
  readonly auth: {
@@ -359,6 +365,7 @@ declare const _default: {
359
365
  readonly success: "Perfil actualizado con éxito";
360
366
  readonly 'not-found': "Perfil no encontrado";
361
367
  readonly conflict: "Error en la actualización del perfil";
368
+ readonly 'exclusive-tags': "Las etiquetas {{tag1}} y {{tag2}} son exclusivas del mismo grupo";
362
369
  };
363
370
  readonly 'find-by-date-range': {
364
371
  readonly success: "Perfiles obtenidos";
@@ -150,6 +150,12 @@ exports.default = {
150
150
  uuid: 'El ID debe ser un UUID',
151
151
  },
152
152
  },
153
+ csv: {
154
+ password: {
155
+ required: 'La contraseña es obligatoria',
156
+ empty: 'La contraseña no puede estar vacía',
157
+ },
158
+ },
153
159
  },
154
160
  route: {
155
161
  auth: {
@@ -361,6 +367,7 @@ exports.default = {
361
367
  success: 'Perfil actualizado con éxito',
362
368
  'not-found': 'Perfil no encontrado',
363
369
  conflict: 'Error en la actualización del perfil',
370
+ 'exclusive-tags': `Las etiquetas \{\{tag1\}\} y \{\{tag2\}\} son exclusivas del mismo grupo`,
364
371
  },
365
372
  'find-by-date-range': {
366
373
  success: 'Perfiles obtenidos',
@@ -1 +1 @@
1
- {"version":3,"file":"es.js","sourceRoot":"","sources":["../../../src/i18n/es.ts"],"names":[],"mappings":";;AAAA,kBAAe;IACb,MAAM,EAAE;QACN,KAAK,EAAE;YACL,OAAO,EAAE,QAAQ;YACjB,GAAG,EAAE,UAAU;YACf,QAAQ,EAAE,oBAAoB;YAC9B,KAAK,EAAE,QAAQ;YACf,WAAW,EAAE,oBAAoB;YACjC,OAAO,EAAE,YAAY;YACrB,OAAO,EAAE,QAAQ;YACjB,QAAQ,EAAE,WAAW;YACrB,cAAc,EAAE,oBAAoB;YACpC,OAAO,EAAE,SAAS;SACnB;QACD,GAAG,EAAE;YACH,QAAQ,EAAE,SAAS;YACnB,SAAS,EAAE,qBAAqB;SACjC;QACD,QAAQ,EAAE,+FAA+F;QACzG,WAAW,EAAE,oGAAoG;KAClH;IACD,KAAK,EAAE;QACL,OAAO,EAAE;YACP,EAAE,EAAE;gBACF,IAAI,EAAE,wBAAwB;aAC/B;YACD,OAAO,EAA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mBAAmB;aAC7B;SACF;KACF;CACO,CAAC"}
@@ -3,21 +3,31 @@ export declare const findAllCountriesResponseSchema: z.ZodObject<{
3
3
  countries: z.ZodArray<z.ZodObject<{
4
4
  name: z.ZodString;
5
5
  isoCode: z.ZodString;
6
+ latitude: z.ZodNumber;
7
+ longitude: z.ZodNumber;
6
8
  }, "strip", z.ZodTypeAny, {
7
9
  name: string;
10
+ latitude: number;
11
+ longitude: number;
8
12
  isoCode: string;
9
13
  }, {
10
14
  name: string;
15
+ latitude: number;
16
+ longitude: number;
11
17
  isoCode: string;
12
18
  }>, "many">;
13
19
  }, "strip", z.ZodTypeAny, {
14
20
  countries: {
15
21
  name: string;
22
+ latitude: number;
23
+ longitude: number;
16
24
  isoCode: string;
17
25
  }[];
18
26
  }, {
19
27
  countries: {
20
28
  name: string;
29
+ latitude: number;
30
+ longitude: number;
21
31
  isoCode: string;
22
32
  }[];
23
33
  }>;
@@ -25,21 +35,31 @@ declare const FindAllCountriesResponseDto_base: import("@anatine/zod-nestjs").Zo
25
35
  countries: z.ZodArray<z.ZodObject<{
26
36
  name: z.ZodString;
27
37
  isoCode: z.ZodString;
38
+ latitude: z.ZodNumber;
39
+ longitude: z.ZodNumber;
28
40
  }, z.UnknownKeysParam, z.ZodTypeAny, {
29
41
  name: string;
42
+ latitude: number;
43
+ longitude: number;
30
44
  isoCode: string;
31
45
  }, {
32
46
  name: string;
47
+ latitude: number;
48
+ longitude: number;
33
49
  isoCode: string;
34
50
  }>, "many">;
35
51
  }, z.UnknownKeysParam, z.ZodTypeAny, {
36
52
  countries: {
37
53
  name: string;
54
+ latitude: number;
55
+ longitude: number;
38
56
  isoCode: string;
39
57
  }[];
40
58
  }, {
41
59
  countries: {
42
60
  name: string;
61
+ latitude: number;
62
+ longitude: number;
43
63
  isoCode: string;
44
64
  }[];
45
65
  }>>;
@@ -10,6 +10,8 @@ exports.findAllCountriesResponseSchema = zod_1.default.object({
10
10
  countries: zod_1.default.array(zod_1.default.object({
11
11
  name: zod_1.default.string(),
12
12
  isoCode: zod_1.default.string(),
13
+ latitude: zod_1.default.number(),
14
+ longitude: zod_1.default.number(),
13
15
  })),
14
16
  });
15
17
  class FindAllCountriesResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.findAllCountriesResponseSchema) {
@@ -54,7 +54,7 @@ exports.profileSchema = zod_1.default.object({
54
54
  birthLocationId: zod_1.default.string().uuid().nullable(),
55
55
  residenceLocationId: zod_1.default.string().uuid().nullable(),
56
56
  isInTrash: zod_1.default.boolean(),
57
- movedToTrashDate: zod_1.default.date().nullable(),
57
+ movedToTrashDate: zod_1.default.coerce.date().nullable(),
58
58
  created_at: zod_1.default.date(),
59
59
  updated_at: zod_1.default.date(),
60
60
  });
@@ -1,25 +1,18 @@
1
1
  import z from 'zod';
2
- export declare const updateProfileSchema: z.ZodObject<z.objectUtil.extendShape<Pick<{
3
- id: z.ZodString;
4
- shortId: z.ZodNumber;
5
- phoneNumber: z.ZodEffects<z.ZodString, string, string>;
6
- secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
7
- fullName: z.ZodString;
8
- firstName: z.ZodNullable<z.ZodString>;
9
- gender: z.ZodNullable<z.ZodString>;
10
- birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>;
11
- profilePictureUrl: z.ZodNullable<z.ZodString>;
12
- instagram: z.ZodNullable<z.ZodString>;
13
- mail: z.ZodNullable<z.ZodString>;
14
- dni: z.ZodNullable<z.ZodString>;
15
- alternativeNames: z.ZodArray<z.ZodString, "many">;
16
- birthLocationId: z.ZodNullable<z.ZodString>;
17
- residenceLocationId: z.ZodNullable<z.ZodString>;
18
- isInTrash: z.ZodBoolean;
19
- movedToTrashDate: z.ZodNullable<z.ZodDate>;
20
- created_at: z.ZodDate;
21
- updated_at: z.ZodDate;
22
- }, "phoneNumber" | "secondaryPhoneNumber" | "fullName" | "profilePictureUrl" | "gender" | "birthDate" | "instagram" | "mail" | "dni" | "alternativeNames" | "isInTrash" | "movedToTrashDate">, {
2
+ export declare const updateProfileSchema: z.ZodObject<z.objectUtil.extendShape<{
3
+ phoneNumber: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
4
+ secondaryPhoneNumber: z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>>;
5
+ fullName: z.ZodOptional<z.ZodString>;
6
+ profilePictureUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
+ gender: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8
+ birthDate: z.ZodOptional<z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>>;
9
+ instagram: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ mail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ dni: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ alternativeNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
13
+ isInTrash: z.ZodOptional<z.ZodBoolean>;
14
+ movedToTrashDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
15
+ }, {
23
16
  residence: z.ZodOptional<z.ZodObject<Pick<{
24
17
  id: z.ZodString;
25
18
  latitude: z.ZodNumber;
@@ -66,19 +59,19 @@ export declare const updateProfileSchema: z.ZodObject<z.objectUtil.extendShape<P
66
59
  }>>;
67
60
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
68
61
  }>, "strip", z.ZodTypeAny, {
69
- phoneNumber: string;
70
- secondaryPhoneNumber: string | null;
71
- fullName: string;
72
- profilePictureUrl: string | null;
73
- gender: string | null;
74
- birthDate: Date | null;
75
- instagram: string | null;
76
- mail: string | null;
77
- dni: string | null;
78
- alternativeNames: string[];
79
- isInTrash: boolean;
80
- movedToTrashDate: Date | null;
62
+ phoneNumber?: string | undefined;
63
+ secondaryPhoneNumber?: string | null | undefined;
64
+ fullName?: string | undefined;
65
+ profilePictureUrl?: string | null | undefined;
81
66
  tags?: string[] | undefined;
67
+ gender?: string | null | undefined;
68
+ birthDate?: Date | null | undefined;
69
+ instagram?: string | null | undefined;
70
+ mail?: string | null | undefined;
71
+ dni?: string | null | undefined;
72
+ alternativeNames?: string[] | undefined;
73
+ isInTrash?: boolean | undefined;
74
+ movedToTrashDate?: Date | null | undefined;
82
75
  residence?: {
83
76
  latitude: number;
84
77
  longitude: number;
@@ -94,19 +87,19 @@ export declare const updateProfileSchema: z.ZodObject<z.objectUtil.extendShape<P
94
87
  city: string;
95
88
  } | undefined;
96
89
  }, {
97
- phoneNumber: string;
98
- secondaryPhoneNumber: string | null;
99
- fullName: string;
100
- profilePictureUrl: string | null;
101
- gender: string | null;
102
- birthDate: string | null;
103
- instagram: string | null;
104
- mail: string | null;
105
- dni: string | null;
106
- alternativeNames: string[];
107
- isInTrash: boolean;
108
- movedToTrashDate: Date | null;
90
+ phoneNumber?: string | undefined;
91
+ secondaryPhoneNumber?: string | null | undefined;
92
+ fullName?: string | undefined;
93
+ profilePictureUrl?: string | null | undefined;
109
94
  tags?: string[] | undefined;
95
+ gender?: string | null | undefined;
96
+ birthDate?: string | null | undefined;
97
+ instagram?: string | null | undefined;
98
+ mail?: string | null | undefined;
99
+ dni?: string | null | undefined;
100
+ alternativeNames?: string[] | undefined;
101
+ isInTrash?: boolean | undefined;
102
+ movedToTrashDate?: Date | null | undefined;
110
103
  residence?: {
111
104
  latitude: number;
112
105
  longitude: number;
@@ -123,18 +116,18 @@ export declare const updateProfileSchema: z.ZodObject<z.objectUtil.extendShape<P
123
116
  } | undefined;
124
117
  }>;
125
118
  declare const UpdateProfileDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
126
- phoneNumber: z.ZodEffects<z.ZodString, string, string>;
127
- secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
128
- fullName: z.ZodString;
129
- profilePictureUrl: z.ZodNullable<z.ZodString>;
130
- gender: z.ZodNullable<z.ZodString>;
131
- birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>;
132
- instagram: z.ZodNullable<z.ZodString>;
133
- mail: z.ZodNullable<z.ZodString>;
134
- dni: z.ZodNullable<z.ZodString>;
135
- alternativeNames: z.ZodArray<z.ZodString, "many">;
136
- isInTrash: z.ZodBoolean;
137
- movedToTrashDate: z.ZodNullable<z.ZodString>;
119
+ phoneNumber: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
120
+ secondaryPhoneNumber: z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>>;
121
+ fullName: z.ZodOptional<z.ZodString>;
122
+ profilePictureUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
123
+ gender: z.ZodOptional<z.ZodNullable<z.ZodString>>;
124
+ birthDate: z.ZodOptional<z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>>;
125
+ instagram: z.ZodOptional<z.ZodNullable<z.ZodString>>;
126
+ mail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
127
+ dni: z.ZodOptional<z.ZodNullable<z.ZodString>>;
128
+ alternativeNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
129
+ isInTrash: z.ZodOptional<z.ZodBoolean>;
130
+ movedToTrashDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
138
131
  residence: z.ZodOptional<z.ZodObject<{
139
132
  latitude: z.ZodNumber;
140
133
  longitude: z.ZodNumber;
@@ -175,19 +168,19 @@ declare const UpdateProfileDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
175
168
  }>>;
176
169
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
177
170
  }, z.UnknownKeysParam, z.ZodTypeAny, {
178
- phoneNumber: string;
179
- secondaryPhoneNumber: string | null;
180
- fullName: string;
181
- profilePictureUrl: string | null;
182
- gender: string | null;
183
- birthDate: Date | null;
184
- instagram: string | null;
185
- mail: string | null;
186
- dni: string | null;
187
- alternativeNames: string[];
188
- isInTrash: boolean;
189
- movedToTrashDate: string | null;
171
+ phoneNumber?: string | undefined;
172
+ secondaryPhoneNumber?: string | null | undefined;
173
+ fullName?: string | undefined;
174
+ profilePictureUrl?: string | null | undefined;
190
175
  tags?: string[] | undefined;
176
+ gender?: string | null | undefined;
177
+ birthDate?: Date | null | undefined;
178
+ instagram?: string | null | undefined;
179
+ mail?: string | null | undefined;
180
+ dni?: string | null | undefined;
181
+ alternativeNames?: string[] | undefined;
182
+ isInTrash?: boolean | undefined;
183
+ movedToTrashDate?: string | null | undefined;
191
184
  residence?: {
192
185
  latitude: number;
193
186
  longitude: number;
@@ -203,19 +196,19 @@ declare const UpdateProfileDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
203
196
  city: string;
204
197
  } | undefined;
205
198
  }, {
206
- phoneNumber: string;
207
- secondaryPhoneNumber: string | null;
208
- fullName: string;
209
- profilePictureUrl: string | null;
210
- gender: string | null;
211
- birthDate: string | null;
212
- instagram: string | null;
213
- mail: string | null;
214
- dni: string | null;
215
- alternativeNames: string[];
216
- isInTrash: boolean;
217
- movedToTrashDate: string | null;
199
+ phoneNumber?: string | undefined;
200
+ secondaryPhoneNumber?: string | null | undefined;
201
+ fullName?: string | undefined;
202
+ profilePictureUrl?: string | null | undefined;
218
203
  tags?: string[] | undefined;
204
+ gender?: string | null | undefined;
205
+ birthDate?: string | null | undefined;
206
+ instagram?: string | null | undefined;
207
+ mail?: string | null | undefined;
208
+ dni?: string | null | undefined;
209
+ alternativeNames?: string[] | undefined;
210
+ isInTrash?: boolean | undefined;
211
+ movedToTrashDate?: string | null | undefined;
219
212
  residence?: {
220
213
  latitude: number;
221
214
  longitude: number;
@@ -24,6 +24,7 @@ exports.updateProfileSchema = profile_dto_1.profileSchema
24
24
  isInTrash: true,
25
25
  movedToTrashDate: true,
26
26
  })
27
+ .partial()
27
28
  .merge(zod_1.default.object({
28
29
  residence: location_dto_1.locationSchema
29
30
  .pick({
@@ -1118,6 +1118,8 @@ export interface components {
1118
1118
  countries: {
1119
1119
  name: string;
1120
1120
  isoCode: string;
1121
+ latitude: number;
1122
+ longitude: number;
1121
1123
  }[];
1122
1124
  };
1123
1125
  FindAllStatesByCountryResponseDto: {
@@ -1775,18 +1777,18 @@ export interface components {
1775
1777
  updated_at: string;
1776
1778
  };
1777
1779
  UpdateProfileDto: {
1778
- alternativeNames: string[];
1779
- birthDate: string | null;
1780
- dni: string | null;
1781
- fullName: string;
1782
- gender: string | null;
1783
- instagram: string | null;
1784
- mail: string | null;
1785
- phoneNumber: string;
1786
- profilePictureUrl: string | null;
1787
- secondaryPhoneNumber: string | null;
1788
- isInTrash: boolean;
1789
- movedToTrashDate: string | null;
1780
+ alternativeNames?: string[];
1781
+ birthDate?: string | null;
1782
+ dni?: string | null;
1783
+ fullName?: string;
1784
+ gender?: string | null;
1785
+ instagram?: string | null;
1786
+ mail?: string | null;
1787
+ phoneNumber?: string;
1788
+ profilePictureUrl?: string | null;
1789
+ secondaryPhoneNumber?: string | null;
1790
+ isInTrash?: boolean;
1791
+ movedToTrashDate?: string | null;
1790
1792
  residence?: {
1791
1793
  city: string;
1792
1794
  country: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-backend-types",
3
- "version": "0.14.0",
3
+ "version": "0.15.0-EXPO-244-EB-CSV.2",
4
4
  "description": "",
5
5
  "author": "Expo",
6
6
  "private": false,