@risika/api-response-types 1.1.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/README.md +20 -0
- package/account/counter/decrement.ts +11 -0
- package/account/credit_policy/get.ts +62 -0
- package/account/credit_policy/get_active_countries.ts +11 -0
- package/account/credit_policy/set.ts +11 -0
- package/account/enterprise_credit_policies/create.ts +12 -0
- package/account/enterprise_credit_policies/evaluate.ts +106 -0
- package/account/enterprise_credit_policies/evaluate_monitoring_list.ts +96 -0
- package/account/enterprise_credit_policies/remove.ts +11 -0
- package/account/enterprise_credit_policies/schema/policy.ts +142 -0
- package/account/enterprise_credit_policies/support/outputs_table.ts +13 -0
- package/account/enterprise_credit_policies/support/rules_table.ts +14 -0
- package/account/enterprise_credit_policies/support/variables.ts +72 -0
- package/account/enterprise_credit_policies/update.ts +19 -0
- package/account/enterprise_credit_policies/validate.ts +17 -0
- package/account/enterprise_credit_policies.ts +35 -0
- package/account/index.ts +21 -0
- package/account/notes/add.ts +17 -0
- package/account/notes/get.ts +17 -0
- package/account/notes/list.ts +33 -0
- package/account/notes/remove.ts +11 -0
- package/account/status.ts +131 -0
- package/company/alike.ts +208 -0
- package/company/basics.ts +202 -0
- package/company/basics_list.ts +208 -0
- package/company/ean.ts +14 -0
- package/company/employees.ts +15 -0
- package/company/events/payment_remarks.ts +25 -0
- package/company/events.ts +46 -0
- package/company/hierarchy/child.ts +67 -0
- package/company/hierarchy/node.ts +97 -0
- package/company/hierarchy/parent.ts +67 -0
- package/company/hierarchy/single.ts +37 -0
- package/company/hierarchy/summary.ts +25 -0
- package/company/hierarchy/walkdown.ts +101 -0
- package/company/hierarchy/walkup.ts +101 -0
- package/company/history.ts +39 -0
- package/company/index.ts +20 -0
- package/company/operating.ts +29 -0
- package/company/owners.ts +20 -0
- package/company/production_unit.ts +39 -0
- package/company/relations.ts +65 -0
- package/convert_currency.ts +11 -0
- package/export/company.ts +85 -0
- package/export/index.ts +2 -0
- package/financial/index.ts +5 -0
- package/financial/numbers.ts +87 -0
- package/financial/performance.ts +35 -0
- package/financial/ratios.ts +37 -0
- package/financial/stats.ts +35 -0
- package/fraud_policy/fraud_indicators_get.ts +24 -0
- package/fraud_policy/get.ts +25 -0
- package/fraud_policy/index.ts +5 -0
- package/fraud_policy/set.ts +11 -0
- package/fraud_policy/set_request.ts +14 -0
- package/highlights.ts +67 -0
- package/index.ts +21 -0
- package/last_update.ts +44 -0
- package/list/api_versions.ts +9 -0
- package/list/auditors.ts +13 -0
- package/list/cities.ts +13 -0
- package/list/company_statuses.ts +13 -0
- package/list/company_types.ts +13 -0
- package/list/currencies.ts +11 -0
- package/list/employee_interval.ts +13 -0
- package/list/highlights.ts +16 -0
- package/list/index.ts +15 -0
- package/list/industries.ts +25 -0
- package/list/municipalities.ts +13 -0
- package/list/policy_outcomes.ts +14 -0
- package/list/policy_violations.ts +14 -0
- package/list/regions.ts +19 -0
- package/list/zipcodes.ts +13 -0
- package/liveness.ts +11 -0
- package/monitor/add.ts +17 -0
- package/monitor/export.ts +212 -0
- package/monitor/extract.ts +46 -0
- package/monitor/index.ts +20 -0
- package/monitor/list/add.ts +11 -0
- package/monitor/list/most_relevant.ts +51 -0
- package/monitor/list/most_relevant_list.ts +9 -0
- package/monitor/list/policy_violations.ts +32 -0
- package/monitor/list/remove.ts +11 -0
- package/monitor/list/rename.ts +11 -0
- package/monitor/list/show.ts +20 -0
- package/monitor/list/statistics/aggregated_highlights.ts +16 -0
- package/monitor/list/statistics/category.ts +50 -0
- package/monitor/list/statistics/compliance.ts +49 -0
- package/monitor/list/statistics/timeline.ts +43 -0
- package/monitor/list/visibility.ts +11 -0
- package/monitor/list.ts +212 -0
- package/monitor/listpaged.ts +219 -0
- package/monitor/remove.ts +17 -0
- package/monitor/verify.ts +12 -0
- package/package.json +1 -0
- package/person/index.ts +3 -0
- package/person/relations.ts +68 -0
- package/person/relations_list.ts +20 -0
- package/phone_numbers.ts +23 -0
- package/rating/credit/override.ts +17 -0
- package/rating/credit.ts +13 -0
- package/rating/index.ts +4 -0
- package/rating/scores.ts +26 -0
- package/readiness.ts +11 -0
- package/registration/debt.ts +54 -0
- package/registration/index.ts +3 -0
- package/registration/properties.ts +91 -0
- package/search/company.ts +74 -0
- package/search/index.ts +4 -0
- package/search/person.ts +22 -0
- package/search/production_units.ts +38 -0
- package/statistics/company_visits/list.ts +29 -0
- package/statistics/company_visits/register.ts +11 -0
- package/statistics/company_visits/summary.ts +18 -0
- package/statistics/index.ts +6 -0
- package/statistics/person_visits/list.ts +20 -0
- package/statistics/person_visits/register.ts +11 -0
- package/test/exception.ts +11 -0
- package/test/index.ts +2 -0
- package/validate/index.ts +2 -0
- package/validate/local_id.ts +21 -0
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* This file was automatically generated by json-schema-to-typescript.
|
|
5
|
+
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
6
|
+
* and run json-schema-to-typescript to regenerate this file.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
export type Basics = (
|
|
10
|
+
| {
|
|
11
|
+
[k: string]: unknown;
|
|
12
|
+
}
|
|
13
|
+
| {
|
|
14
|
+
[k: string]: unknown;
|
|
15
|
+
}
|
|
16
|
+
) & {
|
|
17
|
+
address?: {
|
|
18
|
+
city: string | null;
|
|
19
|
+
coname?: string | null;
|
|
20
|
+
coordinates: {
|
|
21
|
+
lat: number | null;
|
|
22
|
+
lng: number | null;
|
|
23
|
+
} | null;
|
|
24
|
+
country: string | null;
|
|
25
|
+
local_region: string | null;
|
|
26
|
+
municipality: string | null;
|
|
27
|
+
number: string | null;
|
|
28
|
+
postdistrict: string | null;
|
|
29
|
+
street: string | null;
|
|
30
|
+
zipcode: number | string | null;
|
|
31
|
+
};
|
|
32
|
+
advertisement_protection?: boolean | null;
|
|
33
|
+
audit_selected?: boolean | null;
|
|
34
|
+
bank?: {
|
|
35
|
+
company_name: string | null;
|
|
36
|
+
local_organization_id: LocalOrganizationId;
|
|
37
|
+
};
|
|
38
|
+
company_name?: string;
|
|
39
|
+
company_registers?:
|
|
40
|
+
| {
|
|
41
|
+
register: string;
|
|
42
|
+
valid_to: string | null;
|
|
43
|
+
valid_from: string;
|
|
44
|
+
}[]
|
|
45
|
+
| null;
|
|
46
|
+
company_secondary_names?:
|
|
47
|
+
| {
|
|
48
|
+
name: string | null;
|
|
49
|
+
valid_from: string;
|
|
50
|
+
valid_to: string | null;
|
|
51
|
+
}[]
|
|
52
|
+
| null;
|
|
53
|
+
company_name_changes_count?: number | null;
|
|
54
|
+
address_changes_count?: number | null;
|
|
55
|
+
company_type?: {
|
|
56
|
+
short: string | null;
|
|
57
|
+
long: string | null;
|
|
58
|
+
};
|
|
59
|
+
credit_policy?: null | CreditPolicyTrue | CreditPolicyFalse;
|
|
60
|
+
date_of_incorporation?: string | null;
|
|
61
|
+
email?: {
|
|
62
|
+
email: string | null;
|
|
63
|
+
hidden: boolean | null;
|
|
64
|
+
};
|
|
65
|
+
enterprise_credit_policy?: null;
|
|
66
|
+
financial_reports?: boolean;
|
|
67
|
+
financial_year?: {
|
|
68
|
+
start: string | null;
|
|
69
|
+
end: string | null;
|
|
70
|
+
};
|
|
71
|
+
holding_company?: boolean | null;
|
|
72
|
+
internal_id?: string | null;
|
|
73
|
+
last_report_date?: string | null;
|
|
74
|
+
listed?: boolean | null;
|
|
75
|
+
local_organization_id?: LocalOrganizationId;
|
|
76
|
+
main_industry_code?: IndustryObject;
|
|
77
|
+
number_of_employees?: {
|
|
78
|
+
interval: string | null;
|
|
79
|
+
specific: number | null;
|
|
80
|
+
};
|
|
81
|
+
phone?: {
|
|
82
|
+
phone_number: string | null;
|
|
83
|
+
hidden: boolean | null;
|
|
84
|
+
};
|
|
85
|
+
powers_to_bind?: string | null;
|
|
86
|
+
purpose?: string | null;
|
|
87
|
+
registered_capital?: {
|
|
88
|
+
value: number | null;
|
|
89
|
+
currency: null | string;
|
|
90
|
+
};
|
|
91
|
+
risk_assessment?: string | null;
|
|
92
|
+
risk_assessment_code?: ("LOW" | "MEDIUM" | "HIGH") | null;
|
|
93
|
+
score?: (1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10) | null;
|
|
94
|
+
score_data?: {
|
|
95
|
+
BOHR: ScoreModel;
|
|
96
|
+
NEWTON: ScoreModel;
|
|
97
|
+
};
|
|
98
|
+
secondary_industry_codes?: null | SecondaryIndustryObject;
|
|
99
|
+
status?: string | null;
|
|
100
|
+
status_code?: string | null;
|
|
101
|
+
active_not_distress?: boolean | null;
|
|
102
|
+
status_valid_from?: string | null;
|
|
103
|
+
ts?: string | null;
|
|
104
|
+
vat?: boolean | null;
|
|
105
|
+
webpage?: string | null;
|
|
106
|
+
};
|
|
107
|
+
export type SecondaryIndustryObject = {
|
|
108
|
+
group_name: string | null;
|
|
109
|
+
industry_code: string | null;
|
|
110
|
+
industry_description: string | null;
|
|
111
|
+
isic: NaseOrIsic;
|
|
112
|
+
nace: NaseOrIsic;
|
|
113
|
+
priority: number;
|
|
114
|
+
section: string | null;
|
|
115
|
+
}[];
|
|
116
|
+
export type BasicsList = Basics[];
|
|
117
|
+
|
|
118
|
+
export interface LocalOrganizationId {
|
|
119
|
+
country: ("DK" | "SE" | "NO" | "FI" | "FO" | "DE" | "UK" | "dk" | "se" | "no" | "fi" | "fo" | "de" | "uk") | null;
|
|
120
|
+
id: string | null;
|
|
121
|
+
hash?: string | null;
|
|
122
|
+
}
|
|
123
|
+
export interface CreditPolicyTrue {
|
|
124
|
+
allowed: true;
|
|
125
|
+
/**
|
|
126
|
+
* @maxItems 0
|
|
127
|
+
*/
|
|
128
|
+
conflicts: [];
|
|
129
|
+
}
|
|
130
|
+
export interface CreditPolicyFalse {
|
|
131
|
+
allowed: false;
|
|
132
|
+
/**
|
|
133
|
+
* @minItems 1
|
|
134
|
+
*/
|
|
135
|
+
conflicts: [
|
|
136
|
+
{
|
|
137
|
+
code:
|
|
138
|
+
| "POLICY_RISIKA_SCORE"
|
|
139
|
+
| "POLICY_AUDITOR_ASSISTANCE"
|
|
140
|
+
| "POLICY_COMPANY_TYPE"
|
|
141
|
+
| "POLICY_INDUSTRY"
|
|
142
|
+
| "POLICY_BANKRUPTCIES"
|
|
143
|
+
| "POLICY_BANKRUPTCIES_LONG"
|
|
144
|
+
| "POLICY_AGE"
|
|
145
|
+
| "POLICY_NEGATIVE_EQUITY"
|
|
146
|
+
| "POLICY_LOCAL_ID"
|
|
147
|
+
| "POLICY_ENTITY_ID"
|
|
148
|
+
| "POLICY_PREPAID_PHONE_NUMBER"
|
|
149
|
+
| "POLICY_PHONE_NUMBER_REGISTRY"
|
|
150
|
+
| "POLICY_DISTANCE_TO_CEO"
|
|
151
|
+
| "POLICY_AUDITOR_HAS_ID"
|
|
152
|
+
| "POLICY_PAYMENT_REMARKS_COUNT"
|
|
153
|
+
| "POLICY_PAYMENT_REMARKS_CREDITORS_COUNT"
|
|
154
|
+
| "POLICY_PAYMENT_REMARKS_TOTAL_AMOUNT"
|
|
155
|
+
| "POLICY_PAYMENT_REMARKS_MAX_REPAYMENT_TIME"
|
|
156
|
+
| "POLICY_DEBT"
|
|
157
|
+
| "POLICY_SHORT_TERM_DEBT"
|
|
158
|
+
| "POLICY_PROFIT_LOSS"
|
|
159
|
+
| "POLICY_NUMBER_OF_EMPLOYEES";
|
|
160
|
+
text: string;
|
|
161
|
+
},
|
|
162
|
+
...{
|
|
163
|
+
code:
|
|
164
|
+
| "POLICY_RISIKA_SCORE"
|
|
165
|
+
| "POLICY_AUDITOR_ASSISTANCE"
|
|
166
|
+
| "POLICY_COMPANY_TYPE"
|
|
167
|
+
| "POLICY_INDUSTRY"
|
|
168
|
+
| "POLICY_BANKRUPTCIES"
|
|
169
|
+
| "POLICY_BANKRUPTCIES_LONG"
|
|
170
|
+
| "POLICY_AGE"
|
|
171
|
+
| "POLICY_NEGATIVE_EQUITY"
|
|
172
|
+
| "POLICY_LOCAL_ID"
|
|
173
|
+
| "POLICY_ENTITY_ID"
|
|
174
|
+
| "POLICY_PREPAID_PHONE_NUMBER"
|
|
175
|
+
| "POLICY_PHONE_NUMBER_REGISTRY"
|
|
176
|
+
| "POLICY_DISTANCE_TO_CEO"
|
|
177
|
+
| "POLICY_AUDITOR_HAS_ID"
|
|
178
|
+
| "POLICY_PAYMENT_REMARKS_COUNT"
|
|
179
|
+
| "POLICY_PAYMENT_REMARKS_CREDITORS_COUNT"
|
|
180
|
+
| "POLICY_PAYMENT_REMARKS_TOTAL_AMOUNT"
|
|
181
|
+
| "POLICY_PAYMENT_REMARKS_MAX_REPAYMENT_TIME"
|
|
182
|
+
| "POLICY_DEBT"
|
|
183
|
+
| "POLICY_SHORT_TERM_DEBT"
|
|
184
|
+
| "POLICY_PROFIT_LOSS"
|
|
185
|
+
| "POLICY_NUMBER_OF_EMPLOYEES";
|
|
186
|
+
text: string;
|
|
187
|
+
}[]
|
|
188
|
+
];
|
|
189
|
+
}
|
|
190
|
+
export interface IndustryObject {
|
|
191
|
+
code: string | null;
|
|
192
|
+
description: string | null;
|
|
193
|
+
isic: NaseOrIsic;
|
|
194
|
+
nace: NaseOrIsic;
|
|
195
|
+
section: string | null;
|
|
196
|
+
}
|
|
197
|
+
export interface NaseOrIsic {
|
|
198
|
+
code: string | null;
|
|
199
|
+
section: string | null;
|
|
200
|
+
description: string | null;
|
|
201
|
+
}
|
|
202
|
+
export interface ScoreModel {
|
|
203
|
+
date?: string | null;
|
|
204
|
+
probability_of_distress: number | null;
|
|
205
|
+
risk_assessment: string | null;
|
|
206
|
+
risk_assessment_code: ("LOW" | "MEDIUM" | "HIGH") | null;
|
|
207
|
+
score: (1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10) | null;
|
|
208
|
+
}
|
package/company/ean.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* This file was automatically generated by json-schema-to-typescript.
|
|
5
|
+
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
6
|
+
* and run json-schema-to-typescript to regenerate this file.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
export type Ean = {
|
|
10
|
+
local_id: string;
|
|
11
|
+
key: string | null;
|
|
12
|
+
keytype: string | null;
|
|
13
|
+
name: string | null;
|
|
14
|
+
}[];
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* This file was automatically generated by json-schema-to-typescript.
|
|
5
|
+
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
6
|
+
* and run json-schema-to-typescript to regenerate this file.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
export type Employees = {
|
|
10
|
+
date: string;
|
|
11
|
+
employees_interval: string | null;
|
|
12
|
+
employees_number: number | null;
|
|
13
|
+
fte_interval: string | null;
|
|
14
|
+
fte_number: number | null;
|
|
15
|
+
}[];
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* This file was automatically generated by json-schema-to-typescript.
|
|
5
|
+
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
6
|
+
* and run json-schema-to-typescript to regenerate this file.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
export interface PaymentRemarks {
|
|
10
|
+
remarks: {
|
|
11
|
+
amount: number | null;
|
|
12
|
+
case_id: string | null;
|
|
13
|
+
creditor: string | null;
|
|
14
|
+
provider: string | null;
|
|
15
|
+
registered: string;
|
|
16
|
+
settlement_date: string | null;
|
|
17
|
+
settlement_type: string | null;
|
|
18
|
+
}[];
|
|
19
|
+
total_unsettled: number | null;
|
|
20
|
+
unique_creditors: number | null;
|
|
21
|
+
avg_days_unsettled: number | null;
|
|
22
|
+
max_days_unsettled: number | null;
|
|
23
|
+
total_unsettled_amount: number | null;
|
|
24
|
+
percentage_partially_paid: number | null;
|
|
25
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* This file was automatically generated by json-schema-to-typescript.
|
|
5
|
+
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
6
|
+
* and run json-schema-to-typescript to regenerate this file.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
export type Events =
|
|
10
|
+
| []
|
|
11
|
+
| [string]
|
|
12
|
+
| [string, string]
|
|
13
|
+
| [string, string, string]
|
|
14
|
+
| [
|
|
15
|
+
string,
|
|
16
|
+
string,
|
|
17
|
+
string,
|
|
18
|
+
{
|
|
19
|
+
link: string;
|
|
20
|
+
text: string | null;
|
|
21
|
+
case_id: string;
|
|
22
|
+
court_date: string;
|
|
23
|
+
event_date: string;
|
|
24
|
+
decree_date: string;
|
|
25
|
+
corrected_by: string | null;
|
|
26
|
+
correction_of: string | null;
|
|
27
|
+
court_case_id: string | null;
|
|
28
|
+
}
|
|
29
|
+
]
|
|
30
|
+
| [
|
|
31
|
+
string,
|
|
32
|
+
string,
|
|
33
|
+
string,
|
|
34
|
+
{
|
|
35
|
+
link: string;
|
|
36
|
+
text: string | null;
|
|
37
|
+
case_id: string;
|
|
38
|
+
court_date: string;
|
|
39
|
+
event_date: string;
|
|
40
|
+
decree_date: string;
|
|
41
|
+
corrected_by: string | null;
|
|
42
|
+
correction_of: string | null;
|
|
43
|
+
court_case_id: string | null;
|
|
44
|
+
},
|
|
45
|
+
string
|
|
46
|
+
][];
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* This file was automatically generated by json-schema-to-typescript.
|
|
5
|
+
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
6
|
+
* and run json-schema-to-typescript to regenerate this file.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
export type HierarchyList = HierarchySingle[];
|
|
10
|
+
export type Child = HierarchySingle[];
|
|
11
|
+
|
|
12
|
+
export interface HierarchySingle {
|
|
13
|
+
assets: number | null;
|
|
14
|
+
currency: string | null;
|
|
15
|
+
current_assets: number | null;
|
|
16
|
+
equity: number | null;
|
|
17
|
+
financial_trend: {
|
|
18
|
+
assets: Trends;
|
|
19
|
+
current_assets: Trends;
|
|
20
|
+
equity: Trends;
|
|
21
|
+
profit_loss: Trends;
|
|
22
|
+
report_period: {
|
|
23
|
+
current: {
|
|
24
|
+
report_end: string;
|
|
25
|
+
report_start: string;
|
|
26
|
+
};
|
|
27
|
+
previous: {
|
|
28
|
+
report_end: string;
|
|
29
|
+
report_start: string;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
} | null;
|
|
33
|
+
functions: HierarchyFunctions;
|
|
34
|
+
local_id: LocalOrganizationId;
|
|
35
|
+
local_organization_id: LocalOrganizationId;
|
|
36
|
+
name: string | null;
|
|
37
|
+
personal_id: string | null;
|
|
38
|
+
profit_loss: number | null;
|
|
39
|
+
score: number | null;
|
|
40
|
+
shares?: number | null;
|
|
41
|
+
shares_interval?: string | null;
|
|
42
|
+
type: string | null;
|
|
43
|
+
valid_from?: string | null;
|
|
44
|
+
children?: HierarchyList;
|
|
45
|
+
parents?: HierarchyList;
|
|
46
|
+
}
|
|
47
|
+
export interface Trends {
|
|
48
|
+
current: number;
|
|
49
|
+
previous: number;
|
|
50
|
+
trend: "UP" | "NEUTRAL" | "DOWN" | "UNKNOWN";
|
|
51
|
+
}
|
|
52
|
+
export interface HierarchyFunctions {
|
|
53
|
+
/**
|
|
54
|
+
* This interface was referenced by `HierarchyFunctions`'s JSON-Schema definition
|
|
55
|
+
* via the `patternProperty` "^.*$".
|
|
56
|
+
*/
|
|
57
|
+
[k: string]: {
|
|
58
|
+
name?: string | null;
|
|
59
|
+
personal_id?: string | null;
|
|
60
|
+
valid_from?: string;
|
|
61
|
+
} | null;
|
|
62
|
+
}
|
|
63
|
+
export interface LocalOrganizationId {
|
|
64
|
+
country: ("DK" | "SE" | "NO" | "FI" | "FO" | "DE" | "UK" | "dk" | "se" | "no" | "fi" | "fo" | "de" | "uk") | null;
|
|
65
|
+
id: string | null;
|
|
66
|
+
hash?: string | null;
|
|
67
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* This file was automatically generated by json-schema-to-typescript.
|
|
5
|
+
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
6
|
+
* and run json-schema-to-typescript to regenerate this file.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
export type HierarchyList = HierarchySingle[];
|
|
10
|
+
|
|
11
|
+
export interface Node {
|
|
12
|
+
this?: {
|
|
13
|
+
assets?: number | null;
|
|
14
|
+
currency?: string | null;
|
|
15
|
+
current_assets?: number | null;
|
|
16
|
+
equity?: number | null;
|
|
17
|
+
financial_trend?: {
|
|
18
|
+
assets: Trends;
|
|
19
|
+
current_assets: Trends;
|
|
20
|
+
equity: Trends;
|
|
21
|
+
profit_loss: Trends;
|
|
22
|
+
report_period: {
|
|
23
|
+
current: {
|
|
24
|
+
report_end: string;
|
|
25
|
+
report_start: string;
|
|
26
|
+
};
|
|
27
|
+
previous: {
|
|
28
|
+
report_end: string;
|
|
29
|
+
report_start: string;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
functions?: HierarchyFunctions;
|
|
34
|
+
local_organization_id?: LocalOrganizationId;
|
|
35
|
+
name?: string;
|
|
36
|
+
profit_loss?: number | null;
|
|
37
|
+
score?: number;
|
|
38
|
+
};
|
|
39
|
+
children?: HierarchyList;
|
|
40
|
+
parents?: HierarchyList;
|
|
41
|
+
}
|
|
42
|
+
export interface Trends {
|
|
43
|
+
current: number;
|
|
44
|
+
previous: number;
|
|
45
|
+
trend: "UP" | "NEUTRAL" | "DOWN" | "UNKNOWN";
|
|
46
|
+
}
|
|
47
|
+
export interface HierarchyFunctions {
|
|
48
|
+
/**
|
|
49
|
+
* This interface was referenced by `HierarchyFunctions`'s JSON-Schema definition
|
|
50
|
+
* via the `patternProperty` "^.*$".
|
|
51
|
+
*/
|
|
52
|
+
[k: string]: {
|
|
53
|
+
name?: string | null;
|
|
54
|
+
personal_id?: string | null;
|
|
55
|
+
valid_from?: string;
|
|
56
|
+
} | null;
|
|
57
|
+
}
|
|
58
|
+
export interface LocalOrganizationId {
|
|
59
|
+
country: ("DK" | "SE" | "NO" | "FI" | "FO" | "DE" | "UK" | "dk" | "se" | "no" | "fi" | "fo" | "de" | "uk") | null;
|
|
60
|
+
id: string | null;
|
|
61
|
+
hash?: string | null;
|
|
62
|
+
}
|
|
63
|
+
export interface HierarchySingle {
|
|
64
|
+
assets: number | null;
|
|
65
|
+
currency: string | null;
|
|
66
|
+
current_assets: number | null;
|
|
67
|
+
equity: number | null;
|
|
68
|
+
financial_trend: {
|
|
69
|
+
assets: Trends;
|
|
70
|
+
current_assets: Trends;
|
|
71
|
+
equity: Trends;
|
|
72
|
+
profit_loss: Trends;
|
|
73
|
+
report_period: {
|
|
74
|
+
current: {
|
|
75
|
+
report_end: string;
|
|
76
|
+
report_start: string;
|
|
77
|
+
};
|
|
78
|
+
previous: {
|
|
79
|
+
report_end: string;
|
|
80
|
+
report_start: string;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
} | null;
|
|
84
|
+
functions: HierarchyFunctions;
|
|
85
|
+
local_id: LocalOrganizationId;
|
|
86
|
+
local_organization_id: LocalOrganizationId;
|
|
87
|
+
name: string | null;
|
|
88
|
+
personal_id: string | null;
|
|
89
|
+
profit_loss: number | null;
|
|
90
|
+
score: number | null;
|
|
91
|
+
shares?: number | null;
|
|
92
|
+
shares_interval?: string | null;
|
|
93
|
+
type: string | null;
|
|
94
|
+
valid_from?: string | null;
|
|
95
|
+
children?: HierarchyList;
|
|
96
|
+
parents?: HierarchyList;
|
|
97
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* This file was automatically generated by json-schema-to-typescript.
|
|
5
|
+
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
6
|
+
* and run json-schema-to-typescript to regenerate this file.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
export type HierarchyList = HierarchySingle[];
|
|
10
|
+
export type Parent = HierarchySingle[];
|
|
11
|
+
|
|
12
|
+
export interface HierarchySingle {
|
|
13
|
+
assets: number | null;
|
|
14
|
+
currency: string | null;
|
|
15
|
+
current_assets: number | null;
|
|
16
|
+
equity: number | null;
|
|
17
|
+
financial_trend: {
|
|
18
|
+
assets: Trends;
|
|
19
|
+
current_assets: Trends;
|
|
20
|
+
equity: Trends;
|
|
21
|
+
profit_loss: Trends;
|
|
22
|
+
report_period: {
|
|
23
|
+
current: {
|
|
24
|
+
report_end: string;
|
|
25
|
+
report_start: string;
|
|
26
|
+
};
|
|
27
|
+
previous: {
|
|
28
|
+
report_end: string;
|
|
29
|
+
report_start: string;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
} | null;
|
|
33
|
+
functions: HierarchyFunctions;
|
|
34
|
+
local_id: LocalOrganizationId;
|
|
35
|
+
local_organization_id: LocalOrganizationId;
|
|
36
|
+
name: string | null;
|
|
37
|
+
personal_id: string | null;
|
|
38
|
+
profit_loss: number | null;
|
|
39
|
+
score: number | null;
|
|
40
|
+
shares?: number | null;
|
|
41
|
+
shares_interval?: string | null;
|
|
42
|
+
type: string | null;
|
|
43
|
+
valid_from?: string | null;
|
|
44
|
+
children?: HierarchyList;
|
|
45
|
+
parents?: HierarchyList;
|
|
46
|
+
}
|
|
47
|
+
export interface Trends {
|
|
48
|
+
current: number;
|
|
49
|
+
previous: number;
|
|
50
|
+
trend: "UP" | "NEUTRAL" | "DOWN" | "UNKNOWN";
|
|
51
|
+
}
|
|
52
|
+
export interface HierarchyFunctions {
|
|
53
|
+
/**
|
|
54
|
+
* This interface was referenced by `HierarchyFunctions`'s JSON-Schema definition
|
|
55
|
+
* via the `patternProperty` "^.*$".
|
|
56
|
+
*/
|
|
57
|
+
[k: string]: {
|
|
58
|
+
name?: string | null;
|
|
59
|
+
personal_id?: string | null;
|
|
60
|
+
valid_from?: string;
|
|
61
|
+
} | null;
|
|
62
|
+
}
|
|
63
|
+
export interface LocalOrganizationId {
|
|
64
|
+
country: ("DK" | "SE" | "NO" | "FI" | "FO" | "DE" | "UK" | "dk" | "se" | "no" | "fi" | "fo" | "de" | "uk") | null;
|
|
65
|
+
id: string | null;
|
|
66
|
+
hash?: string | null;
|
|
67
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* This file was automatically generated by json-schema-to-typescript.
|
|
5
|
+
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
6
|
+
* and run json-schema-to-typescript to regenerate this file.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
export type ParentList = {
|
|
10
|
+
entity_id: string | null;
|
|
11
|
+
local_organization_id: LocalOrganizationId;
|
|
12
|
+
name: string | null;
|
|
13
|
+
valid_to: (string | null) | string;
|
|
14
|
+
share_of_ownership_percentage: string | null;
|
|
15
|
+
children: ParentList;
|
|
16
|
+
}[];
|
|
17
|
+
export type ChildList = {
|
|
18
|
+
entity_id: string | null;
|
|
19
|
+
local_organization_id: LocalOrganizationId;
|
|
20
|
+
name: string | null;
|
|
21
|
+
valid_to: (string | null) | string;
|
|
22
|
+
share_of_ownership_percentage: string | null;
|
|
23
|
+
parents: ChildList;
|
|
24
|
+
}[];
|
|
25
|
+
|
|
26
|
+
export interface Single {
|
|
27
|
+
parents: ParentList;
|
|
28
|
+
children: ChildList;
|
|
29
|
+
personal_id: number | string;
|
|
30
|
+
local_organization_id: LocalOrganizationId;
|
|
31
|
+
name: string | null;
|
|
32
|
+
}
|
|
33
|
+
export interface LocalOrganizationId {
|
|
34
|
+
country: ("DK" | "SE" | "NO" | "FI" | "FO" | "DE" | "UK" | "dk" | "se" | "no" | "fi" | "fo" | "de" | "uk") | null;
|
|
35
|
+
id: string | null;
|
|
36
|
+
hash?: string | null;
|
|
37
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* This file was automatically generated by json-schema-to-typescript.
|
|
5
|
+
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
6
|
+
* and run json-schema-to-typescript to regenerate this file.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
export type ParentsOrChildList = {
|
|
10
|
+
local_organization_id: LocalOrganizationId;
|
|
11
|
+
personal_id: (number | string) | null;
|
|
12
|
+
}[];
|
|
13
|
+
|
|
14
|
+
export interface Summary {
|
|
15
|
+
name: string;
|
|
16
|
+
children_count: number;
|
|
17
|
+
parents_count: number;
|
|
18
|
+
parents: ParentsOrChildList;
|
|
19
|
+
children: ParentsOrChildList;
|
|
20
|
+
}
|
|
21
|
+
export interface LocalOrganizationId {
|
|
22
|
+
country: ("DK" | "SE" | "NO" | "FI" | "FO" | "DE" | "UK" | "dk" | "se" | "no" | "fi" | "fo" | "de" | "uk") | null;
|
|
23
|
+
id: string | null;
|
|
24
|
+
hash?: string | null;
|
|
25
|
+
}
|