expo-backend-types 0.25.0-EXPO-251-EB-Whatsapp.4 → 0.25.0-EXPO-251-EB-Whatsapp.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (30) hide show
  1. package/dist/src/i18n/es.d.ts +24 -0
  2. package/dist/src/i18n/es.js +24 -0
  3. package/dist/src/i18n/es.js.map +1 -1
  4. package/dist/src/image/dto/delete-image.dto.d.ts +18 -0
  5. package/dist/src/image/dto/delete-image.dto.js +12 -0
  6. package/dist/src/image/dto/image.dto.d.ts +24 -0
  7. package/dist/src/image/dto/image.dto.js +18 -0
  8. package/dist/src/image/dto/update-image.dto.d.ts +18 -0
  9. package/dist/src/image/dto/update-image.dto.js +15 -0
  10. package/dist/src/image/exports.d.ts +3 -0
  11. package/dist/src/image/exports.js +20 -0
  12. package/dist/types/prisma-schema/default.d.ts +1 -1
  13. package/dist/types/prisma-schema/edge.d.ts +1 -1
  14. package/dist/types/prisma-schema/edge.js +11 -7
  15. package/dist/types/prisma-schema/index-browser.js +7 -4
  16. package/dist/types/prisma-schema/index.d.ts +803 -1034
  17. package/dist/types/prisma-schema/index.js +11 -7
  18. package/dist/types/prisma-schema/libquery_engine-debian-openssl-1.1.x.so.node +0 -0
  19. package/dist/types/prisma-schema/package.json +14 -1
  20. package/dist/types/prisma-schema/runtime/edge-esm.js +21 -18
  21. package/dist/types/prisma-schema/runtime/edge.js +21 -18
  22. package/dist/types/prisma-schema/runtime/index-browser.js +1 -1
  23. package/dist/types/prisma-schema/runtime/library.d.ts +297 -87
  24. package/dist/types/prisma-schema/runtime/library.js +64 -61
  25. package/dist/types/prisma-schema/runtime/react-native.js +31 -28
  26. package/dist/types/prisma-schema/runtime/wasm.js +22 -19
  27. package/dist/types/prisma-schema/wasm.d.ts +1 -1
  28. package/dist/types/prisma-schema/wasm.js +7 -4
  29. package/dist/types/schema.d.ts +120 -0
  30. package/package.json +5 -3
@@ -1 +1 @@
1
- export * from './index'
1
+ export * from "./index"
@@ -7,6 +7,7 @@ const {
7
7
  makeStrictEnum,
8
8
  Public,
9
9
  getRuntime,
10
+ skip
10
11
  } = require('./runtime/index-browser.js')
11
12
 
12
13
 
@@ -16,12 +17,12 @@ exports.Prisma = Prisma
16
17
  exports.$Enums = {}
17
18
 
18
19
  /**
19
- * Prisma Client JS version: 5.14.0
20
- * Query Engine version: e9771e62de70f79a5e1c604a2d7c8e2a0a874b48
20
+ * Prisma Client JS version: 5.22.0
21
+ * Query Engine version: 605197351a3c8bdd595af2d2a9bc3025bca48ea2
21
22
  */
22
23
  Prisma.prismaVersion = {
23
- client: "5.14.0",
24
- engine: "e9771e62de70f79a5e1c604a2d7c8e2a0a874b48"
24
+ client: "5.22.0",
25
+ engine: "605197351a3c8bdd595af2d2a9bc3025bca48ea2"
25
26
  }
26
27
 
27
28
  Prisma.PrismaClientKnownRequestError = () => {
@@ -108,6 +109,8 @@ Prisma.NullTypes = {
108
109
  AnyNull: objectEnumValues.classes.AnyNull
109
110
  }
110
111
 
112
+
113
+
111
114
  /**
112
115
  * Enums
113
116
  */
@@ -703,6 +703,38 @@ export interface paths {
703
703
  patch: operations["ProfileController_update"];
704
704
  trace?: never;
705
705
  };
706
+ "/image/update/{id}": {
707
+ parameters: {
708
+ query?: never;
709
+ header?: never;
710
+ path?: never;
711
+ cookie?: never;
712
+ };
713
+ get?: never;
714
+ put?: never;
715
+ post?: never;
716
+ delete?: never;
717
+ options?: never;
718
+ head?: never;
719
+ patch: operations["ImageController_updateImage"];
720
+ trace?: never;
721
+ };
722
+ "/image/delete/{id}": {
723
+ parameters: {
724
+ query?: never;
725
+ header?: never;
726
+ path?: never;
727
+ cookie?: never;
728
+ };
729
+ get?: never;
730
+ put?: never;
731
+ post?: never;
732
+ delete: operations["ImageController_deleteImage"];
733
+ options?: never;
734
+ head?: never;
735
+ patch?: never;
736
+ trace?: never;
737
+ };
706
738
  "/csv/download-profiles": {
707
739
  parameters: {
708
740
  query?: never;
@@ -2013,6 +2045,12 @@ export interface components {
2013
2045
  };
2014
2046
  tags?: string[];
2015
2047
  };
2048
+ UpdateImageResponseDto: {
2049
+ message: string;
2050
+ };
2051
+ DeleteImageResponseDto: {
2052
+ message: string;
2053
+ };
2016
2054
  DownloadProfilesDto: {
2017
2055
  password: string;
2018
2056
  };
@@ -3543,6 +3581,88 @@ export interface operations {
3543
3581
  };
3544
3582
  };
3545
3583
  };
