@medplum/core 4.3.10 → 4.3.12

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.
@@ -7,6 +7,7 @@ import { Binary } from '@medplum/fhirtypes';
7
7
  import { Bot } from '@medplum/fhirtypes';
8
8
  import { BulkDataExport } from '@medplum/fhirtypes';
9
9
  import { Bundle } from '@medplum/fhirtypes';
10
+ import { ClientApplication } from '@medplum/fhirtypes';
10
11
  import { CodeableConcept } from '@medplum/fhirtypes';
11
12
  import { Coding } from '@medplum/fhirtypes';
12
13
  import { Communication } from '@medplum/fhirtypes';
@@ -351,6 +352,7 @@ export declare interface BotEvent<T = unknown> {
351
352
  readonly input: T;
352
353
  readonly secrets: Record<string, ProjectSetting>;
353
354
  readonly traceId?: string;
355
+ readonly requester?: Reference<Bot | ClientApplication | Patient | Practitioner | RelatedPerson>;
354
356
  /** Headers from the original request, when invoked by HTTP request */
355
357
  readonly headers?: Record<string, string | string[] | undefined>;
356
358
  }
@@ -2409,6 +2411,7 @@ export declare interface InviteRequest {
2409
2411
  membership?: Partial<ProjectMembership>;
2410
2412
  upsert?: boolean;
2411
2413
  forceNewMembership?: boolean;
2414
+ mfaRequired?: boolean;
2412
2415
  /** @deprecated Use membership.accessPolicy instead. */
2413
2416
  accessPolicy?: Reference<AccessPolicy>;
2414
2417
  /** @deprecated Use membership.access instead. */
@@ -2612,7 +2615,7 @@ export declare function isResource<T extends Resource>(value: unknown, resourceT
2612
2615
  * @param resourceType - The candidate resource type string.
2613
2616
  * @returns True if the resource type is a valid FHIR resource type.
2614
2617
  */
2615
- export declare function isResourceType(resourceType: string): boolean;
2618
+ export declare function isResourceType(resourceType: string): resourceType is ResourceType;
2616
2619
 
2617
2620
  /**
2618
2621
  * Returns true if the type schema is a non-abstract FHIR resource.
@@ -2846,7 +2849,9 @@ export declare interface LoggerOptions {
2846
2849
 
2847
2850
  export declare interface LoginAuthenticationResponse {
2848
2851
  readonly login: string;
2852
+ readonly mfaEnrollRequired?: boolean;
2849
2853
  readonly mfaRequired?: boolean;
2854
+ readonly enrollQrCode?: string;
2850
2855
  readonly code?: string;
2851
2856
  readonly memberships?: ProjectMembership[];
2852
2857
  }
@@ -4925,7 +4930,9 @@ export declare interface MedplumInfraConfig {
4925
4930
  [key: string]: string;
4926
4931
  };
4927
4932
  }[];
4933
+ /** @deprecated Use containerInsightsV2 instead */
4928
4934
  containerInsights?: boolean;
4935
+ containerInsightsV2?: 'enabled' | 'disabled' | 'enhanced';
4929
4936
  cloudTrailAlarms?: {
4930
4937
  logGroupName: string;
4931
4938
  logGroupCreate?: boolean;
@@ -5079,7 +5086,9 @@ export declare interface MedplumSourceInfraConfig {
5079
5086
  [key: string]: ValueOrExternalSecret<string>;
5080
5087
  };
5081
5088
  }[];
5089
+ /** @deprecated Use containerInsightsV2 instead */
5082
5090
  containerInsights?: ValueOrExternalSecret<boolean>;
5091
+ containerInsightsV2?: ValueOrExternalSecret<'enabled' | 'disabled' | 'enhanced'>;
5083
5092
  cloudTrailAlarms?: {
5084
5093
  logGroupName: ValueOrExternalSecret<string>;
5085
5094
  logGroupCreate?: ValueOrExternalSecret<boolean>;
@@ -7,6 +7,7 @@ import { Binary } from '@medplum/fhirtypes';
7
7
  import { Bot } from '@medplum/fhirtypes';
8
8
  import { BulkDataExport } from '@medplum/fhirtypes';
9
9
  import { Bundle } from '@medplum/fhirtypes';
10
+ import { ClientApplication } from '@medplum/fhirtypes';
10
11
  import { CodeableConcept } from '@medplum/fhirtypes';
11
12
  import { Coding } from '@medplum/fhirtypes';
12
13
  import { Communication } from '@medplum/fhirtypes';
@@ -351,6 +352,7 @@ export declare interface BotEvent<T = unknown> {
351
352
  readonly input: T;
352
353
  readonly secrets: Record<string, ProjectSetting>;
353
354
  readonly traceId?: string;
355
+ readonly requester?: Reference<Bot | ClientApplication | Patient | Practitioner | RelatedPerson>;
354
356
  /** Headers from the original request, when invoked by HTTP request */
355
357
  readonly headers?: Record<string, string | string[] | undefined>;
356
358
  }
@@ -2409,6 +2411,7 @@ export declare interface InviteRequest {
2409
2411
  membership?: Partial<ProjectMembership>;
2410
2412
  upsert?: boolean;
2411
2413
  forceNewMembership?: boolean;
2414
+ mfaRequired?: boolean;
2412
2415
  /** @deprecated Use membership.accessPolicy instead. */
2413
2416
  accessPolicy?: Reference<AccessPolicy>;
2414
2417
  /** @deprecated Use membership.access instead. */
@@ -2612,7 +2615,7 @@ export declare function isResource<T extends Resource>(value: unknown, resourceT
2612
2615
  * @param resourceType - The candidate resource type string.
2613
2616
  * @returns True if the resource type is a valid FHIR resource type.
2614
2617
  */
2615
- export declare function isResourceType(resourceType: string): boolean;
2618
+ export declare function isResourceType(resourceType: string): resourceType is ResourceType;
2616
2619
 
2617
2620
  /**
2618
2621
  * Returns true if the type schema is a non-abstract FHIR resource.
@@ -2846,7 +2849,9 @@ export declare interface LoggerOptions {
2846
2849
 
2847
2850
  export declare interface LoginAuthenticationResponse {
2848
2851
  readonly login: string;
2852
+ readonly mfaEnrollRequired?: boolean;
2849
2853
  readonly mfaRequired?: boolean;
2854
+ readonly enrollQrCode?: string;
2850
2855
  readonly code?: string;
2851
2856
  readonly memberships?: ProjectMembership[];
2852
2857
  }
@@ -4925,7 +4930,9 @@ export declare interface MedplumInfraConfig {
4925
4930
  [key: string]: string;
4926
4931
  };
4927
4932
  }[];
4933
+ /** @deprecated Use containerInsightsV2 instead */
4928
4934
  containerInsights?: boolean;
4935
+ containerInsightsV2?: 'enabled' | 'disabled' | 'enhanced';
4929
4936
  cloudTrailAlarms?: {
4930
4937
  logGroupName: string;
4931
4938
  logGroupCreate?: boolean;
@@ -5079,7 +5086,9 @@ export declare interface MedplumSourceInfraConfig {
5079
5086
  [key: string]: ValueOrExternalSecret<string>;
5080
5087
  };
5081
5088
  }[];
5089
+ /** @deprecated Use containerInsightsV2 instead */
5082
5090
  containerInsights?: ValueOrExternalSecret<boolean>;
5091
+ containerInsightsV2?: ValueOrExternalSecret<'enabled' | 'disabled' | 'enhanced'>;
5083
5092
  cloudTrailAlarms?: {
5084
5093
  logGroupName: ValueOrExternalSecret<string>;
5085
5094
  logGroupCreate?: ValueOrExternalSecret<boolean>;