expo-backend-types 0.39.0 → 0.40.0-EXPO-330-ExpoBackend-MercadoPago.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.
Files changed (47) hide show
  1. package/dist/src/csv/dto/download-all-tables.dto.d.ts +0 -1
  2. package/dist/src/event/dto/get-by-id-event.dto.d.ts +20 -0
  3. package/dist/src/exports.d.ts +1 -0
  4. package/dist/src/exports.js +1 -0
  5. package/dist/src/i18n/es.d.ts +8 -0
  6. package/dist/src/i18n/es.js +54 -143
  7. package/dist/src/i18n/es.js.map +1 -1
  8. package/dist/src/i18n/translate.js +2 -2
  9. package/dist/src/i18n/translate.js.map +1 -1
  10. package/dist/src/image/dto/update-image.dto.d.ts +0 -1
  11. package/dist/src/mercadopago/dto/create-preference-mercadopago.dto.d.ts +74 -0
  12. package/dist/src/mercadopago/dto/create-preference-mercadopago.dto.js +21 -0
  13. package/dist/src/mercadopago/dto/webhook-mercadopago.dto.d.ts +80 -0
  14. package/dist/src/mercadopago/dto/webhook-mercadopago.dto.js +24 -0
  15. package/dist/src/mercadopago/exports.d.ts +2 -0
  16. package/dist/src/mercadopago/exports.js +19 -0
  17. package/dist/src/schema/profile.schema.js +17 -7
  18. package/dist/src/shared/dto-modification/create-zod-dto-without-date.js +1 -2
  19. package/dist/src/shared/dto-modification/create-zod-dto-without-date.js.map +1 -1
  20. package/dist/src/ticket/constants.js +1 -2
  21. package/dist/src/ticket/dto/create-many-ticket.dto.d.ts +28 -0
  22. package/dist/src/ticket/dto/create-ticket.dto.d.ts +14 -0
  23. package/dist/src/ticket/dto/delete-ticket.dto.d.ts +12 -0
  24. package/dist/src/ticket/dto/find-all-tickets.dto.d.ts +20 -0
  25. package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +20 -0
  26. package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +20 -0
  27. package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +20 -0
  28. package/dist/src/ticket/dto/find-by-profile-id-ticket.dto.d.ts +20 -0
  29. package/dist/src/ticket/dto/find-ticket.dto.d.ts +12 -0
  30. package/dist/src/ticket/dto/generate-pdf.dto.d.ts +0 -1
  31. package/dist/src/ticket/dto/scan-ticket.dto.d.ts +34 -0
  32. package/dist/src/ticket/dto/scan-ticket.dto.js +21 -0
  33. package/dist/src/ticket/dto/ticket.dto.d.ts +12 -0
  34. package/dist/src/ticket/dto/ticket.dto.js +2 -0
  35. package/dist/src/ticket/dto/update-ticket.dto.d.ts +12 -0
  36. package/dist/src/ticket/exports.d.ts +1 -0
  37. package/dist/src/ticket/exports.js +1 -0
  38. package/dist/src/ticket-group/dto/create-ticket-group.dto.d.ts +20 -0
  39. package/dist/types/prisma-schema/edge.js +5 -3
  40. package/dist/types/prisma-schema/index-browser.js +2 -0
  41. package/dist/types/prisma-schema/index.d.ts +97 -1
  42. package/dist/types/prisma-schema/index.js +5 -3
  43. package/dist/types/prisma-schema/package.json +1 -1
  44. package/dist/types/prisma-schema/schema.prisma +3 -1
  45. package/dist/types/prisma-schema/wasm.js +2 -0
  46. package/dist/types/schema.d.ts +85 -0
  47. package/package.json +15 -15
@@ -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.39.0",
3
+ "version": "0.40.0-EXPO-330-ExpoBackend-MercadoPago.2",
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,26 +33,27 @@
33
33
  "prepublishOnly": "npm run ci"
34
34
  },
35
35
  "dependencies": {
36
- "@anatine/zod-nestjs": "^2.0.9",
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",
40
+ "mercadopago": "^2.4.0",
40
41
  "patch-package": "^8.0.0",
41
42
  "zod": "^3.23.8"
42
43
  },
43
44
  "devDependencies": {
44
45
  "@arethetypeswrong/cli": "^0.17.3",
45
46
  "@changesets/cli": "^2.27.7",
46
- "@nestjs/cli": "^10.0.0",
47
- "@nestjs/common": "^10.0.0",
48
- "@nestjs/config": "^3.2.3",
49
- "@nestjs/core": "^10.0.0",
50
- "@nestjs/jwt": "^10.2.0",
51
- "@nestjs/platform-express": "^10.0.0",
52
- "@nestjs/schematics": "^10.0.0",
53
- "@nestjs/swagger": "^7.3.1",
54
- "@nestjs/testing": "^10.0.0",
55
- "@openapitools/openapi-generator-cli": "^2.13.4",
47
+ "@nestjs/cli": "^11.0.5",
48
+ "@nestjs/common": "^11.0.12",
49
+ "@nestjs/config": "^4.0.2",
50
+ "@nestjs/core": "^11.0.12",
51
+ "@nestjs/jwt": "^11.0.0",
52
+ "@nestjs/platform-express": "^11.0.12",
53
+ "@nestjs/schematics": "^11.0.2",
54
+ "@nestjs/swagger": "^11.1.0",
55
+ "@nestjs/testing": "^11.0.12",
56
+ "@openapitools/openapi-generator-cli": "^2.18.4",
56
57
  "@pdfme/common": "^5.3.13",
57
58
  "@pdfme/generator": "^5.3.13",
58
59
  "@pdfme/schemas": "^5.3.13",
@@ -99,8 +100,7 @@
99
100
  "string-comparison": "^1.3.0",
100
101
  "ts-node": "^10.9.2",
101
102
  "tsconfig-paths": "^4.2.0",
102
- "typescript": "^5.4.5",
103
- "zod": "^3.23.8"
103
+ "typescript": "^5.4.5"
104
104
  },
105
105
  "main": "./dist/types/index.ts",
106
106
  "exports": {