@openbox/shared-types 0.1.60 → 0.1.61

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/lib/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { CreateServiceRequest, CreateServiceResponse, DeleteServiceResponse, DeleteServicesRequest, DeleteServicesResponse, GetServiceResponse, GetServicesRequest, GetServicesResponse, IManyServices, IServiceSellingType, ISingleService, UpdateServiceRequest, UpdateServiceResponse, UpdateServicesStatusRequest, UpdateServicesStatusResponse, UpdateServiceStatusRequest, UpdateServiceStatusResponse } from './services';
2
- export { IManyServices, GetServicesRequest, GetServicesResponse, ISingleService, IServiceSellingType, GetServiceResponse, CreateServiceRequest, CreateServiceResponse, DeleteServiceResponse, DeleteServicesRequest, DeleteServicesResponse, UpdateServicesStatusRequest, UpdateServicesStatusResponse, UpdateServiceStatusRequest, UpdateServiceStatusResponse, UpdateServiceRequest, UpdateServiceResponse, };
1
+ import { CreateServiceRequest, CreateServiceResponse, DeleteServiceResponse, DeleteServicesRequest, DeleteServicesResponse, GetServiceResponse, GetServicesRequest, GetServicesResponse, ManyServices, ServiceSellingType, SingleService, UpdateServiceRequest, UpdateServiceResponse, UpdateServicesStatusRequest, UpdateServicesStatusResponse, UpdateServiceStatusRequest, UpdateServiceStatusResponse } from './services';
2
+ export { ManyServices, GetServicesRequest, GetServicesResponse, SingleService, ServiceSellingType, GetServiceResponse, CreateServiceRequest, CreateServiceResponse, DeleteServiceResponse, DeleteServicesRequest, DeleteServicesResponse, UpdateServicesStatusRequest, UpdateServicesStatusResponse, UpdateServiceStatusRequest, UpdateServiceStatusResponse, UpdateServiceRequest, UpdateServiceResponse, };
@@ -1,9 +1,9 @@
1
- export interface IManyServices {
1
+ export interface ManyServices {
2
2
  id: string;
3
3
  name: string;
4
4
  }
5
5
  export interface GetServicesResponse {
6
- data: IManyServices[];
6
+ data: ManyServices[];
7
7
  count: number;
8
8
  page: number;
9
9
  limit: number;
@@ -1,8 +1,8 @@
1
- export interface IServiceSellingType {
1
+ export interface ServiceSellingType {
2
2
  id: number;
3
3
  name: string;
4
4
  }
5
- export interface ISingleService {
5
+ export interface SingleService {
6
6
  id: string;
7
7
  name: string;
8
8
  description: string;
@@ -12,9 +12,9 @@ export interface ISingleService {
12
12
  isUsed: boolean;
13
13
  incRenta10: boolean;
14
14
  incRenta5: boolean;
15
- sellingType: IServiceSellingType;
15
+ sellingType: ServiceSellingType;
16
16
  createdAt: string;
17
17
  }
18
18
  export interface GetServiceResponse {
19
- data: ISingleService;
19
+ data: SingleService;
20
20
  }
@@ -4,12 +4,12 @@ import { DeleteServicesRequest } from './DeleteMany/Request';
4
4
  import { DeleteServicesResponse } from './DeleteMany/Response';
5
5
  import { DeleteServiceResponse } from './DeleteSingle/Response';
6
6
  import { GetServicesRequest } from './GetMany/Request';
7
- import { GetServicesResponse, IManyServices } from './GetMany/Response';
8
- import { GetServiceResponse, IServiceSellingType, ISingleService } from './GetSingle/Response';
7
+ import { GetServicesResponse, ManyServices } from './GetMany/Response';
8
+ import { GetServiceResponse, ServiceSellingType, SingleService } from './GetSingle/Response';
9
9
  import { UpdateServicesStatusRequest } from './UpdateManyStatuses/Request';
10
10
  import { UpdateServicesStatusResponse } from './UpdateManyStatuses/Response';
11
11
  import { UpdateServiceRequest } from './UpdateSingle/Request';
12
12
  import { UpdateServiceResponse } from './UpdateSingle/Response';
13
13
  import { UpdateServiceStatusRequest } from './UpdateSingleStatus/Request';
14
14
  import { UpdateServiceStatusResponse } from './UpdateSingleStatus/Response';
15
- export { IManyServices, GetServicesRequest, GetServicesResponse, ISingleService, IServiceSellingType, GetServiceResponse, CreateServiceRequest, CreateServiceResponse, DeleteServiceResponse, DeleteServicesRequest, DeleteServicesResponse, UpdateServicesStatusRequest, UpdateServicesStatusResponse, UpdateServiceStatusRequest, UpdateServiceStatusResponse, UpdateServiceRequest, UpdateServiceResponse, };
15
+ export { ManyServices, GetServicesRequest, GetServicesResponse, SingleService, ServiceSellingType, GetServiceResponse, CreateServiceRequest, CreateServiceResponse, DeleteServiceResponse, DeleteServicesRequest, DeleteServicesResponse, UpdateServicesStatusRequest, UpdateServicesStatusResponse, UpdateServiceStatusRequest, UpdateServiceStatusResponse, UpdateServiceRequest, UpdateServiceResponse, };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.1.60",
3
+ "version": "0.1.61",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
package/src/index.ts CHANGED
@@ -7,9 +7,9 @@ import {
7
7
  GetServiceResponse,
8
8
  GetServicesRequest,
9
9
  GetServicesResponse,
10
- IManyServices,
11
- IServiceSellingType,
12
- ISingleService,
10
+ ManyServices,
11
+ ServiceSellingType,
12
+ SingleService,
13
13
  UpdateServiceRequest,
14
14
  UpdateServiceResponse,
15
15
  UpdateServicesStatusRequest,
@@ -19,11 +19,11 @@ import {
19
19
  } from './services'
20
20
 
21
21
  export {
22
- IManyServices,
22
+ ManyServices,
23
23
  GetServicesRequest,
24
24
  GetServicesResponse,
25
- ISingleService,
26
- IServiceSellingType,
25
+ SingleService,
26
+ ServiceSellingType,
27
27
  GetServiceResponse,
28
28
  CreateServiceRequest,
29
29
  CreateServiceResponse,
@@ -1,10 +1,10 @@
1
- export interface IManyServices {
1
+ export interface ManyServices {
2
2
  id: string
3
3
  name: string
4
4
  }
5
5
 
6
6
  export interface GetServicesResponse {
7
- data: IManyServices[]
7
+ data: ManyServices[]
8
8
  count: number
9
9
  page: number
10
10
  limit: number
@@ -1,9 +1,9 @@
1
- export interface IServiceSellingType {
1
+ export interface ServiceSellingType {
2
2
  id: number
3
3
  name: string
4
4
  }
5
5
 
6
- export interface ISingleService {
6
+ export interface SingleService {
7
7
  id: string
8
8
  name: string
9
9
  description: string
@@ -13,10 +13,10 @@ export interface ISingleService {
13
13
  isUsed: boolean
14
14
  incRenta10: boolean
15
15
  incRenta5: boolean
16
- sellingType: IServiceSellingType
16
+ sellingType: ServiceSellingType
17
17
  createdAt: string
18
18
  }
19
19
 
20
20
  export interface GetServiceResponse {
21
- data: ISingleService
21
+ data: SingleService
22
22
  }
@@ -4,11 +4,11 @@ import { DeleteServicesRequest } from './DeleteMany/Request'
4
4
  import { DeleteServicesResponse } from './DeleteMany/Response'
5
5
  import { DeleteServiceResponse } from './DeleteSingle/Response'
6
6
  import { GetServicesRequest } from './GetMany/Request'
7
- import { GetServicesResponse, IManyServices } from './GetMany/Response'
7
+ import { GetServicesResponse, ManyServices } from './GetMany/Response'
8
8
  import {
9
9
  GetServiceResponse,
10
- IServiceSellingType,
11
- ISingleService,
10
+ ServiceSellingType,
11
+ SingleService,
12
12
  } from './GetSingle/Response'
13
13
  import { UpdateServicesStatusRequest } from './UpdateManyStatuses/Request'
14
14
  import { UpdateServicesStatusResponse } from './UpdateManyStatuses/Response'
@@ -18,11 +18,11 @@ import { UpdateServiceStatusRequest } from './UpdateSingleStatus/Request'
18
18
  import { UpdateServiceStatusResponse } from './UpdateSingleStatus/Response'
19
19
 
20
20
  export {
21
- IManyServices,
21
+ ManyServices,
22
22
  GetServicesRequest,
23
23
  GetServicesResponse,
24
- ISingleService,
25
- IServiceSellingType,
24
+ SingleService,
25
+ ServiceSellingType,
26
26
  GetServiceResponse,
27
27
  CreateServiceRequest,
28
28
  CreateServiceResponse,