@openbox/shared-types 0.1.79 → 0.1.81

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.
@@ -12,9 +12,9 @@ export interface CustomersCreateSingleRequest {
12
12
  isActiveProvider?: boolean;
13
13
  isUsedCustomer?: boolean;
14
14
  isUsedProvider?: boolean;
15
- customerTaxerType: string;
16
- personType: string;
17
- customerType: string;
18
- customerTypeNatural?: string;
15
+ customerTaxerType: number;
16
+ personType: number;
17
+ customerType: number;
18
+ customerTypeNatural?: number;
19
19
  branch: CustomerBranchesCreateMany;
20
20
  }
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Resquest.js.map
3
+ //# sourceMappingURL=Request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/customers/Customers/CreateSingle/Request.ts"],"names":[],"mappings":""}
@@ -12,9 +12,9 @@ export interface CustomersUpdateSingleRequest {
12
12
  isActiveProvider?: boolean;
13
13
  isUsedCustomer?: boolean;
14
14
  isUsedProvider?: boolean;
15
- customerTaxerType?: string;
16
- personType?: string;
17
- customerType?: string;
18
- customerTypeNatural?: string;
15
+ customerTaxerType?: number;
16
+ personType?: number;
17
+ customerType?: number;
18
+ customerTypeNatural?: number;
19
19
  branch?: CustomerBranchesUpdateSingle;
20
20
  }
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Resquest.js.map
3
+ //# sourceMappingURL=Request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/customers/Customers/UpdateSingle/Request.ts"],"names":[],"mappings":""}
@@ -1,5 +1,5 @@
1
+ import { CustomersCreateSingleRequest } from './CreateSingle/Request';
1
2
  import { CustomersCreateSingleResponse } from './CreateSingle/Response';
2
- import { CustomersCreateSingleRequest } from './CreateSingle/Resquest';
3
3
  import { CustomersDeleteManyRequest } from './DeleteMany/Request';
4
4
  import { CustomersDeleteManyResponse } from './DeleteMany/Response';
5
5
  import { CustomersDeleteSingleResponse } from './DeleteSingle/Response';
@@ -8,6 +8,7 @@ import { CustomerGetMany, CustomerGetManyResponse } from './GetMany/Response';
8
8
  import { CustomersGetSingle, CustomersGetSingleResponse } from './GetSingle/Response';
9
9
  import { CustomerUpdateManyStatusesRequest } from './UpdateManyStatuses/Request';
10
10
  import { CustomersUpdateManyStatusesResponse } from './UpdateManyStatuses/Response';
11
+ import { CustomersUpdateSingleRequest } from './UpdateSingle/Request';
11
12
  import { CustomersUpdateSingleResponse } from './UpdateSingle/Response';
12
13
  import { CustomersUpdateSingleStatusResponse } from './UpdateSingleStatus/Response';
13
- export { CustomersDeleteSingleResponse, CustomersCreateSingleResponse, CustomersGetSingle, CustomersGetSingleResponse, CustomersUpdateSingleResponse, CustomersUpdateSingleStatusResponse, CustomersUpdateManyStatusesResponse, CustomersDeleteManyResponse, CustomersCreateSingleRequest, CustomersGetManyRequest, CustomerGetMany, CustomerGetManyResponse, CustomersDeleteManyRequest, CustomerUpdateManyStatusesRequest, };
14
+ export { CustomersDeleteSingleResponse, CustomersCreateSingleResponse, CustomersGetSingle, CustomersGetSingleResponse, CustomersUpdateSingleResponse, CustomersUpdateSingleStatusResponse, CustomersUpdateManyStatusesResponse, CustomersDeleteManyResponse, CustomersCreateSingleRequest, CustomersGetManyRequest, CustomerGetMany, CustomerGetManyResponse, CustomersDeleteManyRequest, CustomerUpdateManyStatusesRequest, CustomersUpdateSingleRequest, };
@@ -1,3 +1,3 @@
1
1
  import { CustomerBranchesCreateMany, CustomerBranchesCreateManyRequest, CustomerBranchesDeleteSingleResponse, CustomerBranchesGetManyRequest, CustomerBranchesMany, CustomerBranchesManyResponse, CustomerBranchesUpdateDefaultRequest, CustomerBranchesUpdateDefaultResponse, CustomerBranchesUpdateSingle, CustomerBranchesUpdateSingleRequest, CustomerBranchesUpdateSingleResponse } from './Branches';
