@medplum/fhirtypes 4.1.9 → 4.1.10

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.
@@ -168,10 +168,16 @@ export interface AccessPolicyResource {
168
168
  criteria?: string;
169
169
 
170
170
  /**
171
- * Optional flag to indicate that the resource type is read-only.
171
+ * @deprecated Use AccessPolicy.resource.interaction = ['search', 'read',
172
+ * 'vread', 'history']
172
173
  */
173
174
  readonly?: boolean;
174
175
 
176
+ /**
177
+ * Permitted FHIR interactions with this resource type
178
+ */
179
+ interaction?: ('read' | 'vread' | 'update' | 'delete' | 'history' | 'create' | 'search')[];
180
+
175
181
  /**
176
182
  * Optional list of hidden fields. Hidden fields are not readable or
177
183
  * writeable.
@@ -170,6 +170,13 @@ export interface ClientApplication {
170
170
  * all origins are allowed.
171
171
  */
172
172
  allowedOrigin?: string[];
173
+
174
+ /**
175
+ * Optional default OAuth scope for the client application. This scope is
176
+ * used when the client application does not specify a scope in the
177
+ * authorization request.
178
+ */
179
+ defaultScope?: string[];
173
180
  }
174
181
 
175
182
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medplum/fhirtypes",
3
- "version": "4.1.9",
3
+ "version": "4.1.10",
4
4
  "description": "Medplum FHIR Type Definitions",
5
5
  "keywords": [
6
6
  "medplum",