@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
@@ -307,6 +307,7 @@ export const PropertyScalarFieldEnum = {
307
307
  };
308
308
  export const PropertyMediaScalarFieldEnum = {
309
309
  id: 'id',
310
+ tenantId: 'tenantId',
310
311
  propertyId: 'propertyId',
311
312
  url: 'url',
312
313
  type: 'type',
@@ -317,6 +318,7 @@ export const PropertyMediaScalarFieldEnum = {
317
318
  };
318
319
  export const PropertyDocumentScalarFieldEnum = {
319
320
  id: 'id',
321
+ tenantId: 'tenantId',
320
322
  propertyId: 'propertyId',
321
323
  name: 'name',
322
324
  url: 'url',
@@ -326,6 +328,7 @@ export const PropertyDocumentScalarFieldEnum = {
326
328
  };
327
329
  export const AmenityScalarFieldEnum = {
328
330
  id: 'id',
331
+ tenantId: 'tenantId',
329
332
  name: 'name',
330
333
  category: 'category',
331
334
  icon: 'icon',
@@ -334,6 +337,7 @@ export const AmenityScalarFieldEnum = {
334
337
  };
335
338
  export const PropertyVariantScalarFieldEnum = {
336
339
  id: 'id',
340
+ tenantId: 'tenantId',
337
341
  propertyId: 'propertyId',
338
342
  name: 'name',
339
343
  description: 'description',
@@ -353,12 +357,14 @@ export const PropertyVariantScalarFieldEnum = {
353
357
  updatedAt: 'updatedAt'
354
358
  };
355
359
  export const PropertyVariantAmenityScalarFieldEnum = {
360
+ tenantId: 'tenantId',
356
361
  variantId: 'variantId',
357
362
  amenityId: 'amenityId',
358
363
  createdAt: 'createdAt'
359
364
  };
360
365
  export const PropertyVariantMediaScalarFieldEnum = {
361
366
  id: 'id',
367
+ tenantId: 'tenantId',
362
368
  variantId: 'variantId',
363
369
  url: 'url',
364
370
  type: 'type',
@@ -369,6 +375,7 @@ export const PropertyVariantMediaScalarFieldEnum = {
369
375
  };
370
376
  export const PropertyUnitScalarFieldEnum = {
371
377
  id: 'id',
378
+ tenantId: 'tenantId',
372
379
  variantId: 'variantId',
373
380
  unitNumber: 'unitNumber',
374
381
  floorNumber: 'floorNumber',
@@ -385,6 +392,7 @@ export const PropertyUnitScalarFieldEnum = {
385
392
  updatedAt: 'updatedAt'
386
393
  };
387
394
  export const PropertyAmenityScalarFieldEnum = {
395
+ tenantId: 'tenantId',
388
396
  propertyId: 'propertyId',
389
397
  amenityId: 'amenityId',
390
398
  createdAt: 'createdAt'
@@ -423,6 +431,7 @@ export const PropertyPaymentMethodScalarFieldEnum = {
423
431
  updatedAt: 'updatedAt'
424
432
  };
425
433
  export const PropertyPaymentMethodLinkScalarFieldEnum = {
434
+ tenantId: 'tenantId',
426
435
  propertyId: 'propertyId',
427
436
  paymentMethodId: 'paymentMethodId',
428
437
  isDefault: 'isDefault',
@@ -431,6 +440,7 @@ export const PropertyPaymentMethodLinkScalarFieldEnum = {
431
440
  };
432
441
  export const PropertyPaymentMethodPhaseScalarFieldEnum = {
433
442
  id: 'id',
443
+ tenantId: 'tenantId',
434
444
  paymentMethodId: 'paymentMethodId',
435
445
  paymentPlanId: 'paymentPlanId',
436
446
  name: 'name',
@@ -451,6 +461,7 @@ export const PropertyPaymentMethodPhaseScalarFieldEnum = {
451
461
  };
452
462
  export const PhaseEventAttachmentScalarFieldEnum = {
453
463
  id: 'id',
464
+ tenantId: 'tenantId',
454
465
  phaseId: 'phaseId',
455
466
  trigger: 'trigger',
456
467
  handlerId: 'handlerId',
@@ -461,6 +472,7 @@ export const PhaseEventAttachmentScalarFieldEnum = {
461
472
  };
462
473
  export const PaymentMethodPhaseStepScalarFieldEnum = {
463
474
  id: 'id',
475
+ tenantId: 'tenantId',
464
476
  phaseId: 'phaseId',
465
477
  name: 'name',
466
478
  stepType: 'stepType',
@@ -471,6 +483,7 @@ export const PaymentMethodPhaseStepScalarFieldEnum = {
471
483
  };
472
484
  export const StepEventAttachmentScalarFieldEnum = {
473
485
  id: 'id',
486
+ tenantId: 'tenantId',
474
487
  stepId: 'stepId',
475
488
  trigger: 'trigger',
476
489
  handlerId: 'handlerId',
@@ -481,6 +494,7 @@ export const StepEventAttachmentScalarFieldEnum = {
481
494
  };
482
495
  export const PaymentMethodPhaseDocumentScalarFieldEnum = {
483
496
  id: 'id',
497
+ tenantId: 'tenantId',
484
498
  phaseId: 'phaseId',
485
499
  documentType: 'documentType',
486
500
  isRequired: 'isRequired',
@@ -492,6 +506,7 @@ export const PaymentMethodPhaseDocumentScalarFieldEnum = {
492
506
  };
493
507
  export const PaymentMethodPhaseFieldScalarFieldEnum = {
494
508
  id: 'id',
509
+ tenantId: 'tenantId',
495
510
  phaseId: 'phaseId',
496
511
  name: 'name',
497
512
  label: 'label',
@@ -557,6 +572,7 @@ export const ApplicationRefundScalarFieldEnum = {
557
572
  };
558
573
  export const ApplicationPhaseScalarFieldEnum = {
559
574
  id: 'id',
575
+ tenantId: 'tenantId',
560
576
  applicationId: 'applicationId',
561
577
  name: 'name',
562
578
  description: 'description',
@@ -575,6 +591,7 @@ export const ApplicationPhaseScalarFieldEnum = {
575
591
  };
576
592
  export const QuestionnairePhaseScalarFieldEnum = {
577
593
  id: 'id',
594
+ tenantId: 'tenantId',
578
595
  phaseId: 'phaseId',
579
596
  completedFieldsCount: 'completedFieldsCount',
580
597
  totalFieldsCount: 'totalFieldsCount',
@@ -588,6 +605,7 @@ export const QuestionnairePhaseScalarFieldEnum = {
588
605
  };
589
606
  export const DocumentationPhaseScalarFieldEnum = {
590
607
  id: 'id',
608
+ tenantId: 'tenantId',
591
609
  phaseId: 'phaseId',
592
610
  currentStepId: 'currentStepId',
593
611
  approvedDocumentsCount: 'approvedDocumentsCount',
@@ -603,6 +621,7 @@ export const DocumentationPhaseScalarFieldEnum = {
603
621
  };
604
622
  export const PaymentPhaseScalarFieldEnum = {
605
623
  id: 'id',
624
+ tenantId: 'tenantId',
606
625
  phaseId: 'phaseId',
607
626
  paymentPlanId: 'paymentPlanId',
608
627
  totalAmount: 'totalAmount',
@@ -618,6 +637,7 @@ export const PaymentPhaseScalarFieldEnum = {
618
637
  };
619
638
  export const QuestionnaireFieldScalarFieldEnum = {
620
639
  id: 'id',
640
+ tenantId: 'tenantId',
621
641
  questionnairePhaseId: 'questionnairePhaseId',
622
642
  name: 'name',
623
643
  label: 'label',
@@ -638,6 +658,7 @@ export const QuestionnaireFieldScalarFieldEnum = {
638
658
  };
639
659
  export const ApplicationEventScalarFieldEnum = {
640
660
  id: 'id',
661
+ tenantId: 'tenantId',
641
662
  applicationId: 'applicationId',
642
663
  eventType: 'eventType',
643
664
  eventGroup: 'eventGroup',
@@ -651,6 +672,7 @@ export const ApplicationEventScalarFieldEnum = {
651
672
  };
652
673
  export const DocumentationStepScalarFieldEnum = {
653
674
  id: 'id',
675
+ tenantId: 'tenantId',
654
676
  documentationPhaseId: 'documentationPhaseId',
655
677
  name: 'name',
656
678
  description: 'description',
@@ -669,6 +691,7 @@ export const DocumentationStepScalarFieldEnum = {
669
691
  };
670
692
  export const DocumentationStepDocumentScalarFieldEnum = {
671
693
  id: 'id',
694
+ tenantId: 'tenantId',
672
695
  stepId: 'stepId',
673
696
  documentType: 'documentType',
674
697
  isRequired: 'isRequired',
@@ -676,6 +699,7 @@ export const DocumentationStepDocumentScalarFieldEnum = {
676
699
  };
677
700
  export const DocumentationStepApprovalScalarFieldEnum = {
678
701
  id: 'id',
702
+ tenantId: 'tenantId',
679
703
  stepId: 'stepId',
680
704
  approverId: 'approverId',
681
705
  decision: 'decision',
@@ -685,6 +709,7 @@ export const DocumentationStepApprovalScalarFieldEnum = {
685
709
  };
686
710
  export const PaymentInstallmentScalarFieldEnum = {
687
711
  id: 'id',
712
+ tenantId: 'tenantId',
688
713
  paymentPhaseId: 'paymentPhaseId',
689
714
  installmentNumber: 'installmentNumber',
690
715
  amount: 'amount',
@@ -703,6 +728,7 @@ export const PaymentInstallmentScalarFieldEnum = {
703
728
  };
704
729
  export const ApplicationPaymentScalarFieldEnum = {
705
730
  id: 'id',
731
+ tenantId: 'tenantId',
706
732
  applicationId: 'applicationId',
707
733
  phaseId: 'phaseId',
708
734
  installmentId: 'installmentId',
@@ -721,6 +747,7 @@ export const ApplicationPaymentScalarFieldEnum = {
721
747
  };
722
748
  export const ApplicationDocumentScalarFieldEnum = {
723
749
  id: 'id',
750
+ tenantId: 'tenantId',
724
751
  applicationId: 'applicationId',
725
752
  phaseId: 'phaseId',
726
753
  stepId: 'stepId',
@@ -919,6 +946,7 @@ export const WorkflowEventScalarFieldEnum = {
919
946
  };
920
947
  export const EventHandlerExecutionScalarFieldEnum = {
921
948
  id: 'id',
949
+ tenantId: 'tenantId',
922
950
  eventId: 'eventId',
923
951
  handlerId: 'handlerId',
924
952
  status: 'status',
@@ -1175,6 +1203,7 @@ export const PropertyOrderByRelevanceFieldEnum = {
1175
1203
  };
1176
1204
  export const PropertyMediaOrderByRelevanceFieldEnum = {
1177
1205
  id: 'id',
1206
+ tenantId: 'tenantId',
1178
1207
  propertyId: 'propertyId',
1179
1208
  url: 'url',
1180
1209
  type: 'type',
@@ -1182,6 +1211,7 @@ export const PropertyMediaOrderByRelevanceFieldEnum = {
1182
1211
  };
1183
1212
  export const PropertyDocumentOrderByRelevanceFieldEnum = {
1184
1213
  id: 'id',
1214
+ tenantId: 'tenantId',
1185
1215
  propertyId: 'propertyId',
1186
1216
  name: 'name',
1187
1217
  url: 'url',
@@ -1189,23 +1219,27 @@ export const PropertyDocumentOrderByRelevanceFieldEnum = {
1189
1219
  };
1190
1220
  export const AmenityOrderByRelevanceFieldEnum = {
1191
1221
  id: 'id',
1222
+ tenantId: 'tenantId',
1192
1223
  name: 'name',
1193
1224
  category: 'category',
1194
1225
  icon: 'icon'
1195
1226
  };
1196
1227
  export const PropertyVariantOrderByRelevanceFieldEnum = {
1197
1228
  id: 'id',
1229
+ tenantId: 'tenantId',
1198
1230
  propertyId: 'propertyId',
1199
1231
  name: 'name',
1200
1232
  description: 'description',
1201
1233
  status: 'status'
1202
1234
  };
1203
1235
  export const PropertyVariantAmenityOrderByRelevanceFieldEnum = {
1236
+ tenantId: 'tenantId',
1204
1237
  variantId: 'variantId',
1205
1238
  amenityId: 'amenityId'
1206
1239
  };
1207
1240
  export const PropertyVariantMediaOrderByRelevanceFieldEnum = {
1208
1241
  id: 'id',
1242
+ tenantId: 'tenantId',
1209
1243
  variantId: 'variantId',
1210
1244
  url: 'url',
1211
1245
  type: 'type',
@@ -1213,6 +1247,7 @@ export const PropertyVariantMediaOrderByRelevanceFieldEnum = {
1213
1247
  };
1214
1248
  export const PropertyUnitOrderByRelevanceFieldEnum = {
1215
1249
  id: 'id',
1250
+ tenantId: 'tenantId',
1216
1251
  variantId: 'variantId',
1217
1252
  unitNumber: 'unitNumber',
1218
1253
  blockName: 'blockName',
@@ -1222,6 +1257,7 @@ export const PropertyUnitOrderByRelevanceFieldEnum = {
1222
1257
  ownerId: 'ownerId'
1223
1258
  };
1224
1259
  export const PropertyAmenityOrderByRelevanceFieldEnum = {
1260
+ tenantId: 'tenantId',
1225
1261
  propertyId: 'propertyId',
1226
1262
  amenityId: 'amenityId'
1227
1263
  };
@@ -1238,11 +1274,13 @@ export const PropertyPaymentMethodOrderByRelevanceFieldEnum = {
1238
1274
  description: 'description'
1239
1275
  };
1240
1276
  export const PropertyPaymentMethodLinkOrderByRelevanceFieldEnum = {
1277
+ tenantId: 'tenantId',
1241
1278
  propertyId: 'propertyId',
1242
1279
  paymentMethodId: 'paymentMethodId'
1243
1280
  };
1244
1281
  export const PropertyPaymentMethodPhaseOrderByRelevanceFieldEnum = {
1245
1282
  id: 'id',
1283
+ tenantId: 'tenantId',
1246
1284
  paymentMethodId: 'paymentMethodId',
1247
1285
  paymentPlanId: 'paymentPlanId',
1248
1286
  name: 'name',
@@ -1250,21 +1288,25 @@ export const PropertyPaymentMethodPhaseOrderByRelevanceFieldEnum = {
1250
1288
  };
1251
1289
  export const PhaseEventAttachmentOrderByRelevanceFieldEnum = {
1252
1290
  id: 'id',
1291
+ tenantId: 'tenantId',
1253
1292
  phaseId: 'phaseId',
1254
1293
  handlerId: 'handlerId'
1255
1294
  };
1256
1295
  export const PaymentMethodPhaseStepOrderByRelevanceFieldEnum = {
1257
1296
  id: 'id',
1297
+ tenantId: 'tenantId',
1258
1298
  phaseId: 'phaseId',
1259
1299
  name: 'name'
1260
1300
  };
1261
1301
  export const StepEventAttachmentOrderByRelevanceFieldEnum = {
1262
1302
  id: 'id',
1303
+ tenantId: 'tenantId',
1263
1304
  stepId: 'stepId',
1264
1305
  handlerId: 'handlerId'
1265
1306
  };
1266
1307
  export const PaymentMethodPhaseDocumentOrderByRelevanceFieldEnum = {
1267
1308
  id: 'id',
1309
+ tenantId: 'tenantId',
1268
1310
  phaseId: 'phaseId',
1269
1311
  documentType: 'documentType',
1270
1312
  description: 'description',
@@ -1272,6 +1314,7 @@ export const PaymentMethodPhaseDocumentOrderByRelevanceFieldEnum = {
1272
1314
  };
1273
1315
  export const PaymentMethodPhaseFieldOrderByRelevanceFieldEnum = {
1274
1316
  id: 'id',
1317
+ tenantId: 'tenantId',
1275
1318
  phaseId: 'phaseId',
1276
1319
  name: 'name',
1277
1320
  label: 'label',
@@ -1311,28 +1354,33 @@ export const ApplicationRefundOrderByRelevanceFieldEnum = {
1311
1354
  };
1312
1355
  export const ApplicationPhaseOrderByRelevanceFieldEnum = {
1313
1356
  id: 'id',
1357
+ tenantId: 'tenantId',
1314
1358
  applicationId: 'applicationId',
1315
1359
  name: 'name',
1316
1360
  description: 'description'
1317
1361
  };
1318
1362
  export const QuestionnairePhaseOrderByRelevanceFieldEnum = {
1319
1363
  id: 'id',
1364
+ tenantId: 'tenantId',
1320
1365
  phaseId: 'phaseId',
1321
1366
  underwritingDecision: 'underwritingDecision',
1322
1367
  underwritingNotes: 'underwritingNotes'
1323
1368
  };
1324
1369
  export const DocumentationPhaseOrderByRelevanceFieldEnum = {
1325
1370
  id: 'id',
1371
+ tenantId: 'tenantId',
1326
1372
  phaseId: 'phaseId',
1327
1373
  currentStepId: 'currentStepId'
1328
1374
  };
1329
1375
  export const PaymentPhaseOrderByRelevanceFieldEnum = {
1330
1376
  id: 'id',
1377
+ tenantId: 'tenantId',
1331
1378
  phaseId: 'phaseId',
1332
1379
  paymentPlanId: 'paymentPlanId'
1333
1380
  };
1334
1381
  export const QuestionnaireFieldOrderByRelevanceFieldEnum = {
1335
1382
  id: 'id',
1383
+ tenantId: 'tenantId',
1336
1384
  questionnairePhaseId: 'questionnairePhaseId',
1337
1385
  name: 'name',
1338
1386
  label: 'label',
@@ -1341,6 +1389,7 @@ export const QuestionnaireFieldOrderByRelevanceFieldEnum = {
1341
1389
  };
1342
1390
  export const ApplicationEventOrderByRelevanceFieldEnum = {
1343
1391
  id: 'id',
1392
+ tenantId: 'tenantId',
1344
1393
  applicationId: 'applicationId',
1345
1394
  fromState: 'fromState',
1346
1395
  toState: 'toState',
@@ -1349,6 +1398,7 @@ export const ApplicationEventOrderByRelevanceFieldEnum = {
1349
1398
  };
1350
1399
  export const DocumentationStepOrderByRelevanceFieldEnum = {
1351
1400
  id: 'id',
1401
+ tenantId: 'tenantId',
1352
1402
  documentationPhaseId: 'documentationPhaseId',
1353
1403
  name: 'name',
1354
1404
  description: 'description',
@@ -1357,21 +1407,25 @@ export const DocumentationStepOrderByRelevanceFieldEnum = {
1357
1407
  };
1358
1408
  export const DocumentationStepDocumentOrderByRelevanceFieldEnum = {
1359
1409
  id: 'id',
1410
+ tenantId: 'tenantId',
1360
1411
  stepId: 'stepId',
1361
1412
  documentType: 'documentType'
1362
1413
  };
1363
1414
  export const DocumentationStepApprovalOrderByRelevanceFieldEnum = {
1364
1415
  id: 'id',
1416
+ tenantId: 'tenantId',
1365
1417
  stepId: 'stepId',
1366
1418
  approverId: 'approverId',
1367
1419
  comment: 'comment'
1368
1420
  };
1369
1421
  export const PaymentInstallmentOrderByRelevanceFieldEnum = {
1370
1422
  id: 'id',
1423
+ tenantId: 'tenantId',
1371
1424
  paymentPhaseId: 'paymentPhaseId'
1372
1425
  };
1373
1426
  export const ApplicationPaymentOrderByRelevanceFieldEnum = {
1374
1427
  id: 'id',
1428
+ tenantId: 'tenantId',
1375
1429
  applicationId: 'applicationId',
1376
1430
  phaseId: 'phaseId',
1377
1431
  installmentId: 'installmentId',
@@ -1382,6 +1436,7 @@ export const ApplicationPaymentOrderByRelevanceFieldEnum = {
1382
1436
  };
1383
1437
  export const ApplicationDocumentOrderByRelevanceFieldEnum = {
1384
1438
  id: 'id',
1439
+ tenantId: 'tenantId',
1385
1440
  applicationId: 'applicationId',
1386
1441
  phaseId: 'phaseId',
1387
1442
  stepId: 'stepId',
@@ -1489,6 +1544,7 @@ export const WorkflowEventOrderByRelevanceFieldEnum = {
1489
1544
  };
1490
1545
  export const EventHandlerExecutionOrderByRelevanceFieldEnum = {
1491
1546
  id: 'id',
1547
+ tenantId: 'tenantId',
1492
1548
  eventId: 'eventId',
1493
1549
  handlerId: 'handlerId',
1494
1550
  error: 'error',