jmap-kit
    Preparing search index...
    • Creates a mock client for testing the RequestBuilder class with support for arbitrary nested object overrides.

      Parameters

      • overrides: {
            accounts?:
                | {
                    readonly [key: Id]: | {
                        accountCapabilities?: {
                            "https://www.fastmail.com/dev/maskedemail"?: {
                                [key: string]: (...)[]
                                | undefined;
                                [key: symbol]: (...)[] | undefined;
                            };
                            "urn:example:jmap:widget"?: {
                                maxWidgetNameLength?: number;
                                maxWidgetsPerAccount?: number;
                                supportsColours?: boolean;
                            };
                            "urn:ietf:params:jmap:blob"?: {
                                maxDataSources?: UnsignedInt;
                                maxSizeBlobSet?: UnsignedInt
                                | null;
                                supportedDigestAlgorithms?: (...)[];
                                supportedTypeNames?: (...)[];
                            };
                            "urn:ietf:params:jmap:core"?: {
                                [key: string]: (...)[]
                                | undefined;
                                [key: symbol]: (...)[] | undefined;
                            };
                            "urn:ietf:params:jmap:mail"?: {
                                emailQuerySortOptions?: (...)[];
                                maxMailboxDepth?: UnsignedInt | null;
                                maxMailboxesPerEmail?: UnsignedInt | null;
                                maxSizeAttachmentsPerEmail?: UnsignedInt;
                                maxSizeMailboxName?: UnsignedInt;
                                mayCreateTopLevelMailbox?: boolean;
                            };
                            "urn:ietf:params:jmap:submission"?: {
                                maxDelayedSend?: UnsignedInt;
                                submissionExtensions?: Record<(...), (...)>;
                            };
                            "urn:ietf:params:jmap:vacationresponse"?: {
                                [key: string]: (...)[]
                                | undefined;
                                [key: symbol]: (...)[] | undefined;
                            };
                            [key: string & {}]: unknown;
                        };
                        isPersonal?: boolean;
                        isReadOnly?: boolean;
                        name?: string;
                    }
                    | undefined;
                }
                | null;
            apiUrl?: string
            | null;
            capabilityRegistry?: {
                executeBuildTransformers?: {};
                executeSerializationTransformers?: {};
                executeValidators?: {};
                get?: {};
                getAll?: {};
                getInvocationFactoryByDataType?: {};
                getInvocationRequestFactory?: {};
                getInvocationResponseFactory?: {};
                getTransformersByHook?: {};
                getValidatorsByHook?: {};
                has?: {};
                register?: {};
                validateAccountCapabilities?: {};
                validateCapabilityDefinition?: {};
                validateServerCapabilities?: {};
            };
            connect?: {};
            connectionStatus?: ConnectionStatus;
            createRequestBuilder?: {};
            disconnect?: {};
            downloadFile?: {};
            downloadUrl?: string
            | null;
            eventSourceUrl?: string | null;
            primaryAccounts?: {
                "https://www.fastmail.com/dev/maskedemail"?: {
                    "[iterator]"?: {};
                    anchor?: {};
                    at?: {};
                    big?: {};
                    blink?: {};
                    bold?: {};
                    charAt?: {};
                    charCodeAt?: {};
                    codePointAt?: {};
                    concat?: {};
                    endsWith?: {};
                    fixed?: {};
                    fontcolor?: {};
                    fontsize?: {};
                    includes?: {};
                    indexOf?: {};
                    isWellFormed?: {};
                    italics?: {};
                    lastIndexOf?: {};
                    length?: number;
                    link?: {};
                    localeCompare?: {};
                    match?: {};
                    matchAll?: {};
                    normalize?: {};
                    padEnd?: {};
                    padStart?: {};
                    repeat?: {};
                    replace?: {};
                    replaceAll?: {};
                    search?: {};
                    slice?: {};
                    small?: {};
                    split?: {};
                    startsWith?: {};
                    strike?: {};
                    sub?: {};
                    substr?: {};
                    substring?: {};
                    sup?: {};
                    toLocaleLowerCase?: {};
                    toLocaleUpperCase?: {};
                    toLowerCase?: {};
                    toString?: {};
                    toUpperCase?: {};
                    toWellFormed?: {};
                    trim?: {};
                    trimEnd?: {};
                    trimLeft?: {};
                    trimRight?: {};
                    trimStart?: {};
                    valueOf?: {};
                    readonly [key: number]: string | undefined;
                };
                "urn:example:jmap:widget"?: {
                    "[iterator]"?: {};
                    anchor?: {};
                    at?: {};
                    big?: {};
                    blink?: {};
                    bold?: {};
                    charAt?: {};
                    charCodeAt?: {};
                    codePointAt?: {};
                    concat?: {};
                    endsWith?: {};
                    fixed?: {};
                    fontcolor?: {};
                    fontsize?: {};
                    includes?: {};
                    indexOf?: {};
                    isWellFormed?: {};
                    italics?: {};
                    lastIndexOf?: {};
                    length?: number;
                    link?: {};
                    localeCompare?: {};
                    match?: {};
                    matchAll?: {};
                    normalize?: {};
                    padEnd?: {};
                    padStart?: {};
                    repeat?: {};
                    replace?: {};
                    replaceAll?: {};
                    search?: {};
                    slice?: {};
                    small?: {};
                    split?: {};
                    startsWith?: {};
                    strike?: {};
                    sub?: {};
                    substr?: {};
                    substring?: {};
                    sup?: {};
                    toLocaleLowerCase?: {};
                    toLocaleUpperCase?: {};
                    toLowerCase?: {};
                    toString?: {};
                    toUpperCase?: {};
                    toWellFormed?: {};
                    trim?: {};
                    trimEnd?: {};
                    trimLeft?: {};
                    trimRight?: {};
                    trimStart?: {};
                    valueOf?: {};
                    readonly [key: number]: string
                    | undefined;
                };
                "urn:ietf:params:jmap:blob"?: {
                    "[iterator]"?: {};
                    anchor?: {};
                    at?: {};
                    big?: {};
                    blink?: {};
                    bold?: {};
                    charAt?: {};
                    charCodeAt?: {};
                    codePointAt?: {};
                    concat?: {};
                    endsWith?: {};
                    fixed?: {};
                    fontcolor?: {};
                    fontsize?: {};
                    includes?: {};
                    indexOf?: {};
                    isWellFormed?: {};
                    italics?: {};
                    lastIndexOf?: {};
                    length?: number;
                    link?: {};
                    localeCompare?: {};
                    match?: {};
                    matchAll?: {};
                    normalize?: {};
                    padEnd?: {};
                    padStart?: {};
                    repeat?: {};
                    replace?: {};
                    replaceAll?: {};
                    search?: {};
                    slice?: {};
                    small?: {};
                    split?: {};
                    startsWith?: {};
                    strike?: {};
                    sub?: {};
                    substr?: {};
                    substring?: {};
                    sup?: {};
                    toLocaleLowerCase?: {};
                    toLocaleUpperCase?: {};
                    toLowerCase?: {};
                    toString?: {};
                    toUpperCase?: {};
                    toWellFormed?: {};
                    trim?: {};
                    trimEnd?: {};
                    trimLeft?: {};
                    trimRight?: {};
                    trimStart?: {};
                    valueOf?: {};
                    readonly [key: number]: string
                    | undefined;
                };
                "urn:ietf:params:jmap:core"?: {
                    "[iterator]"?: {};
                    anchor?: {};
                    at?: {};
                    big?: {};
                    blink?: {};
                    bold?: {};
                    charAt?: {};
                    charCodeAt?: {};
                    codePointAt?: {};
                    concat?: {};
                    endsWith?: {};
                    fixed?: {};
                    fontcolor?: {};
                    fontsize?: {};
                    includes?: {};
                    indexOf?: {};
                    isWellFormed?: {};
                    italics?: {};
                    lastIndexOf?: {};
                    length?: number;
                    link?: {};
                    localeCompare?: {};
                    match?: {};
                    matchAll?: {};
                    normalize?: {};
                    padEnd?: {};
                    padStart?: {};
                    repeat?: {};
                    replace?: {};
                    replaceAll?: {};
                    search?: {};
                    slice?: {};
                    small?: {};
                    split?: {};
                    startsWith?: {};
                    strike?: {};
                    sub?: {};
                    substr?: {};
                    substring?: {};
                    sup?: {};
                    toLocaleLowerCase?: {};
                    toLocaleUpperCase?: {};
                    toLowerCase?: {};
                    toString?: {};
                    toUpperCase?: {};
                    toWellFormed?: {};
                    trim?: {};
                    trimEnd?: {};
                    trimLeft?: {};
                    trimRight?: {};
                    trimStart?: {};
                    valueOf?: {};
                    readonly [key: number]: string
                    | undefined;
                };
                "urn:ietf:params:jmap:mail"?: {
                    "[iterator]"?: {};
                    anchor?: {};
                    at?: {};
                    big?: {};
                    blink?: {};
                    bold?: {};
                    charAt?: {};
                    charCodeAt?: {};
                    codePointAt?: {};
                    concat?: {};
                    endsWith?: {};
                    fixed?: {};
                    fontcolor?: {};
                    fontsize?: {};
                    includes?: {};
                    indexOf?: {};
                    isWellFormed?: {};
                    italics?: {};
                    lastIndexOf?: {};
                    length?: number;
                    link?: {};
                    localeCompare?: {};
                    match?: {};
                    matchAll?: {};
                    normalize?: {};
                    padEnd?: {};
                    padStart?: {};
                    repeat?: {};
                    replace?: {};
                    replaceAll?: {};
                    search?: {};
                    slice?: {};
                    small?: {};
                    split?: {};
                    startsWith?: {};
                    strike?: {};
                    sub?: {};
                    substr?: {};
                    substring?: {};
                    sup?: {};
                    toLocaleLowerCase?: {};
                    toLocaleUpperCase?: {};
                    toLowerCase?: {};
                    toString?: {};
                    toUpperCase?: {};
                    toWellFormed?: {};
                    trim?: {};
                    trimEnd?: {};
                    trimLeft?: {};
                    trimRight?: {};
                    trimStart?: {};
                    valueOf?: {};
                    readonly [key: number]: string
                    | undefined;
                };
                "urn:ietf:params:jmap:submission"?: {
                    "[iterator]"?: {};
                    anchor?: {};
                    at?: {};
                    big?: {};
                    blink?: {};
                    bold?: {};
                    charAt?: {};
                    charCodeAt?: {};
                    codePointAt?: {};
                    concat?: {};
                    endsWith?: {};
                    fixed?: {};
                    fontcolor?: {};
                    fontsize?: {};
                    includes?: {};
                    indexOf?: {};
                    isWellFormed?: {};
                    italics?: {};
                    lastIndexOf?: {};
                    length?: number;
                    link?: {};
                    localeCompare?: {};
                    match?: {};
                    matchAll?: {};
                    normalize?: {};
                    padEnd?: {};
                    padStart?: {};
                    repeat?: {};
                    replace?: {};
                    replaceAll?: {};
                    search?: {};
                    slice?: {};
                    small?: {};
                    split?: {};
                    startsWith?: {};
                    strike?: {};
                    sub?: {};
                    substr?: {};
                    substring?: {};
                    sup?: {};
                    toLocaleLowerCase?: {};
                    toLocaleUpperCase?: {};
                    toLowerCase?: {};
                    toString?: {};
                    toUpperCase?: {};
                    toWellFormed?: {};
                    trim?: {};
                    trimEnd?: {};
                    trimLeft?: {};
                    trimRight?: {};
                    trimStart?: {};
                    valueOf?: {};
                    readonly [key: number]: string
                    | undefined;
                };
                "urn:ietf:params:jmap:vacationresponse"?: {
                    "[iterator]"?: {};
                    anchor?: {};
                    at?: {};
                    big?: {};
                    blink?: {};
                    bold?: {};
                    charAt?: {};
                    charCodeAt?: {};
                    codePointAt?: {};
                    concat?: {};
                    endsWith?: {};
                    fixed?: {};
                    fontcolor?: {};
                    fontsize?: {};
                    includes?: {};
                    indexOf?: {};
                    isWellFormed?: {};
                    italics?: {};
                    lastIndexOf?: {};
                    length?: number;
                    link?: {};
                    localeCompare?: {};
                    match?: {};
                    matchAll?: {};
                    normalize?: {};
                    padEnd?: {};
                    padStart?: {};
                    repeat?: {};
                    replace?: {};
                    replaceAll?: {};
                    search?: {};
                    slice?: {};
                    small?: {};
                    split?: {};
                    startsWith?: {};
                    strike?: {};
                    sub?: {};
                    substr?: {};
                    substring?: {};
                    sup?: {};
                    toLocaleLowerCase?: {};
                    toLocaleUpperCase?: {};
                    toLowerCase?: {};
                    toString?: {};
                    toUpperCase?: {};
                    toWellFormed?: {};
                    trim?: {};
                    trimEnd?: {};
                    trimLeft?: {};
                    trimRight?: {};
                    trimStart?: {};
                    valueOf?: {};
                    readonly [key: number]: string
                    | undefined;
                };
                readonly [key: string & {}]: | {
                    "[iterator]"?: {};
                    anchor?: {};
                    at?: {};
                    big?: {};
                    blink?: {};
                    bold?: {};
                    charAt?: {};
                    charCodeAt?: {};
                    codePointAt?: {};
                    concat?: {};
                    endsWith?: {};
                    fixed?: {};
                    fontcolor?: {};
                    fontsize?: {};
                    includes?: {};
                    indexOf?: {};
                    isWellFormed?: {};
                    italics?: {};
                    lastIndexOf?: {};
                    length?: number;
                    link?: {};
                    localeCompare?: {};
                    match?: {};
                    matchAll?: {};
                    normalize?: {};
                    padEnd?: {};
                    padStart?: {};
                    repeat?: {};
                    replace?: {};
                    replaceAll?: {};
                    search?: {};
                    slice?: {};
                    small?: {};
                    split?: {};
                    startsWith?: {};
                    strike?: {};
                    sub?: {};
                    substr?: {};
                    substring?: {};
                    sup?: {};
                    toLocaleLowerCase?: {};
                    toLocaleUpperCase?: {};
                    toLowerCase?: {};
                    toString?: {};
                    toUpperCase?: {};
                    toWellFormed?: {};
                    trim?: {};
                    trimEnd?: {};
                    trimLeft?: {};
                    trimRight?: {};
                    trimStart?: {};
                    valueOf?: {};
                    readonly [key: number]: string
                    | undefined;
                }
                | undefined;
            };
            registerCapabilities?: {};
            sendAPIRequest?: {};
            serverCapabilities?: | {
                "https://www.fastmail.com/dev/maskedemail"?: {
                    [key: string]: unknown[]
                    | undefined;
                    [key: symbol]: unknown[] | undefined;
                };
                "urn:example:jmap:widget"?: {
                    [key: string]: unknown[]
                    | undefined;
                    [key: symbol]: unknown[] | undefined;
                };
                "urn:ietf:params:jmap:blob"?: {
                    [key: string]: unknown[]
                    | undefined;
                    [key: symbol]: unknown[] | undefined;
                };
                "urn:ietf:params:jmap:core"?: {
                    collationAlgorithms?: string[];
                    maxCallsInRequest?: {
                        toExponential?: {};
                        toFixed?: {};
                        toLocaleString?: {};
                        toPrecision?: {};
                        toString?: {};
                        valueOf?: {};
                    };
                    maxConcurrentRequests?: {
                        toExponential?: {};
                        toFixed?: {};
                        toLocaleString?: {};
                        toPrecision?: {};
                        toString?: {};
                        valueOf?: {};
                    };
                    maxConcurrentUpload?: {
                        toExponential?: {};
                        toFixed?: {};
                        toLocaleString?: {};
                        toPrecision?: {};
                        toString?: {};
                        valueOf?: {};
                    };
                    maxObjectsInGet?: {
                        toExponential?: {};
                        toFixed?: {};
                        toLocaleString?: {};
                        toPrecision?: {};
                        toString?: {};
                        valueOf?: {};
                    };
                    maxObjectsInSet?: {
                        toExponential?: {};
                        toFixed?: {};
                        toLocaleString?: {};
                        toPrecision?: {};
                        toString?: {};
                        valueOf?: {};
                    };
                    maxSizeRequest?: {
                        toExponential?: {};
                        toFixed?: {};
                        toLocaleString?: {};
                        toPrecision?: {};
                        toString?: {};
                        valueOf?: {};
                    };
                    maxSizeUpload?: {
                        toExponential?: {};
                        toFixed?: {};
                        toLocaleString?: {};
                        toPrecision?: {};
                        toString?: {};
                        valueOf?: {};
                    };
                };
                "urn:ietf:params:jmap:mail"?: {
                    [key: string]: unknown[]
                    | undefined;
                    [key: symbol]: unknown[] | undefined;
                };
                "urn:ietf:params:jmap:submission"?: {
                    [key: string]: unknown[]
                    | undefined;
                    [key: symbol]: unknown[] | undefined;
                };
                "urn:ietf:params:jmap:vacationresponse"?: {
                    [key: string]: unknown[]
                    | undefined;
                    [key: symbol]: unknown[] | undefined;
                };
                readonly [key: string & {}]: unknown;
            }
            | null;
            uploadFile?: {};
            uploadUrl?: string
            | null;
            username?: string | null;
            withEmitter?: {};
            withHeaders?: {};
            withHostname?: {};
            withLogger?: {};
            withPort?: {};
        } = {}

        Optional partial overrides for the mock client properties

        • Optional Readonlyaccounts?:
              | {
                  readonly [key: Id]: | {
                      accountCapabilities?: {
                          "https://www.fastmail.com/dev/maskedemail"?: {
                              [key: string]: (...)[]
                              | undefined;
                              [key: symbol]: (...)[] | undefined;
                          };
                          "urn:example:jmap:widget"?: {
                              maxWidgetNameLength?: number;
                              maxWidgetsPerAccount?: number;
                              supportsColours?: boolean;
                          };
                          "urn:ietf:params:jmap:blob"?: {
                              maxDataSources?: UnsignedInt;
                              maxSizeBlobSet?: UnsignedInt
                              | null;
                              supportedDigestAlgorithms?: (...)[];
                              supportedTypeNames?: (...)[];
                          };
                          "urn:ietf:params:jmap:core"?: {
                              [key: string]: (...)[]
                              | undefined;
                              [key: symbol]: (...)[] | undefined;
                          };
                          "urn:ietf:params:jmap:mail"?: {
                              emailQuerySortOptions?: (...)[];
                              maxMailboxDepth?: UnsignedInt | null;
                              maxMailboxesPerEmail?: UnsignedInt | null;
                              maxSizeAttachmentsPerEmail?: UnsignedInt;
                              maxSizeMailboxName?: UnsignedInt;
                              mayCreateTopLevelMailbox?: boolean;
                          };
                          "urn:ietf:params:jmap:submission"?: {
                              maxDelayedSend?: UnsignedInt;
                              submissionExtensions?: Record<(...), (...)>;
                          };
                          "urn:ietf:params:jmap:vacationresponse"?: {
                              [key: string]: (...)[]
                              | undefined;
                              [key: symbol]: (...)[] | undefined;
                          };
                          [key: string & {}]: unknown;
                      };
                      isPersonal?: boolean;
                      isReadOnly?: boolean;
                      name?: string;
                  }
                  | undefined;
              }
              | null

          The accounts from the session object, or null if not connected

        • Optional ReadonlyapiUrl?: string | null

          The API URL for JMAP API requests

        • Optional ReadonlycapabilityRegistry?: {
              executeBuildTransformers?: {};
              executeSerializationTransformers?: {};
              executeValidators?: {};
              get?: {};
              getAll?: {};
              getInvocationFactoryByDataType?: {};
              getInvocationRequestFactory?: {};
              getInvocationResponseFactory?: {};
              getTransformersByHook?: {};
              getValidatorsByHook?: {};
              has?: {};
              register?: {};
              validateAccountCapabilities?: {};
              validateCapabilityDefinition?: {};
              validateServerCapabilities?: {};
          }

          Get the capability registry for the client

        • Optionalconnect?: {}
        • Optional ReadonlyconnectionStatus?: ConnectionStatus

          The current connection status of the client

        • OptionalcreateRequestBuilder?: {}
        • Optionaldisconnect?: {}
        • OptionaldownloadFile?: {}
        • Optional ReadonlydownloadUrl?: string | null

          The download URL template

        • Optional ReadonlyeventSourceUrl?: string | null

          The event source URL template

        • Optional ReadonlyprimaryAccounts?: {
              "https://www.fastmail.com/dev/maskedemail"?: {
                  "[iterator]"?: {};
                  anchor?: {};
                  at?: {};
                  big?: {};
                  blink?: {};
                  bold?: {};
                  charAt?: {};
                  charCodeAt?: {};
                  codePointAt?: {};
                  concat?: {};
                  endsWith?: {};
                  fixed?: {};
                  fontcolor?: {};
                  fontsize?: {};
                  includes?: {};
                  indexOf?: {};
                  isWellFormed?: {};
                  italics?: {};
                  lastIndexOf?: {};
                  length?: number;
                  link?: {};
                  localeCompare?: {};
                  match?: {};
                  matchAll?: {};
                  normalize?: {};
                  padEnd?: {};
                  padStart?: {};
                  repeat?: {};
                  replace?: {};
                  replaceAll?: {};
                  search?: {};
                  slice?: {};
                  small?: {};
                  split?: {};
                  startsWith?: {};
                  strike?: {};
                  sub?: {};
                  substr?: {};
                  substring?: {};
                  sup?: {};
                  toLocaleLowerCase?: {};
                  toLocaleUpperCase?: {};
                  toLowerCase?: {};
                  toString?: {};
                  toUpperCase?: {};
                  toWellFormed?: {};
                  trim?: {};
                  trimEnd?: {};
                  trimLeft?: {};
                  trimRight?: {};
                  trimStart?: {};
                  valueOf?: {};
                  readonly [key: number]: string | undefined;
              };
              "urn:example:jmap:widget"?: {
                  "[iterator]"?: {};
                  anchor?: {};
                  at?: {};
                  big?: {};
                  blink?: {};
                  bold?: {};
                  charAt?: {};
                  charCodeAt?: {};
                  codePointAt?: {};
                  concat?: {};
                  endsWith?: {};
                  fixed?: {};
                  fontcolor?: {};
                  fontsize?: {};
                  includes?: {};
                  indexOf?: {};
                  isWellFormed?: {};
                  italics?: {};
                  lastIndexOf?: {};
                  length?: number;
                  link?: {};
                  localeCompare?: {};
                  match?: {};
                  matchAll?: {};
                  normalize?: {};
                  padEnd?: {};
                  padStart?: {};
                  repeat?: {};
                  replace?: {};
                  replaceAll?: {};
                  search?: {};
                  slice?: {};
                  small?: {};
                  split?: {};
                  startsWith?: {};
                  strike?: {};
                  sub?: {};
                  substr?: {};
                  substring?: {};
                  sup?: {};
                  toLocaleLowerCase?: {};
                  toLocaleUpperCase?: {};
                  toLowerCase?: {};
                  toString?: {};
                  toUpperCase?: {};
                  toWellFormed?: {};
                  trim?: {};
                  trimEnd?: {};
                  trimLeft?: {};
                  trimRight?: {};
                  trimStart?: {};
                  valueOf?: {};
                  readonly [key: number]: string
                  | undefined;
              };
              "urn:ietf:params:jmap:blob"?: {
                  "[iterator]"?: {};
                  anchor?: {};
                  at?: {};
                  big?: {};
                  blink?: {};
                  bold?: {};
                  charAt?: {};
                  charCodeAt?: {};
                  codePointAt?: {};
                  concat?: {};
                  endsWith?: {};
                  fixed?: {};
                  fontcolor?: {};
                  fontsize?: {};
                  includes?: {};
                  indexOf?: {};
                  isWellFormed?: {};
                  italics?: {};
                  lastIndexOf?: {};
                  length?: number;
                  link?: {};
                  localeCompare?: {};
                  match?: {};
                  matchAll?: {};
                  normalize?: {};
                  padEnd?: {};
                  padStart?: {};
                  repeat?: {};
                  replace?: {};
                  replaceAll?: {};
                  search?: {};
                  slice?: {};
                  small?: {};
                  split?: {};
                  startsWith?: {};
                  strike?: {};
                  sub?: {};
                  substr?: {};
                  substring?: {};
                  sup?: {};
                  toLocaleLowerCase?: {};
                  toLocaleUpperCase?: {};
                  toLowerCase?: {};
                  toString?: {};
                  toUpperCase?: {};
                  toWellFormed?: {};
                  trim?: {};
                  trimEnd?: {};
                  trimLeft?: {};
                  trimRight?: {};
                  trimStart?: {};
                  valueOf?: {};
                  readonly [key: number]: string
                  | undefined;
              };
              "urn:ietf:params:jmap:core"?: {
                  "[iterator]"?: {};
                  anchor?: {};
                  at?: {};
                  big?: {};
                  blink?: {};
                  bold?: {};
                  charAt?: {};
                  charCodeAt?: {};
                  codePointAt?: {};
                  concat?: {};
                  endsWith?: {};
                  fixed?: {};
                  fontcolor?: {};
                  fontsize?: {};
                  includes?: {};
                  indexOf?: {};
                  isWellFormed?: {};
                  italics?: {};
                  lastIndexOf?: {};
                  length?: number;
                  link?: {};
                  localeCompare?: {};
                  match?: {};
                  matchAll?: {};
                  normalize?: {};
                  padEnd?: {};
                  padStart?: {};
                  repeat?: {};
                  replace?: {};
                  replaceAll?: {};
                  search?: {};
                  slice?: {};
                  small?: {};
                  split?: {};
                  startsWith?: {};
                  strike?: {};
                  sub?: {};
                  substr?: {};
                  substring?: {};
                  sup?: {};
                  toLocaleLowerCase?: {};
                  toLocaleUpperCase?: {};
                  toLowerCase?: {};
                  toString?: {};
                  toUpperCase?: {};
                  toWellFormed?: {};
                  trim?: {};
                  trimEnd?: {};
                  trimLeft?: {};
                  trimRight?: {};
                  trimStart?: {};
                  valueOf?: {};
                  readonly [key: number]: string
                  | undefined;
              };
              "urn:ietf:params:jmap:mail"?: {
                  "[iterator]"?: {};
                  anchor?: {};
                  at?: {};
                  big?: {};
                  blink?: {};
                  bold?: {};
                  charAt?: {};
                  charCodeAt?: {};
                  codePointAt?: {};
                  concat?: {};
                  endsWith?: {};
                  fixed?: {};
                  fontcolor?: {};
                  fontsize?: {};
                  includes?: {};
                  indexOf?: {};
                  isWellFormed?: {};
                  italics?: {};
                  lastIndexOf?: {};
                  length?: number;
                  link?: {};
                  localeCompare?: {};
                  match?: {};
                  matchAll?: {};
                  normalize?: {};
                  padEnd?: {};
                  padStart?: {};
                  repeat?: {};
                  replace?: {};
                  replaceAll?: {};
                  search?: {};
                  slice?: {};
                  small?: {};
                  split?: {};
                  startsWith?: {};
                  strike?: {};
                  sub?: {};
                  substr?: {};
                  substring?: {};
                  sup?: {};
                  toLocaleLowerCase?: {};
                  toLocaleUpperCase?: {};
                  toLowerCase?: {};
                  toString?: {};
                  toUpperCase?: {};
                  toWellFormed?: {};
                  trim?: {};
                  trimEnd?: {};
                  trimLeft?: {};
                  trimRight?: {};
                  trimStart?: {};
                  valueOf?: {};
                  readonly [key: number]: string
                  | undefined;
              };
              "urn:ietf:params:jmap:submission"?: {
                  "[iterator]"?: {};
                  anchor?: {};
                  at?: {};
                  big?: {};
                  blink?: {};
                  bold?: {};
                  charAt?: {};
                  charCodeAt?: {};
                  codePointAt?: {};
                  concat?: {};
                  endsWith?: {};
                  fixed?: {};
                  fontcolor?: {};
                  fontsize?: {};
                  includes?: {};
                  indexOf?: {};
                  isWellFormed?: {};
                  italics?: {};
                  lastIndexOf?: {};
                  length?: number;
                  link?: {};
                  localeCompare?: {};
                  match?: {};
                  matchAll?: {};
                  normalize?: {};
                  padEnd?: {};
                  padStart?: {};
                  repeat?: {};
                  replace?: {};
                  replaceAll?: {};
                  search?: {};
                  slice?: {};
                  small?: {};
                  split?: {};
                  startsWith?: {};
                  strike?: {};
                  sub?: {};
                  substr?: {};
                  substring?: {};
                  sup?: {};
                  toLocaleLowerCase?: {};
                  toLocaleUpperCase?: {};
                  toLowerCase?: {};
                  toString?: {};
                  toUpperCase?: {};
                  toWellFormed?: {};
                  trim?: {};
                  trimEnd?: {};
                  trimLeft?: {};
                  trimRight?: {};
                  trimStart?: {};
                  valueOf?: {};
                  readonly [key: number]: string
                  | undefined;
              };
              "urn:ietf:params:jmap:vacationresponse"?: {
                  "[iterator]"?: {};
                  anchor?: {};
                  at?: {};
                  big?: {};
                  blink?: {};
                  bold?: {};
                  charAt?: {};
                  charCodeAt?: {};
                  codePointAt?: {};
                  concat?: {};
                  endsWith?: {};
                  fixed?: {};
                  fontcolor?: {};
                  fontsize?: {};
                  includes?: {};
                  indexOf?: {};
                  isWellFormed?: {};
                  italics?: {};
                  lastIndexOf?: {};
                  length?: number;
                  link?: {};
                  localeCompare?: {};
                  match?: {};
                  matchAll?: {};
                  normalize?: {};
                  padEnd?: {};
                  padStart?: {};
                  repeat?: {};
                  replace?: {};
                  replaceAll?: {};
                  search?: {};
                  slice?: {};
                  small?: {};
                  split?: {};
                  startsWith?: {};
                  strike?: {};
                  sub?: {};
                  substr?: {};
                  substring?: {};
                  sup?: {};
                  toLocaleLowerCase?: {};
                  toLocaleUpperCase?: {};
                  toLowerCase?: {};
                  toString?: {};
                  toUpperCase?: {};
                  toWellFormed?: {};
                  trim?: {};
                  trimEnd?: {};
                  trimLeft?: {};
                  trimRight?: {};
                  trimStart?: {};
                  valueOf?: {};
                  readonly [key: number]: string
                  | undefined;
              };
              readonly [key: string & {}]: | {
                  "[iterator]"?: {};
                  anchor?: {};
                  at?: {};
                  big?: {};
                  blink?: {};
                  bold?: {};
                  charAt?: {};
                  charCodeAt?: {};
                  codePointAt?: {};
                  concat?: {};
                  endsWith?: {};
                  fixed?: {};
                  fontcolor?: {};
                  fontsize?: {};
                  includes?: {};
                  indexOf?: {};
                  isWellFormed?: {};
                  italics?: {};
                  lastIndexOf?: {};
                  length?: number;
                  link?: {};
                  localeCompare?: {};
                  match?: {};
                  matchAll?: {};
                  normalize?: {};
                  padEnd?: {};
                  padStart?: {};
                  repeat?: {};
                  replace?: {};
                  replaceAll?: {};
                  search?: {};
                  slice?: {};
                  small?: {};
                  split?: {};
                  startsWith?: {};
                  strike?: {};
                  sub?: {};
                  substr?: {};
                  substring?: {};
                  sup?: {};
                  toLocaleLowerCase?: {};
                  toLocaleUpperCase?: {};
                  toLowerCase?: {};
                  toString?: {};
                  toUpperCase?: {};
                  toWellFormed?: {};
                  trim?: {};
                  trimEnd?: {};
                  trimLeft?: {};
                  trimRight?: {};
                  trimStart?: {};
                  valueOf?: {};
                  readonly [key: number]: string
                  | undefined;
              }
              | undefined;
          }

          The primary accounts from the session object

          • Optionalhttps://www.fastmail.com/dev/maskedemail?: {
                "[iterator]"?: {};
                anchor?: {};
                at?: {};
                big?: {};
                blink?: {};
                bold?: {};
                charAt?: {};
                charCodeAt?: {};
                codePointAt?: {};
                concat?: {};
                endsWith?: {};
                fixed?: {};
                fontcolor?: {};
                fontsize?: {};
                includes?: {};
                indexOf?: {};
                isWellFormed?: {};
                italics?: {};
                lastIndexOf?: {};
                length?: number;
                link?: {};
                localeCompare?: {};
                match?: {};
                matchAll?: {};
                normalize?: {};
                padEnd?: {};
                padStart?: {};
                repeat?: {};
                replace?: {};
                replaceAll?: {};
                search?: {};
                slice?: {};
                small?: {};
                split?: {};
                startsWith?: {};
                strike?: {};
                sub?: {};
                substr?: {};
                substring?: {};
                sup?: {};
                toLocaleLowerCase?: {};
                toLocaleUpperCase?: {};
                toLowerCase?: {};
                toString?: {};
                toUpperCase?: {};
                toWellFormed?: {};
                trim?: {};
                trimEnd?: {};
                trimLeft?: {};
                trimRight?: {};
                trimStart?: {};
                valueOf?: {};
                readonly [key: number]: string | undefined;
            }
            • Optional[iterator]?: {}
            • Optionalanchor?: {}
            • Optionalat?: {}
            • Optionalbig?: {}
            • Optionalblink?: {}
            • Optionalbold?: {}
            • OptionalcharAt?: {}
            • OptionalcharCodeAt?: {}
            • OptionalcodePointAt?: {}
            • Optionalconcat?: {}
            • OptionalendsWith?: {}
            • Optionalfixed?: {}
            • Optionalfontcolor?: {}
            • Optionalfontsize?: {}
            • Optionalincludes?: {}
            • OptionalindexOf?: {}
            • OptionalisWellFormed?: {}
            • Optionalitalics?: {}
            • OptionallastIndexOf?: {}
            • Optional Readonlylength?: number

              Returns the length of a String object.

            • Optionallink?: {}
            • OptionallocaleCompare?: {}
            • Optionalmatch?: {}
            • OptionalmatchAll?: {}
            • Optionalnormalize?: {}
            • OptionalpadEnd?: {}
            • OptionalpadStart?: {}
            • Optionalrepeat?: {}
            • Optionalreplace?: {}
            • OptionalreplaceAll?: {}
            • Optionalsearch?: {}
            • Optionalslice?: {}
            • Optionalsmall?: {}
            • Optionalsplit?: {}
            • OptionalstartsWith?: {}
            • Optionalstrike?: {}
            • Optionalsub?: {}
            • Optionalsubstr?: {}
            • Optionalsubstring?: {}
            • Optionalsup?: {}
            • OptionaltoLocaleLowerCase?: {}
            • OptionaltoLocaleUpperCase?: {}
            • OptionaltoLowerCase?: {}
            • OptionaltoString?: {}
            • OptionaltoUpperCase?: {}
            • OptionaltoWellFormed?: {}
            • Optionaltrim?: {}
            • OptionaltrimEnd?: {}
            • OptionaltrimLeft?: {}
            • OptionaltrimRight?: {}
            • OptionaltrimStart?: {}
            • OptionalvalueOf?: {}
          • Optionalurn:example:jmap:widget?: {
                "[iterator]"?: {};
                anchor?: {};
                at?: {};
                big?: {};
                blink?: {};
                bold?: {};
                charAt?: {};
                charCodeAt?: {};
                codePointAt?: {};
                concat?: {};
                endsWith?: {};
                fixed?: {};
                fontcolor?: {};
                fontsize?: {};
                includes?: {};
                indexOf?: {};
                isWellFormed?: {};
                italics?: {};
                lastIndexOf?: {};
                length?: number;
                link?: {};
                localeCompare?: {};
                match?: {};
                matchAll?: {};
                normalize?: {};
                padEnd?: {};
                padStart?: {};
                repeat?: {};
                replace?: {};
                replaceAll?: {};
                search?: {};
                slice?: {};
                small?: {};
                split?: {};
                startsWith?: {};
                strike?: {};
                sub?: {};
                substr?: {};
                substring?: {};
                sup?: {};
                toLocaleLowerCase?: {};
                toLocaleUpperCase?: {};
                toLowerCase?: {};
                toString?: {};
                toUpperCase?: {};
                toWellFormed?: {};
                trim?: {};
                trimEnd?: {};
                trimLeft?: {};
                trimRight?: {};
                trimStart?: {};
                valueOf?: {};
                readonly [key: number]: string | undefined;
            }
            • Optional[iterator]?: {}
            • Optionalanchor?: {}
            • Optionalat?: {}
            • Optionalbig?: {}
            • Optionalblink?: {}
            • Optionalbold?: {}
            • OptionalcharAt?: {}
            • OptionalcharCodeAt?: {}
            • OptionalcodePointAt?: {}
            • Optionalconcat?: {}
            • OptionalendsWith?: {}
            • Optionalfixed?: {}
            • Optionalfontcolor?: {}
            • Optionalfontsize?: {}
            • Optionalincludes?: {}
            • OptionalindexOf?: {}
            • OptionalisWellFormed?: {}
            • Optionalitalics?: {}
            • OptionallastIndexOf?: {}
            • Optional Readonlylength?: number

              Returns the length of a String object.

            • Optionallink?: {}
            • OptionallocaleCompare?: {}
            • Optionalmatch?: {}
            • OptionalmatchAll?: {}
            • Optionalnormalize?: {}
            • OptionalpadEnd?: {}
            • OptionalpadStart?: {}
            • Optionalrepeat?: {}
            • Optionalreplace?: {}
            • OptionalreplaceAll?: {}
            • Optionalsearch?: {}
            • Optionalslice?: {}
            • Optionalsmall?: {}
            • Optionalsplit?: {}
            • OptionalstartsWith?: {}
            • Optionalstrike?: {}
            • Optionalsub?: {}
            • Optionalsubstr?: {}
            • Optionalsubstring?: {}
            • Optionalsup?: {}
            • OptionaltoLocaleLowerCase?: {}
            • OptionaltoLocaleUpperCase?: {}
            • OptionaltoLowerCase?: {}
            • OptionaltoString?: {}
            • OptionaltoUpperCase?: {}
            • OptionaltoWellFormed?: {}
            • Optionaltrim?: {}
            • OptionaltrimEnd?: {}
            • OptionaltrimLeft?: {}
            • OptionaltrimRight?: {}
            • OptionaltrimStart?: {}
            • OptionalvalueOf?: {}
          • Optionalurn:ietf:params:jmap:blob?: {
                "[iterator]"?: {};
                anchor?: {};
                at?: {};
                big?: {};
                blink?: {};
                bold?: {};
                charAt?: {};
                charCodeAt?: {};
                codePointAt?: {};
                concat?: {};
                endsWith?: {};
                fixed?: {};
                fontcolor?: {};
                fontsize?: {};
                includes?: {};
                indexOf?: {};
                isWellFormed?: {};
                italics?: {};
                lastIndexOf?: {};
                length?: number;
                link?: {};
                localeCompare?: {};
                match?: {};
                matchAll?: {};
                normalize?: {};
                padEnd?: {};
                padStart?: {};
                repeat?: {};
                replace?: {};
                replaceAll?: {};
                search?: {};
                slice?: {};
                small?: {};
                split?: {};
                startsWith?: {};
                strike?: {};
                sub?: {};
                substr?: {};
                substring?: {};
                sup?: {};
                toLocaleLowerCase?: {};
                toLocaleUpperCase?: {};
                toLowerCase?: {};
                toString?: {};
                toUpperCase?: {};
                toWellFormed?: {};
                trim?: {};
                trimEnd?: {};
                trimLeft?: {};
                trimRight?: {};
                trimStart?: {};
                valueOf?: {};
                readonly [key: number]: string | undefined;
            }
            • Optional[iterator]?: {}
            • Optionalanchor?: {}
            • Optionalat?: {}
            • Optionalbig?: {}
            • Optionalblink?: {}
            • Optionalbold?: {}
            • OptionalcharAt?: {}
            • OptionalcharCodeAt?: {}
            • OptionalcodePointAt?: {}
            • Optionalconcat?: {}
            • OptionalendsWith?: {}
            • Optionalfixed?: {}
            • Optionalfontcolor?: {}
            • Optionalfontsize?: {}
            • Optionalincludes?: {}
            • OptionalindexOf?: {}
            • OptionalisWellFormed?: {}
            • Optionalitalics?: {}
            • OptionallastIndexOf?: {}
            • Optional Readonlylength?: number

              Returns the length of a String object.

            • Optionallink?: {}
            • OptionallocaleCompare?: {}
            • Optionalmatch?: {}
            • OptionalmatchAll?: {}
            • Optionalnormalize?: {}
            • OptionalpadEnd?: {}
            • OptionalpadStart?: {}
            • Optionalrepeat?: {}
            • Optionalreplace?: {}
            • OptionalreplaceAll?: {}
            • Optionalsearch?: {}
            • Optionalslice?: {}
            • Optionalsmall?: {}
            • Optionalsplit?: {}
            • OptionalstartsWith?: {}
            • Optionalstrike?: {}
            • Optionalsub?: {}
            • Optionalsubstr?: {}
            • Optionalsubstring?: {}
            • Optionalsup?: {}
            • OptionaltoLocaleLowerCase?: {}
            • OptionaltoLocaleUpperCase?: {}
            • OptionaltoLowerCase?: {}
            • OptionaltoString?: {}
            • OptionaltoUpperCase?: {}
            • OptionaltoWellFormed?: {}
            • Optionaltrim?: {}
            • OptionaltrimEnd?: {}
            • OptionaltrimLeft?: {}
            • OptionaltrimRight?: {}
            • OptionaltrimStart?: {}
            • OptionalvalueOf?: {}
          • Optionalurn:ietf:params:jmap:core?: {
                "[iterator]"?: {};
                anchor?: {};
                at?: {};
                big?: {};
                blink?: {};
                bold?: {};
                charAt?: {};
                charCodeAt?: {};
                codePointAt?: {};
                concat?: {};
                endsWith?: {};
                fixed?: {};
                fontcolor?: {};
                fontsize?: {};
                includes?: {};
                indexOf?: {};
                isWellFormed?: {};
                italics?: {};
                lastIndexOf?: {};
                length?: number;
                link?: {};
                localeCompare?: {};
                match?: {};
                matchAll?: {};
                normalize?: {};
                padEnd?: {};
                padStart?: {};
                repeat?: {};
                replace?: {};
                replaceAll?: {};
                search?: {};
                slice?: {};
                small?: {};
                split?: {};
                startsWith?: {};
                strike?: {};
                sub?: {};
                substr?: {};
                substring?: {};
                sup?: {};
                toLocaleLowerCase?: {};
                toLocaleUpperCase?: {};
                toLowerCase?: {};
                toString?: {};
                toUpperCase?: {};
                toWellFormed?: {};
                trim?: {};
                trimEnd?: {};
                trimLeft?: {};
                trimRight?: {};
                trimStart?: {};
                valueOf?: {};
                readonly [key: number]: string | undefined;
            }
            • Optional[iterator]?: {}
            • Optionalanchor?: {}
            • Optionalat?: {}
            • Optionalbig?: {}
            • Optionalblink?: {}
            • Optionalbold?: {}
            • OptionalcharAt?: {}
            • OptionalcharCodeAt?: {}
            • OptionalcodePointAt?: {}
            • Optionalconcat?: {}
            • OptionalendsWith?: {}
            • Optionalfixed?: {}
            • Optionalfontcolor?: {}
            • Optionalfontsize?: {}
            • Optionalincludes?: {}
            • OptionalindexOf?: {}
            • OptionalisWellFormed?: {}
            • Optionalitalics?: {}
            • OptionallastIndexOf?: {}
            • Optional Readonlylength?: number

              Returns the length of a String object.

            • Optionallink?: {}
            • OptionallocaleCompare?: {}
            • Optionalmatch?: {}
            • OptionalmatchAll?: {}
            • Optionalnormalize?: {}
            • OptionalpadEnd?: {}
            • OptionalpadStart?: {}
            • Optionalrepeat?: {}
            • Optionalreplace?: {}
            • OptionalreplaceAll?: {}
            • Optionalsearch?: {}
            • Optionalslice?: {}
            • Optionalsmall?: {}
            • Optionalsplit?: {}
            • OptionalstartsWith?: {}
            • Optionalstrike?: {}
            • Optionalsub?: {}
            • Optionalsubstr?: {}
            • Optionalsubstring?: {}
            • Optionalsup?: {}
            • OptionaltoLocaleLowerCase?: {}
            • OptionaltoLocaleUpperCase?: {}
            • OptionaltoLowerCase?: {}
            • OptionaltoString?: {}
            • OptionaltoUpperCase?: {}
            • OptionaltoWellFormed?: {}
            • Optionaltrim?: {}
            • OptionaltrimEnd?: {}
            • OptionaltrimLeft?: {}
            • OptionaltrimRight?: {}
            • OptionaltrimStart?: {}
            • OptionalvalueOf?: {}
          • Optionalurn:ietf:params:jmap:mail?: {
                "[iterator]"?: {};
                anchor?: {};
                at?: {};
                big?: {};
                blink?: {};
                bold?: {};
                charAt?: {};
                charCodeAt?: {};
                codePointAt?: {};
                concat?: {};
                endsWith?: {};
                fixed?: {};
                fontcolor?: {};
                fontsize?: {};
                includes?: {};
                indexOf?: {};
                isWellFormed?: {};
                italics?: {};
                lastIndexOf?: {};
                length?: number;
                link?: {};
                localeCompare?: {};
                match?: {};
                matchAll?: {};
                normalize?: {};
                padEnd?: {};
                padStart?: {};
                repeat?: {};
                replace?: {};
                replaceAll?: {};
                search?: {};
                slice?: {};
                small?: {};
                split?: {};
                startsWith?: {};
                strike?: {};
                sub?: {};
                substr?: {};
                substring?: {};
                sup?: {};
                toLocaleLowerCase?: {};
                toLocaleUpperCase?: {};
                toLowerCase?: {};
                toString?: {};
                toUpperCase?: {};
                toWellFormed?: {};
                trim?: {};
                trimEnd?: {};
                trimLeft?: {};
                trimRight?: {};
                trimStart?: {};
                valueOf?: {};
                readonly [key: number]: string | undefined;
            }
            • Optional[iterator]?: {}
            • Optionalanchor?: {}
            • Optionalat?: {}
            • Optionalbig?: {}
            • Optionalblink?: {}
            • Optionalbold?: {}
            • OptionalcharAt?: {}
            • OptionalcharCodeAt?: {}
            • OptionalcodePointAt?: {}
            • Optionalconcat?: {}
            • OptionalendsWith?: {}
            • Optionalfixed?: {}
            • Optionalfontcolor?: {}
            • Optionalfontsize?: {}
            • Optionalincludes?: {}
            • OptionalindexOf?: {}
            • OptionalisWellFormed?: {}
            • Optionalitalics?: {}
            • OptionallastIndexOf?: {}
            • Optional Readonlylength?: number

              Returns the length of a String object.

            • Optionallink?: {}
            • OptionallocaleCompare?: {}
            • Optionalmatch?: {}
            • OptionalmatchAll?: {}
            • Optionalnormalize?: {}
            • OptionalpadEnd?: {}
            • OptionalpadStart?: {}
            • Optionalrepeat?: {}
            • Optionalreplace?: {}
            • OptionalreplaceAll?: {}
            • Optionalsearch?: {}
            • Optionalslice?: {}
            • Optionalsmall?: {}
            • Optionalsplit?: {}
            • OptionalstartsWith?: {}
            • Optionalstrike?: {}
            • Optionalsub?: {}
            • Optionalsubstr?: {}
            • Optionalsubstring?: {}
            • Optionalsup?: {}
            • OptionaltoLocaleLowerCase?: {}
            • OptionaltoLocaleUpperCase?: {}
            • OptionaltoLowerCase?: {}
            • OptionaltoString?: {}
            • OptionaltoUpperCase?: {}
            • OptionaltoWellFormed?: {}
            • Optionaltrim?: {}
            • OptionaltrimEnd?: {}
            • OptionaltrimLeft?: {}
            • OptionaltrimRight?: {}
            • OptionaltrimStart?: {}
            • OptionalvalueOf?: {}
          • Optionalurn:ietf:params:jmap:submission?: {
                "[iterator]"?: {};
                anchor?: {};
                at?: {};
                big?: {};
                blink?: {};
                bold?: {};
                charAt?: {};
                charCodeAt?: {};
                codePointAt?: {};
                concat?: {};
                endsWith?: {};
                fixed?: {};
                fontcolor?: {};
                fontsize?: {};
                includes?: {};
                indexOf?: {};
                isWellFormed?: {};
                italics?: {};
                lastIndexOf?: {};
                length?: number;
                link?: {};
                localeCompare?: {};
                match?: {};
                matchAll?: {};
                normalize?: {};
                padEnd?: {};
                padStart?: {};
                repeat?: {};
                replace?: {};
                replaceAll?: {};
                search?: {};
                slice?: {};
                small?: {};
                split?: {};
                startsWith?: {};
                strike?: {};
                sub?: {};
                substr?: {};
                substring?: {};
                sup?: {};
                toLocaleLowerCase?: {};
                toLocaleUpperCase?: {};
                toLowerCase?: {};
                toString?: {};
                toUpperCase?: {};
                toWellFormed?: {};
                trim?: {};
                trimEnd?: {};
                trimLeft?: {};
                trimRight?: {};
                trimStart?: {};
                valueOf?: {};
                readonly [key: number]: string | undefined;
            }
            • Optional[iterator]?: {}
            • Optionalanchor?: {}
            • Optionalat?: {}
            • Optionalbig?: {}
            • Optionalblink?: {}
            • Optionalbold?: {}
            • OptionalcharAt?: {}
            • OptionalcharCodeAt?: {}
            • OptionalcodePointAt?: {}
            • Optionalconcat?: {}
            • OptionalendsWith?: {}
            • Optionalfixed?: {}
            • Optionalfontcolor?: {}
            • Optionalfontsize?: {}
            • Optionalincludes?: {}
            • OptionalindexOf?: {}
            • OptionalisWellFormed?: {}
            • Optionalitalics?: {}
            • OptionallastIndexOf?: {}
            • Optional Readonlylength?: number

              Returns the length of a String object.

            • Optionallink?: {}
            • OptionallocaleCompare?: {}
            • Optionalmatch?: {}
            • OptionalmatchAll?: {}
            • Optionalnormalize?: {}
            • OptionalpadEnd?: {}
            • OptionalpadStart?: {}
            • Optionalrepeat?: {}
            • Optionalreplace?: {}
            • OptionalreplaceAll?: {}
            • Optionalsearch?: {}
            • Optionalslice?: {}
            • Optionalsmall?: {}
            • Optionalsplit?: {}
            • OptionalstartsWith?: {}
            • Optionalstrike?: {}
            • Optionalsub?: {}
            • Optionalsubstr?: {}
            • Optionalsubstring?: {}
            • Optionalsup?: {}
            • OptionaltoLocaleLowerCase?: {}
            • OptionaltoLocaleUpperCase?: {}
            • OptionaltoLowerCase?: {}
            • OptionaltoString?: {}
            • OptionaltoUpperCase?: {}
            • OptionaltoWellFormed?: {}
            • Optionaltrim?: {}
            • OptionaltrimEnd?: {}
            • OptionaltrimLeft?: {}
            • OptionaltrimRight?: {}
            • OptionaltrimStart?: {}
            • OptionalvalueOf?: {}
          • Optionalurn:ietf:params:jmap:vacationresponse?: {
                "[iterator]"?: {};
                anchor?: {};
                at?: {};
                big?: {};
                blink?: {};
                bold?: {};
                charAt?: {};
                charCodeAt?: {};
                codePointAt?: {};
                concat?: {};
                endsWith?: {};
                fixed?: {};
                fontcolor?: {};
                fontsize?: {};
                includes?: {};
                indexOf?: {};
                isWellFormed?: {};
                italics?: {};
                lastIndexOf?: {};
                length?: number;
                link?: {};
                localeCompare?: {};
                match?: {};
                matchAll?: {};
                normalize?: {};
                padEnd?: {};
                padStart?: {};
                repeat?: {};
                replace?: {};
                replaceAll?: {};
                search?: {};
                slice?: {};
                small?: {};
                split?: {};
                startsWith?: {};
                strike?: {};
                sub?: {};
                substr?: {};
                substring?: {};
                sup?: {};
                toLocaleLowerCase?: {};
                toLocaleUpperCase?: {};
                toLowerCase?: {};
                toString?: {};
                toUpperCase?: {};
                toWellFormed?: {};
                trim?: {};
                trimEnd?: {};
                trimLeft?: {};
                trimRight?: {};
                trimStart?: {};
                valueOf?: {};
                readonly [key: number]: string | undefined;
            }
            • Optional[iterator]?: {}
            • Optionalanchor?: {}
            • Optionalat?: {}
            • Optionalbig?: {}
            • Optionalblink?: {}
            • Optionalbold?: {}
            • OptionalcharAt?: {}
            • OptionalcharCodeAt?: {}
            • OptionalcodePointAt?: {}
            • Optionalconcat?: {}
            • OptionalendsWith?: {}
            • Optionalfixed?: {}
            • Optionalfontcolor?: {}
            • Optionalfontsize?: {}
            • Optionalincludes?: {}
            • OptionalindexOf?: {}
            • OptionalisWellFormed?: {}
            • Optionalitalics?: {}
            • OptionallastIndexOf?: {}
            • Optional Readonlylength?: number

              Returns the length of a String object.

            • Optionallink?: {}
            • OptionallocaleCompare?: {}
            • Optionalmatch?: {}
            • OptionalmatchAll?: {}
            • Optionalnormalize?: {}
            • OptionalpadEnd?: {}
            • OptionalpadStart?: {}
            • Optionalrepeat?: {}
            • Optionalreplace?: {}
            • OptionalreplaceAll?: {}
            • Optionalsearch?: {}
            • Optionalslice?: {}
            • Optionalsmall?: {}
            • Optionalsplit?: {}
            • OptionalstartsWith?: {}
            • Optionalstrike?: {}
            • Optionalsub?: {}
            • Optionalsubstr?: {}
            • Optionalsubstring?: {}
            • Optionalsup?: {}
            • OptionaltoLocaleLowerCase?: {}
            • OptionaltoLocaleUpperCase?: {}
            • OptionaltoLowerCase?: {}
            • OptionaltoString?: {}
            • OptionaltoUpperCase?: {}
            • OptionaltoWellFormed?: {}
            • Optionaltrim?: {}
            • OptionaltrimEnd?: {}
            • OptionaltrimLeft?: {}
            • OptionaltrimRight?: {}
            • OptionaltrimStart?: {}
            • OptionalvalueOf?: {}
        • OptionalregisterCapabilities?: {}
        • OptionalsendAPIRequest?: {}
        • Optional ReadonlyserverCapabilities?:
              | {
                  "https://www.fastmail.com/dev/maskedemail"?: {
                      [key: string]: unknown[]
                      | undefined;
                      [key: symbol]: unknown[] | undefined;
                  };
                  "urn:example:jmap:widget"?: {
                      [key: string]: unknown[]
                      | undefined;
                      [key: symbol]: unknown[] | undefined;
                  };
                  "urn:ietf:params:jmap:blob"?: {
                      [key: string]: unknown[]
                      | undefined;
                      [key: symbol]: unknown[] | undefined;
                  };
                  "urn:ietf:params:jmap:core"?: {
                      collationAlgorithms?: string[];
                      maxCallsInRequest?: {
                          toExponential?: {};
                          toFixed?: {};
                          toLocaleString?: {};
                          toPrecision?: {};
                          toString?: {};
                          valueOf?: {};
                      };
                      maxConcurrentRequests?: {
                          toExponential?: {};
                          toFixed?: {};
                          toLocaleString?: {};
                          toPrecision?: {};
                          toString?: {};
                          valueOf?: {};
                      };
                      maxConcurrentUpload?: {
                          toExponential?: {};
                          toFixed?: {};
                          toLocaleString?: {};
                          toPrecision?: {};
                          toString?: {};
                          valueOf?: {};
                      };
                      maxObjectsInGet?: {
                          toExponential?: {};
                          toFixed?: {};
                          toLocaleString?: {};
                          toPrecision?: {};
                          toString?: {};
                          valueOf?: {};
                      };
                      maxObjectsInSet?: {
                          toExponential?: {};
                          toFixed?: {};
                          toLocaleString?: {};
                          toPrecision?: {};
                          toString?: {};
                          valueOf?: {};
                      };
                      maxSizeRequest?: {
                          toExponential?: {};
                          toFixed?: {};
                          toLocaleString?: {};
                          toPrecision?: {};
                          toString?: {};
                          valueOf?: {};
                      };
                      maxSizeUpload?: {
                          toExponential?: {};
                          toFixed?: {};
                          toLocaleString?: {};
                          toPrecision?: {};
                          toString?: {};
                          valueOf?: {};
                      };
                  };
                  "urn:ietf:params:jmap:mail"?: {
                      [key: string]: unknown[]
                      | undefined;
                      [key: symbol]: unknown[] | undefined;
                  };
                  "urn:ietf:params:jmap:submission"?: {
                      [key: string]: unknown[]
                      | undefined;
                      [key: symbol]: unknown[] | undefined;
                  };
                  "urn:ietf:params:jmap:vacationresponse"?: {
                      [key: string]: unknown[]
                      | undefined;
                      [key: symbol]: unknown[] | undefined;
                  };
                  readonly [key: string & {}]: unknown;
              }
              | null

          The server capabilities from the session object, or null if not connected

        • OptionaluploadFile?: {}
        • Optional ReadonlyuploadUrl?: string | null

          The upload URL template

        • Optional Readonlyusername?: string | null

          The username from the session object

        • OptionalwithEmitter?: {}
        • OptionalwithHeaders?: {}
        • OptionalwithHostname?: {}
        • OptionalwithLogger?: {}
        • OptionalwithPort?: {}

      Returns Mocked<JMAPClientInterface<RequestBuilder>>

      A mocked JMAPClientInterface