From f10f5e4af09e698d41f4258bb59a07f57e918241 Mon Sep 17 00:00:00 2001 From: kevin Date: Sat, 24 Aug 2024 15:05:42 +0000 Subject: [PATCH] release(0.2.12): Release typescript-fetch SDK --- README.md | 4 +- package.json | 2 +- src/apis/AnalyticsApi.ts | 2 +- src/apis/ChatApi.ts | 2 +- src/apis/ForecastApi.ts | 5 +- src/apis/NewsApi.ts | 5 +- 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/Article.ts | 2 +- src/models/AsknewsApiErrorsAPIErrorModel.ts | 2 +- ...newsApiSchemaV1CommonGraphRelationships.ts | 2 +- ...ewsApiSchemaV1StoriesGraphRelationships.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 +- .../CreateChatCompletionResponseChoice1.ts | 2 +- .../CreateChatCompletionResponseStream.ts | 2 +- .../CreateChatCompletionResponseStream1.ts | 2 +- ...reateChatCompletionResponseStreamChoice.ts | 2 +- ...eateChatCompletionResponseStreamChoice1.ts | 2 +- .../CreateChatCompletionResponseUsage.ts | 2 +- .../CreateChatCompletionResponseUsage1.ts | 2 +- src/models/DisplayImageUrl.ts | 70 +++++++++++++++++ src/models/Entities.ts | 2 +- src/models/FinanceResponse.ts | 2 +- src/models/FinanceResponseTimeSeries.ts | 2 +- src/models/FinanceResponseTimeSeriesData.ts | 2 +- src/models/ForecastResponse.ts | 2 +- src/models/HTTPValidationError.ts | 2 +- src/models/IntraClusterStatistics.ts | 2 +- src/models/KeyPerson.ts | 2 +- src/models/ListModelResponse.ts | 2 +- src/models/ModelItem.ts | 2 +- src/models/Offset.ts | 2 +- src/models/PingModel.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/SearchResponse.ts | 2 +- src/models/SearchResponseDictItem.ts | 2 +- src/models/Sentiment.ts | 2 +- src/models/SourceReportItem.ts | 2 +- src/models/Stop.ts | 2 +- src/models/StoriesResponse.ts | 2 +- src/models/StoryResponse.ts | 2 +- src/models/StoryUpdate.ts | 16 ++-- .../StoryUpdateDisplayImageUrlsInner.ts | 77 +++++++++++++++++++ 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 | 2 +- src/models/index.ts | 2 + src/runtime.ts | 2 +- 99 files changed, 260 insertions(+), 103 deletions(-) create mode 100644 src/models/DisplayImageUrl.ts create mode 100644 src/models/StoryUpdateDisplayImageUrlsInner.ts diff --git a/README.md b/README.md index b95001b..80908d8 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -## @emergentmethods/asknews-typescript-sdk@0.2.11 +## @emergentmethods/asknews-typescript-sdk@0.2.12 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.11 --save +npm install @emergentmethods/asknews-typescript-sdk@0.2.12 --save ``` ## Usage diff --git a/package.json b/package.json index b37f749..f10f226 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@emergentmethods/asknews-typescript-sdk", - "version": "0.2.11", + "version": "0.2.12", "description": "Typescript SDK for AskNews API", "author": "Emergent Methods ", "license": "MIT", diff --git a/src/apis/AnalyticsApi.ts b/src/apis/AnalyticsApi.ts index 03f23d0..c1eb4c0 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 f51f69b..adb3bbb 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 6b5ef60..0837616 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.9.5 + * The version of the OpenAPI document: 0.9.10 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -128,6 +128,7 @@ export type GetForecastMethodEnum = typeof GetForecastMethodEnum[keyof typeof Ge export const GetForecastModelEnum = { Gpt4o: 'gpt-4o', Claude35Sonnet20240620: 'claude-3-5-sonnet-20240620', - CommandNightly: 'command-nightly' + CommandNightly: 'command-nightly', + MetaLlamaMetaLlama31405BInstruct: 'meta-llama/Meta-Llama-3.1-405B-Instruct' } as const; export type GetForecastModelEnum = typeof GetForecastModelEnum[keyof typeof GetForecastModelEnum]; diff --git a/src/apis/NewsApi.ts b/src/apis/NewsApi.ts index fde6ce3..b2cd10a 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.9.5 + * The version of the OpenAPI document: 0.9.10 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -461,7 +461,8 @@ export const SearchNewsLanguagesEnum = { No: 'no', Da: 'da', Uk: 'uk', - Pl: 'pl' + Pl: 'pl', + Hi: 'hi' } as const; export type SearchNewsLanguagesEnum = typeof SearchNewsLanguagesEnum[keyof typeof SearchNewsLanguagesEnum]; /** diff --git a/src/apis/PingApi.ts b/src/apis/PingApi.ts index 4a5678e..4837123 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 11beaaf..cb3f26e 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 e9d2fc5..8bc5ee5 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 82d5bb0..8a278e7 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 53c533f..66e31ab 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 c2c1422..ee1a54f 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 f811adb..5ad6e72 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 feeac12..a3502bd 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 62600e8..514c31f 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 97fff9b..9c58868 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 85213d0..fb7a324 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 91c65c6..3e743c6 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 f38e60e..1bdb7da 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 ce78c20..396c5e4 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 c166e69..ac45594 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 4ea4d20..50f8616 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 75c320f..80a6f10 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 87bd5c7..2c3746f 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 796151e..28a3ef9 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 bf9ed26..3cc6f32 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 a17660f..6b204e5 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 f95fa3e..3655f0d 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 9fb71f9..bc319a5 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 5a5c919..98edbfc 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 46b33dd..75539ba 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 03e055c..dffef9e 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 653b750..102643e 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 1cc616c..85d8caf 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 9aa34c7..a6b61a7 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 b3da174..a569500 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 b370ba7..f47a117 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 357eef3..299653e 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 5b4e9d4..3722995 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 1e72aba..6a9b6d2 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 c6f3ea9..e907003 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 badc373..c76ada0 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 e53005f..639abed 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.9.5 + * The version of the OpenAPI document: 0.9.10 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/AsknewsApiSchemaV1CommonGraphRelationships.ts b/src/models/AsknewsApiSchemaV1CommonGraphRelationships.ts index ed9ef47..7d497c5 100644 --- a/src/models/AsknewsApiSchemaV1CommonGraphRelationships.ts +++ b/src/models/AsknewsApiSchemaV1CommonGraphRelationships.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.9.5 + * The version of the OpenAPI document: 0.9.10 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/AsknewsApiSchemaV1StoriesGraphRelationships.ts b/src/models/AsknewsApiSchemaV1StoriesGraphRelationships.ts index 1469eaf..635bb9b 100644 --- a/src/models/AsknewsApiSchemaV1StoriesGraphRelationships.ts +++ b/src/models/AsknewsApiSchemaV1StoriesGraphRelationships.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 5217432..ebf06f7 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 4d63352..17c5fad 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 f4fc374..a8a3e20 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 f3baf11..cfea855 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 8be34bc..a4a1a67 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 9b6945f..f36fdb1 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 9217df3..ed78928 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 50da3a2..f95e544 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 3d6779d..104c50a 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 6a9001f..c34bfc0 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.9.5 + * The version of the OpenAPI document: 0.9.10 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/CreateChatCompletionResponseChoice1.ts b/src/models/CreateChatCompletionResponseChoice1.ts index a61f9df..f28c1f5 100644 --- a/src/models/CreateChatCompletionResponseChoice1.ts +++ b/src/models/CreateChatCompletionResponseChoice1.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 e3e7726..ad1d440 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 f2fa959..e898f30 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 6bd3064..68c8bf8 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 e892d6c..7993977 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 3ec2913..4f9c850 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 48ad518..c440598 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.9.5 + * The version of the OpenAPI document: 0.9.10 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/DisplayImageUrl.ts b/src/models/DisplayImageUrl.ts new file mode 100644 index 0000000..df0b00e --- /dev/null +++ b/src/models/DisplayImageUrl.ts @@ -0,0 +1,70 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * AskNews API + * AskNews API + * + * The version of the OpenAPI document: 0.9.10 + * 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 DisplayImageUrl + */ +export interface DisplayImageUrl { + /** + * + * @type {string} + * @memberof DisplayImageUrl + */ + sourceId: string; + /** + * + * @type {string} + * @memberof DisplayImageUrl + */ + imageUrl: string; +} + +/** + * Check if a given object implements the DisplayImageUrl interface. + */ +export function instanceOfDisplayImageUrl(value: object): boolean { + if (!('sourceId' in value)) return false; + if (!('imageUrl' in value)) return false; + return true; +} + +export function DisplayImageUrlFromJSON(json: any): DisplayImageUrl { + return DisplayImageUrlFromJSONTyped(json, false); +} + +export function DisplayImageUrlFromJSONTyped(json: any, ignoreDiscriminator: boolean): DisplayImageUrl { + if (json == null) { + return json; + } + return { + + 'sourceId': json['source_id'], + 'imageUrl': json['image_url'], + }; +} + +export function DisplayImageUrlToJSON(value?: DisplayImageUrl | null): any { + if (value == null) { + return value; + } + return { + + 'source_id': value['sourceId'], + 'image_url': value['imageUrl'], + }; +} + diff --git a/src/models/Entities.ts b/src/models/Entities.ts index 6201d20..fc53447 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 fc1b70b..91d5a48 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 0717fcd..c9c81b4 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 b6d8543..3eaabd6 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 21dd28d..3a06e3a 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 343668e..72afbc0 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 de3ed6e..faf8145 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 index f06dc05..d4d1c81 100644 --- a/src/models/KeyPerson.ts +++ b/src/models/KeyPerson.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.9.5 + * The version of the OpenAPI document: 0.9.10 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/ListModelResponse.ts b/src/models/ListModelResponse.ts index 824a8af..cb4ea35 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 8604788..cb997d7 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 b8d153e..c4e0f04 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 602b57c..c390617 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 501a652..0c6e66c 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 dedf99c..2527ce9 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 f76162a..09a0fb1 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 137d452..6129808 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 e6b0be3..b49e9d4 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 119330e..0db143c 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 6947df8..c359109 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 b91d264..b01b7f3 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 5d0332a..a7fbc3d 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 b56aa28..3afbb3f 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 047887b..e52382b 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 3d64483..e239839 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 334f61a..6db1f0d 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 b415d7a..77c8798 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.9.5 + * The version of the OpenAPI document: 0.9.10 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -49,6 +49,12 @@ import { RedditThreadFromJSONTyped, RedditThreadToJSON, } from './RedditThread'; +import type { StoryUpdateDisplayImageUrlsInner } from './StoryUpdateDisplayImageUrlsInner'; +import { + StoryUpdateDisplayImageUrlsInnerFromJSON, + StoryUpdateDisplayImageUrlsInnerFromJSONTyped, + StoryUpdateDisplayImageUrlsInnerToJSON, +} from './StoryUpdateDisplayImageUrlsInner'; /** * @@ -280,10 +286,10 @@ export interface StoryUpdate { ccImageUrl: string; /** * - * @type {Array} + * @type {Array} * @memberof StoryUpdate */ - displayImageUrls: Array | null; + displayImageUrls: Array; /** * * @type {number} @@ -394,7 +400,7 @@ export function StoryUpdateFromJSONTyped(json: any, ignoreDiscriminator: boolean 'relationships': AsknewsApiSchemaV1StoriesGraphRelationshipsFromJSON(json['relationships']), 'mermaid': json['mermaid'], 'ccImageUrl': json['cc_image_url'], - 'displayImageUrls': json['display_image_urls'], + 'displayImageUrls': ((json['display_image_urls'] as Array).map(StoryUpdateDisplayImageUrlsInnerFromJSON)), 'alignment': json['alignment'] == null ? undefined : json['alignment'], }; } @@ -442,7 +448,7 @@ export function StoryUpdateToJSON(value?: StoryUpdate | null): any { 'relationships': AsknewsApiSchemaV1StoriesGraphRelationshipsToJSON(value['relationships']), 'mermaid': value['mermaid'], 'cc_image_url': value['ccImageUrl'], - 'display_image_urls': value['displayImageUrls'], + 'display_image_urls': ((value['displayImageUrls'] as Array).map(StoryUpdateDisplayImageUrlsInnerToJSON)), 'alignment': value['alignment'], }; } diff --git a/src/models/StoryUpdateDisplayImageUrlsInner.ts b/src/models/StoryUpdateDisplayImageUrlsInner.ts new file mode 100644 index 0000000..fb62687 --- /dev/null +++ b/src/models/StoryUpdateDisplayImageUrlsInner.ts @@ -0,0 +1,77 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * AskNews API + * AskNews API + * + * The version of the OpenAPI document: 0.9.10 + * 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'; +import type { DisplayImageUrl } from './DisplayImageUrl'; +import { + DisplayImageUrlFromJSON, + DisplayImageUrlFromJSONTyped, + DisplayImageUrlToJSON, +} from './DisplayImageUrl'; + +/** + * + * @export + * @interface StoryUpdateDisplayImageUrlsInner + */ +export interface StoryUpdateDisplayImageUrlsInner { + /** + * + * @type {string} + * @memberof StoryUpdateDisplayImageUrlsInner + */ + sourceId: string; + /** + * + * @type {string} + * @memberof StoryUpdateDisplayImageUrlsInner + */ + imageUrl: string; +} + +/** + * Check if a given object implements the StoryUpdateDisplayImageUrlsInner interface. + */ +export function instanceOfStoryUpdateDisplayImageUrlsInner(value: object): boolean { + if (!('sourceId' in value)) return false; + if (!('imageUrl' in value)) return false; + return true; +} + +export function StoryUpdateDisplayImageUrlsInnerFromJSON(json: any): StoryUpdateDisplayImageUrlsInner { + return StoryUpdateDisplayImageUrlsInnerFromJSONTyped(json, false); +} + +export function StoryUpdateDisplayImageUrlsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoryUpdateDisplayImageUrlsInner { + if (json == null) { + return json; + } + return { + + 'sourceId': json['source_id'], + 'imageUrl': json['image_url'], + }; +} + +export function StoryUpdateDisplayImageUrlsInnerToJSON(value?: StoryUpdateDisplayImageUrlsInner | null): any { + if (value == null) { + return value; + } + return { + + 'source_id': value['sourceId'], + 'image_url': value['imageUrl'], + }; +} + diff --git a/src/models/User.ts b/src/models/User.ts index f758f4f..d3094ba 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 daf3ed3..e989748 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 71976b3..f8f96e5 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 2e7ce70..e190232 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 957eecb..530a3f1 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 ceecda1..f0c100c 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.9.5 + * The version of the OpenAPI document: 0.9.10 * 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 index 22909ae..c3c13ed 100644 --- a/src/models/WebSearchResult.ts +++ b/src/models/WebSearchResult.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.9.5 + * The version of the OpenAPI document: 0.9.10 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/models/index.ts b/src/models/index.ts index 15aaa56..293d2fa 100644 --- a/src/models/index.ts +++ b/src/models/index.ts @@ -53,6 +53,7 @@ export * from './CreateChatCompletionResponseStreamChoice'; export * from './CreateChatCompletionResponseStreamChoice1'; export * from './CreateChatCompletionResponseUsage'; export * from './CreateChatCompletionResponseUsage1'; +export * from './DisplayImageUrl'; export * from './Entities'; export * from './FinanceResponse'; export * from './FinanceResponseTimeSeries'; @@ -79,6 +80,7 @@ export * from './Stop'; export * from './StoriesResponse'; export * from './StoryResponse'; export * from './StoryUpdate'; +export * from './StoryUpdateDisplayImageUrlsInner'; export * from './User'; export * from './ValidationError'; export * from './ValidationErrorItem'; diff --git a/src/runtime.ts b/src/runtime.ts index efbb094..05f1b25 100644 --- a/src/runtime.ts +++ b/src/runtime.ts @@ -4,7 +4,7 @@ * AskNews API * AskNews API * - * The version of the OpenAPI document: 0.9.5 + * The version of the OpenAPI document: 0.9.10 * Contact: contact@emergentmethods.ai * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).