@valentine-efagene/qshelter-common 2.0.143 → 2.0.145
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 +20 -11
- package/dist/generated/client/client.d.ts +20 -11
- package/dist/generated/client/commonInputTypes.d.ts +324 -234
- package/dist/generated/client/enums.d.ts +38 -24
- package/dist/generated/client/enums.js +33 -21
- package/dist/generated/client/internal/class.d.ts +44 -22
- package/dist/generated/client/internal/class.js +2 -2
- package/dist/generated/client/internal/prismaNamespace.d.ts +438 -204
- package/dist/generated/client/internal/prismaNamespace.js +140 -52
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +147 -55
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +140 -52
- 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/EventHandler.d.ts +0 -158
- package/dist/generated/client/models/EventType.d.ts +0 -134
- 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 +1314 -1314
- package/dist/generated/client/models/index.d.ts +4 -2
- package/dist/generated/client/models/index.js +4 -2
- package/dist/generated/client/models.d.ts +4 -2
- package/dist/src/prisma/tenant.js +2 -0
- package/package.json +1 -1
- package/prisma/schema.prisma +333 -134
|
@@ -345,35 +345,18 @@ export declare const EventHandlerType: {
|
|
|
345
345
|
readonly LOCK_UNIT: "LOCK_UNIT";
|
|
346
346
|
};
|
|
347
347
|
export type EventHandlerType = (typeof EventHandlerType)[keyof typeof EventHandlerType];
|
|
348
|
-
export declare const ActorType: {
|
|
349
|
-
readonly USER: "USER";
|
|
350
|
-
readonly API_KEY: "API_KEY";
|
|
351
|
-
readonly SYSTEM: "SYSTEM";
|
|
352
|
-
readonly WEBHOOK: "WEBHOOK";
|
|
353
|
-
};
|
|
354
|
-
export type ActorType = (typeof ActorType)[keyof typeof ActorType];
|
|
355
|
-
export declare const WorkflowEventStatus: {
|
|
356
|
-
readonly PENDING: "PENDING";
|
|
357
|
-
readonly PROCESSING: "PROCESSING";
|
|
358
|
-
readonly COMPLETED: "COMPLETED";
|
|
359
|
-
readonly FAILED: "FAILED";
|
|
360
|
-
readonly SKIPPED: "SKIPPED";
|
|
361
|
-
};
|
|
362
|
-
export type WorkflowEventStatus = (typeof WorkflowEventStatus)[keyof typeof WorkflowEventStatus];
|
|
363
|
-
export declare const ExecutionStatus: {
|
|
364
|
-
readonly PENDING: "PENDING";
|
|
365
|
-
readonly RUNNING: "RUNNING";
|
|
366
|
-
readonly COMPLETED: "COMPLETED";
|
|
367
|
-
readonly FAILED: "FAILED";
|
|
368
|
-
readonly RETRYING: "RETRYING";
|
|
369
|
-
readonly SKIPPED: "SKIPPED";
|
|
370
|
-
};
|
|
371
|
-
export type ExecutionStatus = (typeof ExecutionStatus)[keyof typeof ExecutionStatus];
|
|
372
348
|
export declare const PermissionEffect: {
|
|
373
349
|
readonly ALLOW: "ALLOW";
|
|
374
350
|
readonly DENY: "DENY";
|
|
375
351
|
};
|
|
376
352
|
export type PermissionEffect = (typeof PermissionEffect)[keyof typeof PermissionEffect];
|
|
353
|
+
export declare const BankDocumentModifier: {
|
|
354
|
+
readonly REQUIRED: "REQUIRED";
|
|
355
|
+
readonly OPTIONAL: "OPTIONAL";
|
|
356
|
+
readonly NOT_REQUIRED: "NOT_REQUIRED";
|
|
357
|
+
readonly STRICTER: "STRICTER";
|
|
358
|
+
};
|
|
359
|
+
export type BankDocumentModifier = (typeof BankDocumentModifier)[keyof typeof BankDocumentModifier];
|
|
377
360
|
export declare const FieldType: {
|
|
378
361
|
readonly TEXT: "TEXT";
|
|
379
362
|
readonly TEXTAREA: "TEXTAREA";
|
|
@@ -438,6 +421,22 @@ export declare const QuestionCategory: {
|
|
|
438
421
|
readonly CUSTOM: "CUSTOM";
|
|
439
422
|
};
|
|
440
423
|
export type QuestionCategory = (typeof QuestionCategory)[keyof typeof QuestionCategory];
|
|
424
|
+
export declare const ApplicationOrganizationRole: {
|
|
425
|
+
readonly DEVELOPER: "DEVELOPER";
|
|
426
|
+
readonly LENDER: "LENDER";
|
|
427
|
+
readonly LEGAL: "LEGAL";
|
|
428
|
+
readonly INSURER: "INSURER";
|
|
429
|
+
readonly GOVERNMENT: "GOVERNMENT";
|
|
430
|
+
};
|
|
431
|
+
export type ApplicationOrganizationRole = (typeof ApplicationOrganizationRole)[keyof typeof ApplicationOrganizationRole];
|
|
432
|
+
export declare const ApplicationOrganizationStatus: {
|
|
433
|
+
readonly PENDING: "PENDING";
|
|
434
|
+
readonly ACTIVE: "ACTIVE";
|
|
435
|
+
readonly COMPLETED: "COMPLETED";
|
|
436
|
+
readonly DECLINED: "DECLINED";
|
|
437
|
+
readonly WITHDRAWN: "WITHDRAWN";
|
|
438
|
+
};
|
|
439
|
+
export type ApplicationOrganizationStatus = (typeof ApplicationOrganizationStatus)[keyof typeof ApplicationOrganizationStatus];
|
|
441
440
|
export declare const PaymentMethodChangeStatus: {
|
|
442
441
|
readonly PENDING_DOCUMENTS: "PENDING_DOCUMENTS";
|
|
443
442
|
readonly DOCUMENTS_SUBMITTED: "DOCUMENTS_SUBMITTED";
|
|
@@ -504,3 +503,18 @@ export declare const BlockerUrgency: {
|
|
|
504
503
|
readonly CRITICAL: "CRITICAL";
|
|
505
504
|
};
|
|
506
505
|
export type BlockerUrgency = (typeof BlockerUrgency)[keyof typeof BlockerUrgency];
|
|
506
|
+
export declare const ScheduledJobStatus: {
|
|
507
|
+
readonly PENDING: "PENDING";
|
|
508
|
+
readonly RUNNING: "RUNNING";
|
|
509
|
+
readonly COMPLETED: "COMPLETED";
|
|
510
|
+
readonly FAILED: "FAILED";
|
|
511
|
+
readonly CANCELLED: "CANCELLED";
|
|
512
|
+
};
|
|
513
|
+
export type ScheduledJobStatus = (typeof ScheduledJobStatus)[keyof typeof ScheduledJobStatus];
|
|
514
|
+
export declare const ScheduledJobType: {
|
|
515
|
+
readonly DOCUMENT_EXPIRY_CHECK: "DOCUMENT_EXPIRY_CHECK";
|
|
516
|
+
readonly SLA_BREACH_CHECK: "SLA_BREACH_CHECK";
|
|
517
|
+
readonly PAYMENT_REMINDER: "PAYMENT_REMINDER";
|
|
518
|
+
readonly DOCUMENT_EXPIRY_WARNING: "DOCUMENT_EXPIRY_WARNING";
|
|
519
|
+
};
|
|
520
|
+
export type ScheduledJobType = (typeof ScheduledJobType)[keyof typeof ScheduledJobType];
|
|
@@ -316,31 +316,16 @@ export const EventHandlerType = {
|
|
|
316
316
|
RUN_AUTOMATION: 'RUN_AUTOMATION',
|
|
317
317
|
LOCK_UNIT: 'LOCK_UNIT'
|
|
318
318
|
};
|
|
319
|
-
export const ActorType = {
|
|
320
|
-
USER: 'USER',
|
|
321
|
-
API_KEY: 'API_KEY',
|
|
322
|
-
SYSTEM: 'SYSTEM',
|
|
323
|
-
WEBHOOK: 'WEBHOOK'
|
|
324
|
-
};
|
|
325
|
-
export const WorkflowEventStatus = {
|
|
326
|
-
PENDING: 'PENDING',
|
|
327
|
-
PROCESSING: 'PROCESSING',
|
|
328
|
-
COMPLETED: 'COMPLETED',
|
|
329
|
-
FAILED: 'FAILED',
|
|
330
|
-
SKIPPED: 'SKIPPED'
|
|
331
|
-
};
|
|
332
|
-
export const ExecutionStatus = {
|
|
333
|
-
PENDING: 'PENDING',
|
|
334
|
-
RUNNING: 'RUNNING',
|
|
335
|
-
COMPLETED: 'COMPLETED',
|
|
336
|
-
FAILED: 'FAILED',
|
|
337
|
-
RETRYING: 'RETRYING',
|
|
338
|
-
SKIPPED: 'SKIPPED'
|
|
339
|
-
};
|
|
340
319
|
export const PermissionEffect = {
|
|
341
320
|
ALLOW: 'ALLOW',
|
|
342
321
|
DENY: 'DENY'
|
|
343
322
|
};
|
|
323
|
+
export const BankDocumentModifier = {
|
|
324
|
+
REQUIRED: 'REQUIRED',
|
|
325
|
+
OPTIONAL: 'OPTIONAL',
|
|
326
|
+
NOT_REQUIRED: 'NOT_REQUIRED',
|
|
327
|
+
STRICTER: 'STRICTER'
|
|
328
|
+
};
|
|
344
329
|
export const FieldType = {
|
|
345
330
|
TEXT: 'TEXT',
|
|
346
331
|
TEXTAREA: 'TEXTAREA',
|
|
@@ -400,6 +385,20 @@ export const QuestionCategory = {
|
|
|
400
385
|
ASSETS: 'ASSETS',
|
|
401
386
|
CUSTOM: 'CUSTOM'
|
|
402
387
|
};
|
|
388
|
+
export const ApplicationOrganizationRole = {
|
|
389
|
+
DEVELOPER: 'DEVELOPER',
|
|
390
|
+
LENDER: 'LENDER',
|
|
391
|
+
LEGAL: 'LEGAL',
|
|
392
|
+
INSURER: 'INSURER',
|
|
393
|
+
GOVERNMENT: 'GOVERNMENT'
|
|
394
|
+
};
|
|
395
|
+
export const ApplicationOrganizationStatus = {
|
|
396
|
+
PENDING: 'PENDING',
|
|
397
|
+
ACTIVE: 'ACTIVE',
|
|
398
|
+
COMPLETED: 'COMPLETED',
|
|
399
|
+
DECLINED: 'DECLINED',
|
|
400
|
+
WITHDRAWN: 'WITHDRAWN'
|
|
401
|
+
};
|
|
403
402
|
export const PaymentMethodChangeStatus = {
|
|
404
403
|
PENDING_DOCUMENTS: 'PENDING_DOCUMENTS',
|
|
405
404
|
DOCUMENTS_SUBMITTED: 'DOCUMENTS_SUBMITTED',
|
|
@@ -458,3 +457,16 @@ export const BlockerUrgency = {
|
|
|
458
457
|
HIGH: 'HIGH',
|
|
459
458
|
CRITICAL: 'CRITICAL'
|
|
460
459
|
};
|
|
460
|
+
export const ScheduledJobStatus = {
|
|
461
|
+
PENDING: 'PENDING',
|
|
462
|
+
RUNNING: 'RUNNING',
|
|
463
|
+
COMPLETED: 'COMPLETED',
|
|
464
|
+
FAILED: 'FAILED',
|
|
465
|
+
CANCELLED: 'CANCELLED'
|
|
466
|
+
};
|
|
467
|
+
export const ScheduledJobType = {
|
|
468
|
+
DOCUMENT_EXPIRY_CHECK: 'DOCUMENT_EXPIRY_CHECK',
|
|
469
|
+
SLA_BREACH_CHECK: 'SLA_BREACH_CHECK',
|
|
470
|
+
PAYMENT_REMINDER: 'PAYMENT_REMINDER',
|
|
471
|
+
DOCUMENT_EXPIRY_WARNING: 'DOCUMENT_EXPIRY_WARNING'
|
|
472
|
+
};
|
|
@@ -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:
|
|
@@ -837,28 +859,6 @@ export interface PrismaClient<in LogOpts extends Prisma.LogLevel = never, in out
|
|
|
837
859
|
get eventHandler(): Prisma.EventHandlerDelegate<ExtArgs, {
|
|
838
860
|
omit: OmitOpts;
|
|
839
861
|
}>;
|
|
840
|
-
/**
|
|
841
|
-
* `prisma.workflowEvent`: Exposes CRUD operations for the **WorkflowEvent** model.
|
|
842
|
-
* Example usage:
|
|
843
|
-
* ```ts
|
|
844
|
-
* // Fetch zero or more WorkflowEvents
|
|
845
|
-
* const workflowEvents = await prisma.workflowEvent.findMany()
|
|
846
|
-
* ```
|
|
847
|
-
*/
|
|
848
|
-
get workflowEvent(): Prisma.WorkflowEventDelegate<ExtArgs, {
|
|
849
|
-
omit: OmitOpts;
|
|
850
|
-
}>;
|
|
851
|
-
/**
|
|
852
|
-
* `prisma.eventHandlerExecution`: Exposes CRUD operations for the **EventHandlerExecution** model.
|
|
853
|
-
* Example usage:
|
|
854
|
-
* ```ts
|
|
855
|
-
* // Fetch zero or more EventHandlerExecutions
|
|
856
|
-
* const eventHandlerExecutions = await prisma.eventHandlerExecution.findMany()
|
|
857
|
-
* ```
|
|
858
|
-
*/
|
|
859
|
-
get eventHandlerExecution(): Prisma.EventHandlerExecutionDelegate<ExtArgs, {
|
|
860
|
-
omit: OmitOpts;
|
|
861
|
-
}>;
|
|
862
862
|
/**
|
|
863
863
|
* `prisma.domainEvent`: Exposes CRUD operations for the **DomainEvent** model.
|
|
864
864
|
* Example usage:
|
|
@@ -903,5 +903,27 @@ export interface PrismaClient<in LogOpts extends Prisma.LogLevel = never, in out
|
|
|
903
903
|
get workflowBlocker(): Prisma.WorkflowBlockerDelegate<ExtArgs, {
|
|
904
904
|
omit: OmitOpts;
|
|
905
905
|
}>;
|
|
906
|
+
/**
|
|
907
|
+
* `prisma.scheduledJob`: Exposes CRUD operations for the **ScheduledJob** model.
|
|
908
|
+
* Example usage:
|
|
909
|
+
* ```ts
|
|
910
|
+
* // Fetch zero or more ScheduledJobs
|
|
911
|
+
* const scheduledJobs = await prisma.scheduledJob.findMany()
|
|
912
|
+
* ```
|
|
913
|
+
*/
|
|
914
|
+
get scheduledJob(): Prisma.ScheduledJobDelegate<ExtArgs, {
|
|
915
|
+
omit: OmitOpts;
|
|
916
|
+
}>;
|
|
917
|
+
/**
|
|
918
|
+
* `prisma.documentExpiryWarning`: Exposes CRUD operations for the **DocumentExpiryWarning** model.
|
|
919
|
+
* Example usage:
|
|
920
|
+
* ```ts
|
|
921
|
+
* // Fetch zero or more DocumentExpiryWarnings
|
|
922
|
+
* const documentExpiryWarnings = await prisma.documentExpiryWarning.findMany()
|
|
923
|
+
* ```
|
|
924
|
+
*/
|
|
925
|
+
get documentExpiryWarning(): Prisma.DocumentExpiryWarningDelegate<ExtArgs, {
|
|
926
|
+
omit: OmitOpts;
|
|
927
|
+
}>;
|
|
906
928
|
}
|
|
907
929
|
export declare function getPrismaClientClass(): PrismaClientConstructor;
|