expo-backend-types 0.30.0-EXPO-311-EB-Modificar-DB-schema.1 → 0.30.0-EXPO-308-auth.12

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 (72) hide show
  1. package/dist/src/auth/dto/login-mi-expo.dto.d.ts +327 -0
  2. package/dist/src/auth/dto/login-mi-expo.dto.js +31 -0
  3. package/dist/src/exports.d.ts +2 -0
  4. package/dist/src/exports.js +2 -0
  5. package/dist/src/i18n/es.d.ts +19 -0
  6. package/dist/src/i18n/es.js +19 -0
  7. package/dist/src/i18n/es.js.map +1 -1
  8. package/dist/src/image/constants.d.ts +5 -0
  9. package/dist/src/image/constants.js +9 -0
  10. package/dist/src/message/dto/non-read-messages.dto.d.ts +2 -2
  11. package/dist/src/message/dto/non-read-messages.dto.js +2 -2
  12. package/dist/src/message/dto/send-message-to-phone.dto.d.ts +2 -2
  13. package/dist/src/message/dto/send-message-to-phone.dto.js +2 -2
  14. package/dist/src/otp/constants.d.ts +2 -0
  15. package/dist/src/otp/constants.js +6 -0
  16. package/dist/src/otp/dto/send-otp.dto.d.ts +158 -0
  17. package/dist/src/otp/dto/send-otp.dto.js +35 -0
  18. package/dist/src/otp/dto/verify-otp.dto.d.ts +286 -0
  19. package/dist/src/otp/dto/verify-otp.dto.js +28 -0
  20. package/dist/src/otp/exports.d.ts +2 -0
  21. package/dist/src/otp/exports.js +19 -0
  22. package/dist/src/prisma/constants.d.ts +1 -0
  23. package/dist/src/prisma/constants.js +5 -0
  24. package/dist/src/prisma/dtos.dto.d.ts +74 -0
  25. package/dist/src/prisma/dtos.dto.js +133 -0
  26. package/dist/src/profile/dto/create-profile.dto.d.ts +26 -10
  27. package/dist/src/profile/dto/create-profile.dto.js +4 -4
  28. package/dist/src/profile/dto/delete-profile.dto.d.ts +28 -4
  29. package/dist/src/profile/dto/delete-profile.dto.js +2 -2
  30. package/dist/src/profile/dto/find-all-profile.dto.d.ts +44 -4
  31. package/dist/src/profile/dto/find-all-profile.dto.js +2 -2
  32. package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +72 -8
  33. package/dist/src/profile/dto/find-by-date-range-profile.dto.js +3 -3
  34. package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +28 -4
  35. package/dist/src/profile/dto/find-by-id-profile.dto.js +2 -2
  36. package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +28 -4
  37. package/dist/src/profile/dto/find-by-phone-number.dto.js +2 -2
  38. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +44 -4
  39. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.js +2 -2
  40. package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +44 -4
  41. package/dist/src/profile/dto/find-by-tags-profile.dto.js +2 -2
  42. package/dist/src/profile/dto/find-trash.dto.d.ts +7 -3
  43. package/dist/src/profile/dto/find-trash.dto.js +2 -2
  44. package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +44 -4
  45. package/dist/src/profile/dto/find-with-active-chat.dto.js +2 -2
  46. package/dist/src/profile/dto/profile.dto.d.ts +43 -29
  47. package/dist/src/profile/dto/profile.dto.js +6 -63
  48. package/dist/src/profile/dto/update-profile.dto.d.ts +32 -8
  49. package/dist/src/profile/dto/update-profile.dto.js +3 -3
  50. package/dist/src/tag/dto/massive-allocation.dto.d.ts +44 -4
  51. package/dist/src/tag/dto/massive-allocation.dto.js +3 -3
  52. package/dist/src/tag/dto/massive-deallocation.dto.d.ts +44 -4
  53. package/dist/src/tag/dto/massive-deallocation.dto.js +3 -3
  54. package/dist/src/webhook/constants.d.ts +1 -0
  55. package/dist/src/webhook/constants.js +5 -0
  56. package/dist/types/prisma-schema/edge.js +38 -24
  57. package/dist/types/prisma-schema/index-browser.js +18 -9
  58. package/dist/types/prisma-schema/index.d.ts +3862 -511
  59. package/dist/types/prisma-schema/index.js +38 -24
  60. package/dist/types/prisma-schema/libquery_engine-debian-openssl-3.0.x.so.node +0 -0
  61. package/dist/types/prisma-schema/package.json +2 -2
  62. package/dist/types/prisma-schema/runtime/edge-esm.js +18 -18
  63. package/dist/types/prisma-schema/runtime/edge.js +18 -18
  64. package/dist/types/prisma-schema/runtime/index-browser.d.ts +1 -1
  65. package/dist/types/prisma-schema/runtime/library.d.ts +177 -133
  66. package/dist/types/prisma-schema/runtime/library.js +51 -51
  67. package/dist/types/prisma-schema/runtime/react-native.js +26 -26
  68. package/dist/types/prisma-schema/runtime/wasm.js +19 -19
  69. package/dist/types/prisma-schema/schema.prisma +22 -1
  70. package/dist/types/prisma-schema/wasm.js +18 -9
  71. package/dist/types/schema.d.ts +277 -2
  72. package/package.json +27 -24
