@openbox/shared-types 0.1.55 → 0.1.56

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, GetServiceResponse, GetServicesRequest, GetServicesResponse, IManyServices, IServiceSellingType, ISingleService } from './services';
2
- export { IManyServices, GetServicesRequest, GetServicesResponse, ISingleService, IServiceSellingType, GetServiceResponse, CreateServiceRequest, CreateServiceResponse, };
1
+ import { CreateServiceRequest, CreateServiceResponse, DeleteServiceResponse, DeleteServicesRequest, DeleteServicesResponse, GetServiceResponse, GetServicesRequest, GetServicesResponse, IManyServices, IServiceSellingType, ISingleService } from './services';
2
+ export { IManyServices, GetServicesRequest, GetServicesResponse, ISingleService, IServiceSellingType, GetServiceResponse, CreateServiceRequest, CreateServiceResponse, DeleteServiceResponse, DeleteServicesRequest, DeleteServicesResponse, };
@@ -0,0 +1,3 @@
1
+ export interface DeleteServicesRequest {
2
+ ids: string[];
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/DeleteMany/Request.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export interface DeleteServicesResponse {
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/DeleteMany/Response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export interface DeleteServiceResponse {
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/DeleteSingle/Response.ts"],"names":[],"mappings":""}
@@ -1,6 +1,9 @@
1
1
  import { CreateServiceRequest } from './CreateSingle/Request';
2
2
  import { CreateServiceResponse } from './CreateSingle/Response';
3
+ import { DeleteServicesRequest } from './DeleteMany/Request';
4
+ import { DeleteServicesResponse } from './DeleteMany/Response';
5
+ import { DeleteServiceResponse } from './DeleteSingle/Response';
3
6
  import { GetServicesRequest } from './GetMany/Request';
4
7
  import { GetServicesResponse, IManyServices } from './GetMany/Response';
5
8
  import { GetServiceResponse, IServiceSellingType, ISingleService } from './GetSingle/Response';
6
- export { IManyServices, GetServicesRequest, GetServicesResponse, ISingleService, IServiceSellingType, GetServiceResponse, CreateServiceRequest, CreateServiceResponse, };
9
+ export { IManyServices, GetServicesRequest, GetServicesResponse, ISingleService, IServiceSellingType, GetServiceResponse, CreateServiceRequest, CreateServiceResponse, DeleteServiceResponse, DeleteServicesRequest, DeleteServicesResponse, };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.1.55",
3
+ "version": "0.1.56",
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
@@ -1,6 +1,9 @@
1
1
  import {
2
2
  CreateServiceRequest,
3
3
  CreateServiceResponse,
4
+ DeleteServiceResponse,
5
+ DeleteServicesRequest,
6
+ DeleteServicesResponse,
4
7
  GetServiceResponse,
5
8
  GetServicesRequest,
6
9
  GetServicesResponse,
@@ -18,4 +21,7 @@ export {
18
21
  GetServiceResponse,
19
22
  CreateServiceRequest,
20
23
  CreateServiceResponse,
24
+ DeleteServiceResponse,
25
+ DeleteServicesRequest,
26
+ DeleteServicesResponse,
21
27
  }
@@ -0,0 +1,3 @@
1
+ export interface DeleteServicesRequest {
2
+ ids: string[]
3
+ }
@@ -0,0 +1,3 @@
1
+ export interface DeleteServicesResponse {
2
+ message: string
3
+ }
@@ -0,0 +1,3 @@
1
+ export interface DeleteServiceResponse {
2
+ message: string
3
+ }
@@ -1,5 +1,8 @@
1
1
  import { CreateServiceRequest } from './CreateSingle/Request'
2
2
  import { CreateServiceResponse } from './CreateSingle/Response'
3
+ import { DeleteServicesRequest } from './DeleteMany/Request'
4
+ import { DeleteServicesResponse } from './DeleteMany/Response'
5
+ import { DeleteServiceResponse } from './DeleteSingle/Response'
3
6
  import { GetServicesRequest } from './GetMany/Request'
4
7
  import { GetServicesResponse, IManyServices } from './GetMany/Response'
5
8
  import {
@@ -17,4 +20,7 @@ export {
17
20
  GetServiceResponse,
18
21
  CreateServiceRequest,
19
22
  CreateServiceResponse,
23
+ DeleteServiceResponse,
24
+ DeleteServicesRequest,
25
+ DeleteServicesResponse,
20
26
  }