tuix-rag-service-client 0.1.2 → 0.2.0

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.
@@ -1,3 +1,4 @@
1
+ .openapi-generator-ignore
1
2
  apis/ClientApi.ts
2
3
  apis/index.ts
3
4
  docs/ClientApi.md
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # tuix-rag-service-client
1
+ # Tuix tuix-rag-service
2
2
 
3
3
  ## Description
4
4
 
@@ -13,7 +13,7 @@ If you need to use the staging api client, then use the command
13
13
  ```
14
14
  npm i tuix-rag-service-client@staging
15
15
  ```
16
- Check the available versions in the following link: https://www.npmjs.com/package/tuix-rag-service-client?activeTab=versions
16
+ Check the available versions in the following link: https://www.npmjs.com/package/tuix-tuix-rag-service-client?activeTab=versions
17
17
 
18
18
  ## Developing the app
19
19
 
@@ -22,7 +22,7 @@ Tested on
22
22
  node 18
23
23
  npm 9.6.7
24
24
  ```
25
- Make an example request :
25
+ Make an example request :
26
26
  ```javascript
27
27
  import { Configuration, ResponseError, Client } from 'tuix-rag-service-client';
28
28
 
@@ -36,12 +36,12 @@ const APIClient = new Client(configuration);
36
36
  (async () => {
37
37
  try {
38
38
  const companies = await APIClient.companiesGet()
39
- console.log({ companies });
39
+ console.log({ companies });
40
40
  } catch (error) {
41
- if(error instanceof ResponseError){
41
+ if(error instanceof ResponseError){
42
42
  console.log(error.response.status, error.response.statusText);
43
43
  const data = await error.response.json()
44
- console.log(data);
44
+ console.log(data);
45
45
  }
46
46
  }
47
47
  })()
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tuix-rag-service-client",
3
- "version": "0.1.2",
4
- "description": "This package facilitates the client requests to service api",
3
+ "version": "0.2.0",
4
+ "description": "This package facilitates the client request to tuix tuix-rag-service",
5
5
  "main": "index.js",
6
6
  "private": false,
7
7
  "keywords": [
@@ -11,7 +11,7 @@
11
11
  "author": "",
12
12
  "license": "ISC",
13
13
  "devDependencies": {
14
- "@openapitools/openapi-generator-cli": "^2.9.0",
15
- "typescript": "^5.3.3"
14
+ "@openapitools/openapi-generator-cli": "2.9.0",
15
+ "typescript": "5.3.3"
16
16
  }
17
17
  }