@fairmint/canton-node-sdk
Version:
Canton Node SDK
12 lines • 846 B
TypeScript
import { z } from 'zod';
import type { ApiOperation } from '../../../../../core';
import type { paths } from '../../../../../generated/canton/community/ledger/ledger-json-api/src/test/resources/json-api-docs/openapi';
declare const endpoint = "/v2/parties";
export declare const PartiesAggregationParamsSchema: z.ZodObject<{
pageToken: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
export type PartiesAggregationParams = z.infer<typeof PartiesAggregationParamsSchema>;
export type PartiesAggregationResponse = paths[typeof endpoint]['get']['responses']['200']['content']['application/json'];
export declare function fetchAllParties(operation: ApiOperation<PartiesAggregationParams, PartiesAggregationResponse>, params: PartiesAggregationParams): Promise<PartiesAggregationResponse>;
export {};
//# sourceMappingURL=aggregate-parties.d.ts.map