@fairmint/canton-node-sdk
Version:
Canton Node SDK
27 lines • 1.51 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/users/{user-id}";
export declare const DeleteUserParamsSchema: z.ZodObject<{
userId: z.ZodString;
}, z.core.$strip>;
export type DeleteUserParams = z.infer<typeof DeleteUserParamsSchema>;
export type DeleteUserResponse = paths[typeof endpoint]['delete']['responses']['200']['content']['application/json'];
export declare const DeleteUser: {
new (client: import("../../../../../core").BaseClient): {
execute(params: {
userId: string;
}): 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=delete-user.d.ts.map