expo-backend-types 0.37.0-EXPO-325-ExpoBackend-Emision-de-multiples-tickets.5 → 0.37.0-EXPO-338-Papa-Francisco.1

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 (70) 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/event/dto/create-event.dto.d.ts +8 -8
  5. package/dist/src/event/dto/event-tickets.dto.d.ts +2 -2
  6. package/dist/src/event/dto/get-active-events.dto.d.ts +12 -12
  7. package/dist/src/event/dto/get-all-event.dto.d.ts +56 -56
  8. package/dist/src/event/dto/get-by-id-event.dto.d.ts +68 -50
  9. package/dist/src/event/dto/update-event.dto.d.ts +24 -24
  10. package/dist/src/exports.d.ts +0 -1
  11. package/dist/src/exports.js +0 -1
  12. package/dist/src/i18n/es.d.ts +21 -36
  13. package/dist/src/i18n/es.js +21 -36
  14. package/dist/src/i18n/es.js.map +1 -1
  15. package/dist/src/profile/dto/find-all-profile.dto.d.ts +12 -12
  16. package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +20 -20
  17. package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +8 -8
  18. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +12 -12
  19. package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +12 -12
  20. package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +12 -12
  21. package/dist/src/tag/dto/create-tag.dto.d.ts +4 -4
  22. package/dist/src/tag/dto/delete-tag.dto.d.ts +4 -4
  23. package/dist/src/tag/dto/find-all-tag.dto.d.ts +8 -8
  24. package/dist/src/tag/dto/find-by-group-tag.dto.d.ts +8 -8
  25. package/dist/src/tag/dto/find-one-tag.dto.d.ts +4 -4
  26. package/dist/src/tag/dto/tag.dto.d.ts +4 -4
  27. package/dist/src/tag/dto/update-tag.dto.d.ts +4 -4
  28. package/dist/src/tag-group/dto/find-all-tag-group.dto.d.ts +12 -12
  29. package/dist/src/tag-group/dto/find-all-with-tags.dto.d.ts +12 -12
  30. package/dist/src/tag-group/dto/find-one-tag-group.dto.d.ts +8 -8
  31. package/dist/src/ticket/constants.d.ts +12 -14
  32. package/dist/src/ticket/constants.js +355 -248
  33. package/dist/src/ticket/dto/create-ticket.dto.d.ts +44 -21
  34. package/dist/src/ticket/dto/create-ticket.dto.js +1 -1
  35. package/dist/src/ticket/dto/delete-ticket.dto.d.ts +24 -10
  36. package/dist/src/ticket/dto/find-all-tickets.dto.d.ts +36 -18
  37. package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +36 -18
  38. package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +36 -18
  39. package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +36 -18
  40. package/dist/src/ticket/dto/find-by-profile-id-ticket.dto.d.ts +36 -18
  41. package/dist/src/ticket/dto/find-ticket.dto.d.ts +24 -10
  42. package/dist/src/ticket/dto/send-email.dto.d.ts +18 -0
  43. package/dist/src/ticket/dto/send-email.dto.js +15 -0
  44. package/dist/src/ticket/dto/ticket.dto.d.ts +24 -10
  45. package/dist/src/ticket/dto/ticket.dto.js +4 -2
  46. package/dist/src/ticket/dto/update-ticket.dto.d.ts +42 -26
  47. package/dist/src/ticket/dto/update-ticket.dto.js +1 -2
  48. package/dist/types/prisma-schema/edge.js +6 -15
  49. package/dist/types/prisma-schema/index-browser.js +3 -12
  50. package/dist/types/prisma-schema/index.d.ts +359 -2257
  51. package/dist/types/prisma-schema/index.js +6 -15
  52. package/dist/types/prisma-schema/package.json +1 -1
  53. package/dist/types/prisma-schema/schema.prisma +7 -23
  54. package/dist/types/prisma-schema/wasm.js +3 -12
  55. package/dist/types/schema.d.ts +29 -317
  56. package/package.json +6 -6
  57. package/dist/src/ticket/dto/create-many-ticket.dto.d.ts +0 -596
  58. package/dist/src/ticket/dto/create-many-ticket.dto.js +0 -50
  59. package/dist/src/ticket-group/dto/create-ticket-group.dto.d.ts +0 -356
  60. package/dist/src/ticket-group/dto/create-ticket-group.dto.js +0 -27
  61. package/dist/src/ticket-group/dto/delete-ticket-group.dto.d.ts +0 -55
  62. package/dist/src/ticket-group/dto/delete-ticket-group.dto.js +0 -10
  63. package/dist/src/ticket-group/dto/find-tickets-by-event.dto.d.ts +0 -32
  64. package/dist/src/ticket-group/dto/find-tickets-by-event.dto.js +0 -20
  65. package/dist/src/ticket-group/dto/ticket-group.dto.d.ts +0 -56
  66. package/dist/src/ticket-group/dto/ticket-group.dto.js +0 -27
  67. package/dist/src/ticket-group/dto/update-ticket-group.dto.d.ts +0 -79
  68. package/dist/src/ticket-group/dto/update-ticket-group.dto.js +0 -18
  69. package/dist/src/ticket-group/exports.d.ts +0 -5
  70. package/dist/src/ticket-group/exports.js +0 -22
