@medplum/fhirtypes 0.9.30 → 0.9.33

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/dist/Login.d.ts CHANGED
@@ -3,6 +3,7 @@
3
3
  * Do not edit manually.
4
4
  */
5
5
 
6
+ import { Bot } from './Bot';
6
7
  import { ClientApplication } from './ClientApplication';
7
8
  import { Meta } from './Meta';
8
9
  import { ProjectMembership } from './ProjectMembership';
@@ -53,7 +54,7 @@ export interface Login {
53
54
  /**
54
55
  * The user requesting the code.
55
56
  */
56
- user?: Reference<ClientApplication | User>;
57
+ user?: Reference<Bot | ClientApplication | User>;
57
58
 
58
59
  /**
59
60
  * Reference to the project membership which includes FHIR identity
@@ -130,10 +131,15 @@ export interface Login {
130
131
  revoked?: boolean;
131
132
 
132
133
  /**
133
- * Whether this login has system administrator privileges.
134
+ * DEPRECATED
134
135
  */
135
136
  admin?: boolean;
136
137
 
138
+ /**
139
+ * Whether this login has super administrator privileges.
140
+ */
141
+ superAdmin?: boolean;
142
+
137
143
  /**
138
144
  * The Internet Protocol (IP) address of the client or last proxy that
139
145
  * sent the request.
package/dist/Project.d.ts CHANGED
@@ -51,6 +51,13 @@ export interface Project {
51
51
  */
52
52
  description?: string;
53
53
 
54
+ /**
55
+ * Whether this project is the super administrator project. A super
56
+ * administrator is a user who has complete access to all resources in
57
+ * all projects.
58
+ */
59
+ superAdmin?: boolean;
60
+
54
61
  /**
55
62
  * The user who owns the project.
56
63
  */
package/dist/User.d.ts CHANGED
@@ -67,7 +67,7 @@ export interface User {
67
67
  emailVerified?: boolean;
68
68
 
69
69
  /**
70
- * Whether this user is a system administrator.
70
+ * DEPRECATED
71
71
  */
72
72
  admin?: boolean;
73
73
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medplum/fhirtypes",
3
- "version": "0.9.30",
3
+ "version": "0.9.33",
4
4
  "description": "Medplum FHIR Type Definitions",
5
5
  "author": "Medplum <hello@medplum.com>",
6
6
  "license": "Apache-2.0",