@valentine-efagene/qshelter-common 2.0.99 → 2.0.100

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.
Files changed (39) hide show
  1. package/dist/generated/client/internal/class.js +2 -2
  2. package/dist/generated/client/internal/prismaNamespace.d.ts +56 -0
  3. package/dist/generated/client/internal/prismaNamespace.js +56 -0
  4. package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +56 -0
  5. package/dist/generated/client/internal/prismaNamespaceBrowser.js +56 -0
  6. package/dist/generated/client/models/Amenity.d.ts +183 -3
  7. package/dist/generated/client/models/ApplicationDocument.d.ts +183 -1
  8. package/dist/generated/client/models/ApplicationEvent.d.ts +190 -14
  9. package/dist/generated/client/models/ApplicationPayment.d.ts +225 -1
  10. package/dist/generated/client/models/ApplicationPhase.d.ts +272 -26
  11. package/dist/generated/client/models/DocumentationPhase.d.ts +224 -24
  12. package/dist/generated/client/models/DocumentationStep.d.ts +237 -1
  13. package/dist/generated/client/models/DocumentationStepApproval.d.ts +159 -1
  14. package/dist/generated/client/models/DocumentationStepDocument.d.ts +150 -10
  15. package/dist/generated/client/models/EventHandlerExecution.d.ts +208 -14
  16. package/dist/generated/client/models/PaymentInstallment.d.ts +228 -14
  17. package/dist/generated/client/models/PaymentMethodPhaseDocument.d.ts +178 -14
  18. package/dist/generated/client/models/PaymentMethodPhaseField.d.ts +208 -14
  19. package/dist/generated/client/models/PaymentMethodPhaseStep.d.ts +180 -14
  20. package/dist/generated/client/models/PaymentPhase.d.ts +214 -14
  21. package/dist/generated/client/models/PhaseEventAttachment.d.ts +178 -14
  22. package/dist/generated/client/models/PropertyAmenity.d.ts +145 -11
  23. package/dist/generated/client/models/PropertyDocument.d.ts +164 -12
  24. package/dist/generated/client/models/PropertyMedia.d.ts +183 -17
  25. package/dist/generated/client/models/PropertyPaymentMethodLink.d.ts +159 -13
  26. package/dist/generated/client/models/PropertyPaymentMethodPhase.d.ts +270 -14
  27. package/dist/generated/client/models/PropertyUnit.d.ts +230 -14
  28. package/dist/generated/client/models/PropertyVariant.d.ts +256 -14
  29. package/dist/generated/client/models/PropertyVariantAmenity.d.ts +145 -11
  30. package/dist/generated/client/models/PropertyVariantMedia.d.ts +171 -13
  31. package/dist/generated/client/models/QuestionnaireField.d.ts +232 -14
  32. package/dist/generated/client/models/QuestionnairePhase.d.ts +207 -1
  33. package/dist/generated/client/models/StepEventAttachment.d.ts +178 -14
  34. package/dist/generated/client/models/Tenant.d.ts +11653 -1153
  35. package/dist/src/prisma/tenant.js +26 -32
  36. package/package.json +1 -1
  37. package/prisma/migrations/20260113000000_remove_workflow_analytics_summary/migration.sql +5 -0
  38. package/prisma/migrations/20260113110450_add_tenant_id_to_child_models/migration.sql +334 -0
  39. package/prisma/schema.prisma +143 -30
@@ -335,6 +335,7 @@ export const PropertyScalarFieldEnum = {
335
335
  };
