expo-backend-types 0.3.0-EXPO-245.8 → 0.3.0-EXPO-245.10
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/src/{cuenta/dto/cuenta.dto.d.ts → account/dto/account.dto.d.ts} +57 -51
- package/dist/src/account/dto/account.dto.js +52 -0
- package/dist/src/{cuenta/dto/createCuenta.dto.d.ts → account/dto/createAccount.dto.d.ts} +92 -80
- package/dist/src/account/dto/createAccount.dto.js +23 -0
- package/dist/src/{cuenta/dto/getFiltroBase.dto.d.ts → account/dto/getGlobalFilter.dto.d.ts} +35 -35
- package/dist/src/account/dto/getGlobalFilter.dto.js +30 -0
- package/dist/src/{cuenta → account}/dto/getMe.dto.d.ts +56 -50
- package/dist/src/{cuenta → account}/dto/getMe.dto.js +2 -2
- package/dist/src/{cuenta/dto/updateFiltroBase.dto.d.ts → account/dto/updateGlobalFilter.dto.d.ts} +58 -58
- package/dist/src/account/dto/updateGlobalFilter.dto.js +29 -0
- package/dist/src/account/exports.d.ts +5 -0
- package/dist/src/{cuenta → account}/exports.js +4 -4
- package/dist/src/auth/dto/login.dto.d.ts +112 -100
- package/dist/src/auth/dto/login.dto.js +3 -3
- package/dist/src/comment/dto/comment.dto.d.ts +66 -0
- package/dist/src/comment/dto/comment.dto.js +26 -0
- package/dist/src/comment/exports.d.ts +1 -0
- package/dist/src/{etiqueta → comment}/exports.js +1 -1
- package/dist/src/event/dto/event.dto.d.ts +41 -0
- package/dist/src/event/dto/event.dto.js +33 -0
- package/dist/src/event/exports.d.ts +1 -0
- package/dist/src/{evento → event}/exports.js +1 -1
- package/dist/src/event-folder/dto/event-folder.dto.d.ts +14 -0
- package/dist/src/event-folder/dto/event-folder.dto.js +22 -0
- package/dist/src/exports.d.ts +5 -5
- package/dist/src/exports.js +5 -5
- package/dist/src/i18n/es.json +97 -0
- package/dist/src/i18n/translate.d.ts +8 -0
- package/dist/src/i18n/translate.js +21 -0
- package/dist/src/i18n/translate.js.map +1 -0
- package/dist/src/{etiqueta/dto/etiqueta.dto.d.ts → tag/dto/tag.dto.d.ts} +15 -15
- package/dist/src/tag/dto/tag.dto.js +30 -0
- package/dist/src/tag/exports.d.ts +1 -0
- package/dist/src/{grupo-etiqueta → tag}/exports.js +1 -1
- package/dist/src/{grupo-etiqueta/dto/grupo-etiqueta.dto.d.ts → tag-group/dto/tag-group.dto.d.ts} +3 -3
- package/dist/src/{grupo-etiqueta/dto/grupo-etiqueta.dto.js → tag-group/dto/tag-group.dto.js} +8 -8
- package/dist/src/tag-group/exports.d.ts +1 -0
- package/dist/src/{comentario → tag-group}/exports.js +1 -1
- package/dist/types/prisma-schema/edge.js +86 -70
- package/dist/types/prisma-schema/index-browser.js +83 -67
- package/dist/types/prisma-schema/index.d.ts +8283 -6804
- package/dist/types/prisma-schema/index.js +86 -70
- package/dist/types/prisma-schema/package.json +1 -1
- package/dist/types/prisma-schema/schema.prisma +144 -112
- package/dist/types/prisma-schema/wasm.js +83 -67
- package/dist/types/schema.d.ts +37 -37
- package/package.json +3 -2
- package/dist/src/comentario/dto/comentario.dto.d.ts +0 -42
- package/dist/src/comentario/dto/comentario.dto.js +0 -22
- package/dist/src/comentario/exports.d.ts +0 -1
- package/dist/src/cuenta/dto/createCuenta.dto.js +0 -23
- package/dist/src/cuenta/dto/cuenta.dto.js +0 -49
- package/dist/src/cuenta/dto/getFiltroBase.dto.js +0 -29
- package/dist/src/cuenta/dto/updateFiltroBase.dto.js +0 -28
- package/dist/src/cuenta/exports.d.ts +0 -5
- package/dist/src/etiqueta/dto/etiqueta.dto.js +0 -30
- package/dist/src/etiqueta/exports.d.ts +0 -1
- package/dist/src/evento/dto/evento.dto.d.ts +0 -126
- package/dist/src/evento/dto/evento.dto.js +0 -37
- package/dist/src/evento/exports.d.ts +0 -1
- package/dist/src/grupo-etiqueta/exports.d.ts +0 -1
@@ -14,177 +14,209 @@ datasource db {
|
|
14
14
|
relationMode = "foreignKeys"
|
15
15
|
}
|
16
16
|
|
17
|
-
model
|
18
|
-
id
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
fcmToken String[] @map("fcm_token")
|
32
|
-
|
33
|
-
@@map("CUENTA")
|
34
|
-
}
|
35
|
-
|
36
|
-
model Perfil {
|
37
|
-
id String @id @default(uuid())
|
38
|
-
idLegible Int @map("id_legible")
|
39
|
-
|
40
|
-
telefono String @unique
|
41
|
-
telefonoSecundario String? @unique
|
42
|
-
nombreCompleto String @map("nombre_completo")
|
43
|
-
nombrePila String? @map("nombre_pila")
|
44
|
-
genero String?
|
45
|
-
fechaNacimiento DateTime? @map("fecha_nacimiento")
|
46
|
-
fotoUrl String? @map("foto_url")
|
47
|
-
instagram String?
|
48
|
-
mail String?
|
49
|
-
dni String?
|
50
|
-
nombresAlternativos String[] @map("nombres_alternativos")
|
51
|
-
|
52
|
-
comentarios Comentario[]
|
53
|
-
mensajes Mensaje[] @relation("PERFIL_X_MENSAJE")
|
54
|
-
etiquetas Etiqueta[] @relation("PERFIL_X_ETIQUETA")
|
55
|
-
esPapelera Boolean @default(false)
|
56
|
-
fechaPapelera DateTime? @map("fecha_papelera")
|
17
|
+
model Account {
|
18
|
+
id String @id @default(uuid())
|
19
|
+
username String @unique
|
20
|
+
password String
|
21
|
+
role Role @default(USER)
|
22
|
+
|
23
|
+
comments Comment[] @relation("ACCOUNT_X_COMMENT")
|
24
|
+
solvableComments Comment[] @relation("ACCOUNT_X_SOLVED_COMMENT")
|
25
|
+
tags Tag[] @relation("ACCOUNT_X_TAG")
|
26
|
+
|
27
|
+
globalFilter Tag[] @relation("GLOBAL_FILTER_X_ACCOUNT")
|
28
|
+
isGlobalFilterActive Boolean @default(false) @map("is_global_filter_active")
|
29
|
+
fcmToken String[] @map("fcm_token")
|
57
30
|
|
58
31
|
created_at DateTime @default(now())
|
59
32
|
updated_at DateTime @updatedAt
|
60
33
|
|
61
|
-
@@map("
|
34
|
+
@@map("ACCOUNT")
|
35
|
+
}
|
36
|
+
|
37
|
+
enum Role {
|
38
|
+
USER
|
39
|
+
ADMIN
|
62
40
|
}
|
63
41
|
|
64
|
-
model
|
65
|
-
id
|
66
|
-
|
42
|
+
model Profile {
|
43
|
+
id String @id @default(uuid())
|
44
|
+
shortId Int @map("short_id")
|
45
|
+
|
46
|
+
phoneNumber String @unique @map("phone_number")
|
47
|
+
secondaryPhoneNumber String? @unique @map("secondary_phone_number")
|
48
|
+
fullName String @map("full_name")
|
49
|
+
fistName String? @map("first_name")
|
50
|
+
gender String?
|
51
|
+
birthDate DateTime? @map("birth_date")
|
52
|
+
profilePictureUrl String? @map("profile_picture_url")
|
53
|
+
instagram String?
|
54
|
+
mail String?
|
55
|
+
dni String?
|
56
|
+
alternativeNames String[] @map("alternative_names")
|
57
|
+
|
58
|
+
comments Comment[] @relation("PROFILE_X_COMMENT")
|
59
|
+
messages Message[] @relation("PROFILE_X_MESSAGE")
|
60
|
+
tags Tag[] @relation("PROFILE_X_TAG")
|
61
|
+
|
62
|
+
isInTrash Boolean @default(false) @map("is_in_trash")
|
63
|
+
movedToTrashDate DateTime? @map("moved_to_trash_date")
|
64
|
+
|
65
|
+
created_at DateTime @default(now())
|
66
|
+
updated_at DateTime @updatedAt
|
67
|
+
|
68
|
+
@@map("PROFILE")
|
69
|
+
}
|
70
|
+
|
71
|
+
model Comment {
|
72
|
+
id String @id @default(uuid())
|
73
|
+
content String
|
74
|
+
|
75
|
+
createdBy String @map("created_by")
|
76
|
+
account Account @relation("ACCOUNT_X_COMMENT", fields: [createdBy], references: [id])
|
77
|
+
|
78
|
+
profileId String @map("perfil_id")
|
79
|
+
profile Profile @relation("PROFILE_X_COMMENT", fields: [profileId], references: [id], onDelete: Cascade)
|
67
80
|
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
81
|
+
isSolvable Boolean @default(false) @map("is_solvable")
|
82
|
+
isSolved Boolean @default(false) @map("is_solved")
|
83
|
+
solvedAt DateTime? @map("solved_at")
|
84
|
+
|
85
|
+
solvedById String? @map("solved_by")
|
86
|
+
solvedBy Account? @relation("ACCOUNT_X_SOLVED_COMMENT", fields: [solvedById], references: [id])
|
72
87
|
|
73
88
|
created_at DateTime @default(now())
|
74
89
|
updated_at DateTime @updatedAt
|
75
90
|
|
76
|
-
@@map("
|
91
|
+
@@map("COMMENT")
|
77
92
|
}
|
78
93
|
|
79
|
-
model
|
80
|
-
id
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
94
|
+
model Tag {
|
95
|
+
id String @id @default(uuid())
|
96
|
+
name String
|
97
|
+
type TagType @default(PROFILE)
|
98
|
+
|
99
|
+
groupId String @map("group_id")
|
100
|
+
group TagGroup @relation(fields: [groupId], references: [id], onDelete: Cascade)
|
85
101
|
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
102
|
+
assistedEvent Event? @relation("EVENT_X_TAG_ASISTED")
|
103
|
+
confirmedEvent Event? @relation("EVENT_X_TAG_CONFIRMED")
|
104
|
+
|
105
|
+
accounts Account[] @relation("ACCOUNT_X_TAG")
|
106
|
+
profiles Profile[] @relation("PROFILE_X_TAG")
|
107
|
+
accountsGlobalFilter Account[] @relation("GLOBAL_FILTER_X_ACCOUNT")
|
91
108
|
|
92
109
|
created_at DateTime @default(now())
|
93
110
|
updated_at DateTime @updatedAt
|
94
111
|
|
95
|
-
@@map("
|
112
|
+
@@map("TAG")
|
96
113
|
}
|
97
114
|
|
98
|
-
model
|
99
|
-
id String
|
100
|
-
|
115
|
+
model TagGroup {
|
116
|
+
id String @id @default(uuid())
|
117
|
+
name String
|
101
118
|
color String
|
102
|
-
|
103
|
-
|
119
|
+
isExclusive Boolean @map("is_exclusive")
|
120
|
+
tags Tag[]
|
104
121
|
|
105
122
|
created_at DateTime @default(now())
|
106
123
|
updated_at DateTime @updatedAt
|
107
124
|
|
108
|
-
@@map("
|
125
|
+
@@map("TAG_GROUP")
|
109
126
|
}
|
110
127
|
|
111
|
-
model
|
112
|
-
id
|
113
|
-
|
114
|
-
|
115
|
-
|
128
|
+
model Event {
|
129
|
+
id String @id @default(uuid())
|
130
|
+
name String
|
131
|
+
date DateTime
|
132
|
+
location String
|
133
|
+
|
134
|
+
folderId String? @map("folder_id")
|
135
|
+
folder EventFolder? @relation("EVENT_FOLDER_X_EVENT", fields: [folderId], references: [id], onDelete: Cascade)
|
136
|
+
|
137
|
+
tagAssistedId String @unique @map("tag_assisted")
|
138
|
+
tagAssisted Tag @relation("EVENT_X_TAG_ASISTED", fields: [tagAssistedId], references: [id])
|
139
|
+
|
140
|
+
tagConfirmedId String @unique @map("tag_confirmed")
|
141
|
+
tagConfirmed Tag @relation("EVENT_X_TAG_CONFIRMED", fields: [tagConfirmedId], references: [id])
|
142
|
+
|
143
|
+
supraEventId String? @map("supra_event_id")
|
144
|
+
supraEvent Event? @relation("SubEvents", fields: [supraEventId], references: [id], onDelete: Cascade)
|
145
|
+
|
146
|
+
subEvents Event[] @relation("SubEvents")
|
116
147
|
|
117
148
|
created_at DateTime @default(now())
|
118
149
|
updated_at DateTime @updatedAt
|
119
150
|
|
120
|
-
@@map("
|
151
|
+
@@map("EVENT")
|
121
152
|
}
|
122
153
|
|
123
|
-
model
|
124
|
-
id
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
154
|
+
model EventFolder {
|
155
|
+
id String @id @default(uuid())
|
156
|
+
name String
|
157
|
+
color String
|
158
|
+
events Event[] @relation("EVENT_FOLDER_X_EVENT")
|
159
|
+
|
160
|
+
created_at DateTime @default(now())
|
161
|
+
updated_at DateTime @updatedAt
|
162
|
+
|
163
|
+
@@map("EVENT_FOLDER")
|
164
|
+
}
|
165
|
+
|
166
|
+
model Message {
|
167
|
+
id String @id @default(uuid())
|
168
|
+
wamId String @unique @map("wam_id")
|
169
|
+
message Json
|
170
|
+
|
171
|
+
profilePhoneNumber String @map("profile_phone_number")
|
172
|
+
profile Profile @relation("PROFILE_X_MESSAGE", fields: [profilePhoneNumber], references: [phoneNumber], onDelete: Cascade)
|
130
173
|
|
131
|
-
|
132
|
-
etiquetaAsistio Etiqueta @relation("EVENTOASISTIDO_X_ETIQUETA", fields: [etiquetaAsistioId], references: [id], onDelete: Cascade)
|
133
|
-
etiquetaConfirmoId String @map("etiqueta_confirmo")
|
134
|
-
etiquetaConfirmo Etiqueta @relation("EVENTOCONFIRMADO_X_ETIQUETA", fields: [etiquetaConfirmoId], references: [id], onDelete: Cascade)
|
135
|
-
eventoPadreId String? @map("evento_padre")
|
136
|
-
eventoPadre Evento? @relation("SubEventos", fields: [eventoPadreId], references: [id], onDelete: Cascade)
|
137
|
-
subEventos Evento[] @relation("SubEventos")
|
174
|
+
state MessageState @default(SENT)
|
138
175
|
|
139
176
|
created_at DateTime @default(now())
|
140
177
|
updated_at DateTime @updatedAt
|
141
178
|
|
142
|
-
@@map("
|
179
|
+
@@map("MESSAGE")
|
143
180
|
}
|
144
181
|
|
145
|
-
model
|
146
|
-
id
|
147
|
-
|
148
|
-
|
149
|
-
perfilTelefono String @map("perfil_telefono")
|
150
|
-
perfil Perfil @relation("PERFIL_X_MENSAJE", fields: [perfilTelefono], references: [telefono], onDelete: Cascade)
|
151
|
-
status MensajeStatus @default(ENVIADO)
|
152
|
-
statusAt DateTime? @map("status_at")
|
153
|
-
visto Boolean @default(false)
|
182
|
+
model CannedResponse {
|
183
|
+
id String @id @default(uuid())
|
184
|
+
name String
|
185
|
+
content String
|
154
186
|
|
155
187
|
created_at DateTime @default(now())
|
156
188
|
updated_at DateTime @updatedAt
|
157
189
|
|
158
|
-
@@map("
|
190
|
+
@@map("CANNED_RESPONSE")
|
159
191
|
}
|
160
192
|
|
161
193
|
model Enums {
|
162
|
-
id
|
163
|
-
|
164
|
-
|
194
|
+
id String @id
|
195
|
+
templateStatus TemplateStatus
|
196
|
+
templateCategory TemplateCategory
|
165
197
|
}
|
166
198
|
|
167
|
-
enum
|
199
|
+
enum TemplateStatus {
|
168
200
|
APRROVED
|
169
201
|
PENDING
|
170
202
|
REJECTED
|
171
203
|
}
|
172
204
|
|
173
|
-
enum
|
205
|
+
enum TemplateCategory {
|
174
206
|
MARKETING
|
175
207
|
UTILITY
|
176
208
|
AUTHENTICATION
|
177
209
|
}
|
178
210
|
|
179
|
-
enum
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
211
|
+
enum TagType {
|
212
|
+
PROFILE
|
213
|
+
EVENT
|
214
|
+
PARTICIPANT
|
215
|
+
NOT_IN_SYSTEM
|
184
216
|
}
|
185
217
|
|
186
|
-
enum
|
187
|
-
|
188
|
-
|
189
|
-
|
218
|
+
enum MessageState {
|
219
|
+
SENT
|
220
|
+
RECEIVED
|
221
|
+
SEEN
|
190
222
|
}
|
@@ -119,101 +119,111 @@ exports.Prisma.TransactionIsolationLevel = makeStrictEnum({
|
|
119
119
|
Serializable: 'Serializable'
|
120
120
|
});
|
121
121
|
|
122
|
-
exports.Prisma.
|
122
|
+
exports.Prisma.AccountScalarFieldEnum = {
|
123
123
|
id: 'id',
|
124
|
-
|
125
|
-
|
126
|
-
|
124
|
+
username: 'username',
|
125
|
+
password: 'password',
|
126
|
+
role: 'role',
|
127
|
+
isGlobalFilterActive: 'isGlobalFilterActive',
|
128
|
+
fcmToken: 'fcmToken',
|
127
129
|
created_at: 'created_at',
|
128
|
-
updated_at: 'updated_at'
|
129
|
-
filtroBaseActivo: 'filtroBaseActivo',
|
130
|
-
fcmToken: 'fcmToken'
|
130
|
+
updated_at: 'updated_at'
|
131
131
|
};
|
132
132
|
|
133
|
-
exports.Prisma.
|
133
|
+
exports.Prisma.ProfileScalarFieldEnum = {
|
134
134
|
id: 'id',
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
135
|
+
shortId: 'shortId',
|
136
|
+
phoneNumber: 'phoneNumber',
|
137
|
+
secondaryPhoneNumber: 'secondaryPhoneNumber',
|
138
|
+
fullName: 'fullName',
|
139
|
+
fistName: 'fistName',
|
140
|
+
gender: 'gender',
|
141
|
+
birthDate: 'birthDate',
|
142
|
+
profilePictureUrl: 'profilePictureUrl',
|
143
143
|
instagram: 'instagram',
|
144
144
|
mail: 'mail',
|
145
145
|
dni: 'dni',
|
146
|
-
|
147
|
-
|
148
|
-
|
146
|
+
alternativeNames: 'alternativeNames',
|
147
|
+
isInTrash: 'isInTrash',
|
148
|
+
movedToTrashDate: 'movedToTrashDate',
|
149
149
|
created_at: 'created_at',
|
150
150
|
updated_at: 'updated_at'
|
151
151
|
};
|
152
152
|
|
153
|
-
exports.Prisma.
|
153
|
+
exports.Prisma.CommentScalarFieldEnum = {
|
154
154
|
id: 'id',
|
155
|
-
|
156
|
-
|
157
|
-
|
155
|
+
content: 'content',
|
156
|
+
createdBy: 'createdBy',
|
157
|
+
profileId: 'profileId',
|
158
|
+
isSolvable: 'isSolvable',
|
159
|
+
isSolved: 'isSolved',
|
160
|
+
solvedAt: 'solvedAt',
|
161
|
+
solvedById: 'solvedById',
|
158
162
|
created_at: 'created_at',
|
159
163
|
updated_at: 'updated_at'
|
160
164
|
};
|
161
165
|
|
162
|
-
exports.Prisma.
|
166
|
+
exports.Prisma.TagScalarFieldEnum = {
|
163
167
|
id: 'id',
|
164
|
-
|
165
|
-
|
166
|
-
|
168
|
+
name: 'name',
|
169
|
+
type: 'type',
|
170
|
+
groupId: 'groupId',
|
167
171
|
created_at: 'created_at',
|
168
172
|
updated_at: 'updated_at'
|
169
173
|
};
|
170
174
|
|
171
|
-
exports.Prisma.
|
175
|
+
exports.Prisma.TagGroupScalarFieldEnum = {
|
172
176
|
id: 'id',
|
173
|
-
|
177
|
+
name: 'name',
|
174
178
|
color: 'color',
|
175
|
-
|
179
|
+
isExclusive: 'isExclusive',
|
176
180
|
created_at: 'created_at',
|
177
181
|
updated_at: 'updated_at'
|
178
182
|
};
|
179
183
|
|
180
|
-
exports.Prisma.
|
184
|
+
exports.Prisma.EventScalarFieldEnum = {
|
181
185
|
id: 'id',
|
182
|
-
|
183
|
-
|
186
|
+
name: 'name',
|
187
|
+
date: 'date',
|
188
|
+
location: 'location',
|
189
|
+
folderId: 'folderId',
|
190
|
+
tagAssistedId: 'tagAssistedId',
|
191
|
+
tagConfirmedId: 'tagConfirmedId',
|
192
|
+
supraEventId: 'supraEventId',
|
184
193
|
created_at: 'created_at',
|
185
194
|
updated_at: 'updated_at'
|
186
195
|
};
|
187
196
|
|
188
|
-
exports.Prisma.
|
197
|
+
exports.Prisma.EventFolderScalarFieldEnum = {
|
189
198
|
id: 'id',
|
190
|
-
|
191
|
-
|
192
|
-
ubicacion: 'ubicacion',
|
193
|
-
carpetaId: 'carpetaId',
|
194
|
-
etiquetaAsistioId: 'etiquetaAsistioId',
|
195
|
-
etiquetaConfirmoId: 'etiquetaConfirmoId',
|
196
|
-
eventoPadreId: 'eventoPadreId',
|
199
|
+
name: 'name',
|
200
|
+
color: 'color',
|
197
201
|
created_at: 'created_at',
|
198
202
|
updated_at: 'updated_at'
|
199
203
|
};
|
200
204
|
|
201
|
-
exports.Prisma.
|
205
|
+
exports.Prisma.MessageScalarFieldEnum = {
|
202
206
|
id: 'id',
|
203
207
|
wamId: 'wamId',
|
204
208
|
message: 'message',
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
+
profilePhoneNumber: 'profilePhoneNumber',
|
210
|
+
state: 'state',
|
211
|
+
created_at: 'created_at',
|
212
|
+
updated_at: 'updated_at'
|
213
|
+
};
|
214
|
+
|
215
|
+
exports.Prisma.CannedResponseScalarFieldEnum = {
|
216
|
+
id: 'id',
|
217
|
+
name: 'name',
|
218
|
+
content: 'content',
|
209
219
|
created_at: 'created_at',
|
210
220
|
updated_at: 'updated_at'
|
211
221
|
};
|
212
222
|
|
213
223
|
exports.Prisma.EnumsScalarFieldEnum = {
|
214
224
|
id: 'id',
|
215
|
-
|
216
|
-
|
225
|
+
templateStatus: 'templateStatus',
|
226
|
+
templateCategory: 'templateCategory'
|
217
227
|
};
|
218
228
|
|
219
229
|
exports.Prisma.SortOrder = {
|
@@ -240,40 +250,46 @@ exports.Prisma.JsonNullValueFilter = {
|
|
240
250
|
JsonNull: Prisma.JsonNull,
|
241
251
|
AnyNull: Prisma.AnyNull
|
242
252
|
};
|
243
|
-
exports.
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
253
|
+
exports.Role = exports.$Enums.Role = {
|
254
|
+
USER: 'USER',
|
255
|
+
ADMIN: 'ADMIN'
|
256
|
+
};
|
257
|
+
|
258
|
+
exports.TagType = exports.$Enums.TagType = {
|
259
|
+
PROFILE: 'PROFILE',
|
260
|
+
EVENT: 'EVENT',
|
261
|
+
PARTICIPANT: 'PARTICIPANT',
|
262
|
+
NOT_IN_SYSTEM: 'NOT_IN_SYSTEM'
|
248
263
|
};
|
249
264
|
|
250
|
-
exports.
|
251
|
-
|
252
|
-
|
253
|
-
|
265
|
+
exports.MessageState = exports.$Enums.MessageState = {
|
266
|
+
SENT: 'SENT',
|
267
|
+
RECEIVED: 'RECEIVED',
|
268
|
+
SEEN: 'SEEN'
|
254
269
|
};
|
255
270
|
|
256
|
-
exports.
|
271
|
+
exports.TemplateStatus = exports.$Enums.TemplateStatus = {
|
257
272
|
APRROVED: 'APRROVED',
|
258
273
|
PENDING: 'PENDING',
|
259
274
|
REJECTED: 'REJECTED'
|
260
275
|
};
|
261
276
|
|
262
|
-
exports.
|
277
|
+
exports.TemplateCategory = exports.$Enums.TemplateCategory = {
|
263
278
|
MARKETING: 'MARKETING',
|
264
279
|
UTILITY: 'UTILITY',
|
265
280
|
AUTHENTICATION: 'AUTHENTICATION'
|
266
281
|
};
|
267
282
|
|
268
283
|
exports.Prisma.ModelName = {
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
284
|
+
Account: 'Account',
|
285
|
+
Profile: 'Profile',
|
286
|
+
Comment: 'Comment',
|
287
|
+
Tag: 'Tag',
|
288
|
+
TagGroup: 'TagGroup',
|
289
|
+
Event: 'Event',
|
290
|
+
EventFolder: 'EventFolder',
|
291
|
+
Message: 'Message',
|
292
|
+
CannedResponse: 'CannedResponse',
|
277
293
|
Enums: 'Enums'
|
278
294
|
};
|
279
295
|
|