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.
- package/dist/src/exports.d.ts +3 -0
- package/dist/src/exports.js +3 -0
- package/dist/src/i18n/es.d.ts +20 -0
- package/dist/src/i18n/es.js +20 -0
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/src/image/constants.d.ts +5 -0
- package/dist/src/image/constants.js +9 -0
- package/dist/src/location/dto/find-all-location.dto.js +2 -2
- package/dist/src/location/exports.d.ts +0 -1
- package/dist/src/location/exports.js +0 -1
- package/dist/src/message/dto/non-read-messages.dto.d.ts +2 -2
- package/dist/src/message/dto/non-read-messages.dto.js +2 -2
- package/dist/src/message/dto/send-message-to-phone.dto.d.ts +2 -2
- package/dist/src/message/dto/send-message-to-phone.dto.js +2 -2
- package/dist/src/mi-expo/dto/get-me.dto.d.ts +337 -0
- package/dist/src/mi-expo/dto/get-me.dto.js +16 -0
- package/dist/src/mi-expo/dto/login-with-phone.dto.d.ts +311 -0
- package/dist/src/mi-expo/dto/login-with-phone.dto.js +29 -0
- package/dist/src/mi-expo/dto/login.dto.d.ts +327 -0
- package/dist/src/mi-expo/dto/login.dto.js +31 -0
- package/dist/src/mi-expo/dto/update-me.dto.d.ts +352 -0
- package/dist/src/mi-expo/dto/update-me.dto.js +31 -0
- package/dist/src/mi-expo/exports.d.ts +4 -0
- package/dist/src/mi-expo/exports.js +21 -0
- package/dist/src/otp/constants.d.ts +2 -0
- package/dist/src/otp/constants.js +6 -0
- package/dist/src/otp/dto/send-otp.dto.d.ts +158 -0
- package/dist/src/otp/dto/send-otp.dto.js +35 -0
- package/dist/src/otp/dto/verify-otp.dto.d.ts +455 -0
- package/dist/src/otp/dto/verify-otp.dto.js +46 -0
- package/dist/src/otp/exports.d.ts +2 -0
- package/dist/src/otp/exports.js +19 -0
- package/dist/src/prisma/constants.d.ts +1 -0
- package/dist/src/prisma/constants.js +5 -0
- package/dist/src/profile/dto/create-profile.dto.d.ts +48 -14
- package/dist/src/profile/dto/create-profile.dto.js +9 -7
- package/dist/src/profile/dto/delete-profile.dto.d.ts +30 -6
- package/dist/src/profile/dto/delete-profile.dto.js +2 -2
- package/dist/src/profile/dto/find-all-profile.dto.d.ts +47 -7
- package/dist/src/profile/dto/find-all-profile.dto.js +2 -2
- package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +75 -11
- package/dist/src/profile/dto/find-by-date-range-profile.dto.js +3 -3
- package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +32 -13
- package/dist/src/profile/dto/find-by-id-profile.dto.js +7 -5
- package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +30 -6
- package/dist/src/profile/dto/find-by-phone-number.dto.js +2 -2
- package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +47 -7
- package/dist/src/profile/dto/find-by-tag-groups-profile.dto.js +2 -2
- package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +47 -7
- package/dist/src/profile/dto/find-by-tags-profile.dto.js +2 -2
- package/dist/src/profile/dto/find-trash.dto.d.ts +7 -3
- package/dist/src/profile/dto/find-trash.dto.js +2 -2
- package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +47 -7
- package/dist/src/profile/dto/find-with-active-chat.dto.js +2 -2
- package/dist/src/profile/dto/profile.dto.d.ts +44 -30
- package/dist/src/profile/dto/profile.dto.js +6 -63
- package/dist/src/profile/dto/update-profile.dto.d.ts +54 -12
- package/dist/src/profile/dto/update-profile.dto.js +9 -6
- package/dist/src/schema/exports.d.ts +2 -0
- package/dist/src/schema/exports.js +19 -0
- package/dist/src/{location/dto/location.dto.js → schema/location.schema.js} +2 -2
- package/dist/src/schema/profile.schema.d.ts +74 -0
- package/dist/src/schema/profile.schema.js +133 -0
- package/dist/src/shared/dto-modification/zod-without-dates.d.ts +2 -4
- package/dist/src/shared/dto-modification/zod-without-dates.js +8 -0
- package/dist/src/shared/dto-modification/zod-without-dates.js.map +1 -1
- package/dist/src/tag/dto/massive-allocation.dto.d.ts +47 -7
- package/dist/src/tag/dto/massive-allocation.dto.js +3 -3
- package/dist/src/tag/dto/massive-deallocation.dto.d.ts +47 -7
- package/dist/src/tag/dto/massive-deallocation.dto.js +3 -3
- package/dist/src/ticket/constants.d.ts +16 -0
- package/dist/src/ticket/constants.js +272 -0
- package/dist/src/webhook/constants.d.ts +1 -0
- package/dist/src/webhook/constants.js +5 -0
- package/dist/types/prisma-schema/edge.js +38 -24
- package/dist/types/prisma-schema/index-browser.js +18 -9
- package/dist/types/prisma-schema/index.d.ts +4093 -456
- package/dist/types/prisma-schema/index.js +38 -24
- package/dist/types/prisma-schema/libquery_engine-debian-openssl-3.0.x.so.node +0 -0
- package/dist/types/prisma-schema/package.json +8 -2
- package/dist/types/prisma-schema/runtime/edge-esm.js +18 -18
- package/dist/types/prisma-schema/runtime/edge.js +18 -18
- package/dist/types/prisma-schema/runtime/index-browser.d.ts +3 -1
- package/dist/types/prisma-schema/runtime/index-browser.js +3 -3
- package/dist/types/prisma-schema/runtime/library.d.ts +205 -153
- package/dist/types/prisma-schema/runtime/library.js +55 -55
- package/dist/types/prisma-schema/runtime/react-native.js +26 -26
- package/dist/types/prisma-schema/runtime/wasm.js +17 -17
- package/dist/types/prisma-schema/schema.prisma +22 -1
- package/dist/types/prisma-schema/wasm.js +18 -9
- package/dist/types/schema.d.ts +506 -2
- package/package.json +41 -40
- /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;
|