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.
Files changed (37) hide show
  1. package/dist/index.d.ts +3 -0
  2. package/dist/index.js +8 -2
  3. package/dist/predictLeads.d.ts +36 -0
  4. package/dist/predictLeads.js +44 -0
  5. package/docs/prospecting/index.md +16 -0
  6. package/docs/providers/predictleads/openapi.json +13209 -0
  7. package/docs/services/index.md +1 -0
  8. package/docs/services/person/linkedin/findUrl.md +3 -1
  9. package/docs/services/predictLeads/apiSubscription.ts +19 -0
  10. package/docs/services/predictLeads/companies.ts +84 -0
  11. package/docs/services/predictLeads/company.ts +78 -0
  12. package/docs/services/predictLeads/companyConnections.ts +59 -0
  13. package/docs/services/predictLeads/companyFinancingEvents.ts +60 -0
  14. package/docs/services/predictLeads/companyGithubRepositories.ts +64 -0
  15. package/docs/services/predictLeads/companyJobOpenings.ts +102 -0
  16. package/docs/services/predictLeads/companyNewsEvents.ts +113 -0
  17. package/docs/services/predictLeads/companyProducts.ts +51 -0
  18. package/docs/services/predictLeads/companySimilarCompanies.ts +50 -0
  19. package/docs/services/predictLeads/companyTechnologyDetections.ts +122 -0
  20. package/docs/services/predictLeads/companyWebsiteEvolution.ts +54 -0
  21. package/docs/services/predictLeads/discoverConnectionInvestors.ts +59 -0
  22. package/docs/services/predictLeads/discoverJobOpenings.ts +86 -0
  23. package/docs/services/predictLeads/discoverProducts.ts +51 -0
  24. package/docs/services/predictLeads/discoverTechnologyTechnologyDetections.ts +122 -0
  25. package/docs/services/predictLeads/financingEvents.ts +58 -0
  26. package/docs/services/predictLeads/followCompany.ts +16 -0
  27. package/docs/services/predictLeads/followedCompanies.ts +16 -0
  28. package/docs/services/predictLeads/jobOpening.ts +80 -0
  29. package/docs/services/predictLeads/newsEvent.ts +103 -0
  30. package/docs/services/predictLeads/newsEvents.ts +109 -0
  31. package/docs/services/predictLeads/product.ts +43 -0
  32. package/docs/services/predictLeads/startupPlatformPosts.ts +35 -0
  33. package/docs/services/predictLeads/technologies.ts +58 -0
  34. package/docs/services/predictLeads/technology.ts +52 -0
  35. package/docs/services/predictLeads/unfollowCompany.ts +14 -0
  36. package/package.json +1 -1
  37. package/docs/services/company/careers/findPage.ts +0 -11
@@ -9,4 +9,5 @@
9
9
  - **scrape**: website scraper, sitemap scraper
10
10
  - **web**: SERP
11
11
  - **healthcare**: Query the NPI (National Provider Identifier) database for healthcare organizations by specialty, location, or name. Contains 1.8M+ providers.
12
+ - **predictLeads**: company intelligence datasets (financing events, technologies, products, job openings, news, and related company data).
12
13
  - **guides**: agent notes & operational docs (see [Error Handling Cheatsheet](../error-handling-cheatsheet.md))
@@ -1,4 +1,4 @@
1
- /\*_ Credits: 2 (standard). Charged only if a valid URL is returned. _/
1
+ /\*_ Credits: 2 standard, or 50 when `email` is provided. Charged only if a valid URL is returned. _/
2
2
 
3
3
  /\*\*
4
4
 
@@ -15,4 +15,6 @@
15
15
  keyword?: string;
16
16
  /\*_ Location string (e.g., city, state, country) to narrow search results _/
17
17
  location?: string;
