@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.
Files changed (37) hide show
  1. package/dist/generated/client/browser.d.ts +32 -0
  2. package/dist/generated/client/client.d.ts +32 -0
  3. package/dist/generated/client/commonInputTypes.d.ts +354 -144
  4. package/dist/generated/client/enums.d.ts +45 -0
  5. package/dist/generated/client/enums.js +39 -0
  6. package/dist/generated/client/internal/class.d.ts +66 -0
  7. package/dist/generated/client/internal/class.js +2 -2
  8. package/dist/generated/client/internal/prismaNamespace.d.ts +633 -3
  9. package/dist/generated/client/internal/prismaNamespace.js +193 -1
  10. package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +204 -0
  11. package/dist/generated/client/internal/prismaNamespaceBrowser.js +193 -1
  12. package/dist/generated/client/models/Application.d.ts +669 -1
  13. package/dist/generated/client/models/ApplicationDocument.d.ts +577 -1
  14. package/dist/generated/client/models/ApplicationOrganization.d.ts +2385 -0
  15. package/dist/generated/client/models/ApplicationOrganization.js +1 -0
  16. package/dist/generated/client/models/BankDocumentRequirement.d.ts +1932 -0
  17. package/dist/generated/client/models/BankDocumentRequirement.js +1 -0
  18. package/dist/generated/client/models/DocumentExpiryWarning.d.ts +1141 -0
  19. package/dist/generated/client/models/DocumentExpiryWarning.js +1 -0
  20. package/dist/generated/client/models/Organization.d.ts +390 -0
  21. package/dist/generated/client/models/PropertyMedia.d.ts +0 -7
  22. package/dist/generated/client/models/PropertyPaymentMethod.d.ts +192 -3
  23. package/dist/generated/client/models/PropertyVariant.d.ts +0 -7
  24. package/dist/generated/client/models/ScheduledJob.d.ts +1317 -0
  25. package/dist/generated/client/models/ScheduledJob.js +1 -0
  26. package/dist/generated/client/models/StateTransitionDefinition.d.ts +1104 -0
  27. package/dist/generated/client/models/StateTransitionDefinition.js +1 -0
  28. package/dist/generated/client/models/StateTransitionLog.d.ts +1383 -0
  29. package/dist/generated/client/models/StateTransitionLog.js +1 -0
  30. package/dist/generated/client/models/Tenant.d.ts +2535 -798
  31. package/dist/generated/client/models/index.d.ts +6 -0
  32. package/dist/generated/client/models/index.js +6 -0
  33. package/dist/generated/client/models.d.ts +6 -0
  34. package/dist/src/prisma/tenant.js +4 -0
  35. package/package.json +1 -1
  36. package/prisma/migrations/20260120024650_add_questionnaire_phase_review/migration.sql +102 -0
  37. package/prisma/schema.prisma +423 -2
