UNPKG

@fairmint/canton-node-sdk

Version:
47 lines 1.52 kB
import { z } from 'zod'; import { type BaseClient } from '../../../../../core'; export declare const AllocatePartyParamsSchema: z.ZodObject<{ partyIdHint: z.ZodString; identityProviderId: z.ZodString; synchronizerId: z.ZodString; userId: z.ZodString; localMetadata: z.ZodOptional<z.ZodObject<{ resourceVersion: z.ZodOptional<z.ZodString>; annotations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; }, z.core.$strip>>; }, z.core.$strip>; export type AllocatePartyParams = z.infer<typeof AllocatePartyParamsSchema>; /** * Allocate a new party to the participant node * * @example * ```typescript * const result = await client.allocateParty({ * partyIdHint: 'alice', * identityProviderId: 'default', * synchronizerId: 'global-synchronizer', * userId: 'user-123' * }); * ```; */ export declare const AllocateParty: new (client: BaseClient) => import("../../../../../core").ApiOperation<{ partyIdHint: string; identityProviderId: string; synchronizerId: string; userId: string; localMetadata?: { resourceVersion?: string | undefined; annotations?: Record<string, string> | undefined; } | undefined; }, { partyDetails: { party: string; isLocal: boolean; localMetadata?: { resourceVersion: string; annotations: Record<string, string>; } | undefined; identityProviderId?: string | undefined; }; }>; //# sourceMappingURL=post.d.ts.map