@shipengine/connect
Version:
The official developer tooling for building ShipEngine connect apps
22 lines (21 loc) • 950 B
TypeScript
import APIClient from './api-client';
import { Deployment } from './types';
import { TestAccountInfo } from './utils/create-or-find-test-account';
import { App } from './app-loader';
declare class AppFailedToPackageError extends Error {
code: string;
constructor(message: string);
}
declare class AppFailedToDeployError extends Error {
code: string;
constructor(message: string);
}
export declare function isAppFailedToPackageError(obj: unknown): obj is AppFailedToPackageError;
export declare function isAppFailedToDeployError(obj: unknown): obj is AppFailedToDeployError;
interface PublishAppOptions {
noWatch?: boolean;
}
export declare const getSupportedCountries: (app: App) => string[];
export default function publishApp(tarballName: string, client: APIClient, { noWatch }: PublishAppOptions, appDir?: string): Promise<Deployment>;
export declare const displayAccountInfo: (accounts: TestAccountInfo[]) => void;
export {};