UNPKG

@fairmint/canton-node-sdk

Version:
781 lines 40.7 kB
import { z } from 'zod'; export declare const IdentifierFilterSchema: z.ZodUnion<readonly [z.ZodObject<{ Empty: z.ZodObject<{}, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ InterfaceFilter: z.ZodObject<{ value: z.ZodObject<{ interfaceId: z.ZodString; includeInterfaceView: z.ZodBoolean; includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ TemplateFilter: z.ZodObject<{ value: z.ZodObject<{ templateId: z.ZodString; includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ WildcardFilter: z.ZodObject<{ value: z.ZodObject<{ includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>]>; export type IdentifierFilter = z.infer<typeof IdentifierFilterSchema>; /** Schema for cumulative filter configuration. Defines filters that accumulate across multiple operations. */ export declare const CumulativeFilterSchema: z.ZodObject<{ identifierFilter: z.ZodUnion<readonly [z.ZodObject<{ Empty: z.ZodObject<{}, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ InterfaceFilter: z.ZodObject<{ value: z.ZodObject<{ interfaceId: z.ZodString; includeInterfaceView: z.ZodBoolean; includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ TemplateFilter: z.ZodObject<{ value: z.ZodObject<{ templateId: z.ZodString; includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ WildcardFilter: z.ZodObject<{ value: z.ZodObject<{ includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>]>; }, z.core.$strip>; export type CumulativeFilter = z.infer<typeof CumulativeFilterSchema>; /** * Schema for filters that apply to any party. Defines cumulative filters that can be applied regardless of specific * party. */ export declare const FiltersForAnyPartySchema: z.ZodOptional<z.ZodObject<{ cumulative: z.ZodArray<z.ZodObject<{ identifierFilter: z.ZodUnion<readonly [z.ZodObject<{ Empty: z.ZodObject<{}, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ InterfaceFilter: z.ZodObject<{ value: z.ZodObject<{ interfaceId: z.ZodString; includeInterfaceView: z.ZodBoolean; includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ TemplateFilter: z.ZodObject<{ value: z.ZodObject<{ templateId: z.ZodString; includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ WildcardFilter: z.ZodObject<{ value: z.ZodObject<{ includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>]>; }, z.core.$strip>>; }, z.core.$strip>>; export type FiltersForAnyParty = z.infer<typeof FiltersForAnyPartySchema>; /** * Schema for event format configuration in operations. Defines how events are filtered and formatted in request * parameters. */ export declare const OperationEventFormatSchema: z.ZodObject<{ filtersByParty: z.ZodRecord<z.ZodString, z.ZodObject<{ cumulative: z.ZodArray<z.ZodObject<{ identifierFilter: z.ZodUnion<readonly [z.ZodObject<{ Empty: z.ZodObject<{}, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ InterfaceFilter: z.ZodObject<{ value: z.ZodObject<{ interfaceId: z.ZodString; includeInterfaceView: z.ZodBoolean; includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ TemplateFilter: z.ZodObject<{ value: z.ZodObject<{ templateId: z.ZodString; includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ WildcardFilter: z.ZodObject<{ value: z.ZodObject<{ includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>]>; }, z.core.$strip>>; }, z.core.$strip>>; filtersForAnyParty: z.ZodOptional<z.ZodObject<{ cumulative: z.ZodArray<z.ZodObject<{ identifierFilter: z.ZodUnion<readonly [z.ZodObject<{ Empty: z.ZodObject<{}, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ InterfaceFilter: z.ZodObject<{ value: z.ZodObject<{ interfaceId: z.ZodString; includeInterfaceView: z.ZodBoolean; includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ TemplateFilter: z.ZodObject<{ value: z.ZodObject<{ templateId: z.ZodString; includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ WildcardFilter: z.ZodObject<{ value: z.ZodObject<{ includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>]>; }, z.core.$strip>>; }, z.core.$strip>>; verbose: z.ZodOptional<z.ZodBoolean>; }, z.core.$strip>; export type OperationEventFormat = z.infer<typeof OperationEventFormatSchema>; /** Schema for transaction shape configuration. Defines the level of detail provided in transaction responses. */ export declare const TransactionShapeSchema: z.ZodUnion<readonly [z.ZodLiteral<"TRANSACTION_SHAPE_ACS_DELTA">, z.ZodLiteral<"TRANSACTION_SHAPE_LEDGER_EFFECTS">]>; export type TransactionShape = z.infer<typeof TransactionShapeSchema>; /** Schema for transaction format configuration. Defines the event format and transaction shape for ledger operations. */ export declare const TransactionFormatSchema: z.ZodObject<{ eventFormat: z.ZodObject<{ filtersByParty: z.ZodRecord<z.ZodString, z.ZodObject<{ cumulative: z.ZodArray<z.ZodObject<{ identifierFilter: z.ZodUnion<readonly [z.ZodObject<{ Empty: z.ZodObject<{}, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ InterfaceFilter: z.ZodObject<{ value: z.ZodObject<{ interfaceId: z.ZodString; includeInterfaceView: z.ZodBoolean; includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ TemplateFilter: z.ZodObject<{ value: z.ZodObject<{ templateId: z.ZodString; includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ WildcardFilter: z.ZodObject<{ value: z.ZodObject<{ includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>]>; }, z.core.$strip>>; }, z.core.$strip>>; filtersForAnyParty: z.ZodOptional<z.ZodObject<{ cumulative: z.ZodArray<z.ZodObject<{ identifierFilter: z.ZodUnion<readonly [z.ZodObject<{ Empty: z.ZodObject<{}, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ InterfaceFilter: z.ZodObject<{ value: z.ZodObject<{ interfaceId: z.ZodString; includeInterfaceView: z.ZodBoolean; includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ TemplateFilter: z.ZodObject<{ value: z.ZodObject<{ templateId: z.ZodString; includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ WildcardFilter: z.ZodObject<{ value: z.ZodObject<{ includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>]>; }, z.core.$strip>>; }, z.core.$strip>>; verbose: z.ZodOptional<z.ZodBoolean>; }, z.core.$strip>; transactionShape: z.ZodUnion<readonly [z.ZodLiteral<"TRANSACTION_SHAPE_ACS_DELTA">, z.ZodLiteral<"TRANSACTION_SHAPE_LEDGER_EFFECTS">]>; }, z.core.$strip>; export type TransactionFormat = z.infer<typeof TransactionFormatSchema>; export declare const GetTransactionTreeByOffsetParamsSchema: z.ZodObject<{ offset: z.ZodString; parties: z.ZodOptional<z.ZodArray<z.ZodString>>; }, z.core.$strip>; export type GetTransactionTreeByOffsetParams = z.infer<typeof GetTransactionTreeByOffsetParamsSchema>; /** Schema for get updates parameters. Defines parameters for retrieving flat updates from the ledger. */ export declare const GetUpdatesParamsSchema: z.ZodObject<{ beginExclusive: z.ZodNumber; endInclusive: z.ZodOptional<z.ZodNumber>; limit: z.ZodOptional<z.ZodNumber>; streamIdleTimeoutMs: z.ZodOptional<z.ZodNumber>; updateFormat: z.ZodObject<{ includeTransactions: z.ZodOptional<z.ZodObject<{ eventFormat: z.ZodObject<{ filtersByParty: z.ZodRecord<z.ZodString, z.ZodObject<{ cumulative: z.ZodArray<z.ZodObject<{ identifierFilter: z.ZodUnion<readonly [z.ZodObject<{ Empty: z.ZodObject<{}, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ InterfaceFilter: z.ZodObject<{ value: z.ZodObject<{ interfaceId: z.ZodString; includeInterfaceView: z.ZodBoolean; includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ TemplateFilter: z.ZodObject<{ value: z.ZodObject<{ templateId: z.ZodString; includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ WildcardFilter: z.ZodObject<{ value: z.ZodObject<{ includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>]>; }, z.core.$strip>>; }, z.core.$strip>>; filtersForAnyParty: z.ZodOptional<z.ZodObject<{ cumulative: z.ZodArray<z.ZodObject<{ identifierFilter: z.ZodUnion<readonly [z.ZodObject<{ Empty: z.ZodObject<{}, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ InterfaceFilter: z.ZodObject<{ value: z.ZodObject<{ interfaceId: z.ZodString; includeInterfaceView: z.ZodBoolean; includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ TemplateFilter: z.ZodObject<{ value: z.ZodObject<{ templateId: z.ZodString; includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ WildcardFilter: z.ZodObject<{ value: z.ZodObject<{ includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>]>; }, z.core.$strip>>; }, z.core.$strip>>; verbose: z.ZodOptional<z.ZodBoolean>; }, z.core.$strip>; transactionShape: z.ZodUnion<readonly [z.ZodLiteral<"TRANSACTION_SHAPE_ACS_DELTA">, z.ZodLiteral<"TRANSACTION_SHAPE_LEDGER_EFFECTS">]>; }, z.core.$strip>>; includeReassignments: z.ZodOptional<z.ZodObject<{ filtersByParty: z.ZodRecord<z.ZodString, z.ZodObject<{ cumulative: z.ZodArray<z.ZodObject<{ identifierFilter: z.ZodUnion<readonly [z.ZodObject<{ Empty: z.ZodObject<{}, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ InterfaceFilter: z.ZodObject<{ value: z.ZodObject<{ interfaceId: z.ZodString; includeInterfaceView: z.ZodBoolean; includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ TemplateFilter: z.ZodObject<{ value: z.ZodObject<{ templateId: z.ZodString; includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ WildcardFilter: z.ZodObject<{ value: z.ZodObject<{ includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>]>; }, z.core.$strip>>; }, z.core.$strip>>; filtersForAnyParty: z.ZodOptional<z.ZodObject<{ cumulative: z.ZodArray<z.ZodObject<{ identifierFilter: z.ZodUnion<readonly [z.ZodObject<{ Empty: z.ZodObject<{}, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ InterfaceFilter: z.ZodObject<{ value: z.ZodObject<{ interfaceId: z.ZodString; includeInterfaceView: z.ZodBoolean; includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ TemplateFilter: z.ZodObject<{ value: z.ZodObject<{ templateId: z.ZodString; includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ WildcardFilter: z.ZodObject<{ value: z.ZodObject<{ includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>]>; }, z.core.$strip>>; }, z.core.$strip>>; verbose: z.ZodOptional<z.ZodBoolean>; }, z.core.$strip>>; includeTopologyEvents: z.ZodOptional<z.ZodObject<{ includeParticipantAuthorizationEvents: z.ZodOptional<z.ZodObject<{ parties: z.ZodOptional<z.ZodArray<z.ZodString>>; }, z.core.$strip>>; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>; /** * Schema for get update trees parameters. Defines parameters for retrieving update trees from the ledger. Same as * GetUpdatesParams but for tree structures. */ export declare const GetUpdateTreesParamsSchema: z.ZodObject<{ beginExclusive: z.ZodNumber; endInclusive: z.ZodOptional<z.ZodNumber>; limit: z.ZodOptional<z.ZodNumber>; streamIdleTimeoutMs: z.ZodOptional<z.ZodNumber>; updateFormat: z.ZodObject<{ includeTransactions: z.ZodOptional<z.ZodObject<{ eventFormat: z.ZodObject<{ filtersByParty: z.ZodRecord<z.ZodString, z.ZodObject<{ cumulative: z.ZodArray<z.ZodObject<{ identifierFilter: z.ZodUnion<readonly [z.ZodObject<{ Empty: z.ZodObject<{}, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ InterfaceFilter: z.ZodObject<{ value: z.ZodObject<{ interfaceId: z.ZodString; includeInterfaceView: z.ZodBoolean; includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ TemplateFilter: z.ZodObject<{ value: z.ZodObject<{ templateId: z.ZodString; includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ WildcardFilter: z.ZodObject<{ value: z.ZodObject<{ includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>]>; }, z.core.$strip>>; }, z.core.$strip>>; filtersForAnyParty: z.ZodOptional<z.ZodObject<{ cumulative: z.ZodArray<z.ZodObject<{ identifierFilter: z.ZodUnion<readonly [z.ZodObject<{ Empty: z.ZodObject<{}, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ InterfaceFilter: z.ZodObject<{ value: z.ZodObject<{ interfaceId: z.ZodString; includeInterfaceView: z.ZodBoolean; includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ TemplateFilter: z.ZodObject<{ value: z.ZodObject<{ templateId: z.ZodString; includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ WildcardFilter: z.ZodObject<{ value: z.ZodObject<{ includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>]>; }, z.core.$strip>>; }, z.core.$strip>>; verbose: z.ZodOptional<z.ZodBoolean>; }, z.core.$strip>; transactionShape: z.ZodUnion<readonly [z.ZodLiteral<"TRANSACTION_SHAPE_ACS_DELTA">, z.ZodLiteral<"TRANSACTION_SHAPE_LEDGER_EFFECTS">]>; }, z.core.$strip>>; includeReassignments: z.ZodOptional<z.ZodObject<{ filtersByParty: z.ZodRecord<z.ZodString, z.ZodObject<{ cumulative: z.ZodArray<z.ZodObject<{ identifierFilter: z.ZodUnion<readonly [z.ZodObject<{ Empty: z.ZodObject<{}, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ InterfaceFilter: z.ZodObject<{ value: z.ZodObject<{ interfaceId: z.ZodString; includeInterfaceView: z.ZodBoolean; includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ TemplateFilter: z.ZodObject<{ value: z.ZodObject<{ templateId: z.ZodString; includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ WildcardFilter: z.ZodObject<{ value: z.ZodObject<{ includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>]>; }, z.core.$strip>>; }, z.core.$strip>>; filtersForAnyParty: z.ZodOptional<z.ZodObject<{ cumulative: z.ZodArray<z.ZodObject<{ identifierFilter: z.ZodUnion<readonly [z.ZodObject<{ Empty: z.ZodObject<{}, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ InterfaceFilter: z.ZodObject<{ value: z.ZodObject<{ interfaceId: z.ZodString; includeInterfaceView: z.ZodBoolean; includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ TemplateFilter: z.ZodObject<{ value: z.ZodObject<{ templateId: z.ZodString; includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ WildcardFilter: z.ZodObject<{ value: z.ZodObject<{ includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>]>; }, z.core.$strip>>; }, z.core.$strip>>; verbose: z.ZodOptional<z.ZodBoolean>; }, z.core.$strip>>; includeTopologyEvents: z.ZodOptional<z.ZodObject<{ includeParticipantAuthorizationEvents: z.ZodOptional<z.ZodObject<{ parties: z.ZodOptional<z.ZodArray<z.ZodString>>; }, z.core.$strip>>; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>; /** * Schema for get transaction by offset parameters. Defines parameters for retrieving a specific transaction by its * offset. */ export declare const GetTransactionByOffsetParamsSchema: z.ZodObject<{ offset: z.ZodNumber; transactionFormat: z.ZodObject<{ eventFormat: z.ZodObject<{ filtersByParty: z.ZodRecord<z.ZodString, z.ZodObject<{ cumulative: z.ZodArray<z.ZodObject<{ identifierFilter: z.ZodUnion<readonly [z.ZodObject<{ Empty: z.ZodObject<{}, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ InterfaceFilter: z.ZodObject<{ value: z.ZodObject<{ interfaceId: z.ZodString; includeInterfaceView: z.ZodBoolean; includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ TemplateFilter: z.ZodObject<{ value: z.ZodObject<{ templateId: z.ZodString; includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ WildcardFilter: z.ZodObject<{ value: z.ZodObject<{ includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>]>; }, z.core.$strip>>; }, z.core.$strip>>; filtersForAnyParty: z.ZodOptional<z.ZodObject<{ cumulative: z.ZodArray<z.ZodObject<{ identifierFilter: z.ZodUnion<readonly [z.ZodObject<{ Empty: z.ZodObject<{}, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ InterfaceFilter: z.ZodObject<{ value: z.ZodObject<{ interfaceId: z.ZodString; includeInterfaceView: z.ZodBoolean; includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ TemplateFilter: z.ZodObject<{ value: z.ZodObject<{ templateId: z.ZodString; includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ WildcardFilter: z.ZodObject<{ value: z.ZodObject<{ includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>]>; }, z.core.$strip>>; }, z.core.$strip>>; verbose: z.ZodOptional<z.ZodBoolean>; }, z.core.$strip>; transactionShape: z.ZodUnion<readonly [z.ZodLiteral<"TRANSACTION_SHAPE_ACS_DELTA">, z.ZodLiteral<"TRANSACTION_SHAPE_LEDGER_EFFECTS">]>; }, z.core.$strip>; }, z.core.$strip>; /** Schema for get update by offset parameters. Defines parameters for retrieving a specific update by its offset. */ export declare const GetUpdateByOffsetParamsSchema: z.ZodObject<{ offset: z.ZodNumber; updateFormat: z.ZodObject<{ includeTransactions: z.ZodOptional<z.ZodObject<{ eventFormat: z.ZodObject<{ filtersByParty: z.ZodRecord<z.ZodString, z.ZodObject<{ cumulative: z.ZodArray<z.ZodObject<{ identifierFilter: z.ZodUnion<readonly [z.ZodObject<{ Empty: z.ZodObject<{}, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ InterfaceFilter: z.ZodObject<{ value: z.ZodObject<{ interfaceId: z.ZodString; includeInterfaceView: z.ZodBoolean; includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ TemplateFilter: z.ZodObject<{ value: z.ZodObject<{ templateId: z.ZodString; includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ WildcardFilter: z.ZodObject<{ value: z.ZodObject<{ includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>]>; }, z.core.$strip>>; }, z.core.$strip>>; filtersForAnyParty: z.ZodOptional<z.ZodObject<{ cumulative: z.ZodArray<z.ZodObject<{ identifierFilter: z.ZodUnion<readonly [z.ZodObject<{ Empty: z.ZodObject<{}, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ InterfaceFilter: z.ZodObject<{ value: z.ZodObject<{ interfaceId: z.ZodString; includeInterfaceView: z.ZodBoolean; includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ TemplateFilter: z.ZodObject<{ value: z.ZodObject<{ templateId: z.ZodString; includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ WildcardFilter: z.ZodObject<{ value: z.ZodObject<{ includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>]>; }, z.core.$strip>>; }, z.core.$strip>>; verbose: z.ZodOptional<z.ZodBoolean>; }, z.core.$strip>; transactionShape: z.ZodUnion<readonly [z.ZodLiteral<"TRANSACTION_SHAPE_ACS_DELTA">, z.ZodLiteral<"TRANSACTION_SHAPE_LEDGER_EFFECTS">]>; }, z.core.$strip>>; includeReassignments: z.ZodOptional<z.ZodObject<{ filtersByParty: z.ZodRecord<z.ZodString, z.ZodObject<{ cumulative: z.ZodArray<z.ZodObject<{ identifierFilter: z.ZodUnion<readonly [z.ZodObject<{ Empty: z.ZodObject<{}, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ InterfaceFilter: z.ZodObject<{ value: z.ZodObject<{ interfaceId: z.ZodString; includeInterfaceView: z.ZodBoolean; includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ TemplateFilter: z.ZodObject<{ value: z.ZodObject<{ templateId: z.ZodString; includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ WildcardFilter: z.ZodObject<{ value: z.ZodObject<{ includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>]>; }, z.core.$strip>>; }, z.core.$strip>>; filtersForAnyParty: z.ZodOptional<z.ZodObject<{ cumulative: z.ZodArray<z.ZodObject<{ identifierFilter: z.ZodUnion<readonly [z.ZodObject<{ Empty: z.ZodObject<{}, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ InterfaceFilter: z.ZodObject<{ value: z.ZodObject<{ interfaceId: z.ZodString; includeInterfaceView: z.ZodBoolean; includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ TemplateFilter: z.ZodObject<{ value: z.ZodObject<{ templateId: z.ZodString; includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ WildcardFilter: z.ZodObject<{ value: z.ZodObject<{ includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>]>; }, z.core.$strip>>; }, z.core.$strip>>; verbose: z.ZodOptional<z.ZodBoolean>; }, z.core.$strip>>; includeTopologyEvents: z.ZodOptional<z.ZodObject<{ includeParticipantAuthorizationEvents: z.ZodOptional<z.ZodObject<{ parties: z.ZodOptional<z.ZodArray<z.ZodString>>; }, z.core.$strip>>; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>; /** Schema for get transaction by id parameters. Defines parameters for retrieving a specific transaction by its ID. */ export declare const GetTransactionByIdParamsSchema: z.ZodObject<{ updateId: z.ZodString; transactionFormat: z.ZodObject<{ eventFormat: z.ZodObject<{ filtersByParty: z.ZodRecord<z.ZodString, z.ZodObject<{ cumulative: z.ZodArray<z.ZodObject<{ identifierFilter: z.ZodUnion<readonly [z.ZodObject<{ Empty: z.ZodObject<{}, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ InterfaceFilter: z.ZodObject<{ value: z.ZodObject<{ interfaceId: z.ZodString; includeInterfaceView: z.ZodBoolean; includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ TemplateFilter: z.ZodObject<{ value: z.ZodObject<{ templateId: z.ZodString; includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ WildcardFilter: z.ZodObject<{ value: z.ZodObject<{ includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>]>; }, z.core.$strip>>; }, z.core.$strip>>; filtersForAnyParty: z.ZodOptional<z.ZodObject<{ cumulative: z.ZodArray<z.ZodObject<{ identifierFilter: z.ZodUnion<readonly [z.ZodObject<{ Empty: z.ZodObject<{}, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ InterfaceFilter: z.ZodObject<{ value: z.ZodObject<{ interfaceId: z.ZodString; includeInterfaceView: z.ZodBoolean; includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ TemplateFilter: z.ZodObject<{ value: z.ZodObject<{ templateId: z.ZodString; includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ WildcardFilter: z.ZodObject<{ value: z.ZodObject<{ includeCreatedEventBlob: z.ZodBoolean; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>]>; }, z.core.$strip>>; }, z.core.$strip>>; verbose: z.ZodOptional<z.ZodBoolean>; }, z.core.$strip>; transactionShape: z.ZodUnion<readonly [z.ZodLiteral<"TRANSACTION_SHAPE_ACS_DELTA">, z.ZodLiteral<"TRANSACTION_SHAPE_LEDGER_EFFECTS">]>; }, z.core.$strip>; }, z.core.$strip>; /** Schema for get update by id parameters. Defines parameters for retrieving a specific update by its ID. */ export declare const GetUpdateByIdParamsSchema: z.ZodObject<{ updateId: z.ZodString; requestingParties: z.ZodOptional<z.ZodArray<z.ZodString>>; }, z.core.$strip>; /** Schema for get transaction tree by id parameters. Defines parameters for retrieving a transaction tree by its ID. */ export declare const GetTransactionTreeByIdParamsSchema: z.ZodObject<{ updateId: z.ZodString; parties: z.ZodOptional<z.ZodArray<z.ZodString>>; }, z.core.$strip>; export type GetUpdatesParams = z.infer<typeof GetUpdatesParamsSchema>; export type GetUpdateTreesParams = z.infer<typeof GetUpdateTreesParamsSchema>; export type GetTransactionByOffsetParams = z.infer<typeof GetTransactionByOffsetParamsSchema>; export type GetUpdateByOffsetParams = z.infer<typeof GetUpdateByOffsetParamsSchema>; export type GetTransactionByIdParams = z.infer<typeof GetTransactionByIdParamsSchema>; export type GetUpdateByIdParams = z.infer<typeof GetUpdateByIdParamsSchema>; export type GetTransactionTreeByIdParams = z.infer<typeof GetTransactionTreeByIdParamsSchema>; //# sourceMappingURL=updates.d.ts.map