@valentine-efagene/qshelter-common 2.0.19 → 2.0.22

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 (52) hide show
  1. package/dist/generated/client/browser.d.ts +45 -30
  2. package/dist/generated/client/client.d.ts +45 -30
  3. package/dist/generated/client/commonInputTypes.d.ts +40 -0
  4. package/dist/generated/client/internal/class.d.ts +93 -60
  5. package/dist/generated/client/internal/class.js +2 -2
  6. package/dist/generated/client/internal/prismaNamespace.d.ts +1050 -720
  7. package/dist/generated/client/internal/prismaNamespace.js +313 -190
  8. package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +344 -215
  9. package/dist/generated/client/internal/prismaNamespaceBrowser.js +313 -190
  10. package/dist/generated/client/models/Amenity.d.ts +168 -1
  11. package/dist/generated/client/models/Contract.d.ts +2037 -298
  12. package/dist/generated/client/models/ContractDocument.d.ts +299 -12
  13. package/dist/generated/client/models/ContractEvent.d.ts +1052 -0
  14. package/dist/generated/client/models/ContractEvent.js +1 -0
  15. package/dist/generated/client/models/ContractInstallment.d.ts +1656 -0
  16. package/dist/generated/client/models/ContractInstallment.js +1 -0
  17. package/dist/generated/client/models/ContractPayment.d.ts +2026 -0
  18. package/dist/generated/client/models/ContractPayment.js +1 -0
  19. package/dist/generated/client/models/ContractPhase.d.ts +2467 -0
  20. package/dist/generated/client/models/ContractPhase.js +1 -0
  21. package/dist/generated/client/models/ContractPhaseStep.d.ts +1678 -0
  22. package/dist/generated/client/models/ContractPhaseStep.js +1 -0
  23. package/dist/generated/client/models/ContractPhaseStepApproval.d.ts +1249 -0
  24. package/dist/generated/client/models/ContractPhaseStepApproval.js +1 -0
  25. package/dist/generated/client/models/ContractTransition.d.ts +1118 -0
  26. package/dist/generated/client/models/ContractTransition.js +1 -0
  27. package/dist/generated/client/models/DomainEvent.d.ts +1240 -0
  28. package/dist/generated/client/models/DomainEvent.js +1 -0
  29. package/dist/generated/client/models/PaymentPlan.d.ts +325 -1062
  30. package/dist/generated/client/models/Property.d.ts +154 -684
  31. package/dist/generated/client/models/PropertyPaymentMethod.d.ts +1498 -0
  32. package/dist/generated/client/models/PropertyPaymentMethod.js +1 -0
  33. package/dist/generated/client/models/PropertyPaymentMethodLink.d.ts +1158 -0
  34. package/dist/generated/client/models/PropertyPaymentMethodLink.js +1 -0
  35. package/dist/generated/client/models/PropertyPaymentMethodPhase.d.ts +1656 -0
  36. package/dist/generated/client/models/PropertyPaymentMethodPhase.js +1 -0
  37. package/dist/generated/client/models/PropertyUnit.d.ts +1598 -0
  38. package/dist/generated/client/models/PropertyUnit.js +1 -0
  39. package/dist/generated/client/models/PropertyVariant.d.ts +2079 -0
  40. package/dist/generated/client/models/PropertyVariant.js +1 -0
  41. package/dist/generated/client/models/PropertyVariantAmenity.d.ts +1080 -0
  42. package/dist/generated/client/models/PropertyVariantAmenity.js +1 -0
  43. package/dist/generated/client/models/PropertyVariantMedia.d.ts +1189 -0
  44. package/dist/generated/client/models/PropertyVariantMedia.js +1 -0
  45. package/dist/generated/client/models/User.d.ts +684 -427
  46. package/dist/generated/client/models/index.d.ts +15 -12
  47. package/dist/generated/client/models/index.js +15 -12
  48. package/dist/generated/client/models.d.ts +15 -12
  49. package/dist/src/config/config.service.d.ts +0 -1
  50. package/dist/src/config/config.service.js +0 -1
  51. package/package.json +2 -1
  52. package/prisma/schema.prisma +544 -269
