@openbox/shared-types 0.2.25 → 0.2.27

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.
@@ -1,4 +1,5 @@
1
- export interface AuthAuthProcessLoginRequest {
1
+ export type AuthAuthProcessLoginRequest = {
2
2
  email: string;
3
3
  password: string;
4
- }
4
+ remember?: boolean;
5
+ };
@@ -1,7 +1,7 @@
1
- export interface JWTResponse {
1
+ export type JWTResponse = {
2
2
  access_token: string;
3
3
  refresh_token: string;
4
- }
5
- export interface AuthAuthProcessLoginResponse {
4
+ };
5
+ export type AuthAuthProcessLoginResponse = {
6
6
  data: JWTResponse;
7
- }
7
+ };
@@ -1,3 +1,3 @@
1
- export interface AuthAuthProcessRefreshRequest {
1
+ export type AuthAuthProcessRefreshRequest = {
2
2
  refreshToken: string;
3
- }
3
+ };
@@ -11,7 +11,7 @@ export type Services = {
11
11
  incRenta5?: boolean;
12
12
  sellingType: ServicesSellingTypes;
13
13
  };
14
- export type ServicesRequest = Omit<Services, 'id' | 'isUsed' | 'sellingType'> & {
14
+ export type ServicesRequest = Omit<Services, 'id' | 'active' | 'isUsed' | 'sellingType'> & {
15
15
  sellingType: number;
16
16
  };
17
17
  export type ServicesResponse = Services;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.2.25",
3
+ "version": "0.2.27",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
@@ -1,4 +1,5 @@
1
- export interface AuthAuthProcessLoginRequest {
1
+ export type AuthAuthProcessLoginRequest = {
2
2
  email: string
3
3
  password: string
4
+ remember?: boolean
4
5
  }
@@ -1,8 +1,8 @@
1
- export interface JWTResponse {
1
+ export type JWTResponse = {
2
2
  access_token: string
3
3
  refresh_token: string
4
4
  }
5
5
 
6
- export interface AuthAuthProcessLoginResponse {
6
+ export type AuthAuthProcessLoginResponse = {
7
7
  data: JWTResponse
8
8
  }
@@ -1,3 +1,3 @@
1
- export interface AuthAuthProcessRefreshRequest {
1
+ export type AuthAuthProcessRefreshRequest = {
2
2
  refreshToken: string
3
3
  }
@@ -13,7 +13,7 @@ export type Services = {
13
13
  sellingType: ServicesSellingTypes
14
14
  }
15
15
 
16
- export type ServicesRequest = Omit<Services, 'id' | 'isUsed' | 'sellingType'> & {
16
+ export type ServicesRequest = Omit<Services, 'id' | 'active' | 'isUsed' | 'sellingType'> & {
17
17
  sellingType: number
18
18
  }
19
19
  export type ServicesResponse = Services