@valentine-efagene/qshelter-common 2.0.98 → 2.0.100
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 +90 -0
- package/dist/generated/client/enums.d.ts +26 -0
- package/dist/generated/client/enums.js +23 -0
- 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 +176 -1
- package/dist/generated/client/internal/prismaNamespace.js +95 -1
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +96 -0
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +95 -1
- package/dist/generated/client/models/Amenity.d.ts +183 -3
- package/dist/generated/client/models/ApplicationDocument.d.ts +183 -1
- package/dist/generated/client/models/ApplicationEvent.d.ts +190 -14
- package/dist/generated/client/models/ApplicationPayment.d.ts +225 -1
- package/dist/generated/client/models/ApplicationPhase.d.ts +272 -26
- package/dist/generated/client/models/DocumentationPhase.d.ts +224 -24
- package/dist/generated/client/models/DocumentationStep.d.ts +237 -1
- package/dist/generated/client/models/DocumentationStepApproval.d.ts +159 -1
- package/dist/generated/client/models/DocumentationStepDocument.d.ts +150 -10
- package/dist/generated/client/models/EventHandlerExecution.d.ts +208 -14
- package/dist/generated/client/models/PaymentInstallment.d.ts +228 -14
- package/dist/generated/client/models/PaymentMethodPhaseDocument.d.ts +178 -14
- package/dist/generated/client/models/PaymentMethodPhaseField.d.ts +208 -14
- package/dist/generated/client/models/PaymentMethodPhaseStep.d.ts +180 -14
- package/dist/generated/client/models/PaymentPhase.d.ts +214 -14
- package/dist/generated/client/models/PhaseEventAttachment.d.ts +178 -14
- package/dist/generated/client/models/PropertyAmenity.d.ts +145 -11
- package/dist/generated/client/models/PropertyDocument.d.ts +164 -12
- package/dist/generated/client/models/PropertyMedia.d.ts +183 -17
- package/dist/generated/client/models/PropertyPaymentMethodLink.d.ts +159 -13
- package/dist/generated/client/models/PropertyPaymentMethodPhase.d.ts +270 -14
- package/dist/generated/client/models/PropertyUnit.d.ts +230 -14
- package/dist/generated/client/models/PropertyVariant.d.ts +256 -14
- package/dist/generated/client/models/PropertyVariantAmenity.d.ts +145 -11
- package/dist/generated/client/models/PropertyVariantMedia.d.ts +171 -13
- package/dist/generated/client/models/QuestionnaireField.d.ts +232 -14
- package/dist/generated/client/models/QuestionnairePhase.d.ts +207 -1
- package/dist/generated/client/models/StepEventAttachment.d.ts +178 -14
- package/dist/generated/client/models/Tenant.d.ts +11653 -1153
- package/dist/generated/client/models/WorkflowBlocker.d.ts +1432 -0
- package/dist/generated/client/models/WorkflowBlocker.js +1 -0
- 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/dist/src/index.d.ts +1 -0
- package/dist/src/index.js +1 -0
- package/dist/src/middleware/auth-context.d.ts +63 -6
- package/dist/src/middleware/auth-context.js +132 -13
- package/dist/src/prisma/tenant.js +26 -32
- package/dist/src/types/action-status.d.ts +137 -0
- package/dist/src/types/action-status.js +402 -0
- package/package.json +1 -1
- package/prisma/migrations/20260113000000_remove_workflow_analytics_summary/migration.sql +5 -0
- package/prisma/migrations/20260113110450_add_tenant_id_to_child_models/migration.sql +334 -0
- package/prisma/schema.prisma +273 -60
|
@@ -27,6 +27,7 @@ export type ApplicationPaymentSumAggregateOutputType = {
|
|
|
27
27
|
};
|
|
28
28
|
export type ApplicationPaymentMinAggregateOutputType = {
|
|
29
29
|
id: string | null;
|
|
30
|
+
tenantId: string | null;
|
|
30
31
|
applicationId: string | null;
|
|
31
32
|
phaseId: string | null;
|
|
32
33
|
installmentId: string | null;
|
|
@@ -45,6 +46,7 @@ export type ApplicationPaymentMinAggregateOutputType = {
|
|
|
45
46
|
};
|
|
46
47
|
export type ApplicationPaymentMaxAggregateOutputType = {
|
|
47
48
|
id: string | null;
|
|
49
|
+
tenantId: string | null;
|
|
48
50
|
applicationId: string | null;
|
|
49
51
|
phaseId: string | null;
|
|
50
52
|
installmentId: string | null;
|
|
@@ -63,6 +65,7 @@ export type ApplicationPaymentMaxAggregateOutputType = {
|
|
|
63
65
|
};
|
|
64
66
|
export type ApplicationPaymentCountAggregateOutputType = {
|
|
65
67
|
id: number;
|
|
68
|
+
tenantId: number;
|
|
66
69
|
applicationId: number;
|
|
67
70
|
phaseId: number;
|
|
68
71
|
installmentId: number;
|
|
@@ -94,6 +97,7 @@ export type ApplicationPaymentSumAggregateInputType = {
|
|
|
94
97
|
};
|
|
95
98
|
export type ApplicationPaymentMinAggregateInputType = {
|
|
96
99
|
id?: true;
|
|
100
|
+
tenantId?: true;
|
|
97
101
|
applicationId?: true;
|
|
98
102
|
phaseId?: true;
|
|
99
103
|
installmentId?: true;
|
|
@@ -112,6 +116,7 @@ export type ApplicationPaymentMinAggregateInputType = {
|
|
|
112
116
|
};
|
|
113
117
|
export type ApplicationPaymentMaxAggregateInputType = {
|
|
114
118
|
id?: true;
|
|
119
|
+
tenantId?: true;
|
|
115
120
|
applicationId?: true;
|
|
116
121
|
phaseId?: true;
|
|
117
122
|
installmentId?: true;
|
|
@@ -130,6 +135,7 @@ export type ApplicationPaymentMaxAggregateInputType = {
|
|
|
130
135
|
};
|
|
131
136
|
export type ApplicationPaymentCountAggregateInputType = {
|
|
132
137
|
id?: true;
|
|
138
|
+
tenantId?: true;
|
|
133
139
|
applicationId?: true;
|
|
134
140
|
phaseId?: true;
|
|
135
141
|
installmentId?: true;
|
|
@@ -225,6 +231,7 @@ export type ApplicationPaymentGroupByArgs<ExtArgs extends runtime.Types.Extensio
|
|
|
225
231
|
};
|
|
226
232
|
export type ApplicationPaymentGroupByOutputType = {
|
|
227
233
|
id: string;
|
|
234
|
+
tenantId: string;
|
|
228
235
|
applicationId: string;
|
|
229
236
|
phaseId: string | null;
|
|
230
237
|
installmentId: string | null;
|
|
@@ -254,6 +261,7 @@ export type ApplicationPaymentWhereInput = {
|
|
|
254
261
|
OR?: Prisma.ApplicationPaymentWhereInput[];
|
|
255
262
|
NOT?: Prisma.ApplicationPaymentWhereInput | Prisma.ApplicationPaymentWhereInput[];
|
|
256
263
|
id?: Prisma.StringFilter<"ApplicationPayment"> | string;
|
|
264
|
+
tenantId?: Prisma.StringFilter<"ApplicationPayment"> | string;
|
|
257
265
|
applicationId?: Prisma.StringFilter<"ApplicationPayment"> | string;
|
|
258
266
|
phaseId?: Prisma.StringNullableFilter<"ApplicationPayment"> | string | null;
|
|
259
267
|
installmentId?: Prisma.StringNullableFilter<"ApplicationPayment"> | string | null;
|
|
@@ -269,6 +277,7 @@ export type ApplicationPaymentWhereInput = {
|
|
|
269
277
|
processedAt?: Prisma.DateTimeNullableFilter<"ApplicationPayment"> | Date | string | null;
|
|
270
278
|
createdAt?: Prisma.DateTimeFilter<"ApplicationPayment"> | Date | string;
|
|
271
279
|
updatedAt?: Prisma.DateTimeFilter<"ApplicationPayment"> | Date | string;
|
|
280
|
+
tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
|
|
272
281
|
application?: Prisma.XOR<Prisma.ApplicationScalarRelationFilter, Prisma.ApplicationWhereInput>;
|
|
273
282
|
phase?: Prisma.XOR<Prisma.ApplicationPhaseNullableScalarRelationFilter, Prisma.ApplicationPhaseWhereInput> | null;
|
|
274
283
|
installment?: Prisma.XOR<Prisma.PaymentInstallmentNullableScalarRelationFilter, Prisma.PaymentInstallmentWhereInput> | null;
|
|
@@ -276,6 +285,7 @@ export type ApplicationPaymentWhereInput = {
|
|
|
276
285
|
};
|
|
277
286
|
export type ApplicationPaymentOrderByWithRelationInput = {
|
|
278
287
|
id?: Prisma.SortOrder;
|
|
288
|
+
tenantId?: Prisma.SortOrder;
|
|
279
289
|
applicationId?: Prisma.SortOrder;
|
|
280
290
|
phaseId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
281
291
|
installmentId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
@@ -291,6 +301,7 @@ export type ApplicationPaymentOrderByWithRelationInput = {
|
|
|
291
301
|
processedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
292
302
|
createdAt?: Prisma.SortOrder;
|
|
293
303
|
updatedAt?: Prisma.SortOrder;
|
|
304
|
+
tenant?: Prisma.TenantOrderByWithRelationInput;
|
|
294
305
|
application?: Prisma.ApplicationOrderByWithRelationInput;
|
|
295
306
|
phase?: Prisma.ApplicationPhaseOrderByWithRelationInput;
|
|
296
307
|
installment?: Prisma.PaymentInstallmentOrderByWithRelationInput;
|
|
@@ -303,6 +314,7 @@ export type ApplicationPaymentWhereUniqueInput = Prisma.AtLeast<{
|
|
|
303
314
|
AND?: Prisma.ApplicationPaymentWhereInput | Prisma.ApplicationPaymentWhereInput[];
|
|
304
315
|
OR?: Prisma.ApplicationPaymentWhereInput[];
|
|
305
316
|
NOT?: Prisma.ApplicationPaymentWhereInput | Prisma.ApplicationPaymentWhereInput[];
|
|
317
|
+
tenantId?: Prisma.StringFilter<"ApplicationPayment"> | string;
|
|
306
318
|
applicationId?: Prisma.StringFilter<"ApplicationPayment"> | string;
|
|
307
319
|
phaseId?: Prisma.StringNullableFilter<"ApplicationPayment"> | string | null;
|
|
308
320
|
installmentId?: Prisma.StringNullableFilter<"ApplicationPayment"> | string | null;
|
|
@@ -317,6 +329,7 @@ export type ApplicationPaymentWhereUniqueInput = Prisma.AtLeast<{
|
|
|
317
329
|
processedAt?: Prisma.DateTimeNullableFilter<"ApplicationPayment"> | Date | string | null;
|
|
318
330
|
createdAt?: Prisma.DateTimeFilter<"ApplicationPayment"> | Date | string;
|
|
319
331
|
updatedAt?: Prisma.DateTimeFilter<"ApplicationPayment"> | Date | string;
|
|
332
|
+
tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
|
|
320
333
|
application?: Prisma.XOR<Prisma.ApplicationScalarRelationFilter, Prisma.ApplicationWhereInput>;
|
|
321
334
|
phase?: Prisma.XOR<Prisma.ApplicationPhaseNullableScalarRelationFilter, Prisma.ApplicationPhaseWhereInput> | null;
|
|
322
335
|
installment?: Prisma.XOR<Prisma.PaymentInstallmentNullableScalarRelationFilter, Prisma.PaymentInstallmentWhereInput> | null;
|
|
@@ -324,6 +337,7 @@ export type ApplicationPaymentWhereUniqueInput = Prisma.AtLeast<{
|
|
|
324
337
|
}, "id" | "reference">;
|
|
325
338
|
export type ApplicationPaymentOrderByWithAggregationInput = {
|
|
326
339
|
id?: Prisma.SortOrder;
|
|
340
|
+
tenantId?: Prisma.SortOrder;
|
|
327
341
|
applicationId?: Prisma.SortOrder;
|
|
328
342
|
phaseId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
329
343
|
installmentId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
@@ -350,6 +364,7 @@ export type ApplicationPaymentScalarWhereWithAggregatesInput = {
|
|
|
350
364
|
OR?: Prisma.ApplicationPaymentScalarWhereWithAggregatesInput[];
|
|
351
365
|
NOT?: Prisma.ApplicationPaymentScalarWhereWithAggregatesInput | Prisma.ApplicationPaymentScalarWhereWithAggregatesInput[];
|
|
352
366
|
id?: Prisma.StringWithAggregatesFilter<"ApplicationPayment"> | string;
|
|
367
|
+
tenantId?: Prisma.StringWithAggregatesFilter<"ApplicationPayment"> | string;
|
|
353
368
|
applicationId?: Prisma.StringWithAggregatesFilter<"ApplicationPayment"> | string;
|
|
354
369
|
phaseId?: Prisma.StringNullableWithAggregatesFilter<"ApplicationPayment"> | string | null;
|
|
355
370
|
installmentId?: Prisma.StringNullableWithAggregatesFilter<"ApplicationPayment"> | string | null;
|
|
@@ -379,6 +394,7 @@ export type ApplicationPaymentCreateInput = {
|
|
|
379
394
|
processedAt?: Date | string | null;
|
|
380
395
|
createdAt?: Date | string;
|
|
381
396
|
updatedAt?: Date | string;
|
|
397
|
+
tenant: Prisma.TenantCreateNestedOneWithoutApplicationPaymentsInput;
|
|
382
398
|
application: Prisma.ApplicationCreateNestedOneWithoutPaymentsInput;
|
|
383
399
|
phase?: Prisma.ApplicationPhaseCreateNestedOneWithoutPaymentsInput;
|
|
384
400
|
installment?: Prisma.PaymentInstallmentCreateNestedOneWithoutPaymentsInput;
|
|
@@ -386,6 +402,7 @@ export type ApplicationPaymentCreateInput = {
|
|
|
386
402
|
};
|
|
387
403
|
export type ApplicationPaymentUncheckedCreateInput = {
|
|
388
404
|
id?: string;
|
|
405
|
+
tenantId: string;
|
|
389
406
|
applicationId: string;
|
|
390
407
|
phaseId?: string | null;
|
|
391
408
|
installmentId?: string | null;
|
|
@@ -415,6 +432,7 @@ export type ApplicationPaymentUpdateInput = {
|
|
|
415
432
|
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
416
433
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
417
434
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
435
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutApplicationPaymentsNestedInput;
|
|
418
436
|
application?: Prisma.ApplicationUpdateOneRequiredWithoutPaymentsNestedInput;
|
|
419
437
|
phase?: Prisma.ApplicationPhaseUpdateOneWithoutPaymentsNestedInput;
|
|
420
438
|
installment?: Prisma.PaymentInstallmentUpdateOneWithoutPaymentsNestedInput;
|
|
@@ -422,6 +440,7 @@ export type ApplicationPaymentUpdateInput = {
|
|
|
422
440
|
};
|
|
423
441
|
export type ApplicationPaymentUncheckedUpdateInput = {
|
|
424
442
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
443
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
425
444
|
applicationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
426
445
|
phaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
427
446
|
installmentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -440,6 +459,7 @@ export type ApplicationPaymentUncheckedUpdateInput = {
|
|
|
440
459
|
};
|
|
441
460
|
export type ApplicationPaymentCreateManyInput = {
|
|
442
461
|
id?: string;
|
|
462
|
+
tenantId: string;
|
|
443
463
|
applicationId: string;
|
|
444
464
|
phaseId?: string | null;
|
|
445
465
|
installmentId?: string | null;
|
|
@@ -472,6 +492,7 @@ export type ApplicationPaymentUpdateManyMutationInput = {
|
|
|
472
492
|
};
|
|
473
493
|
export type ApplicationPaymentUncheckedUpdateManyInput = {
|
|
474
494
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
495
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
475
496
|
applicationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
476
497
|
phaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
477
498
|
installmentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -503,6 +524,7 @@ export type ApplicationPaymentOrderByRelevanceInput = {
|
|
|
503
524
|
};
|
|
504
525
|
export type ApplicationPaymentCountOrderByAggregateInput = {
|
|
505
526
|
id?: Prisma.SortOrder;
|
|
527
|
+
tenantId?: Prisma.SortOrder;
|
|
506
528
|
applicationId?: Prisma.SortOrder;
|
|
507
529
|
phaseId?: Prisma.SortOrder;
|
|
508
530
|
installmentId?: Prisma.SortOrder;
|
|
@@ -527,6 +549,7 @@ export type ApplicationPaymentAvgOrderByAggregateInput = {
|
|
|
527
549
|
};
|
|
528
550
|
export type ApplicationPaymentMaxOrderByAggregateInput = {
|
|
529
551
|
id?: Prisma.SortOrder;
|
|
552
|
+
tenantId?: Prisma.SortOrder;
|
|
530
553
|
applicationId?: Prisma.SortOrder;
|
|
531
554
|
phaseId?: Prisma.SortOrder;
|
|
532
555
|
installmentId?: Prisma.SortOrder;
|
|
@@ -545,6 +568,7 @@ export type ApplicationPaymentMaxOrderByAggregateInput = {
|
|
|
545
568
|
};
|
|
546
569
|
export type ApplicationPaymentMinOrderByAggregateInput = {
|
|
547
570
|
id?: Prisma.SortOrder;
|
|
571
|
+
tenantId?: Prisma.SortOrder;
|
|
548
572
|
applicationId?: Prisma.SortOrder;
|
|
549
573
|
phaseId?: Prisma.SortOrder;
|
|
550
574
|
installmentId?: Prisma.SortOrder;
|
|
@@ -605,6 +629,44 @@ export type ApplicationPaymentUncheckedUpdateManyWithoutPayerNestedInput = {
|
|
|
605
629
|
updateMany?: Prisma.ApplicationPaymentUpdateManyWithWhereWithoutPayerInput | Prisma.ApplicationPaymentUpdateManyWithWhereWithoutPayerInput[];
|
|
606
630
|
deleteMany?: Prisma.ApplicationPaymentScalarWhereInput | Prisma.ApplicationPaymentScalarWhereInput[];
|
|
607
631
|
};
|
|
632
|
+
export type ApplicationPaymentCreateNestedManyWithoutTenantInput = {
|
|
633
|
+
create?: Prisma.XOR<Prisma.ApplicationPaymentCreateWithoutTenantInput, Prisma.ApplicationPaymentUncheckedCreateWithoutTenantInput> | Prisma.ApplicationPaymentCreateWithoutTenantInput[] | Prisma.ApplicationPaymentUncheckedCreateWithoutTenantInput[];
|
|
634
|
+
connectOrCreate?: Prisma.ApplicationPaymentCreateOrConnectWithoutTenantInput | Prisma.ApplicationPaymentCreateOrConnectWithoutTenantInput[];
|
|
635
|
+
createMany?: Prisma.ApplicationPaymentCreateManyTenantInputEnvelope;
|
|
636
|
+
connect?: Prisma.ApplicationPaymentWhereUniqueInput | Prisma.ApplicationPaymentWhereUniqueInput[];
|
|
637
|
+
};
|
|
638
|
+
export type ApplicationPaymentUncheckedCreateNestedManyWithoutTenantInput = {
|
|
639
|
+
create?: Prisma.XOR<Prisma.ApplicationPaymentCreateWithoutTenantInput, Prisma.ApplicationPaymentUncheckedCreateWithoutTenantInput> | Prisma.ApplicationPaymentCreateWithoutTenantInput[] | Prisma.ApplicationPaymentUncheckedCreateWithoutTenantInput[];
|
|
640
|
+
connectOrCreate?: Prisma.ApplicationPaymentCreateOrConnectWithoutTenantInput | Prisma.ApplicationPaymentCreateOrConnectWithoutTenantInput[];
|
|
641
|
+
createMany?: Prisma.ApplicationPaymentCreateManyTenantInputEnvelope;
|
|
642
|
+
connect?: Prisma.ApplicationPaymentWhereUniqueInput | Prisma.ApplicationPaymentWhereUniqueInput[];
|
|
643
|
+
};
|
|
644
|
+
export type ApplicationPaymentUpdateManyWithoutTenantNestedInput = {
|
|
645
|
+
create?: Prisma.XOR<Prisma.ApplicationPaymentCreateWithoutTenantInput, Prisma.ApplicationPaymentUncheckedCreateWithoutTenantInput> | Prisma.ApplicationPaymentCreateWithoutTenantInput[] | Prisma.ApplicationPaymentUncheckedCreateWithoutTenantInput[];
|
|
646
|
+
connectOrCreate?: Prisma.ApplicationPaymentCreateOrConnectWithoutTenantInput | Prisma.ApplicationPaymentCreateOrConnectWithoutTenantInput[];
|
|
647
|
+
upsert?: Prisma.ApplicationPaymentUpsertWithWhereUniqueWithoutTenantInput | Prisma.ApplicationPaymentUpsertWithWhereUniqueWithoutTenantInput[];
|
|
648
|
+
createMany?: Prisma.ApplicationPaymentCreateManyTenantInputEnvelope;
|
|
649
|
+
set?: Prisma.ApplicationPaymentWhereUniqueInput | Prisma.ApplicationPaymentWhereUniqueInput[];
|
|
650
|
+
disconnect?: Prisma.ApplicationPaymentWhereUniqueInput | Prisma.ApplicationPaymentWhereUniqueInput[];
|
|
651
|
+
delete?: Prisma.ApplicationPaymentWhereUniqueInput | Prisma.ApplicationPaymentWhereUniqueInput[];
|
|
652
|
+
connect?: Prisma.ApplicationPaymentWhereUniqueInput | Prisma.ApplicationPaymentWhereUniqueInput[];
|
|
653
|
+
update?: Prisma.ApplicationPaymentUpdateWithWhereUniqueWithoutTenantInput | Prisma.ApplicationPaymentUpdateWithWhereUniqueWithoutTenantInput[];
|
|
654
|
+
updateMany?: Prisma.ApplicationPaymentUpdateManyWithWhereWithoutTenantInput | Prisma.ApplicationPaymentUpdateManyWithWhereWithoutTenantInput[];
|
|
655
|
+
deleteMany?: Prisma.ApplicationPaymentScalarWhereInput | Prisma.ApplicationPaymentScalarWhereInput[];
|
|
656
|
+
};
|
|
657
|
+
export type ApplicationPaymentUncheckedUpdateManyWithoutTenantNestedInput = {
|
|
658
|
+
create?: Prisma.XOR<Prisma.ApplicationPaymentCreateWithoutTenantInput, Prisma.ApplicationPaymentUncheckedCreateWithoutTenantInput> | Prisma.ApplicationPaymentCreateWithoutTenantInput[] | Prisma.ApplicationPaymentUncheckedCreateWithoutTenantInput[];
|
|
659
|
+
connectOrCreate?: Prisma.ApplicationPaymentCreateOrConnectWithoutTenantInput | Prisma.ApplicationPaymentCreateOrConnectWithoutTenantInput[];
|
|
660
|
+
upsert?: Prisma.ApplicationPaymentUpsertWithWhereUniqueWithoutTenantInput | Prisma.ApplicationPaymentUpsertWithWhereUniqueWithoutTenantInput[];
|
|
661
|
+
createMany?: Prisma.ApplicationPaymentCreateManyTenantInputEnvelope;
|
|
662
|
+
set?: Prisma.ApplicationPaymentWhereUniqueInput | Prisma.ApplicationPaymentWhereUniqueInput[];
|
|
663
|
+
disconnect?: Prisma.ApplicationPaymentWhereUniqueInput | Prisma.ApplicationPaymentWhereUniqueInput[];
|
|
664
|
+
delete?: Prisma.ApplicationPaymentWhereUniqueInput | Prisma.ApplicationPaymentWhereUniqueInput[];
|
|
665
|
+
connect?: Prisma.ApplicationPaymentWhereUniqueInput | Prisma.ApplicationPaymentWhereUniqueInput[];
|
|
666
|
+
update?: Prisma.ApplicationPaymentUpdateWithWhereUniqueWithoutTenantInput | Prisma.ApplicationPaymentUpdateWithWhereUniqueWithoutTenantInput[];
|
|
667
|
+
updateMany?: Prisma.ApplicationPaymentUpdateManyWithWhereWithoutTenantInput | Prisma.ApplicationPaymentUpdateManyWithWhereWithoutTenantInput[];
|
|
668
|
+
deleteMany?: Prisma.ApplicationPaymentScalarWhereInput | Prisma.ApplicationPaymentScalarWhereInput[];
|
|
669
|
+
};
|
|
608
670
|
export type ApplicationPaymentCreateNestedManyWithoutApplicationInput = {
|
|
609
671
|
create?: Prisma.XOR<Prisma.ApplicationPaymentCreateWithoutApplicationInput, Prisma.ApplicationPaymentUncheckedCreateWithoutApplicationInput> | Prisma.ApplicationPaymentCreateWithoutApplicationInput[] | Prisma.ApplicationPaymentUncheckedCreateWithoutApplicationInput[];
|
|
610
672
|
connectOrCreate?: Prisma.ApplicationPaymentCreateOrConnectWithoutApplicationInput | Prisma.ApplicationPaymentCreateOrConnectWithoutApplicationInput[];
|
|
@@ -735,12 +797,14 @@ export type ApplicationPaymentCreateWithoutPayerInput = {
|
|
|
735
797
|
processedAt?: Date | string | null;
|
|
736
798
|
createdAt?: Date | string;
|
|
737
799
|
updatedAt?: Date | string;
|
|
800
|
+
tenant: Prisma.TenantCreateNestedOneWithoutApplicationPaymentsInput;
|
|
738
801
|
application: Prisma.ApplicationCreateNestedOneWithoutPaymentsInput;
|
|
739
802
|
phase?: Prisma.ApplicationPhaseCreateNestedOneWithoutPaymentsInput;
|
|
740
803
|
installment?: Prisma.PaymentInstallmentCreateNestedOneWithoutPaymentsInput;
|
|
741
804
|
};
|
|
742
805
|
export type ApplicationPaymentUncheckedCreateWithoutPayerInput = {
|
|
743
806
|
id?: string;
|
|
807
|
+
tenantId: string;
|
|
744
808
|
applicationId: string;
|
|
745
809
|
phaseId?: string | null;
|
|
746
810
|
installmentId?: string | null;
|
|
@@ -782,6 +846,7 @@ export type ApplicationPaymentScalarWhereInput = {
|
|
|
782
846
|
OR?: Prisma.ApplicationPaymentScalarWhereInput[];
|
|
783
847
|
NOT?: Prisma.ApplicationPaymentScalarWhereInput | Prisma.ApplicationPaymentScalarWhereInput[];
|
|
784
848
|
id?: Prisma.StringFilter<"ApplicationPayment"> | string;
|
|
849
|
+
tenantId?: Prisma.StringFilter<"ApplicationPayment"> | string;
|
|
785
850
|
applicationId?: Prisma.StringFilter<"ApplicationPayment"> | string;
|
|
786
851
|
phaseId?: Prisma.StringNullableFilter<"ApplicationPayment"> | string | null;
|
|
787
852
|
installmentId?: Prisma.StringNullableFilter<"ApplicationPayment"> | string | null;
|
|
@@ -798,6 +863,63 @@ export type ApplicationPaymentScalarWhereInput = {
|
|
|
798
863
|
createdAt?: Prisma.DateTimeFilter<"ApplicationPayment"> | Date | string;
|
|
799
864
|
updatedAt?: Prisma.DateTimeFilter<"ApplicationPayment"> | Date | string;
|
|
800
865
|
};
|
|
866
|
+
export type ApplicationPaymentCreateWithoutTenantInput = {
|
|
867
|
+
id?: string;
|
|
868
|
+
amount: number;
|
|
869
|
+
principalAmount?: number;
|
|
870
|
+
interestAmount?: number;
|
|
871
|
+
lateFeeAmount?: number;
|
|
872
|
+
paymentMethod: string;
|
|
873
|
+
status?: $Enums.PaymentStatus;
|
|
874
|
+
reference?: string | null;
|
|
875
|
+
gatewayResponse?: string | null;
|
|
876
|
+
processedAt?: Date | string | null;
|
|
877
|
+
createdAt?: Date | string;
|
|
878
|
+
updatedAt?: Date | string;
|
|
879
|
+
application: Prisma.ApplicationCreateNestedOneWithoutPaymentsInput;
|
|
880
|
+
phase?: Prisma.ApplicationPhaseCreateNestedOneWithoutPaymentsInput;
|
|
881
|
+
installment?: Prisma.PaymentInstallmentCreateNestedOneWithoutPaymentsInput;
|
|
882
|
+
payer?: Prisma.UserCreateNestedOneWithoutApplicationPaymentsInput;
|
|
883
|
+
};
|
|
884
|
+
export type ApplicationPaymentUncheckedCreateWithoutTenantInput = {
|
|
885
|
+
id?: string;
|
|
886
|
+
applicationId: string;
|
|
887
|
+
phaseId?: string | null;
|
|
888
|
+
installmentId?: string | null;
|
|
889
|
+
payerId?: string | null;
|
|
890
|
+
amount: number;
|
|
891
|
+
principalAmount?: number;
|
|
892
|
+
interestAmount?: number;
|
|
893
|
+
lateFeeAmount?: number;
|
|
894
|
+
paymentMethod: string;
|
|
895
|
+
status?: $Enums.PaymentStatus;
|
|
896
|
+
reference?: string | null;
|
|
897
|
+
gatewayResponse?: string | null;
|
|
898
|
+
processedAt?: Date | string | null;
|
|
899
|
+
createdAt?: Date | string;
|
|
900
|
+
updatedAt?: Date | string;
|
|
901
|
+
};
|
|
902
|
+
export type ApplicationPaymentCreateOrConnectWithoutTenantInput = {
|
|
903
|
+
where: Prisma.ApplicationPaymentWhereUniqueInput;
|
|
904
|
+
create: Prisma.XOR<Prisma.ApplicationPaymentCreateWithoutTenantInput, Prisma.ApplicationPaymentUncheckedCreateWithoutTenantInput>;
|
|
905
|
+
};
|
|
906
|
+
export type ApplicationPaymentCreateManyTenantInputEnvelope = {
|
|
907
|
+
data: Prisma.ApplicationPaymentCreateManyTenantInput | Prisma.ApplicationPaymentCreateManyTenantInput[];
|
|
908
|
+
skipDuplicates?: boolean;
|
|
909
|
+
};
|
|
910
|
+
export type ApplicationPaymentUpsertWithWhereUniqueWithoutTenantInput = {
|
|
911
|
+
where: Prisma.ApplicationPaymentWhereUniqueInput;
|
|
912
|
+
update: Prisma.XOR<Prisma.ApplicationPaymentUpdateWithoutTenantInput, Prisma.ApplicationPaymentUncheckedUpdateWithoutTenantInput>;
|
|
913
|
+
create: Prisma.XOR<Prisma.ApplicationPaymentCreateWithoutTenantInput, Prisma.ApplicationPaymentUncheckedCreateWithoutTenantInput>;
|
|
914
|
+
};
|
|
915
|
+
export type ApplicationPaymentUpdateWithWhereUniqueWithoutTenantInput = {
|
|
916
|
+
where: Prisma.ApplicationPaymentWhereUniqueInput;
|
|
917
|
+
data: Prisma.XOR<Prisma.ApplicationPaymentUpdateWithoutTenantInput, Prisma.ApplicationPaymentUncheckedUpdateWithoutTenantInput>;
|
|
918
|
+
};
|
|
919
|
+
export type ApplicationPaymentUpdateManyWithWhereWithoutTenantInput = {
|
|
920
|
+
where: Prisma.ApplicationPaymentScalarWhereInput;
|
|
921
|
+
data: Prisma.XOR<Prisma.ApplicationPaymentUpdateManyMutationInput, Prisma.ApplicationPaymentUncheckedUpdateManyWithoutTenantInput>;
|
|
922
|
+
};
|
|
801
923
|
export type ApplicationPaymentCreateWithoutApplicationInput = {
|
|
802
924
|
id?: string;
|
|
803
925
|
amount: number;
|
|
@@ -811,12 +933,14 @@ export type ApplicationPaymentCreateWithoutApplicationInput = {
|
|
|
811
933
|
processedAt?: Date | string | null;
|
|
812
934
|
createdAt?: Date | string;
|
|
813
935
|
updatedAt?: Date | string;
|
|
936
|
+
tenant: Prisma.TenantCreateNestedOneWithoutApplicationPaymentsInput;
|
|
814
937
|
phase?: Prisma.ApplicationPhaseCreateNestedOneWithoutPaymentsInput;
|
|
815
938
|
installment?: Prisma.PaymentInstallmentCreateNestedOneWithoutPaymentsInput;
|
|
816
939
|
payer?: Prisma.UserCreateNestedOneWithoutApplicationPaymentsInput;
|
|
817
940
|
};
|
|
818
941
|
export type ApplicationPaymentUncheckedCreateWithoutApplicationInput = {
|
|
819
942
|
id?: string;
|
|
943
|
+
tenantId: string;
|
|
820
944
|
phaseId?: string | null;
|
|
821
945
|
installmentId?: string | null;
|
|
822
946
|
payerId?: string | null;
|
|
@@ -866,12 +990,14 @@ export type ApplicationPaymentCreateWithoutPhaseInput = {
|
|
|
866
990
|
processedAt?: Date | string | null;
|
|
867
991
|
createdAt?: Date | string;
|
|
868
992
|
updatedAt?: Date | string;
|
|
993
|
+
tenant: Prisma.TenantCreateNestedOneWithoutApplicationPaymentsInput;
|
|
869
994
|
application: Prisma.ApplicationCreateNestedOneWithoutPaymentsInput;
|
|
870
995
|
installment?: Prisma.PaymentInstallmentCreateNestedOneWithoutPaymentsInput;
|
|
871
996
|
payer?: Prisma.UserCreateNestedOneWithoutApplicationPaymentsInput;
|
|
872
997
|
};
|
|
873
998
|
export type ApplicationPaymentUncheckedCreateWithoutPhaseInput = {
|
|
874
999
|
id?: string;
|
|
1000
|
+
tenantId: string;
|
|
875
1001
|
applicationId: string;
|
|
876
1002
|
installmentId?: string | null;
|
|
877
1003
|
payerId?: string | null;
|
|
@@ -921,12 +1047,14 @@ export type ApplicationPaymentCreateWithoutInstallmentInput = {
|
|
|
921
1047
|
processedAt?: Date | string | null;
|
|
922
1048
|
createdAt?: Date | string;
|
|
923
1049
|
updatedAt?: Date | string;
|
|
1050
|
+
tenant: Prisma.TenantCreateNestedOneWithoutApplicationPaymentsInput;
|
|
924
1051
|
application: Prisma.ApplicationCreateNestedOneWithoutPaymentsInput;
|
|
925
1052
|
phase?: Prisma.ApplicationPhaseCreateNestedOneWithoutPaymentsInput;
|
|
926
1053
|
payer?: Prisma.UserCreateNestedOneWithoutApplicationPaymentsInput;
|
|
927
1054
|
};
|
|
928
1055
|
export type ApplicationPaymentUncheckedCreateWithoutInstallmentInput = {
|
|
929
1056
|
id?: string;
|
|
1057
|
+
tenantId: string;
|
|
930
1058
|
applicationId: string;
|
|
931
1059
|
phaseId?: string | null;
|
|
932
1060
|
payerId?: string | null;
|
|
@@ -965,6 +1093,7 @@ export type ApplicationPaymentUpdateManyWithWhereWithoutInstallmentInput = {
|
|
|
965
1093
|
};
|
|
966
1094
|
export type ApplicationPaymentCreateManyPayerInput = {
|
|
967
1095
|
id?: string;
|
|
1096
|
+
tenantId: string;
|
|
968
1097
|
applicationId: string;
|
|
969
1098
|
phaseId?: string | null;
|
|
970
1099
|
installmentId?: string | null;
|
|
@@ -993,12 +1122,14 @@ export type ApplicationPaymentUpdateWithoutPayerInput = {
|
|
|
993
1122
|
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
994
1123
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
995
1124
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1125
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutApplicationPaymentsNestedInput;
|
|
996
1126
|
application?: Prisma.ApplicationUpdateOneRequiredWithoutPaymentsNestedInput;
|
|
997
1127
|
phase?: Prisma.ApplicationPhaseUpdateOneWithoutPaymentsNestedInput;
|
|
998
1128
|
installment?: Prisma.PaymentInstallmentUpdateOneWithoutPaymentsNestedInput;
|
|
999
1129
|
};
|
|
1000
1130
|
export type ApplicationPaymentUncheckedUpdateWithoutPayerInput = {
|
|
1001
1131
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1132
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1002
1133
|
applicationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1003
1134
|
phaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1004
1135
|
installmentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -1015,10 +1146,83 @@ export type ApplicationPaymentUncheckedUpdateWithoutPayerInput = {
|
|
|
1015
1146
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1016
1147
|
};
|
|
1017
1148
|
export type ApplicationPaymentUncheckedUpdateManyWithoutPayerInput = {
|
|
1149
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1150
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1151
|
+
applicationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1152
|
+
phaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1153
|
+
installmentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1154
|
+
amount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1155
|
+
principalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1156
|
+
interestAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1157
|
+
lateFeeAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1158
|
+
paymentMethod?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1159
|
+
status?: Prisma.EnumPaymentStatusFieldUpdateOperationsInput | $Enums.PaymentStatus;
|
|
1160
|
+
reference?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1161
|
+
gatewayResponse?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1162
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1163
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1164
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1165
|
+
};
|
|
1166
|
+
export type ApplicationPaymentCreateManyTenantInput = {
|
|
1167
|
+
id?: string;
|
|
1168
|
+
applicationId: string;
|
|
1169
|
+
phaseId?: string | null;
|
|
1170
|
+
installmentId?: string | null;
|
|
1171
|
+
payerId?: string | null;
|
|
1172
|
+
amount: number;
|
|
1173
|
+
principalAmount?: number;
|
|
1174
|
+
interestAmount?: number;
|
|
1175
|
+
lateFeeAmount?: number;
|
|
1176
|
+
paymentMethod: string;
|
|
1177
|
+
status?: $Enums.PaymentStatus;
|
|
1178
|
+
reference?: string | null;
|
|
1179
|
+
gatewayResponse?: string | null;
|
|
1180
|
+
processedAt?: Date | string | null;
|
|
1181
|
+
createdAt?: Date | string;
|
|
1182
|
+
updatedAt?: Date | string;
|
|
1183
|
+
};
|
|
1184
|
+
export type ApplicationPaymentUpdateWithoutTenantInput = {
|
|
1185
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1186
|
+
amount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1187
|
+
principalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1188
|
+
interestAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1189
|
+
lateFeeAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1190
|
+
paymentMethod?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1191
|
+
status?: Prisma.EnumPaymentStatusFieldUpdateOperationsInput | $Enums.PaymentStatus;
|
|
1192
|
+
reference?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1193
|
+
gatewayResponse?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1194
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1195
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1196
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1197
|
+
application?: Prisma.ApplicationUpdateOneRequiredWithoutPaymentsNestedInput;
|
|
1198
|
+
phase?: Prisma.ApplicationPhaseUpdateOneWithoutPaymentsNestedInput;
|
|
1199
|
+
installment?: Prisma.PaymentInstallmentUpdateOneWithoutPaymentsNestedInput;
|
|
1200
|
+
payer?: Prisma.UserUpdateOneWithoutApplicationPaymentsNestedInput;
|
|
1201
|
+
};
|
|
1202
|
+
export type ApplicationPaymentUncheckedUpdateWithoutTenantInput = {
|
|
1203
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1204
|
+
applicationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1205
|
+
phaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1206
|
+
installmentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1207
|
+
payerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1208
|
+
amount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1209
|
+
principalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1210
|
+
interestAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1211
|
+
lateFeeAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1212
|
+
paymentMethod?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1213
|
+
status?: Prisma.EnumPaymentStatusFieldUpdateOperationsInput | $Enums.PaymentStatus;
|
|
1214
|
+
reference?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1215
|
+
gatewayResponse?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1216
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1217
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1218
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1219
|
+
};
|
|
1220
|
+
export type ApplicationPaymentUncheckedUpdateManyWithoutTenantInput = {
|
|
1018
1221
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1019
1222
|
applicationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1020
1223
|
phaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1021
1224
|
installmentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1225
|
+
payerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1022
1226
|
amount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1023
1227
|
principalAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
1024
1228
|
interestAmount?: Prisma.FloatFieldUpdateOperationsInput | number;
|
|
@@ -1033,6 +1237,7 @@ export type ApplicationPaymentUncheckedUpdateManyWithoutPayerInput = {
|
|
|
1033
1237
|
};
|
|
1034
1238
|
export type ApplicationPaymentCreateManyApplicationInput = {
|
|
1035
1239
|
id?: string;
|
|
1240
|
+
tenantId: string;
|
|
1036
1241
|
phaseId?: string | null;
|
|
1037
1242
|
installmentId?: string | null;
|
|
1038
1243
|
payerId?: string | null;
|
|
@@ -1061,12 +1266,14 @@ export type ApplicationPaymentUpdateWithoutApplicationInput = {
|
|
|
1061
1266
|
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1062
1267
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1063
1268
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1269
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutApplicationPaymentsNestedInput;
|
|
1064
1270
|
phase?: Prisma.ApplicationPhaseUpdateOneWithoutPaymentsNestedInput;
|
|
1065
1271
|
installment?: Prisma.PaymentInstallmentUpdateOneWithoutPaymentsNestedInput;
|
|
1066
1272
|
payer?: Prisma.UserUpdateOneWithoutApplicationPaymentsNestedInput;
|
|
1067
1273
|
};
|
|
1068
1274
|
export type ApplicationPaymentUncheckedUpdateWithoutApplicationInput = {
|
|
1069
1275
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1276
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1070
1277
|
phaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1071
1278
|
installmentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1072
1279
|
payerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -1084,6 +1291,7 @@ export type ApplicationPaymentUncheckedUpdateWithoutApplicationInput = {
|
|
|
1084
1291
|
};
|
|
1085
1292
|
export type ApplicationPaymentUncheckedUpdateManyWithoutApplicationInput = {
|
|
1086
1293
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1294
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1087
1295
|
phaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1088
1296
|
installmentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1089
1297
|
payerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -1101,6 +1309,7 @@ export type ApplicationPaymentUncheckedUpdateManyWithoutApplicationInput = {
|
|
|
1101
1309
|
};
|
|
1102
1310
|
export type ApplicationPaymentCreateManyPhaseInput = {
|
|
1103
1311
|
id?: string;
|
|
1312
|
+
tenantId: string;
|
|
1104
1313
|
applicationId: string;
|
|
1105
1314
|
installmentId?: string | null;
|
|
1106
1315
|
payerId?: string | null;
|
|
@@ -1129,12 +1338,14 @@ export type ApplicationPaymentUpdateWithoutPhaseInput = {
|
|
|
1129
1338
|
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1130
1339
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1131
1340
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1341
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutApplicationPaymentsNestedInput;
|
|
1132
1342
|
application?: Prisma.ApplicationUpdateOneRequiredWithoutPaymentsNestedInput;
|
|
1133
1343
|
installment?: Prisma.PaymentInstallmentUpdateOneWithoutPaymentsNestedInput;
|
|
1134
1344
|
payer?: Prisma.UserUpdateOneWithoutApplicationPaymentsNestedInput;
|
|
1135
1345
|
};
|
|
1136
1346
|
export type ApplicationPaymentUncheckedUpdateWithoutPhaseInput = {
|
|
1137
1347
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1348
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1138
1349
|
applicationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1139
1350
|
installmentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1140
1351
|
payerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -1152,6 +1363,7 @@ export type ApplicationPaymentUncheckedUpdateWithoutPhaseInput = {
|
|
|
1152
1363
|
};
|
|
1153
1364
|
export type ApplicationPaymentUncheckedUpdateManyWithoutPhaseInput = {
|
|
1154
1365
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1366
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1155
1367
|
applicationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1156
1368
|
installmentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1157
1369
|
payerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -1169,6 +1381,7 @@ export type ApplicationPaymentUncheckedUpdateManyWithoutPhaseInput = {
|
|
|
1169
1381
|
};
|
|
1170
1382
|
export type ApplicationPaymentCreateManyInstallmentInput = {
|
|
1171
1383
|
id?: string;
|
|
1384
|
+
tenantId: string;
|
|
1172
1385
|
applicationId: string;
|
|
1173
1386
|
phaseId?: string | null;
|
|
1174
1387
|
payerId?: string | null;
|
|
@@ -1197,12 +1410,14 @@ export type ApplicationPaymentUpdateWithoutInstallmentInput = {
|
|
|
1197
1410
|
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1198
1411
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1199
1412
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1413
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutApplicationPaymentsNestedInput;
|
|
1200
1414
|
application?: Prisma.ApplicationUpdateOneRequiredWithoutPaymentsNestedInput;
|
|
1201
1415
|
phase?: Prisma.ApplicationPhaseUpdateOneWithoutPaymentsNestedInput;
|
|
1202
1416
|
payer?: Prisma.UserUpdateOneWithoutApplicationPaymentsNestedInput;
|
|
1203
1417
|
};
|
|
1204
1418
|
export type ApplicationPaymentUncheckedUpdateWithoutInstallmentInput = {
|
|
1205
1419
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1420
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1206
1421
|
applicationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1207
1422
|
phaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1208
1423
|
payerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -1220,6 +1435,7 @@ export type ApplicationPaymentUncheckedUpdateWithoutInstallmentInput = {
|
|
|
1220
1435
|
};
|
|
1221
1436
|
export type ApplicationPaymentUncheckedUpdateManyWithoutInstallmentInput = {
|
|
1222
1437
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1438
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1223
1439
|
applicationId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1224
1440
|
phaseId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1225
1441
|
payerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -1237,6 +1453,7 @@ export type ApplicationPaymentUncheckedUpdateManyWithoutInstallmentInput = {
|
|
|
1237
1453
|
};
|
|
1238
1454
|
export type ApplicationPaymentSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1239
1455
|
id?: boolean;
|
|
1456
|
+
tenantId?: boolean;
|
|
1240
1457
|
applicationId?: boolean;
|
|
1241
1458
|
phaseId?: boolean;
|
|
1242
1459
|
installmentId?: boolean;
|
|
@@ -1252,6 +1469,7 @@ export type ApplicationPaymentSelect<ExtArgs extends runtime.Types.Extensions.In
|
|
|
1252
1469
|
processedAt?: boolean;
|
|
1253
1470
|
createdAt?: boolean;
|
|
1254
1471
|
updatedAt?: boolean;
|
|
1472
|
+
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
|
|
1255
1473
|
application?: boolean | Prisma.ApplicationDefaultArgs<ExtArgs>;
|
|
1256
1474
|
phase?: boolean | Prisma.ApplicationPayment$phaseArgs<ExtArgs>;
|
|
1257
1475
|
installment?: boolean | Prisma.ApplicationPayment$installmentArgs<ExtArgs>;
|
|
@@ -1259,6 +1477,7 @@ export type ApplicationPaymentSelect<ExtArgs extends runtime.Types.Extensions.In
|
|
|
1259
1477
|
}, ExtArgs["result"]["applicationPayment"]>;
|
|
1260
1478
|
export type ApplicationPaymentSelectScalar = {
|
|
1261
1479
|
id?: boolean;
|
|
1480
|
+
tenantId?: boolean;
|
|
1262
1481
|
applicationId?: boolean;
|
|
1263
1482
|
phaseId?: boolean;
|
|
1264
1483
|
installmentId?: boolean;
|
|
@@ -1275,8 +1494,9 @@ export type ApplicationPaymentSelectScalar = {
|
|
|
1275
1494
|
createdAt?: boolean;
|
|
1276
1495
|
updatedAt?: boolean;
|
|
1277
1496
|
};
|
|
1278
|
-
export type ApplicationPaymentOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "applicationId" | "phaseId" | "installmentId" | "payerId" | "amount" | "principalAmount" | "interestAmount" | "lateFeeAmount" | "paymentMethod" | "status" | "reference" | "gatewayResponse" | "processedAt" | "createdAt" | "updatedAt", ExtArgs["result"]["applicationPayment"]>;
|
|
1497
|
+
export type ApplicationPaymentOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "applicationId" | "phaseId" | "installmentId" | "payerId" | "amount" | "principalAmount" | "interestAmount" | "lateFeeAmount" | "paymentMethod" | "status" | "reference" | "gatewayResponse" | "processedAt" | "createdAt" | "updatedAt", ExtArgs["result"]["applicationPayment"]>;
|
|
1279
1498
|
export type ApplicationPaymentInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1499
|
+
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
|
|
1280
1500
|
application?: boolean | Prisma.ApplicationDefaultArgs<ExtArgs>;
|
|
1281
1501
|
phase?: boolean | Prisma.ApplicationPayment$phaseArgs<ExtArgs>;
|
|
1282
1502
|
installment?: boolean | Prisma.ApplicationPayment$installmentArgs<ExtArgs>;
|
|
@@ -1285,6 +1505,7 @@ export type ApplicationPaymentInclude<ExtArgs extends runtime.Types.Extensions.I
|
|
|
1285
1505
|
export type $ApplicationPaymentPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1286
1506
|
name: "ApplicationPayment";
|
|
1287
1507
|
objects: {
|
|
1508
|
+
tenant: Prisma.$TenantPayload<ExtArgs>;
|
|
1288
1509
|
application: Prisma.$ApplicationPayload<ExtArgs>;
|
|
1289
1510
|
phase: Prisma.$ApplicationPhasePayload<ExtArgs> | null;
|
|
1290
1511
|
installment: Prisma.$PaymentInstallmentPayload<ExtArgs> | null;
|
|
@@ -1292,6 +1513,7 @@ export type $ApplicationPaymentPayload<ExtArgs extends runtime.Types.Extensions.
|
|
|
1292
1513
|
};
|
|
1293
1514
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
1294
1515
|
id: string;
|
|
1516
|
+
tenantId: string;
|
|
1295
1517
|
applicationId: string;
|
|
1296
1518
|
phaseId: string | null;
|
|
1297
1519
|
installmentId: string | null;
|
|
@@ -1584,6 +1806,7 @@ export interface ApplicationPaymentDelegate<ExtArgs extends runtime.Types.Extens
|
|
|
1584
1806
|
*/
|
|
1585
1807
|
export interface Prisma__ApplicationPaymentClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1586
1808
|
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1809
|
+
tenant<T extends Prisma.TenantDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.TenantDefaultArgs<ExtArgs>>): Prisma.Prisma__TenantClient<runtime.Types.Result.GetResult<Prisma.$TenantPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1587
1810
|
application<T extends Prisma.ApplicationDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ApplicationDefaultArgs<ExtArgs>>): Prisma.Prisma__ApplicationClient<runtime.Types.Result.GetResult<Prisma.$ApplicationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1588
1811
|
phase<T extends Prisma.ApplicationPayment$phaseArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ApplicationPayment$phaseArgs<ExtArgs>>): Prisma.Prisma__ApplicationPhaseClient<runtime.Types.Result.GetResult<Prisma.$ApplicationPhasePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1589
1812
|
installment<T extends Prisma.ApplicationPayment$installmentArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ApplicationPayment$installmentArgs<ExtArgs>>): Prisma.Prisma__PaymentInstallmentClient<runtime.Types.Result.GetResult<Prisma.$PaymentInstallmentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
@@ -1614,6 +1837,7 @@ export interface Prisma__ApplicationPaymentClient<T, Null = never, ExtArgs exten
|
|
|
1614
1837
|
*/
|
|
1615
1838
|
export interface ApplicationPaymentFieldRefs {
|
|
1616
1839
|
readonly id: Prisma.FieldRef<"ApplicationPayment", 'String'>;
|
|
1840
|
+
readonly tenantId: Prisma.FieldRef<"ApplicationPayment", 'String'>;
|
|
1617
1841
|
readonly applicationId: Prisma.FieldRef<"ApplicationPayment", 'String'>;
|
|
1618
1842
|
readonly phaseId: Prisma.FieldRef<"ApplicationPayment", 'String'>;
|
|
1619
1843
|
readonly installmentId: Prisma.FieldRef<"ApplicationPayment", 'String'>;
|