expo-backend-types 0.32.0-EXPO-308-auth.1 → 0.32.0-EXPO-315-Marcelo-Tinelli.2

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.
Files changed (113) hide show
  1. package/dist/src/exports.d.ts +2 -3
  2. package/dist/src/exports.js +2 -3
  3. package/dist/src/i18n/es.d.ts +64 -20
  4. package/dist/src/i18n/es.js +64 -20
  5. package/dist/src/i18n/es.js.map +1 -1
  6. package/dist/src/location/dto/find-all-location.dto.js +2 -2
  7. package/dist/src/{schema/location.schema.js → location/dto/location.dto.js} +2 -2
  8. package/dist/src/location/exports.d.ts +1 -0
  9. package/dist/src/location/exports.js +1 -0
  10. package/dist/src/message/dto/non-read-messages.dto.d.ts +2 -2
  11. package/dist/src/message/dto/non-read-messages.dto.js +2 -2
  12. package/dist/src/message/dto/send-message-to-phone.dto.d.ts +2 -2
  13. package/dist/src/message/dto/send-message-to-phone.dto.js +2 -2
  14. package/dist/src/message/dto/template.dto.d.ts +2 -2
  15. package/dist/src/profile/dto/create-profile.dto.d.ts +14 -48
  16. package/dist/src/profile/dto/create-profile.dto.js +7 -9
  17. package/dist/src/profile/dto/delete-profile.dto.d.ts +6 -30
  18. package/dist/src/profile/dto/delete-profile.dto.js +2 -2
  19. package/dist/src/profile/dto/find-all-profile.dto.d.ts +7 -47
  20. package/dist/src/profile/dto/find-all-profile.dto.js +2 -2
  21. package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +11 -75
  22. package/dist/src/profile/dto/find-by-date-range-profile.dto.js +3 -3
  23. package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +13 -32
  24. package/dist/src/profile/dto/find-by-id-profile.dto.js +5 -7
  25. package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +6 -30
  26. package/dist/src/profile/dto/find-by-phone-number.dto.js +2 -2
  27. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +7 -47
  28. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.js +2 -2
  29. package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +7 -47
  30. package/dist/src/profile/dto/find-by-tags-profile.dto.js +2 -2
  31. package/dist/src/profile/dto/find-trash.dto.d.ts +3 -7
  32. package/dist/src/profile/dto/find-trash.dto.js +2 -2
  33. package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +7 -47
  34. package/dist/src/profile/dto/find-with-active-chat.dto.js +2 -2
  35. package/dist/src/profile/dto/profile.dto.d.ts +30 -44
  36. package/dist/src/profile/dto/profile.dto.js +63 -6
  37. package/dist/src/profile/dto/update-profile.dto.d.ts +12 -54
  38. package/dist/src/profile/dto/update-profile.dto.js +6 -9
  39. package/dist/src/shared/dto-modification/zod-without-dates.d.ts +4 -2
  40. package/dist/src/shared/dto-modification/zod-without-dates.js +0 -8
  41. package/dist/src/shared/dto-modification/zod-without-dates.js.map +1 -1
  42. package/dist/src/tag/dto/massive-allocation.dto.d.ts +7 -47
  43. package/dist/src/tag/dto/massive-allocation.dto.js +3 -3
  44. package/dist/src/tag/dto/massive-deallocation.dto.d.ts +7 -47
  45. package/dist/src/tag/dto/massive-deallocation.dto.js +3 -3
  46. package/dist/src/ticket/dto/create-ticket.dto.d.ts +134 -0
  47. package/dist/src/ticket/dto/create-ticket.dto.js +20 -0
  48. package/dist/src/ticket/dto/delete-ticket.dto.d.ts +75 -0
  49. package/dist/src/ticket/dto/delete-ticket.dto.js +10 -0
  50. package/dist/src/ticket/dto/find-all-tickets.dto.d.ts +198 -0
  51. package/dist/src/ticket/dto/find-all-tickets.dto.js +23 -0
  52. package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +198 -0
  53. package/dist/src/ticket/dto/find-by-event-ticket.dto.js +23 -0
  54. package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +198 -0
  55. package/dist/src/ticket/dto/find-by-id-ticket.dto.js +20 -0
  56. package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +198 -0
  57. package/dist/src/ticket/dto/find-by-mail-ticket.dto.js +23 -0
  58. package/dist/src/ticket/dto/find-ticket.dto.d.ts +75 -0
  59. package/dist/src/ticket/dto/find-ticket.dto.js +10 -0
  60. package/dist/src/ticket/dto/generate-pdf.dto.d.ts +7 -0
  61. package/dist/src/ticket/dto/generate-pdf.dto.js +13 -0
  62. package/dist/src/ticket/dto/ticket.dto.d.ts +76 -0
  63. package/dist/src/ticket/dto/ticket.dto.js +29 -0
  64. package/dist/src/ticket/dto/update-ticket.dto.d.ts +125 -0
  65. package/dist/src/ticket/dto/update-ticket.dto.js +21 -0
  66. package/dist/src/ticket/exports.d.ts +10 -0
  67. package/dist/src/{otp → ticket}/exports.js +10 -2
  68. package/dist/types/prisma-schema/edge.js +48 -38
  69. package/dist/types/prisma-schema/index-browser.js +33 -18
  70. package/dist/types/prisma-schema/index.d.ts +4312 -5988
  71. package/dist/types/prisma-schema/index.js +48 -38
  72. package/dist/types/prisma-schema/libquery_engine-debian-openssl-3.0.x.so.node +0 -0
  73. package/dist/types/prisma-schema/package.json +2 -8
  74. package/dist/types/prisma-schema/runtime/edge-esm.js +18 -18
  75. package/dist/types/prisma-schema/runtime/edge.js +18 -18
  76. package/dist/types/prisma-schema/runtime/index-browser.d.ts +1 -3
  77. package/dist/types/prisma-schema/runtime/index-browser.js +3 -3
  78. package/dist/types/prisma-schema/runtime/library.d.ts +153 -205
  79. package/dist/types/prisma-schema/runtime/library.js +55 -55
  80. package/dist/types/prisma-schema/runtime/react-native.js +26 -26
  81. package/dist/types/prisma-schema/runtime/wasm.js +17 -17
  82. package/dist/types/prisma-schema/schema.prisma +33 -23
  83. package/dist/types/prisma-schema/wasm.js +33 -18
  84. package/dist/types/schema.d.ts +339 -313
  85. package/package.json +41 -32
  86. package/dist/src/image/constants.d.ts +0 -5
  87. package/dist/src/image/constants.js +0 -9
  88. package/dist/src/mi-expo/dto/get-me.dto.d.ts +0 -337
  89. package/dist/src/mi-expo/dto/get-me.dto.js +0 -16
  90. package/dist/src/mi-expo/dto/login-with-phone.dto.d.ts +0 -311
  91. package/dist/src/mi-expo/dto/login-with-phone.dto.js +0 -29
  92. package/dist/src/mi-expo/dto/login.dto.d.ts +0 -327
  93. package/dist/src/mi-expo/dto/login.dto.js +0 -31
  94. package/dist/src/mi-expo/dto/update-me.dto.d.ts +0 -352
  95. package/dist/src/mi-expo/dto/update-me.dto.js +0 -31
  96. package/dist/src/mi-expo/exports.d.ts +0 -4
  97. package/dist/src/mi-expo/exports.js +0 -21
  98. package/dist/src/otp/constants.d.ts +0 -2
  99. package/dist/src/otp/constants.js +0 -6
  100. package/dist/src/otp/dto/send-otp.dto.d.ts +0 -158
  101. package/dist/src/otp/dto/send-otp.dto.js +0 -35
  102. package/dist/src/otp/dto/verify-otp.dto.d.ts +0 -455
  103. package/dist/src/otp/dto/verify-otp.dto.js +0 -46
  104. package/dist/src/otp/exports.d.ts +0 -2
  105. package/dist/src/prisma/constants.d.ts +0 -1
  106. package/dist/src/prisma/constants.js +0 -5
  107. package/dist/src/schema/exports.d.ts +0 -2
  108. package/dist/src/schema/exports.js +0 -19
  109. package/dist/src/schema/profile.schema.d.ts +0 -74
  110. package/dist/src/schema/profile.schema.js +0 -133
  111. package/dist/src/webhook/constants.d.ts +0 -1
  112. package/dist/src/webhook/constants.js +0 -5
  113. /package/dist/src/{schema/location.schema.d.ts → location/dto/location.dto.d.ts} +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-backend-types",