2
- import { CustomerGetMany, CustomerGetManyResponse, CustomersCreateSingleRequest, CustomersCreateSingleResponse, CustomersDeleteManyRequest, CustomersDeleteManyResponse, CustomersDeleteSingleResponse, CustomersGetManyRequest, CustomersGetSingle, CustomersGetSingleResponse, CustomersUpdateManyStatusesResponse, CustomersUpdateSingleResponse, CustomersUpdateSingleStatusResponse, CustomerUpdateManyStatusesRequest } from './Customers';
3
- export { CustomersDeleteSingleResponse, CustomersCreateSingleResponse, CustomersGetSingle, CustomersGetSingleResponse, CustomersUpdateSingleResponse, CustomersUpdateSingleStatusResponse, CustomersUpdateManyStatusesResponse, CustomersDeleteManyResponse, CustomersCreateSingleRequest, CustomersGetManyRequest, CustomerGetMany, CustomerGetManyResponse, CustomersDeleteManyRequest, CustomerUpdateManyStatusesRequest, CustomerBranchesMany, CustomerBranchesManyResponse, CustomerBranchesCreateMany, CustomerBranchesCreateManyRequest, CustomerBranchesDeleteSingleResponse, CustomerBranchesGetManyRequest, CustomerBranchesUpdateSingle, CustomerBranchesUpdateSingleRequest, CustomerBranchesUpdateDefaultRequest, CustomerBranchesUpdateDefaultResponse, CustomerBranchesUpdateSingleResponse, };
2
+ import { CustomerGetMany, CustomerGetManyResponse, CustomersCreateSingleRequest, CustomersCreateSingleResponse, CustomersDeleteManyRequest, CustomersDeleteManyResponse, CustomersDeleteSingleResponse, CustomersGetManyRequest, CustomersGetSingle, CustomersGetSingleResponse, CustomersUpdateManyStatusesResponse, CustomersUpdateSingleRequest, CustomersUpdateSingleResponse, CustomersUpdateSingleStatusResponse, CustomerUpdateManyStatusesRequest } from './Customers';
3
+ export { CustomersDeleteSingleResponse, CustomersCreateSingleResponse, CustomersGetSingle, CustomersGetSingleResponse, CustomersUpdateSingleResponse, CustomersUpdateSingleStatusResponse, CustomersUpdateManyStatusesResponse, CustomersDeleteManyResponse, CustomersCreateSingleRequest, CustomersGetManyRequest, CustomerGetMany, CustomerGetManyResponse, CustomersDeleteManyRequest, CustomerUpdateManyStatusesRequest, CustomerBranchesMany, CustomerBranchesManyResponse, CustomerBranchesCreateMany, CustomerBranchesCreateManyRequest, CustomerBranchesDeleteSingleResponse, CustomerBranchesGetManyRequest, CustomerBranchesUpdateSingle, CustomerBranchesUpdateSingleRequest, CustomerBranchesUpdateDefaultRequest, CustomerBranchesUpdateDefaultResponse, CustomerBranchesUpdateSingleResponse, CustomersUpdateSingleRequest, };
package/lib/index.d.ts CHANGED
@@ -1,5 +1,5 @@
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 { CustomerBranchesCreateMany, CustomerBranchesCreateManyRequest, CustomerBranchesDeleteSingleResponse, CustomerBranchesGetManyRequest, CustomerBranchesMany, CustomerBranchesManyResponse, CustomerBranchesUpdateDefaultRequest, CustomerBranchesUpdateDefaultResponse, CustomerBranchesUpdateSingle, CustomerBranchesUpdateSingleRequest, CustomerBranchesUpdateSingleResponse, CustomerGetMany, CustomerGetManyResponse, CustomersCreateSingleRequest, CustomersCreateSingleResponse, CustomersDeleteManyRequest, CustomersDeleteManyResponse, CustomersDeleteSingleResponse, CustomersGetManyRequest, CustomersGetSingle, CustomersGetSingleResponse, CustomersUpdateManyStatusesResponse, CustomersUpdateSingleResponse, CustomersUpdateSingleStatusResponse, CustomerUpdateManyStatusesRequest } from './customers';
2
+ import { CustomerBranchesCreateMany, CustomerBranchesCreateManyRequest, CustomerBranchesDeleteSingleResponse, CustomerBranchesGetManyRequest, CustomerBranchesMany, CustomerBranchesManyResponse, CustomerBranchesUpdateDefaultRequest, CustomerBranchesUpdateDefaultResponse, CustomerBranchesUpdateSingle, CustomerBranchesUpdateSingleRequest, CustomerBranchesUpdateSingleResponse, CustomerGetMany, CustomerGetManyResponse, CustomersCreateSingleRequest, CustomersCreateSingleResponse, CustomersDeleteManyRequest, CustomersDeleteManyResponse, CustomersDeleteSingleResponse, CustomersGetManyRequest, CustomersGetSingle, CustomersGetSingleResponse, CustomersUpdateManyStatusesResponse, CustomersUpdateSingleRequest, CustomersUpdateSingleResponse, CustomersUpdateSingleStatusResponse, CustomerUpdateManyStatusesRequest } from './customers';
3
3
  import { ServicesCreateSingleRequest, ServicesCreateSingleResponse, ServicesDeleteManyRequest, ServicesDeleteManyResponse, ServicesDeleteSingleResponse, ServicesGetManyRequest, ServicesGetManyResponse, ServicesGetSingleResponse, ServicesMany, ServicesSellingTypeMany, ServicesSellingTypeManyResponse, ServicesSingle, ServicesUpdateManyStatusRequest, ServicesUpdateManyStatusResponse, ServicesUpdateSingleRequest, ServicesUpdateSingleResponse, ServicesUpdateSingleStatusRequest, ServicesUpdateSingleStatusResponse } from './services';