3584
+ ImageController_updateImage: {
3585
+ parameters: {
3586
+ query?: never;
3587
+ header?: never;
3588
+ path: {
3589
+ id: string;
3590
+ };
3591
+ cookie?: never;
3592
+ };
3593
+ requestBody?: never;
3594
+ responses: {
3595
+ 200: {
3596
+ headers: {
3597
+ [name: string]: unknown;
3598
+ };
3599
+ content: {
3600
+ "application/json": components["schemas"]["UpdateImageResponseDto"];
3601
+ };
3602
+ };
3603
+ 409: {
3604
+ headers: {
3605
+ [name: string]: unknown;
3606
+ };
3607
+ content: {
3608
+ "application/json": components["schemas"]["ErrorDto"];
3609
+ };
3610
+ };
3611
+ 422: {
3612
+ headers: {
3613
+ [name: string]: unknown;
3614
+ };
3615
+ content: {
3616
+ "application/json": components["schemas"]["ErrorDto"];
3617
+ };
3618
+ };
3619
+ 500: {
3620
+ headers: {
3621
+ [name: string]: unknown;
3622
+ };
3623
+ content: {
3624
+ "application/json": components["schemas"]["ErrorDto"];
3625
+ };
3626
+ };
3627
+ };
3628
+ };
3629
+ ImageController_deleteImage: {
3630
+ parameters: {
3631
+ query?: never;
3632
+ header?: never;
3633
+ path: {
3634
+ id: string;
3635
+ };
3636
+ cookie?: never;
3637
+ };
3638
+ requestBody?: never;
3639
+ responses: {
3640
+ 200: {
3641
+ headers: {
3642
+ [name: string]: unknown;
3643
+ };
3644
+ content: {
3645
+ "application/json": components["schemas"]["DeleteImageResponseDto"];
3646
+ };
3647
+ };
3648
+ 404: {
3649
+ headers: {
3650
+ [name: string]: unknown;
3651
+ };
3652
+ content: {
3653
+ "application/json": components["schemas"]["ErrorDto"];
3654
+ };
3655
+ };
3656
+ 500: {
3657
+ headers: {
3658
+ [name: string]: unknown;
3659
+ };
3660
+ content: {
3661
+ "application/json": components["schemas"]["ErrorDto"];
3662
+ };
3663
+ };
3664
+ };
3665
+ };
3546
3666
  CsvController_downloadProfiles: {
3547
3667
  parameters: {
3548
3668
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-backend-types",
3
- "version": "0.25.0-EXPO-251-EB-Whatsapp.4",
3
+ "version": "0.25.0-EXPO-251-EB-Whatsapp.6",
4
4
  "description": "",
5
5
  "author": "Expo",
6
6
  "private": false,
@@ -44,7 +44,7 @@
44
44
  "@nestjs/jwt": "^10.2.0",
45
45
  "@nestjs/platform-express": "^10.0.0",
46
46
  "@nestjs/swagger": "^7.3.1",
47
- "@prisma/client": "^5.14.0",
47
+ "@prisma/client": "^5.22.0",
48
48
  "bcrypt": "^5.1.1",
49
49
  "body-parser": "^1.20.3",
50
50
  "class-transformer": "^0.5.1",
@@ -55,6 +55,7 @@
55
55
  "fast-csv": "^5.0.2",
56
56
  "i18n-js": "^4.4.3",
57
57
  "json-to-pretty-yaml": "^1.2.2",
58
+ "multer": "^1.4.5-lts.1",
58
59
  "jszip": "^3.10.1",
59
60
  "openapi3-ts": "^4.4.0",
60
61
  "patch-package": "^8.0.0",
@@ -74,6 +75,7 @@
74
75
  "@types/jest": "^29.5.2",
75
76
  "@types/json-to-pretty-yaml": "^1.2.1",
76
77
  "@types/luxon": "^3.4.2",
78
+ "@types/multer": "^1.4.12",
77
79
  "@types/node": "^20.3.1",
78
80
  "@types/supertest": "^6.0.0",
79
81
  "@typescript-eslint/eslint-plugin": "^8.8.0",
@@ -89,7 +91,7 @@
89
91
  "luxon": "^3.5.0",
90
92
  "openapi-typescript": "^7.0.0-rc.0",
91
93
  "prettier": "^3.0.0",
92
- "prisma": "^5.14.0",
94
+ "prisma": "^5.22.0",
93
95
  "source-map-support": "^0.5.21",
94
96
  "supertest": "^6.3.3",
95
97
  "ts-jest": "^29.1.0",