@valentine-efagene/qshelter-common 2.0.21 → 2.0.22
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/browser.d.ts +45 -30
- package/dist/generated/client/client.d.ts +45 -30
- package/dist/generated/client/commonInputTypes.d.ts +40 -0
- package/dist/generated/client/internal/class.d.ts +93 -60
- package/dist/generated/client/internal/class.js +2 -2
- package/dist/generated/client/internal/prismaNamespace.d.ts +1050 -720
- package/dist/generated/client/internal/prismaNamespace.js +313 -190
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +344 -215
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +313 -190
- package/dist/generated/client/models/Amenity.d.ts +168 -1
- package/dist/generated/client/models/Contract.d.ts +2037 -298
- package/dist/generated/client/models/ContractDocument.d.ts +299 -12
- package/dist/generated/client/models/ContractEvent.d.ts +1052 -0
- package/dist/generated/client/models/ContractEvent.js +1 -0
- package/dist/generated/client/models/ContractInstallment.d.ts +1656 -0
- package/dist/generated/client/models/ContractInstallment.js +1 -0
- package/dist/generated/client/models/ContractPayment.d.ts +2026 -0
- package/dist/generated/client/models/ContractPayment.js +1 -0
- package/dist/generated/client/models/ContractPhase.d.ts +2467 -0
- package/dist/generated/client/models/ContractPhase.js +1 -0
- package/dist/generated/client/models/ContractPhaseStep.d.ts +1678 -0
- package/dist/generated/client/models/ContractPhaseStep.js +1 -0
- package/dist/generated/client/models/ContractPhaseStepApproval.d.ts +1249 -0
- package/dist/generated/client/models/ContractPhaseStepApproval.js +1 -0
- package/dist/generated/client/models/ContractTransition.d.ts +1118 -0
- package/dist/generated/client/models/ContractTransition.js +1 -0
- package/dist/generated/client/models/DomainEvent.d.ts +1240 -0
- package/dist/generated/client/models/DomainEvent.js +1 -0
- package/dist/generated/client/models/PaymentPlan.d.ts +325 -1062
- package/dist/generated/client/models/Property.d.ts +154 -684
- package/dist/generated/client/models/PropertyPaymentMethod.d.ts +1498 -0
- package/dist/generated/client/models/PropertyPaymentMethod.js +1 -0
- package/dist/generated/client/models/PropertyPaymentMethodLink.d.ts +1158 -0
- package/dist/generated/client/models/PropertyPaymentMethodLink.js +1 -0
- package/dist/generated/client/models/PropertyPaymentMethodPhase.d.ts +1656 -0
- package/dist/generated/client/models/PropertyPaymentMethodPhase.js +1 -0
- package/dist/generated/client/models/PropertyUnit.d.ts +1598 -0
- package/dist/generated/client/models/PropertyUnit.js +1 -0
- package/dist/generated/client/models/PropertyVariant.d.ts +2079 -0
- package/dist/generated/client/models/PropertyVariant.js +1 -0
- package/dist/generated/client/models/PropertyVariantAmenity.d.ts +1080 -0
- package/dist/generated/client/models/PropertyVariantAmenity.js +1 -0
- package/dist/generated/client/models/PropertyVariantMedia.d.ts +1189 -0
- package/dist/generated/client/models/PropertyVariantMedia.js +1 -0
- package/dist/generated/client/models/User.d.ts +684 -427
- package/dist/generated/client/models/index.d.ts +15 -12
- package/dist/generated/client/models/index.js +15 -12
- package/dist/generated/client/models.d.ts +15 -12
- package/package.json +1 -1
- package/prisma/schema.prisma +541 -267
|
@@ -59,22 +59,25 @@ export const ModelName = {
|
|
|
59
59
|
PropertyMedia: 'PropertyMedia',
|
|
60
60
|
PropertyDocument: 'PropertyDocument',
|
|
61
61
|
Amenity: 'Amenity',
|
|
62
|
+
PropertyVariant: 'PropertyVariant',
|
|
63
|
+
PropertyVariantAmenity: 'PropertyVariantAmenity',
|
|
64
|
+
PropertyVariantMedia: 'PropertyVariantMedia',
|
|
65
|
+
PropertyUnit: 'PropertyUnit',
|
|
62
66
|
PropertyAmenity: 'PropertyAmenity',
|
|
63
|
-
Mortgage: 'Mortgage',
|
|
64
|
-
MortgageType: 'MortgageType',
|
|
65
|
-
MortgageDocument: 'MortgageDocument',
|
|
66
|
-
MortgageStep: 'MortgageStep',
|
|
67
|
-
MortgageDownpaymentPlan: 'MortgageDownpaymentPlan',
|
|
68
|
-
MortgageDownpaymentInstallment: 'MortgageDownpaymentInstallment',
|
|
69
|
-
MortgageDownpaymentPayment: 'MortgageDownpaymentPayment',
|
|
70
|
-
MortgageTransition: 'MortgageTransition',
|
|
71
|
-
MortgageTransitionEvent: 'MortgageTransitionEvent',
|
|
72
67
|
PaymentPlan: 'PaymentPlan',
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
68
|
+
PropertyPaymentMethod: 'PropertyPaymentMethod',
|
|
69
|
+
PropertyPaymentMethodLink: 'PropertyPaymentMethodLink',
|
|
70
|
+
PropertyPaymentMethodPhase: 'PropertyPaymentMethodPhase',
|
|
76
71
|
Contract: 'Contract',
|
|
77
|
-
|
|
72
|
+
ContractPhase: 'ContractPhase',
|
|
73
|
+
ContractPhaseStep: 'ContractPhaseStep',
|
|
74
|
+
ContractPhaseStepApproval: 'ContractPhaseStepApproval',
|
|
75
|
+
ContractInstallment: 'ContractInstallment',
|
|
76
|
+
ContractPayment: 'ContractPayment',
|
|
77
|
+
ContractDocument: 'ContractDocument',
|
|
78
|
+
ContractTransition: 'ContractTransition',
|
|
79
|
+
ContractEvent: 'ContractEvent',
|
|
80
|
+
DomainEvent: 'DomainEvent'
|
|
78
81
|
};
|
|
79
82
|
/*
|
|
80
83
|
* Enums
|
|
@@ -233,13 +236,8 @@ export const PropertyScalarFieldEnum = {
|
|
|
233
236
|
district: 'district',
|
|
234
237
|
zipCode: 'zipCode',
|
|
235
238
|
streetAddress: 'streetAddress',
|
|
236
|
-
nBedrooms: 'nBedrooms',
|
|
237
|
-
nBathrooms: 'nBathrooms',
|
|
238
|
-
nParkingSpots: 'nParkingSpots',
|
|
239
|
-
price: 'price',
|
|
240
239
|
longitude: 'longitude',
|
|
241
240
|
latitude: 'latitude',
|
|
242
|
-
area: 'area',
|
|
243
241
|
status: 'status',
|
|
244
242
|
description: 'description',
|
|
245
243
|
displayImageId: 'displayImageId',
|
|
@@ -270,138 +268,200 @@ export const PropertyDocumentScalarFieldEnum = {
|
|
|
270
268
|
export const AmenityScalarFieldEnum = {
|
|
271
269
|
id: 'id',
|
|
272
270
|
name: 'name',
|
|
271
|
+
category: 'category',
|
|
272
|
+
icon: 'icon',
|
|
273
273
|
createdAt: 'createdAt',
|
|
274
274
|
updatedAt: 'updatedAt'
|
|
275
275
|
};
|
|
276
|
-
export const
|
|
276
|
+
export const PropertyVariantScalarFieldEnum = {
|
|
277
|
+
id: 'id',
|
|
277
278
|
propertyId: 'propertyId',
|
|
279
|
+
name: 'name',
|
|
280
|
+
description: 'description',
|
|
281
|
+
nBedrooms: 'nBedrooms',
|
|
282
|
+
nBathrooms: 'nBathrooms',
|
|
283
|
+
nParkingSpots: 'nParkingSpots',
|
|
284
|
+
area: 'area',
|
|
285
|
+
price: 'price',
|
|
286
|
+
pricePerSqm: 'pricePerSqm',
|
|
287
|
+
totalUnits: 'totalUnits',
|
|
288
|
+
availableUnits: 'availableUnits',
|
|
289
|
+
reservedUnits: 'reservedUnits',
|
|
290
|
+
soldUnits: 'soldUnits',
|
|
291
|
+
status: 'status',
|
|
292
|
+
isActive: 'isActive',
|
|
293
|
+
createdAt: 'createdAt',
|
|
294
|
+
updatedAt: 'updatedAt'
|
|
295
|
+
};
|
|
296
|
+
export const PropertyVariantAmenityScalarFieldEnum = {
|
|
297
|
+
variantId: 'variantId',
|
|
278
298
|
amenityId: 'amenityId',
|
|
279
299
|
createdAt: 'createdAt'
|
|
280
300
|
};
|
|
281
|
-
export const
|
|
301
|
+
export const PropertyVariantMediaScalarFieldEnum = {
|
|
282
302
|
id: 'id',
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
303
|
+
variantId: 'variantId',
|
|
304
|
+
url: 'url',
|
|
305
|
+
type: 'type',
|
|
306
|
+
caption: 'caption',
|
|
307
|
+
order: 'order',
|
|
308
|
+
createdAt: 'createdAt',
|
|
309
|
+
updatedAt: 'updatedAt'
|
|
310
|
+
};
|
|
311
|
+
export const PropertyUnitScalarFieldEnum = {
|
|
312
|
+
id: 'id',
|
|
313
|
+
variantId: 'variantId',
|
|
314
|
+
unitNumber: 'unitNumber',
|
|
315
|
+
floorNumber: 'floorNumber',
|
|
316
|
+
blockName: 'blockName',
|
|
317
|
+
priceOverride: 'priceOverride',
|
|
318
|
+
areaOverride: 'areaOverride',
|
|
319
|
+
notes: 'notes',
|
|
293
320
|
status: 'status',
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
321
|
+
reservedAt: 'reservedAt',
|
|
322
|
+
reservedUntil: 'reservedUntil',
|
|
323
|
+
reservedById: 'reservedById',
|
|
324
|
+
ownerId: 'ownerId',
|
|
297
325
|
createdAt: 'createdAt',
|
|
298
326
|
updatedAt: 'updatedAt'
|
|
299
327
|
};
|
|
300
|
-
export const
|
|
328
|
+
export const PropertyAmenityScalarFieldEnum = {
|
|
329
|
+
propertyId: 'propertyId',
|
|
330
|
+
amenityId: 'amenityId',
|
|
331
|
+
createdAt: 'createdAt'
|
|
332
|
+
};
|
|
333
|
+
export const PaymentPlanScalarFieldEnum = {
|
|
301
334
|
id: 'id',
|
|
302
335
|
name: 'name',
|
|
303
336
|
description: 'description',
|
|
337
|
+
isActive: 'isActive',
|
|
338
|
+
paymentFrequency: 'paymentFrequency',
|
|
339
|
+
customFrequencyDays: 'customFrequencyDays',
|
|
340
|
+
numberOfInstallments: 'numberOfInstallments',
|
|
341
|
+
calculateInterestDaily: 'calculateInterestDaily',
|
|
342
|
+
gracePeriodDays: 'gracePeriodDays',
|
|
304
343
|
createdAt: 'createdAt',
|
|
305
344
|
updatedAt: 'updatedAt'
|
|
306
345
|
};
|
|
307
|
-
export const
|
|
346
|
+
export const PropertyPaymentMethodScalarFieldEnum = {
|
|
308
347
|
id: 'id',
|
|
309
|
-
mortgageId: 'mortgageId',
|
|
310
348
|
name: 'name',
|
|
311
|
-
|
|
312
|
-
|
|
349
|
+
description: 'description',
|
|
350
|
+
isActive: 'isActive',
|
|
351
|
+
allowEarlyPayoff: 'allowEarlyPayoff',
|
|
352
|
+
earlyPayoffPenaltyRate: 'earlyPayoffPenaltyRate',
|
|
353
|
+
autoActivatePhases: 'autoActivatePhases',
|
|
354
|
+
requiresManualApproval: 'requiresManualApproval',
|
|
313
355
|
createdAt: 'createdAt',
|
|
314
356
|
updatedAt: 'updatedAt'
|
|
315
357
|
};
|
|
316
|
-
export const
|
|
358
|
+
export const PropertyPaymentMethodLinkScalarFieldEnum = {
|
|
359
|
+
propertyId: 'propertyId',
|
|
360
|
+
paymentMethodId: 'paymentMethodId',
|
|
361
|
+
isDefault: 'isDefault',
|
|
362
|
+
isActive: 'isActive',
|
|
363
|
+
createdAt: 'createdAt'
|
|
364
|
+
};
|
|
365
|
+
export const PropertyPaymentMethodPhaseScalarFieldEnum = {
|
|
317
366
|
id: 'id',
|
|
318
|
-
|
|
367
|
+
paymentMethodId: 'paymentMethodId',
|
|
368
|
+
paymentPlanId: 'paymentPlanId',
|
|
319
369
|
name: 'name',
|
|
320
370
|
description: 'description',
|
|
371
|
+
phaseCategory: 'phaseCategory',
|
|
372
|
+
phaseType: 'phaseType',
|
|
321
373
|
order: 'order',
|
|
322
|
-
|
|
323
|
-
|
|
374
|
+
interestRate: 'interestRate',
|
|
375
|
+
percentOfPrice: 'percentOfPrice',
|
|
376
|
+
requiresPreviousPhaseCompletion: 'requiresPreviousPhaseCompletion',
|
|
377
|
+
minimumCompletionPercentage: 'minimumCompletionPercentage',
|
|
378
|
+
requiredDocumentTypes: 'requiredDocumentTypes',
|
|
379
|
+
stepDefinitions: 'stepDefinitions',
|
|
324
380
|
createdAt: 'createdAt',
|
|
325
381
|
updatedAt: 'updatedAt'
|
|
326
382
|
};
|
|
327
|
-
export const
|
|
383
|
+
export const ContractScalarFieldEnum = {
|
|
328
384
|
id: 'id',
|
|
385
|
+
propertyUnitId: 'propertyUnitId',
|
|
386
|
+
buyerId: 'buyerId',
|
|
387
|
+
sellerId: 'sellerId',
|
|
388
|
+
paymentMethodId: 'paymentMethodId',
|
|
389
|
+
contractNumber: 'contractNumber',
|
|
390
|
+
title: 'title',
|
|
391
|
+
description: 'description',
|
|
392
|
+
contractType: 'contractType',
|
|
329
393
|
totalAmount: 'totalAmount',
|
|
330
|
-
|
|
394
|
+
downPayment: 'downPayment',
|
|
395
|
+
downPaymentPaid: 'downPaymentPaid',
|
|
396
|
+
principal: 'principal',
|
|
397
|
+
interestRate: 'interestRate',
|
|
398
|
+
termMonths: 'termMonths',
|
|
399
|
+
periodicPayment: 'periodicPayment',
|
|
400
|
+
totalPaidToDate: 'totalPaidToDate',
|
|
401
|
+
totalInterestPaid: 'totalInterestPaid',
|
|
331
402
|
status: 'status',
|
|
403
|
+
state: 'state',
|
|
404
|
+
currentPhaseId: 'currentPhaseId',
|
|
405
|
+
nextPaymentDueDate: 'nextPaymentDueDate',
|
|
406
|
+
lastReminderSentAt: 'lastReminderSentAt',
|
|
332
407
|
startDate: 'startDate',
|
|
333
408
|
endDate: 'endDate',
|
|
409
|
+
signedAt: 'signedAt',
|
|
410
|
+
terminatedAt: 'terminatedAt',
|
|
334
411
|
createdAt: 'createdAt',
|
|
335
412
|
updatedAt: 'updatedAt'
|
|
336
413
|
};
|
|
337
|
-
export const
|
|
338
|
-
id: 'id',
|
|
339
|
-
planId: 'planId',
|
|
340
|
-
amount: 'amount',
|
|
341
|
-
dueDate: 'dueDate',
|
|
342
|
-
isPaid: 'isPaid',
|
|
343
|
-
paidDate: 'paidDate',
|
|
344
|
-
createdAt: 'createdAt',
|
|
345
|
-
updatedAt: 'updatedAt'
|
|
346
|
-
};
|
|
347
|
-
export const MortgageDownpaymentPaymentScalarFieldEnum = {
|
|
348
|
-
id: 'id',
|
|
349
|
-
planId: 'planId',
|
|
350
|
-
amount: 'amount',
|
|
351
|
-
paymentMethod: 'paymentMethod',
|
|
352
|
-
reference: 'reference',
|
|
353
|
-
status: 'status',
|
|
354
|
-
createdAt: 'createdAt',
|
|
355
|
-
updatedAt: 'updatedAt'
|
|
356
|
-
};
|
|
357
|
-
export const MortgageTransitionScalarFieldEnum = {
|
|
358
|
-
id: 'id',
|
|
359
|
-
mortgageId: 'mortgageId',
|
|
360
|
-
fromState: 'fromState',
|
|
361
|
-
toState: 'toState',
|
|
362
|
-
trigger: 'trigger',
|
|
363
|
-
metadata: 'metadata',
|
|
364
|
-
transitionedAt: 'transitionedAt'
|
|
365
|
-
};
|
|
366
|
-
export const MortgageTransitionEventScalarFieldEnum = {
|
|
367
|
-
id: 'id',
|
|
368
|
-
mortgageId: 'mortgageId',
|
|
369
|
-
event: 'event',
|
|
370
|
-
data: 'data',
|
|
371
|
-
createdAt: 'createdAt'
|
|
372
|
-
};
|
|
373
|
-
export const PaymentPlanScalarFieldEnum = {
|
|
414
|
+
export const ContractPhaseScalarFieldEnum = {
|
|
374
415
|
id: 'id',
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
planType: 'planType',
|
|
416
|
+
contractId: 'contractId',
|
|
417
|
+
paymentPlanId: 'paymentPlanId',
|
|
378
418
|
name: 'name',
|
|
379
419
|
description: 'description',
|
|
420
|
+
phaseCategory: 'phaseCategory',
|
|
421
|
+
phaseType: 'phaseType',
|
|
422
|
+
order: 'order',
|
|
423
|
+
status: 'status',
|
|
380
424
|
totalAmount: 'totalAmount',
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
principalAmount: 'principalAmount',
|
|
425
|
+
paidAmount: 'paidAmount',
|
|
426
|
+
remainingAmount: 'remainingAmount',
|
|
384
427
|
interestRate: 'interestRate',
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
428
|
+
dueDate: 'dueDate',
|
|
429
|
+
startDate: 'startDate',
|
|
430
|
+
endDate: 'endDate',
|
|
431
|
+
activatedAt: 'activatedAt',
|
|
432
|
+
completedAt: 'completedAt',
|
|
433
|
+
requiresPreviousPhaseCompletion: 'requiresPreviousPhaseCompletion',
|
|
434
|
+
minimumCompletionPercentage: 'minimumCompletionPercentage',
|
|
388
435
|
createdAt: 'createdAt',
|
|
389
436
|
updatedAt: 'updatedAt'
|
|
390
437
|
};
|
|
391
|
-
export const
|
|
438
|
+
export const ContractPhaseStepScalarFieldEnum = {
|
|
392
439
|
id: 'id',
|
|
393
|
-
|
|
440
|
+
phaseId: 'phaseId',
|
|
394
441
|
name: 'name',
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
442
|
+
description: 'description',
|
|
443
|
+
stepType: 'stepType',
|
|
444
|
+
order: 'order',
|
|
445
|
+
status: 'status',
|
|
446
|
+
assigneeId: 'assigneeId',
|
|
447
|
+
requiredDocumentTypes: 'requiredDocumentTypes',
|
|
448
|
+
dueDate: 'dueDate',
|
|
449
|
+
completedAt: 'completedAt',
|
|
399
450
|
createdAt: 'createdAt',
|
|
400
451
|
updatedAt: 'updatedAt'
|
|
401
452
|
};
|
|
402
|
-
export const
|
|
453
|
+
export const ContractPhaseStepApprovalScalarFieldEnum = {
|
|
403
454
|
id: 'id',
|
|
404
|
-
|
|
455
|
+
stepId: 'stepId',
|
|
456
|
+
approverId: 'approverId',
|
|
457
|
+
decision: 'decision',
|
|
458
|
+
comment: 'comment',
|
|
459
|
+
decidedAt: 'decidedAt',
|
|
460
|
+
createdAt: 'createdAt'
|
|
461
|
+
};
|
|
462
|
+
export const ContractInstallmentScalarFieldEnum = {
|
|
463
|
+
id: 'id',
|
|
464
|
+
phaseId: 'phaseId',
|
|
405
465
|
installmentNumber: 'installmentNumber',
|
|
406
466
|
amount: 'amount',
|
|
407
467
|
principalAmount: 'principalAmount',
|
|
@@ -411,13 +471,16 @@ export const PaymentInstallmentScalarFieldEnum = {
|
|
|
411
471
|
paidAmount: 'paidAmount',
|
|
412
472
|
paidDate: 'paidDate',
|
|
413
473
|
lateFee: 'lateFee',
|
|
474
|
+
lateFeeWaived: 'lateFeeWaived',
|
|
475
|
+
gracePeriodDays: 'gracePeriodDays',
|
|
476
|
+
gracePeriodEndDate: 'gracePeriodEndDate',
|
|
414
477
|
createdAt: 'createdAt',
|
|
415
478
|
updatedAt: 'updatedAt'
|
|
416
479
|
};
|
|
417
|
-
export const
|
|
480
|
+
export const ContractPaymentScalarFieldEnum = {
|
|
418
481
|
id: 'id',
|
|
419
|
-
|
|
420
|
-
|
|
482
|
+
contractId: 'contractId',
|
|
483
|
+
phaseId: 'phaseId',
|
|
421
484
|
installmentId: 'installmentId',
|
|
422
485
|
payerId: 'payerId',
|
|
423
486
|
amount: 'amount',
|
|
@@ -432,30 +495,51 @@ export const PaymentScalarFieldEnum = {
|
|
|
432
495
|
createdAt: 'createdAt',
|
|
433
496
|
updatedAt: 'updatedAt'
|
|
434
497
|
};
|
|
435
|
-
export const
|
|
498
|
+
export const ContractDocumentScalarFieldEnum = {
|
|
436
499
|
id: 'id',
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
description: 'description',
|
|
500
|
+
contractId: 'contractId',
|
|
501
|
+
phaseId: 'phaseId',
|
|
502
|
+
stepId: 'stepId',
|
|
503
|
+
name: 'name',
|
|
504
|
+
url: 'url',
|
|
505
|
+
type: 'type',
|
|
506
|
+
uploadedById: 'uploadedById',
|
|
445
507
|
status: 'status',
|
|
446
|
-
startDate: 'startDate',
|
|
447
|
-
endDate: 'endDate',
|
|
448
|
-
signedAt: 'signedAt',
|
|
449
|
-
terminatedAt: 'terminatedAt',
|
|
450
508
|
createdAt: 'createdAt',
|
|
451
509
|
updatedAt: 'updatedAt'
|
|
452
510
|
};
|
|
453
|
-
export const
|
|
511
|
+
export const ContractTransitionScalarFieldEnum = {
|
|
454
512
|
id: 'id',
|
|
455
513
|
contractId: 'contractId',
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
514
|
+
fromState: 'fromState',
|
|
515
|
+
toState: 'toState',
|
|
516
|
+
trigger: 'trigger',
|
|
517
|
+
metadata: 'metadata',
|
|
518
|
+
transitionedAt: 'transitionedAt'
|
|
519
|
+
};
|
|
520
|
+
export const ContractEventScalarFieldEnum = {
|
|
521
|
+
id: 'id',
|
|
522
|
+
contractId: 'contractId',
|
|
523
|
+
event: 'event',
|
|
524
|
+
data: 'data',
|
|
525
|
+
createdAt: 'createdAt'
|
|
526
|
+
};
|
|
527
|
+
export const DomainEventScalarFieldEnum = {
|
|
528
|
+
id: 'id',
|
|
529
|
+
eventType: 'eventType',
|
|
530
|
+
aggregateType: 'aggregateType',
|
|
531
|
+
aggregateId: 'aggregateId',
|
|
532
|
+
queueName: 'queueName',
|
|
533
|
+
payload: 'payload',
|
|
534
|
+
occurredAt: 'occurredAt',
|
|
535
|
+
actorId: 'actorId',
|
|
536
|
+
actorRole: 'actorRole',
|
|
537
|
+
status: 'status',
|
|
538
|
+
processedAt: 'processedAt',
|
|
539
|
+
sentAt: 'sentAt',
|
|
540
|
+
failureCount: 'failureCount',
|
|
541
|
+
lastError: 'lastError',
|
|
542
|
+
nextRetryAt: 'nextRetryAt',
|
|
459
543
|
createdAt: 'createdAt',
|
|
460
544
|
updatedAt: 'updatedAt'
|
|
461
545
|
};
|
|
@@ -571,9 +655,6 @@ export const PropertyOrderByRelevanceFieldEnum = {
|
|
|
571
655
|
district: 'district',
|
|
572
656
|
zipCode: 'zipCode',
|
|
573
657
|
streetAddress: 'streetAddress',
|
|
574
|
-
nBedrooms: 'nBedrooms',
|
|
575
|
-
nBathrooms: 'nBathrooms',
|
|
576
|
-
nParkingSpots: 'nParkingSpots',
|
|
577
658
|
status: 'status',
|
|
578
659
|
description: 'description',
|
|
579
660
|
displayImageId: 'displayImageId'
|
|
@@ -594,94 +675,118 @@ export const PropertyDocumentOrderByRelevanceFieldEnum = {
|
|
|
594
675
|
};
|
|
595
676
|
export const AmenityOrderByRelevanceFieldEnum = {
|
|
596
677
|
id: 'id',
|
|
597
|
-
name: 'name'
|
|
678
|
+
name: 'name',
|
|
679
|
+
category: 'category',
|
|
680
|
+
icon: 'icon'
|
|
598
681
|
};
|
|
599
|
-
export const
|
|
682
|
+
export const PropertyVariantOrderByRelevanceFieldEnum = {
|
|
683
|
+
id: 'id',
|
|
600
684
|
propertyId: 'propertyId',
|
|
685
|
+
name: 'name',
|
|
686
|
+
description: 'description',
|
|
687
|
+
status: 'status'
|
|
688
|
+
};
|
|
689
|
+
export const PropertyVariantAmenityOrderByRelevanceFieldEnum = {
|
|
690
|
+
variantId: 'variantId',
|
|
601
691
|
amenityId: 'amenityId'
|
|
602
692
|
};
|
|
603
|
-
export const
|
|
693
|
+
export const PropertyVariantMediaOrderByRelevanceFieldEnum = {
|
|
604
694
|
id: 'id',
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
status: 'status',
|
|
610
|
-
state: 'state',
|
|
611
|
-
stateMetadata: 'stateMetadata'
|
|
695
|
+
variantId: 'variantId',
|
|
696
|
+
url: 'url',
|
|
697
|
+
type: 'type',
|
|
698
|
+
caption: 'caption'
|
|
612
699
|
};
|
|
613
|
-
export const
|
|
700
|
+
export const PropertyUnitOrderByRelevanceFieldEnum = {
|
|
614
701
|
id: 'id',
|
|
615
|
-
|
|
616
|
-
|
|
702
|
+
variantId: 'variantId',
|
|
703
|
+
unitNumber: 'unitNumber',
|
|
704
|
+
blockName: 'blockName',
|
|
705
|
+
notes: 'notes',
|
|
706
|
+
status: 'status',
|
|
707
|
+
reservedById: 'reservedById',
|
|
708
|
+
ownerId: 'ownerId'
|
|
709
|
+
};
|
|
710
|
+
export const PropertyAmenityOrderByRelevanceFieldEnum = {
|
|
711
|
+
propertyId: 'propertyId',
|
|
712
|
+
amenityId: 'amenityId'
|
|
617
713
|
};
|
|
618
|
-
export const
|
|
714
|
+
export const PaymentPlanOrderByRelevanceFieldEnum = {
|
|
619
715
|
id: 'id',
|
|
620
|
-
mortgageId: 'mortgageId',
|
|
621
716
|
name: 'name',
|
|
622
|
-
|
|
623
|
-
|
|
717
|
+
description: 'description',
|
|
718
|
+
paymentFrequency: 'paymentFrequency'
|
|
624
719
|
};
|
|
625
|
-
export const
|
|
720
|
+
export const PropertyPaymentMethodOrderByRelevanceFieldEnum = {
|
|
626
721
|
id: 'id',
|
|
627
|
-
mortgageId: 'mortgageId',
|
|
628
722
|
name: 'name',
|
|
629
723
|
description: 'description'
|
|
630
724
|
};
|
|
631
|
-
export const
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
};
|
|
635
|
-
export const MortgageDownpaymentInstallmentOrderByRelevanceFieldEnum = {
|
|
636
|
-
id: 'id',
|
|
637
|
-
planId: 'planId'
|
|
725
|
+
export const PropertyPaymentMethodLinkOrderByRelevanceFieldEnum = {
|
|
726
|
+
propertyId: 'propertyId',
|
|
727
|
+
paymentMethodId: 'paymentMethodId'
|
|
638
728
|
};
|
|
639
|
-
export const
|
|
729
|
+
export const PropertyPaymentMethodPhaseOrderByRelevanceFieldEnum = {
|
|
640
730
|
id: 'id',
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
731
|
+
paymentMethodId: 'paymentMethodId',
|
|
732
|
+
paymentPlanId: 'paymentPlanId',
|
|
733
|
+
name: 'name',
|
|
734
|
+
description: 'description',
|
|
735
|
+
phaseCategory: 'phaseCategory',
|
|
736
|
+
phaseType: 'phaseType',
|
|
737
|
+
requiredDocumentTypes: 'requiredDocumentTypes',
|
|
738
|
+
stepDefinitions: 'stepDefinitions'
|
|
645
739
|
};
|
|
646
|
-
export const
|
|
740
|
+
export const ContractOrderByRelevanceFieldEnum = {
|
|
647
741
|
id: 'id',
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
742
|
+
propertyUnitId: 'propertyUnitId',
|
|
743
|
+
buyerId: 'buyerId',
|
|
744
|
+
sellerId: 'sellerId',
|
|
745
|
+
paymentMethodId: 'paymentMethodId',
|
|
746
|
+
contractNumber: 'contractNumber',
|
|
747
|
+
title: 'title',
|
|
748
|
+
description: 'description',
|
|
749
|
+
contractType: 'contractType',
|
|
750
|
+
status: 'status',
|
|
751
|
+
state: 'state',
|
|
752
|
+
currentPhaseId: 'currentPhaseId'
|
|
653
753
|
};
|
|
654
|
-
export const
|
|
754
|
+
export const ContractPhaseOrderByRelevanceFieldEnum = {
|
|
655
755
|
id: 'id',
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
756
|
+
contractId: 'contractId',
|
|
757
|
+
paymentPlanId: 'paymentPlanId',
|
|
758
|
+
name: 'name',
|
|
759
|
+
description: 'description',
|
|
760
|
+
phaseCategory: 'phaseCategory',
|
|
761
|
+
phaseType: 'phaseType',
|
|
762
|
+
status: 'status'
|
|
659
763
|
};
|
|
660
|
-
export const
|
|
764
|
+
export const ContractPhaseStepOrderByRelevanceFieldEnum = {
|
|
661
765
|
id: 'id',
|
|
662
|
-
|
|
663
|
-
buyerId: 'buyerId',
|
|
664
|
-
planType: 'planType',
|
|
766
|
+
phaseId: 'phaseId',
|
|
665
767
|
name: 'name',
|
|
666
768
|
description: 'description',
|
|
667
|
-
|
|
668
|
-
|
|
769
|
+
stepType: 'stepType',
|
|
770
|
+
status: 'status',
|
|
771
|
+
assigneeId: 'assigneeId',
|
|
772
|
+
requiredDocumentTypes: 'requiredDocumentTypes'
|
|
669
773
|
};
|
|
670
|
-
export const
|
|
774
|
+
export const ContractPhaseStepApprovalOrderByRelevanceFieldEnum = {
|
|
671
775
|
id: 'id',
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
776
|
+
stepId: 'stepId',
|
|
777
|
+
approverId: 'approverId',
|
|
778
|
+
decision: 'decision',
|
|
779
|
+
comment: 'comment'
|
|
675
780
|
};
|
|
676
|
-
export const
|
|
781
|
+
export const ContractInstallmentOrderByRelevanceFieldEnum = {
|
|
677
782
|
id: 'id',
|
|
678
|
-
|
|
783
|
+
phaseId: 'phaseId',
|
|
679
784
|
status: 'status'
|
|
680
785
|
};
|
|
681
|
-
export const
|
|
786
|
+
export const ContractPaymentOrderByRelevanceFieldEnum = {
|
|
682
787
|
id: 'id',
|
|
683
|
-
|
|
684
|
-
|
|
788
|
+
contractId: 'contractId',
|
|
789
|
+
phaseId: 'phaseId',
|
|
685
790
|
installmentId: 'installmentId',
|
|
686
791
|
payerId: 'payerId',
|
|
687
792
|
paymentMethod: 'paymentMethod',
|
|
@@ -689,22 +794,40 @@ export const PaymentOrderByRelevanceFieldEnum = {
|
|
|
689
794
|
reference: 'reference',
|
|
690
795
|
gatewayResponse: 'gatewayResponse'
|
|
691
796
|
};
|
|
692
|
-
export const ContractOrderByRelevanceFieldEnum = {
|
|
693
|
-
id: 'id',
|
|
694
|
-
propertyId: 'propertyId',
|
|
695
|
-
paymentPlanId: 'paymentPlanId',
|
|
696
|
-
buyerId: 'buyerId',
|
|
697
|
-
sellerId: 'sellerId',
|
|
698
|
-
contractType: 'contractType',
|
|
699
|
-
contractNumber: 'contractNumber',
|
|
700
|
-
title: 'title',
|
|
701
|
-
description: 'description',
|
|
702
|
-
status: 'status'
|
|
703
|
-
};
|
|
704
797
|
export const ContractDocumentOrderByRelevanceFieldEnum = {
|
|
705
798
|
id: 'id',
|
|
706
799
|
contractId: 'contractId',
|
|
800
|
+
phaseId: 'phaseId',
|
|
801
|
+
stepId: 'stepId',
|
|
707
802
|
name: 'name',
|
|
708
803
|
url: 'url',
|
|
709
|
-
type: 'type'
|
|
804
|
+
type: 'type',
|
|
805
|
+
uploadedById: 'uploadedById',
|
|
806
|
+
status: 'status'
|
|
807
|
+
};
|
|
808
|
+
export const ContractTransitionOrderByRelevanceFieldEnum = {
|
|
809
|
+
id: 'id',
|
|
810
|
+
contractId: 'contractId',
|
|
811
|
+
fromState: 'fromState',
|
|
812
|
+
toState: 'toState',
|
|
813
|
+
trigger: 'trigger',
|
|
814
|
+
metadata: 'metadata'
|
|
815
|
+
};
|
|
816
|
+
export const ContractEventOrderByRelevanceFieldEnum = {
|
|
817
|
+
id: 'id',
|
|
818
|
+
contractId: 'contractId',
|
|
819
|
+
event: 'event',
|
|
820
|
+
data: 'data'
|
|
821
|
+
};
|
|
822
|
+
export const DomainEventOrderByRelevanceFieldEnum = {
|
|
823
|
+
id: 'id',
|
|
824
|
+
eventType: 'eventType',
|
|
825
|
+
aggregateType: 'aggregateType',
|
|
826
|
+
aggregateId: 'aggregateId',
|
|
827
|
+
queueName: 'queueName',
|
|
828
|
+
payload: 'payload',
|
|
829
|
+
actorId: 'actorId',
|
|
830
|
+
actorRole: 'actorRole',
|
|
831
|
+
status: 'status',
|
|
832
|
+
lastError: 'lastError'
|
|
710
833
|
};
|