@researchdatabox/raido-openapi-generated-node 0.0.1 → 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 (78) hide show
  1. package/README.md +1 -1
  2. package/dist/api/apis.js +5 -9
  3. package/dist/api/{basicRaidExperimentalApi.js → raidApi.js} +98 -69
  4. package/dist/api/{publicExperimentalApi.js → servicePointApi.js} +115 -29
  5. package/dist/model/access.js +44 -0
  6. package/dist/model/accessStatement.js +35 -0
  7. package/dist/model/accessType.js +22 -6
  8. package/dist/model/{descriptionBlock.js → alternateIdentifier.js} +9 -9
  9. package/dist/model/{alternateUrlBlock.js → alternateUrl.js} +5 -5
  10. package/dist/model/closedRaid.js +35 -0
  11. package/dist/model/{apiKey.js → contributor.js} +21 -36
  12. package/dist/model/contributorPosition.js +9 -9
  13. package/dist/model/contributorRole.js +9 -9
  14. package/dist/model/description.js +41 -0
  15. package/dist/model/descriptionType.js +22 -6
  16. package/dist/model/{updateAuthzRequestStatus.js → failureResponse.js} +25 -16
  17. package/dist/model/id.js +80 -0
  18. package/dist/model/{publicServicePoint.js → language.js} +9 -12
  19. package/dist/model/{datesBlock.js → modelDate.js} +8 -5
  20. package/dist/model/models.js +100 -140
  21. package/dist/model/{organisationBlock.js → organisation.js} +12 -12
  22. package/dist/model/organisationRole.js +9 -9
  23. package/dist/model/{appUserExtraV1.js → owner.js} +20 -17
  24. package/dist/model/{raidListItemV2.js → raidChange.js} +21 -21
  25. package/dist/model/raidCreateRequest.js +107 -0
  26. package/dist/model/raidDto.js +107 -0
  27. package/dist/model/raidUpdateRequest.js +107 -0
  28. package/dist/model/registrationAgency.js +38 -0
  29. package/dist/model/relatedObject.js +47 -0
  30. package/dist/model/{publicClosedMetadataSchemaV1.js → relatedObjectCategory.js} +10 -16
  31. package/dist/model/relatedObjectType.js +35 -0
  32. package/dist/model/{accessBlock.js → relatedRaid.js} +12 -12
  33. package/dist/model/relatedRaidType.js +35 -0
  34. package/dist/model/servicePoint.js +31 -1
  35. package/dist/model/servicePointCreateRequest.js +104 -0
  36. package/dist/model/servicePointUpdateRequest.js +113 -0
  37. package/dist/model/{contributorBlock.js → spatialCoverage.js} +13 -19
  38. package/dist/model/spatialCoveragePlace.js +35 -0
  39. package/dist/model/subject.js +41 -0
  40. package/dist/model/{generateApiTokenResponse.js → subjectKeyword.js} +13 -13
  41. package/dist/model/{titleBlock.js → title.js} +14 -8
  42. package/dist/model/titleType.js +22 -6
  43. package/dist/model/traditionalKnowledgeLabel.js +35 -0
  44. package/dist/model/validationFailure.js +1 -1
  45. package/dist/model/{readRaidResponseV2.js → validationFailureResponse.js} +26 -38
  46. package/package.json +3 -3
  47. package/dist/api/adminExperimentalApi.js +0 -1092
  48. package/dist/api/unauthzExperimentalApi.js +0 -147
  49. package/dist/model/appUser.js +0 -83
  50. package/dist/model/authzRequestExtraV1.js +0 -104
  51. package/dist/model/authzRequestStatus.js +0 -20
  52. package/dist/model/contributorIdentifierSchemeType.js +0 -18
  53. package/dist/model/contributorPositionRaidMetadataSchemaType.js +0 -22
  54. package/dist/model/contributorPositionSchemeType.js +0 -18
  55. package/dist/model/contributorRoleCreditNisoOrgType.js +0 -31
  56. package/dist/model/contributorRoleSchemeType.js +0 -18
  57. package/dist/model/generateApiTokenRequest.js +0 -29
  58. package/dist/model/idBlock.js +0 -65
  59. package/dist/model/legacyMetadataSchemaV1.js +0 -68
  60. package/dist/model/migrateLegacyRaidRequest.js +0 -35
  61. package/dist/model/migrateLegacyRaidRequestMintRequest.js +0 -41
  62. package/dist/model/mintRaidoSchemaV1Request.js +0 -38
  63. package/dist/model/mintRaidoSchemaV1RequestMintRequest.js +0 -32
  64. package/dist/model/mintResponse.js +0 -41
  65. package/dist/model/organisationIdentifierSchemeType.js +0 -18
  66. package/dist/model/organisationRoleSchemeType.js +0 -18
  67. package/dist/model/organisationRoleType.js +0 -22
  68. package/dist/model/publicRaidMetadataSchemaV1.js +0 -80
  69. package/dist/model/publicReadRaidMetadataResponseV1.js +0 -80
  70. package/dist/model/publicReadRaidResponseV3.js +0 -56
  71. package/dist/model/raidListRequestV2.js +0 -35
  72. package/dist/model/raidoMetadataSchemaV1.js +0 -80
  73. package/dist/model/raidoMetaschema.js +0 -22
  74. package/dist/model/readRaidV2Request.js +0 -29
  75. package/dist/model/updateAuthzRequest.js +0 -38
  76. package/dist/model/updateAuthzResponse.js +0 -29
  77. package/dist/model/updateRaidoSchemaV1Request.js +0 -29
  78. 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 (not this project).
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
- 'roleSchemeUri';
17
- 'role';
16
+ 'schemaUri';
17
+ 'id';
18
18
  static discriminator = undefined;
