@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
|
@@ -11,32 +11,38 @@ export type AggregatePropertyVariantAmenity = {
|
|
|
11
11
|
_max: PropertyVariantAmenityMaxAggregateOutputType | null;
|
|
12
12
|
};
|
|
13
13
|
export type PropertyVariantAmenityMinAggregateOutputType = {
|
|
14
|
+
tenantId: string | null;
|
|
14
15
|
variantId: string | null;
|
|
15
16
|
amenityId: string | null;
|
|
16
17
|
createdAt: Date | null;
|
|
17
18
|
};
|
|
18
19
|
export type PropertyVariantAmenityMaxAggregateOutputType = {
|
|
20
|
+
tenantId: string | null;
|
|
19
21
|
variantId: string | null;
|
|
20
22
|
amenityId: string | null;
|
|
21
23
|
createdAt: Date | null;
|
|
22
24
|
};
|
|
23
25
|
export type PropertyVariantAmenityCountAggregateOutputType = {
|
|
26
|
+
tenantId: number;
|
|
24
27
|
variantId: number;
|
|
25
28
|
amenityId: number;
|
|
26
29
|
createdAt: number;
|
|
27
30
|
_all: number;
|
|
28
31
|
};
|
|
29
32
|
export type PropertyVariantAmenityMinAggregateInputType = {
|
|
33
|
+
tenantId?: true;
|
|
30
34
|
variantId?: true;
|
|
31
35
|
amenityId?: true;
|
|
32
36
|
createdAt?: true;
|
|
33
37
|
};
|
|
34
38
|
export type PropertyVariantAmenityMaxAggregateInputType = {
|
|
39
|
+
tenantId?: true;
|
|
35
40
|
variantId?: true;
|
|
36
41
|
amenityId?: true;
|
|
37
42
|
createdAt?: true;
|
|
38
43
|
};
|
|
39
44
|
export type PropertyVariantAmenityCountAggregateInputType = {
|
|
45
|
+
tenantId?: true;
|
|
40
46
|
variantId?: true;
|
|
41
47
|
amenityId?: true;
|
|
42
48
|
createdAt?: true;
|
|
@@ -105,6 +111,7 @@ export type PropertyVariantAmenityGroupByArgs<ExtArgs extends runtime.Types.Exte
|
|
|
105
111
|
_max?: PropertyVariantAmenityMaxAggregateInputType;
|
|
106
112
|
};
|
|
107
113
|
export type PropertyVariantAmenityGroupByOutputType = {
|
|
114
|
+
tenantId: string;
|
|
108
115
|
variantId: string;
|
|
109
116
|
amenityId: string;
|
|
110
117
|
createdAt: Date;
|
|
@@ -119,16 +126,20 @@ export type PropertyVariantAmenityWhereInput = {
|
|
|
119
126
|
AND?: Prisma.PropertyVariantAmenityWhereInput | Prisma.PropertyVariantAmenityWhereInput[];
|
|
120
127
|
OR?: Prisma.PropertyVariantAmenityWhereInput[];
|
|
121
128
|
NOT?: Prisma.PropertyVariantAmenityWhereInput | Prisma.PropertyVariantAmenityWhereInput[];
|
|
129
|
+
tenantId?: Prisma.StringFilter<"PropertyVariantAmenity"> | string;
|
|
122
130
|
variantId?: Prisma.StringFilter<"PropertyVariantAmenity"> | string;
|
|
123
131
|
amenityId?: Prisma.StringFilter<"PropertyVariantAmenity"> | string;
|
|
124
132
|
createdAt?: Prisma.DateTimeFilter<"PropertyVariantAmenity"> | Date | string;
|
|
133
|
+
tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
|
|
125
134
|
variant?: Prisma.XOR<Prisma.PropertyVariantScalarRelationFilter, Prisma.PropertyVariantWhereInput>;
|
|
126
135
|
amenity?: Prisma.XOR<Prisma.AmenityScalarRelationFilter, Prisma.AmenityWhereInput>;
|
|
127
136
|
};
|
|
128
137
|
export type PropertyVariantAmenityOrderByWithRelationInput = {
|
|
138
|
+
tenantId?: Prisma.SortOrder;
|
|
129
139
|
variantId?: Prisma.SortOrder;
|
|
130
140
|
amenityId?: Prisma.SortOrder;
|
|
131
141
|
createdAt?: Prisma.SortOrder;
|
|
142
|
+
tenant?: Prisma.TenantOrderByWithRelationInput;
|
|
132
143
|
variant?: Prisma.PropertyVariantOrderByWithRelationInput;
|
|
133
144
|
amenity?: Prisma.AmenityOrderByWithRelationInput;
|
|
134
145
|
_relevance?: Prisma.PropertyVariantAmenityOrderByRelevanceInput;
|
|
@@ -138,13 +149,16 @@ export type PropertyVariantAmenityWhereUniqueInput = Prisma.AtLeast<{
|
|
|
138
149
|
AND?: Prisma.PropertyVariantAmenityWhereInput | Prisma.PropertyVariantAmenityWhereInput[];
|
|
139
150
|
OR?: Prisma.PropertyVariantAmenityWhereInput[];
|
|
140
151
|
NOT?: Prisma.PropertyVariantAmenityWhereInput | Prisma.PropertyVariantAmenityWhereInput[];
|
|
152
|
+
tenantId?: Prisma.StringFilter<"PropertyVariantAmenity"> | string;
|
|
141
153
|
variantId?: Prisma.StringFilter<"PropertyVariantAmenity"> | string;
|
|
142
154
|
amenityId?: Prisma.StringFilter<"PropertyVariantAmenity"> | string;
|
|
143
155
|
createdAt?: Prisma.DateTimeFilter<"PropertyVariantAmenity"> | Date | string;
|
|
156
|
+
tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
|
|
144
157
|
variant?: Prisma.XOR<Prisma.PropertyVariantScalarRelationFilter, Prisma.PropertyVariantWhereInput>;
|
|
145
158
|
amenity?: Prisma.XOR<Prisma.AmenityScalarRelationFilter, Prisma.AmenityWhereInput>;
|
|
146
159
|
}, "variantId_amenityId">;
|
|
147
160
|
export type PropertyVariantAmenityOrderByWithAggregationInput = {
|
|
161
|
+
tenantId?: Prisma.SortOrder;
|
|
148
162
|
variantId?: Prisma.SortOrder;
|
|
149
163
|
amenityId?: Prisma.SortOrder;
|
|
150
164
|
createdAt?: Prisma.SortOrder;
|
|
@@ -156,31 +170,37 @@ export type PropertyVariantAmenityScalarWhereWithAggregatesInput = {
|
|
|
156
170
|
AND?: Prisma.PropertyVariantAmenityScalarWhereWithAggregatesInput | Prisma.PropertyVariantAmenityScalarWhereWithAggregatesInput[];
|
|
157
171
|
OR?: Prisma.PropertyVariantAmenityScalarWhereWithAggregatesInput[];
|
|
158
172
|
NOT?: Prisma.PropertyVariantAmenityScalarWhereWithAggregatesInput | Prisma.PropertyVariantAmenityScalarWhereWithAggregatesInput[];
|
|
173
|
+
tenantId?: Prisma.StringWithAggregatesFilter<"PropertyVariantAmenity"> | string;
|
|
159
174
|
variantId?: Prisma.StringWithAggregatesFilter<"PropertyVariantAmenity"> | string;
|
|
160
175
|
amenityId?: Prisma.StringWithAggregatesFilter<"PropertyVariantAmenity"> | string;
|
|
161
176
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"PropertyVariantAmenity"> | Date | string;
|
|
162
177
|
};
|
|
163
178
|
export type PropertyVariantAmenityCreateInput = {
|
|
164
179
|
createdAt?: Date | string;
|
|
180
|
+
tenant: Prisma.TenantCreateNestedOneWithoutPropertyVariantAmenitiesInput;
|
|
165
181
|
variant: Prisma.PropertyVariantCreateNestedOneWithoutAmenitiesInput;
|
|
166
182
|
amenity: Prisma.AmenityCreateNestedOneWithoutVariantsInput;
|
|
167
183
|
};
|
|
168
184
|
export type PropertyVariantAmenityUncheckedCreateInput = {
|
|
185
|
+
tenantId: string;
|
|
169
186
|
variantId: string;
|
|
170
187
|
amenityId: string;
|
|
171
188
|
createdAt?: Date | string;
|
|
172
189
|
};
|
|
173
190
|
export type PropertyVariantAmenityUpdateInput = {
|
|
174
191
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
192
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertyVariantAmenitiesNestedInput;
|
|
175
193
|
variant?: Prisma.PropertyVariantUpdateOneRequiredWithoutAmenitiesNestedInput;
|
|
176
194
|
amenity?: Prisma.AmenityUpdateOneRequiredWithoutVariantsNestedInput;
|
|
177
195
|
};
|
|
178
196
|
export type PropertyVariantAmenityUncheckedUpdateInput = {
|
|
197
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
179
198
|
variantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
180
199
|
amenityId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
181
200
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
182
201
|
};
|
|
183
202
|
export type PropertyVariantAmenityCreateManyInput = {
|
|
203
|
+
tenantId: string;
|
|
184
204
|
variantId: string;
|
|
185
205
|
amenityId: string;
|
|
186
206
|
createdAt?: Date | string;
|
|
@@ -189,6 +209,7 @@ export type PropertyVariantAmenityUpdateManyMutationInput = {
|
|
|
189
209
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
190
210
|
};
|
|
191
211
|
export type PropertyVariantAmenityUncheckedUpdateManyInput = {
|
|
212
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
192
213
|
variantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
193
214
|
amenityId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
194
215
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
@@ -211,20 +232,61 @@ export type PropertyVariantAmenityVariantIdAmenityIdCompoundUniqueInput = {
|
|
|
211
232
|
amenityId: string;
|
|
212
233
|
};
|
|
213
234
|
export type PropertyVariantAmenityCountOrderByAggregateInput = {
|
|
235
|
+
tenantId?: Prisma.SortOrder;
|
|
214
236
|
variantId?: Prisma.SortOrder;
|
|
215
237
|
amenityId?: Prisma.SortOrder;
|
|
216
238
|
createdAt?: Prisma.SortOrder;
|
|
217
239
|
};
|
|
218
240
|
export type PropertyVariantAmenityMaxOrderByAggregateInput = {
|
|
241
|
+
tenantId?: Prisma.SortOrder;
|
|
219
242
|
variantId?: Prisma.SortOrder;
|
|
220
243
|
amenityId?: Prisma.SortOrder;
|
|
221
244
|
createdAt?: Prisma.SortOrder;
|
|
222
245
|
};
|
|
223
246
|
export type PropertyVariantAmenityMinOrderByAggregateInput = {
|
|
247
|
+
tenantId?: Prisma.SortOrder;
|
|
224
248
|
variantId?: Prisma.SortOrder;
|
|
225
249
|
amenityId?: Prisma.SortOrder;
|
|
226
250
|
createdAt?: Prisma.SortOrder;
|
|
227
251
|
};
|
|
252
|
+
export type PropertyVariantAmenityCreateNestedManyWithoutTenantInput = {
|
|
253
|
+
create?: Prisma.XOR<Prisma.PropertyVariantAmenityCreateWithoutTenantInput, Prisma.PropertyVariantAmenityUncheckedCreateWithoutTenantInput> | Prisma.PropertyVariantAmenityCreateWithoutTenantInput[] | Prisma.PropertyVariantAmenityUncheckedCreateWithoutTenantInput[];
|
|
254
|
+
connectOrCreate?: Prisma.PropertyVariantAmenityCreateOrConnectWithoutTenantInput | Prisma.PropertyVariantAmenityCreateOrConnectWithoutTenantInput[];
|
|
255
|
+
createMany?: Prisma.PropertyVariantAmenityCreateManyTenantInputEnvelope;
|
|
256
|
+
connect?: Prisma.PropertyVariantAmenityWhereUniqueInput | Prisma.PropertyVariantAmenityWhereUniqueInput[];
|
|
257
|
+
};
|
|
258
|
+
export type PropertyVariantAmenityUncheckedCreateNestedManyWithoutTenantInput = {
|
|
259
|
+
create?: Prisma.XOR<Prisma.PropertyVariantAmenityCreateWithoutTenantInput, Prisma.PropertyVariantAmenityUncheckedCreateWithoutTenantInput> | Prisma.PropertyVariantAmenityCreateWithoutTenantInput[] | Prisma.PropertyVariantAmenityUncheckedCreateWithoutTenantInput[];
|
|
260
|
+
connectOrCreate?: Prisma.PropertyVariantAmenityCreateOrConnectWithoutTenantInput | Prisma.PropertyVariantAmenityCreateOrConnectWithoutTenantInput[];
|
|
261
|
+
createMany?: Prisma.PropertyVariantAmenityCreateManyTenantInputEnvelope;
|
|
262
|
+
connect?: Prisma.PropertyVariantAmenityWhereUniqueInput | Prisma.PropertyVariantAmenityWhereUniqueInput[];
|
|
263
|
+
};
|
|
264
|
+
export type PropertyVariantAmenityUpdateManyWithoutTenantNestedInput = {
|
|
265
|
+
create?: Prisma.XOR<Prisma.PropertyVariantAmenityCreateWithoutTenantInput, Prisma.PropertyVariantAmenityUncheckedCreateWithoutTenantInput> | Prisma.PropertyVariantAmenityCreateWithoutTenantInput[] | Prisma.PropertyVariantAmenityUncheckedCreateWithoutTenantInput[];
|
|
266
|
+
connectOrCreate?: Prisma.PropertyVariantAmenityCreateOrConnectWithoutTenantInput | Prisma.PropertyVariantAmenityCreateOrConnectWithoutTenantInput[];
|
|
267
|
+
upsert?: Prisma.PropertyVariantAmenityUpsertWithWhereUniqueWithoutTenantInput | Prisma.PropertyVariantAmenityUpsertWithWhereUniqueWithoutTenantInput[];
|
|
268
|
+
createMany?: Prisma.PropertyVariantAmenityCreateManyTenantInputEnvelope;
|
|
269
|
+
set?: Prisma.PropertyVariantAmenityWhereUniqueInput | Prisma.PropertyVariantAmenityWhereUniqueInput[];
|
|
270
|
+
disconnect?: Prisma.PropertyVariantAmenityWhereUniqueInput | Prisma.PropertyVariantAmenityWhereUniqueInput[];
|
|
271
|
+
delete?: Prisma.PropertyVariantAmenityWhereUniqueInput | Prisma.PropertyVariantAmenityWhereUniqueInput[];
|
|
272
|
+
connect?: Prisma.PropertyVariantAmenityWhereUniqueInput | Prisma.PropertyVariantAmenityWhereUniqueInput[];
|
|
273
|
+
update?: Prisma.PropertyVariantAmenityUpdateWithWhereUniqueWithoutTenantInput | Prisma.PropertyVariantAmenityUpdateWithWhereUniqueWithoutTenantInput[];
|
|
274
|
+
updateMany?: Prisma.PropertyVariantAmenityUpdateManyWithWhereWithoutTenantInput | Prisma.PropertyVariantAmenityUpdateManyWithWhereWithoutTenantInput[];
|
|
275
|
+
deleteMany?: Prisma.PropertyVariantAmenityScalarWhereInput | Prisma.PropertyVariantAmenityScalarWhereInput[];
|
|
276
|
+
};
|
|
277
|
+
export type PropertyVariantAmenityUncheckedUpdateManyWithoutTenantNestedInput = {
|
|
278
|
+
create?: Prisma.XOR<Prisma.PropertyVariantAmenityCreateWithoutTenantInput, Prisma.PropertyVariantAmenityUncheckedCreateWithoutTenantInput> | Prisma.PropertyVariantAmenityCreateWithoutTenantInput[] | Prisma.PropertyVariantAmenityUncheckedCreateWithoutTenantInput[];
|
|
279
|
+
connectOrCreate?: Prisma.PropertyVariantAmenityCreateOrConnectWithoutTenantInput | Prisma.PropertyVariantAmenityCreateOrConnectWithoutTenantInput[];
|
|
280
|
+
upsert?: Prisma.PropertyVariantAmenityUpsertWithWhereUniqueWithoutTenantInput | Prisma.PropertyVariantAmenityUpsertWithWhereUniqueWithoutTenantInput[];
|
|
281
|
+
createMany?: Prisma.PropertyVariantAmenityCreateManyTenantInputEnvelope;
|
|
282
|
+
set?: Prisma.PropertyVariantAmenityWhereUniqueInput | Prisma.PropertyVariantAmenityWhereUniqueInput[];
|
|
283
|
+
disconnect?: Prisma.PropertyVariantAmenityWhereUniqueInput | Prisma.PropertyVariantAmenityWhereUniqueInput[];
|
|
284
|
+
delete?: Prisma.PropertyVariantAmenityWhereUniqueInput | Prisma.PropertyVariantAmenityWhereUniqueInput[];
|
|
285
|
+
connect?: Prisma.PropertyVariantAmenityWhereUniqueInput | Prisma.PropertyVariantAmenityWhereUniqueInput[];
|
|
286
|
+
update?: Prisma.PropertyVariantAmenityUpdateWithWhereUniqueWithoutTenantInput | Prisma.PropertyVariantAmenityUpdateWithWhereUniqueWithoutTenantInput[];
|
|
287
|
+
updateMany?: Prisma.PropertyVariantAmenityUpdateManyWithWhereWithoutTenantInput | Prisma.PropertyVariantAmenityUpdateManyWithWhereWithoutTenantInput[];
|
|
288
|
+
deleteMany?: Prisma.PropertyVariantAmenityScalarWhereInput | Prisma.PropertyVariantAmenityScalarWhereInput[];
|
|
289
|
+
};
|
|
228
290
|
export type PropertyVariantAmenityCreateNestedManyWithoutAmenityInput = {
|
|
229
291
|
create?: Prisma.XOR<Prisma.PropertyVariantAmenityCreateWithoutAmenityInput, Prisma.PropertyVariantAmenityUncheckedCreateWithoutAmenityInput> | Prisma.PropertyVariantAmenityCreateWithoutAmenityInput[] | Prisma.PropertyVariantAmenityUncheckedCreateWithoutAmenityInput[];
|
|
230
292
|
connectOrCreate?: Prisma.PropertyVariantAmenityCreateOrConnectWithoutAmenityInput | Prisma.PropertyVariantAmenityCreateOrConnectWithoutAmenityInput[];
|
|
@@ -301,11 +363,53 @@ export type PropertyVariantAmenityUncheckedUpdateManyWithoutVariantNestedInput =
|
|
|
301
363
|
updateMany?: Prisma.PropertyVariantAmenityUpdateManyWithWhereWithoutVariantInput | Prisma.PropertyVariantAmenityUpdateManyWithWhereWithoutVariantInput[];
|
|
302
364
|
deleteMany?: Prisma.PropertyVariantAmenityScalarWhereInput | Prisma.PropertyVariantAmenityScalarWhereInput[];
|
|
303
365
|
};
|
|
366
|
+
export type PropertyVariantAmenityCreateWithoutTenantInput = {
|
|
367
|
+
createdAt?: Date | string;
|
|
368
|
+
variant: Prisma.PropertyVariantCreateNestedOneWithoutAmenitiesInput;
|
|
369
|
+
amenity: Prisma.AmenityCreateNestedOneWithoutVariantsInput;
|
|
370
|
+
};
|
|
371
|
+
export type PropertyVariantAmenityUncheckedCreateWithoutTenantInput = {
|
|
372
|
+
variantId: string;
|
|
373
|
+
amenityId: string;
|
|
374
|
+
createdAt?: Date | string;
|
|
375
|
+
};
|
|
376
|
+
export type PropertyVariantAmenityCreateOrConnectWithoutTenantInput = {
|
|
377
|
+
where: Prisma.PropertyVariantAmenityWhereUniqueInput;
|
|
378
|
+
create: Prisma.XOR<Prisma.PropertyVariantAmenityCreateWithoutTenantInput, Prisma.PropertyVariantAmenityUncheckedCreateWithoutTenantInput>;
|
|
379
|
+
};
|
|
380
|
+
export type PropertyVariantAmenityCreateManyTenantInputEnvelope = {
|
|
381
|
+
data: Prisma.PropertyVariantAmenityCreateManyTenantInput | Prisma.PropertyVariantAmenityCreateManyTenantInput[];
|
|
382
|
+
skipDuplicates?: boolean;
|
|
383
|
+
};
|
|
384
|
+
export type PropertyVariantAmenityUpsertWithWhereUniqueWithoutTenantInput = {
|
|
385
|
+
where: Prisma.PropertyVariantAmenityWhereUniqueInput;
|
|
386
|
+
update: Prisma.XOR<Prisma.PropertyVariantAmenityUpdateWithoutTenantInput, Prisma.PropertyVariantAmenityUncheckedUpdateWithoutTenantInput>;
|
|
387
|
+
create: Prisma.XOR<Prisma.PropertyVariantAmenityCreateWithoutTenantInput, Prisma.PropertyVariantAmenityUncheckedCreateWithoutTenantInput>;
|
|
388
|
+
};
|
|
389
|
+
export type PropertyVariantAmenityUpdateWithWhereUniqueWithoutTenantInput = {
|
|
390
|
+
where: Prisma.PropertyVariantAmenityWhereUniqueInput;
|
|
391
|
+
data: Prisma.XOR<Prisma.PropertyVariantAmenityUpdateWithoutTenantInput, Prisma.PropertyVariantAmenityUncheckedUpdateWithoutTenantInput>;
|
|
392
|
+
};
|
|
393
|
+
export type PropertyVariantAmenityUpdateManyWithWhereWithoutTenantInput = {
|
|
394
|
+
where: Prisma.PropertyVariantAmenityScalarWhereInput;
|
|
395
|
+
data: Prisma.XOR<Prisma.PropertyVariantAmenityUpdateManyMutationInput, Prisma.PropertyVariantAmenityUncheckedUpdateManyWithoutTenantInput>;
|
|
396
|
+
};
|
|
397
|
+
export type PropertyVariantAmenityScalarWhereInput = {
|
|
398
|
+
AND?: Prisma.PropertyVariantAmenityScalarWhereInput | Prisma.PropertyVariantAmenityScalarWhereInput[];
|
|
399
|
+
OR?: Prisma.PropertyVariantAmenityScalarWhereInput[];
|
|
400
|
+
NOT?: Prisma.PropertyVariantAmenityScalarWhereInput | Prisma.PropertyVariantAmenityScalarWhereInput[];
|
|
401
|
+
tenantId?: Prisma.StringFilter<"PropertyVariantAmenity"> | string;
|
|
402
|
+
variantId?: Prisma.StringFilter<"PropertyVariantAmenity"> | string;
|
|
403
|
+
amenityId?: Prisma.StringFilter<"PropertyVariantAmenity"> | string;
|
|
404
|
+
createdAt?: Prisma.DateTimeFilter<"PropertyVariantAmenity"> | Date | string;
|
|
405
|
+
};
|
|
304
406
|
export type PropertyVariantAmenityCreateWithoutAmenityInput = {
|
|
305
407
|
createdAt?: Date | string;
|
|
408
|
+
tenant: Prisma.TenantCreateNestedOneWithoutPropertyVariantAmenitiesInput;
|
|
306
409
|
variant: Prisma.PropertyVariantCreateNestedOneWithoutAmenitiesInput;
|
|
307
410
|
};
|
|
308
411
|
export type PropertyVariantAmenityUncheckedCreateWithoutAmenityInput = {
|
|
412
|
+
tenantId: string;
|
|
309
413
|
variantId: string;
|
|
310
414
|
createdAt?: Date | string;
|
|
311
415
|
};
|
|
@@ -330,19 +434,13 @@ export type PropertyVariantAmenityUpdateManyWithWhereWithoutAmenityInput = {
|
|
|
330
434
|
where: Prisma.PropertyVariantAmenityScalarWhereInput;
|
|
331
435
|
data: Prisma.XOR<Prisma.PropertyVariantAmenityUpdateManyMutationInput, Prisma.PropertyVariantAmenityUncheckedUpdateManyWithoutAmenityInput>;
|
|
332
436
|
};
|
|
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
437
|
export type PropertyVariantAmenityCreateWithoutVariantInput = {
|
|
342
438
|
createdAt?: Date | string;
|
|
439
|
+
tenant: Prisma.TenantCreateNestedOneWithoutPropertyVariantAmenitiesInput;
|
|
343
440
|
amenity: Prisma.AmenityCreateNestedOneWithoutVariantsInput;
|
|
344
441
|
};
|
|
345
442
|
export type PropertyVariantAmenityUncheckedCreateWithoutVariantInput = {
|
|
443
|
+
tenantId: string;
|
|
346
444
|
amenityId: string;
|
|
347
445
|
createdAt?: Date | string;
|
|
348
446
|
};
|
|
@@ -367,62 +465,96 @@ export type PropertyVariantAmenityUpdateManyWithWhereWithoutVariantInput = {
|
|
|
367
465
|
where: Prisma.PropertyVariantAmenityScalarWhereInput;
|
|
368
466
|
data: Prisma.XOR<Prisma.PropertyVariantAmenityUpdateManyMutationInput, Prisma.PropertyVariantAmenityUncheckedUpdateManyWithoutVariantInput>;
|
|
369
467
|
};
|
|
468
|
+
export type PropertyVariantAmenityCreateManyTenantInput = {
|
|
469
|
+
variantId: string;
|
|
470
|
+
amenityId: string;
|
|
471
|
+
createdAt?: Date | string;
|
|
472
|
+
};
|
|
473
|
+
export type PropertyVariantAmenityUpdateWithoutTenantInput = {
|
|
474
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
475
|
+
variant?: Prisma.PropertyVariantUpdateOneRequiredWithoutAmenitiesNestedInput;
|
|
476
|
+
amenity?: Prisma.AmenityUpdateOneRequiredWithoutVariantsNestedInput;
|
|
477
|
+
};
|
|
478
|
+
export type PropertyVariantAmenityUncheckedUpdateWithoutTenantInput = {
|
|
479
|
+
variantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
480
|
+
amenityId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
481
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
482
|
+
};
|
|
483
|
+
export type PropertyVariantAmenityUncheckedUpdateManyWithoutTenantInput = {
|
|
484
|
+
variantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
485
|
+
amenityId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
486
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
487
|
+
};
|
|
370
488
|
export type PropertyVariantAmenityCreateManyAmenityInput = {
|
|
489
|
+
tenantId: string;
|
|
371
490
|
variantId: string;
|
|
372
491
|
createdAt?: Date | string;
|
|
373
492
|
};
|
|
374
493
|
export type PropertyVariantAmenityUpdateWithoutAmenityInput = {
|
|
375
494
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
495
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertyVariantAmenitiesNestedInput;
|
|
376
496
|
variant?: Prisma.PropertyVariantUpdateOneRequiredWithoutAmenitiesNestedInput;
|
|
377
497
|
};
|
|
378
498
|
export type PropertyVariantAmenityUncheckedUpdateWithoutAmenityInput = {
|
|
499
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
379
500
|
variantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
380
501
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
381
502
|
};
|
|
382
503
|
export type PropertyVariantAmenityUncheckedUpdateManyWithoutAmenityInput = {
|
|
504
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
383
505
|
variantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
384
506
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
385
507
|
};
|
|
386
508
|
export type PropertyVariantAmenityCreateManyVariantInput = {
|
|
509
|
+
tenantId: string;
|
|
387
510
|
amenityId: string;
|
|
388
511
|
createdAt?: Date | string;
|
|
389
512
|
};
|
|
390
513
|
export type PropertyVariantAmenityUpdateWithoutVariantInput = {
|
|
391
514
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
515
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutPropertyVariantAmenitiesNestedInput;
|
|
392
516
|
amenity?: Prisma.AmenityUpdateOneRequiredWithoutVariantsNestedInput;
|
|
393
517
|
};
|
|
394
518
|
export type PropertyVariantAmenityUncheckedUpdateWithoutVariantInput = {
|
|
519
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
395
520
|
amenityId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
396
521
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
397
522
|
};
|
|
398
523
|
export type PropertyVariantAmenityUncheckedUpdateManyWithoutVariantInput = {
|
|
524
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
399
525
|
amenityId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
400
526
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
401
527
|
};
|
|
402
528
|
export type PropertyVariantAmenitySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
529
|
+
tenantId?: boolean;
|
|
403
530
|
variantId?: boolean;
|
|
404
531
|
amenityId?: boolean;
|
|
405
532
|
createdAt?: boolean;
|
|
533
|
+
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
|
|
406
534
|
variant?: boolean | Prisma.PropertyVariantDefaultArgs<ExtArgs>;
|
|
407
535
|
amenity?: boolean | Prisma.AmenityDefaultArgs<ExtArgs>;
|
|
408
536
|
}, ExtArgs["result"]["propertyVariantAmenity"]>;
|
|
409
537
|
export type PropertyVariantAmenitySelectScalar = {
|
|
538
|
+
tenantId?: boolean;
|
|
410
539
|
variantId?: boolean;
|
|
411
540
|
amenityId?: boolean;
|
|
412
541
|
createdAt?: boolean;
|
|
413
542
|
};
|
|
414
|
-
export type PropertyVariantAmenityOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"variantId" | "amenityId" | "createdAt", ExtArgs["result"]["propertyVariantAmenity"]>;
|
|
543
|
+
export type PropertyVariantAmenityOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"tenantId" | "variantId" | "amenityId" | "createdAt", ExtArgs["result"]["propertyVariantAmenity"]>;
|
|
415
544
|
export type PropertyVariantAmenityInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
545
|
+
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
|
|
416
546
|
variant?: boolean | Prisma.PropertyVariantDefaultArgs<ExtArgs>;
|
|
417
547
|
amenity?: boolean | Prisma.AmenityDefaultArgs<ExtArgs>;
|
|
418
548
|
};
|
|
419
549
|
export type $PropertyVariantAmenityPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
420
550
|
name: "PropertyVariantAmenity";
|
|
421
551
|
objects: {
|
|
552
|
+
tenant: Prisma.$TenantPayload<ExtArgs>;
|
|
422
553
|
variant: Prisma.$PropertyVariantPayload<ExtArgs>;
|
|
423
554
|
amenity: Prisma.$AmenityPayload<ExtArgs>;
|
|
424
555
|
};
|
|
425
556
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
557
|
+
tenantId: string;
|
|
426
558
|
variantId: string;
|
|
427
559
|
amenityId: string;
|
|
428
560
|
createdAt: Date;
|
|
@@ -506,8 +638,8 @@ export interface PropertyVariantAmenityDelegate<ExtArgs extends runtime.Types.Ex
|
|
|
506
638
|
* // Get first 10 PropertyVariantAmenities
|
|
507
639
|
* const propertyVariantAmenities = await prisma.propertyVariantAmenity.findMany({ take: 10 })
|
|
508
640
|
*
|
|
509
|
-
* // Only select the `
|
|
510
|
-
* const
|
|
641
|
+
* // Only select the `tenantId`
|
|
642
|
+
* const propertyVariantAmenityWithTenantIdOnly = await prisma.propertyVariantAmenity.findMany({ select: { tenantId: true } })
|
|
511
643
|
*
|
|
512
644
|
*/
|
|
513
645
|
findMany<T extends PropertyVariantAmenityFindManyArgs>(args?: Prisma.SelectSubset<T, PropertyVariantAmenityFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PropertyVariantAmenityPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
@@ -703,6 +835,7 @@ export interface PropertyVariantAmenityDelegate<ExtArgs extends runtime.Types.Ex
|
|
|
703
835
|
*/
|
|
704
836
|
export interface Prisma__PropertyVariantAmenityClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
705
837
|
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
838
|
+
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>;
|
|
706
839
|
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
840
|
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
841
|
/**
|
|
@@ -730,6 +863,7 @@ export interface Prisma__PropertyVariantAmenityClient<T, Null = never, ExtArgs e
|
|
|
730
863
|
* Fields of the PropertyVariantAmenity model
|
|
731
864
|
*/
|
|
732
865
|
export interface PropertyVariantAmenityFieldRefs {
|
|
866
|
+
readonly tenantId: Prisma.FieldRef<"PropertyVariantAmenity", 'String'>;
|
|
733
867
|
readonly variantId: Prisma.FieldRef<"PropertyVariantAmenity", 'String'>;
|
|
734
868
|
readonly amenityId: Prisma.FieldRef<"PropertyVariantAmenity", 'String'>;
|
|
735
869
|
readonly createdAt: Prisma.FieldRef<"PropertyVariantAmenity", 'DateTime'>;
|