From 050cf14cef278d9026c3ec3e3f1572adaf4d777f Mon Sep 17 00:00:00 2001 From: kevin Date: Tue, 6 Aug 2024 14:55:18 +0000 Subject: [PATCH] release(0.2.4): Release typescript-fetch SDK --- README.md | 4 +- package.json | 2 +- src/apis/AnalyticsApi.ts | 2 +- src/apis/ChatApi.ts | 2 +- src/apis/ForecastApi.ts | 2 +- src/apis/NewsApi.ts | 2 +- src/apis/PingApi.ts | 2 +- src/apis/RedditApi.ts | 2 +- src/apis/StoriesApi.ts | 2 +- src/models/AbcAPIErrorModel1.ts | 2 +- src/models/AbcAPIErrorModel10.ts | 2 +- src/models/AbcAPIErrorModel11.ts | 2 +- src/models/AbcAPIErrorModel12.ts | 2 +- src/models/AbcAPIErrorModel13.ts | 2 +- src/models/AbcAPIErrorModel14.ts | 2 +- src/models/AbcAPIErrorModel15.ts | 2 +- src/models/AbcAPIErrorModel16.ts | 2 +- src/models/AbcAPIErrorModel17.ts | 2 +- src/models/AbcAPIErrorModel18.ts | 2 +- src/models/AbcAPIErrorModel19.ts | 2 +- src/models/AbcAPIErrorModel2.ts | 2 +- src/models/AbcAPIErrorModel20.ts | 2 +- src/models/AbcAPIErrorModel21.ts | 2 +- src/models/AbcAPIErrorModel22.ts | 2 +- src/models/AbcAPIErrorModel23.ts | 2 +- src/models/AbcAPIErrorModel24.ts | 2 +- src/models/AbcAPIErrorModel25.ts | 2 +- src/models/AbcAPIErrorModel26.ts | 2 +- src/models/AbcAPIErrorModel27.ts | 2 +- src/models/AbcAPIErrorModel28.ts | 2 +- src/models/AbcAPIErrorModel29.ts | 2 +- src/models/AbcAPIErrorModel3.ts | 2 +- src/models/AbcAPIErrorModel30.ts | 2 +- src/models/AbcAPIErrorModel31.ts | 2 +- src/models/AbcAPIErrorModel32.ts | 2 +- src/models/AbcAPIErrorModel4.ts | 2 +- src/models/AbcAPIErrorModel5.ts | 2 +- src/models/AbcAPIErrorModel6.ts | 2 +- src/models/AbcAPIErrorModel7.ts | 2 +- src/models/AbcAPIErrorModel8.ts | 2 +- src/models/AbcAPIErrorModel9.ts | 2 +- src/models/AdditionalContext.ts | 2 +- src/models/Article.ts | 2 +- src/models/AsDicts.ts | 2 +- src/models/AsDicts1.ts | 2 +- src/models/AsString.ts | 2 +- src/models/AsknewsApiErrorsAPIErrorModel.ts | 2 +- src/models/Choice.ts | 2 +- src/models/Classification.ts | 2 +- src/models/ClusterProbabilities.ts | 2 +- src/models/Continent.ts | 2 +- src/models/CreateChatCompletionRequest.ts | 2 +- .../CreateChatCompletionRequestMessage.ts | 2 +- .../CreateChatCompletionRequestMessage1.ts | 2 +- src/models/CreateChatCompletionResponse.ts | 2 +- src/models/CreateChatCompletionResponse1.ts | 2 +- .../CreateChatCompletionResponseChoice.ts | 2 +- .../CreateChatCompletionResponseStream.ts | 2 +- .../CreateChatCompletionResponseStream1.ts | 2 +- ...reateChatCompletionResponseStreamChoice.ts | 2 +- ...eateChatCompletionResponseStreamChoice1.ts | 2 +- .../CreateChatCompletionResponseUsage.ts | 2 +- .../CreateChatCompletionResponseUsage1.ts | 2 +- .../CreateChatCompletionResponseUsage2.ts | 2 +- src/models/CutoffDate.ts | 2 +- src/models/DateFrom.ts | 2 +- src/models/DateTo.ts | 2 +- src/models/DomainUrl.ts | 2 +- src/models/EndTimestamp.ts | 2 +- src/models/EndTimestamp1.ts | 2 +- src/models/EndTimestamp2.ts | 2 +- src/models/Entities.ts | 2 +- src/models/EntityGuarantee.ts | 2 +- src/models/FinanceResponse.ts | 2 +- src/models/FinanceResponseTimeSeries.ts | 2 +- src/models/FinanceResponseTimeSeriesData.ts | 2 +- src/models/FinishReason.ts | 2 +- src/models/ForecastResponse.ts | 30 ++++-- src/models/FunctionCall.ts | 2 +- src/models/GraphRelationships.ts | 2 +- src/models/HTTPValidationError.ts | 2 +- src/models/ImageUrl.ts | 2 +- src/models/IntraClusterStatistics.ts | 2 +- src/models/KeyPerson.ts | 70 +++++++++++++ src/models/ListModelResponse.ts | 2 +- src/models/ModelItem.ts | 2 +- src/models/Name.ts | 2 +- src/models/Offset.ts | 2 +- src/models/Offset1.ts | 2 +- src/models/PageRank.ts | 2 +- src/models/PingModel.ts | 2 +- src/models/Query.ts | 2 +- src/models/RedditComment.ts | 2 +- src/models/RedditEntities.ts | 2 +- src/models/RedditPerspective.ts | 2 +- src/models/RedditResponse.ts | 2 +- src/models/RedditThread.ts | 2 +- src/models/ReportingVoice.ts | 2 +- src/models/ReverseStringGuarantee.ts | 2 +- src/models/SearchResponse.ts | 2 +- src/models/SearchResponseDictItem.ts | 2 +- src/models/Sentiment.ts | 2 +- src/models/SortBy.ts | 2 +- src/models/SortType.ts | 2 +- src/models/SourceReportItem.ts | 2 +- src/models/StartTimestamp.ts | 2 +- src/models/StartTimestamp1.ts | 2 +- src/models/StartTimestamp2.ts | 2 +- src/models/Stop.ts | 2 +- src/models/StoriesResponse.ts | 2 +- src/models/StoryResponse.ts | 2 +- src/models/StoryUpdate.ts | 2 +- src/models/StringGuarantee.ts | 2 +- src/models/User.ts | 2 +- src/models/ValidationError.ts | 2 +- src/models/ValidationErrorItem.ts | 2 +- src/models/ValidationErrorLocInner.ts | 2 +- src/models/ValidationErrorModel.ts | 2 +- src/models/Value.ts | 2 +- src/models/WebSearchResult.ts | 97 +++++++++++++++++++ src/models/index.ts | 2 + src/runtime.ts | 2 +- 122 files changed, 309 insertions(+), 128 deletions(-) create mode 100644 src/models/KeyPerson.ts create mode 100644 src/models/WebSearchResult.ts diff --git a/README.md b/README.md index b09b6ef..2c3db2b 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -## @emergentmethods/asknews-typescript-sdk@0.2.3 +## @emergentmethods/asknews-typescript-sdk@0.2.4 Typescript SDK for the AskNews API. This SDK utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments: @@ -21,7 +21,7 @@ It can be used in both TypeScript and JavaScript. In TypeScript, the definition ### Installation ``` -npm install @emergentmethods/asknews-typescript-sdk@0.2.3 --save +npm install @emergentmethods/asknews-typescript-sdk@0.2.4 --save ``` ## Usage diff --git a/package.json b/package.json index c46b5c0..8d9a467 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@emergentmethods/asknews-typescript-sdk", - "version": "0.2.3", + "version": "0.2.4", "description": "Typescript SDK for AskNews API", "author": "Emergent Methods ", "license": "MIT", diff --git a/src/apis/AnalyticsApi.ts b/src/apis/AnalyticsApi.ts index dc9316e..c4b0a21 100644 --- a/src/apis/AnalyticsApi.ts +++ b/src/apis/AnalyticsApi.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/apis/ChatApi.ts b/src/apis/ChatApi.ts index 0f27d35..93dbad5 100644 --- a/src/apis/ChatApi.ts +++ b/src/apis/ChatApi.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/apis/ForecastApi.ts b/src/apis/ForecastApi.ts index 2a0b2d1..d830e73 100644 --- a/src/apis/ForecastApi.ts +++ b/src/apis/ForecastApi.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/apis/NewsApi.ts b/src/apis/NewsApi.ts index 122009e..9a2c0b9 100644 --- a/src/apis/NewsApi.ts +++ b/src/apis/NewsApi.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/apis/PingApi.ts b/src/apis/PingApi.ts index 51912b5..3ccd2c2 100644 --- a/src/apis/PingApi.ts +++ b/src/apis/PingApi.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/apis/RedditApi.ts b/src/apis/RedditApi.ts index 468b500..e98d2cb 100644 --- a/src/apis/RedditApi.ts +++ b/src/apis/RedditApi.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/apis/StoriesApi.ts b/src/apis/StoriesApi.ts index dc23eea..8294b19 100644 --- a/src/apis/StoriesApi.ts +++ b/src/apis/StoriesApi.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/AbcAPIErrorModel1.ts b/src/models/AbcAPIErrorModel1.ts index d4603e3..1653074 100644 --- a/src/models/AbcAPIErrorModel1.ts +++ b/src/models/AbcAPIErrorModel1.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/AbcAPIErrorModel10.ts b/src/models/AbcAPIErrorModel10.ts index b1940c1..c171c52 100644 --- a/src/models/AbcAPIErrorModel10.ts +++ b/src/models/AbcAPIErrorModel10.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/AbcAPIErrorModel11.ts b/src/models/AbcAPIErrorModel11.ts index 35105bc..955ac8d 100644 --- a/src/models/AbcAPIErrorModel11.ts +++ b/src/models/AbcAPIErrorModel11.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/AbcAPIErrorModel12.ts b/src/models/AbcAPIErrorModel12.ts index d759329..cd5bf79 100644 --- a/src/models/AbcAPIErrorModel12.ts +++ b/src/models/AbcAPIErrorModel12.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/AbcAPIErrorModel13.ts b/src/models/AbcAPIErrorModel13.ts index ac76b6c..6a5bb7a 100644 --- a/src/models/AbcAPIErrorModel13.ts +++ b/src/models/AbcAPIErrorModel13.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/AbcAPIErrorModel14.ts b/src/models/AbcAPIErrorModel14.ts index 7872fe7..e9f40c0 100644 --- a/src/models/AbcAPIErrorModel14.ts +++ b/src/models/AbcAPIErrorModel14.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/AbcAPIErrorModel15.ts b/src/models/AbcAPIErrorModel15.ts index 331adf3..2be0a59 100644 --- a/src/models/AbcAPIErrorModel15.ts +++ b/src/models/AbcAPIErrorModel15.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/AbcAPIErrorModel16.ts b/src/models/AbcAPIErrorModel16.ts index 1574d30..377988a 100644 --- a/src/models/AbcAPIErrorModel16.ts +++ b/src/models/AbcAPIErrorModel16.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/AbcAPIErrorModel17.ts b/src/models/AbcAPIErrorModel17.ts index 3e079e5..8e78743 100644 --- a/src/models/AbcAPIErrorModel17.ts +++ b/src/models/AbcAPIErrorModel17.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/AbcAPIErrorModel18.ts b/src/models/AbcAPIErrorModel18.ts index 4240807..8aee9b8 100644 --- a/src/models/AbcAPIErrorModel18.ts +++ b/src/models/AbcAPIErrorModel18.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/AbcAPIErrorModel19.ts b/src/models/AbcAPIErrorModel19.ts index c05d8a1..bd7bf98 100644 --- a/src/models/AbcAPIErrorModel19.ts +++ b/src/models/AbcAPIErrorModel19.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/AbcAPIErrorModel2.ts b/src/models/AbcAPIErrorModel2.ts index e2f9e3c..dbf4a0d 100644 --- a/src/models/AbcAPIErrorModel2.ts +++ b/src/models/AbcAPIErrorModel2.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/AbcAPIErrorModel20.ts b/src/models/AbcAPIErrorModel20.ts index 4d20ade..7923c63 100644 --- a/src/models/AbcAPIErrorModel20.ts +++ b/src/models/AbcAPIErrorModel20.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/AbcAPIErrorModel21.ts b/src/models/AbcAPIErrorModel21.ts index 0414d8a..e0118c7 100644 --- a/src/models/AbcAPIErrorModel21.ts +++ b/src/models/AbcAPIErrorModel21.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/AbcAPIErrorModel22.ts b/src/models/AbcAPIErrorModel22.ts index e73a306..cc4bea8 100644 --- a/src/models/AbcAPIErrorModel22.ts +++ b/src/models/AbcAPIErrorModel22.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/AbcAPIErrorModel23.ts b/src/models/AbcAPIErrorModel23.ts index 60179ef..4d30d8c 100644 --- a/src/models/AbcAPIErrorModel23.ts +++ b/src/models/AbcAPIErrorModel23.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/AbcAPIErrorModel24.ts b/src/models/AbcAPIErrorModel24.ts index 504bf6a..560c47b 100644 --- a/src/models/AbcAPIErrorModel24.ts +++ b/src/models/AbcAPIErrorModel24.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/AbcAPIErrorModel25.ts b/src/models/AbcAPIErrorModel25.ts index 02b8bb0..997ea4f 100644 --- a/src/models/AbcAPIErrorModel25.ts +++ b/src/models/AbcAPIErrorModel25.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/AbcAPIErrorModel26.ts b/src/models/AbcAPIErrorModel26.ts index 09aeaa7..e5a2b83 100644 --- a/src/models/AbcAPIErrorModel26.ts +++ b/src/models/AbcAPIErrorModel26.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/AbcAPIErrorModel27.ts b/src/models/AbcAPIErrorModel27.ts index a1a7d2b..2d58d77 100644 --- a/src/models/AbcAPIErrorModel27.ts +++ b/src/models/AbcAPIErrorModel27.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/AbcAPIErrorModel28.ts b/src/models/AbcAPIErrorModel28.ts index 6e09306..909e492 100644 --- a/src/models/AbcAPIErrorModel28.ts +++ b/src/models/AbcAPIErrorModel28.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/AbcAPIErrorModel29.ts b/src/models/AbcAPIErrorModel29.ts index 8867825..52fb805 100644 --- a/src/models/AbcAPIErrorModel29.ts +++ b/src/models/AbcAPIErrorModel29.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/AbcAPIErrorModel3.ts b/src/models/AbcAPIErrorModel3.ts index d29d8b5..d0ee128 100644 --- a/src/models/AbcAPIErrorModel3.ts +++ b/src/models/AbcAPIErrorModel3.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/AbcAPIErrorModel30.ts b/src/models/AbcAPIErrorModel30.ts index 17c4313..866c3ca 100644 --- a/src/models/AbcAPIErrorModel30.ts +++ b/src/models/AbcAPIErrorModel30.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/AbcAPIErrorModel31.ts b/src/models/AbcAPIErrorModel31.ts index 2d76dcb..f34205c 100644 --- a/src/models/AbcAPIErrorModel31.ts +++ b/src/models/AbcAPIErrorModel31.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/AbcAPIErrorModel32.ts b/src/models/AbcAPIErrorModel32.ts index be0fda0..a83fc6d 100644 --- a/src/models/AbcAPIErrorModel32.ts +++ b/src/models/AbcAPIErrorModel32.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/AbcAPIErrorModel4.ts b/src/models/AbcAPIErrorModel4.ts index 97a4a84..f2e6d43 100644 --- a/src/models/AbcAPIErrorModel4.ts +++ b/src/models/AbcAPIErrorModel4.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/AbcAPIErrorModel5.ts b/src/models/AbcAPIErrorModel5.ts index 54dd335..269f81d 100644 --- a/src/models/AbcAPIErrorModel5.ts +++ b/src/models/AbcAPIErrorModel5.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/AbcAPIErrorModel6.ts b/src/models/AbcAPIErrorModel6.ts index c926dcc..e3a3cdb 100644 --- a/src/models/AbcAPIErrorModel6.ts +++ b/src/models/AbcAPIErrorModel6.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/AbcAPIErrorModel7.ts b/src/models/AbcAPIErrorModel7.ts index 6d59f25..e86c7c9 100644 --- a/src/models/AbcAPIErrorModel7.ts +++ b/src/models/AbcAPIErrorModel7.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/AbcAPIErrorModel8.ts b/src/models/AbcAPIErrorModel8.ts index d86f664..f392a10 100644 --- a/src/models/AbcAPIErrorModel8.ts +++ b/src/models/AbcAPIErrorModel8.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/AbcAPIErrorModel9.ts b/src/models/AbcAPIErrorModel9.ts index e393fae..f07d449 100644 --- a/src/models/AbcAPIErrorModel9.ts +++ b/src/models/AbcAPIErrorModel9.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/AdditionalContext.ts b/src/models/AdditionalContext.ts index 1c2aa30..712d3c2 100644 --- a/src/models/AdditionalContext.ts +++ b/src/models/AdditionalContext.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/Article.ts b/src/models/Article.ts index a3963aa..3e1d8b9 100644 --- a/src/models/Article.ts +++ b/src/models/Article.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/AsDicts.ts b/src/models/AsDicts.ts index 72865d6..d5050e0 100644 --- a/src/models/AsDicts.ts +++ b/src/models/AsDicts.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/AsDicts1.ts b/src/models/AsDicts1.ts index 60a6bee..4cea9c3 100644 --- a/src/models/AsDicts1.ts +++ b/src/models/AsDicts1.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/AsString.ts b/src/models/AsString.ts index c2fab51..b772515 100644 --- a/src/models/AsString.ts +++ b/src/models/AsString.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/AsknewsApiErrorsAPIErrorModel.ts b/src/models/AsknewsApiErrorsAPIErrorModel.ts index 9fdd73d..2a46a83 100644 --- a/src/models/AsknewsApiErrorsAPIErrorModel.ts +++ b/src/models/AsknewsApiErrorsAPIErrorModel.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/Choice.ts b/src/models/Choice.ts index 6bdd121..cb0bc33 100644 --- a/src/models/Choice.ts +++ b/src/models/Choice.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/Classification.ts b/src/models/Classification.ts index 8408f0f..c38df8b 100644 --- a/src/models/Classification.ts +++ b/src/models/Classification.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/ClusterProbabilities.ts b/src/models/ClusterProbabilities.ts index c4a18c7..739e41d 100644 --- a/src/models/ClusterProbabilities.ts +++ b/src/models/ClusterProbabilities.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/Continent.ts b/src/models/Continent.ts index 8e7762b..0b19737 100644 --- a/src/models/Continent.ts +++ b/src/models/Continent.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/CreateChatCompletionRequest.ts b/src/models/CreateChatCompletionRequest.ts index 35a3c22..4588b67 100644 --- a/src/models/CreateChatCompletionRequest.ts +++ b/src/models/CreateChatCompletionRequest.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/CreateChatCompletionRequestMessage.ts b/src/models/CreateChatCompletionRequestMessage.ts index 5d864c9..3ad9129 100644 --- a/src/models/CreateChatCompletionRequestMessage.ts +++ b/src/models/CreateChatCompletionRequestMessage.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/CreateChatCompletionRequestMessage1.ts b/src/models/CreateChatCompletionRequestMessage1.ts index d0dce98..d0ce4d8 100644 --- a/src/models/CreateChatCompletionRequestMessage1.ts +++ b/src/models/CreateChatCompletionRequestMessage1.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/CreateChatCompletionResponse.ts b/src/models/CreateChatCompletionResponse.ts index f8ec9bf..1e0e472 100644 --- a/src/models/CreateChatCompletionResponse.ts +++ b/src/models/CreateChatCompletionResponse.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/CreateChatCompletionResponse1.ts b/src/models/CreateChatCompletionResponse1.ts index da7a3cd..bf5a19e 100644 --- a/src/models/CreateChatCompletionResponse1.ts +++ b/src/models/CreateChatCompletionResponse1.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/CreateChatCompletionResponseChoice.ts b/src/models/CreateChatCompletionResponseChoice.ts index 2fd1886..e5c974d 100644 --- a/src/models/CreateChatCompletionResponseChoice.ts +++ b/src/models/CreateChatCompletionResponseChoice.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/CreateChatCompletionResponseStream.ts b/src/models/CreateChatCompletionResponseStream.ts index 48ae2d8..dcb5d8a 100644 --- a/src/models/CreateChatCompletionResponseStream.ts +++ b/src/models/CreateChatCompletionResponseStream.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/CreateChatCompletionResponseStream1.ts b/src/models/CreateChatCompletionResponseStream1.ts index 5f7a7af..971e792 100644 --- a/src/models/CreateChatCompletionResponseStream1.ts +++ b/src/models/CreateChatCompletionResponseStream1.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/CreateChatCompletionResponseStreamChoice.ts b/src/models/CreateChatCompletionResponseStreamChoice.ts index 6ffdbf3..3a67c93 100644 --- a/src/models/CreateChatCompletionResponseStreamChoice.ts +++ b/src/models/CreateChatCompletionResponseStreamChoice.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/CreateChatCompletionResponseStreamChoice1.ts b/src/models/CreateChatCompletionResponseStreamChoice1.ts index 929ca3a..1f2c6f4 100644 --- a/src/models/CreateChatCompletionResponseStreamChoice1.ts +++ b/src/models/CreateChatCompletionResponseStreamChoice1.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/CreateChatCompletionResponseUsage.ts b/src/models/CreateChatCompletionResponseUsage.ts index 3998168..69aef57 100644 --- a/src/models/CreateChatCompletionResponseUsage.ts +++ b/src/models/CreateChatCompletionResponseUsage.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/CreateChatCompletionResponseUsage1.ts b/src/models/CreateChatCompletionResponseUsage1.ts index bf23dc7..79f091a 100644 --- a/src/models/CreateChatCompletionResponseUsage1.ts +++ b/src/models/CreateChatCompletionResponseUsage1.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/CreateChatCompletionResponseUsage2.ts b/src/models/CreateChatCompletionResponseUsage2.ts index 24ab39b..bbdfe92 100644 --- a/src/models/CreateChatCompletionResponseUsage2.ts +++ b/src/models/CreateChatCompletionResponseUsage2.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/CutoffDate.ts b/src/models/CutoffDate.ts index 58b9439..4f2e61d 100644 --- a/src/models/CutoffDate.ts +++ b/src/models/CutoffDate.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/DateFrom.ts b/src/models/DateFrom.ts index 5987042..b2cd838 100644 --- a/src/models/DateFrom.ts +++ b/src/models/DateFrom.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/DateTo.ts b/src/models/DateTo.ts index e6eb917..96b233a 100644 --- a/src/models/DateTo.ts +++ b/src/models/DateTo.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/DomainUrl.ts b/src/models/DomainUrl.ts index 4cab055..d405945 100644 --- a/src/models/DomainUrl.ts +++ b/src/models/DomainUrl.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/EndTimestamp.ts b/src/models/EndTimestamp.ts index e9db4d9..fffee84 100644 --- a/src/models/EndTimestamp.ts +++ b/src/models/EndTimestamp.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/EndTimestamp1.ts b/src/models/EndTimestamp1.ts index 229a1b6..95732dd 100644 --- a/src/models/EndTimestamp1.ts +++ b/src/models/EndTimestamp1.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/EndTimestamp2.ts b/src/models/EndTimestamp2.ts index 05ac529..d6af56e 100644 --- a/src/models/EndTimestamp2.ts +++ b/src/models/EndTimestamp2.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/Entities.ts b/src/models/Entities.ts index dd6ea4b..5d16c5a 100644 --- a/src/models/Entities.ts +++ b/src/models/Entities.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/EntityGuarantee.ts b/src/models/EntityGuarantee.ts index 6259df5..a1e771f 100644 --- a/src/models/EntityGuarantee.ts +++ b/src/models/EntityGuarantee.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/FinanceResponse.ts b/src/models/FinanceResponse.ts index eb7e7ac..af16a81 100644 --- a/src/models/FinanceResponse.ts +++ b/src/models/FinanceResponse.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/FinanceResponseTimeSeries.ts b/src/models/FinanceResponseTimeSeries.ts index d672289..402ebe2 100644 --- a/src/models/FinanceResponseTimeSeries.ts +++ b/src/models/FinanceResponseTimeSeries.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/FinanceResponseTimeSeriesData.ts b/src/models/FinanceResponseTimeSeriesData.ts index f4d6605..0c5c411 100644 --- a/src/models/FinanceResponseTimeSeriesData.ts +++ b/src/models/FinanceResponseTimeSeriesData.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/FinishReason.ts b/src/models/FinishReason.ts index 8c44689..641c870 100644 --- a/src/models/FinishReason.ts +++ b/src/models/FinishReason.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/ForecastResponse.ts b/src/models/ForecastResponse.ts index 9c70e12..d21bc2a 100644 --- a/src/models/ForecastResponse.ts +++ b/src/models/ForecastResponse.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -19,12 +19,24 @@ import { ChoiceFromJSONTyped, ChoiceToJSON, } from './Choice'; +import type { KeyPerson } from './KeyPerson'; +import { + KeyPersonFromJSON, + KeyPersonFromJSONTyped, + KeyPersonToJSON, +} from './KeyPerson'; import type { SearchResponseDictItem } from './SearchResponseDictItem'; import { SearchResponseDictItemFromJSON, SearchResponseDictItemFromJSONTyped, SearchResponseDictItemToJSON, } from './SearchResponseDictItem'; +import type { WebSearchResult } from './WebSearchResult'; +import { + WebSearchResultFromJSON, + WebSearchResultFromJSONTyped, + WebSearchResultToJSON, +} from './WebSearchResult'; /** * @@ -112,10 +124,10 @@ export interface ForecastResponse { probability: number; /** * - * @type {Array} + * @type {Array} * @memberof ForecastResponse */ - webSearchResults: Array; + webSearchResults: Array; /** * * @type {string} @@ -124,10 +136,10 @@ export interface ForecastResponse { summary: string; /** * - * @type {Array} + * @type {Array} * @memberof ForecastResponse */ - keyPeople: Array; + keyPeople: Array; /** * * @type {Array} @@ -204,9 +216,9 @@ export function ForecastResponseFromJSONTyped(json: any, ignoreDiscriminator: bo 'modelUsed': json['model_used'], 'likelihood': json['likelihood'], 'probability': json['probability'], - 'webSearchResults': json['web_search_results'], + 'webSearchResults': ((json['web_search_results'] as Array).map(WebSearchResultFromJSON)), 'summary': json['summary'], - 'keyPeople': json['key_people'], + 'keyPeople': ((json['key_people'] as Array).map(KeyPersonFromJSON)), 'keyFacets': json['key_facets'], 'reconciledInformation': json['reconciled_information'], 'candidateModels': json['candidate_models'], @@ -233,9 +245,9 @@ export function ForecastResponseToJSON(value?: ForecastResponse | null): any { 'model_used': value['modelUsed'], 'likelihood': value['likelihood'], 'probability': value['probability'], - 'web_search_results': value['webSearchResults'], + 'web_search_results': ((value['webSearchResults'] as Array).map(WebSearchResultToJSON)), 'summary': value['summary'], - 'key_people': value['keyPeople'], + 'key_people': ((value['keyPeople'] as Array).map(KeyPersonToJSON)), 'key_facets': value['keyFacets'], 'reconciled_information': value['reconciledInformation'], 'candidate_models': value['candidateModels'], diff --git a/src/models/FunctionCall.ts b/src/models/FunctionCall.ts index bce3200..be09db6 100644 --- a/src/models/FunctionCall.ts +++ b/src/models/FunctionCall.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/GraphRelationships.ts b/src/models/GraphRelationships.ts index 3fdafda..6e44929 100644 --- a/src/models/GraphRelationships.ts +++ b/src/models/GraphRelationships.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/HTTPValidationError.ts b/src/models/HTTPValidationError.ts index f33fcea..740bcb4 100644 --- a/src/models/HTTPValidationError.ts +++ b/src/models/HTTPValidationError.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/ImageUrl.ts b/src/models/ImageUrl.ts index b71e09a..626cd53 100644 --- a/src/models/ImageUrl.ts +++ b/src/models/ImageUrl.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/IntraClusterStatistics.ts b/src/models/IntraClusterStatistics.ts index 47e7e92..bfe28cd 100644 --- a/src/models/IntraClusterStatistics.ts +++ b/src/models/IntraClusterStatistics.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/KeyPerson.ts b/src/models/KeyPerson.ts new file mode 100644 index 0000000..fb4780c --- /dev/null +++ b/src/models/KeyPerson.ts @@ -0,0 +1,70 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * AskNews API + * AskNews API + * + * The version of the OpenAPI document: 0.9.1 + * Contact: contact@emergentmethods.ai + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { mapValues } from '../runtime'; +/** + * + * @export + * @interface KeyPerson + */ +export interface KeyPerson { + /** + * + * @type {string} + * @memberof KeyPerson + */ + name: string; + /** + * + * @type {string} + * @memberof KeyPerson + */ + role: string; +} + +/** + * Check if a given object implements the KeyPerson interface. + */ +export function instanceOfKeyPerson(value: object): boolean { + if (!('name' in value)) return false; + if (!('role' in value)) return false; + return true; +} + +export function KeyPersonFromJSON(json: any): KeyPerson { + return KeyPersonFromJSONTyped(json, false); +} + +export function KeyPersonFromJSONTyped(json: any, ignoreDiscriminator: boolean): KeyPerson { + if (json == null) { + return json; + } + return { + + 'name': json['name'], + 'role': json['role'], + }; +} + +export function KeyPersonToJSON(value?: KeyPerson | null): any { + if (value == null) { + return value; + } + return { + + 'name': value['name'], + 'role': value['role'], + }; +} + diff --git a/src/models/ListModelResponse.ts b/src/models/ListModelResponse.ts index e3fa31f..57d97ec 100644 --- a/src/models/ListModelResponse.ts +++ b/src/models/ListModelResponse.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/ModelItem.ts b/src/models/ModelItem.ts index bdee963..c058dd0 100644 --- a/src/models/ModelItem.ts +++ b/src/models/ModelItem.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/Name.ts b/src/models/Name.ts index bc4f77b..5379856 100644 --- a/src/models/Name.ts +++ b/src/models/Name.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/Offset.ts b/src/models/Offset.ts index 66c2b32..68003af 100644 --- a/src/models/Offset.ts +++ b/src/models/Offset.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/Offset1.ts b/src/models/Offset1.ts index 4ee72ed..15a225a 100644 --- a/src/models/Offset1.ts +++ b/src/models/Offset1.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/PageRank.ts b/src/models/PageRank.ts index 2b29e3e..0b028ce 100644 --- a/src/models/PageRank.ts +++ b/src/models/PageRank.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/PingModel.ts b/src/models/PingModel.ts index 9df3394..6610bfc 100644 --- a/src/models/PingModel.ts +++ b/src/models/PingModel.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/Query.ts b/src/models/Query.ts index 26fc346..7480bb8 100644 --- a/src/models/Query.ts +++ b/src/models/Query.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/RedditComment.ts b/src/models/RedditComment.ts index acdb9ab..7b85566 100644 --- a/src/models/RedditComment.ts +++ b/src/models/RedditComment.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/RedditEntities.ts b/src/models/RedditEntities.ts index 08a100e..8f9e537 100644 --- a/src/models/RedditEntities.ts +++ b/src/models/RedditEntities.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/RedditPerspective.ts b/src/models/RedditPerspective.ts index 3ea7894..6d905cc 100644 --- a/src/models/RedditPerspective.ts +++ b/src/models/RedditPerspective.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/RedditResponse.ts b/src/models/RedditResponse.ts index 146d326..76af607 100644 --- a/src/models/RedditResponse.ts +++ b/src/models/RedditResponse.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/RedditThread.ts b/src/models/RedditThread.ts index 96d0bb0..b4f8430 100644 --- a/src/models/RedditThread.ts +++ b/src/models/RedditThread.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/ReportingVoice.ts b/src/models/ReportingVoice.ts index c6b170b..8507315 100644 --- a/src/models/ReportingVoice.ts +++ b/src/models/ReportingVoice.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/ReverseStringGuarantee.ts b/src/models/ReverseStringGuarantee.ts index de05c88..a0c80cd 100644 --- a/src/models/ReverseStringGuarantee.ts +++ b/src/models/ReverseStringGuarantee.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/SearchResponse.ts b/src/models/SearchResponse.ts index 3be05b2..db99ec7 100644 --- a/src/models/SearchResponse.ts +++ b/src/models/SearchResponse.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/SearchResponseDictItem.ts b/src/models/SearchResponseDictItem.ts index 31ceb57..949cfdd 100644 --- a/src/models/SearchResponseDictItem.ts +++ b/src/models/SearchResponseDictItem.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/Sentiment.ts b/src/models/Sentiment.ts index d3eaa92..fbc4a92 100644 --- a/src/models/Sentiment.ts +++ b/src/models/Sentiment.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/SortBy.ts b/src/models/SortBy.ts index 05b262f..43d77b3 100644 --- a/src/models/SortBy.ts +++ b/src/models/SortBy.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/SortType.ts b/src/models/SortType.ts index a522325..a76eefe 100644 --- a/src/models/SortType.ts +++ b/src/models/SortType.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/SourceReportItem.ts b/src/models/SourceReportItem.ts index 3b1a99a..9c8a770 100644 --- a/src/models/SourceReportItem.ts +++ b/src/models/SourceReportItem.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/StartTimestamp.ts b/src/models/StartTimestamp.ts index dd1256e..7646caa 100644 --- a/src/models/StartTimestamp.ts +++ b/src/models/StartTimestamp.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/StartTimestamp1.ts b/src/models/StartTimestamp1.ts index 41817c8..a9cc0ea 100644 --- a/src/models/StartTimestamp1.ts +++ b/src/models/StartTimestamp1.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/StartTimestamp2.ts b/src/models/StartTimestamp2.ts index 9d801e8..4f3336f 100644 --- a/src/models/StartTimestamp2.ts +++ b/src/models/StartTimestamp2.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/Stop.ts b/src/models/Stop.ts index 9a23f84..af22c63 100644 --- a/src/models/Stop.ts +++ b/src/models/Stop.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/StoriesResponse.ts b/src/models/StoriesResponse.ts index e9df213..7da813b 100644 --- a/src/models/StoriesResponse.ts +++ b/src/models/StoriesResponse.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/StoryResponse.ts b/src/models/StoryResponse.ts index b09e718..c2c54f8 100644 --- a/src/models/StoryResponse.ts +++ b/src/models/StoryResponse.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/StoryUpdate.ts b/src/models/StoryUpdate.ts index 9e7e2d3..d709a39 100644 --- a/src/models/StoryUpdate.ts +++ b/src/models/StoryUpdate.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/StringGuarantee.ts b/src/models/StringGuarantee.ts index dfc8300..c151cd3 100644 --- a/src/models/StringGuarantee.ts +++ b/src/models/StringGuarantee.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/User.ts b/src/models/User.ts index 08c4558..5e02919 100644 --- a/src/models/User.ts +++ b/src/models/User.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/ValidationError.ts b/src/models/ValidationError.ts index b560ad7..1bb1242 100644 --- a/src/models/ValidationError.ts +++ b/src/models/ValidationError.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/ValidationErrorItem.ts b/src/models/ValidationErrorItem.ts index 0622c3a..f88331b 100644 --- a/src/models/ValidationErrorItem.ts +++ b/src/models/ValidationErrorItem.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/ValidationErrorLocInner.ts b/src/models/ValidationErrorLocInner.ts index 223a5ed..b2727b1 100644 --- a/src/models/ValidationErrorLocInner.ts +++ b/src/models/ValidationErrorLocInner.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/ValidationErrorModel.ts b/src/models/ValidationErrorModel.ts index e7c657a..d26691e 100644 --- a/src/models/ValidationErrorModel.ts +++ b/src/models/ValidationErrorModel.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/Value.ts b/src/models/Value.ts index 0989556..d0bc3a4 100644 --- a/src/models/Value.ts +++ b/src/models/Value.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/WebSearchResult.ts b/src/models/WebSearchResult.ts new file mode 100644 index 0000000..4c682c5 --- /dev/null +++ b/src/models/WebSearchResult.ts @@ -0,0 +1,97 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * AskNews API + * AskNews API + * + * The version of the OpenAPI document: 0.9.1 + * Contact: contact@emergentmethods.ai + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +import { mapValues } from '../runtime'; +/** + * + * @export + * @interface WebSearchResult + */ +export interface WebSearchResult { + /** + * + * @type {string} + * @memberof WebSearchResult + */ + title: string; + /** + * + * @type {string} + * @memberof WebSearchResult + */ + url: string; + /** + * + * @type {string} + * @memberof WebSearchResult + */ + source: string; + /** + * + * @type {string} + * @memberof WebSearchResult + */ + published: string; + /** + * + * @type {Array} + * @memberof WebSearchResult + */ + keyPoints: Array; +} + +/** + * Check if a given object implements the WebSearchResult interface. + */ +export function instanceOfWebSearchResult(value: object): boolean { + if (!('title' in value)) return false; + if (!('url' in value)) return false; + if (!('source' in value)) return false; + if (!('published' in value)) return false; + if (!('keyPoints' in value)) return false; + return true; +} + +export function WebSearchResultFromJSON(json: any): WebSearchResult { + return WebSearchResultFromJSONTyped(json, false); +} + +export function WebSearchResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): WebSearchResult { + if (json == null) { + return json; + } + return { + + 'title': json['title'], + 'url': json['url'], + 'source': json['source'], + 'published': json['published'], + 'keyPoints': json['key_points'], + }; +} + +export function WebSearchResultToJSON(value?: WebSearchResult | null): any { + if (value == null) { + return value; + } + return { + + 'title': value['title'], + 'url': value['url'], + 'source': value['source'], + 'published': value['published'], + 'key_points': value['keyPoints'], + }; +} + diff --git a/src/models/index.ts b/src/models/index.ts index 551e2bf..c020f0b 100644 --- a/src/models/index.ts +++ b/src/models/index.ts @@ -74,6 +74,7 @@ export * from './GraphRelationships'; export * from './HTTPValidationError'; export * from './ImageUrl'; export * from './IntraClusterStatistics'; +export * from './KeyPerson'; export * from './ListModelResponse'; export * from './ModelItem'; export * from './Name'; @@ -109,3 +110,4 @@ export * from './ValidationErrorItem'; export * from './ValidationErrorLocInner'; export * from './ValidationErrorModel'; export * from './Value'; +export * from './WebSearchResult'; diff --git a/src/runtime.ts b/src/runtime.ts index 51059e5..f659ea2 100644 --- a/src/runtime.ts +++ b/src/runtime.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.8.6 + * The version of the OpenAPI document: 0.9.1 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).