@nestbox-ai/admin 1.0.39 → 1.0.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +77 -0
- package/.openapi-generator/VERSION +1 -1
- package/README.md +145 -2
- package/api.ts +331 -488
- package/common.ts +4 -4
- package/dist/api.d.ts +155 -227
- package/dist/api.js +329 -484
- package/dist/esm/api.d.ts +155 -227
- package/dist/esm/api.js +324 -479
- package/docs/AddProjectMemberData.md +22 -0
- package/docs/AddProjectMemberDto.md +26 -0
- package/docs/AddProjectMemberResponseDTO.md +20 -0
- package/docs/AllProjectResponse.md +30 -0
- package/docs/AllProjectResponseModel.md +22 -0
- package/docs/AuthApi.md +405 -0
- package/docs/BadRequestExceptionResponse.md +22 -0
- package/docs/BooleanResponseDTO.md +20 -0
- package/docs/ChunkFileRequestDTO.md +24 -0
- package/docs/CreateCollectionRequestDTO.md +22 -0
- package/docs/CreateDocumentRequestDTO.md +24 -0
- package/docs/CreateMachineAgentDto.md +42 -0
- package/docs/CreatePermissionDto.md +26 -0
- package/docs/CreateProjectDTO.md +22 -0
- package/docs/CreateProjectResponseDTO.md +20 -0
- package/docs/CreateProjectRoleResponseDto.md +20 -0
- package/docs/CreateResourceDto.md +22 -0
- package/docs/CreateRoleDTO.md +26 -0
- package/docs/CreateRoleDto.md +24 -0
- package/docs/CreateWebhookDto.md +22 -0
- package/docs/DeleteProjectDto.md +20 -0
- package/docs/DeleteProjectResponseDTO.md +20 -0
- package/docs/DeleteProjectRoleByIdResponseDto.md +20 -0
- package/docs/DocumentsApi.md +781 -0
- package/docs/EvaluationTestApi.md +299 -0
- package/docs/FatalErrorExceptionResponse.md +20 -0
- package/docs/ForbiddenExceptionResponse.md +20 -0
- package/docs/ForgetPasswordRequestDTO.md +20 -0
- package/docs/ForgetPasswordResponseDTO.md +20 -0
- package/docs/ForgetPasswordVerificationRequestDTO.md +20 -0
- package/docs/ForgetPasswordVerificationResponseDTO.md +20 -0
- package/docs/GetAllProjectDto.md +22 -0
- package/docs/GetAllProjectMemberResponse.md +22 -0
- package/docs/GetAllProjectMemberResponseDto.md +20 -0
- package/docs/GetAllProjectRoleResponseDto.md +20 -0
- package/docs/GetAllProjectsResponseDTO.md +20 -0
- package/docs/GetAllRoleDTO.md +32 -0
- package/docs/GetProjectByIDResponseDTO.md +20 -0
- package/docs/GetProjectRoleByIdResponseDto.md +20 -0
- package/docs/GetRoleDTO.md +26 -0
- package/docs/GetUserProjectRoleByRoleIdResponseDto.md +20 -0
- package/docs/LoginRequestDTO.md +22 -0
- package/docs/LoginResponseDTO.md +20 -0
- package/docs/MachineAgentApi.md +253 -0
- package/docs/MachineAgentLogsApi.md +131 -0
- package/docs/MachineInstancesApi.md +361 -0
- package/docs/MembersApi.md +204 -0
- package/docs/MessageResponseDTO.md +20 -0
- package/docs/MiscellaneousApi.md +169 -0
- package/docs/NotFoundExceptionResponse.md +20 -0
- package/docs/NotificationsApi.md +122 -0
- package/docs/OAuthLoginRequestDTO.md +26 -0
- package/docs/PermissionsDTO.md +28 -0
- package/docs/ProjectResponseModel.md +30 -0
- package/docs/ProjectsApi.md +301 -0
- package/docs/QueriesAndDocumentationsApi.md +125 -0
- package/docs/ResetPasswordRequestDTO.md +22 -0
- package/docs/ResourceDTO.md +24 -0
- package/docs/RoleDto.md +22 -0
- package/docs/RolesApi.md +372 -0
- package/docs/SignupRequestDTO.md +36 -0
- package/docs/SignupResponseDTO.md +20 -0
- package/docs/SimilaritySearchQueryDTO.md +26 -0
- package/docs/TeamMemberDto.md +26 -0
- package/docs/UnauthorizedExceptionResponse.md +20 -0
- package/docs/UpdateDocumentRequestDTO.md +22 -0
- package/docs/UpdatePermissionDto.md +28 -0
- package/docs/UpdateProjectByIDResponseDTO.md +20 -0
- package/docs/UpdateProjectByIdRequest.md +22 -0
- package/docs/UpdateProjectRoleResponseDto.md +20 -0
- package/docs/UpdateResourceDto.md +24 -0
- package/docs/UpdateRoleByIdDto.md +24 -0
- package/docs/UpdateRoleDTO.md +26 -0
- package/docs/UpdateTeamMemberRequestDTO.md +20 -0
- package/docs/UpdateTeamMemberStatusRequestDTO.md +22 -0
- package/docs/UserDto.md +32 -0
- package/docs/WebhookApi.md +243 -0
- package/package.json +1 -1
package/dist/esm/api.js
CHANGED
|
@@ -40,6 +40,35 @@ export const SignupRequestDTOProviderTypeEnum = {
|
|
|
40
40
|
*/
|
|
41
41
|
export const AuthApiAxiosParamCreator = function (configuration) {
|
|
42
42
|
return {
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @summary Exchange token
|
|
46
|
+
* @param {string} token
|
|
47
|
+
* @param {*} [options] Override http request option.
|
|
48
|
+
* @throws {RequiredError}
|
|
49
|
+
*/
|
|
50
|
+
authControllerExchangeToken: (token_1, ...args_1) => __awaiter(this, [token_1, ...args_1], void 0, function* (token, options = {}) {
|
|
51
|
+
// verify required parameter 'token' is not null or undefined
|
|
52
|
+
assertParamExists('authControllerExchangeToken', 'token', token);
|
|
53
|
+
const localVarPath = `/auth/google/{token}`
|
|
54
|
+
.replace(`{${"token"}}`, encodeURIComponent(String(token)));
|
|
55
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
56
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
57
|
+
let baseOptions;
|
|
58
|
+
if (configuration) {
|
|
59
|
+
baseOptions = configuration.baseOptions;
|
|
60
|
+
}
|
|
61
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
62
|
+
const localVarHeaderParameter = {};
|
|
63
|
+
const localVarQueryParameter = {};
|
|
64
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
65
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
66
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
67
|
+
return {
|
|
68
|
+
url: toPathString(localVarUrlObj),
|
|
69
|
+
options: localVarRequestOptions,
|
|
70
|
+
};
|
|
71
|
+
}),
|
|
43
72
|
/**
|
|
44
73
|
*
|
|
45
74
|
* @summary Forget password initiate
|
|
@@ -229,6 +258,22 @@ export const AuthApiAxiosParamCreator = function (configuration) {
|
|
|
229
258
|
export const AuthApiFp = function (configuration) {
|
|
230
259
|
const localVarAxiosParamCreator = AuthApiAxiosParamCreator(configuration);
|
|
231
260
|
return {
|
|
261
|
+
/**
|
|
262
|
+
*
|
|
263
|
+
* @summary Exchange token
|
|
264
|
+
* @param {string} token
|
|
265
|
+
* @param {*} [options] Override http request option.
|
|
266
|
+
* @throws {RequiredError}
|
|
267
|
+
*/
|
|
268
|
+
authControllerExchangeToken(token, options) {
|
|
269
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
270
|
+
var _a, _b, _c;
|
|
271
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.authControllerExchangeToken(token, options);
|
|
272
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
273
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AuthApi.authControllerExchangeToken']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
274
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
275
|
+
});
|
|
276
|
+
},
|
|
232
277
|
/**
|
|
233
278
|
*
|
|
234
279
|
* @summary Forget password initiate
|
|
@@ -334,6 +379,16 @@ export const AuthApiFp = function (configuration) {
|
|
|
334
379
|
export const AuthApiFactory = function (configuration, basePath, axios) {
|
|
335
380
|
const localVarFp = AuthApiFp(configuration);
|
|
336
381
|
return {
|
|
382
|
+
/**
|
|
383
|
+
*
|
|
384
|
+
* @summary Exchange token
|
|
385
|
+
* @param {string} token
|
|
386
|
+
* @param {*} [options] Override http request option.
|
|
387
|
+
* @throws {RequiredError}
|
|
388
|
+
*/
|
|
389
|
+
authControllerExchangeToken(token, options) {
|
|
390
|
+
return localVarFp.authControllerExchangeToken(token, options).then((request) => request(axios, basePath));
|
|
391
|
+
},
|
|
337
392
|
/**
|
|
338
393
|
*
|
|
339
394
|
* @summary Forget password initiate
|
|
@@ -403,6 +458,17 @@ export const AuthApiFactory = function (configuration, basePath, axios) {
|
|
|
403
458
|
* @extends {BaseAPI}
|
|
404
459
|
*/
|
|
405
460
|
export class AuthApi extends BaseAPI {
|
|
461
|
+
/**
|
|
462
|
+
*
|
|
463
|
+
* @summary Exchange token
|
|
464
|
+
* @param {string} token
|
|
465
|
+
* @param {*} [options] Override http request option.
|
|
466
|
+
* @throws {RequiredError}
|
|
467
|
+
* @memberof AuthApi
|
|
468
|
+
*/
|
|
469
|
+
authControllerExchangeToken(token, options) {
|
|
470
|
+
return AuthApiFp(this.configuration).authControllerExchangeToken(token, options).then((request) => request(this.axios, this.basePath));
|
|
471
|
+
}
|
|
406
472
|
/**
|
|
407
473
|
*
|
|
408
474
|
* @summary Forget password initiate
|
|
@@ -2004,16 +2070,19 @@ export const MachineAgentApiAxiosParamCreator = function (configuration) {
|
|
|
2004
2070
|
* @param {string} projectId
|
|
2005
2071
|
* @param {number} page
|
|
2006
2072
|
* @param {number} limit
|
|
2073
|
+
* @param {string} type
|
|
2007
2074
|
* @param {*} [options] Override http request option.
|
|
2008
2075
|
* @throws {RequiredError}
|
|
2009
2076
|
*/
|
|
2010
|
-
machineAgentControllerGetMachineAgentByProjectId: (projectId_1, page_1, limit_1, ...args_1) => __awaiter(this, [projectId_1, page_1, limit_1, ...args_1], void 0, function* (projectId, page, limit, options = {}) {
|
|
2077
|
+
machineAgentControllerGetMachineAgentByProjectId: (projectId_1, page_1, limit_1, type_1, ...args_1) => __awaiter(this, [projectId_1, page_1, limit_1, type_1, ...args_1], void 0, function* (projectId, page, limit, type, options = {}) {
|
|
2011
2078
|
// verify required parameter 'projectId' is not null or undefined
|
|
2012
2079
|
assertParamExists('machineAgentControllerGetMachineAgentByProjectId', 'projectId', projectId);
|
|
2013
2080
|
// verify required parameter 'page' is not null or undefined
|
|
2014
2081
|
assertParamExists('machineAgentControllerGetMachineAgentByProjectId', 'page', page);
|
|
2015
2082
|
// verify required parameter 'limit' is not null or undefined
|
|
2016
2083
|
assertParamExists('machineAgentControllerGetMachineAgentByProjectId', 'limit', limit);
|
|
2084
|
+
// verify required parameter 'type' is not null or undefined
|
|
2085
|
+
assertParamExists('machineAgentControllerGetMachineAgentByProjectId', 'type', type);
|
|
2017
2086
|
const localVarPath = `/projects/{projectId}/agents`
|
|
2018
2087
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
2019
2088
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -2031,6 +2100,9 @@ export const MachineAgentApiAxiosParamCreator = function (configuration) {
|
|
|
2031
2100
|
if (limit !== undefined) {
|
|
2032
2101
|
localVarQueryParameter['limit'] = limit;
|
|
2033
2102
|
}
|
|
2103
|
+
if (type !== undefined) {
|
|
2104
|
+
localVarQueryParameter['type'] = type;
|
|
2105
|
+
}
|
|
2034
2106
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2035
2107
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2036
2108
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2122,13 +2194,14 @@ export const MachineAgentApiFp = function (configuration) {
|
|
|
2122
2194
|
* @param {string} projectId
|
|
2123
2195
|
* @param {number} page
|
|
2124
2196
|
* @param {number} limit
|
|
2197
|
+
* @param {string} type
|
|
2125
2198
|
* @param {*} [options] Override http request option.
|
|
2126
2199
|
* @throws {RequiredError}
|
|
2127
2200
|
*/
|
|
2128
|
-
machineAgentControllerGetMachineAgentByProjectId(projectId, page, limit, options) {
|
|
2201
|
+
machineAgentControllerGetMachineAgentByProjectId(projectId, page, limit, type, options) {
|
|
2129
2202
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2130
2203
|
var _a, _b, _c;
|
|
2131
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.machineAgentControllerGetMachineAgentByProjectId(projectId, page, limit, options);
|
|
2204
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.machineAgentControllerGetMachineAgentByProjectId(projectId, page, limit, type, options);
|
|
2132
2205
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2133
2206
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MachineAgentApi.machineAgentControllerGetMachineAgentByProjectId']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2134
2207
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2189,11 +2262,12 @@ export const MachineAgentApiFactory = function (configuration, basePath, axios)
|
|
|
2189
2262
|
* @param {string} projectId
|
|
2190
2263
|
* @param {number} page
|
|
2191
2264
|
* @param {number} limit
|
|
2265
|
+
* @param {string} type
|
|
2192
2266
|
* @param {*} [options] Override http request option.
|
|
2193
2267
|
* @throws {RequiredError}
|
|
2194
2268
|
*/
|
|
2195
|
-
machineAgentControllerGetMachineAgentByProjectId(projectId, page, limit, options) {
|
|
2196
|
-
return localVarFp.machineAgentControllerGetMachineAgentByProjectId(projectId, page, limit, options).then((request) => request(axios, basePath));
|
|
2269
|
+
machineAgentControllerGetMachineAgentByProjectId(projectId, page, limit, type, options) {
|
|
2270
|
+
return localVarFp.machineAgentControllerGetMachineAgentByProjectId(projectId, page, limit, type, options).then((request) => request(axios, basePath));
|
|
2197
2271
|
},
|
|
2198
2272
|
/**
|
|
2199
2273
|
*
|
|
@@ -2246,12 +2320,13 @@ export class MachineAgentApi extends BaseAPI {
|
|
|
2246
2320
|
* @param {string} projectId
|
|
2247
2321
|
* @param {number} page
|
|
2248
2322
|
* @param {number} limit
|
|
2323
|
+
* @param {string} type
|
|
2249
2324
|
* @param {*} [options] Override http request option.
|
|
2250
2325
|
* @throws {RequiredError}
|
|
2251
2326
|
* @memberof MachineAgentApi
|
|
2252
2327
|
*/
|
|
2253
|
-
machineAgentControllerGetMachineAgentByProjectId(projectId, page, limit, options) {
|
|
2254
|
-
return MachineAgentApiFp(this.configuration).machineAgentControllerGetMachineAgentByProjectId(projectId, page, limit, options).then((request) => request(this.axios, this.basePath));
|
|
2328
|
+
machineAgentControllerGetMachineAgentByProjectId(projectId, page, limit, type, options) {
|
|
2329
|
+
return MachineAgentApiFp(this.configuration).machineAgentControllerGetMachineAgentByProjectId(projectId, page, limit, type, options).then((request) => request(this.axios, this.basePath));
|
|
2255
2330
|
}
|
|
2256
2331
|
/**
|
|
2257
2332
|
*
|
|
@@ -2266,6 +2341,204 @@ export class MachineAgentApi extends BaseAPI {
|
|
|
2266
2341
|
return MachineAgentApiFp(this.configuration).machineAgentControllerUpdateMachineAgent(projectId, agentId, options).then((request) => request(this.axios, this.basePath));
|
|
2267
2342
|
}
|
|
2268
2343
|
}
|
|
2344
|
+
/**
|
|
2345
|
+
* MachineAgentLogsApi - axios parameter creator
|
|
2346
|
+
* @export
|
|
2347
|
+
*/
|
|
2348
|
+
export const MachineAgentLogsApiAxiosParamCreator = function (configuration) {
|
|
2349
|
+
return {
|
|
2350
|
+
/**
|
|
2351
|
+
*
|
|
2352
|
+
* @summary Fetch agent logs.
|
|
2353
|
+
* @param {string} projectId
|
|
2354
|
+
* @param {string} agentId
|
|
2355
|
+
* @param {string} direction
|
|
2356
|
+
* @param {string} cursor
|
|
2357
|
+
* @param {*} [options] Override http request option.
|
|
2358
|
+
* @throws {RequiredError}
|
|
2359
|
+
*/
|
|
2360
|
+
logsControllerFetchAgentLogs: (projectId_1, agentId_1, direction_1, cursor_1, ...args_1) => __awaiter(this, [projectId_1, agentId_1, direction_1, cursor_1, ...args_1], void 0, function* (projectId, agentId, direction, cursor, options = {}) {
|
|
2361
|
+
// verify required parameter 'projectId' is not null or undefined
|
|
2362
|
+
assertParamExists('logsControllerFetchAgentLogs', 'projectId', projectId);
|
|
2363
|
+
// verify required parameter 'agentId' is not null or undefined
|
|
2364
|
+
assertParamExists('logsControllerFetchAgentLogs', 'agentId', agentId);
|
|
2365
|
+
// verify required parameter 'direction' is not null or undefined
|
|
2366
|
+
assertParamExists('logsControllerFetchAgentLogs', 'direction', direction);
|
|
2367
|
+
// verify required parameter 'cursor' is not null or undefined
|
|
2368
|
+
assertParamExists('logsControllerFetchAgentLogs', 'cursor', cursor);
|
|
2369
|
+
const localVarPath = `/projects/{projectId}/logs/{agentId}`
|
|
2370
|
+
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)))
|
|
2371
|
+
.replace(`{${"agentId"}}`, encodeURIComponent(String(agentId)));
|
|
2372
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2373
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2374
|
+
let baseOptions;
|
|
2375
|
+
if (configuration) {
|
|
2376
|
+
baseOptions = configuration.baseOptions;
|
|
2377
|
+
}
|
|
2378
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2379
|
+
const localVarHeaderParameter = {};
|
|
2380
|
+
const localVarQueryParameter = {};
|
|
2381
|
+
if (direction !== undefined) {
|
|
2382
|
+
localVarQueryParameter['direction'] = direction;
|
|
2383
|
+
}
|
|
2384
|
+
if (cursor !== undefined) {
|
|
2385
|
+
localVarQueryParameter['cursor'] = cursor;
|
|
2386
|
+
}
|
|
2387
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2388
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2389
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2390
|
+
return {
|
|
2391
|
+
url: toPathString(localVarUrlObj),
|
|
2392
|
+
options: localVarRequestOptions,
|
|
2393
|
+
};
|
|
2394
|
+
}),
|
|
2395
|
+
/**
|
|
2396
|
+
*
|
|
2397
|
+
* @summary Fetch event logs.
|
|
2398
|
+
* @param {string} projectId
|
|
2399
|
+
* @param {string} agentId
|
|
2400
|
+
* @param {*} [options] Override http request option.
|
|
2401
|
+
* @throws {RequiredError}
|
|
2402
|
+
*/
|
|
2403
|
+
logsControllerFetchEventLogs: (projectId_1, agentId_1, ...args_1) => __awaiter(this, [projectId_1, agentId_1, ...args_1], void 0, function* (projectId, agentId, options = {}) {
|
|
2404
|
+
// verify required parameter 'projectId' is not null or undefined
|
|
2405
|
+
assertParamExists('logsControllerFetchEventLogs', 'projectId', projectId);
|
|
2406
|
+
// verify required parameter 'agentId' is not null or undefined
|
|
2407
|
+
assertParamExists('logsControllerFetchEventLogs', 'agentId', agentId);
|
|
2408
|
+
const localVarPath = `/projects/{projectId}/fetchEventLogs/{agentId}`
|
|
2409
|
+
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)))
|
|
2410
|
+
.replace(`{${"agentId"}}`, encodeURIComponent(String(agentId)));
|
|
2411
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2412
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2413
|
+
let baseOptions;
|
|
2414
|
+
if (configuration) {
|
|
2415
|
+
baseOptions = configuration.baseOptions;
|
|
2416
|
+
}
|
|
2417
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2418
|
+
const localVarHeaderParameter = {};
|
|
2419
|
+
const localVarQueryParameter = {};
|
|
2420
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2421
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2422
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2423
|
+
return {
|
|
2424
|
+
url: toPathString(localVarUrlObj),
|
|
2425
|
+
options: localVarRequestOptions,
|
|
2426
|
+
};
|
|
2427
|
+
}),
|
|
2428
|
+
};
|
|
2429
|
+
};
|
|
2430
|
+
/**
|
|
2431
|
+
* MachineAgentLogsApi - functional programming interface
|
|
2432
|
+
* @export
|
|
2433
|
+
*/
|
|
2434
|
+
export const MachineAgentLogsApiFp = function (configuration) {
|
|
2435
|
+
const localVarAxiosParamCreator = MachineAgentLogsApiAxiosParamCreator(configuration);
|
|
2436
|
+
return {
|
|
2437
|
+
/**
|
|
2438
|
+
*
|
|
2439
|
+
* @summary Fetch agent logs.
|
|
2440
|
+
* @param {string} projectId
|
|
2441
|
+
* @param {string} agentId
|
|
2442
|
+
* @param {string} direction
|
|
2443
|
+
* @param {string} cursor
|
|
2444
|
+
* @param {*} [options] Override http request option.
|
|
2445
|
+
* @throws {RequiredError}
|
|
2446
|
+
*/
|
|
2447
|
+
logsControllerFetchAgentLogs(projectId, agentId, direction, cursor, options) {
|
|
2448
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2449
|
+
var _a, _b, _c;
|
|
2450
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.logsControllerFetchAgentLogs(projectId, agentId, direction, cursor, options);
|
|
2451
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2452
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MachineAgentLogsApi.logsControllerFetchAgentLogs']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2453
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2454
|
+
});
|
|
2455
|
+
},
|
|
2456
|
+
/**
|
|
2457
|
+
*
|
|
2458
|
+
* @summary Fetch event logs.
|
|
2459
|
+
* @param {string} projectId
|
|
2460
|
+
* @param {string} agentId
|
|
2461
|
+
* @param {*} [options] Override http request option.
|
|
2462
|
+
* @throws {RequiredError}
|
|
2463
|
+
*/
|
|
2464
|
+
logsControllerFetchEventLogs(projectId, agentId, options) {
|
|
2465
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2466
|
+
var _a, _b, _c;
|
|
2467
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.logsControllerFetchEventLogs(projectId, agentId, options);
|
|
2468
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2469
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MachineAgentLogsApi.logsControllerFetchEventLogs']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2470
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2471
|
+
});
|
|
2472
|
+
},
|
|
2473
|
+
};
|
|
2474
|
+
};
|
|
2475
|
+
/**
|
|
2476
|
+
* MachineAgentLogsApi - factory interface
|
|
2477
|
+
* @export
|
|
2478
|
+
*/
|
|
2479
|
+
export const MachineAgentLogsApiFactory = function (configuration, basePath, axios) {
|
|
2480
|
+
const localVarFp = MachineAgentLogsApiFp(configuration);
|
|
2481
|
+
return {
|
|
2482
|
+
/**
|
|
2483
|
+
*
|
|
2484
|
+
* @summary Fetch agent logs.
|
|
2485
|
+
* @param {string} projectId
|
|
2486
|
+
* @param {string} agentId
|
|
2487
|
+
* @param {string} direction
|
|
2488
|
+
* @param {string} cursor
|
|
2489
|
+
* @param {*} [options] Override http request option.
|
|
2490
|
+
* @throws {RequiredError}
|
|
2491
|
+
*/
|
|
2492
|
+
logsControllerFetchAgentLogs(projectId, agentId, direction, cursor, options) {
|
|
2493
|
+
return localVarFp.logsControllerFetchAgentLogs(projectId, agentId, direction, cursor, options).then((request) => request(axios, basePath));
|
|
2494
|
+
},
|
|
2495
|
+
/**
|
|
2496
|
+
*
|
|
2497
|
+
* @summary Fetch event logs.
|
|
2498
|
+
* @param {string} projectId
|
|
2499
|
+
* @param {string} agentId
|
|
2500
|
+
* @param {*} [options] Override http request option.
|
|
2501
|
+
* @throws {RequiredError}
|
|
2502
|
+
*/
|
|
2503
|
+
logsControllerFetchEventLogs(projectId, agentId, options) {
|
|
2504
|
+
return localVarFp.logsControllerFetchEventLogs(projectId, agentId, options).then((request) => request(axios, basePath));
|
|
2505
|
+
},
|
|
2506
|
+
};
|
|
2507
|
+
};
|
|
2508
|
+
/**
|
|
2509
|
+
* MachineAgentLogsApi - object-oriented interface
|
|
2510
|
+
* @export
|
|
2511
|
+
* @class MachineAgentLogsApi
|
|
2512
|
+
* @extends {BaseAPI}
|
|
2513
|
+
*/
|
|
2514
|
+
export class MachineAgentLogsApi extends BaseAPI {
|
|
2515
|
+
/**
|
|
2516
|
+
*
|
|
2517
|
+
* @summary Fetch agent logs.
|
|
2518
|
+
* @param {string} projectId
|
|
2519
|
+
* @param {string} agentId
|
|
2520
|
+
* @param {string} direction
|
|
2521
|
+
* @param {string} cursor
|
|
2522
|
+
* @param {*} [options] Override http request option.
|
|
2523
|
+
* @throws {RequiredError}
|
|
2524
|
+
* @memberof MachineAgentLogsApi
|
|
2525
|
+
*/
|
|
2526
|
+
logsControllerFetchAgentLogs(projectId, agentId, direction, cursor, options) {
|
|
2527
|
+
return MachineAgentLogsApiFp(this.configuration).logsControllerFetchAgentLogs(projectId, agentId, direction, cursor, options).then((request) => request(this.axios, this.basePath));
|
|
2528
|
+
}
|
|
2529
|
+
/**
|
|
2530
|
+
*
|
|
2531
|
+
* @summary Fetch event logs.
|
|
2532
|
+
* @param {string} projectId
|
|
2533
|
+
* @param {string} agentId
|
|
2534
|
+
* @param {*} [options] Override http request option.
|
|
2535
|
+
* @throws {RequiredError}
|
|
2536
|
+
* @memberof MachineAgentLogsApi
|
|
2537
|
+
*/
|
|
2538
|
+
logsControllerFetchEventLogs(projectId, agentId, options) {
|
|
2539
|
+
return MachineAgentLogsApiFp(this.configuration).logsControllerFetchEventLogs(projectId, agentId, options).then((request) => request(this.axios, this.basePath));
|
|
2540
|
+
}
|
|
2541
|
+
}
|
|
2269
2542
|
/**
|
|
2270
2543
|
* MachineInstancesApi - axios parameter creator
|
|
2271
2544
|
* @export
|
|
@@ -2748,25 +3021,25 @@ export class MachineInstancesApi extends BaseAPI {
|
|
|
2748
3021
|
}
|
|
2749
3022
|
}
|
|
2750
3023
|
/**
|
|
2751
|
-
*
|
|
3024
|
+
* MembersApi - axios parameter creator
|
|
2752
3025
|
* @export
|
|
2753
3026
|
*/
|
|
2754
|
-
export const
|
|
3027
|
+
export const MembersApiAxiosParamCreator = function (configuration) {
|
|
2755
3028
|
return {
|
|
2756
3029
|
/**
|
|
2757
3030
|
*
|
|
2758
|
-
* @summary
|
|
3031
|
+
* @summary Add a team member
|
|
2759
3032
|
* @param {string} projectId
|
|
2760
|
-
* @param {
|
|
3033
|
+
* @param {AddProjectMemberDto} addProjectMemberDto
|
|
2761
3034
|
* @param {*} [options] Override http request option.
|
|
2762
3035
|
* @throws {RequiredError}
|
|
2763
3036
|
*/
|
|
2764
|
-
|
|
3037
|
+
membersControllerAddTeamMemberToProject: (projectId_1, addProjectMemberDto_1, ...args_1) => __awaiter(this, [projectId_1, addProjectMemberDto_1, ...args_1], void 0, function* (projectId, addProjectMemberDto, options = {}) {
|
|
2765
3038
|
// verify required parameter 'projectId' is not null or undefined
|
|
2766
|
-
assertParamExists('
|
|
2767
|
-
// verify required parameter '
|
|
2768
|
-
assertParamExists('
|
|
2769
|
-
const localVarPath = `/projects/{projectId}/
|
|
3039
|
+
assertParamExists('membersControllerAddTeamMemberToProject', 'projectId', projectId);
|
|
3040
|
+
// verify required parameter 'addProjectMemberDto' is not null or undefined
|
|
3041
|
+
assertParamExists('membersControllerAddTeamMemberToProject', 'addProjectMemberDto', addProjectMemberDto);
|
|
3042
|
+
const localVarPath = `/projects/{projectId}/members`
|
|
2770
3043
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
2771
3044
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2772
3045
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -2781,7 +3054,7 @@ export const MachineModelsApiAxiosParamCreator = function (configuration) {
|
|
|
2781
3054
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2782
3055
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2783
3056
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2784
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
3057
|
+
localVarRequestOptions.data = serializeDataIfNeeded(addProjectMemberDto, localVarRequestOptions, configuration);
|
|
2785
3058
|
return {
|
|
2786
3059
|
url: toPathString(localVarUrlObj),
|
|
2787
3060
|
options: localVarRequestOptions,
|
|
@@ -2789,37 +3062,52 @@ export const MachineModelsApiAxiosParamCreator = function (configuration) {
|
|
|
2789
3062
|
}),
|
|
2790
3063
|
/**
|
|
2791
3064
|
*
|
|
2792
|
-
* @summary
|
|
3065
|
+
* @summary Retrieve all team members
|
|
2793
3066
|
* @param {string} projectId
|
|
2794
|
-
* @param {
|
|
2795
|
-
* @param {
|
|
3067
|
+
* @param {number} [page]
|
|
3068
|
+
* @param {number} [limit]
|
|
3069
|
+
* @param {string} [column]
|
|
3070
|
+
* @param {MembersControllerGetAllTeamMembersOfProjectDirectionEnum} [direction]
|
|
3071
|
+
* @param {Array<string>} [teamMemberStatus]
|
|
3072
|
+
* @param {Array<number>} [roleIds]
|
|
2796
3073
|
* @param {*} [options] Override http request option.
|
|
2797
3074
|
* @throws {RequiredError}
|
|
2798
3075
|
*/
|
|
2799
|
-
|
|
3076
|
+
membersControllerGetAllTeamMembersOfProject: (projectId_1, page_1, limit_1, column_1, direction_1, teamMemberStatus_1, roleIds_1, ...args_1) => __awaiter(this, [projectId_1, page_1, limit_1, column_1, direction_1, teamMemberStatus_1, roleIds_1, ...args_1], void 0, function* (projectId, page, limit, column, direction, teamMemberStatus, roleIds, options = {}) {
|
|
2800
3077
|
// verify required parameter 'projectId' is not null or undefined
|
|
2801
|
-
assertParamExists('
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
// verify required parameter 'requestBody' is not null or undefined
|
|
2805
|
-
assertParamExists('machineModelControllerDeleteMachineModels', 'requestBody', requestBody);
|
|
2806
|
-
const localVarPath = `/projects/{projectId}/models/{modelId}`
|
|
2807
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)))
|
|
2808
|
-
.replace(`{${"modelId"}}`, encodeURIComponent(String(modelId)));
|
|
3078
|
+
assertParamExists('membersControllerGetAllTeamMembersOfProject', 'projectId', projectId);
|
|
3079
|
+
const localVarPath = `/projects/{projectId}/members`
|
|
3080
|
+
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
2809
3081
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2810
3082
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2811
3083
|
let baseOptions;
|
|
2812
3084
|
if (configuration) {
|
|
2813
3085
|
baseOptions = configuration.baseOptions;
|
|
2814
3086
|
}
|
|
2815
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
3087
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2816
3088
|
const localVarHeaderParameter = {};
|
|
2817
3089
|
const localVarQueryParameter = {};
|
|
2818
|
-
|
|
3090
|
+
if (page !== undefined) {
|
|
3091
|
+
localVarQueryParameter['page'] = page;
|
|
3092
|
+
}
|
|
3093
|
+
if (limit !== undefined) {
|
|
3094
|
+
localVarQueryParameter['limit'] = limit;
|
|
3095
|
+
}
|
|
3096
|
+
if (column !== undefined) {
|
|
3097
|
+
localVarQueryParameter['column'] = column;
|
|
3098
|
+
}
|
|
3099
|
+
if (direction !== undefined) {
|
|
3100
|
+
localVarQueryParameter['direction'] = direction;
|
|
3101
|
+
}
|
|
3102
|
+
if (teamMemberStatus) {
|
|
3103
|
+
localVarQueryParameter['teamMemberStatus'] = teamMemberStatus;
|
|
3104
|
+
}
|
|
3105
|
+
if (roleIds) {
|
|
3106
|
+
localVarQueryParameter['roleIds'] = roleIds;
|
|
3107
|
+
}
|
|
2819
3108
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2820
3109
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2821
3110
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2822
|
-
localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration);
|
|
2823
3111
|
return {
|
|
2824
3112
|
url: toPathString(localVarUrlObj),
|
|
2825
3113
|
options: localVarRequestOptions,
|
|
@@ -2827,375 +3115,14 @@ export const MachineModelsApiAxiosParamCreator = function (configuration) {
|
|
|
2827
3115
|
}),
|
|
2828
3116
|
/**
|
|
2829
3117
|
*
|
|
2830
|
-
* @summary
|
|
3118
|
+
* @summary Update team member details
|
|
2831
3119
|
* @param {string} projectId
|
|
2832
|
-
* @param {
|
|
2833
|
-
* @param {
|
|
3120
|
+
* @param {string} memberId
|
|
3121
|
+
* @param {UpdateTeamMemberRequestDTO} updateTeamMemberRequestDTO
|
|
2834
3122
|
* @param {*} [options] Override http request option.
|
|
2835
3123
|
* @throws {RequiredError}
|
|
2836
3124
|
*/
|
|
2837
|
-
|
|
2838
|
-
// verify required parameter 'projectId' is not null or undefined
|
|
2839
|
-
assertParamExists('machineModelControllerGetMachineInstanceByProjectId', 'projectId', projectId);
|
|
2840
|
-
// verify required parameter 'page' is not null or undefined
|
|
2841
|
-
assertParamExists('machineModelControllerGetMachineInstanceByProjectId', 'page', page);
|
|
2842
|
-
// verify required parameter 'limit' is not null or undefined
|
|
2843
|
-
assertParamExists('machineModelControllerGetMachineInstanceByProjectId', 'limit', limit);
|
|
2844
|
-
const localVarPath = `/projects/{projectId}/models`
|
|
2845
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
2846
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2847
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2848
|
-
let baseOptions;
|
|
2849
|
-
if (configuration) {
|
|
2850
|
-
baseOptions = configuration.baseOptions;
|
|
2851
|
-
}
|
|
2852
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2853
|
-
const localVarHeaderParameter = {};
|
|
2854
|
-
const localVarQueryParameter = {};
|
|
2855
|
-
if (page !== undefined) {
|
|
2856
|
-
localVarQueryParameter['page'] = page;
|
|
2857
|
-
}
|
|
2858
|
-
if (limit !== undefined) {
|
|
2859
|
-
localVarQueryParameter['limit'] = limit;
|
|
2860
|
-
}
|
|
2861
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2862
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2863
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2864
|
-
return {
|
|
2865
|
-
url: toPathString(localVarUrlObj),
|
|
2866
|
-
options: localVarRequestOptions,
|
|
2867
|
-
};
|
|
2868
|
-
}),
|
|
2869
|
-
/**
|
|
2870
|
-
*
|
|
2871
|
-
* @summary Update machine model by id
|
|
2872
|
-
* @param {string} projectId
|
|
2873
|
-
* @param {string} modelId
|
|
2874
|
-
* @param {*} [options] Override http request option.
|
|
2875
|
-
* @throws {RequiredError}
|
|
2876
|
-
*/
|
|
2877
|
-
machineModelControllerUpdateMachineModel: (projectId_1, modelId_1, ...args_1) => __awaiter(this, [projectId_1, modelId_1, ...args_1], void 0, function* (projectId, modelId, options = {}) {
|
|
2878
|
-
// verify required parameter 'projectId' is not null or undefined
|
|
2879
|
-
assertParamExists('machineModelControllerUpdateMachineModel', 'projectId', projectId);
|
|
2880
|
-
// verify required parameter 'modelId' is not null or undefined
|
|
2881
|
-
assertParamExists('machineModelControllerUpdateMachineModel', 'modelId', modelId);
|
|
2882
|
-
const localVarPath = `/projects/{projectId}/models/{modelId}`
|
|
2883
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)))
|
|
2884
|
-
.replace(`{${"modelId"}}`, encodeURIComponent(String(modelId)));
|
|
2885
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2886
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2887
|
-
let baseOptions;
|
|
2888
|
-
if (configuration) {
|
|
2889
|
-
baseOptions = configuration.baseOptions;
|
|
2890
|
-
}
|
|
2891
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
2892
|
-
const localVarHeaderParameter = {};
|
|
2893
|
-
const localVarQueryParameter = {};
|
|
2894
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2895
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2896
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2897
|
-
return {
|
|
2898
|
-
url: toPathString(localVarUrlObj),
|
|
2899
|
-
options: localVarRequestOptions,
|
|
2900
|
-
};
|
|
2901
|
-
}),
|
|
2902
|
-
};
|
|
2903
|
-
};
|
|
2904
|
-
/**
|
|
2905
|
-
* MachineModelsApi - functional programming interface
|
|
2906
|
-
* @export
|
|
2907
|
-
*/
|
|
2908
|
-
export const MachineModelsApiFp = function (configuration) {
|
|
2909
|
-
const localVarAxiosParamCreator = MachineModelsApiAxiosParamCreator(configuration);
|
|
2910
|
-
return {
|
|
2911
|
-
/**
|
|
2912
|
-
*
|
|
2913
|
-
* @summary Create New Machine Model
|
|
2914
|
-
* @param {string} projectId
|
|
2915
|
-
* @param {object} body
|
|
2916
|
-
* @param {*} [options] Override http request option.
|
|
2917
|
-
* @throws {RequiredError}
|
|
2918
|
-
*/
|
|
2919
|
-
machineModelControllerCreateMachineModel(projectId, body, options) {
|
|
2920
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
2921
|
-
var _a, _b, _c;
|
|
2922
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.machineModelControllerCreateMachineModel(projectId, body, options);
|
|
2923
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2924
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MachineModelsApi.machineModelControllerCreateMachineModel']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2925
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2926
|
-
});
|
|
2927
|
-
},
|
|
2928
|
-
/**
|
|
2929
|
-
*
|
|
2930
|
-
* @summary Create New Machine Model
|
|
2931
|
-
* @param {string} projectId
|
|
2932
|
-
* @param {string} modelId
|
|
2933
|
-
* @param {Array<string>} requestBody
|
|
2934
|
-
* @param {*} [options] Override http request option.
|
|
2935
|
-
* @throws {RequiredError}
|
|
2936
|
-
*/
|
|
2937
|
-
machineModelControllerDeleteMachineModels(projectId, modelId, requestBody, options) {
|
|
2938
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
2939
|
-
var _a, _b, _c;
|
|
2940
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.machineModelControllerDeleteMachineModels(projectId, modelId, requestBody, options);
|
|
2941
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2942
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MachineModelsApi.machineModelControllerDeleteMachineModels']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2943
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2944
|
-
});
|
|
2945
|
-
},
|
|
2946
|
-
/**
|
|
2947
|
-
*
|
|
2948
|
-
* @summary Get all machine models with count
|
|
2949
|
-
* @param {string} projectId
|
|
2950
|
-
* @param {number} page
|
|
2951
|
-
* @param {number} limit
|
|
2952
|
-
* @param {*} [options] Override http request option.
|
|
2953
|
-
* @throws {RequiredError}
|
|
2954
|
-
*/
|
|
2955
|
-
machineModelControllerGetMachineInstanceByProjectId(projectId, page, limit, options) {
|
|
2956
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
2957
|
-
var _a, _b, _c;
|
|
2958
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.machineModelControllerGetMachineInstanceByProjectId(projectId, page, limit, options);
|
|
2959
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2960
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MachineModelsApi.machineModelControllerGetMachineInstanceByProjectId']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2961
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2962
|
-
});
|
|
2963
|
-
},
|
|
2964
|
-
/**
|
|
2965
|
-
*
|
|
2966
|
-
* @summary Update machine model by id
|
|
2967
|
-
* @param {string} projectId
|
|
2968
|
-
* @param {string} modelId
|
|
2969
|
-
* @param {*} [options] Override http request option.
|
|
2970
|
-
* @throws {RequiredError}
|
|
2971
|
-
*/
|
|
2972
|
-
machineModelControllerUpdateMachineModel(projectId, modelId, options) {
|
|
2973
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
2974
|
-
var _a, _b, _c;
|
|
2975
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.machineModelControllerUpdateMachineModel(projectId, modelId, options);
|
|
2976
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2977
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MachineModelsApi.machineModelControllerUpdateMachineModel']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2978
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2979
|
-
});
|
|
2980
|
-
},
|
|
2981
|
-
};
|
|
2982
|
-
};
|
|
2983
|
-
/**
|
|
2984
|
-
* MachineModelsApi - factory interface
|
|
2985
|
-
* @export
|
|
2986
|
-
*/
|
|
2987
|
-
export const MachineModelsApiFactory = function (configuration, basePath, axios) {
|
|
2988
|
-
const localVarFp = MachineModelsApiFp(configuration);
|
|
2989
|
-
return {
|
|
2990
|
-
/**
|
|
2991
|
-
*
|
|
2992
|
-
* @summary Create New Machine Model
|
|
2993
|
-
* @param {string} projectId
|
|
2994
|
-
* @param {object} body
|
|
2995
|
-
* @param {*} [options] Override http request option.
|
|
2996
|
-
* @throws {RequiredError}
|
|
2997
|
-
*/
|
|
2998
|
-
machineModelControllerCreateMachineModel(projectId, body, options) {
|
|
2999
|
-
return localVarFp.machineModelControllerCreateMachineModel(projectId, body, options).then((request) => request(axios, basePath));
|
|
3000
|
-
},
|
|
3001
|
-
/**
|
|
3002
|
-
*
|
|
3003
|
-
* @summary Create New Machine Model
|
|
3004
|
-
* @param {string} projectId
|
|
3005
|
-
* @param {string} modelId
|
|
3006
|
-
* @param {Array<string>} requestBody
|
|
3007
|
-
* @param {*} [options] Override http request option.
|
|
3008
|
-
* @throws {RequiredError}
|
|
3009
|
-
*/
|
|
3010
|
-
machineModelControllerDeleteMachineModels(projectId, modelId, requestBody, options) {
|
|
3011
|
-
return localVarFp.machineModelControllerDeleteMachineModels(projectId, modelId, requestBody, options).then((request) => request(axios, basePath));
|
|
3012
|
-
},
|
|
3013
|
-
/**
|
|
3014
|
-
*
|
|
3015
|
-
* @summary Get all machine models with count
|
|
3016
|
-
* @param {string} projectId
|
|
3017
|
-
* @param {number} page
|
|
3018
|
-
* @param {number} limit
|
|
3019
|
-
* @param {*} [options] Override http request option.
|
|
3020
|
-
* @throws {RequiredError}
|
|
3021
|
-
*/
|
|
3022
|
-
machineModelControllerGetMachineInstanceByProjectId(projectId, page, limit, options) {
|
|
3023
|
-
return localVarFp.machineModelControllerGetMachineInstanceByProjectId(projectId, page, limit, options).then((request) => request(axios, basePath));
|
|
3024
|
-
},
|
|
3025
|
-
/**
|
|
3026
|
-
*
|
|
3027
|
-
* @summary Update machine model by id
|
|
3028
|
-
* @param {string} projectId
|
|
3029
|
-
* @param {string} modelId
|
|
3030
|
-
* @param {*} [options] Override http request option.
|
|
3031
|
-
* @throws {RequiredError}
|
|
3032
|
-
*/
|
|
3033
|
-
machineModelControllerUpdateMachineModel(projectId, modelId, options) {
|
|
3034
|
-
return localVarFp.machineModelControllerUpdateMachineModel(projectId, modelId, options).then((request) => request(axios, basePath));
|
|
3035
|
-
},
|
|
3036
|
-
};
|
|
3037
|
-
};
|
|
3038
|
-
/**
|
|
3039
|
-
* MachineModelsApi - object-oriented interface
|
|
3040
|
-
* @export
|
|
3041
|
-
* @class MachineModelsApi
|
|
3042
|
-
* @extends {BaseAPI}
|
|
3043
|
-
*/
|
|
3044
|
-
export class MachineModelsApi extends BaseAPI {
|
|
3045
|
-
/**
|
|
3046
|
-
*
|
|
3047
|
-
* @summary Create New Machine Model
|
|
3048
|
-
* @param {string} projectId
|
|
3049
|
-
* @param {object} body
|
|
3050
|
-
* @param {*} [options] Override http request option.
|
|
3051
|
-
* @throws {RequiredError}
|
|
3052
|
-
* @memberof MachineModelsApi
|
|
3053
|
-
*/
|
|
3054
|
-
machineModelControllerCreateMachineModel(projectId, body, options) {
|
|
3055
|
-
return MachineModelsApiFp(this.configuration).machineModelControllerCreateMachineModel(projectId, body, options).then((request) => request(this.axios, this.basePath));
|
|
3056
|
-
}
|
|
3057
|
-
/**
|
|
3058
|
-
*
|
|
3059
|
-
* @summary Create New Machine Model
|
|
3060
|
-
* @param {string} projectId
|
|
3061
|
-
* @param {string} modelId
|
|
3062
|
-
* @param {Array<string>} requestBody
|
|
3063
|
-
* @param {*} [options] Override http request option.
|
|
3064
|
-
* @throws {RequiredError}
|
|
3065
|
-
* @memberof MachineModelsApi
|
|
3066
|
-
*/
|
|
3067
|
-
machineModelControllerDeleteMachineModels(projectId, modelId, requestBody, options) {
|
|
3068
|
-
return MachineModelsApiFp(this.configuration).machineModelControllerDeleteMachineModels(projectId, modelId, requestBody, options).then((request) => request(this.axios, this.basePath));
|
|
3069
|
-
}
|
|
3070
|
-
/**
|
|
3071
|
-
*
|
|
3072
|
-
* @summary Get all machine models with count
|
|
3073
|
-
* @param {string} projectId
|
|
3074
|
-
* @param {number} page
|
|
3075
|
-
* @param {number} limit
|
|
3076
|
-
* @param {*} [options] Override http request option.
|
|
3077
|
-
* @throws {RequiredError}
|
|
3078
|
-
* @memberof MachineModelsApi
|
|
3079
|
-
*/
|
|
3080
|
-
machineModelControllerGetMachineInstanceByProjectId(projectId, page, limit, options) {
|
|
3081
|
-
return MachineModelsApiFp(this.configuration).machineModelControllerGetMachineInstanceByProjectId(projectId, page, limit, options).then((request) => request(this.axios, this.basePath));
|
|
3082
|
-
}
|
|
3083
|
-
/**
|
|
3084
|
-
*
|
|
3085
|
-
* @summary Update machine model by id
|
|
3086
|
-
* @param {string} projectId
|
|
3087
|
-
* @param {string} modelId
|
|
3088
|
-
* @param {*} [options] Override http request option.
|
|
3089
|
-
* @throws {RequiredError}
|
|
3090
|
-
* @memberof MachineModelsApi
|
|
3091
|
-
*/
|
|
3092
|
-
machineModelControllerUpdateMachineModel(projectId, modelId, options) {
|
|
3093
|
-
return MachineModelsApiFp(this.configuration).machineModelControllerUpdateMachineModel(projectId, modelId, options).then((request) => request(this.axios, this.basePath));
|
|
3094
|
-
}
|
|
3095
|
-
}
|
|
3096
|
-
/**
|
|
3097
|
-
* MembersApi - axios parameter creator
|
|
3098
|
-
* @export
|
|
3099
|
-
*/
|
|
3100
|
-
export const MembersApiAxiosParamCreator = function (configuration) {
|
|
3101
|
-
return {
|
|
3102
|
-
/**
|
|
3103
|
-
*
|
|
3104
|
-
* @summary Add a team member
|
|
3105
|
-
* @param {string} projectId
|
|
3106
|
-
* @param {AddProjectMemberDto} addProjectMemberDto
|
|
3107
|
-
* @param {*} [options] Override http request option.
|
|
3108
|
-
* @throws {RequiredError}
|
|
3109
|
-
*/
|
|
3110
|
-
membersControllerAddTeamMemberToProject: (projectId_1, addProjectMemberDto_1, ...args_1) => __awaiter(this, [projectId_1, addProjectMemberDto_1, ...args_1], void 0, function* (projectId, addProjectMemberDto, options = {}) {
|
|
3111
|
-
// verify required parameter 'projectId' is not null or undefined
|
|
3112
|
-
assertParamExists('membersControllerAddTeamMemberToProject', 'projectId', projectId);
|
|
3113
|
-
// verify required parameter 'addProjectMemberDto' is not null or undefined
|
|
3114
|
-
assertParamExists('membersControllerAddTeamMemberToProject', 'addProjectMemberDto', addProjectMemberDto);
|
|
3115
|
-
const localVarPath = `/projects/{projectId}/members`
|
|
3116
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
3117
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3118
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3119
|
-
let baseOptions;
|
|
3120
|
-
if (configuration) {
|
|
3121
|
-
baseOptions = configuration.baseOptions;
|
|
3122
|
-
}
|
|
3123
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
3124
|
-
const localVarHeaderParameter = {};
|
|
3125
|
-
const localVarQueryParameter = {};
|
|
3126
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3127
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3128
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3129
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3130
|
-
localVarRequestOptions.data = serializeDataIfNeeded(addProjectMemberDto, localVarRequestOptions, configuration);
|
|
3131
|
-
return {
|
|
3132
|
-
url: toPathString(localVarUrlObj),
|
|
3133
|
-
options: localVarRequestOptions,
|
|
3134
|
-
};
|
|
3135
|
-
}),
|
|
3136
|
-
/**
|
|
3137
|
-
*
|
|
3138
|
-
* @summary Retrieve all team members
|
|
3139
|
-
* @param {string} projectId
|
|
3140
|
-
* @param {number} [page]
|
|
3141
|
-
* @param {number} [limit]
|
|
3142
|
-
* @param {string} [column]
|
|
3143
|
-
* @param {MembersControllerGetAllTeamMembersOfProjectDirectionEnum} [direction]
|
|
3144
|
-
* @param {Array<string>} [teamMemberStatus]
|
|
3145
|
-
* @param {Array<number>} [roleIds]
|
|
3146
|
-
* @param {*} [options] Override http request option.
|
|
3147
|
-
* @throws {RequiredError}
|
|
3148
|
-
*/
|
|
3149
|
-
membersControllerGetAllTeamMembersOfProject: (projectId_1, page_1, limit_1, column_1, direction_1, teamMemberStatus_1, roleIds_1, ...args_1) => __awaiter(this, [projectId_1, page_1, limit_1, column_1, direction_1, teamMemberStatus_1, roleIds_1, ...args_1], void 0, function* (projectId, page, limit, column, direction, teamMemberStatus, roleIds, options = {}) {
|
|
3150
|
-
// verify required parameter 'projectId' is not null or undefined
|
|
3151
|
-
assertParamExists('membersControllerGetAllTeamMembersOfProject', 'projectId', projectId);
|
|
3152
|
-
const localVarPath = `/projects/{projectId}/members`
|
|
3153
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
3154
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3155
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3156
|
-
let baseOptions;
|
|
3157
|
-
if (configuration) {
|
|
3158
|
-
baseOptions = configuration.baseOptions;
|
|
3159
|
-
}
|
|
3160
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
3161
|
-
const localVarHeaderParameter = {};
|
|
3162
|
-
const localVarQueryParameter = {};
|
|
3163
|
-
if (page !== undefined) {
|
|
3164
|
-
localVarQueryParameter['page'] = page;
|
|
3165
|
-
}
|
|
3166
|
-
if (limit !== undefined) {
|
|
3167
|
-
localVarQueryParameter['limit'] = limit;
|
|
3168
|
-
}
|
|
3169
|
-
if (column !== undefined) {
|
|
3170
|
-
localVarQueryParameter['column'] = column;
|
|
3171
|
-
}
|
|
3172
|
-
if (direction !== undefined) {
|
|
3173
|
-
localVarQueryParameter['direction'] = direction;
|
|
3174
|
-
}
|
|
3175
|
-
if (teamMemberStatus) {
|
|
3176
|
-
localVarQueryParameter['teamMemberStatus'] = teamMemberStatus;
|
|
3177
|
-
}
|
|
3178
|
-
if (roleIds) {
|
|
3179
|
-
localVarQueryParameter['roleIds'] = roleIds;
|
|
3180
|
-
}
|
|
3181
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3182
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3183
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3184
|
-
return {
|
|
3185
|
-
url: toPathString(localVarUrlObj),
|
|
3186
|
-
options: localVarRequestOptions,
|
|
3187
|
-
};
|
|
3188
|
-
}),
|
|
3189
|
-
/**
|
|
3190
|
-
*
|
|
3191
|
-
* @summary Update team member details
|
|
3192
|
-
* @param {string} projectId
|
|
3193
|
-
* @param {string} memberId
|
|
3194
|
-
* @param {UpdateTeamMemberRequestDTO} updateTeamMemberRequestDTO
|
|
3195
|
-
* @param {*} [options] Override http request option.
|
|
3196
|
-
* @throws {RequiredError}
|
|
3197
|
-
*/
|
|
3198
|
-
membersControllerUpdateTeamMemberRole: (projectId_1, memberId_1, updateTeamMemberRequestDTO_1, ...args_1) => __awaiter(this, [projectId_1, memberId_1, updateTeamMemberRequestDTO_1, ...args_1], void 0, function* (projectId, memberId, updateTeamMemberRequestDTO, options = {}) {
|
|
3125
|
+
membersControllerUpdateTeamMemberRole: (projectId_1, memberId_1, updateTeamMemberRequestDTO_1, ...args_1) => __awaiter(this, [projectId_1, memberId_1, updateTeamMemberRequestDTO_1, ...args_1], void 0, function* (projectId, memberId, updateTeamMemberRequestDTO, options = {}) {
|
|
3199
3126
|
// verify required parameter 'projectId' is not null or undefined
|
|
3200
3127
|
assertParamExists('membersControllerUpdateTeamMemberRole', 'projectId', projectId);
|
|
3201
3128
|
// verify required parameter 'memberId' is not null or undefined
|
|
@@ -4241,45 +4168,6 @@ export const QueriesAndDocumentationsApiAxiosParamCreator = function (configurat
|
|
|
4241
4168
|
options: localVarRequestOptions,
|
|
4242
4169
|
};
|
|
4243
4170
|
}),
|
|
4244
|
-
/**
|
|
4245
|
-
*
|
|
4246
|
-
* @summary Fetch Swagger JSON
|
|
4247
|
-
* @param {string} projectId
|
|
4248
|
-
* @param {string} modelId
|
|
4249
|
-
* @param {string} queryId
|
|
4250
|
-
* @param {*} [options] Override http request option.
|
|
4251
|
-
* @throws {RequiredError}
|
|
4252
|
-
*/
|
|
4253
|
-
queriesAndDocControllerGetEventLogsByQueryId: (projectId_1, modelId_1, queryId_1, ...args_1) => __awaiter(this, [projectId_1, modelId_1, queryId_1, ...args_1], void 0, function* (projectId, modelId, queryId, options = {}) {
|
|
4254
|
-
// verify required parameter 'projectId' is not null or undefined
|
|
4255
|
-
assertParamExists('queriesAndDocControllerGetEventLogsByQueryId', 'projectId', projectId);
|
|
4256
|
-
// verify required parameter 'modelId' is not null or undefined
|
|
4257
|
-
assertParamExists('queriesAndDocControllerGetEventLogsByQueryId', 'modelId', modelId);
|
|
4258
|
-
// verify required parameter 'queryId' is not null or undefined
|
|
4259
|
-
assertParamExists('queriesAndDocControllerGetEventLogsByQueryId', 'queryId', queryId);
|
|
4260
|
-
const localVarPath = `/projects/{projectId}/queryData/{modelId}`
|
|
4261
|
-
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)))
|
|
4262
|
-
.replace(`{${"modelId"}}`, encodeURIComponent(String(modelId)));
|
|
4263
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4264
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4265
|
-
let baseOptions;
|
|
4266
|
-
if (configuration) {
|
|
4267
|
-
baseOptions = configuration.baseOptions;
|
|
4268
|
-
}
|
|
4269
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
4270
|
-
const localVarHeaderParameter = {};
|
|
4271
|
-
const localVarQueryParameter = {};
|
|
4272
|
-
if (queryId !== undefined) {
|
|
4273
|
-
localVarQueryParameter['queryId'] = queryId;
|
|
4274
|
-
}
|
|
4275
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4276
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4277
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4278
|
-
return {
|
|
4279
|
-
url: toPathString(localVarUrlObj),
|
|
4280
|
-
options: localVarRequestOptions,
|
|
4281
|
-
};
|
|
4282
|
-
}),
|
|
4283
4171
|
/**
|
|
4284
4172
|
*
|
|
4285
4173
|
* @summary Run Query
|
|
@@ -4336,24 +4224,6 @@ export const QueriesAndDocumentationsApiFp = function (configuration) {
|
|
|
4336
4224
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4337
4225
|
});
|
|
4338
4226
|
},
|
|
4339
|
-
/**
|
|
4340
|
-
*
|
|
4341
|
-
* @summary Fetch Swagger JSON
|
|
4342
|
-
* @param {string} projectId
|
|
4343
|
-
* @param {string} modelId
|
|
4344
|
-
* @param {string} queryId
|
|
4345
|
-
* @param {*} [options] Override http request option.
|
|
4346
|
-
* @throws {RequiredError}
|
|
4347
|
-
*/
|
|
4348
|
-
queriesAndDocControllerGetEventLogsByQueryId(projectId, modelId, queryId, options) {
|
|
4349
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
4350
|
-
var _a, _b, _c;
|
|
4351
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.queriesAndDocControllerGetEventLogsByQueryId(projectId, modelId, queryId, options);
|
|
4352
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4353
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['QueriesAndDocumentationsApi.queriesAndDocControllerGetEventLogsByQueryId']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4354
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4355
|
-
});
|
|
4356
|
-
},
|
|
4357
4227
|
/**
|
|
4358
4228
|
*
|
|
4359
4229
|
* @summary Run Query
|
|
@@ -4391,18 +4261,6 @@ export const QueriesAndDocumentationsApiFactory = function (configuration, baseP
|
|
|
4391
4261
|
queriesAndDocControllerFetchSwaggerJSON(modelId, projectId, fieldName, options) {
|
|
4392
4262
|
return localVarFp.queriesAndDocControllerFetchSwaggerJSON(modelId, projectId, fieldName, options).then((request) => request(axios, basePath));
|
|
4393
4263
|
},
|
|
4394
|
-
/**
|
|
4395
|
-
*
|
|
4396
|
-
* @summary Fetch Swagger JSON
|
|
4397
|
-
* @param {string} projectId
|
|
4398
|
-
* @param {string} modelId
|
|
4399
|
-
* @param {string} queryId
|
|
4400
|
-
* @param {*} [options] Override http request option.
|
|
4401
|
-
* @throws {RequiredError}
|
|
4402
|
-
*/
|
|
4403
|
-
queriesAndDocControllerGetEventLogsByQueryId(projectId, modelId, queryId, options) {
|
|
4404
|
-
return localVarFp.queriesAndDocControllerGetEventLogsByQueryId(projectId, modelId, queryId, options).then((request) => request(axios, basePath));
|
|
4405
|
-
},
|
|
4406
4264
|
/**
|
|
4407
4265
|
*
|
|
4408
4266
|
* @summary Run Query
|
|
@@ -4435,19 +4293,6 @@ export class QueriesAndDocumentationsApi extends BaseAPI {
|
|
|
4435
4293
|
queriesAndDocControllerFetchSwaggerJSON(modelId, projectId, fieldName, options) {
|
|
4436
4294
|
return QueriesAndDocumentationsApiFp(this.configuration).queriesAndDocControllerFetchSwaggerJSON(modelId, projectId, fieldName, options).then((request) => request(this.axios, this.basePath));
|
|
4437
4295
|
}
|
|
4438
|
-
/**
|
|
4439
|
-
*
|
|
4440
|
-
* @summary Fetch Swagger JSON
|
|
4441
|
-
* @param {string} projectId
|
|
4442
|
-
* @param {string} modelId
|
|
4443
|
-
* @param {string} queryId
|
|
4444
|
-
* @param {*} [options] Override http request option.
|
|
4445
|
-
* @throws {RequiredError}
|
|
4446
|
-
* @memberof QueriesAndDocumentationsApi
|
|
4447
|
-
*/
|
|
4448
|
-
queriesAndDocControllerGetEventLogsByQueryId(projectId, modelId, queryId, options) {
|
|
4449
|
-
return QueriesAndDocumentationsApiFp(this.configuration).queriesAndDocControllerGetEventLogsByQueryId(projectId, modelId, queryId, options).then((request) => request(this.axios, this.basePath));
|
|
4450
|
-
}
|
|
4451
4296
|
/**
|
|
4452
4297
|
*
|
|
4453
4298
|
* @summary Run Query
|