@@ -23,14 +23,14 @@ export declare const findAllTagGroupResponseSchema: z.ZodObject<{
23
23
  }, "strip", z.ZodTypeAny, {
24
24
  id: string;
25
25
  name: string;
26
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
26
+ type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM";
27
27
  created_at: Date;
28
28
  updated_at: Date;
29
29
  groupId: string;
30
30
  }, {
31
31
  id: string;
32
32
  name: string;
33
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
33
+ type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM";
34
34
  created_at: Date;
35
35
  updated_at: Date;
36
36
  groupId: string;
@@ -45,7 +45,7 @@ export declare const findAllTagGroupResponseSchema: z.ZodObject<{
45
45
  tags: {
46
46
  id: string;
47
47
  name: string;
48
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
48
+ type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM";
49
49
  created_at: Date;
50
50
  updated_at: Date;
51
51
  groupId: string;
@@ -60,7 +60,7 @@ export declare const findAllTagGroupResponseSchema: z.ZodObject<{
60
60
  tags: {
61
61
  id: string;
62
62
  name: string;
63
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
63
+ type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM";
64
64
  created_at: Date;
65
65
  updated_at: Date;
66
66
  groupId: string;
@@ -77,7 +77,7 @@ export declare const findAllTagGroupResponseSchema: z.ZodObject<{
77
77
  tags: {
78
78
  id: string;
79
79
  name: string;
80
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
80
+ type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM";
81
81
  created_at: Date;
82
82
  updated_at: Date;
83
83
  groupId: string;
@@ -94,7 +94,7 @@ export declare const findAllTagGroupResponseSchema: z.ZodObject<{
94
94
  tags: {
95
95
  id: string;
96
96
  name: string;
97
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
97
+ type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM";
98
98
  created_at: Date;
99
99
  updated_at: Date;
100
100
  groupId: string;
@@ -124,14 +124,14 @@ declare const FindAllTagGroupResponseDto_base: import("@anatine/zod-nestjs").Zod
124
124
  }, z.UnknownKeysParam, z.ZodTypeAny, {
125
125
  id: string;
126
126
  name: string;
127
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
127
+ type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM";
128
128
  created_at: string;
129
129
  updated_at: string;
130
130
  groupId: string;
131
131
  }, {
132
132
  id: string;
133
133
  name: string;
134
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
134
+ type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM";
135
135
  created_at: string;
136
136
  updated_at: string;
137
137
  groupId: string;
@@ -146,7 +146,7 @@ declare const FindAllTagGroupResponseDto_base: import("@anatine/zod-nestjs").Zod
146
146
  tags: {
147
147
  id: string;
148
148
  name: string;
149
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
149
+ type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM";
150
150
  created_at: string;
151
151
  updated_at: string;
152
152
  groupId: string;
@@ -161,7 +161,7 @@ declare const FindAllTagGroupResponseDto_base: import("@anatine/zod-nestjs").Zod
161
161
  tags: {
162
162
  id: string;
163
163
  name: string;
164
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
164
+ type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM";
165
165
  created_at: string;
166
166
  updated_at: string;
167
167
  groupId: string;
@@ -178,7 +178,7 @@ declare const FindAllTagGroupResponseDto_base: import("@anatine/zod-nestjs").Zod
178
178
  tags: {
179
179
  id: string;
180
180
  name: string;
181
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
181
+ type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM";
182
182
  created_at: string;
183
183
  updated_at: string;
184
184
  groupId: string;
@@ -195,7 +195,7 @@ declare const FindAllTagGroupResponseDto_base: import("@anatine/zod-nestjs").Zod
195
195
  tags: {
196
196
  id: string;
197
197
  name: string;
198
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
198
+ type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM";
199
199
  created_at: string;
200
200
  updated_at: string;
201
201
  groupId: string;
@@ -31,7 +31,7 @@ export declare const findAllWithTagsResponseSchema: z.ZodObject<{
31
31
  }>, "strip", z.ZodTypeAny, {
32
32
  id: string;
33
33
  name: string;
34
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
34
+ type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM";
35
35
  created_at: Date;
36
36
  updated_at: Date;
37
37
  groupId: string;
@@ -41,7 +41,7 @@ export declare const findAllWithTagsResponseSchema: z.ZodObject<{
41
41
  }, {
42
42
  id: string;
43
43
  name: string;
44
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
44
+ type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM";
45
45
  created_at: Date;
46
46
  updated_at: Date;
47
47
  groupId: string;
@@ -64,7 +64,7 @@ export declare const findAllWithTagsResponseSchema: z.ZodObject<{
64
64
  tags: {
65
65
  id: string;
66
66
  name: string;
67
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
67
+ type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM";
68
68
  created_at: Date;
69
69
  updated_at: Date;
70
70
  groupId: string;
@@ -83,7 +83,7 @@ export declare const findAllWithTagsResponseSchema: z.ZodObject<{
83
83
  tags: {
84
84
  id: string;
85
85
  name: string;
86
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
86
+ type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM";
87
87
  created_at: Date;
88
88
  updated_at: Date;
89
89
  groupId: string;
@@ -104,7 +104,7 @@ export declare const findAllWithTagsResponseSchema: z.ZodObject<{
104
104
  tags: {
105
105
  id: string;
106
106
  name: string;
107
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
107
+ type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM";
108
108
  created_at: Date;
109
109
  updated_at: Date;
110
110
  groupId: string;
@@ -125,7 +125,7 @@ export declare const findAllWithTagsResponseSchema: z.ZodObject<{
125
125
  tags: {
126
126
  id: string;
127
127
  name: string;
128
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
128
+ type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM";
129
129
  created_at: Date;
130
130
  updated_at: Date;
131
131
  groupId: string;
@@ -166,7 +166,7 @@ declare const FindAllWithTagsResponseDto_base: import("@anatine/zod-nestjs").Zod
166
166
  }, z.UnknownKeysParam, z.ZodTypeAny, {
167
167
  id: string;
168
168
  name: string;
169
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
169
+ type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM";
170
170
  created_at: string;
171
171
  updated_at: string;
172
172
  groupId: string;
@@ -176,7 +176,7 @@ declare const FindAllWithTagsResponseDto_base: import("@anatine/zod-nestjs").Zod
176
176
  }, {
177
177
  id: string;
178
178
  name: string;
179
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
179
+ type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM";
180
180
  created_at: string;
181
181
  updated_at: string;
182
182
  groupId: string;
@@ -199,7 +199,7 @@ declare const FindAllWithTagsResponseDto_base: import("@anatine/zod-nestjs").Zod
199
199
  tags: {
200
200
  id: string;
201
201
  name: string;
202
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
202
+ type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM";
203
203
  created_at: string;
204
204
  updated_at: string;
205
205
  groupId: string;
@@ -218,7 +218,7 @@ declare const FindAllWithTagsResponseDto_base: import("@anatine/zod-nestjs").Zod
218
218
  tags: {
219
219
  id: string;
220
220
  name: string;
221
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
221
+ type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM";
222
222
  created_at: string;
223
223
  updated_at: string;
224
224
  groupId: string;
@@ -239,7 +239,7 @@ declare const FindAllWithTagsResponseDto_base: import("@anatine/zod-nestjs").Zod
239
239
  tags: {
240
240
  id: string;
241
241
  name: string;
242
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
242
+ type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM";
243
243
  created_at: string;
244
244
  updated_at: string;
245
245
  groupId: string;
@@ -260,7 +260,7 @@ declare const FindAllWithTagsResponseDto_base: import("@anatine/zod-nestjs").Zod
260
260
  tags: {
261
261
  id: string;
262
262
  name: string;
263
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
263
+ type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM";
264
264
  created_at: string;
265
265
  updated_at: string;
266
266
  groupId: string;
@@ -22,14 +22,14 @@ export declare const findOneTagGroupResponseSchema: z.ZodObject<z.objectUtil.ext
22
22
  }, "strip", z.ZodTypeAny, {
23
23
  id: string;
24
24
  name: string;
25
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
25
+ type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM";
26
26
  created_at: Date;
27
27
  updated_at: Date;
28
28
  groupId: string;
29
29
  }, {
30
30
  id: string;
31
31
  name: string;
32
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
32
+ type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM";
33
33
  created_at: Date;
34
34
  updated_at: Date;
35
35
  groupId: string;
@@ -44,7 +44,7 @@ export declare const findOneTagGroupResponseSchema: z.ZodObject<z.objectUtil.ext
44
44
  tags: {
45
45
  id: string;
46
46
  name: string;
47
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
47
+ type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM";
48
48
  created_at: Date;
49
49
  updated_at: Date;
50
50
  groupId: string;
@@ -59,7 +59,7 @@ export declare const findOneTagGroupResponseSchema: z.ZodObject<z.objectUtil.ext
59
59
  tags: {
60
60
  id: string;
61
61
  name: string;
62
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
62
+ type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM";
63
63
  created_at: Date;
64
64
  updated_at: Date;
65
65
  groupId: string;
@@ -87,14 +87,14 @@ declare const FindOneTagGroupResponseDto_base: import("@anatine/zod-nestjs").Zod
87
87
  }, z.UnknownKeysParam, z.ZodTypeAny, {
88
88
  id: string;
89
89
  name: string;
90
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
90
+ type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM";
91
91
  created_at: string;
92
92
  updated_at: string;
93
93
  groupId: string;
94
94
  }, {
95
95
  id: string;
96
96
  name: string;
97
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
97
+ type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM";
98
98
  created_at: string;
99
99
  updated_at: string;
100
100
  groupId: string;
@@ -109,7 +109,7 @@ declare const FindOneTagGroupResponseDto_base: import("@anatine/zod-nestjs").Zod
109
109
  tags: {
110
110
  id: string;
111
111
  name: string;
112
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
112
+ type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM";
113
113
  created_at: string;
114
114
  updated_at: string;
115
115
  groupId: string;
@@ -124,7 +124,7 @@ declare const FindOneTagGroupResponseDto_base: import("@anatine/zod-nestjs").Zod
124
124
  tags: {
125
125
  id: string;
126
126
  name: string;
127
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
127
+ type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM";
128
128
  created_at: string;
129
129
  updated_at: string;
130
130
  groupId: string;
@@ -1,16 +1,14 @@
1
- import { type Template } from '@pdfme/common';
2
- export declare const TICKET_INPUTS: {
1
+ import { Template } from '@pdfme/common';
2
+ import { TicketType } from '~/types';
3
+ export type TicketInputs = {
4
+ eventName: string;
5
+ eventDate: string;
6
+ eventLocation: string;
7
+ fullName: string;
8
+ dni: string;
9
+ seat: string;
10
+ barcode: string;
3
11
  footer: string;
4
- title: string;
5
- event_section: string;
6
- date_label: string;
7
- time_label: string;
8
- location_label: string;
9
- attendee_section: string;
10
- name_label: string;
11
- email_label: string;
12
- ticket_section: string;
13
- type_label: string;
14
- status_label: string;
12
+ emissionDate: string;
15
13
  };
16
- export declare const TICKET_TEMPLATE: Template;
14
+ export declare function generateTicketTemplate(ticketType: TicketType): Template;