expo-backend-types 0.37.0-EXPO-327-EB-Escanear-entrada.3 → 0.37.0-EXPO-325-ExpoBackend-Emision-de-multiples-tickets.5

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 (91) hide show
  1. package/dist/src/account/dto/get-global-filter.dto.d.ts +8 -8
  2. package/dist/src/account/dto/get-me.dto.d.ts +16 -16
  3. package/dist/src/account/dto/update-global-filter.dto.d.ts +8 -8
  4. package/dist/src/csv/dto/download-all-tables.dto.d.ts +3 -2
  5. package/dist/src/event/dto/create-event.dto.d.ts +8 -8
  6. package/dist/src/event/dto/event-tickets.dto.d.ts +2 -2
  7. package/dist/src/event/dto/get-active-events.dto.d.ts +12 -12
  8. package/dist/src/event/dto/get-all-event.dto.d.ts +56 -56
  9. package/dist/src/event/dto/get-by-id-event.dto.d.ts +50 -88
  10. package/dist/src/event/dto/update-event.dto.d.ts +24 -24
  11. package/dist/src/exports.d.ts +1 -0
  12. package/dist/src/exports.js +1 -0
  13. package/dist/src/i18n/es.d.ts +35 -28
  14. package/dist/src/i18n/es.js +201 -79
  15. package/dist/src/i18n/es.js.map +1 -1
  16. package/dist/src/i18n/translate.js +2 -2
  17. package/dist/src/i18n/translate.js.map +1 -1
  18. package/dist/src/image/dto/update-image.dto.d.ts +1 -0
  19. package/dist/src/profile/dto/find-all-profile.dto.d.ts +12 -12
  20. package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +20 -20
  21. package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +8 -8
  22. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +12 -12
  23. package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +12 -12
  24. package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +12 -12
  25. package/dist/src/schema/profile.schema.js +7 -17
  26. package/dist/src/shared/dto-modification/create-zod-dto-without-date.js +2 -1
  27. package/dist/src/shared/dto-modification/create-zod-dto-without-date.js.map +1 -1
  28. package/dist/src/tag/dto/create-tag.dto.d.ts +4 -4
  29. package/dist/src/tag/dto/delete-tag.dto.d.ts +4 -4
  30. package/dist/src/tag/dto/find-all-tag.dto.d.ts +8 -8
  31. package/dist/src/tag/dto/find-by-group-tag.dto.d.ts +8 -8
  32. package/dist/src/tag/dto/find-one-tag.dto.d.ts +4 -4
  33. package/dist/src/tag/dto/tag.dto.d.ts +4 -4
  34. package/dist/src/tag/dto/update-tag.dto.d.ts +4 -4
  35. package/dist/src/tag-group/dto/find-all-tag-group.dto.d.ts +12 -12
  36. package/dist/src/tag-group/dto/find-all-with-tags.dto.d.ts +12 -12
  37. package/dist/src/tag-group/dto/find-one-tag-group.dto.d.ts +8 -8
  38. package/dist/src/ticket/constants.d.ts +14 -12
  39. package/dist/src/ticket/constants.js +248 -354
  40. package/dist/src/ticket/dto/create-many-ticket.dto.d.ts +596 -0
  41. package/dist/src/ticket/dto/create-many-ticket.dto.js +50 -0
  42. package/dist/src/ticket/dto/create-ticket.dto.d.ts +21 -58
  43. package/dist/src/ticket/dto/create-ticket.dto.js +1 -1
  44. package/dist/src/ticket/dto/delete-ticket.dto.d.ts +10 -36
  45. package/dist/src/ticket/dto/find-all-tickets.dto.d.ts +18 -56
  46. package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +18 -56
  47. package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +18 -56
  48. package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +18 -56
  49. package/dist/src/ticket/dto/find-by-profile-id-ticket.dto.d.ts +18 -56
  50. package/dist/src/ticket/dto/find-ticket.dto.d.ts +10 -36
  51. package/dist/src/ticket/dto/generate-pdf.dto.d.ts +3 -2
  52. package/dist/src/ticket/dto/ticket.dto.d.ts +10 -36
  53. package/dist/src/ticket/dto/ticket.dto.js +2 -6
  54. package/dist/src/ticket/dto/update-ticket.dto.d.ts +26 -54
  55. package/dist/src/ticket/dto/update-ticket.dto.js +2 -1
  56. package/dist/src/ticket/exports.d.ts +0 -1
  57. package/dist/src/ticket/exports.js +0 -1
  58. package/dist/src/ticket-group/dto/create-ticket-group.dto.d.ts +356 -0
  59. package/dist/src/ticket-group/dto/create-ticket-group.dto.js +27 -0
  60. package/dist/src/ticket-group/dto/delete-ticket-group.dto.d.ts +55 -0
  61. package/dist/src/ticket-group/dto/delete-ticket-group.dto.js +10 -0
  62. package/dist/src/ticket-group/dto/find-tickets-by-event.dto.d.ts +32 -0
  63. package/dist/src/ticket-group/dto/find-tickets-by-event.dto.js +20 -0
  64. package/dist/src/ticket-group/dto/ticket-group.dto.d.ts +56 -0
  65. package/dist/src/ticket-group/dto/ticket-group.dto.js +27 -0
  66. package/dist/src/ticket-group/dto/update-ticket-group.dto.d.ts +79 -0
  67. package/dist/src/ticket-group/dto/update-ticket-group.dto.js +18 -0
  68. package/dist/src/ticket-group/exports.d.ts +5 -0
  69. package/dist/src/ticket-group/exports.js +22 -0
  70. package/dist/types/prisma-schema/edge.js +21 -14
  71. package/dist/types/prisma-schema/index-browser.js +16 -9
  72. package/dist/types/prisma-schema/index.d.ts +2464 -653
  73. package/dist/types/prisma-schema/index.js +21 -14
  74. package/dist/types/prisma-schema/libquery_engine-debian-openssl-3.0.x.so.node +0 -0
  75. package/dist/types/prisma-schema/package.json +2 -2
  76. package/dist/types/prisma-schema/runtime/edge-esm.js +18 -18
  77. package/dist/types/prisma-schema/runtime/edge.js +18 -18
  78. package/dist/types/prisma-schema/runtime/index-browser.d.ts +2 -2
  79. package/dist/types/prisma-schema/runtime/index-browser.js +1 -1
  80. package/dist/types/prisma-schema/runtime/library.d.ts +105 -123
  81. package/dist/types/prisma-schema/runtime/library.js +56 -56
  82. package/dist/types/prisma-schema/runtime/react-native.js +25 -25
  83. package/dist/types/prisma-schema/runtime/wasm.js +19 -19
  84. package/dist/types/prisma-schema/schema.prisma +23 -9
  85. package/dist/types/prisma-schema/wasm.js +16 -9
  86. package/dist/types/schema.d.ts +266 -59
  87. package/package.json +19 -18
  88. package/dist/src/ticket/dto/scan-ticket.dto.d.ts +0 -34
  89. package/dist/src/ticket/dto/scan-ticket.dto.js +0 -21
  90. package/dist/src/ticket/dto/send-email.dto.d.ts +0 -18
  91. package/dist/src/ticket/dto/send-email.dto.js +0 -15
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-backend-types",
3
- "version": "0.37.0-EXPO-327-EB-Escanear-entrada.3",
3
+ "version": "0.37.0-EXPO-325-ExpoBackend-Emision-de-multiples-tickets.5",
4
4
  "description": "",
