@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.
- package/dist/api/apis.js +5 -11
- package/dist/api/{basicRaidExperimentalApi.js → raidApi.js} +81 -190
- package/dist/api/{raidoStableV1Api.js → servicePointApi.js} +40 -59
- package/dist/model/access.js +5 -5
- package/dist/model/accessStatement.js +1 -1
- package/dist/model/accessType.js +22 -6
- package/dist/model/alternateIdentifier.js +1 -1
- package/dist/model/alternateUrl.js +1 -1
- package/dist/model/closedRaid.js +1 -1
- package/dist/model/contributor.js +3 -3
- package/dist/model/contributorPosition.js +9 -9
- package/dist/model/contributorRole.js +9 -9
- package/dist/model/description.js +2 -2
- package/dist/model/descriptionType.js +22 -6
- package/dist/model/failureResponse.js +1 -1
- package/dist/model/id.js +1 -10
- package/dist/model/language.js +1 -1
- package/dist/model/modelDate.js +1 -1
- package/dist/model/models.js +16 -188
- package/dist/model/organisation.js +2 -2
- package/dist/model/organisationRole.js +9 -9
- package/dist/model/owner.js +1 -1
- package/dist/model/{raidListItemV2.js → raidChange.js} +21 -21
- package/dist/model/raidCreateRequest.js +1 -1
- package/dist/model/raidDto.js +1 -1
- package/dist/model/raidUpdateRequest.js +1 -1
- package/dist/model/registrationAgency.js +1 -1
- package/dist/model/relatedObject.js +2 -2
- package/dist/model/relatedObjectCategory.js +1 -1
- package/dist/model/relatedObjectType.js +1 -1
- package/dist/model/relatedRaid.js +1 -1
- package/dist/model/relatedRaidType.js +1 -1
- package/dist/model/servicePoint.js +19 -1
- package/dist/model/servicePointCreateRequest.js +104 -0
- package/dist/model/servicePointUpdateRequest.js +113 -0
- package/dist/model/spatialCoverage.js +2 -8
- package/dist/model/{updateRaidoSchemaV2Request.js → spatialCoveragePlace.js} +15 -9
- package/dist/model/subject.js +1 -1
- package/dist/model/subjectKeyword.js +1 -1
- package/dist/model/title.js +2 -2
- package/dist/model/titleType.js +22 -6
- package/dist/model/traditionalKnowledgeLabel.js +1 -1
- package/dist/model/validationFailure.js +1 -1
- package/dist/model/validationFailureResponse.js +1 -1
- package/package.json +3 -3
- package/dist/api/adminExperimentalApi.js +0 -1092
- package/dist/api/publicExperimentalApi.js +0 -264
- package/dist/api/unapprovedExperimentalApi.js +0 -147
- package/dist/model/accessBlock.js +0 -35
- package/dist/model/accessTypeWithSchemaUri.js +0 -35
- package/dist/model/alternateIdentifierBlock.js +0 -35
- package/dist/model/alternateUrlBlock.js +0 -29
- package/dist/model/apiKey.js +0 -74
- package/dist/model/appUser.js +0 -83
- package/dist/model/appUserExtraV1.js +0 -44
- package/dist/model/authzRequestExtraV1.js +0 -104
- package/dist/model/authzRequestStatus.js +0 -20
- package/dist/model/contributorBlock.js +0 -47
- package/dist/model/contributorIdentifierSchemeType.js +0 -18
- package/dist/model/contributorPositionRaidMetadataSchemaType.js +0 -22
- package/dist/model/contributorPositionSchemeType.js +0 -18
- package/dist/model/contributorPositionWithSchemaUri.js +0 -47
- package/dist/model/contributorRoleCreditNisoOrgType.js +0 -31
- package/dist/model/contributorRoleSchemeType.js +0 -18
- package/dist/model/contributorRoleWithSchemaUri.js +0 -35
- package/dist/model/datesBlock.js +0 -35
- package/dist/model/descriptionBlock.js +0 -35
- package/dist/model/descriptionTypeWithSchemaUri.js +0 -35
- package/dist/model/generateApiTokenRequest.js +0 -29
- package/dist/model/generateApiTokenResponse.js +0 -35
- package/dist/model/idBlock.js +0 -95
- package/dist/model/legacyMetadataSchemaV1.js +0 -68
- package/dist/model/migrateLegacyRaidRequest.js +0 -35
- package/dist/model/migrateLegacyRaidRequestMintRequest.js +0 -41
- package/dist/model/mintRaidoSchemaV1Request.js +0 -38
- package/dist/model/mintRaidoSchemaV1RequestMintRequest.js +0 -32
- package/dist/model/mintResponse.js +0 -41
- package/dist/model/organisationBlock.js +0 -41
- package/dist/model/organisationIdentifierSchemeType.js +0 -18
- package/dist/model/organisationRoleSchemeType.js +0 -18
- package/dist/model/organisationRoleType.js +0 -22
- package/dist/model/organisationRoleWithSchemaUri.js +0 -47
- package/dist/model/publicClosedMetadataSchemaV1.js +0 -41
- package/dist/model/publicRaidMetadataSchemaV1.js +0 -116
- package/dist/model/publicReadRaidMetadataResponseV1.js +0 -116
- package/dist/model/publicReadRaidResponseV3.js +0 -56
- package/dist/model/publicServicePoint.js +0 -38
- package/dist/model/raidListItemV3.js +0 -53
- package/dist/model/raidListRequestV2.js +0 -35
- package/dist/model/raidoMetadataSchemaV1.js +0 -116
- package/dist/model/raidoMetadataSchemaV2.js +0 -116
- package/dist/model/raidoMetaschema.js +0 -22
- package/dist/model/raidoMetaschemaV2.js +0 -23
- package/dist/model/readRaidResponseV2.js +0 -71
- package/dist/model/readRaidV2Request.js +0 -29
- package/dist/model/relatedObjectBlock.js +0 -53
- package/dist/model/relatedRaidBlock.js +0 -41
- package/dist/model/spatialCoverageBlock.js +0 -41
- package/dist/model/subjectBlock.js +0 -41
- package/dist/model/titleBlock.js +0 -47
- package/dist/model/titleTypeWithSchemaUri.js +0 -35
- package/dist/model/traditionalKnowledgeLabelBlock.js +0 -29
- package/dist/model/updateAuthzRequest.js +0 -35
- package/dist/model/updateAuthzRequestStatus.js +0 -47
- package/dist/model/updateAuthzResponse.js +0 -35
- package/dist/model/updateRaidoSchemaV1Request.js +0 -29
- package/dist/model/versionResult.js +0 -47
|
@@ -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
|
|
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
|
|
@@ -14,7 +14,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
14
14
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.
|
|
17
|
+
exports.ServicePointApi = exports.ServicePointApiApiKeys = void 0;
|
|
18
18
|
const request_1 = __importDefault(require("request"));
|
|
19
19
|
const models_1 = require("../model/models");
|
|
20
20
|
const models_2 = require("../model/models");
|
|
@@ -23,10 +23,10 @@ let defaultBasePath = 'https://api.prod.raid.org.au';
|
|
|
23
23
|
// ===============================================
|
|
24
24
|
// This file is autogenerated - Please do not edit
|
|
25
25
|
// ===============================================
|
|
26
|
-
var
|
|
27
|
-
(function (
|
|
28
|
-
})(
|
|
29
|
-
class
|
|
26
|
+
var ServicePointApiApiKeys;
|
|
27
|
+
(function (ServicePointApiApiKeys) {
|
|
28
|
+
})(ServicePointApiApiKeys = exports.ServicePointApiApiKeys || (exports.ServicePointApiApiKeys = {}));
|
|
29
|
+
class ServicePointApi {
|
|
30
30
|
_basePath = defaultBasePath;
|
|
31
31
|
_defaultHeaders = {};
|
|
32
32
|
_useQuerystring = false;
|
|
@@ -66,7 +66,7 @@ class RaidoStableV1Api {
|
|
|
66
66
|
this.authentications.default = auth;
|
|
67
67
|
}
|
|
68
68
|
setApiKey(key, value) {
|
|
69
|
-
this.authentications[
|
|
69
|
+
this.authentications[ServicePointApiApiKeys[key]].apiKey = value;
|
|
70
70
|
}
|
|
71
71
|
set accessToken(accessToken) {
|
|
72
72
|
this.authentications.bearerAuth.accessToken = accessToken;
|
|
@@ -76,11 +76,10 @@ class RaidoStableV1Api {
|
|
|
76
76
|
}
|
|
77
77
|
/**
|
|
78
78
|
*
|
|
79
|
-
* @
|
|
80
|
-
* @param raidCreateRequest
|
|
79
|
+
* @param servicePointCreateRequest
|
|
81
80
|
*/
|
|
82
|
-
async
|
|
83
|
-
const localVarPath = this.basePath + '/
|
|
81
|
+
async createServicePoint(servicePointCreateRequest, options = { headers: {} }) {
|
|
82
|
+
const localVarPath = this.basePath + '/service-point/';
|
|
84
83
|
let localVarQueryParameters = {};
|
|
85
84
|
let localVarHeaderParams = Object.assign({}, this._defaultHeaders);
|
|
86
85
|
const produces = ['application/json'];
|
|
@@ -92,9 +91,9 @@ class RaidoStableV1Api {
|
|
|
92
91
|
localVarHeaderParams.Accept = produces.join(',');
|
|
93
92
|
}
|
|
94
93
|
let localVarFormParams = {};
|
|
95
|
-
// verify required parameter '
|
|
96
|
-
if (
|
|
97
|
-
throw new Error('Required parameter
|
|
94
|
+
// verify required parameter 'servicePointCreateRequest' is not null or undefined
|
|
95
|
+
if (servicePointCreateRequest === null || servicePointCreateRequest === undefined) {
|
|
96
|
+
throw new Error('Required parameter servicePointCreateRequest was null or undefined when calling createServicePoint.');
|
|
98
97
|
}
|
|
99
98
|
Object.assign(localVarHeaderParams, options.headers);
|
|
100
99
|
let localVarUseFormData = false;
|
|
@@ -105,7 +104,7 @@ class RaidoStableV1Api {
|
|
|
105
104
|
uri: localVarPath,
|
|
106
105
|
useQuerystring: this._useQuerystring,
|
|
107
106
|
json: true,
|
|
108
|
-
body: models_1.ObjectSerializer.serialize(
|
|
107
|
+
body: models_1.ObjectSerializer.serialize(servicePointCreateRequest, "ServicePointCreateRequest")
|
|
109
108
|
};
|
|
110
109
|
let authenticationPromise = Promise.resolve();
|
|
111
110
|
if (this.authentications.bearerAuth.accessToken) {
|
|
@@ -132,7 +131,7 @@ class RaidoStableV1Api {
|
|
|
132
131
|
}
|
|
133
132
|
else {
|
|
134
133
|
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
135
|
-
body = models_1.ObjectSerializer.deserialize(body, "
|
|
134
|
+
body = models_1.ObjectSerializer.deserialize(body, "ServicePoint");
|
|
136
135
|
resolve({ response: response, body: body });
|
|
137
136
|
}
|
|
138
137
|
else {
|
|
@@ -145,11 +144,9 @@ class RaidoStableV1Api {
|
|
|
145
144
|
}
|
|
146
145
|
/**
|
|
147
146
|
*
|
|
148
|
-
* @summary list raids
|
|
149
|
-
* @param servicePointId
|
|
150
147
|
*/
|
|
151
|
-
async
|
|
152
|
-
const localVarPath = this.basePath + '/
|
|
148
|
+
async findAllServicePoints(options = { headers: {} }) {
|
|
149
|
+
const localVarPath = this.basePath + '/service-point/';
|
|
153
150
|
let localVarQueryParameters = {};
|
|
154
151
|
let localVarHeaderParams = Object.assign({}, this._defaultHeaders);
|
|
155
152
|
const produces = ['application/json'];
|
|
@@ -161,9 +158,6 @@ class RaidoStableV1Api {
|
|
|
161
158
|
localVarHeaderParams.Accept = produces.join(',');
|
|
162
159
|
}
|
|
163
160
|
let localVarFormParams = {};
|
|
164
|
-
if (servicePointId !== undefined) {
|
|
165
|
-
localVarQueryParameters['servicePointId'] = models_1.ObjectSerializer.serialize(servicePointId, "number");
|
|
166
|
-
}
|
|
167
161
|
Object.assign(localVarHeaderParams, options.headers);
|
|
168
162
|
let localVarUseFormData = false;
|
|
169
163
|
let localVarRequestOptions = {
|
|
@@ -199,7 +193,7 @@ class RaidoStableV1Api {
|
|
|
199
193
|
}
|
|
200
194
|
else {
|
|
201
195
|
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
202
|
-
body = models_1.ObjectSerializer.deserialize(body, "Array<
|
|
196
|
+
body = models_1.ObjectSerializer.deserialize(body, "Array<ServicePoint>");
|
|
203
197
|
resolve({ response: response, body: body });
|
|
204
198
|
}
|
|
205
199
|
else {
|
|
@@ -212,14 +206,11 @@ class RaidoStableV1Api {
|
|
|
212
206
|
}
|
|
213
207
|
/**
|
|
214
208
|
*
|
|
215
|
-
* @
|
|
216
|
-
* @param prefix Prefix of the raid handle
|
|
217
|
-
* @param suffix Suffix of the raid handle
|
|
209
|
+
* @param id The id of the service point
|
|
218
210
|
*/
|
|
219
|
-
async
|
|
220
|
-
const localVarPath = this.basePath + '/
|
|
221
|
-
.replace('{' + '
|
|
222
|
-
.replace('{' + 'suffix' + '}', encodeURIComponent(String(suffix)));
|
|
211
|
+
async findServicePointById(id, options = { headers: {} }) {
|
|
212
|
+
const localVarPath = this.basePath + '/service-point/{id}'
|
|
213
|
+
.replace('{' + 'id' + '}', encodeURIComponent(String(id)));
|
|
223
214
|
let localVarQueryParameters = {};
|
|
224
215
|
let localVarHeaderParams = Object.assign({}, this._defaultHeaders);
|
|
225
216
|
const produces = ['application/json'];
|
|
@@ -231,13 +222,9 @@ class RaidoStableV1Api {
|
|
|
231
222
|
localVarHeaderParams.Accept = produces.join(',');
|
|
232
223
|
}
|
|
233
224
|
let localVarFormParams = {};
|
|
234
|
-
// verify required parameter '
|
|
235
|
-
if (
|
|
236
|
-
throw new Error('Required parameter
|
|
237
|
-
}
|
|
238
|
-
// verify required parameter 'suffix' is not null or undefined
|
|
239
|
-
if (suffix === null || suffix === undefined) {
|
|
240
|
-
throw new Error('Required parameter suffix was null or undefined when calling readRaidV1.');
|
|
225
|
+
// verify required parameter 'id' is not null or undefined
|
|
226
|
+
if (id === null || id === undefined) {
|
|
227
|
+
throw new Error('Required parameter id was null or undefined when calling findServicePointById.');
|
|
241
228
|
}
|
|
242
229
|
Object.assign(localVarHeaderParams, options.headers);
|
|
243
230
|
let localVarUseFormData = false;
|
|
@@ -274,7 +261,7 @@ class RaidoStableV1Api {
|
|
|
274
261
|
}
|
|
275
262
|
else {
|
|
276
263
|
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
277
|
-
body = models_1.ObjectSerializer.deserialize(body, "
|
|
264
|
+
body = models_1.ObjectSerializer.deserialize(body, "ServicePoint");
|
|
278
265
|
resolve({ response: response, body: body });
|
|
279
266
|
}
|
|
280
267
|
else {
|
|
@@ -287,14 +274,12 @@ class RaidoStableV1Api {
|
|
|
287
274
|
}
|
|
288
275
|
/**
|
|
289
276
|
*
|
|
290
|
-
* @param
|
|
291
|
-
* @param
|
|
292
|
-
* @param raidUpdateRequest
|
|
277
|
+
* @param id The id of the service point
|
|
278
|
+
* @param servicePointUpdateRequest
|
|
293
279
|
*/
|
|
294
|
-
async
|
|
295
|
-
const localVarPath = this.basePath + '/
|
|
296
|
-
.replace('{' + '
|
|
297
|
-
.replace('{' + 'suffix' + '}', encodeURIComponent(String(suffix)));
|
|
280
|
+
async updateServicePoint(id, servicePointUpdateRequest, options = { headers: {} }) {
|
|
281
|
+
const localVarPath = this.basePath + '/service-point/{id}'
|
|
282
|
+
.replace('{' + 'id' + '}', encodeURIComponent(String(id)));
|
|
298
283
|
let localVarQueryParameters = {};
|
|
299
284
|
let localVarHeaderParams = Object.assign({}, this._defaultHeaders);
|
|
300
285
|
const produces = ['application/json'];
|
|
@@ -306,17 +291,13 @@ class RaidoStableV1Api {
|
|
|
306
291
|
localVarHeaderParams.Accept = produces.join(',');
|
|
307
292
|
}
|
|
308
293
|
let localVarFormParams = {};
|
|
309
|
-
// verify required parameter '
|
|
310
|
-
if (
|
|
311
|
-
throw new Error('Required parameter
|
|
312
|
-
}
|
|
313
|
-
// verify required parameter 'suffix' is not null or undefined
|
|
314
|
-
if (suffix === null || suffix === undefined) {
|
|
315
|
-
throw new Error('Required parameter suffix was null or undefined when calling updateRaidV1.');
|
|
294
|
+
// verify required parameter 'id' is not null or undefined
|
|
295
|
+
if (id === null || id === undefined) {
|
|
296
|
+
throw new Error('Required parameter id was null or undefined when calling updateServicePoint.');
|
|
316
297
|
}
|
|
317
|
-
// verify required parameter '
|
|
318
|
-
if (
|
|
319
|
-
throw new Error('Required parameter
|
|
298
|
+
// verify required parameter 'servicePointUpdateRequest' is not null or undefined
|
|
299
|
+
if (servicePointUpdateRequest === null || servicePointUpdateRequest === undefined) {
|
|
300
|
+
throw new Error('Required parameter servicePointUpdateRequest was null or undefined when calling updateServicePoint.');
|
|
320
301
|
}
|
|
321
302
|
Object.assign(localVarHeaderParams, options.headers);
|
|
322
303
|
let localVarUseFormData = false;
|
|
@@ -327,7 +308,7 @@ class RaidoStableV1Api {
|
|
|
327
308
|
uri: localVarPath,
|
|
328
309
|
useQuerystring: this._useQuerystring,
|
|
329
310
|
json: true,
|
|
330
|
-
body: models_1.ObjectSerializer.serialize(
|
|
311
|
+
body: models_1.ObjectSerializer.serialize(servicePointUpdateRequest, "ServicePointUpdateRequest")
|
|
331
312
|
};
|
|
332
313
|
let authenticationPromise = Promise.resolve();
|
|
333
314
|
if (this.authentications.bearerAuth.accessToken) {
|
|
@@ -354,7 +335,7 @@ class RaidoStableV1Api {
|
|
|
354
335
|
}
|
|
355
336
|
else {
|
|
356
337
|
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
357
|
-
body = models_1.ObjectSerializer.deserialize(body, "
|
|
338
|
+
body = models_1.ObjectSerializer.deserialize(body, "ServicePoint");
|
|
358
339
|
resolve({ response: response, body: body });
|
|
359
340
|
}
|
|
360
341
|
else {
|
|
@@ -366,4 +347,4 @@ class RaidoStableV1Api {
|
|
|
366
347
|
});
|
|
367
348
|
}
|
|
368
349
|
}
|
|
369
|
-
exports.
|
|
350
|
+
exports.ServicePointApi = ServicePointApi;
|
package/dist/model/access.js
CHANGED
|
@@ -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
|
|
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
|
|
@@ -14,7 +14,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
14
14
|
exports.Access = void 0;
|
|
15
15
|
class Access {
|
|
16
16
|
'type';
|
|
17
|
-
'
|
|
17
|
+
'statement';
|
|
18
18
|
/**
|
|
19
19
|
* Date the embargo on access to the RAiD ends. Year
|
|
20
20
|
*/
|
|
@@ -24,11 +24,11 @@ class Access {
|
|
|
24
24
|
{
|
|
25
25
|
"name": "type",
|
|
26
26
|
"baseName": "type",
|
|
27
|
-
"type": "
|
|
27
|
+
"type": "AccessType"
|
|
28
28
|
},
|
|
29
29
|
{
|
|
30
|
-
"name": "
|
|
31
|
-
"baseName": "
|
|
30
|
+
"name": "statement",
|
|
31
|
+
"baseName": "statement",
|
|
32
32
|
"type": "AccessStatement"
|
|
33
33
|
},
|
|
34
34
|
{
|
|
@@ -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
|
|
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/dist/model/accessType.js
CHANGED
|
@@ -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
|
|
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.AccessType = void 0;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
15
|
+
class AccessType {
|
|
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 AccessType.attributeTypeMap;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
exports.AccessType = AccessType;
|
|
@@ -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
|
|
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
|
|
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/dist/model/closedRaid.js
CHANGED
|
@@ -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
|
|
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
|
|
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
|
|
@@ -34,12 +34,12 @@ class Contributor {
|
|
|
34
34
|
{
|
|
35
35
|
"name": "position",
|
|
36
36
|
"baseName": "position",
|
|
37
|
-
"type": "Array<
|
|
37
|
+
"type": "Array<ContributorPosition>"
|
|
38
38
|
},
|
|
39
39
|
{
|
|
40
40
|
"name": "role",
|
|
41
41
|
"baseName": "role",
|
|
42
|
-
"type": "Array<
|
|
42
|
+
"type": "Array<ContributorRole>"
|
|
43
43
|
},
|
|
44
44
|
{
|
|
45
45
|
"name": "leader",
|
|
@@ -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
|
|
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
|
|
@@ -13,21 +13,21 @@
|
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
14
|
exports.ContributorPosition = void 0;
|
|
15
15
|
class ContributorPosition {
|
|
16
|
-
'
|
|
17
|
-
'
|
|
16
|
+
'schemaUri';
|
|
17
|
+
'id';
|
|
18
18
|
'startDate';
|
|
19
19
|
'endDate';
|
|
20
20
|
static discriminator = undefined;
|
|
21
21
|
static attributeTypeMap = [
|
|
22
22
|
{
|
|
23
|
-
"name": "
|
|
24
|
-
"baseName": "
|
|
25
|
-
"type": "
|
|
23
|
+
"name": "schemaUri",
|
|
24
|
+
"baseName": "schemaUri",
|
|
25
|
+
"type": "string"
|
|
26
26
|
},
|
|
27
27
|
{
|
|
28
|
-
"name": "
|
|
29
|
-
"baseName": "
|
|
30
|
-
"type": "
|
|
28
|
+
"name": "id",
|
|
29
|
+
"baseName": "id",
|
|
30
|
+
"type": "string"
|
|
31
31
|
},
|
|
32
32
|
{
|
|
33
33
|
"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
|
|
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
|
|
@@ -13,19 +13,19 @@
|
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
14
|
exports.ContributorRole = void 0;
|
|
15
15
|
class ContributorRole {
|
|
16
|
-
'
|
|
17
|
-
'
|
|
16
|
+
'schemaUri';
|
|
17
|
+
'id';
|
|
18
18
|
static discriminator = undefined;
|
|
19
19
|
static attributeTypeMap = [
|
|
20
20
|
{
|
|
21
|
-
"name": "
|
|
22
|
-
"baseName": "
|
|
23
|
-
"type": "
|
|
21
|
+
"name": "schemaUri",
|
|
22
|
+
"baseName": "schemaUri",
|
|
23
|
+
"type": "string"
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
|
-
"name": "
|
|
27
|
-
"baseName": "
|
|
28
|
-
"type": "
|
|
26
|
+
"name": "id",
|
|
27
|
+
"baseName": "id",
|
|
28
|
+
"type": "string"
|
|
29
29
|
}
|
|
30
30
|
];
|
|
31
31
|
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
|
|
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
|
|
@@ -26,7 +26,7 @@ class Description {
|
|
|
26
26
|
{
|
|
27
27
|
"name": "type",
|
|
28
28
|
"baseName": "type",
|
|
29
|
-
"type": "
|
|
29
|
+
"type": "DescriptionType"
|
|
30
30
|
},
|
|
31
31
|
{
|
|
32
32
|
"name": "language",
|
|
@@ -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
|
|
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.DescriptionType = void 0;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
15
|
+
class DescriptionType {
|
|
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 DescriptionType.attributeTypeMap;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
exports.DescriptionType = DescriptionType;
|
|
@@ -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
|
|
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/dist/model/id.js
CHANGED
|
@@ -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
|
|
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
|
|
@@ -24,10 +24,6 @@ class Id {
|
|
|
24
24
|
'registrationAgency';
|
|
25
25
|
'owner';
|
|
26
26
|
/**
|
|
27
|
-
* The URL for the raid via the CNRI handle system, e.g https://hdl.handle.net/xxx.yyy/zzz
|
|
28
|
-
*/
|
|
29
|
-
'globalUrl';
|
|
30
|
-
/**
|
|
31
27
|
* The URL for the raid via the minting raid agency system, e.g https://raid.org.au/10378.1/1695863
|
|
32
28
|
*/
|
|
33
29
|
'raidAgencyUrl';
|
|
@@ -61,11 +57,6 @@ class Id {
|
|
|
61
57
|
"baseName": "owner",
|
|
62
58
|
"type": "Owner"
|
|
63
59
|
},
|
|
64
|
-
{
|
|
65
|
-
"name": "globalUrl",
|
|
66
|
-
"baseName": "globalUrl",
|
|
67
|
-
"type": "string"
|
|
68
|
-
},
|
|
69
60
|
{
|
|
70
61
|
"name": "raidAgencyUrl",
|
|
71
62
|
"baseName": "raidAgencyUrl",
|
package/dist/model/language.js
CHANGED
|
@@ -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
|
|
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/dist/model/modelDate.js
CHANGED
|
@@ -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
|
|
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
|