expo-backend-types 0.3.0 → 0.4.0-EXPO-212.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/src/account/dto/account.dto.d.ts +256 -0
- package/dist/src/account/dto/account.dto.js +53 -0
- package/dist/src/account/dto/create-account.dto.d.ts +381 -0
- package/dist/src/account/dto/create-account.dto.js +23 -0
- package/dist/src/account/dto/get-global-filter.dto.d.ts +154 -0
- package/dist/src/account/dto/get-global-filter.dto.js +30 -0
- package/dist/src/account/dto/get-me.dto.d.ts +251 -0
- package/dist/src/account/dto/get-me.dto.js +12 -0
- package/dist/src/account/dto/update-global-filter.dto.d.ts +208 -0
- package/dist/src/account/dto/update-global-filter.dto.js +29 -0
- package/dist/src/account/exports.d.ts +5 -0
- package/dist/src/account/exports.js +22 -0
- package/dist/src/auth/dto/login.dto.d.ts +416 -24
- package/dist/src/auth/dto/login.dto.js +3 -3
- package/dist/src/auth/exports.d.ts +0 -1
- package/dist/src/auth/exports.js +0 -1
- 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/comment/exports.js +18 -0
- 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/{cuenta → 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 -1
- package/dist/src/exports.js +5 -1
- package/dist/src/i18n/es.json +125 -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/tag/dto/create-tag.dto.d.ts +89 -0
- package/dist/src/tag/dto/create-tag.dto.js +20 -0
- package/dist/src/tag/dto/delete-tag.dto.d.ts +57 -0
- package/dist/src/tag/dto/delete-tag.dto.js +10 -0
- package/dist/src/tag/dto/find-all-grouped-tag.dto.d.ts +282 -0
- package/dist/src/tag/dto/find-all-grouped-tag.dto.js +33 -0
- package/dist/src/tag/dto/find-all-tag.dto.d.ts +208 -0
- package/dist/src/tag/dto/find-all-tag.dto.js +19 -0
- package/dist/src/tag/dto/find-by-group-tag.dto.d.ts +208 -0
- package/dist/src/tag/dto/find-by-group-tag.dto.js +19 -0
- package/dist/src/tag/dto/find-one-tag.dto.d.ts +136 -0
- package/dist/src/tag/dto/find-one-tag.dto.js +17 -0
- package/dist/src/tag/dto/tag.dto.d.ts +58 -0
- package/dist/src/tag/dto/tag.dto.js +30 -0
- package/dist/src/tag/dto/update-tag.dto.d.ts +79 -0
- package/dist/src/tag/dto/update-tag.dto.js +19 -0
- package/dist/src/tag/exports.d.ts +8 -0
- package/dist/src/tag/exports.js +25 -0
- package/dist/src/tag-group/dto/tag-group.dto.d.ts +48 -0
- package/dist/src/tag-group/dto/tag-group.dto.js +28 -0
- package/dist/src/tag-group/exports.d.ts +1 -0
- package/dist/src/tag-group/exports.js +18 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.js +1 -1
- package/dist/types/index.js.map +1 -1
- package/dist/types/prisma-schema/edge.js +106 -64
- package/dist/types/prisma-schema/index-browser.js +103 -61
- package/dist/types/prisma-schema/index.d.ts +11442 -6088
- package/dist/types/prisma-schema/index.js +106 -64
- package/dist/types/prisma-schema/package.json +1 -1
- package/dist/types/prisma-schema/schema.prisma +175 -103
- package/dist/types/prisma-schema/wasm.js +103 -61
- package/dist/types/schema.d.ts +539 -26
- package/package.json +11 -7
- package/dist/src/auth/dto/register.dto.d.ts +0 -73
- package/dist/src/auth/dto/register.dto.js +0 -20
- package/dist/src/cuenta/dto/cuenta.dto.d.ts +0 -60
- package/dist/src/cuenta/dto/cuenta.dto.js +0 -31
- package/dist/src/cuenta/exports.d.ts +0 -1
@@ -14,162 +14,234 @@ 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
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
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")
|
30
|
+
|
31
|
+
created_at DateTime @default(now())
|
32
|
+
updated_at DateTime @updatedAt
|
33
|
+
|
34
|
+
@@map("ACCOUNT")
|
35
|
+
}
|
36
|
+
|
37
|
+
enum Role {
|
38
|
+
USER
|
39
|
+
ADMIN
|
40
|
+
}
|
41
|
+
|
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
|
+
birthLongitude Float? @map("birth_longitude")
|
63
|
+
birthLatitude Float? @map("birth_latitude")
|
64
|
+
birthLocation Location? @relation("PROFILE_X_BIRTH_LOCATION", fields: [birthLatitude, birthLongitude], references: [latitude, longitude])
|
65
|
+
|
66
|
+
residenceLongitude Float? @map("residence_longitude")
|
67
|
+
residenceLatitude Float? @map("residence_latitude")
|
68
|
+
residenceLocation Location? @relation("PROFILE_X_RESIDENCE_LOCATION", fields: [residenceLatitude, residenceLongitude], references: [latitude, longitude])
|
69
|
+
|
70
|
+
isInTrash Boolean @default(false) @map("is_in_trash")
|
71
|
+
movedToTrashDate DateTime? @map("moved_to_trash_date")
|
56
72
|
|
57
73
|
created_at DateTime @default(now())
|
58
74
|
updated_at DateTime @updatedAt
|
59
75
|
|
60
|
-
@@map("
|
76
|
+
@@map("PROFILE")
|
61
77
|
}
|
62
78
|
|
63
|
-
model
|
64
|
-
|
65
|
-
|
79
|
+
model Location {
|
80
|
+
latitude Float
|
81
|
+
longitude Float
|
82
|
+
country String
|
83
|
+
province String
|
84
|
+
city String
|
85
|
+
|
86
|
+
birthProfiles Profile[] @relation("PROFILE_X_BIRTH_LOCATION")
|
87
|
+
residenceProfiles Profile[] @relation("PROFILE_X_RESIDENCE_LOCATION")
|
88
|
+
|
89
|
+
created_at DateTime @default(now())
|
90
|
+
updated_at DateTime @updatedAt
|
91
|
+
|
92
|
+
@@id([latitude, longitude])
|
93
|
+
@@map("LOCATION")
|
94
|
+
}
|
95
|
+
|
96
|
+
model Comment {
|
97
|
+
id String @id @default(uuid())
|
98
|
+
content String
|
99
|
+
|
100
|
+
createdBy String @map("created_by")
|
101
|
+
account Account @relation("ACCOUNT_X_COMMENT", fields: [createdBy], references: [id])
|
102
|
+
|
103
|
+
profileId String @map("perfil_id")
|
104
|
+
profile Profile @relation("PROFILE_X_COMMENT", fields: [profileId], references: [id], onDelete: Cascade)
|
105
|
+
|
106
|
+
isSolvable Boolean @default(false) @map("is_solvable")
|
107
|
+
isSolved Boolean @default(false) @map("is_solved")
|
108
|
+
solvedAt DateTime? @map("solved_at")
|
66
109
|
|
67
|
-
|
68
|
-
|
69
|
-
perfilId String @map("perfil_id")
|
70
|
-
perfil Perfil @relation(fields: [perfilId], references: [id], onDelete: Cascade)
|
110
|
+
solvedById String? @map("solved_by")
|
111
|
+
solvedBy Account? @relation("ACCOUNT_X_SOLVED_COMMENT", fields: [solvedById], references: [id])
|
71
112
|
|
72
113
|
created_at DateTime @default(now())
|
73
114
|
updated_at DateTime @updatedAt
|
74
115
|
|
75
|
-
@@map("
|
116
|
+
@@map("COMMENT")
|
76
117
|
}
|
77
118
|
|
78
|
-
model
|
79
|
-
id
|
80
|
-
|
81
|
-
|
82
|
-
tipo TipoEtiqueta @default(PERSONAL)
|
83
|
-
grupo EtiquetaGrupo @relation(fields: [grupoId], references: [id], onDelete: Cascade)
|
119
|
+
model Tag {
|
120
|
+
id String @id @default(uuid())
|
121
|
+
name String
|
122
|
+
type TagType @default(PROFILE)
|
84
123
|
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
124
|
+
groupId String @map("group_id")
|
125
|
+
group TagGroup @relation(fields: [groupId], references: [id], onDelete: Cascade)
|
126
|
+
|
127
|
+
assistedEvent Event? @relation("EVENT_X_TAG_ASISTED")
|
128
|
+
confirmedEvent Event? @relation("EVENT_X_TAG_CONFIRMED")
|
129
|
+
|
130
|
+
accounts Account[] @relation("ACCOUNT_X_TAG")
|
131
|
+
profiles Profile[] @relation("PROFILE_X_TAG")
|
132
|
+
accountsGlobalFilter Account[] @relation("GLOBAL_FILTER_X_ACCOUNT")
|
90
133
|
|
91
134
|
created_at DateTime @default(now())
|
92
135
|
updated_at DateTime @updatedAt
|
93
136
|
|
94
|
-
@@map("
|
137
|
+
@@map("TAG")
|
95
138
|
}
|
96
139
|
|
97
|
-
model
|
98
|
-
id String
|
99
|
-
|
140
|
+
model TagGroup {
|
141
|
+
id String @id @default(uuid())
|
142
|
+
name String
|
100
143
|
color String
|
101
|
-
|
102
|
-
|
144
|
+
isExclusive Boolean @map("is_exclusive")
|
145
|
+
tags Tag[]
|
146
|
+
|
147
|
+
created_at DateTime @default(now())
|
148
|
+
updated_at DateTime @updatedAt
|
149
|
+
|
150
|
+
@@map("TAG_GROUP")
|
151
|
+
}
|
152
|
+
|
153
|
+
model Event {
|
154
|
+
id String @id @default(uuid())
|
155
|
+
name String
|
156
|
+
date DateTime
|
157
|
+
location String
|
158
|
+
|
159
|
+
folderId String? @map("folder_id")
|
160
|
+
folder EventFolder? @relation("EVENT_FOLDER_X_EVENT", fields: [folderId], references: [id], onDelete: Cascade)
|
161
|
+
|
162
|
+
tagAssistedId String @unique @map("tag_assisted")
|
163
|
+
tagAssisted Tag @relation("EVENT_X_TAG_ASISTED", fields: [tagAssistedId], references: [id])
|
164
|
+
|
165
|
+
tagConfirmedId String @unique @map("tag_confirmed")
|
166
|
+
tagConfirmed Tag @relation("EVENT_X_TAG_CONFIRMED", fields: [tagConfirmedId], references: [id])
|
167
|
+
|
168
|
+
supraEventId String? @map("supra_event_id")
|
169
|
+
supraEvent Event? @relation("SubEvents", fields: [supraEventId], references: [id], onDelete: Cascade)
|
170
|
+
|
171
|
+
subEvents Event[] @relation("SubEvents")
|
172
|
+
|
173
|
+
created_at DateTime @default(now())
|
174
|
+
updated_at DateTime @updatedAt
|
175
|
+
|
176
|
+
@@map("EVENT")
|
177
|
+
}
|
178
|
+
|
179
|
+
model EventFolder {
|
180
|
+
id String @id @default(uuid())
|
181
|
+
name String
|
182
|
+
color String
|
183
|
+
events Event[] @relation("EVENT_FOLDER_X_EVENT")
|
103
184
|
|
104
185
|
created_at DateTime @default(now())
|
105
186
|
updated_at DateTime @updatedAt
|
106
187
|
|
107
|
-
@@map("
|
188
|
+
@@map("EVENT_FOLDER")
|
108
189
|
}
|
109
190
|
|
110
|
-
model
|
111
|
-
id
|
112
|
-
|
113
|
-
|
114
|
-
|
191
|
+
model Message {
|
192
|
+
id String @id @default(uuid())
|
193
|
+
wamId String @unique @map("wam_id")
|
194
|
+
message Json
|
195
|
+
|
196
|
+
profilePhoneNumber String @map("profile_phone_number")
|
197
|
+
profile Profile @relation("PROFILE_X_MESSAGE", fields: [profilePhoneNumber], references: [phoneNumber], onDelete: Cascade)
|
115
198
|
|
116
|
-
|
117
|
-
etiquetaAsistio Etiqueta @relation("EVENTOASISTIDO_X_ETIQUETA", fields: [etiquetaAsistioId], references: [id], onDelete: Cascade)
|
118
|
-
etiquetaConfirmoId String @map("etiqueta_confirmo")
|
119
|
-
etiquetaConfirmo Etiqueta @relation("EVENTOCONFIRMADO_X_ETIQUETA", fields: [etiquetaConfirmoId], references: [id], onDelete: Cascade)
|
120
|
-
eventoPadreId String? @map("evento_padre")
|
121
|
-
eventoPadre Evento? @relation("SubEventos", fields: [eventoPadreId], references: [id], onDelete: Cascade)
|
122
|
-
subEventos Evento[] @relation("SubEventos")
|
199
|
+
state MessageState @default(SENT)
|
123
200
|
|
124
201
|
created_at DateTime @default(now())
|
125
202
|
updated_at DateTime @updatedAt
|
126
203
|
|
127
|
-
@@map("
|
204
|
+
@@map("MESSAGE")
|
128
205
|
}
|
129
206
|
|
130
|
-
model
|
131
|
-
id
|
132
|
-
|
133
|
-
|
134
|
-
perfilTelefono String @map("perfil_telefono")
|
135
|
-
perfil Perfil @relation("PERFIL_X_MENSAJE", fields: [perfilTelefono], references: [telefono], onDelete: Cascade)
|
136
|
-
status MensajeStatus @default(ENVIADO)
|
137
|
-
statusAt DateTime? @map("status_at")
|
138
|
-
visto Boolean @default(false)
|
207
|
+
model CannedResponse {
|
208
|
+
id String @id @default(uuid())
|
209
|
+
name String
|
210
|
+
content String
|
139
211
|
|
140
212
|
created_at DateTime @default(now())
|
141
213
|
updated_at DateTime @updatedAt
|
142
214
|
|
143
|
-
@@map("
|
215
|
+
@@map("CANNED_RESPONSE")
|
144
216
|
}
|
145
217
|
|
146
218
|
model Enums {
|
147
|
-
id
|
148
|
-
|
149
|
-
|
219
|
+
id String @id
|
220
|
+
templateStatus TemplateStatus
|
221
|
+
templateCategory TemplateCategory
|
150
222
|
}
|
151
223
|
|
152
|
-
enum
|
224
|
+
enum TemplateStatus {
|
153
225
|
APRROVED
|
154
226
|
PENDING
|
155
227
|
REJECTED
|
156
228
|
}
|
157
229
|
|
158
|
-
enum
|
230
|
+
enum TemplateCategory {
|
159
231
|
MARKETING
|
160
232
|
UTILITY
|
161
233
|
AUTHENTICATION
|
162
234
|
}
|
163
235
|
|
164
|
-
enum
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
236
|
+
enum TagType {
|
237
|
+
PROFILE
|
238
|
+
EVENT
|
239
|
+
PARTICIPANT
|
240
|
+
NOT_IN_SYSTEM
|
169
241
|
}
|
170
242
|
|
171
|
-
enum
|
172
|
-
|
173
|
-
|
174
|
-
|
243
|
+
enum MessageState {
|
244
|
+
SENT
|
245
|
+
RECEIVED
|
246
|
+
SEEN
|
175
247
|
}
|
@@ -119,91 +119,125 @@ 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
|
-
|
135
|
+
shortId: 'shortId',
|
136
|
+
phoneNumber: 'phoneNumber',
|
137
|
+
secondaryPhoneNumber: 'secondaryPhoneNumber',
|
138
|
+
fullName: 'fullName',
|
139
|
+
fistName: 'fistName',
|
140
|
+
gender: 'gender',
|
141
|
+
birthDate: 'birthDate',
|
142
|
+
profilePictureUrl: 'profilePictureUrl',
|
142
143
|
instagram: 'instagram',
|
143
144
|
mail: 'mail',
|
144
145
|
dni: 'dni',
|
145
|
-
|
146
|
-
|
147
|
-
|
146
|
+
alternativeNames: 'alternativeNames',
|
147
|
+
birthLongitude: 'birthLongitude',
|
148
|
+
birthLatitude: 'birthLatitude',
|
149
|
+
residenceLongitude: 'residenceLongitude',
|
150
|
+
residenceLatitude: 'residenceLatitude',
|
151
|
+
isInTrash: 'isInTrash',
|
152
|
+
movedToTrashDate: 'movedToTrashDate',
|
153
|
+
created_at: 'created_at',
|
154
|
+
updated_at: 'updated_at'
|
155
|
+
};
|
156
|
+
|
157
|
+
exports.Prisma.LocationScalarFieldEnum = {
|
158
|
+
latitude: 'latitude',
|
159
|
+
longitude: 'longitude',
|
160
|
+
country: 'country',
|
161
|
+
province: 'province',
|
162
|
+
city: 'city',
|
148
163
|
created_at: 'created_at',
|
149
164
|
updated_at: 'updated_at'
|
150
165
|
};
|
151
166
|
|
152
|
-
exports.Prisma.
|
167
|
+
exports.Prisma.CommentScalarFieldEnum = {
|
153
168
|
id: 'id',
|
154
|
-
|
155
|
-
|
156
|
-
|
169
|
+
content: 'content',
|
170
|
+
createdBy: 'createdBy',
|
171
|
+
profileId: 'profileId',
|
172
|
+
isSolvable: 'isSolvable',
|
173
|
+
isSolved: 'isSolved',
|
174
|
+
solvedAt: 'solvedAt',
|
175
|
+
solvedById: 'solvedById',
|
157
176
|
created_at: 'created_at',
|
158
177
|
updated_at: 'updated_at'
|
159
178
|
};
|
160
179
|
|
161
|
-
exports.Prisma.
|
180
|
+
exports.Prisma.TagScalarFieldEnum = {
|
162
181
|
id: 'id',
|
163
|
-
|
164
|
-
|
165
|
-
|
182
|
+
name: 'name',
|
183
|
+
type: 'type',
|
184
|
+
groupId: 'groupId',
|
166
185
|
created_at: 'created_at',
|
167
186
|
updated_at: 'updated_at'
|
168
187
|
};
|
169
188
|
|
170
|
-
exports.Prisma.
|
189
|
+
exports.Prisma.TagGroupScalarFieldEnum = {
|
171
190
|
id: 'id',
|
172
|
-
|
191
|
+
name: 'name',
|
173
192
|
color: 'color',
|
174
|
-
|
193
|
+
isExclusive: 'isExclusive',
|
194
|
+
created_at: 'created_at',
|
195
|
+
updated_at: 'updated_at'
|
196
|
+
};
|
197
|
+
|
198
|
+
exports.Prisma.EventScalarFieldEnum = {
|
199
|
+
id: 'id',
|
200
|
+
name: 'name',
|
201
|
+
date: 'date',
|
202
|
+
location: 'location',
|
203
|
+
folderId: 'folderId',
|
204
|
+
tagAssistedId: 'tagAssistedId',
|
205
|
+
tagConfirmedId: 'tagConfirmedId',
|
206
|
+
supraEventId: 'supraEventId',
|
175
207
|
created_at: 'created_at',
|
176
208
|
updated_at: 'updated_at'
|
177
209
|
};
|
178
210
|
|
179
|
-
exports.Prisma.
|
211
|
+
exports.Prisma.EventFolderScalarFieldEnum = {
|
180
212
|
id: 'id',
|
181
|
-
|
182
|
-
|
183
|
-
ubicacion: 'ubicacion',
|
184
|
-
etiquetaAsistioId: 'etiquetaAsistioId',
|
185
|
-
etiquetaConfirmoId: 'etiquetaConfirmoId',
|
186
|
-
eventoPadreId: 'eventoPadreId',
|
213
|
+
name: 'name',
|
214
|
+
color: 'color',
|
187
215
|
created_at: 'created_at',
|
188
216
|
updated_at: 'updated_at'
|
189
217
|
};
|
190
218
|
|
191
|
-
exports.Prisma.
|
219
|
+
exports.Prisma.MessageScalarFieldEnum = {
|
192
220
|
id: 'id',
|
193
221
|
wamId: 'wamId',
|
194
222
|
message: 'message',
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
223
|
+
profilePhoneNumber: 'profilePhoneNumber',
|
224
|
+
state: 'state',
|
225
|
+
created_at: 'created_at',
|
226
|
+
updated_at: 'updated_at'
|
227
|
+
};
|
228
|
+
|
229
|
+
exports.Prisma.CannedResponseScalarFieldEnum = {
|
230
|
+
id: 'id',
|
231
|
+
name: 'name',
|
232
|
+
content: 'content',
|
199
233
|
created_at: 'created_at',
|
200
234
|
updated_at: 'updated_at'
|
201
235
|
};
|
202
236
|
|
203
237
|
exports.Prisma.EnumsScalarFieldEnum = {
|
204
238
|
id: 'id',
|
205
|
-
|
206
|
-
|
239
|
+
templateStatus: 'templateStatus',
|
240
|
+
templateCategory: 'templateCategory'
|
207
241
|
};
|
208
242
|
|
209
243
|
exports.Prisma.SortOrder = {
|
@@ -230,39 +264,47 @@ exports.Prisma.JsonNullValueFilter = {
|
|
230
264
|
JsonNull: Prisma.JsonNull,
|
231
265
|
AnyNull: Prisma.AnyNull
|
232
266
|
};
|
233
|
-
exports.
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
267
|
+
exports.Role = exports.$Enums.Role = {
|
268
|
+
USER: 'USER',
|
269
|
+
ADMIN: 'ADMIN'
|
270
|
+
};
|
271
|
+
|
272
|
+
exports.TagType = exports.$Enums.TagType = {
|
273
|
+
PROFILE: 'PROFILE',
|
274
|
+
EVENT: 'EVENT',
|
275
|
+
PARTICIPANT: 'PARTICIPANT',
|
276
|
+
NOT_IN_SYSTEM: 'NOT_IN_SYSTEM'
|
238
277
|
};
|
239
278
|
|
240
|
-
exports.
|
241
|
-
|
242
|
-
|
243
|
-
|
279
|
+
exports.MessageState = exports.$Enums.MessageState = {
|
280
|
+
SENT: 'SENT',
|
281
|
+
RECEIVED: 'RECEIVED',
|
282
|
+
SEEN: 'SEEN'
|
244
283
|
};
|
245
284
|
|
246
|
-
exports.
|
285
|
+
exports.TemplateStatus = exports.$Enums.TemplateStatus = {
|
247
286
|
APRROVED: 'APRROVED',
|
248
287
|
PENDING: 'PENDING',
|
249
288
|
REJECTED: 'REJECTED'
|
250
289
|
};
|
251
290
|
|
252
|
-
exports.
|
291
|
+
exports.TemplateCategory = exports.$Enums.TemplateCategory = {
|
253
292
|
MARKETING: 'MARKETING',
|
254
293
|
UTILITY: 'UTILITY',
|
255
294
|
AUTHENTICATION: 'AUTHENTICATION'
|
256
295
|
};
|
257
296
|
|
258
297
|
exports.Prisma.ModelName = {
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
298
|
+
Account: 'Account',
|
299
|
+
Profile: 'Profile',
|
300
|
+
Location: 'Location',
|
301
|
+
Comment: 'Comment',
|
302
|
+
Tag: 'Tag',
|
303
|
+
TagGroup: 'TagGroup',
|
304
|
+
Event: 'Event',
|
305
|
+
EventFolder: 'EventFolder',
|
306
|
+
Message: 'Message',
|
307
|
+
CannedResponse: 'CannedResponse',
|
266
308
|
Enums: 'Enums'
|
267
309
|
};
|
268
310
|
|