@brightoutcome/guidistry-client 0.0.0 → 0.1.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.
@@ -0,0 +1,1671 @@
1
+ /**
2
+ * This file was auto-generated by openapi-typescript.
3
+ * Do not make direct changes to the file.
4
+ */
5
+
6
+ export interface paths {
7
+ "/": {
8
+ parameters: {
9
+ query?: never;
10
+ header?: never;
11
+ path?: never;
12
+ cookie?: never;
13
+ };
14
+ /** Service Info */
15
+ get: operations["service_info__get"];
16
+ put?: never;
17
+ post?: never;
18
+ delete?: never;
19
+ options?: never;
20
+ head?: never;
21
+ patch?: never;
22
+ trace?: never;
23
+ };
24
+ "/health/live": {
25
+ parameters: {
26
+ query?: never;
27
+ header?: never;
28
+ path?: never;
29
+ cookie?: never;
30
+ };
31
+ /** Live */
32
+ get: operations["live_health_live_get"];
33
+ put?: never;
34
+ post?: never;
35
+ delete?: never;
36
+ options?: never;
37
+ head?: never;
38
+ patch?: never;
39
+ trace?: never;
40
+ };
41
+ "/health/ready": {
42
+ parameters: {
43
+ query?: never;
44
+ header?: never;
45
+ path?: never;
46
+ cookie?: never;
47
+ };
48
+ /** Ready */
49
+ get: operations["ready_health_ready_get"];
50
+ put?: never;
51
+ post?: never;
52
+ delete?: never;
53
+ options?: never;
54
+ head?: never;
55
+ patch?: never;
56
+ trace?: never;
57
+ };
58
+ "/me": {
59
+ parameters: {
60
+ query?: never;
61
+ header?: never;
62
+ path?: never;
63
+ cookie?: never;
64
+ };
65
+ /** Who am I (from the access token) */
66
+ get: operations["me_me_get"];
67
+ put?: never;
68
+ post?: never;
69
+ delete?: never;
70
+ options?: never;
71
+ head?: never;
72
+ patch?: never;
73
+ trace?: never;
74
+ };
75
+ "/v1/audit-events": {
76
+ parameters: {
77
+ query?: never;
78
+ header?: never;
79
+ path?: never;
80
+ cookie?: never;
81
+ };
82
+ /** Audit trail */
83
+ get: operations["list_audit_events_v1_audit_events_get"];
84
+ put?: never;
85
+ post?: never;
86
+ delete?: never;
87
+ options?: never;
88
+ head?: never;
89
+ patch?: never;
90
+ trace?: never;
91
+ };
92
+ "/v1/auth/start": {
93
+ parameters: {
94
+ query?: never;
95
+ header?: never;
96
+ path?: never;
97
+ cookie?: never;
98
+ };
99
+ get?: never;
100
+ put?: never;
101
+ /**
102
+ * Identifier-first sign-in: where to send this person (no sign-in required)
103
+ * @description Routes by policy, never revealing whether an account exists (design §7).
104
+ *
105
+ * Today: SSO if the email's domain has a connection; otherwise the normal Cognito methods.
106
+ * Account-level SSO requirements (a known person whose organization requires SSO) are added
107
+ * with the first SSO customer.
108
+ */
109
+ post: operations["auth_start_v1_auth_start_post"];
110
+ delete?: never;
111
+ options?: never;
112
+ head?: never;
113
+ patch?: never;
114
+ trace?: never;
115
+ };
116
+ "/v1/invitations": {
117
+ parameters: {
118
+ query?: never;
119
+ header?: never;
120
+ path?: never;
121
+ cookie?: never;
122
+ };
123
+ /** Pending invitations */
124
+ get: operations["list_invitations_v1_invitations_get"];
125
+ put?: never;
126
+ /** Invite someone by email */
127
+ post: operations["create_invitation_v1_invitations_post"];
128
+ delete?: never;
129
+ options?: never;
130
+ head?: never;
131
+ patch?: never;
132
+ trace?: never;
133
+ };
134
+ "/v1/invitations/by-token/{token}": {
135
+ parameters: {
136
+ query?: never;
137
+ header?: never;
138
+ path?: never;
139
+ cookie?: never;
140
+ };
141
+ /** What an invitation link is for (no sign-in required) */
142
+ get: operations["preview_invitation_v1_invitations_by_token__token__get"];
143
+ put?: never;
144
+ post?: never;
145
+ delete?: never;
146
+ options?: never;
147
+ head?: never;
148
+ patch?: never;
149
+ trace?: never;
150
+ };
151
+ "/v1/invitations/by-token/{token}/accept": {
152
+ parameters: {
153
+ query?: never;
154
+ header?: never;
155
+ path?: never;
156
+ cookie?: never;
157
+ };
158
+ get?: never;
159
+ put?: never;
160
+ /**
161
+ * Accept an invitation: creates or links the sign-in account (no sign-in required)
162
+ * @description Opening the emailed link proves the person controls the address (design §7).
163
+ *
164
+ * If the address already has a Guidistry login (e.g. from another organization), the new
165
+ * membership links to it; the inviting organization is not told either way.
166
+ */
167
+ post: operations["accept_invitation_v1_invitations_by_token__token__accept_post"];
168
+ delete?: never;
169
+ options?: never;
170
+ head?: never;
171
+ patch?: never;
172
+ trace?: never;
173
+ };
174
+ "/v1/invitations/{invitation_id}/resend": {
175
+ parameters: {
176
+ query?: never;
177
+ header?: never;
178
+ path?: never;
179
+ cookie?: never;
180
+ };
181
+ get?: never;
182
+ put?: never;
183
+ /** Send a fresh link (the old link stops working) */
184
+ post: operations["resend_invitation_v1_invitations__invitation_id__resend_post"];
185
+ delete?: never;
186
+ options?: never;
187
+ head?: never;
188
+ patch?: never;
189
+ trace?: never;
190
+ };
191
+ "/v1/invitations/{invitation_id}/revoke": {
192
+ parameters: {
193
+ query?: never;
194
+ header?: never;
195
+ path?: never;
196
+ cookie?: never;
197
+ };
198
+ get?: never;
199
+ put?: never;
200
+ /** Revoke Invitation */
201
+ post: operations["revoke_invitation_v1_invitations__invitation_id__revoke_post"];
202
+ delete?: never;
203
+ options?: never;
204
+ head?: never;
205
+ patch?: never;
206
+ trace?: never;
207
+ };
208
+ "/v1/me": {
209
+ parameters: {
210
+ query?: never;
211
+ header?: never;
212
+ path?: never;
213
+ cookie?: never;
214
+ };
215
+ /** The signed-in person and their contexts */
216
+ get: operations["me_v1_me_get"];
217
+ put?: never;
218
+ post?: never;
219
+ delete?: never;
220
+ options?: never;
221
+ head?: never;
222
+ patch?: never;
223
+ trace?: never;
224
+ };
225
+ "/v1/memberships/{membership_id}": {
226
+ parameters: {
227
+ query?: never;
228
+ header?: never;
229
+ path?: never;
230
+ cookie?: never;
231
+ };
232
+ get?: never;
233
+ put?: never;
234
+ post?: never;
235
+ delete?: never;
236
+ options?: never;
237
+ head?: never;
238
+ /** Change someone's role, or suspend or end their membership */
239
+ patch: operations["update_membership_v1_memberships__membership_id__patch"];
240
+ trace?: never;
241
+ };
242
+ "/v1/org-units": {
243
+ parameters: {
244
+ query?: never;
245
+ header?: never;
246
+ path?: never;
247
+ cookie?: never;
248
+ };
249
+ /** Units this context reaches */
250
+ get: operations["list_org_units_v1_org_units_get"];
251
+ put?: never;
252
+ /** Create a unit (a top-level customer, or a unit inside this organization) */
253
+ post: operations["create_org_unit_v1_org_units_post"];
254
+ delete?: never;
255
+ options?: never;
256
+ head?: never;
257
+ patch?: never;
258
+ trace?: never;
259
+ };
260
+ "/v1/org-units/{unit_id}": {
261
+ parameters: {
262
+ query?: never;
263
+ header?: never;
264
+ path?: never;
265
+ cookie?: never;
266
+ };
267
+ get?: never;
268
+ put?: never;
269
+ post?: never;
270
+ delete?: never;
271
+ options?: never;
272
+ head?: never;
273
+ /** Rename or close a unit */
274
+ patch: operations["update_org_unit_v1_org_units__unit_id__patch"];
275
+ trace?: never;
276
+ };
277
+ "/v1/people": {
278
+ parameters: {
279
+ query?: never;
280
+ header?: never;
281
+ path?: never;
282
+ cookie?: never;
283
+ };
284
+ /**
285
+ * List or search people
286
+ * @description Names are encrypted, so sorting happens here after decryption (design §6).
287
+ */
288
+ get: operations["list_people_v1_people_get"];
289
+ put?: never;
290
+ post?: never;
291
+ delete?: never;
292
+ options?: never;
293
+ head?: never;
294
+ patch?: never;
295
+ trace?: never;
296
+ };
297
+ "/v1/people/{record_id}": {
298
+ parameters: {
299
+ query?: never;
300
+ header?: never;
301
+ path?: never;
302
+ cookie?: never;
303
+ };
304
+ /** One person */
305
+ get: operations["get_person_v1_people__record_id__get"];
306
+ put?: never;
307
+ post?: never;
308
+ delete?: never;
309
+ options?: never;
310
+ head?: never;
311
+ /** Edit names or profile */
312
+ patch: operations["update_person_v1_people__record_id__patch"];
313
+ trace?: never;
314
+ };
315
+ "/v1/permissions": {
316
+ parameters: {
317
+ query?: never;
318
+ header?: never;
319
+ path?: never;
320
+ cookie?: never;
321
+ };
322
+ /** Permission catalog */
323
+ get: operations["list_permissions_v1_permissions_get"];
324
+ put?: never;
325
+ post?: never;
326
+ delete?: never;
327
+ options?: never;
328
+ head?: never;
329
+ patch?: never;
330
+ trace?: never;
331
+ };
332
+ "/v1/roles": {
333
+ parameters: {
334
+ query?: never;
335
+ header?: never;
336
+ path?: never;
337
+ cookie?: never;
338
+ };
339
+ /** Roles available in this context */
340
+ get: operations["list_roles_v1_roles_get"];
341
+ put?: never;
342
+ post?: never;
343
+ delete?: never;
344
+ options?: never;
345
+ head?: never;
346
+ patch?: never;
347
+ trace?: never;
348
+ };
349
+ "/v1/settings": {
350
+ parameters: {
351
+ query?: never;
352
+ header?: never;
353
+ path?: never;
354
+ cookie?: never;
355
+ };
356
+ /** Effective settings for a scope, with where each value comes from */
357
+ get: operations["get_settings_v1_settings_get"];
358
+ put?: never;
359
+ post?: never;
360
+ delete?: never;
361
+ options?: never;
362
+ head?: never;
363
+ patch?: never;
364
+ trace?: never;
365
+ };
366
+ "/v1/settings/{key}": {
367
+ parameters: {
368
+ query?: never;
369
+ header?: never;
370
+ path?: never;
371
+ cookie?: never;
372
+ };
373
+ get?: never;
374
+ /** Override a setting at a scope */
375
+ put: operations["put_setting_v1_settings__key__put"];
376
+ post?: never;
377
+ /** Remove an override, so the inherited value applies again */
378
+ delete: operations["reset_setting_v1_settings__key__delete"];
379
+ options?: never;
380
+ head?: never;
381
+ patch?: never;
382
+ trace?: never;
383
+ };
384
+ }
385
+ export type webhooks = Record<string, never>;
386
+ export interface components {
387
+ schemas: {
388
+ /** AuditEventOut */
389
+ AuditEventOut: {
390
+ /** Action */
391
+ action: string;
392
+ /** Actor Membership Id */
393
+ actor_membership_id: string | null;
394
+ /** Actor Person Id */
395
+ actor_person_id: string | null;
396
+ /** Details */
397
+ details: {
398
+ [key: string]: unknown;
399
+ };
400
+ /** Id */
401
+ id: number;
402
+ /**
403
+ * Occurred At
404
+ * Format: date-time
405
+ */
406
+ occurred_at: string;
407
+ /** Org Unit Id */
408
+ org_unit_id: string | null;
409
+ /** Request Id */
410
+ request_id: string | null;
411
+ /** Target Id */
412
+ target_id: string | null;
413
+ /** Target Type */
414
+ target_type: string | null;
415
+ };
416
+ /** AuthStartIn */
417
+ AuthStartIn: {
418
+ /**
419
+ * Identifier
420
+ * @description Email, phone or username
421
+ */
422
+ identifier: string;
423
+ };
424
+ /** AuthStartOut */
425
+ AuthStartOut: {
426
+ /**
427
+ * Identifier Type
428
+ * @enum {string}
429
+ */
430
+ identifier_type: "email" | "phone" | "username";
431
+ /** Message */
432
+ message: string;
433
+ /**
434
+ * Sso
435
+ * @description Cognito identity provider name to redirect to, if SSO applies
436
+ */
437
+ sso?: string | null;
438
+ };
439
+ /** DependencyStatus */
440
+ DependencyStatus: {
441
+ /** Detail */
442
+ detail?: string | null;
443
+ /** Ok */
444
+ ok: boolean;
445
+ };
446
+ /** HTTPValidationError */
447
+ HTTPValidationError: {
448
+ /** Detail */
449
+ detail?: components["schemas"]["ValidationError"][];
450
+ };
451
+ /** InvitationAccepted */
452
+ InvitationAccepted: {
453
+ /**
454
+ * Email
455
+ * @description Sign in with this email (one-time code, passkey or password)
456
+ */
457
+ email: string;
458
+ /** Organization */
459
+ organization: string;
460
+ /** Role */
461
+ role: string;
462
+ };
463
+ /** InvitationCreate */
464
+ InvitationCreate: {
465
+ /**
466
+ * Email
467
+ * Format: email
468
+ */
469
+ email: string;
470
+ names?: components["schemas"]["Names"];
471
+ /**
472
+ * Org Unit Id
473
+ * @description Defaults to the context's unit
474
+ */
475
+ org_unit_id?: string | null;
476
+ professional?: components["schemas"]["ProfessionalProfileIn"] | null;
477
+ /**
478
+ * Role
479
+ * @description Role code, e.g. provider, care_team, patient
480
+ */
481
+ role: string;
482
+ };
483
+ /** InvitationOut */
484
+ InvitationOut: {
485
+ /**
486
+ * Created At
487
+ * Format: date-time
488
+ */
489
+ created_at: string;
490
+ /** Email */
491
+ email: string;
492
+ /**
493
+ * Expires At
494
+ * Format: date-time
495
+ */
496
+ expires_at: string;
497
+ /**
498
+ * Id
499
+ * Format: uuid
500
+ */
501
+ id: string;
502
+ /**
503
+ * Org Unit Id
504
+ * Format: uuid
505
+ */
506
+ org_unit_id: string;
507
+ role: components["schemas"]["RoleOut"];
508
+ /** Status */
509
+ status: string;
510
+ };
511
+ /** InvitationPreview */
512
+ InvitationPreview: {
513
+ /**
514
+ * Email Hint
515
+ * @description Masked, e.g. d***@example.org
516
+ */
517
+ email_hint: string;
518
+ /**
519
+ * Expires At
520
+ * Format: date-time
521
+ */
522
+ expires_at: string;
523
+ /** Organization */
524
+ organization: string;
525
+ /** Role */
526
+ role: string;
527
+ /** Status */
528
+ status: string;
529
+ };
530
+ /** LiveResponse */
531
+ LiveResponse: {
532
+ /**
533
+ * Status
534
+ * @default ok
535
+ * @constant
536
+ */
537
+ status: "ok";
538
+ /** Version */
539
+ version: string;
540
+ };
541
+ /** MeOut */
542
+ MeOut: {
543
+ /**
544
+ * Active Membership Id
545
+ * @description The context this request used, if one could be determined
546
+ */
547
+ active_membership_id: string | null;
548
+ /** Display Name */
549
+ display_name: string | null;
550
+ /** Email */
551
+ email: string | null;
552
+ /**
553
+ * Is Staff
554
+ * @description True if any membership is a staff role (MFA required)
555
+ */
556
+ is_staff: boolean;
557
+ /** Login Status */
558
+ login_status: string;
559
+ /** Memberships */
560
+ memberships: components["schemas"]["MembershipOut"][];
561
+ /**
562
+ * Permissions
563
+ * @description Permissions in the active context
564
+ */
565
+ permissions: string[];
566
+ /**
567
+ * Person Id
568
+ * Format: uuid
569
+ */
570
+ person_id: string;
571
+ };
572
+ /** MembershipOut */
573
+ MembershipOut: {
574
+ /** Ends At */
575
+ ends_at: string | null;
576
+ /**
577
+ * Id
578
+ * Format: uuid
579
+ */
580
+ id: string;
581
+ /**
582
+ * Org Person Record Id
583
+ * Format: uuid
584
+ */
585
+ org_person_record_id: string;
586
+ org_unit: components["schemas"]["OrgUnitOut"];
587
+ role: components["schemas"]["RoleOut"];
588
+ /** Starts At */
589
+ starts_at: string | null;
590
+ /** Status */
591
+ status: string;
592
+ };
593
+ /** MembershipUpdate */
594
+ MembershipUpdate: {
595
+ /** Role */
596
+ role?: string | null;
597
+ /** Status */
598
+ status?: ("active" | "suspended" | "ended") | null;
599
+ };
600
+ /** Names */
601
+ Names: {
602
+ /** Family */
603
+ family?: string | null;
604
+ /** Given */
605
+ given?: string | null;
606
+ /** Middle */
607
+ middle?: string | null;
608
+ /** Preferred */
609
+ preferred?: string | null;
610
+ /** Prefix */
611
+ prefix?: string | null;
612
+ /** Suffix */
613
+ suffix?: string | null;
614
+ };
615
+ /** OrgUnitCreate */
616
+ OrgUnitCreate: {
617
+ /** Name */
618
+ name: string;
619
+ /**
620
+ * Parent Id
621
+ * @description Omit to create a new top-level customer (Guidistry admins only)
622
+ */
623
+ parent_id?: string | null;
624
+ /** Slug */
625
+ slug?: string | null;
626
+ /**
627
+ * Type
628
+ * @description practice, clinic, department, institution, …
629
+ */
630
+ type: string;
631
+ };
632
+ /** OrgUnitOut */
633
+ OrgUnitOut: {
634
+ /**
635
+ * Id
636
+ * Format: uuid
637
+ */
638
+ id: string;
639
+ /** Is Data Boundary */
640
+ is_data_boundary: boolean;
641
+ /** Name */
642
+ name: string;
643
+ /** Parent Id */
644
+ parent_id: string | null;
645
+ /** Slug */
646
+ slug: string | null;
647
+ /** Status */
648
+ status: string;
649
+ /** Type */
650
+ type: string;
651
+ };
652
+ /** OrgUnitUpdate */
653
+ OrgUnitUpdate: {
654
+ /** Name */
655
+ name?: string | null;
656
+ /** Slug */
657
+ slug?: string | null;
658
+ /** Status */
659
+ status?: ("active" | "suspended" | "closed") | null;
660
+ };
661
+ /** PeoplePage */
662
+ PeoplePage: {
663
+ /** Items */
664
+ items: components["schemas"]["PersonOut"][];
665
+ /**
666
+ * Note
667
+ * @description Why a list was narrowed, e.g. 'search to see more'
668
+ */
669
+ note?: string | null;
670
+ /** Total */
671
+ total: number;
672
+ };
673
+ /** PermissionOut */
674
+ PermissionOut: {
675
+ /** Category */
676
+ category: string;
677
+ /** Code */
678
+ code: string;
679
+ /** Description */
680
+ description: string;
681
+ /** Is Sensitive */
682
+ is_sensitive: boolean;
683
+ };
684
+ /**
685
+ * PersonOut
686
+ * @description A person as this organization knows them.
687
+ */
688
+ PersonOut: {
689
+ /** Archived */
690
+ archived: boolean;
691
+ /** Display Name */
692
+ display_name: string;
693
+ /**
694
+ * Id
695
+ * Format: uuid
696
+ * @description The organization record ID
697
+ */
698
+ id: string;
699
+ /** Memberships */
700
+ memberships: components["schemas"]["MembershipOut"][];
701
+ names: components["schemas"]["Names"];
702
+ professional: components["schemas"]["ProfessionalProfileIn"] | null;
703
+ };
704
+ /** PersonUpdate */
705
+ PersonUpdate: {
706
+ names?: components["schemas"]["Names"] | null;
707
+ professional?: components["schemas"]["ProfessionalProfileIn"] | null;
708
+ };
709
+ /**
710
+ * Principal
711
+ * @description The signed-in caller, as Cognito vouches for them.
712
+ */
713
+ Principal: {
714
+ /** Auth Time */
715
+ auth_time?: number | null;
716
+ /** Client Id */
717
+ client_id: string;
718
+ /**
719
+ * Groups
720
+ * @default []
721
+ */
722
+ groups: string[];
723
+ /**
724
+ * Scopes
725
+ * @default []
726
+ */
727
+ scopes: string[];
728
+ /**
729
+ * Sub
730
+ * @description Stable Cognito user ID. Never changes, never reused.
731
+ */
732
+ sub: string;
733
+ /** Username */
734
+ username: string;
735
+ };
736
+ /** ProfessionalProfileIn */
737
+ ProfessionalProfileIn: {
738
+ /** Credential */
739
+ credential?: string | null;
740
+ /** Npi */
741
+ npi?: string | null;
742
+ /** Specialty */
743
+ specialty?: string | null;
744
+ /** Title */
745
+ title?: string | null;
746
+ };
747
+ /** ReadyResponse */
748
+ ReadyResponse: {
749
+ database: components["schemas"]["DependencyStatus"];
750
+ /** Environment */
751
+ environment: string;
752
+ epmws: components["schemas"]["DependencyStatus"];
753
+ /**
754
+ * Status
755
+ * @enum {string}
756
+ */
757
+ status: "ok" | "degraded" | "unavailable";
758
+ /** Version */
759
+ version: string;
760
+ };
761
+ /** RoleOut */
762
+ RoleOut: {
763
+ /** Code */
764
+ code: string;
765
+ /** Description */
766
+ description: string | null;
767
+ /**
768
+ * Id
769
+ * Format: uuid
770
+ */
771
+ id: string;
772
+ /** Is System */
773
+ is_system: boolean;
774
+ /** Name */
775
+ name: string;
776
+ /** Permissions */
777
+ permissions: string[];
778
+ };
779
+ /** ServiceInfo */
780
+ ServiceInfo: {
781
+ /** Environment */
782
+ environment: string;
783
+ /** Service */
784
+ service: string;
785
+ /** Version */
786
+ version: string;
787
+ };
788
+ /** SettingOut */
789
+ SettingOut: {
790
+ /** Allowed Levels */
791
+ allowed_levels: string[];
792
+ /** Category */
793
+ category: string;
794
+ /** Description */
795
+ description: string;
796
+ /** Key */
797
+ key: string;
798
+ /** Safety Locked */
799
+ safety_locked: boolean;
800
+ /** Source Id */
801
+ source_id: string | null;
802
+ /**
803
+ * Source Level
804
+ * @description system, org_unit, program, cohort or person
805
+ */
806
+ source_level: string;
807
+ /** Value */
808
+ value: unknown;
809
+ /** Value Schema */
810
+ value_schema: {
811
+ [key: string]: unknown;
812
+ };
813
+ };
814
+ /** SettingWrite */
815
+ SettingWrite: {
816
+ /**
817
+ * Level
818
+ * @enum {string}
819
+ */
820
+ level: "org_unit" | "program" | "study" | "arm" | "cohort" | "person";
821
+ /** Reason */
822
+ reason?: string | null;
823
+ /**
824
+ * Scope Id
825
+ * Format: uuid
826
+ */
827
+ scope_id: string;
828
+ /** Value */
829
+ value: unknown;
830
+ };
831
+ /** ValidationError */
832
+ ValidationError: {
833
+ /** Context */
834
+ ctx?: Record<string, never>;
835
+ /** Input */
836
+ input?: unknown;
837
+ /** Location */
838
+ loc: (string | number)[];
839
+ /** Message */
840
+ msg: string;
841
+ /** Error Type */
842
+ type: string;
843
+ };
844
+ };
845
+ responses: never;
846
+ parameters: never;
847
+ requestBodies: never;
848
+ headers: never;
849
+ pathItems: never;
850
+ }
851
+ export type $defs = Record<string, never>;
852
+ export interface operations {
853
+ service_info__get: {
854
+ parameters: {
855
+ query?: never;
856
+ header?: never;
857
+ path?: never;
858
+ cookie?: never;
859
+ };
860
+ requestBody?: never;
861
+ responses: {
862
+ /** @description Successful Response */
863
+ 200: {
864
+ headers: {
865
+ [name: string]: unknown;
866
+ };
867
+ content: {
868
+ "application/json": components["schemas"]["ServiceInfo"];
869
+ };
870
+ };
871
+ };
872
+ };
873
+ live_health_live_get: {
874
+ parameters: {
875
+ query?: never;
876
+ header?: never;
877
+ path?: never;
878
+ cookie?: never;
879
+ };
880
+ requestBody?: never;
881
+ responses: {
882
+ /** @description Successful Response */
883
+ 200: {
884
+ headers: {
885
+ [name: string]: unknown;
886
+ };
887
+ content: {
888
+ "application/json": components["schemas"]["LiveResponse"];
889
+ };
890
+ };
891
+ };
892
+ };
893
+ ready_health_ready_get: {
894
+ parameters: {
895
+ query?: never;
896
+ header?: never;
897
+ path?: never;
898
+ cookie?: never;
899
+ };
900
+ requestBody?: never;
901
+ responses: {
902
+ /** @description Successful Response */
903
+ 200: {
904
+ headers: {
905
+ [name: string]: unknown;
906
+ };
907
+ content: {
908
+ "application/json": components["schemas"]["ReadyResponse"];
909
+ };
910
+ };
911
+ /** @description Database unavailable */
912
+ 503: {
913
+ headers: {
914
+ [name: string]: unknown;
915
+ };
916
+ content: {
917
+ "application/json": components["schemas"]["ReadyResponse"];
918
+ };
919
+ };
920
+ };
921
+ };
922
+ me_me_get: {
923
+ parameters: {
924
+ query?: never;
925
+ header?: never;
926
+ path?: never;
927
+ cookie?: never;
928
+ };
929
+ requestBody?: never;
930
+ responses: {
931
+ /** @description Successful Response */
932
+ 200: {
933
+ headers: {
934
+ [name: string]: unknown;
935
+ };
936
+ content: {
937
+ "application/json": components["schemas"]["Principal"];
938
+ };
939
+ };
940
+ };
941
+ };
942
+ list_audit_events_v1_audit_events_get: {
943
+ parameters: {
944
+ query?: {
945
+ before_id?: number | null;
946
+ limit?: number;
947
+ action?: string | null;
948
+ };
949
+ header?: {
950
+ /** @description Membership the caller is acting through (from GET /v1/me) */
951
+ "X-Guidistry-Context"?: string | null;
952
+ };
953
+ path?: never;
954
+ cookie?: never;
955
+ };
956
+ requestBody?: never;
957
+ responses: {
958
+ /** @description Successful Response */
959
+ 200: {
960
+ headers: {
961
+ [name: string]: unknown;
962
+ };
963
+ content: {
964
+ "application/json": components["schemas"]["AuditEventOut"][];
965
+ };
966
+ };
967
+ /** @description Validation Error */
968
+ 422: {
969
+ headers: {
970
+ [name: string]: unknown;
971
+ };
972
+ content: {
973
+ "application/json": components["schemas"]["HTTPValidationError"];
974
+ };
975
+ };
976
+ };
977
+ };
978
+ auth_start_v1_auth_start_post: {
979
+ parameters: {
980
+ query?: never;
981
+ header?: never;
982
+ path?: never;
983
+ cookie?: never;
984
+ };
985
+ requestBody: {
986
+ content: {
987
+ "application/json": components["schemas"]["AuthStartIn"];
988
+ };
989
+ };
990
+ responses: {
991
+ /** @description Successful Response */
992
+ 200: {
993
+ headers: {
994
+ [name: string]: unknown;
995
+ };
996
+ content: {
997
+ "application/json": components["schemas"]["AuthStartOut"];
998
+ };
999
+ };
1000
+ /** @description Validation Error */
1001
+ 422: {
1002
+ headers: {
1003
+ [name: string]: unknown;
1004
+ };
1005
+ content: {
1006
+ "application/json": components["schemas"]["HTTPValidationError"];
1007
+ };
1008
+ };
1009
+ };
1010
+ };
1011
+ list_invitations_v1_invitations_get: {
1012
+ parameters: {
1013
+ query?: never;
1014
+ header?: {
1015
+ /** @description Membership the caller is acting through (from GET /v1/me) */
1016
+ "X-Guidistry-Context"?: string | null;
1017
+ };
1018
+ path?: never;
1019
+ cookie?: never;
1020
+ };
1021
+ requestBody?: never;
1022
+ responses: {
1023
+ /** @description Successful Response */
1024
+ 200: {
1025
+ headers: {
1026
+ [name: string]: unknown;
1027
+ };
1028
+ content: {
1029
+ "application/json": components["schemas"]["InvitationOut"][];
1030
+ };
1031
+ };
1032
+ /** @description Validation Error */
1033
+ 422: {
1034
+ headers: {
1035
+ [name: string]: unknown;
1036
+ };
1037
+ content: {
1038
+ "application/json": components["schemas"]["HTTPValidationError"];
1039
+ };
1040
+ };
1041
+ };
1042
+ };
1043
+ create_invitation_v1_invitations_post: {
1044
+ parameters: {
1045
+ query?: never;
1046
+ header?: {
1047
+ /** @description Membership the caller is acting through (from GET /v1/me) */
1048
+ "X-Guidistry-Context"?: string | null;
1049
+ };
1050
+ path?: never;
1051
+ cookie?: never;
1052
+ };
1053
+ requestBody: {
1054
+ content: {
1055
+ "application/json": components["schemas"]["InvitationCreate"];
1056
+ };
1057
+ };
1058
+ responses: {
1059
+ /** @description Successful Response */
1060
+ 201: {
1061
+ headers: {
1062
+ [name: string]: unknown;
1063
+ };
1064
+ content: {
1065
+ "application/json": components["schemas"]["InvitationOut"];
1066
+ };
1067
+ };
1068
+ /** @description Validation Error */
1069
+ 422: {
1070
+ headers: {
1071
+ [name: string]: unknown;
1072
+ };
1073
+ content: {
1074
+ "application/json": components["schemas"]["HTTPValidationError"];
1075
+ };
1076
+ };
1077
+ };
1078
+ };
1079
+ preview_invitation_v1_invitations_by_token__token__get: {
1080
+ parameters: {
1081
+ query?: never;
1082
+ header?: never;
1083
+ path: {
1084
+ token: string;
1085
+ };
1086
+ cookie?: never;
1087
+ };
1088
+ requestBody?: never;
1089
+ responses: {
1090
+ /** @description Successful Response */
1091
+ 200: {
1092
+ headers: {
1093
+ [name: string]: unknown;
1094
+ };
1095
+ content: {
1096
+ "application/json": components["schemas"]["InvitationPreview"];
1097
+ };
1098
+ };
1099
+ /** @description Validation Error */
1100
+ 422: {
1101
+ headers: {
1102
+ [name: string]: unknown;
1103
+ };
1104
+ content: {
1105
+ "application/json": components["schemas"]["HTTPValidationError"];
1106
+ };
1107
+ };
1108
+ };
1109
+ };
1110
+ accept_invitation_v1_invitations_by_token__token__accept_post: {
1111
+ parameters: {
1112
+ query?: never;
1113
+ header?: never;
1114
+ path: {
1115
+ token: string;
1116
+ };
1117
+ cookie?: never;
1118
+ };
1119
+ requestBody?: never;
1120
+ responses: {
1121
+ /** @description Successful Response */
1122
+ 200: {
1123
+ headers: {
1124
+ [name: string]: unknown;
1125
+ };
1126
+ content: {
1127
+ "application/json": components["schemas"]["InvitationAccepted"];
1128
+ };
1129
+ };
1130
+ /** @description Validation Error */
1131
+ 422: {
1132
+ headers: {
1133
+ [name: string]: unknown;
1134
+ };
1135
+ content: {
1136
+ "application/json": components["schemas"]["HTTPValidationError"];
1137
+ };
1138
+ };
1139
+ };
1140
+ };
1141
+ resend_invitation_v1_invitations__invitation_id__resend_post: {
1142
+ parameters: {
1143
+ query?: never;
1144
+ header?: {
1145
+ /** @description Membership the caller is acting through (from GET /v1/me) */
1146
+ "X-Guidistry-Context"?: string | null;
1147
+ };
1148
+ path: {
1149
+ invitation_id: string;
1150
+ };
1151
+ cookie?: never;
1152
+ };
1153
+ requestBody?: never;
1154
+ responses: {
1155
+ /** @description Successful Response */
1156
+ 200: {
1157
+ headers: {
1158
+ [name: string]: unknown;
1159
+ };
1160
+ content: {
1161
+ "application/json": components["schemas"]["InvitationOut"];
1162
+ };
1163
+ };
1164
+ /** @description Validation Error */
1165
+ 422: {
1166
+ headers: {
1167
+ [name: string]: unknown;
1168
+ };
1169
+ content: {
1170
+ "application/json": components["schemas"]["HTTPValidationError"];
1171
+ };
1172
+ };
1173
+ };
1174
+ };
1175
+ revoke_invitation_v1_invitations__invitation_id__revoke_post: {
1176
+ parameters: {
1177
+ query?: never;
1178
+ header?: {
1179
+ /** @description Membership the caller is acting through (from GET /v1/me) */
1180
+ "X-Guidistry-Context"?: string | null;
1181
+ };
1182
+ path: {
1183
+ invitation_id: string;
1184
+ };
1185
+ cookie?: never;
1186
+ };
1187
+ requestBody?: never;
1188
+ responses: {
1189
+ /** @description Successful Response */
1190
+ 200: {
1191
+ headers: {
1192
+ [name: string]: unknown;
1193
+ };
1194
+ content: {
1195
+ "application/json": components["schemas"]["InvitationOut"];
1196
+ };
1197
+ };
1198
+ /** @description Validation Error */
1199
+ 422: {
1200
+ headers: {
1201
+ [name: string]: unknown;
1202
+ };
1203
+ content: {
1204
+ "application/json": components["schemas"]["HTTPValidationError"];
1205
+ };
1206
+ };
1207
+ };
1208
+ };
1209
+ me_v1_me_get: {
1210
+ parameters: {
1211
+ query?: never;
1212
+ header?: {
1213
+ "X-Guidistry-Context"?: string | null;
1214
+ };
1215
+ path?: never;
1216
+ cookie?: never;
1217
+ };
1218
+ requestBody?: never;
1219
+ responses: {
1220
+ /** @description Successful Response */
1221
+ 200: {
1222
+ headers: {
1223
+ [name: string]: unknown;
1224
+ };
1225
+ content: {
1226
+ "application/json": components["schemas"]["MeOut"];
1227
+ };
1228
+ };
1229
+ /** @description Validation Error */
1230
+ 422: {
1231
+ headers: {
1232
+ [name: string]: unknown;
1233
+ };
1234
+ content: {
1235
+ "application/json": components["schemas"]["HTTPValidationError"];
1236
+ };
1237
+ };
1238
+ };
1239
+ };
1240
+ update_membership_v1_memberships__membership_id__patch: {
1241
+ parameters: {
1242
+ query?: never;
1243
+ header?: {
1244
+ /** @description Membership the caller is acting through (from GET /v1/me) */
1245
+ "X-Guidistry-Context"?: string | null;
1246
+ };
1247
+ path: {
1248
+ membership_id: string;
1249
+ };
1250
+ cookie?: never;
1251
+ };
1252
+ requestBody: {
1253
+ content: {
1254
+ "application/json": components["schemas"]["MembershipUpdate"];
1255
+ };
1256
+ };
1257
+ responses: {
1258
+ /** @description Successful Response */
1259
+ 200: {
1260
+ headers: {
1261
+ [name: string]: unknown;
1262
+ };
1263
+ content: {
1264
+ "application/json": components["schemas"]["MembershipOut"];
1265
+ };
1266
+ };
1267
+ /** @description Validation Error */
1268
+ 422: {
1269
+ headers: {
1270
+ [name: string]: unknown;
1271
+ };
1272
+ content: {
1273
+ "application/json": components["schemas"]["HTTPValidationError"];
1274
+ };
1275
+ };
1276
+ };
1277
+ };
1278
+ list_org_units_v1_org_units_get: {
1279
+ parameters: {
1280
+ query?: never;
1281
+ header?: {
1282
+ /** @description Membership the caller is acting through (from GET /v1/me) */
1283
+ "X-Guidistry-Context"?: string | null;
1284
+ };
1285
+ path?: never;
1286
+ cookie?: never;
1287
+ };
1288
+ requestBody?: never;
1289
+ responses: {
1290
+ /** @description Successful Response */
1291
+ 200: {
1292
+ headers: {
1293
+ [name: string]: unknown;
1294
+ };
1295
+ content: {
1296
+ "application/json": components["schemas"]["OrgUnitOut"][];
1297
+ };
1298
+ };
1299
+ /** @description Validation Error */
1300
+ 422: {
1301
+ headers: {
1302
+ [name: string]: unknown;
1303
+ };
1304
+ content: {
1305
+ "application/json": components["schemas"]["HTTPValidationError"];
1306
+ };
1307
+ };
1308
+ };
1309
+ };
1310
+ create_org_unit_v1_org_units_post: {
1311
+ parameters: {
1312
+ query?: never;
1313
+ header?: {
1314
+ /** @description Membership the caller is acting through (from GET /v1/me) */
1315
+ "X-Guidistry-Context"?: string | null;
1316
+ };
1317
+ path?: never;
1318
+ cookie?: never;
1319
+ };
1320
+ requestBody: {
1321
+ content: {
1322
+ "application/json": components["schemas"]["OrgUnitCreate"];
1323
+ };
1324
+ };
1325
+ responses: {
1326
+ /** @description Successful Response */
1327
+ 201: {
1328
+ headers: {
1329
+ [name: string]: unknown;
1330
+ };
1331
+ content: {
1332
+ "application/json": components["schemas"]["OrgUnitOut"];
1333
+ };
1334
+ };
1335
+ /** @description Validation Error */
1336
+ 422: {
1337
+ headers: {
1338
+ [name: string]: unknown;
1339
+ };
1340
+ content: {
1341
+ "application/json": components["schemas"]["HTTPValidationError"];
1342
+ };
1343
+ };
1344
+ };
1345
+ };
1346
+ update_org_unit_v1_org_units__unit_id__patch: {
1347
+ parameters: {
1348
+ query?: never;
1349
+ header?: {
1350
+ /** @description Membership the caller is acting through (from GET /v1/me) */
1351
+ "X-Guidistry-Context"?: string | null;
1352
+ };
1353
+ path: {
1354
+ unit_id: string;
1355
+ };
1356
+ cookie?: never;
1357
+ };
1358
+ requestBody: {
1359
+ content: {
1360
+ "application/json": components["schemas"]["OrgUnitUpdate"];
1361
+ };
1362
+ };
1363
+ responses: {
1364
+ /** @description Successful Response */
1365
+ 200: {
1366
+ headers: {
1367
+ [name: string]: unknown;
1368
+ };
1369
+ content: {
1370
+ "application/json": components["schemas"]["OrgUnitOut"];
1371
+ };
1372
+ };
1373
+ /** @description Validation Error */
1374
+ 422: {
1375
+ headers: {
1376
+ [name: string]: unknown;
1377
+ };
1378
+ content: {
1379
+ "application/json": components["schemas"]["HTTPValidationError"];
1380
+ };
1381
+ };
1382
+ };
1383
+ };
1384
+ list_people_v1_people_get: {
1385
+ parameters: {
1386
+ query?: {
1387
+ /** @description Name search (prefixes) */
1388
+ q?: string | null;
1389
+ /** @description Browse by family-name initial */
1390
+ letter?: string | null;
1391
+ /** @description Only people holding this role */
1392
+ role?: string | null;
1393
+ include_archived?: boolean;
1394
+ };
1395
+ header?: {
1396
+ /** @description Membership the caller is acting through (from GET /v1/me) */
1397
+ "X-Guidistry-Context"?: string | null;
1398
+ };
1399
+ path?: never;
1400
+ cookie?: never;
1401
+ };
1402
+ requestBody?: never;
1403
+ responses: {
1404
+ /** @description Successful Response */
1405
+ 200: {
1406
+ headers: {
1407
+ [name: string]: unknown;
1408
+ };
1409
+ content: {
1410
+ "application/json": components["schemas"]["PeoplePage"];
1411
+ };
1412
+ };
1413
+ /** @description Validation Error */
1414
+ 422: {
1415
+ headers: {
1416
+ [name: string]: unknown;
1417
+ };
1418
+ content: {
1419
+ "application/json": components["schemas"]["HTTPValidationError"];
1420
+ };
1421
+ };
1422
+ };
1423
+ };
1424
+ get_person_v1_people__record_id__get: {
1425
+ parameters: {
1426
+ query?: never;
1427
+ header?: {
1428
+ /** @description Membership the caller is acting through (from GET /v1/me) */
1429
+ "X-Guidistry-Context"?: string | null;
1430
+ };
1431
+ path: {
1432
+ record_id: string;
1433
+ };
1434
+ cookie?: never;
1435
+ };
1436
+ requestBody?: never;
1437
+ responses: {
1438
+ /** @description Successful Response */
1439
+ 200: {
1440
+ headers: {
1441
+ [name: string]: unknown;
1442
+ };
1443
+ content: {
1444
+ "application/json": components["schemas"]["PersonOut"];
1445
+ };
1446
+ };
1447
+ /** @description Validation Error */
1448
+ 422: {
1449
+ headers: {
1450
+ [name: string]: unknown;
1451
+ };
1452
+ content: {
1453
+ "application/json": components["schemas"]["HTTPValidationError"];
1454
+ };
1455
+ };
1456
+ };
1457
+ };
1458
+ update_person_v1_people__record_id__patch: {
1459
+ parameters: {
1460
+ query?: never;
1461
+ header?: {
1462
+ /** @description Membership the caller is acting through (from GET /v1/me) */
1463
+ "X-Guidistry-Context"?: string | null;
1464
+ };
1465
+ path: {
1466
+ record_id: string;
1467
+ };
1468
+ cookie?: never;
1469
+ };
1470
+ requestBody: {
1471
+ content: {
1472
+ "application/json": components["schemas"]["PersonUpdate"];
1473
+ };
1474
+ };
1475
+ responses: {
1476
+ /** @description Successful Response */
1477
+ 200: {
1478
+ headers: {
1479
+ [name: string]: unknown;
1480
+ };
1481
+ content: {
1482
+ "application/json": components["schemas"]["PersonOut"];
1483
+ };
1484
+ };
1485
+ /** @description Validation Error */
1486
+ 422: {
1487
+ headers: {
1488
+ [name: string]: unknown;
1489
+ };
1490
+ content: {
1491
+ "application/json": components["schemas"]["HTTPValidationError"];
1492
+ };
1493
+ };
1494
+ };
1495
+ };
1496
+ list_permissions_v1_permissions_get: {
1497
+ parameters: {
1498
+ query?: never;
1499
+ header?: {
1500
+ /** @description Membership the caller is acting through (from GET /v1/me) */
1501
+ "X-Guidistry-Context"?: string | null;
1502
+ };
1503
+ path?: never;
1504
+ cookie?: never;
1505
+ };
1506
+ requestBody?: never;
1507
+ responses: {
1508
+ /** @description Successful Response */
1509
+ 200: {
1510
+ headers: {
1511
+ [name: string]: unknown;
1512
+ };
1513
+ content: {
1514
+ "application/json": components["schemas"]["PermissionOut"][];
1515
+ };
1516
+ };
1517
+ /** @description Validation Error */
1518
+ 422: {
1519
+ headers: {
1520
+ [name: string]: unknown;
1521
+ };
1522
+ content: {
1523
+ "application/json": components["schemas"]["HTTPValidationError"];
1524
+ };
1525
+ };
1526
+ };
1527
+ };
1528
+ list_roles_v1_roles_get: {
1529
+ parameters: {
1530
+ query?: never;
1531
+ header?: {
1532
+ /** @description Membership the caller is acting through (from GET /v1/me) */
1533
+ "X-Guidistry-Context"?: string | null;
1534
+ };
1535
+ path?: never;
1536
+ cookie?: never;
1537
+ };
1538
+ requestBody?: never;
1539
+ responses: {
1540
+ /** @description Successful Response */
1541
+ 200: {
1542
+ headers: {
1543
+ [name: string]: unknown;
1544
+ };
1545
+ content: {
1546
+ "application/json": components["schemas"]["RoleOut"][];
1547
+ };
1548
+ };
1549
+ /** @description Validation Error */
1550
+ 422: {
1551
+ headers: {
1552
+ [name: string]: unknown;
1553
+ };
1554
+ content: {
1555
+ "application/json": components["schemas"]["HTTPValidationError"];
1556
+ };
1557
+ };
1558
+ };
1559
+ };
1560
+ get_settings_v1_settings_get: {
1561
+ parameters: {
1562
+ query?: {
1563
+ org_unit_id?: string | null;
1564
+ /** @description Organization record ID, for patient-level values */
1565
+ person_id?: string | null;
1566
+ key?: string[] | null;
1567
+ };
1568
+ header?: {
1569
+ /** @description Membership the caller is acting through (from GET /v1/me) */
1570
+ "X-Guidistry-Context"?: string | null;
1571
+ };
1572
+ path?: never;
1573
+ cookie?: never;
1574
+ };
1575
+ requestBody?: never;
1576
+ responses: {
1577
+ /** @description Successful Response */
1578
+ 200: {
1579
+ headers: {
1580
+ [name: string]: unknown;
1581
+ };
1582
+ content: {
1583
+ "application/json": components["schemas"]["SettingOut"][];
1584
+ };
1585
+ };
1586
+ /** @description Validation Error */
1587
+ 422: {
1588
+ headers: {
1589
+ [name: string]: unknown;
1590
+ };
1591
+ content: {
1592
+ "application/json": components["schemas"]["HTTPValidationError"];
1593
+ };
1594
+ };
1595
+ };
1596
+ };
1597
+ put_setting_v1_settings__key__put: {
1598
+ parameters: {
1599
+ query?: never;
1600
+ header?: {
1601
+ /** @description Membership the caller is acting through (from GET /v1/me) */
1602
+ "X-Guidistry-Context"?: string | null;
1603
+ };
1604
+ path: {
1605
+ key: string;
1606
+ };
1607
+ cookie?: never;
1608
+ };
1609
+ requestBody: {
1610
+ content: {
1611
+ "application/json": components["schemas"]["SettingWrite"];
1612
+ };
1613
+ };
1614
+ responses: {
1615
+ /** @description Successful Response */
1616
+ 200: {
1617
+ headers: {
1618
+ [name: string]: unknown;
1619
+ };
1620
+ content: {
1621
+ "application/json": components["schemas"]["SettingOut"];
1622
+ };
1623
+ };
1624
+ /** @description Validation Error */
1625
+ 422: {
1626
+ headers: {
1627
+ [name: string]: unknown;
1628
+ };
1629
+ content: {
1630
+ "application/json": components["schemas"]["HTTPValidationError"];
1631
+ };
1632
+ };
1633
+ };
1634
+ };
1635
+ reset_setting_v1_settings__key__delete: {
1636
+ parameters: {
1637
+ query: {
1638
+ level: string;
1639
+ scope_id: string;
1640
+ reason?: string | null;
1641
+ };
1642
+ header?: {
1643
+ /** @description Membership the caller is acting through (from GET /v1/me) */
1644
+ "X-Guidistry-Context"?: string | null;
1645
+ };
1646
+ path: {
1647
+ key: string;
1648
+ };
1649
+ cookie?: never;
1650
+ };
1651
+ requestBody?: never;
1652
+ responses: {
1653
+ /** @description Successful Response */
1654
+ 204: {
1655
+ headers: {
1656
+ [name: string]: unknown;
1657
+ };
1658
+ content?: never;
1659
+ };
1660
+ /** @description Validation Error */
1661
+ 422: {
1662
+ headers: {
1663
+ [name: string]: unknown;
1664
+ };
1665
+ content: {
1666
+ "application/json": components["schemas"]["HTTPValidationError"];
1667
+ };
1668
+ };
1669
+ };
1670
+ };
1671
+ }