@openbox/shared-types 0.2.97 → 0.2.99

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.
@@ -1,13 +1,11 @@
1
1
  import { ManagementUsers } from '../../management';
2
2
  import { SystemDirectoryResponse } from '../../system/Directory/system.directory.types';
3
- import { LegalAdvisories } from '../Advisories';
4
3
  export type LegalLawyers = {
5
4
  id: string;
6
5
  active: boolean;
7
6
  user: Pick<ManagementUsers, 'id' | 'names' | 'lastnames'>;
8
7
  contacts: SystemDirectoryResponse[];
9
- legalAdvisories: LegalAdvisories[];
10
8
  };
11
- export type LegalLawyersRequest = Omit<LegalLawyers, 'contacts' | 'legalAdvisories' | 'active' | 'user'> & {
9
+ export type LegalLawyersRequest = Omit<LegalLawyers, 'id' | 'contacts' | 'legalAdvisories' | 'active' | 'user'> & {
12
10
  user: string;
13
11
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.2.97",
3
+ "version": "0.2.99",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
@@ -1,20 +1,19 @@
1
1
  import { ManagementUsers } from '../../management'
2
2
  import { SystemDirectoryResponse } from '../../system/Directory/system.directory.types'
3
- import { LegalAdvisories } from '../Advisories'
4
3
 
5
4
  export type LegalLawyers = {
6
5
  id: string
7
6
  active: boolean
8
7
  user: Pick<ManagementUsers, 'id' | 'names' | 'lastnames'>
9
8
  contacts: SystemDirectoryResponse[]
10
- legalAdvisories: LegalAdvisories[]
9
+ // legalAdvisories: LegalAdvisories[]
11
10
  // legalCaseMeetingNotes: LegalCaseMeetingNotesEntity[]
12
11
  // legalCases: LegalCasesEntity[]
13
12
  }
14
13
 
15
14
  export type LegalLawyersRequest = Omit<
16
15
  LegalLawyers,
17
- 'contacts' | 'legalAdvisories' | 'active' | 'user'
16
+ 'id' | 'contacts' | 'legalAdvisories' | 'active' | 'user'
18
17
  > & {
19
18
  user: string
20
19
  }