@medplum/fhirtypes 2.0.1 → 2.0.3

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.
@@ -74,6 +74,13 @@ export interface ClientApplication {
74
74
  */
75
75
  launchUri?: string;
76
76
 
77
+ /**
78
+ * Flag to make PKCE optional for this client application. PKCE is
79
+ * required by default for compliance with Smart App Launch. It can be
80
+ * disabled for compatibility with legacy client applications.
81
+ */
82
+ pkceOptional?: boolean;
83
+
77
84
  /**
78
85
  * Optional external Identity Provider (IdP) for the client application.
79
86
  */
@@ -32,4 +32,9 @@ export interface IdentityProvider {
32
32
  * External Identity Provider client secret.
33
33
  */
34
34
  clientSecret?: string;
35
+
36
+ /**
37
+ * Optional flag to use the subject field instead of the email field.
38
+ */
39
+ useSubject?: boolean;
35
40
  }
@@ -73,6 +73,11 @@ export interface ProjectMembership {
73
73
  */
74
74
  accessPolicy?: Reference<AccessPolicy>;
75
75
 
76
+ /**
77
+ * Extended access configuration using parameterized access policies.
78
+ */
79
+ access?: ProjectMembershipAccess[];
80
+
76
81
  /**
77
82
  * The user configuration for the user within the project memebership
78
83
  * such as menu links, saved searches, and features.
@@ -84,3 +89,43 @@ export interface ProjectMembership {
84
89
  */
85
90
  admin?: boolean;
86
91
  }
92
+
93
+ /**
94
+ * Extended access configuration using parameterized access policies.
95
+ */
96
+ export interface ProjectMembershipAccess {
97
+
98
+ /**
99
+ * The base access policy used as a template. Variables in the template
100
+ * access policy are replaced by the values in the parameter.
101
+ */
102
+ policy?: Reference<AccessPolicy>;
103
+
104
+ /**
105
+ * User options that control the display of the application.
106
+ */
107
+ parameter?: ProjectMembershipAccessParameter[];
108
+ }
109
+
110
+ /**
111
+ * User options that control the display of the application.
112
+ */
113
+ export interface ProjectMembershipAccessParameter {
114
+
115
+ /**
116
+ * The unique name of the parameter.
117
+ */
118
+ name?: string;
119
+
120
+ /**
121
+ * Value of the parameter - must be one of a constrained set of the data
122
+ * types (see [Extensibility](extensibility.html) for a list).
123
+ */
124
+ valueString?: string;
125
+
126
+ /**
127
+ * Value of the parameter - must be one of a constrained set of the data
128
+ * types (see [Extensibility](extensibility.html) for a list).
129
+ */
130
+ valueReference?: Reference;
131
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medplum/fhirtypes",
3
- "version": "2.0.1",
3
+ "version": "2.0.3",
4
4
  "description": "Medplum FHIR Type Definitions",
5
5
  "author": "Medplum <hello@medplum.com>",
6
6
  "license": "Apache-2.0",