19
19
  static attributeTypeMap = [
20
20
  {
21
- "name": "roleSchemeUri",
22
- "baseName": "roleSchemeUri",
23
- "type": "ContributorRoleSchemeType"
21
+ "name": "schemaUri",
22
+ "baseName": "schemaUri",
23
+ "type": "string"
24
24
  },
25
25
  {
26
- "name": "role",
27
- "baseName": "role",
28
- "type": "ContributorRoleCreditNisoOrgType"
26
+ "name": "id",
27
+ "baseName": "id",
28
+ "type": "string"
29
29
  }
30
30
  ];
31
31
  static getAttributeTypeMap() {
@@ -0,0 +1,41 @@
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.Description = void 0;
15
+ class Description {
16
+ 'text';
17
+ 'type';
18
+ 'language';
19
+ static discriminator = undefined;
20
+ static attributeTypeMap = [
21
+ {
22
+ "name": "text",
23
+ "baseName": "text",
24
+ "type": "string"
25
+ },
26
+ {
27
+ "name": "type",
28
+ "baseName": "type",
29
+ "type": "DescriptionType"
30
+ },
31
+ {
32
+ "name": "language",
33
+ "baseName": "language",
34
+ "type": "Language"
35
+ }
36
+ ];
37
+ static getAttributeTypeMap() {
38
+ return Description.attributeTypeMap;
39
+ }
40
+ }
41
+ exports.Description = Description;
@@ -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 this project).
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
- var DescriptionType;
16
- (function (DescriptionType) {
17
- DescriptionType[DescriptionType["PrimaryDescription"] = 'Primary Description'] = "PrimaryDescription";
18
- DescriptionType[DescriptionType["AlternativeDescription"] = 'Alternative Description'] = "AlternativeDescription";
19
- })(DescriptionType = exports.DescriptionType || (exports.DescriptionType = {}));
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 (not this project).
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,34 +11,43 @@
11
11
  * Do not edit the class manually.
12
12
  */
13
13
  Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.UpdateAuthzRequestStatus = void 0;