4
4
  import { SystemCityMany, SystemCityManyResponse, SystemCountryMany, SystemCountryManyResponse, SystemPersonTypeMany, SystemPersonTypeManyResponse, SystemSellingTypeMany, SystemSellingTypeManyResponse, SystemStateMany, SystemStateManyResponse, SystemTaxerTypesMany, SystemTaxerTypesManyResponse, SystemTypeNaturalMany, SystemTypeNaturalManyResponse } from './System';
5
- 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, CustomerBranchesMany, CustomerBranchesManyResponse, SystemCityMany, SystemCityManyResponse, SystemCountryMany, SystemCountryManyResponse, SystemPersonTypeMany, SystemPersonTypeManyResponse, SystemSellingTypeMany, SystemSellingTypeManyResponse, SystemStateMany, SystemStateManyResponse, SystemTaxerTypesMany, SystemTaxerTypesManyResponse, SystemTypeNaturalMany, SystemTypeNaturalManyResponse, CustomersDeleteSingleResponse, CustomersCreateSingleResponse, CustomersGetSingle, CustomersGetSingleResponse, CustomersUpdateSingleResponse, CustomersUpdateSingleStatusResponse, CustomersUpdateManyStatusesResponse, CustomersDeleteManyResponse, CustomersCreateSingleRequest, CustomersGetManyRequest, CustomerGetMany, CustomerGetManyResponse, CustomersDeleteManyRequest, CustomerUpdateManyStatusesRequest, CustomerBranchesCreateMany, CustomerBranchesCreateManyRequest, CustomerBranchesDeleteSingleResponse, CustomerBranchesGetManyRequest, CustomerBranchesUpdateSingle, CustomerBranchesUpdateSingleRequest, CustomerBranchesUpdateDefaultRequest, CustomerBranchesUpdateDefaultResponse, CustomerBranchesUpdateSingleResponse, };
5
+ 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, CustomerBranchesMany, CustomerBranchesManyResponse, SystemCityMany, SystemCityManyResponse, SystemCountryMany, SystemCountryManyResponse, SystemPersonTypeMany, SystemPersonTypeManyResponse, SystemSellingTypeMany, SystemSellingTypeManyResponse, SystemStateMany, SystemStateManyResponse, SystemTaxerTypesMany, SystemTaxerTypesManyResponse, SystemTypeNaturalMany, SystemTypeNaturalManyResponse, CustomersDeleteSingleResponse, CustomersCreateSingleResponse, CustomersGetSingle, CustomersGetSingleResponse, CustomersUpdateSingleResponse, CustomersUpdateSingleStatusResponse, CustomersUpdateManyStatusesResponse, CustomersDeleteManyResponse, CustomersCreateSingleRequest, CustomersGetManyRequest, CustomerGetMany, CustomerGetManyResponse, CustomersDeleteManyRequest, CustomerUpdateManyStatusesRequest, CustomerBranchesCreateMany, CustomerBranchesCreateManyRequest, CustomerBranchesDeleteSingleResponse, CustomerBranchesGetManyRequest, CustomerBranchesUpdateSingle, CustomerBranchesUpdateSingleRequest, CustomerBranchesUpdateDefaultRequest, CustomerBranchesUpdateDefaultResponse, CustomerBranchesUpdateSingleResponse, CustomersUpdateSingleRequest, };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.1.79",
3
+ "version": "0.1.81",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
@@ -13,9 +13,9 @@ export interface CustomersCreateSingleRequest {
13
13
  isActiveProvider?: boolean
14
14
  isUsedCustomer?: boolean
15
15
  isUsedProvider?: boolean
16
- customerTaxerType: string
17
- personType: string
18
- customerType: string
19
- customerTypeNatural?: string
16
+ customerTaxerType: number
17
+ personType: number
18
+ customerType: number
19
+ customerTypeNatural?: number
20
20
  branch: CustomerBranchesCreateMany
21
21
  }
