@fairmint/canton-node-sdk
Version:
Canton Node SDK
18 lines • 776 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.AsyncSubmitReassignment = exports.AsyncSubmitReassignmentParamsSchema = void 0;
const zod_1 = require("zod");
const core_1 = require("../../../../../../core");
const endpoint = '/v2/commands/async/submit-reassignment';
exports.AsyncSubmitReassignmentParamsSchema = zod_1.z.object({
reassignmentCommands: zod_1.z.any(),
});
exports.AsyncSubmitReassignment = (0, core_1.createApiOperation)({
paramsSchema: exports.AsyncSubmitReassignmentParamsSchema,
method: 'POST',
buildUrl: (_params, apiUrl) => `${apiUrl}${endpoint}`,
buildRequestData: (params) => ({
reassignmentCommands: params.reassignmentCommands,
}),
});
//# sourceMappingURL=submit-reassignment.js.map