@brightoutcome/guidistry-client 0.10.1 → 0.11.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.
Files changed (2) hide show
  1. package/dist/schema.d.ts +1521 -65
  2. package/package.json +1 -1
package/dist/schema.d.ts CHANGED
@@ -422,6 +422,23 @@ export interface paths {
422
422
  patch: operations["update_cohort_v1_cohorts__cohort_id__patch"];
423
423
  trace?: never;
424
424
  };
425
+ "/v1/cohorts/{cohort_id}/progress": {
426
+ parameters: {
427
+ query?: never;
428
+ header?: never;
429
+ path?: never;
430
+ cookie?: never;
431
+ };
432
+ /** Every member's progress, pre-work and quiet days */
433
+ get: operations["cohort_progress_v1_cohorts__cohort_id__progress_get"];
434
+ put?: never;
435
+ post?: never;
436
+ delete?: never;
437
+ options?: never;
438
+ head?: never;
439
+ patch?: never;
440
+ trace?: never;
441
+ };
425
442
  "/v1/cohorts/{cohort_id}/settings": {
426
443
  parameters: {
427
444
  query?: never;
@@ -894,6 +911,24 @@ export interface paths {
894
911
  patch?: never;
895
912
  trace?: never;
896
913
  };
914
+ "/v1/enrollments/{enrollment_id}/activity": {
915
+ parameters: {
916
+ query?: never;
917
+ header?: never;
918
+ path?: never;
919
+ cookie?: never;
920
+ };
921
+ /** An enrollment's activity, newest first */
922
+ get: operations["list_activity_v1_enrollments__enrollment_id__activity_get"];
923
+ put?: never;
924
+ /** Record what the participant did (batch, idempotent) */
925
+ post: operations["post_activity_v1_enrollments__enrollment_id__activity_post"];
926
+ delete?: never;
927
+ options?: never;
928
+ head?: never;
929
+ patch?: never;
930
+ trace?: never;
931
+ };
897
932
  "/v1/enrollments/{enrollment_id}/content": {
898
933
  parameters: {
899
934
  query?: never;
@@ -916,6 +951,23 @@ export interface paths {
916
951
  patch?: never;
917
952
  trace?: never;
918
953
  };
954
+ "/v1/enrollments/{enrollment_id}/listens": {
955
+ parameters: {
956
+ query?: never;
957
+ header?: never;
958
+ path?: never;
959
+ cookie?: never;
960
+ };
961
+ get?: never;
962
+ put?: never;
963
+ /** Start a listen to a practice's recording or video */
964
+ post: operations["start_listen_v1_enrollments__enrollment_id__listens_post"];
965
+ delete?: never;
966
+ options?: never;
967
+ head?: never;
968
+ patch?: never;
969
+ trace?: never;
970
+ };
919
971
  "/v1/enrollments/{enrollment_id}/pauses": {
920
972
  parameters: {
921
973
  query?: never;
@@ -938,6 +990,23 @@ export interface paths {
938
990
  patch?: never;
939
991
  trace?: never;
940
992
  };
993
+ "/v1/enrollments/{enrollment_id}/progress": {
994
+ parameters: {
995
+ query?: never;
996
+ header?: never;
997
+ path?: never;
998
+ cookie?: never;
999
+ };
1000
+ /** Progress, pre-work and the numbers (participant: own; staff: within scope) */
1001
+ get: operations["enrollment_progress_v1_enrollments__enrollment_id__progress_get"];
1002
+ put?: never;
1003
+ post?: never;
1004
+ delete?: never;
1005
+ options?: never;
1006
+ head?: never;
1007
+ patch?: never;
1008
+ trace?: never;
1009
+ };
941
1010
  "/v1/enrollments/{enrollment_id}/reviews": {
942
1011
  parameters: {
943
1012
  query?: never;
@@ -993,6 +1062,23 @@ export interface paths {
993
1062
  patch?: never;
994
1063
  trace?: never;
995
1064
  };
1065
+ "/v1/enrollments/{enrollment_id}/sessions/{number}/open": {
1066
+ parameters: {
1067
+ query?: never;
1068
+ header?: never;
1069
+ path?: never;
1070
+ cookie?: never;
1071
+ };
1072
+ get?: never;
1073
+ put?: never;
1074
+ /** Open a self-paced participant's sessions up to this one (care team) */
1075
+ post: operations["open_session_v1_enrollments__enrollment_id__sessions__number__open_post"];
1076
+ delete?: never;
1077
+ options?: never;
1078
+ head?: never;
1079
+ patch?: never;
1080
+ trace?: never;
1081
+ };
996
1082
  "/v1/enrollments/{enrollment_id}/transition": {
997
1083
  parameters: {
998
1084
  query?: never;
@@ -1014,6 +1100,62 @@ export interface paths {
1014
1100
  patch?: never;
1015
1101
  trace?: never;
1016
1102
  };
1103
+ "/v1/enrollments/{enrollment_id}/writing-attachments": {
1104
+ parameters: {
1105
+ query?: never;
1106
+ header?: never;
1107
+ path?: never;
1108
+ cookie?: never;
1109
+ };
1110
+ get?: never;
1111
+ put?: never;
1112
+ /** Start uploading a journal picture or voice recording */
1113
+ post: operations["start_attachment_v1_enrollments__enrollment_id__writing_attachments_post"];
1114
+ delete?: never;
1115
+ options?: never;
1116
+ head?: never;
1117
+ patch?: never;
1118
+ trace?: never;
1119
+ };
1120
+ "/v1/enrollments/{enrollment_id}/writing-policy": {
1121
+ parameters: {
1122
+ query?: never;
1123
+ header?: never;
1124
+ path?: never;
1125
+ cookie?: never;
1126
+ };
1127
+ /** What the participant is told about who reads their writing */
1128
+ get: operations["writing_policy_v1_enrollments__enrollment_id__writing_policy_get"];
1129
+ put?: never;
1130
+ post?: never;
1131
+ delete?: never;
1132
+ options?: never;
1133
+ head?: never;
1134
+ patch?: never;
1135
+ trace?: never;
1136
+ };
1137
+ "/v1/enrollments/{enrollment_id}/writings": {
1138
+ parameters: {
1139
+ query?: never;
1140
+ header?: never;
1141
+ path?: never;
1142
+ cookie?: never;
1143
+ };
1144
+ /**
1145
+ * Journal entries, written-practice answers and practice notes
1146
+ * @description Participants: their own, with the text. Staff: completion; the text only when the
1147
+ * cohort lets its team read it and they're on the team (each read audited).
1148
+ */
1149
+ get: operations["list_writings_v1_enrollments__enrollment_id__writings_get"];
1150
+ put?: never;
1151
+ /** Submit a journal entry, written-practice answers or a practice note */
1152
+ post: operations["submit_writing_v1_enrollments__enrollment_id__writings_post"];
1153
+ delete?: never;
1154
+ options?: never;
1155
+ head?: never;
1156
+ patch?: never;
1157
+ trace?: never;
1158
+ };
1017
1159
  "/v1/fidelity": {
1018
1160
  parameters: {
1019
1161
  query?: never;
@@ -1207,6 +1349,23 @@ export interface paths {
1207
1349
  patch?: never;
1208
1350
  trace?: never;
1209
1351
  };
1352
+ "/v1/listens/{listen_id}/reports": {
1353
+ parameters: {
1354
+ query?: never;
1355
+ header?: never;
1356
+ path?: never;
1357
+ cookie?: never;
1358
+ };
1359
+ get?: never;
1360
+ put?: never;
1361
+ /** Report the stretches played since the previous report */
1362
+ post: operations["report_listen_v1_listens__listen_id__reports_post"];
1363
+ delete?: never;
1364
+ options?: never;
1365
+ head?: never;
1366
+ patch?: never;
1367
+ trace?: never;
1368
+ };
1210
1369
  "/v1/live-sessions/{session_id}/events": {
1211
1370
  parameters: {
1212
1371
  query?: never;
@@ -2148,10 +2307,172 @@ export interface paths {
2148
2307
  patch?: never;
2149
2308
  trace?: never;
2150
2309
  };
2310
+ "/v1/writing-attachments/{attachment_id}/complete": {
2311
+ parameters: {
2312
+ query?: never;
2313
+ header?: never;
2314
+ path?: never;
2315
+ cookie?: never;
2316
+ };
2317
+ get?: never;
2318
+ put?: never;
2319
+ /** Finish an upload (size, type and checksum are checked) */
2320
+ post: operations["complete_attachment_v1_writing_attachments__attachment_id__complete_post"];
2321
+ delete?: never;
2322
+ options?: never;
2323
+ head?: never;
2324
+ patch?: never;
2325
+ trace?: never;
2326
+ };
2327
+ "/v1/writing-attachments/{attachment_id}/link": {
2328
+ parameters: {
2329
+ query?: never;
2330
+ header?: never;
2331
+ path?: never;
2332
+ cookie?: never;
2333
+ };
2334
+ /** A short-lived link to a journal picture or recording */
2335
+ get: operations["attachment_link_v1_writing_attachments__attachment_id__link_get"];
2336
+ put?: never;
2337
+ post?: never;
2338
+ delete?: never;
2339
+ options?: never;
2340
+ head?: never;
2341
+ patch?: never;
2342
+ trace?: never;
2343
+ };
2344
+ "/v1/writings/{writing_id}/retract": {
2345
+ parameters: {
2346
+ query?: never;
2347
+ header?: never;
2348
+ path?: never;
2349
+ cookie?: never;
2350
+ };
2351
+ get?: never;
2352
+ put?: never;
2353
+ /** Withdraw a writing (the text is kept for history; staff no longer see it) */
2354
+ post: operations["retract_writing_v1_writings__writing_id__retract_post"];
2355
+ delete?: never;
2356
+ options?: never;
2357
+ head?: never;
2358
+ patch?: never;
2359
+ trace?: never;
2360
+ };
2361
+ "/v1/writings/{writing_id}/revisions": {
2362
+ parameters: {
2363
+ query?: never;
2364
+ header?: never;
2365
+ path?: never;
2366
+ cookie?: never;
2367
+ };
2368
+ get?: never;
2369
+ put?: never;
2370
+ /** Edit a writing (a new revision; earlier ones are kept) */
2371
+ post: operations["revise_writing_v1_writings__writing_id__revisions_post"];
2372
+ delete?: never;
2373
+ options?: never;
2374
+ head?: never;
2375
+ patch?: never;
2376
+ trace?: never;
2377
+ };
2151
2378
  }
2152
2379
  export type webhooks = Record<string, never>;
2153
2380
  export interface components {
2154
2381
  schemas: {
2382
+ /** ActivityBatch */
2383
+ ActivityBatch: {
2384
+ /** Events */
2385
+ events: components["schemas"]["ActivityIn"][];
2386
+ };
2387
+ /** ActivityData */
2388
+ ActivityData: {
2389
+ /**
2390
+ * Minutes
2391
+ * @description Self-reported practice minutes
2392
+ */
2393
+ minutes?: number | null;
2394
+ /**
2395
+ * Place
2396
+ * @description Where an item was opened (the Library counts for the garden)
2397
+ */
2398
+ place?: ("session" | "library" | "home") | null;
2399
+ };
2400
+ /** ActivityIn */
2401
+ ActivityIn: {
2402
+ /**
2403
+ * Client At
2404
+ * @description Kept for information only
2405
+ */
2406
+ client_at?: string | null;
2407
+ /**
2408
+ * Client Event Id
2409
+ * @description Idempotency key
2410
+ */
2411
+ client_event_id: string;
2412
+ data?: components["schemas"]["ActivityData"] | null;
2413
+ /**
2414
+ * Item Key
2415
+ * @description Content key (topic, section, practice, prompt, resource, handout, or a block for faves)
2416
+ */
2417
+ item_key?: string | null;
2418
+ /**
2419
+ * Kind
2420
+ * @enum {string}
2421
+ */
2422
+ kind: "portal_opened" | "item_opened" | "section_viewed" | "topic_marked_done" | "practice_self_reported" | "fave_on" | "fave_off" | "keepsake_earned" | "reversal";
2423
+ /**
2424
+ * Ref
2425
+ * @description keepsake_earned: the keepsake id
2426
+ */
2427
+ ref?: string | null;
2428
+ /**
2429
+ * Reverses Id
2430
+ * @description reversal: the event to undo (topic_marked_done, practice_self_reported)
2431
+ */
2432
+ reverses_id?: number | null;
2433
+ };
2434
+ /** ActivityOut */
2435
+ ActivityOut: {
2436
+ /** Client Event Id */
2437
+ client_event_id: string | null;
2438
+ /** Data */
2439
+ data: {
2440
+ [key: string]: unknown;
2441
+ };
2442
+ /** Id */
2443
+ id: number;
2444
+ /** Item Key */
2445
+ item_key: string | null;
2446
+ /** Item Type */
2447
+ item_type: string | null;
2448
+ /** Kind */
2449
+ kind: string;
2450
+ /**
2451
+ * Recorded At
2452
+ * Format: date-time
2453
+ */
2454
+ recorded_at: string;
2455
+ /** Ref */
2456
+ ref: string | null;
2457
+ /**
2458
+ * Reversed
2459
+ * @default false
2460
+ */
2461
+ reversed: boolean;
2462
+ /** Reverses Id */
2463
+ reverses_id: number | null;
2464
+ /** Session */
2465
+ session: number | null;
2466
+ /** Source */
2467
+ source: string;
2468
+ };
2469
+ /** ActivityPage */
2470
+ ActivityPage: {
2471
+ /** Items */
2472
+ items: components["schemas"]["ActivityOut"][];
2473
+ /** Next Before Id */
2474
+ next_before_id: number | null;
2475
+ };
2155
2476
  /** AdaptationIn */
2156
2477
  AdaptationIn: {
2157
2478
  /** Text */
@@ -2430,6 +2751,54 @@ export interface components {
2430
2751
  /** Code */
2431
2752
  code: string;
2432
2753
  };
2754
+ /** AttachmentOut */
2755
+ AttachmentOut: {
2756
+ /** Content Type */
2757
+ content_type: string;
2758
+ /** Duration Seconds */
2759
+ duration_seconds: number | null;
2760
+ /**
2761
+ * Id
2762
+ * Format: uuid
2763
+ */
2764
+ id: string;
2765
+ /**
2766
+ * Kind
2767
+ * @enum {string}
2768
+ */
2769
+ kind: "image" | "audio";
2770
+ /** Size Bytes */
2771
+ size_bytes: number;
2772
+ /**
2773
+ * Status
2774
+ * @enum {string}
2775
+ */
2776
+ status: "pending" | "ready" | "rejected";
2777
+ };
2778
+ /** AttachmentStart */
2779
+ AttachmentStart: {
2780
+ /**
2781
+ * Content Type
2782
+ * @enum {string}
2783
+ */
2784
+ content_type: "image/jpeg" | "image/png" | "image/heic" | "audio/webm" | "audio/mp4" | "audio/mpeg" | "audio/ogg";
2785
+ /** Duration Seconds */
2786
+ duration_seconds?: number | null;
2787
+ /**
2788
+ * Kind
2789
+ * @enum {string}
2790
+ */
2791
+ kind: "image" | "audio";
2792
+ /** Sha256 */
2793
+ sha256: string;
2794
+ /** Size Bytes */
2795
+ size_bytes: number;
2796
+ };
2797
+ /** AttachmentStartOut */
2798
+ AttachmentStartOut: {
2799
+ attachment: components["schemas"]["AttachmentOut"];
2800
+ upload: components["schemas"]["UploadFormOut"];
2801
+ };
2433
2802
  /** AttendanceIn */
2434
2803
  AttendanceIn: {
2435
2804
  /**
@@ -2754,11 +3123,37 @@ export interface components {
2754
3123
  */
2755
3124
  visit_mode: "online" | "in_person" | "hybrid";
2756
3125
  };
2757
- /** CohortUpdate */
2758
- CohortUpdate: {
2759
- /** Capacity */
2760
- capacity?: number | null;
2761
- /** Meeting Note */
3126
+ /** CohortProgressOut */
3127
+ CohortProgressOut: {
3128
+ /** Avg Progress */
3129
+ avg_progress: number | null;
3130
+ /** Avg Progress Reason */
3131
+ avg_progress_reason: string | null;
3132
+ /**
3133
+ * Cohort Id
3134
+ * Format: uuid
3135
+ */
3136
+ cohort_id: string;
3137
+ /** Members */
3138
+ members: components["schemas"]["MemberProgress"][];
3139
+ /** Next Visit Id */
3140
+ next_visit_id: string | null;
3141
+ /** Prework Done */
3142
+ prework_done: number;
3143
+ /** Prework Required */
3144
+ prework_required: number;
3145
+ /** Quiet Flag */
3146
+ quiet_flag: number;
3147
+ /** Quiet Watch */
3148
+ quiet_watch: number;
3149
+ /** Stalled */
3150
+ stalled: number;
3151
+ };
3152
+ /** CohortUpdate */
3153
+ CohortUpdate: {
3154
+ /** Capacity */
3155
+ capacity?: number | null;
3156
+ /** Meeting Note */
2762
3157
  meeting_note?: string | null;
2763
3158
  /** Meeting Url */
2764
3159
  meeting_url?: string | null;
@@ -2774,6 +3169,17 @@ export interface components {
2774
3169
  */
2775
3170
  visit_mode?: ("online" | "in_person" | "hybrid") | null;
2776
3171
  };
3172
+ /** Completion */
3173
+ Completion: {
3174
+ /** Expected */
3175
+ expected: number | null;
3176
+ /** Reason */
3177
+ reason?: string | null;
3178
+ /** Stalled */
3179
+ stalled: boolean | null;
3180
+ /** Value */
3181
+ value: number | null;
3182
+ };
2777
3183
  /**
2778
3184
  * CourseContent
2779
3185
  * @description A whole course in one language.
@@ -3393,6 +3799,30 @@ export interface components {
3393
3799
  /** Rows */
3394
3800
  rows?: number | null;
3395
3801
  };
3802
+ /** GardenSession */
3803
+ GardenSession: {
3804
+ /**
3805
+ * Community
3806
+ * @description Not stored until module 8
3807
+ */
3808
+ community?: number | null;
3809
+ /** Journal Done */
3810
+ journal_done: number;
3811
+ /** Keepsakes */
3812
+ keepsakes: string[];
3813
+ /** Open */
3814
+ open: boolean;
3815
+ /** Practices Done */
3816
+ practices_done: number;
3817
+ /** Session */
3818
+ session: number;
3819
+ /** Topics Done */
3820
+ topics_done: number;
3821
+ /** Topics Total */
3822
+ topics_total: number;
3823
+ /** Written Done */
3824
+ written_done: number;
3825
+ };
3396
3826
  /** GrantCreate */
3397
3827
  GrantCreate: {
3398
3828
  /** Ends At */
@@ -3725,6 +4155,32 @@ export interface components {
3725
4155
  */
3726
4156
  to_sign?: components["schemas"]["AgreementVersionOut"][];
3727
4157
  };
4158
+ /** ItemState */
4159
+ ItemState: {
4160
+ /** Done */
4161
+ done: boolean;
4162
+ /**
4163
+ * Key
4164
+ * Format: uuid
4165
+ */
4166
+ key: string;
4167
+ /**
4168
+ * Listens Completed
4169
+ * @default 0
4170
+ */
4171
+ listens_completed: number;
4172
+ /** Required */
4173
+ required: boolean;
4174
+ /**
4175
+ * Self Reported
4176
+ * @default 0
4177
+ */
4178
+ self_reported: number;
4179
+ /** Session */
4180
+ session: number | null;
4181
+ /** Type */
4182
+ type: string;
4183
+ };
3728
4184
  /** JoinOut */
3729
4185
  JoinOut: {
3730
4186
  /**
@@ -3792,6 +4248,29 @@ export interface components {
3792
4248
  */
3793
4249
  visit_id: string;
3794
4250
  };
4251
+ /** KeepsakeOut */
4252
+ KeepsakeOut: {
4253
+ /**
4254
+ * Earned At
4255
+ * Format: date-time
4256
+ */
4257
+ earned_at: string;
4258
+ /** Ref */
4259
+ ref: string;
4260
+ /** Session */
4261
+ session: number | null;
4262
+ };
4263
+ /** LastWeek */
4264
+ LastWeek: {
4265
+ /** Completion */
4266
+ completion: number | null;
4267
+ /** Days Quiet */
4268
+ days_quiet: number | null;
4269
+ /** Practices Done */
4270
+ practices_done: number;
4271
+ /** Program Progress */
4272
+ program_progress: number | null;
4273
+ };
3795
4274
  /**
3796
4275
  * LayoutBlock
3797
4276
  * @description A named layout (acrostic, pyramid, cycle, …) with its lines, drawn by the app.
@@ -3859,6 +4338,106 @@ export interface components {
3859
4338
  */
3860
4339
  label: string;
3861
4340
  };
4341
+ /** LinkOut */
4342
+ LinkOut: {
4343
+ /** Expires In Seconds */
4344
+ expires_in_seconds: number;
4345
+ /** Url */
4346
+ url: string;
4347
+ };
4348
+ /** ListenOut */
4349
+ ListenOut: {
4350
+ /** Complete At Percent */
4351
+ complete_at_percent: number;
4352
+ /** Completed */
4353
+ completed: boolean;
4354
+ /** Completed At */
4355
+ completed_at: string | null;
4356
+ /**
4357
+ * Coverage
4358
+ * @description 0-1: share of the recording covered by this listen
4359
+ */
4360
+ coverage: number;
4361
+ /** Covered Seconds */
4362
+ covered_seconds: number;
4363
+ /** Ended At */
4364
+ ended_at: string | null;
4365
+ /**
4366
+ * Id
4367
+ * Format: uuid
4368
+ */
4369
+ id: string;
4370
+ /**
4371
+ * Item Key
4372
+ * Format: uuid
4373
+ */
4374
+ item_key: string;
4375
+ /**
4376
+ * Length Source
4377
+ * @enum {string}
4378
+ */
4379
+ length_source: "asset" | "player";
4380
+ /** Listened Seconds */
4381
+ listened_seconds: number;
4382
+ /**
4383
+ * Media Key
4384
+ * Format: uuid
4385
+ */
4386
+ media_key: string;
4387
+ /** Media Seconds */
4388
+ media_seconds: number;
4389
+ /** Session */
4390
+ session: number | null;
4391
+ /**
4392
+ * Started At
4393
+ * Format: date-time
4394
+ */
4395
+ started_at: string;
4396
+ };
4397
+ /** ListenReport */
4398
+ ListenReport: {
4399
+ /** Client At */
4400
+ client_at?: string | null;
4401
+ /**
4402
+ * Ended
4403
+ * @default false
4404
+ */
4405
+ ended: boolean;
4406
+ /** Position */
4407
+ position?: number | null;
4408
+ /**
4409
+ * Segments
4410
+ * @description Stretches played since the previous report: [[from, to], …] s
4411
+ */
4412
+ segments: number[][];
4413
+ /**
4414
+ * Seq
4415
+ * @description 1, 2, 3 … per listen; a resend is ignored
4416
+ */
4417
+ seq: number;
4418
+ };
4419
+ /** ListenStart */
4420
+ ListenStart: {
4421
+ /** Client At */
4422
+ client_at?: string | null;
4423
+ /**
4424
+ * Item Key
4425
+ * Format: uuid
4426
+ * @description The practice
4427
+ */
4428
+ item_key: string;
4429
+ /**
4430
+ * Media Key
4431
+ * Format: uuid
4432
+ * @description The practice's media item (its key)
4433
+ */
4434
+ media_key: string;
4435
+ /**
4436
+ * Media Seconds
4437
+ * @description The player's length; used only when the server has none
4438
+ */
4439
+ media_seconds?: number | null;
4440
+ };
3862
4441
  /** LiveEventIn */
3863
4442
  LiveEventIn: {
3864
4443
  /**
@@ -4102,6 +4681,43 @@ export interface components {
4102
4681
  /** Present Since */
4103
4682
  present_since: string | null;
4104
4683
  };
4684
+ /** MemberProgress */
4685
+ MemberProgress: {
4686
+ /** Activity Strip */
4687
+ activity_strip: number[] | null;
4688
+ completion: components["schemas"]["Completion"];
4689
+ /** Days Quiet */
4690
+ days_quiet: number | null;
4691
+ /** Display Name */
4692
+ display_name: string;
4693
+ /**
4694
+ * Enrollment Id
4695
+ * Format: uuid
4696
+ */
4697
+ enrollment_id: string;
4698
+ /** Last Activity At */
4699
+ last_activity_at: string | null;
4700
+ /** Never Activated */
4701
+ never_activated: boolean;
4702
+ next_visit_prework: components["schemas"]["PreworkOut"] | null;
4703
+ /**
4704
+ * Patient Id
4705
+ * Format: uuid
4706
+ */
4707
+ patient_id: string;
4708
+ /** Practices This Week */
4709
+ practices_this_week: components["schemas"]["PracticeWeek"][];
4710
+ program_progress: components["schemas"]["ProgramProgress"];
4711
+ /**
4712
+ * Quiet Tone
4713
+ * @enum {string}
4714
+ */
4715
+ quiet_tone: "on_target" | "watch" | "flag";
4716
+ /** Session Progress */
4717
+ session_progress: {
4718
+ [key: string]: components["schemas"]["TypeProgress"];
4719
+ };
4720
+ };
4105
4721
  /** MembershipOut */
4106
4722
  MembershipOut: {
4107
4723
  /** Ends At */
@@ -4130,6 +4746,18 @@ export interface components {
4130
4746
  /** Status */
4131
4747
  status?: ("active" | "suspended" | "ended") | null;
4132
4748
  };
4749
+ /** MissingItem */
4750
+ MissingItem: {
4751
+ /**
4752
+ * Key
4753
+ * Format: uuid
4754
+ */
4755
+ key: string;
4756
+ /** Title */
4757
+ title: string;
4758
+ /** Type */
4759
+ type: string;
4760
+ };
4133
4761
  /** Module */
4134
4762
  Module: {
4135
4763
  /** Description */
@@ -4249,6 +4877,20 @@ export interface components {
4249
4877
  /** Suffix */
4250
4878
  suffix?: string | null;
4251
4879
  };
4880
+ /** NextVisitPrework */
4881
+ NextVisitPrework: {
4882
+ prework: components["schemas"]["PreworkOut"];
4883
+ /**
4884
+ * Starts At
4885
+ * Format: date-time
4886
+ */
4887
+ starts_at: string;
4888
+ /**
4889
+ * Visit Id
4890
+ * Format: uuid
4891
+ */
4892
+ visit_id: string;
4893
+ };
4252
4894
  /** NoteFill */
4253
4895
  NoteFill: {
4254
4896
  /** Base Version */
@@ -4424,6 +5066,11 @@ export interface components {
4424
5066
  /** Version Label */
4425
5067
  version_label: string | null;
4426
5068
  };
5069
+ /** OpenSessionIn */
5070
+ OpenSessionIn: {
5071
+ /** Reason */
5072
+ reason: string;
5073
+ };
4427
5074
  /** OrgUnitCreate */
4428
5075
  OrgUnitCreate: {
4429
5076
  /** Name */
@@ -4844,6 +5491,50 @@ export interface components {
4844
5491
  media: components["schemas"]["MediaRef"];
4845
5492
  tags?: components["schemas"]["Tags"] | null;
4846
5493
  };
5494
+ /** PracticeWeek */
5495
+ PracticeWeek: {
5496
+ /** Done */
5497
+ done: number;
5498
+ /**
5499
+ * Item Key
5500
+ * Format: uuid
5501
+ */
5502
+ item_key: string;
5503
+ /** Minutes */
5504
+ minutes: number;
5505
+ /** Paused */
5506
+ paused: boolean;
5507
+ /** Self Reported */
5508
+ self_reported: number;
5509
+ /** Session */
5510
+ session: number;
5511
+ /** Target */
5512
+ target: number;
5513
+ /** Title */
5514
+ title: string;
5515
+ };
5516
+ /** PreworkOut */
5517
+ PreworkOut: {
5518
+ /**
5519
+ * Done
5520
+ * @default 0
5521
+ */
5522
+ done: number;
5523
+ /** Missing */
5524
+ missing?: components["schemas"]["MissingItem"][];
5525
+ /**
5526
+ * Required
5527
+ * @default 0
5528
+ */
5529
+ required: number;
5530
+ /** Session */
5531
+ session?: number | null;
5532
+ /**
5533
+ * State
5534
+ * @enum {string}
5535
+ */
5536
+ state: "done" | "outstanding" | "not_required" | "not_open_yet";
5537
+ };
4847
5538
  /**
4848
5539
  * Principal
4849
5540
  * @description The signed-in caller, as Cognito vouches for them.
@@ -4913,6 +5604,11 @@ export interface components {
4913
5604
  * Format: uuid
4914
5605
  */
4915
5606
  course_id: string;
5607
+ /**
5608
+ * Journal Staff Read
5609
+ * @description Who on staff reads participants' journals (journal.staff_read). Required for research programs: the study team chooses it (often from the protocol), never the clinic default (module 6, N3).
5610
+ */
5611
+ journal_staff_read?: ("completion_only" | "cohort_team") | null;
4916
5612
  /** Name */
4917
5613
  name: string;
4918
5614
  /**
@@ -4973,6 +5669,17 @@ export interface components {
4973
5669
  /** Version Key */
4974
5670
  version_key: string | null;
4975
5671
  };
5672
+ /** ProgramProgress */
5673
+ ProgramProgress: {
5674
+ /** Reason */
5675
+ reason?: string | null;
5676
+ /** Required Done */
5677
+ required_done: number;
5678
+ /** Required Released */
5679
+ required_released: number;
5680
+ /** Value */
5681
+ value: number | null;
5682
+ };
4976
5683
  /** ProgramUpdate */
4977
5684
  ProgramUpdate: {
4978
5685
  /**
@@ -4992,6 +5699,57 @@ export interface components {
4992
5699
  /** Version Key */
4993
5700
  version_key?: string | null;
4994
5701
  };
5702
+ /** ProgressOut */
5703
+ ProgressOut: {
5704
+ /** Activity Strip */
5705
+ activity_strip: number[] | null;
5706
+ completion: components["schemas"]["Completion"];
5707
+ /** Current Session */
5708
+ current_session: number | null;
5709
+ /** Days Quiet */
5710
+ days_quiet: number | null;
5711
+ /**
5712
+ * Enrollment Id
5713
+ * Format: uuid
5714
+ */
5715
+ enrollment_id: string;
5716
+ /** Faves */
5717
+ faves: string[];
5718
+ /** Garden */
5719
+ garden: components["schemas"]["GardenSession"][];
5720
+ /** Items */
5721
+ items: components["schemas"]["ItemState"][];
5722
+ /** Keepsakes */
5723
+ keepsakes: components["schemas"]["KeepsakeOut"][];
5724
+ /** Last Activity At */
5725
+ last_activity_at: string | null;
5726
+ /** Length From Player */
5727
+ length_from_player?: number | null;
5728
+ /** Never Activated */
5729
+ never_activated: boolean;
5730
+ next_visit: components["schemas"]["NextVisitPrework"] | null;
5731
+ /** Practices This Week */
5732
+ practices_this_week: components["schemas"]["PracticeWeek"][];
5733
+ /** Presence */
5734
+ presence: {
5735
+ [key: string]: number;
5736
+ };
5737
+ program_progress: components["schemas"]["ProgramProgress"];
5738
+ /**
5739
+ * Quiet Tone
5740
+ * @enum {string}
5741
+ */
5742
+ quiet_tone: "on_target" | "watch" | "flag";
5743
+ /** Release Mode */
5744
+ release_mode: string;
5745
+ /** Session Progress */
5746
+ session_progress: {
5747
+ [key: string]: components["schemas"]["TypeProgress"];
5748
+ };
5749
+ /** Sessions */
5750
+ sessions: components["schemas"]["SessionState"][];
5751
+ vs_last_week: components["schemas"]["LastWeek"];
5752
+ };
4995
5753
  /** Prompt */
4996
5754
  Prompt: {
4997
5755
  /**
@@ -5115,10 +5873,12 @@ export interface components {
5115
5873
  patient_id: string;
5116
5874
  /**
5117
5875
  * Prework
5118
- * @default not_available
5119
- * @constant
5876
+ * @description Module 6: every required item of the visit's session done before it starts
5877
+ * @default not_required
5878
+ * @enum {string}
5120
5879
  */
5121
- prework: "not_available";
5880
+ prework: "done" | "outstanding" | "not_required" | "not_open_yet";
5881
+ prework_detail?: components["schemas"]["PreworkOut"] | null;
5122
5882
  /**
5123
5883
  * Pros
5124
5884
  * @default not_available
@@ -5135,6 +5895,16 @@ export interface components {
5135
5895
  ReadinessOut: {
5136
5896
  /** Members */
5137
5897
  members: components["schemas"]["ReadinessMember"][];
5898
+ /**
5899
+ * Prework Done
5900
+ * @default 0
5901
+ */
5902
+ prework_done: number;
5903
+ /**
5904
+ * Prework Required
5905
+ * @default 0
5906
+ */
5907
+ prework_required: number;
5138
5908
  /**
5139
5909
  * Visit Id
5140
5910
  * Format: uuid
@@ -5446,6 +6216,17 @@ export interface components {
5446
6216
  key: string;
5447
6217
  /** Number */
5448
6218
  number: number;
6219
+ /**
6220
+ * Opened By Care Team
6221
+ * @description Self-paced: the care team opened it ("Your care team opened Session N")
6222
+ * @default false
6223
+ */
6224
+ opened_by_care_team: boolean;
6225
+ /**
6226
+ * Opens After Session
6227
+ * @description Self-paced: opens when this session is completed (module 6)
6228
+ */
6229
+ opens_after_session?: number | null;
5449
6230
  /** Opens At */
5450
6231
  opens_at: string | null;
5451
6232
  /**
@@ -5881,6 +6662,24 @@ export interface components {
5881
6662
  /** Text */
5882
6663
  text: string;
5883
6664
  };
6665
+ /** TypeProgress */
6666
+ TypeProgress: {
6667
+ /** Done */
6668
+ done: number | null;
6669
+ /** Reason */
6670
+ reason?: string | null;
6671
+ /** Total */
6672
+ total: number | null;
6673
+ };
6674
+ /** UploadFormOut */
6675
+ UploadFormOut: {
6676
+ /** Fields */
6677
+ fields: {
6678
+ [key: string]: string;
6679
+ };
6680
+ /** Url */
6681
+ url: string;
6682
+ };
5884
6683
  /** ValidationError */
5885
6684
  ValidationError: {
5886
6685
  /** Context */
@@ -6082,6 +6881,121 @@ export interface components {
6082
6881
  /** Name */
6083
6882
  name: string;
6084
6883
  };
6884
+ /** WritingIn */
6885
+ WritingIn: {
6886
+ /** Attachment Ids */
6887
+ attachment_ids?: string[];
6888
+ /**
6889
+ * Body
6890
+ * @description Text (journal, practice note) or the written practice's answers
6891
+ */
6892
+ body: string | {
6893
+ [key: string]: unknown;
6894
+ };
6895
+ /** Client Event Id */
6896
+ client_event_id?: string | null;
6897
+ /**
6898
+ * Item Key
6899
+ * Format: uuid
6900
+ * @description journal: a journal prompt; written_practice and practice_note: a practice
6901
+ */
6902
+ item_key: string;
6903
+ /**
6904
+ * Kind
6905
+ * @enum {string}
6906
+ */
6907
+ kind: "journal" | "written_practice" | "practice_note";
6908
+ /** Listen Id */
6909
+ listen_id?: string | null;
6910
+ /**
6911
+ * Ratings
6912
+ * @description After-practice ratings, 1-5
6913
+ */
6914
+ ratings?: {
6915
+ [key: string]: number;
6916
+ } | null;
6917
+ };
6918
+ /** WritingOut */
6919
+ WritingOut: {
6920
+ /** Attachments */
6921
+ attachments: components["schemas"]["AttachmentOut"][];
6922
+ /** Body */
6923
+ body?: string | {
6924
+ [key: string]: unknown;
6925
+ } | null;
6926
+ /**
6927
+ * Id
6928
+ * Format: uuid
6929
+ */
6930
+ id: string;
6931
+ /**
6932
+ * Item Key
6933
+ * Format: uuid
6934
+ */
6935
+ item_key: string;
6936
+ /** Item Title */
6937
+ item_title: string | null;
6938
+ /**
6939
+ * Kind
6940
+ * @enum {string}
6941
+ */
6942
+ kind: "journal" | "written_practice" | "practice_note";
6943
+ /** Ratings */
6944
+ ratings: {
6945
+ [key: string]: number;
6946
+ } | null;
6947
+ /** Retracted At */
6948
+ retracted_at: string | null;
6949
+ /** Revisions */
6950
+ revisions: number;
6951
+ /** Session */
6952
+ session: number | null;
6953
+ /**
6954
+ * Status
6955
+ * @enum {string}
6956
+ */
6957
+ status: "submitted" | "retracted";
6958
+ /**
6959
+ * Submitted At
6960
+ * Format: date-time
6961
+ */
6962
+ submitted_at: string;
6963
+ /** Text Visible */
6964
+ text_visible: boolean;
6965
+ /**
6966
+ * Updated At
6967
+ * Format: date-time
6968
+ */
6969
+ updated_at: string;
6970
+ };
6971
+ /** WritingPolicyOut */
6972
+ WritingPolicyOut: {
6973
+ /** Help Text */
6974
+ help_text: string;
6975
+ /**
6976
+ * Notice
6977
+ * @description Plain words for above the journal and written practices
6978
+ */
6979
+ notice: string;
6980
+ /**
6981
+ * Staff Read
6982
+ * @enum {string}
6983
+ */
6984
+ staff_read: "completion_only" | "cohort_team";
6985
+ };
6986
+ /** WritingRevise */
6987
+ WritingRevise: {
6988
+ /** Attachment Ids */
6989
+ attachment_ids?: string[];
6990
+ /** Body */
6991
+ body: string | {
6992
+ [key: string]: unknown;
6993
+ };
6994
+ /** Ratings */
6995
+ ratings?: {
6996
+ [key: string]: number;
6997
+ } | null;
6998
+ };
6085
6999
  /** RevisionOut */
6086
7000
  guidistry_api__content__api_schemas__RevisionOut: {
6087
7001
  /** Change Note */
@@ -7130,7 +8044,7 @@ export interface operations {
7130
8044
  };
7131
8045
  };
7132
8046
  };
7133
- cohort_settings_v1_cohorts__cohort_id__settings_get: {
8047
+ cohort_progress_v1_cohorts__cohort_id__progress_get: {
7134
8048
  parameters: {
7135
8049
  query?: never;
7136
8050
  header?: {
@@ -7150,7 +8064,7 @@ export interface operations {
7150
8064
  [name: string]: unknown;
7151
8065
  };
7152
8066
  content: {
7153
- "application/json": components["schemas"]["SettingOut"][];
8067
+ "application/json": components["schemas"]["CohortProgressOut"];
7154
8068
  };
7155
8069
  };
7156
8070
  /** @description Validation Error */
@@ -7164,7 +8078,41 @@ export interface operations {
7164
8078
  };
7165
8079
  };
7166
8080
  };
7167
- get_team_v1_cohorts__cohort_id__team_get: {
8081
+ cohort_settings_v1_cohorts__cohort_id__settings_get: {
8082
+ parameters: {
8083
+ query?: never;
8084
+ header?: {
8085
+ /** @description Membership the caller is acting through (from GET /v1/me) */
8086
+ "X-Guidistry-Context"?: string | null;
8087
+ };
8088
+ path: {
8089
+ cohort_id: string;
8090
+ };
8091
+ cookie?: never;
8092
+ };
8093
+ requestBody?: never;
8094
+ responses: {
8095
+ /** @description Successful Response */
8096
+ 200: {
8097
+ headers: {
8098
+ [name: string]: unknown;
8099
+ };
8100
+ content: {
8101
+ "application/json": components["schemas"]["SettingOut"][];
8102
+ };
8103
+ };
8104
+ /** @description Validation Error */
8105
+ 422: {
8106
+ headers: {
8107
+ [name: string]: unknown;
8108
+ };
8109
+ content: {
8110
+ "application/json": components["schemas"]["HTTPValidationError"];
8111
+ };
8112
+ };
8113
+ };
8114
+ };
8115
+ get_team_v1_cohorts__cohort_id__team_get: {
7168
8116
  parameters: {
7169
8117
  query?: never;
7170
8118
  header?: {
@@ -8044,23 +8992,351 @@ export interface operations {
8044
8992
  "X-Guidistry-Context"?: string | null;
8045
8993
  };
8046
8994
  path: {
8047
- note_id: string;
8995
+ note_id: string;
8996
+ };
8997
+ cookie?: never;
8998
+ };
8999
+ requestBody: {
9000
+ content: {
9001
+ "application/json": components["schemas"]["Reason"];
9002
+ };
9003
+ };
9004
+ responses: {
9005
+ /** @description Successful Response */
9006
+ 200: {
9007
+ headers: {
9008
+ [name: string]: unknown;
9009
+ };
9010
+ content: {
9011
+ "application/json": components["schemas"]["NoteOut"];
9012
+ };
9013
+ };
9014
+ /** @description Validation Error */
9015
+ 422: {
9016
+ headers: {
9017
+ [name: string]: unknown;
9018
+ };
9019
+ content: {
9020
+ "application/json": components["schemas"]["HTTPValidationError"];
9021
+ };
9022
+ };
9023
+ };
9024
+ };
9025
+ enrollment_queue_v1_enrollment_queue_get: {
9026
+ parameters: {
9027
+ query?: {
9028
+ cohort_id?: string | null;
9029
+ };
9030
+ header?: {
9031
+ /** @description Membership the caller is acting through (from GET /v1/me) */
9032
+ "X-Guidistry-Context"?: string | null;
9033
+ };
9034
+ path?: never;
9035
+ cookie?: never;
9036
+ };
9037
+ requestBody?: never;
9038
+ responses: {
9039
+ /** @description Successful Response */
9040
+ 200: {
9041
+ headers: {
9042
+ [name: string]: unknown;
9043
+ };
9044
+ content: {
9045
+ "application/json": components["schemas"]["QueueEntry"][];
9046
+ };
9047
+ };
9048
+ /** @description Validation Error */
9049
+ 422: {
9050
+ headers: {
9051
+ [name: string]: unknown;
9052
+ };
9053
+ content: {
9054
+ "application/json": components["schemas"]["HTTPValidationError"];
9055
+ };
9056
+ };
9057
+ };
9058
+ };
9059
+ list_enrollments_v1_enrollments_get: {
9060
+ parameters: {
9061
+ query?: {
9062
+ cohort_id?: string | null;
9063
+ patient_id?: string | null;
9064
+ status?: string[] | null;
9065
+ needs_review?: boolean;
9066
+ };
9067
+ header?: {
9068
+ /** @description Membership the caller is acting through (from GET /v1/me) */
9069
+ "X-Guidistry-Context"?: string | null;
9070
+ };
9071
+ path?: never;
9072
+ cookie?: never;
9073
+ };
9074
+ requestBody?: never;
9075
+ responses: {
9076
+ /** @description Successful Response */
9077
+ 200: {
9078
+ headers: {
9079
+ [name: string]: unknown;
9080
+ };
9081
+ content: {
9082
+ "application/json": components["schemas"]["EnrollmentOut"][];
9083
+ };
9084
+ };
9085
+ /** @description Validation Error */
9086
+ 422: {
9087
+ headers: {
9088
+ [name: string]: unknown;
9089
+ };
9090
+ content: {
9091
+ "application/json": components["schemas"]["HTTPValidationError"];
9092
+ };
9093
+ };
9094
+ };
9095
+ };
9096
+ create_enrollment_v1_enrollments_post: {
9097
+ parameters: {
9098
+ query?: never;
9099
+ header?: {
9100
+ /** @description Membership the caller is acting through (from GET /v1/me) */
9101
+ "X-Guidistry-Context"?: string | null;
9102
+ };
9103
+ path?: never;
9104
+ cookie?: never;
9105
+ };
9106
+ requestBody: {
9107
+ content: {
9108
+ "application/json": components["schemas"]["EnrollmentCreate"];
9109
+ };
9110
+ };
9111
+ responses: {
9112
+ /** @description Successful Response */
9113
+ 201: {
9114
+ headers: {
9115
+ [name: string]: unknown;
9116
+ };
9117
+ content: {
9118
+ "application/json": components["schemas"]["EnrollmentOut"];
9119
+ };
9120
+ };
9121
+ /** @description Validation Error */
9122
+ 422: {
9123
+ headers: {
9124
+ [name: string]: unknown;
9125
+ };
9126
+ content: {
9127
+ "application/json": components["schemas"]["HTTPValidationError"];
9128
+ };
9129
+ };
9130
+ };
9131
+ };
9132
+ get_enrollment_v1_enrollments__enrollment_id__get: {
9133
+ parameters: {
9134
+ query?: never;
9135
+ header?: {
9136
+ /** @description Membership the caller is acting through (from GET /v1/me) */
9137
+ "X-Guidistry-Context"?: string | null;
9138
+ };
9139
+ path: {
9140
+ enrollment_id: string;
9141
+ };
9142
+ cookie?: never;
9143
+ };
9144
+ requestBody?: never;
9145
+ responses: {
9146
+ /** @description Successful Response */
9147
+ 200: {
9148
+ headers: {
9149
+ [name: string]: unknown;
9150
+ };
9151
+ content: {
9152
+ "application/json": components["schemas"]["EnrollmentOut"];
9153
+ };
9154
+ };
9155
+ /** @description Validation Error */
9156
+ 422: {
9157
+ headers: {
9158
+ [name: string]: unknown;
9159
+ };
9160
+ content: {
9161
+ "application/json": components["schemas"]["HTTPValidationError"];
9162
+ };
9163
+ };
9164
+ };
9165
+ };
9166
+ list_activity_v1_enrollments__enrollment_id__activity_get: {
9167
+ parameters: {
9168
+ query?: {
9169
+ before_id?: number | null;
9170
+ limit?: number;
9171
+ };
9172
+ header?: {
9173
+ /** @description Membership the caller is acting through (from GET /v1/me) */
9174
+ "X-Guidistry-Context"?: string | null;
9175
+ };
9176
+ path: {
9177
+ enrollment_id: string;
9178
+ };
9179
+ cookie?: never;
9180
+ };
9181
+ requestBody?: never;
9182
+ responses: {
9183
+ /** @description Successful Response */
9184
+ 200: {
9185
+ headers: {
9186
+ [name: string]: unknown;
9187
+ };
9188
+ content: {
9189
+ "application/json": components["schemas"]["ActivityPage"];
9190
+ };
9191
+ };
9192
+ /** @description Validation Error */
9193
+ 422: {
9194
+ headers: {
9195
+ [name: string]: unknown;
9196
+ };
9197
+ content: {
9198
+ "application/json": components["schemas"]["HTTPValidationError"];
9199
+ };
9200
+ };
9201
+ };
9202
+ };
9203
+ post_activity_v1_enrollments__enrollment_id__activity_post: {
9204
+ parameters: {
9205
+ query?: never;
9206
+ header?: {
9207
+ /** @description Membership the caller is acting through (from GET /v1/me) */
9208
+ "X-Guidistry-Context"?: string | null;
9209
+ };
9210
+ path: {
9211
+ enrollment_id: string;
9212
+ };
9213
+ cookie?: never;
9214
+ };
9215
+ requestBody: {
9216
+ content: {
9217
+ "application/json": components["schemas"]["ActivityBatch"];
9218
+ };
9219
+ };
9220
+ responses: {
9221
+ /** @description Successful Response */
9222
+ 200: {
9223
+ headers: {
9224
+ [name: string]: unknown;
9225
+ };
9226
+ content: {
9227
+ "application/json": components["schemas"]["ActivityOut"][];
9228
+ };
9229
+ };
9230
+ /** @description Validation Error */
9231
+ 422: {
9232
+ headers: {
9233
+ [name: string]: unknown;
9234
+ };
9235
+ content: {
9236
+ "application/json": components["schemas"]["HTTPValidationError"];
9237
+ };
9238
+ };
9239
+ };
9240
+ };
9241
+ enrollment_content_v1_enrollments__enrollment_id__content_get: {
9242
+ parameters: {
9243
+ query?: {
9244
+ language?: string | null;
9245
+ };
9246
+ header?: {
9247
+ /** @description Membership the caller is acting through (from GET /v1/me) */
9248
+ "X-Guidistry-Context"?: string | null;
9249
+ };
9250
+ path: {
9251
+ enrollment_id: string;
9252
+ };
9253
+ cookie?: never;
9254
+ };
9255
+ requestBody?: never;
9256
+ responses: {
9257
+ /** @description Successful Response */
9258
+ 200: {
9259
+ headers: {
9260
+ [name: string]: unknown;
9261
+ };
9262
+ content: {
9263
+ "application/json": components["schemas"]["EnrollmentContentOut"];
9264
+ };
9265
+ };
9266
+ /** @description Validation Error */
9267
+ 422: {
9268
+ headers: {
9269
+ [name: string]: unknown;
9270
+ };
9271
+ content: {
9272
+ "application/json": components["schemas"]["HTTPValidationError"];
9273
+ };
9274
+ };
9275
+ };
9276
+ };
9277
+ start_listen_v1_enrollments__enrollment_id__listens_post: {
9278
+ parameters: {
9279
+ query?: never;
9280
+ header?: {
9281
+ /** @description Membership the caller is acting through (from GET /v1/me) */
9282
+ "X-Guidistry-Context"?: string | null;
9283
+ };
9284
+ path: {
9285
+ enrollment_id: string;
9286
+ };
9287
+ cookie?: never;
9288
+ };
9289
+ requestBody: {
9290
+ content: {
9291
+ "application/json": components["schemas"]["ListenStart"];
9292
+ };
9293
+ };
9294
+ responses: {
9295
+ /** @description Successful Response */
9296
+ 201: {
9297
+ headers: {
9298
+ [name: string]: unknown;
9299
+ };
9300
+ content: {
9301
+ "application/json": components["schemas"]["ListenOut"];
9302
+ };
9303
+ };
9304
+ /** @description Validation Error */
9305
+ 422: {
9306
+ headers: {
9307
+ [name: string]: unknown;
9308
+ };
9309
+ content: {
9310
+ "application/json": components["schemas"]["HTTPValidationError"];
9311
+ };
9312
+ };
9313
+ };
9314
+ };
9315
+ request_pause_v1_enrollments__enrollment_id__pauses_post: {
9316
+ parameters: {
9317
+ query?: never;
9318
+ header?: {
9319
+ /** @description Membership the caller is acting through (from GET /v1/me) */
9320
+ "X-Guidistry-Context"?: string | null;
9321
+ };
9322
+ path: {
9323
+ enrollment_id: string;
8048
9324
  };
8049
9325
  cookie?: never;
8050
9326
  };
8051
9327
  requestBody: {
8052
9328
  content: {
8053
- "application/json": components["schemas"]["Reason"];
9329
+ "application/json": components["schemas"]["PauseRequest"];
8054
9330
  };
8055
9331
  };
8056
9332
  responses: {
8057
9333
  /** @description Successful Response */
8058
- 200: {
9334
+ 201: {
8059
9335
  headers: {
8060
9336
  [name: string]: unknown;
8061
9337
  };
8062
9338
  content: {
8063
- "application/json": components["schemas"]["NoteOut"];
9339
+ "application/json": components["schemas"]["PauseOut"];
8064
9340
  };
8065
9341
  };
8066
9342
  /** @description Validation Error */
@@ -8074,16 +9350,16 @@ export interface operations {
8074
9350
  };
8075
9351
  };
8076
9352
  };
8077
- enrollment_queue_v1_enrollment_queue_get: {
9353
+ enrollment_progress_v1_enrollments__enrollment_id__progress_get: {
8078
9354
  parameters: {
8079
- query?: {
8080
- cohort_id?: string | null;
8081
- };
9355
+ query?: never;
8082
9356
  header?: {
8083
9357
  /** @description Membership the caller is acting through (from GET /v1/me) */
8084
9358
  "X-Guidistry-Context"?: string | null;
8085
9359
  };
8086
- path?: never;
9360
+ path: {
9361
+ enrollment_id: string;
9362
+ };
8087
9363
  cookie?: never;
8088
9364
  };
8089
9365
  requestBody?: never;
@@ -8094,7 +9370,7 @@ export interface operations {
8094
9370
  [name: string]: unknown;
8095
9371
  };
8096
9372
  content: {
8097
- "application/json": components["schemas"]["QueueEntry"][];
9373
+ "application/json": components["schemas"]["ProgressOut"];
8098
9374
  };
8099
9375
  };
8100
9376
  /** @description Validation Error */
@@ -8108,19 +9384,16 @@ export interface operations {
8108
9384
  };
8109
9385
  };
8110
9386
  };
8111
- list_enrollments_v1_enrollments_get: {
9387
+ list_reviews_v1_enrollments__enrollment_id__reviews_get: {
8112
9388
  parameters: {
8113
- query?: {
8114
- cohort_id?: string | null;
8115
- patient_id?: string | null;
8116
- status?: string[] | null;
8117
- needs_review?: boolean;
8118
- };
9389
+ query?: never;
8119
9390
  header?: {
8120
9391
  /** @description Membership the caller is acting through (from GET /v1/me) */
8121
9392
  "X-Guidistry-Context"?: string | null;
8122
9393
  };
8123
- path?: never;
9394
+ path: {
9395
+ enrollment_id: string;
9396
+ };
8124
9397
  cookie?: never;
8125
9398
  };
8126
9399
  requestBody?: never;
@@ -8131,7 +9404,7 @@ export interface operations {
8131
9404
  [name: string]: unknown;
8132
9405
  };
8133
9406
  content: {
8134
- "application/json": components["schemas"]["EnrollmentOut"][];
9407
+ "application/json": components["schemas"]["ReviewOut"][];
8135
9408
  };
8136
9409
  };
8137
9410
  /** @description Validation Error */
@@ -8145,29 +9418,32 @@ export interface operations {
8145
9418
  };
8146
9419
  };
8147
9420
  };
8148
- create_enrollment_v1_enrollments_post: {
9421
+ decide_review_v1_enrollments__enrollment_id__reviews__review_id__decide_post: {
8149
9422
  parameters: {
8150
9423
  query?: never;
8151
9424
  header?: {
8152
9425
  /** @description Membership the caller is acting through (from GET /v1/me) */
8153
9426
  "X-Guidistry-Context"?: string | null;
8154
9427
  };
8155
- path?: never;
9428
+ path: {
9429
+ enrollment_id: string;
9430
+ review_id: string;
9431
+ };
8156
9432
  cookie?: never;
8157
9433
  };
8158
9434
  requestBody: {
8159
9435
  content: {
8160
- "application/json": components["schemas"]["EnrollmentCreate"];
9436
+ "application/json": components["schemas"]["ReviewDecision"];
8161
9437
  };
8162
9438
  };
8163
9439
  responses: {
8164
9440
  /** @description Successful Response */
8165
- 201: {
9441
+ 200: {
8166
9442
  headers: {
8167
9443
  [name: string]: unknown;
8168
9444
  };
8169
9445
  content: {
8170
- "application/json": components["schemas"]["EnrollmentOut"];
9446
+ "application/json": components["schemas"]["ReviewOut"];
8171
9447
  };
8172
9448
  };
8173
9449
  /** @description Validation Error */
@@ -8181,7 +9457,7 @@ export interface operations {
8181
9457
  };
8182
9458
  };
8183
9459
  };
8184
- get_enrollment_v1_enrollments__enrollment_id__get: {
9460
+ enrollment_schedule_v1_enrollments__enrollment_id__schedule_get: {
8185
9461
  parameters: {
8186
9462
  query?: never;
8187
9463
  header?: {
@@ -8201,7 +9477,7 @@ export interface operations {
8201
9477
  [name: string]: unknown;
8202
9478
  };
8203
9479
  content: {
8204
- "application/json": components["schemas"]["EnrollmentOut"];
9480
+ "application/json": components["schemas"]["EnrollmentScheduleOut"];
8205
9481
  };
8206
9482
  };
8207
9483
  /** @description Validation Error */
@@ -8215,21 +9491,24 @@ export interface operations {
8215
9491
  };
8216
9492
  };
8217
9493
  };
8218
- enrollment_content_v1_enrollments__enrollment_id__content_get: {
9494
+ open_session_v1_enrollments__enrollment_id__sessions__number__open_post: {
8219
9495
  parameters: {
8220
- query?: {
8221
- language?: string | null;
8222
- };
9496
+ query?: never;
8223
9497
  header?: {
8224
9498
  /** @description Membership the caller is acting through (from GET /v1/me) */
8225
9499
  "X-Guidistry-Context"?: string | null;
8226
9500
  };
8227
9501
  path: {
8228
9502
  enrollment_id: string;
9503
+ number: number;
8229
9504
  };
8230
9505
  cookie?: never;
8231
9506
  };
8232
- requestBody?: never;
9507
+ requestBody: {
9508
+ content: {
9509
+ "application/json": components["schemas"]["OpenSessionIn"];
9510
+ };
9511
+ };
8233
9512
  responses: {
8234
9513
  /** @description Successful Response */
8235
9514
  200: {
@@ -8237,7 +9516,7 @@ export interface operations {
8237
9516
  [name: string]: unknown;
8238
9517
  };
8239
9518
  content: {
8240
- "application/json": components["schemas"]["EnrollmentContentOut"];
9519
+ "application/json": components["schemas"]["ProgressOut"];
8241
9520
  };
8242
9521
  };
8243
9522
  /** @description Validation Error */
@@ -8251,7 +9530,7 @@ export interface operations {
8251
9530
  };
8252
9531
  };
8253
9532
  };
8254
- request_pause_v1_enrollments__enrollment_id__pauses_post: {
9533
+ transition_enrollment_v1_enrollments__enrollment_id__transition_post: {
8255
9534
  parameters: {
8256
9535
  query?: never;
8257
9536
  header?: {
@@ -8265,17 +9544,17 @@ export interface operations {
8265
9544
  };
8266
9545
  requestBody: {
8267
9546
  content: {
8268
- "application/json": components["schemas"]["PauseRequest"];
9547
+ "application/json": components["schemas"]["EnrollmentTransition"];
8269
9548
  };
8270
9549
  };
8271
9550
  responses: {
8272
9551
  /** @description Successful Response */
8273
- 201: {
9552
+ 200: {
8274
9553
  headers: {
8275
9554
  [name: string]: unknown;
8276
9555
  };
8277
9556
  content: {
8278
- "application/json": components["schemas"]["PauseOut"];
9557
+ "application/json": components["schemas"]["EnrollmentOut"];
8279
9558
  };
8280
9559
  };
8281
9560
  /** @description Validation Error */
@@ -8289,7 +9568,7 @@ export interface operations {
8289
9568
  };
8290
9569
  };
8291
9570
  };
8292
- list_reviews_v1_enrollments__enrollment_id__reviews_get: {
9571
+ start_attachment_v1_enrollments__enrollment_id__writing_attachments_post: {
8293
9572
  parameters: {
8294
9573
  query?: never;
8295
9574
  header?: {
@@ -8301,15 +9580,19 @@ export interface operations {
8301
9580
  };
8302
9581
  cookie?: never;
8303
9582
  };
8304
- requestBody?: never;
9583
+ requestBody: {
9584
+ content: {
9585
+ "application/json": components["schemas"]["AttachmentStart"];
9586
+ };
9587
+ };
8305
9588
  responses: {
8306
9589
  /** @description Successful Response */
8307
- 200: {
9590
+ 201: {
8308
9591
  headers: {
8309
9592
  [name: string]: unknown;
8310
9593
  };
8311
9594
  content: {
8312
- "application/json": components["schemas"]["ReviewOut"][];
9595
+ "application/json": components["schemas"]["AttachmentStartOut"];
8313
9596
  };
8314
9597
  };
8315
9598
  /** @description Validation Error */
@@ -8323,7 +9606,7 @@ export interface operations {
8323
9606
  };
8324
9607
  };
8325
9608
  };
8326
- decide_review_v1_enrollments__enrollment_id__reviews__review_id__decide_post: {
9609
+ writing_policy_v1_enrollments__enrollment_id__writing_policy_get: {
8327
9610
  parameters: {
8328
9611
  query?: never;
8329
9612
  header?: {
@@ -8332,15 +9615,10 @@ export interface operations {
8332
9615
  };
8333
9616
  path: {
8334
9617
  enrollment_id: string;
8335
- review_id: string;
8336
9618
  };
8337
9619
  cookie?: never;
8338
9620
  };
8339
- requestBody: {
8340
- content: {
8341
- "application/json": components["schemas"]["ReviewDecision"];
8342
- };
8343
- };
9621
+ requestBody?: never;
8344
9622
  responses: {
8345
9623
  /** @description Successful Response */
8346
9624
  200: {
@@ -8348,7 +9626,7 @@ export interface operations {
8348
9626
  [name: string]: unknown;
8349
9627
  };
8350
9628
  content: {
8351
- "application/json": components["schemas"]["ReviewOut"];
9629
+ "application/json": components["schemas"]["WritingPolicyOut"];
8352
9630
  };
8353
9631
  };
8354
9632
  /** @description Validation Error */
@@ -8362,7 +9640,7 @@ export interface operations {
8362
9640
  };
8363
9641
  };
8364
9642
  };
8365
- enrollment_schedule_v1_enrollments__enrollment_id__schedule_get: {
9643
+ list_writings_v1_enrollments__enrollment_id__writings_get: {
8366
9644
  parameters: {
8367
9645
  query?: never;
8368
9646
  header?: {
@@ -8382,7 +9660,7 @@ export interface operations {
8382
9660
  [name: string]: unknown;
8383
9661
  };
8384
9662
  content: {
8385
- "application/json": components["schemas"]["EnrollmentScheduleOut"];
9663
+ "application/json": components["schemas"]["WritingOut"][];
8386
9664
  };
8387
9665
  };
8388
9666
  /** @description Validation Error */
@@ -8396,7 +9674,7 @@ export interface operations {
8396
9674
  };
8397
9675
  };
8398
9676
  };
8399
- transition_enrollment_v1_enrollments__enrollment_id__transition_post: {
9677
+ submit_writing_v1_enrollments__enrollment_id__writings_post: {
8400
9678
  parameters: {
8401
9679
  query?: never;
8402
9680
  header?: {
@@ -8410,17 +9688,17 @@ export interface operations {
8410
9688
  };
8411
9689
  requestBody: {
8412
9690
  content: {
8413
- "application/json": components["schemas"]["EnrollmentTransition"];
9691
+ "application/json": components["schemas"]["WritingIn"];
8414
9692
  };
8415
9693
  };
8416
9694
  responses: {
8417
9695
  /** @description Successful Response */
8418
- 200: {
9696
+ 201: {
8419
9697
  headers: {
8420
9698
  [name: string]: unknown;
8421
9699
  };
8422
9700
  content: {
8423
- "application/json": components["schemas"]["EnrollmentOut"];
9701
+ "application/json": components["schemas"]["WritingOut"];
8424
9702
  };
8425
9703
  };
8426
9704
  /** @description Validation Error */
@@ -8810,6 +10088,44 @@ export interface operations {
8810
10088
  };
8811
10089
  };
8812
10090
  };
10091
+ report_listen_v1_listens__listen_id__reports_post: {
10092
+ parameters: {
10093
+ query?: never;
10094
+ header?: {
10095
+ /** @description Membership the caller is acting through (from GET /v1/me) */
10096
+ "X-Guidistry-Context"?: string | null;
10097
+ };
10098
+ path: {
10099
+ listen_id: string;
10100
+ };
10101
+ cookie?: never;
10102
+ };
10103
+ requestBody: {
10104
+ content: {
10105
+ "application/json": components["schemas"]["ListenReport"];
10106
+ };
10107
+ };
10108
+ responses: {
10109
+ /** @description Successful Response */
10110
+ 200: {
10111
+ headers: {
10112
+ [name: string]: unknown;
10113
+ };
10114
+ content: {
10115
+ "application/json": components["schemas"]["ListenOut"];
10116
+ };
10117
+ };
10118
+ /** @description Validation Error */
10119
+ 422: {
10120
+ headers: {
10121
+ [name: string]: unknown;
10122
+ };
10123
+ content: {
10124
+ "application/json": components["schemas"]["HTTPValidationError"];
10125
+ };
10126
+ };
10127
+ };
10128
+ };
8813
10129
  live_event_v1_live_sessions__session_id__events_post: {
8814
10130
  parameters: {
8815
10131
  query?: never;
@@ -11021,4 +12337,144 @@ export interface operations {
11021
12337
  };
11022
12338
  };
11023
12339
  };
12340
+ complete_attachment_v1_writing_attachments__attachment_id__complete_post: {
12341
+ parameters: {
12342
+ query?: never;
12343
+ header?: {
12344
+ /** @description Membership the caller is acting through (from GET /v1/me) */
12345
+ "X-Guidistry-Context"?: string | null;
12346
+ };
12347
+ path: {
12348
+ attachment_id: string;
12349
+ };
12350
+ cookie?: never;
12351
+ };
12352
+ requestBody?: never;
12353
+ responses: {
12354
+ /** @description Successful Response */
12355
+ 200: {
12356
+ headers: {
12357
+ [name: string]: unknown;
12358
+ };
12359
+ content: {
12360
+ "application/json": components["schemas"]["AttachmentOut"];
12361
+ };
12362
+ };
12363
+ /** @description Validation Error */
12364
+ 422: {
12365
+ headers: {
12366
+ [name: string]: unknown;
12367
+ };
12368
+ content: {
12369
+ "application/json": components["schemas"]["HTTPValidationError"];
12370
+ };
12371
+ };
12372
+ };
12373
+ };
12374
+ attachment_link_v1_writing_attachments__attachment_id__link_get: {
12375
+ parameters: {
12376
+ query?: never;
12377
+ header?: {
12378
+ /** @description Membership the caller is acting through (from GET /v1/me) */
12379
+ "X-Guidistry-Context"?: string | null;
12380
+ };
12381
+ path: {
12382
+ attachment_id: string;
12383
+ };
12384
+ cookie?: never;
12385
+ };
12386
+ requestBody?: never;
12387
+ responses: {
12388
+ /** @description Successful Response */
12389
+ 200: {
12390
+ headers: {
12391
+ [name: string]: unknown;
12392
+ };
12393
+ content: {
12394
+ "application/json": components["schemas"]["LinkOut"];
12395
+ };
12396
+ };
12397
+ /** @description Validation Error */
12398
+ 422: {
12399
+ headers: {
12400
+ [name: string]: unknown;
12401
+ };
12402
+ content: {
12403
+ "application/json": components["schemas"]["HTTPValidationError"];
12404
+ };
12405
+ };
12406
+ };
12407
+ };
12408
+ retract_writing_v1_writings__writing_id__retract_post: {
12409
+ parameters: {
12410
+ query?: never;
12411
+ header?: {
12412
+ /** @description Membership the caller is acting through (from GET /v1/me) */
12413
+ "X-Guidistry-Context"?: string | null;
12414
+ };
12415
+ path: {
12416
+ writing_id: string;
12417
+ };
12418
+ cookie?: never;
12419
+ };
12420
+ requestBody?: never;
12421
+ responses: {
12422
+ /** @description Successful Response */
12423
+ 200: {
12424
+ headers: {
12425
+ [name: string]: unknown;
12426
+ };
12427
+ content: {
12428
+ "application/json": components["schemas"]["WritingOut"];
12429
+ };
12430
+ };
12431
+ /** @description Validation Error */
12432
+ 422: {
12433
+ headers: {
12434
+ [name: string]: unknown;
12435
+ };
12436
+ content: {
12437
+ "application/json": components["schemas"]["HTTPValidationError"];
12438
+ };
12439
+ };
12440
+ };
12441
+ };
12442
+ revise_writing_v1_writings__writing_id__revisions_post: {
12443
+ parameters: {
12444
+ query?: never;
12445
+ header?: {
12446
+ /** @description Membership the caller is acting through (from GET /v1/me) */
12447
+ "X-Guidistry-Context"?: string | null;
12448
+ };
12449
+ path: {
12450
+ writing_id: string;
12451
+ };
12452
+ cookie?: never;
12453
+ };
12454
+ requestBody: {
12455
+ content: {
12456
+ "application/json": components["schemas"]["WritingRevise"];
12457
+ };
12458
+ };
12459
+ responses: {
12460
+ /** @description Successful Response */
12461
+ 200: {
12462
+ headers: {
12463
+ [name: string]: unknown;
12464
+ };
12465
+ content: {
12466
+ "application/json": components["schemas"]["WritingOut"];
12467
+ };
12468
+ };
12469
+ /** @description Validation Error */
12470
+ 422: {
12471
+ headers: {
12472
+ [name: string]: unknown;
12473
+ };
12474
+ content: {
12475
+ "application/json": components["schemas"]["HTTPValidationError"];
12476
+ };
12477
+ };
12478
+ };
12479
+ };
11024
12480
  }