@brightoutcome/guidistry-client 0.1.1 → 0.2.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/README.md +19 -0
- package/dist/schema.d.ts +1798 -90
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -113,6 +113,187 @@ export interface paths {
|
|
|
113
113
|
patch?: never;
|
|
114
114
|
trace?: never;
|
|
115
115
|
};
|
|
116
|
+
"/v1/courses": {
|
|
117
|
+
parameters: {
|
|
118
|
+
query?: never;
|
|
119
|
+
header?: never;
|
|
120
|
+
path?: never;
|
|
121
|
+
cookie?: never;
|
|
122
|
+
};
|
|
123
|
+
/**
|
|
124
|
+
* List program templates
|
|
125
|
+
* @description Templates this context owns or has permission to see, by name.
|
|
126
|
+
*/
|
|
127
|
+
get: operations["list_courses_v1_courses_get"];
|
|
128
|
+
put?: never;
|
|
129
|
+
post?: never;
|
|
130
|
+
delete?: never;
|
|
131
|
+
options?: never;
|
|
132
|
+
head?: never;
|
|
133
|
+
patch?: never;
|
|
134
|
+
trace?: never;
|
|
135
|
+
};
|
|
136
|
+
"/v1/courses/{course_id}": {
|
|
137
|
+
parameters: {
|
|
138
|
+
query?: never;
|
|
139
|
+
header?: never;
|
|
140
|
+
path?: never;
|
|
141
|
+
cookie?: never;
|
|
142
|
+
};
|
|
143
|
+
/** Get a program template */
|
|
144
|
+
get: operations["get_course_v1_courses__course_id__get"];
|
|
145
|
+
put?: never;
|
|
146
|
+
post?: never;
|
|
147
|
+
delete?: never;
|
|
148
|
+
options?: never;
|
|
149
|
+
head?: never;
|
|
150
|
+
patch?: never;
|
|
151
|
+
trace?: never;
|
|
152
|
+
};
|
|
153
|
+
"/v1/courses/{course_id}/content": {
|
|
154
|
+
parameters: {
|
|
155
|
+
query?: never;
|
|
156
|
+
header?: never;
|
|
157
|
+
path?: never;
|
|
158
|
+
cookie?: never;
|
|
159
|
+
};
|
|
160
|
+
/** Get a program template's content */
|
|
161
|
+
get: operations["get_course_content_v1_courses__course_id__content_get"];
|
|
162
|
+
put?: never;
|
|
163
|
+
post?: never;
|
|
164
|
+
delete?: never;
|
|
165
|
+
options?: never;
|
|
166
|
+
head?: never;
|
|
167
|
+
patch?: never;
|
|
168
|
+
trace?: never;
|
|
169
|
+
};
|
|
170
|
+
"/v1/courses/{course_id}/grants": {
|
|
171
|
+
parameters: {
|
|
172
|
+
query?: never;
|
|
173
|
+
header?: never;
|
|
174
|
+
path?: never;
|
|
175
|
+
cookie?: never;
|
|
176
|
+
};
|
|
177
|
+
/** List who may use a program template */
|
|
178
|
+
get: operations["list_grants_v1_courses__course_id__grants_get"];
|
|
179
|
+
put?: never;
|
|
180
|
+
/** Give an organization or person permission to use a program template */
|
|
181
|
+
post: operations["create_grant_v1_courses__course_id__grants_post"];
|
|
182
|
+
delete?: never;
|
|
183
|
+
options?: never;
|
|
184
|
+
head?: never;
|
|
185
|
+
patch?: never;
|
|
186
|
+
trace?: never;
|
|
187
|
+
};
|
|
188
|
+
"/v1/courses/{course_id}/items": {
|
|
189
|
+
parameters: {
|
|
190
|
+
query?: never;
|
|
191
|
+
header?: never;
|
|
192
|
+
path?: never;
|
|
193
|
+
cookie?: never;
|
|
194
|
+
};
|
|
195
|
+
/** List the items of the current revision */
|
|
196
|
+
get: operations["list_items_v1_courses__course_id__items_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}/revisions": {
|
|
206
|
+
parameters: {
|
|
207
|
+
query?: never;
|
|
208
|
+
header?: never;
|
|
209
|
+
path?: never;
|
|
210
|
+
cookie?: never;
|
|
211
|
+
};
|
|
212
|
+
/** List a program template's revisions */
|
|
213
|
+
get: operations["list_revisions_v1_courses__course_id__revisions_get"];
|
|
214
|
+
put?: never;
|
|
215
|
+
post?: never;
|
|
216
|
+
delete?: never;
|
|
217
|
+
options?: never;
|
|
218
|
+
head?: never;
|
|
219
|
+
patch?: never;
|
|
220
|
+
trace?: never;
|
|
221
|
+
};
|
|
222
|
+
"/v1/courses/{course_id}/structures": {
|
|
223
|
+
parameters: {
|
|
224
|
+
query?: never;
|
|
225
|
+
header?: never;
|
|
226
|
+
path?: never;
|
|
227
|
+
cookie?: never;
|
|
228
|
+
};
|
|
229
|
+
/** List a program template's structures */
|
|
230
|
+
get: operations["list_structures_v1_courses__course_id__structures_get"];
|
|
231
|
+
put?: never;
|
|
232
|
+
post?: never;
|
|
233
|
+
delete?: never;
|
|
234
|
+
options?: never;
|
|
235
|
+
head?: never;
|
|
236
|
+
patch?: never;
|
|
237
|
+
trace?: never;
|
|
238
|
+
};
|
|
239
|
+
"/v1/courses/{course_id}/structures/{number}/approve": {
|
|
240
|
+
parameters: {
|
|
241
|
+
query?: never;
|
|
242
|
+
header?: never;
|
|
243
|
+
path?: never;
|
|
244
|
+
cookie?: never;
|
|
245
|
+
};
|
|
246
|
+
get?: never;
|
|
247
|
+
put?: never;
|
|
248
|
+
/**
|
|
249
|
+
* Approve a structural change to a template in use
|
|
250
|
+
* @description Adding, removing or moving topics of a template that a live cohort uses waits for
|
|
251
|
+
* this approval (design §6). Cohorts already running stay on their structure.
|
|
252
|
+
*/
|
|
253
|
+
post: operations["approve_structure_v1_courses__course_id__structures__number__approve_post"];
|
|
254
|
+
delete?: never;
|
|
255
|
+
options?: never;
|
|
256
|
+
head?: never;
|
|
257
|
+
patch?: never;
|
|
258
|
+
trace?: never;
|
|
259
|
+
};
|
|
260
|
+
"/v1/courses/{course_id}/syncs": {
|
|
261
|
+
parameters: {
|
|
262
|
+
query?: never;
|
|
263
|
+
header?: never;
|
|
264
|
+
path?: never;
|
|
265
|
+
cookie?: never;
|
|
266
|
+
};
|
|
267
|
+
/** Recent content syncs of a program template */
|
|
268
|
+
get: operations["list_syncs_v1_courses__course_id__syncs_get"];
|
|
269
|
+
put?: never;
|
|
270
|
+
post?: never;
|
|
271
|
+
delete?: never;
|
|
272
|
+
options?: never;
|
|
273
|
+
head?: never;
|
|
274
|
+
patch?: never;
|
|
275
|
+
trace?: never;
|
|
276
|
+
};
|
|
277
|
+
"/v1/grants/{grant_id}": {
|
|
278
|
+
parameters: {
|
|
279
|
+
query?: never;
|
|
280
|
+
header?: never;
|
|
281
|
+
path?: never;
|
|
282
|
+
cookie?: never;
|
|
283
|
+
};
|
|
284
|
+
get?: never;
|
|
285
|
+
put?: never;
|
|
286
|
+
post?: never;
|
|
287
|
+
/**
|
|
288
|
+
* Withdraw a permission
|
|
289
|
+
* @description Kept for history (revoked_at), never deleted.
|
|
290
|
+
*/
|
|
291
|
+
delete: operations["revoke_grant_v1_grants__grant_id__delete"];
|
|
292
|
+
options?: never;
|
|
293
|
+
head?: never;
|
|
294
|
+
patch?: never;
|
|
295
|
+
trace?: never;
|
|
296
|
+
};
|
|
116
297
|
"/v1/invitations": {
|
|
117
298
|
parameters: {
|
|
118
299
|
query?: never;
|
|
@@ -335,6 +516,59 @@ export interface paths {
|
|
|
335
516
|
patch?: never;
|
|
336
517
|
trace?: never;
|
|
337
518
|
};
|
|
519
|
+
"/v1/programs": {
|
|
520
|
+
parameters: {
|
|
521
|
+
query?: never;
|
|
522
|
+
header?: never;
|
|
523
|
+
path?: never;
|
|
524
|
+
cookie?: never;
|
|
525
|
+
};
|
|
526
|
+
/** List programs */
|
|
527
|
+
get: operations["list_programs_v1_programs_get"];
|
|
528
|
+
put?: never;
|
|
529
|
+
/** Create a program from a program template */
|
|
530
|
+
post: operations["create_program_v1_programs_post"];
|
|
531
|
+
delete?: never;
|
|
532
|
+
options?: never;
|
|
533
|
+
head?: never;
|
|
534
|
+
patch?: never;
|
|
535
|
+
trace?: never;
|
|
536
|
+
};
|
|
537
|
+
"/v1/programs/{program_id}": {
|
|
538
|
+
parameters: {
|
|
539
|
+
query?: never;
|
|
540
|
+
header?: never;
|
|
541
|
+
path?: never;
|
|
542
|
+
cookie?: never;
|
|
543
|
+
};
|
|
544
|
+
/** Get a program */
|
|
545
|
+
get: operations["get_program_v1_programs__program_id__get"];
|
|
546
|
+
put?: never;
|
|
547
|
+
post?: never;
|
|
548
|
+
delete?: never;
|
|
549
|
+
options?: never;
|
|
550
|
+
head?: never;
|
|
551
|
+
/** Update a program */
|
|
552
|
+
patch: operations["update_program_v1_programs__program_id__patch"];
|
|
553
|
+
trace?: never;
|
|
554
|
+
};
|
|
555
|
+
"/v1/programs/{program_id}/content": {
|
|
556
|
+
parameters: {
|
|
557
|
+
query?: never;
|
|
558
|
+
header?: never;
|
|
559
|
+
path?: never;
|
|
560
|
+
cookie?: never;
|
|
561
|
+
};
|
|
562
|
+
/** Get a program's content: its template with the program's choices applied */
|
|
563
|
+
get: operations["get_program_content_v1_programs__program_id__content_get"];
|
|
564
|
+
put?: never;
|
|
565
|
+
post?: never;
|
|
566
|
+
delete?: never;
|
|
567
|
+
options?: never;
|
|
568
|
+
head?: never;
|
|
569
|
+
patch?: never;
|
|
570
|
+
trace?: never;
|
|
571
|
+
};
|
|
338
572
|
"/v1/roles": {
|
|
339
573
|
parameters: {
|
|
340
574
|
query?: never;
|
|
@@ -442,79 +676,448 @@ export interface components {
|
|
|
442
676
|
*/
|
|
443
677
|
sso?: string | null;
|
|
444
678
|
};
|
|
445
|
-
/**
|
|
446
|
-
|
|
447
|
-
/**
|
|
448
|
-
|
|
449
|
-
/** Ok */
|
|
450
|
-
ok: boolean;
|
|
451
|
-
};
|
|
452
|
-
/** HTTPValidationError */
|
|
453
|
-
HTTPValidationError: {
|
|
454
|
-
/** Detail */
|
|
455
|
-
detail?: components["schemas"]["ValidationError"][];
|
|
456
|
-
};
|
|
457
|
-
/** InvitationAccepted */
|
|
458
|
-
InvitationAccepted: {
|
|
679
|
+
/** CalloutBlock */
|
|
680
|
+
CalloutBlock: {
|
|
681
|
+
/** Html */
|
|
682
|
+
html?: string | null;
|
|
459
683
|
/**
|
|
460
|
-
*
|
|
461
|
-
*
|
|
684
|
+
* Key
|
|
685
|
+
* Format: uuid
|
|
462
686
|
*/
|
|
463
|
-
|
|
464
|
-
/**
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
687
|
+
key: string;
|
|
688
|
+
/** Markdown */
|
|
689
|
+
markdown: string;
|
|
690
|
+
tags?: components["schemas"]["Tags"] | null;
|
|
691
|
+
/**
|
|
692
|
+
* @description discriminator enum property added by openapi-typescript
|
|
693
|
+
* @enum {string}
|
|
694
|
+
*/
|
|
695
|
+
type: "callout";
|
|
468
696
|
};
|
|
469
|
-
/**
|
|
470
|
-
|
|
697
|
+
/**
|
|
698
|
+
* CourseContent
|
|
699
|
+
* @description A whole course in one language.
|
|
700
|
+
*/
|
|
701
|
+
CourseContent: {
|
|
702
|
+
course: components["schemas"]["CourseInfo"];
|
|
703
|
+
/** Handouts */
|
|
704
|
+
handouts?: components["schemas"]["Handout"][];
|
|
705
|
+
/** Modules */
|
|
706
|
+
modules?: components["schemas"]["Module"][];
|
|
707
|
+
/** Resources */
|
|
708
|
+
resources?: components["schemas"]["Resource"][];
|
|
471
709
|
/**
|
|
472
|
-
*
|
|
473
|
-
*
|
|
710
|
+
* Schema Version
|
|
711
|
+
* @default 1
|
|
712
|
+
* @constant
|
|
474
713
|
*/
|
|
475
|
-
|
|
476
|
-
|
|
714
|
+
schema_version: 1;
|
|
715
|
+
};
|
|
716
|
+
/** CourseInfo */
|
|
717
|
+
CourseInfo: {
|
|
477
718
|
/**
|
|
478
|
-
*
|
|
479
|
-
* @description
|
|
719
|
+
* Allowed Delivery
|
|
720
|
+
* @description Empty = every method
|
|
480
721
|
*/
|
|
481
|
-
|
|
482
|
-
|
|
722
|
+
allowed_delivery?: ("time_locked" | "completion" | "open" | "triggered" | "participant_choice")[];
|
|
723
|
+
/** Code */
|
|
724
|
+
code?: string | null;
|
|
725
|
+
/** Condition */
|
|
726
|
+
condition?: string | null;
|
|
727
|
+
/** Description */
|
|
728
|
+
description?: string | null;
|
|
729
|
+
/** Developer Name */
|
|
730
|
+
developer_name?: string | null;
|
|
731
|
+
/** Developer Org */
|
|
732
|
+
developer_org?: string | null;
|
|
733
|
+
/** Domains */
|
|
734
|
+
domains?: string[];
|
|
483
735
|
/**
|
|
484
|
-
*
|
|
485
|
-
* @description
|
|
736
|
+
* History
|
|
737
|
+
* @description Free text: where this course came from
|
|
486
738
|
*/
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
InvitationOut: {
|
|
739
|
+
history?: string | null;
|
|
740
|
+
/** Intended Uses */
|
|
741
|
+
intended_uses?: ("clinical" | "research" | "wellness")[];
|
|
491
742
|
/**
|
|
492
|
-
*
|
|
493
|
-
*
|
|
743
|
+
* Language
|
|
744
|
+
* @default en
|
|
494
745
|
*/
|
|
495
|
-
|
|
496
|
-
/**
|
|
497
|
-
|
|
746
|
+
language: string;
|
|
747
|
+
/** Levels */
|
|
748
|
+
levels: components["schemas"]["Level"][];
|
|
749
|
+
/** Name */
|
|
750
|
+
name: string;
|
|
498
751
|
/**
|
|
499
|
-
*
|
|
500
|
-
*
|
|
752
|
+
* Slug
|
|
753
|
+
* @description Stable identifier; names the content file
|
|
501
754
|
*/
|
|
502
|
-
|
|
755
|
+
slug: string;
|
|
503
756
|
/**
|
|
504
|
-
*
|
|
505
|
-
*
|
|
757
|
+
* Staff Notes
|
|
758
|
+
* @description Staff only (Markdown); never sent to participants
|
|
506
759
|
*/
|
|
507
|
-
|
|
760
|
+
staff_notes?: string | null;
|
|
761
|
+
/** Switches */
|
|
762
|
+
switches?: components["schemas"]["Switch"][];
|
|
763
|
+
/** Versions */
|
|
764
|
+
versions?: components["schemas"]["Version"][];
|
|
765
|
+
};
|
|
766
|
+
/** CourseItemOut */
|
|
767
|
+
CourseItemOut: {
|
|
508
768
|
/**
|
|
509
|
-
*
|
|
769
|
+
* Key
|
|
510
770
|
* Format: uuid
|
|
511
771
|
*/
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
772
|
+
key: string;
|
|
773
|
+
/** Kind */
|
|
774
|
+
kind: string;
|
|
775
|
+
/** Parent Key */
|
|
776
|
+
parent_key: string | null;
|
|
777
|
+
/** Prework Type */
|
|
778
|
+
prework_type: string | null;
|
|
779
|
+
/** Required */
|
|
780
|
+
required: boolean | null;
|
|
781
|
+
/** Sequence */
|
|
782
|
+
sequence: number;
|
|
783
|
+
/** Tags */
|
|
784
|
+
tags: {
|
|
785
|
+
[key: string]: unknown;
|
|
786
|
+
} | null;
|
|
787
|
+
/** Target */
|
|
788
|
+
target: {
|
|
789
|
+
[key: string]: unknown;
|
|
790
|
+
} | null;
|
|
791
|
+
/** Title */
|
|
792
|
+
title: string | null;
|
|
516
793
|
};
|
|
517
|
-
/**
|
|
794
|
+
/**
|
|
795
|
+
* CourseOut
|
|
796
|
+
* @description A program template (clinical screens) / course (research screens).
|
|
797
|
+
*/
|
|
798
|
+
CourseOut: {
|
|
799
|
+
/** Code */
|
|
800
|
+
code: string | null;
|
|
801
|
+
/** Condition */
|
|
802
|
+
condition: string | null;
|
|
803
|
+
/**
|
|
804
|
+
* Current Version
|
|
805
|
+
* @description e.g. "v1.3": structure 1, revision 3
|
|
806
|
+
*/
|
|
807
|
+
current_version: string | null;
|
|
808
|
+
/** Description */
|
|
809
|
+
description: string | null;
|
|
810
|
+
/** Edit Source */
|
|
811
|
+
edit_source: string;
|
|
812
|
+
/**
|
|
813
|
+
* Id
|
|
814
|
+
* Format: uuid
|
|
815
|
+
*/
|
|
816
|
+
id: string;
|
|
817
|
+
/** Languages */
|
|
818
|
+
languages: string[];
|
|
819
|
+
/** Levels */
|
|
820
|
+
levels: components["schemas"]["Level"][];
|
|
821
|
+
/**
|
|
822
|
+
* Lifecycle
|
|
823
|
+
* @enum {string}
|
|
824
|
+
*/
|
|
825
|
+
lifecycle: "in_development" | "in_use";
|
|
826
|
+
/** Name */
|
|
827
|
+
name: string;
|
|
828
|
+
/**
|
|
829
|
+
* Owner Id
|
|
830
|
+
* Format: uuid
|
|
831
|
+
*/
|
|
832
|
+
owner_id: string;
|
|
833
|
+
/** Owner Level */
|
|
834
|
+
owner_level: string;
|
|
835
|
+
/** Primary Language */
|
|
836
|
+
primary_language: string;
|
|
837
|
+
/**
|
|
838
|
+
* Rights
|
|
839
|
+
* @description What the caller's context may do with it
|
|
840
|
+
*/
|
|
841
|
+
rights: ("view" | "use" | "adapt" | "edit")[];
|
|
842
|
+
/** Slug */
|
|
843
|
+
slug: string;
|
|
844
|
+
/** Status */
|
|
845
|
+
status: string;
|
|
846
|
+
/** Switches */
|
|
847
|
+
switches: components["schemas"]["SwitchOut"][];
|
|
848
|
+
/**
|
|
849
|
+
* Updated At
|
|
850
|
+
* Format: date-time
|
|
851
|
+
*/
|
|
852
|
+
updated_at: string;
|
|
853
|
+
/** Versions */
|
|
854
|
+
versions: components["schemas"]["VersionOut"][];
|
|
855
|
+
};
|
|
856
|
+
/** CourseRef */
|
|
857
|
+
CourseRef: {
|
|
858
|
+
/**
|
|
859
|
+
* Id
|
|
860
|
+
* Format: uuid
|
|
861
|
+
*/
|
|
862
|
+
id: string;
|
|
863
|
+
/** Name */
|
|
864
|
+
name: string;
|
|
865
|
+
/** Slug */
|
|
866
|
+
slug: string;
|
|
867
|
+
};
|
|
868
|
+
/** CourseSyncOut */
|
|
869
|
+
CourseSyncOut: {
|
|
870
|
+
/**
|
|
871
|
+
* Created At
|
|
872
|
+
* Format: date-time
|
|
873
|
+
*/
|
|
874
|
+
created_at: string;
|
|
875
|
+
/** File Path */
|
|
876
|
+
file_path: string;
|
|
877
|
+
/** Id */
|
|
878
|
+
id: number;
|
|
879
|
+
/** Report */
|
|
880
|
+
report: {
|
|
881
|
+
[key: string]: unknown;
|
|
882
|
+
};
|
|
883
|
+
/**
|
|
884
|
+
* Result
|
|
885
|
+
* @enum {string}
|
|
886
|
+
*/
|
|
887
|
+
result: "published" | "unchanged" | "needs_approval" | "rejected";
|
|
888
|
+
/** Source */
|
|
889
|
+
source: string;
|
|
890
|
+
};
|
|
891
|
+
/** DependencyStatus */
|
|
892
|
+
DependencyStatus: {
|
|
893
|
+
/** Detail */
|
|
894
|
+
detail?: string | null;
|
|
895
|
+
/** Ok */
|
|
896
|
+
ok: boolean;
|
|
897
|
+
};
|
|
898
|
+
/**
|
|
899
|
+
* FormField
|
|
900
|
+
* @description One answer field. Shared by question blocks and practice forms.
|
|
901
|
+
*/
|
|
902
|
+
FormField: {
|
|
903
|
+
/** Anchors */
|
|
904
|
+
anchors?: string[] | null;
|
|
905
|
+
/**
|
|
906
|
+
* Key
|
|
907
|
+
* Format: uuid
|
|
908
|
+
*/
|
|
909
|
+
key: string;
|
|
910
|
+
/**
|
|
911
|
+
* Kind
|
|
912
|
+
* @enum {string}
|
|
913
|
+
*/
|
|
914
|
+
kind: "long_text" | "short_text" | "single_choice" | "multi_choice" | "scale" | "date";
|
|
915
|
+
/** Label */
|
|
916
|
+
label: string;
|
|
917
|
+
/** Max */
|
|
918
|
+
max?: number | null;
|
|
919
|
+
/** Min */
|
|
920
|
+
min?: number | null;
|
|
921
|
+
/** Options */
|
|
922
|
+
options?: string[] | null;
|
|
923
|
+
/**
|
|
924
|
+
* Required
|
|
925
|
+
* @default false
|
|
926
|
+
*/
|
|
927
|
+
required: boolean;
|
|
928
|
+
/** Rows */
|
|
929
|
+
rows?: number | null;
|
|
930
|
+
};
|
|
931
|
+
/** GrantCreate */
|
|
932
|
+
GrantCreate: {
|
|
933
|
+
/** Ends At */
|
|
934
|
+
ends_at?: string | null;
|
|
935
|
+
/** Grantee Id */
|
|
936
|
+
grantee_id?: string | null;
|
|
937
|
+
/**
|
|
938
|
+
* Grantee Type
|
|
939
|
+
* @enum {string}
|
|
940
|
+
*/
|
|
941
|
+
grantee_type: "org_unit" | "person" | "everyone";
|
|
942
|
+
/**
|
|
943
|
+
* Include Subunits
|
|
944
|
+
* @default true
|
|
945
|
+
*/
|
|
946
|
+
include_subunits: boolean;
|
|
947
|
+
/** License Ref */
|
|
948
|
+
license_ref?: string | null;
|
|
949
|
+
/** Rights */
|
|
950
|
+
rights: ("view" | "use" | "adapt" | "edit")[];
|
|
951
|
+
/** Starts At */
|
|
952
|
+
starts_at?: string | null;
|
|
953
|
+
};
|
|
954
|
+
/**
|
|
955
|
+
* GrantOut
|
|
956
|
+
* @description A permission on a course: who may view, use, adapt or edit it.
|
|
957
|
+
*/
|
|
958
|
+
GrantOut: {
|
|
959
|
+
/**
|
|
960
|
+
* Created At
|
|
961
|
+
* Format: date-time
|
|
962
|
+
*/
|
|
963
|
+
created_at: string;
|
|
964
|
+
/** Ends At */
|
|
965
|
+
ends_at: string | null;
|
|
966
|
+
/** Grantee Id */
|
|
967
|
+
grantee_id: string | null;
|
|
968
|
+
/** Grantee Type */
|
|
969
|
+
grantee_type: string;
|
|
970
|
+
/**
|
|
971
|
+
* Id
|
|
972
|
+
* Format: uuid
|
|
973
|
+
*/
|
|
974
|
+
id: string;
|
|
975
|
+
/** Include Subunits */
|
|
976
|
+
include_subunits: boolean;
|
|
977
|
+
/** License Ref */
|
|
978
|
+
license_ref: string | null;
|
|
979
|
+
/** Revoked At */
|
|
980
|
+
revoked_at: string | null;
|
|
981
|
+
/** Rights */
|
|
982
|
+
rights: ("view" | "use" | "adapt" | "edit")[];
|
|
983
|
+
/** Starts At */
|
|
984
|
+
starts_at: string | null;
|
|
985
|
+
};
|
|
986
|
+
/** HTTPValidationError */
|
|
987
|
+
HTTPValidationError: {
|
|
988
|
+
/** Detail */
|
|
989
|
+
detail?: components["schemas"]["ValidationError"][];
|
|
990
|
+
};
|
|
991
|
+
/** Handout */
|
|
992
|
+
Handout: {
|
|
993
|
+
/** Blocks */
|
|
994
|
+
blocks?: (components["schemas"]["TextBlock"] | components["schemas"]["CalloutBlock"] | components["schemas"]["ImageBlock"] | components["schemas"]["ResourceBlock"] | components["schemas"]["HandoutLinkBlock"] | components["schemas"]["LayoutBlock"] | components["schemas"]["QuestionBlock"] | components["schemas"]["VariantsBlock"])[];
|
|
995
|
+
/**
|
|
996
|
+
* Dropcap
|
|
997
|
+
* @default false
|
|
998
|
+
*/
|
|
999
|
+
dropcap: boolean;
|
|
1000
|
+
/**
|
|
1001
|
+
* Key
|
|
1002
|
+
* Format: uuid
|
|
1003
|
+
*/
|
|
1004
|
+
key: string;
|
|
1005
|
+
/** @description The original PDF it was checked against */
|
|
1006
|
+
source?: components["schemas"]["MediaRef"] | null;
|
|
1007
|
+
/** Subtitle */
|
|
1008
|
+
subtitle?: string | null;
|
|
1009
|
+
tags?: components["schemas"]["Tags"] | null;
|
|
1010
|
+
/** Title */
|
|
1011
|
+
title: string;
|
|
1012
|
+
};
|
|
1013
|
+
/** HandoutLinkBlock */
|
|
1014
|
+
HandoutLinkBlock: {
|
|
1015
|
+
/**
|
|
1016
|
+
* Handout Key
|
|
1017
|
+
* Format: uuid
|
|
1018
|
+
*/
|
|
1019
|
+
handout_key: string;
|
|
1020
|
+
/**
|
|
1021
|
+
* Key
|
|
1022
|
+
* Format: uuid
|
|
1023
|
+
*/
|
|
1024
|
+
key: string;
|
|
1025
|
+
tags?: components["schemas"]["Tags"] | null;
|
|
1026
|
+
/** Title */
|
|
1027
|
+
title?: string | null;
|
|
1028
|
+
/**
|
|
1029
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1030
|
+
* @enum {string}
|
|
1031
|
+
*/
|
|
1032
|
+
type: "handout_link";
|
|
1033
|
+
};
|
|
1034
|
+
/** ImageBlock */
|
|
1035
|
+
ImageBlock: {
|
|
1036
|
+
/**
|
|
1037
|
+
* Alt
|
|
1038
|
+
* @description Alternative text (required for accessibility)
|
|
1039
|
+
*/
|
|
1040
|
+
alt: string;
|
|
1041
|
+
/** Caption */
|
|
1042
|
+
caption?: string | null;
|
|
1043
|
+
/** Credit */
|
|
1044
|
+
credit?: string | null;
|
|
1045
|
+
/**
|
|
1046
|
+
* Key
|
|
1047
|
+
* Format: uuid
|
|
1048
|
+
*/
|
|
1049
|
+
key: string;
|
|
1050
|
+
media: components["schemas"]["MediaRef"];
|
|
1051
|
+
/** Size */
|
|
1052
|
+
size?: ("hero" | "original" | "small") | null;
|
|
1053
|
+
tags?: components["schemas"]["Tags"] | null;
|
|
1054
|
+
/**
|
|
1055
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1056
|
+
* @enum {string}
|
|
1057
|
+
*/
|
|
1058
|
+
type: "image";
|
|
1059
|
+
};
|
|
1060
|
+
/** InvitationAccepted */
|
|
1061
|
+
InvitationAccepted: {
|
|
1062
|
+
/**
|
|
1063
|
+
* Email
|
|
1064
|
+
* @description Sign in with this email (one-time code, passkey or password)
|
|
1065
|
+
*/
|
|
1066
|
+
email: string;
|
|
1067
|
+
/** Organization */
|
|
1068
|
+
organization: string;
|
|
1069
|
+
/** Role */
|
|
1070
|
+
role: string;
|
|
1071
|
+
};
|
|
1072
|
+
/** InvitationCreate */
|
|
1073
|
+
InvitationCreate: {
|
|
1074
|
+
/**
|
|
1075
|
+
* Email
|
|
1076
|
+
* Format: email
|
|
1077
|
+
*/
|
|
1078
|
+
email: string;
|
|
1079
|
+
names?: components["schemas"]["Names"];
|
|
1080
|
+
/**
|
|
1081
|
+
* Org Unit Id
|
|
1082
|
+
* @description Defaults to the context's unit
|
|
1083
|
+
*/
|
|
1084
|
+
org_unit_id?: string | null;
|
|
1085
|
+
professional?: components["schemas"]["ProfessionalProfileIn"] | null;
|
|
1086
|
+
/**
|
|
1087
|
+
* Role
|
|
1088
|
+
* @description Role code, e.g. provider, care_team, patient
|
|
1089
|
+
*/
|
|
1090
|
+
role: string;
|
|
1091
|
+
};
|
|
1092
|
+
/** InvitationOut */
|
|
1093
|
+
InvitationOut: {
|
|
1094
|
+
/**
|
|
1095
|
+
* Created At
|
|
1096
|
+
* Format: date-time
|
|
1097
|
+
*/
|
|
1098
|
+
created_at: string;
|
|
1099
|
+
/** Email */
|
|
1100
|
+
email: string;
|
|
1101
|
+
/**
|
|
1102
|
+
* Expires At
|
|
1103
|
+
* Format: date-time
|
|
1104
|
+
*/
|
|
1105
|
+
expires_at: string;
|
|
1106
|
+
/**
|
|
1107
|
+
* Id
|
|
1108
|
+
* Format: uuid
|
|
1109
|
+
*/
|
|
1110
|
+
id: string;
|
|
1111
|
+
/**
|
|
1112
|
+
* Org Unit Id
|
|
1113
|
+
* Format: uuid
|
|
1114
|
+
*/
|
|
1115
|
+
org_unit_id: string;
|
|
1116
|
+
role: components["schemas"]["RoleOut"];
|
|
1117
|
+
/** Status */
|
|
1118
|
+
status: string;
|
|
1119
|
+
};
|
|
1120
|
+
/** InvitationPreview */
|
|
518
1121
|
InvitationPreview: {
|
|
519
1122
|
/**
|
|
520
1123
|
* Email Hint
|
|
@@ -533,6 +1136,52 @@ export interface components {
|
|
|
533
1136
|
/** Status */
|
|
534
1137
|
status: string;
|
|
535
1138
|
};
|
|
1139
|
+
/**
|
|
1140
|
+
* LayoutBlock
|
|
1141
|
+
* @description A named handout layout (acrostic, pyramid, cycle, …) with its lines.
|
|
1142
|
+
*/
|
|
1143
|
+
LayoutBlock: {
|
|
1144
|
+
/**
|
|
1145
|
+
* From Picture
|
|
1146
|
+
* @description Words transcribed from a picture
|
|
1147
|
+
* @default false
|
|
1148
|
+
*/
|
|
1149
|
+
from_picture: boolean;
|
|
1150
|
+
/**
|
|
1151
|
+
* Hidden
|
|
1152
|
+
* @description Kept for the record, not shown
|
|
1153
|
+
* @default false
|
|
1154
|
+
*/
|
|
1155
|
+
hidden: boolean;
|
|
1156
|
+
/**
|
|
1157
|
+
* Key
|
|
1158
|
+
* Format: uuid
|
|
1159
|
+
*/
|
|
1160
|
+
key: string;
|
|
1161
|
+
/** Layout */
|
|
1162
|
+
layout: string;
|
|
1163
|
+
/** Lines */
|
|
1164
|
+
lines: string[];
|
|
1165
|
+
tags?: components["schemas"]["Tags"] | null;
|
|
1166
|
+
/**
|
|
1167
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1168
|
+
* @enum {string}
|
|
1169
|
+
*/
|
|
1170
|
+
type: "layout";
|
|
1171
|
+
};
|
|
1172
|
+
/** Level */
|
|
1173
|
+
Level: {
|
|
1174
|
+
/**
|
|
1175
|
+
* Key
|
|
1176
|
+
* @enum {string}
|
|
1177
|
+
*/
|
|
1178
|
+
key: "module" | "topic" | "section";
|
|
1179
|
+
/**
|
|
1180
|
+
* Label
|
|
1181
|
+
* @description What this course calls it
|
|
1182
|
+
*/
|
|
1183
|
+
label: string;
|
|
1184
|
+
};
|
|
536
1185
|
/** LiveResponse */
|
|
537
1186
|
LiveResponse: {
|
|
538
1187
|
/**
|
|
@@ -575,6 +1224,41 @@ export interface components {
|
|
|
575
1224
|
*/
|
|
576
1225
|
person_id: string;
|
|
577
1226
|
};
|
|
1227
|
+
/**
|
|
1228
|
+
* MediaRef
|
|
1229
|
+
* @description A file or link. Stored content uses ``asset_id`` or ``url``; repository files use
|
|
1230
|
+
* ``file`` (a path in the repository), which the content sync replaces with ``asset_id``.
|
|
1231
|
+
*/
|
|
1232
|
+
MediaRef: {
|
|
1233
|
+
/** Asset Id */
|
|
1234
|
+
asset_id?: string | null;
|
|
1235
|
+
/**
|
|
1236
|
+
* File
|
|
1237
|
+
* @description Repository path (content files only)
|
|
1238
|
+
*/
|
|
1239
|
+
file?: string | null;
|
|
1240
|
+
/**
|
|
1241
|
+
* Kind
|
|
1242
|
+
* @enum {string}
|
|
1243
|
+
*/
|
|
1244
|
+
kind: "image" | "audio" | "video" | "pdf" | "document" | "link";
|
|
1245
|
+
/**
|
|
1246
|
+
* Original Filename
|
|
1247
|
+
* @description Name the curriculum cites
|
|
1248
|
+
*/
|
|
1249
|
+
original_filename?: string | null;
|
|
1250
|
+
/** Signed Url */
|
|
1251
|
+
signed_url?: string | null;
|
|
1252
|
+
/** Title */
|
|
1253
|
+
title?: string | null;
|
|
1254
|
+
/** Transcript */
|
|
1255
|
+
transcript?: string | null;
|
|
1256
|
+
/**
|
|
1257
|
+
* Url
|
|
1258
|
+
* @description External link (YouTube, Vimeo, website)
|
|
1259
|
+
*/
|
|
1260
|
+
url?: string | null;
|
|
1261
|
+
};
|
|
578
1262
|
/** MembershipOut */
|
|
579
1263
|
MembershipOut: {
|
|
580
1264
|
/** Ends At */
|
|
@@ -603,6 +1287,31 @@ export interface components {
|
|
|
603
1287
|
/** Status */
|
|
604
1288
|
status?: ("active" | "suspended" | "ended") | null;
|
|
605
1289
|
};
|
|
1290
|
+
/** Module */
|
|
1291
|
+
Module: {
|
|
1292
|
+
/** Description */
|
|
1293
|
+
description?: string | null;
|
|
1294
|
+
/**
|
|
1295
|
+
* Key
|
|
1296
|
+
* Format: uuid
|
|
1297
|
+
*/
|
|
1298
|
+
key: string;
|
|
1299
|
+
/** Objectives */
|
|
1300
|
+
objectives?: string[];
|
|
1301
|
+
/** Practices */
|
|
1302
|
+
practices?: components["schemas"]["Practice"][];
|
|
1303
|
+
/** Prompts */
|
|
1304
|
+
prompts?: components["schemas"]["Prompt"][];
|
|
1305
|
+
/** Resources */
|
|
1306
|
+
resources?: components["schemas"]["Resource"][];
|
|
1307
|
+
/** Staff Notes */
|
|
1308
|
+
staff_notes?: string | null;
|
|
1309
|
+
tags?: components["schemas"]["Tags"] | null;
|
|
1310
|
+
/** Title */
|
|
1311
|
+
title: string;
|
|
1312
|
+
/** Topics */
|
|
1313
|
+
topics?: components["schemas"]["Topic"][];
|
|
1314
|
+
};
|
|
606
1315
|
/** Names */
|
|
607
1316
|
Names: {
|
|
608
1317
|
/** Family */
|
|
@@ -712,6 +1421,57 @@ export interface components {
|
|
|
712
1421
|
names?: components["schemas"]["Names"] | null;
|
|
713
1422
|
professional?: components["schemas"]["ProfessionalProfileIn"] | null;
|
|
714
1423
|
};
|
|
1424
|
+
/** Practice */
|
|
1425
|
+
Practice: {
|
|
1426
|
+
/**
|
|
1427
|
+
* Attached To
|
|
1428
|
+
* @description Topic key; None = the module
|
|
1429
|
+
*/
|
|
1430
|
+
attached_to?: string | null;
|
|
1431
|
+
/** Description */
|
|
1432
|
+
description?: string | null;
|
|
1433
|
+
form?: components["schemas"]["PracticeForm"] | null;
|
|
1434
|
+
/** Instruction */
|
|
1435
|
+
instruction?: string | null;
|
|
1436
|
+
/**
|
|
1437
|
+
* Key
|
|
1438
|
+
* Format: uuid
|
|
1439
|
+
*/
|
|
1440
|
+
key: string;
|
|
1441
|
+
/** Media */
|
|
1442
|
+
media?: components["schemas"]["PracticeMedia"][];
|
|
1443
|
+
/**
|
|
1444
|
+
* Practice Type
|
|
1445
|
+
* @enum {string}
|
|
1446
|
+
*/
|
|
1447
|
+
practice_type: "audio" | "video" | "written";
|
|
1448
|
+
/** Required */
|
|
1449
|
+
required?: boolean | null;
|
|
1450
|
+
tags?: components["schemas"]["Tags"] | null;
|
|
1451
|
+
target?: components["schemas"]["Target"] | null;
|
|
1452
|
+
/** Title */
|
|
1453
|
+
title: string;
|
|
1454
|
+
};
|
|
1455
|
+
/** PracticeForm */
|
|
1456
|
+
PracticeForm: {
|
|
1457
|
+
/** Fields */
|
|
1458
|
+
fields: components["schemas"]["FormField"][];
|
|
1459
|
+
/**
|
|
1460
|
+
* Intro
|
|
1461
|
+
* @description Markdown shown above the fields
|
|
1462
|
+
*/
|
|
1463
|
+
intro?: string | null;
|
|
1464
|
+
};
|
|
1465
|
+
/** PracticeMedia */
|
|
1466
|
+
PracticeMedia: {
|
|
1467
|
+
/**
|
|
1468
|
+
* Key
|
|
1469
|
+
* Format: uuid
|
|
1470
|
+
*/
|
|
1471
|
+
key: string;
|
|
1472
|
+
media: components["schemas"]["MediaRef"];
|
|
1473
|
+
tags?: components["schemas"]["Tags"] | null;
|
|
1474
|
+
};
|
|
715
1475
|
/**
|
|
716
1476
|
* Principal
|
|
717
1477
|
* @description The signed-in caller, as Cognito vouches for them.
|
|
@@ -750,9 +1510,144 @@ export interface components {
|
|
|
750
1510
|
/** Title */
|
|
751
1511
|
title?: string | null;
|
|
752
1512
|
};
|
|
753
|
-
/**
|
|
754
|
-
|
|
755
|
-
|
|
1513
|
+
/** ProgramCreate */
|
|
1514
|
+
ProgramCreate: {
|
|
1515
|
+
/**
|
|
1516
|
+
* Course Id
|
|
1517
|
+
* Format: uuid
|
|
1518
|
+
*/
|
|
1519
|
+
course_id: string;
|
|
1520
|
+
/** Name */
|
|
1521
|
+
name: string;
|
|
1522
|
+
/**
|
|
1523
|
+
* Org Unit Id
|
|
1524
|
+
* @description Defaults to the context's unit
|
|
1525
|
+
*/
|
|
1526
|
+
org_unit_id?: string | null;
|
|
1527
|
+
/**
|
|
1528
|
+
* Version Key
|
|
1529
|
+
* @description One of the template's versions; omit for a template without versions
|
|
1530
|
+
*/
|
|
1531
|
+
version_key?: string | null;
|
|
1532
|
+
};
|
|
1533
|
+
/**
|
|
1534
|
+
* ProgramOut
|
|
1535
|
+
* @description A practice's offering: its name, and the program template it uses with which version.
|
|
1536
|
+
*/
|
|
1537
|
+
ProgramOut: {
|
|
1538
|
+
course: components["schemas"]["CourseRef"];
|
|
1539
|
+
/**
|
|
1540
|
+
* Created At
|
|
1541
|
+
* Format: date-time
|
|
1542
|
+
*/
|
|
1543
|
+
created_at: string;
|
|
1544
|
+
/** Current Version */
|
|
1545
|
+
current_version: string | null;
|
|
1546
|
+
/** Excluded Keys */
|
|
1547
|
+
excluded_keys: string[];
|
|
1548
|
+
/**
|
|
1549
|
+
* Id
|
|
1550
|
+
* Format: uuid
|
|
1551
|
+
*/
|
|
1552
|
+
id: string;
|
|
1553
|
+
/** Level Labels */
|
|
1554
|
+
level_labels: {
|
|
1555
|
+
[key: string]: string;
|
|
1556
|
+
};
|
|
1557
|
+
/** Name */
|
|
1558
|
+
name: string;
|
|
1559
|
+
/**
|
|
1560
|
+
* Org Unit Id
|
|
1561
|
+
* Format: uuid
|
|
1562
|
+
*/
|
|
1563
|
+
org_unit_id: string;
|
|
1564
|
+
/** Status */
|
|
1565
|
+
status: string;
|
|
1566
|
+
/** Switch Values */
|
|
1567
|
+
switch_values: {
|
|
1568
|
+
[key: string]: boolean;
|
|
1569
|
+
};
|
|
1570
|
+
/** Version Key */
|
|
1571
|
+
version_key: string | null;
|
|
1572
|
+
};
|
|
1573
|
+
/** ProgramUpdate */
|
|
1574
|
+
ProgramUpdate: {
|
|
1575
|
+
/**
|
|
1576
|
+
* Excluded Keys
|
|
1577
|
+
* @description Topics (or other items) this program leaves out
|
|
1578
|
+
*/
|
|
1579
|
+
excluded_keys?: string[] | null;
|
|
1580
|
+
/** Name */
|
|
1581
|
+
name?: string | null;
|
|
1582
|
+
/** Status */
|
|
1583
|
+
status?: ("active" | "archived") | null;
|
|
1584
|
+
/** Version Key */
|
|
1585
|
+
version_key?: string | null;
|
|
1586
|
+
};
|
|
1587
|
+
/** Prompt */
|
|
1588
|
+
Prompt: {
|
|
1589
|
+
/**
|
|
1590
|
+
* Key
|
|
1591
|
+
* Format: uuid
|
|
1592
|
+
*/
|
|
1593
|
+
key: string;
|
|
1594
|
+
/** Markdown */
|
|
1595
|
+
markdown: string;
|
|
1596
|
+
/**
|
|
1597
|
+
* Prompt Type
|
|
1598
|
+
* @enum {string}
|
|
1599
|
+
*/
|
|
1600
|
+
prompt_type: "community" | "journal";
|
|
1601
|
+
tags?: components["schemas"]["Tags"] | null;
|
|
1602
|
+
/** Title */
|
|
1603
|
+
title: string;
|
|
1604
|
+
};
|
|
1605
|
+
/**
|
|
1606
|
+
* QuestionBlock
|
|
1607
|
+
* @description A question answered in place (design §5.8). Reserved: no January course uses it.
|
|
1608
|
+
*/
|
|
1609
|
+
QuestionBlock: {
|
|
1610
|
+
/**
|
|
1611
|
+
* Correct
|
|
1612
|
+
* @description Makes it a quiz question
|
|
1613
|
+
*/
|
|
1614
|
+
correct?: string[] | null;
|
|
1615
|
+
/** Explanation */
|
|
1616
|
+
explanation?: string | null;
|
|
1617
|
+
field: components["schemas"]["FormField"];
|
|
1618
|
+
/**
|
|
1619
|
+
* Key
|
|
1620
|
+
* Format: uuid
|
|
1621
|
+
*/
|
|
1622
|
+
key: string;
|
|
1623
|
+
/**
|
|
1624
|
+
* Prefill Previous
|
|
1625
|
+
* @default true
|
|
1626
|
+
*/
|
|
1627
|
+
prefill_previous: boolean;
|
|
1628
|
+
/** Prompt */
|
|
1629
|
+
prompt: string;
|
|
1630
|
+
/**
|
|
1631
|
+
* Required
|
|
1632
|
+
* @default false
|
|
1633
|
+
*/
|
|
1634
|
+
required: boolean;
|
|
1635
|
+
tags?: components["schemas"]["Tags"] | null;
|
|
1636
|
+
/**
|
|
1637
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1638
|
+
* @enum {string}
|
|
1639
|
+
*/
|
|
1640
|
+
type: "question";
|
|
1641
|
+
/**
|
|
1642
|
+
* Visibility
|
|
1643
|
+
* @default private
|
|
1644
|
+
* @enum {string}
|
|
1645
|
+
*/
|
|
1646
|
+
visibility: "private" | "care_team" | "community";
|
|
1647
|
+
};
|
|
1648
|
+
/** ReadyResponse */
|
|
1649
|
+
ReadyResponse: {
|
|
1650
|
+
database: components["schemas"]["DependencyStatus"];
|
|
756
1651
|
/** Environment */
|
|
757
1652
|
environment: string;
|
|
758
1653
|
epmws: components["schemas"]["DependencyStatus"];
|
|
@@ -764,6 +1659,84 @@ export interface components {
|
|
|
764
1659
|
/** Version */
|
|
765
1660
|
version: string;
|
|
766
1661
|
};
|
|
1662
|
+
/** Resource */
|
|
1663
|
+
Resource: {
|
|
1664
|
+
/** Category */
|
|
1665
|
+
category?: string | null;
|
|
1666
|
+
/** Handout Key */
|
|
1667
|
+
handout_key?: string | null;
|
|
1668
|
+
/**
|
|
1669
|
+
* Key
|
|
1670
|
+
* Format: uuid
|
|
1671
|
+
*/
|
|
1672
|
+
key: string;
|
|
1673
|
+
/**
|
|
1674
|
+
* Languages
|
|
1675
|
+
* @description Only in these languages
|
|
1676
|
+
*/
|
|
1677
|
+
languages?: string[] | null;
|
|
1678
|
+
media?: components["schemas"]["MediaRef"] | null;
|
|
1679
|
+
tags?: components["schemas"]["Tags"] | null;
|
|
1680
|
+
/** Title */
|
|
1681
|
+
title: string;
|
|
1682
|
+
};
|
|
1683
|
+
/**
|
|
1684
|
+
* ResourceBlock
|
|
1685
|
+
* @description Something opened, played or downloaded: audio, video, PDF or Word file, link.
|
|
1686
|
+
*/
|
|
1687
|
+
ResourceBlock: {
|
|
1688
|
+
/**
|
|
1689
|
+
* Key
|
|
1690
|
+
* Format: uuid
|
|
1691
|
+
*/
|
|
1692
|
+
key: string;
|
|
1693
|
+
/**
|
|
1694
|
+
* Label
|
|
1695
|
+
* @description Shown kind, e.g. "Video", "Handout (PDF)"
|
|
1696
|
+
*/
|
|
1697
|
+
label?: string | null;
|
|
1698
|
+
media: components["schemas"]["MediaRef"];
|
|
1699
|
+
tags?: components["schemas"]["Tags"] | null;
|
|
1700
|
+
/** Title */
|
|
1701
|
+
title: string;
|
|
1702
|
+
/**
|
|
1703
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1704
|
+
* @enum {string}
|
|
1705
|
+
*/
|
|
1706
|
+
type: "resource";
|
|
1707
|
+
};
|
|
1708
|
+
/** RevisionOut */
|
|
1709
|
+
RevisionOut: {
|
|
1710
|
+
/** Change Note */
|
|
1711
|
+
change_note: string | null;
|
|
1712
|
+
/**
|
|
1713
|
+
* Id
|
|
1714
|
+
* Format: uuid
|
|
1715
|
+
*/
|
|
1716
|
+
id: string;
|
|
1717
|
+
/** Language */
|
|
1718
|
+
language: string;
|
|
1719
|
+
/** Number */
|
|
1720
|
+
number: number;
|
|
1721
|
+
/**
|
|
1722
|
+
* Published At
|
|
1723
|
+
* Format: date-time
|
|
1724
|
+
*/
|
|
1725
|
+
published_at: string;
|
|
1726
|
+
/** Published By */
|
|
1727
|
+
published_by: string;
|
|
1728
|
+
/** Source */
|
|
1729
|
+
source: string;
|
|
1730
|
+
/**
|
|
1731
|
+
* Status
|
|
1732
|
+
* @enum {string}
|
|
1733
|
+
*/
|
|
1734
|
+
status: "published" | "pending";
|
|
1735
|
+
/** Structure Number */
|
|
1736
|
+
structure_number: number;
|
|
1737
|
+
/** Version */
|
|
1738
|
+
version: string;
|
|
1739
|
+
};
|
|
767
1740
|
/** RoleOut */
|
|
768
1741
|
RoleOut: {
|
|
769
1742
|
/** Code */
|
|
@@ -782,6 +1755,19 @@ export interface components {
|
|
|
782
1755
|
/** Permissions */
|
|
783
1756
|
permissions: string[];
|
|
784
1757
|
};
|
|
1758
|
+
/** Section */
|
|
1759
|
+
Section: {
|
|
1760
|
+
/** Blocks */
|
|
1761
|
+
blocks?: (components["schemas"]["TextBlock"] | components["schemas"]["CalloutBlock"] | components["schemas"]["ImageBlock"] | components["schemas"]["ResourceBlock"] | components["schemas"]["HandoutLinkBlock"] | components["schemas"]["LayoutBlock"] | components["schemas"]["QuestionBlock"] | components["schemas"]["VariantsBlock"])[];
|
|
1762
|
+
/**
|
|
1763
|
+
* Key
|
|
1764
|
+
* Format: uuid
|
|
1765
|
+
*/
|
|
1766
|
+
key: string;
|
|
1767
|
+
tags?: components["schemas"]["Tags"] | null;
|
|
1768
|
+
/** Title */
|
|
1769
|
+
title: string;
|
|
1770
|
+
};
|
|
785
1771
|
/** ServiceInfo */
|
|
786
1772
|
ServiceInfo: {
|
|
787
1773
|
/** Environment */
|
|
@@ -834,6 +1820,105 @@ export interface components {
|
|
|
834
1820
|
/** Value */
|
|
835
1821
|
value: unknown;
|
|
836
1822
|
};
|
|
1823
|
+
/** StructureOut */
|
|
1824
|
+
StructureOut: {
|
|
1825
|
+
/** Approved At */
|
|
1826
|
+
approved_at: string | null;
|
|
1827
|
+
/** Frozen At */
|
|
1828
|
+
frozen_at: string | null;
|
|
1829
|
+
/** Number */
|
|
1830
|
+
number: number;
|
|
1831
|
+
/** Status */
|
|
1832
|
+
status: string;
|
|
1833
|
+
};
|
|
1834
|
+
/** Switch */
|
|
1835
|
+
Switch: {
|
|
1836
|
+
/** Key */
|
|
1837
|
+
key: string;
|
|
1838
|
+
/** Label */
|
|
1839
|
+
label: string;
|
|
1840
|
+
/**
|
|
1841
|
+
* Tag
|
|
1842
|
+
* @description Word tag, e.g. "COMMUNITY"
|
|
1843
|
+
*/
|
|
1844
|
+
tag: string;
|
|
1845
|
+
};
|
|
1846
|
+
/** SwitchOut */
|
|
1847
|
+
SwitchOut: {
|
|
1848
|
+
/** Key */
|
|
1849
|
+
key: string;
|
|
1850
|
+
/** Label */
|
|
1851
|
+
label: string;
|
|
1852
|
+
};
|
|
1853
|
+
/**
|
|
1854
|
+
* Tags
|
|
1855
|
+
* @description Who sees a block or item: listed versions, or a condition on switches (never both).
|
|
1856
|
+
*
|
|
1857
|
+
* A version tag means "the switch values of any listed version"; untagged means everyone.
|
|
1858
|
+
*/
|
|
1859
|
+
Tags: {
|
|
1860
|
+
/** Versions */
|
|
1861
|
+
versions?: string[] | null;
|
|
1862
|
+
/** When */
|
|
1863
|
+
when?: {
|
|
1864
|
+
[key: string]: boolean;
|
|
1865
|
+
} | null;
|
|
1866
|
+
};
|
|
1867
|
+
/** Target */
|
|
1868
|
+
Target: {
|
|
1869
|
+
/** Count */
|
|
1870
|
+
count: number;
|
|
1871
|
+
/**
|
|
1872
|
+
* Per
|
|
1873
|
+
* @enum {string}
|
|
1874
|
+
*/
|
|
1875
|
+
per: "day" | "week" | "module" | "total";
|
|
1876
|
+
};
|
|
1877
|
+
/** TextBlock */
|
|
1878
|
+
TextBlock: {
|
|
1879
|
+
/**
|
|
1880
|
+
* Html
|
|
1881
|
+
* @description Sanitized HTML, filled in by read endpoints
|
|
1882
|
+
*/
|
|
1883
|
+
html?: string | null;
|
|
1884
|
+
/**
|
|
1885
|
+
* Key
|
|
1886
|
+
* Format: uuid
|
|
1887
|
+
*/
|
|
1888
|
+
key: string;
|
|
1889
|
+
/** Markdown */
|
|
1890
|
+
markdown: string;
|
|
1891
|
+
tags?: components["schemas"]["Tags"] | null;
|
|
1892
|
+
/**
|
|
1893
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1894
|
+
* @enum {string}
|
|
1895
|
+
*/
|
|
1896
|
+
type: "text";
|
|
1897
|
+
};
|
|
1898
|
+
/** Topic */
|
|
1899
|
+
Topic: {
|
|
1900
|
+
/** Blocks */
|
|
1901
|
+
blocks?: (components["schemas"]["TextBlock"] | components["schemas"]["CalloutBlock"] | components["schemas"]["ImageBlock"] | components["schemas"]["ResourceBlock"] | components["schemas"]["HandoutLinkBlock"] | components["schemas"]["LayoutBlock"] | components["schemas"]["QuestionBlock"] | components["schemas"]["VariantsBlock"])[];
|
|
1902
|
+
/** Estimated Minutes */
|
|
1903
|
+
estimated_minutes?: number | null;
|
|
1904
|
+
/**
|
|
1905
|
+
* Key
|
|
1906
|
+
* Format: uuid
|
|
1907
|
+
*/
|
|
1908
|
+
key: string;
|
|
1909
|
+
/**
|
|
1910
|
+
* Required
|
|
1911
|
+
* @description None = follow the program's pre-work rule
|
|
1912
|
+
*/
|
|
1913
|
+
required?: boolean | null;
|
|
1914
|
+
/** Sections */
|
|
1915
|
+
sections?: components["schemas"]["Section"][];
|
|
1916
|
+
/** Staff Notes */
|
|
1917
|
+
staff_notes?: string | null;
|
|
1918
|
+
tags?: components["schemas"]["Tags"] | null;
|
|
1919
|
+
/** Title */
|
|
1920
|
+
title: string;
|
|
1921
|
+
};
|
|
837
1922
|
/** ValidationError */
|
|
838
1923
|
ValidationError: {
|
|
839
1924
|
/** Context */
|
|
@@ -847,6 +1932,58 @@ export interface components {
|
|
|
847
1932
|
/** Error Type */
|
|
848
1933
|
type: string;
|
|
849
1934
|
};
|
|
1935
|
+
/** Variant */
|
|
1936
|
+
Variant: {
|
|
1937
|
+
/** Block */
|
|
1938
|
+
block: components["schemas"]["TextBlock"] | components["schemas"]["CalloutBlock"] | components["schemas"]["ImageBlock"] | components["schemas"]["ResourceBlock"] | components["schemas"]["HandoutLinkBlock"] | components["schemas"]["LayoutBlock"] | components["schemas"]["QuestionBlock"];
|
|
1939
|
+
tags: components["schemas"]["Tags"];
|
|
1940
|
+
};
|
|
1941
|
+
/**
|
|
1942
|
+
* VariantsBlock
|
|
1943
|
+
* @description One place in the page with a copy per version (tabs in the builder).
|
|
1944
|
+
*/
|
|
1945
|
+
VariantsBlock: {
|
|
1946
|
+
/**
|
|
1947
|
+
* Key
|
|
1948
|
+
* Format: uuid
|
|
1949
|
+
*/
|
|
1950
|
+
key: string;
|
|
1951
|
+
tags?: components["schemas"]["Tags"] | null;
|
|
1952
|
+
/**
|
|
1953
|
+
* @description discriminator enum property added by openapi-typescript
|
|
1954
|
+
* @enum {string}
|
|
1955
|
+
*/
|
|
1956
|
+
type: "variants";
|
|
1957
|
+
/** Variants */
|
|
1958
|
+
variants: components["schemas"]["Variant"][];
|
|
1959
|
+
};
|
|
1960
|
+
/**
|
|
1961
|
+
* Version
|
|
1962
|
+
* @description A named set of switch values, e.g. OWL "Groups" = group visits on, Community on.
|
|
1963
|
+
*/
|
|
1964
|
+
Version: {
|
|
1965
|
+
/** Key */
|
|
1966
|
+
key: string;
|
|
1967
|
+
/** Label */
|
|
1968
|
+
label: string;
|
|
1969
|
+
/** Switch Values */
|
|
1970
|
+
switch_values: {
|
|
1971
|
+
[key: string]: boolean;
|
|
1972
|
+
};
|
|
1973
|
+
/** Tag */
|
|
1974
|
+
tag: string;
|
|
1975
|
+
};
|
|
1976
|
+
/** VersionOut */
|
|
1977
|
+
VersionOut: {
|
|
1978
|
+
/** Key */
|
|
1979
|
+
key: string;
|
|
1980
|
+
/** Label */
|
|
1981
|
+
label: string;
|
|
1982
|
+
/** Switch Values */
|
|
1983
|
+
switch_values: {
|
|
1984
|
+
[key: string]: boolean;
|
|
1985
|
+
};
|
|
1986
|
+
};
|
|
850
1987
|
};
|
|
851
1988
|
responses: never;
|
|
852
1989
|
parameters: never;
|
|
@@ -871,16 +2008,380 @@ export interface operations {
|
|
|
871
2008
|
[name: string]: unknown;
|
|
872
2009
|
};
|
|
873
2010
|
content: {
|
|
874
|
-
"application/json": components["schemas"]["ServiceInfo"];
|
|
2011
|
+
"application/json": components["schemas"]["ServiceInfo"];
|
|
2012
|
+
};
|
|
2013
|
+
};
|
|
2014
|
+
};
|
|
2015
|
+
};
|
|
2016
|
+
live_health_live_get: {
|
|
2017
|
+
parameters: {
|
|
2018
|
+
query?: never;
|
|
2019
|
+
header?: never;
|
|
2020
|
+
path?: never;
|
|
2021
|
+
cookie?: never;
|
|
2022
|
+
};
|
|
2023
|
+
requestBody?: never;
|
|
2024
|
+
responses: {
|
|
2025
|
+
/** @description Successful Response */
|
|
2026
|
+
200: {
|
|
2027
|
+
headers: {
|
|
2028
|
+
[name: string]: unknown;
|
|
2029
|
+
};
|
|
2030
|
+
content: {
|
|
2031
|
+
"application/json": components["schemas"]["LiveResponse"];
|
|
2032
|
+
};
|
|
2033
|
+
};
|
|
2034
|
+
};
|
|
2035
|
+
};
|
|
2036
|
+
ready_health_ready_get: {
|
|
2037
|
+
parameters: {
|
|
2038
|
+
query?: never;
|
|
2039
|
+
header?: never;
|
|
2040
|
+
path?: never;
|
|
2041
|
+
cookie?: never;
|
|
2042
|
+
};
|
|
2043
|
+
requestBody?: never;
|
|
2044
|
+
responses: {
|
|
2045
|
+
/** @description Successful Response */
|
|
2046
|
+
200: {
|
|
2047
|
+
headers: {
|
|
2048
|
+
[name: string]: unknown;
|
|
2049
|
+
};
|
|
2050
|
+
content: {
|
|
2051
|
+
"application/json": components["schemas"]["ReadyResponse"];
|
|
2052
|
+
};
|
|
2053
|
+
};
|
|
2054
|
+
/** @description Database unavailable */
|
|
2055
|
+
503: {
|
|
2056
|
+
headers: {
|
|
2057
|
+
[name: string]: unknown;
|
|
2058
|
+
};
|
|
2059
|
+
content: {
|
|
2060
|
+
"application/json": components["schemas"]["ReadyResponse"];
|
|
2061
|
+
};
|
|
2062
|
+
};
|
|
2063
|
+
};
|
|
2064
|
+
};
|
|
2065
|
+
me_me_get: {
|
|
2066
|
+
parameters: {
|
|
2067
|
+
query?: never;
|
|
2068
|
+
header?: never;
|
|
2069
|
+
path?: never;
|
|
2070
|
+
cookie?: never;
|
|
2071
|
+
};
|
|
2072
|
+
requestBody?: never;
|
|
2073
|
+
responses: {
|
|
2074
|
+
/** @description Successful Response */
|
|
2075
|
+
200: {
|
|
2076
|
+
headers: {
|
|
2077
|
+
[name: string]: unknown;
|
|
2078
|
+
};
|
|
2079
|
+
content: {
|
|
2080
|
+
"application/json": components["schemas"]["Principal"];
|
|
2081
|
+
};
|
|
2082
|
+
};
|
|
2083
|
+
};
|
|
2084
|
+
};
|
|
2085
|
+
list_audit_events_v1_audit_events_get: {
|
|
2086
|
+
parameters: {
|
|
2087
|
+
query?: {
|
|
2088
|
+
before_id?: number | null;
|
|
2089
|
+
limit?: number;
|
|
2090
|
+
action?: string | null;
|
|
2091
|
+
};
|
|
2092
|
+
header?: {
|
|
2093
|
+
/** @description Membership the caller is acting through (from GET /v1/me) */
|
|
2094
|
+
"X-Guidistry-Context"?: string | null;
|
|
2095
|
+
};
|
|
2096
|
+
path?: never;
|
|
2097
|
+
cookie?: never;
|
|
2098
|
+
};
|
|
2099
|
+
requestBody?: never;
|
|
2100
|
+
responses: {
|
|
2101
|
+
/** @description Successful Response */
|
|
2102
|
+
200: {
|
|
2103
|
+
headers: {
|
|
2104
|
+
[name: string]: unknown;
|
|
2105
|
+
};
|
|
2106
|
+
content: {
|
|
2107
|
+
"application/json": components["schemas"]["AuditEventOut"][];
|
|
2108
|
+
};
|
|
2109
|
+
};
|
|
2110
|
+
/** @description Validation Error */
|
|
2111
|
+
422: {
|
|
2112
|
+
headers: {
|
|
2113
|
+
[name: string]: unknown;
|
|
2114
|
+
};
|
|
2115
|
+
content: {
|
|
2116
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
2117
|
+
};
|
|
2118
|
+
};
|
|
2119
|
+
};
|
|
2120
|
+
};
|
|
2121
|
+
auth_start_v1_auth_start_post: {
|
|
2122
|
+
parameters: {
|
|
2123
|
+
query?: never;
|
|
2124
|
+
header?: never;
|
|
2125
|
+
path?: never;
|
|
2126
|
+
cookie?: never;
|
|
2127
|
+
};
|
|
2128
|
+
requestBody: {
|
|
2129
|
+
content: {
|
|
2130
|
+
"application/json": components["schemas"]["AuthStartIn"];
|
|
2131
|
+
};
|
|
2132
|
+
};
|
|
2133
|
+
responses: {
|
|
2134
|
+
/** @description Successful Response */
|
|
2135
|
+
200: {
|
|
2136
|
+
headers: {
|
|
2137
|
+
[name: string]: unknown;
|
|
2138
|
+
};
|
|
2139
|
+
content: {
|
|
2140
|
+
"application/json": components["schemas"]["AuthStartOut"];
|
|
2141
|
+
};
|
|
2142
|
+
};
|
|
2143
|
+
/** @description Validation Error */
|
|
2144
|
+
422: {
|
|
2145
|
+
headers: {
|
|
2146
|
+
[name: string]: unknown;
|
|
2147
|
+
};
|
|
2148
|
+
content: {
|
|
2149
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
2150
|
+
};
|
|
2151
|
+
};
|
|
2152
|
+
};
|
|
2153
|
+
};
|
|
2154
|
+
list_courses_v1_courses_get: {
|
|
2155
|
+
parameters: {
|
|
2156
|
+
query?: {
|
|
2157
|
+
include_archived?: boolean;
|
|
2158
|
+
};
|
|
2159
|
+
header?: {
|
|
2160
|
+
/** @description Membership the caller is acting through (from GET /v1/me) */
|
|
2161
|
+
"X-Guidistry-Context"?: string | null;
|
|
2162
|
+
};
|
|
2163
|
+
path?: never;
|
|
2164
|
+
cookie?: never;
|
|
2165
|
+
};
|
|
2166
|
+
requestBody?: never;
|
|
2167
|
+
responses: {
|
|
2168
|
+
/** @description Successful Response */
|
|
2169
|
+
200: {
|
|
2170
|
+
headers: {
|
|
2171
|
+
[name: string]: unknown;
|
|
2172
|
+
};
|
|
2173
|
+
content: {
|
|
2174
|
+
"application/json": components["schemas"]["CourseOut"][];
|
|
2175
|
+
};
|
|
2176
|
+
};
|
|
2177
|
+
/** @description Validation Error */
|
|
2178
|
+
422: {
|
|
2179
|
+
headers: {
|
|
2180
|
+
[name: string]: unknown;
|
|
2181
|
+
};
|
|
2182
|
+
content: {
|
|
2183
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
2184
|
+
};
|
|
2185
|
+
};
|
|
2186
|
+
};
|
|
2187
|
+
};
|
|
2188
|
+
get_course_v1_courses__course_id__get: {
|
|
2189
|
+
parameters: {
|
|
2190
|
+
query?: never;
|
|
2191
|
+
header?: {
|
|
2192
|
+
/** @description Membership the caller is acting through (from GET /v1/me) */
|
|
2193
|
+
"X-Guidistry-Context"?: string | null;
|
|
2194
|
+
};
|
|
2195
|
+
path: {
|
|
2196
|
+
course_id: string;
|
|
2197
|
+
};
|
|
2198
|
+
cookie?: never;
|
|
2199
|
+
};
|
|
2200
|
+
requestBody?: never;
|
|
2201
|
+
responses: {
|
|
2202
|
+
/** @description Successful Response */
|
|
2203
|
+
200: {
|
|
2204
|
+
headers: {
|
|
2205
|
+
[name: string]: unknown;
|
|
2206
|
+
};
|
|
2207
|
+
content: {
|
|
2208
|
+
"application/json": components["schemas"]["CourseOut"];
|
|
2209
|
+
};
|
|
2210
|
+
};
|
|
2211
|
+
/** @description Validation Error */
|
|
2212
|
+
422: {
|
|
2213
|
+
headers: {
|
|
2214
|
+
[name: string]: unknown;
|
|
2215
|
+
};
|
|
2216
|
+
content: {
|
|
2217
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
2218
|
+
};
|
|
2219
|
+
};
|
|
2220
|
+
};
|
|
2221
|
+
};
|
|
2222
|
+
get_course_content_v1_courses__course_id__content_get: {
|
|
2223
|
+
parameters: {
|
|
2224
|
+
query?: {
|
|
2225
|
+
/** @description Version key (required when the template has versions) */
|
|
2226
|
+
version?: string | null;
|
|
2227
|
+
language?: string | null;
|
|
2228
|
+
/** @description participant: what a participant sees; staff: plus staff notes; author: every version with its tags (needs edit permission) */
|
|
2229
|
+
view?: "participant" | "staff" | "author";
|
|
2230
|
+
/** @description A revision number of the current structure */
|
|
2231
|
+
revision?: number | null;
|
|
2232
|
+
};
|
|
2233
|
+
header?: {
|
|
2234
|
+
/** @description Membership the caller is acting through (from GET /v1/me) */
|
|
2235
|
+
"X-Guidistry-Context"?: string | null;
|
|
2236
|
+
};
|
|
2237
|
+
path: {
|
|
2238
|
+
course_id: string;
|
|
2239
|
+
};
|
|
2240
|
+
cookie?: never;
|
|
2241
|
+
};
|
|
2242
|
+
requestBody?: never;
|
|
2243
|
+
responses: {
|
|
2244
|
+
/** @description Successful Response */
|
|
2245
|
+
200: {
|
|
2246
|
+
headers: {
|
|
2247
|
+
[name: string]: unknown;
|
|
2248
|
+
};
|
|
2249
|
+
content: {
|
|
2250
|
+
"application/json": components["schemas"]["CourseContent"];
|
|
2251
|
+
};
|
|
2252
|
+
};
|
|
2253
|
+
/** @description Validation Error */
|
|
2254
|
+
422: {
|
|
2255
|
+
headers: {
|
|
2256
|
+
[name: string]: unknown;
|
|
2257
|
+
};
|
|
2258
|
+
content: {
|
|
2259
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
2260
|
+
};
|
|
2261
|
+
};
|
|
2262
|
+
};
|
|
2263
|
+
};
|
|
2264
|
+
list_grants_v1_courses__course_id__grants_get: {
|
|
2265
|
+
parameters: {
|
|
2266
|
+
query?: {
|
|
2267
|
+
include_revoked?: boolean;
|
|
2268
|
+
};
|
|
2269
|
+
header?: {
|
|
2270
|
+
/** @description Membership the caller is acting through (from GET /v1/me) */
|
|
2271
|
+
"X-Guidistry-Context"?: string | null;
|
|
2272
|
+
};
|
|
2273
|
+
path: {
|
|
2274
|
+
course_id: string;
|
|
2275
|
+
};
|
|
2276
|
+
cookie?: never;
|
|
2277
|
+
};
|
|
2278
|
+
requestBody?: never;
|
|
2279
|
+
responses: {
|
|
2280
|
+
/** @description Successful Response */
|
|
2281
|
+
200: {
|
|
2282
|
+
headers: {
|
|
2283
|
+
[name: string]: unknown;
|
|
2284
|
+
};
|
|
2285
|
+
content: {
|
|
2286
|
+
"application/json": components["schemas"]["GrantOut"][];
|
|
2287
|
+
};
|
|
2288
|
+
};
|
|
2289
|
+
/** @description Validation Error */
|
|
2290
|
+
422: {
|
|
2291
|
+
headers: {
|
|
2292
|
+
[name: string]: unknown;
|
|
2293
|
+
};
|
|
2294
|
+
content: {
|
|
2295
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
2296
|
+
};
|
|
2297
|
+
};
|
|
2298
|
+
};
|
|
2299
|
+
};
|
|
2300
|
+
create_grant_v1_courses__course_id__grants_post: {
|
|
2301
|
+
parameters: {
|
|
2302
|
+
query?: never;
|
|
2303
|
+
header?: {
|
|
2304
|
+
/** @description Membership the caller is acting through (from GET /v1/me) */
|
|
2305
|
+
"X-Guidistry-Context"?: string | null;
|
|
2306
|
+
};
|
|
2307
|
+
path: {
|
|
2308
|
+
course_id: string;
|
|
2309
|
+
};
|
|
2310
|
+
cookie?: never;
|
|
2311
|
+
};
|
|
2312
|
+
requestBody: {
|
|
2313
|
+
content: {
|
|
2314
|
+
"application/json": components["schemas"]["GrantCreate"];
|
|
2315
|
+
};
|
|
2316
|
+
};
|
|
2317
|
+
responses: {
|
|
2318
|
+
/** @description Successful Response */
|
|
2319
|
+
201: {
|
|
2320
|
+
headers: {
|
|
2321
|
+
[name: string]: unknown;
|
|
2322
|
+
};
|
|
2323
|
+
content: {
|
|
2324
|
+
"application/json": components["schemas"]["GrantOut"];
|
|
2325
|
+
};
|
|
2326
|
+
};
|
|
2327
|
+
/** @description Validation Error */
|
|
2328
|
+
422: {
|
|
2329
|
+
headers: {
|
|
2330
|
+
[name: string]: unknown;
|
|
2331
|
+
};
|
|
2332
|
+
content: {
|
|
2333
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
2334
|
+
};
|
|
2335
|
+
};
|
|
2336
|
+
};
|
|
2337
|
+
};
|
|
2338
|
+
list_items_v1_courses__course_id__items_get: {
|
|
2339
|
+
parameters: {
|
|
2340
|
+
query?: {
|
|
2341
|
+
/** @description e.g. topic, practice */
|
|
2342
|
+
kind?: string | null;
|
|
2343
|
+
};
|
|
2344
|
+
header?: {
|
|
2345
|
+
/** @description Membership the caller is acting through (from GET /v1/me) */
|
|
2346
|
+
"X-Guidistry-Context"?: string | null;
|
|
2347
|
+
};
|
|
2348
|
+
path: {
|
|
2349
|
+
course_id: string;
|
|
2350
|
+
};
|
|
2351
|
+
cookie?: never;
|
|
2352
|
+
};
|
|
2353
|
+
requestBody?: never;
|
|
2354
|
+
responses: {
|
|
2355
|
+
/** @description Successful Response */
|
|
2356
|
+
200: {
|
|
2357
|
+
headers: {
|
|
2358
|
+
[name: string]: unknown;
|
|
2359
|
+
};
|
|
2360
|
+
content: {
|
|
2361
|
+
"application/json": components["schemas"]["CourseItemOut"][];
|
|
2362
|
+
};
|
|
2363
|
+
};
|
|
2364
|
+
/** @description Validation Error */
|
|
2365
|
+
422: {
|
|
2366
|
+
headers: {
|
|
2367
|
+
[name: string]: unknown;
|
|
2368
|
+
};
|
|
2369
|
+
content: {
|
|
2370
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
875
2371
|
};
|
|
876
2372
|
};
|
|
877
2373
|
};
|
|
878
2374
|
};
|
|
879
|
-
|
|
2375
|
+
list_revisions_v1_courses__course_id__revisions_get: {
|
|
880
2376
|
parameters: {
|
|
881
2377
|
query?: never;
|
|
882
|
-
header?:
|
|
883
|
-
|
|
2378
|
+
header?: {
|
|
2379
|
+
/** @description Membership the caller is acting through (from GET /v1/me) */
|
|
2380
|
+
"X-Guidistry-Context"?: string | null;
|
|
2381
|
+
};
|
|
2382
|
+
path: {
|
|
2383
|
+
course_id: string;
|
|
2384
|
+
};
|
|
884
2385
|
cookie?: never;
|
|
885
2386
|
};
|
|
886
2387
|
requestBody?: never;
|
|
@@ -891,16 +2392,30 @@ export interface operations {
|
|
|
891
2392
|
[name: string]: unknown;
|
|
892
2393
|
};
|
|
893
2394
|
content: {
|
|
894
|
-
"application/json": components["schemas"]["
|
|
2395
|
+
"application/json": components["schemas"]["RevisionOut"][];
|
|
2396
|
+
};
|
|
2397
|
+
};
|
|
2398
|
+
/** @description Validation Error */
|
|
2399
|
+
422: {
|
|
2400
|
+
headers: {
|
|
2401
|
+
[name: string]: unknown;
|
|
2402
|
+
};
|
|
2403
|
+
content: {
|
|
2404
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
895
2405
|
};
|
|
896
2406
|
};
|
|
897
2407
|
};
|
|
898
2408
|
};
|
|
899
|
-
|
|
2409
|
+
list_structures_v1_courses__course_id__structures_get: {
|
|
900
2410
|
parameters: {
|
|
901
2411
|
query?: never;
|
|
902
|
-
header?:
|
|
903
|
-
|
|
2412
|
+
header?: {
|
|
2413
|
+
/** @description Membership the caller is acting through (from GET /v1/me) */
|
|
2414
|
+
"X-Guidistry-Context"?: string | null;
|
|
2415
|
+
};
|
|
2416
|
+
path: {
|
|
2417
|
+
course_id: string;
|
|
2418
|
+
};
|
|
904
2419
|
cookie?: never;
|
|
905
2420
|
};
|
|
906
2421
|
requestBody?: never;
|
|
@@ -911,25 +2426,31 @@ export interface operations {
|
|
|
911
2426
|
[name: string]: unknown;
|
|
912
2427
|
};
|
|
913
2428
|
content: {
|
|
914
|
-
"application/json": components["schemas"]["
|
|
2429
|
+
"application/json": components["schemas"]["StructureOut"][];
|
|
915
2430
|
};
|
|
916
2431
|
};
|
|
917
|
-
/** @description
|
|
918
|
-
|
|
2432
|
+
/** @description Validation Error */
|
|
2433
|
+
422: {
|
|
919
2434
|
headers: {
|
|
920
2435
|
[name: string]: unknown;
|
|
921
2436
|
};
|
|
922
2437
|
content: {
|
|
923
|
-
"application/json": components["schemas"]["
|
|
2438
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
924
2439
|
};
|
|
925
2440
|
};
|
|
926
2441
|
};
|
|
927
2442
|
};
|
|
928
|
-
|
|
2443
|
+
approve_structure_v1_courses__course_id__structures__number__approve_post: {
|
|
929
2444
|
parameters: {
|
|
930
2445
|
query?: never;
|
|
931
|
-
header?:
|
|
932
|
-
|
|
2446
|
+
header?: {
|
|
2447
|
+
/** @description Membership the caller is acting through (from GET /v1/me) */
|
|
2448
|
+
"X-Guidistry-Context"?: string | null;
|
|
2449
|
+
};
|
|
2450
|
+
path: {
|
|
2451
|
+
course_id: string;
|
|
2452
|
+
number: number;
|
|
2453
|
+
};
|
|
933
2454
|
cookie?: never;
|
|
934
2455
|
};
|
|
935
2456
|
requestBody?: never;
|
|
@@ -940,23 +2461,32 @@ export interface operations {
|
|
|
940
2461
|
[name: string]: unknown;
|
|
941
2462
|
};
|
|
942
2463
|
content: {
|
|
943
|
-
"application/json": components["schemas"]["
|
|
2464
|
+
"application/json": components["schemas"]["CourseOut"];
|
|
2465
|
+
};
|
|
2466
|
+
};
|
|
2467
|
+
/** @description Validation Error */
|
|
2468
|
+
422: {
|
|
2469
|
+
headers: {
|
|
2470
|
+
[name: string]: unknown;
|
|
2471
|
+
};
|
|
2472
|
+
content: {
|
|
2473
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
944
2474
|
};
|
|
945
2475
|
};
|
|
946
2476
|
};
|
|
947
2477
|
};
|
|
948
|
-
|
|
2478
|
+
list_syncs_v1_courses__course_id__syncs_get: {
|
|
949
2479
|
parameters: {
|
|
950
2480
|
query?: {
|
|
951
|
-
before_id?: number | null;
|
|
952
2481
|
limit?: number;
|
|
953
|
-
action?: string | null;
|
|
954
2482
|
};
|
|
955
2483
|
header?: {
|
|
956
2484
|
/** @description Membership the caller is acting through (from GET /v1/me) */
|
|
957
2485
|
"X-Guidistry-Context"?: string | null;
|
|
958
2486
|
};
|
|
959
|
-
path
|
|
2487
|
+
path: {
|
|
2488
|
+
course_id: string;
|
|
2489
|
+
};
|
|
960
2490
|
cookie?: never;
|
|
961
2491
|
};
|
|
962
2492
|
requestBody?: never;
|
|
@@ -967,7 +2497,7 @@ export interface operations {
|
|
|
967
2497
|
[name: string]: unknown;
|
|
968
2498
|
};
|
|
969
2499
|
content: {
|
|
970
|
-
"application/json": components["schemas"]["
|
|
2500
|
+
"application/json": components["schemas"]["CourseSyncOut"][];
|
|
971
2501
|
};
|
|
972
2502
|
};
|
|
973
2503
|
/** @description Validation Error */
|
|
@@ -981,27 +2511,26 @@ export interface operations {
|
|
|
981
2511
|
};
|
|
982
2512
|
};
|
|
983
2513
|
};
|
|
984
|
-
|
|
2514
|
+
revoke_grant_v1_grants__grant_id__delete: {
|
|
985
2515
|
parameters: {
|
|
986
2516
|
query?: never;
|
|
987
|
-
header?:
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
};
|
|
991
|
-
requestBody: {
|
|
992
|
-
content: {
|
|
993
|
-
"application/json": components["schemas"]["AuthStartIn"];
|
|
2517
|
+
header?: {
|
|
2518
|
+
/** @description Membership the caller is acting through (from GET /v1/me) */
|
|
2519
|
+
"X-Guidistry-Context"?: string | null;
|
|
994
2520
|
};
|
|
2521
|
+
path: {
|
|
2522
|
+
grant_id: string;
|
|
2523
|
+
};
|
|
2524
|
+
cookie?: never;
|
|
995
2525
|
};
|
|
2526
|
+
requestBody?: never;
|
|
996
2527
|
responses: {
|
|
997
2528
|
/** @description Successful Response */
|
|
998
|
-
|
|
2529
|
+
204: {
|
|
999
2530
|
headers: {
|
|
1000
2531
|
[name: string]: unknown;
|
|
1001
2532
|
};
|
|
1002
|
-
content
|
|
1003
|
-
"application/json": components["schemas"]["AuthStartOut"];
|
|
1004
|
-
};
|
|
2533
|
+
content?: never;
|
|
1005
2534
|
};
|
|
1006
2535
|
/** @description Validation Error */
|
|
1007
2536
|
422: {
|
|
@@ -1534,6 +3063,185 @@ export interface operations {
|
|
|
1534
3063
|
};
|
|
1535
3064
|
};
|
|
1536
3065
|
};
|
|
3066
|
+
list_programs_v1_programs_get: {
|
|
3067
|
+
parameters: {
|
|
3068
|
+
query?: {
|
|
3069
|
+
include_archived?: boolean;
|
|
3070
|
+
};
|
|
3071
|
+
header?: {
|
|
3072
|
+
/** @description Membership the caller is acting through (from GET /v1/me) */
|
|
3073
|
+
"X-Guidistry-Context"?: string | null;
|
|
3074
|
+
};
|
|
3075
|
+
path?: never;
|
|
3076
|
+
cookie?: never;
|
|
3077
|
+
};
|
|
3078
|
+
requestBody?: never;
|
|
3079
|
+
responses: {
|
|
3080
|
+
/** @description Successful Response */
|
|
3081
|
+
200: {
|
|
3082
|
+
headers: {
|
|
3083
|
+
[name: string]: unknown;
|
|
3084
|
+
};
|
|
3085
|
+
content: {
|
|
3086
|
+
"application/json": components["schemas"]["ProgramOut"][];
|
|
3087
|
+
};
|
|
3088
|
+
};
|
|
3089
|
+
/** @description Validation Error */
|
|
3090
|
+
422: {
|
|
3091
|
+
headers: {
|
|
3092
|
+
[name: string]: unknown;
|
|
3093
|
+
};
|
|
3094
|
+
content: {
|
|
3095
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
3096
|
+
};
|
|
3097
|
+
};
|
|
3098
|
+
};
|
|
3099
|
+
};
|
|
3100
|
+
create_program_v1_programs_post: {
|
|
3101
|
+
parameters: {
|
|
3102
|
+
query?: never;
|
|
3103
|
+
header?: {
|
|
3104
|
+
/** @description Membership the caller is acting through (from GET /v1/me) */
|
|
3105
|
+
"X-Guidistry-Context"?: string | null;
|
|
3106
|
+
};
|
|
3107
|
+
path?: never;
|
|
3108
|
+
cookie?: never;
|
|
3109
|
+
};
|
|
3110
|
+
requestBody: {
|
|
3111
|
+
content: {
|
|
3112
|
+
"application/json": components["schemas"]["ProgramCreate"];
|
|
3113
|
+
};
|
|
3114
|
+
};
|
|
3115
|
+
responses: {
|
|
3116
|
+
/** @description Successful Response */
|
|
3117
|
+
201: {
|
|
3118
|
+
headers: {
|
|
3119
|
+
[name: string]: unknown;
|
|
3120
|
+
};
|
|
3121
|
+
content: {
|
|
3122
|
+
"application/json": components["schemas"]["ProgramOut"];
|
|
3123
|
+
};
|
|
3124
|
+
};
|
|
3125
|
+
/** @description Validation Error */
|
|
3126
|
+
422: {
|
|
3127
|
+
headers: {
|
|
3128
|
+
[name: string]: unknown;
|
|
3129
|
+
};
|
|
3130
|
+
content: {
|
|
3131
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
3132
|
+
};
|
|
3133
|
+
};
|
|
3134
|
+
};
|
|
3135
|
+
};
|
|
3136
|
+
get_program_v1_programs__program_id__get: {
|
|
3137
|
+
parameters: {
|
|
3138
|
+
query?: never;
|
|
3139
|
+
header?: {
|
|
3140
|
+
/** @description Membership the caller is acting through (from GET /v1/me) */
|
|
3141
|
+
"X-Guidistry-Context"?: string | null;
|
|
3142
|
+
};
|
|
3143
|
+
path: {
|
|
3144
|
+
program_id: string;
|
|
3145
|
+
};
|
|
3146
|
+
cookie?: never;
|
|
3147
|
+
};
|
|
3148
|
+
requestBody?: never;
|
|
3149
|
+
responses: {
|
|
3150
|
+
/** @description Successful Response */
|
|
3151
|
+
200: {
|
|
3152
|
+
headers: {
|
|
3153
|
+
[name: string]: unknown;
|
|
3154
|
+
};
|
|
3155
|
+
content: {
|
|
3156
|
+
"application/json": components["schemas"]["ProgramOut"];
|
|
3157
|
+
};
|
|
3158
|
+
};
|
|
3159
|
+
/** @description Validation Error */
|
|
3160
|
+
422: {
|
|
3161
|
+
headers: {
|
|
3162
|
+
[name: string]: unknown;
|
|
3163
|
+
};
|
|
3164
|
+
content: {
|
|
3165
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
3166
|
+
};
|
|
3167
|
+
};
|
|
3168
|
+
};
|
|
3169
|
+
};
|
|
3170
|
+
update_program_v1_programs__program_id__patch: {
|
|
3171
|
+
parameters: {
|
|
3172
|
+
query?: never;
|
|
3173
|
+
header?: {
|
|
3174
|
+
/** @description Membership the caller is acting through (from GET /v1/me) */
|
|
3175
|
+
"X-Guidistry-Context"?: string | null;
|
|
3176
|
+
};
|
|
3177
|
+
path: {
|
|
3178
|
+
program_id: string;
|
|
3179
|
+
};
|
|
3180
|
+
cookie?: never;
|
|
3181
|
+
};
|
|
3182
|
+
requestBody: {
|
|
3183
|
+
content: {
|
|
3184
|
+
"application/json": components["schemas"]["ProgramUpdate"];
|
|
3185
|
+
};
|
|
3186
|
+
};
|
|
3187
|
+
responses: {
|
|
3188
|
+
/** @description Successful Response */
|
|
3189
|
+
200: {
|
|
3190
|
+
headers: {
|
|
3191
|
+
[name: string]: unknown;
|
|
3192
|
+
};
|
|
3193
|
+
content: {
|
|
3194
|
+
"application/json": components["schemas"]["ProgramOut"];
|
|
3195
|
+
};
|
|
3196
|
+
};
|
|
3197
|
+
/** @description Validation Error */
|
|
3198
|
+
422: {
|
|
3199
|
+
headers: {
|
|
3200
|
+
[name: string]: unknown;
|
|
3201
|
+
};
|
|
3202
|
+
content: {
|
|
3203
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
3204
|
+
};
|
|
3205
|
+
};
|
|
3206
|
+
};
|
|
3207
|
+
};
|
|
3208
|
+
get_program_content_v1_programs__program_id__content_get: {
|
|
3209
|
+
parameters: {
|
|
3210
|
+
query?: {
|
|
3211
|
+
view?: "participant" | "staff";
|
|
3212
|
+
language?: string | null;
|
|
3213
|
+
};
|
|
3214
|
+
header?: {
|
|
3215
|
+
/** @description Membership the caller is acting through (from GET /v1/me) */
|
|
3216
|
+
"X-Guidistry-Context"?: string | null;
|
|
3217
|
+
};
|
|
3218
|
+
path: {
|
|
3219
|
+
program_id: string;
|
|
3220
|
+
};
|
|
3221
|
+
cookie?: never;
|
|
3222
|
+
};
|
|
3223
|
+
requestBody?: never;
|
|
3224
|
+
responses: {
|
|
3225
|
+
/** @description Successful Response */
|
|
3226
|
+
200: {
|
|
3227
|
+
headers: {
|
|
3228
|
+
[name: string]: unknown;
|
|
3229
|
+
};
|
|
3230
|
+
content: {
|
|
3231
|
+
"application/json": components["schemas"]["CourseContent"];
|
|
3232
|
+
};
|
|
3233
|
+
};
|
|
3234
|
+
/** @description Validation Error */
|
|
3235
|
+
422: {
|
|
3236
|
+
headers: {
|
|
3237
|
+
[name: string]: unknown;
|
|
3238
|
+
};
|
|
3239
|
+
content: {
|
|
3240
|
+
"application/json": components["schemas"]["HTTPValidationError"];
|
|
3241
|
+
};
|
|
3242
|
+
};
|
|
3243
|
+
};
|
|
3244
|
+
};
|
|
1537
3245
|
list_roles_v1_roles_get: {
|
|
1538
3246
|
parameters: {
|
|
1539
3247
|
query?: never;
|