UNPKG

@punkbit/test24jan

Version:

A standalone package for Fleek Agents AI user-interface

78 lines (77 loc) 2.09 kB
export declare const triggerDeployment: (projectId: string, characterFile: string, token: string) => Promise<{ ok: boolean; data?: { agentId?: string; }; error?: string; }>; type DeploymentStepStatus = 'true' | 'false'; export type DeploymentStatus = Record<string, DeploymentStepStatus>; interface DeploymentResponse { ok: boolean; data?: DeploymentStatus; } export declare const getDeploymentStatus: (agentId: string, token: string) => Promise<DeploymentResponse>; type AiAgent = { createdAt: string; createdBy: string; deletedAt?: String; host: string; id: string; name: string; projectId: string; slotNumber: number; updatedAt: string; }; type AiAgentsResponseData = { data: AiAgent[]; }; interface AiAgentsResponse { ok?: boolean; data?: AiAgentsResponseData; } export declare const getAgentsByProjectId: (projectId?: string, token?: string) => Promise<AiAgentsResponse>; export declare const getSubscriptions: (projectId?: string, token?: string) => Promise<{ ok: boolean; data?: { id: string; status: string; startDate: string; periodEndDate: string; productId: string; endDate?: string; items: { quantity: number; id: string; name: string; description: string; price: number; createdAt: string; updatedAt: string; metadata?: Record<string, string>; productId: string; }[]; }[]; error?: string; }>; export declare const createSubscription: (projectId?: string, productId?: string, token?: string) => Promise<{ ok: boolean; data?: { url?: string; }; error?: string; }>; export declare const getPlans: (token?: string) => Promise<{ ok: boolean; data?: { id: string; name: string; description: string; price: number; createdAt: string; updatedAt: string; metadata: Record<string, string>; }[]; error?: string; }>; export {};