@fairmint/canton-node-sdk
Version:
Canton Node SDK
28 lines • 1.77 kB
TypeScript
import { z } from 'zod';
import type { paths } from '../../../../../../generated/canton/community/ledger/ledger-json-api/src/test/resources/json-api-docs/openapi';
declare const endpoint = "/v2/commands/async/submit-reassignment";
export declare const AsyncSubmitReassignmentParamsSchema: z.ZodObject<{
reassignmentCommands: z.ZodAny;
}, z.core.$strip>;
export type AsyncSubmitReassignmentParams = z.infer<typeof AsyncSubmitReassignmentParamsSchema>;
export type AsyncSubmitReassignmentRequest = paths[typeof endpoint]['post']['requestBody']['content']['application/json'];
export type AsyncSubmitReassignmentResponse = paths[typeof endpoint]['post']['responses']['200']['content']['application/json'];
export declare const AsyncSubmitReassignment: {
new (client: import("../../../../../../core").BaseClient): {
execute(params: {
reassignmentCommands: any;
}): Promise<Record<string, never>>;
client: import("../../../../../../core").BaseClient;
validateParams<T>(params: T, schema: z.ZodSchema<T>): T;
makeGetRequest<T>(url: string, config?: import("../../../../../../core").RequestConfig): Promise<T>;
makePostRequest<T>(url: string, data: unknown, config?: import("../../../../../../core").RequestConfig): Promise<T>;
makeDeleteRequest<T>(url: string, config?: import("../../../../../../core").RequestConfig): Promise<T>;
makePatchRequest<T>(url: string, data: unknown, config?: import("../../../../../../core").RequestConfig): Promise<T>;
getManagedParties(): string[];
getPartyId(): string | undefined;
getApiUrl(): string;
buildPartyList(additionalParties?: string[]): string[];
};
};
export {};
//# sourceMappingURL=submit-reassignment.d.ts.map