@medplum/fhirtypes 0.9.29 → 0.9.32

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
  */
@@ -67,19 +74,47 @@ export interface Project {
67
74
  defaultPatientAccessPolicy?: Reference<AccessPolicy>;
68
75
 
69
76
  /**
70
- * DEPRECATED
77
+ * Secure environment variable that can be used to store secrets for
78
+ * bots.
71
79
  */
72
- googleClientId?: string[];
80
+ secret?: ProjectSecret[];
73
81
 
74
82
  /**
75
- * DEPRECATED
83
+ * Web application or web site that is associated with the project.
76
84
  */
77
- recaptchaSiteKey?: string[];
85
+ site?: ProjectSite[];
86
+ }
87
+
88
+ /**
89
+ * Secure environment variable that can be used to store secrets for
90
+ * bots.
91
+ */
92
+ export interface ProjectSecret {
78
93
 
79
94
  /**
80
- * Web application or web site that is associated with the project.
95
+ * The secret name.
81
96
  */
82
- site?: ProjectSite[];
97
+ name?: string;
98
+
99
+ /**
100
+ * The secret value.
101
+ */
102
+ valueString?: string;
103
+
104
+ /**
105
+ * The secret value.
106
+ */
107
+ valueBoolean?: boolean;
108
+
109
+ /**
110
+ * The secret value.
111
+ */
112
+ valueDecimal?: number;
113
+
114
+ /**
115
+ * The secret value.
116
+ */
117
+ valueInteger?: number;
83
118
  }
84
119
 
85
120
  /**
package/dist/User.d.ts CHANGED
@@ -44,13 +44,30 @@ export interface User {
44
44
  language?: string;
45
45
 
46
46
  /**
47
- * The email address that uniquely identifies the user. This email
48
- * address must be globally unique within the server.
47
+ * The first name or given name of the user. This is the value as entered
48
+ * when the user is created. It is used to populate the profile resource.
49
+ */
50
+ firstName?: string;
51
+
52
+ /**
53
+ * The last name or family name of the user. This is the value as entered
54
+ * when the user is created. It is used to populate the profile resource.
55
+ */
56
+ lastName?: string;
57
+
58
+ /**
59
+ * The email address that uniquely identifies the user.
49
60
  */
50
61
  email?: string;
51
62
 
52
63
  /**
53
- * Whether this user is a system administrator.
64
+ * Whether the system has verified that the user has access to the email
65
+ * address.
66
+ */
67
+ emailVerified?: boolean;
68
+
69
+ /**
70
+ * DEPRECATED
54
71
  */
55
72
  admin?: boolean;
56
73
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medplum/fhirtypes",
3
- "version": "0.9.29",
3
+ "version": "0.9.32",
4
4
  "description": "Medplum FHIR Type Definitions",
5
5
  "author": "Medplum <hello@medplum.com>",
6
6
  "license": "Apache-2.0",