@gooddata/api-client-tiger 11.62.0-alpha.1 → 11.62.0-alpha.3
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/esm/__version.d.ts +1 -1
- package/esm/__version.js +1 -1
- package/esm/api-client-tiger.d.ts +759 -236
- package/esm/client.d.ts +0 -2
- package/esm/client.d.ts.map +1 -1
- package/esm/client.js +0 -3
- package/esm/endpoints/actions/index.d.ts +1 -1
- package/esm/endpoints/actions/index.d.ts.map +1 -1
- package/esm/endpoints/actions/index.js +3 -1
- package/esm/generated/afm-rest-api/api.d.ts +1056 -8
- package/esm/generated/afm-rest-api/api.d.ts.map +1 -1
- package/esm/generated/afm-rest-api/api.js +894 -6
- package/esm/generated/afm-rest-api/common.d.ts.map +1 -1
- package/esm/generated/ai-json-api/api.d.ts +176 -88
- package/esm/generated/ai-json-api/api.d.ts.map +1 -1
- package/esm/generated/ai-json-api/api.js +103 -38
- package/esm/generated/ai-json-api/common.d.ts.map +1 -1
- package/esm/generated/automation-json-api/common.d.ts.map +1 -1
- package/esm/generated/export-json-api/common.d.ts.map +1 -1
- package/esm/generated/metadata-json-api/api.d.ts +11 -11
- package/esm/generated/metadata-json-api/api.d.ts.map +1 -1
- package/esm/generated/metadata-json-api/common.d.ts.map +1 -1
- package/esm/generated/result-json-api/common.d.ts.map +1 -1
- package/esm/generated/scan-json-api/common.d.ts.map +1 -1
- package/esm/index.d.ts +3 -6
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +0 -2
- package/package.json +7 -8
- package/esm/authActions.d.ts +0 -4
- package/esm/authActions.d.ts.map +0 -1
- package/esm/authActions.js +0 -3
- package/esm/endpoints/authActions/index.d.ts +0 -2
- package/esm/endpoints/authActions/index.d.ts.map +0 -1
- package/esm/endpoints/authActions/index.js +0 -4
- package/esm/generated/auth-json-api/api.d.ts +0 -898
- package/esm/generated/auth-json-api/api.d.ts.map +0 -1
- package/esm/generated/auth-json-api/api.js +0 -934
- package/esm/generated/auth-json-api/base.d.ts +0 -43
- package/esm/generated/auth-json-api/base.d.ts.map +0 -1
- package/esm/generated/auth-json-api/base.js +0 -32
- package/esm/generated/auth-json-api/common.d.ts +0 -66
- package/esm/generated/auth-json-api/common.d.ts.map +0 -1
- package/esm/generated/auth-json-api/common.js +0 -121
- package/esm/generated/auth-json-api/configuration.d.ts +0 -75
- package/esm/generated/auth-json-api/configuration.d.ts.map +0 -1
- package/esm/generated/auth-json-api/configuration.js +0 -71
- package/esm/generated/auth-json-api/index.d.ts +0 -14
- package/esm/generated/auth-json-api/index.d.ts.map +0 -1
- package/esm/generated/auth-json-api/index.js +0 -15
- package/esm/generated/auth-json-api/template.d.ts +0 -102
- package/esm/generated/auth-json-api/template.d.ts.map +0 -1
- package/esm/generated/auth-json-api/template.js +0 -151
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* OpenAPI definition
|
|
3
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { Configuration } from './configuration.js';
|
|
13
|
-
import type { AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
|
-
export declare const BASE_PATH: string;
|
|
15
|
-
export declare const COLLECTION_FORMATS: {
|
|
16
|
-
csv: string;
|
|
17
|
-
ssv: string;
|
|
18
|
-
tsv: string;
|
|
19
|
-
pipes: string;
|
|
20
|
-
};
|
|
21
|
-
export interface RequestArgs {
|
|
22
|
-
url: string;
|
|
23
|
-
options: RawAxiosRequestConfig;
|
|
24
|
-
}
|
|
25
|
-
export declare class BaseAPI {
|
|
26
|
-
protected basePath: string;
|
|
27
|
-
protected axios: AxiosInstance;
|
|
28
|
-
protected configuration: Configuration | undefined;
|
|
29
|
-
constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
|
|
30
|
-
}
|
|
31
|
-
export declare class RequiredError extends Error {
|
|
32
|
-
field: string;
|
|
33
|
-
constructor(field: string, msg?: string);
|
|
34
|
-
}
|
|
35
|
-
interface ServerMap {
|
|
36
|
-
[key: string]: {
|
|
37
|
-
url: string;
|
|
38
|
-
description: string;
|
|
39
|
-
}[];
|
|
40
|
-
}
|
|
41
|
-
export declare const operationServerMap: ServerMap;
|
|
42
|
-
export {};
|
|
43
|
-
//# sourceMappingURL=base.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../src/generated/auth-json-api/base.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAGxD,OAAO,KAAK,EAAgB,aAAa,EAAE,qBAAqB,EAAE,MAAM,OAAO,CAAC;AAGhF,eAAO,MAAM,SAAS,QAAyC,CAAC;AAEhE,eAAO,MAAM,kBAAkB;IAC3B,GAAG;IACH,GAAG;IACH,GAAG;IACH,KAAK;CACR,CAAC;AAEF,MAAM,WAAW,WAAW;IACxB,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,qBAAqB,CAAC;CAClC;AAED,qBAAa,OAAO;IAG2B,SAAS,CAAC,QAAQ,EAAE,MAAM;IAAc,SAAS,CAAC,KAAK,EAAE,aAAa;IAFjH,SAAS,CAAC,aAAa,EAAE,aAAa,GAAG,SAAS,CAAC;IAEnD,YAAY,aAAa,CAAC,EAAE,aAAa,EAAY,QAAQ,GAAE,MAAkB,EAAY,KAAK,GAAE,aAA2B,EAK9H;CACJ;AAED,qBAAa,aAAc,SAAQ,KAAK;IACjB,KAAK,EAAE,MAAM;IAAhC,YAAmB,KAAK,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM,EAG7C;CACJ;AAED,UAAU,SAAS;IACf,CAAC,GAAG,EAAE,MAAM,GAAG;QACX,GAAG,EAAE,MAAM,CAAC;QACZ,WAAW,EAAE,MAAM,CAAC;KACvB,EAAE,CAAC;CACP;AAED,eAAO,MAAM,kBAAkB,EAAE,SAChC,CAAA"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
// (C) 2024-2026 GoodData Corporation
|
|
2
|
-
import globalAxios from 'axios';
|
|
3
|
-
export const BASE_PATH = "http://localhost".replace(/\/+$/, "");
|
|
4
|
-
export const COLLECTION_FORMATS = {
|
|
5
|
-
csv: ",",
|
|
6
|
-
ssv: " ",
|
|
7
|
-
tsv: "\t",
|
|
8
|
-
pipes: "|",
|
|
9
|
-
};
|
|
10
|
-
export class BaseAPI {
|
|
11
|
-
basePath;
|
|
12
|
-
axios;
|
|
13
|
-
configuration;
|
|
14
|
-
constructor(configuration, basePath = BASE_PATH, axios = globalAxios) {
|
|
15
|
-
this.basePath = basePath;
|
|
16
|
-
this.axios = axios;
|
|
17
|
-
if (configuration) {
|
|
18
|
-
this.configuration = configuration;
|
|
19
|
-
this.basePath = configuration.basePath ?? basePath;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
;
|
|
24
|
-
export class RequiredError extends Error {
|
|
25
|
-
field;
|
|
26
|
-
constructor(field, msg) {
|
|
27
|
-
super(msg);
|
|
28
|
-
this.field = field;
|
|
29
|
-
this.name = "RequiredError";
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
export const operationServerMap = {};
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* OpenAPI definition
|
|
3
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { Configuration } from "./configuration.js";
|
|
13
|
-
import type { RequestArgs } from "./base.js";
|
|
14
|
-
import type { AxiosInstance, AxiosResponse } from 'axios';
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
*/
|
|
19
|
-
export declare const DUMMY_BASE_URL = "https://example.com";
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @throws {RequiredError}
|
|
23
|
-
* @export
|
|
24
|
-
*/
|
|
25
|
-
export declare const assertParamExists: (functionName: string, paramName: string, paramValue: unknown) => void;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @export
|
|
29
|
-
*/
|
|
30
|
-
export declare const setApiKeyToObject: (object: any, keyParamName: string, configuration?: Configuration) => Promise<void>;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @export
|
|
34
|
-
*/
|
|
35
|
-
export declare const setBasicAuthToObject: (object: any, configuration?: Configuration) => void;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @export
|
|
39
|
-
*/
|
|
40
|
-
export declare const setBearerAuthToObject: (object: any, configuration?: Configuration) => Promise<void>;
|
|
41
|
-
/**
|
|
42
|
-
*
|
|
43
|
-
* @export
|
|
44
|
-
*/
|
|
45
|
-
export declare const setOAuthToObject: (object: any, name: string, scopes: string[], configuration?: Configuration) => Promise<void>;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @export
|
|
49
|
-
*/
|
|
50
|
-
export declare const setSearchParams: (url: URL, ...objects: any[]) => void;
|
|
51
|
-
/**
|
|
52
|
-
*
|
|
53
|
-
* @export
|
|
54
|
-
*/
|
|
55
|
-
export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration) => any;
|
|
56
|
-
/**
|
|
57
|
-
*
|
|
58
|
-
* @export
|
|
59
|
-
*/
|
|
60
|
-
export declare const toPathString: (url: URL) => string;
|
|
61
|
-
/**
|
|
62
|
-
*
|
|
63
|
-
* @export
|
|
64
|
-
*/
|
|
65
|
-
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
|
66
|
-
//# sourceMappingURL=common.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/generated/auth-json-api/common.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAC7C,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAG1D;;;GAGG;AACH,eAAO,MAAM,cAAc,wBAAwB,CAAA;AAEnD;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,iBAA2B,MAAM,aAAa,MAAM,cAAc,OAAO,SAItG,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,iBAAiB,WAA2B,GAAG,gBAAgB,MAAM,kBAAkB,aAAa,kBAOhH,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,oBAAoB,WAAqB,GAAG,kBAAkB,aAAa,SAIvF,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,qBAAqB,WAA2B,GAAG,kBAAkB,aAAa,kBAO9F,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,gBAAgB,WAA2B,GAAG,QAAQ,MAAM,UAAU,MAAM,EAAE,kBAAkB,aAAa,kBAOzH,CAAA;AAwBD;;;GAGG;AACH,eAAO,MAAM,eAAe,QAAkB,GAAG,cAAc,GAAG,EAAE,SAInE,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,qBAAqB,UAAoB,GAAG,kBAAkB,GAAG,kBAAkB,aAAa,QAQ5G,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,YAAY,QAAkB,GAAG,WAE7C,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,qBAAqB,cAAwB,WAAW,eAAe,aAAa,aAAa,MAAM,kBAAkB,aAAa,MACvI,CAAC,GAAG,OAAO,EAAE,CAAC,GAAG,aAAa,CAAC,CAAC,CAAC,UAAS,aAAa,aAA0B,MAAM,eAIlG,CAAA"}
|
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
// (C) 2024-2026 GoodData Corporation
|
|
2
|
-
import { RequiredError } from "./base.js";
|
|
3
|
-
/**
|
|
4
|
-
*
|
|
5
|
-
* @export
|
|
6
|
-
*/
|
|
7
|
-
export const DUMMY_BASE_URL = 'https://example.com';
|
|
8
|
-
/**
|
|
9
|
-
*
|
|
10
|
-
* @throws {RequiredError}
|
|
11
|
-
* @export
|
|
12
|
-
*/
|
|
13
|
-
export const assertParamExists = function (functionName, paramName, paramValue) {
|
|
14
|
-
if (paramValue === null || paramValue === undefined) {
|
|
15
|
-
throw new RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
|
|
16
|
-
}
|
|
17
|
-
};
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @export
|
|
21
|
-
*/
|
|
22
|
-
export const setApiKeyToObject = async function (object, keyParamName, configuration) {
|
|
23
|
-
if (configuration && configuration.apiKey) {
|
|
24
|
-
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
25
|
-
? await configuration.apiKey(keyParamName)
|
|
26
|
-
: await configuration.apiKey;
|
|
27
|
-
object[keyParamName] = localVarApiKeyValue;
|
|
28
|
-
}
|
|
29
|
-
};
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @export
|
|
33
|
-
*/
|
|
34
|
-
export const setBasicAuthToObject = function (object, configuration) {
|
|
35
|
-
if (configuration && (configuration.username || configuration.password)) {
|
|
36
|
-
object["auth"] = { username: configuration.username, password: configuration.password };
|
|
37
|
-
}
|
|
38
|
-
};
|
|
39
|
-
/**
|
|
40
|
-
*
|
|
41
|
-
* @export
|
|
42
|
-
*/
|
|
43
|
-
export const setBearerAuthToObject = async function (object, configuration) {
|
|
44
|
-
if (configuration && configuration.accessToken) {
|
|
45
|
-
const accessToken = typeof configuration.accessToken === 'function'
|
|
46
|
-
? await configuration.accessToken()
|
|
47
|
-
: await configuration.accessToken;
|
|
48
|
-
object["Authorization"] = "Bearer " + accessToken;
|
|
49
|
-
}
|
|
50
|
-
};
|
|
51
|
-
/**
|
|
52
|
-
*
|
|
53
|
-
* @export
|
|
54
|
-
*/
|
|
55
|
-
export const setOAuthToObject = async function (object, name, scopes, configuration) {
|
|
56
|
-
if (configuration && configuration.accessToken) {
|
|
57
|
-
const localVarAccessTokenValue = typeof configuration.accessToken === 'function'
|
|
58
|
-
? await configuration.accessToken(name, scopes)
|
|
59
|
-
: await configuration.accessToken;
|
|
60
|
-
object["Authorization"] = "Bearer " + localVarAccessTokenValue;
|
|
61
|
-
}
|
|
62
|
-
};
|
|
63
|
-
function setFlattenedQueryParams(urlSearchParams, parameter, key = "") {
|
|
64
|
-
if (parameter == null)
|
|
65
|
-
return;
|
|
66
|
-
if (typeof parameter === "object") {
|
|
67
|
-
if (Array.isArray(parameter)) {
|
|
68
|
-
parameter.forEach(item => setFlattenedQueryParams(urlSearchParams, item, key));
|
|
69
|
-
}
|
|
70
|
-
else {
|
|
71
|
-
Object.keys(parameter).forEach(currentKey => setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== '' ? '.' : ''}${currentKey}`));
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
else {
|
|
75
|
-
if (urlSearchParams.has(key)) {
|
|
76
|
-
urlSearchParams.append(key, parameter);
|
|
77
|
-
}
|
|
78
|
-
else {
|
|
79
|
-
urlSearchParams.set(key, parameter);
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
/**
|
|
84
|
-
*
|
|
85
|
-
* @export
|
|
86
|
-
*/
|
|
87
|
-
export const setSearchParams = function (url, ...objects) {
|
|
88
|
-
const searchParams = new URLSearchParams(url.search);
|
|
89
|
-
setFlattenedQueryParams(searchParams, objects);
|
|
90
|
-
url.search = searchParams.toString();
|
|
91
|
-
};
|
|
92
|
-
/**
|
|
93
|
-
*
|
|
94
|
-
* @export
|
|
95
|
-
*/
|
|
96
|
-
export const serializeDataIfNeeded = function (value, requestOptions, configuration) {
|
|
97
|
-
const nonString = typeof value !== 'string';
|
|
98
|
-
const needsSerialization = nonString && configuration && configuration.isJsonMime
|
|
99
|
-
? configuration.isJsonMime(requestOptions.headers['Content-Type'])
|
|
100
|
-
: nonString;
|
|
101
|
-
return needsSerialization
|
|
102
|
-
? JSON.stringify(value !== undefined ? value : {})
|
|
103
|
-
: (value || "");
|
|
104
|
-
};
|
|
105
|
-
/**
|
|
106
|
-
*
|
|
107
|
-
* @export
|
|
108
|
-
*/
|
|
109
|
-
export const toPathString = function (url) {
|
|
110
|
-
return url.pathname + url.search + url.hash;
|
|
111
|
-
};
|
|
112
|
-
/**
|
|
113
|
-
*
|
|
114
|
-
* @export
|
|
115
|
-
*/
|
|
116
|
-
export const createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
117
|
-
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
118
|
-
const axiosRequestArgs = { ...axiosArgs.options, url: (configuration?.basePath || basePath) + axiosArgs.url };
|
|
119
|
-
return axios.request(axiosRequestArgs);
|
|
120
|
-
};
|
|
121
|
-
};
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* OpenAPI definition
|
|
3
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
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
|
-
basePath?: string;
|
|
18
|
-
serverIndex?: number;
|
|
19
|
-
baseOptions?: any;
|
|
20
|
-
formDataCtor?: new () => any;
|
|
21
|
-
}
|
|
22
|
-
export declare class Configuration {
|
|
23
|
-
/**
|
|
24
|
-
* parameter for apiKey security
|
|
25
|
-
* @param name security name
|
|
26
|
-
*/
|
|
27
|
-
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
28
|
-
/**
|
|
29
|
-
* parameter for basic security
|
|
30
|
-
*/
|
|
31
|
-
username?: string;
|
|
32
|
-
/**
|
|
33
|
-
* parameter for basic security
|
|
34
|
-
*/
|
|
35
|
-
password?: string;
|
|
36
|
-
/**
|
|
37
|
-
* parameter for oauth2 security
|
|
38
|
-
* @param name security name
|
|
39
|
-
* @param scopes oauth2 scope
|
|
40
|
-
*/
|
|
41
|
-
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
42
|
-
/**
|
|
43
|
-
* override base path
|
|
44
|
-
*/
|
|
45
|
-
basePath?: string;
|
|
46
|
-
/**
|
|
47
|
-
* override server index
|
|
48
|
-
*/
|
|
49
|
-
serverIndex?: number;
|
|
50
|
-
/**
|
|
51
|
-
* base options for axios calls
|
|
52
|
-
*/
|
|
53
|
-
baseOptions?: any;
|
|
54
|
-
/**
|
|
55
|
-
* The FormData constructor that will be used to create multipart form data
|
|
56
|
-
* requests. You can inject this here so that execution environments that
|
|
57
|
-
* do not support the FormData class can still run the generated client.
|
|
58
|
-
*
|
|
59
|
-
* @type {new () => FormData}
|
|
60
|
-
*/
|
|
61
|
-
formDataCtor?: new () => any;
|
|
62
|
-
constructor(param?: ConfigurationParameters);
|
|
63
|
-
/**
|
|
64
|
-
* Check if the given MIME is a JSON MIME.
|
|
65
|
-
* JSON MIME examples:
|
|
66
|
-
* application/json
|
|
67
|
-
* application/json; charset=UTF8
|
|
68
|
-
* APPLICATION/JSON
|
|
69
|
-
* application/vnd.company+json
|
|
70
|
-
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
71
|
-
* @return True if the given MIME is JSON, false otherwise.
|
|
72
|
-
*/
|
|
73
|
-
isJsonMime(mime: string): boolean;
|
|
74
|
-
}
|
|
75
|
-
//# sourceMappingURL=configuration.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"configuration.d.ts","sourceRoot":"","sources":["../../../src/generated/auth-json-api/configuration.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;GAUG;AAGH,MAAM,WAAW,uBAAuB;IACpC,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC;IACrG,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,KAAK,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC;IAClJ,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,GAAG,CAAC;IAClB,YAAY,CAAC,EAAE,UAAU,GAAG,CAAC;CAChC;AAED,qBAAa,aAAa;IACtB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC;IACrG;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,KAAK,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC;IAClJ;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,WAAW,CAAC,EAAE,GAAG,CAAC;IAClB;;;;;;OAMG;IACH,YAAY,CAAC,EAAE,UAAU,GAAG,CAAC;IAE7B,YAAY,KAAK,GAAE,uBAA4B,EAc9C;IAED;;;;;;;;;OASG;IACI,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAGvC;CACJ"}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
// (C) 2024-2026 GoodData Corporation
|
|
2
|
-
export class Configuration {
|
|
3
|
-
/**
|
|
4
|
-
* parameter for apiKey security
|
|
5
|
-
* @param name security name
|
|
6
|
-
*/
|
|
7
|
-
apiKey;
|
|
8
|
-
/**
|
|
9
|
-
* parameter for basic security
|
|
10
|
-
*/
|
|
11
|
-
username;
|
|
12
|
-
/**
|
|
13
|
-
* parameter for basic security
|
|
14
|
-
*/
|
|
15
|
-
password;
|
|
16
|
-
/**
|
|
17
|
-
* parameter for oauth2 security
|
|
18
|
-
* @param name security name
|
|
19
|
-
* @param scopes oauth2 scope
|
|
20
|
-
*/
|
|
21
|
-
accessToken;
|
|
22
|
-
/**
|
|
23
|
-
* override base path
|
|
24
|
-
*/
|
|
25
|
-
basePath;
|
|
26
|
-
/**
|
|
27
|
-
* override server index
|
|
28
|
-
*/
|
|
29
|
-
serverIndex;
|
|
30
|
-
/**
|
|
31
|
-
* base options for axios calls
|
|
32
|
-
*/
|
|
33
|
-
baseOptions;
|
|
34
|
-
/**
|
|
35
|
-
* The FormData constructor that will be used to create multipart form data
|
|
36
|
-
* requests. You can inject this here so that execution environments that
|
|
37
|
-
* do not support the FormData class can still run the generated client.
|
|
38
|
-
*
|
|
39
|
-
* @type {new () => FormData}
|
|
40
|
-
*/
|
|
41
|
-
formDataCtor;
|
|
42
|
-
constructor(param = {}) {
|
|
43
|
-
this.apiKey = param.apiKey;
|
|
44
|
-
this.username = param.username;
|
|
45
|
-
this.password = param.password;
|
|
46
|
-
this.accessToken = param.accessToken;
|
|
47
|
-
this.basePath = param.basePath;
|
|
48
|
-
this.serverIndex = param.serverIndex;
|
|
49
|
-
this.baseOptions = {
|
|
50
|
-
...param.baseOptions,
|
|
51
|
-
headers: {
|
|
52
|
-
...param.baseOptions?.headers,
|
|
53
|
-
},
|
|
54
|
-
};
|
|
55
|
-
this.formDataCtor = param.formDataCtor;
|
|
56
|
-
}
|
|
57
|
-
/**
|
|
58
|
-
* Check if the given MIME is a JSON MIME.
|
|
59
|
-
* JSON MIME examples:
|
|
60
|
-
* application/json
|
|
61
|
-
* application/json; charset=UTF8
|
|
62
|
-
* APPLICATION/JSON
|
|
63
|
-
* application/vnd.company+json
|
|
64
|
-
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
65
|
-
* @return True if the given MIME is JSON, false otherwise.
|
|
66
|
-
*/
|
|
67
|
-
isJsonMime(mime) {
|
|
68
|
-
const jsonMime = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
|
|
69
|
-
return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
|
|
70
|
-
}
|
|
71
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* OpenAPI definition
|
|
3
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
export * from "./api.js";
|
|
13
|
-
export * from "./configuration.js";
|
|
14
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/generated/auth-json-api/index.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;GAUG;AAGH,cAAc,UAAU,CAAC;AACzB,cAAc,oBAAoB,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
// (C) 2024-2026 GoodData Corporation
|
|
2
|
-
// oxlint-disable no-barrel-files/no-barrel-files, eslint-js/no-restricted-syntax
|
|
3
|
-
/**
|
|
4
|
-
* OpenAPI definition
|
|
5
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: v0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
export * from "./api.js";
|
|
15
|
-
export * from "./configuration.js";
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import { AxiosInstance, AxiosPromise, AxiosRequestConfig } from "axios";
|
|
2
|
-
import { BaseAPI, RequestArgs } from './base.js';
|
|
3
|
-
import { Configuration } from "./configuration.js";
|
|
4
|
-
export interface Invitation {
|
|
5
|
-
email: string;
|
|
6
|
-
userId: string;
|
|
7
|
-
firstName?: string;
|
|
8
|
-
lastName?: string;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* Puts a new invitation requirement into the invitation generator queue. This is a GoodData Cloud specific endpoint.
|
|
12
|
-
* @summary Invite User
|
|
13
|
-
* @param {Invitation} invitation
|
|
14
|
-
* @param {*} [options] Override http request option.
|
|
15
|
-
* @param {Configuration} [configuration] Optional configuration.
|
|
16
|
-
* @throws {RequiredError}
|
|
17
|
-
*/
|
|
18
|
-
export declare function ActionsApiAxiosParamCreator_ProcessInvitation(invitation: Invitation, options?: AxiosRequestConfig, configuration?: Configuration): Promise<RequestArgs>;
|
|
19
|
-
/**
|
|
20
|
-
* ActionsApi - axios parameter creator
|
|
21
|
-
* @export
|
|
22
|
-
*/
|
|
23
|
-
export declare const ActionsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
24
|
-
/**
|
|
25
|
-
* Puts a new invitation requirement into the invitation generator queue. This is a GoodData Cloud specific endpoint.
|
|
26
|
-
* @summary Invite User
|
|
27
|
-
* @param {Invitation} invitation
|
|
28
|
-
* @param {*} [options] Override http request option.
|
|
29
|
-
* @throws {RequiredError}
|
|
30
|
-
*/
|
|
31
|
-
processInvitation: (invitation: Invitation, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
32
|
-
};
|
|
33
|
-
/**
|
|
34
|
-
* Puts a new invitation requirement into the invitation generator queue. This is a GoodData Cloud specific endpoint.
|
|
35
|
-
* @summary Invite User
|
|
36
|
-
* @param {Invitation} invitation
|
|
37
|
-
* @param {*} [options] Override http request option.
|
|
38
|
-
* @param {Configuration} [configuration] Optional configuration.
|
|
39
|
-
* @throws {RequiredError}
|
|
40
|
-
*/
|
|
41
|
-
export declare function ActionsApiFp_ProcessInvitation(invitation: Invitation, options?: AxiosRequestConfig, configuration?: Configuration): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
42
|
-
/**
|
|
43
|
-
* ActionsApi - functional programming interface
|
|
44
|
-
* @export
|
|
45
|
-
*/
|
|
46
|
-
export declare const ActionsApiFp: (configuration?: Configuration) => {
|
|
47
|
-
/**
|
|
48
|
-
* Puts a new invitation requirement into the invitation generator queue. This is a GoodData Cloud specific endpoint.
|
|
49
|
-
* @summary Invite User
|
|
50
|
-
* @param {Invitation} invitation
|
|
51
|
-
* @param {*} [options] Override http request option.
|
|
52
|
-
* @throws {RequiredError}
|
|
53
|
-
*/
|
|
54
|
-
processInvitation(invitation: Invitation, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
55
|
-
};
|
|
56
|
-
/**
|
|
57
|
-
* ActionsApi - interface
|
|
58
|
-
* @export
|
|
59
|
-
* @interface ActionsApi
|
|
60
|
-
*/
|
|
61
|
-
export interface ActionsApiInterface {
|
|
62
|
-
/**
|
|
63
|
-
* Puts a new invitation requirement into the invitation generator queue. This is a GoodData Cloud specific endpoint.
|
|
64
|
-
* @summary Invite User
|
|
65
|
-
* @param {ActionsApiProcessInvitationRequest} requestParameters Request parameters.
|
|
66
|
-
* @param {*} [options] Override http request option.
|
|
67
|
-
* @throws {RequiredError}
|
|
68
|
-
* @memberof ActionsApiInterface
|
|
69
|
-
*/
|
|
70
|
-
processInvitation(requestParameters: ActionsApiProcessInvitationRequest, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
71
|
-
}
|
|
72
|
-
/**
|
|
73
|
-
* Request parameters for processInvitation operation in ActionsApi.
|
|
74
|
-
* @export
|
|
75
|
-
* @interface ActionsApiProcessInvitationRequest
|
|
76
|
-
*/
|
|
77
|
-
export interface ActionsApiProcessInvitationRequest {
|
|
78
|
-
/**
|
|
79
|
-
*
|
|
80
|
-
* @type {Invitation}
|
|
81
|
-
* @memberof ActionsApiProcessInvitation
|
|
82
|
-
*/
|
|
83
|
-
readonly invitation: Invitation;
|
|
84
|
-
}
|
|
85
|
-
/**
|
|
86
|
-
* ActionsApi - object-oriented interface
|
|
87
|
-
* @export
|
|
88
|
-
* @class ActionsApi
|
|
89
|
-
* @extends {BaseAPI}
|
|
90
|
-
*/
|
|
91
|
-
export declare class ActionsApi extends BaseAPI implements ActionsApiInterface {
|
|
92
|
-
/**
|
|
93
|
-
* Puts a new invitation requirement into the invitation generator queue. This is a GoodData Cloud specific endpoint.
|
|
94
|
-
* @summary Invite User
|
|
95
|
-
* @param {ActionsApiProcessInvitationRequest} requestParameters Request parameters.
|
|
96
|
-
* @param {*} [options] Override http request option.
|
|
97
|
-
* @throws {RequiredError}
|
|
98
|
-
* @memberof ActionsApi
|
|
99
|
-
*/
|
|
100
|
-
processInvitation(requestParameters: ActionsApiProcessInvitationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
101
|
-
}
|
|
102
|
-
//# sourceMappingURL=template.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"template.d.ts","sourceRoot":"","sources":["../../../src/generated/auth-json-api/template.ts"],"names":[],"mappings":"AAGA,OAAoB,EAAE,aAAa,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAC;AAGrF,OAAO,EAAa,OAAO,EAAsB,WAAW,EAAiB,MAAM,WAAW,CAAC;AAa/F,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAEnD,MAAM,WAAW,UAAU;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB;AAGD;;;;;;;GAOG;AACH,wBAAsB,6CAA6C,CAC/D,UAAU,EAAE,UAAU,EACtB,OAAO,GAAE,kBAAuB,EAChC,aAAa,CAAC,EAAE,aAAa,GAC9B,OAAO,CAAC,WAAW,CAAC,CAkCtB;AAED;;;GAGG;AACH,eAAO,MAAM,2BAA2B,mBAA6B,aAAa;IAE1E;;;;;;OAMG;IACH,iBAAiB,eACD,UAAU,YACb,kBAAkB,KAC5B,OAAO,CAAC,WAAW,CAAC;CAoC9B,CAAC;AAEF;;;;;;;GAOG;AACH,wBAAsB,8BAA8B,CAChD,UAAU,EAAE,UAAU,EACtB,OAAO,CAAC,EAAE,kBAAkB,EAC5B,aAAa,CAAC,EAAE,aAAa,GAC9B,OAAO,CAAC,CAAC,KAAK,CAAC,EAAE,aAAa,EAAE,QAAQ,CAAC,EAAE,MAAM,KAAK,YAAY,CAAC,IAAI,CAAC,CAAC,CAO3E;AAED;;;GAGG;AACH,eAAO,MAAM,YAAY,mBAA6B,aAAa;IAG3D;;;;;;OAMG;IACG,iBAAiB,aACP,UAAU,YACZ,kBAAkB,GAC7B,OAAO,CAAC,CAAC,KAAK,CAAC,EAAE,aAAa,EAAE,QAAQ,CAAC,EAAE,MAAM,KAAK,YAAY,CAAC,IAAI,CAAC,CAAC;CAKnF,CAAC;AAEF;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;;;;OAOG;IACH,iBAAiB,CACb,iBAAiB,EAAE,kCAAkC,EACrD,OAAO,CAAC,EAAE,kBAAkB,GAC7B,YAAY,CAAC,IAAI,CAAC,CAAC;CACzB;AAED;;;;GAIG;AACH,MAAM,WAAW,kCAAkC;IAC/C;;;;OAIG;IACH,QAAQ,CAAC,UAAU,EAAE,UAAU,CAAC;CACnC;AAGD;;;;;GAKG;AACH,qBAAa,UAAW,SAAQ,OAAQ,YAAW,mBAAmB;IAClE;;;;;;;OAOG;IACI,iBAAiB,CACpB,iBAAiB,EAAE,kCAAkC,EACrD,OAAO,CAAC,EAAE,kBAAkB,yDAK/B;CACJ"}
|