@researchdatabox/raido-openapi-generated-node 0.0.2 → 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 (107) hide show
  1. package/dist/api/apis.js +5 -11
  2. package/dist/api/{basicRaidExperimentalApi.js → raidApi.js} +81 -190
  3. package/dist/api/{raidoStableV1Api.js → servicePointApi.js} +40 -59
  4. package/dist/model/access.js +5 -5
  5. package/dist/model/accessStatement.js +1 -1
  6. package/dist/model/accessType.js +22 -6
  7. package/dist/model/alternateIdentifier.js +1 -1
  8. package/dist/model/alternateUrl.js +1 -1
  9. package/dist/model/closedRaid.js +1 -1
  10. package/dist/model/contributor.js +3 -3
  11. package/dist/model/contributorPosition.js +9 -9
  12. package/dist/model/contributorRole.js +9 -9
  13. package/dist/model/description.js +2 -2
  14. package/dist/model/descriptionType.js +22 -6
  15. package/dist/model/failureResponse.js +1 -1
  16. package/dist/model/id.js +1 -10
  17. package/dist/model/language.js +1 -1
  18. package/dist/model/modelDate.js +1 -1
  19. package/dist/model/models.js +16 -188
  20. package/dist/model/organisation.js +2 -2
  21. package/dist/model/organisationRole.js +9 -9
  22. package/dist/model/owner.js +1 -1
  23. package/dist/model/{raidListItemV2.js → raidChange.js} +21 -21
  24. package/dist/model/raidCreateRequest.js +1 -1
  25. package/dist/model/raidDto.js +1 -1
  26. package/dist/model/raidUpdateRequest.js +1 -1
  27. package/dist/model/registrationAgency.js +1 -1
  28. package/dist/model/relatedObject.js +2 -2
  29. package/dist/model/relatedObjectCategory.js +1 -1
  30. package/dist/model/relatedObjectType.js +1 -1
  31. package/dist/model/relatedRaid.js +1 -1
  32. package/dist/model/relatedRaidType.js +1 -1
  33. package/dist/model/servicePoint.js +19 -1
  34. package/dist/model/servicePointCreateRequest.js +104 -0
  35. package/dist/model/servicePointUpdateRequest.js +113 -0
  36. package/dist/model/spatialCoverage.js +2 -8
  37. package/dist/model/{updateRaidoSchemaV2Request.js → spatialCoveragePlace.js} +15 -9
  38. package/dist/model/subject.js +1 -1
  39. package/dist/model/subjectKeyword.js +1 -1
  40. package/dist/model/title.js +2 -2
  41. package/dist/model/titleType.js +22 -6
  42. package/dist/model/traditionalKnowledgeLabel.js +1 -1
  43. package/dist/model/validationFailure.js +1 -1
  44. package/dist/model/validationFailureResponse.js +1 -1
  45. package/package.json +3 -3
  46. package/dist/api/adminExperimentalApi.js +0 -1092
  47. package/dist/api/publicExperimentalApi.js +0 -264
  48. package/dist/api/unapprovedExperimentalApi.js +0 -147
  49. package/dist/model/accessBlock.js +0 -35
  50. package/dist/model/accessTypeWithSchemaUri.js +0 -35
  51. package/dist/model/alternateIdentifierBlock.js +0 -35
  52. package/dist/model/alternateUrlBlock.js +0 -29
  53. package/dist/model/apiKey.js +0 -74
  54. package/dist/model/appUser.js +0 -83
  55. package/dist/model/appUserExtraV1.js +0 -44
  56. package/dist/model/authzRequestExtraV1.js +0 -104
  57. package/dist/model/authzRequestStatus.js +0 -20
  58. package/dist/model/contributorBlock.js +0 -47
  59. package/dist/model/contributorIdentifierSchemeType.js +0 -18
  60. package/dist/model/contributorPositionRaidMetadataSchemaType.js +0 -22
  61. package/dist/model/contributorPositionSchemeType.js +0 -18
  62. package/dist/model/contributorPositionWithSchemaUri.js +0 -47
  63. package/dist/model/contributorRoleCreditNisoOrgType.js +0 -31
  64. package/dist/model/contributorRoleSchemeType.js +0 -18
  65. package/dist/model/contributorRoleWithSchemaUri.js +0 -35
  66. package/dist/model/datesBlock.js +0 -35
  67. package/dist/model/descriptionBlock.js +0 -35
  68. package/dist/model/descriptionTypeWithSchemaUri.js +0 -35
  69. package/dist/model/generateApiTokenRequest.js +0 -29
  70. package/dist/model/generateApiTokenResponse.js +0 -35
  71. package/dist/model/idBlock.js +0 -95
  72. package/dist/model/legacyMetadataSchemaV1.js +0 -68
  73. package/dist/model/migrateLegacyRaidRequest.js +0 -35
  74. package/dist/model/migrateLegacyRaidRequestMintRequest.js +0 -41
  75. package/dist/model/mintRaidoSchemaV1Request.js +0 -38
  76. package/dist/model/mintRaidoSchemaV1RequestMintRequest.js +0 -32
  77. package/dist/model/mintResponse.js +0 -41
  78. package/dist/model/organisationBlock.js +0 -41
  79. package/dist/model/organisationIdentifierSchemeType.js +0 -18
  80. package/dist/model/organisationRoleSchemeType.js +0 -18
  81. package/dist/model/organisationRoleType.js +0 -22
  82. package/dist/model/organisationRoleWithSchemaUri.js +0 -47
  83. package/dist/model/publicClosedMetadataSchemaV1.js +0 -41
  84. package/dist/model/publicRaidMetadataSchemaV1.js +0 -116
  85. package/dist/model/publicReadRaidMetadataResponseV1.js +0 -116
  86. package/dist/model/publicReadRaidResponseV3.js +0 -56
  87. package/dist/model/publicServicePoint.js +0 -38
  88. package/dist/model/raidListItemV3.js +0 -53
  89. package/dist/model/raidListRequestV2.js +0 -35
  90. package/dist/model/raidoMetadataSchemaV1.js +0 -116
  91. package/dist/model/raidoMetadataSchemaV2.js +0 -116
  92. package/dist/model/raidoMetaschema.js +0 -22
  93. package/dist/model/raidoMetaschemaV2.js +0 -23
  94. package/dist/model/readRaidResponseV2.js +0 -71
  95. package/dist/model/readRaidV2Request.js +0 -29
  96. package/dist/model/relatedObjectBlock.js +0 -53
  97. package/dist/model/relatedRaidBlock.js +0 -41
  98. package/dist/model/spatialCoverageBlock.js +0 -41
  99. package/dist/model/subjectBlock.js +0 -41
  100. package/dist/model/titleBlock.js +0 -47
  101. package/dist/model/titleTypeWithSchemaUri.js +0 -35
  102. package/dist/model/traditionalKnowledgeLabelBlock.js +0 -29
  103. package/dist/model/updateAuthzRequest.js +0 -35
  104. package/dist/model/updateAuthzRequestStatus.js +0 -47
  105. package/dist/model/updateAuthzResponse.js +0 -35
  106. package/dist/model/updateRaidoSchemaV1Request.js +0 -29
  107. package/dist/model/versionResult.js +0 -47
