@researchdatabox/raido-openapi-generated-node 0.0.2 → 5.0.0-RC1
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.d.ts +1679 -0
- package/dist/api.js +701 -16
- package/dist/base.d.ts +55 -0
- package/dist/base.js +69 -0
- package/dist/common.d.ts +65 -0
- package/dist/common.js +144 -0
- package/dist/configuration.d.ts +83 -0
- package/dist/configuration.js +92 -0
- package/dist/{model/accessType.js → index.d.ts} +3 -9
- package/dist/index.js +32 -0
- package/package.json +12 -7
- package/dist/api/adminExperimentalApi.js +0 -1092
- package/dist/api/apis.js +0 -41
- package/dist/api/basicRaidExperimentalApi.js +0 -561
- package/dist/api/publicExperimentalApi.js +0 -264
- package/dist/api/raidoStableV1Api.js +0 -369
- package/dist/api/unapprovedExperimentalApi.js +0 -147
- package/dist/model/access.js +0 -44
- package/dist/model/accessBlock.js +0 -35
- package/dist/model/accessStatement.js +0 -35
- package/dist/model/accessTypeWithSchemaUri.js +0 -35
- package/dist/model/alternateIdentifier.js +0 -35
- package/dist/model/alternateIdentifierBlock.js +0 -35
- package/dist/model/alternateUrl.js +0 -29
- 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/closedRaid.js +0 -35
- package/dist/model/contributor.js +0 -59
- package/dist/model/contributorBlock.js +0 -47
- package/dist/model/contributorIdentifierSchemeType.js +0 -18
- package/dist/model/contributorPosition.js +0 -47
- package/dist/model/contributorPositionRaidMetadataSchemaType.js +0 -22
- package/dist/model/contributorPositionSchemeType.js +0 -18
- package/dist/model/contributorPositionWithSchemaUri.js +0 -47
- package/dist/model/contributorRole.js +0 -35
- 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/description.js +0 -41
- package/dist/model/descriptionBlock.js +0 -35
- package/dist/model/descriptionType.js +0 -19
- package/dist/model/descriptionTypeWithSchemaUri.js +0 -35
- package/dist/model/failureResponse.js +0 -53
- package/dist/model/generateApiTokenRequest.js +0 -29
- package/dist/model/generateApiTokenResponse.js +0 -35
- package/dist/model/id.js +0 -89
- package/dist/model/idBlock.js +0 -95
- package/dist/model/language.js +0 -35
- 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/modelDate.js +0 -38
- package/dist/model/models.js +0 -506
- package/dist/model/organisation.js +0 -41
- package/dist/model/organisationBlock.js +0 -41
- package/dist/model/organisationIdentifierSchemeType.js +0 -18
- package/dist/model/organisationRole.js +0 -47
- package/dist/model/organisationRoleSchemeType.js +0 -18
- package/dist/model/organisationRoleType.js +0 -22
- package/dist/model/organisationRoleWithSchemaUri.js +0 -47
- package/dist/model/owner.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/raidCreateRequest.js +0 -107
- package/dist/model/raidDto.js +0 -107
- package/dist/model/raidListItemV2.js +0 -53
- package/dist/model/raidListItemV3.js +0 -53
- package/dist/model/raidListRequestV2.js +0 -35
- package/dist/model/raidUpdateRequest.js +0 -107
- 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/registrationAgency.js +0 -38
- package/dist/model/relatedObject.js +0 -47
- package/dist/model/relatedObjectBlock.js +0 -53
- package/dist/model/relatedObjectCategory.js +0 -35
- package/dist/model/relatedObjectType.js +0 -35
- package/dist/model/relatedRaid.js +0 -35
- package/dist/model/relatedRaidBlock.js +0 -41
- package/dist/model/relatedRaidType.js +0 -35
- package/dist/model/servicePoint.js +0 -74
- package/dist/model/spatialCoverage.js +0 -47
- package/dist/model/spatialCoverageBlock.js +0 -41
- package/dist/model/subject.js +0 -41
- package/dist/model/subjectBlock.js +0 -41
- package/dist/model/subjectKeyword.js +0 -35
- package/dist/model/title.js +0 -53
- package/dist/model/titleBlock.js +0 -47
- package/dist/model/titleType.js +0 -19
- package/dist/model/titleTypeWithSchemaUri.js +0 -35
- package/dist/model/traditionalKnowledgeLabel.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/updateRaidoSchemaV2Request.js +0 -29
- package/dist/model/validationFailure.js +0 -41
- package/dist/model/validationFailureResponse.js +0 -59
- 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.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;
|
|
@@ -1,19 +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.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 = {}));
|
|
@@ -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.DescriptionTypeWithSchemaUri = void 0;
|
|
15
|
-
class DescriptionTypeWithSchemaUri {
|
|
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 DescriptionTypeWithSchemaUri.attributeTypeMap;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
exports.DescriptionTypeWithSchemaUri = DescriptionTypeWithSchemaUri;
|
|
@@ -1,53 +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.FailureResponse = void 0;
|
|
15
|
-
class FailureResponse {
|
|
16
|
-
'type';
|
|
17
|
-
'title';
|
|
18
|
-
'status';
|
|
19
|
-
'detail';
|
|
20
|
-
'instance';
|
|
21
|
-
static discriminator = undefined;
|
|
22
|
-
static attributeTypeMap = [
|
|
23
|
-
{
|
|
24
|
-
"name": "type",
|
|
25
|
-
"baseName": "type",
|
|
26
|
-
"type": "string"
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
"name": "title",
|
|
30
|
-
"baseName": "title",
|
|
31
|
-
"type": "string"
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
"name": "status",
|
|
35
|
-
"baseName": "status",
|
|
36
|
-
"type": "number"
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
"name": "detail",
|
|
40
|
-
"baseName": "detail",
|
|
41
|
-
"type": "string"
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
"name": "instance",
|
|
45
|
-
"baseName": "instance",
|
|
46
|
-
"type": "string"
|
|
47
|
-
}
|
|
48
|
-
];
|
|
49
|
-
static getAttributeTypeMap() {
|
|
50
|
-
return FailureResponse.attributeTypeMap;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
exports.FailureResponse = FailureResponse;
|
|
@@ -1,29 +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.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;
|
|
@@ -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/id.js
DELETED
|
@@ -1,89 +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.Id = void 0;
|
|
15
|
-
class Id {
|
|
16
|
-
/**
|
|
17
|
-
* The identifier of the raid, e.g. https://raid.org.au/102.100.100/zzz
|
|
18
|
-
*/
|
|
19
|
-
'id';
|
|
20
|
-
/**
|
|
21
|
-
* The URI of the Identifier scheme. For example, https://raid.org
|
|
22
|
-
*/
|
|
23
|
-
'schemaUri';
|
|
24
|
-
'registrationAgency';
|
|
25
|
-
'owner';
|
|
26
|
-
/**
|
|
27
|
-
* The URL for the raid via the CNRI handle system, e.g https://hdl.handle.net/xxx.yyy/zzz
|
|
28
|
-
*/
|
|
29
|
-
'globalUrl';
|
|
30
|
-
/**
|
|
31
|
-
* The URL for the raid via the minting raid agency system, e.g https://raid.org.au/10378.1/1695863
|
|
32
|
-
*/
|
|
33
|
-
'raidAgencyUrl';
|
|
34
|
-
/**
|
|
35
|
-
* The license under which the RAiD Metadata Record associated with this Identifier has been issued.
|
|
36
|
-
*/
|
|
37
|
-
'license';
|
|
38
|
-
/**
|
|
39
|
-
* The version of the resource. Read-only. Increments automatically on update.
|
|
40
|
-
*/
|
|
41
|
-
'version';
|
|
42
|
-
static discriminator = undefined;
|
|
43
|
-
static attributeTypeMap = [
|
|
44
|
-
{
|
|
45
|
-
"name": "id",
|
|
46
|
-
"baseName": "id",
|
|
47
|
-
"type": "string"
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
"name": "schemaUri",
|
|
51
|
-
"baseName": "schemaUri",
|
|
52
|
-
"type": "string"
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
"name": "registrationAgency",
|
|
56
|
-
"baseName": "registrationAgency",
|
|
57
|
-
"type": "RegistrationAgency"
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
"name": "owner",
|
|
61
|
-
"baseName": "owner",
|
|
62
|
-
"type": "Owner"
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
"name": "globalUrl",
|
|
66
|
-
"baseName": "globalUrl",
|
|
67
|
-
"type": "string"
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
"name": "raidAgencyUrl",
|
|
71
|
-
"baseName": "raidAgencyUrl",
|
|
72
|
-
"type": "string"
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
"name": "license",
|
|
76
|
-
"baseName": "license",
|
|
77
|
-
"type": "string"
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
"name": "version",
|
|
81
|
-
"baseName": "version",
|
|
82
|
-
"type": "number"
|
|
83
|
-
}
|
|
84
|
-
];
|
|
85
|
-
static getAttributeTypeMap() {
|
|
86
|
-
return Id.attributeTypeMap;
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
exports.Id = Id;
|
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;
|
package/dist/model/language.js
DELETED
|
@@ -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.Language = void 0;
|
|
15
|
-
class Language {
|
|
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 Language.attributeTypeMap;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
exports.Language = Language;
|
|
@@ -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;
|