@exclusive-website/types 2.1.2 → 2.1.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/dist/types.d.ts +15 -1
- package/package.json +1 -1
- package/src/types.ts +19 -7
package/dist/types.d.ts
CHANGED
|
@@ -25,7 +25,9 @@ export interface ModelWriteDto {
|
|
|
25
25
|
description: string;
|
|
26
26
|
practice: Practise[];
|
|
27
27
|
otherService: OtherPractise[];
|
|
28
|
-
|
|
28
|
+
country: CountryDto;
|
|
29
|
+
region: RegionDto;
|
|
30
|
+
city: CityDto;
|
|
29
31
|
workingTime: DaySchedule[];
|
|
30
32
|
featuredImage: MediaDto;
|
|
31
33
|
photos: MediaDto[];
|
|
@@ -147,8 +149,11 @@ export interface FavoritesListing {
|
|
|
147
149
|
}
|
|
148
150
|
export interface LocationDto {
|
|
149
151
|
country: string;
|
|
152
|
+
countryId: string;
|
|
150
153
|
region: string;
|
|
154
|
+
regionId: string;
|
|
151
155
|
city: string;
|
|
156
|
+
cityId: string;
|
|
152
157
|
}
|
|
153
158
|
export interface CountryDto {
|
|
154
159
|
countryId: number;
|
|
@@ -174,6 +179,15 @@ export interface LoginUserDto {
|
|
|
174
179
|
export interface JwtDto {
|
|
175
180
|
token: string;
|
|
176
181
|
}
|
|
182
|
+
export interface OtpDto {
|
|
183
|
+
email: string;
|
|
184
|
+
code: string;
|
|
185
|
+
}
|
|
186
|
+
export interface ResetPasswordDto {
|
|
187
|
+
password: string;
|
|
188
|
+
email: string;
|
|
189
|
+
code: string;
|
|
190
|
+
}
|
|
177
191
|
export interface TimeRange {
|
|
178
192
|
from: string;
|
|
179
193
|
to: string;
|
package/package.json
CHANGED
package/src/types.ts
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import {
|
|
2
|
-
AgeRange,
|
|
3
2
|
Availability,
|
|
4
|
-
BreastSize,
|
|
5
3
|
ContactMethod,
|
|
6
4
|
DayOfWeek,
|
|
7
5
|
DayStatus,
|
|
@@ -9,15 +7,14 @@ import {
|
|
|
9
7
|
HairColor,
|
|
10
8
|
HairLength,
|
|
11
9
|
Language,
|
|
12
|
-
City,
|
|
13
10
|
NationalityOption,
|
|
14
11
|
OtherPractise,
|
|
15
|
-
Practise,
|
|
12
|
+
Practise,
|
|
16
13
|
ServicesFor,
|
|
17
14
|
ServiceType,
|
|
18
15
|
SexualOrientation,
|
|
19
16
|
ShaveStatus,
|
|
20
|
-
UserRole,
|
|
17
|
+
UserRole,
|
|
21
18
|
} from "./filterEnums";
|
|
22
19
|
|
|
23
20
|
export interface ModelWriteDto {
|
|
@@ -46,8 +43,9 @@ export interface ModelWriteDto {
|
|
|
46
43
|
description: string;
|
|
47
44
|
practice: Practise[];
|
|
48
45
|
otherService: OtherPractise[];
|
|
49
|
-
|
|
50
|
-
|
|
46
|
+
country: CountryDto;
|
|
47
|
+
region: RegionDto;
|
|
48
|
+
city: CityDto;
|
|
51
49
|
workingTime: DaySchedule[];
|
|
52
50
|
featuredImage: MediaDto;
|
|
53
51
|
photos: MediaDto[];
|
|
@@ -182,8 +180,11 @@ export interface FavoritesListing {
|
|
|
182
180
|
|
|
183
181
|
export interface LocationDto {
|
|
184
182
|
country: string;
|
|
183
|
+
countryId: string;
|
|
185
184
|
region: string;
|
|
185
|
+
regionId: string;
|
|
186
186
|
city: string;
|
|
187
|
+
cityId: string;
|
|
187
188
|
}
|
|
188
189
|
|
|
189
190
|
export interface CountryDto {
|
|
@@ -228,6 +229,17 @@ export interface JwtDto {
|
|
|
228
229
|
token: string;
|
|
229
230
|
}
|
|
230
231
|
|
|
232
|
+
export interface OtpDto {
|
|
233
|
+
email: string;
|
|
234
|
+
code: string;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
export interface ResetPasswordDto {
|
|
238
|
+
password: string;
|
|
239
|
+
email: string;
|
|
240
|
+
code: string;
|
|
241
|
+
}
|
|
242
|
+
|
|
231
243
|
|
|
232
244
|
|
|
233
245
|
|