@@ -13,9 +13,9 @@ export interface CustomersUpdateSingleRequest {
13
13
  isActiveProvider?: boolean
14
14
  isUsedCustomer?: boolean
15
15
  isUsedProvider?: boolean
16
- customerTaxerType?: string
17
- personType?: string
18
- customerType?: string
19
- customerTypeNatural?: string
16
+ customerTaxerType?: number
17
+ personType?: number
18
+ customerType?: number
19
+ customerTypeNatural?: number
20
20
  branch?: CustomerBranchesUpdateSingle
21
21
  }
@@ -1,5 +1,5 @@
1
+ import { CustomersCreateSingleRequest } from './CreateSingle/Request'
1
2
  import { CustomersCreateSingleResponse } from './CreateSingle/Response'
2
- import { CustomersCreateSingleRequest } from './CreateSingle/Resquest'
3
3
  import { CustomersDeleteManyRequest } from './DeleteMany/Request'
4
4
  import { CustomersDeleteManyResponse } from './DeleteMany/Response'
5
5
  import { CustomersDeleteSingleResponse } from './DeleteSingle/Response'
@@ -7,10 +7,11 @@ import { CustomersGetManyRequest } from './GetMany/Request'
7
7
  import { CustomerGetMany, CustomerGetManyResponse } from './GetMany/Response'
8
8
  import {
9
9
  CustomersGetSingle,
10
- CustomersGetSingleResponse,
10
+ CustomersGetSingleResponse
11
11
  } from './GetSingle/Response'
12
12
  import { CustomerUpdateManyStatusesRequest } from './UpdateManyStatuses/Request'
13
13
  import { CustomersUpdateManyStatusesResponse } from './UpdateManyStatuses/Response'
14
+ import { CustomersUpdateSingleRequest } from './UpdateSingle/Request'
14
15
  import { CustomersUpdateSingleResponse } from './UpdateSingle/Response'
15
16
  import { CustomersUpdateSingleStatusResponse } from './UpdateSingleStatus/Response'
16
17
 
