@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.
Files changed (114) hide show
  1. package/dist/api.d.ts +1679 -0
  2. package/dist/api.js +701 -16
  3. package/dist/base.d.ts +55 -0
  4. package/dist/base.js +69 -0
  5. package/dist/common.d.ts +65 -0
  6. package/dist/common.js +144 -0
  7. package/dist/configuration.d.ts +83 -0
  8. package/dist/configuration.js +92 -0
  9. package/dist/{model/accessType.js → index.d.ts} +3 -9
  10. package/dist/index.js +32 -0
  11. package/package.json +12 -7
  12. package/dist/api/adminExperimentalApi.js +0 -1092
  13. package/dist/api/apis.js +0 -41
  14. package/dist/api/basicRaidExperimentalApi.js +0 -561
  15. package/dist/api/publicExperimentalApi.js +0 -264
  16. package/dist/api/raidoStableV1Api.js +0 -369
  17. package/dist/api/unapprovedExperimentalApi.js +0 -147
  18. package/dist/model/access.js +0 -44
  19. package/dist/model/accessBlock.js +0 -35
  20. package/dist/model/accessStatement.js +0 -35
  21. package/dist/model/accessTypeWithSchemaUri.js +0 -35
  22. package/dist/model/alternateIdentifier.js +0 -35
  23. package/dist/model/alternateIdentifierBlock.js +0 -35
  24. package/dist/model/alternateUrl.js +0 -29
  25. package/dist/model/alternateUrlBlock.js +0 -29
  26. package/dist/model/apiKey.js +0 -74
  27. package/dist/model/appUser.js +0 -83
  28. package/dist/model/appUserExtraV1.js +0 -44
  29. package/dist/model/authzRequestExtraV1.js +0 -104
  30. package/dist/model/authzRequestStatus.js +0 -20
  31. package/dist/model/closedRaid.js +0 -35
  32. package/dist/model/contributor.js +0 -59
  33. package/dist/model/contributorBlock.js +0 -47
  34. package/dist/model/contributorIdentifierSchemeType.js +0 -18
  35. package/dist/model/contributorPosition.js +0 -47
  36. package/dist/model/contributorPositionRaidMetadataSchemaType.js +0 -22
  37. package/dist/model/contributorPositionSchemeType.js +0 -18
  38. package/dist/model/contributorPositionWithSchemaUri.js +0 -47
  39. package/dist/model/contributorRole.js +0 -35
  40. package/dist/model/contributorRoleCreditNisoOrgType.js +0 -31
  41. package/dist/model/contributorRoleSchemeType.js +0 -18
  42. package/dist/model/contributorRoleWithSchemaUri.js +0 -35
  43. package/dist/model/datesBlock.js +0 -35
  44. package/dist/model/description.js +0 -41
  45. package/dist/model/descriptionBlock.js +0 -35
  46. package/dist/model/descriptionType.js +0 -19
  47. package/dist/model/descriptionTypeWithSchemaUri.js +0 -35
  48. package/dist/model/failureResponse.js +0 -53
  49. package/dist/model/generateApiTokenRequest.js +0 -29
  50. package/dist/model/generateApiTokenResponse.js +0 -35
  51. package/dist/model/id.js +0 -89
  52. package/dist/model/idBlock.js +0 -95
  53. package/dist/model/language.js +0 -35
  54. package/dist/model/legacyMetadataSchemaV1.js +0 -68
  55. package/dist/model/migrateLegacyRaidRequest.js +0 -35
  56. package/dist/model/migrateLegacyRaidRequestMintRequest.js +0 -41
  57. package/dist/model/mintRaidoSchemaV1Request.js +0 -38
  58. package/dist/model/mintRaidoSchemaV1RequestMintRequest.js +0 -32
  59. package/dist/model/mintResponse.js +0 -41
  60. package/dist/model/modelDate.js +0 -38
  61. package/dist/model/models.js +0 -506
  62. package/dist/model/organisation.js +0 -41
  63. package/dist/model/organisationBlock.js +0 -41
  64. package/dist/model/organisationIdentifierSchemeType.js +0 -18
  65. package/dist/model/organisationRole.js +0 -47
  66. package/dist/model/organisationRoleSchemeType.js +0 -18
  67. package/dist/model/organisationRoleType.js +0 -22
  68. package/dist/model/organisationRoleWithSchemaUri.js +0 -47
  69. package/dist/model/owner.js +0 -47
  70. package/dist/model/publicClosedMetadataSchemaV1.js +0 -41
  71. package/dist/model/publicRaidMetadataSchemaV1.js +0 -116
  72. package/dist/model/publicReadRaidMetadataResponseV1.js +0 -116
  73. package/dist/model/publicReadRaidResponseV3.js +0 -56
  74. package/dist/model/publicServicePoint.js +0 -38
  75. package/dist/model/raidCreateRequest.js +0 -107
  76. package/dist/model/raidDto.js +0 -107
  77. package/dist/model/raidListItemV2.js +0 -53
  78. package/dist/model/raidListItemV3.js +0 -53
  79. package/dist/model/raidListRequestV2.js +0 -35
  80. package/dist/model/raidUpdateRequest.js +0 -107
  81. package/dist/model/raidoMetadataSchemaV1.js +0 -116
  82. package/dist/model/raidoMetadataSchemaV2.js +0 -116
  83. package/dist/model/raidoMetaschema.js +0 -22
  84. package/dist/model/raidoMetaschemaV2.js +0 -23
  85. package/dist/model/readRaidResponseV2.js +0 -71
  86. package/dist/model/readRaidV2Request.js +0 -29
  87. package/dist/model/registrationAgency.js +0 -38
  88. package/dist/model/relatedObject.js +0 -47
  89. package/dist/model/relatedObjectBlock.js +0 -53
  90. package/dist/model/relatedObjectCategory.js +0 -35
  91. package/dist/model/relatedObjectType.js +0 -35
  92. package/dist/model/relatedRaid.js +0 -35
  93. package/dist/model/relatedRaidBlock.js +0 -41
  94. package/dist/model/relatedRaidType.js +0 -35
  95. package/dist/model/servicePoint.js +0 -74
  96. package/dist/model/spatialCoverage.js +0 -47
  97. package/dist/model/spatialCoverageBlock.js +0 -41
  98. package/dist/model/subject.js +0 -41
  99. package/dist/model/subjectBlock.js +0 -41
  100. package/dist/model/subjectKeyword.js +0 -35
  101. package/dist/model/title.js +0 -53
  102. package/dist/model/titleBlock.js +0 -47
  103. package/dist/model/titleType.js +0 -19
  104. package/dist/model/titleTypeWithSchemaUri.js +0 -35
  105. package/dist/model/traditionalKnowledgeLabel.js +0 -35
  106. package/dist/model/traditionalKnowledgeLabelBlock.js +0 -29
  107. package/dist/model/updateAuthzRequest.js +0 -35
  108. package/dist/model/updateAuthzRequestStatus.js +0 -47
  109. package/dist/model/updateAuthzResponse.js +0 -35
  110. package/dist/model/updateRaidoSchemaV1Request.js +0 -29
  111. package/dist/model/updateRaidoSchemaV2Request.js +0 -29
  112. package/dist/model/validationFailure.js +0 -41
  113. package/dist/model/validationFailureResponse.js +0 -59
  114. package/dist/model/versionResult.js +0 -47
