@valentine-efagene/qshelter-common 2.0.101 → 2.0.103
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 +10 -0
- package/dist/generated/client/client.d.ts +10 -0
- package/dist/generated/client/commonInputTypes.d.ts +84 -84
- package/dist/generated/client/internal/class.d.ts +22 -0
- package/dist/generated/client/internal/class.js +2 -2
- package/dist/generated/client/internal/prismaNamespace.d.ts +192 -5
- package/dist/generated/client/internal/prismaNamespace.js +49 -0
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +53 -0
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +49 -0
- package/dist/generated/client/models/DocumentationPhase.d.ts +231 -1
- package/dist/generated/client/models/DocumentationPlan.d.ts +1555 -0
- package/dist/generated/client/models/DocumentationPlan.js +1 -0
- package/dist/generated/client/models/DocumentationPlanStep.d.ts +1220 -0
- package/dist/generated/client/models/DocumentationPlanStep.js +1 -0
- package/dist/generated/client/models/DomainEvent.d.ts +281 -2
- package/dist/generated/client/models/PaymentMethodPhaseStep.d.ts +0 -3
- package/dist/generated/client/models/PropertyPaymentMethodPhase.d.ts +287 -1
- package/dist/generated/client/models/Settings.d.ts +211 -4
- package/dist/generated/client/models/Social.d.ts +147 -1
- package/dist/generated/client/models/Tenant.d.ts +4246 -639
- package/dist/generated/client/models/Transaction.d.ts +178 -14
- package/dist/generated/client/models/Wallet.d.ts +169 -1
- package/dist/generated/client/models/WorkflowBlocker.d.ts +299 -4
- package/dist/generated/client/models/index.d.ts +2 -0
- package/dist/generated/client/models/index.js +2 -0
- package/dist/generated/client/models.d.ts +2 -0
- package/dist/src/prisma/tenant.js +2 -8
- package/package.json +1 -1
- package/prisma/migrations/20260113122855_add_tenant_to_remaining_models/migration.sql +64 -0
- package/prisma/migrations/20260114034523_add_documentation_plan/migration.sql +52 -0
- package/prisma/schema.prisma +97 -10
|
@@ -66,6 +66,8 @@ export const ModelName = {
|
|
|
66
66
|
PropertyVariantMedia: 'PropertyVariantMedia',
|
|
67
67
|
PropertyUnit: 'PropertyUnit',
|
|
68
68
|
PropertyAmenity: 'PropertyAmenity',
|
|
69
|
+
DocumentationPlan: 'DocumentationPlan',
|
|
70
|
+
DocumentationPlanStep: 'DocumentationPlanStep',
|
|
69
71
|
PaymentPlan: 'PaymentPlan',
|
|
70
72
|
PropertyPaymentMethod: 'PropertyPaymentMethod',
|
|
71
73
|
PropertyPaymentMethodLink: 'PropertyPaymentMethodLink',
|
|
@@ -244,6 +246,7 @@ export const DeviceEndpointScalarFieldEnum = {
|
|
|
244
246
|
};
|
|
245
247
|
export const SocialScalarFieldEnum = {
|
|
246
248
|
id: 'id',
|
|
249
|
+
tenantId: 'tenantId',
|
|
247
250
|
userId: 'userId',
|
|
248
251
|
provider: 'provider',
|
|
249
252
|
socialId: 'socialId',
|
|
@@ -258,6 +261,7 @@ export const OAuthStateScalarFieldEnum = {
|
|
|
258
261
|
};
|
|
259
262
|
export const WalletScalarFieldEnum = {
|
|
260
263
|
id: 'id',
|
|
264
|
+
tenantId: 'tenantId',
|
|
261
265
|
balance: 'balance',
|
|
262
266
|
currency: 'currency',
|
|
263
267
|
createdAt: 'createdAt',
|
|
@@ -265,6 +269,7 @@ export const WalletScalarFieldEnum = {
|
|
|
265
269
|
};
|
|
266
270
|
export const TransactionScalarFieldEnum = {
|
|
267
271
|
id: 'id',
|
|
272
|
+
tenantId: 'tenantId',
|
|
268
273
|
walletId: 'walletId',
|
|
269
274
|
amount: 'amount',
|
|
270
275
|
type: 'type',
|
|
@@ -276,6 +281,7 @@ export const TransactionScalarFieldEnum = {
|
|
|
276
281
|
};
|
|
277
282
|
export const SettingsScalarFieldEnum = {
|
|
278
283
|
id: 'id',
|
|
284
|
+
tenantId: 'tenantId',
|
|
279
285
|
key: 'key',
|
|
280
286
|
value: 'value',
|
|
281
287
|
category: 'category',
|
|
@@ -397,6 +403,27 @@ export const PropertyAmenityScalarFieldEnum = {
|
|
|
397
403
|
amenityId: 'amenityId',
|
|
398
404
|
createdAt: 'createdAt'
|
|
399
405
|
};
|
|
406
|
+
export const DocumentationPlanScalarFieldEnum = {
|
|
407
|
+
id: 'id',
|
|
408
|
+
tenantId: 'tenantId',
|
|
409
|
+
name: 'name',
|
|
410
|
+
description: 'description',
|
|
411
|
+
isActive: 'isActive',
|
|
412
|
+
requiredDocumentTypes: 'requiredDocumentTypes',
|
|
413
|
+
createdAt: 'createdAt',
|
|
414
|
+
updatedAt: 'updatedAt'
|
|
415
|
+
};
|
|
416
|
+
export const DocumentationPlanStepScalarFieldEnum = {
|
|
417
|
+
id: 'id',
|
|
418
|
+
planId: 'planId',
|
|
419
|
+
name: 'name',
|
|
420
|
+
stepType: 'stepType',
|
|
421
|
+
order: 'order',
|
|
422
|
+
documentType: 'documentType',
|
|
423
|
+
metadata: 'metadata',
|
|
424
|
+
createdAt: 'createdAt',
|
|
425
|
+
updatedAt: 'updatedAt'
|
|
426
|
+
};
|
|
400
427
|
export const PaymentPlanScalarFieldEnum = {
|
|
401
428
|
id: 'id',
|
|
402
429
|
tenantId: 'tenantId',
|
|
@@ -443,6 +470,7 @@ export const PropertyPaymentMethodPhaseScalarFieldEnum = {
|
|
|
443
470
|
tenantId: 'tenantId',
|
|
444
471
|
paymentMethodId: 'paymentMethodId',
|
|
445
472
|
paymentPlanId: 'paymentPlanId',
|
|
473
|
+
documentationPlanId: 'documentationPlanId',
|
|
446
474
|
name: 'name',
|
|
447
475
|
description: 'description',
|
|
448
476
|
phaseCategory: 'phaseCategory',
|
|
@@ -607,6 +635,7 @@ export const DocumentationPhaseScalarFieldEnum = {
|
|
|
607
635
|
id: 'id',
|
|
608
636
|
tenantId: 'tenantId',
|
|
609
637
|
phaseId: 'phaseId',
|
|
638
|
+
documentationPlanId: 'documentationPlanId',
|
|
610
639
|
currentStepId: 'currentStepId',
|
|
611
640
|
approvedDocumentsCount: 'approvedDocumentsCount',
|
|
612
641
|
requiredDocumentsCount: 'requiredDocumentsCount',
|
|
@@ -962,6 +991,7 @@ export const EventHandlerExecutionScalarFieldEnum = {
|
|
|
962
991
|
};
|
|
963
992
|
export const DomainEventScalarFieldEnum = {
|
|
964
993
|
id: 'id',
|
|
994
|
+
tenantId: 'tenantId',
|
|
965
995
|
eventType: 'eventType',
|
|
966
996
|
aggregateType: 'aggregateType',
|
|
967
997
|
aggregateId: 'aggregateId',
|
|
@@ -1158,6 +1188,7 @@ export const DeviceEndpointOrderByRelevanceFieldEnum = {
|
|
|
1158
1188
|
};
|
|
1159
1189
|
export const SocialOrderByRelevanceFieldEnum = {
|
|
1160
1190
|
id: 'id',
|
|
1191
|
+
tenantId: 'tenantId',
|
|
1161
1192
|
userId: 'userId',
|
|
1162
1193
|
provider: 'provider',
|
|
1163
1194
|
socialId: 'socialId'
|
|
@@ -1168,10 +1199,12 @@ export const OAuthStateOrderByRelevanceFieldEnum = {
|
|
|
1168
1199
|
};
|
|
1169
1200
|
export const WalletOrderByRelevanceFieldEnum = {
|
|
1170
1201
|
id: 'id',
|
|
1202
|
+
tenantId: 'tenantId',
|
|
1171
1203
|
currency: 'currency'
|
|
1172
1204
|
};
|
|
1173
1205
|
export const TransactionOrderByRelevanceFieldEnum = {
|
|
1174
1206
|
id: 'id',
|
|
1207
|
+
tenantId: 'tenantId',
|
|
1175
1208
|
walletId: 'walletId',
|
|
1176
1209
|
type: 'type',
|
|
1177
1210
|
status: 'status',
|
|
@@ -1180,6 +1213,7 @@ export const TransactionOrderByRelevanceFieldEnum = {
|
|
|
1180
1213
|
};
|
|
1181
1214
|
export const SettingsOrderByRelevanceFieldEnum = {
|
|
1182
1215
|
id: 'id',
|
|
1216
|
+
tenantId: 'tenantId',
|
|
1183
1217
|
key: 'key',
|
|
1184
1218
|
value: 'value',
|
|
1185
1219
|
category: 'category'
|
|
@@ -1261,6 +1295,18 @@ export const PropertyAmenityOrderByRelevanceFieldEnum = {
|
|
|
1261
1295
|
propertyId: 'propertyId',
|
|
1262
1296
|
amenityId: 'amenityId'
|
|
1263
1297
|
};
|
|
1298
|
+
export const DocumentationPlanOrderByRelevanceFieldEnum = {
|
|
1299
|
+
id: 'id',
|
|
1300
|
+
tenantId: 'tenantId',
|
|
1301
|
+
name: 'name',
|
|
1302
|
+
description: 'description'
|
|
1303
|
+
};
|
|
1304
|
+
export const DocumentationPlanStepOrderByRelevanceFieldEnum = {
|
|
1305
|
+
id: 'id',
|
|
1306
|
+
planId: 'planId',
|
|
1307
|
+
name: 'name',
|
|
1308
|
+
documentType: 'documentType'
|
|
1309
|
+
};
|
|
1264
1310
|
export const PaymentPlanOrderByRelevanceFieldEnum = {
|
|
1265
1311
|
id: 'id',
|
|
1266
1312
|
tenantId: 'tenantId',
|
|
@@ -1283,6 +1329,7 @@ export const PropertyPaymentMethodPhaseOrderByRelevanceFieldEnum = {
|
|
|
1283
1329
|
tenantId: 'tenantId',
|
|
1284
1330
|
paymentMethodId: 'paymentMethodId',
|
|
1285
1331
|
paymentPlanId: 'paymentPlanId',
|
|
1332
|
+
documentationPlanId: 'documentationPlanId',
|
|
1286
1333
|
name: 'name',
|
|
1287
1334
|
description: 'description'
|
|
1288
1335
|
};
|
|
@@ -1370,6 +1417,7 @@ export const DocumentationPhaseOrderByRelevanceFieldEnum = {
|
|
|
1370
1417
|
id: 'id',
|
|
1371
1418
|
tenantId: 'tenantId',
|
|
1372
1419
|
phaseId: 'phaseId',
|
|
1420
|
+
documentationPlanId: 'documentationPlanId',
|
|
1373
1421
|
currentStepId: 'currentStepId'
|
|
1374
1422
|
};
|
|
1375
1423
|
export const PaymentPhaseOrderByRelevanceFieldEnum = {
|
|
@@ -1552,6 +1600,7 @@ export const EventHandlerExecutionOrderByRelevanceFieldEnum = {
|
|
|
1552
1600
|
};
|
|
1553
1601
|
export const DomainEventOrderByRelevanceFieldEnum = {
|
|
1554
1602
|
id: 'id',
|
|
1603
|
+
tenantId: 'tenantId',
|
|
1555
1604
|
eventType: 'eventType',
|
|
1556
1605
|
aggregateType: 'aggregateType',
|
|
1557
1606
|
aggregateId: 'aggregateId',
|