@coscine/api-client 2.12.0 → 3.1.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/README.md +5 -1
- package/dist/index.js +4603 -4213
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +4611 -4220
- package/dist/index.umd.js.map +1 -1
- package/dist/lib/Coscine.Api/api.js +7682 -0
- package/dist/lib/Coscine.Api/api.js.map +1 -0
- package/dist/lib/{Coscine.Api.Notices → Coscine.Api}/base.js +5 -5
- package/dist/lib/Coscine.Api/base.js.map +1 -0
- package/dist/lib/{Coscine.Api.Blob → Coscine.Api}/common.js +4 -4
- package/dist/lib/Coscine.Api/common.js.map +1 -0
- package/dist/lib/{Coscine.Api.Blob → Coscine.Api}/configuration.js +4 -4
- package/dist/lib/Coscine.Api/configuration.js.map +1 -0
- package/dist/lib/{Coscine.Api.Organization → Coscine.Api}/index.js +4 -4
- package/dist/lib/Coscine.Api/index.js.map +1 -0
- package/dist/lib/apis.js +65 -63
- package/dist/lib/apis.js.map +1 -1
- package/dist/lib/index.js +10 -9
- package/dist/lib/index.js.map +1 -1
- package/dist/types/Coscine.Api/api.d.ts +7872 -0
- package/dist/types/{Coscine.Api.Organization → Coscine.Api}/base.d.ts +4 -4
- package/dist/types/{Coscine.Api.Notices → Coscine.Api}/common.d.ts +4 -4
- package/dist/types/{Coscine.Api.Blob → Coscine.Api}/configuration.d.ts +4 -4
- package/dist/types/Coscine.Api/index.d.ts +13 -0
- package/dist/types/apis.d.ts +114 -93
- package/dist/types/index.d.ts +229 -187
- package/package.json +3 -3
- package/dist/lib/Coscine.Api.Blob/api.js +0 -301
- package/dist/lib/Coscine.Api.Blob/api.js.map +0 -1
- package/dist/lib/Coscine.Api.Blob/base.js +0 -65
- package/dist/lib/Coscine.Api.Blob/base.js.map +0 -1
- package/dist/lib/Coscine.Api.Blob/common.js.map +0 -1
- package/dist/lib/Coscine.Api.Blob/configuration.js.map +0 -1
- package/dist/lib/Coscine.Api.Blob/index.js +0 -32
- package/dist/lib/Coscine.Api.Blob/index.js.map +0 -1
- package/dist/lib/Coscine.Api.Metadata/api.js +0 -450
- package/dist/lib/Coscine.Api.Metadata/api.js.map +0 -1
- package/dist/lib/Coscine.Api.Metadata/base.js +0 -65
- package/dist/lib/Coscine.Api.Metadata/base.js.map +0 -1
- package/dist/lib/Coscine.Api.Metadata/common.js +0 -153
- package/dist/lib/Coscine.Api.Metadata/common.js.map +0 -1
- package/dist/lib/Coscine.Api.Metadata/configuration.js +0 -43
- package/dist/lib/Coscine.Api.Metadata/configuration.js.map +0 -1
- package/dist/lib/Coscine.Api.Metadata/index.js +0 -32
- package/dist/lib/Coscine.Api.Metadata/index.js.map +0 -1
- package/dist/lib/Coscine.Api.Notices/api.js +0 -207
- package/dist/lib/Coscine.Api.Notices/api.js.map +0 -1
- package/dist/lib/Coscine.Api.Notices/base.js.map +0 -1
- package/dist/lib/Coscine.Api.Notices/common.js +0 -153
- package/dist/lib/Coscine.Api.Notices/common.js.map +0 -1
- package/dist/lib/Coscine.Api.Notices/configuration.js +0 -43
- package/dist/lib/Coscine.Api.Notices/configuration.js.map +0 -1
- package/dist/lib/Coscine.Api.Notices/index.js +0 -32
- package/dist/lib/Coscine.Api.Notices/index.js.map +0 -1
- package/dist/lib/Coscine.Api.Organization/api.js +0 -398
- package/dist/lib/Coscine.Api.Organization/api.js.map +0 -1
- package/dist/lib/Coscine.Api.Organization/base.js +0 -65
- package/dist/lib/Coscine.Api.Organization/base.js.map +0 -1
- package/dist/lib/Coscine.Api.Organization/common.js +0 -153
- package/dist/lib/Coscine.Api.Organization/common.js.map +0 -1
- package/dist/lib/Coscine.Api.Organization/configuration.js +0 -43
- package/dist/lib/Coscine.Api.Organization/configuration.js.map +0 -1
- package/dist/lib/Coscine.Api.Organization/index.js.map +0 -1
- package/dist/lib/Coscine.Api.Pid/api.js +0 -204
- package/dist/lib/Coscine.Api.Pid/api.js.map +0 -1
- package/dist/lib/Coscine.Api.Pid/base.js +0 -65
- package/dist/lib/Coscine.Api.Pid/base.js.map +0 -1
- package/dist/lib/Coscine.Api.Pid/common.js +0 -153
- package/dist/lib/Coscine.Api.Pid/common.js.map +0 -1
- package/dist/lib/Coscine.Api.Pid/configuration.js +0 -43
- package/dist/lib/Coscine.Api.Pid/configuration.js.map +0 -1
- package/dist/lib/Coscine.Api.Pid/index.js +0 -32
- package/dist/lib/Coscine.Api.Pid/index.js.map +0 -1
- package/dist/lib/Coscine.Api.Project/api.js +0 -2117
- package/dist/lib/Coscine.Api.Project/api.js.map +0 -1
- package/dist/lib/Coscine.Api.Project/base.js +0 -65
- package/dist/lib/Coscine.Api.Project/base.js.map +0 -1
- package/dist/lib/Coscine.Api.Project/common.js +0 -153
- package/dist/lib/Coscine.Api.Project/common.js.map +0 -1
- package/dist/lib/Coscine.Api.Project/configuration.js +0 -43
- package/dist/lib/Coscine.Api.Project/configuration.js.map +0 -1
- package/dist/lib/Coscine.Api.Project/index.js +0 -32
- package/dist/lib/Coscine.Api.Project/index.js.map +0 -1
- package/dist/lib/Coscine.Api.Resources/api.js +0 -1307
- package/dist/lib/Coscine.Api.Resources/api.js.map +0 -1
- package/dist/lib/Coscine.Api.Resources/base.js +0 -65
- package/dist/lib/Coscine.Api.Resources/base.js.map +0 -1
- package/dist/lib/Coscine.Api.Resources/common.js +0 -153
- package/dist/lib/Coscine.Api.Resources/common.js.map +0 -1
- package/dist/lib/Coscine.Api.Resources/configuration.js +0 -43
- package/dist/lib/Coscine.Api.Resources/configuration.js.map +0 -1
- package/dist/lib/Coscine.Api.Resources/index.js +0 -32
- package/dist/lib/Coscine.Api.Resources/index.js.map +0 -1
- package/dist/lib/Coscine.Api.Token/api.js +0 -385
- package/dist/lib/Coscine.Api.Token/api.js.map +0 -1
- package/dist/lib/Coscine.Api.Token/base.js +0 -65
- package/dist/lib/Coscine.Api.Token/base.js.map +0 -1
- package/dist/lib/Coscine.Api.Token/common.js +0 -153
- package/dist/lib/Coscine.Api.Token/common.js.map +0 -1
- package/dist/lib/Coscine.Api.Token/configuration.js +0 -43
- package/dist/lib/Coscine.Api.Token/configuration.js.map +0 -1
- package/dist/lib/Coscine.Api.Token/index.js +0 -32
- package/dist/lib/Coscine.Api.Token/index.js.map +0 -1
- package/dist/lib/Coscine.Api.Tree/api.js +0 -231
- package/dist/lib/Coscine.Api.Tree/api.js.map +0 -1
- package/dist/lib/Coscine.Api.Tree/base.js +0 -65
- package/dist/lib/Coscine.Api.Tree/base.js.map +0 -1
- package/dist/lib/Coscine.Api.Tree/common.js +0 -153
- package/dist/lib/Coscine.Api.Tree/common.js.map +0 -1
- package/dist/lib/Coscine.Api.Tree/configuration.js +0 -43
- package/dist/lib/Coscine.Api.Tree/configuration.js.map +0 -1
- package/dist/lib/Coscine.Api.Tree/index.js +0 -32
- package/dist/lib/Coscine.Api.Tree/index.js.map +0 -1
- package/dist/lib/Coscine.Api.User/api.js +0 -965
- package/dist/lib/Coscine.Api.User/api.js.map +0 -1
- package/dist/lib/Coscine.Api.User/base.js +0 -65
- package/dist/lib/Coscine.Api.User/base.js.map +0 -1
- package/dist/lib/Coscine.Api.User/common.js +0 -153
- package/dist/lib/Coscine.Api.User/common.js.map +0 -1
- package/dist/lib/Coscine.Api.User/configuration.js +0 -43
- package/dist/lib/Coscine.Api.User/configuration.js.map +0 -1
- package/dist/lib/Coscine.Api.User/index.js +0 -32
- package/dist/lib/Coscine.Api.User/index.js.map +0 -1
- package/dist/types/Coscine.Api.Blob/api.d.ts +0 -155
- package/dist/types/Coscine.Api.Blob/base.d.ts +0 -55
- package/dist/types/Coscine.Api.Blob/common.d.ts +0 -65
- package/dist/types/Coscine.Api.Blob/index.d.ts +0 -13
- package/dist/types/Coscine.Api.Metadata/api.d.ts +0 -299
- package/dist/types/Coscine.Api.Metadata/base.d.ts +0 -55
- package/dist/types/Coscine.Api.Metadata/common.d.ts +0 -65
- package/dist/types/Coscine.Api.Metadata/configuration.d.ts +0 -83
- package/dist/types/Coscine.Api.Metadata/index.d.ts +0 -13
- package/dist/types/Coscine.Api.Notices/api.d.ts +0 -153
- package/dist/types/Coscine.Api.Notices/base.d.ts +0 -55
- package/dist/types/Coscine.Api.Notices/configuration.d.ts +0 -83
- package/dist/types/Coscine.Api.Notices/index.d.ts +0 -13
- package/dist/types/Coscine.Api.Organization/api.d.ts +0 -256
- package/dist/types/Coscine.Api.Organization/common.d.ts +0 -65
- package/dist/types/Coscine.Api.Organization/configuration.d.ts +0 -83
- package/dist/types/Coscine.Api.Organization/index.d.ts +0 -13
- package/dist/types/Coscine.Api.Pid/api.d.ts +0 -149
- package/dist/types/Coscine.Api.Pid/base.d.ts +0 -55
- package/dist/types/Coscine.Api.Pid/common.d.ts +0 -65
- package/dist/types/Coscine.Api.Pid/configuration.d.ts +0 -83
- package/dist/types/Coscine.Api.Pid/index.d.ts +0 -13
- package/dist/types/Coscine.Api.Project/api.d.ts +0 -1876
- package/dist/types/Coscine.Api.Project/base.d.ts +0 -55
- package/dist/types/Coscine.Api.Project/common.d.ts +0 -65
- package/dist/types/Coscine.Api.Project/configuration.d.ts +0 -83
- package/dist/types/Coscine.Api.Project/index.d.ts +0 -13
- package/dist/types/Coscine.Api.Resources/api.d.ts +0 -1733
- package/dist/types/Coscine.Api.Resources/base.d.ts +0 -55
- package/dist/types/Coscine.Api.Resources/common.d.ts +0 -65
- package/dist/types/Coscine.Api.Resources/configuration.d.ts +0 -83
- package/dist/types/Coscine.Api.Resources/index.d.ts +0 -13
- package/dist/types/Coscine.Api.Token/api.d.ts +0 -316
- package/dist/types/Coscine.Api.Token/base.d.ts +0 -55
- package/dist/types/Coscine.Api.Token/common.d.ts +0 -65
- package/dist/types/Coscine.Api.Token/configuration.d.ts +0 -83
- package/dist/types/Coscine.Api.Token/index.d.ts +0 -13
- package/dist/types/Coscine.Api.Tree/api.d.ts +0 -122
- package/dist/types/Coscine.Api.Tree/base.d.ts +0 -55
- package/dist/types/Coscine.Api.Tree/common.d.ts +0 -65
- package/dist/types/Coscine.Api.Tree/configuration.d.ts +0 -83
- package/dist/types/Coscine.Api.Tree/index.d.ts +0 -13
- package/dist/types/Coscine.Api.User/api.d.ts +0 -745
- package/dist/types/Coscine.Api.User/base.d.ts +0 -55
- package/dist/types/Coscine.Api.User/common.d.ts +0 -65
- package/dist/types/Coscine.Api.User/configuration.d.ts +0 -83
- package/dist/types/Coscine.Api.User/index.d.ts +0 -13
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Coscine.Api.Notices
|
|
6
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 2.4.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
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"configuration.js","sourceRoot":"","sources":["../../../src/Coscine.Api.Notices/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.Notices
|
|
6
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 2.4.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
|
-
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.Notices/index.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;AAGH,wCAAsB;AACtB,kDAAgC"}
|
|
@@ -1,398 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Coscine.Api.Organization
|
|
6
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 2.2.1
|
|
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
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
25
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
26
|
-
};
|
|
27
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
-
exports.OrganizationApi = exports.OrganizationApiFactory = exports.OrganizationApiFp = exports.OrganizationApiAxiosParamCreator = void 0;
|
|
29
|
-
const axios_1 = __importDefault(require("axios"));
|
|
30
|
-
// Some imports not used depending on template conditions
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
const common_1 = require("./common");
|
|
33
|
-
// @ts-ignore
|
|
34
|
-
const base_1 = require("./base");
|
|
35
|
-
/**
|
|
36
|
-
* OrganizationApi - axios parameter creator
|
|
37
|
-
* @export
|
|
38
|
-
*/
|
|
39
|
-
const OrganizationApiAxiosParamCreator = function (configuration) {
|
|
40
|
-
return {
|
|
41
|
-
/**
|
|
42
|
-
*
|
|
43
|
-
* @summary Returns a specific organization.
|
|
44
|
-
* @param {string} url Url of the organization.
|
|
45
|
-
* @param {*} [options] Override http request option.
|
|
46
|
-
* @throws {RequiredError}
|
|
47
|
-
*/
|
|
48
|
-
organizationGetOrganization: (url, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
49
|
-
// verify required parameter 'url' is not null or undefined
|
|
50
|
-
(0, common_1.assertParamExists)('organizationGetOrganization', 'url', url);
|
|
51
|
-
const localVarPath = `/Organization/{url}`
|
|
52
|
-
.replace(`{${"url"}}`, encodeURIComponent(String(url)));
|
|
53
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
54
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
55
|
-
let baseOptions;
|
|
56
|
-
if (configuration) {
|
|
57
|
-
baseOptions = configuration.baseOptions;
|
|
58
|
-
}
|
|
59
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
60
|
-
const localVarHeaderParameter = {};
|
|
61
|
-
const localVarQueryParameter = {};
|
|
62
|
-
// authentication JWT token required
|
|
63
|
-
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
64
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
65
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
66
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
67
|
-
return {
|
|
68
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
69
|
-
options: localVarRequestOptions,
|
|
70
|
-
};
|
|
71
|
-
}),
|
|
72
|
-
/**
|
|
73
|
-
*
|
|
74
|
-
* @summary Returns all labels and urls from the ror graph.
|
|
75
|
-
* @param {string} [filter]
|
|
76
|
-
* @param {*} [options] Override http request option.
|
|
77
|
-
* @throws {RequiredError}
|
|
78
|
-
*/
|
|
79
|
-
organizationGetROR: (filter, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
80
|
-
const localVarPath = `/Organization/-/ror`;
|
|
81
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
82
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
83
|
-
let baseOptions;
|
|
84
|
-
if (configuration) {
|
|
85
|
-
baseOptions = configuration.baseOptions;
|
|
86
|
-
}
|
|
87
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
88
|
-
const localVarHeaderParameter = {};
|
|
89
|
-
const localVarQueryParameter = {};
|
|
90
|
-
// authentication JWT token required
|
|
91
|
-
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
92
|
-
if (filter !== undefined) {
|
|
93
|
-
localVarQueryParameter['filter'] = filter;
|
|
94
|
-
}
|
|
95
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
96
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
97
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
98
|
-
return {
|
|
99
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
100
|
-
options: localVarRequestOptions,
|
|
101
|
-
};
|
|
102
|
-
}),
|
|
103
|
-
/**
|
|
104
|
-
*
|
|
105
|
-
* @summary Returns all organizations that match the provided criterea.
|
|
106
|
-
* @param {number} [member] Filtering organizations that the user is member of.
|
|
107
|
-
* @param {string} [filter] Searchterm to filter the results by.
|
|
108
|
-
* @param {*} [options] Override http request option.
|
|
109
|
-
* @throws {RequiredError}
|
|
110
|
-
*/
|
|
111
|
-
organizationIndex: (member, filter, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
112
|
-
const localVarPath = `/Organization`;
|
|
113
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
114
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
115
|
-
let baseOptions;
|
|
116
|
-
if (configuration) {
|
|
117
|
-
baseOptions = configuration.baseOptions;
|
|
118
|
-
}
|
|
119
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
120
|
-
const localVarHeaderParameter = {};
|
|
121
|
-
const localVarQueryParameter = {};
|
|
122
|
-
// authentication JWT token required
|
|
123
|
-
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
124
|
-
if (member !== undefined) {
|
|
125
|
-
localVarQueryParameter['member'] = member;
|
|
126
|
-
}
|
|
127
|
-
if (filter !== undefined) {
|
|
128
|
-
localVarQueryParameter['filter'] = filter;
|
|
129
|
-
}
|
|
130
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
131
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
132
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
133
|
-
return {
|
|
134
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
135
|
-
options: localVarRequestOptions,
|
|
136
|
-
};
|
|
137
|
-
}),
|
|
138
|
-
/**
|
|
139
|
-
*
|
|
140
|
-
* @summary Returns true if the current user is a member of the given organization.
|
|
141
|
-
* @param {string} url Url of the organization.
|
|
142
|
-
* @param {*} [options] Override http request option.
|
|
143
|
-
* @throws {RequiredError}
|
|
144
|
-
*/
|
|
145
|
-
organizationIsMember: (url, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
146
|
-
// verify required parameter 'url' is not null or undefined
|
|
147
|
-
(0, common_1.assertParamExists)('organizationIsMember', 'url', url);
|
|
148
|
-
const localVarPath = `/Organization/-/isMember/{url}`
|
|
149
|
-
.replace(`{${"url"}}`, encodeURIComponent(String(url)));
|
|
150
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
151
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
152
|
-
let baseOptions;
|
|
153
|
-
if (configuration) {
|
|
154
|
-
baseOptions = configuration.baseOptions;
|
|
155
|
-
}
|
|
156
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
157
|
-
const localVarHeaderParameter = {};
|
|
158
|
-
const localVarQueryParameter = {};
|
|
159
|
-
// authentication JWT token required
|
|
160
|
-
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
161
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
162
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
163
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
164
|
-
return {
|
|
165
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
166
|
-
options: localVarRequestOptions,
|
|
167
|
-
};
|
|
168
|
-
}),
|
|
169
|
-
/**
|
|
170
|
-
*
|
|
171
|
-
* @summary Returns a list of organizations in which the current user is a member.
|
|
172
|
-
* @param {*} [options] Override http request option.
|
|
173
|
-
* @throws {RequiredError}
|
|
174
|
-
*/
|
|
175
|
-
organizationIsMember2: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
176
|
-
const localVarPath = `/Organization/-/isMember`;
|
|
177
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
178
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
179
|
-
let baseOptions;
|
|
180
|
-
if (configuration) {
|
|
181
|
-
baseOptions = configuration.baseOptions;
|
|
182
|
-
}
|
|
183
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
184
|
-
const localVarHeaderParameter = {};
|
|
185
|
-
const localVarQueryParameter = {};
|
|
186
|
-
// authentication JWT token required
|
|
187
|
-
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
188
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
189
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
190
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
191
|
-
return {
|
|
192
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
193
|
-
options: localVarRequestOptions,
|
|
194
|
-
};
|
|
195
|
-
}),
|
|
196
|
-
};
|
|
197
|
-
};
|
|
198
|
-
exports.OrganizationApiAxiosParamCreator = OrganizationApiAxiosParamCreator;
|
|
199
|
-
/**
|
|
200
|
-
* OrganizationApi - functional programming interface
|
|
201
|
-
* @export
|
|
202
|
-
*/
|
|
203
|
-
const OrganizationApiFp = function (configuration) {
|
|
204
|
-
const localVarAxiosParamCreator = (0, exports.OrganizationApiAxiosParamCreator)(configuration);
|
|
205
|
-
return {
|
|
206
|
-
/**
|
|
207
|
-
*
|
|
208
|
-
* @summary Returns a specific organization.
|
|
209
|
-
* @param {string} url Url of the organization.
|
|
210
|
-
* @param {*} [options] Override http request option.
|
|
211
|
-
* @throws {RequiredError}
|
|
212
|
-
*/
|
|
213
|
-
organizationGetOrganization(url, options) {
|
|
214
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
215
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.organizationGetOrganization(url, options);
|
|
216
|
-
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
217
|
-
});
|
|
218
|
-
},
|
|
219
|
-
/**
|
|
220
|
-
*
|
|
221
|
-
* @summary Returns all labels and urls from the ror graph.
|
|
222
|
-
* @param {string} [filter]
|
|
223
|
-
* @param {*} [options] Override http request option.
|
|
224
|
-
* @throws {RequiredError}
|
|
225
|
-
*/
|
|
226
|
-
organizationGetROR(filter, options) {
|
|
227
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
228
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.organizationGetROR(filter, options);
|
|
229
|
-
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
230
|
-
});
|
|
231
|
-
},
|
|
232
|
-
/**
|
|
233
|
-
*
|
|
234
|
-
* @summary Returns all organizations that match the provided criterea.
|
|
235
|
-
* @param {number} [member] Filtering organizations that the user is member of.
|
|
236
|
-
* @param {string} [filter] Searchterm to filter the results by.
|
|
237
|
-
* @param {*} [options] Override http request option.
|
|
238
|
-
* @throws {RequiredError}
|
|
239
|
-
*/
|
|
240
|
-
organizationIndex(member, filter, options) {
|
|
241
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
242
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.organizationIndex(member, filter, options);
|
|
243
|
-
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
244
|
-
});
|
|
245
|
-
},
|
|
246
|
-
/**
|
|
247
|
-
*
|
|
248
|
-
* @summary Returns true if the current user is a member of the given organization.
|
|
249
|
-
* @param {string} url Url of the organization.
|
|
250
|
-
* @param {*} [options] Override http request option.
|
|
251
|
-
* @throws {RequiredError}
|
|
252
|
-
*/
|
|
253
|
-
organizationIsMember(url, options) {
|
|
254
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
255
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.organizationIsMember(url, options);
|
|
256
|
-
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
257
|
-
});
|
|
258
|
-
},
|
|
259
|
-
/**
|
|
260
|
-
*
|
|
261
|
-
* @summary Returns a list of organizations in which the current user is a member.
|
|
262
|
-
* @param {*} [options] Override http request option.
|
|
263
|
-
* @throws {RequiredError}
|
|
264
|
-
*/
|
|
265
|
-
organizationIsMember2(options) {
|
|
266
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
267
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.organizationIsMember2(options);
|
|
268
|
-
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
269
|
-
});
|
|
270
|
-
},
|
|
271
|
-
};
|
|
272
|
-
};
|
|
273
|
-
exports.OrganizationApiFp = OrganizationApiFp;
|
|
274
|
-
/**
|
|
275
|
-
* OrganizationApi - factory interface
|
|
276
|
-
* @export
|
|
277
|
-
*/
|
|
278
|
-
const OrganizationApiFactory = function (configuration, basePath, axios) {
|
|
279
|
-
const localVarFp = (0, exports.OrganizationApiFp)(configuration);
|
|
280
|
-
return {
|
|
281
|
-
/**
|
|
282
|
-
*
|
|
283
|
-
* @summary Returns a specific organization.
|
|
284
|
-
* @param {string} url Url of the organization.
|
|
285
|
-
* @param {*} [options] Override http request option.
|
|
286
|
-
* @throws {RequiredError}
|
|
287
|
-
*/
|
|
288
|
-
organizationGetOrganization(url, options) {
|
|
289
|
-
return localVarFp.organizationGetOrganization(url, options).then((request) => request(axios, basePath));
|
|
290
|
-
},
|
|
291
|
-
/**
|
|
292
|
-
*
|
|
293
|
-
* @summary Returns all labels and urls from the ror graph.
|
|
294
|
-
* @param {string} [filter]
|
|
295
|
-
* @param {*} [options] Override http request option.
|
|
296
|
-
* @throws {RequiredError}
|
|
297
|
-
*/
|
|
298
|
-
organizationGetROR(filter, options) {
|
|
299
|
-
return localVarFp.organizationGetROR(filter, options).then((request) => request(axios, basePath));
|
|
300
|
-
},
|
|
301
|
-
/**
|
|
302
|
-
*
|
|
303
|
-
* @summary Returns all organizations that match the provided criterea.
|
|
304
|
-
* @param {number} [member] Filtering organizations that the user is member of.
|
|
305
|
-
* @param {string} [filter] Searchterm to filter the results by.
|
|
306
|
-
* @param {*} [options] Override http request option.
|
|
307
|
-
* @throws {RequiredError}
|
|
308
|
-
*/
|
|
309
|
-
organizationIndex(member, filter, options) {
|
|
310
|
-
return localVarFp.organizationIndex(member, filter, options).then((request) => request(axios, basePath));
|
|
311
|
-
},
|
|
312
|
-
/**
|
|
313
|
-
*
|
|
314
|
-
* @summary Returns true if the current user is a member of the given organization.
|
|
315
|
-
* @param {string} url Url of the organization.
|
|
316
|
-
* @param {*} [options] Override http request option.
|
|
317
|
-
* @throws {RequiredError}
|
|
318
|
-
*/
|
|
319
|
-
organizationIsMember(url, options) {
|
|
320
|
-
return localVarFp.organizationIsMember(url, options).then((request) => request(axios, basePath));
|
|
321
|
-
},
|
|
322
|
-
/**
|
|
323
|
-
*
|
|
324
|
-
* @summary Returns a list of organizations in which the current user is a member.
|
|
325
|
-
* @param {*} [options] Override http request option.
|
|
326
|
-
* @throws {RequiredError}
|
|
327
|
-
*/
|
|
328
|
-
organizationIsMember2(options) {
|
|
329
|
-
return localVarFp.organizationIsMember2(options).then((request) => request(axios, basePath));
|
|
330
|
-
},
|
|
331
|
-
};
|
|
332
|
-
};
|
|
333
|
-
exports.OrganizationApiFactory = OrganizationApiFactory;
|
|
334
|
-
/**
|
|
335
|
-
* OrganizationApi - object-oriented interface
|
|
336
|
-
* @export
|
|
337
|
-
* @class OrganizationApi
|
|
338
|
-
* @extends {BaseAPI}
|
|
339
|
-
*/
|
|
340
|
-
class OrganizationApi extends base_1.BaseAPI {
|
|
341
|
-
/**
|
|
342
|
-
*
|
|
343
|
-
* @summary Returns a specific organization.
|
|
344
|
-
* @param {string} url Url of the organization.
|
|
345
|
-
* @param {*} [options] Override http request option.
|
|
346
|
-
* @throws {RequiredError}
|
|
347
|
-
* @memberof OrganizationApi
|
|
348
|
-
*/
|
|
349
|
-
organizationGetOrganization(url, options) {
|
|
350
|
-
return (0, exports.OrganizationApiFp)(this.configuration).organizationGetOrganization(url, options).then((request) => request(this.axios, this.basePath));
|
|
351
|
-
}
|
|
352
|
-
/**
|
|
353
|
-
*
|
|
354
|
-
* @summary Returns all labels and urls from the ror graph.
|
|
355
|
-
* @param {string} [filter]
|
|
356
|
-
* @param {*} [options] Override http request option.
|
|
357
|
-
* @throws {RequiredError}
|
|
358
|
-
* @memberof OrganizationApi
|
|
359
|
-
*/
|
|
360
|
-
organizationGetROR(filter, options) {
|
|
361
|
-
return (0, exports.OrganizationApiFp)(this.configuration).organizationGetROR(filter, options).then((request) => request(this.axios, this.basePath));
|
|
362
|
-
}
|
|
363
|
-
/**
|
|
364
|
-
*
|
|
365
|
-
* @summary Returns all organizations that match the provided criterea.
|
|
366
|
-
* @param {number} [member] Filtering organizations that the user is member of.
|
|
367
|
-
* @param {string} [filter] Searchterm to filter the results by.
|
|
368
|
-
* @param {*} [options] Override http request option.
|
|
369
|
-
* @throws {RequiredError}
|
|
370
|
-
* @memberof OrganizationApi
|
|
371
|
-
*/
|
|
372
|
-
organizationIndex(member, filter, options) {
|
|
373
|
-
return (0, exports.OrganizationApiFp)(this.configuration).organizationIndex(member, filter, options).then((request) => request(this.axios, this.basePath));
|
|
374
|
-
}
|
|
375
|
-
/**
|
|
376
|
-
*
|
|
377
|
-
* @summary Returns true if the current user is a member of the given organization.
|
|
378
|
-
* @param {string} url Url of the organization.
|
|
379
|
-
* @param {*} [options] Override http request option.
|
|
380
|
-
* @throws {RequiredError}
|
|
381
|
-
* @memberof OrganizationApi
|
|
382
|
-
*/
|
|
383
|
-
organizationIsMember(url, options) {
|
|
384
|
-
return (0, exports.OrganizationApiFp)(this.configuration).organizationIsMember(url, options).then((request) => request(this.axios, this.basePath));
|
|
385
|
-
}
|
|
386
|
-
/**
|
|
387
|
-
*
|
|
388
|
-
* @summary Returns a list of organizations in which the current user is a member.
|
|
389
|
-
* @param {*} [options] Override http request option.
|
|
390
|
-
* @throws {RequiredError}
|
|
391
|
-
* @memberof OrganizationApi
|
|
392
|
-
*/
|
|
393
|
-
organizationIsMember2(options) {
|
|
394
|
-
return (0, exports.OrganizationApiFp)(this.configuration).organizationIsMember2(options).then((request) => request(this.axios, this.basePath));
|
|
395
|
-
}
|
|
396
|
-
}
|
|
397
|
-
exports.OrganizationApi = OrganizationApi;
|
|
398
|
-
//# sourceMappingURL=api.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../../src/Coscine.Api.Organization/api.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;AAIH,kDAAiE;AACjE,yDAAyD;AACzD,aAAa;AACb,qCAA4N;AAC5N,aAAa;AACb,iCAA4F;AAsD5F;;;GAGG;AACI,MAAM,gCAAgC,GAAG,UAAU,aAA6B;IACnF,OAAO;QACH;;;;;;WAMG;QACH,2BAA2B,EAAE,CAAO,GAAW,EAAE,UAAe,EAAE,EAAwB,EAAE;YACxF,2DAA2D;YAC3D,IAAA,0BAAiB,EAAC,6BAA6B,EAAE,KAAK,EAAE,GAAG,CAAC,CAAA;YAC5D,MAAM,YAAY,GAAG,qBAAqB;iBACrC,OAAO,CAAC,IAAI,KAAK,GAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;YAC5D,oFAAoF;YACpF,MAAM,cAAc,GAAG,IAAI,GAAG,CAAC,YAAY,EAAE,uBAAc,CAAC,CAAC;YAC7D,IAAI,WAAW,CAAC;YAChB,IAAI,aAAa,EAAE;gBACf,WAAW,GAAG,aAAa,CAAC,WAAW,CAAC;aAC3C;YAED,MAAM,sBAAsB,iCAAK,MAAM,EAAE,KAAK,IAAK,WAAW,GAAK,OAAO,CAAC,CAAC;YAC5E,MAAM,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AM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IAClJ,CAAC;IAED;;;;;;;OAOG;IACI,oBAAoB,CAAC,GAAW,EAAE,OAAa;QAClD,OAAO,IAAA,yBAAiB,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC,oBAAoB,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IAC1I,CAAC;IAED;;;;;;OAMG;IACI,qBAAqB,CAAC,OAAa;QACtC,OAAO,IAAA,yBAAiB,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC,qBAAqB,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IACtI,CAAC;CACJ;AA5DD,0CA4DC"}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Coscine.Api.Organization
|
|
6
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 2.2.1
|
|
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 __importDefault = (this && this.__importDefault) || function (mod) {
|
|
16
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
17
|
-
};
|
|
18
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
-
exports.RequiredError = exports.BaseAPI = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
|
|
20
|
-
// Some imports not used depending on template conditions
|
|
21
|
-
// @ts-ignore
|
|
22
|
-
const axios_1 = __importDefault(require("axios"));
|
|
23
|
-
exports.BASE_PATH = "https://d-sp12.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Organization".replace(/\/+$/, "");
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
*/
|
|
28
|
-
exports.COLLECTION_FORMATS = {
|
|
29
|
-
csv: ",",
|
|
30
|
-
ssv: " ",
|
|
31
|
-
tsv: "\t",
|
|
32
|
-
pipes: "|",
|
|
33
|
-
};
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @export
|
|
37
|
-
* @class BaseAPI
|
|
38
|
-
*/
|
|
39
|
-
class BaseAPI {
|
|
40
|
-
constructor(configuration, basePath = exports.BASE_PATH, axios = axios_1.default) {
|
|
41
|
-
this.basePath = basePath;
|
|
42
|
-
this.axios = axios;
|
|
43
|
-
if (configuration) {
|
|
44
|
-
this.configuration = configuration;
|
|
45
|
-
this.basePath = configuration.basePath || this.basePath;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
exports.BaseAPI = BaseAPI;
|
|
50
|
-
;
|
|
51
|
-
/**
|
|
52
|
-
*
|
|
53
|
-
* @export
|
|
54
|
-
* @class RequiredError
|
|
55
|
-
* @extends {Error}
|
|
56
|
-
*/
|
|
57
|
-
class RequiredError extends Error {
|
|
58
|
-
constructor(field, msg) {
|
|
59
|
-
super(msg);
|
|
60
|
-
this.field = field;
|
|
61
|
-
this.name = "RequiredError";
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
exports.RequiredError = RequiredError;
|
|
65
|
-
//# sourceMappingURL=base.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"base.js","sourceRoot":"","sources":["../../../src/Coscine.Api.Organization/base.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;AAIH,yDAAyD;AACzD,aAAa;AACb,kDAAiE;AAEpD,QAAA,SAAS,GAAG,kFAAkF,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;AAEhI;;;GAGG;AACU,QAAA,kBAAkB,GAAG;IAC9B,GAAG,EAAE,GAAG;IACR,GAAG,EAAE,GAAG;IACR,GAAG,EAAE,IAAI;IACT,KAAK,EAAE,GAAG;CACb,CAAC;AAYF;;;;GAIG;AACH,MAAa,OAAO;IAGhB,YAAY,aAA6B,EAAY,WAAmB,iBAAS,EAAY,QAAuB,eAAW;QAA1E,aAAQ,GAAR,QAAQ,CAAoB;QAAY,UAAK,GAAL,KAAK,CAA6B;QAC3H,IAAI,aAAa,EAAE;YACf,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;YACnC,IAAI,CAAC,QAAQ,GAAG,aAAa,CAAC,QAAQ,IAAI,IAAI,CAAC,QAAQ,CAAC;SAC3D;IACL,CAAC;CACJ;AATD,0BASC;AAAA,CAAC;AAEF;;;;;GAKG;AACH,MAAa,aAAc,SAAQ,KAAK;IAEpC,YAAmB,KAAa,EAAE,GAAY;QAC1C,KAAK,CAAC,GAAG,CAAC,CAAC;QADI,UAAK,GAAL,KAAK,CAAQ;QADhC,SAAI,GAAoB,eAAe,CAAC;IAGxC,CAAC;CACJ;AALD,sCAKC"}
|