@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
|
@@ -87,22 +87,25 @@ export const ModelName = {
|
|
|
87
87
|
PropertyMedia: 'PropertyMedia',
|
|
88
88
|
PropertyDocument: 'PropertyDocument',
|
|
89
89
|
Amenity: 'Amenity',
|
|
90
|
+
PropertyVariant: 'PropertyVariant',
|
|
91
|
+
PropertyVariantAmenity: 'PropertyVariantAmenity',
|
|
92
|
+
PropertyVariantMedia: 'PropertyVariantMedia',
|
|
93
|
+
PropertyUnit: 'PropertyUnit',
|
|
90
94
|
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
95
|
PaymentPlan: 'PaymentPlan',
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
96
|
+
PropertyPaymentMethod: 'PropertyPaymentMethod',
|
|
97
|
+
PropertyPaymentMethodLink: 'PropertyPaymentMethodLink',
|
|
98
|
+
PropertyPaymentMethodPhase: 'PropertyPaymentMethodPhase',
|
|
104
99
|
Contract: 'Contract',
|
|
105
|
-
|
|
100
|
+
ContractPhase: 'ContractPhase',
|
|
101
|
+
ContractPhaseStep: 'ContractPhaseStep',
|
|
102
|
+
ContractPhaseStepApproval: 'ContractPhaseStepApproval',
|
|
103
|
+
ContractInstallment: 'ContractInstallment',
|
|
104
|
+
ContractPayment: 'ContractPayment',
|
|
105
|
+
ContractDocument: 'ContractDocument',
|
|
106
|
+
ContractTransition: 'ContractTransition',
|
|
107
|
+
ContractEvent: 'ContractEvent',
|
|
108
|
+
DomainEvent: 'DomainEvent'
|
|
106
109
|
};
|
|
107
110
|
/**
|
|
108
111
|
* Enums
|
|
@@ -261,13 +264,8 @@ export const PropertyScalarFieldEnum = {
|
|
|
261
264
|
district: 'district',
|
|
262
265
|
zipCode: 'zipCode',
|
|
263
266
|
streetAddress: 'streetAddress',
|
|
264
|
-
nBedrooms: 'nBedrooms',
|
|
265
|
-
nBathrooms: 'nBathrooms',
|
|
266
|
-
nParkingSpots: 'nParkingSpots',
|
|
267
|
-
price: 'price',
|
|
268
267
|
longitude: 'longitude',
|
|
269
268
|
latitude: 'latitude',
|
|
270
|
-
area: 'area',
|
|
271
269
|
status: 'status',
|
|
272
270
|
description: 'description',
|
|
273
271
|
displayImageId: 'displayImageId',
|
|
@@ -298,138 +296,200 @@ export const PropertyDocumentScalarFieldEnum = {
|
|
|
298
296
|
export const AmenityScalarFieldEnum = {
|
|
299
297
|
id: 'id',
|
|
300
298
|
name: 'name',
|
|
299
|
+
category: 'category',
|
|
300
|
+
icon: 'icon',
|
|
301
301
|
createdAt: 'createdAt',
|
|
302
302
|
updatedAt: 'updatedAt'
|
|
303
303
|
};
|
|
304
|
-
export const
|
|
304
|
+
export const PropertyVariantScalarFieldEnum = {
|
|
305
|
+
id: 'id',
|
|
305
306
|
propertyId: 'propertyId',
|
|
307
|
+
name: 'name',
|
|
308
|
+
description: 'description',
|
|
309
|
+
nBedrooms: 'nBedrooms',
|
|
310
|
+
nBathrooms: 'nBathrooms',
|
|
311
|
+
nParkingSpots: 'nParkingSpots',
|
|
312
|
+
area: 'area',
|
|
313
|
+
price: 'price',
|
|
314
|
+
pricePerSqm: 'pricePerSqm',
|
|
315
|
+
totalUnits: 'totalUnits',
|
|
316
|
+
availableUnits: 'availableUnits',
|
|
317
|
+
reservedUnits: 'reservedUnits',
|
|
318
|
+
soldUnits: 'soldUnits',
|
|
319
|
+
status: 'status',
|
|
320
|
+
isActive: 'isActive',
|
|
321
|
+
createdAt: 'createdAt',
|
|
322
|
+
updatedAt: 'updatedAt'
|
|
323
|
+
};
|
|
324
|
+
export const PropertyVariantAmenityScalarFieldEnum = {
|
|
325
|
+
variantId: 'variantId',
|
|
306
326
|
amenityId: 'amenityId',
|
|
307
327
|
createdAt: 'createdAt'
|
|
308
328
|
};
|
|
309
|
-
export const
|
|
329
|
+
export const PropertyVariantMediaScalarFieldEnum = {
|
|
310
330
|
id: 'id',
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
331
|
+
variantId: 'variantId',
|
|
332
|
+
url: 'url',
|
|
333
|
+
type: 'type',
|
|
334
|
+
caption: 'caption',
|
|
335
|
+
order: 'order',
|
|
336
|
+
createdAt: 'createdAt',
|
|
337
|
+
updatedAt: 'updatedAt'
|
|
338
|
+
};
|
|
339
|
+
export const PropertyUnitScalarFieldEnum = {
|
|
340
|
+
id: 'id',
|
|
341
|
+
variantId: 'variantId',
|
|
342
|
+
unitNumber: 'unitNumber',
|
|
343
|
+
floorNumber: 'floorNumber',
|
|
344
|
+
blockName: 'blockName',
|
|
345
|
+
priceOverride: 'priceOverride',
|
|
346
|
+
areaOverride: 'areaOverride',
|
|
347
|
+
notes: 'notes',
|
|
321
348
|
status: 'status',
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
349
|
+
reservedAt: 'reservedAt',
|
|
350
|
+
reservedUntil: 'reservedUntil',
|
|
351
|
+
reservedById: 'reservedById',
|
|
352
|
+
ownerId: 'ownerId',
|
|
325
353
|
createdAt: 'createdAt',
|
|
326
354
|
updatedAt: 'updatedAt'
|
|
327
355
|
};
|
|
328
|
-
export const
|
|
356
|
+
export const PropertyAmenityScalarFieldEnum = {
|
|
357
|
+
propertyId: 'propertyId',
|
|
358
|
+
amenityId: 'amenityId',
|
|
359
|
+
createdAt: 'createdAt'
|
|
360
|
+
};
|
|
361
|
+
export const PaymentPlanScalarFieldEnum = {
|
|
329
362
|
id: 'id',
|
|
330
363
|
name: 'name',
|
|
331
364
|
description: 'description',
|
|
365
|
+
isActive: 'isActive',
|
|
366
|
+
paymentFrequency: 'paymentFrequency',
|
|
367
|
+
customFrequencyDays: 'customFrequencyDays',
|
|
368
|
+
numberOfInstallments: 'numberOfInstallments',
|
|
369
|
+
calculateInterestDaily: 'calculateInterestDaily',
|
|
370
|
+
gracePeriodDays: 'gracePeriodDays',
|
|
332
371
|
createdAt: 'createdAt',
|
|
333
372
|
updatedAt: 'updatedAt'
|
|
334
373
|
};
|
|
335
|
-
export const
|
|
374
|
+
export const PropertyPaymentMethodScalarFieldEnum = {
|
|
336
375
|
id: 'id',
|
|
337
|
-
mortgageId: 'mortgageId',
|
|
338
376
|
name: 'name',
|
|
339
|
-
|
|
340
|
-
|
|
377
|
+
description: 'description',
|
|
378
|
+
isActive: 'isActive',
|
|
379
|
+
allowEarlyPayoff: 'allowEarlyPayoff',
|
|
380
|
+
earlyPayoffPenaltyRate: 'earlyPayoffPenaltyRate',
|
|
381
|
+
autoActivatePhases: 'autoActivatePhases',
|
|
382
|
+
requiresManualApproval: 'requiresManualApproval',
|
|
341
383
|
createdAt: 'createdAt',
|
|
342
384
|
updatedAt: 'updatedAt'
|
|
343
385
|
};
|
|
344
|
-
export const
|
|
386
|
+
export const PropertyPaymentMethodLinkScalarFieldEnum = {
|
|
387
|
+
propertyId: 'propertyId',
|
|
388
|
+
paymentMethodId: 'paymentMethodId',
|
|
389
|
+
isDefault: 'isDefault',
|
|
390
|
+
isActive: 'isActive',
|
|
391
|
+
createdAt: 'createdAt'
|
|
392
|
+
};
|
|
393
|
+
export const PropertyPaymentMethodPhaseScalarFieldEnum = {
|
|
345
394
|
id: 'id',
|
|
346
|
-
|
|
395
|
+
paymentMethodId: 'paymentMethodId',
|
|
396
|
+
paymentPlanId: 'paymentPlanId',
|
|
347
397
|
name: 'name',
|
|
348
398
|
description: 'description',
|
|
399
|
+
phaseCategory: 'phaseCategory',
|
|
400
|
+
phaseType: 'phaseType',
|
|
349
401
|
order: 'order',
|
|
350
|
-
|
|
351
|
-
|
|
402
|
+
interestRate: 'interestRate',
|
|
403
|
+
percentOfPrice: 'percentOfPrice',
|
|
404
|
+
requiresPreviousPhaseCompletion: 'requiresPreviousPhaseCompletion',
|
|
405
|
+
minimumCompletionPercentage: 'minimumCompletionPercentage',
|
|
406
|
+
requiredDocumentTypes: 'requiredDocumentTypes',
|
|
407
|
+
stepDefinitions: 'stepDefinitions',
|
|
352
408
|
createdAt: 'createdAt',
|
|
353
409
|
updatedAt: 'updatedAt'
|
|
354
410
|
};
|
|
355
|
-
export const
|
|
411
|
+
export const ContractScalarFieldEnum = {
|
|
356
412
|
id: 'id',
|
|
413
|
+
propertyUnitId: 'propertyUnitId',
|
|
414
|
+
buyerId: 'buyerId',
|
|
415
|
+
sellerId: 'sellerId',
|
|
416
|
+
paymentMethodId: 'paymentMethodId',
|
|
417
|
+
contractNumber: 'contractNumber',
|
|
418
|
+
title: 'title',
|
|
419
|
+
description: 'description',
|
|
420
|
+
contractType: 'contractType',
|
|
357
421
|
totalAmount: 'totalAmount',
|
|
358
|
-
|
|
422
|
+
downPayment: 'downPayment',
|
|
423
|
+
downPaymentPaid: 'downPaymentPaid',
|
|
424
|
+
principal: 'principal',
|
|
425
|
+
interestRate: 'interestRate',
|
|
426
|
+
termMonths: 'termMonths',
|
|
427
|
+
periodicPayment: 'periodicPayment',
|
|
428
|
+
totalPaidToDate: 'totalPaidToDate',
|
|
429
|
+
totalInterestPaid: 'totalInterestPaid',
|
|
359
430
|
status: 'status',
|
|
431
|
+
state: 'state',
|
|
432
|
+
currentPhaseId: 'currentPhaseId',
|
|
433
|
+
nextPaymentDueDate: 'nextPaymentDueDate',
|
|
434
|
+
lastReminderSentAt: 'lastReminderSentAt',
|
|
360
435
|
startDate: 'startDate',
|
|
361
436
|
endDate: 'endDate',
|
|
437
|
+
signedAt: 'signedAt',
|
|
438
|
+
terminatedAt: 'terminatedAt',
|
|
362
439
|
createdAt: 'createdAt',
|
|
363
440
|
updatedAt: 'updatedAt'
|
|
364
441
|
};
|
|
365
|
-
export const
|
|
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 = {
|
|
442
|
+
export const ContractPhaseScalarFieldEnum = {
|
|
402
443
|
id: 'id',
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
planType: 'planType',
|
|
444
|
+
contractId: 'contractId',
|
|
445
|
+
paymentPlanId: 'paymentPlanId',
|
|
406
446
|
name: 'name',
|
|
407
447
|
description: 'description',
|
|
448
|
+
phaseCategory: 'phaseCategory',
|
|
449
|
+
phaseType: 'phaseType',
|
|
450
|
+
order: 'order',
|
|
451
|
+
status: 'status',
|
|
408
452
|
totalAmount: 'totalAmount',
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
principalAmount: 'principalAmount',
|
|
453
|
+
paidAmount: 'paidAmount',
|
|
454
|
+
remainingAmount: 'remainingAmount',
|
|
412
455
|
interestRate: 'interestRate',
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
456
|
+
dueDate: 'dueDate',
|
|
457
|
+
startDate: 'startDate',
|
|
458
|
+
endDate: 'endDate',
|
|
459
|
+
activatedAt: 'activatedAt',
|
|
460
|
+
completedAt: 'completedAt',
|
|
461
|
+
requiresPreviousPhaseCompletion: 'requiresPreviousPhaseCompletion',
|
|
462
|
+
minimumCompletionPercentage: 'minimumCompletionPercentage',
|
|
416
463
|
createdAt: 'createdAt',
|
|
417
464
|
updatedAt: 'updatedAt'
|
|
418
465
|
};
|
|
419
|
-
export const
|
|
466
|
+
export const ContractPhaseStepScalarFieldEnum = {
|
|
420
467
|
id: 'id',
|
|
421
|
-
|
|
468
|
+
phaseId: 'phaseId',
|
|
422
469
|
name: 'name',
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
470
|
+
description: 'description',
|
|
471
|
+
stepType: 'stepType',
|
|
472
|
+
order: 'order',
|
|
473
|
+
status: 'status',
|
|
474
|
+
assigneeId: 'assigneeId',
|
|
475
|
+
requiredDocumentTypes: 'requiredDocumentTypes',
|
|
476
|
+
dueDate: 'dueDate',
|
|
477
|
+
completedAt: 'completedAt',
|
|
427
478
|
createdAt: 'createdAt',
|
|
428
479
|
updatedAt: 'updatedAt'
|
|
429
480
|
};
|
|
430
|
-
export const
|
|
481
|
+
export const ContractPhaseStepApprovalScalarFieldEnum = {
|
|
431
482
|
id: 'id',
|
|
432
|
-
|
|
483
|
+
stepId: 'stepId',
|
|
484
|
+
approverId: 'approverId',
|
|
485
|
+
decision: 'decision',
|
|
486
|
+
comment: 'comment',
|
|
487
|
+
decidedAt: 'decidedAt',
|
|
488
|
+
createdAt: 'createdAt'
|
|
489
|
+
};
|
|
490
|
+
export const ContractInstallmentScalarFieldEnum = {
|
|
491
|
+
id: 'id',
|
|
492
|
+
phaseId: 'phaseId',
|
|
433
493
|
installmentNumber: 'installmentNumber',
|
|
434
494
|
amount: 'amount',
|
|
435
495
|
principalAmount: 'principalAmount',
|
|
@@ -439,13 +499,16 @@ export const PaymentInstallmentScalarFieldEnum = {
|
|
|
439
499
|
paidAmount: 'paidAmount',
|
|
440
500
|
paidDate: 'paidDate',
|
|
441
501
|
lateFee: 'lateFee',
|
|
502
|
+
lateFeeWaived: 'lateFeeWaived',
|
|
503
|
+
gracePeriodDays: 'gracePeriodDays',
|
|
504
|
+
gracePeriodEndDate: 'gracePeriodEndDate',
|
|
442
505
|
createdAt: 'createdAt',
|
|
443
506
|
updatedAt: 'updatedAt'
|
|
444
507
|
};
|
|
445
|
-
export const
|
|
508
|
+
export const ContractPaymentScalarFieldEnum = {
|
|
446
509
|
id: 'id',
|
|
447
|
-
|
|
448
|
-
|
|
510
|
+
contractId: 'contractId',
|
|
511
|
+
phaseId: 'phaseId',
|
|
449
512
|
installmentId: 'installmentId',
|
|
450
513
|
payerId: 'payerId',
|
|
451
514
|
amount: 'amount',
|
|
@@ -460,30 +523,51 @@ export const PaymentScalarFieldEnum = {
|
|
|
460
523
|
createdAt: 'createdAt',
|
|
461
524
|
updatedAt: 'updatedAt'
|
|
462
525
|
};
|
|
463
|
-
export const
|
|
526
|
+
export const ContractDocumentScalarFieldEnum = {
|
|
464
527
|
id: 'id',
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
description: 'description',
|
|
528
|
+
contractId: 'contractId',
|
|
529
|
+
phaseId: 'phaseId',
|
|
530
|
+
stepId: 'stepId',
|
|
531
|
+
name: 'name',
|
|
532
|
+
url: 'url',
|
|
533
|
+
type: 'type',
|
|
534
|
+
uploadedById: 'uploadedById',
|
|
473
535
|
status: 'status',
|
|
474
|
-
startDate: 'startDate',
|
|
475
|
-
endDate: 'endDate',
|
|
476
|
-
signedAt: 'signedAt',
|
|
477
|
-
terminatedAt: 'terminatedAt',
|
|
478
536
|
createdAt: 'createdAt',
|
|
479
537
|
updatedAt: 'updatedAt'
|
|
480
538
|
};
|
|
481
|
-
export const
|
|
539
|
+
export const ContractTransitionScalarFieldEnum = {
|
|
482
540
|
id: 'id',
|
|
483
541
|
contractId: 'contractId',
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
542
|
+
fromState: 'fromState',
|
|
543
|
+
toState: 'toState',
|
|
544
|
+
trigger: 'trigger',
|
|
545
|
+
metadata: 'metadata',
|
|
546
|
+
transitionedAt: 'transitionedAt'
|
|
547
|
+
};
|
|
548
|
+
export const ContractEventScalarFieldEnum = {
|
|
549
|
+
id: 'id',
|
|
550
|
+
contractId: 'contractId',
|
|
551
|
+
event: 'event',
|
|
552
|
+
data: 'data',
|
|
553
|
+
createdAt: 'createdAt'
|
|
554
|
+
};
|
|
555
|
+
export const DomainEventScalarFieldEnum = {
|
|
556
|
+
id: 'id',
|
|
557
|
+
eventType: 'eventType',
|
|
558
|
+
aggregateType: 'aggregateType',
|
|
559
|
+
aggregateId: 'aggregateId',
|
|
560
|
+
queueName: 'queueName',
|
|
561
|
+
payload: 'payload',
|
|
562
|
+
occurredAt: 'occurredAt',
|
|
563
|
+
actorId: 'actorId',
|
|
564
|
+
actorRole: 'actorRole',
|
|
565
|
+
status: 'status',
|
|
566
|
+
processedAt: 'processedAt',
|
|
567
|
+
sentAt: 'sentAt',
|
|
568
|
+
failureCount: 'failureCount',
|
|
569
|
+
lastError: 'lastError',
|
|
570
|
+
nextRetryAt: 'nextRetryAt',
|
|
487
571
|
createdAt: 'createdAt',
|
|
488
572
|
updatedAt: 'updatedAt'
|
|
489
573
|
};
|
|
@@ -599,9 +683,6 @@ export const PropertyOrderByRelevanceFieldEnum = {
|
|
|
599
683
|
district: 'district',
|
|
600
684
|
zipCode: 'zipCode',
|
|
601
685
|
streetAddress: 'streetAddress',
|
|
602
|
-
nBedrooms: 'nBedrooms',
|
|
603
|
-
nBathrooms: 'nBathrooms',
|
|
604
|
-
nParkingSpots: 'nParkingSpots',
|
|
605
686
|
status: 'status',
|
|
606
687
|
description: 'description',
|
|
607
688
|
displayImageId: 'displayImageId'
|
|
@@ -622,94 +703,118 @@ export const PropertyDocumentOrderByRelevanceFieldEnum = {
|
|
|
622
703
|
};
|
|
623
704
|
export const AmenityOrderByRelevanceFieldEnum = {
|
|
624
705
|
id: 'id',
|
|
625
|
-
name: 'name'
|
|
706
|
+
name: 'name',
|
|
707
|
+
category: 'category',
|
|
708
|
+
icon: 'icon'
|
|
626
709
|
};
|
|
627
|
-
export const
|
|
710
|
+
export const PropertyVariantOrderByRelevanceFieldEnum = {
|
|
711
|
+
id: 'id',
|
|
628
712
|
propertyId: 'propertyId',
|
|
713
|
+
name: 'name',
|
|
714
|
+
description: 'description',
|
|
715
|
+
status: 'status'
|
|
716
|
+
};
|
|
717
|
+
export const PropertyVariantAmenityOrderByRelevanceFieldEnum = {
|
|
718
|
+
variantId: 'variantId',
|
|
629
719
|
amenityId: 'amenityId'
|
|
630
720
|
};
|
|
631
|
-
export const
|
|
721
|
+
export const PropertyVariantMediaOrderByRelevanceFieldEnum = {
|
|
632
722
|
id: 'id',
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
status: 'status',
|
|
638
|
-
state: 'state',
|
|
639
|
-
stateMetadata: 'stateMetadata'
|
|
723
|
+
variantId: 'variantId',
|
|
724
|
+
url: 'url',
|
|
725
|
+
type: 'type',
|
|
726
|
+
caption: 'caption'
|
|
640
727
|
};
|
|
641
|
-
export const
|
|
728
|
+
export const PropertyUnitOrderByRelevanceFieldEnum = {
|
|
642
729
|
id: 'id',
|
|
643
|
-
|
|
644
|
-
|
|
730
|
+
variantId: 'variantId',
|
|
731
|
+
unitNumber: 'unitNumber',
|
|
732
|
+
blockName: 'blockName',
|
|
733
|
+
notes: 'notes',
|
|
734
|
+
status: 'status',
|
|
735
|
+
reservedById: 'reservedById',
|
|
736
|
+
ownerId: 'ownerId'
|
|
737
|
+
};
|
|
738
|
+
export const PropertyAmenityOrderByRelevanceFieldEnum = {
|
|
739
|
+
propertyId: 'propertyId',
|
|
740
|
+
amenityId: 'amenityId'
|
|
645
741
|
};
|
|
646
|
-
export const
|
|
742
|
+
export const PaymentPlanOrderByRelevanceFieldEnum = {
|
|
647
743
|
id: 'id',
|
|
648
|
-
mortgageId: 'mortgageId',
|
|
649
744
|
name: 'name',
|
|
650
|
-
|
|
651
|
-
|
|
745
|
+
description: 'description',
|
|
746
|
+
paymentFrequency: 'paymentFrequency'
|
|
652
747
|
};
|
|
653
|
-
export const
|
|
748
|
+
export const PropertyPaymentMethodOrderByRelevanceFieldEnum = {
|
|
654
749
|
id: 'id',
|
|
655
|
-
mortgageId: 'mortgageId',
|
|
656
750
|
name: 'name',
|
|
657
751
|
description: 'description'
|
|
658
752
|
};
|
|
659
|
-
export const
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
};
|
|
663
|
-
export const MortgageDownpaymentInstallmentOrderByRelevanceFieldEnum = {
|
|
664
|
-
id: 'id',
|
|
665
|
-
planId: 'planId'
|
|
753
|
+
export const PropertyPaymentMethodLinkOrderByRelevanceFieldEnum = {
|
|
754
|
+
propertyId: 'propertyId',
|
|
755
|
+
paymentMethodId: 'paymentMethodId'
|
|
666
756
|
};
|
|
667
|
-
export const
|
|
757
|
+
export const PropertyPaymentMethodPhaseOrderByRelevanceFieldEnum = {
|
|
668
758
|
id: 'id',
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
759
|
+
paymentMethodId: 'paymentMethodId',
|
|
760
|
+
paymentPlanId: 'paymentPlanId',
|
|
761
|
+
name: 'name',
|
|
762
|
+
description: 'description',
|
|
763
|
+
phaseCategory: 'phaseCategory',
|
|
764
|
+
phaseType: 'phaseType',
|
|
765
|
+
requiredDocumentTypes: 'requiredDocumentTypes',
|
|
766
|
+
stepDefinitions: 'stepDefinitions'
|
|
673
767
|
};
|
|
674
|
-
export const
|
|
768
|
+
export const ContractOrderByRelevanceFieldEnum = {
|
|
675
769
|
id: 'id',
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
770
|
+
propertyUnitId: 'propertyUnitId',
|
|
771
|
+
buyerId: 'buyerId',
|
|
772
|
+
sellerId: 'sellerId',
|
|
773
|
+
paymentMethodId: 'paymentMethodId',
|
|
774
|
+
contractNumber: 'contractNumber',
|
|
775
|
+
title: 'title',
|
|
776
|
+
description: 'description',
|
|
777
|
+
contractType: 'contractType',
|
|
778
|
+
status: 'status',
|
|
779
|
+
state: 'state',
|
|
780
|
+
currentPhaseId: 'currentPhaseId'
|
|
681
781
|
};
|
|
682
|
-
export const
|
|
782
|
+
export const ContractPhaseOrderByRelevanceFieldEnum = {
|
|
683
783
|
id: 'id',
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
784
|
+
contractId: 'contractId',
|
|
785
|
+
paymentPlanId: 'paymentPlanId',
|
|
786
|
+
name: 'name',
|
|
787
|
+
description: 'description',
|
|
788
|
+
phaseCategory: 'phaseCategory',
|
|
789
|
+
phaseType: 'phaseType',
|
|
790
|
+
status: 'status'
|
|
687
791
|
};
|
|
688
|
-
export const
|
|
792
|
+
export const ContractPhaseStepOrderByRelevanceFieldEnum = {
|
|
689
793
|
id: 'id',
|
|
690
|
-
|
|
691
|
-
buyerId: 'buyerId',
|
|
692
|
-
planType: 'planType',
|
|
794
|
+
phaseId: 'phaseId',
|
|
693
795
|
name: 'name',
|
|
694
796
|
description: 'description',
|
|
695
|
-
|
|
696
|
-
|
|
797
|
+
stepType: 'stepType',
|
|
798
|
+
status: 'status',
|
|
799
|
+
assigneeId: 'assigneeId',
|
|
800
|
+
requiredDocumentTypes: 'requiredDocumentTypes'
|
|
697
801
|
};
|
|
698
|
-
export const
|
|
802
|
+
export const ContractPhaseStepApprovalOrderByRelevanceFieldEnum = {
|
|
699
803
|
id: 'id',
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
804
|
+
stepId: 'stepId',
|
|
805
|
+
approverId: 'approverId',
|
|
806
|
+
decision: 'decision',
|
|
807
|
+
comment: 'comment'
|
|
703
808
|
};
|
|
704
|
-
export const
|
|
809
|
+
export const ContractInstallmentOrderByRelevanceFieldEnum = {
|
|
705
810
|
id: 'id',
|
|
706
|
-
|
|
811
|
+
phaseId: 'phaseId',
|
|
707
812
|
status: 'status'
|
|
708
813
|
};
|
|
709
|
-
export const
|
|
814
|
+
export const ContractPaymentOrderByRelevanceFieldEnum = {
|
|
710
815
|
id: 'id',
|
|
711
|
-
|
|
712
|
-
|
|
816
|
+
contractId: 'contractId',
|
|
817
|
+
phaseId: 'phaseId',
|
|
713
818
|
installmentId: 'installmentId',
|
|
714
819
|
payerId: 'payerId',
|
|
715
820
|
paymentMethod: 'paymentMethod',
|
|
@@ -717,23 +822,41 @@ export const PaymentOrderByRelevanceFieldEnum = {
|
|
|
717
822
|
reference: 'reference',
|
|
718
823
|
gatewayResponse: 'gatewayResponse'
|
|
719
824
|
};
|
|
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
825
|
export const ContractDocumentOrderByRelevanceFieldEnum = {
|
|
733
826
|
id: 'id',
|
|
734
827
|
contractId: 'contractId',
|
|
828
|
+
phaseId: 'phaseId',
|
|
829
|
+
stepId: 'stepId',
|
|
735
830
|
name: 'name',
|
|
736
831
|
url: 'url',
|
|
737
|
-
type: 'type'
|
|
832
|
+
type: 'type',
|
|
833
|
+
uploadedById: 'uploadedById',
|
|
834
|
+
status: 'status'
|
|
835
|
+
};
|
|
836
|
+
export const ContractTransitionOrderByRelevanceFieldEnum = {
|
|
837
|
+
id: 'id',
|
|
838
|
+
contractId: 'contractId',
|
|
839
|
+
fromState: 'fromState',
|
|
840
|
+
toState: 'toState',
|
|
841
|
+
trigger: 'trigger',
|
|
842
|
+
metadata: 'metadata'
|
|
843
|
+
};
|
|
844
|
+
export const ContractEventOrderByRelevanceFieldEnum = {
|
|
845
|
+
id: 'id',
|
|
846
|
+
contractId: 'contractId',
|
|
847
|
+
event: 'event',
|
|
848
|
+
data: 'data'
|
|
849
|
+
};
|
|
850
|
+
export const DomainEventOrderByRelevanceFieldEnum = {
|
|
851
|
+
id: 'id',
|
|
852
|
+
eventType: 'eventType',
|
|
853
|
+
aggregateType: 'aggregateType',
|
|
854
|
+
aggregateId: 'aggregateId',
|
|
855
|
+
queueName: 'queueName',
|
|
856
|
+
payload: 'payload',
|
|
857
|
+
actorId: 'actorId',
|
|
858
|
+
actorRole: 'actorRole',
|
|
859
|
+
status: 'status',
|
|
860
|
+
lastError: 'lastError'
|
|
738
861
|
};
|
|
739
862
|
export const defineExtension = runtime.Extensions.defineExtension;
|