@breign/client 1.0.107 → 1.0.108
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/dist/apis/ConversationsApi.d.ts +11 -11
- package/dist/apis/ConversationsApi.js +11 -10
- package/dist/apis/InstancesApi.d.ts +45 -0
- package/dist/apis/InstancesApi.js +120 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/ConversationUio.d.ts +19 -0
- package/dist/models/ConversationUio.js +7 -0
- package/dist/models/CreateCustomVariable200ResponseUio.d.ts +40 -0
- package/dist/models/CreateCustomVariable200ResponseUio.js +54 -0
- package/dist/models/InstanceContextPatchUio.d.ts +34 -0
- package/dist/models/InstanceContextPatchUio.js +50 -0
- package/dist/models/InstanceContextUio.d.ts +34 -0
- package/dist/models/InstanceContextUio.js +48 -0
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/dist/openapi.json +167 -6
- package/package.json +1 -1
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { AttachmentCreateRequestUio, AttachmentCreateResponseUio, AttachmentDetailsResponseUio, BodyWithMessageUio, ContextUio, ConversationSummaryUio, UpdateConversationTitleRequestUio } from '../models/index';
|
|
13
|
+
import type { AttachmentCreateRequestUio, AttachmentCreateResponseUio, AttachmentDetailsResponseUio, BodyWithMessageUio, ContextUio, ConversationSummaryUio, CreateCustomVariable200ResponseUio, UpdateConversationTitleRequestUio } from '../models/index';
|
|
14
14
|
export interface ArchiveConversationByIdRequest {
|
|
15
15
|
conversationId: string;
|
|
16
16
|
}
|
|
@@ -77,17 +77,17 @@ export declare class ConversationsApi extends runtime.BaseAPI {
|
|
|
77
77
|
*/
|
|
78
78
|
archiveConversationById(conversationId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
79
79
|
/**
|
|
80
|
-
*
|
|
81
|
-
*
|
|
80
|
+
* Replaces the full set of custom context variables for a conversation. Omitted keys are removed.
|
|
81
|
+
* Replace conversation custom context variables
|
|
82
82
|
*/
|
|
83
|
-
createCustomVariableRaw(requestParameters: CreateCustomVariableRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
83
|
+
createCustomVariableRaw(requestParameters: CreateCustomVariableRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateCustomVariable200ResponseUio>>;
|
|
84
84
|
/**
|
|
85
|
-
*
|
|
86
|
-
*
|
|
85
|
+
* Replaces the full set of custom context variables for a conversation. Omitted keys are removed.
|
|
86
|
+
* Replace conversation custom context variables
|
|
87
87
|
*/
|
|
88
88
|
createCustomVariable(conversationId: string, requestBody: {
|
|
89
89
|
[key: string]: string;
|
|
90
|
-
}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
90
|
+
}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateCustomVariable200ResponseUio>;
|
|
91
91
|
/**
|
|
92
92
|
* Remove all attachments from the context of a specific conversation.
|
|
93
93
|
* Delete all attachments from a conversation context.
|
|
@@ -149,15 +149,15 @@ export declare class ConversationsApi extends runtime.BaseAPI {
|
|
|
149
149
|
*/
|
|
150
150
|
getContext(conversationId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ContextUio>;
|
|
151
151
|
/**
|
|
152
|
-
*
|
|
153
|
-
* Get
|
|
152
|
+
* Returns all custom context variables for a conversation.
|
|
153
|
+
* Get conversation custom context variables
|
|
154
154
|
*/
|
|
155
155
|
getContextCustomVariableRaw(requestParameters: GetContextCustomVariableRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<{
|
|
156
156
|
[key: string]: string;
|
|
157
157
|
}>>;
|
|
158
158
|
/**
|
|
159
|
-
*
|
|
160
|
-
* Get
|
|
159
|
+
* Returns all custom context variables for a conversation.
|
|
160
|
+
* Get conversation custom context variables
|
|
161
161
|
*/
|
|
162
162
|
getContextCustomVariable(conversationId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<{
|
|
163
163
|
[key: string]: string;
|
|
@@ -82,8 +82,8 @@ class ConversationsApi extends runtime.BaseAPI {
|
|
|
82
82
|
await this.archiveConversationByIdRaw({ conversationId: conversationId }, initOverrides);
|
|
83
83
|
}
|
|
84
84
|
/**
|
|
85
|
-
*
|
|
86
|
-
*
|
|
85
|
+
* Replaces the full set of custom context variables for a conversation. Omitted keys are removed.
|
|
86
|
+
* Replace conversation custom context variables
|
|
87
87
|
*/
|
|
88
88
|
async createCustomVariableRaw(requestParameters, initOverrides) {
|
|
89
89
|
if (requestParameters['conversationId'] == null) {
|
|
@@ -105,14 +105,15 @@ class ConversationsApi extends runtime.BaseAPI {
|
|
|
105
105
|
query: queryParameters,
|
|
106
106
|
body: requestParameters['requestBody'],
|
|
107
107
|
}, initOverrides);
|
|
108
|
-
return new runtime.
|
|
108
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.CreateCustomVariable200ResponseUioFromJSON)(jsonValue));
|
|
109
109
|
}
|
|
110
110
|
/**
|
|
111
|
-
*
|
|
112
|
-
*
|
|
111
|
+
* Replaces the full set of custom context variables for a conversation. Omitted keys are removed.
|
|
112
|
+
* Replace conversation custom context variables
|
|
113
113
|
*/
|
|
114
114
|
async createCustomVariable(conversationId, requestBody, initOverrides) {
|
|
115
|
-
await this.createCustomVariableRaw({ conversationId: conversationId, requestBody: requestBody }, initOverrides);
|
|
115
|
+
const response = await this.createCustomVariableRaw({ conversationId: conversationId, requestBody: requestBody }, initOverrides);
|
|
116
|
+
return await response.value();
|
|
116
117
|
}
|
|
117
118
|
/**
|
|
118
119
|
* Remove all attachments from the context of a specific conversation.
|
|
@@ -300,8 +301,8 @@ class ConversationsApi extends runtime.BaseAPI {
|
|
|
300
301
|
return await response.value();
|
|
301
302
|
}
|
|
302
303
|
/**
|
|
303
|
-
*
|
|
304
|
-
* Get
|
|
304
|
+
* Returns all custom context variables for a conversation.
|
|
305
|
+
* Get conversation custom context variables
|
|
305
306
|
*/
|
|
306
307
|
async getContextCustomVariableRaw(requestParameters, initOverrides) {
|
|
307
308
|
if (requestParameters['conversationId'] == null) {
|
|
@@ -321,8 +322,8 @@ class ConversationsApi extends runtime.BaseAPI {
|
|
|
321
322
|
return new runtime.JSONApiResponse(response);
|
|
322
323
|
}
|
|
323
324
|
/**
|
|
324
|
-
*
|
|
325
|
-
* Get
|
|
325
|
+
* Returns all custom context variables for a conversation.
|
|
326
|
+
* Get conversation custom context variables
|
|
326
327
|
*/
|
|
327
328
|
async getContextCustomVariable(conversationId, initOverrides) {
|
|
328
329
|
const response = await this.getContextCustomVariableRaw({ conversationId: conversationId }, initOverrides);
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* brain-client
|
|
3
|
+
* Api ands models for brain-app and brain-app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
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 { InstanceContextPatchUio, InstanceContextUio } from '../models/index';
|
|
14
|
+
export interface GetInstanceContextRequest {
|
|
15
|
+
instanceId: string;
|
|
16
|
+
}
|
|
17
|
+
export interface PatchInstanceContextRequest {
|
|
18
|
+
instanceId: string;
|
|
19
|
+
instanceContextPatchUio: InstanceContextPatchUio;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
24
|
+
export declare class InstancesApi extends runtime.BaseAPI {
|
|
25
|
+
/**
|
|
26
|
+
* Returns the custom context variables for an app instance.
|
|
27
|
+
* Get instance context
|
|
28
|
+
*/
|
|
29
|
+
getInstanceContextRaw(requestParameters: GetInstanceContextRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<InstanceContextUio>>;
|
|
30
|
+
/**
|
|
31
|
+
* Returns the custom context variables for an app instance.
|
|
32
|
+
* Get instance context
|
|
33
|
+
*/
|
|
34
|
+
getInstanceContext(instanceId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<InstanceContextUio>;
|
|
35
|
+
/**
|
|
36
|
+
* Replaces the custom context variables for an app instance.
|
|
37
|
+
* Update instance context
|
|
38
|
+
*/
|
|
39
|
+
patchInstanceContextRaw(requestParameters: PatchInstanceContextRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<InstanceContextUio>>;
|
|
40
|
+
/**
|
|
41
|
+
* Replaces the custom context variables for an app instance.
|
|
42
|
+
* Update instance context
|
|
43
|
+
*/
|
|
44
|
+
patchInstanceContext(instanceId: string, instanceContextPatchUio: InstanceContextPatchUio, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<InstanceContextUio>;
|
|
45
|
+
}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* brain-client
|
|
6
|
+
* Api ands models for brain-app and brain-app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
16
|
+
if (k2 === undefined) k2 = k;
|
|
17
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
18
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
19
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
20
|
+
}
|
|
21
|
+
Object.defineProperty(o, k2, desc);
|
|
22
|
+
}) : (function(o, m, k, k2) {
|
|
23
|
+
if (k2 === undefined) k2 = k;
|
|
24
|
+
o[k2] = m[k];
|
|
25
|
+
}));
|
|
26
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
27
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
28
|
+
}) : function(o, v) {
|
|
29
|
+
o["default"] = v;
|
|
30
|
+
});
|
|
31
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
32
|
+
var ownKeys = function(o) {
|
|
33
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
34
|
+
var ar = [];
|
|
35
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
36
|
+
return ar;
|
|
37
|
+
};
|
|
38
|
+
return ownKeys(o);
|
|
39
|
+
};
|
|
40
|
+
return function (mod) {
|
|
41
|
+
if (mod && mod.__esModule) return mod;
|
|
42
|
+
var result = {};
|
|
43
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
44
|
+
__setModuleDefault(result, mod);
|
|
45
|
+
return result;
|
|
46
|
+
};
|
|
47
|
+
})();
|
|
48
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
49
|
+
exports.InstancesApi = void 0;
|
|
50
|
+
const runtime = __importStar(require("../runtime"));
|
|
51
|
+
const index_1 = require("../models/index");
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
*/
|
|
55
|
+
class InstancesApi extends runtime.BaseAPI {
|
|
56
|
+
/**
|
|
57
|
+
* Returns the custom context variables for an app instance.
|
|
58
|
+
* Get instance context
|
|
59
|
+
*/
|
|
60
|
+
async getInstanceContextRaw(requestParameters, initOverrides) {
|
|
61
|
+
if (requestParameters['instanceId'] == null) {
|
|
62
|
+
throw new runtime.RequiredError('instanceId', 'Required parameter "instanceId" was null or undefined when calling getInstanceContext().');
|
|
63
|
+
}
|
|
64
|
+
const queryParameters = {};
|
|
65
|
+
const headerParameters = {};
|
|
66
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
67
|
+
headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
|
|
68
|
+
}
|
|
69
|
+
const response = await this.request({
|
|
70
|
+
path: `/instances/{instanceId}/context`.replace(`{${"instanceId"}}`, encodeURIComponent(String(requestParameters['instanceId']))),
|
|
71
|
+
method: 'GET',
|
|
72
|
+
headers: headerParameters,
|
|
73
|
+
query: queryParameters,
|
|
74
|
+
}, initOverrides);
|
|
75
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.InstanceContextUioFromJSON)(jsonValue));
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Returns the custom context variables for an app instance.
|
|
79
|
+
* Get instance context
|
|
80
|
+
*/
|
|
81
|
+
async getInstanceContext(instanceId, initOverrides) {
|
|
82
|
+
const response = await this.getInstanceContextRaw({ instanceId: instanceId }, initOverrides);
|
|
83
|
+
return await response.value();
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Replaces the custom context variables for an app instance.
|
|
87
|
+
* Update instance context
|
|
88
|
+
*/
|
|
89
|
+
async patchInstanceContextRaw(requestParameters, initOverrides) {
|
|
90
|
+
if (requestParameters['instanceId'] == null) {
|
|
91
|
+
throw new runtime.RequiredError('instanceId', 'Required parameter "instanceId" was null or undefined when calling patchInstanceContext().');
|
|
92
|
+
}
|
|
93
|
+
if (requestParameters['instanceContextPatchUio'] == null) {
|
|
94
|
+
throw new runtime.RequiredError('instanceContextPatchUio', 'Required parameter "instanceContextPatchUio" was null or undefined when calling patchInstanceContext().');
|
|
95
|
+
}
|
|
96
|
+
const queryParameters = {};
|
|
97
|
+
const headerParameters = {};
|
|
98
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
99
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
100
|
+
headerParameters["X-API-Key"] = await this.configuration.apiKey("X-API-Key"); // ApiKeyAuth authentication
|
|
101
|
+
}
|
|
102
|
+
const response = await this.request({
|
|
103
|
+
path: `/instances/{instanceId}/context`.replace(`{${"instanceId"}}`, encodeURIComponent(String(requestParameters['instanceId']))),
|
|
104
|
+
method: 'PATCH',
|
|
105
|
+
headers: headerParameters,
|
|
106
|
+
query: queryParameters,
|
|
107
|
+
body: (0, index_1.InstanceContextPatchUioToJSON)(requestParameters['instanceContextPatchUio']),
|
|
108
|
+
}, initOverrides);
|
|
109
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.InstanceContextUioFromJSON)(jsonValue));
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* Replaces the custom context variables for an app instance.
|
|
113
|
+
* Update instance context
|
|
114
|
+
*/
|
|
115
|
+
async patchInstanceContext(instanceId, instanceContextPatchUio, initOverrides) {
|
|
116
|
+
const response = await this.patchInstanceContextRaw({ instanceId: instanceId, instanceContextPatchUio: instanceContextPatchUio }, initOverrides);
|
|
117
|
+
return await response.value();
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
exports.InstancesApi = InstancesApi;
|
package/dist/apis/index.d.ts
CHANGED
package/dist/apis/index.js
CHANGED
|
@@ -27,6 +27,7 @@ __exportStar(require("./EngineApi"), exports);
|
|
|
27
27
|
__exportStar(require("./FilesApi"), exports);
|
|
28
28
|
__exportStar(require("./GeneralApi"), exports);
|
|
29
29
|
__exportStar(require("./GuardiansApi"), exports);
|
|
30
|
+
__exportStar(require("./InstancesApi"), exports);
|
|
30
31
|
__exportStar(require("./KnowledgeApi"), exports);
|
|
31
32
|
__exportStar(require("./ManifestsApi"), exports);
|
|
32
33
|
__exportStar(require("./MetricsApi"), exports);
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
import type { ConversationMessagesInnerUio } from './ConversationMessagesInnerUio';
|
|
13
13
|
import type { ConversationMetricsInnerUio } from './ConversationMetricsInnerUio';
|
|
14
14
|
import type { TokenUsageUio } from './TokenUsageUio';
|
|
15
|
+
import type { ChatContextUio } from './ChatContextUio';
|
|
15
16
|
/**
|
|
16
17
|
*
|
|
17
18
|
* @export
|
|
@@ -80,6 +81,24 @@ export interface ConversationUio {
|
|
|
80
81
|
cost?: {
|
|
81
82
|
[key: string]: number;
|
|
82
83
|
};
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof ConversationUio
|
|
88
|
+
*/
|
|
89
|
+
appId?: string;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof ConversationUio
|
|
94
|
+
*/
|
|
95
|
+
instanceId?: string;
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* @type {ChatContextUio}
|
|
99
|
+
* @memberof ConversationUio
|
|
100
|
+
*/
|
|
101
|
+
context?: ChatContextUio;
|
|
83
102
|
/**
|
|
84
103
|
*
|
|
85
104
|
* @type {string}
|
|
@@ -21,6 +21,7 @@ exports.ConversationUioToJSONTyped = ConversationUioToJSONTyped;
|
|
|
21
21
|
const ConversationMessagesInnerUio_1 = require("./ConversationMessagesInnerUio");
|
|
22
22
|
const ConversationMetricsInnerUio_1 = require("./ConversationMetricsInnerUio");
|
|
23
23
|
const TokenUsageUio_1 = require("./TokenUsageUio");
|
|
24
|
+
const ChatContextUio_1 = require("./ChatContextUio");
|
|
24
25
|
/**
|
|
25
26
|
* Check if a given object implements the ConversationUio interface.
|
|
26
27
|
*/
|
|
@@ -55,6 +56,9 @@ function ConversationUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
55
56
|
'usage': json['usage'] == null ? undefined : (0, TokenUsageUio_1.TokenUsageUioFromJSON)(json['usage']),
|
|
56
57
|
'metrics': json['metrics'] == null ? undefined : (json['metrics'].map(ConversationMetricsInnerUio_1.ConversationMetricsInnerUioFromJSON)),
|
|
57
58
|
'cost': json['cost'] == null ? undefined : json['cost'],
|
|
59
|
+
'appId': json['appId'] == null ? undefined : json['appId'],
|
|
60
|
+
'instanceId': json['instanceId'] == null ? undefined : json['instanceId'],
|
|
61
|
+
'context': json['context'] == null ? undefined : (0, ChatContextUio_1.ChatContextUioFromJSON)(json['context']),
|
|
58
62
|
'createdAt': json['createdAt'],
|
|
59
63
|
'updatedAt': json['updatedAt'],
|
|
60
64
|
};
|
|
@@ -77,6 +81,9 @@ function ConversationUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
77
81
|
'usage': (0, TokenUsageUio_1.TokenUsageUioToJSON)(value['usage']),
|
|
78
82
|
'metrics': value['metrics'] == null ? undefined : (value['metrics'].map(ConversationMetricsInnerUio_1.ConversationMetricsInnerUioToJSON)),
|
|
79
83
|
'cost': value['cost'],
|
|
84
|
+
'appId': value['appId'],
|
|
85
|
+
'instanceId': value['instanceId'],
|
|
86
|
+
'context': (0, ChatContextUio_1.ChatContextUioToJSON)(value['context']),
|
|
80
87
|
'createdAt': value['createdAt'],
|
|
81
88
|
'updatedAt': value['updatedAt'],
|
|
82
89
|
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* brain-client
|
|
3
|
+
* Api ands models for brain-app and brain-app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface CreateCustomVariable200ResponseUio
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateCustomVariable200ResponseUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateCustomVariable200ResponseUio
|
|
22
|
+
*/
|
|
23
|
+
message: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {{ [key: string]: string; }}
|
|
27
|
+
* @memberof CreateCustomVariable200ResponseUio
|
|
28
|
+
*/
|
|
29
|
+
custom: {
|
|
30
|
+
[key: string]: string;
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the CreateCustomVariable200ResponseUio interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfCreateCustomVariable200ResponseUio(value: object): value is CreateCustomVariable200ResponseUio;
|
|
37
|
+
export declare function CreateCustomVariable200ResponseUioFromJSON(json: any): CreateCustomVariable200ResponseUio;
|
|
38
|
+
export declare function CreateCustomVariable200ResponseUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateCustomVariable200ResponseUio;
|
|
39
|
+
export declare function CreateCustomVariable200ResponseUioToJSON(json: any): CreateCustomVariable200ResponseUio;
|
|
40
|
+
export declare function CreateCustomVariable200ResponseUioToJSONTyped(value?: CreateCustomVariable200ResponseUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* brain-client
|
|
6
|
+
* Api ands models for brain-app and brain-app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
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.instanceOfCreateCustomVariable200ResponseUio = instanceOfCreateCustomVariable200ResponseUio;
|
|
17
|
+
exports.CreateCustomVariable200ResponseUioFromJSON = CreateCustomVariable200ResponseUioFromJSON;
|
|
18
|
+
exports.CreateCustomVariable200ResponseUioFromJSONTyped = CreateCustomVariable200ResponseUioFromJSONTyped;
|
|
19
|
+
exports.CreateCustomVariable200ResponseUioToJSON = CreateCustomVariable200ResponseUioToJSON;
|
|
20
|
+
exports.CreateCustomVariable200ResponseUioToJSONTyped = CreateCustomVariable200ResponseUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the CreateCustomVariable200ResponseUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfCreateCustomVariable200ResponseUio(value) {
|
|
25
|
+
if (!('message' in value) || value['message'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('custom' in value) || value['custom'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function CreateCustomVariable200ResponseUioFromJSON(json) {
|
|
32
|
+
return CreateCustomVariable200ResponseUioFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function CreateCustomVariable200ResponseUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'message': json['message'],
|
|
40
|
+
'custom': json['custom'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function CreateCustomVariable200ResponseUioToJSON(json) {
|
|
44
|
+
return CreateCustomVariable200ResponseUioToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function CreateCustomVariable200ResponseUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'message': value['message'],
|
|
52
|
+
'custom': value['custom'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* brain-client
|
|
3
|
+
* Api ands models for brain-app and brain-app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface InstanceContextPatchUio
|
|
16
|
+
*/
|
|
17
|
+
export interface InstanceContextPatchUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {{ [key: string]: string; }}
|
|
21
|
+
* @memberof InstanceContextPatchUio
|
|
22
|
+
*/
|
|
23
|
+
custom: {
|
|
24
|
+
[key: string]: string;
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Check if a given object implements the InstanceContextPatchUio interface.
|
|
29
|
+
*/
|
|
30
|
+
export declare function instanceOfInstanceContextPatchUio(value: object): value is InstanceContextPatchUio;
|
|
31
|
+
export declare function InstanceContextPatchUioFromJSON(json: any): InstanceContextPatchUio;
|
|
32
|
+
export declare function InstanceContextPatchUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): InstanceContextPatchUio;
|
|
33
|
+
export declare function InstanceContextPatchUioToJSON(json: any): InstanceContextPatchUio;
|
|
34
|
+
export declare function InstanceContextPatchUioToJSONTyped(value?: InstanceContextPatchUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* brain-client
|
|
6
|
+
* Api ands models for brain-app and brain-app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
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.instanceOfInstanceContextPatchUio = instanceOfInstanceContextPatchUio;
|
|
17
|
+
exports.InstanceContextPatchUioFromJSON = InstanceContextPatchUioFromJSON;
|
|
18
|
+
exports.InstanceContextPatchUioFromJSONTyped = InstanceContextPatchUioFromJSONTyped;
|
|
19
|
+
exports.InstanceContextPatchUioToJSON = InstanceContextPatchUioToJSON;
|
|
20
|
+
exports.InstanceContextPatchUioToJSONTyped = InstanceContextPatchUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the InstanceContextPatchUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfInstanceContextPatchUio(value) {
|
|
25
|
+
if (!('custom' in value) || value['custom'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function InstanceContextPatchUioFromJSON(json) {
|
|
30
|
+
return InstanceContextPatchUioFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function InstanceContextPatchUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'custom': json['custom'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function InstanceContextPatchUioToJSON(json) {
|
|
41
|
+
return InstanceContextPatchUioToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function InstanceContextPatchUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'custom': value['custom'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* brain-client
|
|
3
|
+
* Api ands models for brain-app and brain-app
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface InstanceContextUio
|
|
16
|
+
*/
|
|
17
|
+
export interface InstanceContextUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {{ [key: string]: string; }}
|
|
21
|
+
* @memberof InstanceContextUio
|
|
22
|
+
*/
|
|
23
|
+
custom?: {
|
|
24
|
+
[key: string]: string;
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Check if a given object implements the InstanceContextUio interface.
|
|
29
|
+
*/
|
|
30
|
+
export declare function instanceOfInstanceContextUio(value: object): value is InstanceContextUio;
|
|
31
|
+
export declare function InstanceContextUioFromJSON(json: any): InstanceContextUio;
|
|
32
|
+
export declare function InstanceContextUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): InstanceContextUio;
|
|
33
|
+
export declare function InstanceContextUioToJSON(json: any): InstanceContextUio;
|
|
34
|
+
export declare function InstanceContextUioToJSONTyped(value?: InstanceContextUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* brain-client
|
|
6
|
+
* Api ands models for brain-app and brain-app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
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.instanceOfInstanceContextUio = instanceOfInstanceContextUio;
|
|
17
|
+
exports.InstanceContextUioFromJSON = InstanceContextUioFromJSON;
|
|
18
|
+
exports.InstanceContextUioFromJSONTyped = InstanceContextUioFromJSONTyped;
|
|
19
|
+
exports.InstanceContextUioToJSON = InstanceContextUioToJSON;
|
|
20
|
+
exports.InstanceContextUioToJSONTyped = InstanceContextUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the InstanceContextUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfInstanceContextUio(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function InstanceContextUioFromJSON(json) {
|
|
28
|
+
return InstanceContextUioFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function InstanceContextUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'custom': json['custom'] == null ? undefined : json['custom'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
function InstanceContextUioToJSON(json) {
|
|
39
|
+
return InstanceContextUioToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function InstanceContextUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
42
|
+
if (value == null) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'custom': value['custom'],
|
|
47
|
+
};
|
|
48
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -117,6 +117,7 @@ export * from './ConversationSummaryAgentUio';
|
|
|
117
117
|
export * from './ConversationSummaryUio';
|
|
118
118
|
export * from './ConversationUio';
|
|
119
119
|
export * from './CostMetricUio';
|
|
120
|
+
export * from './CreateCustomVariable200ResponseUio';
|
|
120
121
|
export * from './DefaultClientPricesUio';
|
|
121
122
|
export * from './DefaultEngineRequestUio';
|
|
122
123
|
export * from './DeleteMessageAudio200ResponseUio';
|
|
@@ -173,6 +174,8 @@ export * from './ImageAttachmentUploadResponseUio';
|
|
|
173
174
|
export * from './ImageKnowledgeUio';
|
|
174
175
|
export * from './ImportFileToAgentKnowledge200ResponseUio';
|
|
175
176
|
export * from './InputUio';
|
|
177
|
+
export * from './InstanceContextPatchUio';
|
|
178
|
+
export * from './InstanceContextUio';
|
|
176
179
|
export * from './InstanceUio';
|
|
177
180
|
export * from './IntrospectMcpTool200ResponseUio';
|
|
178
181
|
export * from './KnowledgeBaseConfigurationAuthenticationOneOfUio';
|
package/dist/models/index.js
CHANGED
|
@@ -135,6 +135,7 @@ __exportStar(require("./ConversationSummaryAgentUio"), exports);
|
|
|
135
135
|
__exportStar(require("./ConversationSummaryUio"), exports);
|
|
136
136
|
__exportStar(require("./ConversationUio"), exports);
|
|
137
137
|
__exportStar(require("./CostMetricUio"), exports);
|
|
138
|
+
__exportStar(require("./CreateCustomVariable200ResponseUio"), exports);
|
|
138
139
|
__exportStar(require("./DefaultClientPricesUio"), exports);
|
|
139
140
|
__exportStar(require("./DefaultEngineRequestUio"), exports);
|
|
140
141
|
__exportStar(require("./DeleteMessageAudio200ResponseUio"), exports);
|
|
@@ -191,6 +192,8 @@ __exportStar(require("./ImageAttachmentUploadResponseUio"), exports);
|
|
|
191
192
|
__exportStar(require("./ImageKnowledgeUio"), exports);
|
|
192
193
|
__exportStar(require("./ImportFileToAgentKnowledge200ResponseUio"), exports);
|
|
193
194
|
__exportStar(require("./InputUio"), exports);
|
|
195
|
+
__exportStar(require("./InstanceContextPatchUio"), exports);
|
|
196
|
+
__exportStar(require("./InstanceContextUio"), exports);
|
|
194
197
|
__exportStar(require("./InstanceUio"), exports);
|
|
195
198
|
__exportStar(require("./IntrospectMcpTool200ResponseUio"), exports);
|
|
196
199
|
__exportStar(require("./KnowledgeBaseConfigurationAuthenticationOneOfUio"), exports);
|
package/dist/openapi.json
CHANGED
|
@@ -3252,6 +3252,99 @@
|
|
|
3252
3252
|
"tags" : [ "app" ]
|
|
3253
3253
|
}
|
|
3254
3254
|
},
|
|
3255
|
+
"/instances/{instanceId}/context" : {
|
|
3256
|
+
"get" : {
|
|
3257
|
+
"description" : "Returns the custom context variables for an app instance.",
|
|
3258
|
+
"operationId" : "getInstanceContext",
|
|
3259
|
+
"parameters" : [ {
|
|
3260
|
+
"description" : "Instance identifier",
|
|
3261
|
+
"in" : "path",
|
|
3262
|
+
"name" : "instanceId",
|
|
3263
|
+
"required" : true,
|
|
3264
|
+
"schema" : {
|
|
3265
|
+
"type" : "string"
|
|
3266
|
+
}
|
|
3267
|
+
} ],
|
|
3268
|
+
"responses" : {
|
|
3269
|
+
"200" : {
|
|
3270
|
+
"content" : {
|
|
3271
|
+
"application/json" : {
|
|
3272
|
+
"schema" : {
|
|
3273
|
+
"$ref" : "#/components/schemas/InstanceContext"
|
|
3274
|
+
}
|
|
3275
|
+
}
|
|
3276
|
+
},
|
|
3277
|
+
"description" : "Instance context"
|
|
3278
|
+
},
|
|
3279
|
+
"401" : {
|
|
3280
|
+
"description" : "Unauthorized"
|
|
3281
|
+
},
|
|
3282
|
+
"403" : {
|
|
3283
|
+
"description" : "Forbidden"
|
|
3284
|
+
},
|
|
3285
|
+
"404" : {
|
|
3286
|
+
"description" : "Instance not found"
|
|
3287
|
+
},
|
|
3288
|
+
"500" : {
|
|
3289
|
+
"description" : "Server error"
|
|
3290
|
+
}
|
|
3291
|
+
},
|
|
3292
|
+
"summary" : "Get instance context",
|
|
3293
|
+
"tags" : [ "instances" ]
|
|
3294
|
+
},
|
|
3295
|
+
"patch" : {
|
|
3296
|
+
"description" : "Replaces the custom context variables for an app instance.",
|
|
3297
|
+
"operationId" : "patchInstanceContext",
|
|
3298
|
+
"parameters" : [ {
|
|
3299
|
+
"description" : "Instance identifier",
|
|
3300
|
+
"in" : "path",
|
|
3301
|
+
"name" : "instanceId",
|
|
3302
|
+
"required" : true,
|
|
3303
|
+
"schema" : {
|
|
3304
|
+
"type" : "string"
|
|
3305
|
+
}
|
|
3306
|
+
} ],
|
|
3307
|
+
"requestBody" : {
|
|
3308
|
+
"content" : {
|
|
3309
|
+
"application/json" : {
|
|
3310
|
+
"schema" : {
|
|
3311
|
+
"$ref" : "#/components/schemas/InstanceContextPatch"
|
|
3312
|
+
}
|
|
3313
|
+
}
|
|
3314
|
+
},
|
|
3315
|
+
"required" : true
|
|
3316
|
+
},
|
|
3317
|
+
"responses" : {
|
|
3318
|
+
"200" : {
|
|
3319
|
+
"content" : {
|
|
3320
|
+
"application/json" : {
|
|
3321
|
+
"schema" : {
|
|
3322
|
+
"$ref" : "#/components/schemas/InstanceContext"
|
|
3323
|
+
}
|
|
3324
|
+
}
|
|
3325
|
+
},
|
|
3326
|
+
"description" : "Updated instance context"
|
|
3327
|
+
},
|
|
3328
|
+
"400" : {
|
|
3329
|
+
"description" : "Invalid request body"
|
|
3330
|
+
},
|
|
3331
|
+
"401" : {
|
|
3332
|
+
"description" : "Unauthorized"
|
|
3333
|
+
},
|
|
3334
|
+
"403" : {
|
|
3335
|
+
"description" : "Forbidden"
|
|
3336
|
+
},
|
|
3337
|
+
"404" : {
|
|
3338
|
+
"description" : "Instance not found"
|
|
3339
|
+
},
|
|
3340
|
+
"500" : {
|
|
3341
|
+
"description" : "Server error"
|
|
3342
|
+
}
|
|
3343
|
+
},
|
|
3344
|
+
"summary" : "Update instance context",
|
|
3345
|
+
"tags" : [ "instances" ]
|
|
3346
|
+
}
|
|
3347
|
+
},
|
|
3255
3348
|
"/apps/{appId}/configuration/{property}" : {
|
|
3256
3349
|
"get" : {
|
|
3257
3350
|
"description" : "Get app configuration property",
|
|
@@ -4157,7 +4250,7 @@
|
|
|
4157
4250
|
},
|
|
4158
4251
|
"/conversations/{conversationId}/context/custom" : {
|
|
4159
4252
|
"get" : {
|
|
4160
|
-
"description" : "
|
|
4253
|
+
"description" : "Returns all custom context variables for a conversation.",
|
|
4161
4254
|
"operationId" : "getContextCustomVariable",
|
|
4162
4255
|
"parameters" : [ {
|
|
4163
4256
|
"description" : "The ID of the conversation",
|
|
@@ -4180,7 +4273,7 @@
|
|
|
4180
4273
|
}
|
|
4181
4274
|
}
|
|
4182
4275
|
},
|
|
4183
|
-
"description" : "
|
|
4276
|
+
"description" : "Custom context variables for the conversation."
|
|
4184
4277
|
},
|
|
4185
4278
|
"401" : {
|
|
4186
4279
|
"description" : "Unauthorized"
|
|
@@ -4195,11 +4288,11 @@
|
|
|
4195
4288
|
"description" : "Server error"
|
|
4196
4289
|
}
|
|
4197
4290
|
},
|
|
4198
|
-
"summary" : "Get
|
|
4291
|
+
"summary" : "Get conversation custom context variables",
|
|
4199
4292
|
"tags" : [ "conversations" ]
|
|
4200
4293
|
},
|
|
4201
4294
|
"post" : {
|
|
4202
|
-
"description" : "
|
|
4295
|
+
"description" : "Replaces the full set of custom context variables for a conversation. Omitted keys are removed.",
|
|
4203
4296
|
"operationId" : "createCustomVariable",
|
|
4204
4297
|
"parameters" : [ {
|
|
4205
4298
|
"description" : "The ID of the conversation",
|
|
@@ -4225,7 +4318,17 @@
|
|
|
4225
4318
|
},
|
|
4226
4319
|
"responses" : {
|
|
4227
4320
|
"200" : {
|
|
4228
|
-
"
|
|
4321
|
+
"content" : {
|
|
4322
|
+
"application/json" : {
|
|
4323
|
+
"schema" : {
|
|
4324
|
+
"$ref" : "#/components/schemas/createCustomVariable_200_response"
|
|
4325
|
+
}
|
|
4326
|
+
}
|
|
4327
|
+
},
|
|
4328
|
+
"description" : "Custom context variables replaced successfully."
|
|
4329
|
+
},
|
|
4330
|
+
"400" : {
|
|
4331
|
+
"description" : "Invalid custom context keys or values"
|
|
4229
4332
|
},
|
|
4230
4333
|
"401" : {
|
|
4231
4334
|
"description" : "Unauthorized"
|
|
@@ -4240,7 +4343,7 @@
|
|
|
4240
4343
|
"description" : "Server error"
|
|
4241
4344
|
}
|
|
4242
4345
|
},
|
|
4243
|
-
"summary" : "
|
|
4346
|
+
"summary" : "Replace conversation custom context variables",
|
|
4244
4347
|
"tags" : [ "conversations" ]
|
|
4245
4348
|
}
|
|
4246
4349
|
},
|
|
@@ -10002,6 +10105,15 @@
|
|
|
10002
10105
|
"type" : "string"
|
|
10003
10106
|
}
|
|
10004
10107
|
},
|
|
10108
|
+
"instanceIdPath" : {
|
|
10109
|
+
"description" : "Instance identifier",
|
|
10110
|
+
"in" : "path",
|
|
10111
|
+
"name" : "instanceId",
|
|
10112
|
+
"required" : true,
|
|
10113
|
+
"schema" : {
|
|
10114
|
+
"type" : "string"
|
|
10115
|
+
}
|
|
10116
|
+
},
|
|
10005
10117
|
"propertyPath" : {
|
|
10006
10118
|
"description" : "Property to retrieve",
|
|
10007
10119
|
"in" : "path",
|
|
@@ -12671,6 +12783,31 @@
|
|
|
12671
12783
|
"required" : [ "ephemeral", "name" ],
|
|
12672
12784
|
"type" : "object"
|
|
12673
12785
|
},
|
|
12786
|
+
"InstanceContext" : {
|
|
12787
|
+
"additionalProperties" : false,
|
|
12788
|
+
"properties" : {
|
|
12789
|
+
"custom" : {
|
|
12790
|
+
"additionalProperties" : {
|
|
12791
|
+
"type" : "string"
|
|
12792
|
+
},
|
|
12793
|
+
"type" : "object"
|
|
12794
|
+
}
|
|
12795
|
+
},
|
|
12796
|
+
"type" : "object"
|
|
12797
|
+
},
|
|
12798
|
+
"InstanceContextPatch" : {
|
|
12799
|
+
"additionalProperties" : false,
|
|
12800
|
+
"properties" : {
|
|
12801
|
+
"custom" : {
|
|
12802
|
+
"additionalProperties" : {
|
|
12803
|
+
"type" : "string"
|
|
12804
|
+
},
|
|
12805
|
+
"type" : "object"
|
|
12806
|
+
}
|
|
12807
|
+
},
|
|
12808
|
+
"required" : [ "custom" ],
|
|
12809
|
+
"type" : "object"
|
|
12810
|
+
},
|
|
12674
12811
|
"AnimationCreateRequest" : {
|
|
12675
12812
|
"properties" : {
|
|
12676
12813
|
"category" : {
|
|
@@ -12758,6 +12895,15 @@
|
|
|
12758
12895
|
},
|
|
12759
12896
|
"type" : "object"
|
|
12760
12897
|
},
|
|
12898
|
+
"appId" : {
|
|
12899
|
+
"type" : "string"
|
|
12900
|
+
},
|
|
12901
|
+
"instanceId" : {
|
|
12902
|
+
"type" : "string"
|
|
12903
|
+
},
|
|
12904
|
+
"context" : {
|
|
12905
|
+
"$ref" : "#/components/schemas/ChatContext"
|
|
12906
|
+
},
|
|
12761
12907
|
"createdAt" : {
|
|
12762
12908
|
"type" : "string"
|
|
12763
12909
|
},
|
|
@@ -15054,6 +15200,21 @@
|
|
|
15054
15200
|
"required" : [ "conversationAttachmentMaxBytes" ],
|
|
15055
15201
|
"type" : "object"
|
|
15056
15202
|
},
|
|
15203
|
+
"createCustomVariable_200_response" : {
|
|
15204
|
+
"properties" : {
|
|
15205
|
+
"message" : {
|
|
15206
|
+
"type" : "string"
|
|
15207
|
+
},
|
|
15208
|
+
"custom" : {
|
|
15209
|
+
"additionalProperties" : {
|
|
15210
|
+
"type" : "string"
|
|
15211
|
+
},
|
|
15212
|
+
"type" : "object"
|
|
15213
|
+
}
|
|
15214
|
+
},
|
|
15215
|
+
"required" : [ "custom", "message" ],
|
|
15216
|
+
"type" : "object"
|
|
15217
|
+
},
|
|
15057
15218
|
"updateConversationTitle_request" : {
|
|
15058
15219
|
"properties" : {
|
|
15059
15220
|
"title" : {
|