@openbox/shared-types 0.3.94 → 0.3.96

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.
@@ -0,0 +1,7 @@
1
+ import { SystemDirectoryUpdateSingleRequest } from '../../../system';
2
+ import { ManagementCompany } from '../management.company.type';
3
+ export type ManagementCompanyUpdateCurrentRequest = Omit<ManagementCompany, 'id' | 'contacts'> & {
4
+ contacts: Omit<SystemDirectoryUpdateSingleRequest, 'entityType' | 'entityId'> & {
5
+ id?: string;
6
+ }[];
7
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=Request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/management/Company/UpdateCurrent/Request.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { SingleResponse } from '../../../interfaces';
2
+ export type ManagementCompanyUpdateCurrentResponse = SingleResponse;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=Response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/management/Company/UpdateCurrent/Response.ts"],"names":[],"mappings":""}
@@ -1,2 +1,4 @@
1
1
  export * from './GetCurrent';
2
+ export * from './UpdateCurrent/Request';
3
+ export * from './UpdateCurrent/Response';
2
4
  export * from './management.company.type';
@@ -15,5 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./GetCurrent"), exports);
18
+ __exportStar(require("./UpdateCurrent/Request"), exports);
19
+ __exportStar(require("./UpdateCurrent/Response"), exports);
18
20
  __exportStar(require("./management.company.type"), exports);
19
21
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/management/Company/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA4B;AAC5B,4DAAyC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/management/Company/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA4B;AAC5B,0DAAuC;AACvC,2DAAwC;AACxC,4DAAyC"}
@@ -1,5 +1,5 @@
1
1
  import { CompaniesSvFields } from '../../companies/CompaniesSVFields/companies.sv-fields.type';
2
- import { SystemDirectory } from '../../system/Directory/system.directory.types';
2
+ import { SystemDirectoryResponse } from '../../system/Directory/system.directory.types';
3
3
  import { SystemNaturalTypes } from '../../system/NaturalTypes/system.natural-types.types';
4
4
  import { SystemPersonTypes } from '../../system/PersonTypes/system.person-types.types';
5
5
  export type ManagementCompany = {
@@ -8,5 +8,5 @@ export type ManagementCompany = {
8
8
  companyType: SystemPersonTypes;
9
9
  naturalType: SystemNaturalTypes;
10
10
  svFields: CompaniesSvFields;
11
- contacts: Omit<SystemDirectory, 'customer' | 'customerBranch'>;
11
+ contacts: Array<SystemDirectoryResponse>;
12
12
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.3.94",
3
+ "version": "0.3.96",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
@@ -0,0 +1,6 @@
1
+ import { SystemDirectoryUpdateSingleRequest } from '../../../system'
2
+ import { ManagementCompany } from '../management.company.type'
3
+
4
+ export type ManagementCompanyUpdateCurrentRequest = Omit<ManagementCompany, 'id' | 'contacts'> & {
5
+ contacts: Omit<SystemDirectoryUpdateSingleRequest, 'entityType' | 'entityId'> & { id?: string }[]
6
+ }
@@ -0,0 +1,3 @@
1
+ import { SingleResponse } from '../../../interfaces'
2
+
3
+ export type ManagementCompanyUpdateCurrentResponse = SingleResponse
@@ -1,2 +1,4 @@
1
1
  export * from './GetCurrent'
2
+ export * from './UpdateCurrent/Request'
3
+ export * from './UpdateCurrent/Response'
2
4
  export * from './management.company.type'
@@ -1,5 +1,5 @@
1
1
  import { CompaniesSvFields } from '../../companies/CompaniesSVFields/companies.sv-fields.type'
2
- import { SystemDirectory } from '../../system/Directory/system.directory.types'
2
+ import { SystemDirectoryResponse } from '../../system/Directory/system.directory.types'
3
3
  import { SystemNaturalTypes } from '../../system/NaturalTypes/system.natural-types.types'
4
4
  import { SystemPersonTypes } from '../../system/PersonTypes/system.person-types.types'
5
5
 
@@ -9,5 +9,5 @@ export type ManagementCompany = {
9
9
  companyType: SystemPersonTypes
10
10
  naturalType: SystemNaturalTypes
11
11
  svFields: CompaniesSvFields
12
- contacts: Omit<SystemDirectory, 'customer' | 'customerBranch'>
12
+ contacts: Array<SystemDirectoryResponse>
13
13
  }