UNPKG

@dodi-smart/nuki-graphql-api

Version:
113 lines 4.15 kB
import type { AdvancedApiKey } from '../models/AdvancedApiKey'; import type { AdvancedApiKeyCreate } from '../models/AdvancedApiKeyCreate'; import type { AdvancedApiKeyUpdate } from '../models/AdvancedApiKeyUpdate'; import type { ApiKey } from '../models/ApiKey'; import type { ApiKeyCreate } from '../models/ApiKeyCreate'; import type { ApiKeyToken } from '../models/ApiKeyToken'; import type { ApiKeyTokenCreate } from '../models/ApiKeyTokenCreate'; import type { ApiKeyTokenUpdate } from '../models/ApiKeyTokenUpdate'; import type { ApiKeyUpdate } from '../models/ApiKeyUpdate'; import type { CancelablePromise } from '../core/CancelablePromise'; import type { BaseHttpRequest } from '../core/BaseHttpRequest'; export declare class ApiKeyService { readonly httpRequest: BaseHttpRequest; constructor(httpRequest: BaseHttpRequest); /** * Get a list of api keys * @returns ApiKey successful operation * @throws ApiError */ getApiKeys(): CancelablePromise<Array<ApiKey>>; /** * Create an api key * @param requestBody Api key create representation * @returns ApiKey Ok * @throws ApiError */ createApiKey(requestBody: ApiKeyCreate): CancelablePromise<ApiKey>; /** * Update an api key * @param apiKeyId The api key id * @param requestBody Api key update representation * @returns void * @throws ApiError */ updateApiKey(apiKeyId: number, requestBody: ApiKeyUpdate): CancelablePromise<void>; /** * Delete an api key * @param apiKeyId The api key id * @returns void * @throws ApiError */ deleteApiKey(apiKeyId: number): CancelablePromise<void>; /** * Get an advanced api key * @param apiKeyId The api key id * @returns AdvancedApiKey successful operation * @throws ApiError */ getApiKeyAdvanced(apiKeyId: number): CancelablePromise<AdvancedApiKey>; /** * Create an advanced api key * @param apiKeyId The api key id * @param requestBody Apply for advaced api key representation * @returns void * @throws ApiError */ createApiKeyAdvanced(apiKeyId: number, requestBody: AdvancedApiKeyCreate): CancelablePromise<void>; /** * Update an advanced api key * @param apiKeyId The api key id * @param requestBody Update for advaced api key representation * @returns void * @throws ApiError */ updateApiKeyAdvanced(apiKeyId: number, requestBody: AdvancedApiKeyUpdate): CancelablePromise<void>; /** * Delete an advanced api key * @param apiKeyId The api key id * @returns void * @throws ApiError */ deleteApiKeyAdvanced(apiKeyId: number): CancelablePromise<void>; /** * Reactivates a deactivated advanced webhook integration * @param apiKeyId The api key id * @returns void * @throws ApiError */ updateApiKeyAdvancedReactivate(apiKeyId: number): CancelablePromise<void>; /** * Get a list of api key tokens * @param apiKeyId The api key id * @returns ApiKeyToken successful operation * @throws ApiError */ getApiKeyTokens(apiKeyId: number): CancelablePromise<Array<ApiKeyToken>>; /** * Create an api key token * @param apiKeyId The api key id * @param requestBody Api key token create representation * @returns ApiKeyToken Ok * @throws ApiError */ createApiKeyToken(apiKeyId: number, requestBody: ApiKeyTokenCreate): CancelablePromise<ApiKeyToken>; /** * Update an api key token * @param apiKeyId The api key id * @param id The api key token id * @param requestBody Api key token update representation * @returns void * @throws ApiError */ updateApiKeyToken(apiKeyId: number, id: string, requestBody: ApiKeyTokenUpdate): CancelablePromise<void>; /** * Delete an api key token * @param apiKeyId The api key id * @param id The api key token id * @returns void * @throws ApiError */ deleteApiKeyToken(apiKeyId: number, id: string): CancelablePromise<void>; } //# sourceMappingURL=ApiKeyService.d.ts.map