@stayin/stayin-core-db 1.0.0
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/package.json +25 -0
- package/prisma/schema/client/client.d.ts +1 -0
- package/prisma/schema/client/client.js +4 -0
- package/prisma/schema/client/default.d.ts +1 -0
- package/prisma/schema/client/default.js +4 -0
- package/prisma/schema/client/edge.d.ts +1 -0
- package/prisma/schema/client/edge.js +1314 -0
- package/prisma/schema/client/index-browser.js +1296 -0
- package/prisma/schema/client/index.d.ts +95461 -0
- package/prisma/schema/client/index.js +1335 -0
- package/prisma/schema/client/libquery_engine-darwin-arm64.dylib.node +0 -0
- package/prisma/schema/client/package.json +173 -0
- package/prisma/schema/client/query_engine_bg.js +2 -0
- package/prisma/schema/client/query_engine_bg.wasm +0 -0
- package/prisma/schema/client/runtime/edge-esm.js +34 -0
- package/prisma/schema/client/runtime/edge.js +34 -0
- package/prisma/schema/client/runtime/index-browser.d.ts +370 -0
- package/prisma/schema/client/runtime/index-browser.js +16 -0
- package/prisma/schema/client/runtime/library.d.ts +3681 -0
- package/prisma/schema/client/runtime/library.js +146 -0
- package/prisma/schema/client/runtime/react-native.js +83 -0
- package/prisma/schema/client/runtime/wasm-compiler-edge.js +83 -0
- package/prisma/schema/client/runtime/wasm-engine-edge.js +35 -0
- package/prisma/schema/client/schema.prisma +1368 -0
- package/prisma/schema/client/wasm-edge-light-loader.mjs +4 -0
- package/prisma/schema/client/wasm-worker-loader.mjs +4 -0
- package/prisma/schema/client/wasm.d.ts +1 -0
- package/prisma/schema/client/wasm.js +1321 -0
- package/prisma/schema/flat.prisma +216 -0
- package/prisma/schema/migrations/20250407144650_07_04_2025_init_schema_migration/migration.sql +1151 -0
- package/prisma/schema/migrations/20250413075447_13_04_25_convert_flatlead_enums_to_arrays/migration.sql +24 -0
- package/prisma/schema/migrations/20250413111229_13_04_2025_dropped_budget_in_flat_requirements/migration.sql +8 -0
- package/prisma/schema/migrations/20250413190101_14_04_25_query_optional_property_code_added/migration.sql +2 -0
- package/prisma/schema/migrations/20250414085942_14_04_25_added_password_created_flag/migration.sql +3 -0
- package/prisma/schema/migrations/20250501112646_01_05_25_added_additional_properties_for_flat/migration.sql +20 -0
- package/prisma/schema/migrations/20250529071508_29_05_25_convert_preferred_tenant_type_to_array/migration.sql +24 -0
- package/prisma/schema/migrations/20250530103434_30_05_25_added_cta_options_to_flat_properties/migration.sql +12 -0
- package/prisma/schema/migrations/20250530113442_30_05_25_renamed_whatsapp_link_to_whatsapp_number/migration.sql +9 -0
- package/prisma/schema/migrations/20250613173143_13_06_25_added_event_tracking_for_real_estate_properties/migration.sql +25 -0
- package/prisma/schema/migrations/migration_lock.toml +3 -0
- package/prisma/schema/owner.prisma +13 -0
- package/prisma/schema/pg.prisma +200 -0
- package/prisma/schema/real_estate.prisma +536 -0
- package/prisma/schema/schema.prisma +399 -0
|
@@ -0,0 +1,1296 @@
|
|
|
1
|
+
|
|
2
|
+
/* !!! This is code generated by Prisma. Do not edit directly. !!!
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
|
|
7
|
+
const {
|
|
8
|
+
Decimal,
|
|
9
|
+
objectEnumValues,
|
|
10
|
+
makeStrictEnum,
|
|
11
|
+
Public,
|
|
12
|
+
getRuntime,
|
|
13
|
+
skip
|
|
14
|
+
} = require('./runtime/index-browser.js')
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
const Prisma = {}
|
|
18
|
+
|
|
19
|
+
exports.Prisma = Prisma
|
|
20
|
+
exports.$Enums = {}
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Prisma Client JS version: 6.10.1
|
|
24
|
+
* Query Engine version: 9b628578b3b7cae625e8c927178f15a170e74a9c
|
|
25
|
+
*/
|
|
26
|
+
Prisma.prismaVersion = {
|
|
27
|
+
client: "6.10.1",
|
|
28
|
+
engine: "9b628578b3b7cae625e8c927178f15a170e74a9c"
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
Prisma.PrismaClientKnownRequestError = () => {
|
|
32
|
+
const runtimeName = getRuntime().prettyName;
|
|
33
|
+
throw new Error(`PrismaClientKnownRequestError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
|
|
34
|
+
In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
|
|
35
|
+
)};
|
|
36
|
+
Prisma.PrismaClientUnknownRequestError = () => {
|
|
37
|
+
const runtimeName = getRuntime().prettyName;
|
|
38
|
+
throw new Error(`PrismaClientUnknownRequestError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
|
|
39
|
+
In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
|
|
40
|
+
)}
|
|
41
|
+
Prisma.PrismaClientRustPanicError = () => {
|
|
42
|
+
const runtimeName = getRuntime().prettyName;
|
|
43
|
+
throw new Error(`PrismaClientRustPanicError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
|
|
44
|
+
In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
|
|
45
|
+
)}
|
|
46
|
+
Prisma.PrismaClientInitializationError = () => {
|
|
47
|
+
const runtimeName = getRuntime().prettyName;
|
|
48
|
+
throw new Error(`PrismaClientInitializationError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
|
|
49
|
+
In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
|
|
50
|
+
)}
|
|
51
|
+
Prisma.PrismaClientValidationError = () => {
|
|
52
|
+
const runtimeName = getRuntime().prettyName;
|
|
53
|
+
throw new Error(`PrismaClientValidationError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
|
|
54
|
+
In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
|
|
55
|
+
)}
|
|
56
|
+
Prisma.Decimal = Decimal
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Re-export of sql-template-tag
|
|
60
|
+
*/
|
|
61
|
+
Prisma.sql = () => {
|
|
62
|
+
const runtimeName = getRuntime().prettyName;
|
|
63
|
+
throw new Error(`sqltag is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
|
|
64
|
+
In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
|
|
65
|
+
)}
|
|
66
|
+
Prisma.empty = () => {
|
|
67
|
+
const runtimeName = getRuntime().prettyName;
|
|
68
|
+
throw new Error(`empty is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
|
|
69
|
+
In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
|
|
70
|
+
)}
|
|
71
|
+
Prisma.join = () => {
|
|
72
|
+
const runtimeName = getRuntime().prettyName;
|
|
73
|
+
throw new Error(`join is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
|
|
74
|
+
In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
|
|
75
|
+
)}
|
|
76
|
+
Prisma.raw = () => {
|
|
77
|
+
const runtimeName = getRuntime().prettyName;
|
|
78
|
+
throw new Error(`raw is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
|
|
79
|
+
In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
|
|
80
|
+
)}
|
|
81
|
+
Prisma.validator = Public.validator
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Extensions
|
|
85
|
+
*/
|
|
86
|
+
Prisma.getExtensionContext = () => {
|
|
87
|
+
const runtimeName = getRuntime().prettyName;
|
|
88
|
+
throw new Error(`Extensions.getExtensionContext is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
|
|
89
|
+
In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
|
|
90
|
+
)}
|
|
91
|
+
Prisma.defineExtension = () => {
|
|
92
|
+
const runtimeName = getRuntime().prettyName;
|
|
93
|
+
throw new Error(`Extensions.defineExtension is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
|
|
94
|
+
In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
|
|
95
|
+
)}
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* Shorthand utilities for JSON filtering
|
|
99
|
+
*/
|
|
100
|
+
Prisma.DbNull = objectEnumValues.instances.DbNull
|
|
101
|
+
Prisma.JsonNull = objectEnumValues.instances.JsonNull
|
|
102
|
+
Prisma.AnyNull = objectEnumValues.instances.AnyNull
|
|
103
|
+
|
|
104
|
+
Prisma.NullTypes = {
|
|
105
|
+
DbNull: objectEnumValues.classes.DbNull,
|
|
106
|
+
JsonNull: objectEnumValues.classes.JsonNull,
|
|
107
|
+
AnyNull: objectEnumValues.classes.AnyNull
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* Enums
|
|
114
|
+
*/
|
|
115
|
+
|
|
116
|
+
exports.Prisma.TransactionIsolationLevel = makeStrictEnum({
|
|
117
|
+
ReadUncommitted: 'ReadUncommitted',
|
|
118
|
+
ReadCommitted: 'ReadCommitted',
|
|
119
|
+
RepeatableRead: 'RepeatableRead',
|
|
120
|
+
Serializable: 'Serializable'
|
|
121
|
+
});
|
|
122
|
+
|
|
123
|
+
exports.Prisma.FlatScalarFieldEnum = {
|
|
124
|
+
id: 'id',
|
|
125
|
+
businessId: 'businessId',
|
|
126
|
+
propertyCode: 'propertyCode',
|
|
127
|
+
name: 'name',
|
|
128
|
+
rent: 'rent',
|
|
129
|
+
deposit: 'deposit',
|
|
130
|
+
areaId: 'areaId',
|
|
131
|
+
address: 'address',
|
|
132
|
+
landmark: 'landmark',
|
|
133
|
+
googleMapsURL: 'googleMapsURL',
|
|
134
|
+
lat: 'lat',
|
|
135
|
+
lng: 'lng',
|
|
136
|
+
furnishType: 'furnishType',
|
|
137
|
+
bhkType: 'bhkType',
|
|
138
|
+
propertyType: 'propertyType',
|
|
139
|
+
amenities: 'amenities',
|
|
140
|
+
availableOn: 'availableOn',
|
|
141
|
+
priority: 'priority',
|
|
142
|
+
status: 'status',
|
|
143
|
+
isPublic: 'isPublic',
|
|
144
|
+
thumbnailImage: 'thumbnailImage',
|
|
145
|
+
pmType: 'pmType',
|
|
146
|
+
pmName: 'pmName',
|
|
147
|
+
pmContactNumber: 'pmContactNumber',
|
|
148
|
+
ownerName: 'ownerName',
|
|
149
|
+
ownerNumber: 'ownerNumber',
|
|
150
|
+
guideName: 'guideName',
|
|
151
|
+
guideNumber: 'guideNumber',
|
|
152
|
+
guideType: 'guideType',
|
|
153
|
+
teamGuideId: 'teamGuideId',
|
|
154
|
+
description: 'description',
|
|
155
|
+
bookingURL: 'bookingURL',
|
|
156
|
+
images: 'images',
|
|
157
|
+
videos: 'videos',
|
|
158
|
+
createdAt: 'createdAt',
|
|
159
|
+
updatedAt: 'updatedAt',
|
|
160
|
+
ageOfProperty: 'ageOfProperty',
|
|
161
|
+
balconyCount: 'balconyCount',
|
|
162
|
+
bathroomCount: 'bathroomCount',
|
|
163
|
+
carpetArea: 'carpetArea',
|
|
164
|
+
coveredParking: 'coveredParking',
|
|
165
|
+
facing: 'facing',
|
|
166
|
+
flatNumber: 'flatNumber',
|
|
167
|
+
floorNumber: 'floorNumber',
|
|
168
|
+
lockInPeriodInDays: 'lockInPeriodInDays',
|
|
169
|
+
maintenanceCharges: 'maintenanceCharges',
|
|
170
|
+
maintenanceChargesIncluded: 'maintenanceChargesIncluded',
|
|
171
|
+
openParking: 'openParking',
|
|
172
|
+
paintingCharges: 'paintingCharges',
|
|
173
|
+
parkingCharges: 'parkingCharges',
|
|
174
|
+
petFriendly: 'petFriendly',
|
|
175
|
+
totalFloors: 'totalFloors',
|
|
176
|
+
preferredTenantType: 'preferredTenantType',
|
|
177
|
+
ctaType: 'ctaType',
|
|
178
|
+
ctaPhoneNumber: 'ctaPhoneNumber',
|
|
179
|
+
ctaWhatsappNumber: 'ctaWhatsappNumber',
|
|
180
|
+
ctaCustomLink: 'ctaCustomLink',
|
|
181
|
+
ctaButtonTitle: 'ctaButtonTitle'
|
|
182
|
+
};
|
|
183
|
+
|
|
184
|
+
exports.Prisma.FlatVariationScalarFieldEnum = {
|
|
185
|
+
id: 'id',
|
|
186
|
+
flatId: 'flatId',
|
|
187
|
+
name: 'name',
|
|
188
|
+
description: 'description',
|
|
189
|
+
rent: 'rent',
|
|
190
|
+
deposit: 'deposit',
|
|
191
|
+
createdAt: 'createdAt',
|
|
192
|
+
updatedAt: 'updatedAt'
|
|
193
|
+
};
|
|
194
|
+
|
|
195
|
+
exports.Prisma.OwnerBusinessScalarFieldEnum = {
|
|
196
|
+
id: 'id',
|
|
197
|
+
businessId: 'businessId',
|
|
198
|
+
ownerUserId: 'ownerUserId',
|
|
199
|
+
createdAt: 'createdAt',
|
|
200
|
+
updatedAt: 'updatedAt'
|
|
201
|
+
};
|
|
202
|
+
|
|
203
|
+
exports.Prisma.PgPropertyScalarFieldEnum = {
|
|
204
|
+
id: 'id',
|
|
205
|
+
businessId: 'businessId',
|
|
206
|
+
propertyCode: 'propertyCode',
|
|
207
|
+
name: 'name',
|
|
208
|
+
status: 'status',
|
|
209
|
+
areaId: 'areaId',
|
|
210
|
+
address: 'address',
|
|
211
|
+
landmark: 'landmark',
|
|
212
|
+
exactLocation: 'exactLocation',
|
|
213
|
+
googleMapsURL: 'googleMapsURL',
|
|
214
|
+
lat: 'lat',
|
|
215
|
+
lng: 'lng',
|
|
216
|
+
pgPreferredTenantType: 'pgPreferredTenantType',
|
|
217
|
+
professionPreference: 'professionPreference',
|
|
218
|
+
lockInPeriod: 'lockInPeriod',
|
|
219
|
+
noticePeriod: 'noticePeriod',
|
|
220
|
+
pgRules: 'pgRules',
|
|
221
|
+
foodProvided: 'foodProvided',
|
|
222
|
+
vegOrNonVeg: 'vegOrNonVeg',
|
|
223
|
+
foodPricing: 'foodPricing',
|
|
224
|
+
foodMenu: 'foodMenu',
|
|
225
|
+
otherServices: 'otherServices',
|
|
226
|
+
commonAreaAmenities: 'commonAreaAmenities',
|
|
227
|
+
roomAmenities: 'roomAmenities',
|
|
228
|
+
additionalAmenities: 'additionalAmenities',
|
|
229
|
+
isPublic: 'isPublic',
|
|
230
|
+
ownerName: 'ownerName',
|
|
231
|
+
ownerNumber: 'ownerNumber',
|
|
232
|
+
guideName: 'guideName',
|
|
233
|
+
guideNumber: 'guideNumber',
|
|
234
|
+
teamGuideId: 'teamGuideId',
|
|
235
|
+
description: 'description',
|
|
236
|
+
bookingURL: 'bookingURL',
|
|
237
|
+
images: 'images',
|
|
238
|
+
videos: 'videos',
|
|
239
|
+
createdAt: 'createdAt',
|
|
240
|
+
updatedAt: 'updatedAt'
|
|
241
|
+
};
|
|
242
|
+
|
|
243
|
+
exports.Prisma.PgVariationScalarFieldEnum = {
|
|
244
|
+
id: 'id',
|
|
245
|
+
pgId: 'pgId',
|
|
246
|
+
name: 'name',
|
|
247
|
+
description: 'description',
|
|
248
|
+
rent: 'rent',
|
|
249
|
+
deposit: 'deposit',
|
|
250
|
+
createdAt: 'createdAt',
|
|
251
|
+
updatedAt: 'updatedAt'
|
|
252
|
+
};
|
|
253
|
+
|
|
254
|
+
exports.Prisma.PgSharingOptionScalarFieldEnum = {
|
|
255
|
+
id: 'id',
|
|
256
|
+
pgId: 'pgId',
|
|
257
|
+
sharingType: 'sharingType',
|
|
258
|
+
rent: 'rent',
|
|
259
|
+
deposit: 'deposit',
|
|
260
|
+
createdAt: 'createdAt',
|
|
261
|
+
updatedAt: 'updatedAt'
|
|
262
|
+
};
|
|
263
|
+
|
|
264
|
+
exports.Prisma.RealEstateQueryScalarFieldEnum = {
|
|
265
|
+
id: 'id',
|
|
266
|
+
queryType: 'queryType',
|
|
267
|
+
queryDesc: 'queryDesc',
|
|
268
|
+
status: 'status',
|
|
269
|
+
createdAt: 'createdAt',
|
|
270
|
+
updatedAt: 'updatedAt',
|
|
271
|
+
coreUserId: 'coreUserId',
|
|
272
|
+
realEstateBizId: 'realEstateBizId',
|
|
273
|
+
realEstateLeadId: 'realEstateLeadId',
|
|
274
|
+
propertyCode: 'propertyCode'
|
|
275
|
+
};
|
|
276
|
+
|
|
277
|
+
exports.Prisma.RealEstateNoteScalarFieldEnum = {
|
|
278
|
+
id: 'id',
|
|
279
|
+
noteType: 'noteType',
|
|
280
|
+
noteContent: 'noteContent',
|
|
281
|
+
realEstateBusinessId: 'realEstateBusinessId',
|
|
282
|
+
createdAt: 'createdAt',
|
|
283
|
+
updatedAt: 'updatedAt'
|
|
284
|
+
};
|
|
285
|
+
|
|
286
|
+
exports.Prisma.RealEstateFavoriteScalarFieldEnum = {
|
|
287
|
+
id: 'id',
|
|
288
|
+
coreFavoriteId: 'coreFavoriteId',
|
|
289
|
+
favoriteFlats: 'favoriteFlats',
|
|
290
|
+
favoritePgs: 'favoritePgs',
|
|
291
|
+
createdAt: 'createdAt',
|
|
292
|
+
updatedAt: 'updatedAt'
|
|
293
|
+
};
|
|
294
|
+
|
|
295
|
+
exports.Prisma.RealEstateCoreLeadScalarFieldEnum = {
|
|
296
|
+
id: 'id',
|
|
297
|
+
coreUserId: 'coreUserId',
|
|
298
|
+
name: 'name',
|
|
299
|
+
phoneNumber: 'phoneNumber',
|
|
300
|
+
email: 'email',
|
|
301
|
+
gender: 'gender',
|
|
302
|
+
createdAt: 'createdAt',
|
|
303
|
+
updatedAt: 'updatedAt'
|
|
304
|
+
};
|
|
305
|
+
|
|
306
|
+
exports.Prisma.RealEstateFlatCoreLeadScalarFieldEnum = {
|
|
307
|
+
id: 'id',
|
|
308
|
+
realEstateCoreLeadId: 'realEstateCoreLeadId',
|
|
309
|
+
bhkType: 'bhkType',
|
|
310
|
+
furnishings: 'furnishings',
|
|
311
|
+
amenities: 'amenities',
|
|
312
|
+
createdAt: 'createdAt',
|
|
313
|
+
updatedAt: 'updatedAt'
|
|
314
|
+
};
|
|
315
|
+
|
|
316
|
+
exports.Prisma.RealEstatePGCoreLeadScalarFieldEnum = {
|
|
317
|
+
id: 'id',
|
|
318
|
+
realEstateCoreLeadId: 'realEstateCoreLeadId',
|
|
319
|
+
sharingType: 'sharingType',
|
|
320
|
+
pgAmenities: 'pgAmenities',
|
|
321
|
+
createdAt: 'createdAt',
|
|
322
|
+
updatedAt: 'updatedAt'
|
|
323
|
+
};
|
|
324
|
+
|
|
325
|
+
exports.Prisma.RealEstateBusinessScalarFieldEnum = {
|
|
326
|
+
id: 'id',
|
|
327
|
+
businessId: 'businessId',
|
|
328
|
+
category: 'category',
|
|
329
|
+
createdAt: 'createdAt',
|
|
330
|
+
updatedAt: 'updatedAt',
|
|
331
|
+
customCtaEnabled: 'customCtaEnabled'
|
|
332
|
+
};
|
|
333
|
+
|
|
334
|
+
exports.Prisma.RealEstateBusinessUserScalarFieldEnum = {
|
|
335
|
+
id: 'id',
|
|
336
|
+
coreBusinessUserId: 'coreBusinessUserId',
|
|
337
|
+
rePermissions: 'rePermissions',
|
|
338
|
+
createdAt: 'createdAt',
|
|
339
|
+
updatedAt: 'updatedAt'
|
|
340
|
+
};
|
|
341
|
+
|
|
342
|
+
exports.Prisma.RealEstateAreaScalarFieldEnum = {
|
|
343
|
+
id: 'id',
|
|
344
|
+
coreAreaId: 'coreAreaId',
|
|
345
|
+
createdAt: 'createdAt',
|
|
346
|
+
updatedAt: 'updatedAt'
|
|
347
|
+
};
|
|
348
|
+
|
|
349
|
+
exports.Prisma.RealEstateLeadScalarFieldEnum = {
|
|
350
|
+
id: 'id',
|
|
351
|
+
name: 'name',
|
|
352
|
+
phoneNumber: 'phoneNumber',
|
|
353
|
+
email: 'email',
|
|
354
|
+
countryCode: 'countryCode',
|
|
355
|
+
gender: 'gender',
|
|
356
|
+
status: 'status',
|
|
357
|
+
leadType: 'leadType',
|
|
358
|
+
preferredCallTime: 'preferredCallTime',
|
|
359
|
+
moveInDate: 'moveInDate',
|
|
360
|
+
budgetStart: 'budgetStart',
|
|
361
|
+
budgetEnd: 'budgetEnd',
|
|
362
|
+
notes: 'notes',
|
|
363
|
+
realEstateCoreLeadId: 'realEstateCoreLeadId',
|
|
364
|
+
realEstateBizId: 'realEstateBizId',
|
|
365
|
+
assignedToId: 'assignedToId',
|
|
366
|
+
createdAt: 'createdAt',
|
|
367
|
+
updatedAt: 'updatedAt'
|
|
368
|
+
};
|
|
369
|
+
|
|
370
|
+
exports.Prisma.RealEstateVisitScalarFieldEnum = {
|
|
371
|
+
id: 'id',
|
|
372
|
+
leadId: 'leadId',
|
|
373
|
+
realEstateBizId: 'realEstateBizId',
|
|
374
|
+
propertyCode: 'propertyCode',
|
|
375
|
+
visitType: 'visitType',
|
|
376
|
+
scheduledAt: 'scheduledAt',
|
|
377
|
+
status: 'status',
|
|
378
|
+
notes: 'notes',
|
|
379
|
+
createdAt: 'createdAt',
|
|
380
|
+
updatedAt: 'updatedAt'
|
|
381
|
+
};
|
|
382
|
+
|
|
383
|
+
exports.Prisma.RealEstateVisitAnalyticsScalarFieldEnum = {
|
|
384
|
+
id: 'id',
|
|
385
|
+
visitId: 'visitId',
|
|
386
|
+
duration: 'duration',
|
|
387
|
+
feedback: 'feedback',
|
|
388
|
+
rated: 'rated',
|
|
389
|
+
createdAt: 'createdAt',
|
|
390
|
+
updatedAt: 'updatedAt'
|
|
391
|
+
};
|
|
392
|
+
|
|
393
|
+
exports.Prisma.RealEstateLeadConversionScalarFieldEnum = {
|
|
394
|
+
id: 'id',
|
|
395
|
+
leadId: 'leadId',
|
|
396
|
+
convertedAt: 'convertedAt',
|
|
397
|
+
convertedById: 'convertedById',
|
|
398
|
+
createdAt: 'createdAt',
|
|
399
|
+
updatedAt: 'updatedAt'
|
|
400
|
+
};
|
|
401
|
+
|
|
402
|
+
exports.Prisma.RealEstatePropertyViewScalarFieldEnum = {
|
|
403
|
+
id: 'id',
|
|
404
|
+
propertyType: 'propertyType',
|
|
405
|
+
viewedAt: 'viewedAt',
|
|
406
|
+
realEstateBizUserId: 'realEstateBizUserId',
|
|
407
|
+
realEstateBizId: 'realEstateBizId',
|
|
408
|
+
areaId: 'areaId',
|
|
409
|
+
visitId: 'visitId',
|
|
410
|
+
flatId: 'flatId',
|
|
411
|
+
pgId: 'pgId',
|
|
412
|
+
createdAt: 'createdAt',
|
|
413
|
+
updatedAt: 'updatedAt'
|
|
414
|
+
};
|
|
415
|
+
|
|
416
|
+
exports.Prisma.RealEstateBusinessAnalyticsScalarFieldEnum = {
|
|
417
|
+
id: 'id',
|
|
418
|
+
businessId: 'businessId',
|
|
419
|
+
totalLeads: 'totalLeads',
|
|
420
|
+
totalVisits: 'totalVisits',
|
|
421
|
+
totalPropertyViews: 'totalPropertyViews',
|
|
422
|
+
monthlyLeads: 'monthlyLeads',
|
|
423
|
+
monthlyVisits: 'monthlyVisits',
|
|
424
|
+
monthlyPropertyViews: 'monthlyPropertyViews',
|
|
425
|
+
createdAt: 'createdAt',
|
|
426
|
+
updatedAt: 'updatedAt'
|
|
427
|
+
};
|
|
428
|
+
|
|
429
|
+
exports.Prisma.RealEstatePropertyAnalyticsScalarFieldEnum = {
|
|
430
|
+
id: 'id',
|
|
431
|
+
propertyType: 'propertyType',
|
|
432
|
+
realEstateBizId: 'realEstateBizId',
|
|
433
|
+
totalViews: 'totalViews',
|
|
434
|
+
uniqueViews: 'uniqueViews',
|
|
435
|
+
averageViewDuration: 'averageViewDuration',
|
|
436
|
+
createdAt: 'createdAt',
|
|
437
|
+
updatedAt: 'updatedAt',
|
|
438
|
+
flatId: 'flatId',
|
|
439
|
+
pgId: 'pgId'
|
|
440
|
+
};
|
|
441
|
+
|
|
442
|
+
exports.Prisma.RealEstateLeadsOnFlatsScalarFieldEnum = {
|
|
443
|
+
leadId: 'leadId',
|
|
444
|
+
flatId: 'flatId'
|
|
445
|
+
};
|
|
446
|
+
|
|
447
|
+
exports.Prisma.RealEstateLeadsOnPgsScalarFieldEnum = {
|
|
448
|
+
leadId: 'leadId',
|
|
449
|
+
pgId: 'pgId'
|
|
450
|
+
};
|
|
451
|
+
|
|
452
|
+
exports.Prisma.RealEstateFlatLeadScalarFieldEnum = {
|
|
453
|
+
id: 'id',
|
|
454
|
+
realEstateLeadId: 'realEstateLeadId',
|
|
455
|
+
amenities: 'amenities',
|
|
456
|
+
createdAt: 'createdAt',
|
|
457
|
+
updatedAt: 'updatedAt',
|
|
458
|
+
bhkType: 'bhkType',
|
|
459
|
+
furnishings: 'furnishings'
|
|
460
|
+
};
|
|
461
|
+
|
|
462
|
+
exports.Prisma.RealEstatePGLeadScalarFieldEnum = {
|
|
463
|
+
id: 'id',
|
|
464
|
+
realEstateLeadId: 'realEstateLeadId',
|
|
465
|
+
sharingType: 'sharingType',
|
|
466
|
+
pgAmenities: 'pgAmenities',
|
|
467
|
+
budget: 'budget',
|
|
468
|
+
areaId: 'areaId',
|
|
469
|
+
createdAt: 'createdAt',
|
|
470
|
+
updatedAt: 'updatedAt'
|
|
471
|
+
};
|
|
472
|
+
|
|
473
|
+
exports.Prisma.RealEstateProfileCustomViewScalarFieldEnum = {
|
|
474
|
+
id: 'id',
|
|
475
|
+
title: 'title',
|
|
476
|
+
description: 'description',
|
|
477
|
+
businessId: 'businessId',
|
|
478
|
+
createdAt: 'createdAt',
|
|
479
|
+
updatedAt: 'updatedAt'
|
|
480
|
+
};
|
|
481
|
+
|
|
482
|
+
exports.Prisma.RealEstatePropertyEventScalarFieldEnum = {
|
|
483
|
+
id: 'id',
|
|
484
|
+
flatId: 'flatId',
|
|
485
|
+
realEstateBizId: 'realEstateBizId',
|
|
486
|
+
eventType: 'eventType',
|
|
487
|
+
createdAt: 'createdAt'
|
|
488
|
+
};
|
|
489
|
+
|
|
490
|
+
exports.Prisma.CoreUserScalarFieldEnum = {
|
|
491
|
+
id: 'id',
|
|
492
|
+
email: 'email',
|
|
493
|
+
hash: 'hash',
|
|
494
|
+
firstName: 'firstName',
|
|
495
|
+
lastName: 'lastName',
|
|
496
|
+
countryCode: 'countryCode',
|
|
497
|
+
phoneNumber: 'phoneNumber',
|
|
498
|
+
googleId: 'googleId',
|
|
499
|
+
isActive: 'isActive',
|
|
500
|
+
gender: 'gender',
|
|
501
|
+
dateOfBirth: 'dateOfBirth',
|
|
502
|
+
profilePicture: 'profilePicture',
|
|
503
|
+
resetToken: 'resetToken',
|
|
504
|
+
resetTokenExpiry: 'resetTokenExpiry',
|
|
505
|
+
authProvider: 'authProvider',
|
|
506
|
+
instagramUrl: 'instagramUrl',
|
|
507
|
+
twitterUrl: 'twitterUrl',
|
|
508
|
+
youtubeUrl: 'youtubeUrl',
|
|
509
|
+
facebookUrl: 'facebookUrl',
|
|
510
|
+
createdAt: 'createdAt',
|
|
511
|
+
updatedAt: 'updatedAt',
|
|
512
|
+
passwordCreated: 'passwordCreated'
|
|
513
|
+
};
|
|
514
|
+
|
|
515
|
+
exports.Prisma.CoreFavoriteScalarFieldEnum = {
|
|
516
|
+
id: 'id',
|
|
517
|
+
userId: 'userId',
|
|
518
|
+
favoriteBusinesses: 'favoriteBusinesses',
|
|
519
|
+
createdAt: 'createdAt',
|
|
520
|
+
updatedAt: 'updatedAt'
|
|
521
|
+
};
|
|
522
|
+
|
|
523
|
+
exports.Prisma.CoreBusinessScalarFieldEnum = {
|
|
524
|
+
id: 'id',
|
|
525
|
+
businessName: 'businessName',
|
|
526
|
+
username: 'username',
|
|
527
|
+
instagramHandle: 'instagramHandle',
|
|
528
|
+
bio: 'bio',
|
|
529
|
+
logoUrl: 'logoUrl',
|
|
530
|
+
manyChatId: 'manyChatId',
|
|
531
|
+
businessAddress: 'businessAddress',
|
|
532
|
+
businessContactNumber: 'businessContactNumber',
|
|
533
|
+
businessContactNumberCountryCode: 'businessContactNumberCountryCode',
|
|
534
|
+
businessWebsite: 'businessWebsite',
|
|
535
|
+
city: 'city',
|
|
536
|
+
businessCategory: 'businessCategory',
|
|
537
|
+
instagramUrl: 'instagramUrl',
|
|
538
|
+
twitterUrl: 'twitterUrl',
|
|
539
|
+
youtubeUrl: 'youtubeUrl',
|
|
540
|
+
facebookUrl: 'facebookUrl',
|
|
541
|
+
customLinks: 'customLinks',
|
|
542
|
+
createdAt: 'createdAt',
|
|
543
|
+
updatedAt: 'updatedAt',
|
|
544
|
+
deletedAt: 'deletedAt',
|
|
545
|
+
isActive: 'isActive'
|
|
546
|
+
};
|
|
547
|
+
|
|
548
|
+
exports.Prisma.CoreBusinessUserScalarFieldEnum = {
|
|
549
|
+
id: 'id',
|
|
550
|
+
userId: 'userId',
|
|
551
|
+
businessId: 'businessId',
|
|
552
|
+
roleInBusiness: 'roleInBusiness',
|
|
553
|
+
permissions: 'permissions',
|
|
554
|
+
isActive: 'isActive',
|
|
555
|
+
createdAt: 'createdAt',
|
|
556
|
+
updatedAt: 'updatedAt'
|
|
557
|
+
};
|
|
558
|
+
|
|
559
|
+
exports.Prisma.CoreInviteScalarFieldEnum = {
|
|
560
|
+
id: 'id',
|
|
561
|
+
businessId: 'businessId',
|
|
562
|
+
inviterId: 'inviterId',
|
|
563
|
+
inviteeEmail: 'inviteeEmail',
|
|
564
|
+
token: 'token',
|
|
565
|
+
expiresAt: 'expiresAt',
|
|
566
|
+
roleInBusiness: 'roleInBusiness',
|
|
567
|
+
permissions: 'permissions',
|
|
568
|
+
businessPermissions: 'businessPermissions',
|
|
569
|
+
createdAt: 'createdAt'
|
|
570
|
+
};
|
|
571
|
+
|
|
572
|
+
exports.Prisma.CoreRefreshTokenScalarFieldEnum = {
|
|
573
|
+
deviceId: 'deviceId',
|
|
574
|
+
deviceName: 'deviceName',
|
|
575
|
+
token: 'token',
|
|
576
|
+
expiresAt: 'expiresAt',
|
|
577
|
+
userId: 'userId',
|
|
578
|
+
createdAt: 'createdAt',
|
|
579
|
+
updatedAt: 'updatedAt'
|
|
580
|
+
};
|
|
581
|
+
|
|
582
|
+
exports.Prisma.CoreSubscriptionScalarFieldEnum = {
|
|
583
|
+
id: 'id',
|
|
584
|
+
businessId: 'businessId',
|
|
585
|
+
type: 'type',
|
|
586
|
+
startDate: 'startDate',
|
|
587
|
+
endDate: 'endDate',
|
|
588
|
+
isActive: 'isActive'
|
|
589
|
+
};
|
|
590
|
+
|
|
591
|
+
exports.Prisma.CorePaymentScalarFieldEnum = {
|
|
592
|
+
id: 'id',
|
|
593
|
+
businessId: 'businessId',
|
|
594
|
+
amount: 'amount',
|
|
595
|
+
status: 'status',
|
|
596
|
+
createdAt: 'createdAt'
|
|
597
|
+
};
|
|
598
|
+
|
|
599
|
+
exports.Prisma.CoreSearchHistoryScalarFieldEnum = {
|
|
600
|
+
id: 'id',
|
|
601
|
+
userId: 'userId',
|
|
602
|
+
query: 'query',
|
|
603
|
+
searchedAt: 'searchedAt'
|
|
604
|
+
};
|
|
605
|
+
|
|
606
|
+
exports.Prisma.CorePostScalarFieldEnum = {
|
|
607
|
+
id: 'id',
|
|
608
|
+
businessId: 'businessId',
|
|
609
|
+
instagramPostId: 'instagramPostId',
|
|
610
|
+
caption: 'caption',
|
|
611
|
+
imageUrl: 'imageUrl',
|
|
612
|
+
createdAt: 'createdAt',
|
|
613
|
+
userId: 'userId'
|
|
614
|
+
};
|
|
615
|
+
|
|
616
|
+
exports.Prisma.CoreInstagramAccountScalarFieldEnum = {
|
|
617
|
+
id: 'id',
|
|
618
|
+
businessId: 'businessId',
|
|
619
|
+
instagramUserId: 'instagramUserId',
|
|
620
|
+
accessToken: 'accessToken',
|
|
621
|
+
connectedAt: 'connectedAt'
|
|
622
|
+
};
|
|
623
|
+
|
|
624
|
+
exports.Prisma.CoreDocumentScalarFieldEnum = {
|
|
625
|
+
id: 'id',
|
|
626
|
+
businessId: 'businessId',
|
|
627
|
+
userId: 'userId',
|
|
628
|
+
entityType: 'entityType',
|
|
629
|
+
entityId: 'entityId',
|
|
630
|
+
docUrl: 'docUrl',
|
|
631
|
+
docName: 'docName',
|
|
632
|
+
createdAt: 'createdAt',
|
|
633
|
+
updatedAt: 'updatedAt'
|
|
634
|
+
};
|
|
635
|
+
|
|
636
|
+
exports.Prisma.CoreBusinessLogScalarFieldEnum = {
|
|
637
|
+
id: 'id',
|
|
638
|
+
businessId: 'businessId',
|
|
639
|
+
userId: 'userId',
|
|
640
|
+
entityType: 'entityType',
|
|
641
|
+
entityId: 'entityId',
|
|
642
|
+
action: 'action',
|
|
643
|
+
oldData: 'oldData',
|
|
644
|
+
newData: 'newData',
|
|
645
|
+
createdAt: 'createdAt',
|
|
646
|
+
updatedAt: 'updatedAt'
|
|
647
|
+
};
|
|
648
|
+
|
|
649
|
+
exports.Prisma.CoreBusinessUpdateScalarFieldEnum = {
|
|
650
|
+
id: 'id',
|
|
651
|
+
businessId: 'businessId',
|
|
652
|
+
userId: 'userId',
|
|
653
|
+
entityType: 'entityType',
|
|
654
|
+
entityId: 'entityId',
|
|
655
|
+
content: 'content',
|
|
656
|
+
createdAt: 'createdAt',
|
|
657
|
+
updatedAt: 'updatedAt'
|
|
658
|
+
};
|
|
659
|
+
|
|
660
|
+
exports.Prisma.CoreAreaScalarFieldEnum = {
|
|
661
|
+
id: 'id',
|
|
662
|
+
name: 'name',
|
|
663
|
+
city: 'city',
|
|
664
|
+
lat: 'lat',
|
|
665
|
+
lng: 'lng',
|
|
666
|
+
createdAt: 'createdAt',
|
|
667
|
+
updatedAt: 'updatedAt'
|
|
668
|
+
};
|
|
669
|
+
|
|
670
|
+
exports.Prisma.SortOrder = {
|
|
671
|
+
asc: 'asc',
|
|
672
|
+
desc: 'desc'
|
|
673
|
+
};
|
|
674
|
+
|
|
675
|
+
exports.Prisma.NullableJsonNullValueInput = {
|
|
676
|
+
DbNull: Prisma.DbNull,
|
|
677
|
+
JsonNull: Prisma.JsonNull
|
|
678
|
+
};
|
|
679
|
+
|
|
680
|
+
exports.Prisma.QueryMode = {
|
|
681
|
+
default: 'default',
|
|
682
|
+
insensitive: 'insensitive'
|
|
683
|
+
};
|
|
684
|
+
|
|
685
|
+
exports.Prisma.NullsOrder = {
|
|
686
|
+
first: 'first',
|
|
687
|
+
last: 'last'
|
|
688
|
+
};
|
|
689
|
+
|
|
690
|
+
exports.Prisma.FlatOrderByRelevanceFieldEnum = {
|
|
691
|
+
propertyCode: 'propertyCode',
|
|
692
|
+
name: 'name',
|
|
693
|
+
address: 'address',
|
|
694
|
+
landmark: 'landmark',
|
|
695
|
+
googleMapsURL: 'googleMapsURL',
|
|
696
|
+
thumbnailImage: 'thumbnailImage',
|
|
697
|
+
pmName: 'pmName',
|
|
698
|
+
pmContactNumber: 'pmContactNumber',
|
|
699
|
+
ownerName: 'ownerName',
|
|
700
|
+
ownerNumber: 'ownerNumber',
|
|
701
|
+
guideName: 'guideName',
|
|
702
|
+
guideNumber: 'guideNumber',
|
|
703
|
+
description: 'description',
|
|
704
|
+
bookingURL: 'bookingURL',
|
|
705
|
+
images: 'images',
|
|
706
|
+
videos: 'videos',
|
|
707
|
+
flatNumber: 'flatNumber',
|
|
708
|
+
paintingCharges: 'paintingCharges',
|
|
709
|
+
parkingCharges: 'parkingCharges',
|
|
710
|
+
ctaPhoneNumber: 'ctaPhoneNumber',
|
|
711
|
+
ctaWhatsappNumber: 'ctaWhatsappNumber',
|
|
712
|
+
ctaCustomLink: 'ctaCustomLink',
|
|
713
|
+
ctaButtonTitle: 'ctaButtonTitle'
|
|
714
|
+
};
|
|
715
|
+
|
|
716
|
+
exports.Prisma.FlatVariationOrderByRelevanceFieldEnum = {
|
|
717
|
+
name: 'name',
|
|
718
|
+
description: 'description'
|
|
719
|
+
};
|
|
720
|
+
|
|
721
|
+
exports.Prisma.PgPropertyOrderByRelevanceFieldEnum = {
|
|
722
|
+
propertyCode: 'propertyCode',
|
|
723
|
+
name: 'name',
|
|
724
|
+
address: 'address',
|
|
725
|
+
landmark: 'landmark',
|
|
726
|
+
exactLocation: 'exactLocation',
|
|
727
|
+
googleMapsURL: 'googleMapsURL',
|
|
728
|
+
professionPreference: 'professionPreference',
|
|
729
|
+
foodPricing: 'foodPricing',
|
|
730
|
+
foodMenu: 'foodMenu',
|
|
731
|
+
additionalAmenities: 'additionalAmenities',
|
|
732
|
+
ownerName: 'ownerName',
|
|
733
|
+
ownerNumber: 'ownerNumber',
|
|
734
|
+
guideName: 'guideName',
|
|
735
|
+
guideNumber: 'guideNumber',
|
|
736
|
+
description: 'description',
|
|
737
|
+
bookingURL: 'bookingURL',
|
|
738
|
+
images: 'images',
|
|
739
|
+
videos: 'videos'
|
|
740
|
+
};
|
|
741
|
+
|
|
742
|
+
exports.Prisma.PgVariationOrderByRelevanceFieldEnum = {
|
|
743
|
+
name: 'name',
|
|
744
|
+
description: 'description'
|
|
745
|
+
};
|
|
746
|
+
|
|
747
|
+
exports.Prisma.RealEstateQueryOrderByRelevanceFieldEnum = {
|
|
748
|
+
queryType: 'queryType',
|
|
749
|
+
queryDesc: 'queryDesc',
|
|
750
|
+
propertyCode: 'propertyCode'
|
|
751
|
+
};
|
|
752
|
+
|
|
753
|
+
exports.Prisma.RealEstateNoteOrderByRelevanceFieldEnum = {
|
|
754
|
+
noteContent: 'noteContent'
|
|
755
|
+
};
|
|
756
|
+
|
|
757
|
+
exports.Prisma.RealEstateCoreLeadOrderByRelevanceFieldEnum = {
|
|
758
|
+
name: 'name',
|
|
759
|
+
phoneNumber: 'phoneNumber',
|
|
760
|
+
email: 'email'
|
|
761
|
+
};
|
|
762
|
+
|
|
763
|
+
exports.Prisma.RealEstateLeadOrderByRelevanceFieldEnum = {
|
|
764
|
+
name: 'name',
|
|
765
|
+
phoneNumber: 'phoneNumber',
|
|
766
|
+
email: 'email',
|
|
767
|
+
notes: 'notes'
|
|
768
|
+
};
|
|
769
|
+
|
|
770
|
+
exports.Prisma.RealEstateVisitOrderByRelevanceFieldEnum = {
|
|
771
|
+
propertyCode: 'propertyCode',
|
|
772
|
+
notes: 'notes'
|
|
773
|
+
};
|
|
774
|
+
|
|
775
|
+
exports.Prisma.RealEstateVisitAnalyticsOrderByRelevanceFieldEnum = {
|
|
776
|
+
feedback: 'feedback'
|
|
777
|
+
};
|
|
778
|
+
|
|
779
|
+
exports.Prisma.RealEstateProfileCustomViewOrderByRelevanceFieldEnum = {
|
|
780
|
+
title: 'title',
|
|
781
|
+
description: 'description'
|
|
782
|
+
};
|
|
783
|
+
|
|
784
|
+
exports.Prisma.CoreUserOrderByRelevanceFieldEnum = {
|
|
785
|
+
email: 'email',
|
|
786
|
+
hash: 'hash',
|
|
787
|
+
firstName: 'firstName',
|
|
788
|
+
lastName: 'lastName',
|
|
789
|
+
phoneNumber: 'phoneNumber',
|
|
790
|
+
googleId: 'googleId',
|
|
791
|
+
profilePicture: 'profilePicture',
|
|
792
|
+
resetToken: 'resetToken',
|
|
793
|
+
instagramUrl: 'instagramUrl',
|
|
794
|
+
twitterUrl: 'twitterUrl',
|
|
795
|
+
youtubeUrl: 'youtubeUrl',
|
|
796
|
+
facebookUrl: 'facebookUrl'
|
|
797
|
+
};
|
|
798
|
+
|
|
799
|
+
exports.Prisma.JsonNullValueFilter = {
|
|
800
|
+
DbNull: Prisma.DbNull,
|
|
801
|
+
JsonNull: Prisma.JsonNull,
|
|
802
|
+
AnyNull: Prisma.AnyNull
|
|
803
|
+
};
|
|
804
|
+
|
|
805
|
+
exports.Prisma.CoreBusinessOrderByRelevanceFieldEnum = {
|
|
806
|
+
businessName: 'businessName',
|
|
807
|
+
username: 'username',
|
|
808
|
+
instagramHandle: 'instagramHandle',
|
|
809
|
+
bio: 'bio',
|
|
810
|
+
logoUrl: 'logoUrl',
|
|
811
|
+
manyChatId: 'manyChatId',
|
|
812
|
+
businessAddress: 'businessAddress',
|
|
813
|
+
businessContactNumber: 'businessContactNumber',
|
|
814
|
+
businessWebsite: 'businessWebsite',
|
|
815
|
+
instagramUrl: 'instagramUrl',
|
|
816
|
+
twitterUrl: 'twitterUrl',
|
|
817
|
+
youtubeUrl: 'youtubeUrl',
|
|
818
|
+
facebookUrl: 'facebookUrl'
|
|
819
|
+
};
|
|
820
|
+
|
|
821
|
+
exports.Prisma.CoreInviteOrderByRelevanceFieldEnum = {
|
|
822
|
+
inviteeEmail: 'inviteeEmail',
|
|
823
|
+
token: 'token'
|
|
824
|
+
};
|
|
825
|
+
|
|
826
|
+
exports.Prisma.CoreRefreshTokenOrderByRelevanceFieldEnum = {
|
|
827
|
+
deviceId: 'deviceId',
|
|
828
|
+
deviceName: 'deviceName',
|
|
829
|
+
token: 'token'
|
|
830
|
+
};
|
|
831
|
+
|
|
832
|
+
exports.Prisma.CoreSearchHistoryOrderByRelevanceFieldEnum = {
|
|
833
|
+
query: 'query'
|
|
834
|
+
};
|
|
835
|
+
|
|
836
|
+
exports.Prisma.CorePostOrderByRelevanceFieldEnum = {
|
|
837
|
+
instagramPostId: 'instagramPostId',
|
|
838
|
+
caption: 'caption',
|
|
839
|
+
imageUrl: 'imageUrl'
|
|
840
|
+
};
|
|
841
|
+
|
|
842
|
+
exports.Prisma.CoreInstagramAccountOrderByRelevanceFieldEnum = {
|
|
843
|
+
instagramUserId: 'instagramUserId',
|
|
844
|
+
accessToken: 'accessToken'
|
|
845
|
+
};
|
|
846
|
+
|
|
847
|
+
exports.Prisma.CoreDocumentOrderByRelevanceFieldEnum = {
|
|
848
|
+
entityType: 'entityType',
|
|
849
|
+
docUrl: 'docUrl',
|
|
850
|
+
docName: 'docName'
|
|
851
|
+
};
|
|
852
|
+
|
|
853
|
+
exports.Prisma.CoreBusinessLogOrderByRelevanceFieldEnum = {
|
|
854
|
+
entityType: 'entityType',
|
|
855
|
+
action: 'action'
|
|
856
|
+
};
|
|
857
|
+
|
|
858
|
+
exports.Prisma.CoreBusinessUpdateOrderByRelevanceFieldEnum = {
|
|
859
|
+
entityType: 'entityType',
|
|
860
|
+
content: 'content'
|
|
861
|
+
};
|
|
862
|
+
|
|
863
|
+
exports.Prisma.CoreAreaOrderByRelevanceFieldEnum = {
|
|
864
|
+
name: 'name'
|
|
865
|
+
};
|
|
866
|
+
exports.FlatFurnishType = exports.$Enums.FlatFurnishType = {
|
|
867
|
+
UNFURNISHED: 'UNFURNISHED',
|
|
868
|
+
SEMI_FURNISHED: 'SEMI_FURNISHED',
|
|
869
|
+
FULLY_FURNISHED: 'FULLY_FURNISHED'
|
|
870
|
+
};
|
|
871
|
+
|
|
872
|
+
exports.FlatBHKType = exports.$Enums.FlatBHKType = {
|
|
873
|
+
ONE_RK: 'ONE_RK',
|
|
874
|
+
ONE_BHK: 'ONE_BHK',
|
|
875
|
+
TWO_BHK: 'TWO_BHK',
|
|
876
|
+
THREE_BHK: 'THREE_BHK',
|
|
877
|
+
FOUR_BHK: 'FOUR_BHK',
|
|
878
|
+
ONE_RB: 'ONE_RB'
|
|
879
|
+
};
|
|
880
|
+
|
|
881
|
+
exports.FlatPropertyType = exports.$Enums.FlatPropertyType = {
|
|
882
|
+
STAND_ALONE_APARTMENT: 'STAND_ALONE_APARTMENT',
|
|
883
|
+
INDIVIDUAL_HOUSE: 'INDIVIDUAL_HOUSE',
|
|
884
|
+
GATED_SOCIETY: 'GATED_SOCIETY',
|
|
885
|
+
SHARED_APARTMENT: 'SHARED_APARTMENT',
|
|
886
|
+
CONDO: 'CONDO',
|
|
887
|
+
STUDIO_APARTMENT: 'STUDIO_APARTMENT'
|
|
888
|
+
};
|
|
889
|
+
|
|
890
|
+
exports.FlatPriority = exports.$Enums.FlatPriority = {
|
|
891
|
+
HIGH: 'HIGH',
|
|
892
|
+
LOW: 'LOW',
|
|
893
|
+
CRITICAL: 'CRITICAL',
|
|
894
|
+
MEDIUM: 'MEDIUM'
|
|
895
|
+
};
|
|
896
|
+
|
|
897
|
+
exports.RealEstatePropertyStatus = exports.$Enums.RealEstatePropertyStatus = {
|
|
898
|
+
AVAILABLE: 'AVAILABLE',
|
|
899
|
+
NOT_AVAILABLE: 'NOT_AVAILABLE'
|
|
900
|
+
};
|
|
901
|
+
|
|
902
|
+
exports.FlatPmType = exports.$Enums.FlatPmType = {
|
|
903
|
+
OWNER: 'OWNER',
|
|
904
|
+
CARETAKER: 'CARETAKER',
|
|
905
|
+
BROKER: 'BROKER',
|
|
906
|
+
AGENCY: 'AGENCY',
|
|
907
|
+
BUSINESS: 'BUSINESS',
|
|
908
|
+
OTHER: 'OTHER'
|
|
909
|
+
};
|
|
910
|
+
|
|
911
|
+
exports.FlatGuideType = exports.$Enums.FlatGuideType = {
|
|
912
|
+
OWNER: 'OWNER',
|
|
913
|
+
CARETAKER: 'CARETAKER',
|
|
914
|
+
BROKER: 'BROKER',
|
|
915
|
+
AGENCY: 'AGENCY',
|
|
916
|
+
BUSINESS: 'BUSINESS',
|
|
917
|
+
OTHER: 'OTHER'
|
|
918
|
+
};
|
|
919
|
+
|
|
920
|
+
exports.FlatFacingDirection = exports.$Enums.FlatFacingDirection = {
|
|
921
|
+
NORTH: 'NORTH',
|
|
922
|
+
EAST: 'EAST',
|
|
923
|
+
WEST: 'WEST',
|
|
924
|
+
SOUTH: 'SOUTH'
|
|
925
|
+
};
|
|
926
|
+
|
|
927
|
+
exports.FlatCtaType = exports.$Enums.FlatCtaType = {
|
|
928
|
+
CALL: 'CALL',
|
|
929
|
+
SCHEDULE_VISIT: 'SCHEDULE_VISIT',
|
|
930
|
+
CUSTOM_LINK: 'CUSTOM_LINK',
|
|
931
|
+
WHATSAPP: 'WHATSAPP'
|
|
932
|
+
};
|
|
933
|
+
|
|
934
|
+
exports.FlatAmenity = exports.$Enums.FlatAmenity = {
|
|
935
|
+
TWO_WHEELER_PARKING: 'TWO_WHEELER_PARKING',
|
|
936
|
+
FOUR_WHEELER_PARKING: 'FOUR_WHEELER_PARKING',
|
|
937
|
+
AIR_CONDITIONER: 'AIR_CONDITIONER',
|
|
938
|
+
BALCONY: 'BALCONY',
|
|
939
|
+
CLOSET: 'CLOSET',
|
|
940
|
+
COFFEE_TABLE: 'COFFEE_TABLE',
|
|
941
|
+
COMMON_WASHING_MACHINE: 'COMMON_WASHING_MACHINE',
|
|
942
|
+
DINING_TABLE: 'DINING_TABLE',
|
|
943
|
+
FRIDGE: 'FRIDGE',
|
|
944
|
+
KITCHEN_APPLIANCES: 'KITCHEN_APPLIANCES',
|
|
945
|
+
KING_SIZED_BED: 'KING_SIZED_BED',
|
|
946
|
+
POWER_BACKUP: 'POWER_BACKUP',
|
|
947
|
+
LIFT: 'LIFT',
|
|
948
|
+
RO_WATER_AQUA_GUARD: 'RO_WATER_AQUA_GUARD',
|
|
949
|
+
QUEEN_SIZED_BED: 'QUEEN_SIZED_BED',
|
|
950
|
+
SECURITY: 'SECURITY',
|
|
951
|
+
SOFA: 'SOFA',
|
|
952
|
+
SINGLE_BED: 'SINGLE_BED',
|
|
953
|
+
TV: 'TV',
|
|
954
|
+
WASHING_MACHINE: 'WASHING_MACHINE',
|
|
955
|
+
TWIN_SIZED_BED: 'TWIN_SIZED_BED',
|
|
956
|
+
WATER_HEATER: 'WATER_HEATER',
|
|
957
|
+
UTILITY_AREA: 'UTILITY_AREA',
|
|
958
|
+
STUDY_TABLE: 'STUDY_TABLE',
|
|
959
|
+
WIFI: 'WIFI',
|
|
960
|
+
GYM: 'GYM',
|
|
961
|
+
CCTV_SECURITY: 'CCTV_SECURITY',
|
|
962
|
+
PET_FRIENDLY: 'PET_FRIENDLY'
|
|
963
|
+
};
|
|
964
|
+
|
|
965
|
+
exports.FlatPreferredTenantType = exports.$Enums.FlatPreferredTenantType = {
|
|
966
|
+
ANYONE: 'ANYONE',
|
|
967
|
+
FAMILY: 'FAMILY',
|
|
968
|
+
BACHELOR: 'BACHELOR',
|
|
969
|
+
STUDENT: 'STUDENT',
|
|
970
|
+
WORKING: 'WORKING',
|
|
971
|
+
COUPLE: 'COUPLE'
|
|
972
|
+
};
|
|
973
|
+
|
|
974
|
+
exports.PgPreferredTenant = exports.$Enums.PgPreferredTenant = {
|
|
975
|
+
MALE: 'MALE',
|
|
976
|
+
FEMALE: 'FEMALE',
|
|
977
|
+
ANYONE: 'ANYONE'
|
|
978
|
+
};
|
|
979
|
+
|
|
980
|
+
exports.PgLockInPeriod = exports.$Enums.PgLockInPeriod = {
|
|
981
|
+
ONE_MONTH: 'ONE_MONTH',
|
|
982
|
+
TWO_MONTHS: 'TWO_MONTHS',
|
|
983
|
+
THREE_MONTHS: 'THREE_MONTHS',
|
|
984
|
+
FOUR_MONTHS: 'FOUR_MONTHS',
|
|
985
|
+
FIVE_MONTHS: 'FIVE_MONTHS',
|
|
986
|
+
SIX_MONTHS: 'SIX_MONTHS',
|
|
987
|
+
ONE_YEAR: 'ONE_YEAR'
|
|
988
|
+
};
|
|
989
|
+
|
|
990
|
+
exports.PgNoticePeriod = exports.$Enums.PgNoticePeriod = {
|
|
991
|
+
DAYS_15: 'DAYS_15',
|
|
992
|
+
DAYS_30: 'DAYS_30',
|
|
993
|
+
DAYS_60: 'DAYS_60'
|
|
994
|
+
};
|
|
995
|
+
|
|
996
|
+
exports.PgFoodType = exports.$Enums.PgFoodType = {
|
|
997
|
+
VEG: 'VEG',
|
|
998
|
+
NON_VEG: 'NON_VEG',
|
|
999
|
+
BOTH: 'BOTH'
|
|
1000
|
+
};
|
|
1001
|
+
|
|
1002
|
+
exports.PgRules = exports.$Enums.PgRules = {
|
|
1003
|
+
NO_SMOKING: 'NO_SMOKING',
|
|
1004
|
+
NO_ALCOHOL: 'NO_ALCOHOL',
|
|
1005
|
+
NO_MALE_ENTRY: 'NO_MALE_ENTRY',
|
|
1006
|
+
GATE_CLOSES_AT_NIGHT: 'GATE_CLOSES_AT_NIGHT',
|
|
1007
|
+
NO_FEMALE_ENTRY: 'NO_FEMALE_ENTRY',
|
|
1008
|
+
NO_GUARDIANS_ALLOWED: 'NO_GUARDIANS_ALLOWED',
|
|
1009
|
+
NO_RULES: 'NO_RULES',
|
|
1010
|
+
VEG_ONLY: 'VEG_ONLY',
|
|
1011
|
+
NO_VISITORS_OPPOSITE_GENDER: 'NO_VISITORS_OPPOSITE_GENDER',
|
|
1012
|
+
CURFEW_TIME: 'CURFEW_TIME'
|
|
1013
|
+
};
|
|
1014
|
+
|
|
1015
|
+
exports.PgFoodProvided = exports.$Enums.PgFoodProvided = {
|
|
1016
|
+
NO_FOOD_PROVIDED: 'NO_FOOD_PROVIDED',
|
|
1017
|
+
BREAKFAST: 'BREAKFAST',
|
|
1018
|
+
LUNCH: 'LUNCH',
|
|
1019
|
+
DINNER: 'DINNER',
|
|
1020
|
+
EVENING_SNACKS: 'EVENING_SNACKS'
|
|
1021
|
+
};
|
|
1022
|
+
|
|
1023
|
+
exports.PgOtherService = exports.$Enums.PgOtherService = {
|
|
1024
|
+
LAUNDRY: 'LAUNDRY',
|
|
1025
|
+
WARDEN_FACILITY: 'WARDEN_FACILITY',
|
|
1026
|
+
ROOM_CLEANING: 'ROOM_CLEANING',
|
|
1027
|
+
NONE: 'NONE'
|
|
1028
|
+
};
|
|
1029
|
+
|
|
1030
|
+
exports.PgAmenity = exports.$Enums.PgAmenity = {
|
|
1031
|
+
FOUR_WHEELER_PARKING: 'FOUR_WHEELER_PARKING',
|
|
1032
|
+
TWO_WHEELER_PARKING: 'TWO_WHEELER_PARKING',
|
|
1033
|
+
AIR_CONDITIONER: 'AIR_CONDITIONER',
|
|
1034
|
+
BALCONY: 'BALCONY',
|
|
1035
|
+
CLOSET: 'CLOSET',
|
|
1036
|
+
COFFEE_TABLE: 'COFFEE_TABLE',
|
|
1037
|
+
COMMON_WASHING_MACHINE: 'COMMON_WASHING_MACHINE',
|
|
1038
|
+
DINING_TABLE: 'DINING_TABLE',
|
|
1039
|
+
FRIDGE: 'FRIDGE',
|
|
1040
|
+
KITCHEN_APPLIANCES: 'KITCHEN_APPLIANCES',
|
|
1041
|
+
KING_SIZED_BED: 'KING_SIZED_BED',
|
|
1042
|
+
POWER_BACKUP: 'POWER_BACKUP',
|
|
1043
|
+
LIFT: 'LIFT',
|
|
1044
|
+
RO_WATER_AQUA_GUARD: 'RO_WATER_AQUA_GUARD',
|
|
1045
|
+
QUEEN_SIZED_BED: 'QUEEN_SIZED_BED',
|
|
1046
|
+
SECURITY: 'SECURITY',
|
|
1047
|
+
SOFA: 'SOFA',
|
|
1048
|
+
SINGLE_BED: 'SINGLE_BED',
|
|
1049
|
+
TV: 'TV',
|
|
1050
|
+
WASHING_MACHINE: 'WASHING_MACHINE',
|
|
1051
|
+
TWIN_SIZED_BED: 'TWIN_SIZED_BED',
|
|
1052
|
+
WATER_HEATER: 'WATER_HEATER',
|
|
1053
|
+
UTILITY_AREA: 'UTILITY_AREA',
|
|
1054
|
+
STUDY_TABLE: 'STUDY_TABLE',
|
|
1055
|
+
WIFI: 'WIFI',
|
|
1056
|
+
GYM: 'GYM',
|
|
1057
|
+
CCTV_SECURITY: 'CCTV_SECURITY',
|
|
1058
|
+
PET_FRIENDLY: 'PET_FRIENDLY'
|
|
1059
|
+
};
|
|
1060
|
+
|
|
1061
|
+
exports.PgSharingType = exports.$Enums.PgSharingType = {
|
|
1062
|
+
SINGLE_SHARING: 'SINGLE_SHARING',
|
|
1063
|
+
DOUBLE_SHARING: 'DOUBLE_SHARING',
|
|
1064
|
+
TRIPLE_SHARING: 'TRIPLE_SHARING',
|
|
1065
|
+
FOUR_SHARING: 'FOUR_SHARING'
|
|
1066
|
+
};
|
|
1067
|
+
|
|
1068
|
+
exports.RealEstateQueryStatus = exports.$Enums.RealEstateQueryStatus = {
|
|
1069
|
+
NEW: 'NEW',
|
|
1070
|
+
IN_PROGRESS: 'IN_PROGRESS',
|
|
1071
|
+
RESOLVED: 'RESOLVED',
|
|
1072
|
+
REJECTED: 'REJECTED',
|
|
1073
|
+
CLOSED: 'CLOSED'
|
|
1074
|
+
};
|
|
1075
|
+
|
|
1076
|
+
exports.RealEstateNoteType = exports.$Enums.RealEstateNoteType = {
|
|
1077
|
+
RED_NOTE: 'RED_NOTE',
|
|
1078
|
+
BLUE_NOTE: 'BLUE_NOTE',
|
|
1079
|
+
GREEN_NOTE: 'GREEN_NOTE'
|
|
1080
|
+
};
|
|
1081
|
+
|
|
1082
|
+
exports.CoreGender = exports.$Enums.CoreGender = {
|
|
1083
|
+
MALE: 'MALE',
|
|
1084
|
+
FEMALE: 'FEMALE',
|
|
1085
|
+
OTHER: 'OTHER'
|
|
1086
|
+
};
|
|
1087
|
+
|
|
1088
|
+
exports.RealEstateCategory = exports.$Enums.RealEstateCategory = {
|
|
1089
|
+
FLAT: 'FLAT',
|
|
1090
|
+
PG: 'PG',
|
|
1091
|
+
OWNER: 'OWNER'
|
|
1092
|
+
};
|
|
1093
|
+
|
|
1094
|
+
exports.RealEstatePermission = exports.$Enums.RealEstatePermission = {
|
|
1095
|
+
VIEW_VISITS: 'VIEW_VISITS',
|
|
1096
|
+
EDIT_VISITS: 'EDIT_VISITS',
|
|
1097
|
+
CREATE_VISITS: 'CREATE_VISITS',
|
|
1098
|
+
DELETE_VISITS: 'DELETE_VISITS',
|
|
1099
|
+
ASSIGN_VISITS: 'ASSIGN_VISITS',
|
|
1100
|
+
VIEW_PROPERTIES: 'VIEW_PROPERTIES',
|
|
1101
|
+
EDIT_PROPERTIES: 'EDIT_PROPERTIES',
|
|
1102
|
+
DELETE_PROPERTIES: 'DELETE_PROPERTIES',
|
|
1103
|
+
UPLOAD_PROPERTIES: 'UPLOAD_PROPERTIES',
|
|
1104
|
+
VIEW_PROPERTY_FLAT_OWNER_DETAILS: 'VIEW_PROPERTY_FLAT_OWNER_DETAILS',
|
|
1105
|
+
VIEW_PROPERTY_FLAT_LOCATION: 'VIEW_PROPERTY_FLAT_LOCATION',
|
|
1106
|
+
VIEW_LEADS_FLAT_CONTACT_INFO: 'VIEW_LEADS_FLAT_CONTACT_INFO',
|
|
1107
|
+
MANAGE_PROPERTY_FLAT_OWNER_DETAILS: 'MANAGE_PROPERTY_FLAT_OWNER_DETAILS',
|
|
1108
|
+
MANAGE_PROPERTY_FLAT_LOCATION: 'MANAGE_PROPERTY_FLAT_LOCATION',
|
|
1109
|
+
MANAGE_LEADS_FLAT_CONTACT_INFO: 'MANAGE_LEADS_FLAT_CONTACT_INFO',
|
|
1110
|
+
VIEW_QUERIES: 'VIEW_QUERIES',
|
|
1111
|
+
EDIT_QUERIES: 'EDIT_QUERIES',
|
|
1112
|
+
DELETE_QUERIES: 'DELETE_QUERIES',
|
|
1113
|
+
CREATE_QUERIES: 'CREATE_QUERIES',
|
|
1114
|
+
MANAGE_QUERIES: 'MANAGE_QUERIES'
|
|
1115
|
+
};
|
|
1116
|
+
|
|
1117
|
+
exports.CoreAllowedCountryCode = exports.$Enums.CoreAllowedCountryCode = {
|
|
1118
|
+
IN: 'IN'
|
|
1119
|
+
};
|
|
1120
|
+
|
|
1121
|
+
exports.RealEstateLeadStatus = exports.$Enums.RealEstateLeadStatus = {
|
|
1122
|
+
NEW: 'NEW',
|
|
1123
|
+
IN_CONTACT: 'IN_CONTACT',
|
|
1124
|
+
BOOKED: 'BOOKED',
|
|
1125
|
+
VISITED: 'VISITED',
|
|
1126
|
+
CLOSED: 'CLOSED',
|
|
1127
|
+
LOST: 'LOST'
|
|
1128
|
+
};
|
|
1129
|
+
|
|
1130
|
+
exports.RealEstateLeadType = exports.$Enums.RealEstateLeadType = {
|
|
1131
|
+
FLAT: 'FLAT',
|
|
1132
|
+
SALE: 'SALE',
|
|
1133
|
+
OTHER: 'OTHER',
|
|
1134
|
+
PG: 'PG'
|
|
1135
|
+
};
|
|
1136
|
+
|
|
1137
|
+
exports.RealEstatePreferredCallTime = exports.$Enums.RealEstatePreferredCallTime = {
|
|
1138
|
+
MORNING: 'MORNING',
|
|
1139
|
+
AFTERNOON: 'AFTERNOON',
|
|
1140
|
+
NIGHT: 'NIGHT',
|
|
1141
|
+
EVENING: 'EVENING'
|
|
1142
|
+
};
|
|
1143
|
+
|
|
1144
|
+
exports.RealEstateVisitStatus = exports.$Enums.RealEstateVisitStatus = {
|
|
1145
|
+
SCHEDULED: 'SCHEDULED',
|
|
1146
|
+
COMPLETED: 'COMPLETED',
|
|
1147
|
+
CANCELLED: 'CANCELLED',
|
|
1148
|
+
RESCHEDULED: 'RESCHEDULED',
|
|
1149
|
+
NO_SHOW: 'NO_SHOW',
|
|
1150
|
+
RE_VISIT: 'RE_VISIT'
|
|
1151
|
+
};
|
|
1152
|
+
|
|
1153
|
+
exports.RealEstatePropertyType = exports.$Enums.RealEstatePropertyType = {
|
|
1154
|
+
FLAT: 'FLAT',
|
|
1155
|
+
PG: 'PG'
|
|
1156
|
+
};
|
|
1157
|
+
|
|
1158
|
+
exports.PropertyEventType = exports.$Enums.PropertyEventType = {
|
|
1159
|
+
SHARE_CLICK: 'SHARE_CLICK',
|
|
1160
|
+
VISIT_CLICK: 'VISIT_CLICK',
|
|
1161
|
+
QUERY_CLICK: 'QUERY_CLICK',
|
|
1162
|
+
CTA_CALL: 'CTA_CALL',
|
|
1163
|
+
CTA_WHATSAPP: 'CTA_WHATSAPP',
|
|
1164
|
+
CTA_CUSTOM_LINK: 'CTA_CUSTOM_LINK'
|
|
1165
|
+
};
|
|
1166
|
+
|
|
1167
|
+
exports.CoreAuthenticationProvider = exports.$Enums.CoreAuthenticationProvider = {
|
|
1168
|
+
GOOGLE: 'GOOGLE',
|
|
1169
|
+
EMAIL: 'EMAIL'
|
|
1170
|
+
};
|
|
1171
|
+
|
|
1172
|
+
exports.CoreCity = exports.$Enums.CoreCity = {
|
|
1173
|
+
BANGALORE: 'BANGALORE',
|
|
1174
|
+
MUMBAI: 'MUMBAI',
|
|
1175
|
+
DELHI: 'DELHI',
|
|
1176
|
+
CHENNAI: 'CHENNAI',
|
|
1177
|
+
HYDERABAD: 'HYDERABAD'
|
|
1178
|
+
};
|
|
1179
|
+
|
|
1180
|
+
exports.CoreBusinessCategory = exports.$Enums.CoreBusinessCategory = {
|
|
1181
|
+
REAL_ESTATE: 'REAL_ESTATE'
|
|
1182
|
+
};
|
|
1183
|
+
|
|
1184
|
+
exports.CoreOrganizationRole = exports.$Enums.CoreOrganizationRole = {
|
|
1185
|
+
OWNER: 'OWNER',
|
|
1186
|
+
ADMIN: 'ADMIN',
|
|
1187
|
+
STAFF: 'STAFF'
|
|
1188
|
+
};
|
|
1189
|
+
|
|
1190
|
+
exports.CorePermission = exports.$Enums.CorePermission = {
|
|
1191
|
+
VIEW_LOGS: 'VIEW_LOGS',
|
|
1192
|
+
EDIT_LOGS: 'EDIT_LOGS',
|
|
1193
|
+
DELETE_LOGS: 'DELETE_LOGS',
|
|
1194
|
+
UNDO_CHANGES: 'UNDO_CHANGES',
|
|
1195
|
+
MANAGE_FINANCE: 'MANAGE_FINANCE',
|
|
1196
|
+
VIEW_FINANCE: 'VIEW_FINANCE',
|
|
1197
|
+
CREATE_LEADS: 'CREATE_LEADS',
|
|
1198
|
+
VIEW_LEADS: 'VIEW_LEADS',
|
|
1199
|
+
EDIT_LEADS: 'EDIT_LEADS',
|
|
1200
|
+
DELETE_LEADS: 'DELETE_LEADS',
|
|
1201
|
+
MANAGE_BUSINESS: 'MANAGE_BUSINESS',
|
|
1202
|
+
CREATE_USERS: 'CREATE_USERS',
|
|
1203
|
+
EDIT_USERS: 'EDIT_USERS',
|
|
1204
|
+
VIEW_USERS: 'VIEW_USERS',
|
|
1205
|
+
DELETE_USERS: 'DELETE_USERS',
|
|
1206
|
+
ALL_PERMISSIONS: 'ALL_PERMISSIONS'
|
|
1207
|
+
};
|
|
1208
|
+
|
|
1209
|
+
exports.CoreSubscriptionType = exports.$Enums.CoreSubscriptionType = {
|
|
1210
|
+
BASIC: 'BASIC',
|
|
1211
|
+
STANDARD: 'STANDARD',
|
|
1212
|
+
PREMIUM: 'PREMIUM'
|
|
1213
|
+
};
|
|
1214
|
+
|
|
1215
|
+
exports.CorePaymentStatus = exports.$Enums.CorePaymentStatus = {
|
|
1216
|
+
PENDING: 'PENDING',
|
|
1217
|
+
COMPLETED: 'COMPLETED',
|
|
1218
|
+
FAILED: 'FAILED'
|
|
1219
|
+
};
|
|
1220
|
+
|
|
1221
|
+
exports.Prisma.ModelName = {
|
|
1222
|
+
Flat: 'Flat',
|
|
1223
|
+
FlatVariation: 'FlatVariation',
|
|
1224
|
+
OwnerBusiness: 'OwnerBusiness',
|
|
1225
|
+
PgProperty: 'PgProperty',
|
|
1226
|
+
PgVariation: 'PgVariation',
|
|
1227
|
+
PgSharingOption: 'PgSharingOption',
|
|
1228
|
+
RealEstateQuery: 'RealEstateQuery',
|
|
1229
|
+
RealEstateNote: 'RealEstateNote',
|
|
1230
|
+
RealEstateFavorite: 'RealEstateFavorite',
|
|
1231
|
+
RealEstateCoreLead: 'RealEstateCoreLead',
|
|
1232
|
+
RealEstateFlatCoreLead: 'RealEstateFlatCoreLead',
|
|
1233
|
+
RealEstatePGCoreLead: 'RealEstatePGCoreLead',
|
|
1234
|
+
RealEstateBusiness: 'RealEstateBusiness',
|
|
1235
|
+
RealEstateBusinessUser: 'RealEstateBusinessUser',
|
|
1236
|
+
RealEstateArea: 'RealEstateArea',
|
|
1237
|
+
RealEstateLead: 'RealEstateLead',
|
|
1238
|
+
RealEstateVisit: 'RealEstateVisit',
|
|
1239
|
+
RealEstateVisitAnalytics: 'RealEstateVisitAnalytics',
|
|
1240
|
+
RealEstateLeadConversion: 'RealEstateLeadConversion',
|
|
1241
|
+
RealEstatePropertyView: 'RealEstatePropertyView',
|
|
1242
|
+
RealEstateBusinessAnalytics: 'RealEstateBusinessAnalytics',
|
|
1243
|
+
RealEstatePropertyAnalytics: 'RealEstatePropertyAnalytics',
|
|
1244
|
+
RealEstateLeadsOnFlats: 'RealEstateLeadsOnFlats',
|
|
1245
|
+
RealEstateLeadsOnPgs: 'RealEstateLeadsOnPgs',
|
|
1246
|
+
RealEstateFlatLead: 'RealEstateFlatLead',
|
|
1247
|
+
RealEstatePGLead: 'RealEstatePGLead',
|
|
1248
|
+
RealEstateProfileCustomView: 'RealEstateProfileCustomView',
|
|
1249
|
+
RealEstatePropertyEvent: 'RealEstatePropertyEvent',
|
|
1250
|
+
CoreUser: 'CoreUser',
|
|
1251
|
+
CoreFavorite: 'CoreFavorite',
|
|
1252
|
+
CoreBusiness: 'CoreBusiness',
|
|
1253
|
+
CoreBusinessUser: 'CoreBusinessUser',
|
|
1254
|
+
CoreInvite: 'CoreInvite',
|
|
1255
|
+
CoreRefreshToken: 'CoreRefreshToken',
|
|
1256
|
+
CoreSubscription: 'CoreSubscription',
|
|
1257
|
+
CorePayment: 'CorePayment',
|
|
1258
|
+
CoreSearchHistory: 'CoreSearchHistory',
|
|
1259
|
+
CorePost: 'CorePost',
|
|
1260
|
+
CoreInstagramAccount: 'CoreInstagramAccount',
|
|
1261
|
+
CoreDocument: 'CoreDocument',
|
|
1262
|
+
CoreBusinessLog: 'CoreBusinessLog',
|
|
1263
|
+
CoreBusinessUpdate: 'CoreBusinessUpdate',
|
|
1264
|
+
CoreArea: 'CoreArea'
|
|
1265
|
+
};
|
|
1266
|
+
|
|
1267
|
+
/**
|
|
1268
|
+
* This is a stub Prisma Client that will error at runtime if called.
|
|
1269
|
+
*/
|
|
1270
|
+
class PrismaClient {
|
|
1271
|
+
constructor() {
|
|
1272
|
+
return new Proxy(this, {
|
|
1273
|
+
get(target, prop) {
|
|
1274
|
+
let message
|
|
1275
|
+
const runtime = getRuntime()
|
|
1276
|
+
if (runtime.isEdge) {
|
|
1277
|
+
message = `PrismaClient is not configured to run in ${runtime.prettyName}. In order to run Prisma Client on edge runtime, either:
|
|
1278
|
+
- Use Prisma Accelerate: https://pris.ly/d/accelerate
|
|
1279
|
+
- Use Driver Adapters: https://pris.ly/d/driver-adapters
|
|
1280
|
+
`;
|
|
1281
|
+
} else {
|
|
1282
|
+
message = 'PrismaClient is unable to run in this browser environment, or has been bundled for the browser (running in `' + runtime.prettyName + '`).'
|
|
1283
|
+
}
|
|
1284
|
+
|
|
1285
|
+
message += `
|
|
1286
|
+
If this is unexpected, please open an issue: https://pris.ly/prisma-prisma-bug-report`
|
|
1287
|
+
|
|
1288
|
+
throw new Error(message)
|
|
1289
|
+
}
|
|
1290
|
+
})
|
|
1291
|
+
}
|
|
1292
|
+
}
|
|
1293
|
+
|
|
1294
|
+
exports.PrismaClient = PrismaClient
|
|
1295
|
+
|
|
1296
|
+
Object.assign(exports, Prisma)
|