@@ -75,6 +75,7 @@ export const ModelName = {
75
75
  TenantMembership: 'TenantMembership',
76
76
  Organization: 'Organization',
77
77
  OrganizationMember: 'OrganizationMember',
78
+ BankDocumentRequirement: 'BankDocumentRequirement',
78
79
  Tenant: 'Tenant',
79
80
  ApiKey: 'ApiKey',
80
81
  RefreshToken: 'RefreshToken',
@@ -111,6 +112,7 @@ export const ModelName = {
111
112
  PaymentMethodPhaseDocument: 'PaymentMethodPhaseDocument',
112
113
  PaymentMethodPhaseField: 'PaymentMethodPhaseField',
113
114
  Application: 'Application',
115
+ ApplicationOrganization: 'ApplicationOrganization',
114
116
  ApplicationRefund: 'ApplicationRefund',
115
117
  ApplicationPhase: 'ApplicationPhase',
116
118
  QuestionnairePhase: 'QuestionnairePhase',
@@ -138,7 +140,11 @@ export const ModelName = {
138
140
  DomainEvent: 'DomainEvent',
139
141
  PropertyTransferRequest: 'PropertyTransferRequest',
140
142
  ApprovalRequest: 'ApprovalRequest',
141
- WorkflowBlocker: 'WorkflowBlocker'
143
+ WorkflowBlocker: 'WorkflowBlocker',
144
+ StateTransitionDefinition: 'StateTransitionDefinition',
145
+ StateTransitionLog: 'StateTransitionLog',
146
+ ScheduledJob: 'ScheduledJob',
147
+ DocumentExpiryWarning: 'DocumentExpiryWarning'
142
148
  };
143
149
  /**
144
150
  * Enums
@@ -255,6 +261,26 @@ export const OrganizationMemberScalarFieldEnum = {
255
261
  createdAt: 'createdAt',
256
262
  updatedAt: 'updatedAt'
257
263
  };
264
+ export const BankDocumentRequirementScalarFieldEnum = {
265
+ id: 'id',
266
+ tenantId: 'tenantId',
267
+ organizationId: 'organizationId',
268
+ phaseType: 'phaseType',
269
+ paymentMethodId: 'paymentMethodId',
270
+ documentType: 'documentType',
271
+ documentName: 'documentName',
272
+ modifier: 'modifier',
273
+ description: 'description',
274
+ expiryDays: 'expiryDays',
275
+ minFiles: 'minFiles',
276
+ maxFiles: 'maxFiles',
277
+ allowedMimeTypes: 'allowedMimeTypes',
278
+ validationRules: 'validationRules',
279
+ priority: 'priority',
280
+ isActive: 'isActive',
281
+ createdAt: 'createdAt',
282
+ updatedAt: 'updatedAt'
283
+ };
258
284
  export const TenantScalarFieldEnum = {
259
285
  id: 'id',
260
286
  name: 'name',
@@ -693,6 +719,9 @@ export const ApplicationScalarFieldEnum = {
693
719
  buyerId: 'buyerId',
694
720
  sellerId: 'sellerId',
695
721
  paymentMethodId: 'paymentMethodId',
722
+ paymentMethodSnapshot: 'paymentMethodSnapshot',
723
+ paymentMethodSnapshotAt: 'paymentMethodSnapshotAt',
724
+ paymentMethodSnapshotHash: 'paymentMethodSnapshotHash',
696
725
  applicationNumber: 'applicationNumber',
697
726
  title: 'title',
698
727
  description: 'description',
@@ -712,6 +741,37 @@ export const ApplicationScalarFieldEnum = {
712
741
  supersededById: 'supersededById',
713
742
  supersededAt: 'supersededAt'
714
743
  };
744
+ export const ApplicationOrganizationScalarFieldEnum = {
745
+ id: 'id',
746
+ tenantId: 'tenantId',
747
+ applicationId: 'applicationId',
748
+ organizationId: 'organizationId',
749
+ role: 'role',
750
+ status: 'status',
751
+ assignedById: 'assignedById',
752
+ assignedAt: 'assignedAt',
753
+ isPrimary: 'isPrimary',
754
+ offeredTerms: 'offeredTerms',
755
+ termsOfferedAt: 'termsOfferedAt',
756
+ termsAcceptedAt: 'termsAcceptedAt',
757
+ termsDeclinedAt: 'termsDeclinedAt',
758
+ declineReason: 'declineReason',
759
+ activatedAt: 'activatedAt',
760
+ completedAt: 'completedAt',
761
+ withdrawnAt: 'withdrawnAt',
762
+ slaHours: 'slaHours',
763
+ slaStartedAt: 'slaStartedAt',
764
+ slaBreachedAt: 'slaBreachedAt',
765
+ slaBreachNotified: 'slaBreachNotified',
766
+ reminderCount: 'reminderCount',
767
+ lastReminderSentAt: 'lastReminderSentAt',
768
+ nextReminderAt: 'nextReminderAt',
769
+ escalatedAt: 'escalatedAt',
770
+ escalatedToUserId: 'escalatedToUserId',
771
+ escalationNotes: 'escalationNotes',
772
+ createdAt: 'createdAt',
773
+ updatedAt: 'updatedAt'
774
+ };
715
775
  export const ApplicationRefundScalarFieldEnum = {
716
776
  id: 'id',
717
777
  tenantId: 'tenantId',
@@ -902,6 +962,15 @@ export const ApplicationDocumentScalarFieldEnum = {
902
962
  url: 'url',
903
963
  type: 'type',
904
964
  uploadedById: 'uploadedById',
965
+ expectedUploader: 'expectedUploader',
966
+ expectedOrganizationId: 'expectedOrganizationId',
967
+ documentDate: 'documentDate',
968
+ expiresAt: 'expiresAt',
969
+ expiryDays: 'expiryDays',
970
+ isExpired: 'isExpired',
971
+ expiredAt: 'expiredAt',
972
+ expiryWarningAt: 'expiryWarningAt',
973
+ revalidatedAt: 'revalidatedAt',
905
974
  status: 'status',
906
975
  version: 'version',
907
976
  replacesDocumentId: 'replacesDocumentId',
@@ -1253,6 +1322,73 @@ export const WorkflowBlockerScalarFieldEnum = {
1253
1322
  createdAt: 'createdAt',
1254
1323
  updatedAt: 'updatedAt'
1255
1324
  };
1325
+ export const StateTransitionDefinitionScalarFieldEnum = {
1326
+ id: 'id',
1327
+ tenantId: 'tenantId',
1328
+ entityType: 'entityType',
1329
+ fromState: 'fromState',
1330
+ toState: 'toState',
1331
+ trigger: 'trigger',
1332
+ isEnabled: 'isEnabled',
1333
+ requiresRole: 'requiresRole',
1334
+ requiresPhase: 'requiresPhase',
1335
+ sideEffects: 'sideEffects',
1336
+ description: 'description',
1337
+ createdAt: 'createdAt',
1338
+ updatedAt: 'updatedAt'
1339
+ };
1340
+ export const StateTransitionLogScalarFieldEnum = {
1341
+ id: 'id',
1342
+ tenantId: 'tenantId',
1343
+ entityType: 'entityType',
1344
+ entityId: 'entityId',
1345
+ fromState: 'fromState',
1346
+ toState: 'toState',
1347
+ trigger: 'trigger',
1348
+ actorId: 'actorId',
1349
+ actorType: 'actorType',
1350
+ contextSnapshot: 'contextSnapshot',
1351
+ occurredAt: 'occurredAt',
1352
+ durationMs: 'durationMs',
1353
+ wasValid: 'wasValid',
1354
+ errorMessage: 'errorMessage'
1355
+ };
1356
+ export const ScheduledJobScalarFieldEnum = {
1357
+ id: 'id',
1358
+ tenantId: 'tenantId',
1359
+ jobType: 'jobType',
1360
+ status: 'status',
1361
+ scheduledAt: 'scheduledAt',
1362
+ startedAt: 'startedAt',
1363
+ completedAt: 'completedAt',
1364
+ durationMs: 'durationMs',
1365
+ parameters: 'parameters',
1366
+ itemsProcessed: 'itemsProcessed',
1367
+ itemsAffected: 'itemsAffected',
1368
+ errorCount: 'errorCount',
1369
+ errors: 'errors',
1370
+ summary: 'summary',
1371
+ attemptNumber: 'attemptNumber',
1372
+ maxAttempts: 'maxAttempts',
1373
+ nextRetryAt: 'nextRetryAt',
1374
+ createdAt: 'createdAt',
1375
+ updatedAt: 'updatedAt'
1376
+ };
1377
+ export const DocumentExpiryWarningScalarFieldEnum = {
1378
+ id: 'id',
1379
+ tenantId: 'tenantId',
1380
+ documentId: 'documentId',
1381
+ expiresAt: 'expiresAt',
1382
+ daysUntil: 'daysUntil',
1383
+ warningSent: 'warningSent',
1384
+ notificationSent: 'notificationSent',
1385
+ notificationId: 'notificationId',
1386
+ resolved: 'resolved',
1387
+ resolvedAt: 'resolvedAt',
1388
+ resolvedBy: 'resolvedBy',
1389
+ newDocumentId: 'newDocumentId',
1390
+ createdAt: 'createdAt'
1391
+ };
1256
1392
  export const SortOrder = {
1257
1393
  asc: 'asc',
1258
1394
  desc: 'desc'
@@ -1348,6 +1484,17 @@ export const OrganizationMemberOrderByRelevanceFieldEnum = {
1348
1484
  employeeId: 'employeeId',
1349
1485
  invitedBy: 'invitedBy'
1350
1486
  };
1487
+ export const BankDocumentRequirementOrderByRelevanceFieldEnum = {
1488
+ id: 'id',
1489
+ tenantId: 'tenantId',
1490
+ organizationId: 'organizationId',
1491
+ phaseType: 'phaseType',
1492
+ paymentMethodId: 'paymentMethodId',
1493
+ documentType: 'documentType',
1494
+ documentName: 'documentName',
1495
+ description: 'description',
1496
+ allowedMimeTypes: 'allowedMimeTypes'
1497
+ };
1351
1498
  export const TenantOrderByRelevanceFieldEnum = {
1352
1499
  id: 'id',
1353
1500
  name: 'name',
@@ -1601,6 +1748,7 @@ export const ApplicationOrderByRelevanceFieldEnum = {
1601
1748
  buyerId: 'buyerId',
1602
1749
  sellerId: 'sellerId',
1603
1750
  paymentMethodId: 'paymentMethodId',
1751
+ paymentMethodSnapshotHash: 'paymentMethodSnapshotHash',
1604
1752
  applicationNumber: 'applicationNumber',
1605
1753
  title: 'title',
1606
1754
  description: 'description',
@@ -1609,6 +1757,16 @@ export const ApplicationOrderByRelevanceFieldEnum = {
1609
1757
  transferredFromId: 'transferredFromId',
1610
1758
  supersededById: 'supersededById'
1611
1759
  };
1760
+ export const ApplicationOrganizationOrderByRelevanceFieldEnum = {
1761
+ id: 'id',
1762
+ tenantId: 'tenantId',
1763
+ applicationId: 'applicationId',
1764
+ organizationId: 'organizationId',
1765
+ assignedById: 'assignedById',
1766
+ declineReason: 'declineReason',
1767
+ escalatedToUserId: 'escalatedToUserId',
1768
+ escalationNotes: 'escalationNotes'
1769
+ };
1612
1770
  export const ApplicationRefundOrderByRelevanceFieldEnum = {
1613
1771
  id: 'id',
1614
1772
  tenantId: 'tenantId',
@@ -1708,6 +1866,7 @@ export const ApplicationDocumentOrderByRelevanceFieldEnum = {
1708
1866
  url: 'url',
1709
1867
  type: 'type',
1710
1868
  uploadedById: 'uploadedById',
1869
+ expectedOrganizationId: 'expectedOrganizationId',
1711
1870
  replacesDocumentId: 'replacesDocumentId'
1712
1871
  };
1713
1872
  export const DocumentReviewOrderByRelevanceFieldEnum = {
@@ -1891,4 +2050,37 @@ export const WorkflowBlockerOrderByRelevanceFieldEnum = {
1891
2050
  resolvedByActor: 'resolvedByActor',
1892
2051
  resolutionTrigger: 'resolutionTrigger'
1893
2052
  };
2053
+ export const StateTransitionDefinitionOrderByRelevanceFieldEnum = {
2054
+ id: 'id',
2055
+ tenantId: 'tenantId',
2056
+ fromState: 'fromState',
2057
+ toState: 'toState',
2058
+ trigger: 'trigger',
2059
+ requiresRole: 'requiresRole',
2060
+ requiresPhase: 'requiresPhase',
2061
+ description: 'description'
2062
+ };
2063
+ export const StateTransitionLogOrderByRelevanceFieldEnum = {
2064
+ id: 'id',
2065
+ tenantId: 'tenantId',
2066
+ entityId: 'entityId',
2067
+ fromState: 'fromState',
2068
+ toState: 'toState',
2069
+ trigger: 'trigger',
2070
+ actorId: 'actorId',
2071
+ errorMessage: 'errorMessage'
2072
+ };
2073
+ export const ScheduledJobOrderByRelevanceFieldEnum = {
2074
+ id: 'id',
2075
+ tenantId: 'tenantId',
2076
+ summary: 'summary'
2077
+ };
2078
+ export const DocumentExpiryWarningOrderByRelevanceFieldEnum = {
2079
+ id: 'id',
2080
+ tenantId: 'tenantId',
2081
+ documentId: 'documentId',
2082
+ notificationId: 'notificationId',
2083
+ resolvedBy: 'resolvedBy',
2084
+ newDocumentId: 'newDocumentId'
2085
+ };
1894
2086
  export const defineExtension = runtime.Extensions.defineExtension;
@@ -34,6 +34,7 @@ export declare const ModelName: {
34
34
  readonly TenantMembership: "TenantMembership";
35
35
  readonly Organization: "Organization";
36
36
  readonly OrganizationMember: "OrganizationMember";
37
+ readonly BankDocumentRequirement: "BankDocumentRequirement";
37
38
  readonly Tenant: "Tenant";
38
39
  readonly ApiKey: "ApiKey";
39
40
  readonly RefreshToken: "RefreshToken";
@@ -70,6 +71,7 @@ export declare const ModelName: {
70
71
  readonly PaymentMethodPhaseDocument: "PaymentMethodPhaseDocument";
71
72
  readonly PaymentMethodPhaseField: "PaymentMethodPhaseField";
72
73
  readonly Application: "Application";
74
+ readonly ApplicationOrganization: "ApplicationOrganization";
73
75
  readonly ApplicationRefund: "ApplicationRefund";
74
76
  readonly ApplicationPhase: "ApplicationPhase";
75
77
  readonly QuestionnairePhase: "QuestionnairePhase";
@@ -98,6 +100,10 @@ export declare const ModelName: {
98
100
  readonly PropertyTransferRequest: "PropertyTransferRequest";
99
101
  readonly ApprovalRequest: "ApprovalRequest";
100
102
  readonly WorkflowBlocker: "WorkflowBlocker";
103
+ readonly StateTransitionDefinition: "StateTransitionDefinition";
104
+ readonly StateTransitionLog: "StateTransitionLog";
105
+ readonly ScheduledJob: "ScheduledJob";
106
+ readonly DocumentExpiryWarning: "DocumentExpiryWarning";
101
107
  };
102
108
  export type ModelName = (typeof ModelName)[keyof typeof ModelName];
103
109
  export declare const TransactionIsolationLevel: {
@@ -221,6 +227,27 @@ export declare const OrganizationMemberScalarFieldEnum: {
221
227
  readonly updatedAt: "updatedAt";
222
228
  };
223
229
  export type OrganizationMemberScalarFieldEnum = (typeof OrganizationMemberScalarFieldEnum)[keyof typeof OrganizationMemberScalarFieldEnum];
230
+ export declare const BankDocumentRequirementScalarFieldEnum: {
231
+ readonly id: "id";
232
+ readonly tenantId: "tenantId";
233
+ readonly organizationId: "organizationId";
234
+ readonly phaseType: "phaseType";
235
+ readonly paymentMethodId: "paymentMethodId";
236
+ readonly documentType: "documentType";
237
+ readonly documentName: "documentName";
238
+ readonly modifier: "modifier";
239
+ readonly description: "description";
240
+ readonly expiryDays: "expiryDays";
241
+ readonly minFiles: "minFiles";
242
+ readonly maxFiles: "maxFiles";
243
+ readonly allowedMimeTypes: "allowedMimeTypes";
244
+ readonly validationRules: "validationRules";
245
+ readonly priority: "priority";
246
+ readonly isActive: "isActive";
247
+ readonly createdAt: "createdAt";
248
+ readonly updatedAt: "updatedAt";
249
+ };
250
+ export type BankDocumentRequirementScalarFieldEnum = (typeof BankDocumentRequirementScalarFieldEnum)[keyof typeof BankDocumentRequirementScalarFieldEnum];
224
251
  export declare const TenantScalarFieldEnum: {
225
252
  readonly id: "id";
226
253
  readonly name: "name";
@@ -694,6 +721,9 @@ export declare const ApplicationScalarFieldEnum: {
694
721
  readonly buyerId: "buyerId";
695
722
  readonly sellerId: "sellerId";
696
723
  readonly paymentMethodId: "paymentMethodId";
724
+ readonly paymentMethodSnapshot: "paymentMethodSnapshot";
725
+ readonly paymentMethodSnapshotAt: "paymentMethodSnapshotAt";
726
+ readonly paymentMethodSnapshotHash: "paymentMethodSnapshotHash";
697
727
  readonly applicationNumber: "applicationNumber";
698
728
  readonly title: "title";
699
729
  readonly description: "description";
@@ -714,6 +744,38 @@ export declare const ApplicationScalarFieldEnum: {
714
744
  readonly supersededAt: "supersededAt";
715
745
  };
716
746
  export type ApplicationScalarFieldEnum = (typeof ApplicationScalarFieldEnum)[keyof typeof ApplicationScalarFieldEnum];
747
+ export declare const ApplicationOrganizationScalarFieldEnum: {
748
+ readonly id: "id";
749
+ readonly tenantId: "tenantId";
750
+ readonly applicationId: "applicationId";
751
+ readonly organizationId: "organizationId";
752
+ readonly role: "role";
753
+ readonly status: "status";
754
+ readonly assignedById: "assignedById";
755
+ readonly assignedAt: "assignedAt";
756
+ readonly isPrimary: "isPrimary";
757
+ readonly offeredTerms: "offeredTerms";
758
+ readonly termsOfferedAt: "termsOfferedAt";
759
+ readonly termsAcceptedAt: "termsAcceptedAt";
760
+ readonly termsDeclinedAt: "termsDeclinedAt";
761
+ readonly declineReason: "declineReason";
762
+ readonly activatedAt: "activatedAt";
763
+ readonly completedAt: "completedAt";
764
+ readonly withdrawnAt: "withdrawnAt";
765
+ readonly slaHours: "slaHours";
766
+ readonly slaStartedAt: "slaStartedAt";
767
+ readonly slaBreachedAt: "slaBreachedAt";
768
+ readonly slaBreachNotified: "slaBreachNotified";
769
+ readonly reminderCount: "reminderCount";
770
+ readonly lastReminderSentAt: "lastReminderSentAt";
771
+ readonly nextReminderAt: "nextReminderAt";
772
+ readonly escalatedAt: "escalatedAt";
773
+ readonly escalatedToUserId: "escalatedToUserId";
774
+ readonly escalationNotes: "escalationNotes";
775
+ readonly createdAt: "createdAt";
776
+ readonly updatedAt: "updatedAt";
777
+ };
778
+ export type ApplicationOrganizationScalarFieldEnum = (typeof ApplicationOrganizationScalarFieldEnum)[keyof typeof ApplicationOrganizationScalarFieldEnum];
717
779
  export declare const ApplicationRefundScalarFieldEnum: {
718
780
  readonly id: "id";
719
781
  readonly tenantId: "tenantId";
@@ -914,6 +976,15 @@ export declare const ApplicationDocumentScalarFieldEnum: {
914
976
  readonly url: "url";
915
977
  readonly type: "type";
916
978
  readonly uploadedById: "uploadedById";
979
+ readonly expectedUploader: "expectedUploader";
980
+ readonly expectedOrganizationId: "expectedOrganizationId";
981
+ readonly documentDate: "documentDate";
982
+ readonly expiresAt: "expiresAt";
983
+ readonly expiryDays: "expiryDays";
984
+ readonly isExpired: "isExpired";
985
+ readonly expiredAt: "expiredAt";
986
+ readonly expiryWarningAt: "expiryWarningAt";
987
+ readonly revalidatedAt: "revalidatedAt";
917
988
  readonly status: "status";
918
989
  readonly version: "version";
919
990
  readonly replacesDocumentId: "replacesDocumentId";
@@ -1283,6 +1354,77 @@ export declare const WorkflowBlockerScalarFieldEnum: {
1283
1354
  readonly updatedAt: "updatedAt";
1284
1355
  };
1285
1356
  export type WorkflowBlockerScalarFieldEnum = (typeof WorkflowBlockerScalarFieldEnum)[keyof typeof WorkflowBlockerScalarFieldEnum];
1357
+ export declare const StateTransitionDefinitionScalarFieldEnum: {
1358
+ readonly id: "id";
1359
+ readonly tenantId: "tenantId";
1360
+ readonly entityType: "entityType";
1361
+ readonly fromState: "fromState";
1362
+ readonly toState: "toState";
1363
+ readonly trigger: "trigger";
1364
+ readonly isEnabled: "isEnabled";
1365
+ readonly requiresRole: "requiresRole";
1366
+ readonly requiresPhase: "requiresPhase";
1367
+ readonly sideEffects: "sideEffects";
1368
+ readonly description: "description";
1369
+ readonly createdAt: "createdAt";
1370
+ readonly updatedAt: "updatedAt";
1371
+ };
1372
+ export type StateTransitionDefinitionScalarFieldEnum = (typeof StateTransitionDefinitionScalarFieldEnum)[keyof typeof StateTransitionDefinitionScalarFieldEnum];
1373
+ export declare const StateTransitionLogScalarFieldEnum: {
1374
+ readonly id: "id";
1375
+ readonly tenantId: "tenantId";
1376
+ readonly entityType: "entityType";
1377
+ readonly entityId: "entityId";
1378
+ readonly fromState: "fromState";
1379
+ readonly toState: "toState";
1380
+ readonly trigger: "trigger";
1381
+ readonly actorId: "actorId";
1382
+ readonly actorType: "actorType";
1383
+ readonly contextSnapshot: "contextSnapshot";
1384
+ readonly occurredAt: "occurredAt";
1385
+ readonly durationMs: "durationMs";
1386
+ readonly wasValid: "wasValid";
1387
+ readonly errorMessage: "errorMessage";
1388
+ };
1389
+ export type StateTransitionLogScalarFieldEnum = (typeof StateTransitionLogScalarFieldEnum)[keyof typeof StateTransitionLogScalarFieldEnum];
1390
+ export declare const ScheduledJobScalarFieldEnum: {
1391
+ readonly id: "id";
1392
+ readonly tenantId: "tenantId";
1393
+ readonly jobType: "jobType";
1394
+ readonly status: "status";
1395
+ readonly scheduledAt: "scheduledAt";
1396
+ readonly startedAt: "startedAt";
1397
+ readonly completedAt: "completedAt";
1398
+ readonly durationMs: "durationMs";
1399
+ readonly parameters: "parameters";
1400
+ readonly itemsProcessed: "itemsProcessed";
1401
+ readonly itemsAffected: "itemsAffected";
1402
+ readonly errorCount: "errorCount";
1403
+ readonly errors: "errors";
1404
+ readonly summary: "summary";
1405
+ readonly attemptNumber: "attemptNumber";
1406
+ readonly maxAttempts: "maxAttempts";
1407
+ readonly nextRetryAt: "nextRetryAt";
1408
+ readonly createdAt: "createdAt";
1409
+ readonly updatedAt: "updatedAt";
1410
+ };
1411
+ export type ScheduledJobScalarFieldEnum = (typeof ScheduledJobScalarFieldEnum)[keyof typeof ScheduledJobScalarFieldEnum];
1412
+ export declare const DocumentExpiryWarningScalarFieldEnum: {
1413
+ readonly id: "id";
1414
+ readonly tenantId: "tenantId";
1415
+ readonly documentId: "documentId";
1416
+ readonly expiresAt: "expiresAt";
1417
+ readonly daysUntil: "daysUntil";
1418
+ readonly warningSent: "warningSent";
1419
+ readonly notificationSent: "notificationSent";
1420
+ readonly notificationId: "notificationId";
1421
+ readonly resolved: "resolved";
1422
+ readonly resolvedAt: "resolvedAt";
1423
+ readonly resolvedBy: "resolvedBy";
1424
+ readonly newDocumentId: "newDocumentId";
1425
+ readonly createdAt: "createdAt";
1426
+ };
1427
+ export type DocumentExpiryWarningScalarFieldEnum = (typeof DocumentExpiryWarningScalarFieldEnum)[keyof typeof DocumentExpiryWarningScalarFieldEnum];
1286
1428
  export declare const SortOrder: {
1287
1429
  readonly asc: "asc";
1288
1430
  readonly desc: "desc";
@@ -1392,6 +1534,18 @@ export declare const OrganizationMemberOrderByRelevanceFieldEnum: {
1392
1534
  readonly invitedBy: "invitedBy";
1393
1535
  };
1394
1536
  export type OrganizationMemberOrderByRelevanceFieldEnum = (typeof OrganizationMemberOrderByRelevanceFieldEnum)[keyof typeof OrganizationMemberOrderByRelevanceFieldEnum];
1537
+ export declare const BankDocumentRequirementOrderByRelevanceFieldEnum: {
1538
+ readonly id: "id";
1539
+ readonly tenantId: "tenantId";
1540
+ readonly organizationId: "organizationId";
1541
+ readonly phaseType: "phaseType";
1542
+ readonly paymentMethodId: "paymentMethodId";
1543
+ readonly documentType: "documentType";
1544
+ readonly documentName: "documentName";
1545
+ readonly description: "description";
1546
+ readonly allowedMimeTypes: "allowedMimeTypes";
1547
+ };
1548
+ export type BankDocumentRequirementOrderByRelevanceFieldEnum = (typeof BankDocumentRequirementOrderByRelevanceFieldEnum)[keyof typeof BankDocumentRequirementOrderByRelevanceFieldEnum];
1395
1549
  export declare const TenantOrderByRelevanceFieldEnum: {
1396
1550
  readonly id: "id";
1397
1551
  readonly name: "name";
@@ -1680,6 +1834,7 @@ export declare const ApplicationOrderByRelevanceFieldEnum: {
1680
1834
  readonly buyerId: "buyerId";
1681
1835
  readonly sellerId: "sellerId";
1682
1836
  readonly paymentMethodId: "paymentMethodId";
1837
+ readonly paymentMethodSnapshotHash: "paymentMethodSnapshotHash";
1683
1838
  readonly applicationNumber: "applicationNumber";
1684
1839
  readonly title: "title";
1685
1840
  readonly description: "description";
@@ -1689,6 +1844,17 @@ export declare const ApplicationOrderByRelevanceFieldEnum: {
1689
1844
  readonly supersededById: "supersededById";
1690
1845
  };
1691
1846
  export type ApplicationOrderByRelevanceFieldEnum = (typeof ApplicationOrderByRelevanceFieldEnum)[keyof typeof ApplicationOrderByRelevanceFieldEnum];
1847
+ export declare const ApplicationOrganizationOrderByRelevanceFieldEnum: {
1848
+ readonly id: "id";
1849
+ readonly tenantId: "tenantId";
1850
+ readonly applicationId: "applicationId";
1851
+ readonly organizationId: "organizationId";
1852
+ readonly assignedById: "assignedById";
1853
+ readonly declineReason: "declineReason";
1854
+ readonly escalatedToUserId: "escalatedToUserId";
1855
+ readonly escalationNotes: "escalationNotes";
1856
+ };
1857
+ export type ApplicationOrganizationOrderByRelevanceFieldEnum = (typeof ApplicationOrganizationOrderByRelevanceFieldEnum)[keyof typeof ApplicationOrganizationOrderByRelevanceFieldEnum];
1692
1858
  export declare const ApplicationRefundOrderByRelevanceFieldEnum: {
1693
1859
  readonly id: "id";
1694
1860
  readonly tenantId: "tenantId";
@@ -1798,6 +1964,7 @@ export declare const ApplicationDocumentOrderByRelevanceFieldEnum: {
1798
1964
  readonly url: "url";
1799
1965
  readonly type: "type";
1800
1966
  readonly uploadedById: "uploadedById";
1967
+ readonly expectedOrganizationId: "expectedOrganizationId";
1801
1968
  readonly replacesDocumentId: "replacesDocumentId";
1802
1969
  };
1803
1970
  export type ApplicationDocumentOrderByRelevanceFieldEnum = (typeof ApplicationDocumentOrderByRelevanceFieldEnum)[keyof typeof ApplicationDocumentOrderByRelevanceFieldEnum];
@@ -1999,3 +2166,40 @@ export declare const WorkflowBlockerOrderByRelevanceFieldEnum: {
1999
2166
  readonly resolutionTrigger: "resolutionTrigger";
2000
2167
  };
2001
2168
  export type WorkflowBlockerOrderByRelevanceFieldEnum = (typeof WorkflowBlockerOrderByRelevanceFieldEnum)[keyof typeof WorkflowBlockerOrderByRelevanceFieldEnum];
2169
+ export declare const StateTransitionDefinitionOrderByRelevanceFieldEnum: {
2170
+ readonly id: "id";
2171
+ readonly tenantId: "tenantId";
2172
+ readonly fromState: "fromState";
2173
+ readonly toState: "toState";
2174
+ readonly trigger: "trigger";
2175
+ readonly requiresRole: "requiresRole";
2176
+ readonly requiresPhase: "requiresPhase";
2177
+ readonly description: "description";
2178
+ };
2179
+ export type StateTransitionDefinitionOrderByRelevanceFieldEnum = (typeof StateTransitionDefinitionOrderByRelevanceFieldEnum)[keyof typeof StateTransitionDefinitionOrderByRelevanceFieldEnum];
2180
+ export declare const StateTransitionLogOrderByRelevanceFieldEnum: {
2181
+ readonly id: "id";
2182
+ readonly tenantId: "tenantId";
2183
+ readonly entityId: "entityId";
2184
+ readonly fromState: "fromState";
2185
+ readonly toState: "toState";
2186
+ readonly trigger: "trigger";
2187
+ readonly actorId: "actorId";
2188
+ readonly errorMessage: "errorMessage";
2189
+ };
2190
+ export type StateTransitionLogOrderByRelevanceFieldEnum = (typeof StateTransitionLogOrderByRelevanceFieldEnum)[keyof typeof StateTransitionLogOrderByRelevanceFieldEnum];
2191
+ export declare const ScheduledJobOrderByRelevanceFieldEnum: {
2192
+ readonly id: "id";
2193
+ readonly tenantId: "tenantId";
2194
+ readonly summary: "summary";
2195
+ };
2196
+ export type ScheduledJobOrderByRelevanceFieldEnum = (typeof ScheduledJobOrderByRelevanceFieldEnum)[keyof typeof ScheduledJobOrderByRelevanceFieldEnum];
2197
+ export declare const DocumentExpiryWarningOrderByRelevanceFieldEnum: {
2198
+ readonly id: "id";
2199
+ readonly tenantId: "tenantId";
2200
+ readonly documentId: "documentId";
2201
+ readonly notificationId: "notificationId";
2202
+ readonly resolvedBy: "resolvedBy";
2203
+ readonly newDocumentId: "newDocumentId";
2204
+ };
2205
+ export type DocumentExpiryWarningOrderByRelevanceFieldEnum = (typeof DocumentExpiryWarningOrderByRelevanceFieldEnum)[keyof typeof DocumentExpiryWarningOrderByRelevanceFieldEnum];