exa-js 1.8.10 → 1.8.12
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 +115 -100
- package/dist/index.d.ts +115 -100
- package/dist/index.js +1 -18
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -16
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1749,7 +1749,7 @@ declare class ResearchClient extends ResearchBaseClient {
|
|
|
1749
1749
|
*/
|
|
1750
1750
|
createTask(params: {
|
|
1751
1751
|
instructions: string;
|
|
1752
|
-
model?:
|
|
1752
|
+
model?: "exa-research" | "exa-research-pro";
|
|
1753
1753
|
output?: {
|
|
1754
1754
|
inferSchema?: boolean;
|
|
1755
1755
|
schema?: JSONSchema;
|
|
@@ -1771,7 +1771,7 @@ declare class ResearchClient extends ResearchBaseClient {
|
|
|
1771
1771
|
}): Promise<SchemaResearchTaskDto>;
|
|
1772
1772
|
getTask(id: string, options: {
|
|
1773
1773
|
stream: true;
|
|
1774
|
-
}): Promise<AsyncGenerator<
|
|
1774
|
+
}): Promise<AsyncGenerator<ResearchTaskEvent, any, any>>;
|
|
1775
1775
|
/**
|
|
1776
1776
|
* @deprecated This method is deprecated and may be removed in a future release.
|
|
1777
1777
|
* @see getTask(id, {stream: true})
|
|
@@ -1811,12 +1811,12 @@ interface components {
|
|
|
1811
1811
|
input: string;
|
|
1812
1812
|
instructions?: string;
|
|
1813
1813
|
/** @enum {string} */
|
|
1814
|
-
model:
|
|
1814
|
+
model: "exa-research" | "exa-research-pro";
|
|
1815
1815
|
stream?: boolean;
|
|
1816
1816
|
text?: {
|
|
1817
1817
|
format?: {
|
|
1818
1818
|
/** @enum {string} */
|
|
1819
|
-
type:
|
|
1819
|
+
type: "text";
|
|
1820
1820
|
} | {
|
|
1821
1821
|
description?: string;
|
|
1822
1822
|
name?: string;
|
|
@@ -1825,7 +1825,7 @@ interface components {
|
|
|
1825
1825
|
};
|
|
1826
1826
|
strict?: boolean;
|
|
1827
1827
|
/** @enum {string} */
|
|
1828
|
-
type:
|
|
1828
|
+
type: "json_schema";
|
|
1829
1829
|
};
|
|
1830
1830
|
};
|
|
1831
1831
|
};
|
|
@@ -1839,7 +1839,7 @@ interface components {
|
|
|
1839
1839
|
* @default exa-research
|
|
1840
1840
|
* @enum {string}
|
|
1841
1841
|
*/
|
|
1842
|
-
model:
|
|
1842
|
+
model: "exa-research" | "exa-research-pro";
|
|
1843
1843
|
output?: {
|
|
1844
1844
|
/**
|
|
1845
1845
|
* @description When true and an output schema is omitted, an output schema will be intelligently generated. Otherwise, if this is false and there is no output schema, a generic markdown report will be generated.
|
|
@@ -1886,13 +1886,13 @@ interface components {
|
|
|
1886
1886
|
/** @description The instructions or query for the research task */
|
|
1887
1887
|
instructions: string;
|
|
1888
1888
|
/** @enum {string} */
|
|
1889
|
-
model?:
|
|
1889
|
+
model?: "exa-research" | "exa-research-pro";
|
|
1890
1890
|
operations: ({
|
|
1891
1891
|
stepId: string;
|
|
1892
1892
|
/** @description Agent generated plan or reasoning for upcoming actions. */
|
|
1893
1893
|
text: string;
|
|
1894
1894
|
/** @enum {string} */
|
|
1895
|
-
type:
|
|
1895
|
+
type: "step-plan";
|
|
1896
1896
|
} | {
|
|
1897
1897
|
/** @description A completed subfield */
|
|
1898
1898
|
data: {
|
|
@@ -1900,7 +1900,7 @@ interface components {
|
|
|
1900
1900
|
};
|
|
1901
1901
|
stepId: string;
|
|
1902
1902
|
/** @enum {string} */
|
|
1903
|
-
type:
|
|
1903
|
+
type: "step-data";
|
|
1904
1904
|
} | {
|
|
1905
1905
|
/** @description What the agent hopes to find with this search query */
|
|
1906
1906
|
goal?: string;
|
|
@@ -1912,24 +1912,24 @@ interface components {
|
|
|
1912
1912
|
title?: string;
|
|
1913
1913
|
url: string;
|
|
1914
1914
|
/** @enum {number} */
|
|
1915
|
-
version:
|
|
1915
|
+
version: 1;
|
|
1916
1916
|
}[];
|
|
1917
1917
|
stepId: string;
|
|
1918
1918
|
/** @enum {string} */
|
|
1919
|
-
type:
|
|
1919
|
+
type: "search";
|
|
1920
1920
|
} | {
|
|
1921
1921
|
/** @description What the agent hopes to find with this crawl */
|
|
1922
1922
|
goal?: string;
|
|
1923
1923
|
stepId: string;
|
|
1924
1924
|
/** @enum {string} */
|
|
1925
|
-
type:
|
|
1925
|
+
type: "crawl";
|
|
1926
1926
|
url: string;
|
|
1927
1927
|
} | {
|
|
1928
1928
|
stepId: string;
|
|
1929
1929
|
/** @description Intermediate chain-of-thought style reasoning output */
|
|
1930
1930
|
thought: string;
|
|
1931
1931
|
/** @enum {string} */
|
|
1932
|
-
type:
|
|
1932
|
+
type: "think";
|
|
1933
1933
|
})[];
|
|
1934
1934
|
/** @description The JSON schema specification for the expected output format */
|
|
1935
1935
|
schema?: {
|
|
@@ -1939,52 +1939,56 @@ interface components {
|
|
|
1939
1939
|
* @description The current status of the research task
|
|
1940
1940
|
* @enum {string}
|
|
1941
1941
|
*/
|
|
1942
|
-
status:
|
|
1942
|
+
status: "running" | "completed" | "failed";
|
|
1943
1943
|
timeMs?: number;
|
|
1944
1944
|
};
|
|
1945
1945
|
ResearchTaskEventDto: {
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1946
|
+
operation: {
|
|
1947
|
+
stepId: string;
|
|
1948
|
+
/** @description Agent generated plan or reasoning for upcoming actions. */
|
|
1949
|
+
text: string;
|
|
1950
|
+
/** @enum {string} */
|
|
1951
|
+
type: "step-plan";
|
|
1952
|
+
} | {
|
|
1953
|
+
/** @description A completed subfield */
|
|
1954
|
+
data: {
|
|
1955
|
+
[key: string]: unknown;
|
|
1956
|
+
};
|
|
1957
|
+
stepId: string;
|
|
1958
|
+
/** @enum {string} */
|
|
1959
|
+
type: "step-data";
|
|
1960
|
+
} | {
|
|
1961
|
+
/** @description What the agent hopes to find with this search query */
|
|
1962
|
+
goal?: string;
|
|
1963
|
+
/** @description Search query used */
|
|
1964
|
+
query: string;
|
|
1965
|
+
results?: {
|
|
1966
|
+
id: string;
|
|
1967
|
+
snippet: string;
|
|
1968
|
+
title?: string;
|
|
1969
|
+
url: string;
|
|
1970
|
+
/** @enum {number} */
|
|
1971
|
+
version: 1;
|
|
1972
|
+
}[];
|
|
1973
|
+
stepId: string;
|
|
1974
|
+
/** @enum {string} */
|
|
1975
|
+
type: "search";
|
|
1976
|
+
} | {
|
|
1977
|
+
/** @description What the agent hopes to find with this crawl */
|
|
1978
|
+
goal?: string;
|
|
1979
|
+
stepId: string;
|
|
1980
|
+
/** @enum {string} */
|
|
1981
|
+
type: "crawl";
|
|
1968
1982
|
url: string;
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
/** @description What the agent hopes to find with this crawl */
|
|
1977
|
-
goal?: string;
|
|
1978
|
-
stepId: string;
|
|
1979
|
-
/** @enum {string} */
|
|
1980
|
-
type: ResearchTaskDtoOperationsType;
|
|
1981
|
-
url: string;
|
|
1982
|
-
} | {
|
|
1983
|
-
stepId: string;
|
|
1984
|
-
/** @description Intermediate chain-of-thought style reasoning output */
|
|
1985
|
-
thought: string;
|
|
1983
|
+
} | {
|
|
1984
|
+
stepId: string;
|
|
1985
|
+
/** @description Intermediate chain-of-thought style reasoning output */
|
|
1986
|
+
thought: string;
|
|
1987
|
+
/** @enum {string} */
|
|
1988
|
+
type: "think";
|
|
1989
|
+
};
|
|
1986
1990
|
/** @enum {string} */
|
|
1987
|
-
type:
|
|
1991
|
+
type: "operation";
|
|
1988
1992
|
} | {
|
|
1989
1993
|
task: {
|
|
1990
1994
|
/** @description Citations grouped by the root field they were used in */
|
|
@@ -2015,13 +2019,13 @@ interface components {
|
|
|
2015
2019
|
/** @description The instructions or query for the research task */
|
|
2016
2020
|
instructions: string;
|
|
2017
2021
|
/** @enum {string} */
|
|
2018
|
-
model?:
|
|
2022
|
+
model?: "exa-research" | "exa-research-pro";
|
|
2019
2023
|
operations: ({
|
|
2020
2024
|
stepId: string;
|
|
2021
2025
|
/** @description Agent generated plan or reasoning for upcoming actions. */
|
|
2022
2026
|
text: string;
|
|
2023
2027
|
/** @enum {string} */
|
|
2024
|
-
type:
|
|
2028
|
+
type: "step-plan";
|
|
2025
2029
|
} | {
|
|
2026
2030
|
/** @description A completed subfield */
|
|
2027
2031
|
data: {
|
|
@@ -2029,7 +2033,7 @@ interface components {
|
|
|
2029
2033
|
};
|
|
2030
2034
|
stepId: string;
|
|
2031
2035
|
/** @enum {string} */
|
|
2032
|
-
type:
|
|
2036
|
+
type: "step-data";
|
|
2033
2037
|
} | {
|
|
2034
2038
|
/** @description What the agent hopes to find with this search query */
|
|
2035
2039
|
goal?: string;
|
|
@@ -2041,24 +2045,24 @@ interface components {
|
|
|
2041
2045
|
title?: string;
|
|
2042
2046
|
url: string;
|
|
2043
2047
|
/** @enum {number} */
|
|
2044
|
-
version:
|
|
2048
|
+
version: 1;
|
|
2045
2049
|
}[];
|
|
2046
2050
|
stepId: string;
|
|
2047
2051
|
/** @enum {string} */
|
|
2048
|
-
type:
|
|
2052
|
+
type: "search";
|
|
2049
2053
|
} | {
|
|
2050
2054
|
/** @description What the agent hopes to find with this crawl */
|
|
2051
2055
|
goal?: string;
|
|
2052
2056
|
stepId: string;
|
|
2053
2057
|
/** @enum {string} */
|
|
2054
|
-
type:
|
|
2058
|
+
type: "crawl";
|
|
2055
2059
|
url: string;
|
|
2056
2060
|
} | {
|
|
2057
2061
|
stepId: string;
|
|
2058
2062
|
/** @description Intermediate chain-of-thought style reasoning output */
|
|
2059
2063
|
thought: string;
|
|
2060
2064
|
/** @enum {string} */
|
|
2061
|
-
type:
|
|
2065
|
+
type: "think";
|
|
2062
2066
|
})[];
|
|
2063
2067
|
/** @description The JSON schema specification for the expected output format */
|
|
2064
2068
|
schema?: {
|
|
@@ -2068,11 +2072,55 @@ interface components {
|
|
|
2068
2072
|
* @description The current status of the research task
|
|
2069
2073
|
* @enum {string}
|
|
2070
2074
|
*/
|
|
2071
|
-
status:
|
|
2075
|
+
status: "running" | "completed" | "failed";
|
|
2072
2076
|
timeMs?: number;
|
|
2073
2077
|
};
|
|
2074
2078
|
/** @enum {string} */
|
|
2075
|
-
type:
|
|
2079
|
+
type: "completed";
|
|
2080
|
+
};
|
|
2081
|
+
ResearchTaskOperationDto: {
|
|
2082
|
+
stepId: string;
|
|
2083
|
+
/** @description Agent generated plan or reasoning for upcoming actions. */
|
|
2084
|
+
text: string;
|
|
2085
|
+
/** @enum {string} */
|
|
2086
|
+
type: "step-plan";
|
|
2087
|
+
} | {
|
|
2088
|
+
/** @description A completed subfield */
|
|
2089
|
+
data: {
|
|
2090
|
+
[key: string]: unknown;
|
|
2091
|
+
};
|
|
2092
|
+
stepId: string;
|
|
2093
|
+
/** @enum {string} */
|
|
2094
|
+
type: "step-data";
|
|
2095
|
+
} | {
|
|
2096
|
+
/** @description What the agent hopes to find with this search query */
|
|
2097
|
+
goal?: string;
|
|
2098
|
+
/** @description Search query used */
|
|
2099
|
+
query: string;
|
|
2100
|
+
results?: {
|
|
2101
|
+
id: string;
|
|
2102
|
+
snippet: string;
|
|
2103
|
+
title?: string;
|
|
2104
|
+
url: string;
|
|
2105
|
+
/** @enum {number} */
|
|
2106
|
+
version: 1;
|
|
2107
|
+
}[];
|
|
2108
|
+
stepId: string;
|
|
2109
|
+
/** @enum {string} */
|
|
2110
|
+
type: "search";
|
|
2111
|
+
} | {
|
|
2112
|
+
/** @description What the agent hopes to find with this crawl */
|
|
2113
|
+
goal?: string;
|
|
2114
|
+
stepId: string;
|
|
2115
|
+
/** @enum {string} */
|
|
2116
|
+
type: "crawl";
|
|
2117
|
+
url: string;
|
|
2118
|
+
} | {
|
|
2119
|
+
stepId: string;
|
|
2120
|
+
/** @description Intermediate chain-of-thought style reasoning output */
|
|
2121
|
+
thought: string;
|
|
2122
|
+
/** @enum {string} */
|
|
2123
|
+
type: "think";
|
|
2076
2124
|
};
|
|
2077
2125
|
};
|
|
2078
2126
|
responses: never;
|
|
@@ -2086,42 +2134,9 @@ type SchemaListResearchTasksResponseDto = components["schemas"]["ListResearchTas
|
|
|
2086
2134
|
type SchemaResearchCreateTaskRequestDto = components["schemas"]["ResearchCreateTaskRequestDto"];
|
|
2087
2135
|
type SchemaResearchCreateTaskResponseDto = components["schemas"]["ResearchCreateTaskResponseDto"];
|
|
2088
2136
|
type SchemaResearchTaskDto = components["schemas"]["ResearchTaskDto"];
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
}
|
|
2093
|
-
declare enum ResearchCreateOpenAIResponseDtoTextFormatType {
|
|
2094
|
-
text = "text"
|
|
2095
|
-
}
|
|
2096
|
-
declare enum ResearchCreateOpenAIResponseDtoTextFormatType {
|
|
2097
|
-
json_schema = "json_schema"
|
|
2098
|
-
}
|
|
2099
|
-
declare enum ResearchTaskDtoOperationsResultsVersion {
|
|
2100
|
-
Value1 = 1
|
|
2101
|
-
}
|
|
2102
|
-
declare enum ResearchTaskDtoOperationsType {
|
|
2103
|
-
step_plan = "step-plan"
|
|
2104
|
-
}
|
|
2105
|
-
declare enum ResearchTaskDtoOperationsType {
|
|
2106
|
-
step_data = "step-data"
|
|
2107
|
-
}
|
|
2108
|
-
declare enum ResearchTaskDtoOperationsType {
|
|
2109
|
-
search = "search"
|
|
2110
|
-
}
|
|
2111
|
-
declare enum ResearchTaskDtoOperationsType {
|
|
2112
|
-
crawl = "crawl"
|
|
2113
|
-
}
|
|
2114
|
-
declare enum ResearchTaskDtoOperationsType {
|
|
2115
|
-
think = "think"
|
|
2116
|
-
}
|
|
2117
|
-
declare enum ResearchTaskDtoStatus {
|
|
2118
|
-
running = "running",
|
|
2119
|
-
completed = "completed",
|
|
2120
|
-
failed = "failed"
|
|
2121
|
-
}
|
|
2122
|
-
declare enum ResearchTaskEventDtoType {
|
|
2123
|
-
completed = "completed"
|
|
2124
|
-
}
|
|
2137
|
+
|
|
2138
|
+
type ResearchTaskEvent = components["schemas"]["ResearchTaskEventDto"];
|
|
2139
|
+
type ResearchTaskOperation = SchemaResearchTaskDto["operations"][0];
|
|
2125
2140
|
|
|
2126
2141
|
/**
|
|
2127
2142
|
* HTTP status codes
|
|
@@ -2619,4 +2634,4 @@ declare class Exa {
|
|
|
2619
2634
|
private parseSSEStream;
|
|
2620
2635
|
}
|
|
2621
2636
|
|
|
2622
|
-
export { type AnswerOptions, type AnswerResponse, type AnswerStreamChunk, type AnswerStreamResponse, type BaseSearchOptions, type ContentsOptions, type ContentsResultComponent, type ContextOptions, type CostDollars, type CostDollarsContents, type CostDollarsSeearch, type CreateCriterionParameters, type CreateEnrichmentParameters, CreateEnrichmentParametersFormat, type CreateMonitorParameters, type CreateWebhookParameters, type CreateWebsetParameters, type CreateWebsetSearchParameters, type Default, type EnrichmentResult, type Event, EventType, EventsClient, Exa, ExaError, type ExtrasOptions, type ExtrasResponse, type FindSimilarOptions, type GetWebsetResponse, type HighlightsContentsOptions, type HighlightsResponse, HttpStatusCode, type JSONSchema, type ListEventsResponse, type ListMonitorRunsResponse, type ListMonitorsOptions, type ListMonitorsResponse, type SchemaListResearchTasksRequestDto as ListResearchTasksRequest, type SchemaListResearchTasksResponseDto as ListResearchTasksResponse, type ListWebhookAttemptsResponse, type ListWebhooksResponse, type ListWebsetItemResponse, type ListWebsetsResponse, type LivecrawlOptions, type Monitor, type MonitorBehaviorRefresh, type MonitorBehaviorSearch, type MonitorCadence, MonitorObject, type MonitorRefreshBehaviorContentsConfig, type MonitorRefreshBehaviorEnrichmentsConfig, type MonitorRun, MonitorRunObject, MonitorRunStatus, MonitorRunType, MonitorStatus, type RegularSearchOptions, ResearchClient, type SchemaResearchCreateTaskRequestDto as ResearchCreateTaskRequest, type SchemaResearchCreateTaskResponseDto as ResearchCreateTaskResponse,
|
|
2637
|
+
export { type AnswerOptions, type AnswerResponse, type AnswerStreamChunk, type AnswerStreamResponse, type BaseSearchOptions, type ContentsOptions, type ContentsResultComponent, type ContextOptions, type CostDollars, type CostDollarsContents, type CostDollarsSeearch, type CreateCriterionParameters, type CreateEnrichmentParameters, CreateEnrichmentParametersFormat, type CreateMonitorParameters, type CreateWebhookParameters, type CreateWebsetParameters, type CreateWebsetSearchParameters, type Default, type EnrichmentResult, type Event, EventType, EventsClient, Exa, ExaError, type ExtrasOptions, type ExtrasResponse, type FindSimilarOptions, type GetWebsetResponse, type HighlightsContentsOptions, type HighlightsResponse, HttpStatusCode, type JSONSchema, type ListEventsResponse, type ListMonitorRunsResponse, type ListMonitorsOptions, type ListMonitorsResponse, type SchemaListResearchTasksRequestDto as ListResearchTasksRequest, type SchemaListResearchTasksResponseDto as ListResearchTasksResponse, type ListWebhookAttemptsResponse, type ListWebhooksResponse, type ListWebsetItemResponse, type ListWebsetsResponse, type LivecrawlOptions, type Monitor, type MonitorBehaviorRefresh, type MonitorBehaviorSearch, type MonitorCadence, MonitorObject, type MonitorRefreshBehaviorContentsConfig, type MonitorRefreshBehaviorEnrichmentsConfig, type MonitorRun, MonitorRunObject, MonitorRunStatus, MonitorRunType, MonitorStatus, type RegularSearchOptions, ResearchClient, type SchemaResearchCreateTaskRequestDto as ResearchCreateTaskRequest, type SchemaResearchCreateTaskResponseDto as ResearchCreateTaskResponse, type SchemaResearchTaskDto as ResearchTask, type ResearchTaskEvent, type ResearchTaskOperation, type SearchResponse, type SearchResult, type Status, type SubpagesResponse, type SummaryContentsOptions, type SummaryResponse, type TextContentsOptions, type TextResponse, type UpdateMonitor, UpdateMonitorStatus, type UpdateWebhookParameters, type UpdateWebsetRequest, type Webhook, type WebhookAttempt, WebhookStatus, type Webset, type WebsetArticleEntity, type WebsetCompanyEntity, type WebsetCustomEntity, type WebsetEnrichment, WebsetEnrichmentFormat, WebsetEnrichmentStatus, WebsetEnrichmentsClient, type WebsetEntity, type WebsetItem, type WebsetItemArticleProperties, type WebsetItemCompanyProperties, type WebsetItemCustomProperties, type WebsetItemEvaluation, WebsetItemEvaluationSatisfied, type WebsetItemPersonProperties, type WebsetItemResearchPaperProperties, WebsetItemSource, WebsetItemsClient, WebsetMonitorsClient, type WebsetPersonEntity, type WebsetResearchPaperEntity, type WebsetSearch, WebsetSearchBehavior, WebsetSearchCanceledReason, WebsetSearchStatus, WebsetSearchesClient, WebsetStatus, WebsetWebhooksClient, WebsetsClient, Exa as default };
|
package/dist/index.js
CHANGED
|
@@ -42,8 +42,6 @@ __export(index_exports, {
|
|
|
42
42
|
MonitorRunType: () => MonitorRunType,
|
|
43
43
|
MonitorStatus: () => MonitorStatus,
|
|
44
44
|
ResearchClient: () => ResearchClient,
|
|
45
|
-
ResearchModel: () => ResearchCreateOpenAIResponseDtoModel,
|
|
46
|
-
ResearchStatus: () => ResearchTaskDtoStatus,
|
|
47
45
|
UpdateMonitorStatus: () => UpdateMonitorStatus,
|
|
48
46
|
WebhookStatus: () => WebhookStatus,
|
|
49
47
|
WebsetEnrichmentFormat: () => WebsetEnrichmentFormat,
|
|
@@ -895,7 +893,7 @@ var ResearchClient = class extends ResearchBaseClient {
|
|
|
895
893
|
const { instructions, model, output } = params;
|
|
896
894
|
const payload = {
|
|
897
895
|
instructions,
|
|
898
|
-
model: model ?? "exa-research"
|
|
896
|
+
model: model ?? "exa-research",
|
|
899
897
|
output: output ? {
|
|
900
898
|
schema: output.schema,
|
|
901
899
|
inferSchema: output.inferSchema ?? true
|
|
@@ -1005,19 +1003,6 @@ var ResearchClient = class extends ResearchBaseClient {
|
|
|
1005
1003
|
}
|
|
1006
1004
|
};
|
|
1007
1005
|
|
|
1008
|
-
// src/research/openapi.ts
|
|
1009
|
-
var ResearchCreateOpenAIResponseDtoModel = /* @__PURE__ */ ((ResearchCreateOpenAIResponseDtoModel2) => {
|
|
1010
|
-
ResearchCreateOpenAIResponseDtoModel2["exa_research"] = "exa-research";
|
|
1011
|
-
ResearchCreateOpenAIResponseDtoModel2["exa_research_pro"] = "exa-research-pro";
|
|
1012
|
-
return ResearchCreateOpenAIResponseDtoModel2;
|
|
1013
|
-
})(ResearchCreateOpenAIResponseDtoModel || {});
|
|
1014
|
-
var ResearchTaskDtoStatus = /* @__PURE__ */ ((ResearchTaskDtoStatus2) => {
|
|
1015
|
-
ResearchTaskDtoStatus2["running"] = "running";
|
|
1016
|
-
ResearchTaskDtoStatus2["completed"] = "completed";
|
|
1017
|
-
ResearchTaskDtoStatus2["failed"] = "failed";
|
|
1018
|
-
return ResearchTaskDtoStatus2;
|
|
1019
|
-
})(ResearchTaskDtoStatus || {});
|
|
1020
|
-
|
|
1021
1006
|
// src/index.ts
|
|
1022
1007
|
var fetchImpl = typeof global !== "undefined" && global.fetch ? global.fetch : import_cross_fetch.default;
|
|
1023
1008
|
var HeadersImpl = typeof global !== "undefined" && global.Headers ? global.Headers : import_cross_fetch.Headers;
|
|
@@ -1469,8 +1454,6 @@ var index_default = Exa2;
|
|
|
1469
1454
|
MonitorRunType,
|
|
1470
1455
|
MonitorStatus,
|
|
1471
1456
|
ResearchClient,
|
|
1472
|
-
ResearchModel,
|
|
1473
|
-
ResearchStatus,
|
|
1474
1457
|
UpdateMonitorStatus,
|
|
1475
1458
|
WebhookStatus,
|
|
1476
1459
|
WebsetEnrichmentFormat,
|