@gooddata/api-client-tiger 11.27.0-alpha.4 → 11.27.0-alpha.5
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/esm/__version.d.ts +1 -1
- package/esm/__version.js +1 -1
- package/esm/api-client-tiger.d.ts +4112 -2317
- package/esm/endpoints/genAI/index.d.ts +2 -1
- package/esm/endpoints/genAI/index.d.ts.map +1 -1
- package/esm/endpoints/genAI/index.js +2 -1
- package/esm/endpoints/genAI/index.js.map +1 -1
- package/esm/generated/afm-rest-api/api.d.ts +4 -338
- package/esm/generated/afm-rest-api/api.d.ts.map +1 -1
- package/esm/generated/afm-rest-api/api.js +2 -349
- package/esm/generated/afm-rest-api/api.js.map +1 -1
- package/esm/generated/ai-json-api/api.d.ts +1412 -0
- package/esm/generated/ai-json-api/api.d.ts.map +1 -0
- package/esm/generated/ai-json-api/api.js +914 -0
- package/esm/generated/ai-json-api/api.js.map +1 -0
- package/esm/generated/ai-json-api/base.d.ts +43 -0
- package/esm/generated/ai-json-api/base.d.ts.map +1 -0
- package/esm/generated/ai-json-api/base.js +33 -0
- package/esm/generated/ai-json-api/base.js.map +1 -0
- package/esm/generated/ai-json-api/common.d.ts +66 -0
- package/esm/generated/ai-json-api/common.d.ts.map +1 -0
- package/esm/generated/ai-json-api/common.js +122 -0
- package/esm/generated/ai-json-api/common.js.map +1 -0
- package/esm/generated/ai-json-api/configuration.d.ts +75 -0
- package/esm/generated/ai-json-api/configuration.d.ts.map +1 -0
- package/esm/generated/ai-json-api/configuration.js +72 -0
- package/esm/generated/ai-json-api/configuration.js.map +1 -0
- package/esm/generated/ai-json-api/index.d.ts +14 -0
- package/esm/generated/ai-json-api/index.d.ts.map +1 -0
- package/esm/generated/ai-json-api/index.js +16 -0
- package/esm/generated/ai-json-api/index.js.map +1 -0
- package/esm/generated/auth-json-api/api.d.ts +511 -0
- package/esm/generated/auth-json-api/api.d.ts.map +1 -1
- package/esm/generated/auth-json-api/api.js +650 -0
- package/esm/generated/auth-json-api/api.js.map +1 -1
- package/esm/generated/metadata-json-api/api.d.ts +2281 -2110
- package/esm/generated/metadata-json-api/api.d.ts.map +1 -1
- package/esm/generated/metadata-json-api/api.js +2345 -2219
- package/esm/generated/metadata-json-api/api.js.map +1 -1
- package/esm/index.d.ts +3 -1
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +6 -1
- package/esm/index.js.map +1 -1
- package/package.json +5 -5
|
@@ -0,0 +1,914 @@
|
|
|
1
|
+
// (C) 2024-2026 GoodData Corporation
|
|
2
|
+
import globalAxios from 'axios';
|
|
3
|
+
// @ts-ignore
|
|
4
|
+
import { DUMMY_BASE_URL, assertParamExists, setSearchParams, toPathString, createRequestFunction } from './common.js';
|
|
5
|
+
// @ts-ignore
|
|
6
|
+
import { BASE_PATH, BaseAPI } from './base.js';
|
|
7
|
+
/**
|
|
8
|
+
* Date granularity for date filters.
|
|
9
|
+
*/
|
|
10
|
+
export const AiDateGranularity = {
|
|
11
|
+
DAY: 'DAY',
|
|
12
|
+
WEEK: 'WEEK',
|
|
13
|
+
MONTH: 'MONTH',
|
|
14
|
+
QUARTER: 'QUARTER',
|
|
15
|
+
YEAR: 'YEAR'
|
|
16
|
+
};
|
|
17
|
+
export const AiObjectType = {
|
|
18
|
+
UNIDENTIFIED: 'unidentified',
|
|
19
|
+
WORKSPACE: 'workspace',
|
|
20
|
+
DATASET: 'dataset',
|
|
21
|
+
DATE: 'date',
|
|
22
|
+
FACT: 'fact',
|
|
23
|
+
METRIC: 'metric',
|
|
24
|
+
ATTRIBUTE: 'attribute',
|
|
25
|
+
DATE_ATTRIBUTE: 'date_attribute',
|
|
26
|
+
LABEL: 'label',
|
|
27
|
+
VISUALIZATION: 'visualization',
|
|
28
|
+
DASHBOARD: 'dashboard',
|
|
29
|
+
FILTER_CONTEXT: 'filter_context'
|
|
30
|
+
};
|
|
31
|
+
// ConversationsAi FP - ConversationsAiAxiosParamCreator
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @summary Delete Conversation
|
|
35
|
+
* @param {string} workspaceId
|
|
36
|
+
* @param {string} conversationId
|
|
37
|
+
* @param {*} [options] Override http request option.
|
|
38
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
39
|
+
* @throws {RequiredError}
|
|
40
|
+
*/
|
|
41
|
+
export async function ConversationsAiAxiosParamCreator_DeleteConversationApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdDelete(workspaceId, conversationId, options = {}, configuration) {
|
|
42
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
43
|
+
assertParamExists('deleteConversationApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdDelete', 'workspaceId', workspaceId);
|
|
44
|
+
// verify required parameter 'conversationId' is not null or undefined
|
|
45
|
+
assertParamExists('deleteConversationApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdDelete', 'conversationId', conversationId);
|
|
46
|
+
const localVarPath = `/api/v1/ai/workspaces/{workspace_id}/chat/conversations/{conversation_id}`
|
|
47
|
+
.replace(`{${"workspace_id"}}`, encodeURIComponent(String(workspaceId)))
|
|
48
|
+
.replace(`{${"conversation_id"}}`, encodeURIComponent(String(conversationId)));
|
|
49
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
50
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
51
|
+
let baseOptions;
|
|
52
|
+
if (configuration) {
|
|
53
|
+
baseOptions = configuration.baseOptions;
|
|
54
|
+
}
|
|
55
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
56
|
+
const localVarHeaderParameter = {};
|
|
57
|
+
const localVarQueryParameter = {};
|
|
58
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
59
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
60
|
+
localVarRequestOptions.headers = {
|
|
61
|
+
...localVarHeaderParameter,
|
|
62
|
+
...headersFromBaseOptions,
|
|
63
|
+
...options.headers,
|
|
64
|
+
};
|
|
65
|
+
return {
|
|
66
|
+
url: toPathString(localVarUrlObj),
|
|
67
|
+
options: localVarRequestOptions,
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
// ConversationsAi FP - ConversationsAiAxiosParamCreator
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @summary Get Conversation
|
|
74
|
+
* @param {string} workspaceId
|
|
75
|
+
* @param {string} conversationId
|
|
76
|
+
* @param {*} [options] Override http request option.
|
|
77
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
78
|
+
* @throws {RequiredError}
|
|
79
|
+
*/
|
|
80
|
+
export async function ConversationsAiAxiosParamCreator_GetConversationApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdGet(workspaceId, conversationId, options = {}, configuration) {
|
|
81
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
82
|
+
assertParamExists('getConversationApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdGet', 'workspaceId', workspaceId);
|
|
83
|
+
// verify required parameter 'conversationId' is not null or undefined
|
|
84
|
+
assertParamExists('getConversationApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdGet', 'conversationId', conversationId);
|
|
85
|
+
const localVarPath = `/api/v1/ai/workspaces/{workspace_id}/chat/conversations/{conversation_id}`
|
|
86
|
+
.replace(`{${"workspace_id"}}`, encodeURIComponent(String(workspaceId)))
|
|
87
|
+
.replace(`{${"conversation_id"}}`, encodeURIComponent(String(conversationId)));
|
|
88
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
89
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
90
|
+
let baseOptions;
|
|
91
|
+
if (configuration) {
|
|
92
|
+
baseOptions = configuration.baseOptions;
|
|
93
|
+
}
|
|
94
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
95
|
+
const localVarHeaderParameter = {};
|
|
96
|
+
const localVarQueryParameter = {};
|
|
97
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
98
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
99
|
+
localVarRequestOptions.headers = {
|
|
100
|
+
...localVarHeaderParameter,
|
|
101
|
+
...headersFromBaseOptions,
|
|
102
|
+
...options.headers,
|
|
103
|
+
};
|
|
104
|
+
return {
|
|
105
|
+
url: toPathString(localVarUrlObj),
|
|
106
|
+
options: localVarRequestOptions,
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
// ConversationsAi FP - ConversationsAiAxiosParamCreator
|
|
110
|
+
/**
|
|
111
|
+
*
|
|
112
|
+
* @summary Get Conversations
|
|
113
|
+
* @param {string} workspaceId
|
|
114
|
+
* @param {*} [options] Override http request option.
|
|
115
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
116
|
+
* @throws {RequiredError}
|
|
117
|
+
*/
|
|
118
|
+
export async function ConversationsAiAxiosParamCreator_GetConversationsApiV1AiWorkspacesWorkspaceIdChatConversationsGet(workspaceId, options = {}, configuration) {
|
|
119
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
120
|
+
assertParamExists('getConversationsApiV1AiWorkspacesWorkspaceIdChatConversationsGet', 'workspaceId', workspaceId);
|
|
121
|
+
const localVarPath = `/api/v1/ai/workspaces/{workspace_id}/chat/conversations`
|
|
122
|
+
.replace(`{${"workspace_id"}}`, encodeURIComponent(String(workspaceId)));
|
|
123
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
124
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
125
|
+
let baseOptions;
|
|
126
|
+
if (configuration) {
|
|
127
|
+
baseOptions = configuration.baseOptions;
|
|
128
|
+
}
|
|
129
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
130
|
+
const localVarHeaderParameter = {};
|
|
131
|
+
const localVarQueryParameter = {};
|
|
132
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
133
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
134
|
+
localVarRequestOptions.headers = {
|
|
135
|
+
...localVarHeaderParameter,
|
|
136
|
+
...headersFromBaseOptions,
|
|
137
|
+
...options.headers,
|
|
138
|
+
};
|
|
139
|
+
return {
|
|
140
|
+
url: toPathString(localVarUrlObj),
|
|
141
|
+
options: localVarRequestOptions,
|
|
142
|
+
};
|
|
143
|
+
}
|
|
144
|
+
// ConversationsAi FP - ConversationsAiAxiosParamCreator
|
|
145
|
+
/**
|
|
146
|
+
*
|
|
147
|
+
* @summary Post Conversations
|
|
148
|
+
* @param {string} workspaceId
|
|
149
|
+
* @param {*} [options] Override http request option.
|
|
150
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
151
|
+
* @throws {RequiredError}
|
|
152
|
+
*/
|
|
153
|
+
export async function ConversationsAiAxiosParamCreator_PostConversationsApiV1AiWorkspacesWorkspaceIdChatConversationsPost(workspaceId, options = {}, configuration) {
|
|
154
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
155
|
+
assertParamExists('postConversationsApiV1AiWorkspacesWorkspaceIdChatConversationsPost', 'workspaceId', workspaceId);
|
|
156
|
+
const localVarPath = `/api/v1/ai/workspaces/{workspace_id}/chat/conversations`
|
|
157
|
+
.replace(`{${"workspace_id"}}`, encodeURIComponent(String(workspaceId)));
|
|
158
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
159
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
160
|
+
let baseOptions;
|
|
161
|
+
if (configuration) {
|
|
162
|
+
baseOptions = configuration.baseOptions;
|
|
163
|
+
}
|
|
164
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
165
|
+
const localVarHeaderParameter = {};
|
|
166
|
+
const localVarQueryParameter = {};
|
|
167
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
168
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
169
|
+
localVarRequestOptions.headers = {
|
|
170
|
+
...localVarHeaderParameter,
|
|
171
|
+
...headersFromBaseOptions,
|
|
172
|
+
...options.headers,
|
|
173
|
+
};
|
|
174
|
+
return {
|
|
175
|
+
url: toPathString(localVarUrlObj),
|
|
176
|
+
options: localVarRequestOptions,
|
|
177
|
+
};
|
|
178
|
+
}
|
|
179
|
+
// ConversationsAi Api FP
|
|
180
|
+
/**
|
|
181
|
+
*
|
|
182
|
+
* @summary Delete Conversation
|
|
183
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
184
|
+
* @param {string} basePath Base path.
|
|
185
|
+
* @param {ConversationsAiDeleteConversationApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdDeleteRequest} requestParameters Request parameters.
|
|
186
|
+
* @param {*} [options] Override http request option.
|
|
187
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
188
|
+
* @throws {RequiredError}
|
|
189
|
+
*/
|
|
190
|
+
export async function ConversationsAi_DeleteConversationApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdDelete(axios, basePath, requestParameters, options, configuration) {
|
|
191
|
+
const localVarAxiosArgs = await ConversationsAiAxiosParamCreator_DeleteConversationApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdDelete(requestParameters.workspaceId, requestParameters.conversationId, options || {}, configuration);
|
|
192
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
193
|
+
}
|
|
194
|
+
// ConversationsAi Api FP
|
|
195
|
+
/**
|
|
196
|
+
*
|
|
197
|
+
* @summary Get Conversation
|
|
198
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
199
|
+
* @param {string} basePath Base path.
|
|
200
|
+
* @param {ConversationsAiGetConversationApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdGetRequest} requestParameters Request parameters.
|
|
201
|
+
* @param {*} [options] Override http request option.
|
|
202
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
203
|
+
* @throws {RequiredError}
|
|
204
|
+
*/
|
|
205
|
+
export async function ConversationsAi_GetConversationApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdGet(axios, basePath, requestParameters, options, configuration) {
|
|
206
|
+
const localVarAxiosArgs = await ConversationsAiAxiosParamCreator_GetConversationApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdGet(requestParameters.workspaceId, requestParameters.conversationId, options || {}, configuration);
|
|
207
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
208
|
+
}
|
|
209
|
+
// ConversationsAi Api FP
|
|
210
|
+
/**
|
|
211
|
+
*
|
|
212
|
+
* @summary Get Conversations
|
|
213
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
214
|
+
* @param {string} basePath Base path.
|
|
215
|
+
* @param {ConversationsAiGetConversationsApiV1AiWorkspacesWorkspaceIdChatConversationsGetRequest} requestParameters Request parameters.
|
|
216
|
+
* @param {*} [options] Override http request option.
|
|
217
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
218
|
+
* @throws {RequiredError}
|
|
219
|
+
*/
|
|
220
|
+
export async function ConversationsAi_GetConversationsApiV1AiWorkspacesWorkspaceIdChatConversationsGet(axios, basePath, requestParameters, options, configuration) {
|
|
221
|
+
const localVarAxiosArgs = await ConversationsAiAxiosParamCreator_GetConversationsApiV1AiWorkspacesWorkspaceIdChatConversationsGet(requestParameters.workspaceId, options || {}, configuration);
|
|
222
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
223
|
+
}
|
|
224
|
+
// ConversationsAi Api FP
|
|
225
|
+
/**
|
|
226
|
+
*
|
|
227
|
+
* @summary Post Conversations
|
|
228
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
229
|
+
* @param {string} basePath Base path.
|
|
230
|
+
* @param {ConversationsAiPostConversationsApiV1AiWorkspacesWorkspaceIdChatConversationsPostRequest} requestParameters Request parameters.
|
|
231
|
+
* @param {*} [options] Override http request option.
|
|
232
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
233
|
+
* @throws {RequiredError}
|
|
234
|
+
*/
|
|
235
|
+
export async function ConversationsAi_PostConversationsApiV1AiWorkspacesWorkspaceIdChatConversationsPost(axios, basePath, requestParameters, options, configuration) {
|
|
236
|
+
const localVarAxiosArgs = await ConversationsAiAxiosParamCreator_PostConversationsApiV1AiWorkspacesWorkspaceIdChatConversationsPost(requestParameters.workspaceId, options || {}, configuration);
|
|
237
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
238
|
+
}
|
|
239
|
+
/**
|
|
240
|
+
* ConversationsAi - object-oriented interface
|
|
241
|
+
* @export
|
|
242
|
+
* @class ConversationsAi
|
|
243
|
+
* @extends {BaseAPI}
|
|
244
|
+
*/
|
|
245
|
+
export class ConversationsAi extends BaseAPI {
|
|
246
|
+
/**
|
|
247
|
+
*
|
|
248
|
+
* @summary Delete Conversation
|
|
249
|
+
* @param {ConversationsAiDeleteConversationApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdDeleteRequest} requestParameters Request parameters.
|
|
250
|
+
* @param {*} [options] Override http request option.
|
|
251
|
+
* @throws {RequiredError}
|
|
252
|
+
* @memberof ConversationsAi
|
|
253
|
+
*/
|
|
254
|
+
deleteConversationApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdDelete(requestParameters, options) {
|
|
255
|
+
return ConversationsAi_DeleteConversationApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdDelete(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
256
|
+
}
|
|
257
|
+
/**
|
|
258
|
+
*
|
|
259
|
+
* @summary Get Conversation
|
|
260
|
+
* @param {ConversationsAiGetConversationApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdGetRequest} requestParameters Request parameters.
|
|
261
|
+
* @param {*} [options] Override http request option.
|
|
262
|
+
* @throws {RequiredError}
|
|
263
|
+
* @memberof ConversationsAi
|
|
264
|
+
*/
|
|
265
|
+
getConversationApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdGet(requestParameters, options) {
|
|
266
|
+
return ConversationsAi_GetConversationApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdGet(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
267
|
+
}
|
|
268
|
+
/**
|
|
269
|
+
*
|
|
270
|
+
* @summary Get Conversations
|
|
271
|
+
* @param {ConversationsAiGetConversationsApiV1AiWorkspacesWorkspaceIdChatConversationsGetRequest} requestParameters Request parameters.
|
|
272
|
+
* @param {*} [options] Override http request option.
|
|
273
|
+
* @throws {RequiredError}
|
|
274
|
+
* @memberof ConversationsAi
|
|
275
|
+
*/
|
|
276
|
+
getConversationsApiV1AiWorkspacesWorkspaceIdChatConversationsGet(requestParameters, options) {
|
|
277
|
+
return ConversationsAi_GetConversationsApiV1AiWorkspacesWorkspaceIdChatConversationsGet(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
278
|
+
}
|
|
279
|
+
/**
|
|
280
|
+
*
|
|
281
|
+
* @summary Post Conversations
|
|
282
|
+
* @param {ConversationsAiPostConversationsApiV1AiWorkspacesWorkspaceIdChatConversationsPostRequest} requestParameters Request parameters.
|
|
283
|
+
* @param {*} [options] Override http request option.
|
|
284
|
+
* @throws {RequiredError}
|
|
285
|
+
* @memberof ConversationsAi
|
|
286
|
+
*/
|
|
287
|
+
postConversationsApiV1AiWorkspacesWorkspaceIdChatConversationsPost(requestParameters, options) {
|
|
288
|
+
return ConversationsAi_PostConversationsApiV1AiWorkspacesWorkspaceIdChatConversationsPost(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
// ItemsAi FP - ItemsAiAxiosParamCreator
|
|
292
|
+
/**
|
|
293
|
+
*
|
|
294
|
+
* @summary Get Conversation Items
|
|
295
|
+
* @param {string} workspaceId
|
|
296
|
+
* @param {string} conversationId
|
|
297
|
+
* @param {*} [options] Override http request option.
|
|
298
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
299
|
+
* @throws {RequiredError}
|
|
300
|
+
*/
|
|
301
|
+
export async function ItemsAiAxiosParamCreator_GetConversationItemsApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdItemsGet(workspaceId, conversationId, options = {}, configuration) {
|
|
302
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
303
|
+
assertParamExists('getConversationItemsApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdItemsGet', 'workspaceId', workspaceId);
|
|
304
|
+
// verify required parameter 'conversationId' is not null or undefined
|
|
305
|
+
assertParamExists('getConversationItemsApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdItemsGet', 'conversationId', conversationId);
|
|
306
|
+
const localVarPath = `/api/v1/ai/workspaces/{workspace_id}/chat/conversations/{conversation_id}/items`
|
|
307
|
+
.replace(`{${"workspace_id"}}`, encodeURIComponent(String(workspaceId)))
|
|
308
|
+
.replace(`{${"conversation_id"}}`, encodeURIComponent(String(conversationId)));
|
|
309
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
310
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
311
|
+
let baseOptions;
|
|
312
|
+
if (configuration) {
|
|
313
|
+
baseOptions = configuration.baseOptions;
|
|
314
|
+
}
|
|
315
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
316
|
+
const localVarHeaderParameter = {};
|
|
317
|
+
const localVarQueryParameter = {};
|
|
318
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
319
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
320
|
+
localVarRequestOptions.headers = {
|
|
321
|
+
...localVarHeaderParameter,
|
|
322
|
+
...headersFromBaseOptions,
|
|
323
|
+
...options.headers,
|
|
324
|
+
};
|
|
325
|
+
return {
|
|
326
|
+
url: toPathString(localVarUrlObj),
|
|
327
|
+
options: localVarRequestOptions,
|
|
328
|
+
};
|
|
329
|
+
}
|
|
330
|
+
// ItemsAi Api FP
|
|
331
|
+
/**
|
|
332
|
+
*
|
|
333
|
+
* @summary Get Conversation Items
|
|
334
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
335
|
+
* @param {string} basePath Base path.
|
|
336
|
+
* @param {ItemsAiGetConversationItemsApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdItemsGetRequest} requestParameters Request parameters.
|
|
337
|
+
* @param {*} [options] Override http request option.
|
|
338
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
339
|
+
* @throws {RequiredError}
|
|
340
|
+
*/
|
|
341
|
+
export async function ItemsAi_GetConversationItemsApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdItemsGet(axios, basePath, requestParameters, options, configuration) {
|
|
342
|
+
const localVarAxiosArgs = await ItemsAiAxiosParamCreator_GetConversationItemsApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdItemsGet(requestParameters.workspaceId, requestParameters.conversationId, options || {}, configuration);
|
|
343
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
344
|
+
}
|
|
345
|
+
/**
|
|
346
|
+
* ItemsAi - object-oriented interface
|
|
347
|
+
* @export
|
|
348
|
+
* @class ItemsAi
|
|
349
|
+
* @extends {BaseAPI}
|
|
350
|
+
*/
|
|
351
|
+
export class ItemsAi extends BaseAPI {
|
|
352
|
+
/**
|
|
353
|
+
*
|
|
354
|
+
* @summary Get Conversation Items
|
|
355
|
+
* @param {ItemsAiGetConversationItemsApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdItemsGetRequest} requestParameters Request parameters.
|
|
356
|
+
* @param {*} [options] Override http request option.
|
|
357
|
+
* @throws {RequiredError}
|
|
358
|
+
* @memberof ItemsAi
|
|
359
|
+
*/
|
|
360
|
+
getConversationItemsApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdItemsGet(requestParameters, options) {
|
|
361
|
+
return ItemsAi_GetConversationItemsApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdItemsGet(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
// KnowledgeAi FP - KnowledgeAiAxiosParamCreator
|
|
365
|
+
/**
|
|
366
|
+
* Download a knowledge document\'s raw file.
|
|
367
|
+
* @summary Download Document
|
|
368
|
+
* @param {string} workspaceId
|
|
369
|
+
* @param {string} filename
|
|
370
|
+
* @param {*} [options] Override http request option.
|
|
371
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
372
|
+
* @throws {RequiredError}
|
|
373
|
+
*/
|
|
374
|
+
export async function KnowledgeAiAxiosParamCreator_DownloadDocumentApiV1AiWorkspacesWorkspaceIdKnowledgeDocumentsFilenameDownloadGet(workspaceId, filename, options = {}, configuration) {
|
|
375
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
376
|
+
assertParamExists('downloadDocumentApiV1AiWorkspacesWorkspaceIdKnowledgeDocumentsFilenameDownloadGet', 'workspaceId', workspaceId);
|
|
377
|
+
// verify required parameter 'filename' is not null or undefined
|
|
378
|
+
assertParamExists('downloadDocumentApiV1AiWorkspacesWorkspaceIdKnowledgeDocumentsFilenameDownloadGet', 'filename', filename);
|
|
379
|
+
const localVarPath = `/api/v1/ai/workspaces/{workspace_id}/knowledge/documents/{filename}/download`
|
|
380
|
+
.replace(`{${"workspace_id"}}`, encodeURIComponent(String(workspaceId)))
|
|
381
|
+
.replace(`{${"filename"}}`, encodeURIComponent(String(filename)));
|
|
382
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
383
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
384
|
+
let baseOptions;
|
|
385
|
+
if (configuration) {
|
|
386
|
+
baseOptions = configuration.baseOptions;
|
|
387
|
+
}
|
|
388
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
389
|
+
const localVarHeaderParameter = {};
|
|
390
|
+
const localVarQueryParameter = {};
|
|
391
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
392
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
393
|
+
localVarRequestOptions.headers = {
|
|
394
|
+
...localVarHeaderParameter,
|
|
395
|
+
...headersFromBaseOptions,
|
|
396
|
+
...options.headers,
|
|
397
|
+
};
|
|
398
|
+
return {
|
|
399
|
+
url: toPathString(localVarUrlObj),
|
|
400
|
+
options: localVarRequestOptions,
|
|
401
|
+
};
|
|
402
|
+
}
|
|
403
|
+
// KnowledgeAi FP - KnowledgeAiAxiosParamCreator
|
|
404
|
+
/**
|
|
405
|
+
* Upload a new knowledge document. Returns 409 if filename already exists.
|
|
406
|
+
* @summary Upload Document
|
|
407
|
+
* @param {string} workspaceId
|
|
408
|
+
* @param {File} file
|
|
409
|
+
* @param {*} [options] Override http request option.
|
|
410
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
411
|
+
* @throws {RequiredError}
|
|
412
|
+
*/
|
|
413
|
+
export async function KnowledgeAiAxiosParamCreator_UploadDocumentApiV1AiWorkspacesWorkspaceIdKnowledgeDocumentsUploadPost(workspaceId, file, options = {}, configuration) {
|
|
414
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
415
|
+
assertParamExists('uploadDocumentApiV1AiWorkspacesWorkspaceIdKnowledgeDocumentsUploadPost', 'workspaceId', workspaceId);
|
|
416
|
+
// verify required parameter 'file' is not null or undefined
|
|
417
|
+
assertParamExists('uploadDocumentApiV1AiWorkspacesWorkspaceIdKnowledgeDocumentsUploadPost', 'file', file);
|
|
418
|
+
const localVarPath = `/api/v1/ai/workspaces/{workspace_id}/knowledge/documents/upload`
|
|
419
|
+
.replace(`{${"workspace_id"}}`, encodeURIComponent(String(workspaceId)));
|
|
420
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
421
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
422
|
+
let baseOptions;
|
|
423
|
+
if (configuration) {
|
|
424
|
+
baseOptions = configuration.baseOptions;
|
|
425
|
+
}
|
|
426
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
427
|
+
const localVarHeaderParameter = {};
|
|
428
|
+
const localVarQueryParameter = {};
|
|
429
|
+
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
430
|
+
if (file !== undefined) {
|
|
431
|
+
localVarFormParams.append('file', file);
|
|
432
|
+
}
|
|
433
|
+
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
434
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
435
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
436
|
+
localVarRequestOptions.headers = {
|
|
437
|
+
...localVarHeaderParameter,
|
|
438
|
+
...headersFromBaseOptions,
|
|
439
|
+
...options.headers,
|
|
440
|
+
};
|
|
441
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
442
|
+
return {
|
|
443
|
+
url: toPathString(localVarUrlObj),
|
|
444
|
+
options: localVarRequestOptions,
|
|
445
|
+
};
|
|
446
|
+
}
|
|
447
|
+
// KnowledgeAi FP - KnowledgeAiAxiosParamCreator
|
|
448
|
+
/**
|
|
449
|
+
* Upload or replace a knowledge document.
|
|
450
|
+
* @summary Upsert Document
|
|
451
|
+
* @param {string} workspaceId
|
|
452
|
+
* @param {File} file
|
|
453
|
+
* @param {*} [options] Override http request option.
|
|
454
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
455
|
+
* @throws {RequiredError}
|
|
456
|
+
*/
|
|
457
|
+
export async function KnowledgeAiAxiosParamCreator_UpsertDocumentApiV1AiWorkspacesWorkspaceIdKnowledgeDocumentsUploadPut(workspaceId, file, options = {}, configuration) {
|
|
458
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
459
|
+
assertParamExists('upsertDocumentApiV1AiWorkspacesWorkspaceIdKnowledgeDocumentsUploadPut', 'workspaceId', workspaceId);
|
|
460
|
+
// verify required parameter 'file' is not null or undefined
|
|
461
|
+
assertParamExists('upsertDocumentApiV1AiWorkspacesWorkspaceIdKnowledgeDocumentsUploadPut', 'file', file);
|
|
462
|
+
const localVarPath = `/api/v1/ai/workspaces/{workspace_id}/knowledge/documents/upload`
|
|
463
|
+
.replace(`{${"workspace_id"}}`, encodeURIComponent(String(workspaceId)));
|
|
464
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
465
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
466
|
+
let baseOptions;
|
|
467
|
+
if (configuration) {
|
|
468
|
+
baseOptions = configuration.baseOptions;
|
|
469
|
+
}
|
|
470
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
471
|
+
const localVarHeaderParameter = {};
|
|
472
|
+
const localVarQueryParameter = {};
|
|
473
|
+
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
474
|
+
if (file !== undefined) {
|
|
475
|
+
localVarFormParams.append('file', file);
|
|
476
|
+
}
|
|
477
|
+
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
478
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
479
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
480
|
+
localVarRequestOptions.headers = {
|
|
481
|
+
...localVarHeaderParameter,
|
|
482
|
+
...headersFromBaseOptions,
|
|
483
|
+
...options.headers,
|
|
484
|
+
};
|
|
485
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
486
|
+
return {
|
|
487
|
+
url: toPathString(localVarUrlObj),
|
|
488
|
+
options: localVarRequestOptions,
|
|
489
|
+
};
|
|
490
|
+
}
|
|
491
|
+
// KnowledgeAi Api FP
|
|
492
|
+
/**
|
|
493
|
+
* Download a knowledge document\'s raw file.
|
|
494
|
+
* @summary Download Document
|
|
495
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
496
|
+
* @param {string} basePath Base path.
|
|
497
|
+
* @param {KnowledgeAiDownloadDocumentApiV1AiWorkspacesWorkspaceIdKnowledgeDocumentsFilenameDownloadGetRequest} requestParameters Request parameters.
|
|
498
|
+
* @param {*} [options] Override http request option.
|
|
499
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
500
|
+
* @throws {RequiredError}
|
|
501
|
+
*/
|
|
502
|
+
export async function KnowledgeAi_DownloadDocumentApiV1AiWorkspacesWorkspaceIdKnowledgeDocumentsFilenameDownloadGet(axios, basePath, requestParameters, options, configuration) {
|
|
503
|
+
const localVarAxiosArgs = await KnowledgeAiAxiosParamCreator_DownloadDocumentApiV1AiWorkspacesWorkspaceIdKnowledgeDocumentsFilenameDownloadGet(requestParameters.workspaceId, requestParameters.filename, options || {}, configuration);
|
|
504
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
505
|
+
}
|
|
506
|
+
// KnowledgeAi Api FP
|
|
507
|
+
/**
|
|
508
|
+
* Upload a new knowledge document. Returns 409 if filename already exists.
|
|
509
|
+
* @summary Upload Document
|
|
510
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
511
|
+
* @param {string} basePath Base path.
|
|
512
|
+
* @param {KnowledgeAiUploadDocumentApiV1AiWorkspacesWorkspaceIdKnowledgeDocumentsUploadPostRequest} requestParameters Request parameters.
|
|
513
|
+
* @param {*} [options] Override http request option.
|
|
514
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
515
|
+
* @throws {RequiredError}
|
|
516
|
+
*/
|
|
517
|
+
export async function KnowledgeAi_UploadDocumentApiV1AiWorkspacesWorkspaceIdKnowledgeDocumentsUploadPost(axios, basePath, requestParameters, options, configuration) {
|
|
518
|
+
const localVarAxiosArgs = await KnowledgeAiAxiosParamCreator_UploadDocumentApiV1AiWorkspacesWorkspaceIdKnowledgeDocumentsUploadPost(requestParameters.workspaceId, requestParameters.file, options || {}, configuration);
|
|
519
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
520
|
+
}
|
|
521
|
+
// KnowledgeAi Api FP
|
|
522
|
+
/**
|
|
523
|
+
* Upload or replace a knowledge document.
|
|
524
|
+
* @summary Upsert Document
|
|
525
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
526
|
+
* @param {string} basePath Base path.
|
|
527
|
+
* @param {KnowledgeAiUpsertDocumentApiV1AiWorkspacesWorkspaceIdKnowledgeDocumentsUploadPutRequest} requestParameters Request parameters.
|
|
528
|
+
* @param {*} [options] Override http request option.
|
|
529
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
530
|
+
* @throws {RequiredError}
|
|
531
|
+
*/
|
|
532
|
+
export async function KnowledgeAi_UpsertDocumentApiV1AiWorkspacesWorkspaceIdKnowledgeDocumentsUploadPut(axios, basePath, requestParameters, options, configuration) {
|
|
533
|
+
const localVarAxiosArgs = await KnowledgeAiAxiosParamCreator_UpsertDocumentApiV1AiWorkspacesWorkspaceIdKnowledgeDocumentsUploadPut(requestParameters.workspaceId, requestParameters.file, options || {}, configuration);
|
|
534
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
535
|
+
}
|
|
536
|
+
/**
|
|
537
|
+
* KnowledgeAi - object-oriented interface
|
|
538
|
+
* @export
|
|
539
|
+
* @class KnowledgeAi
|
|
540
|
+
* @extends {BaseAPI}
|
|
541
|
+
*/
|
|
542
|
+
export class KnowledgeAi extends BaseAPI {
|
|
543
|
+
/**
|
|
544
|
+
* Download a knowledge document\'s raw file.
|
|
545
|
+
* @summary Download Document
|
|
546
|
+
* @param {KnowledgeAiDownloadDocumentApiV1AiWorkspacesWorkspaceIdKnowledgeDocumentsFilenameDownloadGetRequest} requestParameters Request parameters.
|
|
547
|
+
* @param {*} [options] Override http request option.
|
|
548
|
+
* @throws {RequiredError}
|
|
549
|
+
* @memberof KnowledgeAi
|
|
550
|
+
*/
|
|
551
|
+
downloadDocumentApiV1AiWorkspacesWorkspaceIdKnowledgeDocumentsFilenameDownloadGet(requestParameters, options) {
|
|
552
|
+
return KnowledgeAi_DownloadDocumentApiV1AiWorkspacesWorkspaceIdKnowledgeDocumentsFilenameDownloadGet(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
553
|
+
}
|
|
554
|
+
/**
|
|
555
|
+
* Upload a new knowledge document. Returns 409 if filename already exists.
|
|
556
|
+
* @summary Upload Document
|
|
557
|
+
* @param {KnowledgeAiUploadDocumentApiV1AiWorkspacesWorkspaceIdKnowledgeDocumentsUploadPostRequest} requestParameters Request parameters.
|
|
558
|
+
* @param {*} [options] Override http request option.
|
|
559
|
+
* @throws {RequiredError}
|
|
560
|
+
* @memberof KnowledgeAi
|
|
561
|
+
*/
|
|
562
|
+
uploadDocumentApiV1AiWorkspacesWorkspaceIdKnowledgeDocumentsUploadPost(requestParameters, options) {
|
|
563
|
+
return KnowledgeAi_UploadDocumentApiV1AiWorkspacesWorkspaceIdKnowledgeDocumentsUploadPost(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
564
|
+
}
|
|
565
|
+
/**
|
|
566
|
+
* Upload or replace a knowledge document.
|
|
567
|
+
* @summary Upsert Document
|
|
568
|
+
* @param {KnowledgeAiUpsertDocumentApiV1AiWorkspacesWorkspaceIdKnowledgeDocumentsUploadPutRequest} requestParameters Request parameters.
|
|
569
|
+
* @param {*} [options] Override http request option.
|
|
570
|
+
* @throws {RequiredError}
|
|
571
|
+
* @memberof KnowledgeAi
|
|
572
|
+
*/
|
|
573
|
+
upsertDocumentApiV1AiWorkspacesWorkspaceIdKnowledgeDocumentsUploadPut(requestParameters, options) {
|
|
574
|
+
return KnowledgeAi_UpsertDocumentApiV1AiWorkspacesWorkspaceIdKnowledgeDocumentsUploadPut(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
575
|
+
}
|
|
576
|
+
}
|
|
577
|
+
// MessagesAi FP - MessagesAiAxiosParamCreator
|
|
578
|
+
/**
|
|
579
|
+
*
|
|
580
|
+
* @summary Post Messages
|
|
581
|
+
* @param {string} workspaceId
|
|
582
|
+
* @param {string} conversationId
|
|
583
|
+
* @param {AiSendMessageRequest} aiSendMessageRequest
|
|
584
|
+
* @param {*} [options] Override http request option.
|
|
585
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
586
|
+
* @throws {RequiredError}
|
|
587
|
+
*/
|
|
588
|
+
export async function MessagesAiAxiosParamCreator_PostMessagesApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdMessagesPost(workspaceId, conversationId, aiSendMessageRequest, options = {}, configuration) {
|
|
589
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
590
|
+
assertParamExists('postMessagesApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdMessagesPost', 'workspaceId', workspaceId);
|
|
591
|
+
// verify required parameter 'conversationId' is not null or undefined
|
|
592
|
+
assertParamExists('postMessagesApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdMessagesPost', 'conversationId', conversationId);
|
|
593
|
+
// verify required parameter 'aiSendMessageRequest' is not null or undefined
|
|
594
|
+
assertParamExists('postMessagesApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdMessagesPost', 'aiSendMessageRequest', aiSendMessageRequest);
|
|
595
|
+
const localVarPath = `/api/v1/ai/workspaces/{workspace_id}/chat/conversations/{conversation_id}/messages`
|
|
596
|
+
.replace(`{${"workspace_id"}}`, encodeURIComponent(String(workspaceId)))
|
|
597
|
+
.replace(`{${"conversation_id"}}`, encodeURIComponent(String(conversationId)));
|
|
598
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
599
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
600
|
+
let baseOptions;
|
|
601
|
+
if (configuration) {
|
|
602
|
+
baseOptions = configuration.baseOptions;
|
|
603
|
+
}
|
|
604
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
605
|
+
const localVarHeaderParameter = {};
|
|
606
|
+
const localVarQueryParameter = {};
|
|
607
|
+
const consumes = [
|
|
608
|
+
'application/json'
|
|
609
|
+
];
|
|
610
|
+
// use application/json if present, otherwise fallback to the first one
|
|
611
|
+
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
612
|
+
? 'application/json'
|
|
613
|
+
: consumes[0];
|
|
614
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
615
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
616
|
+
localVarRequestOptions.headers = {
|
|
617
|
+
...localVarHeaderParameter,
|
|
618
|
+
...headersFromBaseOptions,
|
|
619
|
+
...options.headers,
|
|
620
|
+
};
|
|
621
|
+
const needsSerialization = typeof aiSendMessageRequest !== "string" ||
|
|
622
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
623
|
+
localVarRequestOptions.data = needsSerialization
|
|
624
|
+
? JSON.stringify(aiSendMessageRequest !== undefined ? aiSendMessageRequest : {})
|
|
625
|
+
: aiSendMessageRequest || "";
|
|
626
|
+
return {
|
|
627
|
+
url: toPathString(localVarUrlObj),
|
|
628
|
+
options: localVarRequestOptions,
|
|
629
|
+
};
|
|
630
|
+
}
|
|
631
|
+
// MessagesAi Api FP
|
|
632
|
+
/**
|
|
633
|
+
*
|
|
634
|
+
* @summary Post Messages
|
|
635
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
636
|
+
* @param {string} basePath Base path.
|
|
637
|
+
* @param {MessagesAiPostMessagesApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdMessagesPostRequest} requestParameters Request parameters.
|
|
638
|
+
* @param {*} [options] Override http request option.
|
|
639
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
640
|
+
* @throws {RequiredError}
|
|
641
|
+
*/
|
|
642
|
+
export async function MessagesAi_PostMessagesApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdMessagesPost(axios, basePath, requestParameters, options, configuration) {
|
|
643
|
+
const localVarAxiosArgs = await MessagesAiAxiosParamCreator_PostMessagesApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdMessagesPost(requestParameters.workspaceId, requestParameters.conversationId, requestParameters.aiSendMessageRequest, options || {}, configuration);
|
|
644
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
645
|
+
}
|
|
646
|
+
/**
|
|
647
|
+
* MessagesAi - object-oriented interface
|
|
648
|
+
* @export
|
|
649
|
+
* @class MessagesAi
|
|
650
|
+
* @extends {BaseAPI}
|
|
651
|
+
*/
|
|
652
|
+
export class MessagesAi extends BaseAPI {
|
|
653
|
+
/**
|
|
654
|
+
*
|
|
655
|
+
* @summary Post Messages
|
|
656
|
+
* @param {MessagesAiPostMessagesApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdMessagesPostRequest} requestParameters Request parameters.
|
|
657
|
+
* @param {*} [options] Override http request option.
|
|
658
|
+
* @throws {RequiredError}
|
|
659
|
+
* @memberof MessagesAi
|
|
660
|
+
*/
|
|
661
|
+
postMessagesApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdMessagesPost(requestParameters, options) {
|
|
662
|
+
return MessagesAi_PostMessagesApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdMessagesPost(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
663
|
+
}
|
|
664
|
+
}
|
|
665
|
+
// ResponsesAi FP - ResponsesAiAxiosParamCreator
|
|
666
|
+
/**
|
|
667
|
+
*
|
|
668
|
+
* @summary Get Conversation Responses
|
|
669
|
+
* @param {string} workspaceId
|
|
670
|
+
* @param {string} conversationId
|
|
671
|
+
* @param {*} [options] Override http request option.
|
|
672
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
673
|
+
* @throws {RequiredError}
|
|
674
|
+
*/
|
|
675
|
+
export async function ResponsesAiAxiosParamCreator_GetConversationResponsesApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdResponsesGet(workspaceId, conversationId, options = {}, configuration) {
|
|
676
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
677
|
+
assertParamExists('getConversationResponsesApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdResponsesGet', 'workspaceId', workspaceId);
|
|
678
|
+
// verify required parameter 'conversationId' is not null or undefined
|
|
679
|
+
assertParamExists('getConversationResponsesApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdResponsesGet', 'conversationId', conversationId);
|
|
680
|
+
const localVarPath = `/api/v1/ai/workspaces/{workspace_id}/chat/conversations/{conversation_id}/responses`
|
|
681
|
+
.replace(`{${"workspace_id"}}`, encodeURIComponent(String(workspaceId)))
|
|
682
|
+
.replace(`{${"conversation_id"}}`, encodeURIComponent(String(conversationId)));
|
|
683
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
684
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
685
|
+
let baseOptions;
|
|
686
|
+
if (configuration) {
|
|
687
|
+
baseOptions = configuration.baseOptions;
|
|
688
|
+
}
|
|
689
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
690
|
+
const localVarHeaderParameter = {};
|
|
691
|
+
const localVarQueryParameter = {};
|
|
692
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
693
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
694
|
+
localVarRequestOptions.headers = {
|
|
695
|
+
...localVarHeaderParameter,
|
|
696
|
+
...headersFromBaseOptions,
|
|
697
|
+
...options.headers,
|
|
698
|
+
};
|
|
699
|
+
return {
|
|
700
|
+
url: toPathString(localVarUrlObj),
|
|
701
|
+
options: localVarRequestOptions,
|
|
702
|
+
};
|
|
703
|
+
}
|
|
704
|
+
// ResponsesAi FP - ResponsesAiAxiosParamCreator
|
|
705
|
+
/**
|
|
706
|
+
*
|
|
707
|
+
* @summary Patch Response
|
|
708
|
+
* @param {string} workspaceId
|
|
709
|
+
* @param {string} conversationId
|
|
710
|
+
* @param {string} responseId
|
|
711
|
+
* @param {AiResponseFeedbackRequest} aiResponseFeedbackRequest
|
|
712
|
+
* @param {*} [options] Override http request option.
|
|
713
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
714
|
+
* @throws {RequiredError}
|
|
715
|
+
*/
|
|
716
|
+
export async function ResponsesAiAxiosParamCreator_PatchResponseApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdResponsesResponseIdPatch(workspaceId, conversationId, responseId, aiResponseFeedbackRequest, options = {}, configuration) {
|
|
717
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
718
|
+
assertParamExists('patchResponseApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdResponsesResponseIdPatch', 'workspaceId', workspaceId);
|
|
719
|
+
// verify required parameter 'conversationId' is not null or undefined
|
|
720
|
+
assertParamExists('patchResponseApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdResponsesResponseIdPatch', 'conversationId', conversationId);
|
|
721
|
+
// verify required parameter 'responseId' is not null or undefined
|
|
722
|
+
assertParamExists('patchResponseApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdResponsesResponseIdPatch', 'responseId', responseId);
|
|
723
|
+
// verify required parameter 'aiResponseFeedbackRequest' is not null or undefined
|
|
724
|
+
assertParamExists('patchResponseApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdResponsesResponseIdPatch', 'aiResponseFeedbackRequest', aiResponseFeedbackRequest);
|
|
725
|
+
const localVarPath = `/api/v1/ai/workspaces/{workspace_id}/chat/conversations/{conversation_id}/responses/{response_id}`
|
|
726
|
+
.replace(`{${"workspace_id"}}`, encodeURIComponent(String(workspaceId)))
|
|
727
|
+
.replace(`{${"conversation_id"}}`, encodeURIComponent(String(conversationId)))
|
|
728
|
+
.replace(`{${"response_id"}}`, encodeURIComponent(String(responseId)));
|
|
729
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
730
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
731
|
+
let baseOptions;
|
|
732
|
+
if (configuration) {
|
|
733
|
+
baseOptions = configuration.baseOptions;
|
|
734
|
+
}
|
|
735
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options };
|
|
736
|
+
const localVarHeaderParameter = {};
|
|
737
|
+
const localVarQueryParameter = {};
|
|
738
|
+
const consumes = [
|
|
739
|
+
'application/json'
|
|
740
|
+
];
|
|
741
|
+
// use application/json if present, otherwise fallback to the first one
|
|
742
|
+
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
743
|
+
? 'application/json'
|
|
744
|
+
: consumes[0];
|
|
745
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
746
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
747
|
+
localVarRequestOptions.headers = {
|
|
748
|
+
...localVarHeaderParameter,
|
|
749
|
+
...headersFromBaseOptions,
|
|
750
|
+
...options.headers,
|
|
751
|
+
};
|
|
752
|
+
const needsSerialization = typeof aiResponseFeedbackRequest !== "string" ||
|
|
753
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
754
|
+
localVarRequestOptions.data = needsSerialization
|
|
755
|
+
? JSON.stringify(aiResponseFeedbackRequest !== undefined ? aiResponseFeedbackRequest : {})
|
|
756
|
+
: aiResponseFeedbackRequest || "";
|
|
757
|
+
return {
|
|
758
|
+
url: toPathString(localVarUrlObj),
|
|
759
|
+
options: localVarRequestOptions,
|
|
760
|
+
};
|
|
761
|
+
}
|
|
762
|
+
// ResponsesAi Api FP
|
|
763
|
+
/**
|
|
764
|
+
*
|
|
765
|
+
* @summary Get Conversation Responses
|
|
766
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
767
|
+
* @param {string} basePath Base path.
|
|
768
|
+
* @param {ResponsesAiGetConversationResponsesApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdResponsesGetRequest} requestParameters Request parameters.
|
|
769
|
+
* @param {*} [options] Override http request option.
|
|
770
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
771
|
+
* @throws {RequiredError}
|
|
772
|
+
*/
|
|
773
|
+
export async function ResponsesAi_GetConversationResponsesApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdResponsesGet(axios, basePath, requestParameters, options, configuration) {
|
|
774
|
+
const localVarAxiosArgs = await ResponsesAiAxiosParamCreator_GetConversationResponsesApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdResponsesGet(requestParameters.workspaceId, requestParameters.conversationId, options || {}, configuration);
|
|
775
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
776
|
+
}
|
|
777
|
+
// ResponsesAi Api FP
|
|
778
|
+
/**
|
|
779
|
+
*
|
|
780
|
+
* @summary Patch Response
|
|
781
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
782
|
+
* @param {string} basePath Base path.
|
|
783
|
+
* @param {ResponsesAiPatchResponseApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdResponsesResponseIdPatchRequest} requestParameters Request parameters.
|
|
784
|
+
* @param {*} [options] Override http request option.
|
|
785
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
786
|
+
* @throws {RequiredError}
|
|
787
|
+
*/
|
|
788
|
+
export async function ResponsesAi_PatchResponseApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdResponsesResponseIdPatch(axios, basePath, requestParameters, options, configuration) {
|
|
789
|
+
const localVarAxiosArgs = await ResponsesAiAxiosParamCreator_PatchResponseApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdResponsesResponseIdPatch(requestParameters.workspaceId, requestParameters.conversationId, requestParameters.responseId, requestParameters.aiResponseFeedbackRequest, options || {}, configuration);
|
|
790
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
791
|
+
}
|
|
792
|
+
/**
|
|
793
|
+
* ResponsesAi - object-oriented interface
|
|
794
|
+
* @export
|
|
795
|
+
* @class ResponsesAi
|
|
796
|
+
* @extends {BaseAPI}
|
|
797
|
+
*/
|
|
798
|
+
export class ResponsesAi extends BaseAPI {
|
|
799
|
+
/**
|
|
800
|
+
*
|
|
801
|
+
* @summary Get Conversation Responses
|
|
802
|
+
* @param {ResponsesAiGetConversationResponsesApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdResponsesGetRequest} requestParameters Request parameters.
|
|
803
|
+
* @param {*} [options] Override http request option.
|
|
804
|
+
* @throws {RequiredError}
|
|
805
|
+
* @memberof ResponsesAi
|
|
806
|
+
*/
|
|
807
|
+
getConversationResponsesApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdResponsesGet(requestParameters, options) {
|
|
808
|
+
return ResponsesAi_GetConversationResponsesApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdResponsesGet(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
809
|
+
}
|
|
810
|
+
/**
|
|
811
|
+
*
|
|
812
|
+
* @summary Patch Response
|
|
813
|
+
* @param {ResponsesAiPatchResponseApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdResponsesResponseIdPatchRequest} requestParameters Request parameters.
|
|
814
|
+
* @param {*} [options] Override http request option.
|
|
815
|
+
* @throws {RequiredError}
|
|
816
|
+
* @memberof ResponsesAi
|
|
817
|
+
*/
|
|
818
|
+
patchResponseApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdResponsesResponseIdPatch(requestParameters, options) {
|
|
819
|
+
return ResponsesAi_PatchResponseApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdResponsesResponseIdPatch(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
820
|
+
}
|
|
821
|
+
}
|
|
822
|
+
// VisualizationsAi FP - VisualizationsAiAxiosParamCreator
|
|
823
|
+
/**
|
|
824
|
+
*
|
|
825
|
+
* @summary Patch Visualization
|
|
826
|
+
* @param {string} workspaceId
|
|
827
|
+
* @param {string} conversationId
|
|
828
|
+
* @param {string} visualizationId
|
|
829
|
+
* @param {AiVisualizationIdUpdateRequest} aiVisualizationIdUpdateRequest
|
|
830
|
+
* @param {*} [options] Override http request option.
|
|
831
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
832
|
+
* @throws {RequiredError}
|
|
833
|
+
*/
|
|
834
|
+
export async function VisualizationsAiAxiosParamCreator_PatchVisualizationApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdVisualizationsVisualizationIdPatch(workspaceId, conversationId, visualizationId, aiVisualizationIdUpdateRequest, options = {}, configuration) {
|
|
835
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
836
|
+
assertParamExists('patchVisualizationApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdVisualizationsVisualizationIdPatch', 'workspaceId', workspaceId);
|
|
837
|
+
// verify required parameter 'conversationId' is not null or undefined
|
|
838
|
+
assertParamExists('patchVisualizationApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdVisualizationsVisualizationIdPatch', 'conversationId', conversationId);
|
|
839
|
+
// verify required parameter 'visualizationId' is not null or undefined
|
|
840
|
+
assertParamExists('patchVisualizationApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdVisualizationsVisualizationIdPatch', 'visualizationId', visualizationId);
|
|
841
|
+
// verify required parameter 'aiVisualizationIdUpdateRequest' is not null or undefined
|
|
842
|
+
assertParamExists('patchVisualizationApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdVisualizationsVisualizationIdPatch', 'aiVisualizationIdUpdateRequest', aiVisualizationIdUpdateRequest);
|
|
843
|
+
const localVarPath = `/api/v1/ai/workspaces/{workspace_id}/chat/conversations/{conversation_id}/visualizations/{visualization_id}`
|
|
844
|
+
.replace(`{${"workspace_id"}}`, encodeURIComponent(String(workspaceId)))
|
|
845
|
+
.replace(`{${"conversation_id"}}`, encodeURIComponent(String(conversationId)))
|
|
846
|
+
.replace(`{${"visualization_id"}}`, encodeURIComponent(String(visualizationId)));
|
|
847
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
848
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
849
|
+
let baseOptions;
|
|
850
|
+
if (configuration) {
|
|
851
|
+
baseOptions = configuration.baseOptions;
|
|
852
|
+
}
|
|
853
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options };
|
|
854
|
+
const localVarHeaderParameter = {};
|
|
855
|
+
const localVarQueryParameter = {};
|
|
856
|
+
const consumes = [
|
|
857
|
+
'application/json'
|
|
858
|
+
];
|
|
859
|
+
// use application/json if present, otherwise fallback to the first one
|
|
860
|
+
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
861
|
+
? 'application/json'
|
|
862
|
+
: consumes[0];
|
|
863
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
864
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
865
|
+
localVarRequestOptions.headers = {
|
|
866
|
+
...localVarHeaderParameter,
|
|
867
|
+
...headersFromBaseOptions,
|
|
868
|
+
...options.headers,
|
|
869
|
+
};
|
|
870
|
+
const needsSerialization = typeof aiVisualizationIdUpdateRequest !== "string" ||
|
|
871
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
872
|
+
localVarRequestOptions.data = needsSerialization
|
|
873
|
+
? JSON.stringify(aiVisualizationIdUpdateRequest !== undefined ? aiVisualizationIdUpdateRequest : {})
|
|
874
|
+
: aiVisualizationIdUpdateRequest || "";
|
|
875
|
+
return {
|
|
876
|
+
url: toPathString(localVarUrlObj),
|
|
877
|
+
options: localVarRequestOptions,
|
|
878
|
+
};
|
|
879
|
+
}
|
|
880
|
+
// VisualizationsAi Api FP
|
|
881
|
+
/**
|
|
882
|
+
*
|
|
883
|
+
* @summary Patch Visualization
|
|
884
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
885
|
+
* @param {string} basePath Base path.
|
|
886
|
+
* @param {VisualizationsAiPatchVisualizationApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdVisualizationsVisualizationIdPatchRequest} requestParameters Request parameters.
|
|
887
|
+
* @param {*} [options] Override http request option.
|
|
888
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
889
|
+
* @throws {RequiredError}
|
|
890
|
+
*/
|
|
891
|
+
export async function VisualizationsAi_PatchVisualizationApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdVisualizationsVisualizationIdPatch(axios, basePath, requestParameters, options, configuration) {
|
|
892
|
+
const localVarAxiosArgs = await VisualizationsAiAxiosParamCreator_PatchVisualizationApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdVisualizationsVisualizationIdPatch(requestParameters.workspaceId, requestParameters.conversationId, requestParameters.visualizationId, requestParameters.aiVisualizationIdUpdateRequest, options || {}, configuration);
|
|
893
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
894
|
+
}
|
|
895
|
+
/**
|
|
896
|
+
* VisualizationsAi - object-oriented interface
|
|
897
|
+
* @export
|
|
898
|
+
* @class VisualizationsAi
|
|
899
|
+
* @extends {BaseAPI}
|
|
900
|
+
*/
|
|
901
|
+
export class VisualizationsAi extends BaseAPI {
|
|
902
|
+
/**
|
|
903
|
+
*
|
|
904
|
+
* @summary Patch Visualization
|
|
905
|
+
* @param {VisualizationsAiPatchVisualizationApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdVisualizationsVisualizationIdPatchRequest} requestParameters Request parameters.
|
|
906
|
+
* @param {*} [options] Override http request option.
|
|
907
|
+
* @throws {RequiredError}
|
|
908
|
+
* @memberof VisualizationsAi
|
|
909
|
+
*/
|
|
910
|
+
patchVisualizationApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdVisualizationsVisualizationIdPatch(requestParameters, options) {
|
|
911
|
+
return VisualizationsAi_PatchVisualizationApiV1AiWorkspacesWorkspaceIdChatConversationsConversationIdVisualizationsVisualizationIdPatch(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
912
|
+
}
|
|
913
|
+
}
|
|
914
|
+
//# sourceMappingURL=api.js.map
|