3
- "version": "0.32.0-EXPO-308-auth.1",
3
+ "version": "0.32.0-EXPO-315-Marcelo-Tinelli.2",
4
4
  "description": "",
5
5
  "author": "Expo",
6
6
  "private": false,
@@ -8,8 +8,6 @@
8
8
  "files": [
9
9
  "dist/types",
10
10
  "dist/src/**/*.dto.{js,d.ts,ts}",
11
- "dist/src/**/*.schema.{js,d.ts,ts}",
12
- "dist/src/**/constants.{js,d.ts,ts}",
13
11
  "dist/src/**/exports.{js,d.ts,ts}",
14
12
  "dist/src/shared/dto-modification",
15
13
  "dist/src/i18n"
@@ -20,14 +18,19 @@
20
18
  "postinstall": "patch-package",
21
19
  "format": "prettier --write \"src/**/*.ts\" \"types/**/*.ts\"",
22
20
  "check-format": "prettier --check \"src/**/*.ts\"",
23
- "check-exports": "attw --pack --profile node16 .",
21
+ "check-exports": "attw --pack .",
24
22
  "local-release": "changeset version && changeset publish",
25
23
  "commit-schema": "git add ./types/schema.d.ts swagger.yaml && git commit -m \"Update schema\"",
26
24
  "start": "npx prisma generate && npx nest start",
27
- "dev": "rm -r ./dist && npx prisma generate && nest start --watch",
25
+ "dev": "npx prisma generate && nest start --watch",
28
26
  "start:debug": "nest start --debug --watch",
29
27
  "start:prod": "node dist/src/main",
30
28
  "lint": "eslint \"{src,apps,libs,test,types}/**/*.ts\" --fix",
29
+ "test": "jest",
30
+ "test:watch": "jest --watch",
31
+ "test:cov": "jest --coverage",
32
+ "test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
33
+ "test:e2e": "jest --config ./test/jest-e2e.json",
31
34
  "generate-ts-schema": "npx ts-node -r tsconfig-paths/register src/main.swagger.ts && npx openapi-typescript ./swagger.yaml -o ./types/schema.ts",
32
35
  "prepare": "husky",
33
36
  "prepublishOnly": "npm run ci"
@@ -35,57 +38,67 @@
35
38
  "dependencies": {
36
39
  "@anatine/zod-nestjs": "^2.0.9",
37
40
  "@anatine/zod-openapi": "^2.2.6",
41
+ "@nestjs/common": "^10.0.0",
42
+ "@nestjs/config": "^3.2.3",
43
+ "@nestjs/core": "^10.0.0",
44
+ "@nestjs/jwt": "^10.2.0",
45
+ "@nestjs/platform-express": "^10.0.0",
46
+ "@nestjs/swagger": "^7.3.1",
47
+ "@pdfme/common": "^5.3.8",
48
+ "@pdfme/generator": "^5.3.8",
49
+ "@pdfme/schemas": "^5.3.8",
50
+ "@pdfme/ui": "^5.3.8",
51
+ "@prisma/client": "^5.22.0",
52
+ "bcrypt": "^5.1.1",
53
+ "body-parser": "^1.20.3",
54
+ "class-transformer": "^0.5.1",
55
+ "class-validator": "^0.14.1",
56
+ "country-state-city": "^3.2.1",
57
+ "date-fns": "^4.1.0",
58
+ "exceljs": "^4.4.0",
59
+ "fast-csv": "^5.0.2",
38
60
  "i18n-js": "^4.4.3",
61
+ "json-to-pretty-yaml": "^1.2.2",
62
+ "jszip": "^3.10.1",
63
+ "openapi3-ts": "^4.4.0",
39
64
  "patch-package": "^8.0.0",
65
+ "reflect-metadata": "^0.2.0",
66
+ "string-comparison": "^1.3.0",
40
67
  "zod": "^3.23.8"
41
68
  },
42
69
  "devDependencies": {
43
- "@arethetypeswrong/cli": "^0.17.3",
70
+ "@arethetypeswrong/cli": "^0.15.4",
44
71
  "@changesets/cli": "^2.27.7",
45
72
  "@nestjs/cli": "^10.0.0",
46
- "@nestjs/common": "^10.0.0",
47
- "@nestjs/config": "^3.2.3",
48
- "@nestjs/core": "^10.0.0",
49
- "@nestjs/jwt": "^10.2.0",
50
- "@nestjs/platform-express": "^10.0.0",
51
73
  "@nestjs/schematics": "^10.0.0",
52
- "@nestjs/swagger": "^7.3.1",
53
74
  "@nestjs/testing": "^10.0.0",
54
- "@prisma/client": "^6.4.1",
75
+ "@openapitools/openapi-generator-cli": "^2.13.4",
55
76
  "@types/bcrypt": "^5.0.2",
56
77
  "@types/express": "^4.17.17",
78
+ "@types/jest": "^29.5.2",
57
79
  "@types/json-to-pretty-yaml": "^1.2.1",
58
80
  "@types/luxon": "^3.4.2",
59
81
  "@types/multer": "^1.4.12",
60
82
  "@types/node": "^20.3.1",
83
+ "@types/supertest": "^6.0.0",
61
84
  "@typescript-eslint/eslint-plugin": "^8.8.0",
62
85
  "@typescript-eslint/parser": "^8.8.0",
63
- "bcrypt": "^5.1.1",
64
- "body-parser": "^1.20.3",
65
- "class-transformer": "^0.5.1",
66
- "class-validator": "^0.14.1",
67
- "country-state-city": "^3.2.1",
68
- "date-fns": "^4.1.0",
69
86
  "eslint": "^9.11.1",
70
87
  "eslint-config-prettier": "^9.0.0",
71
88
  "eslint-plugin-prettier": "^5.0.0",
72
89
  "eslint-plugin-unused-imports": "^4.1.4",
73
- "exceljs": "^4.4.0",
74
- "fast-csv": "^5.0.2",
75
90
  "globals": "^15.10.0",
76
91
  "husky": "^9.0.11",
77
- "json-to-pretty-yaml": "^1.2.2",
78
- "jszip": "^3.10.1",
92
+ "jest": "^29.5.0",
79
93
  "lint-staged": "^15.2.5",
80
94
  "luxon": "^3.5.0",
81
- "multer": "^1.4.5-lts.1",
82
95
  "openapi-typescript": "^7.0.0-rc.0",
83
- "openapi3-ts": "^4.4.0",
84
96
  "prettier": "^3.0.0",
85
- "prisma": "^6.3.1",
86
- "reflect-metadata": "^0.2.0",
97
+ "prisma": "^5.22.0",
87
98
  "source-map-support": "^0.5.21",
88
- "string-comparison": "^1.3.0",
99
+ "supertest": "^6.3.3",
100
+ "ts-jest": "^29.1.0",
101
+ "ts-loader": "^9.4.3",
89
102
  "ts-node": "^10.9.2",
90
103
  "tsconfig-paths": "^4.2.0",
91
104
  "typescript": "^5.4.5"
@@ -97,10 +110,6 @@
97
110
  "require": "./dist/types/index.js",
98
111
  "default": "./dist/types/index.js",
99
112
  "types": "./dist/types/index.d.ts"
100
- },
101
- "./schema": {
102
- "default": "./dist/src/schema/exports.js",
103
- "types": "./dist/src/schema/exports.d.ts"
104
113
  }
105
114
  },
