@exclusive-website/types 1.7.5 → 1.7.7

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.
@@ -93,7 +93,7 @@ export declare enum UserRole {
93
93
  CLIENT = "CLIENT"
94
94
  }
95
95
  export declare enum Practise {
96
- MASSAGE = "MASSAGE",
96
+ PMASSAGE = "PMASSAGE",
97
97
  HANDJOB = "HANDJOB",
98
98
  STRIPTEASE = "STRIPTEASE",
99
99
  MUTUAL_MASSAGE = "MUTUAL_MASSAGE",
@@ -106,7 +106,7 @@ export declare enum Practise {
106
106
  ROLEPLAY = "ROLEPLAY",
107
107
  EROTIC_MASSAGE = "EROTIC_MASSAGE",
108
108
  COMPANY = "COMPANY",
109
- ESCORT = "ESCORT",
109
+ PESCORT = "PESCORT",
110
110
  OTHER = "OTHER"
111
111
  }
112
112
  export declare enum OtherPractise {
@@ -125,7 +125,7 @@ var UserRole;
125
125
  // PRACTISE
126
126
  var Practise;
127
127
  (function (Practise) {
128
- Practise["MASSAGE"] = "MASSAGE";
128
+ Practise["PMASSAGE"] = "PMASSAGE";
129
129
  Practise["HANDJOB"] = "HANDJOB";
130
130
  Practise["STRIPTEASE"] = "STRIPTEASE";
131
131
  Practise["MUTUAL_MASSAGE"] = "MUTUAL_MASSAGE";
@@ -138,7 +138,7 @@ var Practise;
138
138
  Practise["ROLEPLAY"] = "ROLEPLAY";
139
139
  Practise["EROTIC_MASSAGE"] = "EROTIC_MASSAGE";
140
140
  Practise["COMPANY"] = "COMPANY";
141
- Practise["ESCORT"] = "ESCORT";
141
+ Practise["PESCORT"] = "PESCORT";
142
142
  Practise["OTHER"] = "OTHER";
143
143
  })(Practise = exports.Practise || (exports.Practise = {}));
144
144
  // OTHER PRACTISE
package/dist/types.d.ts CHANGED
@@ -39,15 +39,6 @@ export interface DaySchedule {
39
39
  workingHoursFrom?: string;
40
40
  workingHoursTo?: string;
41
41
  }
42
- export interface ScheduleDTO {
43
- monday: DaySchedule;
44
- tuesday: DaySchedule;
45
- wednesday: DaySchedule;
46
- thursday: DaySchedule;
47
- friday: DaySchedule;
48
- saturday: DaySchedule;
49
- sunday: DaySchedule;
50
- }
51
42
  export interface ListingQueryReadDto {
52
43
  page: number;
53
44
  perPage: number;
@@ -104,7 +95,7 @@ export interface ModelReadDto {
104
95
  phoneNumber: string;
105
96
  isClir: boolean;
106
97
  contactMethods: ContactMethod[];
107
- schedule: ScheduleDTO;
98
+ schedule: DaySchedule;
108
99
  seenCounter: number;
109
100
  created: Date;
110
101
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exclusive-website/types",
3
- "version": "1.7.5",
3
+ "version": "1.7.7",
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",
@@ -121,7 +121,7 @@ export enum UserRole {
121
121
 
122
122
  // PRACTISE
123
123
  export enum Practise {
124
- MASSAGE = "MASSAGE",
124
+ PMASSAGE = "PMASSAGE",
125
125
  HANDJOB = "HANDJOB",
126
126
  STRIPTEASE = "STRIPTEASE",
127
127
  MUTUAL_MASSAGE = "MUTUAL_MASSAGE",
@@ -134,7 +134,7 @@ export enum Practise {
134
134
  ROLEPLAY = "ROLEPLAY",
135
135
  EROTIC_MASSAGE = "EROTIC_MASSAGE",
136
136
  COMPANY = "COMPANY",
137
- ESCORT = "ESCORT",
137
+ PESCORT = "PESCORT",
138
138
  OTHER = "OTHER",
139
139
  }
140
140
 
package/src/types.ts CHANGED
@@ -61,16 +61,6 @@ export interface DaySchedule {
61
61
  workingHoursTo?: string;
62
62
  }
63
63
 
64
- export interface ScheduleDTO {
65
- monday: DaySchedule;
66
- tuesday: DaySchedule;
67
- wednesday: DaySchedule;
68
- thursday: DaySchedule;
69
- friday: DaySchedule;
70
- saturday: DaySchedule;
71
- sunday: DaySchedule;
72
- }
73
-
74
64
  export interface ListingQueryReadDto {
75
65
  page: number;
76
66
  perPage: number;
@@ -128,11 +118,10 @@ export interface ModelReadDto {
128
118
  description: string;
129
119
  practice: Practise[];
130
120
  otherService: OtherPractise[];
131
-
132
121
  phoneNumber: string;
133
122
  isClir: boolean;
134
123
  contactMethods: ContactMethod[];
135
- schedule: ScheduleDTO;
124
+ schedule: DaySchedule;
136
125
  seenCounter: number;
137
126
  created: Date;
138
127
  }