@dangl/avacloud-client-node 1.67.0-beta0033-avacloud-preview → 1.67.0-beta0046-avacloud-preview

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/api.d.ts CHANGED
@@ -1188,7 +1188,7 @@ export declare class OenormConversionApi {
1188
1188
  * @param removeHtmlLongTexts (optional) If set to true, html long texts will be removed from the output to reduce response sizes
1189
1189
  * @param useOenormFileDeclarationForItemNumberSchema (optional) If this is enabled, then the actual content structure inside the ÖNorm file is ignored. The item number
1190
1190
  schema of the target will be built based on the top level structure definition of the ÖNorm file, even if the
1191
- file content itself might be different or empty
1191
+ file content itself might be different or empty. Defaults to true.
1192
1192
  */
1193
1193
  oenormConversionConvertToAva(oenormFile: FileParameter | null | undefined, removePlainTextLongTexts?: boolean | undefined, removeHtmlLongTexts?: boolean | undefined, useOenormFileDeclarationForItemNumberSchema?: boolean | undefined): Promise<SwaggerResponse<ProjectDto>>;
1194
1194
  protected processOenormConversionConvertToAva(response: Response): Promise<SwaggerResponse<ProjectDto>>;
@@ -1203,7 +1203,7 @@ export declare class OenormConversionApi {
1203
1203
  * @param oenormFile (optional) The input file
1204
1204
  * @param useOenormFileDeclarationForItemNumberSchema (optional) If this is enabled, then the actual content structure inside the ÖNorm file is ignored. The item number
1205
1205
  schema of the target will be built based on the top level structure definition of the ÖNorm file, even if the
1206
- file content itself might be different or empty
1206
+ file content itself might be different or empty. Defaults to true.
1207
1207
  */
1208
1208
  oenormConversionConvertToFlatAva(oenormFile: FileParameter | null | undefined, useOenormFileDeclarationForItemNumberSchema?: boolean | undefined): Promise<SwaggerResponse<FlatAvaProject>>;
1209
1209
  protected processOenormConversionConvertToFlatAva(response: Response): Promise<SwaggerResponse<FlatAvaProject>>;
@@ -1252,7 +1252,7 @@ export declare class OenormConversionApi {
1252
1252
  reasons.
1253
1253
  * @param useOenormFileDeclarationForItemNumberSchema (optional) If this is enabled, then the actual content structure inside the ÖNorm file is ignored. The item number
1254
1254
  schema of the target will be built based on the top level structure definition of the ÖNorm file, even if the
1255
- file content itself might be different or empty
1255
+ file content itself might be different or empty. Defaults to true.
1256
1256
  */
1257
1257
  oenormConversionConvertToGaeb(oenormFile: FileParameter | null | undefined, destinationGaebType?: DestinationGaebType | undefined, targetExchangePhaseTransform?: DestinationGaebExchangePhase | undefined, enforceStrictOfferPhaseLongTextOutput?: boolean | undefined, exportQuantityDetermination?: boolean | undefined, removeUnprintableCharactersFromTexts?: boolean | undefined, forceIncludeDescriptions?: boolean | undefined, treatNullItemNumberSchemaAsInvalid?: boolean | undefined, useOenormFileDeclarationForItemNumberSchema?: boolean | undefined): Promise<SwaggerResponse<FileResponse>>;
1258
1258
  protected processOenormConversionConvertToGaeb(response: Response): Promise<SwaggerResponse<FileResponse>>;
@@ -1281,7 +1281,7 @@ export declare class OenormConversionApi {
1281
1281
  be locked, so users can not accidentally modify other fields.
1282
1282
  * @param useOenormFileDeclarationForItemNumberSchema (optional) If this is enabled, then the actual content structure inside the ÖNorm file is ignored. The item number
1283
1283
  schema of the target will be built based on the top level structure definition of the ÖNorm file, even if the
1284
- file content itself might be different or empty
1284
+ file content itself might be different or empty. Defaults to true.
1285
1285
  */
1286
1286
  oenormConversionConvertToExcel(oenormFile: FileParameter | null | undefined, writePrices?: boolean | undefined, writeLongTexts?: boolean | undefined, conversionCulture?: string | null | undefined, includeArticleNumbers?: boolean | undefined, lockAllCellsButPrices?: boolean | undefined, useOenormFileDeclarationForItemNumberSchema?: boolean | undefined): Promise<SwaggerResponse<FileResponse>>;
1287
1287
  protected processOenormConversionConvertToExcel(response: Response): Promise<SwaggerResponse<FileResponse>>;
@@ -1310,31 +1310,12 @@ export declare class OenormConversionApi {
1310
1310
  Defaults to true.
1311
1311
  * @param useOenormFileDeclarationForItemNumberSchema (optional) If this is enabled, then the actual content structure inside the ÖNorm file is ignored. The item number
1312
1312
  schema of the target will be built based on the top level structure definition of the ÖNorm file, even if the
1313
- file content itself might be different or empty
1313
+ file content itself might be different or empty. Defaults to true.
1314
1314
  * @param destinationOenormPhase (optional) If this is given, then the output file will be transformed accordingly to the phase specified.
1315
1315
  */
1316
1316
  oenormConversionConvertToOenorm(oenormFile: FileParameter | null | undefined, destinationOenormType?: DestinationOenormType | undefined, tryRepairProjectStructure?: boolean | undefined, skipTryEnforceSchemaCompliantXmlOutput?: boolean | undefined, removeUnprintableCharactersFromTexts?: boolean | undefined, useOenormFileDeclarationForItemNumberSchema?: boolean | undefined, destinationOenormPhase?: DestinationOenormExchangePhase | undefined): Promise<SwaggerResponse<FileResponse>>;
1317
1317
  protected processOenormConversionConvertToOenorm(response: Response): Promise<SwaggerResponse<FileResponse>>;
1318
1318
  }
1319
- export declare class PdfConversionApi {
1320
- private http;
1321
- private _accessToken;
1322
- set accessToken(token: string | null);
1323
- private baseUrl;
1324
- get basePath(): string;
1325
- set basePath(value: string);
1326
- protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
1327
- constructor(baseUrl?: string, http?: {
1328
- fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
1329
- });
1330
- /**
1331
- * This endpoint is currently experimental and may change in the future. It is not intended for production use.
1332
- It takes a PDF file as input and attempts to extract the project structure from it using Azure Document Intelligence and OpenAI's GPT model.
1333
- * @param pdfFile (optional)
1334
- */
1335
- pdfConversionConvertPdfToAva(pdfFile: FileParameter | null | undefined): Promise<SwaggerResponse<ProjectDto>>;
1336
- protected processPdfConversionConvertPdfToAva(response: Response): Promise<SwaggerResponse<ProjectDto>>;
1337
- }
1338
1319
  export declare class RebConversionApi {
1339
1320
  private http;
1340
1321
  private _accessToken;
package/api.js CHANGED
@@ -5,10 +5,10 @@
5
5
  // </auto-generated>
6
6
  //----------------------
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.PositionTypeDto = exports.ItemNumberDto = exports.SustainabilityLifeCycleStageDto = exports.PositionSustainabilityIndicatorDto = exports.ComissionStatusDto = exports.STLBKeyDto = exports.STLBReferenceDto = exports.StandardReferenceTypeDto = exports.StandardizedDescriptionDto = exports.AdditionTypeDto = exports.SubDescriptionDto = exports.PriceComponentDto = exports.CalculationDto = exports.LabourPriceComponentDto = exports.PositionDto = exports.CatalogueReferenceDto = exports.CatalogueTypeDto = exports.CatalogueDto = exports.IElementDto = exports.ServiceSpecificationDto = exports.SpecialAwardKindDto = exports.AwardTypeDto = exports.PriceComponentTypeDto = exports.ItemNumberSchemaTierTypeDto = exports.ItemNumberSchemaTierAlignmentDto = exports.ItemNumberTypeDto = exports.ItemNumberSchemaTierDto = exports.ItemNumberSchemaDto = exports.BankingInformationDto = exports.PartyInformationDto = exports.ProjectInformationDto = exports.PriceRoundingModeDto = exports.ProjectDto = exports.DanglIdentityApi = exports.XRechnungConversionApi = exports.ValidationApi = exports.UglConversionApi = exports.StatusApi = exports.SiaConversionApi = exports.RebConversionApi = exports.PdfConversionApi = exports.OenormConversionApi = exports.IdsConnectConversionApi = exports.GaebConversionApi = exports.FlatAvaConversionApi = exports.ExcelConversionApi = exports.DatanormConversionApi = exports.AvaMergeApi = exports.AvaConversionApi = exports.AslvConversionApi = void 0;
9
- exports.ValidationSeverity = exports.ValidationCheckResult = exports.ValidationResult = exports.GetStatus = exports.PostAvaProjectMerge = exports.GetProjectMergeResult = exports.IdsConnectVersion = exports.UglDestinationVersion = exports.DatanormDestinationVersion = exports.SiaDestinationType = exports.DestinationRebType = exports.DestinationOenormExchangePhase = exports.DestinationOenormType = exports.DestinationGaebExchangePhase = exports.DestinationGaebType = exports.FlatElementDto = exports.FlatAvaProject = exports.ApiError = exports.OenormLBReferenceDto = exports.ServiceSpecificationOenormPropertiesDto = exports.CommerceInquiryTypeDto = exports.ServiceSpecificationCommercePropertiesDto = exports.DurationUnitDto = exports.WarrantyDurationDto = exports.SustainabilityCatalogueDto = exports.TradeDiscountDto = exports.PriceInformationDto = exports.OriginDto = exports.ExchangePhaseDto = exports.OenormPropertiesDto = exports.GrossPriceComponentDto = exports.ServiceSpecificationGroupDto = exports.OenormNoteTextPropertiesDto = exports.NoteTextDto = exports.ExecutionDescriptionDto = exports.PriceCatalogueDataDto = exports.HoldOutDurationUnitDto = exports.HoldOutTypeDto = exports.PositionHoldOutPropertiesDto = exports.PositionComplementingTypeDto = exports.AddendumStatusDto = exports.OenormOriginCodeDto = exports.OenormPositionPropertiesDto = exports.ComplementedByQuantityDto = exports.CommercePropertiesDto = exports.QuantityAssignmentDto = exports.ArticleDataDto = exports.ProductDataDto = exports.ServiceTypeDto = exports.PriceTypeDto = void 0;
10
- exports.TokenResponseGet = exports.LoginPost = exports.PostXRechnungPdfEmbedd = exports.DestinationXRechnungFormat = exports.AvaProjectWrapper = exports.FacturXPaymentTerm = exports.FacturXProfile = exports.FacturXData = exports.SourceType = exports.LineItemAttribute = exports.LineItemInformation = exports.LineItemVatInformation = exports.LineItemPriceDetail = exports.LineItemCharge = exports.LineItemAllowance = exports.InvoiceLineItem = exports.ChargeReasonType = exports.InvoiceCharge = exports.AllowanceReasonType = exports.InvoiceAllowance = exports.VatCategory = exports.VatBreakdown = exports.AttachmentMimeType = exports.SupportingDocument = exports.PaymentMeans = exports.PaymentType = exports.PaymentInstructions = exports.InvoiceTotals = exports.DeliveryAddress = exports.DeliveryInformation = exports.InvoicePeriod = exports.ShortTextType = exports.InvoiceNote = exports.Payee = exports.Organization = exports.PreviousInvoice = exports.PaymentTerm = exports.References = exports.InvoiceType = exports.Invoice = exports.PostGaebDestinationOptions = exports.PostOenormDestinationOptions = exports.PostAvaSourceOptions = exports.PostAvaProjectValidationSourceOptions = exports.FileValidationSourceType = exports.ValidationType = exports.ProjectValidationCheckDetails = exports.XmlSchemaValidationCheckDetails = exports.ObjectValidationCheckDetails = exports.ValidationCheckType = void 0;
11
- exports.ApiException = exports.SwaggerResponse = exports.ClaimGet = exports.UserInfoGet = exports.ForgotPasswordPost = exports.RegisterPost = exports.TokenRefreshPost = exports.TokenLoginPost = exports.ResponseErrorType = exports.HttpStatusCode = void 0;
8
+ exports.PriceTypeDto = exports.PositionTypeDto = exports.ItemNumberDto = exports.SustainabilityLifeCycleStageDto = exports.PositionSustainabilityIndicatorDto = exports.ComissionStatusDto = exports.STLBKeyDto = exports.STLBReferenceDto = exports.StandardReferenceTypeDto = exports.StandardizedDescriptionDto = exports.AdditionTypeDto = exports.SubDescriptionDto = exports.PriceComponentDto = exports.CalculationDto = exports.LabourPriceComponentDto = exports.PositionDto = exports.CatalogueReferenceDto = exports.CatalogueTypeDto = exports.CatalogueDto = exports.IElementDto = exports.ServiceSpecificationDto = exports.SpecialAwardKindDto = exports.AwardTypeDto = exports.PriceComponentTypeDto = exports.ItemNumberSchemaTierTypeDto = exports.ItemNumberSchemaTierAlignmentDto = exports.ItemNumberTypeDto = exports.ItemNumberSchemaTierDto = exports.ItemNumberSchemaDto = exports.BankingInformationDto = exports.PartyInformationDto = exports.ProjectInformationDto = exports.PriceRoundingModeDto = exports.ProjectDto = exports.DanglIdentityApi = exports.XRechnungConversionApi = exports.ValidationApi = exports.UglConversionApi = exports.StatusApi = exports.SiaConversionApi = exports.RebConversionApi = exports.OenormConversionApi = exports.IdsConnectConversionApi = exports.GaebConversionApi = exports.FlatAvaConversionApi = exports.ExcelConversionApi = exports.DatanormConversionApi = exports.AvaMergeApi = exports.AvaConversionApi = exports.AslvConversionApi = void 0;
9
+ exports.ValidationCheckType = exports.ValidationSeverity = exports.ValidationCheckResult = exports.ValidationResult = exports.GetStatus = exports.PostAvaProjectMerge = exports.GetProjectMergeResult = exports.IdsConnectVersion = exports.UglDestinationVersion = exports.DatanormDestinationVersion = exports.SiaDestinationType = exports.DestinationRebType = exports.DestinationOenormExchangePhase = exports.DestinationOenormType = exports.DestinationGaebExchangePhase = exports.DestinationGaebType = exports.FlatElementDto = exports.FlatAvaProject = exports.ApiError = exports.OenormLBReferenceDto = exports.ServiceSpecificationOenormPropertiesDto = exports.CommerceInquiryTypeDto = exports.ServiceSpecificationCommercePropertiesDto = exports.DurationUnitDto = exports.WarrantyDurationDto = exports.SustainabilityCatalogueDto = exports.TradeDiscountDto = exports.PriceInformationDto = exports.OriginDto = exports.ExchangePhaseDto = exports.OenormPropertiesDto = exports.GrossPriceComponentDto = exports.ServiceSpecificationGroupDto = exports.OenormNoteTextPropertiesDto = exports.NoteTextDto = exports.ExecutionDescriptionDto = exports.PriceCatalogueDataDto = exports.HoldOutDurationUnitDto = exports.HoldOutTypeDto = exports.PositionHoldOutPropertiesDto = exports.PositionComplementingTypeDto = exports.AddendumStatusDto = exports.OenormOriginCodeDto = exports.OenormPositionPropertiesDto = exports.ComplementedByQuantityDto = exports.CommercePropertiesDto = exports.QuantityAssignmentDto = exports.ArticleDataDto = exports.ProductDataDto = exports.ServiceTypeDto = void 0;
10
+ exports.HttpStatusCode = exports.TokenResponseGet = exports.LoginPost = exports.PostXRechnungPdfEmbedd = exports.DestinationXRechnungFormat = exports.AvaProjectWrapper = exports.FacturXPaymentTerm = exports.FacturXProfile = exports.FacturXData = exports.SourceType = exports.LineItemAttribute = exports.LineItemInformation = exports.LineItemVatInformation = exports.LineItemPriceDetail = exports.LineItemCharge = exports.LineItemAllowance = exports.InvoiceLineItem = exports.ChargeReasonType = exports.InvoiceCharge = exports.AllowanceReasonType = exports.InvoiceAllowance = exports.VatCategory = exports.VatBreakdown = exports.AttachmentMimeType = exports.SupportingDocument = exports.PaymentMeans = exports.PaymentType = exports.PaymentInstructions = exports.InvoiceTotals = exports.DeliveryAddress = exports.DeliveryInformation = exports.InvoicePeriod = exports.ShortTextType = exports.InvoiceNote = exports.Payee = exports.Organization = exports.PreviousInvoice = exports.PaymentTerm = exports.References = exports.InvoiceType = exports.Invoice = exports.PostGaebDestinationOptions = exports.PostOenormDestinationOptions = exports.PostAvaSourceOptions = exports.PostAvaProjectValidationSourceOptions = exports.FileValidationSourceType = exports.ValidationType = exports.ProjectValidationCheckDetails = exports.XmlSchemaValidationCheckDetails = exports.ObjectValidationCheckDetails = void 0;
11
+ exports.ApiException = exports.SwaggerResponse = exports.ClaimGet = exports.UserInfoGet = exports.ForgotPasswordPost = exports.RegisterPost = exports.TokenRefreshPost = exports.TokenLoginPost = exports.ResponseErrorType = void 0;
12
12
  /* eslint-disable */
13
13
  // ReSharper disable InconsistentNaming
14
14
  class AslvConversionApi {
@@ -3851,7 +3851,7 @@ class OenormConversionApi {
3851
3851
  * @param removeHtmlLongTexts (optional) If set to true, html long texts will be removed from the output to reduce response sizes
3852
3852
  * @param useOenormFileDeclarationForItemNumberSchema (optional) If this is enabled, then the actual content structure inside the ÖNorm file is ignored. The item number
3853
3853
  schema of the target will be built based on the top level structure definition of the ÖNorm file, even if the
3854
- file content itself might be different or empty
3854
+ file content itself might be different or empty. Defaults to true.
3855
3855
  */
3856
3856
  oenormConversionConvertToAva(oenormFile, removePlainTextLongTexts, removeHtmlLongTexts, useOenormFileDeclarationForItemNumberSchema) {
3857
3857
  let url_ = this.baseUrl + "/conversion/oenorm/ava?";
@@ -3927,7 +3927,7 @@ class OenormConversionApi {
3927
3927
  * @param oenormFile (optional) The input file
3928
3928
  * @param useOenormFileDeclarationForItemNumberSchema (optional) If this is enabled, then the actual content structure inside the ÖNorm file is ignored. The item number
3929
3929
  schema of the target will be built based on the top level structure definition of the ÖNorm file, even if the
3930
- file content itself might be different or empty
3930
+ file content itself might be different or empty. Defaults to true.
3931
3931
  */
3932
3932
  oenormConversionConvertToFlatAva(oenormFile, useOenormFileDeclarationForItemNumberSchema) {
3933
3933
  let url_ = this.baseUrl + "/conversion/oenorm/flat-ava?";
@@ -4022,7 +4022,7 @@ class OenormConversionApi {
4022
4022
  reasons.
4023
4023
  * @param useOenormFileDeclarationForItemNumberSchema (optional) If this is enabled, then the actual content structure inside the ÖNorm file is ignored. The item number
4024
4024
  schema of the target will be built based on the top level structure definition of the ÖNorm file, even if the
4025
- file content itself might be different or empty
4025
+ file content itself might be different or empty. Defaults to true.
4026
4026
  */
4027
4027
  oenormConversionConvertToGaeb(oenormFile, destinationGaebType, targetExchangePhaseTransform, enforceStrictOfferPhaseLongTextOutput, exportQuantityDetermination, removeUnprintableCharactersFromTexts, forceIncludeDescriptions, treatNullItemNumberSchemaAsInvalid, useOenormFileDeclarationForItemNumberSchema) {
4028
4028
  let url_ = this.baseUrl + "/conversion/oenorm/gaeb?";
@@ -4132,7 +4132,7 @@ class OenormConversionApi {
4132
4132
  be locked, so users can not accidentally modify other fields.
4133
4133
  * @param useOenormFileDeclarationForItemNumberSchema (optional) If this is enabled, then the actual content structure inside the ÖNorm file is ignored. The item number
4134
4134
  schema of the target will be built based on the top level structure definition of the ÖNorm file, even if the
4135
- file content itself might be different or empty
4135
+ file content itself might be different or empty. Defaults to true.
4136
4136
  */
4137
4137
  oenormConversionConvertToExcel(oenormFile, writePrices, writeLongTexts, conversionCulture, includeArticleNumbers, lockAllCellsButPrices, useOenormFileDeclarationForItemNumberSchema) {
4138
4138
  let url_ = this.baseUrl + "/conversion/oenorm/excel?";
@@ -4232,7 +4232,7 @@ class OenormConversionApi {
4232
4232
  Defaults to true.
4233
4233
  * @param useOenormFileDeclarationForItemNumberSchema (optional) If this is enabled, then the actual content structure inside the ÖNorm file is ignored. The item number
4234
4234
  schema of the target will be built based on the top level structure definition of the ÖNorm file, even if the
4235
- file content itself might be different or empty
4235
+ file content itself might be different or empty. Defaults to true.
4236
4236
  * @param destinationOenormPhase (optional) If this is given, then the output file will be transformed accordingly to the phase specified.
4237
4237
  */
4238
4238
  oenormConversionConvertToOenorm(oenormFile, destinationOenormType, tryRepairProjectStructure, skipTryEnforceSchemaCompliantXmlOutput, removeUnprintableCharactersFromTexts, useOenormFileDeclarationForItemNumberSchema, destinationOenormPhase) {
@@ -4317,80 +4317,6 @@ class OenormConversionApi {
4317
4317
  }
4318
4318
  }
4319
4319
  exports.OenormConversionApi = OenormConversionApi;
4320
- class PdfConversionApi {
4321
- set accessToken(token) {
4322
- this._accessToken = token;
4323
- }
4324
- get basePath() {
4325
- return this.baseUrl;
4326
- }
4327
- set basePath(value) {
4328
- this.baseUrl = value;
4329
- }
4330
- constructor(baseUrl, http) {
4331
- this._accessToken = null;
4332
- this.jsonParseReviver = undefined;
4333
- this.http = http ? http : (typeof window !== 'undefined' ? window : { fetch });
4334
- this.baseUrl = baseUrl !== null && baseUrl !== void 0 ? baseUrl : "https://avacloud-api.dangl-it.com";
4335
- }
4336
- /**
4337
- * This endpoint is currently experimental and may change in the future. It is not intended for production use.
4338
- It takes a PDF file as input and attempts to extract the project structure from it using Azure Document Intelligence and OpenAI's GPT model.
4339
- * @param pdfFile (optional)
4340
- */
4341
- pdfConversionConvertPdfToAva(pdfFile) {
4342
- let url_ = this.baseUrl + "/conversion/pdf/ava";
4343
- url_ = url_.replace(/[?&]$/, "");
4344
- const content_ = new FormData();
4345
- if (pdfFile !== null && pdfFile !== undefined)
4346
- content_.append("pdfFile", pdfFile.data, pdfFile.fileName ? pdfFile.fileName : "pdfFile");
4347
- let options_ = {
4348
- body: content_,
4349
- method: "POST",
4350
- headers: {
4351
- "Accept": "application/json"
4352
- }
4353
- };
4354
- if (this._accessToken) {
4355
- options_.headers = options_.headers || {};
4356
- options_.headers['Authorization'] = `Bearer ${this._accessToken}`;
4357
- }
4358
- return this.http.fetch(url_, options_).then((_response) => {
4359
- return this.processPdfConversionConvertPdfToAva(_response);
4360
- });
4361
- }
4362
- processPdfConversionConvertPdfToAva(response) {
4363
- const status = response.status;
4364
- let _headers = {};
4365
- if (response.headers && response.headers.forEach) {
4366
- response.headers.forEach((v, k) => _headers[k] = v);
4367
- }
4368
- ;
4369
- if (status === 200) {
4370
- return response.text().then((_responseText) => {
4371
- let result200 = null;
4372
- let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
4373
- result200 = ProjectDto.fromJS(resultData200);
4374
- return new SwaggerResponse(status, _headers, result200);
4375
- });
4376
- }
4377
- else if (status === 400) {
4378
- return response.text().then((_responseText) => {
4379
- let result400 = null;
4380
- let resultData400 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
4381
- result400 = ApiError.fromJS(resultData400);
4382
- return throwException("A server side error occurred.", status, _responseText, _headers, result400);
4383
- });
4384
- }
4385
- else if (status !== 200 && status !== 204) {
4386
- return response.text().then((_responseText) => {
4387
- return throwException("An unexpected server error occurred.", status, _responseText, _headers);
4388
- });
4389
- }
4390
- return Promise.resolve(new SwaggerResponse(status, _headers, null));
4391
- }
4392
- }
4393
- exports.PdfConversionApi = PdfConversionApi;
4394
4320
  class RebConversionApi {
4395
4321
  set accessToken(token) {
4396
4322
  this._accessToken = token;