import type { AssemblyInstructions, AssemblyInstructionsInput } from './alphalib/types/template.ts'; export type { AssemblyInstructions, AssemblyInstructionsInput } from './alphalib/types/template.ts'; export { type AssemblyIndexItem, assemblyIndexItemSchema, assemblyStatusSchema, } from './alphalib/types/assemblyStatus.ts'; export { assemblyInstructionsSchema } from './alphalib/types/template.ts'; export interface OptionalAuthParams { auth?: { key?: string; expires?: string; }; } export interface BaseResponse { ok: string; message: string; } export interface PaginationList { items: T[]; } export interface PaginationListWithCount extends PaginationList { count: number; } export type CreateAssemblyParams = Omit & OptionalAuthParams; export type ListAssembliesParams = OptionalAuthParams & { page?: number; pagesize?: number; type?: 'all' | 'uploading' | 'executing' | 'canceled' | 'completed' | 'failed' | 'request_aborted'; fromdate?: string; todate?: string; keywords?: string[]; }; export type ReplayAssemblyParams = Pick & { reparse_template?: number; }; export interface ReplayAssemblyResponse extends BaseResponse { success: boolean; assembly_id: string; assembly_url: string; assembly_ssl_url: string; notify_url?: string; } export type ReplayAssemblyNotificationParams = OptionalAuthParams & { notify_url?: string; wait?: boolean; }; export interface ReplayAssemblyNotificationResponse { ok: string; success: boolean; notification_id: string; } export type TemplateContent = Pick; export type ResponseTemplateContent = Pick; export type CreateTemplateParams = OptionalAuthParams & { name: string; template: TemplateContent; require_signature_auth?: number; }; export type EditTemplateParams = OptionalAuthParams & { name?: string; template?: TemplateContent; require_signature_auth?: number; }; export type ListTemplatesParams = OptionalAuthParams & { page?: number; pagesize?: number; sort?: 'id' | 'name' | 'created' | 'modified'; order?: 'desc' | 'asc'; fromdate?: string; todate?: string; keywords?: string[]; include_builtin?: 'all' | 'latest' | 'exclusively-all' | 'exclusively-latest'; }; interface TemplateResponseBase { id: string; name: string; content: ResponseTemplateContent; require_signature_auth: number; } export interface ListedTemplate extends TemplateResponseBase { encryption_version?: number | null; last_used?: string | null; created?: string | null; modified?: string | null; description?: string; builtin_version?: string; } export interface TemplateResponse extends TemplateResponseBase, BaseResponse { } export type TemplateCredentialContent = Record; export type CreateTemplateCredentialParams = OptionalAuthParams & { name: string; type: string; content: TemplateCredentialContent; }; export type ListTemplateCredentialsParams = OptionalAuthParams & { page?: number; sort?: string; order: 'asc' | 'desc'; }; export interface TemplateCredential { id: string; name: string; type: string; content: TemplateCredentialContent; account_id?: string; created?: string; modified?: string; stringified?: string; } export interface TemplateCredentialResponse extends BaseResponse { credential: TemplateCredential; } export interface TemplateCredentialsResponse extends BaseResponse { credentials: TemplateCredential[]; } export type BillResponse = unknown; //# sourceMappingURL=apiTypes.d.ts.map