@@ -0,0 +1,104 @@
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.ServicePointCreateRequest = void 0;
15
+ class ServicePointCreateRequest {
16
+ /**
17
+ * The name of the service point
18
+ */
19
+ 'name';
20
+ /**
21
+ * The email address of the person responsible for administering the service point.
22
+ */
23
+ 'adminEmail';
24
+ /**
25
+ * The email address of a technical contact when using the API
26
+ */
27
+ 'techEmail';
28
+ /**
29
+ * The PID of the institution that will own the RAiDs (currently only RORs are supported).
30
+ */
31
+ 'identifierOwner';
32
+ /**
33
+ * The Datacite repository id. This needs to be created in Fabrica.
34
+ */
35
+ 'repositoryId';
36
+ /**
37
+ * The prefix used in the handle when minting RAiDs. Assigned when the repository is created.
38
+ */
39
+ 'prefix';
40
+ /**
41
+ * The password of the repository in Datacite.
42
+ */
43
+ 'password';
44
+ /**
45
+ * Whether users are able to edit RAiDs in the in the app. This can cause conflicts when also creating/updating RAiDs through the API.
46
+ */
47
+ 'appWritesEnabled';
48
+ /**
49
+ * Whether the service point is able to create or update RAiDs
50
+ */
51
+ 'enabled';
52
+ static discriminator = undefined;
53
+ static attributeTypeMap = [
54
+ {
55
+ "name": "name",
56
+ "baseName": "name",
57
+ "type": "string"
58
+ },
59
+ {
60
+ "name": "adminEmail",
61
+ "baseName": "adminEmail",
62
+ "type": "string"
63
+ },
64
+ {
65
+ "name": "techEmail",
66
+ "baseName": "techEmail",
67
+ "type": "string"
68
+ },
69
+ {
70
+ "name": "identifierOwner",
71
+ "baseName": "identifierOwner",
72
+ "type": "string"
73
+ },
74
+ {
75
+ "name": "repositoryId",
76
+ "baseName": "repositoryId",
77
+ "type": "string"
78
+ },
79
+ {
80
+ "name": "prefix",
81
+ "baseName": "prefix",
82
+ "type": "string"
83
+ },
84
+ {
85
+ "name": "password",
86
+ "baseName": "password",
87
+ "type": "string"
88
+ },
89
+ {
90
+ "name": "appWritesEnabled",
91
+ "baseName": "appWritesEnabled",
92
+ "type": "boolean"
93
+ },
94
+ {
95
+ "name": "enabled",
96
+ "baseName": "enabled",
97
+ "type": "boolean"
98
+ }
99
+ ];
100
+ static getAttributeTypeMap() {
101
+ return ServicePointCreateRequest.attributeTypeMap;
102
+ }
103
+ }
104
+ exports.ServicePointCreateRequest = ServicePointCreateRequest;
@@ -0,0 +1,113 @@
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.ServicePointUpdateRequest = void 0;
15
+ class ServicePointUpdateRequest {
16
+ /**
17
+ * The name of the service point
18
+ */
19
+ 'id';
20
+ /**
21
+ * The name of the service point
22
+ */
23
+ 'name';
24
+ /**
25
+ * The email address of the person responsible for administering the service point.
26
+ */
27
+ 'adminEmail';
28
+ /**
29
+ * The email address of a technical contact when using the API
30
+ */
31
+ 'techEmail';
32
+ /**
33
+ * The PID of the institution that will own the RAiDs (currently only RORs are supported).
34
+ */
35
+ 'identifierOwner';
36
+ /**
37
+ * The Datacite repository id. This needs to be created in Fabrica.
38
+ */
39
+ 'repositoryId';
40
+ /**
41
+ * The prefix used in the handle when minting RAiDs. Assigned when the repository is created.
42
+ */
43
+ 'prefix';
44
+ /**
45
+ * The password of the repository in Datacite.
46
+ */
47
+ 'password';
48
+ /**
49
+ * Whether users are able to edit RAiDs in the in the app. This can cause conflicts when also creating/updating RAiDs through the API.
50
+ */
51
+ 'appWritesEnabled';
52
+ /**
53
+ * Whether the service point is able to create or update RAiDs
54
+ */
55
+ 'enabled';
56
+ static discriminator = undefined;
57
+ static attributeTypeMap = [
58
+ {
59
+ "name": "id",
60
+ "baseName": "id",
61
+ "type": "number"
62
+ },
63
+ {
64
+ "name": "name",
65
+ "baseName": "name",
66
+ "type": "string"
67
+ },
68
+ {
69
+ "name": "adminEmail",
70
+ "baseName": "adminEmail",
71
+ "type": "string"
72
+ },
73
+ {
74
+ "name": "techEmail",
75
+ "baseName": "techEmail",
76
+ "type": "string"
77
+ },
78
+ {
79
+ "name": "identifierOwner",
80
+ "baseName": "identifierOwner",
81
+ "type": "string"
82
+ },
83
+ {
84
+ "name": "repositoryId",
85
+ "baseName": "repositoryId",
86
+ "type": "string"
87
+ },
88
+ {
89
+ "name": "prefix",
90
+ "baseName": "prefix",
91
+ "type": "string"
92
+ },
93
+ {
94
+ "name": "password",
95
+ "baseName": "password",
96
+ "type": "string"
97
+ },
98
+ {
99
+ "name": "appWritesEnabled",
100
+ "baseName": "appWritesEnabled",
101
+ "type": "boolean"
102
+ },
103
+ {
104
+ "name": "enabled",
105
+ "baseName": "enabled",
106
+ "type": "boolean"
107
+ }
108
+ ];
109
+ static getAttributeTypeMap() {
110
+ return ServicePointUpdateRequest.attributeTypeMap;
111
+ }
112
+ }
113
+ exports.ServicePointUpdateRequest = ServicePointUpdateRequest;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  /**
3
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.
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
5
  *
6
6
  * The version of the OpenAPI document: 2.0.0
7
7
  * Contact: contact@raid.org
@@ -16,7 +16,6 @@ class SpatialCoverage {
16
16
  'id';
17
17
  'schemaUri';
18
18
  'place';
19
- 'language';
20
19
  static discriminator = undefined;
21
20
  static attributeTypeMap = [
22
21
  {
@@ -32,12 +31,7 @@ class SpatialCoverage {
32
31
  {
33
32
  "name": "place",
34
33
  "baseName": "place",
35
- "type": "string"
36
- },
37
- {
38
- "name": "language",
39
- "baseName": "language",
40
- "type": "Language"
34
+ "type": "Array<SpatialCoveragePlace>"
41
35
  }
42
36
  ];
43
37
  static getAttributeTypeMap() {
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  /**
3
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.
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
5
  *
6
6
  * The version of the OpenAPI document: 2.0.0
7
7
  * Contact: contact@raid.org
@@ -11,19 +11,25 @@
11
11
  * Do not edit the class manually.
12
12
  */
