@exclusive-website/types 2.2.1 → 2.2.2
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.d.ts +11 -0
- package/dist/filterEnums.js +14 -1
- package/dist/types.d.ts +12 -49
- package/package.json +1 -1
- package/src/filterEnums.ts +13 -0
- package/src/types.ts +13 -77
|
@@ -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.d.ts
CHANGED
|
@@ -225,3 +225,14 @@ export declare enum Availability {
|
|
|
225
225
|
AVAILABLE = "AVAILABLE",
|
|
226
226
|
UNAVAILABLE = "UNAVAILABLE"
|
|
227
227
|
}
|
|
228
|
+
export declare enum Currency {
|
|
229
|
+
EUR = "EUR",
|
|
230
|
+
CZK = "CZK",
|
|
231
|
+
HUF = "HUF",
|
|
232
|
+
PLN = "PLN"
|
|
233
|
+
}
|
|
234
|
+
export declare enum PricingCategory {
|
|
235
|
+
PUBLISHED = "PUBLISHED",
|
|
236
|
+
FEATURED_MAIN_PAGE = "FEATURED_MAIN_PAGE",
|
|
237
|
+
FEATURED_REGION = "FEATURED_REGION"
|
|
238
|
+
}
|
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.Country = exports.ServiceType = exports.ExperienceLevel = exports.SexualOrientation = exports.DayStatus = void 0;
|
|
3
|
+
exports.PricingCategory = exports.Currency = 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) {
|
|
@@ -267,3 +267,16 @@ var Availability;
|
|
|
267
267
|
Availability["AVAILABLE"] = "AVAILABLE";
|
|
268
268
|
Availability["UNAVAILABLE"] = "UNAVAILABLE";
|
|
269
269
|
})(Availability = exports.Availability || (exports.Availability = {}));
|
|
270
|
+
var Currency;
|
|
271
|
+
(function (Currency) {
|
|
272
|
+
Currency["EUR"] = "EUR";
|
|
273
|
+
Currency["CZK"] = "CZK";
|
|
274
|
+
Currency["HUF"] = "HUF";
|
|
275
|
+
Currency["PLN"] = "PLN";
|
|
276
|
+
})(Currency = exports.Currency || (exports.Currency = {}));
|
|
277
|
+
var PricingCategory;
|
|
278
|
+
(function (PricingCategory) {
|
|
279
|
+
PricingCategory["PUBLISHED"] = "PUBLISHED";
|
|
280
|
+
PricingCategory["FEATURED_MAIN_PAGE"] = "FEATURED_MAIN_PAGE";
|
|
281
|
+
PricingCategory["FEATURED_REGION"] = "FEATURED_REGION";
|
|
282
|
+
})(PricingCategory = exports.PricingCategory || (exports.PricingCategory = {}));
|
package/dist/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Availability, ContactMethod, DayOfWeek, DayStatus, ExperienceLevel, HairColor, HairLength, Language, NationalityOption, OtherPractise, Practise, ServicesFor, ServiceType, SexualOrientation, ShaveStatus, UserRole } from "./filterEnums";
|
|
1
|
+
import { Availability, ContactMethod, Currency, DayOfWeek, DayStatus, ExperienceLevel, HairColor, HairLength, Language, NationalityOption, OtherPractise, Practise, PricingCategory, ServicesFor, ServiceType, SexualOrientation, ShaveStatus, UserRole } from "./filterEnums";
|
|
2
2
|
export interface ModelWriteDto {
|
|
3
3
|
nickname: string;
|
|
4
4
|
phoneNumber: string;
|
|
@@ -186,54 +186,17 @@ export interface ResetPasswordDto {
|
|
|
186
186
|
email: string;
|
|
187
187
|
code: string;
|
|
188
188
|
}
|
|
189
|
-
export interface
|
|
190
|
-
|
|
191
|
-
to: string;
|
|
189
|
+
export interface PricingListingReadListDto {
|
|
190
|
+
pricingListings: PricingListingReadDto[];
|
|
192
191
|
}
|
|
193
|
-
export interface
|
|
194
|
-
id:
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
url: string;
|
|
199
|
-
alt: string;
|
|
200
|
-
width: number;
|
|
201
|
-
height: number;
|
|
202
|
-
}[];
|
|
203
|
-
}
|
|
204
|
-
export interface ChargingOption {
|
|
205
|
-
cost: number;
|
|
206
|
-
currency: SupportedCurrency;
|
|
207
|
-
duration: string;
|
|
208
|
-
id?: string;
|
|
209
|
-
}
|
|
210
|
-
export interface FreeOfChargeOption {
|
|
211
|
-
amount: string;
|
|
212
|
-
}
|
|
213
|
-
export interface InfoPoint {
|
|
214
|
-
point: string;
|
|
215
|
-
}
|
|
216
|
-
export interface ListingPricingDTO {
|
|
217
|
-
id: string;
|
|
218
|
-
title: string;
|
|
219
|
-
description: string;
|
|
220
|
-
chargingOptions: ChargingOption[];
|
|
221
|
-
infoPoints: InfoPoint[];
|
|
192
|
+
export interface PricingListingReadDto {
|
|
193
|
+
id: number;
|
|
194
|
+
durationDays: number;
|
|
195
|
+
category: PricingCategory;
|
|
196
|
+
prices: PriceReadDto[];
|
|
222
197
|
}
|
|
223
|
-
export interface
|
|
224
|
-
id:
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
displayFreeOfChargeOption: boolean;
|
|
228
|
-
freeOfChargeOption?: FreeOfChargeOption;
|
|
229
|
-
generalTopped: {
|
|
230
|
-
title: string;
|
|
231
|
-
description: string;
|
|
232
|
-
chargingOptions: ChargingOption[];
|
|
233
|
-
};
|
|
234
|
-
countyTopped: {
|
|
235
|
-
title: string;
|
|
236
|
-
description: string;
|
|
237
|
-
chargingOptions: ChargingOption[];
|
|
238
|
-
};
|
|
198
|
+
export interface PriceReadDto {
|
|
199
|
+
id: number;
|
|
200
|
+
amount: number;
|
|
201
|
+
currency: Currency;
|
|
239
202
|
}
|
package/package.json
CHANGED
package/src/filterEnums.ts
CHANGED
|
@@ -270,4 +270,17 @@ export enum HairLength {
|
|
|
270
270
|
export enum Availability {
|
|
271
271
|
AVAILABLE = "AVAILABLE",
|
|
272
272
|
UNAVAILABLE = "UNAVAILABLE",
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
export enum Currency {
|
|
276
|
+
EUR = "EUR",
|
|
277
|
+
CZK = "CZK",
|
|
278
|
+
HUF = "HUF",
|
|
279
|
+
PLN = "PLN",
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
export enum PricingCategory {
|
|
283
|
+
PUBLISHED = "PUBLISHED",
|
|
284
|
+
FEATURED_MAIN_PAGE = "FEATURED_MAIN_PAGE",
|
|
285
|
+
FEATURED_REGION = "FEATURED_REGION",
|
|
273
286
|
}
|
package/src/types.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Availability,
|
|
3
|
-
ContactMethod,
|
|
3
|
+
ContactMethod, Currency,
|
|
4
4
|
DayOfWeek,
|
|
5
5
|
DayStatus,
|
|
6
6
|
ExperienceLevel,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
Language,
|
|
10
10
|
NationalityOption,
|
|
11
11
|
OtherPractise,
|
|
12
|
-
Practise,
|
|
12
|
+
Practise, PricingCategory,
|
|
13
13
|
ServicesFor,
|
|
14
14
|
ServiceType,
|
|
15
15
|
SexualOrientation,
|
|
@@ -239,83 +239,19 @@ export interface ResetPasswordDto {
|
|
|
239
239
|
code: string;
|
|
240
240
|
}
|
|
241
241
|
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
//SCHEDULE
|
|
250
|
-
export interface TimeRange {
|
|
251
|
-
from: string; // Format: "HH:mm"
|
|
252
|
-
to: string; // Format: "HH:mm"
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
//PAYMENT
|
|
256
|
-
export interface PaymentOptionDTO {
|
|
257
|
-
id: string;
|
|
258
|
-
title: string;
|
|
259
|
-
description: string;
|
|
260
|
-
images?: {
|
|
261
|
-
url: string;
|
|
262
|
-
alt: string;
|
|
263
|
-
width: number;
|
|
264
|
-
height: number;
|
|
265
|
-
}[];
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
export interface ChargingOption {
|
|
277
|
-
cost: number;
|
|
278
|
-
currency: SupportedCurrency;
|
|
279
|
-
duration: string;
|
|
280
|
-
id?: string; //id for radio
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
export interface FreeOfChargeOption {
|
|
284
|
-
amount: string; // "bez"
|
|
242
|
+
export interface PricingListingReadListDto {
|
|
243
|
+
pricingListings: PricingListingReadDto[];
|
|
285
244
|
}
|
|
286
245
|
|
|
287
|
-
export interface
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
export interface ListingPricingDTO {
|
|
298
|
-
id: string;
|
|
299
|
-
title: string;
|
|
300
|
-
description: string;
|
|
301
|
-
chargingOptions: ChargingOption[];
|
|
302
|
-
infoPoints: InfoPoint[];
|
|
246
|
+
export interface PricingListingReadDto {
|
|
247
|
+
id: number;
|
|
248
|
+
durationDays: number;
|
|
249
|
+
category: PricingCategory;
|
|
250
|
+
prices: PriceReadDto[];
|
|
303
251
|
}
|
|
304
252
|
|
|
305
|
-
export interface
|
|
306
|
-
id:
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
displayFreeOfChargeOption: boolean;
|
|
310
|
-
freeOfChargeOption?: FreeOfChargeOption;
|
|
311
|
-
generalTopped: {
|
|
312
|
-
title: string;
|
|
313
|
-
description: string;
|
|
314
|
-
chargingOptions: ChargingOption[];
|
|
315
|
-
};
|
|
316
|
-
countyTopped: {
|
|
317
|
-
title: string;
|
|
318
|
-
description: string;
|
|
319
|
-
chargingOptions: ChargingOption[];
|
|
320
|
-
};
|
|
253
|
+
export interface PriceReadDto {
|
|
254
|
+
id: number;
|
|
255
|
+
amount: number;
|
|
256
|
+
currency: Currency;
|
|
321
257
|
}
|