@coscine/api-client 1.1.1 → 1.4.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 +615 -482
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +617 -481
- package/dist/index.umd.js.map +1 -1
- package/dist/lib/Coscine.Api.Metadata/api.js +9 -88
- package/dist/lib/Coscine.Api.Metadata/api.js.map +1 -1
- package/dist/lib/Coscine.Api.Metadata/base.js +1 -1
- package/dist/lib/Coscine.Api.Metadata/common.js +1 -1
- package/dist/lib/Coscine.Api.Metadata/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Metadata/index.js +1 -1
- package/dist/lib/Coscine.Api.Search/api.js +159 -0
- package/dist/lib/Coscine.Api.Search/api.js.map +1 -0
- package/dist/lib/Coscine.Api.Search/base.js +65 -0
- package/dist/lib/Coscine.Api.Search/base.js.map +1 -0
- package/dist/lib/Coscine.Api.Search/common.js +153 -0
- package/dist/lib/Coscine.Api.Search/common.js.map +1 -0
- package/dist/lib/Coscine.Api.Search/configuration.js +43 -0
- package/dist/lib/Coscine.Api.Search/configuration.js.map +1 -0
- package/dist/lib/Coscine.Api.Search/index.js +28 -0
- package/dist/lib/Coscine.Api.Search/index.js.map +1 -0
- package/dist/lib/apis.js +20 -11
- package/dist/lib/apis.js.map +1 -1
- package/dist/lib/axios-basic.js +36 -8
- package/dist/lib/axios-basic.js.map +1 -1
- package/dist/lib/index.js +4 -1
- package/dist/lib/index.js.map +1 -1
- package/dist/types/Coscine.Api.Metadata/api.d.ts +52 -55
- package/dist/types/Coscine.Api.Metadata/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Metadata/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Metadata/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Metadata/index.d.ts +1 -1
- package/dist/types/Coscine.Api.Search/api.d.ts +110 -0
- package/dist/types/Coscine.Api.Search/base.d.ts +55 -0
- package/dist/types/Coscine.Api.Search/common.d.ts +65 -0
- package/dist/types/Coscine.Api.Search/configuration.d.ts +83 -0
- package/dist/types/Coscine.Api.Search/index.d.ts +13 -0
- package/dist/types/apis.d.ts +7 -5
- package/dist/types/index.d.ts +17 -10
- package/package.json +2 -2
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Coscine.Api.Search
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.1.0
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"configuration.js","sourceRoot":"","sources":["../../../src/Coscine.Api.Search/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"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Coscine.Api.Search
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.1.0
|
|
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
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
18
|
+
}) : (function(o, m, k, k2) {
|
|
19
|
+
if (k2 === undefined) k2 = k;
|
|
20
|
+
o[k2] = m[k];
|
|
21
|
+
}));
|
|
22
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
23
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
__exportStar(require("./api"), exports);
|
|
27
|
+
__exportStar(require("./configuration"), exports);
|
|
28
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/Coscine.Api.Search/index.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;AAGH,wCAAsB;AACtB,kDAAgC"}
|
package/dist/lib/apis.js
CHANGED
|
@@ -18,16 +18,24 @@ const api_14 = require("./Coscine.Api.Project/api");
|
|
|
18
18
|
const api_15 = require("./Coscine.Api.Quota/api");
|
|
19
19
|
const api_16 = require("./Coscine.Api.Resources/api");
|
|
20
20
|
const api_17 = require("./Coscine.Api.Resources/api");
|
|
21
|
-
const api_18 = require("./Coscine.Api.
|
|
22
|
-
const api_19 = require("./Coscine.Api.
|
|
23
|
-
const api_20 = require("./Coscine.Api.
|
|
21
|
+
const api_18 = require("./Coscine.Api.Search/api");
|
|
22
|
+
const api_19 = require("./Coscine.Api.Token/api");
|
|
23
|
+
const api_20 = require("./Coscine.Api.Tree/api");
|
|
24
24
|
const api_21 = require("./Coscine.Api.User/api");
|
|
25
25
|
const api_22 = require("./Coscine.Api.User/api");
|
|
26
26
|
const api_23 = require("./Coscine.Api.User/api");
|
|
27
27
|
const api_24 = require("./Coscine.Api.User/api");
|
|
28
|
+
const api_25 = require("./Coscine.Api.User/api");
|
|
28
29
|
let accessToken = '';
|
|
29
30
|
if (typeof coscine !== 'undefined' && typeof coscine.authorization !== 'undefined') {
|
|
30
|
-
accessToken = coscine.authorization.bearer;
|
|
31
|
+
accessToken = 'Bearer ' + coscine.authorization.bearer;
|
|
32
|
+
}
|
|
33
|
+
if (typeof window !== 'undefined') {
|
|
34
|
+
// LocalStorage > Global Variables
|
|
35
|
+
const localStorageToken = localStorage.getItem('coscine.authorization.bearer');
|
|
36
|
+
if (localStorageToken) {
|
|
37
|
+
accessToken = 'Bearer ' + localStorageToken;
|
|
38
|
+
}
|
|
31
39
|
}
|
|
32
40
|
const getHostName = () => {
|
|
33
41
|
let hostName = typeof window !== 'undefined' ? window.location.hostname : 'coscine.rwth-aachen.de';
|
|
@@ -44,9 +52,9 @@ function implementations(axios) {
|
|
|
44
52
|
ActivatedFeaturesApi: (0, api_1.ActivatedFeaturesApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.ActivatedFeatures', axios),
|
|
45
53
|
AdminApi: (0, api_2.AdminApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Admin', axios),
|
|
46
54
|
BlobApi: (0, api_3.BlobApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Blob', axios),
|
|
47
|
-
ContactChangeApi: (0,
|
|
55
|
+
ContactChangeApi: (0, api_21.ContactChangeApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.User', axios),
|
|
48
56
|
DisciplineApi: (0, api_7.DisciplineApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios),
|
|
49
|
-
LanguageApi: (0,
|
|
57
|
+
LanguageApi: (0, api_22.LanguageApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.User', axios),
|
|
50
58
|
LicenseApi: (0, api_8.LicenseApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios),
|
|
51
59
|
MetadataApi: (0, api_4.MetadataApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Metadata', axios),
|
|
52
60
|
NoticeApi: (0, api_5.NoticeApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Notices', axios),
|
|
@@ -58,12 +66,13 @@ function implementations(axios) {
|
|
|
58
66
|
ResourceTypeApi: (0, api_17.ResourceTypeApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Resources', axios),
|
|
59
67
|
RoleApi: (0, api_11.RoleApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios),
|
|
60
68
|
SearchApi: (0, api_12.SearchApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios),
|
|
69
|
+
SemanticSearchApi: (0, api_18.SemanticSearchApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Search', axios),
|
|
61
70
|
SubProjectApi: (0, api_13.SubProjectApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios),
|
|
62
|
-
TitleApi: (0,
|
|
63
|
-
TokenApi: (0,
|
|
64
|
-
TOSApi: (0,
|
|
65
|
-
TreeApi: (0,
|
|
66
|
-
UserApi: (0,
|
|
71
|
+
TitleApi: (0, api_24.TitleApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.User', axios),
|
|
72
|
+
TokenApi: (0, api_19.TokenApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Token', axios),
|
|
73
|
+
TOSApi: (0, api_23.TOSApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.User', axios),
|
|
74
|
+
TreeApi: (0, api_20.TreeApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Tree', axios),
|
|
75
|
+
UserApi: (0, api_25.UserApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.User', axios),
|
|
67
76
|
VisibilityApi: (0, api_14.VisibilityApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios)
|
|
68
77
|
};
|
|
69
78
|
}
|
package/dist/lib/apis.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apis.js","sourceRoot":"","sources":["../../src/apis.ts"],"names":[],"mappings":";;AAEA,6DAAkF;AAClF,iFAA8E;AAC9E,iDAA0D;AAC1D,gDAAwD;AACxD,oDAAgE;AAChE,mDAA6D;AAC7D,wDAAwE;AACxE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AI,6BAAa,CAAC,EAAE,aAAa,EAAE,WAAW,EAAE,CAAC,EAAE,UAAU,GAAG,WAAW,EAAE,GAAG,+BAA+B,EAAE,KAAK,CAAC;QACjJ,QAAQ,EAAE,IAAA,sBAAe,EAAC,IAAI,6BAAa,CAAC,EAAE,aAAa,EAAE,WAAW,EAAE,CAAC,EAAE,UAAU,GAAG,WAAW,EAAE,GAAG,gCAAgC,EAAE,KAAK,CAAC;QAClJ,MAAM,EAAE,IAAA,oBAAa,EAAC,IAAI,6BAAa,CAAC,EAAE,aAAa,EAAE,WAAW,EAAE,CAAC,EAAE,UAAU,GAAG,WAAW,EAAE,GAAG,+BAA+B,EAAE,KAAK,CAAC;QAC7I,OAAO,EAAE,IAAA,qBAAc,EAAC,IAAI,6BAAa,CAAC,EAAE,aAAa,EAAE,WAAW,EAAE,CAAC,EAAE,UAAU,GAAG,WAAW,EAAE,GAAG,+BAA+B,EAAE,KAAK,CAAC;QAC/I,OAAO,EAAE,IAAA,qBAAc,EAAC,IAAI,6BAAa,CAAC,EAAE,aAAa,EAAE,WAAW,EAAE,CAAC,EAAE,UAAU,GAAG,WAAW,EAAE,GAAG,+BAA+B,EAAE,KAAK,CAAC;QAC/I,aAAa,EAAE,IAAA,2BAAoB,EAAC,IAAI,6BAAa,CAAC,EAAE,aAAa,EAAE,WAAW,EAAE,CAAC,EAAE,UAAU,GAAG,WAAW,EAAE,GAAG,kCAAkC,EAAE,KAAK,CAAC;KAC/J,CAAC;AACJ,CAAC;AAAA,CAAC;AAEF,kBAAe,eAAe,CAAC"}
|
package/dist/lib/axios-basic.js
CHANGED
|
@@ -17,26 +17,54 @@ function setHeader(request) {
|
|
|
17
17
|
request.headers.common[clientCorrolationIdKey] = coscine.clientcorrolation.id;
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
|
+
if (typeof window !== 'undefined') {
|
|
21
|
+
// LocalStorage > Global Variables
|
|
22
|
+
const localStorageToken = localStorage.getItem("coscine.authorization.bearer");
|
|
23
|
+
if (localStorageToken) {
|
|
24
|
+
request.headers.common[authHeaderKey] =
|
|
25
|
+
'Bearer ' + localStorageToken;
|
|
26
|
+
}
|
|
27
|
+
const localStorageClientCorrelation = localStorage.getItem("coscine.clientcorrolation.id");
|
|
28
|
+
if (localStorageClientCorrelation) {
|
|
29
|
+
request.headers.common[clientCorrolationIdKey] = localStorageClientCorrelation;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
20
32
|
}
|
|
21
33
|
;
|
|
22
|
-
|
|
23
|
-
setHeader(request);
|
|
34
|
+
function increaseLoading() {
|
|
24
35
|
if ((typeof coscine !== "undefined") && (typeof coscine.loading !== "undefined") && (typeof coscine.loading.counter !== "undefined")) {
|
|
25
36
|
coscine.loading.counter++;
|
|
26
37
|
}
|
|
38
|
+
if (typeof window !== 'undefined') {
|
|
39
|
+
const localStorageLoading = localStorage.getItem("coscine.loading.counter");
|
|
40
|
+
if (localStorageLoading) {
|
|
41
|
+
localStorage.setItem("coscine.loading.counter", String(Number(localStorageLoading) + 1));
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
function decreaseLoading() {
|
|
46
|
+
if ((typeof coscine !== "undefined") && (typeof coscine.loading !== "undefined") && (typeof coscine.loading.counter !== "undefined")) {
|
|
47
|
+
coscine.loading.counter--;
|
|
48
|
+
}
|
|
49
|
+
if (typeof window !== 'undefined') {
|
|
50
|
+
const localStorageLoading = localStorage.getItem("coscine.loading.counter");
|
|
51
|
+
if (localStorageLoading) {
|
|
52
|
+
localStorage.setItem("coscine.loading.counter", String(Number(localStorageLoading) - 1));
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
instance.interceptors.request.use((request) => {
|
|
57
|
+
setHeader(request);
|
|
58
|
+
increaseLoading();
|
|
27
59
|
return request;
|
|
28
60
|
}, (error) => {
|
|
29
61
|
return Promise.reject(error);
|
|
30
62
|
});
|
|
31
63
|
instance.interceptors.response.use((response) => {
|
|
32
|
-
|
|
33
|
-
coscine.loading.counter--;
|
|
34
|
-
}
|
|
64
|
+
decreaseLoading();
|
|
35
65
|
return response;
|
|
36
66
|
}, (error) => {
|
|
37
|
-
|
|
38
|
-
coscine.loading.counter--;
|
|
39
|
-
}
|
|
67
|
+
decreaseLoading();
|
|
40
68
|
return Promise.reject(error);
|
|
41
69
|
});
|
|
42
70
|
exports.default = instance;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"axios-basic.js","sourceRoot":"","sources":["../../src/axios-basic.ts"],"names":[],"mappings":";;;;;AAAA,kDAAkD;AAElD,MAAM,QAAQ,GAAG,eAAK,CAAC,MAAM,EAAE,CAAC;AAEhC,MAAM,aAAa,GAAG,eAAe,CAAC;AACtC,MAAM,sBAAsB,GAAG,iCAAiC,CAAC;AAEjE,SAAS,SAAS,CAAC,OAA2B;IAC5C,IAAI,OAAO,OAAO,KAAK,WAAW,EAAE;QAClC,IAAI,OAAO,OAAO,CAAC,aAAa,KAAK,WAAW,EAAE;YAChD,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC,aAAa,CAAC;gBACnC,SAAS,GAAG,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC;SAC5C;QACD,IAAI,OAAO,OAAO,CAAC,iBAAiB,KAAK,WAAW,EAAE;YACpD,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC,sBAAsB,CAAC,GAAG,OAAO,CAAC,iBAAiB,CAAC,EAAE,CAAC;SAC/E;KACF;
|
|
1
|
+
{"version":3,"file":"axios-basic.js","sourceRoot":"","sources":["../../src/axios-basic.ts"],"names":[],"mappings":";;;;;AAAA,kDAAkD;AAElD,MAAM,QAAQ,GAAG,eAAK,CAAC,MAAM,EAAE,CAAC;AAEhC,MAAM,aAAa,GAAG,eAAe,CAAC;AACtC,MAAM,sBAAsB,GAAG,iCAAiC,CAAC;AAEjE,SAAS,SAAS,CAAC,OAA2B;IAC5C,IAAI,OAAO,OAAO,KAAK,WAAW,EAAE;QAClC,IAAI,OAAO,O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ault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.VisibilityApi = exports.UserApi = exports.TreeApi = exports.TOSApi = exports.TokenApi = exports.TitleApi = exports.SubProjectApi = exports.SearchApi = exports.RoleApi = exports.ResourceTypeApi = exports.ResourceApi = exports.QuotaApi = exports.ProjectRoleApi = exports.ProjectApi = exports.OrganizationApi = exports.NoticeApi = exports.MetadataApi = exports.LicenseApi = exports.LanguageApi = exports.DisciplineApi = exports.ContactChangeApi = exports.BlobApi = exports.AdminApi = exports.ActivatedFeaturesApi = void 0;
|
|
6
|
+
exports.VisibilityApi = exports.UserApi = exports.TreeApi = exports.TOSApi = exports.TokenApi = exports.TitleApi = exports.SubProjectApi = exports.SemanticSearchApi = exports.SearchApi = exports.RoleApi = exports.ResourceTypeApi = exports.ResourceApi = exports.QuotaApi = exports.ProjectRoleApi = exports.ProjectApi = exports.OrganizationApi = exports.NoticeApi = exports.MetadataApi = exports.LicenseApi = exports.LanguageApi = exports.DisciplineApi = exports.ContactChangeApi = exports.BlobApi = exports.AdminApi = exports.ActivatedFeaturesApi = exports.axiosInstance = exports.apiImplementations = void 0;
|
|
7
7
|
const apis_1 = __importDefault(require("./apis"));
|
|
8
|
+
exports.apiImplementations = apis_1.default;
|
|
8
9
|
const axios_basic_1 = __importDefault(require("./axios-basic"));
|
|
10
|
+
exports.axiosInstance = axios_basic_1.default;
|
|
9
11
|
const apis = (0, apis_1.default)(axios_basic_1.default);
|
|
10
12
|
exports.ActivatedFeaturesApi = apis.ActivatedFeaturesApi;
|
|
11
13
|
exports.AdminApi = apis.AdminApi;
|
|
@@ -24,6 +26,7 @@ exports.ResourceApi = apis.ResourceApi;
|
|
|
24
26
|
exports.ResourceTypeApi = apis.ResourceTypeApi;
|
|
25
27
|
exports.RoleApi = apis.RoleApi;
|
|
26
28
|
exports.SearchApi = apis.SearchApi;
|
|
29
|
+
exports.SemanticSearchApi = apis.SemanticSearchApi;
|
|
27
30
|
exports.SubProjectApi = apis.SubProjectApi;
|
|
28
31
|
exports.TitleApi = apis.TitleApi;
|
|
29
32
|
exports.TokenApi = apis.TokenApi;
|
package/dist/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;AAAA,kDAAqC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;AAAA,kDAAqC;AAGT,6BAHrB,cAAe,CAGwB;AAF9C,gEAAqC;AAEuB,wBAFrD,qBAAQ,CAE0D;AAEzE,MAAM,IAAI,GAAG,IAAA,cAAe,EAAC,qBAAQ,CAAC,CAAC;AAE1B,QAAA,oBAAoB,GAAG,IAAI,CAAC,oBAAoB,CAAC;AACjD,QAAA,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC;AACzB,QAAA,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC;AACvB,QAAA,gBAAgB,GAAG,IAAI,CAAC,gBAAgB,CAAC;AACzC,QAAA,aAAa,GAAG,IAAI,CAAC,aAAa,CAAC;AACnC,QAAA,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC;AAC/B,QAAA,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC;AAC7B,QAAA,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC;AAC/B,QAAA,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;AAC3B,QAAA,eAAe,GAAG,IAAI,CAAC,eAAe,CAAC;AACvC,QAAA,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC;AAC7B,QAAA,cAAc,GAAG,IAAI,CAAC,cAAc,CAAC;AACrC,QAAA,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC;AACzB,QAAA,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC;AAC/B,QAAA,eAAe,GAAG,IAAI,CAAC,eAAe,CAAC;AACvC,QAAA,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC;AACvB,QAAA,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;AAC3B,QAAA,iBAAiB,GAAG,IAAI,CAAC,iBAAiB,CAAC;AAC3C,QAAA,aAAa,GAAG,IAAI,CAAC,aAAa,CAAC;AACnC,QAAA,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC;AACzB,QAAA,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC;AACzB,QAAA,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;AACrB,QAAA,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC;AACvB,QAAA,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC;AACvB,QAAA,aAAa,GAAG,IAAI,CAAC,aAAa,CAAC;AAEhD,kBAAe,IAAI,CAAC"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Coscine.Api.Metadata
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 2.
|
|
5
|
+
* The version of the OpenAPI document: 2.2.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -44,28 +44,56 @@ export interface ApplicationProfile {
|
|
|
44
44
|
mimeType?: string | null;
|
|
45
45
|
}
|
|
46
46
|
/**
|
|
47
|
-
*
|
|
47
|
+
* Bilingual labels
|
|
48
48
|
* @export
|
|
49
|
+
* @interface BilingualLabels
|
|
49
50
|
*/
|
|
50
|
-
export
|
|
51
|
+
export interface BilingualLabels {
|
|
51
52
|
/**
|
|
52
|
-
*
|
|
53
|
-
* @
|
|
54
|
-
* @
|
|
55
|
-
* @param {string} resourceId Id of the resource
|
|
56
|
-
* @param {*} [options] Override http request option.
|
|
57
|
-
* @throws {RequiredError}
|
|
53
|
+
* English labels
|
|
54
|
+
* @type {Array<Label>}
|
|
55
|
+
* @memberof BilingualLabels
|
|
58
56
|
*/
|
|
59
|
-
|
|
57
|
+
en?: Array<Label> | null;
|
|
58
|
+
/**
|
|
59
|
+
* German labels
|
|
60
|
+
* @type {Array<Label>}
|
|
61
|
+
* @memberof BilingualLabels
|
|
62
|
+
*/
|
|
63
|
+
de?: Array<Label> | null;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Label of a vocabulary entry
|
|
67
|
+
* @export
|
|
68
|
+
* @interface Label
|
|
69
|
+
*/
|
|
70
|
+
export interface Label {
|
|
71
|
+
/**
|
|
72
|
+
* Name of the application profile
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof Label
|
|
75
|
+
*/
|
|
76
|
+
name?: string | null;
|
|
77
|
+
/**
|
|
78
|
+
* Name of the application profile
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof Label
|
|
81
|
+
*/
|
|
82
|
+
value?: string | null;
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* MetadataApi - axios parameter creator
|
|
86
|
+
* @export
|
|
87
|
+
*/
|
|
88
|
+
export declare const MetadataApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
60
89
|
/**
|
|
61
90
|
*
|
|
62
91
|
* @summary This method returns instances.
|
|
63
|
-
* @param {string} projectId Id of the project
|
|
64
92
|
* @param {string} className class name
|
|
65
93
|
* @param {*} [options] Override http request option.
|
|
66
94
|
* @throws {RequiredError}
|
|
67
95
|
*/
|
|
68
|
-
metadataGetClassInstances: (
|
|
96
|
+
metadataGetClassInstances: (className: string, options?: any) => Promise<RequestArgs>;
|
|
69
97
|
/**
|
|
70
98
|
*
|
|
71
99
|
* @summary This method returns the application profile for the given profileUrl.
|
|
@@ -110,24 +138,14 @@ export declare const MetadataApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
110
138
|
* @export
|
|
111
139
|
*/
|
|
112
140
|
export declare const MetadataApiFp: (configuration?: Configuration) => {
|
|
113
|
-
/**
|
|
114
|
-
*
|
|
115
|
-
* @summary Returns the application profile with the fixed values for the given resource.
|
|
116
|
-
* @param {string} profile Url of the application profile
|
|
117
|
-
* @param {string} resourceId Id of the resource
|
|
118
|
-
* @param {*} [options] Override http request option.
|
|
119
|
-
* @throws {RequiredError}
|
|
120
|
-
*/
|
|
121
|
-
metadataGetApplicationProfileComplete(profile: string, resourceId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
|
|
122
141
|
/**
|
|
123
142
|
*
|
|
124
143
|
* @summary This method returns instances.
|
|
125
|
-
* @param {string} projectId Id of the project
|
|
126
144
|
* @param {string} className class name
|
|
127
145
|
* @param {*} [options] Override http request option.
|
|
128
146
|
* @throws {RequiredError}
|
|
129
147
|
*/
|
|
130
|
-
metadataGetClassInstances(
|
|
148
|
+
metadataGetClassInstances(className: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BilingualLabels>>;
|
|
131
149
|
/**
|
|
132
150
|
*
|
|
133
151
|
* @summary This method returns the application profile for the given profileUrl.
|
|
@@ -142,14 +160,14 @@ export declare const MetadataApiFp: (configuration?: Configuration) => {
|
|
|
142
160
|
* @param {*} [options] Override http request option.
|
|
143
161
|
* @throws {RequiredError}
|
|
144
162
|
*/
|
|
145
|
-
metadataGetProfiles(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
163
|
+
metadataGetProfiles(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>>;
|
|
146
164
|
/**
|
|
147
165
|
*
|
|
148
166
|
* @summary This method returns a list of all vocabularies.
|
|
149
167
|
* @param {*} [options] Override http request option.
|
|
150
168
|
* @throws {RequiredError}
|
|
151
169
|
*/
|
|
152
|
-
metadataGetVocabularies(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
170
|
+
metadataGetVocabularies(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>>;
|
|
153
171
|
/**
|
|
154
172
|
*
|
|
155
173
|
* @summary This method returns a specific vocabulary.
|
|
@@ -157,7 +175,7 @@ export declare const MetadataApiFp: (configuration?: Configuration) => {
|
|
|
157
175
|
* @param {*} [options] Override http request option.
|
|
158
176
|
* @throws {RequiredError}
|
|
159
177
|
*/
|
|
160
|
-
metadataGetVocabulary(path: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
178
|
+
metadataGetVocabulary(path: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BilingualLabels>>;
|
|
161
179
|
/**
|
|
162
180
|
*
|
|
163
181
|
* @summary Create a request for storing a given application profile.
|
|
@@ -172,24 +190,14 @@ export declare const MetadataApiFp: (configuration?: Configuration) => {
|
|
|
172
190
|
* @export
|
|
173
191
|
*/
|
|
174
192
|
export declare const MetadataApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
175
|
-
/**
|
|
176
|
-
*
|
|
177
|
-
* @summary Returns the application profile with the fixed values for the given resource.
|
|
178
|
-
* @param {string} profile Url of the application profile
|
|
179
|
-
* @param {string} resourceId Id of the resource
|
|
180
|
-
* @param {*} [options] Override http request option.
|
|
181
|
-
* @throws {RequiredError}
|
|
182
|
-
*/
|
|
183
|
-
metadataGetApplicationProfileComplete(profile: string, resourceId: string, options?: any): AxiosPromise<any>;
|
|
184
193
|
/**
|
|
185
194
|
*
|
|
186
195
|
* @summary This method returns instances.
|
|
187
|
-
* @param {string} projectId Id of the project
|
|
188
196
|
* @param {string} className class name
|
|
189
197
|
* @param {*} [options] Override http request option.
|
|
190
198
|
* @throws {RequiredError}
|
|
191
199
|
*/
|
|
192
|
-
metadataGetClassInstances(
|
|
200
|
+
metadataGetClassInstances(className: string, options?: any): AxiosPromise<BilingualLabels>;
|
|
193
201
|
/**
|
|
194
202
|
*
|
|
195
203
|
* @summary This method returns the application profile for the given profileUrl.
|
|
@@ -204,14 +212,14 @@ export declare const MetadataApiFactory: (configuration?: Configuration, basePat
|
|
|
204
212
|
* @param {*} [options] Override http request option.
|
|
205
213
|
* @throws {RequiredError}
|
|
206
214
|
*/
|
|
207
|
-
metadataGetProfiles(options?: any): AxiosPromise<
|
|
215
|
+
metadataGetProfiles(options?: any): AxiosPromise<Array<string>>;
|
|
208
216
|
/**
|
|
209
217
|
*
|
|
210
218
|
* @summary This method returns a list of all vocabularies.
|
|
211
219
|
* @param {*} [options] Override http request option.
|
|
212
220
|
* @throws {RequiredError}
|
|
213
221
|
*/
|
|
214
|
-
metadataGetVocabularies(options?: any): AxiosPromise<
|
|
222
|
+
metadataGetVocabularies(options?: any): AxiosPromise<Array<string>>;
|
|
215
223
|
/**
|
|
216
224
|
*
|
|
217
225
|
* @summary This method returns a specific vocabulary.
|
|
@@ -219,7 +227,7 @@ export declare const MetadataApiFactory: (configuration?: Configuration, basePat
|
|
|
219
227
|
* @param {*} [options] Override http request option.
|
|
220
228
|
* @throws {RequiredError}
|
|
221
229
|
*/
|
|
222
|
-
metadataGetVocabulary(path: string, options?: any): AxiosPromise<
|
|
230
|
+
metadataGetVocabulary(path: string, options?: any): AxiosPromise<BilingualLabels>;
|
|
223
231
|
/**
|
|
224
232
|
*
|
|
225
233
|
* @summary Create a request for storing a given application profile.
|
|
@@ -236,26 +244,15 @@ export declare const MetadataApiFactory: (configuration?: Configuration, basePat
|
|
|
236
244
|
* @extends {BaseAPI}
|
|
237
245
|
*/
|
|
238
246
|
export declare class MetadataApi extends BaseAPI {
|
|
239
|
-
/**
|
|
240
|
-
*
|
|
241
|
-
* @summary Returns the application profile with the fixed values for the given resource.
|
|
242
|
-
* @param {string} profile Url of the application profile
|
|
243
|
-
* @param {string} resourceId Id of the resource
|
|
244
|
-
* @param {*} [options] Override http request option.
|
|
245
|
-
* @throws {RequiredError}
|
|
246
|
-
* @memberof MetadataApi
|
|
247
|
-
*/
|
|
248
|
-
metadataGetApplicationProfileComplete(profile: string, resourceId: string, options?: any): Promise<import("axios").AxiosResponse<any>>;
|
|
249
247
|
/**
|
|
250
248
|
*
|
|
251
249
|
* @summary This method returns instances.
|
|
252
|
-
* @param {string} projectId Id of the project
|
|
253
250
|
* @param {string} className class name
|
|
254
251
|
* @param {*} [options] Override http request option.
|
|
255
252
|
* @throws {RequiredError}
|
|
256
253
|
* @memberof MetadataApi
|
|
257
254
|
*/
|
|
258
|
-
metadataGetClassInstances(
|
|
255
|
+
metadataGetClassInstances(className: string, options?: any): Promise<import("axios").AxiosResponse<BilingualLabels>>;
|
|
259
256
|
/**
|
|
260
257
|
*
|
|
261
258
|
* @summary This method returns the application profile for the given profileUrl.
|
|
@@ -272,7 +269,7 @@ export declare class MetadataApi extends BaseAPI {
|
|
|
272
269
|
* @throws {RequiredError}
|
|
273
270
|
* @memberof MetadataApi
|
|
274
271
|
*/
|
|
275
|
-
metadataGetProfiles(options?: any): Promise<import("axios").AxiosResponse<
|
|
272
|
+
metadataGetProfiles(options?: any): Promise<import("axios").AxiosResponse<string[]>>;
|
|
276
273
|
/**
|
|
277
274
|
*
|
|
278
275
|
* @summary This method returns a list of all vocabularies.
|
|
@@ -280,7 +277,7 @@ export declare class MetadataApi extends BaseAPI {
|
|
|
280
277
|
* @throws {RequiredError}
|
|
281
278
|
* @memberof MetadataApi
|
|
282
279
|
*/
|
|
283
|
-
metadataGetVocabularies(options?: any): Promise<import("axios").AxiosResponse<
|
|
280
|
+
metadataGetVocabularies(options?: any): Promise<import("axios").AxiosResponse<string[]>>;
|
|
284
281
|
/**
|
|
285
282
|
*
|
|
286
283
|
* @summary This method returns a specific vocabulary.
|
|
@@ -289,7 +286,7 @@ export declare class MetadataApi extends BaseAPI {
|
|
|
289
286
|
* @throws {RequiredError}
|
|
290
287
|
* @memberof MetadataApi
|
|
291
288
|
*/
|
|
292
|
-
metadataGetVocabulary(path: string, options?: any): Promise<import("axios").AxiosResponse<
|
|
289
|
+
metadataGetVocabulary(path: string, options?: any): Promise<import("axios").AxiosResponse<BilingualLabels>>;
|
|
293
290
|
/**
|
|
294
291
|
*
|
|
295
292
|
* @summary Create a request for storing a given application profile.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Coscine.Api.Metadata
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 2.
|
|
5
|
+
* The version of the OpenAPI document: 2.2.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Coscine.Api.Metadata
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 2.
|
|
5
|
+
* The version of the OpenAPI document: 2.2.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Coscine.Api.Metadata
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 2.
|
|
5
|
+
* The version of the OpenAPI document: 2.2.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Coscine.Api.Metadata
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 2.
|
|
5
|
+
* The version of the OpenAPI document: 2.2.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|