UNPKG

@fairmint/canton-node-sdk

Version:
15 lines 894 B
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}/rights'; export declare const ListUserRightsParamsSchema: z.ZodObject<{ userId: z.ZodString; }, z.core.$strip>; export type ListUserRightsParams = z.infer<typeof ListUserRightsParamsSchema>; export type ListUserRightsResponse = paths[Endpoint]['get']['responses']['200']['content']['application/json']; export declare const ListUserRights: new (client: import("../../../../../core").BaseClient) => import("../../../../../core").ApiOperation<{ userId: string; }, { rights?: import("../../../../../generated/canton/community/ledger/ledger-json-api/src/test/resources/json-api-docs/openapi").components["schemas"]["Right"][]; }>; export {}; //# sourceMappingURL=list-user-rights.d.ts.map