@valentine-efagene/qshelter-common 2.0.22 → 2.0.25
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/internal/class.js +2 -2
- package/dist/generated/client/internal/prismaNamespace.d.ts +8 -0
- package/dist/generated/client/internal/prismaNamespace.js +8 -0
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +8 -0
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +8 -0
- package/dist/generated/client/models/Contract.d.ts +343 -1
- package/dist/generated/client/models/PaymentPlan.d.ts +236 -3
- package/dist/generated/client/models/Property.d.ts +277 -1
- package/dist/generated/client/models/PropertyPaymentMethod.d.ts +218 -2
- package/dist/generated/client/models/Tenant.d.ts +482 -0
- package/dist/src/index.d.ts +2 -0
- package/dist/src/index.js +2 -0
- package/dist/src/middleware/error-handler.d.ts +6 -0
- package/dist/src/middleware/error-handler.js +26 -0
- package/dist/src/middleware/index.d.ts +3 -0
- package/dist/src/middleware/index.js +3 -0
- package/dist/src/middleware/request-logger.d.ts +6 -0
- package/dist/src/middleware/request-logger.js +17 -0
- package/dist/src/middleware/tenant.d.ts +76 -0
- package/dist/src/middleware/tenant.js +88 -0
- package/dist/src/prisma/tenant.d.ts +51 -0
- package/dist/src/prisma/tenant.js +211 -0
- package/package.json +16 -2
- package/prisma/migrations/20251230104059_add_property_variants/migration.sql +622 -0
- package/prisma/migrations/20251230113413_add_multitenancy/migration.sql +54 -0
- package/prisma/schema.prisma +23 -3
|
@@ -20,6 +20,7 @@ export type PropertyPaymentMethodSumAggregateOutputType = {
|
|
|
20
20
|
};
|
|
21
21
|
export type PropertyPaymentMethodMinAggregateOutputType = {
|
|
22
22
|
id: string | null;
|
|
23
|
+
tenantId: string | null;
|
|
23
24
|
name: string | null;
|
|
24
25
|
description: string | null;
|
|
25
26
|
isActive: boolean | null;
|
|
@@ -32,6 +33,7 @@ export type PropertyPaymentMethodMinAggregateOutputType = {
|
|
|
32
33
|
};
|
|
33
34
|
export type PropertyPaymentMethodMaxAggregateOutputType = {
|
|
34
35
|
id: string | null;
|
|
36
|
+
tenantId: string | null;
|
|
35
37
|
name: string | null;
|
|
36
38
|
description: string | null;
|
|
37
39
|
isActive: boolean | null;
|
|
@@ -44,6 +46,7 @@ export type PropertyPaymentMethodMaxAggregateOutputType = {
|
|
|
44
46
|
};
|
|
45
47
|
export type PropertyPaymentMethodCountAggregateOutputType = {
|
|
46
48
|
id: number;
|
|
49
|
+
tenantId: number;
|
|
47
50
|
name: number;
|
|
48
51
|
description: number;
|
|
49
52
|
isActive: number;
|
|
@@ -63,6 +66,7 @@ export type PropertyPaymentMethodSumAggregateInputType = {
|
|
|
63
66
|
};
|
|
64
67
|
export type PropertyPaymentMethodMinAggregateInputType = {
|
|
65
68
|
id?: true;
|
|
69
|
+
tenantId?: true;
|
|
66
70
|
name?: true;
|
|
67
71
|
description?: true;
|
|
68
72
|
isActive?: true;
|
|
@@ -75,6 +79,7 @@ export type PropertyPaymentMethodMinAggregateInputType = {
|
|
|
75
79
|
};
|
|
76
80
|
export type PropertyPaymentMethodMaxAggregateInputType = {
|
|
77
81
|
id?: true;
|
|
82
|
+
tenantId?: true;
|
|
78
83
|
name?: true;
|
|
79
84
|
description?: true;
|
|
80
85
|
isActive?: true;
|
|
@@ -87,6 +92,7 @@ export type PropertyPaymentMethodMaxAggregateInputType = {
|
|
|
87
92
|
};
|
|
88
93
|
export type PropertyPaymentMethodCountAggregateInputType = {
|
|
89
94
|
id?: true;
|
|
95
|
+
tenantId?: true;
|
|
90
96
|
name?: true;
|
|
91
97
|
description?: true;
|
|
92
98
|
isActive?: true;
|
|
@@ -176,6 +182,7 @@ export type PropertyPaymentMethodGroupByArgs<ExtArgs extends runtime.Types.Exten
|
|
|
176
182
|
};
|
|
177
183
|
export type PropertyPaymentMethodGroupByOutputType = {
|
|
178
184
|
id: string;
|
|
185
|
+
tenantId: string;
|
|
179
186
|
name: string;
|
|
180
187
|
description: string | null;
|
|
181
188
|
isActive: boolean;
|
|
@@ -199,6 +206,7 @@ export type PropertyPaymentMethodWhereInput = {
|
|
|
199
206
|
OR?: Prisma.PropertyPaymentMethodWhereInput[];
|
|
200
207
|
NOT?: Prisma.PropertyPaymentMethodWhereInput | Prisma.PropertyPaymentMethodWhereInput[];
|
|
201
208
|
id?: Prisma.StringFilter<"PropertyPaymentMethod"> | string;
|
|
209
|
+
tenantId?: Prisma.StringFilter<"PropertyPaymentMethod"> | string;
|
|
202
210
|
name?: Prisma.StringFilter<"PropertyPaymentMethod"> | string;
|
|
203
211
|
description?: Prisma.StringNullableFilter<"PropertyPaymentMethod"> | string | null;
|
|
204
212
|
isActive?: Prisma.BoolFilter<"PropertyPaymentMethod"> | boolean;
|
|
@@ -208,12 +216,14 @@ export type PropertyPaymentMethodWhereInput = {
|
|
|
208
216
|
requiresManualApproval?: Prisma.BoolFilter<"PropertyPaymentMethod"> | boolean;
|
|
209
217
|
createdAt?: Prisma.DateTimeFilter<"PropertyPaymentMethod"> | Date | string;
|
|
210
218
|
updatedAt?: Prisma.DateTimeFilter<"PropertyPaymentMethod"> | Date | string;
|
|
219
|
+
tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
|
|
211
220
|
properties?: Prisma.PropertyPaymentMethodLinkListRelationFilter;
|
|
212
221
|
phases?: Prisma.PropertyPaymentMethodPhaseListRelationFilter;
|
|
213
222
|
contracts?: Prisma.ContractListRelationFilter;
|
|
214
223
|
};
|
|
215
224
|
export type PropertyPaymentMethodOrderByWithRelationInput = {
|
|
216
225
|
id?: Prisma.SortOrder;
|
|
226
|
+
tenantId?: Prisma.SortOrder;
|
|
217
227
|
name?: Prisma.SortOrder;
|
|
218
228
|
description?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
219
229
|
isActive?: Prisma.SortOrder;
|
|
@@ -223,6 +233,7 @@ export type PropertyPaymentMethodOrderByWithRelationInput = {
|
|
|
223
233
|
requiresManualApproval?: Prisma.SortOrder;
|
|
224
234
|
createdAt?: Prisma.SortOrder;
|
|
225
235
|
updatedAt?: Prisma.SortOrder;
|
|
236
|
+
tenant?: Prisma.TenantOrderByWithRelationInput;
|
|
226
237
|
properties?: Prisma.PropertyPaymentMethodLinkOrderByRelationAggregateInput;
|
|
227
238
|
phases?: Prisma.PropertyPaymentMethodPhaseOrderByRelationAggregateInput;
|
|
228
239
|
contracts?: Prisma.ContractOrderByRelationAggregateInput;
|
|
@@ -230,9 +241,11 @@ export type PropertyPaymentMethodOrderByWithRelationInput = {
|
|
|
230
241
|
};
|
|
231
242
|
export type PropertyPaymentMethodWhereUniqueInput = Prisma.AtLeast<{
|
|
232
243
|
id?: string;
|
|
244
|
+
tenantId_name?: Prisma.PropertyPaymentMethodTenantIdNameCompoundUniqueInput;
|
|
233
245
|
AND?: Prisma.PropertyPaymentMethodWhereInput | Prisma.PropertyPaymentMethodWhereInput[];
|
|
234
246
|
OR?: Prisma.PropertyPaymentMethodWhereInput[];
|
|
235
247
|
NOT?: Prisma.PropertyPaymentMethodWhereInput | Prisma.PropertyPaymentMethodWhereInput[];
|
|
248
|
+
tenantId?: Prisma.StringFilter<"PropertyPaymentMethod"> | string;
|
|
236
249
|
name?: Prisma.StringFilter<"PropertyPaymentMethod"> | string;
|
|
237
250
|
description?: Prisma.StringNullableFilter<"PropertyPaymentMethod"> | string | null;
|
|
238
251
|
isActive?: Prisma.BoolFilter<"PropertyPaymentMethod"> | boolean;
|
|
@@ -242,12 +255,14 @@ export type PropertyPaymentMethodWhereUniqueInput = Prisma.AtLeast<{
|
|
|
242
255
|
requiresManualApproval?: Prisma.BoolFilter<"PropertyPaymentMethod"> | boolean;
|
|
243
256
|
createdAt?: Prisma.DateTimeFilter<"PropertyPaymentMethod"> | Date | string;
|
|
244
257
|
updatedAt?: Prisma.DateTimeFilter<"PropertyPaymentMethod"> | Date | string;
|
|
258
|
+
tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
|
|
245
259
|
properties?: Prisma.PropertyPaymentMethodLinkListRelationFilter;
|
|
246
260
|
phases?: Prisma.PropertyPaymentMethodPhaseListRelationFilter;
|
|
247
261
|
contracts?: Prisma.ContractListRelationFilter;
|
|
248
|
-
}, "id">;
|
|
262
|
+
}, "id" | "tenantId_name">;
|
|
249
263
|
export type PropertyPaymentMethodOrderByWithAggregationInput = {
|
|
250
264
|
id?: Prisma.SortOrder;
|
|
265
|
+
tenantId?: Prisma.SortOrder;
|
|
251
266
|
name?: Prisma.SortOrder;
|
|
252
267
|
description?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
253
268
|
isActive?: Prisma.SortOrder;
|
|
@@ -268,6 +283,7 @@ export type PropertyPaymentMethodScalarWhereWithAggregatesInput = {
|
|
|
268
283
|
OR?: Prisma.PropertyPaymentMethodScalarWhereWithAggregatesInput[];
|
|
269
284
|
NOT?: Prisma.PropertyPaymentMethodScalarWhereWithAggregatesInput | Prisma.PropertyPaymentMethodScalarWhereWithAggregatesInput[];
|
|
270
285
|
id?: Prisma.StringWithAggregatesFilter<"PropertyPaymentMethod"> | string;
|
|
286
|
+
tenantId?: Prisma.StringWithAggregatesFilter<"PropertyPaymentMethod"> | string;
|
|
271
287
|
name?: Prisma.StringWithAggregatesFilter<"PropertyPaymentMethod"> | string;
|
|
272
288
|
description?: Prisma.StringNullableWithAggregatesFilter<"PropertyPaymentMethod"> | string | null;
|
|
273
289
|
isActive?: Prisma.BoolWithAggregatesFilter<"PropertyPaymentMethod"> | boolean;
|
|
@@ -289,12 +305,14 @@ export type PropertyPaymentMethodCreateInput = {
|
|
|
289
305
|
requiresManualApproval?: boolean;
|
|
290
306
|
createdAt?: Date | string;
|
|
291
307
|
updatedAt?: Date | string;
|
|
308
|
+
tenant: Prisma.TenantCreateNestedOneWithoutPaymentMethodsInput;
|
|
292
309
|
properties?: Prisma.PropertyPaymentMethodLinkCreateNestedManyWithoutPaymentMethodInput;
|
|
293
310
|
phases?: Prisma.PropertyPaymentMethodPhaseCreateNestedManyWithoutPaymentMethodInput;
|
|
294
311
|
contracts?: Prisma.ContractCreateNestedManyWithoutPaymentMethodInput;
|
|
295
312
|
};
|
|
296
313
|
export type PropertyPaymentMethodUncheckedCreateInput = {
|
|
297
314
|
id?: string;
|
|
315
|
+
tenantId: string;
|
|
298
316
|
name: string;
|
|
299
317
|
description?: string | null;
|
|
300
318
|
isActive?: boolean;
|
|
@@ -319,12 +337,14 @@ export type PropertyPaymentMethodUpdateInput = {
|
|
|
319
337
|
requiresManualApproval?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
320
338
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
321
339
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
340
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutPaymentMethodsNestedInput;
|
|
322
341
|
properties?: Prisma.PropertyPaymentMethodLinkUpdateManyWithoutPaymentMethodNestedInput;
|
|
323
342
|
phases?: Prisma.PropertyPaymentMethodPhaseUpdateManyWithoutPaymentMethodNestedInput;
|
|
324
343
|
contracts?: Prisma.ContractUpdateManyWithoutPaymentMethodNestedInput;
|
|
325
344
|
};
|
|
326
345
|
export type PropertyPaymentMethodUncheckedUpdateInput = {
|
|
327
346
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
347
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
328
348
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
329
349
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
330
350
|
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
@@ -340,6 +360,7 @@ export type PropertyPaymentMethodUncheckedUpdateInput = {
|
|
|
340
360
|
};
|
|
341
361
|
export type PropertyPaymentMethodCreateManyInput = {
|
|
342
362
|
id?: string;
|
|
363
|
+
tenantId: string;
|
|
343
364
|
name: string;
|
|
344
365
|
description?: string | null;
|
|
345
366
|
isActive?: boolean;
|
|
@@ -364,6 +385,7 @@ export type PropertyPaymentMethodUpdateManyMutationInput = {
|
|
|
364
385
|
};
|
|
365
386
|
export type PropertyPaymentMethodUncheckedUpdateManyInput = {
|
|
366
387
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
388
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
367
389
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
368
390
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
369
391
|
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
@@ -374,13 +396,26 @@ export type PropertyPaymentMethodUncheckedUpdateManyInput = {
|
|
|
374
396
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
375
397
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
376
398
|
};
|
|
399
|
+
export type PropertyPaymentMethodListRelationFilter = {
|
|
400
|
+
every?: Prisma.PropertyPaymentMethodWhereInput;
|
|
401
|
+
some?: Prisma.PropertyPaymentMethodWhereInput;
|
|
402
|
+
none?: Prisma.PropertyPaymentMethodWhereInput;
|
|
403
|
+
};
|
|
404
|
+
export type PropertyPaymentMethodOrderByRelationAggregateInput = {
|
|
405
|
+
_count?: Prisma.SortOrder;
|
|
406
|
+
};
|
|
377
407
|
export type PropertyPaymentMethodOrderByRelevanceInput = {
|
|
378
408
|
fields: Prisma.PropertyPaymentMethodOrderByRelevanceFieldEnum | Prisma.PropertyPaymentMethodOrderByRelevanceFieldEnum[];
|
|
379
409
|
sort: Prisma.SortOrder;
|
|
380
410
|
search: string;
|
|
381
411
|
};
|
|
412
|
+
export type PropertyPaymentMethodTenantIdNameCompoundUniqueInput = {
|
|
413
|
+
tenantId: string;
|
|
414
|
+
name: string;
|
|
415
|
+
};
|
|
382
416
|
export type PropertyPaymentMethodCountOrderByAggregateInput = {
|
|
383
417
|
id?: Prisma.SortOrder;
|
|
418
|
+
tenantId?: Prisma.SortOrder;
|
|
384
419
|
name?: Prisma.SortOrder;
|
|
385
420
|
description?: Prisma.SortOrder;
|
|
386
421
|
isActive?: Prisma.SortOrder;
|
|
@@ -396,6 +431,7 @@ export type PropertyPaymentMethodAvgOrderByAggregateInput = {
|
|
|
396
431
|
};
|
|
397
432
|
export type PropertyPaymentMethodMaxOrderByAggregateInput = {
|
|
398
433
|
id?: Prisma.SortOrder;
|
|
434
|
+
tenantId?: Prisma.SortOrder;
|
|
399
435
|
name?: Prisma.SortOrder;
|
|
400
436
|
description?: Prisma.SortOrder;
|
|
401
437
|
isActive?: Prisma.SortOrder;
|
|
@@ -408,6 +444,7 @@ export type PropertyPaymentMethodMaxOrderByAggregateInput = {
|
|
|
408
444
|
};
|
|
409
445
|
export type PropertyPaymentMethodMinOrderByAggregateInput = {
|
|
410
446
|
id?: Prisma.SortOrder;
|
|
447
|
+
tenantId?: Prisma.SortOrder;
|
|
411
448
|
name?: Prisma.SortOrder;
|
|
412
449
|
description?: Prisma.SortOrder;
|
|
413
450
|
isActive?: Prisma.SortOrder;
|
|
@@ -429,6 +466,44 @@ export type PropertyPaymentMethodNullableScalarRelationFilter = {
|
|
|
429
466
|
is?: Prisma.PropertyPaymentMethodWhereInput | null;
|
|
430
467
|
isNot?: Prisma.PropertyPaymentMethodWhereInput | null;
|
|
431
468
|
};
|
|
469
|
+
export type PropertyPaymentMethodCreateNestedManyWithoutTenantInput = {
|
|
470
|
+
create?: Prisma.XOR<Prisma.PropertyPaymentMethodCreateWithoutTenantInput, Prisma.PropertyPaymentMethodUncheckedCreateWithoutTenantInput> | Prisma.PropertyPaymentMethodCreateWithoutTenantInput[] | Prisma.PropertyPaymentMethodUncheckedCreateWithoutTenantInput[];
|
|
471
|
+
connectOrCreate?: Prisma.PropertyPaymentMethodCreateOrConnectWithoutTenantInput | Prisma.PropertyPaymentMethodCreateOrConnectWithoutTenantInput[];
|
|
472
|
+
createMany?: Prisma.PropertyPaymentMethodCreateManyTenantInputEnvelope;
|
|
473
|
+
connect?: Prisma.PropertyPaymentMethodWhereUniqueInput | Prisma.PropertyPaymentMethodWhereUniqueInput[];
|
|
474
|
+
};
|
|
475
|
+
export type PropertyPaymentMethodUncheckedCreateNestedManyWithoutTenantInput = {
|
|
476
|
+
create?: Prisma.XOR<Prisma.PropertyPaymentMethodCreateWithoutTenantInput, Prisma.PropertyPaymentMethodUncheckedCreateWithoutTenantInput> | Prisma.PropertyPaymentMethodCreateWithoutTenantInput[] | Prisma.PropertyPaymentMethodUncheckedCreateWithoutTenantInput[];
|
|
477
|
+
connectOrCreate?: Prisma.PropertyPaymentMethodCreateOrConnectWithoutTenantInput | Prisma.PropertyPaymentMethodCreateOrConnectWithoutTenantInput[];
|
|
478
|
+
createMany?: Prisma.PropertyPaymentMethodCreateManyTenantInputEnvelope;
|
|
479
|
+
connect?: Prisma.PropertyPaymentMethodWhereUniqueInput | Prisma.PropertyPaymentMethodWhereUniqueInput[];
|
|
480
|
+
};
|
|
481
|
+
export type PropertyPaymentMethodUpdateManyWithoutTenantNestedInput = {
|
|
482
|
+
create?: Prisma.XOR<Prisma.PropertyPaymentMethodCreateWithoutTenantInput, Prisma.PropertyPaymentMethodUncheckedCreateWithoutTenantInput> | Prisma.PropertyPaymentMethodCreateWithoutTenantInput[] | Prisma.PropertyPaymentMethodUncheckedCreateWithoutTenantInput[];
|
|
483
|
+
connectOrCreate?: Prisma.PropertyPaymentMethodCreateOrConnectWithoutTenantInput | Prisma.PropertyPaymentMethodCreateOrConnectWithoutTenantInput[];
|
|
484
|
+
upsert?: Prisma.PropertyPaymentMethodUpsertWithWhereUniqueWithoutTenantInput | Prisma.PropertyPaymentMethodUpsertWithWhereUniqueWithoutTenantInput[];
|
|
485
|
+
createMany?: Prisma.PropertyPaymentMethodCreateManyTenantInputEnvelope;
|
|
486
|
+
set?: Prisma.PropertyPaymentMethodWhereUniqueInput | Prisma.PropertyPaymentMethodWhereUniqueInput[];
|
|
487
|
+
disconnect?: Prisma.PropertyPaymentMethodWhereUniqueInput | Prisma.PropertyPaymentMethodWhereUniqueInput[];
|
|
488
|
+
delete?: Prisma.PropertyPaymentMethodWhereUniqueInput | Prisma.PropertyPaymentMethodWhereUniqueInput[];
|
|
489
|
+
connect?: Prisma.PropertyPaymentMethodWhereUniqueInput | Prisma.PropertyPaymentMethodWhereUniqueInput[];
|
|
490
|
+
update?: Prisma.PropertyPaymentMethodUpdateWithWhereUniqueWithoutTenantInput | Prisma.PropertyPaymentMethodUpdateWithWhereUniqueWithoutTenantInput[];
|
|
491
|
+
updateMany?: Prisma.PropertyPaymentMethodUpdateManyWithWhereWithoutTenantInput | Prisma.PropertyPaymentMethodUpdateManyWithWhereWithoutTenantInput[];
|
|
492
|
+
deleteMany?: Prisma.PropertyPaymentMethodScalarWhereInput | Prisma.PropertyPaymentMethodScalarWhereInput[];
|
|
493
|
+
};
|
|
494
|
+
export type PropertyPaymentMethodUncheckedUpdateManyWithoutTenantNestedInput = {
|
|
495
|
+
create?: Prisma.XOR<Prisma.PropertyPaymentMethodCreateWithoutTenantInput, Prisma.PropertyPaymentMethodUncheckedCreateWithoutTenantInput> | Prisma.PropertyPaymentMethodCreateWithoutTenantInput[] | Prisma.PropertyPaymentMethodUncheckedCreateWithoutTenantInput[];
|
|
496
|
+
connectOrCreate?: Prisma.PropertyPaymentMethodCreateOrConnectWithoutTenantInput | Prisma.PropertyPaymentMethodCreateOrConnectWithoutTenantInput[];
|
|
497
|
+
upsert?: Prisma.PropertyPaymentMethodUpsertWithWhereUniqueWithoutTenantInput | Prisma.PropertyPaymentMethodUpsertWithWhereUniqueWithoutTenantInput[];
|
|
498
|
+
createMany?: Prisma.PropertyPaymentMethodCreateManyTenantInputEnvelope;
|
|
499
|
+
set?: Prisma.PropertyPaymentMethodWhereUniqueInput | Prisma.PropertyPaymentMethodWhereUniqueInput[];
|
|
500
|
+
disconnect?: Prisma.PropertyPaymentMethodWhereUniqueInput | Prisma.PropertyPaymentMethodWhereUniqueInput[];
|
|
501
|
+
delete?: Prisma.PropertyPaymentMethodWhereUniqueInput | Prisma.PropertyPaymentMethodWhereUniqueInput[];
|
|
502
|
+
connect?: Prisma.PropertyPaymentMethodWhereUniqueInput | Prisma.PropertyPaymentMethodWhereUniqueInput[];
|
|
503
|
+
update?: Prisma.PropertyPaymentMethodUpdateWithWhereUniqueWithoutTenantInput | Prisma.PropertyPaymentMethodUpdateWithWhereUniqueWithoutTenantInput[];
|
|
504
|
+
updateMany?: Prisma.PropertyPaymentMethodUpdateManyWithWhereWithoutTenantInput | Prisma.PropertyPaymentMethodUpdateManyWithWhereWithoutTenantInput[];
|
|
505
|
+
deleteMany?: Prisma.PropertyPaymentMethodScalarWhereInput | Prisma.PropertyPaymentMethodScalarWhereInput[];
|
|
506
|
+
};
|
|
432
507
|
export type PropertyPaymentMethodCreateNestedOneWithoutPropertiesInput = {
|
|
433
508
|
create?: Prisma.XOR<Prisma.PropertyPaymentMethodCreateWithoutPropertiesInput, Prisma.PropertyPaymentMethodUncheckedCreateWithoutPropertiesInput>;
|
|
434
509
|
connectOrCreate?: Prisma.PropertyPaymentMethodCreateOrConnectWithoutPropertiesInput;
|
|
@@ -467,6 +542,73 @@ export type PropertyPaymentMethodUpdateOneWithoutContractsNestedInput = {
|
|
|
467
542
|
connect?: Prisma.PropertyPaymentMethodWhereUniqueInput;
|
|
468
543
|
update?: Prisma.XOR<Prisma.XOR<Prisma.PropertyPaymentMethodUpdateToOneWithWhereWithoutContractsInput, Prisma.PropertyPaymentMethodUpdateWithoutContractsInput>, Prisma.PropertyPaymentMethodUncheckedUpdateWithoutContractsInput>;
|
|
469
544
|
};
|
|
545
|
+
export type PropertyPaymentMethodCreateWithoutTenantInput = {
|
|
546
|
+
id?: string;
|
|
547
|
+
name: string;
|
|
548
|
+
description?: string | null;
|
|
549
|
+
isActive?: boolean;
|
|
550
|
+
allowEarlyPayoff?: boolean;
|
|
551
|
+
earlyPayoffPenaltyRate?: number | null;
|
|
552
|
+
autoActivatePhases?: boolean;
|
|
553
|
+
requiresManualApproval?: boolean;
|
|
554
|
+
createdAt?: Date | string;
|
|
555
|
+
updatedAt?: Date | string;
|
|
556
|
+
properties?: Prisma.PropertyPaymentMethodLinkCreateNestedManyWithoutPaymentMethodInput;
|
|
557
|
+
phases?: Prisma.PropertyPaymentMethodPhaseCreateNestedManyWithoutPaymentMethodInput;
|
|
558
|
+
contracts?: Prisma.ContractCreateNestedManyWithoutPaymentMethodInput;
|
|
559
|
+
};
|
|
560
|
+
export type PropertyPaymentMethodUncheckedCreateWithoutTenantInput = {
|
|
561
|
+
id?: string;
|
|
562
|
+
name: string;
|
|
563
|
+
description?: string | null;
|
|
564
|
+
isActive?: boolean;
|
|
565
|
+
allowEarlyPayoff?: boolean;
|
|
566
|
+
earlyPayoffPenaltyRate?: number | null;
|
|
567
|
+
autoActivatePhases?: boolean;
|
|
568
|
+
requiresManualApproval?: boolean;
|
|
569
|
+
createdAt?: Date | string;
|
|
570
|
+
updatedAt?: Date | string;
|
|
571
|
+
properties?: Prisma.PropertyPaymentMethodLinkUncheckedCreateNestedManyWithoutPaymentMethodInput;
|
|
572
|
+
phases?: Prisma.PropertyPaymentMethodPhaseUncheckedCreateNestedManyWithoutPaymentMethodInput;
|
|
573
|
+
contracts?: Prisma.ContractUncheckedCreateNestedManyWithoutPaymentMethodInput;
|
|
574
|
+
};
|
|
575
|
+
export type PropertyPaymentMethodCreateOrConnectWithoutTenantInput = {
|
|
576
|
+
where: Prisma.PropertyPaymentMethodWhereUniqueInput;
|
|
577
|
+
create: Prisma.XOR<Prisma.PropertyPaymentMethodCreateWithoutTenantInput, Prisma.PropertyPaymentMethodUncheckedCreateWithoutTenantInput>;
|
|
578
|
+
};
|
|
579
|
+
export type PropertyPaymentMethodCreateManyTenantInputEnvelope = {
|
|
580
|
+
data: Prisma.PropertyPaymentMethodCreateManyTenantInput | Prisma.PropertyPaymentMethodCreateManyTenantInput[];
|
|
581
|
+
skipDuplicates?: boolean;
|
|
582
|
+
};
|
|
583
|
+
export type PropertyPaymentMethodUpsertWithWhereUniqueWithoutTenantInput = {
|
|
584
|
+
where: Prisma.PropertyPaymentMethodWhereUniqueInput;
|
|
585
|
+
update: Prisma.XOR<Prisma.PropertyPaymentMethodUpdateWithoutTenantInput, Prisma.PropertyPaymentMethodUncheckedUpdateWithoutTenantInput>;
|
|
586
|
+
create: Prisma.XOR<Prisma.PropertyPaymentMethodCreateWithoutTenantInput, Prisma.PropertyPaymentMethodUncheckedCreateWithoutTenantInput>;
|
|
587
|
+
};
|
|
588
|
+
export type PropertyPaymentMethodUpdateWithWhereUniqueWithoutTenantInput = {
|
|
589
|
+
where: Prisma.PropertyPaymentMethodWhereUniqueInput;
|
|
590
|
+
data: Prisma.XOR<Prisma.PropertyPaymentMethodUpdateWithoutTenantInput, Prisma.PropertyPaymentMethodUncheckedUpdateWithoutTenantInput>;
|
|
591
|
+
};
|
|
592
|
+
export type PropertyPaymentMethodUpdateManyWithWhereWithoutTenantInput = {
|
|
593
|
+
where: Prisma.PropertyPaymentMethodScalarWhereInput;
|
|
594
|
+
data: Prisma.XOR<Prisma.PropertyPaymentMethodUpdateManyMutationInput, Prisma.PropertyPaymentMethodUncheckedUpdateManyWithoutTenantInput>;
|
|
595
|
+
};
|
|
596
|
+
export type PropertyPaymentMethodScalarWhereInput = {
|
|
597
|
+
AND?: Prisma.PropertyPaymentMethodScalarWhereInput | Prisma.PropertyPaymentMethodScalarWhereInput[];
|
|
598
|
+
OR?: Prisma.PropertyPaymentMethodScalarWhereInput[];
|
|
599
|
+
NOT?: Prisma.PropertyPaymentMethodScalarWhereInput | Prisma.PropertyPaymentMethodScalarWhereInput[];
|
|
600
|
+
id?: Prisma.StringFilter<"PropertyPaymentMethod"> | string;
|
|
601
|
+
tenantId?: Prisma.StringFilter<"PropertyPaymentMethod"> | string;
|
|
602
|
+
name?: Prisma.StringFilter<"PropertyPaymentMethod"> | string;
|
|
603
|
+
description?: Prisma.StringNullableFilter<"PropertyPaymentMethod"> | string | null;
|
|
604
|
+
isActive?: Prisma.BoolFilter<"PropertyPaymentMethod"> | boolean;
|
|
605
|
+
allowEarlyPayoff?: Prisma.BoolFilter<"PropertyPaymentMethod"> | boolean;
|
|
606
|
+
earlyPayoffPenaltyRate?: Prisma.FloatNullableFilter<"PropertyPaymentMethod"> | number | null;
|
|
607
|
+
autoActivatePhases?: Prisma.BoolFilter<"PropertyPaymentMethod"> | boolean;
|
|
608
|
+
requiresManualApproval?: Prisma.BoolFilter<"PropertyPaymentMethod"> | boolean;
|
|
609
|
+
createdAt?: Prisma.DateTimeFilter<"PropertyPaymentMethod"> | Date | string;
|
|
610
|
+
updatedAt?: Prisma.DateTimeFilter<"PropertyPaymentMethod"> | Date | string;
|
|
611
|
+
};
|
|
470
612
|
export type PropertyPaymentMethodCreateWithoutPropertiesInput = {
|
|
471
613
|
id?: string;
|
|
472
614
|
name: string;
|
|
@@ -478,11 +620,13 @@ export type PropertyPaymentMethodCreateWithoutPropertiesInput = {
|
|
|
478
620
|
requiresManualApproval?: boolean;
|
|
479
621
|
createdAt?: Date | string;
|
|
480
622
|
updatedAt?: Date | string;
|
|
623
|
+
tenant: Prisma.TenantCreateNestedOneWithoutPaymentMethodsInput;
|
|
481
624
|
phases?: Prisma.PropertyPaymentMethodPhaseCreateNestedManyWithoutPaymentMethodInput;
|
|
482
625
|
contracts?: Prisma.ContractCreateNestedManyWithoutPaymentMethodInput;
|
|
483
626
|
};
|
|
484
627
|
export type PropertyPaymentMethodUncheckedCreateWithoutPropertiesInput = {
|
|
485
628
|
id?: string;
|
|
629
|
+
tenantId: string;
|
|
486
630
|
name: string;
|
|
487
631
|
description?: string | null;
|
|
488
632
|
isActive?: boolean;
|
|
@@ -519,11 +663,13 @@ export type PropertyPaymentMethodUpdateWithoutPropertiesInput = {
|
|
|
519
663
|
requiresManualApproval?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
520
664
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
521
665
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
666
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutPaymentMethodsNestedInput;
|
|
522
667
|
phases?: Prisma.PropertyPaymentMethodPhaseUpdateManyWithoutPaymentMethodNestedInput;
|
|
523
668
|
contracts?: Prisma.ContractUpdateManyWithoutPaymentMethodNestedInput;
|
|
524
669
|
};
|
|
525
670
|
export type PropertyPaymentMethodUncheckedUpdateWithoutPropertiesInput = {
|
|
526
671
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
672
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
527
673
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
528
674
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
529
675
|
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
@@ -547,11 +693,13 @@ export type PropertyPaymentMethodCreateWithoutPhasesInput = {
|
|
|
547
693
|
requiresManualApproval?: boolean;
|
|
548
694
|
createdAt?: Date | string;
|
|
549
695
|
updatedAt?: Date | string;
|
|
696
|
+
tenant: Prisma.TenantCreateNestedOneWithoutPaymentMethodsInput;
|
|
550
697
|
properties?: Prisma.PropertyPaymentMethodLinkCreateNestedManyWithoutPaymentMethodInput;
|
|
551
698
|
contracts?: Prisma.ContractCreateNestedManyWithoutPaymentMethodInput;
|
|
552
699
|
};
|
|
553
700
|
export type PropertyPaymentMethodUncheckedCreateWithoutPhasesInput = {
|
|
554
701
|
id?: string;
|
|
702
|
+
tenantId: string;
|
|
555
703
|
name: string;
|
|
556
704
|
description?: string | null;
|
|
557
705
|
isActive?: boolean;
|
|
@@ -588,11 +736,13 @@ export type PropertyPaymentMethodUpdateWithoutPhasesInput = {
|
|
|
588
736
|
requiresManualApproval?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
589
737
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
590
738
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
739
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutPaymentMethodsNestedInput;
|
|
591
740
|
properties?: Prisma.PropertyPaymentMethodLinkUpdateManyWithoutPaymentMethodNestedInput;
|
|
592
741
|
contracts?: Prisma.ContractUpdateManyWithoutPaymentMethodNestedInput;
|
|
593
742
|
};
|
|
594
743
|
export type PropertyPaymentMethodUncheckedUpdateWithoutPhasesInput = {
|
|
595
744
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
745
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
596
746
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
597
747
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
598
748
|
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
@@ -616,11 +766,13 @@ export type PropertyPaymentMethodCreateWithoutContractsInput = {
|
|
|
616
766
|
requiresManualApproval?: boolean;
|
|
617
767
|
createdAt?: Date | string;
|
|
618
768
|
updatedAt?: Date | string;
|
|
769
|
+
tenant: Prisma.TenantCreateNestedOneWithoutPaymentMethodsInput;
|
|
619
770
|
properties?: Prisma.PropertyPaymentMethodLinkCreateNestedManyWithoutPaymentMethodInput;
|
|
620
771
|
phases?: Prisma.PropertyPaymentMethodPhaseCreateNestedManyWithoutPaymentMethodInput;
|
|
621
772
|
};
|
|
622
773
|
export type PropertyPaymentMethodUncheckedCreateWithoutContractsInput = {
|
|
623
774
|
id?: string;
|
|
775
|
+
tenantId: string;
|
|
624
776
|
name: string;
|
|
625
777
|
description?: string | null;
|
|
626
778
|
isActive?: boolean;
|
|
@@ -657,11 +809,13 @@ export type PropertyPaymentMethodUpdateWithoutContractsInput = {
|
|
|
657
809
|
requiresManualApproval?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
658
810
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
659
811
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
812
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutPaymentMethodsNestedInput;
|
|
660
813
|
properties?: Prisma.PropertyPaymentMethodLinkUpdateManyWithoutPaymentMethodNestedInput;
|
|
661
814
|
phases?: Prisma.PropertyPaymentMethodPhaseUpdateManyWithoutPaymentMethodNestedInput;
|
|
662
815
|
};
|
|
663
816
|
export type PropertyPaymentMethodUncheckedUpdateWithoutContractsInput = {
|
|
664
817
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
818
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
665
819
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
666
820
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
667
821
|
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
@@ -674,6 +828,60 @@ export type PropertyPaymentMethodUncheckedUpdateWithoutContractsInput = {
|
|
|
674
828
|
properties?: Prisma.PropertyPaymentMethodLinkUncheckedUpdateManyWithoutPaymentMethodNestedInput;
|
|
675
829
|
phases?: Prisma.PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutPaymentMethodNestedInput;
|
|
676
830
|
};
|
|
831
|
+
export type PropertyPaymentMethodCreateManyTenantInput = {
|
|
832
|
+
id?: string;
|
|
833
|
+
name: string;
|
|
834
|
+
description?: string | null;
|
|
835
|
+
isActive?: boolean;
|
|
836
|
+
allowEarlyPayoff?: boolean;
|
|
837
|
+
earlyPayoffPenaltyRate?: number | null;
|
|
838
|
+
autoActivatePhases?: boolean;
|
|
839
|
+
requiresManualApproval?: boolean;
|
|
840
|
+
createdAt?: Date | string;
|
|
841
|
+
updatedAt?: Date | string;
|
|
842
|
+
};
|
|
843
|
+
export type PropertyPaymentMethodUpdateWithoutTenantInput = {
|
|
844
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
845
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
846
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
847
|
+
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
848
|
+
allowEarlyPayoff?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
849
|
+
earlyPayoffPenaltyRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
850
|
+
autoActivatePhases?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
851
|
+
requiresManualApproval?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
852
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
853
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
854
|
+
properties?: Prisma.PropertyPaymentMethodLinkUpdateManyWithoutPaymentMethodNestedInput;
|
|
855
|
+
phases?: Prisma.PropertyPaymentMethodPhaseUpdateManyWithoutPaymentMethodNestedInput;
|
|
856
|
+
contracts?: Prisma.ContractUpdateManyWithoutPaymentMethodNestedInput;
|
|
857
|
+
};
|
|
858
|
+
export type PropertyPaymentMethodUncheckedUpdateWithoutTenantInput = {
|
|
859
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
860
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
861
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
862
|
+
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
863
|
+
allowEarlyPayoff?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
864
|
+
earlyPayoffPenaltyRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
865
|
+
autoActivatePhases?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
866
|
+
requiresManualApproval?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
867
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
868
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
869
|
+
properties?: Prisma.PropertyPaymentMethodLinkUncheckedUpdateManyWithoutPaymentMethodNestedInput;
|
|
870
|
+
phases?: Prisma.PropertyPaymentMethodPhaseUncheckedUpdateManyWithoutPaymentMethodNestedInput;
|
|
871
|
+
contracts?: Prisma.ContractUncheckedUpdateManyWithoutPaymentMethodNestedInput;
|
|
872
|
+
};
|
|
873
|
+
export type PropertyPaymentMethodUncheckedUpdateManyWithoutTenantInput = {
|
|
874
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
875
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
876
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
877
|
+
isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
878
|
+
allowEarlyPayoff?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
879
|
+
earlyPayoffPenaltyRate?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
|
|
880
|
+
autoActivatePhases?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
881
|
+
requiresManualApproval?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
882
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
883
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
884
|
+
};
|
|
677
885
|
/**
|
|
678
886
|
* Count Type PropertyPaymentMethodCountOutputType
|
|
679
887
|
*/
|
|
@@ -716,6 +924,7 @@ export type PropertyPaymentMethodCountOutputTypeCountContractsArgs<ExtArgs exten
|
|
|
716
924
|
};
|
|
717
925
|
export type PropertyPaymentMethodSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
718
926
|
id?: boolean;
|
|
927
|
+
tenantId?: boolean;
|
|
719
928
|
name?: boolean;
|
|
720
929
|
description?: boolean;
|
|
721
930
|
isActive?: boolean;
|
|
@@ -725,6 +934,7 @@ export type PropertyPaymentMethodSelect<ExtArgs extends runtime.Types.Extensions
|
|
|
725
934
|
requiresManualApproval?: boolean;
|
|
726
935
|
createdAt?: boolean;
|
|
727
936
|
updatedAt?: boolean;
|
|
937
|
+
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
|
|
728
938
|
properties?: boolean | Prisma.PropertyPaymentMethod$propertiesArgs<ExtArgs>;
|
|
729
939
|
phases?: boolean | Prisma.PropertyPaymentMethod$phasesArgs<ExtArgs>;
|
|
730
940
|
contracts?: boolean | Prisma.PropertyPaymentMethod$contractsArgs<ExtArgs>;
|
|
@@ -732,6 +942,7 @@ export type PropertyPaymentMethodSelect<ExtArgs extends runtime.Types.Extensions
|
|
|
732
942
|
}, ExtArgs["result"]["propertyPaymentMethod"]>;
|
|
733
943
|
export type PropertyPaymentMethodSelectScalar = {
|
|
734
944
|
id?: boolean;
|
|
945
|
+
tenantId?: boolean;
|
|
735
946
|
name?: boolean;
|
|
736
947
|
description?: boolean;
|
|
737
948
|
isActive?: boolean;
|
|
@@ -742,8 +953,9 @@ export type PropertyPaymentMethodSelectScalar = {
|
|
|
742
953
|
createdAt?: boolean;
|
|
743
954
|
updatedAt?: boolean;
|
|
744
955
|
};
|
|
745
|
-
export type PropertyPaymentMethodOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "description" | "isActive" | "allowEarlyPayoff" | "earlyPayoffPenaltyRate" | "autoActivatePhases" | "requiresManualApproval" | "createdAt" | "updatedAt", ExtArgs["result"]["propertyPaymentMethod"]>;
|
|
956
|
+
export type PropertyPaymentMethodOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "name" | "description" | "isActive" | "allowEarlyPayoff" | "earlyPayoffPenaltyRate" | "autoActivatePhases" | "requiresManualApproval" | "createdAt" | "updatedAt", ExtArgs["result"]["propertyPaymentMethod"]>;
|
|
746
957
|
export type PropertyPaymentMethodInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
958
|
+
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
|
|
747
959
|
properties?: boolean | Prisma.PropertyPaymentMethod$propertiesArgs<ExtArgs>;
|
|
748
960
|
phases?: boolean | Prisma.PropertyPaymentMethod$phasesArgs<ExtArgs>;
|
|
749
961
|
contracts?: boolean | Prisma.PropertyPaymentMethod$contractsArgs<ExtArgs>;
|
|
@@ -752,12 +964,14 @@ export type PropertyPaymentMethodInclude<ExtArgs extends runtime.Types.Extension
|
|
|
752
964
|
export type $PropertyPaymentMethodPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
753
965
|
name: "PropertyPaymentMethod";
|
|
754
966
|
objects: {
|
|
967
|
+
tenant: Prisma.$TenantPayload<ExtArgs>;
|
|
755
968
|
properties: Prisma.$PropertyPaymentMethodLinkPayload<ExtArgs>[];
|
|
756
969
|
phases: Prisma.$PropertyPaymentMethodPhasePayload<ExtArgs>[];
|
|
757
970
|
contracts: Prisma.$ContractPayload<ExtArgs>[];
|
|
758
971
|
};
|
|
759
972
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
760
973
|
id: string;
|
|
974
|
+
tenantId: string;
|
|
761
975
|
name: string;
|
|
762
976
|
description: string | null;
|
|
763
977
|
isActive: boolean;
|
|
@@ -1044,6 +1258,7 @@ export interface PropertyPaymentMethodDelegate<ExtArgs extends runtime.Types.Ext
|
|
|
1044
1258
|
*/
|
|
1045
1259
|
export interface Prisma__PropertyPaymentMethodClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1046
1260
|
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1261
|
+
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>;
|
|
1047
1262
|
properties<T extends Prisma.PropertyPaymentMethod$propertiesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PropertyPaymentMethod$propertiesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PropertyPaymentMethodLinkPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1048
1263
|
phases<T extends Prisma.PropertyPaymentMethod$phasesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PropertyPaymentMethod$phasesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PropertyPaymentMethodPhasePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1049
1264
|
contracts<T extends Prisma.PropertyPaymentMethod$contractsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PropertyPaymentMethod$contractsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ContractPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
@@ -1073,6 +1288,7 @@ export interface Prisma__PropertyPaymentMethodClient<T, Null = never, ExtArgs ex
|
|
|
1073
1288
|
*/
|
|
1074
1289
|
export interface PropertyPaymentMethodFieldRefs {
|
|
1075
1290
|
readonly id: Prisma.FieldRef<"PropertyPaymentMethod", 'String'>;
|
|
1291
|
+
readonly tenantId: Prisma.FieldRef<"PropertyPaymentMethod", 'String'>;
|
|
1076
1292
|
readonly name: Prisma.FieldRef<"PropertyPaymentMethod", 'String'>;
|
|
1077
1293
|
readonly description: Prisma.FieldRef<"PropertyPaymentMethod", 'String'>;
|
|
1078
1294
|
readonly isActive: Prisma.FieldRef<"PropertyPaymentMethod", 'Boolean'>;
|