@coscine/api-client 2.9.2 → 2.11.0
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/index.js +125 -30
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +125 -30
- package/dist/index.umd.js.map +1 -1
- package/dist/lib/Coscine.Api.Admin/api.js +1 -1
- package/dist/lib/Coscine.Api.Admin/base.js +2 -2
- package/dist/lib/Coscine.Api.Admin/common.js +1 -1
- package/dist/lib/Coscine.Api.Admin/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Admin/index.js +1 -1
- package/dist/lib/Coscine.Api.Blob/api.js +1 -1
- package/dist/lib/Coscine.Api.Blob/base.js +2 -2
- package/dist/lib/Coscine.Api.Blob/common.js +1 -1
- package/dist/lib/Coscine.Api.Blob/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Blob/index.js +1 -1
- package/dist/lib/Coscine.Api.Metadata/base.js +1 -1
- package/dist/lib/Coscine.Api.Notices/base.js +1 -1
- package/dist/lib/Coscine.Api.Organization/api.js +1 -1
- package/dist/lib/Coscine.Api.Organization/base.js +2 -2
- package/dist/lib/Coscine.Api.Organization/common.js +1 -1
- package/dist/lib/Coscine.Api.Organization/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Organization/index.js +1 -1
- package/dist/lib/Coscine.Api.Pid/api.js +1 -1
- package/dist/lib/Coscine.Api.Pid/base.js +2 -2
- package/dist/lib/Coscine.Api.Pid/common.js +1 -1
- package/dist/lib/Coscine.Api.Pid/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Pid/index.js +1 -1
- package/dist/lib/Coscine.Api.Project/api.js +9 -5
- package/dist/lib/Coscine.Api.Project/api.js.map +1 -1
- package/dist/lib/Coscine.Api.Project/base.js +2 -2
- package/dist/lib/Coscine.Api.Project/common.js +1 -1
- package/dist/lib/Coscine.Api.Project/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Project/index.js +1 -1
- package/dist/lib/Coscine.Api.Resources/api.js +78 -13
- package/dist/lib/Coscine.Api.Resources/api.js.map +1 -1
- package/dist/lib/Coscine.Api.Resources/base.js +2 -2
- package/dist/lib/Coscine.Api.Resources/common.js +1 -1
- package/dist/lib/Coscine.Api.Resources/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Resources/index.js +1 -1
- package/dist/lib/Coscine.Api.STS/base.js +1 -1
- package/dist/lib/Coscine.Api.Search/api.js +49 -9
- package/dist/lib/Coscine.Api.Search/api.js.map +1 -1
- package/dist/lib/Coscine.Api.Search/base.js +1 -1
- package/dist/lib/Coscine.Api.Search/common.js +1 -1
- package/dist/lib/Coscine.Api.Search/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Search/index.js +1 -1
- package/dist/lib/Coscine.Api.Token/base.js +1 -1
- package/dist/lib/Coscine.Api.Tree/api.js +1 -1
- package/dist/lib/Coscine.Api.Tree/base.js +2 -2
- package/dist/lib/Coscine.Api.Tree/common.js +1 -1
- package/dist/lib/Coscine.Api.Tree/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Tree/index.js +1 -1
- package/dist/lib/Coscine.Api.User/api.js +1 -1
- package/dist/lib/Coscine.Api.User/base.js +2 -2
- package/dist/lib/Coscine.Api.User/common.js +1 -1
- package/dist/lib/Coscine.Api.User/configuration.js +1 -1
- package/dist/lib/Coscine.Api.User/index.js +1 -1
- package/dist/types/Coscine.Api.Admin/api.d.ts +1 -1
- package/dist/types/Coscine.Api.Admin/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Admin/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Admin/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Admin/index.d.ts +1 -1
- package/dist/types/Coscine.Api.Blob/api.d.ts +1 -1
- package/dist/types/Coscine.Api.Blob/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Blob/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Blob/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Blob/index.d.ts +1 -1
- package/dist/types/Coscine.Api.Organization/api.d.ts +1 -1
- package/dist/types/Coscine.Api.Organization/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Organization/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Organization/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Organization/index.d.ts +1 -1
- package/dist/types/Coscine.Api.Pid/api.d.ts +1 -1
- package/dist/types/Coscine.Api.Pid/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Pid/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Pid/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Pid/index.d.ts +1 -1
- package/dist/types/Coscine.Api.Project/api.d.ts +9 -5
- package/dist/types/Coscine.Api.Project/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Project/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Project/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Project/index.d.ts +1 -1
- package/dist/types/Coscine.Api.Resources/api.d.ts +46 -13
- package/dist/types/Coscine.Api.Resources/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Resources/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Resources/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Resources/index.d.ts +1 -1
- package/dist/types/Coscine.Api.Search/api.d.ts +38 -6
- package/dist/types/Coscine.Api.Search/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Search/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Search/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Search/index.d.ts +1 -1
- package/dist/types/Coscine.Api.Tree/api.d.ts +1 -1
- package/dist/types/Coscine.Api.Tree/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Tree/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Tree/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Tree/index.d.ts +1 -1
- package/dist/types/Coscine.Api.User/api.d.ts +1 -1
- package/dist/types/Coscine.Api.User/base.d.ts +1 -1
- package/dist/types/Coscine.Api.User/common.d.ts +1 -1
- package/dist/types/Coscine.Api.User/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.User/index.d.ts +1 -1
- package/dist/types/apis.d.ts +2 -1
- package/dist/types/index.d.ts +4 -2
- package/package.json +1 -1
- package/dist/lib/Coscine.Api.ActivatedFeatures/api.js +0 -470
- package/dist/lib/Coscine.Api.ActivatedFeatures/api.js.map +0 -1
- package/dist/lib/Coscine.Api.ActivatedFeatures/base.js +0 -65
- package/dist/lib/Coscine.Api.ActivatedFeatures/base.js.map +0 -1
- package/dist/lib/Coscine.Api.ActivatedFeatures/common.js +0 -153
- package/dist/lib/Coscine.Api.ActivatedFeatures/common.js.map +0 -1
- package/dist/lib/Coscine.Api.ActivatedFeatures/configuration.js +0 -43
- package/dist/lib/Coscine.Api.ActivatedFeatures/configuration.js.map +0 -1
- package/dist/lib/Coscine.Api.ActivatedFeatures/index.js +0 -32
- package/dist/lib/Coscine.Api.ActivatedFeatures/index.js.map +0 -1
- package/dist/types/Coscine.Api.ActivatedFeatures/api.d.ts +0 -279
- package/dist/types/Coscine.Api.ActivatedFeatures/base.d.ts +0 -55
- package/dist/types/Coscine.Api.ActivatedFeatures/common.d.ts +0 -65
- package/dist/types/Coscine.Api.ActivatedFeatures/configuration.d.ts +0 -83
- package/dist/types/Coscine.Api.ActivatedFeatures/index.d.ts +0 -13
|
@@ -1,153 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Coscine.Api.ActivatedFeatures
|
|
6
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 2.1.2
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
16
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
17
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
18
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
19
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
20
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
21
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
22
|
-
});
|
|
23
|
-
};
|
|
24
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.createRequestFunction = exports.toPathString = exports.serializeDataIfNeeded = exports.setSearchParams = exports.setOAuthToObject = exports.setBearerAuthToObject = exports.setBasicAuthToObject = exports.setApiKeyToObject = exports.assertParamExists = exports.DUMMY_BASE_URL = void 0;
|
|
26
|
-
const base_1 = require("./base");
|
|
27
|
-
/**
|
|
28
|
-
*
|
|
29
|
-
* @export
|
|
30
|
-
*/
|
|
31
|
-
exports.DUMMY_BASE_URL = 'https://example.com';
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @throws {RequiredError}
|
|
35
|
-
* @export
|
|
36
|
-
*/
|
|
37
|
-
const assertParamExists = function (functionName, paramName, paramValue) {
|
|
38
|
-
if (paramValue === null || paramValue === undefined) {
|
|
39
|
-
throw new base_1.RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
|
|
40
|
-
}
|
|
41
|
-
};
|
|
42
|
-
exports.assertParamExists = assertParamExists;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @export
|
|
46
|
-
*/
|
|
47
|
-
const setApiKeyToObject = function (object, keyParamName, configuration) {
|
|
48
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
49
|
-
if (configuration && configuration.apiKey) {
|
|
50
|
-
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
51
|
-
? yield configuration.apiKey(keyParamName)
|
|
52
|
-
: yield configuration.apiKey;
|
|
53
|
-
object[keyParamName] = localVarApiKeyValue;
|
|
54
|
-
}
|
|
55
|
-
});
|
|
56
|
-
};
|
|
57
|
-
exports.setApiKeyToObject = setApiKeyToObject;
|
|
58
|
-
/**
|
|
59
|
-
*
|
|
60
|
-
* @export
|
|
61
|
-
*/
|
|
62
|
-
const setBasicAuthToObject = function (object, configuration) {
|
|
63
|
-
if (configuration && (configuration.username || configuration.password)) {
|
|
64
|
-
object["auth"] = { username: configuration.username, password: configuration.password };
|
|
65
|
-
}
|
|
66
|
-
};
|
|
67
|
-
exports.setBasicAuthToObject = setBasicAuthToObject;
|
|
68
|
-
/**
|
|
69
|
-
*
|
|
70
|
-
* @export
|
|
71
|
-
*/
|
|
72
|
-
const setBearerAuthToObject = function (object, configuration) {
|
|
73
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
74
|
-
if (configuration && configuration.accessToken) {
|
|
75
|
-
const accessToken = typeof configuration.accessToken === 'function'
|
|
76
|
-
? yield configuration.accessToken()
|
|
77
|
-
: yield configuration.accessToken;
|
|
78
|
-
object["Authorization"] = "Bearer " + accessToken;
|
|
79
|
-
}
|
|
80
|
-
});
|
|
81
|
-
};
|
|
82
|
-
exports.setBearerAuthToObject = setBearerAuthToObject;
|
|
83
|
-
/**
|
|
84
|
-
*
|
|
85
|
-
* @export
|
|
86
|
-
*/
|
|
87
|
-
const setOAuthToObject = function (object, name, scopes, configuration) {
|
|
88
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
89
|
-
if (configuration && configuration.accessToken) {
|
|
90
|
-
const localVarAccessTokenValue = typeof configuration.accessToken === 'function'
|
|
91
|
-
? yield configuration.accessToken(name, scopes)
|
|
92
|
-
: yield configuration.accessToken;
|
|
93
|
-
object["Authorization"] = "Bearer " + localVarAccessTokenValue;
|
|
94
|
-
}
|
|
95
|
-
});
|
|
96
|
-
};
|
|
97
|
-
exports.setOAuthToObject = setOAuthToObject;
|
|
98
|
-
/**
|
|
99
|
-
*
|
|
100
|
-
* @export
|
|
101
|
-
*/
|
|
102
|
-
const setSearchParams = function (url, ...objects) {
|
|
103
|
-
const searchParams = new URLSearchParams(url.search);
|
|
104
|
-
for (const object of objects) {
|
|
105
|
-
for (const key in object) {
|
|
106
|
-
if (Array.isArray(object[key])) {
|
|
107
|
-
searchParams.delete(key);
|
|
108
|
-
for (const item of object[key]) {
|
|
109
|
-
searchParams.append(key, item);
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
else {
|
|
113
|
-
searchParams.set(key, object[key]);
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
url.search = searchParams.toString();
|
|
118
|
-
};
|
|
119
|
-
exports.setSearchParams = setSearchParams;
|
|
120
|
-
/**
|
|
121
|
-
*
|
|
122
|
-
* @export
|
|
123
|
-
*/
|
|
124
|
-
const serializeDataIfNeeded = function (value, requestOptions, configuration) {
|
|
125
|
-
const nonString = typeof value !== 'string';
|
|
126
|
-
const needsSerialization = nonString && configuration && configuration.isJsonMime
|
|
127
|
-
? configuration.isJsonMime(requestOptions.headers['Content-Type'])
|
|
128
|
-
: nonString;
|
|
129
|
-
return needsSerialization
|
|
130
|
-
? JSON.stringify(value !== undefined ? value : {})
|
|
131
|
-
: (value || "");
|
|
132
|
-
};
|
|
133
|
-
exports.serializeDataIfNeeded = serializeDataIfNeeded;
|
|
134
|
-
/**
|
|
135
|
-
*
|
|
136
|
-
* @export
|
|
137
|
-
*/
|
|
138
|
-
const toPathString = function (url) {
|
|
139
|
-
return url.pathname + url.search + url.hash;
|
|
140
|
-
};
|
|
141
|
-
exports.toPathString = toPathString;
|
|
142
|
-
/**
|
|
143
|
-
*
|
|
144
|
-
* @export
|
|
145
|
-
*/
|
|
146
|
-
const createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
147
|
-
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
148
|
-
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
|
|
149
|
-
return axios.request(axiosRequestArgs);
|
|
150
|
-
};
|
|
151
|
-
};
|
|
152
|
-
exports.createRequestFunction = createRequestFunction;
|
|
153
|
-
//# sourceMappingURL=common.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../../src/Coscine.Api.ActivatedFeatures/common.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Coscine.Api.ActivatedFeatures
|
|
6
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 2.1.2
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.Configuration = void 0;
|
|
17
|
-
class Configuration {
|
|
18
|
-
constructor(param = {}) {
|
|
19
|
-
this.apiKey = param.apiKey;
|
|
20
|
-
this.username = param.username;
|
|
21
|
-
this.password = param.password;
|
|
22
|
-
this.accessToken = param.accessToken;
|
|
23
|
-
this.basePath = param.basePath;
|
|
24
|
-
this.baseOptions = param.baseOptions;
|
|
25
|
-
this.formDataCtor = param.formDataCtor;
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* Check if the given MIME is a JSON MIME.
|
|
29
|
-
* JSON MIME examples:
|
|
30
|
-
* application/json
|
|
31
|
-
* application/json; charset=UTF8
|
|
32
|
-
* APPLICATION/JSON
|
|
33
|
-
* application/vnd.company+json
|
|
34
|
-
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
35
|
-
* @return True if the given MIME is JSON, false otherwise.
|
|
36
|
-
*/
|
|
37
|
-
isJsonMime(mime) {
|
|
38
|
-
const jsonMime = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
|
|
39
|
-
return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
exports.Configuration = Configuration;
|
|
43
|
-
//# sourceMappingURL=configuration.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"configuration.js","sourceRoot":"","sources":["../../../src/Coscine.Api.ActivatedFeatures/configuration.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAaH,MAAa,aAAa;IAmDtB,YAAY,QAAiC,EAAE;QAC3C,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;QAC3B,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAAC;QAC/B,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAAC;QAC/B,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC,WAAW,CAAC;QACrC,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAAC;QAC/B,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC,WAAW,CAAC;QACrC,IAAI,CAAC,YAAY,GAAG,KAAK,CAAC,YAAY,CAAC;IAC3C,CAAC;IAED;;;;;;;;;OASG;IACI,UAAU,CAAC,IAAY;QAC1B,MAAM,QAAQ,GAAW,IAAI,MAAM,CAAC,+DAA+D,EAAE,GAAG,CAAC,CAAC;QAC1G,OAAO,IAAI,KAAK,IAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,WAAW,EAAE,KAAK,6BAA6B,CAAC,CAAC;IAC1G,CAAC;CACJ;AA3ED,sCA2EC"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Coscine.Api.ActivatedFeatures
|
|
6
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 2.1.2
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
16
|
-
if (k2 === undefined) k2 = k;
|
|
17
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
18
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
19
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
20
|
-
}
|
|
21
|
-
Object.defineProperty(o, k2, desc);
|
|
22
|
-
}) : (function(o, m, k, k2) {
|
|
23
|
-
if (k2 === undefined) k2 = k;
|
|
24
|
-
o[k2] = m[k];
|
|
25
|
-
}));
|
|
26
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
27
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
28
|
-
};
|
|
29
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
|
-
__exportStar(require("./api"), exports);
|
|
31
|
-
__exportStar(require("./configuration"), exports);
|
|
32
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/Coscine.Api.ActivatedFeatures/index.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;AAGH,wCAAsB;AACtB,kDAAgC"}
|
|
@@ -1,279 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Coscine.Api.ActivatedFeatures
|
|
3
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 2.1.2
|
|
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 { Configuration } from './configuration';
|
|
13
|
-
import { AxiosPromise, AxiosInstance } from 'axios';
|
|
14
|
-
import { RequestArgs, BaseAPI } from './base';
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
* @interface FeatureObject
|
|
19
|
-
*/
|
|
20
|
-
export interface FeatureObject {
|
|
21
|
-
/**
|
|
22
|
-
*
|
|
23
|
-
* @type {string}
|
|
24
|
-
* @memberof FeatureObject
|
|
25
|
-
*/
|
|
26
|
-
id?: string;
|
|
27
|
-
/**
|
|
28
|
-
*
|
|
29
|
-
* @type {string}
|
|
30
|
-
* @memberof FeatureObject
|
|
31
|
-
*/
|
|
32
|
-
sharepointId?: string | null;
|
|
33
|
-
/**
|
|
34
|
-
*
|
|
35
|
-
* @type {string}
|
|
36
|
-
* @memberof FeatureObject
|
|
37
|
-
*/
|
|
38
|
-
en?: string | null;
|
|
39
|
-
/**
|
|
40
|
-
*
|
|
41
|
-
* @type {string}
|
|
42
|
-
* @memberof FeatureObject
|
|
43
|
-
*/
|
|
44
|
-
de?: string | null;
|
|
45
|
-
/**
|
|
46
|
-
*
|
|
47
|
-
* @type {boolean}
|
|
48
|
-
* @memberof FeatureObject
|
|
49
|
-
*/
|
|
50
|
-
activated?: boolean;
|
|
51
|
-
}
|
|
52
|
-
/**
|
|
53
|
-
* ActivatedFeaturesApi - axios parameter creator
|
|
54
|
-
* @export
|
|
55
|
-
*/
|
|
56
|
-
export declare const ActivatedFeaturesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
57
|
-
/**
|
|
58
|
-
*
|
|
59
|
-
* @summary Activates the feature of the project.
|
|
60
|
-
* @param {string} projectId Project for which the feature is activated
|
|
61
|
-
* @param {string} featureId Feature
|
|
62
|
-
* @param {*} [options] Override http request option.
|
|
63
|
-
* @throws {RequiredError}
|
|
64
|
-
*/
|
|
65
|
-
activatedFeaturesActivateFeature: (projectId: string, featureId: string, options?: any) => Promise<RequestArgs>;
|
|
66
|
-
/**
|
|
67
|
-
*
|
|
68
|
-
* @summary Deactives the feature of the project.
|
|
69
|
-
* @param {string} projectId Project for which the feature is deactivated
|
|
70
|
-
* @param {string} featureId Feature
|
|
71
|
-
* @param {*} [options] Override http request option.
|
|
72
|
-
* @throws {RequiredError}
|
|
73
|
-
*/
|
|
74
|
-
activatedFeaturesDeactivateFeature: (projectId: string, featureId: string, options?: any) => Promise<RequestArgs>;
|
|
75
|
-
/**
|
|
76
|
-
*
|
|
77
|
-
* @summary Returns activated features of the project.
|
|
78
|
-
* @param {string} projectId Project for which the activated features are returned
|
|
79
|
-
* @param {*} [options] Override http request option.
|
|
80
|
-
* @throws {RequiredError}
|
|
81
|
-
*/
|
|
82
|
-
activatedFeaturesGetActiveFeatures: (projectId: string, options?: any) => Promise<RequestArgs>;
|
|
83
|
-
/**
|
|
84
|
-
*
|
|
85
|
-
* @summary Returns features of the project.
|
|
86
|
-
* @param {string} projectId Project for which the features are returned
|
|
87
|
-
* @param {*} [options] Override http request option.
|
|
88
|
-
* @throws {RequiredError}
|
|
89
|
-
*/
|
|
90
|
-
activatedFeaturesGetFeatures: (projectId: string, options?: any) => Promise<RequestArgs>;
|
|
91
|
-
/**
|
|
92
|
-
*
|
|
93
|
-
* @summary Returns all available features.
|
|
94
|
-
* @param {*} [options] Override http request option.
|
|
95
|
-
* @throws {RequiredError}
|
|
96
|
-
*/
|
|
97
|
-
activatedFeaturesGetFeaturesAll: (options?: any) => Promise<RequestArgs>;
|
|
98
|
-
/**
|
|
99
|
-
*
|
|
100
|
-
* @summary Returns the inactive features of the project.
|
|
101
|
-
* @param {string} projectId Project for which the inactivate features are returned
|
|
102
|
-
* @param {*} [options] Override http request option.
|
|
103
|
-
* @throws {RequiredError}
|
|
104
|
-
*/
|
|
105
|
-
activatedFeaturesGetInactiveFeatures: (projectId: string, options?: any) => Promise<RequestArgs>;
|
|
106
|
-
};
|
|
107
|
-
/**
|
|
108
|
-
* ActivatedFeaturesApi - functional programming interface
|
|
109
|
-
* @export
|
|
110
|
-
*/
|
|
111
|
-
export declare const ActivatedFeaturesApiFp: (configuration?: Configuration) => {
|
|
112
|
-
/**
|
|
113
|
-
*
|
|
114
|
-
* @summary Activates the feature of the project.
|
|
115
|
-
* @param {string} projectId Project for which the feature is activated
|
|
116
|
-
* @param {string} featureId Feature
|
|
117
|
-
* @param {*} [options] Override http request option.
|
|
118
|
-
* @throws {RequiredError}
|
|
119
|
-
*/
|
|
120
|
-
activatedFeaturesActivateFeature(projectId: string, featureId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
|
|
121
|
-
/**
|
|
122
|
-
*
|
|
123
|
-
* @summary Deactives the feature of the project.
|
|
124
|
-
* @param {string} projectId Project for which the feature is deactivated
|
|
125
|
-
* @param {string} featureId Feature
|
|
126
|
-
* @param {*} [options] Override http request option.
|
|
127
|
-
* @throws {RequiredError}
|
|
128
|
-
*/
|
|
129
|
-
activatedFeaturesDeactivateFeature(projectId: string, featureId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
|
|
130
|
-
/**
|
|
131
|
-
*
|
|
132
|
-
* @summary Returns activated features of the project.
|
|
133
|
-
* @param {string} projectId Project for which the activated features are returned
|
|
134
|
-
* @param {*} [options] Override http request option.
|
|
135
|
-
* @throws {RequiredError}
|
|
136
|
-
*/
|
|
137
|
-
activatedFeaturesGetActiveFeatures(projectId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<FeatureObject>>>;
|
|
138
|
-
/**
|
|
139
|
-
*
|
|
140
|
-
* @summary Returns features of the project.
|
|
141
|
-
* @param {string} projectId Project for which the features are returned
|
|
142
|
-
* @param {*} [options] Override http request option.
|
|
143
|
-
* @throws {RequiredError}
|
|
144
|
-
*/
|
|
145
|
-
activatedFeaturesGetFeatures(projectId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<FeatureObject>>>;
|
|
146
|
-
/**
|
|
147
|
-
*
|
|
148
|
-
* @summary Returns all available features.
|
|
149
|
-
* @param {*} [options] Override http request option.
|
|
150
|
-
* @throws {RequiredError}
|
|
151
|
-
*/
|
|
152
|
-
activatedFeaturesGetFeaturesAll(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<FeatureObject>>>;
|
|
153
|
-
/**
|
|
154
|
-
*
|
|
155
|
-
* @summary Returns the inactive features of the project.
|
|
156
|
-
* @param {string} projectId Project for which the inactivate features are returned
|
|
157
|
-
* @param {*} [options] Override http request option.
|
|
158
|
-
* @throws {RequiredError}
|
|
159
|
-
*/
|
|
160
|
-
activatedFeaturesGetInactiveFeatures(projectId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<FeatureObject>>>;
|
|
161
|
-
};
|
|
162
|
-
/**
|
|
163
|
-
* ActivatedFeaturesApi - factory interface
|
|
164
|
-
* @export
|
|
165
|
-
*/
|
|
166
|
-
export declare const ActivatedFeaturesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
167
|
-
/**
|
|
168
|
-
*
|
|
169
|
-
* @summary Activates the feature of the project.
|
|
170
|
-
* @param {string} projectId Project for which the feature is activated
|
|
171
|
-
* @param {string} featureId Feature
|
|
172
|
-
* @param {*} [options] Override http request option.
|
|
173
|
-
* @throws {RequiredError}
|
|
174
|
-
*/
|
|
175
|
-
activatedFeaturesActivateFeature(projectId: string, featureId: string, options?: any): AxiosPromise<any>;
|
|
176
|
-
/**
|
|
177
|
-
*
|
|
178
|
-
* @summary Deactives the feature of the project.
|
|
179
|
-
* @param {string} projectId Project for which the feature is deactivated
|
|
180
|
-
* @param {string} featureId Feature
|
|
181
|
-
* @param {*} [options] Override http request option.
|
|
182
|
-
* @throws {RequiredError}
|
|
183
|
-
*/
|
|
184
|
-
activatedFeaturesDeactivateFeature(projectId: string, featureId: string, options?: any): AxiosPromise<any>;
|
|
185
|
-
/**
|
|
186
|
-
*
|
|
187
|
-
* @summary Returns activated features of the project.
|
|
188
|
-
* @param {string} projectId Project for which the activated features are returned
|
|
189
|
-
* @param {*} [options] Override http request option.
|
|
190
|
-
* @throws {RequiredError}
|
|
191
|
-
*/
|
|
192
|
-
activatedFeaturesGetActiveFeatures(projectId: string, options?: any): AxiosPromise<Array<FeatureObject>>;
|
|
193
|
-
/**
|
|
194
|
-
*
|
|
195
|
-
* @summary Returns features of the project.
|
|
196
|
-
* @param {string} projectId Project for which the features are returned
|
|
197
|
-
* @param {*} [options] Override http request option.
|
|
198
|
-
* @throws {RequiredError}
|
|
199
|
-
*/
|
|
200
|
-
activatedFeaturesGetFeatures(projectId: string, options?: any): AxiosPromise<Array<FeatureObject>>;
|
|
201
|
-
/**
|
|
202
|
-
*
|
|
203
|
-
* @summary Returns all available features.
|
|
204
|
-
* @param {*} [options] Override http request option.
|
|
205
|
-
* @throws {RequiredError}
|
|
206
|
-
*/
|
|
207
|
-
activatedFeaturesGetFeaturesAll(options?: any): AxiosPromise<Array<FeatureObject>>;
|
|
208
|
-
/**
|
|
209
|
-
*
|
|
210
|
-
* @summary Returns the inactive features of the project.
|
|
211
|
-
* @param {string} projectId Project for which the inactivate features are returned
|
|
212
|
-
* @param {*} [options] Override http request option.
|
|
213
|
-
* @throws {RequiredError}
|
|
214
|
-
*/
|
|
215
|
-
activatedFeaturesGetInactiveFeatures(projectId: string, options?: any): AxiosPromise<Array<FeatureObject>>;
|
|
216
|
-
};
|
|
217
|
-
/**
|
|
218
|
-
* ActivatedFeaturesApi - object-oriented interface
|
|
219
|
-
* @export
|
|
220
|
-
* @class ActivatedFeaturesApi
|
|
221
|
-
* @extends {BaseAPI}
|
|
222
|
-
*/
|
|
223
|
-
export declare class ActivatedFeaturesApi extends BaseAPI {
|
|
224
|
-
/**
|
|
225
|
-
*
|
|
226
|
-
* @summary Activates the feature of the project.
|
|
227
|
-
* @param {string} projectId Project for which the feature is activated
|
|
228
|
-
* @param {string} featureId Feature
|
|
229
|
-
* @param {*} [options] Override http request option.
|
|
230
|
-
* @throws {RequiredError}
|
|
231
|
-
* @memberof ActivatedFeaturesApi
|
|
232
|
-
*/
|
|
233
|
-
activatedFeaturesActivateFeature(projectId: string, featureId: string, options?: any): Promise<import("axios").AxiosResponse<any>>;
|
|
234
|
-
/**
|
|
235
|
-
*
|
|
236
|
-
* @summary Deactives the feature of the project.
|
|
237
|
-
* @param {string} projectId Project for which the feature is deactivated
|
|
238
|
-
* @param {string} featureId Feature
|
|
239
|
-
* @param {*} [options] Override http request option.
|
|
240
|
-
* @throws {RequiredError}
|
|
241
|
-
* @memberof ActivatedFeaturesApi
|
|
242
|
-
*/
|
|
243
|
-
activatedFeaturesDeactivateFeature(projectId: string, featureId: string, options?: any): Promise<import("axios").AxiosResponse<any>>;
|
|
244
|
-
/**
|
|
245
|
-
*
|
|
246
|
-
* @summary Returns activated features of the project.
|
|
247
|
-
* @param {string} projectId Project for which the activated features are returned
|
|
248
|
-
* @param {*} [options] Override http request option.
|
|
249
|
-
* @throws {RequiredError}
|
|
250
|
-
* @memberof ActivatedFeaturesApi
|
|
251
|
-
*/
|
|
252
|
-
activatedFeaturesGetActiveFeatures(projectId: string, options?: any): Promise<import("axios").AxiosResponse<FeatureObject[]>>;
|
|
253
|
-
/**
|
|
254
|
-
*
|
|
255
|
-
* @summary Returns features of the project.
|
|
256
|
-
* @param {string} projectId Project for which the features are returned
|
|
257
|
-
* @param {*} [options] Override http request option.
|
|
258
|
-
* @throws {RequiredError}
|
|
259
|
-
* @memberof ActivatedFeaturesApi
|
|
260
|
-
*/
|
|
261
|
-
activatedFeaturesGetFeatures(projectId: string, options?: any): Promise<import("axios").AxiosResponse<FeatureObject[]>>;
|
|
262
|
-
/**
|
|
263
|
-
*
|
|
264
|
-
* @summary Returns all available features.
|
|
265
|
-
* @param {*} [options] Override http request option.
|
|
266
|
-
* @throws {RequiredError}
|
|
267
|
-
* @memberof ActivatedFeaturesApi
|
|
268
|
-
*/
|
|
269
|
-
activatedFeaturesGetFeaturesAll(options?: any): Promise<import("axios").AxiosResponse<FeatureObject[]>>;
|
|
270
|
-
/**
|
|
271
|
-
*
|
|
272
|
-
* @summary Returns the inactive features of the project.
|
|
273
|
-
* @param {string} projectId Project for which the inactivate features are returned
|
|
274
|
-
* @param {*} [options] Override http request option.
|
|
275
|
-
* @throws {RequiredError}
|
|
276
|
-
* @memberof ActivatedFeaturesApi
|
|
277
|
-
*/
|
|
278
|
-
activatedFeaturesGetInactiveFeatures(projectId: string, options?: any): Promise<import("axios").AxiosResponse<FeatureObject[]>>;
|
|
279
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Coscine.Api.ActivatedFeatures
|
|
3
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 2.1.2
|
|
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 { Configuration } from "./configuration";
|
|
13
|
-
import { AxiosInstance } from 'axios';
|
|
14
|
-
export declare const BASE_PATH: string;
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
*/
|
|
19
|
-
export declare const COLLECTION_FORMATS: {
|
|
20
|
-
csv: string;
|
|
21
|
-
ssv: string;
|
|
22
|
-
tsv: string;
|
|
23
|
-
pipes: string;
|
|
24
|
-
};
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @export
|
|
28
|
-
* @interface RequestArgs
|
|
29
|
-
*/
|
|
30
|
-
export interface RequestArgs {
|
|
31
|
-
url: string;
|
|
32
|
-
options: any;
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @export
|
|
37
|
-
* @class BaseAPI
|
|
38
|
-
*/
|
|
39
|
-
export declare class BaseAPI {
|
|
40
|
-
protected basePath: string;
|
|
41
|
-
protected axios: AxiosInstance;
|
|
42
|
-
protected configuration: Configuration | undefined;
|
|
43
|
-
constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
*
|
|
47
|
-
* @export
|
|
48
|
-
* @class RequiredError
|
|
49
|
-
* @extends {Error}
|
|
50
|
-
*/
|
|
51
|
-
export declare class RequiredError extends Error {
|
|
52
|
-
field: string;
|
|
53
|
-
name: "RequiredError";
|
|
54
|
-
constructor(field: string, msg?: string);
|
|
55
|
-
}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Coscine.Api.ActivatedFeatures
|
|
3
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 2.1.2
|
|
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 { Configuration } from "./configuration";
|
|
13
|
-
import { RequestArgs } from "./base";
|
|
14
|
-
import { AxiosInstance } 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) => (axios?: AxiosInstance, basePath?: string) => Promise<import("axios").AxiosResponse<any>>;
|