106
115
  "lint-staged": {
@@ -1,5 +0,0 @@
1
- export declare const IMAGE_EXTENSIONS: {
2
- 'image/jpeg': string;
3
- 'image/png': string;
4
- 'image/webp': string;
5
- };
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.IMAGE_EXTENSIONS = void 0;
4
- exports.IMAGE_EXTENSIONS = {
5
- 'image/jpeg': 'jpg',
6
- 'image/png': 'png',
7
- 'image/webp': 'webp',
8
- };
9
- //# sourceMappingURL=constants.js.map
@@ -1,337 +0,0 @@
1
- export declare const getMiExpoMeResponseSchema: import("zod").ZodObject<import("zod").objectUtil.extendShape<Omit<{
2
- id: import("zod").ZodString;
3
- shortId: import("zod").ZodNumber;
4
- firstTimeMiExpo: import("zod").ZodBoolean;
5
- username: import("zod").ZodNullable<import("zod").ZodString>;
6
- password: import("zod").ZodNullable<import("zod").ZodString>;
7
- phoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
8
- isPhoneVerified: import("zod").ZodBoolean;
9
- secondaryPhoneNumber: import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
10
- fullName: import("zod").ZodString;
11
- firstName: import("zod").ZodNullable<import("zod").ZodString>;
12
- gender: import("zod").ZodNullable<import("zod").ZodString>;
13
- birthDate: import("zod").ZodNullable<import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodDate>>;
14
- profilePictureUrl: import("zod").ZodNullable<import("zod").ZodString>;
15
- instagram: import("zod").ZodNullable<import("zod").ZodString>;
16
- mail: import("zod").ZodNullable<import("zod").ZodString>;
17
- dni: import("zod").ZodNullable<import("zod").ZodString>;
18
- alternativeNames: import("zod").ZodArray<import("zod").ZodString, "many">;
19
- birthLocationId: import("zod").ZodNullable<import("zod").ZodString>;
20
- residenceLocationId: import("zod").ZodNullable<import("zod").ZodString>;
21
- isInTrash: import("zod").ZodBoolean;
22
- movedToTrashDate: import("zod").ZodNullable<import("zod").ZodDate>;
23
- created_at: import("zod").ZodDate;
24
- updated_at: import("zod").ZodDate;
25
- }, "password">, {
26
- residenceLocation: import("zod").ZodNullable<import("zod").ZodObject<{
27
- id: import("zod").ZodString;
28
- latitude: import("zod").ZodNumber;
29
- longitude: import("zod").ZodNumber;
30
- country: import("zod").ZodString;
31
- state: import("zod").ZodString;
32
- city: import("zod").ZodString;
33
- created_at: import("zod").ZodDate;
34
- updated_at: import("zod").ZodDate;
35
- }, "strip", import("zod").ZodTypeAny, {
36
- id: string;
37
- latitude: number;
38
- longitude: number;
39
- created_at: Date;
40
- updated_at: Date;
41
- state: string;
42
- country: string;
43
- city: string;
44
- }, {
45
- id: string;
46
- latitude: number;
47
- longitude: number;
48
- created_at: Date;
49
- updated_at: Date;
50
- state: string;
51
- country: string;
52
- city: string;
53
- }>>;
54
- birthLocation: import("zod").ZodNullable<import("zod").ZodObject<{
55
- id: import("zod").ZodString;
56
- latitude: import("zod").ZodNumber;
57
- longitude: import("zod").ZodNumber;
58
- country: import("zod").ZodString;
59
- state: import("zod").ZodString;
60
- city: import("zod").ZodString;
61
- created_at: import("zod").ZodDate;
62
- updated_at: import("zod").ZodDate;
63
- }, "strip", import("zod").ZodTypeAny, {
64
- id: string;
65
- latitude: number;
66
- longitude: number;
67
- created_at: Date;
68
- updated_at: Date;
69
- state: string;
70
- country: string;
71
- city: string;
72
- }, {
73
- id: string;
74
- latitude: number;
75
- longitude: number;
76
- created_at: Date;
77
- updated_at: Date;
78
- state: string;
79
- country: string;
80
- city: string;
81
- }>>;
82
- }>, "strip", import("zod").ZodTypeAny, {
83
- id: string;
84
- username: string | null;
85
- phoneNumber: string;
86
- secondaryPhoneNumber: string | null;
87
- fullName: string;
88
- profilePictureUrl: string | null;
89
- mail: string | null;
90
- created_at: Date;
91
- updated_at: Date;
92
- shortId: number;
93
- firstTimeMiExpo: boolean;
94
- isPhoneVerified: boolean;
95
- firstName: string | null;
96
- gender: string | null;
97
- birthDate: Date | null;
98
- instagram: string | null;
99
- dni: string | null;
100
- alternativeNames: string[];
101
- birthLocationId: string | null;
102
- residenceLocationId: string | null;
103
- isInTrash: boolean;
104
- movedToTrashDate: Date | null;
105
- birthLocation: {
106
- id: string;
107
- latitude: number;
108
- longitude: number;
109
- created_at: Date;
110
- updated_at: Date;
111
- state: string;
112
- country: string;
113
- city: string;
114
- } | null;
115
- residenceLocation: {
116
- id: string;
117
- latitude: number;
118
- longitude: number;
119
- created_at: Date;
120
- updated_at: Date;
121
- state: string;
122
- country: string;
123
- city: string;
124
- } | null;
125
- }, {
126
- id: string;
127
- username: string | null;
128
- phoneNumber: string;
129
- secondaryPhoneNumber: string | null;
130
- fullName: string;
131
- profilePictureUrl: string | null;
132
- mail: string | null;
133
- created_at: Date;
134
- updated_at: Date;
135
- shortId: number;
136
- firstTimeMiExpo: boolean;
137
- isPhoneVerified: boolean;
138
- firstName: string | null;
139
- gender: string | null;
140
- birthDate: string | null;
141
- instagram: string | null;
142
- dni: string | null;
143
- alternativeNames: string[];
144
- birthLocationId: string | null;
145
- residenceLocationId: string | null;
146
- isInTrash: boolean;
147
- movedToTrashDate: Date | null;
148
- birthLocation: {
149
- id: string;
150
- latitude: number;
151
- longitude: number;
152
- created_at: Date;
153
- updated_at: Date;
154
- state: string;
155
- country: string;
156
- city: string;
157
- } | null;
158
- residenceLocation: {
159
- id: string;
160
- latitude: number;
161
- longitude: number;
162
- created_at: Date;
163
- updated_at: Date;
164
- state: string;
165
- country: string;
166
- city: string;
167
- } | null;
168
- }>;
169
- declare const GetMiExpoMeResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
170
- id: import("zod").ZodString;
171
- username: import("zod").ZodNullable<import("zod").ZodString>;
172
- phoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
173
- secondaryPhoneNumber: import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>>;
174
- fullName: import("zod").ZodString;
175
- profilePictureUrl: import("zod").ZodNullable<import("zod").ZodString>;
176
- mail: import("zod").ZodNullable<import("zod").ZodString>;
177
- created_at: import("zod").ZodString;
178
- updated_at: import("zod").ZodString;
179
- shortId: import("zod").ZodNumber;
180
- firstTimeMiExpo: import("zod").ZodBoolean;
181
- isPhoneVerified: import("zod").ZodBoolean;
182
- firstName: import("zod").ZodNullable<import("zod").ZodString>;
183
- gender: import("zod").ZodNullable<import("zod").ZodString>;
184
- birthDate: import("zod").ZodNullable<import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodString>>;
185
- instagram: import("zod").ZodNullable<import("zod").ZodString>;
186
- dni: import("zod").ZodNullable<import("zod").ZodString>;
187
- alternativeNames: import("zod").ZodArray<import("zod").ZodString, "many">;
188
- birthLocationId: import("zod").ZodNullable<import("zod").ZodString>;
189
- residenceLocationId: import("zod").ZodNullable<import("zod").ZodString>;
190
- isInTrash: import("zod").ZodBoolean;
191
- movedToTrashDate: import("zod").ZodNullable<import("zod").ZodString>;
192
- residenceLocation: import("zod").ZodNullable<import("zod").ZodObject<{
193
- id: import("zod").ZodString;
194
- latitude: import("zod").ZodNumber;
195
- longitude: import("zod").ZodNumber;
196
- country: import("zod").ZodString;
197
- state: import("zod").ZodString;
198
- city: import("zod").ZodString;
199
- created_at: import("zod").ZodString;
200
- updated_at: import("zod").ZodString;
201
- }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
202
- id: string;
203
- latitude: number;
204
- longitude: number;
205
- created_at: string;
206
- updated_at: string;
207
- state: string;
208
- country: string;
209
- city: string;
210
- }, {
211
- id: string;
212
- latitude: number;
213
- longitude: number;
214
- created_at: string;
215
- updated_at: string;
216
- state: string;
217
- country: string;
218
- city: string;
219
- }>>;
220
- birthLocation: import("zod").ZodNullable<import("zod").ZodObject<{
221
- id: import("zod").ZodString;
222
- latitude: import("zod").ZodNumber;
223
- longitude: import("zod").ZodNumber;
224
- country: import("zod").ZodString;
225
- state: import("zod").ZodString;
226
- city: import("zod").ZodString;
227
- created_at: import("zod").ZodString;
228
- updated_at: import("zod").ZodString;
229
- }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
230
- id: string;
231
- latitude: number;
232
- longitude: number;
233
- created_at: string;
234
- updated_at: string;
235
- state: string;
236
- country: string;
237
- city: string;
238
- }, {
239
- id: string;
240
- latitude: number;
241
- longitude: number;
242
- created_at: string;
243
- updated_at: string;
244
- state: string;
245
- country: string;
246
- city: string;
247
- }>>;
248
- }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
249
- id: string;
250
- username: string | null;
251
- phoneNumber: string;
252
- secondaryPhoneNumber: string | null;
253
- fullName: string;
254
- profilePictureUrl: string | null;
255
- mail: string | null;
256
- created_at: string;
257
- updated_at: string;
258
- shortId: number;
259
- firstTimeMiExpo: boolean;
260
- isPhoneVerified: boolean;
261
- firstName: string | null;
262
- gender: string | null;
263
- birthDate: string | null;
264
- instagram: string | null;
265
- dni: string | null;
266
- alternativeNames: string[];
267
- birthLocationId: string | null;
268
- residenceLocationId: string | null;
269
- isInTrash: boolean;
270
- movedToTrashDate: string | null;
271
- birthLocation: {
272
- id: string;
273
- latitude: number;
274
- longitude: number;
275
- created_at: string;
276
- updated_at: string;
277
- state: string;
278
- country: string;
279
- city: string;
280
- } | null;
281
- residenceLocation: {
282
- id: string;
283
- latitude: number;
284
- longitude: number;
285
- created_at: string;
286
- updated_at: string;
287
- state: string;
288
- country: string;
289
- city: string;
290
- } | null;
291
- }, {
292
- id: string;
293
- username: string | null;
294
- phoneNumber: string;
295
- secondaryPhoneNumber: string | null;
296
- fullName: string;
297
- profilePictureUrl: string | null;
298
- mail: string | null;
299
- created_at: string;
300
- updated_at: string;
301
- shortId: number;
302
- firstTimeMiExpo: boolean;
303
- isPhoneVerified: boolean;
304
- firstName: string | null;
305
- gender: string | null;
306
- birthDate: string | null;
307
- instagram: string | null;
308
- dni: string | null;
309
- alternativeNames: string[];
310
- birthLocationId: string | null;
311
- residenceLocationId: string | null;
312
- isInTrash: boolean;
313
- movedToTrashDate: string | null;
314
- birthLocation: {
315
- id: string;
316
- latitude: number;
317
- longitude: number;
318
- created_at: string;
319
- updated_at: string;
320
- state: string;
321
- country: string;
322
- city: string;
323
- } | null;
324
- residenceLocation: {
325
- id: string;
326
- latitude: number;
327
- longitude: number;
328
- created_at: string;
329
- updated_at: string;
330
- state: string;
331
- country: string;
332
- city: string;
333
- } | null;
334
- }>>;
335
- export declare class GetMiExpoMeResponseDto extends GetMiExpoMeResponseDto_base {
336
- }
337
- export {};
@@ -1,16 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetMiExpoMeResponseDto = exports.getMiExpoMeResponseSchema = void 0;
4
- const location_schema_1 = require("../../schema/location.schema");
5
- const profile_schema_1 = require("../../schema/profile.schema");
6
- const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
7
- exports.getMiExpoMeResponseSchema = profile_schema_1.profileSchema
8
- .omit({ password: true })
9
- .extend({
10
- residenceLocation: location_schema_1.locationSchema.nullable(),
11
- birthLocation: location_schema_1.locationSchema.nullable(),
12
- });
13
- class GetMiExpoMeResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.getMiExpoMeResponseSchema) {
14
- }
15
- exports.GetMiExpoMeResponseDto = GetMiExpoMeResponseDto;
16
- //# sourceMappingURL=get-me.dto.js.map