/** * * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * OpenAPI spec version: 1.0.2 * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ import { XHR } from "./XHR"; import * as models from "../model/models"; export declare class iccMessageApi { host: string; headers: Array; fetchImpl?: (input: RequestInfo, init?: RequestInit) => Promise; constructor(host: string, headers: any, fetchImpl?: (input: RequestInfo, init?: RequestInit) => Promise); setHeaders(h: Array): void; handleError(e: XHR.Data): void; createMessage(body?: models.MessageDto): Promise; deleteDelegation(messageId: string, delegateId: string): Promise; deleteMessages(messageIds: string): Promise; deleteMessagesBatch(body?: models.ListOfIdsDto): Promise; findByHCPartyPatientSecretFKeys(secretFKeys?: string): Promise | any>; findMessages(startKey?: string, startDocumentId?: string, limit?: number): Promise; findMessagesByFromAddress(fromAddress?: string, startKey?: string, startDocumentId?: string, limit?: number, hcpId?: string): Promise; findMessagesByToAddress(toAddress?: string, startKey?: string, startDocumentId?: string, limit?: number, reverse?: boolean, hcpId?: string): Promise; findMessagesByTransportGuid(transportGuid?: string, received?: boolean, startKey?: string, startDocumentId?: string, limit?: number, hcpId?: string): Promise; findMessagesByTransportGuidSentDate(transportGuid?: string, from?: number, to?: number, startKey?: string, startDocumentId?: string, limit?: number, hcpId?: string): Promise; getChildren(messageId: string): Promise | any>; getChildrenOfList(body?: models.ListOfIdsDto): Promise> | any>; getMessage(messageId: string): Promise; listMessagesByInvoiceIds(body?: models.ListOfIdsDto): Promise | any>; modifyMessage(body?: models.MessageDto): Promise; newDelegations(messageId: string, body?: Array): Promise; setMessagesReadStatus(body?: models.MessagesReadStatusUpdate): Promise | any>; setMessagesStatusBits(status: number, body?: models.ListOfIdsDto): Promise | any>; }