/** * iCure Data Stack API Documentation * The iCure Data Stack Application API is the native interface to iCure. This version is obsolete, please use v2. * * OpenAPI spec version: v1 * * * 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. */ import { XHR } from './XHR'; import { DataOwnerWithType } from '../model/DataOwnerWithType'; import { AuthenticationProvider } from '../../icc-x-api/auth/AuthenticationProvider'; import { CryptoActorStubWithType } from '../model/CryptoActorStub'; export declare class IccDataownerApi { host: string; headers: Array; authenticationProvider: AuthenticationProvider; fetchImpl?: (input: RequestInfo, init?: RequestInit) => Promise; constructor(host: string, headers: any, authenticationProvider?: AuthenticationProvider, fetchImpl?: (input: RequestInfo, init?: RequestInit) => Promise); handleError(e: XHR.XHRError): never; /** * General information about the current data owner. Note that this does not decrpyt patient data owners. * @summary Get the data owner corresponding to the current user */ getCurrentDataOwner(): Promise; /** * Full data owner information * @summary Get a data owner by his ID * @param dataOwnerId */ getDataOwner(dataOwnerId: string): Promise; /** * General information about the keys of a data owner * @summary Get a data owner by his ID * @param dataOwnerId */ getCryptoActorStub(dataOwnerId: string): Promise; /** * Updates the keys of a data owner */ modifyCryptoActorStub(stub: CryptoActorStubWithType): Promise; }