@exclusive-website/types 1.2.9 → 1.2.10

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.
Files changed (2) hide show
  1. package/dist/types.d.ts +40 -37
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { AvailableService, BreastSize, ContactMethod, DayStatus, ExperienceLevel, HairColor, HairLength, Language, NationalityOption, OtherOption, Practice, ServicesFor, ServiceType, SexualOrientation, ShaveStatus, SpecialService, Location } from "./filterEnums";
1
+ import { AvailableService, BreastSize, ContactMethod, DayStatus, ExperienceLevel, HairColor, HairLength, Language, NationalityOption, OtherOption, Practice, ServicesFor, ServiceType, SexualOrientation, ShaveStatus, SpecialService, Location, AgeRange } from "./filterEnums";
2
2
  export interface ModelDTO {
3
3
  id: number;
4
4
  media: {
@@ -46,6 +46,45 @@ export interface ModelDTO {
46
46
  };
47
47
  schedule: ScheduleDTO;
48
48
  }
49
+ export interface ListingDTO {
50
+ id: string;
51
+ contact: ContactDTO;
52
+ additionalInfo: AdditionalInfoDTO;
53
+ about: AboutDTO;
54
+ languages: Language[];
55
+ services: Record<AvailableService, boolean>;
56
+ specialServices: Record<SpecialService, boolean>;
57
+ images: string[];
58
+ videos: string[];
59
+ }
60
+ export interface ContactDTO {
61
+ name: string;
62
+ phone: string;
63
+ location: Location;
64
+ address: string;
65
+ methods: Record<ContactMethod, boolean>;
66
+ }
67
+ export interface AdditionalInfoDTO {
68
+ nationality: NationalityOption;
69
+ experience: ExperienceLevel;
70
+ age: AgeRange;
71
+ services: Record<ServiceType, boolean>;
72
+ offersTo: Record<ServicesFor, boolean>;
73
+ }
74
+ export interface AboutDTO {
75
+ height: number | null;
76
+ weight: number | null;
77
+ shoeSize: number | null;
78
+ breastSize: BreastSize;
79
+ implants: boolean;
80
+ pubicStyle: ShaveStatus;
81
+ orientation: SexualOrientation;
82
+ smoker: boolean;
83
+ piercing: boolean;
84
+ tattoo: boolean;
85
+ hairColor: HairColor;
86
+ hairLength: HairLength;
87
+ }
49
88
  export type CardDTO = Pick<ModelDTO, "id" | "media" | "identity" | "location" | "physical" | "listing">;
50
89
  export interface ModelListingDTO {
51
90
  id: string;
@@ -94,42 +133,6 @@ export interface ScheduleDTO {
94
133
  saturday: DaySchedule;
95
134
  sunday: DaySchedule;
96
135
  }
97
- export interface ChargingOption {
98
- cost: number;
99
- currency: SupportedCurrency;
100
- duration: string;
101
- id?: string;
102
- }
103
- export interface FreeOfChargeOption {
104
- amount: string;
105
- }
106
- export interface InfoPoint {
107
- point: string;
108
- }
109
- export interface ListingPricingDTO {
110
- id: string;
111
- title: string;
112
- description: string;
113
- chargingOptions: ChargingOption[];
114
- infoPoints: InfoPoint[];
115
- }
116
- export interface ToppedPricingDTO {
117
- id: string;
118
- title: string;
119
- description: string;
120
- displayFreeOfChargeOption: boolean;
121
- freeOfChargeOption?: FreeOfChargeOption;
122
- generalTopped: {
123
- title: string;
124
- description: string;
125
- chargingOptions: ChargingOption[];
126
- };
127
- countyTopped: {
128
- title: string;
129
- description: string;
130
- chargingOptions: ChargingOption[];
131
- };
132
- }
133
136
  export interface PaymentOptionDTO {
134
137
  id: string;
135
138
  title: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exclusive-website/types",
3
- "version": "1.2.9",
3
+ "version": "1.2.10",
4
4
  "description": "A collection of shared types (DTOs and DBEs) for the organization",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",