@valentine-efagene/qshelter-common 2.0.29 → 2.0.30
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 +15 -0
- package/dist/generated/client/client.d.ts +15 -0
- package/dist/generated/client/commonInputTypes.d.ts +408 -48
- package/dist/generated/client/enums.d.ts +92 -0
- package/dist/generated/client/enums.js +80 -0
- package/dist/generated/client/internal/class.d.ts +33 -0
- package/dist/generated/client/internal/class.js +2 -2
- package/dist/generated/client/internal/prismaNamespace.d.ts +330 -36
- package/dist/generated/client/internal/prismaNamespace.js +76 -37
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +80 -35
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +76 -37
- package/dist/generated/client/models/Contract.d.ts +152 -148
- package/dist/generated/client/models/ContractDocument.d.ts +32 -28
- package/dist/generated/client/models/ContractInstallment.d.ts +30 -26
- package/dist/generated/client/models/ContractPayment.d.ts +44 -40
- package/dist/generated/client/models/ContractPhase.d.ts +539 -121
- package/dist/generated/client/models/ContractPhaseStep.d.ts +208 -108
- package/dist/generated/client/models/ContractPhaseStepApproval.d.ts +32 -28
- package/dist/generated/client/models/ContractPhaseStepDocument.d.ts +1052 -0
- package/dist/generated/client/models/ContractPhaseStepDocument.js +1 -0
- package/dist/generated/client/models/PaymentMethodPhaseDocument.d.ts +1216 -0
- package/dist/generated/client/models/PaymentMethodPhaseDocument.js +1 -0
- package/dist/generated/client/models/PaymentMethodPhaseStep.d.ts +1187 -0
- package/dist/generated/client/models/PaymentMethodPhaseStep.js +1 -0
- package/dist/generated/client/models/PaymentPlan.d.ts +34 -30
- package/dist/generated/client/models/PropertyPaymentMethodPhase.d.ts +504 -135
- 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 +3 -0
- package/package.json +1 -1
- package/prisma/schema.prisma +195 -30
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as $Enums from "../enums.js";
|
|
2
3
|
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
3
4
|
/**
|
|
4
5
|
* Model ContractPhaseStepApproval
|
|
@@ -14,7 +15,7 @@ export type ContractPhaseStepApprovalMinAggregateOutputType = {
|
|
|
14
15
|
id: string | null;
|
|
15
16
|
stepId: string | null;
|
|
16
17
|
approverId: string | null;
|
|
17
|
-
decision:
|
|
18
|
+
decision: $Enums.ApprovalDecision | null;
|
|
18
19
|
comment: string | null;
|
|
19
20
|
decidedAt: Date | null;
|
|
20
21
|
createdAt: Date | null;
|
|
@@ -23,7 +24,7 @@ export type ContractPhaseStepApprovalMaxAggregateOutputType = {
|
|
|
23
24
|
id: string | null;
|
|
24
25
|
stepId: string | null;
|
|
25
26
|
approverId: string | null;
|
|
26
|
-
decision:
|
|
27
|
+
decision: $Enums.ApprovalDecision | null;
|
|
27
28
|
comment: string | null;
|
|
28
29
|
decidedAt: Date | null;
|
|
29
30
|
createdAt: Date | null;
|
|
@@ -132,7 +133,7 @@ export type ContractPhaseStepApprovalGroupByOutputType = {
|
|
|
132
133
|
id: string;
|
|
133
134
|
stepId: string;
|
|
134
135
|
approverId: string | null;
|
|
135
|
-
decision:
|
|
136
|
+
decision: $Enums.ApprovalDecision;
|
|
136
137
|
comment: string | null;
|
|
137
138
|
decidedAt: Date;
|
|
138
139
|
createdAt: Date;
|
|
@@ -150,7 +151,7 @@ export type ContractPhaseStepApprovalWhereInput = {
|
|
|
150
151
|
id?: Prisma.StringFilter<"ContractPhaseStepApproval"> | string;
|
|
151
152
|
stepId?: Prisma.StringFilter<"ContractPhaseStepApproval"> | string;
|
|
152
153
|
approverId?: Prisma.StringNullableFilter<"ContractPhaseStepApproval"> | string | null;
|
|
153
|
-
decision?: Prisma.
|
|
154
|
+
decision?: Prisma.EnumApprovalDecisionFilter<"ContractPhaseStepApproval"> | $Enums.ApprovalDecision;
|
|
154
155
|
comment?: Prisma.StringNullableFilter<"ContractPhaseStepApproval"> | string | null;
|
|
155
156
|
decidedAt?: Prisma.DateTimeFilter<"ContractPhaseStepApproval"> | Date | string;
|
|
156
157
|
createdAt?: Prisma.DateTimeFilter<"ContractPhaseStepApproval"> | Date | string;
|
|
@@ -176,7 +177,7 @@ export type ContractPhaseStepApprovalWhereUniqueInput = Prisma.AtLeast<{
|
|
|
176
177
|
NOT?: Prisma.ContractPhaseStepApprovalWhereInput | Prisma.ContractPhaseStepApprovalWhereInput[];
|
|
177
178
|
stepId?: Prisma.StringFilter<"ContractPhaseStepApproval"> | string;
|
|
178
179
|
approverId?: Prisma.StringNullableFilter<"ContractPhaseStepApproval"> | string | null;
|
|
179
|
-
decision?: Prisma.
|
|
180
|
+
decision?: Prisma.EnumApprovalDecisionFilter<"ContractPhaseStepApproval"> | $Enums.ApprovalDecision;
|
|
180
181
|
comment?: Prisma.StringNullableFilter<"ContractPhaseStepApproval"> | string | null;
|
|
181
182
|
decidedAt?: Prisma.DateTimeFilter<"ContractPhaseStepApproval"> | Date | string;
|
|
182
183
|
createdAt?: Prisma.DateTimeFilter<"ContractPhaseStepApproval"> | Date | string;
|
|
@@ -202,14 +203,14 @@ export type ContractPhaseStepApprovalScalarWhereWithAggregatesInput = {
|
|
|
202
203
|
id?: Prisma.StringWithAggregatesFilter<"ContractPhaseStepApproval"> | string;
|
|
203
204
|
stepId?: Prisma.StringWithAggregatesFilter<"ContractPhaseStepApproval"> | string;
|
|
204
205
|
approverId?: Prisma.StringNullableWithAggregatesFilter<"ContractPhaseStepApproval"> | string | null;
|
|
205
|
-
decision?: Prisma.
|
|
206
|
+
decision?: Prisma.EnumApprovalDecisionWithAggregatesFilter<"ContractPhaseStepApproval"> | $Enums.ApprovalDecision;
|
|
206
207
|
comment?: Prisma.StringNullableWithAggregatesFilter<"ContractPhaseStepApproval"> | string | null;
|
|
207
208
|
decidedAt?: Prisma.DateTimeWithAggregatesFilter<"ContractPhaseStepApproval"> | Date | string;
|
|
208
209
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"ContractPhaseStepApproval"> | Date | string;
|
|
209
210
|
};
|
|
210
211
|
export type ContractPhaseStepApprovalCreateInput = {
|
|
211
212
|
id?: string;
|
|
212
|
-
decision:
|
|
213
|
+
decision: $Enums.ApprovalDecision;
|
|
213
214
|
comment?: string | null;
|
|
214
215
|
decidedAt?: Date | string;
|
|
215
216
|
createdAt?: Date | string;
|
|
@@ -220,14 +221,14 @@ export type ContractPhaseStepApprovalUncheckedCreateInput = {
|
|
|
220
221
|
id?: string;
|
|
221
222
|
stepId: string;
|
|
222
223
|
approverId?: string | null;
|
|
223
|
-
decision:
|
|
224
|
+
decision: $Enums.ApprovalDecision;
|
|
224
225
|
comment?: string | null;
|
|
225
226
|
decidedAt?: Date | string;
|
|
226
227
|
createdAt?: Date | string;
|
|
227
228
|
};
|
|
228
229
|
export type ContractPhaseStepApprovalUpdateInput = {
|
|
229
230
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
230
|
-
decision?: Prisma.
|
|
231
|
+
decision?: Prisma.EnumApprovalDecisionFieldUpdateOperationsInput | $Enums.ApprovalDecision;
|
|
231
232
|
comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
232
233
|
decidedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
233
234
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
@@ -238,7 +239,7 @@ export type ContractPhaseStepApprovalUncheckedUpdateInput = {
|
|
|
238
239
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
239
240
|
stepId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
240
241
|
approverId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
241
|
-
decision?: Prisma.
|
|
242
|
+
decision?: Prisma.EnumApprovalDecisionFieldUpdateOperationsInput | $Enums.ApprovalDecision;
|
|
242
243
|
comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
243
244
|
decidedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
244
245
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
@@ -247,14 +248,14 @@ export type ContractPhaseStepApprovalCreateManyInput = {
|
|
|
247
248
|
id?: string;
|
|
248
249
|
stepId: string;
|
|
249
250
|
approverId?: string | null;
|
|
250
|
-
decision:
|
|
251
|
+
decision: $Enums.ApprovalDecision;
|
|
251
252
|
comment?: string | null;
|
|
252
253
|
decidedAt?: Date | string;
|
|
253
254
|
createdAt?: Date | string;
|
|
254
255
|
};
|
|
255
256
|
export type ContractPhaseStepApprovalUpdateManyMutationInput = {
|
|
256
257
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
257
|
-
decision?: Prisma.
|
|
258
|
+
decision?: Prisma.EnumApprovalDecisionFieldUpdateOperationsInput | $Enums.ApprovalDecision;
|
|
258
259
|
comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
259
260
|
decidedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
260
261
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
@@ -263,7 +264,7 @@ export type ContractPhaseStepApprovalUncheckedUpdateManyInput = {
|
|
|
263
264
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
264
265
|
stepId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
265
266
|
approverId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
266
|
-
decision?: Prisma.
|
|
267
|
+
decision?: Prisma.EnumApprovalDecisionFieldUpdateOperationsInput | $Enums.ApprovalDecision;
|
|
267
268
|
comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
268
269
|
decidedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
269
270
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
@@ -384,9 +385,12 @@ export type ContractPhaseStepApprovalUncheckedUpdateManyWithoutStepNestedInput =
|
|
|
384
385
|
updateMany?: Prisma.ContractPhaseStepApprovalUpdateManyWithWhereWithoutStepInput | Prisma.ContractPhaseStepApprovalUpdateManyWithWhereWithoutStepInput[];
|
|
385
386
|
deleteMany?: Prisma.ContractPhaseStepApprovalScalarWhereInput | Prisma.ContractPhaseStepApprovalScalarWhereInput[];
|
|
386
387
|
};
|
|
388
|
+
export type EnumApprovalDecisionFieldUpdateOperationsInput = {
|
|
389
|
+
set?: $Enums.ApprovalDecision;
|
|
390
|
+
};
|
|
387
391
|
export type ContractPhaseStepApprovalCreateWithoutApproverInput = {
|
|
388
392
|
id?: string;
|
|
389
|
-
decision:
|
|
393
|
+
decision: $Enums.ApprovalDecision;
|
|
390
394
|
comment?: string | null;
|
|
391
395
|
decidedAt?: Date | string;
|
|
392
396
|
createdAt?: Date | string;
|
|
@@ -395,7 +399,7 @@ export type ContractPhaseStepApprovalCreateWithoutApproverInput = {
|
|
|
395
399
|
export type ContractPhaseStepApprovalUncheckedCreateWithoutApproverInput = {
|
|
396
400
|
id?: string;
|
|
397
401
|
stepId: string;
|
|
398
|
-
decision:
|
|
402
|
+
decision: $Enums.ApprovalDecision;
|
|
399
403
|
comment?: string | null;
|
|
400
404
|
decidedAt?: Date | string;
|
|
401
405
|
createdAt?: Date | string;
|
|
@@ -428,14 +432,14 @@ export type ContractPhaseStepApprovalScalarWhereInput = {
|
|
|
428
432
|
id?: Prisma.StringFilter<"ContractPhaseStepApproval"> | string;
|
|
429
433
|
stepId?: Prisma.StringFilter<"ContractPhaseStepApproval"> | string;
|
|
430
434
|
approverId?: Prisma.StringNullableFilter<"ContractPhaseStepApproval"> | string | null;
|
|
431
|
-
decision?: Prisma.
|
|
435
|
+
decision?: Prisma.EnumApprovalDecisionFilter<"ContractPhaseStepApproval"> | $Enums.ApprovalDecision;
|
|
432
436
|
comment?: Prisma.StringNullableFilter<"ContractPhaseStepApproval"> | string | null;
|
|
433
437
|
decidedAt?: Prisma.DateTimeFilter<"ContractPhaseStepApproval"> | Date | string;
|
|
434
438
|
createdAt?: Prisma.DateTimeFilter<"ContractPhaseStepApproval"> | Date | string;
|
|
435
439
|
};
|
|
436
440
|
export type ContractPhaseStepApprovalCreateWithoutStepInput = {
|
|
437
441
|
id?: string;
|
|
438
|
-
decision:
|
|
442
|
+
decision: $Enums.ApprovalDecision;
|
|
439
443
|
comment?: string | null;
|
|
440
444
|
decidedAt?: Date | string;
|
|
441
445
|
createdAt?: Date | string;
|
|
@@ -444,7 +448,7 @@ export type ContractPhaseStepApprovalCreateWithoutStepInput = {
|
|
|
444
448
|
export type ContractPhaseStepApprovalUncheckedCreateWithoutStepInput = {
|
|
445
449
|
id?: string;
|
|
446
450
|
approverId?: string | null;
|
|
447
|
-
decision:
|
|
451
|
+
decision: $Enums.ApprovalDecision;
|
|
448
452
|
comment?: string | null;
|
|
449
453
|
decidedAt?: Date | string;
|
|
450
454
|
createdAt?: Date | string;
|
|
@@ -473,14 +477,14 @@ export type ContractPhaseStepApprovalUpdateManyWithWhereWithoutStepInput = {
|
|
|
473
477
|
export type ContractPhaseStepApprovalCreateManyApproverInput = {
|
|
474
478
|
id?: string;
|
|
475
479
|
stepId: string;
|
|
476
|
-
decision:
|
|
480
|
+
decision: $Enums.ApprovalDecision;
|
|
477
481
|
comment?: string | null;
|
|
478
482
|
decidedAt?: Date | string;
|
|
479
483
|
createdAt?: Date | string;
|
|
480
484
|
};
|
|
481
485
|
export type ContractPhaseStepApprovalUpdateWithoutApproverInput = {
|
|
482
486
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
483
|
-
decision?: Prisma.
|
|
487
|
+
decision?: Prisma.EnumApprovalDecisionFieldUpdateOperationsInput | $Enums.ApprovalDecision;
|
|
484
488
|
comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
485
489
|
decidedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
486
490
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
@@ -489,7 +493,7 @@ export type ContractPhaseStepApprovalUpdateWithoutApproverInput = {
|
|
|
489
493
|
export type ContractPhaseStepApprovalUncheckedUpdateWithoutApproverInput = {
|
|
490
494
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
491
495
|
stepId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
492
|
-
decision?: Prisma.
|
|
496
|
+
decision?: Prisma.EnumApprovalDecisionFieldUpdateOperationsInput | $Enums.ApprovalDecision;
|
|
493
497
|
comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
494
498
|
decidedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
495
499
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
@@ -497,7 +501,7 @@ export type ContractPhaseStepApprovalUncheckedUpdateWithoutApproverInput = {
|
|
|
497
501
|
export type ContractPhaseStepApprovalUncheckedUpdateManyWithoutApproverInput = {
|
|
498
502
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
499
503
|
stepId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
500
|
-
decision?: Prisma.
|
|
504
|
+
decision?: Prisma.EnumApprovalDecisionFieldUpdateOperationsInput | $Enums.ApprovalDecision;
|
|
501
505
|
comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
502
506
|
decidedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
503
507
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
@@ -505,14 +509,14 @@ export type ContractPhaseStepApprovalUncheckedUpdateManyWithoutApproverInput = {
|
|
|
505
509
|
export type ContractPhaseStepApprovalCreateManyStepInput = {
|
|
506
510
|
id?: string;
|
|
507
511
|
approverId?: string | null;
|
|
508
|
-
decision:
|
|
512
|
+
decision: $Enums.ApprovalDecision;
|
|
509
513
|
comment?: string | null;
|
|
510
514
|
decidedAt?: Date | string;
|
|
511
515
|
createdAt?: Date | string;
|
|
512
516
|
};
|
|
513
517
|
export type ContractPhaseStepApprovalUpdateWithoutStepInput = {
|
|
514
518
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
515
|
-
decision?: Prisma.
|
|
519
|
+
decision?: Prisma.EnumApprovalDecisionFieldUpdateOperationsInput | $Enums.ApprovalDecision;
|
|
516
520
|
comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
517
521
|
decidedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
518
522
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
@@ -521,7 +525,7 @@ export type ContractPhaseStepApprovalUpdateWithoutStepInput = {
|
|
|
521
525
|
export type ContractPhaseStepApprovalUncheckedUpdateWithoutStepInput = {
|
|
522
526
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
523
527
|
approverId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
524
|
-
decision?: Prisma.
|
|
528
|
+
decision?: Prisma.EnumApprovalDecisionFieldUpdateOperationsInput | $Enums.ApprovalDecision;
|
|
525
529
|
comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
526
530
|
decidedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
527
531
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
@@ -529,7 +533,7 @@ export type ContractPhaseStepApprovalUncheckedUpdateWithoutStepInput = {
|
|
|
529
533
|
export type ContractPhaseStepApprovalUncheckedUpdateManyWithoutStepInput = {
|
|
530
534
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
531
535
|
approverId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
532
|
-
decision?: Prisma.
|
|
536
|
+
decision?: Prisma.EnumApprovalDecisionFieldUpdateOperationsInput | $Enums.ApprovalDecision;
|
|
533
537
|
comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
534
538
|
decidedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
535
539
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
@@ -569,7 +573,7 @@ export type $ContractPhaseStepApprovalPayload<ExtArgs extends runtime.Types.Exte
|
|
|
569
573
|
id: string;
|
|
570
574
|
stepId: string;
|
|
571
575
|
approverId: string | null;
|
|
572
|
-
decision:
|
|
576
|
+
decision: $Enums.ApprovalDecision;
|
|
573
577
|
comment: string | null;
|
|
574
578
|
decidedAt: Date;
|
|
575
579
|
createdAt: Date;
|
|
@@ -880,7 +884,7 @@ export interface ContractPhaseStepApprovalFieldRefs {
|
|
|
880
884
|
readonly id: Prisma.FieldRef<"ContractPhaseStepApproval", 'String'>;
|
|
881
885
|
readonly stepId: Prisma.FieldRef<"ContractPhaseStepApproval", 'String'>;
|
|
882
886
|
readonly approverId: Prisma.FieldRef<"ContractPhaseStepApproval", 'String'>;
|
|
883
|
-
readonly decision: Prisma.FieldRef<"ContractPhaseStepApproval", '
|
|
887
|
+
readonly decision: Prisma.FieldRef<"ContractPhaseStepApproval", 'ApprovalDecision'>;
|
|
884
888
|
readonly comment: Prisma.FieldRef<"ContractPhaseStepApproval", 'String'>;
|
|
885
889
|
readonly decidedAt: Prisma.FieldRef<"ContractPhaseStepApproval", 'DateTime'>;
|
|
886
890
|
readonly createdAt: Prisma.FieldRef<"ContractPhaseStepApproval", 'DateTime'>;
|