@closerplatform/spinner-openapi 0.12.597 → 0.12.598
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/api.d.ts +15 -3
- package/dist/api.js +1 -1
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -1136,6 +1136,18 @@ export interface BotInfo {
|
|
|
1136
1136
|
* @memberof BotInfo
|
|
1137
1137
|
*/
|
|
1138
1138
|
botType: BotInfo.BotTypeEnum;
|
|
1139
|
+
/**
|
|
1140
|
+
*
|
|
1141
|
+
* @type {string}
|
|
1142
|
+
* @memberof BotInfo
|
|
1143
|
+
*/
|
|
1144
|
+
knowledgeBaseId?: string;
|
|
1145
|
+
/**
|
|
1146
|
+
*
|
|
1147
|
+
* @type {number}
|
|
1148
|
+
* @memberof BotInfo
|
|
1149
|
+
*/
|
|
1150
|
+
knowledgeBaseUpdatedAt?: number;
|
|
1139
1151
|
}
|
|
1140
1152
|
/**
|
|
1141
1153
|
* @export
|
|
@@ -8150,7 +8162,7 @@ export declare const BotsApiFp: (configuration?: Configuration) => {
|
|
|
8150
8162
|
* @param {*} [options] Override http request option.
|
|
8151
8163
|
* @throws {RequiredError}
|
|
8152
8164
|
*/
|
|
8153
|
-
updateKnowledgeBase(body: UpdateBotKnowledgeBaseForm, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<
|
|
8165
|
+
updateKnowledgeBase(body: UpdateBotKnowledgeBaseForm, options?: any): (fetch?: FetchAPI, basePath?: string) => Promise<BotInfo>;
|
|
8154
8166
|
/**
|
|
8155
8167
|
*
|
|
8156
8168
|
* @summary update lekta config
|
|
@@ -8233,7 +8245,7 @@ export declare const BotsApiFactory: (configuration?: Configuration, fetch?: Fet
|
|
|
8233
8245
|
* @param {*} [options] Override http request option.
|
|
8234
8246
|
* @throws {RequiredError}
|
|
8235
8247
|
*/
|
|
8236
|
-
updateKnowledgeBase(body: UpdateBotKnowledgeBaseForm, options?: any): Promise<
|
|
8248
|
+
updateKnowledgeBase(body: UpdateBotKnowledgeBaseForm, options?: any): Promise<BotInfo>;
|
|
8237
8249
|
/**
|
|
8238
8250
|
*
|
|
8239
8251
|
* @summary update lekta config
|
|
@@ -8327,7 +8339,7 @@ export declare class BotsApi extends BaseAPI {
|
|
|
8327
8339
|
* @throws {RequiredError}
|
|
8328
8340
|
* @memberof BotsApi
|
|
8329
8341
|
*/
|
|
8330
|
-
updateKnowledgeBase(body: UpdateBotKnowledgeBaseForm, options?: any): Promise<
|
|
8342
|
+
updateKnowledgeBase(body: UpdateBotKnowledgeBaseForm, options?: any): Promise<BotInfo>;
|
|
8331
8343
|
/**
|
|
8332
8344
|
*
|
|
8333
8345
|
* @summary update lekta config
|
package/dist/api.js
CHANGED
|
@@ -2525,7 +2525,7 @@ const BotsApiFp = function (configuration) {
|
|
|
2525
2525
|
return (fetch = isomorphicFetch, basePath = BASE_PATH) => {
|
|
2526
2526
|
return fetch(basePath + localVarFetchArgs.url, localVarFetchArgs.options).then((response) => {
|
|
2527
2527
|
if (response.status >= 200 && response.status < 300) {
|
|
2528
|
-
return response;
|
|
2528
|
+
return response.json();
|
|
2529
2529
|
}
|
|
2530
2530
|
else {
|
|
2531
2531
|
throw response;
|