@exclusive-website/types 2.2.0 → 2.2.1
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/filterEnums.d.ts +9 -6
- package/dist/filterEnums.js +10 -7
- package/dist/types.d.ts +42 -9
- package/package.json +1 -1
package/dist/filterEnums.d.ts
CHANGED
|
@@ -19,8 +19,14 @@ export declare enum ServiceType {
|
|
|
19
19
|
MASSAGE = "MASSAGE",
|
|
20
20
|
DOMINA = "DOMINA"
|
|
21
21
|
}
|
|
22
|
+
export declare enum Country {
|
|
23
|
+
SLOVAKIA = "SLOVAKIA",
|
|
24
|
+
CZECH = "CZECH",
|
|
25
|
+
AUSTRIA = "AUSTRIA",
|
|
26
|
+
HUNGARY = "HUNGARY",
|
|
27
|
+
POLAND = "POLAND"
|
|
28
|
+
}
|
|
22
29
|
export declare enum Region {
|
|
23
|
-
UNDEFINED = "UNDEFINED",
|
|
24
30
|
BANSKOBYSTRICKY = "BANSKOBYSTRICKY",
|
|
25
31
|
BRATISLAVSKY = "BRATISLAVSKY",
|
|
26
32
|
KOSICKY = "KOSICKY",
|
|
@@ -128,7 +134,6 @@ export declare enum Language {
|
|
|
128
134
|
FRENCH = "FRENCH"
|
|
129
135
|
}
|
|
130
136
|
export declare enum AgeRange {
|
|
131
|
-
UNDEFINED = "UNDEFINED",
|
|
132
137
|
AGE_18_19 = "AGE_18_19",
|
|
133
138
|
AGE_20_24 = "AGE_20_24",
|
|
134
139
|
AGE_25_29 = "AGE_25_29",
|
|
@@ -137,12 +142,10 @@ export declare enum AgeRange {
|
|
|
137
142
|
AGE_40_PLUS = "AGE_40_PLUS"
|
|
138
143
|
}
|
|
139
144
|
export declare enum AvailabilityStatus {
|
|
140
|
-
UNDEFINED = "UNDEFINED",
|
|
141
145
|
AVAILABLE = "AVAILABLE",
|
|
142
146
|
UNAVAILABLE = "UNAVAILABLE"
|
|
143
147
|
}
|
|
144
148
|
export declare enum BreastSize {
|
|
145
|
-
UNDEFINED = "UNDEFINED",
|
|
146
149
|
SIZE_1 = "SIZE_1",
|
|
147
150
|
SIZE_2 = "SIZE_2",
|
|
148
151
|
SIZE_3 = "SIZE_3",
|
|
@@ -152,7 +155,6 @@ export declare enum BreastSize {
|
|
|
152
155
|
SIZE_7_PLUS = "SIZE_7_PLUS"
|
|
153
156
|
}
|
|
154
157
|
export declare enum NationalityOption {
|
|
155
|
-
UNDEFINED = "UNDEFINED",
|
|
156
158
|
SLOVAK = "SLOVAK",
|
|
157
159
|
HUNGARIAN = "HUNGARIAN",
|
|
158
160
|
CZECH = "CZECH",
|
|
@@ -168,7 +170,8 @@ export declare enum ContactMethod {
|
|
|
168
170
|
export declare enum ServicesFor {
|
|
169
171
|
MEN = "MEN",
|
|
170
172
|
WOMEN = "WOMEN",
|
|
171
|
-
COUPLES = "COUPLES"
|
|
173
|
+
COUPLES = "COUPLES",
|
|
174
|
+
ZTP = "ZTP"
|
|
172
175
|
}
|
|
173
176
|
export declare enum UserRole {
|
|
174
177
|
MODEL = "MODEL",
|
package/dist/filterEnums.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Availability = exports.HairLength = exports.HairColor = exports.ShaveStatus = exports.OtherPractise = exports.Practise = exports.UserRole = exports.ServicesFor = exports.ContactMethod = exports.NationalityOption = exports.BreastSize = exports.AvailabilityStatus = exports.AgeRange = exports.Language = exports.DayOfWeek = exports.City = exports.Region = exports.ServiceType = exports.ExperienceLevel = exports.SexualOrientation = exports.DayStatus = void 0;
|
|
3
|
+
exports.Availability = exports.HairLength = exports.HairColor = exports.ShaveStatus = exports.OtherPractise = exports.Practise = exports.UserRole = exports.ServicesFor = exports.ContactMethod = exports.NationalityOption = exports.BreastSize = exports.AvailabilityStatus = exports.AgeRange = exports.Language = exports.DayOfWeek = exports.City = exports.Region = exports.Country = exports.ServiceType = exports.ExperienceLevel = exports.SexualOrientation = exports.DayStatus = void 0;
|
|
4
4
|
// DAY STATUS
|
|
5
5
|
var DayStatus;
|
|
6
6
|
(function (DayStatus) {
|
|
@@ -30,10 +30,16 @@ var ServiceType;
|
|
|
30
30
|
ServiceType["MASSAGE"] = "MASSAGE";
|
|
31
31
|
ServiceType["DOMINA"] = "DOMINA";
|
|
32
32
|
})(ServiceType = exports.ServiceType || (exports.ServiceType = {}));
|
|
33
|
-
|
|
33
|
+
var Country;
|
|
34
|
+
(function (Country) {
|
|
35
|
+
Country["SLOVAKIA"] = "SLOVAKIA";
|
|
36
|
+
Country["CZECH"] = "CZECH";
|
|
37
|
+
Country["AUSTRIA"] = "AUSTRIA";
|
|
38
|
+
Country["HUNGARY"] = "HUNGARY";
|
|
39
|
+
Country["POLAND"] = "POLAND";
|
|
40
|
+
})(Country = exports.Country || (exports.Country = {}));
|
|
34
41
|
var Region;
|
|
35
42
|
(function (Region) {
|
|
36
|
-
Region["UNDEFINED"] = "UNDEFINED";
|
|
37
43
|
Region["BANSKOBYSTRICKY"] = "BANSKOBYSTRICKY";
|
|
38
44
|
Region["BRATISLAVSKY"] = "BRATISLAVSKY";
|
|
39
45
|
Region["KOSICKY"] = "KOSICKY";
|
|
@@ -147,7 +153,6 @@ var Language;
|
|
|
147
153
|
// AGE RANGE
|
|
148
154
|
var AgeRange;
|
|
149
155
|
(function (AgeRange) {
|
|
150
|
-
AgeRange["UNDEFINED"] = "UNDEFINED";
|
|
151
156
|
AgeRange["AGE_18_19"] = "AGE_18_19";
|
|
152
157
|
AgeRange["AGE_20_24"] = "AGE_20_24";
|
|
153
158
|
AgeRange["AGE_25_29"] = "AGE_25_29";
|
|
@@ -158,14 +163,12 @@ var AgeRange;
|
|
|
158
163
|
// AVAILABILITY
|
|
159
164
|
var AvailabilityStatus;
|
|
160
165
|
(function (AvailabilityStatus) {
|
|
161
|
-
AvailabilityStatus["UNDEFINED"] = "UNDEFINED";
|
|
162
166
|
AvailabilityStatus["AVAILABLE"] = "AVAILABLE";
|
|
163
167
|
AvailabilityStatus["UNAVAILABLE"] = "UNAVAILABLE";
|
|
164
168
|
})(AvailabilityStatus = exports.AvailabilityStatus || (exports.AvailabilityStatus = {}));
|
|
165
169
|
// BREAST SIZE
|
|
166
170
|
var BreastSize;
|
|
167
171
|
(function (BreastSize) {
|
|
168
|
-
BreastSize["UNDEFINED"] = "UNDEFINED";
|
|
169
172
|
BreastSize["SIZE_1"] = "SIZE_1";
|
|
170
173
|
BreastSize["SIZE_2"] = "SIZE_2";
|
|
171
174
|
BreastSize["SIZE_3"] = "SIZE_3";
|
|
@@ -177,7 +180,6 @@ var BreastSize;
|
|
|
177
180
|
// NATIONALITY
|
|
178
181
|
var NationalityOption;
|
|
179
182
|
(function (NationalityOption) {
|
|
180
|
-
NationalityOption["UNDEFINED"] = "UNDEFINED";
|
|
181
183
|
NationalityOption["SLOVAK"] = "SLOVAK";
|
|
182
184
|
NationalityOption["HUNGARIAN"] = "HUNGARIAN";
|
|
183
185
|
NationalityOption["CZECH"] = "CZECH";
|
|
@@ -198,6 +200,7 @@ var ServicesFor;
|
|
|
198
200
|
ServicesFor["MEN"] = "MEN";
|
|
199
201
|
ServicesFor["WOMEN"] = "WOMEN";
|
|
200
202
|
ServicesFor["COUPLES"] = "COUPLES";
|
|
203
|
+
ServicesFor["ZTP"] = "ZTP";
|
|
201
204
|
})(ServicesFor = exports.ServicesFor || (exports.ServicesFor = {}));
|
|
202
205
|
// USER ROLE
|
|
203
206
|
var UserRole;
|
package/dist/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Availability, ContactMethod, DayOfWeek, DayStatus, ExperienceLevel, HairColor, HairLength, Language,
|
|
1
|
+
import { Availability, ContactMethod, DayOfWeek, DayStatus, ExperienceLevel, HairColor, HairLength, Language, NationalityOption, OtherPractise, Practise, ServicesFor, ServiceType, SexualOrientation, ShaveStatus, UserRole } from "./filterEnums";
|
|
2
2
|
export interface ModelWriteDto {
|
|
3
3
|
nickname: string;
|
|
4
4
|
phoneNumber: string;
|
|
@@ -25,8 +25,9 @@ export interface ModelWriteDto {
|
|
|
25
25
|
description: string;
|
|
26
26
|
practice: Practise[];
|
|
27
27
|
otherService: OtherPractise[];
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
country: CountryDto;
|
|
29
|
+
region: RegionDto;
|
|
30
|
+
city: CityDto;
|
|
30
31
|
workingTime: DaySchedule[];
|
|
31
32
|
featuredImage: MediaDto;
|
|
32
33
|
photos: MediaDto[];
|
|
@@ -46,8 +47,9 @@ export interface ListingQueryReadDto {
|
|
|
46
47
|
export interface ListingFilterQueryReadDto {
|
|
47
48
|
query: ListingQueryReadDto;
|
|
48
49
|
hasTattoo: boolean;
|
|
49
|
-
|
|
50
|
-
|
|
50
|
+
countryId: number;
|
|
51
|
+
regionId: number;
|
|
52
|
+
cityIds: number[];
|
|
51
53
|
old: AgeFilter;
|
|
52
54
|
availability: Availability;
|
|
53
55
|
breastSize: number;
|
|
@@ -72,7 +74,7 @@ export interface ModelShortReadDto {
|
|
|
72
74
|
id: number;
|
|
73
75
|
nickname: string;
|
|
74
76
|
age: number;
|
|
75
|
-
|
|
77
|
+
location: LocationDto;
|
|
76
78
|
isNew: boolean;
|
|
77
79
|
isTopped: boolean;
|
|
78
80
|
isAvailable: boolean;
|
|
@@ -87,7 +89,7 @@ export interface ModelShortReadDto {
|
|
|
87
89
|
export interface ModelShortPreviewReadDto {
|
|
88
90
|
id: number;
|
|
89
91
|
nickname: string;
|
|
90
|
-
|
|
92
|
+
location: LocationDto;
|
|
91
93
|
isNew: boolean;
|
|
92
94
|
isTopped: boolean;
|
|
93
95
|
isAvailable: boolean;
|
|
@@ -99,7 +101,7 @@ export interface ModelReadDto {
|
|
|
99
101
|
id: number;
|
|
100
102
|
nickname: string;
|
|
101
103
|
age: number;
|
|
102
|
-
|
|
104
|
+
location: LocationDto;
|
|
103
105
|
isNew: boolean;
|
|
104
106
|
isTopped: boolean;
|
|
105
107
|
isAvailable: boolean;
|
|
@@ -109,6 +111,7 @@ export interface ModelReadDto {
|
|
|
109
111
|
height: number;
|
|
110
112
|
weight: number;
|
|
111
113
|
breastSize: number;
|
|
114
|
+
feetSize: number;
|
|
112
115
|
hairColor: HairColor;
|
|
113
116
|
hairLength: HairLength;
|
|
114
117
|
isSmoker: boolean;
|
|
@@ -133,13 +136,34 @@ export interface ModelReadDto {
|
|
|
133
136
|
export interface UserInfoReadDto {
|
|
134
137
|
id: number;
|
|
135
138
|
email: string;
|
|
136
|
-
|
|
139
|
+
roles: UserRole[];
|
|
137
140
|
}
|
|
138
141
|
export interface MediaDto {
|
|
139
142
|
url: string;
|
|
140
143
|
}
|
|
141
144
|
export interface AuthJwtDto {
|
|
142
145
|
email: string;
|
|
146
|
+
roles: UserRole[];
|
|
147
|
+
}
|
|
148
|
+
export interface FavoritesListing {
|
|
149
|
+
ids: number[];
|
|
150
|
+
}
|
|
151
|
+
export interface LocationDto {
|
|
152
|
+
country: string;
|
|
153
|
+
region: string;
|
|
154
|
+
city: string;
|
|
155
|
+
}
|
|
156
|
+
export interface CountryDto {
|
|
157
|
+
countryId: number;
|
|
158
|
+
country: string;
|
|
159
|
+
}
|
|
160
|
+
export interface RegionDto {
|
|
161
|
+
regionId: number;
|
|
162
|
+
region: string;
|
|
163
|
+
}
|
|
164
|
+
export interface CityDto {
|
|
165
|
+
cityId: number;
|
|
166
|
+
city: string;
|
|
143
167
|
}
|
|
144
168
|
export type SupportedCurrency = "EUR" | "CZK" | null;
|
|
145
169
|
export interface RegisterUserDto {
|
|
@@ -153,6 +177,15 @@ export interface LoginUserDto {
|
|
|
153
177
|
export interface JwtDto {
|
|
154
178
|
token: string;
|
|
155
179
|
}
|
|
180
|
+
export interface ActivateDto {
|
|
181
|
+
email: string;
|
|
182
|
+
code: string;
|
|
183
|
+
}
|
|
184
|
+
export interface ResetPasswordDto {
|
|
185
|
+
password: string;
|
|
186
|
+
email: string;
|
|
187
|
+
code: string;
|
|
188
|
+
}
|
|
156
189
|
export interface TimeRange {
|
|
157
190
|
from: string;
|
|
158
191
|
to: string;
|