@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
|
@@ -47,6 +47,7 @@ export const ModelName = {
|
|
|
47
47
|
TenantMembership: 'TenantMembership',
|
|
48
48
|
Organization: 'Organization',
|
|
49
49
|
OrganizationMember: 'OrganizationMember',
|
|
50
|
+
BankDocumentRequirement: 'BankDocumentRequirement',
|
|
50
51
|
Tenant: 'Tenant',
|
|
51
52
|
ApiKey: 'ApiKey',
|
|
52
53
|
RefreshToken: 'RefreshToken',
|
|
@@ -83,6 +84,7 @@ export const ModelName = {
|
|
|
83
84
|
PaymentMethodPhaseDocument: 'PaymentMethodPhaseDocument',
|
|
84
85
|
PaymentMethodPhaseField: 'PaymentMethodPhaseField',
|
|
85
86
|
Application: 'Application',
|
|
87
|
+
ApplicationOrganization: 'ApplicationOrganization',
|
|
86
88
|
ApplicationRefund: 'ApplicationRefund',
|
|
87
89
|
ApplicationPhase: 'ApplicationPhase',
|
|
88
90
|
QuestionnairePhase: 'QuestionnairePhase',
|
|
@@ -105,12 +107,12 @@ export const ModelName = {
|
|
|
105
107
|
EventChannel: 'EventChannel',
|
|
106
108
|
EventType: 'EventType',
|
|
107
109
|
EventHandler: 'EventHandler',
|
|
108
|
-
WorkflowEvent: 'WorkflowEvent',
|
|
109
|
-
EventHandlerExecution: 'EventHandlerExecution',
|
|
110
110
|
DomainEvent: 'DomainEvent',
|
|
111
111
|
PropertyTransferRequest: 'PropertyTransferRequest',
|
|
112
112
|
ApprovalRequest: 'ApprovalRequest',
|
|
113
|
-
WorkflowBlocker: 'WorkflowBlocker'
|
|
113
|
+
WorkflowBlocker: 'WorkflowBlocker',
|
|
114
|
+
ScheduledJob: 'ScheduledJob',
|
|
115
|
+
DocumentExpiryWarning: 'DocumentExpiryWarning'
|
|
114
116
|
};
|
|
115
117
|
/*
|
|
116
118
|
* Enums
|
|
@@ -227,6 +229,26 @@ export const OrganizationMemberScalarFieldEnum = {
|
|
|
227
229
|
createdAt: 'createdAt',
|
|
228
230
|
updatedAt: 'updatedAt'
|
|
229
231
|
};
|
|
232
|
+
export const BankDocumentRequirementScalarFieldEnum = {
|
|
233
|
+
id: 'id',
|
|
234
|
+
tenantId: 'tenantId',
|
|
235
|
+
organizationId: 'organizationId',
|
|
236
|
+
phaseType: 'phaseType',
|
|
237
|
+
paymentMethodId: 'paymentMethodId',
|
|
238
|
+
documentType: 'documentType',
|
|
239
|
+
documentName: 'documentName',
|
|
240
|
+
modifier: 'modifier',
|
|
241
|
+
description: 'description',
|
|
242
|
+
expiryDays: 'expiryDays',
|
|
243
|
+
minFiles: 'minFiles',
|
|
244
|
+
maxFiles: 'maxFiles',
|
|
245
|
+
allowedMimeTypes: 'allowedMimeTypes',
|
|
246
|
+
validationRules: 'validationRules',
|
|
247
|
+
priority: 'priority',
|
|
248
|
+
isActive: 'isActive',
|
|
249
|
+
createdAt: 'createdAt',
|
|
250
|
+
updatedAt: 'updatedAt'
|
|
251
|
+
};
|
|
230
252
|
export const TenantScalarFieldEnum = {
|
|
231
253
|
id: 'id',
|
|
232
254
|
name: 'name',
|
|
@@ -665,6 +687,9 @@ export const ApplicationScalarFieldEnum = {
|
|
|
665
687
|
buyerId: 'buyerId',
|
|
666
688
|
sellerId: 'sellerId',
|
|
667
689
|
paymentMethodId: 'paymentMethodId',
|
|
690
|
+
paymentMethodSnapshot: 'paymentMethodSnapshot',
|
|
691
|
+
paymentMethodSnapshotAt: 'paymentMethodSnapshotAt',
|
|
692
|
+
paymentMethodSnapshotHash: 'paymentMethodSnapshotHash',
|
|
668
693
|
applicationNumber: 'applicationNumber',
|
|
669
694
|
title: 'title',
|
|
670
695
|
description: 'description',
|
|
@@ -684,6 +709,37 @@ export const ApplicationScalarFieldEnum = {
|
|
|
684
709
|
supersededById: 'supersededById',
|
|
685
710
|
supersededAt: 'supersededAt'
|
|
686
711
|
};
|
|
712
|
+
export const ApplicationOrganizationScalarFieldEnum = {
|
|
713
|
+
id: 'id',
|
|
714
|
+
tenantId: 'tenantId',
|
|
715
|
+
applicationId: 'applicationId',
|
|
716
|
+
organizationId: 'organizationId',
|
|
717
|
+
role: 'role',
|
|
718
|
+
status: 'status',
|
|
719
|
+
assignedById: 'assignedById',
|
|
720
|
+
assignedAt: 'assignedAt',
|
|
721
|
+
isPrimary: 'isPrimary',
|
|
722
|
+
offeredTerms: 'offeredTerms',
|
|
723
|
+
termsOfferedAt: 'termsOfferedAt',
|
|
724
|
+
termsAcceptedAt: 'termsAcceptedAt',
|
|
725
|
+
termsDeclinedAt: 'termsDeclinedAt',
|
|
726
|
+
declineReason: 'declineReason',
|
|
727
|
+
activatedAt: 'activatedAt',
|
|
728
|
+
completedAt: 'completedAt',
|
|
729
|
+
withdrawnAt: 'withdrawnAt',
|
|
730
|
+
slaHours: 'slaHours',
|
|
731
|
+
slaStartedAt: 'slaStartedAt',
|
|
732
|
+
slaBreachedAt: 'slaBreachedAt',
|
|
733
|
+
slaBreachNotified: 'slaBreachNotified',
|
|
734
|
+
reminderCount: 'reminderCount',
|
|
735
|
+
lastReminderSentAt: 'lastReminderSentAt',
|
|
736
|
+
nextReminderAt: 'nextReminderAt',
|
|
737
|
+
escalatedAt: 'escalatedAt',
|
|
738
|
+
escalatedToUserId: 'escalatedToUserId',
|
|
739
|
+
escalationNotes: 'escalationNotes',
|
|
740
|
+
createdAt: 'createdAt',
|
|
741
|
+
updatedAt: 'updatedAt'
|
|
742
|
+
};
|
|
687
743
|
export const ApplicationRefundScalarFieldEnum = {
|
|
688
744
|
id: 'id',
|
|
689
745
|
tenantId: 'tenantId',
|
|
@@ -874,6 +930,15 @@ export const ApplicationDocumentScalarFieldEnum = {
|
|
|
874
930
|
url: 'url',
|
|
875
931
|
type: 'type',
|
|
876
932
|
uploadedById: 'uploadedById',
|
|
933
|
+
expectedUploader: 'expectedUploader',
|
|
934
|
+
expectedOrganizationId: 'expectedOrganizationId',
|
|
935
|
+
documentDate: 'documentDate',
|
|
936
|
+
expiresAt: 'expiresAt',
|
|
937
|
+
expiryDays: 'expiryDays',
|
|
938
|
+
isExpired: 'isExpired',
|
|
939
|
+
expiredAt: 'expiredAt',
|
|
940
|
+
expiryWarningAt: 'expiryWarningAt',
|
|
941
|
+
revalidatedAt: 'revalidatedAt',
|
|
877
942
|
status: 'status',
|
|
878
943
|
version: 'version',
|
|
879
944
|
replacesDocumentId: 'replacesDocumentId',
|
|
@@ -1102,37 +1167,6 @@ export const EventHandlerScalarFieldEnum = {
|
|
|
1102
1167
|
createdAt: 'createdAt',
|
|
1103
1168
|
updatedAt: 'updatedAt'
|
|
1104
1169
|
};
|
|
1105
|
-
export const WorkflowEventScalarFieldEnum = {
|
|
1106
|
-
id: 'id',
|
|
1107
|
-
tenantId: 'tenantId',
|
|
1108
|
-
eventTypeId: 'eventTypeId',
|
|
1109
|
-
payload: 'payload',
|
|
1110
|
-
correlationId: 'correlationId',
|
|
1111
|
-
causationId: 'causationId',
|
|
1112
|
-
source: 'source',
|
|
1113
|
-
actorId: 'actorId',
|
|
1114
|
-
actorType: 'actorType',
|
|
1115
|
-
status: 'status',
|
|
1116
|
-
error: 'error',
|
|
1117
|
-
processedAt: 'processedAt',
|
|
1118
|
-
createdAt: 'createdAt'
|
|
1119
|
-
};
|
|
1120
|
-
export const EventHandlerExecutionScalarFieldEnum = {
|
|
1121
|
-
id: 'id',
|
|
1122
|
-
tenantId: 'tenantId',
|
|
1123
|
-
eventId: 'eventId',
|
|
1124
|
-
handlerId: 'handlerId',
|
|
1125
|
-
status: 'status',
|
|
1126
|
-
attempt: 'attempt',
|
|
1127
|
-
input: 'input',
|
|
1128
|
-
output: 'output',
|
|
1129
|
-
error: 'error',
|
|
1130
|
-
errorCode: 'errorCode',
|
|
1131
|
-
startedAt: 'startedAt',
|
|
1132
|
-
completedAt: 'completedAt',
|
|
1133
|
-
durationMs: 'durationMs',
|
|
1134
|
-
createdAt: 'createdAt'
|
|
1135
|
-
};
|
|
1136
1170
|
export const DomainEventScalarFieldEnum = {
|
|
1137
1171
|
id: 'id',
|
|
1138
1172
|
tenantId: 'tenantId',
|
|
@@ -1225,6 +1259,42 @@ export const WorkflowBlockerScalarFieldEnum = {
|
|
|
1225
1259
|
createdAt: 'createdAt',
|
|
1226
1260
|
updatedAt: 'updatedAt'
|
|
1227
1261
|
};
|
|
1262
|
+
export const ScheduledJobScalarFieldEnum = {
|
|
1263
|
+
id: 'id',
|
|
1264
|
+
tenantId: 'tenantId',
|
|
1265
|
+
jobType: 'jobType',
|
|
1266
|
+
status: 'status',
|
|
1267
|
+
scheduledAt: 'scheduledAt',
|
|
1268
|
+
startedAt: 'startedAt',
|
|
1269
|
+
completedAt: 'completedAt',
|
|
1270
|
+
durationMs: 'durationMs',
|
|
1271
|
+
parameters: 'parameters',
|
|
1272
|
+
itemsProcessed: 'itemsProcessed',
|
|
1273
|
+
itemsAffected: 'itemsAffected',
|
|
1274
|
+
errorCount: 'errorCount',
|
|
1275
|
+
errors: 'errors',
|
|
1276
|
+
summary: 'summary',
|
|
1277
|
+
attemptNumber: 'attemptNumber',
|
|
1278
|
+
maxAttempts: 'maxAttempts',
|
|
1279
|
+
nextRetryAt: 'nextRetryAt',
|
|
1280
|
+
createdAt: 'createdAt',
|
|
1281
|
+
updatedAt: 'updatedAt'
|
|
1282
|
+
};
|
|
1283
|
+
export const DocumentExpiryWarningScalarFieldEnum = {
|
|
1284
|
+
id: 'id',
|
|
1285
|
+
tenantId: 'tenantId',
|
|
1286
|
+
documentId: 'documentId',
|
|
1287
|
+
expiresAt: 'expiresAt',
|
|
1288
|
+
daysUntil: 'daysUntil',
|
|
1289
|
+
warningSent: 'warningSent',
|
|
1290
|
+
notificationSent: 'notificationSent',
|
|
1291
|
+
notificationId: 'notificationId',
|
|
1292
|
+
resolved: 'resolved',
|
|
1293
|
+
resolvedAt: 'resolvedAt',
|
|
1294
|
+
resolvedBy: 'resolvedBy',
|
|
1295
|
+
newDocumentId: 'newDocumentId',
|
|
1296
|
+
createdAt: 'createdAt'
|
|
1297
|
+
};
|
|
1228
1298
|
export const SortOrder = {
|
|
1229
1299
|
asc: 'asc',
|
|
1230
1300
|
desc: 'desc'
|
|
@@ -1320,6 +1390,17 @@ export const OrganizationMemberOrderByRelevanceFieldEnum = {
|
|
|
1320
1390
|
employeeId: 'employeeId',
|
|
1321
1391
|
invitedBy: 'invitedBy'
|
|
1322
1392
|
};
|
|
1393
|
+
export const BankDocumentRequirementOrderByRelevanceFieldEnum = {
|
|
1394
|
+
id: 'id',
|
|
1395
|
+
tenantId: 'tenantId',
|
|
1396
|
+
organizationId: 'organizationId',
|
|
1397
|
+
phaseType: 'phaseType',
|
|
1398
|
+
paymentMethodId: 'paymentMethodId',
|
|
1399
|
+
documentType: 'documentType',
|
|
1400
|
+
documentName: 'documentName',
|
|
1401
|
+
description: 'description',
|
|
1402
|
+
allowedMimeTypes: 'allowedMimeTypes'
|
|
1403
|
+
};
|
|
1323
1404
|
export const TenantOrderByRelevanceFieldEnum = {
|
|
1324
1405
|
id: 'id',
|
|
1325
1406
|
name: 'name',
|
|
@@ -1573,6 +1654,7 @@ export const ApplicationOrderByRelevanceFieldEnum = {
|
|
|
1573
1654
|
buyerId: 'buyerId',
|
|
1574
1655
|
sellerId: 'sellerId',
|
|
1575
1656
|
paymentMethodId: 'paymentMethodId',
|
|
1657
|
+
paymentMethodSnapshotHash: 'paymentMethodSnapshotHash',
|
|
1576
1658
|
applicationNumber: 'applicationNumber',
|
|
1577
1659
|
title: 'title',
|
|
1578
1660
|
description: 'description',
|
|
@@ -1581,6 +1663,16 @@ export const ApplicationOrderByRelevanceFieldEnum = {
|
|
|
1581
1663
|
transferredFromId: 'transferredFromId',
|
|
1582
1664
|
supersededById: 'supersededById'
|
|
1583
1665
|
};
|
|
1666
|
+
export const ApplicationOrganizationOrderByRelevanceFieldEnum = {
|
|
1667
|
+
id: 'id',
|
|
1668
|
+
tenantId: 'tenantId',
|
|
1669
|
+
applicationId: 'applicationId',
|
|
1670
|
+
organizationId: 'organizationId',
|
|
1671
|
+
assignedById: 'assignedById',
|
|
1672
|
+
declineReason: 'declineReason',
|
|
1673
|
+
escalatedToUserId: 'escalatedToUserId',
|
|
1674
|
+
escalationNotes: 'escalationNotes'
|
|
1675
|
+
};
|
|
1584
1676
|
export const ApplicationRefundOrderByRelevanceFieldEnum = {
|
|
1585
1677
|
id: 'id',
|
|
1586
1678
|
tenantId: 'tenantId',
|
|
@@ -1680,6 +1772,7 @@ export const ApplicationDocumentOrderByRelevanceFieldEnum = {
|
|
|
1680
1772
|
url: 'url',
|
|
1681
1773
|
type: 'type',
|
|
1682
1774
|
uploadedById: 'uploadedById',
|
|
1775
|
+
expectedOrganizationId: 'expectedOrganizationId',
|
|
1683
1776
|
replacesDocumentId: 'replacesDocumentId'
|
|
1684
1777
|
};
|
|
1685
1778
|
export const DocumentReviewOrderByRelevanceFieldEnum = {
|
|
@@ -1796,24 +1889,6 @@ export const EventHandlerOrderByRelevanceFieldEnum = {
|
|
|
1796
1889
|
description: 'description',
|
|
1797
1890
|
filterCondition: 'filterCondition'
|
|
1798
1891
|
};
|
|
1799
|
-
export const WorkflowEventOrderByRelevanceFieldEnum = {
|
|
1800
|
-
id: 'id',
|
|
1801
|
-
tenantId: 'tenantId',
|
|
1802
|
-
eventTypeId: 'eventTypeId',
|
|
1803
|
-
correlationId: 'correlationId',
|
|
1804
|
-
causationId: 'causationId',
|
|
1805
|
-
source: 'source',
|
|
1806
|
-
actorId: 'actorId',
|
|
1807
|
-
error: 'error'
|
|
1808
|
-
};
|
|
1809
|
-
export const EventHandlerExecutionOrderByRelevanceFieldEnum = {
|
|
1810
|
-
id: 'id',
|
|
1811
|
-
tenantId: 'tenantId',
|
|
1812
|
-
eventId: 'eventId',
|
|
1813
|
-
handlerId: 'handlerId',
|
|
1814
|
-
error: 'error',
|
|
1815
|
-
errorCode: 'errorCode'
|
|
1816
|
-
};
|
|
1817
1892
|
export const DomainEventOrderByRelevanceFieldEnum = {
|
|
1818
1893
|
id: 'id',
|
|
1819
1894
|
tenantId: 'tenantId',
|
|
@@ -1863,3 +1938,16 @@ export const WorkflowBlockerOrderByRelevanceFieldEnum = {
|
|
|
1863
1938
|
resolvedByActor: 'resolvedByActor',
|
|
1864
1939
|
resolutionTrigger: 'resolutionTrigger'
|
|
1865
1940
|
};
|
|
1941
|
+
export const ScheduledJobOrderByRelevanceFieldEnum = {
|
|
1942
|
+
id: 'id',
|
|
1943
|
+
tenantId: 'tenantId',
|
|
1944
|
+
summary: 'summary'
|
|
1945
|
+
};
|
|
1946
|
+
export const DocumentExpiryWarningOrderByRelevanceFieldEnum = {
|
|
1947
|
+
id: 'id',
|
|
1948
|
+
tenantId: 'tenantId',
|
|
1949
|
+
documentId: 'documentId',
|
|
1950
|
+
notificationId: 'notificationId',
|
|
1951
|
+
resolvedBy: 'resolvedBy',
|
|
1952
|
+
newDocumentId: 'newDocumentId'
|
|
1953
|
+
};
|