@fairmint/canton-node-sdk
Version:
Canton Node SDK
25 lines • 1.13 kB
TypeScript
import { type z } from 'zod';
import type { paths } from '../../../../../generated/canton/community/ledger/ledger-json-api/src/test/resources/json-api-docs/openapi';
import { UpdateUserParamsSchema } from '../../../schemas/operations';
type Endpoint = '/v2/users/{user-id}';
export type UpdateUserParams = z.infer<typeof UpdateUserParamsSchema>;
export type UpdateUserResponse = paths[Endpoint]['patch']['responses']['200']['content']['application/json'];
export declare const UpdateUser: new (client: import("../../../../../core").BaseClient) => import("../../../../../core").ApiOperation<{
userId: string;
user: {
id: string;
isDeactivated: boolean;
primaryParty?: string | undefined;
metadata?: {
resourceVersion: string;
annotations: Record<string, string>;
} | undefined;
};
updateMask: {
paths: string[];
};
}, {
user?: import("../../../../../generated/canton/community/ledger/ledger-json-api/src/test/resources/json-api-docs/openapi").components["schemas"]["User"];
}>;
export {};
//# sourceMappingURL=update-user.d.ts.map