@coscine/api-client 2.4.0 → 2.5.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 +403 -155
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +403 -154
- package/dist/index.umd.js.map +1 -1
- package/dist/lib/Coscine.Api.Pid/api.js +204 -0
- package/dist/lib/Coscine.Api.Pid/api.js.map +1 -0
- package/dist/lib/Coscine.Api.Pid/base.js +65 -0
- package/dist/lib/Coscine.Api.Pid/base.js.map +1 -0
- package/dist/lib/Coscine.Api.Pid/common.js +153 -0
- package/dist/lib/Coscine.Api.Pid/common.js.map +1 -0
- package/dist/lib/Coscine.Api.Pid/configuration.js +43 -0
- package/dist/lib/Coscine.Api.Pid/configuration.js.map +1 -0
- package/dist/lib/Coscine.Api.Pid/index.js +28 -0
- package/dist/lib/Coscine.Api.Pid/index.js.map +1 -0
- package/dist/lib/Coscine.Api.Search/api.js +13 -2
- package/dist/lib/Coscine.Api.Search/api.js.map +1 -1
- package/dist/lib/Coscine.Api.Search/base.js +2 -2
- 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/apis.js +27 -25
- package/dist/lib/apis.js.map +1 -1
- package/dist/lib/index.js +2 -1
- package/dist/lib/index.js.map +1 -1
- package/dist/types/Coscine.Api.Pid/api.d.ts +149 -0
- package/dist/types/Coscine.Api.Pid/base.d.ts +55 -0
- package/dist/types/Coscine.Api.Pid/common.d.ts +65 -0
- package/dist/types/Coscine.Api.Pid/configuration.d.ts +83 -0
- package/dist/types/Coscine.Api.Pid/index.d.ts +13 -0
- package/dist/types/Coscine.Api.Search/api.d.ts +17 -448
- 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/apis.d.ts +4 -0
- package/dist/types/index.d.ts +8 -0
- package/package.json +2 -2
package/dist/lib/apis.js
CHANGED
|
@@ -6,7 +6,7 @@ const api_2 = require("./Coscine.Api.Blob/api");
|
|
|
6
6
|
const api_3 = require("./Coscine.Api.Metadata/api");
|
|
7
7
|
const api_4 = require("./Coscine.Api.Notices/api");
|
|
8
8
|
const api_5 = require("./Coscine.Api.Organization/api");
|
|
9
|
-
const api_6 = require("./Coscine.Api.
|
|
9
|
+
const api_6 = require("./Coscine.Api.Pid/api");
|
|
10
10
|
const api_7 = require("./Coscine.Api.Project/api");
|
|
11
11
|
const api_8 = require("./Coscine.Api.Project/api");
|
|
12
12
|
const api_9 = require("./Coscine.Api.Project/api");
|
|
@@ -14,17 +14,18 @@ const api_10 = require("./Coscine.Api.Project/api");
|
|
|
14
14
|
const api_11 = require("./Coscine.Api.Project/api");
|
|
15
15
|
const api_12 = require("./Coscine.Api.Project/api");
|
|
16
16
|
const api_13 = require("./Coscine.Api.Project/api");
|
|
17
|
-
const api_14 = require("./Coscine.Api.
|
|
17
|
+
const api_14 = require("./Coscine.Api.Project/api");
|
|
18
18
|
const api_15 = require("./Coscine.Api.Resources/api");
|
|
19
19
|
const api_16 = require("./Coscine.Api.Resources/api");
|
|
20
|
-
const api_17 = require("./Coscine.Api.
|
|
21
|
-
const api_18 = require("./Coscine.Api.
|
|
22
|
-
const api_19 = require("./Coscine.Api.
|
|
23
|
-
const api_20 = require("./Coscine.Api.
|
|
20
|
+
const api_17 = require("./Coscine.Api.Resources/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
31
|
accessToken = 'Bearer ' + coscine.authorization.bearer;
|
|
@@ -50,28 +51,29 @@ function implementations(axios) {
|
|
|
50
51
|
return {
|
|
51
52
|
AdminApi: (0, api_1.AdminApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Admin', axios),
|
|
52
53
|
BlobApi: (0, api_2.BlobApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Blob', axios),
|
|
53
|
-
ContactChangeApi: (0,
|
|
54
|
-
DisciplineApi: (0,
|
|
55
|
-
LanguageApi: (0,
|
|
56
|
-
LicenseApi: (0,
|
|
54
|
+
ContactChangeApi: (0, api_21.ContactChangeApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.User', axios),
|
|
55
|
+
DisciplineApi: (0, api_7.DisciplineApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios),
|
|
56
|
+
LanguageApi: (0, api_22.LanguageApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.User', axios),
|
|
57
|
+
LicenseApi: (0, api_8.LicenseApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios),
|
|
57
58
|
MetadataApi: (0, api_3.MetadataApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Metadata', axios),
|
|
58
59
|
NoticeApi: (0, api_4.NoticeApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Notices', axios),
|
|
59
60
|
OrganizationApi: (0, api_5.OrganizationApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Organization', axios),
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
61
|
+
PidApi: (0, api_6.PidApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Pid', axios),
|
|
62
|
+
ProjectApi: (0, api_9.ProjectApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios),
|
|
63
|
+
ProjectQuotaApi: (0, api_10.ProjectQuotaApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios),
|
|
64
|
+
ProjectRoleApi: (0, api_11.ProjectRoleApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios),
|
|
65
|
+
ResourceApi: (0, api_15.ResourceApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Resources', axios),
|
|
66
|
+
ResourceQuotaApi: (0, api_16.ResourceQuotaApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Resources', axios),
|
|
67
|
+
ResourceTypeApi: (0, api_17.ResourceTypeApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Resources', axios),
|
|
68
|
+
RoleApi: (0, api_12.RoleApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios),
|
|
69
|
+
SearchApi: (0, api_18.SearchApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Search', axios),
|
|
70
|
+
SubProjectApi: (0, api_13.SubProjectApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios),
|
|
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),
|
|
76
|
+
VisibilityApi: (0, api_14.VisibilityApiFactory)(new configuration_1.Configuration({ 'accessToken': accessToken }), 'https://' + getHostName() + '/coscine/api/Coscine.Api.Project', axios)
|
|
75
77
|
};
|
|
76
78
|
}
|
|
77
79
|
;
|
package/dist/lib/apis.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apis.js","sourceRoot":"","sources":["../../src/apis.ts"],"names":[],"mappings":";;AAEA,iDAA0D;AAC1D,qEAAkE;AAClE,gDAAwD;AACxD,oDAAgE;AAChE,mDAA6D;AAC7D,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,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/index.js
CHANGED
|
@@ -3,7 +3,7 @@ var __importDefault = (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.ResourceQuotaApi = exports.ResourceApi = exports.ProjectRoleApi = exports.ProjectQuotaApi = exports.ProjectApi = exports.OrganizationApi = exports.NoticeApi = exports.MetadataApi = exports.LicenseApi = exports.LanguageApi = exports.DisciplineApi = exports.ContactChangeApi = exports.BlobApi = exports.AdminApi = void 0;
|
|
6
|
+
exports.VisibilityApi = exports.UserApi = exports.TreeApi = exports.TOSApi = exports.TokenApi = exports.TitleApi = exports.SubProjectApi = exports.SearchApi = exports.RoleApi = exports.ResourceTypeApi = exports.ResourceQuotaApi = exports.ResourceApi = exports.ProjectRoleApi = exports.ProjectQuotaApi = exports.ProjectApi = exports.PidApi = exports.OrganizationApi = exports.NoticeApi = exports.MetadataApi = exports.LicenseApi = exports.LanguageApi = exports.DisciplineApi = exports.ContactChangeApi = exports.BlobApi = exports.AdminApi = void 0;
|
|
7
7
|
const apis_1 = __importDefault(require("./apis"));
|
|
8
8
|
const axios_basic_1 = __importDefault(require("./axios-basic"));
|
|
9
9
|
const apis = (0, apis_1.default)(axios_basic_1.default);
|
|
@@ -16,6 +16,7 @@ exports.LicenseApi = apis.LicenseApi;
|
|
|
16
16
|
exports.MetadataApi = apis.MetadataApi;
|
|
17
17
|
exports.NoticeApi = apis.NoticeApi;
|
|
18
18
|
exports.OrganizationApi = apis.OrganizationApi;
|
|
19
|
+
exports.PidApi = apis.PidApi;
|
|
19
20
|
exports.ProjectApi = apis.ProjectApi;
|
|
20
21
|
exports.ProjectQuotaApi = apis.ProjectQuotaApi;
|
|
21
22
|
exports.ProjectRoleApi = apis.ProjectRoleApi;
|
package/dist/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;AAAA,kDAAqC;AACrC,gEAAqC;AAErC,MAAM,IAAI,GAAG,IAAA,cAAe,EAAC,qBAAQ,CAAC,CAAC;AAE1B,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,C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C;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,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;AACrB,QAAA,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC;AAC7B,QAAA,eAAe,GAAG,IAAI,CAAC,eAAe,CAAC;AACvC,QAAA,cAAc,GAAG,IAAI,CAAC,cAAc,CAAC;AACrC,QAAA,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC;AAC/B,QAAA,gBAAgB,GAAG,IAAI,CAAC,gBAAgB,CAAC;AACzC,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,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"}
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Coscine.Api.Pid
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.3.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
|
+
* Message Object.
|
|
17
|
+
* @export
|
|
18
|
+
* @interface MessageObject
|
|
19
|
+
*/
|
|
20
|
+
export interface MessageObject {
|
|
21
|
+
/**
|
|
22
|
+
* Name of the requester.
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof MessageObject
|
|
25
|
+
*/
|
|
26
|
+
name?: string | null;
|
|
27
|
+
/**
|
|
28
|
+
* Email address of the requester.
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof MessageObject
|
|
31
|
+
*/
|
|
32
|
+
email?: string | null;
|
|
33
|
+
/**
|
|
34
|
+
* Message Text.
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof MessageObject
|
|
37
|
+
*/
|
|
38
|
+
message?: string | null;
|
|
39
|
+
/**
|
|
40
|
+
* Send copy to requester.
|
|
41
|
+
* @type {boolean}
|
|
42
|
+
* @memberof MessageObject
|
|
43
|
+
*/
|
|
44
|
+
sendCopy?: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* Pid of the resource.
|
|
47
|
+
* @type {string}
|
|
48
|
+
* @memberof MessageObject
|
|
49
|
+
*/
|
|
50
|
+
pid?: string | null;
|
|
51
|
+
/**
|
|
52
|
+
* Message Object.
|
|
53
|
+
* @type {string}
|
|
54
|
+
* @memberof MessageObject
|
|
55
|
+
*/
|
|
56
|
+
guid?: string | null;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* PidApi - axios parameter creator
|
|
60
|
+
* @export
|
|
61
|
+
*/
|
|
62
|
+
export declare const PidApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @summary Returns a 200, if a PID is valid.
|
|
66
|
+
* @param {string} pid PID
|
|
67
|
+
* @param {*} [options] Override http request option.
|
|
68
|
+
* @throws {RequiredError}
|
|
69
|
+
*/
|
|
70
|
+
pidIsValid: (pid: string, options?: any) => Promise<RequestArgs>;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @summary Sends a request to the pid owner.
|
|
74
|
+
* @param {MessageObject} messageObject Entry with the information for the email to the pid owner.
|
|
75
|
+
* @param {*} [options] Override http request option.
|
|
76
|
+
* @throws {RequiredError}
|
|
77
|
+
*/
|
|
78
|
+
pidSendMailToOwner: (messageObject: MessageObject, options?: any) => Promise<RequestArgs>;
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* PidApi - functional programming interface
|
|
82
|
+
* @export
|
|
83
|
+
*/
|
|
84
|
+
export declare const PidApiFp: (configuration?: Configuration) => {
|
|
85
|
+
/**
|
|
86
|
+
*
|
|
87
|
+
* @summary Returns a 200, if a PID is valid.
|
|
88
|
+
* @param {string} pid PID
|
|
89
|
+
* @param {*} [options] Override http request option.
|
|
90
|
+
* @throws {RequiredError}
|
|
91
|
+
*/
|
|
92
|
+
pidIsValid(pid: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
|
|
93
|
+
/**
|
|
94
|
+
*
|
|
95
|
+
* @summary Sends a request to the pid owner.
|
|
96
|
+
* @param {MessageObject} messageObject Entry with the information for the email to the pid owner.
|
|
97
|
+
* @param {*} [options] Override http request option.
|
|
98
|
+
* @throws {RequiredError}
|
|
99
|
+
*/
|
|
100
|
+
pidSendMailToOwner(messageObject: MessageObject, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
|
|
101
|
+
};
|
|
102
|
+
/**
|
|
103
|
+
* PidApi - factory interface
|
|
104
|
+
* @export
|
|
105
|
+
*/
|
|
106
|
+
export declare const PidApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
107
|
+
/**
|
|
108
|
+
*
|
|
109
|
+
* @summary Returns a 200, if a PID is valid.
|
|
110
|
+
* @param {string} pid PID
|
|
111
|
+
* @param {*} [options] Override http request option.
|
|
112
|
+
* @throws {RequiredError}
|
|
113
|
+
*/
|
|
114
|
+
pidIsValid(pid: string, options?: any): AxiosPromise<any>;
|
|
115
|
+
/**
|
|
116
|
+
*
|
|
117
|
+
* @summary Sends a request to the pid owner.
|
|
118
|
+
* @param {MessageObject} messageObject Entry with the information for the email to the pid owner.
|
|
119
|
+
* @param {*} [options] Override http request option.
|
|
120
|
+
* @throws {RequiredError}
|
|
121
|
+
*/
|
|
122
|
+
pidSendMailToOwner(messageObject: MessageObject, options?: any): AxiosPromise<any>;
|
|
123
|
+
};
|
|
124
|
+
/**
|
|
125
|
+
* PidApi - object-oriented interface
|
|
126
|
+
* @export
|
|
127
|
+
* @class PidApi
|
|
128
|
+
* @extends {BaseAPI}
|
|
129
|
+
*/
|
|
130
|
+
export declare class PidApi extends BaseAPI {
|
|
131
|
+
/**
|
|
132
|
+
*
|
|
133
|
+
* @summary Returns a 200, if a PID is valid.
|
|
134
|
+
* @param {string} pid PID
|
|
135
|
+
* @param {*} [options] Override http request option.
|
|
136
|
+
* @throws {RequiredError}
|
|
137
|
+
* @memberof PidApi
|
|
138
|
+
*/
|
|
139
|
+
pidIsValid(pid: string, options?: any): Promise<import("axios").AxiosResponse<any>>;
|
|
140
|
+
/**
|
|
141
|
+
*
|
|
142
|
+
* @summary Sends a request to the pid owner.
|
|
143
|
+
* @param {MessageObject} messageObject Entry with the information for the email to the pid owner.
|
|
144
|
+
* @param {*} [options] Override http request option.
|
|
145
|
+
* @throws {RequiredError}
|
|
146
|
+
* @memberof PidApi
|
|
147
|
+
*/
|
|
148
|
+
pidSendMailToOwner(messageObject: MessageObject, options?: any): Promise<import("axios").AxiosResponse<any>>;
|
|
149
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Coscine.Api.Pid
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.3.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
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Coscine.Api.Pid
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.3.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>>;
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Coscine.Api.Pid
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.3.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
|
+
export interface ConfigurationParameters {
|
|
13
|
+
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
14
|
+
username?: string;
|
|
15
|
+
password?: string;
|
|
16
|
+
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
17
|
+
basePath?: string;
|
|
18
|
+
baseOptions?: any;
|
|
19
|
+
formDataCtor?: new () => any;
|
|
20
|
+
}
|
|
21
|
+
export declare class Configuration {
|
|
22
|
+
/**
|
|
23
|
+
* parameter for apiKey security
|
|
24
|
+
* @param name security name
|
|
25
|
+
* @memberof Configuration
|
|
26
|
+
*/
|
|
27
|
+
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
28
|
+
/**
|
|
29
|
+
* parameter for basic security
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof Configuration
|
|
33
|
+
*/
|
|
34
|
+
username?: string;
|
|
35
|
+
/**
|
|
36
|
+
* parameter for basic security
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof Configuration
|
|
40
|
+
*/
|
|
41
|
+
password?: string;
|
|
42
|
+
/**
|
|
43
|
+
* parameter for oauth2 security
|
|
44
|
+
* @param name security name
|
|
45
|
+
* @param scopes oauth2 scope
|
|
46
|
+
* @memberof Configuration
|
|
47
|
+
*/
|
|
48
|
+
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
49
|
+
/**
|
|
50
|
+
* override base path
|
|
51
|
+
*
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof Configuration
|
|
54
|
+
*/
|
|
55
|
+
basePath?: string;
|
|
56
|
+
/**
|
|
57
|
+
* base options for axios calls
|
|
58
|
+
*
|
|
59
|
+
* @type {any}
|
|
60
|
+
* @memberof Configuration
|
|
61
|
+
*/
|
|
62
|
+
baseOptions?: any;
|
|
63
|
+
/**
|
|
64
|
+
* The FormData constructor that will be used to create multipart form data
|
|
65
|
+
* requests. You can inject this here so that execution environments that
|
|
66
|
+
* do not support the FormData class can still run the generated client.
|
|
67
|
+
*
|
|
68
|
+
* @type {new () => FormData}
|
|
69
|
+
*/
|
|
70
|
+
formDataCtor?: new () => any;
|
|
71
|
+
constructor(param?: ConfigurationParameters);
|
|
72
|
+
/**
|
|
73
|
+
* Check if the given MIME is a JSON MIME.
|
|
74
|
+
* JSON MIME examples:
|
|
75
|
+
* application/json
|
|
76
|
+
* application/json; charset=UTF8
|
|
77
|
+
* APPLICATION/JSON
|
|
78
|
+
* application/vnd.company+json
|
|
79
|
+
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
80
|
+
* @return True if the given MIME is JSON, false otherwise.
|
|
81
|
+
*/
|
|
82
|
+
isJsonMime(mime: string): boolean;
|
|
83
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Coscine.Api.Pid
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.3.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
|
+
export * from "./api";
|
|
13
|
+
export * from "./configuration";
|