@valentine-efagene/qshelter-common 2.0.150 → 2.0.152
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 +13 -2
- package/dist/generated/client/client.d.ts +15 -4
- package/dist/generated/client/client.js +2 -2
- package/dist/generated/client/commonInputTypes.d.ts +50 -190
- package/dist/generated/client/enums.d.ts +7 -34
- package/dist/generated/client/enums.js +6 -30
- package/dist/generated/client/internal/class.d.ts +29 -7
- package/dist/generated/client/internal/class.js +2 -2
- package/dist/generated/client/internal/prismaNamespace.d.ts +185 -34
- package/dist/generated/client/internal/prismaNamespace.js +42 -13
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +46 -13
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +42 -13
- package/dist/generated/client/models/ApplicationOrganization.d.ts +308 -67
- package/dist/generated/client/models/ApprovalStage.d.ts +210 -91
- package/dist/generated/client/models/ApprovalStageProgress.d.ts +258 -69
- package/dist/generated/client/models/DocumentApproval.d.ts +196 -65
- package/dist/generated/client/models/DocumentReview.d.ts +475 -86
- package/dist/generated/client/models/Organization.d.ts +424 -52
- package/dist/generated/client/models/OrganizationMember.d.ts +42 -169
- package/dist/generated/client/models/OrganizationType.d.ts +1982 -0
- package/dist/generated/client/models/OrganizationType.js +1 -0
- package/dist/generated/client/models/OrganizationTypeAssignment.d.ts +1159 -0
- package/dist/generated/client/models/OrganizationTypeAssignment.js +1 -0
- package/dist/generated/client/models/Property.d.ts +59 -120
- package/dist/generated/client/models/Tenant.d.ts +575 -4
- package/dist/generated/client/models/User.d.ts +0 -12
- package/dist/generated/client/models/index.d.ts +2 -0
- package/dist/generated/client/models/index.js +2 -0
- package/dist/generated/client/models.d.ts +2 -0
- package/package.json +1 -1
- package/prisma/migrations/20260125090213_remove_is_published_use_status_enum/migration.sql +10 -0
- package/prisma/migrations/20260125102448_org_types_many_to_many/migration.sql +153 -0
- package/prisma/migrations/20260125103700_20260125102448_org_types_many_to_many_fix/migration.sql +5 -0
- package/prisma/schema.prisma +121 -81
|
@@ -231,6 +231,8 @@ export type ExcludeUnderscoreKeys<T extends string> = T extends `_${string}` ? n
|
|
|
231
231
|
export type FieldRef<Model, FieldType> = runtime.FieldRef<Model, FieldType>;
|
|
232
232
|
type FieldRefInputType<Model, FieldType> = Model extends never ? never : FieldRef<Model, FieldType>;
|
|
233
233
|
export declare const ModelName: {
|
|
234
|
+
readonly OrganizationType: "OrganizationType";
|
|
235
|
+
readonly OrganizationTypeAssignment: "OrganizationTypeAssignment";
|
|
234
236
|
readonly User: "User";
|
|
235
237
|
readonly Role: "Role";
|
|
236
238
|
readonly Permission: "Permission";
|
|
@@ -317,10 +319,142 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
|
|
|
317
319
|
omit: GlobalOmitOptions;
|
|
318
320
|
};
|
|
319
321
|
meta: {
|
|
320
|
-
modelProps: "user" | "role" | "permission" | "rolePermission" | "userRole" | "tenantMembership" | "organization" | "organizationMember" | "bankDocumentRequirement" | "tenant" | "apiKey" | "refreshToken" | "passwordReset" | "userSuspension" | "emailPreference" | "deviceEndpoint" | "social" | "oAuthState" | "wallet" | "transaction" | "settings" | "property" | "propertyMedia" | "propertyDocument" | "amenity" | "propertyVariant" | "propertyVariantAmenity" | "propertyVariantMedia" | "propertyUnit" | "propertyAmenity" | "documentationPlan" | "documentDefinition" | "approvalStage" | "questionnairePlan" | "questionnairePlanQuestion" | "paymentPlan" | "propertyPaymentMethod" | "propertyPaymentMethodLink" | "propertyPaymentMethodPhase" | "phaseEventAttachment" | "paymentMethodPhaseStep" | "stepEventAttachment" | "paymentMethodPhaseDocument" | "paymentMethodPhaseField" | "application" | "applicationOrganization" | "applicationRefund" | "applicationPhase" | "questionnairePhase" | "questionnairePhaseReview" | "documentationPhase" | "paymentPhase" | "questionnaireField" | "applicationEvent" | "paymentInstallment" | "applicationPayment" | "applicationDocument" | "documentReview" | "approvalStageProgress" | "documentApproval" | "documentTemplate" | "offerLetter" | "applicationTermination" | "paymentMethodChangeRequest" | "documentRequirementRule" | "eventChannel" | "eventType" | "eventHandler" | "domainEvent" | "propertyTransferRequest" | "approvalRequest" | "workflowBlocker" | "scheduledJob" | "documentExpiryWarning";
|
|
322
|
+
modelProps: "organizationType" | "organizationTypeAssignment" | "user" | "role" | "permission" | "rolePermission" | "userRole" | "tenantMembership" | "organization" | "organizationMember" | "bankDocumentRequirement" | "tenant" | "apiKey" | "refreshToken" | "passwordReset" | "userSuspension" | "emailPreference" | "deviceEndpoint" | "social" | "oAuthState" | "wallet" | "transaction" | "settings" | "property" | "propertyMedia" | "propertyDocument" | "amenity" | "propertyVariant" | "propertyVariantAmenity" | "propertyVariantMedia" | "propertyUnit" | "propertyAmenity" | "documentationPlan" | "documentDefinition" | "approvalStage" | "questionnairePlan" | "questionnairePlanQuestion" | "paymentPlan" | "propertyPaymentMethod" | "propertyPaymentMethodLink" | "propertyPaymentMethodPhase" | "phaseEventAttachment" | "paymentMethodPhaseStep" | "stepEventAttachment" | "paymentMethodPhaseDocument" | "paymentMethodPhaseField" | "application" | "applicationOrganization" | "applicationRefund" | "applicationPhase" | "questionnairePhase" | "questionnairePhaseReview" | "documentationPhase" | "paymentPhase" | "questionnaireField" | "applicationEvent" | "paymentInstallment" | "applicationPayment" | "applicationDocument" | "documentReview" | "approvalStageProgress" | "documentApproval" | "documentTemplate" | "offerLetter" | "applicationTermination" | "paymentMethodChangeRequest" | "documentRequirementRule" | "eventChannel" | "eventType" | "eventHandler" | "domainEvent" | "propertyTransferRequest" | "approvalRequest" | "workflowBlocker" | "scheduledJob" | "documentExpiryWarning";
|
|
321
323
|
txIsolationLevel: TransactionIsolationLevel;
|
|
322
324
|
};
|
|
323
325
|
model: {
|
|
326
|
+
OrganizationType: {
|
|
327
|
+
payload: Prisma.$OrganizationTypePayload<ExtArgs>;
|
|
328
|
+
fields: Prisma.OrganizationTypeFieldRefs;
|
|
329
|
+
operations: {
|
|
330
|
+
findUnique: {
|
|
331
|
+
args: Prisma.OrganizationTypeFindUniqueArgs<ExtArgs>;
|
|
332
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$OrganizationTypePayload> | null;
|
|
333
|
+
};
|
|
334
|
+
findUniqueOrThrow: {
|
|
335
|
+
args: Prisma.OrganizationTypeFindUniqueOrThrowArgs<ExtArgs>;
|
|
336
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$OrganizationTypePayload>;
|
|
337
|
+
};
|
|
338
|
+
findFirst: {
|
|
339
|
+
args: Prisma.OrganizationTypeFindFirstArgs<ExtArgs>;
|
|
340
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$OrganizationTypePayload> | null;
|
|
341
|
+
};
|
|
342
|
+
findFirstOrThrow: {
|
|
343
|
+
args: Prisma.OrganizationTypeFindFirstOrThrowArgs<ExtArgs>;
|
|
344
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$OrganizationTypePayload>;
|
|
345
|
+
};
|
|
346
|
+
findMany: {
|
|
347
|
+
args: Prisma.OrganizationTypeFindManyArgs<ExtArgs>;
|
|
348
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$OrganizationTypePayload>[];
|
|
349
|
+
};
|
|
350
|
+
create: {
|
|
351
|
+
args: Prisma.OrganizationTypeCreateArgs<ExtArgs>;
|
|
352
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$OrganizationTypePayload>;
|
|
353
|
+
};
|
|
354
|
+
createMany: {
|
|
355
|
+
args: Prisma.OrganizationTypeCreateManyArgs<ExtArgs>;
|
|
356
|
+
result: BatchPayload;
|
|
357
|
+
};
|
|
358
|
+
delete: {
|
|
359
|
+
args: Prisma.OrganizationTypeDeleteArgs<ExtArgs>;
|
|
360
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$OrganizationTypePayload>;
|
|
361
|
+
};
|
|
362
|
+
update: {
|
|
363
|
+
args: Prisma.OrganizationTypeUpdateArgs<ExtArgs>;
|
|
364
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$OrganizationTypePayload>;
|
|
365
|
+
};
|
|
366
|
+
deleteMany: {
|
|
367
|
+
args: Prisma.OrganizationTypeDeleteManyArgs<ExtArgs>;
|
|
368
|
+
result: BatchPayload;
|
|
369
|
+
};
|
|
370
|
+
updateMany: {
|
|
371
|
+
args: Prisma.OrganizationTypeUpdateManyArgs<ExtArgs>;
|
|
372
|
+
result: BatchPayload;
|
|
373
|
+
};
|
|
374
|
+
upsert: {
|
|
375
|
+
args: Prisma.OrganizationTypeUpsertArgs<ExtArgs>;
|
|
376
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$OrganizationTypePayload>;
|
|
377
|
+
};
|
|
378
|
+
aggregate: {
|
|
379
|
+
args: Prisma.OrganizationTypeAggregateArgs<ExtArgs>;
|
|
380
|
+
result: runtime.Types.Utils.Optional<Prisma.AggregateOrganizationType>;
|
|
381
|
+
};
|
|
382
|
+
groupBy: {
|
|
383
|
+
args: Prisma.OrganizationTypeGroupByArgs<ExtArgs>;
|
|
384
|
+
result: runtime.Types.Utils.Optional<Prisma.OrganizationTypeGroupByOutputType>[];
|
|
385
|
+
};
|
|
386
|
+
count: {
|
|
387
|
+
args: Prisma.OrganizationTypeCountArgs<ExtArgs>;
|
|
388
|
+
result: runtime.Types.Utils.Optional<Prisma.OrganizationTypeCountAggregateOutputType> | number;
|
|
389
|
+
};
|
|
390
|
+
};
|
|
391
|
+
};
|
|
392
|
+
OrganizationTypeAssignment: {
|
|
393
|
+
payload: Prisma.$OrganizationTypeAssignmentPayload<ExtArgs>;
|
|
394
|
+
fields: Prisma.OrganizationTypeAssignmentFieldRefs;
|
|
395
|
+
operations: {
|
|
396
|
+
findUnique: {
|
|
397
|
+
args: Prisma.OrganizationTypeAssignmentFindUniqueArgs<ExtArgs>;
|
|
398
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$OrganizationTypeAssignmentPayload> | null;
|
|
399
|
+
};
|
|
400
|
+
findUniqueOrThrow: {
|
|
401
|
+
args: Prisma.OrganizationTypeAssignmentFindUniqueOrThrowArgs<ExtArgs>;
|
|
402
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$OrganizationTypeAssignmentPayload>;
|
|
403
|
+
};
|
|
404
|
+
findFirst: {
|
|
405
|
+
args: Prisma.OrganizationTypeAssignmentFindFirstArgs<ExtArgs>;
|
|
406
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$OrganizationTypeAssignmentPayload> | null;
|
|
407
|
+
};
|
|
408
|
+
findFirstOrThrow: {
|
|
409
|
+
args: Prisma.OrganizationTypeAssignmentFindFirstOrThrowArgs<ExtArgs>;
|
|
410
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$OrganizationTypeAssignmentPayload>;
|
|
411
|
+
};
|
|
412
|
+
findMany: {
|
|
413
|
+
args: Prisma.OrganizationTypeAssignmentFindManyArgs<ExtArgs>;
|
|
414
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$OrganizationTypeAssignmentPayload>[];
|
|
415
|
+
};
|
|
416
|
+
create: {
|
|
417
|
+
args: Prisma.OrganizationTypeAssignmentCreateArgs<ExtArgs>;
|
|
418
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$OrganizationTypeAssignmentPayload>;
|
|
419
|
+
};
|
|
420
|
+
createMany: {
|
|
421
|
+
args: Prisma.OrganizationTypeAssignmentCreateManyArgs<ExtArgs>;
|
|
422
|
+
result: BatchPayload;
|
|
423
|
+
};
|
|
424
|
+
delete: {
|
|
425
|
+
args: Prisma.OrganizationTypeAssignmentDeleteArgs<ExtArgs>;
|
|
426
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$OrganizationTypeAssignmentPayload>;
|
|
427
|
+
};
|
|
428
|
+
update: {
|
|
429
|
+
args: Prisma.OrganizationTypeAssignmentUpdateArgs<ExtArgs>;
|
|
430
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$OrganizationTypeAssignmentPayload>;
|
|
431
|
+
};
|
|
432
|
+
deleteMany: {
|
|
433
|
+
args: Prisma.OrganizationTypeAssignmentDeleteManyArgs<ExtArgs>;
|
|
434
|
+
result: BatchPayload;
|
|
435
|
+
};
|
|
436
|
+
updateMany: {
|
|
437
|
+
args: Prisma.OrganizationTypeAssignmentUpdateManyArgs<ExtArgs>;
|
|
438
|
+
result: BatchPayload;
|
|
439
|
+
};
|
|
440
|
+
upsert: {
|
|
441
|
+
args: Prisma.OrganizationTypeAssignmentUpsertArgs<ExtArgs>;
|
|
442
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$OrganizationTypeAssignmentPayload>;
|
|
443
|
+
};
|
|
444
|
+
aggregate: {
|
|
445
|
+
args: Prisma.OrganizationTypeAssignmentAggregateArgs<ExtArgs>;
|
|
446
|
+
result: runtime.Types.Utils.Optional<Prisma.AggregateOrganizationTypeAssignment>;
|
|
447
|
+
};
|
|
448
|
+
groupBy: {
|
|
449
|
+
args: Prisma.OrganizationTypeAssignmentGroupByArgs<ExtArgs>;
|
|
450
|
+
result: runtime.Types.Utils.Optional<Prisma.OrganizationTypeAssignmentGroupByOutputType>[];
|
|
451
|
+
};
|
|
452
|
+
count: {
|
|
453
|
+
args: Prisma.OrganizationTypeAssignmentCountArgs<ExtArgs>;
|
|
454
|
+
result: runtime.Types.Utils.Optional<Prisma.OrganizationTypeAssignmentCountAggregateOutputType> | number;
|
|
455
|
+
};
|
|
456
|
+
};
|
|
457
|
+
};
|
|
324
458
|
User: {
|
|
325
459
|
payload: Prisma.$UserPayload<ExtArgs>;
|
|
326
460
|
fields: Prisma.UserFieldRefs;
|
|
@@ -5239,6 +5373,25 @@ export declare const TransactionIsolationLevel: {
|
|
|
5239
5373
|
readonly Serializable: "Serializable";
|
|
5240
5374
|
};
|
|
5241
5375
|
export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel];
|
|
5376
|
+
export declare const OrganizationTypeScalarFieldEnum: {
|
|
5377
|
+
readonly id: "id";
|
|
5378
|
+
readonly tenantId: "tenantId";
|
|
5379
|
+
readonly code: "code";
|
|
5380
|
+
readonly name: "name";
|
|
5381
|
+
readonly description: "description";
|
|
5382
|
+
readonly isSystemType: "isSystemType";
|
|
5383
|
+
readonly createdAt: "createdAt";
|
|
5384
|
+
readonly updatedAt: "updatedAt";
|
|
5385
|
+
};
|
|
5386
|
+
export type OrganizationTypeScalarFieldEnum = (typeof OrganizationTypeScalarFieldEnum)[keyof typeof OrganizationTypeScalarFieldEnum];
|
|
5387
|
+
export declare const OrganizationTypeAssignmentScalarFieldEnum: {
|
|
5388
|
+
readonly id: "id";
|
|
5389
|
+
readonly organizationId: "organizationId";
|
|
5390
|
+
readonly typeId: "typeId";
|
|
5391
|
+
readonly isPrimary: "isPrimary";
|
|
5392
|
+
readonly createdAt: "createdAt";
|
|
5393
|
+
};
|
|
5394
|
+
export type OrganizationTypeAssignmentScalarFieldEnum = (typeof OrganizationTypeAssignmentScalarFieldEnum)[keyof typeof OrganizationTypeAssignmentScalarFieldEnum];
|
|
5242
5395
|
export declare const UserScalarFieldEnum: {
|
|
5243
5396
|
readonly id: "id";
|
|
5244
5397
|
readonly email: "email";
|
|
@@ -5310,7 +5463,6 @@ export declare const OrganizationScalarFieldEnum: {
|
|
|
5310
5463
|
readonly id: "id";
|
|
5311
5464
|
readonly tenantId: "tenantId";
|
|
5312
5465
|
readonly name: "name";
|
|
5313
|
-
readonly type: "type";
|
|
5314
5466
|
readonly status: "status";
|
|
5315
5467
|
readonly isPlatformOrg: "isPlatformOrg";
|
|
5316
5468
|
readonly email: "email";
|
|
@@ -5339,16 +5491,14 @@ export declare const OrganizationMemberScalarFieldEnum: {
|
|
|
5339
5491
|
readonly id: "id";
|
|
5340
5492
|
readonly organizationId: "organizationId";
|
|
5341
5493
|
readonly userId: "userId";
|
|
5342
|
-
readonly role: "role";
|
|
5343
5494
|
readonly title: "title";
|
|
5344
5495
|
readonly department: "department";
|
|
5345
5496
|
readonly employeeId: "employeeId";
|
|
5346
5497
|
readonly isActive: "isActive";
|
|
5347
|
-
readonly canApprove: "canApprove";
|
|
5348
|
-
readonly approvalLimit: "approvalLimit";
|
|
5349
5498
|
readonly invitedAt: "invitedAt";
|
|
5350
5499
|
readonly acceptedAt: "acceptedAt";
|
|
5351
5500
|
readonly invitedBy: "invitedBy";
|
|
5501
|
+
readonly joinedAt: "joinedAt";
|
|
5352
5502
|
readonly createdAt: "createdAt";
|
|
5353
5503
|
readonly updatedAt: "updatedAt";
|
|
5354
5504
|
};
|
|
@@ -5516,7 +5666,6 @@ export declare const PropertyScalarFieldEnum: {
|
|
|
5516
5666
|
readonly status: "status";
|
|
5517
5667
|
readonly description: "description";
|
|
5518
5668
|
readonly displayImageId: "displayImageId";
|
|
5519
|
-
readonly isPublished: "isPublished";
|
|
5520
5669
|
readonly publishedAt: "publishedAt";
|
|
5521
5670
|
readonly createdAt: "createdAt";
|
|
5522
5671
|
readonly updatedAt: "updatedAt";
|
|
@@ -5657,13 +5806,12 @@ export declare const ApprovalStageScalarFieldEnum: {
|
|
|
5657
5806
|
readonly planId: "planId";
|
|
5658
5807
|
readonly name: "name";
|
|
5659
5808
|
readonly order: "order";
|
|
5660
|
-
readonly
|
|
5809
|
+
readonly organizationTypeId: "organizationTypeId";
|
|
5661
5810
|
readonly autoTransition: "autoTransition";
|
|
5662
5811
|
readonly waitForAllDocuments: "waitForAllDocuments";
|
|
5663
5812
|
readonly allowEarlyVisibility: "allowEarlyVisibility";
|
|
5664
5813
|
readonly onRejection: "onRejection";
|
|
5665
5814
|
readonly restartFromStageOrder: "restartFromStageOrder";
|
|
5666
|
-
readonly organizationId: "organizationId";
|
|
5667
5815
|
readonly slaHours: "slaHours";
|
|
5668
5816
|
readonly description: "description";
|
|
5669
5817
|
readonly createdAt: "createdAt";
|
|
@@ -5876,7 +6024,7 @@ export declare const ApplicationOrganizationScalarFieldEnum: {
|
|
|
5876
6024
|
readonly tenantId: "tenantId";
|
|
5877
6025
|
readonly applicationId: "applicationId";
|
|
5878
6026
|
readonly organizationId: "organizationId";
|
|
5879
|
-
readonly
|
|
6027
|
+
readonly assignedAsTypeId: "assignedAsTypeId";
|
|
5880
6028
|
readonly status: "status";
|
|
5881
6029
|
readonly assignedById: "assignedById";
|
|
5882
6030
|
readonly assignedAt: "assignedAt";
|
|
@@ -6125,8 +6273,8 @@ export declare const DocumentReviewScalarFieldEnum: {
|
|
|
6125
6273
|
readonly id: "id";
|
|
6126
6274
|
readonly tenantId: "tenantId";
|
|
6127
6275
|
readonly documentId: "documentId";
|
|
6128
|
-
readonly reviewParty: "reviewParty";
|
|
6129
6276
|
readonly organizationId: "organizationId";
|
|
6277
|
+
readonly organizationTypeId: "organizationTypeId";
|
|
6130
6278
|
readonly reviewerId: "reviewerId";
|
|
6131
6279
|
readonly reviewerName: "reviewerName";
|
|
6132
6280
|
readonly decision: "decision";
|
|
@@ -6148,7 +6296,7 @@ export declare const ApprovalStageProgressScalarFieldEnum: {
|
|
|
6148
6296
|
readonly approvalStageId: "approvalStageId";
|
|
6149
6297
|
readonly name: "name";
|
|
6150
6298
|
readonly order: "order";
|
|
6151
|
-
readonly
|
|
6299
|
+
readonly organizationTypeId: "organizationTypeId";
|
|
6152
6300
|
readonly autoTransition: "autoTransition";
|
|
6153
6301
|
readonly waitForAllDocuments: "waitForAllDocuments";
|
|
6154
6302
|
readonly allowEarlyVisibility: "allowEarlyVisibility";
|
|
@@ -6169,7 +6317,7 @@ export declare const DocumentApprovalScalarFieldEnum: {
|
|
|
6169
6317
|
readonly documentId: "documentId";
|
|
6170
6318
|
readonly stageProgressId: "stageProgressId";
|
|
6171
6319
|
readonly reviewerId: "reviewerId";
|
|
6172
|
-
readonly
|
|
6320
|
+
readonly organizationTypeId: "organizationTypeId";
|
|
6173
6321
|
readonly decision: "decision";
|
|
6174
6322
|
readonly comment: "comment";
|
|
6175
6323
|
readonly reviewedAt: "reviewedAt";
|
|
@@ -6507,6 +6655,20 @@ export declare const NullsOrder: {
|
|
|
6507
6655
|
readonly last: "last";
|
|
6508
6656
|
};
|
|
6509
6657
|
export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder];
|
|
6658
|
+
export declare const OrganizationTypeOrderByRelevanceFieldEnum: {
|
|
6659
|
+
readonly id: "id";
|
|
6660
|
+
readonly tenantId: "tenantId";
|
|
6661
|
+
readonly code: "code";
|
|
6662
|
+
readonly name: "name";
|
|
6663
|
+
readonly description: "description";
|
|
6664
|
+
};
|
|
6665
|
+
export type OrganizationTypeOrderByRelevanceFieldEnum = (typeof OrganizationTypeOrderByRelevanceFieldEnum)[keyof typeof OrganizationTypeOrderByRelevanceFieldEnum];
|
|
6666
|
+
export declare const OrganizationTypeAssignmentOrderByRelevanceFieldEnum: {
|
|
6667
|
+
readonly id: "id";
|
|
6668
|
+
readonly organizationId: "organizationId";
|
|
6669
|
+
readonly typeId: "typeId";
|
|
6670
|
+
};
|
|
6671
|
+
export type OrganizationTypeAssignmentOrderByRelevanceFieldEnum = (typeof OrganizationTypeAssignmentOrderByRelevanceFieldEnum)[keyof typeof OrganizationTypeAssignmentOrderByRelevanceFieldEnum];
|
|
6510
6672
|
export declare const UserOrderByRelevanceFieldEnum: {
|
|
6511
6673
|
readonly id: "id";
|
|
6512
6674
|
readonly email: "email";
|
|
@@ -6707,7 +6869,6 @@ export declare const PropertyOrderByRelevanceFieldEnum: {
|
|
|
6707
6869
|
readonly district: "district";
|
|
6708
6870
|
readonly zipCode: "zipCode";
|
|
6709
6871
|
readonly streetAddress: "streetAddress";
|
|
6710
|
-
readonly status: "status";
|
|
6711
6872
|
readonly description: "description";
|
|
6712
6873
|
readonly displayImageId: "displayImageId";
|
|
6713
6874
|
};
|
|
@@ -6800,7 +6961,7 @@ export declare const ApprovalStageOrderByRelevanceFieldEnum: {
|
|
|
6800
6961
|
readonly id: "id";
|
|
6801
6962
|
readonly planId: "planId";
|
|
6802
6963
|
readonly name: "name";
|
|
6803
|
-
readonly
|
|
6964
|
+
readonly organizationTypeId: "organizationTypeId";
|
|
6804
6965
|
readonly description: "description";
|
|
6805
6966
|
};
|
|
6806
6967
|
export type ApprovalStageOrderByRelevanceFieldEnum = (typeof ApprovalStageOrderByRelevanceFieldEnum)[keyof typeof ApprovalStageOrderByRelevanceFieldEnum];
|
|
@@ -6912,6 +7073,7 @@ export declare const ApplicationOrganizationOrderByRelevanceFieldEnum: {
|
|
|
6912
7073
|
readonly tenantId: "tenantId";
|
|
6913
7074
|
readonly applicationId: "applicationId";
|
|
6914
7075
|
readonly organizationId: "organizationId";
|
|
7076
|
+
readonly assignedAsTypeId: "assignedAsTypeId";
|
|
6915
7077
|
readonly assignedById: "assignedById";
|
|
6916
7078
|
readonly declineReason: "declineReason";
|
|
6917
7079
|
readonly escalatedToUserId: "escalatedToUserId";
|
|
@@ -7036,6 +7198,7 @@ export declare const DocumentReviewOrderByRelevanceFieldEnum: {
|
|
|
7036
7198
|
readonly tenantId: "tenantId";
|
|
7037
7199
|
readonly documentId: "documentId";
|
|
7038
7200
|
readonly organizationId: "organizationId";
|
|
7201
|
+
readonly organizationTypeId: "organizationTypeId";
|
|
7039
7202
|
readonly reviewerId: "reviewerId";
|
|
7040
7203
|
readonly reviewerName: "reviewerName";
|
|
7041
7204
|
readonly comments: "comments";
|
|
@@ -7048,6 +7211,7 @@ export declare const ApprovalStageProgressOrderByRelevanceFieldEnum: {
|
|
|
7048
7211
|
readonly documentationPhaseId: "documentationPhaseId";
|
|
7049
7212
|
readonly approvalStageId: "approvalStageId";
|
|
7050
7213
|
readonly name: "name";
|
|
7214
|
+
readonly organizationTypeId: "organizationTypeId";
|
|
7051
7215
|
readonly completedById: "completedById";
|
|
7052
7216
|
readonly transitionComment: "transitionComment";
|
|
7053
7217
|
};
|
|
@@ -7058,6 +7222,7 @@ export declare const DocumentApprovalOrderByRelevanceFieldEnum: {
|
|
|
7058
7222
|
readonly documentId: "documentId";
|
|
7059
7223
|
readonly stageProgressId: "stageProgressId";
|
|
7060
7224
|
readonly reviewerId: "reviewerId";
|
|
7225
|
+
readonly organizationTypeId: "organizationTypeId";
|
|
7061
7226
|
readonly comment: "comment";
|
|
7062
7227
|
};
|
|
7063
7228
|
export type DocumentApprovalOrderByRelevanceFieldEnum = (typeof DocumentApprovalOrderByRelevanceFieldEnum)[keyof typeof DocumentApprovalOrderByRelevanceFieldEnum];
|
|
@@ -7251,22 +7416,10 @@ export type EnumQueryModeFieldRefInput<$PrismaModel> = FieldRefInputType<$Prisma
|
|
|
7251
7416
|
* Reference to a field of type 'PermissionEffect'
|
|
7252
7417
|
*/
|
|
7253
7418
|
export type EnumPermissionEffectFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'PermissionEffect'>;
|
|
7254
|
-
/**
|
|
7255
|
-
* Reference to a field of type 'OrganizationType'
|
|
7256
|
-
*/
|
|
7257
|
-
export type EnumOrganizationTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'OrganizationType'>;
|
|
7258
7419
|
/**
|
|
7259
7420
|
* Reference to a field of type 'OrganizationStatus'
|
|
7260
7421
|
*/
|
|
7261
7422
|
export type EnumOrganizationStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'OrganizationStatus'>;
|
|
7262
|
-
/**
|
|
7263
|
-
* Reference to a field of type 'OrganizationRole'
|
|
7264
|
-
*/
|
|
7265
|
-
export type EnumOrganizationRoleFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'OrganizationRole'>;
|
|
7266
|
-
/**
|
|
7267
|
-
* Reference to a field of type 'Decimal'
|
|
7268
|
-
*/
|
|
7269
|
-
export type DecimalFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Decimal'>;
|
|
7270
7423
|
/**
|
|
7271
7424
|
* Reference to a field of type 'BankDocumentModifier'
|
|
7272
7425
|
*/
|
|
@@ -7280,13 +7433,13 @@ export type IntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'In
|
|
|
7280
7433
|
*/
|
|
7281
7434
|
export type FloatFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Float'>;
|
|
7282
7435
|
/**
|
|
7283
|
-
* Reference to a field of type '
|
|
7436
|
+
* Reference to a field of type 'PropertyStatus'
|
|
7284
7437
|
*/
|
|
7285
|
-
export type
|
|
7438
|
+
export type EnumPropertyStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'PropertyStatus'>;
|
|
7286
7439
|
/**
|
|
7287
|
-
* Reference to a field of type '
|
|
7440
|
+
* Reference to a field of type 'UploadedBy'
|
|
7288
7441
|
*/
|
|
7289
|
-
export type
|
|
7442
|
+
export type EnumUploadedByFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'UploadedBy'>;
|
|
7290
7443
|
/**
|
|
7291
7444
|
* Reference to a field of type 'RejectionBehavior'
|
|
7292
7445
|
*/
|
|
@@ -7343,10 +7496,6 @@ export type EnumFieldTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$Prisma
|
|
|
7343
7496
|
* Reference to a field of type 'ApplicationStatus'
|
|
7344
7497
|
*/
|
|
7345
7498
|
export type EnumApplicationStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ApplicationStatus'>;
|
|
7346
|
-
/**
|
|
7347
|
-
* Reference to a field of type 'ApplicationOrganizationRole'
|
|
7348
|
-
*/
|
|
7349
|
-
export type EnumApplicationOrganizationRoleFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ApplicationOrganizationRole'>;
|
|
7350
7499
|
/**
|
|
7351
7500
|
* Reference to a field of type 'ApplicationOrganizationStatus'
|
|
7352
7501
|
*/
|
|
@@ -7557,6 +7706,8 @@ export type PrismaClientOptions = ({
|
|
|
7557
7706
|
comments?: runtime.SqlCommenterPlugin[];
|
|
7558
7707
|
};
|
|
7559
7708
|
export type GlobalOmitConfig = {
|
|
7709
|
+
organizationType?: Prisma.OrganizationTypeOmit;
|
|
7710
|
+
organizationTypeAssignment?: Prisma.OrganizationTypeAssignmentOmit;
|
|
7560
7711
|
user?: Prisma.UserOmit;
|
|
7561
7712
|
role?: Prisma.RoleOmit;
|
|
7562
7713
|
permission?: Prisma.PermissionOmit;
|
|
@@ -67,6 +67,8 @@ export const JsonNull = runtime.JsonNull;
|
|
|
67
67
|
*/
|
|
68
68
|
export const AnyNull = runtime.AnyNull;
|
|
69
69
|
export const ModelName = {
|
|
70
|
+
OrganizationType: 'OrganizationType',
|
|
71
|
+
OrganizationTypeAssignment: 'OrganizationTypeAssignment',
|
|
70
72
|
User: 'User',
|
|
71
73
|
Role: 'Role',
|
|
72
74
|
Permission: 'Permission',
|
|
@@ -151,6 +153,23 @@ export const TransactionIsolationLevel = runtime.makeStrictEnum({
|
|
|
151
153
|
RepeatableRead: 'RepeatableRead',
|
|
152
154
|
Serializable: 'Serializable'
|
|
153
155
|
});
|
|
156
|
+
export const OrganizationTypeScalarFieldEnum = {
|
|
157
|
+
id: 'id',
|
|
158
|
+
tenantId: 'tenantId',
|
|
159
|
+
code: 'code',
|
|
160
|
+
name: 'name',
|
|
161
|
+
description: 'description',
|
|
162
|
+
isSystemType: 'isSystemType',
|
|
163
|
+
createdAt: 'createdAt',
|
|
164
|
+
updatedAt: 'updatedAt'
|
|
165
|
+
};
|
|
166
|
+
export const OrganizationTypeAssignmentScalarFieldEnum = {
|
|
167
|
+
id: 'id',
|
|
168
|
+
organizationId: 'organizationId',
|
|
169
|
+
typeId: 'typeId',
|
|
170
|
+
isPrimary: 'isPrimary',
|
|
171
|
+
createdAt: 'createdAt'
|
|
172
|
+
};
|
|
154
173
|
export const UserScalarFieldEnum = {
|
|
155
174
|
id: 'id',
|
|
156
175
|
email: 'email',
|
|
@@ -216,7 +235,6 @@ export const OrganizationScalarFieldEnum = {
|
|
|
216
235
|
id: 'id',
|
|
217
236
|
tenantId: 'tenantId',
|
|
218
237
|
name: 'name',
|
|
219
|
-
type: 'type',
|
|
220
238
|
status: 'status',
|
|
221
239
|
isPlatformOrg: 'isPlatformOrg',
|
|
222
240
|
email: 'email',
|
|
@@ -244,16 +262,14 @@ export const OrganizationMemberScalarFieldEnum = {
|
|
|
244
262
|
id: 'id',
|
|
245
263
|
organizationId: 'organizationId',
|
|
246
264
|
userId: 'userId',
|
|
247
|
-
role: 'role',
|
|
248
265
|
title: 'title',
|
|
249
266
|
department: 'department',
|
|
250
267
|
employeeId: 'employeeId',
|
|
251
268
|
isActive: 'isActive',
|
|
252
|
-
canApprove: 'canApprove',
|
|
253
|
-
approvalLimit: 'approvalLimit',
|
|
254
269
|
invitedAt: 'invitedAt',
|
|
255
270
|
acceptedAt: 'acceptedAt',
|
|
256
271
|
invitedBy: 'invitedBy',
|
|
272
|
+
joinedAt: 'joinedAt',
|
|
257
273
|
createdAt: 'createdAt',
|
|
258
274
|
updatedAt: 'updatedAt'
|
|
259
275
|
};
|
|
@@ -407,7 +423,6 @@ export const PropertyScalarFieldEnum = {
|
|
|
407
423
|
status: 'status',
|
|
408
424
|
description: 'description',
|
|
409
425
|
displayImageId: 'displayImageId',
|
|
410
|
-
isPublished: 'isPublished',
|
|
411
426
|
publishedAt: 'publishedAt',
|
|
412
427
|
createdAt: 'createdAt',
|
|
413
428
|
updatedAt: 'updatedAt'
|
|
@@ -537,13 +552,12 @@ export const ApprovalStageScalarFieldEnum = {
|
|
|
537
552
|
planId: 'planId',
|
|
538
553
|
name: 'name',
|
|
539
554
|
order: 'order',
|
|
540
|
-
|
|
555
|
+
organizationTypeId: 'organizationTypeId',
|
|
541
556
|
autoTransition: 'autoTransition',
|
|
542
557
|
waitForAllDocuments: 'waitForAllDocuments',
|
|
543
558
|
allowEarlyVisibility: 'allowEarlyVisibility',
|
|
544
559
|
onRejection: 'onRejection',
|
|
545
560
|
restartFromStageOrder: 'restartFromStageOrder',
|
|
546
|
-
organizationId: 'organizationId',
|
|
547
561
|
slaHours: 'slaHours',
|
|
548
562
|
description: 'description',
|
|
549
563
|
createdAt: 'createdAt',
|
|
@@ -743,7 +757,7 @@ export const ApplicationOrganizationScalarFieldEnum = {
|
|
|
743
757
|
tenantId: 'tenantId',
|
|
744
758
|
applicationId: 'applicationId',
|
|
745
759
|
organizationId: 'organizationId',
|
|
746
|
-
|
|
760
|
+
assignedAsTypeId: 'assignedAsTypeId',
|
|
747
761
|
status: 'status',
|
|
748
762
|
assignedById: 'assignedById',
|
|
749
763
|
assignedAt: 'assignedAt',
|
|
@@ -980,8 +994,8 @@ export const DocumentReviewScalarFieldEnum = {
|
|
|
980
994
|
id: 'id',
|
|
981
995
|
tenantId: 'tenantId',
|
|
982
996
|
documentId: 'documentId',
|
|
983
|
-
reviewParty: 'reviewParty',
|
|
984
997
|
organizationId: 'organizationId',
|
|
998
|
+
organizationTypeId: 'organizationTypeId',
|
|
985
999
|
reviewerId: 'reviewerId',
|
|
986
1000
|
reviewerName: 'reviewerName',
|
|
987
1001
|
decision: 'decision',
|
|
@@ -1002,7 +1016,7 @@ export const ApprovalStageProgressScalarFieldEnum = {
|
|
|
1002
1016
|
approvalStageId: 'approvalStageId',
|
|
1003
1017
|
name: 'name',
|
|
1004
1018
|
order: 'order',
|
|
1005
|
-
|
|
1019
|
+
organizationTypeId: 'organizationTypeId',
|
|
1006
1020
|
autoTransition: 'autoTransition',
|
|
1007
1021
|
waitForAllDocuments: 'waitForAllDocuments',
|
|
1008
1022
|
allowEarlyVisibility: 'allowEarlyVisibility',
|
|
@@ -1022,7 +1036,7 @@ export const DocumentApprovalScalarFieldEnum = {
|
|
|
1022
1036
|
documentId: 'documentId',
|
|
1023
1037
|
stageProgressId: 'stageProgressId',
|
|
1024
1038
|
reviewerId: 'reviewerId',
|
|
1025
|
-
|
|
1039
|
+
organizationTypeId: 'organizationTypeId',
|
|
1026
1040
|
decision: 'decision',
|
|
1027
1041
|
comment: 'comment',
|
|
1028
1042
|
reviewedAt: 'reviewedAt',
|
|
@@ -1341,6 +1355,18 @@ export const NullsOrder = {
|
|
|
1341
1355
|
first: 'first',
|
|
1342
1356
|
last: 'last'
|
|
1343
1357
|
};
|
|
1358
|
+
export const OrganizationTypeOrderByRelevanceFieldEnum = {
|
|
1359
|
+
id: 'id',
|
|
1360
|
+
tenantId: 'tenantId',
|
|
1361
|
+
code: 'code',
|
|
1362
|
+
name: 'name',
|
|
1363
|
+
description: 'description'
|
|
1364
|
+
};
|
|
1365
|
+
export const OrganizationTypeAssignmentOrderByRelevanceFieldEnum = {
|
|
1366
|
+
id: 'id',
|
|
1367
|
+
organizationId: 'organizationId',
|
|
1368
|
+
typeId: 'typeId'
|
|
1369
|
+
};
|
|
1344
1370
|
export const UserOrderByRelevanceFieldEnum = {
|
|
1345
1371
|
id: 'id',
|
|
1346
1372
|
email: 'email',
|
|
@@ -1518,7 +1544,6 @@ export const PropertyOrderByRelevanceFieldEnum = {
|
|
|
1518
1544
|
district: 'district',
|
|
1519
1545
|
zipCode: 'zipCode',
|
|
1520
1546
|
streetAddress: 'streetAddress',
|
|
1521
|
-
status: 'status',
|
|
1522
1547
|
description: 'description',
|
|
1523
1548
|
displayImageId: 'displayImageId'
|
|
1524
1549
|
};
|
|
@@ -1600,7 +1625,7 @@ export const ApprovalStageOrderByRelevanceFieldEnum = {
|
|
|
1600
1625
|
id: 'id',
|
|
1601
1626
|
planId: 'planId',
|
|
1602
1627
|
name: 'name',
|
|
1603
|
-
|
|
1628
|
+
organizationTypeId: 'organizationTypeId',
|
|
1604
1629
|
description: 'description'
|
|
1605
1630
|
};
|
|
1606
1631
|
export const QuestionnairePlanOrderByRelevanceFieldEnum = {
|
|
@@ -1699,6 +1724,7 @@ export const ApplicationOrganizationOrderByRelevanceFieldEnum = {
|
|
|
1699
1724
|
tenantId: 'tenantId',
|
|
1700
1725
|
applicationId: 'applicationId',
|
|
1701
1726
|
organizationId: 'organizationId',
|
|
1727
|
+
assignedAsTypeId: 'assignedAsTypeId',
|
|
1702
1728
|
assignedById: 'assignedById',
|
|
1703
1729
|
declineReason: 'declineReason',
|
|
1704
1730
|
escalatedToUserId: 'escalatedToUserId',
|
|
@@ -1811,6 +1837,7 @@ export const DocumentReviewOrderByRelevanceFieldEnum = {
|
|
|
1811
1837
|
tenantId: 'tenantId',
|
|
1812
1838
|
documentId: 'documentId',
|
|
1813
1839
|
organizationId: 'organizationId',
|
|
1840
|
+
organizationTypeId: 'organizationTypeId',
|
|
1814
1841
|
reviewerId: 'reviewerId',
|
|
1815
1842
|
reviewerName: 'reviewerName',
|
|
1816
1843
|
comments: 'comments',
|
|
@@ -1822,6 +1849,7 @@ export const ApprovalStageProgressOrderByRelevanceFieldEnum = {
|
|
|
1822
1849
|
documentationPhaseId: 'documentationPhaseId',
|
|
1823
1850
|
approvalStageId: 'approvalStageId',
|
|
1824
1851
|
name: 'name',
|
|
1852
|
+
organizationTypeId: 'organizationTypeId',
|
|
1825
1853
|
completedById: 'completedById',
|
|
1826
1854
|
transitionComment: 'transitionComment'
|
|
1827
1855
|
};
|
|
@@ -1831,6 +1859,7 @@ export const DocumentApprovalOrderByRelevanceFieldEnum = {
|
|
|
1831
1859
|
documentId: 'documentId',
|
|
1832
1860
|
stageProgressId: 'stageProgressId',
|
|
1833
1861
|
reviewerId: 'reviewerId',
|
|
1862
|
+
organizationTypeId: 'organizationTypeId',
|
|
1834
1863
|
comment: 'comment'
|
|
1835
1864
|
};
|
|
1836
1865
|
export const DocumentTemplateOrderByRelevanceFieldEnum = {
|