@risika/api-response-types-dev 1.403.0 → 1.405.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/index.ts +2 -1
- package/company/websites.ts +59 -0
- package/package.json +1 -1
package/company/index.ts
CHANGED
|
@@ -18,4 +18,5 @@ export type { Operating as Operating } from "./operating"
|
|
|
18
18
|
export type { Owners as Owners } from "./owners"
|
|
19
19
|
export type { ProductionUnit as ProductionUnit } from "./production_unit"
|
|
20
20
|
export type { Relations as Relations } from "./relations"
|
|
21
|
-
export type { RelationsOut as RelationsOut } from "./relations_out"
|
|
21
|
+
export type { RelationsOut as RelationsOut } from "./relations_out"
|
|
22
|
+
export type { Websites as Websites } from "./websites"
|
|
@@ -0,0 +1,59 @@
|
|
|
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
|
+
* The company's verified or registered website(s) (ENG2-2589). Values of level, state and source are the data team's current vocabulary and may grow; clients should treat unknown values as 'other'.
|
|
11
|
+
*/
|
|
12
|
+
export interface Websites {
|
|
13
|
+
websites: {
|
|
14
|
+
/**
|
|
15
|
+
* Lower case, no scheme, path or www. (e.g. risika.dk)
|
|
16
|
+
*/
|
|
17
|
+
domain: string;
|
|
18
|
+
/**
|
|
19
|
+
* The domain as an absolute https URL
|
|
20
|
+
*/
|
|
21
|
+
url: string | null;
|
|
22
|
+
/**
|
|
23
|
+
* primary: the website shown first (today every row). secondary is defined for further websites of the same company.
|
|
24
|
+
*/
|
|
25
|
+
role: string;
|
|
26
|
+
/**
|
|
27
|
+
* verified: Risika found the company's own registration number, or its name with registry details, on the site. registered: the website in the company register, not checked by Risika.
|
|
28
|
+
*/
|
|
29
|
+
level: string;
|
|
30
|
+
/**
|
|
31
|
+
* Values today: active, redirected, parked, unchecked (a registered website Risika has not read). down and dead are defined for the resolver's liveness check.
|
|
32
|
+
*/
|
|
33
|
+
state: string;
|
|
34
|
+
/**
|
|
35
|
+
* cvr, brreg, prh, ytj (the company register), traficom (the Finnish .fi domain register), registered_email (the company's registered e-mail domain) or risika (found by Risika's domain resolver)
|
|
36
|
+
*/
|
|
37
|
+
source: string;
|
|
38
|
+
/**
|
|
39
|
+
* For verified websites: org_id or name_and_details. Null otherwise.
|
|
40
|
+
*/
|
|
41
|
+
evidence_type: string | null;
|
|
42
|
+
/**
|
|
43
|
+
* Full URL the site forwards to, when it forwards to another site
|
|
44
|
+
*/
|
|
45
|
+
redirects_to: string | null;
|
|
46
|
+
/**
|
|
47
|
+
* Other companies in the same country shown with the same domain; above 0 means a chain, group or property-manager site
|
|
48
|
+
*/
|
|
49
|
+
shared_with_companies: number;
|
|
50
|
+
/**
|
|
51
|
+
* UTC date Risika last found the proof on the site
|
|
52
|
+
*/
|
|
53
|
+
last_verified: string | null;
|
|
54
|
+
/**
|
|
55
|
+
* UTC date Risika last read the site
|
|
56
|
+
*/
|
|
57
|
+
last_checked: string | null;
|
|
58
|
+
}[];
|
|
59
|
+
}
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@risika/api-response-types-dev","version":"1.
|
|
1
|
+
{"name":"@risika/api-response-types-dev","version":"1.405.0","main":"index.js","license":"MIT","type":"module"}
|