UNPKG

@fairmint/canton-node-sdk

Version:
18 lines 776 B
"use strict"; 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