expo-backend-types 0.39.0 → 0.40.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/csv/dto/download-all-tables.dto.d.ts +0 -1
- package/dist/src/event/dto/get-by-id-event.dto.d.ts +20 -0
- package/dist/src/i18n/es.d.ts +8 -0
- package/dist/src/i18n/es.js +54 -143
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/src/i18n/translate.js +2 -2
- package/dist/src/i18n/translate.js.map +1 -1
- package/dist/src/image/dto/update-image.dto.d.ts +0 -1
- package/dist/src/schema/profile.schema.js +17 -7
- package/dist/src/shared/dto-modification/create-zod-dto-without-date.js +1 -2
- package/dist/src/shared/dto-modification/create-zod-dto-without-date.js.map +1 -1
- package/dist/src/ticket/constants.js +1 -2
- package/dist/src/ticket/dto/create-many-ticket.dto.d.ts +28 -0
- package/dist/src/ticket/dto/create-ticket.dto.d.ts +14 -0
- package/dist/src/ticket/dto/delete-ticket.dto.d.ts +12 -0
- package/dist/src/ticket/dto/find-all-tickets.dto.d.ts +20 -0
- package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +20 -0
- package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +20 -0
- package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +20 -0
- package/dist/src/ticket/dto/find-by-profile-id-ticket.dto.d.ts +20 -0
- package/dist/src/ticket/dto/find-ticket.dto.d.ts +12 -0
- package/dist/src/ticket/dto/generate-pdf.dto.d.ts +0 -1
- package/dist/src/ticket/dto/scan-ticket.dto.d.ts +34 -0
- package/dist/src/ticket/dto/scan-ticket.dto.js +21 -0
- package/dist/src/ticket/dto/ticket.dto.d.ts +12 -0
- package/dist/src/ticket/dto/ticket.dto.js +2 -0
- package/dist/src/ticket/dto/update-ticket.dto.d.ts +12 -0
- package/dist/src/ticket/exports.d.ts +1 -0
- package/dist/src/ticket/exports.js +1 -0
- package/dist/src/ticket-group/dto/create-ticket-group.dto.d.ts +20 -0
- package/dist/types/prisma-schema/edge.js +5 -3
- package/dist/types/prisma-schema/index-browser.js +2 -0
- package/dist/types/prisma-schema/index.d.ts +97 -1
- package/dist/types/prisma-schema/index.js +5 -3
- package/dist/types/prisma-schema/package.json +1 -1
- package/dist/types/prisma-schema/schema.prisma +3 -1
- package/dist/types/prisma-schema/wasm.js +2 -0
- package/dist/types/schema.d.ts +85 -0
- package/package.json +14 -15
package/dist/types/schema.d.ts
CHANGED
@@ -1135,6 +1135,22 @@ export interface paths {
|
|
1135
1135
|
patch?: never;
|
1136
1136
|
trace?: never;
|
1137
1137
|
};
|
1138
|
+
"/ticket/scan": {
|
1139
|
+
parameters: {
|
1140
|
+
query?: never;
|
1141
|
+
header?: never;
|
1142
|
+
path?: never;
|
1143
|
+
cookie?: never;
|
1144
|
+
};
|
1145
|
+
get?: never;
|
1146
|
+
put?: never;
|
1147
|
+
post: operations["TicketController_scanTicket"];
|
1148
|
+
delete?: never;
|
1149
|
+
options?: never;
|
1150
|
+
head?: never;
|
1151
|
+
patch?: never;
|
1152
|
+
trace?: never;
|
1153
|
+
};
|
1138
1154
|
"/ticket/send-email/{id}": {
|
1139
1155
|
parameters: {
|
1140
1156
|
query?: never;
|
@@ -2161,6 +2177,8 @@ export interface components {
|
|
2161
2177
|
mail: string;
|
2162
2178
|
dni: string;
|
2163
2179
|
seat: number | null;
|
2180
|
+
scanned: boolean;
|
2181
|
+
scannedAt: string | null;
|
2164
2182
|
ticketGroupId: string | null;
|
2165
2183
|
created_at: string;
|
2166
2184
|
updated_at: string;
|
@@ -2819,6 +2837,8 @@ export interface components {
|
|
2819
2837
|
mail: string;
|
2820
2838
|
dni: string;
|
2821
2839
|
seat: number | null;
|
2840
|
+
scanned: boolean;
|
2841
|
+
scannedAt: string | null;
|
2822
2842
|
ticketGroupId: string | null;
|
2823
2843
|
created_at: string;
|
2824
2844
|
updated_at: string;
|
@@ -2858,6 +2878,8 @@ export interface components {
|
|
2858
2878
|
mail: string;
|
2859
2879
|
dni: string;
|
2860
2880
|
seat: number | null;
|
2881
|
+
scanned: boolean;
|
2882
|
+
scannedAt: string | null;
|
2861
2883
|
ticketGroupId: string | null;
|
2862
2884
|
created_at: string;
|
2863
2885
|
updated_at: string;
|
@@ -2891,6 +2913,8 @@ export interface components {
|
|
2891
2913
|
mail: string;
|
2892
2914
|
dni: string;
|
2893
2915
|
seat: number | null;
|
2916
|
+
scanned: boolean;
|
2917
|
+
scannedAt: string | null;
|
2894
2918
|
ticketGroupId: string | null;
|
2895
2919
|
created_at: string;
|
2896
2920
|
updated_at: string;
|
@@ -2910,6 +2934,8 @@ export interface components {
|
|
2910
2934
|
mail: string;
|
2911
2935
|
dni: string;
|
2912
2936
|
seat: number | null;
|
2937
|
+
scanned: boolean;
|
2938
|
+
scannedAt: string | null;
|
2913
2939
|
ticketGroupId: string | null;
|
2914
2940
|
created_at: string;
|
2915
2941
|
updated_at: string;
|
@@ -2966,6 +2992,8 @@ export interface components {
|
|
2966
2992
|
mail: string;
|
2967
2993
|
dni: string;
|
2968
2994
|
seat: number | null;
|
2995
|
+
scanned: boolean;
|
2996
|
+
scannedAt: string | null;
|
2969
2997
|
ticketGroupId: string | null;
|
2970
2998
|
created_at: string;
|
2971
2999
|
updated_at: string;
|
@@ -3011,6 +3039,8 @@ export interface components {
|
|
3011
3039
|
mail: string;
|
3012
3040
|
dni: string;
|
3013
3041
|
seat: number | null;
|
3042
|
+
scanned: boolean;
|
3043
|
+
scannedAt: string | null;
|
3014
3044
|
ticketGroupId: string | null;
|
3015
3045
|
created_at: string;
|
3016
3046
|
updated_at: string;
|
@@ -3056,6 +3086,8 @@ export interface components {
|
|
3056
3086
|
mail: string;
|
3057
3087
|
dni: string;
|
3058
3088
|
seat: number | null;
|
3089
|
+
scanned: boolean;
|
3090
|
+
scannedAt: string | null;
|
3059
3091
|
ticketGroupId: string | null;
|
3060
3092
|
created_at: string;
|
3061
3093
|
updated_at: string;
|
@@ -3091,6 +3123,8 @@ export interface components {
|
|
3091
3123
|
mail: string;
|
3092
3124
|
dni: string;
|
3093
3125
|
seat: number | null;
|
3126
|
+
scanned: boolean;
|
3127
|
+
scannedAt: string | null;
|
3094
3128
|
ticketGroupId: string | null;
|
3095
3129
|
created_at: string;
|
3096
3130
|
updated_at: string;
|
@@ -3103,6 +3137,8 @@ export interface components {
|
|
3103
3137
|
mail: string;
|
3104
3138
|
dni: string;
|
3105
3139
|
seat: number | null;
|
3140
|
+
scanned: boolean;
|
3141
|
+
scannedAt: string | null;
|
3106
3142
|
ticketGroupId: string | null;
|
3107
3143
|
created_at: string;
|
3108
3144
|
updated_at: string;
|
@@ -3115,10 +3151,18 @@ export interface components {
|
|
3115
3151
|
mail: string;
|
3116
3152
|
dni: string;
|
3117
3153
|
seat: number | null;
|
3154
|
+
scanned: boolean;
|
3155
|
+
scannedAt: string | null;
|
3118
3156
|
ticketGroupId: string | null;
|
3119
3157
|
created_at: string;
|
3120
3158
|
updated_at: string;
|
3121
3159
|
};
|
3160
|
+
ScanTicketDto: {
|
3161
|
+
ticketBarcode: string;
|
3162
|
+
};
|
3163
|
+
ScanTicketResponseDto: {
|
3164
|
+
success: boolean;
|
3165
|
+
};
|
3122
3166
|
SendEmailResponseDto: {
|
3123
3167
|
mailId: string;
|
3124
3168
|
};
|
@@ -3142,6 +3186,8 @@ export interface components {
|
|
3142
3186
|
mail: string;
|
3143
3187
|
dni: string;
|
3144
3188
|
seat: number | null;
|
3189
|
+
scanned: boolean;
|
3190
|
+
scannedAt: string | null;
|
3145
3191
|
ticketGroupId: string | null;
|
3146
3192
|
created_at: string;
|
3147
3193
|
updated_at: string;
|
@@ -5664,6 +5710,45 @@ export interface operations {
|
|
5664
5710
|
};
|
5665
5711
|
};
|
5666
5712
|
};
|
5713
|
+
TicketController_scanTicket: {
|
5714
|
+
parameters: {
|
5715
|
+
query?: never;
|
5716
|
+
header?: never;
|
5717
|
+
path?: never;
|
5718
|
+
cookie?: never;
|
5719
|
+
};
|
5720
|
+
requestBody: {
|
5721
|
+
content: {
|
5722
|
+
"application/json": components["schemas"]["ScanTicketDto"];
|
5723
|
+
};
|
5724
|
+
};
|
5725
|
+
responses: {
|
5726
|
+
200: {
|
5727
|
+
headers: {
|
5728
|
+
[name: string]: unknown;
|
5729
|
+
};
|
5730
|
+
content: {
|
5731
|
+
"application/json": components["schemas"]["ScanTicketResponseDto"];
|
5732
|
+
};
|
5733
|
+
};
|
5734
|
+
404: {
|
5735
|
+
headers: {
|
5736
|
+
[name: string]: unknown;
|
5737
|
+
};
|
5738
|
+
content: {
|
5739
|
+
"application/json": components["schemas"]["ErrorDto"];
|
5740
|
+
};
|
5741
|
+
};
|
5742
|
+
409: {
|
5743
|
+
headers: {
|
5744
|
+
[name: string]: unknown;
|
5745
|
+
};
|
5746
|
+
content: {
|
5747
|
+
"application/json": components["schemas"]["ErrorDto"];
|
5748
|
+
};
|
5749
|
+
};
|
5750
|
+
};
|
5751
|
+
};
|
5667
5752
|
TicketController_sendEmail: {
|
5668
5753
|
parameters: {
|
5669
5754
|
query?: never;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "expo-backend-types",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.40.0",
|
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 && 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 --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",
|
19
19
|
"build": "nest build",
|
20
20
|
"postinstall": "patch-package",
|
21
21
|
"format": "prettier --write \"src/**/*.ts\" \"types/**/*.ts\"",
|
@@ -33,7 +33,7 @@
|
|
33
33
|
"prepublishOnly": "npm run ci"
|
34
34
|
},
|
35
35
|
"dependencies": {
|
36
|
-
"@anatine/zod-nestjs": "^2.0.
|
36
|
+
"@anatine/zod-nestjs": "^2.0.10",
|
37
37
|
"@anatine/zod-openapi": "^2.2.6",
|
38
38
|
"i18n-js": "^4.4.3",
|
39
39
|
"libphonenumber-js": "^1.12.6",
|
@@ -43,16 +43,16 @@
|
|
43
43
|
"devDependencies": {
|
44
44
|
"@arethetypeswrong/cli": "^0.17.3",
|
45
45
|
"@changesets/cli": "^2.27.7",
|
46
|
-
"@nestjs/cli": "^
|
47
|
-
"@nestjs/common": "^
|
48
|
-
"@nestjs/config": "^
|
49
|
-
"@nestjs/core": "^
|
50
|
-
"@nestjs/jwt": "^
|
51
|
-
"@nestjs/platform-express": "^
|
52
|
-
"@nestjs/schematics": "^
|
53
|
-
"@nestjs/swagger": "^
|
54
|
-
"@nestjs/testing": "^
|
55
|
-
"@openapitools/openapi-generator-cli": "^2.
|
46
|
+
"@nestjs/cli": "^11.0.5",
|
47
|
+
"@nestjs/common": "^11.0.12",
|
48
|
+
"@nestjs/config": "^4.0.2",
|
49
|
+
"@nestjs/core": "^11.0.12",
|
50
|
+
"@nestjs/jwt": "^11.0.0",
|
51
|
+
"@nestjs/platform-express": "^11.0.12",
|
52
|
+
"@nestjs/schematics": "^11.0.2",
|
53
|
+
"@nestjs/swagger": "^11.1.0",
|
54
|
+
"@nestjs/testing": "^11.0.12",
|
55
|
+
"@openapitools/openapi-generator-cli": "^2.18.4",
|
56
56
|
"@pdfme/common": "^5.3.13",
|
57
57
|
"@pdfme/generator": "^5.3.13",
|
58
58
|
"@pdfme/schemas": "^5.3.13",
|
@@ -99,8 +99,7 @@
|
|
99
99
|
"string-comparison": "^1.3.0",
|
100
100
|
"ts-node": "^10.9.2",
|
101
101
|
"tsconfig-paths": "^4.2.0",
|
102
|
-
"typescript": "^5.4.5"
|
103
|
-
"zod": "^3.23.8"
|
102
|
+
"typescript": "^5.4.5"
|
104
103
|
},
|
105
104
|
"main": "./dist/types/index.ts",
|
106
105
|
"exports": {
|