@researchdatabox/raido-openapi-generated-node 0.0.2 → 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 (114) 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/accessType.js → index.d.ts} +3 -9
  10. package/dist/index.js +32 -0
  11. package/package.json +12 -7
  12. package/dist/api/adminExperimentalApi.js +0 -1092
  13. package/dist/api/apis.js +0 -41
  14. package/dist/api/basicRaidExperimentalApi.js +0 -561
  15. package/dist/api/publicExperimentalApi.js +0 -264
  16. package/dist/api/raidoStableV1Api.js +0 -369
  17. package/dist/api/unapprovedExperimentalApi.js +0 -147
  18. package/dist/model/access.js +0 -44
  19. package/dist/model/accessBlock.js +0 -35
  20. package/dist/model/accessStatement.js +0 -35
  21. package/dist/model/accessTypeWithSchemaUri.js +0 -35
  22. package/dist/model/alternateIdentifier.js +0 -35
  23. package/dist/model/alternateIdentifierBlock.js +0 -35
  24. package/dist/model/alternateUrl.js +0 -29
  25. package/dist/model/alternateUrlBlock.js +0 -29
  26. package/dist/model/apiKey.js +0 -74
  27. package/dist/model/appUser.js +0 -83
  28. package/dist/model/appUserExtraV1.js +0 -44
  29. package/dist/model/authzRequestExtraV1.js +0 -104
  30. package/dist/model/authzRequestStatus.js +0 -20
  31. package/dist/model/closedRaid.js +0 -35
  32. package/dist/model/contributor.js +0 -59
  33. package/dist/model/contributorBlock.js +0 -47
  34. package/dist/model/contributorIdentifierSchemeType.js +0 -18
  35. package/dist/model/contributorPosition.js +0 -47
  36. package/dist/model/contributorPositionRaidMetadataSchemaType.js +0 -22
  37. package/dist/model/contributorPositionSchemeType.js +0 -18
  38. package/dist/model/contributorPositionWithSchemaUri.js +0 -47
  39. package/dist/model/contributorRole.js +0 -35
  40. package/dist/model/contributorRoleCreditNisoOrgType.js +0 -31
  41. package/dist/model/contributorRoleSchemeType.js +0 -18
  42. package/dist/model/contributorRoleWithSchemaUri.js +0 -35
  43. package/dist/model/datesBlock.js +0 -35
  44. package/dist/model/description.js +0 -41
  45. package/dist/model/descriptionBlock.js +0 -35
  46. package/dist/model/descriptionType.js +0 -19
  47. package/dist/model/descriptionTypeWithSchemaUri.js +0 -35
  48. package/dist/model/failureResponse.js +0 -53
  49. package/dist/model/generateApiTokenRequest.js +0 -29
  50. package/dist/model/generateApiTokenResponse.js +0 -35
  51. package/dist/model/id.js +0 -89
  52. package/dist/model/idBlock.js +0 -95
  53. package/dist/model/language.js +0 -35
  54. package/dist/model/legacyMetadataSchemaV1.js +0 -68
  55. package/dist/model/migrateLegacyRaidRequest.js +0 -35
  56. package/dist/model/migrateLegacyRaidRequestMintRequest.js +0 -41
  57. package/dist/model/mintRaidoSchemaV1Request.js +0 -38
  58. package/dist/model/mintRaidoSchemaV1RequestMintRequest.js +0 -32
  59. package/dist/model/mintResponse.js +0 -41
  60. package/dist/model/modelDate.js +0 -38
  61. package/dist/model/models.js +0 -506
  62. package/dist/model/organisation.js +0 -41
  63. package/dist/model/organisationBlock.js +0 -41
  64. package/dist/model/organisationIdentifierSchemeType.js +0 -18
  65. package/dist/model/organisationRole.js +0 -47
  66. package/dist/model/organisationRoleSchemeType.js +0 -18
  67. package/dist/model/organisationRoleType.js +0 -22
  68. package/dist/model/organisationRoleWithSchemaUri.js +0 -47
  69. package/dist/model/owner.js +0 -47
  70. package/dist/model/publicClosedMetadataSchemaV1.js +0 -41
  71. package/dist/model/publicRaidMetadataSchemaV1.js +0 -116
  72. package/dist/model/publicReadRaidMetadataResponseV1.js +0 -116
  73. package/dist/model/publicReadRaidResponseV3.js +0 -56
  74. package/dist/model/publicServicePoint.js +0 -38
  75. package/dist/model/raidCreateRequest.js +0 -107
  76. package/dist/model/raidDto.js +0 -107
  77. package/dist/model/raidListItemV2.js +0 -53
  78. package/dist/model/raidListItemV3.js +0 -53
  79. package/dist/model/raidListRequestV2.js +0 -35
  80. package/dist/model/raidUpdateRequest.js +0 -107
  81. package/dist/model/raidoMetadataSchemaV1.js +0 -116
  82. package/dist/model/raidoMetadataSchemaV2.js +0 -116
  83. package/dist/model/raidoMetaschema.js +0 -22
  84. package/dist/model/raidoMetaschemaV2.js +0 -23
  85. package/dist/model/readRaidResponseV2.js +0 -71
  86. package/dist/model/readRaidV2Request.js +0 -29
  87. package/dist/model/registrationAgency.js +0 -38
  88. package/dist/model/relatedObject.js +0 -47
  89. package/dist/model/relatedObjectBlock.js +0 -53
  90. package/dist/model/relatedObjectCategory.js +0 -35
  91. package/dist/model/relatedObjectType.js +0 -35
  92. package/dist/model/relatedRaid.js +0 -35
  93. package/dist/model/relatedRaidBlock.js +0 -41
  94. package/dist/model/relatedRaidType.js +0 -35
  95. package/dist/model/servicePoint.js +0 -74
  96. package/dist/model/spatialCoverage.js +0 -47
  97. package/dist/model/spatialCoverageBlock.js +0 -41
  98. package/dist/model/subject.js +0 -41
  99. package/dist/model/subjectBlock.js +0 -41
  100. package/dist/model/subjectKeyword.js +0 -35
  101. package/dist/model/title.js +0 -53
  102. package/dist/model/titleBlock.js +0 -47
  103. package/dist/model/titleType.js +0 -19
  104. package/dist/model/titleTypeWithSchemaUri.js +0 -35
  105. package/dist/model/traditionalKnowledgeLabel.js +0 -35
  106. package/dist/model/traditionalKnowledgeLabelBlock.js +0 -29
  107. package/dist/model/updateAuthzRequest.js +0 -35
  108. package/dist/model/updateAuthzRequestStatus.js +0 -47
  109. package/dist/model/updateAuthzResponse.js +0 -35
  110. package/dist/model/updateRaidoSchemaV1Request.js +0 -29
  111. package/dist/model/updateRaidoSchemaV2Request.js +0 -29
  112. package/dist/model/validationFailure.js +0 -41
  113. package/dist/model/validationFailureResponse.js +0 -59
  114. package/dist/model/versionResult.js +0 -47
