UI for Zipcoin Blue

12345678910111213141516171819
  1. /// <reference types="node" />
  2. import { Deploy, DeployChannel, DeploySnapshot, DeploySnapshotRequest, IClient } from '../definitions';
  3. export declare class DeployClient {
  4. protected appUserToken: string;
  5. protected client: IClient;
  6. constructor(appUserToken: string, client: IClient);
  7. getChannel(uuidOrTag: string): Promise<DeployChannel>;
  8. deploy(snapshot: string, channel: string): Promise<Deploy>;
  9. getSnapshot(uuid: string, {fields}: {
  10. fields?: string[];
  11. }): Promise<DeploySnapshot>;
  12. requestSnapshotUpload(options?: {
  13. legacy_duplication?: string;
  14. note?: string;
  15. user_metadata?: Object;
  16. }): Promise<DeploySnapshotRequest>;
  17. uploadSnapshot(snapshot: DeploySnapshotRequest, zip: NodeJS.ReadableStream, progress?: (loaded: number, total: number) => void): Promise<void>;
  18. }