@researchdatabox/raido-openapi-generated-node 0.0.3 → 5.0.0-RC2

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 (54) 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/alternateUrl.js → index.d.ts} +2 -18
  10. package/dist/index.js +32 -0
  11. package/package.json +11 -6
  12. package/dist/api/apis.js +0 -35
  13. package/dist/api/raidApi.js +0 -452
  14. package/dist/api/servicePointApi.js +0 -350
  15. package/dist/model/access.js +0 -44
  16. package/dist/model/accessStatement.js +0 -35
  17. package/dist/model/accessType.js +0 -35
  18. package/dist/model/alternateIdentifier.js +0 -35
  19. package/dist/model/closedRaid.js +0 -35
  20. package/dist/model/contributor.js +0 -59
  21. package/dist/model/contributorPosition.js +0 -47
  22. package/dist/model/contributorRole.js +0 -35
  23. package/dist/model/description.js +0 -41
  24. package/dist/model/descriptionType.js +0 -35
  25. package/dist/model/failureResponse.js +0 -53
  26. package/dist/model/id.js +0 -80
  27. package/dist/model/language.js +0 -35
  28. package/dist/model/modelDate.js +0 -38
  29. package/dist/model/models.js +0 -334
  30. package/dist/model/organisation.js +0 -41
  31. package/dist/model/organisationRole.js +0 -47
  32. package/dist/model/owner.js +0 -47
  33. package/dist/model/raidChange.js +0 -53
  34. package/dist/model/raidCreateRequest.js +0 -107
  35. package/dist/model/raidDto.js +0 -107
  36. package/dist/model/raidUpdateRequest.js +0 -107
  37. package/dist/model/registrationAgency.js +0 -38
  38. package/dist/model/relatedObject.js +0 -47
  39. package/dist/model/relatedObjectCategory.js +0 -35
  40. package/dist/model/relatedObjectType.js +0 -35
  41. package/dist/model/relatedRaid.js +0 -35
  42. package/dist/model/relatedRaidType.js +0 -35
  43. package/dist/model/servicePoint.js +0 -92
  44. package/dist/model/servicePointCreateRequest.js +0 -104
  45. package/dist/model/servicePointUpdateRequest.js +0 -113
  46. package/dist/model/spatialCoverage.js +0 -41
  47. package/dist/model/spatialCoveragePlace.js +0 -35
  48. package/dist/model/subject.js +0 -41
  49. package/dist/model/subjectKeyword.js +0 -35
  50. package/dist/model/title.js +0 -53
  51. package/dist/model/titleType.js +0 -35
  52. package/dist/model/traditionalKnowledgeLabel.js +0 -35
  53. package/dist/model/validationFailure.js +0 -41
  54. package/dist/model/validationFailureResponse.js +0 -59
@@ -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. 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.ValidationFailure = void 0;
15
- class ValidationFailure {
16
- 'fieldId';
17
- 'errorType';
18
- 'message';
19
- static discriminator = undefined;
20
- static attributeTypeMap = [
21
- {
22
- "name": "fieldId",
23
- "baseName": "fieldId",
24
- "type": "string"
25
- },
26
- {
27
- "name": "errorType",
28
- "baseName": "errorType",
29
- "type": "string"
30
- },
31
- {
32
- "name": "message",
33
- "baseName": "message",
34
- "type": "string"
35
- }
36
- ];
37
- static getAttributeTypeMap() {
38
- return ValidationFailure.attributeTypeMap;
39
- }
40
- }
41
- exports.ValidationFailure = ValidationFailure;
@@ -1,59 +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. 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.ValidationFailureResponse = void 0;
15
- class ValidationFailureResponse {
16
- 'failures';
17
- 'type';
18
- 'title';
19
- 'status';
20
- 'detail';
21
- 'instance';
22
- static discriminator = undefined;
23
- static attributeTypeMap = [
24
- {
25
- "name": "failures",
26
- "baseName": "failures",
27
- "type": "Array<ValidationFailure>"
28
- },
29
- {
30
- "name": "type",
31
- "baseName": "type",
32
- "type": "string"
33
- },
34
- {
35
- "name": "title",
36
- "baseName": "title",
37
- "type": "string"
38
- },
39
- {
40
- "name": "status",
41
- "baseName": "status",
42
- "type": "number"
43
- },
44
- {
45
- "name": "detail",
46
- "baseName": "detail",
47
- "type": "string"
48
- },
49
- {
50
- "name": "instance",
51
- "baseName": "instance",
52
- "type": "string"
53
- }
54
- ];
55
- static getAttributeTypeMap() {
56
- return ValidationFailureResponse.attributeTypeMap;
57
- }
58
- }
59
- exports.ValidationFailureResponse = ValidationFailureResponse;