@exclusive-website/types 1.1.3 → 1.1.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/dist/filterEnums.d.ts +130 -0
- package/dist/filterEnums.js +158 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/types.d.ts +172 -0
- package/dist/types.js +1 -0
- package/exclusive-website-types-1.1.4.tgz +0 -0
- package/package.json +13 -3
- package/tsconfig.json +15 -0
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
export declare enum SexualOrientation {
|
|
2
|
+
HETERO = "hetero",
|
|
3
|
+
BI = "bi",
|
|
4
|
+
HOMO = "homo"
|
|
5
|
+
}
|
|
6
|
+
export declare enum ExperienceLevel {
|
|
7
|
+
PROFI = "profi",
|
|
8
|
+
ADVANCED = "advanced",
|
|
9
|
+
AMATEUR = "amateur"
|
|
10
|
+
}
|
|
11
|
+
export declare enum ServiceType {
|
|
12
|
+
ESCORT = "escort",
|
|
13
|
+
MASSAGE = "massage",
|
|
14
|
+
DOMINA = "domina"
|
|
15
|
+
}
|
|
16
|
+
export declare enum Location {
|
|
17
|
+
UNDEFINED = "Neuveden\u00E1",
|
|
18
|
+
BRATISLAVA = "Bratislava",
|
|
19
|
+
KOSICE = "Ko\u0161ice",
|
|
20
|
+
PRESOV = "Pre\u0161ov",
|
|
21
|
+
NITRA = "Nitra"
|
|
22
|
+
}
|
|
23
|
+
export declare enum Language {
|
|
24
|
+
ENGLISH = "I speak English",
|
|
25
|
+
GERMAN = "Ich spreche Deutsch",
|
|
26
|
+
UKRAINIAN = "\u042F \u0440\u043E\u0437\u043C\u043E\u0432\u043B\u044F\u044E \u0443\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u043E\u044E",
|
|
27
|
+
RUSSIAN = "\u044F \u0433\u043E\u0432\u043E\u0440\u044E na \u0440\u0443\u0441\u0441\u043A\u043E\u043C",
|
|
28
|
+
HUNGARIAN = "Besz\u00E9lek magyarul",
|
|
29
|
+
POLISH = "Ja m\u00F3wi\u0119 po polsku",
|
|
30
|
+
SPANISH = "Yo hablo espa\u00F1ol",
|
|
31
|
+
FRENCH = "Je parle fran\u00E7ais"
|
|
32
|
+
}
|
|
33
|
+
export declare enum AgeRange {
|
|
34
|
+
UNDEFINED = "Neuveden\u00E9",
|
|
35
|
+
AGE_18_19 = "18-19 rokov",
|
|
36
|
+
AGE_20_24 = "20-24 rokov",
|
|
37
|
+
AGE_25_29 = "25-29 rokov",
|
|
38
|
+
AGE_30_34 = "30-34 rokov",
|
|
39
|
+
AGE_35_39 = "35-39 rokov",
|
|
40
|
+
AGE_40_PLUS = "40 rokov a viac"
|
|
41
|
+
}
|
|
42
|
+
export declare enum AvailabilityStatus {
|
|
43
|
+
UNDEFINED = "Neuveden\u00E9",
|
|
44
|
+
AVAILABLE = "Dostupn\u00E1",
|
|
45
|
+
UNAVAILABLE = "Nedostupn\u00E1"
|
|
46
|
+
}
|
|
47
|
+
export declare enum BreastSize {
|
|
48
|
+
UNDEFINED = "Neuveden\u00E9",
|
|
49
|
+
SIZE_1 = "Ve\u013Ekos\u0165 1",
|
|
50
|
+
SIZE_2 = "Ve\u013Ekos\u0165 2",
|
|
51
|
+
SIZE_3 = "Ve\u013Ekos\u0165 3",
|
|
52
|
+
SIZE_4 = "Ve\u013Ekos\u0165 4",
|
|
53
|
+
SIZE_5 = "Ve\u013Ekos\u0165 5",
|
|
54
|
+
SIZE_6 = "Ve\u013Ekos\u0165 6",
|
|
55
|
+
SIZE_7_PLUS = "Ve\u013Ekos\u0165 7 a viac"
|
|
56
|
+
}
|
|
57
|
+
export declare enum NationalityOption {
|
|
58
|
+
UNDEFINED = "Neuveden\u00E9",
|
|
59
|
+
SLOVAK = "Slovenka",
|
|
60
|
+
HUNGARIAN = "Ma\u010Farka",
|
|
61
|
+
CZECH = "\u010Ceska",
|
|
62
|
+
AUSTRIAN = "Rak\u00FA\u0161anka",
|
|
63
|
+
GERMAN = "Nemeck\u00E1",
|
|
64
|
+
OTHER = "In\u00E1"
|
|
65
|
+
}
|
|
66
|
+
export declare enum ContactMethod {
|
|
67
|
+
WHATSAPP = "WhatsApp",
|
|
68
|
+
TELEGRAM = "Telegram",
|
|
69
|
+
VIBER = "Viber"
|
|
70
|
+
}
|
|
71
|
+
export declare enum ServicesFor {
|
|
72
|
+
MEN = "Pre mu\u017Eov",
|
|
73
|
+
WOMEN = "Pre \u017Eeny",
|
|
74
|
+
COUPLES = "Pre p\u00E1ry"
|
|
75
|
+
}
|
|
76
|
+
export declare enum Practice {
|
|
77
|
+
PRACTICE_1 = "Praktika 1",
|
|
78
|
+
PRACTICE_2 = "Praktika 2",
|
|
79
|
+
PRACTICE_3 = "Praktika 3",
|
|
80
|
+
PRACTICE_4 = "Praktika 4",
|
|
81
|
+
PRACTICE_5 = "Praktika 5",
|
|
82
|
+
PRACTICE_6 = "Praktika 6"
|
|
83
|
+
}
|
|
84
|
+
export declare enum OtherOption {
|
|
85
|
+
EROTIC_MASSAGE = "Erotick\u00E1 mas\u00E1\u017E",
|
|
86
|
+
STRIPTEASE = "Stript\u00EDz",
|
|
87
|
+
COMPANY = "Spolo\u010Dnos\u0165",
|
|
88
|
+
ESCORT = "Escort",
|
|
89
|
+
OTHER = "In\u00E9"
|
|
90
|
+
}
|
|
91
|
+
export declare enum AvailableService {
|
|
92
|
+
MASSAGE = "massage",
|
|
93
|
+
HANDJOB = "handjob",
|
|
94
|
+
STRIPTEASE = "striptease",
|
|
95
|
+
MUTUAL_MASSAGE = "mutualMassage",
|
|
96
|
+
FOOTJOB = "footJob",
|
|
97
|
+
FOOTFETISH = "footFetish",
|
|
98
|
+
AUTOEROTIC = "autoerotic",
|
|
99
|
+
STRAPON = "strapon",
|
|
100
|
+
DOMINATION = "domination",
|
|
101
|
+
BONDAGE = "bondage",
|
|
102
|
+
ROLEPLAY = "roleplay"
|
|
103
|
+
}
|
|
104
|
+
export declare enum SpecialService {
|
|
105
|
+
ANAL = "anal",
|
|
106
|
+
ORAL_WITHOUT = "oralWithout",
|
|
107
|
+
CUM_IN_MOUTH = "cumInMouth",
|
|
108
|
+
CUM_ON_FACE = "cumOnFace",
|
|
109
|
+
DEEPTHROAT = "deepthroat",
|
|
110
|
+
DOUBLE_PENETRATION = "doublePenetration",
|
|
111
|
+
FISTING = "fisting",
|
|
112
|
+
POSITION_69 = "69",
|
|
113
|
+
PISSING = "pissing",
|
|
114
|
+
RIMMING = "rimming",
|
|
115
|
+
TOYS = "toys"
|
|
116
|
+
}
|
|
117
|
+
export declare enum ShaveStatus {
|
|
118
|
+
SHAVED = "shaved",
|
|
119
|
+
PARTIALLY_SHAVED = "partially shaved",
|
|
120
|
+
NOT_SHAVED = "not shaved"
|
|
121
|
+
}
|
|
122
|
+
export declare enum HairColor {
|
|
123
|
+
BLOND = "Blond",
|
|
124
|
+
BRUNET = "Brunet",
|
|
125
|
+
REDHEAD = "Ry\u0161av\u00E9"
|
|
126
|
+
}
|
|
127
|
+
export declare enum HairLength {
|
|
128
|
+
LONG = "Dlh\u00E9",
|
|
129
|
+
SHORT = "Kr\u00E1tke"
|
|
130
|
+
}
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
// ENUMS
|
|
2
|
+
export var SexualOrientation;
|
|
3
|
+
(function (SexualOrientation) {
|
|
4
|
+
SexualOrientation["HETERO"] = "hetero";
|
|
5
|
+
SexualOrientation["BI"] = "bi";
|
|
6
|
+
SexualOrientation["HOMO"] = "homo";
|
|
7
|
+
})(SexualOrientation || (SexualOrientation = {}));
|
|
8
|
+
export var ExperienceLevel;
|
|
9
|
+
(function (ExperienceLevel) {
|
|
10
|
+
ExperienceLevel["PROFI"] = "profi";
|
|
11
|
+
ExperienceLevel["ADVANCED"] = "advanced";
|
|
12
|
+
ExperienceLevel["AMATEUR"] = "amateur";
|
|
13
|
+
})(ExperienceLevel || (ExperienceLevel = {}));
|
|
14
|
+
export var ServiceType;
|
|
15
|
+
(function (ServiceType) {
|
|
16
|
+
ServiceType["ESCORT"] = "escort";
|
|
17
|
+
ServiceType["MASSAGE"] = "massage";
|
|
18
|
+
ServiceType["DOMINA"] = "domina";
|
|
19
|
+
})(ServiceType || (ServiceType = {}));
|
|
20
|
+
// LOCATION
|
|
21
|
+
export var Location;
|
|
22
|
+
(function (Location) {
|
|
23
|
+
Location["UNDEFINED"] = "Neuveden\u00E1";
|
|
24
|
+
Location["BRATISLAVA"] = "Bratislava";
|
|
25
|
+
Location["KOSICE"] = "Ko\u0161ice";
|
|
26
|
+
Location["PRESOV"] = "Pre\u0161ov";
|
|
27
|
+
Location["NITRA"] = "Nitra";
|
|
28
|
+
})(Location || (Location = {}));
|
|
29
|
+
export var Language;
|
|
30
|
+
(function (Language) {
|
|
31
|
+
Language["ENGLISH"] = "I speak English";
|
|
32
|
+
Language["GERMAN"] = "Ich spreche Deutsch";
|
|
33
|
+
Language["UKRAINIAN"] = "\u042F \u0440\u043E\u0437\u043C\u043E\u0432\u043B\u044F\u044E \u0443\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u043E\u044E";
|
|
34
|
+
Language["RUSSIAN"] = "\u044F \u0433\u043E\u0432\u043E\u0440\u044E na \u0440\u0443\u0441\u0441\u043A\u043E\u043C";
|
|
35
|
+
Language["HUNGARIAN"] = "Besz\u00E9lek magyarul";
|
|
36
|
+
Language["POLISH"] = "Ja m\u00F3wi\u0119 po polsku";
|
|
37
|
+
Language["SPANISH"] = "Yo hablo espa\u00F1ol";
|
|
38
|
+
Language["FRENCH"] = "Je parle fran\u00E7ais";
|
|
39
|
+
})(Language || (Language = {}));
|
|
40
|
+
// AGE RANGES
|
|
41
|
+
export var AgeRange;
|
|
42
|
+
(function (AgeRange) {
|
|
43
|
+
AgeRange["UNDEFINED"] = "Neuveden\u00E9";
|
|
44
|
+
AgeRange["AGE_18_19"] = "18-19 rokov";
|
|
45
|
+
AgeRange["AGE_20_24"] = "20-24 rokov";
|
|
46
|
+
AgeRange["AGE_25_29"] = "25-29 rokov";
|
|
47
|
+
AgeRange["AGE_30_34"] = "30-34 rokov";
|
|
48
|
+
AgeRange["AGE_35_39"] = "35-39 rokov";
|
|
49
|
+
AgeRange["AGE_40_PLUS"] = "40 rokov a viac";
|
|
50
|
+
})(AgeRange || (AgeRange = {}));
|
|
51
|
+
// AVAILABILITY
|
|
52
|
+
export var AvailabilityStatus;
|
|
53
|
+
(function (AvailabilityStatus) {
|
|
54
|
+
AvailabilityStatus["UNDEFINED"] = "Neuveden\u00E9";
|
|
55
|
+
AvailabilityStatus["AVAILABLE"] = "Dostupn\u00E1";
|
|
56
|
+
AvailabilityStatus["UNAVAILABLE"] = "Nedostupn\u00E1";
|
|
57
|
+
})(AvailabilityStatus || (AvailabilityStatus = {}));
|
|
58
|
+
// BREAST SIZE
|
|
59
|
+
export var BreastSize;
|
|
60
|
+
(function (BreastSize) {
|
|
61
|
+
BreastSize["UNDEFINED"] = "Neuveden\u00E9";
|
|
62
|
+
BreastSize["SIZE_1"] = "Ve\u013Ekos\u0165 1";
|
|
63
|
+
BreastSize["SIZE_2"] = "Ve\u013Ekos\u0165 2";
|
|
64
|
+
BreastSize["SIZE_3"] = "Ve\u013Ekos\u0165 3";
|
|
65
|
+
BreastSize["SIZE_4"] = "Ve\u013Ekos\u0165 4";
|
|
66
|
+
BreastSize["SIZE_5"] = "Ve\u013Ekos\u0165 5";
|
|
67
|
+
BreastSize["SIZE_6"] = "Ve\u013Ekos\u0165 6";
|
|
68
|
+
BreastSize["SIZE_7_PLUS"] = "Ve\u013Ekos\u0165 7 a viac";
|
|
69
|
+
})(BreastSize || (BreastSize = {}));
|
|
70
|
+
// NATIONALITY
|
|
71
|
+
export var NationalityOption;
|
|
72
|
+
(function (NationalityOption) {
|
|
73
|
+
NationalityOption["UNDEFINED"] = "Neuveden\u00E9";
|
|
74
|
+
NationalityOption["SLOVAK"] = "Slovenka";
|
|
75
|
+
NationalityOption["HUNGARIAN"] = "Ma\u010Farka";
|
|
76
|
+
NationalityOption["CZECH"] = "\u010Ceska";
|
|
77
|
+
NationalityOption["AUSTRIAN"] = "Rak\u00FA\u0161anka";
|
|
78
|
+
NationalityOption["GERMAN"] = "Nemeck\u00E1";
|
|
79
|
+
NationalityOption["OTHER"] = "In\u00E1";
|
|
80
|
+
})(NationalityOption || (NationalityOption = {}));
|
|
81
|
+
// CONTACT METHODS
|
|
82
|
+
export var ContactMethod;
|
|
83
|
+
(function (ContactMethod) {
|
|
84
|
+
ContactMethod["WHATSAPP"] = "WhatsApp";
|
|
85
|
+
ContactMethod["TELEGRAM"] = "Telegram";
|
|
86
|
+
ContactMethod["VIBER"] = "Viber";
|
|
87
|
+
})(ContactMethod || (ContactMethod = {}));
|
|
88
|
+
// SERVICES FOR
|
|
89
|
+
export var ServicesFor;
|
|
90
|
+
(function (ServicesFor) {
|
|
91
|
+
ServicesFor["MEN"] = "Pre mu\u017Eov";
|
|
92
|
+
ServicesFor["WOMEN"] = "Pre \u017Eeny";
|
|
93
|
+
ServicesFor["COUPLES"] = "Pre p\u00E1ry";
|
|
94
|
+
})(ServicesFor || (ServicesFor = {}));
|
|
95
|
+
// PRACTICES
|
|
96
|
+
export var Practice;
|
|
97
|
+
(function (Practice) {
|
|
98
|
+
Practice["PRACTICE_1"] = "Praktika 1";
|
|
99
|
+
Practice["PRACTICE_2"] = "Praktika 2";
|
|
100
|
+
Practice["PRACTICE_3"] = "Praktika 3";
|
|
101
|
+
Practice["PRACTICE_4"] = "Praktika 4";
|
|
102
|
+
Practice["PRACTICE_5"] = "Praktika 5";
|
|
103
|
+
Practice["PRACTICE_6"] = "Praktika 6";
|
|
104
|
+
})(Practice || (Practice = {}));
|
|
105
|
+
// OTHER
|
|
106
|
+
export var OtherOption;
|
|
107
|
+
(function (OtherOption) {
|
|
108
|
+
OtherOption["EROTIC_MASSAGE"] = "Erotick\u00E1 mas\u00E1\u017E";
|
|
109
|
+
OtherOption["STRIPTEASE"] = "Stript\u00EDz";
|
|
110
|
+
OtherOption["COMPANY"] = "Spolo\u010Dnos\u0165";
|
|
111
|
+
OtherOption["ESCORT"] = "Escort";
|
|
112
|
+
OtherOption["OTHER"] = "In\u00E9";
|
|
113
|
+
})(OtherOption || (OtherOption = {}));
|
|
114
|
+
export var AvailableService;
|
|
115
|
+
(function (AvailableService) {
|
|
116
|
+
AvailableService["MASSAGE"] = "massage";
|
|
117
|
+
AvailableService["HANDJOB"] = "handjob";
|
|
118
|
+
AvailableService["STRIPTEASE"] = "striptease";
|
|
119
|
+
AvailableService["MUTUAL_MASSAGE"] = "mutualMassage";
|
|
120
|
+
AvailableService["FOOTJOB"] = "footJob";
|
|
121
|
+
AvailableService["FOOTFETISH"] = "footFetish";
|
|
122
|
+
AvailableService["AUTOEROTIC"] = "autoerotic";
|
|
123
|
+
AvailableService["STRAPON"] = "strapon";
|
|
124
|
+
AvailableService["DOMINATION"] = "domination";
|
|
125
|
+
AvailableService["BONDAGE"] = "bondage";
|
|
126
|
+
AvailableService["ROLEPLAY"] = "roleplay";
|
|
127
|
+
})(AvailableService || (AvailableService = {}));
|
|
128
|
+
export var SpecialService;
|
|
129
|
+
(function (SpecialService) {
|
|
130
|
+
SpecialService["ANAL"] = "anal";
|
|
131
|
+
SpecialService["ORAL_WITHOUT"] = "oralWithout";
|
|
132
|
+
SpecialService["CUM_IN_MOUTH"] = "cumInMouth";
|
|
133
|
+
SpecialService["CUM_ON_FACE"] = "cumOnFace";
|
|
134
|
+
SpecialService["DEEPTHROAT"] = "deepthroat";
|
|
135
|
+
SpecialService["DOUBLE_PENETRATION"] = "doublePenetration";
|
|
136
|
+
SpecialService["FISTING"] = "fisting";
|
|
137
|
+
SpecialService["POSITION_69"] = "69";
|
|
138
|
+
SpecialService["PISSING"] = "pissing";
|
|
139
|
+
SpecialService["RIMMING"] = "rimming";
|
|
140
|
+
SpecialService["TOYS"] = "toys";
|
|
141
|
+
})(SpecialService || (SpecialService = {}));
|
|
142
|
+
export var ShaveStatus;
|
|
143
|
+
(function (ShaveStatus) {
|
|
144
|
+
ShaveStatus["SHAVED"] = "shaved";
|
|
145
|
+
ShaveStatus["PARTIALLY_SHAVED"] = "partially shaved";
|
|
146
|
+
ShaveStatus["NOT_SHAVED"] = "not shaved";
|
|
147
|
+
})(ShaveStatus || (ShaveStatus = {}));
|
|
148
|
+
export var HairColor;
|
|
149
|
+
(function (HairColor) {
|
|
150
|
+
HairColor["BLOND"] = "Blond";
|
|
151
|
+
HairColor["BRUNET"] = "Brunet";
|
|
152
|
+
HairColor["REDHEAD"] = "Ry\u0161av\u00E9";
|
|
153
|
+
})(HairColor || (HairColor = {}));
|
|
154
|
+
export var HairLength;
|
|
155
|
+
(function (HairLength) {
|
|
156
|
+
HairLength["LONG"] = "Dlh\u00E9";
|
|
157
|
+
HairLength["SHORT"] = "Kr\u00E1tke";
|
|
158
|
+
})(HairLength || (HairLength = {}));
|
package/dist/index.d.ts
ADDED
package/dist/index.js
ADDED
package/dist/types.d.ts
ADDED
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
import { AvailabilityStatus, AvailableService, ExperienceLevel, Language, ServiceType, SexualOrientation, ShaveStatus, SpecialService } from "./filterEnums";
|
|
2
|
+
export interface ModelDTO {
|
|
3
|
+
id: number;
|
|
4
|
+
images: string[];
|
|
5
|
+
videos: string[];
|
|
6
|
+
nickname: string;
|
|
7
|
+
isNew: boolean;
|
|
8
|
+
isTopped: boolean;
|
|
9
|
+
city: string;
|
|
10
|
+
availability: AvailabilityStatus;
|
|
11
|
+
age: number;
|
|
12
|
+
weight: number;
|
|
13
|
+
height: number;
|
|
14
|
+
chestSize: string;
|
|
15
|
+
hairColor: string;
|
|
16
|
+
isSmoker: boolean;
|
|
17
|
+
hasTattoo: boolean;
|
|
18
|
+
hasPiercing: boolean;
|
|
19
|
+
shaveStatus: ShaveStatus;
|
|
20
|
+
experience: ExperienceLevel;
|
|
21
|
+
serviceType: ServiceType;
|
|
22
|
+
nationality: Nationality;
|
|
23
|
+
languages: Language[];
|
|
24
|
+
servicesFor: string[];
|
|
25
|
+
description: string;
|
|
26
|
+
services: string[];
|
|
27
|
+
otherSpecialServices: string[];
|
|
28
|
+
phoneNumber: string;
|
|
29
|
+
listingExpired: boolean;
|
|
30
|
+
}
|
|
31
|
+
export type ActivityStatus = "active" | "inactive";
|
|
32
|
+
export interface ModelListingDTO {
|
|
33
|
+
id: string;
|
|
34
|
+
listingId: string;
|
|
35
|
+
nickname: string;
|
|
36
|
+
city: string;
|
|
37
|
+
image: string[];
|
|
38
|
+
activityStatus: ActivityStatus;
|
|
39
|
+
approved: boolean;
|
|
40
|
+
expirationTime: number;
|
|
41
|
+
toppedDuration: number;
|
|
42
|
+
views: number;
|
|
43
|
+
creationDate: string;
|
|
44
|
+
inModelDashboard: boolean;
|
|
45
|
+
}
|
|
46
|
+
export interface ChargingOption {
|
|
47
|
+
cost: number;
|
|
48
|
+
currency: SupportedCurrency;
|
|
49
|
+
duration: string;
|
|
50
|
+
id?: string;
|
|
51
|
+
}
|
|
52
|
+
export interface FreeOfChargeOption {
|
|
53
|
+
amount: string;
|
|
54
|
+
}
|
|
55
|
+
export interface InfoPoint {
|
|
56
|
+
point: string;
|
|
57
|
+
}
|
|
58
|
+
export interface ListingPricingDTO {
|
|
59
|
+
id: string;
|
|
60
|
+
title: string;
|
|
61
|
+
description: string;
|
|
62
|
+
chargingOptions: ChargingOption[];
|
|
63
|
+
infoPoints: InfoPoint[];
|
|
64
|
+
}
|
|
65
|
+
export interface ToppedPricingDTO {
|
|
66
|
+
id: string;
|
|
67
|
+
title: string;
|
|
68
|
+
description: string;
|
|
69
|
+
displayFreeOfChargeOption: boolean;
|
|
70
|
+
freeOfChargeOption?: FreeOfChargeOption;
|
|
71
|
+
generalTopped: {
|
|
72
|
+
title: string;
|
|
73
|
+
description: string;
|
|
74
|
+
chargingOptions: ChargingOption[];
|
|
75
|
+
};
|
|
76
|
+
countyTopped: {
|
|
77
|
+
title: string;
|
|
78
|
+
description: string;
|
|
79
|
+
chargingOptions: ChargingOption[];
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
export type SupportedCurrency = "EUR" | "CZK" | null;
|
|
83
|
+
export interface PaymentOptionDTO {
|
|
84
|
+
id: string;
|
|
85
|
+
title: string;
|
|
86
|
+
description: string;
|
|
87
|
+
images?: {
|
|
88
|
+
url: string;
|
|
89
|
+
alt: string;
|
|
90
|
+
width: number;
|
|
91
|
+
height: number;
|
|
92
|
+
}[];
|
|
93
|
+
}
|
|
94
|
+
export interface Languages {
|
|
95
|
+
slovak: boolean;
|
|
96
|
+
english: boolean;
|
|
97
|
+
german: boolean;
|
|
98
|
+
}
|
|
99
|
+
export type Nationality = Record<Language, string>;
|
|
100
|
+
export interface Contact {
|
|
101
|
+
socials: {
|
|
102
|
+
phone: string;
|
|
103
|
+
clir: boolean;
|
|
104
|
+
whatsapp: boolean;
|
|
105
|
+
viber: boolean;
|
|
106
|
+
sms: boolean;
|
|
107
|
+
};
|
|
108
|
+
location: {
|
|
109
|
+
city: string;
|
|
110
|
+
address: string;
|
|
111
|
+
};
|
|
112
|
+
}
|
|
113
|
+
export interface Media {
|
|
114
|
+
url: string;
|
|
115
|
+
alt?: string;
|
|
116
|
+
}
|
|
117
|
+
export type AvailableServices = Record<AvailableService, boolean>;
|
|
118
|
+
export type SpecialServices = Record<SpecialService, boolean>;
|
|
119
|
+
export interface ServicesDTO {
|
|
120
|
+
available: AvailableServices;
|
|
121
|
+
special: SpecialServices;
|
|
122
|
+
}
|
|
123
|
+
export interface ListingDTO {
|
|
124
|
+
id: string;
|
|
125
|
+
name: string;
|
|
126
|
+
description: string;
|
|
127
|
+
demographics: {
|
|
128
|
+
age: number;
|
|
129
|
+
nationality: Nationality;
|
|
130
|
+
languages: Languages;
|
|
131
|
+
};
|
|
132
|
+
contact: Contact;
|
|
133
|
+
about: {
|
|
134
|
+
height: number;
|
|
135
|
+
weight: number;
|
|
136
|
+
footSize: number;
|
|
137
|
+
breastSize: string;
|
|
138
|
+
breastImplants: boolean;
|
|
139
|
+
hairColor: string;
|
|
140
|
+
hairLength: string;
|
|
141
|
+
tattoo: boolean;
|
|
142
|
+
piercing: boolean;
|
|
143
|
+
smoker: boolean;
|
|
144
|
+
sexualOrientation: SexualOrientation;
|
|
145
|
+
shaveStatus: ShaveStatus;
|
|
146
|
+
};
|
|
147
|
+
addons: {
|
|
148
|
+
experience: string;
|
|
149
|
+
targetClientel: {
|
|
150
|
+
privat: boolean;
|
|
151
|
+
escort: boolean;
|
|
152
|
+
men: boolean;
|
|
153
|
+
women: boolean;
|
|
154
|
+
pairs: boolean;
|
|
155
|
+
ztp: boolean;
|
|
156
|
+
};
|
|
157
|
+
};
|
|
158
|
+
services: ServicesDTO;
|
|
159
|
+
images: Media[];
|
|
160
|
+
videos?: Media[];
|
|
161
|
+
}
|
|
162
|
+
export interface RegisterUserDto {
|
|
163
|
+
email: string;
|
|
164
|
+
password: string;
|
|
165
|
+
}
|
|
166
|
+
export interface LoginUserDto {
|
|
167
|
+
email: string;
|
|
168
|
+
password: string;
|
|
169
|
+
}
|
|
170
|
+
export interface JwtDto {
|
|
171
|
+
token: string;
|
|
172
|
+
}
|
package/dist/types.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,9 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exclusive-website/types",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.5",
|
|
4
4
|
"description": "A collection of shared types (DTOs and DBEs) for the organization",
|
|
5
|
-
"main": "
|
|
6
|
-
"types": "
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"import": "./dist/index.js",
|
|
10
|
+
"types": "./dist/index.d.ts"
|
|
11
|
+
},
|
|
12
|
+
"./filterEnums": {
|
|
13
|
+
"import": "./dist/filterEnums.js",
|
|
14
|
+
"types": "./dist/filterEnums.d.ts"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
7
17
|
"scripts": {
|
|
8
18
|
"build": "tsc",
|
|
9
19
|
"test": "echo \"No tests yet\" && exit 0"
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "ES2015",
|
|
4
|
+
"module": "ESNext",
|
|
5
|
+
"declaration": true,
|
|
6
|
+
"outDir": "dist",
|
|
7
|
+
"rootDir": "src",
|
|
8
|
+
"moduleResolution": "Node",
|
|
9
|
+
"esModuleInterop": true,
|
|
10
|
+
"forceConsistentCasingInFileNames": true,
|
|
11
|
+
"strict": true,
|
|
12
|
+
"skipLibCheck": true
|
|
13
|
+
},
|
|
14
|
+
"include": ["src"]
|
|
15
|
+
}
|