15
- /**
16
- * approve/reject a request, role is not set if rejecting.
17
- */
18
- class UpdateAuthzRequestStatus {
19
- 'authzRequestId';
14
+ exports.FailureResponse = void 0;
15
+ class FailureResponse {
16
+ 'type';
17
+ 'title';
20
18
  'status';
21
- 'role';
19
+ 'detail';
20
+ 'instance';
22
21
  static discriminator = undefined;
23
22
  static attributeTypeMap = [
24
23
  {
25
- "name": "authzRequestId",
26
- "baseName": "authzRequestId",
27
- "type": "number"
24
+ "name": "type",
25
+ "baseName": "type",
26
+ "type": "string"
27
+ },
28
+ {
29
+ "name": "title",
30
+ "baseName": "title",
31
+ "type": "string"
28
32
  },
29
33
  {
30
34
  "name": "status",
31
35
  "baseName": "status",
32
- "type": "AuthzRequestStatus"
36
+ "type": "number"
37
+ },
38
+ {
39
+ "name": "detail",
40
+ "baseName": "detail",
41
+ "type": "string"
33
42
  },
34
43
  {
35
- "name": "role",
36
- "baseName": "role",
44
+ "name": "instance",
45
+ "baseName": "instance",
37
46
  "type": "string"
38
47
  }
39
48
  ];
40
49
  static getAttributeTypeMap() {
41
- return UpdateAuthzRequestStatus.attributeTypeMap;
50
+ return FailureResponse.attributeTypeMap;
42
51
  }
43
52
  }
44
- exports.UpdateAuthzRequestStatus = UpdateAuthzRequestStatus;
53
+ exports.FailureResponse = FailureResponse;
@@ -0,0 +1,80 @@
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.Id = void 0;
15
+ class Id {
16
+ /**
17
+ * The identifier of the raid, e.g. https://raid.org.au/102.100.100/zzz
18
+ */
19
+ 'id';
20
+ /**
21
+ * The URI of the Identifier scheme. For example, https://raid.org
22
+ */
23
+ 'schemaUri';
24
+ 'registrationAgency';
25
+ 'owner';
26
+ /**
27
+ * The URL for the raid via the minting raid agency system, e.g https://raid.org.au/10378.1/1695863
28
+ */
29
+ 'raidAgencyUrl';
30
+ /**
31
+ * The license under which the RAiD Metadata Record associated with this Identifier has been issued.
32
+ */
33
+ 'license';
34
+ /**
35
+ * The version of the resource. Read-only. Increments automatically on update.
36
+ */
37
+ 'version';
38
+ static discriminator = undefined;
39
+ static attributeTypeMap = [
40
+ {
41
+ "name": "id",
42
+ "baseName": "id",
43
+ "type": "string"
44
+ },
45
+ {
46
+ "name": "schemaUri",
47
+ "baseName": "schemaUri",
48
+ "type": "string"
49
+ },
50
+ {
51
+ "name": "registrationAgency",
52
+ "baseName": "registrationAgency",
53
+ "type": "RegistrationAgency"
54
+ },
55
+ {
56
+ "name": "owner",
57
+ "baseName": "owner",
58
+ "type": "Owner"
59
+ },
60
+ {
61
+ "name": "raidAgencyUrl",
62
+ "baseName": "raidAgencyUrl",
63
+ "type": "string"
64
+ },
65
+ {
66
+ "name": "license",
67
+ "baseName": "license",
68
+ "type": "string"
69
+ },
70
+ {
71
+ "name": "version",
72
+ "baseName": "version",
73
+ "type": "number"
74
+ }
75
+ ];
76
+ static getAttributeTypeMap() {
77
+ return Id.attributeTypeMap;
78
+ }
79
+ }
80
+ exports.Id = Id;
@@ -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 this project).
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,28 +11,25 @@
11
11
  * Do not edit the class manually.
12
12
  */
13
13
  Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.PublicServicePoint = void 0;