@@ -44,7 +44,15 @@ model Profile {
44
44
  id String @id @default(uuid())
45
45
  shortId Int @map("short_id")
46
46
 
47
- phoneNumber String @unique @map("phone_number")
47
+ firstTimeMiExpo Boolean @default(true) @map("first_time_mi_expo")
48
+
49
+ username String? @unique
50
+ password String?
51
+
52
+ phoneNumber String @unique @map("phone_number")
53
+ isPhoneVerified Boolean @default(false) @map("is_phone_verified")
54
+ otp Otp[]
55
+
48
56
  secondaryPhoneNumber String? @unique @map("secondary_phone_number")
49
57
  fullName String @map("full_name")
50
58
  firstName String? @map("first_name")
@@ -75,6 +83,19 @@ model Profile {
75
83
  @@map("PROFILE")
76
84
  }
77
85
 
86
+ model Otp {
87
+ id String @id @default(uuid())
88
+ code String
89
+ ownerPhoneNumber String @map("account_id")
90
+ owner Profile @relation(fields: [ownerPhoneNumber], references: [phoneNumber])
91
+ expiresAt DateTime @map("expires_at")
92
+
93
+ created_at DateTime @default(now())
94
+ updated_at DateTime @updatedAt
95
+
96
+ @@map("OTP")
97
+ }
98
+
78
99
  model Location {
79
100
  id String @id @default(uuid())
80
101
  latitude Float
@@ -17,12 +17,12 @@ exports.Prisma = Prisma
17
17
  exports.$Enums = {}
18
18
 
19
19
  /**
20
- * Prisma Client JS version: 5.22.0
21
- * Query Engine version: 605197351a3c8bdd595af2d2a9bc3025bca48ea2
20
+ * Prisma Client JS version: 6.3.1
21
+ * Query Engine version: acc0b9dd43eb689cbd20c9470515d719db10d0b0
22
22
  */
23
23
  Prisma.prismaVersion = {
24
- client: "5.22.0",
25
- engine: "605197351a3c8bdd595af2d2a9bc3025bca48ea2"
24
+ client: "6.3.1",
25
+ engine: "acc0b9dd43eb689cbd20c9470515d719db10d0b0"
26
26
  }
27
27
 
28
28
  Prisma.PrismaClientKnownRequestError = () => {
@@ -50,11 +50,6 @@ Prisma.PrismaClientValidationError = () => {
50
50
  throw new Error(`PrismaClientValidationError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
51
51
  In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
52
52
  )}
53
- Prisma.NotFoundError = () => {
54
- const runtimeName = getRuntime().prettyName;
55
- throw new Error(`NotFoundError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
56
- In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
57
- )}
58
53
  Prisma.Decimal = Decimal
59
54
 
60
55
  /**
@@ -136,7 +131,11 @@ exports.Prisma.AccountScalarFieldEnum = {
136
131
  exports.Prisma.ProfileScalarFieldEnum = {
137
132
  id: 'id',
138
133
  shortId: 'shortId',
134
+ firstTimeMiExpo: 'firstTimeMiExpo',
135
+ username: 'username',
136
+ password: 'password',
139
137
  phoneNumber: 'phoneNumber',
138
+ isPhoneVerified: 'isPhoneVerified',
140
139
  secondaryPhoneNumber: 'secondaryPhoneNumber',
141
140
  fullName: 'fullName',
142
141
  firstName: 'firstName',
@@ -155,6 +154,15 @@ exports.Prisma.ProfileScalarFieldEnum = {
155
154
  updated_at: 'updated_at'
156
155
  };
157
156
 
157
+ exports.Prisma.OtpScalarFieldEnum = {
158
+ id: 'id',
159
+ code: 'code',
160
+ ownerPhoneNumber: 'ownerPhoneNumber',
161
+ expiresAt: 'expiresAt',
162
+ created_at: 'created_at',
163
+ updated_at: 'updated_at'
164
+ };
165
+
158
166
  exports.Prisma.LocationScalarFieldEnum = {
159
167
  id: 'id',
160
168
  latitude: 'latitude',
@@ -300,6 +308,7 @@ exports.TemplateCategory = exports.$Enums.TemplateCategory = {
300
308
  exports.Prisma.ModelName = {
301
309
  Account: 'Account',
302
310
  Profile: 'Profile',
311
+ Otp: 'Otp',
303
312
  Location: 'Location',
304
313
  Comment: 'Comment',
305
314
  Tag: 'Tag',
@@ -8,7 +8,7 @@ export interface paths {
8
8
  };
9
9
  get?: never;
10
10
  put?: never;
11
- post: operations["AuthController_loginUser"];
11
+ post: operations["AuthController_loginAccount"];
12
12
  delete?: never;
13
13
  options?: never;
14
14
  head?: never;
@@ -31,6 +31,22 @@ export interface paths {
31
31
  patch?: never;
32
32
  trace?: never;
33
33
  };
34
+ "/auth/login-mi-expo": {
35
+ parameters: {
36
+ query?: never;
37
+ header?: never;
38
+ path?: never;
39
+ cookie?: never;
40
+ };
41
+ get?: never;
42
+ put?: never;
43
+ post: operations["AuthController_loginProfile"];
44
+ delete?: never;
45
+ options?: never;
46
+ head?: never;
47
+ patch?: never;
48
+ trace?: never;
49
+ };
34
50
  "/tag/create": {
35
51
  parameters: {
36
52
  query?: never;
@@ -943,6 +959,38 @@ export interface paths {
943
959
  patch?: never;
944
960
  trace?: never;
945
961
  };
962
+ "/otp/send": {
963
+ parameters: {
964
+ query?: never;
965
+ header?: never;
966
+ path?: never;
967
+ cookie?: never;
968
+ };
969
+ get?: never;
970
+ put?: never;
971
+ post: operations["OtpController_sendOtp"];
972
+ delete?: never;
973
+ options?: never;
974
+ head?: never;
975
+ patch?: never;
976
+ trace?: never;
977
+ };
978
+ "/otp/verify": {
979
+ parameters: {
980
+ query?: never;
981
+ header?: never;
982
+ path?: never;
983
+ cookie?: never;
984
+ };
985
+ get?: never;
986
+ put?: never;
987
+ post: operations["OtpController_verifyOtp"];
988
+ delete?: never;
989
+ options?: never;
990
+ head?: never;
991
+ patch?: never;
992
+ trace?: never;
993
+ };
946
994
  }
947
995
  export type webhooks = Record<string, never>;
948
996
  export interface components {
@@ -977,6 +1025,37 @@ export interface components {
977
1025
  accessToken: string;
978
1026
  expiresIn: number;
979
1027
  };
1028
+ LoginMiExpoResponseDto: {
1029
+ user: {
1030
+ id: string;
1031
+ shortId: number;
1032
+ firstTimeMiExpo: boolean;
1033
+ username: string | null;
1034
+ phoneNumber: string;
1035
+ isPhoneVerified: boolean;
1036
+ secondaryPhoneNumber: string | null;
1037
+ fullName: string;
1038
+ firstName: string | null;
1039
+ gender: string | null;
1040
+ birthDate: string | null;
1041
+ profilePictureUrl: string | null;
1042
+ instagram: string | null;
1043
+ mail: string | null;
1044
+ dni: string | null;
1045
+ alternativeNames: string[];
1046
+ birthLocationId: string | null;
1047
+ residenceLocationId: string | null;
1048
+ isInTrash: boolean;
1049
+ movedToTrashDate: string | null;
1050
+ created_at: string;
1051
+ updated_at: string;
1052
+ };
1053
+ backendTokens: {
1054
+ accessToken: string;
1055
+ refreshToken: string;
1056
+ expiresIn: number;
1057
+ };
1058
+ };
980
1059
  CreateTagDto: {
981
1060
  name: string;
982
1061
  groupId: string;
@@ -1067,7 +1146,11 @@ export interface components {
1067
1146
  profiles: {
1068
1147
  id: string;
1069
1148
  shortId: number;
1149
+ firstTimeMiExpo: boolean;
1150
+ username: string | null;
1151
+ password: string | null;
1070
1152
  phoneNumber: string;
1153
+ isPhoneVerified: boolean;
1071
1154
  secondaryPhoneNumber: string | null;
1072
1155
  fullName: string;
1073
1156
  firstName: string | null;
@@ -1094,7 +1177,11 @@ export interface components {
1094
1177
  profiles: {
1095
1178
  id: string;
1096
1179
  shortId: number;
1180
+ firstTimeMiExpo: boolean;
1181
+ username: string | null;
1182
+ password: string | null;
1097
1183
  phoneNumber: string;
1184
+ isPhoneVerified: boolean;
1098
1185
  secondaryPhoneNumber: string | null;
1099
1186
  fullName: string;
1100
1187
  firstName: string | null;
@@ -1675,7 +1762,11 @@ export interface components {
1675
1762
  profiles: {
1676
1763
  id: string;
1677
1764
  shortId: number;
1765
+ firstTimeMiExpo: boolean;
1766
+ username: string | null;
1767
+ password: string | null;
1678
1768
  phoneNumber: string;
1769
+ isPhoneVerified: boolean;
1679
1770
  secondaryPhoneNumber: string | null;
1680
1771
  fullName: string;
1681
1772
  firstName: string | null;
@@ -1710,7 +1801,11 @@ export interface components {
1710
1801
  profiles: {
1711
1802
  id: string;
1712
1803
  shortId: number;
1804
+ firstTimeMiExpo: boolean;
1805
+ username: string | null;
1806
+ password: string | null;
1713
1807
  phoneNumber: string;
1808
+ isPhoneVerified: boolean;
1714
1809
  secondaryPhoneNumber: string | null;
1715
1810
  fullName: string;
1716
1811
  firstName: string | null;
@@ -1763,7 +1858,11 @@ export interface components {
1763
1858
  profiles: {
1764
1859
  id: string;
1765
1860
  shortId: number;
1861
+ firstTimeMiExpo: boolean;
1862
+ username: string | null;
1863
+ password: string | null;
1766
1864
  phoneNumber: string;
1865
+ isPhoneVerified: boolean;
1767
1866
  secondaryPhoneNumber: string | null;
1768
1867
  fullName: string;
1769
1868
  firstName: string | null;
@@ -1797,7 +1896,11 @@ export interface components {
1797
1896
  profiles: {
1798
1897
  id: string;
1799
1898
  shortId: number;
1899
+ firstTimeMiExpo: boolean;
1900
+ username: string | null;
1901
+ password: string | null;
1800
1902
  phoneNumber: string;
1903
+ isPhoneVerified: boolean;
1801
1904
  secondaryPhoneNumber: string | null;
1802
1905
  fullName: string;
1803
1906
  firstName: string | null;
@@ -1828,7 +1931,11 @@ export interface components {
1828
1931
  [key: string]: {
1829
1932
  id: string;
1830
1933
  shortId: number;
1934
+ firstTimeMiExpo: boolean;
1935
+ username: string | null;
1936
+ password: string | null;
1831
1937
  phoneNumber: string;
1938
+ isPhoneVerified: boolean;
1832
1939
  secondaryPhoneNumber: string | null;
1833
1940
  fullName: string;
1834
1941
  firstName: string | null;
@@ -1861,7 +1968,11 @@ export interface components {
1861
1968
  FindByPhoneNumberResponseDto: {
1862
1969
  id: string;
1863
1970
  shortId: number;
1971
+ firstTimeMiExpo: boolean;
1972
+ username: string | null;
1973
+ password: string | null;
1864
1974
  phoneNumber: string;
1975
+ isPhoneVerified: boolean;
1865
1976
  secondaryPhoneNumber: string | null;
1866
1977
  fullName: string;
1867
1978
  firstName: string | null;
@@ -1944,7 +2055,11 @@ export interface components {
1944
2055
  FindByIdProfileResponseDto: {
1945
2056
  id: string;
1946
2057
  shortId: number;
2058
+ firstTimeMiExpo: boolean;
2059
+ username: string | null;
2060
+ password: string | null;
1947
2061
  phoneNumber: string;
2062
+ isPhoneVerified: boolean;
1948
2063
  secondaryPhoneNumber: string | null;
1949
2064
  fullName: string;
1950
2065
  firstName: string | null;
@@ -1998,7 +2113,11 @@ export interface components {
1998
2113
  DeleteProfileResponseDto: {
1999
2114
  id: string;
2000
2115
  shortId: number;
2116
+ firstTimeMiExpo: boolean;
2117
+ username: string | null;
2118
+ password: string | null;
2001
2119
  phoneNumber: string;
2120
+ isPhoneVerified: boolean;
2002
2121
  secondaryPhoneNumber: string | null;
2003
2122
  fullName: string;
2004
2123
  firstName: string | null;
@@ -2155,6 +2274,53 @@ export interface components {
2155
2274
  GetLastMessageTimestampResponseDto: {
2156
2275
  timestamp: number;
2157
2276
  };
2277
+ SendOtpDto: {
2278
+ phoneNumber: string;
2279
+ };
2280
+ SendOtpResponseDto: {
2281
+ response: {
2282
+ hasVerified: boolean;
2283
+ hasUsername: boolean;
2284
+ success: true;
2285
+ } | {
2286
+ hasVerified: boolean;
2287
+ hasUsername: boolean;
2288
+ success: false;
2289
+ message: string;
2290
+ };
2291
+ };
2292
+ VerifyOtpDto: {
2293
+ phoneNumber: string;
2294
+ code: string;
2295
+ };
2296
+ VerifyOtpResponseDto: {
2297
+ success: boolean;
2298
+ profile: {
2299
+ id: string;
2300
+ shortId: number;
2301
+ firstTimeMiExpo: boolean;
2302
+ username: string | null;
2303
+ password: string | null;
2304
+ phoneNumber: string;
2305
+ isPhoneVerified: boolean;
2306
+ secondaryPhoneNumber: string | null;
2307
+ fullName: string;
2308
+ firstName: string | null;
2309
+ gender: string | null;
2310
+ birthDate: string | null;
2311
+ profilePictureUrl: string | null;
2312
+ instagram: string | null;
2313
+ mail: string | null;
2314
+ dni: string | null;
2315
+ alternativeNames: string[];
2316
+ birthLocationId: string | null;
2317
+ residenceLocationId: string | null;
2318
+ isInTrash: boolean;
2319
+ movedToTrashDate: string | null;
2320
+ created_at: string;
2321
+ updated_at: string;
2322
+ };
2323
+ };
2158
2324
  };
2159
2325
  responses: never;
2160
2326
  parameters: never;
@@ -2164,7 +2330,7 @@ export interface components {
2164
2330
  }
2165
2331
  export type $defs = Record<string, never>;
2166
2332
  export interface operations {
2167
- AuthController_loginUser: {
2333
+ AuthController_loginAccount: {
2168
2334
  parameters: {
2169
2335
  query?: never;
2170
2336
  header?: never;
@@ -2214,6 +2380,37 @@ export interface operations {
2214
2380
  };
2215
2381
  };
2216
2382
  };
2383
+ AuthController_loginProfile: {
2384
+ parameters: {
2385
+ query?: never;
2386
+ header?: never;
2387
+ path?: never;
2388
+ cookie?: never;
2389
+ };
2390
+ requestBody: {
2391
+ content: {
2392
+ "application/json": components["schemas"]["LoginDto"];
2393
+ };
2394
+ };
2395
+ responses: {
2396
+ 200: {
2397
+ headers: {
2398
+ [name: string]: unknown;
2399
+ };
2400
+ content: {
2401
+ "application/json": components["schemas"]["LoginMiExpoResponseDto"];
2402
+ };
2403
+ };
2404
+ 401: {
2405
+ headers: {
2406
+ [name: string]: unknown;
2407
+ };
2408
+ content: {
2409
+ "application/json": components["schemas"]["ErrorDto"];
2410
+ };
2411
+ };
2412
+ };
2413
+ };
2217
2414
  TagController_create: {
2218
2415
  parameters: {
2219
2416
  query?: never;
@@ -4071,4 +4268,82 @@ export interface operations {
4071
4268
  };
4072
4269
  };
4073
4270
  };
4271
+ OtpController_sendOtp: {
4272
+ parameters: {
4273
+ query?: never;
4274
+ header?: never;
4275
+ path?: never;
4276
+ cookie?: never;
4277
+ };
4278
+ requestBody: {
4279
+ content: {
4280
+ "application/json": components["schemas"]["SendOtpDto"];
4281
+ };
4282
+ };
4283
+ responses: {
4284
+ 200: {
4285
+ headers: {
4286
+ [name: string]: unknown;
4287
+ };
4288
+ content: {
4289
+ "application/json": components["schemas"]["SendOtpResponseDto"];
4290
+ };
4291
+ };
4292
+ 400: {
4293
+ headers: {
4294
+ [name: string]: unknown;
4295
+ };
4296
+ content: {
4297
+ "application/json": components["schemas"]["ErrorDto"];
4298
+ };
4299
+ };
4300
+ 404: {
4301
+ headers: {
4302
+ [name: string]: unknown;
4303
+ };
4304
+ content: {
4305
+ "application/json": components["schemas"]["ErrorDto"];
4306
+ };
4307
+ };
4308
+ };
4309
+ };
4310
+ OtpController_verifyOtp: {
4311
+ parameters: {
4312
+ query?: never;
4313
+ header?: never;
4314
+ path?: never;
4315
+ cookie?: never;
4316
+ };
4317
+ requestBody: {
4318
+ content: {
4319
+ "application/json": components["schemas"]["VerifyOtpDto"];
4320
+ };
4321
+ };
4322
+ responses: {
4323
+ 200: {
4324
+ headers: {
4325
+ [name: string]: unknown;
4326
+ };
4327
+ content: {
4328
+ "application/json": components["schemas"]["VerifyOtpResponseDto"];
4329
+ };
4330
+ };
4331
+ 400: {
4332
+ headers: {
4333
+ [name: string]: unknown;
4334
+ };
4335
+ content: {
4336
+ "application/json": components["schemas"]["ErrorDto"];
4337
+ };
4338
+ };
4339
+ 404: {
4340
+ headers: {
4341
+ [name: string]: unknown;
4342
+ };
4343
+ content: {
4344
+ "application/json": components["schemas"]["ErrorDto"];
4345
+ };
4346
+ };
4347
+ };
4348
+ };
4074
4349
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-backend-types",
3
- "version": "0.30.0-EXPO-311-EB-Modificar-DB-schema.1",
3
+ "version": "0.30.0-EXPO-308-auth.12",
4
4
  "description": "",
5
5
  "author": "Expo",
6
6
  "private": false,
@@ -8,8 +8,10 @@
8
8
  "files": [
9
9
  "dist/types",
10
10
  "dist/src/**/*.dto.{js,d.ts,ts}",
11
+ "dist/src/**/constants.{js,d.ts,ts}",
11
12
  "dist/src/**/exports.{js,d.ts,ts}",
12
13
  "dist/src/shared/dto-modification",
14
+ "dist/src/shared/errors/dotType.ts",
13
15
  "dist/src/i18n"
14
16
  ],
15
17
  "scripts": {
@@ -38,38 +40,25 @@
38
40
  "dependencies": {
39
41
  "@anatine/zod-nestjs": "^2.0.9",
40
42
  "@anatine/zod-openapi": "^2.2.6",
41
- "@nestjs/common": "^10.0.0",
42
- "@nestjs/config": "^3.2.3",
43
- "@nestjs/core": "^10.0.0",
44
- "@nestjs/jwt": "^10.2.0",
45
- "@nestjs/platform-express": "^10.0.0",
46
- "@nestjs/swagger": "^7.3.1",
47
- "@prisma/client": "^5.22.0",
48
- "bcrypt": "^5.1.1",
49
- "body-parser": "^1.20.3",
50
- "class-transformer": "^0.5.1",
51
- "class-validator": "^0.14.1",
52
- "country-state-city": "^3.2.1",
53
- "date-fns": "^4.1.0",
54
- "exceljs": "^4.4.0",
55
- "fast-csv": "^5.0.2",
56
43
  "i18n-js": "^4.4.3",
57
- "json-to-pretty-yaml": "^1.2.2",
58
- "multer": "^1.4.5-lts.1",
59
- "jszip": "^3.10.1",
60
- "openapi3-ts": "^4.4.0",
44
+ "libphonenumber-js": "^1.10.53",
61
45
  "patch-package": "^8.0.0",
62
- "reflect-metadata": "^0.2.0",
63
- "string-comparison": "^1.3.0",
64
46
  "zod": "^3.23.8"
65
47
  },
66
48
  "devDependencies": {
67
49
  "@arethetypeswrong/cli": "^0.15.4",
68
50
  "@changesets/cli": "^2.27.7",
69
51
  "@nestjs/cli": "^10.0.0",
52
+ "@nestjs/common": "^10.0.0",
53
+ "@nestjs/config": "^3.2.3",
54
+ "@nestjs/core": "^10.0.0",
55
+ "@nestjs/jwt": "^10.2.0",
56
+ "@nestjs/platform-express": "^10.0.0",
70
57
  "@nestjs/schematics": "^10.0.0",
58
+ "@nestjs/swagger": "^7.3.1",
71
59
  "@nestjs/testing": "^10.0.0",
72
60
  "@openapitools/openapi-generator-cli": "^2.13.4",
61
+ "@prisma/client": "^6.3.1",
73
62
  "@types/bcrypt": "^5.0.2",
74
63
  "@types/express": "^4.17.17",
75
64
  "@types/jest": "^29.5.2",
@@ -80,19 +69,33 @@
80
69
  "@types/supertest": "^6.0.0",
81
70
  "@typescript-eslint/eslint-plugin": "^8.8.0",
82
71
  "@typescript-eslint/parser": "^8.8.0",
83
- "eslint": "^9.11.1",
72
+ "bcrypt": "^5.1.1",
73
+ "body-parser": "^1.20.3",
74
+ "class-transformer": "^0.5.1",
75
+ "class-validator": "^0.14.1",
76
+ "country-state-city": "^3.2.1",
77
+ "date-fns": "^4.1.0",
84
78
  "eslint-config-prettier": "^9.0.0",
85
79
  "eslint-plugin-prettier": "^5.0.0",
86
80
  "eslint-plugin-unused-imports": "^4.1.4",
81
+ "eslint": "^9.11.1",
82
+ "exceljs": "^4.4.0",
83
+ "fast-csv": "^5.0.2",
87
84
  "globals": "^15.10.0",
88
85
  "husky": "^9.0.11",
89
86
  "jest": "^29.5.0",
87
+ "json-to-pretty-yaml": "^1.2.2",
88
+ "jszip": "^3.10.1",
90
89
  "lint-staged": "^15.2.5",
91
90
  "luxon": "^3.5.0",
91
+ "multer": "^1.4.5-lts.1",
92
92
  "openapi-typescript": "^7.0.0-rc.0",
93
+ "openapi3-ts": "^4.4.0",
93
94
  "prettier": "^3.0.0",
94
- "prisma": "^5.22.0",
95
+ "prisma": "^6.3.1",
96
+ "reflect-metadata": "^0.2.0",
95
97
  "source-map-support": "^0.5.21",
98
+ "string-comparison": "^1.3.0",
96
99
  "supertest": "^6.3.3",
97
100
  "ts-jest": "^29.1.0",
98
101
  "ts-loader": "^9.4.3",