UNPKG

@fairmint/canton-node-sdk

Version:
25 lines 862 B
import { z } from 'zod'; export declare const UploadDarFileParamsSchema: z.ZodObject<{ filePath: z.ZodString; submissionId: z.ZodOptional<z.ZodString>; }, z.core.$strip>; export type UploadDarFileParams = z.infer<typeof UploadDarFileParamsSchema>; /** * Upload a DAR file to the participant node * * @example * ```typescript * const result = await client.uploadDarFile({ * filePath: 'my-package.dar', * submissionId: 'unique-submission-id' * }); * ```; * * @param filePath - Path to the DAR file * @param submissionId - Optional submission ID for deduplication */ export declare const UploadDarFile: new (client: import("../../../../../core").BaseClient) => import("../../../../../core").ApiOperation<{ filePath: string; submissionId?: string | undefined; }, Record<string, never>>; //# sourceMappingURL=post.d.ts.map