@exclusive-website/types 2.0.2 → 2.1.3

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/types.d.ts CHANGED
@@ -174,6 +174,15 @@ export interface LoginUserDto {
174
174
  export interface JwtDto {
175
175
  token: string;
176
176
  }
177
+ export interface OtpDto {
178
+ email: string;
179
+ code: string;
180
+ }
181
+ export interface ResetPasswordDto {
182
+ password: string;
183
+ email: string;
184
+ code: string;
185
+ }
177
186
  export interface TimeRange {
178
187
  from: string;
179
188
  to: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exclusive-website/types",
3
- "version": "2.0.2",
3
+ "version": "2.1.3",
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",
package/src/types.ts CHANGED
@@ -1,7 +1,5 @@
1
1
  import {
2
- AgeRange,
3
2
  Availability,
4
- BreastSize,
5
3
  ContactMethod,
6
4
  DayOfWeek,
7
5
  DayStatus,
@@ -9,15 +7,14 @@ import {
9
7
  HairColor,
10
8
  HairLength,
11
9
  Language,
12
- City,
13
10
  NationalityOption,
14
11
  OtherPractise,
15
- Practise, Region,
12
+ Practise,
16
13
  ServicesFor,
17
14
  ServiceType,
18
15
  SexualOrientation,
19
16
  ShaveStatus,
20
- UserRole, Country,
17
+ UserRole,
21
18
  } from "./filterEnums";
22
19
 
23
20
  export interface ModelWriteDto {
@@ -228,6 +225,17 @@ export interface JwtDto {
228
225
  token: string;
229
226
  }
230
227
 
228
+ export interface OtpDto {
229
+ email: string;
230
+ code: string;
231
+ }
232
+
233
+ export interface ResetPasswordDto {
234
+ password: string;
235
+ email: string;
236
+ code: string;
237
+ }
238
+
231
239
 
232
240
 
233
241