@valentine-efagene/qshelter-common 2.0.52 → 2.0.54

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 (130) hide show
  1. package/dist/generated/client/enums.d.ts +2 -0
  2. package/dist/generated/client/enums.js +3 -1
  3. package/dist/generated/client/internal/class.js +2 -2
  4. package/dist/generated/client/internal/prismaNamespace.d.ts +12 -0
  5. package/dist/generated/client/internal/prismaNamespace.js +12 -0
  6. package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +12 -0
  7. package/dist/generated/client/internal/prismaNamespaceBrowser.js +12 -0
  8. package/dist/generated/client/models/Contract.d.ts +484 -1
  9. package/dist/generated/client/models/DocumentationStep.d.ts +242 -1
  10. package/dist/src/middleware/tenant.js +3 -3
  11. package/package.json +1 -1
  12. package/prisma/migrations/20260105004059_add_superseded_phase_status/migration.sql +2 -0
  13. package/prisma/migrations/20260105074701_add_underwriting_step_types/migration.sql +17 -0
  14. package/prisma/schema.prisma +18 -0
  15. package/dist/generated/client/models/ContractPhaseStep.d.ts +0 -1819
  16. package/dist/generated/client/models/ContractPhaseStep.js +0 -1
  17. package/dist/generated/client/models/ContractPhaseStepApproval.d.ts +0 -1253
  18. package/dist/generated/client/models/ContractPhaseStepApproval.js +0 -1
  19. package/dist/generated/client/models/ContractPhaseStepDocument.d.ts +0 -1052
  20. package/dist/generated/client/models/ContractPhaseStepDocument.js +0 -1
  21. package/dist/generated/client/models/Mortgage.d.ts +0 -2777
  22. package/dist/generated/client/models/Mortgage.js +0 -1
  23. package/dist/generated/client/models/MortgageDocument.d.ts +0 -1118
  24. package/dist/generated/client/models/MortgageDocument.js +0 -1
  25. package/dist/generated/client/models/MortgageDownpaymentInstallment.d.ts +0 -1189
  26. package/dist/generated/client/models/MortgageDownpaymentInstallment.js +0 -1
  27. package/dist/generated/client/models/MortgageDownpaymentPayment.d.ts +0 -1189
  28. package/dist/generated/client/models/MortgageDownpaymentPayment.js +0 -1
  29. package/dist/generated/client/models/MortgageDownpaymentPlan.d.ts +0 -1428
  30. package/dist/generated/client/models/MortgageDownpaymentPlan.js +0 -1
  31. package/dist/generated/client/models/MortgageStep.d.ts +0 -1222
  32. package/dist/generated/client/models/MortgageStep.js +0 -1
  33. package/dist/generated/client/models/MortgageTransition.d.ts +0 -1118
  34. package/dist/generated/client/models/MortgageTransition.js +0 -1
  35. package/dist/generated/client/models/MortgageTransitionEvent.d.ts +0 -1052
  36. package/dist/generated/client/models/MortgageTransitionEvent.js +0 -1
  37. package/dist/generated/client/models/MortgageType.d.ts +0 -1052
  38. package/dist/generated/client/models/MortgageType.js +0 -1
  39. package/dist/generated/client/models/Payment.d.ts +0 -2026
  40. package/dist/generated/client/models/Payment.js +0 -1
  41. package/dist/generated/client/models/PaymentInstallment.d.ts +0 -1539
  42. package/dist/generated/client/models/PaymentInstallment.js +0 -1
  43. package/dist/generated/client/models/PaymentSchedule.d.ts +0 -1450
  44. package/dist/generated/client/models/PaymentSchedule.js +0 -1
  45. package/dist/index.d.ts +0 -6
  46. package/dist/index.js +0 -6
  47. package/dist/src/generated/client/client.d.ts +0 -201
  48. package/dist/src/generated/client/client.js +0 -32
  49. package/dist/src/generated/client/commonInputTypes.d.ts +0 -403
  50. package/dist/src/generated/client/commonInputTypes.js +0 -10
  51. package/dist/src/generated/client/enums.d.ts +0 -1
  52. package/dist/src/generated/client/enums.js +0 -10
  53. package/dist/src/generated/client/internal/class.d.ts +0 -511
  54. package/dist/src/generated/client/internal/class.js +0 -40
  55. package/dist/src/generated/client/internal/prismaNamespace.d.ts +0 -3571
  56. package/dist/src/generated/client/internal/prismaNamespace.js +0 -739
  57. package/dist/src/generated/client/models/Amenity.d.ts +0 -1020
  58. package/dist/src/generated/client/models/Amenity.js +0 -1
  59. package/dist/src/generated/client/models/Contract.d.ts +0 -2099
  60. package/dist/src/generated/client/models/Contract.js +0 -1
  61. package/dist/src/generated/client/models/ContractDocument.d.ts +0 -1118
  62. package/dist/src/generated/client/models/ContractDocument.js +0 -1
  63. package/dist/src/generated/client/models/DeviceEndpoint.d.ts +0 -1118
  64. package/dist/src/generated/client/models/DeviceEndpoint.js +0 -1
  65. package/dist/src/generated/client/models/EmailPreference.d.ts +0 -1151
  66. package/dist/src/generated/client/models/EmailPreference.js +0 -1
  67. package/dist/src/generated/client/models/Mortgage.d.ts +0 -2777
  68. package/dist/src/generated/client/models/Mortgage.js +0 -1
  69. package/dist/src/generated/client/models/MortgageDocument.d.ts +0 -1118
  70. package/dist/src/generated/client/models/MortgageDocument.js +0 -1
  71. package/dist/src/generated/client/models/MortgageDownpaymentInstallment.d.ts +0 -1189
  72. package/dist/src/generated/client/models/MortgageDownpaymentInstallment.js +0 -1
  73. package/dist/src/generated/client/models/MortgageDownpaymentPayment.d.ts +0 -1189
  74. package/dist/src/generated/client/models/MortgageDownpaymentPayment.js +0 -1
  75. package/dist/src/generated/client/models/MortgageDownpaymentPlan.d.ts +0 -1428
  76. package/dist/src/generated/client/models/MortgageDownpaymentPlan.js +0 -1
  77. package/dist/src/generated/client/models/MortgageStep.d.ts +0 -1222
  78. package/dist/src/generated/client/models/MortgageStep.js +0 -1
  79. package/dist/src/generated/client/models/MortgageTransition.d.ts +0 -1118
  80. package/dist/src/generated/client/models/MortgageTransition.js +0 -1
  81. package/dist/src/generated/client/models/MortgageTransitionEvent.d.ts +0 -1052
  82. package/dist/src/generated/client/models/MortgageTransitionEvent.js +0 -1
  83. package/dist/src/generated/client/models/MortgageType.d.ts +0 -1052
  84. package/dist/src/generated/client/models/MortgageType.js +0 -1
  85. package/dist/src/generated/client/models/OAuthState.d.ts +0 -864
  86. package/dist/src/generated/client/models/OAuthState.js +0 -1
  87. package/dist/src/generated/client/models/PasswordReset.d.ts +0 -1085
  88. package/dist/src/generated/client/models/PasswordReset.js +0 -1
  89. package/dist/src/generated/client/models/Payment.d.ts +0 -2026
  90. package/dist/src/generated/client/models/Payment.js +0 -1
  91. package/dist/src/generated/client/models/PaymentInstallment.d.ts +0 -1539
  92. package/dist/src/generated/client/models/PaymentInstallment.js +0 -1
  93. package/dist/src/generated/client/models/PaymentPlan.d.ts +0 -2148
  94. package/dist/src/generated/client/models/PaymentPlan.js +0 -1
  95. package/dist/src/generated/client/models/PaymentSchedule.d.ts +0 -1450
  96. package/dist/src/generated/client/models/PaymentSchedule.js +0 -1
  97. package/dist/src/generated/client/models/Permission.d.ts +0 -1115
  98. package/dist/src/generated/client/models/Permission.js +0 -1
  99. package/dist/src/generated/client/models/Property.d.ts +0 -3254
  100. package/dist/src/generated/client/models/Property.js +0 -1
  101. package/dist/src/generated/client/models/PropertyAmenity.d.ts +0 -1080
  102. package/dist/src/generated/client/models/PropertyAmenity.js +0 -1
  103. package/dist/src/generated/client/models/PropertyDocument.d.ts +0 -1118
  104. package/dist/src/generated/client/models/PropertyDocument.js +0 -1
  105. package/dist/src/generated/client/models/PropertyMedia.d.ts +0 -1331
  106. package/dist/src/generated/client/models/PropertyMedia.js +0 -1
  107. package/dist/src/generated/client/models/RefreshToken.d.ts +0 -1085
  108. package/dist/src/generated/client/models/RefreshToken.js +0 -1
  109. package/dist/src/generated/client/models/Role.d.ts +0 -1153
  110. package/dist/src/generated/client/models/Role.js +0 -1
  111. package/dist/src/generated/client/models/RolePermission.d.ts +0 -1080
  112. package/dist/src/generated/client/models/RolePermission.js +0 -1
  113. package/dist/src/generated/client/models/Settings.d.ts +0 -916
  114. package/dist/src/generated/client/models/Settings.js +0 -1
  115. package/dist/src/generated/client/models/Social.d.ts +0 -1090
  116. package/dist/src/generated/client/models/Social.js +0 -1
  117. package/dist/src/generated/client/models/Tenant.d.ts +0 -1082
  118. package/dist/src/generated/client/models/Tenant.js +0 -1
  119. package/dist/src/generated/client/models/Transaction.d.ts +0 -1222
  120. package/dist/src/generated/client/models/Transaction.js +0 -1
  121. package/dist/src/generated/client/models/User.d.ts +0 -4239
  122. package/dist/src/generated/client/models/User.js +0 -1
  123. package/dist/src/generated/client/models/UserRole.d.ts +0 -1080
  124. package/dist/src/generated/client/models/UserRole.js +0 -1
  125. package/dist/src/generated/client/models/UserSuspension.d.ts +0 -1085
  126. package/dist/src/generated/client/models/UserSuspension.js +0 -1
  127. package/dist/src/generated/client/models/Wallet.d.ts +0 -1191
  128. package/dist/src/generated/client/models/Wallet.js +0 -1
  129. package/dist/src/generated/client/models.d.ts +0 -37
  130. package/dist/src/generated/client/models.js +0 -1
