@valentine-efagene/qshelter-common 2.0.78 → 2.0.82
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 -0
- package/dist/generated/client/client.d.ts +5 -0
- package/dist/generated/client/commonInputTypes.d.ts +120 -30
- package/dist/generated/client/enums.d.ts +10 -10
- package/dist/generated/client/enums.js +9 -9
- package/dist/generated/client/internal/class.d.ts +11 -0
- package/dist/generated/client/internal/class.js +2 -2
- package/dist/generated/client/internal/prismaNamespace.d.ts +129 -8
- package/dist/generated/client/internal/prismaNamespace.js +44 -4
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +45 -3
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +44 -4
- package/dist/generated/client/models/Contract.d.ts +323 -0
- package/dist/generated/client/models/ContractEvent.d.ts +76 -66
- package/dist/generated/client/models/ContractRefund.d.ts +2560 -0
- package/dist/generated/client/models/ContractRefund.js +1 -0
- package/dist/generated/client/models/ContractTermination.d.ts +0 -3
- package/dist/generated/client/models/Tenant.d.ts +235 -0
- package/dist/generated/client/models/User.d.ts +1103 -22
- package/dist/generated/client/models/index.d.ts +1 -0
- package/dist/generated/client/models/index.js +1 -0
- package/dist/generated/client/models.d.ts +1 -0
- package/package.json +1 -1
- package/prisma/migrations/20260107214834_add_contract_refund_model/migration.sql +64 -0
- package/prisma/schema.prisma +77 -11
|
@@ -265,6 +265,7 @@ export declare const ModelName: {
|
|
|
265
265
|
readonly StepEventAttachment: "StepEventAttachment";
|
|
266
266
|
readonly PaymentMethodPhaseDocument: "PaymentMethodPhaseDocument";
|
|
267
267
|
readonly Contract: "Contract";
|
|
268
|
+
readonly ContractRefund: "ContractRefund";
|
|
268
269
|
readonly ContractPhase: "ContractPhase";
|
|
269
270
|
readonly ContractEvent: "ContractEvent";
|
|
270
271
|
readonly DocumentationStep: "DocumentationStep";
|
|
@@ -298,7 +299,7 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
|
|
|
298
299
|
omit: GlobalOmitOptions;
|
|
299
300
|
};
|
|
300
301
|
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" | "contractEvent" | "documentationStep" | "documentationStepDocument" | "documentationStepApproval" | "contractInstallment" | "contractPayment" | "contractDocument" | "documentTemplate" | "offerLetter" | "contractTermination" | "paymentMethodChangeRequest" | "documentRequirementRule" | "eventChannel" | "eventType" | "eventHandler" | "workflowEvent" | "eventHandlerExecution" | "domainEvent" | "propertyTransferRequest" | "approvalRequest";
|
|
302
|
+
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" | "contractRefund" | "contractPhase" | "contractEvent" | "documentationStep" | "documentationStepDocument" | "documentationStepApproval" | "contractInstallment" | "contractPayment" | "contractDocument" | "documentTemplate" | "offerLetter" | "contractTermination" | "paymentMethodChangeRequest" | "documentRequirementRule" | "eventChannel" | "eventType" | "eventHandler" | "workflowEvent" | "eventHandlerExecution" | "domainEvent" | "propertyTransferRequest" | "approvalRequest";
|
|
302
303
|
txIsolationLevel: TransactionIsolationLevel;
|
|
303
304
|
};
|
|
304
305
|
model: {
|
|
@@ -2546,6 +2547,72 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
|
|
|
2546
2547
|
};
|
|
2547
2548
|
};
|
|
2548
2549
|
};
|
|
2550
|
+
ContractRefund: {
|
|
2551
|
+
payload: Prisma.$ContractRefundPayload<ExtArgs>;
|
|
2552
|
+
fields: Prisma.ContractRefundFieldRefs;
|
|
2553
|
+
operations: {
|
|
2554
|
+
findUnique: {
|
|
2555
|
+
args: Prisma.ContractRefundFindUniqueArgs<ExtArgs>;
|
|
2556
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ContractRefundPayload> | null;
|
|
2557
|
+
};
|
|
2558
|
+
findUniqueOrThrow: {
|
|
2559
|
+
args: Prisma.ContractRefundFindUniqueOrThrowArgs<ExtArgs>;
|
|
2560
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ContractRefundPayload>;
|
|
2561
|
+
};
|
|
2562
|
+
findFirst: {
|
|
2563
|
+
args: Prisma.ContractRefundFindFirstArgs<ExtArgs>;
|
|
2564
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ContractRefundPayload> | null;
|
|
2565
|
+
};
|
|
2566
|
+
findFirstOrThrow: {
|
|
2567
|
+
args: Prisma.ContractRefundFindFirstOrThrowArgs<ExtArgs>;
|
|
2568
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ContractRefundPayload>;
|
|
2569
|
+
};
|
|
2570
|
+
findMany: {
|
|
2571
|
+
args: Prisma.ContractRefundFindManyArgs<ExtArgs>;
|
|
2572
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ContractRefundPayload>[];
|
|
2573
|
+
};
|
|
2574
|
+
create: {
|
|
2575
|
+
args: Prisma.ContractRefundCreateArgs<ExtArgs>;
|
|
2576
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ContractRefundPayload>;
|
|
2577
|
+
};
|
|
2578
|
+
createMany: {
|
|
2579
|
+
args: Prisma.ContractRefundCreateManyArgs<ExtArgs>;
|
|
2580
|
+
result: BatchPayload;
|
|
2581
|
+
};
|
|
2582
|
+
delete: {
|
|
2583
|
+
args: Prisma.ContractRefundDeleteArgs<ExtArgs>;
|
|
2584
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ContractRefundPayload>;
|
|
2585
|
+
};
|
|
2586
|
+
update: {
|
|
2587
|
+
args: Prisma.ContractRefundUpdateArgs<ExtArgs>;
|
|
2588
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ContractRefundPayload>;
|
|
2589
|
+
};
|
|
2590
|
+
deleteMany: {
|
|
2591
|
+
args: Prisma.ContractRefundDeleteManyArgs<ExtArgs>;
|
|
2592
|
+
result: BatchPayload;
|
|
2593
|
+
};
|
|
2594
|
+
updateMany: {
|
|
2595
|
+
args: Prisma.ContractRefundUpdateManyArgs<ExtArgs>;
|
|
2596
|
+
result: BatchPayload;
|
|
2597
|
+
};
|
|
2598
|
+
upsert: {
|
|
2599
|
+
args: Prisma.ContractRefundUpsertArgs<ExtArgs>;
|
|
2600
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$ContractRefundPayload>;
|
|
2601
|
+
};
|
|
2602
|
+
aggregate: {
|
|
2603
|
+
args: Prisma.ContractRefundAggregateArgs<ExtArgs>;
|
|
2604
|
+
result: runtime.Types.Utils.Optional<Prisma.AggregateContractRefund>;
|
|
2605
|
+
};
|
|
2606
|
+
groupBy: {
|
|
2607
|
+
args: Prisma.ContractRefundGroupByArgs<ExtArgs>;
|
|
2608
|
+
result: runtime.Types.Utils.Optional<Prisma.ContractRefundGroupByOutputType>[];
|
|
2609
|
+
};
|
|
2610
|
+
count: {
|
|
2611
|
+
args: Prisma.ContractRefundCountArgs<ExtArgs>;
|
|
2612
|
+
result: runtime.Types.Utils.Optional<Prisma.ContractRefundCountAggregateOutputType> | number;
|
|
2613
|
+
};
|
|
2614
|
+
};
|
|
2615
|
+
};
|
|
2549
2616
|
ContractPhase: {
|
|
2550
2617
|
payload: Prisma.$ContractPhasePayload<ExtArgs>;
|
|
2551
2618
|
fields: Prisma.ContractPhaseFieldRefs;
|
|
@@ -4384,6 +4451,32 @@ export declare const ContractScalarFieldEnum: {
|
|
|
4384
4451
|
readonly transferredFromId: "transferredFromId";
|
|
4385
4452
|
};
|
|
4386
4453
|
export type ContractScalarFieldEnum = (typeof ContractScalarFieldEnum)[keyof typeof ContractScalarFieldEnum];
|
|
4454
|
+
export declare const ContractRefundScalarFieldEnum: {
|
|
4455
|
+
readonly id: "id";
|
|
4456
|
+
readonly tenantId: "tenantId";
|
|
4457
|
+
readonly contractId: "contractId";
|
|
4458
|
+
readonly amount: "amount";
|
|
4459
|
+
readonly reason: "reason";
|
|
4460
|
+
readonly status: "status";
|
|
4461
|
+
readonly requestedById: "requestedById";
|
|
4462
|
+
readonly approvedById: "approvedById";
|
|
4463
|
+
readonly processedById: "processedById";
|
|
4464
|
+
readonly paymentMethod: "paymentMethod";
|
|
4465
|
+
readonly referenceNumber: "referenceNumber";
|
|
4466
|
+
readonly recipientName: "recipientName";
|
|
4467
|
+
readonly recipientAccount: "recipientAccount";
|
|
4468
|
+
readonly recipientBank: "recipientBank";
|
|
4469
|
+
readonly requestedAt: "requestedAt";
|
|
4470
|
+
readonly approvedAt: "approvedAt";
|
|
4471
|
+
readonly rejectedAt: "rejectedAt";
|
|
4472
|
+
readonly processedAt: "processedAt";
|
|
4473
|
+
readonly approvalNotes: "approvalNotes";
|
|
4474
|
+
readonly rejectionNotes: "rejectionNotes";
|
|
4475
|
+
readonly processingNotes: "processingNotes";
|
|
4476
|
+
readonly createdAt: "createdAt";
|
|
4477
|
+
readonly updatedAt: "updatedAt";
|
|
4478
|
+
};
|
|
4479
|
+
export type ContractRefundScalarFieldEnum = (typeof ContractRefundScalarFieldEnum)[keyof typeof ContractRefundScalarFieldEnum];
|
|
4387
4480
|
export declare const ContractPhaseScalarFieldEnum: {
|
|
4388
4481
|
readonly id: "id";
|
|
4389
4482
|
readonly contractId: "contractId";
|
|
@@ -5092,6 +5185,24 @@ export declare const ContractOrderByRelevanceFieldEnum: {
|
|
|
5092
5185
|
readonly transferredFromId: "transferredFromId";
|
|
5093
5186
|
};
|
|
5094
5187
|
export type ContractOrderByRelevanceFieldEnum = (typeof ContractOrderByRelevanceFieldEnum)[keyof typeof ContractOrderByRelevanceFieldEnum];
|
|
5188
|
+
export declare const ContractRefundOrderByRelevanceFieldEnum: {
|
|
5189
|
+
readonly id: "id";
|
|
5190
|
+
readonly tenantId: "tenantId";
|
|
5191
|
+
readonly contractId: "contractId";
|
|
5192
|
+
readonly reason: "reason";
|
|
5193
|
+
readonly requestedById: "requestedById";
|
|
5194
|
+
readonly approvedById: "approvedById";
|
|
5195
|
+
readonly processedById: "processedById";
|
|
5196
|
+
readonly paymentMethod: "paymentMethod";
|
|
5197
|
+
readonly referenceNumber: "referenceNumber";
|
|
5198
|
+
readonly recipientName: "recipientName";
|
|
5199
|
+
readonly recipientAccount: "recipientAccount";
|
|
5200
|
+
readonly recipientBank: "recipientBank";
|
|
5201
|
+
readonly approvalNotes: "approvalNotes";
|
|
5202
|
+
readonly rejectionNotes: "rejectionNotes";
|
|
5203
|
+
readonly processingNotes: "processingNotes";
|
|
5204
|
+
};
|
|
5205
|
+
export type ContractRefundOrderByRelevanceFieldEnum = (typeof ContractRefundOrderByRelevanceFieldEnum)[keyof typeof ContractRefundOrderByRelevanceFieldEnum];
|
|
5095
5206
|
export declare const ContractPhaseOrderByRelevanceFieldEnum: {
|
|
5096
5207
|
readonly id: "id";
|
|
5097
5208
|
readonly contractId: "contractId";
|
|
@@ -5104,13 +5215,10 @@ export type ContractPhaseOrderByRelevanceFieldEnum = (typeof ContractPhaseOrderB
|
|
|
5104
5215
|
export declare const ContractEventOrderByRelevanceFieldEnum: {
|
|
5105
5216
|
readonly id: "id";
|
|
5106
5217
|
readonly contractId: "contractId";
|
|
5107
|
-
readonly eventType: "eventType";
|
|
5108
|
-
readonly eventGroup: "eventGroup";
|
|
5109
5218
|
readonly fromState: "fromState";
|
|
5110
5219
|
readonly toState: "toState";
|
|
5111
5220
|
readonly trigger: "trigger";
|
|
5112
5221
|
readonly actorId: "actorId";
|
|
5113
|
-
readonly actorType: "actorType";
|
|
5114
5222
|
};
|
|
5115
5223
|
export type ContractEventOrderByRelevanceFieldEnum = (typeof ContractEventOrderByRelevanceFieldEnum)[keyof typeof ContractEventOrderByRelevanceFieldEnum];
|
|
5116
5224
|
export declare const DocumentationStepOrderByRelevanceFieldEnum: {
|
|
@@ -5376,10 +5484,26 @@ export type EnumStepTriggerFieldRefInput<$PrismaModel> = FieldRefInputType<$Pris
|
|
|
5376
5484
|
* Reference to a field of type 'ContractStatus'
|
|
5377
5485
|
*/
|
|
5378
5486
|
export type EnumContractStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ContractStatus'>;
|
|
5487
|
+
/**
|
|
5488
|
+
* Reference to a field of type 'RefundStatus'
|
|
5489
|
+
*/
|
|
5490
|
+
export type EnumRefundStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'RefundStatus'>;
|
|
5379
5491
|
/**
|
|
5380
5492
|
* Reference to a field of type 'PhaseStatus'
|
|
5381
5493
|
*/
|
|
5382
5494
|
export type EnumPhaseStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'PhaseStatus'>;
|
|
5495
|
+
/**
|
|
5496
|
+
* Reference to a field of type 'ContractEventType'
|
|
5497
|
+
*/
|
|
5498
|
+
export type EnumContractEventTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ContractEventType'>;
|
|
5499
|
+
/**
|
|
5500
|
+
* Reference to a field of type 'ContractEventGroup'
|
|
5501
|
+
*/
|
|
5502
|
+
export type EnumContractEventGroupFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'ContractEventGroup'>;
|
|
5503
|
+
/**
|
|
5504
|
+
* Reference to a field of type 'EventActorType'
|
|
5505
|
+
*/
|
|
5506
|
+
export type EnumEventActorTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'EventActorType'>;
|
|
5383
5507
|
/**
|
|
5384
5508
|
* Reference to a field of type 'StepStatus'
|
|
5385
5509
|
*/
|
|
@@ -5420,10 +5544,6 @@ export type EnumTerminationTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$
|
|
|
5420
5544
|
* Reference to a field of type 'TerminationStatus'
|
|
5421
5545
|
*/
|
|
5422
5546
|
export type EnumTerminationStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'TerminationStatus'>;
|
|
5423
|
-
/**
|
|
5424
|
-
* Reference to a field of type 'RefundStatus'
|
|
5425
|
-
*/
|
|
5426
|
-
export type EnumRefundStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'RefundStatus'>;
|
|
5427
5547
|
/**
|
|
5428
5548
|
* Reference to a field of type 'PaymentMethodChangeStatus'
|
|
5429
5549
|
*/
|
|
@@ -5592,6 +5712,7 @@ export type GlobalOmitConfig = {
|
|
|
5592
5712
|
stepEventAttachment?: Prisma.StepEventAttachmentOmit;
|
|
5593
5713
|
paymentMethodPhaseDocument?: Prisma.PaymentMethodPhaseDocumentOmit;
|
|
5594
5714
|
contract?: Prisma.ContractOmit;
|
|
5715
|
+
contractRefund?: Prisma.ContractRefundOmit;
|
|
5595
5716
|
contractPhase?: Prisma.ContractPhaseOmit;
|
|
5596
5717
|
contractEvent?: Prisma.ContractEventOmit;
|
|
5597
5718
|
documentationStep?: Prisma.DocumentationStepOmit;
|
|
@@ -101,6 +101,7 @@ export const ModelName = {
|
|
|
101
101
|
StepEventAttachment: 'StepEventAttachment',
|
|
102
102
|
PaymentMethodPhaseDocument: 'PaymentMethodPhaseDocument',
|
|
103
103
|
Contract: 'Contract',
|
|
104
|
+
ContractRefund: 'ContractRefund',
|
|
104
105
|
ContractPhase: 'ContractPhase',
|
|
105
106
|
ContractEvent: 'ContractEvent',
|
|
106
107
|
DocumentationStep: 'DocumentationStep',
|
|
@@ -516,6 +517,31 @@ export const ContractScalarFieldEnum = {
|
|
|
516
517
|
updatedAt: 'updatedAt',
|
|
517
518
|
transferredFromId: 'transferredFromId'
|
|
518
519
|
};
|
|
520
|
+
export const ContractRefundScalarFieldEnum = {
|
|
521
|
+
id: 'id',
|
|
522
|
+
tenantId: 'tenantId',
|
|
523
|
+
contractId: 'contractId',
|
|
524
|
+
amount: 'amount',
|
|
525
|
+
reason: 'reason',
|
|
526
|
+
status: 'status',
|
|
527
|
+
requestedById: 'requestedById',
|
|
528
|
+
approvedById: 'approvedById',
|
|
529
|
+
processedById: 'processedById',
|
|
530
|
+
paymentMethod: 'paymentMethod',
|
|
531
|
+
referenceNumber: 'referenceNumber',
|
|
532
|
+
recipientName: 'recipientName',
|
|
533
|
+
recipientAccount: 'recipientAccount',
|
|
534
|
+
recipientBank: 'recipientBank',
|
|
535
|
+
requestedAt: 'requestedAt',
|
|
536
|
+
approvedAt: 'approvedAt',
|
|
537
|
+
rejectedAt: 'rejectedAt',
|
|
538
|
+
processedAt: 'processedAt',
|
|
539
|
+
approvalNotes: 'approvalNotes',
|
|
540
|
+
rejectionNotes: 'rejectionNotes',
|
|
541
|
+
processingNotes: 'processingNotes',
|
|
542
|
+
createdAt: 'createdAt',
|
|
543
|
+
updatedAt: 'updatedAt'
|
|
544
|
+
};
|
|
519
545
|
export const ContractPhaseScalarFieldEnum = {
|
|
520
546
|
id: 'id',
|
|
521
547
|
contractId: 'contractId',
|
|
@@ -1163,6 +1189,23 @@ export const ContractOrderByRelevanceFieldEnum = {
|
|
|
1163
1189
|
currentPhaseId: 'currentPhaseId',
|
|
1164
1190
|
transferredFromId: 'transferredFromId'
|
|
1165
1191
|
};
|
|
1192
|
+
export const ContractRefundOrderByRelevanceFieldEnum = {
|
|
1193
|
+
id: 'id',
|
|
1194
|
+
tenantId: 'tenantId',
|
|
1195
|
+
contractId: 'contractId',
|
|
1196
|
+
reason: 'reason',
|
|
1197
|
+
requestedById: 'requestedById',
|
|
1198
|
+
approvedById: 'approvedById',
|
|
1199
|
+
processedById: 'processedById',
|
|
1200
|
+
paymentMethod: 'paymentMethod',
|
|
1201
|
+
referenceNumber: 'referenceNumber',
|
|
1202
|
+
recipientName: 'recipientName',
|
|
1203
|
+
recipientAccount: 'recipientAccount',
|
|
1204
|
+
recipientBank: 'recipientBank',
|
|
1205
|
+
approvalNotes: 'approvalNotes',
|
|
1206
|
+
rejectionNotes: 'rejectionNotes',
|
|
1207
|
+
processingNotes: 'processingNotes'
|
|
1208
|
+
};
|
|
1166
1209
|
export const ContractPhaseOrderByRelevanceFieldEnum = {
|
|
1167
1210
|
id: 'id',
|
|
1168
1211
|
contractId: 'contractId',
|
|
@@ -1174,13 +1217,10 @@ export const ContractPhaseOrderByRelevanceFieldEnum = {
|
|
|
1174
1217
|
export const ContractEventOrderByRelevanceFieldEnum = {
|
|
1175
1218
|
id: 'id',
|
|
1176
1219
|
contractId: 'contractId',
|
|
1177
|
-
eventType: 'eventType',
|
|
1178
|
-
eventGroup: 'eventGroup',
|
|
1179
1220
|
fromState: 'fromState',
|
|
1180
1221
|
toState: 'toState',
|
|
1181
1222
|
trigger: 'trigger',
|
|
1182
|
-
actorId: 'actorId'
|
|
1183
|
-
actorType: 'actorType'
|
|
1223
|
+
actorId: 'actorId'
|
|
1184
1224
|
};
|
|
1185
1225
|
export const DocumentationStepOrderByRelevanceFieldEnum = {
|
|
1186
1226
|
id: 'id',
|
|
@@ -60,6 +60,7 @@ export declare const ModelName: {
|
|
|
60
60
|
readonly StepEventAttachment: "StepEventAttachment";
|
|
61
61
|
readonly PaymentMethodPhaseDocument: "PaymentMethodPhaseDocument";
|
|
62
62
|
readonly Contract: "Contract";
|
|
63
|
+
readonly ContractRefund: "ContractRefund";
|
|
63
64
|
readonly ContractPhase: "ContractPhase";
|
|
64
65
|
readonly ContractEvent: "ContractEvent";
|
|
65
66
|
readonly DocumentationStep: "DocumentationStep";
|
|
@@ -508,6 +509,32 @@ export declare const ContractScalarFieldEnum: {
|
|
|
508
509
|
readonly transferredFromId: "transferredFromId";
|
|
509
510
|
};
|
|
510
511
|
export type ContractScalarFieldEnum = (typeof ContractScalarFieldEnum)[keyof typeof ContractScalarFieldEnum];
|
|
512
|
+
export declare const ContractRefundScalarFieldEnum: {
|
|
513
|
+
readonly id: "id";
|
|
514
|
+
readonly tenantId: "tenantId";
|
|
515
|
+
readonly contractId: "contractId";
|
|
516
|
+
readonly amount: "amount";
|
|
517
|
+
readonly reason: "reason";
|
|
518
|
+
readonly status: "status";
|
|
519
|
+
readonly requestedById: "requestedById";
|
|
520
|
+
readonly approvedById: "approvedById";
|
|
521
|
+
readonly processedById: "processedById";
|
|
522
|
+
readonly paymentMethod: "paymentMethod";
|
|
523
|
+
readonly referenceNumber: "referenceNumber";
|
|
524
|
+
readonly recipientName: "recipientName";
|
|
525
|
+
readonly recipientAccount: "recipientAccount";
|
|
526
|
+
readonly recipientBank: "recipientBank";
|
|
527
|
+
readonly requestedAt: "requestedAt";
|
|
528
|
+
readonly approvedAt: "approvedAt";
|
|
529
|
+
readonly rejectedAt: "rejectedAt";
|
|
530
|
+
readonly processedAt: "processedAt";
|
|
531
|
+
readonly approvalNotes: "approvalNotes";
|
|
532
|
+
readonly rejectionNotes: "rejectionNotes";
|
|
533
|
+
readonly processingNotes: "processingNotes";
|
|
534
|
+
readonly createdAt: "createdAt";
|
|
535
|
+
readonly updatedAt: "updatedAt";
|
|
536
|
+
};
|
|
537
|
+
export type ContractRefundScalarFieldEnum = (typeof ContractRefundScalarFieldEnum)[keyof typeof ContractRefundScalarFieldEnum];
|
|
511
538
|
export declare const ContractPhaseScalarFieldEnum: {
|
|
512
539
|
readonly id: "id";
|
|
513
540
|
readonly contractId: "contractId";
|
|
@@ -1216,6 +1243,24 @@ export declare const ContractOrderByRelevanceFieldEnum: {
|
|
|
1216
1243
|
readonly transferredFromId: "transferredFromId";
|
|
1217
1244
|
};
|
|
1218
1245
|
export type ContractOrderByRelevanceFieldEnum = (typeof ContractOrderByRelevanceFieldEnum)[keyof typeof ContractOrderByRelevanceFieldEnum];
|
|
1246
|
+
export declare const ContractRefundOrderByRelevanceFieldEnum: {
|
|
1247
|
+
readonly id: "id";
|
|
1248
|
+
readonly tenantId: "tenantId";
|
|
1249
|
+
readonly contractId: "contractId";
|
|
1250
|
+
readonly reason: "reason";
|
|
1251
|
+
readonly requestedById: "requestedById";
|
|
1252
|
+
readonly approvedById: "approvedById";
|
|
1253
|
+
readonly processedById: "processedById";
|
|
1254
|
+
readonly paymentMethod: "paymentMethod";
|
|
1255
|
+
readonly referenceNumber: "referenceNumber";
|
|
1256
|
+
readonly recipientName: "recipientName";
|
|
1257
|
+
readonly recipientAccount: "recipientAccount";
|
|
1258
|
+
readonly recipientBank: "recipientBank";
|
|
1259
|
+
readonly approvalNotes: "approvalNotes";
|
|
1260
|
+
readonly rejectionNotes: "rejectionNotes";
|
|
1261
|
+
readonly processingNotes: "processingNotes";
|
|
1262
|
+
};
|
|
1263
|
+
export type ContractRefundOrderByRelevanceFieldEnum = (typeof ContractRefundOrderByRelevanceFieldEnum)[keyof typeof ContractRefundOrderByRelevanceFieldEnum];
|
|
1219
1264
|
export declare const ContractPhaseOrderByRelevanceFieldEnum: {
|
|
1220
1265
|
readonly id: "id";
|
|
1221
1266
|
readonly contractId: "contractId";
|
|
@@ -1228,13 +1273,10 @@ export type ContractPhaseOrderByRelevanceFieldEnum = (typeof ContractPhaseOrderB
|
|
|
1228
1273
|
export declare const ContractEventOrderByRelevanceFieldEnum: {
|
|
1229
1274
|
readonly id: "id";
|
|
1230
1275
|
readonly contractId: "contractId";
|
|
1231
|
-
readonly eventType: "eventType";
|
|
1232
|
-
readonly eventGroup: "eventGroup";
|
|
1233
1276
|
readonly fromState: "fromState";
|
|
1234
1277
|
readonly toState: "toState";
|
|
1235
1278
|
readonly trigger: "trigger";
|
|
1236
1279
|
readonly actorId: "actorId";
|
|
1237
|
-
readonly actorType: "actorType";
|
|
1238
1280
|
};
|
|
1239
1281
|
export type ContractEventOrderByRelevanceFieldEnum = (typeof ContractEventOrderByRelevanceFieldEnum)[keyof typeof ContractEventOrderByRelevanceFieldEnum];
|
|
1240
1282
|
export declare const DocumentationStepOrderByRelevanceFieldEnum: {
|
|
@@ -73,6 +73,7 @@ export const ModelName = {
|
|
|
73
73
|
StepEventAttachment: 'StepEventAttachment',
|
|
74
74
|
PaymentMethodPhaseDocument: 'PaymentMethodPhaseDocument',
|
|
75
75
|
Contract: 'Contract',
|
|
76
|
+
ContractRefund: 'ContractRefund',
|
|
76
77
|
ContractPhase: 'ContractPhase',
|
|
77
78
|
ContractEvent: 'ContractEvent',
|
|
78
79
|
DocumentationStep: 'DocumentationStep',
|
|
@@ -488,6 +489,31 @@ export const ContractScalarFieldEnum = {
|
|
|
488
489
|
updatedAt: 'updatedAt',
|
|
489
490
|
transferredFromId: 'transferredFromId'
|
|
490
491
|
};
|
|
492
|
+
export const ContractRefundScalarFieldEnum = {
|
|
493
|
+
id: 'id',
|
|
494
|
+
tenantId: 'tenantId',
|
|
495
|
+
contractId: 'contractId',
|
|
496
|
+
amount: 'amount',
|
|
497
|
+
reason: 'reason',
|
|
498
|
+
status: 'status',
|
|
499
|
+
requestedById: 'requestedById',
|
|
500
|
+
approvedById: 'approvedById',
|
|
501
|
+
processedById: 'processedById',
|
|
502
|
+
paymentMethod: 'paymentMethod',
|
|
503
|
+
referenceNumber: 'referenceNumber',
|
|
504
|
+
recipientName: 'recipientName',
|
|
505
|
+
recipientAccount: 'recipientAccount',
|
|
506
|
+
recipientBank: 'recipientBank',
|
|
507
|
+
requestedAt: 'requestedAt',
|
|
508
|
+
approvedAt: 'approvedAt',
|
|
509
|
+
rejectedAt: 'rejectedAt',
|
|
510
|
+
processedAt: 'processedAt',
|
|
511
|
+
approvalNotes: 'approvalNotes',
|
|
512
|
+
rejectionNotes: 'rejectionNotes',
|
|
513
|
+
processingNotes: 'processingNotes',
|
|
514
|
+
createdAt: 'createdAt',
|
|
515
|
+
updatedAt: 'updatedAt'
|
|
516
|
+
};
|
|
491
517
|
export const ContractPhaseScalarFieldEnum = {
|
|
492
518
|
id: 'id',
|
|
493
519
|
contractId: 'contractId',
|
|
@@ -1135,6 +1161,23 @@ export const ContractOrderByRelevanceFieldEnum = {
|
|
|
1135
1161
|
currentPhaseId: 'currentPhaseId',
|
|
1136
1162
|
transferredFromId: 'transferredFromId'
|
|
1137
1163
|
};
|
|
1164
|
+
export const ContractRefundOrderByRelevanceFieldEnum = {
|
|
1165
|
+
id: 'id',
|
|
1166
|
+
tenantId: 'tenantId',
|
|
1167
|
+
contractId: 'contractId',
|
|
1168
|
+
reason: 'reason',
|
|
1169
|
+
requestedById: 'requestedById',
|
|
1170
|
+
approvedById: 'approvedById',
|
|
1171
|
+
processedById: 'processedById',
|
|
1172
|
+
paymentMethod: 'paymentMethod',
|
|
1173
|
+
referenceNumber: 'referenceNumber',
|
|
1174
|
+
recipientName: 'recipientName',
|
|
1175
|
+
recipientAccount: 'recipientAccount',
|
|
1176
|
+
recipientBank: 'recipientBank',
|
|
1177
|
+
approvalNotes: 'approvalNotes',
|
|
1178
|
+
rejectionNotes: 'rejectionNotes',
|
|
1179
|
+
processingNotes: 'processingNotes'
|
|
1180
|
+
};
|
|
1138
1181
|
export const ContractPhaseOrderByRelevanceFieldEnum = {
|
|
1139
1182
|
id: 'id',
|
|
1140
1183
|
contractId: 'contractId',
|
|
@@ -1146,13 +1189,10 @@ export const ContractPhaseOrderByRelevanceFieldEnum = {
|
|
|
1146
1189
|
export const ContractEventOrderByRelevanceFieldEnum = {
|
|
1147
1190
|
id: 'id',
|
|
1148
1191
|
contractId: 'contractId',
|
|
1149
|
-
eventType: 'eventType',
|
|
1150
|
-
eventGroup: 'eventGroup',
|
|
1151
1192
|
fromState: 'fromState',
|
|
1152
1193
|
toState: 'toState',
|
|
1153
1194
|
trigger: 'trigger',
|
|
1154
|
-
actorId: 'actorId'
|
|
1155
|
-
actorType: 'actorType'
|
|
1195
|
+
actorId: 'actorId'
|
|
1156
1196
|
};
|
|
1157
1197
|
export const DocumentationStepOrderByRelevanceFieldEnum = {
|
|
1158
1198
|
id: 'id',
|