@@ -184,6 +184,7 @@ import * as importedProtectionData from './protectionData';
184184import * as importedProtectionDataResponse from './protectionDataResponse';
185185import * as importedProtectionRequest from './protectionRequest';
186186import * as importedPsSaveOptionsData from './psSaveOptionsData';
187+ import * as importedPublicKeyResponse from './publicKeyResponse';
187188import * as importedRangeDocument from './rangeDocument';
188189import * as importedRangeDocumentDto from './rangeDocumentDto';
189190import * as importedRangeTextResponse from './rangeTextResponse';
@@ -425,6 +426,7 @@ export * from './protectionData';
425426export * from './protectionDataResponse';
426427export * from './protectionRequest';
427428export * from './psSaveOptionsData';
429+ export * from './publicKeyResponse';
428430export * from './rangeDocument';
429431export * from './rangeDocumentDto';
430432export * from './rangeTextResponse';
@@ -767,6 +769,7 @@ const typeMap = {
767769 ProtectionDataResponse: importedProtectionDataResponse.ProtectionDataResponse,
768770 ProtectionRequest: importedProtectionRequest.ProtectionRequest,
769771 PsSaveOptionsData: importedPsSaveOptionsData.PsSaveOptionsData,
772+ PublicKeyResponse: importedPublicKeyResponse.PublicKeyResponse,
770773 RangeDocument: importedRangeDocument.RangeDocument,
771774 RangeDocumentDto: importedRangeDocumentDto.RangeDocumentDto,
772775 RangeTextResponse: importedRangeTextResponse.RangeTextResponse,
@@ -15339,6 +15342,45 @@ export class GetParagraphTabStopsOnlineRequest implements RequestInterface {
1533915342 }
1534015343}
1534115344
15345+ /**
15346+ * Request model for GetPublicKey operation.
15347+ * Get assymetric public key.
15348+ */
15349+ export class GetPublicKeyRequest implements RequestInterface {
15350+
15351+ public constructor(init?: Partial< GetPublicKeyRequest >) {
15352+ Object.assign(this, init);
15353+ }
15354+
15355+
15356+ /**
15357+ * create the requst options for this request
15358+ * @param configuration a configuration for the request
15359+ */
15360+ createRequestOptions(configuration: Configuration) : request.OptionsWithUri {
15361+ const localVarPath = configuration.getApiBaseUrl() + "/words/encryption/publickey"
15362+ .replace("//", "/");
15363+ const queryParameters: any = {};
15364+
15365+ const requestOptions: request.Options = {
15366+ method: "GET",
15367+ qs: queryParameters,
15368+ uri: localVarPath,
15369+ json: true,
15370+ };
15371+
15372+
15373+ return requestOptions;
15374+ }
15375+
15376+ /**
15377+ * create response from string
15378+ */
15379+ createResponse(_response: Buffer, _boundary?: string): any {
15380+ return ObjectSerializer.deserialize(_response, "PublicKeyResponse");
15381+ }
15382+ }
15383+
1534215384/**
1534315385 * Request model for GetRangeText operation.
1534415386 * Reads range text from the document.
0 commit comments