@openbox/shared-types 0.1.60 → 0.1.62
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/auth/Login/Request.d.ts +4 -0
- package/lib/auth/Login/Request.js +3 -0
- package/lib/auth/Login/Request.js.map +1 -0
- package/lib/auth/Login/Response.d.ts +7 -0
- package/lib/auth/Login/Response.js +3 -0
- package/lib/auth/Login/Response.js.map +1 -0
- package/lib/auth/index.d.ts +3 -0
- package/lib/auth/index.js +3 -0
- package/lib/auth/index.js.map +1 -0
- package/lib/index.d.ts +3 -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/auth/Login/Request.ts +4 -0
- package/src/auth/Login/Response.ts +8 -0
- package/src/auth/index.ts +4 -0
- package/src/index.ts +10 -6
- package/src/services/GetMany/Response.ts +2 -2
- package/src/services/GetSingle/Response.ts +4 -4
- package/src/services/index.ts +6 -6
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../src/auth/Login/Request.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../src/auth/Login/Response.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/auth/index.ts"],"names":[],"mappings":""}
|
package/lib/index.d.ts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { AuthLoginRequest, AuthLoginResponse, JWTResponse } from './auth';
|
|
2
|
+
import { CreateServiceRequest, CreateServiceResponse, DeleteServiceResponse, DeleteServicesRequest, DeleteServicesResponse, GetServiceResponse, GetServicesRequest, GetServicesResponse, ManyServices, ServiceSellingType, SingleService, UpdateServiceRequest, UpdateServiceResponse, UpdateServicesStatusRequest, UpdateServicesStatusResponse, UpdateServiceStatusRequest, UpdateServiceStatusResponse } from './services';
|
|
3
|
+
export { ManyServices, GetServicesRequest, GetServicesResponse, SingleService, ServiceSellingType, GetServiceResponse, CreateServiceRequest, CreateServiceResponse, DeleteServiceResponse, DeleteServicesRequest, DeleteServicesResponse, UpdateServicesStatusRequest, UpdateServicesStatusResponse, UpdateServiceStatusRequest, UpdateServiceStatusResponse, UpdateServiceRequest, UpdateServiceResponse, AuthLoginRequest, JWTResponse, AuthLoginResponse, };
|
|
@@ -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
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AuthLoginRequest, AuthLoginResponse, JWTResponse } from './auth'
|
|
1
2
|
import {
|
|
2
3
|
CreateServiceRequest,
|
|
3
4
|
CreateServiceResponse,
|
|
@@ -7,9 +8,9 @@ import {
|
|
|
7
8
|
GetServiceResponse,
|
|
8
9
|
GetServicesRequest,
|
|
9
10
|
GetServicesResponse,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
ManyServices,
|
|
12
|
+
ServiceSellingType,
|
|
13
|
+
SingleService,
|
|
13
14
|
UpdateServiceRequest,
|
|
14
15
|
UpdateServiceResponse,
|
|
15
16
|
UpdateServicesStatusRequest,
|
|
@@ -19,11 +20,11 @@ import {
|
|
|
19
20
|
} from './services'
|
|
20
21
|
|
|
21
22
|
export {
|
|
22
|
-
|
|
23
|
+
ManyServices,
|
|
23
24
|
GetServicesRequest,
|
|
24
25
|
GetServicesResponse,
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
SingleService,
|
|
27
|
+
ServiceSellingType,
|
|
27
28
|
GetServiceResponse,
|
|
28
29
|
CreateServiceRequest,
|
|
29
30
|
CreateServiceResponse,
|
|
@@ -36,4 +37,7 @@ export {
|
|
|
36
37
|
UpdateServiceStatusResponse,
|
|
37
38
|
UpdateServiceRequest,
|
|
38
39
|
UpdateServiceResponse,
|
|
40
|
+
AuthLoginRequest,
|
|
41
|
+
JWTResponse,
|
|
42
|
+
AuthLoginResponse,
|
|
39
43
|
}
|
|
@@ -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,
|