@@ -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,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.OrganisationRole = void 0;
15
- class OrganisationRole {
16
- 'roleSchemeUri';
17
- 'role';
18
- 'startDate';
19
- 'endDate';
20
- static discriminator = undefined;
21
- static attributeTypeMap = [
22
- {
23
- "name": "roleSchemeUri",
24
- "baseName": "roleSchemeUri",
25
- "type": "OrganisationRoleSchemeType"
26
- },
27
- {
28
- "name": "role",
29
- "baseName": "role",
30
- "type": "OrganisationRoleType"
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 OrganisationRole.attributeTypeMap;
45
- }
46
- }
47
- exports.OrganisationRole = OrganisationRole;
@@ -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,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.Owner = void 0;
15
- /**
16
- * 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.
17
- */
18
- class Owner {
19
- 'id';
20
- 'schemaUri';
21
- /**
22
- * The Service Point (SP) that requested the RAiD. Analogous to a DataCite ‘Repository’. SPs belong to an owner, RAiD owners can have multiple SPs, and SPs do not need to be legal entities.
23
- */
24
- 'servicePoint';
25
- static discriminator = undefined;
26
- static attributeTypeMap = [
27
- {
28
- "name": "id",
29
- "baseName": "id",
30
- "type": "string"
31
- },
32
- {
33
- "name": "schemaUri",
34
- "baseName": "schemaUri",
35
- "type": "string"
36
- },
37
- {
38
- "name": "servicePoint",
39
- "baseName": "servicePoint",
40
- "type": "number"
41
- }
42
- ];
43
- static getAttributeTypeMap() {
44
- return Owner.attributeTypeMap;
45
- }
46
- }
47
- exports.Owner = Owner;
@@ -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;
@@ -1,116 +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.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
- 'subjects';
29
- 'relatedRaids';
30
- 'relatedObjects';
31
- 'alternateIdentifiers';
32
- 'spatialCoverages';
33
- 'traditionalKnowledgeLabels';
34
- static discriminator = undefined;
35
- static attributeTypeMap = [
36
- {
37
- "name": "metadataSchema",
38
- "baseName": "metadataSchema",
39
- "type": "string"
40
- },
41
- {
42
- "name": "id",
43
- "baseName": "id",
44
- "type": "IdBlock"
45
- },
46
- {
47
- "name": "titles",
48
- "baseName": "titles",
49
- "type": "Array<TitleBlock>"
50
- },
51
- {
52
- "name": "dates",
53
- "baseName": "dates",
54
- "type": "DatesBlock"
55
- },
56
- {
57
- "name": "descriptions",
58
- "baseName": "descriptions",
59
- "type": "Array<DescriptionBlock>"
60
- },
61
- {
62
- "name": "access",
63
- "baseName": "access",
64
- "type": "AccessBlock"
65
- },
66
- {
67
- "name": "alternateUrls",
68
- "baseName": "alternateUrls",
69
- "type": "Array<AlternateUrlBlock>"
70
- },
71
- {
72
- "name": "contributors",
73
- "baseName": "contributors",
74
- "type": "Array<ContributorBlock>"
75
- },
76
- {
77
- "name": "organisations",
78
- "baseName": "organisations",
79
- "type": "Array<OrganisationBlock>"
80
- },
81
- {
82
- "name": "subjects",
83
- "baseName": "subjects",
84
- "type": "Array<SubjectBlock>"
85
- },
86
- {
87
- "name": "relatedRaids",
88
- "baseName": "relatedRaids",
89
- "type": "Array<RelatedRaidBlock>"
90
- },
91
- {
92
- "name": "relatedObjects",
93
- "baseName": "relatedObjects",
94
- "type": "Array<RelatedObjectBlock>"
95
- },
96
- {
97
- "name": "alternateIdentifiers",
98
- "baseName": "alternateIdentifiers",
99
- "type": "Array<AlternateIdentifierBlock>"
100
- },
101
- {
102
- "name": "spatialCoverages",
103
- "baseName": "spatialCoverages",
104
- "type": "Array<SpatialCoverageBlock>"
105
- },
106
- {
107
- "name": "traditionalKnowledgeLabels",
108
- "baseName": "traditionalKnowledgeLabels",
109
- "type": "Array<TraditionalKnowledgeLabelBlock>"
110
- }
111
- ];
112
- static getAttributeTypeMap() {
113
- return PublicRaidMetadataSchemaV1.attributeTypeMap;
114
- }
115
- }
116
- exports.PublicRaidMetadataSchemaV1 = PublicRaidMetadataSchemaV1;
@@ -1,116 +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.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
- 'subjects';
29
- 'relatedRaids';
30
- 'relatedObjects';
31
- 'alternateIdentifiers';
32
- 'spatialCoverages';
33
- 'traditionalKnowledgeLabels';
34
- static discriminator = "metadataSchema";
35
- static attributeTypeMap = [
36
- {
37
- "name": "metadataSchema",
38
- "baseName": "metadataSchema",
39
- "type": "string"
40
- },
41
- {
42
- "name": "id",
43
- "baseName": "id",
44
- "type": "IdBlock"
45
- },
46
- {
47
- "name": "titles",
48
- "baseName": "titles",
49
- "type": "Array<TitleBlock>"
50
- },
51
- {
52
- "name": "dates",
53
- "baseName": "dates",
54
- "type": "DatesBlock"
55
- },
56
- {
57
- "name": "descriptions",
58
- "baseName": "descriptions",
59
- "type": "Array<DescriptionBlock>"
60
- },
61
- {
62
- "name": "access",
63
- "baseName": "access",
64
- "type": "AccessBlock"
65
- },
66
- {
67
- "name": "alternateUrls",
68
- "baseName": "alternateUrls",
69
- "type": "Array<AlternateUrlBlock>"
70
- },
71
- {
72
- "name": "contributors",
73
- "baseName": "contributors",
74
- "type": "Array<ContributorBlock>"
75
- },
76
- {
77
- "name": "organisations",
78
- "baseName": "organisations",
79
- "type": "Array<OrganisationBlock>"
80
- },
81
- {
82
- "name": "subjects",
83
- "baseName": "subjects",
84
- "type": "Array<SubjectBlock>"
85
- },
86
- {
87
- "name": "relatedRaids",
88
- "baseName": "relatedRaids",
89
- "type": "Array<RelatedRaidBlock>"
90
- },
91
- {
92
- "name": "relatedObjects",
93
- "baseName": "relatedObjects",
94
- "type": "Array<RelatedObjectBlock>"
95
- },
96
- {
97
- "name": "alternateIdentifiers",
98
- "baseName": "alternateIdentifiers",
99
- "type": "Array<AlternateIdentifierBlock>"
100
- },
101
- {
102
- "name": "spatialCoverages",
103
- "baseName": "spatialCoverages",
104
- "type": "Array<SpatialCoverageBlock>"
105
- },
106
- {
107
- "name": "traditionalKnowledgeLabels",
108
- "baseName": "traditionalKnowledgeLabels",
109
- "type": "Array<TraditionalKnowledgeLabelBlock>"
110
- }
111
- ];
112
- static getAttributeTypeMap() {
113
- return PublicReadRaidMetadataResponseV1.attributeTypeMap;
114
- }
115
- }
116
- 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 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.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,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.PublicServicePoint = void 0;
15
- /**
16
- * data that non-authn users can see (do not leak email)
17
- */
18
- class PublicServicePoint {
19
- 'id';
20
- 'name';
21
- static discriminator = undefined;
22
- static attributeTypeMap = [
23
- {
24
- "name": "id",
25
- "baseName": "id",
26
- "type": "number"
27
- },
28
- {
29
- "name": "name",
30
- "baseName": "name",
31
- "type": "string"
32
- }
33
- ];
34
- static getAttributeTypeMap() {
35
- return PublicServicePoint.attributeTypeMap;
36
- }
37
- }
38
- exports.PublicServicePoint = PublicServicePoint;