@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,35 @@
|
|
|
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 Stats = {
|
|
10
|
+
period: {
|
|
11
|
+
start: string;
|
|
12
|
+
end: string;
|
|
13
|
+
};
|
|
14
|
+
pdf_link: null | string;
|
|
15
|
+
type: null | string;
|
|
16
|
+
class_of_reporting_entity: null | string;
|
|
17
|
+
approval_date: null | string;
|
|
18
|
+
general_meeting_date: null | string;
|
|
19
|
+
average_number_of_employees: null | number;
|
|
20
|
+
auditor: {
|
|
21
|
+
name: null | string;
|
|
22
|
+
description: null | string;
|
|
23
|
+
type_of_assistance: null | string;
|
|
24
|
+
local_organization_id: LocalOrganizationId;
|
|
25
|
+
company_name: null | string;
|
|
26
|
+
};
|
|
27
|
+
currency: null | string;
|
|
28
|
+
ifrs: null | boolean;
|
|
29
|
+
}[];
|
|
30
|
+
|
|
31
|
+
export interface LocalOrganizationId {
|
|
32
|
+
country: ("DK" | "SE" | "NO" | "FI" | "FO" | "DE" | "UK" | "dk" | "se" | "no" | "fi" | "fo" | "de" | "uk") | null;
|
|
33
|
+
id: string | null;
|
|
34
|
+
hash?: string | null;
|
|
35
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
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 FraudIndicatorsGet {
|
|
10
|
+
indicators: {
|
|
11
|
+
companies_from_same_address?: number;
|
|
12
|
+
frequency_of_address_changes?: number;
|
|
13
|
+
duplicate_statements?: number;
|
|
14
|
+
duplicate_statements_across_companies?: number;
|
|
15
|
+
ownership_changes?: number;
|
|
16
|
+
purchase_of_new_company?: number;
|
|
17
|
+
profit_vs_employees_abnormalities?: number;
|
|
18
|
+
distance_to_ceo?: number;
|
|
19
|
+
company_name_changes?: number;
|
|
20
|
+
prepaid_phone_number?: number;
|
|
21
|
+
phone_number_registry?: number;
|
|
22
|
+
};
|
|
23
|
+
count: number;
|
|
24
|
+
}
|
|
@@ -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 Get {
|
|
10
|
+
enabled: boolean;
|
|
11
|
+
policy: {
|
|
12
|
+
companies_from_same_address: boolean;
|
|
13
|
+
frequency_of_address_changes: boolean;
|
|
14
|
+
duplicate_statements: boolean;
|
|
15
|
+
duplicate_statements_across_companies: boolean;
|
|
16
|
+
ownership_changes: boolean;
|
|
17
|
+
purchase_of_new_company: boolean;
|
|
18
|
+
profit_vs_employees_abnormalities: boolean;
|
|
19
|
+
distance_to_ceo: boolean;
|
|
20
|
+
company_name_changes: boolean;
|
|
21
|
+
prepaid_phone_number: boolean;
|
|
22
|
+
phone_number_registry: boolean;
|
|
23
|
+
};
|
|
24
|
+
updated: string;
|
|
25
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
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 Set {
|
|
10
|
+
status: "ok";
|
|
11
|
+
}
|
|
@@ -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
|
+
/**
|
|
10
|
+
* Request JSON object used for the endpoint
|
|
11
|
+
*/
|
|
12
|
+
export interface SetRequest {
|
|
13
|
+
[k: string]: unknown;
|
|
14
|
+
}
|
package/highlights.ts
ADDED
|
@@ -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 Highlights1 = (
|
|
10
|
+
| null
|
|
11
|
+
| {}
|
|
12
|
+
| {
|
|
13
|
+
url: string;
|
|
14
|
+
latest_control: number;
|
|
15
|
+
latest_control_date: string;
|
|
16
|
+
local_production_unit: {};
|
|
17
|
+
}[]
|
|
18
|
+
| {
|
|
19
|
+
personal_id: string;
|
|
20
|
+
local_id: string[];
|
|
21
|
+
}[]
|
|
22
|
+
| {
|
|
23
|
+
status: string | null;
|
|
24
|
+
valid_from: string | null;
|
|
25
|
+
valid_to: string | null;
|
|
26
|
+
}[]
|
|
27
|
+
)[];
|
|
28
|
+
|
|
29
|
+
export interface Highlights {
|
|
30
|
+
highlights: {
|
|
31
|
+
address_changes?: Highlight;
|
|
32
|
+
auditor_changes?: Highlight;
|
|
33
|
+
age?: Highlight;
|
|
34
|
+
change_in_employees?: Highlight;
|
|
35
|
+
management_changes?: Highlight;
|
|
36
|
+
connected_bankruptcies?: Highlight;
|
|
37
|
+
corona_exposure?: Highlight;
|
|
38
|
+
current_ratio?: Highlight;
|
|
39
|
+
equity?: Highlight;
|
|
40
|
+
health_inspection?: Highlight;
|
|
41
|
+
holding?: Highlight;
|
|
42
|
+
industry?: Highlight;
|
|
43
|
+
industry_risk?: Highlight;
|
|
44
|
+
intangible_assets?: Highlight;
|
|
45
|
+
old_financial_statement?: Highlight;
|
|
46
|
+
one_financial_statement?: Highlight;
|
|
47
|
+
politically_exposed_person?: Highlight;
|
|
48
|
+
prior_distress?: Highlight;
|
|
49
|
+
profit_loss?: Highlight;
|
|
50
|
+
return_on_assets?: Highlight;
|
|
51
|
+
change_in_revenue?: Highlight;
|
|
52
|
+
solidity_ratio?: Highlight;
|
|
53
|
+
three_years_profit_loss?: Highlight;
|
|
54
|
+
timely_delivery?: Highlight;
|
|
55
|
+
type_of_auditor_assistance?: Highlight;
|
|
56
|
+
vat?: Highlight;
|
|
57
|
+
gas_and_electricity_exposure?: Highlight;
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
export interface Highlight {
|
|
61
|
+
title: string;
|
|
62
|
+
message: string;
|
|
63
|
+
description: string;
|
|
64
|
+
classification: "positive" | "neutral" | "negative";
|
|
65
|
+
weight: number | null;
|
|
66
|
+
data: Highlights1 | null;
|
|
67
|
+
}
|
package/index.ts
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
export * as Account from "./account"
|
|
3
|
+
export * as Company from "./company"
|
|
4
|
+
export * as ConvertCurrency from "./convert_currency"
|
|
5
|
+
export * as Export from "./export"
|
|
6
|
+
export * as Financial from "./financial"
|
|
7
|
+
export * as FraudPolicy from "./fraud_policy"
|
|
8
|
+
export * as Highlights from "./highlights"
|
|
9
|
+
export * as LastUpdate from "./last_update"
|
|
10
|
+
export * as List from "./list"
|
|
11
|
+
export * as Liveness from "./liveness"
|
|
12
|
+
export * as Monitor from "./monitor"
|
|
13
|
+
export * as Person from "./person"
|
|
14
|
+
export * as PhoneNumbers from "./phone_numbers"
|
|
15
|
+
export * as Rating from "./rating"
|
|
16
|
+
export * as Readiness from "./readiness"
|
|
17
|
+
export * as Registration from "./registration"
|
|
18
|
+
export * as Search from "./search"
|
|
19
|
+
export * as Statistics from "./statistics"
|
|
20
|
+
export * as Test from "./test"
|
|
21
|
+
export * as Validate from "./validate"
|
package/last_update.ts
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
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 LastUpdate {
|
|
10
|
+
updates: (
|
|
11
|
+
| {
|
|
12
|
+
last_update: string;
|
|
13
|
+
local_organization_id: LocalOrganizationId;
|
|
14
|
+
}
|
|
15
|
+
| {
|
|
16
|
+
last_update: string;
|
|
17
|
+
production_unit_id: ProductionUnitId;
|
|
18
|
+
}
|
|
19
|
+
)[];
|
|
20
|
+
rejected: (
|
|
21
|
+
| {
|
|
22
|
+
local_organization_id: {
|
|
23
|
+
country: "DK" | "SE" | "NO" | "FI" | "FO" | "DE" | "UK" | "dk" | "se" | "no" | "fi" | "fo" | "de" | "uk";
|
|
24
|
+
local_id: string | null;
|
|
25
|
+
hash?: string;
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
| {
|
|
29
|
+
production_unit_id: {
|
|
30
|
+
country: "DK" | "SE" | "NO" | "FI" | "FO" | "DE" | "UK" | "dk" | "se" | "no" | "fi" | "fo" | "de" | "uk";
|
|
31
|
+
unit_id: string;
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
)[];
|
|
35
|
+
}
|
|
36
|
+
export interface LocalOrganizationId {
|
|
37
|
+
country: ("DK" | "SE" | "NO" | "FI" | "FO" | "DE" | "UK" | "dk" | "se" | "no" | "fi" | "fo" | "de" | "uk") | null;
|
|
38
|
+
id: string | null;
|
|
39
|
+
hash?: string | null;
|
|
40
|
+
}
|
|
41
|
+
export interface ProductionUnitId {
|
|
42
|
+
country: ("DK" | "SE" | "NO" | "FI" | "FO" | "DE" | "UK" | "dk" | "se" | "no" | "fi" | "fo" | "de" | "uk") | null;
|
|
43
|
+
id: string | null;
|
|
44
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
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 ApiVersions = string[];
|
package/list/auditors.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
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 Auditors {
|
|
10
|
+
country: "DK" | "SE" | "NO" | "FI" | "FO" | "DE" | "UK" | "dk" | "se" | "no" | "fi" | "fo" | "de" | "uk";
|
|
11
|
+
auditors: string[];
|
|
12
|
+
last_updated: string;
|
|
13
|
+
}
|
package/list/cities.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
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 Cities {
|
|
10
|
+
country: "DK" | "SE" | "NO" | "FI" | "FO" | "DE" | "UK" | "dk" | "se" | "no" | "fi" | "fo" | "de" | "uk";
|
|
11
|
+
cities: string[];
|
|
12
|
+
last_updated: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
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 CompanyStatuses {
|
|
10
|
+
company_statuses: {}[];
|
|
11
|
+
last_updated: string | null;
|
|
12
|
+
country: "DK" | "SE" | "NO" | "FI" | "FO" | "DE" | "UK" | "dk" | "se" | "no" | "fi" | "fo" | "de" | "uk";
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
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 CompanyTypes {
|
|
10
|
+
company_types: {}[];
|
|
11
|
+
last_updated: string | null;
|
|
12
|
+
country: "DK" | "SE" | "NO" | "FI" | "FO" | "DE" | "UK" | "dk" | "se" | "no" | "fi" | "fo" | "de" | "uk";
|
|
13
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
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 Currencies {
|
|
10
|
+
currencies: string[];
|
|
11
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
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 EmployeeInterval {
|
|
10
|
+
country: "DK" | "SE" | "NO" | "FI" | "FO" | "DE" | "UK" | "dk" | "se" | "no" | "fi" | "fo" | "de" | "uk";
|
|
11
|
+
employee_interval: string[];
|
|
12
|
+
last_updated: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
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 Highlights {
|
|
10
|
+
highlights: {
|
|
11
|
+
category?: string;
|
|
12
|
+
title?: string;
|
|
13
|
+
value?: string;
|
|
14
|
+
header?: string;
|
|
15
|
+
}[];
|
|
16
|
+
}
|
package/list/index.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
export type { ApiVersions as ApiVersions } from "./api_versions"
|
|
3
|
+
export type { Auditors as Auditors } from "./auditors"
|
|
4
|
+
export type { Cities as Cities } from "./cities"
|
|
5
|
+
export type { CompanyStatuses as CompanyStatuses } from "./company_statuses"
|
|
6
|
+
export type { CompanyTypes as CompanyTypes } from "./company_types"
|
|
7
|
+
export type { Currencies as Currencies } from "./currencies"
|
|
8
|
+
export type { EmployeeInterval as EmployeeInterval } from "./employee_interval"
|
|
9
|
+
export type { Highlights as Highlights } from "./highlights"
|
|
10
|
+
export type { Industries as Industries } from "./industries"
|
|
11
|
+
export type { Municipalities as Municipalities } from "./municipalities"
|
|
12
|
+
export type { PolicyOutcomes as PolicyOutcomes } from "./policy_outcomes"
|
|
13
|
+
export type { PolicyViolations as PolicyViolations } from "./policy_violations"
|
|
14
|
+
export type { Regions as Regions } from "./regions"
|
|
15
|
+
export type { Zipcodes as Zipcodes } from "./zipcodes"
|
|
@@ -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 Industries {
|
|
10
|
+
industries: GroupObject;
|
|
11
|
+
last_updated: string | null;
|
|
12
|
+
country: "DK" | "SE" | "NO" | "FI" | "FO" | "DE" | "UK" | "dk" | "se" | "no" | "fi" | "fo" | "de" | "uk";
|
|
13
|
+
}
|
|
14
|
+
export interface GroupObject {
|
|
15
|
+
/**
|
|
16
|
+
* This interface was referenced by `GroupObject`'s JSON-Schema definition
|
|
17
|
+
* via the `patternProperty` "^.*$".
|
|
18
|
+
*/
|
|
19
|
+
[k: string]: {
|
|
20
|
+
count?: number;
|
|
21
|
+
level?: number;
|
|
22
|
+
title?: string | null;
|
|
23
|
+
group?: GroupObject;
|
|
24
|
+
};
|
|
25
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
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 Municipalities {
|
|
10
|
+
country: "DK" | "SE" | "NO" | "FI" | "FO" | "DE" | "UK" | "dk" | "se" | "no" | "fi" | "fo" | "de" | "uk";
|
|
11
|
+
municipalities: string[];
|
|
12
|
+
last_updated: string;
|
|
13
|
+
}
|
|
@@ -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 interface PolicyOutcomes {
|
|
10
|
+
policy_outcomes: {
|
|
11
|
+
code?: string;
|
|
12
|
+
title?: string;
|
|
13
|
+
}[];
|
|
14
|
+
}
|
|
@@ -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 interface PolicyViolations {
|
|
10
|
+
policy_violations: {
|
|
11
|
+
code?: string;
|
|
12
|
+
title?: string;
|
|
13
|
+
}[];
|
|
14
|
+
}
|
package/list/regions.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
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 Regions {
|
|
10
|
+
country: "DK" | "SE" | "NO" | "FI" | "FO" | "DE" | "UK" | "dk" | "se" | "no" | "fi" | "fo" | "de" | "uk";
|
|
11
|
+
last_updated: string;
|
|
12
|
+
regions: {
|
|
13
|
+
/**
|
|
14
|
+
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
15
|
+
* via the `patternProperty` "^.*$".
|
|
16
|
+
*/
|
|
17
|
+
[k: string]: string[];
|
|
18
|
+
};
|
|
19
|
+
}
|
package/list/zipcodes.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
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 Zipcodes {
|
|
10
|
+
country: "DK" | "SE" | "NO" | "FI" | "FO" | "DE" | "UK" | "dk" | "se" | "no" | "fi" | "fo" | "de" | "uk";
|
|
11
|
+
zipcodes: string[];
|
|
12
|
+
last_updated: string;
|
|
13
|
+
}
|
package/liveness.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
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 Liveness {
|
|
10
|
+
status: "OK";
|
|
11
|
+
}
|
package/monitor/add.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
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 RejectedLocalIdsOld = (
|
|
10
|
+
| string
|
|
11
|
+
| ("DK" | "SE" | "NO" | "FI" | "FO" | "DE" | "UK" | "dk" | "se" | "no" | "fi" | "fo" | "de" | "uk")
|
|
12
|
+
)[][];
|
|
13
|
+
|
|
14
|
+
export interface Add {
|
|
15
|
+
status: "ok";
|
|
16
|
+
rejected: RejectedLocalIdsOld;
|
|
17
|
+
}
|