@exclusive-website/types 1.6.9 → 1.7.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/.idea/exclusive-girls-types.iml +12 -0
- package/.idea/modules.xml +8 -0
- package/.idea/vcs.xml +6 -0
- package/dist/filterEnums.js +39 -36
- package/dist/index.js +18 -2
- package/dist/types.d.ts +20 -15
- package/dist/types.js +2 -1
- package/package.json +1 -1
- package/src/types.ts +57 -17
- package/tsconfig.json +1 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<module type="WEB_MODULE" version="4">
|
|
3
|
+
<component name="NewModuleRootManager">
|
|
4
|
+
<content url="file://$MODULE_DIR$">
|
|
5
|
+
<excludeFolder url="file://$MODULE_DIR$/.tmp" />
|
|
6
|
+
<excludeFolder url="file://$MODULE_DIR$/temp" />
|
|
7
|
+
<excludeFolder url="file://$MODULE_DIR$/tmp" />
|
|
8
|
+
</content>
|
|
9
|
+
<orderEntry type="inheritedJdk" />
|
|
10
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
|
11
|
+
</component>
|
|
12
|
+
</module>
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="ProjectModuleManager">
|
|
4
|
+
<modules>
|
|
5
|
+
<module fileurl="file://$PROJECT_DIR$/.idea/exclusive-girls-types.iml" filepath="$PROJECT_DIR$/.idea/exclusive-girls-types.iml" />
|
|
6
|
+
</modules>
|
|
7
|
+
</component>
|
|
8
|
+
</project>
|
package/.idea/vcs.xml
ADDED
package/dist/filterEnums.js
CHANGED
|
@@ -1,43 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
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.Location = exports.ServiceType = exports.ExperienceLevel = exports.SexualOrientation = exports.DayStatus = void 0;
|
|
1
4
|
// DAY STATUS
|
|
2
|
-
|
|
5
|
+
var DayStatus;
|
|
3
6
|
(function (DayStatus) {
|
|
4
7
|
DayStatus["WORKING"] = "WORKING";
|
|
5
8
|
DayStatus["ON_DEMAND"] = "ON_DEMAND";
|
|
6
9
|
DayStatus["BUSY"] = "BUSY";
|
|
7
10
|
DayStatus["NOT_WORKING"] = "NOT_WORKING";
|
|
8
|
-
})(DayStatus || (DayStatus = {}));
|
|
11
|
+
})(DayStatus = exports.DayStatus || (exports.DayStatus = {}));
|
|
9
12
|
// SEXUAL ORIENTATION
|
|
10
|
-
|
|
13
|
+
var SexualOrientation;
|
|
11
14
|
(function (SexualOrientation) {
|
|
12
15
|
SexualOrientation["HETERO"] = "HETERO";
|
|
13
16
|
SexualOrientation["BI"] = "BI";
|
|
14
17
|
SexualOrientation["HOMO"] = "HOMO";
|
|
15
|
-
})(SexualOrientation || (SexualOrientation = {}));
|
|
18
|
+
})(SexualOrientation = exports.SexualOrientation || (exports.SexualOrientation = {}));
|
|
16
19
|
// EXPERIENCE LEVEL
|
|
17
|
-
|
|
20
|
+
var ExperienceLevel;
|
|
18
21
|
(function (ExperienceLevel) {
|
|
19
22
|
ExperienceLevel["PROFI"] = "PROFI";
|
|
20
23
|
ExperienceLevel["ADVANCED"] = "ADVANCED";
|
|
21
24
|
ExperienceLevel["AMATEUR"] = "AMATEUR";
|
|
22
|
-
})(ExperienceLevel || (ExperienceLevel = {}));
|
|
25
|
+
})(ExperienceLevel = exports.ExperienceLevel || (exports.ExperienceLevel = {}));
|
|
23
26
|
// SERVICE TYPE
|
|
24
|
-
|
|
27
|
+
var ServiceType;
|
|
25
28
|
(function (ServiceType) {
|
|
26
29
|
ServiceType["ESCORT"] = "ESCORT";
|
|
27
30
|
ServiceType["MASSAGE"] = "MASSAGE";
|
|
28
31
|
ServiceType["DOMINA"] = "DOMINA";
|
|
29
|
-
})(ServiceType || (ServiceType = {}));
|
|
32
|
+
})(ServiceType = exports.ServiceType || (exports.ServiceType = {}));
|
|
30
33
|
// LOCATION
|
|
31
|
-
|
|
34
|
+
var Location;
|
|
32
35
|
(function (Location) {
|
|
33
36
|
Location["UNDEFINED"] = "UNDEFINED";
|
|
34
37
|
Location["BRATISLAVA"] = "BRATISLAVA";
|
|
35
38
|
Location["KOSICE"] = "KOSICE";
|
|
36
39
|
Location["PRESOV"] = "PRESOV";
|
|
37
40
|
Location["NITRA"] = "NITRA";
|
|
38
|
-
})(Location || (Location = {}));
|
|
41
|
+
})(Location = exports.Location || (exports.Location = {}));
|
|
39
42
|
// LANGUAGE
|
|
40
|
-
|
|
43
|
+
var Language;
|
|
41
44
|
(function (Language) {
|
|
42
45
|
Language["ENGLISH"] = "ENGLISH";
|
|
43
46
|
Language["GERMAN"] = "GERMAN";
|
|
@@ -47,9 +50,9 @@ export var Language;
|
|
|
47
50
|
Language["POLISH"] = "POLISH";
|
|
48
51
|
Language["SPANISH"] = "SPANISH";
|
|
49
52
|
Language["FRENCH"] = "FRENCH";
|
|
50
|
-
})(Language || (Language = {}));
|
|
53
|
+
})(Language = exports.Language || (exports.Language = {}));
|
|
51
54
|
// AGE RANGE
|
|
52
|
-
|
|
55
|
+
var AgeRange;
|
|
53
56
|
(function (AgeRange) {
|
|
54
57
|
AgeRange["UNDEFINED"] = "UNDEFINED";
|
|
55
58
|
AgeRange["AGE_18_19"] = "AGE_18_19";
|
|
@@ -58,16 +61,16 @@ export var AgeRange;
|
|
|
58
61
|
AgeRange["AGE_30_34"] = "AGE_30_34";
|
|
59
62
|
AgeRange["AGE_35_39"] = "AGE_35_39";
|
|
60
63
|
AgeRange["AGE_40_PLUS"] = "AGE_40_PLUS";
|
|
61
|
-
})(AgeRange || (AgeRange = {}));
|
|
64
|
+
})(AgeRange = exports.AgeRange || (exports.AgeRange = {}));
|
|
62
65
|
// AVAILABILITY
|
|
63
|
-
|
|
66
|
+
var AvailabilityStatus;
|
|
64
67
|
(function (AvailabilityStatus) {
|
|
65
68
|
AvailabilityStatus["UNDEFINED"] = "UNDEFINED";
|
|
66
69
|
AvailabilityStatus["AVAILABLE"] = "AVAILABLE";
|
|
67
70
|
AvailabilityStatus["UNAVAILABLE"] = "UNAVAILABLE";
|
|
68
|
-
})(AvailabilityStatus || (AvailabilityStatus = {}));
|
|
71
|
+
})(AvailabilityStatus = exports.AvailabilityStatus || (exports.AvailabilityStatus = {}));
|
|
69
72
|
// BREAST SIZE
|
|
70
|
-
|
|
73
|
+
var BreastSize;
|
|
71
74
|
(function (BreastSize) {
|
|
72
75
|
BreastSize["UNDEFINED"] = "UNDEFINED";
|
|
73
76
|
BreastSize["SIZE_1"] = "SIZE_1";
|
|
@@ -77,9 +80,9 @@ export var BreastSize;
|
|
|
77
80
|
BreastSize["SIZE_5"] = "SIZE_5";
|
|
78
81
|
BreastSize["SIZE_6"] = "SIZE_6";
|
|
79
82
|
BreastSize["SIZE_7_PLUS"] = "SIZE_7_PLUS";
|
|
80
|
-
})(BreastSize || (BreastSize = {}));
|
|
83
|
+
})(BreastSize = exports.BreastSize || (exports.BreastSize = {}));
|
|
81
84
|
// NATIONALITY
|
|
82
|
-
|
|
85
|
+
var NationalityOption;
|
|
83
86
|
(function (NationalityOption) {
|
|
84
87
|
NationalityOption["UNDEFINED"] = "UNDEFINED";
|
|
85
88
|
NationalityOption["SLOVAK"] = "SLOVAK";
|
|
@@ -88,29 +91,29 @@ export var NationalityOption;
|
|
|
88
91
|
NationalityOption["AUSTRIAN"] = "AUSTRIAN";
|
|
89
92
|
NationalityOption["GERMAN"] = "GERMAN";
|
|
90
93
|
NationalityOption["OTHER"] = "OTHER";
|
|
91
|
-
})(NationalityOption || (NationalityOption = {}));
|
|
94
|
+
})(NationalityOption = exports.NationalityOption || (exports.NationalityOption = {}));
|
|
92
95
|
// CONTACT METHOD
|
|
93
|
-
|
|
96
|
+
var ContactMethod;
|
|
94
97
|
(function (ContactMethod) {
|
|
95
98
|
ContactMethod["WHATSAPP"] = "WHATSAPP";
|
|
96
99
|
ContactMethod["TELEGRAM"] = "TELEGRAM";
|
|
97
100
|
ContactMethod["VIBER"] = "VIBER";
|
|
98
|
-
})(ContactMethod || (ContactMethod = {}));
|
|
101
|
+
})(ContactMethod = exports.ContactMethod || (exports.ContactMethod = {}));
|
|
99
102
|
// SERVICES FOR
|
|
100
|
-
|
|
103
|
+
var ServicesFor;
|
|
101
104
|
(function (ServicesFor) {
|
|
102
105
|
ServicesFor["MEN"] = "MEN";
|
|
103
106
|
ServicesFor["WOMEN"] = "WOMEN";
|
|
104
107
|
ServicesFor["COUPLES"] = "COUPLES";
|
|
105
|
-
})(ServicesFor || (ServicesFor = {}));
|
|
108
|
+
})(ServicesFor = exports.ServicesFor || (exports.ServicesFor = {}));
|
|
106
109
|
// USER ROLE
|
|
107
|
-
|
|
110
|
+
var UserRole;
|
|
108
111
|
(function (UserRole) {
|
|
109
112
|
UserRole["MODEL"] = "MODEL";
|
|
110
113
|
UserRole["CLIENT"] = "CLIENT";
|
|
111
|
-
})(UserRole || (UserRole = {}));
|
|
114
|
+
})(UserRole = exports.UserRole || (exports.UserRole = {}));
|
|
112
115
|
// PRACTISE
|
|
113
|
-
|
|
116
|
+
var Practise;
|
|
114
117
|
(function (Practise) {
|
|
115
118
|
Practise["MASSAGE"] = "MASSAGE";
|
|
116
119
|
Practise["HANDJOB"] = "HANDJOB";
|
|
@@ -127,9 +130,9 @@ export var Practise;
|
|
|
127
130
|
Practise["COMPANY"] = "COMPANY";
|
|
128
131
|
Practise["ESCORT"] = "ESCORT";
|
|
129
132
|
Practise["OTHER"] = "OTHER";
|
|
130
|
-
})(Practise || (Practise = {}));
|
|
133
|
+
})(Practise = exports.Practise || (exports.Practise = {}));
|
|
131
134
|
// OTHER PRACTISE
|
|
132
|
-
|
|
135
|
+
var OtherPractise;
|
|
133
136
|
(function (OtherPractise) {
|
|
134
137
|
OtherPractise["ANAL"] = "ANAL";
|
|
135
138
|
OtherPractise["ORAL_WITHOUT"] = "ORAL_WITHOUT";
|
|
@@ -142,24 +145,24 @@ export var OtherPractise;
|
|
|
142
145
|
OtherPractise["PISSING"] = "PISSING";
|
|
143
146
|
OtherPractise["RIMMING"] = "RIMMING";
|
|
144
147
|
OtherPractise["TOYS"] = "TOYS";
|
|
145
|
-
})(OtherPractise || (OtherPractise = {}));
|
|
148
|
+
})(OtherPractise = exports.OtherPractise || (exports.OtherPractise = {}));
|
|
146
149
|
// SHAVE STATUS
|
|
147
|
-
|
|
150
|
+
var ShaveStatus;
|
|
148
151
|
(function (ShaveStatus) {
|
|
149
152
|
ShaveStatus["SHAVED"] = "SHAVED";
|
|
150
153
|
ShaveStatus["PARTIALLY_SHAVED"] = "PARTIALLY_SHAVED";
|
|
151
154
|
ShaveStatus["NOT_SHAVED"] = "NOT_SHAVED";
|
|
152
|
-
})(ShaveStatus || (ShaveStatus = {}));
|
|
155
|
+
})(ShaveStatus = exports.ShaveStatus || (exports.ShaveStatus = {}));
|
|
153
156
|
// HAIR COLOR
|
|
154
|
-
|
|
157
|
+
var HairColor;
|
|
155
158
|
(function (HairColor) {
|
|
156
159
|
HairColor["BLOND"] = "BLOND";
|
|
157
160
|
HairColor["BRUNET"] = "BRUNET";
|
|
158
161
|
HairColor["REDHEAD"] = "REDHEAD";
|
|
159
|
-
})(HairColor || (HairColor = {}));
|
|
162
|
+
})(HairColor = exports.HairColor || (exports.HairColor = {}));
|
|
160
163
|
// HAIR LENGTH
|
|
161
|
-
|
|
164
|
+
var HairLength;
|
|
162
165
|
(function (HairLength) {
|
|
163
166
|
HairLength["LONG"] = "LONG";
|
|
164
167
|
HairLength["SHORT"] = "SHORT";
|
|
165
|
-
})(HairLength || (HairLength = {}));
|
|
168
|
+
})(HairLength = exports.HairLength || (exports.HairLength = {}));
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
18
|
+
__exportStar(require("./filterEnums"), exports);
|
package/dist/types.d.ts
CHANGED
|
@@ -27,10 +27,29 @@ export interface ModelWriteDto {
|
|
|
27
27
|
otherService: OtherPractise[];
|
|
28
28
|
region: Location;
|
|
29
29
|
address: string;
|
|
30
|
-
workingTime:
|
|
30
|
+
workingTime: ScheduleDTO[];
|
|
31
31
|
featuredImage: number;
|
|
32
32
|
media: number[];
|
|
33
33
|
}
|
|
34
|
+
export interface DaySchedule {
|
|
35
|
+
status: DayStatus;
|
|
36
|
+
delivery?: boolean;
|
|
37
|
+
workingHoursFrom?: string;
|
|
38
|
+
workingHoursTo?: string;
|
|
39
|
+
}
|
|
40
|
+
export interface ScheduleDTO {
|
|
41
|
+
monday: DaySchedule;
|
|
42
|
+
tuesday: DaySchedule;
|
|
43
|
+
wednesday: DaySchedule;
|
|
44
|
+
thursday: DaySchedule;
|
|
45
|
+
friday: DaySchedule;
|
|
46
|
+
saturday: DaySchedule;
|
|
47
|
+
sunday: DaySchedule;
|
|
48
|
+
}
|
|
49
|
+
export interface ListingQueryReadDto {
|
|
50
|
+
page: number;
|
|
51
|
+
perPage: number;
|
|
52
|
+
}
|
|
34
53
|
export interface ModelListReadDto {
|
|
35
54
|
models: ModelShortReadDto[];
|
|
36
55
|
currentPage: number;
|
|
@@ -108,20 +127,6 @@ export interface TimeRange {
|
|
|
108
127
|
from: string;
|
|
109
128
|
to: string;
|
|
110
129
|
}
|
|
111
|
-
export interface DaySchedule {
|
|
112
|
-
status: DayStatus;
|
|
113
|
-
delivery?: boolean;
|
|
114
|
-
workingHours?: TimeRange;
|
|
115
|
-
}
|
|
116
|
-
export interface ScheduleDTO {
|
|
117
|
-
monday: DaySchedule;
|
|
118
|
-
tuesday: DaySchedule;
|
|
119
|
-
wednesday: DaySchedule;
|
|
120
|
-
thursday: DaySchedule;
|
|
121
|
-
friday: DaySchedule;
|
|
122
|
-
saturday: DaySchedule;
|
|
123
|
-
sunday: DaySchedule;
|
|
124
|
-
}
|
|
125
130
|
export interface PaymentOptionDTO {
|
|
126
131
|
id: string;
|
|
127
132
|
title: string;
|
package/dist/types.js
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
package/package.json
CHANGED
package/src/types.ts
CHANGED
|
@@ -47,11 +47,34 @@ export interface ModelWriteDto {
|
|
|
47
47
|
|
|
48
48
|
region: Location;
|
|
49
49
|
address: string;
|
|
50
|
-
workingTime:
|
|
50
|
+
workingTime: ScheduleDTO[];
|
|
51
51
|
featuredImage: number;
|
|
52
52
|
media: number[];
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
+
export interface DaySchedule {
|
|
56
|
+
status: DayStatus;
|
|
57
|
+
delivery?: boolean; // Optional, only relevant for PRACUJEM
|
|
58
|
+
workingHoursFrom?: string;
|
|
59
|
+
workingHoursTo?: string;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export interface ScheduleDTO {
|
|
63
|
+
monday: DaySchedule;
|
|
64
|
+
tuesday: DaySchedule;
|
|
65
|
+
wednesday: DaySchedule;
|
|
66
|
+
thursday: DaySchedule;
|
|
67
|
+
friday: DaySchedule;
|
|
68
|
+
saturday: DaySchedule;
|
|
69
|
+
sunday: DaySchedule;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export interface ListingQueryReadDto {
|
|
73
|
+
page: number;
|
|
74
|
+
perPage: number;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
|
|
55
78
|
export interface ModelListReadDto {
|
|
56
79
|
models: ModelShortReadDto[];
|
|
57
80
|
currentPage: number;
|
|
@@ -118,8 +141,20 @@ export interface UserInfoReadDto {
|
|
|
118
141
|
role: UserRole;
|
|
119
142
|
}
|
|
120
143
|
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
|
|
121
151
|
export type SupportedCurrency = "EUR" | "CZK" | null;
|
|
122
152
|
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
|
|
123
158
|
//SECURITY
|
|
124
159
|
export interface RegisterUserDto {
|
|
125
160
|
email: string;
|
|
@@ -135,28 +170,19 @@ export interface JwtDto {
|
|
|
135
170
|
token: string;
|
|
136
171
|
}
|
|
137
172
|
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
|
|
138
180
|
//SCHEDULE
|
|
139
181
|
export interface TimeRange {
|
|
140
182
|
from: string; // Format: "HH:mm"
|
|
141
183
|
to: string; // Format: "HH:mm"
|
|
142
184
|
}
|
|
143
185
|
|
|
144
|
-
export interface DaySchedule {
|
|
145
|
-
status: DayStatus;
|
|
146
|
-
delivery?: boolean; // Optional, only relevant for PRACUJEM
|
|
147
|
-
workingHours?: TimeRange; // Optional, only for PRACUJEM with delivery
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
export interface ScheduleDTO {
|
|
151
|
-
monday: DaySchedule;
|
|
152
|
-
tuesday: DaySchedule;
|
|
153
|
-
wednesday: DaySchedule;
|
|
154
|
-
thursday: DaySchedule;
|
|
155
|
-
friday: DaySchedule;
|
|
156
|
-
saturday: DaySchedule;
|
|
157
|
-
sunday: DaySchedule;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
186
|
//PAYMENT
|
|
161
187
|
export interface PaymentOptionDTO {
|
|
162
188
|
id: string;
|
|
@@ -170,6 +196,14 @@ export interface PaymentOptionDTO {
|
|
|
170
196
|
}[];
|
|
171
197
|
}
|
|
172
198
|
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
|
|
173
207
|
export interface ChargingOption {
|
|
174
208
|
cost: number;
|
|
175
209
|
currency: SupportedCurrency;
|
|
@@ -185,6 +219,12 @@ export interface InfoPoint {
|
|
|
185
219
|
point: string;
|
|
186
220
|
}
|
|
187
221
|
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
|
|
188
228
|
export interface ListingPricingDTO {
|
|
189
229
|
id: string;
|
|
190
230
|
title: string;
|