@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 +2 -2
- package/lib/services/GetMany/Response.d.ts +2 -2
- package/lib/services/GetSingle/Response.d.ts +4 -4
- package/lib/services/index.d.ts +3 -3
- package/package.json +1 -1
- package/src/index.ts +6 -6
- package/src/services/GetMany/Response.ts +2 -2
- package/src/services/GetSingle/Response.ts +4 -4
- package/src/services/index.ts +6 -6
package/lib/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { CreateServiceRequest, CreateServiceResponse, DeleteServiceResponse, DeleteServicesRequest, DeleteServicesResponse, GetServiceResponse, GetServicesRequest, GetServicesResponse,
|
|
2
|
-
export {
|
|
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,8 +1,8 @@
|
|
|
1
|
-
export interface
|
|
1
|
+
export interface ServiceSellingType {
|
|
2
2
|
id: number;
|
|
3
3
|
name: string;
|
|
4
4
|
}
|
|
5
|
-
export interface
|
|
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:
|
|
15
|
+
sellingType: ServiceSellingType;
|
|
16
16
|
createdAt: string;
|
|
17
17
|
}
|
|
18
18
|
export interface GetServiceResponse {
|
|
19
|
-
data:
|
|
19
|
+
data: SingleService;
|
|
20
20
|
}
|
package/lib/services/index.d.ts
CHANGED
|
@@ -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,
|
|
8
|
-
import { GetServiceResponse,
|
|
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 {
|
|
15
|
+
export { ManyServices, GetServicesRequest, GetServicesResponse, SingleService, ServiceSellingType, GetServiceResponse, CreateServiceRequest, CreateServiceResponse, DeleteServiceResponse, DeleteServicesRequest, DeleteServicesResponse, UpdateServicesStatusRequest, UpdateServicesStatusResponse, UpdateServiceStatusRequest, UpdateServiceStatusResponse, UpdateServiceRequest, UpdateServiceResponse, };
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -7,9 +7,9 @@ import {
|
|
|
7
7
|
GetServiceResponse,
|
|
8
8
|
GetServicesRequest,
|
|
9
9
|
GetServicesResponse,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
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
|
-
|
|
22
|
+
ManyServices,
|
|
23
23
|
GetServicesRequest,
|
|
24
24
|
GetServicesResponse,
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
SingleService,
|
|
26
|
+
ServiceSellingType,
|
|
27
27
|
GetServiceResponse,
|
|
28
28
|
CreateServiceRequest,
|
|
29
29
|
CreateServiceResponse,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export interface
|
|
1
|
+
export interface ServiceSellingType {
|
|
2
2
|
id: number
|
|
3
3
|
name: string
|
|
4
4
|
}
|
|
5
5
|
|
|
6
|
-
export interface
|
|
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:
|
|
16
|
+
sellingType: ServiceSellingType
|
|
17
17
|
createdAt: string
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
export interface GetServiceResponse {
|
|
21
|
-
data:
|
|
21
|
+
data: SingleService
|
|
22
22
|
}
|
package/src/services/index.ts
CHANGED
|
@@ -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,
|
|
7
|
+
import { GetServicesResponse, ManyServices } from './GetMany/Response'
|
|
8
8
|
import {
|
|
9
9
|
GetServiceResponse,
|
|
10
|
-
|
|
11
|
-
|
|
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
|
-
|
|
21
|
+
ManyServices,
|
|
22
22
|
GetServicesRequest,
|
|
23
23
|
GetServicesResponse,
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
SingleService,
|
|
25
|
+
ServiceSellingType,
|
|
26
26
|
GetServiceResponse,
|
|
27
27
|
CreateServiceRequest,
|
|
28
28
|
CreateServiceResponse,
|