@@ -29,4 +30,5 @@ export {
29
30
  CustomerGetManyResponse,
30
31
  CustomersDeleteManyRequest,
31
32
  CustomerUpdateManyStatusesRequest,
33
+ CustomersUpdateSingleRequest,
32
34
  }
@@ -9,7 +9,7 @@ import {
9
9
  CustomerBranchesUpdateDefaultResponse,
10
10
  CustomerBranchesUpdateSingle,
11
11
  CustomerBranchesUpdateSingleRequest,
12
- CustomerBranchesUpdateSingleResponse,
12
+ CustomerBranchesUpdateSingleResponse
13
13
  } from './Branches'
14
14
  import {
15
15
  CustomerGetMany,
@@ -23,9 +23,10 @@ import {
23
23
  CustomersGetSingle,
24
24
  CustomersGetSingleResponse,
25
25
  CustomersUpdateManyStatusesResponse,
26
+ CustomersUpdateSingleRequest,
26
27
  CustomersUpdateSingleResponse,
27
28
  CustomersUpdateSingleStatusResponse,
28
- CustomerUpdateManyStatusesRequest,
29
+ CustomerUpdateManyStatusesRequest
29
30
  } from './Customers'
30
31
 
31
32
  export {
@@ -54,4 +55,5 @@ export {
54
55
  CustomerBranchesUpdateDefaultRequest,
55
56
  CustomerBranchesUpdateDefaultResponse,
56
57
  CustomerBranchesUpdateSingleResponse,
58
+ CustomersUpdateSingleRequest,
57
59
  }
package/src/index.ts CHANGED
@@ -19,7 +19,7 @@ import {
19
19
  LoggedUserInfoWorkspace,
20
20
  LoggedUserInfoWorkspaceBranch,
21
21
  LoggedUserInfoWorkspaceCompany,
22
- WorkspaceChanged,
22
+ WorkspaceChanged
23
23
  } from './auth'
24
24
  import {
25
25
  CustomerBranchesCreateMany,
@@ -43,10 +43,9 @@ import {
43
43
  CustomersGetManyRequest,
44
44
  CustomersGetSingle,
45
45
  CustomersGetSingleResponse,
46
- CustomersUpdateManyStatusesResponse,
47
- CustomersUpdateSingleResponse,
46
+ CustomersUpdateManyStatusesResponse, CustomersUpdateSingleRequest, CustomersUpdateSingleResponse,
48
47
  CustomersUpdateSingleStatusResponse,
49
- CustomerUpdateManyStatusesRequest,
48
+ CustomerUpdateManyStatusesRequest
50
49
  } from './customers'
51
50
  import {
52
51
  ServicesCreateSingleRequest,
@@ -66,7 +65,7 @@ import {
66
65
  ServicesUpdateSingleRequest,
67
66
  ServicesUpdateSingleResponse,
68
67
  ServicesUpdateSingleStatusRequest,
69
- ServicesUpdateSingleStatusResponse,
68
+ ServicesUpdateSingleStatusResponse
70
69
  } from './services'
71
70
  import {
72
71
  SystemCityMany,
@@ -82,7 +81,7 @@ import {
82
81
  SystemTaxerTypesMany,
83
82
  SystemTaxerTypesManyResponse,
84
83
  SystemTypeNaturalMany,
85
- SystemTypeNaturalManyResponse,
84
+ SystemTypeNaturalManyResponse
86
85
  } from './System'
87
86
 
88
87
  export {
@@ -164,4 +163,5 @@ export {
164
163
  CustomerBranchesUpdateDefaultRequest,
165
164
  CustomerBranchesUpdateDefaultResponse,
166
165
  CustomerBranchesUpdateSingleResponse,
166
+ CustomersUpdateSingleRequest,
167
167
  }
@@ -1 +0,0 @@
1
- {"version":3,"file":"Resquest.js","sourceRoot":"","sources":["../../../../src/customers/Customers/CreateSingle/Resquest.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Resquest.js","sourceRoot":"","sources":["../../../../src/customers/Customers/UpdateSingle/Resquest.ts"],"names":[],"mappings":""}