@ukkidney/ukrdc-axios-ts
    Preparing search index...

    Function MirthApiFp

    • MirthApi - functional programming interface

      Parameters

      Returns {
          getMirthChannel(
              channelId: string,
              options?: AxiosRequestConfig,
          ): Promise<
              (
                  axios?: AxiosInstance,
                  basePath?: string,
              ) => AxiosPromise<ChannelFullModel>,
          >;
          getMirthChannelMap(
              options?: AxiosRequestConfig,
          ): Promise<
              (
                  axios?: AxiosInstance,
                  basePath?: string,
              ) => AxiosPromise<ChannelMapModel[]>,
          >;
          getMirthChannelMessage(
              channelId: string,
              messageId: string,
              options?: AxiosRequestConfig,
          ): Promise<
              (
                  axios?: AxiosInstance,
                  basePath?: string,
              ) => AxiosPromise<ChannelMessageModel>,
          >;
          getMirthChannelMessages(
              channelId: string,
              page?: number,
              size?: number,
              options?: AxiosRequestConfig,
          ): Promise<
              (axios?: AxiosInstance, basePath?: string) => AxiosPromise<MessagePage>,
          >;
          getMirthChannels(
              options?: AxiosRequestConfig,
          ): Promise<
              (
                  axios?: AxiosInstance,
                  basePath?: string,
              ) => AxiosPromise<ChannelFullModel[]>,
          >;
          getMirthGroups(
              options?: AxiosRequestConfig,
          ): Promise<
              (
                  axios?: AxiosInstance,
                  basePath?: string,
              ) => AxiosPromise<ChannelGroupModel[]>,
          >;
      }

      • getMirthChannel: function
        • Get details and statistics about a specific Mirth channel

          Parameters

          • channelId: string
          • Optionaloptions: AxiosRequestConfig

            Override http request option.

          Returns Promise<
              (
                  axios?: AxiosInstance,
                  basePath?: string,
              ) => AxiosPromise<ChannelFullModel>,
          >

      • getMirthChannelMap: function
        • Retrieve a basic channel ID-name map, available to all user permission levels. Used for things like message filtering.

          Parameters

          • Optionaloptions: AxiosRequestConfig

            Override http request option.

          Returns Promise<
              (
                  axios?: AxiosInstance,
                  basePath?: string,
              ) => AxiosPromise<ChannelMapModel[]>,
          >

      • getMirthChannelMessage: function
        • Retreive a specific message from a specific Mirth channel

          Parameters

          • channelId: string
          • messageId: string
          • Optionaloptions: AxiosRequestConfig

            Override http request option.

          Returns Promise<
              (
                  axios?: AxiosInstance,
                  basePath?: string,
              ) => AxiosPromise<ChannelMessageModel>,
          >

      • getMirthChannelMessages: function
        • Retreive a list a messages from a specific Mirth channel

          Parameters

          • channelId: string
          • Optionalpage: number
          • Optionalsize: number
          • Optionaloptions: AxiosRequestConfig

            Override http request option.

          Returns Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MessagePage>>

      • getMirthChannels: function
        • Retrieve a list of Mirth channels

          Parameters

          • Optionaloptions: AxiosRequestConfig

            Override http request option.

          Returns Promise<
              (
                  axios?: AxiosInstance,
                  basePath?: string,
              ) => AxiosPromise<ChannelFullModel[]>,
          >

      • getMirthGroups: function
        • Retrieve a list of Mirth channel groups

          Parameters

          • Optionaloptions: AxiosRequestConfig

            Override http request option.

          Returns Promise<
              (
                  axios?: AxiosInstance,
                  basePath?: string,
              ) => AxiosPromise<ChannelGroupModel[]>,
          >