qanswer-sdk 3.1207.0-main → 3.1209.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.
- package/README.md +4 -4
- package/api.ts +46 -34
- package/dist/api.d.ts +46 -34
- package/package.json +1 -1
- package/qanswer-sdk-3.1209.0-main.tgz +0 -0
- package/qanswer-sdk-3.1207.0-main.tgz +0 -0
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# 🔮 QAnswer
|
|
1
|
+
# 🔮 QAnswer SDK (TypeScript + Axios)
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/@the-qa-company/qanswer-client)
|
|
4
4
|
[](./LICENSE)
|
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
## 📦 Installation
|
|
13
13
|
|
|
14
14
|
```bash
|
|
15
|
-
npm install
|
|
15
|
+
npm install qanswer-sdk
|
|
16
16
|
```
|
|
17
17
|
|
|
18
18
|
or with Yarn:
|
|
19
19
|
|
|
20
20
|
```bash
|
|
21
|
-
yarn add
|
|
21
|
+
yarn add qanswer-sdk
|
|
22
22
|
```
|
|
23
23
|
|
|
24
24
|
---
|
|
@@ -26,7 +26,7 @@ yarn add @the-qa-company/qanswer-client
|
|
|
26
26
|
## ⚡ Quick Start
|
|
27
27
|
|
|
28
28
|
```javascript
|
|
29
|
-
import { DefaultApi } from "
|
|
29
|
+
import { DefaultApi } from "qanswer-sdk";
|
|
30
30
|
|
|
31
31
|
// Create an instance of the API client
|
|
32
32
|
const api = new DefaultApi();
|
package/api.ts
CHANGED
|
@@ -3832,6 +3832,12 @@ export interface DocumentMetadata {
|
|
|
3832
3832
|
* @memberof DocumentMetadata
|
|
3833
3833
|
*/
|
|
3834
3834
|
'doOCR'?: boolean;
|
|
3835
|
+
/**
|
|
3836
|
+
*
|
|
3837
|
+
* @type {boolean}
|
|
3838
|
+
* @memberof DocumentMetadata
|
|
3839
|
+
*/
|
|
3840
|
+
'doLLM'?: boolean;
|
|
3835
3841
|
}
|
|
3836
3842
|
/**
|
|
3837
3843
|
* Metadata of the document to be uploaded
|
|
@@ -7000,12 +7006,6 @@ export type OrganizationSharedAccessTypeEnum = typeof OrganizationSharedAccessTy
|
|
|
7000
7006
|
* @interface PageOrganization
|
|
7001
7007
|
*/
|
|
7002
7008
|
export interface PageOrganization {
|
|
7003
|
-
/**
|
|
7004
|
-
*
|
|
7005
|
-
* @type {number}
|
|
7006
|
-
* @memberof PageOrganization
|
|
7007
|
-
*/
|
|
7008
|
-
'totalElements'?: number;
|
|
7009
7009
|
/**
|
|
7010
7010
|
*
|
|
7011
7011
|
* @type {number}
|
|
@@ -7014,22 +7014,22 @@ export interface PageOrganization {
|
|
|
7014
7014
|
'totalPages'?: number;
|
|
7015
7015
|
/**
|
|
7016
7016
|
*
|
|
7017
|
-
* @type {
|
|
7017
|
+
* @type {number}
|
|
7018
7018
|
* @memberof PageOrganization
|
|
7019
7019
|
*/
|
|
7020
|
-
'
|
|
7020
|
+
'totalElements'?: number;
|
|
7021
7021
|
/**
|
|
7022
7022
|
*
|
|
7023
|
-
* @type {
|
|
7023
|
+
* @type {PageableObject}
|
|
7024
7024
|
* @memberof PageOrganization
|
|
7025
7025
|
*/
|
|
7026
|
-
'
|
|
7026
|
+
'pageable'?: PageableObject;
|
|
7027
7027
|
/**
|
|
7028
7028
|
*
|
|
7029
|
-
* @type {
|
|
7029
|
+
* @type {SortObject}
|
|
7030
7030
|
* @memberof PageOrganization
|
|
7031
7031
|
*/
|
|
7032
|
-
'
|
|
7032
|
+
'sort'?: SortObject;
|
|
7033
7033
|
/**
|
|
7034
7034
|
*
|
|
7035
7035
|
* @type {boolean}
|
|
@@ -7060,6 +7060,12 @@ export interface PageOrganization {
|
|
|
7060
7060
|
* @memberof PageOrganization
|
|
7061
7061
|
*/
|
|
7062
7062
|
'number'?: number;
|
|
7063
|
+
/**
|
|
7064
|
+
*
|
|
7065
|
+
* @type {number}
|
|
7066
|
+
* @memberof PageOrganization
|
|
7067
|
+
*/
|
|
7068
|
+
'numberOfElements'?: number;
|
|
7063
7069
|
/**
|
|
7064
7070
|
*
|
|
7065
7071
|
* @type {boolean}
|
|
@@ -7073,12 +7079,6 @@ export interface PageOrganization {
|
|
|
7073
7079
|
* @interface PageTeamWithCount
|
|
7074
7080
|
*/
|
|
7075
7081
|
export interface PageTeamWithCount {
|
|
7076
|
-
/**
|
|
7077
|
-
*
|
|
7078
|
-
* @type {number}
|
|
7079
|
-
* @memberof PageTeamWithCount
|
|
7080
|
-
*/
|
|
7081
|
-
'totalElements'?: number;
|
|
7082
7082
|
/**
|
|
7083
7083
|
*
|
|
7084
7084
|
* @type {number}
|
|
@@ -7087,22 +7087,22 @@ export interface PageTeamWithCount {
|
|
|
7087
7087
|
'totalPages'?: number;
|
|
7088
7088
|
/**
|
|
7089
7089
|
*
|
|
7090
|
-
* @type {
|
|
7090
|
+
* @type {number}
|
|
7091
7091
|
* @memberof PageTeamWithCount
|
|
7092
7092
|
*/
|
|
7093
|
-
'
|
|
7093
|
+
'totalElements'?: number;
|
|
7094
7094
|
/**
|
|
7095
7095
|
*
|
|
7096
|
-
* @type {
|
|
7096
|
+
* @type {PageableObject}
|
|
7097
7097
|
* @memberof PageTeamWithCount
|
|
7098
7098
|
*/
|
|
7099
|
-
'
|
|
7099
|
+
'pageable'?: PageableObject;
|
|
7100
7100
|
/**
|
|
7101
7101
|
*
|
|
7102
|
-
* @type {
|
|
7102
|
+
* @type {SortObject}
|
|
7103
7103
|
* @memberof PageTeamWithCount
|
|
7104
7104
|
*/
|
|
7105
|
-
'
|
|
7105
|
+
'sort'?: SortObject;
|
|
7106
7106
|
/**
|
|
7107
7107
|
*
|
|
7108
7108
|
* @type {boolean}
|
|
@@ -7133,6 +7133,12 @@ export interface PageTeamWithCount {
|
|
|
7133
7133
|
* @memberof PageTeamWithCount
|
|
7134
7134
|
*/
|
|
7135
7135
|
'number'?: number;
|
|
7136
|
+
/**
|
|
7137
|
+
*
|
|
7138
|
+
* @type {number}
|
|
7139
|
+
* @memberof PageTeamWithCount
|
|
7140
|
+
*/
|
|
7141
|
+
'numberOfElements'?: number;
|
|
7136
7142
|
/**
|
|
7137
7143
|
*
|
|
7138
7144
|
* @type {boolean}
|
|
@@ -7176,31 +7182,31 @@ export interface PageableObject {
|
|
|
7176
7182
|
* @type {number}
|
|
7177
7183
|
* @memberof PageableObject
|
|
7178
7184
|
*/
|
|
7179
|
-
'
|
|
7185
|
+
'pageSize'?: number;
|
|
7180
7186
|
/**
|
|
7181
7187
|
*
|
|
7182
|
-
* @type {
|
|
7188
|
+
* @type {boolean}
|
|
7183
7189
|
* @memberof PageableObject
|
|
7184
7190
|
*/
|
|
7185
|
-
'
|
|
7191
|
+
'paged'?: boolean;
|
|
7186
7192
|
/**
|
|
7187
7193
|
*
|
|
7188
|
-
* @type {
|
|
7194
|
+
* @type {number}
|
|
7189
7195
|
* @memberof PageableObject
|
|
7190
7196
|
*/
|
|
7191
|
-
'
|
|
7197
|
+
'pageNumber'?: number;
|
|
7192
7198
|
/**
|
|
7193
7199
|
*
|
|
7194
7200
|
* @type {boolean}
|
|
7195
7201
|
* @memberof PageableObject
|
|
7196
7202
|
*/
|
|
7197
|
-
'
|
|
7203
|
+
'unpaged'?: boolean;
|
|
7198
7204
|
/**
|
|
7199
7205
|
*
|
|
7200
|
-
* @type {
|
|
7206
|
+
* @type {SortObject}
|
|
7201
7207
|
* @memberof PageableObject
|
|
7202
7208
|
*/
|
|
7203
|
-
'
|
|
7209
|
+
'sort'?: SortObject;
|
|
7204
7210
|
/**
|
|
7205
7211
|
*
|
|
7206
7212
|
* @type {number}
|
|
@@ -10958,6 +10964,12 @@ export interface SocketFileMetadata {
|
|
|
10958
10964
|
* @memberof SocketFileMetadata
|
|
10959
10965
|
*/
|
|
10960
10966
|
'do_ocr'?: boolean;
|
|
10967
|
+
/**
|
|
10968
|
+
*
|
|
10969
|
+
* @type {boolean}
|
|
10970
|
+
* @memberof SocketFileMetadata
|
|
10971
|
+
*/
|
|
10972
|
+
'do_llm'?: boolean;
|
|
10961
10973
|
/**
|
|
10962
10974
|
*
|
|
10963
10975
|
* @type {string}
|
|
@@ -11368,13 +11380,13 @@ export interface SortObject {
|
|
|
11368
11380
|
* @type {boolean}
|
|
11369
11381
|
* @memberof SortObject
|
|
11370
11382
|
*/
|
|
11371
|
-
'
|
|
11383
|
+
'sorted'?: boolean;
|
|
11372
11384
|
/**
|
|
11373
11385
|
*
|
|
11374
11386
|
* @type {boolean}
|
|
11375
11387
|
* @memberof SortObject
|
|
11376
11388
|
*/
|
|
11377
|
-
'
|
|
11389
|
+
'unsorted'?: boolean;
|
|
11378
11390
|
/**
|
|
11379
11391
|
*
|
|
11380
11392
|
* @type {boolean}
|
package/dist/api.d.ts
CHANGED
|
@@ -3751,6 +3751,12 @@ export interface DocumentMetadata {
|
|
|
3751
3751
|
* @memberof DocumentMetadata
|
|
3752
3752
|
*/
|
|
3753
3753
|
'doOCR'?: boolean;
|
|
3754
|
+
/**
|
|
3755
|
+
*
|
|
3756
|
+
* @type {boolean}
|
|
3757
|
+
* @memberof DocumentMetadata
|
|
3758
|
+
*/
|
|
3759
|
+
'doLLM'?: boolean;
|
|
3754
3760
|
}
|
|
3755
3761
|
/**
|
|
3756
3762
|
* Metadata of the document to be uploaded
|
|
@@ -6868,12 +6874,6 @@ export type OrganizationSharedAccessTypeEnum = typeof OrganizationSharedAccessTy
|
|
|
6868
6874
|
* @interface PageOrganization
|
|
6869
6875
|
*/
|
|
6870
6876
|
export interface PageOrganization {
|
|
6871
|
-
/**
|
|
6872
|
-
*
|
|
6873
|
-
* @type {number}
|
|
6874
|
-
* @memberof PageOrganization
|
|
6875
|
-
*/
|
|
6876
|
-
'totalElements'?: number;
|
|
6877
6877
|
/**
|
|
6878
6878
|
*
|
|
6879
6879
|
* @type {number}
|
|
@@ -6882,22 +6882,22 @@ export interface PageOrganization {
|
|
|
6882
6882
|
'totalPages'?: number;
|
|
6883
6883
|
/**
|
|
6884
6884
|
*
|
|
6885
|
-
* @type {
|
|
6885
|
+
* @type {number}
|
|
6886
6886
|
* @memberof PageOrganization
|
|
6887
6887
|
*/
|
|
6888
|
-
'
|
|
6888
|
+
'totalElements'?: number;
|
|
6889
6889
|
/**
|
|
6890
6890
|
*
|
|
6891
|
-
* @type {
|
|
6891
|
+
* @type {PageableObject}
|
|
6892
6892
|
* @memberof PageOrganization
|
|
6893
6893
|
*/
|
|
6894
|
-
'
|
|
6894
|
+
'pageable'?: PageableObject;
|
|
6895
6895
|
/**
|
|
6896
6896
|
*
|
|
6897
|
-
* @type {
|
|
6897
|
+
* @type {SortObject}
|
|
6898
6898
|
* @memberof PageOrganization
|
|
6899
6899
|
*/
|
|
6900
|
-
'
|
|
6900
|
+
'sort'?: SortObject;
|
|
6901
6901
|
/**
|
|
6902
6902
|
*
|
|
6903
6903
|
* @type {boolean}
|
|
@@ -6928,6 +6928,12 @@ export interface PageOrganization {
|
|
|
6928
6928
|
* @memberof PageOrganization
|
|
6929
6929
|
*/
|
|
6930
6930
|
'number'?: number;
|
|
6931
|
+
/**
|
|
6932
|
+
*
|
|
6933
|
+
* @type {number}
|
|
6934
|
+
* @memberof PageOrganization
|
|
6935
|
+
*/
|
|
6936
|
+
'numberOfElements'?: number;
|
|
6931
6937
|
/**
|
|
6932
6938
|
*
|
|
6933
6939
|
* @type {boolean}
|
|
@@ -6941,12 +6947,6 @@ export interface PageOrganization {
|
|
|
6941
6947
|
* @interface PageTeamWithCount
|
|
6942
6948
|
*/
|
|
6943
6949
|
export interface PageTeamWithCount {
|
|
6944
|
-
/**
|
|
6945
|
-
*
|
|
6946
|
-
* @type {number}
|
|
6947
|
-
* @memberof PageTeamWithCount
|
|
6948
|
-
*/
|
|
6949
|
-
'totalElements'?: number;
|
|
6950
6950
|
/**
|
|
6951
6951
|
*
|
|
6952
6952
|
* @type {number}
|
|
@@ -6955,22 +6955,22 @@ export interface PageTeamWithCount {
|
|
|
6955
6955
|
'totalPages'?: number;
|
|
6956
6956
|
/**
|
|
6957
6957
|
*
|
|
6958
|
-
* @type {
|
|
6958
|
+
* @type {number}
|
|
6959
6959
|
* @memberof PageTeamWithCount
|
|
6960
6960
|
*/
|
|
6961
|
-
'
|
|
6961
|
+
'totalElements'?: number;
|
|
6962
6962
|
/**
|
|
6963
6963
|
*
|
|
6964
|
-
* @type {
|
|
6964
|
+
* @type {PageableObject}
|
|
6965
6965
|
* @memberof PageTeamWithCount
|
|
6966
6966
|
*/
|
|
6967
|
-
'
|
|
6967
|
+
'pageable'?: PageableObject;
|
|
6968
6968
|
/**
|
|
6969
6969
|
*
|
|
6970
|
-
* @type {
|
|
6970
|
+
* @type {SortObject}
|
|
6971
6971
|
* @memberof PageTeamWithCount
|
|
6972
6972
|
*/
|
|
6973
|
-
'
|
|
6973
|
+
'sort'?: SortObject;
|
|
6974
6974
|
/**
|
|
6975
6975
|
*
|
|
6976
6976
|
* @type {boolean}
|
|
@@ -7001,6 +7001,12 @@ export interface PageTeamWithCount {
|
|
|
7001
7001
|
* @memberof PageTeamWithCount
|
|
7002
7002
|
*/
|
|
7003
7003
|
'number'?: number;
|
|
7004
|
+
/**
|
|
7005
|
+
*
|
|
7006
|
+
* @type {number}
|
|
7007
|
+
* @memberof PageTeamWithCount
|
|
7008
|
+
*/
|
|
7009
|
+
'numberOfElements'?: number;
|
|
7004
7010
|
/**
|
|
7005
7011
|
*
|
|
7006
7012
|
* @type {boolean}
|
|
@@ -7044,31 +7050,31 @@ export interface PageableObject {
|
|
|
7044
7050
|
* @type {number}
|
|
7045
7051
|
* @memberof PageableObject
|
|
7046
7052
|
*/
|
|
7047
|
-
'
|
|
7053
|
+
'pageSize'?: number;
|
|
7048
7054
|
/**
|
|
7049
7055
|
*
|
|
7050
|
-
* @type {
|
|
7056
|
+
* @type {boolean}
|
|
7051
7057
|
* @memberof PageableObject
|
|
7052
7058
|
*/
|
|
7053
|
-
'
|
|
7059
|
+
'paged'?: boolean;
|
|
7054
7060
|
/**
|
|
7055
7061
|
*
|
|
7056
|
-
* @type {
|
|
7062
|
+
* @type {number}
|
|
7057
7063
|
* @memberof PageableObject
|
|
7058
7064
|
*/
|
|
7059
|
-
'
|
|
7065
|
+
'pageNumber'?: number;
|
|
7060
7066
|
/**
|
|
7061
7067
|
*
|
|
7062
7068
|
* @type {boolean}
|
|
7063
7069
|
* @memberof PageableObject
|
|
7064
7070
|
*/
|
|
7065
|
-
'
|
|
7071
|
+
'unpaged'?: boolean;
|
|
7066
7072
|
/**
|
|
7067
7073
|
*
|
|
7068
|
-
* @type {
|
|
7074
|
+
* @type {SortObject}
|
|
7069
7075
|
* @memberof PageableObject
|
|
7070
7076
|
*/
|
|
7071
|
-
'
|
|
7077
|
+
'sort'?: SortObject;
|
|
7072
7078
|
/**
|
|
7073
7079
|
*
|
|
7074
7080
|
* @type {number}
|
|
@@ -10767,6 +10773,12 @@ export interface SocketFileMetadata {
|
|
|
10767
10773
|
* @memberof SocketFileMetadata
|
|
10768
10774
|
*/
|
|
10769
10775
|
'do_ocr'?: boolean;
|
|
10776
|
+
/**
|
|
10777
|
+
*
|
|
10778
|
+
* @type {boolean}
|
|
10779
|
+
* @memberof SocketFileMetadata
|
|
10780
|
+
*/
|
|
10781
|
+
'do_llm'?: boolean;
|
|
10770
10782
|
/**
|
|
10771
10783
|
*
|
|
10772
10784
|
* @type {string}
|
|
@@ -11165,13 +11177,13 @@ export interface SortObject {
|
|
|
11165
11177
|
* @type {boolean}
|
|
11166
11178
|
* @memberof SortObject
|
|
11167
11179
|
*/
|
|
11168
|
-
'
|
|
11180
|
+
'sorted'?: boolean;
|
|
11169
11181
|
/**
|
|
11170
11182
|
*
|
|
11171
11183
|
* @type {boolean}
|
|
11172
11184
|
* @memberof SortObject
|
|
11173
11185
|
*/
|
|
11174
|
-
'
|
|
11186
|
+
'unsorted'?: boolean;
|
|
11175
11187
|
/**
|
|
11176
11188
|
*
|
|
11177
11189
|
* @type {boolean}
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|