18
+ /\*_ Email address. If provided, reverse-email lookup runs first, then falls back to search. _/
19
+ email?: string;
18
20
  }) => Promise<string | undefined>;
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Retrieve API subscription information
3
+ * Returns the current subscription status along with monthly credit limits and usage details.
4
+ * HTTP GET /api_subscription
5
+ */
6
+ type apiSubscription = (params: {}) => Promise<{
7
+ data: Array<{
8
+ id: string;
9
+ type: "api_subscription";
10
+ attributes: {
11
+ status: "disabled" | "active" | "disabled_due_to_error";
12
+ monthly_credits_quota: number;
13
+ monthly_credits_used: number;
14
+ };
15
+ }>;
16
+ meta?: {
17
+ schema_version: string;
18
+ };
19
+ }>;
@@ -0,0 +1,84 @@
1
+ /**
2
+ * Retrieve Companies
3
+ * Returns a list of companies filtered by their location and size, ordered by last updated date. Note: This endpoint returns an estimated count of all results.
4
+ * HTTP GET /discover/companies
5
+ */
6
+ type companies = (params: {
7
+ /** The response will include only companies located in the given country name or state name/abbreviation. */
8
+ location: string;
9
+ /** An array of one or more valid company sizes. */
10
+ sizes: Array<"1" | "2-10" | "11-50" | "51-200" | "201-500" | "501-1000" | "1001-5000" | "5001-10000" | "10001+">;
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: "company";
19
+ attributes: {
20
+ domain: string;
21
+ company_name: string | null;
22
+ ticker: string | null;
23
+ friendly_company_name: string;
24
+ meta_title: string;
25
+ meta_description: string;
26
+ description: string | null;
27
+ description_short: string | null;
28
+ language: string;
29
+ location: string;
30
+ location_data: Array<{
31
+ city: unknown;
32
+ state: unknown;
33
+ zip_code: unknown;
34
+ country: unknown;
35
+ region: unknown;
36
+ continent: unknown;
37
+ fuzzy_match: unknown;
38
+ }>;
39
+ };
40
+ relationships: {
41
+ redirects_to: {
42
+ data: {
43
+ id: unknown;
44
+ type: unknown;
45
+ } | null;
46
+ meta: {
47
+ reason: "acquisition_merger" | "locality" | "rebranding";
48
+ };
49
+ };
50
+ parent_company: {
51
+ data: {
52
+ id: unknown;
53
+ type: unknown;
54
+ } | null;
55
+ };
56
+ subsidiary_companies: {
57
+ data: Array<{
58
+ id: unknown;
59
+ type: unknown;
60
+ }>;
61
+ };
62
+ lookalike_companies: {
63
+ data: Array<{
64
+ id: unknown;
65
+ type: unknown;
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
+ meta?: {
80
+ schema_version: string;
81
+ record_state: "active";
82
+ count?: number;
83
+ };
84
+ }>;
@@ -0,0 +1,78 @@
1
+ /**
2
+ * Retrieve Company
3
+ * Returns Company.
4
+ * HTTP GET /companies/{id_or_domain}
5
+ */
6
+ type company = (params: {
7
+ /** Company's ID or domain. */
8
+ id_or_domain: string;
9
+ }) => Promise<{
10
+ data: Array<{
11
+ id: string;
12
+ type: "company";
13
+ attributes: {
14
+ domain: string;
15
+ company_name: string | null;
16
+ ticker: string | null;
17
+ friendly_company_name: string;
18
+ meta_title: string;
19
+ meta_description: string;
20
+ description: string | null;
21
+ description_short: string | null;
22
+ language: string;
23
+ location: string;
24
+ location_data: Array<{
25
+ city: unknown;
26
+ state: unknown;
27
+ zip_code: unknown;
28
+ country: unknown;
29
+ region: unknown;
30
+ continent: unknown;
31
+ fuzzy_match: unknown;
32
+ }>;
33
+ };
34
+ relationships: {
35
+ redirects_to: {
36
+ data: {
37
+ id: unknown;
38
+ type: unknown;
39
+ } | null;
40
+ meta: {
41
+ reason: "acquisition_merger" | "locality" | "rebranding";
42
+ };
43
+ };
44
+ parent_company: {
45
+ data: {
46
+ id: unknown;
47
+ type: unknown;
48
+ } | null;
49
+ };
50
+ subsidiary_companies: {
51
+ data: Array<{
52
+ id: unknown;
53
+ type: unknown;
54
+ }>;
55
+ };
56
+ lookalike_companies: {
57
+ data: Array<{
58
+ id: unknown;
59
+ type: unknown;
60
+ }>;
61
+ };
62
+ };
63
+ }>;
64
+ included: Array<{
65
+ id: string;
66
+ type: "company";
67
+ attributes: {
68
+ domain: string;
69
+ company_name: string | null;
70
+ ticker: string | null;
71
+ };
72
+ }>;
73
+ meta?: {
74
+ schema_version: string;
75
+ record_state: "active";
76
+ count?: number;
77
+ };
78
+ }>;
@@ -0,0 +1,59 @@
1
+ /**
2
+ * Retrieve company's Connections
3
+ * Returns a list of company's Connections.
4
+ * HTTP GET /companies/{company_id_or_domain}/connections
5
+ */
6
+ type companyConnections = (params: {
7
+ /** Company's ID or domain. */
8
+ company_id_or_domain: string;
9
+ /** Only return `Connections` first seen after given date (ISO 8601). */
10
+ first_seen_at_from?: string;
11
+ /** Only return `Connections` first seen before given date (ISO 8601). */
12
+ first_seen_at_until?: string;
13
+ /** Comma-separated (,) `Connection` categories. */
14
+ categories?: Array<"partner" | "vendor" | "integration" | "investor" | "parent" | "rebranding" | "published_in" | "badge" | "other">;
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,60 @@
1
+ /**
2
+ * Retrieve company's Financing Events
3
+ * Returns a list of company's Financing Events.
4
+ * HTTP GET /companies/{company_id_or_domain}/financing_events
5
+ */
6
+ type companyFinancingEvents = (params: {
7
+ /** Company's ID or domain. */
8
+ company_id_or_domain: string;
9
+ /** Only return `FinancingEvents` first seen after given date (ISO 8601). */
10
+ first_seen_at_from?: string;
11
+ /** Only return `FinancingEvents` 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: "financing_event";
21
+ attributes: {
22
+ effective_date: string | null;
23
+ found_at: string;
24
+ 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">;
25
+ financing_type: string | null;
26
+ 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;
27
+ amount: string | null;
28
+ amount_normalized: number | null;
29
+ source_urls: Array<string>;
30
+ };
31
+ relationships: {
32
+ company: {
33
+ data: {
34
+ id: string;
35
+ type: "company";
36
+ };
37
+ };
38
+ investors: {
39
+ data: Array<{
40
+ id: unknown;
41
+ type: unknown;
42
+ }>;
43
+ };
44
+ };
45
+ }>;
46
+ included: Array<{
47
+ id: string;
48
+ type: "company";
49
+ attributes: {
50
+ domain: string;
51
+ company_name: string | null;
52
+ ticker: string | null;
53
+ };
54
+ }>;
55
+ meta?: {
56
+ schema_version: string;
57
+ record_state: "active";
58
+ count?: number;
59
+ };
60
+ }>;
@@ -0,0 +1,64 @@
1
+ /**
2
+ * Retrieve company's Github Repositories
3
+ * Returns a list of company's Github Repositories.
4
+ * HTTP GET /companies/{company_id_or_domain}/github_repositories
5
+ */
6
+ type companyGithubRepositories = (params: {
7
+ /** Company's ID or domain. */
8
+ company_id_or_domain: string;
9
+ /** Only return `GithubRepositories` first seen after given date (ISO 8601). */
10
+ first_seen_at_from?: string;
11
+ /** Only return `GithubRepositories` 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: "github_repository";
21
+ attributes: {
22
+ url: string;
23
+ description: string | null;
24
+ first_seen_at: string;
25
+ };
26
+ relationships: {
27
+ company: {
28
+ data: {
29
+ id: string;
30
+ type: "company";
31
+ };
32
+ };
33
+ timeseries_datapoints: {
34
+ data: Array<{
35
+ id: unknown;
36
+ type: unknown;
37
+ }>;
38
+ };
39
+ };
40
+ }>;
41
+ included: Array<{
42
+ id: string;
43
+ type: "company";
44
+ attributes: {
45
+ domain: string;
46
+ company_name: string | null;
47
+ ticker: string | null;
48
+ };
49
+ } | {
50
+ attributes?: {
51
+ data?: {
52
+ forks: number;
53
+ stars: number;
54
+ watches: number;
55
+ last_update_at: string;
56
+ };
57
+ };
58
+ }>;
59
+ meta?: {
60
+ schema_version: string;
61
+ record_state: "active";
62
+ count?: number;
63
+ };
64
+ }>;
@@ -0,0 +1,102 @@
1
+ /**
2
+ * Retrieve company's Job Openings
3
+ * Returns a list of company's Job Openings.
4
+ * HTTP GET /companies/{company_id_or_domain}/job_openings
5
+ */
6
+ type companyJobOpenings = (params: {
7
+ /** Company's ID or domain. */
8
+ company_id_or_domain: string;
9
+ /** Set to true if you'd like to receive JobOpenings that are not closed, have last_seen_at more recent than 5 days and were found in the last year. */
10
+ active_only?: boolean;
11
+ /** Similar to `active_only`, but without considering `last_seen_at` timestamp. */
12
+ not_closed?: boolean;
13
+ /** Only return `JobOpenings` first seen after given date (ISO 8601). */
14
+ first_seen_at_from?: string;
15
+ /** Only return `JobOpenings` first seen before given date (ISO 8601). */
16
+ first_seen_at_until?: string;
17
+ /** Only return `JobOpenings` last seen after given date (ISO 8601). */
18
+ last_seen_at_from?: string;
19
+ /** Only return `JobOpenings` last seen before given date (ISO 8601). */
20
+ last_seen_at_until?: string;
21
+ /** Only return JobOpenings that have description. */
22
+ with_description_only?: boolean;
23
+ /** Only return JobOpenings that have location. */
24
+ with_location_only?: boolean;
25
+ /** Comma-separated (,) `JobOpening` categories. */
26
+ 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">;
27
+ /** Page number of shown items. **NOTE**: If the parameter is not provided, the meta property `count` will be omitted from response for performance reasons. */
28
+ page?: number;
29
+ /** Limit the number of shown items per page. */
30
+ limit?: number;
31
+ }) => Promise<{
32
+ data: Array<{
33
+ id: string;
34
+ type: "job_opening";
35
+ attributes: {
36
+ title: string;
37
+ description: string | null;
38
+ url: string;
39
+ first_seen_at: string;
40
+ last_seen_at: string;
41
+ last_processed_at: string;
42
+ contract_types: Array<Record<string, unknown>>;
43
+ 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">;
44
+ onet_data: {
45
+ code: string | null;
46
+ family: string | null;
47
+ occupation_name: string | null;
48
+ };
49
+ posted_at: string | null;
50
+ recruiter_data: {
51
+ name: string | null;
52
+ title: string | null;
53
+ contact: string | null;
54
+ };
55
+ salary: string | null;
56
+ salary_data: {
57
+ salary_low: number | null;
58
+ salary_high: number | null;
59
+ salary_currency: string | null;
60
+ salary_low_usd: number | null;
61
+ salary_high_usd: number | null;
62
+ salary_time_unit: "hour" | "day" | "week" | "month" | "year" | null;
63
+ };
64
+ seniority: "not_set" | "founder" | "c_level" | "partner" | "president" | "vice_president" | "head" | "director" | "manager" | "mid_senior" | "junior" | "non_manager";
65
+ status: "closed" | null;
66
+ language: string | null;
67
+ location: string | null;
68
+ location_data: Array<{
69
+ city: unknown;
70
+ state: unknown;
71
+ zip_code: unknown;
72
+ country: unknown;
73
+ region: unknown;
74
+ continent: unknown;
75
+ fuzzy_match: unknown;
76
+ }>;
77
+ tags: Array<Record<string, unknown>>;
78
+ };
79
+ relationships: {
80
+ company: {
81
+ data: {
82
+ id: string;
83
+ type: "company";
84
+ };
85
+ };
86
+ };
87
+ }>;
88
+ included: Array<{
89
+ id: string;
90
+ type: "company";
91
+ attributes: {
92
+ domain: string;
93
+ company_name: string | null;
94
+ ticker: string | null;
95
+ };
96
+ }>;
97
+ meta?: {
98
+ schema_version: string;
99
+ record_state: "active";
100
+ count?: number;
101
+ };
102
+ }>;
@@ -0,0 +1,113 @@
1
+ /**
2
+ * Retrieve company's News Events
3
+ * Returns a list of company's News Events.
4
+ * HTTP GET /companies/{company_id_or_domain}/news_events
5
+ */
6
+ type companyNewsEvents = (params: {
7
+ /** Company's ID or domain. */
8
+ company_id_or_domain: string;
9
+ /** Only return `NewsEvents` found after given date (ISO 8601). */
10
+ found_at_from?: string;
11
+ /** Only return `NewsEvents` found before given date (ISO 8601). */
12
+ found_at_until?: string;
13
+ /** Comma-separated (,) `NewsEvent` categories. */
14
+ categories?: Array<"acquires" | "merges_with" | "sells_assets_to" | "signs_new_client" | "files_suit_against" | "has_issues_with" | "closes_offices_in" | "decreases_headcount_by" | "attends_event" | "expands_facilities" | "expands_offices_in" | "expands_offices_to" | "increases_headcount_by" | "opens_new_location" | "goes_public" | "invests_into" | "invests_into_assets" | "receives_financing" | "hires" | "leaves" | "promotes" | "retires_from" | "integrates_with" | "is_developing" | "launches" | "partners_with" | "receives_award" | "recognized_as" | "identified_as_competitor_of">;
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: "news_event";
23
+ attributes: {
24
+ summary: string;
25
+ category: "acquires" | "merges_with" | "sells_assets_to" | "signs_new_client" | "files_suit_against" | "has_issues_with" | "closes_offices_in" | "decreases_headcount_by" | "attends_event" | "expands_facilities" | "expands_offices_in" | "expands_offices_to" | "increases_headcount_by" | "opens_new_location" | "goes_public" | "invests_into" | "invests_into_assets" | "receives_financing" | "hires" | "leaves" | "promotes" | "retires_from" | "integrates_with" | "is_developing" | "launches" | "partners_with" | "receives_award" | "recognized_as" | "identified_as_competitor_of";
26
+ found_at: string;
27
+ confidence: number;
28
+ article_sentence: string;
29
+ planning: boolean;
30
+ amount: string | null;
31
+ amount_normalized: number | null;
32
+ assets: string | null;
33
+ assets_tags: Array<string>;
34
+ award: string | null;
35
+ contact: string | null;
36
+ event: string | null;
37
+ effective_date: string | null;
38
+ division: string | null;
39
+ financing_type: string | null;
40
+ 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;
41
+ financing_type_tags: Array<string>;
42
+ headcount: number | null;
43
+ job_title: string | null;
44
+ job_title_tags: Array<string>;
45
+ location: string | null;
46
+ location_data: Array<{
47
+ city: unknown;
48
+ state: unknown;
49
+ zip_code: unknown;
50
+ country: unknown;
51
+ region: unknown;
52
+ continent: unknown;
53
+ fuzzy_match: unknown;
54
+ }>;
55
+ product: string | null;
56
+ product_data: {
57
+ full_text: string | null;
58
+ name: string | null;
59
+ release_type: string | null;
60
+ release_version: string | null;
61
+ fuzzy_match: boolean | null;
62
+ };
63
+ product_tags: Array<string>;
64
+ recognition: string | null;
65
+ vulnerability: string | null;
66
+ };
67
+ relationships: {
68
+ company1?: {
69
+ data: {
70
+ id: string;
71
+ type: "company";
72
+ };
73
+ };
74
+ company2?: {
75
+ data: {
76
+ id: string;
77
+ type: "company";
78
+ };
79
+ };
80
+ most_relevant_source: {
81
+ data: {
82
+ id: string;
83
+ type: "news_article";
84
+ };
85
+ };
86
+ };
87
+ }>;
88
+ included: Array<{
89
+ id: string;
90
+ type: "company";
91
+ attributes: {
92
+ domain: string;
93
+ company_name: string | null;
94
+ ticker: string | null;
95
+ };
96
+ } | {
97
+ id: string;
98
+ type: "news_article";
99
+ attributes: {
100
+ url: string;
101
+ title: string;
102
+ author: string | null;
103
+ image_url: string | null;
104
+ published_at: string;
105
+ body: string;
106
+ };
107
+ }>;
108
+ meta?: {
109
+ schema_version: string;
110
+ record_state: "active";
111
+ count?: number;
112
+ };
113
+ }>;
@@ -0,0 +1,51 @@
1
+ /**
2
+ * Retrieve company's Products
3
+ * Returns a list of company's Products.
4
+ * HTTP GET /companies/{company_id_or_domain}/products
5
+ */
6
+ type companyProducts = (params: {
7
+ /** Company's ID or domain. */
8
+ company_id_or_domain: string;
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
+ }>;