@brightoutcome/guidistry-client 0.3.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 +375 -0
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -185,6 +185,40 @@ export interface paths {
|
|
|
185
185
|
patch?: never;
|
|
186
186
|
trace?: never;
|
|
187
187
|
};
|
|
188
|
+
"/v1/courses/{course_id}/guides/facilitator": {
|
|
189
|
+
parameters: {
|
|
190
|
+
query?: never;
|
|
191
|
+
header?: never;
|
|
192
|
+
path?: never;
|
|
193
|
+
cookie?: never;
|
|
194
|
+
};
|
|
195
|
+
/** A template's facilitator guide (staff only) */
|
|
196
|
+
get: operations["get_facilitator_guide_v1_courses__course_id__guides_facilitator_get"];
|
|
197
|
+
put?: never;
|
|
198
|
+
post?: never;
|
|
199
|
+
delete?: never;
|
|
200
|
+
options?: never;
|
|
201
|
+
head?: never;
|
|
202
|
+
patch?: never;
|
|
203
|
+
trace?: never;
|
|
204
|
+
};
|
|
205
|
+
"/v1/courses/{course_id}/guides/facilitator/{doc_id}": {
|
|
206
|
+
parameters: {
|
|
207
|
+
query?: never;
|
|
208
|
+
header?: never;
|
|
209
|
+
path?: never;
|
|
210
|
+
cookie?: never;
|
|
211
|
+
};
|
|
212
|
+
/** One document of a facilitator guide, with its body (staff only) */
|
|
213
|
+
get: operations["get_facilitator_document_v1_courses__course_id__guides_facilitator__doc_id__get"];
|
|
214
|
+
put?: never;
|
|
215
|
+
post?: never;
|
|
216
|
+
delete?: never;
|
|
217
|
+
options?: never;
|
|
218
|
+
head?: never;
|
|
219
|
+
patch?: never;
|
|
220
|
+
trace?: never;
|
|
221
|
+
};
|
|
188
222
|
"/v1/courses/{course_id}/items": {
|
|
189
223
|
parameters: {
|
|
190
224
|
query?: never;
|
|
@@ -621,6 +655,63 @@ export interface paths {
|
|
|
621
655
|
patch?: never;
|
|
622
656
|
trace?: never;
|
|
623
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
|
+
};
|
|
624
715
|
}
|
|
625
716
|
export type webhooks = Record<string, never>;
|
|
626
717
|
export interface components {
|
|
@@ -676,6 +767,19 @@ export interface components {
|
|
|
676
767
|
*/
|
|
677
768
|
sso?: string | null;
|
|
678
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
|
+
};
|
|
679
783
|
/** CalloutBlock */
|
|
680
784
|
CalloutBlock: {
|
|
681
785
|
/** Html */
|
|
@@ -983,6 +1087,91 @@ export interface components {
|
|
|
983
1087
|
/** Starts At */
|
|
984
1088
|
starts_at: string | null;
|
|
985
1089
|
};
|
|
1090
|
+
/** GuideDocumentInfo */
|
|
1091
|
+
GuideDocumentInfo: {
|
|
1092
|
+
/** Audience */
|
|
1093
|
+
audience: string | null;
|
|
1094
|
+
/** Id */
|
|
1095
|
+
id: string;
|
|
1096
|
+
/** Parts */
|
|
1097
|
+
parts: components["schemas"]["GuidePartOut"][];
|
|
1098
|
+
/**
|
|
1099
|
+
* Pdf Url
|
|
1100
|
+
* @description Short-lived link to the whole document's PDF
|
|
1101
|
+
*/
|
|
1102
|
+
pdf_url: string | null;
|
|
1103
|
+
/** Summary */
|
|
1104
|
+
summary: string | null;
|
|
1105
|
+
/** Title */
|
|
1106
|
+
title: string;
|
|
1107
|
+
};
|
|
1108
|
+
/** GuideDocumentOut */
|
|
1109
|
+
GuideDocumentOut: {
|
|
1110
|
+
/** Audience */
|
|
1111
|
+
audience: string | null;
|
|
1112
|
+
/**
|
|
1113
|
+
* Body
|
|
1114
|
+
* @description The document as written (sections, agenda, …)
|
|
1115
|
+
*/
|
|
1116
|
+
body: {
|
|
1117
|
+
[key: string]: unknown;
|
|
1118
|
+
};
|
|
1119
|
+
/** Id */
|
|
1120
|
+
id: string;
|
|
1121
|
+
/** Parts */
|
|
1122
|
+
parts: components["schemas"]["GuidePartOut"][];
|
|
1123
|
+
/**
|
|
1124
|
+
* Pdf Url
|
|
1125
|
+
* @description Short-lived link to the whole document's PDF
|
|
1126
|
+
*/
|
|
1127
|
+
pdf_url: string | null;
|
|
1128
|
+
/** Summary */
|
|
1129
|
+
summary: string | null;
|
|
1130
|
+
/** Title */
|
|
1131
|
+
title: string;
|
|
1132
|
+
};
|
|
1133
|
+
/**
|
|
1134
|
+
* GuideOut
|
|
1135
|
+
* @description A template's facilitator guide: staff only.
|
|
1136
|
+
*/
|
|
1137
|
+
GuideOut: {
|
|
1138
|
+
/**
|
|
1139
|
+
* Applies To
|
|
1140
|
+
* @description Tags: which versions it's for
|
|
1141
|
+
*/
|
|
1142
|
+
applies_to: {
|
|
1143
|
+
[key: string]: unknown;
|
|
1144
|
+
} | null;
|
|
1145
|
+
/** Documents */
|
|
1146
|
+
documents: components["schemas"]["GuideDocumentInfo"][];
|
|
1147
|
+
/** Edition */
|
|
1148
|
+
edition: string | null;
|
|
1149
|
+
/** Kind */
|
|
1150
|
+
kind: string;
|
|
1151
|
+
/** Language */
|
|
1152
|
+
language: string;
|
|
1153
|
+
/**
|
|
1154
|
+
* Published At
|
|
1155
|
+
* Format: date-time
|
|
1156
|
+
*/
|
|
1157
|
+
published_at: string;
|
|
1158
|
+
/** Revision */
|
|
1159
|
+
revision: number;
|
|
1160
|
+
/** Title */
|
|
1161
|
+
title: string;
|
|
1162
|
+
};
|
|
1163
|
+
/** GuidePartOut */
|
|
1164
|
+
GuidePartOut: {
|
|
1165
|
+
/** Module Key */
|
|
1166
|
+
module_key: string | null;
|
|
1167
|
+
/** Module Number */
|
|
1168
|
+
module_number: number;
|
|
1169
|
+
/**
|
|
1170
|
+
* Pdf Url
|
|
1171
|
+
* @description Short-lived link to this part's PDF
|
|
1172
|
+
*/
|
|
1173
|
+
pdf_url: string | null;
|
|
1174
|
+
};
|
|
986
1175
|
/** HTTPValidationError */
|
|
987
1176
|
HTTPValidationError: {
|
|
988
1177
|
/** Detail */
|
|
@@ -1841,6 +2030,16 @@ export interface components {
|
|
|
1841
2030
|
/** Value */
|
|
1842
2031
|
value: unknown;
|
|
1843
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
|
+
};
|
|
1844
2043
|
/** StructureOut */
|
|
1845
2044
|
StructureOut: {
|
|
1846
2045
|
/** Approved At */
|
|
@@ -1940,6 +2139,11 @@ export interface components {
|
|
|
1940
2139
|
/** Title */
|
|
1941
2140
|
title: string;
|
|
1942
2141
|
};
|
|
2142
|
+
/** TranscriptOut */
|
|
2143
|
+
TranscriptOut: {
|
|
2144
|
+
/** Text */
|
|
2145
|
+
text: string;
|
|
2146
|
+
};
|
|
1943
2147
|
/** ValidationError */
|
|
1944
2148
|
ValidationError: {
|
|
1945
2149
|
/** Context */
|
|
@@ -2005,6 +2209,15 @@ export interface components {
|
|
|
2005
2209
|
[key: string]: boolean;
|
|
2006
2210
|
};
|
|
2007
2211
|
};
|
|
2212
|
+
/** VoiceOut */
|
|
2213
|
+
VoiceOut: {
|
|
2214
|
+
/** Description */
|
|
2215
|
+
description: string;
|
|
2216
|
+
/** Id */
|
|
2217
|
+
id: string;
|
|
2218
|
+
/** Name */
|
|
2219
|
+
name: string;
|
|
2220
|
+
};
|
|
2008
2221
|
};
|
|
2009
2222
|
responses: never;
|
|
2010
2223
|
parameters: never;
|
|
@@ -2356,6 +2569,82 @@ export interface operations {
|
|
|
2356
2569
|
};
|
|
2357
2570
|
};
|
|
2358
2571
|
};
|
|
2572
|
+
get_facilitator_guide_v1_courses__course_id__guides_facilitator_get: {
|
|
2573
|
+
parameters: {
|
|
2574
|
+
query?: {
|
|
2575
|
+
/** @description 404 if the guide isn't for this version */
|
|
2576
|
+
version?: string | null;
|
|
2577
|
+
language?: string | null;
|
|
2578
|
+
};
|
|
2579
|
+
header?: {
|
|
2580
|
+
/** @description Membership the caller is acting through (from GET /v1/me) */
|
|
2581
|
+
"X-Guidistry-Context"?: string | null;
|
|
2582
|
+
};
|
|
2583
|
+
path: {
|
|
2584
|
+
course_id: string;
|
|
2585
|
+
};
|
|
2586
|
+
cookie?: never;
|
|
2587
|
+
};
|
|
2588
|
+
requestBody?: never;
|
|
2589
|
+
responses: {
|
|
2590
|
+
/** @description Successful Response */
|
|
2591
|
+
200: {
|
|
2592
|
+
headers: {
|
|
2593
|
+
[name: string]: unknown;
|
|
2594
|
+
};
|
|
2595
|
+
content: {
|
|
2596
|
+
"application/json": components["schemas"]["GuideOut"];
|
|
2597
|
+
};
|
|
2598
|
+
};
|
|
2599
|
+
/** @description Validation Error */
|
|
2600
|
+
422: {
|
|
2601
|
+
headers: {
|
|
2602
|
+
[name: string]: unknown;
|
|
2603
|
+
};
|
|
2604
|
+
content: {
|
|
2605
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
2606
|
+
};
|
|
2607
|
+
};
|
|
2608
|
+
};
|
|
2609
|
+
};
|
|
2610
|
+
get_facilitator_document_v1_courses__course_id__guides_facilitator__doc_id__get: {
|
|
2611
|
+
parameters: {
|
|
2612
|
+
query?: {
|
|
2613
|
+
version?: string | null;
|
|
2614
|
+
language?: string | null;
|
|
2615
|
+
};
|
|
2616
|
+
header?: {
|
|
2617
|
+
/** @description Membership the caller is acting through (from GET /v1/me) */
|
|
2618
|
+
"X-Guidistry-Context"?: string | null;
|
|
2619
|
+
};
|
|
2620
|
+
path: {
|
|
2621
|
+
course_id: string;
|
|
2622
|
+
doc_id: string;
|
|
2623
|
+
};
|
|
2624
|
+
cookie?: never;
|
|
2625
|
+
};
|
|
2626
|
+
requestBody?: never;
|
|
2627
|
+
responses: {
|
|
2628
|
+
/** @description Successful Response */
|
|
2629
|
+
200: {
|
|
2630
|
+
headers: {
|
|
2631
|
+
[name: string]: unknown;
|
|
2632
|
+
};
|
|
2633
|
+
content: {
|
|
2634
|
+
"application/json": components["schemas"]["GuideDocumentOut"];
|
|
2635
|
+
};
|
|
2636
|
+
};
|
|
2637
|
+
/** @description Validation Error */
|
|
2638
|
+
422: {
|
|
2639
|
+
headers: {
|
|
2640
|
+
[name: string]: unknown;
|
|
2641
|
+
};
|
|
2642
|
+
content: {
|
|
2643
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
2644
|
+
};
|
|
2645
|
+
};
|
|
2646
|
+
};
|
|
2647
|
+
};
|
|
2359
2648
|
list_items_v1_courses__course_id__items_get: {
|
|
2360
2649
|
parameters: {
|
|
2361
2650
|
query?: {
|
|
@@ -3406,4 +3695,90 @@ export interface operations {
|
|
|
3406
3695
|
};
|
|
3407
3696
|
};
|
|
3408
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
|
+
};
|
|
3409
3784
|
}
|