@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.
Files changed (56) hide show
  1. package/dist/generated/client/browser.d.ts +5 -0
  2. package/dist/generated/client/client.d.ts +5 -0
  3. package/dist/generated/client/commonInputTypes.d.ts +90 -0
  4. package/dist/generated/client/enums.d.ts +26 -0
  5. package/dist/generated/client/enums.js +23 -0
  6. package/dist/generated/client/internal/class.d.ts +11 -0
  7. package/dist/generated/client/internal/class.js +2 -2
  8. package/dist/generated/client/internal/prismaNamespace.d.ts +176 -1
  9. package/dist/generated/client/internal/prismaNamespace.js +95 -1
  10. package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +96 -0
  11. package/dist/generated/client/internal/prismaNamespaceBrowser.js +95 -1
  12. package/dist/generated/client/models/Amenity.d.ts +183 -3
  13. package/dist/generated/client/models/ApplicationDocument.d.ts +183 -1
  14. package/dist/generated/client/models/ApplicationEvent.d.ts +190 -14
  15. package/dist/generated/client/models/ApplicationPayment.d.ts +225 -1
  16. package/dist/generated/client/models/ApplicationPhase.d.ts +272 -26
  17. package/dist/generated/client/models/DocumentationPhase.d.ts +224 -24
  18. package/dist/generated/client/models/DocumentationStep.d.ts +237 -1
  19. package/dist/generated/client/models/DocumentationStepApproval.d.ts +159 -1
  20. package/dist/generated/client/models/DocumentationStepDocument.d.ts +150 -10
  21. package/dist/generated/client/models/EventHandlerExecution.d.ts +208 -14
  22. package/dist/generated/client/models/PaymentInstallment.d.ts +228 -14
  23. package/dist/generated/client/models/PaymentMethodPhaseDocument.d.ts +178 -14
  24. package/dist/generated/client/models/PaymentMethodPhaseField.d.ts +208 -14
  25. package/dist/generated/client/models/PaymentMethodPhaseStep.d.ts +180 -14
  26. package/dist/generated/client/models/PaymentPhase.d.ts +214 -14
  27. package/dist/generated/client/models/PhaseEventAttachment.d.ts +178 -14
  28. package/dist/generated/client/models/PropertyAmenity.d.ts +145 -11
  29. package/dist/generated/client/models/PropertyDocument.d.ts +164 -12
  30. package/dist/generated/client/models/PropertyMedia.d.ts +183 -17
  31. package/dist/generated/client/models/PropertyPaymentMethodLink.d.ts +159 -13
  32. package/dist/generated/client/models/PropertyPaymentMethodPhase.d.ts +270 -14
  33. package/dist/generated/client/models/PropertyUnit.d.ts +230 -14
  34. package/dist/generated/client/models/PropertyVariant.d.ts +256 -14
  35. package/dist/generated/client/models/PropertyVariantAmenity.d.ts +145 -11
  36. package/dist/generated/client/models/PropertyVariantMedia.d.ts +171 -13
  37. package/dist/generated/client/models/QuestionnaireField.d.ts +232 -14
  38. package/dist/generated/client/models/QuestionnairePhase.d.ts +207 -1
  39. package/dist/generated/client/models/StepEventAttachment.d.ts +178 -14
  40. package/dist/generated/client/models/Tenant.d.ts +11653 -1153
  41. package/dist/generated/client/models/WorkflowBlocker.d.ts +1432 -0
  42. package/dist/generated/client/models/WorkflowBlocker.js +1 -0
  43. package/dist/generated/client/models/index.d.ts +1 -0
  44. package/dist/generated/client/models/index.js +1 -0
  45. package/dist/generated/client/models.d.ts +1 -0
  46. package/dist/src/index.d.ts +1 -0
  47. package/dist/src/index.js +1 -0
  48. package/dist/src/middleware/auth-context.d.ts +63 -6
  49. package/dist/src/middleware/auth-context.js +132 -13
  50. package/dist/src/prisma/tenant.js +26 -32
  51. package/dist/src/types/action-status.d.ts +137 -0
  52. package/dist/src/types/action-status.js +402 -0
  53. package/package.json +1 -1
  54. package/prisma/migrations/20260113000000_remove_workflow_analytics_summary/migration.sql +5 -0
  55. package/prisma/migrations/20260113110450_add_tenant_id_to_child_models/migration.sql +334 -0
  56. package/prisma/schema.prisma +273 -60
@@ -11,6 +11,7 @@ export type AggregatePropertyPaymentMethodLink = {
11
11
  _max: PropertyPaymentMethodLinkMaxAggregateOutputType | null;
12
12
  };
