@firebolt-js/core-client 1.0.0-next.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/CHANGELOG.md +0 -0
- package/CONTRIBUTING.md +4 -0
- package/LICENSE +202 -0
- package/NOTICE +24 -0
- package/README.md +26 -0
- package/dist/docs/Accessibility/index.md +384 -0
- package/dist/docs/Accessibility/schemas/index.md +52 -0
- package/dist/docs/Advertising/index.md +120 -0
- package/dist/docs/Device/index.md +297 -0
- package/dist/docs/Discovery/index.md +128 -0
- package/dist/docs/Display/index.md +87 -0
- package/dist/docs/Internal/index.md +68 -0
- package/dist/docs/Lifecycle2/index.md +160 -0
- package/dist/docs/Localization/index.md +314 -0
- package/dist/docs/Localization/schemas/index.md +41 -0
- package/dist/docs/Metrics/index.md +987 -0
- package/dist/docs/Network/index.md +128 -0
- package/dist/docs/Policies/schemas/index.md +25 -0
- package/dist/docs/Presentation/index.md +53 -0
- package/dist/docs/Stats/index.md +63 -0
- package/dist/docs/TextToSpeech/index.md +524 -0
- package/dist/docs/Types/schemas/index.md +37 -0
- package/dist/firebolt-core-app-open-rpc.json +1082 -0
- package/dist/firebolt-core-open-rpc.json +3773 -0
- package/dist/lib/Accessibility/defaults.mjs +61 -0
- package/dist/lib/Accessibility/index.mjs +148 -0
- package/dist/lib/Advertising/defaults.mjs +26 -0
- package/dist/lib/Advertising/index.mjs +31 -0
- package/dist/lib/Device/defaults.mjs +34 -0
- package/dist/lib/Device/index.mjs +84 -0
- package/dist/lib/Discovery/defaults.mjs +22 -0
- package/dist/lib/Discovery/index.mjs +34 -0
- package/dist/lib/Events/index.mjs +345 -0
- package/dist/lib/Gateway/AppApi.mjs +125 -0
- package/dist/lib/Gateway/Bidirectional.mjs +113 -0
- package/dist/lib/Gateway/PlatformApi.mjs +130 -0
- package/dist/lib/Gateway/index.mjs +48 -0
- package/dist/lib/Localization/defaults.mjs +44 -0
- package/dist/lib/Localization/index.mjs +123 -0
- package/dist/lib/Log/index.mjs +57 -0
- package/dist/lib/Metrics/defaults.mjs +40 -0
- package/dist/lib/Metrics/index.mjs +206 -0
- package/dist/lib/Network/defaults.mjs +24 -0
- package/dist/lib/Network/index.mjs +70 -0
- package/dist/lib/Platform/defaults.mjs +27 -0
- package/dist/lib/Platform/index.mjs +28 -0
- package/dist/lib/Prop/MockProps.mjs +28 -0
- package/dist/lib/Prop/Router.mjs +25 -0
- package/dist/lib/Prop/index.mjs +60 -0
- package/dist/lib/Settings/index.mjs +86 -0
- package/dist/lib/Transport/MockTransport.mjs +191 -0
- package/dist/lib/Transport/WebsocketTransport.mjs +55 -0
- package/dist/lib/Transport/index.mjs +81 -0
- package/dist/lib/firebolt.d.ts +795 -0
- package/dist/lib/firebolt.mjs +51 -0
- package/firebolt-js-core-client-1.0.0-next.5.tgz +0 -0
- package/package.json +54 -0
|
@@ -0,0 +1,524 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: TextToSpeech
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# TextToSpeech Module
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
Version TextToSpeech 1.0.0-next.5
|
|
10
|
+
|
|
11
|
+
## Table of Contents
|
|
12
|
+
|
|
13
|
+
- [Table of Contents](#table-of-contents)
|
|
14
|
+
- [Overview](#overview)
|
|
15
|
+
- [Methods](#methods)
|
|
16
|
+
- [cancel](#cancel)
|
|
17
|
+
- [getspeechstate](#getspeechstate)
|
|
18
|
+
- [listvoices](#listvoices)
|
|
19
|
+
- [pause](#pause)
|
|
20
|
+
- [resume](#resume)
|
|
21
|
+
- [speak](#speak)
|
|
22
|
+
- [Events](#events)
|
|
23
|
+
- [onNetworkerror](#onnetworkerror)
|
|
24
|
+
- [onPlaybackerror](#onplaybackerror)
|
|
25
|
+
- [onSpeechcomplete](#onspeechcomplete)
|
|
26
|
+
- [onSpeechinterrupted](#onspeechinterrupted)
|
|
27
|
+
- [onSpeechpause](#onspeechpause)
|
|
28
|
+
- [onSpeechresume](#onspeechresume)
|
|
29
|
+
- [onSpeechstart](#onspeechstart)
|
|
30
|
+
- [onWillspeak](#onwillspeak)
|
|
31
|
+
- [Types](#types)
|
|
32
|
+
- [TTSStatus](#ttsstatus)
|
|
33
|
+
- [SpeechId](#speechid)
|
|
34
|
+
- [SpeechResponse](#speechresponse)
|
|
35
|
+
- [ListVoicesResponse](#listvoicesresponse)
|
|
36
|
+
- [SpeechState](#speechstate)
|
|
37
|
+
- [SpeechStateResponse](#speechstateresponse)
|
|
38
|
+
- [TTSStatusResponse](#ttsstatusresponse)
|
|
39
|
+
- [SpeechIdEvent](#speechidevent)
|
|
40
|
+
|
|
41
|
+
## Overview
|
|
42
|
+
|
|
43
|
+
A module for controlling and accessing Text To Speech over Firebolt.
|
|
44
|
+
|
|
45
|
+
## Methods
|
|
46
|
+
|
|
47
|
+
### cancel
|
|
48
|
+
|
|
49
|
+
_This is a private RPC method._
|
|
50
|
+
|
|
51
|
+
Cancels the speech for given speech id
|
|
52
|
+
|
|
53
|
+
Parameters:
|
|
54
|
+
|
|
55
|
+
| Param | Type | Required | Description |
|
|
56
|
+
| ---------- | -------- | -------- | ------------------------------ |
|
|
57
|
+
| `speechid` | `number` | true | Identifier for the speech call |
|
|
58
|
+
|
|
59
|
+
Result:
|
|
60
|
+
|
|
61
|
+
[TTSStatusResponse](#ttsstatusresponse)
|
|
62
|
+
|
|
63
|
+
Capabilities:
|
|
64
|
+
|
|
65
|
+
| Role | Capability |
|
|
66
|
+
| ---- | ---------------------------------------------- |
|
|
67
|
+
| uses | xrn:firebolt:capability:text-to-speech:general |
|
|
68
|
+
|
|
69
|
+
#### Examples
|
|
70
|
+
|
|
71
|
+
Cancel a given speech id.
|
|
72
|
+
|
|
73
|
+
---
|
|
74
|
+
|
|
75
|
+
### getspeechstate
|
|
76
|
+
|
|
77
|
+
_This is a private RPC method._
|
|
78
|
+
|
|
79
|
+
Returns the state of the utterance.
|
|
80
|
+
|
|
81
|
+
Parameters:
|
|
82
|
+
|
|
83
|
+
| Param | Type | Required | Description |
|
|
84
|
+
| ---------- | -------- | -------- | ------------------------------ |
|
|
85
|
+
| `speechid` | `number` | true | Identifier for the speech call |
|
|
86
|
+
|
|
87
|
+
Result:
|
|
88
|
+
|
|
89
|
+
[SpeechStateResponse](#speechstateresponse)
|
|
90
|
+
|
|
91
|
+
Capabilities:
|
|
92
|
+
|
|
93
|
+
| Role | Capability |
|
|
94
|
+
| ---- | ---------------------------------------------- |
|
|
95
|
+
| uses | xrn:firebolt:capability:text-to-speech:general |
|
|
96
|
+
|
|
97
|
+
#### Examples
|
|
98
|
+
|
|
99
|
+
State for a given speech id.
|
|
100
|
+
|
|
101
|
+
---
|
|
102
|
+
|
|
103
|
+
### listvoices
|
|
104
|
+
|
|
105
|
+
_This is a private RPC method._
|
|
106
|
+
|
|
107
|
+
Returns the list of available voices as human-readable strings, e.g. 'ava', 'amelie', 'angelica'
|
|
108
|
+
|
|
109
|
+
Parameters:
|
|
110
|
+
|
|
111
|
+
| Param | Type | Required | Description |
|
|
112
|
+
| ---------- | -------- | -------- | --------------------------------------------------------------------- |
|
|
113
|
+
| `language` | `string` | true | Language - string - BCP 47 <br/>pattern: ^[a-zA-Z]+([a-zA-Z0-9\-]\*)$ |
|
|
114
|
+
|
|
115
|
+
Result:
|
|
116
|
+
|
|
117
|
+
[ListVoicesResponse](#listvoicesresponse)
|
|
118
|
+
|
|
119
|
+
Capabilities:
|
|
120
|
+
|
|
121
|
+
| Role | Capability |
|
|
122
|
+
| ---- | ---------------------------------------------- |
|
|
123
|
+
| uses | xrn:firebolt:capability:text-to-speech:general |
|
|
124
|
+
|
|
125
|
+
#### Examples
|
|
126
|
+
|
|
127
|
+
Getting the list of voices
|
|
128
|
+
|
|
129
|
+
---
|
|
130
|
+
|
|
131
|
+
### pause
|
|
132
|
+
|
|
133
|
+
_This is a private RPC method._
|
|
134
|
+
|
|
135
|
+
Pauses the speech for given speech id
|
|
136
|
+
|
|
137
|
+
Parameters:
|
|
138
|
+
|
|
139
|
+
| Param | Type | Required | Description |
|
|
140
|
+
| ---------- | -------- | -------- | ------------------------------ |
|
|
141
|
+
| `speechid` | `number` | true | Identifier for the speech call |
|
|
142
|
+
|
|
143
|
+
Result:
|
|
144
|
+
|
|
145
|
+
[TTSStatusResponse](#ttsstatusresponse)
|
|
146
|
+
|
|
147
|
+
Capabilities:
|
|
148
|
+
|
|
149
|
+
| Role | Capability |
|
|
150
|
+
| ---- | ---------------------------------------------- |
|
|
151
|
+
| uses | xrn:firebolt:capability:text-to-speech:general |
|
|
152
|
+
|
|
153
|
+
#### Examples
|
|
154
|
+
|
|
155
|
+
Pause a given speech id
|
|
156
|
+
|
|
157
|
+
---
|
|
158
|
+
|
|
159
|
+
### resume
|
|
160
|
+
|
|
161
|
+
_This is a private RPC method._
|
|
162
|
+
|
|
163
|
+
Resumes the speech for given speech id
|
|
164
|
+
|
|
165
|
+
Parameters:
|
|
166
|
+
|
|
167
|
+
| Param | Type | Required | Description |
|
|
168
|
+
| ---------- | -------- | -------- | ------------------------------ |
|
|
169
|
+
| `speechid` | `number` | true | Identifier for the speech call |
|
|
170
|
+
|
|
171
|
+
Result:
|
|
172
|
+
|
|
173
|
+
[TTSStatusResponse](#ttsstatusresponse)
|
|
174
|
+
|
|
175
|
+
Capabilities:
|
|
176
|
+
|
|
177
|
+
| Role | Capability |
|
|
178
|
+
| ---- | ---------------------------------------------- |
|
|
179
|
+
| uses | xrn:firebolt:capability:text-to-speech:general |
|
|
180
|
+
|
|
181
|
+
#### Examples
|
|
182
|
+
|
|
183
|
+
Resume a given speech id.
|
|
184
|
+
|
|
185
|
+
---
|
|
186
|
+
|
|
187
|
+
### speak
|
|
188
|
+
|
|
189
|
+
_This is a private RPC method._
|
|
190
|
+
|
|
191
|
+
Speak the utterance immediately. Any ongoing speech is interrupted.
|
|
192
|
+
|
|
193
|
+
Parameters:
|
|
194
|
+
|
|
195
|
+
| Param | Type | Required | Description |
|
|
196
|
+
| ------ | -------- | -------- | ------------------------------------------ |
|
|
197
|
+
| `text` | `string` | true | String to be converted to Audio for speech |
|
|
198
|
+
|
|
199
|
+
Result:
|
|
200
|
+
|
|
201
|
+
[SpeechResponse](#speechresponse)
|
|
202
|
+
|
|
203
|
+
Capabilities:
|
|
204
|
+
|
|
205
|
+
| Role | Capability |
|
|
206
|
+
| ---- | ---------------------------------------------- |
|
|
207
|
+
| uses | xrn:firebolt:capability:text-to-speech:general |
|
|
208
|
+
|
|
209
|
+
#### Examples
|
|
210
|
+
|
|
211
|
+
Getting the result of speak
|
|
212
|
+
|
|
213
|
+
---
|
|
214
|
+
|
|
215
|
+
## Events
|
|
216
|
+
|
|
217
|
+
### onNetworkerror
|
|
218
|
+
|
|
219
|
+
_This is a private RPC method._
|
|
220
|
+
|
|
221
|
+
Utterance failed due to network error.
|
|
222
|
+
|
|
223
|
+
Parameters:
|
|
224
|
+
|
|
225
|
+
| Param | Type | Required | Description |
|
|
226
|
+
| -------- | --------- | -------- | ----------- |
|
|
227
|
+
| `listen` | `boolean` | false | |
|
|
228
|
+
|
|
229
|
+
Result:
|
|
230
|
+
|
|
231
|
+
Capabilities:
|
|
232
|
+
|
|
233
|
+
| Role | Capability |
|
|
234
|
+
| ---- | ---------------------------------------------- |
|
|
235
|
+
| uses | xrn:firebolt:capability:text-to-speech:general |
|
|
236
|
+
|
|
237
|
+
#### Examples
|
|
238
|
+
|
|
239
|
+
Default Example
|
|
240
|
+
|
|
241
|
+
---
|
|
242
|
+
|
|
243
|
+
### onPlaybackerror
|
|
244
|
+
|
|
245
|
+
_This is a private RPC method._
|
|
246
|
+
|
|
247
|
+
Utterance failed during playback.
|
|
248
|
+
|
|
249
|
+
Parameters:
|
|
250
|
+
|
|
251
|
+
| Param | Type | Required | Description |
|
|
252
|
+
| -------- | --------- | -------- | ----------- |
|
|
253
|
+
| `listen` | `boolean` | false | |
|
|
254
|
+
|
|
255
|
+
Result:
|
|
256
|
+
|
|
257
|
+
Capabilities:
|
|
258
|
+
|
|
259
|
+
| Role | Capability |
|
|
260
|
+
| ---- | ---------------------------------------------- |
|
|
261
|
+
| uses | xrn:firebolt:capability:text-to-speech:general |
|
|
262
|
+
|
|
263
|
+
#### Examples
|
|
264
|
+
|
|
265
|
+
Default Example
|
|
266
|
+
|
|
267
|
+
---
|
|
268
|
+
|
|
269
|
+
### onSpeechcomplete
|
|
270
|
+
|
|
271
|
+
_This is a private RPC method._
|
|
272
|
+
|
|
273
|
+
Speech completed successfully.
|
|
274
|
+
|
|
275
|
+
Parameters:
|
|
276
|
+
|
|
277
|
+
| Param | Type | Required | Description |
|
|
278
|
+
| -------- | --------- | -------- | ----------- |
|
|
279
|
+
| `listen` | `boolean` | false | |
|
|
280
|
+
|
|
281
|
+
Result:
|
|
282
|
+
|
|
283
|
+
Capabilities:
|
|
284
|
+
|
|
285
|
+
| Role | Capability |
|
|
286
|
+
| ---- | ---------------------------------------------- |
|
|
287
|
+
| uses | xrn:firebolt:capability:text-to-speech:general |
|
|
288
|
+
|
|
289
|
+
#### Examples
|
|
290
|
+
|
|
291
|
+
Default Example
|
|
292
|
+
|
|
293
|
+
---
|
|
294
|
+
|
|
295
|
+
### onSpeechinterrupted
|
|
296
|
+
|
|
297
|
+
_This is a private RPC method._
|
|
298
|
+
|
|
299
|
+
Speech was stopped, due to another call to speak or cancel.
|
|
300
|
+
|
|
301
|
+
Parameters:
|
|
302
|
+
|
|
303
|
+
| Param | Type | Required | Description |
|
|
304
|
+
| -------- | --------- | -------- | ----------- |
|
|
305
|
+
| `listen` | `boolean` | false | |
|
|
306
|
+
|
|
307
|
+
Result:
|
|
308
|
+
|
|
309
|
+
Capabilities:
|
|
310
|
+
|
|
311
|
+
| Role | Capability |
|
|
312
|
+
| ---- | ---------------------------------------------- |
|
|
313
|
+
| uses | xrn:firebolt:capability:text-to-speech:general |
|
|
314
|
+
|
|
315
|
+
#### Examples
|
|
316
|
+
|
|
317
|
+
Default Example
|
|
318
|
+
|
|
319
|
+
---
|
|
320
|
+
|
|
321
|
+
### onSpeechpause
|
|
322
|
+
|
|
323
|
+
_This is a private RPC method._
|
|
324
|
+
|
|
325
|
+
Ongoing speech was paused.
|
|
326
|
+
|
|
327
|
+
Parameters:
|
|
328
|
+
|
|
329
|
+
| Param | Type | Required | Description |
|
|
330
|
+
| -------- | --------- | -------- | ----------- |
|
|
331
|
+
| `listen` | `boolean` | false | |
|
|
332
|
+
|
|
333
|
+
Result:
|
|
334
|
+
|
|
335
|
+
Capabilities:
|
|
336
|
+
|
|
337
|
+
| Role | Capability |
|
|
338
|
+
| ---- | ---------------------------------------------- |
|
|
339
|
+
| uses | xrn:firebolt:capability:text-to-speech:general |
|
|
340
|
+
|
|
341
|
+
#### Examples
|
|
342
|
+
|
|
343
|
+
Default Example
|
|
344
|
+
|
|
345
|
+
---
|
|
346
|
+
|
|
347
|
+
### onSpeechresume
|
|
348
|
+
|
|
349
|
+
_This is a private RPC method._
|
|
350
|
+
|
|
351
|
+
Paused speech was resumed.
|
|
352
|
+
|
|
353
|
+
Parameters:
|
|
354
|
+
|
|
355
|
+
| Param | Type | Required | Description |
|
|
356
|
+
| -------- | --------- | -------- | ----------- |
|
|
357
|
+
| `listen` | `boolean` | false | |
|
|
358
|
+
|
|
359
|
+
Result:
|
|
360
|
+
|
|
361
|
+
Capabilities:
|
|
362
|
+
|
|
363
|
+
| Role | Capability |
|
|
364
|
+
| ---- | ---------------------------------------------- |
|
|
365
|
+
| uses | xrn:firebolt:capability:text-to-speech:general |
|
|
366
|
+
|
|
367
|
+
#### Examples
|
|
368
|
+
|
|
369
|
+
Default Example
|
|
370
|
+
|
|
371
|
+
---
|
|
372
|
+
|
|
373
|
+
### onSpeechstart
|
|
374
|
+
|
|
375
|
+
_This is a private RPC method._
|
|
376
|
+
|
|
377
|
+
Utterance is about to be spoken.
|
|
378
|
+
|
|
379
|
+
Parameters:
|
|
380
|
+
|
|
381
|
+
| Param | Type | Required | Description |
|
|
382
|
+
| -------- | --------- | -------- | ----------- |
|
|
383
|
+
| `listen` | `boolean` | false | |
|
|
384
|
+
|
|
385
|
+
Result:
|
|
386
|
+
|
|
387
|
+
Capabilities:
|
|
388
|
+
|
|
389
|
+
| Role | Capability |
|
|
390
|
+
| ---- | ---------------------------------------------- |
|
|
391
|
+
| uses | xrn:firebolt:capability:text-to-speech:general |
|
|
392
|
+
|
|
393
|
+
#### Examples
|
|
394
|
+
|
|
395
|
+
Default Example
|
|
396
|
+
|
|
397
|
+
---
|
|
398
|
+
|
|
399
|
+
### onWillspeak
|
|
400
|
+
|
|
401
|
+
_This is a private RPC method._
|
|
402
|
+
|
|
403
|
+
Text to speech conversion is about to start.
|
|
404
|
+
|
|
405
|
+
Parameters:
|
|
406
|
+
|
|
407
|
+
| Param | Type | Required | Description |
|
|
408
|
+
| -------- | --------- | -------- | ----------- |
|
|
409
|
+
| `listen` | `boolean` | false | |
|
|
410
|
+
|
|
411
|
+
Result:
|
|
412
|
+
|
|
413
|
+
Capabilities:
|
|
414
|
+
|
|
415
|
+
| Role | Capability |
|
|
416
|
+
| ---- | ---------------------------------------------- |
|
|
417
|
+
| uses | xrn:firebolt:capability:text-to-speech:general |
|
|
418
|
+
|
|
419
|
+
#### Examples
|
|
420
|
+
|
|
421
|
+
Default Example
|
|
422
|
+
|
|
423
|
+
---
|
|
424
|
+
|
|
425
|
+
## Types
|
|
426
|
+
|
|
427
|
+
### TTSStatus
|
|
428
|
+
|
|
429
|
+
```typescript
|
|
430
|
+
type TTSStatus = number
|
|
431
|
+
```
|
|
432
|
+
|
|
433
|
+
---
|
|
434
|
+
|
|
435
|
+
### SpeechId
|
|
436
|
+
|
|
437
|
+
```typescript
|
|
438
|
+
type SpeechId = number
|
|
439
|
+
```
|
|
440
|
+
|
|
441
|
+
---
|
|
442
|
+
|
|
443
|
+
### SpeechResponse
|
|
444
|
+
|
|
445
|
+
```typescript
|
|
446
|
+
type SpeechResponse = {
|
|
447
|
+
speechid: number
|
|
448
|
+
TTS_Status: TTSStatus
|
|
449
|
+
success: boolean
|
|
450
|
+
}
|
|
451
|
+
```
|
|
452
|
+
|
|
453
|
+
See also:
|
|
454
|
+
|
|
455
|
+
[TTSStatus](#ttsstatus)
|
|
456
|
+
|
|
457
|
+
---
|
|
458
|
+
|
|
459
|
+
### ListVoicesResponse
|
|
460
|
+
|
|
461
|
+
```typescript
|
|
462
|
+
type ListVoicesResponse = {
|
|
463
|
+
TTS_Status: TTSStatus
|
|
464
|
+
voices: string[]
|
|
465
|
+
}
|
|
466
|
+
```
|
|
467
|
+
|
|
468
|
+
See also:
|
|
469
|
+
|
|
470
|
+
[TTSStatus](#ttsstatus)
|
|
471
|
+
|
|
472
|
+
---
|
|
473
|
+
|
|
474
|
+
### SpeechState
|
|
475
|
+
|
|
476
|
+
0 = SPEECH_PENDING, 1 = SPEECH_IN_PROGRESS, 2 = SPEECH_PAUSED, 3 = SPEECH_NOT_FOUND
|
|
477
|
+
|
|
478
|
+
```typescript
|
|
479
|
+
type SpeechState = number
|
|
480
|
+
```
|
|
481
|
+
|
|
482
|
+
---
|
|
483
|
+
|
|
484
|
+
### SpeechStateResponse
|
|
485
|
+
|
|
486
|
+
```typescript
|
|
487
|
+
type SpeechStateResponse = {
|
|
488
|
+
speechstate: SpeechState // 0 = SPEECH_PENDING, 1 = SPEECH_IN_PROGRESS, 2 = SPEECH_PAUSED, 3 = SPEECH_NOT_FOUND
|
|
489
|
+
TTS_Status: TTSStatus
|
|
490
|
+
success: boolean
|
|
491
|
+
}
|
|
492
|
+
```
|
|
493
|
+
|
|
494
|
+
See also:
|
|
495
|
+
|
|
496
|
+
[SpeechState](#speechstate)
|
|
497
|
+
[TTSStatus](#ttsstatus)
|
|
498
|
+
|
|
499
|
+
---
|
|
500
|
+
|
|
501
|
+
### TTSStatusResponse
|
|
502
|
+
|
|
503
|
+
```typescript
|
|
504
|
+
type TTSStatusResponse = {
|
|
505
|
+
TTS_Status: TTSStatus
|
|
506
|
+
success: boolean
|
|
507
|
+
}
|
|
508
|
+
```
|
|
509
|
+
|
|
510
|
+
See also:
|
|
511
|
+
|
|
512
|
+
[TTSStatus](#ttsstatus)
|
|
513
|
+
|
|
514
|
+
---
|
|
515
|
+
|
|
516
|
+
### SpeechIdEvent
|
|
517
|
+
|
|
518
|
+
```typescript
|
|
519
|
+
type SpeechIdEvent = {
|
|
520
|
+
speechid: number
|
|
521
|
+
}
|
|
522
|
+
```
|
|
523
|
+
|
|
524
|
+
---
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Types
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Types
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Table of Contents
|
|
10
|
+
|
|
11
|
+
- [Table of Contents](#table-of-contents)
|
|
12
|
+
- [Types](#types-1)
|
|
13
|
+
- [SemanticVersion](#semanticversion)
|
|
14
|
+
- [FlatMap](#flatmap)
|
|
15
|
+
|
|
16
|
+
## Types
|
|
17
|
+
|
|
18
|
+
### SemanticVersion
|
|
19
|
+
|
|
20
|
+
```typescript
|
|
21
|
+
type SemanticVersion = {
|
|
22
|
+
major: number
|
|
23
|
+
minor: number
|
|
24
|
+
patch: number
|
|
25
|
+
readable: string
|
|
26
|
+
}
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
### FlatMap
|
|
32
|
+
|
|
33
|
+
```typescript
|
|
34
|
+
type FlatMap = [property: string]: string | number | boolean
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
---
|