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