@medplum/fhirtypes 3.0.13 → 3.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/dist/Login.d.ts CHANGED
@@ -151,12 +151,12 @@ export interface Login {
151
151
  revoked?: boolean;
152
152
 
153
153
  /**
154
- * DEPRECATED
154
+ * @deprecated
155
155
  */
156
156
  admin?: boolean;
157
157
 
158
158
  /**
159
- * Whether this login has super administrator privileges.
159
+ * @deprecated
160
160
  */
161
161
  superAdmin?: boolean;
162
162
 
@@ -12,7 +12,6 @@ import { Resource } from './Resource';
12
12
  import { UsageContext } from './UsageContext';
13
13
 
14
14
  export interface MetadataResource {
15
-
16
15
  /**
17
16
  * This is a MetadataResource resource
18
17
  */
@@ -8,7 +8,8 @@ import { Reference } from './Reference';
8
8
  import { User } from './User';
9
9
 
10
10
  /**
11
- * Password change request for the 'forgot password' flow.
11
+ * DEPRECATED Password change request for the 'forgot password' flow. Use
12
+ * UserSecurityCheck instead.
12
13
  */
13
14
  export interface PasswordChangeRequest {
14
15
 
@@ -162,6 +162,7 @@ import { TestReport } from './TestReport';
162
162
  import { TestScript } from './TestScript';
163
163
  import { User } from './User';
164
164
  import { UserConfiguration } from './UserConfiguration';
165
+ import { UserSecurityRequest } from './UserSecurityRequest';
165
166
  import { ValueSet } from './ValueSet';
166
167
  import { VerificationResult } from './VerificationResult';
167
168
  import { VisionPrescription } from './VisionPrescription';
@@ -325,6 +326,7 @@ export type Resource = AccessPolicy
325
326
  | TestScript
326
327
  | User
327
328
  | UserConfiguration
329
+ | UserSecurityRequest
328
330
  | ValueSet
329
331
  | VerificationResult
330
332
  | VisionPrescription;
@@ -0,0 +1,72 @@
1
+ /*
2
+ * Generated by @medplum/generator
3
+ * Do not edit manually.
4
+ */
5
+
6
+ import { Meta } from './Meta';
7
+ import { Reference } from './Reference';
8
+ import { User } from './User';
9
+
10
+ /**
11
+ * User security request for the 'forgot password' flow, email
12
+ * verification, etc.
13
+ */
14
+ export interface UserSecurityRequest {
15
+
16
+ /**
17
+ * This is a UserSecurityRequest resource
18
+ */
19
+ readonly resourceType: 'UserSecurityRequest';
20
+
21
+ /**
22
+ * The logical id of the resource, as used in the URL for the resource.
23
+ * Once assigned, this value never changes.
24
+ */
25
+ id?: string;
26
+
27
+ /**
28
+ * The metadata about the resource. This is content that is maintained by
29
+ * the infrastructure. Changes to the content might not always be
30
+ * associated with version changes to the resource.
31
+ */
32
+ meta?: Meta;
33
+
34
+ /**
35
+ * A reference to a set of rules that were followed when the resource was
36
+ * constructed, and which must be understood when processing the content.
37
+ * Often, this is a reference to an implementation guide that defines the
38
+ * special rules along with other profiles etc.
39
+ */
40
+ implicitRules?: string;
41
+
42
+ /**
43
+ * The base language in which the resource is written.
44
+ */
45
+ language?: string;
46
+
47
+ /**
48
+ * The type of user security request.
49
+ */
50
+ type?: 'invite' | 'verify-email' | 'reset';
51
+
52
+ /**
53
+ * The user performing the security request.
54
+ */
55
+ user: Reference<User>;
56
+
57
+ /**
58
+ * Secret string used to verify the identity of the user.
59
+ */
60
+ secret: string;
61
+
62
+ /**
63
+ * Whether this request has been used, and is therefore no longer valid.
64
+ */
65
+ used?: boolean;
66
+
67
+ /**
68
+ * Redirect URI used when redirecting a client back to the client
69
+ * application.
70
+ */
71
+ redirectUri?: string;
72
+ }
package/dist/index.d.ts CHANGED
@@ -209,6 +209,7 @@ export * from './TriggerDefinition';
209
209
  export * from './UsageContext';
210
210
  export * from './User';
211
211
  export * from './UserConfiguration';
212
+ export * from './UserSecurityRequest';
212
213
  export * from './ValueSet';
213
214
  export * from './VerificationResult';
214
215
  export * from './VisionPrescription';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medplum/fhirtypes",
3
- "version": "3.0.13",
3
+ "version": "3.1.1",
4
4
  "description": "Medplum FHIR Type Definitions",
5
5
  "keywords": [
6
6
  "medplum",