@valentine-efagene/qshelter-common 2.0.74 → 2.0.76
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 +5 -5
- package/dist/generated/client/client.d.ts +5 -5
- package/dist/generated/client/internal/class.d.ts +11 -11
- package/dist/generated/client/internal/class.js +2 -2
- package/dist/generated/client/internal/prismaNamespace.d.ts +95 -95
- package/dist/generated/client/internal/prismaNamespace.js +25 -25
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +27 -27
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +25 -25
- package/dist/generated/client/models/Contract.d.ts +155 -155
- package/dist/generated/client/models/index.d.ts +3 -0
- package/dist/generated/client/models/index.js +3 -0
- package/dist/generated/client/models.d.ts +1 -1
- package/dist/src/events/bus/event-bus.service.d.ts +84 -0
- package/dist/src/events/bus/event-bus.service.js +372 -0
- package/dist/src/events/bus/event-bus.types.d.ts +73 -0
- package/dist/src/events/bus/event-bus.types.js +22 -0
- package/dist/src/events/index.d.ts +5 -6
- package/dist/src/events/index.js +7 -8
- package/dist/src/events/notifications/event-publisher.d.ts +41 -0
- package/dist/src/events/notifications/event-publisher.js +111 -0
- package/dist/src/events/notifications/notification-enums.d.ts +46 -0
- package/dist/src/events/notifications/notification-enums.js +59 -0
- package/dist/src/events/notifications/notification-event.d.ts +76 -0
- package/dist/src/events/notifications/notification-event.js +1 -0
- package/dist/src/events/unified/unified-event.service.d.ts +157 -0
- package/dist/src/events/unified/unified-event.service.js +177 -0
- package/dist/src/events/workflow/event-config.service.d.ts +123 -0
- package/dist/src/events/workflow/event-config.service.js +416 -0
- package/dist/src/events/workflow/event-seeder.d.ts +80 -0
- package/dist/src/events/workflow/event-seeder.js +343 -0
- package/dist/src/events/workflow/workflow-event.service.d.ts +230 -0
- package/dist/src/events/workflow/workflow-event.service.js +682 -0
- package/dist/src/events/workflow/workflow-types.d.ts +364 -0
- package/dist/src/events/workflow/workflow-types.js +22 -0
- package/package.json +4 -1
- package/prisma/schema.prisma +87 -79
|
@@ -266,13 +266,13 @@ export declare const ModelName: {
|
|
|
266
266
|
readonly PaymentMethodPhaseDocument: "PaymentMethodPhaseDocument";
|
|
267
267
|
readonly Contract: "Contract";
|
|
268
268
|
readonly ContractPhase: "ContractPhase";
|
|
269
|
+
readonly ContractEvent: "ContractEvent";
|
|
269
270
|
readonly DocumentationStep: "DocumentationStep";
|
|
270
271
|
readonly DocumentationStepDocument: "DocumentationStepDocument";
|
|
271
272
|
readonly DocumentationStepApproval: "DocumentationStepApproval";
|
|
272
273
|
readonly ContractInstallment: "ContractInstallment";
|
|
273
274
|
readonly ContractPayment: "ContractPayment";
|
|
274
275
|
readonly ContractDocument: "ContractDocument";
|
|
275
|
-
readonly ContractEvent: "ContractEvent";
|
|
276
276
|
readonly DocumentTemplate: "DocumentTemplate";
|
|
277
277
|
readonly OfferLetter: "OfferLetter";
|
|
278
278
|
readonly ContractTermination: "ContractTermination";
|
|
@@ -298,7 +298,7 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
|
|
|
298
298
|
omit: GlobalOmitOptions;
|
|
299
299
|
};
|
|
300
300
|
meta: {
|
|
301
|
-
modelProps: "user" | "role" | "permission" | "rolePermission" | "userRole" | "tenant" | "apiKey" | "refreshToken" | "passwordReset" | "userSuspension" | "emailPreference" | "deviceEndpoint" | "social" | "oAuthState" | "wallet" | "transaction" | "settings" | "property" | "propertyMedia" | "propertyDocument" | "amenity" | "propertyVariant" | "propertyVariantAmenity" | "propertyVariantMedia" | "propertyUnit" | "propertyAmenity" | "paymentPlan" | "propertyPaymentMethod" | "propertyPaymentMethodLink" | "propertyPaymentMethodPhase" | "paymentMethodPhaseStep" | "stepEventAttachment" | "paymentMethodPhaseDocument" | "contract" | "contractPhase" | "documentationStep" | "documentationStepDocument" | "documentationStepApproval" | "contractInstallment" | "contractPayment" | "contractDocument" | "
|
|
301
|
+
modelProps: "user" | "role" | "permission" | "rolePermission" | "userRole" | "tenant" | "apiKey" | "refreshToken" | "passwordReset" | "userSuspension" | "emailPreference" | "deviceEndpoint" | "social" | "oAuthState" | "wallet" | "transaction" | "settings" | "property" | "propertyMedia" | "propertyDocument" | "amenity" | "propertyVariant" | "propertyVariantAmenity" | "propertyVariantMedia" | "propertyUnit" | "propertyAmenity" | "paymentPlan" | "propertyPaymentMethod" | "propertyPaymentMethodLink" | "propertyPaymentMethodPhase" | "paymentMethodPhaseStep" | "stepEventAttachment" | "paymentMethodPhaseDocument" | "contract" | "contractPhase" | "contractEvent" | "documentationStep" | "documentationStepDocument" | "documentationStepApproval" | "contractInstallment" | "contractPayment" | "contractDocument" | "documentTemplate" | "offerLetter" | "contractTermination" | "paymentMethodChangeRequest" | "documentRequirementRule" | "eventChannel" | "eventType" | "eventHandler" | "workflowEvent" | "eventHandlerExecution" | "domainEvent" | "propertyTransferRequest" | "approvalRequest";
|
|
302
302
|
txIsolationLevel: TransactionIsolationLevel;
|
|
303
303
|
};
|
|
304
304
|
model: {
|
|
@@ -2612,6 +2612,72 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
|
|
|
2612
2612
|
};
|
|
2613
2613
|
};
|
|
2614
2614
|
};
|
|
2615
|
+
ContractEvent: {
|
|
2616
|
+
payload: Prisma.$ContractEventPayload<ExtArgs>;
|
|
2617
|
+
fields: Prisma.ContractEventFieldRefs;
|
|
2618
|
+
operations: {
|
|
2619
|
+
findUnique: {
|
|
2620
|
+
args: Prisma.ContractEventFindUniqueArgs<ExtArgs>;
|
|
2621
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ContractEventPayload> | null;
|
|
2622
|
+
};
|
|
2623
|
+
findUniqueOrThrow: {
|
|
2624
|
+
args: Prisma.ContractEventFindUniqueOrThrowArgs<ExtArgs>;
|
|
2625
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ContractEventPayload>;
|
|
2626
|
+
};
|
|
2627
|
+
findFirst: {
|
|
2628
|
+
args: Prisma.ContractEventFindFirstArgs<ExtArgs>;
|
|
2629
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ContractEventPayload> | null;
|
|
2630
|
+
};
|
|
2631
|
+
findFirstOrThrow: {
|
|
2632
|
+
args: Prisma.ContractEventFindFirstOrThrowArgs<ExtArgs>;
|
|
2633
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ContractEventPayload>;
|
|
2634
|
+
};
|
|
2635
|
+
findMany: {
|
|
2636
|
+
args: Prisma.ContractEventFindManyArgs<ExtArgs>;
|
|
2637
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ContractEventPayload>[];
|
|
2638
|
+
};
|
|
2639
|
+
create: {
|
|
2640
|
+
args: Prisma.ContractEventCreateArgs<ExtArgs>;
|
|
2641
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ContractEventPayload>;
|
|
2642
|
+
};
|
|
2643
|
+
createMany: {
|
|
2644
|
+
args: Prisma.ContractEventCreateManyArgs<ExtArgs>;
|
|
2645
|
+
result: BatchPayload;
|
|
2646
|
+
};
|
|
2647
|
+
delete: {
|
|
2648
|
+
args: Prisma.ContractEventDeleteArgs<ExtArgs>;
|
|
2649
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ContractEventPayload>;
|
|
2650
|
+
};
|
|
2651
|
+
update: {
|
|
2652
|
+
args: Prisma.ContractEventUpdateArgs<ExtArgs>;
|
|
2653
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ContractEventPayload>;
|
|
2654
|
+
};
|
|
2655
|
+
deleteMany: {
|
|
2656
|
+
args: Prisma.ContractEventDeleteManyArgs<ExtArgs>;
|
|
2657
|
+
result: BatchPayload;
|
|
2658
|
+
};
|
|
2659
|
+
updateMany: {
|
|
2660
|
+
args: Prisma.ContractEventUpdateManyArgs<ExtArgs>;
|
|
2661
|
+
result: BatchPayload;
|
|
2662
|
+
};
|
|
2663
|
+
upsert: {
|
|
2664
|
+
args: Prisma.ContractEventUpsertArgs<ExtArgs>;
|
|
2665
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ContractEventPayload>;
|
|
2666
|
+
};
|
|
2667
|
+
aggregate: {
|
|
2668
|
+
args: Prisma.ContractEventAggregateArgs<ExtArgs>;
|
|
2669
|
+
result: runtime.Types.Utils.Optional<Prisma.AggregateContractEvent>;
|
|
2670
|
+
};
|
|
2671
|
+
groupBy: {
|
|
2672
|
+
args: Prisma.ContractEventGroupByArgs<ExtArgs>;
|
|
2673
|
+
result: runtime.Types.Utils.Optional<Prisma.ContractEventGroupByOutputType>[];
|
|
2674
|
+
};
|
|
2675
|
+
count: {
|
|
2676
|
+
args: Prisma.ContractEventCountArgs<ExtArgs>;
|
|
2677
|
+
result: runtime.Types.Utils.Optional<Prisma.ContractEventCountAggregateOutputType> | number;
|
|
2678
|
+
};
|
|
2679
|
+
};
|
|
2680
|
+
};
|
|
2615
2681
|
DocumentationStep: {
|
|
2616
2682
|
payload: Prisma.$DocumentationStepPayload<ExtArgs>;
|
|
2617
2683
|
fields: Prisma.DocumentationStepFieldRefs;
|
|
@@ -3008,72 +3074,6 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
|
|
|
3008
3074
|
};
|
|
3009
3075
|
};
|
|
3010
3076
|
};
|
|
3011
|
-
ContractEvent: {
|
|
3012
|
-
payload: Prisma.$ContractEventPayload<ExtArgs>;
|
|
3013
|
-
fields: Prisma.ContractEventFieldRefs;
|
|
3014
|
-
operations: {
|
|
3015
|
-
findUnique: {
|
|
3016
|
-
args: Prisma.ContractEventFindUniqueArgs<ExtArgs>;
|
|
3017
|
-
result: runtime.Types.Utils.PayloadToResult<Prisma.$ContractEventPayload> | null;
|
|
3018
|
-
};
|
|
3019
|
-
findUniqueOrThrow: {
|
|
3020
|
-
args: Prisma.ContractEventFindUniqueOrThrowArgs<ExtArgs>;
|
|
3021
|
-
result: runtime.Types.Utils.PayloadToResult<Prisma.$ContractEventPayload>;
|
|
3022
|
-
};
|
|
3023
|
-
findFirst: {
|
|
3024
|
-
args: Prisma.ContractEventFindFirstArgs<ExtArgs>;
|
|
3025
|
-
result: runtime.Types.Utils.PayloadToResult<Prisma.$ContractEventPayload> | null;
|
|
3026
|
-
};
|
|
3027
|
-
findFirstOrThrow: {
|
|
3028
|
-
args: Prisma.ContractEventFindFirstOrThrowArgs<ExtArgs>;
|
|
3029
|
-
result: runtime.Types.Utils.PayloadToResult<Prisma.$ContractEventPayload>;
|
|
3030
|
-
};
|
|
3031
|
-
findMany: {
|
|
3032
|
-
args: Prisma.ContractEventFindManyArgs<ExtArgs>;
|
|
3033
|
-
result: runtime.Types.Utils.PayloadToResult<Prisma.$ContractEventPayload>[];
|
|
3034
|
-
};
|
|
3035
|
-
create: {
|
|
3036
|
-
args: Prisma.ContractEventCreateArgs<ExtArgs>;
|
|
3037
|
-
result: runtime.Types.Utils.PayloadToResult<Prisma.$ContractEventPayload>;
|
|
3038
|
-
};
|
|
3039
|
-
createMany: {
|
|
3040
|
-
args: Prisma.ContractEventCreateManyArgs<ExtArgs>;
|
|
3041
|
-
result: BatchPayload;
|
|
3042
|
-
};
|
|
3043
|
-
delete: {
|
|
3044
|
-
args: Prisma.ContractEventDeleteArgs<ExtArgs>;
|
|
3045
|
-
result: runtime.Types.Utils.PayloadToResult<Prisma.$ContractEventPayload>;
|
|
3046
|
-
};
|
|
3047
|
-
update: {
|
|
3048
|
-
args: Prisma.ContractEventUpdateArgs<ExtArgs>;
|
|
3049
|
-
result: runtime.Types.Utils.PayloadToResult<Prisma.$ContractEventPayload>;
|
|
3050
|
-
};
|
|
3051
|
-
deleteMany: {
|
|
3052
|
-
args: Prisma.ContractEventDeleteManyArgs<ExtArgs>;
|
|
3053
|
-
result: BatchPayload;
|
|
3054
|
-
};
|
|
3055
|
-
updateMany: {
|
|
3056
|
-
args: Prisma.ContractEventUpdateManyArgs<ExtArgs>;
|
|
3057
|
-
result: BatchPayload;
|
|
3058
|
-
};
|
|
3059
|
-
upsert: {
|
|
3060
|
-
args: Prisma.ContractEventUpsertArgs<ExtArgs>;
|
|
3061
|
-
result: runtime.Types.Utils.PayloadToResult<Prisma.$ContractEventPayload>;
|
|
3062
|
-
};
|
|
3063
|
-
aggregate: {
|
|
3064
|
-
args: Prisma.ContractEventAggregateArgs<ExtArgs>;
|
|
3065
|
-
result: runtime.Types.Utils.Optional<Prisma.AggregateContractEvent>;
|
|
3066
|
-
};
|
|
3067
|
-
groupBy: {
|
|
3068
|
-
args: Prisma.ContractEventGroupByArgs<ExtArgs>;
|
|
3069
|
-
result: runtime.Types.Utils.Optional<Prisma.ContractEventGroupByOutputType>[];
|
|
3070
|
-
};
|
|
3071
|
-
count: {
|
|
3072
|
-
args: Prisma.ContractEventCountArgs<ExtArgs>;
|
|
3073
|
-
result: runtime.Types.Utils.Optional<Prisma.ContractEventCountAggregateOutputType> | number;
|
|
3074
|
-
};
|
|
3075
|
-
};
|
|
3076
|
-
};
|
|
3077
3077
|
DocumentTemplate: {
|
|
3078
3078
|
payload: Prisma.$DocumentTemplatePayload<ExtArgs>;
|
|
3079
3079
|
fields: Prisma.DocumentTemplateFieldRefs;
|
|
@@ -4419,6 +4419,20 @@ export declare const ContractPhaseScalarFieldEnum: {
|
|
|
4419
4419
|
readonly updatedAt: "updatedAt";
|
|
4420
4420
|
};
|
|
4421
4421
|
export type ContractPhaseScalarFieldEnum = (typeof ContractPhaseScalarFieldEnum)[keyof typeof ContractPhaseScalarFieldEnum];
|
|
4422
|
+
export declare const ContractEventScalarFieldEnum: {
|
|
4423
|
+
readonly id: "id";
|
|
4424
|
+
readonly contractId: "contractId";
|
|
4425
|
+
readonly eventType: "eventType";
|
|
4426
|
+
readonly eventGroup: "eventGroup";
|
|
4427
|
+
readonly fromState: "fromState";
|
|
4428
|
+
readonly toState: "toState";
|
|
4429
|
+
readonly trigger: "trigger";
|
|
4430
|
+
readonly data: "data";
|
|
4431
|
+
readonly actorId: "actorId";
|
|
4432
|
+
readonly actorType: "actorType";
|
|
4433
|
+
readonly occurredAt: "occurredAt";
|
|
4434
|
+
};
|
|
4435
|
+
export type ContractEventScalarFieldEnum = (typeof ContractEventScalarFieldEnum)[keyof typeof ContractEventScalarFieldEnum];
|
|
4422
4436
|
export declare const DocumentationStepScalarFieldEnum: {
|
|
4423
4437
|
readonly id: "id";
|
|
4424
4438
|
readonly phaseId: "phaseId";
|
|
@@ -4513,20 +4527,6 @@ export declare const ContractDocumentScalarFieldEnum: {
|
|
|
4513
4527
|
readonly updatedAt: "updatedAt";
|
|
4514
4528
|
};
|
|
4515
4529
|
export type ContractDocumentScalarFieldEnum = (typeof ContractDocumentScalarFieldEnum)[keyof typeof ContractDocumentScalarFieldEnum];
|
|
4516
|
-
export declare const ContractEventScalarFieldEnum: {
|
|
4517
|
-
readonly id: "id";
|
|
4518
|
-
readonly contractId: "contractId";
|
|
4519
|
-
readonly eventType: "eventType";
|
|
4520
|
-
readonly eventGroup: "eventGroup";
|
|
4521
|
-
readonly fromState: "fromState";
|
|
4522
|
-
readonly toState: "toState";
|
|
4523
|
-
readonly trigger: "trigger";
|
|
4524
|
-
readonly data: "data";
|
|
4525
|
-
readonly actorId: "actorId";
|
|
4526
|
-
readonly actorType: "actorType";
|
|
4527
|
-
readonly occurredAt: "occurredAt";
|
|
4528
|
-
};
|
|
4529
|
-
export type ContractEventScalarFieldEnum = (typeof ContractEventScalarFieldEnum)[keyof typeof ContractEventScalarFieldEnum];
|
|
4530
4530
|
export declare const DocumentTemplateScalarFieldEnum: {
|
|
4531
4531
|
readonly id: "id";
|
|
4532
4532
|
readonly tenantId: "tenantId";
|
|
@@ -5101,6 +5101,18 @@ export declare const ContractPhaseOrderByRelevanceFieldEnum: {
|
|
|
5101
5101
|
readonly currentStepId: "currentStepId";
|
|
5102
5102
|
};
|
|
5103
5103
|
export type ContractPhaseOrderByRelevanceFieldEnum = (typeof ContractPhaseOrderByRelevanceFieldEnum)[keyof typeof ContractPhaseOrderByRelevanceFieldEnum];
|
|
5104
|
+
export declare const ContractEventOrderByRelevanceFieldEnum: {
|
|
5105
|
+
readonly id: "id";
|
|
5106
|
+
readonly contractId: "contractId";
|
|
5107
|
+
readonly eventType: "eventType";
|
|
5108
|
+
readonly eventGroup: "eventGroup";
|
|
5109
|
+
readonly fromState: "fromState";
|
|
5110
|
+
readonly toState: "toState";
|
|
5111
|
+
readonly trigger: "trigger";
|
|
5112
|
+
readonly actorId: "actorId";
|
|
5113
|
+
readonly actorType: "actorType";
|
|
5114
|
+
};
|
|
5115
|
+
export type ContractEventOrderByRelevanceFieldEnum = (typeof ContractEventOrderByRelevanceFieldEnum)[keyof typeof ContractEventOrderByRelevanceFieldEnum];
|
|
5104
5116
|
export declare const DocumentationStepOrderByRelevanceFieldEnum: {
|
|
5105
5117
|
readonly id: "id";
|
|
5106
5118
|
readonly phaseId: "phaseId";
|
|
@@ -5152,18 +5164,6 @@ export declare const ContractDocumentOrderByRelevanceFieldEnum: {
|
|
|
5152
5164
|
readonly uploadedById: "uploadedById";
|
|
5153
5165
|
};
|
|
5154
5166
|
export type ContractDocumentOrderByRelevanceFieldEnum = (typeof ContractDocumentOrderByRelevanceFieldEnum)[keyof typeof ContractDocumentOrderByRelevanceFieldEnum];
|
|
5155
|
-
export declare const ContractEventOrderByRelevanceFieldEnum: {
|
|
5156
|
-
readonly id: "id";
|
|
5157
|
-
readonly contractId: "contractId";
|
|
5158
|
-
readonly eventType: "eventType";
|
|
5159
|
-
readonly eventGroup: "eventGroup";
|
|
5160
|
-
readonly fromState: "fromState";
|
|
5161
|
-
readonly toState: "toState";
|
|
5162
|
-
readonly trigger: "trigger";
|
|
5163
|
-
readonly actorId: "actorId";
|
|
5164
|
-
readonly actorType: "actorType";
|
|
5165
|
-
};
|
|
5166
|
-
export type ContractEventOrderByRelevanceFieldEnum = (typeof ContractEventOrderByRelevanceFieldEnum)[keyof typeof ContractEventOrderByRelevanceFieldEnum];
|
|
5167
5167
|
export declare const DocumentTemplateOrderByRelevanceFieldEnum: {
|
|
5168
5168
|
readonly id: "id";
|
|
5169
5169
|
readonly tenantId: "tenantId";
|
|
@@ -5593,13 +5593,13 @@ export type GlobalOmitConfig = {
|
|
|
5593
5593
|
paymentMethodPhaseDocument?: Prisma.PaymentMethodPhaseDocumentOmit;
|
|
5594
5594
|
contract?: Prisma.ContractOmit;
|
|
5595
5595
|
contractPhase?: Prisma.ContractPhaseOmit;
|
|
5596
|
+
contractEvent?: Prisma.ContractEventOmit;
|
|
5596
5597
|
documentationStep?: Prisma.DocumentationStepOmit;
|
|
5597
5598
|
documentationStepDocument?: Prisma.DocumentationStepDocumentOmit;
|
|
5598
5599
|
documentationStepApproval?: Prisma.DocumentationStepApprovalOmit;
|
|
5599
5600
|
contractInstallment?: Prisma.ContractInstallmentOmit;
|
|
5600
5601
|
contractPayment?: Prisma.ContractPaymentOmit;
|
|
5601
5602
|
contractDocument?: Prisma.ContractDocumentOmit;
|
|
5602
|
-
contractEvent?: Prisma.ContractEventOmit;
|
|
5603
5603
|
documentTemplate?: Prisma.DocumentTemplateOmit;
|
|
5604
5604
|
offerLetter?: Prisma.OfferLetterOmit;
|
|
5605
5605
|
contractTermination?: Prisma.ContractTerminationOmit;
|
|
@@ -102,13 +102,13 @@ export const ModelName = {
|
|
|
102
102
|
PaymentMethodPhaseDocument: 'PaymentMethodPhaseDocument',
|
|
103
103
|
Contract: 'Contract',
|
|
104
104
|
ContractPhase: 'ContractPhase',
|
|
105
|
+
ContractEvent: 'ContractEvent',
|
|
105
106
|
DocumentationStep: 'DocumentationStep',
|
|
106
107
|
DocumentationStepDocument: 'DocumentationStepDocument',
|
|
107
108
|
DocumentationStepApproval: 'DocumentationStepApproval',
|
|
108
109
|
ContractInstallment: 'ContractInstallment',
|
|
109
110
|
ContractPayment: 'ContractPayment',
|
|
110
111
|
ContractDocument: 'ContractDocument',
|
|
111
|
-
ContractEvent: 'ContractEvent',
|
|
112
112
|
DocumentTemplate: 'DocumentTemplate',
|
|
113
113
|
OfferLetter: 'OfferLetter',
|
|
114
114
|
ContractTermination: 'ContractTermination',
|
|
@@ -550,6 +550,19 @@ export const ContractPhaseScalarFieldEnum = {
|
|
|
550
550
|
createdAt: 'createdAt',
|
|
551
551
|
updatedAt: 'updatedAt'
|
|
552
552
|
};
|
|
553
|
+
export const ContractEventScalarFieldEnum = {
|
|
554
|
+
id: 'id',
|
|
555
|
+
contractId: 'contractId',
|
|
556
|
+
eventType: 'eventType',
|
|
557
|
+
eventGroup: 'eventGroup',
|
|
558
|
+
fromState: 'fromState',
|
|
559
|
+
toState: 'toState',
|
|
560
|
+
trigger: 'trigger',
|
|
561
|
+
data: 'data',
|
|
562
|
+
actorId: 'actorId',
|
|
563
|
+
actorType: 'actorType',
|
|
564
|
+
occurredAt: 'occurredAt'
|
|
565
|
+
};
|
|
553
566
|
export const DocumentationStepScalarFieldEnum = {
|
|
554
567
|
id: 'id',
|
|
555
568
|
phaseId: 'phaseId',
|
|
@@ -638,19 +651,6 @@ export const ContractDocumentScalarFieldEnum = {
|
|
|
638
651
|
createdAt: 'createdAt',
|
|
639
652
|
updatedAt: 'updatedAt'
|
|
640
653
|
};
|
|
641
|
-
export const ContractEventScalarFieldEnum = {
|
|
642
|
-
id: 'id',
|
|
643
|
-
contractId: 'contractId',
|
|
644
|
-
eventType: 'eventType',
|
|
645
|
-
eventGroup: 'eventGroup',
|
|
646
|
-
fromState: 'fromState',
|
|
647
|
-
toState: 'toState',
|
|
648
|
-
trigger: 'trigger',
|
|
649
|
-
data: 'data',
|
|
650
|
-
actorId: 'actorId',
|
|
651
|
-
actorType: 'actorType',
|
|
652
|
-
occurredAt: 'occurredAt'
|
|
653
|
-
};
|
|
654
654
|
export const DocumentTemplateScalarFieldEnum = {
|
|
655
655
|
id: 'id',
|
|
656
656
|
tenantId: 'tenantId',
|
|
@@ -1171,6 +1171,17 @@ export const ContractPhaseOrderByRelevanceFieldEnum = {
|
|
|
1171
1171
|
description: 'description',
|
|
1172
1172
|
currentStepId: 'currentStepId'
|
|
1173
1173
|
};
|
|
1174
|
+
export const ContractEventOrderByRelevanceFieldEnum = {
|
|
1175
|
+
id: 'id',
|
|
1176
|
+
contractId: 'contractId',
|
|
1177
|
+
eventType: 'eventType',
|
|
1178
|
+
eventGroup: 'eventGroup',
|
|
1179
|
+
fromState: 'fromState',
|
|
1180
|
+
toState: 'toState',
|
|
1181
|
+
trigger: 'trigger',
|
|
1182
|
+
actorId: 'actorId',
|
|
1183
|
+
actorType: 'actorType'
|
|
1184
|
+
};
|
|
1174
1185
|
export const DocumentationStepOrderByRelevanceFieldEnum = {
|
|
1175
1186
|
id: 'id',
|
|
1176
1187
|
phaseId: 'phaseId',
|
|
@@ -1216,17 +1227,6 @@ export const ContractDocumentOrderByRelevanceFieldEnum = {
|
|
|
1216
1227
|
type: 'type',
|
|
1217
1228
|
uploadedById: 'uploadedById'
|
|
1218
1229
|
};
|
|
1219
|
-
export const ContractEventOrderByRelevanceFieldEnum = {
|
|
1220
|
-
id: 'id',
|
|
1221
|
-
contractId: 'contractId',
|
|
1222
|
-
eventType: 'eventType',
|
|
1223
|
-
eventGroup: 'eventGroup',
|
|
1224
|
-
fromState: 'fromState',
|
|
1225
|
-
toState: 'toState',
|
|
1226
|
-
trigger: 'trigger',
|
|
1227
|
-
actorId: 'actorId',
|
|
1228
|
-
actorType: 'actorType'
|
|
1229
|
-
};
|
|
1230
1230
|
export const DocumentTemplateOrderByRelevanceFieldEnum = {
|
|
1231
1231
|
id: 'id',
|
|
1232
1232
|
tenantId: 'tenantId',
|
|
@@ -61,13 +61,13 @@ export declare const ModelName: {
|
|
|
61
61
|
readonly PaymentMethodPhaseDocument: "PaymentMethodPhaseDocument";
|
|
62
62
|
readonly Contract: "Contract";
|
|
63
63
|
readonly ContractPhase: "ContractPhase";
|
|
64
|
+
readonly ContractEvent: "ContractEvent";
|
|
64
65
|
readonly DocumentationStep: "DocumentationStep";
|
|
65
66
|
readonly DocumentationStepDocument: "DocumentationStepDocument";
|
|
66
67
|
readonly DocumentationStepApproval: "DocumentationStepApproval";
|
|
67
68
|
readonly ContractInstallment: "ContractInstallment";
|
|
68
69
|
readonly ContractPayment: "ContractPayment";
|
|
69
70
|
readonly ContractDocument: "ContractDocument";
|
|
70
|
-
readonly ContractEvent: "ContractEvent";
|
|
71
71
|
readonly DocumentTemplate: "DocumentTemplate";
|
|
72
72
|
readonly OfferLetter: "OfferLetter";
|
|
73
73
|
readonly ContractTermination: "ContractTermination";
|
|
@@ -543,6 +543,20 @@ export declare const ContractPhaseScalarFieldEnum: {
|
|
|
543
543
|
readonly updatedAt: "updatedAt";
|
|
544
544
|
};
|
|
545
545
|
export type ContractPhaseScalarFieldEnum = (typeof ContractPhaseScalarFieldEnum)[keyof typeof ContractPhaseScalarFieldEnum];
|
|
546
|
+
export declare const ContractEventScalarFieldEnum: {
|
|
547
|
+
readonly id: "id";
|
|
548
|
+
readonly contractId: "contractId";
|
|
549
|
+
readonly eventType: "eventType";
|
|
550
|
+
readonly eventGroup: "eventGroup";
|
|
551
|
+
readonly fromState: "fromState";
|
|
552
|
+
readonly toState: "toState";
|
|
553
|
+
readonly trigger: "trigger";
|
|
554
|
+
readonly data: "data";
|
|
555
|
+
readonly actorId: "actorId";
|
|
556
|
+
readonly actorType: "actorType";
|
|
557
|
+
readonly occurredAt: "occurredAt";
|
|
558
|
+
};
|
|
559
|
+
export type ContractEventScalarFieldEnum = (typeof ContractEventScalarFieldEnum)[keyof typeof ContractEventScalarFieldEnum];
|
|
546
560
|
export declare const DocumentationStepScalarFieldEnum: {
|
|
547
561
|
readonly id: "id";
|
|
548
562
|
readonly phaseId: "phaseId";
|
|
@@ -637,20 +651,6 @@ export declare const ContractDocumentScalarFieldEnum: {
|
|
|
637
651
|
readonly updatedAt: "updatedAt";
|
|
638
652
|
};
|
|
639
653
|
export type ContractDocumentScalarFieldEnum = (typeof ContractDocumentScalarFieldEnum)[keyof typeof ContractDocumentScalarFieldEnum];
|
|
640
|
-
export declare const ContractEventScalarFieldEnum: {
|
|
641
|
-
readonly id: "id";
|
|
642
|
-
readonly contractId: "contractId";
|
|
643
|
-
readonly eventType: "eventType";
|
|
644
|
-
readonly eventGroup: "eventGroup";
|
|
645
|
-
readonly fromState: "fromState";
|
|
646
|
-
readonly toState: "toState";
|
|
647
|
-
readonly trigger: "trigger";
|
|
648
|
-
readonly data: "data";
|
|
649
|
-
readonly actorId: "actorId";
|
|
650
|
-
readonly actorType: "actorType";
|
|
651
|
-
readonly occurredAt: "occurredAt";
|
|
652
|
-
};
|
|
653
|
-
export type ContractEventScalarFieldEnum = (typeof ContractEventScalarFieldEnum)[keyof typeof ContractEventScalarFieldEnum];
|
|
654
654
|
export declare const DocumentTemplateScalarFieldEnum: {
|
|
655
655
|
readonly id: "id";
|
|
656
656
|
readonly tenantId: "tenantId";
|
|
@@ -1225,6 +1225,18 @@ export declare const ContractPhaseOrderByRelevanceFieldEnum: {
|
|
|
1225
1225
|
readonly currentStepId: "currentStepId";
|
|
1226
1226
|
};
|
|
1227
1227
|
export type ContractPhaseOrderByRelevanceFieldEnum = (typeof ContractPhaseOrderByRelevanceFieldEnum)[keyof typeof ContractPhaseOrderByRelevanceFieldEnum];
|
|
1228
|
+
export declare const ContractEventOrderByRelevanceFieldEnum: {
|
|
1229
|
+
readonly id: "id";
|
|
1230
|
+
readonly contractId: "contractId";
|
|
1231
|
+
readonly eventType: "eventType";
|
|
1232
|
+
readonly eventGroup: "eventGroup";
|
|
1233
|
+
readonly fromState: "fromState";
|
|
1234
|
+
readonly toState: "toState";
|
|
1235
|
+
readonly trigger: "trigger";
|
|
1236
|
+
readonly actorId: "actorId";
|
|
1237
|
+
readonly actorType: "actorType";
|
|
1238
|
+
};
|
|
1239
|
+
export type ContractEventOrderByRelevanceFieldEnum = (typeof ContractEventOrderByRelevanceFieldEnum)[keyof typeof ContractEventOrderByRelevanceFieldEnum];
|
|
1228
1240
|
export declare const DocumentationStepOrderByRelevanceFieldEnum: {
|
|
1229
1241
|
readonly id: "id";
|
|
1230
1242
|
readonly phaseId: "phaseId";
|
|
@@ -1276,18 +1288,6 @@ export declare const ContractDocumentOrderByRelevanceFieldEnum: {
|
|
|
1276
1288
|
readonly uploadedById: "uploadedById";
|
|
1277
1289
|
};
|
|
1278
1290
|
export type ContractDocumentOrderByRelevanceFieldEnum = (typeof ContractDocumentOrderByRelevanceFieldEnum)[keyof typeof ContractDocumentOrderByRelevanceFieldEnum];
|
|
1279
|
-
export declare const ContractEventOrderByRelevanceFieldEnum: {
|
|
1280
|
-
readonly id: "id";
|
|
1281
|
-
readonly contractId: "contractId";
|
|
1282
|
-
readonly eventType: "eventType";
|
|
1283
|
-
readonly eventGroup: "eventGroup";
|
|
1284
|
-
readonly fromState: "fromState";
|
|
1285
|
-
readonly toState: "toState";
|
|
1286
|
-
readonly trigger: "trigger";
|
|
1287
|
-
readonly actorId: "actorId";
|
|
1288
|
-
readonly actorType: "actorType";
|
|
1289
|
-
};
|
|
1290
|
-
export type ContractEventOrderByRelevanceFieldEnum = (typeof ContractEventOrderByRelevanceFieldEnum)[keyof typeof ContractEventOrderByRelevanceFieldEnum];
|
|
1291
1291
|
export declare const DocumentTemplateOrderByRelevanceFieldEnum: {
|
|
1292
1292
|
readonly id: "id";
|
|
1293
1293
|
readonly tenantId: "tenantId";
|
|
@@ -74,13 +74,13 @@ export const ModelName = {
|
|
|
74
74
|
PaymentMethodPhaseDocument: 'PaymentMethodPhaseDocument',
|
|
75
75
|
Contract: 'Contract',
|
|
76
76
|
ContractPhase: 'ContractPhase',
|
|
77
|
+
ContractEvent: 'ContractEvent',
|
|
77
78
|
DocumentationStep: 'DocumentationStep',
|
|
78
79
|
DocumentationStepDocument: 'DocumentationStepDocument',
|
|
79
80
|
DocumentationStepApproval: 'DocumentationStepApproval',
|
|
80
81
|
ContractInstallment: 'ContractInstallment',
|
|
81
82
|
ContractPayment: 'ContractPayment',
|
|
82
83
|
ContractDocument: 'ContractDocument',
|
|
83
|
-
ContractEvent: 'ContractEvent',
|
|
84
84
|
DocumentTemplate: 'DocumentTemplate',
|
|
85
85
|
OfferLetter: 'OfferLetter',
|
|
86
86
|
ContractTermination: 'ContractTermination',
|
|
@@ -522,6 +522,19 @@ export const ContractPhaseScalarFieldEnum = {
|
|
|
522
522
|
createdAt: 'createdAt',
|
|
523
523
|
updatedAt: 'updatedAt'
|
|
524
524
|
};
|
|
525
|
+
export const ContractEventScalarFieldEnum = {
|
|
526
|
+
id: 'id',
|
|
527
|
+
contractId: 'contractId',
|
|
528
|
+
eventType: 'eventType',
|
|
529
|
+
eventGroup: 'eventGroup',
|
|
530
|
+
fromState: 'fromState',
|
|
531
|
+
toState: 'toState',
|
|
532
|
+
trigger: 'trigger',
|
|
533
|
+
data: 'data',
|
|
534
|
+
actorId: 'actorId',
|
|
535
|
+
actorType: 'actorType',
|
|
536
|
+
occurredAt: 'occurredAt'
|
|
537
|
+
};
|
|
525
538
|
export const DocumentationStepScalarFieldEnum = {
|
|
526
539
|
id: 'id',
|
|
527
540
|
phaseId: 'phaseId',
|
|
@@ -610,19 +623,6 @@ export const ContractDocumentScalarFieldEnum = {
|
|
|
610
623
|
createdAt: 'createdAt',
|
|
611
624
|
updatedAt: 'updatedAt'
|
|
612
625
|
};
|
|
613
|
-
export const ContractEventScalarFieldEnum = {
|
|
614
|
-
id: 'id',
|
|
615
|
-
contractId: 'contractId',
|
|
616
|
-
eventType: 'eventType',
|
|
617
|
-
eventGroup: 'eventGroup',
|
|
618
|
-
fromState: 'fromState',
|
|
619
|
-
toState: 'toState',
|
|
620
|
-
trigger: 'trigger',
|
|
621
|
-
data: 'data',
|
|
622
|
-
actorId: 'actorId',
|
|
623
|
-
actorType: 'actorType',
|
|
624
|
-
occurredAt: 'occurredAt'
|
|
625
|
-
};
|
|
626
626
|
export const DocumentTemplateScalarFieldEnum = {
|
|
627
627
|
id: 'id',
|
|
628
628
|
tenantId: 'tenantId',
|
|
@@ -1143,6 +1143,17 @@ export const ContractPhaseOrderByRelevanceFieldEnum = {
|
|
|
1143
1143
|
description: 'description',
|
|
1144
1144
|
currentStepId: 'currentStepId'
|
|
1145
1145
|
};
|
|
1146
|
+
export const ContractEventOrderByRelevanceFieldEnum = {
|
|
1147
|
+
id: 'id',
|
|
1148
|
+
contractId: 'contractId',
|
|
1149
|
+
eventType: 'eventType',
|
|
1150
|
+
eventGroup: 'eventGroup',
|
|
1151
|
+
fromState: 'fromState',
|
|
1152
|
+
toState: 'toState',
|
|
1153
|
+
trigger: 'trigger',
|
|
1154
|
+
actorId: 'actorId',
|
|
1155
|
+
actorType: 'actorType'
|
|
1156
|
+
};
|
|
1146
1157
|
export const DocumentationStepOrderByRelevanceFieldEnum = {
|
|
1147
1158
|
id: 'id',
|
|
1148
1159
|
phaseId: 'phaseId',
|
|
@@ -1188,17 +1199,6 @@ export const ContractDocumentOrderByRelevanceFieldEnum = {
|
|
|
1188
1199
|
type: 'type',
|
|
1189
1200
|
uploadedById: 'uploadedById'
|
|
1190
1201
|
};
|
|
1191
|
-
export const ContractEventOrderByRelevanceFieldEnum = {
|
|
1192
|
-
id: 'id',
|
|
1193
|
-
contractId: 'contractId',
|
|
1194
|
-
eventType: 'eventType',
|
|
1195
|
-
eventGroup: 'eventGroup',
|
|
1196
|
-
fromState: 'fromState',
|
|
1197
|
-
toState: 'toState',
|
|
1198
|
-
trigger: 'trigger',
|
|
1199
|
-
actorId: 'actorId',
|
|
1200
|
-
actorType: 'actorType'
|
|
1201
|
-
};
|
|
1202
1202
|
export const DocumentTemplateOrderByRelevanceFieldEnum = {
|
|
1203
1203
|
id: 'id',
|
|
1204
1204
|
tenantId: 'tenantId',
|