UNPKG

@fairmint/canton-node-sdk

Version:
81 lines 2.8 kB
import { z } from 'zod'; /** * Created event details. */ export declare const CreatedEventDetailsSchema: z.ZodObject<{ offset: z.ZodNumber; nodeId: z.ZodNumber; contractId: z.ZodString; templateId: z.ZodString; contractKey: z.ZodNullable<z.ZodString>; createArgument: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodAny>]>>; createdEventBlob: z.ZodString; interfaceViews: z.ZodArray<z.ZodString>; witnessParties: z.ZodArray<z.ZodString>; signatories: z.ZodArray<z.ZodString>; observers: z.ZodArray<z.ZodString>; createdAt: z.ZodString; packageName: z.ZodString; implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>; }, z.core.$strip>; /** * Archived event details. */ export declare const ArchivedEventDetailsSchema: z.ZodObject<{ offset: z.ZodNumber; nodeId: z.ZodNumber; contractId: z.ZodString; templateId: z.ZodString; witnessParties: z.ZodArray<z.ZodString>; packageName: z.ZodString; implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>; }, z.core.$strip>; /** * Assigned event details. */ export declare const AssignedEventDetailsSchema: z.ZodObject<{ offset: z.ZodNumber; nodeId: z.ZodNumber; contractId: z.ZodString; templateId: z.ZodString; source: z.ZodString; target: z.ZodString; reassignmentId: z.ZodString; submitter: z.ZodString; reassignmentCounter: z.ZodNumber; packageName: z.ZodString; }, z.core.$strip>; /** * Unassigned event details. */ export declare const UnassignedEventDetailsSchema: z.ZodObject<{ offset: z.ZodNumber; nodeId: z.ZodNumber; contractId: z.ZodString; templateId: z.ZodString; source: z.ZodString; target: z.ZodString; reassignmentId: z.ZodString; submitter: z.ZodString; reassignmentCounter: z.ZodNumber; packageName: z.ZodString; }, z.core.$strip>; /** * Empty command. */ export declare const EmptyCommandSchema: z.ZodObject<{}, z.core.$strip>; /** * Status details for completions. */ export declare const StatusDetailsSchema: z.ZodObject<{ code: z.ZodNumber; message: z.ZodString; details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>; }, z.core.$strip>; export type CreatedEventDetails = z.infer<typeof CreatedEventDetailsSchema>; export type ArchivedEventDetails = z.infer<typeof ArchivedEventDetailsSchema>; export type AssignedEventDetails = z.infer<typeof AssignedEventDetailsSchema>; export type UnassignedEventDetails = z.infer<typeof UnassignedEventDetailsSchema>; export type EmptyCommand = z.infer<typeof EmptyCommandSchema>; export type StatusDetails = z.infer<typeof StatusDetailsSchema>; //# sourceMappingURL=event-details.d.ts.map