@@ -1,147 +0,0 @@
1
- "use strict";
2
- /**
3
- * RAID v2 API
4
- * This file is where all the endpoint paths are defined, it\'s the \"top level\' of the OpenAPI definition that links all the different files together. The `3.0` in the filename refers to this file being based on OpenAPI 3.0 as opposed to OpenAPI 3.1, which the tooling doesn\'t support yet. The `2.0.0` in the version field refers to the fact that there\'s already a `1.0.0` used for the legacy RAiD application (not 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.
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
- var __importDefault = (this && this.__importDefault) || function (mod) {
14
- return (mod && mod.__esModule) ? mod : { "default": mod };
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.UnapprovedExperimentalApi = exports.UnapprovedExperimentalApiApiKeys = void 0;
18
- const request_1 = __importDefault(require("request"));
19
- const models_1 = require("../model/models");
20
- const models_2 = require("../model/models");
21
- const apis_1 = require("./apis");
22
- let defaultBasePath = 'https://api.prod.raid.org.au';
23
- // ===============================================
24
- // This file is autogenerated - Please do not edit
25
- // ===============================================
26
- var UnapprovedExperimentalApiApiKeys;
27
- (function (UnapprovedExperimentalApiApiKeys) {
28
- })(UnapprovedExperimentalApiApiKeys = exports.UnapprovedExperimentalApiApiKeys || (exports.UnapprovedExperimentalApiApiKeys = {}));
29
- class UnapprovedExperimentalApi {
30
- _basePath = defaultBasePath;
31
- _defaultHeaders = {};
32
- _useQuerystring = false;
33
- authentications = {
34
- 'default': new models_1.VoidAuth(),
35
- 'bearerAuth': new models_2.HttpBearerAuth(),
36
- };
37
- interceptors = [];
38
- constructor(basePathOrUsername, password, basePath) {
39
- if (password) {
40
- if (basePath) {
41
- this.basePath = basePath;
42
- }
43
- }
44
- else {
45
- if (basePathOrUsername) {
46
- this.basePath = basePathOrUsername;
47
- }
48
- }
49
- }
50
- set useQuerystring(value) {
51
- this._useQuerystring = value;
52
- }
53
- set basePath(basePath) {
54
- this._basePath = basePath;
55
- }
56
- set defaultHeaders(defaultHeaders) {
57
- this._defaultHeaders = defaultHeaders;
58
- }
59
- get defaultHeaders() {
60
- return this._defaultHeaders;
61
- }
62
- get basePath() {
63
- return this._basePath;
64
- }
65
- setDefaultAuthentication(auth) {
66
- this.authentications.default = auth;
67
- }
68
- setApiKey(key, value) {
69
- this.authentications[UnapprovedExperimentalApiApiKeys[key]].apiKey = value;
70
- }
71
- set accessToken(accessToken) {
72
- this.authentications.bearerAuth.accessToken = accessToken;
73
- }
74
- addInterceptor(interceptor) {
75
- this.interceptors.push(interceptor);
76
- }
77
- /**
78
- *
79
- * @summary create or update an authz-request
80
- * @param updateAuthzRequest
81
- */
82
- async updateAuthzRequest(updateAuthzRequest, options = { headers: {} }) {
83
- const localVarPath = this.basePath + '/v2/public/authz-request/v1';
84
- let localVarQueryParameters = {};
85
- let localVarHeaderParams = Object.assign({}, this._defaultHeaders);
86
- const produces = ['application/json'];
87
- // give precedence to 'application/json'
88
- if (produces.indexOf('application/json') >= 0) {
89
- localVarHeaderParams.Accept = 'application/json';
90
- }
91
- else {
92
- localVarHeaderParams.Accept = produces.join(',');
93
- }
94
- let localVarFormParams = {};
95
- // verify required parameter 'updateAuthzRequest' is not null or undefined
96
- if (updateAuthzRequest === null || updateAuthzRequest === undefined) {
97
- throw new Error('Required parameter updateAuthzRequest was null or undefined when calling updateAuthzRequest.');
98
- }
99
- Object.assign(localVarHeaderParams, options.headers);
100
- let localVarUseFormData = false;
101
- let localVarRequestOptions = {
102
- method: 'POST',
103
- qs: localVarQueryParameters,
104
- headers: localVarHeaderParams,
105
- uri: localVarPath,
106
- useQuerystring: this._useQuerystring,
107
- json: true,
108
- body: models_1.ObjectSerializer.serialize(updateAuthzRequest, "UpdateAuthzRequest")
109
- };
110
- let authenticationPromise = Promise.resolve();
111
- if (this.authentications.bearerAuth.accessToken) {
112
- authenticationPromise = authenticationPromise.then(() => this.authentications.bearerAuth.applyToRequest(localVarRequestOptions));
113
- }
114
- authenticationPromise = authenticationPromise.then(() => this.authentications.default.applyToRequest(localVarRequestOptions));
115
- let interceptorPromise = authenticationPromise;
116
- for (const interceptor of this.interceptors) {
117
- interceptorPromise = interceptorPromise.then(() => interceptor(localVarRequestOptions));
118
- }
119
- return interceptorPromise.then(() => {
120
- if (Object.keys(localVarFormParams).length) {
121
- if (localVarUseFormData) {
122
- localVarRequestOptions.formData = localVarFormParams;
123
- }
124
- else {
125
- localVarRequestOptions.form = localVarFormParams;
126
- }
127
- }
128
- return new Promise((resolve, reject) => {
129
- (0, request_1.default)(localVarRequestOptions, (error, response, body) => {
130
- if (error) {
131
- reject(error);
132
- }
133
- else {
134
- if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
135
- body = models_1.ObjectSerializer.deserialize(body, "UpdateAuthzResponse");
136
- resolve({ response: response, body: body });
137
- }
138
- else {
139
- reject(new apis_1.HttpError(response, body, response.statusCode));
140
- }
141
- }
142
- });
143
- });
144
- });
145
- }
146
- }
147
- exports.UnapprovedExperimentalApi = UnapprovedExperimentalApi;
@@ -1,44 +0,0 @@
1
- "use strict";
2
- /**
3
- * RAID v2 API
4
- * This file is where all the endpoint paths are defined, it\'s the \"top level\' of the OpenAPI definition that links all the different files together. The `3.0` in the filename refers to this file being based on OpenAPI 3.0 as opposed to OpenAPI 3.1, which the tooling doesn\'t support yet. The `2.0.0` in the version field refers to the fact that there\'s already a `1.0.0` used for the legacy RAiD application (not 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.
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.Access = void 0;
15
- class Access {
16
- 'type';
17
- 'accessStatement';
18
- /**
19
- * Date the embargo on access to the RAiD ends. Year
20
- */
21
- 'embargoExpiry';
22
- static discriminator = undefined;
23
- static attributeTypeMap = [
24
- {
25
- "name": "type",
26
- "baseName": "type",
27
- "type": "AccessTypeWithSchemaUri"
28
- },
29
- {
30
- "name": "accessStatement",
31
- "baseName": "accessStatement",
32
- "type": "AccessStatement"
33
- },
34
- {
35
- "name": "embargoExpiry",
36
- "baseName": "embargoExpiry",
37
- "type": "string"
38
- }
39
- ];
40
- static getAttributeTypeMap() {
41
- return Access.attributeTypeMap;
42
- }
43
- }
44
- exports.Access = Access;
@@ -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 (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.
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.AccessBlock = void 0;
15
- class AccessBlock {
16
- 'type';
17
- 'accessStatement';
18
- static discriminator = undefined;
19
- static attributeTypeMap = [
20
- {
21
- "name": "type",
22
- "baseName": "type",
23
- "type": "AccessType"
24
- },
25
- {
26
- "name": "accessStatement",
27
- "baseName": "accessStatement",
28
- "type": "string"
29
- }
30
- ];
31
- static getAttributeTypeMap() {
32
- return AccessBlock.attributeTypeMap;
33
- }
34
- }
35
- exports.AccessBlock = AccessBlock;
@@ -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 (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.
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.AccessStatement = void 0;
15
- class AccessStatement {
16
- 'text';
17
- 'language';
18
- static discriminator = undefined;
19
- static attributeTypeMap = [
20
- {
21
- "name": "text",
22
- "baseName": "text",
23
- "type": "string"
24
- },
25
- {
26
- "name": "language",
27
- "baseName": "language",
28
- "type": "Language"
29
- }
30
- ];
31
- static getAttributeTypeMap() {
32
- return AccessStatement.attributeTypeMap;
33
- }
34
- }
35
- exports.AccessStatement = AccessStatement;
@@ -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 (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.
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.AccessTypeWithSchemaUri = void 0;
15
- class AccessTypeWithSchemaUri {
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 AccessTypeWithSchemaUri.attributeTypeMap;
33
- }
34
- }
35
- exports.AccessTypeWithSchemaUri = AccessTypeWithSchemaUri;
@@ -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 (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.
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.AlternateIdentifier = void 0;
15
- class AlternateIdentifier {
16
- 'id';
17
- 'type';
18
- static discriminator = undefined;
19
- static attributeTypeMap = [
20
- {
21
- "name": "id",
22
- "baseName": "id",
23
- "type": "string"
24
- },
25
- {
26
- "name": "type",
27
- "baseName": "type",
28
- "type": "string"
29
- }
30
- ];
31
- static getAttributeTypeMap() {
32
- return AlternateIdentifier.attributeTypeMap;
33
- }
34
- }
35
- exports.AlternateIdentifier = AlternateIdentifier;
@@ -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 (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.
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.AlternateIdentifierBlock = void 0;
15
- class AlternateIdentifierBlock {
16
- 'alternateIdentifier';
17
- 'alternateIdentifierType';
18
- static discriminator = undefined;
19
- static attributeTypeMap = [
20
- {
21
- "name": "alternateIdentifier",
22
- "baseName": "alternateIdentifier",
23
- "type": "string"
24
- },
25
- {
26
- "name": "alternateIdentifierType",
27
- "baseName": "alternateIdentifierType",
28
- "type": "string"
29
- }
30
- ];
31
- static getAttributeTypeMap() {
32
- return AlternateIdentifierBlock.attributeTypeMap;
33
- }
34
- }
35
- exports.AlternateIdentifierBlock = AlternateIdentifierBlock;
@@ -1,29 +0,0 @@
1
- "use strict";
2
- /**
3
- * RAID v2 API
4
- * This file is where all the endpoint paths are defined, it\'s the \"top level\' of the OpenAPI definition that links all the different files together. The `3.0` in the filename refers to this file being based on OpenAPI 3.0 as opposed to OpenAPI 3.1, which the tooling doesn\'t support yet. The `2.0.0` in the version field refers to the fact that there\'s already a `1.0.0` used for the legacy RAiD application (not 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.
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.AlternateUrl = void 0;
15
- class AlternateUrl {
16
- 'url';
17
- static discriminator = undefined;
18
- static attributeTypeMap = [
19
- {
20
- "name": "url",
21
- "baseName": "url",
22
- "type": "string"
23
- }
24
- ];
25
- static getAttributeTypeMap() {
26
- return AlternateUrl.attributeTypeMap;
27
- }
28
- }
29
- exports.AlternateUrl = AlternateUrl;
@@ -1,29 +0,0 @@
1
- "use strict";
2
- /**
3
- * RAID v2 API
4
- * This file is where all the endpoint paths are defined, it\'s the \"top level\' of the OpenAPI definition that links all the different files together. The `3.0` in the filename refers to this file being based on OpenAPI 3.0 as opposed to OpenAPI 3.1, which the tooling doesn\'t support yet. The `2.0.0` in the version field refers to the fact that there\'s already a `1.0.0` used for the legacy RAiD application (not 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.
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.AlternateUrlBlock = void 0;
15
- class AlternateUrlBlock {
16
- 'url';
17
- static discriminator = undefined;
18
- static attributeTypeMap = [
19
- {
20
- "name": "url",
21
- "baseName": "url",
22
- "type": "string"
23
- }
24
- ];
25
- static getAttributeTypeMap() {
26
- return AlternateUrlBlock.attributeTypeMap;
27
- }
28
- }
29
- exports.AlternateUrlBlock = AlternateUrlBlock;
@@ -1,74 +0,0 @@
1
- "use strict";
2
- /**
3
- * RAID v2 API
4
- * This file is where all the endpoint paths are defined, it\'s the \"top level\' of the OpenAPI definition that links all the different files together. The `3.0` in the filename refers to this file being based on OpenAPI 3.0 as opposed to OpenAPI 3.1, which the tooling doesn\'t support yet. The `2.0.0` in the version field refers to the fact that there\'s already a `1.0.0` used for the legacy RAiD application (not 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.
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.ApiKey = void 0;
15
- /**
16
- * It\'s really an \"AppUser\", but modelling like this makes the API clearer and the client easier to write.
17
- */
18
- class ApiKey {
19
- 'id';
20
- 'servicePointId';
21
- 'subject';
22
- 'idProvider';
23
- 'role';
24
- 'enabled';
25
- 'tokenCutoff';
26
- 'dateCreated';
27
- static discriminator = undefined;
28
- static attributeTypeMap = [
29
- {
30
- "name": "id",
31
- "baseName": "id",
32
- "type": "number"
33
- },
34
- {
35
- "name": "servicePointId",
36
- "baseName": "servicePointId",
37
- "type": "number"
38
- },
39
- {
40
- "name": "subject",
41
- "baseName": "subject",
42
- "type": "string"
43
- },
44
- {
45
- "name": "idProvider",
46
- "baseName": "idProvider",
47
- "type": "string"
48
- },
49
- {
50
- "name": "role",
51
- "baseName": "role",
52
- "type": "string"
53
- },
54
- {
55
- "name": "enabled",
56
- "baseName": "enabled",
57
- "type": "boolean"
58
- },
59
- {
60
- "name": "tokenCutoff",
61
- "baseName": "tokenCutoff",
62
- "type": "Date"
63
- },
64
- {
65
- "name": "dateCreated",
66
- "baseName": "dateCreated",
67
- "type": "Date"
68
- }
69
- ];
70
- static getAttributeTypeMap() {
71
- return ApiKey.attributeTypeMap;
72
- }
73
- }
74
- exports.ApiKey = ApiKey;
@@ -1,83 +0,0 @@
1
- "use strict";
2
- /**
3
- * RAID v2 API
4
- * This file is where all the endpoint paths are defined, it\'s the \"top level\' of the OpenAPI definition that links all the different files together. The `3.0` in the filename refers to this file being based on OpenAPI 3.0 as opposed to OpenAPI 3.1, which the tooling doesn\'t support yet. The `2.0.0` in the version field refers to the fact that there\'s already a `1.0.0` used for the legacy RAiD application (not 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.
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.AppUser = void 0;
15
- class AppUser {
16
- 'id';
17
- 'servicePointId';
18
- 'email';
19
- 'clientId';
20
- 'subject';
21
- 'idProvider';
22
- 'role';
23
- 'enabled';
24
- 'tokenCutoff';
25
- 'dateCreated';
26
- static discriminator = undefined;
27
- static attributeTypeMap = [
28
- {
29
- "name": "id",
30
- "baseName": "id",
31
- "type": "number"
32
- },
33
- {
34
- "name": "servicePointId",
35
- "baseName": "servicePointId",
36
- "type": "number"
37
- },
38
- {
39
- "name": "email",
40
- "baseName": "email",
41
- "type": "string"
42
- },
43
- {
44
- "name": "clientId",
45
- "baseName": "clientId",
46
- "type": "string"
47
- },
48
- {
49
- "name": "subject",
50
- "baseName": "subject",
51
- "type": "string"
52
- },
53
- {
54
- "name": "idProvider",
55
- "baseName": "idProvider",
56
- "type": "string"
57
- },
58
- {
59
- "name": "role",
60
- "baseName": "role",
61
- "type": "string"
62
- },
63
- {
64
- "name": "enabled",
65
- "baseName": "enabled",
66
- "type": "boolean"
67
- },
68
- {
69
- "name": "tokenCutoff",
70
- "baseName": "tokenCutoff",
71
- "type": "Date"
72
- },
73
- {
74
- "name": "dateCreated",
75
- "baseName": "dateCreated",
76
- "type": "Date"
77
- }
78
- ];
79
- static getAttributeTypeMap() {
80
- return AppUser.attributeTypeMap;
81
- }
82
- }
83
- exports.AppUser = AppUser;
@@ -1,44 +0,0 @@
1
- "use strict";
2
- /**
3
- * RAID v2 API
4
- * This file is where all the endpoint paths are defined, it\'s the \"top level\' of the OpenAPI definition that links all the different files together. The `3.0` in the filename refers to this file being based on OpenAPI 3.0 as opposed to OpenAPI 3.1, which the tooling doesn\'t support yet. The `2.0.0` in the version field refers to the fact that there\'s already a `1.0.0` used for the legacy RAiD application (not 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.
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.AppUserExtraV1 = void 0;
15
- /**
16
- * bootstrapped users have no authzRequest or approvingUser
17
- */
18
- class AppUserExtraV1 {
19
- 'appUser';
20
- 'servicePoint';
21
- 'authzRequest';
22
- static discriminator = undefined;
23
- static attributeTypeMap = [
24
- {
25
- "name": "appUser",
26
- "baseName": "appUser",
27
- "type": "AppUser"
28
- },
29
- {
30
- "name": "servicePoint",
31
- "baseName": "servicePoint",
32
- "type": "ServicePoint"
33
- },
34
- {
35
- "name": "authzRequest",
36
- "baseName": "authzRequest",
37
- "type": "AuthzRequestExtraV1"
38
- }
39
- ];
40
- static getAttributeTypeMap() {
41
- return AppUserExtraV1.attributeTypeMap;
42
- }
43
- }
44
- exports.AppUserExtraV1 = AppUserExtraV1;