@fairmint/canton-node-sdk
Version:
Canton Node SDK
24 lines • 990 B
TypeScript
import { z } from 'zod';
import type { paths } from '../../../../../generated/canton/community/ledger/ledger-json-api/src/test/resources/json-api-docs/openapi';
type Endpoint = '/v2/users/{user-id}';
export declare const GetUserParamsSchema: z.ZodObject<{
userId: z.ZodString;
}, z.core.$strip>;
export type GetUserParams = z.infer<typeof GetUserParamsSchema>;
export type GetUserResponse = paths[Endpoint]['get']['responses']['200']['content']['application/json'];
/**
* Get details for a specific user
*
* @example
* ```typescript
* const user = await client.getUser({ userId: 'alice' });
*
* ```;
*/
export declare const GetUser: new (client: import("../../../../../core").BaseClient) => import("../../../../../core").ApiOperation<{
userId: string;
}, {
user?: import("../../../../../generated/canton/community/ledger/ledger-json-api/src/test/resources/json-api-docs/openapi").components["schemas"]["User"];
}>;
export {};
//# sourceMappingURL=get-user.d.ts.map