5
5
  "author": "Expo",
6
6
  "private": false,
@@ -15,7 +15,7 @@
15
15
  "dist/src/i18n"
16
16
  ],
17
17
  "scripts": {
18
- "ci": "npm install --legacy-peer-deps && npx prisma generate && npm run generate-ts-schema && npm run build && npx prisma generate && npm run format && npm run lint && npm run check-exports",
18
+ "ci": "npm install && npx prisma generate && npm run generate-ts-schema && npm run build && npx prisma generate && npm run format && npm run lint && npm run check-exports",
19
19
  "build": "nest build",
20
20
  "postinstall": "patch-package",
21
21
  "format": "prettier --write \"src/**/*.ts\" \"types/**/*.ts\"",
@@ -33,29 +33,30 @@
33
33
  "prepublishOnly": "npm run ci"
34
34
  },
35
35
  "dependencies": {
36
- "@anatine/zod-nestjs": "^2.0.10",
36
+ "@anatine/zod-nestjs": "^2.0.9",
37
37
  "@anatine/zod-openapi": "^2.2.6",
38
38
  "i18n-js": "^4.4.3",
39
+ "libphonenumber-js": "^1.12.6",
39
40
  "patch-package": "^8.0.0",
40
41
  "zod": "^3.23.8"
41
42
  },
