@researchdatabox/raido-openapi-generated-node 0.0.1 → 0.0.2
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 +1 -1
- package/dist/api/adminExperimentalApi.js +35 -35
- package/dist/api/apis.js +5 -3
- package/dist/api/basicRaidExperimentalApi.js +152 -14
- package/dist/api/publicExperimentalApi.js +5 -5
- package/dist/api/raidoStableV1Api.js +369 -0
- package/dist/api/{unauthzExperimentalApi.js → unapprovedExperimentalApi.js} +17 -17
- package/dist/model/access.js +44 -0
- package/dist/model/accessBlock.js +1 -1
- package/dist/model/accessStatement.js +35 -0
- package/dist/model/accessType.js +1 -1
- package/dist/model/accessTypeWithSchemaUri.js +35 -0
- package/dist/model/alternateIdentifier.js +35 -0
- package/dist/model/alternateIdentifierBlock.js +35 -0
- package/dist/model/alternateUrl.js +29 -0
- package/dist/model/alternateUrlBlock.js +1 -1
- package/dist/model/apiKey.js +1 -1
- package/dist/model/appUser.js +1 -1
- package/dist/model/appUserExtraV1.js +1 -1
- package/dist/model/authzRequestExtraV1.js +1 -1
- package/dist/model/authzRequestStatus.js +1 -1
- package/dist/model/closedRaid.js +35 -0
- package/dist/model/contributor.js +59 -0
- package/dist/model/contributorBlock.js +1 -1
- package/dist/model/contributorIdentifierSchemeType.js +1 -1
- package/dist/model/contributorPosition.js +1 -1
- package/dist/model/contributorPositionRaidMetadataSchemaType.js +1 -1
- package/dist/model/contributorPositionSchemeType.js +1 -1
- package/dist/model/contributorPositionWithSchemaUri.js +47 -0
- package/dist/model/contributorRole.js +1 -1
- package/dist/model/contributorRoleCreditNisoOrgType.js +1 -1
- package/dist/model/contributorRoleSchemeType.js +1 -1
- package/dist/model/contributorRoleWithSchemaUri.js +35 -0
- package/dist/model/datesBlock.js +1 -1
- package/dist/model/description.js +41 -0
- package/dist/model/descriptionBlock.js +1 -1
- package/dist/model/descriptionType.js +1 -1
- package/dist/model/descriptionTypeWithSchemaUri.js +35 -0
- package/dist/model/failureResponse.js +53 -0
- package/dist/model/generateApiTokenRequest.js +1 -1
- package/dist/model/generateApiTokenResponse.js +1 -1
- package/dist/model/id.js +89 -0
- package/dist/model/idBlock.js +41 -11
- package/dist/model/language.js +35 -0
- package/dist/model/legacyMetadataSchemaV1.js +1 -1
- package/dist/model/migrateLegacyRaidRequest.js +1 -1
- package/dist/model/migrateLegacyRaidRequestMintRequest.js +1 -1
- package/dist/model/mintRaidoSchemaV1Request.js +1 -1
- package/dist/model/mintRaidoSchemaV1RequestMintRequest.js +1 -1
- package/dist/model/mintResponse.js +1 -1
- package/dist/model/modelDate.js +38 -0
- package/dist/model/models.js +132 -0
- package/dist/model/organisation.js +41 -0
- package/dist/model/organisationBlock.js +1 -1
- package/dist/model/organisationIdentifierSchemeType.js +1 -1
- package/dist/model/organisationRole.js +1 -1
- package/dist/model/organisationRoleSchemeType.js +1 -1
- package/dist/model/organisationRoleType.js +1 -1
- package/dist/model/organisationRoleWithSchemaUri.js +47 -0
- package/dist/model/owner.js +47 -0
- package/dist/model/publicClosedMetadataSchemaV1.js +1 -1
- package/dist/model/publicRaidMetadataSchemaV1.js +37 -1
- package/dist/model/publicReadRaidMetadataResponseV1.js +37 -1
- package/dist/model/publicReadRaidResponseV3.js +1 -1
- package/dist/model/publicServicePoint.js +1 -1
- package/dist/model/raidCreateRequest.js +107 -0
- package/dist/model/raidDto.js +107 -0
- package/dist/model/raidListItemV2.js +1 -1
- package/dist/model/raidListItemV3.js +53 -0
- package/dist/model/raidListRequestV2.js +1 -1
- package/dist/model/raidUpdateRequest.js +107 -0
- package/dist/model/raidoMetadataSchemaV1.js +37 -1
- package/dist/model/raidoMetadataSchemaV2.js +116 -0
- package/dist/model/raidoMetaschema.js +1 -1
- package/dist/model/raidoMetaschemaV2.js +23 -0
- package/dist/model/readRaidResponseV2.js +1 -1
- package/dist/model/readRaidV2Request.js +1 -1
- package/dist/model/registrationAgency.js +38 -0
- package/dist/model/relatedObject.js +47 -0
- package/dist/model/relatedObjectBlock.js +53 -0
- package/dist/model/relatedObjectCategory.js +35 -0
- package/dist/model/relatedObjectType.js +35 -0
- package/dist/model/relatedRaid.js +35 -0
- package/dist/model/relatedRaidBlock.js +41 -0
- package/dist/model/relatedRaidType.js +35 -0
- package/dist/model/servicePoint.js +13 -1
- package/dist/model/spatialCoverage.js +47 -0
- package/dist/model/spatialCoverageBlock.js +41 -0
- package/dist/model/subject.js +41 -0
- package/dist/model/subjectBlock.js +41 -0
- package/dist/model/subjectKeyword.js +35 -0
- package/dist/model/title.js +53 -0
- package/dist/model/titleBlock.js +1 -1
- package/dist/model/titleType.js +1 -1
- package/dist/model/titleTypeWithSchemaUri.js +35 -0
- package/dist/model/traditionalKnowledgeLabel.js +35 -0
- package/dist/model/traditionalKnowledgeLabelBlock.js +29 -0
- package/dist/model/updateAuthzRequest.js +1 -4
- package/dist/model/updateAuthzRequestStatus.js +4 -1
- package/dist/model/updateAuthzResponse.js +7 -1
- package/dist/model/updateRaidoSchemaV1Request.js +1 -1
- package/dist/model/updateRaidoSchemaV2Request.js +29 -0
- package/dist/model/validationFailure.js +1 -1
- package/dist/model/validationFailureResponse.js +59 -0
- package/dist/model/versionResult.js +1 -1
- package/package.json +3 -3
|
@@ -0,0 +1,107 @@
|
|
|
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 used in this project, see ../idl-raid-v1). Note that swagger ui doesn\'t currently work with our spec, see https://github.com/swagger-api/swagger-ui/issues/7724 But the spec works fine with openapi-generator tooling.
|
|
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.RaidUpdateRequest = void 0;
|
|
15
|
+
class RaidUpdateRequest {
|
|
16
|
+
'identifier';
|
|
17
|
+
'title';
|
|
18
|
+
'date';
|
|
19
|
+
'description';
|
|
20
|
+
'access';
|
|
21
|
+
'alternateUrl';
|
|
22
|
+
'contributor';
|
|
23
|
+
'organisation';
|
|
24
|
+
'subject';
|
|
25
|
+
'relatedRaid';
|
|
26
|
+
'relatedObject';
|
|
27
|
+
'alternateIdentifier';
|
|
28
|
+
'spatialCoverage';
|
|
29
|
+
'traditionalKnowledgeLabel';
|
|
30
|
+
static discriminator = undefined;
|
|
31
|
+
static attributeTypeMap = [
|
|
32
|
+
{
|
|
33
|
+
"name": "identifier",
|
|
34
|
+
"baseName": "identifier",
|
|
35
|
+
"type": "Id"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "title",
|
|
39
|
+
"baseName": "title",
|
|
40
|
+
"type": "Array<Title>"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "date",
|
|
44
|
+
"baseName": "date",
|
|
45
|
+
"type": "ModelDate"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"name": "description",
|
|
49
|
+
"baseName": "description",
|
|
50
|
+
"type": "Array<Description>"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"name": "access",
|
|
54
|
+
"baseName": "access",
|
|
55
|
+
"type": "Access"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"name": "alternateUrl",
|
|
59
|
+
"baseName": "alternateUrl",
|
|
60
|
+
"type": "Array<AlternateUrl>"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"name": "contributor",
|
|
64
|
+
"baseName": "contributor",
|
|
65
|
+
"type": "Array<Contributor>"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"name": "organisation",
|
|
69
|
+
"baseName": "organisation",
|
|
70
|
+
"type": "Array<Organisation>"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"name": "subject",
|
|
74
|
+
"baseName": "subject",
|
|
75
|
+
"type": "Array<Subject>"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"name": "relatedRaid",
|
|
79
|
+
"baseName": "relatedRaid",
|
|
80
|
+
"type": "Array<RelatedRaid>"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"name": "relatedObject",
|
|
84
|
+
"baseName": "relatedObject",
|
|
85
|
+
"type": "Array<RelatedObject>"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"name": "alternateIdentifier",
|
|
89
|
+
"baseName": "alternateIdentifier",
|
|
90
|
+
"type": "Array<AlternateIdentifier>"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"name": "spatialCoverage",
|
|
94
|
+
"baseName": "spatialCoverage",
|
|
95
|
+
"type": "Array<SpatialCoverage>"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"name": "traditionalKnowledgeLabel",
|
|
99
|
+
"baseName": "traditionalKnowledgeLabel",
|
|
100
|
+
"type": "Array<TraditionalKnowledgeLabel>"
|
|
101
|
+
}
|
|
102
|
+
];
|
|
103
|
+
static getAttributeTypeMap() {
|
|
104
|
+
return RaidUpdateRequest.attributeTypeMap;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
exports.RaidUpdateRequest = RaidUpdateRequest;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
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).
|
|
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 used in this project, see ../idl-raid-v1). Note that swagger ui doesn\'t currently work with our spec, see https://github.com/swagger-api/swagger-ui/issues/7724 But the spec works fine with openapi-generator tooling.
|
|
5
5
|
*
|
|
6
6
|
* The version of the OpenAPI document: 2.0.0
|
|
7
7
|
* Contact: contact@raid.org
|
|
@@ -25,6 +25,12 @@ class RaidoMetadataSchemaV1 {
|
|
|
25
25
|
'alternateUrls';
|
|
26
26
|
'contributors';
|
|
27
27
|
'organisations';
|
|
28
|
+
'subjects';
|
|
29
|
+
'relatedRaids';
|
|
30
|
+
'relatedObjects';
|
|
31
|
+
'alternateIdentifiers';
|
|
32
|
+
'spatialCoverages';
|
|
33
|
+
'traditionalKnowledgeLabels';
|
|
28
34
|
static discriminator = undefined;
|
|
29
35
|
static attributeTypeMap = [
|
|
30
36
|
{
|
|
@@ -71,6 +77,36 @@ class RaidoMetadataSchemaV1 {
|
|
|
71
77
|
"name": "organisations",
|
|
72
78
|
"baseName": "organisations",
|
|
73
79
|
"type": "Array<OrganisationBlock>"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"name": "subjects",
|
|
83
|
+
"baseName": "subjects",
|
|
84
|
+
"type": "Array<SubjectBlock>"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"name": "relatedRaids",
|
|
88
|
+
"baseName": "relatedRaids",
|
|
89
|
+
"type": "Array<RelatedRaidBlock>"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"name": "relatedObjects",
|
|
93
|
+
"baseName": "relatedObjects",
|
|
94
|
+
"type": "Array<RelatedObjectBlock>"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"name": "alternateIdentifiers",
|
|
98
|
+
"baseName": "alternateIdentifiers",
|
|
99
|
+
"type": "Array<AlternateIdentifierBlock>"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"name": "spatialCoverages",
|
|
103
|
+
"baseName": "spatialCoverages",
|
|
104
|
+
"type": "Array<SpatialCoverageBlock>"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"name": "traditionalKnowledgeLabels",
|
|
108
|
+
"baseName": "traditionalKnowledgeLabels",
|
|
109
|
+
"type": "Array<TraditionalKnowledgeLabelBlock>"
|
|
74
110
|
}
|
|
75
111
|
];
|
|
76
112
|
static getAttributeTypeMap() {
|
|
@@ -0,0 +1,116 @@
|
|
|
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 used in this project, see ../idl-raid-v1). Note that swagger ui doesn\'t currently work with our spec, see https://github.com/swagger-api/swagger-ui/issues/7724 But the spec works fine with openapi-generator tooling.
|
|
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.RaidoMetadataSchemaV2 = void 0;
|
|
15
|
+
/**
|
|
16
|
+
* This type is expected to be used for Raido endpoint stuff. It can diverge from the \"raid standard\", if needed. There is a companion `PublicRaidMetadataSchemaV1` type that\'s intended to stick more closely to the standard.
|
|
17
|
+
*/
|
|
18
|
+
class RaidoMetadataSchemaV2 {
|
|
19
|
+
'metadataSchema';
|
|
20
|
+
'id';
|
|
21
|
+
'titles';
|
|
22
|
+
'dates';
|
|
23
|
+
'descriptions';
|
|
24
|
+
'access';
|
|
25
|
+
'alternateUrls';
|
|
26
|
+
'contributors';
|
|
27
|
+
'organisations';
|
|
28
|
+
'subjects';
|
|
29
|
+
'relatedRaids';
|
|
30
|
+
'relatedObjects';
|
|
31
|
+
'alternateIdentifiers';
|
|
32
|
+
'spatialCoverages';
|
|
33
|
+
'traditionalKnowledgeLabels';
|
|
34
|
+
static discriminator = undefined;
|
|
35
|
+
static attributeTypeMap = [
|
|
36
|
+
{
|
|
37
|
+
"name": "metadataSchema",
|
|
38
|
+
"baseName": "metadataSchema",
|
|
39
|
+
"type": "RaidoMetaschemaV2"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"name": "id",
|
|
43
|
+
"baseName": "id",
|
|
44
|
+
"type": "IdBlock"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"name": "titles",
|
|
48
|
+
"baseName": "titles",
|
|
49
|
+
"type": "Array<TitleBlock>"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"name": "dates",
|
|
53
|
+
"baseName": "dates",
|
|
54
|
+
"type": "DatesBlock"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"name": "descriptions",
|
|
58
|
+
"baseName": "descriptions",
|
|
59
|
+
"type": "Array<DescriptionBlock>"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"name": "access",
|
|
63
|
+
"baseName": "access",
|
|
64
|
+
"type": "AccessBlock"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"name": "alternateUrls",
|
|
68
|
+
"baseName": "alternateUrls",
|
|
69
|
+
"type": "Array<AlternateUrlBlock>"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"name": "contributors",
|
|
73
|
+
"baseName": "contributors",
|
|
74
|
+
"type": "Array<ContributorBlock>"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"name": "organisations",
|
|
78
|
+
"baseName": "organisations",
|
|
79
|
+
"type": "Array<OrganisationBlock>"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"name": "subjects",
|
|
83
|
+
"baseName": "subjects",
|
|
84
|
+
"type": "Array<SubjectBlock>"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"name": "relatedRaids",
|
|
88
|
+
"baseName": "relatedRaids",
|
|
89
|
+
"type": "Array<RelatedRaidBlock>"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"name": "relatedObjects",
|
|
93
|
+
"baseName": "relatedObjects",
|
|
94
|
+
"type": "Array<RelatedObjectBlock>"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"name": "alternateIdentifiers",
|
|
98
|
+
"baseName": "alternateIdentifiers",
|
|
99
|
+
"type": "Array<AlternateIdentifierBlock>"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"name": "spatialCoverages",
|
|
103
|
+
"baseName": "spatialCoverages",
|
|
104
|
+
"type": "Array<SpatialCoverageBlock>"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"name": "traditionalKnowledgeLabels",
|
|
108
|
+
"baseName": "traditionalKnowledgeLabels",
|
|
109
|
+
"type": "Array<TraditionalKnowledgeLabelBlock>"
|
|
110
|
+
}
|
|
111
|
+
];
|
|
112
|
+
static getAttributeTypeMap() {
|
|
113
|
+
return RaidoMetadataSchemaV2.attributeTypeMap;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
exports.RaidoMetadataSchemaV2 = RaidoMetadataSchemaV2;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
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).
|
|
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 used in this project, see ../idl-raid-v1). Note that swagger ui doesn\'t currently work with our spec, see https://github.com/swagger-api/swagger-ui/issues/7724 But the spec works fine with openapi-generator tooling.
|
|
5
5
|
*
|
|
6
6
|
* The version of the OpenAPI document: 2.0.0
|
|
7
7
|
* Contact: contact@raid.org
|
|
@@ -0,0 +1,23 @@
|
|
|
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 used in this project, see ../idl-raid-v1). Note that swagger ui doesn\'t currently work with our spec, see https://github.com/swagger-api/swagger-ui/issues/7724 But the spec works fine with openapi-generator tooling.
|
|
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.RaidoMetaschemaV2 = void 0;
|
|
15
|
+
/**
|
|
16
|
+
* \"Metaschema\" is the enumeration of different \"Metadata schema\" that Raido supports. The values are currently match the discriminator type names used for returning metadata, but they don\'t have to.
|
|
17
|
+
*/
|
|
18
|
+
var RaidoMetaschemaV2;
|
|
19
|
+
(function (RaidoMetaschemaV2) {
|
|
20
|
+
RaidoMetaschemaV2[RaidoMetaschemaV2["RaidoMetadataSchemaV2"] = 'RaidoMetadataSchemaV2'] = "RaidoMetadataSchemaV2";
|
|
21
|
+
RaidoMetaschemaV2[RaidoMetaschemaV2["RaidoMetadataSchemaV1"] = 'RaidoMetadataSchemaV1'] = "RaidoMetadataSchemaV1";
|
|
22
|
+
RaidoMetaschemaV2[RaidoMetaschemaV2["LegacyMetadataSchemaV1"] = 'LegacyMetadataSchemaV1'] = "LegacyMetadataSchemaV1";
|
|
23
|
+
})(RaidoMetaschemaV2 = exports.RaidoMetaschemaV2 || (exports.RaidoMetaschemaV2 = {}));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
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).
|
|
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 used in this project, see ../idl-raid-v1). Note that swagger ui doesn\'t currently work with our spec, see https://github.com/swagger-api/swagger-ui/issues/7724 But the spec works fine with openapi-generator tooling.
|
|
5
5
|
*
|
|
6
6
|
* The version of the OpenAPI document: 2.0.0
|
|
7
7
|
* Contact: contact@raid.org
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
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).
|
|
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 used in this project, see ../idl-raid-v1). Note that swagger ui doesn\'t currently work with our spec, see https://github.com/swagger-api/swagger-ui/issues/7724 But the spec works fine with openapi-generator tooling.
|
|
5
5
|
*
|
|
6
6
|
* The version of the OpenAPI document: 2.0.0
|
|
7
7
|
* Contact: contact@raid.org
|
|
@@ -0,0 +1,38 @@
|
|
|
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 used in this project, see ../idl-raid-v1). Note that swagger ui doesn\'t currently work with our spec, see https://github.com/swagger-api/swagger-ui/issues/7724 But the spec works fine with openapi-generator tooling.
|
|
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.RegistrationAgency = void 0;
|
|
15
|
+
/**
|
|
16
|
+
* ROR that identifies the organisation that operates the raid registration agency software that minted this raid.
|
|
17
|
+
*/
|
|
18
|
+
class RegistrationAgency {
|
|
19
|
+
'id';
|
|
20
|
+
'schemaUri';
|
|
21
|
+
static discriminator = undefined;
|
|
22
|
+
static attributeTypeMap = [
|
|
23
|
+
{
|
|
24
|
+
"name": "id",
|
|
25
|
+
"baseName": "id",
|
|
26
|
+
"type": "string"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "schemaUri",
|
|
30
|
+
"baseName": "schemaUri",
|
|
31
|
+
"type": "string"
|
|
32
|
+
}
|
|
33
|
+
];
|
|
34
|
+
static getAttributeTypeMap() {
|
|
35
|
+
return RegistrationAgency.attributeTypeMap;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
exports.RegistrationAgency = RegistrationAgency;
|
|
@@ -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 used in this project, see ../idl-raid-v1). Note that swagger ui doesn\'t currently work with our spec, see https://github.com/swagger-api/swagger-ui/issues/7724 But the spec works fine with openapi-generator tooling.
|
|
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.RelatedObject = void 0;
|
|
15
|
+
class RelatedObject {
|
|
16
|
+
'id';
|
|
17
|
+
'schemaUri';
|
|
18
|
+
'type';
|
|
19
|
+
'category';
|
|
20
|
+
static discriminator = undefined;
|
|
21
|
+
static attributeTypeMap = [
|
|
22
|
+
{
|
|
23
|
+
"name": "id",
|
|
24
|
+
"baseName": "id",
|
|
25
|
+
"type": "string"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "schemaUri",
|
|
29
|
+
"baseName": "schemaUri",
|
|
30
|
+
"type": "string"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "type",
|
|
34
|
+
"baseName": "type",
|
|
35
|
+
"type": "RelatedObjectType"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "category",
|
|
39
|
+
"baseName": "category",
|
|
40
|
+
"type": "RelatedObjectCategory"
|
|
41
|
+
}
|
|
42
|
+
];
|
|
43
|
+
static getAttributeTypeMap() {
|
|
44
|
+
return RelatedObject.attributeTypeMap;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
exports.RelatedObject = RelatedObject;
|
|
@@ -0,0 +1,53 @@
|
|
|
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 used in this project, see ../idl-raid-v1). Note that swagger ui doesn\'t currently work with our spec, see https://github.com/swagger-api/swagger-ui/issues/7724 But the spec works fine with openapi-generator tooling.
|
|
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.RelatedObjectBlock = void 0;
|
|
15
|
+
class RelatedObjectBlock {
|
|
16
|
+
'relatedObject';
|
|
17
|
+
'relatedObjectSchemeUri';
|
|
18
|
+
'relatedObjectType';
|
|
19
|
+
'relatedObjectTypeSchemeUri';
|
|
20
|
+
'relatedObjectCategory';
|
|
21
|
+
static discriminator = undefined;
|
|
22
|
+
static attributeTypeMap = [
|
|
23
|
+
{
|
|
24
|
+
"name": "relatedObject",
|
|
25
|
+
"baseName": "relatedObject",
|
|
26
|
+
"type": "string"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "relatedObjectSchemeUri",
|
|
30
|
+
"baseName": "relatedObjectSchemeUri",
|
|
31
|
+
"type": "string"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"name": "relatedObjectType",
|
|
35
|
+
"baseName": "relatedObjectType",
|
|
36
|
+
"type": "string"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "relatedObjectTypeSchemeUri",
|
|
40
|
+
"baseName": "relatedObjectTypeSchemeUri",
|
|
41
|
+
"type": "string"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "relatedObjectCategory",
|
|
45
|
+
"baseName": "relatedObjectCategory",
|
|
46
|
+
"type": "string"
|
|
47
|
+
}
|
|
48
|
+
];
|
|
49
|
+
static getAttributeTypeMap() {
|
|
50
|
+
return RelatedObjectBlock.attributeTypeMap;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
exports.RelatedObjectBlock = RelatedObjectBlock;
|
|
@@ -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 used in this project, see ../idl-raid-v1). Note that swagger ui doesn\'t currently work with our spec, see https://github.com/swagger-api/swagger-ui/issues/7724 But the spec works fine with openapi-generator tooling.
|
|
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.RelatedObjectCategory = void 0;
|
|
15
|
+
class RelatedObjectCategory {
|
|
16
|
+
'id';
|
|
17
|
+
'schemaUri';
|
|
18
|
+
static discriminator = undefined;
|
|
19
|
+
static attributeTypeMap = [
|
|
20
|
+
{
|
|
21
|
+
"name": "id",
|
|
22
|
+
"baseName": "id",
|
|
23
|
+
"type": "string"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "schemaUri",
|
|
27
|
+
"baseName": "schemaUri",
|
|
28
|
+
"type": "string"
|
|
29
|
+
}
|
|
30
|
+
];
|
|
31
|
+
static getAttributeTypeMap() {
|
|
32
|
+
return RelatedObjectCategory.attributeTypeMap;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
exports.RelatedObjectCategory = RelatedObjectCategory;
|
|
@@ -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 used in this project, see ../idl-raid-v1). Note that swagger ui doesn\'t currently work with our spec, see https://github.com/swagger-api/swagger-ui/issues/7724 But the spec works fine with openapi-generator tooling.
|
|
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.RelatedObjectType = void 0;
|
|
15
|
+
class RelatedObjectType {
|
|
16
|
+
'id';
|
|
17
|
+
'schemaUri';
|
|
18
|
+
static discriminator = undefined;
|
|
19
|
+
static attributeTypeMap = [
|
|
20
|
+
{
|
|
21
|
+
"name": "id",
|
|
22
|
+
"baseName": "id",
|
|
23
|
+
"type": "string"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "schemaUri",
|
|
27
|
+
"baseName": "schemaUri",
|
|
28
|
+
"type": "string"
|
|
29
|
+
}
|
|
30
|
+
];
|
|
31
|
+
static getAttributeTypeMap() {
|
|
32
|
+
return RelatedObjectType.attributeTypeMap;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
exports.RelatedObjectType = RelatedObjectType;
|
|
@@ -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 used in this project, see ../idl-raid-v1). Note that swagger ui doesn\'t currently work with our spec, see https://github.com/swagger-api/swagger-ui/issues/7724 But the spec works fine with openapi-generator tooling.
|
|
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.RelatedRaid = void 0;
|
|
15
|
+
class RelatedRaid {
|
|
16
|
+
'id';
|
|
17
|
+
'type';
|
|
18
|
+
static discriminator = undefined;
|
|
19
|
+
static attributeTypeMap = [
|
|
20
|
+
{
|
|
21
|
+
"name": "id",
|
|
22
|
+
"baseName": "id",
|
|
23
|
+
"type": "string"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "type",
|
|
27
|
+
"baseName": "type",
|
|
28
|
+
"type": "RelatedRaidType"
|
|
29
|
+
}
|
|
30
|
+
];
|
|
31
|
+
static getAttributeTypeMap() {
|
|
32
|
+
return RelatedRaid.attributeTypeMap;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
exports.RelatedRaid = RelatedRaid;
|
|
@@ -0,0 +1,41 @@
|
|
|
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 used in this project, see ../idl-raid-v1). Note that swagger ui doesn\'t currently work with our spec, see https://github.com/swagger-api/swagger-ui/issues/7724 But the spec works fine with openapi-generator tooling.
|
|
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.RelatedRaidBlock = void 0;
|
|
15
|
+
class RelatedRaidBlock {
|
|
16
|
+
'relatedRaid';
|
|
17
|
+
'relatedRaidType';
|
|
18
|
+
'relatedRaidTypeSchemeUri';
|
|
19
|
+
static discriminator = undefined;
|
|
20
|
+
static attributeTypeMap = [
|
|
21
|
+
{
|
|
22
|
+
"name": "relatedRaid",
|
|
23
|
+
"baseName": "relatedRaid",
|
|
24
|
+
"type": "string"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "relatedRaidType",
|
|
28
|
+
"baseName": "relatedRaidType",
|
|
29
|
+
"type": "string"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "relatedRaidTypeSchemeUri",
|
|
33
|
+
"baseName": "relatedRaidTypeSchemeUri",
|
|
34
|
+
"type": "string"
|
|
35
|
+
}
|
|
36
|
+
];
|
|
37
|
+
static getAttributeTypeMap() {
|
|
38
|
+
return RelatedRaidBlock.attributeTypeMap;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
exports.RelatedRaidBlock = RelatedRaidBlock;
|