@fairmint/canton-node-sdk
Version:
Canton Node SDK
62 lines • 1.65 kB
TypeScript
/**
* Create user interactively
*
* @example
* ```typescript
* const result = await client.interactiveSubmissionCreateUser({
* user: {
* id: 'alice',
* primaryParty: 'Alice::1220',
* isDeactivated: false,
* identityProviderId: 'default'
* },
* rights: [
* { kind: { CanActAs: { party: 'Alice::1220' } } }
* ]
* });
*
* ```;
*/
export declare const InteractiveSubmissionCreateUser: new (client: import("../../../../../core").BaseClient) => import("../../../../../core").ApiOperation<{
user: {
id: string;
isDeactivated: boolean;
primaryParty?: string | undefined;
metadata?: {
resourceVersion: string;
annotations: Record<string, string>;
} | undefined;
identityProviderId?: string | undefined;
};
rights?: {
kind: {
CanActAs: {
party: string;
};
} | {
CanReadAs: {
party: string;
};
} | {
CanReadAsAnyParty: Record<string, never>;
} | {
Empty: Record<string, never>;
} | {
IdentityProviderAdmin: Record<string, never>;
} | {
ParticipantAdmin: Record<string, never>;
};
}[] | undefined;
}, {
user: {
id: string;
isDeactivated: boolean;
primaryParty?: string | undefined;
metadata?: {
resourceVersion: string;
annotations: Record<string, string>;
} | undefined;
identityProviderId?: string | undefined;
};
}>;
//# sourceMappingURL=create-user.d.ts.map