@fairmint/canton-node-sdk
Version:
Canton Node SDK
19 lines • 884 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.ListAnsEntriesProxyParamsSchema = exports.LookupAnsEntryByPartyParamsSchema = exports.LookupAnsEntryByNameParamsSchema = exports.GetAnsRulesParamsSchema = exports.CreateAnsEntryParamsSchema = void 0;
const zod_1 = require("zod");
const ans_1 = require("../api/ans");
// ANS Entry Parameters
exports.CreateAnsEntryParamsSchema = ans_1.CreateAnsEntryRequestSchema;
exports.GetAnsRulesParamsSchema = ans_1.GetAnsRulesRequestSchema;
exports.LookupAnsEntryByNameParamsSchema = zod_1.z.object({
name: zod_1.z.string(),
});
exports.LookupAnsEntryByPartyParamsSchema = zod_1.z.object({
party: zod_1.z.string(),
});
exports.ListAnsEntriesProxyParamsSchema = zod_1.z.object({
namePrefix: zod_1.z.string().optional(),
pageSize: zod_1.z.number().default(100),
});
//# sourceMappingURL=ans.js.map
;