@valentine-efagene/qshelter-common 2.0.151 → 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 +20 -190
- package/dist/generated/client/enums.d.ts +0 -34
- package/dist/generated/client/enums.js +0 -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 +181 -32
- package/dist/generated/client/internal/prismaNamespace.js +42 -11
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +46 -11
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +42 -11
- 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/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/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 +113 -79
|
@@ -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
|
};
|
|
@@ -5656,13 +5806,12 @@ export declare const ApprovalStageScalarFieldEnum: {
|
|
|
5656
5806
|
readonly planId: "planId";
|
|
5657
5807
|
readonly name: "name";
|
|
5658
5808
|
readonly order: "order";
|
|
5659
|
-
readonly
|
|
5809
|
+
readonly organizationTypeId: "organizationTypeId";
|
|
5660
5810
|
readonly autoTransition: "autoTransition";
|
|
5661
5811
|
readonly waitForAllDocuments: "waitForAllDocuments";
|
|
5662
5812
|
readonly allowEarlyVisibility: "allowEarlyVisibility";
|
|
5663
5813
|
readonly onRejection: "onRejection";
|
|
5664
5814
|
readonly restartFromStageOrder: "restartFromStageOrder";
|
|
5665
|
-
readonly organizationId: "organizationId";
|
|
5666
5815
|
readonly slaHours: "slaHours";
|
|
5667
5816
|
readonly description: "description";
|
|
5668
5817
|
readonly createdAt: "createdAt";
|
|
@@ -5875,7 +6024,7 @@ export declare const ApplicationOrganizationScalarFieldEnum: {
|
|
|
5875
6024
|
readonly tenantId: "tenantId";
|
|
5876
6025
|
readonly applicationId: "applicationId";
|
|
5877
6026
|
readonly organizationId: "organizationId";
|
|
5878
|
-
readonly
|
|
6027
|
+
readonly assignedAsTypeId: "assignedAsTypeId";
|
|
5879
6028
|
readonly status: "status";
|
|
5880
6029
|
readonly assignedById: "assignedById";
|
|
5881
6030
|
readonly assignedAt: "assignedAt";
|
|
@@ -6124,8 +6273,8 @@ export declare const DocumentReviewScalarFieldEnum: {
|
|
|
6124
6273
|
readonly id: "id";
|
|
6125
6274
|
readonly tenantId: "tenantId";
|
|
6126
6275
|
readonly documentId: "documentId";
|
|
6127
|
-
readonly reviewParty: "reviewParty";
|
|
6128
6276
|
readonly organizationId: "organizationId";
|
|
6277
|
+
readonly organizationTypeId: "organizationTypeId";
|
|
6129
6278
|
readonly reviewerId: "reviewerId";
|
|
6130
6279
|
readonly reviewerName: "reviewerName";
|
|
6131
6280
|
readonly decision: "decision";
|
|
@@ -6147,7 +6296,7 @@ export declare const ApprovalStageProgressScalarFieldEnum: {
|
|
|
6147
6296
|
readonly approvalStageId: "approvalStageId";
|
|
6148
6297
|
readonly name: "name";
|
|
6149
6298
|
readonly order: "order";
|
|
6150
|
-
readonly
|
|
6299
|
+
readonly organizationTypeId: "organizationTypeId";
|
|
6151
6300
|
readonly autoTransition: "autoTransition";
|
|
6152
6301
|
readonly waitForAllDocuments: "waitForAllDocuments";
|
|
6153
6302
|
readonly allowEarlyVisibility: "allowEarlyVisibility";
|
|
@@ -6168,7 +6317,7 @@ export declare const DocumentApprovalScalarFieldEnum: {
|
|
|
6168
6317
|
readonly documentId: "documentId";
|
|
6169
6318
|
readonly stageProgressId: "stageProgressId";
|
|
6170
6319
|
readonly reviewerId: "reviewerId";
|
|
6171
|
-
readonly
|
|
6320
|
+
readonly organizationTypeId: "organizationTypeId";
|
|
6172
6321
|
readonly decision: "decision";
|
|
6173
6322
|
readonly comment: "comment";
|
|
6174
6323
|
readonly reviewedAt: "reviewedAt";
|
|
@@ -6506,6 +6655,20 @@ export declare const NullsOrder: {
|
|
|
6506
6655
|
readonly last: "last";
|
|
6507
6656
|
};
|
|
6508
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];
|
|
6509
6672
|
export declare const UserOrderByRelevanceFieldEnum: {
|
|
6510
6673
|
readonly id: "id";
|
|
6511
6674
|
readonly email: "email";
|
|
@@ -6798,7 +6961,7 @@ export declare const ApprovalStageOrderByRelevanceFieldEnum: {
|
|
|
6798
6961
|
readonly id: "id";
|
|
6799
6962
|
readonly planId: "planId";
|
|
6800
6963
|
readonly name: "name";
|
|
6801
|
-
readonly
|
|
6964
|
+
readonly organizationTypeId: "organizationTypeId";
|
|
6802
6965
|
readonly description: "description";
|
|
6803
6966
|
};
|
|
6804
6967
|
export type ApprovalStageOrderByRelevanceFieldEnum = (typeof ApprovalStageOrderByRelevanceFieldEnum)[keyof typeof ApprovalStageOrderByRelevanceFieldEnum];
|
|
@@ -6910,6 +7073,7 @@ export declare const ApplicationOrganizationOrderByRelevanceFieldEnum: {
|
|
|
6910
7073
|
readonly tenantId: "tenantId";
|
|
6911
7074
|
readonly applicationId: "applicationId";
|
|
6912
7075
|
readonly organizationId: "organizationId";
|
|
7076
|
+
readonly assignedAsTypeId: "assignedAsTypeId";
|
|
6913
7077
|
readonly assignedById: "assignedById";
|
|
6914
7078
|
readonly declineReason: "declineReason";
|
|
6915
7079
|
readonly escalatedToUserId: "escalatedToUserId";
|
|
@@ -7034,6 +7198,7 @@ export declare const DocumentReviewOrderByRelevanceFieldEnum: {
|
|
|
7034
7198
|
readonly tenantId: "tenantId";
|
|
7035
7199
|
readonly documentId: "documentId";
|
|
7036
7200
|
readonly organizationId: "organizationId";
|
|
7201
|
+
readonly organizationTypeId: "organizationTypeId";
|
|
7037
7202
|
readonly reviewerId: "reviewerId";
|
|
7038
7203
|
readonly reviewerName: "reviewerName";
|
|
7039
7204
|
readonly comments: "comments";
|
|
@@ -7046,6 +7211,7 @@ export declare const ApprovalStageProgressOrderByRelevanceFieldEnum: {
|
|
|
7046
7211
|
readonly documentationPhaseId: "documentationPhaseId";
|
|
7047
7212
|
readonly approvalStageId: "approvalStageId";
|
|
7048
7213
|
readonly name: "name";
|
|
7214
|
+
readonly organizationTypeId: "organizationTypeId";
|
|
7049
7215
|
readonly completedById: "completedById";
|
|
7050
7216
|
readonly transitionComment: "transitionComment";
|
|
7051
7217
|
};
|
|
@@ -7056,6 +7222,7 @@ export declare const DocumentApprovalOrderByRelevanceFieldEnum: {
|
|
|
7056
7222
|
readonly documentId: "documentId";
|
|
7057
7223
|
readonly stageProgressId: "stageProgressId";
|
|
7058
7224
|
readonly reviewerId: "reviewerId";
|
|
7225
|
+
readonly organizationTypeId: "organizationTypeId";
|
|
7059
7226
|
readonly comment: "comment";
|
|
7060
7227
|
};
|
|
7061
7228
|
export type DocumentApprovalOrderByRelevanceFieldEnum = (typeof DocumentApprovalOrderByRelevanceFieldEnum)[keyof typeof DocumentApprovalOrderByRelevanceFieldEnum];
|
|
@@ -7249,22 +7416,10 @@ export type EnumQueryModeFieldRefInput<$PrismaModel> = FieldRefInputType<$Prisma
|
|
|
7249
7416
|
* Reference to a field of type 'PermissionEffect'
|
|
7250
7417
|
*/
|
|
7251
7418
|
export type EnumPermissionEffectFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'PermissionEffect'>;
|
|
7252
|
-
/**
|
|
7253
|
-
* Reference to a field of type 'OrganizationType'
|
|
7254
|
-
*/
|
|
7255
|
-
export type EnumOrganizationTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'OrganizationType'>;
|
|
7256
7419
|
/**
|
|
7257
7420
|
* Reference to a field of type 'OrganizationStatus'
|
|
7258
7421
|
*/
|
|
7259
7422
|
export type EnumOrganizationStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'OrganizationStatus'>;
|
|
7260
|
-
/**
|
|
7261
|
-
* Reference to a field of type 'OrganizationRole'
|
|
7262
|
-
*/
|
|
7263
|
-
export type EnumOrganizationRoleFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'OrganizationRole'>;
|
|
7264
|
-
/**
|
|
7265
|
-
* Reference to a field of type 'Decimal'
|
|
7266
|
-
*/
|
|
7267
|
-
export type DecimalFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Decimal'>;
|
|
7268
7423
|
/**
|
|
7269
7424
|
* Reference to a field of type 'BankDocumentModifier'
|
|
7270
7425
|
*/
|
|
@@ -7285,10 +7440,6 @@ export type EnumPropertyStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$P
|
|
|
7285
7440
|
* Reference to a field of type 'UploadedBy'
|
|
7286
7441
|
*/
|
|
7287
7442
|
export type EnumUploadedByFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'UploadedBy'>;
|
|
7288
|
-
/**
|
|
7289
|
-
* Reference to a field of type 'ReviewParty'
|
|
7290
|
-
*/
|
|
7291
|
-
export type EnumReviewPartyFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ReviewParty'>;
|
|
7292
7443
|
/**
|
|
7293
7444
|
* Reference to a field of type 'RejectionBehavior'
|
|
7294
7445
|
*/
|
|
@@ -7345,10 +7496,6 @@ export type EnumFieldTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$Prisma
|
|
|
7345
7496
|
* Reference to a field of type 'ApplicationStatus'
|
|
7346
7497
|
*/
|
|
7347
7498
|
export type EnumApplicationStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ApplicationStatus'>;
|
|
7348
|
-
/**
|
|
7349
|
-
* Reference to a field of type 'ApplicationOrganizationRole'
|
|
7350
|
-
*/
|
|
7351
|
-
export type EnumApplicationOrganizationRoleFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ApplicationOrganizationRole'>;
|
|
7352
7499
|
/**
|
|
7353
7500
|
* Reference to a field of type 'ApplicationOrganizationStatus'
|
|
7354
7501
|
*/
|
|
@@ -7559,6 +7706,8 @@ export type PrismaClientOptions = ({
|
|
|
7559
7706
|
comments?: runtime.SqlCommenterPlugin[];
|
|
7560
7707
|
};
|
|
7561
7708
|
export type GlobalOmitConfig = {
|
|
7709
|
+
organizationType?: Prisma.OrganizationTypeOmit;
|
|
7710
|
+
organizationTypeAssignment?: Prisma.OrganizationTypeAssignmentOmit;
|
|
7562
7711
|
user?: Prisma.UserOmit;
|
|
7563
7712
|
role?: Prisma.RoleOmit;
|
|
7564
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
|
};
|
|
@@ -536,13 +552,12 @@ export const ApprovalStageScalarFieldEnum = {
|
|
|
536
552
|
planId: 'planId',
|
|
537
553
|
name: 'name',
|
|
538
554
|
order: 'order',
|
|
539
|
-
|
|
555
|
+
organizationTypeId: 'organizationTypeId',
|
|
540
556
|
autoTransition: 'autoTransition',
|
|
541
557
|
waitForAllDocuments: 'waitForAllDocuments',
|
|
542
558
|
allowEarlyVisibility: 'allowEarlyVisibility',
|
|
543
559
|
onRejection: 'onRejection',
|
|
544
560
|
restartFromStageOrder: 'restartFromStageOrder',
|
|
545
|
-
organizationId: 'organizationId',
|
|
546
561
|
slaHours: 'slaHours',
|
|
547
562
|
description: 'description',
|
|
548
563
|
createdAt: 'createdAt',
|
|
@@ -742,7 +757,7 @@ export const ApplicationOrganizationScalarFieldEnum = {
|
|
|
742
757
|
tenantId: 'tenantId',
|
|
743
758
|
applicationId: 'applicationId',
|
|
744
759
|
organizationId: 'organizationId',
|
|
745
|
-
|
|
760
|
+
assignedAsTypeId: 'assignedAsTypeId',
|
|
746
761
|
status: 'status',
|
|
747
762
|
assignedById: 'assignedById',
|
|
748
763
|
assignedAt: 'assignedAt',
|
|
@@ -979,8 +994,8 @@ export const DocumentReviewScalarFieldEnum = {
|
|
|
979
994
|
id: 'id',
|
|
980
995
|
tenantId: 'tenantId',
|
|
981
996
|
documentId: 'documentId',
|
|
982
|
-
reviewParty: 'reviewParty',
|
|
983
997
|
organizationId: 'organizationId',
|
|
998
|
+
organizationTypeId: 'organizationTypeId',
|
|
984
999
|
reviewerId: 'reviewerId',
|
|
985
1000
|
reviewerName: 'reviewerName',
|
|
986
1001
|
decision: 'decision',
|
|
@@ -1001,7 +1016,7 @@ export const ApprovalStageProgressScalarFieldEnum = {
|
|
|
1001
1016
|
approvalStageId: 'approvalStageId',
|
|
1002
1017
|
name: 'name',
|
|
1003
1018
|
order: 'order',
|
|
1004
|
-
|
|
1019
|
+
organizationTypeId: 'organizationTypeId',
|
|
1005
1020
|
autoTransition: 'autoTransition',
|
|
1006
1021
|
waitForAllDocuments: 'waitForAllDocuments',
|
|
1007
1022
|
allowEarlyVisibility: 'allowEarlyVisibility',
|
|
@@ -1021,7 +1036,7 @@ export const DocumentApprovalScalarFieldEnum = {
|
|
|
1021
1036
|
documentId: 'documentId',
|
|
1022
1037
|
stageProgressId: 'stageProgressId',
|
|
1023
1038
|
reviewerId: 'reviewerId',
|
|
1024
|
-
|
|
1039
|
+
organizationTypeId: 'organizationTypeId',
|
|
1025
1040
|
decision: 'decision',
|
|
1026
1041
|
comment: 'comment',
|
|
1027
1042
|
reviewedAt: 'reviewedAt',
|
|
@@ -1340,6 +1355,18 @@ export const NullsOrder = {
|
|
|
1340
1355
|
first: 'first',
|
|
1341
1356
|
last: 'last'
|
|
1342
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
|
+
};
|
|
1343
1370
|
export const UserOrderByRelevanceFieldEnum = {
|
|
1344
1371
|
id: 'id',
|
|
1345
1372
|
email: 'email',
|
|
@@ -1598,7 +1625,7 @@ export const ApprovalStageOrderByRelevanceFieldEnum = {
|
|
|
1598
1625
|
id: 'id',
|
|
1599
1626
|
planId: 'planId',
|
|
1600
1627
|
name: 'name',
|
|
1601
|
-
|
|
1628
|
+
organizationTypeId: 'organizationTypeId',
|
|
1602
1629
|
description: 'description'
|
|
1603
1630
|
};
|
|
1604
1631
|
export const QuestionnairePlanOrderByRelevanceFieldEnum = {
|
|
@@ -1697,6 +1724,7 @@ export const ApplicationOrganizationOrderByRelevanceFieldEnum = {
|
|
|
1697
1724
|
tenantId: 'tenantId',
|
|
1698
1725
|
applicationId: 'applicationId',
|
|
1699
1726
|
organizationId: 'organizationId',
|
|
1727
|
+
assignedAsTypeId: 'assignedAsTypeId',
|
|
1700
1728
|
assignedById: 'assignedById',
|
|
1701
1729
|
declineReason: 'declineReason',
|
|
1702
1730
|
escalatedToUserId: 'escalatedToUserId',
|
|
@@ -1809,6 +1837,7 @@ export const DocumentReviewOrderByRelevanceFieldEnum = {
|
|
|
1809
1837
|
tenantId: 'tenantId',
|
|
1810
1838
|
documentId: 'documentId',
|
|
1811
1839
|
organizationId: 'organizationId',
|
|
1840
|
+
organizationTypeId: 'organizationTypeId',
|
|
1812
1841
|
reviewerId: 'reviewerId',
|
|
1813
1842
|
reviewerName: 'reviewerName',
|
|
1814
1843
|
comments: 'comments',
|
|
@@ -1820,6 +1849,7 @@ export const ApprovalStageProgressOrderByRelevanceFieldEnum = {
|
|
|
1820
1849
|
documentationPhaseId: 'documentationPhaseId',
|
|
1821
1850
|
approvalStageId: 'approvalStageId',
|
|
1822
1851
|
name: 'name',
|
|
1852
|
+
organizationTypeId: 'organizationTypeId',
|
|
1823
1853
|
completedById: 'completedById',
|
|
1824
1854
|
transitionComment: 'transitionComment'
|
|
1825
1855
|
};
|
|
@@ -1829,6 +1859,7 @@ export const DocumentApprovalOrderByRelevanceFieldEnum = {
|
|
|
1829
1859
|
documentId: 'documentId',
|
|
1830
1860
|
stageProgressId: 'stageProgressId',
|
|
1831
1861
|
reviewerId: 'reviewerId',
|
|
1862
|
+
organizationTypeId: 'organizationTypeId',
|
|
1832
1863
|
comment: 'comment'
|
|
1833
1864
|
};
|
|
1834
1865
|
export const DocumentTemplateOrderByRelevanceFieldEnum = {
|