13
13
  Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.UpdateRaidoSchemaV2Request = void 0;
15
- class UpdateRaidoSchemaV2Request {
16
- 'metadata';
14
+ exports.SpatialCoveragePlace = void 0;
15
+ class SpatialCoveragePlace {
16
+ 'text';
17
+ 'language';
17
18
  static discriminator = undefined;
18
19
  static attributeTypeMap = [
19
20
  {
20
- "name": "metadata",
21
- "baseName": "metadata",
22
- "type": "RaidoMetadataSchemaV2"
21
+ "name": "text",
22
+ "baseName": "text",
23
+ "type": "string"
24
+ },
25
+ {
26
+ "name": "language",
27
+ "baseName": "language",
28
+ "type": "Language"
23
29
  }
24
30
  ];
25
31
  static getAttributeTypeMap() {
26
- return UpdateRaidoSchemaV2Request.attributeTypeMap;
32
+ return SpatialCoveragePlace.attributeTypeMap;
27
33
  }
28
34
  }
29
- exports.UpdateRaidoSchemaV2Request = UpdateRaidoSchemaV2Request;
35
+ exports.SpatialCoveragePlace = SpatialCoveragePlace;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  /**
3
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.
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
5
  *
6
6
  * The version of the OpenAPI document: 2.0.0
7
7
  * Contact: contact@raid.org
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  /**
3
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.
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
5
  *
6
6
  * The version of the OpenAPI document: 2.0.0
7
7
  * Contact: contact@raid.org
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  /**
3
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.
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
5
  *
6
6
  * The version of the OpenAPI document: 2.0.0
7
7
  * Contact: contact@raid.org
@@ -28,7 +28,7 @@ class Title {
28
28
  {
29
29
  "name": "type",
30
30
  "baseName": "type",
31
- "type": "TitleTypeWithSchemaUri"
31
+ "type": "TitleType"
32
32
  },
33
33
  {
34
34
  "name": "startDate",
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  /**
3
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.
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
5
  *
6
6
  * The version of the OpenAPI document: 2.0.0
7
7
  * Contact: contact@raid.org
@@ -12,8 +12,24 @@
12
12
  */
13
13
  Object.defineProperty(exports, "__esModule", { value: true });
14
14
  exports.TitleType = void 0;
15
- var TitleType;
16
- (function (TitleType) {
17
- TitleType[TitleType["PrimaryTitle"] = 'Primary Title'] = "PrimaryTitle";
18
- TitleType[TitleType["AlternativeTitle"] = 'Alternative Title'] = "AlternativeTitle";
19
- })(TitleType = exports.TitleType || (exports.TitleType = {}));
15
+ class TitleType {
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 TitleType.attributeTypeMap;
33
+ }
34
+ }
35
+ exports.TitleType = TitleType;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  /**
3
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.
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
5
  *
6
6
  * The version of the OpenAPI document: 2.0.0
7
7
  * Contact: contact@raid.org
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  /**
3
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.
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
5
  *
6
6
  * The version of the OpenAPI document: 2.0.0
7
7
  * Contact: contact@raid.org
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  /**
3
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.
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
5
  *
6
6
  * The version of the OpenAPI document: 2.0.0
7
7
  * Contact: contact@raid.org
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@researchdatabox/raido-openapi-generated-node",
3
- "version": "0.0.2",
4
- "description": "Convenience lib for the autogenerated client code using https://openapi-generator.tech using https://github.com/au-research/raido/blob/0b2c660be90c3d7b673defb7cb708fc3c57377fa/api-svc/idl-raid-v2/src/raido-openapi-3.0.yaml ",
3
+ "version": "0.0.3",
4
+ "description": "Convenience lib for the autogenerated client code using https://openapi-generator.tech with https://github.com/au-research/raido/blob/735df6f752f2e1ece7656d05b830b591dc259d03/api-svc/idl-raid-v2/src/raido-openapi-3.0.yaml ",
5
5
  "main": "dist/api.js",
6
6
  "files": [
7
7
  "/dist"
@@ -9,7 +9,7 @@
9
9
  "scripts": {
10
10
  "test": "echo \"Error: no test specified\" && exit 1",
11
11
  "pregenerate": "npm install @openapitools/openapi-generator-cli -g",
12
- "generate": "openapi-generator-cli generate -i https://raw.githubusercontent.com/au-research/raido/0b2c660be90c3d7b673defb7cb708fc3c57377fa/api-svc/idl-raid-v2/src/raido-openapi-3.0.yaml -g typescript-node -o ./src; node_modules/.bin/tsc"
12
+ "generate": "openapi-generator-cli generate -i https://raw.githubusercontent.com/au-research/raido/735df6f752f2e1ece7656d05b830b591dc259d03/api-svc/idl-raid-v2/src/raido-openapi-3.0.yaml -g typescript-node -o ./src; node_modules/.bin/tsc"
13
13
  },
14
14
  "author": "QCIF Engineering",
15
15
  "license": "GPL-3.0",