neuralseekui 1.0.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.
Files changed (103) hide show
  1. package/README.md +163 -0
  2. package/docs/AddIntentBody.md +10 -0
  3. package/docs/AnswersApi.md +160 -0
  4. package/docs/CategoriesApi.md +58 -0
  5. package/docs/CategoryBody.md +8 -0
  6. package/docs/CurateBody.md +9 -0
  7. package/docs/CuratedDataApi.md +59 -0
  8. package/docs/DelAnswerBody.md +6 -0
  9. package/docs/DelQuestionBody.md +7 -0
  10. package/docs/DelUserDataBody.md +7 -0
  11. package/docs/EditAnswerBody.md +7 -0
  12. package/docs/ExploreFilesBody.md +6 -0
  13. package/docs/ExploreUploadBody.md +6 -0
  14. package/docs/FdelBody.md +7 -0
  15. package/docs/FindAnswerIdBody.md +6 -0
  16. package/docs/FlagBody.md +7 -0
  17. package/docs/GodocumentBody.md +9 -0
  18. package/docs/GomaistroBody.md +7 -0
  19. package/docs/GomaistrotokensBody.md +7 -0
  20. package/docs/GooverBody.md +9 -0
  21. package/docs/GoperfBody.md +7 -0
  22. package/docs/GosemanticBody.md +9 -0
  23. package/docs/GotokensBody.md +7 -0
  24. package/docs/GovernanceApi.md +410 -0
  25. package/docs/IntentsApi.md +364 -0
  26. package/docs/LoadUserResponseBody.md +7 -0
  27. package/docs/MAIstroApi.md +265 -0
  28. package/docs/MaistroFilesBody.md +8 -0
  29. package/docs/MaistroOCRBody.md +6 -0
  30. package/docs/MergeBody.md +7 -0
  31. package/docs/QuestionsApi.md +58 -0
  32. package/docs/RenBody.md +7 -0
  33. package/docs/UnmergeBody.md +6 -0
  34. package/git_push.sh +52 -0
  35. package/mocha.opts +1 -0
  36. package/package.json +55 -0
  37. package/src/ApiClient.js +585 -0
  38. package/src/api/AnswersApi.js +179 -0
  39. package/src/api/CategoriesApi.js +85 -0
  40. package/src/api/CuratedDataApi.js +82 -0
  41. package/src/api/GovernanceApi.js +408 -0
  42. package/src/api/IntentsApi.js +367 -0
  43. package/src/api/MAIstroApi.js +262 -0
  44. package/src/api/QuestionsApi.js +85 -0
  45. package/src/index.js +279 -0
  46. package/src/model/AddIntentBody.js +91 -0
  47. package/src/model/CategoryBody.js +71 -0
  48. package/src/model/CurateBody.js +75 -0
  49. package/src/model/DelAnswerBody.js +55 -0
  50. package/src/model/DelQuestionBody.js +64 -0
  51. package/src/model/DelUserDataBody.js +62 -0
  52. package/src/model/EditAnswerBody.js +64 -0
  53. package/src/model/ExploreFilesBody.js +55 -0
  54. package/src/model/ExploreUploadBody.js +53 -0
  55. package/src/model/FdelBody.js +62 -0
  56. package/src/model/FindAnswerIdBody.js +55 -0
  57. package/src/model/FlagBody.js +61 -0
  58. package/src/model/GodocumentBody.js +76 -0
  59. package/src/model/GomaistroBody.js +62 -0
  60. package/src/model/GomaistrotokensBody.js +62 -0
  61. package/src/model/GooverBody.js +76 -0
  62. package/src/model/GoperfBody.js +62 -0
  63. package/src/model/GosemanticBody.js +76 -0
  64. package/src/model/GotokensBody.js +62 -0
  65. package/src/model/LoadUserResponseBody.js +64 -0
  66. package/src/model/MaistroFilesBody.js +69 -0
  67. package/src/model/MaistroOCRBody.js +53 -0
  68. package/src/model/MergeBody.js +64 -0
  69. package/src/model/RenBody.js +62 -0
  70. package/src/model/UnmergeBody.js +53 -0
  71. package/test/api/AnswersApi.spec.js +95 -0
  72. package/test/api/CategoriesApi.spec.js +59 -0
  73. package/test/api/CuratedDataApi.spec.js +60 -0
  74. package/test/api/GovernanceApi.spec.js +185 -0
  75. package/test/api/IntentsApi.spec.js +167 -0
  76. package/test/api/MAIstroApi.spec.js +134 -0
  77. package/test/api/QuestionsApi.spec.js +59 -0
  78. package/test/assert-equals.js +81 -0
  79. package/test/model/AddIntentBody.spec.js +76 -0
  80. package/test/model/CategoryBody.spec.js +64 -0
  81. package/test/model/CurateBody.spec.js +70 -0
  82. package/test/model/DelAnswerBody.spec.js +52 -0
  83. package/test/model/DelQuestionBody.spec.js +58 -0
  84. package/test/model/DelUserDataBody.spec.js +58 -0
  85. package/test/model/EditAnswerBody.spec.js +58 -0
  86. package/test/model/ExploreFilesBody.spec.js +52 -0
  87. package/test/model/ExploreUploadBody.spec.js +52 -0
  88. package/test/model/FdelBody.spec.js +58 -0
  89. package/test/model/FindAnswerIdBody.spec.js +52 -0
  90. package/test/model/FlagBody.spec.js +58 -0
  91. package/test/model/GodocumentBody.spec.js +70 -0
  92. package/test/model/GomaistroBody.spec.js +58 -0
  93. package/test/model/GomaistrotokensBody.spec.js +58 -0
  94. package/test/model/GooverBody.spec.js +70 -0
  95. package/test/model/GoperfBody.spec.js +58 -0
  96. package/test/model/GosemanticBody.spec.js +70 -0
  97. package/test/model/GotokensBody.spec.js +58 -0
  98. package/test/model/LoadUserResponseBody.spec.js +58 -0
  99. package/test/model/MaistroFilesBody.spec.js +64 -0
  100. package/test/model/MaistroOCRBody.spec.js +52 -0
  101. package/test/model/MergeBody.spec.js +58 -0
  102. package/test/model/RenBody.spec.js +58 -0
  103. package/test/model/UnmergeBody.spec.js +52 -0
