expo-backend-types 0.33.0 → 0.34.0

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 (93) hide show
  1. package/dist/src/exports.d.ts +3 -0
  2. package/dist/src/exports.js +3 -0
  3. package/dist/src/i18n/es.d.ts +20 -0
  4. package/dist/src/i18n/es.js +20 -0
  5. package/dist/src/i18n/es.js.map +1 -1
  6. package/dist/src/image/constants.d.ts +5 -0
  7. package/dist/src/image/constants.js +9 -0
  8. package/dist/src/location/dto/find-all-location.dto.js +2 -2
  9. package/dist/src/location/exports.d.ts +0 -1
  10. package/dist/src/location/exports.js +0 -1
  11. package/dist/src/message/dto/non-read-messages.dto.d.ts +2 -2
  12. package/dist/src/message/dto/non-read-messages.dto.js +2 -2
  13. package/dist/src/message/dto/send-message-to-phone.dto.d.ts +2 -2
  14. package/dist/src/message/dto/send-message-to-phone.dto.js +2 -2
  15. package/dist/src/mi-expo/dto/get-me.dto.d.ts +337 -0
  16. package/dist/src/mi-expo/dto/get-me.dto.js +16 -0
  17. package/dist/src/mi-expo/dto/login-with-phone.dto.d.ts +311 -0
  18. package/dist/src/mi-expo/dto/login-with-phone.dto.js +29 -0
  19. package/dist/src/mi-expo/dto/login.dto.d.ts +327 -0
  20. package/dist/src/mi-expo/dto/login.dto.js +31 -0
  21. package/dist/src/mi-expo/dto/update-me.dto.d.ts +352 -0
  22. package/dist/src/mi-expo/dto/update-me.dto.js +31 -0
  23. package/dist/src/mi-expo/exports.d.ts +4 -0
  24. package/dist/src/mi-expo/exports.js +21 -0
  25. package/dist/src/otp/constants.d.ts +2 -0
  26. package/dist/src/otp/constants.js +6 -0
  27. package/dist/src/otp/dto/send-otp.dto.d.ts +158 -0
  28. package/dist/src/otp/dto/send-otp.dto.js +35 -0
  29. package/dist/src/otp/dto/verify-otp.dto.d.ts +455 -0
  30. package/dist/src/otp/dto/verify-otp.dto.js +46 -0
  31. package/dist/src/otp/exports.d.ts +2 -0
  32. package/dist/src/otp/exports.js +19 -0
  33. package/dist/src/prisma/constants.d.ts +1 -0
  34. package/dist/src/prisma/constants.js +5 -0
  35. package/dist/src/profile/dto/create-profile.dto.d.ts +48 -14
  36. package/dist/src/profile/dto/create-profile.dto.js +9 -7
  37. package/dist/src/profile/dto/delete-profile.dto.d.ts +30 -6
  38. package/dist/src/profile/dto/delete-profile.dto.js +2 -2
  39. package/dist/src/profile/dto/find-all-profile.dto.d.ts +47 -7
  40. package/dist/src/profile/dto/find-all-profile.dto.js +2 -2
  41. package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +75 -11
  42. package/dist/src/profile/dto/find-by-date-range-profile.dto.js +3 -3
  43. package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +32 -13
  44. package/dist/src/profile/dto/find-by-id-profile.dto.js +7 -5
  45. package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +30 -6
  46. package/dist/src/profile/dto/find-by-phone-number.dto.js +2 -2
  47. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +47 -7
  48. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.js +2 -2
  49. package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +47 -7
  50. package/dist/src/profile/dto/find-by-tags-profile.dto.js +2 -2
  51. package/dist/src/profile/dto/find-trash.dto.d.ts +7 -3
  52. package/dist/src/profile/dto/find-trash.dto.js +2 -2
  53. package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +47 -7
  54. package/dist/src/profile/dto/find-with-active-chat.dto.js +2 -2
  55. package/dist/src/profile/dto/profile.dto.d.ts +44 -30
  56. package/dist/src/profile/dto/profile.dto.js +6 -63
  57. package/dist/src/profile/dto/update-profile.dto.d.ts +54 -12
  58. package/dist/src/profile/dto/update-profile.dto.js +9 -6
  59. package/dist/src/schema/exports.d.ts +2 -0
  60. package/dist/src/schema/exports.js +19 -0
  61. package/dist/src/{location/dto/location.dto.js → schema/location.schema.js} +2 -2
  62. package/dist/src/schema/profile.schema.d.ts +74 -0
  63. package/dist/src/schema/profile.schema.js +133 -0
  64. package/dist/src/shared/dto-modification/zod-without-dates.d.ts +2 -4
  65. package/dist/src/shared/dto-modification/zod-without-dates.js +8 -0
  66. package/dist/src/shared/dto-modification/zod-without-dates.js.map +1 -1
  67. package/dist/src/tag/dto/massive-allocation.dto.d.ts +47 -7
  68. package/dist/src/tag/dto/massive-allocation.dto.js +3 -3
  69. package/dist/src/tag/dto/massive-deallocation.dto.d.ts +47 -7
  70. package/dist/src/tag/dto/massive-deallocation.dto.js +3 -3
  71. package/dist/src/ticket/constants.d.ts +16 -0
  72. package/dist/src/ticket/constants.js +272 -0
  73. package/dist/src/webhook/constants.d.ts +1 -0
  74. package/dist/src/webhook/constants.js +5 -0
  75. package/dist/types/prisma-schema/edge.js +38 -24
  76. package/dist/types/prisma-schema/index-browser.js +18 -9
  77. package/dist/types/prisma-schema/index.d.ts +4093 -456
  78. package/dist/types/prisma-schema/index.js +38 -24
  79. package/dist/types/prisma-schema/libquery_engine-debian-openssl-3.0.x.so.node +0 -0
  80. package/dist/types/prisma-schema/package.json +8 -2
  81. package/dist/types/prisma-schema/runtime/edge-esm.js +18 -18
  82. package/dist/types/prisma-schema/runtime/edge.js +18 -18
  83. package/dist/types/prisma-schema/runtime/index-browser.d.ts +3 -1
  84. package/dist/types/prisma-schema/runtime/index-browser.js +3 -3
  85. package/dist/types/prisma-schema/runtime/library.d.ts +205 -153
  86. package/dist/types/prisma-schema/runtime/library.js +55 -55
  87. package/dist/types/prisma-schema/runtime/react-native.js +26 -26
  88. package/dist/types/prisma-schema/runtime/wasm.js +17 -17
  89. package/dist/types/prisma-schema/schema.prisma +22 -1
  90. package/dist/types/prisma-schema/wasm.js +18 -9
  91. package/dist/types/schema.d.ts +506 -2
  92. package/package.json +41 -40
  93. /package/dist/src/{location/dto/location.dto.d.ts → schema/location.schema.d.ts} +0 -0
