Automated build 'Security' typescript-axios sdk: 4723017542

This commit is contained in:
GitHub Action Bot
2023-04-17 15:33:39 +00:00
parent 01738e4720
commit 866ca99ca2
16 changed files with 2144 additions and 3838 deletions

View File

@@ -1,4 +1,3 @@
"use strict";
/* tslint:disable */
/* eslint-disable */
/**
@@ -12,11 +11,43 @@
* https://openapi-generator.tech
* Do not edit the class manually.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.Configuration = void 0;
var Configuration = /** @class */ (function () {
function Configuration(param) {
if (param === void 0) { param = {}; }
export class Configuration {
/**
* parameter for apiKey security
* @param name security name
* @memberof Configuration
*/
apiKey;
/**
* override base path
*
* @type {string}
* @memberof Configuration
*/
basePath;
/**
* base options for axios calls
*
* @type {any}
* @memberof Configuration
*/
baseOptions;
/**
* The FormData constructor that will be used to create multipart form data
* requests. You can inject this here so that execution environments that
* do not support the FormData class can still run the generated client.
*
* @type {new () => FormData}
*/
formDataCtor;
/**
* axios retry configuration
*
* @type {IAxiosRetryConfig}
* @memberof Configuration
*/
retriesConfig;
constructor(param = {}) {
this.apiKey = param.apiKey;
this.basePath = param.basePath;
}
@@ -30,11 +61,9 @@ var Configuration = /** @class */ (function () {
* @param mime - MIME (Multipurpose Internet Mail Extensions)
* @return True if the given MIME is JSON, false otherwise.
*/
Configuration.prototype.isJsonMime = function (mime) {
var jsonMime = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
isJsonMime(mime) {
const jsonMime = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
};
return Configuration;
}());
exports.Configuration = Configuration;
}
}
//# sourceMappingURL=configuration.js.map