15
- /**
16
- * data that non-authn users can see (do not leak email)
17
- */
18
- class PublicServicePoint {
14
+ exports.Language = void 0;
15
+ class Language {
19
16
  'id';
20
- 'name';
17
+ 'schemaUri';
21
18
  static discriminator = undefined;
22
19
  static attributeTypeMap = [
23
20
  {
24
21
  "name": "id",
25
22
  "baseName": "id",
26
- "type": "number"
23
+ "type": "string"
27
24
  },
28
25
  {
29
- "name": "name",
30
- "baseName": "name",
26
+ "name": "schemaUri",
27
+ "baseName": "schemaUri",
31
28
  "type": "string"
32
29
  }
33
30
  ];
34
31
  static getAttributeTypeMap() {
35
- return PublicServicePoint.attributeTypeMap;
32
+ return Language.attributeTypeMap;
36
33
  }
37
34
  }
38
- exports.PublicServicePoint = PublicServicePoint;
35
+ exports.Language = 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 (not this project).
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,8 +11,11 @@
11
11
  * Do not edit the class manually.
12
12
  */
13
13
  Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.DatesBlock = void 0;
15
- class DatesBlock {
14
+ exports.ModelDate = void 0;
15
+ /**
16
+ * Metadata schema block containing the start and end date of the RAiD.
17
+ */
18
+ class ModelDate {
16
19
  'startDate';
17
20
  'endDate';
18
21
  static discriminator = undefined;
@@ -29,7 +32,7 @@ class DatesBlock {
29
32
  }
30
33
  ];
31
34
  static getAttributeTypeMap() {
32
- return DatesBlock.attributeTypeMap;
35
+ return ModelDate.attributeTypeMap;
33
36
  }
34
37
  }
35
- exports.DatesBlock = DatesBlock;
38
+ exports.ModelDate = ModelDate;
@@ -15,112 +15,86 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  exports.VoidAuth = exports.OAuth = exports.ApiKeyAuth = exports.HttpBearerAuth = exports.HttpBasicAuth = exports.ObjectSerializer = void 0;
18
- __exportStar(require("./accessBlock"), exports);
18
+ __exportStar(require("./access"), exports);
19
+ __exportStar(require("./accessStatement"), exports);
19
20
  __exportStar(require("./accessType"), exports);
20
- __exportStar(require("./alternateUrlBlock"), exports);
21
- __exportStar(require("./apiKey"), exports);
22
- __exportStar(require("./appUser"), exports);
23
- __exportStar(require("./appUserExtraV1"), exports);
24
- __exportStar(require("./authzRequestExtraV1"), exports);
25
- __exportStar(require("./authzRequestStatus"), exports);
26
- __exportStar(require("./contributorBlock"), exports);
27
- __exportStar(require("./contributorIdentifierSchemeType"), exports);
21
+ __exportStar(require("./alternateIdentifier"), exports);
22
+ __exportStar(require("./alternateUrl"), exports);
23
+ __exportStar(require("./closedRaid"), exports);
24
+ __exportStar(require("./contributor"), exports);
28
25
  __exportStar(require("./contributorPosition"), exports);
29
- __exportStar(require("./contributorPositionRaidMetadataSchemaType"), exports);
30
- __exportStar(require("./contributorPositionSchemeType"), exports);
31
26
  __exportStar(require("./contributorRole"), exports);
32
- __exportStar(require("./contributorRoleCreditNisoOrgType"), exports);
33
- __exportStar(require("./contributorRoleSchemeType"), exports);
34
- __exportStar(require("./datesBlock"), exports);
35
- __exportStar(require("./descriptionBlock"), exports);
27
+ __exportStar(require("./description"), exports);
36
28
  __exportStar(require("./descriptionType"), exports);
37
- __exportStar(require("./generateApiTokenRequest"), exports);
38
- __exportStar(require("./generateApiTokenResponse"), exports);
39
- __exportStar(require("./idBlock"), exports);
40
- __exportStar(require("./legacyMetadataSchemaV1"), exports);
41
- __exportStar(require("./migrateLegacyRaidRequest"), exports);
42
- __exportStar(require("./migrateLegacyRaidRequestMintRequest"), exports);
43
- __exportStar(require("./mintRaidoSchemaV1Request"), exports);
44
- __exportStar(require("./mintRaidoSchemaV1RequestMintRequest"), exports);
45
- __exportStar(require("./mintResponse"), exports);
46
- __exportStar(require("./organisationBlock"), exports);
47
- __exportStar(require("./organisationIdentifierSchemeType"), exports);
29
+ __exportStar(require("./failureResponse"), exports);
30
+ __exportStar(require("./id"), exports);
31
+ __exportStar(require("./language"), exports);
32
+ __exportStar(require("./modelDate"), exports);
33
+ __exportStar(require("./organisation"), exports);
48
34
  __exportStar(require("./organisationRole"), exports);
49
- __exportStar(require("./organisationRoleSchemeType"), exports);
50
- __exportStar(require("./organisationRoleType"), exports);
51
- __exportStar(require("./publicClosedMetadataSchemaV1"), exports);
52
- __exportStar(require("./publicRaidMetadataSchemaV1"), exports);
53
- __exportStar(require("./publicReadRaidMetadataResponseV1"), exports);
54
- __exportStar(require("./publicReadRaidResponseV3"), exports);
55
- __exportStar(require("./publicServicePoint"), exports);
56
- __exportStar(require("./raidListItemV2"), exports);
57
- __exportStar(require("./raidListRequestV2"), exports);
58
- __exportStar(require("./raidoMetadataSchemaV1"), exports);
59
- __exportStar(require("./raidoMetaschema"), exports);
60
- __exportStar(require("./readRaidResponseV2"), exports);
61
- __exportStar(require("./readRaidV2Request"), exports);
35
+ __exportStar(require("./owner"), exports);
36
+ __exportStar(require("./raidChange"), exports);
37
+ __exportStar(require("./raidCreateRequest"), exports);
38
+ __exportStar(require("./raidDto"), exports);
39
+ __exportStar(require("./raidUpdateRequest"), exports);
40
+ __exportStar(require("./registrationAgency"), exports);
41
+ __exportStar(require("./relatedObject"), exports);
42
+ __exportStar(require("./relatedObjectCategory"), exports);
43
+ __exportStar(require("./relatedObjectType"), exports);
44
+ __exportStar(require("./relatedRaid"), exports);
45
+ __exportStar(require("./relatedRaidType"), exports);
62
46
  __exportStar(require("./servicePoint"), exports);
63
- __exportStar(require("./titleBlock"), exports);
47
+ __exportStar(require("./servicePointCreateRequest"), exports);
48
+ __exportStar(require("./servicePointUpdateRequest"), exports);
49
+ __exportStar(require("./spatialCoverage"), exports);
50
+ __exportStar(require("./spatialCoveragePlace"), exports);
51
+ __exportStar(require("./subject"), exports);
52
+ __exportStar(require("./subjectKeyword"), exports);
53
+ __exportStar(require("./title"), exports);
64
54
  __exportStar(require("./titleType"), exports);
65
- __exportStar(require("./updateAuthzRequest"), exports);
66
- __exportStar(require("./updateAuthzRequestStatus"), exports);
67
- __exportStar(require("./updateAuthzResponse"), exports);
68
- __exportStar(require("./updateRaidoSchemaV1Request"), exports);
55
+ __exportStar(require("./traditionalKnowledgeLabel"), exports);
69
56
  __exportStar(require("./validationFailure"), exports);
70
- __exportStar(require("./versionResult"), exports);
71
- const accessBlock_1 = require("./accessBlock");
57
+ __exportStar(require("./validationFailureResponse"), exports);
58
+ const access_1 = require("./access");
59
+ const accessStatement_1 = require("./accessStatement");
72
60
  const accessType_1 = require("./accessType");
73
- const alternateUrlBlock_1 = require("./alternateUrlBlock");
74
- const apiKey_1 = require("./apiKey");
75
- const appUser_1 = require("./appUser");
76
- const appUserExtraV1_1 = require("./appUserExtraV1");
77
- const authzRequestExtraV1_1 = require("./authzRequestExtraV1");
78
- const authzRequestStatus_1 = require("./authzRequestStatus");
79
- const contributorBlock_1 = require("./contributorBlock");
80
- const contributorIdentifierSchemeType_1 = require("./contributorIdentifierSchemeType");
61
+ const alternateIdentifier_1 = require("./alternateIdentifier");
62
+ const alternateUrl_1 = require("./alternateUrl");
63
+ const closedRaid_1 = require("./closedRaid");
64
+ const contributor_1 = require("./contributor");
81
65
  const contributorPosition_1 = require("./contributorPosition");
82
- const contributorPositionRaidMetadataSchemaType_1 = require("./contributorPositionRaidMetadataSchemaType");
83
- const contributorPositionSchemeType_1 = require("./contributorPositionSchemeType");
84
66
  const contributorRole_1 = require("./contributorRole");
85
- const contributorRoleCreditNisoOrgType_1 = require("./contributorRoleCreditNisoOrgType");
86
- const contributorRoleSchemeType_1 = require("./contributorRoleSchemeType");
87
- const datesBlock_1 = require("./datesBlock");
88
- const descriptionBlock_1 = require("./descriptionBlock");
67
+ const description_1 = require("./description");
89
68
  const descriptionType_1 = require("./descriptionType");
90
- const generateApiTokenRequest_1 = require("./generateApiTokenRequest");
91
- const generateApiTokenResponse_1 = require("./generateApiTokenResponse");
92
- const idBlock_1 = require("./idBlock");
93
- const legacyMetadataSchemaV1_1 = require("./legacyMetadataSchemaV1");
94
- const migrateLegacyRaidRequest_1 = require("./migrateLegacyRaidRequest");
95
- const migrateLegacyRaidRequestMintRequest_1 = require("./migrateLegacyRaidRequestMintRequest");
96
- const mintRaidoSchemaV1Request_1 = require("./mintRaidoSchemaV1Request");
97
- const mintRaidoSchemaV1RequestMintRequest_1 = require("./mintRaidoSchemaV1RequestMintRequest");
98
- const mintResponse_1 = require("./mintResponse");
99
- const organisationBlock_1 = require("./organisationBlock");
100
- const organisationIdentifierSchemeType_1 = require("./organisationIdentifierSchemeType");
69
+ const failureResponse_1 = require("./failureResponse");
70
+ const id_1 = require("./id");
71
+ const language_1 = require("./language");
72
+ const modelDate_1 = require("./modelDate");
73
+ const organisation_1 = require("./organisation");
101
74
  const organisationRole_1 = require("./organisationRole");
102
- const organisationRoleSchemeType_1 = require("./organisationRoleSchemeType");
103
- const organisationRoleType_1 = require("./organisationRoleType");
104
- const publicClosedMetadataSchemaV1_1 = require("./publicClosedMetadataSchemaV1");
105
- const publicRaidMetadataSchemaV1_1 = require("./publicRaidMetadataSchemaV1");
106
- const publicReadRaidMetadataResponseV1_1 = require("./publicReadRaidMetadataResponseV1");
107
- const publicReadRaidResponseV3_1 = require("./publicReadRaidResponseV3");
108
- const publicServicePoint_1 = require("./publicServicePoint");
109
- const raidListItemV2_1 = require("./raidListItemV2");
110
- const raidListRequestV2_1 = require("./raidListRequestV2");
111
- const raidoMetadataSchemaV1_1 = require("./raidoMetadataSchemaV1");
112
- const raidoMetaschema_1 = require("./raidoMetaschema");
113
- const readRaidResponseV2_1 = require("./readRaidResponseV2");
114
- const readRaidV2Request_1 = require("./readRaidV2Request");
75
+ const owner_1 = require("./owner");
76
+ const raidChange_1 = require("./raidChange");
77
+ const raidCreateRequest_1 = require("./raidCreateRequest");
78
+ const raidDto_1 = require("./raidDto");
79
+ const raidUpdateRequest_1 = require("./raidUpdateRequest");
80
+ const registrationAgency_1 = require("./registrationAgency");
81
+ const relatedObject_1 = require("./relatedObject");
82
+ const relatedObjectCategory_1 = require("./relatedObjectCategory");
83
+ const relatedObjectType_1 = require("./relatedObjectType");
84
+ const relatedRaid_1 = require("./relatedRaid");
85
+ const relatedRaidType_1 = require("./relatedRaidType");
115
86
  const servicePoint_1 = require("./servicePoint");
116
- const titleBlock_1 = require("./titleBlock");
87
+ const servicePointCreateRequest_1 = require("./servicePointCreateRequest");
88
+ const servicePointUpdateRequest_1 = require("./servicePointUpdateRequest");
89
+ const spatialCoverage_1 = require("./spatialCoverage");
90
+ const spatialCoveragePlace_1 = require("./spatialCoveragePlace");
91
+ const subject_1 = require("./subject");
92
+ const subjectKeyword_1 = require("./subjectKeyword");
93
+ const title_1 = require("./title");
117
94
  const titleType_1 = require("./titleType");
118
- const updateAuthzRequest_1 = require("./updateAuthzRequest");
119
- const updateAuthzRequestStatus_1 = require("./updateAuthzRequestStatus");
120
- const updateAuthzResponse_1 = require("./updateAuthzResponse");
121
- const updateRaidoSchemaV1Request_1 = require("./updateRaidoSchemaV1Request");
95
+ const traditionalKnowledgeLabel_1 = require("./traditionalKnowledgeLabel");
122
96
  const validationFailure_1 = require("./validationFailure");
123
- const versionResult_1 = require("./versionResult");
97
+ const validationFailureResponse_1 = require("./validationFailureResponse");
124
98
  /* tslint:disable:no-unused-variable */
125
99
  let primitives = [
126
100
  "string",
@@ -132,62 +106,48 @@ let primitives = [
132
106
  "number",
133
107
  "any"
134
108
  ];
135
- let enumsMap = {
136
- "AccessType": accessType_1.AccessType,
137
- "AuthzRequestStatus": authzRequestStatus_1.AuthzRequestStatus,
138
- "ContributorIdentifierSchemeType": contributorIdentifierSchemeType_1.ContributorIdentifierSchemeType,
139
- "ContributorPositionRaidMetadataSchemaType": contributorPositionRaidMetadataSchemaType_1.ContributorPositionRaidMetadataSchemaType,
140
- "ContributorPositionSchemeType": contributorPositionSchemeType_1.ContributorPositionSchemeType,
141
- "ContributorRoleCreditNisoOrgType": contributorRoleCreditNisoOrgType_1.ContributorRoleCreditNisoOrgType,
142
- "ContributorRoleSchemeType": contributorRoleSchemeType_1.ContributorRoleSchemeType,
143
- "DescriptionType": descriptionType_1.DescriptionType,
144
- "OrganisationIdentifierSchemeType": organisationIdentifierSchemeType_1.OrganisationIdentifierSchemeType,
145
- "OrganisationRoleSchemeType": organisationRoleSchemeType_1.OrganisationRoleSchemeType,
146
- "OrganisationRoleType": organisationRoleType_1.OrganisationRoleType,
147
- "RaidoMetaschema": raidoMetaschema_1.RaidoMetaschema,
148
- "TitleType": titleType_1.TitleType,
149
- };
109
+ let enumsMap = {};
150
110
  let typeMap = {
151
- "AccessBlock": accessBlock_1.AccessBlock,
152
- "AlternateUrlBlock": alternateUrlBlock_1.AlternateUrlBlock,
153
- "ApiKey": apiKey_1.ApiKey,
154
- "AppUser": appUser_1.AppUser,
155
- "AppUserExtraV1": appUserExtraV1_1.AppUserExtraV1,
156
- "AuthzRequestExtraV1": authzRequestExtraV1_1.AuthzRequestExtraV1,
157
- "ContributorBlock": contributorBlock_1.ContributorBlock,
111
+ "Access": access_1.Access,
112
+ "AccessStatement": accessStatement_1.AccessStatement,
113
+ "AccessType": accessType_1.AccessType,
114
+ "AlternateIdentifier": alternateIdentifier_1.AlternateIdentifier,
115
+ "AlternateUrl": alternateUrl_1.AlternateUrl,
116
+ "ClosedRaid": closedRaid_1.ClosedRaid,
117
+ "Contributor": contributor_1.Contributor,
158
118
  "ContributorPosition": contributorPosition_1.ContributorPosition,
159
119
  "ContributorRole": contributorRole_1.ContributorRole,
160
- "DatesBlock": datesBlock_1.DatesBlock,
161
- "DescriptionBlock": descriptionBlock_1.DescriptionBlock,
162
- "GenerateApiTokenRequest": generateApiTokenRequest_1.GenerateApiTokenRequest,
163
- "GenerateApiTokenResponse": generateApiTokenResponse_1.GenerateApiTokenResponse,
164
- "IdBlock": idBlock_1.IdBlock,
165
- "LegacyMetadataSchemaV1": legacyMetadataSchemaV1_1.LegacyMetadataSchemaV1,
166
- "MigrateLegacyRaidRequest": migrateLegacyRaidRequest_1.MigrateLegacyRaidRequest,
167
- "MigrateLegacyRaidRequestMintRequest": migrateLegacyRaidRequestMintRequest_1.MigrateLegacyRaidRequestMintRequest,
168
- "MintRaidoSchemaV1Request": mintRaidoSchemaV1Request_1.MintRaidoSchemaV1Request,
169
- "MintRaidoSchemaV1RequestMintRequest": mintRaidoSchemaV1RequestMintRequest_1.MintRaidoSchemaV1RequestMintRequest,
170
- "MintResponse": mintResponse_1.MintResponse,
171
- "OrganisationBlock": organisationBlock_1.OrganisationBlock,
120
+ "Description": description_1.Description,
121
+ "DescriptionType": descriptionType_1.DescriptionType,
122
+ "FailureResponse": failureResponse_1.FailureResponse,
123
+ "Id": id_1.Id,
124
+ "Language": language_1.Language,
125
+ "ModelDate": modelDate_1.ModelDate,
126
+ "Organisation": organisation_1.Organisation,
172
127
  "OrganisationRole": organisationRole_1.OrganisationRole,
173
- "PublicClosedMetadataSchemaV1": publicClosedMetadataSchemaV1_1.PublicClosedMetadataSchemaV1,
174
- "PublicRaidMetadataSchemaV1": publicRaidMetadataSchemaV1_1.PublicRaidMetadataSchemaV1,
175
- "PublicReadRaidMetadataResponseV1": publicReadRaidMetadataResponseV1_1.PublicReadRaidMetadataResponseV1,
176
- "PublicReadRaidResponseV3": publicReadRaidResponseV3_1.PublicReadRaidResponseV3,
177
- "PublicServicePoint": publicServicePoint_1.PublicServicePoint,
178
- "RaidListItemV2": raidListItemV2_1.RaidListItemV2,
179
- "RaidListRequestV2": raidListRequestV2_1.RaidListRequestV2,
180
- "RaidoMetadataSchemaV1": raidoMetadataSchemaV1_1.RaidoMetadataSchemaV1,
181
- "ReadRaidResponseV2": readRaidResponseV2_1.ReadRaidResponseV2,
182
- "ReadRaidV2Request": readRaidV2Request_1.ReadRaidV2Request,
128
+ "Owner": owner_1.Owner,
129
+ "RaidChange": raidChange_1.RaidChange,
130
+ "RaidCreateRequest": raidCreateRequest_1.RaidCreateRequest,
131
+ "RaidDto": raidDto_1.RaidDto,
132
+ "RaidUpdateRequest": raidUpdateRequest_1.RaidUpdateRequest,
133
+ "RegistrationAgency": registrationAgency_1.RegistrationAgency,
134
+ "RelatedObject": relatedObject_1.RelatedObject,
135
+ "RelatedObjectCategory": relatedObjectCategory_1.RelatedObjectCategory,
136
+ "RelatedObjectType": relatedObjectType_1.RelatedObjectType,
137
+ "RelatedRaid": relatedRaid_1.RelatedRaid,
138
+ "RelatedRaidType": relatedRaidType_1.RelatedRaidType,
183
139
  "ServicePoint": servicePoint_1.ServicePoint,
184
- "TitleBlock": titleBlock_1.TitleBlock,
185
- "UpdateAuthzRequest": updateAuthzRequest_1.UpdateAuthzRequest,
186
- "UpdateAuthzRequestStatus": updateAuthzRequestStatus_1.UpdateAuthzRequestStatus,
187
- "UpdateAuthzResponse": updateAuthzResponse_1.UpdateAuthzResponse,
188
- "UpdateRaidoSchemaV1Request": updateRaidoSchemaV1Request_1.UpdateRaidoSchemaV1Request,
140
+ "ServicePointCreateRequest": servicePointCreateRequest_1.ServicePointCreateRequest,
141
+ "ServicePointUpdateRequest": servicePointUpdateRequest_1.ServicePointUpdateRequest,
142
+ "SpatialCoverage": spatialCoverage_1.SpatialCoverage,
143
+ "SpatialCoveragePlace": spatialCoveragePlace_1.SpatialCoveragePlace,
144
+ "Subject": subject_1.Subject,
145
+ "SubjectKeyword": subjectKeyword_1.SubjectKeyword,
146
+ "Title": title_1.Title,
147
+ "TitleType": titleType_1.TitleType,
148
+ "TraditionalKnowledgeLabel": traditionalKnowledgeLabel_1.TraditionalKnowledgeLabel,
189
149
  "ValidationFailure": validationFailure_1.ValidationFailure,
190
- "VersionResult": versionResult_1.VersionResult,
150
+ "ValidationFailureResponse": validationFailureResponse_1.ValidationFailureResponse,
191
151
  };
192
152
  class ObjectSerializer {
193
153
  static findCorrectType(data, expectedType) {