@researchdatabox/raido-openapi-generated-node 0.0.1 → 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/README.md +1 -1
- package/dist/api/apis.js +5 -9
- package/dist/api/{basicRaidExperimentalApi.js → raidApi.js} +98 -69
- package/dist/api/{publicExperimentalApi.js → servicePointApi.js} +115 -29
- package/dist/model/access.js +44 -0
- package/dist/model/accessStatement.js +35 -0
- package/dist/model/accessType.js +22 -6
- package/dist/model/{descriptionBlock.js → alternateIdentifier.js} +9 -9
- package/dist/model/{alternateUrlBlock.js → alternateUrl.js} +5 -5
- package/dist/model/closedRaid.js +35 -0
- package/dist/model/{apiKey.js → contributor.js} +21 -36
- package/dist/model/contributorPosition.js +9 -9
- package/dist/model/contributorRole.js +9 -9
- package/dist/model/description.js +41 -0
- package/dist/model/descriptionType.js +22 -6
- package/dist/model/{updateAuthzRequestStatus.js → failureResponse.js} +25 -16
- package/dist/model/id.js +80 -0
- package/dist/model/{publicServicePoint.js → language.js} +9 -12
- package/dist/model/{datesBlock.js → modelDate.js} +8 -5
- package/dist/model/models.js +100 -140
- package/dist/model/{organisationBlock.js → organisation.js} +12 -12
- package/dist/model/organisationRole.js +9 -9
- package/dist/model/{appUserExtraV1.js → owner.js} +20 -17
- package/dist/model/{raidListItemV2.js → raidChange.js} +21 -21
- package/dist/model/raidCreateRequest.js +107 -0
- package/dist/model/raidDto.js +107 -0
- package/dist/model/raidUpdateRequest.js +107 -0
- package/dist/model/registrationAgency.js +38 -0
- package/dist/model/relatedObject.js +47 -0
- package/dist/model/{publicClosedMetadataSchemaV1.js → relatedObjectCategory.js} +10 -16
- package/dist/model/relatedObjectType.js +35 -0
- package/dist/model/{accessBlock.js → relatedRaid.js} +12 -12
- package/dist/model/relatedRaidType.js +35 -0
- package/dist/model/servicePoint.js +31 -1
- package/dist/model/servicePointCreateRequest.js +104 -0
- package/dist/model/servicePointUpdateRequest.js +113 -0
- package/dist/model/{contributorBlock.js → spatialCoverage.js} +13 -19
- package/dist/model/spatialCoveragePlace.js +35 -0
- package/dist/model/subject.js +41 -0
- package/dist/model/{generateApiTokenResponse.js → subjectKeyword.js} +13 -13
- package/dist/model/{titleBlock.js → title.js} +14 -8
- package/dist/model/titleType.js +22 -6
- package/dist/model/traditionalKnowledgeLabel.js +35 -0
- package/dist/model/validationFailure.js +1 -1
- package/dist/model/{readRaidResponseV2.js → validationFailureResponse.js} +26 -38
- package/package.json +3 -3
- package/dist/api/adminExperimentalApi.js +0 -1092
- package/dist/api/unauthzExperimentalApi.js +0 -147
- package/dist/model/appUser.js +0 -83
- package/dist/model/authzRequestExtraV1.js +0 -104
- package/dist/model/authzRequestStatus.js +0 -20
- package/dist/model/contributorIdentifierSchemeType.js +0 -18
- package/dist/model/contributorPositionRaidMetadataSchemaType.js +0 -22
- package/dist/model/contributorPositionSchemeType.js +0 -18
- package/dist/model/contributorRoleCreditNisoOrgType.js +0 -31
- package/dist/model/contributorRoleSchemeType.js +0 -18
- package/dist/model/generateApiTokenRequest.js +0 -29
- package/dist/model/idBlock.js +0 -65
- 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/organisationIdentifierSchemeType.js +0 -18
- package/dist/model/organisationRoleSchemeType.js +0 -18
- package/dist/model/organisationRoleType.js +0 -22
- package/dist/model/publicRaidMetadataSchemaV1.js +0 -80
- package/dist/model/publicReadRaidMetadataResponseV1.js +0 -80
- package/dist/model/publicReadRaidResponseV3.js +0 -56
- package/dist/model/raidListRequestV2.js +0 -35
- package/dist/model/raidoMetadataSchemaV1.js +0 -80
- package/dist/model/raidoMetaschema.js +0 -22
- package/dist/model/readRaidV2Request.js +0 -29
- package/dist/model/updateAuthzRequest.js +0 -38
- package/dist/model/updateAuthzResponse.js +0 -29
- 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 this project).
|
|
5
|
-
*
|
|
6
|
-
* The version of the OpenAPI document: 2.0.0
|
|
7
|
-
* Contact: contact@raid.org
|
|
8
|
-
*
|
|
9
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
-
* https://openapi-generator.tech
|
|
11
|
-
* Do not edit the class manually.
|
|
12
|
-
*/
|
|
13
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.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 this project).
|
|
5
|
-
*
|
|
6
|
-
* The version of the OpenAPI document: 2.0.0
|
|
7
|
-
* Contact: contact@raid.org
|
|
8
|
-
*
|
|
9
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
-
* https://openapi-generator.tech
|
|
11
|
-
* Do not edit the class manually.
|
|
12
|
-
*/
|
|
13
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.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 this project).
|
|
5
|
-
*
|
|
6
|
-
* The version of the OpenAPI document: 2.0.0
|
|
7
|
-
* Contact: contact@raid.org
|
|
8
|
-
*
|
|
9
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
-
* https://openapi-generator.tech
|
|
11
|
-
* Do not edit the class manually.
|
|
12
|
-
*/
|
|
13
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.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 this project).
|
|
5
|
-
*
|
|
6
|
-
* The version of the OpenAPI document: 2.0.0
|
|
7
|
-
* Contact: contact@raid.org
|
|
8
|
-
*
|
|
9
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
-
* https://openapi-generator.tech
|
|
11
|
-
* Do not edit the class manually.
|
|
12
|
-
*/
|
|
13
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.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 this project).
|
|
5
|
-
*
|
|
6
|
-
* The version of the OpenAPI document: 2.0.0
|
|
7
|
-
* Contact: contact@raid.org
|
|
8
|
-
*
|
|
9
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
-
* https://openapi-generator.tech
|
|
11
|
-
* Do not edit the class manually.
|
|
12
|
-
*/
|
|
13
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.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,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 this project).
|
|
5
|
-
*
|
|
6
|
-
* The version of the OpenAPI document: 2.0.0
|
|
7
|
-
* Contact: contact@raid.org
|
|
8
|
-
*
|
|
9
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
-
* https://openapi-generator.tech
|
|
11
|
-
* Do not edit the class manually.
|
|
12
|
-
*/
|
|
13
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.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 this project).
|
|
5
|
-
*
|
|
6
|
-
* The version of the OpenAPI document: 2.0.0
|
|
7
|
-
* Contact: contact@raid.org
|
|
8
|
-
*
|
|
9
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
-
* https://openapi-generator.tech
|
|
11
|
-
* Do not edit the class manually.
|
|
12
|
-
*/
|
|
13
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.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 this project).
|
|
5
|
-
*
|
|
6
|
-
* The version of the OpenAPI document: 2.0.0
|
|
7
|
-
* Contact: contact@raid.org
|
|
8
|
-
*
|
|
9
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
-
* https://openapi-generator.tech
|
|
11
|
-
* Do not edit the class manually.
|
|
12
|
-
*/
|
|
13
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.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,80 +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 this project).
|
|
5
|
-
*
|
|
6
|
-
* The version of the OpenAPI document: 2.0.0
|
|
7
|
-
* Contact: contact@raid.org
|
|
8
|
-
*
|
|
9
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
-
* https://openapi-generator.tech
|
|
11
|
-
* Do not edit the class manually.
|
|
12
|
-
*/
|
|
13
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.PublicRaidMetadataSchemaV1 = void 0;
|
|
15
|
-
/**
|
|
16
|
-
* This is the \"public facing\" version of the metadata, that\'s intended to be as closely aligned to \"the standard\" as possible. It mirrors the \"raido\" type, but having two separately defined types allows them to diverge where that\'s necessary for the Raido implementation.
|
|
17
|
-
*/
|
|
18
|
-
class PublicRaidMetadataSchemaV1 {
|
|
19
|
-
'metadataSchema';
|
|
20
|
-
'id';
|
|
21
|
-
'titles';
|
|
22
|
-
'dates';
|
|
23
|
-
'descriptions';
|
|
24
|
-
'access';
|
|
25
|
-
'alternateUrls';
|
|
26
|
-
'contributors';
|
|
27
|
-
'organisations';
|
|
28
|
-
static discriminator = undefined;
|
|
29
|
-
static attributeTypeMap = [
|
|
30
|
-
{
|
|
31
|
-
"name": "metadataSchema",
|
|
32
|
-
"baseName": "metadataSchema",
|
|
33
|
-
"type": "string"
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"name": "id",
|
|
37
|
-
"baseName": "id",
|
|
38
|
-
"type": "IdBlock"
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
"name": "titles",
|
|
42
|
-
"baseName": "titles",
|
|
43
|
-
"type": "Array<TitleBlock>"
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
"name": "dates",
|
|
47
|
-
"baseName": "dates",
|
|
48
|
-
"type": "DatesBlock"
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
"name": "descriptions",
|
|
52
|
-
"baseName": "descriptions",
|
|
53
|
-
"type": "Array<DescriptionBlock>"
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
"name": "access",
|
|
57
|
-
"baseName": "access",
|
|
58
|
-
"type": "AccessBlock"
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
"name": "alternateUrls",
|
|
62
|
-
"baseName": "alternateUrls",
|
|
63
|
-
"type": "Array<AlternateUrlBlock>"
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
"name": "contributors",
|
|
67
|
-
"baseName": "contributors",
|
|
68
|
-
"type": "Array<ContributorBlock>"
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
"name": "organisations",
|
|
72
|
-
"baseName": "organisations",
|
|
73
|
-
"type": "Array<OrganisationBlock>"
|
|
74
|
-
}
|
|
75
|
-
];
|
|
76
|
-
static getAttributeTypeMap() {
|
|
77
|
-
return PublicRaidMetadataSchemaV1.attributeTypeMap;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
exports.PublicRaidMetadataSchemaV1 = PublicRaidMetadataSchemaV1;
|
|
@@ -1,80 +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 this project).
|
|
5
|
-
*
|
|
6
|
-
* The version of the OpenAPI document: 2.0.0
|
|
7
|
-
* Contact: contact@raid.org
|
|
8
|
-
*
|
|
9
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
-
* https://openapi-generator.tech
|
|
11
|
-
* Do not edit the class manually.
|
|
12
|
-
*/
|
|
13
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.PublicReadRaidMetadataResponseV1 = void 0;
|
|
15
|
-
/**
|
|
16
|
-
* Any type of metadata
|
|
17
|
-
*/
|
|
18
|
-
class PublicReadRaidMetadataResponseV1 {
|
|
19
|
-
'metadataSchema';
|
|
20
|
-
'id';
|
|
21
|
-
'titles';
|
|
22
|
-
'dates';
|
|
23
|
-
'descriptions';
|
|
24
|
-
'access';
|
|
25
|
-
'alternateUrls';
|
|
26
|
-
'contributors';
|
|
27
|
-
'organisations';
|
|
28
|
-
static discriminator = "metadataSchema";
|
|
29
|
-
static attributeTypeMap = [
|
|
30
|
-
{
|
|
31
|
-
"name": "metadataSchema",
|
|
32
|
-
"baseName": "metadataSchema",
|
|
33
|
-
"type": "string"
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"name": "id",
|
|
37
|
-
"baseName": "id",
|
|
38
|
-
"type": "IdBlock"
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
"name": "titles",
|
|
42
|
-
"baseName": "titles",
|
|
43
|
-
"type": "Array<TitleBlock>"
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
"name": "dates",
|
|
47
|
-
"baseName": "dates",
|
|
48
|
-
"type": "DatesBlock"
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
"name": "descriptions",
|
|
52
|
-
"baseName": "descriptions",
|
|
53
|
-
"type": "Array<DescriptionBlock>"
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
"name": "access",
|
|
57
|
-
"baseName": "access",
|
|
58
|
-
"type": "AccessBlock"
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
"name": "alternateUrls",
|
|
62
|
-
"baseName": "alternateUrls",
|
|
63
|
-
"type": "Array<AlternateUrlBlock>"
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
"name": "contributors",
|
|
67
|
-
"baseName": "contributors",
|
|
68
|
-
"type": "Array<ContributorBlock>"
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
"name": "organisations",
|
|
72
|
-
"baseName": "organisations",
|
|
73
|
-
"type": "Array<OrganisationBlock>"
|
|
74
|
-
}
|
|
75
|
-
];
|
|
76
|
-
static getAttributeTypeMap() {
|
|
77
|
-
return PublicReadRaidMetadataResponseV1.attributeTypeMap;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
exports.PublicReadRaidMetadataResponseV1 = PublicReadRaidMetadataResponseV1;
|
|
@@ -1,56 +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 this project).
|
|
5
|
-
*
|
|
6
|
-
* The version of the OpenAPI document: 2.0.0
|
|
7
|
-
* Contact: contact@raid.org
|
|
8
|
-
*
|
|
9
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
-
* https://openapi-generator.tech
|
|
11
|
-
* Do not edit the class manually.
|
|
12
|
-
*/
|
|
13
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.PublicReadRaidResponseV3 = void 0;
|
|
15
|
-
/**
|
|
16
|
-
* The top-level \"return type\" for the public endpoint that returns RAiD data.
|
|
17
|
-
*/
|
|
18
|
-
class PublicReadRaidResponseV3 {
|
|
19
|
-
'handle';
|
|
20
|
-
'servicePointId';
|
|
21
|
-
'servicePointName';
|
|
22
|
-
'createDate';
|
|
23
|
-
'metadata';
|
|
24
|
-
static discriminator = undefined;
|
|
25
|
-
static attributeTypeMap = [
|
|
26
|
-
{
|
|
27
|
-
"name": "handle",
|
|
28
|
-
"baseName": "handle",
|
|
29
|
-
"type": "string"
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
"name": "servicePointId",
|
|
33
|
-
"baseName": "servicePointId",
|
|
34
|
-
"type": "number"
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
"name": "servicePointName",
|
|
38
|
-
"baseName": "servicePointName",
|
|
39
|
-
"type": "string"
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
"name": "createDate",
|
|
43
|
-
"baseName": "createDate",
|
|
44
|
-
"type": "Date"
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
"name": "metadata",
|
|
48
|
-
"baseName": "metadata",
|
|
49
|
-
"type": "PublicReadRaidMetadataResponseV1"
|
|
50
|
-
}
|
|
51
|
-
];
|
|
52
|
-
static getAttributeTypeMap() {
|
|
53
|
-
return PublicReadRaidResponseV3.attributeTypeMap;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
exports.PublicReadRaidResponseV3 = PublicReadRaidResponseV3;
|
|
@@ -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 this project).
|
|
5
|
-
*
|
|
6
|
-
* The version of the OpenAPI document: 2.0.0
|
|
7
|
-
* Contact: contact@raid.org
|
|
8
|
-
*
|
|
9
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
-
* https://openapi-generator.tech
|
|
11
|
-
* Do not edit the class manually.
|
|
12
|
-
*/
|
|
13
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.RaidListRequestV2 = void 0;
|
|
15
|
-
class RaidListRequestV2 {
|
|
16
|
-
'servicePointId';
|
|
17
|
-
'primaryTitle';
|
|
18
|
-
static discriminator = undefined;
|
|
19
|
-
static attributeTypeMap = [
|
|
20
|
-
{
|
|
21
|
-
"name": "servicePointId",
|
|
22
|
-
"baseName": "servicePointId",
|
|
23
|
-
"type": "number"
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
"name": "primaryTitle",
|
|
27
|
-
"baseName": "primaryTitle",
|
|
28
|
-
"type": "string"
|
|
29
|
-
}
|
|
30
|
-
];
|
|
31
|
-
static getAttributeTypeMap() {
|
|
32
|
-
return RaidListRequestV2.attributeTypeMap;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
exports.RaidListRequestV2 = RaidListRequestV2;
|
|
@@ -1,80 +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 this project).
|
|
5
|
-
*
|
|
6
|
-
* The version of the OpenAPI document: 2.0.0
|
|
7
|
-
* Contact: contact@raid.org
|
|
8
|
-
*
|
|
9
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
-
* https://openapi-generator.tech
|
|
11
|
-
* Do not edit the class manually.
|
|
12
|
-
*/
|
|
13
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.RaidoMetadataSchemaV1 = 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 RaidoMetadataSchemaV1 {
|
|
19
|
-
'metadataSchema';
|
|
20
|
-
'id';
|
|
21
|
-
'titles';
|
|
22
|
-
'dates';
|
|
23
|
-
'descriptions';
|
|
24
|
-
'access';
|
|
25
|
-
'alternateUrls';
|
|
26
|
-
'contributors';
|
|
27
|
-
'organisations';
|
|
28
|
-
static discriminator = undefined;
|
|
29
|
-
static attributeTypeMap = [
|
|
30
|
-
{
|
|
31
|
-
"name": "metadataSchema",
|
|
32
|
-
"baseName": "metadataSchema",
|
|
33
|
-
"type": "RaidoMetaschema"
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"name": "id",
|
|
37
|
-
"baseName": "id",
|
|
38
|
-
"type": "IdBlock"
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
"name": "titles",
|
|
42
|
-
"baseName": "titles",
|
|
43
|
-
"type": "Array<TitleBlock>"
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
"name": "dates",
|
|
47
|
-
"baseName": "dates",
|
|
48
|
-
"type": "DatesBlock"
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
"name": "descriptions",
|
|
52
|
-
"baseName": "descriptions",
|
|
53
|
-
"type": "Array<DescriptionBlock>"
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
"name": "access",
|
|
57
|
-
"baseName": "access",
|
|
58
|
-
"type": "AccessBlock"
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
"name": "alternateUrls",
|
|
62
|
-
"baseName": "alternateUrls",
|
|
63
|
-
"type": "Array<AlternateUrlBlock>"
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
"name": "contributors",
|
|
67
|
-
"baseName": "contributors",
|
|
68
|
-
"type": "Array<ContributorBlock>"
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
"name": "organisations",
|
|
72
|
-
"baseName": "organisations",
|
|
73
|
-
"type": "Array<OrganisationBlock>"
|
|
74
|
-
}
|
|
75
|
-
];
|
|
76
|
-
static getAttributeTypeMap() {
|
|
77
|
-
return RaidoMetadataSchemaV1.attributeTypeMap;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
exports.RaidoMetadataSchemaV1 = RaidoMetadataSchemaV1;
|
|
@@ -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 this project).
|
|
5
|
-
*
|
|
6
|
-
* The version of the OpenAPI document: 2.0.0
|
|
7
|
-
* Contact: contact@raid.org
|
|
8
|
-
*
|
|
9
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
-
* https://openapi-generator.tech
|
|
11
|
-
* Do not edit the class manually.
|
|
12
|
-
*/
|
|
13
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.RaidoMetaschema = 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 RaidoMetaschema;
|
|
19
|
-
(function (RaidoMetaschema) {
|
|
20
|
-
RaidoMetaschema[RaidoMetaschema["RaidoMetadataSchemaV1"] = 'RaidoMetadataSchemaV1'] = "RaidoMetadataSchemaV1";
|
|
21
|
-
RaidoMetaschema[RaidoMetaschema["LegacyMetadataSchemaV1"] = 'LegacyMetadataSchemaV1'] = "LegacyMetadataSchemaV1";
|
|
22
|
-
})(RaidoMetaschema = exports.RaidoMetaschema || (exports.RaidoMetaschema = {}));
|
|
@@ -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 this project).
|
|
5
|
-
*
|
|
6
|
-
* The version of the OpenAPI document: 2.0.0
|
|
7
|
-
* Contact: contact@raid.org
|
|
8
|
-
*
|
|
9
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
-
* https://openapi-generator.tech
|
|
11
|
-
* Do not edit the class manually.
|
|
12
|
-
*/
|
|
13
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.ReadRaidV2Request = void 0;
|
|
15
|
-
class ReadRaidV2Request {
|
|
16
|
-
'handle';
|
|
17
|
-
static discriminator = undefined;
|
|
18
|
-
static attributeTypeMap = [
|
|
19
|
-
{
|
|
20
|
-
"name": "handle",
|
|
21
|
-
"baseName": "handle",
|
|
22
|
-
"type": "string"
|
|
23
|
-
}
|
|
24
|
-
];
|
|
25
|
-
static getAttributeTypeMap() {
|
|
26
|
-
return ReadRaidV2Request.attributeTypeMap;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
exports.ReadRaidV2Request = ReadRaidV2Request;
|