@medplum/definitions 0.9.29 → 0.9.30

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.
@@ -61092,17 +61092,10 @@
61092
61092
  "description": "The default access policy for patients using open registration.",
61093
61093
  "$ref": "#/definitions/Reference"
61094
61094
  },
61095
- "googleClientId": {
61096
- "description": "DEPRECATED",
61097
- "items": {
61098
- "$ref": "#/definitions/string"
61099
- },
61100
- "type": "array"
61101
- },
61102
- "recaptchaSiteKey": {
61103
- "description": "DEPRECATED",
61095
+ "secret": {
61096
+ "description": "Secure environment variable that can be used to store secrets for bots.",
61104
61097
  "items": {
61105
- "$ref": "#/definitions/string"
61098
+ "$ref": "#/definitions/Project_Secret"
61106
61099
  },
61107
61100
  "type": "array"
61108
61101
  },
@@ -61119,17 +61112,38 @@
61119
61112
  "owner"
61120
61113
  ]
61121
61114
  },
61122
- "Project_Site": {
61123
- "description": "Web application or web site that is associated with the project.",
61115
+ "Project_Secret": {
61116
+ "description": "Secure environment variable that can be used to store secrets for bots.",
61124
61117
  "properties": {
61125
- "resourceType": {
61126
- "description": "This is a Project resource",
61127
- "const": "Project"
61128
- },
61129
- "id": {
61130
- "description": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
61118
+ "name": {
61119
+ "description": "A name associated with the Project.",
61131
61120
  "$ref": "#/definitions/string"
61132
61121
  },
61122
+ "valueBoolean": {
61123
+ "description": "Value of option - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).",
61124
+ "pattern": "^true|false$",
61125
+ "type": "boolean"
61126
+ },
61127
+ "valueDecimal": {
61128
+ "description": "Value of option - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).",
61129
+ "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?([eE][+-]?[0-9]+)?$",
61130
+ "type": "number"
61131
+ },
61132
+ "valueInteger": {
61133
+ "description": "Value of option - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).",
61134
+ "pattern": "^-?([0]|([1-9][0-9]*))$",
61135
+ "type": "number"
61136
+ },
61137
+ "valueString": {
61138
+ "description": "Value of option - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).",
61139
+ "pattern": "^[ \\r\\n\\t\\S]+$",
61140
+ "type": "string"
61141
+ }
61142
+ }
61143
+ },
61144
+ "Project_Site": {
61145
+ "description": "Web application or web site that is associated with the project.",
61146
+ "properties": {
61133
61147
  "name": {
61134
61148
  "description": "A name associated with the Project.",
61135
61149
  "$ref": "#/definitions/string"
@@ -61300,10 +61314,22 @@
61300
61314
  "description": "Extensions for language",
61301
61315
  "$ref": "#/definitions/Element"
61302
61316
  },
61317
+ "firstName": {
61318
+ "description": "The first name or given name of the user. This is the value as entered when the user is created. It is used to populate the profile resource.",
61319
+ "$ref": "#/definitions/string"
61320
+ },
61321
+ "lastName": {
61322
+ "description": "The last name or family name of the user. This is the value as entered when the user is created. It is used to populate the profile resource.",
61323
+ "$ref": "#/definitions/string"
61324
+ },
61303
61325
  "email": {
61304
- "description": "User email.",
61326
+ "description": "The email address that uniquely identifies the user.",
61305
61327
  "$ref": "#/definitions/string"
61306
61328
  },
61329
+ "emailVerified": {
61330
+ "description": "Whether the system has verified that the user has access to the email address.",
61331
+ "$ref": "#/definitions/boolean"
61332
+ },
61307
61333
  "passwordHash": {
61308
61334
  "description": "Encrypted hash of the user's password.",
61309
61335
  "$ref": "#/definitions/string"
@@ -107,23 +107,42 @@
107
107
  }]
108
108
  },
109
109
  {
110
- "id" : "Project.googleClientId",
111
- "path" : "Project.googleClientId",
112
- "definition" : "DEPRECATED",
110
+ "id" : "Project.secret",
111
+ "path" : "Project.secret",
112
+ "definition" : "Secure environment variable that can be used to store secrets for bots.",
113
113
  "min" : 0,
114
114
  "max" : "*",
115
+ "type" : [{
116
+ "code" : "BackboneElement"
117
+ }]
118
+ },
119
+ {
120
+ "id" : "Project.secret.name",
121
+ "path" : "Project.secret.name",
122
+ "definition" : "The secret name.",
123
+ "min" : 1,
124
+ "max" : "1",
115
125
  "type" : [{
116
126
  "code" : "string"
117
127
  }]
118
128
  },
119
129
  {
120
- "id" : "Project.recaptchaSiteKey",
121
- "path" : "Project.recaptchaSiteKey",
122
- "definition" : "DEPRECATED",
123
- "min" : 0,
124
- "max" : "*",
130
+ "id" : "Project.secret.value[x]",
131
+ "path" : "Project.secret.value[x]",
132
+ "definition" : "The secret value.",
133
+ "min" : 1,
134
+ "max" : "1",
125
135
  "type" : [{
126
136
  "code" : "string"
137
+ },
138
+ {
139
+ "code" : "boolean"
140
+ },
141
+ {
142
+ "code" : "decimal"
143
+ },
144
+ {
145
+ "code" : "integer"
127
146
  }]
128
147
  },
129
148
  {
@@ -343,16 +362,46 @@
343
362
  "code" : "code"
344
363
  }]
345
364
  },
365
+ {
366
+ "id" : "User.firstName",
367
+ "path" : "User.firstName",
368
+ "definition" : "The first name or given name of the user. This is the value as entered when the user is created. It is used to populate the profile resource.",
369
+ "min" : 1,
370
+ "max" : "1",
371
+ "type" : [{
372
+ "code" : "string"
373
+ }]
374
+ },
375
+ {
376
+ "id" : "User.lastName",
377
+ "path" : "User.lastName",
378
+ "definition" : "The last name or family name of the user. This is the value as entered when the user is created. It is used to populate the profile resource.",
379
+ "min" : 1,
380
+ "max" : "1",
381
+ "type" : [{
382
+ "code" : "string"
383
+ }]
384
+ },
346
385
  {
347
386
  "id" : "User.email",
348
387
  "path" : "User.email",
349
- "definition" : "The email address that uniquely identifies the user. This email address must be globally unique within the server.",
388
+ "definition" : "The email address that uniquely identifies the user.",
350
389
  "min" : 1,
351
390
  "max" : "1",
352
391
  "type" : [{
353
392
  "code" : "string"
354
393
  }]
355
394
  },
395
+ {
396
+ "id" : "User.emailVerified",
397
+ "path" : "User.emailVerified",
398
+ "definition" : "Whether the system has verified that the user has access to the email address.",
399
+ "min" : 0,
400
+ "max" : "1",
401
+ "type" : [{
402
+ "code" : "boolean"
403
+ }]
404
+ },
356
405
  {
357
406
  "id" : "User.admin",
358
407
  "path" : "User.admin",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medplum/definitions",
3
- "version": "0.9.29",
3
+ "version": "0.9.30",
4
4
  "description": "Medplum Data Definitions",
5
5
  "author": "Medplum <hello@medplum.com>",
6
6
  "license": "Apache-2.0",