@@ -1,1080 +0,0 @@
1
- import type * as runtime from "@prisma/client/runtime/client";
2
- import type * as Prisma from "../internal/prismaNamespace.js";
3
- /**
4
- * Model PropertyAmenity
5
- *
6
- */
7
- export type PropertyAmenityModel = runtime.Types.Result.DefaultSelection<Prisma.$PropertyAmenityPayload>;
8
- export type AggregatePropertyAmenity = {
9
- _count: PropertyAmenityCountAggregateOutputType | null;
10
- _min: PropertyAmenityMinAggregateOutputType | null;
11
- _max: PropertyAmenityMaxAggregateOutputType | null;
12
- };
13
- export type PropertyAmenityMinAggregateOutputType = {
14
- propertyId: string | null;
15
- amenityId: string | null;
16
- createdAt: Date | null;
17
- };
18
- export type PropertyAmenityMaxAggregateOutputType = {
19
- propertyId: string | null;
20
- amenityId: string | null;
21
- createdAt: Date | null;
22
- };
23
- export type PropertyAmenityCountAggregateOutputType = {
24
- propertyId: number;
25
- amenityId: number;
26
- createdAt: number;
27
- _all: number;
28
- };
29
- export type PropertyAmenityMinAggregateInputType = {
30
- propertyId?: true;
31
- amenityId?: true;
32
- createdAt?: true;
33
- };
34
- export type PropertyAmenityMaxAggregateInputType = {
35
- propertyId?: true;
36
- amenityId?: true;
37
- createdAt?: true;
38
- };
39
- export type PropertyAmenityCountAggregateInputType = {
40
- propertyId?: true;
41
- amenityId?: true;
42
- createdAt?: true;
43
- _all?: true;
44
- };
45
- export type PropertyAmenityAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
46
- /**
47
- * Filter which PropertyAmenity to aggregate.
48
- */
49
- where?: Prisma.PropertyAmenityWhereInput;
50
- /**
51
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
52
- *
53
- * Determine the order of PropertyAmenities to fetch.
54
- */
55
- orderBy?: Prisma.PropertyAmenityOrderByWithRelationInput | Prisma.PropertyAmenityOrderByWithRelationInput[];
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.PropertyAmenityWhereUniqueInput;
62
- /**
63
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
64
- *
65
- * Take `±n` PropertyAmenities 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` PropertyAmenities.
72
- */
73
- skip?: number;
74
- /**
75
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
76
- *
77
- * Count returned PropertyAmenities
78
- **/
79
- _count?: true | PropertyAmenityCountAggregateInputType;
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?: PropertyAmenityMinAggregateInputType;
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?: PropertyAmenityMaxAggregateInputType;
92
- };
93
- export type GetPropertyAmenityAggregateType<T extends PropertyAmenityAggregateArgs> = {
94
- [P in keyof T & keyof AggregatePropertyAmenity]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregatePropertyAmenity[P]> : Prisma.GetScalarType<T[P], AggregatePropertyAmenity[P]>;
95
- };
96
- export type PropertyAmenityGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
97
- where?: Prisma.PropertyAmenityWhereInput;
98
- orderBy?: Prisma.PropertyAmenityOrderByWithAggregationInput | Prisma.PropertyAmenityOrderByWithAggregationInput[];
99
- by: Prisma.PropertyAmenityScalarFieldEnum[] | Prisma.PropertyAmenityScalarFieldEnum;
100
- having?: Prisma.PropertyAmenityScalarWhereWithAggregatesInput;
101
- take?: number;
102
- skip?: number;
103
- _count?: PropertyAmenityCountAggregateInputType | true;
104
- _min?: PropertyAmenityMinAggregateInputType;
105
- _max?: PropertyAmenityMaxAggregateInputType;
106
- };
107
- export type PropertyAmenityGroupByOutputType = {
108
- propertyId: string;
109
- amenityId: string;
110
- createdAt: Date;
111
- _count: PropertyAmenityCountAggregateOutputType | null;
112
- _min: PropertyAmenityMinAggregateOutputType | null;
113
- _max: PropertyAmenityMaxAggregateOutputType | null;
114
- };
115
- type GetPropertyAmenityGroupByPayload<T extends PropertyAmenityGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<PropertyAmenityGroupByOutputType, T['by']> & {
116
- [P in ((keyof T) & (keyof PropertyAmenityGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], PropertyAmenityGroupByOutputType[P]> : Prisma.GetScalarType<T[P], PropertyAmenityGroupByOutputType[P]>;
117
- }>>;
118
- export type PropertyAmenityWhereInput = {
119
- AND?: Prisma.PropertyAmenityWhereInput | Prisma.PropertyAmenityWhereInput[];
120
- OR?: Prisma.PropertyAmenityWhereInput[];
121
- NOT?: Prisma.PropertyAmenityWhereInput | Prisma.PropertyAmenityWhereInput[];
122
- propertyId?: Prisma.StringFilter<"PropertyAmenity"> | string;
123
- amenityId?: Prisma.StringFilter<"PropertyAmenity"> | string;
124
- createdAt?: Prisma.DateTimeFilter<"PropertyAmenity"> | Date | string;
125
- property?: Prisma.XOR<Prisma.PropertyScalarRelationFilter, Prisma.PropertyWhereInput>;
126
- amenity?: Prisma.XOR<Prisma.AmenityScalarRelationFilter, Prisma.AmenityWhereInput>;
127
- };
128
- export type PropertyAmenityOrderByWithRelationInput = {
129
- propertyId?: Prisma.SortOrder;
130
- amenityId?: Prisma.SortOrder;
131
- createdAt?: Prisma.SortOrder;
132
- property?: Prisma.PropertyOrderByWithRelationInput;
133
- amenity?: Prisma.AmenityOrderByWithRelationInput;
134
- _relevance?: Prisma.PropertyAmenityOrderByRelevanceInput;
135
- };
136
- export type PropertyAmenityWhereUniqueInput = Prisma.AtLeast<{
137
- propertyId_amenityId?: Prisma.PropertyAmenityPropertyIdAmenityIdCompoundUniqueInput;
138
- AND?: Prisma.PropertyAmenityWhereInput | Prisma.PropertyAmenityWhereInput[];
139
- OR?: Prisma.PropertyAmenityWhereInput[];
140
- NOT?: Prisma.PropertyAmenityWhereInput | Prisma.PropertyAmenityWhereInput[];
141
- propertyId?: Prisma.StringFilter<"PropertyAmenity"> | string;
142
- amenityId?: Prisma.StringFilter<"PropertyAmenity"> | string;
143
- createdAt?: Prisma.DateTimeFilter<"PropertyAmenity"> | Date | string;
144
- property?: Prisma.XOR<Prisma.PropertyScalarRelationFilter, Prisma.PropertyWhereInput>;
145
- amenity?: Prisma.XOR<Prisma.AmenityScalarRelationFilter, Prisma.AmenityWhereInput>;
146
- }, "propertyId_amenityId">;
147
- export type PropertyAmenityOrderByWithAggregationInput = {
148
- propertyId?: Prisma.SortOrder;
149
- amenityId?: Prisma.SortOrder;
150
- createdAt?: Prisma.SortOrder;
151
- _count?: Prisma.PropertyAmenityCountOrderByAggregateInput;
152
- _max?: Prisma.PropertyAmenityMaxOrderByAggregateInput;
153
- _min?: Prisma.PropertyAmenityMinOrderByAggregateInput;
154
- };
155
- export type PropertyAmenityScalarWhereWithAggregatesInput = {
156
- AND?: Prisma.PropertyAmenityScalarWhereWithAggregatesInput | Prisma.PropertyAmenityScalarWhereWithAggregatesInput[];
157
- OR?: Prisma.PropertyAmenityScalarWhereWithAggregatesInput[];
158
- NOT?: Prisma.PropertyAmenityScalarWhereWithAggregatesInput | Prisma.PropertyAmenityScalarWhereWithAggregatesInput[];
159
- propertyId?: Prisma.StringWithAggregatesFilter<"PropertyAmenity"> | string;
160
- amenityId?: Prisma.StringWithAggregatesFilter<"PropertyAmenity"> | string;
161
- createdAt?: Prisma.DateTimeWithAggregatesFilter<"PropertyAmenity"> | Date | string;
162
- };
163
- export type PropertyAmenityCreateInput = {
164
- createdAt?: Date | string;
165
- property: Prisma.PropertyCreateNestedOneWithoutAmenitiesInput;
166
- amenity: Prisma.AmenityCreateNestedOneWithoutPropertiesInput;
167
- };
168
- export type PropertyAmenityUncheckedCreateInput = {
169
- propertyId: string;
170
- amenityId: string;
171
- createdAt?: Date | string;
172
- };
173
- export type PropertyAmenityUpdateInput = {
174
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
175
- property?: Prisma.PropertyUpdateOneRequiredWithoutAmenitiesNestedInput;
176
- amenity?: Prisma.AmenityUpdateOneRequiredWithoutPropertiesNestedInput;
177
- };
178
- export type PropertyAmenityUncheckedUpdateInput = {
179
- propertyId?: Prisma.StringFieldUpdateOperationsInput | string;
180
- amenityId?: Prisma.StringFieldUpdateOperationsInput | string;
181
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
182
- };
183
- export type PropertyAmenityCreateManyInput = {
184
- propertyId: string;
185
- amenityId: string;
186
- createdAt?: Date | string;
187
- };
188
- export type PropertyAmenityUpdateManyMutationInput = {
189
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
190
- };
191
- export type PropertyAmenityUncheckedUpdateManyInput = {
192
- propertyId?: Prisma.StringFieldUpdateOperationsInput | string;
193
- amenityId?: Prisma.StringFieldUpdateOperationsInput | string;
194
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
195
- };
196
- export type PropertyAmenityListRelationFilter = {
197
- every?: Prisma.PropertyAmenityWhereInput;
198
- some?: Prisma.PropertyAmenityWhereInput;
199
- none?: Prisma.PropertyAmenityWhereInput;
200
- };
201
- export type PropertyAmenityOrderByRelationAggregateInput = {
202
- _count?: Prisma.SortOrder;
203
- };
204
- export type PropertyAmenityOrderByRelevanceInput = {
205
- fields: Prisma.PropertyAmenityOrderByRelevanceFieldEnum | Prisma.PropertyAmenityOrderByRelevanceFieldEnum[];
206
- sort: Prisma.SortOrder;
207
- search: string;
208
- };
209
- export type PropertyAmenityPropertyIdAmenityIdCompoundUniqueInput = {
210
- propertyId: string;
211
- amenityId: string;
212
- };
213
- export type PropertyAmenityCountOrderByAggregateInput = {
214
- propertyId?: Prisma.SortOrder;
215
- amenityId?: Prisma.SortOrder;
216
- createdAt?: Prisma.SortOrder;
217
- };
218
- export type PropertyAmenityMaxOrderByAggregateInput = {
219
- propertyId?: Prisma.SortOrder;
220
- amenityId?: Prisma.SortOrder;
221
- createdAt?: Prisma.SortOrder;
222
- };
223
- export type PropertyAmenityMinOrderByAggregateInput = {
224
- propertyId?: Prisma.SortOrder;
225
- amenityId?: Prisma.SortOrder;
226
- createdAt?: Prisma.SortOrder;
227
- };
228
- export type PropertyAmenityCreateNestedManyWithoutPropertyInput = {
229
- create?: Prisma.XOR<Prisma.PropertyAmenityCreateWithoutPropertyInput, Prisma.PropertyAmenityUncheckedCreateWithoutPropertyInput> | Prisma.PropertyAmenityCreateWithoutPropertyInput[] | Prisma.PropertyAmenityUncheckedCreateWithoutPropertyInput[];
230
- connectOrCreate?: Prisma.PropertyAmenityCreateOrConnectWithoutPropertyInput | Prisma.PropertyAmenityCreateOrConnectWithoutPropertyInput[];
231
- createMany?: Prisma.PropertyAmenityCreateManyPropertyInputEnvelope;
232
- connect?: Prisma.PropertyAmenityWhereUniqueInput | Prisma.PropertyAmenityWhereUniqueInput[];
233
- };
234
- export type PropertyAmenityUncheckedCreateNestedManyWithoutPropertyInput = {
235
- create?: Prisma.XOR<Prisma.PropertyAmenityCreateWithoutPropertyInput, Prisma.PropertyAmenityUncheckedCreateWithoutPropertyInput> | Prisma.PropertyAmenityCreateWithoutPropertyInput[] | Prisma.PropertyAmenityUncheckedCreateWithoutPropertyInput[];
236
- connectOrCreate?: Prisma.PropertyAmenityCreateOrConnectWithoutPropertyInput | Prisma.PropertyAmenityCreateOrConnectWithoutPropertyInput[];
237
- createMany?: Prisma.PropertyAmenityCreateManyPropertyInputEnvelope;
238
- connect?: Prisma.PropertyAmenityWhereUniqueInput | Prisma.PropertyAmenityWhereUniqueInput[];
239
- };
240
- export type PropertyAmenityUpdateManyWithoutPropertyNestedInput = {
241
- create?: Prisma.XOR<Prisma.PropertyAmenityCreateWithoutPropertyInput, Prisma.PropertyAmenityUncheckedCreateWithoutPropertyInput> | Prisma.PropertyAmenityCreateWithoutPropertyInput[] | Prisma.PropertyAmenityUncheckedCreateWithoutPropertyInput[];
242
- connectOrCreate?: Prisma.PropertyAmenityCreateOrConnectWithoutPropertyInput | Prisma.PropertyAmenityCreateOrConnectWithoutPropertyInput[];
243
- upsert?: Prisma.PropertyAmenityUpsertWithWhereUniqueWithoutPropertyInput | Prisma.PropertyAmenityUpsertWithWhereUniqueWithoutPropertyInput[];
244
- createMany?: Prisma.PropertyAmenityCreateManyPropertyInputEnvelope;
245
- set?: Prisma.PropertyAmenityWhereUniqueInput | Prisma.PropertyAmenityWhereUniqueInput[];
246
- disconnect?: Prisma.PropertyAmenityWhereUniqueInput | Prisma.PropertyAmenityWhereUniqueInput[];
247
- delete?: Prisma.PropertyAmenityWhereUniqueInput | Prisma.PropertyAmenityWhereUniqueInput[];
248
- connect?: Prisma.PropertyAmenityWhereUniqueInput | Prisma.PropertyAmenityWhereUniqueInput[];
249
- update?: Prisma.PropertyAmenityUpdateWithWhereUniqueWithoutPropertyInput | Prisma.PropertyAmenityUpdateWithWhereUniqueWithoutPropertyInput[];
250
- updateMany?: Prisma.PropertyAmenityUpdateManyWithWhereWithoutPropertyInput | Prisma.PropertyAmenityUpdateManyWithWhereWithoutPropertyInput[];
251
- deleteMany?: Prisma.PropertyAmenityScalarWhereInput | Prisma.PropertyAmenityScalarWhereInput[];
252
- };
253
- export type PropertyAmenityUncheckedUpdateManyWithoutPropertyNestedInput = {
254
- create?: Prisma.XOR<Prisma.PropertyAmenityCreateWithoutPropertyInput, Prisma.PropertyAmenityUncheckedCreateWithoutPropertyInput> | Prisma.PropertyAmenityCreateWithoutPropertyInput[] | Prisma.PropertyAmenityUncheckedCreateWithoutPropertyInput[];
255
- connectOrCreate?: Prisma.PropertyAmenityCreateOrConnectWithoutPropertyInput | Prisma.PropertyAmenityCreateOrConnectWithoutPropertyInput[];
256
- upsert?: Prisma.PropertyAmenityUpsertWithWhereUniqueWithoutPropertyInput | Prisma.PropertyAmenityUpsertWithWhereUniqueWithoutPropertyInput[];
257
- createMany?: Prisma.PropertyAmenityCreateManyPropertyInputEnvelope;
258
- set?: Prisma.PropertyAmenityWhereUniqueInput | Prisma.PropertyAmenityWhereUniqueInput[];
259
- disconnect?: Prisma.PropertyAmenityWhereUniqueInput | Prisma.PropertyAmenityWhereUniqueInput[];
260
- delete?: Prisma.PropertyAmenityWhereUniqueInput | Prisma.PropertyAmenityWhereUniqueInput[];
261
- connect?: Prisma.PropertyAmenityWhereUniqueInput | Prisma.PropertyAmenityWhereUniqueInput[];
262
- update?: Prisma.PropertyAmenityUpdateWithWhereUniqueWithoutPropertyInput | Prisma.PropertyAmenityUpdateWithWhereUniqueWithoutPropertyInput[];
263
- updateMany?: Prisma.PropertyAmenityUpdateManyWithWhereWithoutPropertyInput | Prisma.PropertyAmenityUpdateManyWithWhereWithoutPropertyInput[];
264
- deleteMany?: Prisma.PropertyAmenityScalarWhereInput | Prisma.PropertyAmenityScalarWhereInput[];
265
- };
266
- export type PropertyAmenityCreateNestedManyWithoutAmenityInput = {
267
- create?: Prisma.XOR<Prisma.PropertyAmenityCreateWithoutAmenityInput, Prisma.PropertyAmenityUncheckedCreateWithoutAmenityInput> | Prisma.PropertyAmenityCreateWithoutAmenityInput[] | Prisma.PropertyAmenityUncheckedCreateWithoutAmenityInput[];
268
- connectOrCreate?: Prisma.PropertyAmenityCreateOrConnectWithoutAmenityInput | Prisma.PropertyAmenityCreateOrConnectWithoutAmenityInput[];
269
- createMany?: Prisma.PropertyAmenityCreateManyAmenityInputEnvelope;
270
- connect?: Prisma.PropertyAmenityWhereUniqueInput | Prisma.PropertyAmenityWhereUniqueInput[];
271
- };
272
- export type PropertyAmenityUncheckedCreateNestedManyWithoutAmenityInput = {
273
- create?: Prisma.XOR<Prisma.PropertyAmenityCreateWithoutAmenityInput, Prisma.PropertyAmenityUncheckedCreateWithoutAmenityInput> | Prisma.PropertyAmenityCreateWithoutAmenityInput[] | Prisma.PropertyAmenityUncheckedCreateWithoutAmenityInput[];
274
- connectOrCreate?: Prisma.PropertyAmenityCreateOrConnectWithoutAmenityInput | Prisma.PropertyAmenityCreateOrConnectWithoutAmenityInput[];
275
- createMany?: Prisma.PropertyAmenityCreateManyAmenityInputEnvelope;
276
- connect?: Prisma.PropertyAmenityWhereUniqueInput | Prisma.PropertyAmenityWhereUniqueInput[];
277
- };
278
- export type PropertyAmenityUpdateManyWithoutAmenityNestedInput = {
279
- create?: Prisma.XOR<Prisma.PropertyAmenityCreateWithoutAmenityInput, Prisma.PropertyAmenityUncheckedCreateWithoutAmenityInput> | Prisma.PropertyAmenityCreateWithoutAmenityInput[] | Prisma.PropertyAmenityUncheckedCreateWithoutAmenityInput[];
280
- connectOrCreate?: Prisma.PropertyAmenityCreateOrConnectWithoutAmenityInput | Prisma.PropertyAmenityCreateOrConnectWithoutAmenityInput[];
281
- upsert?: Prisma.PropertyAmenityUpsertWithWhereUniqueWithoutAmenityInput | Prisma.PropertyAmenityUpsertWithWhereUniqueWithoutAmenityInput[];
282
- createMany?: Prisma.PropertyAmenityCreateManyAmenityInputEnvelope;
283
- set?: Prisma.PropertyAmenityWhereUniqueInput | Prisma.PropertyAmenityWhereUniqueInput[];
284
- disconnect?: Prisma.PropertyAmenityWhereUniqueInput | Prisma.PropertyAmenityWhereUniqueInput[];
285
- delete?: Prisma.PropertyAmenityWhereUniqueInput | Prisma.PropertyAmenityWhereUniqueInput[];
286
- connect?: Prisma.PropertyAmenityWhereUniqueInput | Prisma.PropertyAmenityWhereUniqueInput[];
287
- update?: Prisma.PropertyAmenityUpdateWithWhereUniqueWithoutAmenityInput | Prisma.PropertyAmenityUpdateWithWhereUniqueWithoutAmenityInput[];
288
- updateMany?: Prisma.PropertyAmenityUpdateManyWithWhereWithoutAmenityInput | Prisma.PropertyAmenityUpdateManyWithWhereWithoutAmenityInput[];
289
- deleteMany?: Prisma.PropertyAmenityScalarWhereInput | Prisma.PropertyAmenityScalarWhereInput[];
290
- };
291
- export type PropertyAmenityUncheckedUpdateManyWithoutAmenityNestedInput = {
292
- create?: Prisma.XOR<Prisma.PropertyAmenityCreateWithoutAmenityInput, Prisma.PropertyAmenityUncheckedCreateWithoutAmenityInput> | Prisma.PropertyAmenityCreateWithoutAmenityInput[] | Prisma.PropertyAmenityUncheckedCreateWithoutAmenityInput[];
293
- connectOrCreate?: Prisma.PropertyAmenityCreateOrConnectWithoutAmenityInput | Prisma.PropertyAmenityCreateOrConnectWithoutAmenityInput[];
294
- upsert?: Prisma.PropertyAmenityUpsertWithWhereUniqueWithoutAmenityInput | Prisma.PropertyAmenityUpsertWithWhereUniqueWithoutAmenityInput[];
295
- createMany?: Prisma.PropertyAmenityCreateManyAmenityInputEnvelope;
296
- set?: Prisma.PropertyAmenityWhereUniqueInput | Prisma.PropertyAmenityWhereUniqueInput[];
297
- disconnect?: Prisma.PropertyAmenityWhereUniqueInput | Prisma.PropertyAmenityWhereUniqueInput[];
298
- delete?: Prisma.PropertyAmenityWhereUniqueInput | Prisma.PropertyAmenityWhereUniqueInput[];
299
- connect?: Prisma.PropertyAmenityWhereUniqueInput | Prisma.PropertyAmenityWhereUniqueInput[];
300
- update?: Prisma.PropertyAmenityUpdateWithWhereUniqueWithoutAmenityInput | Prisma.PropertyAmenityUpdateWithWhereUniqueWithoutAmenityInput[];
301
- updateMany?: Prisma.PropertyAmenityUpdateManyWithWhereWithoutAmenityInput | Prisma.PropertyAmenityUpdateManyWithWhereWithoutAmenityInput[];
302
- deleteMany?: Prisma.PropertyAmenityScalarWhereInput | Prisma.PropertyAmenityScalarWhereInput[];
303
- };
304
- export type PropertyAmenityCreateWithoutPropertyInput = {
305
- createdAt?: Date | string;
306
- amenity: Prisma.AmenityCreateNestedOneWithoutPropertiesInput;
307
- };
308
- export type PropertyAmenityUncheckedCreateWithoutPropertyInput = {
309
- amenityId: string;
310
- createdAt?: Date | string;
311
- };
312
- export type PropertyAmenityCreateOrConnectWithoutPropertyInput = {
313
- where: Prisma.PropertyAmenityWhereUniqueInput;
314
- create: Prisma.XOR<Prisma.PropertyAmenityCreateWithoutPropertyInput, Prisma.PropertyAmenityUncheckedCreateWithoutPropertyInput>;
315
- };
316
- export type PropertyAmenityCreateManyPropertyInputEnvelope = {
317
- data: Prisma.PropertyAmenityCreateManyPropertyInput | Prisma.PropertyAmenityCreateManyPropertyInput[];
318
- skipDuplicates?: boolean;
319
- };
320
- export type PropertyAmenityUpsertWithWhereUniqueWithoutPropertyInput = {
321
- where: Prisma.PropertyAmenityWhereUniqueInput;
322
- update: Prisma.XOR<Prisma.PropertyAmenityUpdateWithoutPropertyInput, Prisma.PropertyAmenityUncheckedUpdateWithoutPropertyInput>;
323
- create: Prisma.XOR<Prisma.PropertyAmenityCreateWithoutPropertyInput, Prisma.PropertyAmenityUncheckedCreateWithoutPropertyInput>;
324
- };
325
- export type PropertyAmenityUpdateWithWhereUniqueWithoutPropertyInput = {
326
- where: Prisma.PropertyAmenityWhereUniqueInput;
327
- data: Prisma.XOR<Prisma.PropertyAmenityUpdateWithoutPropertyInput, Prisma.PropertyAmenityUncheckedUpdateWithoutPropertyInput>;
328
- };
329
- export type PropertyAmenityUpdateManyWithWhereWithoutPropertyInput = {
330
- where: Prisma.PropertyAmenityScalarWhereInput;
331
- data: Prisma.XOR<Prisma.PropertyAmenityUpdateManyMutationInput, Prisma.PropertyAmenityUncheckedUpdateManyWithoutPropertyInput>;
332
- };
333
- export type PropertyAmenityScalarWhereInput = {
334
- AND?: Prisma.PropertyAmenityScalarWhereInput | Prisma.PropertyAmenityScalarWhereInput[];
335
- OR?: Prisma.PropertyAmenityScalarWhereInput[];
336
- NOT?: Prisma.PropertyAmenityScalarWhereInput | Prisma.PropertyAmenityScalarWhereInput[];
337
- propertyId?: Prisma.StringFilter<"PropertyAmenity"> | string;
338
- amenityId?: Prisma.StringFilter<"PropertyAmenity"> | string;
339
- createdAt?: Prisma.DateTimeFilter<"PropertyAmenity"> | Date | string;
340
- };
341
- export type PropertyAmenityCreateWithoutAmenityInput = {
342
- createdAt?: Date | string;
343
- property: Prisma.PropertyCreateNestedOneWithoutAmenitiesInput;
344
- };
345
- export type PropertyAmenityUncheckedCreateWithoutAmenityInput = {
346
- propertyId: string;
347
- createdAt?: Date | string;
348
- };
349
- export type PropertyAmenityCreateOrConnectWithoutAmenityInput = {
350
- where: Prisma.PropertyAmenityWhereUniqueInput;
351
- create: Prisma.XOR<Prisma.PropertyAmenityCreateWithoutAmenityInput, Prisma.PropertyAmenityUncheckedCreateWithoutAmenityInput>;
352
- };
353
- export type PropertyAmenityCreateManyAmenityInputEnvelope = {
354
- data: Prisma.PropertyAmenityCreateManyAmenityInput | Prisma.PropertyAmenityCreateManyAmenityInput[];
355
- skipDuplicates?: boolean;
356
- };
357
- export type PropertyAmenityUpsertWithWhereUniqueWithoutAmenityInput = {
358
- where: Prisma.PropertyAmenityWhereUniqueInput;
359
- update: Prisma.XOR<Prisma.PropertyAmenityUpdateWithoutAmenityInput, Prisma.PropertyAmenityUncheckedUpdateWithoutAmenityInput>;
360
- create: Prisma.XOR<Prisma.PropertyAmenityCreateWithoutAmenityInput, Prisma.PropertyAmenityUncheckedCreateWithoutAmenityInput>;
361
- };
362
- export type PropertyAmenityUpdateWithWhereUniqueWithoutAmenityInput = {
363
- where: Prisma.PropertyAmenityWhereUniqueInput;
364
- data: Prisma.XOR<Prisma.PropertyAmenityUpdateWithoutAmenityInput, Prisma.PropertyAmenityUncheckedUpdateWithoutAmenityInput>;
365
- };
366
- export type PropertyAmenityUpdateManyWithWhereWithoutAmenityInput = {
367
- where: Prisma.PropertyAmenityScalarWhereInput;
368
- data: Prisma.XOR<Prisma.PropertyAmenityUpdateManyMutationInput, Prisma.PropertyAmenityUncheckedUpdateManyWithoutAmenityInput>;
369
- };
370
- export type PropertyAmenityCreateManyPropertyInput = {
371
- amenityId: string;
372
- createdAt?: Date | string;
373
- };
374
- export type PropertyAmenityUpdateWithoutPropertyInput = {
375
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
376
- amenity?: Prisma.AmenityUpdateOneRequiredWithoutPropertiesNestedInput;
377
- };
378
- export type PropertyAmenityUncheckedUpdateWithoutPropertyInput = {
379
- amenityId?: Prisma.StringFieldUpdateOperationsInput | string;
380
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
381
- };
382
- export type PropertyAmenityUncheckedUpdateManyWithoutPropertyInput = {
383
- amenityId?: Prisma.StringFieldUpdateOperationsInput | string;
384
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
385
- };
386
- export type PropertyAmenityCreateManyAmenityInput = {
387
- propertyId: string;
388
- createdAt?: Date | string;
389
- };
390
- export type PropertyAmenityUpdateWithoutAmenityInput = {
391
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
392
- property?: Prisma.PropertyUpdateOneRequiredWithoutAmenitiesNestedInput;
393
- };
394
- export type PropertyAmenityUncheckedUpdateWithoutAmenityInput = {
395
- propertyId?: Prisma.StringFieldUpdateOperationsInput | string;
396
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
397
- };
398
- export type PropertyAmenityUncheckedUpdateManyWithoutAmenityInput = {
399
- propertyId?: Prisma.StringFieldUpdateOperationsInput | string;
400
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
401
- };
402
- export type PropertyAmenitySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
403
- propertyId?: boolean;
404
- amenityId?: boolean;
405
- createdAt?: boolean;
406
- property?: boolean | Prisma.PropertyDefaultArgs<ExtArgs>;
407
- amenity?: boolean | Prisma.AmenityDefaultArgs<ExtArgs>;
408
- }, ExtArgs["result"]["propertyAmenity"]>;
409
- export type PropertyAmenitySelectScalar = {
410
- propertyId?: boolean;
411
- amenityId?: boolean;
412
- createdAt?: boolean;
413
- };
414
- export type PropertyAmenityOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"propertyId" | "amenityId" | "createdAt", ExtArgs["result"]["propertyAmenity"]>;
415
- export type PropertyAmenityInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
416
- property?: boolean | Prisma.PropertyDefaultArgs<ExtArgs>;
417
- amenity?: boolean | Prisma.AmenityDefaultArgs<ExtArgs>;
418
- };
419
- export type $PropertyAmenityPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
420
- name: "PropertyAmenity";
421
- objects: {
422
- property: Prisma.$PropertyPayload<ExtArgs>;
423
- amenity: Prisma.$AmenityPayload<ExtArgs>;
424
- };
425
- scalars: runtime.Types.Extensions.GetPayloadResult<{
426
- propertyId: string;
427
- amenityId: string;
428
- createdAt: Date;
429
- }, ExtArgs["result"]["propertyAmenity"]>;
430
- composites: {};
431
- };
432
- export type PropertyAmenityGetPayload<S extends boolean | null | undefined | PropertyAmenityDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$PropertyAmenityPayload, S>;
433
- export type PropertyAmenityCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<PropertyAmenityFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
434
- select?: PropertyAmenityCountAggregateInputType | true;
435
- };
436
- export interface PropertyAmenityDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
437
- [K: symbol]: {
438
- types: Prisma.TypeMap<ExtArgs>['model']['PropertyAmenity'];
439
- meta: {
440
- name: 'PropertyAmenity';
441
- };
442
- };
443
- /**
444
- * Find zero or one PropertyAmenity that matches the filter.
445
- * @param {PropertyAmenityFindUniqueArgs} args - Arguments to find a PropertyAmenity
446
- * @example
447
- * // Get one PropertyAmenity
448
- * const propertyAmenity = await prisma.propertyAmenity.findUnique({
449
- * where: {
450
- * // ... provide filter here
451
- * }
452
- * })
453
- */
454
- findUnique<T extends PropertyAmenityFindUniqueArgs>(args: Prisma.SelectSubset<T, PropertyAmenityFindUniqueArgs<ExtArgs>>): Prisma.Prisma__PropertyAmenityClient<runtime.Types.Result.GetResult<Prisma.$PropertyAmenityPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
455
- /**
456
- * Find one PropertyAmenity that matches the filter or throw an error with `error.code='P2025'`
457
- * if no matches were found.
458
- * @param {PropertyAmenityFindUniqueOrThrowArgs} args - Arguments to find a PropertyAmenity
459
- * @example
460
- * // Get one PropertyAmenity
461
- * const propertyAmenity = await prisma.propertyAmenity.findUniqueOrThrow({
462
- * where: {
463
- * // ... provide filter here
464
- * }
465
- * })
466
- */
467
- findUniqueOrThrow<T extends PropertyAmenityFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, PropertyAmenityFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__PropertyAmenityClient<runtime.Types.Result.GetResult<Prisma.$PropertyAmenityPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
468
- /**
469
- * Find the first PropertyAmenity 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 {PropertyAmenityFindFirstArgs} args - Arguments to find a PropertyAmenity
473
- * @example
474
- * // Get one PropertyAmenity
475
- * const propertyAmenity = await prisma.propertyAmenity.findFirst({
476
- * where: {
477
- * // ... provide filter here
478
- * }
479
- * })
480
- */
481
- findFirst<T extends PropertyAmenityFindFirstArgs>(args?: Prisma.SelectSubset<T, PropertyAmenityFindFirstArgs<ExtArgs>>): Prisma.Prisma__PropertyAmenityClient<runtime.Types.Result.GetResult<Prisma.$PropertyAmenityPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
482
- /**
483
- * Find the first PropertyAmenity 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 {PropertyAmenityFindFirstOrThrowArgs} args - Arguments to find a PropertyAmenity
488
- * @example
489
- * // Get one PropertyAmenity
490
- * const propertyAmenity = await prisma.propertyAmenity.findFirstOrThrow({
491
- * where: {
492
- * // ... provide filter here
493
- * }
494
- * })
495
- */
496
- findFirstOrThrow<T extends PropertyAmenityFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, PropertyAmenityFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__PropertyAmenityClient<runtime.Types.Result.GetResult<Prisma.$PropertyAmenityPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
497
- /**
498
- * Find zero or more PropertyAmenities 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 {PropertyAmenityFindManyArgs} args - Arguments to filter and select certain fields only.
502
- * @example
503
- * // Get all PropertyAmenities
504
- * const propertyAmenities = await prisma.propertyAmenity.findMany()
505
- *
506
- * // Get first 10 PropertyAmenities
507
- * const propertyAmenities = await prisma.propertyAmenity.findMany({ take: 10 })
508
- *
509
- * // Only select the `propertyId`
510
- * const propertyAmenityWithPropertyIdOnly = await prisma.propertyAmenity.findMany({ select: { propertyId: true } })
511
- *
512
- */
513
- findMany<T extends PropertyAmenityFindManyArgs>(args?: Prisma.SelectSubset<T, PropertyAmenityFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PropertyAmenityPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
514
- /**
515
- * Create a PropertyAmenity.
516
- * @param {PropertyAmenityCreateArgs} args - Arguments to create a PropertyAmenity.
517
- * @example
518
- * // Create one PropertyAmenity
519
- * const PropertyAmenity = await prisma.propertyAmenity.create({
520
- * data: {
521
- * // ... data to create a PropertyAmenity
522
- * }
523
- * })
524
- *
525
- */
526
- create<T extends PropertyAmenityCreateArgs>(args: Prisma.SelectSubset<T, PropertyAmenityCreateArgs<ExtArgs>>): Prisma.Prisma__PropertyAmenityClient<runtime.Types.Result.GetResult<Prisma.$PropertyAmenityPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
527
- /**
528
- * Create many PropertyAmenities.
529
- * @param {PropertyAmenityCreateManyArgs} args - Arguments to create many PropertyAmenities.
530
- * @example
531
- * // Create many PropertyAmenities
532
- * const propertyAmenity = await prisma.propertyAmenity.createMany({
533
- * data: [
534
- * // ... provide data here
535
- * ]
536
- * })
537
- *
538
- */
539
- createMany<T extends PropertyAmenityCreateManyArgs>(args?: Prisma.SelectSubset<T, PropertyAmenityCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
540
- /**
541
- * Delete a PropertyAmenity.
542
- * @param {PropertyAmenityDeleteArgs} args - Arguments to delete one PropertyAmenity.
543
- * @example
544
- * // Delete one PropertyAmenity
545
- * const PropertyAmenity = await prisma.propertyAmenity.delete({
546
- * where: {
547
- * // ... filter to delete one PropertyAmenity
548
- * }
549
- * })
550
- *
551
- */
552
- delete<T extends PropertyAmenityDeleteArgs>(args: Prisma.SelectSubset<T, PropertyAmenityDeleteArgs<ExtArgs>>): Prisma.Prisma__PropertyAmenityClient<runtime.Types.Result.GetResult<Prisma.$PropertyAmenityPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
553
- /**
554
- * Update one PropertyAmenity.
555
- * @param {PropertyAmenityUpdateArgs} args - Arguments to update one PropertyAmenity.
556
- * @example
557
- * // Update one PropertyAmenity
558
- * const propertyAmenity = await prisma.propertyAmenity.update({
559
- * where: {
560
- * // ... provide filter here
561
- * },
562
- * data: {
563
- * // ... provide data here
564
- * }
565
- * })
566
- *
567
- */
568
- update<T extends PropertyAmenityUpdateArgs>(args: Prisma.SelectSubset<T, PropertyAmenityUpdateArgs<ExtArgs>>): Prisma.Prisma__PropertyAmenityClient<runtime.Types.Result.GetResult<Prisma.$PropertyAmenityPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
569
- /**
570
- * Delete zero or more PropertyAmenities.
571
- * @param {PropertyAmenityDeleteManyArgs} args - Arguments to filter PropertyAmenities to delete.
572
- * @example
573
- * // Delete a few PropertyAmenities
574
- * const { count } = await prisma.propertyAmenity.deleteMany({
575
- * where: {
576
- * // ... provide filter here
577
- * }
578
- * })
579
- *
580
- */
581
- deleteMany<T extends PropertyAmenityDeleteManyArgs>(args?: Prisma.SelectSubset<T, PropertyAmenityDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
582
- /**
583
- * Update zero or more PropertyAmenities.
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 {PropertyAmenityUpdateManyArgs} args - Arguments to update one or more rows.
587
- * @example
588
- * // Update many PropertyAmenities
589
- * const propertyAmenity = await prisma.propertyAmenity.updateMany({
590
- * where: {
591
- * // ... provide filter here
592
- * },
593
- * data: {
594
- * // ... provide data here
595
- * }
596
- * })
597
- *
598
- */
599
- updateMany<T extends PropertyAmenityUpdateManyArgs>(args: Prisma.SelectSubset<T, PropertyAmenityUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
600
- /**
601
- * Create or update one PropertyAmenity.
602
- * @param {PropertyAmenityUpsertArgs} args - Arguments to update or create a PropertyAmenity.
603
- * @example
604
- * // Update or create a PropertyAmenity
605
- * const propertyAmenity = await prisma.propertyAmenity.upsert({
606
- * create: {
607
- * // ... data to create a PropertyAmenity
608
- * },
609
- * update: {
610
- * // ... in case it already exists, update
611
- * },
612
- * where: {
613
- * // ... the filter for the PropertyAmenity we want to update
614
- * }
615
- * })
616
- */
617
- upsert<T extends PropertyAmenityUpsertArgs>(args: Prisma.SelectSubset<T, PropertyAmenityUpsertArgs<ExtArgs>>): Prisma.Prisma__PropertyAmenityClient<runtime.Types.Result.GetResult<Prisma.$PropertyAmenityPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
618
- /**
619
- * Count the number of PropertyAmenities.
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 {PropertyAmenityCountArgs} args - Arguments to filter PropertyAmenities to count.
623
- * @example
624
- * // Count the number of PropertyAmenities
625
- * const count = await prisma.propertyAmenity.count({
626
- * where: {
627
- * // ... the filter for the PropertyAmenities we want to count
628
- * }
629
- * })
630
- **/
631
- count<T extends PropertyAmenityCountArgs>(args?: Prisma.Subset<T, PropertyAmenityCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], PropertyAmenityCountAggregateOutputType> : number>;
632
- /**
633
- * Allows you to perform aggregations operations on a PropertyAmenity.
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 {PropertyAmenityAggregateArgs} 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 PropertyAmenityAggregateArgs>(args: Prisma.Subset<T, PropertyAmenityAggregateArgs>): Prisma.PrismaPromise<GetPropertyAmenityAggregateType<T>>;
657
- /**
658
- * Group by PropertyAmenity.
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 {PropertyAmenityGroupByArgs} 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 PropertyAmenityGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
676
- orderBy: PropertyAmenityGroupByArgs['orderBy'];
677
- } : {
678
- orderBy?: PropertyAmenityGroupByArgs['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, PropertyAmenityGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetPropertyAmenityGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
693
- /**
694
- * Fields of the PropertyAmenity model
695
- */
696
- readonly fields: PropertyAmenityFieldRefs;
697
- }
698
- /**
699
- * The delegate class that acts as a "Promise-like" for PropertyAmenity.
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__PropertyAmenityClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
705
- readonly [Symbol.toStringTag]: "PrismaPromise";
706
- property<T extends Prisma.PropertyDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PropertyDefaultArgs<ExtArgs>>): Prisma.Prisma__PropertyClient<runtime.Types.Result.GetResult<Prisma.$PropertyPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
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 PropertyAmenity model
731
- */
732
- export interface PropertyAmenityFieldRefs {
733
- readonly propertyId: Prisma.FieldRef<"PropertyAmenity", 'String'>;
734
- readonly amenityId: Prisma.FieldRef<"PropertyAmenity", 'String'>;
735
- readonly createdAt: Prisma.FieldRef<"PropertyAmenity", 'DateTime'>;
736
- }
737
- /**
738
- * PropertyAmenity findUnique
739
- */
740
- export type PropertyAmenityFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
741
- /**
742
- * Select specific fields to fetch from the PropertyAmenity
743
- */
744
- select?: Prisma.PropertyAmenitySelect<ExtArgs> | null;
745
- /**
746
- * Omit specific fields from the PropertyAmenity
747
- */
748
- omit?: Prisma.PropertyAmenityOmit<ExtArgs> | null;
749
- /**
750
- * Choose, which related nodes to fetch as well
751
- */
752
- include?: Prisma.PropertyAmenityInclude<ExtArgs> | null;
753
- /**
754
- * Filter, which PropertyAmenity to fetch.
755
- */
756
- where: Prisma.PropertyAmenityWhereUniqueInput;
757
- };
758
- /**
759
- * PropertyAmenity findUniqueOrThrow
760
- */
761
- export type PropertyAmenityFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
762
- /**
763
- * Select specific fields to fetch from the PropertyAmenity
764
- */
765
- select?: Prisma.PropertyAmenitySelect<ExtArgs> | null;
766
- /**
767
- * Omit specific fields from the PropertyAmenity
768
- */
769
- omit?: Prisma.PropertyAmenityOmit<ExtArgs> | null;
770
- /**
771
- * Choose, which related nodes to fetch as well
772
- */
773
- include?: Prisma.PropertyAmenityInclude<ExtArgs> | null;
774
- /**
775
- * Filter, which PropertyAmenity to fetch.
776
- */
777
- where: Prisma.PropertyAmenityWhereUniqueInput;
778
- };
779
- /**
780
- * PropertyAmenity findFirst
781
- */
782
- export type PropertyAmenityFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
783
- /**
784
- * Select specific fields to fetch from the PropertyAmenity
785
- */
786
- select?: Prisma.PropertyAmenitySelect<ExtArgs> | null;
787
- /**
788
- * Omit specific fields from the PropertyAmenity
789
- */
790
- omit?: Prisma.PropertyAmenityOmit<ExtArgs> | null;
791
- /**
792
- * Choose, which related nodes to fetch as well
793
- */
794
- include?: Prisma.PropertyAmenityInclude<ExtArgs> | null;
795
- /**
796
- * Filter, which PropertyAmenity to fetch.
797
- */
798
- where?: Prisma.PropertyAmenityWhereInput;
799
- /**
800
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
801
- *
802
- * Determine the order of PropertyAmenities to fetch.
803
- */
804
- orderBy?: Prisma.PropertyAmenityOrderByWithRelationInput | Prisma.PropertyAmenityOrderByWithRelationInput[];
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 PropertyAmenities.
809
- */
810
- cursor?: Prisma.PropertyAmenityWhereUniqueInput;
811
- /**
812
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
813
- *
814
- * Take `±n` PropertyAmenities 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` PropertyAmenities.
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 PropertyAmenities.
827
- */
828
- distinct?: Prisma.PropertyAmenityScalarFieldEnum | Prisma.PropertyAmenityScalarFieldEnum[];
829
- };
830
- /**
831
- * PropertyAmenity findFirstOrThrow
832
- */
833
- export type PropertyAmenityFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
834
- /**
835
- * Select specific fields to fetch from the PropertyAmenity
836
- */
837
- select?: Prisma.PropertyAmenitySelect<ExtArgs> | null;
838
- /**
839
- * Omit specific fields from the PropertyAmenity
840
- */
841
- omit?: Prisma.PropertyAmenityOmit<ExtArgs> | null;
842
- /**
843
- * Choose, which related nodes to fetch as well
844
- */
845
- include?: Prisma.PropertyAmenityInclude<ExtArgs> | null;
846
- /**
847
- * Filter, which PropertyAmenity to fetch.
848
- */
849
- where?: Prisma.PropertyAmenityWhereInput;
850
- /**
851
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
852
- *
853
- * Determine the order of PropertyAmenities to fetch.
854
- */
855
- orderBy?: Prisma.PropertyAmenityOrderByWithRelationInput | Prisma.PropertyAmenityOrderByWithRelationInput[];
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 PropertyAmenities.
860
- */
861
- cursor?: Prisma.PropertyAmenityWhereUniqueInput;
862
- /**
863
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
864
- *
865
- * Take `±n` PropertyAmenities 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` PropertyAmenities.
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 PropertyAmenities.
878
- */
879
- distinct?: Prisma.PropertyAmenityScalarFieldEnum | Prisma.PropertyAmenityScalarFieldEnum[];
880
- };
881
- /**
882
- * PropertyAmenity findMany
883
- */
884
- export type PropertyAmenityFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
885
- /**
886
- * Select specific fields to fetch from the PropertyAmenity
887
- */
888
- select?: Prisma.PropertyAmenitySelect<ExtArgs> | null;
889
- /**
890
- * Omit specific fields from the PropertyAmenity
891
- */
892
- omit?: Prisma.PropertyAmenityOmit<ExtArgs> | null;
893
- /**
894
- * Choose, which related nodes to fetch as well
895
- */
896
- include?: Prisma.PropertyAmenityInclude<ExtArgs> | null;
897
- /**
898
- * Filter, which PropertyAmenities to fetch.
899
- */
900
- where?: Prisma.PropertyAmenityWhereInput;
901
- /**
902
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
903
- *
904
- * Determine the order of PropertyAmenities to fetch.
905
- */
906
- orderBy?: Prisma.PropertyAmenityOrderByWithRelationInput | Prisma.PropertyAmenityOrderByWithRelationInput[];
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 PropertyAmenities.
911
- */
912
- cursor?: Prisma.PropertyAmenityWhereUniqueInput;
913
- /**
914
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
915
- *
916
- * Take `±n` PropertyAmenities 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` PropertyAmenities.
923
- */
924
- skip?: number;
925
- distinct?: Prisma.PropertyAmenityScalarFieldEnum | Prisma.PropertyAmenityScalarFieldEnum[];
926
- };
927
- /**
928
- * PropertyAmenity create
929
- */
930
- export type PropertyAmenityCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
931
- /**
932
- * Select specific fields to fetch from the PropertyAmenity
933
- */
934
- select?: Prisma.PropertyAmenitySelect<ExtArgs> | null;
935
- /**
936
- * Omit specific fields from the PropertyAmenity
937
- */
938
- omit?: Prisma.PropertyAmenityOmit<ExtArgs> | null;
939
- /**
940
- * Choose, which related nodes to fetch as well
941
- */
942
- include?: Prisma.PropertyAmenityInclude<ExtArgs> | null;
943
- /**
944
- * The data needed to create a PropertyAmenity.
945
- */
946
- data: Prisma.XOR<Prisma.PropertyAmenityCreateInput, Prisma.PropertyAmenityUncheckedCreateInput>;
947
- };
948
- /**
949
- * PropertyAmenity createMany
950
- */
951
- export type PropertyAmenityCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
952
- /**
953
- * The data used to create many PropertyAmenities.
954
- */
955
- data: Prisma.PropertyAmenityCreateManyInput | Prisma.PropertyAmenityCreateManyInput[];
956
- skipDuplicates?: boolean;
957
- };
958
- /**
959
- * PropertyAmenity update
960
- */
961
- export type PropertyAmenityUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
962
- /**
963
- * Select specific fields to fetch from the PropertyAmenity
964
- */
965
- select?: Prisma.PropertyAmenitySelect<ExtArgs> | null;
966
- /**
967
- * Omit specific fields from the PropertyAmenity
968
- */
969
- omit?: Prisma.PropertyAmenityOmit<ExtArgs> | null;
970
- /**
971
- * Choose, which related nodes to fetch as well
972
- */
973
- include?: Prisma.PropertyAmenityInclude<ExtArgs> | null;
974
- /**
975
- * The data needed to update a PropertyAmenity.
976
- */
977
- data: Prisma.XOR<Prisma.PropertyAmenityUpdateInput, Prisma.PropertyAmenityUncheckedUpdateInput>;
978
- /**
979
- * Choose, which PropertyAmenity to update.
980
- */
981
- where: Prisma.PropertyAmenityWhereUniqueInput;
982
- };
983
- /**
984
- * PropertyAmenity updateMany
985
- */
986
- export type PropertyAmenityUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
987
- /**
988
- * The data used to update PropertyAmenities.
989
- */
990
- data: Prisma.XOR<Prisma.PropertyAmenityUpdateManyMutationInput, Prisma.PropertyAmenityUncheckedUpdateManyInput>;
991
- /**
992
- * Filter which PropertyAmenities to update
993
- */
994
- where?: Prisma.PropertyAmenityWhereInput;
995
- /**
996
- * Limit how many PropertyAmenities to update.
997
- */
998
- limit?: number;
999
- };
1000
- /**
1001
- * PropertyAmenity upsert
1002
- */
1003
- export type PropertyAmenityUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1004
- /**
1005
- * Select specific fields to fetch from the PropertyAmenity
1006
- */
1007
- select?: Prisma.PropertyAmenitySelect<ExtArgs> | null;
1008
- /**
1009
- * Omit specific fields from the PropertyAmenity
1010
- */
1011
- omit?: Prisma.PropertyAmenityOmit<ExtArgs> | null;
1012
- /**
1013
- * Choose, which related nodes to fetch as well
1014
- */
1015
- include?: Prisma.PropertyAmenityInclude<ExtArgs> | null;
1016
- /**
1017
- * The filter to search for the PropertyAmenity to update in case it exists.
1018
- */
1019
- where: Prisma.PropertyAmenityWhereUniqueInput;
1020
- /**
1021
- * In case the PropertyAmenity found by the `where` argument doesn't exist, create a new PropertyAmenity with this data.
1022
- */
1023
- create: Prisma.XOR<Prisma.PropertyAmenityCreateInput, Prisma.PropertyAmenityUncheckedCreateInput>;
1024
- /**
1025
- * In case the PropertyAmenity was found with the provided `where` argument, update it with this data.
1026
- */
1027
- update: Prisma.XOR<Prisma.PropertyAmenityUpdateInput, Prisma.PropertyAmenityUncheckedUpdateInput>;
1028
- };
1029
- /**
1030
- * PropertyAmenity delete
1031
- */
1032
- export type PropertyAmenityDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1033
- /**
1034
- * Select specific fields to fetch from the PropertyAmenity
1035
- */
1036
- select?: Prisma.PropertyAmenitySelect<ExtArgs> | null;
1037
- /**
1038
- * Omit specific fields from the PropertyAmenity
1039
- */
1040
- omit?: Prisma.PropertyAmenityOmit<ExtArgs> | null;
1041
- /**
1042
- * Choose, which related nodes to fetch as well
1043
- */
1044
- include?: Prisma.PropertyAmenityInclude<ExtArgs> | null;
1045
- /**
1046
- * Filter which PropertyAmenity to delete.
1047
- */
1048
- where: Prisma.PropertyAmenityWhereUniqueInput;
1049
- };
1050
- /**
1051
- * PropertyAmenity deleteMany
1052
- */
1053
- export type PropertyAmenityDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1054
- /**
1055
- * Filter which PropertyAmenities to delete
1056
- */
1057
- where?: Prisma.PropertyAmenityWhereInput;
1058
- /**
1059
- * Limit how many PropertyAmenities to delete.
1060
- */
1061
- limit?: number;
1062
- };
1063
- /**
1064
- * PropertyAmenity without action
1065
- */
1066
- export type PropertyAmenityDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1067
- /**
1068
- * Select specific fields to fetch from the PropertyAmenity
1069
- */
1070
- select?: Prisma.PropertyAmenitySelect<ExtArgs> | null;
1071
- /**
1072
- * Omit specific fields from the PropertyAmenity
1073
- */
1074
- omit?: Prisma.PropertyAmenityOmit<ExtArgs> | null;
1075
- /**
1076
- * Choose, which related nodes to fetch as well
1077
- */
1078
- include?: Prisma.PropertyAmenityInclude<ExtArgs> | null;
1079
- };
1080
- export {};