42
43
  "devDependencies": {
43
44
  "@arethetypeswrong/cli": "^0.17.3",
44
45
  "@changesets/cli": "^2.27.7",
45
- "@nestjs/cli": "^11.0.5",
46
- "@nestjs/common": "^11.0.12",
47
- "@nestjs/config": "^4.0.2",
48
- "@nestjs/core": "^11.0.12",
49
- "@nestjs/jwt": "^11.0.0",
50
- "@nestjs/platform-express": "^11.0.12",
51
- "@nestjs/schematics": "^11.0.2",
52
- "@nestjs/swagger": "^11.1.0",
53
- "@nestjs/testing": "^11.0.12",
46
+ "@nestjs/cli": "^10.0.0",
47
+ "@nestjs/common": "^10.0.0",
48
+ "@nestjs/config": "^3.2.3",
49
+ "@nestjs/core": "^10.0.0",
50
+ "@nestjs/jwt": "^10.2.0",
51
+ "@nestjs/platform-express": "^10.0.0",
52
+ "@nestjs/schematics": "^10.0.0",
53
+ "@nestjs/swagger": "^7.3.1",
54
+ "@nestjs/testing": "^10.0.0",
54
55
  "@openapitools/openapi-generator-cli": "^2.13.4",
55
- "@pdfme/common": "^5.3.13",
56
- "@pdfme/generator": "^5.3.13",
57
- "@pdfme/schemas": "^5.3.13",
58
- "@pdfme/ui": "^5.3.13",
56
+ "@pdfme/common": "^5.3.8",
57
+ "@pdfme/generator": "^5.3.8",
58
+ "@pdfme/schemas": "^5.3.8",
59
+ "@pdfme/ui": "^5.3.8",
59
60
  "@prisma/client": "^6.4.1",
60
61
  "@types/bcrypt": "^5.0.2",
61
62
  "@types/express": "^4.17.17",
@@ -93,12 +94,12 @@
93
94
  "prettier": "^3.0.0",
94
95
  "prisma": "^6.3.1",
95
96
  "reflect-metadata": "^0.2.0",
96
- "resend": "^4.1.2",
97
97
  "source-map-support": "^0.5.21",
98
98
  "string-comparison": "^1.3.0",
99
99
  "ts-node": "^10.9.2",
100
100
  "tsconfig-paths": "^4.2.0",
101
- "typescript": "^5.4.5"
101
+ "typescript": "^5.4.5",
102
+ "zod": "^3.23.8"
102
103
  },
103
104
  "main": "./dist/types/index.ts",
104
105
  "exports": {
@@ -1,34 +0,0 @@
1
- import z from 'zod';
2
- export declare const scanTicketSchema: z.ZodObject<{
3
- ticketBarcode: z.ZodString;
4
- }, "strip", z.ZodTypeAny, {
5
- ticketBarcode: string;
6
- }, {
7
- ticketBarcode: string;
8
- }>;
9
- declare const ScanTicketDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
10
- ticketBarcode: z.ZodString;
11
- }, z.UnknownKeysParam, z.ZodTypeAny, {
12
- ticketBarcode: string;
13
- }, {
14
- ticketBarcode: string;
15
- }>>;
16
- export declare class ScanTicketDto extends ScanTicketDto_base {
17
- }
18
- export declare const scanTicketResponseSchema: z.ZodObject<{
19
- success: z.ZodBoolean;
20
- }, "strip", z.ZodTypeAny, {
21
- success: boolean;
22
- }, {
23
- success: boolean;
24
- }>;
25
- declare const ScanTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
26
- success: z.ZodBoolean;
27
- }, z.UnknownKeysParam, z.ZodTypeAny, {
28
- success: boolean;
29
- }, {
30
- success: boolean;
31
- }>>;
32
- export declare class ScanTicketResponseDto extends ScanTicketResponseDto_base {
33
- }
34
- export {};
@@ -1,21 +0,0 @@
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.ScanTicketResponseDto = exports.scanTicketResponseSchema = exports.ScanTicketDto = exports.scanTicketSchema = void 0;
7
- const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
8
- const zod_1 = __importDefault(require("zod"));
9
- exports.scanTicketSchema = zod_1.default.object({
10
- ticketBarcode: zod_1.default.string(),
11
- });
12
- class ScanTicketDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.scanTicketSchema) {
13
- }
14
- exports.ScanTicketDto = ScanTicketDto;
15
- exports.scanTicketResponseSchema = zod_1.default.object({
16
- success: zod_1.default.boolean(),
17
- });
18
- class ScanTicketResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.scanTicketResponseSchema) {
19
- }
20
- exports.ScanTicketResponseDto = ScanTicketResponseDto;
21
- //# sourceMappingURL=scan-ticket.dto.js.map
@@ -1,18 +0,0 @@
1
- import z from 'zod';
2
- export declare const sendEmailResponseSchema: z.ZodObject<{
3
- mailId: z.ZodString;
4
- }, "strip", z.ZodTypeAny, {
5
- mailId: string;
6
- }, {
7
- mailId: string;
8
- }>;
9
- declare const SendEmailResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
10
- mailId: z.ZodString;
11
- }, z.UnknownKeysParam, z.ZodTypeAny, {
12
- mailId: string;
13
- }, {
14
- mailId: string;
15
- }>>;
16
- export declare class SendEmailResponseDto extends SendEmailResponseDto_base {
17
- }
18
- export {};
@@ -1,15 +0,0 @@
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.SendEmailResponseDto = exports.sendEmailResponseSchema = void 0;
7
- const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
8
- const zod_1 = __importDefault(require("zod"));
9
- exports.sendEmailResponseSchema = zod_1.default.object({
10
- mailId: zod_1.default.string(),
11
- });
12
- class SendEmailResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.sendEmailResponseSchema) {
13
- }
14
- exports.SendEmailResponseDto = SendEmailResponseDto;
15
- //# sourceMappingURL=send-email.dto.js.map