@epam/ai-dial-chat-api-client 1.1.0-dev.140
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/generated/src/apis/AppConfigApi.d.ts +30 -0
- package/generated/src/apis/AppConfigApi.d.ts.map +1 -0
- package/generated/src/apis/AppConfigApi.js +52 -0
- package/generated/src/apis/ApplicationsApi.d.ts +96 -0
- package/generated/src/apis/ApplicationsApi.d.ts.map +1 -0
- package/generated/src/apis/ApplicationsApi.js +189 -0
- package/generated/src/apis/AuthApi.d.ts +65 -0
- package/generated/src/apis/AuthApi.d.ts.map +1 -0
- package/generated/src/apis/AuthApi.js +146 -0
- package/generated/src/apis/ChatApi.d.ts +30 -0
- package/generated/src/apis/ChatApi.d.ts.map +1 -0
- package/generated/src/apis/ChatApi.js +51 -0
- package/generated/src/apis/ClientChannelApi.d.ts +59 -0
- package/generated/src/apis/ClientChannelApi.d.ts.map +1 -0
- package/generated/src/apis/ClientChannelApi.js +113 -0
- package/generated/src/apis/ConversationsApi.d.ts +231 -0
- package/generated/src/apis/ConversationsApi.d.ts.map +1 -0
- package/generated/src/apis/ConversationsApi.js +527 -0
- package/generated/src/apis/DeploymentsApi.d.ts +81 -0
- package/generated/src/apis/DeploymentsApi.d.ts.map +1 -0
- package/generated/src/apis/DeploymentsApi.js +146 -0
- package/generated/src/apis/ExternalServicesApi.d.ts +63 -0
- package/generated/src/apis/ExternalServicesApi.d.ts.map +1 -0
- package/generated/src/apis/ExternalServicesApi.js +130 -0
- package/generated/src/apis/FilesApi.d.ts +224 -0
- package/generated/src/apis/FilesApi.d.ts.map +1 -0
- package/generated/src/apis/FilesApi.js +570 -0
- package/generated/src/apis/HealthApi.d.ts +29 -0
- package/generated/src/apis/HealthApi.d.ts.map +1 -0
- package/generated/src/apis/HealthApi.js +48 -0
- package/generated/src/apis/ModelsApi.d.ts +42 -0
- package/generated/src/apis/ModelsApi.d.ts.map +1 -0
- package/generated/src/apis/ModelsApi.js +76 -0
- package/generated/src/apis/PromptsApi.d.ts +139 -0
- package/generated/src/apis/PromptsApi.d.ts.map +1 -0
- package/generated/src/apis/PromptsApi.js +333 -0
- package/generated/src/apis/PublishApi.d.ts +79 -0
- package/generated/src/apis/PublishApi.d.ts.map +1 -0
- package/generated/src/apis/PublishApi.js +139 -0
- package/generated/src/apis/RateApi.d.ts +32 -0
- package/generated/src/apis/RateApi.d.ts.map +1 -0
- package/generated/src/apis/RateApi.js +52 -0
- package/generated/src/apis/ScheduledTasksApi.d.ts +100 -0
- package/generated/src/apis/ScheduledTasksApi.d.ts.map +1 -0
- package/generated/src/apis/ScheduledTasksApi.js +193 -0
- package/generated/src/apis/ShareApi.d.ts +58 -0
- package/generated/src/apis/ShareApi.d.ts.map +1 -0
- package/generated/src/apis/ShareApi.js +110 -0
- package/generated/src/apis/ThemesApi.d.ts +42 -0
- package/generated/src/apis/ThemesApi.d.ts.map +1 -0
- package/generated/src/apis/ThemesApi.js +83 -0
- package/generated/src/apis/ToolsetsApi.d.ts +110 -0
- package/generated/src/apis/ToolsetsApi.d.ts.map +1 -0
- package/generated/src/apis/ToolsetsApi.js +231 -0
- package/generated/src/apis/TranscriptionApi.d.ts +30 -0
- package/generated/src/apis/TranscriptionApi.d.ts.map +1 -0
- package/generated/src/apis/TranscriptionApi.js +51 -0
- package/generated/src/apis/UserConfigApi.d.ts +71 -0
- package/generated/src/apis/UserConfigApi.d.ts.map +1 -0
- package/generated/src/apis/UserConfigApi.js +150 -0
- package/generated/src/apis/index.d.ts +21 -0
- package/generated/src/apis/index.d.ts.map +1 -0
- package/generated/src/apis/index.js +25 -0
- package/generated/src/index.d.ts +4 -0
- package/generated/src/index.d.ts.map +1 -0
- package/generated/src/index.js +8 -0
- package/generated/src/models/index.d.ts +6178 -0
- package/generated/src/models/index.d.ts.map +1 -0
- package/generated/src/models/index.js +328 -0
- package/generated/src/runtime.d.ts +182 -0
- package/generated/src/runtime.d.ts.map +1 -0
- package/generated/src/runtime.js +347 -0
- package/index.d.ts +2 -0
- package/index.d.ts.map +1 -0
- package/index.js +4 -0
- package/package.json +26 -0
- package/tsconfig.lib.tsbuildinfo +1 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Chat API
|
|
3
|
+
* REST API for the chat application. Provides endpoints for theme configuration, authentication, and management. All endpoints return appropriate HTTP status codes (200, 400, 401, 403, 404, 502, 503) with descriptive error messages.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import * as runtime from '../runtime';
|
|
13
|
+
import type { TranscribeAudio200Response, TranscribeAudioDto } from '../models/index';
|
|
14
|
+
export interface TranscribeAudioRequest {
|
|
15
|
+
transcribeAudioDto: TranscribeAudioDto;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
export declare class TranscriptionApi extends runtime.BaseAPI {
|
|
21
|
+
/**
|
|
22
|
+
* Transcribe audio using the configured ASR model
|
|
23
|
+
*/
|
|
24
|
+
transcribeAudioRaw(requestParameters: TranscribeAudioRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TranscribeAudio200Response>>;
|
|
25
|
+
/**
|
|
26
|
+
* Transcribe audio using the configured ASR model
|
|
27
|
+
*/
|
|
28
|
+
transcribeAudio(requestParameters: TranscribeAudioRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TranscribeAudio200Response>;
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=TranscriptionApi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TranscriptionApi.d.ts","sourceRoot":"","sources":["../../../../src/generated/src/apis/TranscriptionApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AACtC,OAAO,KAAK,EACV,0BAA0B,EAC1B,kBAAkB,EACnB,MAAM,iBAAiB,CAAC;AAEzB,MAAM,WAAW,sBAAsB;IACrC,kBAAkB,EAAE,kBAAkB,CAAC;CACxC;AAED;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,OAAO,CAAC,OAAO;IACnD;;OAEG;IACG,kBAAkB,CACtB,iBAAiB,EAAE,sBAAsB,EACzC,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,0BAA0B,CAAC,CAAC;IA8B3D;;OAEG;IACG,eAAe,CACnB,iBAAiB,EAAE,sBAAsB,EACzC,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,0BAA0B,CAAC;CAOvC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Chat API
|
|
6
|
+
* REST API for the chat application. Provides endpoints for theme configuration, authentication, and management. All endpoints return appropriate HTTP status codes (200, 400, 401, 403, 404, 502, 503) with descriptive error messages.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.TranscriptionApi = void 0;
|
|
17
|
+
const tslib_1 = require("tslib");
|
|
18
|
+
const runtime = tslib_1.__importStar(require("../runtime"));
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
class TranscriptionApi extends runtime.BaseAPI {
|
|
23
|
+
/**
|
|
24
|
+
* Transcribe audio using the configured ASR model
|
|
25
|
+
*/
|
|
26
|
+
async transcribeAudioRaw(requestParameters, initOverrides) {
|
|
27
|
+
if (requestParameters['transcribeAudioDto'] == null) {
|
|
28
|
+
throw new runtime.RequiredError('transcribeAudioDto', 'Required parameter "transcribeAudioDto" was null or undefined when calling transcribeAudio().');
|
|
29
|
+
}
|
|
30
|
+
const queryParameters = {};
|
|
31
|
+
const headerParameters = {};
|
|
32
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
33
|
+
let urlPath = `/api/v1/transcription`;
|
|
34
|
+
const response = await this.request({
|
|
35
|
+
path: urlPath,
|
|
36
|
+
method: 'POST',
|
|
37
|
+
headers: headerParameters,
|
|
38
|
+
query: queryParameters,
|
|
39
|
+
body: requestParameters['transcribeAudioDto'],
|
|
40
|
+
}, initOverrides);
|
|
41
|
+
return new runtime.JSONApiResponse(response);
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Transcribe audio using the configured ASR model
|
|
45
|
+
*/
|
|
46
|
+
async transcribeAudio(requestParameters, initOverrides) {
|
|
47
|
+
const response = await this.transcribeAudioRaw(requestParameters, initOverrides);
|
|
48
|
+
return await response.value();
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.TranscriptionApi = TranscriptionApi;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Chat API
|
|
3
|
+
* REST API for the chat application. Provides endpoints for theme configuration, authentication, and management. All endpoints return appropriate HTTP status codes (200, 400, 401, 403, 404, 502, 503) with descriptive error messages.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import * as runtime from '../runtime';
|
|
13
|
+
import type { UpdateInstalledDto, UpdatePinsDto, UpdateSelectedDeploymentDto, UserConfigDto } from '../models/index';
|
|
14
|
+
export interface UpdateInstalledDeploymentRequest {
|
|
15
|
+
updateInstalledDto: UpdateInstalledDto;
|
|
16
|
+
}
|
|
17
|
+
export interface UpdateInstalledToolsetRequest {
|
|
18
|
+
updateInstalledDto: UpdateInstalledDto;
|
|
19
|
+
}
|
|
20
|
+
export interface UpdatePinRequest {
|
|
21
|
+
updatePinsDto: UpdatePinsDto;
|
|
22
|
+
}
|
|
23
|
+
export interface UpdateSelectedDeploymentRequest {
|
|
24
|
+
updateSelectedDeploymentDto: UpdateSelectedDeploymentDto;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
export declare class UserConfigApi extends runtime.BaseAPI {
|
|
30
|
+
/**
|
|
31
|
+
* Get current user configuration
|
|
32
|
+
*/
|
|
33
|
+
getUserConfigRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UserConfigDto>>;
|
|
34
|
+
/**
|
|
35
|
+
* Get current user configuration
|
|
36
|
+
*/
|
|
37
|
+
getUserConfig(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UserConfigDto>;
|
|
38
|
+
/**
|
|
39
|
+
* Install or uninstall a deployment
|
|
40
|
+
*/
|
|
41
|
+
updateInstalledDeploymentRaw(requestParameters: UpdateInstalledDeploymentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
42
|
+
/**
|
|
43
|
+
* Install or uninstall a deployment
|
|
44
|
+
*/
|
|
45
|
+
updateInstalledDeployment(requestParameters: UpdateInstalledDeploymentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
46
|
+
/**
|
|
47
|
+
* Install or uninstall a toolset
|
|
48
|
+
*/
|
|
49
|
+
updateInstalledToolsetRaw(requestParameters: UpdateInstalledToolsetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
50
|
+
/**
|
|
51
|
+
* Install or uninstall a toolset
|
|
52
|
+
*/
|
|
53
|
+
updateInstalledToolset(requestParameters: UpdateInstalledToolsetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
54
|
+
/**
|
|
55
|
+
* Pin or unpin a conversation
|
|
56
|
+
*/
|
|
57
|
+
updatePinRaw(requestParameters: UpdatePinRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
58
|
+
/**
|
|
59
|
+
* Pin or unpin a conversation
|
|
60
|
+
*/
|
|
61
|
+
updatePin(requestParameters: UpdatePinRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
62
|
+
/**
|
|
63
|
+
* Set the selected deployment
|
|
64
|
+
*/
|
|
65
|
+
updateSelectedDeploymentRaw(requestParameters: UpdateSelectedDeploymentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
66
|
+
/**
|
|
67
|
+
* Set the selected deployment
|
|
68
|
+
*/
|
|
69
|
+
updateSelectedDeployment(requestParameters: UpdateSelectedDeploymentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
70
|
+
}
|
|
71
|
+
//# sourceMappingURL=UserConfigApi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UserConfigApi.d.ts","sourceRoot":"","sources":["../../../../src/generated/src/apis/UserConfigApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AACtC,OAAO,KAAK,EACV,kBAAkB,EAClB,aAAa,EACb,2BAA2B,EAC3B,aAAa,EACd,MAAM,iBAAiB,CAAC;AAEzB,MAAM,WAAW,gCAAgC;IAC/C,kBAAkB,EAAE,kBAAkB,CAAC;CACxC;AAED,MAAM,WAAW,6BAA6B;IAC5C,kBAAkB,EAAE,kBAAkB,CAAC;CACxC;AAED,MAAM,WAAW,gBAAgB;IAC/B,aAAa,EAAE,aAAa,CAAC;CAC9B;AAED,MAAM,WAAW,+BAA+B;IAC9C,2BAA2B,EAAE,2BAA2B,CAAC;CAC1D;AAED;;GAEG;AACH,qBAAa,aAAc,SAAQ,OAAO,CAAC,OAAO;IAChD;;OAEG;IACG,gBAAgB,CACpB,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,aAAa,CAAC,CAAC;IAoB9C;;OAEG;IACG,aAAa,CACjB,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,aAAa,CAAC;IAKzB;;OAEG;IACG,4BAA4B,CAChC,iBAAiB,EAAE,gCAAgC,EACnD,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;IA8BrC;;OAEG;IACG,yBAAyB,CAC7B,iBAAiB,EAAE,gCAAgC,EACnD,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,IAAI,CAAC;IAIhB;;OAEG;IACG,yBAAyB,CAC7B,iBAAiB,EAAE,6BAA6B,EAChD,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;IA8BrC;;OAEG;IACG,sBAAsB,CAC1B,iBAAiB,EAAE,6BAA6B,EAChD,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,IAAI,CAAC;IAIhB;;OAEG;IACG,YAAY,CAChB,iBAAiB,EAAE,gBAAgB,EACnC,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;IA8BrC;;OAEG;IACG,SAAS,CACb,iBAAiB,EAAE,gBAAgB,EACnC,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,IAAI,CAAC;IAIhB;;OAEG;IACG,2BAA2B,CAC/B,iBAAiB,EAAE,+BAA+B,EAClD,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;IA8BrC;;OAEG;IACG,wBAAwB,CAC5B,iBAAiB,EAAE,+BAA+B,EAClD,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GACzD,OAAO,CAAC,IAAI,CAAC;CAGjB"}
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Chat API
|
|
6
|
+
* REST API for the chat application. Provides endpoints for theme configuration, authentication, and management. All endpoints return appropriate HTTP status codes (200, 400, 401, 403, 404, 502, 503) with descriptive error messages.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.UserConfigApi = void 0;
|
|
17
|
+
const tslib_1 = require("tslib");
|
|
18
|
+
const runtime = tslib_1.__importStar(require("../runtime"));
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
class UserConfigApi extends runtime.BaseAPI {
|
|
23
|
+
/**
|
|
24
|
+
* Get current user configuration
|
|
25
|
+
*/
|
|
26
|
+
async getUserConfigRaw(initOverrides) {
|
|
27
|
+
const queryParameters = {};
|
|
28
|
+
const headerParameters = {};
|
|
29
|
+
let urlPath = `/api/v1/user-config`;
|
|
30
|
+
const response = await this.request({
|
|
31
|
+
path: urlPath,
|
|
32
|
+
method: 'GET',
|
|
33
|
+
headers: headerParameters,
|
|
34
|
+
query: queryParameters,
|
|
35
|
+
}, initOverrides);
|
|
36
|
+
return new runtime.JSONApiResponse(response);
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Get current user configuration
|
|
40
|
+
*/
|
|
41
|
+
async getUserConfig(initOverrides) {
|
|
42
|
+
const response = await this.getUserConfigRaw(initOverrides);
|
|
43
|
+
return await response.value();
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Install or uninstall a deployment
|
|
47
|
+
*/
|
|
48
|
+
async updateInstalledDeploymentRaw(requestParameters, initOverrides) {
|
|
49
|
+
if (requestParameters['updateInstalledDto'] == null) {
|
|
50
|
+
throw new runtime.RequiredError('updateInstalledDto', 'Required parameter "updateInstalledDto" was null or undefined when calling updateInstalledDeployment().');
|
|
51
|
+
}
|
|
52
|
+
const queryParameters = {};
|
|
53
|
+
const headerParameters = {};
|
|
54
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
55
|
+
let urlPath = `/api/v1/user-config/deployments`;
|
|
56
|
+
const response = await this.request({
|
|
57
|
+
path: urlPath,
|
|
58
|
+
method: 'PATCH',
|
|
59
|
+
headers: headerParameters,
|
|
60
|
+
query: queryParameters,
|
|
61
|
+
body: requestParameters['updateInstalledDto'],
|
|
62
|
+
}, initOverrides);
|
|
63
|
+
return new runtime.VoidApiResponse(response);
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Install or uninstall a deployment
|
|
67
|
+
*/
|
|
68
|
+
async updateInstalledDeployment(requestParameters, initOverrides) {
|
|
69
|
+
await this.updateInstalledDeploymentRaw(requestParameters, initOverrides);
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Install or uninstall a toolset
|
|
73
|
+
*/
|
|
74
|
+
async updateInstalledToolsetRaw(requestParameters, initOverrides) {
|
|
75
|
+
if (requestParameters['updateInstalledDto'] == null) {
|
|
76
|
+
throw new runtime.RequiredError('updateInstalledDto', 'Required parameter "updateInstalledDto" was null or undefined when calling updateInstalledToolset().');
|
|
77
|
+
}
|
|
78
|
+
const queryParameters = {};
|
|
79
|
+
const headerParameters = {};
|
|
80
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
81
|
+
let urlPath = `/api/v1/user-config/toolsets`;
|
|
82
|
+
const response = await this.request({
|
|
83
|
+
path: urlPath,
|
|
84
|
+
method: 'PATCH',
|
|
85
|
+
headers: headerParameters,
|
|
86
|
+
query: queryParameters,
|
|
87
|
+
body: requestParameters['updateInstalledDto'],
|
|
88
|
+
}, initOverrides);
|
|
89
|
+
return new runtime.VoidApiResponse(response);
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Install or uninstall a toolset
|
|
93
|
+
*/
|
|
94
|
+
async updateInstalledToolset(requestParameters, initOverrides) {
|
|
95
|
+
await this.updateInstalledToolsetRaw(requestParameters, initOverrides);
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Pin or unpin a conversation
|
|
99
|
+
*/
|
|
100
|
+
async updatePinRaw(requestParameters, initOverrides) {
|
|
101
|
+
if (requestParameters['updatePinsDto'] == null) {
|
|
102
|
+
throw new runtime.RequiredError('updatePinsDto', 'Required parameter "updatePinsDto" was null or undefined when calling updatePin().');
|
|
103
|
+
}
|
|
104
|
+
const queryParameters = {};
|
|
105
|
+
const headerParameters = {};
|
|
106
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
107
|
+
let urlPath = `/api/v1/user-config/pins`;
|
|
108
|
+
const response = await this.request({
|
|
109
|
+
path: urlPath,
|
|
110
|
+
method: 'PATCH',
|
|
111
|
+
headers: headerParameters,
|
|
112
|
+
query: queryParameters,
|
|
113
|
+
body: requestParameters['updatePinsDto'],
|
|
114
|
+
}, initOverrides);
|
|
115
|
+
return new runtime.VoidApiResponse(response);
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* Pin or unpin a conversation
|
|
119
|
+
*/
|
|
120
|
+
async updatePin(requestParameters, initOverrides) {
|
|
121
|
+
await this.updatePinRaw(requestParameters, initOverrides);
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* Set the selected deployment
|
|
125
|
+
*/
|
|
126
|
+
async updateSelectedDeploymentRaw(requestParameters, initOverrides) {
|
|
127
|
+
if (requestParameters['updateSelectedDeploymentDto'] == null) {
|
|
128
|
+
throw new runtime.RequiredError('updateSelectedDeploymentDto', 'Required parameter "updateSelectedDeploymentDto" was null or undefined when calling updateSelectedDeployment().');
|
|
129
|
+
}
|
|
130
|
+
const queryParameters = {};
|
|
131
|
+
const headerParameters = {};
|
|
132
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
133
|
+
let urlPath = `/api/v1/user-config/deployments/selected`;
|
|
134
|
+
const response = await this.request({
|
|
135
|
+
path: urlPath,
|
|
136
|
+
method: 'PATCH',
|
|
137
|
+
headers: headerParameters,
|
|
138
|
+
query: queryParameters,
|
|
139
|
+
body: requestParameters['updateSelectedDeploymentDto'],
|
|
140
|
+
}, initOverrides);
|
|
141
|
+
return new runtime.VoidApiResponse(response);
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* Set the selected deployment
|
|
145
|
+
*/
|
|
146
|
+
async updateSelectedDeployment(requestParameters, initOverrides) {
|
|
147
|
+
await this.updateSelectedDeploymentRaw(requestParameters, initOverrides);
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
exports.UserConfigApi = UserConfigApi;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export * from './AppConfigApi';
|
|
2
|
+
export * from './ApplicationsApi';
|
|
3
|
+
export * from './AuthApi';
|
|
4
|
+
export * from './ChatApi';
|
|
5
|
+
export * from './ClientChannelApi';
|
|
6
|
+
export * from './ConversationsApi';
|
|
7
|
+
export * from './DeploymentsApi';
|
|
8
|
+
export * from './ExternalServicesApi';
|
|
9
|
+
export * from './FilesApi';
|
|
10
|
+
export * from './HealthApi';
|
|
11
|
+
export * from './ModelsApi';
|
|
12
|
+
export * from './PromptsApi';
|
|
13
|
+
export * from './PublishApi';
|
|
14
|
+
export * from './RateApi';
|
|
15
|
+
export * from './ScheduledTasksApi';
|
|
16
|
+
export * from './ShareApi';
|
|
17
|
+
export * from './ThemesApi';
|
|
18
|
+
export * from './ToolsetsApi';
|
|
19
|
+
export * from './TranscriptionApi';
|
|
20
|
+
export * from './UserConfigApi';
|
|
21
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/generated/src/apis/index.ts"],"names":[],"mappings":"AAEA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,qBAAqB,CAAC;AACpC,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
tslib_1.__exportStar(require("./AppConfigApi"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./ApplicationsApi"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./AuthApi"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./ChatApi"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./ClientChannelApi"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./ConversationsApi"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./DeploymentsApi"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./ExternalServicesApi"), exports);
|
|
14
|
+
tslib_1.__exportStar(require("./FilesApi"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./HealthApi"), exports);
|
|
16
|
+
tslib_1.__exportStar(require("./ModelsApi"), exports);
|
|
17
|
+
tslib_1.__exportStar(require("./PromptsApi"), exports);
|
|
18
|
+
tslib_1.__exportStar(require("./PublishApi"), exports);
|
|
19
|
+
tslib_1.__exportStar(require("./RateApi"), exports);
|
|
20
|
+
tslib_1.__exportStar(require("./ScheduledTasksApi"), exports);
|
|
21
|
+
tslib_1.__exportStar(require("./ShareApi"), exports);
|
|
22
|
+
tslib_1.__exportStar(require("./ThemesApi"), exports);
|
|
23
|
+
tslib_1.__exportStar(require("./ToolsetsApi"), exports);
|
|
24
|
+
tslib_1.__exportStar(require("./TranscriptionApi"), exports);
|
|
25
|
+
tslib_1.__exportStar(require("./UserConfigApi"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/generated/src/index.ts"],"names":[],"mappings":"AAEA,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
tslib_1.__exportStar(require("./runtime"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./apis/index"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./models/index"), exports);
|