@medplum/definitions 5.1.24 → 5.1.27

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.
@@ -199,7 +199,8 @@
199
199
  "PackageRelease": "#/definitions/PackageRelease",
200
200
  "PackageInstallation": "#/definitions/PackageInstallation",
201
201
  "SmartHealthLink": "#/definitions/SmartHealthLink",
202
- "SmartHealthLinkFile": "#/definitions/SmartHealthLinkFile"
202
+ "SmartHealthLinkFile": "#/definitions/SmartHealthLinkFile",
203
+ "ProjectDefaultAccessPolicies": "#/definitions/ProjectDefaultAccessPolicies"
203
204
  }
204
205
  },
205
206
  "oneOf": [
@@ -787,6 +788,9 @@
787
788
  },
788
789
  {
789
790
  "$ref": "#/definitions/LoginEmailMfa"
791
+ },
792
+ {
793
+ "$ref": "#/definitions/ProjectDefaultAccessPolicies"
790
794
  }
791
795
  ],
792
796
  "definitions": {
@@ -1376,6 +1380,9 @@
1376
1380
  },
1377
1381
  {
1378
1382
  "$ref": "#/definitions/LoginEmailMfa"
1383
+ },
1384
+ {
1385
+ "$ref": "#/definitions/ProjectDefaultAccessPolicies"
1379
1386
  }
1380
1387
  ]
1381
1388
  },
@@ -61446,7 +61453,7 @@
61446
61453
  "type": "array"
61447
61454
  },
61448
61455
  "defaultPatientAccessPolicy": {
61449
- "description": "The default access policy for patients using open registration.",
61456
+ "description": "@deprecated Use defaultAccessPolicies instead. The default access policy for patients using open registration.",
61450
61457
  "$ref": "#/definitions/Reference"
61451
61458
  },
61452
61459
  "setting": {
@@ -61498,6 +61505,13 @@
61498
61505
  },
61499
61506
  "type": "array"
61500
61507
  },
61508
+ "defaultAccessPolicies": {
61509
+ "description": "Default access policies to apply to project members by role when no explicit policy is provided.",
61510
+ "items": {
61511
+ "$ref": "#/definitions/ProjectDefaultAccessPolicies"
61512
+ },
61513
+ "type": "array"
61514
+ },
61501
61515
  "exportedResourceType": {
61502
61516
  "description": "The resource types exported by the project when linked",
61503
61517
  "items": {
@@ -62434,8 +62448,7 @@
62434
62448
  "additionalProperties": false,
62435
62449
  "required": [
62436
62450
  "resourceType",
62437
- "alg",
62438
- "kty"
62451
+ "alg"
62439
62452
  ]
62440
62453
  },
62441
62454
  "Bot": {
@@ -65260,6 +65273,29 @@
65260
65273
  "contentType",
65261
65274
  "attachment"
65262
65275
  ]
65276
+ },
65277
+ "ProjectDefaultAccessPolicies": {
65278
+ "description": "Default access policies to apply to project members by role when no explicit policy is provided.",
65279
+ "properties": {
65280
+ "profileType": {
65281
+ "description": "The member role this policy applies to.",
65282
+ "enum": [
65283
+ "Patient",
65284
+ "Practitioner",
65285
+ "RelatedPerson",
65286
+ "Admin"
65287
+ ]
65288
+ },
65289
+ "accessPolicy": {
65290
+ "description": "The access policy to apply to members of this role.",
65291
+ "$ref": "#/definitions/Reference"
65292
+ }
65293
+ },
65294
+ "additionalProperties": false,
65295
+ "required": [
65296
+ "profileType",
65297
+ "accessPolicy"
65298
+ ]
65263
65299
  }
65264
65300
  }
65265
65301
  }
@@ -3529,7 +3529,7 @@
3529
3529
  "id": "JsonWebKey.kty",
3530
3530
  "path": "JsonWebKey.kty",
3531
3531
  "definition": "The family of cryptographic algorithms used with the key.",
3532
- "min": 1,
3532
+ "min": 0,
3533
3533
  "max": "1",
3534
3534
  "type": [
3535
3535
  {
@@ -3538,7 +3538,7 @@
3538
3538
  ],
3539
3539
  "base": {
3540
3540
  "path": "JsonWebKey.kty",
3541
- "min": 1,
3541
+ "min": 0,
3542
3542
  "max": "1"
3543
3543
  }
3544
3544
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medplum/definitions",
3
- "version": "5.1.24",
3
+ "version": "5.1.27",
4
4
  "description": "Medplum Data Definitions",
5
5
  "keywords": [
6
6
  "medplum",
@@ -60,6 +60,6 @@
60
60
  "node": "^22.18.0 || >=24.2.0"
61
61
  },
62
62
  "devDependencies": {
63
- "@medplum/fhirtypes": "5.1.24"
63
+ "@medplum/fhirtypes": "5.1.27"
64
64
  }
65
65
  }