@@ -0,0 +1,1080 @@
1
+ import type * as runtime from "@prisma/client/runtime/client";
2
+ import type * as Prisma from "../internal/prismaNamespace.js";
3
+ /**
4
+ * Model PropertyVariantAmenity
5
+ *
6
+ */
7
+ export type PropertyVariantAmenityModel = runtime.Types.Result.DefaultSelection<Prisma.$PropertyVariantAmenityPayload>;
8
+ export type AggregatePropertyVariantAmenity = {
9
+ _count: PropertyVariantAmenityCountAggregateOutputType | null;
10
+ _min: PropertyVariantAmenityMinAggregateOutputType | null;
11
+ _max: PropertyVariantAmenityMaxAggregateOutputType | null;
12
+ };
13
+ export type PropertyVariantAmenityMinAggregateOutputType = {
14
+ variantId: string | null;
15
+ amenityId: string | null;
16
+ createdAt: Date | null;
17
+ };
18
+ export type PropertyVariantAmenityMaxAggregateOutputType = {
19
+ variantId: string | null;
20
+ amenityId: string | null;
21
+ createdAt: Date | null;
22
+ };
23
+ export type PropertyVariantAmenityCountAggregateOutputType = {
24
+ variantId: number;
25
+ amenityId: number;
26
+ createdAt: number;
27
+ _all: number;
28
+ };
29
+ export type PropertyVariantAmenityMinAggregateInputType = {
30
+ variantId?: true;
31
+ amenityId?: true;
32
+ createdAt?: true;
33
+ };
34
+ export type PropertyVariantAmenityMaxAggregateInputType = {
35
+ variantId?: true;
36
+ amenityId?: true;
37
+ createdAt?: true;
38
+ };
39
+ export type PropertyVariantAmenityCountAggregateInputType = {
40
+ variantId?: true;
41
+ amenityId?: true;
42
+ createdAt?: true;
43
+ _all?: true;
44
+ };
45
+ export type PropertyVariantAmenityAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
46
+ /**
47
+ * Filter which PropertyVariantAmenity to aggregate.
48
+ */
49
+ where?: Prisma.PropertyVariantAmenityWhereInput;
50
+ /**
51
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
52
+ *
53
+ * Determine the order of PropertyVariantAmenities to fetch.
54
+ */
55
+ orderBy?: Prisma.PropertyVariantAmenityOrderByWithRelationInput | Prisma.PropertyVariantAmenityOrderByWithRelationInput[];
56
+ /**
57
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
58
+ *
59
+ * Sets the start position
60
+ */
61
+ cursor?: Prisma.PropertyVariantAmenityWhereUniqueInput;
62
+ /**
63
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
64
+ *
65
+ * Take `±n` PropertyVariantAmenities from the position of the cursor.
66
+ */
67
+ take?: number;
68
+ /**
69
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
70
+ *
71
+ * Skip the first `n` PropertyVariantAmenities.
72
+ */
73
+ skip?: number;
74
+ /**
75
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
76
+ *
77
+ * Count returned PropertyVariantAmenities
78
+ **/
79
+ _count?: true | PropertyVariantAmenityCountAggregateInputType;
80
+ /**
81
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
82
+ *
83
+ * Select which fields to find the minimum value
84
+ **/
85
+ _min?: PropertyVariantAmenityMinAggregateInputType;
86
+ /**
87
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
88
+ *
89
+ * Select which fields to find the maximum value
90
+ **/
91
+ _max?: PropertyVariantAmenityMaxAggregateInputType;
92
+ };
93
+ export type GetPropertyVariantAmenityAggregateType<T extends PropertyVariantAmenityAggregateArgs> = {
94
+ [P in keyof T & keyof AggregatePropertyVariantAmenity]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregatePropertyVariantAmenity[P]> : Prisma.GetScalarType<T[P], AggregatePropertyVariantAmenity[P]>;
95
+ };
96
+ export type PropertyVariantAmenityGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
97
+ where?: Prisma.PropertyVariantAmenityWhereInput;
98
+ orderBy?: Prisma.PropertyVariantAmenityOrderByWithAggregationInput | Prisma.PropertyVariantAmenityOrderByWithAggregationInput[];
99
+ by: Prisma.PropertyVariantAmenityScalarFieldEnum[] | Prisma.PropertyVariantAmenityScalarFieldEnum;
100
+ having?: Prisma.PropertyVariantAmenityScalarWhereWithAggregatesInput;
101
+ take?: number;
102
+ skip?: number;
103
+ _count?: PropertyVariantAmenityCountAggregateInputType | true;
104
+ _min?: PropertyVariantAmenityMinAggregateInputType;
105
+ _max?: PropertyVariantAmenityMaxAggregateInputType;
106
+ };
107
+ export type PropertyVariantAmenityGroupByOutputType = {
108
+ variantId: string;
109
+ amenityId: string;
110
+ createdAt: Date;
111
+ _count: PropertyVariantAmenityCountAggregateOutputType | null;
112
+ _min: PropertyVariantAmenityMinAggregateOutputType | null;
113
+ _max: PropertyVariantAmenityMaxAggregateOutputType | null;
114
+ };
115
+ type GetPropertyVariantAmenityGroupByPayload<T extends PropertyVariantAmenityGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<PropertyVariantAmenityGroupByOutputType, T['by']> & {
116
+ [P in ((keyof T) & (keyof PropertyVariantAmenityGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], PropertyVariantAmenityGroupByOutputType[P]> : Prisma.GetScalarType<T[P], PropertyVariantAmenityGroupByOutputType[P]>;
117
+ }>>;
118
+ export type PropertyVariantAmenityWhereInput = {
119
+ AND?: Prisma.PropertyVariantAmenityWhereInput | Prisma.PropertyVariantAmenityWhereInput[];
120
+ OR?: Prisma.PropertyVariantAmenityWhereInput[];
121
+ NOT?: Prisma.PropertyVariantAmenityWhereInput | Prisma.PropertyVariantAmenityWhereInput[];
122
+ variantId?: Prisma.StringFilter<"PropertyVariantAmenity"> | string;
123
+ amenityId?: Prisma.StringFilter<"PropertyVariantAmenity"> | string;
124
+ createdAt?: Prisma.DateTimeFilter<"PropertyVariantAmenity"> | Date | string;
125
+ variant?: Prisma.XOR<Prisma.PropertyVariantScalarRelationFilter, Prisma.PropertyVariantWhereInput>;
126
+ amenity?: Prisma.XOR<Prisma.AmenityScalarRelationFilter, Prisma.AmenityWhereInput>;
127
+ };
128
+ export type PropertyVariantAmenityOrderByWithRelationInput = {
129
+ variantId?: Prisma.SortOrder;
130
+ amenityId?: Prisma.SortOrder;
131
+ createdAt?: Prisma.SortOrder;
132
+ variant?: Prisma.PropertyVariantOrderByWithRelationInput;
133
+ amenity?: Prisma.AmenityOrderByWithRelationInput;
134
+ _relevance?: Prisma.PropertyVariantAmenityOrderByRelevanceInput;
135
+ };
136
+ export type PropertyVariantAmenityWhereUniqueInput = Prisma.AtLeast<{
137
+ variantId_amenityId?: Prisma.PropertyVariantAmenityVariantIdAmenityIdCompoundUniqueInput;
138
+ AND?: Prisma.PropertyVariantAmenityWhereInput | Prisma.PropertyVariantAmenityWhereInput[];
139
+ OR?: Prisma.PropertyVariantAmenityWhereInput[];
140
+ NOT?: Prisma.PropertyVariantAmenityWhereInput | Prisma.PropertyVariantAmenityWhereInput[];
141
+ variantId?: Prisma.StringFilter<"PropertyVariantAmenity"> | string;
142
+ amenityId?: Prisma.StringFilter<"PropertyVariantAmenity"> | string;
143
+ createdAt?: Prisma.DateTimeFilter<"PropertyVariantAmenity"> | Date | string;
144
+ variant?: Prisma.XOR<Prisma.PropertyVariantScalarRelationFilter, Prisma.PropertyVariantWhereInput>;
145
+ amenity?: Prisma.XOR<Prisma.AmenityScalarRelationFilter, Prisma.AmenityWhereInput>;
146
+ }, "variantId_amenityId">;
147
+ export type PropertyVariantAmenityOrderByWithAggregationInput = {
148
+ variantId?: Prisma.SortOrder;
149
+ amenityId?: Prisma.SortOrder;
150
+ createdAt?: Prisma.SortOrder;
151
+ _count?: Prisma.PropertyVariantAmenityCountOrderByAggregateInput;
152
+ _max?: Prisma.PropertyVariantAmenityMaxOrderByAggregateInput;
153
+ _min?: Prisma.PropertyVariantAmenityMinOrderByAggregateInput;
154
+ };
155
+ export type PropertyVariantAmenityScalarWhereWithAggregatesInput = {
156
+ AND?: Prisma.PropertyVariantAmenityScalarWhereWithAggregatesInput | Prisma.PropertyVariantAmenityScalarWhereWithAggregatesInput[];
157
+ OR?: Prisma.PropertyVariantAmenityScalarWhereWithAggregatesInput[];
158
+ NOT?: Prisma.PropertyVariantAmenityScalarWhereWithAggregatesInput | Prisma.PropertyVariantAmenityScalarWhereWithAggregatesInput[];
159
+ variantId?: Prisma.StringWithAggregatesFilter<"PropertyVariantAmenity"> | string;
160
+ amenityId?: Prisma.StringWithAggregatesFilter<"PropertyVariantAmenity"> | string;
161
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"PropertyVariantAmenity"> | Date | string;
162
+ };
163
+ export type PropertyVariantAmenityCreateInput = {
164
+ createdAt?: Date | string;
165
+ variant: Prisma.PropertyVariantCreateNestedOneWithoutAmenitiesInput;
166
+ amenity: Prisma.AmenityCreateNestedOneWithoutVariantsInput;
167
+ };
168
+ export type PropertyVariantAmenityUncheckedCreateInput = {
169
+ variantId: string;
170
+ amenityId: string;
171
+ createdAt?: Date | string;
172
+ };
173
+ export type PropertyVariantAmenityUpdateInput = {
174
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
175
+ variant?: Prisma.PropertyVariantUpdateOneRequiredWithoutAmenitiesNestedInput;
176
+ amenity?: Prisma.AmenityUpdateOneRequiredWithoutVariantsNestedInput;
177
+ };
178
+ export type PropertyVariantAmenityUncheckedUpdateInput = {
179
+ variantId?: Prisma.StringFieldUpdateOperationsInput | string;
180
+ amenityId?: Prisma.StringFieldUpdateOperationsInput | string;
181
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
182
+ };
183
+ export type PropertyVariantAmenityCreateManyInput = {
184
+ variantId: string;
185
+ amenityId: string;
186
+ createdAt?: Date | string;
187
+ };
188
+ export type PropertyVariantAmenityUpdateManyMutationInput = {
189
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
190
+ };
191
+ export type PropertyVariantAmenityUncheckedUpdateManyInput = {
192
+ variantId?: Prisma.StringFieldUpdateOperationsInput | string;
193
+ amenityId?: Prisma.StringFieldUpdateOperationsInput | string;
194
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
195
+ };
196
+ export type PropertyVariantAmenityListRelationFilter = {
197
+ every?: Prisma.PropertyVariantAmenityWhereInput;
198
+ some?: Prisma.PropertyVariantAmenityWhereInput;
199
+ none?: Prisma.PropertyVariantAmenityWhereInput;
200
+ };
201
+ export type PropertyVariantAmenityOrderByRelationAggregateInput = {
202
+ _count?: Prisma.SortOrder;
203
+ };
204
+ export type PropertyVariantAmenityOrderByRelevanceInput = {
205
+ fields: Prisma.PropertyVariantAmenityOrderByRelevanceFieldEnum | Prisma.PropertyVariantAmenityOrderByRelevanceFieldEnum[];
206
+ sort: Prisma.SortOrder;
207
+ search: string;
208
+ };
209
+ export type PropertyVariantAmenityVariantIdAmenityIdCompoundUniqueInput = {
210
+ variantId: string;
211
+ amenityId: string;
212
+ };
213
+ export type PropertyVariantAmenityCountOrderByAggregateInput = {
214
+ variantId?: Prisma.SortOrder;
215
+ amenityId?: Prisma.SortOrder;
216
+ createdAt?: Prisma.SortOrder;
217
+ };
218
+ export type PropertyVariantAmenityMaxOrderByAggregateInput = {
219
+ variantId?: Prisma.SortOrder;
220
+ amenityId?: Prisma.SortOrder;
221
+ createdAt?: Prisma.SortOrder;
222
+ };
223
+ export type PropertyVariantAmenityMinOrderByAggregateInput = {
224
+ variantId?: Prisma.SortOrder;
225
+ amenityId?: Prisma.SortOrder;
226
+ createdAt?: Prisma.SortOrder;
227
+ };
228
+ export type PropertyVariantAmenityCreateNestedManyWithoutAmenityInput = {
229
+ create?: Prisma.XOR<Prisma.PropertyVariantAmenityCreateWithoutAmenityInput, Prisma.PropertyVariantAmenityUncheckedCreateWithoutAmenityInput> | Prisma.PropertyVariantAmenityCreateWithoutAmenityInput[] | Prisma.PropertyVariantAmenityUncheckedCreateWithoutAmenityInput[];
230
+ connectOrCreate?: Prisma.PropertyVariantAmenityCreateOrConnectWithoutAmenityInput | Prisma.PropertyVariantAmenityCreateOrConnectWithoutAmenityInput[];
231
+ createMany?: Prisma.PropertyVariantAmenityCreateManyAmenityInputEnvelope;
232
+ connect?: Prisma.PropertyVariantAmenityWhereUniqueInput | Prisma.PropertyVariantAmenityWhereUniqueInput[];
233
+ };
234
+ export type PropertyVariantAmenityUncheckedCreateNestedManyWithoutAmenityInput = {
235
+ create?: Prisma.XOR<Prisma.PropertyVariantAmenityCreateWithoutAmenityInput, Prisma.PropertyVariantAmenityUncheckedCreateWithoutAmenityInput> | Prisma.PropertyVariantAmenityCreateWithoutAmenityInput[] | Prisma.PropertyVariantAmenityUncheckedCreateWithoutAmenityInput[];
236
+ connectOrCreate?: Prisma.PropertyVariantAmenityCreateOrConnectWithoutAmenityInput | Prisma.PropertyVariantAmenityCreateOrConnectWithoutAmenityInput[];
237
+ createMany?: Prisma.PropertyVariantAmenityCreateManyAmenityInputEnvelope;
238
+ connect?: Prisma.PropertyVariantAmenityWhereUniqueInput | Prisma.PropertyVariantAmenityWhereUniqueInput[];
239
+ };
240
+ export type PropertyVariantAmenityUpdateManyWithoutAmenityNestedInput = {
241
+ create?: Prisma.XOR<Prisma.PropertyVariantAmenityCreateWithoutAmenityInput, Prisma.PropertyVariantAmenityUncheckedCreateWithoutAmenityInput> | Prisma.PropertyVariantAmenityCreateWithoutAmenityInput[] | Prisma.PropertyVariantAmenityUncheckedCreateWithoutAmenityInput[];
242
+ connectOrCreate?: Prisma.PropertyVariantAmenityCreateOrConnectWithoutAmenityInput | Prisma.PropertyVariantAmenityCreateOrConnectWithoutAmenityInput[];
243
+ upsert?: Prisma.PropertyVariantAmenityUpsertWithWhereUniqueWithoutAmenityInput | Prisma.PropertyVariantAmenityUpsertWithWhereUniqueWithoutAmenityInput[];
244
+ createMany?: Prisma.PropertyVariantAmenityCreateManyAmenityInputEnvelope;
245
+ set?: Prisma.PropertyVariantAmenityWhereUniqueInput | Prisma.PropertyVariantAmenityWhereUniqueInput[];
246
+ disconnect?: Prisma.PropertyVariantAmenityWhereUniqueInput | Prisma.PropertyVariantAmenityWhereUniqueInput[];
247
+ delete?: Prisma.PropertyVariantAmenityWhereUniqueInput | Prisma.PropertyVariantAmenityWhereUniqueInput[];
248
+ connect?: Prisma.PropertyVariantAmenityWhereUniqueInput | Prisma.PropertyVariantAmenityWhereUniqueInput[];
249
+ update?: Prisma.PropertyVariantAmenityUpdateWithWhereUniqueWithoutAmenityInput | Prisma.PropertyVariantAmenityUpdateWithWhereUniqueWithoutAmenityInput[];
250
+ updateMany?: Prisma.PropertyVariantAmenityUpdateManyWithWhereWithoutAmenityInput | Prisma.PropertyVariantAmenityUpdateManyWithWhereWithoutAmenityInput[];
251
+ deleteMany?: Prisma.PropertyVariantAmenityScalarWhereInput | Prisma.PropertyVariantAmenityScalarWhereInput[];
252
+ };
253
+ export type PropertyVariantAmenityUncheckedUpdateManyWithoutAmenityNestedInput = {
254
+ create?: Prisma.XOR<Prisma.PropertyVariantAmenityCreateWithoutAmenityInput, Prisma.PropertyVariantAmenityUncheckedCreateWithoutAmenityInput> | Prisma.PropertyVariantAmenityCreateWithoutAmenityInput[] | Prisma.PropertyVariantAmenityUncheckedCreateWithoutAmenityInput[];
255
+ connectOrCreate?: Prisma.PropertyVariantAmenityCreateOrConnectWithoutAmenityInput | Prisma.PropertyVariantAmenityCreateOrConnectWithoutAmenityInput[];
256
+ upsert?: Prisma.PropertyVariantAmenityUpsertWithWhereUniqueWithoutAmenityInput | Prisma.PropertyVariantAmenityUpsertWithWhereUniqueWithoutAmenityInput[];
257
+ createMany?: Prisma.PropertyVariantAmenityCreateManyAmenityInputEnvelope;
258
+ set?: Prisma.PropertyVariantAmenityWhereUniqueInput | Prisma.PropertyVariantAmenityWhereUniqueInput[];
259
+ disconnect?: Prisma.PropertyVariantAmenityWhereUniqueInput | Prisma.PropertyVariantAmenityWhereUniqueInput[];
260
+ delete?: Prisma.PropertyVariantAmenityWhereUniqueInput | Prisma.PropertyVariantAmenityWhereUniqueInput[];
261
+ connect?: Prisma.PropertyVariantAmenityWhereUniqueInput | Prisma.PropertyVariantAmenityWhereUniqueInput[];
262
+ update?: Prisma.PropertyVariantAmenityUpdateWithWhereUniqueWithoutAmenityInput | Prisma.PropertyVariantAmenityUpdateWithWhereUniqueWithoutAmenityInput[];
263
+ updateMany?: Prisma.PropertyVariantAmenityUpdateManyWithWhereWithoutAmenityInput | Prisma.PropertyVariantAmenityUpdateManyWithWhereWithoutAmenityInput[];
264
+ deleteMany?: Prisma.PropertyVariantAmenityScalarWhereInput | Prisma.PropertyVariantAmenityScalarWhereInput[];
265
+ };
266
+ export type PropertyVariantAmenityCreateNestedManyWithoutVariantInput = {
267
+ create?: Prisma.XOR<Prisma.PropertyVariantAmenityCreateWithoutVariantInput, Prisma.PropertyVariantAmenityUncheckedCreateWithoutVariantInput> | Prisma.PropertyVariantAmenityCreateWithoutVariantInput[] | Prisma.PropertyVariantAmenityUncheckedCreateWithoutVariantInput[];
268
+ connectOrCreate?: Prisma.PropertyVariantAmenityCreateOrConnectWithoutVariantInput | Prisma.PropertyVariantAmenityCreateOrConnectWithoutVariantInput[];
269
+ createMany?: Prisma.PropertyVariantAmenityCreateManyVariantInputEnvelope;
270
+ connect?: Prisma.PropertyVariantAmenityWhereUniqueInput | Prisma.PropertyVariantAmenityWhereUniqueInput[];
271
+ };
272
+ export type PropertyVariantAmenityUncheckedCreateNestedManyWithoutVariantInput = {
273
+ create?: Prisma.XOR<Prisma.PropertyVariantAmenityCreateWithoutVariantInput, Prisma.PropertyVariantAmenityUncheckedCreateWithoutVariantInput> | Prisma.PropertyVariantAmenityCreateWithoutVariantInput[] | Prisma.PropertyVariantAmenityUncheckedCreateWithoutVariantInput[];
274
+ connectOrCreate?: Prisma.PropertyVariantAmenityCreateOrConnectWithoutVariantInput | Prisma.PropertyVariantAmenityCreateOrConnectWithoutVariantInput[];
275
+ createMany?: Prisma.PropertyVariantAmenityCreateManyVariantInputEnvelope;
276
+ connect?: Prisma.PropertyVariantAmenityWhereUniqueInput | Prisma.PropertyVariantAmenityWhereUniqueInput[];
277
+ };
278
+ export type PropertyVariantAmenityUpdateManyWithoutVariantNestedInput = {
279
+ create?: Prisma.XOR<Prisma.PropertyVariantAmenityCreateWithoutVariantInput, Prisma.PropertyVariantAmenityUncheckedCreateWithoutVariantInput> | Prisma.PropertyVariantAmenityCreateWithoutVariantInput[] | Prisma.PropertyVariantAmenityUncheckedCreateWithoutVariantInput[];
280
+ connectOrCreate?: Prisma.PropertyVariantAmenityCreateOrConnectWithoutVariantInput | Prisma.PropertyVariantAmenityCreateOrConnectWithoutVariantInput[];
281
+ upsert?: Prisma.PropertyVariantAmenityUpsertWithWhereUniqueWithoutVariantInput | Prisma.PropertyVariantAmenityUpsertWithWhereUniqueWithoutVariantInput[];
282
+ createMany?: Prisma.PropertyVariantAmenityCreateManyVariantInputEnvelope;
283
+ set?: Prisma.PropertyVariantAmenityWhereUniqueInput | Prisma.PropertyVariantAmenityWhereUniqueInput[];
284
+ disconnect?: Prisma.PropertyVariantAmenityWhereUniqueInput | Prisma.PropertyVariantAmenityWhereUniqueInput[];
285
+ delete?: Prisma.PropertyVariantAmenityWhereUniqueInput | Prisma.PropertyVariantAmenityWhereUniqueInput[];
286
+ connect?: Prisma.PropertyVariantAmenityWhereUniqueInput | Prisma.PropertyVariantAmenityWhereUniqueInput[];
287
+ update?: Prisma.PropertyVariantAmenityUpdateWithWhereUniqueWithoutVariantInput | Prisma.PropertyVariantAmenityUpdateWithWhereUniqueWithoutVariantInput[];
288
+ updateMany?: Prisma.PropertyVariantAmenityUpdateManyWithWhereWithoutVariantInput | Prisma.PropertyVariantAmenityUpdateManyWithWhereWithoutVariantInput[];
289
+ deleteMany?: Prisma.PropertyVariantAmenityScalarWhereInput | Prisma.PropertyVariantAmenityScalarWhereInput[];
290
+ };
291
+ export type PropertyVariantAmenityUncheckedUpdateManyWithoutVariantNestedInput = {
292
+ create?: Prisma.XOR<Prisma.PropertyVariantAmenityCreateWithoutVariantInput, Prisma.PropertyVariantAmenityUncheckedCreateWithoutVariantInput> | Prisma.PropertyVariantAmenityCreateWithoutVariantInput[] | Prisma.PropertyVariantAmenityUncheckedCreateWithoutVariantInput[];
293
+ connectOrCreate?: Prisma.PropertyVariantAmenityCreateOrConnectWithoutVariantInput | Prisma.PropertyVariantAmenityCreateOrConnectWithoutVariantInput[];
294
+ upsert?: Prisma.PropertyVariantAmenityUpsertWithWhereUniqueWithoutVariantInput | Prisma.PropertyVariantAmenityUpsertWithWhereUniqueWithoutVariantInput[];
295
+ createMany?: Prisma.PropertyVariantAmenityCreateManyVariantInputEnvelope;
296
+ set?: Prisma.PropertyVariantAmenityWhereUniqueInput | Prisma.PropertyVariantAmenityWhereUniqueInput[];
297
+ disconnect?: Prisma.PropertyVariantAmenityWhereUniqueInput | Prisma.PropertyVariantAmenityWhereUniqueInput[];
298
+ delete?: Prisma.PropertyVariantAmenityWhereUniqueInput | Prisma.PropertyVariantAmenityWhereUniqueInput[];
299
+ connect?: Prisma.PropertyVariantAmenityWhereUniqueInput | Prisma.PropertyVariantAmenityWhereUniqueInput[];
300
+ update?: Prisma.PropertyVariantAmenityUpdateWithWhereUniqueWithoutVariantInput | Prisma.PropertyVariantAmenityUpdateWithWhereUniqueWithoutVariantInput[];
301
+ updateMany?: Prisma.PropertyVariantAmenityUpdateManyWithWhereWithoutVariantInput | Prisma.PropertyVariantAmenityUpdateManyWithWhereWithoutVariantInput[];
302
+ deleteMany?: Prisma.PropertyVariantAmenityScalarWhereInput | Prisma.PropertyVariantAmenityScalarWhereInput[];
303
+ };
304
+ export type PropertyVariantAmenityCreateWithoutAmenityInput = {
305
+ createdAt?: Date | string;
306
+ variant: Prisma.PropertyVariantCreateNestedOneWithoutAmenitiesInput;
307
+ };
308
+ export type PropertyVariantAmenityUncheckedCreateWithoutAmenityInput = {
309
+ variantId: string;
310
+ createdAt?: Date | string;
311
+ };
312
+ export type PropertyVariantAmenityCreateOrConnectWithoutAmenityInput = {
313
+ where: Prisma.PropertyVariantAmenityWhereUniqueInput;
314
+ create: Prisma.XOR<Prisma.PropertyVariantAmenityCreateWithoutAmenityInput, Prisma.PropertyVariantAmenityUncheckedCreateWithoutAmenityInput>;
315
+ };
316
+ export type PropertyVariantAmenityCreateManyAmenityInputEnvelope = {
317
+ data: Prisma.PropertyVariantAmenityCreateManyAmenityInput | Prisma.PropertyVariantAmenityCreateManyAmenityInput[];
318
+ skipDuplicates?: boolean;
319
+ };
320
+ export type PropertyVariantAmenityUpsertWithWhereUniqueWithoutAmenityInput = {
321
+ where: Prisma.PropertyVariantAmenityWhereUniqueInput;
322
+ update: Prisma.XOR<Prisma.PropertyVariantAmenityUpdateWithoutAmenityInput, Prisma.PropertyVariantAmenityUncheckedUpdateWithoutAmenityInput>;
323
+ create: Prisma.XOR<Prisma.PropertyVariantAmenityCreateWithoutAmenityInput, Prisma.PropertyVariantAmenityUncheckedCreateWithoutAmenityInput>;
324
+ };
325
+ export type PropertyVariantAmenityUpdateWithWhereUniqueWithoutAmenityInput = {
326
+ where: Prisma.PropertyVariantAmenityWhereUniqueInput;
327
+ data: Prisma.XOR<Prisma.PropertyVariantAmenityUpdateWithoutAmenityInput, Prisma.PropertyVariantAmenityUncheckedUpdateWithoutAmenityInput>;
328
+ };
329
+ export type PropertyVariantAmenityUpdateManyWithWhereWithoutAmenityInput = {
330
+ where: Prisma.PropertyVariantAmenityScalarWhereInput;
331
+ data: Prisma.XOR<Prisma.PropertyVariantAmenityUpdateManyMutationInput, Prisma.PropertyVariantAmenityUncheckedUpdateManyWithoutAmenityInput>;
332
+ };
333
+ export type PropertyVariantAmenityScalarWhereInput = {
334
+ AND?: Prisma.PropertyVariantAmenityScalarWhereInput | Prisma.PropertyVariantAmenityScalarWhereInput[];
335
+ OR?: Prisma.PropertyVariantAmenityScalarWhereInput[];
336
+ NOT?: Prisma.PropertyVariantAmenityScalarWhereInput | Prisma.PropertyVariantAmenityScalarWhereInput[];
337
+ variantId?: Prisma.StringFilter<"PropertyVariantAmenity"> | string;
338
+ amenityId?: Prisma.StringFilter<"PropertyVariantAmenity"> | string;
339
+ createdAt?: Prisma.DateTimeFilter<"PropertyVariantAmenity"> | Date | string;
340
+ };
341
+ export type PropertyVariantAmenityCreateWithoutVariantInput = {
342
+ createdAt?: Date | string;
343
+ amenity: Prisma.AmenityCreateNestedOneWithoutVariantsInput;
344
+ };
345
+ export type PropertyVariantAmenityUncheckedCreateWithoutVariantInput = {
346
+ amenityId: string;
347
+ createdAt?: Date | string;
348
+ };
349
+ export type PropertyVariantAmenityCreateOrConnectWithoutVariantInput = {
350
+ where: Prisma.PropertyVariantAmenityWhereUniqueInput;
351
+ create: Prisma.XOR<Prisma.PropertyVariantAmenityCreateWithoutVariantInput, Prisma.PropertyVariantAmenityUncheckedCreateWithoutVariantInput>;
352
+ };
353
+ export type PropertyVariantAmenityCreateManyVariantInputEnvelope = {
354
+ data: Prisma.PropertyVariantAmenityCreateManyVariantInput | Prisma.PropertyVariantAmenityCreateManyVariantInput[];
355
+ skipDuplicates?: boolean;
356
+ };
357
+ export type PropertyVariantAmenityUpsertWithWhereUniqueWithoutVariantInput = {
358
+ where: Prisma.PropertyVariantAmenityWhereUniqueInput;
359
+ update: Prisma.XOR<Prisma.PropertyVariantAmenityUpdateWithoutVariantInput, Prisma.PropertyVariantAmenityUncheckedUpdateWithoutVariantInput>;
360
+ create: Prisma.XOR<Prisma.PropertyVariantAmenityCreateWithoutVariantInput, Prisma.PropertyVariantAmenityUncheckedCreateWithoutVariantInput>;
361
+ };
362
+ export type PropertyVariantAmenityUpdateWithWhereUniqueWithoutVariantInput = {
363
+ where: Prisma.PropertyVariantAmenityWhereUniqueInput;
364
+ data: Prisma.XOR<Prisma.PropertyVariantAmenityUpdateWithoutVariantInput, Prisma.PropertyVariantAmenityUncheckedUpdateWithoutVariantInput>;
365
+ };
366
+ export type PropertyVariantAmenityUpdateManyWithWhereWithoutVariantInput = {
367
+ where: Prisma.PropertyVariantAmenityScalarWhereInput;
368
+ data: Prisma.XOR<Prisma.PropertyVariantAmenityUpdateManyMutationInput, Prisma.PropertyVariantAmenityUncheckedUpdateManyWithoutVariantInput>;
369
+ };
370
+ export type PropertyVariantAmenityCreateManyAmenityInput = {
371
+ variantId: string;
372
+ createdAt?: Date | string;
373
+ };
374
+ export type PropertyVariantAmenityUpdateWithoutAmenityInput = {
375
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
376
+ variant?: Prisma.PropertyVariantUpdateOneRequiredWithoutAmenitiesNestedInput;
377
+ };
378
+ export type PropertyVariantAmenityUncheckedUpdateWithoutAmenityInput = {
379
+ variantId?: Prisma.StringFieldUpdateOperationsInput | string;
380
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
381
+ };
382
+ export type PropertyVariantAmenityUncheckedUpdateManyWithoutAmenityInput = {
383
+ variantId?: Prisma.StringFieldUpdateOperationsInput | string;
384
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
385
+ };
386
+ export type PropertyVariantAmenityCreateManyVariantInput = {
387
+ amenityId: string;
388
+ createdAt?: Date | string;
389
+ };
390
+ export type PropertyVariantAmenityUpdateWithoutVariantInput = {
391
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
392
+ amenity?: Prisma.AmenityUpdateOneRequiredWithoutVariantsNestedInput;
393
+ };
394
+ export type PropertyVariantAmenityUncheckedUpdateWithoutVariantInput = {
395
+ amenityId?: Prisma.StringFieldUpdateOperationsInput | string;
396
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
397
+ };
398
+ export type PropertyVariantAmenityUncheckedUpdateManyWithoutVariantInput = {
399
+ amenityId?: Prisma.StringFieldUpdateOperationsInput | string;
400
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
401
+ };
402
+ export type PropertyVariantAmenitySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
403
+ variantId?: boolean;
404
+ amenityId?: boolean;
405
+ createdAt?: boolean;
406
+ variant?: boolean | Prisma.PropertyVariantDefaultArgs<ExtArgs>;
407
+ amenity?: boolean | Prisma.AmenityDefaultArgs<ExtArgs>;
408
+ }, ExtArgs["result"]["propertyVariantAmenity"]>;
409
+ export type PropertyVariantAmenitySelectScalar = {
410
+ variantId?: boolean;
411
+ amenityId?: boolean;
412
+ createdAt?: boolean;
413
+ };
414
+ export type PropertyVariantAmenityOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"variantId" | "amenityId" | "createdAt", ExtArgs["result"]["propertyVariantAmenity"]>;
415
+ export type PropertyVariantAmenityInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
416
+ variant?: boolean | Prisma.PropertyVariantDefaultArgs<ExtArgs>;
417
+ amenity?: boolean | Prisma.AmenityDefaultArgs<ExtArgs>;
418
+ };
419
+ export type $PropertyVariantAmenityPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
420
+ name: "PropertyVariantAmenity";
421
+ objects: {
422
+ variant: Prisma.$PropertyVariantPayload<ExtArgs>;
423
+ amenity: Prisma.$AmenityPayload<ExtArgs>;
424
+ };
425
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
426
+ variantId: string;
427
+ amenityId: string;
428
+ createdAt: Date;
429
+ }, ExtArgs["result"]["propertyVariantAmenity"]>;
430
+ composites: {};
431
+ };
432
+ export type PropertyVariantAmenityGetPayload<S extends boolean | null | undefined | PropertyVariantAmenityDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$PropertyVariantAmenityPayload, S>;
433
+ export type PropertyVariantAmenityCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<PropertyVariantAmenityFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
434
+ select?: PropertyVariantAmenityCountAggregateInputType | true;
435
+ };
436
+ export interface PropertyVariantAmenityDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
437
+ [K: symbol]: {
438
+ types: Prisma.TypeMap<ExtArgs>['model']['PropertyVariantAmenity'];
439
+ meta: {
440
+ name: 'PropertyVariantAmenity';
441
+ };
442
+ };
443
+ /**
444
+ * Find zero or one PropertyVariantAmenity that matches the filter.
445
+ * @param {PropertyVariantAmenityFindUniqueArgs} args - Arguments to find a PropertyVariantAmenity
446
+ * @example
447
+ * // Get one PropertyVariantAmenity
448
+ * const propertyVariantAmenity = await prisma.propertyVariantAmenity.findUnique({
449
+ * where: {
450
+ * // ... provide filter here
451
+ * }
452
+ * })
453
+ */
454
+ findUnique<T extends PropertyVariantAmenityFindUniqueArgs>(args: Prisma.SelectSubset<T, PropertyVariantAmenityFindUniqueArgs<ExtArgs>>): Prisma.Prisma__PropertyVariantAmenityClient<runtime.Types.Result.GetResult<Prisma.$PropertyVariantAmenityPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
455
+ /**
456
+ * Find one PropertyVariantAmenity that matches the filter or throw an error with `error.code='P2025'`
457
+ * if no matches were found.
458
+ * @param {PropertyVariantAmenityFindUniqueOrThrowArgs} args - Arguments to find a PropertyVariantAmenity
459
+ * @example
460
+ * // Get one PropertyVariantAmenity
461
+ * const propertyVariantAmenity = await prisma.propertyVariantAmenity.findUniqueOrThrow({
462
+ * where: {
463
+ * // ... provide filter here
464
+ * }
465
+ * })
466
+ */
467
+ findUniqueOrThrow<T extends PropertyVariantAmenityFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, PropertyVariantAmenityFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__PropertyVariantAmenityClient<runtime.Types.Result.GetResult<Prisma.$PropertyVariantAmenityPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
468
+ /**
469
+ * Find the first PropertyVariantAmenity that matches the filter.
470
+ * Note, that providing `undefined` is treated as the value not being there.
471
+ * Read more here: https://pris.ly/d/null-undefined
472
+ * @param {PropertyVariantAmenityFindFirstArgs} args - Arguments to find a PropertyVariantAmenity
473
+ * @example
474
+ * // Get one PropertyVariantAmenity
475
+ * const propertyVariantAmenity = await prisma.propertyVariantAmenity.findFirst({
476
+ * where: {
477
+ * // ... provide filter here
478
+ * }
479
+ * })
480
+ */
481
+ findFirst<T extends PropertyVariantAmenityFindFirstArgs>(args?: Prisma.SelectSubset<T, PropertyVariantAmenityFindFirstArgs<ExtArgs>>): Prisma.Prisma__PropertyVariantAmenityClient<runtime.Types.Result.GetResult<Prisma.$PropertyVariantAmenityPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
482
+ /**
483
+ * Find the first PropertyVariantAmenity that matches the filter or
484
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
485
+ * Note, that providing `undefined` is treated as the value not being there.
486
+ * Read more here: https://pris.ly/d/null-undefined
487
+ * @param {PropertyVariantAmenityFindFirstOrThrowArgs} args - Arguments to find a PropertyVariantAmenity
488
+ * @example
489
+ * // Get one PropertyVariantAmenity
490
+ * const propertyVariantAmenity = await prisma.propertyVariantAmenity.findFirstOrThrow({
491
+ * where: {
492
+ * // ... provide filter here
493
+ * }
494
+ * })
495
+ */
496
+ findFirstOrThrow<T extends PropertyVariantAmenityFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, PropertyVariantAmenityFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__PropertyVariantAmenityClient<runtime.Types.Result.GetResult<Prisma.$PropertyVariantAmenityPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
497
+ /**
498
+ * Find zero or more PropertyVariantAmenities that matches the filter.
499
+ * Note, that providing `undefined` is treated as the value not being there.
500
+ * Read more here: https://pris.ly/d/null-undefined
501
+ * @param {PropertyVariantAmenityFindManyArgs} args - Arguments to filter and select certain fields only.
502
+ * @example
503
+ * // Get all PropertyVariantAmenities
504
+ * const propertyVariantAmenities = await prisma.propertyVariantAmenity.findMany()
505
+ *
506
+ * // Get first 10 PropertyVariantAmenities
507
+ * const propertyVariantAmenities = await prisma.propertyVariantAmenity.findMany({ take: 10 })
508
+ *
509
+ * // Only select the `variantId`
510
+ * const propertyVariantAmenityWithVariantIdOnly = await prisma.propertyVariantAmenity.findMany({ select: { variantId: true } })
511
+ *
512
+ */
513
+ findMany<T extends PropertyVariantAmenityFindManyArgs>(args?: Prisma.SelectSubset<T, PropertyVariantAmenityFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PropertyVariantAmenityPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
514
+ /**
515
+ * Create a PropertyVariantAmenity.
516
+ * @param {PropertyVariantAmenityCreateArgs} args - Arguments to create a PropertyVariantAmenity.
517
+ * @example
518
+ * // Create one PropertyVariantAmenity
519
+ * const PropertyVariantAmenity = await prisma.propertyVariantAmenity.create({
520
+ * data: {
521
+ * // ... data to create a PropertyVariantAmenity
522
+ * }
523
+ * })
524
+ *
525
+ */
526
+ create<T extends PropertyVariantAmenityCreateArgs>(args: Prisma.SelectSubset<T, PropertyVariantAmenityCreateArgs<ExtArgs>>): Prisma.Prisma__PropertyVariantAmenityClient<runtime.Types.Result.GetResult<Prisma.$PropertyVariantAmenityPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
527
+ /**
528
+ * Create many PropertyVariantAmenities.
529
+ * @param {PropertyVariantAmenityCreateManyArgs} args - Arguments to create many PropertyVariantAmenities.
530
+ * @example
531
+ * // Create many PropertyVariantAmenities
532
+ * const propertyVariantAmenity = await prisma.propertyVariantAmenity.createMany({
533
+ * data: [
534
+ * // ... provide data here
535
+ * ]
536
+ * })
537
+ *
538
+ */
539
+ createMany<T extends PropertyVariantAmenityCreateManyArgs>(args?: Prisma.SelectSubset<T, PropertyVariantAmenityCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
540
+ /**
541
+ * Delete a PropertyVariantAmenity.
542
+ * @param {PropertyVariantAmenityDeleteArgs} args - Arguments to delete one PropertyVariantAmenity.
543
+ * @example
544
+ * // Delete one PropertyVariantAmenity
545
+ * const PropertyVariantAmenity = await prisma.propertyVariantAmenity.delete({
546
+ * where: {
547
+ * // ... filter to delete one PropertyVariantAmenity
548
+ * }
549
+ * })
550
+ *
551
+ */
552
+ delete<T extends PropertyVariantAmenityDeleteArgs>(args: Prisma.SelectSubset<T, PropertyVariantAmenityDeleteArgs<ExtArgs>>): Prisma.Prisma__PropertyVariantAmenityClient<runtime.Types.Result.GetResult<Prisma.$PropertyVariantAmenityPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
553
+ /**
554
+ * Update one PropertyVariantAmenity.
555
+ * @param {PropertyVariantAmenityUpdateArgs} args - Arguments to update one PropertyVariantAmenity.
556
+ * @example
557
+ * // Update one PropertyVariantAmenity
558
+ * const propertyVariantAmenity = await prisma.propertyVariantAmenity.update({
559
+ * where: {
560
+ * // ... provide filter here
561
+ * },
562
+ * data: {
563
+ * // ... provide data here
564
+ * }
565
+ * })
566
+ *
567
+ */
568
+ update<T extends PropertyVariantAmenityUpdateArgs>(args: Prisma.SelectSubset<T, PropertyVariantAmenityUpdateArgs<ExtArgs>>): Prisma.Prisma__PropertyVariantAmenityClient<runtime.Types.Result.GetResult<Prisma.$PropertyVariantAmenityPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
569
+ /**
570
+ * Delete zero or more PropertyVariantAmenities.
571
+ * @param {PropertyVariantAmenityDeleteManyArgs} args - Arguments to filter PropertyVariantAmenities to delete.
572
+ * @example
573
+ * // Delete a few PropertyVariantAmenities
574
+ * const { count } = await prisma.propertyVariantAmenity.deleteMany({
575
+ * where: {
576
+ * // ... provide filter here
577
+ * }
578
+ * })
579
+ *
580
+ */
581
+ deleteMany<T extends PropertyVariantAmenityDeleteManyArgs>(args?: Prisma.SelectSubset<T, PropertyVariantAmenityDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
582
+ /**
583
+ * Update zero or more PropertyVariantAmenities.
584
+ * Note, that providing `undefined` is treated as the value not being there.
585
+ * Read more here: https://pris.ly/d/null-undefined
586
+ * @param {PropertyVariantAmenityUpdateManyArgs} args - Arguments to update one or more rows.
587
+ * @example
588
+ * // Update many PropertyVariantAmenities
589
+ * const propertyVariantAmenity = await prisma.propertyVariantAmenity.updateMany({
590
+ * where: {
591
+ * // ... provide filter here
592
+ * },
593
+ * data: {
594
+ * // ... provide data here
595
+ * }
596
+ * })
597
+ *
598
+ */
599
+ updateMany<T extends PropertyVariantAmenityUpdateManyArgs>(args: Prisma.SelectSubset<T, PropertyVariantAmenityUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
600
+ /**
601
+ * Create or update one PropertyVariantAmenity.
602
+ * @param {PropertyVariantAmenityUpsertArgs} args - Arguments to update or create a PropertyVariantAmenity.
603
+ * @example
604
+ * // Update or create a PropertyVariantAmenity
605
+ * const propertyVariantAmenity = await prisma.propertyVariantAmenity.upsert({
606
+ * create: {
607
+ * // ... data to create a PropertyVariantAmenity
608
+ * },
609
+ * update: {
610
+ * // ... in case it already exists, update
611
+ * },
612
+ * where: {
613
+ * // ... the filter for the PropertyVariantAmenity we want to update
614
+ * }
615
+ * })
616
+ */
617
+ upsert<T extends PropertyVariantAmenityUpsertArgs>(args: Prisma.SelectSubset<T, PropertyVariantAmenityUpsertArgs<ExtArgs>>): Prisma.Prisma__PropertyVariantAmenityClient<runtime.Types.Result.GetResult<Prisma.$PropertyVariantAmenityPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
618
+ /**
619
+ * Count the number of PropertyVariantAmenities.
620
+ * Note, that providing `undefined` is treated as the value not being there.
621
+ * Read more here: https://pris.ly/d/null-undefined
622
+ * @param {PropertyVariantAmenityCountArgs} args - Arguments to filter PropertyVariantAmenities to count.
623
+ * @example
624
+ * // Count the number of PropertyVariantAmenities
625
+ * const count = await prisma.propertyVariantAmenity.count({
626
+ * where: {
627
+ * // ... the filter for the PropertyVariantAmenities we want to count
628
+ * }
629
+ * })
630
+ **/
631
+ count<T extends PropertyVariantAmenityCountArgs>(args?: Prisma.Subset<T, PropertyVariantAmenityCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], PropertyVariantAmenityCountAggregateOutputType> : number>;
632
+ /**
633
+ * Allows you to perform aggregations operations on a PropertyVariantAmenity.
634
+ * Note, that providing `undefined` is treated as the value not being there.
635
+ * Read more here: https://pris.ly/d/null-undefined
636
+ * @param {PropertyVariantAmenityAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
637
+ * @example
638
+ * // Ordered by age ascending
639
+ * // Where email contains prisma.io
640
+ * // Limited to the 10 users
641
+ * const aggregations = await prisma.user.aggregate({
642
+ * _avg: {
643
+ * age: true,
644
+ * },
645
+ * where: {
646
+ * email: {
647
+ * contains: "prisma.io",
648
+ * },
649
+ * },
650
+ * orderBy: {
651
+ * age: "asc",
652
+ * },
653
+ * take: 10,
654
+ * })
655
+ **/
656
+ aggregate<T extends PropertyVariantAmenityAggregateArgs>(args: Prisma.Subset<T, PropertyVariantAmenityAggregateArgs>): Prisma.PrismaPromise<GetPropertyVariantAmenityAggregateType<T>>;
657
+ /**
658
+ * Group by PropertyVariantAmenity.
659
+ * Note, that providing `undefined` is treated as the value not being there.
660
+ * Read more here: https://pris.ly/d/null-undefined
661
+ * @param {PropertyVariantAmenityGroupByArgs} args - Group by arguments.
662
+ * @example
663
+ * // Group by city, order by createdAt, get count
664
+ * const result = await prisma.user.groupBy({
665
+ * by: ['city', 'createdAt'],
666
+ * orderBy: {
667
+ * createdAt: true
668
+ * },
669
+ * _count: {
670
+ * _all: true
671
+ * },
672
+ * })
673
+ *
674
+ **/
675
+ groupBy<T extends PropertyVariantAmenityGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
676
+ orderBy: PropertyVariantAmenityGroupByArgs['orderBy'];
677
+ } : {
678
+ orderBy?: PropertyVariantAmenityGroupByArgs['orderBy'];
679
+ }, OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>, ByFields extends Prisma.MaybeTupleToUnion<T['by']>, ByValid extends Prisma.Has<ByFields, OrderFields>, HavingFields extends Prisma.GetHavingFields<T['having']>, HavingValid extends Prisma.Has<ByFields, HavingFields>, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? {
680
+ [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
681
+ Error,
682
+ 'Field ',
683
+ P,
684
+ ` in "having" needs to be provided in "by"`
685
+ ];
686
+ }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
687
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
688
+ }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
689
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
690
+ }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
691
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
692
+ }[OrderFields]>(args: Prisma.SubsetIntersection<T, PropertyVariantAmenityGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetPropertyVariantAmenityGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
693
+ /**
694
+ * Fields of the PropertyVariantAmenity model
695
+ */
696
+ readonly fields: PropertyVariantAmenityFieldRefs;
697
+ }
698
+ /**
699
+ * The delegate class that acts as a "Promise-like" for PropertyVariantAmenity.
700
+ * Why is this prefixed with `Prisma__`?
701
+ * Because we want to prevent naming conflicts as mentioned in
702
+ * https://github.com/prisma/prisma-client-js/issues/707
703
+ */
704
+ export interface Prisma__PropertyVariantAmenityClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
705
+ readonly [Symbol.toStringTag]: "PrismaPromise";
706
+ variant<T extends Prisma.PropertyVariantDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PropertyVariantDefaultArgs<ExtArgs>>): Prisma.Prisma__PropertyVariantClient<runtime.Types.Result.GetResult<Prisma.$PropertyVariantPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
707
+ amenity<T extends Prisma.AmenityDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AmenityDefaultArgs<ExtArgs>>): Prisma.Prisma__AmenityClient<runtime.Types.Result.GetResult<Prisma.$AmenityPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
708
+ /**
709
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
710
+ * @param onfulfilled The callback to execute when the Promise is resolved.
711
+ * @param onrejected The callback to execute when the Promise is rejected.
712
+ * @returns A Promise for the completion of which ever callback is executed.
713
+ */
714
+ then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>;
715
+ /**
716
+ * Attaches a callback for only the rejection of the Promise.
717
+ * @param onrejected The callback to execute when the Promise is rejected.
718
+ * @returns A Promise for the completion of the callback.
719
+ */
720
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
721
+ /**
722
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
723
+ * resolved value cannot be modified from the callback.
724
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
725
+ * @returns A Promise for the completion of the callback.
726
+ */
727
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
728
+ }
729
+ /**
730
+ * Fields of the PropertyVariantAmenity model
731
+ */
732
+ export interface PropertyVariantAmenityFieldRefs {
733
+ readonly variantId: Prisma.FieldRef<"PropertyVariantAmenity", 'String'>;
734
+ readonly amenityId: Prisma.FieldRef<"PropertyVariantAmenity", 'String'>;
735
+ readonly createdAt: Prisma.FieldRef<"PropertyVariantAmenity", 'DateTime'>;
736
+ }
737
+ /**
738
+ * PropertyVariantAmenity findUnique
739
+ */
740
+ export type PropertyVariantAmenityFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
741
+ /**
742
+ * Select specific fields to fetch from the PropertyVariantAmenity
743
+ */
744
+ select?: Prisma.PropertyVariantAmenitySelect<ExtArgs> | null;
745
+ /**
746
+ * Omit specific fields from the PropertyVariantAmenity
747
+ */
748
+ omit?: Prisma.PropertyVariantAmenityOmit<ExtArgs> | null;
749
+ /**
750
+ * Choose, which related nodes to fetch as well
751
+ */
752
+ include?: Prisma.PropertyVariantAmenityInclude<ExtArgs> | null;
753
+ /**
754
+ * Filter, which PropertyVariantAmenity to fetch.
755
+ */
756
+ where: Prisma.PropertyVariantAmenityWhereUniqueInput;
757
+ };
758
+ /**
759
+ * PropertyVariantAmenity findUniqueOrThrow
760
+ */
761
+ export type PropertyVariantAmenityFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
762
+ /**
763
+ * Select specific fields to fetch from the PropertyVariantAmenity
764
+ */
765
+ select?: Prisma.PropertyVariantAmenitySelect<ExtArgs> | null;
766
+ /**
767
+ * Omit specific fields from the PropertyVariantAmenity
768
+ */
769
+ omit?: Prisma.PropertyVariantAmenityOmit<ExtArgs> | null;
770
+ /**
771
+ * Choose, which related nodes to fetch as well
772
+ */
773
+ include?: Prisma.PropertyVariantAmenityInclude<ExtArgs> | null;
774
+ /**
775
+ * Filter, which PropertyVariantAmenity to fetch.
776
+ */
777
+ where: Prisma.PropertyVariantAmenityWhereUniqueInput;
778
+ };
779
+ /**
780
+ * PropertyVariantAmenity findFirst
781
+ */
782
+ export type PropertyVariantAmenityFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
783
+ /**
784
+ * Select specific fields to fetch from the PropertyVariantAmenity
785
+ */
786
+ select?: Prisma.PropertyVariantAmenitySelect<ExtArgs> | null;
787
+ /**
788
+ * Omit specific fields from the PropertyVariantAmenity
789
+ */
790
+ omit?: Prisma.PropertyVariantAmenityOmit<ExtArgs> | null;
791
+ /**
792
+ * Choose, which related nodes to fetch as well
793
+ */
794
+ include?: Prisma.PropertyVariantAmenityInclude<ExtArgs> | null;
795
+ /**
796
+ * Filter, which PropertyVariantAmenity to fetch.
797
+ */
798
+ where?: Prisma.PropertyVariantAmenityWhereInput;
799
+ /**
800
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
801
+ *
802
+ * Determine the order of PropertyVariantAmenities to fetch.
803
+ */
804
+ orderBy?: Prisma.PropertyVariantAmenityOrderByWithRelationInput | Prisma.PropertyVariantAmenityOrderByWithRelationInput[];
805
+ /**
806
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
807
+ *
808
+ * Sets the position for searching for PropertyVariantAmenities.
809
+ */
810
+ cursor?: Prisma.PropertyVariantAmenityWhereUniqueInput;
811
+ /**
812
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
813
+ *
814
+ * Take `±n` PropertyVariantAmenities from the position of the cursor.
815
+ */
816
+ take?: number;
817
+ /**
818
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
819
+ *
820
+ * Skip the first `n` PropertyVariantAmenities.
821
+ */
822
+ skip?: number;
823
+ /**
824
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
825
+ *
826
+ * Filter by unique combinations of PropertyVariantAmenities.
827
+ */
828
+ distinct?: Prisma.PropertyVariantAmenityScalarFieldEnum | Prisma.PropertyVariantAmenityScalarFieldEnum[];
829
+ };
830
+ /**
831
+ * PropertyVariantAmenity findFirstOrThrow
832
+ */
833
+ export type PropertyVariantAmenityFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
834
+ /**
835
+ * Select specific fields to fetch from the PropertyVariantAmenity
836
+ */
837
+ select?: Prisma.PropertyVariantAmenitySelect<ExtArgs> | null;
838
+ /**
839
+ * Omit specific fields from the PropertyVariantAmenity
840
+ */
841
+ omit?: Prisma.PropertyVariantAmenityOmit<ExtArgs> | null;
842
+ /**
843
+ * Choose, which related nodes to fetch as well
844
+ */
845
+ include?: Prisma.PropertyVariantAmenityInclude<ExtArgs> | null;
846
+ /**
847
+ * Filter, which PropertyVariantAmenity to fetch.
848
+ */
849
+ where?: Prisma.PropertyVariantAmenityWhereInput;
850
+ /**
851
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
852
+ *
853
+ * Determine the order of PropertyVariantAmenities to fetch.
854
+ */
855
+ orderBy?: Prisma.PropertyVariantAmenityOrderByWithRelationInput | Prisma.PropertyVariantAmenityOrderByWithRelationInput[];
856
+ /**
857
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
858
+ *
859
+ * Sets the position for searching for PropertyVariantAmenities.
860
+ */
861
+ cursor?: Prisma.PropertyVariantAmenityWhereUniqueInput;
862
+ /**
863
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
864
+ *
865
+ * Take `±n` PropertyVariantAmenities from the position of the cursor.
866
+ */
867
+ take?: number;
868
+ /**
869
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
870
+ *
871
+ * Skip the first `n` PropertyVariantAmenities.
872
+ */
873
+ skip?: number;
874
+ /**
875
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
876
+ *
877
+ * Filter by unique combinations of PropertyVariantAmenities.
878
+ */
879
+ distinct?: Prisma.PropertyVariantAmenityScalarFieldEnum | Prisma.PropertyVariantAmenityScalarFieldEnum[];
880
+ };
881
+ /**
882
+ * PropertyVariantAmenity findMany
883
+ */
884
+ export type PropertyVariantAmenityFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
885
+ /**
886
+ * Select specific fields to fetch from the PropertyVariantAmenity
887
+ */
888
+ select?: Prisma.PropertyVariantAmenitySelect<ExtArgs> | null;
889
+ /**
890
+ * Omit specific fields from the PropertyVariantAmenity
891
+ */
892
+ omit?: Prisma.PropertyVariantAmenityOmit<ExtArgs> | null;
893
+ /**
894
+ * Choose, which related nodes to fetch as well
895
+ */
896
+ include?: Prisma.PropertyVariantAmenityInclude<ExtArgs> | null;
897
+ /**
898
+ * Filter, which PropertyVariantAmenities to fetch.
899
+ */
900
+ where?: Prisma.PropertyVariantAmenityWhereInput;
901
+ /**
902
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
903
+ *
904
+ * Determine the order of PropertyVariantAmenities to fetch.
905
+ */
906
+ orderBy?: Prisma.PropertyVariantAmenityOrderByWithRelationInput | Prisma.PropertyVariantAmenityOrderByWithRelationInput[];
907
+ /**
908
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
909
+ *
910
+ * Sets the position for listing PropertyVariantAmenities.
911
+ */
912
+ cursor?: Prisma.PropertyVariantAmenityWhereUniqueInput;
913
+ /**
914
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
915
+ *
916
+ * Take `±n` PropertyVariantAmenities from the position of the cursor.
917
+ */
918
+ take?: number;
919
+ /**
920
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
921
+ *
922
+ * Skip the first `n` PropertyVariantAmenities.
923
+ */
924
+ skip?: number;
925
+ distinct?: Prisma.PropertyVariantAmenityScalarFieldEnum | Prisma.PropertyVariantAmenityScalarFieldEnum[];
926
+ };
927
+ /**
928
+ * PropertyVariantAmenity create
929
+ */
930
+ export type PropertyVariantAmenityCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
931
+ /**
932
+ * Select specific fields to fetch from the PropertyVariantAmenity
933
+ */
934
+ select?: Prisma.PropertyVariantAmenitySelect<ExtArgs> | null;
935
+ /**
936
+ * Omit specific fields from the PropertyVariantAmenity
937
+ */
938
+ omit?: Prisma.PropertyVariantAmenityOmit<ExtArgs> | null;
939
+ /**
940
+ * Choose, which related nodes to fetch as well
941
+ */
942
+ include?: Prisma.PropertyVariantAmenityInclude<ExtArgs> | null;
943
+ /**
944
+ * The data needed to create a PropertyVariantAmenity.
945
+ */
946
+ data: Prisma.XOR<Prisma.PropertyVariantAmenityCreateInput, Prisma.PropertyVariantAmenityUncheckedCreateInput>;
947
+ };
948
+ /**
949
+ * PropertyVariantAmenity createMany
950
+ */
951
+ export type PropertyVariantAmenityCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
952
+ /**
953
+ * The data used to create many PropertyVariantAmenities.
954
+ */
955
+ data: Prisma.PropertyVariantAmenityCreateManyInput | Prisma.PropertyVariantAmenityCreateManyInput[];
956
+ skipDuplicates?: boolean;
957
+ };
958
+ /**
959
+ * PropertyVariantAmenity update
960
+ */
961
+ export type PropertyVariantAmenityUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
962
+ /**
963
+ * Select specific fields to fetch from the PropertyVariantAmenity
964
+ */
965
+ select?: Prisma.PropertyVariantAmenitySelect<ExtArgs> | null;
966
+ /**
967
+ * Omit specific fields from the PropertyVariantAmenity
968
+ */
969
+ omit?: Prisma.PropertyVariantAmenityOmit<ExtArgs> | null;
970
+ /**
971
+ * Choose, which related nodes to fetch as well
972
+ */
973
+ include?: Prisma.PropertyVariantAmenityInclude<ExtArgs> | null;
974
+ /**
975
+ * The data needed to update a PropertyVariantAmenity.
976
+ */
977
+ data: Prisma.XOR<Prisma.PropertyVariantAmenityUpdateInput, Prisma.PropertyVariantAmenityUncheckedUpdateInput>;
978
+ /**
979
+ * Choose, which PropertyVariantAmenity to update.
980
+ */
981
+ where: Prisma.PropertyVariantAmenityWhereUniqueInput;
982
+ };
983
+ /**
984
+ * PropertyVariantAmenity updateMany
985
+ */
986
+ export type PropertyVariantAmenityUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
987
+ /**
988
+ * The data used to update PropertyVariantAmenities.
989
+ */
990
+ data: Prisma.XOR<Prisma.PropertyVariantAmenityUpdateManyMutationInput, Prisma.PropertyVariantAmenityUncheckedUpdateManyInput>;
991
+ /**
992
+ * Filter which PropertyVariantAmenities to update
993
+ */
994
+ where?: Prisma.PropertyVariantAmenityWhereInput;
995
+ /**
996
+ * Limit how many PropertyVariantAmenities to update.
997
+ */
998
+ limit?: number;
999
+ };
1000
+ /**
1001
+ * PropertyVariantAmenity upsert
1002
+ */
1003
+ export type PropertyVariantAmenityUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1004
+ /**
1005
+ * Select specific fields to fetch from the PropertyVariantAmenity
1006
+ */
1007
+ select?: Prisma.PropertyVariantAmenitySelect<ExtArgs> | null;
1008
+ /**
1009
+ * Omit specific fields from the PropertyVariantAmenity
1010
+ */
1011
+ omit?: Prisma.PropertyVariantAmenityOmit<ExtArgs> | null;
1012
+ /**
1013
+ * Choose, which related nodes to fetch as well
1014
+ */
1015
+ include?: Prisma.PropertyVariantAmenityInclude<ExtArgs> | null;
1016
+ /**
1017
+ * The filter to search for the PropertyVariantAmenity to update in case it exists.
1018
+ */
1019
+ where: Prisma.PropertyVariantAmenityWhereUniqueInput;
1020
+ /**
1021
+ * In case the PropertyVariantAmenity found by the `where` argument doesn't exist, create a new PropertyVariantAmenity with this data.
1022
+ */
1023
+ create: Prisma.XOR<Prisma.PropertyVariantAmenityCreateInput, Prisma.PropertyVariantAmenityUncheckedCreateInput>;
1024
+ /**
1025
+ * In case the PropertyVariantAmenity was found with the provided `where` argument, update it with this data.
1026
+ */
1027
+ update: Prisma.XOR<Prisma.PropertyVariantAmenityUpdateInput, Prisma.PropertyVariantAmenityUncheckedUpdateInput>;
1028
+ };
1029
+ /**
1030
+ * PropertyVariantAmenity delete
1031
+ */
1032
+ export type PropertyVariantAmenityDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1033
+ /**
1034
+ * Select specific fields to fetch from the PropertyVariantAmenity
1035
+ */
1036
+ select?: Prisma.PropertyVariantAmenitySelect<ExtArgs> | null;
1037
+ /**
1038
+ * Omit specific fields from the PropertyVariantAmenity
1039
+ */
1040
+ omit?: Prisma.PropertyVariantAmenityOmit<ExtArgs> | null;
1041
+ /**
1042
+ * Choose, which related nodes to fetch as well
1043
+ */
1044
+ include?: Prisma.PropertyVariantAmenityInclude<ExtArgs> | null;
1045
+ /**
1046
+ * Filter which PropertyVariantAmenity to delete.
1047
+ */
1048
+ where: Prisma.PropertyVariantAmenityWhereUniqueInput;
1049
+ };
1050
+ /**
1051
+ * PropertyVariantAmenity deleteMany
1052
+ */
1053
+ export type PropertyVariantAmenityDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1054
+ /**
1055
+ * Filter which PropertyVariantAmenities to delete
1056
+ */
1057
+ where?: Prisma.PropertyVariantAmenityWhereInput;
1058
+ /**
1059
+ * Limit how many PropertyVariantAmenities to delete.
1060
+ */
1061
+ limit?: number;
1062
+ };
1063
+ /**
1064
+ * PropertyVariantAmenity without action
1065
+ */
1066
+ export type PropertyVariantAmenityDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1067
+ /**
1068
+ * Select specific fields to fetch from the PropertyVariantAmenity
1069
+ */
1070
+ select?: Prisma.PropertyVariantAmenitySelect<ExtArgs> | null;
1071
+ /**
1072
+ * Omit specific fields from the PropertyVariantAmenity
1073
+ */
1074
+ omit?: Prisma.PropertyVariantAmenityOmit<ExtArgs> | null;
1075
+ /**
1076
+ * Choose, which related nodes to fetch as well
1077
+ */
1078
+ include?: Prisma.PropertyVariantAmenityInclude<ExtArgs> | null;
1079
+ };
1080
+ export {};