@risika/api-response-types 1.26.0 → 1.28.0

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.
@@ -7,8 +7,11 @@
7
7
  */
8
8
 
9
9
  export type HierarchyList = HierarchySingle[];
10
- export type Child = HierarchySingle[];
11
10
 
11
+ export interface Child {
12
+ has_bo: boolean;
13
+ results: HierarchyList;
14
+ }
12
15
  export interface HierarchySingle {
13
16
  assets: number | null;
14
17
  currency: string | null;
@@ -38,6 +38,7 @@ export interface Node {
38
38
  };
39
39
  children?: HierarchyList;
40
40
  parents?: HierarchyList;
41
+ has_bo?: boolean;
41
42
  }
42
43
  export interface Trends {
43
44
  current: number;
@@ -7,8 +7,11 @@
7
7
  */
8
8
 
9
9
  export type HierarchyList = HierarchySingle[];
10
- export type Parent = HierarchySingle[];
11
10
 
11
+ export interface Parent {
12
+ has_bo: boolean;
13
+ results: HierarchyList;
14
+ }
12
15
  export interface HierarchySingle {
13
16
  assets: number | null;
14
17
  currency: string | null;
@@ -29,6 +29,7 @@ export interface Single {
29
29
  personal_id: number | string;
30
30
  local_organization_id: LocalOrganizationId;
31
31
  name: string | null;
32
+ has_bo?: boolean;
32
33
  }
33
34
  export interface LocalOrganizationId {
34
35
  country: ("DK" | "SE" | "NO" | "FI" | "FO" | "DE" | "UK" | "dk" | "se" | "no" | "fi" | "fo" | "de" | "uk") | null;
package/company/owners.ts CHANGED
@@ -17,5 +17,5 @@ export interface Owners {
17
17
  shares: number;
18
18
  beneficial_owner: boolean;
19
19
  }[];
20
- has_bo: boolean;
20
+ has_bo?: boolean;
21
21
  }
@@ -32,6 +32,7 @@ export interface Relations {
32
32
  }[];
33
33
  type: string;
34
34
  }[];
35
+ has_bo?: boolean;
35
36
  }
36
37
  export interface LocalOrganizationId {
37
38
  country: ("DK" | "SE" | "NO" | "FI" | "FO" | "DE" | "UK" | "dk" | "se" | "no" | "fi" | "fo" | "de" | "uk") | null;
package/monitor/export.ts CHANGED
@@ -70,6 +70,7 @@ export interface CompanyMonitorListAllSchema {
70
70
  fraud_indicators_count?: number | null;
71
71
  }[];
72
72
  count?: number;
73
+ has_bo?: boolean;
73
74
  }
74
75
  export interface LocalOrganizationId {
75
76
  country: ("DK" | "SE" | "NO" | "FI" | "FO" | "DE" | "UK" | "dk" | "se" | "no" | "fi" | "fo" | "de" | "uk") | null;
@@ -6,14 +6,16 @@
6
6
  * and run json-schema-to-typescript to regenerate this file.
7
7
  */
8
8
 
9
- export type MostRelevant = {
10
- local_organization_id?: LocalOrganizationId;
11
- name?: string;
12
- weight?: string;
13
- date?: string;
14
- changes?: MonitorEvent[];
15
- }[];
16
-
9
+ export interface MostRelevant {
10
+ results: {
11
+ local_organization_id?: LocalOrganizationId;
12
+ name?: string;
13
+ weight?: string;
14
+ date?: string;
15
+ changes?: MonitorEvent[];
16
+ }[];
17
+ has_bo: boolean;
18
+ }
17
19
  export interface LocalOrganizationId {
18
20
  country: ("DK" | "SE" | "NO" | "FI" | "FO" | "DE" | "UK" | "dk" | "se" | "no" | "fi" | "fo" | "de" | "uk") | null;
19
21
  id: string | null;
@@ -6,4 +6,6 @@
6
6
  * and run json-schema-to-typescript to regenerate this file.
7
7
  */
8
8
 
9
- export interface MostRelevantList {}
9
+ export interface MostRelevantList {
10
+ has_bo?: boolean;
11
+ }
package/monitor/list.ts CHANGED
@@ -70,6 +70,7 @@ export interface CompanyMonitorListAllSchema {
70
70
  fraud_indicators_count?: number | null;
71
71
  }[];
72
72
  count?: number;
73
+ has_bo?: boolean;
73
74
  }
74
75
  export interface LocalOrganizationId {
75
76
  country: ("DK" | "SE" | "NO" | "FI" | "FO" | "DE" | "UK" | "dk" | "se" | "no" | "fi" | "fo" | "de" | "uk") | null;
@@ -77,6 +77,7 @@ export interface Listpaged {
77
77
  page_count?: number;
78
78
  count?: number;
79
79
  credit_policy_used?: "credit_automator" | "credit_policy";
80
+ has_bo?: boolean;
80
81
  }
81
82
  export interface LocalOrganizationId {
82
83
  country: ("DK" | "SE" | "NO" | "FI" | "FO" | "DE" | "UK" | "dk" | "se" | "no" | "fi" | "fo" | "de" | "uk") | null;
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@risika/api-response-types","version":"1.26.0","main":"index.js","license":"MIT","type":"module"}
1
+ {"name":"@risika/api-response-types","version":"1.28.0","main":"index.js","license":"MIT","type":"module"}
@@ -35,7 +35,7 @@ export interface Relations {
35
35
  };
36
36
  local_organization_id: null | LocalOrganizationId;
37
37
  politically_exposed_persons: null | Pep;
38
- has_bo: boolean;
38
+ has_bo?: boolean;
39
39
  }
40
40
  export interface LocalOrganizationId {
41
41
  country: ("DK" | "SE" | "NO" | "FI" | "FO" | "DE" | "UK" | "dk" | "se" | "no" | "fi" | "fo" | "de" | "uk") | null;
package/search/person.ts CHANGED
@@ -15,7 +15,7 @@ export interface Person {
15
15
  active_company_relations: string[];
16
16
  }[];
17
17
  count: number;
18
- has_bo: boolean;
18
+ has_bo?: boolean;
19
19
  }
20
20
  export interface PersonSearchFunction {
21
21
  active: boolean;
@@ -6,14 +6,16 @@
6
6
  * and run json-schema-to-typescript to regenerate this file.
7
7
  */
8
8
 
9
- export type List = {
10
- personal_id: number | string;
11
- name: string;
12
- aliases: string[];
13
- functions: PersonSearchFunction[] | null;
14
- active_company_relations: string[];
15
- }[];
16
-
9
+ export interface List {
10
+ person_visits: {
11
+ personal_id: number | string;
12
+ name: string;
13
+ aliases: string[];
14
+ functions: PersonSearchFunction[] | null;
15
+ active_company_relations: string[];
16
+ }[];
17
+ has_bo?: boolean;
18
+ }
17
19
  export interface PersonSearchFunction {
18
20
  active: boolean;
19
21
  function: null | string;