@openbox/shared-types 0.1.57 → 0.1.59

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, UpdateServicesStatusRequest } from './services';
2
- export { IManyServices, GetServicesRequest, GetServicesResponse, ISingleService, IServiceSellingType, GetServiceResponse, CreateServiceRequest, CreateServiceResponse, DeleteServiceResponse, DeleteServicesRequest, DeleteServicesResponse, UpdateServicesStatusRequest, };
1
+ import { CreateServiceRequest, CreateServiceResponse, DeleteServiceResponse, DeleteServicesRequest, DeleteServicesResponse, GetServiceResponse, GetServicesRequest, GetServicesResponse, IManyServices, IServiceSellingType, ISingleService, UpdateServicesStatusRequest, UpdateServicesStatusResponse, UpdateServiceStatusRequest, UpdateServiceStatusResponse } from './services';
2
+ export { IManyServices, GetServicesRequest, GetServicesResponse, ISingleService, IServiceSellingType, GetServiceResponse, CreateServiceRequest, CreateServiceResponse, DeleteServiceResponse, DeleteServicesRequest, DeleteServicesResponse, UpdateServicesStatusRequest, UpdateServicesStatusResponse, UpdateServiceStatusRequest, UpdateServiceStatusResponse, };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../src/services/UpdateManyStatuses/Request.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export interface UpdateServicesStatusResponse {
2
+ message: string;
3
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=Response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../src/services/UpdateManyStatuses/Response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export interface UpdateServiceStatusRequest {
2
+ active: boolean;
3
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=Request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../src/services/UpdateSingleStatus/Request.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export interface UpdateServiceStatusResponse {
2
+ message: string;
3
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=Response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../src/services/UpdateSingleStatus/Response.ts"],"names":[],"mappings":""}
@@ -6,5 +6,8 @@ import { DeleteServiceResponse } from './DeleteSingle/Response';
6
6
  import { GetServicesRequest } from './GetMany/Request';
7
7
  import { GetServicesResponse, IManyServices } from './GetMany/Response';
8
8
  import { GetServiceResponse, IServiceSellingType, ISingleService } from './GetSingle/Response';
9
- import { UpdateServicesStatusRequest } from './UpdateManyStatus/Request';
10
- export { IManyServices, GetServicesRequest, GetServicesResponse, ISingleService, IServiceSellingType, GetServiceResponse, CreateServiceRequest, CreateServiceResponse, DeleteServiceResponse, DeleteServicesRequest, DeleteServicesResponse, UpdateServicesStatusRequest, };
9
+ import { UpdateServicesStatusRequest } from './UpdateManyStatuses/Request';
10
+ import { UpdateServicesStatusResponse } from './UpdateManyStatuses/Response';
11
+ import { UpdateServiceStatusRequest } from './UpdateSingleStatus/Request';
12
+ import { UpdateServiceStatusResponse } from './UpdateSingleStatus/Response';
13
+ export { IManyServices, GetServicesRequest, GetServicesResponse, ISingleService, IServiceSellingType, GetServiceResponse, CreateServiceRequest, CreateServiceResponse, DeleteServiceResponse, DeleteServicesRequest, DeleteServicesResponse, UpdateServicesStatusRequest, UpdateServicesStatusResponse, UpdateServiceStatusRequest, UpdateServiceStatusResponse, };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.1.57",
3
+ "version": "0.1.59",
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
@@ -11,6 +11,9 @@ import {
11
11
  IServiceSellingType,
12
12
  ISingleService,
13
13
  UpdateServicesStatusRequest,
14
+ UpdateServicesStatusResponse,
15
+ UpdateServiceStatusRequest,
16
+ UpdateServiceStatusResponse,
14
17
  } from './services'
15
18
 
16
19
  export {
@@ -26,4 +29,7 @@ export {
26
29
  DeleteServicesRequest,
27
30
  DeleteServicesResponse,
28
31
  UpdateServicesStatusRequest,
32
+ UpdateServicesStatusResponse,
33
+ UpdateServiceStatusRequest,
34
+ UpdateServiceStatusResponse,
29
35
  }
@@ -0,0 +1,3 @@
1
+ export interface UpdateServicesStatusResponse {
2
+ message: string
3
+ }
@@ -0,0 +1,3 @@
1
+ export interface UpdateServiceStatusRequest {
2
+ active: boolean
3
+ }
@@ -0,0 +1,3 @@
1
+ export interface UpdateServiceStatusResponse {
2
+ message: string
3
+ }
@@ -10,7 +10,10 @@ import {
10
10
  IServiceSellingType,
11
11
  ISingleService,
12
12
  } from './GetSingle/Response'
13
- import { UpdateServicesStatusRequest } from './UpdateManyStatus/Request'
13
+ import { UpdateServicesStatusRequest } from './UpdateManyStatuses/Request'
14
+ import { UpdateServicesStatusResponse } from './UpdateManyStatuses/Response'
15
+ import { UpdateServiceStatusRequest } from './UpdateSingleStatus/Request'
16
+ import { UpdateServiceStatusResponse } from './UpdateSingleStatus/Response'
14
17
 
15
18
  export {
16
19
  IManyServices,
@@ -25,4 +28,7 @@ export {
25
28
  DeleteServicesRequest,
26
29
  DeleteServicesResponse,
27
30
  UpdateServicesStatusRequest,
31
+ UpdateServicesStatusResponse,
32
+ UpdateServiceStatusRequest,
33
+ UpdateServiceStatusResponse,
28
34
  }
@@ -1 +0,0 @@
1
- {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../src/services/UpdateManyStatus/Request.ts"],"names":[],"mappings":""}