diff --git a/CHANGELOG.md b/CHANGELOG.md index deb1a7b..f2f44c3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [0.0.1-alpha.7](https://github.com/apimatic/apimatic-sdk-for-js/compare/v0.0.1-alpha.6...v0.0.1-alpha.7) (2021-12-08) + + +### Bug Fixes + +* **schema:** update types of configuration and metadata to object from array ([67600be](https://github.com/apimatic/apimatic-sdk-for-js/commit/67600be2ae2a1b22ec4aa8d0530c8478a30b019a)) + ## [0.0.1-alpha.6](https://github.com/apimatic/apimatic-sdk-for-js/compare/v0.0.1-alpha.5...v0.0.1-alpha.6) (2021-12-08) diff --git a/dist/models/apiEntity.d.ts b/dist/models/apiEntity.d.ts index 3277a2c..46bed26 100644 --- a/dist/models/apiEntity.d.ts +++ b/dist/models/apiEntity.d.ts @@ -46,7 +46,6 @@ export interface ApiEntity { serverConfiguration: ServerConfiguration; /** API Endpoint Groups */ endpointsGroup?: EndpointsGroup[]; - /** API Meta Data */ - metaData: MetaData[]; + metaData: MetaData; } export declare const apiEntitySchema: Schema; diff --git a/dist/models/apiEntityDetailed.d.ts b/dist/models/apiEntityDetailed.d.ts index 1727e7d..692071b 100644 --- a/dist/models/apiEntityDetailed.d.ts +++ b/dist/models/apiEntityDetailed.d.ts @@ -48,8 +48,7 @@ export interface ApiEntityDetailed { serverConfiguration: ServerConfiguration; /** API Endpoint Groups */ endpointsGroup?: EndpointsGroup[]; - /** API Meta Data */ - metaData: MetaData[]; + metaData: MetaData; /** API Endpoints */ endpoints: Endpoint[]; /** Complex Custom Model Types */ diff --git a/dist/models/testGenSettings.d.ts b/dist/models/testGenSettings.d.ts index 59d3236..1dc0614 100644 --- a/dist/models/testGenSettings.d.ts +++ b/dist/models/testGenSettings.d.ts @@ -11,6 +11,6 @@ export interface TestGenSettings { /** Number of seconds after which if the endpoint is not returning any response, the test is forced to fail e.g. a timeout of 60 */ testTimeout: number; /** The parameters allows to provide values for configuration file for use in the test environment */ - configuration: string[]; + configuration?: unknown; } export declare const testGenSettingsSchema: Schema; diff --git a/dist/sdk.cjs.development.js b/dist/sdk.cjs.development.js index 7bf96c4..b770916 100644 --- a/dist/sdk.cjs.development.js +++ b/dist/sdk.cjs.development.js @@ -1468,7 +1468,7 @@ var serverConfigurationSchema = /*#__PURE__*/schema.object({ var testGenSettingsSchema = /*#__PURE__*/schema.object({ precisionDelta: ['precisionDelta', /*#__PURE__*/schema.number()], testTimeout: ['testTimeout', /*#__PURE__*/schema.number()], - configuration: ['configuration', /*#__PURE__*/schema.array( /*#__PURE__*/schema.string())] + configuration: ['configuration', /*#__PURE__*/schema.unknown()] }); /** @@ -1504,9 +1504,9 @@ var apiEntitySchema = /*#__PURE__*/schema.object({ endpointsGroup: ['endpointsGroup', /*#__PURE__*/schema.optional( /*#__PURE__*/schema.array( /*#__PURE__*/schema.lazy(function () { return endpointsGroupSchema; })))], - metaData: ['metaData', /*#__PURE__*/schema.array( /*#__PURE__*/schema.lazy(function () { + metaData: ['metaData', /*#__PURE__*/schema.lazy(function () { return metaDataSchema; - }))] + })] }); /** diff --git a/dist/sdk.cjs.development.js.map b/dist/sdk.cjs.development.js.map index 84408cc..80c7c03 100644 --- a/dist/sdk.cjs.development.js.map +++ b/dist/sdk.cjs.development.js.map @@ -1 +1 @@ -{"version":3,"file":"sdk.cjs.development.js","sources":["../node_modules/regenerator-runtime/runtime.js","../src/authentication.ts","../src/configuration.ts","../src/defaultConfiguration.ts","../src/http/xmlSerialization.ts","../src/client.ts","../src/models/apiValidationSummary.ts","../src/controllers/baseController.ts","../src/controllers/aPIValidationExternalApisController.ts","../src/models/docsValidationSummary.ts","../src/controllers/aPIValidationImportedApisController.ts","../src/models/accept.ts","../src/models/accept2.ts","../src/models/authentication.ts","../src/models/codeGenSettings.ts","../src/models/endpointsGroup.ts","../src/models/importValidationSummary.ts","../src/models/metaData.ts","../src/models/server.ts","../src/models/environment.ts","../src/models/attributes.ts","../src/models/parameter.ts","../src/models/serverConfiguration.ts","../src/models/testGenSettings.ts","../src/models/apiEntity.ts","../src/models/exportFormats.ts","../src/models/importApiVersionViaUrlRequest.ts","../src/models/importApiViaUrlRequest.ts","../src/models/inplaceImportApiViaUrlRequest.ts","../src/controllers/apisManagementController.ts","../src/models/platforms.ts","../src/models/generateSdkViaUrlRequest.ts","../src/models/userCodeGeneration.ts","../src/controllers/codeGenerationExternalApisController.ts","../src/models/aPIEntityCodeGeneration.ts","../src/controllers/codeGenerationImportedApisController.ts","../src/models/accept3.ts","../src/controllers/docsPortalManagementController.ts","../src/models/id.ts","../src/models/link.ts","../src/models/cSNETSTANDARDLIB.ts","../src/models/templatesPackageDeploymentInformation.ts","../src/models/packageDeploymentInformation.ts","../src/models/authorIdentifiers.ts","../src/models/publishedPackage.ts","../src/models/packageRepositories.ts","../src/models/publishPackageInput.ts","../src/models/updateTemplatesPackageDeploymentInformation.ts","../src/models/updatePackageDeploymentInformation.ts","../src/controllers/packageDeploymentController.ts","../src/models/transformation.ts","../src/models/transformViaUrlRequest.ts","../src/controllers/transformationController.ts","../src/models/contentType.ts","../src/models/implementationType.ts"],"sourcesContent":["/**\n * Copyright (c) 2014-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nvar runtime = (function (exports) {\n \"use strict\";\n\n var Op = Object.prototype;\n var hasOwn = Op.hasOwnProperty;\n var undefined; // More compressible than void 0.\n var $Symbol = typeof Symbol === \"function\" ? Symbol : {};\n var iteratorSymbol = $Symbol.iterator || \"@@iterator\";\n var asyncIteratorSymbol = $Symbol.asyncIterator || \"@@asyncIterator\";\n var toStringTagSymbol = $Symbol.toStringTag || \"@@toStringTag\";\n\n function define(obj, key, value) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n return obj[key];\n }\n try {\n // IE 8 has a broken Object.defineProperty that only works on DOM objects.\n define({}, \"\");\n } catch (err) {\n define = function(obj, key, value) {\n return obj[key] = value;\n };\n }\n\n function wrap(innerFn, outerFn, self, tryLocsList) {\n // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.\n var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;\n var generator = Object.create(protoGenerator.prototype);\n var context = new Context(tryLocsList || []);\n\n // The ._invoke method unifies the implementations of the .next,\n // .throw, and .return methods.\n generator._invoke = makeInvokeMethod(innerFn, self, context);\n\n return generator;\n }\n exports.wrap = wrap;\n\n // Try/catch helper to minimize deoptimizations. Returns a completion\n // record like context.tryEntries[i].completion. This interface could\n // have been (and was previously) designed to take a closure to be\n // invoked without arguments, but in all the cases we care about we\n // already have an existing method we want to call, so there's no need\n // to create a new function object. We can even get away with assuming\n // the method takes exactly one argument, since that happens to be true\n // in every case, so we don't have to touch the arguments object. The\n // only additional allocation required is the completion record, which\n // has a stable shape and so hopefully should be cheap to allocate.\n function tryCatch(fn, obj, arg) {\n try {\n return { type: \"normal\", arg: fn.call(obj, arg) };\n } catch (err) {\n return { type: \"throw\", arg: err };\n }\n }\n\n var GenStateSuspendedStart = \"suspendedStart\";\n var GenStateSuspendedYield = \"suspendedYield\";\n var GenStateExecuting = \"executing\";\n var GenStateCompleted = \"completed\";\n\n // Returning this object from the innerFn has the same effect as\n // breaking out of the dispatch switch statement.\n var ContinueSentinel = {};\n\n // Dummy constructor functions that we use as the .constructor and\n // .constructor.prototype properties for functions that return Generator\n // objects. For full spec compliance, you may wish to configure your\n // minifier not to mangle the names of these two functions.\n function Generator() {}\n function GeneratorFunction() {}\n function GeneratorFunctionPrototype() {}\n\n // This is a polyfill for %IteratorPrototype% for environments that\n // don't natively support it.\n var IteratorPrototype = {};\n define(IteratorPrototype, iteratorSymbol, function () {\n return this;\n });\n\n var getProto = Object.getPrototypeOf;\n var NativeIteratorPrototype = getProto && getProto(getProto(values([])));\n if (NativeIteratorPrototype &&\n NativeIteratorPrototype !== Op &&\n hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {\n // This environment has a native %IteratorPrototype%; use it instead\n // of the polyfill.\n IteratorPrototype = NativeIteratorPrototype;\n }\n\n var Gp = GeneratorFunctionPrototype.prototype =\n Generator.prototype = Object.create(IteratorPrototype);\n GeneratorFunction.prototype = GeneratorFunctionPrototype;\n define(Gp, \"constructor\", GeneratorFunctionPrototype);\n define(GeneratorFunctionPrototype, \"constructor\", GeneratorFunction);\n GeneratorFunction.displayName = define(\n GeneratorFunctionPrototype,\n toStringTagSymbol,\n \"GeneratorFunction\"\n );\n\n // Helper for defining the .next, .throw, and .return methods of the\n // Iterator interface in terms of a single ._invoke method.\n function defineIteratorMethods(prototype) {\n [\"next\", \"throw\", \"return\"].forEach(function(method) {\n define(prototype, method, function(arg) {\n return this._invoke(method, arg);\n });\n });\n }\n\n exports.isGeneratorFunction = function(genFun) {\n var ctor = typeof genFun === \"function\" && genFun.constructor;\n return ctor\n ? ctor === GeneratorFunction ||\n // For the native GeneratorFunction constructor, the best we can\n // do is to check its .name property.\n (ctor.displayName || ctor.name) === \"GeneratorFunction\"\n : false;\n };\n\n exports.mark = function(genFun) {\n if (Object.setPrototypeOf) {\n Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);\n } else {\n genFun.__proto__ = GeneratorFunctionPrototype;\n define(genFun, toStringTagSymbol, \"GeneratorFunction\");\n }\n genFun.prototype = Object.create(Gp);\n return genFun;\n };\n\n // Within the body of any async function, `await x` is transformed to\n // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test\n // `hasOwn.call(value, \"__await\")` to determine if the yielded value is\n // meant to be awaited.\n exports.awrap = function(arg) {\n return { __await: arg };\n };\n\n function AsyncIterator(generator, PromiseImpl) {\n function invoke(method, arg, resolve, reject) {\n var record = tryCatch(generator[method], generator, arg);\n if (record.type === \"throw\") {\n reject(record.arg);\n } else {\n var result = record.arg;\n var value = result.value;\n if (value &&\n typeof value === \"object\" &&\n hasOwn.call(value, \"__await\")) {\n return PromiseImpl.resolve(value.__await).then(function(value) {\n invoke(\"next\", value, resolve, reject);\n }, function(err) {\n invoke(\"throw\", err, resolve, reject);\n });\n }\n\n return PromiseImpl.resolve(value).then(function(unwrapped) {\n // When a yielded Promise is resolved, its final value becomes\n // the .value of the Promise<{value,done}> result for the\n // current iteration.\n result.value = unwrapped;\n resolve(result);\n }, function(error) {\n // If a rejected Promise was yielded, throw the rejection back\n // into the async generator function so it can be handled there.\n return invoke(\"throw\", error, resolve, reject);\n });\n }\n }\n\n var previousPromise;\n\n function enqueue(method, arg) {\n function callInvokeWithMethodAndArg() {\n return new PromiseImpl(function(resolve, reject) {\n invoke(method, arg, resolve, reject);\n });\n }\n\n return previousPromise =\n // If enqueue has been called before, then we want to wait until\n // all previous Promises have been resolved before calling invoke,\n // so that results are always delivered in the correct order. If\n // enqueue has not been called before, then it is important to\n // call invoke immediately, without waiting on a callback to fire,\n // so that the async generator function has the opportunity to do\n // any necessary setup in a predictable way. This predictability\n // is why the Promise constructor synchronously invokes its\n // executor callback, and why async functions synchronously\n // execute code before the first await. Since we implement simple\n // async functions in terms of async generators, it is especially\n // important to get this right, even though it requires care.\n previousPromise ? previousPromise.then(\n callInvokeWithMethodAndArg,\n // Avoid propagating failures to Promises returned by later\n // invocations of the iterator.\n callInvokeWithMethodAndArg\n ) : callInvokeWithMethodAndArg();\n }\n\n // Define the unified helper method that is used to implement .next,\n // .throw, and .return (see defineIteratorMethods).\n this._invoke = enqueue;\n }\n\n defineIteratorMethods(AsyncIterator.prototype);\n define(AsyncIterator.prototype, asyncIteratorSymbol, function () {\n return this;\n });\n exports.AsyncIterator = AsyncIterator;\n\n // Note that simple async functions are implemented on top of\n // AsyncIterator objects; they just return a Promise for the value of\n // the final result produced by the iterator.\n exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) {\n if (PromiseImpl === void 0) PromiseImpl = Promise;\n\n var iter = new AsyncIterator(\n wrap(innerFn, outerFn, self, tryLocsList),\n PromiseImpl\n );\n\n return exports.isGeneratorFunction(outerFn)\n ? iter // If outerFn is a generator, return the full iterator.\n : iter.next().then(function(result) {\n return result.done ? result.value : iter.next();\n });\n };\n\n function makeInvokeMethod(innerFn, self, context) {\n var state = GenStateSuspendedStart;\n\n return function invoke(method, arg) {\n if (state === GenStateExecuting) {\n throw new Error(\"Generator is already running\");\n }\n\n if (state === GenStateCompleted) {\n if (method === \"throw\") {\n throw arg;\n }\n\n // Be forgiving, per 25.3.3.3.3 of the spec:\n // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume\n return doneResult();\n }\n\n context.method = method;\n context.arg = arg;\n\n while (true) {\n var delegate = context.delegate;\n if (delegate) {\n var delegateResult = maybeInvokeDelegate(delegate, context);\n if (delegateResult) {\n if (delegateResult === ContinueSentinel) continue;\n return delegateResult;\n }\n }\n\n if (context.method === \"next\") {\n // Setting context._sent for legacy support of Babel's\n // function.sent implementation.\n context.sent = context._sent = context.arg;\n\n } else if (context.method === \"throw\") {\n if (state === GenStateSuspendedStart) {\n state = GenStateCompleted;\n throw context.arg;\n }\n\n context.dispatchException(context.arg);\n\n } else if (context.method === \"return\") {\n context.abrupt(\"return\", context.arg);\n }\n\n state = GenStateExecuting;\n\n var record = tryCatch(innerFn, self, context);\n if (record.type === \"normal\") {\n // If an exception is thrown from innerFn, we leave state ===\n // GenStateExecuting and loop back for another invocation.\n state = context.done\n ? GenStateCompleted\n : GenStateSuspendedYield;\n\n if (record.arg === ContinueSentinel) {\n continue;\n }\n\n return {\n value: record.arg,\n done: context.done\n };\n\n } else if (record.type === \"throw\") {\n state = GenStateCompleted;\n // Dispatch the exception by looping back around to the\n // context.dispatchException(context.arg) call above.\n context.method = \"throw\";\n context.arg = record.arg;\n }\n }\n };\n }\n\n // Call delegate.iterator[context.method](context.arg) and handle the\n // result, either by returning a { value, done } result from the\n // delegate iterator, or by modifying context.method and context.arg,\n // setting context.delegate to null, and returning the ContinueSentinel.\n function maybeInvokeDelegate(delegate, context) {\n var method = delegate.iterator[context.method];\n if (method === undefined) {\n // A .throw or .return when the delegate iterator has no .throw\n // method always terminates the yield* loop.\n context.delegate = null;\n\n if (context.method === \"throw\") {\n // Note: [\"return\"] must be used for ES3 parsing compatibility.\n if (delegate.iterator[\"return\"]) {\n // If the delegate iterator has a return method, give it a\n // chance to clean up.\n context.method = \"return\";\n context.arg = undefined;\n maybeInvokeDelegate(delegate, context);\n\n if (context.method === \"throw\") {\n // If maybeInvokeDelegate(context) changed context.method from\n // \"return\" to \"throw\", let that override the TypeError below.\n return ContinueSentinel;\n }\n }\n\n context.method = \"throw\";\n context.arg = new TypeError(\n \"The iterator does not provide a 'throw' method\");\n }\n\n return ContinueSentinel;\n }\n\n var record = tryCatch(method, delegate.iterator, context.arg);\n\n if (record.type === \"throw\") {\n context.method = \"throw\";\n context.arg = record.arg;\n context.delegate = null;\n return ContinueSentinel;\n }\n\n var info = record.arg;\n\n if (! info) {\n context.method = \"throw\";\n context.arg = new TypeError(\"iterator result is not an object\");\n context.delegate = null;\n return ContinueSentinel;\n }\n\n if (info.done) {\n // Assign the result of the finished delegate to the temporary\n // variable specified by delegate.resultName (see delegateYield).\n context[delegate.resultName] = info.value;\n\n // Resume execution at the desired location (see delegateYield).\n context.next = delegate.nextLoc;\n\n // If context.method was \"throw\" but the delegate handled the\n // exception, let the outer generator proceed normally. If\n // context.method was \"next\", forget context.arg since it has been\n // \"consumed\" by the delegate iterator. If context.method was\n // \"return\", allow the original .return call to continue in the\n // outer generator.\n if (context.method !== \"return\") {\n context.method = \"next\";\n context.arg = undefined;\n }\n\n } else {\n // Re-yield the result returned by the delegate method.\n return info;\n }\n\n // The delegate iterator is finished, so forget it and continue with\n // the outer generator.\n context.delegate = null;\n return ContinueSentinel;\n }\n\n // Define Generator.prototype.{next,throw,return} in terms of the\n // unified ._invoke helper method.\n defineIteratorMethods(Gp);\n\n define(Gp, toStringTagSymbol, \"Generator\");\n\n // A Generator should always return itself as the iterator object when the\n // @@iterator function is called on it. Some browsers' implementations of the\n // iterator prototype chain incorrectly implement this, causing the Generator\n // object to not be returned from this call. This ensures that doesn't happen.\n // See https://github.com/facebook/regenerator/issues/274 for more details.\n define(Gp, iteratorSymbol, function() {\n return this;\n });\n\n define(Gp, \"toString\", function() {\n return \"[object Generator]\";\n });\n\n function pushTryEntry(locs) {\n var entry = { tryLoc: locs[0] };\n\n if (1 in locs) {\n entry.catchLoc = locs[1];\n }\n\n if (2 in locs) {\n entry.finallyLoc = locs[2];\n entry.afterLoc = locs[3];\n }\n\n this.tryEntries.push(entry);\n }\n\n function resetTryEntry(entry) {\n var record = entry.completion || {};\n record.type = \"normal\";\n delete record.arg;\n entry.completion = record;\n }\n\n function Context(tryLocsList) {\n // The root entry object (effectively a try statement without a catch\n // or a finally block) gives us a place to store values thrown from\n // locations where there is no enclosing try statement.\n this.tryEntries = [{ tryLoc: \"root\" }];\n tryLocsList.forEach(pushTryEntry, this);\n this.reset(true);\n }\n\n exports.keys = function(object) {\n var keys = [];\n for (var key in object) {\n keys.push(key);\n }\n keys.reverse();\n\n // Rather than returning an object with a next method, we keep\n // things simple and return the next function itself.\n return function next() {\n while (keys.length) {\n var key = keys.pop();\n if (key in object) {\n next.value = key;\n next.done = false;\n return next;\n }\n }\n\n // To avoid creating an additional object, we just hang the .value\n // and .done properties off the next function object itself. This\n // also ensures that the minifier will not anonymize the function.\n next.done = true;\n return next;\n };\n };\n\n function values(iterable) {\n if (iterable) {\n var iteratorMethod = iterable[iteratorSymbol];\n if (iteratorMethod) {\n return iteratorMethod.call(iterable);\n }\n\n if (typeof iterable.next === \"function\") {\n return iterable;\n }\n\n if (!isNaN(iterable.length)) {\n var i = -1, next = function next() {\n while (++i < iterable.length) {\n if (hasOwn.call(iterable, i)) {\n next.value = iterable[i];\n next.done = false;\n return next;\n }\n }\n\n next.value = undefined;\n next.done = true;\n\n return next;\n };\n\n return next.next = next;\n }\n }\n\n // Return an iterator with no values.\n return { next: doneResult };\n }\n exports.values = values;\n\n function doneResult() {\n return { value: undefined, done: true };\n }\n\n Context.prototype = {\n constructor: Context,\n\n reset: function(skipTempReset) {\n this.prev = 0;\n this.next = 0;\n // Resetting context._sent for legacy support of Babel's\n // function.sent implementation.\n this.sent = this._sent = undefined;\n this.done = false;\n this.delegate = null;\n\n this.method = \"next\";\n this.arg = undefined;\n\n this.tryEntries.forEach(resetTryEntry);\n\n if (!skipTempReset) {\n for (var name in this) {\n // Not sure about the optimal order of these conditions:\n if (name.charAt(0) === \"t\" &&\n hasOwn.call(this, name) &&\n !isNaN(+name.slice(1))) {\n this[name] = undefined;\n }\n }\n }\n },\n\n stop: function() {\n this.done = true;\n\n var rootEntry = this.tryEntries[0];\n var rootRecord = rootEntry.completion;\n if (rootRecord.type === \"throw\") {\n throw rootRecord.arg;\n }\n\n return this.rval;\n },\n\n dispatchException: function(exception) {\n if (this.done) {\n throw exception;\n }\n\n var context = this;\n function handle(loc, caught) {\n record.type = \"throw\";\n record.arg = exception;\n context.next = loc;\n\n if (caught) {\n // If the dispatched exception was caught by a catch block,\n // then let that catch block handle the exception normally.\n context.method = \"next\";\n context.arg = undefined;\n }\n\n return !! caught;\n }\n\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n var record = entry.completion;\n\n if (entry.tryLoc === \"root\") {\n // Exception thrown outside of any try block that could handle\n // it, so set the completion value of the entire function to\n // throw the exception.\n return handle(\"end\");\n }\n\n if (entry.tryLoc <= this.prev) {\n var hasCatch = hasOwn.call(entry, \"catchLoc\");\n var hasFinally = hasOwn.call(entry, \"finallyLoc\");\n\n if (hasCatch && hasFinally) {\n if (this.prev < entry.catchLoc) {\n return handle(entry.catchLoc, true);\n } else if (this.prev < entry.finallyLoc) {\n return handle(entry.finallyLoc);\n }\n\n } else if (hasCatch) {\n if (this.prev < entry.catchLoc) {\n return handle(entry.catchLoc, true);\n }\n\n } else if (hasFinally) {\n if (this.prev < entry.finallyLoc) {\n return handle(entry.finallyLoc);\n }\n\n } else {\n throw new Error(\"try statement without catch or finally\");\n }\n }\n }\n },\n\n abrupt: function(type, arg) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc <= this.prev &&\n hasOwn.call(entry, \"finallyLoc\") &&\n this.prev < entry.finallyLoc) {\n var finallyEntry = entry;\n break;\n }\n }\n\n if (finallyEntry &&\n (type === \"break\" ||\n type === \"continue\") &&\n finallyEntry.tryLoc <= arg &&\n arg <= finallyEntry.finallyLoc) {\n // Ignore the finally entry if control is not jumping to a\n // location outside the try/catch block.\n finallyEntry = null;\n }\n\n var record = finallyEntry ? finallyEntry.completion : {};\n record.type = type;\n record.arg = arg;\n\n if (finallyEntry) {\n this.method = \"next\";\n this.next = finallyEntry.finallyLoc;\n return ContinueSentinel;\n }\n\n return this.complete(record);\n },\n\n complete: function(record, afterLoc) {\n if (record.type === \"throw\") {\n throw record.arg;\n }\n\n if (record.type === \"break\" ||\n record.type === \"continue\") {\n this.next = record.arg;\n } else if (record.type === \"return\") {\n this.rval = this.arg = record.arg;\n this.method = \"return\";\n this.next = \"end\";\n } else if (record.type === \"normal\" && afterLoc) {\n this.next = afterLoc;\n }\n\n return ContinueSentinel;\n },\n\n finish: function(finallyLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.finallyLoc === finallyLoc) {\n this.complete(entry.completion, entry.afterLoc);\n resetTryEntry(entry);\n return ContinueSentinel;\n }\n }\n },\n\n \"catch\": function(tryLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc === tryLoc) {\n var record = entry.completion;\n if (record.type === \"throw\") {\n var thrown = record.arg;\n resetTryEntry(entry);\n }\n return thrown;\n }\n }\n\n // The context.catch method must only be called with a location\n // argument that corresponds to a known catch block.\n throw new Error(\"illegal catch attempt\");\n },\n\n delegateYield: function(iterable, resultName, nextLoc) {\n this.delegate = {\n iterator: values(iterable),\n resultName: resultName,\n nextLoc: nextLoc\n };\n\n if (this.method === \"next\") {\n // Deliberately forget the last sent value so that we don't\n // accidentally pass it on to the delegate.\n this.arg = undefined;\n }\n\n return ContinueSentinel;\n }\n };\n\n // Regardless of whether this script is executing as a CommonJS module\n // or not, return the runtime object so that we can declare the variable\n // regeneratorRuntime in the outer scope, which allows this module to be\n // injected easily by `bin/regenerator --include-runtime script.js`.\n return exports;\n\n}(\n // If this script is executing as a CommonJS module, use module.exports\n // as the regeneratorRuntime namespace. Otherwise create a new empty\n // object. Either way, the resulting object will be used to initialize\n // the regeneratorRuntime variable at the top of this file.\n typeof module === \"object\" ? module.exports : {}\n));\n\ntry {\n regeneratorRuntime = runtime;\n} catch (accidentalStrictMode) {\n // This module should not be running in strict mode, so the above\n // assignment should always work unless something is misconfigured. Just\n // in case runtime.js accidentally runs in strict mode, in modern engines\n // we can explicitly access globalThis. In older engines we can escape\n // strict mode using a global Function call. This could conceivably fail\n // if a Content Security Policy forbids using Function, but in that case\n // the proper solution is to fix the accidental strict mode problem. If\n // you've misconfigured your bundler to force strict mode and applied a\n // CSP to forbid Function, and you're not willing to fix either of those\n // problems, please detail your unique predicament in a GitHub issue.\n if (typeof globalThis === \"object\") {\n globalThis.regeneratorRuntime = runtime;\n } else {\n Function(\"r\", \"regeneratorRuntime = r\")(runtime);\n }\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { mergeHeaders } from './core';\nimport { passThroughInterceptor } from './core';\nimport { AuthenticatorInterface } from './core';\n\n/** None authentication provider */\nexport const noneAuthenticationProvider = () => passThroughInterceptor;\n\nexport const customHeaderAuthenticationProvider = ({\n authorization,\n}: {\n authorization: string;\n}): AuthenticatorInterface => {\n return (requiresAuth?: boolean) => {\n if (!requiresAuth) {\n return passThroughInterceptor;\n }\n\n return (request, options, next) => {\n const customHeaderParams = {\n 'Authorization': authorization,\n };\n mergeHeaders(request.headers ?? {}, customHeaderParams);\n\n return next(request, options);\n };\n };\n};\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\n/** An interface for all configuration parameters required by the SDK. */\nexport interface Configuration {\n timeout: number;\n environment: Environment;\n authorization: string;\n unstable_httpClientOptions?: any;\n}\n\n/** Environments available for API */\nexport enum Environment {\n Production = 'production',\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { Configuration, Environment } from './configuration';\n\n/** Default values for the configuration parameters of the client. */\nexport const DEFAULT_CONFIGURATION: Configuration = {\n timeout: 0,\n environment: Environment.Production,\n authorization: 'TODO Authorization value',\n};\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nexport class XmlSerialization {\n public xmlSerialize(_rootName: string, _value: unknown): string {\n throw new Error('XML serialization is not available.');\n }\n\n public xmlDeserialize(\n _rootName: string,\n _xmlString: string\n ): Promise {\n throw new Error('XML deserialization is not available.');\n }\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { customHeaderAuthenticationProvider } from './authentication';\nimport {\n AuthParams,\n ClientInterface,\n SdkRequestBuilder,\n SdkRequestBuilderFactory,\n Server,\n} from './clientInterface';\nimport { Configuration, Environment } from './configuration';\nimport { DEFAULT_CONFIGURATION } from './defaultConfiguration';\nimport { ApiError } from './core';\nimport {\n AuthenticatorInterface,\n createRequestBuilderFactory,\n HttpClient,\n HttpClientInterface,\n XmlSerializerInterface,\n} from './core';\nimport { XmlSerialization } from './http/xmlSerialization';\n\nconst USER_AGENT = 'APIMATIC 3.0';\n\nexport class Client implements ClientInterface {\n private _config: Readonly;\n private _requestBuilderFactory: SdkRequestBuilderFactory;\n\n constructor(config?: Partial) {\n this._config = {\n ...DEFAULT_CONFIGURATION,\n ...config,\n };\n this._requestBuilderFactory = createRequestHandlerFactory(\n server => getBaseUri(server, this._config),\n customHeaderAuthenticationProvider(this._config),\n new HttpClient({\n timeout: this._config.timeout,\n clientConfigOverrides: this._config.unstable_httpClientOptions,\n }),\n [\n withErrorHandlers,\n withUserAgent,\n withAuthenticationByDefault,\n ],\n new XmlSerialization()\n );\n }\n\n public getRequestBuilderFactory(): SdkRequestBuilderFactory {\n return this._requestBuilderFactory;\n }\n\n /**\n * Clone this client and override given configuration options\n */\n public withConfiguration(config: Partial) {\n return new Client({ ...this._config, ...config });\n }\n}\n\nfunction createHttpClientAdapter(client: HttpClient): HttpClientInterface {\n return async (request, requestOptions) => {\n return await client.executeRequest(request, requestOptions);\n };\n}\n\nfunction getBaseUri(server: Server = 'default', config: Configuration): string {\n if (config.environment === Environment.Production) {\n if (server === 'default') {\n return 'https://apimaticio-test.azurewebsites.net/api';\n }\n }\n throw new Error('Could not get Base URL. Invalid environment or server.');\n}\n\nfunction createRequestHandlerFactory(\n baseUrlProvider: (server?: Server) => string,\n authProvider: AuthenticatorInterface,\n httpClient: HttpClient,\n addons: ((rb: SdkRequestBuilder) => void)[],\n xmlSerializer: XmlSerializerInterface\n): SdkRequestBuilderFactory {\n const requestBuilderFactory = createRequestBuilderFactory(\n createHttpClientAdapter(httpClient),\n baseUrlProvider,\n ApiError,\n authProvider,\n xmlSerializer\n );\n\n return tap(requestBuilderFactory, ...addons);\n}\n\nfunction tap(\n requestBuilderFactory: SdkRequestBuilderFactory,\n ...callback: ((requestBuilder: SdkRequestBuilder) => void)[]\n): SdkRequestBuilderFactory {\n return (...args) => {\n const requestBuilder = requestBuilderFactory(...args);\n callback.forEach(c => c(requestBuilder));\n return requestBuilder;\n };\n}\n\nfunction withErrorHandlers(rb: SdkRequestBuilder) {\n rb.defaultToError(ApiError);\n}\n\nfunction withUserAgent(rb: SdkRequestBuilder) {\n rb.header('user-agent', USER_AGENT);\n}\n\nfunction withAuthenticationByDefault(rb: SdkRequestBuilder) {\n rb.authenticate(true);\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { array, boolean, object, Schema, string } from '../schema';\n\nexport interface ApiValidationSummary {\n success: boolean;\n errors: string[];\n warnings: string[];\n messages: string[];\n}\n\nexport const apiValidationSummarySchema: Schema = object({\n success: ['success', boolean()],\n errors: ['errors', array(string())],\n warnings: ['warnings', array(string())],\n messages: ['messages', array(string())],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { ClientInterface, SdkRequestBuilderFactory } from '../clientInterface';\n\n/** Base class for all controllers */\nexport class BaseController {\n /** Create a request builder */\n protected createRequest: SdkRequestBuilderFactory;\n\n constructor(client: ClientInterface) {\n this.createRequest = client.getRequestBuilderFactory();\n }\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { ApiResponse, FileWrapper, RequestOptions } from '../core';\nimport {\n ApiValidationSummary,\n apiValidationSummarySchema,\n} from '../models/apiValidationSummary';\nimport { string } from '../schema';\nimport { BaseController } from './baseController';\n\nexport class APIValidationExternalApisController extends BaseController {\n /**\n * Validate an API by uploading the API specification file.\n *\n * You can also specify [API Metadata](https://docs.apimatic.io/manage-apis/apimatic-metadata) while\n * validating the API using this endpoint. When specifying Metadata, the uploaded file will be a zip\n * file containing the API specification file and the `APIMATIC-META` json file.\n *\n * @param file The API specification file.
The type of the specification file should be any\n * of the [supported formats](https://docs.apimatic.io/api-transformer/overview-\n * transformer#supported-input-formats).\n * @return Response from the API call\n */\n async validateAPIViaFile(\n file: FileWrapper,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('POST', '/validation/validate-via-file');\n req.baseUrl('default');\n req.header('ContentType', 'multipart/form-data');\n req.formData({\n file: file,\n });\n return req.callAsJson(apiValidationSummarySchema, requestOptions);\n }\n\n /**\n * Validate an API by providing the URL of the API specification file.\n *\n * You can also specify [API Metadata](https://docs.apimatic.io/manage-apis/apimatic-metadata) while\n * validating the API using this endpoint. When specifying Metadata, the URL provided will be that of a\n * zip file containing the API specification file and the `APIMATIC-META` json file.\n *\n * @param descriptionUrl The URL for the API specification file.

**Note:** This URL should be\n * publicly accessible.\n * @return Response from the API call\n */\n async validateAPIViaURL(\n descriptionUrl: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET', '/validation/validate-via-url');\n req.baseUrl('default');\n const mapped = req.prepareArgs({\n descriptionUrl: [descriptionUrl, string()],\n });\n req.query('descriptionUrl', mapped.descriptionUrl);\n return req.callAsJson(apiValidationSummarySchema, requestOptions);\n }\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { array, boolean, object, Schema, string } from '../schema';\n\nexport interface DocsValidationSummary {\n success: boolean;\n errors: string[];\n warnings: string[];\n messages: string[];\n}\n\nexport const docsValidationSummarySchema: Schema = object(\n {\n success: ['success', boolean()],\n errors: ['errors', array(string())],\n warnings: ['warnings', array(string())],\n messages: ['messages', array(string())],\n }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { ApiResponse, RequestOptions } from '../core';\nimport {\n ApiValidationSummary,\n apiValidationSummarySchema,\n} from '../models/apiValidationSummary';\nimport {\n DocsValidationSummary,\n docsValidationSummarySchema,\n} from '../models/docsValidationSummary';\nimport { string } from '../schema';\nimport { BaseController } from './baseController';\n\nexport class APIValidationImportedApisController extends BaseController {\n /**\n * Validate an API using the [APIMatic Validator](https://docs.apimatic.io/generate-sdks/overview-\n * sdks#step-2-api-validation).\n *\n * @param apiEntityId The ID of the API Entity to perform validation for.\n * @return Response from the API call\n */\n async validateAPI(\n apiEntityId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n req.baseUrl('default');\n const mapped = req.prepareArgs({ apiEntityId: [apiEntityId, string()] });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/api-validation-summary`;\n return req.callAsJson(apiValidationSummarySchema, requestOptions);\n }\n\n /**\n * Validate an API for documentation generation. This process validates the API for missing examples or\n * missing descriptions.\n *\n * @param apiEntityId The ID of the API Entity to perform validation for.\n * @return Response from the API call\n */\n async validateAPIForDocs(\n apiEntityId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n req.baseUrl('default');\n const mapped = req.prepareArgs({ apiEntityId: [apiEntityId, string()] });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/docs-validation-summary`;\n return req.callAsJson(docsValidationSummarySchema, requestOptions);\n }\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { Schema, stringEnum } from '../schema';\n\n/**\n * Enum for Accept\n */\nexport enum Accept {\n EnumApplicationjson = 'application/json',\n}\n\n/**\n * Schema for Accept\n */\nexport const acceptSchema: Schema = stringEnum(Accept);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { Schema, stringEnum } from '../schema';\n\n/**\n * Enum for Accept2\n */\nexport enum Accept2 {\n EnumApplicationvndapimaticapiEntityfullv1json = 'application/vnd.apimatic.apiEntity.full.v1+json',\n}\n\n/**\n * Schema for Accept2\n */\nexport const accept2Schema: Schema = stringEnum(Accept2);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { array, object, Schema, string, unknown } from '../schema';\n\n/** This Structure encapsulates all details of API authentication. */\nexport interface Authentication {\n /** Auth Id */\n id: string;\n /** Auth Type */\n authType: string;\n /** Scope */\n scopes: string[];\n /** Auth Params */\n parameters: string[];\n /** Auth Scopes */\n authScopes: string[];\n /** Auth Grant Types */\n authGrantTypes: string[];\n /** Paramater Formats */\n paramFormats?: unknown;\n}\n\nexport const authenticationSchema: Schema = object({\n id: ['id', string()],\n authType: ['authType', string()],\n scopes: ['scopes', array(string())],\n parameters: ['parameters', array(string())],\n authScopes: ['authScopes', array(string())],\n authGrantTypes: ['authGrantTypes', array(string())],\n paramFormats: ['paramFormats', unknown()],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { array, boolean, number, object, Schema, string } from '../schema';\n\n/** APIMatic’s code generation engine has various code generation configurations to customise the behaviour and outlook across the generated SDKS. This structure encapsulates all settings for CodeGeneration. */\nexport interface CodeGenSettings {\n /** Generate asynchronous code for API Calls and deserialization */\n isAsync: boolean;\n /** Use HTTP Method prefixes for endpoint wrappers */\n useHttpMethodPrefix: boolean;\n /** Use \"Model\" postfixes for generated class names */\n useModelPrefix: boolean;\n /** Use \"Enum\" postfixes for enumerated types */\n useEnumPrefix: boolean;\n useConstructorsForConfig: boolean;\n /** Use common SDK library to reduce code duplication */\n useCommonSdkLibrary: boolean;\n /** Generates interfaces for controller classes in the generated SDKs */\n generateInterfaces: boolean;\n /** Generate Appveyor configuration file */\n generateAppveyorConfig: boolean;\n /** Generate CircleCI configuration file */\n generateCircleConfig: boolean;\n /** Generate Jenkins configuration file */\n generateJenkinsConfig: boolean;\n /** Generate Travis CI configuration file */\n generateTravisConfig: boolean;\n /** Use \"AndroidManifest.xml\" for config variables in Android */\n androidUseAppManifest: boolean;\n /** Use \"App-Info.plist\" file for config variables in iOS */\n iosUseAppInfoPlist: boolean;\n /** Generate \"CoreData\" schema and entity classes in iOS? */\n iosGenerateCoreData: boolean;\n /** Enable runscope */\n runscopeEnabled: boolean;\n /** Collect Parameters as arrays */\n collapseParamsToArray: boolean;\n /** Attempts to preserve parameter order for endpoints */\n preserveParameterOrder: boolean;\n /** Append JSON/XML accept and content-type headers */\n appendContentHeaders: boolean;\n modelSerializationIsJSON: boolean;\n /** Return a null value on HTTP 404 */\n nullify404: boolean;\n /** Validate required parameters to be Not Null */\n validateRequiredParameters: boolean;\n /** Allow models to have additional runtime properties */\n enableAdditionalModelProperties: boolean;\n javaUsePropertiesConfig: boolean;\n /** Use \"Controller\" postfixes for generated controller classes */\n useControllerPrefix: boolean;\n /** Use Exception Prefixes */\n useExceptionPrefix: boolean;\n /** Parameter Array format with index or without */\n parameterArrayFormat: string;\n /** Configure the HTTP client for Objective C */\n objCHttpClient: string;\n /** Configure the HTTP client for C# */\n cSharpHttpClient: string;\n /** Configure the HTTP client for Android */\n androidHttpClient: string;\n /** Configure the HTTP client for node */\n nodeHttpClient: string;\n /** Configure the HTTP client for PHP */\n phpHttpClient: string;\n bodySerialization: number;\n /** Specify type of array serialisation */\n arraySerialization: string;\n /** This option specifies the duration (in seconds) after which requests would timeout */\n timeout: number;\n /** Enabling this generates code in the SDKs for logging events in the API cycle using a library. */\n enableLogging: boolean;\n /** Enabling caching of responses (not available in all languages) */\n enableHttpCache: boolean;\n /** Specify number of retries */\n retries: number;\n /** Specify retry interval in case of failures */\n retryInterval: number;\n /** Generate advanced read me files */\n generateAdvancedDocs: boolean;\n /** Store Timezone information for the generation */\n storeTimezoneInformation: boolean;\n /** Use \"Controller\" postfixes for generated controller classes */\n enablePhpComposerVersionString: boolean;\n /** Specify Security Protocols */\n securityProtocols: string[];\n /** Use underscores before and after numbers for underscore case */\n underscoreNumbers: boolean;\n /** Allow usage of a Singleton Pattern */\n useSingletonPattern: boolean;\n /** Files/dependencies used for linting are not generated if this option is enabled */\n disableLinting: boolean;\n /** Create a configuration option in SDKs to optionally skip certificate verification when establishing HTTPS connections. */\n allowSkippingSSLCertVerification: boolean;\n /** Apply Customisations */\n applyCustomizations: string[];\n /** Enabling this will stop splitting of words when converting identifiers from API specification to language-specific identifiers. */\n doNotSplitWords: string[];\n /** Sorts resources such as endpoints, endpoint groups and models in generated documentation */\n sortResources: boolean;\n /** Enable a global user agent */\n enableGlobalUserAgent: boolean;\n}\n\nexport const codeGenSettingsSchema: Schema = object({\n isAsync: ['isAsync', boolean()],\n useHttpMethodPrefix: ['useHttpMethodPrefix', boolean()],\n useModelPrefix: ['useModelPrefix', boolean()],\n useEnumPrefix: ['useEnumPrefix', boolean()],\n useConstructorsForConfig: ['useConstructorsForConfig', boolean()],\n useCommonSdkLibrary: ['useCommonSdkLibrary', boolean()],\n generateInterfaces: ['generateInterfaces', boolean()],\n generateAppveyorConfig: ['generateAppveyorConfig', boolean()],\n generateCircleConfig: ['generateCircleConfig', boolean()],\n generateJenkinsConfig: ['generateJenkinsConfig', boolean()],\n generateTravisConfig: ['generateTravisConfig', boolean()],\n androidUseAppManifest: ['androidUseAppManifest', boolean()],\n iosUseAppInfoPlist: ['iosUseAppInfoPlist', boolean()],\n iosGenerateCoreData: ['iosGenerateCoreData', boolean()],\n runscopeEnabled: ['runscopeEnabled', boolean()],\n collapseParamsToArray: ['collapseParamsToArray', boolean()],\n preserveParameterOrder: ['preserveParameterOrder', boolean()],\n appendContentHeaders: ['appendContentHeaders', boolean()],\n modelSerializationIsJSON: ['modelSerializationIsJSON', boolean()],\n nullify404: ['nullify404', boolean()],\n validateRequiredParameters: ['validateRequiredParameters', boolean()],\n enableAdditionalModelProperties: [\n 'enableAdditionalModelProperties',\n boolean(),\n ],\n javaUsePropertiesConfig: ['javaUsePropertiesConfig', boolean()],\n useControllerPrefix: ['useControllerPrefix', boolean()],\n useExceptionPrefix: ['useExceptionPrefix', boolean()],\n parameterArrayFormat: ['parameterArrayFormat', string()],\n objCHttpClient: ['objCHttpClient', string()],\n cSharpHttpClient: ['cSharpHttpClient', string()],\n androidHttpClient: ['androidHttpClient', string()],\n nodeHttpClient: ['nodeHttpClient', string()],\n phpHttpClient: ['phpHttpClient', string()],\n bodySerialization: ['bodySerialization', number()],\n arraySerialization: ['arraySerialization', string()],\n timeout: ['timeout', number()],\n enableLogging: ['enableLogging', boolean()],\n enableHttpCache: ['enableHttpCache', boolean()],\n retries: ['retries', number()],\n retryInterval: ['retryInterval', number()],\n generateAdvancedDocs: ['generateAdvancedDocs', boolean()],\n storeTimezoneInformation: ['storeTimezoneInformation', boolean()],\n enablePhpComposerVersionString: ['enablePhpComposerVersionString', boolean()],\n securityProtocols: ['securityProtocols', array(string())],\n underscoreNumbers: ['underscoreNumbers', boolean()],\n useSingletonPattern: ['useSingletonPattern', boolean()],\n disableLinting: ['disableLinting', boolean()],\n allowSkippingSSLCertVerification: [\n 'allowSkippingSSLCertVerification',\n boolean(),\n ],\n applyCustomizations: ['applyCustomizations', array(string())],\n doNotSplitWords: ['doNotSplitWords', array(string())],\n sortResources: ['sortResources', boolean()],\n enableGlobalUserAgent: ['enableGlobalUserAgent', boolean()],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { object, Schema, string } from '../schema';\n\n/** This structure encapsulates all the attributes of an API Endpoints Group. */\nexport interface EndpointsGroup {\n name: string;\n description: string;\n}\n\nexport const endpointsGroupSchema: Schema = object({\n name: ['name', string()],\n description: ['description', string()],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { array, boolean, object, Schema, string } from '../schema';\n\nexport interface ImportValidationSummary {\n success: boolean;\n errors: string[];\n warnings: string[];\n messages: string[];\n}\n\nexport const importValidationSummarySchema: Schema = object(\n {\n success: ['success', boolean()],\n errors: ['errors', array(string())],\n warnings: ['warnings', array(string())],\n messages: ['messages', array(string())],\n }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { lazy, object, Schema } from '../schema';\nimport {\n ApiValidationSummary,\n apiValidationSummarySchema,\n} from './apiValidationSummary';\nimport {\n DocsValidationSummary,\n docsValidationSummarySchema,\n} from './docsValidationSummary';\nimport {\n ImportValidationSummary,\n importValidationSummarySchema,\n} from './importValidationSummary';\n\nexport interface MetaData {\n importValidationSummary: ImportValidationSummary;\n apiValidationSummary: ApiValidationSummary;\n docsValidationSummary: DocsValidationSummary;\n}\n\nexport const metaDataSchema: Schema = object({\n importValidationSummary: [\n 'importValidationSummary',\n lazy(() => importValidationSummarySchema),\n ],\n apiValidationSummary: [\n 'apiValidationSummary',\n lazy(() => apiValidationSummarySchema),\n ],\n docsValidationSummary: [\n 'docsValidationSummary',\n lazy(() => docsValidationSummarySchema),\n ],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { object, Schema, string } from '../schema';\n\n/** The user can specify multiple servers within an environment. A server comprises of a name and a URL. The names of the hosts remain consistent over different environments but their values may vary. The URL values can contain any number of parameters defined. */\nexport interface Server {\n /** Unique Server identifier */\n id: string;\n /** Server Name */\n name: string;\n /** Server URL */\n url: string;\n}\n\nexport const serverSchema: Schema = object({\n id: ['id', string()],\n name: ['name', string()],\n url: ['url', string()],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { array, lazy, object, Schema, string } from '../schema';\nimport { Server, serverSchema } from './server';\n\n/** An environment consists of a set of servers with base URL values. The environment can be changed programatically allowing rapid switching between different environments. For example the user can specify a Production and Testing Environment and switch between them in the generated SDK. */\nexport interface Environment {\n /** Unique Environment Identifier */\n id: string;\n /** Environment Name */\n name: string;\n /** The user can specify multiple servers within an environment. A server comprises of a name and a url. */\n servers: Server[];\n}\n\nexport const environmentSchema: Schema = object({\n id: ['id', string()],\n name: ['name', string()],\n servers: ['servers', array(lazy(() => serverSchema))],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { object, Schema, string } from '../schema';\n\n/** The structure contain attribute details of a parameter type. */\nexport interface Attributes {\n /** Unique Attribute Identifier */\n id: string;\n}\n\nexport const attributesSchema: Schema = object({\n id: ['id', string()],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { boolean, lazy, object, Schema, string } from '../schema';\nimport { Attributes, attributesSchema } from './attributes';\n\n/** Parameters are options passed with the endpoint */\nexport interface Parameter {\n /** If parameter is optional */\n optional: boolean;\n /** Type of Parameter */\n type: string;\n /** IF Parameter is constant */\n constant: boolean;\n /** If Param is collected as array */\n isArray: boolean;\n isStream: boolean;\n isAttribute: boolean;\n isMap: boolean;\n /** The structure contain attribute details of a parameter type. */\n attributes: Attributes;\n /** If Parameter is nullable */\n nullable: boolean;\n /** Unique Parameter identifier */\n id: string;\n /** Parameter Name */\n name: string;\n /** Parameter Description */\n description: string;\n /** Default Values of a Parameter */\n defaultValue: string;\n /** Specify Parameter Format */\n paramFormat: string;\n}\n\nexport const parameterSchema: Schema = object({\n optional: ['optional', boolean()],\n type: ['type', string()],\n constant: ['constant', boolean()],\n isArray: ['isArray', boolean()],\n isStream: ['isStream', boolean()],\n isAttribute: ['isAttribute', boolean()],\n isMap: ['isMap', boolean()],\n attributes: ['attributes', lazy(() => attributesSchema)],\n nullable: ['nullable', boolean()],\n id: ['id', string()],\n name: ['name', string()],\n description: ['description', string()],\n defaultValue: ['defaultValue', string()],\n paramFormat: ['ParamFormat', string()],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { array, lazy, object, Schema, string } from '../schema';\nimport { Environment, environmentSchema } from './environment';\nimport { Parameter, parameterSchema } from './parameter';\n\n/** Server configurations can be used to create multiple environments, multiple servers that can be used with specific endpoints and server URLs with template paramters. */\nexport interface ServerConfiguration {\n /** Server Config Identifier */\n id: string;\n /** Default Environment */\n defaultEnvironment: string;\n /** Default Server */\n defaultServer: string;\n /** Environment Identifier and Name */\n environments: Environment[];\n /** Parameter Attributes */\n parameters: Parameter[];\n}\n\nexport const serverConfigurationSchema: Schema = object({\n id: ['id', string()],\n defaultEnvironment: ['defaultEnvironment', string()],\n defaultServer: ['defaultServer', string()],\n environments: ['environments', array(lazy(() => environmentSchema))],\n parameters: ['parameters', array(lazy(() => parameterSchema))],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { array, number, object, Schema, string } from '../schema';\n\n/** This structure helps specify additional test configurations which affects how test cases are generated. */\nexport interface TestGenSettings {\n /** Error margin for comparing values in decimal places */\n precisionDelta: number;\n /** Number of seconds after which if the endpoint is not returning any response, the test is forced to fail e.g. a timeout of 60 */\n testTimeout: number;\n /** The parameters allows to provide values for configuration file for use in the test environment */\n configuration: string[];\n}\n\nexport const testGenSettingsSchema: Schema = object({\n precisionDelta: ['precisionDelta', number()],\n testTimeout: ['testTimeout', number()],\n configuration: ['configuration', array(string())],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport {\n array,\n boolean,\n lazy,\n object,\n optional,\n Schema,\n string,\n} from '../schema';\nimport { Authentication, authenticationSchema } from './authentication';\nimport { CodeGenSettings, codeGenSettingsSchema } from './codeGenSettings';\nimport { EndpointsGroup, endpointsGroupSchema } from './endpointsGroup';\nimport { MetaData, metaDataSchema } from './metaData';\nimport {\n ServerConfiguration,\n serverConfigurationSchema,\n} from './serverConfiguration';\nimport { TestGenSettings, testGenSettingsSchema } from './testGenSettings';\n\n/** The API Entity Structure encapsulates all the details of an API Entity. An API entity is a unique API Version. */\nexport interface ApiEntity {\n /** Unique API Entity identifier */\n id: string;\n /** Enrcypted API Entity Id */\n encryptedId: string;\n /** API Integration Key. Obtain from API Card on Dashboard. */\n apiKey: string;\n /** Unique API Group Identifier */\n apiGroupId: string;\n /** Cover Image */\n imageUri: string;\n /** Entity creation date */\n creationDate: string;\n /** API Status (Deprecated) */\n mPublic: boolean;\n /** API Entity Name */\n name: string;\n /** Description of the API */\n description: string;\n /** Entity Version Number */\n version: string;\n /** Header Content */\n additionalHeaders: string[];\n /** This Structure encapsulates all details of API authentication. */\n authentication: Authentication;\n /** APIMatic’s code generation engine has various code generation configurations to customise the behaviour and outlook across the generated SDKS. This structure encapsulates all settings for CodeGeneration. */\n codeGenSettings: CodeGenSettings;\n /** This structure helps specify additional test configurations which affects how test cases are generated. */\n testGenSettings: TestGenSettings;\n /** API Errors */\n errors: string[];\n /** Server configurations can be used to create multiple environments, multiple servers that can be used with specific endpoints and server URLs with template paramters. */\n serverConfiguration: ServerConfiguration;\n /** API Endpoint Groups */\n endpointsGroup?: EndpointsGroup[];\n /** API Meta Data */\n metaData: MetaData[];\n}\n\nexport const apiEntitySchema: Schema = object({\n id: ['id', string()],\n encryptedId: ['encryptedId', string()],\n apiKey: ['apiKey', string()],\n apiGroupId: ['apiGroupId', string()],\n imageUri: ['imageUri', string()],\n creationDate: ['creationDate', string()],\n mPublic: ['public', boolean()],\n name: ['name', string()],\n description: ['description', string()],\n version: ['version', string()],\n additionalHeaders: ['additionalHeaders', array(string())],\n authentication: ['authentication', lazy(() => authenticationSchema)],\n codeGenSettings: ['codeGenSettings', lazy(() => codeGenSettingsSchema)],\n testGenSettings: ['testGenSettings', lazy(() => testGenSettingsSchema)],\n errors: ['errors', array(string())],\n serverConfiguration: [\n 'serverConfiguration',\n lazy(() => serverConfigurationSchema),\n ],\n endpointsGroup: [\n 'endpointsGroup',\n optional(array(lazy(() => endpointsGroupSchema))),\n ],\n metaData: ['metaData', array(lazy(() => metaDataSchema))],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { Schema, stringEnum } from '../schema';\n\n/**\n * Enum for ExportFormats\n */\nexport enum ExportFormats {\n APIMATIC = 'APIMATIC',\n WADL2009 = 'WADL2009',\n WSDL = 'WSDL',\n SWAGGER10 = 'Swagger10',\n SWAGGER20 = 'Swagger20',\n SWAGGERYAML = 'SwaggerYaml',\n OAS3 = 'OpenApi3Json',\n OPENAPI3YAML = 'OpenApi3Yaml',\n APIBLUEPRINT = 'APIBluePrint',\n RAML = 'RAML',\n RAML10 = 'RAML10',\n POSTMAN10 = 'Postman10',\n POSTMAN20 = 'Postman20',\n GRAPHQLSCHEMA = 'GraphQlSchema',\n}\n\n/**\n * Schema for ExportFormats\n */\nexport const exportFormatsSchema: Schema = stringEnum(ExportFormats);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { object, Schema, string } from '../schema';\n\n/** This structure contains details of importing a new API Version */\nexport interface ImportApiVersionViaUrlRequest {\n /** The version number with which the new API version will be imported. This version number will override the version specified in the API specification file.
APIMatic recommends versioning the API with the [versioning scheme](https://docs.apimatic.io/define-apis/basic-settings/#version) documented in the docs. */\n versionOverride: string;\n /** The URL for the API specification file.

**Note:** This URL should be publicly accessible. */\n url: string;\n}\n\nexport const importApiVersionViaUrlRequestSchema: Schema = object(\n { versionOverride: ['version_override', string()], url: ['url', string()] }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { object, Schema, string } from '../schema';\n\n/** Contains a url field to allow Apis to be imported via url */\nexport interface ImportApiViaUrlRequest {\n /** The URL for the API specification file.

**Note:** This URL should be publicly accessible. */\n url: string;\n}\n\nexport const importApiViaUrlRequestSchema: Schema = object(\n { url: ['url', string()] }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { object, Schema, string } from '../schema';\n\n/** Contains a url field to allow Apis to be imported via url */\nexport interface InplaceImportApiViaUrlRequest {\n /** The URL for the API specification file.

**Note:** This URL should be publicly accessible. */\n url: string;\n}\n\nexport const inplaceImportApiViaUrlRequestSchema: Schema = object(\n { url: ['url', string()] }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { ApiResponse, FileWrapper, RequestOptions } from '../core';\nimport { Accept, acceptSchema } from '../models/accept';\nimport { Accept2, accept2Schema } from '../models/accept2';\nimport { ApiEntity, apiEntitySchema } from '../models/apiEntity';\nimport { ExportFormats, exportFormatsSchema } from '../models/exportFormats';\nimport {\n ImportApiVersionViaUrlRequest,\n importApiVersionViaUrlRequestSchema,\n} from '../models/importApiVersionViaUrlRequest';\nimport {\n ImportApiViaUrlRequest,\n importApiViaUrlRequestSchema,\n} from '../models/importApiViaUrlRequest';\nimport {\n InplaceImportApiViaUrlRequest,\n inplaceImportApiViaUrlRequestSchema,\n} from '../models/inplaceImportApiViaUrlRequest';\nimport { string } from '../schema';\nimport { BaseController } from './baseController';\n\nexport class ApisManagementController extends BaseController {\n /**\n * Import an API into the APIMatic Dashboard by uploading the API specification file.\n *\n * You can also specify [API Metadata](https://docs.apimatic.io/manage-apis/apimatic-metadata) while\n * importing the API using this endpoint. When specifying Metadata, the uploaded file will be a zip\n * file containing the API specification file and the `APIMATIC-META` json file.\n *\n * @param file The API specification file.
The type of the specification file should be any\n * of the [supported formats](https://docs.apimatic.io/api-transformer/overview-\n * transformer#supported-input-formats).\n * @return Response from the API call\n */\n async importAPIViaFile(\n file: FileWrapper,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('POST', '/api-entities/import-via-file');\n req.header('ContentType', 'multipart/form-data');\n req.formData({\n file: file,\n });\n return req.callAsJson(apiEntitySchema, requestOptions);\n }\n\n /**\n * Import an API into the APIMatic Dashboard by providing the URL of the API specification file.\n *\n * You can also specify [API Metadata](https://docs.apimatic.io/manage-apis/apimatic-metadata) while\n * importing the API using this endpoint. When specifying Metadata, the URL provided will be that of a\n * zip file containing the API specification file and the `APIMATIC-META` json file.\n *\n * @param body Request Body\n * @return Response from the API call\n */\n async importAPIViaURL(\n body: ImportApiViaUrlRequest,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('POST', '/api-entities/import-via-url');\n const mapped = req.prepareArgs({\n body: [body, importApiViaUrlRequestSchema],\n });\n req.header(\n 'Content-Type',\n 'application/vnd.apimatic.apiEntityUrlImportDto.v1+json'\n );\n req.json(mapped.body);\n return req.callAsJson(apiEntitySchema, requestOptions);\n }\n\n /**\n * Import a new version for an API, against an existing API Group, by uploading the API specification\n * file.\n *\n * You can also specify [API Metadata](https://docs.apimatic.io/manage-apis/apimatic-metadata) while\n * importing the API version using this endpoint. When specifying Metadata, the uploaded file will be a\n * zip file containing the API specification file and the `APIMATIC-META` json file.\n *\n * @param apiGroupId The ID of the API Group for which to import a new API version.\n * @param accept\n * @param versionOverride The version number with which the new API version will be imported. This\n * version number will override the version specified in the API specification\n * file.
APIMatic recommends versioning the API with the [versioning\n * scheme](https://docs.apimatic.io/define-apis/basic-settings/#version)\n * documented in the docs.\n * @param file The API specification file.
The type of the specification file should\n * be any of the [supported formats](https://docs.apimatic.io/api-\n * transformer/overview-transformer#supported-input-formats).\n * @return Response from the API call\n */\n async importNewAPIVersionViaFile(\n apiGroupId: string,\n accept: Accept,\n versionOverride: string,\n file: FileWrapper,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('POST');\n const mapped = req.prepareArgs({\n apiGroupId: [apiGroupId, string()],\n accept: [accept, acceptSchema],\n versionOverride: [versionOverride, string()],\n });\n req.header('Accept', mapped.accept);\n req.header('Content-Type', 'multipart/form-data');\n req.formData({\n version_override: mapped.versionOverride,\n file: file,\n });\n req.appendTemplatePath`/api-groups/${mapped.apiGroupId}/api-entities/import-via-file`;\n return req.callAsJson(apiEntitySchema, requestOptions);\n }\n\n /**\n * Import a new version for an API, against an existing API Group, by providing the URL of the API\n * specification file.\n *\n * You can also specify [API Metadata](https://docs.apimatic.io/manage-apis/apimatic-metadata) while\n * importing the API version using this endpoint. When specifying Metadata, the URL provided will be\n * that of a zip file containing the API specification file and the `APIMATIC-META` json file.\n *\n * @param apiGroupId The ID of the API Group for which to import a new API\n * version.\n * @param accept\n * @param body Request Body\n * @return Response from the API call\n */\n async importNewAPIVersionViaURL(\n apiGroupId: string,\n accept: Accept,\n body: ImportApiVersionViaUrlRequest,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('POST');\n const mapped = req.prepareArgs({\n apiGroupId: [apiGroupId, string()],\n accept: [accept, acceptSchema],\n body: [body, importApiVersionViaUrlRequestSchema],\n });\n req.header('Accept', mapped.accept);\n req.header(\n 'Content-Type',\n 'application/vnd.apimatic.apiGroupApiEntityUrlImportDto.v1+json'\n );\n req.json(mapped.body);\n req.appendTemplatePath`/api-groups/${mapped.apiGroupId}/api-entities/import-via-url`;\n return req.callAsJson(apiEntitySchema, requestOptions);\n }\n\n /**\n * Replace an API version of an API Group, by uploading the API specification file that will replace\n * the current version.\n *\n * You can also specify [API Metadata](https://docs.apimatic.io/manage-apis/apimatic-metadata) while\n * importing the API version using this endpoint. When specifying Metadata, the uploaded file will be a\n * zip file containing the API specification file and the `APIMATIC-META` json file.\n *\n * @param apiEntityId The ID of the API Entity to replace.\n * @param accept\n * @param file The API specification file.
The type of the specification file should be\n * any of the [supported formats](https://docs.apimatic.io/api-\n * transformer/overview-transformer#supported-input-formats).\n * @return Response from the API call\n */\n async inplaceAPIImportViaFile(\n apiEntityId: string,\n accept: Accept2,\n file: FileWrapper,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('PUT');\n const mapped = req.prepareArgs({\n apiEntityId: [apiEntityId, string()],\n accept: [accept, accept2Schema],\n });\n req.header('Accept', mapped.accept);\n req.header('Content-Type', 'multipart/form-data');\n req.formData({\n file: file,\n });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/import-via-file`;\n return req.call(requestOptions);\n }\n\n /**\n * Replace an API version of an API Group, by providing the URL of the API specification file that will\n * replace the current version.\n *\n * You can also specify [API Metadata](https://docs.apimatic.io/manage-apis/apimatic-metadata) while\n * importing the API version using this endpoint. When specifying Metadata, the URL provided will be\n * that of a zip file containing the API specification file and the `APIMATIC-META` json file.\n *\n * @param apiEntityId The ID of the API Entity to replace.\n * @param body Request Body\n * @return Response from the API call\n */\n async inplaceAPIImportViaURL(\n apiEntityId: string,\n body: InplaceImportApiViaUrlRequest,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('PUT');\n const mapped = req.prepareArgs({\n apiEntityId: [apiEntityId, string()],\n body: [body, inplaceImportApiViaUrlRequestSchema],\n });\n req.header(\n 'Content-Type',\n 'application/vnd.apimatic.apiEntityUrlImportDto.v1+json'\n );\n req.json(mapped.body);\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/import-via-url`;\n return req.call(requestOptions);\n }\n\n /**\n * Fetch an API Entity.\n *\n * @param apiEntityId The ID of the API Entity to fetch.\n * @return Response from the API call\n */\n async fetchAPIEntity(\n apiEntityId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({ apiEntityId: [apiEntityId, string()] });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}`;\n return req.callAsJson(apiEntitySchema, requestOptions);\n }\n\n /**\n * Download the API Specification file for a an API Version in any of the API Specification formats\n * supported by APIMatic.\n *\n * @param apiEntityId The ID of the API Entity to download.\n * @param format The format in which to download the API.
The format can be any of the\n * [supported formats](https://docs.apimatic.io/api-transformer/overview-\n * transformer#supported-input-formats).\n * @return Response from the API call\n */\n async downloadAPISpecification(\n apiEntityId: string,\n format: ExportFormats,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({\n apiEntityId: [apiEntityId, string()],\n format: [format, exportFormatsSchema],\n });\n req.query('format', mapped.format);\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/api-description`;\n return req.callAsStream(requestOptions);\n }\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { Schema, stringEnum } from '../schema';\n\n/**\n * Enum for Platforms\n */\nexport enum Platforms {\n CSNETSTANDARDLIB = 'CS_NET_STANDARD_LIB',\n JAVAECLIPSEJRELIB = 'JAVA_ECLIPSE_JRE_LIB',\n PHPGENERICLIBV2 = 'PHP_GENERIC_LIB',\n PYTHONGENERICLIB = 'PYTHON_GENERIC_LIB',\n RUBYGENERICLIB = 'RUBY_GENERIC_LIB',\n TSGENERICLIB = 'TS_GENERIC_LIB',\n}\n\n/**\n * Schema for Platforms\n */\nexport const platformsSchema: Schema = stringEnum(Platforms);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { object, Schema, string } from '../schema';\nimport { Platforms, platformsSchema } from './platforms';\n\nexport interface GenerateSdkViaUrlRequest {\n /** The URL for the API specification file.

**Note:** This URL should be publicly accessible. */\n url: string;\n /** The structure contains platforms that APIMatic CodeGen can generate SDKs and Docs in. */\n template: Platforms;\n}\n\nexport const generateSdkViaUrlRequestSchema: Schema = object(\n { url: ['url', string()], template: ['template', platformsSchema] }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { boolean, object, Schema, string } from '../schema';\nimport { Platforms, platformsSchema } from './platforms';\n\n/** The Code Generation structure encapsulates all the the details of an SDK generation performed by a user. */\nexport interface UserCodeGeneration {\n /** Unique Code Generation Identifier */\n id: string;\n /** The structure contains platforms that APIMatic CodeGen can generate SDKs and Docs in. */\n template: Platforms;\n /** The generated SDK */\n generatedFile: string;\n /** Generation Date and Time */\n generatedOn: string;\n /** The md5 hash of the API Description */\n hashCode: string;\n /** Generation Source */\n codeGenerationSource: string;\n /** Generation Version */\n codeGenVersion: string;\n /** Generation Status */\n success: boolean;\n /** Unique User Identifier */\n userId: string;\n /** API Specification file in a supported format */\n inputFile: string;\n}\n\nexport const userCodeGenerationSchema: Schema = object({\n id: ['id', string()],\n template: ['template', platformsSchema],\n generatedFile: ['generatedFile', string()],\n generatedOn: ['generatedOn', string()],\n hashCode: ['hashCode', string()],\n codeGenerationSource: ['codeGenerationSource', string()],\n codeGenVersion: ['codeGenVersion', string()],\n success: ['success', boolean()],\n userId: ['userId', string()],\n inputFile: ['inputFile', string()],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { ApiResponse, FileWrapper, RequestOptions } from '../core';\nimport {\n GenerateSdkViaUrlRequest,\n generateSdkViaUrlRequestSchema,\n} from '../models/generateSdkViaUrlRequest';\nimport { Platforms, platformsSchema } from '../models/platforms';\nimport {\n UserCodeGeneration,\n userCodeGenerationSchema,\n} from '../models/userCodeGeneration';\nimport { array, string } from '../schema';\nimport { BaseController } from './baseController';\n\nexport class CodeGenerationExternalApisController extends BaseController {\n /**\n * Generate an SDK for an API by by uploading the API specification file.\n *\n * This endpoint generates and then uploads the generated SDK to APIMatic's cloud storage. An ID for\n * the generation performed is returned as part of the response.\n *\n * This endpoint does not import an API into APIMatic.\n *\n * @param file The API specification file.
The type of the specification file should be\n * any of the [supported formats](https://docs.apimatic.io/api-\n * transformer/overview-transformer#supported-input-formats).\n * @param template The structure contains platforms that APIMatic CodeGen can generate SDKs and\n * Docs in.\n * @return Response from the API call\n */\n async generateSDKViaFile(\n file: FileWrapper,\n template: Platforms,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest(\n 'POST',\n '/code-generations/generate-via-file'\n );\n const mapped = req.prepareArgs({ template: [template, platformsSchema] });\n req.header('Content-Type', 'multipart/form-data');\n req.formData({\n file: file,\n template: mapped.template,\n });\n return req.callAsJson(userCodeGenerationSchema, requestOptions);\n }\n\n /**\n * Generate an SDK for an API by providing the URL of the API specification file.\n *\n * This endpoint generates and then uploads the generated SDK to APIMatic's cloud storage. An ID for\n * the generation performed is returned as part of the response.\n *\n * This endpoint does not import an API into APIMatic.\n *\n * @param body Request Body\n * @return Response from the API call\n */\n async generateSDKViaURL(\n body: GenerateSdkViaUrlRequest,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest(\n 'POST',\n '/code-generations/generate-via-url'\n );\n const mapped = req.prepareArgs({\n body: [body, generateSdkViaUrlRequestSchema],\n });\n req.header('Content-Type', 'application/vnd.apimatic.userCodeGenerationDto.v1+json');\n req.json(mapped.body);\n return req.callAsJson(userCodeGenerationSchema, requestOptions);\n }\n\n /**\n * Download the SDK generated via the Generate SDK endpoints.\n *\n * @param codegenId The ID of code generation received in the response of the [Generate SDK Via\n * File](https://www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-endpoints/code-generation-\n * external-apis/generate-sdk-via-file) or [Generate SDK Via URL ](https://www.apimatic.\n * io/api-docs-preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-endpoints/code-\n * generation-external-apis/generate-sdk-via-url) calls.\n * @return Response from the API call\n */\n async downloadSDK(\n codegenId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({ codegenId: [codegenId, string()] });\n req.appendTemplatePath`/code-generations/${mapped.codegenId}/generated-sdk`;\n return req.callAsStream(requestOptions);\n }\n\n /**\n * Get a list of all SDK generations performed with external APIs via the Generate SDK endpoints.\n *\n * @return Response from the API call\n */\n async listAllCodeGenerations(\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET', '/code-generations');\n return req.callAsJson(array(userCodeGenerationSchema), requestOptions);\n }\n\n /**\n * Download the API Specification file used as input for a specific SDK generation performed via the\n * Generate SDK endpoints.\n *\n * @param codegenId The ID of the code generation to download the API specification for. The code\n * generation ID is received in the response of the [Generate SDK Via File](https://www.\n * apimatic.io/api-docs-preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-\n * endpoints/code-generation-external-apis/generate-sdk-via-file) or [Generate SDK Via\n * URL ](https://www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-endpoints/code-generation-\n * external-apis/generate-sdk-via-url) calls\n * @return Response from the API call\n */\n async downloadInputFile(\n codegenId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({ codegenId: [codegenId, string()] });\n req.appendTemplatePath`/code-generations/${mapped.codegenId}/input-file`;\n return req.callAsStream(requestOptions);\n }\n\n /**\n * Get details on an SDK generation performed for an external API via the Generate SDK endpoints.\n *\n * @param codegenId The ID of the code generation to fetch. The code generation ID is received in the\n * response of the [Generate SDK Via File](https://www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-endpoints/code-generation-\n * external-apis/generate-sdk-via-file) or [Generate SDK Via URL ](https://www.apimatic.\n * io/api-docs-preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-endpoints/code-\n * generation-external-apis/generate-sdk-via-url) calls.\n * @return Response from the API call\n */\n async getACodeGeneration(\n codegenId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({ codegenId: [codegenId, string()] });\n req.appendTemplatePath`/code-generations/${mapped.codegenId}`;\n return req.callAsJson(userCodeGenerationSchema, requestOptions);\n }\n\n /**\n * Delete an SDK generation performed for an API via the Generate SDK endpoints.\n *\n * @param codegenId The ID of the code generation to delete. The code generation ID is received in the\n * response of the [Generate SDK Via File](https://www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-endpoints/code-generation-\n * external-apis/generate-sdk-via-file) or [Generate SDK Via URL ](https://www.apimatic.\n * io/api-docs-preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-endpoints/code-\n * generation-external-apis/generate-sdk-via-url) calls.\n * @return Response from the API call\n */\n async deleteCodeGeneration1(\n codegenId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('DELETE');\n const mapped = req.prepareArgs({ codegenId: [codegenId, string()] });\n req.appendTemplatePath`/code-generations/${mapped.codegenId}`;\n return req.call(requestOptions);\n }\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { boolean, object, Schema, string } from '../schema';\nimport { Platforms, platformsSchema } from './platforms';\n\n/** The Code Generation structure encapsulates all the the details of an SDK generation performed against an API Entity */\nexport interface APIEntityCodeGeneration {\n /** Unique Code Generation Identifier */\n id: string;\n /** The structure contains platforms that APIMatic CodeGen can generate SDKs and Docs in. */\n template: Platforms;\n /** The generated SDK */\n generatedFile: string;\n /** Generation Date and Time */\n generatedOn: string;\n /** The md5 hash of the API Description */\n hashCode: string;\n /** Generation Source */\n codeGenerationSource: string;\n /** Generation Version */\n codeGenVersion: string;\n /** Generation Status */\n success: boolean;\n /** Unique API Entity Identifier */\n apiEntityId: string;\n}\n\nexport const aPIEntityCodeGenerationSchema: Schema = object(\n {\n id: ['id', string()],\n template: ['template', platformsSchema],\n generatedFile: ['generatedFile', string()],\n generatedOn: ['generatedOn', string()],\n hashCode: ['hashCode', string()],\n codeGenerationSource: ['codeGenerationSource', string()],\n codeGenVersion: ['codeGenVersion', string()],\n success: ['success', boolean()],\n apiEntityId: ['apiEntityId', string()],\n }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { ApiResponse, RequestOptions } from '../core';\nimport {\n APIEntityCodeGeneration,\n aPIEntityCodeGenerationSchema,\n} from '../models/aPIEntityCodeGeneration';\nimport { Platforms, platformsSchema } from '../models/platforms';\nimport { array, string } from '../schema';\nimport { BaseController } from './baseController';\n\nexport class CodeGenerationImportedApisController extends BaseController {\n /**\n * Generate an SDK for an API Version.\n *\n * This endpoint generates and then uploads the generated SDK to APIMatic's cloud storage. An ID for\n * the generation performed is returned as part of the response.\n *\n * @param apiEntityId The ID of the API Entity to generate the SDK for.\n * @param template The structure contains platforms that APIMatic CodeGen can generate SDKs and\n * Docs in.\n * @return Response from the API call\n */\n async generateSDK(\n apiEntityId: string,\n template: Platforms,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('POST');\n const mapped = req.prepareArgs({\n apiEntityId: [apiEntityId, string()],\n template: [template, platformsSchema],\n });\n req.header('Content-Type', 'application/x-www-form-urlencoded');\n req.form({\n template: mapped.template,\n });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/code-generations/generate`;\n return req.callAsJson(aPIEntityCodeGenerationSchema, requestOptions);\n }\n\n /**\n * Download the SDK generated via the Generate SDK endpoint.\n *\n * @param apiEntityId The ID of the API Entity for which the SDK was generated.\n * @param codegenId The ID of code generation received in the response of the [SDK generation\n * call](https://www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-endpoints/code-\n * generation-imported-apis/generate-sdk).\n * @return Response from the API call\n */\n async downloadSDK(\n apiEntityId: string,\n codegenId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({\n apiEntityId: [apiEntityId, string()],\n codegenId: [codegenId, string()],\n });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/code-generations/${mapped.codegenId}/generated-sdk`;\n return req.callAsStream(requestOptions);\n }\n\n /**\n * Get a list of all SDK generations done against an API Version via the Generate SDK endpoint.\n *\n * @param apiEntityId The ID of the API Entity for which to list code generations.\n * @return Response from the API call\n */\n async listAllCodeGenerations(\n apiEntityId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({ apiEntityId: [apiEntityId, string()] });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/code-generations`;\n return req.callAsJson(array(aPIEntityCodeGenerationSchema), requestOptions);\n }\n\n /**\n * Get details on an SDK generation performed via the Generate SDK endpoint.\n *\n * @param apiEntityId The ID of the API Entity to fetch the code generation for.\n * @param codegenId The ID of the code generation to fetch. The code generation ID is received in the\n * response of the [SDK generation call](https://www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-endpoints/code-\n * generation-imported-apis/generate-sdk).\n * @return Response from the API call\n */\n async getACodeGeneration(\n apiEntityId: string,\n codegenId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({\n apiEntityId: [apiEntityId, string()],\n codegenId: [codegenId, string()],\n });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/code-generations/${mapped.codegenId}`;\n return req.callAsJson(aPIEntityCodeGenerationSchema, requestOptions);\n }\n\n /**\n * Delete an SDK generation performed for an API Version via the Generate SDK endpoint.\n *\n * @param apiEntityId The ID of the API Entity to delete the code generation for.\n * @param codegenId The ID of the code generation to delete. The code generation ID is received in the\n * response of the [SDK generation call](https://www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-endpoints/code-\n * generation-imported-apis/generate-sdk).\n * @return Response from the API call\n */\n async deleteCodeGeneration(\n apiEntityId: string,\n codegenId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('DELETE');\n const mapped = req.prepareArgs({\n apiEntityId: [apiEntityId, string()],\n codegenId: [codegenId, string()],\n });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/code-generations/${mapped.codegenId}`;\n return req.call(requestOptions);\n }\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { Schema, stringEnum } from '../schema';\n\n/**\n * Enum for Accept3\n */\nexport enum Accept3 {\n EnumApplicationzip = 'application/zip',\n}\n\n/**\n * Schema for Accept3\n */\nexport const accept3Schema: Schema = stringEnum(Accept3);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { ApiResponse, FileWrapper, RequestOptions } from '../core';\nimport { Accept3, accept3Schema } from '../models/accept3';\nimport { string } from '../schema';\nimport { BaseController } from './baseController';\n\nexport class DocsPortalManagementController extends BaseController {\n /**\n * Publish artifacts for a Hosted Portal.\n *\n * This endpoint regenerates all the artifacts for a hosted portal and uploads them to APIMatic's cloud\n * storage, from where the Portal fetches them. These artifacts include:\n *\n * 1. SDKs\n * 2. Docs\n * 3. API Specification files\n *\n * Call this endpoint to update your Hosted Portal after you update an API Entity via any of the Import\n * API Endpoints.\n *\n * __**Note: If you have an embedded portal against the same API Entity, artifacts for that portal will\n * get updated as well.**__\n *\n * @param apiEntityId The ID of the API Entity to update the portal artifacts for.\n * @return Response from the API call\n */\n async publishHostedPortal(\n apiEntityId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('PUT');\n const mapped = req.prepareArgs({ apiEntityId: [apiEntityId, string()] });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/hosted-portal`;\n return req.call(requestOptions);\n }\n\n /**\n * Publish artifacts for an Embedded Portal and get the Portal Embed script.\n *\n * This endpoint regenerates all the artifacts for an embedded portal and uploads them to APIMatic's\n * cloud storage, from where the Portal fetches them. These artifacts include:\n *\n * 1. SDKs\n * 2. Docs\n * 3. API Specification files\n *\n * Call this endpoint to update your Embedded Portal after you update an API Entity via any of the\n * Import API Endpoints. This endpoint returns the Portal Embed script in the response.\n *\n * __**Note: If you have a hosted portal against the same API Entity, artifacts for that portal will\n * get updated as well.**__\n *\n * @param apiEntityId The ID of the API Entity to update the portal artifacts for.\n * @return Response from the API call\n */\n async publishEmbeddedPortal(\n apiEntityId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('PUT');\n const mapped = req.prepareArgs({ apiEntityId: [apiEntityId, string()] });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/embedded-portal`;\n return req.call(requestOptions);\n }\n\n /**\n * Generate an On-premise Documentation Portal for an API Entity. This endpoint generates all artifacts\n * for the Portal and packages them together into a zip file along with the required HTML, CSS and JS\n * files. The generated artifacts include:\n *\n * 1. SDKs\n * 2. Docs\n * 3. API Specification files\n *\n * The endpoint returns a zip file that contains a static Site and can be hosted on any Web Server.\n *\n * @param apiEntityId The ID of the API Entity to generate the Portal for.\n * @param accept Example: application/zip\n * @return Response from the API call\n */\n async generateOnPremPortalViaAPIEntity(\n apiEntityId: string,\n accept: Accept3,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({\n apiEntityId: [apiEntityId, string()],\n accept: [accept, accept3Schema],\n });\n req.header('Accept', mapped.accept);\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/on-prem-portal`;\n return req.call(requestOptions);\n }\n\n /**\n * Generate an On-premise Documentation Portal by uploading a Portal Build Input. This endpoint\n * generates all artifacts for the Portal and packages them together into a zip file along with the\n * required HTML, CSS and JS files. The generated artifacts include:\n *\n * 1. SDKs\n * 2. Docs\n * 3. API Specification files\n *\n * The endpoint returns a zip file that contains a static Site and can be hosted on any Web Server.\n *\n * @param file The input file to the Portal Generator. Must contain the build file.\n * @return Response from the API call\n */\n async generateOnPremPortalViaBuildInput(\n file: FileWrapper,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('POST', '/portal');\n req.header('ContentType', 'multipart/form-data');\n req.formData({\n file: file,\n });\n return req.callAsStream(requestOptions);\n }\n\n /**\n * Unpublish a Hosted or Embedded Portal published for an API Entity. Calling this endpoint deletes all\n * the published artifacts for a Portal from APIMatic's cloud storage.\n *\n * In case of a Hosted Portal, to completely remove the Portal, this endpoint needs to be called\n * against all API versions that the Portal hosts.\n *\n * In case of an Embedded Portal, to completely remove the Portal, the user needs to manually remove\n * the Portal Embed script from the embedding site.\n *\n * @param apiEntityId The ID of the API Entity to unpublish the Portal artifacts for.\n * @return Response from the API call\n */\n async unpublishPortal(\n apiEntityId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('DELETE');\n const mapped = req.prepareArgs({ apiEntityId: [apiEntityId, string()] });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/portal`;\n return req.call(requestOptions);\n }\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { Schema, stringEnum } from '../schema';\n\n/**\n * Enum for Id\n */\nexport enum Id {\n Enum5dcd2b5893c3e31a206f30c4 = '5dcd2b5893c3e31a206f30c4',\n}\n\n/**\n * Schema for Id\n */\nexport const idSchema: Schema = stringEnum(Id);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { Schema, stringEnum } from '../schema';\n\n/**\n * Enum for Link\n */\nexport enum Link {\n EnumHttpswwwnugetorgpackagesmyPackage111 = 'https://www.nuget.org/packages/myPackage/1.1.1',\n}\n\n/**\n * Schema for Link\n */\nexport const linkSchema: Schema = stringEnum(Link);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { object, optional, Schema, string, unknown } from '../schema';\nimport { Id, idSchema } from './id';\nimport { Link, linkSchema } from './link';\n\n/** This structure contains all details that goes into package deployment. */\nexport interface CSNETSTANDARDLIB {\n /** Unique package identifier */\n id?: Id;\n /** Package Repository as per platform */\n packageRepository: string;\n /** Package Name */\n packageName: string;\n version: string;\n /** Any additional platform specific deployment detail */\n additionalDeploymentInformation?: unknown;\n /** Link of deployed package */\n link?: Link;\n}\n\nexport const cSNETSTANDARDLIBSchema: Schema = object({\n id: ['id', optional(idSchema)],\n packageRepository: ['packageRepository', string()],\n packageName: ['packageName', string()],\n version: ['version', string()],\n additionalDeploymentInformation: [\n 'additionalDeploymentInformation',\n unknown(),\n ],\n link: ['link', optional(linkSchema)],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { lazy, object, Schema } from '../schema';\nimport { CSNETSTANDARDLIB, cSNETSTANDARDLIBSchema } from './cSNETSTANDARDLIB';\n\n/** This structure encapsulates all package deployment details. */\nexport interface TemplatesPackageDeploymentInformation {\n /** This structure contains all details that goes into package deployment. */\n cSNETSTANDARDLIB: CSNETSTANDARDLIB;\n}\n\nexport const templatesPackageDeploymentInformationSchema: Schema = object(\n {\n cSNETSTANDARDLIB: [\n 'CS_NET_STANDARD_LIB',\n lazy(() => cSNETSTANDARDLIBSchema),\n ],\n }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { lazy, object, Schema, string } from '../schema';\nimport {\n TemplatesPackageDeploymentInformation,\n templatesPackageDeploymentInformationSchema,\n} from './templatesPackageDeploymentInformation';\n\n/** The structure contains Package Deployment Information along with Id. */\nexport interface PackageDeploymentInformation {\n /** Package Deployment Identifier */\n id: string;\n /** This structure encapsulates all package deployment details. */\n templatesPackageDeploymentInformation: TemplatesPackageDeploymentInformation;\n}\n\nexport const packageDeploymentInformationSchema: Schema = object(\n {\n id: ['id', string()],\n templatesPackageDeploymentInformation: [\n 'templatesPackageDeploymentInformation',\n lazy(() => templatesPackageDeploymentInformationSchema),\n ],\n }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { object, Schema, string } from '../schema';\n\nexport interface AuthorIdentifiers {\n email: string;\n userName: string;\n}\n\nexport const authorIdentifiersSchema: Schema = object({\n email: ['Email', string()],\n userName: ['UserName', string()],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { lazy, object, Schema, string, unknown } from '../schema';\nimport {\n AuthorIdentifiers,\n authorIdentifiersSchema,\n} from './authorIdentifiers';\n\nexport interface PublishedPackage {\n id: string;\n createdOn: string;\n apiEntityId: string;\n packageRepository: string;\n template: string;\n packageName: string;\n version: string;\n additionalDeploymentInformation?: unknown;\n authorIdentifiers: AuthorIdentifiers;\n link: string;\n}\n\nexport const publishedPackageSchema: Schema = object({\n id: ['id', string()],\n createdOn: ['createdOn', string()],\n apiEntityId: ['apiEntityId', string()],\n packageRepository: ['packageRepository', string()],\n template: ['template', string()],\n packageName: ['packageName', string()],\n version: ['version', string()],\n additionalDeploymentInformation: [\n 'additionalDeploymentInformation',\n unknown(),\n ],\n authorIdentifiers: ['authorIdentifiers', lazy(() => authorIdentifiersSchema)],\n link: ['link', string()],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { Schema, stringEnum } from '../schema';\n\n/**\n * Enum for PackageRepositories\n */\nexport enum PackageRepositories {\n Npm = 'Npm',\n PyPI = 'PyPI',\n RubyGems = 'RubyGems',\n}\n\n/**\n * Schema for PackageRepositories\n */\nexport const packageRepositoriesSchema: Schema = stringEnum(PackageRepositories);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { object, Schema, string, unknown } from '../schema';\nimport {\n PackageRepositories,\n packageRepositoriesSchema,\n} from './packageRepositories';\nimport { Platforms, platformsSchema } from './platforms';\n\nexport interface PublishPackageInput {\n packageRepository: PackageRepositories;\n /** The structure contains platforms that APIMatic CodeGen can generate SDKs and Docs in. */\n template: Platforms;\n packageName: string;\n version: string;\n additionalDeploymentInformation?: unknown;\n}\n\nexport const publishPackageInputSchema: Schema = object({\n packageRepository: ['packageRepository', packageRepositoriesSchema],\n template: ['template', platformsSchema],\n packageName: ['packageName', string()],\n version: ['version', string()],\n additionalDeploymentInformation: [\n 'additionalDeploymentInformation',\n unknown(),\n ],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { lazy, object, Schema } from '../schema';\nimport { CSNETSTANDARDLIB, cSNETSTANDARDLIBSchema } from './cSNETSTANDARDLIB';\n\n/** This structure helps update package deployment details. */\nexport interface UpdateTemplatesPackageDeploymentInformation {\n /** This structure contains all details that goes into package deployment. */\n cSNETSTANDARDLIB: CSNETSTANDARDLIB;\n}\n\nexport const updateTemplatesPackageDeploymentInformationSchema: Schema = object(\n {\n cSNETSTANDARDLIB: [\n 'CS_NET_STANDARD_LIB',\n lazy(() => cSNETSTANDARDLIBSchema),\n ],\n }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { lazy, object, Schema } from '../schema';\nimport {\n UpdateTemplatesPackageDeploymentInformation,\n updateTemplatesPackageDeploymentInformationSchema,\n} from './updateTemplatesPackageDeploymentInformation';\n\n/** This structure is used to update package deployment details. */\nexport interface UpdatePackageDeploymentInformation {\n /** This structure helps update package deployment details. */\n templatesPackageDeploymentInformation: UpdateTemplatesPackageDeploymentInformation;\n}\n\nexport const updatePackageDeploymentInformationSchema: Schema = object(\n {\n templatesPackageDeploymentInformation: [\n 'templatesPackageDeploymentInformation',\n lazy(() => updateTemplatesPackageDeploymentInformationSchema),\n ],\n }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { ApiResponse, RequestOptions } from '../core';\nimport {\n PackageDeploymentInformation,\n packageDeploymentInformationSchema,\n} from '../models/packageDeploymentInformation';\nimport {\n PublishedPackage,\n publishedPackageSchema,\n} from '../models/publishedPackage';\nimport {\n PublishPackageInput,\n publishPackageInputSchema,\n} from '../models/publishPackageInput';\nimport {\n UpdatePackageDeploymentInformation,\n updatePackageDeploymentInformationSchema,\n} from '../models/updatePackageDeploymentInformation';\nimport { array, string } from '../schema';\nimport { BaseController } from './baseController';\n\nexport class PackageDeploymentController extends BaseController {\n /**\n * Update Package Deployment Information for an API Entity. To find out more on how to publish a\n * package visit: [Adding Packages to Portal](https://docs.apimatic.io/developer-experience-\n * portal/adding%20packages%20to%20portal/)\n *\n * To find out more about publishing packages visit: [Publish Packages](https://docs.apimatic.\n * io/developer-experience-portal/adding%20packages%20to%20portal/)\n *\n * @param apiEntityId Unique API Entity Identifier\n * @param body Package Deployment Information to be updated.\n * This comprises of the Platform Template, the\n * Repository Name and Version.\n * @return Response from the API call\n */\n async updatePackageDeploymentInformation(\n apiEntityId: string,\n body: UpdatePackageDeploymentInformation,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('PUT');\n const mapped = req.prepareArgs({\n apiEntityId: [apiEntityId, string()],\n body: [body, updatePackageDeploymentInformationSchema],\n });\n req.header('Content-Type', 'application/json');\n req.json(mapped.body);\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/docs/package-deployment-information`;\n return req.call(requestOptions);\n }\n\n /**\n * Query Package deployment details added for an API Entity.\n * To find out more about adding packages to portal: [Adding Packages to Portal](https://docs.apimatic.\n * io/developer-experience-portal/adding%20packages%20to%20portal/)\n *\n * @param apiEntityId Unique API Entity identifier\n * @return Response from the API call\n */\n async packageDeploymentInformation(\n apiEntityId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n req.baseUrl('default');\n const mapped = req.prepareArgs({ apiEntityId: [apiEntityId, string()] });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/docs/package-deployment-information`;\n return req.callAsJson(packageDeploymentInformationSchema, requestOptions);\n }\n\n /**\n * Returns logs for all packages published for the API.\n *\n * @param apiEntityId Unique API Identifier\n * @return Response from the API call\n */\n async getPublishedPackagesForAPI(\n apiEntityId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({ apiEntityId: [apiEntityId, string()] });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/published-packages`;\n return req.callAsJson(array(publishedPackageSchema), requestOptions);\n }\n\n /**\n * Publish a new package for API by specifying package name and version number.\n *\n * To publish packages using this API, you will first need to add package repository credentials to\n * your APIMatic account.\n * Check out the [docs](https://docs.apimatic.io/advanced/publishing-a-package/) for a guide on adding\n * package repository credentials\n *\n * @param apiEntityId Unique API Identifier\n * @param body\n * @return Response from the API call\n */\n async publishAPackageForAPI(\n apiEntityId: string,\n body: PublishPackageInput,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('POST');\n const mapped = req.prepareArgs({\n apiEntityId: [apiEntityId, string()],\n body: [body, publishPackageInputSchema],\n });\n req.header('Content-Type', 'application/json');\n req.json(mapped.body);\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/published-packages/`;\n return req.callAsJson(publishedPackageSchema, requestOptions);\n }\n\n /**\n * Pull details for a certain published package by specifying Published Package Id.\n *\n * @param apiEntityId Unique API Identifier\n * @param publishedPackageId Unique Published Package Identifier\n * @return Response from the API call\n */\n async getAPublishedPackage(\n apiEntityId: string,\n publishedPackageId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n req.baseUrl('default');\n const mapped = req.prepareArgs({\n apiEntityId: [apiEntityId, string()],\n publishedPackageId: [publishedPackageId, string()],\n });\n req.appendTemplatePath`/api/api-entities/${mapped.apiEntityId}/published-packages/${mapped.publishedPackageId}`;\n return req.callAsJson(publishedPackageSchema, requestOptions);\n }\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { boolean, lazy, object, optional, Schema, string } from '../schema';\nimport {\n ApiValidationSummary,\n apiValidationSummarySchema,\n} from './apiValidationSummary';\n\n/** Transformation structure encapsulates all the details of a Transformation. */\nexport interface Transformation {\n /** Unique Transformation Identifier */\n id: string;\n /** Transformation Date and Time */\n transformedOn: string;\n /** Unique User Identifier */\n userId: string;\n /** API Specification file to be transformed */\n inputtedFile: string;\n /** API Specification file transformed to desired format */\n generatedFile: string;\n /** Desired Specification format */\n exportFormat: string;\n /** Source of Transformation */\n transformationSource: string;\n /** Via File or URL */\n transformationInput: string;\n /** CodeGen Engine Version */\n codeGenVersion: string;\n /** Successful Transformation Flag */\n success: boolean;\n importSummary?: ApiValidationSummary;\n apiValidationSummary?: ApiValidationSummary;\n}\n\nexport const transformationSchema: Schema = object({\n id: ['id', string()],\n transformedOn: ['transformedOn', string()],\n userId: ['userId', string()],\n inputtedFile: ['inputtedFile', string()],\n generatedFile: ['generatedFile', string()],\n exportFormat: ['exportFormat', string()],\n transformationSource: ['transformationSource', string()],\n transformationInput: ['transformationInput', string()],\n codeGenVersion: ['codeGenVersion', string()],\n success: ['success', boolean()],\n importSummary: [\n 'importSummary',\n optional(lazy(() => apiValidationSummarySchema)),\n ],\n apiValidationSummary: [\n 'apiValidationSummary',\n optional(lazy(() => apiValidationSummarySchema)),\n ],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { object, Schema, string } from '../schema';\nimport { ExportFormats, exportFormatsSchema } from './exportFormats';\n\n/** This structure puts together the URL of the file to be transformed, along with the desired export format. */\nexport interface TransformViaUrlRequest {\n /** The URL for the API specification file.

**Note:** This URL should be publicly accessible. */\n url: string;\n /** The structure contains API specification formats that Transformer can convert to. */\n exportFormat: ExportFormats;\n}\n\nexport const transformViaUrlRequestSchema: Schema = object(\n {\n url: ['url', string()],\n exportFormat: ['export_format', exportFormatsSchema],\n }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { ApiResponse, FileWrapper, RequestOptions } from '../core';\nimport { ExportFormats, exportFormatsSchema } from '../models/exportFormats';\nimport { Transformation, transformationSchema } from '../models/transformation';\nimport {\n TransformViaUrlRequest,\n transformViaUrlRequestSchema,\n} from '../models/transformViaUrlRequest';\nimport { array, string } from '../schema';\nimport { BaseController } from './baseController';\n\nexport class TransformationController extends BaseController {\n /**\n * Transform an API into any of the supported API specification formats by uploading the API\n * specification file.\n *\n * This endpoint transforms and then uploads the transformed API specification to APIMatic's cloud\n * storage. An ID for the transformation performed is returned as part of the response.\n *\n * @param file The API specification file.
The type of the specification file should be\n * any of the [supported formats](https://docs.apimatic.io/api-\n * transformer/overview-transformer#supported-input-formats).\n * @param exportFormat The structure contains API specification formats that Transformer can\n * convert to.\n * @return Response from the API call\n */\n async transformViaFile(\n file: FileWrapper,\n exportFormat: ExportFormats,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest(\n 'POST',\n '/transformations/transform-via-file'\n );\n const mapped = req.prepareArgs({\n exportFormat: [exportFormat, exportFormatsSchema],\n });\n req.header('ContentType', 'multipart/form-data');\n req.formData({\n file: file,\n export_format: mapped.exportFormat,\n });\n return req.callAsJson(transformationSchema, requestOptions);\n }\n\n /**\n * Transform an API into any of the supported API specification formats by providing the URL of the API\n * specification file.\n *\n * This endpoint transforms and then uploads the transformed API specification to APIMatic's cloud\n * storage. An ID for the transformation performed is returned as part of the response.\n *\n * @param body Request Body\n * @return Response from the API call\n */\n async transformViaURL(\n body: TransformViaUrlRequest,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest(\n 'POST',\n '/transformations/transform-via-url'\n );\n const mapped = req.prepareArgs({\n body: [body, transformViaUrlRequestSchema],\n });\n req.header(\n 'Content-Type',\n 'application/vnd.apimatic.urlTransformDto.v1+json'\n );\n req.json(mapped.body);\n return req.callAsJson(transformationSchema, requestOptions);\n }\n\n /**\n * Download the transformed API specification file transformed via the Transformation endpoints.\n *\n * @param transformationId The ID of transformation received in the response of the [Transform Via File\n * ](https://www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-\n * endpoints/transformation/transform-via-file) or [Transform Via URL ](https:\n * //www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-\n * endpoints/transformation/transform-via-url) calls.\n * @return Response from the API call\n */\n async downloadTransformedFile(\n transformationId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({\n transformationId: [transformationId, string()],\n });\n req.appendTemplatePath`/transformations/${mapped.transformationId}/converted-file`;\n return req.callAsStream(requestOptions);\n }\n\n /**\n * Download the API Specification file used as input for a particular Transformation performed via the\n * Transformation endpoints.\n *\n * @param transformationId The ID of the transformation to download the API specification for. The\n * transformation ID is received in the response of the [Transform Via File\n * ](https://www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-\n * endpoints/transformation/transform-via-file) or [Transform Via URL](https://www.\n * apimatic.io/api-docs-preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-\n * endpoints/transformation/transform-via-url) calls.\n * @return Response from the API call\n */\n async downloadInputFile(\n transformationId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({\n transformationId: [transformationId, string()],\n });\n req.appendTemplatePath`/transformations/${mapped.transformationId}/input-file`;\n return req.callAsStream(requestOptions);\n }\n\n /**\n * Get a list of all API transformations performed.\n *\n * @return Response from the API call\n */\n async listAllTransformations(\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET', '/transformations');\n return req.callAsJson(array(transformationSchema), requestOptions);\n }\n\n /**\n * Get details on a particular Transformation performed via the Transformation endpoints.\n *\n * @param transformationId The ID of the transformation to fetch. The transformation ID is received in\n * the response of the [Transform Via File ](https://www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-\n * endpoints/transformation/transform-via-file) or [Transform Via URL ](https:\n * //www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-\n * endpoints/transformation/transform-via-url) calls.\n * @return Response from the API call\n */\n async getATransformation(\n transformationId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({\n transformationId: [transformationId, string()],\n });\n req.appendTemplatePath`/transformations/${mapped.transformationId}`;\n return req.callAsJson(transformationSchema, requestOptions);\n }\n\n /**\n * Delete a particular Transformation performed for an API via the Transformation endpoints.\n *\n * @param transformationId The ID of the transformation to delete. The transformation ID is received in\n * the response of the [Transform Via File ](https://www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-\n * endpoints/transformation/transform-via-file) or [Transform Via URL](https://www.\n * apimatic.io/api-docs-preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-\n * endpoints/transformation/transform-via-url) calls.\n * @return Response from the API call\n */\n async deleteTransformation(\n transformationId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('DELETE');\n const mapped = req.prepareArgs({\n transformationId: [transformationId, string()],\n });\n req.appendTemplatePath`/transformations/${mapped.transformationId}`;\n return req.call(requestOptions);\n }\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { Schema, stringEnum } from '../schema';\n\n/**\n * Enum for ContentType\n */\nexport enum ContentType {\n EnumMultipartformdata = 'multipart/form-data',\n}\n\n/**\n * Schema for ContentType\n */\nexport const contentTypeSchema: Schema = stringEnum(ContentType);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { Schema, stringEnum } from '../schema';\n\n/**\n * Enum for ImplementationType\n */\nexport enum ImplementationType {\n Structure = 'Structure',\n Enumeration = 'Enumeration',\n Exception = 'Exception',\n}\n\n/**\n * Schema for ImplementationType\n */\nexport const implementationTypeSchema: Schema = stringEnum(ImplementationType);\n"],"names":["undefined","customHeaderAuthenticationProvider","authorization","requiresAuth","passThroughInterceptor","request","options","next","customHeaderParams","mergeHeaders","headers","Environment","DEFAULT_CONFIGURATION","timeout","environment","Production","XmlSerialization","xmlSerialize","_rootName","_value","Error","xmlDeserialize","_xmlString","USER_AGENT","Client","config","_config","_requestBuilderFactory","createRequestHandlerFactory","server","getBaseUri","HttpClient","clientConfigOverrides","unstable_httpClientOptions","withErrorHandlers","withUserAgent","withAuthenticationByDefault","getRequestBuilderFactory","withConfiguration","createHttpClientAdapter","client","requestOptions","executeRequest","baseUrlProvider","authProvider","httpClient","addons","xmlSerializer","requestBuilderFactory","createRequestBuilderFactory","ApiError","tap","callback","requestBuilder","forEach","c","rb","defaultToError","header","authenticate","apiValidationSummarySchema","object","success","boolean","errors","array","string","warnings","messages","BaseController","createRequest","APIValidationExternalApisController","validateAPIViaFile","file","req","baseUrl","formData","callAsJson","validateAPIViaURL","descriptionUrl","mapped","prepareArgs","query","docsValidationSummarySchema","APIValidationImportedApisController","validateAPI","apiEntityId","appendTemplatePath","validateAPIForDocs","Accept","acceptSchema","stringEnum","Accept2","accept2Schema","authenticationSchema","id","authType","scopes","parameters","authScopes","authGrantTypes","paramFormats","unknown","codeGenSettingsSchema","isAsync","useHttpMethodPrefix","useModelPrefix","useEnumPrefix","useConstructorsForConfig","useCommonSdkLibrary","generateInterfaces","generateAppveyorConfig","generateCircleConfig","generateJenkinsConfig","generateTravisConfig","androidUseAppManifest","iosUseAppInfoPlist","iosGenerateCoreData","runscopeEnabled","collapseParamsToArray","preserveParameterOrder","appendContentHeaders","modelSerializationIsJSON","nullify404","validateRequiredParameters","enableAdditionalModelProperties","javaUsePropertiesConfig","useControllerPrefix","useExceptionPrefix","parameterArrayFormat","objCHttpClient","cSharpHttpClient","androidHttpClient","nodeHttpClient","phpHttpClient","bodySerialization","number","arraySerialization","enableLogging","enableHttpCache","retries","retryInterval","generateAdvancedDocs","storeTimezoneInformation","enablePhpComposerVersionString","securityProtocols","underscoreNumbers","useSingletonPattern","disableLinting","allowSkippingSSLCertVerification","applyCustomizations","doNotSplitWords","sortResources","enableGlobalUserAgent","endpointsGroupSchema","name","description","importValidationSummarySchema","metaDataSchema","importValidationSummary","lazy","apiValidationSummary","docsValidationSummary","serverSchema","url","environmentSchema","servers","attributesSchema","parameterSchema","optional","type","constant","isArray","isStream","isAttribute","isMap","attributes","nullable","defaultValue","paramFormat","serverConfigurationSchema","defaultEnvironment","defaultServer","environments","testGenSettingsSchema","precisionDelta","testTimeout","configuration","apiEntitySchema","encryptedId","apiKey","apiGroupId","imageUri","creationDate","mPublic","version","additionalHeaders","authentication","codeGenSettings","testGenSettings","serverConfiguration","endpointsGroup","metaData","ExportFormats","exportFormatsSchema","importApiVersionViaUrlRequestSchema","versionOverride","importApiViaUrlRequestSchema","inplaceImportApiViaUrlRequestSchema","ApisManagementController","importAPIViaFile","importAPIViaURL","body","json","importNewAPIVersionViaFile","accept","version_override","importNewAPIVersionViaURL","inplaceAPIImportViaFile","call","inplaceAPIImportViaURL","fetchAPIEntity","downloadAPISpecification","format","callAsStream","Platforms","platformsSchema","generateSdkViaUrlRequestSchema","template","userCodeGenerationSchema","generatedFile","generatedOn","hashCode","codeGenerationSource","codeGenVersion","userId","inputFile","CodeGenerationExternalApisController","generateSDKViaFile","generateSDKViaURL","downloadSDK","codegenId","listAllCodeGenerations","downloadInputFile","getACodeGeneration","deleteCodeGeneration1","aPIEntityCodeGenerationSchema","CodeGenerationImportedApisController","generateSDK","form","deleteCodeGeneration","Accept3","accept3Schema","DocsPortalManagementController","publishHostedPortal","publishEmbeddedPortal","generateOnPremPortalViaAPIEntity","generateOnPremPortalViaBuildInput","unpublishPortal","Id","idSchema","Link","linkSchema","cSNETSTANDARDLIBSchema","packageRepository","packageName","additionalDeploymentInformation","link","templatesPackageDeploymentInformationSchema","cSNETSTANDARDLIB","packageDeploymentInformationSchema","templatesPackageDeploymentInformation","authorIdentifiersSchema","email","userName","publishedPackageSchema","createdOn","authorIdentifiers","PackageRepositories","packageRepositoriesSchema","publishPackageInputSchema","updateTemplatesPackageDeploymentInformationSchema","updatePackageDeploymentInformationSchema","PackageDeploymentController","updatePackageDeploymentInformation","packageDeploymentInformation","getPublishedPackagesForAPI","publishAPackageForAPI","getAPublishedPackage","publishedPackageId","transformationSchema","transformedOn","inputtedFile","exportFormat","transformationSource","transformationInput","importSummary","transformViaUrlRequestSchema","TransformationController","transformViaFile","export_format","transformViaURL","downloadTransformedFile","transformationId","listAllTransformations","getATransformation","deleteTransformation","ContentType","ImplementationType"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,OAAO,IAAI,UAAU,OAAO,EAAE;AAElC;AACA,EAAE,IAAI,EAAE,GAAG,MAAM,CAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"} \ No newline at end of file +{"version":3,"file":"sdk.cjs.development.js","sources":["../node_modules/regenerator-runtime/runtime.js","../src/authentication.ts","../src/configuration.ts","../src/defaultConfiguration.ts","../src/http/xmlSerialization.ts","../src/client.ts","../src/models/apiValidationSummary.ts","../src/controllers/baseController.ts","../src/controllers/aPIValidationExternalApisController.ts","../src/models/docsValidationSummary.ts","../src/controllers/aPIValidationImportedApisController.ts","../src/models/accept.ts","../src/models/accept2.ts","../src/models/authentication.ts","../src/models/codeGenSettings.ts","../src/models/endpointsGroup.ts","../src/models/importValidationSummary.ts","../src/models/metaData.ts","../src/models/server.ts","../src/models/environment.ts","../src/models/attributes.ts","../src/models/parameter.ts","../src/models/serverConfiguration.ts","../src/models/testGenSettings.ts","../src/models/apiEntity.ts","../src/models/exportFormats.ts","../src/models/importApiVersionViaUrlRequest.ts","../src/models/importApiViaUrlRequest.ts","../src/models/inplaceImportApiViaUrlRequest.ts","../src/controllers/apisManagementController.ts","../src/models/platforms.ts","../src/models/generateSdkViaUrlRequest.ts","../src/models/userCodeGeneration.ts","../src/controllers/codeGenerationExternalApisController.ts","../src/models/aPIEntityCodeGeneration.ts","../src/controllers/codeGenerationImportedApisController.ts","../src/models/accept3.ts","../src/controllers/docsPortalManagementController.ts","../src/models/id.ts","../src/models/link.ts","../src/models/cSNETSTANDARDLIB.ts","../src/models/templatesPackageDeploymentInformation.ts","../src/models/packageDeploymentInformation.ts","../src/models/authorIdentifiers.ts","../src/models/publishedPackage.ts","../src/models/packageRepositories.ts","../src/models/publishPackageInput.ts","../src/models/updateTemplatesPackageDeploymentInformation.ts","../src/models/updatePackageDeploymentInformation.ts","../src/controllers/packageDeploymentController.ts","../src/models/transformation.ts","../src/models/transformViaUrlRequest.ts","../src/controllers/transformationController.ts","../src/models/contentType.ts","../src/models/implementationType.ts"],"sourcesContent":["/**\n * Copyright (c) 2014-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nvar runtime = (function (exports) {\n \"use strict\";\n\n var Op = Object.prototype;\n var hasOwn = Op.hasOwnProperty;\n var undefined; // More compressible than void 0.\n var $Symbol = typeof Symbol === \"function\" ? Symbol : {};\n var iteratorSymbol = $Symbol.iterator || \"@@iterator\";\n var asyncIteratorSymbol = $Symbol.asyncIterator || \"@@asyncIterator\";\n var toStringTagSymbol = $Symbol.toStringTag || \"@@toStringTag\";\n\n function define(obj, key, value) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n return obj[key];\n }\n try {\n // IE 8 has a broken Object.defineProperty that only works on DOM objects.\n define({}, \"\");\n } catch (err) {\n define = function(obj, key, value) {\n return obj[key] = value;\n };\n }\n\n function wrap(innerFn, outerFn, self, tryLocsList) {\n // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.\n var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;\n var generator = Object.create(protoGenerator.prototype);\n var context = new Context(tryLocsList || []);\n\n // The ._invoke method unifies the implementations of the .next,\n // .throw, and .return methods.\n generator._invoke = makeInvokeMethod(innerFn, self, context);\n\n return generator;\n }\n exports.wrap = wrap;\n\n // Try/catch helper to minimize deoptimizations. Returns a completion\n // record like context.tryEntries[i].completion. This interface could\n // have been (and was previously) designed to take a closure to be\n // invoked without arguments, but in all the cases we care about we\n // already have an existing method we want to call, so there's no need\n // to create a new function object. We can even get away with assuming\n // the method takes exactly one argument, since that happens to be true\n // in every case, so we don't have to touch the arguments object. The\n // only additional allocation required is the completion record, which\n // has a stable shape and so hopefully should be cheap to allocate.\n function tryCatch(fn, obj, arg) {\n try {\n return { type: \"normal\", arg: fn.call(obj, arg) };\n } catch (err) {\n return { type: \"throw\", arg: err };\n }\n }\n\n var GenStateSuspendedStart = \"suspendedStart\";\n var GenStateSuspendedYield = \"suspendedYield\";\n var GenStateExecuting = \"executing\";\n var GenStateCompleted = \"completed\";\n\n // Returning this object from the innerFn has the same effect as\n // breaking out of the dispatch switch statement.\n var ContinueSentinel = {};\n\n // Dummy constructor functions that we use as the .constructor and\n // .constructor.prototype properties for functions that return Generator\n // objects. For full spec compliance, you may wish to configure your\n // minifier not to mangle the names of these two functions.\n function Generator() {}\n function GeneratorFunction() {}\n function GeneratorFunctionPrototype() {}\n\n // This is a polyfill for %IteratorPrototype% for environments that\n // don't natively support it.\n var IteratorPrototype = {};\n define(IteratorPrototype, iteratorSymbol, function () {\n return this;\n });\n\n var getProto = Object.getPrototypeOf;\n var NativeIteratorPrototype = getProto && getProto(getProto(values([])));\n if (NativeIteratorPrototype &&\n NativeIteratorPrototype !== Op &&\n hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {\n // This environment has a native %IteratorPrototype%; use it instead\n // of the polyfill.\n IteratorPrototype = NativeIteratorPrototype;\n }\n\n var Gp = GeneratorFunctionPrototype.prototype =\n Generator.prototype = Object.create(IteratorPrototype);\n GeneratorFunction.prototype = GeneratorFunctionPrototype;\n define(Gp, \"constructor\", GeneratorFunctionPrototype);\n define(GeneratorFunctionPrototype, \"constructor\", GeneratorFunction);\n GeneratorFunction.displayName = define(\n GeneratorFunctionPrototype,\n toStringTagSymbol,\n \"GeneratorFunction\"\n );\n\n // Helper for defining the .next, .throw, and .return methods of the\n // Iterator interface in terms of a single ._invoke method.\n function defineIteratorMethods(prototype) {\n [\"next\", \"throw\", \"return\"].forEach(function(method) {\n define(prototype, method, function(arg) {\n return this._invoke(method, arg);\n });\n });\n }\n\n exports.isGeneratorFunction = function(genFun) {\n var ctor = typeof genFun === \"function\" && genFun.constructor;\n return ctor\n ? ctor === GeneratorFunction ||\n // For the native GeneratorFunction constructor, the best we can\n // do is to check its .name property.\n (ctor.displayName || ctor.name) === \"GeneratorFunction\"\n : false;\n };\n\n exports.mark = function(genFun) {\n if (Object.setPrototypeOf) {\n Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);\n } else {\n genFun.__proto__ = GeneratorFunctionPrototype;\n define(genFun, toStringTagSymbol, \"GeneratorFunction\");\n }\n genFun.prototype = Object.create(Gp);\n return genFun;\n };\n\n // Within the body of any async function, `await x` is transformed to\n // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test\n // `hasOwn.call(value, \"__await\")` to determine if the yielded value is\n // meant to be awaited.\n exports.awrap = function(arg) {\n return { __await: arg };\n };\n\n function AsyncIterator(generator, PromiseImpl) {\n function invoke(method, arg, resolve, reject) {\n var record = tryCatch(generator[method], generator, arg);\n if (record.type === \"throw\") {\n reject(record.arg);\n } else {\n var result = record.arg;\n var value = result.value;\n if (value &&\n typeof value === \"object\" &&\n hasOwn.call(value, \"__await\")) {\n return PromiseImpl.resolve(value.__await).then(function(value) {\n invoke(\"next\", value, resolve, reject);\n }, function(err) {\n invoke(\"throw\", err, resolve, reject);\n });\n }\n\n return PromiseImpl.resolve(value).then(function(unwrapped) {\n // When a yielded Promise is resolved, its final value becomes\n // the .value of the Promise<{value,done}> result for the\n // current iteration.\n result.value = unwrapped;\n resolve(result);\n }, function(error) {\n // If a rejected Promise was yielded, throw the rejection back\n // into the async generator function so it can be handled there.\n return invoke(\"throw\", error, resolve, reject);\n });\n }\n }\n\n var previousPromise;\n\n function enqueue(method, arg) {\n function callInvokeWithMethodAndArg() {\n return new PromiseImpl(function(resolve, reject) {\n invoke(method, arg, resolve, reject);\n });\n }\n\n return previousPromise =\n // If enqueue has been called before, then we want to wait until\n // all previous Promises have been resolved before calling invoke,\n // so that results are always delivered in the correct order. If\n // enqueue has not been called before, then it is important to\n // call invoke immediately, without waiting on a callback to fire,\n // so that the async generator function has the opportunity to do\n // any necessary setup in a predictable way. This predictability\n // is why the Promise constructor synchronously invokes its\n // executor callback, and why async functions synchronously\n // execute code before the first await. Since we implement simple\n // async functions in terms of async generators, it is especially\n // important to get this right, even though it requires care.\n previousPromise ? previousPromise.then(\n callInvokeWithMethodAndArg,\n // Avoid propagating failures to Promises returned by later\n // invocations of the iterator.\n callInvokeWithMethodAndArg\n ) : callInvokeWithMethodAndArg();\n }\n\n // Define the unified helper method that is used to implement .next,\n // .throw, and .return (see defineIteratorMethods).\n this._invoke = enqueue;\n }\n\n defineIteratorMethods(AsyncIterator.prototype);\n define(AsyncIterator.prototype, asyncIteratorSymbol, function () {\n return this;\n });\n exports.AsyncIterator = AsyncIterator;\n\n // Note that simple async functions are implemented on top of\n // AsyncIterator objects; they just return a Promise for the value of\n // the final result produced by the iterator.\n exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) {\n if (PromiseImpl === void 0) PromiseImpl = Promise;\n\n var iter = new AsyncIterator(\n wrap(innerFn, outerFn, self, tryLocsList),\n PromiseImpl\n );\n\n return exports.isGeneratorFunction(outerFn)\n ? iter // If outerFn is a generator, return the full iterator.\n : iter.next().then(function(result) {\n return result.done ? result.value : iter.next();\n });\n };\n\n function makeInvokeMethod(innerFn, self, context) {\n var state = GenStateSuspendedStart;\n\n return function invoke(method, arg) {\n if (state === GenStateExecuting) {\n throw new Error(\"Generator is already running\");\n }\n\n if (state === GenStateCompleted) {\n if (method === \"throw\") {\n throw arg;\n }\n\n // Be forgiving, per 25.3.3.3.3 of the spec:\n // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume\n return doneResult();\n }\n\n context.method = method;\n context.arg = arg;\n\n while (true) {\n var delegate = context.delegate;\n if (delegate) {\n var delegateResult = maybeInvokeDelegate(delegate, context);\n if (delegateResult) {\n if (delegateResult === ContinueSentinel) continue;\n return delegateResult;\n }\n }\n\n if (context.method === \"next\") {\n // Setting context._sent for legacy support of Babel's\n // function.sent implementation.\n context.sent = context._sent = context.arg;\n\n } else if (context.method === \"throw\") {\n if (state === GenStateSuspendedStart) {\n state = GenStateCompleted;\n throw context.arg;\n }\n\n context.dispatchException(context.arg);\n\n } else if (context.method === \"return\") {\n context.abrupt(\"return\", context.arg);\n }\n\n state = GenStateExecuting;\n\n var record = tryCatch(innerFn, self, context);\n if (record.type === \"normal\") {\n // If an exception is thrown from innerFn, we leave state ===\n // GenStateExecuting and loop back for another invocation.\n state = context.done\n ? GenStateCompleted\n : GenStateSuspendedYield;\n\n if (record.arg === ContinueSentinel) {\n continue;\n }\n\n return {\n value: record.arg,\n done: context.done\n };\n\n } else if (record.type === \"throw\") {\n state = GenStateCompleted;\n // Dispatch the exception by looping back around to the\n // context.dispatchException(context.arg) call above.\n context.method = \"throw\";\n context.arg = record.arg;\n }\n }\n };\n }\n\n // Call delegate.iterator[context.method](context.arg) and handle the\n // result, either by returning a { value, done } result from the\n // delegate iterator, or by modifying context.method and context.arg,\n // setting context.delegate to null, and returning the ContinueSentinel.\n function maybeInvokeDelegate(delegate, context) {\n var method = delegate.iterator[context.method];\n if (method === undefined) {\n // A .throw or .return when the delegate iterator has no .throw\n // method always terminates the yield* loop.\n context.delegate = null;\n\n if (context.method === \"throw\") {\n // Note: [\"return\"] must be used for ES3 parsing compatibility.\n if (delegate.iterator[\"return\"]) {\n // If the delegate iterator has a return method, give it a\n // chance to clean up.\n context.method = \"return\";\n context.arg = undefined;\n maybeInvokeDelegate(delegate, context);\n\n if (context.method === \"throw\") {\n // If maybeInvokeDelegate(context) changed context.method from\n // \"return\" to \"throw\", let that override the TypeError below.\n return ContinueSentinel;\n }\n }\n\n context.method = \"throw\";\n context.arg = new TypeError(\n \"The iterator does not provide a 'throw' method\");\n }\n\n return ContinueSentinel;\n }\n\n var record = tryCatch(method, delegate.iterator, context.arg);\n\n if (record.type === \"throw\") {\n context.method = \"throw\";\n context.arg = record.arg;\n context.delegate = null;\n return ContinueSentinel;\n }\n\n var info = record.arg;\n\n if (! info) {\n context.method = \"throw\";\n context.arg = new TypeError(\"iterator result is not an object\");\n context.delegate = null;\n return ContinueSentinel;\n }\n\n if (info.done) {\n // Assign the result of the finished delegate to the temporary\n // variable specified by delegate.resultName (see delegateYield).\n context[delegate.resultName] = info.value;\n\n // Resume execution at the desired location (see delegateYield).\n context.next = delegate.nextLoc;\n\n // If context.method was \"throw\" but the delegate handled the\n // exception, let the outer generator proceed normally. If\n // context.method was \"next\", forget context.arg since it has been\n // \"consumed\" by the delegate iterator. If context.method was\n // \"return\", allow the original .return call to continue in the\n // outer generator.\n if (context.method !== \"return\") {\n context.method = \"next\";\n context.arg = undefined;\n }\n\n } else {\n // Re-yield the result returned by the delegate method.\n return info;\n }\n\n // The delegate iterator is finished, so forget it and continue with\n // the outer generator.\n context.delegate = null;\n return ContinueSentinel;\n }\n\n // Define Generator.prototype.{next,throw,return} in terms of the\n // unified ._invoke helper method.\n defineIteratorMethods(Gp);\n\n define(Gp, toStringTagSymbol, \"Generator\");\n\n // A Generator should always return itself as the iterator object when the\n // @@iterator function is called on it. Some browsers' implementations of the\n // iterator prototype chain incorrectly implement this, causing the Generator\n // object to not be returned from this call. This ensures that doesn't happen.\n // See https://github.com/facebook/regenerator/issues/274 for more details.\n define(Gp, iteratorSymbol, function() {\n return this;\n });\n\n define(Gp, \"toString\", function() {\n return \"[object Generator]\";\n });\n\n function pushTryEntry(locs) {\n var entry = { tryLoc: locs[0] };\n\n if (1 in locs) {\n entry.catchLoc = locs[1];\n }\n\n if (2 in locs) {\n entry.finallyLoc = locs[2];\n entry.afterLoc = locs[3];\n }\n\n this.tryEntries.push(entry);\n }\n\n function resetTryEntry(entry) {\n var record = entry.completion || {};\n record.type = \"normal\";\n delete record.arg;\n entry.completion = record;\n }\n\n function Context(tryLocsList) {\n // The root entry object (effectively a try statement without a catch\n // or a finally block) gives us a place to store values thrown from\n // locations where there is no enclosing try statement.\n this.tryEntries = [{ tryLoc: \"root\" }];\n tryLocsList.forEach(pushTryEntry, this);\n this.reset(true);\n }\n\n exports.keys = function(object) {\n var keys = [];\n for (var key in object) {\n keys.push(key);\n }\n keys.reverse();\n\n // Rather than returning an object with a next method, we keep\n // things simple and return the next function itself.\n return function next() {\n while (keys.length) {\n var key = keys.pop();\n if (key in object) {\n next.value = key;\n next.done = false;\n return next;\n }\n }\n\n // To avoid creating an additional object, we just hang the .value\n // and .done properties off the next function object itself. This\n // also ensures that the minifier will not anonymize the function.\n next.done = true;\n return next;\n };\n };\n\n function values(iterable) {\n if (iterable) {\n var iteratorMethod = iterable[iteratorSymbol];\n if (iteratorMethod) {\n return iteratorMethod.call(iterable);\n }\n\n if (typeof iterable.next === \"function\") {\n return iterable;\n }\n\n if (!isNaN(iterable.length)) {\n var i = -1, next = function next() {\n while (++i < iterable.length) {\n if (hasOwn.call(iterable, i)) {\n next.value = iterable[i];\n next.done = false;\n return next;\n }\n }\n\n next.value = undefined;\n next.done = true;\n\n return next;\n };\n\n return next.next = next;\n }\n }\n\n // Return an iterator with no values.\n return { next: doneResult };\n }\n exports.values = values;\n\n function doneResult() {\n return { value: undefined, done: true };\n }\n\n Context.prototype = {\n constructor: Context,\n\n reset: function(skipTempReset) {\n this.prev = 0;\n this.next = 0;\n // Resetting context._sent for legacy support of Babel's\n // function.sent implementation.\n this.sent = this._sent = undefined;\n this.done = false;\n this.delegate = null;\n\n this.method = \"next\";\n this.arg = undefined;\n\n this.tryEntries.forEach(resetTryEntry);\n\n if (!skipTempReset) {\n for (var name in this) {\n // Not sure about the optimal order of these conditions:\n if (name.charAt(0) === \"t\" &&\n hasOwn.call(this, name) &&\n !isNaN(+name.slice(1))) {\n this[name] = undefined;\n }\n }\n }\n },\n\n stop: function() {\n this.done = true;\n\n var rootEntry = this.tryEntries[0];\n var rootRecord = rootEntry.completion;\n if (rootRecord.type === \"throw\") {\n throw rootRecord.arg;\n }\n\n return this.rval;\n },\n\n dispatchException: function(exception) {\n if (this.done) {\n throw exception;\n }\n\n var context = this;\n function handle(loc, caught) {\n record.type = \"throw\";\n record.arg = exception;\n context.next = loc;\n\n if (caught) {\n // If the dispatched exception was caught by a catch block,\n // then let that catch block handle the exception normally.\n context.method = \"next\";\n context.arg = undefined;\n }\n\n return !! caught;\n }\n\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n var record = entry.completion;\n\n if (entry.tryLoc === \"root\") {\n // Exception thrown outside of any try block that could handle\n // it, so set the completion value of the entire function to\n // throw the exception.\n return handle(\"end\");\n }\n\n if (entry.tryLoc <= this.prev) {\n var hasCatch = hasOwn.call(entry, \"catchLoc\");\n var hasFinally = hasOwn.call(entry, \"finallyLoc\");\n\n if (hasCatch && hasFinally) {\n if (this.prev < entry.catchLoc) {\n return handle(entry.catchLoc, true);\n } else if (this.prev < entry.finallyLoc) {\n return handle(entry.finallyLoc);\n }\n\n } else if (hasCatch) {\n if (this.prev < entry.catchLoc) {\n return handle(entry.catchLoc, true);\n }\n\n } else if (hasFinally) {\n if (this.prev < entry.finallyLoc) {\n return handle(entry.finallyLoc);\n }\n\n } else {\n throw new Error(\"try statement without catch or finally\");\n }\n }\n }\n },\n\n abrupt: function(type, arg) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc <= this.prev &&\n hasOwn.call(entry, \"finallyLoc\") &&\n this.prev < entry.finallyLoc) {\n var finallyEntry = entry;\n break;\n }\n }\n\n if (finallyEntry &&\n (type === \"break\" ||\n type === \"continue\") &&\n finallyEntry.tryLoc <= arg &&\n arg <= finallyEntry.finallyLoc) {\n // Ignore the finally entry if control is not jumping to a\n // location outside the try/catch block.\n finallyEntry = null;\n }\n\n var record = finallyEntry ? finallyEntry.completion : {};\n record.type = type;\n record.arg = arg;\n\n if (finallyEntry) {\n this.method = \"next\";\n this.next = finallyEntry.finallyLoc;\n return ContinueSentinel;\n }\n\n return this.complete(record);\n },\n\n complete: function(record, afterLoc) {\n if (record.type === \"throw\") {\n throw record.arg;\n }\n\n if (record.type === \"break\" ||\n record.type === \"continue\") {\n this.next = record.arg;\n } else if (record.type === \"return\") {\n this.rval = this.arg = record.arg;\n this.method = \"return\";\n this.next = \"end\";\n } else if (record.type === \"normal\" && afterLoc) {\n this.next = afterLoc;\n }\n\n return ContinueSentinel;\n },\n\n finish: function(finallyLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.finallyLoc === finallyLoc) {\n this.complete(entry.completion, entry.afterLoc);\n resetTryEntry(entry);\n return ContinueSentinel;\n }\n }\n },\n\n \"catch\": function(tryLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc === tryLoc) {\n var record = entry.completion;\n if (record.type === \"throw\") {\n var thrown = record.arg;\n resetTryEntry(entry);\n }\n return thrown;\n }\n }\n\n // The context.catch method must only be called with a location\n // argument that corresponds to a known catch block.\n throw new Error(\"illegal catch attempt\");\n },\n\n delegateYield: function(iterable, resultName, nextLoc) {\n this.delegate = {\n iterator: values(iterable),\n resultName: resultName,\n nextLoc: nextLoc\n };\n\n if (this.method === \"next\") {\n // Deliberately forget the last sent value so that we don't\n // accidentally pass it on to the delegate.\n this.arg = undefined;\n }\n\n return ContinueSentinel;\n }\n };\n\n // Regardless of whether this script is executing as a CommonJS module\n // or not, return the runtime object so that we can declare the variable\n // regeneratorRuntime in the outer scope, which allows this module to be\n // injected easily by `bin/regenerator --include-runtime script.js`.\n return exports;\n\n}(\n // If this script is executing as a CommonJS module, use module.exports\n // as the regeneratorRuntime namespace. Otherwise create a new empty\n // object. Either way, the resulting object will be used to initialize\n // the regeneratorRuntime variable at the top of this file.\n typeof module === \"object\" ? module.exports : {}\n));\n\ntry {\n regeneratorRuntime = runtime;\n} catch (accidentalStrictMode) {\n // This module should not be running in strict mode, so the above\n // assignment should always work unless something is misconfigured. Just\n // in case runtime.js accidentally runs in strict mode, in modern engines\n // we can explicitly access globalThis. In older engines we can escape\n // strict mode using a global Function call. This could conceivably fail\n // if a Content Security Policy forbids using Function, but in that case\n // the proper solution is to fix the accidental strict mode problem. If\n // you've misconfigured your bundler to force strict mode and applied a\n // CSP to forbid Function, and you're not willing to fix either of those\n // problems, please detail your unique predicament in a GitHub issue.\n if (typeof globalThis === \"object\") {\n globalThis.regeneratorRuntime = runtime;\n } else {\n Function(\"r\", \"regeneratorRuntime = r\")(runtime);\n }\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { mergeHeaders } from './core';\nimport { passThroughInterceptor } from './core';\nimport { AuthenticatorInterface } from './core';\n\n/** None authentication provider */\nexport const noneAuthenticationProvider = () => passThroughInterceptor;\n\nexport const customHeaderAuthenticationProvider = ({\n authorization,\n}: {\n authorization: string;\n}): AuthenticatorInterface => {\n return (requiresAuth?: boolean) => {\n if (!requiresAuth) {\n return passThroughInterceptor;\n }\n\n return (request, options, next) => {\n const customHeaderParams = {\n 'Authorization': authorization,\n };\n mergeHeaders(request.headers ?? {}, customHeaderParams);\n\n return next(request, options);\n };\n };\n};\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\n/** An interface for all configuration parameters required by the SDK. */\nexport interface Configuration {\n timeout: number;\n environment: Environment;\n authorization: string;\n unstable_httpClientOptions?: any;\n}\n\n/** Environments available for API */\nexport enum Environment {\n Production = 'production',\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { Configuration, Environment } from './configuration';\n\n/** Default values for the configuration parameters of the client. */\nexport const DEFAULT_CONFIGURATION: Configuration = {\n timeout: 0,\n environment: Environment.Production,\n authorization: 'TODO Authorization value',\n};\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nexport class XmlSerialization {\n public xmlSerialize(_rootName: string, _value: unknown): string {\n throw new Error('XML serialization is not available.');\n }\n\n public xmlDeserialize(\n _rootName: string,\n _xmlString: string\n ): Promise {\n throw new Error('XML deserialization is not available.');\n }\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { customHeaderAuthenticationProvider } from './authentication';\nimport {\n AuthParams,\n ClientInterface,\n SdkRequestBuilder,\n SdkRequestBuilderFactory,\n Server,\n} from './clientInterface';\nimport { Configuration, Environment } from './configuration';\nimport { DEFAULT_CONFIGURATION } from './defaultConfiguration';\nimport { ApiError } from './core';\nimport {\n AuthenticatorInterface,\n createRequestBuilderFactory,\n HttpClient,\n HttpClientInterface,\n XmlSerializerInterface,\n} from './core';\nimport { XmlSerialization } from './http/xmlSerialization';\n\nconst USER_AGENT = 'APIMATIC 3.0';\n\nexport class Client implements ClientInterface {\n private _config: Readonly;\n private _requestBuilderFactory: SdkRequestBuilderFactory;\n\n constructor(config?: Partial) {\n this._config = {\n ...DEFAULT_CONFIGURATION,\n ...config,\n };\n this._requestBuilderFactory = createRequestHandlerFactory(\n server => getBaseUri(server, this._config),\n customHeaderAuthenticationProvider(this._config),\n new HttpClient({\n timeout: this._config.timeout,\n clientConfigOverrides: this._config.unstable_httpClientOptions,\n }),\n [\n withErrorHandlers,\n withUserAgent,\n withAuthenticationByDefault,\n ],\n new XmlSerialization()\n );\n }\n\n public getRequestBuilderFactory(): SdkRequestBuilderFactory {\n return this._requestBuilderFactory;\n }\n\n /**\n * Clone this client and override given configuration options\n */\n public withConfiguration(config: Partial) {\n return new Client({ ...this._config, ...config });\n }\n}\n\nfunction createHttpClientAdapter(client: HttpClient): HttpClientInterface {\n return async (request, requestOptions) => {\n return await client.executeRequest(request, requestOptions);\n };\n}\n\nfunction getBaseUri(server: Server = 'default', config: Configuration): string {\n if (config.environment === Environment.Production) {\n if (server === 'default') {\n return 'https://apimaticio-test.azurewebsites.net/api';\n }\n }\n throw new Error('Could not get Base URL. Invalid environment or server.');\n}\n\nfunction createRequestHandlerFactory(\n baseUrlProvider: (server?: Server) => string,\n authProvider: AuthenticatorInterface,\n httpClient: HttpClient,\n addons: ((rb: SdkRequestBuilder) => void)[],\n xmlSerializer: XmlSerializerInterface\n): SdkRequestBuilderFactory {\n const requestBuilderFactory = createRequestBuilderFactory(\n createHttpClientAdapter(httpClient),\n baseUrlProvider,\n ApiError,\n authProvider,\n xmlSerializer\n );\n\n return tap(requestBuilderFactory, ...addons);\n}\n\nfunction tap(\n requestBuilderFactory: SdkRequestBuilderFactory,\n ...callback: ((requestBuilder: SdkRequestBuilder) => void)[]\n): SdkRequestBuilderFactory {\n return (...args) => {\n const requestBuilder = requestBuilderFactory(...args);\n callback.forEach(c => c(requestBuilder));\n return requestBuilder;\n };\n}\n\nfunction withErrorHandlers(rb: SdkRequestBuilder) {\n rb.defaultToError(ApiError);\n}\n\nfunction withUserAgent(rb: SdkRequestBuilder) {\n rb.header('user-agent', USER_AGENT);\n}\n\nfunction withAuthenticationByDefault(rb: SdkRequestBuilder) {\n rb.authenticate(true);\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { array, boolean, object, Schema, string } from '../schema';\n\nexport interface ApiValidationSummary {\n success: boolean;\n errors: string[];\n warnings: string[];\n messages: string[];\n}\n\nexport const apiValidationSummarySchema: Schema = object({\n success: ['success', boolean()],\n errors: ['errors', array(string())],\n warnings: ['warnings', array(string())],\n messages: ['messages', array(string())],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { ClientInterface, SdkRequestBuilderFactory } from '../clientInterface';\n\n/** Base class for all controllers */\nexport class BaseController {\n /** Create a request builder */\n protected createRequest: SdkRequestBuilderFactory;\n\n constructor(client: ClientInterface) {\n this.createRequest = client.getRequestBuilderFactory();\n }\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { ApiResponse, FileWrapper, RequestOptions } from '../core';\nimport {\n ApiValidationSummary,\n apiValidationSummarySchema,\n} from '../models/apiValidationSummary';\nimport { string } from '../schema';\nimport { BaseController } from './baseController';\n\nexport class APIValidationExternalApisController extends BaseController {\n /**\n * Validate an API by uploading the API specification file.\n *\n * You can also specify [API Metadata](https://docs.apimatic.io/manage-apis/apimatic-metadata) while\n * validating the API using this endpoint. When specifying Metadata, the uploaded file will be a zip\n * file containing the API specification file and the `APIMATIC-META` json file.\n *\n * @param file The API specification file.
The type of the specification file should be any\n * of the [supported formats](https://docs.apimatic.io/api-transformer/overview-\n * transformer#supported-input-formats).\n * @return Response from the API call\n */\n async validateAPIViaFile(\n file: FileWrapper,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('POST', '/validation/validate-via-file');\n req.baseUrl('default');\n req.header('ContentType', 'multipart/form-data');\n req.formData({\n file: file,\n });\n return req.callAsJson(apiValidationSummarySchema, requestOptions);\n }\n\n /**\n * Validate an API by providing the URL of the API specification file.\n *\n * You can also specify [API Metadata](https://docs.apimatic.io/manage-apis/apimatic-metadata) while\n * validating the API using this endpoint. When specifying Metadata, the URL provided will be that of a\n * zip file containing the API specification file and the `APIMATIC-META` json file.\n *\n * @param descriptionUrl The URL for the API specification file.

**Note:** This URL should be\n * publicly accessible.\n * @return Response from the API call\n */\n async validateAPIViaURL(\n descriptionUrl: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET', '/validation/validate-via-url');\n req.baseUrl('default');\n const mapped = req.prepareArgs({\n descriptionUrl: [descriptionUrl, string()],\n });\n req.query('descriptionUrl', mapped.descriptionUrl);\n return req.callAsJson(apiValidationSummarySchema, requestOptions);\n }\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { array, boolean, object, Schema, string } from '../schema';\n\nexport interface DocsValidationSummary {\n success: boolean;\n errors: string[];\n warnings: string[];\n messages: string[];\n}\n\nexport const docsValidationSummarySchema: Schema = object(\n {\n success: ['success', boolean()],\n errors: ['errors', array(string())],\n warnings: ['warnings', array(string())],\n messages: ['messages', array(string())],\n }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { ApiResponse, RequestOptions } from '../core';\nimport {\n ApiValidationSummary,\n apiValidationSummarySchema,\n} from '../models/apiValidationSummary';\nimport {\n DocsValidationSummary,\n docsValidationSummarySchema,\n} from '../models/docsValidationSummary';\nimport { string } from '../schema';\nimport { BaseController } from './baseController';\n\nexport class APIValidationImportedApisController extends BaseController {\n /**\n * Validate an API using the [APIMatic Validator](https://docs.apimatic.io/generate-sdks/overview-\n * sdks#step-2-api-validation).\n *\n * @param apiEntityId The ID of the API Entity to perform validation for.\n * @return Response from the API call\n */\n async validateAPI(\n apiEntityId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n req.baseUrl('default');\n const mapped = req.prepareArgs({ apiEntityId: [apiEntityId, string()] });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/api-validation-summary`;\n return req.callAsJson(apiValidationSummarySchema, requestOptions);\n }\n\n /**\n * Validate an API for documentation generation. This process validates the API for missing examples or\n * missing descriptions.\n *\n * @param apiEntityId The ID of the API Entity to perform validation for.\n * @return Response from the API call\n */\n async validateAPIForDocs(\n apiEntityId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n req.baseUrl('default');\n const mapped = req.prepareArgs({ apiEntityId: [apiEntityId, string()] });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/docs-validation-summary`;\n return req.callAsJson(docsValidationSummarySchema, requestOptions);\n }\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { Schema, stringEnum } from '../schema';\n\n/**\n * Enum for Accept\n */\nexport enum Accept {\n EnumApplicationjson = 'application/json',\n}\n\n/**\n * Schema for Accept\n */\nexport const acceptSchema: Schema = stringEnum(Accept);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { Schema, stringEnum } from '../schema';\n\n/**\n * Enum for Accept2\n */\nexport enum Accept2 {\n EnumApplicationvndapimaticapiEntityfullv1json = 'application/vnd.apimatic.apiEntity.full.v1+json',\n}\n\n/**\n * Schema for Accept2\n */\nexport const accept2Schema: Schema = stringEnum(Accept2);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { array, object, Schema, string, unknown } from '../schema';\n\n/** This Structure encapsulates all details of API authentication. */\nexport interface Authentication {\n /** Auth Id */\n id: string;\n /** Auth Type */\n authType: string;\n /** Scope */\n scopes: string[];\n /** Auth Params */\n parameters: string[];\n /** Auth Scopes */\n authScopes: string[];\n /** Auth Grant Types */\n authGrantTypes: string[];\n /** Paramater Formats */\n paramFormats?: unknown;\n}\n\nexport const authenticationSchema: Schema = object({\n id: ['id', string()],\n authType: ['authType', string()],\n scopes: ['scopes', array(string())],\n parameters: ['parameters', array(string())],\n authScopes: ['authScopes', array(string())],\n authGrantTypes: ['authGrantTypes', array(string())],\n paramFormats: ['paramFormats', unknown()],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { array, boolean, number, object, Schema, string } from '../schema';\n\n/** APIMatic’s code generation engine has various code generation configurations to customise the behaviour and outlook across the generated SDKS. This structure encapsulates all settings for CodeGeneration. */\nexport interface CodeGenSettings {\n /** Generate asynchronous code for API Calls and deserialization */\n isAsync: boolean;\n /** Use HTTP Method prefixes for endpoint wrappers */\n useHttpMethodPrefix: boolean;\n /** Use \"Model\" postfixes for generated class names */\n useModelPrefix: boolean;\n /** Use \"Enum\" postfixes for enumerated types */\n useEnumPrefix: boolean;\n useConstructorsForConfig: boolean;\n /** Use common SDK library to reduce code duplication */\n useCommonSdkLibrary: boolean;\n /** Generates interfaces for controller classes in the generated SDKs */\n generateInterfaces: boolean;\n /** Generate Appveyor configuration file */\n generateAppveyorConfig: boolean;\n /** Generate CircleCI configuration file */\n generateCircleConfig: boolean;\n /** Generate Jenkins configuration file */\n generateJenkinsConfig: boolean;\n /** Generate Travis CI configuration file */\n generateTravisConfig: boolean;\n /** Use \"AndroidManifest.xml\" for config variables in Android */\n androidUseAppManifest: boolean;\n /** Use \"App-Info.plist\" file for config variables in iOS */\n iosUseAppInfoPlist: boolean;\n /** Generate \"CoreData\" schema and entity classes in iOS? */\n iosGenerateCoreData: boolean;\n /** Enable runscope */\n runscopeEnabled: boolean;\n /** Collect Parameters as arrays */\n collapseParamsToArray: boolean;\n /** Attempts to preserve parameter order for endpoints */\n preserveParameterOrder: boolean;\n /** Append JSON/XML accept and content-type headers */\n appendContentHeaders: boolean;\n modelSerializationIsJSON: boolean;\n /** Return a null value on HTTP 404 */\n nullify404: boolean;\n /** Validate required parameters to be Not Null */\n validateRequiredParameters: boolean;\n /** Allow models to have additional runtime properties */\n enableAdditionalModelProperties: boolean;\n javaUsePropertiesConfig: boolean;\n /** Use \"Controller\" postfixes for generated controller classes */\n useControllerPrefix: boolean;\n /** Use Exception Prefixes */\n useExceptionPrefix: boolean;\n /** Parameter Array format with index or without */\n parameterArrayFormat: string;\n /** Configure the HTTP client for Objective C */\n objCHttpClient: string;\n /** Configure the HTTP client for C# */\n cSharpHttpClient: string;\n /** Configure the HTTP client for Android */\n androidHttpClient: string;\n /** Configure the HTTP client for node */\n nodeHttpClient: string;\n /** Configure the HTTP client for PHP */\n phpHttpClient: string;\n bodySerialization: number;\n /** Specify type of array serialisation */\n arraySerialization: string;\n /** This option specifies the duration (in seconds) after which requests would timeout */\n timeout: number;\n /** Enabling this generates code in the SDKs for logging events in the API cycle using a library. */\n enableLogging: boolean;\n /** Enabling caching of responses (not available in all languages) */\n enableHttpCache: boolean;\n /** Specify number of retries */\n retries: number;\n /** Specify retry interval in case of failures */\n retryInterval: number;\n /** Generate advanced read me files */\n generateAdvancedDocs: boolean;\n /** Store Timezone information for the generation */\n storeTimezoneInformation: boolean;\n /** Use \"Controller\" postfixes for generated controller classes */\n enablePhpComposerVersionString: boolean;\n /** Specify Security Protocols */\n securityProtocols: string[];\n /** Use underscores before and after numbers for underscore case */\n underscoreNumbers: boolean;\n /** Allow usage of a Singleton Pattern */\n useSingletonPattern: boolean;\n /** Files/dependencies used for linting are not generated if this option is enabled */\n disableLinting: boolean;\n /** Create a configuration option in SDKs to optionally skip certificate verification when establishing HTTPS connections. */\n allowSkippingSSLCertVerification: boolean;\n /** Apply Customisations */\n applyCustomizations: string[];\n /** Enabling this will stop splitting of words when converting identifiers from API specification to language-specific identifiers. */\n doNotSplitWords: string[];\n /** Sorts resources such as endpoints, endpoint groups and models in generated documentation */\n sortResources: boolean;\n /** Enable a global user agent */\n enableGlobalUserAgent: boolean;\n}\n\nexport const codeGenSettingsSchema: Schema = object({\n isAsync: ['isAsync', boolean()],\n useHttpMethodPrefix: ['useHttpMethodPrefix', boolean()],\n useModelPrefix: ['useModelPrefix', boolean()],\n useEnumPrefix: ['useEnumPrefix', boolean()],\n useConstructorsForConfig: ['useConstructorsForConfig', boolean()],\n useCommonSdkLibrary: ['useCommonSdkLibrary', boolean()],\n generateInterfaces: ['generateInterfaces', boolean()],\n generateAppveyorConfig: ['generateAppveyorConfig', boolean()],\n generateCircleConfig: ['generateCircleConfig', boolean()],\n generateJenkinsConfig: ['generateJenkinsConfig', boolean()],\n generateTravisConfig: ['generateTravisConfig', boolean()],\n androidUseAppManifest: ['androidUseAppManifest', boolean()],\n iosUseAppInfoPlist: ['iosUseAppInfoPlist', boolean()],\n iosGenerateCoreData: ['iosGenerateCoreData', boolean()],\n runscopeEnabled: ['runscopeEnabled', boolean()],\n collapseParamsToArray: ['collapseParamsToArray', boolean()],\n preserveParameterOrder: ['preserveParameterOrder', boolean()],\n appendContentHeaders: ['appendContentHeaders', boolean()],\n modelSerializationIsJSON: ['modelSerializationIsJSON', boolean()],\n nullify404: ['nullify404', boolean()],\n validateRequiredParameters: ['validateRequiredParameters', boolean()],\n enableAdditionalModelProperties: [\n 'enableAdditionalModelProperties',\n boolean(),\n ],\n javaUsePropertiesConfig: ['javaUsePropertiesConfig', boolean()],\n useControllerPrefix: ['useControllerPrefix', boolean()],\n useExceptionPrefix: ['useExceptionPrefix', boolean()],\n parameterArrayFormat: ['parameterArrayFormat', string()],\n objCHttpClient: ['objCHttpClient', string()],\n cSharpHttpClient: ['cSharpHttpClient', string()],\n androidHttpClient: ['androidHttpClient', string()],\n nodeHttpClient: ['nodeHttpClient', string()],\n phpHttpClient: ['phpHttpClient', string()],\n bodySerialization: ['bodySerialization', number()],\n arraySerialization: ['arraySerialization', string()],\n timeout: ['timeout', number()],\n enableLogging: ['enableLogging', boolean()],\n enableHttpCache: ['enableHttpCache', boolean()],\n retries: ['retries', number()],\n retryInterval: ['retryInterval', number()],\n generateAdvancedDocs: ['generateAdvancedDocs', boolean()],\n storeTimezoneInformation: ['storeTimezoneInformation', boolean()],\n enablePhpComposerVersionString: ['enablePhpComposerVersionString', boolean()],\n securityProtocols: ['securityProtocols', array(string())],\n underscoreNumbers: ['underscoreNumbers', boolean()],\n useSingletonPattern: ['useSingletonPattern', boolean()],\n disableLinting: ['disableLinting', boolean()],\n allowSkippingSSLCertVerification: [\n 'allowSkippingSSLCertVerification',\n boolean(),\n ],\n applyCustomizations: ['applyCustomizations', array(string())],\n doNotSplitWords: ['doNotSplitWords', array(string())],\n sortResources: ['sortResources', boolean()],\n enableGlobalUserAgent: ['enableGlobalUserAgent', boolean()],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { object, Schema, string } from '../schema';\n\n/** This structure encapsulates all the attributes of an API Endpoints Group. */\nexport interface EndpointsGroup {\n name: string;\n description: string;\n}\n\nexport const endpointsGroupSchema: Schema = object({\n name: ['name', string()],\n description: ['description', string()],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { array, boolean, object, Schema, string } from '../schema';\n\nexport interface ImportValidationSummary {\n success: boolean;\n errors: string[];\n warnings: string[];\n messages: string[];\n}\n\nexport const importValidationSummarySchema: Schema = object(\n {\n success: ['success', boolean()],\n errors: ['errors', array(string())],\n warnings: ['warnings', array(string())],\n messages: ['messages', array(string())],\n }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { lazy, object, Schema } from '../schema';\nimport {\n ApiValidationSummary,\n apiValidationSummarySchema,\n} from './apiValidationSummary';\nimport {\n DocsValidationSummary,\n docsValidationSummarySchema,\n} from './docsValidationSummary';\nimport {\n ImportValidationSummary,\n importValidationSummarySchema,\n} from './importValidationSummary';\n\nexport interface MetaData {\n importValidationSummary: ImportValidationSummary;\n apiValidationSummary: ApiValidationSummary;\n docsValidationSummary: DocsValidationSummary;\n}\n\nexport const metaDataSchema: Schema = object({\n importValidationSummary: [\n 'importValidationSummary',\n lazy(() => importValidationSummarySchema),\n ],\n apiValidationSummary: [\n 'apiValidationSummary',\n lazy(() => apiValidationSummarySchema),\n ],\n docsValidationSummary: [\n 'docsValidationSummary',\n lazy(() => docsValidationSummarySchema),\n ],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { object, Schema, string } from '../schema';\n\n/** The user can specify multiple servers within an environment. A server comprises of a name and a URL. The names of the hosts remain consistent over different environments but their values may vary. The URL values can contain any number of parameters defined. */\nexport interface Server {\n /** Unique Server identifier */\n id: string;\n /** Server Name */\n name: string;\n /** Server URL */\n url: string;\n}\n\nexport const serverSchema: Schema = object({\n id: ['id', string()],\n name: ['name', string()],\n url: ['url', string()],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { array, lazy, object, Schema, string } from '../schema';\nimport { Server, serverSchema } from './server';\n\n/** An environment consists of a set of servers with base URL values. The environment can be changed programatically allowing rapid switching between different environments. For example the user can specify a Production and Testing Environment and switch between them in the generated SDK. */\nexport interface Environment {\n /** Unique Environment Identifier */\n id: string;\n /** Environment Name */\n name: string;\n /** The user can specify multiple servers within an environment. A server comprises of a name and a url. */\n servers: Server[];\n}\n\nexport const environmentSchema: Schema = object({\n id: ['id', string()],\n name: ['name', string()],\n servers: ['servers', array(lazy(() => serverSchema))],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { object, Schema, string } from '../schema';\n\n/** The structure contain attribute details of a parameter type. */\nexport interface Attributes {\n /** Unique Attribute Identifier */\n id: string;\n}\n\nexport const attributesSchema: Schema = object({\n id: ['id', string()],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { boolean, lazy, object, Schema, string } from '../schema';\nimport { Attributes, attributesSchema } from './attributes';\n\n/** Parameters are options passed with the endpoint */\nexport interface Parameter {\n /** If parameter is optional */\n optional: boolean;\n /** Type of Parameter */\n type: string;\n /** IF Parameter is constant */\n constant: boolean;\n /** If Param is collected as array */\n isArray: boolean;\n isStream: boolean;\n isAttribute: boolean;\n isMap: boolean;\n /** The structure contain attribute details of a parameter type. */\n attributes: Attributes;\n /** If Parameter is nullable */\n nullable: boolean;\n /** Unique Parameter identifier */\n id: string;\n /** Parameter Name */\n name: string;\n /** Parameter Description */\n description: string;\n /** Default Values of a Parameter */\n defaultValue: string;\n /** Specify Parameter Format */\n paramFormat: string;\n}\n\nexport const parameterSchema: Schema = object({\n optional: ['optional', boolean()],\n type: ['type', string()],\n constant: ['constant', boolean()],\n isArray: ['isArray', boolean()],\n isStream: ['isStream', boolean()],\n isAttribute: ['isAttribute', boolean()],\n isMap: ['isMap', boolean()],\n attributes: ['attributes', lazy(() => attributesSchema)],\n nullable: ['nullable', boolean()],\n id: ['id', string()],\n name: ['name', string()],\n description: ['description', string()],\n defaultValue: ['defaultValue', string()],\n paramFormat: ['ParamFormat', string()],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { array, lazy, object, Schema, string } from '../schema';\nimport { Environment, environmentSchema } from './environment';\nimport { Parameter, parameterSchema } from './parameter';\n\n/** Server configurations can be used to create multiple environments, multiple servers that can be used with specific endpoints and server URLs with template paramters. */\nexport interface ServerConfiguration {\n /** Server Config Identifier */\n id: string;\n /** Default Environment */\n defaultEnvironment: string;\n /** Default Server */\n defaultServer: string;\n /** Environment Identifier and Name */\n environments: Environment[];\n /** Parameter Attributes */\n parameters: Parameter[];\n}\n\nexport const serverConfigurationSchema: Schema = object({\n id: ['id', string()],\n defaultEnvironment: ['defaultEnvironment', string()],\n defaultServer: ['defaultServer', string()],\n environments: ['environments', array(lazy(() => environmentSchema))],\n parameters: ['parameters', array(lazy(() => parameterSchema))],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { number, object, Schema, unknown } from '../schema';\n\n/** This structure helps specify additional test configurations which affects how test cases are generated. */\nexport interface TestGenSettings {\n /** Error margin for comparing values in decimal places */\n precisionDelta: number;\n /** Number of seconds after which if the endpoint is not returning any response, the test is forced to fail e.g. a timeout of 60 */\n testTimeout: number;\n /** The parameters allows to provide values for configuration file for use in the test environment */\n configuration?: unknown;\n}\n\nexport const testGenSettingsSchema: Schema = object({\n precisionDelta: ['precisionDelta', number()],\n testTimeout: ['testTimeout', number()],\n configuration: ['configuration', unknown()],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport {\n array,\n boolean,\n lazy,\n object,\n optional,\n Schema,\n string,\n} from '../schema';\nimport { Authentication, authenticationSchema } from './authentication';\nimport { CodeGenSettings, codeGenSettingsSchema } from './codeGenSettings';\nimport { EndpointsGroup, endpointsGroupSchema } from './endpointsGroup';\nimport { MetaData, metaDataSchema } from './metaData';\nimport {\n ServerConfiguration,\n serverConfigurationSchema,\n} from './serverConfiguration';\nimport { TestGenSettings, testGenSettingsSchema } from './testGenSettings';\n\n/** The API Entity Structure encapsulates all the details of an API Entity. An API entity is a unique API Version. */\nexport interface ApiEntity {\n /** Unique API Entity identifier */\n id: string;\n /** Enrcypted API Entity Id */\n encryptedId: string;\n /** API Integration Key. Obtain from API Card on Dashboard. */\n apiKey: string;\n /** Unique API Group Identifier */\n apiGroupId: string;\n /** Cover Image */\n imageUri: string;\n /** Entity creation date */\n creationDate: string;\n /** API Status (Deprecated) */\n mPublic: boolean;\n /** API Entity Name */\n name: string;\n /** Description of the API */\n description: string;\n /** Entity Version Number */\n version: string;\n /** Header Content */\n additionalHeaders: string[];\n /** This Structure encapsulates all details of API authentication. */\n authentication: Authentication;\n /** APIMatic’s code generation engine has various code generation configurations to customise the behaviour and outlook across the generated SDKS. This structure encapsulates all settings for CodeGeneration. */\n codeGenSettings: CodeGenSettings;\n /** This structure helps specify additional test configurations which affects how test cases are generated. */\n testGenSettings: TestGenSettings;\n /** API Errors */\n errors: string[];\n /** Server configurations can be used to create multiple environments, multiple servers that can be used with specific endpoints and server URLs with template paramters. */\n serverConfiguration: ServerConfiguration;\n /** API Endpoint Groups */\n endpointsGroup?: EndpointsGroup[];\n metaData: MetaData;\n}\n\nexport const apiEntitySchema: Schema = object({\n id: ['id', string()],\n encryptedId: ['encryptedId', string()],\n apiKey: ['apiKey', string()],\n apiGroupId: ['apiGroupId', string()],\n imageUri: ['imageUri', string()],\n creationDate: ['creationDate', string()],\n mPublic: ['public', boolean()],\n name: ['name', string()],\n description: ['description', string()],\n version: ['version', string()],\n additionalHeaders: ['additionalHeaders', array(string())],\n authentication: ['authentication', lazy(() => authenticationSchema)],\n codeGenSettings: ['codeGenSettings', lazy(() => codeGenSettingsSchema)],\n testGenSettings: ['testGenSettings', lazy(() => testGenSettingsSchema)],\n errors: ['errors', array(string())],\n serverConfiguration: [\n 'serverConfiguration',\n lazy(() => serverConfigurationSchema),\n ],\n endpointsGroup: [\n 'endpointsGroup',\n optional(array(lazy(() => endpointsGroupSchema))),\n ],\n metaData: ['metaData', lazy(() => metaDataSchema)],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { Schema, stringEnum } from '../schema';\n\n/**\n * Enum for ExportFormats\n */\nexport enum ExportFormats {\n APIMATIC = 'APIMATIC',\n WADL2009 = 'WADL2009',\n WSDL = 'WSDL',\n SWAGGER10 = 'Swagger10',\n SWAGGER20 = 'Swagger20',\n SWAGGERYAML = 'SwaggerYaml',\n OAS3 = 'OpenApi3Json',\n OPENAPI3YAML = 'OpenApi3Yaml',\n APIBLUEPRINT = 'APIBluePrint',\n RAML = 'RAML',\n RAML10 = 'RAML10',\n POSTMAN10 = 'Postman10',\n POSTMAN20 = 'Postman20',\n GRAPHQLSCHEMA = 'GraphQlSchema',\n}\n\n/**\n * Schema for ExportFormats\n */\nexport const exportFormatsSchema: Schema = stringEnum(ExportFormats);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { object, Schema, string } from '../schema';\n\n/** This structure contains details of importing a new API Version */\nexport interface ImportApiVersionViaUrlRequest {\n /** The version number with which the new API version will be imported. This version number will override the version specified in the API specification file.
APIMatic recommends versioning the API with the [versioning scheme](https://docs.apimatic.io/define-apis/basic-settings/#version) documented in the docs. */\n versionOverride: string;\n /** The URL for the API specification file.

**Note:** This URL should be publicly accessible. */\n url: string;\n}\n\nexport const importApiVersionViaUrlRequestSchema: Schema = object(\n { versionOverride: ['version_override', string()], url: ['url', string()] }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { object, Schema, string } from '../schema';\n\n/** Contains a url field to allow Apis to be imported via url */\nexport interface ImportApiViaUrlRequest {\n /** The URL for the API specification file.

**Note:** This URL should be publicly accessible. */\n url: string;\n}\n\nexport const importApiViaUrlRequestSchema: Schema = object(\n { url: ['url', string()] }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { object, Schema, string } from '../schema';\n\n/** Contains a url field to allow Apis to be imported via url */\nexport interface InplaceImportApiViaUrlRequest {\n /** The URL for the API specification file.

**Note:** This URL should be publicly accessible. */\n url: string;\n}\n\nexport const inplaceImportApiViaUrlRequestSchema: Schema = object(\n { url: ['url', string()] }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { ApiResponse, FileWrapper, RequestOptions } from '../core';\nimport { Accept, acceptSchema } from '../models/accept';\nimport { Accept2, accept2Schema } from '../models/accept2';\nimport { ApiEntity, apiEntitySchema } from '../models/apiEntity';\nimport { ExportFormats, exportFormatsSchema } from '../models/exportFormats';\nimport {\n ImportApiVersionViaUrlRequest,\n importApiVersionViaUrlRequestSchema,\n} from '../models/importApiVersionViaUrlRequest';\nimport {\n ImportApiViaUrlRequest,\n importApiViaUrlRequestSchema,\n} from '../models/importApiViaUrlRequest';\nimport {\n InplaceImportApiViaUrlRequest,\n inplaceImportApiViaUrlRequestSchema,\n} from '../models/inplaceImportApiViaUrlRequest';\nimport { string } from '../schema';\nimport { BaseController } from './baseController';\n\nexport class ApisManagementController extends BaseController {\n /**\n * Import an API into the APIMatic Dashboard by uploading the API specification file.\n *\n * You can also specify [API Metadata](https://docs.apimatic.io/manage-apis/apimatic-metadata) while\n * importing the API using this endpoint. When specifying Metadata, the uploaded file will be a zip\n * file containing the API specification file and the `APIMATIC-META` json file.\n *\n * @param file The API specification file.
The type of the specification file should be any\n * of the [supported formats](https://docs.apimatic.io/api-transformer/overview-\n * transformer#supported-input-formats).\n * @return Response from the API call\n */\n async importAPIViaFile(\n file: FileWrapper,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('POST', '/api-entities/import-via-file');\n req.header('ContentType', 'multipart/form-data');\n req.formData({\n file: file,\n });\n return req.callAsJson(apiEntitySchema, requestOptions);\n }\n\n /**\n * Import an API into the APIMatic Dashboard by providing the URL of the API specification file.\n *\n * You can also specify [API Metadata](https://docs.apimatic.io/manage-apis/apimatic-metadata) while\n * importing the API using this endpoint. When specifying Metadata, the URL provided will be that of a\n * zip file containing the API specification file and the `APIMATIC-META` json file.\n *\n * @param body Request Body\n * @return Response from the API call\n */\n async importAPIViaURL(\n body: ImportApiViaUrlRequest,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('POST', '/api-entities/import-via-url');\n const mapped = req.prepareArgs({\n body: [body, importApiViaUrlRequestSchema],\n });\n req.header(\n 'Content-Type',\n 'application/vnd.apimatic.apiEntityUrlImportDto.v1+json'\n );\n req.json(mapped.body);\n return req.callAsJson(apiEntitySchema, requestOptions);\n }\n\n /**\n * Import a new version for an API, against an existing API Group, by uploading the API specification\n * file.\n *\n * You can also specify [API Metadata](https://docs.apimatic.io/manage-apis/apimatic-metadata) while\n * importing the API version using this endpoint. When specifying Metadata, the uploaded file will be a\n * zip file containing the API specification file and the `APIMATIC-META` json file.\n *\n * @param apiGroupId The ID of the API Group for which to import a new API version.\n * @param accept\n * @param versionOverride The version number with which the new API version will be imported. This\n * version number will override the version specified in the API specification\n * file.
APIMatic recommends versioning the API with the [versioning\n * scheme](https://docs.apimatic.io/define-apis/basic-settings/#version)\n * documented in the docs.\n * @param file The API specification file.
The type of the specification file should\n * be any of the [supported formats](https://docs.apimatic.io/api-\n * transformer/overview-transformer#supported-input-formats).\n * @return Response from the API call\n */\n async importNewAPIVersionViaFile(\n apiGroupId: string,\n accept: Accept,\n versionOverride: string,\n file: FileWrapper,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('POST');\n const mapped = req.prepareArgs({\n apiGroupId: [apiGroupId, string()],\n accept: [accept, acceptSchema],\n versionOverride: [versionOverride, string()],\n });\n req.header('Accept', mapped.accept);\n req.header('Content-Type', 'multipart/form-data');\n req.formData({\n version_override: mapped.versionOverride,\n file: file,\n });\n req.appendTemplatePath`/api-groups/${mapped.apiGroupId}/api-entities/import-via-file`;\n return req.callAsJson(apiEntitySchema, requestOptions);\n }\n\n /**\n * Import a new version for an API, against an existing API Group, by providing the URL of the API\n * specification file.\n *\n * You can also specify [API Metadata](https://docs.apimatic.io/manage-apis/apimatic-metadata) while\n * importing the API version using this endpoint. When specifying Metadata, the URL provided will be\n * that of a zip file containing the API specification file and the `APIMATIC-META` json file.\n *\n * @param apiGroupId The ID of the API Group for which to import a new API\n * version.\n * @param accept\n * @param body Request Body\n * @return Response from the API call\n */\n async importNewAPIVersionViaURL(\n apiGroupId: string,\n accept: Accept,\n body: ImportApiVersionViaUrlRequest,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('POST');\n const mapped = req.prepareArgs({\n apiGroupId: [apiGroupId, string()],\n accept: [accept, acceptSchema],\n body: [body, importApiVersionViaUrlRequestSchema],\n });\n req.header('Accept', mapped.accept);\n req.header(\n 'Content-Type',\n 'application/vnd.apimatic.apiGroupApiEntityUrlImportDto.v1+json'\n );\n req.json(mapped.body);\n req.appendTemplatePath`/api-groups/${mapped.apiGroupId}/api-entities/import-via-url`;\n return req.callAsJson(apiEntitySchema, requestOptions);\n }\n\n /**\n * Replace an API version of an API Group, by uploading the API specification file that will replace\n * the current version.\n *\n * You can also specify [API Metadata](https://docs.apimatic.io/manage-apis/apimatic-metadata) while\n * importing the API version using this endpoint. When specifying Metadata, the uploaded file will be a\n * zip file containing the API specification file and the `APIMATIC-META` json file.\n *\n * @param apiEntityId The ID of the API Entity to replace.\n * @param accept\n * @param file The API specification file.
The type of the specification file should be\n * any of the [supported formats](https://docs.apimatic.io/api-\n * transformer/overview-transformer#supported-input-formats).\n * @return Response from the API call\n */\n async inplaceAPIImportViaFile(\n apiEntityId: string,\n accept: Accept2,\n file: FileWrapper,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('PUT');\n const mapped = req.prepareArgs({\n apiEntityId: [apiEntityId, string()],\n accept: [accept, accept2Schema],\n });\n req.header('Accept', mapped.accept);\n req.header('Content-Type', 'multipart/form-data');\n req.formData({\n file: file,\n });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/import-via-file`;\n return req.call(requestOptions);\n }\n\n /**\n * Replace an API version of an API Group, by providing the URL of the API specification file that will\n * replace the current version.\n *\n * You can also specify [API Metadata](https://docs.apimatic.io/manage-apis/apimatic-metadata) while\n * importing the API version using this endpoint. When specifying Metadata, the URL provided will be\n * that of a zip file containing the API specification file and the `APIMATIC-META` json file.\n *\n * @param apiEntityId The ID of the API Entity to replace.\n * @param body Request Body\n * @return Response from the API call\n */\n async inplaceAPIImportViaURL(\n apiEntityId: string,\n body: InplaceImportApiViaUrlRequest,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('PUT');\n const mapped = req.prepareArgs({\n apiEntityId: [apiEntityId, string()],\n body: [body, inplaceImportApiViaUrlRequestSchema],\n });\n req.header(\n 'Content-Type',\n 'application/vnd.apimatic.apiEntityUrlImportDto.v1+json'\n );\n req.json(mapped.body);\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/import-via-url`;\n return req.call(requestOptions);\n }\n\n /**\n * Fetch an API Entity.\n *\n * @param apiEntityId The ID of the API Entity to fetch.\n * @return Response from the API call\n */\n async fetchAPIEntity(\n apiEntityId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({ apiEntityId: [apiEntityId, string()] });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}`;\n return req.callAsJson(apiEntitySchema, requestOptions);\n }\n\n /**\n * Download the API Specification file for a an API Version in any of the API Specification formats\n * supported by APIMatic.\n *\n * @param apiEntityId The ID of the API Entity to download.\n * @param format The format in which to download the API.
The format can be any of the\n * [supported formats](https://docs.apimatic.io/api-transformer/overview-\n * transformer#supported-input-formats).\n * @return Response from the API call\n */\n async downloadAPISpecification(\n apiEntityId: string,\n format: ExportFormats,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({\n apiEntityId: [apiEntityId, string()],\n format: [format, exportFormatsSchema],\n });\n req.query('format', mapped.format);\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/api-description`;\n return req.callAsStream(requestOptions);\n }\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { Schema, stringEnum } from '../schema';\n\n/**\n * Enum for Platforms\n */\nexport enum Platforms {\n CSNETSTANDARDLIB = 'CS_NET_STANDARD_LIB',\n JAVAECLIPSEJRELIB = 'JAVA_ECLIPSE_JRE_LIB',\n PHPGENERICLIBV2 = 'PHP_GENERIC_LIB',\n PYTHONGENERICLIB = 'PYTHON_GENERIC_LIB',\n RUBYGENERICLIB = 'RUBY_GENERIC_LIB',\n TSGENERICLIB = 'TS_GENERIC_LIB',\n}\n\n/**\n * Schema for Platforms\n */\nexport const platformsSchema: Schema = stringEnum(Platforms);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { object, Schema, string } from '../schema';\nimport { Platforms, platformsSchema } from './platforms';\n\nexport interface GenerateSdkViaUrlRequest {\n /** The URL for the API specification file.

**Note:** This URL should be publicly accessible. */\n url: string;\n /** The structure contains platforms that APIMatic CodeGen can generate SDKs and Docs in. */\n template: Platforms;\n}\n\nexport const generateSdkViaUrlRequestSchema: Schema = object(\n { url: ['url', string()], template: ['template', platformsSchema] }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { boolean, object, Schema, string } from '../schema';\nimport { Platforms, platformsSchema } from './platforms';\n\n/** The Code Generation structure encapsulates all the the details of an SDK generation performed by a user. */\nexport interface UserCodeGeneration {\n /** Unique Code Generation Identifier */\n id: string;\n /** The structure contains platforms that APIMatic CodeGen can generate SDKs and Docs in. */\n template: Platforms;\n /** The generated SDK */\n generatedFile: string;\n /** Generation Date and Time */\n generatedOn: string;\n /** The md5 hash of the API Description */\n hashCode: string;\n /** Generation Source */\n codeGenerationSource: string;\n /** Generation Version */\n codeGenVersion: string;\n /** Generation Status */\n success: boolean;\n /** Unique User Identifier */\n userId: string;\n /** API Specification file in a supported format */\n inputFile: string;\n}\n\nexport const userCodeGenerationSchema: Schema = object({\n id: ['id', string()],\n template: ['template', platformsSchema],\n generatedFile: ['generatedFile', string()],\n generatedOn: ['generatedOn', string()],\n hashCode: ['hashCode', string()],\n codeGenerationSource: ['codeGenerationSource', string()],\n codeGenVersion: ['codeGenVersion', string()],\n success: ['success', boolean()],\n userId: ['userId', string()],\n inputFile: ['inputFile', string()],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { ApiResponse, FileWrapper, RequestOptions } from '../core';\nimport {\n GenerateSdkViaUrlRequest,\n generateSdkViaUrlRequestSchema,\n} from '../models/generateSdkViaUrlRequest';\nimport { Platforms, platformsSchema } from '../models/platforms';\nimport {\n UserCodeGeneration,\n userCodeGenerationSchema,\n} from '../models/userCodeGeneration';\nimport { array, string } from '../schema';\nimport { BaseController } from './baseController';\n\nexport class CodeGenerationExternalApisController extends BaseController {\n /**\n * Generate an SDK for an API by by uploading the API specification file.\n *\n * This endpoint generates and then uploads the generated SDK to APIMatic's cloud storage. An ID for\n * the generation performed is returned as part of the response.\n *\n * This endpoint does not import an API into APIMatic.\n *\n * @param file The API specification file.
The type of the specification file should be\n * any of the [supported formats](https://docs.apimatic.io/api-\n * transformer/overview-transformer#supported-input-formats).\n * @param template The structure contains platforms that APIMatic CodeGen can generate SDKs and\n * Docs in.\n * @return Response from the API call\n */\n async generateSDKViaFile(\n file: FileWrapper,\n template: Platforms,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest(\n 'POST',\n '/code-generations/generate-via-file'\n );\n const mapped = req.prepareArgs({ template: [template, platformsSchema] });\n req.header('Content-Type', 'multipart/form-data');\n req.formData({\n file: file,\n template: mapped.template,\n });\n return req.callAsJson(userCodeGenerationSchema, requestOptions);\n }\n\n /**\n * Generate an SDK for an API by providing the URL of the API specification file.\n *\n * This endpoint generates and then uploads the generated SDK to APIMatic's cloud storage. An ID for\n * the generation performed is returned as part of the response.\n *\n * This endpoint does not import an API into APIMatic.\n *\n * @param body Request Body\n * @return Response from the API call\n */\n async generateSDKViaURL(\n body: GenerateSdkViaUrlRequest,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest(\n 'POST',\n '/code-generations/generate-via-url'\n );\n const mapped = req.prepareArgs({\n body: [body, generateSdkViaUrlRequestSchema],\n });\n req.header('Content-Type', 'application/vnd.apimatic.userCodeGenerationDto.v1+json');\n req.json(mapped.body);\n return req.callAsJson(userCodeGenerationSchema, requestOptions);\n }\n\n /**\n * Download the SDK generated via the Generate SDK endpoints.\n *\n * @param codegenId The ID of code generation received in the response of the [Generate SDK Via\n * File](https://www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-endpoints/code-generation-\n * external-apis/generate-sdk-via-file) or [Generate SDK Via URL ](https://www.apimatic.\n * io/api-docs-preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-endpoints/code-\n * generation-external-apis/generate-sdk-via-url) calls.\n * @return Response from the API call\n */\n async downloadSDK(\n codegenId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({ codegenId: [codegenId, string()] });\n req.appendTemplatePath`/code-generations/${mapped.codegenId}/generated-sdk`;\n return req.callAsStream(requestOptions);\n }\n\n /**\n * Get a list of all SDK generations performed with external APIs via the Generate SDK endpoints.\n *\n * @return Response from the API call\n */\n async listAllCodeGenerations(\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET', '/code-generations');\n return req.callAsJson(array(userCodeGenerationSchema), requestOptions);\n }\n\n /**\n * Download the API Specification file used as input for a specific SDK generation performed via the\n * Generate SDK endpoints.\n *\n * @param codegenId The ID of the code generation to download the API specification for. The code\n * generation ID is received in the response of the [Generate SDK Via File](https://www.\n * apimatic.io/api-docs-preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-\n * endpoints/code-generation-external-apis/generate-sdk-via-file) or [Generate SDK Via\n * URL ](https://www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-endpoints/code-generation-\n * external-apis/generate-sdk-via-url) calls\n * @return Response from the API call\n */\n async downloadInputFile(\n codegenId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({ codegenId: [codegenId, string()] });\n req.appendTemplatePath`/code-generations/${mapped.codegenId}/input-file`;\n return req.callAsStream(requestOptions);\n }\n\n /**\n * Get details on an SDK generation performed for an external API via the Generate SDK endpoints.\n *\n * @param codegenId The ID of the code generation to fetch. The code generation ID is received in the\n * response of the [Generate SDK Via File](https://www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-endpoints/code-generation-\n * external-apis/generate-sdk-via-file) or [Generate SDK Via URL ](https://www.apimatic.\n * io/api-docs-preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-endpoints/code-\n * generation-external-apis/generate-sdk-via-url) calls.\n * @return Response from the API call\n */\n async getACodeGeneration(\n codegenId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({ codegenId: [codegenId, string()] });\n req.appendTemplatePath`/code-generations/${mapped.codegenId}`;\n return req.callAsJson(userCodeGenerationSchema, requestOptions);\n }\n\n /**\n * Delete an SDK generation performed for an API via the Generate SDK endpoints.\n *\n * @param codegenId The ID of the code generation to delete. The code generation ID is received in the\n * response of the [Generate SDK Via File](https://www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-endpoints/code-generation-\n * external-apis/generate-sdk-via-file) or [Generate SDK Via URL ](https://www.apimatic.\n * io/api-docs-preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-endpoints/code-\n * generation-external-apis/generate-sdk-via-url) calls.\n * @return Response from the API call\n */\n async deleteCodeGeneration1(\n codegenId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('DELETE');\n const mapped = req.prepareArgs({ codegenId: [codegenId, string()] });\n req.appendTemplatePath`/code-generations/${mapped.codegenId}`;\n return req.call(requestOptions);\n }\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { boolean, object, Schema, string } from '../schema';\nimport { Platforms, platformsSchema } from './platforms';\n\n/** The Code Generation structure encapsulates all the the details of an SDK generation performed against an API Entity */\nexport interface APIEntityCodeGeneration {\n /** Unique Code Generation Identifier */\n id: string;\n /** The structure contains platforms that APIMatic CodeGen can generate SDKs and Docs in. */\n template: Platforms;\n /** The generated SDK */\n generatedFile: string;\n /** Generation Date and Time */\n generatedOn: string;\n /** The md5 hash of the API Description */\n hashCode: string;\n /** Generation Source */\n codeGenerationSource: string;\n /** Generation Version */\n codeGenVersion: string;\n /** Generation Status */\n success: boolean;\n /** Unique API Entity Identifier */\n apiEntityId: string;\n}\n\nexport const aPIEntityCodeGenerationSchema: Schema = object(\n {\n id: ['id', string()],\n template: ['template', platformsSchema],\n generatedFile: ['generatedFile', string()],\n generatedOn: ['generatedOn', string()],\n hashCode: ['hashCode', string()],\n codeGenerationSource: ['codeGenerationSource', string()],\n codeGenVersion: ['codeGenVersion', string()],\n success: ['success', boolean()],\n apiEntityId: ['apiEntityId', string()],\n }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { ApiResponse, RequestOptions } from '../core';\nimport {\n APIEntityCodeGeneration,\n aPIEntityCodeGenerationSchema,\n} from '../models/aPIEntityCodeGeneration';\nimport { Platforms, platformsSchema } from '../models/platforms';\nimport { array, string } from '../schema';\nimport { BaseController } from './baseController';\n\nexport class CodeGenerationImportedApisController extends BaseController {\n /**\n * Generate an SDK for an API Version.\n *\n * This endpoint generates and then uploads the generated SDK to APIMatic's cloud storage. An ID for\n * the generation performed is returned as part of the response.\n *\n * @param apiEntityId The ID of the API Entity to generate the SDK for.\n * @param template The structure contains platforms that APIMatic CodeGen can generate SDKs and\n * Docs in.\n * @return Response from the API call\n */\n async generateSDK(\n apiEntityId: string,\n template: Platforms,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('POST');\n const mapped = req.prepareArgs({\n apiEntityId: [apiEntityId, string()],\n template: [template, platformsSchema],\n });\n req.header('Content-Type', 'application/x-www-form-urlencoded');\n req.form({\n template: mapped.template,\n });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/code-generations/generate`;\n return req.callAsJson(aPIEntityCodeGenerationSchema, requestOptions);\n }\n\n /**\n * Download the SDK generated via the Generate SDK endpoint.\n *\n * @param apiEntityId The ID of the API Entity for which the SDK was generated.\n * @param codegenId The ID of code generation received in the response of the [SDK generation\n * call](https://www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-endpoints/code-\n * generation-imported-apis/generate-sdk).\n * @return Response from the API call\n */\n async downloadSDK(\n apiEntityId: string,\n codegenId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({\n apiEntityId: [apiEntityId, string()],\n codegenId: [codegenId, string()],\n });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/code-generations/${mapped.codegenId}/generated-sdk`;\n return req.callAsStream(requestOptions);\n }\n\n /**\n * Get a list of all SDK generations done against an API Version via the Generate SDK endpoint.\n *\n * @param apiEntityId The ID of the API Entity for which to list code generations.\n * @return Response from the API call\n */\n async listAllCodeGenerations(\n apiEntityId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({ apiEntityId: [apiEntityId, string()] });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/code-generations`;\n return req.callAsJson(array(aPIEntityCodeGenerationSchema), requestOptions);\n }\n\n /**\n * Get details on an SDK generation performed via the Generate SDK endpoint.\n *\n * @param apiEntityId The ID of the API Entity to fetch the code generation for.\n * @param codegenId The ID of the code generation to fetch. The code generation ID is received in the\n * response of the [SDK generation call](https://www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-endpoints/code-\n * generation-imported-apis/generate-sdk).\n * @return Response from the API call\n */\n async getACodeGeneration(\n apiEntityId: string,\n codegenId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({\n apiEntityId: [apiEntityId, string()],\n codegenId: [codegenId, string()],\n });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/code-generations/${mapped.codegenId}`;\n return req.callAsJson(aPIEntityCodeGenerationSchema, requestOptions);\n }\n\n /**\n * Delete an SDK generation performed for an API Version via the Generate SDK endpoint.\n *\n * @param apiEntityId The ID of the API Entity to delete the code generation for.\n * @param codegenId The ID of the code generation to delete. The code generation ID is received in the\n * response of the [SDK generation call](https://www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-endpoints/code-\n * generation-imported-apis/generate-sdk).\n * @return Response from the API call\n */\n async deleteCodeGeneration(\n apiEntityId: string,\n codegenId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('DELETE');\n const mapped = req.prepareArgs({\n apiEntityId: [apiEntityId, string()],\n codegenId: [codegenId, string()],\n });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/code-generations/${mapped.codegenId}`;\n return req.call(requestOptions);\n }\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { Schema, stringEnum } from '../schema';\n\n/**\n * Enum for Accept3\n */\nexport enum Accept3 {\n EnumApplicationzip = 'application/zip',\n}\n\n/**\n * Schema for Accept3\n */\nexport const accept3Schema: Schema = stringEnum(Accept3);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { ApiResponse, FileWrapper, RequestOptions } from '../core';\nimport { Accept3, accept3Schema } from '../models/accept3';\nimport { string } from '../schema';\nimport { BaseController } from './baseController';\n\nexport class DocsPortalManagementController extends BaseController {\n /**\n * Publish artifacts for a Hosted Portal.\n *\n * This endpoint regenerates all the artifacts for a hosted portal and uploads them to APIMatic's cloud\n * storage, from where the Portal fetches them. These artifacts include:\n *\n * 1. SDKs\n * 2. Docs\n * 3. API Specification files\n *\n * Call this endpoint to update your Hosted Portal after you update an API Entity via any of the Import\n * API Endpoints.\n *\n * __**Note: If you have an embedded portal against the same API Entity, artifacts for that portal will\n * get updated as well.**__\n *\n * @param apiEntityId The ID of the API Entity to update the portal artifacts for.\n * @return Response from the API call\n */\n async publishHostedPortal(\n apiEntityId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('PUT');\n const mapped = req.prepareArgs({ apiEntityId: [apiEntityId, string()] });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/hosted-portal`;\n return req.call(requestOptions);\n }\n\n /**\n * Publish artifacts for an Embedded Portal and get the Portal Embed script.\n *\n * This endpoint regenerates all the artifacts for an embedded portal and uploads them to APIMatic's\n * cloud storage, from where the Portal fetches them. These artifacts include:\n *\n * 1. SDKs\n * 2. Docs\n * 3. API Specification files\n *\n * Call this endpoint to update your Embedded Portal after you update an API Entity via any of the\n * Import API Endpoints. This endpoint returns the Portal Embed script in the response.\n *\n * __**Note: If you have a hosted portal against the same API Entity, artifacts for that portal will\n * get updated as well.**__\n *\n * @param apiEntityId The ID of the API Entity to update the portal artifacts for.\n * @return Response from the API call\n */\n async publishEmbeddedPortal(\n apiEntityId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('PUT');\n const mapped = req.prepareArgs({ apiEntityId: [apiEntityId, string()] });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/embedded-portal`;\n return req.call(requestOptions);\n }\n\n /**\n * Generate an On-premise Documentation Portal for an API Entity. This endpoint generates all artifacts\n * for the Portal and packages them together into a zip file along with the required HTML, CSS and JS\n * files. The generated artifacts include:\n *\n * 1. SDKs\n * 2. Docs\n * 3. API Specification files\n *\n * The endpoint returns a zip file that contains a static Site and can be hosted on any Web Server.\n *\n * @param apiEntityId The ID of the API Entity to generate the Portal for.\n * @param accept Example: application/zip\n * @return Response from the API call\n */\n async generateOnPremPortalViaAPIEntity(\n apiEntityId: string,\n accept: Accept3,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({\n apiEntityId: [apiEntityId, string()],\n accept: [accept, accept3Schema],\n });\n req.header('Accept', mapped.accept);\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/on-prem-portal`;\n return req.call(requestOptions);\n }\n\n /**\n * Generate an On-premise Documentation Portal by uploading a Portal Build Input. This endpoint\n * generates all artifacts for the Portal and packages them together into a zip file along with the\n * required HTML, CSS and JS files. The generated artifacts include:\n *\n * 1. SDKs\n * 2. Docs\n * 3. API Specification files\n *\n * The endpoint returns a zip file that contains a static Site and can be hosted on any Web Server.\n *\n * @param file The input file to the Portal Generator. Must contain the build file.\n * @return Response from the API call\n */\n async generateOnPremPortalViaBuildInput(\n file: FileWrapper,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('POST', '/portal');\n req.header('ContentType', 'multipart/form-data');\n req.formData({\n file: file,\n });\n return req.callAsStream(requestOptions);\n }\n\n /**\n * Unpublish a Hosted or Embedded Portal published for an API Entity. Calling this endpoint deletes all\n * the published artifacts for a Portal from APIMatic's cloud storage.\n *\n * In case of a Hosted Portal, to completely remove the Portal, this endpoint needs to be called\n * against all API versions that the Portal hosts.\n *\n * In case of an Embedded Portal, to completely remove the Portal, the user needs to manually remove\n * the Portal Embed script from the embedding site.\n *\n * @param apiEntityId The ID of the API Entity to unpublish the Portal artifacts for.\n * @return Response from the API call\n */\n async unpublishPortal(\n apiEntityId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('DELETE');\n const mapped = req.prepareArgs({ apiEntityId: [apiEntityId, string()] });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/portal`;\n return req.call(requestOptions);\n }\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { Schema, stringEnum } from '../schema';\n\n/**\n * Enum for Id\n */\nexport enum Id {\n Enum5dcd2b5893c3e31a206f30c4 = '5dcd2b5893c3e31a206f30c4',\n}\n\n/**\n * Schema for Id\n */\nexport const idSchema: Schema = stringEnum(Id);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { Schema, stringEnum } from '../schema';\n\n/**\n * Enum for Link\n */\nexport enum Link {\n EnumHttpswwwnugetorgpackagesmyPackage111 = 'https://www.nuget.org/packages/myPackage/1.1.1',\n}\n\n/**\n * Schema for Link\n */\nexport const linkSchema: Schema = stringEnum(Link);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { object, optional, Schema, string, unknown } from '../schema';\nimport { Id, idSchema } from './id';\nimport { Link, linkSchema } from './link';\n\n/** This structure contains all details that goes into package deployment. */\nexport interface CSNETSTANDARDLIB {\n /** Unique package identifier */\n id?: Id;\n /** Package Repository as per platform */\n packageRepository: string;\n /** Package Name */\n packageName: string;\n version: string;\n /** Any additional platform specific deployment detail */\n additionalDeploymentInformation?: unknown;\n /** Link of deployed package */\n link?: Link;\n}\n\nexport const cSNETSTANDARDLIBSchema: Schema = object({\n id: ['id', optional(idSchema)],\n packageRepository: ['packageRepository', string()],\n packageName: ['packageName', string()],\n version: ['version', string()],\n additionalDeploymentInformation: [\n 'additionalDeploymentInformation',\n unknown(),\n ],\n link: ['link', optional(linkSchema)],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { lazy, object, Schema } from '../schema';\nimport { CSNETSTANDARDLIB, cSNETSTANDARDLIBSchema } from './cSNETSTANDARDLIB';\n\n/** This structure encapsulates all package deployment details. */\nexport interface TemplatesPackageDeploymentInformation {\n /** This structure contains all details that goes into package deployment. */\n cSNETSTANDARDLIB: CSNETSTANDARDLIB;\n}\n\nexport const templatesPackageDeploymentInformationSchema: Schema = object(\n {\n cSNETSTANDARDLIB: [\n 'CS_NET_STANDARD_LIB',\n lazy(() => cSNETSTANDARDLIBSchema),\n ],\n }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { lazy, object, Schema, string } from '../schema';\nimport {\n TemplatesPackageDeploymentInformation,\n templatesPackageDeploymentInformationSchema,\n} from './templatesPackageDeploymentInformation';\n\n/** The structure contains Package Deployment Information along with Id. */\nexport interface PackageDeploymentInformation {\n /** Package Deployment Identifier */\n id: string;\n /** This structure encapsulates all package deployment details. */\n templatesPackageDeploymentInformation: TemplatesPackageDeploymentInformation;\n}\n\nexport const packageDeploymentInformationSchema: Schema = object(\n {\n id: ['id', string()],\n templatesPackageDeploymentInformation: [\n 'templatesPackageDeploymentInformation',\n lazy(() => templatesPackageDeploymentInformationSchema),\n ],\n }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { object, Schema, string } from '../schema';\n\nexport interface AuthorIdentifiers {\n email: string;\n userName: string;\n}\n\nexport const authorIdentifiersSchema: Schema = object({\n email: ['Email', string()],\n userName: ['UserName', string()],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { lazy, object, Schema, string, unknown } from '../schema';\nimport {\n AuthorIdentifiers,\n authorIdentifiersSchema,\n} from './authorIdentifiers';\n\nexport interface PublishedPackage {\n id: string;\n createdOn: string;\n apiEntityId: string;\n packageRepository: string;\n template: string;\n packageName: string;\n version: string;\n additionalDeploymentInformation?: unknown;\n authorIdentifiers: AuthorIdentifiers;\n link: string;\n}\n\nexport const publishedPackageSchema: Schema = object({\n id: ['id', string()],\n createdOn: ['createdOn', string()],\n apiEntityId: ['apiEntityId', string()],\n packageRepository: ['packageRepository', string()],\n template: ['template', string()],\n packageName: ['packageName', string()],\n version: ['version', string()],\n additionalDeploymentInformation: [\n 'additionalDeploymentInformation',\n unknown(),\n ],\n authorIdentifiers: ['authorIdentifiers', lazy(() => authorIdentifiersSchema)],\n link: ['link', string()],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { Schema, stringEnum } from '../schema';\n\n/**\n * Enum for PackageRepositories\n */\nexport enum PackageRepositories {\n Npm = 'Npm',\n PyPI = 'PyPI',\n RubyGems = 'RubyGems',\n}\n\n/**\n * Schema for PackageRepositories\n */\nexport const packageRepositoriesSchema: Schema = stringEnum(PackageRepositories);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { object, Schema, string, unknown } from '../schema';\nimport {\n PackageRepositories,\n packageRepositoriesSchema,\n} from './packageRepositories';\nimport { Platforms, platformsSchema } from './platforms';\n\nexport interface PublishPackageInput {\n packageRepository: PackageRepositories;\n /** The structure contains platforms that APIMatic CodeGen can generate SDKs and Docs in. */\n template: Platforms;\n packageName: string;\n version: string;\n additionalDeploymentInformation?: unknown;\n}\n\nexport const publishPackageInputSchema: Schema = object({\n packageRepository: ['packageRepository', packageRepositoriesSchema],\n template: ['template', platformsSchema],\n packageName: ['packageName', string()],\n version: ['version', string()],\n additionalDeploymentInformation: [\n 'additionalDeploymentInformation',\n unknown(),\n ],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { lazy, object, Schema } from '../schema';\nimport { CSNETSTANDARDLIB, cSNETSTANDARDLIBSchema } from './cSNETSTANDARDLIB';\n\n/** This structure helps update package deployment details. */\nexport interface UpdateTemplatesPackageDeploymentInformation {\n /** This structure contains all details that goes into package deployment. */\n cSNETSTANDARDLIB: CSNETSTANDARDLIB;\n}\n\nexport const updateTemplatesPackageDeploymentInformationSchema: Schema = object(\n {\n cSNETSTANDARDLIB: [\n 'CS_NET_STANDARD_LIB',\n lazy(() => cSNETSTANDARDLIBSchema),\n ],\n }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { lazy, object, Schema } from '../schema';\nimport {\n UpdateTemplatesPackageDeploymentInformation,\n updateTemplatesPackageDeploymentInformationSchema,\n} from './updateTemplatesPackageDeploymentInformation';\n\n/** This structure is used to update package deployment details. */\nexport interface UpdatePackageDeploymentInformation {\n /** This structure helps update package deployment details. */\n templatesPackageDeploymentInformation: UpdateTemplatesPackageDeploymentInformation;\n}\n\nexport const updatePackageDeploymentInformationSchema: Schema = object(\n {\n templatesPackageDeploymentInformation: [\n 'templatesPackageDeploymentInformation',\n lazy(() => updateTemplatesPackageDeploymentInformationSchema),\n ],\n }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { ApiResponse, RequestOptions } from '../core';\nimport {\n PackageDeploymentInformation,\n packageDeploymentInformationSchema,\n} from '../models/packageDeploymentInformation';\nimport {\n PublishedPackage,\n publishedPackageSchema,\n} from '../models/publishedPackage';\nimport {\n PublishPackageInput,\n publishPackageInputSchema,\n} from '../models/publishPackageInput';\nimport {\n UpdatePackageDeploymentInformation,\n updatePackageDeploymentInformationSchema,\n} from '../models/updatePackageDeploymentInformation';\nimport { array, string } from '../schema';\nimport { BaseController } from './baseController';\n\nexport class PackageDeploymentController extends BaseController {\n /**\n * Update Package Deployment Information for an API Entity. To find out more on how to publish a\n * package visit: [Adding Packages to Portal](https://docs.apimatic.io/developer-experience-\n * portal/adding%20packages%20to%20portal/)\n *\n * To find out more about publishing packages visit: [Publish Packages](https://docs.apimatic.\n * io/developer-experience-portal/adding%20packages%20to%20portal/)\n *\n * @param apiEntityId Unique API Entity Identifier\n * @param body Package Deployment Information to be updated.\n * This comprises of the Platform Template, the\n * Repository Name and Version.\n * @return Response from the API call\n */\n async updatePackageDeploymentInformation(\n apiEntityId: string,\n body: UpdatePackageDeploymentInformation,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('PUT');\n const mapped = req.prepareArgs({\n apiEntityId: [apiEntityId, string()],\n body: [body, updatePackageDeploymentInformationSchema],\n });\n req.header('Content-Type', 'application/json');\n req.json(mapped.body);\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/docs/package-deployment-information`;\n return req.call(requestOptions);\n }\n\n /**\n * Query Package deployment details added for an API Entity.\n * To find out more about adding packages to portal: [Adding Packages to Portal](https://docs.apimatic.\n * io/developer-experience-portal/adding%20packages%20to%20portal/)\n *\n * @param apiEntityId Unique API Entity identifier\n * @return Response from the API call\n */\n async packageDeploymentInformation(\n apiEntityId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n req.baseUrl('default');\n const mapped = req.prepareArgs({ apiEntityId: [apiEntityId, string()] });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/docs/package-deployment-information`;\n return req.callAsJson(packageDeploymentInformationSchema, requestOptions);\n }\n\n /**\n * Returns logs for all packages published for the API.\n *\n * @param apiEntityId Unique API Identifier\n * @return Response from the API call\n */\n async getPublishedPackagesForAPI(\n apiEntityId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({ apiEntityId: [apiEntityId, string()] });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/published-packages`;\n return req.callAsJson(array(publishedPackageSchema), requestOptions);\n }\n\n /**\n * Publish a new package for API by specifying package name and version number.\n *\n * To publish packages using this API, you will first need to add package repository credentials to\n * your APIMatic account.\n * Check out the [docs](https://docs.apimatic.io/advanced/publishing-a-package/) for a guide on adding\n * package repository credentials\n *\n * @param apiEntityId Unique API Identifier\n * @param body\n * @return Response from the API call\n */\n async publishAPackageForAPI(\n apiEntityId: string,\n body: PublishPackageInput,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('POST');\n const mapped = req.prepareArgs({\n apiEntityId: [apiEntityId, string()],\n body: [body, publishPackageInputSchema],\n });\n req.header('Content-Type', 'application/json');\n req.json(mapped.body);\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/published-packages/`;\n return req.callAsJson(publishedPackageSchema, requestOptions);\n }\n\n /**\n * Pull details for a certain published package by specifying Published Package Id.\n *\n * @param apiEntityId Unique API Identifier\n * @param publishedPackageId Unique Published Package Identifier\n * @return Response from the API call\n */\n async getAPublishedPackage(\n apiEntityId: string,\n publishedPackageId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n req.baseUrl('default');\n const mapped = req.prepareArgs({\n apiEntityId: [apiEntityId, string()],\n publishedPackageId: [publishedPackageId, string()],\n });\n req.appendTemplatePath`/api/api-entities/${mapped.apiEntityId}/published-packages/${mapped.publishedPackageId}`;\n return req.callAsJson(publishedPackageSchema, requestOptions);\n }\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { boolean, lazy, object, optional, Schema, string } from '../schema';\nimport {\n ApiValidationSummary,\n apiValidationSummarySchema,\n} from './apiValidationSummary';\n\n/** Transformation structure encapsulates all the details of a Transformation. */\nexport interface Transformation {\n /** Unique Transformation Identifier */\n id: string;\n /** Transformation Date and Time */\n transformedOn: string;\n /** Unique User Identifier */\n userId: string;\n /** API Specification file to be transformed */\n inputtedFile: string;\n /** API Specification file transformed to desired format */\n generatedFile: string;\n /** Desired Specification format */\n exportFormat: string;\n /** Source of Transformation */\n transformationSource: string;\n /** Via File or URL */\n transformationInput: string;\n /** CodeGen Engine Version */\n codeGenVersion: string;\n /** Successful Transformation Flag */\n success: boolean;\n importSummary?: ApiValidationSummary;\n apiValidationSummary?: ApiValidationSummary;\n}\n\nexport const transformationSchema: Schema = object({\n id: ['id', string()],\n transformedOn: ['transformedOn', string()],\n userId: ['userId', string()],\n inputtedFile: ['inputtedFile', string()],\n generatedFile: ['generatedFile', string()],\n exportFormat: ['exportFormat', string()],\n transformationSource: ['transformationSource', string()],\n transformationInput: ['transformationInput', string()],\n codeGenVersion: ['codeGenVersion', string()],\n success: ['success', boolean()],\n importSummary: [\n 'importSummary',\n optional(lazy(() => apiValidationSummarySchema)),\n ],\n apiValidationSummary: [\n 'apiValidationSummary',\n optional(lazy(() => apiValidationSummarySchema)),\n ],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { object, Schema, string } from '../schema';\nimport { ExportFormats, exportFormatsSchema } from './exportFormats';\n\n/** This structure puts together the URL of the file to be transformed, along with the desired export format. */\nexport interface TransformViaUrlRequest {\n /** The URL for the API specification file.

**Note:** This URL should be publicly accessible. */\n url: string;\n /** The structure contains API specification formats that Transformer can convert to. */\n exportFormat: ExportFormats;\n}\n\nexport const transformViaUrlRequestSchema: Schema = object(\n {\n url: ['url', string()],\n exportFormat: ['export_format', exportFormatsSchema],\n }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { ApiResponse, FileWrapper, RequestOptions } from '../core';\nimport { ExportFormats, exportFormatsSchema } from '../models/exportFormats';\nimport { Transformation, transformationSchema } from '../models/transformation';\nimport {\n TransformViaUrlRequest,\n transformViaUrlRequestSchema,\n} from '../models/transformViaUrlRequest';\nimport { array, string } from '../schema';\nimport { BaseController } from './baseController';\n\nexport class TransformationController extends BaseController {\n /**\n * Transform an API into any of the supported API specification formats by uploading the API\n * specification file.\n *\n * This endpoint transforms and then uploads the transformed API specification to APIMatic's cloud\n * storage. An ID for the transformation performed is returned as part of the response.\n *\n * @param file The API specification file.
The type of the specification file should be\n * any of the [supported formats](https://docs.apimatic.io/api-\n * transformer/overview-transformer#supported-input-formats).\n * @param exportFormat The structure contains API specification formats that Transformer can\n * convert to.\n * @return Response from the API call\n */\n async transformViaFile(\n file: FileWrapper,\n exportFormat: ExportFormats,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest(\n 'POST',\n '/transformations/transform-via-file'\n );\n const mapped = req.prepareArgs({\n exportFormat: [exportFormat, exportFormatsSchema],\n });\n req.header('ContentType', 'multipart/form-data');\n req.formData({\n file: file,\n export_format: mapped.exportFormat,\n });\n return req.callAsJson(transformationSchema, requestOptions);\n }\n\n /**\n * Transform an API into any of the supported API specification formats by providing the URL of the API\n * specification file.\n *\n * This endpoint transforms and then uploads the transformed API specification to APIMatic's cloud\n * storage. An ID for the transformation performed is returned as part of the response.\n *\n * @param body Request Body\n * @return Response from the API call\n */\n async transformViaURL(\n body: TransformViaUrlRequest,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest(\n 'POST',\n '/transformations/transform-via-url'\n );\n const mapped = req.prepareArgs({\n body: [body, transformViaUrlRequestSchema],\n });\n req.header(\n 'Content-Type',\n 'application/vnd.apimatic.urlTransformDto.v1+json'\n );\n req.json(mapped.body);\n return req.callAsJson(transformationSchema, requestOptions);\n }\n\n /**\n * Download the transformed API specification file transformed via the Transformation endpoints.\n *\n * @param transformationId The ID of transformation received in the response of the [Transform Via File\n * ](https://www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-\n * endpoints/transformation/transform-via-file) or [Transform Via URL ](https:\n * //www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-\n * endpoints/transformation/transform-via-url) calls.\n * @return Response from the API call\n */\n async downloadTransformedFile(\n transformationId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({\n transformationId: [transformationId, string()],\n });\n req.appendTemplatePath`/transformations/${mapped.transformationId}/converted-file`;\n return req.callAsStream(requestOptions);\n }\n\n /**\n * Download the API Specification file used as input for a particular Transformation performed via the\n * Transformation endpoints.\n *\n * @param transformationId The ID of the transformation to download the API specification for. The\n * transformation ID is received in the response of the [Transform Via File\n * ](https://www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-\n * endpoints/transformation/transform-via-file) or [Transform Via URL](https://www.\n * apimatic.io/api-docs-preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-\n * endpoints/transformation/transform-via-url) calls.\n * @return Response from the API call\n */\n async downloadInputFile(\n transformationId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({\n transformationId: [transformationId, string()],\n });\n req.appendTemplatePath`/transformations/${mapped.transformationId}/input-file`;\n return req.callAsStream(requestOptions);\n }\n\n /**\n * Get a list of all API transformations performed.\n *\n * @return Response from the API call\n */\n async listAllTransformations(\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET', '/transformations');\n return req.callAsJson(array(transformationSchema), requestOptions);\n }\n\n /**\n * Get details on a particular Transformation performed via the Transformation endpoints.\n *\n * @param transformationId The ID of the transformation to fetch. The transformation ID is received in\n * the response of the [Transform Via File ](https://www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-\n * endpoints/transformation/transform-via-file) or [Transform Via URL ](https:\n * //www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-\n * endpoints/transformation/transform-via-url) calls.\n * @return Response from the API call\n */\n async getATransformation(\n transformationId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({\n transformationId: [transformationId, string()],\n });\n req.appendTemplatePath`/transformations/${mapped.transformationId}`;\n return req.callAsJson(transformationSchema, requestOptions);\n }\n\n /**\n * Delete a particular Transformation performed for an API via the Transformation endpoints.\n *\n * @param transformationId The ID of the transformation to delete. The transformation ID is received in\n * the response of the [Transform Via File ](https://www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-\n * endpoints/transformation/transform-via-file) or [Transform Via URL](https://www.\n * apimatic.io/api-docs-preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-\n * endpoints/transformation/transform-via-url) calls.\n * @return Response from the API call\n */\n async deleteTransformation(\n transformationId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('DELETE');\n const mapped = req.prepareArgs({\n transformationId: [transformationId, string()],\n });\n req.appendTemplatePath`/transformations/${mapped.transformationId}`;\n return req.call(requestOptions);\n }\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { Schema, stringEnum } from '../schema';\n\n/**\n * Enum for ContentType\n */\nexport enum ContentType {\n EnumMultipartformdata = 'multipart/form-data',\n}\n\n/**\n * Schema for ContentType\n */\nexport const contentTypeSchema: Schema = stringEnum(ContentType);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { Schema, stringEnum } from '../schema';\n\n/**\n * Enum for ImplementationType\n */\nexport enum ImplementationType {\n Structure = 'Structure',\n Enumeration = 'Enumeration',\n Exception = 'Exception',\n}\n\n/**\n * Schema for ImplementationType\n */\nexport const implementationTypeSchema: Schema = stringEnum(ImplementationType);\n"],"names":["undefined","customHeaderAuthenticationProvider","authorization","requiresAuth","passThroughInterceptor","request","options","next","customHeaderParams","mergeHeaders","headers","Environment","DEFAULT_CONFIGURATION","timeout","environment","Production","XmlSerialization","xmlSerialize","_rootName","_value","Error","xmlDeserialize","_xmlString","USER_AGENT","Client","config","_config","_requestBuilderFactory","createRequestHandlerFactory","server","getBaseUri","HttpClient","clientConfigOverrides","unstable_httpClientOptions","withErrorHandlers","withUserAgent","withAuthenticationByDefault","getRequestBuilderFactory","withConfiguration","createHttpClientAdapter","client","requestOptions","executeRequest","baseUrlProvider","authProvider","httpClient","addons","xmlSerializer","requestBuilderFactory","createRequestBuilderFactory","ApiError","tap","callback","requestBuilder","forEach","c","rb","defaultToError","header","authenticate","apiValidationSummarySchema","object","success","boolean","errors","array","string","warnings","messages","BaseController","createRequest","APIValidationExternalApisController","validateAPIViaFile","file","req","baseUrl","formData","callAsJson","validateAPIViaURL","descriptionUrl","mapped","prepareArgs","query","docsValidationSummarySchema","APIValidationImportedApisController","validateAPI","apiEntityId","appendTemplatePath","validateAPIForDocs","Accept","acceptSchema","stringEnum","Accept2","accept2Schema","authenticationSchema","id","authType","scopes","parameters","authScopes","authGrantTypes","paramFormats","unknown","codeGenSettingsSchema","isAsync","useHttpMethodPrefix","useModelPrefix","useEnumPrefix","useConstructorsForConfig","useCommonSdkLibrary","generateInterfaces","generateAppveyorConfig","generateCircleConfig","generateJenkinsConfig","generateTravisConfig","androidUseAppManifest","iosUseAppInfoPlist","iosGenerateCoreData","runscopeEnabled","collapseParamsToArray","preserveParameterOrder","appendContentHeaders","modelSerializationIsJSON","nullify404","validateRequiredParameters","enableAdditionalModelProperties","javaUsePropertiesConfig","useControllerPrefix","useExceptionPrefix","parameterArrayFormat","objCHttpClient","cSharpHttpClient","androidHttpClient","nodeHttpClient","phpHttpClient","bodySerialization","number","arraySerialization","enableLogging","enableHttpCache","retries","retryInterval","generateAdvancedDocs","storeTimezoneInformation","enablePhpComposerVersionString","securityProtocols","underscoreNumbers","useSingletonPattern","disableLinting","allowSkippingSSLCertVerification","applyCustomizations","doNotSplitWords","sortResources","enableGlobalUserAgent","endpointsGroupSchema","name","description","importValidationSummarySchema","metaDataSchema","importValidationSummary","lazy","apiValidationSummary","docsValidationSummary","serverSchema","url","environmentSchema","servers","attributesSchema","parameterSchema","optional","type","constant","isArray","isStream","isAttribute","isMap","attributes","nullable","defaultValue","paramFormat","serverConfigurationSchema","defaultEnvironment","defaultServer","environments","testGenSettingsSchema","precisionDelta","testTimeout","configuration","apiEntitySchema","encryptedId","apiKey","apiGroupId","imageUri","creationDate","mPublic","version","additionalHeaders","authentication","codeGenSettings","testGenSettings","serverConfiguration","endpointsGroup","metaData","ExportFormats","exportFormatsSchema","importApiVersionViaUrlRequestSchema","versionOverride","importApiViaUrlRequestSchema","inplaceImportApiViaUrlRequestSchema","ApisManagementController","importAPIViaFile","importAPIViaURL","body","json","importNewAPIVersionViaFile","accept","version_override","importNewAPIVersionViaURL","inplaceAPIImportViaFile","call","inplaceAPIImportViaURL","fetchAPIEntity","downloadAPISpecification","format","callAsStream","Platforms","platformsSchema","generateSdkViaUrlRequestSchema","template","userCodeGenerationSchema","generatedFile","generatedOn","hashCode","codeGenerationSource","codeGenVersion","userId","inputFile","CodeGenerationExternalApisController","generateSDKViaFile","generateSDKViaURL","downloadSDK","codegenId","listAllCodeGenerations","downloadInputFile","getACodeGeneration","deleteCodeGeneration1","aPIEntityCodeGenerationSchema","CodeGenerationImportedApisController","generateSDK","form","deleteCodeGeneration","Accept3","accept3Schema","DocsPortalManagementController","publishHostedPortal","publishEmbeddedPortal","generateOnPremPortalViaAPIEntity","generateOnPremPortalViaBuildInput","unpublishPortal","Id","idSchema","Link","linkSchema","cSNETSTANDARDLIBSchema","packageRepository","packageName","additionalDeploymentInformation","link","templatesPackageDeploymentInformationSchema","cSNETSTANDARDLIB","packageDeploymentInformationSchema","templatesPackageDeploymentInformation","authorIdentifiersSchema","email","userName","publishedPackageSchema","createdOn","authorIdentifiers","PackageRepositories","packageRepositoriesSchema","publishPackageInputSchema","updateTemplatesPackageDeploymentInformationSchema","updatePackageDeploymentInformationSchema","PackageDeploymentController","updatePackageDeploymentInformation","packageDeploymentInformation","getPublishedPackagesForAPI","publishAPackageForAPI","getAPublishedPackage","publishedPackageId","transformationSchema","transformedOn","inputtedFile","exportFormat","transformationSource","transformationInput","importSummary","transformViaUrlRequestSchema","TransformationController","transformViaFile","export_format","transformViaURL","downloadTransformedFile","transformationId","listAllTransformations","getATransformation","deleteTransformation","ContentType","ImplementationType"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,OAAO,IAAI,UAAU,OAAO,EAAE;AAElC;AACA,EAAE,IAAI,EAAE,GAAG,MAAM,CAAC,SAAS,CAAC;AAC5B,EAAE,IAAI,MAAM,GAAG,EAAE,CAAC,cAAc,CAAC;AACjC,EAAE,IAAIA,WAAS,CAAC;AAChB,EAAE,IAAI,OAAO,GAAG,OAAO,MAAM,KAAK,UAAU,GAAG,MAAM,GAAG,EAAE,CAAC;AAC3D,EAAE,IAAI,cAAc,GAAG,OAAO,CAAC,QAAQ,IAAI,YAAY,CAAC;AACxD,EAAE,IAAI,mBAAmB,GAAG,OAAO,CAAC,aAAa,IAAI,iBAAiB,CAAC;AACvE,EAAE,IAAI,iBAAiB,GAAG,OAAO,CAAC,WAAW,IAAI,eAAe,CAAC;AACjE;AACA,EAAE,SAAS,MAAM,CAAC,GAAG,EAAE,GAAG,EAAE,KAAK,EAAE;AACnC,IAAI,MAAM,CAAC,cAAc,CAAC,GAAG,EAAE,GAAG,EAAE;AACpC,MAAM,KAAK,EAAE,KAAK;AAClB,MAAM,UAAU,EAAE,IAAI;AACtB,MAAM,YAAY,EAAE,IAAI;AACxB,MAAM,QAAQ,EAAE,IAAI;AACpB,KAAK,CAAC,CAAC;AACP,IAAI,OAAO,GAAG,CAAC,GAAG,CAAC,CAAC;AACpB,GAAG;AACH,EAAE,IAAI;AACN;AACA,IAAI,MAA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,CATT;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,KAhKF;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AAAA;AAAA,EAA8C4B,cAA9C;;AChBA;;;;;AAMA;AAKA,WAAY8O;AACVA,EAAAA,oCAAA,wBAAA;AACD,CAFD,EAAYA,mBAAW,KAAXA,mBAAW,KAAA,CAAvB;;ACXA;;;;;AAMA;AAKA,WAAYC;AACVA,EAAAA,+BAAA,cAAA;AACAA,EAAAA,iCAAA,gBAAA;AACAA,EAAAA,+BAAA,cAAA;AACD,CAJD,EAAYA,0BAAkB,KAAlBA,0BAAkB,KAAA,CAA9B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/dist/sdk.cjs.production.min.js b/dist/sdk.cjs.production.min.js index bd8acf9..beeaeb6 100644 --- a/dist/sdk.cjs.production.min.js +++ b/dist/sdk.cjs.production.min.js @@ -1,2 +1,2 @@ -"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("@apimatic/core"),e=require("@apimatic/schema");function r(t,e,r,n,a,i,o){try{var s=t[i](o),p=s.value}catch(t){return void r(t)}s.done?e(p):Promise.resolve(p).then(n,a)}function n(t){return function(){var e=this,n=arguments;return new Promise((function(a,i){var o=t.apply(e,n);function s(t){r(o,a,i,s,p,"next",t)}function p(t){r(o,a,i,s,p,"throw",t)}s(void 0)}))}}function a(){return(a=Object.assign||function(t){for(var e=1;e=0;--a){var i=this.tryEntries[a],o=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var s=r.call(i,"catchLoc"),p=r.call(i,"finallyLoc");if(s&&p){if(this.prev=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),I(r),c}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var a=n.arg;I(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),c}},t}(t.exports);try{regeneratorRuntime=e}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}}(s={exports:{}}),s.exports);(exports.Environment||(exports.Environment={})).Production="production";var u={timeout:0,environment:exports.Environment.Production,authorization:"TODO Authorization value"},c=function(){function t(){}var e=t.prototype;return e.xmlSerialize=function(t,e){throw new Error("XML serialization is not available.")},e.xmlDeserialize=function(t,e){throw new Error("XML deserialization is not available.")},t}(),l=function(){function e(e){var r,i,o,s,l,g,y,v,b=this;this._config=a({},u,e),this._requestBuilderFactory=(r=function(t){return function(t,e){if(void 0===t&&(t="default"),e.environment===exports.Environment.Production&&"default"===t)return"https://apimaticio-test.azurewebsites.net/api";throw new Error("Could not get Base URL. Invalid environment or server.")}(t,b._config)},v=this._config.authorization,i=function(e){return e?function(e,r,n){var a;return t.mergeHeaders(null!=(a=e.headers)?a:{},{Authorization:v}),n(e,r)}:t.passThroughInterceptor},o=new t.HttpClient({timeout:this._config.timeout,clientConfigOverrides:this._config.unstable_httpClientOptions}),s=[f,m,h],l=new c,g=t.createRequestBuilderFactory((y=o,function(){var t=n(p.mark((function t(e,r){return p.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,y.executeRequest(e,r);case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}()),r,t.ApiError,i,l),d.apply(void 0,[g].concat(s)))}var r=e.prototype;return r.getRequestBuilderFactory=function(){return this._requestBuilderFactory},r.withConfiguration=function(t){return new e(a({},this._config,t))},e}();function d(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n=0;--a){var i=this.tryEntries[a],o=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var s=r.call(i,"catchLoc"),p=r.call(i,"finallyLoc");if(s&&p){if(this.prev=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),I(r),c}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var a=n.arg;I(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),c}},t}(t.exports);try{regeneratorRuntime=e}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}}(s={exports:{}}),s.exports);(exports.Environment||(exports.Environment={})).Production="production";var u={timeout:0,environment:exports.Environment.Production,authorization:"TODO Authorization value"},c=function(){function t(){}var e=t.prototype;return e.xmlSerialize=function(t,e){throw new Error("XML serialization is not available.")},e.xmlDeserialize=function(t,e){throw new Error("XML deserialization is not available.")},t}(),l=function(){function e(e){var r,i,o,s,l,g,y,v,b=this;this._config=a({},u,e),this._requestBuilderFactory=(r=function(t){return function(t,e){if(void 0===t&&(t="default"),e.environment===exports.Environment.Production&&"default"===t)return"https://apimaticio-test.azurewebsites.net/api";throw new Error("Could not get Base URL. Invalid environment or server.")}(t,b._config)},v=this._config.authorization,i=function(e){return e?function(e,r,n){var a;return t.mergeHeaders(null!=(a=e.headers)?a:{},{Authorization:v}),n(e,r)}:t.passThroughInterceptor},o=new t.HttpClient({timeout:this._config.timeout,clientConfigOverrides:this._config.unstable_httpClientOptions}),s=[f,m,h],l=new c,g=t.createRequestBuilderFactory((y=o,function(){var t=n(p.mark((function t(e,r){return p.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,y.executeRequest(e,r);case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}()),r,t.ApiError,i,l),d.apply(void 0,[g].concat(s)))}var r=e.prototype;return r.getRequestBuilderFactory=function(){return this._requestBuilderFactory},r.withConfiguration=function(t){return new e(a({},this._config,t))},e}();function d(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n result for the\n // current iteration.\n result.value = unwrapped;\n resolve(result);\n }, function(error) {\n // If a rejected Promise was yielded, throw the rejection back\n // into the async generator function so it can be handled there.\n return invoke(\"throw\", error, resolve, reject);\n });\n }\n }\n\n var previousPromise;\n\n function enqueue(method, arg) {\n function callInvokeWithMethodAndArg() {\n return new PromiseImpl(function(resolve, reject) {\n invoke(method, arg, resolve, reject);\n });\n }\n\n return previousPromise =\n // If enqueue has been called before, then we want to wait until\n // all previous Promises have been resolved before calling invoke,\n // so that results are always delivered in the correct order. If\n // enqueue has not been called before, then it is important to\n // call invoke immediately, without waiting on a callback to fire,\n // so that the async generator function has the opportunity to do\n // any necessary setup in a predictable way. This predictability\n // is why the Promise constructor synchronously invokes its\n // executor callback, and why async functions synchronously\n // execute code before the first await. Since we implement simple\n // async functions in terms of async generators, it is especially\n // important to get this right, even though it requires care.\n previousPromise ? previousPromise.then(\n callInvokeWithMethodAndArg,\n // Avoid propagating failures to Promises returned by later\n // invocations of the iterator.\n callInvokeWithMethodAndArg\n ) : callInvokeWithMethodAndArg();\n }\n\n // Define the unified helper method that is used to implement .next,\n // .throw, and .return (see defineIteratorMethods).\n this._invoke = enqueue;\n }\n\n defineIteratorMethods(AsyncIterator.prototype);\n define(AsyncIterator.prototype, asyncIteratorSymbol, function () {\n return this;\n });\n exports.AsyncIterator = AsyncIterator;\n\n // Note that simple async functions are implemented on top of\n // AsyncIterator objects; they just return a Promise for the value of\n // the final result produced by the iterator.\n exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) {\n if (PromiseImpl === void 0) PromiseImpl = Promise;\n\n var iter = new AsyncIterator(\n wrap(innerFn, outerFn, self, tryLocsList),\n PromiseImpl\n );\n\n return exports.isGeneratorFunction(outerFn)\n ? iter // If outerFn is a generator, return the full iterator.\n : iter.next().then(function(result) {\n return result.done ? result.value : iter.next();\n });\n };\n\n function makeInvokeMethod(innerFn, self, context) {\n var state = GenStateSuspendedStart;\n\n return function invoke(method, arg) {\n if (state === GenStateExecuting) {\n throw new Error(\"Generator is already running\");\n }\n\n if (state === GenStateCompleted) {\n if (method === \"throw\") {\n throw arg;\n }\n\n // Be forgiving, per 25.3.3.3.3 of the spec:\n // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume\n return doneResult();\n }\n\n context.method = method;\n context.arg = arg;\n\n while (true) {\n var delegate = context.delegate;\n if (delegate) {\n var delegateResult = maybeInvokeDelegate(delegate, context);\n if (delegateResult) {\n if (delegateResult === ContinueSentinel) continue;\n return delegateResult;\n }\n }\n\n if (context.method === \"next\") {\n // Setting context._sent for legacy support of Babel's\n // function.sent implementation.\n context.sent = context._sent = context.arg;\n\n } else if (context.method === \"throw\") {\n if (state === GenStateSuspendedStart) {\n state = GenStateCompleted;\n throw context.arg;\n }\n\n context.dispatchException(context.arg);\n\n } else if (context.method === \"return\") {\n context.abrupt(\"return\", context.arg);\n }\n\n state = GenStateExecuting;\n\n var record = tryCatch(innerFn, self, context);\n if (record.type === \"normal\") {\n // If an exception is thrown from innerFn, we leave state ===\n // GenStateExecuting and loop back for another invocation.\n state = context.done\n ? GenStateCompleted\n : GenStateSuspendedYield;\n\n if (record.arg === ContinueSentinel) {\n continue;\n }\n\n return {\n value: record.arg,\n done: context.done\n };\n\n } else if (record.type === \"throw\") {\n state = GenStateCompleted;\n // Dispatch the exception by looping back around to the\n // context.dispatchException(context.arg) call above.\n context.method = \"throw\";\n context.arg = record.arg;\n }\n }\n };\n }\n\n // Call delegate.iterator[context.method](context.arg) and handle the\n // result, either by returning a { value, done } result from the\n // delegate iterator, or by modifying context.method and context.arg,\n // setting context.delegate to null, and returning the ContinueSentinel.\n function maybeInvokeDelegate(delegate, context) {\n var method = delegate.iterator[context.method];\n if (method === undefined) {\n // A .throw or .return when the delegate iterator has no .throw\n // method always terminates the yield* loop.\n context.delegate = null;\n\n if (context.method === \"throw\") {\n // Note: [\"return\"] must be used for ES3 parsing compatibility.\n if (delegate.iterator[\"return\"]) {\n // If the delegate iterator has a return method, give it a\n // chance to clean up.\n context.method = \"return\";\n context.arg = undefined;\n maybeInvokeDelegate(delegate, context);\n\n if (context.method === \"throw\") {\n // If maybeInvokeDelegate(context) changed context.method from\n // \"return\" to \"throw\", let that override the TypeError below.\n return ContinueSentinel;\n }\n }\n\n context.method = \"throw\";\n context.arg = new TypeError(\n \"The iterator does not provide a 'throw' method\");\n }\n\n return ContinueSentinel;\n }\n\n var record = tryCatch(method, delegate.iterator, context.arg);\n\n if (record.type === \"throw\") {\n context.method = \"throw\";\n context.arg = record.arg;\n context.delegate = null;\n return ContinueSentinel;\n }\n\n var info = record.arg;\n\n if (! info) {\n context.method = \"throw\";\n context.arg = new TypeError(\"iterator result is not an object\");\n context.delegate = null;\n return ContinueSentinel;\n }\n\n if (info.done) {\n // Assign the result of the finished delegate to the temporary\n // variable specified by delegate.resultName (see delegateYield).\n context[delegate.resultName] = info.value;\n\n // Resume execution at the desired location (see delegateYield).\n context.next = delegate.nextLoc;\n\n // If context.method was \"throw\" but the delegate handled the\n // exception, let the outer generator proceed normally. If\n // context.method was \"next\", forget context.arg since it has been\n // \"consumed\" by the delegate iterator. If context.method was\n // \"return\", allow the original .return call to continue in the\n // outer generator.\n if (context.method !== \"return\") {\n context.method = \"next\";\n context.arg = undefined;\n }\n\n } else {\n // Re-yield the result returned by the delegate method.\n return info;\n }\n\n // The delegate iterator is finished, so forget it and continue with\n // the outer generator.\n context.delegate = null;\n return ContinueSentinel;\n }\n\n // Define Generator.prototype.{next,throw,return} in terms of the\n // unified ._invoke helper method.\n defineIteratorMethods(Gp);\n\n define(Gp, toStringTagSymbol, \"Generator\");\n\n // A Generator should always return itself as the iterator object when the\n // @@iterator function is called on it. Some browsers' implementations of the\n // iterator prototype chain incorrectly implement this, causing the Generator\n // object to not be returned from this call. This ensures that doesn't happen.\n // See https://github.com/facebook/regenerator/issues/274 for more details.\n define(Gp, iteratorSymbol, function() {\n return this;\n });\n\n define(Gp, \"toString\", function() {\n return \"[object Generator]\";\n });\n\n function pushTryEntry(locs) {\n var entry = { tryLoc: locs[0] };\n\n if (1 in locs) {\n entry.catchLoc = locs[1];\n }\n\n if (2 in locs) {\n entry.finallyLoc = locs[2];\n entry.afterLoc = locs[3];\n }\n\n this.tryEntries.push(entry);\n }\n\n function resetTryEntry(entry) {\n var record = entry.completion || {};\n record.type = \"normal\";\n delete record.arg;\n entry.completion = record;\n }\n\n function Context(tryLocsList) {\n // The root entry object (effectively a try statement without a catch\n // or a finally block) gives us a place to store values thrown from\n // locations where there is no enclosing try statement.\n this.tryEntries = [{ tryLoc: \"root\" }];\n tryLocsList.forEach(pushTryEntry, this);\n this.reset(true);\n }\n\n exports.keys = function(object) {\n var keys = [];\n for (var key in object) {\n keys.push(key);\n }\n keys.reverse();\n\n // Rather than returning an object with a next method, we keep\n // things simple and return the next function itself.\n return function next() {\n while (keys.length) {\n var key = keys.pop();\n if (key in object) {\n next.value = key;\n next.done = false;\n return next;\n }\n }\n\n // To avoid creating an additional object, we just hang the .value\n // and .done properties off the next function object itself. This\n // also ensures that the minifier will not anonymize the function.\n next.done = true;\n return next;\n };\n };\n\n function values(iterable) {\n if (iterable) {\n var iteratorMethod = iterable[iteratorSymbol];\n if (iteratorMethod) {\n return iteratorMethod.call(iterable);\n }\n\n if (typeof iterable.next === \"function\") {\n return iterable;\n }\n\n if (!isNaN(iterable.length)) {\n var i = -1, next = function next() {\n while (++i < iterable.length) {\n if (hasOwn.call(iterable, i)) {\n next.value = iterable[i];\n next.done = false;\n return next;\n }\n }\n\n next.value = undefined;\n next.done = true;\n\n return next;\n };\n\n return next.next = next;\n }\n }\n\n // Return an iterator with no values.\n return { next: doneResult };\n }\n exports.values = values;\n\n function doneResult() {\n return { value: undefined, done: true };\n }\n\n Context.prototype = {\n constructor: Context,\n\n reset: function(skipTempReset) {\n this.prev = 0;\n this.next = 0;\n // Resetting context._sent for legacy support of Babel's\n // function.sent implementation.\n this.sent = this._sent = undefined;\n this.done = false;\n this.delegate = null;\n\n this.method = \"next\";\n this.arg = undefined;\n\n this.tryEntries.forEach(resetTryEntry);\n\n if (!skipTempReset) {\n for (var name in this) {\n // Not sure about the optimal order of these conditions:\n if (name.charAt(0) === \"t\" &&\n hasOwn.call(this, name) &&\n !isNaN(+name.slice(1))) {\n this[name] = undefined;\n }\n }\n }\n },\n\n stop: function() {\n this.done = true;\n\n var rootEntry = this.tryEntries[0];\n var rootRecord = rootEntry.completion;\n if (rootRecord.type === \"throw\") {\n throw rootRecord.arg;\n }\n\n return this.rval;\n },\n\n dispatchException: function(exception) {\n if (this.done) {\n throw exception;\n }\n\n var context = this;\n function handle(loc, caught) {\n record.type = \"throw\";\n record.arg = exception;\n context.next = loc;\n\n if (caught) {\n // If the dispatched exception was caught by a catch block,\n // then let that catch block handle the exception normally.\n context.method = \"next\";\n context.arg = undefined;\n }\n\n return !! caught;\n }\n\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n var record = entry.completion;\n\n if (entry.tryLoc === \"root\") {\n // Exception thrown outside of any try block that could handle\n // it, so set the completion value of the entire function to\n // throw the exception.\n return handle(\"end\");\n }\n\n if (entry.tryLoc <= this.prev) {\n var hasCatch = hasOwn.call(entry, \"catchLoc\");\n var hasFinally = hasOwn.call(entry, \"finallyLoc\");\n\n if (hasCatch && hasFinally) {\n if (this.prev < entry.catchLoc) {\n return handle(entry.catchLoc, true);\n } else if (this.prev < entry.finallyLoc) {\n return handle(entry.finallyLoc);\n }\n\n } else if (hasCatch) {\n if (this.prev < entry.catchLoc) {\n return handle(entry.catchLoc, true);\n }\n\n } else if (hasFinally) {\n if (this.prev < entry.finallyLoc) {\n return handle(entry.finallyLoc);\n }\n\n } else {\n throw new Error(\"try statement without catch or finally\");\n }\n }\n }\n },\n\n abrupt: function(type, arg) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc <= this.prev &&\n hasOwn.call(entry, \"finallyLoc\") &&\n this.prev < entry.finallyLoc) {\n var finallyEntry = entry;\n break;\n }\n }\n\n if (finallyEntry &&\n (type === \"break\" ||\n type === \"continue\") &&\n finallyEntry.tryLoc <= arg &&\n arg <= finallyEntry.finallyLoc) {\n // Ignore the finally entry if control is not jumping to a\n // location outside the try/catch block.\n finallyEntry = null;\n }\n\n var record = finallyEntry ? finallyEntry.completion : {};\n record.type = type;\n record.arg = arg;\n\n if (finallyEntry) {\n this.method = \"next\";\n this.next = finallyEntry.finallyLoc;\n return ContinueSentinel;\n }\n\n return this.complete(record);\n },\n\n complete: function(record, afterLoc) {\n if (record.type === \"throw\") {\n throw record.arg;\n }\n\n if (record.type === \"break\" ||\n record.type === \"continue\") {\n this.next = record.arg;\n } else if (record.type === \"return\") {\n this.rval = this.arg = record.arg;\n this.method = \"return\";\n this.next = \"end\";\n } else if (record.type === \"normal\" && afterLoc) {\n this.next = afterLoc;\n }\n\n return ContinueSentinel;\n },\n\n finish: function(finallyLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.finallyLoc === finallyLoc) {\n this.complete(entry.completion, entry.afterLoc);\n resetTryEntry(entry);\n return ContinueSentinel;\n }\n }\n },\n\n \"catch\": function(tryLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc === tryLoc) {\n var record = entry.completion;\n if (record.type === \"throw\") {\n var thrown = record.arg;\n resetTryEntry(entry);\n }\n return thrown;\n }\n }\n\n // The context.catch method must only be called with a location\n // argument that corresponds to a known catch block.\n throw new Error(\"illegal catch attempt\");\n },\n\n delegateYield: function(iterable, resultName, nextLoc) {\n this.delegate = {\n iterator: values(iterable),\n resultName: resultName,\n nextLoc: nextLoc\n };\n\n if (this.method === \"next\") {\n // Deliberately forget the last sent value so that we don't\n // accidentally pass it on to the delegate.\n this.arg = undefined;\n }\n\n return ContinueSentinel;\n }\n };\n\n // Regardless of whether this script is executing as a CommonJS module\n // or not, return the runtime object so that we can declare the variable\n // regeneratorRuntime in the outer scope, which allows this module to be\n // injected easily by `bin/regenerator --include-runtime script.js`.\n return exports;\n\n}(\n // If this script is executing as a CommonJS module, use module.exports\n // as the regeneratorRuntime namespace. Otherwise create a new empty\n // object. Either way, the resulting object will be used to initialize\n // the regeneratorRuntime variable at the top of this file.\n typeof module === \"object\" ? module.exports : {}\n));\n\ntry {\n regeneratorRuntime = runtime;\n} catch (accidentalStrictMode) {\n // This module should not be running in strict mode, so the above\n // assignment should always work unless something is misconfigured. Just\n // in case runtime.js accidentally runs in strict mode, in modern engines\n // we can explicitly access globalThis. In older engines we can escape\n // strict mode using a global Function call. This could conceivably fail\n // if a Content Security Policy forbids using Function, but in that case\n // the proper solution is to fix the accidental strict mode problem. If\n // you've misconfigured your bundler to force strict mode and applied a\n // CSP to forbid Function, and you're not willing to fix either of those\n // problems, please detail your unique predicament in a GitHub issue.\n if (typeof globalThis === \"object\") {\n globalThis.regeneratorRuntime = runtime;\n } else {\n Function(\"r\", \"regeneratorRuntime = r\")(runtime);\n }\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\n/** An interface for all configuration parameters required by the SDK. */\nexport interface Configuration {\n timeout: number;\n environment: Environment;\n authorization: string;\n unstable_httpClientOptions?: any;\n}\n\n/** Environments available for API */\nexport enum Environment {\n Production = 'production',\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { Configuration, Environment } from './configuration';\n\n/** Default values for the configuration parameters of the client. */\nexport const DEFAULT_CONFIGURATION: Configuration = {\n timeout: 0,\n environment: Environment.Production,\n authorization: 'TODO Authorization value',\n};\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nexport class XmlSerialization {\n public xmlSerialize(_rootName: string, _value: unknown): string {\n throw new Error('XML serialization is not available.');\n }\n\n public xmlDeserialize(\n _rootName: string,\n _xmlString: string\n ): Promise {\n throw new Error('XML deserialization is not available.');\n }\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { customHeaderAuthenticationProvider } from './authentication';\nimport {\n AuthParams,\n ClientInterface,\n SdkRequestBuilder,\n SdkRequestBuilderFactory,\n Server,\n} from './clientInterface';\nimport { Configuration, Environment } from './configuration';\nimport { DEFAULT_CONFIGURATION } from './defaultConfiguration';\nimport { ApiError } from './core';\nimport {\n AuthenticatorInterface,\n createRequestBuilderFactory,\n HttpClient,\n HttpClientInterface,\n XmlSerializerInterface,\n} from './core';\nimport { XmlSerialization } from './http/xmlSerialization';\n\nconst USER_AGENT = 'APIMATIC 3.0';\n\nexport class Client implements ClientInterface {\n private _config: Readonly;\n private _requestBuilderFactory: SdkRequestBuilderFactory;\n\n constructor(config?: Partial) {\n this._config = {\n ...DEFAULT_CONFIGURATION,\n ...config,\n };\n this._requestBuilderFactory = createRequestHandlerFactory(\n server => getBaseUri(server, this._config),\n customHeaderAuthenticationProvider(this._config),\n new HttpClient({\n timeout: this._config.timeout,\n clientConfigOverrides: this._config.unstable_httpClientOptions,\n }),\n [\n withErrorHandlers,\n withUserAgent,\n withAuthenticationByDefault,\n ],\n new XmlSerialization()\n );\n }\n\n public getRequestBuilderFactory(): SdkRequestBuilderFactory {\n return this._requestBuilderFactory;\n }\n\n /**\n * Clone this client and override given configuration options\n */\n public withConfiguration(config: Partial) {\n return new Client({ ...this._config, ...config });\n }\n}\n\nfunction createHttpClientAdapter(client: HttpClient): HttpClientInterface {\n return async (request, requestOptions) => {\n return await client.executeRequest(request, requestOptions);\n };\n}\n\nfunction getBaseUri(server: Server = 'default', config: Configuration): string {\n if (config.environment === Environment.Production) {\n if (server === 'default') {\n return 'https://apimaticio-test.azurewebsites.net/api';\n }\n }\n throw new Error('Could not get Base URL. Invalid environment or server.');\n}\n\nfunction createRequestHandlerFactory(\n baseUrlProvider: (server?: Server) => string,\n authProvider: AuthenticatorInterface,\n httpClient: HttpClient,\n addons: ((rb: SdkRequestBuilder) => void)[],\n xmlSerializer: XmlSerializerInterface\n): SdkRequestBuilderFactory {\n const requestBuilderFactory = createRequestBuilderFactory(\n createHttpClientAdapter(httpClient),\n baseUrlProvider,\n ApiError,\n authProvider,\n xmlSerializer\n );\n\n return tap(requestBuilderFactory, ...addons);\n}\n\nfunction tap(\n requestBuilderFactory: SdkRequestBuilderFactory,\n ...callback: ((requestBuilder: SdkRequestBuilder) => void)[]\n): SdkRequestBuilderFactory {\n return (...args) => {\n const requestBuilder = requestBuilderFactory(...args);\n callback.forEach(c => c(requestBuilder));\n return requestBuilder;\n };\n}\n\nfunction withErrorHandlers(rb: SdkRequestBuilder) {\n rb.defaultToError(ApiError);\n}\n\nfunction withUserAgent(rb: SdkRequestBuilder) {\n rb.header('user-agent', USER_AGENT);\n}\n\nfunction withAuthenticationByDefault(rb: SdkRequestBuilder) {\n rb.authenticate(true);\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { mergeHeaders } from './core';\nimport { passThroughInterceptor } from './core';\nimport { AuthenticatorInterface } from './core';\n\n/** None authentication provider */\nexport const noneAuthenticationProvider = () => passThroughInterceptor;\n\nexport const customHeaderAuthenticationProvider = ({\n authorization,\n}: {\n authorization: string;\n}): AuthenticatorInterface => {\n return (requiresAuth?: boolean) => {\n if (!requiresAuth) {\n return passThroughInterceptor;\n }\n\n return (request, options, next) => {\n const customHeaderParams = {\n 'Authorization': authorization,\n };\n mergeHeaders(request.headers ?? {}, customHeaderParams);\n\n return next(request, options);\n };\n };\n};\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { array, boolean, object, Schema, string } from '../schema';\n\nexport interface ApiValidationSummary {\n success: boolean;\n errors: string[];\n warnings: string[];\n messages: string[];\n}\n\nexport const apiValidationSummarySchema: Schema = object({\n success: ['success', boolean()],\n errors: ['errors', array(string())],\n warnings: ['warnings', array(string())],\n messages: ['messages', array(string())],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { ClientInterface, SdkRequestBuilderFactory } from '../clientInterface';\n\n/** Base class for all controllers */\nexport class BaseController {\n /** Create a request builder */\n protected createRequest: SdkRequestBuilderFactory;\n\n constructor(client: ClientInterface) {\n this.createRequest = client.getRequestBuilderFactory();\n }\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { ApiResponse, FileWrapper, RequestOptions } from '../core';\nimport {\n ApiValidationSummary,\n apiValidationSummarySchema,\n} from '../models/apiValidationSummary';\nimport { string } from '../schema';\nimport { BaseController } from './baseController';\n\nexport class APIValidationExternalApisController extends BaseController {\n /**\n * Validate an API by uploading the API specification file.\n *\n * You can also specify [API Metadata](https://docs.apimatic.io/manage-apis/apimatic-metadata) while\n * validating the API using this endpoint. When specifying Metadata, the uploaded file will be a zip\n * file containing the API specification file and the `APIMATIC-META` json file.\n *\n * @param file The API specification file.
The type of the specification file should be any\n * of the [supported formats](https://docs.apimatic.io/api-transformer/overview-\n * transformer#supported-input-formats).\n * @return Response from the API call\n */\n async validateAPIViaFile(\n file: FileWrapper,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('POST', '/validation/validate-via-file');\n req.baseUrl('default');\n req.header('ContentType', 'multipart/form-data');\n req.formData({\n file: file,\n });\n return req.callAsJson(apiValidationSummarySchema, requestOptions);\n }\n\n /**\n * Validate an API by providing the URL of the API specification file.\n *\n * You can also specify [API Metadata](https://docs.apimatic.io/manage-apis/apimatic-metadata) while\n * validating the API using this endpoint. When specifying Metadata, the URL provided will be that of a\n * zip file containing the API specification file and the `APIMATIC-META` json file.\n *\n * @param descriptionUrl The URL for the API specification file.

**Note:** This URL should be\n * publicly accessible.\n * @return Response from the API call\n */\n async validateAPIViaURL(\n descriptionUrl: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET', '/validation/validate-via-url');\n req.baseUrl('default');\n const mapped = req.prepareArgs({\n descriptionUrl: [descriptionUrl, string()],\n });\n req.query('descriptionUrl', mapped.descriptionUrl);\n return req.callAsJson(apiValidationSummarySchema, requestOptions);\n }\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { array, boolean, object, Schema, string } from '../schema';\n\nexport interface DocsValidationSummary {\n success: boolean;\n errors: string[];\n warnings: string[];\n messages: string[];\n}\n\nexport const docsValidationSummarySchema: Schema = object(\n {\n success: ['success', boolean()],\n errors: ['errors', array(string())],\n warnings: ['warnings', array(string())],\n messages: ['messages', array(string())],\n }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { ApiResponse, RequestOptions } from '../core';\nimport {\n ApiValidationSummary,\n apiValidationSummarySchema,\n} from '../models/apiValidationSummary';\nimport {\n DocsValidationSummary,\n docsValidationSummarySchema,\n} from '../models/docsValidationSummary';\nimport { string } from '../schema';\nimport { BaseController } from './baseController';\n\nexport class APIValidationImportedApisController extends BaseController {\n /**\n * Validate an API using the [APIMatic Validator](https://docs.apimatic.io/generate-sdks/overview-\n * sdks#step-2-api-validation).\n *\n * @param apiEntityId The ID of the API Entity to perform validation for.\n * @return Response from the API call\n */\n async validateAPI(\n apiEntityId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n req.baseUrl('default');\n const mapped = req.prepareArgs({ apiEntityId: [apiEntityId, string()] });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/api-validation-summary`;\n return req.callAsJson(apiValidationSummarySchema, requestOptions);\n }\n\n /**\n * Validate an API for documentation generation. This process validates the API for missing examples or\n * missing descriptions.\n *\n * @param apiEntityId The ID of the API Entity to perform validation for.\n * @return Response from the API call\n */\n async validateAPIForDocs(\n apiEntityId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n req.baseUrl('default');\n const mapped = req.prepareArgs({ apiEntityId: [apiEntityId, string()] });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/docs-validation-summary`;\n return req.callAsJson(docsValidationSummarySchema, requestOptions);\n }\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { Schema, stringEnum } from '../schema';\n\n/**\n * Enum for Accept\n */\nexport enum Accept {\n EnumApplicationjson = 'application/json',\n}\n\n/**\n * Schema for Accept\n */\nexport const acceptSchema: Schema = stringEnum(Accept);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { Schema, stringEnum } from '../schema';\n\n/**\n * Enum for Accept2\n */\nexport enum Accept2 {\n EnumApplicationvndapimaticapiEntityfullv1json = 'application/vnd.apimatic.apiEntity.full.v1+json',\n}\n\n/**\n * Schema for Accept2\n */\nexport const accept2Schema: Schema = stringEnum(Accept2);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { Schema, stringEnum } from '../schema';\n\n/**\n * Enum for ExportFormats\n */\nexport enum ExportFormats {\n APIMATIC = 'APIMATIC',\n WADL2009 = 'WADL2009',\n WSDL = 'WSDL',\n SWAGGER10 = 'Swagger10',\n SWAGGER20 = 'Swagger20',\n SWAGGERYAML = 'SwaggerYaml',\n OAS3 = 'OpenApi3Json',\n OPENAPI3YAML = 'OpenApi3Yaml',\n APIBLUEPRINT = 'APIBluePrint',\n RAML = 'RAML',\n RAML10 = 'RAML10',\n POSTMAN10 = 'Postman10',\n POSTMAN20 = 'Postman20',\n GRAPHQLSCHEMA = 'GraphQlSchema',\n}\n\n/**\n * Schema for ExportFormats\n */\nexport const exportFormatsSchema: Schema = stringEnum(ExportFormats);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { array, object, Schema, string, unknown } from '../schema';\n\n/** This Structure encapsulates all details of API authentication. */\nexport interface Authentication {\n /** Auth Id */\n id: string;\n /** Auth Type */\n authType: string;\n /** Scope */\n scopes: string[];\n /** Auth Params */\n parameters: string[];\n /** Auth Scopes */\n authScopes: string[];\n /** Auth Grant Types */\n authGrantTypes: string[];\n /** Paramater Formats */\n paramFormats?: unknown;\n}\n\nexport const authenticationSchema: Schema = object({\n id: ['id', string()],\n authType: ['authType', string()],\n scopes: ['scopes', array(string())],\n parameters: ['parameters', array(string())],\n authScopes: ['authScopes', array(string())],\n authGrantTypes: ['authGrantTypes', array(string())],\n paramFormats: ['paramFormats', unknown()],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { array, boolean, number, object, Schema, string } from '../schema';\n\n/** APIMatic’s code generation engine has various code generation configurations to customise the behaviour and outlook across the generated SDKS. This structure encapsulates all settings for CodeGeneration. */\nexport interface CodeGenSettings {\n /** Generate asynchronous code for API Calls and deserialization */\n isAsync: boolean;\n /** Use HTTP Method prefixes for endpoint wrappers */\n useHttpMethodPrefix: boolean;\n /** Use \"Model\" postfixes for generated class names */\n useModelPrefix: boolean;\n /** Use \"Enum\" postfixes for enumerated types */\n useEnumPrefix: boolean;\n useConstructorsForConfig: boolean;\n /** Use common SDK library to reduce code duplication */\n useCommonSdkLibrary: boolean;\n /** Generates interfaces for controller classes in the generated SDKs */\n generateInterfaces: boolean;\n /** Generate Appveyor configuration file */\n generateAppveyorConfig: boolean;\n /** Generate CircleCI configuration file */\n generateCircleConfig: boolean;\n /** Generate Jenkins configuration file */\n generateJenkinsConfig: boolean;\n /** Generate Travis CI configuration file */\n generateTravisConfig: boolean;\n /** Use \"AndroidManifest.xml\" for config variables in Android */\n androidUseAppManifest: boolean;\n /** Use \"App-Info.plist\" file for config variables in iOS */\n iosUseAppInfoPlist: boolean;\n /** Generate \"CoreData\" schema and entity classes in iOS? */\n iosGenerateCoreData: boolean;\n /** Enable runscope */\n runscopeEnabled: boolean;\n /** Collect Parameters as arrays */\n collapseParamsToArray: boolean;\n /** Attempts to preserve parameter order for endpoints */\n preserveParameterOrder: boolean;\n /** Append JSON/XML accept and content-type headers */\n appendContentHeaders: boolean;\n modelSerializationIsJSON: boolean;\n /** Return a null value on HTTP 404 */\n nullify404: boolean;\n /** Validate required parameters to be Not Null */\n validateRequiredParameters: boolean;\n /** Allow models to have additional runtime properties */\n enableAdditionalModelProperties: boolean;\n javaUsePropertiesConfig: boolean;\n /** Use \"Controller\" postfixes for generated controller classes */\n useControllerPrefix: boolean;\n /** Use Exception Prefixes */\n useExceptionPrefix: boolean;\n /** Parameter Array format with index or without */\n parameterArrayFormat: string;\n /** Configure the HTTP client for Objective C */\n objCHttpClient: string;\n /** Configure the HTTP client for C# */\n cSharpHttpClient: string;\n /** Configure the HTTP client for Android */\n androidHttpClient: string;\n /** Configure the HTTP client for node */\n nodeHttpClient: string;\n /** Configure the HTTP client for PHP */\n phpHttpClient: string;\n bodySerialization: number;\n /** Specify type of array serialisation */\n arraySerialization: string;\n /** This option specifies the duration (in seconds) after which requests would timeout */\n timeout: number;\n /** Enabling this generates code in the SDKs for logging events in the API cycle using a library. */\n enableLogging: boolean;\n /** Enabling caching of responses (not available in all languages) */\n enableHttpCache: boolean;\n /** Specify number of retries */\n retries: number;\n /** Specify retry interval in case of failures */\n retryInterval: number;\n /** Generate advanced read me files */\n generateAdvancedDocs: boolean;\n /** Store Timezone information for the generation */\n storeTimezoneInformation: boolean;\n /** Use \"Controller\" postfixes for generated controller classes */\n enablePhpComposerVersionString: boolean;\n /** Specify Security Protocols */\n securityProtocols: string[];\n /** Use underscores before and after numbers for underscore case */\n underscoreNumbers: boolean;\n /** Allow usage of a Singleton Pattern */\n useSingletonPattern: boolean;\n /** Files/dependencies used for linting are not generated if this option is enabled */\n disableLinting: boolean;\n /** Create a configuration option in SDKs to optionally skip certificate verification when establishing HTTPS connections. */\n allowSkippingSSLCertVerification: boolean;\n /** Apply Customisations */\n applyCustomizations: string[];\n /** Enabling this will stop splitting of words when converting identifiers from API specification to language-specific identifiers. */\n doNotSplitWords: string[];\n /** Sorts resources such as endpoints, endpoint groups and models in generated documentation */\n sortResources: boolean;\n /** Enable a global user agent */\n enableGlobalUserAgent: boolean;\n}\n\nexport const codeGenSettingsSchema: Schema = object({\n isAsync: ['isAsync', boolean()],\n useHttpMethodPrefix: ['useHttpMethodPrefix', boolean()],\n useModelPrefix: ['useModelPrefix', boolean()],\n useEnumPrefix: ['useEnumPrefix', boolean()],\n useConstructorsForConfig: ['useConstructorsForConfig', boolean()],\n useCommonSdkLibrary: ['useCommonSdkLibrary', boolean()],\n generateInterfaces: ['generateInterfaces', boolean()],\n generateAppveyorConfig: ['generateAppveyorConfig', boolean()],\n generateCircleConfig: ['generateCircleConfig', boolean()],\n generateJenkinsConfig: ['generateJenkinsConfig', boolean()],\n generateTravisConfig: ['generateTravisConfig', boolean()],\n androidUseAppManifest: ['androidUseAppManifest', boolean()],\n iosUseAppInfoPlist: ['iosUseAppInfoPlist', boolean()],\n iosGenerateCoreData: ['iosGenerateCoreData', boolean()],\n runscopeEnabled: ['runscopeEnabled', boolean()],\n collapseParamsToArray: ['collapseParamsToArray', boolean()],\n preserveParameterOrder: ['preserveParameterOrder', boolean()],\n appendContentHeaders: ['appendContentHeaders', boolean()],\n modelSerializationIsJSON: ['modelSerializationIsJSON', boolean()],\n nullify404: ['nullify404', boolean()],\n validateRequiredParameters: ['validateRequiredParameters', boolean()],\n enableAdditionalModelProperties: [\n 'enableAdditionalModelProperties',\n boolean(),\n ],\n javaUsePropertiesConfig: ['javaUsePropertiesConfig', boolean()],\n useControllerPrefix: ['useControllerPrefix', boolean()],\n useExceptionPrefix: ['useExceptionPrefix', boolean()],\n parameterArrayFormat: ['parameterArrayFormat', string()],\n objCHttpClient: ['objCHttpClient', string()],\n cSharpHttpClient: ['cSharpHttpClient', string()],\n androidHttpClient: ['androidHttpClient', string()],\n nodeHttpClient: ['nodeHttpClient', string()],\n phpHttpClient: ['phpHttpClient', string()],\n bodySerialization: ['bodySerialization', number()],\n arraySerialization: ['arraySerialization', string()],\n timeout: ['timeout', number()],\n enableLogging: ['enableLogging', boolean()],\n enableHttpCache: ['enableHttpCache', boolean()],\n retries: ['retries', number()],\n retryInterval: ['retryInterval', number()],\n generateAdvancedDocs: ['generateAdvancedDocs', boolean()],\n storeTimezoneInformation: ['storeTimezoneInformation', boolean()],\n enablePhpComposerVersionString: ['enablePhpComposerVersionString', boolean()],\n securityProtocols: ['securityProtocols', array(string())],\n underscoreNumbers: ['underscoreNumbers', boolean()],\n useSingletonPattern: ['useSingletonPattern', boolean()],\n disableLinting: ['disableLinting', boolean()],\n allowSkippingSSLCertVerification: [\n 'allowSkippingSSLCertVerification',\n boolean(),\n ],\n applyCustomizations: ['applyCustomizations', array(string())],\n doNotSplitWords: ['doNotSplitWords', array(string())],\n sortResources: ['sortResources', boolean()],\n enableGlobalUserAgent: ['enableGlobalUserAgent', boolean()],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { object, Schema, string } from '../schema';\n\n/** This structure encapsulates all the attributes of an API Endpoints Group. */\nexport interface EndpointsGroup {\n name: string;\n description: string;\n}\n\nexport const endpointsGroupSchema: Schema = object({\n name: ['name', string()],\n description: ['description', string()],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { array, boolean, object, Schema, string } from '../schema';\n\nexport interface ImportValidationSummary {\n success: boolean;\n errors: string[];\n warnings: string[];\n messages: string[];\n}\n\nexport const importValidationSummarySchema: Schema = object(\n {\n success: ['success', boolean()],\n errors: ['errors', array(string())],\n warnings: ['warnings', array(string())],\n messages: ['messages', array(string())],\n }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { lazy, object, Schema } from '../schema';\nimport {\n ApiValidationSummary,\n apiValidationSummarySchema,\n} from './apiValidationSummary';\nimport {\n DocsValidationSummary,\n docsValidationSummarySchema,\n} from './docsValidationSummary';\nimport {\n ImportValidationSummary,\n importValidationSummarySchema,\n} from './importValidationSummary';\n\nexport interface MetaData {\n importValidationSummary: ImportValidationSummary;\n apiValidationSummary: ApiValidationSummary;\n docsValidationSummary: DocsValidationSummary;\n}\n\nexport const metaDataSchema: Schema = object({\n importValidationSummary: [\n 'importValidationSummary',\n lazy(() => importValidationSummarySchema),\n ],\n apiValidationSummary: [\n 'apiValidationSummary',\n lazy(() => apiValidationSummarySchema),\n ],\n docsValidationSummary: [\n 'docsValidationSummary',\n lazy(() => docsValidationSummarySchema),\n ],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { object, Schema, string } from '../schema';\n\n/** The user can specify multiple servers within an environment. A server comprises of a name and a URL. The names of the hosts remain consistent over different environments but their values may vary. The URL values can contain any number of parameters defined. */\nexport interface Server {\n /** Unique Server identifier */\n id: string;\n /** Server Name */\n name: string;\n /** Server URL */\n url: string;\n}\n\nexport const serverSchema: Schema = object({\n id: ['id', string()],\n name: ['name', string()],\n url: ['url', string()],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { array, lazy, object, Schema, string } from '../schema';\nimport { Server, serverSchema } from './server';\n\n/** An environment consists of a set of servers with base URL values. The environment can be changed programatically allowing rapid switching between different environments. For example the user can specify a Production and Testing Environment and switch between them in the generated SDK. */\nexport interface Environment {\n /** Unique Environment Identifier */\n id: string;\n /** Environment Name */\n name: string;\n /** The user can specify multiple servers within an environment. A server comprises of a name and a url. */\n servers: Server[];\n}\n\nexport const environmentSchema: Schema = object({\n id: ['id', string()],\n name: ['name', string()],\n servers: ['servers', array(lazy(() => serverSchema))],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { object, Schema, string } from '../schema';\n\n/** The structure contain attribute details of a parameter type. */\nexport interface Attributes {\n /** Unique Attribute Identifier */\n id: string;\n}\n\nexport const attributesSchema: Schema = object({\n id: ['id', string()],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { boolean, lazy, object, Schema, string } from '../schema';\nimport { Attributes, attributesSchema } from './attributes';\n\n/** Parameters are options passed with the endpoint */\nexport interface Parameter {\n /** If parameter is optional */\n optional: boolean;\n /** Type of Parameter */\n type: string;\n /** IF Parameter is constant */\n constant: boolean;\n /** If Param is collected as array */\n isArray: boolean;\n isStream: boolean;\n isAttribute: boolean;\n isMap: boolean;\n /** The structure contain attribute details of a parameter type. */\n attributes: Attributes;\n /** If Parameter is nullable */\n nullable: boolean;\n /** Unique Parameter identifier */\n id: string;\n /** Parameter Name */\n name: string;\n /** Parameter Description */\n description: string;\n /** Default Values of a Parameter */\n defaultValue: string;\n /** Specify Parameter Format */\n paramFormat: string;\n}\n\nexport const parameterSchema: Schema = object({\n optional: ['optional', boolean()],\n type: ['type', string()],\n constant: ['constant', boolean()],\n isArray: ['isArray', boolean()],\n isStream: ['isStream', boolean()],\n isAttribute: ['isAttribute', boolean()],\n isMap: ['isMap', boolean()],\n attributes: ['attributes', lazy(() => attributesSchema)],\n nullable: ['nullable', boolean()],\n id: ['id', string()],\n name: ['name', string()],\n description: ['description', string()],\n defaultValue: ['defaultValue', string()],\n paramFormat: ['ParamFormat', string()],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { array, lazy, object, Schema, string } from '../schema';\nimport { Environment, environmentSchema } from './environment';\nimport { Parameter, parameterSchema } from './parameter';\n\n/** Server configurations can be used to create multiple environments, multiple servers that can be used with specific endpoints and server URLs with template paramters. */\nexport interface ServerConfiguration {\n /** Server Config Identifier */\n id: string;\n /** Default Environment */\n defaultEnvironment: string;\n /** Default Server */\n defaultServer: string;\n /** Environment Identifier and Name */\n environments: Environment[];\n /** Parameter Attributes */\n parameters: Parameter[];\n}\n\nexport const serverConfigurationSchema: Schema = object({\n id: ['id', string()],\n defaultEnvironment: ['defaultEnvironment', string()],\n defaultServer: ['defaultServer', string()],\n environments: ['environments', array(lazy(() => environmentSchema))],\n parameters: ['parameters', array(lazy(() => parameterSchema))],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { array, number, object, Schema, string } from '../schema';\n\n/** This structure helps specify additional test configurations which affects how test cases are generated. */\nexport interface TestGenSettings {\n /** Error margin for comparing values in decimal places */\n precisionDelta: number;\n /** Number of seconds after which if the endpoint is not returning any response, the test is forced to fail e.g. a timeout of 60 */\n testTimeout: number;\n /** The parameters allows to provide values for configuration file for use in the test environment */\n configuration: string[];\n}\n\nexport const testGenSettingsSchema: Schema = object({\n precisionDelta: ['precisionDelta', number()],\n testTimeout: ['testTimeout', number()],\n configuration: ['configuration', array(string())],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport {\n array,\n boolean,\n lazy,\n object,\n optional,\n Schema,\n string,\n} from '../schema';\nimport { Authentication, authenticationSchema } from './authentication';\nimport { CodeGenSettings, codeGenSettingsSchema } from './codeGenSettings';\nimport { EndpointsGroup, endpointsGroupSchema } from './endpointsGroup';\nimport { MetaData, metaDataSchema } from './metaData';\nimport {\n ServerConfiguration,\n serverConfigurationSchema,\n} from './serverConfiguration';\nimport { TestGenSettings, testGenSettingsSchema } from './testGenSettings';\n\n/** The API Entity Structure encapsulates all the details of an API Entity. An API entity is a unique API Version. */\nexport interface ApiEntity {\n /** Unique API Entity identifier */\n id: string;\n /** Enrcypted API Entity Id */\n encryptedId: string;\n /** API Integration Key. Obtain from API Card on Dashboard. */\n apiKey: string;\n /** Unique API Group Identifier */\n apiGroupId: string;\n /** Cover Image */\n imageUri: string;\n /** Entity creation date */\n creationDate: string;\n /** API Status (Deprecated) */\n mPublic: boolean;\n /** API Entity Name */\n name: string;\n /** Description of the API */\n description: string;\n /** Entity Version Number */\n version: string;\n /** Header Content */\n additionalHeaders: string[];\n /** This Structure encapsulates all details of API authentication. */\n authentication: Authentication;\n /** APIMatic’s code generation engine has various code generation configurations to customise the behaviour and outlook across the generated SDKS. This structure encapsulates all settings for CodeGeneration. */\n codeGenSettings: CodeGenSettings;\n /** This structure helps specify additional test configurations which affects how test cases are generated. */\n testGenSettings: TestGenSettings;\n /** API Errors */\n errors: string[];\n /** Server configurations can be used to create multiple environments, multiple servers that can be used with specific endpoints and server URLs with template paramters. */\n serverConfiguration: ServerConfiguration;\n /** API Endpoint Groups */\n endpointsGroup?: EndpointsGroup[];\n /** API Meta Data */\n metaData: MetaData[];\n}\n\nexport const apiEntitySchema: Schema = object({\n id: ['id', string()],\n encryptedId: ['encryptedId', string()],\n apiKey: ['apiKey', string()],\n apiGroupId: ['apiGroupId', string()],\n imageUri: ['imageUri', string()],\n creationDate: ['creationDate', string()],\n mPublic: ['public', boolean()],\n name: ['name', string()],\n description: ['description', string()],\n version: ['version', string()],\n additionalHeaders: ['additionalHeaders', array(string())],\n authentication: ['authentication', lazy(() => authenticationSchema)],\n codeGenSettings: ['codeGenSettings', lazy(() => codeGenSettingsSchema)],\n testGenSettings: ['testGenSettings', lazy(() => testGenSettingsSchema)],\n errors: ['errors', array(string())],\n serverConfiguration: [\n 'serverConfiguration',\n lazy(() => serverConfigurationSchema),\n ],\n endpointsGroup: [\n 'endpointsGroup',\n optional(array(lazy(() => endpointsGroupSchema))),\n ],\n metaData: ['metaData', array(lazy(() => metaDataSchema))],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { Schema, stringEnum } from '../schema';\n\n/**\n * Enum for Platforms\n */\nexport enum Platforms {\n CSNETSTANDARDLIB = 'CS_NET_STANDARD_LIB',\n JAVAECLIPSEJRELIB = 'JAVA_ECLIPSE_JRE_LIB',\n PHPGENERICLIBV2 = 'PHP_GENERIC_LIB',\n PYTHONGENERICLIB = 'PYTHON_GENERIC_LIB',\n RUBYGENERICLIB = 'RUBY_GENERIC_LIB',\n TSGENERICLIB = 'TS_GENERIC_LIB',\n}\n\n/**\n * Schema for Platforms\n */\nexport const platformsSchema: Schema = stringEnum(Platforms);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { object, Schema, string } from '../schema';\n\n/** This structure contains details of importing a new API Version */\nexport interface ImportApiVersionViaUrlRequest {\n /** The version number with which the new API version will be imported. This version number will override the version specified in the API specification file.
APIMatic recommends versioning the API with the [versioning scheme](https://docs.apimatic.io/define-apis/basic-settings/#version) documented in the docs. */\n versionOverride: string;\n /** The URL for the API specification file.

**Note:** This URL should be publicly accessible. */\n url: string;\n}\n\nexport const importApiVersionViaUrlRequestSchema: Schema = object(\n { versionOverride: ['version_override', string()], url: ['url', string()] }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { object, Schema, string } from '../schema';\n\n/** Contains a url field to allow Apis to be imported via url */\nexport interface ImportApiViaUrlRequest {\n /** The URL for the API specification file.

**Note:** This URL should be publicly accessible. */\n url: string;\n}\n\nexport const importApiViaUrlRequestSchema: Schema = object(\n { url: ['url', string()] }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { object, Schema, string } from '../schema';\n\n/** Contains a url field to allow Apis to be imported via url */\nexport interface InplaceImportApiViaUrlRequest {\n /** The URL for the API specification file.

**Note:** This URL should be publicly accessible. */\n url: string;\n}\n\nexport const inplaceImportApiViaUrlRequestSchema: Schema = object(\n { url: ['url', string()] }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { ApiResponse, FileWrapper, RequestOptions } from '../core';\nimport { Accept, acceptSchema } from '../models/accept';\nimport { Accept2, accept2Schema } from '../models/accept2';\nimport { ApiEntity, apiEntitySchema } from '../models/apiEntity';\nimport { ExportFormats, exportFormatsSchema } from '../models/exportFormats';\nimport {\n ImportApiVersionViaUrlRequest,\n importApiVersionViaUrlRequestSchema,\n} from '../models/importApiVersionViaUrlRequest';\nimport {\n ImportApiViaUrlRequest,\n importApiViaUrlRequestSchema,\n} from '../models/importApiViaUrlRequest';\nimport {\n InplaceImportApiViaUrlRequest,\n inplaceImportApiViaUrlRequestSchema,\n} from '../models/inplaceImportApiViaUrlRequest';\nimport { string } from '../schema';\nimport { BaseController } from './baseController';\n\nexport class ApisManagementController extends BaseController {\n /**\n * Import an API into the APIMatic Dashboard by uploading the API specification file.\n *\n * You can also specify [API Metadata](https://docs.apimatic.io/manage-apis/apimatic-metadata) while\n * importing the API using this endpoint. When specifying Metadata, the uploaded file will be a zip\n * file containing the API specification file and the `APIMATIC-META` json file.\n *\n * @param file The API specification file.
The type of the specification file should be any\n * of the [supported formats](https://docs.apimatic.io/api-transformer/overview-\n * transformer#supported-input-formats).\n * @return Response from the API call\n */\n async importAPIViaFile(\n file: FileWrapper,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('POST', '/api-entities/import-via-file');\n req.header('ContentType', 'multipart/form-data');\n req.formData({\n file: file,\n });\n return req.callAsJson(apiEntitySchema, requestOptions);\n }\n\n /**\n * Import an API into the APIMatic Dashboard by providing the URL of the API specification file.\n *\n * You can also specify [API Metadata](https://docs.apimatic.io/manage-apis/apimatic-metadata) while\n * importing the API using this endpoint. When specifying Metadata, the URL provided will be that of a\n * zip file containing the API specification file and the `APIMATIC-META` json file.\n *\n * @param body Request Body\n * @return Response from the API call\n */\n async importAPIViaURL(\n body: ImportApiViaUrlRequest,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('POST', '/api-entities/import-via-url');\n const mapped = req.prepareArgs({\n body: [body, importApiViaUrlRequestSchema],\n });\n req.header(\n 'Content-Type',\n 'application/vnd.apimatic.apiEntityUrlImportDto.v1+json'\n );\n req.json(mapped.body);\n return req.callAsJson(apiEntitySchema, requestOptions);\n }\n\n /**\n * Import a new version for an API, against an existing API Group, by uploading the API specification\n * file.\n *\n * You can also specify [API Metadata](https://docs.apimatic.io/manage-apis/apimatic-metadata) while\n * importing the API version using this endpoint. When specifying Metadata, the uploaded file will be a\n * zip file containing the API specification file and the `APIMATIC-META` json file.\n *\n * @param apiGroupId The ID of the API Group for which to import a new API version.\n * @param accept\n * @param versionOverride The version number with which the new API version will be imported. This\n * version number will override the version specified in the API specification\n * file.
APIMatic recommends versioning the API with the [versioning\n * scheme](https://docs.apimatic.io/define-apis/basic-settings/#version)\n * documented in the docs.\n * @param file The API specification file.
The type of the specification file should\n * be any of the [supported formats](https://docs.apimatic.io/api-\n * transformer/overview-transformer#supported-input-formats).\n * @return Response from the API call\n */\n async importNewAPIVersionViaFile(\n apiGroupId: string,\n accept: Accept,\n versionOverride: string,\n file: FileWrapper,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('POST');\n const mapped = req.prepareArgs({\n apiGroupId: [apiGroupId, string()],\n accept: [accept, acceptSchema],\n versionOverride: [versionOverride, string()],\n });\n req.header('Accept', mapped.accept);\n req.header('Content-Type', 'multipart/form-data');\n req.formData({\n version_override: mapped.versionOverride,\n file: file,\n });\n req.appendTemplatePath`/api-groups/${mapped.apiGroupId}/api-entities/import-via-file`;\n return req.callAsJson(apiEntitySchema, requestOptions);\n }\n\n /**\n * Import a new version for an API, against an existing API Group, by providing the URL of the API\n * specification file.\n *\n * You can also specify [API Metadata](https://docs.apimatic.io/manage-apis/apimatic-metadata) while\n * importing the API version using this endpoint. When specifying Metadata, the URL provided will be\n * that of a zip file containing the API specification file and the `APIMATIC-META` json file.\n *\n * @param apiGroupId The ID of the API Group for which to import a new API\n * version.\n * @param accept\n * @param body Request Body\n * @return Response from the API call\n */\n async importNewAPIVersionViaURL(\n apiGroupId: string,\n accept: Accept,\n body: ImportApiVersionViaUrlRequest,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('POST');\n const mapped = req.prepareArgs({\n apiGroupId: [apiGroupId, string()],\n accept: [accept, acceptSchema],\n body: [body, importApiVersionViaUrlRequestSchema],\n });\n req.header('Accept', mapped.accept);\n req.header(\n 'Content-Type',\n 'application/vnd.apimatic.apiGroupApiEntityUrlImportDto.v1+json'\n );\n req.json(mapped.body);\n req.appendTemplatePath`/api-groups/${mapped.apiGroupId}/api-entities/import-via-url`;\n return req.callAsJson(apiEntitySchema, requestOptions);\n }\n\n /**\n * Replace an API version of an API Group, by uploading the API specification file that will replace\n * the current version.\n *\n * You can also specify [API Metadata](https://docs.apimatic.io/manage-apis/apimatic-metadata) while\n * importing the API version using this endpoint. When specifying Metadata, the uploaded file will be a\n * zip file containing the API specification file and the `APIMATIC-META` json file.\n *\n * @param apiEntityId The ID of the API Entity to replace.\n * @param accept\n * @param file The API specification file.
The type of the specification file should be\n * any of the [supported formats](https://docs.apimatic.io/api-\n * transformer/overview-transformer#supported-input-formats).\n * @return Response from the API call\n */\n async inplaceAPIImportViaFile(\n apiEntityId: string,\n accept: Accept2,\n file: FileWrapper,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('PUT');\n const mapped = req.prepareArgs({\n apiEntityId: [apiEntityId, string()],\n accept: [accept, accept2Schema],\n });\n req.header('Accept', mapped.accept);\n req.header('Content-Type', 'multipart/form-data');\n req.formData({\n file: file,\n });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/import-via-file`;\n return req.call(requestOptions);\n }\n\n /**\n * Replace an API version of an API Group, by providing the URL of the API specification file that will\n * replace the current version.\n *\n * You can also specify [API Metadata](https://docs.apimatic.io/manage-apis/apimatic-metadata) while\n * importing the API version using this endpoint. When specifying Metadata, the URL provided will be\n * that of a zip file containing the API specification file and the `APIMATIC-META` json file.\n *\n * @param apiEntityId The ID of the API Entity to replace.\n * @param body Request Body\n * @return Response from the API call\n */\n async inplaceAPIImportViaURL(\n apiEntityId: string,\n body: InplaceImportApiViaUrlRequest,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('PUT');\n const mapped = req.prepareArgs({\n apiEntityId: [apiEntityId, string()],\n body: [body, inplaceImportApiViaUrlRequestSchema],\n });\n req.header(\n 'Content-Type',\n 'application/vnd.apimatic.apiEntityUrlImportDto.v1+json'\n );\n req.json(mapped.body);\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/import-via-url`;\n return req.call(requestOptions);\n }\n\n /**\n * Fetch an API Entity.\n *\n * @param apiEntityId The ID of the API Entity to fetch.\n * @return Response from the API call\n */\n async fetchAPIEntity(\n apiEntityId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({ apiEntityId: [apiEntityId, string()] });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}`;\n return req.callAsJson(apiEntitySchema, requestOptions);\n }\n\n /**\n * Download the API Specification file for a an API Version in any of the API Specification formats\n * supported by APIMatic.\n *\n * @param apiEntityId The ID of the API Entity to download.\n * @param format The format in which to download the API.
The format can be any of the\n * [supported formats](https://docs.apimatic.io/api-transformer/overview-\n * transformer#supported-input-formats).\n * @return Response from the API call\n */\n async downloadAPISpecification(\n apiEntityId: string,\n format: ExportFormats,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({\n apiEntityId: [apiEntityId, string()],\n format: [format, exportFormatsSchema],\n });\n req.query('format', mapped.format);\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/api-description`;\n return req.callAsStream(requestOptions);\n }\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { object, Schema, string } from '../schema';\nimport { Platforms, platformsSchema } from './platforms';\n\nexport interface GenerateSdkViaUrlRequest {\n /** The URL for the API specification file.

**Note:** This URL should be publicly accessible. */\n url: string;\n /** The structure contains platforms that APIMatic CodeGen can generate SDKs and Docs in. */\n template: Platforms;\n}\n\nexport const generateSdkViaUrlRequestSchema: Schema = object(\n { url: ['url', string()], template: ['template', platformsSchema] }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { boolean, object, Schema, string } from '../schema';\nimport { Platforms, platformsSchema } from './platforms';\n\n/** The Code Generation structure encapsulates all the the details of an SDK generation performed by a user. */\nexport interface UserCodeGeneration {\n /** Unique Code Generation Identifier */\n id: string;\n /** The structure contains platforms that APIMatic CodeGen can generate SDKs and Docs in. */\n template: Platforms;\n /** The generated SDK */\n generatedFile: string;\n /** Generation Date and Time */\n generatedOn: string;\n /** The md5 hash of the API Description */\n hashCode: string;\n /** Generation Source */\n codeGenerationSource: string;\n /** Generation Version */\n codeGenVersion: string;\n /** Generation Status */\n success: boolean;\n /** Unique User Identifier */\n userId: string;\n /** API Specification file in a supported format */\n inputFile: string;\n}\n\nexport const userCodeGenerationSchema: Schema = object({\n id: ['id', string()],\n template: ['template', platformsSchema],\n generatedFile: ['generatedFile', string()],\n generatedOn: ['generatedOn', string()],\n hashCode: ['hashCode', string()],\n codeGenerationSource: ['codeGenerationSource', string()],\n codeGenVersion: ['codeGenVersion', string()],\n success: ['success', boolean()],\n userId: ['userId', string()],\n inputFile: ['inputFile', string()],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { ApiResponse, FileWrapper, RequestOptions } from '../core';\nimport {\n GenerateSdkViaUrlRequest,\n generateSdkViaUrlRequestSchema,\n} from '../models/generateSdkViaUrlRequest';\nimport { Platforms, platformsSchema } from '../models/platforms';\nimport {\n UserCodeGeneration,\n userCodeGenerationSchema,\n} from '../models/userCodeGeneration';\nimport { array, string } from '../schema';\nimport { BaseController } from './baseController';\n\nexport class CodeGenerationExternalApisController extends BaseController {\n /**\n * Generate an SDK for an API by by uploading the API specification file.\n *\n * This endpoint generates and then uploads the generated SDK to APIMatic's cloud storage. An ID for\n * the generation performed is returned as part of the response.\n *\n * This endpoint does not import an API into APIMatic.\n *\n * @param file The API specification file.
The type of the specification file should be\n * any of the [supported formats](https://docs.apimatic.io/api-\n * transformer/overview-transformer#supported-input-formats).\n * @param template The structure contains platforms that APIMatic CodeGen can generate SDKs and\n * Docs in.\n * @return Response from the API call\n */\n async generateSDKViaFile(\n file: FileWrapper,\n template: Platforms,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest(\n 'POST',\n '/code-generations/generate-via-file'\n );\n const mapped = req.prepareArgs({ template: [template, platformsSchema] });\n req.header('Content-Type', 'multipart/form-data');\n req.formData({\n file: file,\n template: mapped.template,\n });\n return req.callAsJson(userCodeGenerationSchema, requestOptions);\n }\n\n /**\n * Generate an SDK for an API by providing the URL of the API specification file.\n *\n * This endpoint generates and then uploads the generated SDK to APIMatic's cloud storage. An ID for\n * the generation performed is returned as part of the response.\n *\n * This endpoint does not import an API into APIMatic.\n *\n * @param body Request Body\n * @return Response from the API call\n */\n async generateSDKViaURL(\n body: GenerateSdkViaUrlRequest,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest(\n 'POST',\n '/code-generations/generate-via-url'\n );\n const mapped = req.prepareArgs({\n body: [body, generateSdkViaUrlRequestSchema],\n });\n req.header('Content-Type', 'application/vnd.apimatic.userCodeGenerationDto.v1+json');\n req.json(mapped.body);\n return req.callAsJson(userCodeGenerationSchema, requestOptions);\n }\n\n /**\n * Download the SDK generated via the Generate SDK endpoints.\n *\n * @param codegenId The ID of code generation received in the response of the [Generate SDK Via\n * File](https://www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-endpoints/code-generation-\n * external-apis/generate-sdk-via-file) or [Generate SDK Via URL ](https://www.apimatic.\n * io/api-docs-preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-endpoints/code-\n * generation-external-apis/generate-sdk-via-url) calls.\n * @return Response from the API call\n */\n async downloadSDK(\n codegenId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({ codegenId: [codegenId, string()] });\n req.appendTemplatePath`/code-generations/${mapped.codegenId}/generated-sdk`;\n return req.callAsStream(requestOptions);\n }\n\n /**\n * Get a list of all SDK generations performed with external APIs via the Generate SDK endpoints.\n *\n * @return Response from the API call\n */\n async listAllCodeGenerations(\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET', '/code-generations');\n return req.callAsJson(array(userCodeGenerationSchema), requestOptions);\n }\n\n /**\n * Download the API Specification file used as input for a specific SDK generation performed via the\n * Generate SDK endpoints.\n *\n * @param codegenId The ID of the code generation to download the API specification for. The code\n * generation ID is received in the response of the [Generate SDK Via File](https://www.\n * apimatic.io/api-docs-preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-\n * endpoints/code-generation-external-apis/generate-sdk-via-file) or [Generate SDK Via\n * URL ](https://www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-endpoints/code-generation-\n * external-apis/generate-sdk-via-url) calls\n * @return Response from the API call\n */\n async downloadInputFile(\n codegenId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({ codegenId: [codegenId, string()] });\n req.appendTemplatePath`/code-generations/${mapped.codegenId}/input-file`;\n return req.callAsStream(requestOptions);\n }\n\n /**\n * Get details on an SDK generation performed for an external API via the Generate SDK endpoints.\n *\n * @param codegenId The ID of the code generation to fetch. The code generation ID is received in the\n * response of the [Generate SDK Via File](https://www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-endpoints/code-generation-\n * external-apis/generate-sdk-via-file) or [Generate SDK Via URL ](https://www.apimatic.\n * io/api-docs-preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-endpoints/code-\n * generation-external-apis/generate-sdk-via-url) calls.\n * @return Response from the API call\n */\n async getACodeGeneration(\n codegenId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({ codegenId: [codegenId, string()] });\n req.appendTemplatePath`/code-generations/${mapped.codegenId}`;\n return req.callAsJson(userCodeGenerationSchema, requestOptions);\n }\n\n /**\n * Delete an SDK generation performed for an API via the Generate SDK endpoints.\n *\n * @param codegenId The ID of the code generation to delete. The code generation ID is received in the\n * response of the [Generate SDK Via File](https://www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-endpoints/code-generation-\n * external-apis/generate-sdk-via-file) or [Generate SDK Via URL ](https://www.apimatic.\n * io/api-docs-preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-endpoints/code-\n * generation-external-apis/generate-sdk-via-url) calls.\n * @return Response from the API call\n */\n async deleteCodeGeneration1(\n codegenId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('DELETE');\n const mapped = req.prepareArgs({ codegenId: [codegenId, string()] });\n req.appendTemplatePath`/code-generations/${mapped.codegenId}`;\n return req.call(requestOptions);\n }\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { boolean, object, Schema, string } from '../schema';\nimport { Platforms, platformsSchema } from './platforms';\n\n/** The Code Generation structure encapsulates all the the details of an SDK generation performed against an API Entity */\nexport interface APIEntityCodeGeneration {\n /** Unique Code Generation Identifier */\n id: string;\n /** The structure contains platforms that APIMatic CodeGen can generate SDKs and Docs in. */\n template: Platforms;\n /** The generated SDK */\n generatedFile: string;\n /** Generation Date and Time */\n generatedOn: string;\n /** The md5 hash of the API Description */\n hashCode: string;\n /** Generation Source */\n codeGenerationSource: string;\n /** Generation Version */\n codeGenVersion: string;\n /** Generation Status */\n success: boolean;\n /** Unique API Entity Identifier */\n apiEntityId: string;\n}\n\nexport const aPIEntityCodeGenerationSchema: Schema = object(\n {\n id: ['id', string()],\n template: ['template', platformsSchema],\n generatedFile: ['generatedFile', string()],\n generatedOn: ['generatedOn', string()],\n hashCode: ['hashCode', string()],\n codeGenerationSource: ['codeGenerationSource', string()],\n codeGenVersion: ['codeGenVersion', string()],\n success: ['success', boolean()],\n apiEntityId: ['apiEntityId', string()],\n }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { ApiResponse, RequestOptions } from '../core';\nimport {\n APIEntityCodeGeneration,\n aPIEntityCodeGenerationSchema,\n} from '../models/aPIEntityCodeGeneration';\nimport { Platforms, platformsSchema } from '../models/platforms';\nimport { array, string } from '../schema';\nimport { BaseController } from './baseController';\n\nexport class CodeGenerationImportedApisController extends BaseController {\n /**\n * Generate an SDK for an API Version.\n *\n * This endpoint generates and then uploads the generated SDK to APIMatic's cloud storage. An ID for\n * the generation performed is returned as part of the response.\n *\n * @param apiEntityId The ID of the API Entity to generate the SDK for.\n * @param template The structure contains platforms that APIMatic CodeGen can generate SDKs and\n * Docs in.\n * @return Response from the API call\n */\n async generateSDK(\n apiEntityId: string,\n template: Platforms,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('POST');\n const mapped = req.prepareArgs({\n apiEntityId: [apiEntityId, string()],\n template: [template, platformsSchema],\n });\n req.header('Content-Type', 'application/x-www-form-urlencoded');\n req.form({\n template: mapped.template,\n });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/code-generations/generate`;\n return req.callAsJson(aPIEntityCodeGenerationSchema, requestOptions);\n }\n\n /**\n * Download the SDK generated via the Generate SDK endpoint.\n *\n * @param apiEntityId The ID of the API Entity for which the SDK was generated.\n * @param codegenId The ID of code generation received in the response of the [SDK generation\n * call](https://www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-endpoints/code-\n * generation-imported-apis/generate-sdk).\n * @return Response from the API call\n */\n async downloadSDK(\n apiEntityId: string,\n codegenId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({\n apiEntityId: [apiEntityId, string()],\n codegenId: [codegenId, string()],\n });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/code-generations/${mapped.codegenId}/generated-sdk`;\n return req.callAsStream(requestOptions);\n }\n\n /**\n * Get a list of all SDK generations done against an API Version via the Generate SDK endpoint.\n *\n * @param apiEntityId The ID of the API Entity for which to list code generations.\n * @return Response from the API call\n */\n async listAllCodeGenerations(\n apiEntityId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({ apiEntityId: [apiEntityId, string()] });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/code-generations`;\n return req.callAsJson(array(aPIEntityCodeGenerationSchema), requestOptions);\n }\n\n /**\n * Get details on an SDK generation performed via the Generate SDK endpoint.\n *\n * @param apiEntityId The ID of the API Entity to fetch the code generation for.\n * @param codegenId The ID of the code generation to fetch. The code generation ID is received in the\n * response of the [SDK generation call](https://www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-endpoints/code-\n * generation-imported-apis/generate-sdk).\n * @return Response from the API call\n */\n async getACodeGeneration(\n apiEntityId: string,\n codegenId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({\n apiEntityId: [apiEntityId, string()],\n codegenId: [codegenId, string()],\n });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/code-generations/${mapped.codegenId}`;\n return req.callAsJson(aPIEntityCodeGenerationSchema, requestOptions);\n }\n\n /**\n * Delete an SDK generation performed for an API Version via the Generate SDK endpoint.\n *\n * @param apiEntityId The ID of the API Entity to delete the code generation for.\n * @param codegenId The ID of the code generation to delete. The code generation ID is received in the\n * response of the [SDK generation call](https://www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-endpoints/code-\n * generation-imported-apis/generate-sdk).\n * @return Response from the API call\n */\n async deleteCodeGeneration(\n apiEntityId: string,\n codegenId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('DELETE');\n const mapped = req.prepareArgs({\n apiEntityId: [apiEntityId, string()],\n codegenId: [codegenId, string()],\n });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/code-generations/${mapped.codegenId}`;\n return req.call(requestOptions);\n }\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { Schema, stringEnum } from '../schema';\n\n/**\n * Enum for Accept3\n */\nexport enum Accept3 {\n EnumApplicationzip = 'application/zip',\n}\n\n/**\n * Schema for Accept3\n */\nexport const accept3Schema: Schema = stringEnum(Accept3);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { ApiResponse, FileWrapper, RequestOptions } from '../core';\nimport { Accept3, accept3Schema } from '../models/accept3';\nimport { string } from '../schema';\nimport { BaseController } from './baseController';\n\nexport class DocsPortalManagementController extends BaseController {\n /**\n * Publish artifacts for a Hosted Portal.\n *\n * This endpoint regenerates all the artifacts for a hosted portal and uploads them to APIMatic's cloud\n * storage, from where the Portal fetches them. These artifacts include:\n *\n * 1. SDKs\n * 2. Docs\n * 3. API Specification files\n *\n * Call this endpoint to update your Hosted Portal after you update an API Entity via any of the Import\n * API Endpoints.\n *\n * __**Note: If you have an embedded portal against the same API Entity, artifacts for that portal will\n * get updated as well.**__\n *\n * @param apiEntityId The ID of the API Entity to update the portal artifacts for.\n * @return Response from the API call\n */\n async publishHostedPortal(\n apiEntityId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('PUT');\n const mapped = req.prepareArgs({ apiEntityId: [apiEntityId, string()] });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/hosted-portal`;\n return req.call(requestOptions);\n }\n\n /**\n * Publish artifacts for an Embedded Portal and get the Portal Embed script.\n *\n * This endpoint regenerates all the artifacts for an embedded portal and uploads them to APIMatic's\n * cloud storage, from where the Portal fetches them. These artifacts include:\n *\n * 1. SDKs\n * 2. Docs\n * 3. API Specification files\n *\n * Call this endpoint to update your Embedded Portal after you update an API Entity via any of the\n * Import API Endpoints. This endpoint returns the Portal Embed script in the response.\n *\n * __**Note: If you have a hosted portal against the same API Entity, artifacts for that portal will\n * get updated as well.**__\n *\n * @param apiEntityId The ID of the API Entity to update the portal artifacts for.\n * @return Response from the API call\n */\n async publishEmbeddedPortal(\n apiEntityId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('PUT');\n const mapped = req.prepareArgs({ apiEntityId: [apiEntityId, string()] });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/embedded-portal`;\n return req.call(requestOptions);\n }\n\n /**\n * Generate an On-premise Documentation Portal for an API Entity. This endpoint generates all artifacts\n * for the Portal and packages them together into a zip file along with the required HTML, CSS and JS\n * files. The generated artifacts include:\n *\n * 1. SDKs\n * 2. Docs\n * 3. API Specification files\n *\n * The endpoint returns a zip file that contains a static Site and can be hosted on any Web Server.\n *\n * @param apiEntityId The ID of the API Entity to generate the Portal for.\n * @param accept Example: application/zip\n * @return Response from the API call\n */\n async generateOnPremPortalViaAPIEntity(\n apiEntityId: string,\n accept: Accept3,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({\n apiEntityId: [apiEntityId, string()],\n accept: [accept, accept3Schema],\n });\n req.header('Accept', mapped.accept);\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/on-prem-portal`;\n return req.call(requestOptions);\n }\n\n /**\n * Generate an On-premise Documentation Portal by uploading a Portal Build Input. This endpoint\n * generates all artifacts for the Portal and packages them together into a zip file along with the\n * required HTML, CSS and JS files. The generated artifacts include:\n *\n * 1. SDKs\n * 2. Docs\n * 3. API Specification files\n *\n * The endpoint returns a zip file that contains a static Site and can be hosted on any Web Server.\n *\n * @param file The input file to the Portal Generator. Must contain the build file.\n * @return Response from the API call\n */\n async generateOnPremPortalViaBuildInput(\n file: FileWrapper,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('POST', '/portal');\n req.header('ContentType', 'multipart/form-data');\n req.formData({\n file: file,\n });\n return req.callAsStream(requestOptions);\n }\n\n /**\n * Unpublish a Hosted or Embedded Portal published for an API Entity. Calling this endpoint deletes all\n * the published artifacts for a Portal from APIMatic's cloud storage.\n *\n * In case of a Hosted Portal, to completely remove the Portal, this endpoint needs to be called\n * against all API versions that the Portal hosts.\n *\n * In case of an Embedded Portal, to completely remove the Portal, the user needs to manually remove\n * the Portal Embed script from the embedding site.\n *\n * @param apiEntityId The ID of the API Entity to unpublish the Portal artifacts for.\n * @return Response from the API call\n */\n async unpublishPortal(\n apiEntityId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('DELETE');\n const mapped = req.prepareArgs({ apiEntityId: [apiEntityId, string()] });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/portal`;\n return req.call(requestOptions);\n }\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { Schema, stringEnum } from '../schema';\n\n/**\n * Enum for Id\n */\nexport enum Id {\n Enum5dcd2b5893c3e31a206f30c4 = '5dcd2b5893c3e31a206f30c4',\n}\n\n/**\n * Schema for Id\n */\nexport const idSchema: Schema = stringEnum(Id);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { Schema, stringEnum } from '../schema';\n\n/**\n * Enum for Link\n */\nexport enum Link {\n EnumHttpswwwnugetorgpackagesmyPackage111 = 'https://www.nuget.org/packages/myPackage/1.1.1',\n}\n\n/**\n * Schema for Link\n */\nexport const linkSchema: Schema = stringEnum(Link);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { Schema, stringEnum } from '../schema';\n\n/**\n * Enum for PackageRepositories\n */\nexport enum PackageRepositories {\n Npm = 'Npm',\n PyPI = 'PyPI',\n RubyGems = 'RubyGems',\n}\n\n/**\n * Schema for PackageRepositories\n */\nexport const packageRepositoriesSchema: Schema = stringEnum(PackageRepositories);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { object, optional, Schema, string, unknown } from '../schema';\nimport { Id, idSchema } from './id';\nimport { Link, linkSchema } from './link';\n\n/** This structure contains all details that goes into package deployment. */\nexport interface CSNETSTANDARDLIB {\n /** Unique package identifier */\n id?: Id;\n /** Package Repository as per platform */\n packageRepository: string;\n /** Package Name */\n packageName: string;\n version: string;\n /** Any additional platform specific deployment detail */\n additionalDeploymentInformation?: unknown;\n /** Link of deployed package */\n link?: Link;\n}\n\nexport const cSNETSTANDARDLIBSchema: Schema = object({\n id: ['id', optional(idSchema)],\n packageRepository: ['packageRepository', string()],\n packageName: ['packageName', string()],\n version: ['version', string()],\n additionalDeploymentInformation: [\n 'additionalDeploymentInformation',\n unknown(),\n ],\n link: ['link', optional(linkSchema)],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { lazy, object, Schema } from '../schema';\nimport { CSNETSTANDARDLIB, cSNETSTANDARDLIBSchema } from './cSNETSTANDARDLIB';\n\n/** This structure encapsulates all package deployment details. */\nexport interface TemplatesPackageDeploymentInformation {\n /** This structure contains all details that goes into package deployment. */\n cSNETSTANDARDLIB: CSNETSTANDARDLIB;\n}\n\nexport const templatesPackageDeploymentInformationSchema: Schema = object(\n {\n cSNETSTANDARDLIB: [\n 'CS_NET_STANDARD_LIB',\n lazy(() => cSNETSTANDARDLIBSchema),\n ],\n }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { lazy, object, Schema, string } from '../schema';\nimport {\n TemplatesPackageDeploymentInformation,\n templatesPackageDeploymentInformationSchema,\n} from './templatesPackageDeploymentInformation';\n\n/** The structure contains Package Deployment Information along with Id. */\nexport interface PackageDeploymentInformation {\n /** Package Deployment Identifier */\n id: string;\n /** This structure encapsulates all package deployment details. */\n templatesPackageDeploymentInformation: TemplatesPackageDeploymentInformation;\n}\n\nexport const packageDeploymentInformationSchema: Schema = object(\n {\n id: ['id', string()],\n templatesPackageDeploymentInformation: [\n 'templatesPackageDeploymentInformation',\n lazy(() => templatesPackageDeploymentInformationSchema),\n ],\n }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { object, Schema, string } from '../schema';\n\nexport interface AuthorIdentifiers {\n email: string;\n userName: string;\n}\n\nexport const authorIdentifiersSchema: Schema = object({\n email: ['Email', string()],\n userName: ['UserName', string()],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { lazy, object, Schema, string, unknown } from '../schema';\nimport {\n AuthorIdentifiers,\n authorIdentifiersSchema,\n} from './authorIdentifiers';\n\nexport interface PublishedPackage {\n id: string;\n createdOn: string;\n apiEntityId: string;\n packageRepository: string;\n template: string;\n packageName: string;\n version: string;\n additionalDeploymentInformation?: unknown;\n authorIdentifiers: AuthorIdentifiers;\n link: string;\n}\n\nexport const publishedPackageSchema: Schema = object({\n id: ['id', string()],\n createdOn: ['createdOn', string()],\n apiEntityId: ['apiEntityId', string()],\n packageRepository: ['packageRepository', string()],\n template: ['template', string()],\n packageName: ['packageName', string()],\n version: ['version', string()],\n additionalDeploymentInformation: [\n 'additionalDeploymentInformation',\n unknown(),\n ],\n authorIdentifiers: ['authorIdentifiers', lazy(() => authorIdentifiersSchema)],\n link: ['link', string()],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { Schema, stringEnum } from '../schema';\n\n/**\n * Enum for ImplementationType\n */\nexport enum ImplementationType {\n Structure = 'Structure',\n Enumeration = 'Enumeration',\n Exception = 'Exception',\n}\n\n/**\n * Schema for ImplementationType\n */\nexport const implementationTypeSchema: Schema = stringEnum(ImplementationType);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { object, Schema, string, unknown } from '../schema';\nimport {\n PackageRepositories,\n packageRepositoriesSchema,\n} from './packageRepositories';\nimport { Platforms, platformsSchema } from './platforms';\n\nexport interface PublishPackageInput {\n packageRepository: PackageRepositories;\n /** The structure contains platforms that APIMatic CodeGen can generate SDKs and Docs in. */\n template: Platforms;\n packageName: string;\n version: string;\n additionalDeploymentInformation?: unknown;\n}\n\nexport const publishPackageInputSchema: Schema = object({\n packageRepository: ['packageRepository', packageRepositoriesSchema],\n template: ['template', platformsSchema],\n packageName: ['packageName', string()],\n version: ['version', string()],\n additionalDeploymentInformation: [\n 'additionalDeploymentInformation',\n unknown(),\n ],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { lazy, object, Schema } from '../schema';\nimport { CSNETSTANDARDLIB, cSNETSTANDARDLIBSchema } from './cSNETSTANDARDLIB';\n\n/** This structure helps update package deployment details. */\nexport interface UpdateTemplatesPackageDeploymentInformation {\n /** This structure contains all details that goes into package deployment. */\n cSNETSTANDARDLIB: CSNETSTANDARDLIB;\n}\n\nexport const updateTemplatesPackageDeploymentInformationSchema: Schema = object(\n {\n cSNETSTANDARDLIB: [\n 'CS_NET_STANDARD_LIB',\n lazy(() => cSNETSTANDARDLIBSchema),\n ],\n }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { lazy, object, Schema } from '../schema';\nimport {\n UpdateTemplatesPackageDeploymentInformation,\n updateTemplatesPackageDeploymentInformationSchema,\n} from './updateTemplatesPackageDeploymentInformation';\n\n/** This structure is used to update package deployment details. */\nexport interface UpdatePackageDeploymentInformation {\n /** This structure helps update package deployment details. */\n templatesPackageDeploymentInformation: UpdateTemplatesPackageDeploymentInformation;\n}\n\nexport const updatePackageDeploymentInformationSchema: Schema = object(\n {\n templatesPackageDeploymentInformation: [\n 'templatesPackageDeploymentInformation',\n lazy(() => updateTemplatesPackageDeploymentInformationSchema),\n ],\n }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { ApiResponse, RequestOptions } from '../core';\nimport {\n PackageDeploymentInformation,\n packageDeploymentInformationSchema,\n} from '../models/packageDeploymentInformation';\nimport {\n PublishedPackage,\n publishedPackageSchema,\n} from '../models/publishedPackage';\nimport {\n PublishPackageInput,\n publishPackageInputSchema,\n} from '../models/publishPackageInput';\nimport {\n UpdatePackageDeploymentInformation,\n updatePackageDeploymentInformationSchema,\n} from '../models/updatePackageDeploymentInformation';\nimport { array, string } from '../schema';\nimport { BaseController } from './baseController';\n\nexport class PackageDeploymentController extends BaseController {\n /**\n * Update Package Deployment Information for an API Entity. To find out more on how to publish a\n * package visit: [Adding Packages to Portal](https://docs.apimatic.io/developer-experience-\n * portal/adding%20packages%20to%20portal/)\n *\n * To find out more about publishing packages visit: [Publish Packages](https://docs.apimatic.\n * io/developer-experience-portal/adding%20packages%20to%20portal/)\n *\n * @param apiEntityId Unique API Entity Identifier\n * @param body Package Deployment Information to be updated.\n * This comprises of the Platform Template, the\n * Repository Name and Version.\n * @return Response from the API call\n */\n async updatePackageDeploymentInformation(\n apiEntityId: string,\n body: UpdatePackageDeploymentInformation,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('PUT');\n const mapped = req.prepareArgs({\n apiEntityId: [apiEntityId, string()],\n body: [body, updatePackageDeploymentInformationSchema],\n });\n req.header('Content-Type', 'application/json');\n req.json(mapped.body);\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/docs/package-deployment-information`;\n return req.call(requestOptions);\n }\n\n /**\n * Query Package deployment details added for an API Entity.\n * To find out more about adding packages to portal: [Adding Packages to Portal](https://docs.apimatic.\n * io/developer-experience-portal/adding%20packages%20to%20portal/)\n *\n * @param apiEntityId Unique API Entity identifier\n * @return Response from the API call\n */\n async packageDeploymentInformation(\n apiEntityId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n req.baseUrl('default');\n const mapped = req.prepareArgs({ apiEntityId: [apiEntityId, string()] });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/docs/package-deployment-information`;\n return req.callAsJson(packageDeploymentInformationSchema, requestOptions);\n }\n\n /**\n * Returns logs for all packages published for the API.\n *\n * @param apiEntityId Unique API Identifier\n * @return Response from the API call\n */\n async getPublishedPackagesForAPI(\n apiEntityId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({ apiEntityId: [apiEntityId, string()] });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/published-packages`;\n return req.callAsJson(array(publishedPackageSchema), requestOptions);\n }\n\n /**\n * Publish a new package for API by specifying package name and version number.\n *\n * To publish packages using this API, you will first need to add package repository credentials to\n * your APIMatic account.\n * Check out the [docs](https://docs.apimatic.io/advanced/publishing-a-package/) for a guide on adding\n * package repository credentials\n *\n * @param apiEntityId Unique API Identifier\n * @param body\n * @return Response from the API call\n */\n async publishAPackageForAPI(\n apiEntityId: string,\n body: PublishPackageInput,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('POST');\n const mapped = req.prepareArgs({\n apiEntityId: [apiEntityId, string()],\n body: [body, publishPackageInputSchema],\n });\n req.header('Content-Type', 'application/json');\n req.json(mapped.body);\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/published-packages/`;\n return req.callAsJson(publishedPackageSchema, requestOptions);\n }\n\n /**\n * Pull details for a certain published package by specifying Published Package Id.\n *\n * @param apiEntityId Unique API Identifier\n * @param publishedPackageId Unique Published Package Identifier\n * @return Response from the API call\n */\n async getAPublishedPackage(\n apiEntityId: string,\n publishedPackageId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n req.baseUrl('default');\n const mapped = req.prepareArgs({\n apiEntityId: [apiEntityId, string()],\n publishedPackageId: [publishedPackageId, string()],\n });\n req.appendTemplatePath`/api/api-entities/${mapped.apiEntityId}/published-packages/${mapped.publishedPackageId}`;\n return req.callAsJson(publishedPackageSchema, requestOptions);\n }\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { boolean, lazy, object, optional, Schema, string } from '../schema';\nimport {\n ApiValidationSummary,\n apiValidationSummarySchema,\n} from './apiValidationSummary';\n\n/** Transformation structure encapsulates all the details of a Transformation. */\nexport interface Transformation {\n /** Unique Transformation Identifier */\n id: string;\n /** Transformation Date and Time */\n transformedOn: string;\n /** Unique User Identifier */\n userId: string;\n /** API Specification file to be transformed */\n inputtedFile: string;\n /** API Specification file transformed to desired format */\n generatedFile: string;\n /** Desired Specification format */\n exportFormat: string;\n /** Source of Transformation */\n transformationSource: string;\n /** Via File or URL */\n transformationInput: string;\n /** CodeGen Engine Version */\n codeGenVersion: string;\n /** Successful Transformation Flag */\n success: boolean;\n importSummary?: ApiValidationSummary;\n apiValidationSummary?: ApiValidationSummary;\n}\n\nexport const transformationSchema: Schema = object({\n id: ['id', string()],\n transformedOn: ['transformedOn', string()],\n userId: ['userId', string()],\n inputtedFile: ['inputtedFile', string()],\n generatedFile: ['generatedFile', string()],\n exportFormat: ['exportFormat', string()],\n transformationSource: ['transformationSource', string()],\n transformationInput: ['transformationInput', string()],\n codeGenVersion: ['codeGenVersion', string()],\n success: ['success', boolean()],\n importSummary: [\n 'importSummary',\n optional(lazy(() => apiValidationSummarySchema)),\n ],\n apiValidationSummary: [\n 'apiValidationSummary',\n optional(lazy(() => apiValidationSummarySchema)),\n ],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { object, Schema, string } from '../schema';\nimport { ExportFormats, exportFormatsSchema } from './exportFormats';\n\n/** This structure puts together the URL of the file to be transformed, along with the desired export format. */\nexport interface TransformViaUrlRequest {\n /** The URL for the API specification file.

**Note:** This URL should be publicly accessible. */\n url: string;\n /** The structure contains API specification formats that Transformer can convert to. */\n exportFormat: ExportFormats;\n}\n\nexport const transformViaUrlRequestSchema: Schema = object(\n {\n url: ['url', string()],\n exportFormat: ['export_format', exportFormatsSchema],\n }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { ApiResponse, FileWrapper, RequestOptions } from '../core';\nimport { ExportFormats, exportFormatsSchema } from '../models/exportFormats';\nimport { Transformation, transformationSchema } from '../models/transformation';\nimport {\n TransformViaUrlRequest,\n transformViaUrlRequestSchema,\n} from '../models/transformViaUrlRequest';\nimport { array, string } from '../schema';\nimport { BaseController } from './baseController';\n\nexport class TransformationController extends BaseController {\n /**\n * Transform an API into any of the supported API specification formats by uploading the API\n * specification file.\n *\n * This endpoint transforms and then uploads the transformed API specification to APIMatic's cloud\n * storage. An ID for the transformation performed is returned as part of the response.\n *\n * @param file The API specification file.
The type of the specification file should be\n * any of the [supported formats](https://docs.apimatic.io/api-\n * transformer/overview-transformer#supported-input-formats).\n * @param exportFormat The structure contains API specification formats that Transformer can\n * convert to.\n * @return Response from the API call\n */\n async transformViaFile(\n file: FileWrapper,\n exportFormat: ExportFormats,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest(\n 'POST',\n '/transformations/transform-via-file'\n );\n const mapped = req.prepareArgs({\n exportFormat: [exportFormat, exportFormatsSchema],\n });\n req.header('ContentType', 'multipart/form-data');\n req.formData({\n file: file,\n export_format: mapped.exportFormat,\n });\n return req.callAsJson(transformationSchema, requestOptions);\n }\n\n /**\n * Transform an API into any of the supported API specification formats by providing the URL of the API\n * specification file.\n *\n * This endpoint transforms and then uploads the transformed API specification to APIMatic's cloud\n * storage. An ID for the transformation performed is returned as part of the response.\n *\n * @param body Request Body\n * @return Response from the API call\n */\n async transformViaURL(\n body: TransformViaUrlRequest,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest(\n 'POST',\n '/transformations/transform-via-url'\n );\n const mapped = req.prepareArgs({\n body: [body, transformViaUrlRequestSchema],\n });\n req.header(\n 'Content-Type',\n 'application/vnd.apimatic.urlTransformDto.v1+json'\n );\n req.json(mapped.body);\n return req.callAsJson(transformationSchema, requestOptions);\n }\n\n /**\n * Download the transformed API specification file transformed via the Transformation endpoints.\n *\n * @param transformationId The ID of transformation received in the response of the [Transform Via File\n * ](https://www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-\n * endpoints/transformation/transform-via-file) or [Transform Via URL ](https:\n * //www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-\n * endpoints/transformation/transform-via-url) calls.\n * @return Response from the API call\n */\n async downloadTransformedFile(\n transformationId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({\n transformationId: [transformationId, string()],\n });\n req.appendTemplatePath`/transformations/${mapped.transformationId}/converted-file`;\n return req.callAsStream(requestOptions);\n }\n\n /**\n * Download the API Specification file used as input for a particular Transformation performed via the\n * Transformation endpoints.\n *\n * @param transformationId The ID of the transformation to download the API specification for. The\n * transformation ID is received in the response of the [Transform Via File\n * ](https://www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-\n * endpoints/transformation/transform-via-file) or [Transform Via URL](https://www.\n * apimatic.io/api-docs-preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-\n * endpoints/transformation/transform-via-url) calls.\n * @return Response from the API call\n */\n async downloadInputFile(\n transformationId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({\n transformationId: [transformationId, string()],\n });\n req.appendTemplatePath`/transformations/${mapped.transformationId}/input-file`;\n return req.callAsStream(requestOptions);\n }\n\n /**\n * Get a list of all API transformations performed.\n *\n * @return Response from the API call\n */\n async listAllTransformations(\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET', '/transformations');\n return req.callAsJson(array(transformationSchema), requestOptions);\n }\n\n /**\n * Get details on a particular Transformation performed via the Transformation endpoints.\n *\n * @param transformationId The ID of the transformation to fetch. The transformation ID is received in\n * the response of the [Transform Via File ](https://www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-\n * endpoints/transformation/transform-via-file) or [Transform Via URL ](https:\n * //www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-\n * endpoints/transformation/transform-via-url) calls.\n * @return Response from the API call\n */\n async getATransformation(\n transformationId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({\n transformationId: [transformationId, string()],\n });\n req.appendTemplatePath`/transformations/${mapped.transformationId}`;\n return req.callAsJson(transformationSchema, requestOptions);\n }\n\n /**\n * Delete a particular Transformation performed for an API via the Transformation endpoints.\n *\n * @param transformationId The ID of the transformation to delete. The transformation ID is received in\n * the response of the [Transform Via File ](https://www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-\n * endpoints/transformation/transform-via-file) or [Transform Via URL](https://www.\n * apimatic.io/api-docs-preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-\n * endpoints/transformation/transform-via-url) calls.\n * @return Response from the API call\n */\n async deleteTransformation(\n transformationId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('DELETE');\n const mapped = req.prepareArgs({\n transformationId: [transformationId, string()],\n });\n req.appendTemplatePath`/transformations/${mapped.transformationId}`;\n return req.call(requestOptions);\n }\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { Schema, stringEnum } from '../schema';\n\n/**\n * Enum for ContentType\n */\nexport enum ContentType {\n EnumMultipartformdata = 'multipart/form-data',\n}\n\n/**\n * Schema for ContentType\n */\nexport const contentTypeSchema: Schema = stringEnum(ContentType);\n"],"names":["runtime","exports","Op","Object","prototype","hasOwn","hasOwnProperty","$Symbol","Symbol","iteratorSymbol","iterator","asyncIteratorSymbol","asyncIterator","toStringTagSymbol","toStringTag","define","obj","key","value","defineProperty","enumerable","configurable","writable","err","wrap","innerFn","outerFn","self","tryLocsList","generator","create","Generator","context","Context","_invoke","state","method","arg","Error","undefined","done","delegate","delegateResult","maybeInvokeDelegate","ContinueSentinel","sent","_sent","dispatchException","abrupt","record","tryCatch","type","makeInvokeMethod","fn","call","GeneratorFunction","GeneratorFunctionPrototype","IteratorPrototype","this","getProto","getPrototypeOf","NativeIteratorPrototype","values","Gp","defineIteratorMethods","forEach","AsyncIterator","PromiseImpl","previousPromise","callInvokeWithMethodAndArg","resolve","reject","invoke","result","__await","then","unwrapped","error","TypeError","info","resultName","next","nextLoc","pushTryEntry","locs","entry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","push","resetTryEntry","completion","reset","iterable","iteratorMethod","isNaN","length","i","doneResult","displayName","isGeneratorFunction","genFun","ctor","constructor","name","mark","setPrototypeOf","__proto__","awrap","async","Promise","iter","keys","object","reverse","pop","skipTempReset","prev","charAt","slice","stop","rootRecord","rval","exception","handle","loc","caught","hasCatch","hasFinally","finallyEntry","complete","finish","catch","thrown","delegateYield","module","regeneratorRuntime","accidentalStrictMode","globalThis","Function","Environment","DEFAULT_CONFIGURATION","timeout","environment","Production","authorization","XmlSerialization","xmlSerialize","_rootName","_value","xmlDeserialize","_xmlString","Client","config","baseUrlProvider","authProvider","httpClient","addons","xmlSerializer","requestBuilderFactory","client","_config","_requestBuilderFactory","server","getBaseUri","_this","requiresAuth","request","options","mergeHeaders","headers","passThroughInterceptor","HttpClient","clientConfigOverrides","unstable_httpClientOptions","withErrorHandlers","withUserAgent","withAuthenticationByDefault","createRequestBuilderFactory","requestOptions","executeRequest","ApiError","tap","getRequestBuilderFactory","withConfiguration","callback","requestBuilder","c","rb","defaultToError","header","authenticate","apiValidationSummarySchema","success","boolean","errors","array","string","warnings","messages","BaseController","createRequest","APIValidationExternalApisController","validateAPIViaFile","file","req","baseUrl","formData","callAsJson","validateAPIViaURL","descriptionUrl","mapped","prepareArgs","query","docsValidationSummarySchema","APIValidationImportedApisController","validateAPI","apiEntityId","appendTemplatePath","validateAPIForDocs","Accept","acceptSchema","stringEnum","Accept2","ExportFormats","accept2Schema","authenticationSchema","id","authType","scopes","parameters","authScopes","authGrantTypes","paramFormats","unknown","codeGenSettingsSchema","isAsync","useHttpMethodPrefix","useModelPrefix","useEnumPrefix","useConstructorsForConfig","useCommonSdkLibrary","generateInterfaces","generateAppveyorConfig","generateCircleConfig","generateJenkinsConfig","generateTravisConfig","androidUseAppManifest","iosUseAppInfoPlist","iosGenerateCoreData","runscopeEnabled","collapseParamsToArray","preserveParameterOrder","appendContentHeaders","modelSerializationIsJSON","nullify404","validateRequiredParameters","enableAdditionalModelProperties","javaUsePropertiesConfig","useControllerPrefix","useExceptionPrefix","parameterArrayFormat","objCHttpClient","cSharpHttpClient","androidHttpClient","nodeHttpClient","phpHttpClient","bodySerialization","number","arraySerialization","enableLogging","enableHttpCache","retries","retryInterval","generateAdvancedDocs","storeTimezoneInformation","enablePhpComposerVersionString","securityProtocols","underscoreNumbers","useSingletonPattern","disableLinting","allowSkippingSSLCertVerification","applyCustomizations","doNotSplitWords","sortResources","enableGlobalUserAgent","endpointsGroupSchema","description","importValidationSummarySchema","metaDataSchema","importValidationSummary","lazy","apiValidationSummary","docsValidationSummary","serverSchema","url","environmentSchema","servers","attributesSchema","parameterSchema","optional","constant","isArray","isStream","isAttribute","isMap","attributes","nullable","defaultValue","paramFormat","serverConfigurationSchema","defaultEnvironment","defaultServer","environments","testGenSettingsSchema","precisionDelta","testTimeout","configuration","apiEntitySchema","encryptedId","apiKey","apiGroupId","imageUri","creationDate","mPublic","version","additionalHeaders","authentication","codeGenSettings","testGenSettings","serverConfiguration","endpointsGroup","metaData","Platforms","exportFormatsSchema","importApiVersionViaUrlRequestSchema","versionOverride","importApiViaUrlRequestSchema","inplaceImportApiViaUrlRequestSchema","ApisManagementController","importAPIViaFile","importAPIViaURL","body","json","importNewAPIVersionViaFile","accept","version_override","importNewAPIVersionViaURL","inplaceAPIImportViaFile","inplaceAPIImportViaURL","fetchAPIEntity","downloadAPISpecification","format","callAsStream","platformsSchema","generateSdkViaUrlRequestSchema","template","userCodeGenerationSchema","generatedFile","generatedOn","hashCode","codeGenerationSource","codeGenVersion","userId","inputFile","CodeGenerationExternalApisController","generateSDKViaFile","generateSDKViaURL","downloadSDK","codegenId","listAllCodeGenerations","downloadInputFile","getACodeGeneration","deleteCodeGeneration1","aPIEntityCodeGenerationSchema","CodeGenerationImportedApisController","generateSDK","form","deleteCodeGeneration","Accept3","accept3Schema","DocsPortalManagementController","publishHostedPortal","publishEmbeddedPortal","generateOnPremPortalViaAPIEntity","generateOnPremPortalViaBuildInput","unpublishPortal","Id","idSchema","Link","PackageRepositories","linkSchema","cSNETSTANDARDLIBSchema","packageRepository","packageName","additionalDeploymentInformation","link","templatesPackageDeploymentInformationSchema","cSNETSTANDARDLIB","packageDeploymentInformationSchema","templatesPackageDeploymentInformation","authorIdentifiersSchema","email","userName","publishedPackageSchema","createdOn","authorIdentifiers","ImplementationType","packageRepositoriesSchema","publishPackageInputSchema","updateTemplatesPackageDeploymentInformationSchema","updatePackageDeploymentInformationSchema","PackageDeploymentController","updatePackageDeploymentInformation","packageDeploymentInformation","getPublishedPackagesForAPI","publishAPackageForAPI","getAPublishedPackage","publishedPackageId","transformationSchema","transformedOn","inputtedFile","exportFormat","transformationSource","transformationInput","importSummary","transformViaUrlRequestSchema","TransformationController","transformViaFile","export_format","transformViaURL","downloadTransformedFile","transformationId","listAllTransformations","getATransformation","deleteTransformation","ContentType"],"mappings":"02BAOA,IAAIA,EAAW,SAAUC,GAGvB,IAAIC,EAAKC,OAAOC,UACZC,EAASH,EAAGI,eAEZC,EAA4B,mBAAXC,OAAwBA,OAAS,GAClDC,EAAiBF,EAAQG,UAAY,aACrCC,EAAsBJ,EAAQK,eAAiB,kBAC/CC,EAAoBN,EAAQO,aAAe,gBAE/C,SAASC,EAAOC,EAAKC,EAAKC,GAOxB,OANAf,OAAOgB,eAAeH,EAAKC,EAAK,CAC9BC,MAAOA,EACPE,YAAY,EACZC,cAAc,EACdC,UAAU,IAELN,EAAIC,GAEb,IAEEF,EAAO,GAAI,IACX,MAAOQ,GACPR,EAAS,SAASC,EAAKC,EAAKC,GAC1B,OAAOF,EAAIC,GAAOC,GAItB,SAASM,EAAKC,EAASC,EAASC,EAAMC,GAEpC,IACIC,EAAY1B,OAAO2B,QADFJ,GAAWA,EAAQtB,qBAAqB2B,EAAYL,EAAUK,GACtC3B,WACzC4B,EAAU,IAAIC,EAAQL,GAAe,IAMzC,OAFAC,EAAUK,QAuMZ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,EAASN,EAAIO,YAAY,CAC7B4N,iBAAkB,CAACA,EAAkB3O,cAEvCQ,EAAIa,wDAAsCP,EAAO6N,oCAC1CnO,EAAIG,WAAWmN,GAAsBhP,8GAcxCgQ,gDAAN,WACEH,EACA7P,iFAEM0B,EAAMrJ,KAAKiJ,cAAc,UACzBU,EAASN,EAAIO,YAAY,CAC7B4N,iBAAkB,CAACA,EAAkB3O,cAEvCQ,EAAIa,wDAAsCP,EAAO6N,oCAC1CnO,EAAIzJ,KAAK+H,+GAzK0BqB,ICLlC4O,sBAAAA,sERAA7B,GAAAA,6BAAAA,sDAEVA,6BACAA"} \ No newline at end of file +{"version":3,"file":"sdk.cjs.production.min.js","sources":["../node_modules/regenerator-runtime/runtime.js","../src/configuration.ts","../src/defaultConfiguration.ts","../src/http/xmlSerialization.ts","../src/client.ts","../src/authentication.ts","../src/models/apiValidationSummary.ts","../src/controllers/baseController.ts","../src/controllers/aPIValidationExternalApisController.ts","../src/models/docsValidationSummary.ts","../src/controllers/aPIValidationImportedApisController.ts","../src/models/accept.ts","../src/models/accept2.ts","../src/models/exportFormats.ts","../src/models/authentication.ts","../src/models/codeGenSettings.ts","../src/models/endpointsGroup.ts","../src/models/importValidationSummary.ts","../src/models/metaData.ts","../src/models/server.ts","../src/models/environment.ts","../src/models/attributes.ts","../src/models/parameter.ts","../src/models/serverConfiguration.ts","../src/models/testGenSettings.ts","../src/models/apiEntity.ts","../src/models/platforms.ts","../src/models/importApiVersionViaUrlRequest.ts","../src/models/importApiViaUrlRequest.ts","../src/models/inplaceImportApiViaUrlRequest.ts","../src/controllers/apisManagementController.ts","../src/models/generateSdkViaUrlRequest.ts","../src/models/userCodeGeneration.ts","../src/controllers/codeGenerationExternalApisController.ts","../src/models/aPIEntityCodeGeneration.ts","../src/controllers/codeGenerationImportedApisController.ts","../src/models/accept3.ts","../src/controllers/docsPortalManagementController.ts","../src/models/id.ts","../src/models/link.ts","../src/models/packageRepositories.ts","../src/models/cSNETSTANDARDLIB.ts","../src/models/templatesPackageDeploymentInformation.ts","../src/models/packageDeploymentInformation.ts","../src/models/authorIdentifiers.ts","../src/models/publishedPackage.ts","../src/models/implementationType.ts","../src/models/publishPackageInput.ts","../src/models/updateTemplatesPackageDeploymentInformation.ts","../src/models/updatePackageDeploymentInformation.ts","../src/controllers/packageDeploymentController.ts","../src/models/transformation.ts","../src/models/transformViaUrlRequest.ts","../src/controllers/transformationController.ts","../src/models/contentType.ts"],"sourcesContent":["/**\n * Copyright (c) 2014-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nvar runtime = (function (exports) {\n \"use strict\";\n\n var Op = Object.prototype;\n var hasOwn = Op.hasOwnProperty;\n var undefined; // More compressible than void 0.\n var $Symbol = typeof Symbol === \"function\" ? Symbol : {};\n var iteratorSymbol = $Symbol.iterator || \"@@iterator\";\n var asyncIteratorSymbol = $Symbol.asyncIterator || \"@@asyncIterator\";\n var toStringTagSymbol = $Symbol.toStringTag || \"@@toStringTag\";\n\n function define(obj, key, value) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n return obj[key];\n }\n try {\n // IE 8 has a broken Object.defineProperty that only works on DOM objects.\n define({}, \"\");\n } catch (err) {\n define = function(obj, key, value) {\n return obj[key] = value;\n };\n }\n\n function wrap(innerFn, outerFn, self, tryLocsList) {\n // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.\n var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;\n var generator = Object.create(protoGenerator.prototype);\n var context = new Context(tryLocsList || []);\n\n // The ._invoke method unifies the implementations of the .next,\n // .throw, and .return methods.\n generator._invoke = makeInvokeMethod(innerFn, self, context);\n\n return generator;\n }\n exports.wrap = wrap;\n\n // Try/catch helper to minimize deoptimizations. Returns a completion\n // record like context.tryEntries[i].completion. This interface could\n // have been (and was previously) designed to take a closure to be\n // invoked without arguments, but in all the cases we care about we\n // already have an existing method we want to call, so there's no need\n // to create a new function object. We can even get away with assuming\n // the method takes exactly one argument, since that happens to be true\n // in every case, so we don't have to touch the arguments object. The\n // only additional allocation required is the completion record, which\n // has a stable shape and so hopefully should be cheap to allocate.\n function tryCatch(fn, obj, arg) {\n try {\n return { type: \"normal\", arg: fn.call(obj, arg) };\n } catch (err) {\n return { type: \"throw\", arg: err };\n }\n }\n\n var GenStateSuspendedStart = \"suspendedStart\";\n var GenStateSuspendedYield = \"suspendedYield\";\n var GenStateExecuting = \"executing\";\n var GenStateCompleted = \"completed\";\n\n // Returning this object from the innerFn has the same effect as\n // breaking out of the dispatch switch statement.\n var ContinueSentinel = {};\n\n // Dummy constructor functions that we use as the .constructor and\n // .constructor.prototype properties for functions that return Generator\n // objects. For full spec compliance, you may wish to configure your\n // minifier not to mangle the names of these two functions.\n function Generator() {}\n function GeneratorFunction() {}\n function GeneratorFunctionPrototype() {}\n\n // This is a polyfill for %IteratorPrototype% for environments that\n // don't natively support it.\n var IteratorPrototype = {};\n define(IteratorPrototype, iteratorSymbol, function () {\n return this;\n });\n\n var getProto = Object.getPrototypeOf;\n var NativeIteratorPrototype = getProto && getProto(getProto(values([])));\n if (NativeIteratorPrototype &&\n NativeIteratorPrototype !== Op &&\n hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {\n // This environment has a native %IteratorPrototype%; use it instead\n // of the polyfill.\n IteratorPrototype = NativeIteratorPrototype;\n }\n\n var Gp = GeneratorFunctionPrototype.prototype =\n Generator.prototype = Object.create(IteratorPrototype);\n GeneratorFunction.prototype = GeneratorFunctionPrototype;\n define(Gp, \"constructor\", GeneratorFunctionPrototype);\n define(GeneratorFunctionPrototype, \"constructor\", GeneratorFunction);\n GeneratorFunction.displayName = define(\n GeneratorFunctionPrototype,\n toStringTagSymbol,\n \"GeneratorFunction\"\n );\n\n // Helper for defining the .next, .throw, and .return methods of the\n // Iterator interface in terms of a single ._invoke method.\n function defineIteratorMethods(prototype) {\n [\"next\", \"throw\", \"return\"].forEach(function(method) {\n define(prototype, method, function(arg) {\n return this._invoke(method, arg);\n });\n });\n }\n\n exports.isGeneratorFunction = function(genFun) {\n var ctor = typeof genFun === \"function\" && genFun.constructor;\n return ctor\n ? ctor === GeneratorFunction ||\n // For the native GeneratorFunction constructor, the best we can\n // do is to check its .name property.\n (ctor.displayName || ctor.name) === \"GeneratorFunction\"\n : false;\n };\n\n exports.mark = function(genFun) {\n if (Object.setPrototypeOf) {\n Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);\n } else {\n genFun.__proto__ = GeneratorFunctionPrototype;\n define(genFun, toStringTagSymbol, \"GeneratorFunction\");\n }\n genFun.prototype = Object.create(Gp);\n return genFun;\n };\n\n // Within the body of any async function, `await x` is transformed to\n // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test\n // `hasOwn.call(value, \"__await\")` to determine if the yielded value is\n // meant to be awaited.\n exports.awrap = function(arg) {\n return { __await: arg };\n };\n\n function AsyncIterator(generator, PromiseImpl) {\n function invoke(method, arg, resolve, reject) {\n var record = tryCatch(generator[method], generator, arg);\n if (record.type === \"throw\") {\n reject(record.arg);\n } else {\n var result = record.arg;\n var value = result.value;\n if (value &&\n typeof value === \"object\" &&\n hasOwn.call(value, \"__await\")) {\n return PromiseImpl.resolve(value.__await).then(function(value) {\n invoke(\"next\", value, resolve, reject);\n }, function(err) {\n invoke(\"throw\", err, resolve, reject);\n });\n }\n\n return PromiseImpl.resolve(value).then(function(unwrapped) {\n // When a yielded Promise is resolved, its final value becomes\n // the .value of the Promise<{value,done}> result for the\n // current iteration.\n result.value = unwrapped;\n resolve(result);\n }, function(error) {\n // If a rejected Promise was yielded, throw the rejection back\n // into the async generator function so it can be handled there.\n return invoke(\"throw\", error, resolve, reject);\n });\n }\n }\n\n var previousPromise;\n\n function enqueue(method, arg) {\n function callInvokeWithMethodAndArg() {\n return new PromiseImpl(function(resolve, reject) {\n invoke(method, arg, resolve, reject);\n });\n }\n\n return previousPromise =\n // If enqueue has been called before, then we want to wait until\n // all previous Promises have been resolved before calling invoke,\n // so that results are always delivered in the correct order. If\n // enqueue has not been called before, then it is important to\n // call invoke immediately, without waiting on a callback to fire,\n // so that the async generator function has the opportunity to do\n // any necessary setup in a predictable way. This predictability\n // is why the Promise constructor synchronously invokes its\n // executor callback, and why async functions synchronously\n // execute code before the first await. Since we implement simple\n // async functions in terms of async generators, it is especially\n // important to get this right, even though it requires care.\n previousPromise ? previousPromise.then(\n callInvokeWithMethodAndArg,\n // Avoid propagating failures to Promises returned by later\n // invocations of the iterator.\n callInvokeWithMethodAndArg\n ) : callInvokeWithMethodAndArg();\n }\n\n // Define the unified helper method that is used to implement .next,\n // .throw, and .return (see defineIteratorMethods).\n this._invoke = enqueue;\n }\n\n defineIteratorMethods(AsyncIterator.prototype);\n define(AsyncIterator.prototype, asyncIteratorSymbol, function () {\n return this;\n });\n exports.AsyncIterator = AsyncIterator;\n\n // Note that simple async functions are implemented on top of\n // AsyncIterator objects; they just return a Promise for the value of\n // the final result produced by the iterator.\n exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) {\n if (PromiseImpl === void 0) PromiseImpl = Promise;\n\n var iter = new AsyncIterator(\n wrap(innerFn, outerFn, self, tryLocsList),\n PromiseImpl\n );\n\n return exports.isGeneratorFunction(outerFn)\n ? iter // If outerFn is a generator, return the full iterator.\n : iter.next().then(function(result) {\n return result.done ? result.value : iter.next();\n });\n };\n\n function makeInvokeMethod(innerFn, self, context) {\n var state = GenStateSuspendedStart;\n\n return function invoke(method, arg) {\n if (state === GenStateExecuting) {\n throw new Error(\"Generator is already running\");\n }\n\n if (state === GenStateCompleted) {\n if (method === \"throw\") {\n throw arg;\n }\n\n // Be forgiving, per 25.3.3.3.3 of the spec:\n // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume\n return doneResult();\n }\n\n context.method = method;\n context.arg = arg;\n\n while (true) {\n var delegate = context.delegate;\n if (delegate) {\n var delegateResult = maybeInvokeDelegate(delegate, context);\n if (delegateResult) {\n if (delegateResult === ContinueSentinel) continue;\n return delegateResult;\n }\n }\n\n if (context.method === \"next\") {\n // Setting context._sent for legacy support of Babel's\n // function.sent implementation.\n context.sent = context._sent = context.arg;\n\n } else if (context.method === \"throw\") {\n if (state === GenStateSuspendedStart) {\n state = GenStateCompleted;\n throw context.arg;\n }\n\n context.dispatchException(context.arg);\n\n } else if (context.method === \"return\") {\n context.abrupt(\"return\", context.arg);\n }\n\n state = GenStateExecuting;\n\n var record = tryCatch(innerFn, self, context);\n if (record.type === \"normal\") {\n // If an exception is thrown from innerFn, we leave state ===\n // GenStateExecuting and loop back for another invocation.\n state = context.done\n ? GenStateCompleted\n : GenStateSuspendedYield;\n\n if (record.arg === ContinueSentinel) {\n continue;\n }\n\n return {\n value: record.arg,\n done: context.done\n };\n\n } else if (record.type === \"throw\") {\n state = GenStateCompleted;\n // Dispatch the exception by looping back around to the\n // context.dispatchException(context.arg) call above.\n context.method = \"throw\";\n context.arg = record.arg;\n }\n }\n };\n }\n\n // Call delegate.iterator[context.method](context.arg) and handle the\n // result, either by returning a { value, done } result from the\n // delegate iterator, or by modifying context.method and context.arg,\n // setting context.delegate to null, and returning the ContinueSentinel.\n function maybeInvokeDelegate(delegate, context) {\n var method = delegate.iterator[context.method];\n if (method === undefined) {\n // A .throw or .return when the delegate iterator has no .throw\n // method always terminates the yield* loop.\n context.delegate = null;\n\n if (context.method === \"throw\") {\n // Note: [\"return\"] must be used for ES3 parsing compatibility.\n if (delegate.iterator[\"return\"]) {\n // If the delegate iterator has a return method, give it a\n // chance to clean up.\n context.method = \"return\";\n context.arg = undefined;\n maybeInvokeDelegate(delegate, context);\n\n if (context.method === \"throw\") {\n // If maybeInvokeDelegate(context) changed context.method from\n // \"return\" to \"throw\", let that override the TypeError below.\n return ContinueSentinel;\n }\n }\n\n context.method = \"throw\";\n context.arg = new TypeError(\n \"The iterator does not provide a 'throw' method\");\n }\n\n return ContinueSentinel;\n }\n\n var record = tryCatch(method, delegate.iterator, context.arg);\n\n if (record.type === \"throw\") {\n context.method = \"throw\";\n context.arg = record.arg;\n context.delegate = null;\n return ContinueSentinel;\n }\n\n var info = record.arg;\n\n if (! info) {\n context.method = \"throw\";\n context.arg = new TypeError(\"iterator result is not an object\");\n context.delegate = null;\n return ContinueSentinel;\n }\n\n if (info.done) {\n // Assign the result of the finished delegate to the temporary\n // variable specified by delegate.resultName (see delegateYield).\n context[delegate.resultName] = info.value;\n\n // Resume execution at the desired location (see delegateYield).\n context.next = delegate.nextLoc;\n\n // If context.method was \"throw\" but the delegate handled the\n // exception, let the outer generator proceed normally. If\n // context.method was \"next\", forget context.arg since it has been\n // \"consumed\" by the delegate iterator. If context.method was\n // \"return\", allow the original .return call to continue in the\n // outer generator.\n if (context.method !== \"return\") {\n context.method = \"next\";\n context.arg = undefined;\n }\n\n } else {\n // Re-yield the result returned by the delegate method.\n return info;\n }\n\n // The delegate iterator is finished, so forget it and continue with\n // the outer generator.\n context.delegate = null;\n return ContinueSentinel;\n }\n\n // Define Generator.prototype.{next,throw,return} in terms of the\n // unified ._invoke helper method.\n defineIteratorMethods(Gp);\n\n define(Gp, toStringTagSymbol, \"Generator\");\n\n // A Generator should always return itself as the iterator object when the\n // @@iterator function is called on it. Some browsers' implementations of the\n // iterator prototype chain incorrectly implement this, causing the Generator\n // object to not be returned from this call. This ensures that doesn't happen.\n // See https://github.com/facebook/regenerator/issues/274 for more details.\n define(Gp, iteratorSymbol, function() {\n return this;\n });\n\n define(Gp, \"toString\", function() {\n return \"[object Generator]\";\n });\n\n function pushTryEntry(locs) {\n var entry = { tryLoc: locs[0] };\n\n if (1 in locs) {\n entry.catchLoc = locs[1];\n }\n\n if (2 in locs) {\n entry.finallyLoc = locs[2];\n entry.afterLoc = locs[3];\n }\n\n this.tryEntries.push(entry);\n }\n\n function resetTryEntry(entry) {\n var record = entry.completion || {};\n record.type = \"normal\";\n delete record.arg;\n entry.completion = record;\n }\n\n function Context(tryLocsList) {\n // The root entry object (effectively a try statement without a catch\n // or a finally block) gives us a place to store values thrown from\n // locations where there is no enclosing try statement.\n this.tryEntries = [{ tryLoc: \"root\" }];\n tryLocsList.forEach(pushTryEntry, this);\n this.reset(true);\n }\n\n exports.keys = function(object) {\n var keys = [];\n for (var key in object) {\n keys.push(key);\n }\n keys.reverse();\n\n // Rather than returning an object with a next method, we keep\n // things simple and return the next function itself.\n return function next() {\n while (keys.length) {\n var key = keys.pop();\n if (key in object) {\n next.value = key;\n next.done = false;\n return next;\n }\n }\n\n // To avoid creating an additional object, we just hang the .value\n // and .done properties off the next function object itself. This\n // also ensures that the minifier will not anonymize the function.\n next.done = true;\n return next;\n };\n };\n\n function values(iterable) {\n if (iterable) {\n var iteratorMethod = iterable[iteratorSymbol];\n if (iteratorMethod) {\n return iteratorMethod.call(iterable);\n }\n\n if (typeof iterable.next === \"function\") {\n return iterable;\n }\n\n if (!isNaN(iterable.length)) {\n var i = -1, next = function next() {\n while (++i < iterable.length) {\n if (hasOwn.call(iterable, i)) {\n next.value = iterable[i];\n next.done = false;\n return next;\n }\n }\n\n next.value = undefined;\n next.done = true;\n\n return next;\n };\n\n return next.next = next;\n }\n }\n\n // Return an iterator with no values.\n return { next: doneResult };\n }\n exports.values = values;\n\n function doneResult() {\n return { value: undefined, done: true };\n }\n\n Context.prototype = {\n constructor: Context,\n\n reset: function(skipTempReset) {\n this.prev = 0;\n this.next = 0;\n // Resetting context._sent for legacy support of Babel's\n // function.sent implementation.\n this.sent = this._sent = undefined;\n this.done = false;\n this.delegate = null;\n\n this.method = \"next\";\n this.arg = undefined;\n\n this.tryEntries.forEach(resetTryEntry);\n\n if (!skipTempReset) {\n for (var name in this) {\n // Not sure about the optimal order of these conditions:\n if (name.charAt(0) === \"t\" &&\n hasOwn.call(this, name) &&\n !isNaN(+name.slice(1))) {\n this[name] = undefined;\n }\n }\n }\n },\n\n stop: function() {\n this.done = true;\n\n var rootEntry = this.tryEntries[0];\n var rootRecord = rootEntry.completion;\n if (rootRecord.type === \"throw\") {\n throw rootRecord.arg;\n }\n\n return this.rval;\n },\n\n dispatchException: function(exception) {\n if (this.done) {\n throw exception;\n }\n\n var context = this;\n function handle(loc, caught) {\n record.type = \"throw\";\n record.arg = exception;\n context.next = loc;\n\n if (caught) {\n // If the dispatched exception was caught by a catch block,\n // then let that catch block handle the exception normally.\n context.method = \"next\";\n context.arg = undefined;\n }\n\n return !! caught;\n }\n\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n var record = entry.completion;\n\n if (entry.tryLoc === \"root\") {\n // Exception thrown outside of any try block that could handle\n // it, so set the completion value of the entire function to\n // throw the exception.\n return handle(\"end\");\n }\n\n if (entry.tryLoc <= this.prev) {\n var hasCatch = hasOwn.call(entry, \"catchLoc\");\n var hasFinally = hasOwn.call(entry, \"finallyLoc\");\n\n if (hasCatch && hasFinally) {\n if (this.prev < entry.catchLoc) {\n return handle(entry.catchLoc, true);\n } else if (this.prev < entry.finallyLoc) {\n return handle(entry.finallyLoc);\n }\n\n } else if (hasCatch) {\n if (this.prev < entry.catchLoc) {\n return handle(entry.catchLoc, true);\n }\n\n } else if (hasFinally) {\n if (this.prev < entry.finallyLoc) {\n return handle(entry.finallyLoc);\n }\n\n } else {\n throw new Error(\"try statement without catch or finally\");\n }\n }\n }\n },\n\n abrupt: function(type, arg) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc <= this.prev &&\n hasOwn.call(entry, \"finallyLoc\") &&\n this.prev < entry.finallyLoc) {\n var finallyEntry = entry;\n break;\n }\n }\n\n if (finallyEntry &&\n (type === \"break\" ||\n type === \"continue\") &&\n finallyEntry.tryLoc <= arg &&\n arg <= finallyEntry.finallyLoc) {\n // Ignore the finally entry if control is not jumping to a\n // location outside the try/catch block.\n finallyEntry = null;\n }\n\n var record = finallyEntry ? finallyEntry.completion : {};\n record.type = type;\n record.arg = arg;\n\n if (finallyEntry) {\n this.method = \"next\";\n this.next = finallyEntry.finallyLoc;\n return ContinueSentinel;\n }\n\n return this.complete(record);\n },\n\n complete: function(record, afterLoc) {\n if (record.type === \"throw\") {\n throw record.arg;\n }\n\n if (record.type === \"break\" ||\n record.type === \"continue\") {\n this.next = record.arg;\n } else if (record.type === \"return\") {\n this.rval = this.arg = record.arg;\n this.method = \"return\";\n this.next = \"end\";\n } else if (record.type === \"normal\" && afterLoc) {\n this.next = afterLoc;\n }\n\n return ContinueSentinel;\n },\n\n finish: function(finallyLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.finallyLoc === finallyLoc) {\n this.complete(entry.completion, entry.afterLoc);\n resetTryEntry(entry);\n return ContinueSentinel;\n }\n }\n },\n\n \"catch\": function(tryLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc === tryLoc) {\n var record = entry.completion;\n if (record.type === \"throw\") {\n var thrown = record.arg;\n resetTryEntry(entry);\n }\n return thrown;\n }\n }\n\n // The context.catch method must only be called with a location\n // argument that corresponds to a known catch block.\n throw new Error(\"illegal catch attempt\");\n },\n\n delegateYield: function(iterable, resultName, nextLoc) {\n this.delegate = {\n iterator: values(iterable),\n resultName: resultName,\n nextLoc: nextLoc\n };\n\n if (this.method === \"next\") {\n // Deliberately forget the last sent value so that we don't\n // accidentally pass it on to the delegate.\n this.arg = undefined;\n }\n\n return ContinueSentinel;\n }\n };\n\n // Regardless of whether this script is executing as a CommonJS module\n // or not, return the runtime object so that we can declare the variable\n // regeneratorRuntime in the outer scope, which allows this module to be\n // injected easily by `bin/regenerator --include-runtime script.js`.\n return exports;\n\n}(\n // If this script is executing as a CommonJS module, use module.exports\n // as the regeneratorRuntime namespace. Otherwise create a new empty\n // object. Either way, the resulting object will be used to initialize\n // the regeneratorRuntime variable at the top of this file.\n typeof module === \"object\" ? module.exports : {}\n));\n\ntry {\n regeneratorRuntime = runtime;\n} catch (accidentalStrictMode) {\n // This module should not be running in strict mode, so the above\n // assignment should always work unless something is misconfigured. Just\n // in case runtime.js accidentally runs in strict mode, in modern engines\n // we can explicitly access globalThis. In older engines we can escape\n // strict mode using a global Function call. This could conceivably fail\n // if a Content Security Policy forbids using Function, but in that case\n // the proper solution is to fix the accidental strict mode problem. If\n // you've misconfigured your bundler to force strict mode and applied a\n // CSP to forbid Function, and you're not willing to fix either of those\n // problems, please detail your unique predicament in a GitHub issue.\n if (typeof globalThis === \"object\") {\n globalThis.regeneratorRuntime = runtime;\n } else {\n Function(\"r\", \"regeneratorRuntime = r\")(runtime);\n }\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\n/** An interface for all configuration parameters required by the SDK. */\nexport interface Configuration {\n timeout: number;\n environment: Environment;\n authorization: string;\n unstable_httpClientOptions?: any;\n}\n\n/** Environments available for API */\nexport enum Environment {\n Production = 'production',\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { Configuration, Environment } from './configuration';\n\n/** Default values for the configuration parameters of the client. */\nexport const DEFAULT_CONFIGURATION: Configuration = {\n timeout: 0,\n environment: Environment.Production,\n authorization: 'TODO Authorization value',\n};\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nexport class XmlSerialization {\n public xmlSerialize(_rootName: string, _value: unknown): string {\n throw new Error('XML serialization is not available.');\n }\n\n public xmlDeserialize(\n _rootName: string,\n _xmlString: string\n ): Promise {\n throw new Error('XML deserialization is not available.');\n }\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { customHeaderAuthenticationProvider } from './authentication';\nimport {\n AuthParams,\n ClientInterface,\n SdkRequestBuilder,\n SdkRequestBuilderFactory,\n Server,\n} from './clientInterface';\nimport { Configuration, Environment } from './configuration';\nimport { DEFAULT_CONFIGURATION } from './defaultConfiguration';\nimport { ApiError } from './core';\nimport {\n AuthenticatorInterface,\n createRequestBuilderFactory,\n HttpClient,\n HttpClientInterface,\n XmlSerializerInterface,\n} from './core';\nimport { XmlSerialization } from './http/xmlSerialization';\n\nconst USER_AGENT = 'APIMATIC 3.0';\n\nexport class Client implements ClientInterface {\n private _config: Readonly;\n private _requestBuilderFactory: SdkRequestBuilderFactory;\n\n constructor(config?: Partial) {\n this._config = {\n ...DEFAULT_CONFIGURATION,\n ...config,\n };\n this._requestBuilderFactory = createRequestHandlerFactory(\n server => getBaseUri(server, this._config),\n customHeaderAuthenticationProvider(this._config),\n new HttpClient({\n timeout: this._config.timeout,\n clientConfigOverrides: this._config.unstable_httpClientOptions,\n }),\n [\n withErrorHandlers,\n withUserAgent,\n withAuthenticationByDefault,\n ],\n new XmlSerialization()\n );\n }\n\n public getRequestBuilderFactory(): SdkRequestBuilderFactory {\n return this._requestBuilderFactory;\n }\n\n /**\n * Clone this client and override given configuration options\n */\n public withConfiguration(config: Partial) {\n return new Client({ ...this._config, ...config });\n }\n}\n\nfunction createHttpClientAdapter(client: HttpClient): HttpClientInterface {\n return async (request, requestOptions) => {\n return await client.executeRequest(request, requestOptions);\n };\n}\n\nfunction getBaseUri(server: Server = 'default', config: Configuration): string {\n if (config.environment === Environment.Production) {\n if (server === 'default') {\n return 'https://apimaticio-test.azurewebsites.net/api';\n }\n }\n throw new Error('Could not get Base URL. Invalid environment or server.');\n}\n\nfunction createRequestHandlerFactory(\n baseUrlProvider: (server?: Server) => string,\n authProvider: AuthenticatorInterface,\n httpClient: HttpClient,\n addons: ((rb: SdkRequestBuilder) => void)[],\n xmlSerializer: XmlSerializerInterface\n): SdkRequestBuilderFactory {\n const requestBuilderFactory = createRequestBuilderFactory(\n createHttpClientAdapter(httpClient),\n baseUrlProvider,\n ApiError,\n authProvider,\n xmlSerializer\n );\n\n return tap(requestBuilderFactory, ...addons);\n}\n\nfunction tap(\n requestBuilderFactory: SdkRequestBuilderFactory,\n ...callback: ((requestBuilder: SdkRequestBuilder) => void)[]\n): SdkRequestBuilderFactory {\n return (...args) => {\n const requestBuilder = requestBuilderFactory(...args);\n callback.forEach(c => c(requestBuilder));\n return requestBuilder;\n };\n}\n\nfunction withErrorHandlers(rb: SdkRequestBuilder) {\n rb.defaultToError(ApiError);\n}\n\nfunction withUserAgent(rb: SdkRequestBuilder) {\n rb.header('user-agent', USER_AGENT);\n}\n\nfunction withAuthenticationByDefault(rb: SdkRequestBuilder) {\n rb.authenticate(true);\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { mergeHeaders } from './core';\nimport { passThroughInterceptor } from './core';\nimport { AuthenticatorInterface } from './core';\n\n/** None authentication provider */\nexport const noneAuthenticationProvider = () => passThroughInterceptor;\n\nexport const customHeaderAuthenticationProvider = ({\n authorization,\n}: {\n authorization: string;\n}): AuthenticatorInterface => {\n return (requiresAuth?: boolean) => {\n if (!requiresAuth) {\n return passThroughInterceptor;\n }\n\n return (request, options, next) => {\n const customHeaderParams = {\n 'Authorization': authorization,\n };\n mergeHeaders(request.headers ?? {}, customHeaderParams);\n\n return next(request, options);\n };\n };\n};\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { array, boolean, object, Schema, string } from '../schema';\n\nexport interface ApiValidationSummary {\n success: boolean;\n errors: string[];\n warnings: string[];\n messages: string[];\n}\n\nexport const apiValidationSummarySchema: Schema = object({\n success: ['success', boolean()],\n errors: ['errors', array(string())],\n warnings: ['warnings', array(string())],\n messages: ['messages', array(string())],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { ClientInterface, SdkRequestBuilderFactory } from '../clientInterface';\n\n/** Base class for all controllers */\nexport class BaseController {\n /** Create a request builder */\n protected createRequest: SdkRequestBuilderFactory;\n\n constructor(client: ClientInterface) {\n this.createRequest = client.getRequestBuilderFactory();\n }\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { ApiResponse, FileWrapper, RequestOptions } from '../core';\nimport {\n ApiValidationSummary,\n apiValidationSummarySchema,\n} from '../models/apiValidationSummary';\nimport { string } from '../schema';\nimport { BaseController } from './baseController';\n\nexport class APIValidationExternalApisController extends BaseController {\n /**\n * Validate an API by uploading the API specification file.\n *\n * You can also specify [API Metadata](https://docs.apimatic.io/manage-apis/apimatic-metadata) while\n * validating the API using this endpoint. When specifying Metadata, the uploaded file will be a zip\n * file containing the API specification file and the `APIMATIC-META` json file.\n *\n * @param file The API specification file.
The type of the specification file should be any\n * of the [supported formats](https://docs.apimatic.io/api-transformer/overview-\n * transformer#supported-input-formats).\n * @return Response from the API call\n */\n async validateAPIViaFile(\n file: FileWrapper,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('POST', '/validation/validate-via-file');\n req.baseUrl('default');\n req.header('ContentType', 'multipart/form-data');\n req.formData({\n file: file,\n });\n return req.callAsJson(apiValidationSummarySchema, requestOptions);\n }\n\n /**\n * Validate an API by providing the URL of the API specification file.\n *\n * You can also specify [API Metadata](https://docs.apimatic.io/manage-apis/apimatic-metadata) while\n * validating the API using this endpoint. When specifying Metadata, the URL provided will be that of a\n * zip file containing the API specification file and the `APIMATIC-META` json file.\n *\n * @param descriptionUrl The URL for the API specification file.

**Note:** This URL should be\n * publicly accessible.\n * @return Response from the API call\n */\n async validateAPIViaURL(\n descriptionUrl: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET', '/validation/validate-via-url');\n req.baseUrl('default');\n const mapped = req.prepareArgs({\n descriptionUrl: [descriptionUrl, string()],\n });\n req.query('descriptionUrl', mapped.descriptionUrl);\n return req.callAsJson(apiValidationSummarySchema, requestOptions);\n }\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { array, boolean, object, Schema, string } from '../schema';\n\nexport interface DocsValidationSummary {\n success: boolean;\n errors: string[];\n warnings: string[];\n messages: string[];\n}\n\nexport const docsValidationSummarySchema: Schema = object(\n {\n success: ['success', boolean()],\n errors: ['errors', array(string())],\n warnings: ['warnings', array(string())],\n messages: ['messages', array(string())],\n }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { ApiResponse, RequestOptions } from '../core';\nimport {\n ApiValidationSummary,\n apiValidationSummarySchema,\n} from '../models/apiValidationSummary';\nimport {\n DocsValidationSummary,\n docsValidationSummarySchema,\n} from '../models/docsValidationSummary';\nimport { string } from '../schema';\nimport { BaseController } from './baseController';\n\nexport class APIValidationImportedApisController extends BaseController {\n /**\n * Validate an API using the [APIMatic Validator](https://docs.apimatic.io/generate-sdks/overview-\n * sdks#step-2-api-validation).\n *\n * @param apiEntityId The ID of the API Entity to perform validation for.\n * @return Response from the API call\n */\n async validateAPI(\n apiEntityId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n req.baseUrl('default');\n const mapped = req.prepareArgs({ apiEntityId: [apiEntityId, string()] });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/api-validation-summary`;\n return req.callAsJson(apiValidationSummarySchema, requestOptions);\n }\n\n /**\n * Validate an API for documentation generation. This process validates the API for missing examples or\n * missing descriptions.\n *\n * @param apiEntityId The ID of the API Entity to perform validation for.\n * @return Response from the API call\n */\n async validateAPIForDocs(\n apiEntityId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n req.baseUrl('default');\n const mapped = req.prepareArgs({ apiEntityId: [apiEntityId, string()] });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/docs-validation-summary`;\n return req.callAsJson(docsValidationSummarySchema, requestOptions);\n }\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { Schema, stringEnum } from '../schema';\n\n/**\n * Enum for Accept\n */\nexport enum Accept {\n EnumApplicationjson = 'application/json',\n}\n\n/**\n * Schema for Accept\n */\nexport const acceptSchema: Schema = stringEnum(Accept);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { Schema, stringEnum } from '../schema';\n\n/**\n * Enum for Accept2\n */\nexport enum Accept2 {\n EnumApplicationvndapimaticapiEntityfullv1json = 'application/vnd.apimatic.apiEntity.full.v1+json',\n}\n\n/**\n * Schema for Accept2\n */\nexport const accept2Schema: Schema = stringEnum(Accept2);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { Schema, stringEnum } from '../schema';\n\n/**\n * Enum for ExportFormats\n */\nexport enum ExportFormats {\n APIMATIC = 'APIMATIC',\n WADL2009 = 'WADL2009',\n WSDL = 'WSDL',\n SWAGGER10 = 'Swagger10',\n SWAGGER20 = 'Swagger20',\n SWAGGERYAML = 'SwaggerYaml',\n OAS3 = 'OpenApi3Json',\n OPENAPI3YAML = 'OpenApi3Yaml',\n APIBLUEPRINT = 'APIBluePrint',\n RAML = 'RAML',\n RAML10 = 'RAML10',\n POSTMAN10 = 'Postman10',\n POSTMAN20 = 'Postman20',\n GRAPHQLSCHEMA = 'GraphQlSchema',\n}\n\n/**\n * Schema for ExportFormats\n */\nexport const exportFormatsSchema: Schema = stringEnum(ExportFormats);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { array, object, Schema, string, unknown } from '../schema';\n\n/** This Structure encapsulates all details of API authentication. */\nexport interface Authentication {\n /** Auth Id */\n id: string;\n /** Auth Type */\n authType: string;\n /** Scope */\n scopes: string[];\n /** Auth Params */\n parameters: string[];\n /** Auth Scopes */\n authScopes: string[];\n /** Auth Grant Types */\n authGrantTypes: string[];\n /** Paramater Formats */\n paramFormats?: unknown;\n}\n\nexport const authenticationSchema: Schema = object({\n id: ['id', string()],\n authType: ['authType', string()],\n scopes: ['scopes', array(string())],\n parameters: ['parameters', array(string())],\n authScopes: ['authScopes', array(string())],\n authGrantTypes: ['authGrantTypes', array(string())],\n paramFormats: ['paramFormats', unknown()],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { array, boolean, number, object, Schema, string } from '../schema';\n\n/** APIMatic’s code generation engine has various code generation configurations to customise the behaviour and outlook across the generated SDKS. This structure encapsulates all settings for CodeGeneration. */\nexport interface CodeGenSettings {\n /** Generate asynchronous code for API Calls and deserialization */\n isAsync: boolean;\n /** Use HTTP Method prefixes for endpoint wrappers */\n useHttpMethodPrefix: boolean;\n /** Use \"Model\" postfixes for generated class names */\n useModelPrefix: boolean;\n /** Use \"Enum\" postfixes for enumerated types */\n useEnumPrefix: boolean;\n useConstructorsForConfig: boolean;\n /** Use common SDK library to reduce code duplication */\n useCommonSdkLibrary: boolean;\n /** Generates interfaces for controller classes in the generated SDKs */\n generateInterfaces: boolean;\n /** Generate Appveyor configuration file */\n generateAppveyorConfig: boolean;\n /** Generate CircleCI configuration file */\n generateCircleConfig: boolean;\n /** Generate Jenkins configuration file */\n generateJenkinsConfig: boolean;\n /** Generate Travis CI configuration file */\n generateTravisConfig: boolean;\n /** Use \"AndroidManifest.xml\" for config variables in Android */\n androidUseAppManifest: boolean;\n /** Use \"App-Info.plist\" file for config variables in iOS */\n iosUseAppInfoPlist: boolean;\n /** Generate \"CoreData\" schema and entity classes in iOS? */\n iosGenerateCoreData: boolean;\n /** Enable runscope */\n runscopeEnabled: boolean;\n /** Collect Parameters as arrays */\n collapseParamsToArray: boolean;\n /** Attempts to preserve parameter order for endpoints */\n preserveParameterOrder: boolean;\n /** Append JSON/XML accept and content-type headers */\n appendContentHeaders: boolean;\n modelSerializationIsJSON: boolean;\n /** Return a null value on HTTP 404 */\n nullify404: boolean;\n /** Validate required parameters to be Not Null */\n validateRequiredParameters: boolean;\n /** Allow models to have additional runtime properties */\n enableAdditionalModelProperties: boolean;\n javaUsePropertiesConfig: boolean;\n /** Use \"Controller\" postfixes for generated controller classes */\n useControllerPrefix: boolean;\n /** Use Exception Prefixes */\n useExceptionPrefix: boolean;\n /** Parameter Array format with index or without */\n parameterArrayFormat: string;\n /** Configure the HTTP client for Objective C */\n objCHttpClient: string;\n /** Configure the HTTP client for C# */\n cSharpHttpClient: string;\n /** Configure the HTTP client for Android */\n androidHttpClient: string;\n /** Configure the HTTP client for node */\n nodeHttpClient: string;\n /** Configure the HTTP client for PHP */\n phpHttpClient: string;\n bodySerialization: number;\n /** Specify type of array serialisation */\n arraySerialization: string;\n /** This option specifies the duration (in seconds) after which requests would timeout */\n timeout: number;\n /** Enabling this generates code in the SDKs for logging events in the API cycle using a library. */\n enableLogging: boolean;\n /** Enabling caching of responses (not available in all languages) */\n enableHttpCache: boolean;\n /** Specify number of retries */\n retries: number;\n /** Specify retry interval in case of failures */\n retryInterval: number;\n /** Generate advanced read me files */\n generateAdvancedDocs: boolean;\n /** Store Timezone information for the generation */\n storeTimezoneInformation: boolean;\n /** Use \"Controller\" postfixes for generated controller classes */\n enablePhpComposerVersionString: boolean;\n /** Specify Security Protocols */\n securityProtocols: string[];\n /** Use underscores before and after numbers for underscore case */\n underscoreNumbers: boolean;\n /** Allow usage of a Singleton Pattern */\n useSingletonPattern: boolean;\n /** Files/dependencies used for linting are not generated if this option is enabled */\n disableLinting: boolean;\n /** Create a configuration option in SDKs to optionally skip certificate verification when establishing HTTPS connections. */\n allowSkippingSSLCertVerification: boolean;\n /** Apply Customisations */\n applyCustomizations: string[];\n /** Enabling this will stop splitting of words when converting identifiers from API specification to language-specific identifiers. */\n doNotSplitWords: string[];\n /** Sorts resources such as endpoints, endpoint groups and models in generated documentation */\n sortResources: boolean;\n /** Enable a global user agent */\n enableGlobalUserAgent: boolean;\n}\n\nexport const codeGenSettingsSchema: Schema = object({\n isAsync: ['isAsync', boolean()],\n useHttpMethodPrefix: ['useHttpMethodPrefix', boolean()],\n useModelPrefix: ['useModelPrefix', boolean()],\n useEnumPrefix: ['useEnumPrefix', boolean()],\n useConstructorsForConfig: ['useConstructorsForConfig', boolean()],\n useCommonSdkLibrary: ['useCommonSdkLibrary', boolean()],\n generateInterfaces: ['generateInterfaces', boolean()],\n generateAppveyorConfig: ['generateAppveyorConfig', boolean()],\n generateCircleConfig: ['generateCircleConfig', boolean()],\n generateJenkinsConfig: ['generateJenkinsConfig', boolean()],\n generateTravisConfig: ['generateTravisConfig', boolean()],\n androidUseAppManifest: ['androidUseAppManifest', boolean()],\n iosUseAppInfoPlist: ['iosUseAppInfoPlist', boolean()],\n iosGenerateCoreData: ['iosGenerateCoreData', boolean()],\n runscopeEnabled: ['runscopeEnabled', boolean()],\n collapseParamsToArray: ['collapseParamsToArray', boolean()],\n preserveParameterOrder: ['preserveParameterOrder', boolean()],\n appendContentHeaders: ['appendContentHeaders', boolean()],\n modelSerializationIsJSON: ['modelSerializationIsJSON', boolean()],\n nullify404: ['nullify404', boolean()],\n validateRequiredParameters: ['validateRequiredParameters', boolean()],\n enableAdditionalModelProperties: [\n 'enableAdditionalModelProperties',\n boolean(),\n ],\n javaUsePropertiesConfig: ['javaUsePropertiesConfig', boolean()],\n useControllerPrefix: ['useControllerPrefix', boolean()],\n useExceptionPrefix: ['useExceptionPrefix', boolean()],\n parameterArrayFormat: ['parameterArrayFormat', string()],\n objCHttpClient: ['objCHttpClient', string()],\n cSharpHttpClient: ['cSharpHttpClient', string()],\n androidHttpClient: ['androidHttpClient', string()],\n nodeHttpClient: ['nodeHttpClient', string()],\n phpHttpClient: ['phpHttpClient', string()],\n bodySerialization: ['bodySerialization', number()],\n arraySerialization: ['arraySerialization', string()],\n timeout: ['timeout', number()],\n enableLogging: ['enableLogging', boolean()],\n enableHttpCache: ['enableHttpCache', boolean()],\n retries: ['retries', number()],\n retryInterval: ['retryInterval', number()],\n generateAdvancedDocs: ['generateAdvancedDocs', boolean()],\n storeTimezoneInformation: ['storeTimezoneInformation', boolean()],\n enablePhpComposerVersionString: ['enablePhpComposerVersionString', boolean()],\n securityProtocols: ['securityProtocols', array(string())],\n underscoreNumbers: ['underscoreNumbers', boolean()],\n useSingletonPattern: ['useSingletonPattern', boolean()],\n disableLinting: ['disableLinting', boolean()],\n allowSkippingSSLCertVerification: [\n 'allowSkippingSSLCertVerification',\n boolean(),\n ],\n applyCustomizations: ['applyCustomizations', array(string())],\n doNotSplitWords: ['doNotSplitWords', array(string())],\n sortResources: ['sortResources', boolean()],\n enableGlobalUserAgent: ['enableGlobalUserAgent', boolean()],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { object, Schema, string } from '../schema';\n\n/** This structure encapsulates all the attributes of an API Endpoints Group. */\nexport interface EndpointsGroup {\n name: string;\n description: string;\n}\n\nexport const endpointsGroupSchema: Schema = object({\n name: ['name', string()],\n description: ['description', string()],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { array, boolean, object, Schema, string } from '../schema';\n\nexport interface ImportValidationSummary {\n success: boolean;\n errors: string[];\n warnings: string[];\n messages: string[];\n}\n\nexport const importValidationSummarySchema: Schema = object(\n {\n success: ['success', boolean()],\n errors: ['errors', array(string())],\n warnings: ['warnings', array(string())],\n messages: ['messages', array(string())],\n }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { lazy, object, Schema } from '../schema';\nimport {\n ApiValidationSummary,\n apiValidationSummarySchema,\n} from './apiValidationSummary';\nimport {\n DocsValidationSummary,\n docsValidationSummarySchema,\n} from './docsValidationSummary';\nimport {\n ImportValidationSummary,\n importValidationSummarySchema,\n} from './importValidationSummary';\n\nexport interface MetaData {\n importValidationSummary: ImportValidationSummary;\n apiValidationSummary: ApiValidationSummary;\n docsValidationSummary: DocsValidationSummary;\n}\n\nexport const metaDataSchema: Schema = object({\n importValidationSummary: [\n 'importValidationSummary',\n lazy(() => importValidationSummarySchema),\n ],\n apiValidationSummary: [\n 'apiValidationSummary',\n lazy(() => apiValidationSummarySchema),\n ],\n docsValidationSummary: [\n 'docsValidationSummary',\n lazy(() => docsValidationSummarySchema),\n ],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { object, Schema, string } from '../schema';\n\n/** The user can specify multiple servers within an environment. A server comprises of a name and a URL. The names of the hosts remain consistent over different environments but their values may vary. The URL values can contain any number of parameters defined. */\nexport interface Server {\n /** Unique Server identifier */\n id: string;\n /** Server Name */\n name: string;\n /** Server URL */\n url: string;\n}\n\nexport const serverSchema: Schema = object({\n id: ['id', string()],\n name: ['name', string()],\n url: ['url', string()],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { array, lazy, object, Schema, string } from '../schema';\nimport { Server, serverSchema } from './server';\n\n/** An environment consists of a set of servers with base URL values. The environment can be changed programatically allowing rapid switching between different environments. For example the user can specify a Production and Testing Environment and switch between them in the generated SDK. */\nexport interface Environment {\n /** Unique Environment Identifier */\n id: string;\n /** Environment Name */\n name: string;\n /** The user can specify multiple servers within an environment. A server comprises of a name and a url. */\n servers: Server[];\n}\n\nexport const environmentSchema: Schema = object({\n id: ['id', string()],\n name: ['name', string()],\n servers: ['servers', array(lazy(() => serverSchema))],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { object, Schema, string } from '../schema';\n\n/** The structure contain attribute details of a parameter type. */\nexport interface Attributes {\n /** Unique Attribute Identifier */\n id: string;\n}\n\nexport const attributesSchema: Schema = object({\n id: ['id', string()],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { boolean, lazy, object, Schema, string } from '../schema';\nimport { Attributes, attributesSchema } from './attributes';\n\n/** Parameters are options passed with the endpoint */\nexport interface Parameter {\n /** If parameter is optional */\n optional: boolean;\n /** Type of Parameter */\n type: string;\n /** IF Parameter is constant */\n constant: boolean;\n /** If Param is collected as array */\n isArray: boolean;\n isStream: boolean;\n isAttribute: boolean;\n isMap: boolean;\n /** The structure contain attribute details of a parameter type. */\n attributes: Attributes;\n /** If Parameter is nullable */\n nullable: boolean;\n /** Unique Parameter identifier */\n id: string;\n /** Parameter Name */\n name: string;\n /** Parameter Description */\n description: string;\n /** Default Values of a Parameter */\n defaultValue: string;\n /** Specify Parameter Format */\n paramFormat: string;\n}\n\nexport const parameterSchema: Schema = object({\n optional: ['optional', boolean()],\n type: ['type', string()],\n constant: ['constant', boolean()],\n isArray: ['isArray', boolean()],\n isStream: ['isStream', boolean()],\n isAttribute: ['isAttribute', boolean()],\n isMap: ['isMap', boolean()],\n attributes: ['attributes', lazy(() => attributesSchema)],\n nullable: ['nullable', boolean()],\n id: ['id', string()],\n name: ['name', string()],\n description: ['description', string()],\n defaultValue: ['defaultValue', string()],\n paramFormat: ['ParamFormat', string()],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { array, lazy, object, Schema, string } from '../schema';\nimport { Environment, environmentSchema } from './environment';\nimport { Parameter, parameterSchema } from './parameter';\n\n/** Server configurations can be used to create multiple environments, multiple servers that can be used with specific endpoints and server URLs with template paramters. */\nexport interface ServerConfiguration {\n /** Server Config Identifier */\n id: string;\n /** Default Environment */\n defaultEnvironment: string;\n /** Default Server */\n defaultServer: string;\n /** Environment Identifier and Name */\n environments: Environment[];\n /** Parameter Attributes */\n parameters: Parameter[];\n}\n\nexport const serverConfigurationSchema: Schema = object({\n id: ['id', string()],\n defaultEnvironment: ['defaultEnvironment', string()],\n defaultServer: ['defaultServer', string()],\n environments: ['environments', array(lazy(() => environmentSchema))],\n parameters: ['parameters', array(lazy(() => parameterSchema))],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { number, object, Schema, unknown } from '../schema';\n\n/** This structure helps specify additional test configurations which affects how test cases are generated. */\nexport interface TestGenSettings {\n /** Error margin for comparing values in decimal places */\n precisionDelta: number;\n /** Number of seconds after which if the endpoint is not returning any response, the test is forced to fail e.g. a timeout of 60 */\n testTimeout: number;\n /** The parameters allows to provide values for configuration file for use in the test environment */\n configuration?: unknown;\n}\n\nexport const testGenSettingsSchema: Schema = object({\n precisionDelta: ['precisionDelta', number()],\n testTimeout: ['testTimeout', number()],\n configuration: ['configuration', unknown()],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport {\n array,\n boolean,\n lazy,\n object,\n optional,\n Schema,\n string,\n} from '../schema';\nimport { Authentication, authenticationSchema } from './authentication';\nimport { CodeGenSettings, codeGenSettingsSchema } from './codeGenSettings';\nimport { EndpointsGroup, endpointsGroupSchema } from './endpointsGroup';\nimport { MetaData, metaDataSchema } from './metaData';\nimport {\n ServerConfiguration,\n serverConfigurationSchema,\n} from './serverConfiguration';\nimport { TestGenSettings, testGenSettingsSchema } from './testGenSettings';\n\n/** The API Entity Structure encapsulates all the details of an API Entity. An API entity is a unique API Version. */\nexport interface ApiEntity {\n /** Unique API Entity identifier */\n id: string;\n /** Enrcypted API Entity Id */\n encryptedId: string;\n /** API Integration Key. Obtain from API Card on Dashboard. */\n apiKey: string;\n /** Unique API Group Identifier */\n apiGroupId: string;\n /** Cover Image */\n imageUri: string;\n /** Entity creation date */\n creationDate: string;\n /** API Status (Deprecated) */\n mPublic: boolean;\n /** API Entity Name */\n name: string;\n /** Description of the API */\n description: string;\n /** Entity Version Number */\n version: string;\n /** Header Content */\n additionalHeaders: string[];\n /** This Structure encapsulates all details of API authentication. */\n authentication: Authentication;\n /** APIMatic’s code generation engine has various code generation configurations to customise the behaviour and outlook across the generated SDKS. This structure encapsulates all settings for CodeGeneration. */\n codeGenSettings: CodeGenSettings;\n /** This structure helps specify additional test configurations which affects how test cases are generated. */\n testGenSettings: TestGenSettings;\n /** API Errors */\n errors: string[];\n /** Server configurations can be used to create multiple environments, multiple servers that can be used with specific endpoints and server URLs with template paramters. */\n serverConfiguration: ServerConfiguration;\n /** API Endpoint Groups */\n endpointsGroup?: EndpointsGroup[];\n metaData: MetaData;\n}\n\nexport const apiEntitySchema: Schema = object({\n id: ['id', string()],\n encryptedId: ['encryptedId', string()],\n apiKey: ['apiKey', string()],\n apiGroupId: ['apiGroupId', string()],\n imageUri: ['imageUri', string()],\n creationDate: ['creationDate', string()],\n mPublic: ['public', boolean()],\n name: ['name', string()],\n description: ['description', string()],\n version: ['version', string()],\n additionalHeaders: ['additionalHeaders', array(string())],\n authentication: ['authentication', lazy(() => authenticationSchema)],\n codeGenSettings: ['codeGenSettings', lazy(() => codeGenSettingsSchema)],\n testGenSettings: ['testGenSettings', lazy(() => testGenSettingsSchema)],\n errors: ['errors', array(string())],\n serverConfiguration: [\n 'serverConfiguration',\n lazy(() => serverConfigurationSchema),\n ],\n endpointsGroup: [\n 'endpointsGroup',\n optional(array(lazy(() => endpointsGroupSchema))),\n ],\n metaData: ['metaData', lazy(() => metaDataSchema)],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { Schema, stringEnum } from '../schema';\n\n/**\n * Enum for Platforms\n */\nexport enum Platforms {\n CSNETSTANDARDLIB = 'CS_NET_STANDARD_LIB',\n JAVAECLIPSEJRELIB = 'JAVA_ECLIPSE_JRE_LIB',\n PHPGENERICLIBV2 = 'PHP_GENERIC_LIB',\n PYTHONGENERICLIB = 'PYTHON_GENERIC_LIB',\n RUBYGENERICLIB = 'RUBY_GENERIC_LIB',\n TSGENERICLIB = 'TS_GENERIC_LIB',\n}\n\n/**\n * Schema for Platforms\n */\nexport const platformsSchema: Schema = stringEnum(Platforms);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { object, Schema, string } from '../schema';\n\n/** This structure contains details of importing a new API Version */\nexport interface ImportApiVersionViaUrlRequest {\n /** The version number with which the new API version will be imported. This version number will override the version specified in the API specification file.
APIMatic recommends versioning the API with the [versioning scheme](https://docs.apimatic.io/define-apis/basic-settings/#version) documented in the docs. */\n versionOverride: string;\n /** The URL for the API specification file.

**Note:** This URL should be publicly accessible. */\n url: string;\n}\n\nexport const importApiVersionViaUrlRequestSchema: Schema = object(\n { versionOverride: ['version_override', string()], url: ['url', string()] }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { object, Schema, string } from '../schema';\n\n/** Contains a url field to allow Apis to be imported via url */\nexport interface ImportApiViaUrlRequest {\n /** The URL for the API specification file.

**Note:** This URL should be publicly accessible. */\n url: string;\n}\n\nexport const importApiViaUrlRequestSchema: Schema = object(\n { url: ['url', string()] }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { object, Schema, string } from '../schema';\n\n/** Contains a url field to allow Apis to be imported via url */\nexport interface InplaceImportApiViaUrlRequest {\n /** The URL for the API specification file.

**Note:** This URL should be publicly accessible. */\n url: string;\n}\n\nexport const inplaceImportApiViaUrlRequestSchema: Schema = object(\n { url: ['url', string()] }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { ApiResponse, FileWrapper, RequestOptions } from '../core';\nimport { Accept, acceptSchema } from '../models/accept';\nimport { Accept2, accept2Schema } from '../models/accept2';\nimport { ApiEntity, apiEntitySchema } from '../models/apiEntity';\nimport { ExportFormats, exportFormatsSchema } from '../models/exportFormats';\nimport {\n ImportApiVersionViaUrlRequest,\n importApiVersionViaUrlRequestSchema,\n} from '../models/importApiVersionViaUrlRequest';\nimport {\n ImportApiViaUrlRequest,\n importApiViaUrlRequestSchema,\n} from '../models/importApiViaUrlRequest';\nimport {\n InplaceImportApiViaUrlRequest,\n inplaceImportApiViaUrlRequestSchema,\n} from '../models/inplaceImportApiViaUrlRequest';\nimport { string } from '../schema';\nimport { BaseController } from './baseController';\n\nexport class ApisManagementController extends BaseController {\n /**\n * Import an API into the APIMatic Dashboard by uploading the API specification file.\n *\n * You can also specify [API Metadata](https://docs.apimatic.io/manage-apis/apimatic-metadata) while\n * importing the API using this endpoint. When specifying Metadata, the uploaded file will be a zip\n * file containing the API specification file and the `APIMATIC-META` json file.\n *\n * @param file The API specification file.
The type of the specification file should be any\n * of the [supported formats](https://docs.apimatic.io/api-transformer/overview-\n * transformer#supported-input-formats).\n * @return Response from the API call\n */\n async importAPIViaFile(\n file: FileWrapper,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('POST', '/api-entities/import-via-file');\n req.header('ContentType', 'multipart/form-data');\n req.formData({\n file: file,\n });\n return req.callAsJson(apiEntitySchema, requestOptions);\n }\n\n /**\n * Import an API into the APIMatic Dashboard by providing the URL of the API specification file.\n *\n * You can also specify [API Metadata](https://docs.apimatic.io/manage-apis/apimatic-metadata) while\n * importing the API using this endpoint. When specifying Metadata, the URL provided will be that of a\n * zip file containing the API specification file and the `APIMATIC-META` json file.\n *\n * @param body Request Body\n * @return Response from the API call\n */\n async importAPIViaURL(\n body: ImportApiViaUrlRequest,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('POST', '/api-entities/import-via-url');\n const mapped = req.prepareArgs({\n body: [body, importApiViaUrlRequestSchema],\n });\n req.header(\n 'Content-Type',\n 'application/vnd.apimatic.apiEntityUrlImportDto.v1+json'\n );\n req.json(mapped.body);\n return req.callAsJson(apiEntitySchema, requestOptions);\n }\n\n /**\n * Import a new version for an API, against an existing API Group, by uploading the API specification\n * file.\n *\n * You can also specify [API Metadata](https://docs.apimatic.io/manage-apis/apimatic-metadata) while\n * importing the API version using this endpoint. When specifying Metadata, the uploaded file will be a\n * zip file containing the API specification file and the `APIMATIC-META` json file.\n *\n * @param apiGroupId The ID of the API Group for which to import a new API version.\n * @param accept\n * @param versionOverride The version number with which the new API version will be imported. This\n * version number will override the version specified in the API specification\n * file.
APIMatic recommends versioning the API with the [versioning\n * scheme](https://docs.apimatic.io/define-apis/basic-settings/#version)\n * documented in the docs.\n * @param file The API specification file.
The type of the specification file should\n * be any of the [supported formats](https://docs.apimatic.io/api-\n * transformer/overview-transformer#supported-input-formats).\n * @return Response from the API call\n */\n async importNewAPIVersionViaFile(\n apiGroupId: string,\n accept: Accept,\n versionOverride: string,\n file: FileWrapper,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('POST');\n const mapped = req.prepareArgs({\n apiGroupId: [apiGroupId, string()],\n accept: [accept, acceptSchema],\n versionOverride: [versionOverride, string()],\n });\n req.header('Accept', mapped.accept);\n req.header('Content-Type', 'multipart/form-data');\n req.formData({\n version_override: mapped.versionOverride,\n file: file,\n });\n req.appendTemplatePath`/api-groups/${mapped.apiGroupId}/api-entities/import-via-file`;\n return req.callAsJson(apiEntitySchema, requestOptions);\n }\n\n /**\n * Import a new version for an API, against an existing API Group, by providing the URL of the API\n * specification file.\n *\n * You can also specify [API Metadata](https://docs.apimatic.io/manage-apis/apimatic-metadata) while\n * importing the API version using this endpoint. When specifying Metadata, the URL provided will be\n * that of a zip file containing the API specification file and the `APIMATIC-META` json file.\n *\n * @param apiGroupId The ID of the API Group for which to import a new API\n * version.\n * @param accept\n * @param body Request Body\n * @return Response from the API call\n */\n async importNewAPIVersionViaURL(\n apiGroupId: string,\n accept: Accept,\n body: ImportApiVersionViaUrlRequest,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('POST');\n const mapped = req.prepareArgs({\n apiGroupId: [apiGroupId, string()],\n accept: [accept, acceptSchema],\n body: [body, importApiVersionViaUrlRequestSchema],\n });\n req.header('Accept', mapped.accept);\n req.header(\n 'Content-Type',\n 'application/vnd.apimatic.apiGroupApiEntityUrlImportDto.v1+json'\n );\n req.json(mapped.body);\n req.appendTemplatePath`/api-groups/${mapped.apiGroupId}/api-entities/import-via-url`;\n return req.callAsJson(apiEntitySchema, requestOptions);\n }\n\n /**\n * Replace an API version of an API Group, by uploading the API specification file that will replace\n * the current version.\n *\n * You can also specify [API Metadata](https://docs.apimatic.io/manage-apis/apimatic-metadata) while\n * importing the API version using this endpoint. When specifying Metadata, the uploaded file will be a\n * zip file containing the API specification file and the `APIMATIC-META` json file.\n *\n * @param apiEntityId The ID of the API Entity to replace.\n * @param accept\n * @param file The API specification file.
The type of the specification file should be\n * any of the [supported formats](https://docs.apimatic.io/api-\n * transformer/overview-transformer#supported-input-formats).\n * @return Response from the API call\n */\n async inplaceAPIImportViaFile(\n apiEntityId: string,\n accept: Accept2,\n file: FileWrapper,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('PUT');\n const mapped = req.prepareArgs({\n apiEntityId: [apiEntityId, string()],\n accept: [accept, accept2Schema],\n });\n req.header('Accept', mapped.accept);\n req.header('Content-Type', 'multipart/form-data');\n req.formData({\n file: file,\n });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/import-via-file`;\n return req.call(requestOptions);\n }\n\n /**\n * Replace an API version of an API Group, by providing the URL of the API specification file that will\n * replace the current version.\n *\n * You can also specify [API Metadata](https://docs.apimatic.io/manage-apis/apimatic-metadata) while\n * importing the API version using this endpoint. When specifying Metadata, the URL provided will be\n * that of a zip file containing the API specification file and the `APIMATIC-META` json file.\n *\n * @param apiEntityId The ID of the API Entity to replace.\n * @param body Request Body\n * @return Response from the API call\n */\n async inplaceAPIImportViaURL(\n apiEntityId: string,\n body: InplaceImportApiViaUrlRequest,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('PUT');\n const mapped = req.prepareArgs({\n apiEntityId: [apiEntityId, string()],\n body: [body, inplaceImportApiViaUrlRequestSchema],\n });\n req.header(\n 'Content-Type',\n 'application/vnd.apimatic.apiEntityUrlImportDto.v1+json'\n );\n req.json(mapped.body);\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/import-via-url`;\n return req.call(requestOptions);\n }\n\n /**\n * Fetch an API Entity.\n *\n * @param apiEntityId The ID of the API Entity to fetch.\n * @return Response from the API call\n */\n async fetchAPIEntity(\n apiEntityId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({ apiEntityId: [apiEntityId, string()] });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}`;\n return req.callAsJson(apiEntitySchema, requestOptions);\n }\n\n /**\n * Download the API Specification file for a an API Version in any of the API Specification formats\n * supported by APIMatic.\n *\n * @param apiEntityId The ID of the API Entity to download.\n * @param format The format in which to download the API.
The format can be any of the\n * [supported formats](https://docs.apimatic.io/api-transformer/overview-\n * transformer#supported-input-formats).\n * @return Response from the API call\n */\n async downloadAPISpecification(\n apiEntityId: string,\n format: ExportFormats,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({\n apiEntityId: [apiEntityId, string()],\n format: [format, exportFormatsSchema],\n });\n req.query('format', mapped.format);\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/api-description`;\n return req.callAsStream(requestOptions);\n }\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { object, Schema, string } from '../schema';\nimport { Platforms, platformsSchema } from './platforms';\n\nexport interface GenerateSdkViaUrlRequest {\n /** The URL for the API specification file.

**Note:** This URL should be publicly accessible. */\n url: string;\n /** The structure contains platforms that APIMatic CodeGen can generate SDKs and Docs in. */\n template: Platforms;\n}\n\nexport const generateSdkViaUrlRequestSchema: Schema = object(\n { url: ['url', string()], template: ['template', platformsSchema] }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { boolean, object, Schema, string } from '../schema';\nimport { Platforms, platformsSchema } from './platforms';\n\n/** The Code Generation structure encapsulates all the the details of an SDK generation performed by a user. */\nexport interface UserCodeGeneration {\n /** Unique Code Generation Identifier */\n id: string;\n /** The structure contains platforms that APIMatic CodeGen can generate SDKs and Docs in. */\n template: Platforms;\n /** The generated SDK */\n generatedFile: string;\n /** Generation Date and Time */\n generatedOn: string;\n /** The md5 hash of the API Description */\n hashCode: string;\n /** Generation Source */\n codeGenerationSource: string;\n /** Generation Version */\n codeGenVersion: string;\n /** Generation Status */\n success: boolean;\n /** Unique User Identifier */\n userId: string;\n /** API Specification file in a supported format */\n inputFile: string;\n}\n\nexport const userCodeGenerationSchema: Schema = object({\n id: ['id', string()],\n template: ['template', platformsSchema],\n generatedFile: ['generatedFile', string()],\n generatedOn: ['generatedOn', string()],\n hashCode: ['hashCode', string()],\n codeGenerationSource: ['codeGenerationSource', string()],\n codeGenVersion: ['codeGenVersion', string()],\n success: ['success', boolean()],\n userId: ['userId', string()],\n inputFile: ['inputFile', string()],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { ApiResponse, FileWrapper, RequestOptions } from '../core';\nimport {\n GenerateSdkViaUrlRequest,\n generateSdkViaUrlRequestSchema,\n} from '../models/generateSdkViaUrlRequest';\nimport { Platforms, platformsSchema } from '../models/platforms';\nimport {\n UserCodeGeneration,\n userCodeGenerationSchema,\n} from '../models/userCodeGeneration';\nimport { array, string } from '../schema';\nimport { BaseController } from './baseController';\n\nexport class CodeGenerationExternalApisController extends BaseController {\n /**\n * Generate an SDK for an API by by uploading the API specification file.\n *\n * This endpoint generates and then uploads the generated SDK to APIMatic's cloud storage. An ID for\n * the generation performed is returned as part of the response.\n *\n * This endpoint does not import an API into APIMatic.\n *\n * @param file The API specification file.
The type of the specification file should be\n * any of the [supported formats](https://docs.apimatic.io/api-\n * transformer/overview-transformer#supported-input-formats).\n * @param template The structure contains platforms that APIMatic CodeGen can generate SDKs and\n * Docs in.\n * @return Response from the API call\n */\n async generateSDKViaFile(\n file: FileWrapper,\n template: Platforms,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest(\n 'POST',\n '/code-generations/generate-via-file'\n );\n const mapped = req.prepareArgs({ template: [template, platformsSchema] });\n req.header('Content-Type', 'multipart/form-data');\n req.formData({\n file: file,\n template: mapped.template,\n });\n return req.callAsJson(userCodeGenerationSchema, requestOptions);\n }\n\n /**\n * Generate an SDK for an API by providing the URL of the API specification file.\n *\n * This endpoint generates and then uploads the generated SDK to APIMatic's cloud storage. An ID for\n * the generation performed is returned as part of the response.\n *\n * This endpoint does not import an API into APIMatic.\n *\n * @param body Request Body\n * @return Response from the API call\n */\n async generateSDKViaURL(\n body: GenerateSdkViaUrlRequest,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest(\n 'POST',\n '/code-generations/generate-via-url'\n );\n const mapped = req.prepareArgs({\n body: [body, generateSdkViaUrlRequestSchema],\n });\n req.header('Content-Type', 'application/vnd.apimatic.userCodeGenerationDto.v1+json');\n req.json(mapped.body);\n return req.callAsJson(userCodeGenerationSchema, requestOptions);\n }\n\n /**\n * Download the SDK generated via the Generate SDK endpoints.\n *\n * @param codegenId The ID of code generation received in the response of the [Generate SDK Via\n * File](https://www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-endpoints/code-generation-\n * external-apis/generate-sdk-via-file) or [Generate SDK Via URL ](https://www.apimatic.\n * io/api-docs-preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-endpoints/code-\n * generation-external-apis/generate-sdk-via-url) calls.\n * @return Response from the API call\n */\n async downloadSDK(\n codegenId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({ codegenId: [codegenId, string()] });\n req.appendTemplatePath`/code-generations/${mapped.codegenId}/generated-sdk`;\n return req.callAsStream(requestOptions);\n }\n\n /**\n * Get a list of all SDK generations performed with external APIs via the Generate SDK endpoints.\n *\n * @return Response from the API call\n */\n async listAllCodeGenerations(\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET', '/code-generations');\n return req.callAsJson(array(userCodeGenerationSchema), requestOptions);\n }\n\n /**\n * Download the API Specification file used as input for a specific SDK generation performed via the\n * Generate SDK endpoints.\n *\n * @param codegenId The ID of the code generation to download the API specification for. The code\n * generation ID is received in the response of the [Generate SDK Via File](https://www.\n * apimatic.io/api-docs-preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-\n * endpoints/code-generation-external-apis/generate-sdk-via-file) or [Generate SDK Via\n * URL ](https://www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-endpoints/code-generation-\n * external-apis/generate-sdk-via-url) calls\n * @return Response from the API call\n */\n async downloadInputFile(\n codegenId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({ codegenId: [codegenId, string()] });\n req.appendTemplatePath`/code-generations/${mapped.codegenId}/input-file`;\n return req.callAsStream(requestOptions);\n }\n\n /**\n * Get details on an SDK generation performed for an external API via the Generate SDK endpoints.\n *\n * @param codegenId The ID of the code generation to fetch. The code generation ID is received in the\n * response of the [Generate SDK Via File](https://www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-endpoints/code-generation-\n * external-apis/generate-sdk-via-file) or [Generate SDK Via URL ](https://www.apimatic.\n * io/api-docs-preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-endpoints/code-\n * generation-external-apis/generate-sdk-via-url) calls.\n * @return Response from the API call\n */\n async getACodeGeneration(\n codegenId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({ codegenId: [codegenId, string()] });\n req.appendTemplatePath`/code-generations/${mapped.codegenId}`;\n return req.callAsJson(userCodeGenerationSchema, requestOptions);\n }\n\n /**\n * Delete an SDK generation performed for an API via the Generate SDK endpoints.\n *\n * @param codegenId The ID of the code generation to delete. The code generation ID is received in the\n * response of the [Generate SDK Via File](https://www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-endpoints/code-generation-\n * external-apis/generate-sdk-via-file) or [Generate SDK Via URL ](https://www.apimatic.\n * io/api-docs-preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-endpoints/code-\n * generation-external-apis/generate-sdk-via-url) calls.\n * @return Response from the API call\n */\n async deleteCodeGeneration1(\n codegenId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('DELETE');\n const mapped = req.prepareArgs({ codegenId: [codegenId, string()] });\n req.appendTemplatePath`/code-generations/${mapped.codegenId}`;\n return req.call(requestOptions);\n }\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { boolean, object, Schema, string } from '../schema';\nimport { Platforms, platformsSchema } from './platforms';\n\n/** The Code Generation structure encapsulates all the the details of an SDK generation performed against an API Entity */\nexport interface APIEntityCodeGeneration {\n /** Unique Code Generation Identifier */\n id: string;\n /** The structure contains platforms that APIMatic CodeGen can generate SDKs and Docs in. */\n template: Platforms;\n /** The generated SDK */\n generatedFile: string;\n /** Generation Date and Time */\n generatedOn: string;\n /** The md5 hash of the API Description */\n hashCode: string;\n /** Generation Source */\n codeGenerationSource: string;\n /** Generation Version */\n codeGenVersion: string;\n /** Generation Status */\n success: boolean;\n /** Unique API Entity Identifier */\n apiEntityId: string;\n}\n\nexport const aPIEntityCodeGenerationSchema: Schema = object(\n {\n id: ['id', string()],\n template: ['template', platformsSchema],\n generatedFile: ['generatedFile', string()],\n generatedOn: ['generatedOn', string()],\n hashCode: ['hashCode', string()],\n codeGenerationSource: ['codeGenerationSource', string()],\n codeGenVersion: ['codeGenVersion', string()],\n success: ['success', boolean()],\n apiEntityId: ['apiEntityId', string()],\n }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { ApiResponse, RequestOptions } from '../core';\nimport {\n APIEntityCodeGeneration,\n aPIEntityCodeGenerationSchema,\n} from '../models/aPIEntityCodeGeneration';\nimport { Platforms, platformsSchema } from '../models/platforms';\nimport { array, string } from '../schema';\nimport { BaseController } from './baseController';\n\nexport class CodeGenerationImportedApisController extends BaseController {\n /**\n * Generate an SDK for an API Version.\n *\n * This endpoint generates and then uploads the generated SDK to APIMatic's cloud storage. An ID for\n * the generation performed is returned as part of the response.\n *\n * @param apiEntityId The ID of the API Entity to generate the SDK for.\n * @param template The structure contains platforms that APIMatic CodeGen can generate SDKs and\n * Docs in.\n * @return Response from the API call\n */\n async generateSDK(\n apiEntityId: string,\n template: Platforms,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('POST');\n const mapped = req.prepareArgs({\n apiEntityId: [apiEntityId, string()],\n template: [template, platformsSchema],\n });\n req.header('Content-Type', 'application/x-www-form-urlencoded');\n req.form({\n template: mapped.template,\n });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/code-generations/generate`;\n return req.callAsJson(aPIEntityCodeGenerationSchema, requestOptions);\n }\n\n /**\n * Download the SDK generated via the Generate SDK endpoint.\n *\n * @param apiEntityId The ID of the API Entity for which the SDK was generated.\n * @param codegenId The ID of code generation received in the response of the [SDK generation\n * call](https://www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-endpoints/code-\n * generation-imported-apis/generate-sdk).\n * @return Response from the API call\n */\n async downloadSDK(\n apiEntityId: string,\n codegenId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({\n apiEntityId: [apiEntityId, string()],\n codegenId: [codegenId, string()],\n });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/code-generations/${mapped.codegenId}/generated-sdk`;\n return req.callAsStream(requestOptions);\n }\n\n /**\n * Get a list of all SDK generations done against an API Version via the Generate SDK endpoint.\n *\n * @param apiEntityId The ID of the API Entity for which to list code generations.\n * @return Response from the API call\n */\n async listAllCodeGenerations(\n apiEntityId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({ apiEntityId: [apiEntityId, string()] });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/code-generations`;\n return req.callAsJson(array(aPIEntityCodeGenerationSchema), requestOptions);\n }\n\n /**\n * Get details on an SDK generation performed via the Generate SDK endpoint.\n *\n * @param apiEntityId The ID of the API Entity to fetch the code generation for.\n * @param codegenId The ID of the code generation to fetch. The code generation ID is received in the\n * response of the [SDK generation call](https://www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-endpoints/code-\n * generation-imported-apis/generate-sdk).\n * @return Response from the API call\n */\n async getACodeGeneration(\n apiEntityId: string,\n codegenId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({\n apiEntityId: [apiEntityId, string()],\n codegenId: [codegenId, string()],\n });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/code-generations/${mapped.codegenId}`;\n return req.callAsJson(aPIEntityCodeGenerationSchema, requestOptions);\n }\n\n /**\n * Delete an SDK generation performed for an API Version via the Generate SDK endpoint.\n *\n * @param apiEntityId The ID of the API Entity to delete the code generation for.\n * @param codegenId The ID of the code generation to delete. The code generation ID is received in the\n * response of the [SDK generation call](https://www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-endpoints/code-\n * generation-imported-apis/generate-sdk).\n * @return Response from the API call\n */\n async deleteCodeGeneration(\n apiEntityId: string,\n codegenId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('DELETE');\n const mapped = req.prepareArgs({\n apiEntityId: [apiEntityId, string()],\n codegenId: [codegenId, string()],\n });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/code-generations/${mapped.codegenId}`;\n return req.call(requestOptions);\n }\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { Schema, stringEnum } from '../schema';\n\n/**\n * Enum for Accept3\n */\nexport enum Accept3 {\n EnumApplicationzip = 'application/zip',\n}\n\n/**\n * Schema for Accept3\n */\nexport const accept3Schema: Schema = stringEnum(Accept3);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { ApiResponse, FileWrapper, RequestOptions } from '../core';\nimport { Accept3, accept3Schema } from '../models/accept3';\nimport { string } from '../schema';\nimport { BaseController } from './baseController';\n\nexport class DocsPortalManagementController extends BaseController {\n /**\n * Publish artifacts for a Hosted Portal.\n *\n * This endpoint regenerates all the artifacts for a hosted portal and uploads them to APIMatic's cloud\n * storage, from where the Portal fetches them. These artifacts include:\n *\n * 1. SDKs\n * 2. Docs\n * 3. API Specification files\n *\n * Call this endpoint to update your Hosted Portal after you update an API Entity via any of the Import\n * API Endpoints.\n *\n * __**Note: If you have an embedded portal against the same API Entity, artifacts for that portal will\n * get updated as well.**__\n *\n * @param apiEntityId The ID of the API Entity to update the portal artifacts for.\n * @return Response from the API call\n */\n async publishHostedPortal(\n apiEntityId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('PUT');\n const mapped = req.prepareArgs({ apiEntityId: [apiEntityId, string()] });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/hosted-portal`;\n return req.call(requestOptions);\n }\n\n /**\n * Publish artifacts for an Embedded Portal and get the Portal Embed script.\n *\n * This endpoint regenerates all the artifacts for an embedded portal and uploads them to APIMatic's\n * cloud storage, from where the Portal fetches them. These artifacts include:\n *\n * 1. SDKs\n * 2. Docs\n * 3. API Specification files\n *\n * Call this endpoint to update your Embedded Portal after you update an API Entity via any of the\n * Import API Endpoints. This endpoint returns the Portal Embed script in the response.\n *\n * __**Note: If you have a hosted portal against the same API Entity, artifacts for that portal will\n * get updated as well.**__\n *\n * @param apiEntityId The ID of the API Entity to update the portal artifacts for.\n * @return Response from the API call\n */\n async publishEmbeddedPortal(\n apiEntityId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('PUT');\n const mapped = req.prepareArgs({ apiEntityId: [apiEntityId, string()] });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/embedded-portal`;\n return req.call(requestOptions);\n }\n\n /**\n * Generate an On-premise Documentation Portal for an API Entity. This endpoint generates all artifacts\n * for the Portal and packages them together into a zip file along with the required HTML, CSS and JS\n * files. The generated artifacts include:\n *\n * 1. SDKs\n * 2. Docs\n * 3. API Specification files\n *\n * The endpoint returns a zip file that contains a static Site and can be hosted on any Web Server.\n *\n * @param apiEntityId The ID of the API Entity to generate the Portal for.\n * @param accept Example: application/zip\n * @return Response from the API call\n */\n async generateOnPremPortalViaAPIEntity(\n apiEntityId: string,\n accept: Accept3,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({\n apiEntityId: [apiEntityId, string()],\n accept: [accept, accept3Schema],\n });\n req.header('Accept', mapped.accept);\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/on-prem-portal`;\n return req.call(requestOptions);\n }\n\n /**\n * Generate an On-premise Documentation Portal by uploading a Portal Build Input. This endpoint\n * generates all artifacts for the Portal and packages them together into a zip file along with the\n * required HTML, CSS and JS files. The generated artifacts include:\n *\n * 1. SDKs\n * 2. Docs\n * 3. API Specification files\n *\n * The endpoint returns a zip file that contains a static Site and can be hosted on any Web Server.\n *\n * @param file The input file to the Portal Generator. Must contain the build file.\n * @return Response from the API call\n */\n async generateOnPremPortalViaBuildInput(\n file: FileWrapper,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('POST', '/portal');\n req.header('ContentType', 'multipart/form-data');\n req.formData({\n file: file,\n });\n return req.callAsStream(requestOptions);\n }\n\n /**\n * Unpublish a Hosted or Embedded Portal published for an API Entity. Calling this endpoint deletes all\n * the published artifacts for a Portal from APIMatic's cloud storage.\n *\n * In case of a Hosted Portal, to completely remove the Portal, this endpoint needs to be called\n * against all API versions that the Portal hosts.\n *\n * In case of an Embedded Portal, to completely remove the Portal, the user needs to manually remove\n * the Portal Embed script from the embedding site.\n *\n * @param apiEntityId The ID of the API Entity to unpublish the Portal artifacts for.\n * @return Response from the API call\n */\n async unpublishPortal(\n apiEntityId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('DELETE');\n const mapped = req.prepareArgs({ apiEntityId: [apiEntityId, string()] });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/portal`;\n return req.call(requestOptions);\n }\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { Schema, stringEnum } from '../schema';\n\n/**\n * Enum for Id\n */\nexport enum Id {\n Enum5dcd2b5893c3e31a206f30c4 = '5dcd2b5893c3e31a206f30c4',\n}\n\n/**\n * Schema for Id\n */\nexport const idSchema: Schema = stringEnum(Id);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { Schema, stringEnum } from '../schema';\n\n/**\n * Enum for Link\n */\nexport enum Link {\n EnumHttpswwwnugetorgpackagesmyPackage111 = 'https://www.nuget.org/packages/myPackage/1.1.1',\n}\n\n/**\n * Schema for Link\n */\nexport const linkSchema: Schema = stringEnum(Link);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { Schema, stringEnum } from '../schema';\n\n/**\n * Enum for PackageRepositories\n */\nexport enum PackageRepositories {\n Npm = 'Npm',\n PyPI = 'PyPI',\n RubyGems = 'RubyGems',\n}\n\n/**\n * Schema for PackageRepositories\n */\nexport const packageRepositoriesSchema: Schema = stringEnum(PackageRepositories);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { object, optional, Schema, string, unknown } from '../schema';\nimport { Id, idSchema } from './id';\nimport { Link, linkSchema } from './link';\n\n/** This structure contains all details that goes into package deployment. */\nexport interface CSNETSTANDARDLIB {\n /** Unique package identifier */\n id?: Id;\n /** Package Repository as per platform */\n packageRepository: string;\n /** Package Name */\n packageName: string;\n version: string;\n /** Any additional platform specific deployment detail */\n additionalDeploymentInformation?: unknown;\n /** Link of deployed package */\n link?: Link;\n}\n\nexport const cSNETSTANDARDLIBSchema: Schema = object({\n id: ['id', optional(idSchema)],\n packageRepository: ['packageRepository', string()],\n packageName: ['packageName', string()],\n version: ['version', string()],\n additionalDeploymentInformation: [\n 'additionalDeploymentInformation',\n unknown(),\n ],\n link: ['link', optional(linkSchema)],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { lazy, object, Schema } from '../schema';\nimport { CSNETSTANDARDLIB, cSNETSTANDARDLIBSchema } from './cSNETSTANDARDLIB';\n\n/** This structure encapsulates all package deployment details. */\nexport interface TemplatesPackageDeploymentInformation {\n /** This structure contains all details that goes into package deployment. */\n cSNETSTANDARDLIB: CSNETSTANDARDLIB;\n}\n\nexport const templatesPackageDeploymentInformationSchema: Schema = object(\n {\n cSNETSTANDARDLIB: [\n 'CS_NET_STANDARD_LIB',\n lazy(() => cSNETSTANDARDLIBSchema),\n ],\n }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { lazy, object, Schema, string } from '../schema';\nimport {\n TemplatesPackageDeploymentInformation,\n templatesPackageDeploymentInformationSchema,\n} from './templatesPackageDeploymentInformation';\n\n/** The structure contains Package Deployment Information along with Id. */\nexport interface PackageDeploymentInformation {\n /** Package Deployment Identifier */\n id: string;\n /** This structure encapsulates all package deployment details. */\n templatesPackageDeploymentInformation: TemplatesPackageDeploymentInformation;\n}\n\nexport const packageDeploymentInformationSchema: Schema = object(\n {\n id: ['id', string()],\n templatesPackageDeploymentInformation: [\n 'templatesPackageDeploymentInformation',\n lazy(() => templatesPackageDeploymentInformationSchema),\n ],\n }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { object, Schema, string } from '../schema';\n\nexport interface AuthorIdentifiers {\n email: string;\n userName: string;\n}\n\nexport const authorIdentifiersSchema: Schema = object({\n email: ['Email', string()],\n userName: ['UserName', string()],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { lazy, object, Schema, string, unknown } from '../schema';\nimport {\n AuthorIdentifiers,\n authorIdentifiersSchema,\n} from './authorIdentifiers';\n\nexport interface PublishedPackage {\n id: string;\n createdOn: string;\n apiEntityId: string;\n packageRepository: string;\n template: string;\n packageName: string;\n version: string;\n additionalDeploymentInformation?: unknown;\n authorIdentifiers: AuthorIdentifiers;\n link: string;\n}\n\nexport const publishedPackageSchema: Schema = object({\n id: ['id', string()],\n createdOn: ['createdOn', string()],\n apiEntityId: ['apiEntityId', string()],\n packageRepository: ['packageRepository', string()],\n template: ['template', string()],\n packageName: ['packageName', string()],\n version: ['version', string()],\n additionalDeploymentInformation: [\n 'additionalDeploymentInformation',\n unknown(),\n ],\n authorIdentifiers: ['authorIdentifiers', lazy(() => authorIdentifiersSchema)],\n link: ['link', string()],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { Schema, stringEnum } from '../schema';\n\n/**\n * Enum for ImplementationType\n */\nexport enum ImplementationType {\n Structure = 'Structure',\n Enumeration = 'Enumeration',\n Exception = 'Exception',\n}\n\n/**\n * Schema for ImplementationType\n */\nexport const implementationTypeSchema: Schema = stringEnum(ImplementationType);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { object, Schema, string, unknown } from '../schema';\nimport {\n PackageRepositories,\n packageRepositoriesSchema,\n} from './packageRepositories';\nimport { Platforms, platformsSchema } from './platforms';\n\nexport interface PublishPackageInput {\n packageRepository: PackageRepositories;\n /** The structure contains platforms that APIMatic CodeGen can generate SDKs and Docs in. */\n template: Platforms;\n packageName: string;\n version: string;\n additionalDeploymentInformation?: unknown;\n}\n\nexport const publishPackageInputSchema: Schema = object({\n packageRepository: ['packageRepository', packageRepositoriesSchema],\n template: ['template', platformsSchema],\n packageName: ['packageName', string()],\n version: ['version', string()],\n additionalDeploymentInformation: [\n 'additionalDeploymentInformation',\n unknown(),\n ],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { lazy, object, Schema } from '../schema';\nimport { CSNETSTANDARDLIB, cSNETSTANDARDLIBSchema } from './cSNETSTANDARDLIB';\n\n/** This structure helps update package deployment details. */\nexport interface UpdateTemplatesPackageDeploymentInformation {\n /** This structure contains all details that goes into package deployment. */\n cSNETSTANDARDLIB: CSNETSTANDARDLIB;\n}\n\nexport const updateTemplatesPackageDeploymentInformationSchema: Schema = object(\n {\n cSNETSTANDARDLIB: [\n 'CS_NET_STANDARD_LIB',\n lazy(() => cSNETSTANDARDLIBSchema),\n ],\n }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { lazy, object, Schema } from '../schema';\nimport {\n UpdateTemplatesPackageDeploymentInformation,\n updateTemplatesPackageDeploymentInformationSchema,\n} from './updateTemplatesPackageDeploymentInformation';\n\n/** This structure is used to update package deployment details. */\nexport interface UpdatePackageDeploymentInformation {\n /** This structure helps update package deployment details. */\n templatesPackageDeploymentInformation: UpdateTemplatesPackageDeploymentInformation;\n}\n\nexport const updatePackageDeploymentInformationSchema: Schema = object(\n {\n templatesPackageDeploymentInformation: [\n 'templatesPackageDeploymentInformation',\n lazy(() => updateTemplatesPackageDeploymentInformationSchema),\n ],\n }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { ApiResponse, RequestOptions } from '../core';\nimport {\n PackageDeploymentInformation,\n packageDeploymentInformationSchema,\n} from '../models/packageDeploymentInformation';\nimport {\n PublishedPackage,\n publishedPackageSchema,\n} from '../models/publishedPackage';\nimport {\n PublishPackageInput,\n publishPackageInputSchema,\n} from '../models/publishPackageInput';\nimport {\n UpdatePackageDeploymentInformation,\n updatePackageDeploymentInformationSchema,\n} from '../models/updatePackageDeploymentInformation';\nimport { array, string } from '../schema';\nimport { BaseController } from './baseController';\n\nexport class PackageDeploymentController extends BaseController {\n /**\n * Update Package Deployment Information for an API Entity. To find out more on how to publish a\n * package visit: [Adding Packages to Portal](https://docs.apimatic.io/developer-experience-\n * portal/adding%20packages%20to%20portal/)\n *\n * To find out more about publishing packages visit: [Publish Packages](https://docs.apimatic.\n * io/developer-experience-portal/adding%20packages%20to%20portal/)\n *\n * @param apiEntityId Unique API Entity Identifier\n * @param body Package Deployment Information to be updated.\n * This comprises of the Platform Template, the\n * Repository Name and Version.\n * @return Response from the API call\n */\n async updatePackageDeploymentInformation(\n apiEntityId: string,\n body: UpdatePackageDeploymentInformation,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('PUT');\n const mapped = req.prepareArgs({\n apiEntityId: [apiEntityId, string()],\n body: [body, updatePackageDeploymentInformationSchema],\n });\n req.header('Content-Type', 'application/json');\n req.json(mapped.body);\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/docs/package-deployment-information`;\n return req.call(requestOptions);\n }\n\n /**\n * Query Package deployment details added for an API Entity.\n * To find out more about adding packages to portal: [Adding Packages to Portal](https://docs.apimatic.\n * io/developer-experience-portal/adding%20packages%20to%20portal/)\n *\n * @param apiEntityId Unique API Entity identifier\n * @return Response from the API call\n */\n async packageDeploymentInformation(\n apiEntityId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n req.baseUrl('default');\n const mapped = req.prepareArgs({ apiEntityId: [apiEntityId, string()] });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/docs/package-deployment-information`;\n return req.callAsJson(packageDeploymentInformationSchema, requestOptions);\n }\n\n /**\n * Returns logs for all packages published for the API.\n *\n * @param apiEntityId Unique API Identifier\n * @return Response from the API call\n */\n async getPublishedPackagesForAPI(\n apiEntityId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({ apiEntityId: [apiEntityId, string()] });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/published-packages`;\n return req.callAsJson(array(publishedPackageSchema), requestOptions);\n }\n\n /**\n * Publish a new package for API by specifying package name and version number.\n *\n * To publish packages using this API, you will first need to add package repository credentials to\n * your APIMatic account.\n * Check out the [docs](https://docs.apimatic.io/advanced/publishing-a-package/) for a guide on adding\n * package repository credentials\n *\n * @param apiEntityId Unique API Identifier\n * @param body\n * @return Response from the API call\n */\n async publishAPackageForAPI(\n apiEntityId: string,\n body: PublishPackageInput,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('POST');\n const mapped = req.prepareArgs({\n apiEntityId: [apiEntityId, string()],\n body: [body, publishPackageInputSchema],\n });\n req.header('Content-Type', 'application/json');\n req.json(mapped.body);\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/published-packages/`;\n return req.callAsJson(publishedPackageSchema, requestOptions);\n }\n\n /**\n * Pull details for a certain published package by specifying Published Package Id.\n *\n * @param apiEntityId Unique API Identifier\n * @param publishedPackageId Unique Published Package Identifier\n * @return Response from the API call\n */\n async getAPublishedPackage(\n apiEntityId: string,\n publishedPackageId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n req.baseUrl('default');\n const mapped = req.prepareArgs({\n apiEntityId: [apiEntityId, string()],\n publishedPackageId: [publishedPackageId, string()],\n });\n req.appendTemplatePath`/api/api-entities/${mapped.apiEntityId}/published-packages/${mapped.publishedPackageId}`;\n return req.callAsJson(publishedPackageSchema, requestOptions);\n }\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { boolean, lazy, object, optional, Schema, string } from '../schema';\nimport {\n ApiValidationSummary,\n apiValidationSummarySchema,\n} from './apiValidationSummary';\n\n/** Transformation structure encapsulates all the details of a Transformation. */\nexport interface Transformation {\n /** Unique Transformation Identifier */\n id: string;\n /** Transformation Date and Time */\n transformedOn: string;\n /** Unique User Identifier */\n userId: string;\n /** API Specification file to be transformed */\n inputtedFile: string;\n /** API Specification file transformed to desired format */\n generatedFile: string;\n /** Desired Specification format */\n exportFormat: string;\n /** Source of Transformation */\n transformationSource: string;\n /** Via File or URL */\n transformationInput: string;\n /** CodeGen Engine Version */\n codeGenVersion: string;\n /** Successful Transformation Flag */\n success: boolean;\n importSummary?: ApiValidationSummary;\n apiValidationSummary?: ApiValidationSummary;\n}\n\nexport const transformationSchema: Schema = object({\n id: ['id', string()],\n transformedOn: ['transformedOn', string()],\n userId: ['userId', string()],\n inputtedFile: ['inputtedFile', string()],\n generatedFile: ['generatedFile', string()],\n exportFormat: ['exportFormat', string()],\n transformationSource: ['transformationSource', string()],\n transformationInput: ['transformationInput', string()],\n codeGenVersion: ['codeGenVersion', string()],\n success: ['success', boolean()],\n importSummary: [\n 'importSummary',\n optional(lazy(() => apiValidationSummarySchema)),\n ],\n apiValidationSummary: [\n 'apiValidationSummary',\n optional(lazy(() => apiValidationSummarySchema)),\n ],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { object, Schema, string } from '../schema';\nimport { ExportFormats, exportFormatsSchema } from './exportFormats';\n\n/** This structure puts together the URL of the file to be transformed, along with the desired export format. */\nexport interface TransformViaUrlRequest {\n /** The URL for the API specification file.

**Note:** This URL should be publicly accessible. */\n url: string;\n /** The structure contains API specification formats that Transformer can convert to. */\n exportFormat: ExportFormats;\n}\n\nexport const transformViaUrlRequestSchema: Schema = object(\n {\n url: ['url', string()],\n exportFormat: ['export_format', exportFormatsSchema],\n }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { ApiResponse, FileWrapper, RequestOptions } from '../core';\nimport { ExportFormats, exportFormatsSchema } from '../models/exportFormats';\nimport { Transformation, transformationSchema } from '../models/transformation';\nimport {\n TransformViaUrlRequest,\n transformViaUrlRequestSchema,\n} from '../models/transformViaUrlRequest';\nimport { array, string } from '../schema';\nimport { BaseController } from './baseController';\n\nexport class TransformationController extends BaseController {\n /**\n * Transform an API into any of the supported API specification formats by uploading the API\n * specification file.\n *\n * This endpoint transforms and then uploads the transformed API specification to APIMatic's cloud\n * storage. An ID for the transformation performed is returned as part of the response.\n *\n * @param file The API specification file.
The type of the specification file should be\n * any of the [supported formats](https://docs.apimatic.io/api-\n * transformer/overview-transformer#supported-input-formats).\n * @param exportFormat The structure contains API specification formats that Transformer can\n * convert to.\n * @return Response from the API call\n */\n async transformViaFile(\n file: FileWrapper,\n exportFormat: ExportFormats,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest(\n 'POST',\n '/transformations/transform-via-file'\n );\n const mapped = req.prepareArgs({\n exportFormat: [exportFormat, exportFormatsSchema],\n });\n req.header('ContentType', 'multipart/form-data');\n req.formData({\n file: file,\n export_format: mapped.exportFormat,\n });\n return req.callAsJson(transformationSchema, requestOptions);\n }\n\n /**\n * Transform an API into any of the supported API specification formats by providing the URL of the API\n * specification file.\n *\n * This endpoint transforms and then uploads the transformed API specification to APIMatic's cloud\n * storage. An ID for the transformation performed is returned as part of the response.\n *\n * @param body Request Body\n * @return Response from the API call\n */\n async transformViaURL(\n body: TransformViaUrlRequest,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest(\n 'POST',\n '/transformations/transform-via-url'\n );\n const mapped = req.prepareArgs({\n body: [body, transformViaUrlRequestSchema],\n });\n req.header(\n 'Content-Type',\n 'application/vnd.apimatic.urlTransformDto.v1+json'\n );\n req.json(mapped.body);\n return req.callAsJson(transformationSchema, requestOptions);\n }\n\n /**\n * Download the transformed API specification file transformed via the Transformation endpoints.\n *\n * @param transformationId The ID of transformation received in the response of the [Transform Via File\n * ](https://www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-\n * endpoints/transformation/transform-via-file) or [Transform Via URL ](https:\n * //www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-\n * endpoints/transformation/transform-via-url) calls.\n * @return Response from the API call\n */\n async downloadTransformedFile(\n transformationId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({\n transformationId: [transformationId, string()],\n });\n req.appendTemplatePath`/transformations/${mapped.transformationId}/converted-file`;\n return req.callAsStream(requestOptions);\n }\n\n /**\n * Download the API Specification file used as input for a particular Transformation performed via the\n * Transformation endpoints.\n *\n * @param transformationId The ID of the transformation to download the API specification for. The\n * transformation ID is received in the response of the [Transform Via File\n * ](https://www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-\n * endpoints/transformation/transform-via-file) or [Transform Via URL](https://www.\n * apimatic.io/api-docs-preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-\n * endpoints/transformation/transform-via-url) calls.\n * @return Response from the API call\n */\n async downloadInputFile(\n transformationId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({\n transformationId: [transformationId, string()],\n });\n req.appendTemplatePath`/transformations/${mapped.transformationId}/input-file`;\n return req.callAsStream(requestOptions);\n }\n\n /**\n * Get a list of all API transformations performed.\n *\n * @return Response from the API call\n */\n async listAllTransformations(\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET', '/transformations');\n return req.callAsJson(array(transformationSchema), requestOptions);\n }\n\n /**\n * Get details on a particular Transformation performed via the Transformation endpoints.\n *\n * @param transformationId The ID of the transformation to fetch. The transformation ID is received in\n * the response of the [Transform Via File ](https://www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-\n * endpoints/transformation/transform-via-file) or [Transform Via URL ](https:\n * //www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-\n * endpoints/transformation/transform-via-url) calls.\n * @return Response from the API call\n */\n async getATransformation(\n transformationId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({\n transformationId: [transformationId, string()],\n });\n req.appendTemplatePath`/transformations/${mapped.transformationId}`;\n return req.callAsJson(transformationSchema, requestOptions);\n }\n\n /**\n * Delete a particular Transformation performed for an API via the Transformation endpoints.\n *\n * @param transformationId The ID of the transformation to delete. The transformation ID is received in\n * the response of the [Transform Via File ](https://www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-\n * endpoints/transformation/transform-via-file) or [Transform Via URL](https://www.\n * apimatic.io/api-docs-preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-\n * endpoints/transformation/transform-via-url) calls.\n * @return Response from the API call\n */\n async deleteTransformation(\n transformationId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('DELETE');\n const mapped = req.prepareArgs({\n transformationId: [transformationId, string()],\n });\n req.appendTemplatePath`/transformations/${mapped.transformationId}`;\n return req.call(requestOptions);\n }\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { Schema, stringEnum } from '../schema';\n\n/**\n * Enum for ContentType\n */\nexport enum ContentType {\n EnumMultipartformdata = 'multipart/form-data',\n}\n\n/**\n * Schema for ContentType\n */\nexport const contentTypeSchema: Schema = stringEnum(ContentType);\n"],"names":["runtime","exports","Op","Object","prototype","hasOwn","hasOwnProperty","$Symbol","Symbol","iteratorSymbol","iterator","asyncIteratorSymbol","asyncIterator","toStringTagSymbol","toStringTag","define","obj","key","value","defineProperty","enumerable","configurable","writable","err","wrap","innerFn","outerFn","self","tryLocsList","generator","create","Generator","context","Context","_invoke","state","method","arg","Error","undefined","done","delegate","delegateResult","maybeInvokeDelegate","ContinueSentinel","sent","_sent","dispatchException","abrupt","record","tryCatch","type","makeInvokeMethod","fn","call","GeneratorFunction","GeneratorFunctionPrototype","IteratorPrototype","this","getProto","getPrototypeOf","NativeIteratorPrototype","values","Gp","defineIteratorMethods","forEach","AsyncIterator","PromiseImpl","previousPromise","callInvokeWithMethodAndArg","resolve","reject","invoke","result","__await","then","unwrapped","error","TypeError","info","resultName","next","nextLoc","pushTryEntry","locs","entry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","push","resetTryEntry","completion","reset","iterable","iteratorMethod","isNaN","length","i","doneResult","displayName","isGeneratorFunction","genFun","ctor","constructor","name","mark","setPrototypeOf","__proto__","awrap","async","Promise","iter","keys","object","reverse","pop","skipTempReset","prev","charAt","slice","stop","rootRecord","rval","exception","handle","loc","caught","hasCatch","hasFinally","finallyEntry","complete","finish","catch","thrown","delegateYield","module","regeneratorRuntime","accidentalStrictMode","globalThis","Function","Environment","DEFAULT_CONFIGURATION","timeout","environment","Production","authorization","XmlSerialization","xmlSerialize","_rootName","_value","xmlDeserialize","_xmlString","Client","config","baseUrlProvider","authProvider","httpClient","addons","xmlSerializer","requestBuilderFactory","client","_config","_requestBuilderFactory","server","getBaseUri","_this","requiresAuth","request","options","mergeHeaders","headers","passThroughInterceptor","HttpClient","clientConfigOverrides","unstable_httpClientOptions","withErrorHandlers","withUserAgent","withAuthenticationByDefault","createRequestBuilderFactory","requestOptions","executeRequest","ApiError","tap","getRequestBuilderFactory","withConfiguration","callback","requestBuilder","c","rb","defaultToError","header","authenticate","apiValidationSummarySchema","success","boolean","errors","array","string","warnings","messages","BaseController","createRequest","APIValidationExternalApisController","validateAPIViaFile","file","req","baseUrl","formData","callAsJson","validateAPIViaURL","descriptionUrl","mapped","prepareArgs","query","docsValidationSummarySchema","APIValidationImportedApisController","validateAPI","apiEntityId","appendTemplatePath","validateAPIForDocs","Accept","acceptSchema","stringEnum","Accept2","ExportFormats","accept2Schema","authenticationSchema","id","authType","scopes","parameters","authScopes","authGrantTypes","paramFormats","unknown","codeGenSettingsSchema","isAsync","useHttpMethodPrefix","useModelPrefix","useEnumPrefix","useConstructorsForConfig","useCommonSdkLibrary","generateInterfaces","generateAppveyorConfig","generateCircleConfig","generateJenkinsConfig","generateTravisConfig","androidUseAppManifest","iosUseAppInfoPlist","iosGenerateCoreData","runscopeEnabled","collapseParamsToArray","preserveParameterOrder","appendContentHeaders","modelSerializationIsJSON","nullify404","validateRequiredParameters","enableAdditionalModelProperties","javaUsePropertiesConfig","useControllerPrefix","useExceptionPrefix","parameterArrayFormat","objCHttpClient","cSharpHttpClient","androidHttpClient","nodeHttpClient","phpHttpClient","bodySerialization","number","arraySerialization","enableLogging","enableHttpCache","retries","retryInterval","generateAdvancedDocs","storeTimezoneInformation","enablePhpComposerVersionString","securityProtocols","underscoreNumbers","useSingletonPattern","disableLinting","allowSkippingSSLCertVerification","applyCustomizations","doNotSplitWords","sortResources","enableGlobalUserAgent","endpointsGroupSchema","description","importValidationSummarySchema","metaDataSchema","importValidationSummary","lazy","apiValidationSummary","docsValidationSummary","serverSchema","url","environmentSchema","servers","attributesSchema","parameterSchema","optional","constant","isArray","isStream","isAttribute","isMap","attributes","nullable","defaultValue","paramFormat","serverConfigurationSchema","defaultEnvironment","defaultServer","environments","testGenSettingsSchema","precisionDelta","testTimeout","configuration","apiEntitySchema","encryptedId","apiKey","apiGroupId","imageUri","creationDate","mPublic","version","additionalHeaders","authentication","codeGenSettings","testGenSettings","serverConfiguration","endpointsGroup","metaData","Platforms","exportFormatsSchema","importApiVersionViaUrlRequestSchema","versionOverride","importApiViaUrlRequestSchema","inplaceImportApiViaUrlRequestSchema","ApisManagementController","importAPIViaFile","importAPIViaURL","body","json","importNewAPIVersionViaFile","accept","version_override","importNewAPIVersionViaURL","inplaceAPIImportViaFile","inplaceAPIImportViaURL","fetchAPIEntity","downloadAPISpecification","format","callAsStream","platformsSchema","generateSdkViaUrlRequestSchema","template","userCodeGenerationSchema","generatedFile","generatedOn","hashCode","codeGenerationSource","codeGenVersion","userId","inputFile","CodeGenerationExternalApisController","generateSDKViaFile","generateSDKViaURL","downloadSDK","codegenId","listAllCodeGenerations","downloadInputFile","getACodeGeneration","deleteCodeGeneration1","aPIEntityCodeGenerationSchema","CodeGenerationImportedApisController","generateSDK","form","deleteCodeGeneration","Accept3","accept3Schema","DocsPortalManagementController","publishHostedPortal","publishEmbeddedPortal","generateOnPremPortalViaAPIEntity","generateOnPremPortalViaBuildInput","unpublishPortal","Id","idSchema","Link","PackageRepositories","linkSchema","cSNETSTANDARDLIBSchema","packageRepository","packageName","additionalDeploymentInformation","link","templatesPackageDeploymentInformationSchema","cSNETSTANDARDLIB","packageDeploymentInformationSchema","templatesPackageDeploymentInformation","authorIdentifiersSchema","email","userName","publishedPackageSchema","createdOn","authorIdentifiers","ImplementationType","packageRepositoriesSchema","publishPackageInputSchema","updateTemplatesPackageDeploymentInformationSchema","updatePackageDeploymentInformationSchema","PackageDeploymentController","updatePackageDeploymentInformation","packageDeploymentInformation","getPublishedPackagesForAPI","publishAPackageForAPI","getAPublishedPackage","publishedPackageId","transformationSchema","transformedOn","inputtedFile","exportFormat","transformationSource","transformationInput","importSummary","transformViaUrlRequestSchema","TransformationController","transformViaFile","export_format","transformViaURL","downloadTransformedFile","transformationId","listAllTransformations","getATransformation","deleteTransformation","ContentType"],"mappings":"02BAOA,IAAIA,EAAW,SAAUC,GAGvB,IAAIC,EAAKC,OAAOC,UACZC,EAASH,EAAGI,eAEZC,EAA4B,mBAAXC,OAAwBA,OAAS,GAClDC,EAAiBF,EAAQG,UAAY,aACrCC,EAAsBJ,EAAQK,eAAiB,kBAC/CC,EAAoBN,EAAQO,aAAe,gBAE/C,SAASC,EAAOC,EAAKC,EAAKC,GAOxB,OANAf,OAAOgB,eAAeH,EAAKC,EAAK,CAC9BC,MAAOA,EACPE,YAAY,EACZC,cAAc,EACdC,UAAU,IAELN,EAAIC,GAEb,IAEEF,EAAO,GAAI,IACX,MAAOQ,GACPR,EAAS,SAASC,EAAKC,EAAKC,GAC1B,OAAOF,EAAIC,GAAOC,GAItB,SAASM,EAAKC,EAASC,EAASC,EAAMC,GAEpC,IACIC,EAAY1B,OAAO2B,QADFJ,GAAWA,EAAQtB,qBAAqB2B,EAAYL,EAAUK,GACtC3B,WACzC4B,EAAU,IAAIC,EAAQL,GAAe,IAMzC,OAFAC,EAAUK,QAuMZ,SAA0BT,EAASE,EAAMK,GACvC,IAAIG,EAhLuB,iBAkL3B,OAAO,SAAgBC,EAAQC,GAC7B,GAjLoB,cAiLhBF,EACF,MAAM,IAAIG,MAAM,gCAGlB,GApLoB,cAoLhBH,EAA6B,CAC/B,GAAe,UAAXC,EACF,MAAMC,EAKR,MAoQG,CAAEnB,WA1fPqB,EA0fyBC,MAAM,GA9P/B,IAHAR,EAAQI,OAASA,EACjBJ,EAAQK,IAAMA,IAED,CACX,IAAII,EAAWT,EAAQS,SACvB,GAAIA,EAAU,CACZ,IAAIC,EAAiBC,EAAoBF,EAAUT,GACnD,GAAIU,EAAgB,CAClB,GAAIA,IAAmBE,EAAkB,SACzC,OAAOF,GAIX,GAAuB,SAAnBV,EAAQI,OAGVJ,EAAQa,KAAOb,EAAQc,MAAQd,EAAQ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Schema = /*#__PURE__*/object({ var testGenSettingsSchema = /*#__PURE__*/object({ precisionDelta: ['precisionDelta', /*#__PURE__*/number()], testTimeout: ['testTimeout', /*#__PURE__*/number()], - configuration: ['configuration', /*#__PURE__*/array( /*#__PURE__*/string())] + configuration: ['configuration', /*#__PURE__*/unknown()] }); /** @@ -1514,9 +1514,9 @@ var apiEntitySchema = /*#__PURE__*/object({ endpointsGroup: ['endpointsGroup', /*#__PURE__*/optional( /*#__PURE__*/array( /*#__PURE__*/lazy(function () { return endpointsGroupSchema; })))], - metaData: ['metaData', /*#__PURE__*/array( /*#__PURE__*/lazy(function () { + metaData: ['metaData', /*#__PURE__*/lazy(function () { return metaDataSchema; - }))] + })] }); /** diff --git a/dist/sdk.esm.js.map b/dist/sdk.esm.js.map index 9fe7fc2..09513e5 100644 --- a/dist/sdk.esm.js.map +++ b/dist/sdk.esm.js.map @@ -1 +1 @@ -{"version":3,"file":"sdk.esm.js","sources":["../node_modules/regenerator-runtime/runtime.js","../src/authentication.ts","../src/configuration.ts","../src/defaultConfiguration.ts","../src/http/xmlSerialization.ts","../src/client.ts","../src/models/apiValidationSummary.ts","../src/controllers/baseController.ts","../src/controllers/aPIValidationExternalApisController.ts","../src/models/docsValidationSummary.ts","../src/controllers/aPIValidationImportedApisController.ts","../src/models/accept.ts","../src/models/accept2.ts","../src/models/authentication.ts","../src/models/codeGenSettings.ts","../src/models/endpointsGroup.ts","../src/models/importValidationSummary.ts","../src/models/metaData.ts","../src/models/server.ts","../src/models/environment.ts","../src/models/attributes.ts","../src/models/parameter.ts","../src/models/serverConfiguration.ts","../src/models/testGenSettings.ts","../src/models/apiEntity.ts","../src/models/exportFormats.ts","../src/models/importApiVersionViaUrlRequest.ts","../src/models/importApiViaUrlRequest.ts","../src/models/inplaceImportApiViaUrlRequest.ts","../src/controllers/apisManagementController.ts","../src/models/platforms.ts","../src/models/generateSdkViaUrlRequest.ts","../src/models/userCodeGeneration.ts","../src/controllers/codeGenerationExternalApisController.ts","../src/models/aPIEntityCodeGeneration.ts","../src/controllers/codeGenerationImportedApisController.ts","../src/models/accept3.ts","../src/controllers/docsPortalManagementController.ts","../src/models/id.ts","../src/models/link.ts","../src/models/cSNETSTANDARDLIB.ts","../src/models/templatesPackageDeploymentInformation.ts","../src/models/packageDeploymentInformation.ts","../src/models/authorIdentifiers.ts","../src/models/publishedPackage.ts","../src/models/packageRepositories.ts","../src/models/publishPackageInput.ts","../src/models/updateTemplatesPackageDeploymentInformation.ts","../src/models/updatePackageDeploymentInformation.ts","../src/controllers/packageDeploymentController.ts","../src/models/transformation.ts","../src/models/transformViaUrlRequest.ts","../src/controllers/transformationController.ts","../src/models/contentType.ts","../src/models/implementationType.ts"],"sourcesContent":["/**\n * Copyright (c) 2014-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nvar runtime = (function (exports) {\n \"use strict\";\n\n var Op = Object.prototype;\n var hasOwn = Op.hasOwnProperty;\n var undefined; // More compressible than void 0.\n var $Symbol = typeof Symbol === \"function\" ? Symbol : {};\n var iteratorSymbol = $Symbol.iterator || \"@@iterator\";\n var asyncIteratorSymbol = $Symbol.asyncIterator || \"@@asyncIterator\";\n var toStringTagSymbol = $Symbol.toStringTag || \"@@toStringTag\";\n\n function define(obj, key, value) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n return obj[key];\n }\n try {\n // IE 8 has a broken Object.defineProperty that only works on DOM objects.\n define({}, \"\");\n } catch (err) {\n define = function(obj, key, value) {\n return obj[key] = value;\n };\n }\n\n function wrap(innerFn, outerFn, self, tryLocsList) {\n // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.\n var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;\n var generator = Object.create(protoGenerator.prototype);\n var context = new Context(tryLocsList || []);\n\n // The ._invoke method unifies the implementations of the .next,\n // .throw, and .return methods.\n generator._invoke = makeInvokeMethod(innerFn, self, context);\n\n return generator;\n }\n exports.wrap = wrap;\n\n // Try/catch helper to minimize deoptimizations. Returns a completion\n // record like context.tryEntries[i].completion. This interface could\n // have been (and was previously) designed to take a closure to be\n // invoked without arguments, but in all the cases we care about we\n // already have an existing method we want to call, so there's no need\n // to create a new function object. We can even get away with assuming\n // the method takes exactly one argument, since that happens to be true\n // in every case, so we don't have to touch the arguments object. The\n // only additional allocation required is the completion record, which\n // has a stable shape and so hopefully should be cheap to allocate.\n function tryCatch(fn, obj, arg) {\n try {\n return { type: \"normal\", arg: fn.call(obj, arg) };\n } catch (err) {\n return { type: \"throw\", arg: err };\n }\n }\n\n var GenStateSuspendedStart = \"suspendedStart\";\n var GenStateSuspendedYield = \"suspendedYield\";\n var GenStateExecuting = \"executing\";\n var GenStateCompleted = \"completed\";\n\n // Returning this object from the innerFn has the same effect as\n // breaking out of the dispatch switch statement.\n var ContinueSentinel = {};\n\n // Dummy constructor functions that we use as the .constructor and\n // .constructor.prototype properties for functions that return Generator\n // objects. For full spec compliance, you may wish to configure your\n // minifier not to mangle the names of these two functions.\n function Generator() {}\n function GeneratorFunction() {}\n function GeneratorFunctionPrototype() {}\n\n // This is a polyfill for %IteratorPrototype% for environments that\n // don't natively support it.\n var IteratorPrototype = {};\n define(IteratorPrototype, iteratorSymbol, function () {\n return this;\n });\n\n var getProto = Object.getPrototypeOf;\n var NativeIteratorPrototype = getProto && getProto(getProto(values([])));\n if (NativeIteratorPrototype &&\n NativeIteratorPrototype !== Op &&\n hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {\n // This environment has a native %IteratorPrototype%; use it instead\n // of the polyfill.\n IteratorPrototype = NativeIteratorPrototype;\n }\n\n var Gp = GeneratorFunctionPrototype.prototype =\n Generator.prototype = Object.create(IteratorPrototype);\n GeneratorFunction.prototype = GeneratorFunctionPrototype;\n define(Gp, \"constructor\", GeneratorFunctionPrototype);\n define(GeneratorFunctionPrototype, \"constructor\", GeneratorFunction);\n GeneratorFunction.displayName = define(\n GeneratorFunctionPrototype,\n toStringTagSymbol,\n \"GeneratorFunction\"\n );\n\n // Helper for defining the .next, .throw, and .return methods of the\n // Iterator interface in terms of a single ._invoke method.\n function defineIteratorMethods(prototype) {\n [\"next\", \"throw\", \"return\"].forEach(function(method) {\n define(prototype, method, function(arg) {\n return this._invoke(method, arg);\n });\n });\n }\n\n exports.isGeneratorFunction = function(genFun) {\n var ctor = typeof genFun === \"function\" && genFun.constructor;\n return ctor\n ? ctor === GeneratorFunction ||\n // For the native GeneratorFunction constructor, the best we can\n // do is to check its .name property.\n (ctor.displayName || ctor.name) === \"GeneratorFunction\"\n : false;\n };\n\n exports.mark = function(genFun) {\n if (Object.setPrototypeOf) {\n Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);\n } else {\n genFun.__proto__ = GeneratorFunctionPrototype;\n define(genFun, toStringTagSymbol, \"GeneratorFunction\");\n }\n genFun.prototype = Object.create(Gp);\n return genFun;\n };\n\n // Within the body of any async function, `await x` is transformed to\n // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test\n // `hasOwn.call(value, \"__await\")` to determine if the yielded value is\n // meant to be awaited.\n exports.awrap = function(arg) {\n return { __await: arg };\n };\n\n function AsyncIterator(generator, PromiseImpl) {\n function invoke(method, arg, resolve, reject) {\n var record = tryCatch(generator[method], generator, arg);\n if (record.type === \"throw\") {\n reject(record.arg);\n } else {\n var result = record.arg;\n var value = result.value;\n if (value &&\n typeof value === \"object\" &&\n hasOwn.call(value, \"__await\")) {\n return PromiseImpl.resolve(value.__await).then(function(value) {\n invoke(\"next\", value, resolve, reject);\n }, function(err) {\n invoke(\"throw\", err, resolve, reject);\n });\n }\n\n return PromiseImpl.resolve(value).then(function(unwrapped) {\n // When a yielded Promise is resolved, its final value becomes\n // the .value of the Promise<{value,done}> result for the\n // current iteration.\n result.value = unwrapped;\n resolve(result);\n }, function(error) {\n // If a rejected Promise was yielded, throw the rejection back\n // into the async generator function so it can be handled there.\n return invoke(\"throw\", error, resolve, reject);\n });\n }\n }\n\n var previousPromise;\n\n function enqueue(method, arg) {\n function callInvokeWithMethodAndArg() {\n return new PromiseImpl(function(resolve, reject) {\n invoke(method, arg, resolve, reject);\n });\n }\n\n return previousPromise =\n // If enqueue has been called before, then we want to wait until\n // all previous Promises have been resolved before calling invoke,\n // so that results are always delivered in the correct order. If\n // enqueue has not been called before, then it is important to\n // call invoke immediately, without waiting on a callback to fire,\n // so that the async generator function has the opportunity to do\n // any necessary setup in a predictable way. This predictability\n // is why the Promise constructor synchronously invokes its\n // executor callback, and why async functions synchronously\n // execute code before the first await. Since we implement simple\n // async functions in terms of async generators, it is especially\n // important to get this right, even though it requires care.\n previousPromise ? previousPromise.then(\n callInvokeWithMethodAndArg,\n // Avoid propagating failures to Promises returned by later\n // invocations of the iterator.\n callInvokeWithMethodAndArg\n ) : callInvokeWithMethodAndArg();\n }\n\n // Define the unified helper method that is used to implement .next,\n // .throw, and .return (see defineIteratorMethods).\n this._invoke = enqueue;\n }\n\n defineIteratorMethods(AsyncIterator.prototype);\n define(AsyncIterator.prototype, asyncIteratorSymbol, function () {\n return this;\n });\n exports.AsyncIterator = AsyncIterator;\n\n // Note that simple async functions are implemented on top of\n // AsyncIterator objects; they just return a Promise for the value of\n // the final result produced by the iterator.\n exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) {\n if (PromiseImpl === void 0) PromiseImpl = Promise;\n\n var iter = new AsyncIterator(\n wrap(innerFn, outerFn, self, tryLocsList),\n PromiseImpl\n );\n\n return exports.isGeneratorFunction(outerFn)\n ? iter // If outerFn is a generator, return the full iterator.\n : iter.next().then(function(result) {\n return result.done ? result.value : iter.next();\n });\n };\n\n function makeInvokeMethod(innerFn, self, context) {\n var state = GenStateSuspendedStart;\n\n return function invoke(method, arg) {\n if (state === GenStateExecuting) {\n throw new Error(\"Generator is already running\");\n }\n\n if (state === GenStateCompleted) {\n if (method === \"throw\") {\n throw arg;\n }\n\n // Be forgiving, per 25.3.3.3.3 of the spec:\n // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume\n return doneResult();\n }\n\n context.method = method;\n context.arg = arg;\n\n while (true) {\n var delegate = context.delegate;\n if (delegate) {\n var delegateResult = maybeInvokeDelegate(delegate, context);\n if (delegateResult) {\n if (delegateResult === ContinueSentinel) continue;\n return delegateResult;\n }\n }\n\n if (context.method === \"next\") {\n // Setting context._sent for legacy support of Babel's\n // function.sent implementation.\n context.sent = context._sent = context.arg;\n\n } else if (context.method === \"throw\") {\n if (state === GenStateSuspendedStart) {\n state = GenStateCompleted;\n throw context.arg;\n }\n\n context.dispatchException(context.arg);\n\n } else if (context.method === \"return\") {\n context.abrupt(\"return\", context.arg);\n }\n\n state = GenStateExecuting;\n\n var record = tryCatch(innerFn, self, context);\n if (record.type === \"normal\") {\n // If an exception is thrown from innerFn, we leave state ===\n // GenStateExecuting and loop back for another invocation.\n state = context.done\n ? GenStateCompleted\n : GenStateSuspendedYield;\n\n if (record.arg === ContinueSentinel) {\n continue;\n }\n\n return {\n value: record.arg,\n done: context.done\n };\n\n } else if (record.type === \"throw\") {\n state = GenStateCompleted;\n // Dispatch the exception by looping back around to the\n // context.dispatchException(context.arg) call above.\n context.method = \"throw\";\n context.arg = record.arg;\n }\n }\n };\n }\n\n // Call delegate.iterator[context.method](context.arg) and handle the\n // result, either by returning a { value, done } result from the\n // delegate iterator, or by modifying context.method and context.arg,\n // setting context.delegate to null, and returning the ContinueSentinel.\n function maybeInvokeDelegate(delegate, context) {\n var method = delegate.iterator[context.method];\n if (method === undefined) {\n // A .throw or .return when the delegate iterator has no .throw\n // method always terminates the yield* loop.\n context.delegate = null;\n\n if (context.method === \"throw\") {\n // Note: [\"return\"] must be used for ES3 parsing compatibility.\n if (delegate.iterator[\"return\"]) {\n // If the delegate iterator has a return method, give it a\n // chance to clean up.\n context.method = \"return\";\n context.arg = undefined;\n maybeInvokeDelegate(delegate, context);\n\n if (context.method === \"throw\") {\n // If maybeInvokeDelegate(context) changed context.method from\n // \"return\" to \"throw\", let that override the TypeError below.\n return ContinueSentinel;\n }\n }\n\n context.method = \"throw\";\n context.arg = new TypeError(\n \"The iterator does not provide a 'throw' method\");\n }\n\n return ContinueSentinel;\n }\n\n var record = tryCatch(method, delegate.iterator, context.arg);\n\n if (record.type === \"throw\") {\n context.method = \"throw\";\n context.arg = record.arg;\n context.delegate = null;\n return ContinueSentinel;\n }\n\n var info = record.arg;\n\n if (! info) {\n context.method = \"throw\";\n context.arg = new TypeError(\"iterator result is not an object\");\n context.delegate = null;\n return ContinueSentinel;\n }\n\n if (info.done) {\n // Assign the result of the finished delegate to the temporary\n // variable specified by delegate.resultName (see delegateYield).\n context[delegate.resultName] = info.value;\n\n // Resume execution at the desired location (see delegateYield).\n context.next = delegate.nextLoc;\n\n // If context.method was \"throw\" but the delegate handled the\n // exception, let the outer generator proceed normally. If\n // context.method was \"next\", forget context.arg since it has been\n // \"consumed\" by the delegate iterator. If context.method was\n // \"return\", allow the original .return call to continue in the\n // outer generator.\n if (context.method !== \"return\") {\n context.method = \"next\";\n context.arg = undefined;\n }\n\n } else {\n // Re-yield the result returned by the delegate method.\n return info;\n }\n\n // The delegate iterator is finished, so forget it and continue with\n // the outer generator.\n context.delegate = null;\n return ContinueSentinel;\n }\n\n // Define Generator.prototype.{next,throw,return} in terms of the\n // unified ._invoke helper method.\n defineIteratorMethods(Gp);\n\n define(Gp, toStringTagSymbol, \"Generator\");\n\n // A Generator should always return itself as the iterator object when the\n // @@iterator function is called on it. Some browsers' implementations of the\n // iterator prototype chain incorrectly implement this, causing the Generator\n // object to not be returned from this call. This ensures that doesn't happen.\n // See https://github.com/facebook/regenerator/issues/274 for more details.\n define(Gp, iteratorSymbol, function() {\n return this;\n });\n\n define(Gp, \"toString\", function() {\n return \"[object Generator]\";\n });\n\n function pushTryEntry(locs) {\n var entry = { tryLoc: locs[0] };\n\n if (1 in locs) {\n entry.catchLoc = locs[1];\n }\n\n if (2 in locs) {\n entry.finallyLoc = locs[2];\n entry.afterLoc = locs[3];\n }\n\n this.tryEntries.push(entry);\n }\n\n function resetTryEntry(entry) {\n var record = entry.completion || {};\n record.type = \"normal\";\n delete record.arg;\n entry.completion = record;\n }\n\n function Context(tryLocsList) {\n // The root entry object (effectively a try statement without a catch\n // or a finally block) gives us a place to store values thrown from\n // locations where there is no enclosing try statement.\n this.tryEntries = [{ tryLoc: \"root\" }];\n tryLocsList.forEach(pushTryEntry, this);\n this.reset(true);\n }\n\n exports.keys = function(object) {\n var keys = [];\n for (var key in object) {\n keys.push(key);\n }\n keys.reverse();\n\n // Rather than returning an object with a next method, we keep\n // things simple and return the next function itself.\n return function next() {\n while (keys.length) {\n var key = keys.pop();\n if (key in object) {\n next.value = key;\n next.done = false;\n return next;\n }\n }\n\n // To avoid creating an additional object, we just hang the .value\n // and .done properties off the next function object itself. This\n // also ensures that the minifier will not anonymize the function.\n next.done = true;\n return next;\n };\n };\n\n function values(iterable) {\n if (iterable) {\n var iteratorMethod = iterable[iteratorSymbol];\n if (iteratorMethod) {\n return iteratorMethod.call(iterable);\n }\n\n if (typeof iterable.next === \"function\") {\n return iterable;\n }\n\n if (!isNaN(iterable.length)) {\n var i = -1, next = function next() {\n while (++i < iterable.length) {\n if (hasOwn.call(iterable, i)) {\n next.value = iterable[i];\n next.done = false;\n return next;\n }\n }\n\n next.value = undefined;\n next.done = true;\n\n return next;\n };\n\n return next.next = next;\n }\n }\n\n // Return an iterator with no values.\n return { next: doneResult };\n }\n exports.values = values;\n\n function doneResult() {\n return { value: undefined, done: true };\n }\n\n Context.prototype = {\n constructor: Context,\n\n reset: function(skipTempReset) {\n this.prev = 0;\n this.next = 0;\n // Resetting context._sent for legacy support of Babel's\n // function.sent implementation.\n this.sent = this._sent = undefined;\n this.done = false;\n this.delegate = null;\n\n this.method = \"next\";\n this.arg = undefined;\n\n this.tryEntries.forEach(resetTryEntry);\n\n if (!skipTempReset) {\n for (var name in this) {\n // Not sure about the optimal order of these conditions:\n if (name.charAt(0) === \"t\" &&\n hasOwn.call(this, name) &&\n !isNaN(+name.slice(1))) {\n this[name] = undefined;\n }\n }\n }\n },\n\n stop: function() {\n this.done = true;\n\n var rootEntry = this.tryEntries[0];\n var rootRecord = rootEntry.completion;\n if (rootRecord.type === \"throw\") {\n throw rootRecord.arg;\n }\n\n return this.rval;\n },\n\n dispatchException: function(exception) {\n if (this.done) {\n throw exception;\n }\n\n var context = this;\n function handle(loc, caught) {\n record.type = \"throw\";\n record.arg = exception;\n context.next = loc;\n\n if (caught) {\n // If the dispatched exception was caught by a catch block,\n // then let that catch block handle the exception normally.\n context.method = \"next\";\n context.arg = undefined;\n }\n\n return !! caught;\n }\n\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n var record = entry.completion;\n\n if (entry.tryLoc === \"root\") {\n // Exception thrown outside of any try block that could handle\n // it, so set the completion value of the entire function to\n // throw the exception.\n return handle(\"end\");\n }\n\n if (entry.tryLoc <= this.prev) {\n var hasCatch = hasOwn.call(entry, \"catchLoc\");\n var hasFinally = hasOwn.call(entry, \"finallyLoc\");\n\n if (hasCatch && hasFinally) {\n if (this.prev < entry.catchLoc) {\n return handle(entry.catchLoc, true);\n } else if (this.prev < entry.finallyLoc) {\n return handle(entry.finallyLoc);\n }\n\n } else if (hasCatch) {\n if (this.prev < entry.catchLoc) {\n return handle(entry.catchLoc, true);\n }\n\n } else if (hasFinally) {\n if (this.prev < entry.finallyLoc) {\n return handle(entry.finallyLoc);\n }\n\n } else {\n throw new Error(\"try statement without catch or finally\");\n }\n }\n }\n },\n\n abrupt: function(type, arg) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc <= this.prev &&\n hasOwn.call(entry, \"finallyLoc\") &&\n this.prev < entry.finallyLoc) {\n var finallyEntry = entry;\n break;\n }\n }\n\n if (finallyEntry &&\n (type === \"break\" ||\n type === \"continue\") &&\n finallyEntry.tryLoc <= arg &&\n arg <= finallyEntry.finallyLoc) {\n // Ignore the finally entry if control is not jumping to a\n // location outside the try/catch block.\n finallyEntry = null;\n }\n\n var record = finallyEntry ? finallyEntry.completion : {};\n record.type = type;\n record.arg = arg;\n\n if (finallyEntry) {\n this.method = \"next\";\n this.next = finallyEntry.finallyLoc;\n return ContinueSentinel;\n }\n\n return this.complete(record);\n },\n\n complete: function(record, afterLoc) {\n if (record.type === \"throw\") {\n throw record.arg;\n }\n\n if (record.type === \"break\" ||\n record.type === \"continue\") {\n this.next = record.arg;\n } else if (record.type === \"return\") {\n this.rval = this.arg = record.arg;\n this.method = \"return\";\n this.next = \"end\";\n } else if (record.type === \"normal\" && afterLoc) {\n this.next = afterLoc;\n }\n\n return ContinueSentinel;\n },\n\n finish: function(finallyLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.finallyLoc === finallyLoc) {\n this.complete(entry.completion, entry.afterLoc);\n resetTryEntry(entry);\n return ContinueSentinel;\n }\n }\n },\n\n \"catch\": function(tryLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc === tryLoc) {\n var record = entry.completion;\n if (record.type === \"throw\") {\n var thrown = record.arg;\n resetTryEntry(entry);\n }\n return thrown;\n }\n }\n\n // The context.catch method must only be called with a location\n // argument that corresponds to a known catch block.\n throw new Error(\"illegal catch attempt\");\n },\n\n delegateYield: function(iterable, resultName, nextLoc) {\n this.delegate = {\n iterator: values(iterable),\n resultName: resultName,\n nextLoc: nextLoc\n };\n\n if (this.method === \"next\") {\n // Deliberately forget the last sent value so that we don't\n // accidentally pass it on to the delegate.\n this.arg = undefined;\n }\n\n return ContinueSentinel;\n }\n };\n\n // Regardless of whether this script is executing as a CommonJS module\n // or not, return the runtime object so that we can declare the variable\n // regeneratorRuntime in the outer scope, which allows this module to be\n // injected easily by `bin/regenerator --include-runtime script.js`.\n return exports;\n\n}(\n // If this script is executing as a CommonJS module, use module.exports\n // as the regeneratorRuntime namespace. Otherwise create a new empty\n // object. Either way, the resulting object will be used to initialize\n // the regeneratorRuntime variable at the top of this file.\n typeof module === \"object\" ? module.exports : {}\n));\n\ntry {\n regeneratorRuntime = runtime;\n} catch (accidentalStrictMode) {\n // This module should not be running in strict mode, so the above\n // assignment should always work unless something is misconfigured. Just\n // in case runtime.js accidentally runs in strict mode, in modern engines\n // we can explicitly access globalThis. In older engines we can escape\n // strict mode using a global Function call. This could conceivably fail\n // if a Content Security Policy forbids using Function, but in that case\n // the proper solution is to fix the accidental strict mode problem. If\n // you've misconfigured your bundler to force strict mode and applied a\n // CSP to forbid Function, and you're not willing to fix either of those\n // problems, please detail your unique predicament in a GitHub issue.\n if (typeof globalThis === \"object\") {\n globalThis.regeneratorRuntime = runtime;\n } else {\n Function(\"r\", \"regeneratorRuntime = r\")(runtime);\n }\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { mergeHeaders } from './core';\nimport { passThroughInterceptor } from './core';\nimport { AuthenticatorInterface } from './core';\n\n/** None authentication provider */\nexport const noneAuthenticationProvider = () => passThroughInterceptor;\n\nexport const customHeaderAuthenticationProvider = ({\n authorization,\n}: {\n authorization: string;\n}): AuthenticatorInterface => {\n return (requiresAuth?: boolean) => {\n if (!requiresAuth) {\n return passThroughInterceptor;\n }\n\n return (request, options, next) => {\n const customHeaderParams = {\n 'Authorization': authorization,\n };\n mergeHeaders(request.headers ?? {}, customHeaderParams);\n\n return next(request, options);\n };\n };\n};\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\n/** An interface for all configuration parameters required by the SDK. */\nexport interface Configuration {\n timeout: number;\n environment: Environment;\n authorization: string;\n unstable_httpClientOptions?: any;\n}\n\n/** Environments available for API */\nexport enum Environment {\n Production = 'production',\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { Configuration, Environment } from './configuration';\n\n/** Default values for the configuration parameters of the client. */\nexport const DEFAULT_CONFIGURATION: Configuration = {\n timeout: 0,\n environment: Environment.Production,\n authorization: 'TODO Authorization value',\n};\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nexport class XmlSerialization {\n public xmlSerialize(_rootName: string, _value: unknown): string {\n throw new Error('XML serialization is not available.');\n }\n\n public xmlDeserialize(\n _rootName: string,\n _xmlString: string\n ): Promise {\n throw new Error('XML deserialization is not available.');\n }\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { customHeaderAuthenticationProvider } from './authentication';\nimport {\n AuthParams,\n ClientInterface,\n SdkRequestBuilder,\n SdkRequestBuilderFactory,\n Server,\n} from './clientInterface';\nimport { Configuration, Environment } from './configuration';\nimport { DEFAULT_CONFIGURATION } from './defaultConfiguration';\nimport { ApiError } from './core';\nimport {\n AuthenticatorInterface,\n createRequestBuilderFactory,\n HttpClient,\n HttpClientInterface,\n XmlSerializerInterface,\n} from './core';\nimport { XmlSerialization } from './http/xmlSerialization';\n\nconst USER_AGENT = 'APIMATIC 3.0';\n\nexport class Client implements ClientInterface {\n private _config: Readonly;\n private _requestBuilderFactory: SdkRequestBuilderFactory;\n\n constructor(config?: Partial) {\n this._config = {\n ...DEFAULT_CONFIGURATION,\n ...config,\n };\n this._requestBuilderFactory = createRequestHandlerFactory(\n server => getBaseUri(server, this._config),\n customHeaderAuthenticationProvider(this._config),\n new HttpClient({\n timeout: this._config.timeout,\n clientConfigOverrides: this._config.unstable_httpClientOptions,\n }),\n [\n withErrorHandlers,\n withUserAgent,\n withAuthenticationByDefault,\n ],\n new XmlSerialization()\n );\n }\n\n public getRequestBuilderFactory(): SdkRequestBuilderFactory {\n return this._requestBuilderFactory;\n }\n\n /**\n * Clone this client and override given configuration options\n */\n public withConfiguration(config: Partial) {\n return new Client({ ...this._config, ...config });\n }\n}\n\nfunction createHttpClientAdapter(client: HttpClient): HttpClientInterface {\n return async (request, requestOptions) => {\n return await client.executeRequest(request, requestOptions);\n };\n}\n\nfunction getBaseUri(server: Server = 'default', config: Configuration): string {\n if (config.environment === Environment.Production) {\n if (server === 'default') {\n return 'https://apimaticio-test.azurewebsites.net/api';\n }\n }\n throw new Error('Could not get Base URL. Invalid environment or server.');\n}\n\nfunction createRequestHandlerFactory(\n baseUrlProvider: (server?: Server) => string,\n authProvider: AuthenticatorInterface,\n httpClient: HttpClient,\n addons: ((rb: SdkRequestBuilder) => void)[],\n xmlSerializer: XmlSerializerInterface\n): SdkRequestBuilderFactory {\n const requestBuilderFactory = createRequestBuilderFactory(\n createHttpClientAdapter(httpClient),\n baseUrlProvider,\n ApiError,\n authProvider,\n xmlSerializer\n );\n\n return tap(requestBuilderFactory, ...addons);\n}\n\nfunction tap(\n requestBuilderFactory: SdkRequestBuilderFactory,\n ...callback: ((requestBuilder: SdkRequestBuilder) => void)[]\n): SdkRequestBuilderFactory {\n return (...args) => {\n const requestBuilder = requestBuilderFactory(...args);\n callback.forEach(c => c(requestBuilder));\n return requestBuilder;\n };\n}\n\nfunction withErrorHandlers(rb: SdkRequestBuilder) {\n rb.defaultToError(ApiError);\n}\n\nfunction withUserAgent(rb: SdkRequestBuilder) {\n rb.header('user-agent', USER_AGENT);\n}\n\nfunction withAuthenticationByDefault(rb: SdkRequestBuilder) {\n rb.authenticate(true);\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { array, boolean, object, Schema, string } from '../schema';\n\nexport interface ApiValidationSummary {\n success: boolean;\n errors: string[];\n warnings: string[];\n messages: string[];\n}\n\nexport const apiValidationSummarySchema: Schema = object({\n success: ['success', boolean()],\n errors: ['errors', array(string())],\n warnings: ['warnings', array(string())],\n messages: ['messages', array(string())],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { ClientInterface, SdkRequestBuilderFactory } from '../clientInterface';\n\n/** Base class for all controllers */\nexport class BaseController {\n /** Create a request builder */\n protected createRequest: SdkRequestBuilderFactory;\n\n constructor(client: ClientInterface) {\n this.createRequest = client.getRequestBuilderFactory();\n }\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { ApiResponse, FileWrapper, RequestOptions } from '../core';\nimport {\n ApiValidationSummary,\n apiValidationSummarySchema,\n} from '../models/apiValidationSummary';\nimport { string } from '../schema';\nimport { BaseController } from './baseController';\n\nexport class APIValidationExternalApisController extends BaseController {\n /**\n * Validate an API by uploading the API specification file.\n *\n * You can also specify [API Metadata](https://docs.apimatic.io/manage-apis/apimatic-metadata) while\n * validating the API using this endpoint. When specifying Metadata, the uploaded file will be a zip\n * file containing the API specification file and the `APIMATIC-META` json file.\n *\n * @param file The API specification file.
The type of the specification file should be any\n * of the [supported formats](https://docs.apimatic.io/api-transformer/overview-\n * transformer#supported-input-formats).\n * @return Response from the API call\n */\n async validateAPIViaFile(\n file: FileWrapper,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('POST', '/validation/validate-via-file');\n req.baseUrl('default');\n req.header('ContentType', 'multipart/form-data');\n req.formData({\n file: file,\n });\n return req.callAsJson(apiValidationSummarySchema, requestOptions);\n }\n\n /**\n * Validate an API by providing the URL of the API specification file.\n *\n * You can also specify [API Metadata](https://docs.apimatic.io/manage-apis/apimatic-metadata) while\n * validating the API using this endpoint. When specifying Metadata, the URL provided will be that of a\n * zip file containing the API specification file and the `APIMATIC-META` json file.\n *\n * @param descriptionUrl The URL for the API specification file.

**Note:** This URL should be\n * publicly accessible.\n * @return Response from the API call\n */\n async validateAPIViaURL(\n descriptionUrl: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET', '/validation/validate-via-url');\n req.baseUrl('default');\n const mapped = req.prepareArgs({\n descriptionUrl: [descriptionUrl, string()],\n });\n req.query('descriptionUrl', mapped.descriptionUrl);\n return req.callAsJson(apiValidationSummarySchema, requestOptions);\n }\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { array, boolean, object, Schema, string } from '../schema';\n\nexport interface DocsValidationSummary {\n success: boolean;\n errors: string[];\n warnings: string[];\n messages: string[];\n}\n\nexport const docsValidationSummarySchema: Schema = object(\n {\n success: ['success', boolean()],\n errors: ['errors', array(string())],\n warnings: ['warnings', array(string())],\n messages: ['messages', array(string())],\n }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { ApiResponse, RequestOptions } from '../core';\nimport {\n ApiValidationSummary,\n apiValidationSummarySchema,\n} from '../models/apiValidationSummary';\nimport {\n DocsValidationSummary,\n docsValidationSummarySchema,\n} from '../models/docsValidationSummary';\nimport { string } from '../schema';\nimport { BaseController } from './baseController';\n\nexport class APIValidationImportedApisController extends BaseController {\n /**\n * Validate an API using the [APIMatic Validator](https://docs.apimatic.io/generate-sdks/overview-\n * sdks#step-2-api-validation).\n *\n * @param apiEntityId The ID of the API Entity to perform validation for.\n * @return Response from the API call\n */\n async validateAPI(\n apiEntityId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n req.baseUrl('default');\n const mapped = req.prepareArgs({ apiEntityId: [apiEntityId, string()] });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/api-validation-summary`;\n return req.callAsJson(apiValidationSummarySchema, requestOptions);\n }\n\n /**\n * Validate an API for documentation generation. This process validates the API for missing examples or\n * missing descriptions.\n *\n * @param apiEntityId The ID of the API Entity to perform validation for.\n * @return Response from the API call\n */\n async validateAPIForDocs(\n apiEntityId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n req.baseUrl('default');\n const mapped = req.prepareArgs({ apiEntityId: [apiEntityId, string()] });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/docs-validation-summary`;\n return req.callAsJson(docsValidationSummarySchema, requestOptions);\n }\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { Schema, stringEnum } from '../schema';\n\n/**\n * Enum for Accept\n */\nexport enum Accept {\n EnumApplicationjson = 'application/json',\n}\n\n/**\n * Schema for Accept\n */\nexport const acceptSchema: Schema = stringEnum(Accept);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { Schema, stringEnum } from '../schema';\n\n/**\n * Enum for Accept2\n */\nexport enum Accept2 {\n EnumApplicationvndapimaticapiEntityfullv1json = 'application/vnd.apimatic.apiEntity.full.v1+json',\n}\n\n/**\n * Schema for Accept2\n */\nexport const accept2Schema: Schema = stringEnum(Accept2);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { array, object, Schema, string, unknown } from '../schema';\n\n/** This Structure encapsulates all details of API authentication. */\nexport interface Authentication {\n /** Auth Id */\n id: string;\n /** Auth Type */\n authType: string;\n /** Scope */\n scopes: string[];\n /** Auth Params */\n parameters: string[];\n /** Auth Scopes */\n authScopes: string[];\n /** Auth Grant Types */\n authGrantTypes: string[];\n /** Paramater Formats */\n paramFormats?: unknown;\n}\n\nexport const authenticationSchema: Schema = object({\n id: ['id', string()],\n authType: ['authType', string()],\n scopes: ['scopes', array(string())],\n parameters: ['parameters', array(string())],\n authScopes: ['authScopes', array(string())],\n authGrantTypes: ['authGrantTypes', array(string())],\n paramFormats: ['paramFormats', unknown()],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { array, boolean, number, object, Schema, string } from '../schema';\n\n/** APIMatic’s code generation engine has various code generation configurations to customise the behaviour and outlook across the generated SDKS. This structure encapsulates all settings for CodeGeneration. */\nexport interface CodeGenSettings {\n /** Generate asynchronous code for API Calls and deserialization */\n isAsync: boolean;\n /** Use HTTP Method prefixes for endpoint wrappers */\n useHttpMethodPrefix: boolean;\n /** Use \"Model\" postfixes for generated class names */\n useModelPrefix: boolean;\n /** Use \"Enum\" postfixes for enumerated types */\n useEnumPrefix: boolean;\n useConstructorsForConfig: boolean;\n /** Use common SDK library to reduce code duplication */\n useCommonSdkLibrary: boolean;\n /** Generates interfaces for controller classes in the generated SDKs */\n generateInterfaces: boolean;\n /** Generate Appveyor configuration file */\n generateAppveyorConfig: boolean;\n /** Generate CircleCI configuration file */\n generateCircleConfig: boolean;\n /** Generate Jenkins configuration file */\n generateJenkinsConfig: boolean;\n /** Generate Travis CI configuration file */\n generateTravisConfig: boolean;\n /** Use \"AndroidManifest.xml\" for config variables in Android */\n androidUseAppManifest: boolean;\n /** Use \"App-Info.plist\" file for config variables in iOS */\n iosUseAppInfoPlist: boolean;\n /** Generate \"CoreData\" schema and entity classes in iOS? */\n iosGenerateCoreData: boolean;\n /** Enable runscope */\n runscopeEnabled: boolean;\n /** Collect Parameters as arrays */\n collapseParamsToArray: boolean;\n /** Attempts to preserve parameter order for endpoints */\n preserveParameterOrder: boolean;\n /** Append JSON/XML accept and content-type headers */\n appendContentHeaders: boolean;\n modelSerializationIsJSON: boolean;\n /** Return a null value on HTTP 404 */\n nullify404: boolean;\n /** Validate required parameters to be Not Null */\n validateRequiredParameters: boolean;\n /** Allow models to have additional runtime properties */\n enableAdditionalModelProperties: boolean;\n javaUsePropertiesConfig: boolean;\n /** Use \"Controller\" postfixes for generated controller classes */\n useControllerPrefix: boolean;\n /** Use Exception Prefixes */\n useExceptionPrefix: boolean;\n /** Parameter Array format with index or without */\n parameterArrayFormat: string;\n /** Configure the HTTP client for Objective C */\n objCHttpClient: string;\n /** Configure the HTTP client for C# */\n cSharpHttpClient: string;\n /** Configure the HTTP client for Android */\n androidHttpClient: string;\n /** Configure the HTTP client for node */\n nodeHttpClient: string;\n /** Configure the HTTP client for PHP */\n phpHttpClient: string;\n bodySerialization: number;\n /** Specify type of array serialisation */\n arraySerialization: string;\n /** This option specifies the duration (in seconds) after which requests would timeout */\n timeout: number;\n /** Enabling this generates code in the SDKs for logging events in the API cycle using a library. */\n enableLogging: boolean;\n /** Enabling caching of responses (not available in all languages) */\n enableHttpCache: boolean;\n /** Specify number of retries */\n retries: number;\n /** Specify retry interval in case of failures */\n retryInterval: number;\n /** Generate advanced read me files */\n generateAdvancedDocs: boolean;\n /** Store Timezone information for the generation */\n storeTimezoneInformation: boolean;\n /** Use \"Controller\" postfixes for generated controller classes */\n enablePhpComposerVersionString: boolean;\n /** Specify Security Protocols */\n securityProtocols: string[];\n /** Use underscores before and after numbers for underscore case */\n underscoreNumbers: boolean;\n /** Allow usage of a Singleton Pattern */\n useSingletonPattern: boolean;\n /** Files/dependencies used for linting are not generated if this option is enabled */\n disableLinting: boolean;\n /** Create a configuration option in SDKs to optionally skip certificate verification when establishing HTTPS connections. */\n allowSkippingSSLCertVerification: boolean;\n /** Apply Customisations */\n applyCustomizations: string[];\n /** Enabling this will stop splitting of words when converting identifiers from API specification to language-specific identifiers. */\n doNotSplitWords: string[];\n /** Sorts resources such as endpoints, endpoint groups and models in generated documentation */\n sortResources: boolean;\n /** Enable a global user agent */\n enableGlobalUserAgent: boolean;\n}\n\nexport const codeGenSettingsSchema: Schema = object({\n isAsync: ['isAsync', boolean()],\n useHttpMethodPrefix: ['useHttpMethodPrefix', boolean()],\n useModelPrefix: ['useModelPrefix', boolean()],\n useEnumPrefix: ['useEnumPrefix', boolean()],\n useConstructorsForConfig: ['useConstructorsForConfig', boolean()],\n useCommonSdkLibrary: ['useCommonSdkLibrary', boolean()],\n generateInterfaces: ['generateInterfaces', boolean()],\n generateAppveyorConfig: ['generateAppveyorConfig', boolean()],\n generateCircleConfig: ['generateCircleConfig', boolean()],\n generateJenkinsConfig: ['generateJenkinsConfig', boolean()],\n generateTravisConfig: ['generateTravisConfig', boolean()],\n androidUseAppManifest: ['androidUseAppManifest', boolean()],\n iosUseAppInfoPlist: ['iosUseAppInfoPlist', boolean()],\n iosGenerateCoreData: ['iosGenerateCoreData', boolean()],\n runscopeEnabled: ['runscopeEnabled', boolean()],\n collapseParamsToArray: ['collapseParamsToArray', boolean()],\n preserveParameterOrder: ['preserveParameterOrder', boolean()],\n appendContentHeaders: ['appendContentHeaders', boolean()],\n modelSerializationIsJSON: ['modelSerializationIsJSON', boolean()],\n nullify404: ['nullify404', boolean()],\n validateRequiredParameters: ['validateRequiredParameters', boolean()],\n enableAdditionalModelProperties: [\n 'enableAdditionalModelProperties',\n boolean(),\n ],\n javaUsePropertiesConfig: ['javaUsePropertiesConfig', boolean()],\n useControllerPrefix: ['useControllerPrefix', boolean()],\n useExceptionPrefix: ['useExceptionPrefix', boolean()],\n parameterArrayFormat: ['parameterArrayFormat', string()],\n objCHttpClient: ['objCHttpClient', string()],\n cSharpHttpClient: ['cSharpHttpClient', string()],\n androidHttpClient: ['androidHttpClient', string()],\n nodeHttpClient: ['nodeHttpClient', string()],\n phpHttpClient: ['phpHttpClient', string()],\n bodySerialization: ['bodySerialization', number()],\n arraySerialization: ['arraySerialization', string()],\n timeout: ['timeout', number()],\n enableLogging: ['enableLogging', boolean()],\n enableHttpCache: ['enableHttpCache', boolean()],\n retries: ['retries', number()],\n retryInterval: ['retryInterval', number()],\n generateAdvancedDocs: ['generateAdvancedDocs', boolean()],\n storeTimezoneInformation: ['storeTimezoneInformation', boolean()],\n enablePhpComposerVersionString: ['enablePhpComposerVersionString', boolean()],\n securityProtocols: ['securityProtocols', array(string())],\n underscoreNumbers: ['underscoreNumbers', boolean()],\n useSingletonPattern: ['useSingletonPattern', boolean()],\n disableLinting: ['disableLinting', boolean()],\n allowSkippingSSLCertVerification: [\n 'allowSkippingSSLCertVerification',\n boolean(),\n ],\n applyCustomizations: ['applyCustomizations', array(string())],\n doNotSplitWords: ['doNotSplitWords', array(string())],\n sortResources: ['sortResources', boolean()],\n enableGlobalUserAgent: ['enableGlobalUserAgent', boolean()],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { object, Schema, string } from '../schema';\n\n/** This structure encapsulates all the attributes of an API Endpoints Group. */\nexport interface EndpointsGroup {\n name: string;\n description: string;\n}\n\nexport const endpointsGroupSchema: Schema = object({\n name: ['name', string()],\n description: ['description', string()],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { array, boolean, object, Schema, string } from '../schema';\n\nexport interface ImportValidationSummary {\n success: boolean;\n errors: string[];\n warnings: string[];\n messages: string[];\n}\n\nexport const importValidationSummarySchema: Schema = object(\n {\n success: ['success', boolean()],\n errors: ['errors', array(string())],\n warnings: ['warnings', array(string())],\n messages: ['messages', array(string())],\n }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { lazy, object, Schema } from '../schema';\nimport {\n ApiValidationSummary,\n apiValidationSummarySchema,\n} from './apiValidationSummary';\nimport {\n DocsValidationSummary,\n docsValidationSummarySchema,\n} from './docsValidationSummary';\nimport {\n ImportValidationSummary,\n importValidationSummarySchema,\n} from './importValidationSummary';\n\nexport interface MetaData {\n importValidationSummary: ImportValidationSummary;\n apiValidationSummary: ApiValidationSummary;\n docsValidationSummary: DocsValidationSummary;\n}\n\nexport const metaDataSchema: Schema = object({\n importValidationSummary: [\n 'importValidationSummary',\n lazy(() => importValidationSummarySchema),\n ],\n apiValidationSummary: [\n 'apiValidationSummary',\n lazy(() => apiValidationSummarySchema),\n ],\n docsValidationSummary: [\n 'docsValidationSummary',\n lazy(() => docsValidationSummarySchema),\n ],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { object, Schema, string } from '../schema';\n\n/** The user can specify multiple servers within an environment. A server comprises of a name and a URL. The names of the hosts remain consistent over different environments but their values may vary. The URL values can contain any number of parameters defined. */\nexport interface Server {\n /** Unique Server identifier */\n id: string;\n /** Server Name */\n name: string;\n /** Server URL */\n url: string;\n}\n\nexport const serverSchema: Schema = object({\n id: ['id', string()],\n name: ['name', string()],\n url: ['url', string()],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { array, lazy, object, Schema, string } from '../schema';\nimport { Server, serverSchema } from './server';\n\n/** An environment consists of a set of servers with base URL values. The environment can be changed programatically allowing rapid switching between different environments. For example the user can specify a Production and Testing Environment and switch between them in the generated SDK. */\nexport interface Environment {\n /** Unique Environment Identifier */\n id: string;\n /** Environment Name */\n name: string;\n /** The user can specify multiple servers within an environment. A server comprises of a name and a url. */\n servers: Server[];\n}\n\nexport const environmentSchema: Schema = object({\n id: ['id', string()],\n name: ['name', string()],\n servers: ['servers', array(lazy(() => serverSchema))],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { object, Schema, string } from '../schema';\n\n/** The structure contain attribute details of a parameter type. */\nexport interface Attributes {\n /** Unique Attribute Identifier */\n id: string;\n}\n\nexport const attributesSchema: Schema = object({\n id: ['id', string()],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { boolean, lazy, object, Schema, string } from '../schema';\nimport { Attributes, attributesSchema } from './attributes';\n\n/** Parameters are options passed with the endpoint */\nexport interface Parameter {\n /** If parameter is optional */\n optional: boolean;\n /** Type of Parameter */\n type: string;\n /** IF Parameter is constant */\n constant: boolean;\n /** If Param is collected as array */\n isArray: boolean;\n isStream: boolean;\n isAttribute: boolean;\n isMap: boolean;\n /** The structure contain attribute details of a parameter type. */\n attributes: Attributes;\n /** If Parameter is nullable */\n nullable: boolean;\n /** Unique Parameter identifier */\n id: string;\n /** Parameter Name */\n name: string;\n /** Parameter Description */\n description: string;\n /** Default Values of a Parameter */\n defaultValue: string;\n /** Specify Parameter Format */\n paramFormat: string;\n}\n\nexport const parameterSchema: Schema = object({\n optional: ['optional', boolean()],\n type: ['type', string()],\n constant: ['constant', boolean()],\n isArray: ['isArray', boolean()],\n isStream: ['isStream', boolean()],\n isAttribute: ['isAttribute', boolean()],\n isMap: ['isMap', boolean()],\n attributes: ['attributes', lazy(() => attributesSchema)],\n nullable: ['nullable', boolean()],\n id: ['id', string()],\n name: ['name', string()],\n description: ['description', string()],\n defaultValue: ['defaultValue', string()],\n paramFormat: ['ParamFormat', string()],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { array, lazy, object, Schema, string } from '../schema';\nimport { Environment, environmentSchema } from './environment';\nimport { Parameter, parameterSchema } from './parameter';\n\n/** Server configurations can be used to create multiple environments, multiple servers that can be used with specific endpoints and server URLs with template paramters. */\nexport interface ServerConfiguration {\n /** Server Config Identifier */\n id: string;\n /** Default Environment */\n defaultEnvironment: string;\n /** Default Server */\n defaultServer: string;\n /** Environment Identifier and Name */\n environments: Environment[];\n /** Parameter Attributes */\n parameters: Parameter[];\n}\n\nexport const serverConfigurationSchema: Schema = object({\n id: ['id', string()],\n defaultEnvironment: ['defaultEnvironment', string()],\n defaultServer: ['defaultServer', string()],\n environments: ['environments', array(lazy(() => environmentSchema))],\n parameters: ['parameters', array(lazy(() => parameterSchema))],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { array, number, object, Schema, string } from '../schema';\n\n/** This structure helps specify additional test configurations which affects how test cases are generated. */\nexport interface TestGenSettings {\n /** Error margin for comparing values in decimal places */\n precisionDelta: number;\n /** Number of seconds after which if the endpoint is not returning any response, the test is forced to fail e.g. a timeout of 60 */\n testTimeout: number;\n /** The parameters allows to provide values for configuration file for use in the test environment */\n configuration: string[];\n}\n\nexport const testGenSettingsSchema: Schema = object({\n precisionDelta: ['precisionDelta', number()],\n testTimeout: ['testTimeout', number()],\n configuration: ['configuration', array(string())],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport {\n array,\n boolean,\n lazy,\n object,\n optional,\n Schema,\n string,\n} from '../schema';\nimport { Authentication, authenticationSchema } from './authentication';\nimport { CodeGenSettings, codeGenSettingsSchema } from './codeGenSettings';\nimport { EndpointsGroup, endpointsGroupSchema } from './endpointsGroup';\nimport { MetaData, metaDataSchema } from './metaData';\nimport {\n ServerConfiguration,\n serverConfigurationSchema,\n} from './serverConfiguration';\nimport { TestGenSettings, testGenSettingsSchema } from './testGenSettings';\n\n/** The API Entity Structure encapsulates all the details of an API Entity. An API entity is a unique API Version. */\nexport interface ApiEntity {\n /** Unique API Entity identifier */\n id: string;\n /** Enrcypted API Entity Id */\n encryptedId: string;\n /** API Integration Key. Obtain from API Card on Dashboard. */\n apiKey: string;\n /** Unique API Group Identifier */\n apiGroupId: string;\n /** Cover Image */\n imageUri: string;\n /** Entity creation date */\n creationDate: string;\n /** API Status (Deprecated) */\n mPublic: boolean;\n /** API Entity Name */\n name: string;\n /** Description of the API */\n description: string;\n /** Entity Version Number */\n version: string;\n /** Header Content */\n additionalHeaders: string[];\n /** This Structure encapsulates all details of API authentication. */\n authentication: Authentication;\n /** APIMatic’s code generation engine has various code generation configurations to customise the behaviour and outlook across the generated SDKS. This structure encapsulates all settings for CodeGeneration. */\n codeGenSettings: CodeGenSettings;\n /** This structure helps specify additional test configurations which affects how test cases are generated. */\n testGenSettings: TestGenSettings;\n /** API Errors */\n errors: string[];\n /** Server configurations can be used to create multiple environments, multiple servers that can be used with specific endpoints and server URLs with template paramters. */\n serverConfiguration: ServerConfiguration;\n /** API Endpoint Groups */\n endpointsGroup?: EndpointsGroup[];\n /** API Meta Data */\n metaData: MetaData[];\n}\n\nexport const apiEntitySchema: Schema = object({\n id: ['id', string()],\n encryptedId: ['encryptedId', string()],\n apiKey: ['apiKey', string()],\n apiGroupId: ['apiGroupId', string()],\n imageUri: ['imageUri', string()],\n creationDate: ['creationDate', string()],\n mPublic: ['public', boolean()],\n name: ['name', string()],\n description: ['description', string()],\n version: ['version', string()],\n additionalHeaders: ['additionalHeaders', array(string())],\n authentication: ['authentication', lazy(() => authenticationSchema)],\n codeGenSettings: ['codeGenSettings', lazy(() => codeGenSettingsSchema)],\n testGenSettings: ['testGenSettings', lazy(() => testGenSettingsSchema)],\n errors: ['errors', array(string())],\n serverConfiguration: [\n 'serverConfiguration',\n lazy(() => serverConfigurationSchema),\n ],\n endpointsGroup: [\n 'endpointsGroup',\n optional(array(lazy(() => endpointsGroupSchema))),\n ],\n metaData: ['metaData', array(lazy(() => metaDataSchema))],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { Schema, stringEnum } from '../schema';\n\n/**\n * Enum for ExportFormats\n */\nexport enum ExportFormats {\n APIMATIC = 'APIMATIC',\n WADL2009 = 'WADL2009',\n WSDL = 'WSDL',\n SWAGGER10 = 'Swagger10',\n SWAGGER20 = 'Swagger20',\n SWAGGERYAML = 'SwaggerYaml',\n OAS3 = 'OpenApi3Json',\n OPENAPI3YAML = 'OpenApi3Yaml',\n APIBLUEPRINT = 'APIBluePrint',\n RAML = 'RAML',\n RAML10 = 'RAML10',\n POSTMAN10 = 'Postman10',\n POSTMAN20 = 'Postman20',\n GRAPHQLSCHEMA = 'GraphQlSchema',\n}\n\n/**\n * Schema for ExportFormats\n */\nexport const exportFormatsSchema: Schema = stringEnum(ExportFormats);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { object, Schema, string } from '../schema';\n\n/** This structure contains details of importing a new API Version */\nexport interface ImportApiVersionViaUrlRequest {\n /** The version number with which the new API version will be imported. This version number will override the version specified in the API specification file.
APIMatic recommends versioning the API with the [versioning scheme](https://docs.apimatic.io/define-apis/basic-settings/#version) documented in the docs. */\n versionOverride: string;\n /** The URL for the API specification file.

**Note:** This URL should be publicly accessible. */\n url: string;\n}\n\nexport const importApiVersionViaUrlRequestSchema: Schema = object(\n { versionOverride: ['version_override', string()], url: ['url', string()] }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { object, Schema, string } from '../schema';\n\n/** Contains a url field to allow Apis to be imported via url */\nexport interface ImportApiViaUrlRequest {\n /** The URL for the API specification file.

**Note:** This URL should be publicly accessible. */\n url: string;\n}\n\nexport const importApiViaUrlRequestSchema: Schema = object(\n { url: ['url', string()] }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { object, Schema, string } from '../schema';\n\n/** Contains a url field to allow Apis to be imported via url */\nexport interface InplaceImportApiViaUrlRequest {\n /** The URL for the API specification file.

**Note:** This URL should be publicly accessible. */\n url: string;\n}\n\nexport const inplaceImportApiViaUrlRequestSchema: Schema = object(\n { url: ['url', string()] }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { ApiResponse, FileWrapper, RequestOptions } from '../core';\nimport { Accept, acceptSchema } from '../models/accept';\nimport { Accept2, accept2Schema } from '../models/accept2';\nimport { ApiEntity, apiEntitySchema } from '../models/apiEntity';\nimport { ExportFormats, exportFormatsSchema } from '../models/exportFormats';\nimport {\n ImportApiVersionViaUrlRequest,\n importApiVersionViaUrlRequestSchema,\n} from '../models/importApiVersionViaUrlRequest';\nimport {\n ImportApiViaUrlRequest,\n importApiViaUrlRequestSchema,\n} from '../models/importApiViaUrlRequest';\nimport {\n InplaceImportApiViaUrlRequest,\n inplaceImportApiViaUrlRequestSchema,\n} from '../models/inplaceImportApiViaUrlRequest';\nimport { string } from '../schema';\nimport { BaseController } from './baseController';\n\nexport class ApisManagementController extends BaseController {\n /**\n * Import an API into the APIMatic Dashboard by uploading the API specification file.\n *\n * You can also specify [API Metadata](https://docs.apimatic.io/manage-apis/apimatic-metadata) while\n * importing the API using this endpoint. When specifying Metadata, the uploaded file will be a zip\n * file containing the API specification file and the `APIMATIC-META` json file.\n *\n * @param file The API specification file.
The type of the specification file should be any\n * of the [supported formats](https://docs.apimatic.io/api-transformer/overview-\n * transformer#supported-input-formats).\n * @return Response from the API call\n */\n async importAPIViaFile(\n file: FileWrapper,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('POST', '/api-entities/import-via-file');\n req.header('ContentType', 'multipart/form-data');\n req.formData({\n file: file,\n });\n return req.callAsJson(apiEntitySchema, requestOptions);\n }\n\n /**\n * Import an API into the APIMatic Dashboard by providing the URL of the API specification file.\n *\n * You can also specify [API Metadata](https://docs.apimatic.io/manage-apis/apimatic-metadata) while\n * importing the API using this endpoint. When specifying Metadata, the URL provided will be that of a\n * zip file containing the API specification file and the `APIMATIC-META` json file.\n *\n * @param body Request Body\n * @return Response from the API call\n */\n async importAPIViaURL(\n body: ImportApiViaUrlRequest,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('POST', '/api-entities/import-via-url');\n const mapped = req.prepareArgs({\n body: [body, importApiViaUrlRequestSchema],\n });\n req.header(\n 'Content-Type',\n 'application/vnd.apimatic.apiEntityUrlImportDto.v1+json'\n );\n req.json(mapped.body);\n return req.callAsJson(apiEntitySchema, requestOptions);\n }\n\n /**\n * Import a new version for an API, against an existing API Group, by uploading the API specification\n * file.\n *\n * You can also specify [API Metadata](https://docs.apimatic.io/manage-apis/apimatic-metadata) while\n * importing the API version using this endpoint. When specifying Metadata, the uploaded file will be a\n * zip file containing the API specification file and the `APIMATIC-META` json file.\n *\n * @param apiGroupId The ID of the API Group for which to import a new API version.\n * @param accept\n * @param versionOverride The version number with which the new API version will be imported. This\n * version number will override the version specified in the API specification\n * file.
APIMatic recommends versioning the API with the [versioning\n * scheme](https://docs.apimatic.io/define-apis/basic-settings/#version)\n * documented in the docs.\n * @param file The API specification file.
The type of the specification file should\n * be any of the [supported formats](https://docs.apimatic.io/api-\n * transformer/overview-transformer#supported-input-formats).\n * @return Response from the API call\n */\n async importNewAPIVersionViaFile(\n apiGroupId: string,\n accept: Accept,\n versionOverride: string,\n file: FileWrapper,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('POST');\n const mapped = req.prepareArgs({\n apiGroupId: [apiGroupId, string()],\n accept: [accept, acceptSchema],\n versionOverride: [versionOverride, string()],\n });\n req.header('Accept', mapped.accept);\n req.header('Content-Type', 'multipart/form-data');\n req.formData({\n version_override: mapped.versionOverride,\n file: file,\n });\n req.appendTemplatePath`/api-groups/${mapped.apiGroupId}/api-entities/import-via-file`;\n return req.callAsJson(apiEntitySchema, requestOptions);\n }\n\n /**\n * Import a new version for an API, against an existing API Group, by providing the URL of the API\n * specification file.\n *\n * You can also specify [API Metadata](https://docs.apimatic.io/manage-apis/apimatic-metadata) while\n * importing the API version using this endpoint. When specifying Metadata, the URL provided will be\n * that of a zip file containing the API specification file and the `APIMATIC-META` json file.\n *\n * @param apiGroupId The ID of the API Group for which to import a new API\n * version.\n * @param accept\n * @param body Request Body\n * @return Response from the API call\n */\n async importNewAPIVersionViaURL(\n apiGroupId: string,\n accept: Accept,\n body: ImportApiVersionViaUrlRequest,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('POST');\n const mapped = req.prepareArgs({\n apiGroupId: [apiGroupId, string()],\n accept: [accept, acceptSchema],\n body: [body, importApiVersionViaUrlRequestSchema],\n });\n req.header('Accept', mapped.accept);\n req.header(\n 'Content-Type',\n 'application/vnd.apimatic.apiGroupApiEntityUrlImportDto.v1+json'\n );\n req.json(mapped.body);\n req.appendTemplatePath`/api-groups/${mapped.apiGroupId}/api-entities/import-via-url`;\n return req.callAsJson(apiEntitySchema, requestOptions);\n }\n\n /**\n * Replace an API version of an API Group, by uploading the API specification file that will replace\n * the current version.\n *\n * You can also specify [API Metadata](https://docs.apimatic.io/manage-apis/apimatic-metadata) while\n * importing the API version using this endpoint. When specifying Metadata, the uploaded file will be a\n * zip file containing the API specification file and the `APIMATIC-META` json file.\n *\n * @param apiEntityId The ID of the API Entity to replace.\n * @param accept\n * @param file The API specification file.
The type of the specification file should be\n * any of the [supported formats](https://docs.apimatic.io/api-\n * transformer/overview-transformer#supported-input-formats).\n * @return Response from the API call\n */\n async inplaceAPIImportViaFile(\n apiEntityId: string,\n accept: Accept2,\n file: FileWrapper,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('PUT');\n const mapped = req.prepareArgs({\n apiEntityId: [apiEntityId, string()],\n accept: [accept, accept2Schema],\n });\n req.header('Accept', mapped.accept);\n req.header('Content-Type', 'multipart/form-data');\n req.formData({\n file: file,\n });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/import-via-file`;\n return req.call(requestOptions);\n }\n\n /**\n * Replace an API version of an API Group, by providing the URL of the API specification file that will\n * replace the current version.\n *\n * You can also specify [API Metadata](https://docs.apimatic.io/manage-apis/apimatic-metadata) while\n * importing the API version using this endpoint. When specifying Metadata, the URL provided will be\n * that of a zip file containing the API specification file and the `APIMATIC-META` json file.\n *\n * @param apiEntityId The ID of the API Entity to replace.\n * @param body Request Body\n * @return Response from the API call\n */\n async inplaceAPIImportViaURL(\n apiEntityId: string,\n body: InplaceImportApiViaUrlRequest,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('PUT');\n const mapped = req.prepareArgs({\n apiEntityId: [apiEntityId, string()],\n body: [body, inplaceImportApiViaUrlRequestSchema],\n });\n req.header(\n 'Content-Type',\n 'application/vnd.apimatic.apiEntityUrlImportDto.v1+json'\n );\n req.json(mapped.body);\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/import-via-url`;\n return req.call(requestOptions);\n }\n\n /**\n * Fetch an API Entity.\n *\n * @param apiEntityId The ID of the API Entity to fetch.\n * @return Response from the API call\n */\n async fetchAPIEntity(\n apiEntityId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({ apiEntityId: [apiEntityId, string()] });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}`;\n return req.callAsJson(apiEntitySchema, requestOptions);\n }\n\n /**\n * Download the API Specification file for a an API Version in any of the API Specification formats\n * supported by APIMatic.\n *\n * @param apiEntityId The ID of the API Entity to download.\n * @param format The format in which to download the API.
The format can be any of the\n * [supported formats](https://docs.apimatic.io/api-transformer/overview-\n * transformer#supported-input-formats).\n * @return Response from the API call\n */\n async downloadAPISpecification(\n apiEntityId: string,\n format: ExportFormats,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({\n apiEntityId: [apiEntityId, string()],\n format: [format, exportFormatsSchema],\n });\n req.query('format', mapped.format);\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/api-description`;\n return req.callAsStream(requestOptions);\n }\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { Schema, stringEnum } from '../schema';\n\n/**\n * Enum for Platforms\n */\nexport enum Platforms {\n CSNETSTANDARDLIB = 'CS_NET_STANDARD_LIB',\n JAVAECLIPSEJRELIB = 'JAVA_ECLIPSE_JRE_LIB',\n PHPGENERICLIBV2 = 'PHP_GENERIC_LIB',\n PYTHONGENERICLIB = 'PYTHON_GENERIC_LIB',\n RUBYGENERICLIB = 'RUBY_GENERIC_LIB',\n TSGENERICLIB = 'TS_GENERIC_LIB',\n}\n\n/**\n * Schema for Platforms\n */\nexport const platformsSchema: Schema = stringEnum(Platforms);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { object, Schema, string } from '../schema';\nimport { Platforms, platformsSchema } from './platforms';\n\nexport interface GenerateSdkViaUrlRequest {\n /** The URL for the API specification file.

**Note:** This URL should be publicly accessible. */\n url: string;\n /** The structure contains platforms that APIMatic CodeGen can generate SDKs and Docs in. */\n template: Platforms;\n}\n\nexport const generateSdkViaUrlRequestSchema: Schema = object(\n { url: ['url', string()], template: ['template', platformsSchema] }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { boolean, object, Schema, string } from '../schema';\nimport { Platforms, platformsSchema } from './platforms';\n\n/** The Code Generation structure encapsulates all the the details of an SDK generation performed by a user. */\nexport interface UserCodeGeneration {\n /** Unique Code Generation Identifier */\n id: string;\n /** The structure contains platforms that APIMatic CodeGen can generate SDKs and Docs in. */\n template: Platforms;\n /** The generated SDK */\n generatedFile: string;\n /** Generation Date and Time */\n generatedOn: string;\n /** The md5 hash of the API Description */\n hashCode: string;\n /** Generation Source */\n codeGenerationSource: string;\n /** Generation Version */\n codeGenVersion: string;\n /** Generation Status */\n success: boolean;\n /** Unique User Identifier */\n userId: string;\n /** API Specification file in a supported format */\n inputFile: string;\n}\n\nexport const userCodeGenerationSchema: Schema = object({\n id: ['id', string()],\n template: ['template', platformsSchema],\n generatedFile: ['generatedFile', string()],\n generatedOn: ['generatedOn', string()],\n hashCode: ['hashCode', string()],\n codeGenerationSource: ['codeGenerationSource', string()],\n codeGenVersion: ['codeGenVersion', string()],\n success: ['success', boolean()],\n userId: ['userId', string()],\n inputFile: ['inputFile', string()],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { ApiResponse, FileWrapper, RequestOptions } from '../core';\nimport {\n GenerateSdkViaUrlRequest,\n generateSdkViaUrlRequestSchema,\n} from '../models/generateSdkViaUrlRequest';\nimport { Platforms, platformsSchema } from '../models/platforms';\nimport {\n UserCodeGeneration,\n userCodeGenerationSchema,\n} from '../models/userCodeGeneration';\nimport { array, string } from '../schema';\nimport { BaseController } from './baseController';\n\nexport class CodeGenerationExternalApisController extends BaseController {\n /**\n * Generate an SDK for an API by by uploading the API specification file.\n *\n * This endpoint generates and then uploads the generated SDK to APIMatic's cloud storage. An ID for\n * the generation performed is returned as part of the response.\n *\n * This endpoint does not import an API into APIMatic.\n *\n * @param file The API specification file.
The type of the specification file should be\n * any of the [supported formats](https://docs.apimatic.io/api-\n * transformer/overview-transformer#supported-input-formats).\n * @param template The structure contains platforms that APIMatic CodeGen can generate SDKs and\n * Docs in.\n * @return Response from the API call\n */\n async generateSDKViaFile(\n file: FileWrapper,\n template: Platforms,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest(\n 'POST',\n '/code-generations/generate-via-file'\n );\n const mapped = req.prepareArgs({ template: [template, platformsSchema] });\n req.header('Content-Type', 'multipart/form-data');\n req.formData({\n file: file,\n template: mapped.template,\n });\n return req.callAsJson(userCodeGenerationSchema, requestOptions);\n }\n\n /**\n * Generate an SDK for an API by providing the URL of the API specification file.\n *\n * This endpoint generates and then uploads the generated SDK to APIMatic's cloud storage. An ID for\n * the generation performed is returned as part of the response.\n *\n * This endpoint does not import an API into APIMatic.\n *\n * @param body Request Body\n * @return Response from the API call\n */\n async generateSDKViaURL(\n body: GenerateSdkViaUrlRequest,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest(\n 'POST',\n '/code-generations/generate-via-url'\n );\n const mapped = req.prepareArgs({\n body: [body, generateSdkViaUrlRequestSchema],\n });\n req.header('Content-Type', 'application/vnd.apimatic.userCodeGenerationDto.v1+json');\n req.json(mapped.body);\n return req.callAsJson(userCodeGenerationSchema, requestOptions);\n }\n\n /**\n * Download the SDK generated via the Generate SDK endpoints.\n *\n * @param codegenId The ID of code generation received in the response of the [Generate SDK Via\n * File](https://www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-endpoints/code-generation-\n * external-apis/generate-sdk-via-file) or [Generate SDK Via URL ](https://www.apimatic.\n * io/api-docs-preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-endpoints/code-\n * generation-external-apis/generate-sdk-via-url) calls.\n * @return Response from the API call\n */\n async downloadSDK(\n codegenId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({ codegenId: [codegenId, string()] });\n req.appendTemplatePath`/code-generations/${mapped.codegenId}/generated-sdk`;\n return req.callAsStream(requestOptions);\n }\n\n /**\n * Get a list of all SDK generations performed with external APIs via the Generate SDK endpoints.\n *\n * @return Response from the API call\n */\n async listAllCodeGenerations(\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET', '/code-generations');\n return req.callAsJson(array(userCodeGenerationSchema), requestOptions);\n }\n\n /**\n * Download the API Specification file used as input for a specific SDK generation performed via the\n * Generate SDK endpoints.\n *\n * @param codegenId The ID of the code generation to download the API specification for. The code\n * generation ID is received in the response of the [Generate SDK Via File](https://www.\n * apimatic.io/api-docs-preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-\n * endpoints/code-generation-external-apis/generate-sdk-via-file) or [Generate SDK Via\n * URL ](https://www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-endpoints/code-generation-\n * external-apis/generate-sdk-via-url) calls\n * @return Response from the API call\n */\n async downloadInputFile(\n codegenId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({ codegenId: [codegenId, string()] });\n req.appendTemplatePath`/code-generations/${mapped.codegenId}/input-file`;\n return req.callAsStream(requestOptions);\n }\n\n /**\n * Get details on an SDK generation performed for an external API via the Generate SDK endpoints.\n *\n * @param codegenId The ID of the code generation to fetch. The code generation ID is received in the\n * response of the [Generate SDK Via File](https://www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-endpoints/code-generation-\n * external-apis/generate-sdk-via-file) or [Generate SDK Via URL ](https://www.apimatic.\n * io/api-docs-preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-endpoints/code-\n * generation-external-apis/generate-sdk-via-url) calls.\n * @return Response from the API call\n */\n async getACodeGeneration(\n codegenId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({ codegenId: [codegenId, string()] });\n req.appendTemplatePath`/code-generations/${mapped.codegenId}`;\n return req.callAsJson(userCodeGenerationSchema, requestOptions);\n }\n\n /**\n * Delete an SDK generation performed for an API via the Generate SDK endpoints.\n *\n * @param codegenId The ID of the code generation to delete. The code generation ID is received in the\n * response of the [Generate SDK Via File](https://www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-endpoints/code-generation-\n * external-apis/generate-sdk-via-file) or [Generate SDK Via URL ](https://www.apimatic.\n * io/api-docs-preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-endpoints/code-\n * generation-external-apis/generate-sdk-via-url) calls.\n * @return Response from the API call\n */\n async deleteCodeGeneration1(\n codegenId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('DELETE');\n const mapped = req.prepareArgs({ codegenId: [codegenId, string()] });\n req.appendTemplatePath`/code-generations/${mapped.codegenId}`;\n return req.call(requestOptions);\n }\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { boolean, object, Schema, string } from '../schema';\nimport { Platforms, platformsSchema } from './platforms';\n\n/** The Code Generation structure encapsulates all the the details of an SDK generation performed against an API Entity */\nexport interface APIEntityCodeGeneration {\n /** Unique Code Generation Identifier */\n id: string;\n /** The structure contains platforms that APIMatic CodeGen can generate SDKs and Docs in. */\n template: Platforms;\n /** The generated SDK */\n generatedFile: string;\n /** Generation Date and Time */\n generatedOn: string;\n /** The md5 hash of the API Description */\n hashCode: string;\n /** Generation Source */\n codeGenerationSource: string;\n /** Generation Version */\n codeGenVersion: string;\n /** Generation Status */\n success: boolean;\n /** Unique API Entity Identifier */\n apiEntityId: string;\n}\n\nexport const aPIEntityCodeGenerationSchema: Schema = object(\n {\n id: ['id', string()],\n template: ['template', platformsSchema],\n generatedFile: ['generatedFile', string()],\n generatedOn: ['generatedOn', string()],\n hashCode: ['hashCode', string()],\n codeGenerationSource: ['codeGenerationSource', string()],\n codeGenVersion: ['codeGenVersion', string()],\n success: ['success', boolean()],\n apiEntityId: ['apiEntityId', string()],\n }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { ApiResponse, RequestOptions } from '../core';\nimport {\n APIEntityCodeGeneration,\n aPIEntityCodeGenerationSchema,\n} from '../models/aPIEntityCodeGeneration';\nimport { Platforms, platformsSchema } from '../models/platforms';\nimport { array, string } from '../schema';\nimport { BaseController } from './baseController';\n\nexport class CodeGenerationImportedApisController extends BaseController {\n /**\n * Generate an SDK for an API Version.\n *\n * This endpoint generates and then uploads the generated SDK to APIMatic's cloud storage. An ID for\n * the generation performed is returned as part of the response.\n *\n * @param apiEntityId The ID of the API Entity to generate the SDK for.\n * @param template The structure contains platforms that APIMatic CodeGen can generate SDKs and\n * Docs in.\n * @return Response from the API call\n */\n async generateSDK(\n apiEntityId: string,\n template: Platforms,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('POST');\n const mapped = req.prepareArgs({\n apiEntityId: [apiEntityId, string()],\n template: [template, platformsSchema],\n });\n req.header('Content-Type', 'application/x-www-form-urlencoded');\n req.form({\n template: mapped.template,\n });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/code-generations/generate`;\n return req.callAsJson(aPIEntityCodeGenerationSchema, requestOptions);\n }\n\n /**\n * Download the SDK generated via the Generate SDK endpoint.\n *\n * @param apiEntityId The ID of the API Entity for which the SDK was generated.\n * @param codegenId The ID of code generation received in the response of the [SDK generation\n * call](https://www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-endpoints/code-\n * generation-imported-apis/generate-sdk).\n * @return Response from the API call\n */\n async downloadSDK(\n apiEntityId: string,\n codegenId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({\n apiEntityId: [apiEntityId, string()],\n codegenId: [codegenId, string()],\n });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/code-generations/${mapped.codegenId}/generated-sdk`;\n return req.callAsStream(requestOptions);\n }\n\n /**\n * Get a list of all SDK generations done against an API Version via the Generate SDK endpoint.\n *\n * @param apiEntityId The ID of the API Entity for which to list code generations.\n * @return Response from the API call\n */\n async listAllCodeGenerations(\n apiEntityId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({ apiEntityId: [apiEntityId, string()] });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/code-generations`;\n return req.callAsJson(array(aPIEntityCodeGenerationSchema), requestOptions);\n }\n\n /**\n * Get details on an SDK generation performed via the Generate SDK endpoint.\n *\n * @param apiEntityId The ID of the API Entity to fetch the code generation for.\n * @param codegenId The ID of the code generation to fetch. The code generation ID is received in the\n * response of the [SDK generation call](https://www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-endpoints/code-\n * generation-imported-apis/generate-sdk).\n * @return Response from the API call\n */\n async getACodeGeneration(\n apiEntityId: string,\n codegenId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({\n apiEntityId: [apiEntityId, string()],\n codegenId: [codegenId, string()],\n });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/code-generations/${mapped.codegenId}`;\n return req.callAsJson(aPIEntityCodeGenerationSchema, requestOptions);\n }\n\n /**\n * Delete an SDK generation performed for an API Version via the Generate SDK endpoint.\n *\n * @param apiEntityId The ID of the API Entity to delete the code generation for.\n * @param codegenId The ID of the code generation to delete. The code generation ID is received in the\n * response of the [SDK generation call](https://www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-endpoints/code-\n * generation-imported-apis/generate-sdk).\n * @return Response from the API call\n */\n async deleteCodeGeneration(\n apiEntityId: string,\n codegenId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('DELETE');\n const mapped = req.prepareArgs({\n apiEntityId: [apiEntityId, string()],\n codegenId: [codegenId, string()],\n });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/code-generations/${mapped.codegenId}`;\n return req.call(requestOptions);\n }\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { Schema, stringEnum } from '../schema';\n\n/**\n * Enum for Accept3\n */\nexport enum Accept3 {\n EnumApplicationzip = 'application/zip',\n}\n\n/**\n * Schema for Accept3\n */\nexport const accept3Schema: Schema = stringEnum(Accept3);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { ApiResponse, FileWrapper, RequestOptions } from '../core';\nimport { Accept3, accept3Schema } from '../models/accept3';\nimport { string } from '../schema';\nimport { BaseController } from './baseController';\n\nexport class DocsPortalManagementController extends BaseController {\n /**\n * Publish artifacts for a Hosted Portal.\n *\n * This endpoint regenerates all the artifacts for a hosted portal and uploads them to APIMatic's cloud\n * storage, from where the Portal fetches them. These artifacts include:\n *\n * 1. SDKs\n * 2. Docs\n * 3. API Specification files\n *\n * Call this endpoint to update your Hosted Portal after you update an API Entity via any of the Import\n * API Endpoints.\n *\n * __**Note: If you have an embedded portal against the same API Entity, artifacts for that portal will\n * get updated as well.**__\n *\n * @param apiEntityId The ID of the API Entity to update the portal artifacts for.\n * @return Response from the API call\n */\n async publishHostedPortal(\n apiEntityId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('PUT');\n const mapped = req.prepareArgs({ apiEntityId: [apiEntityId, string()] });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/hosted-portal`;\n return req.call(requestOptions);\n }\n\n /**\n * Publish artifacts for an Embedded Portal and get the Portal Embed script.\n *\n * This endpoint regenerates all the artifacts for an embedded portal and uploads them to APIMatic's\n * cloud storage, from where the Portal fetches them. These artifacts include:\n *\n * 1. SDKs\n * 2. Docs\n * 3. API Specification files\n *\n * Call this endpoint to update your Embedded Portal after you update an API Entity via any of the\n * Import API Endpoints. This endpoint returns the Portal Embed script in the response.\n *\n * __**Note: If you have a hosted portal against the same API Entity, artifacts for that portal will\n * get updated as well.**__\n *\n * @param apiEntityId The ID of the API Entity to update the portal artifacts for.\n * @return Response from the API call\n */\n async publishEmbeddedPortal(\n apiEntityId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('PUT');\n const mapped = req.prepareArgs({ apiEntityId: [apiEntityId, string()] });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/embedded-portal`;\n return req.call(requestOptions);\n }\n\n /**\n * Generate an On-premise Documentation Portal for an API Entity. This endpoint generates all artifacts\n * for the Portal and packages them together into a zip file along with the required HTML, CSS and JS\n * files. The generated artifacts include:\n *\n * 1. SDKs\n * 2. Docs\n * 3. API Specification files\n *\n * The endpoint returns a zip file that contains a static Site and can be hosted on any Web Server.\n *\n * @param apiEntityId The ID of the API Entity to generate the Portal for.\n * @param accept Example: application/zip\n * @return Response from the API call\n */\n async generateOnPremPortalViaAPIEntity(\n apiEntityId: string,\n accept: Accept3,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({\n apiEntityId: [apiEntityId, string()],\n accept: [accept, accept3Schema],\n });\n req.header('Accept', mapped.accept);\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/on-prem-portal`;\n return req.call(requestOptions);\n }\n\n /**\n * Generate an On-premise Documentation Portal by uploading a Portal Build Input. This endpoint\n * generates all artifacts for the Portal and packages them together into a zip file along with the\n * required HTML, CSS and JS files. The generated artifacts include:\n *\n * 1. SDKs\n * 2. Docs\n * 3. API Specification files\n *\n * The endpoint returns a zip file that contains a static Site and can be hosted on any Web Server.\n *\n * @param file The input file to the Portal Generator. Must contain the build file.\n * @return Response from the API call\n */\n async generateOnPremPortalViaBuildInput(\n file: FileWrapper,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('POST', '/portal');\n req.header('ContentType', 'multipart/form-data');\n req.formData({\n file: file,\n });\n return req.callAsStream(requestOptions);\n }\n\n /**\n * Unpublish a Hosted or Embedded Portal published for an API Entity. Calling this endpoint deletes all\n * the published artifacts for a Portal from APIMatic's cloud storage.\n *\n * In case of a Hosted Portal, to completely remove the Portal, this endpoint needs to be called\n * against all API versions that the Portal hosts.\n *\n * In case of an Embedded Portal, to completely remove the Portal, the user needs to manually remove\n * the Portal Embed script from the embedding site.\n *\n * @param apiEntityId The ID of the API Entity to unpublish the Portal artifacts for.\n * @return Response from the API call\n */\n async unpublishPortal(\n apiEntityId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('DELETE');\n const mapped = req.prepareArgs({ apiEntityId: [apiEntityId, string()] });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/portal`;\n return req.call(requestOptions);\n }\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { Schema, stringEnum } from '../schema';\n\n/**\n * Enum for Id\n */\nexport enum Id {\n Enum5dcd2b5893c3e31a206f30c4 = '5dcd2b5893c3e31a206f30c4',\n}\n\n/**\n * Schema for Id\n */\nexport const idSchema: Schema = stringEnum(Id);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { Schema, stringEnum } from '../schema';\n\n/**\n * Enum for Link\n */\nexport enum Link {\n EnumHttpswwwnugetorgpackagesmyPackage111 = 'https://www.nuget.org/packages/myPackage/1.1.1',\n}\n\n/**\n * Schema for Link\n */\nexport const linkSchema: Schema = stringEnum(Link);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { object, optional, Schema, string, unknown } from '../schema';\nimport { Id, idSchema } from './id';\nimport { Link, linkSchema } from './link';\n\n/** This structure contains all details that goes into package deployment. */\nexport interface CSNETSTANDARDLIB {\n /** Unique package identifier */\n id?: Id;\n /** Package Repository as per platform */\n packageRepository: string;\n /** Package Name */\n packageName: string;\n version: string;\n /** Any additional platform specific deployment detail */\n additionalDeploymentInformation?: unknown;\n /** Link of deployed package */\n link?: Link;\n}\n\nexport const cSNETSTANDARDLIBSchema: Schema = object({\n id: ['id', optional(idSchema)],\n packageRepository: ['packageRepository', string()],\n packageName: ['packageName', string()],\n version: ['version', string()],\n additionalDeploymentInformation: [\n 'additionalDeploymentInformation',\n unknown(),\n ],\n link: ['link', optional(linkSchema)],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { lazy, object, Schema } from '../schema';\nimport { CSNETSTANDARDLIB, cSNETSTANDARDLIBSchema } from './cSNETSTANDARDLIB';\n\n/** This structure encapsulates all package deployment details. */\nexport interface TemplatesPackageDeploymentInformation {\n /** This structure contains all details that goes into package deployment. */\n cSNETSTANDARDLIB: CSNETSTANDARDLIB;\n}\n\nexport const templatesPackageDeploymentInformationSchema: Schema = object(\n {\n cSNETSTANDARDLIB: [\n 'CS_NET_STANDARD_LIB',\n lazy(() => cSNETSTANDARDLIBSchema),\n ],\n }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { lazy, object, Schema, string } from '../schema';\nimport {\n TemplatesPackageDeploymentInformation,\n templatesPackageDeploymentInformationSchema,\n} from './templatesPackageDeploymentInformation';\n\n/** The structure contains Package Deployment Information along with Id. */\nexport interface PackageDeploymentInformation {\n /** Package Deployment Identifier */\n id: string;\n /** This structure encapsulates all package deployment details. */\n templatesPackageDeploymentInformation: TemplatesPackageDeploymentInformation;\n}\n\nexport const packageDeploymentInformationSchema: Schema = object(\n {\n id: ['id', string()],\n templatesPackageDeploymentInformation: [\n 'templatesPackageDeploymentInformation',\n lazy(() => templatesPackageDeploymentInformationSchema),\n ],\n }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { object, Schema, string } from '../schema';\n\nexport interface AuthorIdentifiers {\n email: string;\n userName: string;\n}\n\nexport const authorIdentifiersSchema: Schema = object({\n email: ['Email', string()],\n userName: ['UserName', string()],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { lazy, object, Schema, string, unknown } from '../schema';\nimport {\n AuthorIdentifiers,\n authorIdentifiersSchema,\n} from './authorIdentifiers';\n\nexport interface PublishedPackage {\n id: string;\n createdOn: string;\n apiEntityId: string;\n packageRepository: string;\n template: string;\n packageName: string;\n version: string;\n additionalDeploymentInformation?: unknown;\n authorIdentifiers: AuthorIdentifiers;\n link: string;\n}\n\nexport const publishedPackageSchema: Schema = object({\n id: ['id', string()],\n createdOn: ['createdOn', string()],\n apiEntityId: ['apiEntityId', string()],\n packageRepository: ['packageRepository', string()],\n template: ['template', string()],\n packageName: ['packageName', string()],\n version: ['version', string()],\n additionalDeploymentInformation: [\n 'additionalDeploymentInformation',\n unknown(),\n ],\n authorIdentifiers: ['authorIdentifiers', lazy(() => authorIdentifiersSchema)],\n link: ['link', string()],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { Schema, stringEnum } from '../schema';\n\n/**\n * Enum for PackageRepositories\n */\nexport enum PackageRepositories {\n Npm = 'Npm',\n PyPI = 'PyPI',\n RubyGems = 'RubyGems',\n}\n\n/**\n * Schema for PackageRepositories\n */\nexport const packageRepositoriesSchema: Schema = stringEnum(PackageRepositories);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { object, Schema, string, unknown } from '../schema';\nimport {\n PackageRepositories,\n packageRepositoriesSchema,\n} from './packageRepositories';\nimport { Platforms, platformsSchema } from './platforms';\n\nexport interface PublishPackageInput {\n packageRepository: PackageRepositories;\n /** The structure contains platforms that APIMatic CodeGen can generate SDKs and Docs in. */\n template: Platforms;\n packageName: string;\n version: string;\n additionalDeploymentInformation?: unknown;\n}\n\nexport const publishPackageInputSchema: Schema = object({\n packageRepository: ['packageRepository', packageRepositoriesSchema],\n template: ['template', platformsSchema],\n packageName: ['packageName', string()],\n version: ['version', string()],\n additionalDeploymentInformation: [\n 'additionalDeploymentInformation',\n unknown(),\n ],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { lazy, object, Schema } from '../schema';\nimport { CSNETSTANDARDLIB, cSNETSTANDARDLIBSchema } from './cSNETSTANDARDLIB';\n\n/** This structure helps update package deployment details. */\nexport interface UpdateTemplatesPackageDeploymentInformation {\n /** This structure contains all details that goes into package deployment. */\n cSNETSTANDARDLIB: CSNETSTANDARDLIB;\n}\n\nexport const updateTemplatesPackageDeploymentInformationSchema: Schema = object(\n {\n cSNETSTANDARDLIB: [\n 'CS_NET_STANDARD_LIB',\n lazy(() => cSNETSTANDARDLIBSchema),\n ],\n }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { lazy, object, Schema } from '../schema';\nimport {\n UpdateTemplatesPackageDeploymentInformation,\n updateTemplatesPackageDeploymentInformationSchema,\n} from './updateTemplatesPackageDeploymentInformation';\n\n/** This structure is used to update package deployment details. */\nexport interface UpdatePackageDeploymentInformation {\n /** This structure helps update package deployment details. */\n templatesPackageDeploymentInformation: UpdateTemplatesPackageDeploymentInformation;\n}\n\nexport const updatePackageDeploymentInformationSchema: Schema = object(\n {\n templatesPackageDeploymentInformation: [\n 'templatesPackageDeploymentInformation',\n lazy(() => updateTemplatesPackageDeploymentInformationSchema),\n ],\n }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { ApiResponse, RequestOptions } from '../core';\nimport {\n PackageDeploymentInformation,\n packageDeploymentInformationSchema,\n} from '../models/packageDeploymentInformation';\nimport {\n PublishedPackage,\n publishedPackageSchema,\n} from '../models/publishedPackage';\nimport {\n PublishPackageInput,\n publishPackageInputSchema,\n} from '../models/publishPackageInput';\nimport {\n UpdatePackageDeploymentInformation,\n updatePackageDeploymentInformationSchema,\n} from '../models/updatePackageDeploymentInformation';\nimport { array, string } from '../schema';\nimport { BaseController } from './baseController';\n\nexport class PackageDeploymentController extends BaseController {\n /**\n * Update Package Deployment Information for an API Entity. To find out more on how to publish a\n * package visit: [Adding Packages to Portal](https://docs.apimatic.io/developer-experience-\n * portal/adding%20packages%20to%20portal/)\n *\n * To find out more about publishing packages visit: [Publish Packages](https://docs.apimatic.\n * io/developer-experience-portal/adding%20packages%20to%20portal/)\n *\n * @param apiEntityId Unique API Entity Identifier\n * @param body Package Deployment Information to be updated.\n * This comprises of the Platform Template, the\n * Repository Name and Version.\n * @return Response from the API call\n */\n async updatePackageDeploymentInformation(\n apiEntityId: string,\n body: UpdatePackageDeploymentInformation,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('PUT');\n const mapped = req.prepareArgs({\n apiEntityId: [apiEntityId, string()],\n body: [body, updatePackageDeploymentInformationSchema],\n });\n req.header('Content-Type', 'application/json');\n req.json(mapped.body);\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/docs/package-deployment-information`;\n return req.call(requestOptions);\n }\n\n /**\n * Query Package deployment details added for an API Entity.\n * To find out more about adding packages to portal: [Adding Packages to Portal](https://docs.apimatic.\n * io/developer-experience-portal/adding%20packages%20to%20portal/)\n *\n * @param apiEntityId Unique API Entity identifier\n * @return Response from the API call\n */\n async packageDeploymentInformation(\n apiEntityId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n req.baseUrl('default');\n const mapped = req.prepareArgs({ apiEntityId: [apiEntityId, string()] });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/docs/package-deployment-information`;\n return req.callAsJson(packageDeploymentInformationSchema, requestOptions);\n }\n\n /**\n * Returns logs for all packages published for the API.\n *\n * @param apiEntityId Unique API Identifier\n * @return Response from the API call\n */\n async getPublishedPackagesForAPI(\n apiEntityId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({ apiEntityId: [apiEntityId, string()] });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/published-packages`;\n return req.callAsJson(array(publishedPackageSchema), requestOptions);\n }\n\n /**\n * Publish a new package for API by specifying package name and version number.\n *\n * To publish packages using this API, you will first need to add package repository credentials to\n * your APIMatic account.\n * Check out the [docs](https://docs.apimatic.io/advanced/publishing-a-package/) for a guide on adding\n * package repository credentials\n *\n * @param apiEntityId Unique API Identifier\n * @param body\n * @return Response from the API call\n */\n async publishAPackageForAPI(\n apiEntityId: string,\n body: PublishPackageInput,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('POST');\n const mapped = req.prepareArgs({\n apiEntityId: [apiEntityId, string()],\n body: [body, publishPackageInputSchema],\n });\n req.header('Content-Type', 'application/json');\n req.json(mapped.body);\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/published-packages/`;\n return req.callAsJson(publishedPackageSchema, requestOptions);\n }\n\n /**\n * Pull details for a certain published package by specifying Published Package Id.\n *\n * @param apiEntityId Unique API Identifier\n * @param publishedPackageId Unique Published Package Identifier\n * @return Response from the API call\n */\n async getAPublishedPackage(\n apiEntityId: string,\n publishedPackageId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n req.baseUrl('default');\n const mapped = req.prepareArgs({\n apiEntityId: [apiEntityId, string()],\n publishedPackageId: [publishedPackageId, string()],\n });\n req.appendTemplatePath`/api/api-entities/${mapped.apiEntityId}/published-packages/${mapped.publishedPackageId}`;\n return req.callAsJson(publishedPackageSchema, requestOptions);\n }\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { boolean, lazy, object, optional, Schema, string } from '../schema';\nimport {\n ApiValidationSummary,\n apiValidationSummarySchema,\n} from './apiValidationSummary';\n\n/** Transformation structure encapsulates all the details of a Transformation. */\nexport interface Transformation {\n /** Unique Transformation Identifier */\n id: string;\n /** Transformation Date and Time */\n transformedOn: string;\n /** Unique User Identifier */\n userId: string;\n /** API Specification file to be transformed */\n inputtedFile: string;\n /** API Specification file transformed to desired format */\n generatedFile: string;\n /** Desired Specification format */\n exportFormat: string;\n /** Source of Transformation */\n transformationSource: string;\n /** Via File or URL */\n transformationInput: string;\n /** CodeGen Engine Version */\n codeGenVersion: string;\n /** Successful Transformation Flag */\n success: boolean;\n importSummary?: ApiValidationSummary;\n apiValidationSummary?: ApiValidationSummary;\n}\n\nexport const transformationSchema: Schema = object({\n id: ['id', string()],\n transformedOn: ['transformedOn', string()],\n userId: ['userId', string()],\n inputtedFile: ['inputtedFile', string()],\n generatedFile: ['generatedFile', string()],\n exportFormat: ['exportFormat', string()],\n transformationSource: ['transformationSource', string()],\n transformationInput: ['transformationInput', string()],\n codeGenVersion: ['codeGenVersion', string()],\n success: ['success', boolean()],\n importSummary: [\n 'importSummary',\n optional(lazy(() => apiValidationSummarySchema)),\n ],\n apiValidationSummary: [\n 'apiValidationSummary',\n optional(lazy(() => apiValidationSummarySchema)),\n ],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { object, Schema, string } from '../schema';\nimport { ExportFormats, exportFormatsSchema } from './exportFormats';\n\n/** This structure puts together the URL of the file to be transformed, along with the desired export format. */\nexport interface TransformViaUrlRequest {\n /** The URL for the API specification file.

**Note:** This URL should be publicly accessible. */\n url: string;\n /** The structure contains API specification formats that Transformer can convert to. */\n exportFormat: ExportFormats;\n}\n\nexport const transformViaUrlRequestSchema: Schema = object(\n {\n url: ['url', string()],\n exportFormat: ['export_format', exportFormatsSchema],\n }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { ApiResponse, FileWrapper, RequestOptions } from '../core';\nimport { ExportFormats, exportFormatsSchema } from '../models/exportFormats';\nimport { Transformation, transformationSchema } from '../models/transformation';\nimport {\n TransformViaUrlRequest,\n transformViaUrlRequestSchema,\n} from '../models/transformViaUrlRequest';\nimport { array, string } from '../schema';\nimport { BaseController } from './baseController';\n\nexport class TransformationController extends BaseController {\n /**\n * Transform an API into any of the supported API specification formats by uploading the API\n * specification file.\n *\n * This endpoint transforms and then uploads the transformed API specification to APIMatic's cloud\n * storage. An ID for the transformation performed is returned as part of the response.\n *\n * @param file The API specification file.
The type of the specification file should be\n * any of the [supported formats](https://docs.apimatic.io/api-\n * transformer/overview-transformer#supported-input-formats).\n * @param exportFormat The structure contains API specification formats that Transformer can\n * convert to.\n * @return Response from the API call\n */\n async transformViaFile(\n file: FileWrapper,\n exportFormat: ExportFormats,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest(\n 'POST',\n '/transformations/transform-via-file'\n );\n const mapped = req.prepareArgs({\n exportFormat: [exportFormat, exportFormatsSchema],\n });\n req.header('ContentType', 'multipart/form-data');\n req.formData({\n file: file,\n export_format: mapped.exportFormat,\n });\n return req.callAsJson(transformationSchema, requestOptions);\n }\n\n /**\n * Transform an API into any of the supported API specification formats by providing the URL of the API\n * specification file.\n *\n * This endpoint transforms and then uploads the transformed API specification to APIMatic's cloud\n * storage. An ID for the transformation performed is returned as part of the response.\n *\n * @param body Request Body\n * @return Response from the API call\n */\n async transformViaURL(\n body: TransformViaUrlRequest,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest(\n 'POST',\n '/transformations/transform-via-url'\n );\n const mapped = req.prepareArgs({\n body: [body, transformViaUrlRequestSchema],\n });\n req.header(\n 'Content-Type',\n 'application/vnd.apimatic.urlTransformDto.v1+json'\n );\n req.json(mapped.body);\n return req.callAsJson(transformationSchema, requestOptions);\n }\n\n /**\n * Download the transformed API specification file transformed via the Transformation endpoints.\n *\n * @param transformationId The ID of transformation received in the response of the [Transform Via File\n * ](https://www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-\n * endpoints/transformation/transform-via-file) or [Transform Via URL ](https:\n * //www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-\n * endpoints/transformation/transform-via-url) calls.\n * @return Response from the API call\n */\n async downloadTransformedFile(\n transformationId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({\n transformationId: [transformationId, string()],\n });\n req.appendTemplatePath`/transformations/${mapped.transformationId}/converted-file`;\n return req.callAsStream(requestOptions);\n }\n\n /**\n * Download the API Specification file used as input for a particular Transformation performed via the\n * Transformation endpoints.\n *\n * @param transformationId The ID of the transformation to download the API specification for. The\n * transformation ID is received in the response of the [Transform Via File\n * ](https://www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-\n * endpoints/transformation/transform-via-file) or [Transform Via URL](https://www.\n * apimatic.io/api-docs-preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-\n * endpoints/transformation/transform-via-url) calls.\n * @return Response from the API call\n */\n async downloadInputFile(\n transformationId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({\n transformationId: [transformationId, string()],\n });\n req.appendTemplatePath`/transformations/${mapped.transformationId}/input-file`;\n return req.callAsStream(requestOptions);\n }\n\n /**\n * Get a list of all API transformations performed.\n *\n * @return Response from the API call\n */\n async listAllTransformations(\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET', '/transformations');\n return req.callAsJson(array(transformationSchema), requestOptions);\n }\n\n /**\n * Get details on a particular Transformation performed via the Transformation endpoints.\n *\n * @param transformationId The ID of the transformation to fetch. The transformation ID is received in\n * the response of the [Transform Via File ](https://www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-\n * endpoints/transformation/transform-via-file) or [Transform Via URL ](https:\n * //www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-\n * endpoints/transformation/transform-via-url) calls.\n * @return Response from the API call\n */\n async getATransformation(\n transformationId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({\n transformationId: [transformationId, string()],\n });\n req.appendTemplatePath`/transformations/${mapped.transformationId}`;\n return req.callAsJson(transformationSchema, requestOptions);\n }\n\n /**\n * Delete a particular Transformation performed for an API via the Transformation endpoints.\n *\n * @param transformationId The ID of the transformation to delete. The transformation ID is received in\n * the response of the [Transform Via File ](https://www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-\n * endpoints/transformation/transform-via-file) or [Transform Via URL](https://www.\n * apimatic.io/api-docs-preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-\n * endpoints/transformation/transform-via-url) calls.\n * @return Response from the API call\n */\n async deleteTransformation(\n transformationId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('DELETE');\n const mapped = req.prepareArgs({\n transformationId: [transformationId, string()],\n });\n req.appendTemplatePath`/transformations/${mapped.transformationId}`;\n return req.call(requestOptions);\n }\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { Schema, stringEnum } from '../schema';\n\n/**\n * Enum for ContentType\n */\nexport enum ContentType {\n EnumMultipartformdata = 'multipart/form-data',\n}\n\n/**\n * Schema for ContentType\n */\nexport const contentTypeSchema: Schema = stringEnum(ContentType);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { Schema, stringEnum } from '../schema';\n\n/**\n * Enum for ImplementationType\n */\nexport enum ImplementationType {\n Structure = 'Structure',\n Enumeration = 'Enumeration',\n Exception = 'Exception',\n}\n\n/**\n * Schema for ImplementationType\n */\nexport const implementationTypeSchema: Schema = stringEnum(ImplementationType);\n"],"names":["undefined","customHeaderAuthenticationProvider","authorization","requiresAuth","passThroughInterceptor","request","options","next","customHeaderParams","mergeHeaders","headers","Environment","DEFAULT_CONFIGURATION","timeout","environment","Production","XmlSerialization","xmlSerialize","_rootName","_value","Error","xmlDeserialize","_xmlString","USER_AGENT","Client","config","_config","_requestBuilderFactory","createRequestHandlerFactory","server","getBaseUri","HttpClient","clientConfigOverrides","unstable_httpClientOptions","withErrorHandlers","withUserAgent","withAuthenticationByDefault","getRequestBuilderFactory","withConfiguration","createHttpClientAdapter","client","requestOptions","executeRequest","baseUrlProvider","authProvider","httpClient","addons","xmlSerializer","requestBuilderFactory","createRequestBuilderFactory","ApiError","tap","callback","requestBuilder","forEach","c","rb","defaultToError","header","authenticate","apiValidationSummarySchema","object","success","boolean","errors","array","string","warnings","messages","BaseController","createRequest","APIValidationExternalApisController","validateAPIViaFile","file","req","baseUrl","formData","callAsJson","validateAPIViaURL","descriptionUrl","mapped","prepareArgs","query","docsValidationSummarySchema","APIValidationImportedApisController","validateAPI","apiEntityId","appendTemplatePath","validateAPIForDocs","Accept","acceptSchema","stringEnum","Accept2","accept2Schema","authenticationSchema","id","authType","scopes","parameters","authScopes","authGrantTypes","paramFormats","unknown","codeGenSettingsSchema","isAsync","useHttpMethodPrefix","useModelPrefix","useEnumPrefix","useConstructorsForConfig","useCommonSdkLibrary","generateInterfaces","generateAppveyorConfig","generateCircleConfig","generateJenkinsConfig","generateTravisConfig","androidUseAppManifest","iosUseAppInfoPlist","iosGenerateCoreData","runscopeEnabled","collapseParamsToArray","preserveParameterOrder","appendContentHeaders","modelSerializationIsJSON","nullify404","validateRequiredParameters","enableAdditionalModelProperties","javaUsePropertiesConfig","useControllerPrefix","useExceptionPrefix","parameterArrayFormat","objCHttpClient","cSharpHttpClient","androidHttpClient","nodeHttpClient","phpHttpClient","bodySerialization","number","arraySerialization","enableLogging","enableHttpCache","retries","retryInterval","generateAdvancedDocs","storeTimezoneInformation","enablePhpComposerVersionString","securityProtocols","underscoreNumbers","useSingletonPattern","disableLinting","allowSkippingSSLCertVerification","applyCustomizations","doNotSplitWords","sortResources","enableGlobalUserAgent","endpointsGroupSchema","name","description","importValidationSummarySchema","metaDataSchema","importValidationSummary","lazy","apiValidationSummary","docsValidationSummary","serverSchema","url","environmentSchema","servers","attributesSchema","parameterSchema","optional","type","constant","isArray","isStream","isAttribute","isMap","attributes","nullable","defaultValue","paramFormat","serverConfigurationSchema","defaultEnvironment","defaultServer","environments","testGenSettingsSchema","precisionDelta","testTimeout","configuration","apiEntitySchema","encryptedId","apiKey","apiGroupId","imageUri","creationDate","mPublic","version","additionalHeaders","authentication","codeGenSettings","testGenSettings","serverConfiguration","endpointsGroup","metaData","ExportFormats","exportFormatsSchema","importApiVersionViaUrlRequestSchema","versionOverride","importApiViaUrlRequestSchema","inplaceImportApiViaUrlRequestSchema","ApisManagementController","importAPIViaFile","importAPIViaURL","body","json","importNewAPIVersionViaFile","accept","version_override","importNewAPIVersionViaURL","inplaceAPIImportViaFile","call","inplaceAPIImportViaURL","fetchAPIEntity","downloadAPISpecification","format","callAsStream","Platforms","platformsSchema","generateSdkViaUrlRequestSchema","template","userCodeGenerationSchema","generatedFile","generatedOn","hashCode","codeGenerationSource","codeGenVersion","userId","inputFile","CodeGenerationExternalApisController","generateSDKViaFile","generateSDKViaURL","downloadSDK","codegenId","listAllCodeGenerations","downloadInputFile","getACodeGeneration","deleteCodeGeneration1","aPIEntityCodeGenerationSchema","CodeGenerationImportedApisController","generateSDK","form","deleteCodeGeneration","Accept3","accept3Schema","DocsPortalManagementController","publishHostedPortal","publishEmbeddedPortal","generateOnPremPortalViaAPIEntity","generateOnPremPortalViaBuildInput","unpublishPortal","Id","idSchema","Link","linkSchema","cSNETSTANDARDLIBSchema","packageRepository","packageName","additionalDeploymentInformation","link","templatesPackageDeploymentInformationSchema","cSNETSTANDARDLIB","packageDeploymentInformationSchema","templatesPackageDeploymentInformation","authorIdentifiersSchema","email","userName","publishedPackageSchema","createdOn","authorIdentifiers","PackageRepositories","packageRepositoriesSchema","publishPackageInputSchema","updateTemplatesPackageDeploymentInformationSchema","updatePackageDeploymentInformationSchema","PackageDeploymentController","updatePackageDeploymentInformation","packageDeploymentInformation","getPublishedPackagesForAPI","publishAPackageForAPI","getAPublishedPackage","publishedPackageId","transformationSchema","transformedOn","inputtedFile","exportFormat","transformationSource","transformationInput","importSummary","transformViaUrlRequestSchema","TransformationController","transformViaFile","export_format","transformViaURL","downloadTransformedFile","transformationId","listAllTransformations","getATransformation","deleteTransformation","ContentType","ImplementationType"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,OAAO,IAAI,UAAU,OAAO,EAAE;AAElC;AACA,EAAE,IAAI,EAAE,GAAG,MAAM,CAAC,SAAS,CAAC;AAC5B,EAAE,IAAI,MAAM,GAAG,EAAE,CAAC,cAAc,CAAC;AACjC,EAAE,IAAIA,WAAS,CAAC;AAChB,EAAE,IAAI,OAAO,GAAG,OAAO,MAAM,KAAK,UAAU,GAAG,MAAM,GAAG,EAAE,CAAC;AAC3D,EAAE,IAAI,cAAc,GAAG,OAAO,CAAC,QAAQ,IAAI,YAAY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YA,kBAAkB,KAAlBA,kBAAkB,KAAA,CAA9B;;;;"} \ No newline at end of file +{"version":3,"file":"sdk.esm.js","sources":["../node_modules/regenerator-runtime/runtime.js","../src/authentication.ts","../src/configuration.ts","../src/defaultConfiguration.ts","../src/http/xmlSerialization.ts","../src/client.ts","../src/models/apiValidationSummary.ts","../src/controllers/baseController.ts","../src/controllers/aPIValidationExternalApisController.ts","../src/models/docsValidationSummary.ts","../src/controllers/aPIValidationImportedApisController.ts","../src/models/accept.ts","../src/models/accept2.ts","../src/models/authentication.ts","../src/models/codeGenSettings.ts","../src/models/endpointsGroup.ts","../src/models/importValidationSummary.ts","../src/models/metaData.ts","../src/models/server.ts","../src/models/environment.ts","../src/models/attributes.ts","../src/models/parameter.ts","../src/models/serverConfiguration.ts","../src/models/testGenSettings.ts","../src/models/apiEntity.ts","../src/models/exportFormats.ts","../src/models/importApiVersionViaUrlRequest.ts","../src/models/importApiViaUrlRequest.ts","../src/models/inplaceImportApiViaUrlRequest.ts","../src/controllers/apisManagementController.ts","../src/models/platforms.ts","../src/models/generateSdkViaUrlRequest.ts","../src/models/userCodeGeneration.ts","../src/controllers/codeGenerationExternalApisController.ts","../src/models/aPIEntityCodeGeneration.ts","../src/controllers/codeGenerationImportedApisController.ts","../src/models/accept3.ts","../src/controllers/docsPortalManagementController.ts","../src/models/id.ts","../src/models/link.ts","../src/models/cSNETSTANDARDLIB.ts","../src/models/templatesPackageDeploymentInformation.ts","../src/models/packageDeploymentInformation.ts","../src/models/authorIdentifiers.ts","../src/models/publishedPackage.ts","../src/models/packageRepositories.ts","../src/models/publishPackageInput.ts","../src/models/updateTemplatesPackageDeploymentInformation.ts","../src/models/updatePackageDeploymentInformation.ts","../src/controllers/packageDeploymentController.ts","../src/models/transformation.ts","../src/models/transformViaUrlRequest.ts","../src/controllers/transformationController.ts","../src/models/contentType.ts","../src/models/implementationType.ts"],"sourcesContent":["/**\n * Copyright (c) 2014-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nvar runtime = (function (exports) {\n \"use strict\";\n\n var Op = Object.prototype;\n var hasOwn = Op.hasOwnProperty;\n var undefined; // More compressible than void 0.\n var $Symbol = typeof Symbol === \"function\" ? Symbol : {};\n var iteratorSymbol = $Symbol.iterator || \"@@iterator\";\n var asyncIteratorSymbol = $Symbol.asyncIterator || \"@@asyncIterator\";\n var toStringTagSymbol = $Symbol.toStringTag || \"@@toStringTag\";\n\n function define(obj, key, value) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n return obj[key];\n }\n try {\n // IE 8 has a broken Object.defineProperty that only works on DOM objects.\n define({}, \"\");\n } catch (err) {\n define = function(obj, key, value) {\n return obj[key] = value;\n };\n }\n\n function wrap(innerFn, outerFn, self, tryLocsList) {\n // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.\n var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;\n var generator = Object.create(protoGenerator.prototype);\n var context = new Context(tryLocsList || []);\n\n // The ._invoke method unifies the implementations of the .next,\n // .throw, and .return methods.\n generator._invoke = makeInvokeMethod(innerFn, self, context);\n\n return generator;\n }\n exports.wrap = wrap;\n\n // Try/catch helper to minimize deoptimizations. Returns a completion\n // record like context.tryEntries[i].completion. This interface could\n // have been (and was previously) designed to take a closure to be\n // invoked without arguments, but in all the cases we care about we\n // already have an existing method we want to call, so there's no need\n // to create a new function object. We can even get away with assuming\n // the method takes exactly one argument, since that happens to be true\n // in every case, so we don't have to touch the arguments object. The\n // only additional allocation required is the completion record, which\n // has a stable shape and so hopefully should be cheap to allocate.\n function tryCatch(fn, obj, arg) {\n try {\n return { type: \"normal\", arg: fn.call(obj, arg) };\n } catch (err) {\n return { type: \"throw\", arg: err };\n }\n }\n\n var GenStateSuspendedStart = \"suspendedStart\";\n var GenStateSuspendedYield = \"suspendedYield\";\n var GenStateExecuting = \"executing\";\n var GenStateCompleted = \"completed\";\n\n // Returning this object from the innerFn has the same effect as\n // breaking out of the dispatch switch statement.\n var ContinueSentinel = {};\n\n // Dummy constructor functions that we use as the .constructor and\n // .constructor.prototype properties for functions that return Generator\n // objects. For full spec compliance, you may wish to configure your\n // minifier not to mangle the names of these two functions.\n function Generator() {}\n function GeneratorFunction() {}\n function GeneratorFunctionPrototype() {}\n\n // This is a polyfill for %IteratorPrototype% for environments that\n // don't natively support it.\n var IteratorPrototype = {};\n define(IteratorPrototype, iteratorSymbol, function () {\n return this;\n });\n\n var getProto = Object.getPrototypeOf;\n var NativeIteratorPrototype = getProto && getProto(getProto(values([])));\n if (NativeIteratorPrototype &&\n NativeIteratorPrototype !== Op &&\n hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {\n // This environment has a native %IteratorPrototype%; use it instead\n // of the polyfill.\n IteratorPrototype = NativeIteratorPrototype;\n }\n\n var Gp = GeneratorFunctionPrototype.prototype =\n Generator.prototype = Object.create(IteratorPrototype);\n GeneratorFunction.prototype = GeneratorFunctionPrototype;\n define(Gp, \"constructor\", GeneratorFunctionPrototype);\n define(GeneratorFunctionPrototype, \"constructor\", GeneratorFunction);\n GeneratorFunction.displayName = define(\n GeneratorFunctionPrototype,\n toStringTagSymbol,\n \"GeneratorFunction\"\n );\n\n // Helper for defining the .next, .throw, and .return methods of the\n // Iterator interface in terms of a single ._invoke method.\n function defineIteratorMethods(prototype) {\n [\"next\", \"throw\", \"return\"].forEach(function(method) {\n define(prototype, method, function(arg) {\n return this._invoke(method, arg);\n });\n });\n }\n\n exports.isGeneratorFunction = function(genFun) {\n var ctor = typeof genFun === \"function\" && genFun.constructor;\n return ctor\n ? ctor === GeneratorFunction ||\n // For the native GeneratorFunction constructor, the best we can\n // do is to check its .name property.\n (ctor.displayName || ctor.name) === \"GeneratorFunction\"\n : false;\n };\n\n exports.mark = function(genFun) {\n if (Object.setPrototypeOf) {\n Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);\n } else {\n genFun.__proto__ = GeneratorFunctionPrototype;\n define(genFun, toStringTagSymbol, \"GeneratorFunction\");\n }\n genFun.prototype = Object.create(Gp);\n return genFun;\n };\n\n // Within the body of any async function, `await x` is transformed to\n // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test\n // `hasOwn.call(value, \"__await\")` to determine if the yielded value is\n // meant to be awaited.\n exports.awrap = function(arg) {\n return { __await: arg };\n };\n\n function AsyncIterator(generator, PromiseImpl) {\n function invoke(method, arg, resolve, reject) {\n var record = tryCatch(generator[method], generator, arg);\n if (record.type === \"throw\") {\n reject(record.arg);\n } else {\n var result = record.arg;\n var value = result.value;\n if (value &&\n typeof value === \"object\" &&\n hasOwn.call(value, \"__await\")) {\n return PromiseImpl.resolve(value.__await).then(function(value) {\n invoke(\"next\", value, resolve, reject);\n }, function(err) {\n invoke(\"throw\", err, resolve, reject);\n });\n }\n\n return PromiseImpl.resolve(value).then(function(unwrapped) {\n // When a yielded Promise is resolved, its final value becomes\n // the .value of the Promise<{value,done}> result for the\n // current iteration.\n result.value = unwrapped;\n resolve(result);\n }, function(error) {\n // If a rejected Promise was yielded, throw the rejection back\n // into the async generator function so it can be handled there.\n return invoke(\"throw\", error, resolve, reject);\n });\n }\n }\n\n var previousPromise;\n\n function enqueue(method, arg) {\n function callInvokeWithMethodAndArg() {\n return new PromiseImpl(function(resolve, reject) {\n invoke(method, arg, resolve, reject);\n });\n }\n\n return previousPromise =\n // If enqueue has been called before, then we want to wait until\n // all previous Promises have been resolved before calling invoke,\n // so that results are always delivered in the correct order. If\n // enqueue has not been called before, then it is important to\n // call invoke immediately, without waiting on a callback to fire,\n // so that the async generator function has the opportunity to do\n // any necessary setup in a predictable way. This predictability\n // is why the Promise constructor synchronously invokes its\n // executor callback, and why async functions synchronously\n // execute code before the first await. Since we implement simple\n // async functions in terms of async generators, it is especially\n // important to get this right, even though it requires care.\n previousPromise ? previousPromise.then(\n callInvokeWithMethodAndArg,\n // Avoid propagating failures to Promises returned by later\n // invocations of the iterator.\n callInvokeWithMethodAndArg\n ) : callInvokeWithMethodAndArg();\n }\n\n // Define the unified helper method that is used to implement .next,\n // .throw, and .return (see defineIteratorMethods).\n this._invoke = enqueue;\n }\n\n defineIteratorMethods(AsyncIterator.prototype);\n define(AsyncIterator.prototype, asyncIteratorSymbol, function () {\n return this;\n });\n exports.AsyncIterator = AsyncIterator;\n\n // Note that simple async functions are implemented on top of\n // AsyncIterator objects; they just return a Promise for the value of\n // the final result produced by the iterator.\n exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) {\n if (PromiseImpl === void 0) PromiseImpl = Promise;\n\n var iter = new AsyncIterator(\n wrap(innerFn, outerFn, self, tryLocsList),\n PromiseImpl\n );\n\n return exports.isGeneratorFunction(outerFn)\n ? iter // If outerFn is a generator, return the full iterator.\n : iter.next().then(function(result) {\n return result.done ? result.value : iter.next();\n });\n };\n\n function makeInvokeMethod(innerFn, self, context) {\n var state = GenStateSuspendedStart;\n\n return function invoke(method, arg) {\n if (state === GenStateExecuting) {\n throw new Error(\"Generator is already running\");\n }\n\n if (state === GenStateCompleted) {\n if (method === \"throw\") {\n throw arg;\n }\n\n // Be forgiving, per 25.3.3.3.3 of the spec:\n // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume\n return doneResult();\n }\n\n context.method = method;\n context.arg = arg;\n\n while (true) {\n var delegate = context.delegate;\n if (delegate) {\n var delegateResult = maybeInvokeDelegate(delegate, context);\n if (delegateResult) {\n if (delegateResult === ContinueSentinel) continue;\n return delegateResult;\n }\n }\n\n if (context.method === \"next\") {\n // Setting context._sent for legacy support of Babel's\n // function.sent implementation.\n context.sent = context._sent = context.arg;\n\n } else if (context.method === \"throw\") {\n if (state === GenStateSuspendedStart) {\n state = GenStateCompleted;\n throw context.arg;\n }\n\n context.dispatchException(context.arg);\n\n } else if (context.method === \"return\") {\n context.abrupt(\"return\", context.arg);\n }\n\n state = GenStateExecuting;\n\n var record = tryCatch(innerFn, self, context);\n if (record.type === \"normal\") {\n // If an exception is thrown from innerFn, we leave state ===\n // GenStateExecuting and loop back for another invocation.\n state = context.done\n ? GenStateCompleted\n : GenStateSuspendedYield;\n\n if (record.arg === ContinueSentinel) {\n continue;\n }\n\n return {\n value: record.arg,\n done: context.done\n };\n\n } else if (record.type === \"throw\") {\n state = GenStateCompleted;\n // Dispatch the exception by looping back around to the\n // context.dispatchException(context.arg) call above.\n context.method = \"throw\";\n context.arg = record.arg;\n }\n }\n };\n }\n\n // Call delegate.iterator[context.method](context.arg) and handle the\n // result, either by returning a { value, done } result from the\n // delegate iterator, or by modifying context.method and context.arg,\n // setting context.delegate to null, and returning the ContinueSentinel.\n function maybeInvokeDelegate(delegate, context) {\n var method = delegate.iterator[context.method];\n if (method === undefined) {\n // A .throw or .return when the delegate iterator has no .throw\n // method always terminates the yield* loop.\n context.delegate = null;\n\n if (context.method === \"throw\") {\n // Note: [\"return\"] must be used for ES3 parsing compatibility.\n if (delegate.iterator[\"return\"]) {\n // If the delegate iterator has a return method, give it a\n // chance to clean up.\n context.method = \"return\";\n context.arg = undefined;\n maybeInvokeDelegate(delegate, context);\n\n if (context.method === \"throw\") {\n // If maybeInvokeDelegate(context) changed context.method from\n // \"return\" to \"throw\", let that override the TypeError below.\n return ContinueSentinel;\n }\n }\n\n context.method = \"throw\";\n context.arg = new TypeError(\n \"The iterator does not provide a 'throw' method\");\n }\n\n return ContinueSentinel;\n }\n\n var record = tryCatch(method, delegate.iterator, context.arg);\n\n if (record.type === \"throw\") {\n context.method = \"throw\";\n context.arg = record.arg;\n context.delegate = null;\n return ContinueSentinel;\n }\n\n var info = record.arg;\n\n if (! info) {\n context.method = \"throw\";\n context.arg = new TypeError(\"iterator result is not an object\");\n context.delegate = null;\n return ContinueSentinel;\n }\n\n if (info.done) {\n // Assign the result of the finished delegate to the temporary\n // variable specified by delegate.resultName (see delegateYield).\n context[delegate.resultName] = info.value;\n\n // Resume execution at the desired location (see delegateYield).\n context.next = delegate.nextLoc;\n\n // If context.method was \"throw\" but the delegate handled the\n // exception, let the outer generator proceed normally. If\n // context.method was \"next\", forget context.arg since it has been\n // \"consumed\" by the delegate iterator. If context.method was\n // \"return\", allow the original .return call to continue in the\n // outer generator.\n if (context.method !== \"return\") {\n context.method = \"next\";\n context.arg = undefined;\n }\n\n } else {\n // Re-yield the result returned by the delegate method.\n return info;\n }\n\n // The delegate iterator is finished, so forget it and continue with\n // the outer generator.\n context.delegate = null;\n return ContinueSentinel;\n }\n\n // Define Generator.prototype.{next,throw,return} in terms of the\n // unified ._invoke helper method.\n defineIteratorMethods(Gp);\n\n define(Gp, toStringTagSymbol, \"Generator\");\n\n // A Generator should always return itself as the iterator object when the\n // @@iterator function is called on it. Some browsers' implementations of the\n // iterator prototype chain incorrectly implement this, causing the Generator\n // object to not be returned from this call. This ensures that doesn't happen.\n // See https://github.com/facebook/regenerator/issues/274 for more details.\n define(Gp, iteratorSymbol, function() {\n return this;\n });\n\n define(Gp, \"toString\", function() {\n return \"[object Generator]\";\n });\n\n function pushTryEntry(locs) {\n var entry = { tryLoc: locs[0] };\n\n if (1 in locs) {\n entry.catchLoc = locs[1];\n }\n\n if (2 in locs) {\n entry.finallyLoc = locs[2];\n entry.afterLoc = locs[3];\n }\n\n this.tryEntries.push(entry);\n }\n\n function resetTryEntry(entry) {\n var record = entry.completion || {};\n record.type = \"normal\";\n delete record.arg;\n entry.completion = record;\n }\n\n function Context(tryLocsList) {\n // The root entry object (effectively a try statement without a catch\n // or a finally block) gives us a place to store values thrown from\n // locations where there is no enclosing try statement.\n this.tryEntries = [{ tryLoc: \"root\" }];\n tryLocsList.forEach(pushTryEntry, this);\n this.reset(true);\n }\n\n exports.keys = function(object) {\n var keys = [];\n for (var key in object) {\n keys.push(key);\n }\n keys.reverse();\n\n // Rather than returning an object with a next method, we keep\n // things simple and return the next function itself.\n return function next() {\n while (keys.length) {\n var key = keys.pop();\n if (key in object) {\n next.value = key;\n next.done = false;\n return next;\n }\n }\n\n // To avoid creating an additional object, we just hang the .value\n // and .done properties off the next function object itself. This\n // also ensures that the minifier will not anonymize the function.\n next.done = true;\n return next;\n };\n };\n\n function values(iterable) {\n if (iterable) {\n var iteratorMethod = iterable[iteratorSymbol];\n if (iteratorMethod) {\n return iteratorMethod.call(iterable);\n }\n\n if (typeof iterable.next === \"function\") {\n return iterable;\n }\n\n if (!isNaN(iterable.length)) {\n var i = -1, next = function next() {\n while (++i < iterable.length) {\n if (hasOwn.call(iterable, i)) {\n next.value = iterable[i];\n next.done = false;\n return next;\n }\n }\n\n next.value = undefined;\n next.done = true;\n\n return next;\n };\n\n return next.next = next;\n }\n }\n\n // Return an iterator with no values.\n return { next: doneResult };\n }\n exports.values = values;\n\n function doneResult() {\n return { value: undefined, done: true };\n }\n\n Context.prototype = {\n constructor: Context,\n\n reset: function(skipTempReset) {\n this.prev = 0;\n this.next = 0;\n // Resetting context._sent for legacy support of Babel's\n // function.sent implementation.\n this.sent = this._sent = undefined;\n this.done = false;\n this.delegate = null;\n\n this.method = \"next\";\n this.arg = undefined;\n\n this.tryEntries.forEach(resetTryEntry);\n\n if (!skipTempReset) {\n for (var name in this) {\n // Not sure about the optimal order of these conditions:\n if (name.charAt(0) === \"t\" &&\n hasOwn.call(this, name) &&\n !isNaN(+name.slice(1))) {\n this[name] = undefined;\n }\n }\n }\n },\n\n stop: function() {\n this.done = true;\n\n var rootEntry = this.tryEntries[0];\n var rootRecord = rootEntry.completion;\n if (rootRecord.type === \"throw\") {\n throw rootRecord.arg;\n }\n\n return this.rval;\n },\n\n dispatchException: function(exception) {\n if (this.done) {\n throw exception;\n }\n\n var context = this;\n function handle(loc, caught) {\n record.type = \"throw\";\n record.arg = exception;\n context.next = loc;\n\n if (caught) {\n // If the dispatched exception was caught by a catch block,\n // then let that catch block handle the exception normally.\n context.method = \"next\";\n context.arg = undefined;\n }\n\n return !! caught;\n }\n\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n var record = entry.completion;\n\n if (entry.tryLoc === \"root\") {\n // Exception thrown outside of any try block that could handle\n // it, so set the completion value of the entire function to\n // throw the exception.\n return handle(\"end\");\n }\n\n if (entry.tryLoc <= this.prev) {\n var hasCatch = hasOwn.call(entry, \"catchLoc\");\n var hasFinally = hasOwn.call(entry, \"finallyLoc\");\n\n if (hasCatch && hasFinally) {\n if (this.prev < entry.catchLoc) {\n return handle(entry.catchLoc, true);\n } else if (this.prev < entry.finallyLoc) {\n return handle(entry.finallyLoc);\n }\n\n } else if (hasCatch) {\n if (this.prev < entry.catchLoc) {\n return handle(entry.catchLoc, true);\n }\n\n } else if (hasFinally) {\n if (this.prev < entry.finallyLoc) {\n return handle(entry.finallyLoc);\n }\n\n } else {\n throw new Error(\"try statement without catch or finally\");\n }\n }\n }\n },\n\n abrupt: function(type, arg) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc <= this.prev &&\n hasOwn.call(entry, \"finallyLoc\") &&\n this.prev < entry.finallyLoc) {\n var finallyEntry = entry;\n break;\n }\n }\n\n if (finallyEntry &&\n (type === \"break\" ||\n type === \"continue\") &&\n finallyEntry.tryLoc <= arg &&\n arg <= finallyEntry.finallyLoc) {\n // Ignore the finally entry if control is not jumping to a\n // location outside the try/catch block.\n finallyEntry = null;\n }\n\n var record = finallyEntry ? finallyEntry.completion : {};\n record.type = type;\n record.arg = arg;\n\n if (finallyEntry) {\n this.method = \"next\";\n this.next = finallyEntry.finallyLoc;\n return ContinueSentinel;\n }\n\n return this.complete(record);\n },\n\n complete: function(record, afterLoc) {\n if (record.type === \"throw\") {\n throw record.arg;\n }\n\n if (record.type === \"break\" ||\n record.type === \"continue\") {\n this.next = record.arg;\n } else if (record.type === \"return\") {\n this.rval = this.arg = record.arg;\n this.method = \"return\";\n this.next = \"end\";\n } else if (record.type === \"normal\" && afterLoc) {\n this.next = afterLoc;\n }\n\n return ContinueSentinel;\n },\n\n finish: function(finallyLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.finallyLoc === finallyLoc) {\n this.complete(entry.completion, entry.afterLoc);\n resetTryEntry(entry);\n return ContinueSentinel;\n }\n }\n },\n\n \"catch\": function(tryLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc === tryLoc) {\n var record = entry.completion;\n if (record.type === \"throw\") {\n var thrown = record.arg;\n resetTryEntry(entry);\n }\n return thrown;\n }\n }\n\n // The context.catch method must only be called with a location\n // argument that corresponds to a known catch block.\n throw new Error(\"illegal catch attempt\");\n },\n\n delegateYield: function(iterable, resultName, nextLoc) {\n this.delegate = {\n iterator: values(iterable),\n resultName: resultName,\n nextLoc: nextLoc\n };\n\n if (this.method === \"next\") {\n // Deliberately forget the last sent value so that we don't\n // accidentally pass it on to the delegate.\n this.arg = undefined;\n }\n\n return ContinueSentinel;\n }\n };\n\n // Regardless of whether this script is executing as a CommonJS module\n // or not, return the runtime object so that we can declare the variable\n // regeneratorRuntime in the outer scope, which allows this module to be\n // injected easily by `bin/regenerator --include-runtime script.js`.\n return exports;\n\n}(\n // If this script is executing as a CommonJS module, use module.exports\n // as the regeneratorRuntime namespace. Otherwise create a new empty\n // object. Either way, the resulting object will be used to initialize\n // the regeneratorRuntime variable at the top of this file.\n typeof module === \"object\" ? module.exports : {}\n));\n\ntry {\n regeneratorRuntime = runtime;\n} catch (accidentalStrictMode) {\n // This module should not be running in strict mode, so the above\n // assignment should always work unless something is misconfigured. Just\n // in case runtime.js accidentally runs in strict mode, in modern engines\n // we can explicitly access globalThis. In older engines we can escape\n // strict mode using a global Function call. This could conceivably fail\n // if a Content Security Policy forbids using Function, but in that case\n // the proper solution is to fix the accidental strict mode problem. If\n // you've misconfigured your bundler to force strict mode and applied a\n // CSP to forbid Function, and you're not willing to fix either of those\n // problems, please detail your unique predicament in a GitHub issue.\n if (typeof globalThis === \"object\") {\n globalThis.regeneratorRuntime = runtime;\n } else {\n Function(\"r\", \"regeneratorRuntime = r\")(runtime);\n }\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { mergeHeaders } from './core';\nimport { passThroughInterceptor } from './core';\nimport { AuthenticatorInterface } from './core';\n\n/** None authentication provider */\nexport const noneAuthenticationProvider = () => passThroughInterceptor;\n\nexport const customHeaderAuthenticationProvider = ({\n authorization,\n}: {\n authorization: string;\n}): AuthenticatorInterface => {\n return (requiresAuth?: boolean) => {\n if (!requiresAuth) {\n return passThroughInterceptor;\n }\n\n return (request, options, next) => {\n const customHeaderParams = {\n 'Authorization': authorization,\n };\n mergeHeaders(request.headers ?? {}, customHeaderParams);\n\n return next(request, options);\n };\n };\n};\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\n/** An interface for all configuration parameters required by the SDK. */\nexport interface Configuration {\n timeout: number;\n environment: Environment;\n authorization: string;\n unstable_httpClientOptions?: any;\n}\n\n/** Environments available for API */\nexport enum Environment {\n Production = 'production',\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { Configuration, Environment } from './configuration';\n\n/** Default values for the configuration parameters of the client. */\nexport const DEFAULT_CONFIGURATION: Configuration = {\n timeout: 0,\n environment: Environment.Production,\n authorization: 'TODO Authorization value',\n};\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nexport class XmlSerialization {\n public xmlSerialize(_rootName: string, _value: unknown): string {\n throw new Error('XML serialization is not available.');\n }\n\n public xmlDeserialize(\n _rootName: string,\n _xmlString: string\n ): Promise {\n throw new Error('XML deserialization is not available.');\n }\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { customHeaderAuthenticationProvider } from './authentication';\nimport {\n AuthParams,\n ClientInterface,\n SdkRequestBuilder,\n SdkRequestBuilderFactory,\n Server,\n} from './clientInterface';\nimport { Configuration, Environment } from './configuration';\nimport { DEFAULT_CONFIGURATION } from './defaultConfiguration';\nimport { ApiError } from './core';\nimport {\n AuthenticatorInterface,\n createRequestBuilderFactory,\n HttpClient,\n HttpClientInterface,\n XmlSerializerInterface,\n} from './core';\nimport { XmlSerialization } from './http/xmlSerialization';\n\nconst USER_AGENT = 'APIMATIC 3.0';\n\nexport class Client implements ClientInterface {\n private _config: Readonly;\n private _requestBuilderFactory: SdkRequestBuilderFactory;\n\n constructor(config?: Partial) {\n this._config = {\n ...DEFAULT_CONFIGURATION,\n ...config,\n };\n this._requestBuilderFactory = createRequestHandlerFactory(\n server => getBaseUri(server, this._config),\n customHeaderAuthenticationProvider(this._config),\n new HttpClient({\n timeout: this._config.timeout,\n clientConfigOverrides: this._config.unstable_httpClientOptions,\n }),\n [\n withErrorHandlers,\n withUserAgent,\n withAuthenticationByDefault,\n ],\n new XmlSerialization()\n );\n }\n\n public getRequestBuilderFactory(): SdkRequestBuilderFactory {\n return this._requestBuilderFactory;\n }\n\n /**\n * Clone this client and override given configuration options\n */\n public withConfiguration(config: Partial) {\n return new Client({ ...this._config, ...config });\n }\n}\n\nfunction createHttpClientAdapter(client: HttpClient): HttpClientInterface {\n return async (request, requestOptions) => {\n return await client.executeRequest(request, requestOptions);\n };\n}\n\nfunction getBaseUri(server: Server = 'default', config: Configuration): string {\n if (config.environment === Environment.Production) {\n if (server === 'default') {\n return 'https://apimaticio-test.azurewebsites.net/api';\n }\n }\n throw new Error('Could not get Base URL. Invalid environment or server.');\n}\n\nfunction createRequestHandlerFactory(\n baseUrlProvider: (server?: Server) => string,\n authProvider: AuthenticatorInterface,\n httpClient: HttpClient,\n addons: ((rb: SdkRequestBuilder) => void)[],\n xmlSerializer: XmlSerializerInterface\n): SdkRequestBuilderFactory {\n const requestBuilderFactory = createRequestBuilderFactory(\n createHttpClientAdapter(httpClient),\n baseUrlProvider,\n ApiError,\n authProvider,\n xmlSerializer\n );\n\n return tap(requestBuilderFactory, ...addons);\n}\n\nfunction tap(\n requestBuilderFactory: SdkRequestBuilderFactory,\n ...callback: ((requestBuilder: SdkRequestBuilder) => void)[]\n): SdkRequestBuilderFactory {\n return (...args) => {\n const requestBuilder = requestBuilderFactory(...args);\n callback.forEach(c => c(requestBuilder));\n return requestBuilder;\n };\n}\n\nfunction withErrorHandlers(rb: SdkRequestBuilder) {\n rb.defaultToError(ApiError);\n}\n\nfunction withUserAgent(rb: SdkRequestBuilder) {\n rb.header('user-agent', USER_AGENT);\n}\n\nfunction withAuthenticationByDefault(rb: SdkRequestBuilder) {\n rb.authenticate(true);\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { array, boolean, object, Schema, string } from '../schema';\n\nexport interface ApiValidationSummary {\n success: boolean;\n errors: string[];\n warnings: string[];\n messages: string[];\n}\n\nexport const apiValidationSummarySchema: Schema = object({\n success: ['success', boolean()],\n errors: ['errors', array(string())],\n warnings: ['warnings', array(string())],\n messages: ['messages', array(string())],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { ClientInterface, SdkRequestBuilderFactory } from '../clientInterface';\n\n/** Base class for all controllers */\nexport class BaseController {\n /** Create a request builder */\n protected createRequest: SdkRequestBuilderFactory;\n\n constructor(client: ClientInterface) {\n this.createRequest = client.getRequestBuilderFactory();\n }\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { ApiResponse, FileWrapper, RequestOptions } from '../core';\nimport {\n ApiValidationSummary,\n apiValidationSummarySchema,\n} from '../models/apiValidationSummary';\nimport { string } from '../schema';\nimport { BaseController } from './baseController';\n\nexport class APIValidationExternalApisController extends BaseController {\n /**\n * Validate an API by uploading the API specification file.\n *\n * You can also specify [API Metadata](https://docs.apimatic.io/manage-apis/apimatic-metadata) while\n * validating the API using this endpoint. When specifying Metadata, the uploaded file will be a zip\n * file containing the API specification file and the `APIMATIC-META` json file.\n *\n * @param file The API specification file.
The type of the specification file should be any\n * of the [supported formats](https://docs.apimatic.io/api-transformer/overview-\n * transformer#supported-input-formats).\n * @return Response from the API call\n */\n async validateAPIViaFile(\n file: FileWrapper,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('POST', '/validation/validate-via-file');\n req.baseUrl('default');\n req.header('ContentType', 'multipart/form-data');\n req.formData({\n file: file,\n });\n return req.callAsJson(apiValidationSummarySchema, requestOptions);\n }\n\n /**\n * Validate an API by providing the URL of the API specification file.\n *\n * You can also specify [API Metadata](https://docs.apimatic.io/manage-apis/apimatic-metadata) while\n * validating the API using this endpoint. When specifying Metadata, the URL provided will be that of a\n * zip file containing the API specification file and the `APIMATIC-META` json file.\n *\n * @param descriptionUrl The URL for the API specification file.

**Note:** This URL should be\n * publicly accessible.\n * @return Response from the API call\n */\n async validateAPIViaURL(\n descriptionUrl: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET', '/validation/validate-via-url');\n req.baseUrl('default');\n const mapped = req.prepareArgs({\n descriptionUrl: [descriptionUrl, string()],\n });\n req.query('descriptionUrl', mapped.descriptionUrl);\n return req.callAsJson(apiValidationSummarySchema, requestOptions);\n }\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { array, boolean, object, Schema, string } from '../schema';\n\nexport interface DocsValidationSummary {\n success: boolean;\n errors: string[];\n warnings: string[];\n messages: string[];\n}\n\nexport const docsValidationSummarySchema: Schema = object(\n {\n success: ['success', boolean()],\n errors: ['errors', array(string())],\n warnings: ['warnings', array(string())],\n messages: ['messages', array(string())],\n }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { ApiResponse, RequestOptions } from '../core';\nimport {\n ApiValidationSummary,\n apiValidationSummarySchema,\n} from '../models/apiValidationSummary';\nimport {\n DocsValidationSummary,\n docsValidationSummarySchema,\n} from '../models/docsValidationSummary';\nimport { string } from '../schema';\nimport { BaseController } from './baseController';\n\nexport class APIValidationImportedApisController extends BaseController {\n /**\n * Validate an API using the [APIMatic Validator](https://docs.apimatic.io/generate-sdks/overview-\n * sdks#step-2-api-validation).\n *\n * @param apiEntityId The ID of the API Entity to perform validation for.\n * @return Response from the API call\n */\n async validateAPI(\n apiEntityId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n req.baseUrl('default');\n const mapped = req.prepareArgs({ apiEntityId: [apiEntityId, string()] });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/api-validation-summary`;\n return req.callAsJson(apiValidationSummarySchema, requestOptions);\n }\n\n /**\n * Validate an API for documentation generation. This process validates the API for missing examples or\n * missing descriptions.\n *\n * @param apiEntityId The ID of the API Entity to perform validation for.\n * @return Response from the API call\n */\n async validateAPIForDocs(\n apiEntityId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n req.baseUrl('default');\n const mapped = req.prepareArgs({ apiEntityId: [apiEntityId, string()] });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/docs-validation-summary`;\n return req.callAsJson(docsValidationSummarySchema, requestOptions);\n }\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { Schema, stringEnum } from '../schema';\n\n/**\n * Enum for Accept\n */\nexport enum Accept {\n EnumApplicationjson = 'application/json',\n}\n\n/**\n * Schema for Accept\n */\nexport const acceptSchema: Schema = stringEnum(Accept);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { Schema, stringEnum } from '../schema';\n\n/**\n * Enum for Accept2\n */\nexport enum Accept2 {\n EnumApplicationvndapimaticapiEntityfullv1json = 'application/vnd.apimatic.apiEntity.full.v1+json',\n}\n\n/**\n * Schema for Accept2\n */\nexport const accept2Schema: Schema = stringEnum(Accept2);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { array, object, Schema, string, unknown } from '../schema';\n\n/** This Structure encapsulates all details of API authentication. */\nexport interface Authentication {\n /** Auth Id */\n id: string;\n /** Auth Type */\n authType: string;\n /** Scope */\n scopes: string[];\n /** Auth Params */\n parameters: string[];\n /** Auth Scopes */\n authScopes: string[];\n /** Auth Grant Types */\n authGrantTypes: string[];\n /** Paramater Formats */\n paramFormats?: unknown;\n}\n\nexport const authenticationSchema: Schema = object({\n id: ['id', string()],\n authType: ['authType', string()],\n scopes: ['scopes', array(string())],\n parameters: ['parameters', array(string())],\n authScopes: ['authScopes', array(string())],\n authGrantTypes: ['authGrantTypes', array(string())],\n paramFormats: ['paramFormats', unknown()],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { array, boolean, number, object, Schema, string } from '../schema';\n\n/** APIMatic’s code generation engine has various code generation configurations to customise the behaviour and outlook across the generated SDKS. This structure encapsulates all settings for CodeGeneration. */\nexport interface CodeGenSettings {\n /** Generate asynchronous code for API Calls and deserialization */\n isAsync: boolean;\n /** Use HTTP Method prefixes for endpoint wrappers */\n useHttpMethodPrefix: boolean;\n /** Use \"Model\" postfixes for generated class names */\n useModelPrefix: boolean;\n /** Use \"Enum\" postfixes for enumerated types */\n useEnumPrefix: boolean;\n useConstructorsForConfig: boolean;\n /** Use common SDK library to reduce code duplication */\n useCommonSdkLibrary: boolean;\n /** Generates interfaces for controller classes in the generated SDKs */\n generateInterfaces: boolean;\n /** Generate Appveyor configuration file */\n generateAppveyorConfig: boolean;\n /** Generate CircleCI configuration file */\n generateCircleConfig: boolean;\n /** Generate Jenkins configuration file */\n generateJenkinsConfig: boolean;\n /** Generate Travis CI configuration file */\n generateTravisConfig: boolean;\n /** Use \"AndroidManifest.xml\" for config variables in Android */\n androidUseAppManifest: boolean;\n /** Use \"App-Info.plist\" file for config variables in iOS */\n iosUseAppInfoPlist: boolean;\n /** Generate \"CoreData\" schema and entity classes in iOS? */\n iosGenerateCoreData: boolean;\n /** Enable runscope */\n runscopeEnabled: boolean;\n /** Collect Parameters as arrays */\n collapseParamsToArray: boolean;\n /** Attempts to preserve parameter order for endpoints */\n preserveParameterOrder: boolean;\n /** Append JSON/XML accept and content-type headers */\n appendContentHeaders: boolean;\n modelSerializationIsJSON: boolean;\n /** Return a null value on HTTP 404 */\n nullify404: boolean;\n /** Validate required parameters to be Not Null */\n validateRequiredParameters: boolean;\n /** Allow models to have additional runtime properties */\n enableAdditionalModelProperties: boolean;\n javaUsePropertiesConfig: boolean;\n /** Use \"Controller\" postfixes for generated controller classes */\n useControllerPrefix: boolean;\n /** Use Exception Prefixes */\n useExceptionPrefix: boolean;\n /** Parameter Array format with index or without */\n parameterArrayFormat: string;\n /** Configure the HTTP client for Objective C */\n objCHttpClient: string;\n /** Configure the HTTP client for C# */\n cSharpHttpClient: string;\n /** Configure the HTTP client for Android */\n androidHttpClient: string;\n /** Configure the HTTP client for node */\n nodeHttpClient: string;\n /** Configure the HTTP client for PHP */\n phpHttpClient: string;\n bodySerialization: number;\n /** Specify type of array serialisation */\n arraySerialization: string;\n /** This option specifies the duration (in seconds) after which requests would timeout */\n timeout: number;\n /** Enabling this generates code in the SDKs for logging events in the API cycle using a library. */\n enableLogging: boolean;\n /** Enabling caching of responses (not available in all languages) */\n enableHttpCache: boolean;\n /** Specify number of retries */\n retries: number;\n /** Specify retry interval in case of failures */\n retryInterval: number;\n /** Generate advanced read me files */\n generateAdvancedDocs: boolean;\n /** Store Timezone information for the generation */\n storeTimezoneInformation: boolean;\n /** Use \"Controller\" postfixes for generated controller classes */\n enablePhpComposerVersionString: boolean;\n /** Specify Security Protocols */\n securityProtocols: string[];\n /** Use underscores before and after numbers for underscore case */\n underscoreNumbers: boolean;\n /** Allow usage of a Singleton Pattern */\n useSingletonPattern: boolean;\n /** Files/dependencies used for linting are not generated if this option is enabled */\n disableLinting: boolean;\n /** Create a configuration option in SDKs to optionally skip certificate verification when establishing HTTPS connections. */\n allowSkippingSSLCertVerification: boolean;\n /** Apply Customisations */\n applyCustomizations: string[];\n /** Enabling this will stop splitting of words when converting identifiers from API specification to language-specific identifiers. */\n doNotSplitWords: string[];\n /** Sorts resources such as endpoints, endpoint groups and models in generated documentation */\n sortResources: boolean;\n /** Enable a global user agent */\n enableGlobalUserAgent: boolean;\n}\n\nexport const codeGenSettingsSchema: Schema = object({\n isAsync: ['isAsync', boolean()],\n useHttpMethodPrefix: ['useHttpMethodPrefix', boolean()],\n useModelPrefix: ['useModelPrefix', boolean()],\n useEnumPrefix: ['useEnumPrefix', boolean()],\n useConstructorsForConfig: ['useConstructorsForConfig', boolean()],\n useCommonSdkLibrary: ['useCommonSdkLibrary', boolean()],\n generateInterfaces: ['generateInterfaces', boolean()],\n generateAppveyorConfig: ['generateAppveyorConfig', boolean()],\n generateCircleConfig: ['generateCircleConfig', boolean()],\n generateJenkinsConfig: ['generateJenkinsConfig', boolean()],\n generateTravisConfig: ['generateTravisConfig', boolean()],\n androidUseAppManifest: ['androidUseAppManifest', boolean()],\n iosUseAppInfoPlist: ['iosUseAppInfoPlist', boolean()],\n iosGenerateCoreData: ['iosGenerateCoreData', boolean()],\n runscopeEnabled: ['runscopeEnabled', boolean()],\n collapseParamsToArray: ['collapseParamsToArray', boolean()],\n preserveParameterOrder: ['preserveParameterOrder', boolean()],\n appendContentHeaders: ['appendContentHeaders', boolean()],\n modelSerializationIsJSON: ['modelSerializationIsJSON', boolean()],\n nullify404: ['nullify404', boolean()],\n validateRequiredParameters: ['validateRequiredParameters', boolean()],\n enableAdditionalModelProperties: [\n 'enableAdditionalModelProperties',\n boolean(),\n ],\n javaUsePropertiesConfig: ['javaUsePropertiesConfig', boolean()],\n useControllerPrefix: ['useControllerPrefix', boolean()],\n useExceptionPrefix: ['useExceptionPrefix', boolean()],\n parameterArrayFormat: ['parameterArrayFormat', string()],\n objCHttpClient: ['objCHttpClient', string()],\n cSharpHttpClient: ['cSharpHttpClient', string()],\n androidHttpClient: ['androidHttpClient', string()],\n nodeHttpClient: ['nodeHttpClient', string()],\n phpHttpClient: ['phpHttpClient', string()],\n bodySerialization: ['bodySerialization', number()],\n arraySerialization: ['arraySerialization', string()],\n timeout: ['timeout', number()],\n enableLogging: ['enableLogging', boolean()],\n enableHttpCache: ['enableHttpCache', boolean()],\n retries: ['retries', number()],\n retryInterval: ['retryInterval', number()],\n generateAdvancedDocs: ['generateAdvancedDocs', boolean()],\n storeTimezoneInformation: ['storeTimezoneInformation', boolean()],\n enablePhpComposerVersionString: ['enablePhpComposerVersionString', boolean()],\n securityProtocols: ['securityProtocols', array(string())],\n underscoreNumbers: ['underscoreNumbers', boolean()],\n useSingletonPattern: ['useSingletonPattern', boolean()],\n disableLinting: ['disableLinting', boolean()],\n allowSkippingSSLCertVerification: [\n 'allowSkippingSSLCertVerification',\n boolean(),\n ],\n applyCustomizations: ['applyCustomizations', array(string())],\n doNotSplitWords: ['doNotSplitWords', array(string())],\n sortResources: ['sortResources', boolean()],\n enableGlobalUserAgent: ['enableGlobalUserAgent', boolean()],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { object, Schema, string } from '../schema';\n\n/** This structure encapsulates all the attributes of an API Endpoints Group. */\nexport interface EndpointsGroup {\n name: string;\n description: string;\n}\n\nexport const endpointsGroupSchema: Schema = object({\n name: ['name', string()],\n description: ['description', string()],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { array, boolean, object, Schema, string } from '../schema';\n\nexport interface ImportValidationSummary {\n success: boolean;\n errors: string[];\n warnings: string[];\n messages: string[];\n}\n\nexport const importValidationSummarySchema: Schema = object(\n {\n success: ['success', boolean()],\n errors: ['errors', array(string())],\n warnings: ['warnings', array(string())],\n messages: ['messages', array(string())],\n }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { lazy, object, Schema } from '../schema';\nimport {\n ApiValidationSummary,\n apiValidationSummarySchema,\n} from './apiValidationSummary';\nimport {\n DocsValidationSummary,\n docsValidationSummarySchema,\n} from './docsValidationSummary';\nimport {\n ImportValidationSummary,\n importValidationSummarySchema,\n} from './importValidationSummary';\n\nexport interface MetaData {\n importValidationSummary: ImportValidationSummary;\n apiValidationSummary: ApiValidationSummary;\n docsValidationSummary: DocsValidationSummary;\n}\n\nexport const metaDataSchema: Schema = object({\n importValidationSummary: [\n 'importValidationSummary',\n lazy(() => importValidationSummarySchema),\n ],\n apiValidationSummary: [\n 'apiValidationSummary',\n lazy(() => apiValidationSummarySchema),\n ],\n docsValidationSummary: [\n 'docsValidationSummary',\n lazy(() => docsValidationSummarySchema),\n ],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { object, Schema, string } from '../schema';\n\n/** The user can specify multiple servers within an environment. A server comprises of a name and a URL. The names of the hosts remain consistent over different environments but their values may vary. The URL values can contain any number of parameters defined. */\nexport interface Server {\n /** Unique Server identifier */\n id: string;\n /** Server Name */\n name: string;\n /** Server URL */\n url: string;\n}\n\nexport const serverSchema: Schema = object({\n id: ['id', string()],\n name: ['name', string()],\n url: ['url', string()],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { array, lazy, object, Schema, string } from '../schema';\nimport { Server, serverSchema } from './server';\n\n/** An environment consists of a set of servers with base URL values. The environment can be changed programatically allowing rapid switching between different environments. For example the user can specify a Production and Testing Environment and switch between them in the generated SDK. */\nexport interface Environment {\n /** Unique Environment Identifier */\n id: string;\n /** Environment Name */\n name: string;\n /** The user can specify multiple servers within an environment. A server comprises of a name and a url. */\n servers: Server[];\n}\n\nexport const environmentSchema: Schema = object({\n id: ['id', string()],\n name: ['name', string()],\n servers: ['servers', array(lazy(() => serverSchema))],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { object, Schema, string } from '../schema';\n\n/** The structure contain attribute details of a parameter type. */\nexport interface Attributes {\n /** Unique Attribute Identifier */\n id: string;\n}\n\nexport const attributesSchema: Schema = object({\n id: ['id', string()],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { boolean, lazy, object, Schema, string } from '../schema';\nimport { Attributes, attributesSchema } from './attributes';\n\n/** Parameters are options passed with the endpoint */\nexport interface Parameter {\n /** If parameter is optional */\n optional: boolean;\n /** Type of Parameter */\n type: string;\n /** IF Parameter is constant */\n constant: boolean;\n /** If Param is collected as array */\n isArray: boolean;\n isStream: boolean;\n isAttribute: boolean;\n isMap: boolean;\n /** The structure contain attribute details of a parameter type. */\n attributes: Attributes;\n /** If Parameter is nullable */\n nullable: boolean;\n /** Unique Parameter identifier */\n id: string;\n /** Parameter Name */\n name: string;\n /** Parameter Description */\n description: string;\n /** Default Values of a Parameter */\n defaultValue: string;\n /** Specify Parameter Format */\n paramFormat: string;\n}\n\nexport const parameterSchema: Schema = object({\n optional: ['optional', boolean()],\n type: ['type', string()],\n constant: ['constant', boolean()],\n isArray: ['isArray', boolean()],\n isStream: ['isStream', boolean()],\n isAttribute: ['isAttribute', boolean()],\n isMap: ['isMap', boolean()],\n attributes: ['attributes', lazy(() => attributesSchema)],\n nullable: ['nullable', boolean()],\n id: ['id', string()],\n name: ['name', string()],\n description: ['description', string()],\n defaultValue: ['defaultValue', string()],\n paramFormat: ['ParamFormat', string()],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { array, lazy, object, Schema, string } from '../schema';\nimport { Environment, environmentSchema } from './environment';\nimport { Parameter, parameterSchema } from './parameter';\n\n/** Server configurations can be used to create multiple environments, multiple servers that can be used with specific endpoints and server URLs with template paramters. */\nexport interface ServerConfiguration {\n /** Server Config Identifier */\n id: string;\n /** Default Environment */\n defaultEnvironment: string;\n /** Default Server */\n defaultServer: string;\n /** Environment Identifier and Name */\n environments: Environment[];\n /** Parameter Attributes */\n parameters: Parameter[];\n}\n\nexport const serverConfigurationSchema: Schema = object({\n id: ['id', string()],\n defaultEnvironment: ['defaultEnvironment', string()],\n defaultServer: ['defaultServer', string()],\n environments: ['environments', array(lazy(() => environmentSchema))],\n parameters: ['parameters', array(lazy(() => parameterSchema))],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { number, object, Schema, unknown } from '../schema';\n\n/** This structure helps specify additional test configurations which affects how test cases are generated. */\nexport interface TestGenSettings {\n /** Error margin for comparing values in decimal places */\n precisionDelta: number;\n /** Number of seconds after which if the endpoint is not returning any response, the test is forced to fail e.g. a timeout of 60 */\n testTimeout: number;\n /** The parameters allows to provide values for configuration file for use in the test environment */\n configuration?: unknown;\n}\n\nexport const testGenSettingsSchema: Schema = object({\n precisionDelta: ['precisionDelta', number()],\n testTimeout: ['testTimeout', number()],\n configuration: ['configuration', unknown()],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport {\n array,\n boolean,\n lazy,\n object,\n optional,\n Schema,\n string,\n} from '../schema';\nimport { Authentication, authenticationSchema } from './authentication';\nimport { CodeGenSettings, codeGenSettingsSchema } from './codeGenSettings';\nimport { EndpointsGroup, endpointsGroupSchema } from './endpointsGroup';\nimport { MetaData, metaDataSchema } from './metaData';\nimport {\n ServerConfiguration,\n serverConfigurationSchema,\n} from './serverConfiguration';\nimport { TestGenSettings, testGenSettingsSchema } from './testGenSettings';\n\n/** The API Entity Structure encapsulates all the details of an API Entity. An API entity is a unique API Version. */\nexport interface ApiEntity {\n /** Unique API Entity identifier */\n id: string;\n /** Enrcypted API Entity Id */\n encryptedId: string;\n /** API Integration Key. Obtain from API Card on Dashboard. */\n apiKey: string;\n /** Unique API Group Identifier */\n apiGroupId: string;\n /** Cover Image */\n imageUri: string;\n /** Entity creation date */\n creationDate: string;\n /** API Status (Deprecated) */\n mPublic: boolean;\n /** API Entity Name */\n name: string;\n /** Description of the API */\n description: string;\n /** Entity Version Number */\n version: string;\n /** Header Content */\n additionalHeaders: string[];\n /** This Structure encapsulates all details of API authentication. */\n authentication: Authentication;\n /** APIMatic’s code generation engine has various code generation configurations to customise the behaviour and outlook across the generated SDKS. This structure encapsulates all settings for CodeGeneration. */\n codeGenSettings: CodeGenSettings;\n /** This structure helps specify additional test configurations which affects how test cases are generated. */\n testGenSettings: TestGenSettings;\n /** API Errors */\n errors: string[];\n /** Server configurations can be used to create multiple environments, multiple servers that can be used with specific endpoints and server URLs with template paramters. */\n serverConfiguration: ServerConfiguration;\n /** API Endpoint Groups */\n endpointsGroup?: EndpointsGroup[];\n metaData: MetaData;\n}\n\nexport const apiEntitySchema: Schema = object({\n id: ['id', string()],\n encryptedId: ['encryptedId', string()],\n apiKey: ['apiKey', string()],\n apiGroupId: ['apiGroupId', string()],\n imageUri: ['imageUri', string()],\n creationDate: ['creationDate', string()],\n mPublic: ['public', boolean()],\n name: ['name', string()],\n description: ['description', string()],\n version: ['version', string()],\n additionalHeaders: ['additionalHeaders', array(string())],\n authentication: ['authentication', lazy(() => authenticationSchema)],\n codeGenSettings: ['codeGenSettings', lazy(() => codeGenSettingsSchema)],\n testGenSettings: ['testGenSettings', lazy(() => testGenSettingsSchema)],\n errors: ['errors', array(string())],\n serverConfiguration: [\n 'serverConfiguration',\n lazy(() => serverConfigurationSchema),\n ],\n endpointsGroup: [\n 'endpointsGroup',\n optional(array(lazy(() => endpointsGroupSchema))),\n ],\n metaData: ['metaData', lazy(() => metaDataSchema)],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { Schema, stringEnum } from '../schema';\n\n/**\n * Enum for ExportFormats\n */\nexport enum ExportFormats {\n APIMATIC = 'APIMATIC',\n WADL2009 = 'WADL2009',\n WSDL = 'WSDL',\n SWAGGER10 = 'Swagger10',\n SWAGGER20 = 'Swagger20',\n SWAGGERYAML = 'SwaggerYaml',\n OAS3 = 'OpenApi3Json',\n OPENAPI3YAML = 'OpenApi3Yaml',\n APIBLUEPRINT = 'APIBluePrint',\n RAML = 'RAML',\n RAML10 = 'RAML10',\n POSTMAN10 = 'Postman10',\n POSTMAN20 = 'Postman20',\n GRAPHQLSCHEMA = 'GraphQlSchema',\n}\n\n/**\n * Schema for ExportFormats\n */\nexport const exportFormatsSchema: Schema = stringEnum(ExportFormats);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { object, Schema, string } from '../schema';\n\n/** This structure contains details of importing a new API Version */\nexport interface ImportApiVersionViaUrlRequest {\n /** The version number with which the new API version will be imported. This version number will override the version specified in the API specification file.
APIMatic recommends versioning the API with the [versioning scheme](https://docs.apimatic.io/define-apis/basic-settings/#version) documented in the docs. */\n versionOverride: string;\n /** The URL for the API specification file.

**Note:** This URL should be publicly accessible. */\n url: string;\n}\n\nexport const importApiVersionViaUrlRequestSchema: Schema = object(\n { versionOverride: ['version_override', string()], url: ['url', string()] }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { object, Schema, string } from '../schema';\n\n/** Contains a url field to allow Apis to be imported via url */\nexport interface ImportApiViaUrlRequest {\n /** The URL for the API specification file.

**Note:** This URL should be publicly accessible. */\n url: string;\n}\n\nexport const importApiViaUrlRequestSchema: Schema = object(\n { url: ['url', string()] }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { object, Schema, string } from '../schema';\n\n/** Contains a url field to allow Apis to be imported via url */\nexport interface InplaceImportApiViaUrlRequest {\n /** The URL for the API specification file.

**Note:** This URL should be publicly accessible. */\n url: string;\n}\n\nexport const inplaceImportApiViaUrlRequestSchema: Schema = object(\n { url: ['url', string()] }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { ApiResponse, FileWrapper, RequestOptions } from '../core';\nimport { Accept, acceptSchema } from '../models/accept';\nimport { Accept2, accept2Schema } from '../models/accept2';\nimport { ApiEntity, apiEntitySchema } from '../models/apiEntity';\nimport { ExportFormats, exportFormatsSchema } from '../models/exportFormats';\nimport {\n ImportApiVersionViaUrlRequest,\n importApiVersionViaUrlRequestSchema,\n} from '../models/importApiVersionViaUrlRequest';\nimport {\n ImportApiViaUrlRequest,\n importApiViaUrlRequestSchema,\n} from '../models/importApiViaUrlRequest';\nimport {\n InplaceImportApiViaUrlRequest,\n inplaceImportApiViaUrlRequestSchema,\n} from '../models/inplaceImportApiViaUrlRequest';\nimport { string } from '../schema';\nimport { BaseController } from './baseController';\n\nexport class ApisManagementController extends BaseController {\n /**\n * Import an API into the APIMatic Dashboard by uploading the API specification file.\n *\n * You can also specify [API Metadata](https://docs.apimatic.io/manage-apis/apimatic-metadata) while\n * importing the API using this endpoint. When specifying Metadata, the uploaded file will be a zip\n * file containing the API specification file and the `APIMATIC-META` json file.\n *\n * @param file The API specification file.
The type of the specification file should be any\n * of the [supported formats](https://docs.apimatic.io/api-transformer/overview-\n * transformer#supported-input-formats).\n * @return Response from the API call\n */\n async importAPIViaFile(\n file: FileWrapper,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('POST', '/api-entities/import-via-file');\n req.header('ContentType', 'multipart/form-data');\n req.formData({\n file: file,\n });\n return req.callAsJson(apiEntitySchema, requestOptions);\n }\n\n /**\n * Import an API into the APIMatic Dashboard by providing the URL of the API specification file.\n *\n * You can also specify [API Metadata](https://docs.apimatic.io/manage-apis/apimatic-metadata) while\n * importing the API using this endpoint. When specifying Metadata, the URL provided will be that of a\n * zip file containing the API specification file and the `APIMATIC-META` json file.\n *\n * @param body Request Body\n * @return Response from the API call\n */\n async importAPIViaURL(\n body: ImportApiViaUrlRequest,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('POST', '/api-entities/import-via-url');\n const mapped = req.prepareArgs({\n body: [body, importApiViaUrlRequestSchema],\n });\n req.header(\n 'Content-Type',\n 'application/vnd.apimatic.apiEntityUrlImportDto.v1+json'\n );\n req.json(mapped.body);\n return req.callAsJson(apiEntitySchema, requestOptions);\n }\n\n /**\n * Import a new version for an API, against an existing API Group, by uploading the API specification\n * file.\n *\n * You can also specify [API Metadata](https://docs.apimatic.io/manage-apis/apimatic-metadata) while\n * importing the API version using this endpoint. When specifying Metadata, the uploaded file will be a\n * zip file containing the API specification file and the `APIMATIC-META` json file.\n *\n * @param apiGroupId The ID of the API Group for which to import a new API version.\n * @param accept\n * @param versionOverride The version number with which the new API version will be imported. This\n * version number will override the version specified in the API specification\n * file.
APIMatic recommends versioning the API with the [versioning\n * scheme](https://docs.apimatic.io/define-apis/basic-settings/#version)\n * documented in the docs.\n * @param file The API specification file.
The type of the specification file should\n * be any of the [supported formats](https://docs.apimatic.io/api-\n * transformer/overview-transformer#supported-input-formats).\n * @return Response from the API call\n */\n async importNewAPIVersionViaFile(\n apiGroupId: string,\n accept: Accept,\n versionOverride: string,\n file: FileWrapper,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('POST');\n const mapped = req.prepareArgs({\n apiGroupId: [apiGroupId, string()],\n accept: [accept, acceptSchema],\n versionOverride: [versionOverride, string()],\n });\n req.header('Accept', mapped.accept);\n req.header('Content-Type', 'multipart/form-data');\n req.formData({\n version_override: mapped.versionOverride,\n file: file,\n });\n req.appendTemplatePath`/api-groups/${mapped.apiGroupId}/api-entities/import-via-file`;\n return req.callAsJson(apiEntitySchema, requestOptions);\n }\n\n /**\n * Import a new version for an API, against an existing API Group, by providing the URL of the API\n * specification file.\n *\n * You can also specify [API Metadata](https://docs.apimatic.io/manage-apis/apimatic-metadata) while\n * importing the API version using this endpoint. When specifying Metadata, the URL provided will be\n * that of a zip file containing the API specification file and the `APIMATIC-META` json file.\n *\n * @param apiGroupId The ID of the API Group for which to import a new API\n * version.\n * @param accept\n * @param body Request Body\n * @return Response from the API call\n */\n async importNewAPIVersionViaURL(\n apiGroupId: string,\n accept: Accept,\n body: ImportApiVersionViaUrlRequest,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('POST');\n const mapped = req.prepareArgs({\n apiGroupId: [apiGroupId, string()],\n accept: [accept, acceptSchema],\n body: [body, importApiVersionViaUrlRequestSchema],\n });\n req.header('Accept', mapped.accept);\n req.header(\n 'Content-Type',\n 'application/vnd.apimatic.apiGroupApiEntityUrlImportDto.v1+json'\n );\n req.json(mapped.body);\n req.appendTemplatePath`/api-groups/${mapped.apiGroupId}/api-entities/import-via-url`;\n return req.callAsJson(apiEntitySchema, requestOptions);\n }\n\n /**\n * Replace an API version of an API Group, by uploading the API specification file that will replace\n * the current version.\n *\n * You can also specify [API Metadata](https://docs.apimatic.io/manage-apis/apimatic-metadata) while\n * importing the API version using this endpoint. When specifying Metadata, the uploaded file will be a\n * zip file containing the API specification file and the `APIMATIC-META` json file.\n *\n * @param apiEntityId The ID of the API Entity to replace.\n * @param accept\n * @param file The API specification file.
The type of the specification file should be\n * any of the [supported formats](https://docs.apimatic.io/api-\n * transformer/overview-transformer#supported-input-formats).\n * @return Response from the API call\n */\n async inplaceAPIImportViaFile(\n apiEntityId: string,\n accept: Accept2,\n file: FileWrapper,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('PUT');\n const mapped = req.prepareArgs({\n apiEntityId: [apiEntityId, string()],\n accept: [accept, accept2Schema],\n });\n req.header('Accept', mapped.accept);\n req.header('Content-Type', 'multipart/form-data');\n req.formData({\n file: file,\n });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/import-via-file`;\n return req.call(requestOptions);\n }\n\n /**\n * Replace an API version of an API Group, by providing the URL of the API specification file that will\n * replace the current version.\n *\n * You can also specify [API Metadata](https://docs.apimatic.io/manage-apis/apimatic-metadata) while\n * importing the API version using this endpoint. When specifying Metadata, the URL provided will be\n * that of a zip file containing the API specification file and the `APIMATIC-META` json file.\n *\n * @param apiEntityId The ID of the API Entity to replace.\n * @param body Request Body\n * @return Response from the API call\n */\n async inplaceAPIImportViaURL(\n apiEntityId: string,\n body: InplaceImportApiViaUrlRequest,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('PUT');\n const mapped = req.prepareArgs({\n apiEntityId: [apiEntityId, string()],\n body: [body, inplaceImportApiViaUrlRequestSchema],\n });\n req.header(\n 'Content-Type',\n 'application/vnd.apimatic.apiEntityUrlImportDto.v1+json'\n );\n req.json(mapped.body);\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/import-via-url`;\n return req.call(requestOptions);\n }\n\n /**\n * Fetch an API Entity.\n *\n * @param apiEntityId The ID of the API Entity to fetch.\n * @return Response from the API call\n */\n async fetchAPIEntity(\n apiEntityId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({ apiEntityId: [apiEntityId, string()] });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}`;\n return req.callAsJson(apiEntitySchema, requestOptions);\n }\n\n /**\n * Download the API Specification file for a an API Version in any of the API Specification formats\n * supported by APIMatic.\n *\n * @param apiEntityId The ID of the API Entity to download.\n * @param format The format in which to download the API.
The format can be any of the\n * [supported formats](https://docs.apimatic.io/api-transformer/overview-\n * transformer#supported-input-formats).\n * @return Response from the API call\n */\n async downloadAPISpecification(\n apiEntityId: string,\n format: ExportFormats,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({\n apiEntityId: [apiEntityId, string()],\n format: [format, exportFormatsSchema],\n });\n req.query('format', mapped.format);\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/api-description`;\n return req.callAsStream(requestOptions);\n }\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { Schema, stringEnum } from '../schema';\n\n/**\n * Enum for Platforms\n */\nexport enum Platforms {\n CSNETSTANDARDLIB = 'CS_NET_STANDARD_LIB',\n JAVAECLIPSEJRELIB = 'JAVA_ECLIPSE_JRE_LIB',\n PHPGENERICLIBV2 = 'PHP_GENERIC_LIB',\n PYTHONGENERICLIB = 'PYTHON_GENERIC_LIB',\n RUBYGENERICLIB = 'RUBY_GENERIC_LIB',\n TSGENERICLIB = 'TS_GENERIC_LIB',\n}\n\n/**\n * Schema for Platforms\n */\nexport const platformsSchema: Schema = stringEnum(Platforms);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { object, Schema, string } from '../schema';\nimport { Platforms, platformsSchema } from './platforms';\n\nexport interface GenerateSdkViaUrlRequest {\n /** The URL for the API specification file.

**Note:** This URL should be publicly accessible. */\n url: string;\n /** The structure contains platforms that APIMatic CodeGen can generate SDKs and Docs in. */\n template: Platforms;\n}\n\nexport const generateSdkViaUrlRequestSchema: Schema = object(\n { url: ['url', string()], template: ['template', platformsSchema] }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { boolean, object, Schema, string } from '../schema';\nimport { Platforms, platformsSchema } from './platforms';\n\n/** The Code Generation structure encapsulates all the the details of an SDK generation performed by a user. */\nexport interface UserCodeGeneration {\n /** Unique Code Generation Identifier */\n id: string;\n /** The structure contains platforms that APIMatic CodeGen can generate SDKs and Docs in. */\n template: Platforms;\n /** The generated SDK */\n generatedFile: string;\n /** Generation Date and Time */\n generatedOn: string;\n /** The md5 hash of the API Description */\n hashCode: string;\n /** Generation Source */\n codeGenerationSource: string;\n /** Generation Version */\n codeGenVersion: string;\n /** Generation Status */\n success: boolean;\n /** Unique User Identifier */\n userId: string;\n /** API Specification file in a supported format */\n inputFile: string;\n}\n\nexport const userCodeGenerationSchema: Schema = object({\n id: ['id', string()],\n template: ['template', platformsSchema],\n generatedFile: ['generatedFile', string()],\n generatedOn: ['generatedOn', string()],\n hashCode: ['hashCode', string()],\n codeGenerationSource: ['codeGenerationSource', string()],\n codeGenVersion: ['codeGenVersion', string()],\n success: ['success', boolean()],\n userId: ['userId', string()],\n inputFile: ['inputFile', string()],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { ApiResponse, FileWrapper, RequestOptions } from '../core';\nimport {\n GenerateSdkViaUrlRequest,\n generateSdkViaUrlRequestSchema,\n} from '../models/generateSdkViaUrlRequest';\nimport { Platforms, platformsSchema } from '../models/platforms';\nimport {\n UserCodeGeneration,\n userCodeGenerationSchema,\n} from '../models/userCodeGeneration';\nimport { array, string } from '../schema';\nimport { BaseController } from './baseController';\n\nexport class CodeGenerationExternalApisController extends BaseController {\n /**\n * Generate an SDK for an API by by uploading the API specification file.\n *\n * This endpoint generates and then uploads the generated SDK to APIMatic's cloud storage. An ID for\n * the generation performed is returned as part of the response.\n *\n * This endpoint does not import an API into APIMatic.\n *\n * @param file The API specification file.
The type of the specification file should be\n * any of the [supported formats](https://docs.apimatic.io/api-\n * transformer/overview-transformer#supported-input-formats).\n * @param template The structure contains platforms that APIMatic CodeGen can generate SDKs and\n * Docs in.\n * @return Response from the API call\n */\n async generateSDKViaFile(\n file: FileWrapper,\n template: Platforms,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest(\n 'POST',\n '/code-generations/generate-via-file'\n );\n const mapped = req.prepareArgs({ template: [template, platformsSchema] });\n req.header('Content-Type', 'multipart/form-data');\n req.formData({\n file: file,\n template: mapped.template,\n });\n return req.callAsJson(userCodeGenerationSchema, requestOptions);\n }\n\n /**\n * Generate an SDK for an API by providing the URL of the API specification file.\n *\n * This endpoint generates and then uploads the generated SDK to APIMatic's cloud storage. An ID for\n * the generation performed is returned as part of the response.\n *\n * This endpoint does not import an API into APIMatic.\n *\n * @param body Request Body\n * @return Response from the API call\n */\n async generateSDKViaURL(\n body: GenerateSdkViaUrlRequest,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest(\n 'POST',\n '/code-generations/generate-via-url'\n );\n const mapped = req.prepareArgs({\n body: [body, generateSdkViaUrlRequestSchema],\n });\n req.header('Content-Type', 'application/vnd.apimatic.userCodeGenerationDto.v1+json');\n req.json(mapped.body);\n return req.callAsJson(userCodeGenerationSchema, requestOptions);\n }\n\n /**\n * Download the SDK generated via the Generate SDK endpoints.\n *\n * @param codegenId The ID of code generation received in the response of the [Generate SDK Via\n * File](https://www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-endpoints/code-generation-\n * external-apis/generate-sdk-via-file) or [Generate SDK Via URL ](https://www.apimatic.\n * io/api-docs-preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-endpoints/code-\n * generation-external-apis/generate-sdk-via-url) calls.\n * @return Response from the API call\n */\n async downloadSDK(\n codegenId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({ codegenId: [codegenId, string()] });\n req.appendTemplatePath`/code-generations/${mapped.codegenId}/generated-sdk`;\n return req.callAsStream(requestOptions);\n }\n\n /**\n * Get a list of all SDK generations performed with external APIs via the Generate SDK endpoints.\n *\n * @return Response from the API call\n */\n async listAllCodeGenerations(\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET', '/code-generations');\n return req.callAsJson(array(userCodeGenerationSchema), requestOptions);\n }\n\n /**\n * Download the API Specification file used as input for a specific SDK generation performed via the\n * Generate SDK endpoints.\n *\n * @param codegenId The ID of the code generation to download the API specification for. The code\n * generation ID is received in the response of the [Generate SDK Via File](https://www.\n * apimatic.io/api-docs-preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-\n * endpoints/code-generation-external-apis/generate-sdk-via-file) or [Generate SDK Via\n * URL ](https://www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-endpoints/code-generation-\n * external-apis/generate-sdk-via-url) calls\n * @return Response from the API call\n */\n async downloadInputFile(\n codegenId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({ codegenId: [codegenId, string()] });\n req.appendTemplatePath`/code-generations/${mapped.codegenId}/input-file`;\n return req.callAsStream(requestOptions);\n }\n\n /**\n * Get details on an SDK generation performed for an external API via the Generate SDK endpoints.\n *\n * @param codegenId The ID of the code generation to fetch. The code generation ID is received in the\n * response of the [Generate SDK Via File](https://www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-endpoints/code-generation-\n * external-apis/generate-sdk-via-file) or [Generate SDK Via URL ](https://www.apimatic.\n * io/api-docs-preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-endpoints/code-\n * generation-external-apis/generate-sdk-via-url) calls.\n * @return Response from the API call\n */\n async getACodeGeneration(\n codegenId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({ codegenId: [codegenId, string()] });\n req.appendTemplatePath`/code-generations/${mapped.codegenId}`;\n return req.callAsJson(userCodeGenerationSchema, requestOptions);\n }\n\n /**\n * Delete an SDK generation performed for an API via the Generate SDK endpoints.\n *\n * @param codegenId The ID of the code generation to delete. The code generation ID is received in the\n * response of the [Generate SDK Via File](https://www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-endpoints/code-generation-\n * external-apis/generate-sdk-via-file) or [Generate SDK Via URL ](https://www.apimatic.\n * io/api-docs-preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-endpoints/code-\n * generation-external-apis/generate-sdk-via-url) calls.\n * @return Response from the API call\n */\n async deleteCodeGeneration1(\n codegenId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('DELETE');\n const mapped = req.prepareArgs({ codegenId: [codegenId, string()] });\n req.appendTemplatePath`/code-generations/${mapped.codegenId}`;\n return req.call(requestOptions);\n }\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { boolean, object, Schema, string } from '../schema';\nimport { Platforms, platformsSchema } from './platforms';\n\n/** The Code Generation structure encapsulates all the the details of an SDK generation performed against an API Entity */\nexport interface APIEntityCodeGeneration {\n /** Unique Code Generation Identifier */\n id: string;\n /** The structure contains platforms that APIMatic CodeGen can generate SDKs and Docs in. */\n template: Platforms;\n /** The generated SDK */\n generatedFile: string;\n /** Generation Date and Time */\n generatedOn: string;\n /** The md5 hash of the API Description */\n hashCode: string;\n /** Generation Source */\n codeGenerationSource: string;\n /** Generation Version */\n codeGenVersion: string;\n /** Generation Status */\n success: boolean;\n /** Unique API Entity Identifier */\n apiEntityId: string;\n}\n\nexport const aPIEntityCodeGenerationSchema: Schema = object(\n {\n id: ['id', string()],\n template: ['template', platformsSchema],\n generatedFile: ['generatedFile', string()],\n generatedOn: ['generatedOn', string()],\n hashCode: ['hashCode', string()],\n codeGenerationSource: ['codeGenerationSource', string()],\n codeGenVersion: ['codeGenVersion', string()],\n success: ['success', boolean()],\n apiEntityId: ['apiEntityId', string()],\n }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { ApiResponse, RequestOptions } from '../core';\nimport {\n APIEntityCodeGeneration,\n aPIEntityCodeGenerationSchema,\n} from '../models/aPIEntityCodeGeneration';\nimport { Platforms, platformsSchema } from '../models/platforms';\nimport { array, string } from '../schema';\nimport { BaseController } from './baseController';\n\nexport class CodeGenerationImportedApisController extends BaseController {\n /**\n * Generate an SDK for an API Version.\n *\n * This endpoint generates and then uploads the generated SDK to APIMatic's cloud storage. An ID for\n * the generation performed is returned as part of the response.\n *\n * @param apiEntityId The ID of the API Entity to generate the SDK for.\n * @param template The structure contains platforms that APIMatic CodeGen can generate SDKs and\n * Docs in.\n * @return Response from the API call\n */\n async generateSDK(\n apiEntityId: string,\n template: Platforms,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('POST');\n const mapped = req.prepareArgs({\n apiEntityId: [apiEntityId, string()],\n template: [template, platformsSchema],\n });\n req.header('Content-Type', 'application/x-www-form-urlencoded');\n req.form({\n template: mapped.template,\n });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/code-generations/generate`;\n return req.callAsJson(aPIEntityCodeGenerationSchema, requestOptions);\n }\n\n /**\n * Download the SDK generated via the Generate SDK endpoint.\n *\n * @param apiEntityId The ID of the API Entity for which the SDK was generated.\n * @param codegenId The ID of code generation received in the response of the [SDK generation\n * call](https://www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-endpoints/code-\n * generation-imported-apis/generate-sdk).\n * @return Response from the API call\n */\n async downloadSDK(\n apiEntityId: string,\n codegenId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({\n apiEntityId: [apiEntityId, string()],\n codegenId: [codegenId, string()],\n });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/code-generations/${mapped.codegenId}/generated-sdk`;\n return req.callAsStream(requestOptions);\n }\n\n /**\n * Get a list of all SDK generations done against an API Version via the Generate SDK endpoint.\n *\n * @param apiEntityId The ID of the API Entity for which to list code generations.\n * @return Response from the API call\n */\n async listAllCodeGenerations(\n apiEntityId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({ apiEntityId: [apiEntityId, string()] });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/code-generations`;\n return req.callAsJson(array(aPIEntityCodeGenerationSchema), requestOptions);\n }\n\n /**\n * Get details on an SDK generation performed via the Generate SDK endpoint.\n *\n * @param apiEntityId The ID of the API Entity to fetch the code generation for.\n * @param codegenId The ID of the code generation to fetch. The code generation ID is received in the\n * response of the [SDK generation call](https://www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-endpoints/code-\n * generation-imported-apis/generate-sdk).\n * @return Response from the API call\n */\n async getACodeGeneration(\n apiEntityId: string,\n codegenId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({\n apiEntityId: [apiEntityId, string()],\n codegenId: [codegenId, string()],\n });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/code-generations/${mapped.codegenId}`;\n return req.callAsJson(aPIEntityCodeGenerationSchema, requestOptions);\n }\n\n /**\n * Delete an SDK generation performed for an API Version via the Generate SDK endpoint.\n *\n * @param apiEntityId The ID of the API Entity to delete the code generation for.\n * @param codegenId The ID of the code generation to delete. The code generation ID is received in the\n * response of the [SDK generation call](https://www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-endpoints/code-\n * generation-imported-apis/generate-sdk).\n * @return Response from the API call\n */\n async deleteCodeGeneration(\n apiEntityId: string,\n codegenId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('DELETE');\n const mapped = req.prepareArgs({\n apiEntityId: [apiEntityId, string()],\n codegenId: [codegenId, string()],\n });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/code-generations/${mapped.codegenId}`;\n return req.call(requestOptions);\n }\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { Schema, stringEnum } from '../schema';\n\n/**\n * Enum for Accept3\n */\nexport enum Accept3 {\n EnumApplicationzip = 'application/zip',\n}\n\n/**\n * Schema for Accept3\n */\nexport const accept3Schema: Schema = stringEnum(Accept3);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { ApiResponse, FileWrapper, RequestOptions } from '../core';\nimport { Accept3, accept3Schema } from '../models/accept3';\nimport { string } from '../schema';\nimport { BaseController } from './baseController';\n\nexport class DocsPortalManagementController extends BaseController {\n /**\n * Publish artifacts for a Hosted Portal.\n *\n * This endpoint regenerates all the artifacts for a hosted portal and uploads them to APIMatic's cloud\n * storage, from where the Portal fetches them. These artifacts include:\n *\n * 1. SDKs\n * 2. Docs\n * 3. API Specification files\n *\n * Call this endpoint to update your Hosted Portal after you update an API Entity via any of the Import\n * API Endpoints.\n *\n * __**Note: If you have an embedded portal against the same API Entity, artifacts for that portal will\n * get updated as well.**__\n *\n * @param apiEntityId The ID of the API Entity to update the portal artifacts for.\n * @return Response from the API call\n */\n async publishHostedPortal(\n apiEntityId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('PUT');\n const mapped = req.prepareArgs({ apiEntityId: [apiEntityId, string()] });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/hosted-portal`;\n return req.call(requestOptions);\n }\n\n /**\n * Publish artifacts for an Embedded Portal and get the Portal Embed script.\n *\n * This endpoint regenerates all the artifacts for an embedded portal and uploads them to APIMatic's\n * cloud storage, from where the Portal fetches them. These artifacts include:\n *\n * 1. SDKs\n * 2. Docs\n * 3. API Specification files\n *\n * Call this endpoint to update your Embedded Portal after you update an API Entity via any of the\n * Import API Endpoints. This endpoint returns the Portal Embed script in the response.\n *\n * __**Note: If you have a hosted portal against the same API Entity, artifacts for that portal will\n * get updated as well.**__\n *\n * @param apiEntityId The ID of the API Entity to update the portal artifacts for.\n * @return Response from the API call\n */\n async publishEmbeddedPortal(\n apiEntityId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('PUT');\n const mapped = req.prepareArgs({ apiEntityId: [apiEntityId, string()] });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/embedded-portal`;\n return req.call(requestOptions);\n }\n\n /**\n * Generate an On-premise Documentation Portal for an API Entity. This endpoint generates all artifacts\n * for the Portal and packages them together into a zip file along with the required HTML, CSS and JS\n * files. The generated artifacts include:\n *\n * 1. SDKs\n * 2. Docs\n * 3. API Specification files\n *\n * The endpoint returns a zip file that contains a static Site and can be hosted on any Web Server.\n *\n * @param apiEntityId The ID of the API Entity to generate the Portal for.\n * @param accept Example: application/zip\n * @return Response from the API call\n */\n async generateOnPremPortalViaAPIEntity(\n apiEntityId: string,\n accept: Accept3,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({\n apiEntityId: [apiEntityId, string()],\n accept: [accept, accept3Schema],\n });\n req.header('Accept', mapped.accept);\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/on-prem-portal`;\n return req.call(requestOptions);\n }\n\n /**\n * Generate an On-premise Documentation Portal by uploading a Portal Build Input. This endpoint\n * generates all artifacts for the Portal and packages them together into a zip file along with the\n * required HTML, CSS and JS files. The generated artifacts include:\n *\n * 1. SDKs\n * 2. Docs\n * 3. API Specification files\n *\n * The endpoint returns a zip file that contains a static Site and can be hosted on any Web Server.\n *\n * @param file The input file to the Portal Generator. Must contain the build file.\n * @return Response from the API call\n */\n async generateOnPremPortalViaBuildInput(\n file: FileWrapper,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('POST', '/portal');\n req.header('ContentType', 'multipart/form-data');\n req.formData({\n file: file,\n });\n return req.callAsStream(requestOptions);\n }\n\n /**\n * Unpublish a Hosted or Embedded Portal published for an API Entity. Calling this endpoint deletes all\n * the published artifacts for a Portal from APIMatic's cloud storage.\n *\n * In case of a Hosted Portal, to completely remove the Portal, this endpoint needs to be called\n * against all API versions that the Portal hosts.\n *\n * In case of an Embedded Portal, to completely remove the Portal, the user needs to manually remove\n * the Portal Embed script from the embedding site.\n *\n * @param apiEntityId The ID of the API Entity to unpublish the Portal artifacts for.\n * @return Response from the API call\n */\n async unpublishPortal(\n apiEntityId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('DELETE');\n const mapped = req.prepareArgs({ apiEntityId: [apiEntityId, string()] });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/portal`;\n return req.call(requestOptions);\n }\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { Schema, stringEnum } from '../schema';\n\n/**\n * Enum for Id\n */\nexport enum Id {\n Enum5dcd2b5893c3e31a206f30c4 = '5dcd2b5893c3e31a206f30c4',\n}\n\n/**\n * Schema for Id\n */\nexport const idSchema: Schema = stringEnum(Id);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { Schema, stringEnum } from '../schema';\n\n/**\n * Enum for Link\n */\nexport enum Link {\n EnumHttpswwwnugetorgpackagesmyPackage111 = 'https://www.nuget.org/packages/myPackage/1.1.1',\n}\n\n/**\n * Schema for Link\n */\nexport const linkSchema: Schema = stringEnum(Link);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { object, optional, Schema, string, unknown } from '../schema';\nimport { Id, idSchema } from './id';\nimport { Link, linkSchema } from './link';\n\n/** This structure contains all details that goes into package deployment. */\nexport interface CSNETSTANDARDLIB {\n /** Unique package identifier */\n id?: Id;\n /** Package Repository as per platform */\n packageRepository: string;\n /** Package Name */\n packageName: string;\n version: string;\n /** Any additional platform specific deployment detail */\n additionalDeploymentInformation?: unknown;\n /** Link of deployed package */\n link?: Link;\n}\n\nexport const cSNETSTANDARDLIBSchema: Schema = object({\n id: ['id', optional(idSchema)],\n packageRepository: ['packageRepository', string()],\n packageName: ['packageName', string()],\n version: ['version', string()],\n additionalDeploymentInformation: [\n 'additionalDeploymentInformation',\n unknown(),\n ],\n link: ['link', optional(linkSchema)],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { lazy, object, Schema } from '../schema';\nimport { CSNETSTANDARDLIB, cSNETSTANDARDLIBSchema } from './cSNETSTANDARDLIB';\n\n/** This structure encapsulates all package deployment details. */\nexport interface TemplatesPackageDeploymentInformation {\n /** This structure contains all details that goes into package deployment. */\n cSNETSTANDARDLIB: CSNETSTANDARDLIB;\n}\n\nexport const templatesPackageDeploymentInformationSchema: Schema = object(\n {\n cSNETSTANDARDLIB: [\n 'CS_NET_STANDARD_LIB',\n lazy(() => cSNETSTANDARDLIBSchema),\n ],\n }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { lazy, object, Schema, string } from '../schema';\nimport {\n TemplatesPackageDeploymentInformation,\n templatesPackageDeploymentInformationSchema,\n} from './templatesPackageDeploymentInformation';\n\n/** The structure contains Package Deployment Information along with Id. */\nexport interface PackageDeploymentInformation {\n /** Package Deployment Identifier */\n id: string;\n /** This structure encapsulates all package deployment details. */\n templatesPackageDeploymentInformation: TemplatesPackageDeploymentInformation;\n}\n\nexport const packageDeploymentInformationSchema: Schema = object(\n {\n id: ['id', string()],\n templatesPackageDeploymentInformation: [\n 'templatesPackageDeploymentInformation',\n lazy(() => templatesPackageDeploymentInformationSchema),\n ],\n }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { object, Schema, string } from '../schema';\n\nexport interface AuthorIdentifiers {\n email: string;\n userName: string;\n}\n\nexport const authorIdentifiersSchema: Schema = object({\n email: ['Email', string()],\n userName: ['UserName', string()],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { lazy, object, Schema, string, unknown } from '../schema';\nimport {\n AuthorIdentifiers,\n authorIdentifiersSchema,\n} from './authorIdentifiers';\n\nexport interface PublishedPackage {\n id: string;\n createdOn: string;\n apiEntityId: string;\n packageRepository: string;\n template: string;\n packageName: string;\n version: string;\n additionalDeploymentInformation?: unknown;\n authorIdentifiers: AuthorIdentifiers;\n link: string;\n}\n\nexport const publishedPackageSchema: Schema = object({\n id: ['id', string()],\n createdOn: ['createdOn', string()],\n apiEntityId: ['apiEntityId', string()],\n packageRepository: ['packageRepository', string()],\n template: ['template', string()],\n packageName: ['packageName', string()],\n version: ['version', string()],\n additionalDeploymentInformation: [\n 'additionalDeploymentInformation',\n unknown(),\n ],\n authorIdentifiers: ['authorIdentifiers', lazy(() => authorIdentifiersSchema)],\n link: ['link', string()],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { Schema, stringEnum } from '../schema';\n\n/**\n * Enum for PackageRepositories\n */\nexport enum PackageRepositories {\n Npm = 'Npm',\n PyPI = 'PyPI',\n RubyGems = 'RubyGems',\n}\n\n/**\n * Schema for PackageRepositories\n */\nexport const packageRepositoriesSchema: Schema = stringEnum(PackageRepositories);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { object, Schema, string, unknown } from '../schema';\nimport {\n PackageRepositories,\n packageRepositoriesSchema,\n} from './packageRepositories';\nimport { Platforms, platformsSchema } from './platforms';\n\nexport interface PublishPackageInput {\n packageRepository: PackageRepositories;\n /** The structure contains platforms that APIMatic CodeGen can generate SDKs and Docs in. */\n template: Platforms;\n packageName: string;\n version: string;\n additionalDeploymentInformation?: unknown;\n}\n\nexport const publishPackageInputSchema: Schema = object({\n packageRepository: ['packageRepository', packageRepositoriesSchema],\n template: ['template', platformsSchema],\n packageName: ['packageName', string()],\n version: ['version', string()],\n additionalDeploymentInformation: [\n 'additionalDeploymentInformation',\n unknown(),\n ],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { lazy, object, Schema } from '../schema';\nimport { CSNETSTANDARDLIB, cSNETSTANDARDLIBSchema } from './cSNETSTANDARDLIB';\n\n/** This structure helps update package deployment details. */\nexport interface UpdateTemplatesPackageDeploymentInformation {\n /** This structure contains all details that goes into package deployment. */\n cSNETSTANDARDLIB: CSNETSTANDARDLIB;\n}\n\nexport const updateTemplatesPackageDeploymentInformationSchema: Schema = object(\n {\n cSNETSTANDARDLIB: [\n 'CS_NET_STANDARD_LIB',\n lazy(() => cSNETSTANDARDLIBSchema),\n ],\n }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { lazy, object, Schema } from '../schema';\nimport {\n UpdateTemplatesPackageDeploymentInformation,\n updateTemplatesPackageDeploymentInformationSchema,\n} from './updateTemplatesPackageDeploymentInformation';\n\n/** This structure is used to update package deployment details. */\nexport interface UpdatePackageDeploymentInformation {\n /** This structure helps update package deployment details. */\n templatesPackageDeploymentInformation: UpdateTemplatesPackageDeploymentInformation;\n}\n\nexport const updatePackageDeploymentInformationSchema: Schema = object(\n {\n templatesPackageDeploymentInformation: [\n 'templatesPackageDeploymentInformation',\n lazy(() => updateTemplatesPackageDeploymentInformationSchema),\n ],\n }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { ApiResponse, RequestOptions } from '../core';\nimport {\n PackageDeploymentInformation,\n packageDeploymentInformationSchema,\n} from '../models/packageDeploymentInformation';\nimport {\n PublishedPackage,\n publishedPackageSchema,\n} from '../models/publishedPackage';\nimport {\n PublishPackageInput,\n publishPackageInputSchema,\n} from '../models/publishPackageInput';\nimport {\n UpdatePackageDeploymentInformation,\n updatePackageDeploymentInformationSchema,\n} from '../models/updatePackageDeploymentInformation';\nimport { array, string } from '../schema';\nimport { BaseController } from './baseController';\n\nexport class PackageDeploymentController extends BaseController {\n /**\n * Update Package Deployment Information for an API Entity. To find out more on how to publish a\n * package visit: [Adding Packages to Portal](https://docs.apimatic.io/developer-experience-\n * portal/adding%20packages%20to%20portal/)\n *\n * To find out more about publishing packages visit: [Publish Packages](https://docs.apimatic.\n * io/developer-experience-portal/adding%20packages%20to%20portal/)\n *\n * @param apiEntityId Unique API Entity Identifier\n * @param body Package Deployment Information to be updated.\n * This comprises of the Platform Template, the\n * Repository Name and Version.\n * @return Response from the API call\n */\n async updatePackageDeploymentInformation(\n apiEntityId: string,\n body: UpdatePackageDeploymentInformation,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('PUT');\n const mapped = req.prepareArgs({\n apiEntityId: [apiEntityId, string()],\n body: [body, updatePackageDeploymentInformationSchema],\n });\n req.header('Content-Type', 'application/json');\n req.json(mapped.body);\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/docs/package-deployment-information`;\n return req.call(requestOptions);\n }\n\n /**\n * Query Package deployment details added for an API Entity.\n * To find out more about adding packages to portal: [Adding Packages to Portal](https://docs.apimatic.\n * io/developer-experience-portal/adding%20packages%20to%20portal/)\n *\n * @param apiEntityId Unique API Entity identifier\n * @return Response from the API call\n */\n async packageDeploymentInformation(\n apiEntityId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n req.baseUrl('default');\n const mapped = req.prepareArgs({ apiEntityId: [apiEntityId, string()] });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/docs/package-deployment-information`;\n return req.callAsJson(packageDeploymentInformationSchema, requestOptions);\n }\n\n /**\n * Returns logs for all packages published for the API.\n *\n * @param apiEntityId Unique API Identifier\n * @return Response from the API call\n */\n async getPublishedPackagesForAPI(\n apiEntityId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({ apiEntityId: [apiEntityId, string()] });\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/published-packages`;\n return req.callAsJson(array(publishedPackageSchema), requestOptions);\n }\n\n /**\n * Publish a new package for API by specifying package name and version number.\n *\n * To publish packages using this API, you will first need to add package repository credentials to\n * your APIMatic account.\n * Check out the [docs](https://docs.apimatic.io/advanced/publishing-a-package/) for a guide on adding\n * package repository credentials\n *\n * @param apiEntityId Unique API Identifier\n * @param body\n * @return Response from the API call\n */\n async publishAPackageForAPI(\n apiEntityId: string,\n body: PublishPackageInput,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('POST');\n const mapped = req.prepareArgs({\n apiEntityId: [apiEntityId, string()],\n body: [body, publishPackageInputSchema],\n });\n req.header('Content-Type', 'application/json');\n req.json(mapped.body);\n req.appendTemplatePath`/api-entities/${mapped.apiEntityId}/published-packages/`;\n return req.callAsJson(publishedPackageSchema, requestOptions);\n }\n\n /**\n * Pull details for a certain published package by specifying Published Package Id.\n *\n * @param apiEntityId Unique API Identifier\n * @param publishedPackageId Unique Published Package Identifier\n * @return Response from the API call\n */\n async getAPublishedPackage(\n apiEntityId: string,\n publishedPackageId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n req.baseUrl('default');\n const mapped = req.prepareArgs({\n apiEntityId: [apiEntityId, string()],\n publishedPackageId: [publishedPackageId, string()],\n });\n req.appendTemplatePath`/api/api-entities/${mapped.apiEntityId}/published-packages/${mapped.publishedPackageId}`;\n return req.callAsJson(publishedPackageSchema, requestOptions);\n }\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { boolean, lazy, object, optional, Schema, string } from '../schema';\nimport {\n ApiValidationSummary,\n apiValidationSummarySchema,\n} from './apiValidationSummary';\n\n/** Transformation structure encapsulates all the details of a Transformation. */\nexport interface Transformation {\n /** Unique Transformation Identifier */\n id: string;\n /** Transformation Date and Time */\n transformedOn: string;\n /** Unique User Identifier */\n userId: string;\n /** API Specification file to be transformed */\n inputtedFile: string;\n /** API Specification file transformed to desired format */\n generatedFile: string;\n /** Desired Specification format */\n exportFormat: string;\n /** Source of Transformation */\n transformationSource: string;\n /** Via File or URL */\n transformationInput: string;\n /** CodeGen Engine Version */\n codeGenVersion: string;\n /** Successful Transformation Flag */\n success: boolean;\n importSummary?: ApiValidationSummary;\n apiValidationSummary?: ApiValidationSummary;\n}\n\nexport const transformationSchema: Schema = object({\n id: ['id', string()],\n transformedOn: ['transformedOn', string()],\n userId: ['userId', string()],\n inputtedFile: ['inputtedFile', string()],\n generatedFile: ['generatedFile', string()],\n exportFormat: ['exportFormat', string()],\n transformationSource: ['transformationSource', string()],\n transformationInput: ['transformationInput', string()],\n codeGenVersion: ['codeGenVersion', string()],\n success: ['success', boolean()],\n importSummary: [\n 'importSummary',\n optional(lazy(() => apiValidationSummarySchema)),\n ],\n apiValidationSummary: [\n 'apiValidationSummary',\n optional(lazy(() => apiValidationSummarySchema)),\n ],\n});\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { object, Schema, string } from '../schema';\nimport { ExportFormats, exportFormatsSchema } from './exportFormats';\n\n/** This structure puts together the URL of the file to be transformed, along with the desired export format. */\nexport interface TransformViaUrlRequest {\n /** The URL for the API specification file.

**Note:** This URL should be publicly accessible. */\n url: string;\n /** The structure contains API specification formats that Transformer can convert to. */\n exportFormat: ExportFormats;\n}\n\nexport const transformViaUrlRequestSchema: Schema = object(\n {\n url: ['url', string()],\n exportFormat: ['export_format', exportFormatsSchema],\n }\n);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { ApiResponse, FileWrapper, RequestOptions } from '../core';\nimport { ExportFormats, exportFormatsSchema } from '../models/exportFormats';\nimport { Transformation, transformationSchema } from '../models/transformation';\nimport {\n TransformViaUrlRequest,\n transformViaUrlRequestSchema,\n} from '../models/transformViaUrlRequest';\nimport { array, string } from '../schema';\nimport { BaseController } from './baseController';\n\nexport class TransformationController extends BaseController {\n /**\n * Transform an API into any of the supported API specification formats by uploading the API\n * specification file.\n *\n * This endpoint transforms and then uploads the transformed API specification to APIMatic's cloud\n * storage. An ID for the transformation performed is returned as part of the response.\n *\n * @param file The API specification file.
The type of the specification file should be\n * any of the [supported formats](https://docs.apimatic.io/api-\n * transformer/overview-transformer#supported-input-formats).\n * @param exportFormat The structure contains API specification formats that Transformer can\n * convert to.\n * @return Response from the API call\n */\n async transformViaFile(\n file: FileWrapper,\n exportFormat: ExportFormats,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest(\n 'POST',\n '/transformations/transform-via-file'\n );\n const mapped = req.prepareArgs({\n exportFormat: [exportFormat, exportFormatsSchema],\n });\n req.header('ContentType', 'multipart/form-data');\n req.formData({\n file: file,\n export_format: mapped.exportFormat,\n });\n return req.callAsJson(transformationSchema, requestOptions);\n }\n\n /**\n * Transform an API into any of the supported API specification formats by providing the URL of the API\n * specification file.\n *\n * This endpoint transforms and then uploads the transformed API specification to APIMatic's cloud\n * storage. An ID for the transformation performed is returned as part of the response.\n *\n * @param body Request Body\n * @return Response from the API call\n */\n async transformViaURL(\n body: TransformViaUrlRequest,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest(\n 'POST',\n '/transformations/transform-via-url'\n );\n const mapped = req.prepareArgs({\n body: [body, transformViaUrlRequestSchema],\n });\n req.header(\n 'Content-Type',\n 'application/vnd.apimatic.urlTransformDto.v1+json'\n );\n req.json(mapped.body);\n return req.callAsJson(transformationSchema, requestOptions);\n }\n\n /**\n * Download the transformed API specification file transformed via the Transformation endpoints.\n *\n * @param transformationId The ID of transformation received in the response of the [Transform Via File\n * ](https://www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-\n * endpoints/transformation/transform-via-file) or [Transform Via URL ](https:\n * //www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-\n * endpoints/transformation/transform-via-url) calls.\n * @return Response from the API call\n */\n async downloadTransformedFile(\n transformationId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({\n transformationId: [transformationId, string()],\n });\n req.appendTemplatePath`/transformations/${mapped.transformationId}/converted-file`;\n return req.callAsStream(requestOptions);\n }\n\n /**\n * Download the API Specification file used as input for a particular Transformation performed via the\n * Transformation endpoints.\n *\n * @param transformationId The ID of the transformation to download the API specification for. The\n * transformation ID is received in the response of the [Transform Via File\n * ](https://www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-\n * endpoints/transformation/transform-via-file) or [Transform Via URL](https://www.\n * apimatic.io/api-docs-preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-\n * endpoints/transformation/transform-via-url) calls.\n * @return Response from the API call\n */\n async downloadInputFile(\n transformationId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({\n transformationId: [transformationId, string()],\n });\n req.appendTemplatePath`/transformations/${mapped.transformationId}/input-file`;\n return req.callAsStream(requestOptions);\n }\n\n /**\n * Get a list of all API transformations performed.\n *\n * @return Response from the API call\n */\n async listAllTransformations(\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET', '/transformations');\n return req.callAsJson(array(transformationSchema), requestOptions);\n }\n\n /**\n * Get details on a particular Transformation performed via the Transformation endpoints.\n *\n * @param transformationId The ID of the transformation to fetch. The transformation ID is received in\n * the response of the [Transform Via File ](https://www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-\n * endpoints/transformation/transform-via-file) or [Transform Via URL ](https:\n * //www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-\n * endpoints/transformation/transform-via-url) calls.\n * @return Response from the API call\n */\n async getATransformation(\n transformationId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('GET');\n const mapped = req.prepareArgs({\n transformationId: [transformationId, string()],\n });\n req.appendTemplatePath`/transformations/${mapped.transformationId}`;\n return req.callAsJson(transformationSchema, requestOptions);\n }\n\n /**\n * Delete a particular Transformation performed for an API via the Transformation endpoints.\n *\n * @param transformationId The ID of the transformation to delete. The transformation ID is received in\n * the response of the [Transform Via File ](https://www.apimatic.io/api-docs-\n * preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-\n * endpoints/transformation/transform-via-file) or [Transform Via URL](https://www.\n * apimatic.io/api-docs-preview/dashboard/60eea3b7a73395c3052d961b/v/3_0#/http/api-\n * endpoints/transformation/transform-via-url) calls.\n * @return Response from the API call\n */\n async deleteTransformation(\n transformationId: string,\n requestOptions?: RequestOptions\n ): Promise> {\n const req = this.createRequest('DELETE');\n const mapped = req.prepareArgs({\n transformationId: [transformationId, string()],\n });\n req.appendTemplatePath`/transformations/${mapped.transformationId}`;\n return req.call(requestOptions);\n }\n}\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { Schema, stringEnum } from '../schema';\n\n/**\n * Enum for ContentType\n */\nexport enum ContentType {\n EnumMultipartformdata = 'multipart/form-data',\n}\n\n/**\n * Schema for ContentType\n */\nexport const contentTypeSchema: Schema = stringEnum(ContentType);\n","/**\n * Apimatic APILib\n *\n * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).\n */\n\nimport { Schema, stringEnum } from '../schema';\n\n/**\n * Enum for ImplementationType\n */\nexport enum ImplementationType {\n Structure = 'Structure',\n Enumeration = 'Enumeration',\n Exception = 'Exception',\n}\n\n/**\n * Schema for ImplementationType\n */\nexport const implementationTypeSchema: Schema = stringEnum(ImplementationType);\n"],"names":["undefined","customHeaderAuthenticationProvider","authorization","requiresAuth","passThroughInterceptor","request","options","next","customHeaderParams","mergeHeaders","headers","Environment","DEFAULT_CONFIGURATION","timeout","environment","Production","XmlSerialization","xmlSerialize","_rootName","_value","Error","xmlDeserialize","_xmlString","USER_AGENT","Client","config","_config","_requestBuilderFactory","createRequestHandlerFactory","server","getBaseUri","HttpClient","clientConfigOverrides","unstable_httpClientOptions","withErrorHandlers","withUserAgent","withAuthenticationByDefault","getRequestBuilderFactory","withConfiguration","createHttpClientAdapter","client","requestOptions","executeRequest","baseUrlProvider","authProvider","httpClient","addons","xmlSerializer","requestBuilderFactory","createRequestBuilderFactory","ApiError","tap","callback","requestBuilder","forEach","c","rb","defaultToError","header","authenticate","apiValidationSummarySchema","object","success","boolean","errors","array","string","warnings","messages","BaseController","createRequest","APIValidationExternalApisController","validateAPIViaFile","file","req","baseUrl","formData","callAsJson","validateAPIViaURL","descriptionUrl","mapped","prepareArgs","query","docsValidationSummarySchema","APIValidationImportedApisController","validateAPI","apiEntityId","appendTemplatePath","validateAPIForDocs","Accept","acceptSchema","stringEnum","Accept2","accept2Schema","authenticationSchema","id","authType","scopes","parameters","authScopes","authGrantTypes","paramFormats","unknown","codeGenSettingsSchema","isAsync","useHttpMethodPrefix","useModelPrefix","useEnumPrefix","useConstructorsForConfig","useCommonSdkLibrary","generateInterfaces","generateAppveyorConfig","generateCircleConfig","generateJenkinsConfig","generateTravisConfig","androidUseAppManifest","iosUseAppInfoPlist","iosGenerateCoreData","runscopeEnabled","collapseParamsToArray","preserveParameterOrder","appendContentHeaders","modelSerializationIsJSON","nullify404","validateRequiredParameters","enableAdditionalModelProperties","javaUsePropertiesConfig","useControllerPrefix","useExceptionPrefix","parameterArrayFormat","objCHttpClient","cSharpHttpClient","androidHttpClient","nodeHttpClient","phpHttpClient","bodySerialization","number","arraySerialization","enableLogging","enableHttpCache","retries","retryInterval","generateAdvancedDocs","storeTimezoneInformation","enablePhpComposerVersionString","securityProtocols","underscoreNumbers","useSingletonPattern","disableLinting","allowSkippingSSLCertVerification","applyCustomizations","doNotSplitWords","sortResources","enableGlobalUserAgent","endpointsGroupSchema","name","description","importValidationSummarySchema","metaDataSchema","importValidationSummary","lazy","apiValidationSummary","docsValidationSummary","serverSchema","url","environmentSchema","servers","attributesSchema","parameterSchema","optional","type","constant","isArray","isStream","isAttribute","isMap","attributes","nullable","defaultValue","paramFormat","serverConfigurationSchema","defaultEnvironment","defaultServer","environments","testGenSettingsSchema","precisionDelta","testTimeout","configuration","apiEntitySchema","encryptedId","apiKey","apiGroupId","imageUri","creationDate","mPublic","version","additionalHeaders","authentication","codeGenSettings","testGenSettings","serverConfiguration","endpointsGroup","metaData","ExportFormats","exportFormatsSchema","importApiVersionViaUrlRequestSchema","versionOverride","importApiViaUrlRequestSchema","inplaceImportApiViaUrlRequestSchema","ApisManagementController","importAPIViaFile","importAPIViaURL","body","json","importNewAPIVersionViaFile","accept","version_override","importNewAPIVersionViaURL","inplaceAPIImportViaFile","call","inplaceAPIImportViaURL","fetchAPIEntity","downloadAPISpecification","format","callAsStream","Platforms","platformsSchema","generateSdkViaUrlRequestSchema","template","userCodeGenerationSchema","generatedFile","generatedOn","hashCode","codeGenerationSource","codeGenVersion","userId","inputFile","CodeGenerationExternalApisController","generateSDKViaFile","generateSDKViaURL","downloadSDK","codegenId","listAllCodeGenerations","downloadInputFile","getACodeGeneration","deleteCodeGeneration1","aPIEntityCodeGenerationSchema","CodeGenerationImportedApisController","generateSDK","form","deleteCodeGeneration","Accept3","accept3Schema","DocsPortalManagementController","publishHostedPortal","publishEmbeddedPortal","generateOnPremPortalViaAPIEntity","generateOnPremPortalViaBuildInput","unpublishPortal","Id","idSchema","Link","linkSchema","cSNETSTANDARDLIBSchema","packageRepository","packageName","additionalDeploymentInformation","link","templatesPackageDeploymentInformationSchema","cSNETSTANDARDLIB","packageDeploymentInformationSchema","templatesPackageDeploymentInformation","authorIdentifiersSchema","email","userName","publishedPackageSchema","createdOn","authorIdentifiers","PackageRepositories","packageRepositoriesSchema","publishPackageInputSchema","updateTemplatesPackageDeploymentInformationSchema","updatePackageDeploymentInformationSchema","PackageDeploymentController","updatePackageDeploymentInformation","packageDeploymentInformation","getPublishedPackagesForAPI","publishAPackageForAPI","getAPublishedPackage","publishedPackageId","transformationSchema","transformedOn","inputtedFile","exportFormat","transformationSource","transformationInput","importSummary","transformViaUrlRequestSchema","TransformationController","transformViaFile","export_format","transformViaURL","downloadTransformedFile","transformationId","listAllTransformations","getATransformation","deleteTransformation","ContentType","ImplementationType"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,OAAO,IAAI,UAAU,OAAO,EAAE;AAElC;AACA,EAAE,IAAI,EAAE,GAAG,MAAM,CAAC,SAAS,CAAC;AAC5B,EAAE,IAAI,MAAM,GAAG,EAAE,CAAC,cAAc,CAAC;AACjC,EAAE,IAAIA,WAAS,CAAC;AAChB,EAAE,IAAI,OAAO,GAAG,OAAO,MAAM,KAAK,UAAU,GAAG,MAAM,GAAG,EAAE,CAAC;AAC3D,EAAE,IAAI,cAAc,GAAG,OAAO,CAAC,QAAQ,IAAI,YAAY,CAAC;AACxD,EAAE,IAAI,mBAAmB,GAAG,OAAO,CAAC,aAAa,IAAI,iBAAiB,CAAC;AACvE,EAAE,IAAI,iBAAiB,GAAG,OAAO,CAAC,WAAW,IAAI,eAAe,CAAC;AACjE;AACA,EAAE,SAAS,MAAM,CAAC,GAAG,EAAE,GAAG,EAAE,KAAK,EAAE;AACnC,IAAI,MAAM,CAAC,cAAc,CAAC,GAAG,EAAE,GAAG,EAAE;AACpC,MAAM,KAAK,EAAE,KAAK;AAClB,MAAM,UAAU,EAAE,IAAI;AACtB,MAAM,YAAY,EAAE,IAAI;AACxB,MAAM,QAAQ,EAAE,IAAI;AACpB,KAAK,CAAC,CAAC;AACP,IAAI,OAAO,GAAG,CAAC,GAAG,CAAC,CAAC;AACpB,GAAG;AACH,EAAE,IAAI;AACN;AACA,IAAI,MA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