@breign/client 1.0.59 → 1.0.60
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/AppApi.d.ts +3 -3
- package/dist/apis/AppApi.js +3 -2
- package/dist/models/FillersArrayInnerUio.d.ts +44 -0
- package/dist/models/FillersArrayInnerUio.js +58 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/dist/openapi.json +29 -1
- package/package.json +1 -1
package/dist/apis/AppApi.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { AppChatCreateRequestUio, AppChatCreateResponseUio, AppChatSayRequestUio, AppChatSayResponseUio, AppChatSubmitMessageRequestUio, AppConfigurationUio, AppConfigurationUpdateRequestUio, AppCreateRequestUio, AppFlowCreateRequestUio, AppInstanceCreateRequestUio, AppLightUio, AppProbeRequestUio, AppProbeResponseUio, AppStatusRequestUio, AppStatusResponseUio, AppSubmitMessageRequestUio, AppTextToSpeechRequestUio, AppTextToSpeechResponseUio, AppUio, AppUpdateRequestUio, AudioFileUio, AudioFillerExistsResponseUio, BodyWithIdUio, FileCreationRequestUio, FileCreationResponseUio, FlowUio, S3UploadBodyUio } from '../models/index';
|
|
13
|
+
import type { AppChatCreateRequestUio, AppChatCreateResponseUio, AppChatSayRequestUio, AppChatSayResponseUio, AppChatSubmitMessageRequestUio, AppConfigurationUio, AppConfigurationUpdateRequestUio, AppCreateRequestUio, AppFlowCreateRequestUio, AppInstanceCreateRequestUio, AppLightUio, AppProbeRequestUio, AppProbeResponseUio, AppStatusRequestUio, AppStatusResponseUio, AppSubmitMessageRequestUio, AppTextToSpeechRequestUio, AppTextToSpeechResponseUio, AppUio, AppUpdateRequestUio, AudioFileUio, AudioFillerExistsResponseUio, BodyWithIdUio, FileCreationRequestUio, FileCreationResponseUio, FillersArrayInnerUio, FlowUio, S3UploadBodyUio } from '../models/index';
|
|
14
14
|
export interface AddAppConfigurationFileRequest {
|
|
15
15
|
appId: string;
|
|
16
16
|
type: string;
|
|
@@ -214,12 +214,12 @@ export declare class AppApi extends runtime.BaseAPI {
|
|
|
214
214
|
* Delete a default filler
|
|
215
215
|
* Delete a default filler
|
|
216
216
|
*/
|
|
217
|
-
deleteDefaultFillerRaw(requestParameters: DeleteDefaultFillerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
217
|
+
deleteDefaultFillerRaw(requestParameters: DeleteDefaultFillerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<FillersArrayInnerUio>>>;
|
|
218
218
|
/**
|
|
219
219
|
* Delete a default filler
|
|
220
220
|
* Delete a default filler
|
|
221
221
|
*/
|
|
222
|
-
deleteDefaultFiller(appId: string, voiceId: string, language: string, fillerId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
222
|
+
deleteDefaultFiller(appId: string, voiceId: string, language: string, fillerId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<FillersArrayInnerUio>>;
|
|
223
223
|
/**
|
|
224
224
|
* Get an app
|
|
225
225
|
* Get an app
|
package/dist/apis/AppApi.js
CHANGED
|
@@ -354,14 +354,15 @@ class AppApi extends runtime.BaseAPI {
|
|
|
354
354
|
headers: headerParameters,
|
|
355
355
|
query: queryParameters,
|
|
356
356
|
}, initOverrides);
|
|
357
|
-
return new runtime.
|
|
357
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(index_1.FillersArrayInnerUioFromJSON));
|
|
358
358
|
}
|
|
359
359
|
/**
|
|
360
360
|
* Delete a default filler
|
|
361
361
|
* Delete a default filler
|
|
362
362
|
*/
|
|
363
363
|
async deleteDefaultFiller(appId, voiceId, language, fillerId, initOverrides) {
|
|
364
|
-
await this.deleteDefaultFillerRaw({ appId: appId, voiceId: voiceId, language: language, fillerId: fillerId }, initOverrides);
|
|
364
|
+
const response = await this.deleteDefaultFillerRaw({ appId: appId, voiceId: voiceId, language: language, fillerId: fillerId }, initOverrides);
|
|
365
|
+
return await response.value();
|
|
365
366
|
}
|
|
366
367
|
/**
|
|
367
368
|
* Get an app
|
|
@@ -0,0 +1,44 @@
|
|
|
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 FillersArrayInnerUio
|
|
16
|
+
*/
|
|
17
|
+
export interface FillersArrayInnerUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof FillersArrayInnerUio
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof FillersArrayInnerUio
|
|
28
|
+
*/
|
|
29
|
+
text: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof FillersArrayInnerUio
|
|
34
|
+
*/
|
|
35
|
+
checked: boolean;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the FillersArrayInnerUio interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfFillersArrayInnerUio(value: object): value is FillersArrayInnerUio;
|
|
41
|
+
export declare function FillersArrayInnerUioFromJSON(json: any): FillersArrayInnerUio;
|
|
42
|
+
export declare function FillersArrayInnerUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): FillersArrayInnerUio;
|
|
43
|
+
export declare function FillersArrayInnerUioToJSON(json: any): FillersArrayInnerUio;
|
|
44
|
+
export declare function FillersArrayInnerUioToJSONTyped(value?: FillersArrayInnerUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
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.instanceOfFillersArrayInnerUio = instanceOfFillersArrayInnerUio;
|
|
17
|
+
exports.FillersArrayInnerUioFromJSON = FillersArrayInnerUioFromJSON;
|
|
18
|
+
exports.FillersArrayInnerUioFromJSONTyped = FillersArrayInnerUioFromJSONTyped;
|
|
19
|
+
exports.FillersArrayInnerUioToJSON = FillersArrayInnerUioToJSON;
|
|
20
|
+
exports.FillersArrayInnerUioToJSONTyped = FillersArrayInnerUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the FillersArrayInnerUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfFillersArrayInnerUio(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('text' in value) || value['text'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('checked' in value) || value['checked'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function FillersArrayInnerUioFromJSON(json) {
|
|
34
|
+
return FillersArrayInnerUioFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function FillersArrayInnerUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'id': json['id'],
|
|
42
|
+
'text': json['text'],
|
|
43
|
+
'checked': json['checked'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function FillersArrayInnerUioToJSON(json) {
|
|
47
|
+
return FillersArrayInnerUioToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function FillersArrayInnerUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'id': value['id'],
|
|
55
|
+
'text': value['text'],
|
|
56
|
+
'checked': value['checked'],
|
|
57
|
+
};
|
|
58
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -112,6 +112,7 @@ export * from './FileStatusUio';
|
|
|
112
112
|
export * from './FileStatusUpdateRequestUio';
|
|
113
113
|
export * from './FileUio';
|
|
114
114
|
export * from './FileWithDownloadUrlUio';
|
|
115
|
+
export * from './FillersArrayInnerUio';
|
|
115
116
|
export * from './FlowContentsSuggestionUio';
|
|
116
117
|
export * from './FlowContentsUio';
|
|
117
118
|
export * from './FlowEntrypointsUio';
|
package/dist/models/index.js
CHANGED
|
@@ -130,6 +130,7 @@ __exportStar(require("./FileStatusUio"), exports);
|
|
|
130
130
|
__exportStar(require("./FileStatusUpdateRequestUio"), exports);
|
|
131
131
|
__exportStar(require("./FileUio"), exports);
|
|
132
132
|
__exportStar(require("./FileWithDownloadUrlUio"), exports);
|
|
133
|
+
__exportStar(require("./FillersArrayInnerUio"), exports);
|
|
133
134
|
__exportStar(require("./FlowContentsSuggestionUio"), exports);
|
|
134
135
|
__exportStar(require("./FlowContentsUio"), exports);
|
|
135
136
|
__exportStar(require("./FlowEntrypointsUio"), exports);
|
package/dist/openapi.json
CHANGED
|
@@ -6285,7 +6285,14 @@
|
|
|
6285
6285
|
}
|
|
6286
6286
|
} ],
|
|
6287
6287
|
"responses" : {
|
|
6288
|
-
"
|
|
6288
|
+
"200" : {
|
|
6289
|
+
"content" : {
|
|
6290
|
+
"application/json" : {
|
|
6291
|
+
"schema" : {
|
|
6292
|
+
"$ref" : "#/components/schemas/FillersArray"
|
|
6293
|
+
}
|
|
6294
|
+
}
|
|
6295
|
+
},
|
|
6289
6296
|
"description" : "Default filler deleted successfully"
|
|
6290
6297
|
},
|
|
6291
6298
|
"401" : {
|
|
@@ -9741,6 +9748,12 @@
|
|
|
9741
9748
|
"required" : [ "message" ],
|
|
9742
9749
|
"type" : "object"
|
|
9743
9750
|
},
|
|
9751
|
+
"FillersArray" : {
|
|
9752
|
+
"items" : {
|
|
9753
|
+
"$ref" : "#/components/schemas/FillersArray_inner"
|
|
9754
|
+
},
|
|
9755
|
+
"type" : "array"
|
|
9756
|
+
},
|
|
9744
9757
|
"KnowledgeBasePrivacy" : {
|
|
9745
9758
|
"enum" : [ "private", "public" ],
|
|
9746
9759
|
"type" : "string"
|
|
@@ -10456,6 +10469,21 @@
|
|
|
10456
10469
|
},
|
|
10457
10470
|
"type" : "object"
|
|
10458
10471
|
},
|
|
10472
|
+
"FillersArray_inner" : {
|
|
10473
|
+
"properties" : {
|
|
10474
|
+
"id" : {
|
|
10475
|
+
"type" : "string"
|
|
10476
|
+
},
|
|
10477
|
+
"text" : {
|
|
10478
|
+
"type" : "string"
|
|
10479
|
+
},
|
|
10480
|
+
"checked" : {
|
|
10481
|
+
"type" : "boolean"
|
|
10482
|
+
}
|
|
10483
|
+
},
|
|
10484
|
+
"required" : [ "checked", "id", "text" ],
|
|
10485
|
+
"type" : "object"
|
|
10486
|
+
},
|
|
10459
10487
|
"Engine_options" : {
|
|
10460
10488
|
"additionalProperties" : false,
|
|
10461
10489
|
"properties" : {
|