@valentine-efagene/qshelter-common 2.0.143 → 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/schema.prisma +423 -2
|
@@ -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',
|
|
@@ -110,7 +112,11 @@ export const ModelName = {
|
|
|
110
112
|
DomainEvent: 'DomainEvent',
|
|
111
113
|
PropertyTransferRequest: 'PropertyTransferRequest',
|
|
112
114
|
ApprovalRequest: 'ApprovalRequest',
|
|
113
|
-
WorkflowBlocker: 'WorkflowBlocker'
|
|
115
|
+
WorkflowBlocker: 'WorkflowBlocker',
|
|
116
|
+
StateTransitionDefinition: 'StateTransitionDefinition',
|
|
117
|
+
StateTransitionLog: 'StateTransitionLog',
|
|
118
|
+
ScheduledJob: 'ScheduledJob',
|
|
119
|
+
DocumentExpiryWarning: 'DocumentExpiryWarning'
|
|
114
120
|
};
|
|
115
121
|
/*
|
|
116
122
|
* Enums
|
|
@@ -227,6 +233,26 @@ export const OrganizationMemberScalarFieldEnum = {
|
|
|
227
233
|
createdAt: 'createdAt',
|
|
228
234
|
updatedAt: 'updatedAt'
|
|
229
235
|
};
|
|
236
|
+
export const BankDocumentRequirementScalarFieldEnum = {
|
|
237
|
+
id: 'id',
|
|
238
|
+
tenantId: 'tenantId',
|
|
239
|
+
organizationId: 'organizationId',
|
|
240
|
+
phaseType: 'phaseType',
|
|
241
|
+
paymentMethodId: 'paymentMethodId',
|
|
242
|
+
documentType: 'documentType',
|
|
243
|
+
documentName: 'documentName',
|
|
244
|
+
modifier: 'modifier',
|
|
245
|
+
description: 'description',
|
|
246
|
+
expiryDays: 'expiryDays',
|
|
247
|
+
minFiles: 'minFiles',
|
|
248
|
+
maxFiles: 'maxFiles',
|
|
249
|
+
allowedMimeTypes: 'allowedMimeTypes',
|
|
250
|
+
validationRules: 'validationRules',
|
|
251
|
+
priority: 'priority',
|
|
252
|
+
isActive: 'isActive',
|
|
253
|
+
createdAt: 'createdAt',
|
|
254
|
+
updatedAt: 'updatedAt'
|
|
255
|
+
};
|
|
230
256
|
export const TenantScalarFieldEnum = {
|
|
231
257
|
id: 'id',
|
|
232
258
|
name: 'name',
|
|
@@ -665,6 +691,9 @@ export const ApplicationScalarFieldEnum = {
|
|
|
665
691
|
buyerId: 'buyerId',
|
|
666
692
|
sellerId: 'sellerId',
|
|
667
693
|
paymentMethodId: 'paymentMethodId',
|
|
694
|
+
paymentMethodSnapshot: 'paymentMethodSnapshot',
|
|
695
|
+
paymentMethodSnapshotAt: 'paymentMethodSnapshotAt',
|
|
696
|
+
paymentMethodSnapshotHash: 'paymentMethodSnapshotHash',
|
|
668
697
|
applicationNumber: 'applicationNumber',
|
|
669
698
|
title: 'title',
|
|
670
699
|
description: 'description',
|
|
@@ -684,6 +713,37 @@ export const ApplicationScalarFieldEnum = {
|
|
|
684
713
|
supersededById: 'supersededById',
|
|
685
714
|
supersededAt: 'supersededAt'
|
|
686
715
|
};
|
|
716
|
+
export const ApplicationOrganizationScalarFieldEnum = {
|
|
717
|
+
id: 'id',
|
|
718
|
+
tenantId: 'tenantId',
|
|
719
|
+
applicationId: 'applicationId',
|
|
720
|
+
organizationId: 'organizationId',
|
|
721
|
+
role: 'role',
|
|
722
|
+
status: 'status',
|
|
723
|
+
assignedById: 'assignedById',
|
|
724
|
+
assignedAt: 'assignedAt',
|
|
725
|
+
isPrimary: 'isPrimary',
|
|
726
|
+
offeredTerms: 'offeredTerms',
|
|
727
|
+
termsOfferedAt: 'termsOfferedAt',
|
|
728
|
+
termsAcceptedAt: 'termsAcceptedAt',
|
|
729
|
+
termsDeclinedAt: 'termsDeclinedAt',
|
|
730
|
+
declineReason: 'declineReason',
|
|
731
|
+
activatedAt: 'activatedAt',
|
|
732
|
+
completedAt: 'completedAt',
|
|
733
|
+
withdrawnAt: 'withdrawnAt',
|
|
734
|
+
slaHours: 'slaHours',
|
|
735
|
+
slaStartedAt: 'slaStartedAt',
|
|
736
|
+
slaBreachedAt: 'slaBreachedAt',
|
|
737
|
+
slaBreachNotified: 'slaBreachNotified',
|
|
738
|
+
reminderCount: 'reminderCount',
|
|
739
|
+
lastReminderSentAt: 'lastReminderSentAt',
|
|
740
|
+
nextReminderAt: 'nextReminderAt',
|
|
741
|
+
escalatedAt: 'escalatedAt',
|
|
742
|
+
escalatedToUserId: 'escalatedToUserId',
|
|
743
|
+
escalationNotes: 'escalationNotes',
|
|
744
|
+
createdAt: 'createdAt',
|
|
745
|
+
updatedAt: 'updatedAt'
|
|
746
|
+
};
|
|
687
747
|
export const ApplicationRefundScalarFieldEnum = {
|
|
688
748
|
id: 'id',
|
|
689
749
|
tenantId: 'tenantId',
|
|
@@ -874,6 +934,15 @@ export const ApplicationDocumentScalarFieldEnum = {
|
|
|
874
934
|
url: 'url',
|
|
875
935
|
type: 'type',
|
|
876
936
|
uploadedById: 'uploadedById',
|
|
937
|
+
expectedUploader: 'expectedUploader',
|
|
938
|
+
expectedOrganizationId: 'expectedOrganizationId',
|
|
939
|
+
documentDate: 'documentDate',
|
|
940
|
+
expiresAt: 'expiresAt',
|
|
941
|
+
expiryDays: 'expiryDays',
|
|
942
|
+
isExpired: 'isExpired',
|
|
943
|
+
expiredAt: 'expiredAt',
|
|
944
|
+
expiryWarningAt: 'expiryWarningAt',
|
|
945
|
+
revalidatedAt: 'revalidatedAt',
|
|
877
946
|
status: 'status',
|
|
878
947
|
version: 'version',
|
|
879
948
|
replacesDocumentId: 'replacesDocumentId',
|
|
@@ -1225,6 +1294,73 @@ export const WorkflowBlockerScalarFieldEnum = {
|
|
|
1225
1294
|
createdAt: 'createdAt',
|
|
1226
1295
|
updatedAt: 'updatedAt'
|
|
1227
1296
|
};
|
|
1297
|
+
export const StateTransitionDefinitionScalarFieldEnum = {
|
|
1298
|
+
id: 'id',
|
|
1299
|
+
tenantId: 'tenantId',
|
|
1300
|
+
entityType: 'entityType',
|
|
1301
|
+
fromState: 'fromState',
|
|
1302
|
+
toState: 'toState',
|
|
1303
|
+
trigger: 'trigger',
|
|
1304
|
+
isEnabled: 'isEnabled',
|
|
1305
|
+
requiresRole: 'requiresRole',
|
|
1306
|
+
requiresPhase: 'requiresPhase',
|
|
1307
|
+
sideEffects: 'sideEffects',
|
|
1308
|
+
description: 'description',
|
|
1309
|
+
createdAt: 'createdAt',
|
|
1310
|
+
updatedAt: 'updatedAt'
|
|
1311
|
+
};
|
|
1312
|
+
export const StateTransitionLogScalarFieldEnum = {
|
|
1313
|
+
id: 'id',
|
|
1314
|
+
tenantId: 'tenantId',
|
|
1315
|
+
entityType: 'entityType',
|
|
1316
|
+
entityId: 'entityId',
|
|
1317
|
+
fromState: 'fromState',
|
|
1318
|
+
toState: 'toState',
|
|
1319
|
+
trigger: 'trigger',
|
|
1320
|
+
actorId: 'actorId',
|
|
1321
|
+
actorType: 'actorType',
|
|
1322
|
+
contextSnapshot: 'contextSnapshot',
|
|
1323
|
+
occurredAt: 'occurredAt',
|
|
1324
|
+
durationMs: 'durationMs',
|
|
1325
|
+
wasValid: 'wasValid',
|
|
1326
|
+
errorMessage: 'errorMessage'
|
|
1327
|
+
};
|
|
1328
|
+
export const ScheduledJobScalarFieldEnum = {
|
|
1329
|
+
id: 'id',
|
|
1330
|
+
tenantId: 'tenantId',
|
|
1331
|
+
jobType: 'jobType',
|
|
1332
|
+
status: 'status',
|
|
1333
|
+
scheduledAt: 'scheduledAt',
|
|
1334
|
+
startedAt: 'startedAt',
|
|
1335
|
+
completedAt: 'completedAt',
|
|
1336
|
+
durationMs: 'durationMs',
|
|
1337
|
+
parameters: 'parameters',
|
|
1338
|
+
itemsProcessed: 'itemsProcessed',
|
|
1339
|
+
itemsAffected: 'itemsAffected',
|
|
1340
|
+
errorCount: 'errorCount',
|
|
1341
|
+
errors: 'errors',
|
|
1342
|
+
summary: 'summary',
|
|
1343
|
+
attemptNumber: 'attemptNumber',
|
|
1344
|
+
maxAttempts: 'maxAttempts',
|
|
1345
|
+
nextRetryAt: 'nextRetryAt',
|
|
1346
|
+
createdAt: 'createdAt',
|
|
1347
|
+
updatedAt: 'updatedAt'
|
|
1348
|
+
};
|
|
1349
|
+
export const DocumentExpiryWarningScalarFieldEnum = {
|
|
1350
|
+
id: 'id',
|
|
1351
|
+
tenantId: 'tenantId',
|
|
1352
|
+
documentId: 'documentId',
|
|
1353
|
+
expiresAt: 'expiresAt',
|
|
1354
|
+
daysUntil: 'daysUntil',
|
|
1355
|
+
warningSent: 'warningSent',
|
|
1356
|
+
notificationSent: 'notificationSent',
|
|
1357
|
+
notificationId: 'notificationId',
|
|
1358
|
+
resolved: 'resolved',
|
|
1359
|
+
resolvedAt: 'resolvedAt',
|
|
1360
|
+
resolvedBy: 'resolvedBy',
|
|
1361
|
+
newDocumentId: 'newDocumentId',
|
|
1362
|
+
createdAt: 'createdAt'
|
|
1363
|
+
};
|
|
1228
1364
|
export const SortOrder = {
|
|
1229
1365
|
asc: 'asc',
|
|
1230
1366
|
desc: 'desc'
|
|
@@ -1320,6 +1456,17 @@ export const OrganizationMemberOrderByRelevanceFieldEnum = {
|
|
|
1320
1456
|
employeeId: 'employeeId',
|
|
1321
1457
|
invitedBy: 'invitedBy'
|
|
1322
1458
|
};
|
|
1459
|
+
export const BankDocumentRequirementOrderByRelevanceFieldEnum = {
|
|
1460
|
+
id: 'id',
|
|
1461
|
+
tenantId: 'tenantId',
|
|
1462
|
+
organizationId: 'organizationId',
|
|
1463
|
+
phaseType: 'phaseType',
|
|
1464
|
+
paymentMethodId: 'paymentMethodId',
|
|
1465
|
+
documentType: 'documentType',
|
|
1466
|
+
documentName: 'documentName',
|
|
1467
|
+
description: 'description',
|
|
1468
|
+
allowedMimeTypes: 'allowedMimeTypes'
|
|
1469
|
+
};
|
|
1323
1470
|
export const TenantOrderByRelevanceFieldEnum = {
|
|
1324
1471
|
id: 'id',
|
|
1325
1472
|
name: 'name',
|
|
@@ -1573,6 +1720,7 @@ export const ApplicationOrderByRelevanceFieldEnum = {
|
|
|
1573
1720
|
buyerId: 'buyerId',
|
|
1574
1721
|
sellerId: 'sellerId',
|
|
1575
1722
|
paymentMethodId: 'paymentMethodId',
|
|
1723
|
+
paymentMethodSnapshotHash: 'paymentMethodSnapshotHash',
|
|
1576
1724
|
applicationNumber: 'applicationNumber',
|
|
1577
1725
|
title: 'title',
|
|
1578
1726
|
description: 'description',
|
|
@@ -1581,6 +1729,16 @@ export const ApplicationOrderByRelevanceFieldEnum = {
|
|
|
1581
1729
|
transferredFromId: 'transferredFromId',
|
|
1582
1730
|
supersededById: 'supersededById'
|
|
1583
1731
|
};
|
|
1732
|
+
export const ApplicationOrganizationOrderByRelevanceFieldEnum = {
|
|
1733
|
+
id: 'id',
|
|
1734
|
+
tenantId: 'tenantId',
|
|
1735
|
+
applicationId: 'applicationId',
|
|
1736
|
+
organizationId: 'organizationId',
|
|
1737
|
+
assignedById: 'assignedById',
|
|
1738
|
+
declineReason: 'declineReason',
|
|
1739
|
+
escalatedToUserId: 'escalatedToUserId',
|
|
1740
|
+
escalationNotes: 'escalationNotes'
|
|
1741
|
+
};
|
|
1584
1742
|
export const ApplicationRefundOrderByRelevanceFieldEnum = {
|
|
1585
1743
|
id: 'id',
|
|
1586
1744
|
tenantId: 'tenantId',
|
|
@@ -1680,6 +1838,7 @@ export const ApplicationDocumentOrderByRelevanceFieldEnum = {
|
|
|
1680
1838
|
url: 'url',
|
|
1681
1839
|
type: 'type',
|
|
1682
1840
|
uploadedById: 'uploadedById',
|
|
1841
|
+
expectedOrganizationId: 'expectedOrganizationId',
|
|
1683
1842
|
replacesDocumentId: 'replacesDocumentId'
|
|
1684
1843
|
};
|
|
1685
1844
|
export const DocumentReviewOrderByRelevanceFieldEnum = {
|
|
@@ -1863,3 +2022,36 @@ export const WorkflowBlockerOrderByRelevanceFieldEnum = {
|
|
|
1863
2022
|
resolvedByActor: 'resolvedByActor',
|
|
1864
2023
|
resolutionTrigger: 'resolutionTrigger'
|
|
1865
2024
|
};
|
|
2025
|
+
export const StateTransitionDefinitionOrderByRelevanceFieldEnum = {
|
|
2026
|
+
id: 'id',
|
|
2027
|
+
tenantId: 'tenantId',
|
|
2028
|
+
fromState: 'fromState',
|
|
2029
|
+
toState: 'toState',
|
|
2030
|
+
trigger: 'trigger',
|
|
2031
|
+
requiresRole: 'requiresRole',
|
|
2032
|
+
requiresPhase: 'requiresPhase',
|
|
2033
|
+
description: 'description'
|
|
2034
|
+
};
|
|
2035
|
+
export const StateTransitionLogOrderByRelevanceFieldEnum = {
|
|
2036
|
+
id: 'id',
|
|
2037
|
+
tenantId: 'tenantId',
|
|
2038
|
+
entityId: 'entityId',
|
|
2039
|
+
fromState: 'fromState',
|
|
2040
|
+
toState: 'toState',
|
|
2041
|
+
trigger: 'trigger',
|
|
2042
|
+
actorId: 'actorId',
|
|
2043
|
+
errorMessage: 'errorMessage'
|
|
2044
|
+
};
|
|
2045
|
+
export const ScheduledJobOrderByRelevanceFieldEnum = {
|
|
2046
|
+
id: 'id',
|
|
2047
|
+
tenantId: 'tenantId',
|
|
2048
|
+
summary: 'summary'
|
|
2049
|
+
};
|
|
2050
|
+
export const DocumentExpiryWarningOrderByRelevanceFieldEnum = {
|
|
2051
|
+
id: 'id',
|
|
2052
|
+
tenantId: 'tenantId',
|
|
2053
|
+
documentId: 'documentId',
|
|
2054
|
+
notificationId: 'notificationId',
|
|
2055
|
+
resolvedBy: 'resolvedBy',
|
|
2056
|
+
newDocumentId: 'newDocumentId'
|
|
2057
|
+
};
|