@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.
Files changed (78) hide show
  1. package/README.md +1 -1
  2. package/dist/api/apis.js +5 -9
  3. package/dist/api/{basicRaidExperimentalApi.js → raidApi.js} +98 -69
  4. package/dist/api/{publicExperimentalApi.js → servicePointApi.js} +115 -29
  5. package/dist/model/access.js +44 -0
  6. package/dist/model/accessStatement.js +35 -0
  7. package/dist/model/accessType.js +22 -6
  8. package/dist/model/{descriptionBlock.js → alternateIdentifier.js} +9 -9
  9. package/dist/model/{alternateUrlBlock.js → alternateUrl.js} +5 -5
  10. package/dist/model/closedRaid.js +35 -0
  11. package/dist/model/{apiKey.js → contributor.js} +21 -36
  12. package/dist/model/contributorPosition.js +9 -9
  13. package/dist/model/contributorRole.js +9 -9
  14. package/dist/model/description.js +41 -0
  15. package/dist/model/descriptionType.js +22 -6
  16. package/dist/model/{updateAuthzRequestStatus.js → failureResponse.js} +25 -16
  17. package/dist/model/id.js +80 -0
  18. package/dist/model/{publicServicePoint.js → language.js} +9 -12
  19. package/dist/model/{datesBlock.js → modelDate.js} +8 -5
  20. package/dist/model/models.js +100 -140
  21. package/dist/model/{organisationBlock.js → organisation.js} +12 -12
  22. package/dist/model/organisationRole.js +9 -9
  23. package/dist/model/{appUserExtraV1.js → owner.js} +20 -17
  24. package/dist/model/{raidListItemV2.js → raidChange.js} +21 -21
  25. package/dist/model/raidCreateRequest.js +107 -0
  26. package/dist/model/raidDto.js +107 -0
  27. package/dist/model/raidUpdateRequest.js +107 -0
  28. package/dist/model/registrationAgency.js +38 -0
  29. package/dist/model/relatedObject.js +47 -0
  30. package/dist/model/{publicClosedMetadataSchemaV1.js → relatedObjectCategory.js} +10 -16
  31. package/dist/model/relatedObjectType.js +35 -0
  32. package/dist/model/{accessBlock.js → relatedRaid.js} +12 -12
  33. package/dist/model/relatedRaidType.js +35 -0
  34. package/dist/model/servicePoint.js +31 -1
  35. package/dist/model/servicePointCreateRequest.js +104 -0
  36. package/dist/model/servicePointUpdateRequest.js +113 -0
  37. package/dist/model/{contributorBlock.js → spatialCoverage.js} +13 -19
  38. package/dist/model/spatialCoveragePlace.js +35 -0
  39. package/dist/model/subject.js +41 -0
  40. package/dist/model/{generateApiTokenResponse.js → subjectKeyword.js} +13 -13
  41. package/dist/model/{titleBlock.js → title.js} +14 -8
  42. package/dist/model/titleType.js +22 -6
  43. package/dist/model/traditionalKnowledgeLabel.js +35 -0
  44. package/dist/model/validationFailure.js +1 -1
  45. package/dist/model/{readRaidResponseV2.js → validationFailureResponse.js} +26 -38
  46. package/package.json +3 -3
  47. package/dist/api/adminExperimentalApi.js +0 -1092
  48. package/dist/api/unauthzExperimentalApi.js +0 -147
  49. package/dist/model/appUser.js +0 -83
  50. package/dist/model/authzRequestExtraV1.js +0 -104
  51. package/dist/model/authzRequestStatus.js +0 -20
  52. package/dist/model/contributorIdentifierSchemeType.js +0 -18
  53. package/dist/model/contributorPositionRaidMetadataSchemaType.js +0 -22
  54. package/dist/model/contributorPositionSchemeType.js +0 -18
  55. package/dist/model/contributorRoleCreditNisoOrgType.js +0 -31
  56. package/dist/model/contributorRoleSchemeType.js +0 -18
  57. package/dist/model/generateApiTokenRequest.js +0 -29
  58. package/dist/model/idBlock.js +0 -65
  59. package/dist/model/legacyMetadataSchemaV1.js +0 -68
  60. package/dist/model/migrateLegacyRaidRequest.js +0 -35
  61. package/dist/model/migrateLegacyRaidRequestMintRequest.js +0 -41
  62. package/dist/model/mintRaidoSchemaV1Request.js +0 -38
  63. package/dist/model/mintRaidoSchemaV1RequestMintRequest.js +0 -32
  64. package/dist/model/mintResponse.js +0 -41
  65. package/dist/model/organisationIdentifierSchemeType.js +0 -18
  66. package/dist/model/organisationRoleSchemeType.js +0 -18
  67. package/dist/model/organisationRoleType.js +0 -22
  68. package/dist/model/publicRaidMetadataSchemaV1.js +0 -80
  69. package/dist/model/publicReadRaidMetadataResponseV1.js +0 -80
  70. package/dist/model/publicReadRaidResponseV3.js +0 -56
  71. package/dist/model/raidListRequestV2.js +0 -35
  72. package/dist/model/raidoMetadataSchemaV1.js +0 -80
  73. package/dist/model/raidoMetaschema.js +0 -22
  74. package/dist/model/readRaidV2Request.js +0 -29
  75. package/dist/model/updateAuthzRequest.js +0 -38
  76. package/dist/model/updateAuthzResponse.js +0 -29
  77. package/dist/model/updateRaidoSchemaV1Request.js +0 -29
  78. package/dist/model/versionResult.js +0 -47
