@brightoutcome/guidistry-client 0.4.0 → 0.5.0
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/schema.d.ts +180 -0
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -655,6 +655,63 @@ export interface paths {
|
|
|
655
655
|
patch?: never;
|
|
656
656
|
trace?: never;
|
|
657
657
|
};
|
|
658
|
+
"/v1/speech/synthesize": {
|
|
659
|
+
parameters: {
|
|
660
|
+
query?: never;
|
|
661
|
+
header?: never;
|
|
662
|
+
path?: never;
|
|
663
|
+
cookie?: never;
|
|
664
|
+
};
|
|
665
|
+
get?: never;
|
|
666
|
+
put?: never;
|
|
667
|
+
/**
|
|
668
|
+
* Read text aloud (MP3)
|
|
669
|
+
* @description One passage per call (up to 3,000 characters); split longer text by paragraph.
|
|
670
|
+
*/
|
|
671
|
+
post: operations["synthesize_v1_speech_synthesize_post"];
|
|
672
|
+
delete?: never;
|
|
673
|
+
options?: never;
|
|
674
|
+
head?: never;
|
|
675
|
+
patch?: never;
|
|
676
|
+
trace?: never;
|
|
677
|
+
};
|
|
678
|
+
"/v1/speech/transcribe": {
|
|
679
|
+
parameters: {
|
|
680
|
+
query?: never;
|
|
681
|
+
header?: never;
|
|
682
|
+
path?: never;
|
|
683
|
+
cookie?: never;
|
|
684
|
+
};
|
|
685
|
+
get?: never;
|
|
686
|
+
put?: never;
|
|
687
|
+
/** Turn a recording into text */
|
|
688
|
+
post: operations["transcribe_v1_speech_transcribe_post"];
|
|
689
|
+
delete?: never;
|
|
690
|
+
options?: never;
|
|
691
|
+
head?: never;
|
|
692
|
+
patch?: never;
|
|
693
|
+
trace?: never;
|
|
694
|
+
};
|
|
695
|
+
"/v1/speech/voices": {
|
|
696
|
+
parameters: {
|
|
697
|
+
query?: never;
|
|
698
|
+
header?: never;
|
|
699
|
+
path?: never;
|
|
700
|
+
cookie?: never;
|
|
701
|
+
};
|
|
702
|
+
/**
|
|
703
|
+
* Voices for read-aloud
|
|
704
|
+
* @description The first voice is the default.
|
|
705
|
+
*/
|
|
706
|
+
get: operations["list_voices_v1_speech_voices_get"];
|
|
707
|
+
put?: never;
|
|
708
|
+
post?: never;
|
|
709
|
+
delete?: never;
|
|
710
|
+
options?: never;
|
|
711
|
+
head?: never;
|
|
712
|
+
patch?: never;
|
|
713
|
+
trace?: never;
|
|
714
|
+
};
|
|
658
715
|
}
|
|
659
716
|
export type webhooks = Record<string, never>;
|
|
660
717
|
export interface components {
|
|
@@ -710,6 +767,19 @@ export interface components {
|
|
|
710
767
|
*/
|
|
711
768
|
sso?: string | null;
|
|
712
769
|
};
|
|
770
|
+
/** Body_transcribe_v1_speech_transcribe_post */
|
|
771
|
+
Body_transcribe_v1_speech_transcribe_post: {
|
|
772
|
+
/**
|
|
773
|
+
* Audio
|
|
774
|
+
* @description 16-bit PCM WAV, mono or stereo, up to 8 MB
|
|
775
|
+
*/
|
|
776
|
+
audio: string;
|
|
777
|
+
/**
|
|
778
|
+
* Language
|
|
779
|
+
* @default en-US
|
|
780
|
+
*/
|
|
781
|
+
language: string;
|
|
782
|
+
};
|
|
713
783
|
/** CalloutBlock */
|
|
714
784
|
CalloutBlock: {
|
|
715
785
|
/** Html */
|
|
@@ -1960,6 +2030,16 @@ export interface components {
|
|
|
1960
2030
|
/** Value */
|
|
1961
2031
|
value: unknown;
|
|
1962
2032
|
};
|
|
2033
|
+
/** SpeakIn */
|
|
2034
|
+
SpeakIn: {
|
|
2035
|
+
/** Text */
|
|
2036
|
+
text: string;
|
|
2037
|
+
/**
|
|
2038
|
+
* Voice
|
|
2039
|
+
* @description A voice id from /v1/speech/voices
|
|
2040
|
+
*/
|
|
2041
|
+
voice?: string | null;
|
|
2042
|
+
};
|
|
1963
2043
|
/** StructureOut */
|
|
1964
2044
|
StructureOut: {
|
|
1965
2045
|
/** Approved At */
|
|
@@ -2059,6 +2139,11 @@ export interface components {
|
|
|
2059
2139
|
/** Title */
|
|
2060
2140
|
title: string;
|
|
2061
2141
|
};
|
|
2142
|
+
/** TranscriptOut */
|
|
2143
|
+
TranscriptOut: {
|
|
2144
|
+
/** Text */
|
|
2145
|
+
text: string;
|
|
2146
|
+
};
|
|
2062
2147
|
/** ValidationError */
|
|
2063
2148
|
ValidationError: {
|
|
2064
2149
|
/** Context */
|
|
@@ -2124,6 +2209,15 @@ export interface components {
|
|
|
2124
2209
|
[key: string]: boolean;
|
|
2125
2210
|
};
|
|
2126
2211
|
};
|
|
2212
|
+
/** VoiceOut */
|
|
2213
|
+
VoiceOut: {
|
|
2214
|
+
/** Description */
|
|
2215
|
+
description: string;
|
|
2216
|
+
/** Id */
|
|
2217
|
+
id: string;
|
|
2218
|
+
/** Name */
|
|
2219
|
+
name: string;
|
|
2220
|
+
};
|
|
2127
2221
|
};
|
|
2128
2222
|
responses: never;
|
|
2129
2223
|
parameters: never;
|
|
@@ -3601,4 +3695,90 @@ export interface operations {
|
|
|
3601
3695
|
};
|
|
3602
3696
|
};
|
|
3603
3697
|
};
|
|
3698
|
+
synthesize_v1_speech_synthesize_post: {
|
|
3699
|
+
parameters: {
|
|
3700
|
+
query?: never;
|
|
3701
|
+
header?: never;
|
|
3702
|
+
path?: never;
|
|
3703
|
+
cookie?: never;
|
|
3704
|
+
};
|
|
3705
|
+
requestBody: {
|
|
3706
|
+
content: {
|
|
3707
|
+
"application/json": components["schemas"]["SpeakIn"];
|
|
3708
|
+
};
|
|
3709
|
+
};
|
|
3710
|
+
responses: {
|
|
3711
|
+
/** @description MP3 audio, 24 kHz */
|
|
3712
|
+
200: {
|
|
3713
|
+
headers: {
|
|
3714
|
+
[name: string]: unknown;
|
|
3715
|
+
};
|
|
3716
|
+
content: {
|
|
3717
|
+
"audio/mpeg": unknown;
|
|
3718
|
+
};
|
|
3719
|
+
};
|
|
3720
|
+
/** @description Validation Error */
|
|
3721
|
+
422: {
|
|
3722
|
+
headers: {
|
|
3723
|
+
[name: string]: unknown;
|
|
3724
|
+
};
|
|
3725
|
+
content: {
|
|
3726
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
3727
|
+
};
|
|
3728
|
+
};
|
|
3729
|
+
};
|
|
3730
|
+
};
|
|
3731
|
+
transcribe_v1_speech_transcribe_post: {
|
|
3732
|
+
parameters: {
|
|
3733
|
+
query?: never;
|
|
3734
|
+
header?: never;
|
|
3735
|
+
path?: never;
|
|
3736
|
+
cookie?: never;
|
|
3737
|
+
};
|
|
3738
|
+
requestBody: {
|
|
3739
|
+
content: {
|
|
3740
|
+
"multipart/form-data": components["schemas"]["Body_transcribe_v1_speech_transcribe_post"];
|
|
3741
|
+
};
|
|
3742
|
+
};
|
|
3743
|
+
responses: {
|
|
3744
|
+
/** @description Successful Response */
|
|
3745
|
+
200: {
|
|
3746
|
+
headers: {
|
|
3747
|
+
[name: string]: unknown;
|
|
3748
|
+
};
|
|
3749
|
+
content: {
|
|
3750
|
+
"application/json": components["schemas"]["TranscriptOut"];
|
|
3751
|
+
};
|
|
3752
|
+
};
|
|
3753
|
+
/** @description Validation Error */
|
|
3754
|
+
422: {
|
|
3755
|
+
headers: {
|
|
3756
|
+
[name: string]: unknown;
|
|
3757
|
+
};
|
|
3758
|
+
content: {
|
|
3759
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
3760
|
+
};
|
|
3761
|
+
};
|
|
3762
|
+
};
|
|
3763
|
+
};
|
|
3764
|
+
list_voices_v1_speech_voices_get: {
|
|
3765
|
+
parameters: {
|
|
3766
|
+
query?: never;
|
|
3767
|
+
header?: never;
|
|
3768
|
+
path?: never;
|
|
3769
|
+
cookie?: never;
|
|
3770
|
+
};
|
|
3771
|
+
requestBody?: never;
|
|
3772
|
+
responses: {
|
|
3773
|
+
/** @description Successful Response */
|
|
3774
|
+
200: {
|
|
3775
|
+
headers: {
|
|
3776
|
+
[name: string]: unknown;
|
|
3777
|
+
};
|
|
3778
|
+
content: {
|
|
3779
|
+
"application/json": components["schemas"]["VoiceOut"][];
|
|
3780
|
+
};
|
|
3781
|
+
};
|
|
3782
|
+
};
|
|
3783
|
+
};
|
|
3604
3784
|
}
|