@medplum/fhirtypes 1.0.3 → 1.0.5

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
@@ -6,8 +6,10 @@
6
6
  import { Bot } from './Bot';
7
7
  import { ClientApplication } from './ClientApplication';
8
8
  import { Meta } from './Meta';
9
+ import { Project } from './Project';
9
10
  import { ProjectMembership } from './ProjectMembership';
10
11
  import { Reference } from './Reference';
12
+ import { ResourceType } from './ResourceType';
11
13
  import { SmartAppLaunch } from './SmartAppLaunch';
12
14
  import { User } from './User';
13
15
 
@@ -52,6 +54,16 @@ export interface Login {
52
54
  */
53
55
  client?: Reference<ClientApplication>;
54
56
 
57
+ /**
58
+ * Optional required profile resource type.
59
+ */
60
+ profileType?: ResourceType;
61
+
62
+ /**
63
+ * Optional required project for the login.
64
+ */
65
+ project?: Reference<Project>;
66
+
55
67
  /**
56
68
  * The user requesting the code.
57
69
  */
@@ -121,6 +133,13 @@ export interface Login {
121
133
  */
122
134
  nonce?: string;
123
135
 
136
+ /**
137
+ * Whether the user has verified using multi-factor authentication (MFA).
138
+ * This will only be set is the user has MFA enabled (see
139
+ * User.mfaEnrolled).
140
+ */
141
+ mfaVerified?: boolean;
142
+
124
143
  /**
125
144
  * Whether a token has been granted for this login.
126
145
  */
package/dist/Project.d.ts CHANGED
@@ -66,6 +66,12 @@ export interface Project {
66
66
  */
67
67
  strictMode?: boolean;
68
68
 
69
+ /**
70
+ * Whether this project uses referential integrity on write operations
71
+ * such as 'create' and 'update'.
72
+ */
73
+ checkReferencesOnWrite?: boolean;
74
+
69
75
  /**
70
76
  * The user who owns the project.
71
77
  */
package/dist/User.d.ts CHANGED
@@ -76,6 +76,16 @@ export interface User {
76
76
  */
77
77
  passwordHash?: string;
78
78
 
79
+ /**
80
+ * Shared secret for MFA authenticator applications.
81
+ */
82
+ mfaSecret?: string;
83
+
84
+ /**
85
+ * Whether the user has completed MFA enrollment.
86
+ */
87
+ mfaEnrolled?: boolean;
88
+
79
89
  /**
80
90
  * Optional project if the user only exists for the project. This is used
81
91
  * for the project-specific user database.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medplum/fhirtypes",
3
- "version": "1.0.3",
3
+ "version": "1.0.5",
4
4
  "description": "Medplum FHIR Type Definitions",
5
5
  "author": "Medplum <hello@medplum.com>",
6
6
  "license": "Apache-2.0",