@valentine-efagene/qshelter-common 2.0.152 → 2.0.154

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.
@@ -5652,6 +5652,7 @@ export declare const PropertyScalarFieldEnum: {
5652
5652
  readonly id: "id";
5653
5653
  readonly tenantId: "tenantId";
5654
5654
  readonly userId: "userId";
5655
+ readonly organizationId: "organizationId";
5655
5656
  readonly title: "title";
5656
5657
  readonly category: "category";
5657
5658
  readonly propertyType: "propertyType";
@@ -6860,6 +6861,7 @@ export declare const PropertyOrderByRelevanceFieldEnum: {
6860
6861
  readonly id: "id";
6861
6862
  readonly tenantId: "tenantId";
6862
6863
  readonly userId: "userId";
6864
+ readonly organizationId: "organizationId";
6863
6865
  readonly title: "title";
6864
6866
  readonly category: "category";
6865
6867
  readonly propertyType: "propertyType";
@@ -409,6 +409,7 @@ export const PropertyScalarFieldEnum = {
409
409
  id: 'id',
410
410
  tenantId: 'tenantId',
411
411
  userId: 'userId',
412
+ organizationId: 'organizationId',
412
413
  title: 'title',
413
414
  category: 'category',
414
415
  propertyType: 'propertyType',
@@ -1535,6 +1536,7 @@ export const PropertyOrderByRelevanceFieldEnum = {
1535
1536
  id: 'id',
1536
1537
  tenantId: 'tenantId',
1537
1538
  userId: 'userId',
1539
+ organizationId: 'organizationId',
1538
1540
  title: 'title',
1539
1541
  category: 'category',
1540
1542
  propertyType: 'propertyType',
@@ -390,6 +390,7 @@ export declare const PropertyScalarFieldEnum: {
390
390
  readonly id: "id";
391
391
  readonly tenantId: "tenantId";
392
392
  readonly userId: "userId";
393
+ readonly organizationId: "organizationId";
393
394
  readonly title: "title";
394
395
  readonly category: "category";
395
396
  readonly propertyType: "propertyType";
@@ -1598,6 +1599,7 @@ export declare const PropertyOrderByRelevanceFieldEnum: {
1598
1599
  readonly id: "id";
1599
1600
  readonly tenantId: "tenantId";
1600
1601
  readonly userId: "userId";
1602
+ readonly organizationId: "organizationId";
1601
1603
  readonly title: "title";
1602
1604
  readonly category: "category";
1603
1605
  readonly propertyType: "propertyType";
@@ -381,6 +381,7 @@ export const PropertyScalarFieldEnum = {
381
381
  id: 'id',
382
382
  tenantId: 'tenantId',
383
383
  userId: 'userId',
384
+ organizationId: 'organizationId',
384
385
  title: 'title',
385
386
  category: 'category',
386
387
  propertyType: 'propertyType',
@@ -1507,6 +1508,7 @@ export const PropertyOrderByRelevanceFieldEnum = {
1507
1508
  id: 'id',
1508
1509
  tenantId: 'tenantId',
1509
1510
  userId: 'userId',
1511
+ organizationId: 'organizationId',
1510
1512
  title: 'title',
1511
1513
  category: 'category',
1512
1514
  propertyType: 'propertyType',
@@ -305,6 +305,7 @@ export type OrganizationWhereInput = {
305
305
  applicationAssignments?: Prisma.ApplicationOrganizationListRelationFilter;
306
306
  documentRequirements?: Prisma.BankDocumentRequirementListRelationFilter;
307
307
  documentReviews?: Prisma.DocumentReviewListRelationFilter;
308
+ properties?: Prisma.PropertyListRelationFilter;
308
309
  };
309
310
  export type OrganizationOrderByWithRelationInput = {
310
311
  id?: Prisma.SortOrder;
@@ -338,6 +339,7 @@ export type OrganizationOrderByWithRelationInput = {
338
339
  applicationAssignments?: Prisma.ApplicationOrganizationOrderByRelationAggregateInput;
339
340
  documentRequirements?: Prisma.BankDocumentRequirementOrderByRelationAggregateInput;
340
341
  documentReviews?: Prisma.DocumentReviewOrderByRelationAggregateInput;
342
+ properties?: Prisma.PropertyOrderByRelationAggregateInput;
341
343
  _relevance?: Prisma.OrganizationOrderByRelevanceInput;
342
344
  };
343
345
  export type OrganizationWhereUniqueInput = Prisma.AtLeast<{
@@ -377,6 +379,7 @@ export type OrganizationWhereUniqueInput = Prisma.AtLeast<{
377
379
  applicationAssignments?: Prisma.ApplicationOrganizationListRelationFilter;
378
380
  documentRequirements?: Prisma.BankDocumentRequirementListRelationFilter;
379
381
  documentReviews?: Prisma.DocumentReviewListRelationFilter;
382
+ properties?: Prisma.PropertyListRelationFilter;
380
383
  }, "id" | "tenantId_bankCode" | "tenantId_cacNumber">;
381
384
  export type OrganizationOrderByWithAggregationInput = {
382
385
  id?: Prisma.SortOrder;
@@ -469,6 +472,7 @@ export type OrganizationCreateInput = {
469
472
  applicationAssignments?: Prisma.ApplicationOrganizationCreateNestedManyWithoutOrganizationInput;
470
473
  documentRequirements?: Prisma.BankDocumentRequirementCreateNestedManyWithoutOrganizationInput;
471
474
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutOrganizationInput;
475
+ properties?: Prisma.PropertyCreateNestedManyWithoutOrganizationInput;
472
476
  };
473
477
  export type OrganizationUncheckedCreateInput = {
474
478
  id?: string;
@@ -501,6 +505,7 @@ export type OrganizationUncheckedCreateInput = {
501
505
  applicationAssignments?: Prisma.ApplicationOrganizationUncheckedCreateNestedManyWithoutOrganizationInput;
502
506
  documentRequirements?: Prisma.BankDocumentRequirementUncheckedCreateNestedManyWithoutOrganizationInput;
503
507
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutOrganizationInput;
508
+ properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutOrganizationInput;
504
509
  };
505
510
  export type OrganizationUpdateInput = {
506
511
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -533,6 +538,7 @@ export type OrganizationUpdateInput = {
533
538
  applicationAssignments?: Prisma.ApplicationOrganizationUpdateManyWithoutOrganizationNestedInput;
534
539
  documentRequirements?: Prisma.BankDocumentRequirementUpdateManyWithoutOrganizationNestedInput;
535
540
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutOrganizationNestedInput;
541
+ properties?: Prisma.PropertyUpdateManyWithoutOrganizationNestedInput;
536
542
  };
537
543
  export type OrganizationUncheckedUpdateInput = {
538
544
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -565,6 +571,7 @@ export type OrganizationUncheckedUpdateInput = {
565
571
  applicationAssignments?: Prisma.ApplicationOrganizationUncheckedUpdateManyWithoutOrganizationNestedInput;
566
572
  documentRequirements?: Prisma.BankDocumentRequirementUncheckedUpdateManyWithoutOrganizationNestedInput;
567
573
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutOrganizationNestedInput;
574
+ properties?: Prisma.PropertyUncheckedUpdateManyWithoutOrganizationNestedInput;
568
575
  };
569
576
  export type OrganizationCreateManyInput = {
570
577
  id?: string;
@@ -833,6 +840,20 @@ export type OrganizationUncheckedUpdateManyWithoutTenantNestedInput = {
833
840
  updateMany?: Prisma.OrganizationUpdateManyWithWhereWithoutTenantInput | Prisma.OrganizationUpdateManyWithWhereWithoutTenantInput[];
834
841
  deleteMany?: Prisma.OrganizationScalarWhereInput | Prisma.OrganizationScalarWhereInput[];
835
842
  };
843
+ export type OrganizationCreateNestedOneWithoutPropertiesInput = {
844
+ create?: Prisma.XOR<Prisma.OrganizationCreateWithoutPropertiesInput, Prisma.OrganizationUncheckedCreateWithoutPropertiesInput>;
845
+ connectOrCreate?: Prisma.OrganizationCreateOrConnectWithoutPropertiesInput;
846
+ connect?: Prisma.OrganizationWhereUniqueInput;
847
+ };
848
+ export type OrganizationUpdateOneWithoutPropertiesNestedInput = {
849
+ create?: Prisma.XOR<Prisma.OrganizationCreateWithoutPropertiesInput, Prisma.OrganizationUncheckedCreateWithoutPropertiesInput>;
850
+ connectOrCreate?: Prisma.OrganizationCreateOrConnectWithoutPropertiesInput;
851
+ upsert?: Prisma.OrganizationUpsertWithoutPropertiesInput;
852
+ disconnect?: Prisma.OrganizationWhereInput | boolean;
853
+ delete?: Prisma.OrganizationWhereInput | boolean;
854
+ connect?: Prisma.OrganizationWhereUniqueInput;
855
+ update?: Prisma.XOR<Prisma.XOR<Prisma.OrganizationUpdateToOneWithWhereWithoutPropertiesInput, Prisma.OrganizationUpdateWithoutPropertiesInput>, Prisma.OrganizationUncheckedUpdateWithoutPropertiesInput>;
856
+ };
836
857
  export type OrganizationCreateNestedOneWithoutApplicationAssignmentsInput = {
837
858
  create?: Prisma.XOR<Prisma.OrganizationCreateWithoutApplicationAssignmentsInput, Prisma.OrganizationUncheckedCreateWithoutApplicationAssignmentsInput>;
838
859
  connectOrCreate?: Prisma.OrganizationCreateOrConnectWithoutApplicationAssignmentsInput;
@@ -889,6 +910,7 @@ export type OrganizationCreateWithoutTypesInput = {
889
910
  applicationAssignments?: Prisma.ApplicationOrganizationCreateNestedManyWithoutOrganizationInput;
890
911
  documentRequirements?: Prisma.BankDocumentRequirementCreateNestedManyWithoutOrganizationInput;
891
912
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutOrganizationInput;
913
+ properties?: Prisma.PropertyCreateNestedManyWithoutOrganizationInput;
892
914
  };
893
915
  export type OrganizationUncheckedCreateWithoutTypesInput = {
894
916
  id?: string;
@@ -920,6 +942,7 @@ export type OrganizationUncheckedCreateWithoutTypesInput = {
920
942
  applicationAssignments?: Prisma.ApplicationOrganizationUncheckedCreateNestedManyWithoutOrganizationInput;
921
943
  documentRequirements?: Prisma.BankDocumentRequirementUncheckedCreateNestedManyWithoutOrganizationInput;
922
944
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutOrganizationInput;
945
+ properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutOrganizationInput;
923
946
  };
924
947
  export type OrganizationCreateOrConnectWithoutTypesInput = {
925
948
  where: Prisma.OrganizationWhereUniqueInput;
@@ -964,6 +987,7 @@ export type OrganizationUpdateWithoutTypesInput = {
964
987
  applicationAssignments?: Prisma.ApplicationOrganizationUpdateManyWithoutOrganizationNestedInput;
965
988
  documentRequirements?: Prisma.BankDocumentRequirementUpdateManyWithoutOrganizationNestedInput;
966
989
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutOrganizationNestedInput;
990
+ properties?: Prisma.PropertyUpdateManyWithoutOrganizationNestedInput;
967
991
  };
968
992
  export type OrganizationUncheckedUpdateWithoutTypesInput = {
969
993
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -995,6 +1019,7 @@ export type OrganizationUncheckedUpdateWithoutTypesInput = {
995
1019
  applicationAssignments?: Prisma.ApplicationOrganizationUncheckedUpdateManyWithoutOrganizationNestedInput;
996
1020
  documentRequirements?: Prisma.BankDocumentRequirementUncheckedUpdateManyWithoutOrganizationNestedInput;
997
1021
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutOrganizationNestedInput;
1022
+ properties?: Prisma.PropertyUncheckedUpdateManyWithoutOrganizationNestedInput;
998
1023
  };
999
1024
  export type OrganizationCreateWithoutMembersInput = {
1000
1025
  id?: string;
@@ -1026,6 +1051,7 @@ export type OrganizationCreateWithoutMembersInput = {
1026
1051
  applicationAssignments?: Prisma.ApplicationOrganizationCreateNestedManyWithoutOrganizationInput;
1027
1052
  documentRequirements?: Prisma.BankDocumentRequirementCreateNestedManyWithoutOrganizationInput;
1028
1053
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutOrganizationInput;
1054
+ properties?: Prisma.PropertyCreateNestedManyWithoutOrganizationInput;
1029
1055
  };
1030
1056
  export type OrganizationUncheckedCreateWithoutMembersInput = {
1031
1057
  id?: string;
@@ -1057,6 +1083,7 @@ export type OrganizationUncheckedCreateWithoutMembersInput = {
1057
1083
  applicationAssignments?: Prisma.ApplicationOrganizationUncheckedCreateNestedManyWithoutOrganizationInput;
1058
1084
  documentRequirements?: Prisma.BankDocumentRequirementUncheckedCreateNestedManyWithoutOrganizationInput;
1059
1085
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutOrganizationInput;
1086
+ properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutOrganizationInput;
1060
1087
  };
1061
1088
  export type OrganizationCreateOrConnectWithoutMembersInput = {
1062
1089
  where: Prisma.OrganizationWhereUniqueInput;
@@ -1101,6 +1128,7 @@ export type OrganizationUpdateWithoutMembersInput = {
1101
1128
  applicationAssignments?: Prisma.ApplicationOrganizationUpdateManyWithoutOrganizationNestedInput;
1102
1129
  documentRequirements?: Prisma.BankDocumentRequirementUpdateManyWithoutOrganizationNestedInput;
1103
1130
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutOrganizationNestedInput;
1131
+ properties?: Prisma.PropertyUpdateManyWithoutOrganizationNestedInput;
1104
1132
  };
1105
1133
  export type OrganizationUncheckedUpdateWithoutMembersInput = {
1106
1134
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1132,6 +1160,7 @@ export type OrganizationUncheckedUpdateWithoutMembersInput = {
1132
1160
  applicationAssignments?: Prisma.ApplicationOrganizationUncheckedUpdateManyWithoutOrganizationNestedInput;
1133
1161
  documentRequirements?: Prisma.BankDocumentRequirementUncheckedUpdateManyWithoutOrganizationNestedInput;
1134
1162
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutOrganizationNestedInput;
1163
+ properties?: Prisma.PropertyUncheckedUpdateManyWithoutOrganizationNestedInput;
1135
1164
  };
1136
1165
  export type OrganizationCreateWithoutDocumentRequirementsInput = {
1137
1166
  id?: string;
@@ -1163,6 +1192,7 @@ export type OrganizationCreateWithoutDocumentRequirementsInput = {
1163
1192
  members?: Prisma.OrganizationMemberCreateNestedManyWithoutOrganizationInput;
1164
1193
  applicationAssignments?: Prisma.ApplicationOrganizationCreateNestedManyWithoutOrganizationInput;
1165
1194
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutOrganizationInput;
1195
+ properties?: Prisma.PropertyCreateNestedManyWithoutOrganizationInput;
1166
1196
  };
1167
1197
  export type OrganizationUncheckedCreateWithoutDocumentRequirementsInput = {
1168
1198
  id?: string;
@@ -1194,6 +1224,7 @@ export type OrganizationUncheckedCreateWithoutDocumentRequirementsInput = {
1194
1224
  members?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutOrganizationInput;
1195
1225
  applicationAssignments?: Prisma.ApplicationOrganizationUncheckedCreateNestedManyWithoutOrganizationInput;
1196
1226
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutOrganizationInput;
1227
+ properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutOrganizationInput;
1197
1228
  };
1198
1229
  export type OrganizationCreateOrConnectWithoutDocumentRequirementsInput = {
1199
1230
  where: Prisma.OrganizationWhereUniqueInput;
@@ -1238,6 +1269,7 @@ export type OrganizationUpdateWithoutDocumentRequirementsInput = {
1238
1269
  members?: Prisma.OrganizationMemberUpdateManyWithoutOrganizationNestedInput;
1239
1270
  applicationAssignments?: Prisma.ApplicationOrganizationUpdateManyWithoutOrganizationNestedInput;
1240
1271
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutOrganizationNestedInput;
1272
+ properties?: Prisma.PropertyUpdateManyWithoutOrganizationNestedInput;
1241
1273
  };
1242
1274
  export type OrganizationUncheckedUpdateWithoutDocumentRequirementsInput = {
1243
1275
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1269,6 +1301,7 @@ export type OrganizationUncheckedUpdateWithoutDocumentRequirementsInput = {
1269
1301
  members?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutOrganizationNestedInput;
1270
1302
  applicationAssignments?: Prisma.ApplicationOrganizationUncheckedUpdateManyWithoutOrganizationNestedInput;
1271
1303
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutOrganizationNestedInput;
1304
+ properties?: Prisma.PropertyUncheckedUpdateManyWithoutOrganizationNestedInput;
1272
1305
  };
1273
1306
  export type OrganizationCreateWithoutTenantInput = {
1274
1307
  id?: string;
@@ -1300,6 +1333,7 @@ export type OrganizationCreateWithoutTenantInput = {
1300
1333
  applicationAssignments?: Prisma.ApplicationOrganizationCreateNestedManyWithoutOrganizationInput;
1301
1334
  documentRequirements?: Prisma.BankDocumentRequirementCreateNestedManyWithoutOrganizationInput;
1302
1335
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutOrganizationInput;
1336
+ properties?: Prisma.PropertyCreateNestedManyWithoutOrganizationInput;
1303
1337
  };
1304
1338
  export type OrganizationUncheckedCreateWithoutTenantInput = {
1305
1339
  id?: string;
@@ -1331,6 +1365,7 @@ export type OrganizationUncheckedCreateWithoutTenantInput = {
1331
1365
  applicationAssignments?: Prisma.ApplicationOrganizationUncheckedCreateNestedManyWithoutOrganizationInput;
1332
1366
  documentRequirements?: Prisma.BankDocumentRequirementUncheckedCreateNestedManyWithoutOrganizationInput;
1333
1367
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutOrganizationInput;
1368
+ properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutOrganizationInput;
1334
1369
  };
1335
1370
  export type OrganizationCreateOrConnectWithoutTenantInput = {
1336
1371
  where: Prisma.OrganizationWhereUniqueInput;
@@ -1383,6 +1418,147 @@ export type OrganizationScalarWhereInput = {
1383
1418
  createdAt?: Prisma.DateTimeFilter<"Organization"> | Date | string;
1384
1419
  updatedAt?: Prisma.DateTimeFilter<"Organization"> | Date | string;
1385
1420
  };
1421
+ export type OrganizationCreateWithoutPropertiesInput = {
1422
+ id?: string;
1423
+ name: string;
1424
+ status?: $Enums.OrganizationStatus;
1425
+ isPlatformOrg?: boolean;
1426
+ email?: string | null;
1427
+ phone?: string | null;
1428
+ address?: string | null;
1429
+ city?: string | null;
1430
+ state?: string | null;
1431
+ country?: string | null;
1432
+ website?: string | null;
1433
+ logoUrl?: string | null;
1434
+ description?: string | null;
1435
+ bankCode?: string | null;
1436
+ bankLicenseNo?: string | null;
1437
+ swiftCode?: string | null;
1438
+ sortCode?: string | null;
1439
+ cacNumber?: string | null;
1440
+ cacCertificateUrl?: string | null;
1441
+ taxId?: string | null;
1442
+ approvedAt?: Date | string | null;
1443
+ approvedById?: string | null;
1444
+ createdAt?: Date | string;
1445
+ updatedAt?: Date | string;
1446
+ types?: Prisma.OrganizationTypeAssignmentCreateNestedManyWithoutOrganizationInput;
1447
+ tenant: Prisma.TenantCreateNestedOneWithoutOrganizationsInput;
1448
+ members?: Prisma.OrganizationMemberCreateNestedManyWithoutOrganizationInput;
1449
+ applicationAssignments?: Prisma.ApplicationOrganizationCreateNestedManyWithoutOrganizationInput;
1450
+ documentRequirements?: Prisma.BankDocumentRequirementCreateNestedManyWithoutOrganizationInput;
1451
+ documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutOrganizationInput;
1452
+ };
1453
+ export type OrganizationUncheckedCreateWithoutPropertiesInput = {
1454
+ id?: string;
1455
+ tenantId: string;
1456
+ name: string;
1457
+ status?: $Enums.OrganizationStatus;
1458
+ isPlatformOrg?: boolean;
1459
+ email?: string | null;
1460
+ phone?: string | null;
1461
+ address?: string | null;
1462
+ city?: string | null;
1463
+ state?: string | null;
1464
+ country?: string | null;
1465
+ website?: string | null;
1466
+ logoUrl?: string | null;
1467
+ description?: string | null;
1468
+ bankCode?: string | null;
1469
+ bankLicenseNo?: string | null;
1470
+ swiftCode?: string | null;
1471
+ sortCode?: string | null;
1472
+ cacNumber?: string | null;
1473
+ cacCertificateUrl?: string | null;
1474
+ taxId?: string | null;
1475
+ approvedAt?: Date | string | null;
1476
+ approvedById?: string | null;
1477
+ createdAt?: Date | string;
1478
+ updatedAt?: Date | string;
1479
+ types?: Prisma.OrganizationTypeAssignmentUncheckedCreateNestedManyWithoutOrganizationInput;
1480
+ members?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutOrganizationInput;
1481
+ applicationAssignments?: Prisma.ApplicationOrganizationUncheckedCreateNestedManyWithoutOrganizationInput;
1482
+ documentRequirements?: Prisma.BankDocumentRequirementUncheckedCreateNestedManyWithoutOrganizationInput;
1483
+ documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutOrganizationInput;
1484
+ };
1485
+ export type OrganizationCreateOrConnectWithoutPropertiesInput = {
1486
+ where: Prisma.OrganizationWhereUniqueInput;
1487
+ create: Prisma.XOR<Prisma.OrganizationCreateWithoutPropertiesInput, Prisma.OrganizationUncheckedCreateWithoutPropertiesInput>;
1488
+ };
1489
+ export type OrganizationUpsertWithoutPropertiesInput = {
1490
+ update: Prisma.XOR<Prisma.OrganizationUpdateWithoutPropertiesInput, Prisma.OrganizationUncheckedUpdateWithoutPropertiesInput>;
1491
+ create: Prisma.XOR<Prisma.OrganizationCreateWithoutPropertiesInput, Prisma.OrganizationUncheckedCreateWithoutPropertiesInput>;
1492
+ where?: Prisma.OrganizationWhereInput;
1493
+ };
1494
+ export type OrganizationUpdateToOneWithWhereWithoutPropertiesInput = {
1495
+ where?: Prisma.OrganizationWhereInput;
1496
+ data: Prisma.XOR<Prisma.OrganizationUpdateWithoutPropertiesInput, Prisma.OrganizationUncheckedUpdateWithoutPropertiesInput>;
1497
+ };
1498
+ export type OrganizationUpdateWithoutPropertiesInput = {
1499
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
1500
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
1501
+ status?: Prisma.EnumOrganizationStatusFieldUpdateOperationsInput | $Enums.OrganizationStatus;
1502
+ isPlatformOrg?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1503
+ email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1504
+ phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1505
+ address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1506
+ city?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1507
+ state?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1508
+ country?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1509
+ website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1510
+ logoUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1511
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1512
+ bankCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1513
+ bankLicenseNo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1514
+ swiftCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1515
+ sortCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1516
+ cacNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1517
+ cacCertificateUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1518
+ taxId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1519
+ approvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1520
+ approvedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1521
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1522
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1523
+ types?: Prisma.OrganizationTypeAssignmentUpdateManyWithoutOrganizationNestedInput;
1524
+ tenant?: Prisma.TenantUpdateOneRequiredWithoutOrganizationsNestedInput;
1525
+ members?: Prisma.OrganizationMemberUpdateManyWithoutOrganizationNestedInput;
1526
+ applicationAssignments?: Prisma.ApplicationOrganizationUpdateManyWithoutOrganizationNestedInput;
1527
+ documentRequirements?: Prisma.BankDocumentRequirementUpdateManyWithoutOrganizationNestedInput;
1528
+ documentReviews?: Prisma.DocumentReviewUpdateManyWithoutOrganizationNestedInput;
1529
+ };
1530
+ export type OrganizationUncheckedUpdateWithoutPropertiesInput = {
1531
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
1532
+ tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
1533
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
1534
+ status?: Prisma.EnumOrganizationStatusFieldUpdateOperationsInput | $Enums.OrganizationStatus;
1535
+ isPlatformOrg?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1536
+ email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1537
+ phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1538
+ address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1539
+ city?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1540
+ state?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1541
+ country?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1542
+ website?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1543
+ logoUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1544
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1545
+ bankCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1546
+ bankLicenseNo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1547
+ swiftCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1548
+ sortCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1549
+ cacNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1550
+ cacCertificateUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1551
+ taxId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1552
+ approvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1553
+ approvedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1554
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1555
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1556
+ types?: Prisma.OrganizationTypeAssignmentUncheckedUpdateManyWithoutOrganizationNestedInput;
1557
+ members?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutOrganizationNestedInput;
1558
+ applicationAssignments?: Prisma.ApplicationOrganizationUncheckedUpdateManyWithoutOrganizationNestedInput;
1559
+ documentRequirements?: Prisma.BankDocumentRequirementUncheckedUpdateManyWithoutOrganizationNestedInput;
1560
+ documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutOrganizationNestedInput;
1561
+ };
1386
1562
  export type OrganizationCreateWithoutApplicationAssignmentsInput = {
1387
1563
  id?: string;
1388
1564
  name: string;
@@ -1413,6 +1589,7 @@ export type OrganizationCreateWithoutApplicationAssignmentsInput = {
1413
1589
  members?: Prisma.OrganizationMemberCreateNestedManyWithoutOrganizationInput;
1414
1590
  documentRequirements?: Prisma.BankDocumentRequirementCreateNestedManyWithoutOrganizationInput;
1415
1591
  documentReviews?: Prisma.DocumentReviewCreateNestedManyWithoutOrganizationInput;
1592
+ properties?: Prisma.PropertyCreateNestedManyWithoutOrganizationInput;
1416
1593
  };
1417
1594
  export type OrganizationUncheckedCreateWithoutApplicationAssignmentsInput = {
1418
1595
  id?: string;
@@ -1444,6 +1621,7 @@ export type OrganizationUncheckedCreateWithoutApplicationAssignmentsInput = {
1444
1621
  members?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutOrganizationInput;
1445
1622
  documentRequirements?: Prisma.BankDocumentRequirementUncheckedCreateNestedManyWithoutOrganizationInput;
1446
1623
  documentReviews?: Prisma.DocumentReviewUncheckedCreateNestedManyWithoutOrganizationInput;
1624
+ properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutOrganizationInput;
1447
1625
  };
1448
1626
  export type OrganizationCreateOrConnectWithoutApplicationAssignmentsInput = {
1449
1627
  where: Prisma.OrganizationWhereUniqueInput;
@@ -1488,6 +1666,7 @@ export type OrganizationUpdateWithoutApplicationAssignmentsInput = {
1488
1666
  members?: Prisma.OrganizationMemberUpdateManyWithoutOrganizationNestedInput;
1489
1667
  documentRequirements?: Prisma.BankDocumentRequirementUpdateManyWithoutOrganizationNestedInput;
1490
1668
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutOrganizationNestedInput;
1669
+ properties?: Prisma.PropertyUpdateManyWithoutOrganizationNestedInput;
1491
1670
  };
1492
1671
  export type OrganizationUncheckedUpdateWithoutApplicationAssignmentsInput = {
1493
1672
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1519,6 +1698,7 @@ export type OrganizationUncheckedUpdateWithoutApplicationAssignmentsInput = {
1519
1698
  members?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutOrganizationNestedInput;
1520
1699
  documentRequirements?: Prisma.BankDocumentRequirementUncheckedUpdateManyWithoutOrganizationNestedInput;
1521
1700
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutOrganizationNestedInput;
1701
+ properties?: Prisma.PropertyUncheckedUpdateManyWithoutOrganizationNestedInput;
1522
1702
  };
1523
1703
  export type OrganizationCreateWithoutDocumentReviewsInput = {
1524
1704
  id?: string;
@@ -1550,6 +1730,7 @@ export type OrganizationCreateWithoutDocumentReviewsInput = {
1550
1730
  members?: Prisma.OrganizationMemberCreateNestedManyWithoutOrganizationInput;
1551
1731
  applicationAssignments?: Prisma.ApplicationOrganizationCreateNestedManyWithoutOrganizationInput;
1552
1732
  documentRequirements?: Prisma.BankDocumentRequirementCreateNestedManyWithoutOrganizationInput;
1733
+ properties?: Prisma.PropertyCreateNestedManyWithoutOrganizationInput;
1553
1734
  };
1554
1735
  export type OrganizationUncheckedCreateWithoutDocumentReviewsInput = {
1555
1736
  id?: string;
@@ -1581,6 +1762,7 @@ export type OrganizationUncheckedCreateWithoutDocumentReviewsInput = {
1581
1762
  members?: Prisma.OrganizationMemberUncheckedCreateNestedManyWithoutOrganizationInput;
1582
1763
  applicationAssignments?: Prisma.ApplicationOrganizationUncheckedCreateNestedManyWithoutOrganizationInput;
1583
1764
  documentRequirements?: Prisma.BankDocumentRequirementUncheckedCreateNestedManyWithoutOrganizationInput;
1765
+ properties?: Prisma.PropertyUncheckedCreateNestedManyWithoutOrganizationInput;
1584
1766
  };
1585
1767
  export type OrganizationCreateOrConnectWithoutDocumentReviewsInput = {
1586
1768
  where: Prisma.OrganizationWhereUniqueInput;
@@ -1625,6 +1807,7 @@ export type OrganizationUpdateWithoutDocumentReviewsInput = {
1625
1807
  members?: Prisma.OrganizationMemberUpdateManyWithoutOrganizationNestedInput;
1626
1808
  applicationAssignments?: Prisma.ApplicationOrganizationUpdateManyWithoutOrganizationNestedInput;
1627
1809
  documentRequirements?: Prisma.BankDocumentRequirementUpdateManyWithoutOrganizationNestedInput;
1810
+ properties?: Prisma.PropertyUpdateManyWithoutOrganizationNestedInput;
1628
1811
  };
1629
1812
  export type OrganizationUncheckedUpdateWithoutDocumentReviewsInput = {
1630
1813
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1656,6 +1839,7 @@ export type OrganizationUncheckedUpdateWithoutDocumentReviewsInput = {
1656
1839
  members?: Prisma.OrganizationMemberUncheckedUpdateManyWithoutOrganizationNestedInput;
1657
1840
  applicationAssignments?: Prisma.ApplicationOrganizationUncheckedUpdateManyWithoutOrganizationNestedInput;
1658
1841
  documentRequirements?: Prisma.BankDocumentRequirementUncheckedUpdateManyWithoutOrganizationNestedInput;
1842
+ properties?: Prisma.PropertyUncheckedUpdateManyWithoutOrganizationNestedInput;
1659
1843
  };
1660
1844
  export type OrganizationCreateManyTenantInput = {
1661
1845
  id?: string;
@@ -1713,6 +1897,7 @@ export type OrganizationUpdateWithoutTenantInput = {
1713
1897
  applicationAssignments?: Prisma.ApplicationOrganizationUpdateManyWithoutOrganizationNestedInput;
1714
1898
  documentRequirements?: Prisma.BankDocumentRequirementUpdateManyWithoutOrganizationNestedInput;
1715
1899
  documentReviews?: Prisma.DocumentReviewUpdateManyWithoutOrganizationNestedInput;
1900
+ properties?: Prisma.PropertyUpdateManyWithoutOrganizationNestedInput;
1716
1901
  };
1717
1902
  export type OrganizationUncheckedUpdateWithoutTenantInput = {
1718
1903
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1744,6 +1929,7 @@ export type OrganizationUncheckedUpdateWithoutTenantInput = {
1744
1929
  applicationAssignments?: Prisma.ApplicationOrganizationUncheckedUpdateManyWithoutOrganizationNestedInput;
1745
1930
  documentRequirements?: Prisma.BankDocumentRequirementUncheckedUpdateManyWithoutOrganizationNestedInput;
1746
1931
  documentReviews?: Prisma.DocumentReviewUncheckedUpdateManyWithoutOrganizationNestedInput;
1932
+ properties?: Prisma.PropertyUncheckedUpdateManyWithoutOrganizationNestedInput;
1747
1933
  };
1748
1934
  export type OrganizationUncheckedUpdateManyWithoutTenantInput = {
1749
1935
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -1780,6 +1966,7 @@ export type OrganizationCountOutputType = {
1780
1966
  applicationAssignments: number;
1781
1967
  documentRequirements: number;
1782
1968
  documentReviews: number;
1969
+ properties: number;
1783
1970
  };
1784
1971
  export type OrganizationCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1785
1972
  types?: boolean | OrganizationCountOutputTypeCountTypesArgs;
@@ -1787,6 +1974,7 @@ export type OrganizationCountOutputTypeSelect<ExtArgs extends runtime.Types.Exte
1787
1974
  applicationAssignments?: boolean | OrganizationCountOutputTypeCountApplicationAssignmentsArgs;
1788
1975
  documentRequirements?: boolean | OrganizationCountOutputTypeCountDocumentRequirementsArgs;
1789
1976
  documentReviews?: boolean | OrganizationCountOutputTypeCountDocumentReviewsArgs;
1977
+ properties?: boolean | OrganizationCountOutputTypeCountPropertiesArgs;
1790
1978
  };
1791
1979
  /**
1792
1980
  * OrganizationCountOutputType without action
@@ -1827,6 +2015,12 @@ export type OrganizationCountOutputTypeCountDocumentRequirementsArgs<ExtArgs ext
1827
2015
  export type OrganizationCountOutputTypeCountDocumentReviewsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1828
2016
  where?: Prisma.DocumentReviewWhereInput;
1829
2017
  };
2018
+ /**
2019
+ * OrganizationCountOutputType without action
2020
+ */
2021
+ export type OrganizationCountOutputTypeCountPropertiesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2022
+ where?: Prisma.PropertyWhereInput;
2023
+ };
1830
2024
  export type OrganizationSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1831
2025
  id?: boolean;
1832
2026
  tenantId?: boolean;
@@ -1859,6 +2053,7 @@ export type OrganizationSelect<ExtArgs extends runtime.Types.Extensions.Internal
1859
2053
  applicationAssignments?: boolean | Prisma.Organization$applicationAssignmentsArgs<ExtArgs>;
1860
2054
  documentRequirements?: boolean | Prisma.Organization$documentRequirementsArgs<ExtArgs>;
1861
2055
  documentReviews?: boolean | Prisma.Organization$documentReviewsArgs<ExtArgs>;
2056
+ properties?: boolean | Prisma.Organization$propertiesArgs<ExtArgs>;
1862
2057
  _count?: boolean | Prisma.OrganizationCountOutputTypeDefaultArgs<ExtArgs>;
1863
2058
  }, ExtArgs["result"]["organization"]>;
1864
2059
  export type OrganizationSelectScalar = {
@@ -1896,6 +2091,7 @@ export type OrganizationInclude<ExtArgs extends runtime.Types.Extensions.Interna
1896
2091
  applicationAssignments?: boolean | Prisma.Organization$applicationAssignmentsArgs<ExtArgs>;
1897
2092
  documentRequirements?: boolean | Prisma.Organization$documentRequirementsArgs<ExtArgs>;
1898
2093
  documentReviews?: boolean | Prisma.Organization$documentReviewsArgs<ExtArgs>;
2094
+ properties?: boolean | Prisma.Organization$propertiesArgs<ExtArgs>;
1899
2095
  _count?: boolean | Prisma.OrganizationCountOutputTypeDefaultArgs<ExtArgs>;
1900
2096
  };
1901
2097
  export type $OrganizationPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
@@ -1907,6 +2103,7 @@ export type $OrganizationPayload<ExtArgs extends runtime.Types.Extensions.Intern
1907
2103
  applicationAssignments: Prisma.$ApplicationOrganizationPayload<ExtArgs>[];
1908
2104
  documentRequirements: Prisma.$BankDocumentRequirementPayload<ExtArgs>[];
1909
2105
  documentReviews: Prisma.$DocumentReviewPayload<ExtArgs>[];
2106
+ properties: Prisma.$PropertyPayload<ExtArgs>[];
1910
2107
  };
1911
2108
  scalars: runtime.Types.Extensions.GetPayloadResult<{
1912
2109
  id: string;
@@ -2217,6 +2414,7 @@ export interface Prisma__OrganizationClient<T, Null = never, ExtArgs extends run
2217
2414
  applicationAssignments<T extends Prisma.Organization$applicationAssignmentsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Organization$applicationAssignmentsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ApplicationOrganizationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
2218
2415
  documentRequirements<T extends Prisma.Organization$documentRequirementsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Organization$documentRequirementsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BankDocumentRequirementPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
2219
2416
  documentReviews<T extends Prisma.Organization$documentReviewsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Organization$documentReviewsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DocumentReviewPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
2417
+ properties<T extends Prisma.Organization$propertiesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Organization$propertiesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PropertyPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
2220
2418
  /**
2221
2419
  * Attaches callbacks for the resolution and/or rejection of the Promise.
2222
2420
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -2709,6 +2907,29 @@ export type Organization$documentReviewsArgs<ExtArgs extends runtime.Types.Exten
2709
2907
  skip?: number;
2710
2908
  distinct?: Prisma.DocumentReviewScalarFieldEnum | Prisma.DocumentReviewScalarFieldEnum[];
2711
2909
  };
2910
+ /**
2911
+ * Organization.properties
2912
+ */
2913
+ export type Organization$propertiesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2914
+ /**
2915
+ * Select specific fields to fetch from the Property
2916
+ */
2917
+ select?: Prisma.PropertySelect<ExtArgs> | null;
2918
+ /**
2919
+ * Omit specific fields from the Property
2920
+ */
2921
+ omit?: Prisma.PropertyOmit<ExtArgs> | null;
2922
+ /**
2923
+ * Choose, which related nodes to fetch as well
2924
+ */
2925
+ include?: Prisma.PropertyInclude<ExtArgs> | null;
2926
+ where?: Prisma.PropertyWhereInput;
2927
+ orderBy?: Prisma.PropertyOrderByWithRelationInput | Prisma.PropertyOrderByWithRelationInput[];
2928
+ cursor?: Prisma.PropertyWhereUniqueInput;
2929
+ take?: number;
2930
+ skip?: number;
2931
+ distinct?: Prisma.PropertyScalarFieldEnum | Prisma.PropertyScalarFieldEnum[];
2932
+ };
2712
2933
  /**
2713
2934
  * Organization without action
2714
2935
  */