336
336
  export const PropertyMediaScalarFieldEnum = {
337
337
  id: 'id',
338
+ tenantId: 'tenantId',
338
339
  propertyId: 'propertyId',
339
340
  url: 'url',
340
341
  type: 'type',
@@ -345,6 +346,7 @@ export const PropertyMediaScalarFieldEnum = {
345
346
  };
346
347
  export const PropertyDocumentScalarFieldEnum = {
347
348
  id: 'id',
349
+ tenantId: 'tenantId',
348
350
  propertyId: 'propertyId',
349
351
  name: 'name',
350
352
  url: 'url',
@@ -354,6 +356,7 @@ export const PropertyDocumentScalarFieldEnum = {
354
356
  };
355
357
  export const AmenityScalarFieldEnum = {
356
358
  id: 'id',
359
+ tenantId: 'tenantId',
357
360
  name: 'name',
358
361
  category: 'category',
359
362
  icon: 'icon',
@@ -362,6 +365,7 @@ export const AmenityScalarFieldEnum = {
362
365
  };
363
366
  export const PropertyVariantScalarFieldEnum = {
364
367
  id: 'id',
368
+ tenantId: 'tenantId',
365
369
  propertyId: 'propertyId',
366
370
  name: 'name',
367
371
  description: 'description',
@@ -381,12 +385,14 @@ export const PropertyVariantScalarFieldEnum = {
381
385
  updatedAt: 'updatedAt'
382
386
  };
383
387
  export const PropertyVariantAmenityScalarFieldEnum = {
388
+ tenantId: 'tenantId',
384
389
  variantId: 'variantId',
385
390
  amenityId: 'amenityId',
386
391
  createdAt: 'createdAt'
387
392
  };
388
393
  export const PropertyVariantMediaScalarFieldEnum = {
389
394
  id: 'id',
395
+ tenantId: 'tenantId',
390
396
  variantId: 'variantId',
391
397
  url: 'url',
392
398
  type: 'type',
@@ -397,6 +403,7 @@ export const PropertyVariantMediaScalarFieldEnum = {
397
403
  };
398
404
  export const PropertyUnitScalarFieldEnum = {
399
405
  id: 'id',
406
+ tenantId: 'tenantId',
400
407
  variantId: 'variantId',
401
408
  unitNumber: 'unitNumber',
402
409
  floorNumber: 'floorNumber',
@@ -413,6 +420,7 @@ export const PropertyUnitScalarFieldEnum = {
413
420
  updatedAt: 'updatedAt'
414
421
  };
415
422
  export const PropertyAmenityScalarFieldEnum = {
423
+ tenantId: 'tenantId',
416
424
  propertyId: 'propertyId',
417
425
  amenityId: 'amenityId',
418
426
  createdAt: 'createdAt'
@@ -451,6 +459,7 @@ export const PropertyPaymentMethodScalarFieldEnum = {
451
459
  updatedAt: 'updatedAt'
452
460
  };
453
461
  export const PropertyPaymentMethodLinkScalarFieldEnum = {
462
+ tenantId: 'tenantId',
454
463
  propertyId: 'propertyId',
455
464
  paymentMethodId: 'paymentMethodId',
456
465
  isDefault: 'isDefault',
@@ -459,6 +468,7 @@ export const PropertyPaymentMethodLinkScalarFieldEnum = {
459
468
  };
460
469
  export const PropertyPaymentMethodPhaseScalarFieldEnum = {
461
470
  id: 'id',
471
+ tenantId: 'tenantId',
462
472
  paymentMethodId: 'paymentMethodId',
463
473
  paymentPlanId: 'paymentPlanId',
464
474
  name: 'name',
@@ -479,6 +489,7 @@ export const PropertyPaymentMethodPhaseScalarFieldEnum = {
479
489
  };
480
490
  export const PhaseEventAttachmentScalarFieldEnum = {
481
491
  id: 'id',
492
+ tenantId: 'tenantId',
482
493
  phaseId: 'phaseId',
483
494
  trigger: 'trigger',
484
495
  handlerId: 'handlerId',
@@ -489,6 +500,7 @@ export const PhaseEventAttachmentScalarFieldEnum = {
489
500
  };
490
501
  export const PaymentMethodPhaseStepScalarFieldEnum = {
491
502
  id: 'id',
503
+ tenantId: 'tenantId',
492
504
  phaseId: 'phaseId',
493
505
  name: 'name',
494
506
  stepType: 'stepType',
@@ -499,6 +511,7 @@ export const PaymentMethodPhaseStepScalarFieldEnum = {
499
511
  };
500
512
  export const StepEventAttachmentScalarFieldEnum = {
501
513
  id: 'id',
514
+ tenantId: 'tenantId',
502
515
  stepId: 'stepId',
503
516
  trigger: 'trigger',
504
517
  handlerId: 'handlerId',
@@ -509,6 +522,7 @@ export const StepEventAttachmentScalarFieldEnum = {
509
522
  };
510
523
  export const PaymentMethodPhaseDocumentScalarFieldEnum = {
511
524
  id: 'id',
525
+ tenantId: 'tenantId',
512
526
  phaseId: 'phaseId',
513
527
  documentType: 'documentType',
514
528
  isRequired: 'isRequired',
@@ -520,6 +534,7 @@ export const PaymentMethodPhaseDocumentScalarFieldEnum = {
520
534
  };
521
535
  export const PaymentMethodPhaseFieldScalarFieldEnum = {
522
536
  id: 'id',
537
+ tenantId: 'tenantId',
523
538
  phaseId: 'phaseId',
524
539
  name: 'name',
525
540
  label: 'label',
@@ -585,6 +600,7 @@ export const ApplicationRefundScalarFieldEnum = {
585
600
  };
586
601
  export const ApplicationPhaseScalarFieldEnum = {
587
602
  id: 'id',
603
+ tenantId: 'tenantId',
588
604
  applicationId: 'applicationId',
589
605
  name: 'name',
590
606
  description: 'description',
@@ -603,6 +619,7 @@ export const ApplicationPhaseScalarFieldEnum = {
603
619
  };
604
620
  export const QuestionnairePhaseScalarFieldEnum = {
605
621
  id: 'id',
622
+ tenantId: 'tenantId',
606
623
  phaseId: 'phaseId',
607
624
  completedFieldsCount: 'completedFieldsCount',
608
625
  totalFieldsCount: 'totalFieldsCount',
@@ -616,6 +633,7 @@ export const QuestionnairePhaseScalarFieldEnum = {
616
633
  };
617
634
  export const DocumentationPhaseScalarFieldEnum = {
618
635
  id: 'id',
636
+ tenantId: 'tenantId',
619
637
  phaseId: 'phaseId',
620
638
  currentStepId: 'currentStepId',
621
639
  approvedDocumentsCount: 'approvedDocumentsCount',
@@ -631,6 +649,7 @@ export const DocumentationPhaseScalarFieldEnum = {
631
649
  };
632
650
  export const PaymentPhaseScalarFieldEnum = {
633
651
  id: 'id',
652
+ tenantId: 'tenantId',
634
653
  phaseId: 'phaseId',
635
654
  paymentPlanId: 'paymentPlanId',
636
655
  totalAmount: 'totalAmount',
@@ -646,6 +665,7 @@ export const PaymentPhaseScalarFieldEnum = {
646
665
  };
647
666
  export const QuestionnaireFieldScalarFieldEnum = {
648
667
  id: 'id',
668
+ tenantId: 'tenantId',
649
669
  questionnairePhaseId: 'questionnairePhaseId',
650
670
  name: 'name',
651
671
  label: 'label',
@@ -666,6 +686,7 @@ export const QuestionnaireFieldScalarFieldEnum = {
666
686
  };
667
687
  export const ApplicationEventScalarFieldEnum = {
668
688
  id: 'id',
689
+ tenantId: 'tenantId',
669
690
  applicationId: 'applicationId',
670
691
  eventType: 'eventType',
671
692
  eventGroup: 'eventGroup',
@@ -679,6 +700,7 @@ export const ApplicationEventScalarFieldEnum = {
679
700
  };
680
701
  export const DocumentationStepScalarFieldEnum = {
681
702
  id: 'id',
703
+ tenantId: 'tenantId',
682
704
  documentationPhaseId: 'documentationPhaseId',
683
705
  name: 'name',
684
706
  description: 'description',
@@ -697,6 +719,7 @@ export const DocumentationStepScalarFieldEnum = {
697
719
  };
698
720
  export const DocumentationStepDocumentScalarFieldEnum = {
699
721
  id: 'id',
722
+ tenantId: 'tenantId',
700
723
  stepId: 'stepId',
701
724
  documentType: 'documentType',
702
725
  isRequired: 'isRequired',
@@ -704,6 +727,7 @@ export const DocumentationStepDocumentScalarFieldEnum = {
704
727
  };
705
728
  export const DocumentationStepApprovalScalarFieldEnum = {
706
729
  id: 'id',
730
+ tenantId: 'tenantId',
707
731
  stepId: 'stepId',
708
732
  approverId: 'approverId',
709
733
  decision: 'decision',
@@ -713,6 +737,7 @@ export const DocumentationStepApprovalScalarFieldEnum = {
713
737
  };
714
738
  export const PaymentInstallmentScalarFieldEnum = {
715
739
  id: 'id',
740
+ tenantId: 'tenantId',
716
741
  paymentPhaseId: 'paymentPhaseId',
717
742
  installmentNumber: 'installmentNumber',
718
743
  amount: 'amount',
@@ -731,6 +756,7 @@ export const PaymentInstallmentScalarFieldEnum = {
731
756
  };
732
757
  export const ApplicationPaymentScalarFieldEnum = {
733
758
  id: 'id',
759
+ tenantId: 'tenantId',
734
760
  applicationId: 'applicationId',
735
761
  phaseId: 'phaseId',
736
762
  installmentId: 'installmentId',
@@ -749,6 +775,7 @@ export const ApplicationPaymentScalarFieldEnum = {
749
775
  };
750
776
  export const ApplicationDocumentScalarFieldEnum = {
751
777
  id: 'id',
778
+ tenantId: 'tenantId',
752
779
  applicationId: 'applicationId',
753
780
  phaseId: 'phaseId',
754
781
  stepId: 'stepId',
@@ -947,6 +974,7 @@ export const WorkflowEventScalarFieldEnum = {
947
974
  };
948
975
  export const EventHandlerExecutionScalarFieldEnum = {
949
976
  id: 'id',
977
+ tenantId: 'tenantId',
950
978
  eventId: 'eventId',
951
979
  handlerId: 'handlerId',
952
980
  status: 'status',
@@ -1203,6 +1231,7 @@ export const PropertyOrderByRelevanceFieldEnum = {
1203
1231
  };
1204
1232
  export const PropertyMediaOrderByRelevanceFieldEnum = {
1205
1233
  id: 'id',
1234
+ tenantId: 'tenantId',
1206
1235
  propertyId: 'propertyId',
1207
1236
  url: 'url',
1208
1237
  type: 'type',
@@ -1210,6 +1239,7 @@ export const PropertyMediaOrderByRelevanceFieldEnum = {
1210
1239
  };
1211
1240
  export const PropertyDocumentOrderByRelevanceFieldEnum = {
1212
1241
  id: 'id',
1242
+ tenantId: 'tenantId',
1213
1243
  propertyId: 'propertyId',
1214
1244
  name: 'name',
1215
1245
  url: 'url',
@@ -1217,23 +1247,27 @@ export const PropertyDocumentOrderByRelevanceFieldEnum = {
1217
1247
  };
1218
1248
  export const AmenityOrderByRelevanceFieldEnum = {
1219
1249
  id: 'id',
1250
+ tenantId: 'tenantId',
1220
1251
  name: 'name',
1221
1252
  category: 'category',
1222
1253
  icon: 'icon'
1223
1254
  };
1224
1255
  export const PropertyVariantOrderByRelevanceFieldEnum = {
1225
1256
  id: 'id',
1257
+ tenantId: 'tenantId',
1226
1258
  propertyId: 'propertyId',
1227
1259
  name: 'name',
1228
1260
  description: 'description',
1229
1261
  status: 'status'
1230
1262
  };
1231
1263
  export const PropertyVariantAmenityOrderByRelevanceFieldEnum = {
1264
+ tenantId: 'tenantId',
1232
1265
  variantId: 'variantId',
1233
1266
  amenityId: 'amenityId'
1234
1267
  };
1235
1268
  export const PropertyVariantMediaOrderByRelevanceFieldEnum = {
1236
1269
  id: 'id',
1270
+ tenantId: 'tenantId',
1237
1271
  variantId: 'variantId',
1238
1272
  url: 'url',
1239
1273
  type: 'type',
@@ -1241,6 +1275,7 @@ export const PropertyVariantMediaOrderByRelevanceFieldEnum = {
1241
1275
  };
1242
1276
  export const PropertyUnitOrderByRelevanceFieldEnum = {
1243
1277
  id: 'id',
1278
+ tenantId: 'tenantId',
1244
1279
  variantId: 'variantId',
1245
1280
  unitNumber: 'unitNumber',
1246
1281
  blockName: 'blockName',
@@ -1250,6 +1285,7 @@ export const PropertyUnitOrderByRelevanceFieldEnum = {
1250
1285
  ownerId: 'ownerId'
1251
1286
  };
1252
1287
  export const PropertyAmenityOrderByRelevanceFieldEnum = {
1288
+ tenantId: 'tenantId',
1253
1289
  propertyId: 'propertyId',
1254
1290
  amenityId: 'amenityId'
1255
1291
  };
@@ -1266,11 +1302,13 @@ export const PropertyPaymentMethodOrderByRelevanceFieldEnum = {
1266
1302
  description: 'description'
1267
1303
  };
1268
1304
  export const PropertyPaymentMethodLinkOrderByRelevanceFieldEnum = {
1305
+ tenantId: 'tenantId',
1269
1306
  propertyId: 'propertyId',
1270
1307
  paymentMethodId: 'paymentMethodId'
1271
1308
  };
1272
1309
  export const PropertyPaymentMethodPhaseOrderByRelevanceFieldEnum = {
1273
1310
  id: 'id',
1311
+ tenantId: 'tenantId',
1274
1312
  paymentMethodId: 'paymentMethodId',
1275
1313
  paymentPlanId: 'paymentPlanId',
1276
1314
  name: 'name',
@@ -1278,21 +1316,25 @@ export const PropertyPaymentMethodPhaseOrderByRelevanceFieldEnum = {
1278
1316
  };
1279
1317
  export const PhaseEventAttachmentOrderByRelevanceFieldEnum = {
1280
1318
  id: 'id',
1319
+ tenantId: 'tenantId',
1281
1320
  phaseId: 'phaseId',
1282
1321
  handlerId: 'handlerId'
1283
1322
  };
1284
1323
  export const PaymentMethodPhaseStepOrderByRelevanceFieldEnum = {
1285
1324
  id: 'id',
1325
+ tenantId: 'tenantId',
1286
1326
  phaseId: 'phaseId',
1287
1327
  name: 'name'
1288
1328
  };
1289
1329
  export const StepEventAttachmentOrderByRelevanceFieldEnum = {
1290
1330
  id: 'id',
1331
+ tenantId: 'tenantId',
1291
1332
  stepId: 'stepId',
1292
1333
  handlerId: 'handlerId'
1293
1334
  };
1294
1335
  export const PaymentMethodPhaseDocumentOrderByRelevanceFieldEnum = {
1295
1336
  id: 'id',
1337
+ tenantId: 'tenantId',
1296
1338
  phaseId: 'phaseId',
1297
1339
  documentType: 'documentType',
1298
1340
  description: 'description',
@@ -1300,6 +1342,7 @@ export const PaymentMethodPhaseDocumentOrderByRelevanceFieldEnum = {
1300
1342
  };
1301
1343
  export const PaymentMethodPhaseFieldOrderByRelevanceFieldEnum = {
1302
1344
  id: 'id',
1345
+ tenantId: 'tenantId',
1303
1346
  phaseId: 'phaseId',
1304
1347
  name: 'name',
1305
1348
  label: 'label',
@@ -1339,28 +1382,33 @@ export const ApplicationRefundOrderByRelevanceFieldEnum = {
1339
1382
  };
1340
1383
  export const ApplicationPhaseOrderByRelevanceFieldEnum = {
1341
1384
  id: 'id',
1385
+ tenantId: 'tenantId',
1342
1386
  applicationId: 'applicationId',
1343
1387
  name: 'name',
1344
1388
  description: 'description'
1345
1389
  };
1346
1390
  export const QuestionnairePhaseOrderByRelevanceFieldEnum = {
1347
1391
  id: 'id',
1392
+ tenantId: 'tenantId',
1348
1393
  phaseId: 'phaseId',
1349
1394
  underwritingDecision: 'underwritingDecision',
1350
1395
  underwritingNotes: 'underwritingNotes'
1351
1396
  };
1352
1397
  export const DocumentationPhaseOrderByRelevanceFieldEnum = {
1353
1398
  id: 'id',
1399
+ tenantId: 'tenantId',
1354
1400
  phaseId: 'phaseId',
1355
1401
  currentStepId: 'currentStepId'
1356
1402
  };
1357
1403
  export const PaymentPhaseOrderByRelevanceFieldEnum = {
1358
1404
  id: 'id',
1405
+ tenantId: 'tenantId',
1359
1406
  phaseId: 'phaseId',
1360
1407
  paymentPlanId: 'paymentPlanId'
1361
1408
  };
1362
1409
  export const QuestionnaireFieldOrderByRelevanceFieldEnum = {
1363
1410
  id: 'id',
1411
+ tenantId: 'tenantId',
1364
1412
  questionnairePhaseId: 'questionnairePhaseId',
1365
1413
  name: 'name',
1366
1414
  label: 'label',
@@ -1369,6 +1417,7 @@ export const QuestionnaireFieldOrderByRelevanceFieldEnum = {
1369
1417
  };
1370
1418
  export const ApplicationEventOrderByRelevanceFieldEnum = {
1371
1419
  id: 'id',
1420
+ tenantId: 'tenantId',
1372
1421
  applicationId: 'applicationId',
1373
1422
  fromState: 'fromState',
1374
1423
  toState: 'toState',
@@ -1377,6 +1426,7 @@ export const ApplicationEventOrderByRelevanceFieldEnum = {
1377
1426
  };
1378
1427
  export const DocumentationStepOrderByRelevanceFieldEnum = {
1379
1428
  id: 'id',
1429
+ tenantId: 'tenantId',
1380
1430
  documentationPhaseId: 'documentationPhaseId',
1381
1431
  name: 'name',
1382
1432
  description: 'description',
@@ -1385,21 +1435,25 @@ export const DocumentationStepOrderByRelevanceFieldEnum = {
1385
1435
  };
1386
1436
  export const DocumentationStepDocumentOrderByRelevanceFieldEnum = {
1387
1437
  id: 'id',
1438
+ tenantId: 'tenantId',
1388
1439
  stepId: 'stepId',
1389
1440
  documentType: 'documentType'
1390
1441
  };
1391
1442
  export const DocumentationStepApprovalOrderByRelevanceFieldEnum = {
1392
1443
  id: 'id',
1444
+ tenantId: 'tenantId',
1393
1445
  stepId: 'stepId',
1394
1446
  approverId: 'approverId',
1395
1447
  comment: 'comment'
1396
1448
  };
1397
1449
  export const PaymentInstallmentOrderByRelevanceFieldEnum = {
1398
1450
  id: 'id',
1451
+ tenantId: 'tenantId',
1399
1452
  paymentPhaseId: 'paymentPhaseId'
1400
1453
  };
1401
1454
  export const ApplicationPaymentOrderByRelevanceFieldEnum = {
1402
1455
  id: 'id',
1456
+ tenantId: 'tenantId',
1403
1457
  applicationId: 'applicationId',
1404
1458
  phaseId: 'phaseId',
1405
1459
  installmentId: 'installmentId',
@@ -1410,6 +1464,7 @@ export const ApplicationPaymentOrderByRelevanceFieldEnum = {
1410
1464
  };
1411
1465
  export const ApplicationDocumentOrderByRelevanceFieldEnum = {
1412
1466
  id: 'id',
1467
+ tenantId: 'tenantId',
1413
1468
  applicationId: 'applicationId',
1414
1469
  phaseId: 'phaseId',
1415
1470
  stepId: 'stepId',
@@ -1517,6 +1572,7 @@ export const WorkflowEventOrderByRelevanceFieldEnum = {
1517
1572
  };
1518
1573
  export const EventHandlerExecutionOrderByRelevanceFieldEnum = {
1519
1574
  id: 'id',
1575
+ tenantId: 'tenantId',
1520
1576
  eventId: 'eventId',
1521
1577
  handlerId: 'handlerId',
1522
1578
  error: 'error',