@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,1331 +0,0 @@
1
- import type * as runtime from "@prisma/client/runtime/client";
2
- import type * as Prisma from "../internal/prismaNamespace.js";
3
- /**
4
- * Model PropertyMedia
5
- *
6
- */
7
- export type PropertyMediaModel = runtime.Types.Result.DefaultSelection<Prisma.$PropertyMediaPayload>;
8
- export type AggregatePropertyMedia = {
9
- _count: PropertyMediaCountAggregateOutputType | null;
10
- _avg: PropertyMediaAvgAggregateOutputType | null;
11
- _sum: PropertyMediaSumAggregateOutputType | null;
12
- _min: PropertyMediaMinAggregateOutputType | null;
13
- _max: PropertyMediaMaxAggregateOutputType | null;
14
- };
15
- export type PropertyMediaAvgAggregateOutputType = {
16
- order: number | null;
17
- };
18
- export type PropertyMediaSumAggregateOutputType = {
19
- order: number | null;
20
- };
21
- export type PropertyMediaMinAggregateOutputType = {
22
- id: string | null;
23
- propertyId: string | null;
24
- url: string | null;
25
- type: string | null;
26
- caption: string | null;
27
- order: number | null;
28
- createdAt: Date | null;
29
- updatedAt: Date | null;
30
- };
31
- export type PropertyMediaMaxAggregateOutputType = {
32
- id: string | null;
33
- propertyId: string | null;
34
- url: string | null;
35
- type: string | null;
36
- caption: string | null;
37
- order: number | null;
38
- createdAt: Date | null;
39
- updatedAt: Date | null;
40
- };
41
- export type PropertyMediaCountAggregateOutputType = {
42
- id: number;
43
- propertyId: number;
44
- url: number;
45
- type: number;
46
- caption: number;
47
- order: number;
48
- createdAt: number;
49
- updatedAt: number;
50
- _all: number;
51
- };
52
- export type PropertyMediaAvgAggregateInputType = {
53
- order?: true;
54
- };
55
- export type PropertyMediaSumAggregateInputType = {
56
- order?: true;
57
- };
58
- export type PropertyMediaMinAggregateInputType = {
59
- id?: true;
60
- propertyId?: true;
61
- url?: true;
62
- type?: true;
63
- caption?: true;
64
- order?: true;
65
- createdAt?: true;
66
- updatedAt?: true;
67
- };
68
- export type PropertyMediaMaxAggregateInputType = {
69
- id?: true;
70
- propertyId?: true;
71
- url?: true;
72
- type?: true;
73
- caption?: true;
74
- order?: true;
75
- createdAt?: true;
76
- updatedAt?: true;
77
- };
78
- export type PropertyMediaCountAggregateInputType = {
79
- id?: true;
80
- propertyId?: true;
81
- url?: true;
82
- type?: true;
83
- caption?: true;
84
- order?: true;
85
- createdAt?: true;
86
- updatedAt?: true;
87
- _all?: true;
88
- };
89
- export type PropertyMediaAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
90
- /**
91
- * Filter which PropertyMedia to aggregate.
92
- */
93
- where?: Prisma.PropertyMediaWhereInput;
94
- /**
95
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
96
- *
97
- * Determine the order of PropertyMedias to fetch.
98
- */
99
- orderBy?: Prisma.PropertyMediaOrderByWithRelationInput | Prisma.PropertyMediaOrderByWithRelationInput[];
100
- /**
101
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
102
- *
103
- * Sets the start position
104
- */
105
- cursor?: Prisma.PropertyMediaWhereUniqueInput;
106
- /**
107
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
108
- *
109
- * Take `±n` PropertyMedias from the position of the cursor.
110
- */
111
- take?: number;
112
- /**
113
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
114
- *
115
- * Skip the first `n` PropertyMedias.
116
- */
117
- skip?: number;
118
- /**
119
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
120
- *
121
- * Count returned PropertyMedias
122
- **/
123
- _count?: true | PropertyMediaCountAggregateInputType;
124
- /**
125
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
126
- *
127
- * Select which fields to average
128
- **/
129
- _avg?: PropertyMediaAvgAggregateInputType;
130
- /**
131
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
132
- *
133
- * Select which fields to sum
134
- **/
135
- _sum?: PropertyMediaSumAggregateInputType;
136
- /**
137
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
138
- *
139
- * Select which fields to find the minimum value
140
- **/
141
- _min?: PropertyMediaMinAggregateInputType;
142
- /**
143
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
144
- *
145
- * Select which fields to find the maximum value
146
- **/
147
- _max?: PropertyMediaMaxAggregateInputType;
148
- };
149
- export type GetPropertyMediaAggregateType<T extends PropertyMediaAggregateArgs> = {
150
- [P in keyof T & keyof AggregatePropertyMedia]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregatePropertyMedia[P]> : Prisma.GetScalarType<T[P], AggregatePropertyMedia[P]>;
151
- };
152
- export type PropertyMediaGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
153
- where?: Prisma.PropertyMediaWhereInput;
154
- orderBy?: Prisma.PropertyMediaOrderByWithAggregationInput | Prisma.PropertyMediaOrderByWithAggregationInput[];
155
- by: Prisma.PropertyMediaScalarFieldEnum[] | Prisma.PropertyMediaScalarFieldEnum;
156
- having?: Prisma.PropertyMediaScalarWhereWithAggregatesInput;
157
- take?: number;
158
- skip?: number;
159
- _count?: PropertyMediaCountAggregateInputType | true;
160
- _avg?: PropertyMediaAvgAggregateInputType;
161
- _sum?: PropertyMediaSumAggregateInputType;
162
- _min?: PropertyMediaMinAggregateInputType;
163
- _max?: PropertyMediaMaxAggregateInputType;
164
- };
165
- export type PropertyMediaGroupByOutputType = {
166
- id: string;
167
- propertyId: string;
168
- url: string;
169
- type: string;
170
- caption: string | null;
171
- order: number;
172
- createdAt: Date;
173
- updatedAt: Date;
174
- _count: PropertyMediaCountAggregateOutputType | null;
175
- _avg: PropertyMediaAvgAggregateOutputType | null;
176
- _sum: PropertyMediaSumAggregateOutputType | null;
177
- _min: PropertyMediaMinAggregateOutputType | null;
178
- _max: PropertyMediaMaxAggregateOutputType | null;
179
- };
180
- type GetPropertyMediaGroupByPayload<T extends PropertyMediaGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<PropertyMediaGroupByOutputType, T['by']> & {
181
- [P in ((keyof T) & (keyof PropertyMediaGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], PropertyMediaGroupByOutputType[P]> : Prisma.GetScalarType<T[P], PropertyMediaGroupByOutputType[P]>;
182
- }>>;
183
- export type PropertyMediaWhereInput = {
184
- AND?: Prisma.PropertyMediaWhereInput | Prisma.PropertyMediaWhereInput[];
185
- OR?: Prisma.PropertyMediaWhereInput[];
186
- NOT?: Prisma.PropertyMediaWhereInput | Prisma.PropertyMediaWhereInput[];
187
- id?: Prisma.StringFilter<"PropertyMedia"> | string;
188
- propertyId?: Prisma.StringFilter<"PropertyMedia"> | string;
189
- url?: Prisma.StringFilter<"PropertyMedia"> | string;
190
- type?: Prisma.StringFilter<"PropertyMedia"> | string;
191
- caption?: Prisma.StringNullableFilter<"PropertyMedia"> | string | null;
192
- order?: Prisma.IntFilter<"PropertyMedia"> | number;
193
- createdAt?: Prisma.DateTimeFilter<"PropertyMedia"> | Date | string;
194
- updatedAt?: Prisma.DateTimeFilter<"PropertyMedia"> | Date | string;
195
- property?: Prisma.XOR<Prisma.PropertyScalarRelationFilter, Prisma.PropertyWhereInput>;
196
- displayForProperties?: Prisma.PropertyListRelationFilter;
197
- };
198
- export type PropertyMediaOrderByWithRelationInput = {
199
- id?: Prisma.SortOrder;
200
- propertyId?: Prisma.SortOrder;
201
- url?: Prisma.SortOrder;
202
- type?: Prisma.SortOrder;
203
- caption?: Prisma.SortOrderInput | Prisma.SortOrder;
204
- order?: Prisma.SortOrder;
205
- createdAt?: Prisma.SortOrder;
206
- updatedAt?: Prisma.SortOrder;
207
- property?: Prisma.PropertyOrderByWithRelationInput;
208
- displayForProperties?: Prisma.PropertyOrderByRelationAggregateInput;
209
- _relevance?: Prisma.PropertyMediaOrderByRelevanceInput;
210
- };
211
- export type PropertyMediaWhereUniqueInput = Prisma.AtLeast<{
212
- id?: string;
213
- AND?: Prisma.PropertyMediaWhereInput | Prisma.PropertyMediaWhereInput[];
214
- OR?: Prisma.PropertyMediaWhereInput[];
215
- NOT?: Prisma.PropertyMediaWhereInput | Prisma.PropertyMediaWhereInput[];
216
- propertyId?: Prisma.StringFilter<"PropertyMedia"> | string;
217
- url?: Prisma.StringFilter<"PropertyMedia"> | string;
218
- type?: Prisma.StringFilter<"PropertyMedia"> | string;
219
- caption?: Prisma.StringNullableFilter<"PropertyMedia"> | string | null;
220
- order?: Prisma.IntFilter<"PropertyMedia"> | number;
221
- createdAt?: Prisma.DateTimeFilter<"PropertyMedia"> | Date | string;
222
- updatedAt?: Prisma.DateTimeFilter<"PropertyMedia"> | Date | string;
223
- property?: Prisma.XOR<Prisma.PropertyScalarRelationFilter, Prisma.PropertyWhereInput>;
224
- displayForProperties?: Prisma.PropertyListRelationFilter;
225
- }, "id">;
226
- export type PropertyMediaOrderByWithAggregationInput = {
227
- id?: Prisma.SortOrder;
228
- propertyId?: Prisma.SortOrder;
229
- url?: Prisma.SortOrder;
230
- type?: Prisma.SortOrder;
231
- caption?: Prisma.SortOrderInput | Prisma.SortOrder;
232
- order?: Prisma.SortOrder;
233
- createdAt?: Prisma.SortOrder;
234
- updatedAt?: Prisma.SortOrder;
235
- _count?: Prisma.PropertyMediaCountOrderByAggregateInput;
236
- _avg?: Prisma.PropertyMediaAvgOrderByAggregateInput;
237
- _max?: Prisma.PropertyMediaMaxOrderByAggregateInput;
238
- _min?: Prisma.PropertyMediaMinOrderByAggregateInput;
239
- _sum?: Prisma.PropertyMediaSumOrderByAggregateInput;
240
- };
241
- export type PropertyMediaScalarWhereWithAggregatesInput = {
242
- AND?: Prisma.PropertyMediaScalarWhereWithAggregatesInput | Prisma.PropertyMediaScalarWhereWithAggregatesInput[];
243
- OR?: Prisma.PropertyMediaScalarWhereWithAggregatesInput[];
244
- NOT?: Prisma.PropertyMediaScalarWhereWithAggregatesInput | Prisma.PropertyMediaScalarWhereWithAggregatesInput[];
245
- id?: Prisma.StringWithAggregatesFilter<"PropertyMedia"> | string;
246
- propertyId?: Prisma.StringWithAggregatesFilter<"PropertyMedia"> | string;
247
- url?: Prisma.StringWithAggregatesFilter<"PropertyMedia"> | string;
248
- type?: Prisma.StringWithAggregatesFilter<"PropertyMedia"> | string;
249
- caption?: Prisma.StringNullableWithAggregatesFilter<"PropertyMedia"> | string | null;
250
- order?: Prisma.IntWithAggregatesFilter<"PropertyMedia"> | number;
251
- createdAt?: Prisma.DateTimeWithAggregatesFilter<"PropertyMedia"> | Date | string;
252
- updatedAt?: Prisma.DateTimeWithAggregatesFilter<"PropertyMedia"> | Date | string;
253
- };
254
- export type PropertyMediaCreateInput = {
255
- id?: string;
256
- url: string;
257
- type: string;
258
- caption?: string | null;
259
- order?: number;
260
- createdAt?: Date | string;
261
- updatedAt?: Date | string;
262
- property: Prisma.PropertyCreateNestedOneWithoutMediaInput;
263
- displayForProperties?: Prisma.PropertyCreateNestedManyWithoutDisplayImageInput;
264
- };
265
- export type PropertyMediaUncheckedCreateInput = {
266
- id?: string;
267
- propertyId: string;
268
- url: string;
269
- type: string;
270
- caption?: string | null;
271
- order?: number;
272
- createdAt?: Date | string;
273
- updatedAt?: Date | string;
274
- displayForProperties?: Prisma.PropertyUncheckedCreateNestedManyWithoutDisplayImageInput;
275
- };
276
- export type PropertyMediaUpdateInput = {
277
- id?: Prisma.StringFieldUpdateOperationsInput | string;
278
- url?: Prisma.StringFieldUpdateOperationsInput | string;
279
- type?: Prisma.StringFieldUpdateOperationsInput | string;
280
- caption?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
281
- order?: Prisma.IntFieldUpdateOperationsInput | number;
282
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
283
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
284
- property?: Prisma.PropertyUpdateOneRequiredWithoutMediaNestedInput;
285
- displayForProperties?: Prisma.PropertyUpdateManyWithoutDisplayImageNestedInput;
286
- };
287
- export type PropertyMediaUncheckedUpdateInput = {
288
- id?: Prisma.StringFieldUpdateOperationsInput | string;
289
- propertyId?: Prisma.StringFieldUpdateOperationsInput | string;
290
- url?: Prisma.StringFieldUpdateOperationsInput | string;
291
- type?: Prisma.StringFieldUpdateOperationsInput | string;
292
- caption?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
293
- order?: Prisma.IntFieldUpdateOperationsInput | number;
294
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
295
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
296
- displayForProperties?: Prisma.PropertyUncheckedUpdateManyWithoutDisplayImageNestedInput;
297
- };
298
- export type PropertyMediaCreateManyInput = {
299
- id?: string;
300
- propertyId: string;
301
- url: string;
302
- type: string;
303
- caption?: string | null;
304
- order?: number;
305
- createdAt?: Date | string;
306
- updatedAt?: Date | string;
307
- };
308
- export type PropertyMediaUpdateManyMutationInput = {
309
- id?: Prisma.StringFieldUpdateOperationsInput | string;
310
- url?: Prisma.StringFieldUpdateOperationsInput | string;
311
- type?: Prisma.StringFieldUpdateOperationsInput | string;
312
- caption?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
313
- order?: Prisma.IntFieldUpdateOperationsInput | number;
314
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
315
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
316
- };
317
- export type PropertyMediaUncheckedUpdateManyInput = {
318
- id?: Prisma.StringFieldUpdateOperationsInput | string;
319
- propertyId?: Prisma.StringFieldUpdateOperationsInput | string;
320
- url?: Prisma.StringFieldUpdateOperationsInput | string;
321
- type?: Prisma.StringFieldUpdateOperationsInput | string;
322
- caption?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
323
- order?: Prisma.IntFieldUpdateOperationsInput | number;
324
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
325
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
326
- };
327
- export type PropertyMediaNullableScalarRelationFilter = {
328
- is?: Prisma.PropertyMediaWhereInput | null;
329
- isNot?: Prisma.PropertyMediaWhereInput | null;
330
- };
331
- export type PropertyMediaListRelationFilter = {
332
- every?: Prisma.PropertyMediaWhereInput;
333
- some?: Prisma.PropertyMediaWhereInput;
334
- none?: Prisma.PropertyMediaWhereInput;
335
- };
336
- export type PropertyMediaOrderByRelationAggregateInput = {
337
- _count?: Prisma.SortOrder;
338
- };
339
- export type PropertyMediaOrderByRelevanceInput = {
340
- fields: Prisma.PropertyMediaOrderByRelevanceFieldEnum | Prisma.PropertyMediaOrderByRelevanceFieldEnum[];
341
- sort: Prisma.SortOrder;
342
- search: string;
343
- };
344
- export type PropertyMediaCountOrderByAggregateInput = {
345
- id?: Prisma.SortOrder;
346
- propertyId?: Prisma.SortOrder;
347
- url?: Prisma.SortOrder;
348
- type?: Prisma.SortOrder;
349
- caption?: Prisma.SortOrder;
350
- order?: Prisma.SortOrder;
351
- createdAt?: Prisma.SortOrder;
352
- updatedAt?: Prisma.SortOrder;
353
- };
354
- export type PropertyMediaAvgOrderByAggregateInput = {
355
- order?: Prisma.SortOrder;
356
- };
357
- export type PropertyMediaMaxOrderByAggregateInput = {
358
- id?: Prisma.SortOrder;
359
- propertyId?: Prisma.SortOrder;
360
- url?: Prisma.SortOrder;
361
- type?: Prisma.SortOrder;
362
- caption?: Prisma.SortOrder;
363
- order?: Prisma.SortOrder;
364
- createdAt?: Prisma.SortOrder;
365
- updatedAt?: Prisma.SortOrder;
366
- };
367
- export type PropertyMediaMinOrderByAggregateInput = {
368
- id?: Prisma.SortOrder;
369
- propertyId?: Prisma.SortOrder;
370
- url?: Prisma.SortOrder;
371
- type?: Prisma.SortOrder;
372
- caption?: Prisma.SortOrder;
373
- order?: Prisma.SortOrder;
374
- createdAt?: Prisma.SortOrder;
375
- updatedAt?: Prisma.SortOrder;
376
- };
377
- export type PropertyMediaSumOrderByAggregateInput = {
378
- order?: Prisma.SortOrder;
379
- };
380
- export type PropertyMediaCreateNestedOneWithoutDisplayForPropertiesInput = {
381
- create?: Prisma.XOR<Prisma.PropertyMediaCreateWithoutDisplayForPropertiesInput, Prisma.PropertyMediaUncheckedCreateWithoutDisplayForPropertiesInput>;
382
- connectOrCreate?: Prisma.PropertyMediaCreateOrConnectWithoutDisplayForPropertiesInput;
383
- connect?: Prisma.PropertyMediaWhereUniqueInput;
384
- };
385
- export type PropertyMediaCreateNestedManyWithoutPropertyInput = {
386
- create?: Prisma.XOR<Prisma.PropertyMediaCreateWithoutPropertyInput, Prisma.PropertyMediaUncheckedCreateWithoutPropertyInput> | Prisma.PropertyMediaCreateWithoutPropertyInput[] | Prisma.PropertyMediaUncheckedCreateWithoutPropertyInput[];
387
- connectOrCreate?: Prisma.PropertyMediaCreateOrConnectWithoutPropertyInput | Prisma.PropertyMediaCreateOrConnectWithoutPropertyInput[];
388
- createMany?: Prisma.PropertyMediaCreateManyPropertyInputEnvelope;
389
- connect?: Prisma.PropertyMediaWhereUniqueInput | Prisma.PropertyMediaWhereUniqueInput[];
390
- };
391
- export type PropertyMediaUncheckedCreateNestedManyWithoutPropertyInput = {
392
- create?: Prisma.XOR<Prisma.PropertyMediaCreateWithoutPropertyInput, Prisma.PropertyMediaUncheckedCreateWithoutPropertyInput> | Prisma.PropertyMediaCreateWithoutPropertyInput[] | Prisma.PropertyMediaUncheckedCreateWithoutPropertyInput[];
393
- connectOrCreate?: Prisma.PropertyMediaCreateOrConnectWithoutPropertyInput | Prisma.PropertyMediaCreateOrConnectWithoutPropertyInput[];
394
- createMany?: Prisma.PropertyMediaCreateManyPropertyInputEnvelope;
395
- connect?: Prisma.PropertyMediaWhereUniqueInput | Prisma.PropertyMediaWhereUniqueInput[];
396
- };
397
- export type PropertyMediaUpdateOneWithoutDisplayForPropertiesNestedInput = {
398
- create?: Prisma.XOR<Prisma.PropertyMediaCreateWithoutDisplayForPropertiesInput, Prisma.PropertyMediaUncheckedCreateWithoutDisplayForPropertiesInput>;
399
- connectOrCreate?: Prisma.PropertyMediaCreateOrConnectWithoutDisplayForPropertiesInput;
400
- upsert?: Prisma.PropertyMediaUpsertWithoutDisplayForPropertiesInput;
401
- disconnect?: Prisma.PropertyMediaWhereInput | boolean;
402
- delete?: Prisma.PropertyMediaWhereInput | boolean;
403
- connect?: Prisma.PropertyMediaWhereUniqueInput;
404
- update?: Prisma.XOR<Prisma.XOR<Prisma.PropertyMediaUpdateToOneWithWhereWithoutDisplayForPropertiesInput, Prisma.PropertyMediaUpdateWithoutDisplayForPropertiesInput>, Prisma.PropertyMediaUncheckedUpdateWithoutDisplayForPropertiesInput>;
405
- };
406
- export type PropertyMediaUpdateManyWithoutPropertyNestedInput = {
407
- create?: Prisma.XOR<Prisma.PropertyMediaCreateWithoutPropertyInput, Prisma.PropertyMediaUncheckedCreateWithoutPropertyInput> | Prisma.PropertyMediaCreateWithoutPropertyInput[] | Prisma.PropertyMediaUncheckedCreateWithoutPropertyInput[];
408
- connectOrCreate?: Prisma.PropertyMediaCreateOrConnectWithoutPropertyInput | Prisma.PropertyMediaCreateOrConnectWithoutPropertyInput[];
409
- upsert?: Prisma.PropertyMediaUpsertWithWhereUniqueWithoutPropertyInput | Prisma.PropertyMediaUpsertWithWhereUniqueWithoutPropertyInput[];
410
- createMany?: Prisma.PropertyMediaCreateManyPropertyInputEnvelope;
411
- set?: Prisma.PropertyMediaWhereUniqueInput | Prisma.PropertyMediaWhereUniqueInput[];
412
- disconnect?: Prisma.PropertyMediaWhereUniqueInput | Prisma.PropertyMediaWhereUniqueInput[];
413
- delete?: Prisma.PropertyMediaWhereUniqueInput | Prisma.PropertyMediaWhereUniqueInput[];
414
- connect?: Prisma.PropertyMediaWhereUniqueInput | Prisma.PropertyMediaWhereUniqueInput[];
415
- update?: Prisma.PropertyMediaUpdateWithWhereUniqueWithoutPropertyInput | Prisma.PropertyMediaUpdateWithWhereUniqueWithoutPropertyInput[];
416
- updateMany?: Prisma.PropertyMediaUpdateManyWithWhereWithoutPropertyInput | Prisma.PropertyMediaUpdateManyWithWhereWithoutPropertyInput[];
417
- deleteMany?: Prisma.PropertyMediaScalarWhereInput | Prisma.PropertyMediaScalarWhereInput[];
418
- };
419
- export type PropertyMediaUncheckedUpdateManyWithoutPropertyNestedInput = {
420
- create?: Prisma.XOR<Prisma.PropertyMediaCreateWithoutPropertyInput, Prisma.PropertyMediaUncheckedCreateWithoutPropertyInput> | Prisma.PropertyMediaCreateWithoutPropertyInput[] | Prisma.PropertyMediaUncheckedCreateWithoutPropertyInput[];
421
- connectOrCreate?: Prisma.PropertyMediaCreateOrConnectWithoutPropertyInput | Prisma.PropertyMediaCreateOrConnectWithoutPropertyInput[];
422
- upsert?: Prisma.PropertyMediaUpsertWithWhereUniqueWithoutPropertyInput | Prisma.PropertyMediaUpsertWithWhereUniqueWithoutPropertyInput[];
423
- createMany?: Prisma.PropertyMediaCreateManyPropertyInputEnvelope;
424
- set?: Prisma.PropertyMediaWhereUniqueInput | Prisma.PropertyMediaWhereUniqueInput[];
425
- disconnect?: Prisma.PropertyMediaWhereUniqueInput | Prisma.PropertyMediaWhereUniqueInput[];
426
- delete?: Prisma.PropertyMediaWhereUniqueInput | Prisma.PropertyMediaWhereUniqueInput[];
427
- connect?: Prisma.PropertyMediaWhereUniqueInput | Prisma.PropertyMediaWhereUniqueInput[];
428
- update?: Prisma.PropertyMediaUpdateWithWhereUniqueWithoutPropertyInput | Prisma.PropertyMediaUpdateWithWhereUniqueWithoutPropertyInput[];
429
- updateMany?: Prisma.PropertyMediaUpdateManyWithWhereWithoutPropertyInput | Prisma.PropertyMediaUpdateManyWithWhereWithoutPropertyInput[];
430
- deleteMany?: Prisma.PropertyMediaScalarWhereInput | Prisma.PropertyMediaScalarWhereInput[];
431
- };
432
- export type IntFieldUpdateOperationsInput = {
433
- set?: number;
434
- increment?: number;
435
- decrement?: number;
436
- multiply?: number;
437
- divide?: number;
438
- };
439
- export type PropertyMediaCreateWithoutDisplayForPropertiesInput = {
440
- id?: string;
441
- url: string;
442
- type: string;
443
- caption?: string | null;
444
- order?: number;
445
- createdAt?: Date | string;
446
- updatedAt?: Date | string;
447
- property: Prisma.PropertyCreateNestedOneWithoutMediaInput;
448
- };
449
- export type PropertyMediaUncheckedCreateWithoutDisplayForPropertiesInput = {
450
- id?: string;
451
- propertyId: string;
452
- url: string;
453
- type: string;
454
- caption?: string | null;
455
- order?: number;
456
- createdAt?: Date | string;
457
- updatedAt?: Date | string;
458
- };
459
- export type PropertyMediaCreateOrConnectWithoutDisplayForPropertiesInput = {
460
- where: Prisma.PropertyMediaWhereUniqueInput;
461
- create: Prisma.XOR<Prisma.PropertyMediaCreateWithoutDisplayForPropertiesInput, Prisma.PropertyMediaUncheckedCreateWithoutDisplayForPropertiesInput>;
462
- };
463
- export type PropertyMediaCreateWithoutPropertyInput = {
464
- id?: string;
465
- url: string;
466
- type: string;
467
- caption?: string | null;
468
- order?: number;
469
- createdAt?: Date | string;
470
- updatedAt?: Date | string;
471
- displayForProperties?: Prisma.PropertyCreateNestedManyWithoutDisplayImageInput;
472
- };
473
- export type PropertyMediaUncheckedCreateWithoutPropertyInput = {
474
- id?: string;
475
- url: string;
476
- type: string;
477
- caption?: string | null;
478
- order?: number;
479
- createdAt?: Date | string;
480
- updatedAt?: Date | string;
481
- displayForProperties?: Prisma.PropertyUncheckedCreateNestedManyWithoutDisplayImageInput;
482
- };
483
- export type PropertyMediaCreateOrConnectWithoutPropertyInput = {
484
- where: Prisma.PropertyMediaWhereUniqueInput;
485
- create: Prisma.XOR<Prisma.PropertyMediaCreateWithoutPropertyInput, Prisma.PropertyMediaUncheckedCreateWithoutPropertyInput>;
486
- };
487
- export type PropertyMediaCreateManyPropertyInputEnvelope = {
488
- data: Prisma.PropertyMediaCreateManyPropertyInput | Prisma.PropertyMediaCreateManyPropertyInput[];
489
- skipDuplicates?: boolean;
490
- };
491
- export type PropertyMediaUpsertWithoutDisplayForPropertiesInput = {
492
- update: Prisma.XOR<Prisma.PropertyMediaUpdateWithoutDisplayForPropertiesInput, Prisma.PropertyMediaUncheckedUpdateWithoutDisplayForPropertiesInput>;
493
- create: Prisma.XOR<Prisma.PropertyMediaCreateWithoutDisplayForPropertiesInput, Prisma.PropertyMediaUncheckedCreateWithoutDisplayForPropertiesInput>;
494
- where?: Prisma.PropertyMediaWhereInput;
495
- };
496
- export type PropertyMediaUpdateToOneWithWhereWithoutDisplayForPropertiesInput = {
497
- where?: Prisma.PropertyMediaWhereInput;
498
- data: Prisma.XOR<Prisma.PropertyMediaUpdateWithoutDisplayForPropertiesInput, Prisma.PropertyMediaUncheckedUpdateWithoutDisplayForPropertiesInput>;
499
- };
500
- export type PropertyMediaUpdateWithoutDisplayForPropertiesInput = {
501
- id?: Prisma.StringFieldUpdateOperationsInput | string;
502
- url?: Prisma.StringFieldUpdateOperationsInput | string;
503
- type?: Prisma.StringFieldUpdateOperationsInput | string;
504
- caption?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
505
- order?: Prisma.IntFieldUpdateOperationsInput | number;
506
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
507
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
508
- property?: Prisma.PropertyUpdateOneRequiredWithoutMediaNestedInput;
509
- };
510
- export type PropertyMediaUncheckedUpdateWithoutDisplayForPropertiesInput = {
511
- id?: Prisma.StringFieldUpdateOperationsInput | string;
512
- propertyId?: Prisma.StringFieldUpdateOperationsInput | string;
513
- url?: Prisma.StringFieldUpdateOperationsInput | string;
514
- type?: Prisma.StringFieldUpdateOperationsInput | string;
515
- caption?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
516
- order?: Prisma.IntFieldUpdateOperationsInput | number;
517
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
518
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
519
- };
520
- export type PropertyMediaUpsertWithWhereUniqueWithoutPropertyInput = {
521
- where: Prisma.PropertyMediaWhereUniqueInput;
522
- update: Prisma.XOR<Prisma.PropertyMediaUpdateWithoutPropertyInput, Prisma.PropertyMediaUncheckedUpdateWithoutPropertyInput>;
523
- create: Prisma.XOR<Prisma.PropertyMediaCreateWithoutPropertyInput, Prisma.PropertyMediaUncheckedCreateWithoutPropertyInput>;
524
- };
525
- export type PropertyMediaUpdateWithWhereUniqueWithoutPropertyInput = {
526
- where: Prisma.PropertyMediaWhereUniqueInput;
527
- data: Prisma.XOR<Prisma.PropertyMediaUpdateWithoutPropertyInput, Prisma.PropertyMediaUncheckedUpdateWithoutPropertyInput>;
528
- };
529
- export type PropertyMediaUpdateManyWithWhereWithoutPropertyInput = {
530
- where: Prisma.PropertyMediaScalarWhereInput;
531
- data: Prisma.XOR<Prisma.PropertyMediaUpdateManyMutationInput, Prisma.PropertyMediaUncheckedUpdateManyWithoutPropertyInput>;
532
- };
533
- export type PropertyMediaScalarWhereInput = {
534
- AND?: Prisma.PropertyMediaScalarWhereInput | Prisma.PropertyMediaScalarWhereInput[];
535
- OR?: Prisma.PropertyMediaScalarWhereInput[];
536
- NOT?: Prisma.PropertyMediaScalarWhereInput | Prisma.PropertyMediaScalarWhereInput[];
537
- id?: Prisma.StringFilter<"PropertyMedia"> | string;
538
- propertyId?: Prisma.StringFilter<"PropertyMedia"> | string;
539
- url?: Prisma.StringFilter<"PropertyMedia"> | string;
540
- type?: Prisma.StringFilter<"PropertyMedia"> | string;
541
- caption?: Prisma.StringNullableFilter<"PropertyMedia"> | string | null;
542
- order?: Prisma.IntFilter<"PropertyMedia"> | number;
543
- createdAt?: Prisma.DateTimeFilter<"PropertyMedia"> | Date | string;
544
- updatedAt?: Prisma.DateTimeFilter<"PropertyMedia"> | Date | string;
545
- };
546
- export type PropertyMediaCreateManyPropertyInput = {
547
- id?: string;
548
- url: string;
549
- type: string;
550
- caption?: string | null;
551
- order?: number;
552
- createdAt?: Date | string;
553
- updatedAt?: Date | string;
554
- };
555
- export type PropertyMediaUpdateWithoutPropertyInput = {
556
- id?: Prisma.StringFieldUpdateOperationsInput | string;
557
- url?: Prisma.StringFieldUpdateOperationsInput | string;
558
- type?: Prisma.StringFieldUpdateOperationsInput | string;
559
- caption?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
560
- order?: Prisma.IntFieldUpdateOperationsInput | number;
561
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
562
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
563
- displayForProperties?: Prisma.PropertyUpdateManyWithoutDisplayImageNestedInput;
564
- };
565
- export type PropertyMediaUncheckedUpdateWithoutPropertyInput = {
566
- id?: Prisma.StringFieldUpdateOperationsInput | string;
567
- url?: Prisma.StringFieldUpdateOperationsInput | string;
568
- type?: Prisma.StringFieldUpdateOperationsInput | string;
569
- caption?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
570
- order?: Prisma.IntFieldUpdateOperationsInput | number;
571
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
572
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
573
- displayForProperties?: Prisma.PropertyUncheckedUpdateManyWithoutDisplayImageNestedInput;
574
- };
575
- export type PropertyMediaUncheckedUpdateManyWithoutPropertyInput = {
576
- id?: Prisma.StringFieldUpdateOperationsInput | string;
577
- url?: Prisma.StringFieldUpdateOperationsInput | string;
578
- type?: Prisma.StringFieldUpdateOperationsInput | string;
579
- caption?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
580
- order?: Prisma.IntFieldUpdateOperationsInput | number;
581
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
582
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
583
- };
584
- /**
585
- * Count Type PropertyMediaCountOutputType
586
- */
587
- export type PropertyMediaCountOutputType = {
588
- displayForProperties: number;
589
- };
590
- export type PropertyMediaCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
591
- displayForProperties?: boolean | PropertyMediaCountOutputTypeCountDisplayForPropertiesArgs;
592
- };
593
- /**
594
- * PropertyMediaCountOutputType without action
595
- */
596
- export type PropertyMediaCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
597
- /**
598
- * Select specific fields to fetch from the PropertyMediaCountOutputType
599
- */
600
- select?: Prisma.PropertyMediaCountOutputTypeSelect<ExtArgs> | null;
601
- };
602
- /**
603
- * PropertyMediaCountOutputType without action
604
- */
605
- export type PropertyMediaCountOutputTypeCountDisplayForPropertiesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
606
- where?: Prisma.PropertyWhereInput;
607
- };
608
- export type PropertyMediaSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
609
- id?: boolean;
610
- propertyId?: boolean;
611
- url?: boolean;
612
- type?: boolean;
613
- caption?: boolean;
614
- order?: boolean;
615
- createdAt?: boolean;
616
- updatedAt?: boolean;
617
- property?: boolean | Prisma.PropertyDefaultArgs<ExtArgs>;
618
- displayForProperties?: boolean | Prisma.PropertyMedia$displayForPropertiesArgs<ExtArgs>;
619
- _count?: boolean | Prisma.PropertyMediaCountOutputTypeDefaultArgs<ExtArgs>;
620
- }, ExtArgs["result"]["propertyMedia"]>;
621
- export type PropertyMediaSelectScalar = {
622
- id?: boolean;
623
- propertyId?: boolean;
624
- url?: boolean;
625
- type?: boolean;
626
- caption?: boolean;
627
- order?: boolean;
628
- createdAt?: boolean;
629
- updatedAt?: boolean;
630
- };
631
- export type PropertyMediaOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "propertyId" | "url" | "type" | "caption" | "order" | "createdAt" | "updatedAt", ExtArgs["result"]["propertyMedia"]>;
632
- export type PropertyMediaInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
633
- property?: boolean | Prisma.PropertyDefaultArgs<ExtArgs>;
634
- displayForProperties?: boolean | Prisma.PropertyMedia$displayForPropertiesArgs<ExtArgs>;
635
- _count?: boolean | Prisma.PropertyMediaCountOutputTypeDefaultArgs<ExtArgs>;
636
- };
637
- export type $PropertyMediaPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
638
- name: "PropertyMedia";
639
- objects: {
640
- property: Prisma.$PropertyPayload<ExtArgs>;
641
- displayForProperties: Prisma.$PropertyPayload<ExtArgs>[];
642
- };
643
- scalars: runtime.Types.Extensions.GetPayloadResult<{
644
- id: string;
645
- propertyId: string;
646
- url: string;
647
- type: string;
648
- caption: string | null;
649
- order: number;
650
- createdAt: Date;
651
- updatedAt: Date;
652
- }, ExtArgs["result"]["propertyMedia"]>;
653
- composites: {};
654
- };
655
- export type PropertyMediaGetPayload<S extends boolean | null | undefined | PropertyMediaDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$PropertyMediaPayload, S>;
656
- export type PropertyMediaCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<PropertyMediaFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
657
- select?: PropertyMediaCountAggregateInputType | true;
658
- };
659
- export interface PropertyMediaDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
660
- [K: symbol]: {
661
- types: Prisma.TypeMap<ExtArgs>['model']['PropertyMedia'];
662
- meta: {
663
- name: 'PropertyMedia';
664
- };
665
- };
666
- /**
667
- * Find zero or one PropertyMedia that matches the filter.
668
- * @param {PropertyMediaFindUniqueArgs} args - Arguments to find a PropertyMedia
669
- * @example
670
- * // Get one PropertyMedia
671
- * const propertyMedia = await prisma.propertyMedia.findUnique({
672
- * where: {
673
- * // ... provide filter here
674
- * }
675
- * })
676
- */
677
- findUnique<T extends PropertyMediaFindUniqueArgs>(args: Prisma.SelectSubset<T, PropertyMediaFindUniqueArgs<ExtArgs>>): Prisma.Prisma__PropertyMediaClient<runtime.Types.Result.GetResult<Prisma.$PropertyMediaPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
678
- /**
679
- * Find one PropertyMedia that matches the filter or throw an error with `error.code='P2025'`
680
- * if no matches were found.
681
- * @param {PropertyMediaFindUniqueOrThrowArgs} args - Arguments to find a PropertyMedia
682
- * @example
683
- * // Get one PropertyMedia
684
- * const propertyMedia = await prisma.propertyMedia.findUniqueOrThrow({
685
- * where: {
686
- * // ... provide filter here
687
- * }
688
- * })
689
- */
690
- findUniqueOrThrow<T extends PropertyMediaFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, PropertyMediaFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__PropertyMediaClient<runtime.Types.Result.GetResult<Prisma.$PropertyMediaPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
691
- /**
692
- * Find the first PropertyMedia that matches the filter.
693
- * Note, that providing `undefined` is treated as the value not being there.
694
- * Read more here: https://pris.ly/d/null-undefined
695
- * @param {PropertyMediaFindFirstArgs} args - Arguments to find a PropertyMedia
696
- * @example
697
- * // Get one PropertyMedia
698
- * const propertyMedia = await prisma.propertyMedia.findFirst({
699
- * where: {
700
- * // ... provide filter here
701
- * }
702
- * })
703
- */
704
- findFirst<T extends PropertyMediaFindFirstArgs>(args?: Prisma.SelectSubset<T, PropertyMediaFindFirstArgs<ExtArgs>>): Prisma.Prisma__PropertyMediaClient<runtime.Types.Result.GetResult<Prisma.$PropertyMediaPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
705
- /**
706
- * Find the first PropertyMedia that matches the filter or
707
- * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
708
- * Note, that providing `undefined` is treated as the value not being there.
709
- * Read more here: https://pris.ly/d/null-undefined
710
- * @param {PropertyMediaFindFirstOrThrowArgs} args - Arguments to find a PropertyMedia
711
- * @example
712
- * // Get one PropertyMedia
713
- * const propertyMedia = await prisma.propertyMedia.findFirstOrThrow({
714
- * where: {
715
- * // ... provide filter here
716
- * }
717
- * })
718
- */
719
- findFirstOrThrow<T extends PropertyMediaFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, PropertyMediaFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__PropertyMediaClient<runtime.Types.Result.GetResult<Prisma.$PropertyMediaPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
720
- /**
721
- * Find zero or more PropertyMedias that matches the filter.
722
- * Note, that providing `undefined` is treated as the value not being there.
723
- * Read more here: https://pris.ly/d/null-undefined
724
- * @param {PropertyMediaFindManyArgs} args - Arguments to filter and select certain fields only.
725
- * @example
726
- * // Get all PropertyMedias
727
- * const propertyMedias = await prisma.propertyMedia.findMany()
728
- *
729
- * // Get first 10 PropertyMedias
730
- * const propertyMedias = await prisma.propertyMedia.findMany({ take: 10 })
731
- *
732
- * // Only select the `id`
733
- * const propertyMediaWithIdOnly = await prisma.propertyMedia.findMany({ select: { id: true } })
734
- *
735
- */
736
- findMany<T extends PropertyMediaFindManyArgs>(args?: Prisma.SelectSubset<T, PropertyMediaFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PropertyMediaPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
737
- /**
738
- * Create a PropertyMedia.
739
- * @param {PropertyMediaCreateArgs} args - Arguments to create a PropertyMedia.
740
- * @example
741
- * // Create one PropertyMedia
742
- * const PropertyMedia = await prisma.propertyMedia.create({
743
- * data: {
744
- * // ... data to create a PropertyMedia
745
- * }
746
- * })
747
- *
748
- */
749
- create<T extends PropertyMediaCreateArgs>(args: Prisma.SelectSubset<T, PropertyMediaCreateArgs<ExtArgs>>): Prisma.Prisma__PropertyMediaClient<runtime.Types.Result.GetResult<Prisma.$PropertyMediaPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
750
- /**
751
- * Create many PropertyMedias.
752
- * @param {PropertyMediaCreateManyArgs} args - Arguments to create many PropertyMedias.
753
- * @example
754
- * // Create many PropertyMedias
755
- * const propertyMedia = await prisma.propertyMedia.createMany({
756
- * data: [
757
- * // ... provide data here
758
- * ]
759
- * })
760
- *
761
- */
762
- createMany<T extends PropertyMediaCreateManyArgs>(args?: Prisma.SelectSubset<T, PropertyMediaCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
763
- /**
764
- * Delete a PropertyMedia.
765
- * @param {PropertyMediaDeleteArgs} args - Arguments to delete one PropertyMedia.
766
- * @example
767
- * // Delete one PropertyMedia
768
- * const PropertyMedia = await prisma.propertyMedia.delete({
769
- * where: {
770
- * // ... filter to delete one PropertyMedia
771
- * }
772
- * })
773
- *
774
- */
775
- delete<T extends PropertyMediaDeleteArgs>(args: Prisma.SelectSubset<T, PropertyMediaDeleteArgs<ExtArgs>>): Prisma.Prisma__PropertyMediaClient<runtime.Types.Result.GetResult<Prisma.$PropertyMediaPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
776
- /**
777
- * Update one PropertyMedia.
778
- * @param {PropertyMediaUpdateArgs} args - Arguments to update one PropertyMedia.
779
- * @example
780
- * // Update one PropertyMedia
781
- * const propertyMedia = await prisma.propertyMedia.update({
782
- * where: {
783
- * // ... provide filter here
784
- * },
785
- * data: {
786
- * // ... provide data here
787
- * }
788
- * })
789
- *
790
- */
791
- update<T extends PropertyMediaUpdateArgs>(args: Prisma.SelectSubset<T, PropertyMediaUpdateArgs<ExtArgs>>): Prisma.Prisma__PropertyMediaClient<runtime.Types.Result.GetResult<Prisma.$PropertyMediaPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
792
- /**
793
- * Delete zero or more PropertyMedias.
794
- * @param {PropertyMediaDeleteManyArgs} args - Arguments to filter PropertyMedias to delete.
795
- * @example
796
- * // Delete a few PropertyMedias
797
- * const { count } = await prisma.propertyMedia.deleteMany({
798
- * where: {
799
- * // ... provide filter here
800
- * }
801
- * })
802
- *
803
- */
804
- deleteMany<T extends PropertyMediaDeleteManyArgs>(args?: Prisma.SelectSubset<T, PropertyMediaDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
805
- /**
806
- * Update zero or more PropertyMedias.
807
- * Note, that providing `undefined` is treated as the value not being there.
808
- * Read more here: https://pris.ly/d/null-undefined
809
- * @param {PropertyMediaUpdateManyArgs} args - Arguments to update one or more rows.
810
- * @example
811
- * // Update many PropertyMedias
812
- * const propertyMedia = await prisma.propertyMedia.updateMany({
813
- * where: {
814
- * // ... provide filter here
815
- * },
816
- * data: {
817
- * // ... provide data here
818
- * }
819
- * })
820
- *
821
- */
822
- updateMany<T extends PropertyMediaUpdateManyArgs>(args: Prisma.SelectSubset<T, PropertyMediaUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
823
- /**
824
- * Create or update one PropertyMedia.
825
- * @param {PropertyMediaUpsertArgs} args - Arguments to update or create a PropertyMedia.
826
- * @example
827
- * // Update or create a PropertyMedia
828
- * const propertyMedia = await prisma.propertyMedia.upsert({
829
- * create: {
830
- * // ... data to create a PropertyMedia
831
- * },
832
- * update: {
833
- * // ... in case it already exists, update
834
- * },
835
- * where: {
836
- * // ... the filter for the PropertyMedia we want to update
837
- * }
838
- * })
839
- */
840
- upsert<T extends PropertyMediaUpsertArgs>(args: Prisma.SelectSubset<T, PropertyMediaUpsertArgs<ExtArgs>>): Prisma.Prisma__PropertyMediaClient<runtime.Types.Result.GetResult<Prisma.$PropertyMediaPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
841
- /**
842
- * Count the number of PropertyMedias.
843
- * Note, that providing `undefined` is treated as the value not being there.
844
- * Read more here: https://pris.ly/d/null-undefined
845
- * @param {PropertyMediaCountArgs} args - Arguments to filter PropertyMedias to count.
846
- * @example
847
- * // Count the number of PropertyMedias
848
- * const count = await prisma.propertyMedia.count({
849
- * where: {
850
- * // ... the filter for the PropertyMedias we want to count
851
- * }
852
- * })
853
- **/
854
- count<T extends PropertyMediaCountArgs>(args?: Prisma.Subset<T, PropertyMediaCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], PropertyMediaCountAggregateOutputType> : number>;
855
- /**
856
- * Allows you to perform aggregations operations on a PropertyMedia.
857
- * Note, that providing `undefined` is treated as the value not being there.
858
- * Read more here: https://pris.ly/d/null-undefined
859
- * @param {PropertyMediaAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
860
- * @example
861
- * // Ordered by age ascending
862
- * // Where email contains prisma.io
863
- * // Limited to the 10 users
864
- * const aggregations = await prisma.user.aggregate({
865
- * _avg: {
866
- * age: true,
867
- * },
868
- * where: {
869
- * email: {
870
- * contains: "prisma.io",
871
- * },
872
- * },
873
- * orderBy: {
874
- * age: "asc",
875
- * },
876
- * take: 10,
877
- * })
878
- **/
879
- aggregate<T extends PropertyMediaAggregateArgs>(args: Prisma.Subset<T, PropertyMediaAggregateArgs>): Prisma.PrismaPromise<GetPropertyMediaAggregateType<T>>;
880
- /**
881
- * Group by PropertyMedia.
882
- * Note, that providing `undefined` is treated as the value not being there.
883
- * Read more here: https://pris.ly/d/null-undefined
884
- * @param {PropertyMediaGroupByArgs} args - Group by arguments.
885
- * @example
886
- * // Group by city, order by createdAt, get count
887
- * const result = await prisma.user.groupBy({
888
- * by: ['city', 'createdAt'],
889
- * orderBy: {
890
- * createdAt: true
891
- * },
892
- * _count: {
893
- * _all: true
894
- * },
895
- * })
896
- *
897
- **/
898
- groupBy<T extends PropertyMediaGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
899
- orderBy: PropertyMediaGroupByArgs['orderBy'];
900
- } : {
901
- orderBy?: PropertyMediaGroupByArgs['orderBy'];
902
- }, 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 ? {
903
- [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
904
- Error,
905
- 'Field ',
906
- P,
907
- ` in "having" needs to be provided in "by"`
908
- ];
909
- }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
910
- [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
911
- }[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 ? {} : {
912
- [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
913
- }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
914
- [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
915
- }[OrderFields]>(args: Prisma.SubsetIntersection<T, PropertyMediaGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetPropertyMediaGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
916
- /**
917
- * Fields of the PropertyMedia model
918
- */
919
- readonly fields: PropertyMediaFieldRefs;
920
- }
921
- /**
922
- * The delegate class that acts as a "Promise-like" for PropertyMedia.
923
- * Why is this prefixed with `Prisma__`?
924
- * Because we want to prevent naming conflicts as mentioned in
925
- * https://github.com/prisma/prisma-client-js/issues/707
926
- */
927
- export interface Prisma__PropertyMediaClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
928
- readonly [Symbol.toStringTag]: "PrismaPromise";
929
- 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>;
930
- displayForProperties<T extends Prisma.PropertyMedia$displayForPropertiesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PropertyMedia$displayForPropertiesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PropertyPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
931
- /**
932
- * Attaches callbacks for the resolution and/or rejection of the Promise.
933
- * @param onfulfilled The callback to execute when the Promise is resolved.
934
- * @param onrejected The callback to execute when the Promise is rejected.
935
- * @returns A Promise for the completion of which ever callback is executed.
936
- */
937
- 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>;
938
- /**
939
- * Attaches a callback for only the rejection of the Promise.
940
- * @param onrejected The callback to execute when the Promise is rejected.
941
- * @returns A Promise for the completion of the callback.
942
- */
943
- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
944
- /**
945
- * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
946
- * resolved value cannot be modified from the callback.
947
- * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
948
- * @returns A Promise for the completion of the callback.
949
- */
950
- finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
951
- }
952
- /**
953
- * Fields of the PropertyMedia model
954
- */
955
- export interface PropertyMediaFieldRefs {
956
- readonly id: Prisma.FieldRef<"PropertyMedia", 'String'>;
957
- readonly propertyId: Prisma.FieldRef<"PropertyMedia", 'String'>;
958
- readonly url: Prisma.FieldRef<"PropertyMedia", 'String'>;
959
- readonly type: Prisma.FieldRef<"PropertyMedia", 'String'>;
960
- readonly caption: Prisma.FieldRef<"PropertyMedia", 'String'>;
961
- readonly order: Prisma.FieldRef<"PropertyMedia", 'Int'>;
962
- readonly createdAt: Prisma.FieldRef<"PropertyMedia", 'DateTime'>;
963
- readonly updatedAt: Prisma.FieldRef<"PropertyMedia", 'DateTime'>;
964
- }
965
- /**
966
- * PropertyMedia findUnique
967
- */
968
- export type PropertyMediaFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
969
- /**
970
- * Select specific fields to fetch from the PropertyMedia
971
- */
972
- select?: Prisma.PropertyMediaSelect<ExtArgs> | null;
973
- /**
974
- * Omit specific fields from the PropertyMedia
975
- */
976
- omit?: Prisma.PropertyMediaOmit<ExtArgs> | null;
977
- /**
978
- * Choose, which related nodes to fetch as well
979
- */
980
- include?: Prisma.PropertyMediaInclude<ExtArgs> | null;
981
- /**
982
- * Filter, which PropertyMedia to fetch.
983
- */
984
- where: Prisma.PropertyMediaWhereUniqueInput;
985
- };
986
- /**
987
- * PropertyMedia findUniqueOrThrow
988
- */
989
- export type PropertyMediaFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
990
- /**
991
- * Select specific fields to fetch from the PropertyMedia
992
- */
993
- select?: Prisma.PropertyMediaSelect<ExtArgs> | null;
994
- /**
995
- * Omit specific fields from the PropertyMedia
996
- */
997
- omit?: Prisma.PropertyMediaOmit<ExtArgs> | null;
998
- /**
999
- * Choose, which related nodes to fetch as well
1000
- */
1001
- include?: Prisma.PropertyMediaInclude<ExtArgs> | null;
1002
- /**
1003
- * Filter, which PropertyMedia to fetch.
1004
- */
1005
- where: Prisma.PropertyMediaWhereUniqueInput;
1006
- };
1007
- /**
1008
- * PropertyMedia findFirst
1009
- */
1010
- export type PropertyMediaFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1011
- /**
1012
- * Select specific fields to fetch from the PropertyMedia
1013
- */
1014
- select?: Prisma.PropertyMediaSelect<ExtArgs> | null;
1015
- /**
1016
- * Omit specific fields from the PropertyMedia
1017
- */
1018
- omit?: Prisma.PropertyMediaOmit<ExtArgs> | null;
1019
- /**
1020
- * Choose, which related nodes to fetch as well
1021
- */
1022
- include?: Prisma.PropertyMediaInclude<ExtArgs> | null;
1023
- /**
1024
- * Filter, which PropertyMedia to fetch.
1025
- */
1026
- where?: Prisma.PropertyMediaWhereInput;
1027
- /**
1028
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1029
- *
1030
- * Determine the order of PropertyMedias to fetch.
1031
- */
1032
- orderBy?: Prisma.PropertyMediaOrderByWithRelationInput | Prisma.PropertyMediaOrderByWithRelationInput[];
1033
- /**
1034
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1035
- *
1036
- * Sets the position for searching for PropertyMedias.
1037
- */
1038
- cursor?: Prisma.PropertyMediaWhereUniqueInput;
1039
- /**
1040
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1041
- *
1042
- * Take `±n` PropertyMedias from the position of the cursor.
1043
- */
1044
- take?: number;
1045
- /**
1046
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1047
- *
1048
- * Skip the first `n` PropertyMedias.
1049
- */
1050
- skip?: number;
1051
- /**
1052
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1053
- *
1054
- * Filter by unique combinations of PropertyMedias.
1055
- */
1056
- distinct?: Prisma.PropertyMediaScalarFieldEnum | Prisma.PropertyMediaScalarFieldEnum[];
1057
- };
1058
- /**
1059
- * PropertyMedia findFirstOrThrow
1060
- */
1061
- export type PropertyMediaFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1062
- /**
1063
- * Select specific fields to fetch from the PropertyMedia
1064
- */
1065
- select?: Prisma.PropertyMediaSelect<ExtArgs> | null;
1066
- /**
1067
- * Omit specific fields from the PropertyMedia
1068
- */
1069
- omit?: Prisma.PropertyMediaOmit<ExtArgs> | null;
1070
- /**
1071
- * Choose, which related nodes to fetch as well
1072
- */
1073
- include?: Prisma.PropertyMediaInclude<ExtArgs> | null;
1074
- /**
1075
- * Filter, which PropertyMedia to fetch.
1076
- */
1077
- where?: Prisma.PropertyMediaWhereInput;
1078
- /**
1079
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1080
- *
1081
- * Determine the order of PropertyMedias to fetch.
1082
- */
1083
- orderBy?: Prisma.PropertyMediaOrderByWithRelationInput | Prisma.PropertyMediaOrderByWithRelationInput[];
1084
- /**
1085
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1086
- *
1087
- * Sets the position for searching for PropertyMedias.
1088
- */
1089
- cursor?: Prisma.PropertyMediaWhereUniqueInput;
1090
- /**
1091
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1092
- *
1093
- * Take `±n` PropertyMedias from the position of the cursor.
1094
- */
1095
- take?: number;
1096
- /**
1097
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1098
- *
1099
- * Skip the first `n` PropertyMedias.
1100
- */
1101
- skip?: number;
1102
- /**
1103
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1104
- *
1105
- * Filter by unique combinations of PropertyMedias.
1106
- */
1107
- distinct?: Prisma.PropertyMediaScalarFieldEnum | Prisma.PropertyMediaScalarFieldEnum[];
1108
- };
1109
- /**
1110
- * PropertyMedia findMany
1111
- */
1112
- export type PropertyMediaFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1113
- /**
1114
- * Select specific fields to fetch from the PropertyMedia
1115
- */
1116
- select?: Prisma.PropertyMediaSelect<ExtArgs> | null;
1117
- /**
1118
- * Omit specific fields from the PropertyMedia
1119
- */
1120
- omit?: Prisma.PropertyMediaOmit<ExtArgs> | null;
1121
- /**
1122
- * Choose, which related nodes to fetch as well
1123
- */
1124
- include?: Prisma.PropertyMediaInclude<ExtArgs> | null;
1125
- /**
1126
- * Filter, which PropertyMedias to fetch.
1127
- */
1128
- where?: Prisma.PropertyMediaWhereInput;
1129
- /**
1130
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1131
- *
1132
- * Determine the order of PropertyMedias to fetch.
1133
- */
1134
- orderBy?: Prisma.PropertyMediaOrderByWithRelationInput | Prisma.PropertyMediaOrderByWithRelationInput[];
1135
- /**
1136
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1137
- *
1138
- * Sets the position for listing PropertyMedias.
1139
- */
1140
- cursor?: Prisma.PropertyMediaWhereUniqueInput;
1141
- /**
1142
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1143
- *
1144
- * Take `±n` PropertyMedias from the position of the cursor.
1145
- */
1146
- take?: number;
1147
- /**
1148
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1149
- *
1150
- * Skip the first `n` PropertyMedias.
1151
- */
1152
- skip?: number;
1153
- distinct?: Prisma.PropertyMediaScalarFieldEnum | Prisma.PropertyMediaScalarFieldEnum[];
1154
- };
1155
- /**
1156
- * PropertyMedia create
1157
- */
1158
- export type PropertyMediaCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1159
- /**
1160
- * Select specific fields to fetch from the PropertyMedia
1161
- */
1162
- select?: Prisma.PropertyMediaSelect<ExtArgs> | null;
1163
- /**
1164
- * Omit specific fields from the PropertyMedia
1165
- */
1166
- omit?: Prisma.PropertyMediaOmit<ExtArgs> | null;
1167
- /**
1168
- * Choose, which related nodes to fetch as well
1169
- */
1170
- include?: Prisma.PropertyMediaInclude<ExtArgs> | null;
1171
- /**
1172
- * The data needed to create a PropertyMedia.
1173
- */
1174
- data: Prisma.XOR<Prisma.PropertyMediaCreateInput, Prisma.PropertyMediaUncheckedCreateInput>;
1175
- };
1176
- /**
1177
- * PropertyMedia createMany
1178
- */
1179
- export type PropertyMediaCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1180
- /**
1181
- * The data used to create many PropertyMedias.
1182
- */
1183
- data: Prisma.PropertyMediaCreateManyInput | Prisma.PropertyMediaCreateManyInput[];
1184
- skipDuplicates?: boolean;
1185
- };
1186
- /**
1187
- * PropertyMedia update
1188
- */
1189
- export type PropertyMediaUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1190
- /**
1191
- * Select specific fields to fetch from the PropertyMedia
1192
- */
1193
- select?: Prisma.PropertyMediaSelect<ExtArgs> | null;
1194
- /**
1195
- * Omit specific fields from the PropertyMedia
1196
- */
1197
- omit?: Prisma.PropertyMediaOmit<ExtArgs> | null;
1198
- /**
1199
- * Choose, which related nodes to fetch as well
1200
- */
1201
- include?: Prisma.PropertyMediaInclude<ExtArgs> | null;
1202
- /**
1203
- * The data needed to update a PropertyMedia.
1204
- */
1205
- data: Prisma.XOR<Prisma.PropertyMediaUpdateInput, Prisma.PropertyMediaUncheckedUpdateInput>;
1206
- /**
1207
- * Choose, which PropertyMedia to update.
1208
- */
1209
- where: Prisma.PropertyMediaWhereUniqueInput;
1210
- };
1211
- /**
1212
- * PropertyMedia updateMany
1213
- */
1214
- export type PropertyMediaUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1215
- /**
1216
- * The data used to update PropertyMedias.
1217
- */
1218
- data: Prisma.XOR<Prisma.PropertyMediaUpdateManyMutationInput, Prisma.PropertyMediaUncheckedUpdateManyInput>;
1219
- /**
1220
- * Filter which PropertyMedias to update
1221
- */
1222
- where?: Prisma.PropertyMediaWhereInput;
1223
- /**
1224
- * Limit how many PropertyMedias to update.
1225
- */
1226
- limit?: number;
1227
- };
1228
- /**
1229
- * PropertyMedia upsert
1230
- */
1231
- export type PropertyMediaUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1232
- /**
1233
- * Select specific fields to fetch from the PropertyMedia
1234
- */
1235
- select?: Prisma.PropertyMediaSelect<ExtArgs> | null;
1236
- /**
1237
- * Omit specific fields from the PropertyMedia
1238
- */
1239
- omit?: Prisma.PropertyMediaOmit<ExtArgs> | null;
1240
- /**
1241
- * Choose, which related nodes to fetch as well
1242
- */
1243
- include?: Prisma.PropertyMediaInclude<ExtArgs> | null;
1244
- /**
1245
- * The filter to search for the PropertyMedia to update in case it exists.
1246
- */
1247
- where: Prisma.PropertyMediaWhereUniqueInput;
1248
- /**
1249
- * In case the PropertyMedia found by the `where` argument doesn't exist, create a new PropertyMedia with this data.
1250
- */
1251
- create: Prisma.XOR<Prisma.PropertyMediaCreateInput, Prisma.PropertyMediaUncheckedCreateInput>;
1252
- /**
1253
- * In case the PropertyMedia was found with the provided `where` argument, update it with this data.
1254
- */
1255
- update: Prisma.XOR<Prisma.PropertyMediaUpdateInput, Prisma.PropertyMediaUncheckedUpdateInput>;
1256
- };
1257
- /**
1258
- * PropertyMedia delete
1259
- */
1260
- export type PropertyMediaDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1261
- /**
1262
- * Select specific fields to fetch from the PropertyMedia
1263
- */
1264
- select?: Prisma.PropertyMediaSelect<ExtArgs> | null;
1265
- /**
1266
- * Omit specific fields from the PropertyMedia
1267
- */
1268
- omit?: Prisma.PropertyMediaOmit<ExtArgs> | null;
1269
- /**
1270
- * Choose, which related nodes to fetch as well
1271
- */
1272
- include?: Prisma.PropertyMediaInclude<ExtArgs> | null;
1273
- /**
1274
- * Filter which PropertyMedia to delete.
1275
- */
1276
- where: Prisma.PropertyMediaWhereUniqueInput;
1277
- };
1278
- /**
1279
- * PropertyMedia deleteMany
1280
- */
1281
- export type PropertyMediaDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1282
- /**
1283
- * Filter which PropertyMedias to delete
1284
- */
1285
- where?: Prisma.PropertyMediaWhereInput;
1286
- /**
1287
- * Limit how many PropertyMedias to delete.
1288
- */
1289
- limit?: number;
1290
- };
1291
- /**
1292
- * PropertyMedia.displayForProperties
1293
- */
1294
- export type PropertyMedia$displayForPropertiesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1295
- /**
1296
- * Select specific fields to fetch from the Property
1297
- */
1298
- select?: Prisma.PropertySelect<ExtArgs> | null;
1299
- /**
1300
- * Omit specific fields from the Property
1301
- */
1302
- omit?: Prisma.PropertyOmit<ExtArgs> | null;
1303
- /**
1304
- * Choose, which related nodes to fetch as well
1305
- */
1306
- include?: Prisma.PropertyInclude<ExtArgs> | null;
1307
- where?: Prisma.PropertyWhereInput;
1308
- orderBy?: Prisma.PropertyOrderByWithRelationInput | Prisma.PropertyOrderByWithRelationInput[];
1309
- cursor?: Prisma.PropertyWhereUniqueInput;
1310
- take?: number;
1311
- skip?: number;
1312
- distinct?: Prisma.PropertyScalarFieldEnum | Prisma.PropertyScalarFieldEnum[];
1313
- };
1314
- /**
1315
- * PropertyMedia without action
1316
- */
1317
- export type PropertyMediaDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1318
- /**
1319
- * Select specific fields to fetch from the PropertyMedia
1320
- */
1321
- select?: Prisma.PropertyMediaSelect<ExtArgs> | null;
1322
- /**
1323
- * Omit specific fields from the PropertyMedia
1324
- */
1325
- omit?: Prisma.PropertyMediaOmit<ExtArgs> | null;
1326
- /**
1327
- * Choose, which related nodes to fetch as well
1328
- */
1329
- include?: Prisma.PropertyMediaInclude<ExtArgs> | null;
1330
- };
1331
- export {};