@medplum/core 0.9.31 → 0.9.32

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.
@@ -1,4 +1,4 @@
1
- import { Binary, Bundle, Communication, ExtractResource, OperationOutcome, Project, ProjectMembership, Reference, Resource, ResourceType, UserConfiguration, ValueSet } from '@medplum/fhirtypes';
1
+ import { Binary, Bundle, Communication, ExtractResource, OperationOutcome, Project, ProjectMembership, ProjectSecret, Reference, Resource, ResourceType, UserConfiguration, ValueSet } from '@medplum/fhirtypes';
2
2
  /** @ts-ignore */
3
3
  import type { CustomTableLayout, TDocumentDefinitions, TFontDictionary } from 'pdfmake/interfaces';
4
4
  import { EventTarget } from './eventtarget';
@@ -203,9 +203,10 @@ export interface TokenResponse {
203
203
  readonly project: Reference<Project>;
204
204
  readonly profile: Reference<ProfileResource>;
205
205
  }
206
- export interface BotEvent {
206
+ export interface BotEvent<T = Resource | Hl7Message | string> {
207
207
  readonly contentType: string;
208
- readonly input: Resource | Hl7Message | string;
208
+ readonly input: T;
209
+ readonly secrets: Record<string, ProjectSecret>;
209
210
  }
210
211
  /**
211
212
  * JSONPatch patch operation.