13
13
  export type PropertyPaymentMethodLinkMinAggregateOutputType = {
14
+ tenantId: string | null;
14
15
  propertyId: string | null;
15
16
  paymentMethodId: string | null;
16
17
  isDefault: boolean | null;
@@ -18,6 +19,7 @@ export type PropertyPaymentMethodLinkMinAggregateOutputType = {
18
19
  createdAt: Date | null;
19
20
  };
20
21
  export type PropertyPaymentMethodLinkMaxAggregateOutputType = {
22
+ tenantId: string | null;
21
23
  propertyId: string | null;
22
24
  paymentMethodId: string | null;
23
25
  isDefault: boolean | null;
@@ -25,6 +27,7 @@ export type PropertyPaymentMethodLinkMaxAggregateOutputType = {
25
27
  createdAt: Date | null;
26
28
  };
27
29
  export type PropertyPaymentMethodLinkCountAggregateOutputType = {
30
+ tenantId: number;
28
31
  propertyId: number;
29
32
  paymentMethodId: number;
30
33
  isDefault: number;
@@ -33,6 +36,7 @@ export type PropertyPaymentMethodLinkCountAggregateOutputType = {
33
36
  _all: number;
34
37
  };
35
38
  export type PropertyPaymentMethodLinkMinAggregateInputType = {
39
+ tenantId?: true;
36
40
  propertyId?: true;
37
41
  paymentMethodId?: true;
38
42
  isDefault?: true;
@@ -40,6 +44,7 @@ export type PropertyPaymentMethodLinkMinAggregateInputType = {
40
44
  createdAt?: true;
41
45
  };
42
46
  export type PropertyPaymentMethodLinkMaxAggregateInputType = {
47
+ tenantId?: true;
43
48
  propertyId?: true;
44
49
  paymentMethodId?: true;
45
50
  isDefault?: true;
@@ -47,6 +52,7 @@ export type PropertyPaymentMethodLinkMaxAggregateInputType = {
47
52
  createdAt?: true;
48
53
  };
49
54
  export type PropertyPaymentMethodLinkCountAggregateInputType = {
55
+ tenantId?: true;
50
56
  propertyId?: true;
51
57
  paymentMethodId?: true;
52
58
  isDefault?: true;
@@ -117,6 +123,7 @@ export type PropertyPaymentMethodLinkGroupByArgs<ExtArgs extends runtime.Types.E
117
123
  _max?: PropertyPaymentMethodLinkMaxAggregateInputType;
118
124
  };
119
125
  export type PropertyPaymentMethodLinkGroupByOutputType = {
126
+ tenantId: string;
120
127
  propertyId: string;
121
128
  paymentMethodId: string;
122
129
  isDefault: boolean;
@@ -133,20 +140,24 @@ export type PropertyPaymentMethodLinkWhereInput = {
133
140
  AND?: Prisma.PropertyPaymentMethodLinkWhereInput | Prisma.PropertyPaymentMethodLinkWhereInput[];
134
141
  OR?: Prisma.PropertyPaymentMethodLinkWhereInput[];
135
142
  NOT?: Prisma.PropertyPaymentMethodLinkWhereInput | Prisma.PropertyPaymentMethodLinkWhereInput[];
143
+ tenantId?: Prisma.StringFilter<"PropertyPaymentMethodLink"> | string;
136
144
  propertyId?: Prisma.StringFilter<"PropertyPaymentMethodLink"> | string;
137
145
  paymentMethodId?: Prisma.StringFilter<"PropertyPaymentMethodLink"> | string;
138
146
  isDefault?: Prisma.BoolFilter<"PropertyPaymentMethodLink"> | boolean;
139
147
  isActive?: Prisma.BoolFilter<"PropertyPaymentMethodLink"> | boolean;
140
148
  createdAt?: Prisma.DateTimeFilter<"PropertyPaymentMethodLink"> | Date | string;
149
+ tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
141
150
  property?: Prisma.XOR<Prisma.PropertyScalarRelationFilter, Prisma.PropertyWhereInput>;
142
151
  paymentMethod?: Prisma.XOR<Prisma.PropertyPaymentMethodScalarRelationFilter, Prisma.PropertyPaymentMethodWhereInput>;
143
152
  };
144
153
  export type PropertyPaymentMethodLinkOrderByWithRelationInput = {
154
+ tenantId?: Prisma.SortOrder;
145
155
  propertyId?: Prisma.SortOrder;
146
156
  paymentMethodId?: Prisma.SortOrder;
147
157
  isDefault?: Prisma.SortOrder;
148
158
  isActive?: Prisma.SortOrder;
149
159
  createdAt?: Prisma.SortOrder;
160
+ tenant?: Prisma.TenantOrderByWithRelationInput;
150
161
  property?: Prisma.PropertyOrderByWithRelationInput;
151
162
  paymentMethod?: Prisma.PropertyPaymentMethodOrderByWithRelationInput;
152
163
  _relevance?: Prisma.PropertyPaymentMethodLinkOrderByRelevanceInput;
@@ -156,15 +167,18 @@ export type PropertyPaymentMethodLinkWhereUniqueInput = Prisma.AtLeast<{
156
167
  AND?: Prisma.PropertyPaymentMethodLinkWhereInput | Prisma.PropertyPaymentMethodLinkWhereInput[];
157
168
  OR?: Prisma.PropertyPaymentMethodLinkWhereInput[];
158
169
  NOT?: Prisma.PropertyPaymentMethodLinkWhereInput | Prisma.PropertyPaymentMethodLinkWhereInput[];
170
+ tenantId?: Prisma.StringFilter<"PropertyPaymentMethodLink"> | string;
159
171
  propertyId?: Prisma.StringFilter<"PropertyPaymentMethodLink"> | string;
160
172
  paymentMethodId?: Prisma.StringFilter<"PropertyPaymentMethodLink"> | string;
161
173
  isDefault?: Prisma.BoolFilter<"PropertyPaymentMethodLink"> | boolean;
162
174
  isActive?: Prisma.BoolFilter<"PropertyPaymentMethodLink"> | boolean;
163
175
  createdAt?: Prisma.DateTimeFilter<"PropertyPaymentMethodLink"> | Date | string;
176
+ tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
164
177
  property?: Prisma.XOR<Prisma.PropertyScalarRelationFilter, Prisma.PropertyWhereInput>;
165
178
  paymentMethod?: Prisma.XOR<Prisma.PropertyPaymentMethodScalarRelationFilter, Prisma.PropertyPaymentMethodWhereInput>;
166
179
  }, "propertyId_paymentMethodId">;
167
180
  export type PropertyPaymentMethodLinkOrderByWithAggregationInput = {
181
+ tenantId?: Prisma.SortOrder;
168
182
  propertyId?: Prisma.SortOrder;
169
183
  paymentMethodId?: Prisma.SortOrder;
170
184
  isDefault?: Prisma.SortOrder;
@@ -178,6 +192,7 @@ export type PropertyPaymentMethodLinkScalarWhereWithAggregatesInput = {
178
192
  AND?: Prisma.PropertyPaymentMethodLinkScalarWhereWithAggregatesInput | Prisma.PropertyPaymentMethodLinkScalarWhereWithAggregatesInput[];
179
193
  OR?: Prisma.PropertyPaymentMethodLinkScalarWhereWithAggregatesInput[];
180
194
  NOT?: Prisma.PropertyPaymentMethodLinkScalarWhereWithAggregatesInput | Prisma.PropertyPaymentMethodLinkScalarWhereWithAggregatesInput[];
195
+ tenantId?: Prisma.StringWithAggregatesFilter<"PropertyPaymentMethodLink"> | string;
181
196
  propertyId?: Prisma.StringWithAggregatesFilter<"PropertyPaymentMethodLink"> | string;
182
197
  paymentMethodId?: Prisma.StringWithAggregatesFilter<"PropertyPaymentMethodLink"> | string;
183
198
  isDefault?: Prisma.BoolWithAggregatesFilter<"PropertyPaymentMethodLink"> | boolean;
@@ -188,10 +203,12 @@ export type PropertyPaymentMethodLinkCreateInput = {
188
203
  isDefault?: boolean;
189
204
  isActive?: boolean;
190
205
  createdAt?: Date | string;
206
+ tenant: Prisma.TenantCreateNestedOneWithoutPropertyPaymentMethodLinksInput;
191
207
  property: Prisma.PropertyCreateNestedOneWithoutPaymentMethodsInput;
192
208
  paymentMethod: Prisma.PropertyPaymentMethodCreateNestedOneWithoutPropertiesInput;
193
209
  };
194
210
  export type PropertyPaymentMethodLinkUncheckedCreateInput = {
211
+ tenantId: string;
195
212
  propertyId: string;
196
213
  paymentMethodId: string;
197
214
  isDefault?: boolean;
@@ -202,10 +219,12 @@ export type PropertyPaymentMethodLinkUpdateInput = {
202
219
  isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean;
203
220
  isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
204
221
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
222
+ tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertyPaymentMethodLinksNestedInput;
205
223
  property?: Prisma.PropertyUpdateOneRequiredWithoutPaymentMethodsNestedInput;
206
224
  paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneRequiredWithoutPropertiesNestedInput;
207
225
  };
208
226
  export type PropertyPaymentMethodLinkUncheckedUpdateInput = {
227
+ tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
209
228
  propertyId?: Prisma.StringFieldUpdateOperationsInput | string;
210
229
  paymentMethodId?: Prisma.StringFieldUpdateOperationsInput | string;
211
230
  isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean;
@@ -213,6 +232,7 @@ export type PropertyPaymentMethodLinkUncheckedUpdateInput = {
213
232
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
214
233
  };
215
234
  export type PropertyPaymentMethodLinkCreateManyInput = {
235
+ tenantId: string;
216
236
  propertyId: string;
217
237
  paymentMethodId: string;
218
238
  isDefault?: boolean;
@@ -225,6 +245,7 @@ export type PropertyPaymentMethodLinkUpdateManyMutationInput = {
225
245
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
226
246
  };
227
247
  export type PropertyPaymentMethodLinkUncheckedUpdateManyInput = {
248
+ tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
228
249
  propertyId?: Prisma.StringFieldUpdateOperationsInput | string;
229
250
  paymentMethodId?: Prisma.StringFieldUpdateOperationsInput | string;
230
251
  isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean;
@@ -249,6 +270,7 @@ export type PropertyPaymentMethodLinkPropertyIdPaymentMethodIdCompoundUniqueInpu
249
270
  paymentMethodId: string;
250
271
  };
251
272
  export type PropertyPaymentMethodLinkCountOrderByAggregateInput = {
273
+ tenantId?: Prisma.SortOrder;
252
274
  propertyId?: Prisma.SortOrder;
253
275
  paymentMethodId?: Prisma.SortOrder;
254
276
  isDefault?: Prisma.SortOrder;
@@ -256,6 +278,7 @@ export type PropertyPaymentMethodLinkCountOrderByAggregateInput = {
256
278
  createdAt?: Prisma.SortOrder;
257
279
  };
258
280
  export type PropertyPaymentMethodLinkMaxOrderByAggregateInput = {
281
+ tenantId?: Prisma.SortOrder;
259
282
  propertyId?: Prisma.SortOrder;
260
283
  paymentMethodId?: Prisma.SortOrder;
261
284
  isDefault?: Prisma.SortOrder;
@@ -263,12 +286,51 @@ export type PropertyPaymentMethodLinkMaxOrderByAggregateInput = {
263
286
  createdAt?: Prisma.SortOrder;
264
287
  };
265
288
  export type PropertyPaymentMethodLinkMinOrderByAggregateInput = {
289
+ tenantId?: Prisma.SortOrder;
266
290
  propertyId?: Prisma.SortOrder;
267
291
  paymentMethodId?: Prisma.SortOrder;
268
292
  isDefault?: Prisma.SortOrder;
269
293
  isActive?: Prisma.SortOrder;
270
294
  createdAt?: Prisma.SortOrder;
271
295
  };
296
+ export type PropertyPaymentMethodLinkCreateNestedManyWithoutTenantInput = {
297
+ create?: Prisma.XOR<Prisma.PropertyPaymentMethodLinkCreateWithoutTenantInput, Prisma.PropertyPaymentMethodLinkUncheckedCreateWithoutTenantInput> | Prisma.PropertyPaymentMethodLinkCreateWithoutTenantInput[] | Prisma.PropertyPaymentMethodLinkUncheckedCreateWithoutTenantInput[];
298
+ connectOrCreate?: Prisma.PropertyPaymentMethodLinkCreateOrConnectWithoutTenantInput | Prisma.PropertyPaymentMethodLinkCreateOrConnectWithoutTenantInput[];
299
+ createMany?: Prisma.PropertyPaymentMethodLinkCreateManyTenantInputEnvelope;
300
+ connect?: Prisma.PropertyPaymentMethodLinkWhereUniqueInput | Prisma.PropertyPaymentMethodLinkWhereUniqueInput[];
301
+ };
302
+ export type PropertyPaymentMethodLinkUncheckedCreateNestedManyWithoutTenantInput = {
303
+ create?: Prisma.XOR<Prisma.PropertyPaymentMethodLinkCreateWithoutTenantInput, Prisma.PropertyPaymentMethodLinkUncheckedCreateWithoutTenantInput> | Prisma.PropertyPaymentMethodLinkCreateWithoutTenantInput[] | Prisma.PropertyPaymentMethodLinkUncheckedCreateWithoutTenantInput[];
304
+ connectOrCreate?: Prisma.PropertyPaymentMethodLinkCreateOrConnectWithoutTenantInput | Prisma.PropertyPaymentMethodLinkCreateOrConnectWithoutTenantInput[];
305
+ createMany?: Prisma.PropertyPaymentMethodLinkCreateManyTenantInputEnvelope;
306
+ connect?: Prisma.PropertyPaymentMethodLinkWhereUniqueInput | Prisma.PropertyPaymentMethodLinkWhereUniqueInput[];
307
+ };
308
+ export type PropertyPaymentMethodLinkUpdateManyWithoutTenantNestedInput = {
309
+ create?: Prisma.XOR<Prisma.PropertyPaymentMethodLinkCreateWithoutTenantInput, Prisma.PropertyPaymentMethodLinkUncheckedCreateWithoutTenantInput> | Prisma.PropertyPaymentMethodLinkCreateWithoutTenantInput[] | Prisma.PropertyPaymentMethodLinkUncheckedCreateWithoutTenantInput[];
310
+ connectOrCreate?: Prisma.PropertyPaymentMethodLinkCreateOrConnectWithoutTenantInput | Prisma.PropertyPaymentMethodLinkCreateOrConnectWithoutTenantInput[];
311
+ upsert?: Prisma.PropertyPaymentMethodLinkUpsertWithWhereUniqueWithoutTenantInput | Prisma.PropertyPaymentMethodLinkUpsertWithWhereUniqueWithoutTenantInput[];
312
+ createMany?: Prisma.PropertyPaymentMethodLinkCreateManyTenantInputEnvelope;
313
+ set?: Prisma.PropertyPaymentMethodLinkWhereUniqueInput | Prisma.PropertyPaymentMethodLinkWhereUniqueInput[];
314
+ disconnect?: Prisma.PropertyPaymentMethodLinkWhereUniqueInput | Prisma.PropertyPaymentMethodLinkWhereUniqueInput[];
315
+ delete?: Prisma.PropertyPaymentMethodLinkWhereUniqueInput | Prisma.PropertyPaymentMethodLinkWhereUniqueInput[];
316
+ connect?: Prisma.PropertyPaymentMethodLinkWhereUniqueInput | Prisma.PropertyPaymentMethodLinkWhereUniqueInput[];
317
+ update?: Prisma.PropertyPaymentMethodLinkUpdateWithWhereUniqueWithoutTenantInput | Prisma.PropertyPaymentMethodLinkUpdateWithWhereUniqueWithoutTenantInput[];
318
+ updateMany?: Prisma.PropertyPaymentMethodLinkUpdateManyWithWhereWithoutTenantInput | Prisma.PropertyPaymentMethodLinkUpdateManyWithWhereWithoutTenantInput[];
319
+ deleteMany?: Prisma.PropertyPaymentMethodLinkScalarWhereInput | Prisma.PropertyPaymentMethodLinkScalarWhereInput[];
320
+ };
321
+ export type PropertyPaymentMethodLinkUncheckedUpdateManyWithoutTenantNestedInput = {
322
+ create?: Prisma.XOR<Prisma.PropertyPaymentMethodLinkCreateWithoutTenantInput, Prisma.PropertyPaymentMethodLinkUncheckedCreateWithoutTenantInput> | Prisma.PropertyPaymentMethodLinkCreateWithoutTenantInput[] | Prisma.PropertyPaymentMethodLinkUncheckedCreateWithoutTenantInput[];
323
+ connectOrCreate?: Prisma.PropertyPaymentMethodLinkCreateOrConnectWithoutTenantInput | Prisma.PropertyPaymentMethodLinkCreateOrConnectWithoutTenantInput[];
324
+ upsert?: Prisma.PropertyPaymentMethodLinkUpsertWithWhereUniqueWithoutTenantInput | Prisma.PropertyPaymentMethodLinkUpsertWithWhereUniqueWithoutTenantInput[];
325
+ createMany?: Prisma.PropertyPaymentMethodLinkCreateManyTenantInputEnvelope;
326
+ set?: Prisma.PropertyPaymentMethodLinkWhereUniqueInput | Prisma.PropertyPaymentMethodLinkWhereUniqueInput[];
327
+ disconnect?: Prisma.PropertyPaymentMethodLinkWhereUniqueInput | Prisma.PropertyPaymentMethodLinkWhereUniqueInput[];
328
+ delete?: Prisma.PropertyPaymentMethodLinkWhereUniqueInput | Prisma.PropertyPaymentMethodLinkWhereUniqueInput[];
329
+ connect?: Prisma.PropertyPaymentMethodLinkWhereUniqueInput | Prisma.PropertyPaymentMethodLinkWhereUniqueInput[];
330
+ update?: Prisma.PropertyPaymentMethodLinkUpdateWithWhereUniqueWithoutTenantInput | Prisma.PropertyPaymentMethodLinkUpdateWithWhereUniqueWithoutTenantInput[];
331
+ updateMany?: Prisma.PropertyPaymentMethodLinkUpdateManyWithWhereWithoutTenantInput | Prisma.PropertyPaymentMethodLinkUpdateManyWithWhereWithoutTenantInput[];
332
+ deleteMany?: Prisma.PropertyPaymentMethodLinkScalarWhereInput | Prisma.PropertyPaymentMethodLinkScalarWhereInput[];
333
+ };
272
334
  export type PropertyPaymentMethodLinkCreateNestedManyWithoutPropertyInput = {
273
335
  create?: Prisma.XOR<Prisma.PropertyPaymentMethodLinkCreateWithoutPropertyInput, Prisma.PropertyPaymentMethodLinkUncheckedCreateWithoutPropertyInput> | Prisma.PropertyPaymentMethodLinkCreateWithoutPropertyInput[] | Prisma.PropertyPaymentMethodLinkUncheckedCreateWithoutPropertyInput[];
274
336
  connectOrCreate?: Prisma.PropertyPaymentMethodLinkCreateOrConnectWithoutPropertyInput | Prisma.PropertyPaymentMethodLinkCreateOrConnectWithoutPropertyInput[];
@@ -345,13 +407,61 @@ export type PropertyPaymentMethodLinkUncheckedUpdateManyWithoutPaymentMethodNest
345
407
  updateMany?: Prisma.PropertyPaymentMethodLinkUpdateManyWithWhereWithoutPaymentMethodInput | Prisma.PropertyPaymentMethodLinkUpdateManyWithWhereWithoutPaymentMethodInput[];
346
408
  deleteMany?: Prisma.PropertyPaymentMethodLinkScalarWhereInput | Prisma.PropertyPaymentMethodLinkScalarWhereInput[];
347
409
  };
410
+ export type PropertyPaymentMethodLinkCreateWithoutTenantInput = {
411
+ isDefault?: boolean;
412
+ isActive?: boolean;
413
+ createdAt?: Date | string;
414
+ property: Prisma.PropertyCreateNestedOneWithoutPaymentMethodsInput;
415
+ paymentMethod: Prisma.PropertyPaymentMethodCreateNestedOneWithoutPropertiesInput;
416
+ };
417
+ export type PropertyPaymentMethodLinkUncheckedCreateWithoutTenantInput = {
418
+ propertyId: string;
419
+ paymentMethodId: string;
420
+ isDefault?: boolean;
421
+ isActive?: boolean;
422
+ createdAt?: Date | string;
423
+ };
424
+ export type PropertyPaymentMethodLinkCreateOrConnectWithoutTenantInput = {
425
+ where: Prisma.PropertyPaymentMethodLinkWhereUniqueInput;
426
+ create: Prisma.XOR<Prisma.PropertyPaymentMethodLinkCreateWithoutTenantInput, Prisma.PropertyPaymentMethodLinkUncheckedCreateWithoutTenantInput>;
427
+ };
428
+ export type PropertyPaymentMethodLinkCreateManyTenantInputEnvelope = {
429
+ data: Prisma.PropertyPaymentMethodLinkCreateManyTenantInput | Prisma.PropertyPaymentMethodLinkCreateManyTenantInput[];
430
+ skipDuplicates?: boolean;
431
+ };
432
+ export type PropertyPaymentMethodLinkUpsertWithWhereUniqueWithoutTenantInput = {
433
+ where: Prisma.PropertyPaymentMethodLinkWhereUniqueInput;
434
+ update: Prisma.XOR<Prisma.PropertyPaymentMethodLinkUpdateWithoutTenantInput, Prisma.PropertyPaymentMethodLinkUncheckedUpdateWithoutTenantInput>;
435
+ create: Prisma.XOR<Prisma.PropertyPaymentMethodLinkCreateWithoutTenantInput, Prisma.PropertyPaymentMethodLinkUncheckedCreateWithoutTenantInput>;
436
+ };
437
+ export type PropertyPaymentMethodLinkUpdateWithWhereUniqueWithoutTenantInput = {
438
+ where: Prisma.PropertyPaymentMethodLinkWhereUniqueInput;
439
+ data: Prisma.XOR<Prisma.PropertyPaymentMethodLinkUpdateWithoutTenantInput, Prisma.PropertyPaymentMethodLinkUncheckedUpdateWithoutTenantInput>;
440
+ };
441
+ export type PropertyPaymentMethodLinkUpdateManyWithWhereWithoutTenantInput = {
442
+ where: Prisma.PropertyPaymentMethodLinkScalarWhereInput;
443
+ data: Prisma.XOR<Prisma.PropertyPaymentMethodLinkUpdateManyMutationInput, Prisma.PropertyPaymentMethodLinkUncheckedUpdateManyWithoutTenantInput>;
444
+ };
445
+ export type PropertyPaymentMethodLinkScalarWhereInput = {
446
+ AND?: Prisma.PropertyPaymentMethodLinkScalarWhereInput | Prisma.PropertyPaymentMethodLinkScalarWhereInput[];
447
+ OR?: Prisma.PropertyPaymentMethodLinkScalarWhereInput[];
448
+ NOT?: Prisma.PropertyPaymentMethodLinkScalarWhereInput | Prisma.PropertyPaymentMethodLinkScalarWhereInput[];
449
+ tenantId?: Prisma.StringFilter<"PropertyPaymentMethodLink"> | string;
450
+ propertyId?: Prisma.StringFilter<"PropertyPaymentMethodLink"> | string;
451
+ paymentMethodId?: Prisma.StringFilter<"PropertyPaymentMethodLink"> | string;
452
+ isDefault?: Prisma.BoolFilter<"PropertyPaymentMethodLink"> | boolean;
453
+ isActive?: Prisma.BoolFilter<"PropertyPaymentMethodLink"> | boolean;
454
+ createdAt?: Prisma.DateTimeFilter<"PropertyPaymentMethodLink"> | Date | string;
455
+ };
348
456
  export type PropertyPaymentMethodLinkCreateWithoutPropertyInput = {
349
457
  isDefault?: boolean;
350
458
  isActive?: boolean;
351
459
  createdAt?: Date | string;
460
+ tenant: Prisma.TenantCreateNestedOneWithoutPropertyPaymentMethodLinksInput;
352
461
  paymentMethod: Prisma.PropertyPaymentMethodCreateNestedOneWithoutPropertiesInput;
353
462
  };
354
463
  export type PropertyPaymentMethodLinkUncheckedCreateWithoutPropertyInput = {
464
+ tenantId: string;
355
465
  paymentMethodId: string;
356
466
  isDefault?: boolean;
357
467
  isActive?: boolean;
@@ -378,23 +488,15 @@ export type PropertyPaymentMethodLinkUpdateManyWithWhereWithoutPropertyInput = {
378
488
  where: Prisma.PropertyPaymentMethodLinkScalarWhereInput;
379
489
  data: Prisma.XOR<Prisma.PropertyPaymentMethodLinkUpdateManyMutationInput, Prisma.PropertyPaymentMethodLinkUncheckedUpdateManyWithoutPropertyInput>;
380
490
  };
381
- export type PropertyPaymentMethodLinkScalarWhereInput = {
382
- AND?: Prisma.PropertyPaymentMethodLinkScalarWhereInput | Prisma.PropertyPaymentMethodLinkScalarWhereInput[];
383
- OR?: Prisma.PropertyPaymentMethodLinkScalarWhereInput[];
384
- NOT?: Prisma.PropertyPaymentMethodLinkScalarWhereInput | Prisma.PropertyPaymentMethodLinkScalarWhereInput[];
385
- propertyId?: Prisma.StringFilter<"PropertyPaymentMethodLink"> | string;
386
- paymentMethodId?: Prisma.StringFilter<"PropertyPaymentMethodLink"> | string;
387
- isDefault?: Prisma.BoolFilter<"PropertyPaymentMethodLink"> | boolean;
388
- isActive?: Prisma.BoolFilter<"PropertyPaymentMethodLink"> | boolean;
389
- createdAt?: Prisma.DateTimeFilter<"PropertyPaymentMethodLink"> | Date | string;
390
- };
391
491
  export type PropertyPaymentMethodLinkCreateWithoutPaymentMethodInput = {
392
492
  isDefault?: boolean;
393
493
  isActive?: boolean;
394
494
  createdAt?: Date | string;
495
+ tenant: Prisma.TenantCreateNestedOneWithoutPropertyPaymentMethodLinksInput;
395
496
  property: Prisma.PropertyCreateNestedOneWithoutPaymentMethodsInput;
396
497
  };
397
498
  export type PropertyPaymentMethodLinkUncheckedCreateWithoutPaymentMethodInput = {
499
+ tenantId: string;
398
500
  propertyId: string;
399
501
  isDefault?: boolean;
400
502
  isActive?: boolean;
@@ -421,7 +523,36 @@ export type PropertyPaymentMethodLinkUpdateManyWithWhereWithoutPaymentMethodInpu
421
523
  where: Prisma.PropertyPaymentMethodLinkScalarWhereInput;
422
524
  data: Prisma.XOR<Prisma.PropertyPaymentMethodLinkUpdateManyMutationInput, Prisma.PropertyPaymentMethodLinkUncheckedUpdateManyWithoutPaymentMethodInput>;
423
525
  };
526
+ export type PropertyPaymentMethodLinkCreateManyTenantInput = {
527
+ propertyId: string;
528
+ paymentMethodId: string;
529
+ isDefault?: boolean;
530
+ isActive?: boolean;
531
+ createdAt?: Date | string;
532
+ };
533
+ export type PropertyPaymentMethodLinkUpdateWithoutTenantInput = {
534
+ isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean;
535
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
536
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
537
+ property?: Prisma.PropertyUpdateOneRequiredWithoutPaymentMethodsNestedInput;
538
+ paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneRequiredWithoutPropertiesNestedInput;
539
+ };
540
+ export type PropertyPaymentMethodLinkUncheckedUpdateWithoutTenantInput = {
541
+ propertyId?: Prisma.StringFieldUpdateOperationsInput | string;
542
+ paymentMethodId?: Prisma.StringFieldUpdateOperationsInput | string;
543
+ isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean;
544
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
545
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
546
+ };
547
+ export type PropertyPaymentMethodLinkUncheckedUpdateManyWithoutTenantInput = {
548
+ propertyId?: Prisma.StringFieldUpdateOperationsInput | string;
549
+ paymentMethodId?: Prisma.StringFieldUpdateOperationsInput | string;
550
+ isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean;
551
+ isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
552
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
553
+ };
424
554
  export type PropertyPaymentMethodLinkCreateManyPropertyInput = {
555
+ tenantId: string;
425
556
  paymentMethodId: string;
426
557
  isDefault?: boolean;
427
558
  isActive?: boolean;
@@ -431,21 +562,25 @@ export type PropertyPaymentMethodLinkUpdateWithoutPropertyInput = {
431
562
  isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean;
432
563
  isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
433
564
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
565
+ tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertyPaymentMethodLinksNestedInput;
434
566
  paymentMethod?: Prisma.PropertyPaymentMethodUpdateOneRequiredWithoutPropertiesNestedInput;
435
567
  };
436
568
  export type PropertyPaymentMethodLinkUncheckedUpdateWithoutPropertyInput = {
569
+ tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
437
570
  paymentMethodId?: Prisma.StringFieldUpdateOperationsInput | string;
438
571
  isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean;
439
572
  isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
440
573
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
441
574
  };
442
575
  export type PropertyPaymentMethodLinkUncheckedUpdateManyWithoutPropertyInput = {
576
+ tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
443
577
  paymentMethodId?: Prisma.StringFieldUpdateOperationsInput | string;
444
578
  isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean;
445
579
  isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
446
580
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
447
581
  };
448
582
  export type PropertyPaymentMethodLinkCreateManyPaymentMethodInput = {
583
+ tenantId: string;
449
584
  propertyId: string;
450
585
  isDefault?: boolean;
451
586
  isActive?: boolean;
@@ -455,48 +590,57 @@ export type PropertyPaymentMethodLinkUpdateWithoutPaymentMethodInput = {
455
590
  isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean;
456
591
  isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
457
592
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
593
+ tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertyPaymentMethodLinksNestedInput;
458
594
  property?: Prisma.PropertyUpdateOneRequiredWithoutPaymentMethodsNestedInput;
459
595
  };
460
596
  export type PropertyPaymentMethodLinkUncheckedUpdateWithoutPaymentMethodInput = {
597
+ tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
461
598
  propertyId?: Prisma.StringFieldUpdateOperationsInput | string;
462
599
  isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean;
463
600
  isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
464
601
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
465
602
  };
466
603
  export type PropertyPaymentMethodLinkUncheckedUpdateManyWithoutPaymentMethodInput = {
604
+ tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
467
605
  propertyId?: Prisma.StringFieldUpdateOperationsInput | string;
468
606
  isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean;
469
607
  isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean;
470
608
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
471
609
  };
472
610
  export type PropertyPaymentMethodLinkSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
611
+ tenantId?: boolean;
473
612
  propertyId?: boolean;
474
613
  paymentMethodId?: boolean;
475
614
  isDefault?: boolean;
476
615
  isActive?: boolean;
477
616
  createdAt?: boolean;
617
+ tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
478
618
  property?: boolean | Prisma.PropertyDefaultArgs<ExtArgs>;
479
619
  paymentMethod?: boolean | Prisma.PropertyPaymentMethodDefaultArgs<ExtArgs>;
480
620
  }, ExtArgs["result"]["propertyPaymentMethodLink"]>;
481
621
  export type PropertyPaymentMethodLinkSelectScalar = {
622
+ tenantId?: boolean;
482
623
  propertyId?: boolean;
483
624
  paymentMethodId?: boolean;
484
625
  isDefault?: boolean;
485
626
  isActive?: boolean;
486
627
  createdAt?: boolean;
487
628
  };
488
- export type PropertyPaymentMethodLinkOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"propertyId" | "paymentMethodId" | "isDefault" | "isActive" | "createdAt", ExtArgs["result"]["propertyPaymentMethodLink"]>;
629
+ export type PropertyPaymentMethodLinkOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"tenantId" | "propertyId" | "paymentMethodId" | "isDefault" | "isActive" | "createdAt", ExtArgs["result"]["propertyPaymentMethodLink"]>;
489
630
  export type PropertyPaymentMethodLinkInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
631
+ tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
490
632
  property?: boolean | Prisma.PropertyDefaultArgs<ExtArgs>;
491
633
  paymentMethod?: boolean | Prisma.PropertyPaymentMethodDefaultArgs<ExtArgs>;
492
634
  };
493
635
  export type $PropertyPaymentMethodLinkPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
494
636
  name: "PropertyPaymentMethodLink";
495
637
  objects: {
638
+ tenant: Prisma.$TenantPayload<ExtArgs>;
496
639
  property: Prisma.$PropertyPayload<ExtArgs>;
497
640
  paymentMethod: Prisma.$PropertyPaymentMethodPayload<ExtArgs>;
498
641
  };
499
642
  scalars: runtime.Types.Extensions.GetPayloadResult<{
643
+ tenantId: string;
500
644
  propertyId: string;
501
645
  paymentMethodId: string;
502
646
  isDefault: boolean;
@@ -582,8 +726,8 @@ export interface PropertyPaymentMethodLinkDelegate<ExtArgs extends runtime.Types
582
726
  * // Get first 10 PropertyPaymentMethodLinks
583
727
  * const propertyPaymentMethodLinks = await prisma.propertyPaymentMethodLink.findMany({ take: 10 })
584
728
  *
585
- * // Only select the `propertyId`
586
- * const propertyPaymentMethodLinkWithPropertyIdOnly = await prisma.propertyPaymentMethodLink.findMany({ select: { propertyId: true } })
729
+ * // Only select the `tenantId`
730
+ * const propertyPaymentMethodLinkWithTenantIdOnly = await prisma.propertyPaymentMethodLink.findMany({ select: { tenantId: true } })
587
731
  *
588
732
  */
589
733
  findMany<T extends PropertyPaymentMethodLinkFindManyArgs>(args?: Prisma.SelectSubset<T, PropertyPaymentMethodLinkFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PropertyPaymentMethodLinkPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
@@ -779,6 +923,7 @@ export interface PropertyPaymentMethodLinkDelegate<ExtArgs extends runtime.Types
779
923
  */
780
924
  export interface Prisma__PropertyPaymentMethodLinkClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
781
925
  readonly [Symbol.toStringTag]: "PrismaPromise";
926
+ 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>;
782
927
  property<T extends Prisma.PropertyDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PropertyDefaultArgs<ExtArgs>>): Prisma.Prisma__PropertyClient<runtime.Types.Result.GetResult<Prisma.$PropertyPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
783
928
  paymentMethod<T extends Prisma.PropertyPaymentMethodDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PropertyPaymentMethodDefaultArgs<ExtArgs>>): Prisma.Prisma__PropertyPaymentMethodClient<runtime.Types.Result.GetResult<Prisma.$PropertyPaymentMethodPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
784
929
  /**
@@ -806,6 +951,7 @@ export interface Prisma__PropertyPaymentMethodLinkClient<T, Null = never, ExtArg
806
951
  * Fields of the PropertyPaymentMethodLink model
807
952
  */
808
953
  export interface PropertyPaymentMethodLinkFieldRefs {
954
+ readonly tenantId: Prisma.FieldRef<"PropertyPaymentMethodLink", 'String'>;
809
955
  readonly propertyId: Prisma.FieldRef<"PropertyPaymentMethodLink", 'String'>;
810
956
  readonly paymentMethodId: Prisma.FieldRef<"PropertyPaymentMethodLink", 'String'>;
811
957
  readonly isDefault: Prisma.FieldRef<"PropertyPaymentMethodLink", 'Boolean'>;