@risika/api-response-types 1.27.0 → 1.29.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.
- package/company/hierarchy/child.ts +4 -1
- package/company/hierarchy/node.ts +1 -0
- package/company/hierarchy/parent.ts +4 -1
- package/company/hierarchy/single.ts +1 -0
- package/company/owners.ts +1 -1
- package/company/relations.ts +1 -0
- package/monitor/export.ts +1 -0
- package/monitor/list/most_relevant.ts +10 -8
- package/monitor/list/most_relevant_list.ts +3 -1
- package/monitor/list.ts +1 -0
- package/monitor/listpaged.ts +1 -0
- package/package.json +1 -1
- package/person/relations.ts +1 -1
- package/search/person.ts +1 -1
- package/statistics/person_visits/list.ts +10 -8
|
@@ -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;
|
|
@@ -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
package/company/relations.ts
CHANGED
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
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
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;
|
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;
|
package/monitor/listpaged.ts
CHANGED
|
@@ -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.
|
|
1
|
+
{"name":"@risika/api-response-types","version":"1.29.0","main":"index.js","license":"MIT","type":"module"}
|
package/person/relations.ts
CHANGED
|
@@ -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
|
|
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
|
@@ -6,14 +6,16 @@
|
|
|
6
6
|
* and run json-schema-to-typescript to regenerate this file.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
export
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
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;
|