@openbox/shared-types 0.1.72 → 0.1.74

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,3 +1,3 @@
1
1
  import { AuthGetUserResponse, AuthLoginRequest, AuthLoginResponse, AuthRecoverPasswordRequest, AuthRecoverPasswordResponse, AuthResetPasswordRequest, AuthResetPasswordResponse, AuthUpdatePasswordRequest, AuthUpdatePasswordResponse, AuthUpdateWorkspaceRequest, AuthUpdateWorkspaceResponse, JWTResponse, LoggedUserInfo, LoggedUserInfoProfile, LoggedUserInfoProfileAccess, LoggedUserInfoProfileAccessBranches, LoggedUserInfoProfileAccessBranchesModules, LoggedUserInfoWorkspace, LoggedUserInfoWorkspaceBranch, LoggedUserInfoWorkspaceCompany, WorkspaceChanged } from './auth';
2
- import { ServicesCreateSingleRequest, ServicesCreateSingleResponse, ServicesDeleteManyRequest, ServicesDeleteManyResponse, ServicesDeleteSingleResponse, ServicesGetManyRequest, ServicesGetManyResponse, ServicesGetSingleResponse, ServicesMany, ServicesSellingTypeMany, ServicesSingle, ServicesUpdateManyRequest, ServicesUpdateManyStatusRequest, ServicesUpdateManyStatusResponse, ServicesUpdateSingleResponse, ServicesUpdateSingleStatusRequest, ServicesUpdateSingleStatusResponse } from './services';
3
- export { ServicesSellingTypeMany, ServicesMany, ServicesGetManyRequest, ServicesGetManyResponse, ServicesSingle, ServicesGetSingleResponse, ServicesCreateSingleRequest, ServicesCreateSingleResponse, ServicesDeleteSingleResponse, ServicesDeleteManyRequest, ServicesDeleteManyResponse, ServicesUpdateManyStatusRequest, ServicesUpdateManyStatusResponse, ServicesUpdateSingleStatusRequest, ServicesUpdateSingleStatusResponse, ServicesUpdateManyRequest, ServicesUpdateSingleResponse, AuthLoginRequest, JWTResponse, AuthLoginResponse, AuthRecoverPasswordRequest, AuthRecoverPasswordResponse, AuthResetPasswordRequest, AuthResetPasswordResponse, AuthGetUserResponse, LoggedUserInfo, LoggedUserInfoProfileAccess, AuthUpdatePasswordRequest, AuthUpdatePasswordResponse, AuthUpdateWorkspaceRequest, AuthUpdateWorkspaceResponse, WorkspaceChanged, LoggedUserInfoProfileAccessBranchesModules, LoggedUserInfoProfileAccessBranches, LoggedUserInfoProfile, LoggedUserInfoWorkspaceCompany, LoggedUserInfoWorkspaceBranch, LoggedUserInfoWorkspace, };
2
+ import { ServicesCreateSingleRequest, ServicesCreateSingleResponse, ServicesDeleteManyRequest, ServicesDeleteManyResponse, ServicesDeleteSingleResponse, ServicesGetManyRequest, ServicesGetManyResponse, ServicesGetSingleResponse, ServicesMany, ServicesSellingTypeMany, ServicesSellingTypeManyResponse, ServicesSingle, ServicesUpdateManyStatusRequest, ServicesUpdateManyStatusResponse, ServicesUpdateSingleRequest, ServicesUpdateSingleResponse, ServicesUpdateSingleStatusRequest, ServicesUpdateSingleStatusResponse } from './services';
3
+ export { ServicesSellingTypeMany, ServicesMany, ServicesGetManyRequest, ServicesGetManyResponse, ServicesSingle, ServicesGetSingleResponse, ServicesCreateSingleRequest, ServicesCreateSingleResponse, ServicesDeleteSingleResponse, ServicesDeleteManyRequest, ServicesDeleteManyResponse, ServicesUpdateManyStatusRequest, ServicesUpdateManyStatusResponse, ServicesUpdateSingleStatusRequest, ServicesUpdateSingleStatusResponse, ServicesUpdateSingleRequest, ServicesUpdateSingleResponse, AuthLoginRequest, JWTResponse, AuthLoginResponse, AuthRecoverPasswordRequest, AuthRecoverPasswordResponse, AuthResetPasswordRequest, AuthResetPasswordResponse, AuthGetUserResponse, LoggedUserInfo, LoggedUserInfoProfileAccess, AuthUpdatePasswordRequest, AuthUpdatePasswordResponse, AuthUpdateWorkspaceRequest, AuthUpdateWorkspaceResponse, WorkspaceChanged, LoggedUserInfoProfileAccessBranchesModules, LoggedUserInfoProfileAccessBranches, LoggedUserInfoProfile, LoggedUserInfoWorkspaceCompany, LoggedUserInfoWorkspaceBranch, LoggedUserInfoWorkspace, ServicesSellingTypeManyResponse, };
@@ -2,3 +2,6 @@ export interface ServicesSellingTypeMany {
2
2
  id: number;
3
3
  name: string;
4
4
  }
