@valentine-efagene/qshelter-common 2.0.99 → 2.0.100
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/client/internal/class.js +2 -2
- package/dist/generated/client/internal/prismaNamespace.d.ts +56 -0
- package/dist/generated/client/internal/prismaNamespace.js +56 -0
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +56 -0
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +56 -0
- package/dist/generated/client/models/Amenity.d.ts +183 -3
- package/dist/generated/client/models/ApplicationDocument.d.ts +183 -1
- package/dist/generated/client/models/ApplicationEvent.d.ts +190 -14
- package/dist/generated/client/models/ApplicationPayment.d.ts +225 -1
- package/dist/generated/client/models/ApplicationPhase.d.ts +272 -26
- package/dist/generated/client/models/DocumentationPhase.d.ts +224 -24
- package/dist/generated/client/models/DocumentationStep.d.ts +237 -1
- package/dist/generated/client/models/DocumentationStepApproval.d.ts +159 -1
- package/dist/generated/client/models/DocumentationStepDocument.d.ts +150 -10
- package/dist/generated/client/models/EventHandlerExecution.d.ts +208 -14
- package/dist/generated/client/models/PaymentInstallment.d.ts +228 -14
- package/dist/generated/client/models/PaymentMethodPhaseDocument.d.ts +178 -14
- package/dist/generated/client/models/PaymentMethodPhaseField.d.ts +208 -14
- package/dist/generated/client/models/PaymentMethodPhaseStep.d.ts +180 -14
- package/dist/generated/client/models/PaymentPhase.d.ts +214 -14
- package/dist/generated/client/models/PhaseEventAttachment.d.ts +178 -14
- package/dist/generated/client/models/PropertyAmenity.d.ts +145 -11
- package/dist/generated/client/models/PropertyDocument.d.ts +164 -12
- package/dist/generated/client/models/PropertyMedia.d.ts +183 -17
- package/dist/generated/client/models/PropertyPaymentMethodLink.d.ts +159 -13
- package/dist/generated/client/models/PropertyPaymentMethodPhase.d.ts +270 -14
- package/dist/generated/client/models/PropertyUnit.d.ts +230 -14
- package/dist/generated/client/models/PropertyVariant.d.ts +256 -14
- package/dist/generated/client/models/PropertyVariantAmenity.d.ts +145 -11
- package/dist/generated/client/models/PropertyVariantMedia.d.ts +171 -13
- package/dist/generated/client/models/QuestionnaireField.d.ts +232 -14
- package/dist/generated/client/models/QuestionnairePhase.d.ts +207 -1
- package/dist/generated/client/models/StepEventAttachment.d.ts +178 -14
- package/dist/generated/client/models/Tenant.d.ts +11653 -1153
- package/dist/src/prisma/tenant.js +26 -32
- package/package.json +1 -1
- package/prisma/migrations/20260113000000_remove_workflow_analytics_summary/migration.sql +5 -0
- package/prisma/migrations/20260113110450_add_tenant_id_to_child_models/migration.sql +334 -0
- package/prisma/schema.prisma +143 -30
|
@@ -12,6 +12,7 @@ export type AggregateAmenity = {
|
|
|
12
12
|
};
|
|
13
13
|
export type AmenityMinAggregateOutputType = {
|
|
14
14
|
id: string | null;
|
|
15
|
+
tenantId: string | null;
|
|
15
16
|
name: string | null;
|
|
16
17
|
category: string | null;
|
|
17
18
|
icon: string | null;
|
|
@@ -20,6 +21,7 @@ export type AmenityMinAggregateOutputType = {
|
|
|
20
21
|
};
|
|
21
22
|
export type AmenityMaxAggregateOutputType = {
|
|
22
23
|
id: string | null;
|
|
24
|
+
tenantId: string | null;
|
|
23
25
|
name: string | null;
|
|
24
26
|
category: string | null;
|
|
25
27
|
icon: string | null;
|
|
@@ -28,6 +30,7 @@ export type AmenityMaxAggregateOutputType = {
|
|
|
28
30
|
};
|
|
29
31
|
export type AmenityCountAggregateOutputType = {
|
|
30
32
|
id: number;
|
|
33
|
+
tenantId: number;
|
|
31
34
|
name: number;
|
|
32
35
|
category: number;
|
|
33
36
|
icon: number;
|
|
@@ -37,6 +40,7 @@ export type AmenityCountAggregateOutputType = {
|
|
|
37
40
|
};
|
|
38
41
|
export type AmenityMinAggregateInputType = {
|
|
39
42
|
id?: true;
|
|
43
|
+
tenantId?: true;
|
|
40
44
|
name?: true;
|
|
41
45
|
category?: true;
|
|
42
46
|
icon?: true;
|
|
@@ -45,6 +49,7 @@ export type AmenityMinAggregateInputType = {
|
|
|
45
49
|
};
|
|
46
50
|
export type AmenityMaxAggregateInputType = {
|
|
47
51
|
id?: true;
|
|
52
|
+
tenantId?: true;
|
|
48
53
|
name?: true;
|
|
49
54
|
category?: true;
|
|
50
55
|
icon?: true;
|
|
@@ -53,6 +58,7 @@ export type AmenityMaxAggregateInputType = {
|
|
|
53
58
|
};
|
|
54
59
|
export type AmenityCountAggregateInputType = {
|
|
55
60
|
id?: true;
|
|
61
|
+
tenantId?: true;
|
|
56
62
|
name?: true;
|
|
57
63
|
category?: true;
|
|
58
64
|
icon?: true;
|
|
@@ -124,6 +130,7 @@ export type AmenityGroupByArgs<ExtArgs extends runtime.Types.Extensions.Internal
|
|
|
124
130
|
};
|
|
125
131
|
export type AmenityGroupByOutputType = {
|
|
126
132
|
id: string;
|
|
133
|
+
tenantId: string;
|
|
127
134
|
name: string;
|
|
128
135
|
category: string | null;
|
|
129
136
|
icon: string | null;
|
|
@@ -141,40 +148,48 @@ export type AmenityWhereInput = {
|
|
|
141
148
|
OR?: Prisma.AmenityWhereInput[];
|
|
142
149
|
NOT?: Prisma.AmenityWhereInput | Prisma.AmenityWhereInput[];
|
|
143
150
|
id?: Prisma.StringFilter<"Amenity"> | string;
|
|
151
|
+
tenantId?: Prisma.StringFilter<"Amenity"> | string;
|
|
144
152
|
name?: Prisma.StringFilter<"Amenity"> | string;
|
|
145
153
|
category?: Prisma.StringNullableFilter<"Amenity"> | string | null;
|
|
146
154
|
icon?: Prisma.StringNullableFilter<"Amenity"> | string | null;
|
|
147
155
|
createdAt?: Prisma.DateTimeFilter<"Amenity"> | Date | string;
|
|
148
156
|
updatedAt?: Prisma.DateTimeFilter<"Amenity"> | Date | string;
|
|
157
|
+
tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
|
|
149
158
|
properties?: Prisma.PropertyAmenityListRelationFilter;
|
|
150
159
|
variants?: Prisma.PropertyVariantAmenityListRelationFilter;
|
|
151
160
|
};
|
|
152
161
|
export type AmenityOrderByWithRelationInput = {
|
|
153
162
|
id?: Prisma.SortOrder;
|
|
163
|
+
tenantId?: Prisma.SortOrder;
|
|
154
164
|
name?: Prisma.SortOrder;
|
|
155
165
|
category?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
156
166
|
icon?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
157
167
|
createdAt?: Prisma.SortOrder;
|
|
158
168
|
updatedAt?: Prisma.SortOrder;
|
|
169
|
+
tenant?: Prisma.TenantOrderByWithRelationInput;
|
|
159
170
|
properties?: Prisma.PropertyAmenityOrderByRelationAggregateInput;
|
|
160
171
|
variants?: Prisma.PropertyVariantAmenityOrderByRelationAggregateInput;
|
|
161
172
|
_relevance?: Prisma.AmenityOrderByRelevanceInput;
|
|
162
173
|
};
|
|
163
174
|
export type AmenityWhereUniqueInput = Prisma.AtLeast<{
|
|
164
175
|
id?: string;
|
|
165
|
-
|
|
176
|
+
tenantId_name?: Prisma.AmenityTenantIdNameCompoundUniqueInput;
|
|
166
177
|
AND?: Prisma.AmenityWhereInput | Prisma.AmenityWhereInput[];
|
|
167
178
|
OR?: Prisma.AmenityWhereInput[];
|
|
168
179
|
NOT?: Prisma.AmenityWhereInput | Prisma.AmenityWhereInput[];
|
|
180
|
+
tenantId?: Prisma.StringFilter<"Amenity"> | string;
|
|
181
|
+
name?: Prisma.StringFilter<"Amenity"> | string;
|
|
169
182
|
category?: Prisma.StringNullableFilter<"Amenity"> | string | null;
|
|
170
183
|
icon?: Prisma.StringNullableFilter<"Amenity"> | string | null;
|
|
171
184
|
createdAt?: Prisma.DateTimeFilter<"Amenity"> | Date | string;
|
|
172
185
|
updatedAt?: Prisma.DateTimeFilter<"Amenity"> | Date | string;
|
|
186
|
+
tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
|
|
173
187
|
properties?: Prisma.PropertyAmenityListRelationFilter;
|
|
174
188
|
variants?: Prisma.PropertyVariantAmenityListRelationFilter;
|
|
175
|
-
}, "id" | "
|
|
189
|
+
}, "id" | "tenantId_name">;
|
|
176
190
|
export type AmenityOrderByWithAggregationInput = {
|
|
177
191
|
id?: Prisma.SortOrder;
|
|
192
|
+
tenantId?: Prisma.SortOrder;
|
|
178
193
|
name?: Prisma.SortOrder;
|
|
179
194
|
category?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
180
195
|
icon?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
@@ -189,6 +204,7 @@ export type AmenityScalarWhereWithAggregatesInput = {
|
|
|
189
204
|
OR?: Prisma.AmenityScalarWhereWithAggregatesInput[];
|
|
190
205
|
NOT?: Prisma.AmenityScalarWhereWithAggregatesInput | Prisma.AmenityScalarWhereWithAggregatesInput[];
|
|
191
206
|
id?: Prisma.StringWithAggregatesFilter<"Amenity"> | string;
|
|
207
|
+
tenantId?: Prisma.StringWithAggregatesFilter<"Amenity"> | string;
|
|
192
208
|
name?: Prisma.StringWithAggregatesFilter<"Amenity"> | string;
|
|
193
209
|
category?: Prisma.StringNullableWithAggregatesFilter<"Amenity"> | string | null;
|
|
194
210
|
icon?: Prisma.StringNullableWithAggregatesFilter<"Amenity"> | string | null;
|
|
@@ -202,11 +218,13 @@ export type AmenityCreateInput = {
|
|
|
202
218
|
icon?: string | null;
|
|
203
219
|
createdAt?: Date | string;
|
|
204
220
|
updatedAt?: Date | string;
|
|
221
|
+
tenant: Prisma.TenantCreateNestedOneWithoutAmenitiesInput;
|
|
205
222
|
properties?: Prisma.PropertyAmenityCreateNestedManyWithoutAmenityInput;
|
|
206
223
|
variants?: Prisma.PropertyVariantAmenityCreateNestedManyWithoutAmenityInput;
|
|
207
224
|
};
|
|
208
225
|
export type AmenityUncheckedCreateInput = {
|
|
209
226
|
id?: string;
|
|
227
|
+
tenantId: string;
|
|
210
228
|
name: string;
|
|
211
229
|
category?: string | null;
|
|
212
230
|
icon?: string | null;
|
|
@@ -222,11 +240,13 @@ export type AmenityUpdateInput = {
|
|
|
222
240
|
icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
223
241
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
224
242
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
243
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutAmenitiesNestedInput;
|
|
225
244
|
properties?: Prisma.PropertyAmenityUpdateManyWithoutAmenityNestedInput;
|
|
226
245
|
variants?: Prisma.PropertyVariantAmenityUpdateManyWithoutAmenityNestedInput;
|
|
227
246
|
};
|
|
228
247
|
export type AmenityUncheckedUpdateInput = {
|
|
229
248
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
249
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
230
250
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
231
251
|
category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
232
252
|
icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -237,6 +257,7 @@ export type AmenityUncheckedUpdateInput = {
|
|
|
237
257
|
};
|
|
238
258
|
export type AmenityCreateManyInput = {
|
|
239
259
|
id?: string;
|
|
260
|
+
tenantId: string;
|
|
240
261
|
name: string;
|
|
241
262
|
category?: string | null;
|
|
242
263
|
icon?: string | null;
|
|
@@ -253,19 +274,33 @@ export type AmenityUpdateManyMutationInput = {
|
|
|
253
274
|
};
|
|
254
275
|
export type AmenityUncheckedUpdateManyInput = {
|
|
255
276
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
277
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
256
278
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
257
279
|
category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
258
280
|
icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
259
281
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
260
282
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
261
283
|
};
|
|
284
|
+
export type AmenityListRelationFilter = {
|
|
285
|
+
every?: Prisma.AmenityWhereInput;
|
|
286
|
+
some?: Prisma.AmenityWhereInput;
|
|
287
|
+
none?: Prisma.AmenityWhereInput;
|
|
288
|
+
};
|
|
289
|
+
export type AmenityOrderByRelationAggregateInput = {
|
|
290
|
+
_count?: Prisma.SortOrder;
|
|
291
|
+
};
|
|
262
292
|
export type AmenityOrderByRelevanceInput = {
|
|
263
293
|
fields: Prisma.AmenityOrderByRelevanceFieldEnum | Prisma.AmenityOrderByRelevanceFieldEnum[];
|
|
264
294
|
sort: Prisma.SortOrder;
|
|
265
295
|
search: string;
|
|
266
296
|
};
|
|
297
|
+
export type AmenityTenantIdNameCompoundUniqueInput = {
|
|
298
|
+
tenantId: string;
|
|
299
|
+
name: string;
|
|
300
|
+
};
|
|
267
301
|
export type AmenityCountOrderByAggregateInput = {
|
|
268
302
|
id?: Prisma.SortOrder;
|
|
303
|
+
tenantId?: Prisma.SortOrder;
|
|
269
304
|
name?: Prisma.SortOrder;
|
|
270
305
|
category?: Prisma.SortOrder;
|
|
271
306
|
icon?: Prisma.SortOrder;
|
|
@@ -274,6 +309,7 @@ export type AmenityCountOrderByAggregateInput = {
|
|
|
274
309
|
};
|
|
275
310
|
export type AmenityMaxOrderByAggregateInput = {
|
|
276
311
|
id?: Prisma.SortOrder;
|
|
312
|
+
tenantId?: Prisma.SortOrder;
|
|
277
313
|
name?: Prisma.SortOrder;
|
|
278
314
|
category?: Prisma.SortOrder;
|
|
279
315
|
icon?: Prisma.SortOrder;
|
|
@@ -282,6 +318,7 @@ export type AmenityMaxOrderByAggregateInput = {
|
|
|
282
318
|
};
|
|
283
319
|
export type AmenityMinOrderByAggregateInput = {
|
|
284
320
|
id?: Prisma.SortOrder;
|
|
321
|
+
tenantId?: Prisma.SortOrder;
|
|
285
322
|
name?: Prisma.SortOrder;
|
|
286
323
|
category?: Prisma.SortOrder;
|
|
287
324
|
icon?: Prisma.SortOrder;
|
|
@@ -292,6 +329,44 @@ export type AmenityScalarRelationFilter = {
|
|
|
292
329
|
is?: Prisma.AmenityWhereInput;
|
|
293
330
|
isNot?: Prisma.AmenityWhereInput;
|
|
294
331
|
};
|
|
332
|
+
export type AmenityCreateNestedManyWithoutTenantInput = {
|
|
333
|
+
create?: Prisma.XOR<Prisma.AmenityCreateWithoutTenantInput, Prisma.AmenityUncheckedCreateWithoutTenantInput> | Prisma.AmenityCreateWithoutTenantInput[] | Prisma.AmenityUncheckedCreateWithoutTenantInput[];
|
|
334
|
+
connectOrCreate?: Prisma.AmenityCreateOrConnectWithoutTenantInput | Prisma.AmenityCreateOrConnectWithoutTenantInput[];
|
|
335
|
+
createMany?: Prisma.AmenityCreateManyTenantInputEnvelope;
|
|
336
|
+
connect?: Prisma.AmenityWhereUniqueInput | Prisma.AmenityWhereUniqueInput[];
|
|
337
|
+
};
|
|
338
|
+
export type AmenityUncheckedCreateNestedManyWithoutTenantInput = {
|
|
339
|
+
create?: Prisma.XOR<Prisma.AmenityCreateWithoutTenantInput, Prisma.AmenityUncheckedCreateWithoutTenantInput> | Prisma.AmenityCreateWithoutTenantInput[] | Prisma.AmenityUncheckedCreateWithoutTenantInput[];
|
|
340
|
+
connectOrCreate?: Prisma.AmenityCreateOrConnectWithoutTenantInput | Prisma.AmenityCreateOrConnectWithoutTenantInput[];
|
|
341
|
+
createMany?: Prisma.AmenityCreateManyTenantInputEnvelope;
|
|
342
|
+
connect?: Prisma.AmenityWhereUniqueInput | Prisma.AmenityWhereUniqueInput[];
|
|
343
|
+
};
|
|
344
|
+
export type AmenityUpdateManyWithoutTenantNestedInput = {
|
|
345
|
+
create?: Prisma.XOR<Prisma.AmenityCreateWithoutTenantInput, Prisma.AmenityUncheckedCreateWithoutTenantInput> | Prisma.AmenityCreateWithoutTenantInput[] | Prisma.AmenityUncheckedCreateWithoutTenantInput[];
|
|
346
|
+
connectOrCreate?: Prisma.AmenityCreateOrConnectWithoutTenantInput | Prisma.AmenityCreateOrConnectWithoutTenantInput[];
|
|
347
|
+
upsert?: Prisma.AmenityUpsertWithWhereUniqueWithoutTenantInput | Prisma.AmenityUpsertWithWhereUniqueWithoutTenantInput[];
|
|
348
|
+
createMany?: Prisma.AmenityCreateManyTenantInputEnvelope;
|
|
349
|
+
set?: Prisma.AmenityWhereUniqueInput | Prisma.AmenityWhereUniqueInput[];
|
|
350
|
+
disconnect?: Prisma.AmenityWhereUniqueInput | Prisma.AmenityWhereUniqueInput[];
|
|
351
|
+
delete?: Prisma.AmenityWhereUniqueInput | Prisma.AmenityWhereUniqueInput[];
|
|
352
|
+
connect?: Prisma.AmenityWhereUniqueInput | Prisma.AmenityWhereUniqueInput[];
|
|
353
|
+
update?: Prisma.AmenityUpdateWithWhereUniqueWithoutTenantInput | Prisma.AmenityUpdateWithWhereUniqueWithoutTenantInput[];
|
|
354
|
+
updateMany?: Prisma.AmenityUpdateManyWithWhereWithoutTenantInput | Prisma.AmenityUpdateManyWithWhereWithoutTenantInput[];
|
|
355
|
+
deleteMany?: Prisma.AmenityScalarWhereInput | Prisma.AmenityScalarWhereInput[];
|
|
356
|
+
};
|
|
357
|
+
export type AmenityUncheckedUpdateManyWithoutTenantNestedInput = {
|
|
358
|
+
create?: Prisma.XOR<Prisma.AmenityCreateWithoutTenantInput, Prisma.AmenityUncheckedCreateWithoutTenantInput> | Prisma.AmenityCreateWithoutTenantInput[] | Prisma.AmenityUncheckedCreateWithoutTenantInput[];
|
|
359
|
+
connectOrCreate?: Prisma.AmenityCreateOrConnectWithoutTenantInput | Prisma.AmenityCreateOrConnectWithoutTenantInput[];
|
|
360
|
+
upsert?: Prisma.AmenityUpsertWithWhereUniqueWithoutTenantInput | Prisma.AmenityUpsertWithWhereUniqueWithoutTenantInput[];
|
|
361
|
+
createMany?: Prisma.AmenityCreateManyTenantInputEnvelope;
|
|
362
|
+
set?: Prisma.AmenityWhereUniqueInput | Prisma.AmenityWhereUniqueInput[];
|
|
363
|
+
disconnect?: Prisma.AmenityWhereUniqueInput | Prisma.AmenityWhereUniqueInput[];
|
|
364
|
+
delete?: Prisma.AmenityWhereUniqueInput | Prisma.AmenityWhereUniqueInput[];
|
|
365
|
+
connect?: Prisma.AmenityWhereUniqueInput | Prisma.AmenityWhereUniqueInput[];
|
|
366
|
+
update?: Prisma.AmenityUpdateWithWhereUniqueWithoutTenantInput | Prisma.AmenityUpdateWithWhereUniqueWithoutTenantInput[];
|
|
367
|
+
updateMany?: Prisma.AmenityUpdateManyWithWhereWithoutTenantInput | Prisma.AmenityUpdateManyWithWhereWithoutTenantInput[];
|
|
368
|
+
deleteMany?: Prisma.AmenityScalarWhereInput | Prisma.AmenityScalarWhereInput[];
|
|
369
|
+
};
|
|
295
370
|
export type AmenityCreateNestedOneWithoutVariantsInput = {
|
|
296
371
|
create?: Prisma.XOR<Prisma.AmenityCreateWithoutVariantsInput, Prisma.AmenityUncheckedCreateWithoutVariantsInput>;
|
|
297
372
|
connectOrCreate?: Prisma.AmenityCreateOrConnectWithoutVariantsInput;
|
|
@@ -316,6 +391,59 @@ export type AmenityUpdateOneRequiredWithoutPropertiesNestedInput = {
|
|
|
316
391
|
connect?: Prisma.AmenityWhereUniqueInput;
|
|
317
392
|
update?: Prisma.XOR<Prisma.XOR<Prisma.AmenityUpdateToOneWithWhereWithoutPropertiesInput, Prisma.AmenityUpdateWithoutPropertiesInput>, Prisma.AmenityUncheckedUpdateWithoutPropertiesInput>;
|
|
318
393
|
};
|
|
394
|
+
export type AmenityCreateWithoutTenantInput = {
|
|
395
|
+
id?: string;
|
|
396
|
+
name: string;
|
|
397
|
+
category?: string | null;
|
|
398
|
+
icon?: string | null;
|
|
399
|
+
createdAt?: Date | string;
|
|
400
|
+
updatedAt?: Date | string;
|
|
401
|
+
properties?: Prisma.PropertyAmenityCreateNestedManyWithoutAmenityInput;
|
|
402
|
+
variants?: Prisma.PropertyVariantAmenityCreateNestedManyWithoutAmenityInput;
|
|
403
|
+
};
|
|
404
|
+
export type AmenityUncheckedCreateWithoutTenantInput = {
|
|
405
|
+
id?: string;
|
|
406
|
+
name: string;
|
|
407
|
+
category?: string | null;
|
|
408
|
+
icon?: string | null;
|
|
409
|
+
createdAt?: Date | string;
|
|
410
|
+
updatedAt?: Date | string;
|
|
411
|
+
properties?: Prisma.PropertyAmenityUncheckedCreateNestedManyWithoutAmenityInput;
|
|
412
|
+
variants?: Prisma.PropertyVariantAmenityUncheckedCreateNestedManyWithoutAmenityInput;
|
|
413
|
+
};
|
|
414
|
+
export type AmenityCreateOrConnectWithoutTenantInput = {
|
|
415
|
+
where: Prisma.AmenityWhereUniqueInput;
|
|
416
|
+
create: Prisma.XOR<Prisma.AmenityCreateWithoutTenantInput, Prisma.AmenityUncheckedCreateWithoutTenantInput>;
|
|
417
|
+
};
|
|
418
|
+
export type AmenityCreateManyTenantInputEnvelope = {
|
|
419
|
+
data: Prisma.AmenityCreateManyTenantInput | Prisma.AmenityCreateManyTenantInput[];
|
|
420
|
+
skipDuplicates?: boolean;
|
|
421
|
+
};
|
|
422
|
+
export type AmenityUpsertWithWhereUniqueWithoutTenantInput = {
|
|
423
|
+
where: Prisma.AmenityWhereUniqueInput;
|
|
424
|
+
update: Prisma.XOR<Prisma.AmenityUpdateWithoutTenantInput, Prisma.AmenityUncheckedUpdateWithoutTenantInput>;
|
|
425
|
+
create: Prisma.XOR<Prisma.AmenityCreateWithoutTenantInput, Prisma.AmenityUncheckedCreateWithoutTenantInput>;
|
|
426
|
+
};
|
|
427
|
+
export type AmenityUpdateWithWhereUniqueWithoutTenantInput = {
|
|
428
|
+
where: Prisma.AmenityWhereUniqueInput;
|
|
429
|
+
data: Prisma.XOR<Prisma.AmenityUpdateWithoutTenantInput, Prisma.AmenityUncheckedUpdateWithoutTenantInput>;
|
|
430
|
+
};
|
|
431
|
+
export type AmenityUpdateManyWithWhereWithoutTenantInput = {
|
|
432
|
+
where: Prisma.AmenityScalarWhereInput;
|
|
433
|
+
data: Prisma.XOR<Prisma.AmenityUpdateManyMutationInput, Prisma.AmenityUncheckedUpdateManyWithoutTenantInput>;
|
|
434
|
+
};
|
|
435
|
+
export type AmenityScalarWhereInput = {
|
|
436
|
+
AND?: Prisma.AmenityScalarWhereInput | Prisma.AmenityScalarWhereInput[];
|
|
437
|
+
OR?: Prisma.AmenityScalarWhereInput[];
|
|
438
|
+
NOT?: Prisma.AmenityScalarWhereInput | Prisma.AmenityScalarWhereInput[];
|
|
439
|
+
id?: Prisma.StringFilter<"Amenity"> | string;
|
|
440
|
+
tenantId?: Prisma.StringFilter<"Amenity"> | string;
|
|
441
|
+
name?: Prisma.StringFilter<"Amenity"> | string;
|
|
442
|
+
category?: Prisma.StringNullableFilter<"Amenity"> | string | null;
|
|
443
|
+
icon?: Prisma.StringNullableFilter<"Amenity"> | string | null;
|
|
444
|
+
createdAt?: Prisma.DateTimeFilter<"Amenity"> | Date | string;
|
|
445
|
+
updatedAt?: Prisma.DateTimeFilter<"Amenity"> | Date | string;
|
|
446
|
+
};
|
|
319
447
|
export type AmenityCreateWithoutVariantsInput = {
|
|
320
448
|
id?: string;
|
|
321
449
|
name: string;
|
|
@@ -323,10 +451,12 @@ export type AmenityCreateWithoutVariantsInput = {
|
|
|
323
451
|
icon?: string | null;
|
|
324
452
|
createdAt?: Date | string;
|
|
325
453
|
updatedAt?: Date | string;
|
|
454
|
+
tenant: Prisma.TenantCreateNestedOneWithoutAmenitiesInput;
|
|
326
455
|
properties?: Prisma.PropertyAmenityCreateNestedManyWithoutAmenityInput;
|
|
327
456
|
};
|
|
328
457
|
export type AmenityUncheckedCreateWithoutVariantsInput = {
|
|
329
458
|
id?: string;
|
|
459
|
+
tenantId: string;
|
|
330
460
|
name: string;
|
|
331
461
|
category?: string | null;
|
|
332
462
|
icon?: string | null;
|
|
@@ -354,10 +484,12 @@ export type AmenityUpdateWithoutVariantsInput = {
|
|
|
354
484
|
icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
355
485
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
356
486
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
487
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutAmenitiesNestedInput;
|
|
357
488
|
properties?: Prisma.PropertyAmenityUpdateManyWithoutAmenityNestedInput;
|
|
358
489
|
};
|
|
359
490
|
export type AmenityUncheckedUpdateWithoutVariantsInput = {
|
|
360
491
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
492
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
361
493
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
362
494
|
category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
363
495
|
icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -372,10 +504,12 @@ export type AmenityCreateWithoutPropertiesInput = {
|
|
|
372
504
|
icon?: string | null;
|
|
373
505
|
createdAt?: Date | string;
|
|
374
506
|
updatedAt?: Date | string;
|
|
507
|
+
tenant: Prisma.TenantCreateNestedOneWithoutAmenitiesInput;
|
|
375
508
|
variants?: Prisma.PropertyVariantAmenityCreateNestedManyWithoutAmenityInput;
|
|
376
509
|
};
|
|
377
510
|
export type AmenityUncheckedCreateWithoutPropertiesInput = {
|
|
378
511
|
id?: string;
|
|
512
|
+
tenantId: string;
|
|
379
513
|
name: string;
|
|
380
514
|
category?: string | null;
|
|
381
515
|
icon?: string | null;
|
|
@@ -403,17 +537,55 @@ export type AmenityUpdateWithoutPropertiesInput = {
|
|
|
403
537
|
icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
404
538
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
405
539
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
540
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutAmenitiesNestedInput;
|
|
406
541
|
variants?: Prisma.PropertyVariantAmenityUpdateManyWithoutAmenityNestedInput;
|
|
407
542
|
};
|
|
408
543
|
export type AmenityUncheckedUpdateWithoutPropertiesInput = {
|
|
544
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
545
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
546
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
547
|
+
category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
548
|
+
icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
549
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
550
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
551
|
+
variants?: Prisma.PropertyVariantAmenityUncheckedUpdateManyWithoutAmenityNestedInput;
|
|
552
|
+
};
|
|
553
|
+
export type AmenityCreateManyTenantInput = {
|
|
554
|
+
id?: string;
|
|
555
|
+
name: string;
|
|
556
|
+
category?: string | null;
|
|
557
|
+
icon?: string | null;
|
|
558
|
+
createdAt?: Date | string;
|
|
559
|
+
updatedAt?: Date | string;
|
|
560
|
+
};
|
|
561
|
+
export type AmenityUpdateWithoutTenantInput = {
|
|
562
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
563
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
564
|
+
category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
565
|
+
icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
566
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
567
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
568
|
+
properties?: Prisma.PropertyAmenityUpdateManyWithoutAmenityNestedInput;
|
|
569
|
+
variants?: Prisma.PropertyVariantAmenityUpdateManyWithoutAmenityNestedInput;
|
|
570
|
+
};
|
|
571
|
+
export type AmenityUncheckedUpdateWithoutTenantInput = {
|
|
409
572
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
410
573
|
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
411
574
|
category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
412
575
|
icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
413
576
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
414
577
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
578
|
+
properties?: Prisma.PropertyAmenityUncheckedUpdateManyWithoutAmenityNestedInput;
|
|
415
579
|
variants?: Prisma.PropertyVariantAmenityUncheckedUpdateManyWithoutAmenityNestedInput;
|
|
416
580
|
};
|
|
581
|
+
export type AmenityUncheckedUpdateManyWithoutTenantInput = {
|
|
582
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
583
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
584
|
+
category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
585
|
+
icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
586
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
587
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
588
|
+
};
|
|
417
589
|
/**
|
|
418
590
|
* Count Type AmenityCountOutputType
|
|
419
591
|
*/
|
|
@@ -448,25 +620,29 @@ export type AmenityCountOutputTypeCountVariantsArgs<ExtArgs extends runtime.Type
|
|
|
448
620
|
};
|
|
449
621
|
export type AmenitySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
450
622
|
id?: boolean;
|
|
623
|
+
tenantId?: boolean;
|
|
451
624
|
name?: boolean;
|
|
452
625
|
category?: boolean;
|
|
453
626
|
icon?: boolean;
|
|
454
627
|
createdAt?: boolean;
|
|
455
628
|
updatedAt?: boolean;
|
|
629
|
+
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
|
|
456
630
|
properties?: boolean | Prisma.Amenity$propertiesArgs<ExtArgs>;
|
|
457
631
|
variants?: boolean | Prisma.Amenity$variantsArgs<ExtArgs>;
|
|
458
632
|
_count?: boolean | Prisma.AmenityCountOutputTypeDefaultArgs<ExtArgs>;
|
|
459
633
|
}, ExtArgs["result"]["amenity"]>;
|
|
460
634
|
export type AmenitySelectScalar = {
|
|
461
635
|
id?: boolean;
|
|
636
|
+
tenantId?: boolean;
|
|
462
637
|
name?: boolean;
|
|
463
638
|
category?: boolean;
|
|
464
639
|
icon?: boolean;
|
|
465
640
|
createdAt?: boolean;
|
|
466
641
|
updatedAt?: boolean;
|
|
467
642
|
};
|
|
468
|
-
export type AmenityOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "category" | "icon" | "createdAt" | "updatedAt", ExtArgs["result"]["amenity"]>;
|
|
643
|
+
export type AmenityOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "name" | "category" | "icon" | "createdAt" | "updatedAt", ExtArgs["result"]["amenity"]>;
|
|
469
644
|
export type AmenityInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
645
|
+
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
|
|
470
646
|
properties?: boolean | Prisma.Amenity$propertiesArgs<ExtArgs>;
|
|
471
647
|
variants?: boolean | Prisma.Amenity$variantsArgs<ExtArgs>;
|
|
472
648
|
_count?: boolean | Prisma.AmenityCountOutputTypeDefaultArgs<ExtArgs>;
|
|
@@ -474,11 +650,13 @@ export type AmenityInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs
|
|
|
474
650
|
export type $AmenityPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
475
651
|
name: "Amenity";
|
|
476
652
|
objects: {
|
|
653
|
+
tenant: Prisma.$TenantPayload<ExtArgs>;
|
|
477
654
|
properties: Prisma.$PropertyAmenityPayload<ExtArgs>[];
|
|
478
655
|
variants: Prisma.$PropertyVariantAmenityPayload<ExtArgs>[];
|
|
479
656
|
};
|
|
480
657
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
481
658
|
id: string;
|
|
659
|
+
tenantId: string;
|
|
482
660
|
name: string;
|
|
483
661
|
category: string | null;
|
|
484
662
|
icon: string | null;
|
|
@@ -761,6 +939,7 @@ export interface AmenityDelegate<ExtArgs extends runtime.Types.Extensions.Intern
|
|
|
761
939
|
*/
|
|
762
940
|
export interface Prisma__AmenityClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
763
941
|
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
942
|
+
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>;
|
|
764
943
|
properties<T extends Prisma.Amenity$propertiesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Amenity$propertiesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PropertyAmenityPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
765
944
|
variants<T extends Prisma.Amenity$variantsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Amenity$variantsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PropertyVariantAmenityPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
766
945
|
/**
|
|
@@ -789,6 +968,7 @@ export interface Prisma__AmenityClient<T, Null = never, ExtArgs extends runtime.
|
|
|
789
968
|
*/
|
|
790
969
|
export interface AmenityFieldRefs {
|
|
791
970
|
readonly id: Prisma.FieldRef<"Amenity", 'String'>;
|
|
971
|
+
readonly tenantId: Prisma.FieldRef<"Amenity", 'String'>;
|
|
792
972
|
readonly name: Prisma.FieldRef<"Amenity", 'String'>;
|
|
793
973
|
readonly category: Prisma.FieldRef<"Amenity", 'String'>;
|
|
794
974
|
readonly icon: Prisma.FieldRef<"Amenity", 'String'>;
|