exa-js 2.0.12 → 2.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/dist/index.d.mts +78 -4
- package/dist/index.d.ts +78 -4
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -2179,7 +2179,6 @@ interface components {
|
|
|
2179
2179
|
pathItems: never;
|
|
2180
2180
|
}
|
|
2181
2181
|
type ArticleEntity = components["schemas"]["ArticleEntity"];
|
|
2182
|
-
type CompanyEntity = components["schemas"]["CompanyEntity"];
|
|
2183
2182
|
type CreateCriterionParameters = components["schemas"]["CreateCriterionParameters"];
|
|
2184
2183
|
type CreateEnrichmentParameters = components["schemas"]["CreateEnrichmentParameters"];
|
|
2185
2184
|
type CreateImportParameters = components["schemas"]["CreateImportParameters"];
|
|
@@ -2190,7 +2189,6 @@ type CreateWebsetParameters = components["schemas"]["CreateWebsetParameters"];
|
|
|
2190
2189
|
type CreateWebsetSearchParameters = components["schemas"]["CreateWebsetSearchParameters"];
|
|
2191
2190
|
type CustomEntity = components["schemas"]["CustomEntity"];
|
|
2192
2191
|
type EnrichmentResult = components["schemas"]["EnrichmentResult"];
|
|
2193
|
-
type Entity = components["schemas"]["Entity"];
|
|
2194
2192
|
type Event = components["schemas"]["Event"];
|
|
2195
2193
|
type GetWebsetResponse = components["schemas"]["GetWebsetResponse"];
|
|
2196
2194
|
type Import = components["schemas"]["Import"];
|
|
@@ -2206,7 +2204,6 @@ type Monitor = components["schemas"]["Monitor"];
|
|
|
2206
2204
|
type MonitorBehavior = components["schemas"]["MonitorBehavior"];
|
|
2207
2205
|
type MonitorCadence = components["schemas"]["MonitorCadence"];
|
|
2208
2206
|
type MonitorRun = components["schemas"]["MonitorRun"];
|
|
2209
|
-
type PersonEntity = components["schemas"]["PersonEntity"];
|
|
2210
2207
|
type PreviewWebsetParameters = components["schemas"]["PreviewWebsetParameters"];
|
|
2211
2208
|
type PreviewWebsetResponse = components["schemas"]["PreviewWebsetResponse"];
|
|
2212
2209
|
type ResearchPaperEntity = components["schemas"]["ResearchPaperEntity"];
|
|
@@ -3243,6 +3240,81 @@ type CostDollars = {
|
|
|
3243
3240
|
search?: CostDollarsSeearch;
|
|
3244
3241
|
contents?: CostDollarsContents;
|
|
3245
3242
|
};
|
|
3243
|
+
/**
|
|
3244
|
+
* Entity types for company/people search results.
|
|
3245
|
+
* Only returned when using category=company or category=people searches.
|
|
3246
|
+
*/
|
|
3247
|
+
/** Company workforce information. */
|
|
3248
|
+
type EntityCompanyPropertiesWorkforce = {
|
|
3249
|
+
total?: number | null;
|
|
3250
|
+
};
|
|
3251
|
+
/** Company headquarters information. */
|
|
3252
|
+
type EntityCompanyPropertiesHeadquarters = {
|
|
3253
|
+
address?: string | null;
|
|
3254
|
+
city?: string | null;
|
|
3255
|
+
postalCode?: string | null;
|
|
3256
|
+
country?: string | null;
|
|
3257
|
+
};
|
|
3258
|
+
/** Funding round information. */
|
|
3259
|
+
type EntityCompanyPropertiesFundingRound = {
|
|
3260
|
+
name?: string | null;
|
|
3261
|
+
date?: string | null;
|
|
3262
|
+
amount?: number | null;
|
|
3263
|
+
};
|
|
3264
|
+
/** Company financial information. */
|
|
3265
|
+
type EntityCompanyPropertiesFinancials = {
|
|
3266
|
+
revenueAnnual?: number | null;
|
|
3267
|
+
fundingTotal?: number | null;
|
|
3268
|
+
fundingLatestRound?: EntityCompanyPropertiesFundingRound | null;
|
|
3269
|
+
};
|
|
3270
|
+
/** Structured properties for a company entity. */
|
|
3271
|
+
type EntityCompanyProperties = {
|
|
3272
|
+
name?: string | null;
|
|
3273
|
+
foundedYear?: number | null;
|
|
3274
|
+
description?: string | null;
|
|
3275
|
+
workforce?: EntityCompanyPropertiesWorkforce | null;
|
|
3276
|
+
headquarters?: EntityCompanyPropertiesHeadquarters | null;
|
|
3277
|
+
financials?: EntityCompanyPropertiesFinancials | null;
|
|
3278
|
+
};
|
|
3279
|
+
/** Date range for work history entries. */
|
|
3280
|
+
type EntityDateRange = {
|
|
3281
|
+
from?: string | null;
|
|
3282
|
+
to?: string | null;
|
|
3283
|
+
};
|
|
3284
|
+
/** Reference to a company in work history. */
|
|
3285
|
+
type EntityPersonPropertiesCompanyRef = {
|
|
3286
|
+
id?: string | null;
|
|
3287
|
+
name?: string | null;
|
|
3288
|
+
};
|
|
3289
|
+
/** A single work history entry for a person. */
|
|
3290
|
+
type EntityPersonPropertiesWorkHistoryEntry = {
|
|
3291
|
+
title?: string | null;
|
|
3292
|
+
location?: string | null;
|
|
3293
|
+
dates?: EntityDateRange | null;
|
|
3294
|
+
company?: EntityPersonPropertiesCompanyRef | null;
|
|
3295
|
+
};
|
|
3296
|
+
/** Structured properties for a person entity. */
|
|
3297
|
+
type EntityPersonProperties = {
|
|
3298
|
+
name?: string | null;
|
|
3299
|
+
location?: string | null;
|
|
3300
|
+
workHistory?: EntityPersonPropertiesWorkHistoryEntry[];
|
|
3301
|
+
};
|
|
3302
|
+
/** Structured entity data for a company. */
|
|
3303
|
+
type CompanyEntity = {
|
|
3304
|
+
id: string;
|
|
3305
|
+
type: "company";
|
|
3306
|
+
version: number;
|
|
3307
|
+
properties: EntityCompanyProperties;
|
|
3308
|
+
};
|
|
3309
|
+
/** Structured entity data for a person. */
|
|
3310
|
+
type PersonEntity = {
|
|
3311
|
+
id: string;
|
|
3312
|
+
type: "person";
|
|
3313
|
+
version: number;
|
|
3314
|
+
properties: EntityPersonProperties;
|
|
3315
|
+
};
|
|
3316
|
+
/** Structured entity data for company or person search results. */
|
|
3317
|
+
type Entity = CompanyEntity | PersonEntity;
|
|
3246
3318
|
/**
|
|
3247
3319
|
* Represents a search result object.
|
|
3248
3320
|
* @typedef {Object} SearchResult
|
|
@@ -3254,6 +3326,7 @@ type CostDollars = {
|
|
|
3254
3326
|
* @property {string} id - The temporary ID for the document.
|
|
3255
3327
|
* @property {string} [image] - A representative image for the content, if any.
|
|
3256
3328
|
* @property {string} [favicon] - A favicon for the site, if any.
|
|
3329
|
+
* @property {Entity[]} [entities] - Structured entity data for company or person search results.
|
|
3257
3330
|
*/
|
|
3258
3331
|
type SearchResult<T extends ContentsOptions> = {
|
|
3259
3332
|
title: string | null;
|
|
@@ -3264,6 +3337,7 @@ type SearchResult<T extends ContentsOptions> = {
|
|
|
3264
3337
|
id: string;
|
|
3265
3338
|
image?: string;
|
|
3266
3339
|
favicon?: string;
|
|
3340
|
+
entities?: Entity[];
|
|
3267
3341
|
} & ContentsResultComponent<T>;
|
|
3268
3342
|
/**
|
|
3269
3343
|
* Represents a search response object.
|
|
@@ -3586,4 +3660,4 @@ declare class Exa {
|
|
|
3586
3660
|
private parseSSEStream;
|
|
3587
3661
|
}
|
|
3588
3662
|
|
|
3589
|
-
export { type AnswerOptions, type AnswerOptionsTyped, type AnswerResponse, type AnswerResponseTyped, type AnswerStreamChunk, type AnswerStreamResponse, type ArticleEntity, type BaseSearchOptions, type CompanyEntity, type ContentsOptions, type ContentsResultComponent, type ContextOptions, type CostDollars, type CostDollarsContents, type CostDollarsSeearch, type CreateCriterionParameters, type CreateEnrichmentParameters, CreateEnrichmentParametersFormat, type CreateImportParameters, CreateImportParametersFormat, type CreateImportResponse, type CreateImportWithCsvParameters, type CreateMonitorParameters, type CreateWebhookParameters, type CreateWebsetParameters, type CreateWebsetSearchParameters, type CsvDataInput, type CustomEntity, type Default, type EnrichmentResult, type Entity, type Event, EventType, EventsClient, Exa, ExaError, type ExtrasOptions, type ExtrasResponse, type FindSimilarOptions, type GetWebsetResponse, type HighlightsContentsOptions, type HighlightsResponse, HttpStatusCode, type Import, ImportFailedReason, ImportFormat, ImportObject, ImportStatus, ImportsClient, type JSONSchema, type ListEventsResponse, type ListImportsResponse, type ListMonitorRunsResponse, type ListMonitorsOptions, type ListMonitorsResponse, type ListResearchRequest, type ListResearchResponse, type ListWebhookAttemptsResponse, type ListWebhooksResponse, type ListWebsetItemResponse, type ListWebsetItemsOptions, type ListWebsetsResponse, type LivecrawlOptions, type Monitor, type MonitorBehavior, type MonitorCadence, MonitorObject, type MonitorRun, MonitorRunObject, MonitorRunStatus, MonitorRunType, MonitorStatus, type PersonEntity, type PreviewWebsetParameters, type PreviewWebsetResponse, type RegularSearchOptions, type Research, type ResearchCreateParamsTyped, type ResearchCreateRequest, type ResearchCreateResponse, type ResearchDefinitionEvent, type ResearchEvent, type ResearchOperation, type ResearchOutputEvent, type ResearchPaperEntity, type ResearchPlanDefinitionEvent, type ResearchPlanOperationEvent, type ResearchPlanOutputEvent, type ResearchStatus, type ResearchStreamEvent, type ResearchStreamEventTyped, type ResearchTaskDefinitionEvent, type ResearchTaskOperationEvent, type ResearchTaskOutputEvent, type ResearchTyped, type SearchResponse, type SearchResult, type Status, type SubpagesResponse, type SummaryContentsOptions, type SummaryContentsOptionsTyped, type SummaryResponse, type TextContentsOptions, type TextResponse, type UpdateEnrichmentParameters, type UpdateImport, type UpdateMonitor, UpdateMonitorStatus, type UpdateWebhookParameters, type UpdateWebsetRequest, type WaitUntilCompletedOptions, type Webhook, type WebhookAttempt, WebhookStatus, type Webset, type WebsetEnrichment, WebsetEnrichmentFormat, WebsetEnrichmentStatus, WebsetEnrichmentsClient, WebsetExcludeSource, type WebsetHeadersLike, WebsetImportSource, type WebsetItem, type WebsetItemArticleProperties, type WebsetItemCompanyProperties, type WebsetItemCustomProperties, type WebsetItemEvaluation, WebsetItemEvaluationSatisfied, type WebsetItemPersonProperties, type WebsetItemResearchPaperProperties, WebsetItemSource, WebsetItemsClient, WebsetMonitorsClient, type WebsetSearch, WebsetSearchBehavior, WebsetSearchCanceledReason, WebsetSearchScopeSource, WebsetSearchStatus, WebsetSearchesClient, WebsetStatus, WebsetWebhooksClient, WebsetsClient, Exa as default };
|
|
3663
|
+
export { type AnswerOptions, type AnswerOptionsTyped, type AnswerResponse, type AnswerResponseTyped, type AnswerStreamChunk, type AnswerStreamResponse, type ArticleEntity, type BaseSearchOptions, type CompanyEntity, type ContentsOptions, type ContentsResultComponent, type ContextOptions, type CostDollars, type CostDollarsContents, type CostDollarsSeearch, type CreateCriterionParameters, type CreateEnrichmentParameters, CreateEnrichmentParametersFormat, type CreateImportParameters, CreateImportParametersFormat, type CreateImportResponse, type CreateImportWithCsvParameters, type CreateMonitorParameters, type CreateWebhookParameters, type CreateWebsetParameters, type CreateWebsetSearchParameters, type CsvDataInput, type CustomEntity, type Default, type EnrichmentResult, type Entity, type EntityCompanyProperties, type EntityCompanyPropertiesFinancials, type EntityCompanyPropertiesFundingRound, type EntityCompanyPropertiesHeadquarters, type EntityCompanyPropertiesWorkforce, type EntityDateRange, type EntityPersonProperties, type EntityPersonPropertiesCompanyRef, type EntityPersonPropertiesWorkHistoryEntry, type Event, EventType, EventsClient, Exa, ExaError, type ExtrasOptions, type ExtrasResponse, type FindSimilarOptions, type GetWebsetResponse, type HighlightsContentsOptions, type HighlightsResponse, HttpStatusCode, type Import, ImportFailedReason, ImportFormat, ImportObject, ImportStatus, ImportsClient, type JSONSchema, type ListEventsResponse, type ListImportsResponse, type ListMonitorRunsResponse, type ListMonitorsOptions, type ListMonitorsResponse, type ListResearchRequest, type ListResearchResponse, type ListWebhookAttemptsResponse, type ListWebhooksResponse, type ListWebsetItemResponse, type ListWebsetItemsOptions, type ListWebsetsResponse, type LivecrawlOptions, type Monitor, type MonitorBehavior, type MonitorCadence, MonitorObject, type MonitorRun, MonitorRunObject, MonitorRunStatus, MonitorRunType, MonitorStatus, type PersonEntity, type PreviewWebsetParameters, type PreviewWebsetResponse, type RegularSearchOptions, type Research, type ResearchCreateParamsTyped, type ResearchCreateRequest, type ResearchCreateResponse, type ResearchDefinitionEvent, type ResearchEvent, type ResearchOperation, type ResearchOutputEvent, type ResearchPaperEntity, type ResearchPlanDefinitionEvent, type ResearchPlanOperationEvent, type ResearchPlanOutputEvent, type ResearchStatus, type ResearchStreamEvent, type ResearchStreamEventTyped, type ResearchTaskDefinitionEvent, type ResearchTaskOperationEvent, type ResearchTaskOutputEvent, type ResearchTyped, type SearchResponse, type SearchResult, type Status, type SubpagesResponse, type SummaryContentsOptions, type SummaryContentsOptionsTyped, type SummaryResponse, type TextContentsOptions, type TextResponse, type UpdateEnrichmentParameters, type UpdateImport, type UpdateMonitor, UpdateMonitorStatus, type UpdateWebhookParameters, type UpdateWebsetRequest, type WaitUntilCompletedOptions, type Webhook, type WebhookAttempt, WebhookStatus, type Webset, type WebsetEnrichment, WebsetEnrichmentFormat, WebsetEnrichmentStatus, WebsetEnrichmentsClient, WebsetExcludeSource, type WebsetHeadersLike, WebsetImportSource, type WebsetItem, type WebsetItemArticleProperties, type WebsetItemCompanyProperties, type WebsetItemCustomProperties, type WebsetItemEvaluation, WebsetItemEvaluationSatisfied, type WebsetItemPersonProperties, type WebsetItemResearchPaperProperties, WebsetItemSource, WebsetItemsClient, WebsetMonitorsClient, type WebsetSearch, WebsetSearchBehavior, WebsetSearchCanceledReason, WebsetSearchScopeSource, WebsetSearchStatus, WebsetSearchesClient, WebsetStatus, WebsetWebhooksClient, WebsetsClient, Exa as default };
|
package/dist/index.d.ts
CHANGED
|
@@ -2179,7 +2179,6 @@ interface components {
|
|
|
2179
2179
|
pathItems: never;
|
|
2180
2180
|
}
|
|
2181
2181
|
type ArticleEntity = components["schemas"]["ArticleEntity"];
|
|
2182
|
-
type CompanyEntity = components["schemas"]["CompanyEntity"];
|
|
2183
2182
|
type CreateCriterionParameters = components["schemas"]["CreateCriterionParameters"];
|
|
2184
2183
|
type CreateEnrichmentParameters = components["schemas"]["CreateEnrichmentParameters"];
|
|
2185
2184
|
type CreateImportParameters = components["schemas"]["CreateImportParameters"];
|
|
@@ -2190,7 +2189,6 @@ type CreateWebsetParameters = components["schemas"]["CreateWebsetParameters"];
|
|
|
2190
2189
|
type CreateWebsetSearchParameters = components["schemas"]["CreateWebsetSearchParameters"];
|
|
2191
2190
|
type CustomEntity = components["schemas"]["CustomEntity"];
|
|
2192
2191
|
type EnrichmentResult = components["schemas"]["EnrichmentResult"];
|
|
2193
|
-
type Entity = components["schemas"]["Entity"];
|
|
2194
2192
|
type Event = components["schemas"]["Event"];
|
|
2195
2193
|
type GetWebsetResponse = components["schemas"]["GetWebsetResponse"];
|
|
2196
2194
|
type Import = components["schemas"]["Import"];
|
|
@@ -2206,7 +2204,6 @@ type Monitor = components["schemas"]["Monitor"];
|
|
|
2206
2204
|
type MonitorBehavior = components["schemas"]["MonitorBehavior"];
|
|
2207
2205
|
type MonitorCadence = components["schemas"]["MonitorCadence"];
|
|
2208
2206
|
type MonitorRun = components["schemas"]["MonitorRun"];
|
|
2209
|
-
type PersonEntity = components["schemas"]["PersonEntity"];
|
|
2210
2207
|
type PreviewWebsetParameters = components["schemas"]["PreviewWebsetParameters"];
|
|
2211
2208
|
type PreviewWebsetResponse = components["schemas"]["PreviewWebsetResponse"];
|
|
2212
2209
|
type ResearchPaperEntity = components["schemas"]["ResearchPaperEntity"];
|
|
@@ -3243,6 +3240,81 @@ type CostDollars = {
|
|
|
3243
3240
|
search?: CostDollarsSeearch;
|
|
3244
3241
|
contents?: CostDollarsContents;
|
|
3245
3242
|
};
|
|
3243
|
+
/**
|
|
3244
|
+
* Entity types for company/people search results.
|
|
3245
|
+
* Only returned when using category=company or category=people searches.
|
|
3246
|
+
*/
|
|
3247
|
+
/** Company workforce information. */
|
|
3248
|
+
type EntityCompanyPropertiesWorkforce = {
|
|
3249
|
+
total?: number | null;
|
|
3250
|
+
};
|
|
3251
|
+
/** Company headquarters information. */
|
|
3252
|
+
type EntityCompanyPropertiesHeadquarters = {
|
|
3253
|
+
address?: string | null;
|
|
3254
|
+
city?: string | null;
|
|
3255
|
+
postalCode?: string | null;
|
|
3256
|
+
country?: string | null;
|
|
3257
|
+
};
|
|
3258
|
+
/** Funding round information. */
|
|
3259
|
+
type EntityCompanyPropertiesFundingRound = {
|
|
3260
|
+
name?: string | null;
|
|
3261
|
+
date?: string | null;
|
|
3262
|
+
amount?: number | null;
|
|
3263
|
+
};
|
|
3264
|
+
/** Company financial information. */
|
|
3265
|
+
type EntityCompanyPropertiesFinancials = {
|
|
3266
|
+
revenueAnnual?: number | null;
|
|
3267
|
+
fundingTotal?: number | null;
|
|
3268
|
+
fundingLatestRound?: EntityCompanyPropertiesFundingRound | null;
|
|
3269
|
+
};
|
|
3270
|
+
/** Structured properties for a company entity. */
|
|
3271
|
+
type EntityCompanyProperties = {
|
|
3272
|
+
name?: string | null;
|
|
3273
|
+
foundedYear?: number | null;
|
|
3274
|
+
description?: string | null;
|
|
3275
|
+
workforce?: EntityCompanyPropertiesWorkforce | null;
|
|
3276
|
+
headquarters?: EntityCompanyPropertiesHeadquarters | null;
|
|
3277
|
+
financials?: EntityCompanyPropertiesFinancials | null;
|
|
3278
|
+
};
|
|
3279
|
+
/** Date range for work history entries. */
|
|
3280
|
+
type EntityDateRange = {
|
|
3281
|
+
from?: string | null;
|
|
3282
|
+
to?: string | null;
|
|
3283
|
+
};
|
|
3284
|
+
/** Reference to a company in work history. */
|
|
3285
|
+
type EntityPersonPropertiesCompanyRef = {
|
|
3286
|
+
id?: string | null;
|
|
3287
|
+
name?: string | null;
|
|
3288
|
+
};
|
|
3289
|
+
/** A single work history entry for a person. */
|
|
3290
|
+
type EntityPersonPropertiesWorkHistoryEntry = {
|
|
3291
|
+
title?: string | null;
|
|
3292
|
+
location?: string | null;
|
|
3293
|
+
dates?: EntityDateRange | null;
|
|
3294
|
+
company?: EntityPersonPropertiesCompanyRef | null;
|
|
3295
|
+
};
|
|
3296
|
+
/** Structured properties for a person entity. */
|
|
3297
|
+
type EntityPersonProperties = {
|
|
3298
|
+
name?: string | null;
|
|
3299
|
+
location?: string | null;
|
|
3300
|
+
workHistory?: EntityPersonPropertiesWorkHistoryEntry[];
|
|
3301
|
+
};
|
|
3302
|
+
/** Structured entity data for a company. */
|
|
3303
|
+
type CompanyEntity = {
|
|
3304
|
+
id: string;
|
|
3305
|
+
type: "company";
|
|
3306
|
+
version: number;
|
|
3307
|
+
properties: EntityCompanyProperties;
|
|
3308
|
+
};
|
|
3309
|
+
/** Structured entity data for a person. */
|
|
3310
|
+
type PersonEntity = {
|
|
3311
|
+
id: string;
|
|
3312
|
+
type: "person";
|
|
3313
|
+
version: number;
|
|
3314
|
+
properties: EntityPersonProperties;
|
|
3315
|
+
};
|
|
3316
|
+
/** Structured entity data for company or person search results. */
|
|
3317
|
+
type Entity = CompanyEntity | PersonEntity;
|
|
3246
3318
|
/**
|
|
3247
3319
|
* Represents a search result object.
|
|
3248
3320
|
* @typedef {Object} SearchResult
|
|
@@ -3254,6 +3326,7 @@ type CostDollars = {
|
|
|
3254
3326
|
* @property {string} id - The temporary ID for the document.
|
|
3255
3327
|
* @property {string} [image] - A representative image for the content, if any.
|
|
3256
3328
|
* @property {string} [favicon] - A favicon for the site, if any.
|
|
3329
|
+
* @property {Entity[]} [entities] - Structured entity data for company or person search results.
|
|
3257
3330
|
*/
|
|
3258
3331
|
type SearchResult<T extends ContentsOptions> = {
|
|
3259
3332
|
title: string | null;
|
|
@@ -3264,6 +3337,7 @@ type SearchResult<T extends ContentsOptions> = {
|
|
|
3264
3337
|
id: string;
|
|
3265
3338
|
image?: string;
|
|
3266
3339
|
favicon?: string;
|
|
3340
|
+
entities?: Entity[];
|
|
3267
3341
|
} & ContentsResultComponent<T>;
|
|
3268
3342
|
/**
|
|
3269
3343
|
* Represents a search response object.
|
|
@@ -3586,4 +3660,4 @@ declare class Exa {
|
|
|
3586
3660
|
private parseSSEStream;
|
|
3587
3661
|
}
|
|
3588
3662
|
|
|
3589
|
-
export { type AnswerOptions, type AnswerOptionsTyped, type AnswerResponse, type AnswerResponseTyped, type AnswerStreamChunk, type AnswerStreamResponse, type ArticleEntity, type BaseSearchOptions, type CompanyEntity, type ContentsOptions, type ContentsResultComponent, type ContextOptions, type CostDollars, type CostDollarsContents, type CostDollarsSeearch, type CreateCriterionParameters, type CreateEnrichmentParameters, CreateEnrichmentParametersFormat, type CreateImportParameters, CreateImportParametersFormat, type CreateImportResponse, type CreateImportWithCsvParameters, type CreateMonitorParameters, type CreateWebhookParameters, type CreateWebsetParameters, type CreateWebsetSearchParameters, type CsvDataInput, type CustomEntity, type Default, type EnrichmentResult, type Entity, type Event, EventType, EventsClient, Exa, ExaError, type ExtrasOptions, type ExtrasResponse, type FindSimilarOptions, type GetWebsetResponse, type HighlightsContentsOptions, type HighlightsResponse, HttpStatusCode, type Import, ImportFailedReason, ImportFormat, ImportObject, ImportStatus, ImportsClient, type JSONSchema, type ListEventsResponse, type ListImportsResponse, type ListMonitorRunsResponse, type ListMonitorsOptions, type ListMonitorsResponse, type ListResearchRequest, type ListResearchResponse, type ListWebhookAttemptsResponse, type ListWebhooksResponse, type ListWebsetItemResponse, type ListWebsetItemsOptions, type ListWebsetsResponse, type LivecrawlOptions, type Monitor, type MonitorBehavior, type MonitorCadence, MonitorObject, type MonitorRun, MonitorRunObject, MonitorRunStatus, MonitorRunType, MonitorStatus, type PersonEntity, type PreviewWebsetParameters, type PreviewWebsetResponse, type RegularSearchOptions, type Research, type ResearchCreateParamsTyped, type ResearchCreateRequest, type ResearchCreateResponse, type ResearchDefinitionEvent, type ResearchEvent, type ResearchOperation, type ResearchOutputEvent, type ResearchPaperEntity, type ResearchPlanDefinitionEvent, type ResearchPlanOperationEvent, type ResearchPlanOutputEvent, type ResearchStatus, type ResearchStreamEvent, type ResearchStreamEventTyped, type ResearchTaskDefinitionEvent, type ResearchTaskOperationEvent, type ResearchTaskOutputEvent, type ResearchTyped, type SearchResponse, type SearchResult, type Status, type SubpagesResponse, type SummaryContentsOptions, type SummaryContentsOptionsTyped, type SummaryResponse, type TextContentsOptions, type TextResponse, type UpdateEnrichmentParameters, type UpdateImport, type UpdateMonitor, UpdateMonitorStatus, type UpdateWebhookParameters, type UpdateWebsetRequest, type WaitUntilCompletedOptions, type Webhook, type WebhookAttempt, WebhookStatus, type Webset, type WebsetEnrichment, WebsetEnrichmentFormat, WebsetEnrichmentStatus, WebsetEnrichmentsClient, WebsetExcludeSource, type WebsetHeadersLike, WebsetImportSource, type WebsetItem, type WebsetItemArticleProperties, type WebsetItemCompanyProperties, type WebsetItemCustomProperties, type WebsetItemEvaluation, WebsetItemEvaluationSatisfied, type WebsetItemPersonProperties, type WebsetItemResearchPaperProperties, WebsetItemSource, WebsetItemsClient, WebsetMonitorsClient, type WebsetSearch, WebsetSearchBehavior, WebsetSearchCanceledReason, WebsetSearchScopeSource, WebsetSearchStatus, WebsetSearchesClient, WebsetStatus, WebsetWebhooksClient, WebsetsClient, Exa as default };
|
|
3663
|
+
export { type AnswerOptions, type AnswerOptionsTyped, type AnswerResponse, type AnswerResponseTyped, type AnswerStreamChunk, type AnswerStreamResponse, type ArticleEntity, type BaseSearchOptions, type CompanyEntity, type ContentsOptions, type ContentsResultComponent, type ContextOptions, type CostDollars, type CostDollarsContents, type CostDollarsSeearch, type CreateCriterionParameters, type CreateEnrichmentParameters, CreateEnrichmentParametersFormat, type CreateImportParameters, CreateImportParametersFormat, type CreateImportResponse, type CreateImportWithCsvParameters, type CreateMonitorParameters, type CreateWebhookParameters, type CreateWebsetParameters, type CreateWebsetSearchParameters, type CsvDataInput, type CustomEntity, type Default, type EnrichmentResult, type Entity, type EntityCompanyProperties, type EntityCompanyPropertiesFinancials, type EntityCompanyPropertiesFundingRound, type EntityCompanyPropertiesHeadquarters, type EntityCompanyPropertiesWorkforce, type EntityDateRange, type EntityPersonProperties, type EntityPersonPropertiesCompanyRef, type EntityPersonPropertiesWorkHistoryEntry, type Event, EventType, EventsClient, Exa, ExaError, type ExtrasOptions, type ExtrasResponse, type FindSimilarOptions, type GetWebsetResponse, type HighlightsContentsOptions, type HighlightsResponse, HttpStatusCode, type Import, ImportFailedReason, ImportFormat, ImportObject, ImportStatus, ImportsClient, type JSONSchema, type ListEventsResponse, type ListImportsResponse, type ListMonitorRunsResponse, type ListMonitorsOptions, type ListMonitorsResponse, type ListResearchRequest, type ListResearchResponse, type ListWebhookAttemptsResponse, type ListWebhooksResponse, type ListWebsetItemResponse, type ListWebsetItemsOptions, type ListWebsetsResponse, type LivecrawlOptions, type Monitor, type MonitorBehavior, type MonitorCadence, MonitorObject, type MonitorRun, MonitorRunObject, MonitorRunStatus, MonitorRunType, MonitorStatus, type PersonEntity, type PreviewWebsetParameters, type PreviewWebsetResponse, type RegularSearchOptions, type Research, type ResearchCreateParamsTyped, type ResearchCreateRequest, type ResearchCreateResponse, type ResearchDefinitionEvent, type ResearchEvent, type ResearchOperation, type ResearchOutputEvent, type ResearchPaperEntity, type ResearchPlanDefinitionEvent, type ResearchPlanOperationEvent, type ResearchPlanOutputEvent, type ResearchStatus, type ResearchStreamEvent, type ResearchStreamEventTyped, type ResearchTaskDefinitionEvent, type ResearchTaskOperationEvent, type ResearchTaskOutputEvent, type ResearchTyped, type SearchResponse, type SearchResult, type Status, type SubpagesResponse, type SummaryContentsOptions, type SummaryContentsOptionsTyped, type SummaryResponse, type TextContentsOptions, type TextResponse, type UpdateEnrichmentParameters, type UpdateImport, type UpdateMonitor, UpdateMonitorStatus, type UpdateWebhookParameters, type UpdateWebsetRequest, type WaitUntilCompletedOptions, type Webhook, type WebhookAttempt, WebhookStatus, type Webset, type WebsetEnrichment, WebsetEnrichmentFormat, WebsetEnrichmentStatus, WebsetEnrichmentsClient, WebsetExcludeSource, type WebsetHeadersLike, WebsetImportSource, type WebsetItem, type WebsetItemArticleProperties, type WebsetItemCompanyProperties, type WebsetItemCustomProperties, type WebsetItemEvaluation, WebsetItemEvaluationSatisfied, type WebsetItemPersonProperties, type WebsetItemResearchPaperProperties, WebsetItemSource, WebsetItemsClient, WebsetMonitorsClient, type WebsetSearch, WebsetSearchBehavior, WebsetSearchCanceledReason, WebsetSearchScopeSource, WebsetSearchStatus, WebsetSearchesClient, WebsetStatus, WebsetWebhooksClient, WebsetsClient, Exa as default };
|
package/dist/index.js
CHANGED
|
@@ -74,7 +74,7 @@ var import_cross_fetch = __toESM(require("cross-fetch"));
|
|
|
74
74
|
// package.json
|
|
75
75
|
var package_default = {
|
|
76
76
|
name: "exa-js",
|
|
77
|
-
version: "2.0
|
|
77
|
+
version: "2.1.0",
|
|
78
78
|
description: "Exa SDK for Node.js and the browser",
|
|
79
79
|
publishConfig: {
|
|
80
80
|
access: "public"
|