qanswer-sdk 3.1207.0-main

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,12 @@
1
+ .gitignore
2
+ .npmignore
3
+ .openapi-generator-ignore
4
+ README.md
5
+ api.ts
6
+ base.ts
7
+ common.ts
8
+ configuration.ts
9
+ git_push.sh
10
+ index.ts
11
+ package.json
12
+ tsconfig.json
@@ -0,0 +1 @@
1
+ 7.9.0
@@ -0,0 +1,23 @@
1
+ # OpenAPI Generator Ignore
2
+ # Generated by openapi-generator https://github.com/openapitools/openapi-generator
3
+
4
+ # Use this file to prevent files from being overwritten by the generator.
5
+ # The patterns follow closely to .gitignore or .dockerignore.
6
+
7
+ # As an example, the C# client generator defines ApiClient.cs.
8
+ # You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
9
+ #ApiClient.cs
10
+
11
+ # You can match any string of characters against a directory, file or extension with a single asterisk (*):
12
+ #foo/*/qux
13
+ # The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
14
+
15
+ # You can recursively match patterns against a directory, file or extension with a double asterisk (**):
16
+ #foo/**/qux
17
+ # This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
18
+
19
+ # You can also negate patterns with an exclamation (!).
20
+ # For example, you can ignore all files in a docs folder with the file extension .md:
21
+ #docs/*.md
22
+ # Then explicitly reverse the ignore rule for a single file:
23
+ #!docs/README.md
package/README.md ADDED
@@ -0,0 +1,64 @@
1
+ # 🔮 QAnswer Client (TypeScript + Axios)
2
+
3
+ [![npm version](https://img.shields.io/npm/v/@the-qa-company/qanswer-client.svg?color=blue)](https://www.npmjs.com/package/@the-qa-company/qanswer-client)
4
+ [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](./LICENSE)
5
+ [![Build Status](https://img.shields.io/gitlab/pipeline-status/the-qa-company/qanswer-client?branch=main)](https://gitlab.com/the-qa-company/qanswer-client)
6
+
7
+ > 🚀 Official **TypeScript/axios client** for the **QAnswer API**, auto-generated from our OpenAPI spec.
8
+ > Quickly integrate QAnswer into your JavaScript/TypeScript projects with minimal setup.
9
+
10
+ ---
11
+
12
+ ## 📦 Installation
13
+
14
+ ```bash
15
+ npm install @the-qa-company/qanswer-client
16
+ ```
17
+
18
+ or with Yarn:
19
+
20
+ ```bash
21
+ yarn add @the-qa-company/qanswer-client
22
+ ```
23
+
24
+ ---
25
+
26
+ ## ⚡ Quick Start
27
+
28
+ ```javascript
29
+ import { DefaultApi } from "@the-qa-company/qanswer-client";
30
+
31
+ // Create an instance of the API client
32
+ const api = new DefaultApi();
33
+
34
+ // Example: ask QAnswer a question
35
+ api.getAnswer({ question: "What is QAnswer?" })
36
+ .then(response => console.log("🤖 Answer:", response.data))
37
+ .catch(err => console.error("❌ Error:", err));
38
+ ```
39
+
40
+ ---
41
+
42
+ ## 📖 Features
43
+
44
+ ✨ Auto-generated from OpenAPI
45
+ 🔧 Written in TypeScript with full type safety
46
+ ⚡ Powered by Axios under the hood
47
+ 📦 Easy to install and use in Node.js or browser apps
48
+
49
+ ---
50
+
51
+ ## 📚 Documentation
52
+
53
+ 🌐 API Reference → <a href="https://app.qanswer.ai/backend/swagger-ui/index.html">QAnswer API Swagger</a>
54
+
55
+ ---
56
+
57
+ ## 📝 License
58
+
59
+ This project is licensed under the MIT License
60
+
61
+
62
+ ---
63
+
64
+ # Made with ❤️ by The QA Company