UNPKG

@fairmint/canton-node-sdk

Version:
28 lines 1.01 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.InteractiveSubmissionAllocateParty = void 0; const core_1 = require("../../../../../core"); const operations_1 = require("../../../schemas/operations"); /** * @description Allocate party interactively * @example * ```typescript * const result = await client.interactiveSubmissionAllocateParty({ * partyIdHint: 'Alice', * displayName: 'Alice Party', * isLocal: true * }); * console.log(`Allocated party: ${result.party.party}`); * ``` */ exports.InteractiveSubmissionAllocateParty = (0, core_1.createApiOperation)({ paramsSchema: operations_1.InteractiveSubmissionAllocatePartyParamsSchema, method: 'POST', buildUrl: (_params, apiUrl) => `${apiUrl}/v2/interactive-submission/allocate-party`, buildRequestData: (params) => ({ partyIdHint: params.partyIdHint, displayName: params.displayName, isLocal: params.isLocal, }), }); //# sourceMappingURL=allocate-party.js.map