UNPKG

@fairmint/canton-node-sdk

Version:
57 lines 2.16 kB
import { z } from 'zod'; /** * Parameters for listing known parties. */ export declare const ListKnownPartiesParamsSchema: z.ZodObject<{ pageSize: z.ZodOptional<z.ZodNumber>; pageToken: z.ZodOptional<z.ZodString>; }, z.core.$strip>; /** * Parameters for allocating a new party. */ export declare const AllocatePartyParamsSchema: z.ZodObject<{ partyIdHint: z.ZodOptional<z.ZodString>; localMetadata: z.ZodOptional<z.ZodObject<{ resourceVersion: z.ZodString; annotations: z.ZodRecord<z.ZodString, z.ZodString>; }, z.core.$strip>>; identityProviderId: z.ZodOptional<z.ZodString>; synchronizerId: z.ZodOptional<z.ZodString>; userId: z.ZodOptional<z.ZodString>; }, z.core.$strip>; /** * Parameters for getting participant ID. */ export declare const GetParticipantIdParamsSchema: z.ZodVoid; /** * Parameters for getting party details. */ export declare const GetPartyDetailsParamsSchema: z.ZodObject<{ party: z.ZodString; identityProviderId: z.ZodOptional<z.ZodString>; parties: z.ZodOptional<z.ZodArray<z.ZodString>>; }, z.core.$strip>; /** * Parameters for updating party details. */ export declare const UpdatePartyDetailsParamsSchema: z.ZodObject<{ party: z.ZodString; partyDetails: z.ZodObject<{ party: z.ZodString; isLocal: z.ZodBoolean; localMetadata: z.ZodOptional<z.ZodObject<{ resourceVersion: z.ZodString; annotations: z.ZodRecord<z.ZodString, z.ZodString>; }, z.core.$strip>>; identityProviderId: z.ZodOptional<z.ZodString>; }, z.core.$strip>; updateMask: z.ZodObject<{ paths: z.ZodArray<z.ZodString>; }, z.core.$strip>; }, z.core.$strip>; export type ListKnownPartiesParams = z.infer<typeof ListKnownPartiesParamsSchema>; export type AllocatePartyParams = z.infer<typeof AllocatePartyParamsSchema>; export type GetParticipantIdParams = z.infer<typeof GetParticipantIdParamsSchema>; export type GetPartyDetailsParams = z.infer<typeof GetPartyDetailsParamsSchema>; export type UpdatePartyDetailsParams = z.infer<typeof UpdatePartyDetailsParamsSchema>; //# sourceMappingURL=parties.d.ts.map