UNPKG

@unito/integration-cli

Version:

Integration CLI

43 lines (42 loc) 1.43 kB
import { Command } from '@oclif/core'; export declare class NoIntegrationFoundError extends Error { } export declare class NoConfigurationFileError extends Error { } export declare class ConfigurationMalformed extends Error { } export declare class NoRefreshTokenError extends Error { } export declare class FailedToRetrieveAccessTokenError extends Error { } export declare class InvalidRequestContentTypeError extends Error { } export declare class MissingAuth2AuthorizationError extends Error { } export declare class FileSizeExceeded extends Error { } export declare class MissingApiKey extends Error { } export declare class AuthenticationFailed extends Error { } export declare class DecryptionAuthenticationError extends Error { } export declare class UnsupportedContentTypeError extends Error { } export declare class CredentialAuthenticationError extends Error { } export declare class CredentialAccessDenied extends Error { } export declare class IntegrationAlreadyExistsError extends Error { } export declare class EntryDecryptionError extends Error { key: string; environment: string; constructor(key: string, targetEnvironment: string); } export declare class ConfigurationInvalid extends Error { details: unknown; prettyDetails: string; constructor(message: string, details: unknown, prettyDetails: string); } export declare function handleError(command: Command, error: Error): boolean;