/// import http = require('http'); import { Client } from '../model/client'; import { DataResult } from '../model/dataResult'; import { IdentityApplication } from '../model/identityApplication'; import { User } from '../model/user'; import { Authentication } from '../model/models'; import { HttpBasicAuth, ApiKeyAuth, OAuth } from '../model/models'; export declare enum ClientServicesApiApiKeys { api = 0 } export declare class ClientServicesApi { protected _basePath: string; protected defaultHeaders: any; protected _useQuerystring: boolean; protected authentications: { 'default': Authentication; 'jwt': HttpBasicAuth; 'api': ApiKeyAuth; 'oauth2': OAuth; }; constructor(oAuth?: OAuth); useQuerystring: boolean; basePath: string; setDefaultAuthentication(auth: Authentication): void; setApiKey(key: ClientServicesApiApiKeys, value: string): void; oAuth: OAuth; tokenUrl: string; clientId: string; clientSecret: string; createApplication(client: string, identityApplication: IdentityApplication, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.ClientResponse; body: IdentityApplication; }>; deleteApplication(client: string, id: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.ClientResponse; body: Client; }>; deleteClient(client: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.ClientResponse; body: DataResult; }>; deleteUser(client: string, email: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.ClientResponse; body: Client; }>; getClient(client: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.ClientResponse; body: Client; }>; getSecret(client: string, id: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.ClientResponse; body: string; }>; inviteUser(client: string, user: User, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.ClientResponse; body: Client; }>; listApplications(client: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.ClientResponse; body: Array; }>; listUsers(client: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.ClientResponse; body: Array; }>; rotateSecret(client: string, id: string, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.ClientResponse; body?: any; }>; updateClient(client: string, model: Client, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.ClientResponse; body: Client; }>; updateUser(client: string, email: string, user: User, options?: { headers: { [name: string]: string; }; }): Promise<{ response: http.ClientResponse; body: User; }>; }