@valentine-efagene/qshelter-common 2.0.142 → 2.0.144
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 +32 -0
- package/dist/generated/client/client.d.ts +32 -0
- package/dist/generated/client/commonInputTypes.d.ts +354 -144
- package/dist/generated/client/enums.d.ts +45 -0
- package/dist/generated/client/enums.js +39 -0
- package/dist/generated/client/internal/class.d.ts +66 -0
- package/dist/generated/client/internal/class.js +2 -2
- package/dist/generated/client/internal/prismaNamespace.d.ts +633 -3
- package/dist/generated/client/internal/prismaNamespace.js +193 -1
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +204 -0
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +193 -1
- package/dist/generated/client/models/Application.d.ts +669 -1
- package/dist/generated/client/models/ApplicationDocument.d.ts +577 -1
- package/dist/generated/client/models/ApplicationOrganization.d.ts +2385 -0
- package/dist/generated/client/models/ApplicationOrganization.js +1 -0
- package/dist/generated/client/models/BankDocumentRequirement.d.ts +1932 -0
- package/dist/generated/client/models/BankDocumentRequirement.js +1 -0
- package/dist/generated/client/models/DocumentExpiryWarning.d.ts +1141 -0
- package/dist/generated/client/models/DocumentExpiryWarning.js +1 -0
- package/dist/generated/client/models/Organization.d.ts +390 -0
- package/dist/generated/client/models/PropertyMedia.d.ts +0 -7
- package/dist/generated/client/models/PropertyPaymentMethod.d.ts +192 -3
- package/dist/generated/client/models/PropertyVariant.d.ts +0 -7
- package/dist/generated/client/models/ScheduledJob.d.ts +1317 -0
- package/dist/generated/client/models/ScheduledJob.js +1 -0
- package/dist/generated/client/models/StateTransitionDefinition.d.ts +1104 -0
- package/dist/generated/client/models/StateTransitionDefinition.js +1 -0
- package/dist/generated/client/models/StateTransitionLog.d.ts +1383 -0
- package/dist/generated/client/models/StateTransitionLog.js +1 -0
- package/dist/generated/client/models/Tenant.d.ts +2535 -798
- package/dist/generated/client/models/index.d.ts +6 -0
- package/dist/generated/client/models/index.js +6 -0
- package/dist/generated/client/models.d.ts +6 -0
- package/dist/src/prisma/tenant.js +4 -0
- package/package.json +1 -1
- package/prisma/migrations/20260120024650_add_questionnaire_phase_review/migration.sql +102 -0
- package/prisma/schema.prisma +423 -2
|
@@ -341,6 +341,12 @@ export const PermissionEffect = {
|
|
|
341
341
|
ALLOW: 'ALLOW',
|
|
342
342
|
DENY: 'DENY'
|
|
343
343
|
};
|
|
344
|
+
export const BankDocumentModifier = {
|
|
345
|
+
REQUIRED: 'REQUIRED',
|
|
346
|
+
OPTIONAL: 'OPTIONAL',
|
|
347
|
+
NOT_REQUIRED: 'NOT_REQUIRED',
|
|
348
|
+
STRICTER: 'STRICTER'
|
|
349
|
+
};
|
|
344
350
|
export const FieldType = {
|
|
345
351
|
TEXT: 'TEXT',
|
|
346
352
|
TEXTAREA: 'TEXTAREA',
|
|
@@ -400,6 +406,20 @@ export const QuestionCategory = {
|
|
|
400
406
|
ASSETS: 'ASSETS',
|
|
401
407
|
CUSTOM: 'CUSTOM'
|
|
402
408
|
};
|
|
409
|
+
export const ApplicationOrganizationRole = {
|
|
410
|
+
DEVELOPER: 'DEVELOPER',
|
|
411
|
+
LENDER: 'LENDER',
|
|
412
|
+
LEGAL: 'LEGAL',
|
|
413
|
+
INSURER: 'INSURER',
|
|
414
|
+
GOVERNMENT: 'GOVERNMENT'
|
|
415
|
+
};
|
|
416
|
+
export const ApplicationOrganizationStatus = {
|
|
417
|
+
PENDING: 'PENDING',
|
|
418
|
+
ACTIVE: 'ACTIVE',
|
|
419
|
+
COMPLETED: 'COMPLETED',
|
|
420
|
+
DECLINED: 'DECLINED',
|
|
421
|
+
WITHDRAWN: 'WITHDRAWN'
|
|
422
|
+
};
|
|
403
423
|
export const PaymentMethodChangeStatus = {
|
|
404
424
|
PENDING_DOCUMENTS: 'PENDING_DOCUMENTS',
|
|
405
425
|
DOCUMENTS_SUBMITTED: 'DOCUMENTS_SUBMITTED',
|
|
@@ -458,3 +478,22 @@ export const BlockerUrgency = {
|
|
|
458
478
|
HIGH: 'HIGH',
|
|
459
479
|
CRITICAL: 'CRITICAL'
|
|
460
480
|
};
|
|
481
|
+
export const StateMachineEntity = {
|
|
482
|
+
APPLICATION: 'APPLICATION',
|
|
483
|
+
APPLICATION_PHASE: 'APPLICATION_PHASE',
|
|
484
|
+
DOCUMENTATION_STAGE: 'DOCUMENTATION_STAGE',
|
|
485
|
+
DOCUMENT: 'DOCUMENT'
|
|
486
|
+
};
|
|
487
|
+
export const ScheduledJobStatus = {
|
|
488
|
+
PENDING: 'PENDING',
|
|
489
|
+
RUNNING: 'RUNNING',
|
|
490
|
+
COMPLETED: 'COMPLETED',
|
|
491
|
+
FAILED: 'FAILED',
|
|
492
|
+
CANCELLED: 'CANCELLED'
|
|
493
|
+
};
|
|
494
|
+
export const ScheduledJobType = {
|
|
495
|
+
DOCUMENT_EXPIRY_CHECK: 'DOCUMENT_EXPIRY_CHECK',
|
|
496
|
+
SLA_BREACH_CHECK: 'SLA_BREACH_CHECK',
|
|
497
|
+
PAYMENT_REMINDER: 'PAYMENT_REMINDER',
|
|
498
|
+
DOCUMENT_EXPIRY_WARNING: 'DOCUMENT_EXPIRY_WARNING'
|
|
499
|
+
};
|
|
@@ -199,6 +199,17 @@ export interface PrismaClient<in LogOpts extends Prisma.LogLevel = never, in out
|
|
|
199
199
|
get organizationMember(): Prisma.OrganizationMemberDelegate<ExtArgs, {
|
|
200
200
|
omit: OmitOpts;
|
|
201
201
|
}>;
|
|
202
|
+
/**
|
|
203
|
+
* `prisma.bankDocumentRequirement`: Exposes CRUD operations for the **BankDocumentRequirement** model.
|
|
204
|
+
* Example usage:
|
|
205
|
+
* ```ts
|
|
206
|
+
* // Fetch zero or more BankDocumentRequirements
|
|
207
|
+
* const bankDocumentRequirements = await prisma.bankDocumentRequirement.findMany()
|
|
208
|
+
* ```
|
|
209
|
+
*/
|
|
210
|
+
get bankDocumentRequirement(): Prisma.BankDocumentRequirementDelegate<ExtArgs, {
|
|
211
|
+
omit: OmitOpts;
|
|
212
|
+
}>;
|
|
202
213
|
/**
|
|
203
214
|
* `prisma.tenant`: Exposes CRUD operations for the **Tenant** model.
|
|
204
215
|
* Example usage:
|
|
@@ -595,6 +606,17 @@ export interface PrismaClient<in LogOpts extends Prisma.LogLevel = never, in out
|
|
|
595
606
|
get application(): Prisma.ApplicationDelegate<ExtArgs, {
|
|
596
607
|
omit: OmitOpts;
|
|
597
608
|
}>;
|
|
609
|
+
/**
|
|
610
|
+
* `prisma.applicationOrganization`: Exposes CRUD operations for the **ApplicationOrganization** model.
|
|
611
|
+
* Example usage:
|
|
612
|
+
* ```ts
|
|
613
|
+
* // Fetch zero or more ApplicationOrganizations
|
|
614
|
+
* const applicationOrganizations = await prisma.applicationOrganization.findMany()
|
|
615
|
+
* ```
|
|
616
|
+
*/
|
|
617
|
+
get applicationOrganization(): Prisma.ApplicationOrganizationDelegate<ExtArgs, {
|
|
618
|
+
omit: OmitOpts;
|
|
619
|
+
}>;
|
|
598
620
|
/**
|
|
599
621
|
* `prisma.applicationRefund`: Exposes CRUD operations for the **ApplicationRefund** model.
|
|
600
622
|
* Example usage:
|
|
@@ -903,5 +925,49 @@ export interface PrismaClient<in LogOpts extends Prisma.LogLevel = never, in out
|
|
|
903
925
|
get workflowBlocker(): Prisma.WorkflowBlockerDelegate<ExtArgs, {
|
|
904
926
|
omit: OmitOpts;
|
|
905
927
|
}>;
|
|
928
|
+
/**
|
|
929
|
+
* `prisma.stateTransitionDefinition`: Exposes CRUD operations for the **StateTransitionDefinition** model.
|
|
930
|
+
* Example usage:
|
|
931
|
+
* ```ts
|
|
932
|
+
* // Fetch zero or more StateTransitionDefinitions
|
|
933
|
+
* const stateTransitionDefinitions = await prisma.stateTransitionDefinition.findMany()
|
|
934
|
+
* ```
|
|
935
|
+
*/
|
|
936
|
+
get stateTransitionDefinition(): Prisma.StateTransitionDefinitionDelegate<ExtArgs, {
|
|
937
|
+
omit: OmitOpts;
|
|
938
|
+
}>;
|
|
939
|
+
/**
|
|
940
|
+
* `prisma.stateTransitionLog`: Exposes CRUD operations for the **StateTransitionLog** model.
|
|
941
|
+
* Example usage:
|
|
942
|
+
* ```ts
|
|
943
|
+
* // Fetch zero or more StateTransitionLogs
|
|
944
|
+
* const stateTransitionLogs = await prisma.stateTransitionLog.findMany()
|
|
945
|
+
* ```
|
|
946
|
+
*/
|
|
947
|
+
get stateTransitionLog(): Prisma.StateTransitionLogDelegate<ExtArgs, {
|
|
948
|
+
omit: OmitOpts;
|
|
949
|
+
}>;
|
|
950
|
+
/**
|
|
951
|
+
* `prisma.scheduledJob`: Exposes CRUD operations for the **ScheduledJob** model.
|
|
952
|
+
* Example usage:
|
|
953
|
+
* ```ts
|
|
954
|
+
* // Fetch zero or more ScheduledJobs
|
|
955
|
+
* const scheduledJobs = await prisma.scheduledJob.findMany()
|
|
956
|
+
* ```
|
|
957
|
+
*/
|
|
958
|
+
get scheduledJob(): Prisma.ScheduledJobDelegate<ExtArgs, {
|
|
959
|
+
omit: OmitOpts;
|
|
960
|
+
}>;
|
|
961
|
+
/**
|
|
962
|
+
* `prisma.documentExpiryWarning`: Exposes CRUD operations for the **DocumentExpiryWarning** model.
|
|
963
|
+
* Example usage:
|
|
964
|
+
* ```ts
|
|
965
|
+
* // Fetch zero or more DocumentExpiryWarnings
|
|
966
|
+
* const documentExpiryWarnings = await prisma.documentExpiryWarning.findMany()
|
|
967
|
+
* ```
|
|
968
|
+
*/
|
|
969
|
+
get documentExpiryWarning(): Prisma.DocumentExpiryWarningDelegate<ExtArgs, {
|
|
970
|
+
omit: OmitOpts;
|
|
971
|
+
}>;
|
|
906
972
|
}
|
|
907
973
|
export declare function getPrismaClientClass(): PrismaClientConstructor;
|