Skip to content

Commit

Permalink
release(0.2.12): Release typescript-fetch SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin committed Aug 24, 2024
1 parent d44b8d6 commit f10f5e4
Show file tree
Hide file tree
Showing 99 changed files with 260 additions and 103 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -21,7 +21,7 @@ It can be used in both TypeScript and JavaScript. In TypeScript, the definition
### Installation

```
npm install @emergentmethods/[email protected].11 --save
npm install @emergentmethods/[email protected].12 --save
```

## Usage
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion src/apis/AnalyticsApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/apis/ChatApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
5 changes: 3 additions & 2 deletions src/apis/ForecastApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down Expand Up @@ -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];
5 changes: 3 additions & 2 deletions src/apis/NewsApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down Expand Up @@ -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];
/**
Expand Down
2 changes: 1 addition & 1 deletion src/apis/PingApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/apis/RedditApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/apis/StoriesApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/models/AbcAPIErrorModel1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/models/AbcAPIErrorModel10.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/models/AbcAPIErrorModel11.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/models/AbcAPIErrorModel12.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/models/AbcAPIErrorModel13.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/models/AbcAPIErrorModel14.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/models/AbcAPIErrorModel15.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/models/AbcAPIErrorModel16.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/models/AbcAPIErrorModel17.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/models/AbcAPIErrorModel18.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/models/AbcAPIErrorModel19.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/models/AbcAPIErrorModel2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/models/AbcAPIErrorModel20.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/models/AbcAPIErrorModel21.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/models/AbcAPIErrorModel22.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/models/AbcAPIErrorModel23.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/models/AbcAPIErrorModel24.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/models/AbcAPIErrorModel25.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/models/AbcAPIErrorModel26.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/models/AbcAPIErrorModel27.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/models/AbcAPIErrorModel28.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/models/AbcAPIErrorModel29.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/models/AbcAPIErrorModel3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/models/AbcAPIErrorModel30.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/models/AbcAPIErrorModel31.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/models/AbcAPIErrorModel32.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/models/AbcAPIErrorModel4.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/models/AbcAPIErrorModel5.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/models/AbcAPIErrorModel6.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/models/AbcAPIErrorModel7.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/models/AbcAPIErrorModel8.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/models/AbcAPIErrorModel9.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Loading

0 comments on commit f10f5e4

Please sign in to comment.