@@ -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.UpdateAuthzRequest = void 0;
15
- /**
16
- * authorization request
17
- */
18
- class UpdateAuthzRequest {
19
- 'servicePointId';
20
- 'comments';
21
- static discriminator = undefined;
22
- static attributeTypeMap = [
23
- {
24
- "name": "servicePointId",
25
- "baseName": "servicePointId",
26
- "type": "number"
27
- },
28
- {
29
- "name": "comments",
30
- "baseName": "comments",
31
- "type": "string"
32
- }
33
- ];
34
- static getAttributeTypeMap() {
35
- return UpdateAuthzRequest.attributeTypeMap;
36
- }
37
- }
38
- exports.UpdateAuthzRequest = UpdateAuthzRequest;
@@ -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.UpdateAuthzResponse = void 0;
15
- class UpdateAuthzResponse {
16
- 'status';
17
- static discriminator = undefined;
18
- static attributeTypeMap = [
19
- {
20
- "name": "status",
21
- "baseName": "status",
22
- "type": "AuthzRequestStatus"
23
- }
24
- ];
25
- static getAttributeTypeMap() {
26
- return UpdateAuthzResponse.attributeTypeMap;
27
- }
28
- }
29
- exports.UpdateAuthzResponse = UpdateAuthzResponse;
@@ -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.UpdateRaidoSchemaV1Request = void 0;
15
- class UpdateRaidoSchemaV1Request {
16
- 'metadata';
17
- static discriminator = undefined;
18
- static attributeTypeMap = [
19
- {
20
- "name": "metadata",
21
- "baseName": "metadata",
22
- "type": "RaidoMetadataSchemaV1"
23
- }
24
- ];
25
- static getAttributeTypeMap() {
26
- return UpdateRaidoSchemaV1Request.attributeTypeMap;
27
- }
28
- }
29
- exports.UpdateRaidoSchemaV1Request = UpdateRaidoSchemaV1Request;
@@ -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 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.VersionResult = void 0;
15
- class VersionResult {
16
- 'buildVersion';
17
- 'buildCommitId';
18
- 'buildDate';
19
- 'startDate';
20
- static discriminator = undefined;
21
- static attributeTypeMap = [
22
- {
23
- "name": "buildVersion",
24
- "baseName": "buildVersion",
25
- "type": "string"
26
- },
27
- {
28
- "name": "buildCommitId",
29
- "baseName": "buildCommitId",
30
- "type": "string"
31
- },
32
- {
33
- "name": "buildDate",
34
- "baseName": "buildDate",
35
- "type": "string"
36
- },
37
- {
38
- "name": "startDate",
39
- "baseName": "startDate",
40
- "type": "Date"
41
- }
42
- ];
43
- static getAttributeTypeMap() {
44
- return VersionResult.attributeTypeMap;
45
- }
46
- }
47
- exports.VersionResult = VersionResult;