@valentine-efagene/qshelter-common 2.0.52 → 2.0.54
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/generated/client/enums.d.ts +2 -0
- package/dist/generated/client/enums.js +3 -1
- package/dist/generated/client/internal/class.js +2 -2
- package/dist/generated/client/internal/prismaNamespace.d.ts +12 -0
- package/dist/generated/client/internal/prismaNamespace.js +12 -0
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +12 -0
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +12 -0
- package/dist/generated/client/models/Contract.d.ts +484 -1
- package/dist/generated/client/models/DocumentationStep.d.ts +242 -1
- package/dist/src/middleware/tenant.js +3 -3
- package/package.json +1 -1
- package/prisma/migrations/20260105004059_add_superseded_phase_status/migration.sql +2 -0
- package/prisma/migrations/20260105074701_add_underwriting_step_types/migration.sql +17 -0
- package/prisma/schema.prisma +18 -0
- package/dist/generated/client/models/ContractPhaseStep.d.ts +0 -1819
- package/dist/generated/client/models/ContractPhaseStep.js +0 -1
- package/dist/generated/client/models/ContractPhaseStepApproval.d.ts +0 -1253
- package/dist/generated/client/models/ContractPhaseStepApproval.js +0 -1
- package/dist/generated/client/models/ContractPhaseStepDocument.d.ts +0 -1052
- package/dist/generated/client/models/ContractPhaseStepDocument.js +0 -1
- package/dist/generated/client/models/Mortgage.d.ts +0 -2777
- package/dist/generated/client/models/Mortgage.js +0 -1
- package/dist/generated/client/models/MortgageDocument.d.ts +0 -1118
- package/dist/generated/client/models/MortgageDocument.js +0 -1
- package/dist/generated/client/models/MortgageDownpaymentInstallment.d.ts +0 -1189
- package/dist/generated/client/models/MortgageDownpaymentInstallment.js +0 -1
- package/dist/generated/client/models/MortgageDownpaymentPayment.d.ts +0 -1189
- package/dist/generated/client/models/MortgageDownpaymentPayment.js +0 -1
- package/dist/generated/client/models/MortgageDownpaymentPlan.d.ts +0 -1428
- package/dist/generated/client/models/MortgageDownpaymentPlan.js +0 -1
- package/dist/generated/client/models/MortgageStep.d.ts +0 -1222
- package/dist/generated/client/models/MortgageStep.js +0 -1
- package/dist/generated/client/models/MortgageTransition.d.ts +0 -1118
- package/dist/generated/client/models/MortgageTransition.js +0 -1
- package/dist/generated/client/models/MortgageTransitionEvent.d.ts +0 -1052
- package/dist/generated/client/models/MortgageTransitionEvent.js +0 -1
- package/dist/generated/client/models/MortgageType.d.ts +0 -1052
- package/dist/generated/client/models/MortgageType.js +0 -1
- package/dist/generated/client/models/Payment.d.ts +0 -2026
- package/dist/generated/client/models/Payment.js +0 -1
- package/dist/generated/client/models/PaymentInstallment.d.ts +0 -1539
- package/dist/generated/client/models/PaymentInstallment.js +0 -1
- package/dist/generated/client/models/PaymentSchedule.d.ts +0 -1450
- package/dist/generated/client/models/PaymentSchedule.js +0 -1
- package/dist/index.d.ts +0 -6
- package/dist/index.js +0 -6
- package/dist/src/generated/client/client.d.ts +0 -201
- package/dist/src/generated/client/client.js +0 -32
- package/dist/src/generated/client/commonInputTypes.d.ts +0 -403
- package/dist/src/generated/client/commonInputTypes.js +0 -10
- package/dist/src/generated/client/enums.d.ts +0 -1
- package/dist/src/generated/client/enums.js +0 -10
- package/dist/src/generated/client/internal/class.d.ts +0 -511
- package/dist/src/generated/client/internal/class.js +0 -40
- package/dist/src/generated/client/internal/prismaNamespace.d.ts +0 -3571
- package/dist/src/generated/client/internal/prismaNamespace.js +0 -739
- package/dist/src/generated/client/models/Amenity.d.ts +0 -1020
- package/dist/src/generated/client/models/Amenity.js +0 -1
- package/dist/src/generated/client/models/Contract.d.ts +0 -2099
- package/dist/src/generated/client/models/Contract.js +0 -1
- package/dist/src/generated/client/models/ContractDocument.d.ts +0 -1118
- package/dist/src/generated/client/models/ContractDocument.js +0 -1
- package/dist/src/generated/client/models/DeviceEndpoint.d.ts +0 -1118
- package/dist/src/generated/client/models/DeviceEndpoint.js +0 -1
- package/dist/src/generated/client/models/EmailPreference.d.ts +0 -1151
- package/dist/src/generated/client/models/EmailPreference.js +0 -1
- package/dist/src/generated/client/models/Mortgage.d.ts +0 -2777
- package/dist/src/generated/client/models/Mortgage.js +0 -1
- package/dist/src/generated/client/models/MortgageDocument.d.ts +0 -1118
- package/dist/src/generated/client/models/MortgageDocument.js +0 -1
- package/dist/src/generated/client/models/MortgageDownpaymentInstallment.d.ts +0 -1189
- package/dist/src/generated/client/models/MortgageDownpaymentInstallment.js +0 -1
- package/dist/src/generated/client/models/MortgageDownpaymentPayment.d.ts +0 -1189
- package/dist/src/generated/client/models/MortgageDownpaymentPayment.js +0 -1
- package/dist/src/generated/client/models/MortgageDownpaymentPlan.d.ts +0 -1428
- package/dist/src/generated/client/models/MortgageDownpaymentPlan.js +0 -1
- package/dist/src/generated/client/models/MortgageStep.d.ts +0 -1222
- package/dist/src/generated/client/models/MortgageStep.js +0 -1
- package/dist/src/generated/client/models/MortgageTransition.d.ts +0 -1118
- package/dist/src/generated/client/models/MortgageTransition.js +0 -1
- package/dist/src/generated/client/models/MortgageTransitionEvent.d.ts +0 -1052
- package/dist/src/generated/client/models/MortgageTransitionEvent.js +0 -1
- package/dist/src/generated/client/models/MortgageType.d.ts +0 -1052
- package/dist/src/generated/client/models/MortgageType.js +0 -1
- package/dist/src/generated/client/models/OAuthState.d.ts +0 -864
- package/dist/src/generated/client/models/OAuthState.js +0 -1
- package/dist/src/generated/client/models/PasswordReset.d.ts +0 -1085
- package/dist/src/generated/client/models/PasswordReset.js +0 -1
- package/dist/src/generated/client/models/Payment.d.ts +0 -2026
- package/dist/src/generated/client/models/Payment.js +0 -1
- package/dist/src/generated/client/models/PaymentInstallment.d.ts +0 -1539
- package/dist/src/generated/client/models/PaymentInstallment.js +0 -1
- package/dist/src/generated/client/models/PaymentPlan.d.ts +0 -2148
- package/dist/src/generated/client/models/PaymentPlan.js +0 -1
- package/dist/src/generated/client/models/PaymentSchedule.d.ts +0 -1450
- package/dist/src/generated/client/models/PaymentSchedule.js +0 -1
- package/dist/src/generated/client/models/Permission.d.ts +0 -1115
- package/dist/src/generated/client/models/Permission.js +0 -1
- package/dist/src/generated/client/models/Property.d.ts +0 -3254
- package/dist/src/generated/client/models/Property.js +0 -1
- package/dist/src/generated/client/models/PropertyAmenity.d.ts +0 -1080
- package/dist/src/generated/client/models/PropertyAmenity.js +0 -1
- package/dist/src/generated/client/models/PropertyDocument.d.ts +0 -1118
- package/dist/src/generated/client/models/PropertyDocument.js +0 -1
- package/dist/src/generated/client/models/PropertyMedia.d.ts +0 -1331
- package/dist/src/generated/client/models/PropertyMedia.js +0 -1
- package/dist/src/generated/client/models/RefreshToken.d.ts +0 -1085
- package/dist/src/generated/client/models/RefreshToken.js +0 -1
- package/dist/src/generated/client/models/Role.d.ts +0 -1153
- package/dist/src/generated/client/models/Role.js +0 -1
- package/dist/src/generated/client/models/RolePermission.d.ts +0 -1080
- package/dist/src/generated/client/models/RolePermission.js +0 -1
- package/dist/src/generated/client/models/Settings.d.ts +0 -916
- package/dist/src/generated/client/models/Settings.js +0 -1
- package/dist/src/generated/client/models/Social.d.ts +0 -1090
- package/dist/src/generated/client/models/Social.js +0 -1
- package/dist/src/generated/client/models/Tenant.d.ts +0 -1082
- package/dist/src/generated/client/models/Tenant.js +0 -1
- package/dist/src/generated/client/models/Transaction.d.ts +0 -1222
- package/dist/src/generated/client/models/Transaction.js +0 -1
- package/dist/src/generated/client/models/User.d.ts +0 -4239
- package/dist/src/generated/client/models/User.js +0 -1
- package/dist/src/generated/client/models/UserRole.d.ts +0 -1080
- package/dist/src/generated/client/models/UserRole.js +0 -1
- package/dist/src/generated/client/models/UserSuspension.d.ts +0 -1085
- package/dist/src/generated/client/models/UserSuspension.js +0 -1
- package/dist/src/generated/client/models/Wallet.d.ts +0 -1191
- package/dist/src/generated/client/models/Wallet.js +0 -1
- package/dist/src/generated/client/models.d.ts +0 -37
- package/dist/src/generated/client/models.js +0 -1
|
@@ -1,739 +0,0 @@
|
|
|
1
|
-
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
// biome-ignore-all lint: generated file
|
|
4
|
-
// @ts-nocheck
|
|
5
|
-
/*
|
|
6
|
-
* WARNING: This is an internal file that is subject to change!
|
|
7
|
-
*
|
|
8
|
-
* 🛑 Under no circumstances should you import this file directly! 🛑
|
|
9
|
-
*
|
|
10
|
-
* All exports from this file are wrapped under a `Prisma` namespace object in the client.ts file.
|
|
11
|
-
* While this enables partial backward compatibility, it is not part of the stable public API.
|
|
12
|
-
*
|
|
13
|
-
* If you are looking for your Models, Enums, and Input Types, please import them from the respective
|
|
14
|
-
* model files in the `model` directory!
|
|
15
|
-
*/
|
|
16
|
-
import * as runtime from "@prisma/client/runtime/client";
|
|
17
|
-
/**
|
|
18
|
-
* Prisma Errors
|
|
19
|
-
*/
|
|
20
|
-
export const PrismaClientKnownRequestError = runtime.PrismaClientKnownRequestError;
|
|
21
|
-
export const PrismaClientUnknownRequestError = runtime.PrismaClientUnknownRequestError;
|
|
22
|
-
export const PrismaClientRustPanicError = runtime.PrismaClientRustPanicError;
|
|
23
|
-
export const PrismaClientInitializationError = runtime.PrismaClientInitializationError;
|
|
24
|
-
export const PrismaClientValidationError = runtime.PrismaClientValidationError;
|
|
25
|
-
/**
|
|
26
|
-
* Re-export of sql-template-tag
|
|
27
|
-
*/
|
|
28
|
-
export const sql = runtime.sqltag;
|
|
29
|
-
export const empty = runtime.empty;
|
|
30
|
-
export const join = runtime.join;
|
|
31
|
-
export const raw = runtime.raw;
|
|
32
|
-
export const Sql = runtime.Sql;
|
|
33
|
-
/**
|
|
34
|
-
* Decimal.js
|
|
35
|
-
*/
|
|
36
|
-
export const Decimal = runtime.Decimal;
|
|
37
|
-
export const getExtensionContext = runtime.Extensions.getExtensionContext;
|
|
38
|
-
/**
|
|
39
|
-
* Prisma Client JS version: 7.2.0
|
|
40
|
-
* Query Engine version: 0c8ef2ce45c83248ab3df073180d5eda9e8be7a3
|
|
41
|
-
*/
|
|
42
|
-
export const prismaVersion = {
|
|
43
|
-
client: "7.2.0",
|
|
44
|
-
engine: "0c8ef2ce45c83248ab3df073180d5eda9e8be7a3"
|
|
45
|
-
};
|
|
46
|
-
export const NullTypes = {
|
|
47
|
-
DbNull: runtime.NullTypes.DbNull,
|
|
48
|
-
JsonNull: runtime.NullTypes.JsonNull,
|
|
49
|
-
AnyNull: runtime.NullTypes.AnyNull,
|
|
50
|
-
};
|
|
51
|
-
/**
|
|
52
|
-
* Helper for filtering JSON entries that have `null` on the database (empty on the db)
|
|
53
|
-
*
|
|
54
|
-
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
55
|
-
*/
|
|
56
|
-
export const DbNull = runtime.DbNull;
|
|
57
|
-
/**
|
|
58
|
-
* Helper for filtering JSON entries that have JSON `null` values (not empty on the db)
|
|
59
|
-
*
|
|
60
|
-
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
61
|
-
*/
|
|
62
|
-
export const JsonNull = runtime.JsonNull;
|
|
63
|
-
/**
|
|
64
|
-
* Helper for filtering JSON entries that are `Prisma.DbNull` or `Prisma.JsonNull`
|
|
65
|
-
*
|
|
66
|
-
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
67
|
-
*/
|
|
68
|
-
export const AnyNull = runtime.AnyNull;
|
|
69
|
-
export const ModelName = {
|
|
70
|
-
User: 'User',
|
|
71
|
-
Role: 'Role',
|
|
72
|
-
Permission: 'Permission',
|
|
73
|
-
RolePermission: 'RolePermission',
|
|
74
|
-
UserRole: 'UserRole',
|
|
75
|
-
Tenant: 'Tenant',
|
|
76
|
-
RefreshToken: 'RefreshToken',
|
|
77
|
-
PasswordReset: 'PasswordReset',
|
|
78
|
-
UserSuspension: 'UserSuspension',
|
|
79
|
-
EmailPreference: 'EmailPreference',
|
|
80
|
-
DeviceEndpoint: 'DeviceEndpoint',
|
|
81
|
-
Social: 'Social',
|
|
82
|
-
OAuthState: 'OAuthState',
|
|
83
|
-
Wallet: 'Wallet',
|
|
84
|
-
Transaction: 'Transaction',
|
|
85
|
-
Settings: 'Settings',
|
|
86
|
-
Property: 'Property',
|
|
87
|
-
PropertyMedia: 'PropertyMedia',
|
|
88
|
-
PropertyDocument: 'PropertyDocument',
|
|
89
|
-
Amenity: 'Amenity',
|
|
90
|
-
PropertyAmenity: 'PropertyAmenity',
|
|
91
|
-
Mortgage: 'Mortgage',
|
|
92
|
-
MortgageType: 'MortgageType',
|
|
93
|
-
MortgageDocument: 'MortgageDocument',
|
|
94
|
-
MortgageStep: 'MortgageStep',
|
|
95
|
-
MortgageDownpaymentPlan: 'MortgageDownpaymentPlan',
|
|
96
|
-
MortgageDownpaymentInstallment: 'MortgageDownpaymentInstallment',
|
|
97
|
-
MortgageDownpaymentPayment: 'MortgageDownpaymentPayment',
|
|
98
|
-
MortgageTransition: 'MortgageTransition',
|
|
99
|
-
MortgageTransitionEvent: 'MortgageTransitionEvent',
|
|
100
|
-
PaymentPlan: 'PaymentPlan',
|
|
101
|
-
PaymentSchedule: 'PaymentSchedule',
|
|
102
|
-
PaymentInstallment: 'PaymentInstallment',
|
|
103
|
-
Payment: 'Payment',
|
|
104
|
-
Contract: 'Contract',
|
|
105
|
-
ContractDocument: 'ContractDocument'
|
|
106
|
-
};
|
|
107
|
-
/**
|
|
108
|
-
* Enums
|
|
109
|
-
*/
|
|
110
|
-
export const TransactionIsolationLevel = runtime.makeStrictEnum({
|
|
111
|
-
ReadUncommitted: 'ReadUncommitted',
|
|
112
|
-
ReadCommitted: 'ReadCommitted',
|
|
113
|
-
RepeatableRead: 'RepeatableRead',
|
|
114
|
-
Serializable: 'Serializable'
|
|
115
|
-
});
|
|
116
|
-
export const UserScalarFieldEnum = {
|
|
117
|
-
id: 'id',
|
|
118
|
-
email: 'email',
|
|
119
|
-
password: 'password',
|
|
120
|
-
phone: 'phone',
|
|
121
|
-
firstName: 'firstName',
|
|
122
|
-
lastName: 'lastName',
|
|
123
|
-
isActive: 'isActive',
|
|
124
|
-
isEmailVerified: 'isEmailVerified',
|
|
125
|
-
googleId: 'googleId',
|
|
126
|
-
avatar: 'avatar',
|
|
127
|
-
tenantId: 'tenantId',
|
|
128
|
-
walletId: 'walletId',
|
|
129
|
-
createdAt: 'createdAt',
|
|
130
|
-
updatedAt: 'updatedAt',
|
|
131
|
-
emailVerifiedAt: 'emailVerifiedAt',
|
|
132
|
-
emailVerificationToken: 'emailVerificationToken',
|
|
133
|
-
lastLoginAt: 'lastLoginAt'
|
|
134
|
-
};
|
|
135
|
-
export const RoleScalarFieldEnum = {
|
|
136
|
-
id: 'id',
|
|
137
|
-
name: 'name',
|
|
138
|
-
description: 'description',
|
|
139
|
-
createdAt: 'createdAt',
|
|
140
|
-
updatedAt: 'updatedAt'
|
|
141
|
-
};
|
|
142
|
-
export const PermissionScalarFieldEnum = {
|
|
143
|
-
id: 'id',
|
|
144
|
-
name: 'name',
|
|
145
|
-
description: 'description',
|
|
146
|
-
resource: 'resource',
|
|
147
|
-
action: 'action',
|
|
148
|
-
createdAt: 'createdAt',
|
|
149
|
-
updatedAt: 'updatedAt'
|
|
150
|
-
};
|
|
151
|
-
export const RolePermissionScalarFieldEnum = {
|
|
152
|
-
roleId: 'roleId',
|
|
153
|
-
permissionId: 'permissionId',
|
|
154
|
-
createdAt: 'createdAt'
|
|
155
|
-
};
|
|
156
|
-
export const UserRoleScalarFieldEnum = {
|
|
157
|
-
userId: 'userId',
|
|
158
|
-
roleId: 'roleId',
|
|
159
|
-
createdAt: 'createdAt'
|
|
160
|
-
};
|
|
161
|
-
export const TenantScalarFieldEnum = {
|
|
162
|
-
id: 'id',
|
|
163
|
-
name: 'name',
|
|
164
|
-
subdomain: 'subdomain',
|
|
165
|
-
isActive: 'isActive',
|
|
166
|
-
createdAt: 'createdAt',
|
|
167
|
-
updatedAt: 'updatedAt'
|
|
168
|
-
};
|
|
169
|
-
export const RefreshTokenScalarFieldEnum = {
|
|
170
|
-
id: 'id',
|
|
171
|
-
jti: 'jti',
|
|
172
|
-
token: 'token',
|
|
173
|
-
userId: 'userId',
|
|
174
|
-
expiresAt: 'expiresAt',
|
|
175
|
-
createdAt: 'createdAt'
|
|
176
|
-
};
|
|
177
|
-
export const PasswordResetScalarFieldEnum = {
|
|
178
|
-
id: 'id',
|
|
179
|
-
token: 'token',
|
|
180
|
-
userId: 'userId',
|
|
181
|
-
expiresAt: 'expiresAt',
|
|
182
|
-
usedAt: 'usedAt',
|
|
183
|
-
createdAt: 'createdAt'
|
|
184
|
-
};
|
|
185
|
-
export const UserSuspensionScalarFieldEnum = {
|
|
186
|
-
id: 'id',
|
|
187
|
-
userId: 'userId',
|
|
188
|
-
reason: 'reason',
|
|
189
|
-
suspendedAt: 'suspendedAt',
|
|
190
|
-
expiresAt: 'expiresAt',
|
|
191
|
-
liftedAt: 'liftedAt'
|
|
192
|
-
};
|
|
193
|
-
export const EmailPreferenceScalarFieldEnum = {
|
|
194
|
-
id: 'id',
|
|
195
|
-
userId: 'userId',
|
|
196
|
-
marketingEmails: 'marketingEmails',
|
|
197
|
-
transactionalEmails: 'transactionalEmails',
|
|
198
|
-
propertyAlerts: 'propertyAlerts',
|
|
199
|
-
paymentReminders: 'paymentReminders',
|
|
200
|
-
createdAt: 'createdAt',
|
|
201
|
-
updatedAt: 'updatedAt'
|
|
202
|
-
};
|
|
203
|
-
export const DeviceEndpointScalarFieldEnum = {
|
|
204
|
-
id: 'id',
|
|
205
|
-
userId: 'userId',
|
|
206
|
-
endpoint: 'endpoint',
|
|
207
|
-
platform: 'platform',
|
|
208
|
-
isActive: 'isActive',
|
|
209
|
-
createdAt: 'createdAt',
|
|
210
|
-
updatedAt: 'updatedAt'
|
|
211
|
-
};
|
|
212
|
-
export const SocialScalarFieldEnum = {
|
|
213
|
-
id: 'id',
|
|
214
|
-
userId: 'userId',
|
|
215
|
-
provider: 'provider',
|
|
216
|
-
socialId: 'socialId',
|
|
217
|
-
createdAt: 'createdAt',
|
|
218
|
-
updatedAt: 'updatedAt'
|
|
219
|
-
};
|
|
220
|
-
export const OAuthStateScalarFieldEnum = {
|
|
221
|
-
id: 'id',
|
|
222
|
-
state: 'state',
|
|
223
|
-
expiresAt: 'expiresAt',
|
|
224
|
-
createdAt: 'createdAt'
|
|
225
|
-
};
|
|
226
|
-
export const WalletScalarFieldEnum = {
|
|
227
|
-
id: 'id',
|
|
228
|
-
balance: 'balance',
|
|
229
|
-
currency: 'currency',
|
|
230
|
-
createdAt: 'createdAt',
|
|
231
|
-
updatedAt: 'updatedAt'
|
|
232
|
-
};
|
|
233
|
-
export const TransactionScalarFieldEnum = {
|
|
234
|
-
id: 'id',
|
|
235
|
-
walletId: 'walletId',
|
|
236
|
-
amount: 'amount',
|
|
237
|
-
type: 'type',
|
|
238
|
-
status: 'status',
|
|
239
|
-
reference: 'reference',
|
|
240
|
-
description: 'description',
|
|
241
|
-
createdAt: 'createdAt',
|
|
242
|
-
updatedAt: 'updatedAt'
|
|
243
|
-
};
|
|
244
|
-
export const SettingsScalarFieldEnum = {
|
|
245
|
-
id: 'id',
|
|
246
|
-
key: 'key',
|
|
247
|
-
value: 'value',
|
|
248
|
-
category: 'category',
|
|
249
|
-
createdAt: 'createdAt',
|
|
250
|
-
updatedAt: 'updatedAt'
|
|
251
|
-
};
|
|
252
|
-
export const PropertyScalarFieldEnum = {
|
|
253
|
-
id: 'id',
|
|
254
|
-
userId: 'userId',
|
|
255
|
-
title: 'title',
|
|
256
|
-
category: 'category',
|
|
257
|
-
propertyType: 'propertyType',
|
|
258
|
-
country: 'country',
|
|
259
|
-
currency: 'currency',
|
|
260
|
-
city: 'city',
|
|
261
|
-
district: 'district',
|
|
262
|
-
zipCode: 'zipCode',
|
|
263
|
-
streetAddress: 'streetAddress',
|
|
264
|
-
nBedrooms: 'nBedrooms',
|
|
265
|
-
nBathrooms: 'nBathrooms',
|
|
266
|
-
nParkingSpots: 'nParkingSpots',
|
|
267
|
-
price: 'price',
|
|
268
|
-
longitude: 'longitude',
|
|
269
|
-
latitude: 'latitude',
|
|
270
|
-
area: 'area',
|
|
271
|
-
status: 'status',
|
|
272
|
-
description: 'description',
|
|
273
|
-
displayImageId: 'displayImageId',
|
|
274
|
-
isPublished: 'isPublished',
|
|
275
|
-
publishedAt: 'publishedAt',
|
|
276
|
-
createdAt: 'createdAt',
|
|
277
|
-
updatedAt: 'updatedAt'
|
|
278
|
-
};
|
|
279
|
-
export const PropertyMediaScalarFieldEnum = {
|
|
280
|
-
id: 'id',
|
|
281
|
-
propertyId: 'propertyId',
|
|
282
|
-
url: 'url',
|
|
283
|
-
type: 'type',
|
|
284
|
-
caption: 'caption',
|
|
285
|
-
order: 'order',
|
|
286
|
-
createdAt: 'createdAt',
|
|
287
|
-
updatedAt: 'updatedAt'
|
|
288
|
-
};
|
|
289
|
-
export const PropertyDocumentScalarFieldEnum = {
|
|
290
|
-
id: 'id',
|
|
291
|
-
propertyId: 'propertyId',
|
|
292
|
-
name: 'name',
|
|
293
|
-
url: 'url',
|
|
294
|
-
type: 'type',
|
|
295
|
-
createdAt: 'createdAt',
|
|
296
|
-
updatedAt: 'updatedAt'
|
|
297
|
-
};
|
|
298
|
-
export const AmenityScalarFieldEnum = {
|
|
299
|
-
id: 'id',
|
|
300
|
-
name: 'name',
|
|
301
|
-
createdAt: 'createdAt',
|
|
302
|
-
updatedAt: 'updatedAt'
|
|
303
|
-
};
|
|
304
|
-
export const PropertyAmenityScalarFieldEnum = {
|
|
305
|
-
propertyId: 'propertyId',
|
|
306
|
-
amenityId: 'amenityId',
|
|
307
|
-
createdAt: 'createdAt'
|
|
308
|
-
};
|
|
309
|
-
export const MortgageScalarFieldEnum = {
|
|
310
|
-
id: 'id',
|
|
311
|
-
propertyId: 'propertyId',
|
|
312
|
-
borrowerId: 'borrowerId',
|
|
313
|
-
mortgageTypeId: 'mortgageTypeId',
|
|
314
|
-
downpaymentPlanId: 'downpaymentPlanId',
|
|
315
|
-
principal: 'principal',
|
|
316
|
-
downPayment: 'downPayment',
|
|
317
|
-
downPaymentPaid: 'downPaymentPaid',
|
|
318
|
-
termMonths: 'termMonths',
|
|
319
|
-
interestRate: 'interestRate',
|
|
320
|
-
monthlyPayment: 'monthlyPayment',
|
|
321
|
-
status: 'status',
|
|
322
|
-
state: 'state',
|
|
323
|
-
stateMetadata: 'stateMetadata',
|
|
324
|
-
lastReminderSentAt: 'lastReminderSentAt',
|
|
325
|
-
createdAt: 'createdAt',
|
|
326
|
-
updatedAt: 'updatedAt'
|
|
327
|
-
};
|
|
328
|
-
export const MortgageTypeScalarFieldEnum = {
|
|
329
|
-
id: 'id',
|
|
330
|
-
name: 'name',
|
|
331
|
-
description: 'description',
|
|
332
|
-
createdAt: 'createdAt',
|
|
333
|
-
updatedAt: 'updatedAt'
|
|
334
|
-
};
|
|
335
|
-
export const MortgageDocumentScalarFieldEnum = {
|
|
336
|
-
id: 'id',
|
|
337
|
-
mortgageId: 'mortgageId',
|
|
338
|
-
name: 'name',
|
|
339
|
-
url: 'url',
|
|
340
|
-
type: 'type',
|
|
341
|
-
createdAt: 'createdAt',
|
|
342
|
-
updatedAt: 'updatedAt'
|
|
343
|
-
};
|
|
344
|
-
export const MortgageStepScalarFieldEnum = {
|
|
345
|
-
id: 'id',
|
|
346
|
-
mortgageId: 'mortgageId',
|
|
347
|
-
name: 'name',
|
|
348
|
-
description: 'description',
|
|
349
|
-
order: 'order',
|
|
350
|
-
isCompleted: 'isCompleted',
|
|
351
|
-
completedAt: 'completedAt',
|
|
352
|
-
createdAt: 'createdAt',
|
|
353
|
-
updatedAt: 'updatedAt'
|
|
354
|
-
};
|
|
355
|
-
export const MortgageDownpaymentPlanScalarFieldEnum = {
|
|
356
|
-
id: 'id',
|
|
357
|
-
totalAmount: 'totalAmount',
|
|
358
|
-
paidAmount: 'paidAmount',
|
|
359
|
-
status: 'status',
|
|
360
|
-
startDate: 'startDate',
|
|
361
|
-
endDate: 'endDate',
|
|
362
|
-
createdAt: 'createdAt',
|
|
363
|
-
updatedAt: 'updatedAt'
|
|
364
|
-
};
|
|
365
|
-
export const MortgageDownpaymentInstallmentScalarFieldEnum = {
|
|
366
|
-
id: 'id',
|
|
367
|
-
planId: 'planId',
|
|
368
|
-
amount: 'amount',
|
|
369
|
-
dueDate: 'dueDate',
|
|
370
|
-
isPaid: 'isPaid',
|
|
371
|
-
paidDate: 'paidDate',
|
|
372
|
-
createdAt: 'createdAt',
|
|
373
|
-
updatedAt: 'updatedAt'
|
|
374
|
-
};
|
|
375
|
-
export const MortgageDownpaymentPaymentScalarFieldEnum = {
|
|
376
|
-
id: 'id',
|
|
377
|
-
planId: 'planId',
|
|
378
|
-
amount: 'amount',
|
|
379
|
-
paymentMethod: 'paymentMethod',
|
|
380
|
-
reference: 'reference',
|
|
381
|
-
status: 'status',
|
|
382
|
-
createdAt: 'createdAt',
|
|
383
|
-
updatedAt: 'updatedAt'
|
|
384
|
-
};
|
|
385
|
-
export const MortgageTransitionScalarFieldEnum = {
|
|
386
|
-
id: 'id',
|
|
387
|
-
mortgageId: 'mortgageId',
|
|
388
|
-
fromState: 'fromState',
|
|
389
|
-
toState: 'toState',
|
|
390
|
-
trigger: 'trigger',
|
|
391
|
-
metadata: 'metadata',
|
|
392
|
-
transitionedAt: 'transitionedAt'
|
|
393
|
-
};
|
|
394
|
-
export const MortgageTransitionEventScalarFieldEnum = {
|
|
395
|
-
id: 'id',
|
|
396
|
-
mortgageId: 'mortgageId',
|
|
397
|
-
event: 'event',
|
|
398
|
-
data: 'data',
|
|
399
|
-
createdAt: 'createdAt'
|
|
400
|
-
};
|
|
401
|
-
export const PaymentPlanScalarFieldEnum = {
|
|
402
|
-
id: 'id',
|
|
403
|
-
propertyId: 'propertyId',
|
|
404
|
-
buyerId: 'buyerId',
|
|
405
|
-
planType: 'planType',
|
|
406
|
-
name: 'name',
|
|
407
|
-
description: 'description',
|
|
408
|
-
totalAmount: 'totalAmount',
|
|
409
|
-
downPaymentAmount: 'downPaymentAmount',
|
|
410
|
-
downPaymentPaid: 'downPaymentPaid',
|
|
411
|
-
principalAmount: 'principalAmount',
|
|
412
|
-
interestRate: 'interestRate',
|
|
413
|
-
totalInterest: 'totalInterest',
|
|
414
|
-
state: 'state',
|
|
415
|
-
stateMetadata: 'stateMetadata',
|
|
416
|
-
createdAt: 'createdAt',
|
|
417
|
-
updatedAt: 'updatedAt'
|
|
418
|
-
};
|
|
419
|
-
export const PaymentScheduleScalarFieldEnum = {
|
|
420
|
-
id: 'id',
|
|
421
|
-
planId: 'planId',
|
|
422
|
-
name: 'name',
|
|
423
|
-
frequency: 'frequency',
|
|
424
|
-
startDate: 'startDate',
|
|
425
|
-
endDate: 'endDate',
|
|
426
|
-
isActive: 'isActive',
|
|
427
|
-
createdAt: 'createdAt',
|
|
428
|
-
updatedAt: 'updatedAt'
|
|
429
|
-
};
|
|
430
|
-
export const PaymentInstallmentScalarFieldEnum = {
|
|
431
|
-
id: 'id',
|
|
432
|
-
scheduleId: 'scheduleId',
|
|
433
|
-
installmentNumber: 'installmentNumber',
|
|
434
|
-
amount: 'amount',
|
|
435
|
-
principalAmount: 'principalAmount',
|
|
436
|
-
interestAmount: 'interestAmount',
|
|
437
|
-
dueDate: 'dueDate',
|
|
438
|
-
status: 'status',
|
|
439
|
-
paidAmount: 'paidAmount',
|
|
440
|
-
paidDate: 'paidDate',
|
|
441
|
-
lateFee: 'lateFee',
|
|
442
|
-
createdAt: 'createdAt',
|
|
443
|
-
updatedAt: 'updatedAt'
|
|
444
|
-
};
|
|
445
|
-
export const PaymentScalarFieldEnum = {
|
|
446
|
-
id: 'id',
|
|
447
|
-
planId: 'planId',
|
|
448
|
-
scheduleId: 'scheduleId',
|
|
449
|
-
installmentId: 'installmentId',
|
|
450
|
-
payerId: 'payerId',
|
|
451
|
-
amount: 'amount',
|
|
452
|
-
principalAmount: 'principalAmount',
|
|
453
|
-
interestAmount: 'interestAmount',
|
|
454
|
-
lateFeeAmount: 'lateFeeAmount',
|
|
455
|
-
paymentMethod: 'paymentMethod',
|
|
456
|
-
status: 'status',
|
|
457
|
-
reference: 'reference',
|
|
458
|
-
gatewayResponse: 'gatewayResponse',
|
|
459
|
-
processedAt: 'processedAt',
|
|
460
|
-
createdAt: 'createdAt',
|
|
461
|
-
updatedAt: 'updatedAt'
|
|
462
|
-
};
|
|
463
|
-
export const ContractScalarFieldEnum = {
|
|
464
|
-
id: 'id',
|
|
465
|
-
propertyId: 'propertyId',
|
|
466
|
-
paymentPlanId: 'paymentPlanId',
|
|
467
|
-
buyerId: 'buyerId',
|
|
468
|
-
sellerId: 'sellerId',
|
|
469
|
-
contractType: 'contractType',
|
|
470
|
-
contractNumber: 'contractNumber',
|
|
471
|
-
title: 'title',
|
|
472
|
-
description: 'description',
|
|
473
|
-
status: 'status',
|
|
474
|
-
startDate: 'startDate',
|
|
475
|
-
endDate: 'endDate',
|
|
476
|
-
signedAt: 'signedAt',
|
|
477
|
-
terminatedAt: 'terminatedAt',
|
|
478
|
-
createdAt: 'createdAt',
|
|
479
|
-
updatedAt: 'updatedAt'
|
|
480
|
-
};
|
|
481
|
-
export const ContractDocumentScalarFieldEnum = {
|
|
482
|
-
id: 'id',
|
|
483
|
-
contractId: 'contractId',
|
|
484
|
-
name: 'name',
|
|
485
|
-
url: 'url',
|
|
486
|
-
type: 'type',
|
|
487
|
-
createdAt: 'createdAt',
|
|
488
|
-
updatedAt: 'updatedAt'
|
|
489
|
-
};
|
|
490
|
-
export const SortOrder = {
|
|
491
|
-
asc: 'asc',
|
|
492
|
-
desc: 'desc'
|
|
493
|
-
};
|
|
494
|
-
export const NullsOrder = {
|
|
495
|
-
first: 'first',
|
|
496
|
-
last: 'last'
|
|
497
|
-
};
|
|
498
|
-
export const UserOrderByRelevanceFieldEnum = {
|
|
499
|
-
id: 'id',
|
|
500
|
-
email: 'email',
|
|
501
|
-
password: 'password',
|
|
502
|
-
phone: 'phone',
|
|
503
|
-
firstName: 'firstName',
|
|
504
|
-
lastName: 'lastName',
|
|
505
|
-
googleId: 'googleId',
|
|
506
|
-
avatar: 'avatar',
|
|
507
|
-
tenantId: 'tenantId',
|
|
508
|
-
walletId: 'walletId',
|
|
509
|
-
emailVerificationToken: 'emailVerificationToken'
|
|
510
|
-
};
|
|
511
|
-
export const RoleOrderByRelevanceFieldEnum = {
|
|
512
|
-
id: 'id',
|
|
513
|
-
name: 'name',
|
|
514
|
-
description: 'description'
|
|
515
|
-
};
|
|
516
|
-
export const PermissionOrderByRelevanceFieldEnum = {
|
|
517
|
-
id: 'id',
|
|
518
|
-
name: 'name',
|
|
519
|
-
description: 'description',
|
|
520
|
-
resource: 'resource',
|
|
521
|
-
action: 'action'
|
|
522
|
-
};
|
|
523
|
-
export const RolePermissionOrderByRelevanceFieldEnum = {
|
|
524
|
-
roleId: 'roleId',
|
|
525
|
-
permissionId: 'permissionId'
|
|
526
|
-
};
|
|
527
|
-
export const UserRoleOrderByRelevanceFieldEnum = {
|
|
528
|
-
userId: 'userId',
|
|
529
|
-
roleId: 'roleId'
|
|
530
|
-
};
|
|
531
|
-
export const TenantOrderByRelevanceFieldEnum = {
|
|
532
|
-
id: 'id',
|
|
533
|
-
name: 'name',
|
|
534
|
-
subdomain: 'subdomain'
|
|
535
|
-
};
|
|
536
|
-
export const RefreshTokenOrderByRelevanceFieldEnum = {
|
|
537
|
-
id: 'id',
|
|
538
|
-
jti: 'jti',
|
|
539
|
-
token: 'token',
|
|
540
|
-
userId: 'userId'
|
|
541
|
-
};
|
|
542
|
-
export const PasswordResetOrderByRelevanceFieldEnum = {
|
|
543
|
-
id: 'id',
|
|
544
|
-
token: 'token',
|
|
545
|
-
userId: 'userId'
|
|
546
|
-
};
|
|
547
|
-
export const UserSuspensionOrderByRelevanceFieldEnum = {
|
|
548
|
-
id: 'id',
|
|
549
|
-
userId: 'userId',
|
|
550
|
-
reason: 'reason'
|
|
551
|
-
};
|
|
552
|
-
export const EmailPreferenceOrderByRelevanceFieldEnum = {
|
|
553
|
-
id: 'id',
|
|
554
|
-
userId: 'userId'
|
|
555
|
-
};
|
|
556
|
-
export const DeviceEndpointOrderByRelevanceFieldEnum = {
|
|
557
|
-
id: 'id',
|
|
558
|
-
userId: 'userId',
|
|
559
|
-
endpoint: 'endpoint',
|
|
560
|
-
platform: 'platform'
|
|
561
|
-
};
|
|
562
|
-
export const SocialOrderByRelevanceFieldEnum = {
|
|
563
|
-
id: 'id',
|
|
564
|
-
userId: 'userId',
|
|
565
|
-
provider: 'provider',
|
|
566
|
-
socialId: 'socialId'
|
|
567
|
-
};
|
|
568
|
-
export const OAuthStateOrderByRelevanceFieldEnum = {
|
|
569
|
-
id: 'id',
|
|
570
|
-
state: 'state'
|
|
571
|
-
};
|
|
572
|
-
export const WalletOrderByRelevanceFieldEnum = {
|
|
573
|
-
id: 'id',
|
|
574
|
-
currency: 'currency'
|
|
575
|
-
};
|
|
576
|
-
export const TransactionOrderByRelevanceFieldEnum = {
|
|
577
|
-
id: 'id',
|
|
578
|
-
walletId: 'walletId',
|
|
579
|
-
type: 'type',
|
|
580
|
-
status: 'status',
|
|
581
|
-
reference: 'reference',
|
|
582
|
-
description: 'description'
|
|
583
|
-
};
|
|
584
|
-
export const SettingsOrderByRelevanceFieldEnum = {
|
|
585
|
-
id: 'id',
|
|
586
|
-
key: 'key',
|
|
587
|
-
value: 'value',
|
|
588
|
-
category: 'category'
|
|
589
|
-
};
|
|
590
|
-
export const PropertyOrderByRelevanceFieldEnum = {
|
|
591
|
-
id: 'id',
|
|
592
|
-
userId: 'userId',
|
|
593
|
-
title: 'title',
|
|
594
|
-
category: 'category',
|
|
595
|
-
propertyType: 'propertyType',
|
|
596
|
-
country: 'country',
|
|
597
|
-
currency: 'currency',
|
|
598
|
-
city: 'city',
|
|
599
|
-
district: 'district',
|
|
600
|
-
zipCode: 'zipCode',
|
|
601
|
-
streetAddress: 'streetAddress',
|
|
602
|
-
nBedrooms: 'nBedrooms',
|
|
603
|
-
nBathrooms: 'nBathrooms',
|
|
604
|
-
nParkingSpots: 'nParkingSpots',
|
|
605
|
-
status: 'status',
|
|
606
|
-
description: 'description',
|
|
607
|
-
displayImageId: 'displayImageId'
|
|
608
|
-
};
|
|
609
|
-
export const PropertyMediaOrderByRelevanceFieldEnum = {
|
|
610
|
-
id: 'id',
|
|
611
|
-
propertyId: 'propertyId',
|
|
612
|
-
url: 'url',
|
|
613
|
-
type: 'type',
|
|
614
|
-
caption: 'caption'
|
|
615
|
-
};
|
|
616
|
-
export const PropertyDocumentOrderByRelevanceFieldEnum = {
|
|
617
|
-
id: 'id',
|
|
618
|
-
propertyId: 'propertyId',
|
|
619
|
-
name: 'name',
|
|
620
|
-
url: 'url',
|
|
621
|
-
type: 'type'
|
|
622
|
-
};
|
|
623
|
-
export const AmenityOrderByRelevanceFieldEnum = {
|
|
624
|
-
id: 'id',
|
|
625
|
-
name: 'name'
|
|
626
|
-
};
|
|
627
|
-
export const PropertyAmenityOrderByRelevanceFieldEnum = {
|
|
628
|
-
propertyId: 'propertyId',
|
|
629
|
-
amenityId: 'amenityId'
|
|
630
|
-
};
|
|
631
|
-
export const MortgageOrderByRelevanceFieldEnum = {
|
|
632
|
-
id: 'id',
|
|
633
|
-
propertyId: 'propertyId',
|
|
634
|
-
borrowerId: 'borrowerId',
|
|
635
|
-
mortgageTypeId: 'mortgageTypeId',
|
|
636
|
-
downpaymentPlanId: 'downpaymentPlanId',
|
|
637
|
-
status: 'status',
|
|
638
|
-
state: 'state',
|
|
639
|
-
stateMetadata: 'stateMetadata'
|
|
640
|
-
};
|
|
641
|
-
export const MortgageTypeOrderByRelevanceFieldEnum = {
|
|
642
|
-
id: 'id',
|
|
643
|
-
name: 'name',
|
|
644
|
-
description: 'description'
|
|
645
|
-
};
|
|
646
|
-
export const MortgageDocumentOrderByRelevanceFieldEnum = {
|
|
647
|
-
id: 'id',
|
|
648
|
-
mortgageId: 'mortgageId',
|
|
649
|
-
name: 'name',
|
|
650
|
-
url: 'url',
|
|
651
|
-
type: 'type'
|
|
652
|
-
};
|
|
653
|
-
export const MortgageStepOrderByRelevanceFieldEnum = {
|
|
654
|
-
id: 'id',
|
|
655
|
-
mortgageId: 'mortgageId',
|
|
656
|
-
name: 'name',
|
|
657
|
-
description: 'description'
|
|
658
|
-
};
|
|
659
|
-
export const MortgageDownpaymentPlanOrderByRelevanceFieldEnum = {
|
|
660
|
-
id: 'id',
|
|
661
|
-
status: 'status'
|
|
662
|
-
};
|
|
663
|
-
export const MortgageDownpaymentInstallmentOrderByRelevanceFieldEnum = {
|
|
664
|
-
id: 'id',
|
|
665
|
-
planId: 'planId'
|
|
666
|
-
};
|
|
667
|
-
export const MortgageDownpaymentPaymentOrderByRelevanceFieldEnum = {
|
|
668
|
-
id: 'id',
|
|
669
|
-
planId: 'planId',
|
|
670
|
-
paymentMethod: 'paymentMethod',
|
|
671
|
-
reference: 'reference',
|
|
672
|
-
status: 'status'
|
|
673
|
-
};
|
|
674
|
-
export const MortgageTransitionOrderByRelevanceFieldEnum = {
|
|
675
|
-
id: 'id',
|
|
676
|
-
mortgageId: 'mortgageId',
|
|
677
|
-
fromState: 'fromState',
|
|
678
|
-
toState: 'toState',
|
|
679
|
-
trigger: 'trigger',
|
|
680
|
-
metadata: 'metadata'
|
|
681
|
-
};
|
|
682
|
-
export const MortgageTransitionEventOrderByRelevanceFieldEnum = {
|
|
683
|
-
id: 'id',
|
|
684
|
-
mortgageId: 'mortgageId',
|
|
685
|
-
event: 'event',
|
|
686
|
-
data: 'data'
|
|
687
|
-
};
|
|
688
|
-
export const PaymentPlanOrderByRelevanceFieldEnum = {
|
|
689
|
-
id: 'id',
|
|
690
|
-
propertyId: 'propertyId',
|
|
691
|
-
buyerId: 'buyerId',
|
|
692
|
-
planType: 'planType',
|
|
693
|
-
name: 'name',
|
|
694
|
-
description: 'description',
|
|
695
|
-
state: 'state',
|
|
696
|
-
stateMetadata: 'stateMetadata'
|
|
697
|
-
};
|
|
698
|
-
export const PaymentScheduleOrderByRelevanceFieldEnum = {
|
|
699
|
-
id: 'id',
|
|
700
|
-
planId: 'planId',
|
|
701
|
-
name: 'name',
|
|
702
|
-
frequency: 'frequency'
|
|
703
|
-
};
|
|
704
|
-
export const PaymentInstallmentOrderByRelevanceFieldEnum = {
|
|
705
|
-
id: 'id',
|
|
706
|
-
scheduleId: 'scheduleId',
|
|
707
|
-
status: 'status'
|
|
708
|
-
};
|
|
709
|
-
export const PaymentOrderByRelevanceFieldEnum = {
|
|
710
|
-
id: 'id',
|
|
711
|
-
planId: 'planId',
|
|
712
|
-
scheduleId: 'scheduleId',
|
|
713
|
-
installmentId: 'installmentId',
|
|
714
|
-
payerId: 'payerId',
|
|
715
|
-
paymentMethod: 'paymentMethod',
|
|
716
|
-
status: 'status',
|
|
717
|
-
reference: 'reference',
|
|
718
|
-
gatewayResponse: 'gatewayResponse'
|
|
719
|
-
};
|
|
720
|
-
export const ContractOrderByRelevanceFieldEnum = {
|
|
721
|
-
id: 'id',
|
|
722
|
-
propertyId: 'propertyId',
|
|
723
|
-
paymentPlanId: 'paymentPlanId',
|
|
724
|
-
buyerId: 'buyerId',
|
|
725
|
-
sellerId: 'sellerId',
|
|
726
|
-
contractType: 'contractType',
|
|
727
|
-
contractNumber: 'contractNumber',
|
|
728
|
-
title: 'title',
|
|
729
|
-
description: 'description',
|
|
730
|
-
status: 'status'
|
|
731
|
-
};
|
|
732
|
-
export const ContractDocumentOrderByRelevanceFieldEnum = {
|
|
733
|
-
id: 'id',
|
|
734
|
-
contractId: 'contractId',
|
|
735
|
-
name: 'name',
|
|
736
|
-
url: 'url',
|
|
737
|
-
type: 'type'
|
|
738
|
-
};
|
|
739
|
-
export const defineExtension = runtime.Extensions.defineExtension;
|