@openbox/shared-types 0.1.73 → 0.1.75

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, 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, };
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,9 +1,11 @@
1
+ import { ServicesSellingTypeMany } from '../../SellingTypes';
1
2
  export interface ServicesMany {
2
3
  id: string;
3
4
  name: string;
4
5
  description: string;
5
6
  active: boolean;
6
7
  cost: number;
8
+ sellingType: ServicesSellingTypeMany;
7
9
  }
8
10
  export interface ServicesGetManyResponse {
9
11
  data: ServicesMany[];
@@ -1,3 +1,3 @@
1
1
  import { ServicesCreateSingleRequest, ServicesCreateSingleResponse, ServicesDeleteManyRequest, ServicesDeleteManyResponse, ServicesDeleteSingleResponse, ServicesGetManyRequest, ServicesGetManyResponse, ServicesGetSingleResponse, ServicesMany, ServicesSingle, ServicesUpdateManyStatusRequest, ServicesUpdateManyStatusResponse, ServicesUpdateSingleRequest, 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, ServicesUpdateSingleRequest, ServicesUpdateSingleResponse, };
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.73",
3
+ "version": "0.1.75",
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,6 +32,7 @@ import {
32
32
  ServicesGetSingleResponse,
33
33
  ServicesMany,
34
34
  ServicesSellingTypeMany,
35
+ ServicesSellingTypeManyResponse,
35
36
  ServicesSingle,
36
37
  ServicesUpdateManyStatusRequest,
37
38
  ServicesUpdateManyStatusResponse,
@@ -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,9 +1,12 @@
1
+ import { ServicesSellingTypeMany } from '../../SellingTypes'
2
+
1
3
  export interface ServicesMany {
2
4
  id: string
3
5
  name: string
4
6
  description: string
5
7
  active: boolean
6
8
  cost: number
9
+ sellingType: ServicesSellingTypeMany
7
10
  }
8
11
 
9
12
  export interface ServicesGetManyResponse {
@@ -17,7 +17,10 @@ import {
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,
@@ -37,4 +40,5 @@ export {
37
40
  ServicesUpdateSingleStatusResponse,
38
41
  ServicesUpdateSingleRequest,
39
42
  ServicesUpdateSingleResponse,
43
+ ServicesSellingTypeManyResponse,
40
44
  }