@medplum/core 3.2.8 → 3.2.9

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.
@@ -713,6 +713,7 @@ export declare type DataTypesMap = {
713
713
  /**
714
714
  * Decodes a base64 string.
715
715
  * Handles both browser and Node environments.
716
+ * Supports Unicode characters.
716
717
  * @param data - The base-64 encoded input string.
717
718
  * @returns The decoded string.
718
719
  */
@@ -828,6 +829,7 @@ export declare class EmptySetAtom implements Atom {
828
829
  /**
829
830
  * Encodes a base64 string.
830
831
  * Handles both browser and Node environments.
832
+ * Supports Unicode characters.
831
833
  * @param data - The unencoded input string.
832
834
  * @returns The base-64 encoded string.
833
835
  */
@@ -2368,6 +2370,8 @@ export declare function isTextObject(value: unknown): value is {
2368
2370
  text: string;
2369
2371
  };
2370
2372
 
2373
+ export declare function isUnauthenticated(outcome: OperationOutcome): boolean;
2374
+
2371
2375
  /**
2372
2376
  * Returns true if the input string is a UUID.
2373
2377
  * @param input - The input string.
@@ -2546,7 +2550,7 @@ export declare interface MailAddress {
2546
2550
  * Compatible with nodemailer Mail.Options.
2547
2551
  */
2548
2552
  export declare interface MailAttachment {
2549
- /** String, Buffer or a Stream contents for the attachmentent */
2553
+ /** String, Buffer or a Stream contents for the attachment */
2550
2554
  readonly content?: string;
2551
2555
  /** path to a file or an URL (data uris are allowed as well) if you want to stream the file instead of including it (better for larger attachments) */
2552
2556
  readonly path?: string;
@@ -3441,7 +3445,7 @@ export declare class MedplumClient extends TypedEventTarget<MedplumClientEventMa
3441
3445
  /**
3442
3446
  * Creates a FHIR `Communication` resource with the provided data content.
3443
3447
  *
3444
- * This is a convenience method to handle commmon cases where a `Communication` resource is created with a `payload`.
3448
+ * This is a convenience method to handle common cases where a `Communication` resource is created with a `payload`.
3445
3449
  * @category Create
3446
3450
  * @param resource - The FHIR resource to comment on.
3447
3451
  * @param text - The text of the comment.
@@ -4414,7 +4418,7 @@ export declare interface MedplumInfraConfig {
4414
4418
  rdsInstances: number;
4415
4419
  rdsInstanceType: string;
4416
4420
  rdsInstanceVersion?: string;
4417
- rdsInstanceParameters?: StringMap;
4421
+ rdsClusterParameters?: StringMap;
4418
4422
  rdsSecretsArn?: string;
4419
4423
  rdsReaderInstanceType?: string;
4420
4424
  rdsProxyEnabled?: boolean;
@@ -5901,6 +5905,10 @@ export declare class UnaryOperatorAtom extends PrefixOperatorAtom {
5901
5905
 
5902
5906
  export declare const unauthorized: OperationOutcome;
5903
5907
 
5908
+ export declare const unauthorizedTokenAudience: OperationOutcome;
5909
+
5910
+ export declare const unauthorizedTokenExpired: OperationOutcome;
5911
+
5904
5912
  export declare class UnionAtom extends InfixOperatorAtom {
5905
5913
  constructor(left: Atom, right: Atom);
5906
5914
  eval(context: AtomContext, input: TypedValue[]): TypedValue[];
@@ -713,6 +713,7 @@ export declare type DataTypesMap = {
713
713
  /**
714
714
  * Decodes a base64 string.
715
715
  * Handles both browser and Node environments.
716
+ * Supports Unicode characters.
716
717
  * @param data - The base-64 encoded input string.
717
718
  * @returns The decoded string.
718
719
  */
@@ -828,6 +829,7 @@ export declare class EmptySetAtom implements Atom {
828
829
  /**
829
830
  * Encodes a base64 string.
830
831
  * Handles both browser and Node environments.
832
+ * Supports Unicode characters.
831
833
  * @param data - The unencoded input string.
832
834
  * @returns The base-64 encoded string.
833
835
  */
@@ -2368,6 +2370,8 @@ export declare function isTextObject(value: unknown): value is {
2368
2370
  text: string;
2369
2371
  };
2370
2372
 
2373
+ export declare function isUnauthenticated(outcome: OperationOutcome): boolean;
2374
+
2371
2375
  /**
2372
2376
  * Returns true if the input string is a UUID.
2373
2377
  * @param input - The input string.
@@ -2546,7 +2550,7 @@ export declare interface MailAddress {
2546
2550
  * Compatible with nodemailer Mail.Options.
2547
2551
  */
2548
2552
  export declare interface MailAttachment {
2549
- /** String, Buffer or a Stream contents for the attachmentent */
2553
+ /** String, Buffer or a Stream contents for the attachment */
2550
2554
  readonly content?: string;
2551
2555
  /** path to a file or an URL (data uris are allowed as well) if you want to stream the file instead of including it (better for larger attachments) */
2552
2556
  readonly path?: string;
@@ -3441,7 +3445,7 @@ export declare class MedplumClient extends TypedEventTarget<MedplumClientEventMa
3441
3445
  /**
3442
3446
  * Creates a FHIR `Communication` resource with the provided data content.
3443
3447
  *
3444
- * This is a convenience method to handle commmon cases where a `Communication` resource is created with a `payload`.
3448
+ * This is a convenience method to handle common cases where a `Communication` resource is created with a `payload`.
3445
3449
  * @category Create
3446
3450
  * @param resource - The FHIR resource to comment on.
3447
3451
  * @param text - The text of the comment.
@@ -4414,7 +4418,7 @@ export declare interface MedplumInfraConfig {
4414
4418
  rdsInstances: number;
4415
4419
  rdsInstanceType: string;
4416
4420
  rdsInstanceVersion?: string;
4417
- rdsInstanceParameters?: StringMap;
4421
+ rdsClusterParameters?: StringMap;
4418
4422
  rdsSecretsArn?: string;
4419
4423
  rdsReaderInstanceType?: string;
4420
4424
  rdsProxyEnabled?: boolean;
@@ -5901,6 +5905,10 @@ export declare class UnaryOperatorAtom extends PrefixOperatorAtom {
5901
5905
 
5902
5906
  export declare const unauthorized: OperationOutcome;
5903
5907
 
5908
+ export declare const unauthorizedTokenAudience: OperationOutcome;
5909
+
5910
+ export declare const unauthorizedTokenExpired: OperationOutcome;
5911
+
5904
5912
  export declare class UnionAtom extends InfixOperatorAtom {
5905
5913
  constructor(left: Atom, right: Atom);
5906
5914
  eval(context: AtomContext, input: TypedValue[]): TypedValue[];