@open-norantec/mayor-client 0.0.0 → 2.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api.d.ts +68 -0
- package/dist/api.js +70 -0
- package/dist/base.d.ts +31 -0
- package/dist/base.js +33 -0
- package/dist/common.d.ts +14 -0
- package/dist/common.js +101 -0
- package/dist/configuration.d.ts +36 -0
- package/dist/configuration.js +22 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +18 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +4 -2
package/dist/api.d.ts
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import type { Configuration } from './configuration';
|
|
2
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
3
|
+
import type { RequestArgs } from './base';
|
|
4
|
+
import { BaseAPI } from './base';
|
|
5
|
+
export interface GetDynamicConfig200Response {
|
|
6
|
+
'gateway': boolean;
|
|
7
|
+
'statusText'?: string;
|
|
8
|
+
'data': GetDynamicConfig200ResponseAnyOf1Data;
|
|
9
|
+
'status': number;
|
|
10
|
+
'succeeded': GetDynamicConfig200ResponseSucceededEnum;
|
|
11
|
+
}
|
|
12
|
+
export declare const GetDynamicConfig200ResponseSucceededEnum: {
|
|
13
|
+
readonly False: "false";
|
|
14
|
+
};
|
|
15
|
+
export type GetDynamicConfig200ResponseSucceededEnum = typeof GetDynamicConfig200ResponseSucceededEnum[keyof typeof GetDynamicConfig200ResponseSucceededEnum];
|
|
16
|
+
export interface GetDynamicConfig200ResponseAnyOf {
|
|
17
|
+
'gateway': boolean;
|
|
18
|
+
'statusText'?: string | null;
|
|
19
|
+
'data': GetDynamicConfig200ResponseAnyOfData;
|
|
20
|
+
'status': number;
|
|
21
|
+
'succeeded': GetDynamicConfig200ResponseAnyOfSucceededEnum;
|
|
22
|
+
}
|
|
23
|
+
export declare const GetDynamicConfig200ResponseAnyOfSucceededEnum: {
|
|
24
|
+
readonly True: "true";
|
|
25
|
+
};
|
|
26
|
+
export type GetDynamicConfig200ResponseAnyOfSucceededEnum = typeof GetDynamicConfig200ResponseAnyOfSucceededEnum[keyof typeof GetDynamicConfig200ResponseAnyOfSucceededEnum];
|
|
27
|
+
export interface GetDynamicConfig200ResponseAnyOf1 {
|
|
28
|
+
'gateway': boolean;
|
|
29
|
+
'statusText'?: string | null;
|
|
30
|
+
'data': GetDynamicConfig200ResponseAnyOf1Data;
|
|
31
|
+
'status': number;
|
|
32
|
+
'succeeded': GetDynamicConfig200ResponseAnyOf1SucceededEnum;
|
|
33
|
+
}
|
|
34
|
+
export declare const GetDynamicConfig200ResponseAnyOf1SucceededEnum: {
|
|
35
|
+
readonly False: "false";
|
|
36
|
+
};
|
|
37
|
+
export type GetDynamicConfig200ResponseAnyOf1SucceededEnum = typeof GetDynamicConfig200ResponseAnyOf1SucceededEnum[keyof typeof GetDynamicConfig200ResponseAnyOf1SucceededEnum];
|
|
38
|
+
export interface GetDynamicConfig200ResponseAnyOf1Data {
|
|
39
|
+
'data': string;
|
|
40
|
+
'dynamics': Array<string>;
|
|
41
|
+
}
|
|
42
|
+
export interface GetDynamicConfig200ResponseAnyOfData {
|
|
43
|
+
'data': {
|
|
44
|
+
[key: string]: {
|
|
45
|
+
[key: string]: any | null;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
50
|
+
getDynamicConfig: (requestBody: {
|
|
51
|
+
[key: string]: any;
|
|
52
|
+
}, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
53
|
+
};
|
|
54
|
+
export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
55
|
+
getDynamicConfig(requestBody: {
|
|
56
|
+
[key: string]: any;
|
|
57
|
+
}, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetDynamicConfig200Response>>;
|
|
58
|
+
};
|
|
59
|
+
export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
60
|
+
getDynamicConfig(requestBody: {
|
|
61
|
+
[key: string]: any;
|
|
62
|
+
}, options?: RawAxiosRequestConfig): AxiosPromise<GetDynamicConfig200Response>;
|
|
63
|
+
};
|
|
64
|
+
export declare class DefaultApi extends BaseAPI {
|
|
65
|
+
getDynamicConfig(requestBody: {
|
|
66
|
+
[key: string]: any | null;
|
|
67
|
+
}, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetDynamicConfig200Response, any>>;
|
|
68
|
+
}
|
package/dist/api.js
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.GetDynamicConfig200ResponseAnyOf1SucceededEnum = exports.GetDynamicConfig200ResponseAnyOfSucceededEnum = exports.GetDynamicConfig200ResponseSucceededEnum = void 0;
|
|
4
|
+
const axios_1 = require("axios");
|
|
5
|
+
const common_1 = require("./common");
|
|
6
|
+
const base_1 = require("./base");
|
|
7
|
+
exports.GetDynamicConfig200ResponseSucceededEnum = {
|
|
8
|
+
False: 'false',
|
|
9
|
+
};
|
|
10
|
+
exports.GetDynamicConfig200ResponseAnyOfSucceededEnum = {
|
|
11
|
+
True: 'true',
|
|
12
|
+
};
|
|
13
|
+
exports.GetDynamicConfig200ResponseAnyOf1SucceededEnum = {
|
|
14
|
+
False: 'false',
|
|
15
|
+
};
|
|
16
|
+
const DefaultApiAxiosParamCreator = function (configuration) {
|
|
17
|
+
return {
|
|
18
|
+
getDynamicConfig: async (requestBody, options = {}) => {
|
|
19
|
+
(0, common_1.assertParamExists)('getDynamicConfig', 'requestBody', requestBody);
|
|
20
|
+
const localVarPath = `/api/dynamic-config/get`;
|
|
21
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
22
|
+
let baseOptions;
|
|
23
|
+
if (configuration) {
|
|
24
|
+
baseOptions = configuration.baseOptions;
|
|
25
|
+
}
|
|
26
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
27
|
+
const localVarHeaderParameter = {};
|
|
28
|
+
const localVarQueryParameter = {};
|
|
29
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
30
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
31
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
32
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
33
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
34
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(requestBody, localVarRequestOptions, configuration);
|
|
35
|
+
return {
|
|
36
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
37
|
+
options: localVarRequestOptions,
|
|
38
|
+
};
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
exports.DefaultApiAxiosParamCreator = DefaultApiAxiosParamCreator;
|
|
43
|
+
const DefaultApiFp = function (configuration) {
|
|
44
|
+
const localVarAxiosParamCreator = (0, exports.DefaultApiAxiosParamCreator)(configuration);
|
|
45
|
+
return {
|
|
46
|
+
async getDynamicConfig(requestBody, options) {
|
|
47
|
+
var _a, _b, _c;
|
|
48
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getDynamicConfig(requestBody, options);
|
|
49
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
50
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.getDynamicConfig']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
51
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
52
|
+
},
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
exports.DefaultApiFp = DefaultApiFp;
|
|
56
|
+
const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
57
|
+
const localVarFp = (0, exports.DefaultApiFp)(configuration);
|
|
58
|
+
return {
|
|
59
|
+
getDynamicConfig(requestBody, options) {
|
|
60
|
+
return localVarFp.getDynamicConfig(requestBody, options).then((request) => request(axios, basePath));
|
|
61
|
+
},
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
exports.DefaultApiFactory = DefaultApiFactory;
|
|
65
|
+
class DefaultApi extends base_1.BaseAPI {
|
|
66
|
+
getDynamicConfig(requestBody, options) {
|
|
67
|
+
return (0, exports.DefaultApiFp)(this.configuration).getDynamicConfig(requestBody, options).then((request) => request(this.axios, this.basePath));
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
exports.DefaultApi = DefaultApi;
|
package/dist/base.d.ts
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { Configuration } from './configuration';
|
|
2
|
+
import type { AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
3
|
+
export declare const BASE_PATH: string;
|
|
4
|
+
export declare const COLLECTION_FORMATS: {
|
|
5
|
+
csv: string;
|
|
6
|
+
ssv: string;
|
|
7
|
+
tsv: string;
|
|
8
|
+
pipes: string;
|
|
9
|
+
};
|
|
10
|
+
export interface RequestArgs {
|
|
11
|
+
url: string;
|
|
12
|
+
options: RawAxiosRequestConfig;
|
|
13
|
+
}
|
|
14
|
+
export declare class BaseAPI {
|
|
15
|
+
protected basePath: string;
|
|
16
|
+
protected axios: AxiosInstance;
|
|
17
|
+
protected configuration: Configuration | undefined;
|
|
18
|
+
constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
|
|
19
|
+
}
|
|
20
|
+
export declare class RequiredError extends Error {
|
|
21
|
+
field: string;
|
|
22
|
+
constructor(field: string, msg?: string);
|
|
23
|
+
}
|
|
24
|
+
interface ServerMap {
|
|
25
|
+
[key: string]: {
|
|
26
|
+
url: string;
|
|
27
|
+
description: string;
|
|
28
|
+
}[];
|
|
29
|
+
}
|
|
30
|
+
export declare const operationServerMap: ServerMap;
|
|
31
|
+
export {};
|
package/dist/base.js
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.operationServerMap = exports.RequiredError = exports.BaseAPI = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
|
|
4
|
+
const axios_1 = require("axios");
|
|
5
|
+
exports.BASE_PATH = "http://localhost".replace(/\/+$/, "");
|
|
6
|
+
exports.COLLECTION_FORMATS = {
|
|
7
|
+
csv: ",",
|
|
8
|
+
ssv: " ",
|
|
9
|
+
tsv: "\t",
|
|
10
|
+
pipes: "|",
|
|
11
|
+
};
|
|
12
|
+
class BaseAPI {
|
|
13
|
+
constructor(configuration, basePath = exports.BASE_PATH, axios = axios_1.default) {
|
|
14
|
+
var _a;
|
|
15
|
+
this.basePath = basePath;
|
|
16
|
+
this.axios = axios;
|
|
17
|
+
if (configuration) {
|
|
18
|
+
this.configuration = configuration;
|
|
19
|
+
this.basePath = (_a = configuration.basePath) !== null && _a !== void 0 ? _a : basePath;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
exports.BaseAPI = BaseAPI;
|
|
24
|
+
;
|
|
25
|
+
class RequiredError extends Error {
|
|
26
|
+
constructor(field, msg) {
|
|
27
|
+
super(msg);
|
|
28
|
+
this.field = field;
|
|
29
|
+
this.name = "RequiredError";
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
exports.RequiredError = RequiredError;
|
|
33
|
+
exports.operationServerMap = {};
|
package/dist/common.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { Configuration } from "./configuration";
|
|
2
|
+
import type { RequestArgs } from "./base";
|
|
3
|
+
import type { AxiosInstance, AxiosResponse } from 'axios';
|
|
4
|
+
export declare const DUMMY_BASE_URL = "https://example.com";
|
|
5
|
+
export declare const assertParamExists: (functionName: string, paramName: string, paramValue: unknown) => void;
|
|
6
|
+
export declare const setApiKeyToObject: (object: any, keyParamName: string, configuration?: Configuration) => Promise<void>;
|
|
7
|
+
export declare const setBasicAuthToObject: (object: any, configuration?: Configuration) => void;
|
|
8
|
+
export declare const setBearerAuthToObject: (object: any, configuration?: Configuration) => Promise<void>;
|
|
9
|
+
export declare const setOAuthToObject: (object: any, name: string, scopes: string[], configuration?: Configuration) => Promise<void>;
|
|
10
|
+
export declare const setSearchParams: (url: URL, ...objects: any[]) => void;
|
|
11
|
+
export declare const replaceWithSerializableTypeIfNeeded: (key: string, value: any) => any;
|
|
12
|
+
export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration) => any;
|
|
13
|
+
export declare const toPathString: (url: URL) => string;
|
|
14
|
+
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
package/dist/common.js
ADDED
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createRequestFunction = exports.toPathString = exports.serializeDataIfNeeded = exports.replaceWithSerializableTypeIfNeeded = exports.setSearchParams = exports.setOAuthToObject = exports.setBearerAuthToObject = exports.setBasicAuthToObject = exports.setApiKeyToObject = exports.assertParamExists = exports.DUMMY_BASE_URL = void 0;
|
|
4
|
+
const base_1 = require("./base");
|
|
5
|
+
exports.DUMMY_BASE_URL = 'https://example.com';
|
|
6
|
+
const assertParamExists = function (functionName, paramName, paramValue) {
|
|
7
|
+
if (paramValue === null || paramValue === undefined) {
|
|
8
|
+
throw new base_1.RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
exports.assertParamExists = assertParamExists;
|
|
12
|
+
const setApiKeyToObject = async function (object, keyParamName, configuration) {
|
|
13
|
+
if (configuration && configuration.apiKey) {
|
|
14
|
+
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
15
|
+
? await configuration.apiKey(keyParamName)
|
|
16
|
+
: await configuration.apiKey;
|
|
17
|
+
object[keyParamName] = localVarApiKeyValue;
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
exports.setApiKeyToObject = setApiKeyToObject;
|
|
21
|
+
const setBasicAuthToObject = function (object, configuration) {
|
|
22
|
+
if (configuration && (configuration.username || configuration.password)) {
|
|
23
|
+
object["auth"] = { username: configuration.username, password: configuration.password };
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
exports.setBasicAuthToObject = setBasicAuthToObject;
|
|
27
|
+
const setBearerAuthToObject = async function (object, configuration) {
|
|
28
|
+
if (configuration && configuration.accessToken) {
|
|
29
|
+
const accessToken = typeof configuration.accessToken === 'function'
|
|
30
|
+
? await configuration.accessToken()
|
|
31
|
+
: await configuration.accessToken;
|
|
32
|
+
object["Authorization"] = "Bearer " + accessToken;
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
exports.setBearerAuthToObject = setBearerAuthToObject;
|
|
36
|
+
const setOAuthToObject = async function (object, name, scopes, configuration) {
|
|
37
|
+
if (configuration && configuration.accessToken) {
|
|
38
|
+
const localVarAccessTokenValue = typeof configuration.accessToken === 'function'
|
|
39
|
+
? await configuration.accessToken(name, scopes)
|
|
40
|
+
: await configuration.accessToken;
|
|
41
|
+
object["Authorization"] = "Bearer " + localVarAccessTokenValue;
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
exports.setOAuthToObject = setOAuthToObject;
|
|
45
|
+
function setFlattenedQueryParams(urlSearchParams, parameter, key = "") {
|
|
46
|
+
if (parameter == null)
|
|
47
|
+
return;
|
|
48
|
+
if (typeof parameter === "object") {
|
|
49
|
+
if (Array.isArray(parameter) || parameter instanceof Set) {
|
|
50
|
+
parameter.forEach(item => setFlattenedQueryParams(urlSearchParams, item, key));
|
|
51
|
+
}
|
|
52
|
+
else {
|
|
53
|
+
Object.keys(parameter).forEach(currentKey => setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== '' ? '.' : ''}${currentKey}`));
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
else {
|
|
57
|
+
if (urlSearchParams.has(key)) {
|
|
58
|
+
urlSearchParams.append(key, parameter);
|
|
59
|
+
}
|
|
60
|
+
else {
|
|
61
|
+
urlSearchParams.set(key, parameter);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
const setSearchParams = function (url, ...objects) {
|
|
66
|
+
const searchParams = new URLSearchParams(url.search);
|
|
67
|
+
setFlattenedQueryParams(searchParams, objects);
|
|
68
|
+
url.search = searchParams.toString();
|
|
69
|
+
};
|
|
70
|
+
exports.setSearchParams = setSearchParams;
|
|
71
|
+
const replaceWithSerializableTypeIfNeeded = function (key, value) {
|
|
72
|
+
if (value instanceof Set) {
|
|
73
|
+
return Array.from(value);
|
|
74
|
+
}
|
|
75
|
+
else {
|
|
76
|
+
return value;
|
|
77
|
+
}
|
|
78
|
+
};
|
|
79
|
+
exports.replaceWithSerializableTypeIfNeeded = replaceWithSerializableTypeIfNeeded;
|
|
80
|
+
const serializeDataIfNeeded = function (value, requestOptions, configuration) {
|
|
81
|
+
const nonString = typeof value !== 'string';
|
|
82
|
+
const needsSerialization = nonString && configuration && configuration.isJsonMime
|
|
83
|
+
? configuration.isJsonMime(requestOptions.headers['Content-Type'])
|
|
84
|
+
: nonString;
|
|
85
|
+
return needsSerialization
|
|
86
|
+
? JSON.stringify(value !== undefined ? value : {}, exports.replaceWithSerializableTypeIfNeeded)
|
|
87
|
+
: (value || "");
|
|
88
|
+
};
|
|
89
|
+
exports.serializeDataIfNeeded = serializeDataIfNeeded;
|
|
90
|
+
const toPathString = function (url) {
|
|
91
|
+
return url.pathname + url.search + url.hash;
|
|
92
|
+
};
|
|
93
|
+
exports.toPathString = toPathString;
|
|
94
|
+
const createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
95
|
+
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
96
|
+
var _a;
|
|
97
|
+
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: (axios.defaults.baseURL ? '' : (_a = configuration === null || configuration === void 0 ? void 0 : configuration.basePath) !== null && _a !== void 0 ? _a : basePath) + axiosArgs.url });
|
|
98
|
+
return axios.request(axiosRequestArgs);
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
exports.createRequestFunction = createRequestFunction;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
interface AWSv4Configuration {
|
|
2
|
+
options?: {
|
|
3
|
+
region?: string;
|
|
4
|
+
service?: string;
|
|
5
|
+
};
|
|
6
|
+
credentials?: {
|
|
7
|
+
accessKeyId?: string;
|
|
8
|
+
secretAccessKey?: string;
|
|
9
|
+
sessionToken?: string;
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
export interface ConfigurationParameters {
|
|
13
|
+
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
14
|
+
username?: string;
|
|
15
|
+
password?: string;
|
|
16
|
+
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
17
|
+
awsv4?: AWSv4Configuration;
|
|
18
|
+
basePath?: string;
|
|
19
|
+
serverIndex?: number;
|
|
20
|
+
baseOptions?: any;
|
|
21
|
+
formDataCtor?: new () => any;
|
|
22
|
+
}
|
|
23
|
+
export declare class Configuration {
|
|
24
|
+
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
25
|
+
username?: string;
|
|
26
|
+
password?: string;
|
|
27
|
+
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
28
|
+
awsv4?: AWSv4Configuration;
|
|
29
|
+
basePath?: string;
|
|
30
|
+
serverIndex?: number;
|
|
31
|
+
baseOptions?: any;
|
|
32
|
+
formDataCtor?: new () => any;
|
|
33
|
+
constructor(param?: ConfigurationParameters);
|
|
34
|
+
isJsonMime(mime: string): boolean;
|
|
35
|
+
}
|
|
36
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Configuration = void 0;
|
|
4
|
+
class Configuration {
|
|
5
|
+
constructor(param = {}) {
|
|
6
|
+
var _a;
|
|
7
|
+
this.apiKey = param.apiKey;
|
|
8
|
+
this.username = param.username;
|
|
9
|
+
this.password = param.password;
|
|
10
|
+
this.accessToken = param.accessToken;
|
|
11
|
+
this.awsv4 = param.awsv4;
|
|
12
|
+
this.basePath = param.basePath;
|
|
13
|
+
this.serverIndex = param.serverIndex;
|
|
14
|
+
this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
|
|
15
|
+
this.formDataCtor = param.formDataCtor;
|
|
16
|
+
}
|
|
17
|
+
isJsonMime(mime) {
|
|
18
|
+
const jsonMime = /^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$/i;
|
|
19
|
+
return mime !== null && jsonMime.test(mime);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.Configuration = Configuration;
|
package/dist/index.d.ts
ADDED
package/dist/index.js
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./api"), exports);
|
|
18
|
+
__exportStar(require("./configuration"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"program":{"fileNames":["../node_modules/typescript/lib/lib.es5.d.ts","../node_modules/typescript/lib/lib.es2015.d.ts","../node_modules/typescript/lib/lib.es2016.d.ts","../node_modules/typescript/lib/lib.es2017.d.ts","../node_modules/typescript/lib/lib.es2018.d.ts","../node_modules/typescript/lib/lib.es2019.d.ts","../node_modules/typescript/lib/lib.es2020.d.ts","../node_modules/typescript/lib/lib.dom.d.ts","../node_modules/typescript/lib/lib.dom.iterable.d.ts","../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../node_modules/typescript/lib/lib.scripthost.d.ts","../node_modules/typescript/lib/lib.es2015.core.d.ts","../node_modules/typescript/lib/lib.es2015.collection.d.ts","../node_modules/typescript/lib/lib.es2015.generator.d.ts","../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../node_modules/typescript/lib/lib.es2015.promise.d.ts","../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../node_modules/typescript/lib/lib.es2017.object.d.ts","../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2017.string.d.ts","../node_modules/typescript/lib/lib.es2017.intl.d.ts","../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../node_modules/typescript/lib/lib.es2018.intl.d.ts","../node_modules/typescript/lib/lib.es2018.promise.d.ts","../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../node_modules/typescript/lib/lib.es2019.array.d.ts","../node_modules/typescript/lib/lib.es2019.object.d.ts","../node_modules/typescript/lib/lib.es2019.string.d.ts","../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../node_modules/typescript/lib/lib.es2019.intl.d.ts","../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../node_modules/typescript/lib/lib.es2020.date.d.ts","../node_modules/typescript/lib/lib.es2020.promise.d.ts","../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2020.string.d.ts","../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2020.intl.d.ts","../node_modules/typescript/lib/lib.es2020.number.d.ts","../node_modules/typescript/lib/lib.decorators.d.ts","../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../node_modules/typescript/lib/lib.es2017.full.d.ts","../configuration.ts","../node_modules/axios/index.d.ts","../base.ts","../common.ts","../api.ts","../index.ts","../node_modules/@types/node/compatibility/disposable.d.ts","../node_modules/@types/node/compatibility/indexable.d.ts","../node_modules/@types/node/compatibility/iterators.d.ts","../node_modules/@types/node/compatibility/index.d.ts","../node_modules/@types/node/ts5.6/globals.typedarray.d.ts","../node_modules/@types/node/ts5.6/buffer.buffer.d.ts","../node_modules/@types/node/globals.d.ts","../node_modules/@types/node/web-globals/abortcontroller.d.ts","../node_modules/@types/node/web-globals/domexception.d.ts","../node_modules/@types/node/web-globals/events.d.ts","../node_modules/undici-types/header.d.ts","../node_modules/undici-types/readable.d.ts","../node_modules/undici-types/file.d.ts","../node_modules/undici-types/fetch.d.ts","../node_modules/undici-types/formdata.d.ts","../node_modules/undici-types/connector.d.ts","../node_modules/undici-types/client.d.ts","../node_modules/undici-types/errors.d.ts","../node_modules/undici-types/dispatcher.d.ts","../node_modules/undici-types/global-dispatcher.d.ts","../node_modules/undici-types/global-origin.d.ts","../node_modules/undici-types/pool-stats.d.ts","../node_modules/undici-types/pool.d.ts","../node_modules/undici-types/handlers.d.ts","../node_modules/undici-types/balanced-pool.d.ts","../node_modules/undici-types/agent.d.ts","../node_modules/undici-types/mock-interceptor.d.ts","../node_modules/undici-types/mock-agent.d.ts","../node_modules/undici-types/mock-client.d.ts","../node_modules/undici-types/mock-pool.d.ts","../node_modules/undici-types/mock-errors.d.ts","../node_modules/undici-types/proxy-agent.d.ts","../node_modules/undici-types/env-http-proxy-agent.d.ts","../node_modules/undici-types/retry-handler.d.ts","../node_modules/undici-types/retry-agent.d.ts","../node_modules/undici-types/api.d.ts","../node_modules/undici-types/interceptors.d.ts","../node_modules/undici-types/util.d.ts","../node_modules/undici-types/cookies.d.ts","../node_modules/undici-types/patch.d.ts","../node_modules/undici-types/websocket.d.ts","../node_modules/undici-types/eventsource.d.ts","../node_modules/undici-types/filereader.d.ts","../node_modules/undici-types/diagnostics-channel.d.ts","../node_modules/undici-types/content-type.d.ts","../node_modules/undici-types/cache.d.ts","../node_modules/undici-types/index.d.ts","../node_modules/@types/node/web-globals/fetch.d.ts","../node_modules/@types/node/assert.d.ts","../node_modules/@types/node/assert/strict.d.ts","../node_modules/@types/node/async_hooks.d.ts","../node_modules/@types/node/buffer.d.ts","../node_modules/@types/node/child_process.d.ts","../node_modules/@types/node/cluster.d.ts","../node_modules/@types/node/console.d.ts","../node_modules/@types/node/constants.d.ts","../node_modules/@types/node/crypto.d.ts","../node_modules/@types/node/dgram.d.ts","../node_modules/@types/node/diagnostics_channel.d.ts","../node_modules/@types/node/dns.d.ts","../node_modules/@types/node/dns/promises.d.ts","../node_modules/@types/node/domain.d.ts","../node_modules/@types/node/events.d.ts","../node_modules/@types/node/fs.d.ts","../node_modules/@types/node/fs/promises.d.ts","../node_modules/@types/node/http.d.ts","../node_modules/@types/node/http2.d.ts","../node_modules/@types/node/https.d.ts","../node_modules/@types/node/inspector.generated.d.ts","../node_modules/@types/node/module.d.ts","../node_modules/@types/node/net.d.ts","../node_modules/@types/node/os.d.ts","../node_modules/@types/node/path.d.ts","../node_modules/@types/node/perf_hooks.d.ts","../node_modules/@types/node/process.d.ts","../node_modules/@types/node/punycode.d.ts","../node_modules/@types/node/querystring.d.ts","../node_modules/@types/node/readline.d.ts","../node_modules/@types/node/readline/promises.d.ts","../node_modules/@types/node/repl.d.ts","../node_modules/@types/node/sea.d.ts","../node_modules/@types/node/stream.d.ts","../node_modules/@types/node/stream/promises.d.ts","../node_modules/@types/node/stream/consumers.d.ts","../node_modules/@types/node/stream/web.d.ts","../node_modules/@types/node/string_decoder.d.ts","../node_modules/@types/node/test.d.ts","../node_modules/@types/node/timers.d.ts","../node_modules/@types/node/timers/promises.d.ts","../node_modules/@types/node/tls.d.ts","../node_modules/@types/node/trace_events.d.ts","../node_modules/@types/node/tty.d.ts","../node_modules/@types/node/url.d.ts","../node_modules/@types/node/util.d.ts","../node_modules/@types/node/v8.d.ts","../node_modules/@types/node/vm.d.ts","../node_modules/@types/node/wasi.d.ts","../node_modules/@types/node/worker_threads.d.ts","../node_modules/@types/node/zlib.d.ts","../node_modules/@types/node/ts5.6/index.d.ts"],"fileInfos":[{"version":"f59215c5f1d886b05395ee7aca73e0ac69ddfad2843aa88530e797879d511bad","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","dc48272d7c333ccf58034c0026162576b7d50ea0e69c3b9292f803fc20720fd5","27147504487dc1159369da4f4da8a26406364624fa9bc3db632f7d94a5bae2c3","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4",{"version":"3dda5344576193a4ae48b8d03f105c86f20b2f2aff0a1d1fd7935f5d68649654","affectsGlobalScope":true},{"version":"35299ae4a62086698444a5aaee27fc7aa377c68cbb90b441c9ace246ffd05c97","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"9d9885c728913c1d16e0d2831b40341d6ad9a0ceecaabc55209b306ad9c736a5","affectsGlobalScope":true},{"version":"17bea081b9c0541f39dd1ae9bc8c78bdd561879a682e60e2f25f688c0ecab248","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"ab22100fdd0d24cfc2cc59d0a00fc8cf449830d9c4030dc54390a46bd562e929","affectsGlobalScope":true},{"version":"f7bd636ae3a4623c503359ada74510c4005df5b36de7f23e1db8a5c543fd176b","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"0c20f4d2358eb679e4ae8a4432bdd96c857a2960fd6800b21ec4008ec59d60ea","affectsGlobalScope":true},{"version":"36ae84ccc0633f7c0787bc6108386c8b773e95d3b052d9464a99cd9b8795fbec","affectsGlobalScope":true},{"version":"82d0d8e269b9eeac02c3bd1c9e884e85d483fcb2cd168bccd6bc54df663da031","affectsGlobalScope":true},{"version":"b8deab98702588840be73d67f02412a2d45a417a3c097b2e96f7f3a42ac483d1","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"376d554d042fb409cb55b5cbaf0b2b4b7e669619493c5d18d5fa8bd67273f82a","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"c4138a3dd7cd6cf1f363ca0f905554e8d81b45844feea17786cdf1626cb8ea06","affectsGlobalScope":true},{"version":"6ff3e2452b055d8f0ec026511c6582b55d935675af67cdb67dd1dc671e8065df","affectsGlobalScope":true},{"version":"03de17b810f426a2f47396b0b99b53a82c1b60e9cba7a7edda47f9bb077882f4","affectsGlobalScope":true},{"version":"8184c6ddf48f0c98429326b428478ecc6143c27f79b79e85740f17e6feb090f1","affectsGlobalScope":true},{"version":"261c4d2cf86ac5a89ad3fb3fafed74cbb6f2f7c1d139b0540933df567d64a6ca","affectsGlobalScope":true},{"version":"6af1425e9973f4924fca986636ac19a0cf9909a7e0d9d3009c349e6244e957b6","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"15a630d6817718a2ddd7088c4f83e4673fde19fa992d2eae2cf51132a302a5d3","affectsGlobalScope":true},{"version":"f06948deb2a51aae25184561c9640fb66afeddb34531a9212d011792b1d19e0a","affectsGlobalScope":true},{"version":"01e0ee7e1f661acedb08b51f8a9b7d7f959e9cdb6441360f06522cc3aea1bf2e","affectsGlobalScope":true},{"version":"ac17a97f816d53d9dd79b0d235e1c0ed54a8cc6a0677e9a3d61efb480b2a3e4e","affectsGlobalScope":true},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true},{"version":"ec0104fee478075cb5171e5f4e3f23add8e02d845ae0165bfa3f1099241fa2aa","affectsGlobalScope":true},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true},{"version":"9cc66b0513ad41cb5f5372cca86ef83a0d37d1c1017580b7dace3ea5661836df","affectsGlobalScope":true},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"994c234848afc14a2586b6565777f4c0b05dc479ede0a041bfd5becf6dceb586",{"version":"71a10ba161dd6293411360a5062bc86945ca87c3d5e70011e3c714a384912cd9","signature":"e50b28735101793ff9b971da3f814e29b984a6c728d52d9b8ce3f65686a1086d"},"1d7ee0c4eb734d59b6d962bc9151f6330895067cd3058ce6a3cd95347ef5c6e8",{"version":"1ab36072b8df855d07cc2422098c4d998878b7d4fcceb1159c65c18cff8ba345","signature":"3e5ca37849e8e6bdf0faed6ec2a308b177cd243303b95aa31a948ae4591dd778"},{"version":"706956ec6fcacbaa0e0e562212a2b20179bf6e1ffd31085f289304ff137238ee","signature":"2b5332a6d1ea170091d71df39b5c3f4d089fe36e321153ce0a63758a1359df84"},{"version":"81c13d8968e7fbab7e9e1dbd3de73db50933b11129092c455929ad6604312d08","signature":"4df992073c1407a259d7ccf7e7aea2d5af9c0e1076402d7d901c60e15d0ca8eb"},{"version":"e380f0304731fd377db14ab6f2b897c20566aad54847c8631f7044619f23ed2b","signature":"4ae97b07618f07f14ad6018501c2820de78834b35b02d3d7a816676b65d7abbe"},{"version":"70521b6ab0dcba37539e5303104f29b721bfb2940b2776da4cc818c07e1fefc1","affectsGlobalScope":true},{"version":"ab41ef1f2cdafb8df48be20cd969d875602483859dc194e9c97c8a576892c052","affectsGlobalScope":true},{"version":"d153a11543fd884b596587ccd97aebbeed950b26933ee000f94009f1ab142848","affectsGlobalScope":true},"21d819c173c0cf7cc3ce57c3276e77fd9a8a01d35a06ad87158781515c9a438a",{"version":"1456e80bd8a3870034d89f91bd7df12ac29acfb083e31c0bb1fb38ca7bf5fbc2","affectsGlobalScope":true},{"version":"a98aedd64ad81793f146d36d1611ed9ba61b8b49ff040f0d13a103ed626595d9","affectsGlobalScope":true},{"version":"6d9ef24f9a22a88e3e9b3b3d8c40ab1ddb0853f1bfbd5c843c37800138437b61","affectsGlobalScope":true},{"version":"1db0b7dca579049ca4193d034d835f6bfe73096c73663e5ef9a0b5779939f3d0","affectsGlobalScope":true},{"version":"9798340ffb0d067d69b1ae5b32faa17ab31b82466a3fc00d8f2f2df0c8554aaa","affectsGlobalScope":true},{"version":"f26b11d8d8e4b8028f1c7d618b22274c892e4b0ef5b3678a8ccbad85419aef43","affectsGlobalScope":true},"5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","763fe0f42b3d79b440a9b6e51e9ba3f3f91352469c1e4b3b67bfa4ff6352f3f4","25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","c464d66b20788266e5353b48dc4aa6bc0dc4a707276df1e7152ab0c9ae21fad8","78d0d27c130d35c60b5e5566c9f1e5be77caf39804636bc1a40133919a949f21","c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","1d6e127068ea8e104a912e42fc0a110e2aa5a66a356a917a163e8cf9a65e4a75","5ded6427296cdf3b9542de4471d2aa8d3983671d4cac0f4bf9c637208d1ced43","7f182617db458e98fc18dfb272d40aa2fff3a353c44a89b2c0ccb3937709bfb5","cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","0b8a9268adaf4da35e7fa830c8981cfa22adbbe5b3f6f5ab91f6658899e657a7","11396ed8a44c02ab9798b7dca436009f866e8dae3c9c25e8c1fbc396880bf1bb","ba7bc87d01492633cb5a0e5da8a4a42a1c86270e7b3d2dea5d156828a84e4882","4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","c21dc52e277bcfc75fac0436ccb75c204f9e1b3fa5e12729670910639f27343e","13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","ea0148f897b45a76544ae179784c95af1bd6721b8610af9ffa467a518a086a43","24c6a117721e606c9984335f71711877293a9651e44f59f3d21c1ea0856f9cc9","dd3273ead9fbde62a72949c97dbec2247ea08e0c6952e701a483d74ef92d6a17","405822be75ad3e4d162e07439bac80c6bcc6dbae1929e179cf467ec0b9ee4e2e","0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","e61be3f894b41b7baa1fbd6a66893f2579bfad01d208b4ff61daef21493ef0a8","bd0532fd6556073727d28da0edfd1736417a3f9f394877b6d5ef6ad88fba1d1a","89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","615ba88d0128ed16bf83ef8ccbb6aff05c3ee2db1cc0f89ab50a4939bfc1943f","a4d551dbf8746780194d550c88f26cf937caf8d56f102969a110cfaed4b06656","8bd86b8e8f6a6aa6c49b71e14c4ffe1211a0e97c80f08d2c8cc98838006e4b88","317e63deeb21ac07f3992f5b50cdca8338f10acd4fbb7257ebf56735bf52ab00","4732aec92b20fb28c5fe9ad99521fb59974289ed1e45aecb282616202184064f","2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","bf67d53d168abc1298888693338cb82854bdb2e69ef83f8a0092093c2d562107",{"version":"b52476feb4a0cbcb25e5931b930fc73cb6643fb1a5060bf8a3dda0eeae5b4b68","affectsGlobalScope":true},"e2677634fe27e87348825bb041651e22d50a613e2fdf6a4a3ade971d71bac37e","7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","8c0bcd6c6b67b4b503c11e91a1fb91522ed585900eab2ab1f61bba7d7caa9d6f",{"version":"8cd19276b6590b3ebbeeb030ac271871b9ed0afc3074ac88a94ed2449174b776","affectsGlobalScope":true},"696eb8d28f5949b87d894b26dc97318ef944c794a9a4e4f62360cd1d1958014b","3f8fa3061bd7402970b399300880d55257953ee6d3cd408722cb9ac20126460c",{"version":"35ec8b6760fd7138bbf5809b84551e31028fb2ba7b6dc91d95d098bf212ca8b4","affectsGlobalScope":true},"5524481e56c48ff486f42926778c0a3cce1cc85dc46683b92b1271865bcf015a",{"version":"68bd56c92c2bd7d2339457eb84d63e7de3bd56a69b25f3576e1568d21a162398","affectsGlobalScope":true},"3e93b123f7c2944969d291b35fed2af79a6e9e27fdd5faa99748a51c07c02d28","9d19808c8c291a9010a6c788e8532a2da70f811adb431c97520803e0ec649991","87aad3dd9752067dc875cfaa466fc44246451c0c560b820796bdd528e29bef40","4aacb0dd020eeaef65426153686cc639a78ec2885dc72ad220be1d25f1a439df","f0bd7e6d931657b59605c44112eaf8b980ba7f957a5051ed21cb93d978cf2f45",{"version":"8db0ae9cb14d9955b14c214f34dae1b9ef2baee2fe4ce794a4cd3ac2531e3255","affectsGlobalScope":true},"15fc6f7512c86810273af28f224251a5a879e4261b4d4c7e532abfbfc3983134","58adba1a8ab2d10b54dc1dced4e41f4e7c9772cbbac40939c0dc8ce2cdb1d442","641942a78f9063caa5d6b777c99304b7d1dc7328076038c6d94d8a0b81fc95c1","1123a83f35cf56c97de746f0a7250012153c61a167e4a61668bf50e558162d14","855cd5f7eb396f5f1ab1bc0f8580339bff77b68a770f84c6b254e319bbfd1ac7","5650cf3dace09e7c25d384e3e6b818b938f68f4e8de96f52d9c5a1b3db068e86",{"version":"1354ca5c38bd3fd3836a68e0f7c9f91f172582ba30ab15bb8c075891b91502b7","affectsGlobalScope":true},"7e20d899c28ca26a2a7afc98beaa69e63ff7fba0a8bc47b4e3bf3ede5e09e424","2d2fcaab481b31a5882065c7951255703ddbe1c0e507af56ea42d79ac3911201","a192fe8ec33f75edbc8d8f3ed79f768dfae11ff5735e7fe52bfa69956e46d78d",{"version":"ca867399f7db82df981d6915bcbb2d81131d7d1ef683bc782b59f71dda59bc85","affectsGlobalScope":true},{"version":"372413016d17d804e1d139418aca0c68e47a83fb6669490857f4b318de8cccb3","affectsGlobalScope":true},"9e043a1bc8fbf2a255bccf9bf27e0f1caf916c3b0518ea34aa72357c0afd42ec","b4f70ec656a11d570e1a9edce07d118cd58d9760239e2ece99306ee9dfe61d02","3bc2f1e2c95c04048212c569ed38e338873f6a8593930cf5a7ef24ffb38fc3b6","6e70e9570e98aae2b825b533aa6292b6abd542e8d9f6e9475e88e1d7ba17c866","f9d9d753d430ed050dc1bf2667a1bab711ccbb1c1507183d794cc195a5b085cc","9eece5e586312581ccd106d4853e861aaaa1a39f8e3ea672b8c3847eedd12f6e","085f552d005479e2e6a7311cdbbe5d8c55c497b4d19274285df161ee9684cd9c","37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","45650f47bfb376c8a8ed39d4bcda5902ab899a3150029684ee4c10676d9fbaee",{"version":"007faacc9268357caa21d24169f3f3f2497af3e9241308df2d89f6e6d9bb3f2e","affectsGlobalScope":true},"74cf591a0f63db318651e0e04cb55f8791385f86e987a67fd4d2eaab8191f730","5eab9b3dc9b34f185417342436ec3f106898da5f4801992d8ff38ab3aff346b5",{"version":"12ed4559eba17cd977aa0db658d25c4047067444b51acfdcbf38470630642b23","affectsGlobalScope":true},"f3ffabc95802521e1e4bcba4c88d8615176dc6e09111d920c7a213bdda6e1d65","809821b8a065e3234a55b3a9d7846231ed18d66dd749f2494c66288d890daf7f","ae56f65caf3be91108707bd8dfbccc2a57a91feb5daabf7165a06a945545ed26","a136d5de521da20f31631a0a96bf712370779d1c05b7015d7019a9b2a0446ca9",{"version":"c3b41e74b9a84b88b1dca61ec39eee25c0dbc8e7d519ba11bb070918cfacf656","affectsGlobalScope":true},{"version":"4737a9dc24d0e68b734e6cfbcea0c15a2cfafeb493485e27905f7856988c6b29","affectsGlobalScope":true},"36d8d3e7506b631c9582c251a2c0b8a28855af3f76719b12b534c6edf952748d","1ca69210cc42729e7ca97d3a9ad48f2e9cb0042bada4075b588ae5387debd318","f5ebe66baaf7c552cfa59d75f2bfba679f329204847db3cec385acda245e574e",{"version":"ed59add13139f84da271cafd32e2171876b0a0af2f798d0c663e8eeb867732cf","affectsGlobalScope":true},"b7c5e2ea4a9749097c347454805e933844ed207b6eefec6b7cfd418b5f5f7b28","0ea329e5eab6719ff83bcb97e8bd03f1faab4feb74704010783b881fc9d80f92"],"root":[48,[50,53]],"options":{"allowSyntheticDefaultImports":true,"declaration":true,"emitDecoratorMetadata":true,"experimentalDecorators":true,"module":1,"noFallthroughCasesInSwitch":false,"noImplicitAny":false,"outDir":"./","removeComments":true,"skipLibCheck":true,"sourceMap":false,"strictBindCallApply":false,"strictNullChecks":true,"target":4},"fileIdsList":[[48,49,50,51,59,105],[48,49,59,105],[48,49,50,59,105],[59,105],[48,52,59,105],[59,102,105],[59,104,105],[59,105,110,138],[59,105,106,111,116,124,135,146],[59,105,106,107,116,124],[54,55,56,59,105],[59,105,108,147],[59,105,109,110,117,125],[59,105,110,135,143],[59,105,111,113,116,124],[59,104,105,112],[59,105,113,114],[59,105,115,116],[59,104,105,116],[59,105,116,117,118,135,146],[59,105,116,117,118,131,135,138],[59,105,113,116,119,124,135,146],[59,105,116,117,119,120,124,135,143,146],[59,105,119,121,135,143,146],[59,105,116,122],[59,105,123,146,151],[59,105,113,116,124,135],[59,105,125],[59,105,126],[59,104,105,127],[59,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152],[59,105,129],[59,105,130],[59,105,116,131,132],[59,105,131,133,147,149],[59,105,116,135,136,138],[59,105,137,138],[59,105,135,136],[59,105,138],[59,105,139],[59,102,105,135,140],[59,105,116,141,142],[59,105,141,142],[59,105,110,124,135,143],[59,105,144],[105],[57,58,59,60,61,62,63,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152],[59,105,124,145],[59,105,119,130,146],[59,105,110,147],[59,105,135,148],[59,105,123,149],[59,105,150],[59,100,105],[59,100,105,116,118,127,135,138,146,149,151],[59,105,135,152],[59,72,76,105,146],[59,72,105,135,146],[59,67,105],[59,69,72,105,143,146],[59,105,124,143],[59,105,153],[59,67,105,153],[59,69,72,105,124,146],[59,64,65,68,71,105,116,135,146],[59,72,79,105],[59,64,70,105],[59,72,93,94,105],[59,68,72,105,138,146,153],[59,93,105,153],[59,66,67,105,153],[59,72,105],[59,66,67,68,69,70,71,72,73,74,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,94,95,96,97,98,99,105],[59,72,87,105],[59,72,79,80,105],[59,70,72,80,81,105],[59,71,105],[59,64,67,72,105],[59,72,76,80,81,105],[59,76,105],[59,70,72,75,105,146],[59,64,69,72,79,105],[59,105,135],[59,67,72,93,105,151,153],[48,49,50],[48,49],[48,52]],"referencedMap":[[52,1],[50,2],[51,3],[48,4],[53,5],[102,6],[103,6],[104,7],[105,8],[106,9],[107,10],[54,4],[57,11],[55,4],[56,4],[108,12],[109,13],[110,14],[111,15],[112,16],[113,17],[114,17],[115,18],[116,19],[117,20],[118,21],[60,4],[119,22],[120,23],[121,24],[122,25],[123,26],[124,27],[125,28],[126,29],[127,30],[128,31],[129,32],[130,33],[131,34],[132,34],[133,35],[134,4],[135,36],[137,37],[136,38],[138,39],[139,40],[140,41],[141,42],[142,43],[143,44],[144,45],[59,46],[58,4],[153,47],[145,48],[146,49],[147,50],[148,51],[149,52],[150,53],[61,4],[62,4],[63,4],[101,54],[151,55],[152,56],[49,4],[45,4],[46,4],[8,4],[9,4],[13,4],[12,4],[2,4],[14,4],[15,4],[16,4],[17,4],[18,4],[19,4],[20,4],[21,4],[3,4],[4,4],[47,4],[25,4],[22,4],[23,4],[24,4],[26,4],[27,4],[28,4],[5,4],[29,4],[30,4],[31,4],[32,4],[6,4],[36,4],[33,4],[34,4],[35,4],[37,4],[7,4],[38,4],[43,4],[44,4],[39,4],[40,4],[41,4],[42,4],[1,4],[11,4],[10,4],[79,57],[89,58],[78,57],[99,59],[70,60],[69,61],[98,62],[92,63],[97,64],[72,65],[86,66],[71,67],[95,68],[67,69],[66,62],[96,70],[68,71],[73,72],[74,4],[77,72],[64,4],[100,73],[90,74],[81,75],[82,76],[84,77],[80,78],[83,79],[93,62],[75,80],[76,81],[85,82],[65,83],[88,74],[87,72],[91,4],[94,84]],"exportedModulesMap":[[52,85],[50,86],[51,85],[53,87],[102,6],[103,6],[104,7],[105,8],[106,9],[107,10],[54,4],[57,11],[55,4],[56,4],[108,12],[109,13],[110,14],[111,15],[112,16],[113,17],[114,17],[115,18],[116,19],[117,20],[118,21],[60,4],[119,22],[120,23],[121,24],[122,25],[123,26],[124,27],[125,28],[126,29],[127,30],[128,31],[129,32],[130,33],[131,34],[132,34],[133,35],[134,4],[135,36],[137,37],[136,38],[138,39],[139,40],[140,41],[141,42],[142,43],[143,44],[144,45],[59,46],[58,4],[153,47],[145,48],[146,49],[147,50],[148,51],[149,52],[150,53],[61,4],[62,4],[63,4],[101,54],[151,55],[152,56],[49,4],[45,4],[46,4],[8,4],[9,4],[13,4],[12,4],[2,4],[14,4],[15,4],[16,4],[17,4],[18,4],[19,4],[20,4],[21,4],[3,4],[4,4],[47,4],[25,4],[22,4],[23,4],[24,4],[26,4],[27,4],[28,4],[5,4],[29,4],[30,4],[31,4],[32,4],[6,4],[36,4],[33,4],[34,4],[35,4],[37,4],[7,4],[38,4],[43,4],[44,4],[39,4],[40,4],[41,4],[42,4],[1,4],[11,4],[10,4],[79,57],[89,58],[78,57],[99,59],[70,60],[69,61],[98,62],[92,63],[97,64],[72,65],[86,66],[71,67],[95,68],[67,69],[66,62],[96,70],[68,71],[73,72],[74,4],[77,72],[64,4],[100,73],[90,74],[81,75],[82,76],[84,77],[80,78],[83,79],[93,62],[75,80],[76,81],[85,82],[65,83],[88,74],[87,72],[91,4],[94,84]],"semanticDiagnosticsPerFile":[52,50,51,48,53,102,103,104,105,106,107,54,57,55,56,108,109,110,111,112,113,114,115,116,117,118,60,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,137,136,138,139,140,141,142,143,144,59,58,153,145,146,147,148,149,150,61,62,63,101,151,152,49,45,46,8,9,13,12,2,14,15,16,17,18,19,20,21,3,4,47,25,22,23,24,26,27,28,5,29,30,31,32,6,36,33,34,35,37,7,38,43,44,39,40,41,42,1,11,10,79,89,78,99,70,69,98,92,97,72,86,71,95,67,66,96,68,73,74,77,64,100,90,81,82,84,80,83,93,75,76,85,65,88,87,91,94]},"version":"5.1.3"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@open-norantec/mayor-client",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.1.7",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "tsc"
|
|
6
6
|
},
|
|
@@ -9,7 +9,9 @@
|
|
|
9
9
|
"email": "devops@norantec.com"
|
|
10
10
|
},
|
|
11
11
|
"main": "dist/index.js",
|
|
12
|
-
"files": [
|
|
12
|
+
"files": [
|
|
13
|
+
"dist"
|
|
14
|
+
],
|
|
13
15
|
"publishConfig": {
|
|
14
16
|
"registry": "https://registry.npmjs.org",
|
|
15
17
|
"access": "public"
|