@breign/client 1.0.125 → 1.0.127
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/AiGatewayApi.d.ts +100 -0
- package/dist/apis/AiGatewayApi.js +248 -0
- package/dist/apis/AppApi.d.ts +17 -3
- package/dist/apis/AppApi.js +36 -2
- package/dist/apis/AuthApi.d.ts +40 -1
- package/dist/apis/AuthApi.js +82 -0
- package/dist/apis/ConfigurationApi.d.ts +16 -3
- package/dist/apis/ConfigurationApi.js +33 -2
- package/dist/apis/ConversationsApi.d.ts +32 -3
- package/dist/apis/ConversationsApi.js +76 -2
- package/dist/apis/EngineApi.d.ts +17 -16
- package/dist/apis/EngineApi.js +33 -30
- package/dist/apis/EnginesApi.d.ts +3 -3
- package/dist/apis/EnginesApi.js +4 -4
- package/dist/apis/KnowledgeApi.d.ts +127 -61
- package/dist/apis/KnowledgeApi.js +257 -108
- package/dist/apis/OrganizationsApi.d.ts +10 -111
- package/dist/apis/OrganizationsApi.js +12 -264
- package/dist/apis/PromptsApi.d.ts +3 -3
- package/dist/apis/PromptsApi.js +1 -1
- package/dist/apis/ToolsApi.d.ts +1 -2
- package/dist/apis/ToolsApi.js +3 -6
- package/dist/apis/UsersApi.d.ts +127 -0
- package/dist/apis/UsersApi.js +308 -0
- package/dist/apis/index.d.ts +2 -0
- package/dist/apis/index.js +2 -0
- package/dist/models/AiGatewayChatCompletionRequestUio.d.ts +57 -0
- package/dist/models/AiGatewayChatCompletionRequestUio.js +61 -0
- package/dist/models/AiGatewayChatCompletionResponseUio.d.ts +47 -0
- package/dist/models/AiGatewayChatCompletionResponseUio.js +54 -0
- package/dist/models/AiGatewayEmbeddingRequestUio.d.ts +38 -0
- package/dist/models/AiGatewayEmbeddingRequestUio.js +54 -0
- package/dist/models/AiGatewayEmbeddingResponseUio.d.ts +47 -0
- package/dist/models/AiGatewayEmbeddingResponseUio.js +54 -0
- package/dist/models/AiGatewayErrorUio.d.ts +33 -0
- package/dist/models/AiGatewayErrorUio.js +51 -0
- package/dist/models/AiGatewayMessageUio.d.ts +47 -0
- package/dist/models/AiGatewayMessageUio.js +63 -0
- package/dist/models/AiGatewayModelListDataInnerUio.d.ts +57 -0
- package/dist/models/AiGatewayModelListDataInnerUio.js +69 -0
- package/dist/models/AiGatewayModelListUio.d.ts +46 -0
- package/dist/models/AiGatewayModelListUio.js +62 -0
- package/dist/models/AiGatewayModelUio.d.ts +57 -0
- package/dist/models/AiGatewayModelUio.js +69 -0
- package/dist/models/ApiKeyCreateRequestUio.d.ts +32 -0
- package/dist/models/ApiKeyCreateRequestUio.js +50 -0
- package/dist/models/ApiKeyCreatedUio.d.ts +44 -0
- package/dist/models/{ApiKeyUio.js → ApiKeyCreatedUio.js} +13 -13
- package/dist/models/ApiKeyRefUio.d.ts +38 -0
- package/dist/models/ApiKeyRefUio.js +54 -0
- package/dist/models/AppInstanceEphemeralCreateRequestUio.d.ts +1 -1
- package/dist/models/AppInstanceEphemeralCreateRequestUio.js +3 -1
- package/dist/models/AppReplaceRequestUio.d.ts +94 -0
- package/dist/models/AppReplaceRequestUio.js +82 -0
- package/dist/models/AppTextToSpeechResponseUio.d.ts +3 -3
- package/dist/models/AppTextToSpeechResponseUio.js +3 -3
- package/dist/models/AppUpdateRequestEphemeralInstancesUio.d.ts +38 -0
- package/dist/models/AppUpdateRequestEphemeralInstancesUio.js +50 -0
- package/dist/models/AppUpdateRequestUio.d.ts +12 -12
- package/dist/models/AppUpdateRequestUio.js +3 -3
- package/dist/models/AttachmentProcessedRequestUio.d.ts +50 -0
- package/dist/models/AttachmentProcessedRequestUio.js +62 -0
- package/dist/models/AuthCodeConfirmRequestUio.d.ts +1 -1
- package/dist/models/AuthCodeConfirmRequestUio.js +3 -1
- package/dist/models/AuthCodeConfirmResponseUio.d.ts +15 -3
- package/dist/models/AuthCodeConfirmResponseUio.js +6 -3
- package/dist/models/ChunkCreateRequestContentInnerUio.d.ts +1 -1
- package/dist/models/ChunkCreateRequestContentInnerUio.js +1 -3
- package/dist/models/ChunkCreateRequestUio.d.ts +3 -3
- package/dist/models/ChunkCreateRequestUio.js +10 -4
- package/dist/models/ConfigurationDefaultFillerPhrasesUio.d.ts +7 -6
- package/dist/models/ConfigurationDefaultFillerPhrasesUio.js +7 -8
- package/dist/models/ConfigurationDefaultFillerPhrasesUpdateRequestUio.d.ts +39 -0
- package/dist/models/ConfigurationDefaultFillerPhrasesUpdateRequestUio.js +55 -0
- package/dist/models/ContextLocationRequestUio.d.ts +38 -0
- package/dist/models/ContextLocationRequestUio.js +54 -0
- package/dist/models/ConversationDetailUio.d.ts +101 -0
- package/dist/models/ConversationDetailUio.js +75 -0
- package/dist/models/CreateKnowledgeBaseRequestEmbeddingConfigUio.d.ts +44 -0
- package/dist/models/CreateKnowledgeBaseRequestEmbeddingConfigUio.js +58 -0
- package/dist/models/CreateKnowledgeBaseRequestUio.d.ts +59 -0
- package/dist/models/CreateKnowledgeBaseRequestUio.js +65 -0
- package/dist/models/CreateKnowledgeBaseResponseUio.d.ts +46 -0
- package/dist/models/CreateKnowledgeBaseResponseUio.js +62 -0
- package/dist/models/DeleteKnowledgeSitePage200ResponseUio.d.ts +38 -0
- package/dist/models/DeleteKnowledgeSitePage200ResponseUio.js +52 -0
- package/dist/models/DeleteOrganizationUser200ResponseUio.d.ts +32 -0
- package/dist/models/DeleteOrganizationUser200ResponseUio.js +50 -0
- package/dist/models/DeleteProvider200ResponseKnowledgeBasesAffectedInnerUio.d.ts +50 -0
- package/dist/models/DeleteProvider200ResponseKnowledgeBasesAffectedInnerUio.js +54 -0
- package/dist/models/DeleteProvider200ResponseUio.d.ts +45 -0
- package/dist/models/DeleteProvider200ResponseUio.js +55 -0
- package/dist/models/EmbeddingProviderModelsInnerUio.d.ts +44 -0
- package/dist/models/EmbeddingProviderModelsInnerUio.js +58 -0
- package/dist/models/EmbeddingProviderUio.d.ts +57 -0
- package/dist/models/EmbeddingProviderUio.js +65 -0
- package/dist/models/FileCreationResponseUio.d.ts +1 -0
- package/dist/models/FileCreationResponseUio.js +2 -1
- package/dist/models/FileUio.d.ts +5 -3
- package/dist/models/FileUio.js +4 -4
- package/dist/models/FileWithDownloadUrlUio.d.ts +5 -3
- package/dist/models/FileWithDownloadUrlUio.js +4 -4
- package/dist/models/FillerPhraseUio.d.ts +38 -0
- package/dist/models/FillerPhraseUio.js +54 -0
- package/dist/models/GetJwks200ResponseUio.d.ts +34 -0
- package/dist/models/GetJwks200ResponseUio.js +50 -0
- package/dist/models/ImageKnowledgeUio.d.ts +13 -6
- package/dist/models/ImageKnowledgeUio.js +23 -6
- package/dist/models/KnowledgeBaseConfigurationUio.d.ts +14 -0
- package/dist/models/KnowledgeBaseConfigurationUio.js +10 -1
- package/dist/models/KnowledgeBaseConfigurationUpdateRequestAuthenticationOneOfUio.d.ts +45 -0
- package/dist/models/KnowledgeBaseConfigurationUpdateRequestAuthenticationOneOfUio.js +57 -0
- package/dist/models/KnowledgeBaseConfigurationUpdateRequestAuthenticationUio.d.ts +22 -0
- package/dist/models/KnowledgeBaseConfigurationUpdateRequestAuthenticationUio.js +50 -0
- package/dist/models/KnowledgeBaseConfigurationUpdateRequestUio.d.ts +157 -0
- package/dist/models/KnowledgeBaseConfigurationUpdateRequestUio.js +102 -0
- package/dist/models/KnowledgeBaseUio.d.ts +6 -62
- package/dist/models/KnowledgeBaseUio.js +2 -22
- package/dist/models/KnowledgeFileCreationRequestUio.d.ts +68 -0
- package/dist/models/KnowledgeFileCreationRequestUio.js +64 -0
- package/dist/models/KnowledgeFileParsingCallbackRequestUio.d.ts +51 -0
- package/dist/models/KnowledgeFileParsingCallbackRequestUio.js +58 -0
- package/dist/models/KnowledgeFileSummaryUio.d.ts +2 -3
- package/dist/models/KnowledgeFileSummaryUio.js +2 -3
- package/dist/models/KnowledgeFileUio.d.ts +140 -0
- package/dist/models/KnowledgeFileUio.js +92 -0
- package/dist/models/MarkAttachmentProcessed400ResponseUio.d.ts +40 -0
- package/dist/models/MarkAttachmentProcessed400ResponseUio.js +52 -0
- package/dist/models/MessageUio.d.ts +7 -1
- package/dist/models/MessageUio.js +2 -0
- package/dist/models/OpenAiChatCompletionRequestStreamOptionsUio.d.ts +32 -0
- package/dist/models/OpenAiChatCompletionRequestStreamOptionsUio.js +48 -0
- package/dist/models/OpenAiChatCompletionRequestUio.d.ts +64 -0
- package/dist/models/OpenAiChatCompletionRequestUio.js +64 -0
- package/dist/models/OpenAiChatCompletionResponseUio.d.ts +67 -0
- package/dist/models/OpenAiChatCompletionResponseUio.js +60 -0
- package/dist/models/OrganizationMemberUio.d.ts +3 -3
- package/dist/models/OrganizationMemberUio.js +3 -3
- package/dist/models/OrganizationMemberUserUio.d.ts +32 -0
- package/dist/models/OrganizationMemberUserUio.js +50 -0
- package/dist/models/PinRequestUio.d.ts +3 -3
- package/dist/models/PinRequestUio.js +3 -3
- package/dist/models/ProviderValiationRequestUio.d.ts +1 -1
- package/dist/models/ProviderValiationRequestUio.js +1 -3
- package/dist/models/SetContextLocation400ResponseUio.d.ts +40 -0
- package/dist/models/SetContextLocation400ResponseUio.js +52 -0
- package/dist/models/TTSRequestUio.d.ts +1 -1
- package/dist/models/TTSRequestUio.js +1 -3
- package/dist/models/UploadedStatusUpdateRequestUio.d.ts +39 -0
- package/dist/models/UploadedStatusUpdateRequestUio.js +57 -0
- package/dist/models/UserCreateRequestUio.d.ts +45 -0
- package/dist/models/UserCreateRequestUio.js +57 -0
- package/dist/models/UserDetailUio.d.ts +88 -0
- package/dist/models/UserDetailUio.js +80 -0
- package/dist/models/UserIdentifierRequestUio.d.ts +32 -0
- package/dist/models/UserIdentifierRequestUio.js +50 -0
- package/dist/models/UserIdentifierUio.d.ts +38 -0
- package/dist/models/UserIdentifierUio.js +52 -0
- package/dist/models/UserLockRequestUio.d.ts +32 -0
- package/dist/models/UserLockRequestUio.js +50 -0
- package/dist/models/UserUpdateRequestUio.d.ts +63 -0
- package/dist/models/UserUpdateRequestUio.js +59 -0
- package/dist/models/index.d.ts +48 -20
- package/dist/models/index.js +48 -20
- package/dist/openapi.json +3768 -2025
- package/package.json +1 -1
- package/dist/models/AccessRoleCreateRequestUio.d.ts +0 -45
- package/dist/models/AccessRoleCreateRequestUio.js +0 -55
- package/dist/models/AccessRolePermissionsRequestUio.d.ts +0 -33
- package/dist/models/AccessRolePermissionsRequestUio.js +0 -51
- package/dist/models/AccessRoleUio.d.ts +0 -75
- package/dist/models/AccessRoleUio.js +0 -75
- package/dist/models/AccessRoleUpdateRequestUio.d.ts +0 -38
- package/dist/models/AccessRoleUpdateRequestUio.js +0 -52
- package/dist/models/ApiKeyUio.d.ts +0 -44
- package/dist/models/AudioFile1Uio.d.ts +0 -45
- package/dist/models/AudioFile1Uio.js +0 -59
- package/dist/models/Conversation1Uio.d.ts +0 -46
- package/dist/models/Conversation1Uio.js +0 -60
- package/dist/models/FileFormDataUio.d.ts +0 -38
- package/dist/models/FileFormDataUio.js +0 -50
- package/dist/models/FileStatusUpdateRequestUio.d.ts +0 -33
- package/dist/models/FileStatusUpdateRequestUio.js +0 -51
- package/dist/models/KnowledgeBaseFilesInnerUio.d.ts +0 -44
- package/dist/models/KnowledgeBaseFilesInnerUio.js +0 -58
- package/dist/models/KnowledgeBasePrivacyUio.d.ts +0 -25
- package/dist/models/KnowledgeBasePrivacyUio.js +0 -51
- package/dist/models/KnowledgeFilePagePreviewUio.d.ts +0 -44
- package/dist/models/KnowledgeFilePagePreviewUio.js +0 -56
- package/dist/models/KnowledgeFileSummaryKnowledgeBaseIdUio.d.ts +0 -21
- package/dist/models/KnowledgeFileSummaryKnowledgeBaseIdUio.js +0 -37
- package/dist/models/OrganizationPermissionKeyUio.d.ts +0 -59
- package/dist/models/OrganizationPermissionKeyUio.js +0 -85
- package/dist/models/PermissionEntryUio.d.ts +0 -39
- package/dist/models/PermissionEntryUio.js +0 -55
- package/dist/models/ProviderSimpleUio.d.ts +0 -57
- package/dist/models/ProviderSimpleUio.js +0 -65
- package/dist/models/UserAccessRolesRequestUio.d.ts +0 -32
- package/dist/models/UserAccessRolesRequestUio.js +0 -50
- package/dist/models/UserAccessUio.d.ts +0 -39
- package/dist/models/UserAccessUio.js +0 -55
- package/dist/models/UserDirectPermissionsRequestUio.d.ts +0 -33
- package/dist/models/UserDirectPermissionsRequestUio.js +0 -51
- package/dist/models/UserUio.d.ts +0 -87
- package/dist/models/UserUio.js +0 -67
|
@@ -0,0 +1,57 @@
|
|
|
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 AiGatewayModelUio
|
|
16
|
+
*/
|
|
17
|
+
export interface AiGatewayModelUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AiGatewayModelUio
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AiGatewayModelUio
|
|
28
|
+
*/
|
|
29
|
+
object: AiGatewayModelUioObjectEnum;
|
|
30
|
+
/**
|
|
31
|
+
* Horodatage Unix généré à chaque appel, pas une date de création réelle.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof AiGatewayModelUio
|
|
34
|
+
*/
|
|
35
|
+
created: number;
|
|
36
|
+
/**
|
|
37
|
+
* Nom du provider qui expose le modèle.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof AiGatewayModelUio
|
|
40
|
+
*/
|
|
41
|
+
ownedBy: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @export
|
|
45
|
+
*/
|
|
46
|
+
export declare const AiGatewayModelUioObjectEnum: {
|
|
47
|
+
readonly Model: "model";
|
|
48
|
+
};
|
|
49
|
+
export type AiGatewayModelUioObjectEnum = typeof AiGatewayModelUioObjectEnum[keyof typeof AiGatewayModelUioObjectEnum];
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the AiGatewayModelUio interface.
|
|
52
|
+
*/
|
|
53
|
+
export declare function instanceOfAiGatewayModelUio(value: object): value is AiGatewayModelUio;
|
|
54
|
+
export declare function AiGatewayModelUioFromJSON(json: any): AiGatewayModelUio;
|
|
55
|
+
export declare function AiGatewayModelUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AiGatewayModelUio;
|
|
56
|
+
export declare function AiGatewayModelUioToJSON(json: any): AiGatewayModelUio;
|
|
57
|
+
export declare function AiGatewayModelUioToJSONTyped(value?: AiGatewayModelUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,69 @@
|
|
|
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.AiGatewayModelUioObjectEnum = void 0;
|
|
17
|
+
exports.instanceOfAiGatewayModelUio = instanceOfAiGatewayModelUio;
|
|
18
|
+
exports.AiGatewayModelUioFromJSON = AiGatewayModelUioFromJSON;
|
|
19
|
+
exports.AiGatewayModelUioFromJSONTyped = AiGatewayModelUioFromJSONTyped;
|
|
20
|
+
exports.AiGatewayModelUioToJSON = AiGatewayModelUioToJSON;
|
|
21
|
+
exports.AiGatewayModelUioToJSONTyped = AiGatewayModelUioToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.AiGatewayModelUioObjectEnum = {
|
|
26
|
+
Model: 'model'
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Check if a given object implements the AiGatewayModelUio interface.
|
|
30
|
+
*/
|
|
31
|
+
function instanceOfAiGatewayModelUio(value) {
|
|
32
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('object' in value) || value['object'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('created' in value) || value['created'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('ownedBy' in value) || value['ownedBy'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
42
|
+
function AiGatewayModelUioFromJSON(json) {
|
|
43
|
+
return AiGatewayModelUioFromJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function AiGatewayModelUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
46
|
+
if (json == null) {
|
|
47
|
+
return json;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'id': json['id'],
|
|
51
|
+
'object': json['object'],
|
|
52
|
+
'created': json['created'],
|
|
53
|
+
'ownedBy': json['owned_by'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
function AiGatewayModelUioToJSON(json) {
|
|
57
|
+
return AiGatewayModelUioToJSONTyped(json, false);
|
|
58
|
+
}
|
|
59
|
+
function AiGatewayModelUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
60
|
+
if (value == null) {
|
|
61
|
+
return value;
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
'id': value['id'],
|
|
65
|
+
'object': value['object'],
|
|
66
|
+
'created': value['created'],
|
|
67
|
+
'owned_by': value['ownedBy'],
|
|
68
|
+
};
|
|
69
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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 ApiKeyCreateRequestUio
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiKeyCreateRequestUio {
|
|
18
|
+
/**
|
|
19
|
+
* Nom descriptif de la clé
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ApiKeyCreateRequestUio
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the ApiKeyCreateRequestUio interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfApiKeyCreateRequestUio(value: object): value is ApiKeyCreateRequestUio;
|
|
29
|
+
export declare function ApiKeyCreateRequestUioFromJSON(json: any): ApiKeyCreateRequestUio;
|
|
30
|
+
export declare function ApiKeyCreateRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiKeyCreateRequestUio;
|
|
31
|
+
export declare function ApiKeyCreateRequestUioToJSON(json: any): ApiKeyCreateRequestUio;
|
|
32
|
+
export declare function ApiKeyCreateRequestUioToJSONTyped(value?: ApiKeyCreateRequestUio | 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.instanceOfApiKeyCreateRequestUio = instanceOfApiKeyCreateRequestUio;
|
|
17
|
+
exports.ApiKeyCreateRequestUioFromJSON = ApiKeyCreateRequestUioFromJSON;
|
|
18
|
+
exports.ApiKeyCreateRequestUioFromJSONTyped = ApiKeyCreateRequestUioFromJSONTyped;
|
|
19
|
+
exports.ApiKeyCreateRequestUioToJSON = ApiKeyCreateRequestUioToJSON;
|
|
20
|
+
exports.ApiKeyCreateRequestUioToJSONTyped = ApiKeyCreateRequestUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ApiKeyCreateRequestUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfApiKeyCreateRequestUio(value) {
|
|
25
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function ApiKeyCreateRequestUioFromJSON(json) {
|
|
30
|
+
return ApiKeyCreateRequestUioFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function ApiKeyCreateRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'name': json['name'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function ApiKeyCreateRequestUioToJSON(json) {
|
|
41
|
+
return ApiKeyCreateRequestUioToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function ApiKeyCreateRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'name': value['name'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -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 ApiKeyCreatedUio
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiKeyCreatedUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ApiKeyCreatedUio
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ApiKeyCreatedUio
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
* Valeur de la clé. Renvoyée uniquement à la création.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ApiKeyCreatedUio
|
|
34
|
+
*/
|
|
35
|
+
keySecret: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the ApiKeyCreatedUio interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfApiKeyCreatedUio(value: object): value is ApiKeyCreatedUio;
|
|
41
|
+
export declare function ApiKeyCreatedUioFromJSON(json: any): ApiKeyCreatedUio;
|
|
42
|
+
export declare function ApiKeyCreatedUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiKeyCreatedUio;
|
|
43
|
+
export declare function ApiKeyCreatedUioToJSON(json: any): ApiKeyCreatedUio;
|
|
44
|
+
export declare function ApiKeyCreatedUioToJSONTyped(value?: ApiKeyCreatedUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -13,15 +13,15 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
16
|
+
exports.instanceOfApiKeyCreatedUio = instanceOfApiKeyCreatedUio;
|
|
17
|
+
exports.ApiKeyCreatedUioFromJSON = ApiKeyCreatedUioFromJSON;
|
|
18
|
+
exports.ApiKeyCreatedUioFromJSONTyped = ApiKeyCreatedUioFromJSONTyped;
|
|
19
|
+
exports.ApiKeyCreatedUioToJSON = ApiKeyCreatedUioToJSON;
|
|
20
|
+
exports.ApiKeyCreatedUioToJSONTyped = ApiKeyCreatedUioToJSONTyped;
|
|
21
21
|
/**
|
|
22
|
-
* Check if a given object implements the
|
|
22
|
+
* Check if a given object implements the ApiKeyCreatedUio interface.
|
|
23
23
|
*/
|
|
24
|
-
function
|
|
24
|
+
function instanceOfApiKeyCreatedUio(value) {
|
|
25
25
|
if (!('id' in value) || value['id'] === undefined)
|
|
26
26
|
return false;
|
|
27
27
|
if (!('name' in value) || value['name'] === undefined)
|
|
@@ -30,10 +30,10 @@ function instanceOfApiKeyUio(value) {
|
|
|
30
30
|
return false;
|
|
31
31
|
return true;
|
|
32
32
|
}
|
|
33
|
-
function
|
|
34
|
-
return
|
|
33
|
+
function ApiKeyCreatedUioFromJSON(json) {
|
|
34
|
+
return ApiKeyCreatedUioFromJSONTyped(json, false);
|
|
35
35
|
}
|
|
36
|
-
function
|
|
36
|
+
function ApiKeyCreatedUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
37
|
if (json == null) {
|
|
38
38
|
return json;
|
|
39
39
|
}
|
|
@@ -43,10 +43,10 @@ function ApiKeyUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
43
43
|
'keySecret': json['keySecret'],
|
|
44
44
|
};
|
|
45
45
|
}
|
|
46
|
-
function
|
|
47
|
-
return
|
|
46
|
+
function ApiKeyCreatedUioToJSON(json) {
|
|
47
|
+
return ApiKeyCreatedUioToJSONTyped(json, false);
|
|
48
48
|
}
|
|
49
|
-
function
|
|
49
|
+
function ApiKeyCreatedUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
50
|
if (value == null) {
|
|
51
51
|
return value;
|
|
52
52
|
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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 ApiKeyRefUio
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiKeyRefUio {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ApiKeyRefUio
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ApiKeyRefUio
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the ApiKeyRefUio interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfApiKeyRefUio(value: object): value is ApiKeyRefUio;
|
|
35
|
+
export declare function ApiKeyRefUioFromJSON(json: any): ApiKeyRefUio;
|
|
36
|
+
export declare function ApiKeyRefUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiKeyRefUio;
|
|
37
|
+
export declare function ApiKeyRefUioToJSON(json: any): ApiKeyRefUio;
|
|
38
|
+
export declare function ApiKeyRefUioToJSONTyped(value?: ApiKeyRefUio | 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.instanceOfApiKeyRefUio = instanceOfApiKeyRefUio;
|
|
17
|
+
exports.ApiKeyRefUioFromJSON = ApiKeyRefUioFromJSON;
|
|
18
|
+
exports.ApiKeyRefUioFromJSONTyped = ApiKeyRefUioFromJSONTyped;
|
|
19
|
+
exports.ApiKeyRefUioToJSON = ApiKeyRefUioToJSON;
|
|
20
|
+
exports.ApiKeyRefUioToJSONTyped = ApiKeyRefUioToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ApiKeyRefUio interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfApiKeyRefUio(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function ApiKeyRefUioFromJSON(json) {
|
|
32
|
+
return ApiKeyRefUioFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function ApiKeyRefUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'id': json['id'],
|
|
40
|
+
'name': json['name'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function ApiKeyRefUioToJSON(json) {
|
|
44
|
+
return ApiKeyRefUioToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function ApiKeyRefUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'id': value['id'],
|
|
52
|
+
'name': value['name'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -32,7 +32,7 @@ export interface AppInstanceEphemeralCreateRequestUio {
|
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof AppInstanceEphemeralCreateRequestUio
|
|
34
34
|
*/
|
|
35
|
-
urlWebsite
|
|
35
|
+
urlWebsite: string;
|
|
36
36
|
}
|
|
37
37
|
/**
|
|
38
38
|
* Check if a given object implements the AppInstanceEphemeralCreateRequestUio interface.
|
|
@@ -26,6 +26,8 @@ function instanceOfAppInstanceEphemeralCreateRequestUio(value) {
|
|
|
26
26
|
return false;
|
|
27
27
|
if (!('ephemeral' in value) || value['ephemeral'] === undefined)
|
|
28
28
|
return false;
|
|
29
|
+
if (!('urlWebsite' in value) || value['urlWebsite'] === undefined)
|
|
30
|
+
return false;
|
|
29
31
|
return true;
|
|
30
32
|
}
|
|
31
33
|
function AppInstanceEphemeralCreateRequestUioFromJSON(json) {
|
|
@@ -38,7 +40,7 @@ function AppInstanceEphemeralCreateRequestUioFromJSONTyped(json, ignoreDiscrimin
|
|
|
38
40
|
return {
|
|
39
41
|
'name': json['name'],
|
|
40
42
|
'ephemeral': json['ephemeral'],
|
|
41
|
-
'urlWebsite': json['urlWebsite']
|
|
43
|
+
'urlWebsite': json['urlWebsite'],
|
|
42
44
|
};
|
|
43
45
|
}
|
|
44
46
|
function AppInstanceEphemeralCreateRequestUioToJSON(json) {
|
|
@@ -0,0 +1,94 @@
|
|
|
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 type { SpeechToTextConfigUio } from './SpeechToTextConfigUio';
|
|
13
|
+
import type { LipsyncUio } from './LipsyncUio';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface AppReplaceRequestUio
|
|
18
|
+
*/
|
|
19
|
+
export interface AppReplaceRequestUio {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof AppReplaceRequestUio
|
|
24
|
+
*/
|
|
25
|
+
name: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof AppReplaceRequestUio
|
|
30
|
+
*/
|
|
31
|
+
agentId: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof AppReplaceRequestUio
|
|
36
|
+
*/
|
|
37
|
+
description?: string | null;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {boolean}
|
|
41
|
+
* @memberof AppReplaceRequestUio
|
|
42
|
+
*/
|
|
43
|
+
streamingEnabled: boolean;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof AppReplaceRequestUio
|
|
48
|
+
*/
|
|
49
|
+
voiceProvider: string;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof AppReplaceRequestUio
|
|
54
|
+
*/
|
|
55
|
+
voiceProviderApiKey?: string | null;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof AppReplaceRequestUio
|
|
60
|
+
*/
|
|
61
|
+
voiceProviderOrganization?: string | null;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof AppReplaceRequestUio
|
|
66
|
+
*/
|
|
67
|
+
voiceId: string;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof AppReplaceRequestUio
|
|
72
|
+
*/
|
|
73
|
+
voiceModelId: string;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {SpeechToTextConfigUio}
|
|
77
|
+
* @memberof AppReplaceRequestUio
|
|
78
|
+
*/
|
|
79
|
+
speechToText?: SpeechToTextConfigUio;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {LipsyncUio}
|
|
83
|
+
* @memberof AppReplaceRequestUio
|
|
84
|
+
*/
|
|
85
|
+
lipsync?: LipsyncUio;
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Check if a given object implements the AppReplaceRequestUio interface.
|
|
89
|
+
*/
|
|
90
|
+
export declare function instanceOfAppReplaceRequestUio(value: object): value is AppReplaceRequestUio;
|
|
91
|
+
export declare function AppReplaceRequestUioFromJSON(json: any): AppReplaceRequestUio;
|
|
92
|
+
export declare function AppReplaceRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): AppReplaceRequestUio;
|
|
93
|
+
export declare function AppReplaceRequestUioToJSON(json: any): AppReplaceRequestUio;
|
|
94
|
+
export declare function AppReplaceRequestUioToJSONTyped(value?: AppReplaceRequestUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,82 @@
|
|
|
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.instanceOfAppReplaceRequestUio = instanceOfAppReplaceRequestUio;
|
|
17
|
+
exports.AppReplaceRequestUioFromJSON = AppReplaceRequestUioFromJSON;
|
|
18
|
+
exports.AppReplaceRequestUioFromJSONTyped = AppReplaceRequestUioFromJSONTyped;
|
|
19
|
+
exports.AppReplaceRequestUioToJSON = AppReplaceRequestUioToJSON;
|
|
20
|
+
exports.AppReplaceRequestUioToJSONTyped = AppReplaceRequestUioToJSONTyped;
|
|
21
|
+
const SpeechToTextConfigUio_1 = require("./SpeechToTextConfigUio");
|
|
22
|
+
const LipsyncUio_1 = require("./LipsyncUio");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the AppReplaceRequestUio interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfAppReplaceRequestUio(value) {
|
|
27
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('agentId' in value) || value['agentId'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('streamingEnabled' in value) || value['streamingEnabled'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('voiceProvider' in value) || value['voiceProvider'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('voiceId' in value) || value['voiceId'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('voiceModelId' in value) || value['voiceModelId'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
return true;
|
|
40
|
+
}
|
|
41
|
+
function AppReplaceRequestUioFromJSON(json) {
|
|
42
|
+
return AppReplaceRequestUioFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function AppReplaceRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
if (json == null) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'name': json['name'],
|
|
50
|
+
'agentId': json['agentId'],
|
|
51
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
52
|
+
'streamingEnabled': json['streamingEnabled'],
|
|
53
|
+
'voiceProvider': json['voiceProvider'],
|
|
54
|
+
'voiceProviderApiKey': json['voiceProviderApiKey'] == null ? undefined : json['voiceProviderApiKey'],
|
|
55
|
+
'voiceProviderOrganization': json['voiceProviderOrganization'] == null ? undefined : json['voiceProviderOrganization'],
|
|
56
|
+
'voiceId': json['voiceId'],
|
|
57
|
+
'voiceModelId': json['voiceModelId'],
|
|
58
|
+
'speechToText': json['speechToText'] == null ? undefined : (0, SpeechToTextConfigUio_1.SpeechToTextConfigUioFromJSON)(json['speechToText']),
|
|
59
|
+
'lipsync': json['lipsync'] == null ? undefined : (0, LipsyncUio_1.LipsyncUioFromJSON)(json['lipsync']),
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
function AppReplaceRequestUioToJSON(json) {
|
|
63
|
+
return AppReplaceRequestUioToJSONTyped(json, false);
|
|
64
|
+
}
|
|
65
|
+
function AppReplaceRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
66
|
+
if (value == null) {
|
|
67
|
+
return value;
|
|
68
|
+
}
|
|
69
|
+
return {
|
|
70
|
+
'name': value['name'],
|
|
71
|
+
'agentId': value['agentId'],
|
|
72
|
+
'description': value['description'],
|
|
73
|
+
'streamingEnabled': value['streamingEnabled'],
|
|
74
|
+
'voiceProvider': value['voiceProvider'],
|
|
75
|
+
'voiceProviderApiKey': value['voiceProviderApiKey'],
|
|
76
|
+
'voiceProviderOrganization': value['voiceProviderOrganization'],
|
|
77
|
+
'voiceId': value['voiceId'],
|
|
78
|
+
'voiceModelId': value['voiceModelId'],
|
|
79
|
+
'speechToText': (0, SpeechToTextConfigUio_1.SpeechToTextConfigUioToJSON)(value['speechToText']),
|
|
80
|
+
'lipsync': (0, LipsyncUio_1.LipsyncUioToJSON)(value['lipsync']),
|
|
81
|
+
};
|
|
82
|
+
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { AudioFileUio } from './AudioFileUio';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -18,10 +18,10 @@ import type { AudioFile1Uio } from './AudioFile1Uio';
|
|
|
18
18
|
export interface AppTextToSpeechResponseUio {
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
|
-
* @type {
|
|
21
|
+
* @type {AudioFileUio}
|
|
22
22
|
* @memberof AppTextToSpeechResponseUio
|
|
23
23
|
*/
|
|
24
|
-
audio:
|
|
24
|
+
audio: AudioFileUio;
|
|
25
25
|
}
|
|
26
26
|
/**
|
|
27
27
|
* Check if a given object implements the AppTextToSpeechResponseUio interface.
|
|
@@ -18,7 +18,7 @@ exports.AppTextToSpeechResponseUioFromJSON = AppTextToSpeechResponseUioFromJSON;
|
|
|
18
18
|
exports.AppTextToSpeechResponseUioFromJSONTyped = AppTextToSpeechResponseUioFromJSONTyped;
|
|
19
19
|
exports.AppTextToSpeechResponseUioToJSON = AppTextToSpeechResponseUioToJSON;
|
|
20
20
|
exports.AppTextToSpeechResponseUioToJSONTyped = AppTextToSpeechResponseUioToJSONTyped;
|
|
21
|
-
const
|
|
21
|
+
const AudioFileUio_1 = require("./AudioFileUio");
|
|
22
22
|
/**
|
|
23
23
|
* Check if a given object implements the AppTextToSpeechResponseUio interface.
|
|
24
24
|
*/
|
|
@@ -35,7 +35,7 @@ function AppTextToSpeechResponseUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
35
|
return json;
|
|
36
36
|
}
|
|
37
37
|
return {
|
|
38
|
-
'audio': (0,
|
|
38
|
+
'audio': (0, AudioFileUio_1.AudioFileUioFromJSON)(json['audio']),
|
|
39
39
|
};
|
|
40
40
|
}
|
|
41
41
|
function AppTextToSpeechResponseUioToJSON(json) {
|
|
@@ -46,6 +46,6 @@ function AppTextToSpeechResponseUioToJSONTyped(value, ignoreDiscriminator = fals
|
|
|
46
46
|
return value;
|
|
47
47
|
}
|
|
48
48
|
return {
|
|
49
|
-
'audio': (0,
|
|
49
|
+
'audio': (0, AudioFileUio_1.AudioFileUioToJSON)(value['audio']),
|
|
50
50
|
};
|
|
51
51
|
}
|