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
@@ -0,0 +1,408 @@
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 GodocumentBody from '../model/GodocumentBody';
18
+ import GomaistroBody from '../model/GomaistroBody';
19
+ import GomaistrotokensBody from '../model/GomaistrotokensBody';
20
+ import GooverBody from '../model/GooverBody';
21
+ import GoperfBody from '../model/GoperfBody';
22
+ import GosemanticBody from '../model/GosemanticBody';
23
+ import GotokensBody from '../model/GotokensBody';
24
+
25
+ /**
26
+ * Governance service.
27
+ * @module api/GovernanceApi
28
+ * @version 1.0.0
29
+ */
30
+ export default class GovernanceApi {
31
+
32
+ /**
33
+ * Constructs a new GovernanceApi.
34
+ * @alias module:api/GovernanceApi
35
+ * @class
36
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
37
+ * default to {@link module:ApiClient#instanc
38
+ e} if unspecified.
39
+ */
40
+ constructor(apiClient) {
41
+ this.apiClient = apiClient || ApiClient.instance;
42
+ }
43
+
44
+ /**
45
+ * Callback function to receive the result of the aiPricing operation.
46
+ * @callback moduleapi/GovernanceApi~aiPricingCallback
47
+ * @param {String} error Error message, if any.
48
+ * @param data This operation does not return a value.
49
+ * @param {String} response The complete HTTP response.
50
+ */
51
+
52
+ /**
53
+ * AI Pricing
54
+ * Retrieve AI pricing metadata
55
+ * @param {module:api/GovernanceApi~aiPricingCallback} callback The callback function, accepting three arguments: error, data, response
56
+ */
57
+ aiPricing(callback) {
58
+
59
+ let postBody = null;
60
+
61
+ let pathParams = {
62
+
63
+ };
64
+ let queryParams = {
65
+
66
+ };
67
+ let headerParams = {
68
+
69
+ };
70
+ let formParams = {
71
+
72
+ };
73
+
74
+ let authNames = ['apiKey'];
75
+ let contentTypes = [];
76
+ let accepts = [];
77
+ let returnType = null;
78
+
79
+ return this.apiClient.callApi(
80
+ '/aiPricing', 'POST',
81
+ pathParams, queryParams, headerParams, formParams, postBody,
82
+ authNames, contentTypes, accepts, returnType, callback
83
+ );
84
+ }
85
+ /**
86
+ * Callback function to receive the result of the gomaistro operation.
87
+ * @callback moduleapi/GovernanceApi~gomaistroCallback
88
+ * @param {String} error Error message, if any.
89
+ * @param data This operation does not return a value.
90
+ * @param {String} response The complete HTTP response.
91
+ */
92
+
93
+ /**
94
+ * Governance - mAIstro Usage
95
+ * mAIstro usage details
96
+ * @param {module:model/GomaistroBody} body
97
+ * @param {module:api/GovernanceApi~gomaistroCallback} callback The callback function, accepting three arguments: error, data, response
98
+ */
99
+ gomaistro(body, callback) {
100
+
101
+ let postBody = body;
102
+ // verify the required parameter 'body' is set
103
+ if (body === undefined || body === null) {
104
+ throw new Error("Missing the required parameter 'body' when calling gomaistro");
105
+ }
106
+
107
+ let pathParams = {
108
+
109
+ };
110
+ let queryParams = {
111
+
112
+ };
113
+ let headerParams = {
114
+
115
+ };
116
+ let formParams = {
117
+
118
+ };
119
+
120
+ let authNames = ['apiKey'];
121
+ let contentTypes = ['application/json'];
122
+ let accepts = [];
123
+ let returnType = null;
124
+
125
+ return this.apiClient.callApi(
126
+ '/gomaistro', 'POST',
127
+ pathParams, queryParams, headerParams, formParams, postBody,
128
+ authNames, contentTypes, accepts, returnType, callback
129
+ );
130
+ }
131
+ /**
132
+ * Callback function to receive the result of the gomaistrotokens operation.
133
+ * @callback moduleapi/GovernanceApi~gomaistrotokensCallback
134
+ * @param {String} error Error message, if any.
135
+ * @param data This operation does not return a value.
136
+ * @param {String} response The complete HTTP response.
137
+ */
138
+
139
+ /**
140
+ * Governance - mAIstro Token Usage
141
+ * mAIstro token usage details
142
+ * @param {module:model/GomaistrotokensBody} body
143
+ * @param {module:api/GovernanceApi~gomaistrotokensCallback} callback The callback function, accepting three arguments: error, data, response
144
+ */
145
+ gomaistrotokens(body, callback) {
146
+
147
+ let postBody = body;
148
+ // verify the required parameter 'body' is set
149
+ if (body === undefined || body === null) {
150
+ throw new Error("Missing the required parameter 'body' when calling gomaistrotokens");
151
+ }
152
+
153
+ let pathParams = {
154
+
155
+ };
156
+ let queryParams = {
157
+
158
+ };
159
+ let headerParams = {
160
+
161
+ };
162
+ let formParams = {
163
+
164
+ };
165
+
166
+ let authNames = ['apiKey'];
167
+ let contentTypes = ['application/json'];
168
+ let accepts = [];
169
+ let returnType = null;
170
+
171
+ return this.apiClient.callApi(
172
+ '/gomaistrotokens', 'POST',
173
+ pathParams, queryParams, headerParams, formParams, postBody,
174
+ authNames, contentTypes, accepts, returnType, callback
175
+ );
176
+ }
177
+ /**
178
+ * Callback function to receive the result of the gotokens operation.
179
+ * @callback moduleapi/GovernanceApi~gotokensCallback
180
+ * @param {String} error Error message, if any.
181
+ * @param data This operation does not return a value.
182
+ * @param {String} response The complete HTTP response.
183
+ */
184
+
185
+ /**
186
+ * Governance - Token Usage
187
+ * Token usage details (BYOLLM plans)
188
+ * @param {module:model/GotokensBody} body
189
+ * @param {module:api/GovernanceApi~gotokensCallback} callback The callback function, accepting three arguments: error, data, response
190
+ */
191
+ gotokens(body, callback) {
192
+
193
+ let postBody = body;
194
+ // verify the required parameter 'body' is set
195
+ if (body === undefined || body === null) {
196
+ throw new Error("Missing the required parameter 'body' when calling gotokens");
197
+ }
198
+
199
+ let pathParams = {
200
+
201
+ };
202
+ let queryParams = {
203
+
204
+ };
205
+ let headerParams = {
206
+
207
+ };
208
+ let formParams = {
209
+
210
+ };
211
+
212
+ let authNames = ['apiKey'];
213
+ let contentTypes = ['application/json'];
214
+ let accepts = [];
215
+ let returnType = null;
216
+
217
+ return this.apiClient.callApi(
218
+ '/gotokens', 'POST',
219
+ pathParams, queryParams, headerParams, formParams, postBody,
220
+ authNames, contentTypes, accepts, returnType, callback
221
+ );
222
+ }
223
+ /**
224
+ * Callback function to receive the result of the governanceDocumentationDetails operation.
225
+ * @callback moduleapi/GovernanceApi~governanceDocumentationDetailsCallback
226
+ * @param {String} error Error message, if any.
227
+ * @param data This operation does not return a value.
228
+ * @param {String} response The complete HTTP response.
229
+ */
230
+
231
+ /**
232
+ * Governance - Documentation Details
233
+ * Governance - Documentation Details
234
+ * @param {module:model/GodocumentBody} body
235
+ * @param {module:api/GovernanceApi~governanceDocumentationDetailsCallback} callback The callback function, accepting three arguments: error, data, response
236
+ */
237
+ governanceDocumentationDetails(body, callback) {
238
+
239
+ let postBody = body;
240
+ // verify the required parameter 'body' is set
241
+ if (body === undefined || body === null) {
242
+ throw new Error("Missing the required parameter 'body' when calling governanceDocumentationDetails");
243
+ }
244
+
245
+ let pathParams = {
246
+
247
+ };
248
+ let queryParams = {
249
+
250
+ };
251
+ let headerParams = {
252
+
253
+ };
254
+ let formParams = {
255
+
256
+ };
257
+
258
+ let authNames = ['apiKey'];
259
+ let contentTypes = ['application/json'];
260
+ let accepts = [];
261
+ let returnType = null;
262
+
263
+ return this.apiClient.callApi(
264
+ '/godocument', 'POST',
265
+ pathParams, queryParams, headerParams, formParams, postBody,
266
+ authNames, contentTypes, accepts, returnType, callback
267
+ );
268
+ }
269
+ /**
270
+ * Callback function to receive the result of the governanceOverview operation.
271
+ * @callback moduleapi/GovernanceApi~governanceOverviewCallback
272
+ * @param {String} error Error message, if any.
273
+ * @param data This operation does not return a value.
274
+ * @param {String} response The complete HTTP response.
275
+ */
276
+
277
+ /**
278
+ * Governance Overview
279
+ * Governance Overview
280
+ * @param {module:model/GooverBody} body
281
+ * @param {module:api/GovernanceApi~governanceOverviewCallback} callback The callback function, accepting three arguments: error, data, response
282
+ */
283
+ governanceOverview(body, callback) {
284
+
285
+ let postBody = body;
286
+ // verify the required parameter 'body' is set
287
+ if (body === undefined || body === null) {
288
+ throw new Error("Missing the required parameter 'body' when calling governanceOverview");
289
+ }
290
+
291
+ let pathParams = {
292
+
293
+ };
294
+ let queryParams = {
295
+
296
+ };
297
+ let headerParams = {
298
+
299
+ };
300
+ let formParams = {
301
+
302
+ };
303
+
304
+ let authNames = ['apiKey'];
305
+ let contentTypes = ['application/json'];
306
+ let accepts = [];
307
+ let returnType = null;
308
+
309
+ return this.apiClient.callApi(
310
+ '/goover', 'POST',
311
+ pathParams, queryParams, headerParams, formParams, postBody,
312
+ authNames, contentTypes, accepts, returnType, callback
313
+ );
314
+ }
315
+ /**
316
+ * Callback function to receive the result of the governancePerformanceDetails operation.
317
+ * @callback moduleapi/GovernanceApi~governancePerformanceDetailsCallback
318
+ * @param {String} error Error message, if any.
319
+ * @param data This operation does not return a value.
320
+ * @param {String} response The complete HTTP response.
321
+ */
322
+
323
+ /**
324
+ * Governance - Performance Details
325
+ * Governance - Performance Details
326
+ * @param {module:model/GoperfBody} body
327
+ * @param {module:api/GovernanceApi~governancePerformanceDetailsCallback} callback The callback function, accepting three arguments: error, data, response
328
+ */
329
+ governancePerformanceDetails(body, callback) {
330
+
331
+ let postBody = body;
332
+ // verify the required parameter 'body' is set
333
+ if (body === undefined || body === null) {
334
+ throw new Error("Missing the required parameter 'body' when calling governancePerformanceDetails");
335
+ }
336
+
337
+ let pathParams = {
338
+
339
+ };
340
+ let queryParams = {
341
+
342
+ };
343
+ let headerParams = {
344
+
345
+ };
346
+ let formParams = {
347
+
348
+ };
349
+
350
+ let authNames = ['apiKey'];
351
+ let contentTypes = ['application/json'];
352
+ let accepts = [];
353
+ let returnType = null;
354
+
355
+ return this.apiClient.callApi(
356
+ '/goperf', 'POST',
357
+ pathParams, queryParams, headerParams, formParams, postBody,
358
+ authNames, contentTypes, accepts, returnType, callback
359
+ );
360
+ }
361
+ /**
362
+ * Callback function to receive the result of the governanceSemanticDetails operation.
363
+ * @callback moduleapi/GovernanceApi~governanceSemanticDetailsCallback
364
+ * @param {String} error Error message, if any.
365
+ * @param data This operation does not return a value.
366
+ * @param {String} response The complete HTTP response.
367
+ */
368
+
369
+ /**
370
+ * Governance - Semantic Details
371
+ * Governance - Semantic Details
372
+ * @param {module:model/GosemanticBody} body
373
+ * @param {module:api/GovernanceApi~governanceSemanticDetailsCallback} callback The callback function, accepting three arguments: error, data, response
374
+ */
375
+ governanceSemanticDetails(body, callback) {
376
+
377
+ let postBody = body;
378
+ // verify the required parameter 'body' is set
379
+ if (body === undefined || body === null) {
380
+ throw new Error("Missing the required parameter 'body' when calling governanceSemanticDetails");
381
+ }
382
+
383
+ let pathParams = {
384
+
385
+ };
386
+ let queryParams = {
387
+
388
+ };
389
+ let headerParams = {
390
+
391
+ };
392
+ let formParams = {
393
+
394
+ };
395
+
396
+ let authNames = ['apiKey'];
397
+ let contentTypes = ['application/json'];
398
+ let accepts = [];
399
+ let returnType = null;
400
+
401
+ return this.apiClient.callApi(
402
+ '/gosemantic', 'POST',
403
+ pathParams, queryParams, headerParams, formParams, postBody,
404
+ authNames, contentTypes, accepts, returnType, callback
405
+ );
406
+ }
407
+
408
+ }