package/src/index.js ADDED
@@ -0,0 +1,279 @@
1
+ /*
2
+ * NeuralSeek UI
3
+ * NeuralSeek - The business LLM accelerator
4
+ *
5
+ * OpenAPI spec version: 1.0.0
6
+ * Contact: support@NeuralSeek.com
7
+ *
8
+ * NOTE: This class is auto generated by the swagger code generator program.
9
+ * https://github.com/swagger-api/swagger-codegen.git
10
+ *
11
+ * Swagger Codegen version: 3.0.78
12
+ *
13
+ * Do not edit the class manually.
14
+ *
15
+ */
16
+ import ApiClient from './ApiClient';
17
+ import AddIntentBody from './model/AddIntentBody';
18
+ import CategoryBody from './model/CategoryBody';
19
+ import CurateBody from './model/CurateBody';
20
+ import DelAnswerBody from './model/DelAnswerBody';
21
+ import DelQuestionBody from './model/DelQuestionBody';
22
+ import DelUserDataBody from './model/DelUserDataBody';
23
+ import EditAnswerBody from './model/EditAnswerBody';
24
+ import ExploreFilesBody from './model/ExploreFilesBody';
25
+ import ExploreUploadBody from './model/ExploreUploadBody';
26
+ import FdelBody from './model/FdelBody';
27
+ import FindAnswerIdBody from './model/FindAnswerIdBody';
28
+ import FlagBody from './model/FlagBody';
29
+ import GodocumentBody from './model/GodocumentBody';
30
+ import GomaistroBody from './model/GomaistroBody';
31
+ import GomaistrotokensBody from './model/GomaistrotokensBody';
32
+ import GooverBody from './model/GooverBody';
33
+ import GoperfBody from './model/GoperfBody';
34
+ import GosemanticBody from './model/GosemanticBody';
35
+ import GotokensBody from './model/GotokensBody';
36
+ import LoadUserResponseBody from './model/LoadUserResponseBody';
37
+ import MaistroFilesBody from './model/MaistroFilesBody';
38
+ import MaistroOCRBody from './model/MaistroOCRBody';
39
+ import MergeBody from './model/MergeBody';
40
+ import RenBody from './model/RenBody';
41
+ import UnmergeBody from './model/UnmergeBody';
42
+ import AnswersApi from './api/AnswersApi';
43
+ import CategoriesApi from './api/CategoriesApi';
44
+ import CuratedDataApi from './api/CuratedDataApi';
45
+ import GovernanceApi from './api/GovernanceApi';
46
+ import IntentsApi from './api/IntentsApi';
47
+ import MAIstroApi from './api/MAIstroApi';
48
+ import QuestionsApi from './api/QuestionsApi';
49
+
50
+ /**
51
+ * NeuralSeek___The_business_LLM_accelerator.<br>
52
+ * The <code>index</code> module provides access to constructors for all the classes which comprise the public API.
53
+ * <p>
54
+ * An AMD (recommended!) or CommonJS application will generally do something equivalent to the following:
55
+ * <pre>
56
+ * var NeuralSeekUi = require('index'); // See note below*.
57
+ * var xxxSvc = new NeuralSeekUi.XxxApi(); // Allocate the API class we're going to use.
58
+ * var yyyModel = new NeuralSeekUi.Yyy(); // Construct a model instance.
59
+ * yyyModel.someProperty = 'someValue';
60
+ * ...
61
+ * var zzz = xxxSvc.doSomething(yyyModel); // Invoke the service.
62
+ * ...
63
+ * </pre>
64
+ * <em>*NOTE: For a top-level AMD script, use require(['index'], function(){...})
65
+ * and put the application logic within the callback function.</em>
66
+ * </p>
67
+ * <p>
68
+ * A non-AMD browser application (discouraged) might do something like this:
69
+ * <pre>
70
+ * var xxxSvc = new NeuralSeekUi.XxxApi(); // Allocate the API class we're going to use.
71
+ * var yyy = new NeuralSeekUi.Yyy(); // Construct a model instance.
72
+ * yyyModel.someProperty = 'someValue';
73
+ * ...
74
+ * var zzz = xxxSvc.doSomething(yyyModel); // Invoke the service.
75
+ * ...
76
+ * </pre>
77
+ * </p>
78
+ * @module index
79
+ * @version 1.0.0
80
+ */
81
+ export {
82
+ /**
83
+ * The ApiClient constructor.
84
+ * @property {module:ApiClient}
85
+ */
86
+ ApiClient,
87
+
88
+ /**
89
+ * The AddIntentBody model constructor.
90
+ * @property {module:model/AddIntentBody}
91
+ */
92
+ AddIntentBody,
93
+
94
+ /**
95
+ * The CategoryBody model constructor.
96
+ * @property {module:model/CategoryBody}
97
+ */
98
+ CategoryBody,
99
+
100
+ /**
101
+ * The CurateBody model constructor.
102
+ * @property {module:model/CurateBody}
103
+ */
104
+ CurateBody,
105
+
106
+ /**
107
+ * The DelAnswerBody model constructor.
108
+ * @property {module:model/DelAnswerBody}
109
+ */
110
+ DelAnswerBody,
111
+
112
+ /**
113
+ * The DelQuestionBody model constructor.
114
+ * @property {module:model/DelQuestionBody}
115
+ */
116
+ DelQuestionBody,
117
+
118
+ /**
119
+ * The DelUserDataBody model constructor.
120
+ * @property {module:model/DelUserDataBody}
121
+ */
122
+ DelUserDataBody,
123
+
124
+ /**
125
+ * The EditAnswerBody model constructor.
126
+ * @property {module:model/EditAnswerBody}
127
+ */
128
+ EditAnswerBody,
129
+
130
+ /**
131
+ * The ExploreFilesBody model constructor.
132
+ * @property {module:model/ExploreFilesBody}
133
+ */
134
+ ExploreFilesBody,
135
+
136
+ /**
137
+ * The ExploreUploadBody model constructor.
138
+ * @property {module:model/ExploreUploadBody}
139
+ */
140
+ ExploreUploadBody,
141
+
142
+ /**
143
+ * The FdelBody model constructor.
144
+ * @property {module:model/FdelBody}
145
+ */
146
+ FdelBody,
147
+
148
+ /**
149
+ * The FindAnswerIdBody model constructor.
150
+ * @property {module:model/FindAnswerIdBody}
151
+ */
152
+ FindAnswerIdBody,
153
+
154
+ /**
155
+ * The FlagBody model constructor.
156
+ * @property {module:model/FlagBody}
157
+ */
158
+ FlagBody,
159
+
160
+ /**
161
+ * The GodocumentBody model constructor.
162
+ * @property {module:model/GodocumentBody}
163
+ */
164
+ GodocumentBody,
165
+
166
+ /**
167
+ * The GomaistroBody model constructor.
168
+ * @property {module:model/GomaistroBody}
169
+ */
170
+ GomaistroBody,
171
+
172
+ /**
173
+ * The GomaistrotokensBody model constructor.
174
+ * @property {module:model/GomaistrotokensBody}
175
+ */
176
+ GomaistrotokensBody,
177
+
178
+ /**
179
+ * The GooverBody model constructor.
180
+ * @property {module:model/GooverBody}
181
+ */
182
+ GooverBody,
183
+
184
+ /**
185
+ * The GoperfBody model constructor.
186
+ * @property {module:model/GoperfBody}
187
+ */
188
+ GoperfBody,
189
+
190
+ /**
191
+ * The GosemanticBody model constructor.
192
+ * @property {module:model/GosemanticBody}
193
+ */
194
+ GosemanticBody,
195
+
196
+ /**
197
+ * The GotokensBody model constructor.
198
+ * @property {module:model/GotokensBody}
199
+ */
200
+ GotokensBody,
201
+
202
+ /**
203
+ * The LoadUserResponseBody model constructor.
204
+ * @property {module:model/LoadUserResponseBody}
205
+ */
206
+ LoadUserResponseBody,
207
+
208
+ /**
209
+ * The MaistroFilesBody model constructor.
210
+ * @property {module:model/MaistroFilesBody}
211
+ */
212
+ MaistroFilesBody,
213
+
214
+ /**
215
+ * The MaistroOCRBody model constructor.
216
+ * @property {module:model/MaistroOCRBody}
217
+ */
218
+ MaistroOCRBody,
219
+
220
+ /**
221
+ * The MergeBody model constructor.
222
+ * @property {module:model/MergeBody}
223
+ */
224
+ MergeBody,
225
+
226
+ /**
227
+ * The RenBody model constructor.
228
+ * @property {module:model/RenBody}
229
+ */
230
+ RenBody,
231
+
232
+ /**
233
+ * The UnmergeBody model constructor.
234
+ * @property {module:model/UnmergeBody}
235
+ */
236
+ UnmergeBody,
237
+
238
+ /**
239
+ * The AnswersApi service constructor.
240
+ * @property {module:api/AnswersApi}
241
+ */
242
+ AnswersApi,
243
+
244
+ /**
245
+ * The CategoriesApi service constructor.
246
+ * @property {module:api/CategoriesApi}
247
+ */
248
+ CategoriesApi,
249
+
250
+ /**
251
+ * The CuratedDataApi service constructor.
252
+ * @property {module:api/CuratedDataApi}
253
+ */
254
+ CuratedDataApi,
255
+
256
+ /**
257
+ * The GovernanceApi service constructor.
258
+ * @property {module:api/GovernanceApi}
259
+ */
260
+ GovernanceApi,
261
+
262
+ /**
263
+ * The IntentsApi service constructor.
264
+ * @property {module:api/IntentsApi}
265
+ */
266
+ IntentsApi,
267
+
268
+ /**
269
+ * The MAIstroApi service constructor.
270
+ * @property {module:api/MAIstroApi}
271
+ */
272
+ MAIstroApi,
273
+
274
+ /**
275
+ * The QuestionsApi service constructor.
276
+ * @property {module:api/QuestionsApi}
277
+ */
278
+ QuestionsApi
279
+ };
@@ -0,0 +1,91 @@
1
+ /*
2
+ * NeuralSeek UI
3
+ * NeuralSeek - The business LLM accelerator
4
+ *
5
+ * OpenAPI spec version: 1.0.0
6
+ * Contact: support@NeuralSeek.com
7
+ *
8
+ * NOTE: This class is auto generated by the swagger code generator program.
9
+ * https://github.com/swagger-api/swagger-codegen.git
10
+ *
11
+ * Swagger Codegen version: 3.0.78
12
+ *
13
+ * Do not edit the class manually.
14
+ *
15
+ */
16
+ import ApiClient from '../ApiClient';
17
+
18
+ /**
19
+ * The AddIntentBody model module.
20
+ * @module model/AddIntentBody
21
+ * @version 1.0.0
22
+ */
23
+ export default class AddIntentBody {
24
+ /**
25
+ * Constructs a new <code>AddIntentBody</code>.
26
+ * @alias module:model/AddIntentBody
27
+ * @class
28
+ */
29
+ constructor() {
30
+ }
31
+
32
+ /**
33
+ * Constructs a <code>AddIntentBody</code> from a plain JavaScript object, optionally creating a new instance.
34
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
35
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
36
+ * @param {module:model/AddIntentBody} obj Optional instance to populate.
37
+ * @return {module:model/AddIntentBody} The populated <code>AddIntentBody</code> instance.
38
+ */
39
+ static constructFromObject(data, obj) {
40
+ if (data) {
41
+ obj = obj || new AddIntentBody();
42
+ if (data.hasOwnProperty('intent'))
43
+ obj.intent = ApiClient.convertToType(data['intent'], 'String');
44
+ if (data.hasOwnProperty('question'))
45
+ obj.question = ApiClient.convertToType(data['question'], 'String');
46
+ if (data.hasOwnProperty('category'))
47
+ obj.category = ApiClient.convertToType(data['category'], 'String');
48
+ if (data.hasOwnProperty('answer'))
49
+ obj.answer = ApiClient.convertToType(data['answer'], 'String');
50
+ if (data.hasOwnProperty('maistro'))
51
+ obj.maistro = ApiClient.convertToType(data['maistro'], 'String');
52
+ }
53
+ return obj;
54
+ }
55
+ }
56
+
57
+ /**
58
+ * The new Intent name
59
+ * @member {String} intent
60
+ * @default ''
61
+ */
62
+ AddIntentBody.prototype.intent = '';
63
+
64
+ /**
65
+ * The example user question
66
+ * @member {String} question
67
+ * @default ''
68
+ */
69
+ AddIntentBody.prototype.question = '';
70
+
71
+ /**
72
+ * The category ID
73
+ * @member {String} category
74
+ * @default ''
75
+ */
76
+ AddIntentBody.prototype.category = '';
77
+
78
+ /**
79
+ * The answer response if for a seek-led intent (omit this for maistro-led)
80
+ * @member {String} answer
81
+ * @default ''
82
+ */
83
+ AddIntentBody.prototype.answer = '';
84
+
85
+ /**
86
+ * The maistro template name if a maistro-led intent (omit this for seek-led)
87
+ * @member {String} maistro
88
+ * @default ''
89
+ */
90
+ AddIntentBody.prototype.maistro = '';
91
+
@@ -0,0 +1,71 @@
1
+ /*
2
+ * NeuralSeek UI
3
+ * NeuralSeek - The business LLM accelerator
4
+ *
5
+ * OpenAPI spec version: 1.0.0
6
+ * Contact: support@NeuralSeek.com
7
+ *
8
+ * NOTE: This class is auto generated by the swagger code generator program.
9
+ * https://github.com/swagger-api/swagger-codegen.git
10
+ *
11
+ * Swagger Codegen version: 3.0.78
12
+ *
13
+ * Do not edit the class manually.
14
+ *
15
+ */
16
+ import ApiClient from '../ApiClient';
17
+
18
+ /**
19
+ * The CategoryBody model module.
20
+ * @module model/CategoryBody
21
+ * @version 1.0.0
22
+ */
23
+ export default class CategoryBody {
24
+ /**
25
+ * Constructs a new <code>CategoryBody</code>.
26
+ * @alias module:model/CategoryBody
27
+ * @class
28
+ */
29
+ constructor() {
30
+ }
31
+
32
+ /**
33
+ * Constructs a <code>CategoryBody</code> from a plain JavaScript object, optionally creating a new instance.
34
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
35
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
36
+ * @param {module:model/CategoryBody} obj Optional instance to populate.
37
+ * @return {module:model/CategoryBody} The populated <code>CategoryBody</code> instance.
38
+ */
39
+ static constructFromObject(data, obj) {
40
+ if (data) {
41
+ obj = obj || new CategoryBody();
42
+ if (data.hasOwnProperty('intent'))
43
+ obj.intent = ApiClient.convertToType(data['intent'], 'String');
44
+ if (data.hasOwnProperty('intents'))
45
+ obj.intents = ApiClient.convertToType(data['intents'], ['String']);
46
+ if (data.hasOwnProperty('category'))
47
+ obj.category = ApiClient.convertToType(data['category'], 'Number');
48
+ }
49
+ return obj;
50
+ }
51
+ }
52
+
53
+ /**
54
+ * The intent to update the category of
55
+ * @member {String} intent
56
+ * @default ''
57
+ */
58
+ CategoryBody.prototype.intent = '';
59
+
60
+ /**
61
+ * Optional array of intents to update to the same category
62
+ * @member {Array.<String>} intents
63
+ */
64
+ CategoryBody.prototype.intents = undefined;
65
+
66
+ /**
67
+ * The category number
68
+ * @member {Number} category
69
+ */
70
+ CategoryBody.prototype.category = undefined;
71
+
@@ -0,0 +1,75 @@
1
+ /*
2
+ * NeuralSeek UI
3
+ * NeuralSeek - The business LLM accelerator
4
+ *
5
+ * OpenAPI spec version: 1.0.0
6
+ * Contact: support@NeuralSeek.com
7
+ *
8
+ * NOTE: This class is auto generated by the swagger code generator program.
9
+ * https://github.com/swagger-api/swagger-codegen.git
10
+ *
11
+ * Swagger Codegen version: 3.0.78
12
+ *
13
+ * Do not edit the class manually.
14
+ *
15
+ */
16
+ import ApiClient from '../ApiClient';
17
+
18
+ /**
19
+ * The CurateBody model module.
20
+ * @module model/CurateBody
21
+ * @version 1.0.0
22
+ */
23
+ export default class CurateBody {
24
+ /**
25
+ * Constructs a new <code>CurateBody</code>.
26
+ * @alias module:model/CurateBody
27
+ * @class
28
+ */
29
+ constructor() {
30
+ }
31
+
32
+ /**
33
+ * Constructs a <code>CurateBody</code> from a plain JavaScript object, optionally creating a new instance.
34
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
35
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
36
+ * @param {module:model/CurateBody} obj Optional instance to populate.
37
+ * @return {module:model/CurateBody} The populated <code>CurateBody</code> instance.
38
+ */
39
+ static constructFromObject(data, obj) {
40
+ if (data) {
41
+ obj = obj || new CurateBody();
42
+ if (data.hasOwnProperty('limit'))
43
+ obj.limit = ApiClient.convertToType(data['limit'], 'Number');
44
+ if (data.hasOwnProperty('skip'))
45
+ obj.skip = ApiClient.convertToType(data['skip'], 'Number');
46
+ if (data.hasOwnProperty('search'))
47
+ obj.search = ApiClient.convertToType(data['search'], 'String');
48
+ if (data.hasOwnProperty('filters'))
49
+ obj.filters = ApiClient.convertToType(data['filters'], Object);
50
+ }
51
+ return obj;
52
+ }
53
+ }
54
+
55
+ /**
56
+ * Max 300
57
+ * @member {Number} limit
58
+ */
59
+ CurateBody.prototype.limit = undefined;
60
+
61
+ /**
62
+ * @member {Number} skip
63
+ */
64
+ CurateBody.prototype.skip = undefined;
65
+
66
+ /**
67
+ * @member {String} search
68
+ */
69
+ CurateBody.prototype.search = undefined;
70
+
71
+ /**
72
+ * @member {Object} filters
73
+ */
74
+ CurateBody.prototype.filters = undefined;
75
+
@@ -0,0 +1,55 @@
1
+ /*
2
+ * NeuralSeek UI
3
+ * NeuralSeek - The business LLM accelerator
4
+ *
5
+ * OpenAPI spec version: 1.0.0
6
+ * Contact: support@NeuralSeek.com
7
+ *
8
+ * NOTE: This class is auto generated by the swagger code generator program.
9
+ * https://github.com/swagger-api/swagger-codegen.git
10
+ *
11
+ * Swagger Codegen version: 3.0.78
12
+ *
13
+ * Do not edit the class manually.
14
+ *
15
+ */
16
+ import ApiClient from '../ApiClient';
17
+
18
+ /**
19
+ * The DelAnswerBody model module.
20
+ * @module model/DelAnswerBody
21
+ * @version 1.0.0
22
+ */
23
+ export default class DelAnswerBody {
24
+ /**
25
+ * Constructs a new <code>DelAnswerBody</code>.
26
+ * @alias module:model/DelAnswerBody
27
+ * @class
28
+ */
29
+ constructor() {
30
+ }
31
+
32
+ /**
33
+ * Constructs a <code>DelAnswerBody</code> from a plain JavaScript object, optionally creating a new instance.
34
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
35
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
36
+ * @param {module:model/DelAnswerBody} obj Optional instance to populate.
37
+ * @return {module:model/DelAnswerBody} The populated <code>DelAnswerBody</code> instance.
38
+ */
39
+ static constructFromObject(data, obj) {
40
+ if (data) {
41
+ obj = obj || new DelAnswerBody();
42
+ if (data.hasOwnProperty('timestamp'))
43
+ obj.timestamp = ApiClient.convertToType(data['timestamp'], 'String');
44
+ }
45
+ return obj;
46
+ }
47
+ }
48
+
49
+ /**
50
+ * The timestamp of the answer
51
+ * @member {String} timestamp
52
+ * @default ''
53
+ */
54
+ DelAnswerBody.prototype.timestamp = '';
55
+
@@ -0,0 +1,64 @@
1
+ /*
2
+ * NeuralSeek UI
3
+ * NeuralSeek - The business LLM accelerator
4
+ *
5
+ * OpenAPI spec version: 1.0.0
6
+ * Contact: support@NeuralSeek.com
7
+ *
8
+ * NOTE: This class is auto generated by the swagger code generator program.
9
+ * https://github.com/swagger-api/swagger-codegen.git
10
+ *
11
+ * Swagger Codegen version: 3.0.78
12
+ *
13
+ * Do not edit the class manually.
14
+ *
15
+ */
16
+ import ApiClient from '../ApiClient';
17
+
18
+ /**
19
+ * The DelQuestionBody model module.
20
+ * @module model/DelQuestionBody
21
+ * @version 1.0.0
22
+ */
23
+ export default class DelQuestionBody {
24
+ /**
25
+ * Constructs a new <code>DelQuestionBody</code>.
26
+ * @alias module:model/DelQuestionBody
27
+ * @class
28
+ */
29
+ constructor() {
30
+ }
31
+
32
+ /**
33
+ * Constructs a <code>DelQuestionBody</code> from a plain JavaScript object, optionally creating a new instance.
34
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
35
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
36
+ * @param {module:model/DelQuestionBody} obj Optional instance to populate.
37
+ * @return {module:model/DelQuestionBody} The populated <code>DelQuestionBody</code> instance.
38
+ */
39
+ static constructFromObject(data, obj) {
40
+ if (data) {
41
+ obj = obj || new DelQuestionBody();
42
+ if (data.hasOwnProperty('question'))
43
+ obj.question = ApiClient.convertToType(data['question'], 'String');
44
+ if (data.hasOwnProperty('intent'))
45
+ obj.intent = ApiClient.convertToType(data['intent'], 'String');
46
+ }
47
+ return obj;
48
+ }
49
+ }
50
+
51
+ /**
52
+ * The question to delete. Send the exact text.
53
+ * @member {String} question
54
+ * @default ''
55
+ */
56
+ DelQuestionBody.prototype.question = '';
57
+
58
+ /**
59
+ * The intent that this question is part of. Send the intent name.
60
+ * @member {String} intent
61
+ * @default ''
62
+ */
63
+ DelQuestionBody.prototype.intent = '';
64
+
@@ -0,0 +1,62 @@
1
+ /*
2
+ * NeuralSeek UI
3
+ * NeuralSeek - The business LLM accelerator
4
+ *
5
+ * OpenAPI spec version: 1.0.0
6
+ * Contact: support@NeuralSeek.com
7
+ *
8
+ * NOTE: This class is auto generated by the swagger code generator program.
9
+ * https://github.com/swagger-api/swagger-codegen.git
10
+ *
11
+ * Swagger Codegen version: 3.0.78
12
+ *
13
+ * Do not edit the class manually.
14
+ *
15
+ */
16
+ import ApiClient from '../ApiClient';
17
+
18
+ /**
19
+ * The DelUserDataBody model module.
20
+ * @module model/DelUserDataBody
21
+ * @version 1.0.0
22
+ */
23
+ export default class DelUserDataBody {
24
+ /**
25
+ * Constructs a new <code>DelUserDataBody</code>.
26
+ * @alias module:model/DelUserDataBody
27
+ * @class
28
+ */
29
+ constructor() {
30
+ }
31
+
32
+ /**
33
+ * Constructs a <code>DelUserDataBody</code> from a plain JavaScript object, optionally creating a new instance.
34
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
35
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
36
+ * @param {module:model/DelUserDataBody} obj Optional instance to populate.
37
+ * @return {module:model/DelUserDataBody} The populated <code>DelUserDataBody</code> instance.
38
+ */
39
+ static constructFromObject(data, obj) {
40
+ if (data) {
41
+ obj = obj || new DelUserDataBody();
42
+ if (data.hasOwnProperty('toDel'))
43
+ obj.toDel = ApiClient.convertToType(data['toDel'], ['String']);
44
+ if (data.hasOwnProperty('delal'))
45
+ obj.delal = ApiClient.convertToType(data['delal'], 'String');
46
+ }
47
+ return obj;
48
+ }
49
+ }
50
+
51
+ /**
52
+ * @member {Array.<String>} toDel
53
+ */
54
+ DelUserDataBody.prototype.toDel = undefined;
55
+
56
+ /**
57
+ * The delete operation. false deletes only toDel; all deletes all data; analytics deletes analytics; uea deletes unedited answers; other deletes Other category.
58
+ * @member {String} delal
59
+ * @default ''
60
+ */
61
+ DelUserDataBody.prototype.delal = '';
62
+