@brightoutcome/guidistry-client 0.10.0 → 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 +1605 -58
  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;
@@ -1747,6 +1906,27 @@ export interface paths {
1747
1906
  patch?: never;
1748
1907
  trace?: never;
1749
1908
  };
1909
+ "/v1/settings/{key}/history": {
1910
+ parameters: {
1911
+ query?: never;
1912
+ header?: never;
1913
+ path?: never;
1914
+ cookie?: never;
1915
+ };
1916
+ /**
1917
+ * A setting's changes at one scope (who, when, what, why)
1918
+ * @description Readable by anyone who can see settings at that scope (no ``audit.view`` needed).
1919
+ * Changes recorded before Nov 2026's module 5a carry no value or reason.
1920
+ */
1921
+ get: operations["setting_history_v1_settings__key__history_get"];
1922
+ put?: never;
1923
+ post?: never;
1924
+ delete?: never;
1925
+ options?: never;
1926
+ head?: never;
1927
+ patch?: never;
1928
+ trace?: never;
1929
+ };
1750
1930
  "/v1/speech/synthesize": {
1751
1931
  parameters: {
1752
1932
  query?: never;
@@ -2127,10 +2307,172 @@ export interface paths {
2127
2307
  patch?: never;
2128
2308
  trace?: never;
2129
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
+ };
2130
2378
  }
2131
2379
  export type webhooks = Record<string, never>;
2132
2380
  export interface components {
2133
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
+ };
2134
2476
  /** AdaptationIn */
2135
2477
  AdaptationIn: {
2136
2478
  /** Text */
@@ -2409,25 +2751,73 @@ export interface components {
2409
2751
  /** Code */
2410
2752
  code: string;
2411
2753
  };
2412
- /** AttendanceIn */
2413
- AttendanceIn: {
2754
+ /** AttachmentOut */
2755
+ AttachmentOut: {
2756
+ /** Content Type */
2757
+ content_type: string;
2758
+ /** Duration Seconds */
2759
+ duration_seconds: number | null;
2414
2760
  /**
2415
- * Reason Code
2416
- * @description Excused: required
2761
+ * Id
2762
+ * Format: uuid
2417
2763
  */
2418
- reason_code?: ("illness" | "schedule_conflict" | "technical" | "other") | null;
2764
+ id: string;
2419
2765
  /**
2420
- * Reason Text
2421
- * @description Excused + other
2766
+ * Kind
2767
+ * @enum {string}
2422
2768
  */
2423
- reason_text?: string | null;
2769
+ kind: "image" | "audio";
2770
+ /** Size Bytes */
2771
+ size_bytes: number;
2424
2772
  /**
2425
- * Value
2773
+ * Status
2426
2774
  * @enum {string}
2427
2775
  */
2428
- value: "present" | "attended" | "late" | "absent" | "excused";
2776
+ status: "pending" | "ready" | "rejected";
2429
2777
  };
2430
- /** AttendanceOut */
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
+ };
2802
+ /** AttendanceIn */
2803
+ AttendanceIn: {
2804
+ /**
2805
+ * Reason Code
2806
+ * @description Excused: required
2807
+ */
2808
+ reason_code?: ("illness" | "schedule_conflict" | "technical" | "other") | null;
2809
+ /**
2810
+ * Reason Text
2811
+ * @description Excused + other
2812
+ */
2813
+ reason_text?: string | null;
2814
+ /**
2815
+ * Value
2816
+ * @enum {string}
2817
+ */
2818
+ value: "present" | "attended" | "late" | "absent" | "excused";
2819
+ };
2820
+ /** AttendanceOut */
2431
2821
  AttendanceOut: {
2432
2822
  /** Final */
2433
2823
  final: boolean;
@@ -2733,6 +3123,32 @@ export interface components {
2733
3123
  */
2734
3124
  visit_mode: "online" | "in_person" | "hybrid";
2735
3125
  };
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
+ };
2736
3152
  /** CohortUpdate */
2737
3153
  CohortUpdate: {
2738
3154
  /** Capacity */
@@ -2753,6 +3169,17 @@ export interface components {
2753
3169
  */
2754
3170
  visit_mode?: ("online" | "in_person" | "hybrid") | null;
2755
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
+ };
2756
3183
  /**
2757
3184
  * CourseContent
2758
3185
  * @description A whole course in one language.
@@ -3372,6 +3799,30 @@ export interface components {
3372
3799
  /** Rows */
3373
3800
  rows?: number | null;
3374
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
+ };
3375
3826
  /** GrantCreate */
3376
3827
  GrantCreate: {
3377
3828
  /** Ends At */
@@ -3704,6 +4155,32 @@ export interface components {
3704
4155
  */
3705
4156
  to_sign?: components["schemas"]["AgreementVersionOut"][];
3706
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
+ };
3707
4184
  /** JoinOut */
3708
4185
  JoinOut: {
3709
4186
  /**
@@ -3771,6 +4248,29 @@ export interface components {
3771
4248
  */
3772
4249
  visit_id: string;
3773
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
+ };
3774
4274
  /**
3775
4275
  * LayoutBlock
3776
4276
  * @description A named layout (acrostic, pyramid, cycle, …) with its lines, drawn by the app.
@@ -3838,6 +4338,106 @@ export interface components {
3838
4338
  */
3839
4339
  label: string;
3840
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
+ };
3841
4441
  /** LiveEventIn */
3842
4442
  LiveEventIn: {
3843
4443
  /**
@@ -4081,6 +4681,43 @@ export interface components {
4081
4681
  /** Present Since */
4082
4682
  present_since: string | null;
4083
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
+ };
4084
4721
  /** MembershipOut */
4085
4722
  MembershipOut: {
4086
4723
  /** Ends At */
@@ -4109,6 +4746,18 @@ export interface components {
4109
4746
  /** Status */
4110
4747
  status?: ("active" | "suspended" | "ended") | null;
4111
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
+ };
4112
4761
  /** Module */
4113
4762
  Module: {
4114
4763
  /** Description */
@@ -4228,6 +4877,20 @@ export interface components {
4228
4877
  /** Suffix */
4229
4878
  suffix?: string | null;
4230
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
+ };
4231
4894
  /** NoteFill */
4232
4895
  NoteFill: {
4233
4896
  /** Base Version */
@@ -4403,6 +5066,11 @@ export interface components {
4403
5066
  /** Version Label */
4404
5067
  version_label: string | null;
4405
5068
  };
5069
+ /** OpenSessionIn */
5070
+ OpenSessionIn: {
5071
+ /** Reason */
5072
+ reason: string;
5073
+ };
4406
5074
  /** OrgUnitCreate */
4407
5075
  OrgUnitCreate: {
4408
5076
  /** Name */
@@ -4823,6 +5491,50 @@ export interface components {
4823
5491
  media: components["schemas"]["MediaRef"];
4824
5492
  tags?: components["schemas"]["Tags"] | null;
4825
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
+ };
4826
5538
  /**
4827
5539
  * Principal
4828
5540
  * @description The signed-in caller, as Cognito vouches for them.
@@ -4892,6 +5604,11 @@ export interface components {
4892
5604
  * Format: uuid
4893
5605
  */
4894
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;
4895
5612
  /** Name */
4896
5613
  name: string;
4897
5614
  /**
@@ -4952,6 +5669,17 @@ export interface components {
4952
5669
  /** Version Key */
4953
5670
  version_key: string | null;
4954
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
+ };
4955
5683
  /** ProgramUpdate */
4956
5684
  ProgramUpdate: {
4957
5685
  /**
@@ -4971,6 +5699,57 @@ export interface components {
4971
5699
  /** Version Key */
4972
5700
  version_key?: string | null;
4973
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
+ };
4974
5753
  /** Prompt */
4975
5754
  Prompt: {
4976
5755
  /**
@@ -5094,10 +5873,12 @@ export interface components {
5094
5873
  patient_id: string;
5095
5874
  /**
5096
5875
  * Prework
5097
- * @default not_available
5098
- * @constant
5876
+ * @description Module 6: every required item of the visit's session done before it starts
5877
+ * @default not_required
5878
+ * @enum {string}
5099
5879
  */
5100
- prework: "not_available";
5880
+ prework: "done" | "outstanding" | "not_required" | "not_open_yet";
5881
+ prework_detail?: components["schemas"]["PreworkOut"] | null;
5101
5882
  /**
5102
5883
  * Pros
5103
5884
  * @default not_available
@@ -5114,6 +5895,16 @@ export interface components {
5114
5895
  ReadinessOut: {
5115
5896
  /** Members */
5116
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;
5117
5908
  /**
5118
5909
  * Visit Id
5119
5910
  * Format: uuid
@@ -5425,6 +6216,17 @@ export interface components {
5425
6216
  key: string;
5426
6217
  /** Number */
5427
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;
5428
6230
  /** Opens At */
5429
6231
  opens_at: string | null;
5430
6232
  /**
@@ -5435,6 +6237,38 @@ export interface components {
5435
6237
  /** Title */
5436
6238
  title: string;
5437
6239
  };
6240
+ /** SettingHistoryEntry */
6241
+ SettingHistoryEntry: {
6242
+ /**
6243
+ * Action
6244
+ * @enum {string}
6245
+ */
6246
+ action: "change" | "reset";
6247
+ /** Actor Person Id */
6248
+ actor_person_id: string | null;
6249
+ /**
6250
+ * At
6251
+ * Format: date-time
6252
+ */
6253
+ at: string;
6254
+ /**
6255
+ * Detailed
6256
+ * @description False for changes recorded before value/reason were kept
6257
+ */
6258
+ detailed: boolean;
6259
+ /**
6260
+ * Previous
6261
+ * @description The value at this scope before (null: inherited)
6262
+ */
6263
+ previous?: unknown;
6264
+ /** Reason */
6265
+ reason: string | null;
6266
+ /**
6267
+ * Value
6268
+ * @description The new value (change); null for a reset
6269
+ */
6270
+ value?: unknown;
6271
+ };
5438
6272
  /** SettingOut */
5439
6273
  SettingOut: {
5440
6274
  /** Allowed Levels */
@@ -5828,6 +6662,24 @@ export interface components {
5828
6662
  /** Text */
5829
6663
  text: string;
5830
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
+ };
5831
6683
  /** ValidationError */
5832
6684
  ValidationError: {
5833
6685
  /** Context */
@@ -6029,19 +6881,134 @@ export interface components {
6029
6881
  /** Name */
6030
6882
  name: string;
6031
6883
  };
6032
- /** RevisionOut */
6033
- guidistry_api__content__api_schemas__RevisionOut: {
6034
- /** Change Note */
6035
- change_note: string | null;
6884
+ /** WritingIn */
6885
+ WritingIn: {
6886
+ /** Attachment Ids */
6887
+ attachment_ids?: string[];
6036
6888
  /**
6037
- * Id
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
6038
6899
  * Format: uuid
6900
+ * @description journal: a journal prompt; written_practice and practice_note: a practice
6039
6901
  */
6040
- id: string;
6041
- /** Language */
6042
- language: string;
6043
- /** Number */
6044
- number: number;
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
+ };
6999
+ /** RevisionOut */
7000
+ guidistry_api__content__api_schemas__RevisionOut: {
7001
+ /** Change Note */
7002
+ change_note: string | null;
7003
+ /**
7004
+ * Id
7005
+ * Format: uuid
7006
+ */
7007
+ id: string;
7008
+ /** Language */
7009
+ language: string;
7010
+ /** Number */
7011
+ number: number;
6045
7012
  /**
6046
7013
  * Published At
6047
7014
  * Format: date-time
@@ -7077,6 +8044,40 @@ export interface operations {
7077
8044
  };
7078
8045
  };
7079
8046
  };
8047
+ cohort_progress_v1_cohorts__cohort_id__progress_get: {
8048
+ parameters: {
8049
+ query?: never;
8050
+ header?: {
8051
+ /** @description Membership the caller is acting through (from GET /v1/me) */
8052
+ "X-Guidistry-Context"?: string | null;
8053
+ };
8054
+ path: {
8055
+ cohort_id: string;
8056
+ };
8057
+ cookie?: never;
8058
+ };
8059
+ requestBody?: never;
8060
+ responses: {
8061
+ /** @description Successful Response */
8062
+ 200: {
8063
+ headers: {
8064
+ [name: string]: unknown;
8065
+ };
8066
+ content: {
8067
+ "application/json": components["schemas"]["CohortProgressOut"];
8068
+ };
8069
+ };
8070
+ /** @description Validation Error */
8071
+ 422: {
8072
+ headers: {
8073
+ [name: string]: unknown;
8074
+ };
8075
+ content: {
8076
+ "application/json": components["schemas"]["HTTPValidationError"];
8077
+ };
8078
+ };
8079
+ };
8080
+ };
7080
8081
  cohort_settings_v1_cohorts__cohort_id__settings_get: {
7081
8082
  parameters: {
7082
8083
  query?: never;
@@ -8099,22 +9100,350 @@ export interface operations {
8099
9100
  /** @description Membership the caller is acting through (from GET /v1/me) */
8100
9101
  "X-Guidistry-Context"?: string | null;
8101
9102
  };
8102
- path?: never;
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;
9324
+ };
9325
+ cookie?: never;
9326
+ };
9327
+ requestBody: {
9328
+ content: {
9329
+ "application/json": components["schemas"]["PauseRequest"];
9330
+ };
9331
+ };
9332
+ responses: {
9333
+ /** @description Successful Response */
9334
+ 201: {
9335
+ headers: {
9336
+ [name: string]: unknown;
9337
+ };
9338
+ content: {
9339
+ "application/json": components["schemas"]["PauseOut"];
9340
+ };
9341
+ };
9342
+ /** @description Validation Error */
9343
+ 422: {
9344
+ headers: {
9345
+ [name: string]: unknown;
9346
+ };
9347
+ content: {
9348
+ "application/json": components["schemas"]["HTTPValidationError"];
9349
+ };
9350
+ };
9351
+ };
9352
+ };
9353
+ enrollment_progress_v1_enrollments__enrollment_id__progress_get: {
9354
+ parameters: {
9355
+ query?: never;
9356
+ header?: {
9357
+ /** @description Membership the caller is acting through (from GET /v1/me) */
9358
+ "X-Guidistry-Context"?: string | null;
9359
+ };
9360
+ path: {
9361
+ enrollment_id: string;
9362
+ };
9363
+ cookie?: never;
9364
+ };
9365
+ requestBody?: never;
9366
+ responses: {
9367
+ /** @description Successful Response */
9368
+ 200: {
9369
+ headers: {
9370
+ [name: string]: unknown;
9371
+ };
9372
+ content: {
9373
+ "application/json": components["schemas"]["ProgressOut"];
9374
+ };
9375
+ };
9376
+ /** @description Validation Error */
9377
+ 422: {
9378
+ headers: {
9379
+ [name: string]: unknown;
9380
+ };
9381
+ content: {
9382
+ "application/json": components["schemas"]["HTTPValidationError"];
9383
+ };
9384
+ };
9385
+ };
9386
+ };
9387
+ list_reviews_v1_enrollments__enrollment_id__reviews_get: {
9388
+ parameters: {
9389
+ query?: never;
9390
+ header?: {
9391
+ /** @description Membership the caller is acting through (from GET /v1/me) */
9392
+ "X-Guidistry-Context"?: string | null;
9393
+ };
9394
+ path: {
9395
+ enrollment_id: string;
9396
+ };
9397
+ cookie?: never;
9398
+ };
9399
+ requestBody?: never;
9400
+ responses: {
9401
+ /** @description Successful Response */
9402
+ 200: {
9403
+ headers: {
9404
+ [name: string]: unknown;
9405
+ };
9406
+ content: {
9407
+ "application/json": components["schemas"]["ReviewOut"][];
9408
+ };
9409
+ };
9410
+ /** @description Validation Error */
9411
+ 422: {
9412
+ headers: {
9413
+ [name: string]: unknown;
9414
+ };
9415
+ content: {
9416
+ "application/json": components["schemas"]["HTTPValidationError"];
9417
+ };
9418
+ };
9419
+ };
9420
+ };
9421
+ decide_review_v1_enrollments__enrollment_id__reviews__review_id__decide_post: {
9422
+ parameters: {
9423
+ query?: never;
9424
+ header?: {
9425
+ /** @description Membership the caller is acting through (from GET /v1/me) */
9426
+ "X-Guidistry-Context"?: string | null;
9427
+ };
9428
+ path: {
9429
+ enrollment_id: string;
9430
+ review_id: string;
9431
+ };
8103
9432
  cookie?: never;
8104
9433
  };
8105
9434
  requestBody: {
8106
9435
  content: {
8107
- "application/json": components["schemas"]["EnrollmentCreate"];
9436
+ "application/json": components["schemas"]["ReviewDecision"];
8108
9437
  };
8109
9438
  };
8110
9439
  responses: {
8111
9440
  /** @description Successful Response */
8112
- 201: {
9441
+ 200: {
8113
9442
  headers: {
8114
9443
  [name: string]: unknown;
8115
9444
  };
8116
9445
  content: {
8117
- "application/json": components["schemas"]["EnrollmentOut"];
9446
+ "application/json": components["schemas"]["ReviewOut"];
8118
9447
  };
8119
9448
  };
8120
9449
  /** @description Validation Error */
@@ -8128,7 +9457,7 @@ export interface operations {
8128
9457
  };
8129
9458
  };
8130
9459
  };
8131
- get_enrollment_v1_enrollments__enrollment_id__get: {
9460
+ enrollment_schedule_v1_enrollments__enrollment_id__schedule_get: {
8132
9461
  parameters: {
8133
9462
  query?: never;
8134
9463
  header?: {
@@ -8148,7 +9477,7 @@ export interface operations {
8148
9477
  [name: string]: unknown;
8149
9478
  };
8150
9479
  content: {
8151
- "application/json": components["schemas"]["EnrollmentOut"];
9480
+ "application/json": components["schemas"]["EnrollmentScheduleOut"];
8152
9481
  };
8153
9482
  };
8154
9483
  /** @description Validation Error */
@@ -8162,21 +9491,24 @@ export interface operations {
8162
9491
  };
8163
9492
  };
8164
9493
  };
8165
- enrollment_content_v1_enrollments__enrollment_id__content_get: {
9494
+ open_session_v1_enrollments__enrollment_id__sessions__number__open_post: {
8166
9495
  parameters: {
8167
- query?: {
8168
- language?: string | null;
8169
- };
9496
+ query?: never;
8170
9497
  header?: {
8171
9498
  /** @description Membership the caller is acting through (from GET /v1/me) */
8172
9499
  "X-Guidistry-Context"?: string | null;
8173
9500
  };
8174
9501
  path: {
8175
9502
  enrollment_id: string;
9503
+ number: number;
8176
9504
  };
8177
9505
  cookie?: never;
8178
9506
  };
8179
- requestBody?: never;
9507
+ requestBody: {
9508
+ content: {
9509
+ "application/json": components["schemas"]["OpenSessionIn"];
9510
+ };
9511
+ };
8180
9512
  responses: {
8181
9513
  /** @description Successful Response */
8182
9514
  200: {
@@ -8184,7 +9516,7 @@ export interface operations {
8184
9516
  [name: string]: unknown;
8185
9517
  };
8186
9518
  content: {
8187
- "application/json": components["schemas"]["EnrollmentContentOut"];
9519
+ "application/json": components["schemas"]["ProgressOut"];
8188
9520
  };
8189
9521
  };
8190
9522
  /** @description Validation Error */
@@ -8198,7 +9530,7 @@ export interface operations {
8198
9530
  };
8199
9531
  };
8200
9532
  };
8201
- request_pause_v1_enrollments__enrollment_id__pauses_post: {
9533
+ transition_enrollment_v1_enrollments__enrollment_id__transition_post: {
8202
9534
  parameters: {
8203
9535
  query?: never;
8204
9536
  header?: {
@@ -8212,17 +9544,17 @@ export interface operations {
8212
9544
  };
8213
9545
  requestBody: {
8214
9546
  content: {
8215
- "application/json": components["schemas"]["PauseRequest"];
9547
+ "application/json": components["schemas"]["EnrollmentTransition"];
8216
9548
  };
8217
9549
  };
8218
9550
  responses: {
8219
9551
  /** @description Successful Response */
8220
- 201: {
9552
+ 200: {
8221
9553
  headers: {
8222
9554
  [name: string]: unknown;
8223
9555
  };
8224
9556
  content: {
8225
- "application/json": components["schemas"]["PauseOut"];
9557
+ "application/json": components["schemas"]["EnrollmentOut"];
8226
9558
  };
8227
9559
  };
8228
9560
  /** @description Validation Error */
@@ -8236,7 +9568,7 @@ export interface operations {
8236
9568
  };
8237
9569
  };
8238
9570
  };
8239
- list_reviews_v1_enrollments__enrollment_id__reviews_get: {
9571
+ start_attachment_v1_enrollments__enrollment_id__writing_attachments_post: {
8240
9572
  parameters: {
8241
9573
  query?: never;
8242
9574
  header?: {
@@ -8248,15 +9580,19 @@ export interface operations {
8248
9580
  };
8249
9581
  cookie?: never;
8250
9582
  };
8251
- requestBody?: never;
9583
+ requestBody: {
9584
+ content: {
9585
+ "application/json": components["schemas"]["AttachmentStart"];
9586
+ };
9587
+ };
8252
9588
  responses: {
8253
9589
  /** @description Successful Response */
8254
- 200: {
9590
+ 201: {
8255
9591
  headers: {
8256
9592
  [name: string]: unknown;
8257
9593
  };
8258
9594
  content: {
8259
- "application/json": components["schemas"]["ReviewOut"][];
9595
+ "application/json": components["schemas"]["AttachmentStartOut"];
8260
9596
  };
8261
9597
  };
8262
9598
  /** @description Validation Error */
@@ -8270,7 +9606,7 @@ export interface operations {
8270
9606
  };
8271
9607
  };
8272
9608
  };
8273
- decide_review_v1_enrollments__enrollment_id__reviews__review_id__decide_post: {
9609
+ writing_policy_v1_enrollments__enrollment_id__writing_policy_get: {
8274
9610
  parameters: {
8275
9611
  query?: never;
8276
9612
  header?: {
@@ -8279,15 +9615,10 @@ export interface operations {
8279
9615
  };
8280
9616
  path: {
8281
9617
  enrollment_id: string;
8282
- review_id: string;
8283
9618
  };
8284
9619
  cookie?: never;
8285
9620
  };
8286
- requestBody: {
8287
- content: {
8288
- "application/json": components["schemas"]["ReviewDecision"];
8289
- };
8290
- };
9621
+ requestBody?: never;
8291
9622
  responses: {
8292
9623
  /** @description Successful Response */
8293
9624
  200: {
@@ -8295,7 +9626,7 @@ export interface operations {
8295
9626
  [name: string]: unknown;
8296
9627
  };
8297
9628
  content: {
8298
- "application/json": components["schemas"]["ReviewOut"];
9629
+ "application/json": components["schemas"]["WritingPolicyOut"];
8299
9630
  };
8300
9631
  };
8301
9632
  /** @description Validation Error */
@@ -8309,7 +9640,7 @@ export interface operations {
8309
9640
  };
8310
9641
  };
8311
9642
  };
8312
- enrollment_schedule_v1_enrollments__enrollment_id__schedule_get: {
9643
+ list_writings_v1_enrollments__enrollment_id__writings_get: {
8313
9644
  parameters: {
8314
9645
  query?: never;
8315
9646
  header?: {
@@ -8329,7 +9660,7 @@ export interface operations {
8329
9660
  [name: string]: unknown;
8330
9661
  };
8331
9662
  content: {
8332
- "application/json": components["schemas"]["EnrollmentScheduleOut"];
9663
+ "application/json": components["schemas"]["WritingOut"][];
8333
9664
  };
8334
9665
  };
8335
9666
  /** @description Validation Error */
@@ -8343,7 +9674,7 @@ export interface operations {
8343
9674
  };
8344
9675
  };
8345
9676
  };
8346
- transition_enrollment_v1_enrollments__enrollment_id__transition_post: {
9677
+ submit_writing_v1_enrollments__enrollment_id__writings_post: {
8347
9678
  parameters: {
8348
9679
  query?: never;
8349
9680
  header?: {
@@ -8357,17 +9688,17 @@ export interface operations {
8357
9688
  };
8358
9689
  requestBody: {
8359
9690
  content: {
8360
- "application/json": components["schemas"]["EnrollmentTransition"];
9691
+ "application/json": components["schemas"]["WritingIn"];
8361
9692
  };
8362
9693
  };
8363
9694
  responses: {
8364
9695
  /** @description Successful Response */
8365
- 200: {
9696
+ 201: {
8366
9697
  headers: {
8367
9698
  [name: string]: unknown;
8368
9699
  };
8369
9700
  content: {
8370
- "application/json": components["schemas"]["EnrollmentOut"];
9701
+ "application/json": components["schemas"]["WritingOut"];
8371
9702
  };
8372
9703
  };
8373
9704
  /** @description Validation Error */
@@ -8757,6 +10088,44 @@ export interface operations {
8757
10088
  };
8758
10089
  };
8759
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
+ };
8760
10129
  live_event_v1_live_sessions__session_id__events_post: {
8761
10130
  parameters: {
8762
10131
  query?: never;
@@ -10111,6 +11480,44 @@ export interface operations {
10111
11480
  };
10112
11481
  };
10113
11482
  };
11483
+ setting_history_v1_settings__key__history_get: {
11484
+ parameters: {
11485
+ query: {
11486
+ level: string;
11487
+ scope_id: string;
11488
+ limit?: number;
11489
+ };
11490
+ header?: {
11491
+ /** @description Membership the caller is acting through (from GET /v1/me) */
11492
+ "X-Guidistry-Context"?: string | null;
11493
+ };
11494
+ path: {
11495
+ key: string;
11496
+ };
11497
+ cookie?: never;
11498
+ };
11499
+ requestBody?: never;
11500
+ responses: {
11501
+ /** @description Successful Response */
11502
+ 200: {
11503
+ headers: {
11504
+ [name: string]: unknown;
11505
+ };
11506
+ content: {
11507
+ "application/json": components["schemas"]["SettingHistoryEntry"][];
11508
+ };
11509
+ };
11510
+ /** @description Validation Error */
11511
+ 422: {
11512
+ headers: {
11513
+ [name: string]: unknown;
11514
+ };
11515
+ content: {
11516
+ "application/json": components["schemas"]["HTTPValidationError"];
11517
+ };
11518
+ };
11519
+ };
11520
+ };
10114
11521
  synthesize_v1_speech_synthesize_post: {
10115
11522
  parameters: {
10116
11523
  query?: never;
@@ -10930,4 +12337,144 @@ export interface operations {
10930
12337
  };
10931
12338
  };
10932
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
+ };
10933
12480
  }