@researchdatabox/raido-openapi-generated-node 0.0.3 → 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 (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.Organisation = void 0;
15
- class Organisation {
16
- 'id';
17
- 'schemaUri';
18
- 'role';
19
- static discriminator = undefined;
20
- static attributeTypeMap = [
21
- {
22
- "name": "id",
23
- "baseName": "id",
24
- "type": "string"
25
- },
26
- {
27
- "name": "schemaUri",
28
- "baseName": "schemaUri",
29
- "type": "string"
30
- },
31
- {
32
- "name": "role",
33
- "baseName": "role",
34
- "type": "Array<OrganisationRole>"
35
- }
36
- ];
37
- static getAttributeTypeMap() {
38
- return Organisation.attributeTypeMap;
39
- }
40
- }
41
- exports.Organisation = Organisation;
@@ -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. 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
- '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 OrganisationRole.attributeTypeMap;
45
- }
46
- }
47
- exports.OrganisationRole = OrganisationRole;
@@ -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. 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,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. 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.RaidChange = void 0;
15
- class RaidChange {
16
- 'handle';
17
- 'version';
18
- /**
19
- * A base64 encoded json patch (RFC 6902) representation of a change to the raid.
20
- */
21
- 'diff';
22
- /**
23
- * A timestamp of the change
24
- */
25
- 'timestamp';
26
- static discriminator = undefined;
27
- static attributeTypeMap = [
28
- {
29
- "name": "handle",
30
- "baseName": "handle",
31
- "type": "string"
32
- },
33
- {
34
- "name": "version",
35
- "baseName": "version",
36
- "type": "number"
37
- },
38
- {
39
- "name": "diff",
40
- "baseName": "diff",
41
- "type": "string"
42
- },
43
- {
44
- "name": "timestamp",
45
- "baseName": "timestamp",
46
- "type": "Date"
47
- }
48
- ];
49
- static getAttributeTypeMap() {
50
- return RaidChange.attributeTypeMap;
51
- }
52
- }
53
- exports.RaidChange = RaidChange;
@@ -1,107 +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.RaidCreateRequest = void 0;
15
- class RaidCreateRequest {
16
- 'identifier';
17
- 'title';
18
- 'date';
19
- 'description';
20
- 'access';
21
- 'alternateUrl';
22
- 'contributor';
23
- 'organisation';
24
- 'subject';
25
- 'relatedRaid';
26
- 'relatedObject';
27
- 'alternateIdentifier';
28
- 'spatialCoverage';
29
- 'traditionalKnowledgeLabel';
30
- static discriminator = undefined;
31
- static attributeTypeMap = [
32
- {
33
- "name": "identifier",
34
- "baseName": "identifier",
35
- "type": "Id"
36
- },
37
- {
38
- "name": "title",
39
- "baseName": "title",
40
- "type": "Array<Title>"
41
- },
42
- {
43
- "name": "date",
44
- "baseName": "date",
45
- "type": "ModelDate"
46
- },
47
- {
48
- "name": "description",
49
- "baseName": "description",
50
- "type": "Array<Description>"
51
- },
52
- {
53
- "name": "access",
54
- "baseName": "access",
55
- "type": "Access"
56
- },
57
- {
58
- "name": "alternateUrl",
59
- "baseName": "alternateUrl",
60
- "type": "Array<AlternateUrl>"
61
- },
62
- {
63
- "name": "contributor",
64
- "baseName": "contributor",
65
- "type": "Array<Contributor>"
66
- },
67
- {
68
- "name": "organisation",
69
- "baseName": "organisation",
70
- "type": "Array<Organisation>"
71
- },
72
- {
73
- "name": "subject",
74
- "baseName": "subject",
75
- "type": "Array<Subject>"
76
- },
77
- {
78
- "name": "relatedRaid",
79
- "baseName": "relatedRaid",
80
- "type": "Array<RelatedRaid>"
81
- },
82
- {
83
- "name": "relatedObject",
84
- "baseName": "relatedObject",
85
- "type": "Array<RelatedObject>"
86
- },
87
- {
88
- "name": "alternateIdentifier",
89
- "baseName": "alternateIdentifier",
90
- "type": "Array<AlternateIdentifier>"
91
- },
92
- {
93
- "name": "spatialCoverage",
94
- "baseName": "spatialCoverage",
95
- "type": "Array<SpatialCoverage>"
96
- },
97
- {
98
- "name": "traditionalKnowledgeLabel",
99
- "baseName": "traditionalKnowledgeLabel",
100
- "type": "Array<TraditionalKnowledgeLabel>"
101
- }
102
- ];
103
- static getAttributeTypeMap() {
104
- return RaidCreateRequest.attributeTypeMap;
105
- }
106
- }
107
- exports.RaidCreateRequest = RaidCreateRequest;
@@ -1,107 +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.RaidDto = void 0;
15
- class RaidDto {
16
- 'identifier';
17
- 'title';
18
- 'date';
19
- 'description';
20
- 'access';
21
- 'alternateUrl';
22
- 'contributor';
23
- 'organisation';
24
- 'subject';
25
- 'relatedRaid';
26
- 'relatedObject';
27
- 'alternateIdentifier';
28
- 'spatialCoverage';
29
- 'traditionalKnowledgeLabel';
30
- static discriminator = undefined;
31
- static attributeTypeMap = [
32
- {
33
- "name": "identifier",
34
- "baseName": "identifier",
35
- "type": "Id"
36
- },
37
- {
38
- "name": "title",
39
- "baseName": "title",
40
- "type": "Array<Title>"
41
- },
42
- {
43
- "name": "date",
44
- "baseName": "date",
45
- "type": "ModelDate"
46
- },
47
- {
48
- "name": "description",
49
- "baseName": "description",
50
- "type": "Array<Description>"
51
- },
52
- {
53
- "name": "access",
54
- "baseName": "access",
55
- "type": "Access"
56
- },
57
- {
58
- "name": "alternateUrl",
59
- "baseName": "alternateUrl",
60
- "type": "Array<AlternateUrl>"
61
- },
62
- {
63
- "name": "contributor",
64
- "baseName": "contributor",
65
- "type": "Array<Contributor>"
66
- },
67
- {
68
- "name": "organisation",
69
- "baseName": "organisation",
70
- "type": "Array<Organisation>"
71
- },
72
- {
73
- "name": "subject",
74
- "baseName": "subject",
75
- "type": "Array<Subject>"
76
- },
77
- {
78
- "name": "relatedRaid",
79
- "baseName": "relatedRaid",
80
- "type": "Array<RelatedRaid>"
81
- },
82
- {
83
- "name": "relatedObject",
84
- "baseName": "relatedObject",
85
- "type": "Array<RelatedObject>"
86
- },
87
- {
88
- "name": "alternateIdentifier",
89
- "baseName": "alternateIdentifier",
90
- "type": "Array<AlternateIdentifier>"
91
- },
92
- {
93
- "name": "spatialCoverage",
94
- "baseName": "spatialCoverage",
95
- "type": "Array<SpatialCoverage>"
96
- },
97
- {
98
- "name": "traditionalKnowledgeLabel",
99
- "baseName": "traditionalKnowledgeLabel",
100
- "type": "Array<TraditionalKnowledgeLabel>"
101
- }
102
- ];
103
- static getAttributeTypeMap() {
104
- return RaidDto.attributeTypeMap;
105
- }
106
- }
107
- exports.RaidDto = RaidDto;
@@ -1,107 +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.RaidUpdateRequest = void 0;
15
- class RaidUpdateRequest {
16
- 'identifier';
17
- 'title';
18
- 'date';
19
- 'description';
20
- 'access';
21
- 'alternateUrl';
22
- 'contributor';
23
- 'organisation';
24
- 'subject';
25
- 'relatedRaid';
26
- 'relatedObject';
27
- 'alternateIdentifier';
28
- 'spatialCoverage';
29
- 'traditionalKnowledgeLabel';
30
- static discriminator = undefined;
31
- static attributeTypeMap = [
32
- {
33
- "name": "identifier",
34
- "baseName": "identifier",
35
- "type": "Id"
36
- },
37
- {
38
- "name": "title",
39
- "baseName": "title",
40
- "type": "Array<Title>"
41
- },
42
- {
43
- "name": "date",
44
- "baseName": "date",
45
- "type": "ModelDate"
46
- },
47
- {
48
- "name": "description",
49
- "baseName": "description",
50
- "type": "Array<Description>"
51
- },
52
- {
53
- "name": "access",
54
- "baseName": "access",
55
- "type": "Access"
56
- },
57
- {
58
- "name": "alternateUrl",
59
- "baseName": "alternateUrl",
60
- "type": "Array<AlternateUrl>"
61
- },
62
- {
63
- "name": "contributor",
64
- "baseName": "contributor",
65
- "type": "Array<Contributor>"
66
- },
67
- {
68
- "name": "organisation",
69
- "baseName": "organisation",
70
- "type": "Array<Organisation>"
71
- },
72
- {
73
- "name": "subject",
74
- "baseName": "subject",
75
- "type": "Array<Subject>"
76
- },
77
- {
78
- "name": "relatedRaid",
79
- "baseName": "relatedRaid",
80
- "type": "Array<RelatedRaid>"
81
- },
82
- {
83
- "name": "relatedObject",
84
- "baseName": "relatedObject",
85
- "type": "Array<RelatedObject>"
86
- },
87
- {
88
- "name": "alternateIdentifier",
89
- "baseName": "alternateIdentifier",
90
- "type": "Array<AlternateIdentifier>"
91
- },
92
- {
93
- "name": "spatialCoverage",
94
- "baseName": "spatialCoverage",
95
- "type": "Array<SpatialCoverage>"
96
- },
97
- {
98
- "name": "traditionalKnowledgeLabel",
99
- "baseName": "traditionalKnowledgeLabel",
100
- "type": "Array<TraditionalKnowledgeLabel>"
101
- }
102
- ];
103
- static getAttributeTypeMap() {
104
- return RaidUpdateRequest.attributeTypeMap;
105
- }
106
- }
107
- exports.RaidUpdateRequest = RaidUpdateRequest;
@@ -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. 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.RegistrationAgency = void 0;
15
- /**
16
- * ROR that identifies the organisation that operates the raid registration agency software that minted this raid.
17
- */
18
- class RegistrationAgency {
19
- 'id';
20
- 'schemaUri';
21
- static discriminator = undefined;
22
- static attributeTypeMap = [
23
- {
24
- "name": "id",
25
- "baseName": "id",
26
- "type": "string"
27
- },
28
- {
29
- "name": "schemaUri",
30
- "baseName": "schemaUri",
31
- "type": "string"
32
- }
33
- ];
34
- static getAttributeTypeMap() {
35
- return RegistrationAgency.attributeTypeMap;
36
- }
37
- }
38
- exports.RegistrationAgency = RegistrationAgency;
@@ -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. 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.RelatedObject = void 0;
15
- class RelatedObject {
16
- 'id';
17
- 'schemaUri';
18
- 'type';
19
- 'category';
20
- static discriminator = undefined;
21
- static attributeTypeMap = [
22
- {
23
- "name": "id",
24
- "baseName": "id",
25
- "type": "string"
26
- },
27
- {
28
- "name": "schemaUri",
29
- "baseName": "schemaUri",
30
- "type": "string"
31
- },
32
- {
33
- "name": "type",
34
- "baseName": "type",
35
- "type": "RelatedObjectType"
36
- },
37
- {
38
- "name": "category",
39
- "baseName": "category",
40
- "type": "Array<RelatedObjectCategory>"
41
- }
42
- ];
43
- static getAttributeTypeMap() {
44
- return RelatedObject.attributeTypeMap;
45
- }
46
- }
47
- exports.RelatedObject = RelatedObject;
@@ -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. 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.RelatedObjectCategory = void 0;
15
- class RelatedObjectCategory {
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 RelatedObjectCategory.attributeTypeMap;
33
- }
34
- }
35
- exports.RelatedObjectCategory = RelatedObjectCategory;
@@ -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. 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.RelatedObjectType = void 0;
15
- class RelatedObjectType {
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 RelatedObjectType.attributeTypeMap;
33
- }
34
- }
35
- exports.RelatedObjectType = RelatedObjectType;