expo-backend-types 0.33.0 → 0.34.0-EXPO-319-ver-eventos-disponibles.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/exports.d.ts +3 -0
- package/dist/src/exports.js +3 -0
- package/dist/src/i18n/es.d.ts +25 -0
- package/dist/src/i18n/es.js +25 -0
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/src/image/constants.d.ts +5 -0
- package/dist/src/image/constants.js +9 -0
- package/dist/src/location/dto/find-all-location.dto.js +2 -2
- package/dist/src/location/exports.d.ts +0 -1
- package/dist/src/location/exports.js +0 -1
- package/dist/src/message/dto/non-read-messages.dto.d.ts +2 -2
- package/dist/src/message/dto/non-read-messages.dto.js +2 -2
- package/dist/src/message/dto/send-message-to-phone.dto.d.ts +2 -2
- package/dist/src/message/dto/send-message-to-phone.dto.js +2 -2
- package/dist/src/mi-expo/dto/get-me.dto.d.ts +337 -0
- package/dist/src/mi-expo/dto/get-me.dto.js +16 -0
- package/dist/src/mi-expo/dto/login-with-phone.dto.d.ts +311 -0
- package/dist/src/mi-expo/dto/login-with-phone.dto.js +29 -0
- package/dist/src/mi-expo/dto/login.dto.d.ts +327 -0
- package/dist/src/mi-expo/dto/login.dto.js +31 -0
- package/dist/src/mi-expo/dto/my-events.dto.d.ts +115 -0
- package/dist/src/mi-expo/dto/my-events.dto.js +28 -0
- package/dist/src/mi-expo/dto/update-me.dto.d.ts +352 -0
- package/dist/src/mi-expo/dto/update-me.dto.js +31 -0
- package/dist/src/mi-expo/exports.d.ts +5 -0
- package/dist/src/mi-expo/exports.js +22 -0
- package/dist/src/otp/constants.d.ts +2 -0
- package/dist/src/otp/constants.js +6 -0
- package/dist/src/otp/dto/send-otp.dto.d.ts +158 -0
- package/dist/src/otp/dto/send-otp.dto.js +35 -0
- package/dist/src/otp/dto/verify-otp.dto.d.ts +455 -0
- package/dist/src/otp/dto/verify-otp.dto.js +46 -0
- package/dist/src/otp/exports.d.ts +2 -0
- package/dist/src/otp/exports.js +19 -0
- package/dist/src/prisma/constants.d.ts +1 -0
- package/dist/src/prisma/constants.js +5 -0
- package/dist/src/profile/dto/create-profile.dto.d.ts +48 -14
- package/dist/src/profile/dto/create-profile.dto.js +9 -7
- package/dist/src/profile/dto/delete-profile.dto.d.ts +30 -6
- package/dist/src/profile/dto/delete-profile.dto.js +2 -2
- package/dist/src/profile/dto/find-all-profile.dto.d.ts +47 -7
- package/dist/src/profile/dto/find-all-profile.dto.js +2 -2
- package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +75 -11
- package/dist/src/profile/dto/find-by-date-range-profile.dto.js +3 -3
- package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +32 -13
- package/dist/src/profile/dto/find-by-id-profile.dto.js +7 -5
- package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +30 -6
- package/dist/src/profile/dto/find-by-phone-number.dto.js +2 -2
- package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +47 -7
- package/dist/src/profile/dto/find-by-tag-groups-profile.dto.js +2 -2
- package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +47 -7
- package/dist/src/profile/dto/find-by-tags-profile.dto.js +2 -2
- package/dist/src/profile/dto/find-trash.dto.d.ts +7 -3
- package/dist/src/profile/dto/find-trash.dto.js +2 -2
- package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +47 -7
- package/dist/src/profile/dto/find-with-active-chat.dto.js +2 -2
- package/dist/src/profile/dto/profile.dto.d.ts +44 -30
- package/dist/src/profile/dto/profile.dto.js +6 -63
- package/dist/src/profile/dto/update-profile.dto.d.ts +54 -12
- package/dist/src/profile/dto/update-profile.dto.js +9 -6
- package/dist/src/schema/exports.d.ts +2 -0
- package/dist/src/schema/exports.js +19 -0
- package/dist/src/{location/dto/location.dto.js → schema/location.schema.js} +2 -2
- package/dist/src/schema/profile.schema.d.ts +74 -0
- package/dist/src/schema/profile.schema.js +133 -0
- package/dist/src/shared/dto-modification/zod-without-dates.d.ts +2 -4
- package/dist/src/shared/dto-modification/zod-without-dates.js +8 -0
- package/dist/src/shared/dto-modification/zod-without-dates.js.map +1 -1
- package/dist/src/tag/dto/massive-allocation.dto.d.ts +47 -7
- package/dist/src/tag/dto/massive-allocation.dto.js +3 -3
- package/dist/src/tag/dto/massive-deallocation.dto.d.ts +47 -7
- package/dist/src/tag/dto/massive-deallocation.dto.js +3 -3
- package/dist/src/ticket/constants.d.ts +16 -0
- package/dist/src/ticket/constants.js +272 -0
- package/dist/src/webhook/constants.d.ts +1 -0
- package/dist/src/webhook/constants.js +5 -0
- package/dist/types/prisma-schema/edge.js +39 -24
- package/dist/types/prisma-schema/index-browser.js +19 -9
- package/dist/types/prisma-schema/index.d.ts +4672 -611
- package/dist/types/prisma-schema/index.js +39 -24
- package/dist/types/prisma-schema/libquery_engine-debian-openssl-3.0.x.so.node +0 -0
- package/dist/types/prisma-schema/package.json +8 -2
- package/dist/types/prisma-schema/runtime/edge-esm.js +18 -18
- package/dist/types/prisma-schema/runtime/edge.js +18 -18
- package/dist/types/prisma-schema/runtime/index-browser.d.ts +3 -1
- package/dist/types/prisma-schema/runtime/index-browser.js +3 -3
- package/dist/types/prisma-schema/runtime/library.d.ts +205 -153
- package/dist/types/prisma-schema/runtime/library.js +55 -55
- package/dist/types/prisma-schema/runtime/react-native.js +26 -26
- package/dist/types/prisma-schema/runtime/wasm.js +17 -17
- package/dist/types/prisma-schema/schema.prisma +29 -3
- package/dist/types/prisma-schema/wasm.js +19 -9
- package/dist/types/schema.d.ts +553 -2
- package/package.json +41 -40
- /package/dist/src/{location/dto/location.dto.d.ts → schema/location.schema.d.ts} +0 -0
@@ -44,7 +44,15 @@ model Profile {
|
|
44
44
|
id String @id @default(uuid())
|
45
45
|
shortId Int @map("short_id")
|
46
46
|
|
47
|
-
|
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")
|
@@ -69,12 +77,27 @@ model Profile {
|
|
69
77
|
isInTrash Boolean @default(false) @map("is_in_trash")
|
70
78
|
movedToTrashDate DateTime? @map("moved_to_trash_date")
|
71
79
|
|
80
|
+
Ticket Ticket[] @relation("PROFILE_X_TICKET")
|
81
|
+
|
72
82
|
created_at DateTime @default(now())
|
73
83
|
updated_at DateTime @updatedAt
|
74
84
|
|
75
85
|
@@map("PROFILE")
|
76
86
|
}
|
77
87
|
|
88
|
+
model Otp {
|
89
|
+
id String @id @default(uuid())
|
90
|
+
code String
|
91
|
+
ownerPhoneNumber String @map("account_id")
|
92
|
+
owner Profile @relation(fields: [ownerPhoneNumber], references: [phoneNumber])
|
93
|
+
expiresAt DateTime @map("expires_at")
|
94
|
+
|
95
|
+
created_at DateTime @default(now())
|
96
|
+
updated_at DateTime @updatedAt
|
97
|
+
|
98
|
+
@@map("OTP")
|
99
|
+
}
|
100
|
+
|
78
101
|
model Location {
|
79
102
|
id String @id @default(uuid())
|
80
103
|
latitude Float
|
@@ -155,8 +178,8 @@ model Event {
|
|
155
178
|
id String @id @default(uuid())
|
156
179
|
name String
|
157
180
|
date DateTime
|
158
|
-
startingDate DateTime @map("starting_date")
|
159
|
-
endingDate DateTime @map("ending_date")
|
181
|
+
startingDate DateTime @default(now()) @map("starting_date")
|
182
|
+
endingDate DateTime @default(now()) @map("ending_date")
|
160
183
|
location String
|
161
184
|
|
162
185
|
folderId String? @map("folder_id")
|
@@ -235,6 +258,9 @@ model Ticket {
|
|
235
258
|
fullName String
|
236
259
|
mail String
|
237
260
|
|
261
|
+
profileId String? @map("profile_id")
|
262
|
+
profile Profile? @relation("PROFILE_X_TICKET", fields: [profileId], references: [id])
|
263
|
+
|
238
264
|
created_at DateTime @default(now())
|
239
265
|
updated_at DateTime @updatedAt
|
240
266
|
|
@@ -17,12 +17,12 @@ exports.Prisma = Prisma
|
|
17
17
|
exports.$Enums = {}
|
18
18
|
|
19
19
|
/**
|
20
|
-
* Prisma Client JS version:
|
21
|
-
* Query Engine version:
|
20
|
+
* Prisma Client JS version: 6.4.1
|
21
|
+
* Query Engine version: a9055b89e58b4b5bfb59600785423b1db3d0e75d
|
22
22
|
*/
|
23
23
|
Prisma.prismaVersion = {
|
24
|
-
client: "
|
25
|
-
engine: "
|
24
|
+
client: "6.4.1",
|
25
|
+
engine: "a9055b89e58b4b5bfb59600785423b1db3d0e75d"
|
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',
|
@@ -246,6 +254,7 @@ exports.Prisma.TicketScalarFieldEnum = {
|
|
246
254
|
status: 'status',
|
247
255
|
fullName: 'fullName',
|
248
256
|
mail: 'mail',
|
257
|
+
profileId: 'profileId',
|
249
258
|
created_at: 'created_at',
|
250
259
|
updated_at: 'updated_at'
|
251
260
|
};
|
@@ -336,6 +345,7 @@ exports.TemplateCategory = exports.$Enums.TemplateCategory = {
|
|
336
345
|
exports.Prisma.ModelName = {
|
337
346
|
Account: 'Account',
|
338
347
|
Profile: 'Profile',
|
348
|
+
Otp: 'Otp',
|
339
349
|
Location: 'Location',
|
340
350
|
Comment: 'Comment',
|
341
351
|
Tag: 'Tag',
|