UNPKG

@fairmint/canton-node-sdk

Version:
54 lines 1.88 kB
import { type z } from 'zod'; import type { paths } from '../../../../../generated/canton/community/ledger/ledger-json-api/src/test/resources/json-api-docs/openapi'; import { RevokeUserRightsParamsSchema } from '../../../schemas/operations'; type Endpoint = '/v2/users/{user-id}/rights'; export type RevokeUserRightsParams = z.infer<typeof RevokeUserRightsParamsSchema>; export type RevokeUserRightsResponse = paths[Endpoint]['patch']['responses']['200']['content']['application/json']; export declare const RevokeUserRights: new (client: import("../../../../../core").BaseClient) => import("../../../../../core").ApiOperation<{ userId: string; rights?: { kind: { CanActAs: { value: { party: string; }; }; } | { CanReadAs: { value: { party: string; }; }; } | { CanReadAsAnyParty: { value: Record<string, never>; }; } | { CanExecuteAs: { value: { party: string; }; }; } | { CanExecuteAsAnyParty: { value: Record<string, never>; }; } | { Empty: { value: Record<string, never>; }; } | { IdentityProviderAdmin: { value: Record<string, never>; }; } | { ParticipantAdmin: { value: Record<string, never>; }; }; }[] | undefined; }, { newlyRevokedRights?: import("../../../../../generated/canton/community/ledger/ledger-json-api/src/test/resources/json-api-docs/openapi").components["schemas"]["Right"][]; }>; export {}; //# sourceMappingURL=revoke-user-rights.d.ts.map