@researchdatabox/raido-openapi-generated-node 0.0.2 → 0.0.3
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/api/apis.js +5 -11
- package/dist/api/{basicRaidExperimentalApi.js → raidApi.js} +81 -190
- package/dist/api/{raidoStableV1Api.js → servicePointApi.js} +40 -59
- package/dist/model/access.js +5 -5
- package/dist/model/accessStatement.js +1 -1
- package/dist/model/accessType.js +22 -6
- package/dist/model/alternateIdentifier.js +1 -1
- package/dist/model/alternateUrl.js +1 -1
- package/dist/model/closedRaid.js +1 -1
- package/dist/model/contributor.js +3 -3
- package/dist/model/contributorPosition.js +9 -9
- package/dist/model/contributorRole.js +9 -9
- package/dist/model/description.js +2 -2
- package/dist/model/descriptionType.js +22 -6
- package/dist/model/failureResponse.js +1 -1
- package/dist/model/id.js +1 -10
- package/dist/model/language.js +1 -1
- package/dist/model/modelDate.js +1 -1
- package/dist/model/models.js +16 -188
- package/dist/model/organisation.js +2 -2
- package/dist/model/organisationRole.js +9 -9
- package/dist/model/owner.js +1 -1
- package/dist/model/{raidListItemV2.js → raidChange.js} +21 -21
- package/dist/model/raidCreateRequest.js +1 -1
- package/dist/model/raidDto.js +1 -1
- package/dist/model/raidUpdateRequest.js +1 -1
- package/dist/model/registrationAgency.js +1 -1
- package/dist/model/relatedObject.js +2 -2
- package/dist/model/relatedObjectCategory.js +1 -1
- package/dist/model/relatedObjectType.js +1 -1
- package/dist/model/relatedRaid.js +1 -1
- package/dist/model/relatedRaidType.js +1 -1
- package/dist/model/servicePoint.js +19 -1
- package/dist/model/servicePointCreateRequest.js +104 -0
- package/dist/model/servicePointUpdateRequest.js +113 -0
- package/dist/model/spatialCoverage.js +2 -8
- package/dist/model/{updateRaidoSchemaV2Request.js → spatialCoveragePlace.js} +15 -9
- package/dist/model/subject.js +1 -1
- package/dist/model/subjectKeyword.js +1 -1
- package/dist/model/title.js +2 -2
- package/dist/model/titleType.js +22 -6
- package/dist/model/traditionalKnowledgeLabel.js +1 -1
- package/dist/model/validationFailure.js +1 -1
- package/dist/model/validationFailureResponse.js +1 -1
- package/package.json +3 -3
- package/dist/api/adminExperimentalApi.js +0 -1092
- package/dist/api/publicExperimentalApi.js +0 -264
- package/dist/api/unapprovedExperimentalApi.js +0 -147
- package/dist/model/accessBlock.js +0 -35
- package/dist/model/accessTypeWithSchemaUri.js +0 -35
- package/dist/model/alternateIdentifierBlock.js +0 -35
- package/dist/model/alternateUrlBlock.js +0 -29
- package/dist/model/apiKey.js +0 -74
- package/dist/model/appUser.js +0 -83
- package/dist/model/appUserExtraV1.js +0 -44
- package/dist/model/authzRequestExtraV1.js +0 -104
- package/dist/model/authzRequestStatus.js +0 -20
- package/dist/model/contributorBlock.js +0 -47
- package/dist/model/contributorIdentifierSchemeType.js +0 -18
- package/dist/model/contributorPositionRaidMetadataSchemaType.js +0 -22
- package/dist/model/contributorPositionSchemeType.js +0 -18
- package/dist/model/contributorPositionWithSchemaUri.js +0 -47
- package/dist/model/contributorRoleCreditNisoOrgType.js +0 -31
- package/dist/model/contributorRoleSchemeType.js +0 -18
- package/dist/model/contributorRoleWithSchemaUri.js +0 -35
- package/dist/model/datesBlock.js +0 -35
- package/dist/model/descriptionBlock.js +0 -35
- package/dist/model/descriptionTypeWithSchemaUri.js +0 -35
- package/dist/model/generateApiTokenRequest.js +0 -29
- package/dist/model/generateApiTokenResponse.js +0 -35
- package/dist/model/idBlock.js +0 -95
- package/dist/model/legacyMetadataSchemaV1.js +0 -68
- package/dist/model/migrateLegacyRaidRequest.js +0 -35
- package/dist/model/migrateLegacyRaidRequestMintRequest.js +0 -41
- package/dist/model/mintRaidoSchemaV1Request.js +0 -38
- package/dist/model/mintRaidoSchemaV1RequestMintRequest.js +0 -32
- package/dist/model/mintResponse.js +0 -41
- package/dist/model/organisationBlock.js +0 -41
- package/dist/model/organisationIdentifierSchemeType.js +0 -18
- package/dist/model/organisationRoleSchemeType.js +0 -18
- package/dist/model/organisationRoleType.js +0 -22
- package/dist/model/organisationRoleWithSchemaUri.js +0 -47
- package/dist/model/publicClosedMetadataSchemaV1.js +0 -41
- package/dist/model/publicRaidMetadataSchemaV1.js +0 -116
- package/dist/model/publicReadRaidMetadataResponseV1.js +0 -116
- package/dist/model/publicReadRaidResponseV3.js +0 -56
- package/dist/model/publicServicePoint.js +0 -38
- package/dist/model/raidListItemV3.js +0 -53
- package/dist/model/raidListRequestV2.js +0 -35
- package/dist/model/raidoMetadataSchemaV1.js +0 -116
- package/dist/model/raidoMetadataSchemaV2.js +0 -116
- package/dist/model/raidoMetaschema.js +0 -22
- package/dist/model/raidoMetaschemaV2.js +0 -23
- package/dist/model/readRaidResponseV2.js +0 -71
- package/dist/model/readRaidV2Request.js +0 -29
- package/dist/model/relatedObjectBlock.js +0 -53
- package/dist/model/relatedRaidBlock.js +0 -41
- package/dist/model/spatialCoverageBlock.js +0 -41
- package/dist/model/subjectBlock.js +0 -41
- package/dist/model/titleBlock.js +0 -47
- package/dist/model/titleTypeWithSchemaUri.js +0 -35
- package/dist/model/traditionalKnowledgeLabelBlock.js +0 -29
- package/dist/model/updateAuthzRequest.js +0 -35
- package/dist/model/updateAuthzRequestStatus.js +0 -47
- package/dist/model/updateAuthzResponse.js +0 -35
- package/dist/model/updateRaidoSchemaV1Request.js +0 -29
- package/dist/model/versionResult.js +0 -47
|
@@ -1,35 +0,0 @@
|
|
|
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.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;
|
package/dist/model/idBlock.js
DELETED
|
@@ -1,95 +0,0 @@
|
|
|
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.IdBlock = void 0;
|
|
15
|
-
class IdBlock {
|
|
16
|
-
/**
|
|
17
|
-
* The identifier of the raid, e.g. https://raid.org.au/102.100.100/zzz
|
|
18
|
-
*/
|
|
19
|
-
'identifier';
|
|
20
|
-
/**
|
|
21
|
-
* The URI of the Identifier scheme. For example, https://raid.org
|
|
22
|
-
*/
|
|
23
|
-
'identifierSchemeURI';
|
|
24
|
-
/**
|
|
25
|
-
* ROR that identifies of the organisation that operates the raid registration agency software that minted this raid.
|
|
26
|
-
*/
|
|
27
|
-
'identifierRegistrationAgency';
|
|
28
|
-
/**
|
|
29
|
-
* The legal entity responsible for the RAiD; the ‘Owner’ of a RAiD. Analogous to a DataCite ‘Member’, has a legal agreement with the Registration Agency.
|
|
30
|
-
*/
|
|
31
|
-
'identifierOwner';
|
|
32
|
-
/**
|
|
33
|
-
* The Service Point that requested the RAiD. Analogous to a DataCite ‘Repository’. ‘Owners’ can have multiple Service Points, and SPs do not need to be legal entities.
|
|
34
|
-
*/
|
|
35
|
-
'identifierServicePoint';
|
|
36
|
-
/**
|
|
37
|
-
* The URL for the raid via the CNRI handle system, e.g https://hdl.handle.net/xxx.yyy/zzz
|
|
38
|
-
*/
|
|
39
|
-
'globalUrl';
|
|
40
|
-
/**
|
|
41
|
-
* The URL for the raid via the minting raid agency system, e.g https://raid.org.au/10378.1/1695863
|
|
42
|
-
*/
|
|
43
|
-
'raidAgencyUrl';
|
|
44
|
-
/**
|
|
45
|
-
* The version of the resource. Read-only. Increments automatically on update.
|
|
46
|
-
*/
|
|
47
|
-
'version';
|
|
48
|
-
static discriminator = undefined;
|
|
49
|
-
static attributeTypeMap = [
|
|
50
|
-
{
|
|
51
|
-
"name": "identifier",
|
|
52
|
-
"baseName": "identifier",
|
|
53
|
-
"type": "string"
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
"name": "identifierSchemeURI",
|
|
57
|
-
"baseName": "identifierSchemeURI",
|
|
58
|
-
"type": "string"
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
"name": "identifierRegistrationAgency",
|
|
62
|
-
"baseName": "identifierRegistrationAgency",
|
|
63
|
-
"type": "string"
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
"name": "identifierOwner",
|
|
67
|
-
"baseName": "identifierOwner",
|
|
68
|
-
"type": "string"
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
"name": "identifierServicePoint",
|
|
72
|
-
"baseName": "identifierServicePoint",
|
|
73
|
-
"type": "number"
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
"name": "globalUrl",
|
|
77
|
-
"baseName": "globalUrl",
|
|
78
|
-
"type": "string"
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
"name": "raidAgencyUrl",
|
|
82
|
-
"baseName": "raidAgencyUrl",
|
|
83
|
-
"type": "string"
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
"name": "version",
|
|
87
|
-
"baseName": "version",
|
|
88
|
-
"type": "number"
|
|
89
|
-
}
|
|
90
|
-
];
|
|
91
|
-
static getAttributeTypeMap() {
|
|
92
|
-
return IdBlock.attributeTypeMap;
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
exports.IdBlock = IdBlock;
|
|
@@ -1,68 +0,0 @@
|
|
|
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.LegacyMetadataSchemaV1 = void 0;
|
|
15
|
-
/**
|
|
16
|
-
* This type is used for raid data imported from the legacy raid system (pre-raido) and for raid data still being minted via the (deprecated) V1 API. Started as a copy paste from RaidoMetadataSchemaV1; the structure could be simplified greatly, but then we\'d just have to have special logic for it, keeping it like this (especially, sharing the block types) makes it mostly structurally compatible with the original. See how it goes, if the structural similarity doesn\'t end up saving implementation effort, then it would make sense to simplify this.
|
|
17
|
-
*/
|
|
18
|
-
class LegacyMetadataSchemaV1 {
|
|
19
|
-
'metadataSchema';
|
|
20
|
-
'id';
|
|
21
|
-
'titles';
|
|
22
|
-
'dates';
|
|
23
|
-
'descriptions';
|
|
24
|
-
'access';
|
|
25
|
-
'alternateUrls';
|
|
26
|
-
static discriminator = undefined;
|
|
27
|
-
static attributeTypeMap = [
|
|
28
|
-
{
|
|
29
|
-
"name": "metadataSchema",
|
|
30
|
-
"baseName": "metadataSchema",
|
|
31
|
-
"type": "RaidoMetaschema"
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
"name": "id",
|
|
35
|
-
"baseName": "id",
|
|
36
|
-
"type": "IdBlock"
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
"name": "titles",
|
|
40
|
-
"baseName": "titles",
|
|
41
|
-
"type": "Array<TitleBlock>"
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
"name": "dates",
|
|
45
|
-
"baseName": "dates",
|
|
46
|
-
"type": "DatesBlock"
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
"name": "descriptions",
|
|
50
|
-
"baseName": "descriptions",
|
|
51
|
-
"type": "Array<DescriptionBlock>"
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"name": "access",
|
|
55
|
-
"baseName": "access",
|
|
56
|
-
"type": "AccessBlock"
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
"name": "alternateUrls",
|
|
60
|
-
"baseName": "alternateUrls",
|
|
61
|
-
"type": "Array<AlternateUrlBlock>"
|
|
62
|
-
}
|
|
63
|
-
];
|
|
64
|
-
static getAttributeTypeMap() {
|
|
65
|
-
return LegacyMetadataSchemaV1.attributeTypeMap;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
exports.LegacyMetadataSchemaV1 = LegacyMetadataSchemaV1;
|
|
@@ -1,35 +0,0 @@
|
|
|
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.MigrateLegacyRaidRequest = void 0;
|
|
15
|
-
class MigrateLegacyRaidRequest {
|
|
16
|
-
'mintRequest';
|
|
17
|
-
'metadata';
|
|
18
|
-
static discriminator = undefined;
|
|
19
|
-
static attributeTypeMap = [
|
|
20
|
-
{
|
|
21
|
-
"name": "mintRequest",
|
|
22
|
-
"baseName": "mintRequest",
|
|
23
|
-
"type": "MigrateLegacyRaidRequestMintRequest"
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
"name": "metadata",
|
|
27
|
-
"baseName": "metadata",
|
|
28
|
-
"type": "LegacyMetadataSchemaV1"
|
|
29
|
-
}
|
|
30
|
-
];
|
|
31
|
-
static getAttributeTypeMap() {
|
|
32
|
-
return MigrateLegacyRaidRequest.attributeTypeMap;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
exports.MigrateLegacyRaidRequest = MigrateLegacyRaidRequest;
|
|
@@ -1,41 +0,0 @@
|
|
|
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.MigrateLegacyRaidRequestMintRequest = void 0;
|
|
15
|
-
class MigrateLegacyRaidRequestMintRequest {
|
|
16
|
-
'servicePointId';
|
|
17
|
-
'contentIndex';
|
|
18
|
-
'createDate';
|
|
19
|
-
static discriminator = undefined;
|
|
20
|
-
static attributeTypeMap = [
|
|
21
|
-
{
|
|
22
|
-
"name": "servicePointId",
|
|
23
|
-
"baseName": "servicePointId",
|
|
24
|
-
"type": "number"
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"name": "contentIndex",
|
|
28
|
-
"baseName": "contentIndex",
|
|
29
|
-
"type": "number"
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
"name": "createDate",
|
|
33
|
-
"baseName": "createDate",
|
|
34
|
-
"type": "Date"
|
|
35
|
-
}
|
|
36
|
-
];
|
|
37
|
-
static getAttributeTypeMap() {
|
|
38
|
-
return MigrateLegacyRaidRequestMintRequest.attributeTypeMap;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
exports.MigrateLegacyRaidRequestMintRequest = MigrateLegacyRaidRequestMintRequest;
|
|
@@ -1,38 +0,0 @@
|
|
|
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.MintRaidoSchemaV1Request = void 0;
|
|
15
|
-
/**
|
|
16
|
-
* `id` block is not required for minting and is ignored if set.
|
|
17
|
-
*/
|
|
18
|
-
class MintRaidoSchemaV1Request {
|
|
19
|
-
'mintRequest';
|
|
20
|
-
'metadata';
|
|
21
|
-
static discriminator = undefined;
|
|
22
|
-
static attributeTypeMap = [
|
|
23
|
-
{
|
|
24
|
-
"name": "mintRequest",
|
|
25
|
-
"baseName": "mintRequest",
|
|
26
|
-
"type": "MintRaidoSchemaV1RequestMintRequest"
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
"name": "metadata",
|
|
30
|
-
"baseName": "metadata",
|
|
31
|
-
"type": "RaidoMetadataSchemaV1"
|
|
32
|
-
}
|
|
33
|
-
];
|
|
34
|
-
static getAttributeTypeMap() {
|
|
35
|
-
return MintRaidoSchemaV1Request.attributeTypeMap;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
exports.MintRaidoSchemaV1Request = MintRaidoSchemaV1Request;
|
|
@@ -1,32 +0,0 @@
|
|
|
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.MintRaidoSchemaV1RequestMintRequest = void 0;
|
|
15
|
-
/**
|
|
16
|
-
* Raido data that doesn\'t belong on the raid metadata. ServicePoint Id means nothing in a RAID context - it\'s purely a Raido implementation detail (that may change).
|
|
17
|
-
*/
|
|
18
|
-
class MintRaidoSchemaV1RequestMintRequest {
|
|
19
|
-
'servicePointId';
|
|
20
|
-
static discriminator = undefined;
|
|
21
|
-
static attributeTypeMap = [
|
|
22
|
-
{
|
|
23
|
-
"name": "servicePointId",
|
|
24
|
-
"baseName": "servicePointId",
|
|
25
|
-
"type": "number"
|
|
26
|
-
}
|
|
27
|
-
];
|
|
28
|
-
static getAttributeTypeMap() {
|
|
29
|
-
return MintRaidoSchemaV1RequestMintRequest.attributeTypeMap;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
exports.MintRaidoSchemaV1RequestMintRequest = MintRaidoSchemaV1RequestMintRequest;
|
|
@@ -1,41 +0,0 @@
|
|
|
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.MintResponse = void 0;
|
|
15
|
-
class MintResponse {
|
|
16
|
-
'success';
|
|
17
|
-
'raid';
|
|
18
|
-
'failures';
|
|
19
|
-
static discriminator = undefined;
|
|
20
|
-
static attributeTypeMap = [
|
|
21
|
-
{
|
|
22
|
-
"name": "success",
|
|
23
|
-
"baseName": "success",
|
|
24
|
-
"type": "boolean"
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"name": "raid",
|
|
28
|
-
"baseName": "raid",
|
|
29
|
-
"type": "ReadRaidResponseV2"
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
"name": "failures",
|
|
33
|
-
"baseName": "failures",
|
|
34
|
-
"type": "Array<ValidationFailure>"
|
|
35
|
-
}
|
|
36
|
-
];
|
|
37
|
-
static getAttributeTypeMap() {
|
|
38
|
-
return MintResponse.attributeTypeMap;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
exports.MintResponse = MintResponse;
|
|
@@ -1,41 +0,0 @@
|
|
|
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.OrganisationBlock = void 0;
|
|
15
|
-
class OrganisationBlock {
|
|
16
|
-
'id';
|
|
17
|
-
'identifierSchemeUri';
|
|
18
|
-
'roles';
|
|
19
|
-
static discriminator = undefined;
|
|
20
|
-
static attributeTypeMap = [
|
|
21
|
-
{
|
|
22
|
-
"name": "id",
|
|
23
|
-
"baseName": "id",
|
|
24
|
-
"type": "string"
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"name": "identifierSchemeUri",
|
|
28
|
-
"baseName": "identifierSchemeUri",
|
|
29
|
-
"type": "OrganisationIdentifierSchemeType"
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
"name": "roles",
|
|
33
|
-
"baseName": "roles",
|
|
34
|
-
"type": "Array<OrganisationRole>"
|
|
35
|
-
}
|
|
36
|
-
];
|
|
37
|
-
static getAttributeTypeMap() {
|
|
38
|
-
return OrganisationBlock.attributeTypeMap;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
exports.OrganisationBlock = OrganisationBlock;
|
|
@@ -1,18 +0,0 @@
|
|
|
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.OrganisationIdentifierSchemeType = void 0;
|
|
15
|
-
var OrganisationIdentifierSchemeType;
|
|
16
|
-
(function (OrganisationIdentifierSchemeType) {
|
|
17
|
-
OrganisationIdentifierSchemeType[OrganisationIdentifierSchemeType["HttpsRorOrg"] = 'https://ror.org/'] = "HttpsRorOrg";
|
|
18
|
-
})(OrganisationIdentifierSchemeType = exports.OrganisationIdentifierSchemeType || (exports.OrganisationIdentifierSchemeType = {}));
|
|
@@ -1,18 +0,0 @@
|
|
|
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.OrganisationRoleSchemeType = void 0;
|
|
15
|
-
var OrganisationRoleSchemeType;
|
|
16
|
-
(function (OrganisationRoleSchemeType) {
|
|
17
|
-
OrganisationRoleSchemeType[OrganisationRoleSchemeType["HttpsRaidOrg"] = 'https://raid.org/'] = "HttpsRaidOrg";
|
|
18
|
-
})(OrganisationRoleSchemeType = exports.OrganisationRoleSchemeType || (exports.OrganisationRoleSchemeType = {}));
|
|
@@ -1,22 +0,0 @@
|
|
|
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.OrganisationRoleType = void 0;
|
|
15
|
-
var OrganisationRoleType;
|
|
16
|
-
(function (OrganisationRoleType) {
|
|
17
|
-
OrganisationRoleType[OrganisationRoleType["LeadResearchOrganisation"] = 'Lead Research Organisation'] = "LeadResearchOrganisation";
|
|
18
|
-
OrganisationRoleType[OrganisationRoleType["OtherResearchOrganisation"] = 'Other Research Organisation'] = "OtherResearchOrganisation";
|
|
19
|
-
OrganisationRoleType[OrganisationRoleType["PartnerOrganisation"] = 'Partner Organisation'] = "PartnerOrganisation";
|
|
20
|
-
OrganisationRoleType[OrganisationRoleType["Contractor"] = 'Contractor'] = "Contractor";
|
|
21
|
-
OrganisationRoleType[OrganisationRoleType["OtherOrganisation"] = 'Other Organisation'] = "OtherOrganisation";
|
|
22
|
-
})(OrganisationRoleType = exports.OrganisationRoleType || (exports.OrganisationRoleType = {}));
|
|
@@ -1,47 +0,0 @@
|
|
|
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.OrganisationRoleWithSchemaUri = void 0;
|
|
15
|
-
class OrganisationRoleWithSchemaUri {
|
|
16
|
-
'schemaUri';
|
|
17
|
-
'id';
|
|
18
|
-
'startDate';
|
|
19
|
-
'endDate';
|
|
20
|
-
static discriminator = undefined;
|
|
21
|
-
static attributeTypeMap = [
|
|
22
|
-
{
|
|
23
|
-
"name": "schemaUri",
|
|
24
|
-
"baseName": "schemaUri",
|
|
25
|
-
"type": "string"
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
"name": "id",
|
|
29
|
-
"baseName": "id",
|
|
30
|
-
"type": "string"
|
|
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 OrganisationRoleWithSchemaUri.attributeTypeMap;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
exports.OrganisationRoleWithSchemaUri = OrganisationRoleWithSchemaUri;
|
|
@@ -1,41 +0,0 @@
|
|
|
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.PublicClosedMetadataSchemaV1 = void 0;
|
|
15
|
-
class PublicClosedMetadataSchemaV1 {
|
|
16
|
-
'metadataSchema';
|
|
17
|
-
'id';
|
|
18
|
-
'access';
|
|
19
|
-
static discriminator = undefined;
|
|
20
|
-
static attributeTypeMap = [
|
|
21
|
-
{
|
|
22
|
-
"name": "metadataSchema",
|
|
23
|
-
"baseName": "metadataSchema",
|
|
24
|
-
"type": "string"
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"name": "id",
|
|
28
|
-
"baseName": "id",
|
|
29
|
-
"type": "IdBlock"
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
"name": "access",
|
|
33
|
-
"baseName": "access",
|
|
34
|
-
"type": "AccessBlock"
|
|
35
|
-
}
|
|
36
|
-
];
|
|
37
|
-
static getAttributeTypeMap() {
|
|
38
|
-
return PublicClosedMetadataSchemaV1.attributeTypeMap;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
exports.PublicClosedMetadataSchemaV1 = PublicClosedMetadataSchemaV1;
|