orangeslice 2.0.0 → 2.0.2
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/dist/index.d.ts +3 -0
- package/dist/index.js +8 -2
- package/dist/predictLeads.d.ts +36 -0
- package/dist/predictLeads.js +44 -0
- package/docs/prospecting/index.md +16 -0
- package/docs/providers/predictleads/openapi.json +13209 -0
- package/docs/services/index.md +1 -0
- package/docs/services/person/linkedin/findUrl.md +3 -1
- package/docs/services/predictLeads/apiSubscription.ts +19 -0
- package/docs/services/predictLeads/companies.ts +84 -0
- package/docs/services/predictLeads/company.ts +78 -0
- package/docs/services/predictLeads/companyConnections.ts +59 -0
- package/docs/services/predictLeads/companyFinancingEvents.ts +60 -0
- package/docs/services/predictLeads/companyGithubRepositories.ts +64 -0
- package/docs/services/predictLeads/companyJobOpenings.ts +102 -0
- package/docs/services/predictLeads/companyNewsEvents.ts +113 -0
- package/docs/services/predictLeads/companyProducts.ts +51 -0
- package/docs/services/predictLeads/companySimilarCompanies.ts +50 -0
- package/docs/services/predictLeads/companyTechnologyDetections.ts +122 -0
- package/docs/services/predictLeads/companyWebsiteEvolution.ts +54 -0
- package/docs/services/predictLeads/discoverConnectionInvestors.ts +59 -0
- package/docs/services/predictLeads/discoverJobOpenings.ts +86 -0
- package/docs/services/predictLeads/discoverProducts.ts +51 -0
- package/docs/services/predictLeads/discoverTechnologyTechnologyDetections.ts +122 -0
- package/docs/services/predictLeads/financingEvents.ts +58 -0
- package/docs/services/predictLeads/followCompany.ts +16 -0
- package/docs/services/predictLeads/followedCompanies.ts +16 -0
- package/docs/services/predictLeads/jobOpening.ts +80 -0
- package/docs/services/predictLeads/newsEvent.ts +103 -0
- package/docs/services/predictLeads/newsEvents.ts +109 -0
- package/docs/services/predictLeads/product.ts +43 -0
- package/docs/services/predictLeads/startupPlatformPosts.ts +35 -0
- package/docs/services/predictLeads/technologies.ts +58 -0
- package/docs/services/predictLeads/technology.ts +52 -0
- package/docs/services/predictLeads/unfollowCompany.ts +14 -0
- package/package.json +1 -1
- package/docs/services/company/careers/findPage.ts +0 -11
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Retrieve company's Similar Companies
|
|
3
|
+
* Returns a list of company's Similar Companies.
|
|
4
|
+
* HTTP GET /companies/{company_id_or_domain}/similar_companies
|
|
5
|
+
*/
|
|
6
|
+
type companySimilarCompanies = (params: {
|
|
7
|
+
/** Company's ID or domain. */
|
|
8
|
+
company_id_or_domain: string;
|
|
9
|
+
/** Limit the number of shown items per page. */
|
|
10
|
+
limit?: number;
|
|
11
|
+
}) => Promise<{
|
|
12
|
+
data: Array<{
|
|
13
|
+
id: string;
|
|
14
|
+
type: "company_similarity";
|
|
15
|
+
attributes: {
|
|
16
|
+
score: number;
|
|
17
|
+
position: number | null;
|
|
18
|
+
reason: string | null;
|
|
19
|
+
refreshed_at: string;
|
|
20
|
+
};
|
|
21
|
+
relationships: {
|
|
22
|
+
company: {
|
|
23
|
+
data: {
|
|
24
|
+
id: string;
|
|
25
|
+
type: "company";
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
similar_company: {
|
|
29
|
+
data: {
|
|
30
|
+
id: string;
|
|
31
|
+
type: "company";
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
}>;
|
|
36
|
+
included: Array<{
|
|
37
|
+
id: string;
|
|
38
|
+
type: "company";
|
|
39
|
+
attributes: {
|
|
40
|
+
domain: string;
|
|
41
|
+
company_name: string | null;
|
|
42
|
+
ticker: string | null;
|
|
43
|
+
};
|
|
44
|
+
}>;
|
|
45
|
+
meta?: {
|
|
46
|
+
schema_version: string;
|
|
47
|
+
record_state: "active";
|
|
48
|
+
count?: number;
|
|
49
|
+
};
|
|
50
|
+
}>;
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Retrieve Technologies used by specific Company
|
|
3
|
+
* Returns Technologies used by a specific Company as a list of Technology Detections.
|
|
4
|
+
* HTTP GET /companies/{company_id_or_domain}/technology_detections
|
|
5
|
+
*/
|
|
6
|
+
type companyTechnologyDetections = (params: {
|
|
7
|
+
/** Company's ID or domain. */
|
|
8
|
+
company_id_or_domain: string;
|
|
9
|
+
/** Only return `TechnologyDetections` first seen after given date (ISO 8601). */
|
|
10
|
+
first_seen_at_from?: string;
|
|
11
|
+
/** Only return `TechnologyDetections` first seen before given date (ISO 8601). */
|
|
12
|
+
first_seen_at_until?: string;
|
|
13
|
+
/** Only return `TechnologyDetections` last seen after given date (ISO 8601). */
|
|
14
|
+
last_seen_at_from?: string;
|
|
15
|
+
/** Only return `TechnologyDetections` last seen before given date (ISO 8601). */
|
|
16
|
+
last_seen_at_until?: string;
|
|
17
|
+
/** Page number of shown items. **NOTE**: If the parameter is not provided, the meta property `count` will be omitted from response for performance reasons. */
|
|
18
|
+
page?: number;
|
|
19
|
+
/** Limit the number of shown items per page. */
|
|
20
|
+
limit?: number;
|
|
21
|
+
}) => Promise<{
|
|
22
|
+
data: Array<{
|
|
23
|
+
id: string;
|
|
24
|
+
type: "technology_detection";
|
|
25
|
+
attributes: {
|
|
26
|
+
first_seen_at: string;
|
|
27
|
+
last_seen_at: string;
|
|
28
|
+
behind_firewall: boolean;
|
|
29
|
+
score: number;
|
|
30
|
+
};
|
|
31
|
+
relationships: {
|
|
32
|
+
company: {
|
|
33
|
+
data: {
|
|
34
|
+
id: string;
|
|
35
|
+
type: "company";
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
seen_on_job_openings: {
|
|
39
|
+
data: Array<{
|
|
40
|
+
id: unknown;
|
|
41
|
+
type: unknown;
|
|
42
|
+
}>;
|
|
43
|
+
};
|
|
44
|
+
seen_on_subpages: {
|
|
45
|
+
data: Array<{
|
|
46
|
+
id: unknown;
|
|
47
|
+
type: unknown;
|
|
48
|
+
}>;
|
|
49
|
+
};
|
|
50
|
+
seen_on_dns_records: {
|
|
51
|
+
data: Array<{
|
|
52
|
+
id: unknown;
|
|
53
|
+
type: unknown;
|
|
54
|
+
}>;
|
|
55
|
+
};
|
|
56
|
+
seen_on_connection: {
|
|
57
|
+
data: {
|
|
58
|
+
id: string;
|
|
59
|
+
type: "connection";
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
technology: {
|
|
63
|
+
data: {
|
|
64
|
+
id: string;
|
|
65
|
+
type: "technology";
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
}>;
|
|
70
|
+
included: Array<{
|
|
71
|
+
id: string;
|
|
72
|
+
type: "company";
|
|
73
|
+
attributes: {
|
|
74
|
+
domain: string;
|
|
75
|
+
company_name: string | null;
|
|
76
|
+
ticker: string | null;
|
|
77
|
+
};
|
|
78
|
+
} | {
|
|
79
|
+
id: string;
|
|
80
|
+
type: "technology";
|
|
81
|
+
attributes: {
|
|
82
|
+
name: string;
|
|
83
|
+
};
|
|
84
|
+
} | {
|
|
85
|
+
id: string;
|
|
86
|
+
type: "detection_on_subpage";
|
|
87
|
+
attributes: {
|
|
88
|
+
first_seen_at: string;
|
|
89
|
+
last_seen_at: string;
|
|
90
|
+
subpage_url: string;
|
|
91
|
+
};
|
|
92
|
+
} | {
|
|
93
|
+
id: string;
|
|
94
|
+
type: "job_opening";
|
|
95
|
+
attributes: {
|
|
96
|
+
first_seen_at: string;
|
|
97
|
+
last_seen_at: string;
|
|
98
|
+
url: string;
|
|
99
|
+
};
|
|
100
|
+
} | {
|
|
101
|
+
id: string;
|
|
102
|
+
type: "dns_record";
|
|
103
|
+
attributes: {
|
|
104
|
+
first_seen_at: string;
|
|
105
|
+
last_seen_at: string;
|
|
106
|
+
record_type: "TXT" | "MX" | "NS" | "CNAME" | "SOA_MNAME" | "SOA_RNAME";
|
|
107
|
+
};
|
|
108
|
+
} | {
|
|
109
|
+
id: string;
|
|
110
|
+
type: "connection";
|
|
111
|
+
attributes: {
|
|
112
|
+
first_seen_at: string;
|
|
113
|
+
last_seen_at: string;
|
|
114
|
+
source_url: string | null;
|
|
115
|
+
};
|
|
116
|
+
}>;
|
|
117
|
+
meta?: {
|
|
118
|
+
schema_version: string;
|
|
119
|
+
record_state: "active";
|
|
120
|
+
count?: number;
|
|
121
|
+
};
|
|
122
|
+
}>;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Retrieve company's Website Evolution
|
|
3
|
+
* Returns a list of company's Website Evolution.
|
|
4
|
+
* HTTP GET /companies/{company_id_or_domain}/website_evolution
|
|
5
|
+
*/
|
|
6
|
+
type companyWebsiteEvolution = (params: {
|
|
7
|
+
/** Company's ID or domain. */
|
|
8
|
+
company_id_or_domain: string;
|
|
9
|
+
/** Only return `Subpages` first seen after given date (ISO 8601). */
|
|
10
|
+
first_seen_at_from?: string;
|
|
11
|
+
/** Only return `Subpages` first seen before given date (ISO 8601). */
|
|
12
|
+
first_seen_at_until?: string;
|
|
13
|
+
/** Page number of shown items. **NOTE**: If the parameter is not provided, the meta property `count` will be omitted from response for performance reasons. */
|
|
14
|
+
page?: number;
|
|
15
|
+
/** Limit the number of shown items per page. */
|
|
16
|
+
limit?: number;
|
|
17
|
+
}) => Promise<{
|
|
18
|
+
data: Array<{
|
|
19
|
+
id: string;
|
|
20
|
+
type: "subpage";
|
|
21
|
+
attributes: {
|
|
22
|
+
category: string;
|
|
23
|
+
url: string;
|
|
24
|
+
text_content: string | null;
|
|
25
|
+
first_seen_at: string;
|
|
26
|
+
last_seen_at: string;
|
|
27
|
+
last_extraction_states: Array<{
|
|
28
|
+
attributes: unknown;
|
|
29
|
+
}>;
|
|
30
|
+
};
|
|
31
|
+
relationships: {
|
|
32
|
+
company: {
|
|
33
|
+
data: {
|
|
34
|
+
id: string;
|
|
35
|
+
type: "company";
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
}>;
|
|
40
|
+
included: Array<{
|
|
41
|
+
id: string;
|
|
42
|
+
type: "company";
|
|
43
|
+
attributes: {
|
|
44
|
+
domain: string;
|
|
45
|
+
company_name: string | null;
|
|
46
|
+
ticker: string | null;
|
|
47
|
+
};
|
|
48
|
+
}>;
|
|
49
|
+
meta?: {
|
|
50
|
+
schema_version: string;
|
|
51
|
+
record_state: "active";
|
|
52
|
+
count?: number;
|
|
53
|
+
};
|
|
54
|
+
}>;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Retrieve Portfolio Companies
|
|
3
|
+
* Returns the Portfolio Companies found on the portfolio pages of thousands of VCs, accelerators, and incubators, as a list of Connections categorized as `investor`, ordered by the `first_seen_at`, descending.
|
|
4
|
+
* HTTP GET /discover/portfolio_companies/connections
|
|
5
|
+
*/
|
|
6
|
+
type discoverConnectionInvestors = (params: {
|
|
7
|
+
/** Only return `TechnologyDetections` first seen after given date (ISO 8601). */
|
|
8
|
+
first_seen_at_from?: string;
|
|
9
|
+
/** Only return `TechnologyDetections` first seen before given date (ISO 8601). */
|
|
10
|
+
first_seen_at_until?: string;
|
|
11
|
+
/** Only return `TechnologyDetections` last seen after given date (ISO 8601). */
|
|
12
|
+
last_seen_at_from?: string;
|
|
13
|
+
/** Only return `TechnologyDetections` last seen before given date (ISO 8601). */
|
|
14
|
+
last_seen_at_until?: string;
|
|
15
|
+
/** Page number of shown items. **NOTE**: If the parameter is not provided, the meta property `count` will be omitted from response for performance reasons. */
|
|
16
|
+
page?: number;
|
|
17
|
+
/** Limit the number of shown items per page. */
|
|
18
|
+
limit?: number;
|
|
19
|
+
}) => Promise<{
|
|
20
|
+
data: Array<{
|
|
21
|
+
id: string;
|
|
22
|
+
type: "connection";
|
|
23
|
+
attributes: {
|
|
24
|
+
category: "partner" | "vendor" | "integration" | "investor" | "parent" | "rebranding" | "published_in" | "badge" | "other";
|
|
25
|
+
source_category: "undefined" | "partner_page" | "vendor_page" | "integration_page" | "investor_page" | "about_page" | "parent_page" | "case_study_page" | "testimonial_page" | "manual_input" | "domain_redirect" | "same_subpage" | "partner_section" | "vendor_section" | "integration_section" | "investor_section" | "parent_section" | "case_study_section" | "testimonial_section" | "social_section" | "published_in_section" | "vendor_inverse_section" | "investor_inverse_section" | "parent_inverse_section" | "footer" | "header" | "vendor_inverse_page" | "cookie_section" | "badge_section";
|
|
26
|
+
source_url: string | null;
|
|
27
|
+
individual_source_url: string | null;
|
|
28
|
+
context: string | null;
|
|
29
|
+
first_seen_at: string;
|
|
30
|
+
last_seen_at: string;
|
|
31
|
+
};
|
|
32
|
+
relationships: {
|
|
33
|
+
company1: {
|
|
34
|
+
data: {
|
|
35
|
+
id: string;
|
|
36
|
+
type: "company";
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
company2: {
|
|
40
|
+
data: {
|
|
41
|
+
id: string;
|
|
42
|
+
type: "company";
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
technology: {
|
|
46
|
+
data: {
|
|
47
|
+
id: unknown;
|
|
48
|
+
type: unknown;
|
|
49
|
+
} | null;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
}>;
|
|
53
|
+
included: Array<Record<string, unknown>>;
|
|
54
|
+
meta?: {
|
|
55
|
+
schema_version: string;
|
|
56
|
+
record_state: "active";
|
|
57
|
+
count?: number;
|
|
58
|
+
};
|
|
59
|
+
}>;
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Retrieve a list of Job Openings
|
|
3
|
+
* Returns a list of Job Openings filtered by a given profession (e.g. "Sales Engineers" or "Marketing Managers") using O*NET occupation codes and/or location of the company. Note: This endpoint returns an estimated count of all results.
|
|
4
|
+
* HTTP GET /discover/job_openings
|
|
5
|
+
*/
|
|
6
|
+
type discoverJobOpenings = (params: {
|
|
7
|
+
/** Comma-separated O\*NET codes to filter by, such as "17-2071.00" for "Electrical Engineers" or "15-1254.00" for "Web Developers". For full list of possible codes see: https://www.onetonline.org/find/all */
|
|
8
|
+
onet_codes?: string;
|
|
9
|
+
/** The response will include only companies located in the given country name or state name/abbreviation. */
|
|
10
|
+
location?: string;
|
|
11
|
+
/** Page number of shown items. **NOTE**: If the parameter is not provided, the meta property `count` will be omitted from response for performance reasons. */
|
|
12
|
+
page?: number;
|
|
13
|
+
/** Limit the number of shown items per page. */
|
|
14
|
+
limit?: number;
|
|
15
|
+
}) => Promise<{
|
|
16
|
+
data: Array<{
|
|
17
|
+
id: string;
|
|
18
|
+
type: "job_opening";
|
|
19
|
+
attributes: {
|
|
20
|
+
title: string;
|
|
21
|
+
description: string | null;
|
|
22
|
+
url: string;
|
|
23
|
+
first_seen_at: string;
|
|
24
|
+
last_seen_at: string;
|
|
25
|
+
last_processed_at: string;
|
|
26
|
+
contract_types: Array<Record<string, unknown>>;
|
|
27
|
+
categories: Array<"administration" | "consulting" | "data_analysis" | "design" | "directors" | "education" | "engineering" | "finance" | "healthcare_services" | "human_resources" | "information_technology" | "internship" | "legal" | "management" | "marketing" | "military_and_protective_services" | "operations" | "purchasing" | "product_management" | "quality_assurance" | "real_estate" | "research" | "sales" | "software_development" | "support" | "manual_work" | "food">;
|
|
28
|
+
onet_data: {
|
|
29
|
+
code: string | null;
|
|
30
|
+
family: string | null;
|
|
31
|
+
occupation_name: string | null;
|
|
32
|
+
};
|
|
33
|
+
posted_at: string | null;
|
|
34
|
+
recruiter_data: {
|
|
35
|
+
name: string | null;
|
|
36
|
+
title: string | null;
|
|
37
|
+
contact: string | null;
|
|
38
|
+
};
|
|
39
|
+
salary: string | null;
|
|
40
|
+
salary_data: {
|
|
41
|
+
salary_low: number | null;
|
|
42
|
+
salary_high: number | null;
|
|
43
|
+
salary_currency: string | null;
|
|
44
|
+
salary_low_usd: number | null;
|
|
45
|
+
salary_high_usd: number | null;
|
|
46
|
+
salary_time_unit: "hour" | "day" | "week" | "month" | "year" | null;
|
|
47
|
+
};
|
|
48
|
+
seniority: "not_set" | "founder" | "c_level" | "partner" | "president" | "vice_president" | "head" | "director" | "manager" | "mid_senior" | "junior" | "non_manager";
|
|
49
|
+
status: "closed" | null;
|
|
50
|
+
language: string | null;
|
|
51
|
+
location: string | null;
|
|
52
|
+
location_data: Array<{
|
|
53
|
+
city: unknown;
|
|
54
|
+
state: unknown;
|
|
55
|
+
zip_code: unknown;
|
|
56
|
+
country: unknown;
|
|
57
|
+
region: unknown;
|
|
58
|
+
continent: unknown;
|
|
59
|
+
fuzzy_match: unknown;
|
|
60
|
+
}>;
|
|
61
|
+
tags: Array<Record<string, unknown>>;
|
|
62
|
+
};
|
|
63
|
+
relationships: {
|
|
64
|
+
company: {
|
|
65
|
+
data: {
|
|
66
|
+
id: string;
|
|
67
|
+
type: "company";
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
}>;
|
|
72
|
+
included: Array<{
|
|
73
|
+
id: string;
|
|
74
|
+
type: "company";
|
|
75
|
+
attributes: {
|
|
76
|
+
domain: string;
|
|
77
|
+
company_name: string | null;
|
|
78
|
+
ticker: string | null;
|
|
79
|
+
};
|
|
80
|
+
}>;
|
|
81
|
+
meta?: {
|
|
82
|
+
schema_version: string;
|
|
83
|
+
record_state: "active";
|
|
84
|
+
count?: number;
|
|
85
|
+
};
|
|
86
|
+
}>;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Retrieve a list of Products
|
|
3
|
+
* Returns a list of Products filtered by a source on a website (e.g. "pricing" for "Pricing Page" and/or "menu" for "Menu") and/or date when the Product was discovered.
|
|
4
|
+
* HTTP GET /discover/products/latest
|
|
5
|
+
*/
|
|
6
|
+
type discoverProducts = (params: {
|
|
7
|
+
/** Comma-separated (,) `Product` sources. */
|
|
8
|
+
sources?: Array<"menu" | "pricing">;
|
|
9
|
+
/** Only return `Products` first seen after given date (ISO 8601). */
|
|
10
|
+
first_seen_at_from?: string;
|
|
11
|
+
/** Only return `Products` first seen before given date (ISO 8601). */
|
|
12
|
+
first_seen_at_until?: string;
|
|
13
|
+
/** Page number of shown items. **NOTE**: If the parameter is not provided, the meta property `count` will be omitted from response for performance reasons. */
|
|
14
|
+
page?: number;
|
|
15
|
+
/** Limit the number of shown items per page. */
|
|
16
|
+
limit?: number;
|
|
17
|
+
}) => Promise<{
|
|
18
|
+
data: Array<{
|
|
19
|
+
id: string;
|
|
20
|
+
type: "product";
|
|
21
|
+
attributes: {
|
|
22
|
+
name: string;
|
|
23
|
+
sources: "menu" | "pricing";
|
|
24
|
+
source_url: string;
|
|
25
|
+
first_seen_at: string;
|
|
26
|
+
last_seen_at: string;
|
|
27
|
+
};
|
|
28
|
+
relationships: {
|
|
29
|
+
company: {
|
|
30
|
+
data: {
|
|
31
|
+
id: string;
|
|
32
|
+
type: "company";
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
}>;
|
|
37
|
+
included: Array<{
|
|
38
|
+
id: string;
|
|
39
|
+
type: "company";
|
|
40
|
+
attributes: {
|
|
41
|
+
domain: string;
|
|
42
|
+
company_name: string | null;
|
|
43
|
+
ticker: string | null;
|
|
44
|
+
};
|
|
45
|
+
}>;
|
|
46
|
+
meta?: {
|
|
47
|
+
schema_version: string;
|
|
48
|
+
record_state: "active";
|
|
49
|
+
count?: number;
|
|
50
|
+
};
|
|
51
|
+
}>;
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Retrieve Companies using specific Technology ID or fuzzy name
|
|
3
|
+
* Returns Companies using a specific Technology as a list of Technology Detections, ordered by the `first_seen_at`, descending. E.g. using this endpoint one can get a list of all companies using HubSpot or any other of the 30,000 technologies PredictLeads tracks. The specific Technology ID can be obtained by querying the ** Retrieve all tracked Technologies ** endpoint.
|
|
4
|
+
* HTTP GET /discover/technologies/{technology_id_or_fuzzy_name}/technology_detections
|
|
5
|
+
*/
|
|
6
|
+
type discoverTechnologyTechnologyDetections = (params: {
|
|
7
|
+
/** Technology's ID or fuzzy name. */
|
|
8
|
+
technology_id_or_fuzzy_name: string;
|
|
9
|
+
/** Only return `TechnologyDetections` first seen after given date (ISO 8601). */
|
|
10
|
+
first_seen_at_from?: string;
|
|
11
|
+
/** Only return `TechnologyDetections` first seen before given date (ISO 8601). */
|
|
12
|
+
first_seen_at_until?: string;
|
|
13
|
+
/** Only return `TechnologyDetections` last seen after given date (ISO 8601). */
|
|
14
|
+
last_seen_at_from?: string;
|
|
15
|
+
/** Only return `TechnologyDetections` last seen before given date (ISO 8601). */
|
|
16
|
+
last_seen_at_until?: string;
|
|
17
|
+
/** Page number of shown items. **NOTE**: If the parameter is not provided, the meta property `count` will be omitted from response for performance reasons. */
|
|
18
|
+
page?: number;
|
|
19
|
+
/** Limit the number of shown items per page. */
|
|
20
|
+
limit?: number;
|
|
21
|
+
}) => Promise<{
|
|
22
|
+
data: Array<{
|
|
23
|
+
id: string;
|
|
24
|
+
type: "technology_detection";
|
|
25
|
+
attributes: {
|
|
26
|
+
first_seen_at: string;
|
|
27
|
+
last_seen_at: string;
|
|
28
|
+
behind_firewall: boolean;
|
|
29
|
+
score: number;
|
|
30
|
+
};
|
|
31
|
+
relationships: {
|
|
32
|
+
company: {
|
|
33
|
+
data: {
|
|
34
|
+
id: string;
|
|
35
|
+
type: "company";
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
seen_on_job_openings: {
|
|
39
|
+
data: Array<{
|
|
40
|
+
id: unknown;
|
|
41
|
+
type: unknown;
|
|
42
|
+
}>;
|
|
43
|
+
};
|
|
44
|
+
seen_on_subpages: {
|
|
45
|
+
data: Array<{
|
|
46
|
+
id: unknown;
|
|
47
|
+
type: unknown;
|
|
48
|
+
}>;
|
|
49
|
+
};
|
|
50
|
+
seen_on_dns_records: {
|
|
51
|
+
data: Array<{
|
|
52
|
+
id: unknown;
|
|
53
|
+
type: unknown;
|
|
54
|
+
}>;
|
|
55
|
+
};
|
|
56
|
+
seen_on_connection: {
|
|
57
|
+
data: {
|
|
58
|
+
id: string;
|
|
59
|
+
type: "connection";
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
technology: {
|
|
63
|
+
data: {
|
|
64
|
+
id: string;
|
|
65
|
+
type: "technology";
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
}>;
|
|
70
|
+
included: Array<{
|
|
71
|
+
id: string;
|
|
72
|
+
type: "company";
|
|
73
|
+
attributes: {
|
|
74
|
+
domain: string;
|
|
75
|
+
company_name: string | null;
|
|
76
|
+
ticker: string | null;
|
|
77
|
+
};
|
|
78
|
+
} | {
|
|
79
|
+
id: string;
|
|
80
|
+
type: "technology";
|
|
81
|
+
attributes: {
|
|
82
|
+
name: string;
|
|
83
|
+
};
|
|
84
|
+
} | {
|
|
85
|
+
id: string;
|
|
86
|
+
type: "detection_on_subpage";
|
|
87
|
+
attributes: {
|
|
88
|
+
first_seen_at: string;
|
|
89
|
+
last_seen_at: string;
|
|
90
|
+
subpage_url: string;
|
|
91
|
+
};
|
|
92
|
+
} | {
|
|
93
|
+
id: string;
|
|
94
|
+
type: "job_opening";
|
|
95
|
+
attributes: {
|
|
96
|
+
first_seen_at: string;
|
|
97
|
+
last_seen_at: string;
|
|
98
|
+
url: string;
|
|
99
|
+
};
|
|
100
|
+
} | {
|
|
101
|
+
id: string;
|
|
102
|
+
type: "dns_record";
|
|
103
|
+
attributes: {
|
|
104
|
+
first_seen_at: string;
|
|
105
|
+
last_seen_at: string;
|
|
106
|
+
record_type: "TXT" | "MX" | "NS" | "CNAME" | "SOA_MNAME" | "SOA_RNAME";
|
|
107
|
+
};
|
|
108
|
+
} | {
|
|
109
|
+
id: string;
|
|
110
|
+
type: "connection";
|
|
111
|
+
attributes: {
|
|
112
|
+
first_seen_at: string;
|
|
113
|
+
last_seen_at: string;
|
|
114
|
+
source_url: string | null;
|
|
115
|
+
};
|
|
116
|
+
}>;
|
|
117
|
+
meta?: {
|
|
118
|
+
schema_version: string;
|
|
119
|
+
record_state: "active";
|
|
120
|
+
count?: number;
|
|
121
|
+
};
|
|
122
|
+
}>;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Retrieve Financing Events
|
|
3
|
+
* Returns a list of Financing Events, optionally filtered by normalized financing type and company's location, ordered by updated date.
|
|
4
|
+
* HTTP GET /discover/financing_events
|
|
5
|
+
*/
|
|
6
|
+
type financingEvents = (params: {
|
|
7
|
+
/** Comma-separated (,) `FinancingEvent` normalized financing types. */
|
|
8
|
+
financing_types_normalized?: Array<"pre_angel" | "angel_plus" | "angel_plus_plus" | "angel" | "angel_1" | "angel_2" | "angel_3" | "pre_seed" | "seed_plus" | "seed_plus_plus" | "seed" | "seed_1" | "seed_2" | "seed_3" | "pre_series_a" | "series_a_plus" | "series_a_plus_plus" | "series_a" | "series_a1" | "series_a2" | "series_a3" | "pre_series_b" | "series_b_plus" | "series_b_plus_plus" | "series_b" | "series_b1" | "series_b2" | "series_b3" | "pre_series_c" | "series_c_plus" | "series_c_plus_plus" | "series_c" | "series_c1" | "series_c2" | "series_c3" | "pre_series_d" | "series_d_plus" | "series_d_plus_plus" | "series_d" | "series_d1" | "series_d2" | "series_d3" | "pre_series_e" | "series_e_plus" | "series_e_plus_plus" | "series_e" | "series_e1" | "series_e2" | "series_e3" | "pre_series_f" | "series_f_plus" | "series_f_plus_plus" | "series_f" | "series_f1" | "series_f2" | "series_f3" | "pre_series_g" | "series_g_plus" | "series_g_plus_plus" | "series_g" | "series_g1" | "series_g2" | "series_g3" | "pre_series_h" | "series_h_plus" | "series_h_plus_plus" | "series_h" | "series_h1" | "series_h2" | "series_h3" | "pre_series_i" | "series_i_plus" | "series_i_plus_plus" | "series_i" | "series_i1" | "series_i2" | "series_i3" | "pre_series_j" | "series_j_plus" | "series_j_plus_plus" | "series_j" | "series_j1" | "series_j2" | "series_j3" | "pre_angel_bridge" | "angel_plus_bridge" | "angel_plus_plus_bridge" | "angel_bridge" | "angel_1_bridge" | "angel_2_bridge" | "angel_3_bridge" | "pre_seed_bridge" | "seed_plus_bridge" | "seed_plus_plus_bridge" | "seed_bridge" | "seed_1_bridge" | "seed_2_bridge" | "seed_3_bridge" | "pre_series_a_bridge" | "series_a_plus_bridge" | "series_a_plus_plus_bridge" | "series_a_bridge" | "series_a1_bridge" | "series_a2_bridge" | "series_a3_bridge" | "pre_series_b_bridge" | "series_b_plus_bridge" | "series_b_plus_plus_bridge" | "series_b_bridge" | "series_b1_bridge" | "series_b2_bridge" | "series_b3_bridge" | "pre_series_c_bridge" | "series_c_plus_bridge" | "series_c_plus_plus_bridge" | "series_c_bridge" | "series_c1_bridge" | "series_c2_bridge" | "series_c3_bridge" | "pre_series_d_bridge" | "series_d_plus_bridge" | "series_d_plus_plus_bridge" | "series_d_bridge" | "series_d1_bridge" | "series_d2_bridge" | "series_d3_bridge" | "pre_series_e_bridge" | "series_e_plus_bridge" | "series_e_plus_plus_bridge" | "series_e_bridge" | "series_e1_bridge" | "series_e2_bridge" | "series_e3_bridge">;
|
|
9
|
+
/** The response will include only companies located in the given country name or state name/abbreviation. */
|
|
10
|
+
company_location?: string;
|
|
11
|
+
/** Page number of shown items. **NOTE**: If the parameter is not provided, the meta property `count` will be omitted from response for performance reasons. */
|
|
12
|
+
page?: number;
|
|
13
|
+
/** Limit the number of shown items per page. */
|
|
14
|
+
limit?: number;
|
|
15
|
+
}) => Promise<{
|
|
16
|
+
data: Array<{
|
|
17
|
+
id: string;
|
|
18
|
+
type: "financing_event";
|
|
19
|
+
attributes: {
|
|
20
|
+
effective_date: string | null;
|
|
21
|
+
found_at: string;
|
|
22
|
+
categories: Array<"series" | "pre_angel" | "angel_plus" | "angel_plus_plus" | "angel" | "angel_1" | "angel_2" | "angel_3" | "pre_seed" | "seed_plus" | "seed_plus_plus" | "seed" | "seed_1" | "seed_2" | "seed_3" | "pre_series_a" | "series_a_plus" | "series_a_plus_plus" | "series_a" | "series_a1" | "series_a2" | "series_a3" | "pre_series_b" | "series_b_plus" | "series_b_plus_plus" | "series_b" | "series_b1" | "series_b2" | "series_b3" | "pre_series_c" | "series_c_plus" | "series_c_plus_plus" | "series_c" | "series_c1" | "series_c2" | "series_c3" | "pre_series_d" | "series_d_plus" | "series_d_plus_plus" | "series_d" | "series_d1" | "series_d2" | "series_d3" | "pre_series_e" | "series_e_plus" | "series_e_plus_plus" | "series_e" | "series_e1" | "series_e2" | "series_e3" | "pre_series_f" | "series_f_plus" | "series_f_plus_plus" | "series_f" | "series_f1" | "series_f2" | "series_f3" | "pre_series_g" | "series_g_plus" | "series_g_plus_plus" | "series_g" | "series_g1" | "series_g2" | "series_g3" | "pre_series_h" | "series_h_plus" | "series_h_plus_plus" | "series_h" | "series_h1" | "series_h2" | "series_h3" | "pre_series_i" | "series_i_plus" | "series_i_plus_plus" | "series_i" | "series_i1" | "series_i2" | "series_i3" | "pre_series_j" | "series_j_plus" | "series_j_plus_plus" | "series_j" | "series_j1" | "series_j2" | "series_j3" | "pre_angel_bridge" | "angel_plus_bridge" | "angel_plus_plus_bridge" | "angel_bridge" | "angel_1_bridge" | "angel_2_bridge" | "angel_3_bridge" | "pre_seed_bridge" | "seed_plus_bridge" | "seed_plus_plus_bridge" | "seed_bridge" | "seed_1_bridge" | "seed_2_bridge" | "seed_3_bridge" | "pre_series_a_bridge" | "series_a_plus_bridge" | "series_a_plus_plus_bridge" | "series_a_bridge" | "series_a1_bridge" | "series_a2_bridge" | "series_a3_bridge" | "pre_series_b_bridge" | "series_b_plus_bridge" | "series_b_plus_plus_bridge" | "series_b_bridge" | "series_b1_bridge" | "series_b2_bridge" | "series_b3_bridge" | "pre_series_c_bridge" | "series_c_plus_bridge" | "series_c_plus_plus_bridge" | "series_c_bridge" | "series_c1_bridge" | "series_c2_bridge" | "series_c3_bridge" | "pre_series_d_bridge" | "series_d_plus_bridge" | "series_d_plus_plus_bridge" | "series_d_bridge" | "series_d1_bridge" | "series_d2_bridge" | "series_d3_bridge" | "pre_series_e_bridge" | "series_e_plus_bridge" | "series_e_plus_plus_bridge" | "series_e_bridge" | "series_e1_bridge" | "series_e2_bridge" | "series_e3_bridge" | "corporate_round" | "venture" | "venture_debt" | "product_crowdfunding" | "equity_crowdfunding" | "debt" | "convertible_note" | "safe" | "pipe" | "ipo" | "ico" | "ido" | "post_ipo_debt" | "post_ipo_equity" | "post_ipo_secondary" | "private_equity" | "secondary_transaction" | "donation" | "grant" | "subsidy" | "public_funding" | "government_assistance" | "other">;
|
|
23
|
+
financing_type: string | null;
|
|
24
|
+
financing_type_normalized: "pre_angel" | "angel_plus" | "angel_plus_plus" | "angel" | "angel_1" | "angel_2" | "angel_3" | "pre_seed" | "seed_plus" | "seed_plus_plus" | "seed" | "seed_1" | "seed_2" | "seed_3" | "pre_series_a" | "series_a_plus" | "series_a_plus_plus" | "series_a" | "series_a1" | "series_a2" | "series_a3" | "pre_series_b" | "series_b_plus" | "series_b_plus_plus" | "series_b" | "series_b1" | "series_b2" | "series_b3" | "pre_series_c" | "series_c_plus" | "series_c_plus_plus" | "series_c" | "series_c1" | "series_c2" | "series_c3" | "pre_series_d" | "series_d_plus" | "series_d_plus_plus" | "series_d" | "series_d1" | "series_d2" | "series_d3" | "pre_series_e" | "series_e_plus" | "series_e_plus_plus" | "series_e" | "series_e1" | "series_e2" | "series_e3" | "pre_series_f" | "series_f_plus" | "series_f_plus_plus" | "series_f" | "series_f1" | "series_f2" | "series_f3" | "pre_series_g" | "series_g_plus" | "series_g_plus_plus" | "series_g" | "series_g1" | "series_g2" | "series_g3" | "pre_series_h" | "series_h_plus" | "series_h_plus_plus" | "series_h" | "series_h1" | "series_h2" | "series_h3" | "pre_series_i" | "series_i_plus" | "series_i_plus_plus" | "series_i" | "series_i1" | "series_i2" | "series_i3" | "pre_series_j" | "series_j_plus" | "series_j_plus_plus" | "series_j" | "series_j1" | "series_j2" | "series_j3" | "pre_angel_bridge" | "angel_plus_bridge" | "angel_plus_plus_bridge" | "angel_bridge" | "angel_1_bridge" | "angel_2_bridge" | "angel_3_bridge" | "pre_seed_bridge" | "seed_plus_bridge" | "seed_plus_plus_bridge" | "seed_bridge" | "seed_1_bridge" | "seed_2_bridge" | "seed_3_bridge" | "pre_series_a_bridge" | "series_a_plus_bridge" | "series_a_plus_plus_bridge" | "series_a_bridge" | "series_a1_bridge" | "series_a2_bridge" | "series_a3_bridge" | "pre_series_b_bridge" | "series_b_plus_bridge" | "series_b_plus_plus_bridge" | "series_b_bridge" | "series_b1_bridge" | "series_b2_bridge" | "series_b3_bridge" | "pre_series_c_bridge" | "series_c_plus_bridge" | "series_c_plus_plus_bridge" | "series_c_bridge" | "series_c1_bridge" | "series_c2_bridge" | "series_c3_bridge" | "pre_series_d_bridge" | "series_d_plus_bridge" | "series_d_plus_plus_bridge" | "series_d_bridge" | "series_d1_bridge" | "series_d2_bridge" | "series_d3_bridge" | "pre_series_e_bridge" | "series_e_plus_bridge" | "series_e_plus_plus_bridge" | "series_e_bridge" | "series_e1_bridge" | "series_e2_bridge" | "series_e3_bridge" | null;
|
|
25
|
+
amount: string | null;
|
|
26
|
+
amount_normalized: number | null;
|
|
27
|
+
source_urls: Array<string>;
|
|
28
|
+
};
|
|
29
|
+
relationships: {
|
|
30
|
+
company: {
|
|
31
|
+
data: {
|
|
32
|
+
id: string;
|
|
33
|
+
type: "company";
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
investors: {
|
|
37
|
+
data: Array<{
|
|
38
|
+
id: unknown;
|
|
39
|
+
type: unknown;
|
|
40
|
+
}>;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
}>;
|
|
44
|
+
included: Array<{
|
|
45
|
+
id: string;
|
|
46
|
+
type: "company";
|
|
47
|
+
attributes: {
|
|
48
|
+
domain: string;
|
|
49
|
+
company_name: string | null;
|
|
50
|
+
ticker: string | null;
|
|
51
|
+
};
|
|
52
|
+
}>;
|
|
53
|
+
meta?: {
|
|
54
|
+
schema_version: string;
|
|
55
|
+
record_state: "active";
|
|
56
|
+
count?: number;
|
|
57
|
+
};
|
|
58
|
+
}>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Follow the company
|
|
3
|
+
* Follow the company.
|
|
4
|
+
* HTTP POST /companies/{company_id_or_domain}/follow
|
|
5
|
+
*/
|
|
6
|
+
type followCompany = (params: {
|
|
7
|
+
/** Company's ID or domain. */
|
|
8
|
+
company_id_or_domain: string;
|
|
9
|
+
/** Provide, if you want to use your custom company identifier. */
|
|
10
|
+
custom_company_identifier?: string;
|
|
11
|
+
}) => Promise<{
|
|
12
|
+
success: {
|
|
13
|
+
type: "follow_successful";
|
|
14
|
+
message: string;
|
|
15
|
+
};
|
|
16
|
+
}>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Retrieve followed companies
|
|
3
|
+
* Returns followed companies.
|
|
4
|
+
* HTTP GET /followings
|
|
5
|
+
*/
|
|
6
|
+
type followedCompanies = (params: {
|
|
7
|
+
/** Page number of shown items. **NOTE**: If the parameter is not provided, the meta property `count` will be omitted from response for performance reasons. */
|
|
8
|
+
page?: number;
|
|
9
|
+
/** Limit the number of shown items per page. */
|
|
10
|
+
limit?: number;
|
|
11
|
+
}) => Promise<{
|
|
12
|
+
data: Array<{
|
|
13
|
+
domain: string;
|
|
14
|
+
custom_company_identifier?: string;
|
|
15
|
+
}>;
|
|
16
|
+
}>;
|