@exclusive-website/types 2.9.3 → 2.9.4
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/.idea/exclusive-girls-types.iml +11 -11
- package/.idea/material_theme_project_new.xml +12 -0
- package/.idea/modules.xml +7 -7
- package/.idea/vcs.xml +5 -5
- package/dist/filterEnums.d.ts +265 -265
- package/dist/filterEnums.js +313 -313
- package/dist/index.d.ts +2 -2
- package/dist/index.js +18 -18
- package/dist/types.d.ts +363 -367
- package/dist/types.js +2 -2
- package/package.json +36 -36
- package/src/filterEnums.ts +316 -316
- package/src/index.ts +1 -1
- package/src/types.ts +430 -435
- package/tsconfig.json +17 -17
package/dist/types.d.ts
CHANGED
|
@@ -1,367 +1,363 @@
|
|
|
1
|
-
import { ApplyStatus, ApprovedState, Availability, ContactMethod, Currency, DayOfWeek, DayStatus, ExperienceLevel, HairColor, HairLength, Language, NationalityOption, OtherPractise, Practise, PricingCategory, ServicesFor, ServiceType, SexualOrientation, ShaveStatus, StateOfListing, TransactionStatus, UserRole } from "./filterEnums";
|
|
2
|
-
export interface ModelWriteDto {
|
|
3
|
-
nickname: string;
|
|
4
|
-
phoneNumber: string;
|
|
5
|
-
isClir: boolean;
|
|
6
|
-
contactMethods: ContactMethod[];
|
|
7
|
-
nationality: NationalityOption;
|
|
8
|
-
experience: ExperienceLevel;
|
|
9
|
-
age: number;
|
|
10
|
-
serviceType: ServiceType[];
|
|
11
|
-
servicesFor: ServicesFor[];
|
|
12
|
-
height: number;
|
|
13
|
-
weight: number;
|
|
14
|
-
feetSize: number;
|
|
15
|
-
breastSize: number;
|
|
16
|
-
isSiliconeBreast: boolean;
|
|
17
|
-
shaveStatus: ShaveStatus;
|
|
18
|
-
sexualOrientation: SexualOrientation;
|
|
19
|
-
isSmoker: boolean;
|
|
20
|
-
hasPiercing: boolean;
|
|
21
|
-
hasTattoo: boolean;
|
|
22
|
-
hairColor: HairColor;
|
|
23
|
-
hairLength: HairLength;
|
|
24
|
-
language: Language[];
|
|
25
|
-
description: string;
|
|
26
|
-
practice: Practise[];
|
|
27
|
-
otherService: OtherPractise[];
|
|
28
|
-
country: CountryDto;
|
|
29
|
-
region: RegionDto;
|
|
30
|
-
city: CityDto;
|
|
31
|
-
workingTime: DaySchedule[];
|
|
32
|
-
featuredImage: MediaDto;
|
|
33
|
-
photos: MediaDto[];
|
|
34
|
-
videos: MediaDto[];
|
|
35
|
-
}
|
|
36
|
-
export interface TransactionId {
|
|
37
|
-
id: number;
|
|
38
|
-
}
|
|
39
|
-
export type PaymentDto = {
|
|
40
|
-
listingId: number;
|
|
41
|
-
items: PaymentItem[];
|
|
42
|
-
};
|
|
43
|
-
export type PaymentItem = {
|
|
44
|
-
category: PricingCategory;
|
|
45
|
-
priceId: number;
|
|
46
|
-
};
|
|
47
|
-
export interface DaySchedule {
|
|
48
|
-
dayOfWeek: DayOfWeek;
|
|
49
|
-
status: DayStatus;
|
|
50
|
-
delivery?: boolean;
|
|
51
|
-
workingHoursFrom?: string;
|
|
52
|
-
workingHoursTo?: string;
|
|
53
|
-
}
|
|
54
|
-
export interface ListingQueryReadDto {
|
|
55
|
-
page: number;
|
|
56
|
-
perPage: number;
|
|
57
|
-
text?: string;
|
|
58
|
-
}
|
|
59
|
-
export interface ListingFilterQueryReadDto {
|
|
60
|
-
query: ListingQueryReadDto;
|
|
61
|
-
hasTattoo: boolean;
|
|
62
|
-
countryId: number;
|
|
63
|
-
regionId: number;
|
|
64
|
-
cityIds: number[];
|
|
65
|
-
old: AgeFilter;
|
|
66
|
-
availability: Availability;
|
|
67
|
-
breastSize: number;
|
|
68
|
-
nationality: NationalityOption;
|
|
69
|
-
contactMethods: ContactMethod[];
|
|
70
|
-
serviceFor: ServicesFor[];
|
|
71
|
-
practise: Practise[];
|
|
72
|
-
language: Language[];
|
|
73
|
-
otherService: OtherPractise[];
|
|
74
|
-
}
|
|
75
|
-
export interface AgeFilter {
|
|
76
|
-
oldFrom: number;
|
|
77
|
-
oldTo: number;
|
|
78
|
-
}
|
|
79
|
-
export interface ModelListReadDto {
|
|
80
|
-
models: ModelShortReadDto[];
|
|
81
|
-
currentPage: number;
|
|
82
|
-
pageSize: number;
|
|
83
|
-
lastPage: number;
|
|
84
|
-
}
|
|
85
|
-
export interface ModelShortReadDto {
|
|
86
|
-
id: number;
|
|
87
|
-
nickname: string;
|
|
88
|
-
age: number;
|
|
89
|
-
location: LocationDto;
|
|
90
|
-
isNew: boolean;
|
|
91
|
-
isTopped: boolean;
|
|
92
|
-
isAvailable: boolean;
|
|
93
|
-
featuredImage: MediaDto;
|
|
94
|
-
photos: MediaDto[];
|
|
95
|
-
height: number;
|
|
96
|
-
weight: number;
|
|
97
|
-
breastSize: number;
|
|
98
|
-
hairColor: HairColor;
|
|
99
|
-
hairLength: HairLength;
|
|
100
|
-
}
|
|
101
|
-
export interface ModelShortPreviewReadDto {
|
|
102
|
-
id: number;
|
|
103
|
-
nickname: string;
|
|
104
|
-
location: LocationDto;
|
|
105
|
-
isNew: boolean;
|
|
106
|
-
isTopped: boolean;
|
|
107
|
-
isAvailable: boolean;
|
|
108
|
-
featuredImage: MediaDto;
|
|
109
|
-
created: Date;
|
|
110
|
-
viewCount: number;
|
|
111
|
-
}
|
|
112
|
-
export interface ModelShortPreviewClientReadDto {
|
|
113
|
-
id: number;
|
|
114
|
-
variableSymbol: string;
|
|
115
|
-
nickname: string;
|
|
116
|
-
location: LocationDto;
|
|
117
|
-
transactionState: TransactionStatus;
|
|
118
|
-
approvedState: ApprovedState;
|
|
119
|
-
featuredImage: MediaDto;
|
|
120
|
-
created: Date;
|
|
121
|
-
viewCount: number;
|
|
122
|
-
toppedSubscription: SubscriptionReadDto;
|
|
123
|
-
toppedHomeSubscription: SubscriptionReadDto;
|
|
124
|
-
publishedSubscription: SubscriptionReadDto;
|
|
125
|
-
transactionId?: number;
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
};
|
|
358
|
-
export type
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
featuredImage: MediaDto;
|
|
365
|
-
photos: MediaDto[];
|
|
366
|
-
videos: MediaDto[];
|
|
367
|
-
};
|
|
1
|
+
import { ApplyStatus, ApprovedState, Availability, ContactMethod, Currency, DayOfWeek, DayStatus, ExperienceLevel, HairColor, HairLength, Language, NationalityOption, OtherPractise, Practise, PricingCategory, ServicesFor, ServiceType, SexualOrientation, ShaveStatus, StateOfListing, TransactionStatus, UserRole } from "./filterEnums";
|
|
2
|
+
export interface ModelWriteDto {
|
|
3
|
+
nickname: string;
|
|
4
|
+
phoneNumber: string;
|
|
5
|
+
isClir: boolean;
|
|
6
|
+
contactMethods: ContactMethod[];
|
|
7
|
+
nationality: NationalityOption;
|
|
8
|
+
experience: ExperienceLevel;
|
|
9
|
+
age: number;
|
|
10
|
+
serviceType: ServiceType[];
|
|
11
|
+
servicesFor: ServicesFor[];
|
|
12
|
+
height: number;
|
|
13
|
+
weight: number;
|
|
14
|
+
feetSize: number;
|
|
15
|
+
breastSize: number;
|
|
16
|
+
isSiliconeBreast: boolean;
|
|
17
|
+
shaveStatus: ShaveStatus;
|
|
18
|
+
sexualOrientation: SexualOrientation;
|
|
19
|
+
isSmoker: boolean;
|
|
20
|
+
hasPiercing: boolean;
|
|
21
|
+
hasTattoo: boolean;
|
|
22
|
+
hairColor: HairColor;
|
|
23
|
+
hairLength: HairLength;
|
|
24
|
+
language: Language[];
|
|
25
|
+
description: string;
|
|
26
|
+
practice: Practise[];
|
|
27
|
+
otherService: OtherPractise[];
|
|
28
|
+
country: CountryDto;
|
|
29
|
+
region: RegionDto;
|
|
30
|
+
city: CityDto;
|
|
31
|
+
workingTime: DaySchedule[];
|
|
32
|
+
featuredImage: MediaDto;
|
|
33
|
+
photos: MediaDto[];
|
|
34
|
+
videos: MediaDto[];
|
|
35
|
+
}
|
|
36
|
+
export interface TransactionId {
|
|
37
|
+
id: number;
|
|
38
|
+
}
|
|
39
|
+
export declare type PaymentDto = {
|
|
40
|
+
listingId: number;
|
|
41
|
+
items: PaymentItem[];
|
|
42
|
+
};
|
|
43
|
+
export declare type PaymentItem = {
|
|
44
|
+
category: PricingCategory;
|
|
45
|
+
priceId: number;
|
|
46
|
+
};
|
|
47
|
+
export interface DaySchedule {
|
|
48
|
+
dayOfWeek: DayOfWeek;
|
|
49
|
+
status: DayStatus;
|
|
50
|
+
delivery?: boolean;
|
|
51
|
+
workingHoursFrom?: string;
|
|
52
|
+
workingHoursTo?: string;
|
|
53
|
+
}
|
|
54
|
+
export interface ListingQueryReadDto {
|
|
55
|
+
page: number;
|
|
56
|
+
perPage: number;
|
|
57
|
+
text?: string;
|
|
58
|
+
}
|
|
59
|
+
export interface ListingFilterQueryReadDto {
|
|
60
|
+
query: ListingQueryReadDto;
|
|
61
|
+
hasTattoo: boolean;
|
|
62
|
+
countryId: number;
|
|
63
|
+
regionId: number;
|
|
64
|
+
cityIds: number[];
|
|
65
|
+
old: AgeFilter;
|
|
66
|
+
availability: Availability;
|
|
67
|
+
breastSize: number;
|
|
68
|
+
nationality: NationalityOption;
|
|
69
|
+
contactMethods: ContactMethod[];
|
|
70
|
+
serviceFor: ServicesFor[];
|
|
71
|
+
practise: Practise[];
|
|
72
|
+
language: Language[];
|
|
73
|
+
otherService: OtherPractise[];
|
|
74
|
+
}
|
|
75
|
+
export interface AgeFilter {
|
|
76
|
+
oldFrom: number;
|
|
77
|
+
oldTo: number;
|
|
78
|
+
}
|
|
79
|
+
export interface ModelListReadDto {
|
|
80
|
+
models: ModelShortReadDto[];
|
|
81
|
+
currentPage: number;
|
|
82
|
+
pageSize: number;
|
|
83
|
+
lastPage: number;
|
|
84
|
+
}
|
|
85
|
+
export interface ModelShortReadDto {
|
|
86
|
+
id: number;
|
|
87
|
+
nickname: string;
|
|
88
|
+
age: number;
|
|
89
|
+
location: LocationDto;
|
|
90
|
+
isNew: boolean;
|
|
91
|
+
isTopped: boolean;
|
|
92
|
+
isAvailable: boolean;
|
|
93
|
+
featuredImage: MediaDto;
|
|
94
|
+
photos: MediaDto[];
|
|
95
|
+
height: number;
|
|
96
|
+
weight: number;
|
|
97
|
+
breastSize: number;
|
|
98
|
+
hairColor: HairColor;
|
|
99
|
+
hairLength: HairLength;
|
|
100
|
+
}
|
|
101
|
+
export interface ModelShortPreviewReadDto {
|
|
102
|
+
id: number;
|
|
103
|
+
nickname: string;
|
|
104
|
+
location: LocationDto;
|
|
105
|
+
isNew: boolean;
|
|
106
|
+
isTopped: boolean;
|
|
107
|
+
isAvailable: boolean;
|
|
108
|
+
featuredImage: MediaDto;
|
|
109
|
+
created: Date;
|
|
110
|
+
viewCount: number;
|
|
111
|
+
}
|
|
112
|
+
export interface ModelShortPreviewClientReadDto {
|
|
113
|
+
id: number;
|
|
114
|
+
variableSymbol: string;
|
|
115
|
+
nickname: string;
|
|
116
|
+
location: LocationDto;
|
|
117
|
+
transactionState: TransactionStatus;
|
|
118
|
+
approvedState: ApprovedState;
|
|
119
|
+
featuredImage: MediaDto;
|
|
120
|
+
created: Date;
|
|
121
|
+
viewCount: number;
|
|
122
|
+
toppedSubscription: SubscriptionReadDto;
|
|
123
|
+
toppedHomeSubscription: SubscriptionReadDto;
|
|
124
|
+
publishedSubscription: SubscriptionReadDto;
|
|
125
|
+
transactionId?: number;
|
|
126
|
+
}
|
|
127
|
+
export interface SubscriptionReadDto {
|
|
128
|
+
isActive: boolean;
|
|
129
|
+
endOfSubscription: Date;
|
|
130
|
+
}
|
|
131
|
+
export interface ModelReadDto {
|
|
132
|
+
id: number;
|
|
133
|
+
nickname: string;
|
|
134
|
+
age: number;
|
|
135
|
+
location: LocationDto;
|
|
136
|
+
isNew: boolean;
|
|
137
|
+
isTopped: boolean;
|
|
138
|
+
isAvailable: boolean;
|
|
139
|
+
featuredImage: MediaDto;
|
|
140
|
+
photos: MediaDto[];
|
|
141
|
+
video: MediaDto[];
|
|
142
|
+
height: number;
|
|
143
|
+
weight: number;
|
|
144
|
+
breastSize: number;
|
|
145
|
+
feetSize: number;
|
|
146
|
+
hairColor: HairColor;
|
|
147
|
+
hairLength: HairLength;
|
|
148
|
+
isSmoker: boolean;
|
|
149
|
+
shaveStatus: ShaveStatus;
|
|
150
|
+
hasPiercing: boolean;
|
|
151
|
+
hasTattoo: boolean;
|
|
152
|
+
experience: ExperienceLevel;
|
|
153
|
+
serviceType: ServiceType[];
|
|
154
|
+
nationality: NationalityOption;
|
|
155
|
+
language: Language[];
|
|
156
|
+
servicesFor: ServicesFor[];
|
|
157
|
+
description: string;
|
|
158
|
+
practice: Practise[];
|
|
159
|
+
otherService: OtherPractise[];
|
|
160
|
+
phoneNumber: string;
|
|
161
|
+
isClir: boolean;
|
|
162
|
+
contactMethods: ContactMethod[];
|
|
163
|
+
schedule: DaySchedule[];
|
|
164
|
+
viewCount: number;
|
|
165
|
+
created: Date;
|
|
166
|
+
}
|
|
167
|
+
export interface UserInfoReadDto {
|
|
168
|
+
id: number;
|
|
169
|
+
email: string;
|
|
170
|
+
roles: UserRole[];
|
|
171
|
+
}
|
|
172
|
+
export interface MediaDto {
|
|
173
|
+
url: string;
|
|
174
|
+
}
|
|
175
|
+
export interface AuthJwtDto {
|
|
176
|
+
email: string;
|
|
177
|
+
roles: UserRole[];
|
|
178
|
+
}
|
|
179
|
+
export interface FavoritesListing {
|
|
180
|
+
ids: number[];
|
|
181
|
+
}
|
|
182
|
+
export interface LocationDto {
|
|
183
|
+
country: string;
|
|
184
|
+
region: string;
|
|
185
|
+
city: string;
|
|
186
|
+
}
|
|
187
|
+
export interface CountryDto {
|
|
188
|
+
countryId: number;
|
|
189
|
+
country: string;
|
|
190
|
+
}
|
|
191
|
+
export interface RegionDto {
|
|
192
|
+
regionId: number;
|
|
193
|
+
region: string;
|
|
194
|
+
}
|
|
195
|
+
export interface CityDto {
|
|
196
|
+
cityId: number;
|
|
197
|
+
city: string;
|
|
198
|
+
}
|
|
199
|
+
export interface RegisterUserDto {
|
|
200
|
+
email: string;
|
|
201
|
+
password: string;
|
|
202
|
+
}
|
|
203
|
+
export interface LoginUserDto {
|
|
204
|
+
email: string;
|
|
205
|
+
password: string;
|
|
206
|
+
}
|
|
207
|
+
export interface JwtDto {
|
|
208
|
+
token: string;
|
|
209
|
+
}
|
|
210
|
+
export interface ActivateDto {
|
|
211
|
+
email: string;
|
|
212
|
+
code: string;
|
|
213
|
+
}
|
|
214
|
+
export interface ResetPasswordDto {
|
|
215
|
+
password: string;
|
|
216
|
+
email: string;
|
|
217
|
+
code: string;
|
|
218
|
+
}
|
|
219
|
+
export interface ListingPricingReadDto {
|
|
220
|
+
id: number;
|
|
221
|
+
durationDays: number;
|
|
222
|
+
isActive: boolean;
|
|
223
|
+
category: PricingCategory;
|
|
224
|
+
prices: PriceReadDto[];
|
|
225
|
+
}
|
|
226
|
+
export interface ListingPricingWriteDto {
|
|
227
|
+
id: number;
|
|
228
|
+
durationDays: number;
|
|
229
|
+
category: PricingCategory;
|
|
230
|
+
prices: PriceReadDto[];
|
|
231
|
+
}
|
|
232
|
+
export interface PriceReadDto {
|
|
233
|
+
id: number;
|
|
234
|
+
amount: number;
|
|
235
|
+
currency: Currency;
|
|
236
|
+
}
|
|
237
|
+
export interface ListingAdminFilterQueryReadDto {
|
|
238
|
+
query: ListingQueryReadDto;
|
|
239
|
+
stateOfListing: StateOfListing;
|
|
240
|
+
transactionState?: TransactionStatus;
|
|
241
|
+
}
|
|
242
|
+
export interface ModelAdminListReadDto {
|
|
243
|
+
models: ModelAdminShortReadDto[];
|
|
244
|
+
currentPage: number;
|
|
245
|
+
pageSize: number;
|
|
246
|
+
lastPage: number;
|
|
247
|
+
}
|
|
248
|
+
export interface ModelAdminShortReadDto {
|
|
249
|
+
id: number;
|
|
250
|
+
variableSymbol: string;
|
|
251
|
+
nickname: string;
|
|
252
|
+
location: LocationDto;
|
|
253
|
+
featuredImage: MediaDto;
|
|
254
|
+
approvedState: StateOfListing;
|
|
255
|
+
transactionStatus: TransactionStatus;
|
|
256
|
+
}
|
|
257
|
+
export interface ModelAdminDetailReadDto {
|
|
258
|
+
id: number;
|
|
259
|
+
variableSymbol: string;
|
|
260
|
+
nickname: string;
|
|
261
|
+
age: number;
|
|
262
|
+
publishActiveUntil: Date;
|
|
263
|
+
topHomeActiveUntil: Date;
|
|
264
|
+
topGlobalActiveUntil: Date;
|
|
265
|
+
location: LocationDto;
|
|
266
|
+
featuredImage: MediaDto;
|
|
267
|
+
photos: MediaDto[];
|
|
268
|
+
video: MediaDto[];
|
|
269
|
+
height: number;
|
|
270
|
+
weight: number;
|
|
271
|
+
breastSize: number;
|
|
272
|
+
feetSize: number;
|
|
273
|
+
hairColor: HairColor;
|
|
274
|
+
hairLength: HairLength;
|
|
275
|
+
isSmoker: boolean;
|
|
276
|
+
shaveStatus: ShaveStatus;
|
|
277
|
+
hasPiercing: boolean;
|
|
278
|
+
hasTattoo: boolean;
|
|
279
|
+
experience: ExperienceLevel;
|
|
280
|
+
serviceType: ServiceType[];
|
|
281
|
+
nationality: NationalityOption;
|
|
282
|
+
language: Language[];
|
|
283
|
+
servicesFor: ServicesFor[];
|
|
284
|
+
description: string;
|
|
285
|
+
practice: Practise[];
|
|
286
|
+
otherService: OtherPractise[];
|
|
287
|
+
phoneNumber: string;
|
|
288
|
+
isClir: boolean;
|
|
289
|
+
contactMethods: ContactMethod[];
|
|
290
|
+
schedule: DaySchedule[];
|
|
291
|
+
created: Date;
|
|
292
|
+
approvedState: StateOfListing;
|
|
293
|
+
transactionStatus: TransactionStatus;
|
|
294
|
+
activeTransaction: ActiveTransactionReadDto;
|
|
295
|
+
historyTransactions: HistoryTransactionReadDto[];
|
|
296
|
+
}
|
|
297
|
+
export interface ActiveTransactionReadDto {
|
|
298
|
+
id: number;
|
|
299
|
+
status: TransactionStatus;
|
|
300
|
+
applied: ApplyStatus;
|
|
301
|
+
totalAmount: number;
|
|
302
|
+
currency: Currency;
|
|
303
|
+
createdAt: Date;
|
|
304
|
+
items: TransactionReadItemDto[];
|
|
305
|
+
}
|
|
306
|
+
export interface HistoryTransactionReadDto {
|
|
307
|
+
id: number;
|
|
308
|
+
status: TransactionStatus;
|
|
309
|
+
applied: ApplyStatus;
|
|
310
|
+
totalAmount: number;
|
|
311
|
+
currency: Currency;
|
|
312
|
+
createdAt: Date;
|
|
313
|
+
paidAt: Date;
|
|
314
|
+
items: TransactionReadItemDto[];
|
|
315
|
+
}
|
|
316
|
+
export interface TransactionSummaryReadDto {
|
|
317
|
+
iban: string;
|
|
318
|
+
variableSymbol: string;
|
|
319
|
+
totalAmount: number;
|
|
320
|
+
currency: Currency;
|
|
321
|
+
items: TransactionReadItemDto[];
|
|
322
|
+
}
|
|
323
|
+
export interface PaymentConfigurationReadDto {
|
|
324
|
+
iban: string;
|
|
325
|
+
currency: Currency;
|
|
326
|
+
}
|
|
327
|
+
export interface PaymentConfigurationWriteDto {
|
|
328
|
+
iban: string;
|
|
329
|
+
currency: Currency;
|
|
330
|
+
}
|
|
331
|
+
export interface TransactionReadItemDto {
|
|
332
|
+
category: PricingCategory;
|
|
333
|
+
durationDays: number;
|
|
334
|
+
amount: number;
|
|
335
|
+
currency: Currency;
|
|
336
|
+
}
|
|
337
|
+
export interface ListingRejectionDto {
|
|
338
|
+
id: number;
|
|
339
|
+
reason: string;
|
|
340
|
+
}
|
|
341
|
+
export interface ListingCorrectioDto {
|
|
342
|
+
id: number;
|
|
343
|
+
correction: string;
|
|
344
|
+
}
|
|
345
|
+
export interface SuccessResponseReadDto {
|
|
346
|
+
content: string;
|
|
347
|
+
}
|
|
348
|
+
export declare type AdminUserReadDto = {
|
|
349
|
+
id: number;
|
|
350
|
+
roles: UserRole[];
|
|
351
|
+
email: string;
|
|
352
|
+
};
|
|
353
|
+
export declare type AdminListingSubscriptionReadDto = {
|
|
354
|
+
publishActiveUntil: Date;
|
|
355
|
+
topHomeActiveUntil: Date;
|
|
356
|
+
topGlobalActiveUntil: Date;
|
|
357
|
+
};
|
|
358
|
+
export declare type AdminListingSubscriptionWriteDto = {
|
|
359
|
+
listingId: number;
|
|
360
|
+
publishActiveUntil: Date;
|
|
361
|
+
topHomeActiveUntil: Date;
|
|
362
|
+
topGlobalActiveUntil: Date;
|
|
363
|
+
};
|