import type { About } from '../models/About'; import type { Organization } from '../models/Organization'; import type { OrganizationResponse } from '../models/OrganizationResponse'; export declare class AdministrationService { /** * @returns Organization list of organizations * @throws ApiError */ static listOrganizations({ pageSize, pageNumber, sortFieldName, sortDirection, }: { /** The number of items to get per page. Min: 1 Max: 100 **/ pageSize?: number; /** The page number to get. Min: 1 **/ pageNumber?: number; /** name of a field to sort on **/ sortFieldName?: string; /** sort direction **/ sortDirection?: 'asc' | 'desc'; }): Promise>; /** * @returns OrganizationResponse New Organization * @throws ApiError */ static createOrganization({ requestBody, }: { /** Organization **/ requestBody?: Organization; }): Promise; /** * @returns OrganizationResponse the organization * @throws ApiError */ static getOrganization({ organizationName, }: { /** the name of the organization (tenant) a resource belongs to **/ organizationName: string; }): Promise; /** * @returns OrganizationResponse Updated Organization * @throws ApiError */ static updateOrganization({ organizationName, ifMatch, requestBody, }: { /** the name of the organization (tenant) a resource belongs to **/ organizationName: string; /** Provide the etag value for a previous GET request of a resource on update (PATCH) in order to avoid "lost updates" **/ ifMatch?: string; /** Organization **/ requestBody?: Organization; }): Promise; /** * @returns void * @throws ApiError */ static deleteOrganization({ organizationName, }: { /** the name of the organization (tenant) a resource belongs to **/ organizationName: string; }): Promise; /** * Checks the health of the API. Returns ststuas code 200 if healthy, status code 503 if unhleathy * @returns any health of the API * @throws ApiError */ static healthcheck(): Promise<{ status: 'ok' | 'failure'; }>; /** * Returns informaiton about the Connector Version and configuration * @returns About Information about the connector * @throws ApiError */ static about(): Promise; }