UNPKG

@fairmint/canton-node-sdk

Version:
141 lines 6.02 kB
import { type z } from 'zod'; import type { paths } from '../../../../../generated/canton/community/ledger/ledger-json-api/src/test/resources/json-api-docs/openapi'; import { GetUpdateByOffsetParamsSchema } from '../../../schemas/operations'; declare const endpoint: "/v2/updates/update-by-offset"; export type GetUpdateByOffsetParams = z.infer<typeof GetUpdateByOffsetParamsSchema>; export type GetUpdateByOffsetResponse = paths[typeof endpoint]['post']['responses']['200']['content']['application/json']; export declare const GetUpdateByOffset: new (client: import("../../../../../core").BaseClient) => import("../../../../../core").ApiOperation<{ offset: number; updateFormat: { includeTransactions?: { eventFormat: { filtersByParty: Record<string, { cumulative: { identifierFilter: { Empty: Record<string, never>; } | { InterfaceFilter: { value: { interfaceId: string; includeInterfaceView: boolean; includeCreatedEventBlob: boolean; }; }; } | { TemplateFilter: { value: { templateId: string; includeCreatedEventBlob: boolean; }; }; } | { WildcardFilter: { value: { includeCreatedEventBlob: boolean; }; }; }; }[]; }>; filtersForAnyParty?: { cumulative: { identifierFilter: { Empty: Record<string, never>; } | { InterfaceFilter: { value: { interfaceId: string; includeInterfaceView: boolean; includeCreatedEventBlob: boolean; }; }; } | { TemplateFilter: { value: { templateId: string; includeCreatedEventBlob: boolean; }; }; } | { WildcardFilter: { value: { includeCreatedEventBlob: boolean; }; }; }; }[]; } | undefined; verbose?: boolean | undefined; }; transactionShape: "TRANSACTION_SHAPE_ACS_DELTA" | "TRANSACTION_SHAPE_LEDGER_EFFECTS"; } | undefined; includeReassignments?: { filtersByParty: Record<string, { cumulative: { identifierFilter: { Empty: Record<string, never>; } | { InterfaceFilter: { value: { interfaceId: string; includeInterfaceView: boolean; includeCreatedEventBlob: boolean; }; }; } | { TemplateFilter: { value: { templateId: string; includeCreatedEventBlob: boolean; }; }; } | { WildcardFilter: { value: { includeCreatedEventBlob: boolean; }; }; }; }[]; }>; filtersForAnyParty?: { cumulative: { identifierFilter: { Empty: Record<string, never>; } | { InterfaceFilter: { value: { interfaceId: string; includeInterfaceView: boolean; includeCreatedEventBlob: boolean; }; }; } | { TemplateFilter: { value: { templateId: string; includeCreatedEventBlob: boolean; }; }; } | { WildcardFilter: { value: { includeCreatedEventBlob: boolean; }; }; }; }[]; } | undefined; verbose?: boolean | undefined; } | undefined; includeTopologyEvents?: { includeParticipantAuthorizationEvents?: { parties?: string[] | undefined; } | undefined; } | undefined; }; }, { update: import("../../../../../generated/canton/community/ledger/ledger-json-api/src/test/resources/json-api-docs/openapi").components["schemas"]["Update"]; }>; export {}; //# sourceMappingURL=get-update-by-offset.d.ts.map