@alexrockshouts/miri-sdk 1.0.2 → 1.0.3
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.
Potentially problematic release.
This version of @alexrockshouts/miri-sdk might be problematic. Click here for more details.
- package/dist/generated/api.js +304 -294
- package/dist/generated/base.js +15 -7
- package/dist/generated/common.js +27 -14
- package/dist/generated/configuration.js +5 -1
- package/dist/generated/index.js +18 -2
- package/dist/index.js +18 -2
- package/dist/miri-sdk.js +14 -6
- package/package.json +2 -3
package/dist/generated/api.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
/* tslint:disable */
|
|
2
3
|
/* eslint-disable */
|
|
3
4
|
/**
|
|
@@ -11,42 +12,47 @@
|
|
|
11
12
|
* https://openapi-generator.tech
|
|
12
13
|
* Do not edit the class manually.
|
|
13
14
|
*/
|
|
14
|
-
|
|
15
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
16
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
17
|
+
};
|
|
18
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
+
exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.TopologyEdgeBondEnum = exports.SubAgentRunStatusEnum = exports.SubAgentRunRoleEnum = exports.SpawnSubAgentRequestRoleEnum = exports.ApiV1InteractionPostRequestActionEnum = exports.ApiAdminV1ChannelsPostRequestActionEnum = void 0;
|
|
20
|
+
const axios_1 = __importDefault(require("axios"));
|
|
15
21
|
// Some imports not used depending on template conditions
|
|
16
22
|
// @ts-ignore
|
|
17
|
-
|
|
23
|
+
const common_1 = require("./common");
|
|
18
24
|
// @ts-ignore
|
|
19
|
-
|
|
20
|
-
|
|
25
|
+
const base_1 = require("./base");
|
|
26
|
+
exports.ApiAdminV1ChannelsPostRequestActionEnum = {
|
|
21
27
|
Status: 'status',
|
|
22
28
|
Enroll: 'enroll',
|
|
23
29
|
Send: 'send',
|
|
24
30
|
Devices: 'devices',
|
|
25
31
|
Chat: 'chat'
|
|
26
32
|
};
|
|
27
|
-
|
|
33
|
+
exports.ApiV1InteractionPostRequestActionEnum = {
|
|
28
34
|
Status: 'status'
|
|
29
35
|
};
|
|
30
|
-
|
|
36
|
+
exports.SpawnSubAgentRequestRoleEnum = {
|
|
31
37
|
Researcher: 'researcher',
|
|
32
38
|
Coder: 'coder',
|
|
33
39
|
Reviewer: 'reviewer',
|
|
34
40
|
Generic: 'generic'
|
|
35
41
|
};
|
|
36
|
-
|
|
42
|
+
exports.SubAgentRunRoleEnum = {
|
|
37
43
|
Researcher: 'researcher',
|
|
38
44
|
Coder: 'coder',
|
|
39
45
|
Reviewer: 'reviewer',
|
|
40
46
|
Generic: 'generic'
|
|
41
47
|
};
|
|
42
|
-
|
|
48
|
+
exports.SubAgentRunStatusEnum = {
|
|
43
49
|
Pending: 'pending',
|
|
44
50
|
Running: 'running',
|
|
45
51
|
Done: 'done',
|
|
46
52
|
Failed: 'failed',
|
|
47
53
|
Canceled: 'canceled'
|
|
48
54
|
};
|
|
49
|
-
|
|
55
|
+
exports.TopologyEdgeBondEnum = {
|
|
50
56
|
D: 'D',
|
|
51
57
|
R: 'R',
|
|
52
58
|
E: 'E'
|
|
@@ -54,7 +60,7 @@ export const TopologyEdgeBondEnum = {
|
|
|
54
60
|
/**
|
|
55
61
|
* DefaultApi - axios parameter creator
|
|
56
62
|
*/
|
|
57
|
-
|
|
63
|
+
const DefaultApiAxiosParamCreator = function (configuration) {
|
|
58
64
|
return {
|
|
59
65
|
/**
|
|
60
66
|
*
|
|
@@ -67,7 +73,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
67
73
|
apiAdminV1BrainFactsGet: async (limit, offset, options = {}) => {
|
|
68
74
|
const localVarPath = `/api/admin/v1/brain/facts`;
|
|
69
75
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
70
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
76
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
71
77
|
let baseOptions;
|
|
72
78
|
if (configuration) {
|
|
73
79
|
baseOptions = configuration.baseOptions;
|
|
@@ -77,7 +83,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
77
83
|
const localVarQueryParameter = {};
|
|
78
84
|
// authentication BasicAuth required
|
|
79
85
|
// http basic authentication required
|
|
80
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
86
|
+
(0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
|
|
81
87
|
if (limit !== undefined) {
|
|
82
88
|
localVarQueryParameter['limit'] = limit;
|
|
83
89
|
}
|
|
@@ -85,11 +91,11 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
85
91
|
localVarQueryParameter['offset'] = offset;
|
|
86
92
|
}
|
|
87
93
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
88
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
94
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
89
95
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
90
96
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
91
97
|
return {
|
|
92
|
-
url: toPathString(localVarUrlObj),
|
|
98
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
93
99
|
options: localVarRequestOptions,
|
|
94
100
|
};
|
|
95
101
|
},
|
|
@@ -104,7 +110,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
104
110
|
apiAdminV1BrainSummariesGet: async (limit, offset, options = {}) => {
|
|
105
111
|
const localVarPath = `/api/admin/v1/brain/summaries`;
|
|
106
112
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
107
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
113
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
108
114
|
let baseOptions;
|
|
109
115
|
if (configuration) {
|
|
110
116
|
baseOptions = configuration.baseOptions;
|
|
@@ -114,7 +120,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
114
120
|
const localVarQueryParameter = {};
|
|
115
121
|
// authentication BasicAuth required
|
|
116
122
|
// http basic authentication required
|
|
117
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
123
|
+
(0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
|
|
118
124
|
if (limit !== undefined) {
|
|
119
125
|
localVarQueryParameter['limit'] = limit;
|
|
120
126
|
}
|
|
@@ -122,11 +128,11 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
122
128
|
localVarQueryParameter['offset'] = offset;
|
|
123
129
|
}
|
|
124
130
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
125
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
131
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
126
132
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
127
133
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
128
134
|
return {
|
|
129
|
-
url: toPathString(localVarUrlObj),
|
|
135
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
130
136
|
options: localVarRequestOptions,
|
|
131
137
|
};
|
|
132
138
|
},
|
|
@@ -140,7 +146,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
140
146
|
apiAdminV1BrainTopologyGet: async (sessionId, options = {}) => {
|
|
141
147
|
const localVarPath = `/api/admin/v1/brain/topology`;
|
|
142
148
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
143
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
149
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
144
150
|
let baseOptions;
|
|
145
151
|
if (configuration) {
|
|
146
152
|
baseOptions = configuration.baseOptions;
|
|
@@ -150,16 +156,16 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
150
156
|
const localVarQueryParameter = {};
|
|
151
157
|
// authentication BasicAuth required
|
|
152
158
|
// http basic authentication required
|
|
153
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
159
|
+
(0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
|
|
154
160
|
if (sessionId !== undefined) {
|
|
155
161
|
localVarQueryParameter['session_id'] = sessionId;
|
|
156
162
|
}
|
|
157
163
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
158
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
164
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
159
165
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
160
166
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
161
167
|
return {
|
|
162
|
-
url: toPathString(localVarUrlObj),
|
|
168
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
163
169
|
options: localVarRequestOptions,
|
|
164
170
|
};
|
|
165
171
|
},
|
|
@@ -172,10 +178,10 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
172
178
|
*/
|
|
173
179
|
apiAdminV1ChannelsPost: async (apiAdminV1ChannelsPostRequest, options = {}) => {
|
|
174
180
|
// verify required parameter 'apiAdminV1ChannelsPostRequest' is not null or undefined
|
|
175
|
-
assertParamExists('apiAdminV1ChannelsPost', 'apiAdminV1ChannelsPostRequest', apiAdminV1ChannelsPostRequest);
|
|
181
|
+
(0, common_1.assertParamExists)('apiAdminV1ChannelsPost', 'apiAdminV1ChannelsPostRequest', apiAdminV1ChannelsPostRequest);
|
|
176
182
|
const localVarPath = `/api/admin/v1/channels`;
|
|
177
183
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
178
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
184
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
179
185
|
let baseOptions;
|
|
180
186
|
if (configuration) {
|
|
181
187
|
baseOptions = configuration.baseOptions;
|
|
@@ -185,14 +191,14 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
185
191
|
const localVarQueryParameter = {};
|
|
186
192
|
// authentication BasicAuth required
|
|
187
193
|
// http basic authentication required
|
|
188
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
194
|
+
(0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
|
|
189
195
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
190
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
196
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
191
197
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
192
198
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
193
|
-
localVarRequestOptions.data = serializeDataIfNeeded(apiAdminV1ChannelsPostRequest, localVarRequestOptions, configuration);
|
|
199
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(apiAdminV1ChannelsPostRequest, localVarRequestOptions, configuration);
|
|
194
200
|
return {
|
|
195
|
-
url: toPathString(localVarUrlObj),
|
|
201
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
196
202
|
options: localVarRequestOptions,
|
|
197
203
|
};
|
|
198
204
|
},
|
|
@@ -205,7 +211,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
205
211
|
apiAdminV1ConfigGet: async (options = {}) => {
|
|
206
212
|
const localVarPath = `/api/admin/v1/config`;
|
|
207
213
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
208
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
214
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
209
215
|
let baseOptions;
|
|
210
216
|
if (configuration) {
|
|
211
217
|
baseOptions = configuration.baseOptions;
|
|
@@ -215,13 +221,13 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
215
221
|
const localVarQueryParameter = {};
|
|
216
222
|
// authentication BasicAuth required
|
|
217
223
|
// http basic authentication required
|
|
218
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
224
|
+
(0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
|
|
219
225
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
220
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
226
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
221
227
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
222
228
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
223
229
|
return {
|
|
224
|
-
url: toPathString(localVarUrlObj),
|
|
230
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
225
231
|
options: localVarRequestOptions,
|
|
226
232
|
};
|
|
227
233
|
},
|
|
@@ -234,10 +240,10 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
234
240
|
*/
|
|
235
241
|
apiAdminV1ConfigPost: async (config, options = {}) => {
|
|
236
242
|
// verify required parameter 'config' is not null or undefined
|
|
237
|
-
assertParamExists('apiAdminV1ConfigPost', 'config', config);
|
|
243
|
+
(0, common_1.assertParamExists)('apiAdminV1ConfigPost', 'config', config);
|
|
238
244
|
const localVarPath = `/api/admin/v1/config`;
|
|
239
245
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
240
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
246
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
241
247
|
let baseOptions;
|
|
242
248
|
if (configuration) {
|
|
243
249
|
baseOptions = configuration.baseOptions;
|
|
@@ -247,14 +253,14 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
247
253
|
const localVarQueryParameter = {};
|
|
248
254
|
// authentication BasicAuth required
|
|
249
255
|
// http basic authentication required
|
|
250
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
256
|
+
(0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
|
|
251
257
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
252
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
258
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
253
259
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
254
260
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
255
|
-
localVarRequestOptions.data = serializeDataIfNeeded(config, localVarRequestOptions, configuration);
|
|
261
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(config, localVarRequestOptions, configuration);
|
|
256
262
|
return {
|
|
257
|
-
url: toPathString(localVarUrlObj),
|
|
263
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
258
264
|
options: localVarRequestOptions,
|
|
259
265
|
};
|
|
260
266
|
},
|
|
@@ -267,7 +273,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
267
273
|
apiAdminV1HealthGet: async (options = {}) => {
|
|
268
274
|
const localVarPath = `/api/admin/v1/health`;
|
|
269
275
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
270
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
276
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
271
277
|
let baseOptions;
|
|
272
278
|
if (configuration) {
|
|
273
279
|
baseOptions = configuration.baseOptions;
|
|
@@ -277,13 +283,13 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
277
283
|
const localVarQueryParameter = {};
|
|
278
284
|
// authentication BasicAuth required
|
|
279
285
|
// http basic authentication required
|
|
280
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
286
|
+
(0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
|
|
281
287
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
282
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
288
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
283
289
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
284
290
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
285
291
|
return {
|
|
286
|
-
url: toPathString(localVarUrlObj),
|
|
292
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
287
293
|
options: localVarRequestOptions,
|
|
288
294
|
};
|
|
289
295
|
},
|
|
@@ -296,7 +302,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
296
302
|
apiAdminV1HumanGet: async (options = {}) => {
|
|
297
303
|
const localVarPath = `/api/admin/v1/human`;
|
|
298
304
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
299
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
305
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
300
306
|
let baseOptions;
|
|
301
307
|
if (configuration) {
|
|
302
308
|
baseOptions = configuration.baseOptions;
|
|
@@ -306,13 +312,13 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
306
312
|
const localVarQueryParameter = {};
|
|
307
313
|
// authentication BasicAuth required
|
|
308
314
|
// http basic authentication required
|
|
309
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
315
|
+
(0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
|
|
310
316
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
311
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
317
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
312
318
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
313
319
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
314
320
|
return {
|
|
315
|
-
url: toPathString(localVarUrlObj),
|
|
321
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
316
322
|
options: localVarRequestOptions,
|
|
317
323
|
};
|
|
318
324
|
},
|
|
@@ -325,10 +331,10 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
325
331
|
*/
|
|
326
332
|
apiAdminV1HumanPost: async (human, options = {}) => {
|
|
327
333
|
// verify required parameter 'human' is not null or undefined
|
|
328
|
-
assertParamExists('apiAdminV1HumanPost', 'human', human);
|
|
334
|
+
(0, common_1.assertParamExists)('apiAdminV1HumanPost', 'human', human);
|
|
329
335
|
const localVarPath = `/api/admin/v1/human`;
|
|
330
336
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
331
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
337
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
332
338
|
let baseOptions;
|
|
333
339
|
if (configuration) {
|
|
334
340
|
baseOptions = configuration.baseOptions;
|
|
@@ -338,14 +344,14 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
338
344
|
const localVarQueryParameter = {};
|
|
339
345
|
// authentication BasicAuth required
|
|
340
346
|
// http basic authentication required
|
|
341
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
347
|
+
(0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
|
|
342
348
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
343
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
349
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
344
350
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
345
351
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
346
|
-
localVarRequestOptions.data = serializeDataIfNeeded(human, localVarRequestOptions, configuration);
|
|
352
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(human, localVarRequestOptions, configuration);
|
|
347
353
|
return {
|
|
348
|
-
url: toPathString(localVarUrlObj),
|
|
354
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
349
355
|
options: localVarRequestOptions,
|
|
350
356
|
};
|
|
351
357
|
},
|
|
@@ -360,7 +366,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
360
366
|
apiAdminV1SessionsGet: async (limit, offset, options = {}) => {
|
|
361
367
|
const localVarPath = `/api/admin/v1/sessions`;
|
|
362
368
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
363
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
369
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
364
370
|
let baseOptions;
|
|
365
371
|
if (configuration) {
|
|
366
372
|
baseOptions = configuration.baseOptions;
|
|
@@ -370,7 +376,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
370
376
|
const localVarQueryParameter = {};
|
|
371
377
|
// authentication BasicAuth required
|
|
372
378
|
// http basic authentication required
|
|
373
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
379
|
+
(0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
|
|
374
380
|
if (limit !== undefined) {
|
|
375
381
|
localVarQueryParameter['limit'] = limit;
|
|
376
382
|
}
|
|
@@ -378,11 +384,11 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
378
384
|
localVarQueryParameter['offset'] = offset;
|
|
379
385
|
}
|
|
380
386
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
381
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
387
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
382
388
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
383
389
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
384
390
|
return {
|
|
385
|
-
url: toPathString(localVarUrlObj),
|
|
391
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
386
392
|
options: localVarRequestOptions,
|
|
387
393
|
};
|
|
388
394
|
},
|
|
@@ -395,11 +401,11 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
395
401
|
*/
|
|
396
402
|
apiAdminV1SessionsIdGet: async (id, options = {}) => {
|
|
397
403
|
// verify required parameter 'id' is not null or undefined
|
|
398
|
-
assertParamExists('apiAdminV1SessionsIdGet', 'id', id);
|
|
404
|
+
(0, common_1.assertParamExists)('apiAdminV1SessionsIdGet', 'id', id);
|
|
399
405
|
const localVarPath = `/api/admin/v1/sessions/{id}`
|
|
400
406
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
401
407
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
402
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
408
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
403
409
|
let baseOptions;
|
|
404
410
|
if (configuration) {
|
|
405
411
|
baseOptions = configuration.baseOptions;
|
|
@@ -409,13 +415,13 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
409
415
|
const localVarQueryParameter = {};
|
|
410
416
|
// authentication BasicAuth required
|
|
411
417
|
// http basic authentication required
|
|
412
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
418
|
+
(0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
|
|
413
419
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
414
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
420
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
415
421
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
416
422
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
417
423
|
return {
|
|
418
|
-
url: toPathString(localVarUrlObj),
|
|
424
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
419
425
|
options: localVarRequestOptions,
|
|
420
426
|
};
|
|
421
427
|
},
|
|
@@ -430,11 +436,11 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
430
436
|
*/
|
|
431
437
|
apiAdminV1SessionsIdHistoryGet: async (id, limit, offset, options = {}) => {
|
|
432
438
|
// verify required parameter 'id' is not null or undefined
|
|
433
|
-
assertParamExists('apiAdminV1SessionsIdHistoryGet', 'id', id);
|
|
439
|
+
(0, common_1.assertParamExists)('apiAdminV1SessionsIdHistoryGet', 'id', id);
|
|
434
440
|
const localVarPath = `/api/admin/v1/sessions/{id}/history`
|
|
435
441
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
436
442
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
437
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
443
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
438
444
|
let baseOptions;
|
|
439
445
|
if (configuration) {
|
|
440
446
|
baseOptions = configuration.baseOptions;
|
|
@@ -444,7 +450,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
444
450
|
const localVarQueryParameter = {};
|
|
445
451
|
// authentication BasicAuth required
|
|
446
452
|
// http basic authentication required
|
|
447
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
453
|
+
(0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
|
|
448
454
|
if (limit !== undefined) {
|
|
449
455
|
localVarQueryParameter['limit'] = limit;
|
|
450
456
|
}
|
|
@@ -452,11 +458,11 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
452
458
|
localVarQueryParameter['offset'] = offset;
|
|
453
459
|
}
|
|
454
460
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
455
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
461
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
456
462
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
457
463
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
458
464
|
return {
|
|
459
|
-
url: toPathString(localVarUrlObj),
|
|
465
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
460
466
|
options: localVarRequestOptions,
|
|
461
467
|
};
|
|
462
468
|
},
|
|
@@ -469,11 +475,11 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
469
475
|
*/
|
|
470
476
|
apiAdminV1SessionsIdSkillsGet: async (id, options = {}) => {
|
|
471
477
|
// verify required parameter 'id' is not null or undefined
|
|
472
|
-
assertParamExists('apiAdminV1SessionsIdSkillsGet', 'id', id);
|
|
478
|
+
(0, common_1.assertParamExists)('apiAdminV1SessionsIdSkillsGet', 'id', id);
|
|
473
479
|
const localVarPath = `/api/admin/v1/sessions/{id}/skills`
|
|
474
480
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
475
481
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
476
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
482
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
477
483
|
let baseOptions;
|
|
478
484
|
if (configuration) {
|
|
479
485
|
baseOptions = configuration.baseOptions;
|
|
@@ -483,13 +489,13 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
483
489
|
const localVarQueryParameter = {};
|
|
484
490
|
// authentication BasicAuth required
|
|
485
491
|
// http basic authentication required
|
|
486
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
492
|
+
(0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
|
|
487
493
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
488
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
494
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
489
495
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
490
496
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
491
497
|
return {
|
|
492
|
-
url: toPathString(localVarUrlObj),
|
|
498
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
493
499
|
options: localVarRequestOptions,
|
|
494
500
|
};
|
|
495
501
|
},
|
|
@@ -502,11 +508,11 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
502
508
|
*/
|
|
503
509
|
apiAdminV1SessionsIdStatsGet: async (id, options = {}) => {
|
|
504
510
|
// verify required parameter 'id' is not null or undefined
|
|
505
|
-
assertParamExists('apiAdminV1SessionsIdStatsGet', 'id', id);
|
|
511
|
+
(0, common_1.assertParamExists)('apiAdminV1SessionsIdStatsGet', 'id', id);
|
|
506
512
|
const localVarPath = `/api/admin/v1/sessions/{id}/stats`
|
|
507
513
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
508
514
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
509
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
515
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
510
516
|
let baseOptions;
|
|
511
517
|
if (configuration) {
|
|
512
518
|
baseOptions = configuration.baseOptions;
|
|
@@ -516,13 +522,13 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
516
522
|
const localVarQueryParameter = {};
|
|
517
523
|
// authentication BasicAuth required
|
|
518
524
|
// http basic authentication required
|
|
519
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
525
|
+
(0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
|
|
520
526
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
521
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
527
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
522
528
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
523
529
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
524
530
|
return {
|
|
525
|
-
url: toPathString(localVarUrlObj),
|
|
531
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
526
532
|
options: localVarRequestOptions,
|
|
527
533
|
};
|
|
528
534
|
},
|
|
@@ -535,7 +541,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
535
541
|
apiAdminV1SkillsCommandsGet: async (options = {}) => {
|
|
536
542
|
const localVarPath = `/api/admin/v1/skills/commands`;
|
|
537
543
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
538
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
544
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
539
545
|
let baseOptions;
|
|
540
546
|
if (configuration) {
|
|
541
547
|
baseOptions = configuration.baseOptions;
|
|
@@ -545,13 +551,13 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
545
551
|
const localVarQueryParameter = {};
|
|
546
552
|
// authentication BasicAuth required
|
|
547
553
|
// http basic authentication required
|
|
548
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
554
|
+
(0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
|
|
549
555
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
550
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
556
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
551
557
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
552
558
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
553
559
|
return {
|
|
554
|
-
url: toPathString(localVarUrlObj),
|
|
560
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
555
561
|
options: localVarRequestOptions,
|
|
556
562
|
};
|
|
557
563
|
},
|
|
@@ -566,7 +572,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
566
572
|
apiAdminV1SkillsGet: async (limit, offset, options = {}) => {
|
|
567
573
|
const localVarPath = `/api/admin/v1/skills`;
|
|
568
574
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
569
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
575
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
570
576
|
let baseOptions;
|
|
571
577
|
if (configuration) {
|
|
572
578
|
baseOptions = configuration.baseOptions;
|
|
@@ -576,7 +582,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
576
582
|
const localVarQueryParameter = {};
|
|
577
583
|
// authentication BasicAuth required
|
|
578
584
|
// http basic authentication required
|
|
579
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
585
|
+
(0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
|
|
580
586
|
if (limit !== undefined) {
|
|
581
587
|
localVarQueryParameter['limit'] = limit;
|
|
582
588
|
}
|
|
@@ -584,11 +590,11 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
584
590
|
localVarQueryParameter['offset'] = offset;
|
|
585
591
|
}
|
|
586
592
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
587
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
593
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
588
594
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
589
595
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
590
596
|
return {
|
|
591
|
-
url: toPathString(localVarUrlObj),
|
|
597
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
592
598
|
options: localVarRequestOptions,
|
|
593
599
|
};
|
|
594
600
|
},
|
|
@@ -601,11 +607,11 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
601
607
|
*/
|
|
602
608
|
apiAdminV1SkillsNameDelete: async (name, options = {}) => {
|
|
603
609
|
// verify required parameter 'name' is not null or undefined
|
|
604
|
-
assertParamExists('apiAdminV1SkillsNameDelete', 'name', name);
|
|
610
|
+
(0, common_1.assertParamExists)('apiAdminV1SkillsNameDelete', 'name', name);
|
|
605
611
|
const localVarPath = `/api/admin/v1/skills/{name}`
|
|
606
612
|
.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
607
613
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
608
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
614
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
609
615
|
let baseOptions;
|
|
610
616
|
if (configuration) {
|
|
611
617
|
baseOptions = configuration.baseOptions;
|
|
@@ -615,12 +621,12 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
615
621
|
const localVarQueryParameter = {};
|
|
616
622
|
// authentication BasicAuth required
|
|
617
623
|
// http basic authentication required
|
|
618
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
619
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
624
|
+
(0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
|
|
625
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
620
626
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
621
627
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
622
628
|
return {
|
|
623
|
-
url: toPathString(localVarUrlObj),
|
|
629
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
624
630
|
options: localVarRequestOptions,
|
|
625
631
|
};
|
|
626
632
|
},
|
|
@@ -633,11 +639,11 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
633
639
|
*/
|
|
634
640
|
apiAdminV1SkillsNameGet: async (name, options = {}) => {
|
|
635
641
|
// verify required parameter 'name' is not null or undefined
|
|
636
|
-
assertParamExists('apiAdminV1SkillsNameGet', 'name', name);
|
|
642
|
+
(0, common_1.assertParamExists)('apiAdminV1SkillsNameGet', 'name', name);
|
|
637
643
|
const localVarPath = `/api/admin/v1/skills/{name}`
|
|
638
644
|
.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
639
645
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
640
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
646
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
641
647
|
let baseOptions;
|
|
642
648
|
if (configuration) {
|
|
643
649
|
baseOptions = configuration.baseOptions;
|
|
@@ -647,13 +653,13 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
647
653
|
const localVarQueryParameter = {};
|
|
648
654
|
// authentication BasicAuth required
|
|
649
655
|
// http basic authentication required
|
|
650
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
656
|
+
(0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
|
|
651
657
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
652
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
658
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
653
659
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
654
660
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
655
661
|
return {
|
|
656
|
-
url: toPathString(localVarUrlObj),
|
|
662
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
657
663
|
options: localVarRequestOptions,
|
|
658
664
|
};
|
|
659
665
|
},
|
|
@@ -667,7 +673,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
667
673
|
apiAdminV1SubagentsGet: async (session, options = {}) => {
|
|
668
674
|
const localVarPath = `/api/admin/v1/subagents`;
|
|
669
675
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
670
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
676
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
671
677
|
let baseOptions;
|
|
672
678
|
if (configuration) {
|
|
673
679
|
baseOptions = configuration.baseOptions;
|
|
@@ -677,16 +683,16 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
677
683
|
const localVarQueryParameter = {};
|
|
678
684
|
// authentication BasicAuth required
|
|
679
685
|
// http basic authentication required
|
|
680
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
686
|
+
(0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
|
|
681
687
|
if (session !== undefined) {
|
|
682
688
|
localVarQueryParameter['session'] = session;
|
|
683
689
|
}
|
|
684
690
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
685
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
691
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
686
692
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
687
693
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
688
694
|
return {
|
|
689
|
-
url: toPathString(localVarUrlObj),
|
|
695
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
690
696
|
options: localVarRequestOptions,
|
|
691
697
|
};
|
|
692
698
|
},
|
|
@@ -699,11 +705,11 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
699
705
|
*/
|
|
700
706
|
apiAdminV1SubagentsIdDelete: async (id, options = {}) => {
|
|
701
707
|
// verify required parameter 'id' is not null or undefined
|
|
702
|
-
assertParamExists('apiAdminV1SubagentsIdDelete', 'id', id);
|
|
708
|
+
(0, common_1.assertParamExists)('apiAdminV1SubagentsIdDelete', 'id', id);
|
|
703
709
|
const localVarPath = `/api/admin/v1/subagents/{id}`
|
|
704
710
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
705
711
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
706
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
712
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
707
713
|
let baseOptions;
|
|
708
714
|
if (configuration) {
|
|
709
715
|
baseOptions = configuration.baseOptions;
|
|
@@ -713,12 +719,12 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
713
719
|
const localVarQueryParameter = {};
|
|
714
720
|
// authentication BasicAuth required
|
|
715
721
|
// http basic authentication required
|
|
716
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
717
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
722
|
+
(0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
|
|
723
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
718
724
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
719
725
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
720
726
|
return {
|
|
721
|
-
url: toPathString(localVarUrlObj),
|
|
727
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
722
728
|
options: localVarRequestOptions,
|
|
723
729
|
};
|
|
724
730
|
},
|
|
@@ -731,11 +737,11 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
731
737
|
*/
|
|
732
738
|
apiAdminV1SubagentsIdGet: async (id, options = {}) => {
|
|
733
739
|
// verify required parameter 'id' is not null or undefined
|
|
734
|
-
assertParamExists('apiAdminV1SubagentsIdGet', 'id', id);
|
|
740
|
+
(0, common_1.assertParamExists)('apiAdminV1SubagentsIdGet', 'id', id);
|
|
735
741
|
const localVarPath = `/api/admin/v1/subagents/{id}`
|
|
736
742
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
737
743
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
738
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
744
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
739
745
|
let baseOptions;
|
|
740
746
|
if (configuration) {
|
|
741
747
|
baseOptions = configuration.baseOptions;
|
|
@@ -745,13 +751,13 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
745
751
|
const localVarQueryParameter = {};
|
|
746
752
|
// authentication BasicAuth required
|
|
747
753
|
// http basic authentication required
|
|
748
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
754
|
+
(0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
|
|
749
755
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
750
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
756
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
751
757
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
752
758
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
753
759
|
return {
|
|
754
|
-
url: toPathString(localVarUrlObj),
|
|
760
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
755
761
|
options: localVarRequestOptions,
|
|
756
762
|
};
|
|
757
763
|
},
|
|
@@ -764,11 +770,11 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
764
770
|
*/
|
|
765
771
|
apiAdminV1SubagentsIdTranscriptGet: async (id, options = {}) => {
|
|
766
772
|
// verify required parameter 'id' is not null or undefined
|
|
767
|
-
assertParamExists('apiAdminV1SubagentsIdTranscriptGet', 'id', id);
|
|
773
|
+
(0, common_1.assertParamExists)('apiAdminV1SubagentsIdTranscriptGet', 'id', id);
|
|
768
774
|
const localVarPath = `/api/admin/v1/subagents/{id}/transcript`
|
|
769
775
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
770
776
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
771
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
777
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
772
778
|
let baseOptions;
|
|
773
779
|
if (configuration) {
|
|
774
780
|
baseOptions = configuration.baseOptions;
|
|
@@ -778,13 +784,13 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
778
784
|
const localVarQueryParameter = {};
|
|
779
785
|
// authentication BasicAuth required
|
|
780
786
|
// http basic authentication required
|
|
781
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
787
|
+
(0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
|
|
782
788
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
783
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
789
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
784
790
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
785
791
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
786
792
|
return {
|
|
787
|
-
url: toPathString(localVarUrlObj),
|
|
793
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
788
794
|
options: localVarRequestOptions,
|
|
789
795
|
};
|
|
790
796
|
},
|
|
@@ -799,7 +805,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
799
805
|
apiAdminV1TasksGet: async (limit, offset, options = {}) => {
|
|
800
806
|
const localVarPath = `/api/admin/v1/tasks`;
|
|
801
807
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
802
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
808
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
803
809
|
let baseOptions;
|
|
804
810
|
if (configuration) {
|
|
805
811
|
baseOptions = configuration.baseOptions;
|
|
@@ -809,7 +815,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
809
815
|
const localVarQueryParameter = {};
|
|
810
816
|
// authentication BasicAuth required
|
|
811
817
|
// http basic authentication required
|
|
812
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
818
|
+
(0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
|
|
813
819
|
if (limit !== undefined) {
|
|
814
820
|
localVarQueryParameter['limit'] = limit;
|
|
815
821
|
}
|
|
@@ -817,11 +823,11 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
817
823
|
localVarQueryParameter['offset'] = offset;
|
|
818
824
|
}
|
|
819
825
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
820
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
826
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
821
827
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
822
828
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
823
829
|
return {
|
|
824
|
-
url: toPathString(localVarUrlObj),
|
|
830
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
825
831
|
options: localVarRequestOptions,
|
|
826
832
|
};
|
|
827
833
|
},
|
|
@@ -834,11 +840,11 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
834
840
|
*/
|
|
835
841
|
apiAdminV1TasksIdGet: async (id, options = {}) => {
|
|
836
842
|
// verify required parameter 'id' is not null or undefined
|
|
837
|
-
assertParamExists('apiAdminV1TasksIdGet', 'id', id);
|
|
843
|
+
(0, common_1.assertParamExists)('apiAdminV1TasksIdGet', 'id', id);
|
|
838
844
|
const localVarPath = `/api/admin/v1/tasks/{id}`
|
|
839
845
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
840
846
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
841
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
847
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
842
848
|
let baseOptions;
|
|
843
849
|
if (configuration) {
|
|
844
850
|
baseOptions = configuration.baseOptions;
|
|
@@ -848,13 +854,13 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
848
854
|
const localVarQueryParameter = {};
|
|
849
855
|
// authentication BasicAuth required
|
|
850
856
|
// http basic authentication required
|
|
851
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
857
|
+
(0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
|
|
852
858
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
853
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
859
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
854
860
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
855
861
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
856
862
|
return {
|
|
857
|
-
url: toPathString(localVarUrlObj),
|
|
863
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
858
864
|
options: localVarRequestOptions,
|
|
859
865
|
};
|
|
860
866
|
},
|
|
@@ -867,10 +873,10 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
867
873
|
*/
|
|
868
874
|
apiV1FilesDelete: async (deleteFilesRequest, options = {}) => {
|
|
869
875
|
// verify required parameter 'deleteFilesRequest' is not null or undefined
|
|
870
|
-
assertParamExists('apiV1FilesDelete', 'deleteFilesRequest', deleteFilesRequest);
|
|
876
|
+
(0, common_1.assertParamExists)('apiV1FilesDelete', 'deleteFilesRequest', deleteFilesRequest);
|
|
871
877
|
const localVarPath = `/api/v1/files`;
|
|
872
878
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
873
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
879
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
874
880
|
let baseOptions;
|
|
875
881
|
if (configuration) {
|
|
876
882
|
baseOptions = configuration.baseOptions;
|
|
@@ -879,15 +885,15 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
879
885
|
const localVarHeaderParameter = {};
|
|
880
886
|
const localVarQueryParameter = {};
|
|
881
887
|
// authentication ServerKey required
|
|
882
|
-
await setApiKeyToObject(localVarHeaderParameter, "X-Server-Key", configuration);
|
|
888
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Server-Key", configuration);
|
|
883
889
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
884
890
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
885
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
891
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
886
892
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
887
893
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
888
|
-
localVarRequestOptions.data = serializeDataIfNeeded(deleteFilesRequest, localVarRequestOptions, configuration);
|
|
894
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(deleteFilesRequest, localVarRequestOptions, configuration);
|
|
889
895
|
return {
|
|
890
|
-
url: toPathString(localVarUrlObj),
|
|
896
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
891
897
|
options: localVarRequestOptions,
|
|
892
898
|
};
|
|
893
899
|
},
|
|
@@ -902,11 +908,11 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
902
908
|
*/
|
|
903
909
|
apiV1FilesFilepathGet: async (filepath, view, zip, options = {}) => {
|
|
904
910
|
// verify required parameter 'filepath' is not null or undefined
|
|
905
|
-
assertParamExists('apiV1FilesFilepathGet', 'filepath', filepath);
|
|
911
|
+
(0, common_1.assertParamExists)('apiV1FilesFilepathGet', 'filepath', filepath);
|
|
906
912
|
const localVarPath = `/api/v1/files/{filepath}`
|
|
907
913
|
.replace(`{${"filepath"}}`, encodeURIComponent(String(filepath)));
|
|
908
914
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
909
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
915
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
910
916
|
let baseOptions;
|
|
911
917
|
if (configuration) {
|
|
912
918
|
baseOptions = configuration.baseOptions;
|
|
@@ -915,7 +921,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
915
921
|
const localVarHeaderParameter = {};
|
|
916
922
|
const localVarQueryParameter = {};
|
|
917
923
|
// authentication ServerKey required
|
|
918
|
-
await setApiKeyToObject(localVarHeaderParameter, "X-Server-Key", configuration);
|
|
924
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Server-Key", configuration);
|
|
919
925
|
if (view !== undefined) {
|
|
920
926
|
localVarQueryParameter['view'] = view;
|
|
921
927
|
}
|
|
@@ -923,11 +929,11 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
923
929
|
localVarQueryParameter['zip'] = zip;
|
|
924
930
|
}
|
|
925
931
|
localVarHeaderParameter['Accept'] = 'application/json,text/plain,application/octet-stream';
|
|
926
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
932
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
927
933
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
928
934
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
929
935
|
return {
|
|
930
|
-
url: toPathString(localVarUrlObj),
|
|
936
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
931
937
|
options: localVarRequestOptions,
|
|
932
938
|
};
|
|
933
939
|
},
|
|
@@ -941,7 +947,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
941
947
|
apiV1FilesGet: async (path, options = {}) => {
|
|
942
948
|
const localVarPath = `/api/v1/files`;
|
|
943
949
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
944
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
950
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
945
951
|
let baseOptions;
|
|
946
952
|
if (configuration) {
|
|
947
953
|
baseOptions = configuration.baseOptions;
|
|
@@ -950,16 +956,16 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
950
956
|
const localVarHeaderParameter = {};
|
|
951
957
|
const localVarQueryParameter = {};
|
|
952
958
|
// authentication ServerKey required
|
|
953
|
-
await setApiKeyToObject(localVarHeaderParameter, "X-Server-Key", configuration);
|
|
959
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Server-Key", configuration);
|
|
954
960
|
if (path !== undefined) {
|
|
955
961
|
localVarQueryParameter['path'] = path;
|
|
956
962
|
}
|
|
957
963
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
958
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
964
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
959
965
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
960
966
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
961
967
|
return {
|
|
962
|
-
url: toPathString(localVarUrlObj),
|
|
968
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
963
969
|
options: localVarRequestOptions,
|
|
964
970
|
};
|
|
965
971
|
},
|
|
@@ -973,7 +979,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
973
979
|
apiV1FilesUploadPost: async (file, options = {}) => {
|
|
974
980
|
const localVarPath = `/api/v1/files/upload`;
|
|
975
981
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
976
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
982
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
977
983
|
let baseOptions;
|
|
978
984
|
if (configuration) {
|
|
979
985
|
baseOptions = configuration.baseOptions;
|
|
@@ -983,18 +989,18 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
983
989
|
const localVarQueryParameter = {};
|
|
984
990
|
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
985
991
|
// authentication ServerKey required
|
|
986
|
-
await setApiKeyToObject(localVarHeaderParameter, "X-Server-Key", configuration);
|
|
992
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Server-Key", configuration);
|
|
987
993
|
if (file !== undefined) {
|
|
988
994
|
localVarFormParams.append('file', file);
|
|
989
995
|
}
|
|
990
996
|
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
991
997
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
992
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
998
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
993
999
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
994
1000
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
995
1001
|
localVarRequestOptions.data = localVarFormParams;
|
|
996
1002
|
return {
|
|
997
|
-
url: toPathString(localVarUrlObj),
|
|
1003
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
998
1004
|
options: localVarRequestOptions,
|
|
999
1005
|
};
|
|
1000
1006
|
},
|
|
@@ -1007,10 +1013,10 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1007
1013
|
*/
|
|
1008
1014
|
apiV1InteractionPost: async (apiV1InteractionPostRequest, options = {}) => {
|
|
1009
1015
|
// verify required parameter 'apiV1InteractionPostRequest' is not null or undefined
|
|
1010
|
-
assertParamExists('apiV1InteractionPost', 'apiV1InteractionPostRequest', apiV1InteractionPostRequest);
|
|
1016
|
+
(0, common_1.assertParamExists)('apiV1InteractionPost', 'apiV1InteractionPostRequest', apiV1InteractionPostRequest);
|
|
1011
1017
|
const localVarPath = `/api/v1/interaction`;
|
|
1012
1018
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1013
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1019
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1014
1020
|
let baseOptions;
|
|
1015
1021
|
if (configuration) {
|
|
1016
1022
|
baseOptions = configuration.baseOptions;
|
|
@@ -1019,14 +1025,14 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1019
1025
|
const localVarHeaderParameter = {};
|
|
1020
1026
|
const localVarQueryParameter = {};
|
|
1021
1027
|
// authentication ServerKey required
|
|
1022
|
-
await setApiKeyToObject(localVarHeaderParameter, "X-Server-Key", configuration);
|
|
1028
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Server-Key", configuration);
|
|
1023
1029
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1024
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1030
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1025
1031
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1026
1032
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1027
|
-
localVarRequestOptions.data = serializeDataIfNeeded(apiV1InteractionPostRequest, localVarRequestOptions, configuration);
|
|
1033
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(apiV1InteractionPostRequest, localVarRequestOptions, configuration);
|
|
1028
1034
|
return {
|
|
1029
|
-
url: toPathString(localVarUrlObj),
|
|
1035
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1030
1036
|
options: localVarRequestOptions,
|
|
1031
1037
|
};
|
|
1032
1038
|
},
|
|
@@ -1039,10 +1045,10 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1039
1045
|
*/
|
|
1040
1046
|
apiV1PromptPost: async (apiV1PromptPostRequest, options = {}) => {
|
|
1041
1047
|
// verify required parameter 'apiV1PromptPostRequest' is not null or undefined
|
|
1042
|
-
assertParamExists('apiV1PromptPost', 'apiV1PromptPostRequest', apiV1PromptPostRequest);
|
|
1048
|
+
(0, common_1.assertParamExists)('apiV1PromptPost', 'apiV1PromptPostRequest', apiV1PromptPostRequest);
|
|
1043
1049
|
const localVarPath = `/api/v1/prompt`;
|
|
1044
1050
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1045
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1051
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1046
1052
|
let baseOptions;
|
|
1047
1053
|
if (configuration) {
|
|
1048
1054
|
baseOptions = configuration.baseOptions;
|
|
@@ -1051,15 +1057,15 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1051
1057
|
const localVarHeaderParameter = {};
|
|
1052
1058
|
const localVarQueryParameter = {};
|
|
1053
1059
|
// authentication ServerKey required
|
|
1054
|
-
await setApiKeyToObject(localVarHeaderParameter, "X-Server-Key", configuration);
|
|
1060
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Server-Key", configuration);
|
|
1055
1061
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1056
1062
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1057
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1063
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1058
1064
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1059
1065
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1060
|
-
localVarRequestOptions.data = serializeDataIfNeeded(apiV1PromptPostRequest, localVarRequestOptions, configuration);
|
|
1066
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(apiV1PromptPostRequest, localVarRequestOptions, configuration);
|
|
1061
1067
|
return {
|
|
1062
|
-
url: toPathString(localVarUrlObj),
|
|
1068
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1063
1069
|
options: localVarRequestOptions,
|
|
1064
1070
|
};
|
|
1065
1071
|
},
|
|
@@ -1073,10 +1079,10 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1073
1079
|
*/
|
|
1074
1080
|
apiV1PromptStreamGet: async (prompt, model, options = {}) => {
|
|
1075
1081
|
// verify required parameter 'prompt' is not null or undefined
|
|
1076
|
-
assertParamExists('apiV1PromptStreamGet', 'prompt', prompt);
|
|
1082
|
+
(0, common_1.assertParamExists)('apiV1PromptStreamGet', 'prompt', prompt);
|
|
1077
1083
|
const localVarPath = `/api/v1/prompt/stream`;
|
|
1078
1084
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1079
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1085
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1080
1086
|
let baseOptions;
|
|
1081
1087
|
if (configuration) {
|
|
1082
1088
|
baseOptions = configuration.baseOptions;
|
|
@@ -1085,7 +1091,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1085
1091
|
const localVarHeaderParameter = {};
|
|
1086
1092
|
const localVarQueryParameter = {};
|
|
1087
1093
|
// authentication ServerKey required
|
|
1088
|
-
await setApiKeyToObject(localVarHeaderParameter, "X-Server-Key", configuration);
|
|
1094
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Server-Key", configuration);
|
|
1089
1095
|
if (prompt !== undefined) {
|
|
1090
1096
|
localVarQueryParameter['prompt'] = prompt;
|
|
1091
1097
|
}
|
|
@@ -1093,11 +1099,11 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1093
1099
|
localVarQueryParameter['model'] = model;
|
|
1094
1100
|
}
|
|
1095
1101
|
localVarHeaderParameter['Accept'] = 'text/event-stream';
|
|
1096
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1102
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1097
1103
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1098
1104
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1099
1105
|
return {
|
|
1100
|
-
url: toPathString(localVarUrlObj),
|
|
1106
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1101
1107
|
options: localVarRequestOptions,
|
|
1102
1108
|
};
|
|
1103
1109
|
},
|
|
@@ -1110,11 +1116,11 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1110
1116
|
*/
|
|
1111
1117
|
apiV1SubagentsIdGet: async (id, options = {}) => {
|
|
1112
1118
|
// verify required parameter 'id' is not null or undefined
|
|
1113
|
-
assertParamExists('apiV1SubagentsIdGet', 'id', id);
|
|
1119
|
+
(0, common_1.assertParamExists)('apiV1SubagentsIdGet', 'id', id);
|
|
1114
1120
|
const localVarPath = `/api/v1/subagents/{id}`
|
|
1115
1121
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
1116
1122
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1117
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1123
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1118
1124
|
let baseOptions;
|
|
1119
1125
|
if (configuration) {
|
|
1120
1126
|
baseOptions = configuration.baseOptions;
|
|
@@ -1123,13 +1129,13 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1123
1129
|
const localVarHeaderParameter = {};
|
|
1124
1130
|
const localVarQueryParameter = {};
|
|
1125
1131
|
// authentication ServerKey required
|
|
1126
|
-
await setApiKeyToObject(localVarHeaderParameter, "X-Server-Key", configuration);
|
|
1132
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Server-Key", configuration);
|
|
1127
1133
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1128
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1134
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1129
1135
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1130
1136
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1131
1137
|
return {
|
|
1132
|
-
url: toPathString(localVarUrlObj),
|
|
1138
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1133
1139
|
options: localVarRequestOptions,
|
|
1134
1140
|
};
|
|
1135
1141
|
},
|
|
@@ -1142,11 +1148,11 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1142
1148
|
*/
|
|
1143
1149
|
apiV1SubagentsIdTranscriptGet: async (id, options = {}) => {
|
|
1144
1150
|
// verify required parameter 'id' is not null or undefined
|
|
1145
|
-
assertParamExists('apiV1SubagentsIdTranscriptGet', 'id', id);
|
|
1151
|
+
(0, common_1.assertParamExists)('apiV1SubagentsIdTranscriptGet', 'id', id);
|
|
1146
1152
|
const localVarPath = `/api/v1/subagents/{id}/transcript`
|
|
1147
1153
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
1148
1154
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1149
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1155
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1150
1156
|
let baseOptions;
|
|
1151
1157
|
if (configuration) {
|
|
1152
1158
|
baseOptions = configuration.baseOptions;
|
|
@@ -1155,13 +1161,13 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1155
1161
|
const localVarHeaderParameter = {};
|
|
1156
1162
|
const localVarQueryParameter = {};
|
|
1157
1163
|
// authentication ServerKey required
|
|
1158
|
-
await setApiKeyToObject(localVarHeaderParameter, "X-Server-Key", configuration);
|
|
1164
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Server-Key", configuration);
|
|
1159
1165
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1160
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1166
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1161
1167
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1162
1168
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1163
1169
|
return {
|
|
1164
|
-
url: toPathString(localVarUrlObj),
|
|
1170
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1165
1171
|
options: localVarRequestOptions,
|
|
1166
1172
|
};
|
|
1167
1173
|
},
|
|
@@ -1174,10 +1180,10 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1174
1180
|
*/
|
|
1175
1181
|
apiV1SubagentsPost: async (spawnSubAgentRequest, options = {}) => {
|
|
1176
1182
|
// verify required parameter 'spawnSubAgentRequest' is not null or undefined
|
|
1177
|
-
assertParamExists('apiV1SubagentsPost', 'spawnSubAgentRequest', spawnSubAgentRequest);
|
|
1183
|
+
(0, common_1.assertParamExists)('apiV1SubagentsPost', 'spawnSubAgentRequest', spawnSubAgentRequest);
|
|
1178
1184
|
const localVarPath = `/api/v1/subagents`;
|
|
1179
1185
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1180
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1186
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1181
1187
|
let baseOptions;
|
|
1182
1188
|
if (configuration) {
|
|
1183
1189
|
baseOptions = configuration.baseOptions;
|
|
@@ -1186,15 +1192,15 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1186
1192
|
const localVarHeaderParameter = {};
|
|
1187
1193
|
const localVarQueryParameter = {};
|
|
1188
1194
|
// authentication ServerKey required
|
|
1189
|
-
await setApiKeyToObject(localVarHeaderParameter, "X-Server-Key", configuration);
|
|
1195
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Server-Key", configuration);
|
|
1190
1196
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1191
1197
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1192
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1198
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1193
1199
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1194
1200
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1195
|
-
localVarRequestOptions.data = serializeDataIfNeeded(spawnSubAgentRequest, localVarRequestOptions, configuration);
|
|
1201
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(spawnSubAgentRequest, localVarRequestOptions, configuration);
|
|
1196
1202
|
return {
|
|
1197
|
-
url: toPathString(localVarUrlObj),
|
|
1203
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1198
1204
|
options: localVarRequestOptions,
|
|
1199
1205
|
};
|
|
1200
1206
|
},
|
|
@@ -1207,7 +1213,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1207
1213
|
metricsGet: async (options = {}) => {
|
|
1208
1214
|
const localVarPath = `/metrics`;
|
|
1209
1215
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1210
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1216
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1211
1217
|
let baseOptions;
|
|
1212
1218
|
if (configuration) {
|
|
1213
1219
|
baseOptions = configuration.baseOptions;
|
|
@@ -1216,11 +1222,11 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1216
1222
|
const localVarHeaderParameter = {};
|
|
1217
1223
|
const localVarQueryParameter = {};
|
|
1218
1224
|
localVarHeaderParameter['Accept'] = 'text/plain';
|
|
1219
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1225
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1220
1226
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1221
1227
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1222
1228
|
return {
|
|
1223
|
-
url: toPathString(localVarUrlObj),
|
|
1229
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1224
1230
|
options: localVarRequestOptions,
|
|
1225
1231
|
};
|
|
1226
1232
|
},
|
|
@@ -1235,7 +1241,7 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1235
1241
|
wsGet: async (channel, device, options = {}) => {
|
|
1236
1242
|
const localVarPath = `/ws`;
|
|
1237
1243
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1238
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1244
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1239
1245
|
let baseOptions;
|
|
1240
1246
|
if (configuration) {
|
|
1241
1247
|
baseOptions = configuration.baseOptions;
|
|
@@ -1244,28 +1250,29 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1244
1250
|
const localVarHeaderParameter = {};
|
|
1245
1251
|
const localVarQueryParameter = {};
|
|
1246
1252
|
// authentication ServerKey required
|
|
1247
|
-
await setApiKeyToObject(localVarHeaderParameter, "X-Server-Key", configuration);
|
|
1253
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "X-Server-Key", configuration);
|
|
1248
1254
|
if (channel !== undefined) {
|
|
1249
1255
|
localVarQueryParameter['channel'] = channel;
|
|
1250
1256
|
}
|
|
1251
1257
|
if (device !== undefined) {
|
|
1252
1258
|
localVarQueryParameter['device'] = device;
|
|
1253
1259
|
}
|
|
1254
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1260
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1255
1261
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1256
1262
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1257
1263
|
return {
|
|
1258
|
-
url: toPathString(localVarUrlObj),
|
|
1264
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1259
1265
|
options: localVarRequestOptions,
|
|
1260
1266
|
};
|
|
1261
1267
|
},
|
|
1262
1268
|
};
|
|
1263
1269
|
};
|
|
1270
|
+
exports.DefaultApiAxiosParamCreator = DefaultApiAxiosParamCreator;
|
|
1264
1271
|
/**
|
|
1265
1272
|
* DefaultApi - functional programming interface
|
|
1266
1273
|
*/
|
|
1267
|
-
|
|
1268
|
-
const localVarAxiosParamCreator = DefaultApiAxiosParamCreator(configuration);
|
|
1274
|
+
const DefaultApiFp = function (configuration) {
|
|
1275
|
+
const localVarAxiosParamCreator = (0, exports.DefaultApiAxiosParamCreator)(configuration);
|
|
1269
1276
|
return {
|
|
1270
1277
|
/**
|
|
1271
1278
|
*
|
|
@@ -1278,8 +1285,8 @@ export const DefaultApiFp = function (configuration) {
|
|
|
1278
1285
|
async apiAdminV1BrainFactsGet(limit, offset, options) {
|
|
1279
1286
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiAdminV1BrainFactsGet(limit, offset, options);
|
|
1280
1287
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1281
|
-
const localVarOperationServerBasePath = operationServerMap['DefaultApi.apiAdminV1BrainFactsGet']?.[localVarOperationServerIndex]?.url;
|
|
1282
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs,
|
|
1288
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['DefaultApi.apiAdminV1BrainFactsGet']?.[localVarOperationServerIndex]?.url;
|
|
1289
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1283
1290
|
},
|
|
1284
1291
|
/**
|
|
1285
1292
|
*
|
|
@@ -1292,8 +1299,8 @@ export const DefaultApiFp = function (configuration) {
|
|
|
1292
1299
|
async apiAdminV1BrainSummariesGet(limit, offset, options) {
|
|
1293
1300
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiAdminV1BrainSummariesGet(limit, offset, options);
|
|
1294
1301
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1295
|
-
const localVarOperationServerBasePath = operationServerMap['DefaultApi.apiAdminV1BrainSummariesGet']?.[localVarOperationServerIndex]?.url;
|
|
1296
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs,
|
|
1302
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['DefaultApi.apiAdminV1BrainSummariesGet']?.[localVarOperationServerIndex]?.url;
|
|
1303
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1297
1304
|
},
|
|
1298
1305
|
/**
|
|
1299
1306
|
*
|
|
@@ -1305,8 +1312,8 @@ export const DefaultApiFp = function (configuration) {
|
|
|
1305
1312
|
async apiAdminV1BrainTopologyGet(sessionId, options) {
|
|
1306
1313
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiAdminV1BrainTopologyGet(sessionId, options);
|
|
1307
1314
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1308
|
-
const localVarOperationServerBasePath = operationServerMap['DefaultApi.apiAdminV1BrainTopologyGet']?.[localVarOperationServerIndex]?.url;
|
|
1309
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs,
|
|
1315
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['DefaultApi.apiAdminV1BrainTopologyGet']?.[localVarOperationServerIndex]?.url;
|
|
1316
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1310
1317
|
},
|
|
1311
1318
|
/**
|
|
1312
1319
|
*
|
|
@@ -1318,8 +1325,8 @@ export const DefaultApiFp = function (configuration) {
|
|
|
1318
1325
|
async apiAdminV1ChannelsPost(apiAdminV1ChannelsPostRequest, options) {
|
|
1319
1326
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiAdminV1ChannelsPost(apiAdminV1ChannelsPostRequest, options);
|
|
1320
1327
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1321
|
-
const localVarOperationServerBasePath = operationServerMap['DefaultApi.apiAdminV1ChannelsPost']?.[localVarOperationServerIndex]?.url;
|
|
1322
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs,
|
|
1328
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['DefaultApi.apiAdminV1ChannelsPost']?.[localVarOperationServerIndex]?.url;
|
|
1329
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1323
1330
|
},
|
|
1324
1331
|
/**
|
|
1325
1332
|
*
|
|
@@ -1330,8 +1337,8 @@ export const DefaultApiFp = function (configuration) {
|
|
|
1330
1337
|
async apiAdminV1ConfigGet(options) {
|
|
1331
1338
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiAdminV1ConfigGet(options);
|
|
1332
1339
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1333
|
-
const localVarOperationServerBasePath = operationServerMap['DefaultApi.apiAdminV1ConfigGet']?.[localVarOperationServerIndex]?.url;
|
|
1334
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs,
|
|
1340
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['DefaultApi.apiAdminV1ConfigGet']?.[localVarOperationServerIndex]?.url;
|
|
1341
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1335
1342
|
},
|
|
1336
1343
|
/**
|
|
1337
1344
|
*
|
|
@@ -1343,8 +1350,8 @@ export const DefaultApiFp = function (configuration) {
|
|
|
1343
1350
|
async apiAdminV1ConfigPost(config, options) {
|
|
1344
1351
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiAdminV1ConfigPost(config, options);
|
|
1345
1352
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1346
|
-
const localVarOperationServerBasePath = operationServerMap['DefaultApi.apiAdminV1ConfigPost']?.[localVarOperationServerIndex]?.url;
|
|
1347
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs,
|
|
1353
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['DefaultApi.apiAdminV1ConfigPost']?.[localVarOperationServerIndex]?.url;
|
|
1354
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1348
1355
|
},
|
|
1349
1356
|
/**
|
|
1350
1357
|
*
|
|
@@ -1355,8 +1362,8 @@ export const DefaultApiFp = function (configuration) {
|
|
|
1355
1362
|
async apiAdminV1HealthGet(options) {
|
|
1356
1363
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiAdminV1HealthGet(options);
|
|
1357
1364
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1358
|
-
const localVarOperationServerBasePath = operationServerMap['DefaultApi.apiAdminV1HealthGet']?.[localVarOperationServerIndex]?.url;
|
|
1359
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs,
|
|
1365
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['DefaultApi.apiAdminV1HealthGet']?.[localVarOperationServerIndex]?.url;
|
|
1366
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1360
1367
|
},
|
|
1361
1368
|
/**
|
|
1362
1369
|
*
|
|
@@ -1367,8 +1374,8 @@ export const DefaultApiFp = function (configuration) {
|
|
|
1367
1374
|
async apiAdminV1HumanGet(options) {
|
|
1368
1375
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiAdminV1HumanGet(options);
|
|
1369
1376
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1370
|
-
const localVarOperationServerBasePath = operationServerMap['DefaultApi.apiAdminV1HumanGet']?.[localVarOperationServerIndex]?.url;
|
|
1371
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs,
|
|
1377
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['DefaultApi.apiAdminV1HumanGet']?.[localVarOperationServerIndex]?.url;
|
|
1378
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1372
1379
|
},
|
|
1373
1380
|
/**
|
|
1374
1381
|
*
|
|
@@ -1380,8 +1387,8 @@ export const DefaultApiFp = function (configuration) {
|
|
|
1380
1387
|
async apiAdminV1HumanPost(human, options) {
|
|
1381
1388
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiAdminV1HumanPost(human, options);
|
|
1382
1389
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1383
|
-
const localVarOperationServerBasePath = operationServerMap['DefaultApi.apiAdminV1HumanPost']?.[localVarOperationServerIndex]?.url;
|
|
1384
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs,
|
|
1390
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['DefaultApi.apiAdminV1HumanPost']?.[localVarOperationServerIndex]?.url;
|
|
1391
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1385
1392
|
},
|
|
1386
1393
|
/**
|
|
1387
1394
|
*
|
|
@@ -1394,8 +1401,8 @@ export const DefaultApiFp = function (configuration) {
|
|
|
1394
1401
|
async apiAdminV1SessionsGet(limit, offset, options) {
|
|
1395
1402
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiAdminV1SessionsGet(limit, offset, options);
|
|
1396
1403
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1397
|
-
const localVarOperationServerBasePath = operationServerMap['DefaultApi.apiAdminV1SessionsGet']?.[localVarOperationServerIndex]?.url;
|
|
1398
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs,
|
|
1404
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['DefaultApi.apiAdminV1SessionsGet']?.[localVarOperationServerIndex]?.url;
|
|
1405
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1399
1406
|
},
|
|
1400
1407
|
/**
|
|
1401
1408
|
*
|
|
@@ -1407,8 +1414,8 @@ export const DefaultApiFp = function (configuration) {
|
|
|
1407
1414
|
async apiAdminV1SessionsIdGet(id, options) {
|
|
1408
1415
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiAdminV1SessionsIdGet(id, options);
|
|
1409
1416
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1410
|
-
const localVarOperationServerBasePath = operationServerMap['DefaultApi.apiAdminV1SessionsIdGet']?.[localVarOperationServerIndex]?.url;
|
|
1411
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs,
|
|
1417
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['DefaultApi.apiAdminV1SessionsIdGet']?.[localVarOperationServerIndex]?.url;
|
|
1418
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1412
1419
|
},
|
|
1413
1420
|
/**
|
|
1414
1421
|
*
|
|
@@ -1422,8 +1429,8 @@ export const DefaultApiFp = function (configuration) {
|
|
|
1422
1429
|
async apiAdminV1SessionsIdHistoryGet(id, limit, offset, options) {
|
|
1423
1430
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiAdminV1SessionsIdHistoryGet(id, limit, offset, options);
|
|
1424
1431
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1425
|
-
const localVarOperationServerBasePath = operationServerMap['DefaultApi.apiAdminV1SessionsIdHistoryGet']?.[localVarOperationServerIndex]?.url;
|
|
1426
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs,
|
|
1432
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['DefaultApi.apiAdminV1SessionsIdHistoryGet']?.[localVarOperationServerIndex]?.url;
|
|
1433
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1427
1434
|
},
|
|
1428
1435
|
/**
|
|
1429
1436
|
*
|
|
@@ -1435,8 +1442,8 @@ export const DefaultApiFp = function (configuration) {
|
|
|
1435
1442
|
async apiAdminV1SessionsIdSkillsGet(id, options) {
|
|
1436
1443
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiAdminV1SessionsIdSkillsGet(id, options);
|
|
1437
1444
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1438
|
-
const localVarOperationServerBasePath = operationServerMap['DefaultApi.apiAdminV1SessionsIdSkillsGet']?.[localVarOperationServerIndex]?.url;
|
|
1439
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs,
|
|
1445
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['DefaultApi.apiAdminV1SessionsIdSkillsGet']?.[localVarOperationServerIndex]?.url;
|
|
1446
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1440
1447
|
},
|
|
1441
1448
|
/**
|
|
1442
1449
|
*
|
|
@@ -1448,8 +1455,8 @@ export const DefaultApiFp = function (configuration) {
|
|
|
1448
1455
|
async apiAdminV1SessionsIdStatsGet(id, options) {
|
|
1449
1456
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiAdminV1SessionsIdStatsGet(id, options);
|
|
1450
1457
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1451
|
-
const localVarOperationServerBasePath = operationServerMap['DefaultApi.apiAdminV1SessionsIdStatsGet']?.[localVarOperationServerIndex]?.url;
|
|
1452
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs,
|
|
1458
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['DefaultApi.apiAdminV1SessionsIdStatsGet']?.[localVarOperationServerIndex]?.url;
|
|
1459
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1453
1460
|
},
|
|
1454
1461
|
/**
|
|
1455
1462
|
*
|
|
@@ -1460,8 +1467,8 @@ export const DefaultApiFp = function (configuration) {
|
|
|
1460
1467
|
async apiAdminV1SkillsCommandsGet(options) {
|
|
1461
1468
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiAdminV1SkillsCommandsGet(options);
|
|
1462
1469
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1463
|
-
const localVarOperationServerBasePath = operationServerMap['DefaultApi.apiAdminV1SkillsCommandsGet']?.[localVarOperationServerIndex]?.url;
|
|
1464
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs,
|
|
1470
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['DefaultApi.apiAdminV1SkillsCommandsGet']?.[localVarOperationServerIndex]?.url;
|
|
1471
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1465
1472
|
},
|
|
1466
1473
|
/**
|
|
1467
1474
|
*
|
|
@@ -1474,8 +1481,8 @@ export const DefaultApiFp = function (configuration) {
|
|
|
1474
1481
|
async apiAdminV1SkillsGet(limit, offset, options) {
|
|
1475
1482
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiAdminV1SkillsGet(limit, offset, options);
|
|
1476
1483
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1477
|
-
const localVarOperationServerBasePath = operationServerMap['DefaultApi.apiAdminV1SkillsGet']?.[localVarOperationServerIndex]?.url;
|
|
1478
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs,
|
|
1484
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['DefaultApi.apiAdminV1SkillsGet']?.[localVarOperationServerIndex]?.url;
|
|
1485
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1479
1486
|
},
|
|
1480
1487
|
/**
|
|
1481
1488
|
*
|
|
@@ -1487,8 +1494,8 @@ export const DefaultApiFp = function (configuration) {
|
|
|
1487
1494
|
async apiAdminV1SkillsNameDelete(name, options) {
|
|
1488
1495
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiAdminV1SkillsNameDelete(name, options);
|
|
1489
1496
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1490
|
-
const localVarOperationServerBasePath = operationServerMap['DefaultApi.apiAdminV1SkillsNameDelete']?.[localVarOperationServerIndex]?.url;
|
|
1491
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs,
|
|
1497
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['DefaultApi.apiAdminV1SkillsNameDelete']?.[localVarOperationServerIndex]?.url;
|
|
1498
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1492
1499
|
},
|
|
1493
1500
|
/**
|
|
1494
1501
|
*
|
|
@@ -1500,8 +1507,8 @@ export const DefaultApiFp = function (configuration) {
|
|
|
1500
1507
|
async apiAdminV1SkillsNameGet(name, options) {
|
|
1501
1508
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiAdminV1SkillsNameGet(name, options);
|
|
1502
1509
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1503
|
-
const localVarOperationServerBasePath = operationServerMap['DefaultApi.apiAdminV1SkillsNameGet']?.[localVarOperationServerIndex]?.url;
|
|
1504
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs,
|
|
1510
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['DefaultApi.apiAdminV1SkillsNameGet']?.[localVarOperationServerIndex]?.url;
|
|
1511
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1505
1512
|
},
|
|
1506
1513
|
/**
|
|
1507
1514
|
*
|
|
@@ -1513,8 +1520,8 @@ export const DefaultApiFp = function (configuration) {
|
|
|
1513
1520
|
async apiAdminV1SubagentsGet(session, options) {
|
|
1514
1521
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiAdminV1SubagentsGet(session, options);
|
|
1515
1522
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1516
|
-
const localVarOperationServerBasePath = operationServerMap['DefaultApi.apiAdminV1SubagentsGet']?.[localVarOperationServerIndex]?.url;
|
|
1517
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs,
|
|
1523
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['DefaultApi.apiAdminV1SubagentsGet']?.[localVarOperationServerIndex]?.url;
|
|
1524
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1518
1525
|
},
|
|
1519
1526
|
/**
|
|
1520
1527
|
*
|
|
@@ -1526,8 +1533,8 @@ export const DefaultApiFp = function (configuration) {
|
|
|
1526
1533
|
async apiAdminV1SubagentsIdDelete(id, options) {
|
|
1527
1534
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiAdminV1SubagentsIdDelete(id, options);
|
|
1528
1535
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1529
|
-
const localVarOperationServerBasePath = operationServerMap['DefaultApi.apiAdminV1SubagentsIdDelete']?.[localVarOperationServerIndex]?.url;
|
|
1530
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs,
|
|
1536
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['DefaultApi.apiAdminV1SubagentsIdDelete']?.[localVarOperationServerIndex]?.url;
|
|
1537
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1531
1538
|
},
|
|
1532
1539
|
/**
|
|
1533
1540
|
*
|
|
@@ -1539,8 +1546,8 @@ export const DefaultApiFp = function (configuration) {
|
|
|
1539
1546
|
async apiAdminV1SubagentsIdGet(id, options) {
|
|
1540
1547
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiAdminV1SubagentsIdGet(id, options);
|
|
1541
1548
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1542
|
-
const localVarOperationServerBasePath = operationServerMap['DefaultApi.apiAdminV1SubagentsIdGet']?.[localVarOperationServerIndex]?.url;
|
|
1543
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs,
|
|
1549
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['DefaultApi.apiAdminV1SubagentsIdGet']?.[localVarOperationServerIndex]?.url;
|
|
1550
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1544
1551
|
},
|
|
1545
1552
|
/**
|
|
1546
1553
|
*
|
|
@@ -1552,8 +1559,8 @@ export const DefaultApiFp = function (configuration) {
|
|
|
1552
1559
|
async apiAdminV1SubagentsIdTranscriptGet(id, options) {
|
|
1553
1560
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiAdminV1SubagentsIdTranscriptGet(id, options);
|
|
1554
1561
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1555
|
-
const localVarOperationServerBasePath = operationServerMap['DefaultApi.apiAdminV1SubagentsIdTranscriptGet']?.[localVarOperationServerIndex]?.url;
|
|
1556
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs,
|
|
1562
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['DefaultApi.apiAdminV1SubagentsIdTranscriptGet']?.[localVarOperationServerIndex]?.url;
|
|
1563
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1557
1564
|
},
|
|
1558
1565
|
/**
|
|
1559
1566
|
*
|
|
@@ -1566,8 +1573,8 @@ export const DefaultApiFp = function (configuration) {
|
|
|
1566
1573
|
async apiAdminV1TasksGet(limit, offset, options) {
|
|
1567
1574
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiAdminV1TasksGet(limit, offset, options);
|
|
1568
1575
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1569
|
-
const localVarOperationServerBasePath = operationServerMap['DefaultApi.apiAdminV1TasksGet']?.[localVarOperationServerIndex]?.url;
|
|
1570
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs,
|
|
1576
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['DefaultApi.apiAdminV1TasksGet']?.[localVarOperationServerIndex]?.url;
|
|
1577
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1571
1578
|
},
|
|
1572
1579
|
/**
|
|
1573
1580
|
*
|
|
@@ -1579,8 +1586,8 @@ export const DefaultApiFp = function (configuration) {
|
|
|
1579
1586
|
async apiAdminV1TasksIdGet(id, options) {
|
|
1580
1587
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiAdminV1TasksIdGet(id, options);
|
|
1581
1588
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1582
|
-
const localVarOperationServerBasePath = operationServerMap['DefaultApi.apiAdminV1TasksIdGet']?.[localVarOperationServerIndex]?.url;
|
|
1583
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs,
|
|
1589
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['DefaultApi.apiAdminV1TasksIdGet']?.[localVarOperationServerIndex]?.url;
|
|
1590
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1584
1591
|
},
|
|
1585
1592
|
/**
|
|
1586
1593
|
*
|
|
@@ -1592,8 +1599,8 @@ export const DefaultApiFp = function (configuration) {
|
|
|
1592
1599
|
async apiV1FilesDelete(deleteFilesRequest, options) {
|
|
1593
1600
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FilesDelete(deleteFilesRequest, options);
|
|
1594
1601
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1595
|
-
const localVarOperationServerBasePath = operationServerMap['DefaultApi.apiV1FilesDelete']?.[localVarOperationServerIndex]?.url;
|
|
1596
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs,
|
|
1602
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['DefaultApi.apiV1FilesDelete']?.[localVarOperationServerIndex]?.url;
|
|
1603
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1597
1604
|
},
|
|
1598
1605
|
/**
|
|
1599
1606
|
*
|
|
@@ -1607,8 +1614,8 @@ export const DefaultApiFp = function (configuration) {
|
|
|
1607
1614
|
async apiV1FilesFilepathGet(filepath, view, zip, options) {
|
|
1608
1615
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FilesFilepathGet(filepath, view, zip, options);
|
|
1609
1616
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1610
|
-
const localVarOperationServerBasePath = operationServerMap['DefaultApi.apiV1FilesFilepathGet']?.[localVarOperationServerIndex]?.url;
|
|
1611
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs,
|
|
1617
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['DefaultApi.apiV1FilesFilepathGet']?.[localVarOperationServerIndex]?.url;
|
|
1618
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1612
1619
|
},
|
|
1613
1620
|
/**
|
|
1614
1621
|
*
|
|
@@ -1620,8 +1627,8 @@ export const DefaultApiFp = function (configuration) {
|
|
|
1620
1627
|
async apiV1FilesGet(path, options) {
|
|
1621
1628
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FilesGet(path, options);
|
|
1622
1629
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1623
|
-
const localVarOperationServerBasePath = operationServerMap['DefaultApi.apiV1FilesGet']?.[localVarOperationServerIndex]?.url;
|
|
1624
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs,
|
|
1630
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['DefaultApi.apiV1FilesGet']?.[localVarOperationServerIndex]?.url;
|
|
1631
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1625
1632
|
},
|
|
1626
1633
|
/**
|
|
1627
1634
|
*
|
|
@@ -1633,8 +1640,8 @@ export const DefaultApiFp = function (configuration) {
|
|
|
1633
1640
|
async apiV1FilesUploadPost(file, options) {
|
|
1634
1641
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1FilesUploadPost(file, options);
|
|
1635
1642
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1636
|
-
const localVarOperationServerBasePath = operationServerMap['DefaultApi.apiV1FilesUploadPost']?.[localVarOperationServerIndex]?.url;
|
|
1637
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs,
|
|
1643
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['DefaultApi.apiV1FilesUploadPost']?.[localVarOperationServerIndex]?.url;
|
|
1644
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1638
1645
|
},
|
|
1639
1646
|
/**
|
|
1640
1647
|
*
|
|
@@ -1646,8 +1653,8 @@ export const DefaultApiFp = function (configuration) {
|
|
|
1646
1653
|
async apiV1InteractionPost(apiV1InteractionPostRequest, options) {
|
|
1647
1654
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1InteractionPost(apiV1InteractionPostRequest, options);
|
|
1648
1655
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1649
|
-
const localVarOperationServerBasePath = operationServerMap['DefaultApi.apiV1InteractionPost']?.[localVarOperationServerIndex]?.url;
|
|
1650
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs,
|
|
1656
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['DefaultApi.apiV1InteractionPost']?.[localVarOperationServerIndex]?.url;
|
|
1657
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1651
1658
|
},
|
|
1652
1659
|
/**
|
|
1653
1660
|
*
|
|
@@ -1659,8 +1666,8 @@ export const DefaultApiFp = function (configuration) {
|
|
|
1659
1666
|
async apiV1PromptPost(apiV1PromptPostRequest, options) {
|
|
1660
1667
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1PromptPost(apiV1PromptPostRequest, options);
|
|
1661
1668
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1662
|
-
const localVarOperationServerBasePath = operationServerMap['DefaultApi.apiV1PromptPost']?.[localVarOperationServerIndex]?.url;
|
|
1663
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs,
|
|
1669
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['DefaultApi.apiV1PromptPost']?.[localVarOperationServerIndex]?.url;
|
|
1670
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1664
1671
|
},
|
|
1665
1672
|
/**
|
|
1666
1673
|
*
|
|
@@ -1673,8 +1680,8 @@ export const DefaultApiFp = function (configuration) {
|
|
|
1673
1680
|
async apiV1PromptStreamGet(prompt, model, options) {
|
|
1674
1681
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1PromptStreamGet(prompt, model, options);
|
|
1675
1682
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1676
|
-
const localVarOperationServerBasePath = operationServerMap['DefaultApi.apiV1PromptStreamGet']?.[localVarOperationServerIndex]?.url;
|
|
1677
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs,
|
|
1683
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['DefaultApi.apiV1PromptStreamGet']?.[localVarOperationServerIndex]?.url;
|
|
1684
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1678
1685
|
},
|
|
1679
1686
|
/**
|
|
1680
1687
|
*
|
|
@@ -1686,8 +1693,8 @@ export const DefaultApiFp = function (configuration) {
|
|
|
1686
1693
|
async apiV1SubagentsIdGet(id, options) {
|
|
1687
1694
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SubagentsIdGet(id, options);
|
|
1688
1695
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1689
|
-
const localVarOperationServerBasePath = operationServerMap['DefaultApi.apiV1SubagentsIdGet']?.[localVarOperationServerIndex]?.url;
|
|
1690
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs,
|
|
1696
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['DefaultApi.apiV1SubagentsIdGet']?.[localVarOperationServerIndex]?.url;
|
|
1697
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1691
1698
|
},
|
|
1692
1699
|
/**
|
|
1693
1700
|
*
|
|
@@ -1699,8 +1706,8 @@ export const DefaultApiFp = function (configuration) {
|
|
|
1699
1706
|
async apiV1SubagentsIdTranscriptGet(id, options) {
|
|
1700
1707
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SubagentsIdTranscriptGet(id, options);
|
|
1701
1708
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1702
|
-
const localVarOperationServerBasePath = operationServerMap['DefaultApi.apiV1SubagentsIdTranscriptGet']?.[localVarOperationServerIndex]?.url;
|
|
1703
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs,
|
|
1709
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['DefaultApi.apiV1SubagentsIdTranscriptGet']?.[localVarOperationServerIndex]?.url;
|
|
1710
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1704
1711
|
},
|
|
1705
1712
|
/**
|
|
1706
1713
|
* Manually spawn a specialized sub-agent with a given role and goal. The sub-agent runs autonomously and its result can be polled via GET /api/v1/subagents/{id}. The orchestrator LLM can also spawn sub-agents automatically via the Researcher/Coder/Reviewer tools.
|
|
@@ -1712,8 +1719,8 @@ export const DefaultApiFp = function (configuration) {
|
|
|
1712
1719
|
async apiV1SubagentsPost(spawnSubAgentRequest, options) {
|
|
1713
1720
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SubagentsPost(spawnSubAgentRequest, options);
|
|
1714
1721
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1715
|
-
const localVarOperationServerBasePath = operationServerMap['DefaultApi.apiV1SubagentsPost']?.[localVarOperationServerIndex]?.url;
|
|
1716
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs,
|
|
1722
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['DefaultApi.apiV1SubagentsPost']?.[localVarOperationServerIndex]?.url;
|
|
1723
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1717
1724
|
},
|
|
1718
1725
|
/**
|
|
1719
1726
|
*
|
|
@@ -1724,8 +1731,8 @@ export const DefaultApiFp = function (configuration) {
|
|
|
1724
1731
|
async metricsGet(options) {
|
|
1725
1732
|
const localVarAxiosArgs = await localVarAxiosParamCreator.metricsGet(options);
|
|
1726
1733
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1727
|
-
const localVarOperationServerBasePath = operationServerMap['DefaultApi.metricsGet']?.[localVarOperationServerIndex]?.url;
|
|
1728
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs,
|
|
1734
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['DefaultApi.metricsGet']?.[localVarOperationServerIndex]?.url;
|
|
1735
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1729
1736
|
},
|
|
1730
1737
|
/**
|
|
1731
1738
|
* WebSocket endpoint for real-time interaction and background task notifications. When a background task completes, a message is sent in the following format: ```json { \"type\": \"task_complete\", \"task_id\": \"uuid\", \"task_name\": \"task name\", \"response\": \"result string\" } ```
|
|
@@ -1738,16 +1745,17 @@ export const DefaultApiFp = function (configuration) {
|
|
|
1738
1745
|
async wsGet(channel, device, options) {
|
|
1739
1746
|
const localVarAxiosArgs = await localVarAxiosParamCreator.wsGet(channel, device, options);
|
|
1740
1747
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1741
|
-
const localVarOperationServerBasePath = operationServerMap['DefaultApi.wsGet']?.[localVarOperationServerIndex]?.url;
|
|
1742
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs,
|
|
1748
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['DefaultApi.wsGet']?.[localVarOperationServerIndex]?.url;
|
|
1749
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1743
1750
|
},
|
|
1744
1751
|
};
|
|
1745
1752
|
};
|
|
1753
|
+
exports.DefaultApiFp = DefaultApiFp;
|
|
1746
1754
|
/**
|
|
1747
1755
|
* DefaultApi - factory interface
|
|
1748
1756
|
*/
|
|
1749
|
-
|
|
1750
|
-
const localVarFp = DefaultApiFp(configuration);
|
|
1757
|
+
const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
1758
|
+
const localVarFp = (0, exports.DefaultApiFp)(configuration);
|
|
1751
1759
|
return {
|
|
1752
1760
|
/**
|
|
1753
1761
|
*
|
|
@@ -2117,10 +2125,11 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2117
2125
|
},
|
|
2118
2126
|
};
|
|
2119
2127
|
};
|
|
2128
|
+
exports.DefaultApiFactory = DefaultApiFactory;
|
|
2120
2129
|
/**
|
|
2121
2130
|
* DefaultApi - object-oriented interface
|
|
2122
2131
|
*/
|
|
2123
|
-
|
|
2132
|
+
class DefaultApi extends base_1.BaseAPI {
|
|
2124
2133
|
/**
|
|
2125
2134
|
*
|
|
2126
2135
|
* @summary Get all factual memories
|
|
@@ -2130,7 +2139,7 @@ export class DefaultApi extends BaseAPI {
|
|
|
2130
2139
|
* @throws {RequiredError}
|
|
2131
2140
|
*/
|
|
2132
2141
|
apiAdminV1BrainFactsGet(limit, offset, options) {
|
|
2133
|
-
return DefaultApiFp(this.configuration).apiAdminV1BrainFactsGet(limit, offset, options).then((request) => request(this.axios, this.basePath));
|
|
2142
|
+
return (0, exports.DefaultApiFp)(this.configuration).apiAdminV1BrainFactsGet(limit, offset, options).then((request) => request(this.axios, this.basePath));
|
|
2134
2143
|
}
|
|
2135
2144
|
/**
|
|
2136
2145
|
*
|
|
@@ -2141,7 +2150,7 @@ export class DefaultApi extends BaseAPI {
|
|
|
2141
2150
|
* @throws {RequiredError}
|
|
2142
2151
|
*/
|
|
2143
2152
|
apiAdminV1BrainSummariesGet(limit, offset, options) {
|
|
2144
|
-
return DefaultApiFp(this.configuration).apiAdminV1BrainSummariesGet(limit, offset, options).then((request) => request(this.axios, this.basePath));
|
|
2153
|
+
return (0, exports.DefaultApiFp)(this.configuration).apiAdminV1BrainSummariesGet(limit, offset, options).then((request) => request(this.axios, this.basePath));
|
|
2145
2154
|
}
|
|
2146
2155
|
/**
|
|
2147
2156
|
*
|
|
@@ -2151,7 +2160,7 @@ export class DefaultApi extends BaseAPI {
|
|
|
2151
2160
|
* @throws {RequiredError}
|
|
2152
2161
|
*/
|
|
2153
2162
|
apiAdminV1BrainTopologyGet(sessionId, options) {
|
|
2154
|
-
return DefaultApiFp(this.configuration).apiAdminV1BrainTopologyGet(sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
2163
|
+
return (0, exports.DefaultApiFp)(this.configuration).apiAdminV1BrainTopologyGet(sessionId, options).then((request) => request(this.axios, this.basePath));
|
|
2155
2164
|
}
|
|
2156
2165
|
/**
|
|
2157
2166
|
*
|
|
@@ -2161,7 +2170,7 @@ export class DefaultApi extends BaseAPI {
|
|
|
2161
2170
|
* @throws {RequiredError}
|
|
2162
2171
|
*/
|
|
2163
2172
|
apiAdminV1ChannelsPost(apiAdminV1ChannelsPostRequest, options) {
|
|
2164
|
-
return DefaultApiFp(this.configuration).apiAdminV1ChannelsPost(apiAdminV1ChannelsPostRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2173
|
+
return (0, exports.DefaultApiFp)(this.configuration).apiAdminV1ChannelsPost(apiAdminV1ChannelsPostRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2165
2174
|
}
|
|
2166
2175
|
/**
|
|
2167
2176
|
*
|
|
@@ -2170,7 +2179,7 @@ export class DefaultApi extends BaseAPI {
|
|
|
2170
2179
|
* @throws {RequiredError}
|
|
2171
2180
|
*/
|
|
2172
2181
|
apiAdminV1ConfigGet(options) {
|
|
2173
|
-
return DefaultApiFp(this.configuration).apiAdminV1ConfigGet(options).then((request) => request(this.axios, this.basePath));
|
|
2182
|
+
return (0, exports.DefaultApiFp)(this.configuration).apiAdminV1ConfigGet(options).then((request) => request(this.axios, this.basePath));
|
|
2174
2183
|
}
|
|
2175
2184
|
/**
|
|
2176
2185
|
*
|
|
@@ -2180,7 +2189,7 @@ export class DefaultApi extends BaseAPI {
|
|
|
2180
2189
|
* @throws {RequiredError}
|
|
2181
2190
|
*/
|
|
2182
2191
|
apiAdminV1ConfigPost(config, options) {
|
|
2183
|
-
return DefaultApiFp(this.configuration).apiAdminV1ConfigPost(config, options).then((request) => request(this.axios, this.basePath));
|
|
2192
|
+
return (0, exports.DefaultApiFp)(this.configuration).apiAdminV1ConfigPost(config, options).then((request) => request(this.axios, this.basePath));
|
|
2184
2193
|
}
|
|
2185
2194
|
/**
|
|
2186
2195
|
*
|
|
@@ -2189,7 +2198,7 @@ export class DefaultApi extends BaseAPI {
|
|
|
2189
2198
|
* @throws {RequiredError}
|
|
2190
2199
|
*/
|
|
2191
2200
|
apiAdminV1HealthGet(options) {
|
|
2192
|
-
return DefaultApiFp(this.configuration).apiAdminV1HealthGet(options).then((request) => request(this.axios, this.basePath));
|
|
2201
|
+
return (0, exports.DefaultApiFp)(this.configuration).apiAdminV1HealthGet(options).then((request) => request(this.axios, this.basePath));
|
|
2193
2202
|
}
|
|
2194
2203
|
/**
|
|
2195
2204
|
*
|
|
@@ -2198,7 +2207,7 @@ export class DefaultApi extends BaseAPI {
|
|
|
2198
2207
|
* @throws {RequiredError}
|
|
2199
2208
|
*/
|
|
2200
2209
|
apiAdminV1HumanGet(options) {
|
|
2201
|
-
return DefaultApiFp(this.configuration).apiAdminV1HumanGet(options).then((request) => request(this.axios, this.basePath));
|
|
2210
|
+
return (0, exports.DefaultApiFp)(this.configuration).apiAdminV1HumanGet(options).then((request) => request(this.axios, this.basePath));
|
|
2202
2211
|
}
|
|
2203
2212
|
/**
|
|
2204
2213
|
*
|
|
@@ -2208,7 +2217,7 @@ export class DefaultApi extends BaseAPI {
|
|
|
2208
2217
|
* @throws {RequiredError}
|
|
2209
2218
|
*/
|
|
2210
2219
|
apiAdminV1HumanPost(human, options) {
|
|
2211
|
-
return DefaultApiFp(this.configuration).apiAdminV1HumanPost(human, options).then((request) => request(this.axios, this.basePath));
|
|
2220
|
+
return (0, exports.DefaultApiFp)(this.configuration).apiAdminV1HumanPost(human, options).then((request) => request(this.axios, this.basePath));
|
|
2212
2221
|
}
|
|
2213
2222
|
/**
|
|
2214
2223
|
*
|
|
@@ -2219,7 +2228,7 @@ export class DefaultApi extends BaseAPI {
|
|
|
2219
2228
|
* @throws {RequiredError}
|
|
2220
2229
|
*/
|
|
2221
2230
|
apiAdminV1SessionsGet(limit, offset, options) {
|
|
2222
|
-
return DefaultApiFp(this.configuration).apiAdminV1SessionsGet(limit, offset, options).then((request) => request(this.axios, this.basePath));
|
|
2231
|
+
return (0, exports.DefaultApiFp)(this.configuration).apiAdminV1SessionsGet(limit, offset, options).then((request) => request(this.axios, this.basePath));
|
|
2223
2232
|
}
|
|
2224
2233
|
/**
|
|
2225
2234
|
*
|
|
@@ -2229,7 +2238,7 @@ export class DefaultApi extends BaseAPI {
|
|
|
2229
2238
|
* @throws {RequiredError}
|
|
2230
2239
|
*/
|
|
2231
2240
|
apiAdminV1SessionsIdGet(id, options) {
|
|
2232
|
-
return DefaultApiFp(this.configuration).apiAdminV1SessionsIdGet(id, options).then((request) => request(this.axios, this.basePath));
|
|
2241
|
+
return (0, exports.DefaultApiFp)(this.configuration).apiAdminV1SessionsIdGet(id, options).then((request) => request(this.axios, this.basePath));
|
|
2233
2242
|
}
|
|
2234
2243
|
/**
|
|
2235
2244
|
*
|
|
@@ -2241,7 +2250,7 @@ export class DefaultApi extends BaseAPI {
|
|
|
2241
2250
|
* @throws {RequiredError}
|
|
2242
2251
|
*/
|
|
2243
2252
|
apiAdminV1SessionsIdHistoryGet(id, limit, offset, options) {
|
|
2244
|
-
return DefaultApiFp(this.configuration).apiAdminV1SessionsIdHistoryGet(id, limit, offset, options).then((request) => request(this.axios, this.basePath));
|
|
2253
|
+
return (0, exports.DefaultApiFp)(this.configuration).apiAdminV1SessionsIdHistoryGet(id, limit, offset, options).then((request) => request(this.axios, this.basePath));
|
|
2245
2254
|
}
|
|
2246
2255
|
/**
|
|
2247
2256
|
*
|
|
@@ -2251,7 +2260,7 @@ export class DefaultApi extends BaseAPI {
|
|
|
2251
2260
|
* @throws {RequiredError}
|
|
2252
2261
|
*/
|
|
2253
2262
|
apiAdminV1SessionsIdSkillsGet(id, options) {
|
|
2254
|
-
return DefaultApiFp(this.configuration).apiAdminV1SessionsIdSkillsGet(id, options).then((request) => request(this.axios, this.basePath));
|
|
2263
|
+
return (0, exports.DefaultApiFp)(this.configuration).apiAdminV1SessionsIdSkillsGet(id, options).then((request) => request(this.axios, this.basePath));
|
|
2255
2264
|
}
|
|
2256
2265
|
/**
|
|
2257
2266
|
*
|
|
@@ -2261,7 +2270,7 @@ export class DefaultApi extends BaseAPI {
|
|
|
2261
2270
|
* @throws {RequiredError}
|
|
2262
2271
|
*/
|
|
2263
2272
|
apiAdminV1SessionsIdStatsGet(id, options) {
|
|
2264
|
-
return DefaultApiFp(this.configuration).apiAdminV1SessionsIdStatsGet(id, options).then((request) => request(this.axios, this.basePath));
|
|
2273
|
+
return (0, exports.DefaultApiFp)(this.configuration).apiAdminV1SessionsIdStatsGet(id, options).then((request) => request(this.axios, this.basePath));
|
|
2265
2274
|
}
|
|
2266
2275
|
/**
|
|
2267
2276
|
*
|
|
@@ -2270,7 +2279,7 @@ export class DefaultApi extends BaseAPI {
|
|
|
2270
2279
|
* @throws {RequiredError}
|
|
2271
2280
|
*/
|
|
2272
2281
|
apiAdminV1SkillsCommandsGet(options) {
|
|
2273
|
-
return DefaultApiFp(this.configuration).apiAdminV1SkillsCommandsGet(options).then((request) => request(this.axios, this.basePath));
|
|
2282
|
+
return (0, exports.DefaultApiFp)(this.configuration).apiAdminV1SkillsCommandsGet(options).then((request) => request(this.axios, this.basePath));
|
|
2274
2283
|
}
|
|
2275
2284
|
/**
|
|
2276
2285
|
*
|
|
@@ -2281,7 +2290,7 @@ export class DefaultApi extends BaseAPI {
|
|
|
2281
2290
|
* @throws {RequiredError}
|
|
2282
2291
|
*/
|
|
2283
2292
|
apiAdminV1SkillsGet(limit, offset, options) {
|
|
2284
|
-
return DefaultApiFp(this.configuration).apiAdminV1SkillsGet(limit, offset, options).then((request) => request(this.axios, this.basePath));
|
|
2293
|
+
return (0, exports.DefaultApiFp)(this.configuration).apiAdminV1SkillsGet(limit, offset, options).then((request) => request(this.axios, this.basePath));
|
|
2285
2294
|
}
|
|
2286
2295
|
/**
|
|
2287
2296
|
*
|
|
@@ -2291,7 +2300,7 @@ export class DefaultApi extends BaseAPI {
|
|
|
2291
2300
|
* @throws {RequiredError}
|
|
2292
2301
|
*/
|
|
2293
2302
|
apiAdminV1SkillsNameDelete(name, options) {
|
|
2294
|
-
return DefaultApiFp(this.configuration).apiAdminV1SkillsNameDelete(name, options).then((request) => request(this.axios, this.basePath));
|
|
2303
|
+
return (0, exports.DefaultApiFp)(this.configuration).apiAdminV1SkillsNameDelete(name, options).then((request) => request(this.axios, this.basePath));
|
|
2295
2304
|
}
|
|
2296
2305
|
/**
|
|
2297
2306
|
*
|
|
@@ -2301,7 +2310,7 @@ export class DefaultApi extends BaseAPI {
|
|
|
2301
2310
|
* @throws {RequiredError}
|
|
2302
2311
|
*/
|
|
2303
2312
|
apiAdminV1SkillsNameGet(name, options) {
|
|
2304
|
-
return DefaultApiFp(this.configuration).apiAdminV1SkillsNameGet(name, options).then((request) => request(this.axios, this.basePath));
|
|
2313
|
+
return (0, exports.DefaultApiFp)(this.configuration).apiAdminV1SkillsNameGet(name, options).then((request) => request(this.axios, this.basePath));
|
|
2305
2314
|
}
|
|
2306
2315
|
/**
|
|
2307
2316
|
*
|
|
@@ -2311,7 +2320,7 @@ export class DefaultApi extends BaseAPI {
|
|
|
2311
2320
|
* @throws {RequiredError}
|
|
2312
2321
|
*/
|
|
2313
2322
|
apiAdminV1SubagentsGet(session, options) {
|
|
2314
|
-
return DefaultApiFp(this.configuration).apiAdminV1SubagentsGet(session, options).then((request) => request(this.axios, this.basePath));
|
|
2323
|
+
return (0, exports.DefaultApiFp)(this.configuration).apiAdminV1SubagentsGet(session, options).then((request) => request(this.axios, this.basePath));
|
|
2315
2324
|
}
|
|
2316
2325
|
/**
|
|
2317
2326
|
*
|
|
@@ -2321,7 +2330,7 @@ export class DefaultApi extends BaseAPI {
|
|
|
2321
2330
|
* @throws {RequiredError}
|
|
2322
2331
|
*/
|
|
2323
2332
|
apiAdminV1SubagentsIdDelete(id, options) {
|
|
2324
|
-
return DefaultApiFp(this.configuration).apiAdminV1SubagentsIdDelete(id, options).then((request) => request(this.axios, this.basePath));
|
|
2333
|
+
return (0, exports.DefaultApiFp)(this.configuration).apiAdminV1SubagentsIdDelete(id, options).then((request) => request(this.axios, this.basePath));
|
|
2325
2334
|
}
|
|
2326
2335
|
/**
|
|
2327
2336
|
*
|
|
@@ -2331,7 +2340,7 @@ export class DefaultApi extends BaseAPI {
|
|
|
2331
2340
|
* @throws {RequiredError}
|
|
2332
2341
|
*/
|
|
2333
2342
|
apiAdminV1SubagentsIdGet(id, options) {
|
|
2334
|
-
return DefaultApiFp(this.configuration).apiAdminV1SubagentsIdGet(id, options).then((request) => request(this.axios, this.basePath));
|
|
2343
|
+
return (0, exports.DefaultApiFp)(this.configuration).apiAdminV1SubagentsIdGet(id, options).then((request) => request(this.axios, this.basePath));
|
|
2335
2344
|
}
|
|
2336
2345
|
/**
|
|
2337
2346
|
*
|
|
@@ -2341,7 +2350,7 @@ export class DefaultApi extends BaseAPI {
|
|
|
2341
2350
|
* @throws {RequiredError}
|
|
2342
2351
|
*/
|
|
2343
2352
|
apiAdminV1SubagentsIdTranscriptGet(id, options) {
|
|
2344
|
-
return DefaultApiFp(this.configuration).apiAdminV1SubagentsIdTranscriptGet(id, options).then((request) => request(this.axios, this.basePath));
|
|
2353
|
+
return (0, exports.DefaultApiFp)(this.configuration).apiAdminV1SubagentsIdTranscriptGet(id, options).then((request) => request(this.axios, this.basePath));
|
|
2345
2354
|
}
|
|
2346
2355
|
/**
|
|
2347
2356
|
*
|
|
@@ -2352,7 +2361,7 @@ export class DefaultApi extends BaseAPI {
|
|
|
2352
2361
|
* @throws {RequiredError}
|
|
2353
2362
|
*/
|
|
2354
2363
|
apiAdminV1TasksGet(limit, offset, options) {
|
|
2355
|
-
return DefaultApiFp(this.configuration).apiAdminV1TasksGet(limit, offset, options).then((request) => request(this.axios, this.basePath));
|
|
2364
|
+
return (0, exports.DefaultApiFp)(this.configuration).apiAdminV1TasksGet(limit, offset, options).then((request) => request(this.axios, this.basePath));
|
|
2356
2365
|
}
|
|
2357
2366
|
/**
|
|
2358
2367
|
*
|
|
@@ -2362,7 +2371,7 @@ export class DefaultApi extends BaseAPI {
|
|
|
2362
2371
|
* @throws {RequiredError}
|
|
2363
2372
|
*/
|
|
2364
2373
|
apiAdminV1TasksIdGet(id, options) {
|
|
2365
|
-
return DefaultApiFp(this.configuration).apiAdminV1TasksIdGet(id, options).then((request) => request(this.axios, this.basePath));
|
|
2374
|
+
return (0, exports.DefaultApiFp)(this.configuration).apiAdminV1TasksIdGet(id, options).then((request) => request(this.axios, this.basePath));
|
|
2366
2375
|
}
|
|
2367
2376
|
/**
|
|
2368
2377
|
*
|
|
@@ -2372,7 +2381,7 @@ export class DefaultApi extends BaseAPI {
|
|
|
2372
2381
|
* @throws {RequiredError}
|
|
2373
2382
|
*/
|
|
2374
2383
|
apiV1FilesDelete(deleteFilesRequest, options) {
|
|
2375
|
-
return DefaultApiFp(this.configuration).apiV1FilesDelete(deleteFilesRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2384
|
+
return (0, exports.DefaultApiFp)(this.configuration).apiV1FilesDelete(deleteFilesRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2376
2385
|
}
|
|
2377
2386
|
/**
|
|
2378
2387
|
*
|
|
@@ -2384,7 +2393,7 @@ export class DefaultApi extends BaseAPI {
|
|
|
2384
2393
|
* @throws {RequiredError}
|
|
2385
2394
|
*/
|
|
2386
2395
|
apiV1FilesFilepathGet(filepath, view, zip, options) {
|
|
2387
|
-
return DefaultApiFp(this.configuration).apiV1FilesFilepathGet(filepath, view, zip, options).then((request) => request(this.axios, this.basePath));
|
|
2396
|
+
return (0, exports.DefaultApiFp)(this.configuration).apiV1FilesFilepathGet(filepath, view, zip, options).then((request) => request(this.axios, this.basePath));
|
|
2388
2397
|
}
|
|
2389
2398
|
/**
|
|
2390
2399
|
*
|
|
@@ -2394,7 +2403,7 @@ export class DefaultApi extends BaseAPI {
|
|
|
2394
2403
|
* @throws {RequiredError}
|
|
2395
2404
|
*/
|
|
2396
2405
|
apiV1FilesGet(path, options) {
|
|
2397
|
-
return DefaultApiFp(this.configuration).apiV1FilesGet(path, options).then((request) => request(this.axios, this.basePath));
|
|
2406
|
+
return (0, exports.DefaultApiFp)(this.configuration).apiV1FilesGet(path, options).then((request) => request(this.axios, this.basePath));
|
|
2398
2407
|
}
|
|
2399
2408
|
/**
|
|
2400
2409
|
*
|
|
@@ -2404,7 +2413,7 @@ export class DefaultApi extends BaseAPI {
|
|
|
2404
2413
|
* @throws {RequiredError}
|
|
2405
2414
|
*/
|
|
2406
2415
|
apiV1FilesUploadPost(file, options) {
|
|
2407
|
-
return DefaultApiFp(this.configuration).apiV1FilesUploadPost(file, options).then((request) => request(this.axios, this.basePath));
|
|
2416
|
+
return (0, exports.DefaultApiFp)(this.configuration).apiV1FilesUploadPost(file, options).then((request) => request(this.axios, this.basePath));
|
|
2408
2417
|
}
|
|
2409
2418
|
/**
|
|
2410
2419
|
*
|
|
@@ -2414,7 +2423,7 @@ export class DefaultApi extends BaseAPI {
|
|
|
2414
2423
|
* @throws {RequiredError}
|
|
2415
2424
|
*/
|
|
2416
2425
|
apiV1InteractionPost(apiV1InteractionPostRequest, options) {
|
|
2417
|
-
return DefaultApiFp(this.configuration).apiV1InteractionPost(apiV1InteractionPostRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2426
|
+
return (0, exports.DefaultApiFp)(this.configuration).apiV1InteractionPost(apiV1InteractionPostRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2418
2427
|
}
|
|
2419
2428
|
/**
|
|
2420
2429
|
*
|
|
@@ -2424,7 +2433,7 @@ export class DefaultApi extends BaseAPI {
|
|
|
2424
2433
|
* @throws {RequiredError}
|
|
2425
2434
|
*/
|
|
2426
2435
|
apiV1PromptPost(apiV1PromptPostRequest, options) {
|
|
2427
|
-
return DefaultApiFp(this.configuration).apiV1PromptPost(apiV1PromptPostRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2436
|
+
return (0, exports.DefaultApiFp)(this.configuration).apiV1PromptPost(apiV1PromptPostRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2428
2437
|
}
|
|
2429
2438
|
/**
|
|
2430
2439
|
*
|
|
@@ -2435,7 +2444,7 @@ export class DefaultApi extends BaseAPI {
|
|
|
2435
2444
|
* @throws {RequiredError}
|
|
2436
2445
|
*/
|
|
2437
2446
|
apiV1PromptStreamGet(prompt, model, options) {
|
|
2438
|
-
return DefaultApiFp(this.configuration).apiV1PromptStreamGet(prompt, model, options).then((request) => request(this.axios, this.basePath));
|
|
2447
|
+
return (0, exports.DefaultApiFp)(this.configuration).apiV1PromptStreamGet(prompt, model, options).then((request) => request(this.axios, this.basePath));
|
|
2439
2448
|
}
|
|
2440
2449
|
/**
|
|
2441
2450
|
*
|
|
@@ -2445,7 +2454,7 @@ export class DefaultApi extends BaseAPI {
|
|
|
2445
2454
|
* @throws {RequiredError}
|
|
2446
2455
|
*/
|
|
2447
2456
|
apiV1SubagentsIdGet(id, options) {
|
|
2448
|
-
return DefaultApiFp(this.configuration).apiV1SubagentsIdGet(id, options).then((request) => request(this.axios, this.basePath));
|
|
2457
|
+
return (0, exports.DefaultApiFp)(this.configuration).apiV1SubagentsIdGet(id, options).then((request) => request(this.axios, this.basePath));
|
|
2449
2458
|
}
|
|
2450
2459
|
/**
|
|
2451
2460
|
*
|
|
@@ -2455,7 +2464,7 @@ export class DefaultApi extends BaseAPI {
|
|
|
2455
2464
|
* @throws {RequiredError}
|
|
2456
2465
|
*/
|
|
2457
2466
|
apiV1SubagentsIdTranscriptGet(id, options) {
|
|
2458
|
-
return DefaultApiFp(this.configuration).apiV1SubagentsIdTranscriptGet(id, options).then((request) => request(this.axios, this.basePath));
|
|
2467
|
+
return (0, exports.DefaultApiFp)(this.configuration).apiV1SubagentsIdTranscriptGet(id, options).then((request) => request(this.axios, this.basePath));
|
|
2459
2468
|
}
|
|
2460
2469
|
/**
|
|
2461
2470
|
* Manually spawn a specialized sub-agent with a given role and goal. The sub-agent runs autonomously and its result can be polled via GET /api/v1/subagents/{id}. The orchestrator LLM can also spawn sub-agents automatically via the Researcher/Coder/Reviewer tools.
|
|
@@ -2465,7 +2474,7 @@ export class DefaultApi extends BaseAPI {
|
|
|
2465
2474
|
* @throws {RequiredError}
|
|
2466
2475
|
*/
|
|
2467
2476
|
apiV1SubagentsPost(spawnSubAgentRequest, options) {
|
|
2468
|
-
return DefaultApiFp(this.configuration).apiV1SubagentsPost(spawnSubAgentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2477
|
+
return (0, exports.DefaultApiFp)(this.configuration).apiV1SubagentsPost(spawnSubAgentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2469
2478
|
}
|
|
2470
2479
|
/**
|
|
2471
2480
|
*
|
|
@@ -2474,7 +2483,7 @@ export class DefaultApi extends BaseAPI {
|
|
|
2474
2483
|
* @throws {RequiredError}
|
|
2475
2484
|
*/
|
|
2476
2485
|
metricsGet(options) {
|
|
2477
|
-
return DefaultApiFp(this.configuration).metricsGet(options).then((request) => request(this.axios, this.basePath));
|
|
2486
|
+
return (0, exports.DefaultApiFp)(this.configuration).metricsGet(options).then((request) => request(this.axios, this.basePath));
|
|
2478
2487
|
}
|
|
2479
2488
|
/**
|
|
2480
2489
|
* WebSocket endpoint for real-time interaction and background task notifications. When a background task completes, a message is sent in the following format: ```json { \"type\": \"task_complete\", \"task_id\": \"uuid\", \"task_name\": \"task name\", \"response\": \"result string\" } ```
|
|
@@ -2485,6 +2494,7 @@ export class DefaultApi extends BaseAPI {
|
|
|
2485
2494
|
* @throws {RequiredError}
|
|
2486
2495
|
*/
|
|
2487
2496
|
wsGet(channel, device, options) {
|
|
2488
|
-
return DefaultApiFp(this.configuration).wsGet(channel, device, options).then((request) => request(this.axios, this.basePath));
|
|
2497
|
+
return (0, exports.DefaultApiFp)(this.configuration).wsGet(channel, device, options).then((request) => request(this.axios, this.basePath));
|
|
2489
2498
|
}
|
|
2490
2499
|
}
|
|
2500
|
+
exports.DefaultApi = DefaultApi;
|