@@ -0,0 +1,272 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TICKET_TEMPLATE = exports.TICKET_INPUTS = void 0;
4
+ const common_1 = require("@pdfme/common");
5
+ exports.TICKET_INPUTS = {
6
+ footer: 'Este ticket es personal e intransferible.',
7
+ title: 'ENTRADA',
8
+ event_section: 'EVENTO:',
9
+ date_label: 'Fecha:',
10
+ time_label: 'Hora:',
11
+ location_label: 'Lugar:',
12
+ attendee_section: 'ASISTENTE:',
13
+ name_label: 'Nombre:',
14
+ email_label: 'Email:',
15
+ ticket_section: 'DETALLES DEL TICKET:',
16
+ type_label: 'Tipo:',
17
+ status_label: 'Estado:',
18
+ };
19
+ exports.TICKET_TEMPLATE = {
20
+ basePdf: common_1.BLANK_PDF,
21
+ schemas: [
22
+ [
23
+ {
24
+ name: 'event_name',
25
+ type: 'text',
26
+ position: { x: 30, y: 30 },
27
+ width: 180,
28
+ height: 20,
29
+ fontSize: 14,
30
+ fontWeight: 'bold',
31
+ },
32
+ {
33
+ name: 'event_date',
34
+ type: 'text',
35
+ position: { x: 100, y: 60 },
36
+ width: 180,
37
+ height: 10,
38
+ fontSize: 10,
39
+ },
40
+ {
41
+ name: 'event_time',
42
+ type: 'text',
43
+ position: { x: 100, y: 75 },
44
+ width: 180,
45
+ height: 10,
46
+ fontSize: 10,
47
+ },
48
+ {
49
+ name: 'event_location',
50
+ type: 'text',
51
+ position: { x: 100, y: 90 },
52
+ width: 180,
53
+ height: 10,
54
+ fontSize: 10,
55
+ },
56
+ {
57
+ name: 'fullName_ticket',
58
+ type: 'text',
59
+ position: { x: 100, y: 120 },
60
+ width: 180,
61
+ height: 10,
62
+ fontSize: 10,
63
+ },
64
+ {
65
+ name: 'mail_ticket',
66
+ type: 'text',
67
+ position: { x: 100, y: 135 },
68
+ width: 180,
69
+ height: 10,
70
+ fontSize: 10,
71
+ },
72
+ {
73
+ name: 'ticket_type',
74
+ type: 'text',
75
+ position: { x: 100, y: 165 },
76
+ width: 180,
77
+ height: 10,
78
+ fontSize: 10,
79
+ },
80
+ {
81
+ name: 'ticket_status',
82
+ type: 'text',
83
+ position: { x: 100, y: 180 },
84
+ width: 180,
85
+ height: 10,
86
+ fontSize: 10,
87
+ },
88
+ {
89
+ name: 'ticket_id',
90
+ type: 'text',
91
+ position: { x: 100, y: 195 },
92
+ width: 180,
93
+ height: 10,
94
+ fontSize: 8,
95
+ },
96
+ {
97
+ name: 'title',
98
+ type: 'text',
99
+ position: { x: 0, y: 15 },
100
+ content: 'ENTRADA',
101
+ width: 210,
102
+ height: 15,
103
+ fontSize: 16,
104
+ fontWeight: 'bold',
105
+ alignment: 'center',
106
+ value: 'ENTRADA',
107
+ },
108
+ {
109
+ name: 'event_section',
110
+ type: 'text',
111
+ position: { x: 30, y: 50 },
112
+ content: 'EVENTO:',
113
+ width: 150,
114
+ height: 10,
115
+ fontSize: 12,
116
+ fontWeight: 'bold',
117
+ value: 'EVENTO:',
118
+ },
119
+ {
120
+ name: 'date_label',
121
+ type: 'text',
122
+ position: { x: 30, y: 65 },
123
+ content: 'Fecha:',
124
+ width: 60,
125
+ height: 10,
126
+ fontSize: 10,
127
+ fontWeight: 'bold',
128
+ value: 'Fecha:',
129
+ },
130
+ {
131
+ name: 'time_label',
132
+ type: 'text',
133
+ position: { x: 30, y: 80 },
134
+ content: 'Hora:',
135
+ width: 60,
136
+ height: 10,
137
+ fontSize: 10,
138
+ fontWeight: 'bold',
139
+ value: 'Hora:',
140
+ },
141
+ {
142
+ name: 'location_label',
143
+ type: 'text',
144
+ position: { x: 30, y: 95 },
145
+ content: 'Lugar:',
146
+ width: 60,
147
+ height: 10,
148
+ fontSize: 10,
149
+ fontWeight: 'bold',
150
+ value: 'Lugar:',
151
+ },
152
+ {
153
+ name: 'attendee_section',
154
+ type: 'text',
155
+ position: { x: 30, y: 105 },
156
+ content: 'ASISTENTE:',
157
+ width: 150,
158
+ height: 10,
159
+ fontSize: 12,
160
+ fontWeight: 'bold',
161
+ value: 'ASISTENTE:',
162
+ },
163
+ {
164
+ name: 'name_label',
165
+ type: 'text',
166
+ position: { x: 30, y: 120 },
167
+ content: 'Nombre:',
168
+ width: 60,
169
+ height: 10,
170
+ fontSize: 10,
171
+ fontWeight: 'bold',
172
+ value: 'Nombre:',
173
+ },
174
+ {
175
+ name: 'email_label',
176
+ type: 'text',
177
+ position: { x: 30, y: 135 },
178
+ content: 'Email:',
179
+ width: 60,
180
+ height: 10,
181
+ fontSize: 10,
182
+ fontWeight: 'bold',
183
+ value: 'Email:',
184
+ },
185
+ {
186
+ name: 'ticket_section',
187
+ type: 'text',
188
+ position: { x: 30, y: 150 },
189
+ content: 'DETALLES DEL TICKET:',
190
+ width: 150,
191
+ height: 10,
192
+ fontSize: 12,
193
+ fontWeight: 'bold',
194
+ value: 'DETALLES DEL TICKET:',
195
+ },
196
+ {
197
+ name: 'type_label',
198
+ type: 'text',
199
+ position: { x: 30, y: 165 },
200
+ content: 'Tipo:',
201
+ width: 60,
202
+ height: 10,
203
+ fontSize: 10,
204
+ fontWeight: 'bold',
205
+ value: 'Tipo:',
206
+ },
207
+ {
208
+ name: 'status_label',
209
+ type: 'text',
210
+ position: { x: 30, y: 180 },
211
+ content: 'Estado:',
212
+ width: 60,
213
+ height: 10,
214
+ fontSize: 10,
215
+ fontWeight: 'bold',
216
+ value: 'Estado:',
217
+ },
218
+ {
219
+ name: 'footer',
220
+ type: 'text',
221
+ position: { x: 0, y: 220 },
222
+ content: 'Este ticket es personal e intransferible.',
223
+ width: 210,
224
+ height: 10,
225
+ fontSize: 8,
226
+ alignment: 'center',
227
+ value: 'Este ticket es personal e intransferible.',
228
+ },
229
+ {
230
+ name: 'separator1',
231
+ type: 'line',
232
+ position: { x: 30, y: 60 },
233
+ width: 150,
234
+ height: 0,
235
+ borderColor: '#000000',
236
+ borderWidth: 1,
237
+ },
238
+ {
239
+ name: 'separator2',
240
+ type: 'line',
241
+ position: { x: 30, y: 115 },
242
+ width: 150,
243
+ height: 0,
244
+ borderColor: '#000000',
245
+ borderWidth: 1,
246
+ },
247
+ {
248
+ name: 'separator3',
249
+ type: 'line',
250
+ position: { x: 30, y: 160 },
251
+ width: 150,
252
+ height: 0,
253
+ borderColor: '#000000',
254
+ borderWidth: 1,
255
+ },
256
+ {
257
+ name: 'ticket_barcode',
258
+ type: 'code128',
259
+ position: { x: 30, y: 240 },
260
+ width: 150,
261
+ height: 30,
262
+ options: {
263
+ displayValue: false,
264
+ },
265
+ readOnly: false,
266
+ includetext: false,
267
+ },
268
+ ],
269
+ ],
270
+ pdfmeVersion: '4.0.0',
271
+ };
272
+ //# sourceMappingURL=constants.js.map
@@ -0,0 +1 @@
1
+ export declare const AUTOMATIC_MESSAGE_DEADLINE: Date;
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AUTOMATIC_MESSAGE_DEADLINE = void 0;
4
+ exports.AUTOMATIC_MESSAGE_DEADLINE = new Date(2024, 4, 10);
5
+ //# sourceMappingURL=constants.js.map