@researchdatabox/raido-openapi-generated-node 0.0.1
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 +3 -0
- package/dist/api/adminExperimentalApi.js +1092 -0
- package/dist/api/apis.js +39 -0
- package/dist/api/basicRaidExperimentalApi.js +423 -0
- package/dist/api/publicExperimentalApi.js +264 -0
- package/dist/api/unauthzExperimentalApi.js +147 -0
- package/dist/api.js +19 -0
- package/dist/model/accessBlock.js +35 -0
- package/dist/model/accessType.js +19 -0
- package/dist/model/alternateUrlBlock.js +29 -0
- package/dist/model/apiKey.js +74 -0
- package/dist/model/appUser.js +83 -0
- package/dist/model/appUserExtraV1.js +44 -0
- package/dist/model/authzRequestExtraV1.js +104 -0
- package/dist/model/authzRequestStatus.js +20 -0
- package/dist/model/contributorBlock.js +47 -0
- package/dist/model/contributorIdentifierSchemeType.js +18 -0
- package/dist/model/contributorPosition.js +47 -0
- package/dist/model/contributorPositionRaidMetadataSchemaType.js +22 -0
- package/dist/model/contributorPositionSchemeType.js +18 -0
- package/dist/model/contributorRole.js +35 -0
- package/dist/model/contributorRoleCreditNisoOrgType.js +31 -0
- package/dist/model/contributorRoleSchemeType.js +18 -0
- package/dist/model/datesBlock.js +35 -0
- package/dist/model/descriptionBlock.js +35 -0
- package/dist/model/descriptionType.js +19 -0
- package/dist/model/generateApiTokenRequest.js +29 -0
- package/dist/model/generateApiTokenResponse.js +35 -0
- package/dist/model/idBlock.js +65 -0
- package/dist/model/legacyMetadataSchemaV1.js +68 -0
- package/dist/model/migrateLegacyRaidRequest.js +35 -0
- package/dist/model/migrateLegacyRaidRequestMintRequest.js +41 -0
- package/dist/model/mintRaidoSchemaV1Request.js +38 -0
- package/dist/model/mintRaidoSchemaV1RequestMintRequest.js +32 -0
- package/dist/model/mintResponse.js +41 -0
- package/dist/model/models.js +374 -0
- package/dist/model/organisationBlock.js +41 -0
- package/dist/model/organisationIdentifierSchemeType.js +18 -0
- package/dist/model/organisationRole.js +47 -0
- package/dist/model/organisationRoleSchemeType.js +18 -0
- package/dist/model/organisationRoleType.js +22 -0
- package/dist/model/publicClosedMetadataSchemaV1.js +41 -0
- package/dist/model/publicRaidMetadataSchemaV1.js +80 -0
- package/dist/model/publicReadRaidMetadataResponseV1.js +80 -0
- package/dist/model/publicReadRaidResponseV3.js +56 -0
- package/dist/model/publicServicePoint.js +38 -0
- package/dist/model/raidListItemV2.js +53 -0
- package/dist/model/raidListRequestV2.js +35 -0
- package/dist/model/raidoMetadataSchemaV1.js +80 -0
- package/dist/model/raidoMetaschema.js +22 -0
- package/dist/model/readRaidResponseV2.js +71 -0
- package/dist/model/readRaidV2Request.js +29 -0
- package/dist/model/servicePoint.js +62 -0
- package/dist/model/titleBlock.js +47 -0
- package/dist/model/titleType.js +19 -0
- package/dist/model/updateAuthzRequest.js +38 -0
- package/dist/model/updateAuthzRequestStatus.js +44 -0
- package/dist/model/updateAuthzResponse.js +29 -0
- package/dist/model/updateRaidoSchemaV1Request.js +29 -0
- package/dist/model/validationFailure.js +41 -0
- package/dist/model/versionResult.js +47 -0
- package/package.json +24 -0
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* RAID v2 API
|
|
4
|
+
* This file is where all the endpoint paths are defined, it\'s the \"top level\' of the OpenAPI definition that links all the different files together. The `3.0` in the filename refers to this file being based on OpenAPI 3.0 as opposed to OpenAPI 3.1, which the tooling doesn\'t support yet. The `2.0.0` in the version field refers to the fact that there\'s already a `1.0.0` used for the legacy RAiD application (not this project).
|
|
5
|
+
*
|
|
6
|
+
* The version of the OpenAPI document: 2.0.0
|
|
7
|
+
* Contact: contact@raid.org
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
+
* https://openapi-generator.tech
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*/
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.AppUserExtraV1 = void 0;
|
|
15
|
+
/**
|
|
16
|
+
* bootstrapped users have no authzRequest or approvingUser
|
|
17
|
+
*/
|
|
18
|
+
class AppUserExtraV1 {
|
|
19
|
+
'appUser';
|
|
20
|
+
'servicePoint';
|
|
21
|
+
'authzRequest';
|
|
22
|
+
static discriminator = undefined;
|
|
23
|
+
static attributeTypeMap = [
|
|
24
|
+
{
|
|
25
|
+
"name": "appUser",
|
|
26
|
+
"baseName": "appUser",
|
|
27
|
+
"type": "AppUser"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"name": "servicePoint",
|
|
31
|
+
"baseName": "servicePoint",
|
|
32
|
+
"type": "ServicePoint"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"name": "authzRequest",
|
|
36
|
+
"baseName": "authzRequest",
|
|
37
|
+
"type": "AuthzRequestExtraV1"
|
|
38
|
+
}
|
|
39
|
+
];
|
|
40
|
+
static getAttributeTypeMap() {
|
|
41
|
+
return AppUserExtraV1.attributeTypeMap;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
exports.AppUserExtraV1 = AppUserExtraV1;
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* RAID v2 API
|
|
4
|
+
* This file is where all the endpoint paths are defined, it\'s the \"top level\' of the OpenAPI definition that links all the different files together. The `3.0` in the filename refers to this file being based on OpenAPI 3.0 as opposed to OpenAPI 3.1, which the tooling doesn\'t support yet. The `2.0.0` in the version field refers to the fact that there\'s already a `1.0.0` used for the legacy RAiD application (not this project).
|
|
5
|
+
*
|
|
6
|
+
* The version of the OpenAPI document: 2.0.0
|
|
7
|
+
* Contact: contact@raid.org
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
+
* https://openapi-generator.tech
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*/
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.AuthzRequestExtraV1 = void 0;
|
|
15
|
+
/**
|
|
16
|
+
* authorization request with extra data
|
|
17
|
+
*/
|
|
18
|
+
class AuthzRequestExtraV1 {
|
|
19
|
+
'id';
|
|
20
|
+
'status';
|
|
21
|
+
'servicePointId';
|
|
22
|
+
'servicePointName';
|
|
23
|
+
'comments';
|
|
24
|
+
'email';
|
|
25
|
+
'clientId';
|
|
26
|
+
'idProvider';
|
|
27
|
+
'subject';
|
|
28
|
+
'respondingUserId';
|
|
29
|
+
'respondingUserEmail';
|
|
30
|
+
'dateRequested';
|
|
31
|
+
'dateResponded';
|
|
32
|
+
static discriminator = undefined;
|
|
33
|
+
static attributeTypeMap = [
|
|
34
|
+
{
|
|
35
|
+
"name": "id",
|
|
36
|
+
"baseName": "id",
|
|
37
|
+
"type": "number"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"name": "status",
|
|
41
|
+
"baseName": "status",
|
|
42
|
+
"type": "AuthzRequestStatus"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "servicePointId",
|
|
46
|
+
"baseName": "servicePointId",
|
|
47
|
+
"type": "number"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"name": "servicePointName",
|
|
51
|
+
"baseName": "servicePointName",
|
|
52
|
+
"type": "string"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"name": "comments",
|
|
56
|
+
"baseName": "comments",
|
|
57
|
+
"type": "string"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"name": "email",
|
|
61
|
+
"baseName": "email",
|
|
62
|
+
"type": "string"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"name": "clientId",
|
|
66
|
+
"baseName": "clientId",
|
|
67
|
+
"type": "string"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"name": "idProvider",
|
|
71
|
+
"baseName": "idProvider",
|
|
72
|
+
"type": "string"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"name": "subject",
|
|
76
|
+
"baseName": "subject",
|
|
77
|
+
"type": "string"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"name": "respondingUserId",
|
|
81
|
+
"baseName": "respondingUserId",
|
|
82
|
+
"type": "number"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"name": "respondingUserEmail",
|
|
86
|
+
"baseName": "respondingUserEmail",
|
|
87
|
+
"type": "string"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"name": "dateRequested",
|
|
91
|
+
"baseName": "dateRequested",
|
|
92
|
+
"type": "Date"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"name": "dateResponded",
|
|
96
|
+
"baseName": "dateResponded",
|
|
97
|
+
"type": "Date"
|
|
98
|
+
}
|
|
99
|
+
];
|
|
100
|
+
static getAttributeTypeMap() {
|
|
101
|
+
return AuthzRequestExtraV1.attributeTypeMap;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
exports.AuthzRequestExtraV1 = AuthzRequestExtraV1;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* RAID v2 API
|
|
4
|
+
* This file is where all the endpoint paths are defined, it\'s the \"top level\' of the OpenAPI definition that links all the different files together. The `3.0` in the filename refers to this file being based on OpenAPI 3.0 as opposed to OpenAPI 3.1, which the tooling doesn\'t support yet. The `2.0.0` in the version field refers to the fact that there\'s already a `1.0.0` used for the legacy RAiD application (not this project).
|
|
5
|
+
*
|
|
6
|
+
* The version of the OpenAPI document: 2.0.0
|
|
7
|
+
* Contact: contact@raid.org
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
+
* https://openapi-generator.tech
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*/
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.AuthzRequestStatus = void 0;
|
|
15
|
+
var AuthzRequestStatus;
|
|
16
|
+
(function (AuthzRequestStatus) {
|
|
17
|
+
AuthzRequestStatus[AuthzRequestStatus["Approved"] = 'APPROVED'] = "Approved";
|
|
18
|
+
AuthzRequestStatus[AuthzRequestStatus["Requested"] = 'REQUESTED'] = "Requested";
|
|
19
|
+
AuthzRequestStatus[AuthzRequestStatus["Rejected"] = 'REJECTED'] = "Rejected";
|
|
20
|
+
})(AuthzRequestStatus = exports.AuthzRequestStatus || (exports.AuthzRequestStatus = {}));
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* RAID v2 API
|
|
4
|
+
* This file is where all the endpoint paths are defined, it\'s the \"top level\' of the OpenAPI definition that links all the different files together. The `3.0` in the filename refers to this file being based on OpenAPI 3.0 as opposed to OpenAPI 3.1, which the tooling doesn\'t support yet. The `2.0.0` in the version field refers to the fact that there\'s already a `1.0.0` used for the legacy RAiD application (not this project).
|
|
5
|
+
*
|
|
6
|
+
* The version of the OpenAPI document: 2.0.0
|
|
7
|
+
* Contact: contact@raid.org
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
+
* https://openapi-generator.tech
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*/
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.ContributorBlock = void 0;
|
|
15
|
+
class ContributorBlock {
|
|
16
|
+
'id';
|
|
17
|
+
'identifierSchemeUri';
|
|
18
|
+
'positions';
|
|
19
|
+
'roles';
|
|
20
|
+
static discriminator = undefined;
|
|
21
|
+
static attributeTypeMap = [
|
|
22
|
+
{
|
|
23
|
+
"name": "id",
|
|
24
|
+
"baseName": "id",
|
|
25
|
+
"type": "string"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "identifierSchemeUri",
|
|
29
|
+
"baseName": "identifierSchemeUri",
|
|
30
|
+
"type": "ContributorIdentifierSchemeType"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "positions",
|
|
34
|
+
"baseName": "positions",
|
|
35
|
+
"type": "Array<ContributorPosition>"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "roles",
|
|
39
|
+
"baseName": "roles",
|
|
40
|
+
"type": "Array<ContributorRole>"
|
|
41
|
+
}
|
|
42
|
+
];
|
|
43
|
+
static getAttributeTypeMap() {
|
|
44
|
+
return ContributorBlock.attributeTypeMap;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
exports.ContributorBlock = ContributorBlock;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* RAID v2 API
|
|
4
|
+
* This file is where all the endpoint paths are defined, it\'s the \"top level\' of the OpenAPI definition that links all the different files together. The `3.0` in the filename refers to this file being based on OpenAPI 3.0 as opposed to OpenAPI 3.1, which the tooling doesn\'t support yet. The `2.0.0` in the version field refers to the fact that there\'s already a `1.0.0` used for the legacy RAiD application (not this project).
|
|
5
|
+
*
|
|
6
|
+
* The version of the OpenAPI document: 2.0.0
|
|
7
|
+
* Contact: contact@raid.org
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
+
* https://openapi-generator.tech
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*/
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.ContributorIdentifierSchemeType = void 0;
|
|
15
|
+
var ContributorIdentifierSchemeType;
|
|
16
|
+
(function (ContributorIdentifierSchemeType) {
|
|
17
|
+
ContributorIdentifierSchemeType[ContributorIdentifierSchemeType["HttpsOrcidOrg"] = 'https://orcid.org/'] = "HttpsOrcidOrg";
|
|
18
|
+
})(ContributorIdentifierSchemeType = exports.ContributorIdentifierSchemeType || (exports.ContributorIdentifierSchemeType = {}));
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* RAID v2 API
|
|
4
|
+
* This file is where all the endpoint paths are defined, it\'s the \"top level\' of the OpenAPI definition that links all the different files together. The `3.0` in the filename refers to this file being based on OpenAPI 3.0 as opposed to OpenAPI 3.1, which the tooling doesn\'t support yet. The `2.0.0` in the version field refers to the fact that there\'s already a `1.0.0` used for the legacy RAiD application (not this project).
|
|
5
|
+
*
|
|
6
|
+
* The version of the OpenAPI document: 2.0.0
|
|
7
|
+
* Contact: contact@raid.org
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
+
* https://openapi-generator.tech
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*/
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.ContributorPosition = void 0;
|
|
15
|
+
class ContributorPosition {
|
|
16
|
+
'positionSchemaUri';
|
|
17
|
+
'position';
|
|
18
|
+
'startDate';
|
|
19
|
+
'endDate';
|
|
20
|
+
static discriminator = undefined;
|
|
21
|
+
static attributeTypeMap = [
|
|
22
|
+
{
|
|
23
|
+
"name": "positionSchemaUri",
|
|
24
|
+
"baseName": "positionSchemaUri",
|
|
25
|
+
"type": "ContributorPositionSchemeType"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "position",
|
|
29
|
+
"baseName": "position",
|
|
30
|
+
"type": "ContributorPositionRaidMetadataSchemaType"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "startDate",
|
|
34
|
+
"baseName": "startDate",
|
|
35
|
+
"type": "string"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "endDate",
|
|
39
|
+
"baseName": "endDate",
|
|
40
|
+
"type": "string"
|
|
41
|
+
}
|
|
42
|
+
];
|
|
43
|
+
static getAttributeTypeMap() {
|
|
44
|
+
return ContributorPosition.attributeTypeMap;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
exports.ContributorPosition = ContributorPosition;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* RAID v2 API
|
|
4
|
+
* This file is where all the endpoint paths are defined, it\'s the \"top level\' of the OpenAPI definition that links all the different files together. The `3.0` in the filename refers to this file being based on OpenAPI 3.0 as opposed to OpenAPI 3.1, which the tooling doesn\'t support yet. The `2.0.0` in the version field refers to the fact that there\'s already a `1.0.0` used for the legacy RAiD application (not this project).
|
|
5
|
+
*
|
|
6
|
+
* The version of the OpenAPI document: 2.0.0
|
|
7
|
+
* Contact: contact@raid.org
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
+
* https://openapi-generator.tech
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*/
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.ContributorPositionRaidMetadataSchemaType = void 0;
|
|
15
|
+
var ContributorPositionRaidMetadataSchemaType;
|
|
16
|
+
(function (ContributorPositionRaidMetadataSchemaType) {
|
|
17
|
+
ContributorPositionRaidMetadataSchemaType[ContributorPositionRaidMetadataSchemaType["Leader"] = 'Leader'] = "Leader";
|
|
18
|
+
ContributorPositionRaidMetadataSchemaType[ContributorPositionRaidMetadataSchemaType["ContactPerson"] = 'Contact Person'] = "ContactPerson";
|
|
19
|
+
ContributorPositionRaidMetadataSchemaType[ContributorPositionRaidMetadataSchemaType["PrincipalInvestigator"] = 'Principal Investigator'] = "PrincipalInvestigator";
|
|
20
|
+
ContributorPositionRaidMetadataSchemaType[ContributorPositionRaidMetadataSchemaType["CoInvestigator"] = 'Co-Investigator'] = "CoInvestigator";
|
|
21
|
+
ContributorPositionRaidMetadataSchemaType[ContributorPositionRaidMetadataSchemaType["OtherParticipant"] = 'Other Participant'] = "OtherParticipant";
|
|
22
|
+
})(ContributorPositionRaidMetadataSchemaType = exports.ContributorPositionRaidMetadataSchemaType || (exports.ContributorPositionRaidMetadataSchemaType = {}));
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* RAID v2 API
|
|
4
|
+
* This file is where all the endpoint paths are defined, it\'s the \"top level\' of the OpenAPI definition that links all the different files together. The `3.0` in the filename refers to this file being based on OpenAPI 3.0 as opposed to OpenAPI 3.1, which the tooling doesn\'t support yet. The `2.0.0` in the version field refers to the fact that there\'s already a `1.0.0` used for the legacy RAiD application (not this project).
|
|
5
|
+
*
|
|
6
|
+
* The version of the OpenAPI document: 2.0.0
|
|
7
|
+
* Contact: contact@raid.org
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
+
* https://openapi-generator.tech
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*/
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.ContributorPositionSchemeType = void 0;
|
|
15
|
+
var ContributorPositionSchemeType;
|
|
16
|
+
(function (ContributorPositionSchemeType) {
|
|
17
|
+
ContributorPositionSchemeType[ContributorPositionSchemeType["HttpsRaidOrg"] = 'https://raid.org/'] = "HttpsRaidOrg";
|
|
18
|
+
})(ContributorPositionSchemeType = exports.ContributorPositionSchemeType || (exports.ContributorPositionSchemeType = {}));
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* RAID v2 API
|
|
4
|
+
* This file is where all the endpoint paths are defined, it\'s the \"top level\' of the OpenAPI definition that links all the different files together. The `3.0` in the filename refers to this file being based on OpenAPI 3.0 as opposed to OpenAPI 3.1, which the tooling doesn\'t support yet. The `2.0.0` in the version field refers to the fact that there\'s already a `1.0.0` used for the legacy RAiD application (not this project).
|
|
5
|
+
*
|
|
6
|
+
* The version of the OpenAPI document: 2.0.0
|
|
7
|
+
* Contact: contact@raid.org
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
+
* https://openapi-generator.tech
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*/
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.ContributorRole = void 0;
|
|
15
|
+
class ContributorRole {
|
|
16
|
+
'roleSchemeUri';
|
|
17
|
+
'role';
|
|
18
|
+
static discriminator = undefined;
|
|
19
|
+
static attributeTypeMap = [
|
|
20
|
+
{
|
|
21
|
+
"name": "roleSchemeUri",
|
|
22
|
+
"baseName": "roleSchemeUri",
|
|
23
|
+
"type": "ContributorRoleSchemeType"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "role",
|
|
27
|
+
"baseName": "role",
|
|
28
|
+
"type": "ContributorRoleCreditNisoOrgType"
|
|
29
|
+
}
|
|
30
|
+
];
|
|
31
|
+
static getAttributeTypeMap() {
|
|
32
|
+
return ContributorRole.attributeTypeMap;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
exports.ContributorRole = ContributorRole;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* RAID v2 API
|
|
4
|
+
* This file is where all the endpoint paths are defined, it\'s the \"top level\' of the OpenAPI definition that links all the different files together. The `3.0` in the filename refers to this file being based on OpenAPI 3.0 as opposed to OpenAPI 3.1, which the tooling doesn\'t support yet. The `2.0.0` in the version field refers to the fact that there\'s already a `1.0.0` used for the legacy RAiD application (not this project).
|
|
5
|
+
*
|
|
6
|
+
* The version of the OpenAPI document: 2.0.0
|
|
7
|
+
* Contact: contact@raid.org
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
+
* https://openapi-generator.tech
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*/
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.ContributorRoleCreditNisoOrgType = void 0;
|
|
15
|
+
var ContributorRoleCreditNisoOrgType;
|
|
16
|
+
(function (ContributorRoleCreditNisoOrgType) {
|
|
17
|
+
ContributorRoleCreditNisoOrgType[ContributorRoleCreditNisoOrgType["Conceptualization"] = 'conceptualization'] = "Conceptualization";
|
|
18
|
+
ContributorRoleCreditNisoOrgType[ContributorRoleCreditNisoOrgType["DataCuration"] = 'data-curation'] = "DataCuration";
|
|
19
|
+
ContributorRoleCreditNisoOrgType[ContributorRoleCreditNisoOrgType["FormalAnalysis"] = 'formal-analysis'] = "FormalAnalysis";
|
|
20
|
+
ContributorRoleCreditNisoOrgType[ContributorRoleCreditNisoOrgType["FundingAcquisition"] = 'funding-acquisition'] = "FundingAcquisition";
|
|
21
|
+
ContributorRoleCreditNisoOrgType[ContributorRoleCreditNisoOrgType["Investigation"] = 'investigation'] = "Investigation";
|
|
22
|
+
ContributorRoleCreditNisoOrgType[ContributorRoleCreditNisoOrgType["Methodology"] = 'methodology'] = "Methodology";
|
|
23
|
+
ContributorRoleCreditNisoOrgType[ContributorRoleCreditNisoOrgType["ProjectAdministration"] = 'project-administration'] = "ProjectAdministration";
|
|
24
|
+
ContributorRoleCreditNisoOrgType[ContributorRoleCreditNisoOrgType["Resources"] = 'resources'] = "Resources";
|
|
25
|
+
ContributorRoleCreditNisoOrgType[ContributorRoleCreditNisoOrgType["Software"] = 'software'] = "Software";
|
|
26
|
+
ContributorRoleCreditNisoOrgType[ContributorRoleCreditNisoOrgType["Supervision"] = 'supervision'] = "Supervision";
|
|
27
|
+
ContributorRoleCreditNisoOrgType[ContributorRoleCreditNisoOrgType["Validation"] = 'validation'] = "Validation";
|
|
28
|
+
ContributorRoleCreditNisoOrgType[ContributorRoleCreditNisoOrgType["Visualization"] = 'visualization'] = "Visualization";
|
|
29
|
+
ContributorRoleCreditNisoOrgType[ContributorRoleCreditNisoOrgType["WritingOriginalDraft"] = 'writing-original-draft'] = "WritingOriginalDraft";
|
|
30
|
+
ContributorRoleCreditNisoOrgType[ContributorRoleCreditNisoOrgType["WritingReviewEditing"] = 'writing-review-editing'] = "WritingReviewEditing";
|
|
31
|
+
})(ContributorRoleCreditNisoOrgType = exports.ContributorRoleCreditNisoOrgType || (exports.ContributorRoleCreditNisoOrgType = {}));
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* RAID v2 API
|
|
4
|
+
* This file is where all the endpoint paths are defined, it\'s the \"top level\' of the OpenAPI definition that links all the different files together. The `3.0` in the filename refers to this file being based on OpenAPI 3.0 as opposed to OpenAPI 3.1, which the tooling doesn\'t support yet. The `2.0.0` in the version field refers to the fact that there\'s already a `1.0.0` used for the legacy RAiD application (not this project).
|
|
5
|
+
*
|
|
6
|
+
* The version of the OpenAPI document: 2.0.0
|
|
7
|
+
* Contact: contact@raid.org
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
+
* https://openapi-generator.tech
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*/
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.ContributorRoleSchemeType = void 0;
|
|
15
|
+
var ContributorRoleSchemeType;
|
|
16
|
+
(function (ContributorRoleSchemeType) {
|
|
17
|
+
ContributorRoleSchemeType[ContributorRoleSchemeType["HttpsCreditNisoOrg"] = 'https://credit.niso.org/'] = "HttpsCreditNisoOrg";
|
|
18
|
+
})(ContributorRoleSchemeType = exports.ContributorRoleSchemeType || (exports.ContributorRoleSchemeType = {}));
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* RAID v2 API
|
|
4
|
+
* This file is where all the endpoint paths are defined, it\'s the \"top level\' of the OpenAPI definition that links all the different files together. The `3.0` in the filename refers to this file being based on OpenAPI 3.0 as opposed to OpenAPI 3.1, which the tooling doesn\'t support yet. The `2.0.0` in the version field refers to the fact that there\'s already a `1.0.0` used for the legacy RAiD application (not this project).
|
|
5
|
+
*
|
|
6
|
+
* The version of the OpenAPI document: 2.0.0
|
|
7
|
+
* Contact: contact@raid.org
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
+
* https://openapi-generator.tech
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*/
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.DatesBlock = void 0;
|
|
15
|
+
class DatesBlock {
|
|
16
|
+
'startDate';
|
|
17
|
+
'endDate';
|
|
18
|
+
static discriminator = undefined;
|
|
19
|
+
static attributeTypeMap = [
|
|
20
|
+
{
|
|
21
|
+
"name": "startDate",
|
|
22
|
+
"baseName": "startDate",
|
|
23
|
+
"type": "string"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "endDate",
|
|
27
|
+
"baseName": "endDate",
|
|
28
|
+
"type": "string"
|
|
29
|
+
}
|
|
30
|
+
];
|
|
31
|
+
static getAttributeTypeMap() {
|
|
32
|
+
return DatesBlock.attributeTypeMap;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
exports.DatesBlock = DatesBlock;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* RAID v2 API
|
|
4
|
+
* This file is where all the endpoint paths are defined, it\'s the \"top level\' of the OpenAPI definition that links all the different files together. The `3.0` in the filename refers to this file being based on OpenAPI 3.0 as opposed to OpenAPI 3.1, which the tooling doesn\'t support yet. The `2.0.0` in the version field refers to the fact that there\'s already a `1.0.0` used for the legacy RAiD application (not this project).
|
|
5
|
+
*
|
|
6
|
+
* The version of the OpenAPI document: 2.0.0
|
|
7
|
+
* Contact: contact@raid.org
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
+
* https://openapi-generator.tech
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*/
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.DescriptionBlock = void 0;
|
|
15
|
+
class DescriptionBlock {
|
|
16
|
+
'description';
|
|
17
|
+
'type';
|
|
18
|
+
static discriminator = undefined;
|
|
19
|
+
static attributeTypeMap = [
|
|
20
|
+
{
|
|
21
|
+
"name": "description",
|
|
22
|
+
"baseName": "description",
|
|
23
|
+
"type": "string"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "type",
|
|
27
|
+
"baseName": "type",
|
|
28
|
+
"type": "DescriptionType"
|
|
29
|
+
}
|
|
30
|
+
];
|
|
31
|
+
static getAttributeTypeMap() {
|
|
32
|
+
return DescriptionBlock.attributeTypeMap;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
exports.DescriptionBlock = DescriptionBlock;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* RAID v2 API
|
|
4
|
+
* This file is where all the endpoint paths are defined, it\'s the \"top level\' of the OpenAPI definition that links all the different files together. The `3.0` in the filename refers to this file being based on OpenAPI 3.0 as opposed to OpenAPI 3.1, which the tooling doesn\'t support yet. The `2.0.0` in the version field refers to the fact that there\'s already a `1.0.0` used for the legacy RAiD application (not this project).
|
|
5
|
+
*
|
|
6
|
+
* The version of the OpenAPI document: 2.0.0
|
|
7
|
+
* Contact: contact@raid.org
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
+
* https://openapi-generator.tech
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*/
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.DescriptionType = void 0;
|
|
15
|
+
var DescriptionType;
|
|
16
|
+
(function (DescriptionType) {
|
|
17
|
+
DescriptionType[DescriptionType["PrimaryDescription"] = 'Primary Description'] = "PrimaryDescription";
|
|
18
|
+
DescriptionType[DescriptionType["AlternativeDescription"] = 'Alternative Description'] = "AlternativeDescription";
|
|
19
|
+
})(DescriptionType = exports.DescriptionType || (exports.DescriptionType = {}));
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* RAID v2 API
|
|
4
|
+
* This file is where all the endpoint paths are defined, it\'s the \"top level\' of the OpenAPI definition that links all the different files together. The `3.0` in the filename refers to this file being based on OpenAPI 3.0 as opposed to OpenAPI 3.1, which the tooling doesn\'t support yet. The `2.0.0` in the version field refers to the fact that there\'s already a `1.0.0` used for the legacy RAiD application (not this project).
|
|
5
|
+
*
|
|
6
|
+
* The version of the OpenAPI document: 2.0.0
|
|
7
|
+
* Contact: contact@raid.org
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
+
* https://openapi-generator.tech
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*/
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.GenerateApiTokenRequest = void 0;
|
|
15
|
+
class GenerateApiTokenRequest {
|
|
16
|
+
'apiKeyId';
|
|
17
|
+
static discriminator = undefined;
|
|
18
|
+
static attributeTypeMap = [
|
|
19
|
+
{
|
|
20
|
+
"name": "apiKeyId",
|
|
21
|
+
"baseName": "apiKeyId",
|
|
22
|
+
"type": "number"
|
|
23
|
+
}
|
|
24
|
+
];
|
|
25
|
+
static getAttributeTypeMap() {
|
|
26
|
+
return GenerateApiTokenRequest.attributeTypeMap;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
exports.GenerateApiTokenRequest = GenerateApiTokenRequest;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* RAID v2 API
|
|
4
|
+
* This file is where all the endpoint paths are defined, it\'s the \"top level\' of the OpenAPI definition that links all the different files together. The `3.0` in the filename refers to this file being based on OpenAPI 3.0 as opposed to OpenAPI 3.1, which the tooling doesn\'t support yet. The `2.0.0` in the version field refers to the fact that there\'s already a `1.0.0` used for the legacy RAiD application (not this project).
|
|
5
|
+
*
|
|
6
|
+
* The version of the OpenAPI document: 2.0.0
|
|
7
|
+
* Contact: contact@raid.org
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
+
* https://openapi-generator.tech
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*/
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.GenerateApiTokenResponse = void 0;
|
|
15
|
+
class GenerateApiTokenResponse {
|
|
16
|
+
'apiKeyId';
|
|
17
|
+
'apiToken';
|
|
18
|
+
static discriminator = undefined;
|
|
19
|
+
static attributeTypeMap = [
|
|
20
|
+
{
|
|
21
|
+
"name": "apiKeyId",
|
|
22
|
+
"baseName": "apiKeyId",
|
|
23
|
+
"type": "number"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "apiToken",
|
|
27
|
+
"baseName": "apiToken",
|
|
28
|
+
"type": "string"
|
|
29
|
+
}
|
|
30
|
+
];
|
|
31
|
+
static getAttributeTypeMap() {
|
|
32
|
+
return GenerateApiTokenResponse.attributeTypeMap;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
exports.GenerateApiTokenResponse = GenerateApiTokenResponse;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* RAID v2 API
|
|
4
|
+
* This file is where all the endpoint paths are defined, it\'s the \"top level\' of the OpenAPI definition that links all the different files together. The `3.0` in the filename refers to this file being based on OpenAPI 3.0 as opposed to OpenAPI 3.1, which the tooling doesn\'t support yet. The `2.0.0` in the version field refers to the fact that there\'s already a `1.0.0` used for the legacy RAiD application (not this project).
|
|
5
|
+
*
|
|
6
|
+
* The version of the OpenAPI document: 2.0.0
|
|
7
|
+
* Contact: contact@raid.org
|
|
8
|
+
*
|
|
9
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
+
* https://openapi-generator.tech
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*/
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.IdBlock = void 0;
|
|
15
|
+
class IdBlock {
|
|
16
|
+
/**
|
|
17
|
+
* The handle, e.g. xxx.yyy/zzz
|
|
18
|
+
*/
|
|
19
|
+
'identifier';
|
|
20
|
+
'identifierTypeUri';
|
|
21
|
+
/**
|
|
22
|
+
* The URL for the raid via the CNRI handle system, e.g https://hdl.handle.net/xxx.yyy/zzz
|
|
23
|
+
*/
|
|
24
|
+
'globalUrl';
|
|
25
|
+
/**
|
|
26
|
+
* The URL for the raid via the minting raid agency system, e.g https://demo.raido-infra.com/handle/10378.1/1695863
|
|
27
|
+
*/
|
|
28
|
+
'raidAgencyUrl';
|
|
29
|
+
/**
|
|
30
|
+
* Identifier of the raid agency system that controls the raid, e.g demo.raido-infra.com
|
|
31
|
+
*/
|
|
32
|
+
'raidAgencyIdentifier';
|
|
33
|
+
static discriminator = undefined;
|
|
34
|
+
static attributeTypeMap = [
|
|
35
|
+
{
|
|
36
|
+
"name": "identifier",
|
|
37
|
+
"baseName": "identifier",
|
|
38
|
+
"type": "string"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"name": "identifierTypeUri",
|
|
42
|
+
"baseName": "identifierTypeUri",
|
|
43
|
+
"type": "string"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"name": "globalUrl",
|
|
47
|
+
"baseName": "globalUrl",
|
|
48
|
+
"type": "string"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"name": "raidAgencyUrl",
|
|
52
|
+
"baseName": "raidAgencyUrl",
|
|
53
|
+
"type": "string"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"name": "raidAgencyIdentifier",
|
|
57
|
+
"baseName": "raidAgencyIdentifier",
|
|
58
|
+
"type": "string"
|
|
59
|
+
}
|
|
60
|
+
];
|
|
61
|
+
static getAttributeTypeMap() {
|
|
62
|
+
return IdBlock.attributeTypeMap;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
exports.IdBlock = IdBlock;
|