@breign/client 1.0.214 → 1.0.215
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 +15 -1
- package/dist/apis/AiGatewayApi.js +34 -0
- package/dist/apis/MeetingsApi.d.ts +136 -0
- package/dist/apis/MeetingsApi.js +329 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/AgentMeetingConfigurationUio.d.ts +62 -0
- package/dist/models/AgentMeetingConfigurationUio.js +58 -0
- package/dist/models/AgentPatchUio.d.ts +7 -0
- package/dist/models/AgentPatchUio.js +3 -0
- package/dist/models/AgentUio.d.ts +7 -0
- package/dist/models/AgentUio.js +3 -0
- package/dist/models/MeetingCreateRequestUio.d.ts +38 -0
- package/dist/models/MeetingCreateRequestUio.js +50 -0
- package/dist/models/MeetingHighlightKindUio.d.ts +28 -0
- package/dist/models/MeetingHighlightKindUio.js +54 -0
- package/dist/models/MeetingHighlightUio.d.ts +69 -0
- package/dist/models/MeetingHighlightUio.js +69 -0
- package/dist/models/MeetingMessageRequestUio.d.ts +32 -0
- package/dist/models/MeetingMessageRequestUio.js +50 -0
- package/dist/models/MeetingMessageResponseUio.d.ts +38 -0
- package/dist/models/MeetingMessageResponseUio.js +54 -0
- package/dist/models/MeetingNotesUio.d.ts +50 -0
- package/dist/models/MeetingNotesUio.js +62 -0
- package/dist/models/MeetingSegmentUio.d.ts +82 -0
- package/dist/models/MeetingSegmentUio.js +84 -0
- package/dist/models/MeetingSessionResponseUio.d.ts +40 -0
- package/dist/models/MeetingSessionResponseUio.js +56 -0
- package/dist/models/MeetingSettingsUio.d.ts +38 -0
- package/dist/models/MeetingSettingsUio.js +54 -0
- package/dist/models/MeetingSpeechToTextUio.d.ts +45 -0
- package/dist/models/MeetingSpeechToTextUio.js +59 -0
- package/dist/models/MeetingUio.d.ts +134 -0
- package/dist/models/MeetingUio.js +120 -0
- package/dist/models/ModelDefinitionUio.d.ts +12 -0
- package/dist/models/ModelDefinitionUio.js +4 -0
- package/dist/models/RealtimeTranscriptionModeUio.d.ts +25 -0
- package/dist/models/RealtimeTranscriptionModeUio.js +51 -0
- package/dist/models/RealtimeTranscriptionPurposeUio.d.ts +26 -0
- package/dist/models/RealtimeTranscriptionPurposeUio.js +52 -0
- package/dist/models/SpeechToTextProviderModelsInnerUio.d.ts +6 -0
- package/dist/models/SpeechToTextProviderModelsInnerUio.js +2 -0
- package/dist/models/TranscriptionSessionRequestUio.d.ts +51 -0
- package/dist/models/TranscriptionSessionRequestUio.js +57 -0
- package/dist/models/TranscriptionSessionUio.d.ts +63 -0
- package/dist/models/TranscriptionSessionUio.js +71 -0
- package/dist/models/index.d.ts +16 -0
- package/dist/models/index.js +16 -0
- package/dist/openapi.json +818 -0
- package/package.json +1 -1
|
@@ -0,0 +1,134 @@
|
|
|
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 { MeetingSettingsUio } from './MeetingSettingsUio';
|
|
13
|
+
import type { MeetingHighlightUio } from './MeetingHighlightUio';
|
|
14
|
+
import type { MeetingSpeechToTextUio } from './MeetingSpeechToTextUio';
|
|
15
|
+
import type { MeetingNotesUio } from './MeetingNotesUio';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface MeetingUio
|
|
20
|
+
*/
|
|
21
|
+
export interface MeetingUio {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof MeetingUio
|
|
26
|
+
*/
|
|
27
|
+
id: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof MeetingUio
|
|
32
|
+
*/
|
|
33
|
+
organizationId: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof MeetingUio
|
|
38
|
+
*/
|
|
39
|
+
agentId: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof MeetingUio
|
|
44
|
+
*/
|
|
45
|
+
agentName?: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof MeetingUio
|
|
50
|
+
*/
|
|
51
|
+
userId: string;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof MeetingUio
|
|
56
|
+
*/
|
|
57
|
+
title: string | null;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof MeetingUio
|
|
62
|
+
*/
|
|
63
|
+
status: MeetingUioStatusEnum;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof MeetingUio
|
|
68
|
+
*/
|
|
69
|
+
language: string | null;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {MeetingSpeechToTextUio}
|
|
73
|
+
* @memberof MeetingUio
|
|
74
|
+
*/
|
|
75
|
+
speechToText: MeetingSpeechToTextUio;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {string}
|
|
79
|
+
* @memberof MeetingUio
|
|
80
|
+
*/
|
|
81
|
+
conversationId: string;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @type {Date}
|
|
85
|
+
* @memberof MeetingUio
|
|
86
|
+
*/
|
|
87
|
+
startedAt: Date;
|
|
88
|
+
/**
|
|
89
|
+
*
|
|
90
|
+
* @type {Date}
|
|
91
|
+
* @memberof MeetingUio
|
|
92
|
+
*/
|
|
93
|
+
endedAt: Date | null;
|
|
94
|
+
/**
|
|
95
|
+
*
|
|
96
|
+
* @type {number}
|
|
97
|
+
* @memberof MeetingUio
|
|
98
|
+
*/
|
|
99
|
+
lastSegmentSeq: number;
|
|
100
|
+
/**
|
|
101
|
+
*
|
|
102
|
+
* @type {MeetingNotesUio}
|
|
103
|
+
* @memberof MeetingUio
|
|
104
|
+
*/
|
|
105
|
+
notes: MeetingNotesUio;
|
|
106
|
+
/**
|
|
107
|
+
*
|
|
108
|
+
* @type {Array<MeetingHighlightUio>}
|
|
109
|
+
* @memberof MeetingUio
|
|
110
|
+
*/
|
|
111
|
+
highlights: Array<MeetingHighlightUio>;
|
|
112
|
+
/**
|
|
113
|
+
*
|
|
114
|
+
* @type {MeetingSettingsUio}
|
|
115
|
+
* @memberof MeetingUio
|
|
116
|
+
*/
|
|
117
|
+
settings: MeetingSettingsUio;
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* @export
|
|
121
|
+
*/
|
|
122
|
+
export declare const MeetingUioStatusEnum: {
|
|
123
|
+
readonly Active: "active";
|
|
124
|
+
readonly Ended: "ended";
|
|
125
|
+
};
|
|
126
|
+
export type MeetingUioStatusEnum = typeof MeetingUioStatusEnum[keyof typeof MeetingUioStatusEnum];
|
|
127
|
+
/**
|
|
128
|
+
* Check if a given object implements the MeetingUio interface.
|
|
129
|
+
*/
|
|
130
|
+
export declare function instanceOfMeetingUio(value: object): value is MeetingUio;
|
|
131
|
+
export declare function MeetingUioFromJSON(json: any): MeetingUio;
|
|
132
|
+
export declare function MeetingUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): MeetingUio;
|
|
133
|
+
export declare function MeetingUioToJSON(json: any): MeetingUio;
|
|
134
|
+
export declare function MeetingUioToJSONTyped(value?: MeetingUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* brain-client
|
|
6
|
+
* Api ands models for brain-app and brain-app
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.0.0-SNAPSHOT
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.MeetingUioStatusEnum = void 0;
|
|
17
|
+
exports.instanceOfMeetingUio = instanceOfMeetingUio;
|
|
18
|
+
exports.MeetingUioFromJSON = MeetingUioFromJSON;
|
|
19
|
+
exports.MeetingUioFromJSONTyped = MeetingUioFromJSONTyped;
|
|
20
|
+
exports.MeetingUioToJSON = MeetingUioToJSON;
|
|
21
|
+
exports.MeetingUioToJSONTyped = MeetingUioToJSONTyped;
|
|
22
|
+
const MeetingSettingsUio_1 = require("./MeetingSettingsUio");
|
|
23
|
+
const MeetingHighlightUio_1 = require("./MeetingHighlightUio");
|
|
24
|
+
const MeetingSpeechToTextUio_1 = require("./MeetingSpeechToTextUio");
|
|
25
|
+
const MeetingNotesUio_1 = require("./MeetingNotesUio");
|
|
26
|
+
/**
|
|
27
|
+
* @export
|
|
28
|
+
*/
|
|
29
|
+
exports.MeetingUioStatusEnum = {
|
|
30
|
+
Active: 'active',
|
|
31
|
+
Ended: 'ended'
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the MeetingUio interface.
|
|
35
|
+
*/
|
|
36
|
+
function instanceOfMeetingUio(value) {
|
|
37
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('organizationId' in value) || value['organizationId'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('agentId' in value) || value['agentId'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
if (!('userId' in value) || value['userId'] === undefined)
|
|
44
|
+
return false;
|
|
45
|
+
if (!('title' in value) || value['title'] === undefined)
|
|
46
|
+
return false;
|
|
47
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
48
|
+
return false;
|
|
49
|
+
if (!('language' in value) || value['language'] === undefined)
|
|
50
|
+
return false;
|
|
51
|
+
if (!('speechToText' in value) || value['speechToText'] === undefined)
|
|
52
|
+
return false;
|
|
53
|
+
if (!('conversationId' in value) || value['conversationId'] === undefined)
|
|
54
|
+
return false;
|
|
55
|
+
if (!('startedAt' in value) || value['startedAt'] === undefined)
|
|
56
|
+
return false;
|
|
57
|
+
if (!('endedAt' in value) || value['endedAt'] === undefined)
|
|
58
|
+
return false;
|
|
59
|
+
if (!('lastSegmentSeq' in value) || value['lastSegmentSeq'] === undefined)
|
|
60
|
+
return false;
|
|
61
|
+
if (!('notes' in value) || value['notes'] === undefined)
|
|
62
|
+
return false;
|
|
63
|
+
if (!('highlights' in value) || value['highlights'] === undefined)
|
|
64
|
+
return false;
|
|
65
|
+
if (!('settings' in value) || value['settings'] === undefined)
|
|
66
|
+
return false;
|
|
67
|
+
return true;
|
|
68
|
+
}
|
|
69
|
+
function MeetingUioFromJSON(json) {
|
|
70
|
+
return MeetingUioFromJSONTyped(json, false);
|
|
71
|
+
}
|
|
72
|
+
function MeetingUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
73
|
+
if (json == null) {
|
|
74
|
+
return json;
|
|
75
|
+
}
|
|
76
|
+
return {
|
|
77
|
+
'id': json['id'],
|
|
78
|
+
'organizationId': json['organizationId'],
|
|
79
|
+
'agentId': json['agentId'],
|
|
80
|
+
'agentName': json['agentName'] == null ? undefined : json['agentName'],
|
|
81
|
+
'userId': json['userId'],
|
|
82
|
+
'title': json['title'],
|
|
83
|
+
'status': json['status'],
|
|
84
|
+
'language': json['language'],
|
|
85
|
+
'speechToText': (0, MeetingSpeechToTextUio_1.MeetingSpeechToTextUioFromJSON)(json['speechToText']),
|
|
86
|
+
'conversationId': json['conversationId'],
|
|
87
|
+
'startedAt': (new Date(json['startedAt'])),
|
|
88
|
+
'endedAt': (json['endedAt'] == null ? null : new Date(json['endedAt'])),
|
|
89
|
+
'lastSegmentSeq': json['lastSegmentSeq'],
|
|
90
|
+
'notes': (0, MeetingNotesUio_1.MeetingNotesUioFromJSON)(json['notes']),
|
|
91
|
+
'highlights': (json['highlights'].map(MeetingHighlightUio_1.MeetingHighlightUioFromJSON)),
|
|
92
|
+
'settings': (0, MeetingSettingsUio_1.MeetingSettingsUioFromJSON)(json['settings']),
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
function MeetingUioToJSON(json) {
|
|
96
|
+
return MeetingUioToJSONTyped(json, false);
|
|
97
|
+
}
|
|
98
|
+
function MeetingUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
99
|
+
if (value == null) {
|
|
100
|
+
return value;
|
|
101
|
+
}
|
|
102
|
+
return {
|
|
103
|
+
'id': value['id'],
|
|
104
|
+
'organizationId': value['organizationId'],
|
|
105
|
+
'agentId': value['agentId'],
|
|
106
|
+
'agentName': value['agentName'],
|
|
107
|
+
'userId': value['userId'],
|
|
108
|
+
'title': value['title'],
|
|
109
|
+
'status': value['status'],
|
|
110
|
+
'language': value['language'],
|
|
111
|
+
'speechToText': (0, MeetingSpeechToTextUio_1.MeetingSpeechToTextUioToJSON)(value['speechToText']),
|
|
112
|
+
'conversationId': value['conversationId'],
|
|
113
|
+
'startedAt': ((value['startedAt']).toISOString()),
|
|
114
|
+
'endedAt': (value['endedAt'] == null ? null : value['endedAt'].toISOString()),
|
|
115
|
+
'lastSegmentSeq': value['lastSegmentSeq'],
|
|
116
|
+
'notes': (0, MeetingNotesUio_1.MeetingNotesUioToJSON)(value['notes']),
|
|
117
|
+
'highlights': (value['highlights'].map(MeetingHighlightUio_1.MeetingHighlightUioToJSON)),
|
|
118
|
+
'settings': (0, MeetingSettingsUio_1.MeetingSettingsUioToJSON)(value['settings']),
|
|
119
|
+
};
|
|
120
|
+
}
|
|
@@ -63,6 +63,18 @@ export interface ModelDefinitionUio {
|
|
|
63
63
|
* @memberof ModelDefinitionUio
|
|
64
64
|
*/
|
|
65
65
|
hasSpeechToText?: boolean;
|
|
66
|
+
/**
|
|
67
|
+
* Le modèle de transcription accepte un flux audio continu et renvoie le texte au fil de l'eau (ex. gpt-4o-transcribe en session realtime). Sans cette capacité, un modèle `hasSpeechToText` reste utilisable en temps réel en mode segmenté.
|
|
68
|
+
* @type {boolean}
|
|
69
|
+
* @memberof ModelDefinitionUio
|
|
70
|
+
*/
|
|
71
|
+
hasRealtimeSpeechToText?: boolean;
|
|
72
|
+
/**
|
|
73
|
+
* Prix d'une minute d'audio transcrite, dans la devise `currency`.
|
|
74
|
+
* @type {number}
|
|
75
|
+
* @memberof ModelDefinitionUio
|
|
76
|
+
*/
|
|
77
|
+
audioInputPricePerMinute?: number;
|
|
66
78
|
/**
|
|
67
79
|
* Le modèle accepte de l'audio en entrée dans un message de chat. Sans cette capacité, une pièce jointe audio lui parvient sous forme de transcription.
|
|
68
80
|
* @type {boolean}
|
|
@@ -53,6 +53,8 @@ function ModelDefinitionUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
53
53
|
'hasReasoning': json['hasReasoning'] == null ? undefined : json['hasReasoning'],
|
|
54
54
|
'hasEmbedding': json['hasEmbedding'] == null ? undefined : json['hasEmbedding'],
|
|
55
55
|
'hasSpeechToText': json['hasSpeechToText'] == null ? undefined : json['hasSpeechToText'],
|
|
56
|
+
'hasRealtimeSpeechToText': json['hasRealtimeSpeechToText'] == null ? undefined : json['hasRealtimeSpeechToText'],
|
|
57
|
+
'audioInputPricePerMinute': json['audioInputPricePerMinute'] == null ? undefined : json['audioInputPricePerMinute'],
|
|
56
58
|
'hasAudioInput': json['hasAudioInput'] == null ? undefined : json['hasAudioInput'],
|
|
57
59
|
'hasOcr': json['hasOcr'] == null ? undefined : json['hasOcr'],
|
|
58
60
|
'hasDecision': json['hasDecision'] == null ? undefined : json['hasDecision'],
|
|
@@ -80,6 +82,8 @@ function ModelDefinitionUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
80
82
|
'hasReasoning': value['hasReasoning'],
|
|
81
83
|
'hasEmbedding': value['hasEmbedding'],
|
|
82
84
|
'hasSpeechToText': value['hasSpeechToText'],
|
|
85
|
+
'hasRealtimeSpeechToText': value['hasRealtimeSpeechToText'],
|
|
86
|
+
'audioInputPricePerMinute': value['audioInputPricePerMinute'],
|
|
83
87
|
'hasAudioInput': value['hasAudioInput'],
|
|
84
88
|
'hasOcr': value['hasOcr'],
|
|
85
89
|
'hasDecision': value['hasDecision'],
|
|
@@ -0,0 +1,25 @@
|
|
|
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
|
+
* native : modèle temps réel (texte partiel puis final) ; segmented : l'audio est découpé sur les silences puis chaque segment est transcrit par le modèle (finaux seulement).
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const RealtimeTranscriptionModeUio: {
|
|
17
|
+
readonly Native: "native";
|
|
18
|
+
readonly Segmented: "segmented";
|
|
19
|
+
};
|
|
20
|
+
export type RealtimeTranscriptionModeUio = typeof RealtimeTranscriptionModeUio[keyof typeof RealtimeTranscriptionModeUio];
|
|
21
|
+
export declare function instanceOfRealtimeTranscriptionModeUio(value: any): boolean;
|
|
22
|
+
export declare function RealtimeTranscriptionModeUioFromJSON(json: any): RealtimeTranscriptionModeUio;
|
|
23
|
+
export declare function RealtimeTranscriptionModeUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): RealtimeTranscriptionModeUio;
|
|
24
|
+
export declare function RealtimeTranscriptionModeUioToJSON(value?: RealtimeTranscriptionModeUio | null): any;
|
|
25
|
+
export declare function RealtimeTranscriptionModeUioToJSONTyped(value: any, ignoreDiscriminator: boolean): RealtimeTranscriptionModeUio;
|
|
@@ -0,0 +1,51 @@
|
|
|
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.RealtimeTranscriptionModeUio = void 0;
|
|
17
|
+
exports.instanceOfRealtimeTranscriptionModeUio = instanceOfRealtimeTranscriptionModeUio;
|
|
18
|
+
exports.RealtimeTranscriptionModeUioFromJSON = RealtimeTranscriptionModeUioFromJSON;
|
|
19
|
+
exports.RealtimeTranscriptionModeUioFromJSONTyped = RealtimeTranscriptionModeUioFromJSONTyped;
|
|
20
|
+
exports.RealtimeTranscriptionModeUioToJSON = RealtimeTranscriptionModeUioToJSON;
|
|
21
|
+
exports.RealtimeTranscriptionModeUioToJSONTyped = RealtimeTranscriptionModeUioToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* native : modèle temps réel (texte partiel puis final) ; segmented : l'audio est découpé sur les silences puis chaque segment est transcrit par le modèle (finaux seulement).
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.RealtimeTranscriptionModeUio = {
|
|
27
|
+
Native: 'native',
|
|
28
|
+
Segmented: 'segmented'
|
|
29
|
+
};
|
|
30
|
+
function instanceOfRealtimeTranscriptionModeUio(value) {
|
|
31
|
+
for (const key in exports.RealtimeTranscriptionModeUio) {
|
|
32
|
+
if (Object.prototype.hasOwnProperty.call(exports.RealtimeTranscriptionModeUio, key)) {
|
|
33
|
+
if (exports.RealtimeTranscriptionModeUio[key] === value) {
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
return false;
|
|
39
|
+
}
|
|
40
|
+
function RealtimeTranscriptionModeUioFromJSON(json) {
|
|
41
|
+
return RealtimeTranscriptionModeUioFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function RealtimeTranscriptionModeUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
function RealtimeTranscriptionModeUioToJSON(value) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
function RealtimeTranscriptionModeUioToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
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
|
+
*/
|
|
16
|
+
export declare const RealtimeTranscriptionPurposeUio: {
|
|
17
|
+
readonly Api: "api";
|
|
18
|
+
readonly Dictation: "dictation";
|
|
19
|
+
readonly Meeting: "meeting";
|
|
20
|
+
};
|
|
21
|
+
export type RealtimeTranscriptionPurposeUio = typeof RealtimeTranscriptionPurposeUio[keyof typeof RealtimeTranscriptionPurposeUio];
|
|
22
|
+
export declare function instanceOfRealtimeTranscriptionPurposeUio(value: any): boolean;
|
|
23
|
+
export declare function RealtimeTranscriptionPurposeUioFromJSON(json: any): RealtimeTranscriptionPurposeUio;
|
|
24
|
+
export declare function RealtimeTranscriptionPurposeUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): RealtimeTranscriptionPurposeUio;
|
|
25
|
+
export declare function RealtimeTranscriptionPurposeUioToJSON(value?: RealtimeTranscriptionPurposeUio | null): any;
|
|
26
|
+
export declare function RealtimeTranscriptionPurposeUioToJSONTyped(value: any, ignoreDiscriminator: boolean): RealtimeTranscriptionPurposeUio;
|
|
@@ -0,0 +1,52 @@
|
|
|
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.RealtimeTranscriptionPurposeUio = void 0;
|
|
17
|
+
exports.instanceOfRealtimeTranscriptionPurposeUio = instanceOfRealtimeTranscriptionPurposeUio;
|
|
18
|
+
exports.RealtimeTranscriptionPurposeUioFromJSON = RealtimeTranscriptionPurposeUioFromJSON;
|
|
19
|
+
exports.RealtimeTranscriptionPurposeUioFromJSONTyped = RealtimeTranscriptionPurposeUioFromJSONTyped;
|
|
20
|
+
exports.RealtimeTranscriptionPurposeUioToJSON = RealtimeTranscriptionPurposeUioToJSON;
|
|
21
|
+
exports.RealtimeTranscriptionPurposeUioToJSONTyped = RealtimeTranscriptionPurposeUioToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.RealtimeTranscriptionPurposeUio = {
|
|
27
|
+
Api: 'api',
|
|
28
|
+
Dictation: 'dictation',
|
|
29
|
+
Meeting: 'meeting'
|
|
30
|
+
};
|
|
31
|
+
function instanceOfRealtimeTranscriptionPurposeUio(value) {
|
|
32
|
+
for (const key in exports.RealtimeTranscriptionPurposeUio) {
|
|
33
|
+
if (Object.prototype.hasOwnProperty.call(exports.RealtimeTranscriptionPurposeUio, key)) {
|
|
34
|
+
if (exports.RealtimeTranscriptionPurposeUio[key] === value) {
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
return false;
|
|
40
|
+
}
|
|
41
|
+
function RealtimeTranscriptionPurposeUioFromJSON(json) {
|
|
42
|
+
return RealtimeTranscriptionPurposeUioFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function RealtimeTranscriptionPurposeUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
function RealtimeTranscriptionPurposeUioToJSON(value) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
function RealtimeTranscriptionPurposeUioToJSONTyped(value, ignoreDiscriminator) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
@@ -33,6 +33,12 @@ export interface SpeechToTextProviderModelsInnerUio {
|
|
|
33
33
|
* @memberof SpeechToTextProviderModelsInnerUio
|
|
34
34
|
*/
|
|
35
35
|
name: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof SpeechToTextProviderModelsInnerUio
|
|
40
|
+
*/
|
|
41
|
+
hasRealtimeSpeechToText?: boolean;
|
|
36
42
|
}
|
|
37
43
|
/**
|
|
38
44
|
* Check if a given object implements the SpeechToTextProviderModelsInnerUio interface.
|
|
@@ -39,6 +39,7 @@ function SpeechToTextProviderModelsInnerUioFromJSONTyped(json, ignoreDiscriminat
|
|
|
39
39
|
'id': json['id'] == null ? undefined : json['id'],
|
|
40
40
|
'modelId': json['modelId'],
|
|
41
41
|
'name': json['name'],
|
|
42
|
+
'hasRealtimeSpeechToText': json['hasRealtimeSpeechToText'] == null ? undefined : json['hasRealtimeSpeechToText'],
|
|
42
43
|
};
|
|
43
44
|
}
|
|
44
45
|
function SpeechToTextProviderModelsInnerUioToJSON(json) {
|
|
@@ -52,5 +53,6 @@ function SpeechToTextProviderModelsInnerUioToJSONTyped(value, ignoreDiscriminato
|
|
|
52
53
|
'id': value['id'],
|
|
53
54
|
'modelId': value['modelId'],
|
|
54
55
|
'name': value['name'],
|
|
56
|
+
'hasRealtimeSpeechToText': value['hasRealtimeSpeechToText'],
|
|
55
57
|
};
|
|
56
58
|
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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 { RealtimeTranscriptionPurposeUio } from './RealtimeTranscriptionPurposeUio';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface TranscriptionSessionRequestUio
|
|
17
|
+
*/
|
|
18
|
+
export interface TranscriptionSessionRequestUio {
|
|
19
|
+
/**
|
|
20
|
+
* Modèle de transcription, `providerId/modelId` ou `modelId`.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof TranscriptionSessionRequestUio
|
|
23
|
+
*/
|
|
24
|
+
model: string;
|
|
25
|
+
/**
|
|
26
|
+
* Langue ISO 639-1 attendue (ex. fr). Détection automatique si absente.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof TranscriptionSessionRequestUio
|
|
29
|
+
*/
|
|
30
|
+
language?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Vocabulaire et noms propres qui aident la transcription.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof TranscriptionSessionRequestUio
|
|
35
|
+
*/
|
|
36
|
+
prompt?: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {RealtimeTranscriptionPurposeUio}
|
|
40
|
+
* @memberof TranscriptionSessionRequestUio
|
|
41
|
+
*/
|
|
42
|
+
purpose?: RealtimeTranscriptionPurposeUio;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the TranscriptionSessionRequestUio interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfTranscriptionSessionRequestUio(value: object): value is TranscriptionSessionRequestUio;
|
|
48
|
+
export declare function TranscriptionSessionRequestUioFromJSON(json: any): TranscriptionSessionRequestUio;
|
|
49
|
+
export declare function TranscriptionSessionRequestUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): TranscriptionSessionRequestUio;
|
|
50
|
+
export declare function TranscriptionSessionRequestUioToJSON(json: any): TranscriptionSessionRequestUio;
|
|
51
|
+
export declare function TranscriptionSessionRequestUioToJSONTyped(value?: TranscriptionSessionRequestUio | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,57 @@
|
|
|
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.instanceOfTranscriptionSessionRequestUio = instanceOfTranscriptionSessionRequestUio;
|
|
17
|
+
exports.TranscriptionSessionRequestUioFromJSON = TranscriptionSessionRequestUioFromJSON;
|
|
18
|
+
exports.TranscriptionSessionRequestUioFromJSONTyped = TranscriptionSessionRequestUioFromJSONTyped;
|
|
19
|
+
exports.TranscriptionSessionRequestUioToJSON = TranscriptionSessionRequestUioToJSON;
|
|
20
|
+
exports.TranscriptionSessionRequestUioToJSONTyped = TranscriptionSessionRequestUioToJSONTyped;
|
|
21
|
+
const RealtimeTranscriptionPurposeUio_1 = require("./RealtimeTranscriptionPurposeUio");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the TranscriptionSessionRequestUio interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfTranscriptionSessionRequestUio(value) {
|
|
26
|
+
if (!('model' in value) || value['model'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function TranscriptionSessionRequestUioFromJSON(json) {
|
|
31
|
+
return TranscriptionSessionRequestUioFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function TranscriptionSessionRequestUioFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'model': json['model'],
|
|
39
|
+
'language': json['language'] == null ? undefined : json['language'],
|
|
40
|
+
'prompt': json['prompt'] == null ? undefined : json['prompt'],
|
|
41
|
+
'purpose': json['purpose'] == null ? undefined : (0, RealtimeTranscriptionPurposeUio_1.RealtimeTranscriptionPurposeUioFromJSON)(json['purpose']),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function TranscriptionSessionRequestUioToJSON(json) {
|
|
45
|
+
return TranscriptionSessionRequestUioToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function TranscriptionSessionRequestUioToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'model': value['model'],
|
|
53
|
+
'language': value['language'],
|
|
54
|
+
'prompt': value['prompt'],
|
|
55
|
+
'purpose': (0, RealtimeTranscriptionPurposeUio_1.RealtimeTranscriptionPurposeUioToJSON)(value['purpose']),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
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 { RealtimeTranscriptionModeUio } from './RealtimeTranscriptionModeUio';
|
|
13
|
+
/**
|
|
14
|
+
* Session de transcription en flux. Ouvrir `wsUrl` en WebSocket puis envoyer `{"type":"auth","ticket":"…"}` comme premier message. Le ticket ne sert qu'une fois et expire à `expiresAt`.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface TranscriptionSessionUio
|
|
17
|
+
*/
|
|
18
|
+
export interface TranscriptionSessionUio {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof TranscriptionSessionUio
|
|
23
|
+
*/
|
|
24
|
+
sessionId: string;
|
|
25
|
+
/**
|
|
26
|
+
* Chemin du WebSocket, relatif à l'endpoint WebSocket de l'API.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof TranscriptionSessionUio
|
|
29
|
+
*/
|
|
30
|
+
wsUrl: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof TranscriptionSessionUio
|
|
35
|
+
*/
|
|
36
|
+
ticket: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {Date}
|
|
40
|
+
* @memberof TranscriptionSessionUio
|
|
41
|
+
*/
|
|
42
|
+
expiresAt: Date;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {RealtimeTranscriptionModeUio}
|
|
46
|
+
* @memberof TranscriptionSessionUio
|
|
47
|
+
*/
|
|
48
|
+
mode: RealtimeTranscriptionModeUio;
|
|
49
|
+
/**
|
|
50
|
+
* Modèle résolu, `providerId/modelId`.
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof TranscriptionSessionUio
|
|
53
|
+
*/
|
|
54
|
+
model: string;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Check if a given object implements the TranscriptionSessionUio interface.
|
|
58
|
+
*/
|
|
59
|
+
export declare function instanceOfTranscriptionSessionUio(value: object): value is TranscriptionSessionUio;
|
|
60
|
+
export declare function TranscriptionSessionUioFromJSON(json: any): TranscriptionSessionUio;
|
|
61
|
+
export declare function TranscriptionSessionUioFromJSONTyped(json: any, ignoreDiscriminator: boolean): TranscriptionSessionUio;
|
|
62
|
+
export declare function TranscriptionSessionUioToJSON(json: any): TranscriptionSessionUio;
|
|
63
|
+
export declare function TranscriptionSessionUioToJSONTyped(value?: TranscriptionSessionUio | null, ignoreDiscriminator?: boolean): any;
|