expo-backend-types 0.35.0-EXPO-323-Enviar-mail-ticket.1 → 0.35.0-EXPO-323-Enviar-mail-ticket.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.
- package/dist/src/account/dto/account.dto.d.ts +6 -4
- package/dist/src/account/dto/create-account.dto.d.ts +12 -8
- package/dist/src/account/dto/get-global-filter.dto.d.ts +1 -0
- package/dist/src/account/dto/get-me.dto.d.ts +6 -4
- package/dist/src/account/dto/update-global-filter.dto.d.ts +6 -4
- package/dist/src/auth/dto/login.dto.d.ts +11 -8
- package/dist/src/comment/dto/get-by-profile-comment.dto.d.ts +1 -0
- package/dist/src/i18n/es.d.ts +10 -0
- package/dist/src/i18n/es.js +10 -0
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/src/mi-expo/dto/get-me.dto.d.ts +6 -4
- package/dist/src/mi-expo/dto/login-with-phone.dto.d.ts +10 -8
- package/dist/src/mi-expo/dto/login.dto.d.ts +11 -8
- package/dist/src/mi-expo/dto/update-me.dto.d.ts +6 -4
- package/dist/src/otp/dto/verify-otp.dto.d.ts +10 -8
- package/dist/src/profile/dto/create-profile.dto.d.ts +4 -0
- package/dist/src/profile/dto/delete-profile.dto.d.ts +6 -4
- package/dist/src/profile/dto/find-all-profile.dto.d.ts +10 -8
- package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +16 -12
- package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +6 -4
- package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +6 -4
- package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +10 -8
- package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +10 -8
- package/dist/src/profile/dto/find-trash.dto.d.ts +1 -0
- package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +10 -8
- package/dist/src/profile/dto/profile.dto.d.ts +3 -2
- package/dist/src/profile/dto/update-profile.dto.d.ts +6 -4
- package/dist/src/schema/profile.schema.d.ts +3 -2
- package/dist/src/tag/dto/massive-allocation.dto.d.ts +10 -8
- package/dist/src/tag/dto/massive-deallocation.dto.d.ts +10 -8
- package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +14 -12
- package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +14 -12
- package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +14 -12
- package/dist/src/ticket/dto/send-email.dto.d.ts +18 -0
- package/dist/src/ticket/dto/send-email.dto.js +15 -0
- package/dist/types/prisma-schema/edge.js +5 -4
- package/dist/types/prisma-schema/index-browser.js +2 -1
- package/dist/types/prisma-schema/index.d.ts +2 -1
- package/dist/types/prisma-schema/index.js +5 -4
- package/dist/types/prisma-schema/package.json +1 -1
- package/dist/types/prisma-schema/schema.prisma +1 -0
- package/dist/types/prisma-schema/wasm.js +2 -1
- package/dist/types/schema.d.ts +78 -22
- package/package.json +3 -2
package/dist/types/schema.d.ts
CHANGED
@@ -1119,6 +1119,22 @@ export interface paths {
|
|
1119
1119
|
patch?: never;
|
1120
1120
|
trace?: never;
|
1121
1121
|
};
|
1122
|
+
"/ticket/send-email/{id}": {
|
1123
|
+
parameters: {
|
1124
|
+
query?: never;
|
1125
|
+
header?: never;
|
1126
|
+
path?: never;
|
1127
|
+
cookie?: never;
|
1128
|
+
};
|
1129
|
+
get?: never;
|
1130
|
+
put?: never;
|
1131
|
+
post: operations["TicketController_sendEmail"];
|
1132
|
+
delete?: never;
|
1133
|
+
options?: never;
|
1134
|
+
head?: never;
|
1135
|
+
patch?: never;
|
1136
|
+
trace?: never;
|
1137
|
+
};
|
1122
1138
|
"/webhook": {
|
1123
1139
|
parameters: {
|
1124
1140
|
query?: never;
|
@@ -1259,7 +1275,7 @@ export interface components {
|
|
1259
1275
|
user: {
|
1260
1276
|
id: string;
|
1261
1277
|
username: string;
|
1262
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
1278
|
+
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS";
|
1263
1279
|
isGlobalFilterActive: boolean;
|
1264
1280
|
fcmToken: string[];
|
1265
1281
|
created_at: string;
|
@@ -1371,7 +1387,7 @@ export interface components {
|
|
1371
1387
|
profiles: {
|
1372
1388
|
id: string;
|
1373
1389
|
shortId: number;
|
1374
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
1390
|
+
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS";
|
1375
1391
|
firstTimeMiExpo: boolean;
|
1376
1392
|
username: string | null;
|
1377
1393
|
password: string | null;
|
@@ -1403,7 +1419,7 @@ export interface components {
|
|
1403
1419
|
profiles: {
|
1404
1420
|
id: string;
|
1405
1421
|
shortId: number;
|
1406
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
1422
|
+
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS";
|
1407
1423
|
firstTimeMiExpo: boolean;
|
1408
1424
|
username: string | null;
|
1409
1425
|
password: string | null;
|
@@ -1430,12 +1446,12 @@ export interface components {
|
|
1430
1446
|
CreateAccountDto: {
|
1431
1447
|
username: string;
|
1432
1448
|
password: string;
|
1433
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
1449
|
+
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS";
|
1434
1450
|
};
|
1435
1451
|
CreateAccountResponseDto: {
|
1436
1452
|
id: string;
|
1437
1453
|
username: string;
|
1438
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
1454
|
+
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS";
|
1439
1455
|
isGlobalFilterActive: boolean;
|
1440
1456
|
fcmToken: string[];
|
1441
1457
|
};
|
@@ -1447,7 +1463,7 @@ export interface components {
|
|
1447
1463
|
id: string;
|
1448
1464
|
username: string;
|
1449
1465
|
password: string;
|
1450
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
1466
|
+
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS";
|
1451
1467
|
isGlobalFilterActive: boolean;
|
1452
1468
|
fcmToken: string[];
|
1453
1469
|
created_at: string;
|
@@ -1477,7 +1493,7 @@ export interface components {
|
|
1477
1493
|
GetMeResponseDto: {
|
1478
1494
|
id: string;
|
1479
1495
|
username: string;
|
1480
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
1496
|
+
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS";
|
1481
1497
|
isGlobalFilterActive: boolean;
|
1482
1498
|
fcmToken: string[];
|
1483
1499
|
created_at: string;
|
@@ -2146,7 +2162,7 @@ export interface components {
|
|
2146
2162
|
profiles: {
|
2147
2163
|
id: string;
|
2148
2164
|
shortId: number;
|
2149
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
2165
|
+
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS";
|
2150
2166
|
firstTimeMiExpo: boolean;
|
2151
2167
|
username: string | null;
|
2152
2168
|
password: string | null;
|
@@ -2186,7 +2202,7 @@ export interface components {
|
|
2186
2202
|
profiles: {
|
2187
2203
|
id: string;
|
2188
2204
|
shortId: number;
|
2189
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
2205
|
+
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS";
|
2190
2206
|
firstTimeMiExpo: boolean;
|
2191
2207
|
username: string | null;
|
2192
2208
|
password: string | null;
|
@@ -2244,7 +2260,7 @@ export interface components {
|
|
2244
2260
|
profiles: {
|
2245
2261
|
id: string;
|
2246
2262
|
shortId: number;
|
2247
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
2263
|
+
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS";
|
2248
2264
|
firstTimeMiExpo: boolean;
|
2249
2265
|
username: string | null;
|
2250
2266
|
password: string | null;
|
@@ -2285,7 +2301,7 @@ export interface components {
|
|
2285
2301
|
profiles: {
|
2286
2302
|
id: string;
|
2287
2303
|
shortId: number;
|
2288
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
2304
|
+
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS";
|
2289
2305
|
firstTimeMiExpo: boolean;
|
2290
2306
|
username: string | null;
|
2291
2307
|
password: string | null;
|
@@ -2321,7 +2337,7 @@ export interface components {
|
|
2321
2337
|
[key: string]: {
|
2322
2338
|
id: string;
|
2323
2339
|
shortId: number;
|
2324
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
2340
|
+
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS";
|
2325
2341
|
firstTimeMiExpo: boolean;
|
2326
2342
|
username: string | null;
|
2327
2343
|
password: string | null;
|
@@ -2359,7 +2375,7 @@ export interface components {
|
|
2359
2375
|
FindByPhoneNumberResponseDto: {
|
2360
2376
|
id: string;
|
2361
2377
|
shortId: number;
|
2362
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
2378
|
+
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS";
|
2363
2379
|
firstTimeMiExpo: boolean;
|
2364
2380
|
username: string | null;
|
2365
2381
|
password: string | null;
|
@@ -2449,7 +2465,7 @@ export interface components {
|
|
2449
2465
|
FindByIdProfileResponseDto: {
|
2450
2466
|
id: string;
|
2451
2467
|
shortId: number;
|
2452
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
2468
|
+
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS";
|
2453
2469
|
firstTimeMiExpo: boolean;
|
2454
2470
|
username: string | null;
|
2455
2471
|
phoneNumber: string;
|
@@ -2507,7 +2523,7 @@ export interface components {
|
|
2507
2523
|
DeleteProfileResponseDto: {
|
2508
2524
|
id: string;
|
2509
2525
|
shortId: number;
|
2510
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
2526
|
+
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS";
|
2511
2527
|
firstTimeMiExpo: boolean;
|
2512
2528
|
username: string | null;
|
2513
2529
|
password: string | null;
|
@@ -2740,7 +2756,7 @@ export interface components {
|
|
2740
2756
|
profile: {
|
2741
2757
|
id: string;
|
2742
2758
|
shortId: number;
|
2743
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
2759
|
+
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS";
|
2744
2760
|
firstTimeMiExpo: boolean;
|
2745
2761
|
username: string | null;
|
2746
2762
|
password: string | null;
|
@@ -2783,7 +2799,7 @@ export interface components {
|
|
2783
2799
|
profile: {
|
2784
2800
|
id: string;
|
2785
2801
|
shortId: number;
|
2786
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
2802
|
+
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS";
|
2787
2803
|
firstTimeMiExpo: boolean;
|
2788
2804
|
username: string | null;
|
2789
2805
|
password: string | null;
|
@@ -2826,7 +2842,7 @@ export interface components {
|
|
2826
2842
|
profile: {
|
2827
2843
|
id: string;
|
2828
2844
|
shortId: number;
|
2829
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
2845
|
+
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS";
|
2830
2846
|
firstTimeMiExpo: boolean;
|
2831
2847
|
username: string | null;
|
2832
2848
|
password: string | null;
|
@@ -2914,6 +2930,9 @@ export interface components {
|
|
2914
2930
|
created_at: string;
|
2915
2931
|
updated_at: string;
|
2916
2932
|
};
|
2933
|
+
SendEmailResponseDto: {
|
2934
|
+
mailId: string;
|
2935
|
+
};
|
2917
2936
|
SendOtpDto: {
|
2918
2937
|
phoneNumber: string;
|
2919
2938
|
};
|
@@ -2938,7 +2957,7 @@ export interface components {
|
|
2938
2957
|
profile: {
|
2939
2958
|
id: string;
|
2940
2959
|
shortId: number;
|
2941
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
2960
|
+
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS";
|
2942
2961
|
firstTimeMiExpo: boolean;
|
2943
2962
|
username: string | null;
|
2944
2963
|
password: string | null;
|
@@ -2986,7 +3005,7 @@ export interface components {
|
|
2986
3005
|
profile: {
|
2987
3006
|
id: string;
|
2988
3007
|
shortId: number;
|
2989
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
3008
|
+
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS";
|
2990
3009
|
firstTimeMiExpo: boolean;
|
2991
3010
|
username: string | null;
|
2992
3011
|
phoneNumber: string;
|
@@ -3012,7 +3031,7 @@ export interface components {
|
|
3012
3031
|
GetMiExpoMeResponseDto: {
|
3013
3032
|
id: string;
|
3014
3033
|
shortId: number;
|
3015
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
3034
|
+
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS";
|
3016
3035
|
firstTimeMiExpo: boolean;
|
3017
3036
|
username: string | null;
|
3018
3037
|
phoneNumber: string;
|
@@ -3099,7 +3118,7 @@ export interface components {
|
|
3099
3118
|
user: {
|
3100
3119
|
id: string;
|
3101
3120
|
shortId: number;
|
3102
|
-
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
|
3121
|
+
role: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | "TICKETS";
|
3103
3122
|
firstTimeMiExpo: boolean;
|
3104
3123
|
username: string | null;
|
3105
3124
|
phoneNumber: string;
|
@@ -5355,6 +5374,43 @@ export interface operations {
|
|
5355
5374
|
};
|
5356
5375
|
};
|
5357
5376
|
};
|
5377
|
+
TicketController_sendEmail: {
|
5378
|
+
parameters: {
|
5379
|
+
query?: never;
|
5380
|
+
header?: never;
|
5381
|
+
path: {
|
5382
|
+
id: string;
|
5383
|
+
};
|
5384
|
+
cookie?: never;
|
5385
|
+
};
|
5386
|
+
requestBody?: never;
|
5387
|
+
responses: {
|
5388
|
+
200: {
|
5389
|
+
headers: {
|
5390
|
+
[name: string]: unknown;
|
5391
|
+
};
|
5392
|
+
content: {
|
5393
|
+
"application/json": components["schemas"]["SendEmailResponseDto"];
|
5394
|
+
};
|
5395
|
+
};
|
5396
|
+
401: {
|
5397
|
+
headers: {
|
5398
|
+
[name: string]: unknown;
|
5399
|
+
};
|
5400
|
+
content: {
|
5401
|
+
"application/json": components["schemas"]["ErrorDto"];
|
5402
|
+
};
|
5403
|
+
};
|
5404
|
+
404: {
|
5405
|
+
headers: {
|
5406
|
+
[name: string]: unknown;
|
5407
|
+
};
|
5408
|
+
content: {
|
5409
|
+
"application/json": components["schemas"]["ErrorDto"];
|
5410
|
+
};
|
5411
|
+
};
|
5412
|
+
};
|
5413
|
+
};
|
5358
5414
|
WebhookController_verify: {
|
5359
5415
|
parameters: {
|
5360
5416
|
query: {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "expo-backend-types",
|
3
|
-
"version": "0.35.0-EXPO-323-Enviar-mail-ticket.
|
3
|
+
"version": "0.35.0-EXPO-323-Enviar-mail-ticket.2",
|
4
4
|
"description": "",
|
5
5
|
"author": "Expo",
|
6
6
|
"private": false,
|
@@ -73,10 +73,10 @@
|
|
73
73
|
"class-validator": "^0.14.1",
|
74
74
|
"country-state-city": "^3.2.1",
|
75
75
|
"date-fns": "^4.1.0",
|
76
|
+
"eslint": "^9.11.1",
|
76
77
|
"eslint-config-prettier": "^9.0.0",
|
77
78
|
"eslint-plugin-prettier": "^5.0.0",
|
78
79
|
"eslint-plugin-unused-imports": "^4.1.4",
|
79
|
-
"eslint": "^9.11.1",
|
80
80
|
"exceljs": "^4.4.0",
|
81
81
|
"fast-csv": "^5.0.2",
|
82
82
|
"globals": "^15.10.0",
|
@@ -93,6 +93,7 @@
|
|
93
93
|
"prettier": "^3.0.0",
|
94
94
|
"prisma": "^6.3.1",
|
95
95
|
"reflect-metadata": "^0.2.0",
|
96
|
+
"resend": "^4.1.2",
|
96
97
|
"source-map-support": "^0.5.21",
|
97
98
|
"string-comparison": "^1.3.0",
|
98
99
|
"ts-node": "^10.9.2",
|