@exclusive-website/types 2.9.3 → 2.9.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/types.ts CHANGED
@@ -1,436 +1,448 @@
1
- import {
2
- ApplyStatus, ApprovedState,
3
- Availability,
4
- ContactMethod,
5
- Currency,
6
- DayOfWeek,
7
- DayStatus,
8
- ExperienceLevel,
9
- HairColor,
10
- HairLength,
11
- Language,
12
- NationalityOption,
13
- OtherPractise,
14
- Practise,
15
- PricingCategory,
16
- ServicesFor,
17
- ServiceType,
18
- SexualOrientation,
19
- ShaveStatus,
20
- StateOfListing,
21
- TransactionStatus,
22
- UserRole,
23
- } from "./filterEnums";
24
-
25
- export interface ModelWriteDto {
26
- nickname: string;
27
- phoneNumber: string;
28
- isClir: boolean;
29
- contactMethods: ContactMethod[];
30
- nationality: NationalityOption;
31
- experience: ExperienceLevel;
32
- age: number;
33
- serviceType: ServiceType[];
34
- servicesFor: ServicesFor[];
35
- height: number;
36
- weight: number;
37
- feetSize: number;
38
- breastSize: number;
39
- isSiliconeBreast: boolean;
40
- shaveStatus: ShaveStatus;
41
- sexualOrientation: SexualOrientation;
42
- isSmoker: boolean;
43
- hasPiercing: boolean;
44
- hasTattoo: boolean;
45
- hairColor: HairColor;
46
- hairLength: HairLength;
47
- language: Language[];
48
- description: string;
49
- practice: Practise[];
50
- otherService: OtherPractise[];
51
- country: CountryDto;
52
- region: RegionDto;
53
- city: CityDto;
54
- workingTime: DaySchedule[];
55
- featuredImage: MediaDto;
56
- photos: MediaDto[];
57
- videos: MediaDto[];
58
- }
59
-
60
- export interface TransactionId {
61
- id: number;
62
- }
63
-
64
- export type PaymentDto = {
65
- listingId: number;
66
- items: PaymentItem[];
67
- };
68
-
69
- export type PaymentItem = {
70
- category: PricingCategory;
71
- priceId: number;
72
- };
73
-
74
- export interface DaySchedule {
75
- dayOfWeek: DayOfWeek,
76
- status: DayStatus;
77
- delivery?: boolean; // Optional, only relevant for PRACUJEM
78
- workingHoursFrom?: string;
79
- workingHoursTo?: string;
80
- }
81
-
82
- export interface ListingQueryReadDto {
83
- page: number;
84
- perPage: number;
85
- text?: string;
86
- }
87
-
88
- export interface ListingFilterQueryReadDto {
89
- query: ListingQueryReadDto;
90
- hasTattoo: boolean;
91
- countryId: number;
92
- regionId: number;
93
- cityIds: number[];
94
- old: AgeFilter;
95
- availability: Availability;
96
- breastSize: number;
97
- nationality: NationalityOption;
98
- contactMethods: ContactMethod[];
99
- serviceFor: ServicesFor[];
100
- practise: Practise[];
101
- language: Language[];
102
- otherService: OtherPractise[];
103
- }
104
-
105
- export interface AgeFilter {
106
- oldFrom: number;
107
- oldTo: number;
108
- }
109
-
110
- export interface ModelListReadDto {
111
- models: ModelShortReadDto[];
112
- currentPage: number;
113
- pageSize: number;
114
- lastPage: number;
115
- }
116
-
117
- export interface ModelShortReadDto {
118
- id: number;
119
- nickname: string;
120
- age: number;
121
- location: LocationDto;
122
- isNew: boolean;
123
- isTopped: boolean;
124
- isAvailable: boolean;
125
- featuredImage: MediaDto;
126
- photos: MediaDto[];
127
- height: number;
128
- weight: number;
129
- breastSize: number;
130
- hairColor: HairColor;
131
- hairLength: HairLength;
132
- }
133
-
134
- export interface ModelShortPreviewReadDto {
135
- id: number;
136
- nickname: string;
137
- location: LocationDto;
138
- isNew: boolean;
139
- isTopped: boolean;
140
- isAvailable: boolean;
141
- featuredImage: MediaDto;
142
- created: Date;
143
- viewCount: number;
144
- }
145
-
146
- export interface ModelShortPreviewClientReadDto {
147
- id: number;
148
- variableSymbol: string;
149
- nickname: string;
150
- location: LocationDto;
151
- transactionState: TransactionStatus;
152
- approvedState: ApprovedState;
153
- featuredImage: MediaDto;
154
- created: Date;
155
- viewCount: number;
156
- toppedSubscription: SubscriptionReadDto;
157
- toppedHomeSubscription: SubscriptionReadDto;
158
- publishedSubscription: SubscriptionReadDto;
159
- transactionId? : number;
160
- visibility: boolean;
161
- }
162
-
163
- export interface SubscriptionReadDto {
164
- isActive: boolean;
165
- endOfSubscription: Date;
166
- }
167
-
168
- export interface ModelReadDto {
169
- id: number;
170
- nickname: string;
171
- age: number;
172
- location: LocationDto;
173
- isNew: boolean;
174
- isTopped: boolean;
175
- isAvailable: boolean;
176
- featuredImage: MediaDto;
177
- photos: MediaDto[];
178
- video: MediaDto[];
179
- height: number;
180
- weight: number;
181
- breastSize: number;
182
- feetSize: number;
183
- hairColor: HairColor;
184
- hairLength: HairLength;
185
- isSmoker: boolean;
186
- shaveStatus: ShaveStatus;
187
- hasPiercing: boolean;
188
- hasTattoo: boolean;
189
- experience: ExperienceLevel;
190
- serviceType: ServiceType[];
191
- nationality: NationalityOption;
192
- language: Language[];
193
- servicesFor: ServicesFor[];
194
- description: string;
195
- practice: Practise[];
196
- otherService: OtherPractise[];
197
- phoneNumber: string;
198
- isClir: boolean;
199
- contactMethods: ContactMethod[];
200
- schedule: DaySchedule[];
201
- viewCount: number;
202
- created: Date;
203
- }
204
-
205
- export interface UserInfoReadDto {
206
- id: number;
207
- email: string;
208
- roles: UserRole[];
209
- }
210
-
211
- export interface MediaDto {
212
- url: string;
213
- }
214
-
215
- export interface AuthJwtDto {
216
- email : string;
217
- roles : UserRole[]
218
- }
219
-
220
- export interface FavoritesListing {
221
- ids: number[];
222
- }
223
-
224
- export interface LocationDto {
225
- country: string;
226
- region: string;
227
- city: string;
228
- }
229
-
230
- export interface CountryDto {
231
- countryId: number;
232
- country: string;
233
- }
234
-
235
- export interface RegionDto {
236
- regionId: number;
237
- region: string;
238
- }
239
-
240
- export interface CityDto {
241
- cityId: number;
242
- city: string;
243
- }
244
-
245
- export interface RegisterUserDto {
246
- email: string;
247
- password: string;
248
- }
249
-
250
- export interface LoginUserDto {
251
- email: string;
252
- password: string;
253
- }
254
-
255
- export interface JwtDto {
256
- token: string;
257
- }
258
-
259
- export interface ActivateDto {
260
- email: string;
261
- code: string;
262
- }
263
-
264
- export interface ResetPasswordDto {
265
- password: string;
266
- email: string;
267
- code: string;
268
- }
269
-
270
- export interface ListingPricingReadDto {
271
- id: number;
272
- durationDays: number;
273
- isActive: boolean;
274
- category: PricingCategory;
275
- prices: PriceReadDto[];
276
- }
277
-
278
- export interface ListingPricingWriteDto {
279
- id: number;
280
- durationDays: number;
281
- category: PricingCategory;
282
- prices: PriceReadDto[];
283
- }
284
-
285
- export interface PriceReadDto {
286
- id: number;
287
- amount: number;
288
- currency: Currency;
289
- }
290
-
291
- export interface ListingAdminFilterQueryReadDto {
292
- query: ListingQueryReadDto;
293
- stateOfListing: StateOfListing;
294
- transactionState?: TransactionStatus;
295
- }
296
-
297
- export interface ModelAdminListReadDto {
298
- models: ModelAdminShortReadDto[];
299
- currentPage: number;
300
- pageSize: number;
301
- lastPage: number;
302
- }
303
-
304
- export interface ModelAdminShortReadDto {
305
- id: number;
306
- variableSymbol: string;
307
- nickname: string;
308
- location: LocationDto;
309
- featuredImage: MediaDto;
310
- approvedState: StateOfListing;
311
- transactionStatus: TransactionStatus;
312
- }
313
-
314
- export interface ModelAdminDetailReadDto {
315
- id: number;
316
- variableSymbol: string;
317
- nickname: string;
318
- age: number;
319
- publishActiveUntil: Date;
320
- topHomeActiveUntil: Date;
321
- topGlobalActiveUntil: Date;
322
- location: LocationDto;
323
- featuredImage: MediaDto;
324
- photos: MediaDto[];
325
- video: MediaDto[];
326
- height: number;
327
- weight: number;
328
- breastSize: number;
329
- feetSize: number;
330
- hairColor: HairColor;
331
- hairLength: HairLength;
332
- isSmoker: boolean;
333
- shaveStatus: ShaveStatus;
334
- hasPiercing: boolean;
335
- hasTattoo: boolean;
336
- experience: ExperienceLevel;
337
- serviceType: ServiceType[];
338
- nationality: NationalityOption;
339
- language: Language[];
340
- servicesFor: ServicesFor[];
341
- description: string;
342
- practice: Practise[];
343
- otherService: OtherPractise[];
344
- phoneNumber: string;
345
- isClir: boolean;
346
- contactMethods: ContactMethod[];
347
- schedule: DaySchedule[];
348
- created: Date;
349
- approvedState: StateOfListing;
350
- transactionStatus: TransactionStatus;
351
- activeTransaction: ActiveTransactionReadDto;
352
- historyTransactions: HistoryTransactionReadDto[];
353
- }
354
-
355
- export interface ActiveTransactionReadDto {
356
- id: number;
357
- status: TransactionStatus;
358
- applied: ApplyStatus;
359
- totalAmount: number;
360
- currency: Currency
361
- createdAt: Date;
362
- items: TransactionReadItemDto[]
363
- }
364
-
365
- export interface HistoryTransactionReadDto {
366
- id: number;
367
- status: TransactionStatus;
368
- applied: ApplyStatus;
369
- totalAmount: number;
370
- currency: Currency
371
- createdAt: Date;
372
- paidAt: Date;
373
- items: TransactionReadItemDto[]
374
- }
375
-
376
- export interface TransactionSummaryReadDto{
377
- iban: string;
378
- variableSymbol: string;
379
- totalAmount: number;
380
- currency: Currency;
381
- items: TransactionReadItemDto[];
382
- }
383
-
384
- export interface PaymentConfigurationReadDto {
385
- iban: string;
386
- currency: Currency;
387
- }
388
-
389
- export interface PaymentConfigurationWriteDto {
390
- iban: string;
391
- currency: Currency;
392
- }
393
-
394
- export interface TransactionReadItemDto {
395
- category: PricingCategory
396
- durationDays: number;
397
- amount: number;
398
- currency: Currency;
399
- }
400
-
401
- export interface ListingRejectionDto {
402
- id: number;
403
- reason: string;
404
- }
405
-
406
- export interface ListingCorrectioDto {
407
- id: number;
408
- correction: string;
409
- }
410
-
411
- export interface SuccessResponseReadDto {
412
- content: string;
413
- }
414
-
415
- export type AdminUserReadDto = {
416
- id: number;
417
- roles: UserRole[];
418
- email: string;
419
- };
420
-
421
- export type ListingVisibilityUpdateDto = {
422
- id: number;
423
- visibility: boolean
424
- }
425
-
426
- export type ListingPublishShortDto = {
427
- id: number;
428
- updatedAt: Date;
429
- }
430
-
431
- export type ImagesAdminWriteDto = {
432
- listingId: number;
433
- featuredImage: MediaDto;
434
- photos: MediaDto[];
435
- videos: MediaDto[];
1
+ import {
2
+ ApplyStatus, ApprovedState,
3
+ Availability,
4
+ ContactMethod,
5
+ Currency,
6
+ DayOfWeek,
7
+ DayStatus,
8
+ ExperienceLevel,
9
+ HairColor,
10
+ HairLength,
11
+ Language,
12
+ NationalityOption,
13
+ OtherPractise,
14
+ Practise,
15
+ PricingCategory,
16
+ ServicesFor,
17
+ ServiceType,
18
+ SexualOrientation,
19
+ ShaveStatus,
20
+ StateOfListing,
21
+ TransactionStatus,
22
+ UserRole,
23
+ } from "./filterEnums";
24
+
25
+ export interface ModelWriteDto {
26
+ nickname: string;
27
+ phoneNumber: string;
28
+ isClir: boolean;
29
+ contactMethods: ContactMethod[];
30
+ nationality: NationalityOption;
31
+ experience: ExperienceLevel;
32
+ age: number;
33
+ serviceType: ServiceType[];
34
+ servicesFor: ServicesFor[];
35
+ height: number;
36
+ weight: number;
37
+ feetSize: number;
38
+ breastSize: number;
39
+ isSiliconeBreast: boolean;
40
+ shaveStatus: ShaveStatus;
41
+ sexualOrientation: SexualOrientation;
42
+ isSmoker: boolean;
43
+ hasPiercing: boolean;
44
+ hasTattoo: boolean;
45
+ hairColor: HairColor;
46
+ hairLength: HairLength;
47
+ language: Language[];
48
+ description: string;
49
+ practice: Practise[];
50
+ otherService: OtherPractise[];
51
+ country: CountryDto;
52
+ region: RegionDto;
53
+ city: CityDto;
54
+ workingTime: DaySchedule[];
55
+ featuredImage: MediaDto;
56
+ photos: MediaDto[];
57
+ videos: MediaDto[];
58
+ }
59
+
60
+ export interface TransactionId {
61
+ id: number;
62
+ }
63
+
64
+ export type PaymentDto = {
65
+ listingId: number;
66
+ items: PaymentItem[];
67
+ };
68
+
69
+ export type PaymentItem = {
70
+ category: PricingCategory;
71
+ priceId: number;
72
+ };
73
+
74
+ export interface DaySchedule {
75
+ dayOfWeek: DayOfWeek,
76
+ status: DayStatus;
77
+ delivery?: boolean; // Optional, only relevant for PRACUJEM
78
+ workingHoursFrom?: string;
79
+ workingHoursTo?: string;
80
+ }
81
+
82
+ export interface ListingQueryReadDto {
83
+ page: number;
84
+ perPage: number;
85
+ text?: string;
86
+ }
87
+
88
+ export interface ListingFilterQueryReadDto {
89
+ query: ListingQueryReadDto;
90
+ hasTattoo: boolean;
91
+ countryId: number;
92
+ regionId: number;
93
+ cityIds: number[];
94
+ old: AgeFilter;
95
+ availability: Availability;
96
+ breastSize: number;
97
+ nationality: NationalityOption;
98
+ contactMethods: ContactMethod[];
99
+ serviceFor: ServicesFor[];
100
+ practise: Practise[];
101
+ language: Language[];
102
+ otherService: OtherPractise[];
103
+ }
104
+
105
+ export interface AgeFilter {
106
+ oldFrom: number;
107
+ oldTo: number;
108
+ }
109
+
110
+ export interface ModelListReadDto {
111
+ models: ModelShortReadDto[];
112
+ currentPage: number;
113
+ pageSize: number;
114
+ lastPage: number;
115
+ }
116
+
117
+ export interface ModelShortReadDto {
118
+ id: number;
119
+ nickname: string;
120
+ age: number;
121
+ location: LocationDto;
122
+ isNew: boolean;
123
+ isTopped: boolean;
124
+ isAvailable: boolean;
125
+ featuredImage: MediaDto;
126
+ photos: MediaDto[];
127
+ height: number;
128
+ weight: number;
129
+ breastSize: number;
130
+ hairColor: HairColor;
131
+ hairLength: HairLength;
132
+ }
133
+
134
+ export interface ModelShortPreviewReadDto {
135
+ id: number;
136
+ nickname: string;
137
+ location: LocationDto;
138
+ isNew: boolean;
139
+ isTopped: boolean;
140
+ isAvailable: boolean;
141
+ featuredImage: MediaDto;
142
+ created: Date;
143
+ viewCount: number;
144
+ }
145
+
146
+ export interface ModelShortPreviewClientReadDto {
147
+ id: number;
148
+ variableSymbol: string;
149
+ nickname: string;
150
+ location: LocationDto;
151
+ transactionState: TransactionStatus;
152
+ approvedState: ApprovedState;
153
+ featuredImage: MediaDto;
154
+ created: Date;
155
+ viewCount: number;
156
+ toppedSubscription: SubscriptionReadDto;
157
+ toppedHomeSubscription: SubscriptionReadDto;
158
+ publishedSubscription: SubscriptionReadDto;
159
+ transactionId? : number;
160
+ }
161
+
162
+ export interface SubscriptionReadDto {
163
+ isActive: boolean;
164
+ endOfSubscription: Date;
165
+ }
166
+
167
+ export interface ModelReadDto {
168
+ id: number;
169
+ nickname: string;
170
+ age: number;
171
+ location: LocationDto;
172
+ isNew: boolean;
173
+ isTopped: boolean;
174
+ isAvailable: boolean;
175
+ featuredImage: MediaDto;
176
+ photos: MediaDto[];
177
+ video: MediaDto[];
178
+ height: number;
179
+ weight: number;
180
+ breastSize: number;
181
+ feetSize: number;
182
+ hairColor: HairColor;
183
+ hairLength: HairLength;
184
+ isSmoker: boolean;
185
+ shaveStatus: ShaveStatus;
186
+ hasPiercing: boolean;
187
+ hasTattoo: boolean;
188
+ experience: ExperienceLevel;
189
+ serviceType: ServiceType[];
190
+ nationality: NationalityOption;
191
+ language: Language[];
192
+ servicesFor: ServicesFor[];
193
+ description: string;
194
+ practice: Practise[];
195
+ otherService: OtherPractise[];
196
+ phoneNumber: string;
197
+ isClir: boolean;
198
+ contactMethods: ContactMethod[];
199
+ schedule: DaySchedule[];
200
+ viewCount: number;
201
+ created: Date;
202
+ }
203
+
204
+ export interface UserInfoReadDto {
205
+ id: number;
206
+ email: string;
207
+ roles: UserRole[];
208
+ }
209
+
210
+ export interface MediaDto {
211
+ url: string;
212
+ }
213
+
214
+ export interface AuthJwtDto {
215
+ email : string;
216
+ roles : UserRole[]
217
+ }
218
+
219
+ export interface FavoritesListing {
220
+ ids: number[];
221
+ }
222
+
223
+ export interface LocationDto {
224
+ country: string;
225
+ region: string;
226
+ city: string;
227
+ }
228
+
229
+ export interface CountryDto {
230
+ countryId: number;
231
+ country: string;
232
+ }
233
+
234
+ export interface RegionDto {
235
+ regionId: number;
236
+ region: string;
237
+ }
238
+
239
+ export interface CityDto {
240
+ cityId: number;
241
+ city: string;
242
+ }
243
+
244
+ export interface RegisterUserDto {
245
+ email: string;
246
+ password: string;
247
+ }
248
+
249
+ export interface LoginUserDto {
250
+ email: string;
251
+ password: string;
252
+ }
253
+
254
+ export interface JwtDto {
255
+ token: string;
256
+ }
257
+
258
+ export interface ActivateDto {
259
+ email: string;
260
+ code: string;
261
+ }
262
+
263
+ export interface ResetPasswordDto {
264
+ password: string;
265
+ email: string;
266
+ code: string;
267
+ }
268
+
269
+ export interface ListingPricingReadDto {
270
+ id: number;
271
+ durationDays: number;
272
+ isActive: boolean;
273
+ category: PricingCategory;
274
+ prices: PriceReadDto[];
275
+ }
276
+
277
+ export interface ListingPricingWriteDto {
278
+ id: number;
279
+ durationDays: number;
280
+ category: PricingCategory;
281
+ prices: PriceReadDto[];
282
+ }
283
+
284
+ export interface PriceReadDto {
285
+ id: number;
286
+ amount: number;
287
+ currency: Currency;
288
+ }
289
+
290
+ export interface ListingAdminFilterQueryReadDto {
291
+ query: ListingQueryReadDto;
292
+ stateOfListing: StateOfListing;
293
+ transactionState?: TransactionStatus;
294
+ }
295
+
296
+ export interface ModelAdminListReadDto {
297
+ models: ModelAdminShortReadDto[];
298
+ currentPage: number;
299
+ pageSize: number;
300
+ lastPage: number;
301
+ }
302
+
303
+ export interface ModelAdminShortReadDto {
304
+ id: number;
305
+ variableSymbol: string;
306
+ nickname: string;
307
+ location: LocationDto;
308
+ featuredImage: MediaDto;
309
+ approvedState: StateOfListing;
310
+ transactionStatus: TransactionStatus;
311
+ }
312
+
313
+ export interface ModelAdminDetailReadDto {
314
+ id: number;
315
+ variableSymbol: string;
316
+ nickname: string;
317
+ age: number;
318
+ publishActiveUntil: Date;
319
+ topHomeActiveUntil: Date;
320
+ topGlobalActiveUntil: Date;
321
+ location: LocationDto;
322
+ featuredImage: MediaDto;
323
+ photos: MediaDto[];
324
+ video: MediaDto[];
325
+ height: number;
326
+ weight: number;
327
+ breastSize: number;
328
+ feetSize: number;
329
+ hairColor: HairColor;
330
+ hairLength: HairLength;
331
+ isSmoker: boolean;
332
+ shaveStatus: ShaveStatus;
333
+ hasPiercing: boolean;
334
+ hasTattoo: boolean;
335
+ experience: ExperienceLevel;
336
+ serviceType: ServiceType[];
337
+ nationality: NationalityOption;
338
+ language: Language[];
339
+ servicesFor: ServicesFor[];
340
+ description: string;
341
+ practice: Practise[];
342
+ otherService: OtherPractise[];
343
+ phoneNumber: string;
344
+ isClir: boolean;
345
+ contactMethods: ContactMethod[];
346
+ schedule: DaySchedule[];
347
+ created: Date;
348
+ approvedState: StateOfListing;
349
+ transactionStatus: TransactionStatus;
350
+ activeTransaction: ActiveTransactionReadDto;
351
+ historyTransactions: HistoryTransactionReadDto[];
352
+ }
353
+
354
+ export interface ActiveTransactionReadDto {
355
+ id: number;
356
+ status: TransactionStatus;
357
+ applied: ApplyStatus;
358
+ totalAmount: number;
359
+ currency: Currency
360
+ createdAt: Date;
361
+ items: TransactionReadItemDto[]
362
+ }
363
+
364
+ export interface HistoryTransactionReadDto {
365
+ id: number;
366
+ status: TransactionStatus;
367
+ applied: ApplyStatus;
368
+ totalAmount: number;
369
+ currency: Currency
370
+ createdAt: Date;
371
+ paidAt: Date;
372
+ items: TransactionReadItemDto[]
373
+ }
374
+
375
+ export interface TransactionSummaryReadDto{
376
+ iban: string;
377
+ variableSymbol: string;
378
+ totalAmount: number;
379
+ currency: Currency;
380
+ items: TransactionReadItemDto[];
381
+ }
382
+
383
+ export interface PaymentConfigurationReadDto {
384
+ iban: string;
385
+ currency: Currency;
386
+ }
387
+
388
+ export interface PaymentConfigurationWriteDto {
389
+ iban: string;
390
+ currency: Currency;
391
+ }
392
+
393
+ export interface TransactionReadItemDto {
394
+ category: PricingCategory
395
+ durationDays: number;
396
+ amount: number;
397
+ currency: Currency;
398
+ }
399
+
400
+ export interface ListingRejectionDto {
401
+ id: number;
402
+ reason: string;
403
+ }
404
+
405
+ export interface ListingCorrectioDto {
406
+ id: number;
407
+ correction: string;
408
+ }
409
+
410
+ export interface SuccessResponseReadDto {
411
+ content: string;
412
+ }
413
+
414
+ export type AdminUserReadDto = {
415
+ id: number;
416
+ roles: UserRole[];
417
+ email: string;
418
+ };
419
+
420
+ export type AdminListingSubscriptionReadDto = {
421
+ publishActiveUntil: Date;
422
+ topHomeActiveUntil: Date;
423
+ topGlobalActiveUntil: Date;
424
+ }
425
+
426
+ export type AdminListingSubscriptionWriteDto = {
427
+ listingId: number;
428
+ publishActiveUntil: Date;
429
+ topHomeActiveUntil: Date;
430
+ topGlobalActiveUntil: Date;
431
+ }
432
+
433
+ export type ListingVisibilityUpdateDto = {
434
+ id: number;
435
+ visibility: boolean
436
+ }
437
+
438
+ export type ListingPublishShortDto = {
439
+ id: number;
440
+ updatedAt: Date;
441
+ }
442
+
443
+ export type ImagesAdminWriteDto = {
444
+ listingId: number;
445
+ featuredImage: MediaDto;
446
+ photos: MediaDto[];
447
+ videos: MediaDto[];
436
448
  }