5
+ export interface ServicesSellingTypeManyResponse {
6
+ data: ServicesSellingTypeMany[];
7
+ }
@@ -1,2 +1,2 @@
1
- import { ServicesSellingTypeMany } from './GetMany/Response';
2
- export { ServicesSellingTypeMany };
1
+ import { ServicesSellingTypeMany, ServicesSellingTypeManyResponse } from './GetMany/Response';
2
+ export { ServicesSellingTypeMany, ServicesSellingTypeManyResponse };
@@ -1,4 +1,4 @@
1
- export interface ServicesUpdateManyRequest {
1
+ export interface ServicesUpdateSingleRequest {
2
2
  name?: string;
3
3
  cost?: number;
4
4
  description?: string;
@@ -8,8 +8,8 @@ import { ServicesGetManyResponse, ServicesMany } from './GetMany/Response';
8
8
  import { ServicesGetSingleResponse, ServicesSingle } from './GetSingle/Response';
9
9
  import { ServicesUpdateManyStatusRequest } from './UpdateManyStatuses/Request';
10
10
  import { ServicesUpdateManyStatusResponse } from './UpdateManyStatuses/Response';
11
- import { ServicesUpdateManyRequest } from './UpdateSingle/Request';
11
+ import { ServicesUpdateSingleRequest } from './UpdateSingle/Request';
12
12
  import { ServicesUpdateSingleResponse } from './UpdateSingle/Response';
13
13
  import { ServicesUpdateSingleStatusRequest } from './UpdateSingleStatus/Request';
14
14
  import { ServicesUpdateSingleStatusResponse } from './UpdateSingleStatus/Response';
15
- export { ServicesMany, ServicesGetManyRequest, ServicesGetManyResponse, ServicesSingle, ServicesGetSingleResponse, ServicesCreateSingleRequest, ServicesCreateSingleResponse, ServicesDeleteSingleResponse, ServicesDeleteManyRequest, ServicesDeleteManyResponse, ServicesUpdateManyStatusRequest, ServicesUpdateManyStatusResponse, ServicesUpdateSingleStatusRequest, ServicesUpdateSingleStatusResponse, ServicesUpdateManyRequest, ServicesUpdateSingleResponse, };
15
+ export { ServicesMany, ServicesGetManyRequest, ServicesGetManyResponse, ServicesSingle, ServicesGetSingleResponse, ServicesCreateSingleRequest, ServicesCreateSingleResponse, ServicesDeleteSingleResponse, ServicesDeleteManyRequest, ServicesDeleteManyResponse, ServicesUpdateManyStatusRequest, ServicesUpdateManyStatusResponse, ServicesUpdateSingleStatusRequest, ServicesUpdateSingleStatusResponse, ServicesUpdateSingleRequest, ServicesUpdateSingleResponse, };
@@ -1,3 +1,3 @@
1
- import { ServicesCreateSingleRequest, ServicesCreateSingleResponse, ServicesDeleteManyRequest, ServicesDeleteManyResponse, ServicesDeleteSingleResponse, ServicesGetManyRequest, ServicesGetManyResponse, ServicesGetSingleResponse, ServicesMany, ServicesSingle, ServicesUpdateManyRequest, ServicesUpdateManyStatusRequest, ServicesUpdateManyStatusResponse, ServicesUpdateSingleResponse, ServicesUpdateSingleStatusRequest, ServicesUpdateSingleStatusResponse } from './Services';
2
- import { ServicesSellingTypeMany } from './SellingTypes';
3
- export { ServicesSellingTypeMany, ServicesMany, ServicesGetManyRequest, ServicesGetManyResponse, ServicesSingle, ServicesGetSingleResponse, ServicesCreateSingleRequest, ServicesCreateSingleResponse, ServicesDeleteSingleResponse, ServicesDeleteManyRequest, ServicesDeleteManyResponse, ServicesUpdateManyStatusRequest, ServicesUpdateManyStatusResponse, ServicesUpdateSingleStatusRequest, ServicesUpdateSingleStatusResponse, ServicesUpdateManyRequest, ServicesUpdateSingleResponse, };
1
+ import { ServicesCreateSingleRequest, ServicesCreateSingleResponse, ServicesDeleteManyRequest, ServicesDeleteManyResponse, ServicesDeleteSingleResponse, ServicesGetManyRequest, ServicesGetManyResponse, ServicesGetSingleResponse, ServicesMany, ServicesSingle, ServicesUpdateManyStatusRequest, ServicesUpdateManyStatusResponse, ServicesUpdateSingleRequest, ServicesUpdateSingleResponse, ServicesUpdateSingleStatusRequest, ServicesUpdateSingleStatusResponse } from './Services';
2
+ import { ServicesSellingTypeMany, ServicesSellingTypeManyResponse } from './SellingTypes';
3
+ export { ServicesSellingTypeMany, ServicesMany, ServicesGetManyRequest, ServicesGetManyResponse, ServicesSingle, ServicesGetSingleResponse, ServicesCreateSingleRequest, ServicesCreateSingleResponse, ServicesDeleteSingleResponse, ServicesDeleteManyRequest, ServicesDeleteManyResponse, ServicesUpdateManyStatusRequest, ServicesUpdateManyStatusResponse, ServicesUpdateSingleStatusRequest, ServicesUpdateSingleStatusResponse, ServicesUpdateSingleRequest, ServicesUpdateSingleResponse, ServicesSellingTypeManyResponse, };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.1.72",
3
+ "version": "0.1.74",
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
@@ -32,10 +32,11 @@ import {
32
32
  ServicesGetSingleResponse,
33
33
  ServicesMany,
34
34
  ServicesSellingTypeMany,
35
+ ServicesSellingTypeManyResponse,
35
36
  ServicesSingle,
36
- ServicesUpdateManyRequest,
37
37
  ServicesUpdateManyStatusRequest,
38
38
  ServicesUpdateManyStatusResponse,
39
+ ServicesUpdateSingleRequest,
39
40
  ServicesUpdateSingleResponse,
40
41
  ServicesUpdateSingleStatusRequest,
41
42
  ServicesUpdateSingleStatusResponse,
@@ -57,7 +58,7 @@ export {
57
58
  ServicesUpdateManyStatusResponse,
58
59
  ServicesUpdateSingleStatusRequest,
59
60
  ServicesUpdateSingleStatusResponse,
60
- ServicesUpdateManyRequest,
61
+ ServicesUpdateSingleRequest,
61
62
  ServicesUpdateSingleResponse,
62
63
  AuthLoginRequest,
63
64
  JWTResponse,
@@ -80,4 +81,5 @@ export {
80
81
  LoggedUserInfoWorkspaceCompany,
81
82
  LoggedUserInfoWorkspaceBranch,
82
83
  LoggedUserInfoWorkspace,
84
+ ServicesSellingTypeManyResponse,
83
85
  }
@@ -2,3 +2,7 @@ export interface ServicesSellingTypeMany {
2
2
  id: number
3
3
  name: string
4
4
  }
5
+
6
+ export interface ServicesSellingTypeManyResponse {
7
+ data: ServicesSellingTypeMany[]
8
+ }
@@ -1,3 +1,6 @@
1
- import { ServicesSellingTypeMany } from './GetMany/Response'
1
+ import {
2
+ ServicesSellingTypeMany,
3
+ ServicesSellingTypeManyResponse,
4
+ } from './GetMany/Response'
2
5
 
3
- export { ServicesSellingTypeMany }
6
+ export { ServicesSellingTypeMany, ServicesSellingTypeManyResponse }
@@ -1,4 +1,4 @@
1
- export interface ServicesUpdateManyRequest {
1
+ export interface ServicesUpdateSingleRequest {
2
2
  name?: string
3
3
  cost?: number
4
4
  description?: string
@@ -8,7 +8,7 @@ import { ServicesGetManyResponse, ServicesMany } from './GetMany/Response'
8
8
  import { ServicesGetSingleResponse, ServicesSingle } from './GetSingle/Response'
9
9
  import { ServicesUpdateManyStatusRequest } from './UpdateManyStatuses/Request'
10
10
  import { ServicesUpdateManyStatusResponse } from './UpdateManyStatuses/Response'
11
- import { ServicesUpdateManyRequest } from './UpdateSingle/Request'
11
+ import { ServicesUpdateSingleRequest } from './UpdateSingle/Request'
12
12
  import { ServicesUpdateSingleResponse } from './UpdateSingle/Response'
13
13
  import { ServicesUpdateSingleStatusRequest } from './UpdateSingleStatus/Request'
14
14
  import { ServicesUpdateSingleStatusResponse } from './UpdateSingleStatus/Response'
@@ -28,6 +28,6 @@ export {
28
28
  ServicesUpdateManyStatusResponse,
29
29
  ServicesUpdateSingleStatusRequest,
30
30
  ServicesUpdateSingleStatusResponse,
31
- ServicesUpdateManyRequest,
31
+ ServicesUpdateSingleRequest,
32
32
  ServicesUpdateSingleResponse,
33
33
  }
@@ -9,15 +9,18 @@ import {
9
9
  ServicesGetSingleResponse,
10
10
  ServicesMany,
11
11
  ServicesSingle,
12
- ServicesUpdateManyRequest,
13
12
  ServicesUpdateManyStatusRequest,
14
13
  ServicesUpdateManyStatusResponse,
14
+ ServicesUpdateSingleRequest,
15
15
  ServicesUpdateSingleResponse,
16
16
  ServicesUpdateSingleStatusRequest,
17
17
  ServicesUpdateSingleStatusResponse,
18
18
  } from './Services'
19
19
 
20
- import { ServicesSellingTypeMany } from './SellingTypes'
20
+ import {
21
+ ServicesSellingTypeMany,
22
+ ServicesSellingTypeManyResponse,
23
+ } from './SellingTypes'
21
24
 
22
25
  export {
23
26
  ServicesSellingTypeMany,
@@ -35,6 +38,7 @@ export {
35
38
  ServicesUpdateManyStatusResponse,
36
39
  ServicesUpdateSingleStatusRequest,
37
40
  ServicesUpdateSingleStatusResponse,
38
- ServicesUpdateManyRequest,
41
+ ServicesUpdateSingleRequest,
39
42
  ServicesUpdateSingleResponse,
43
+ ServicesSellingTypeManyResponse,
40
44
  }