@researchdatabox/raido-openapi-generated-node 0.0.1 → 0.0.2

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 (106) hide show
  1. package/README.md +1 -1
  2. package/dist/api/adminExperimentalApi.js +35 -35
  3. package/dist/api/apis.js +5 -3
  4. package/dist/api/basicRaidExperimentalApi.js +152 -14
  5. package/dist/api/publicExperimentalApi.js +5 -5
  6. package/dist/api/raidoStableV1Api.js +369 -0
  7. package/dist/api/{unauthzExperimentalApi.js → unapprovedExperimentalApi.js} +17 -17
  8. package/dist/model/access.js +44 -0
  9. package/dist/model/accessBlock.js +1 -1
  10. package/dist/model/accessStatement.js +35 -0
  11. package/dist/model/accessType.js +1 -1
  12. package/dist/model/accessTypeWithSchemaUri.js +35 -0
  13. package/dist/model/alternateIdentifier.js +35 -0
  14. package/dist/model/alternateIdentifierBlock.js +35 -0
  15. package/dist/model/alternateUrl.js +29 -0
  16. package/dist/model/alternateUrlBlock.js +1 -1
  17. package/dist/model/apiKey.js +1 -1
  18. package/dist/model/appUser.js +1 -1
  19. package/dist/model/appUserExtraV1.js +1 -1
  20. package/dist/model/authzRequestExtraV1.js +1 -1
  21. package/dist/model/authzRequestStatus.js +1 -1
  22. package/dist/model/closedRaid.js +35 -0
  23. package/dist/model/contributor.js +59 -0
  24. package/dist/model/contributorBlock.js +1 -1
  25. package/dist/model/contributorIdentifierSchemeType.js +1 -1
  26. package/dist/model/contributorPosition.js +1 -1
  27. package/dist/model/contributorPositionRaidMetadataSchemaType.js +1 -1
  28. package/dist/model/contributorPositionSchemeType.js +1 -1
  29. package/dist/model/contributorPositionWithSchemaUri.js +47 -0
  30. package/dist/model/contributorRole.js +1 -1
  31. package/dist/model/contributorRoleCreditNisoOrgType.js +1 -1
  32. package/dist/model/contributorRoleSchemeType.js +1 -1
  33. package/dist/model/contributorRoleWithSchemaUri.js +35 -0
  34. package/dist/model/datesBlock.js +1 -1
  35. package/dist/model/description.js +41 -0
  36. package/dist/model/descriptionBlock.js +1 -1
  37. package/dist/model/descriptionType.js +1 -1
  38. package/dist/model/descriptionTypeWithSchemaUri.js +35 -0
  39. package/dist/model/failureResponse.js +53 -0
  40. package/dist/model/generateApiTokenRequest.js +1 -1
  41. package/dist/model/generateApiTokenResponse.js +1 -1
  42. package/dist/model/id.js +89 -0
  43. package/dist/model/idBlock.js +41 -11
  44. package/dist/model/language.js +35 -0
  45. package/dist/model/legacyMetadataSchemaV1.js +1 -1
  46. package/dist/model/migrateLegacyRaidRequest.js +1 -1
  47. package/dist/model/migrateLegacyRaidRequestMintRequest.js +1 -1
  48. package/dist/model/mintRaidoSchemaV1Request.js +1 -1
  49. package/dist/model/mintRaidoSchemaV1RequestMintRequest.js +1 -1
  50. package/dist/model/mintResponse.js +1 -1
  51. package/dist/model/modelDate.js +38 -0
  52. package/dist/model/models.js +132 -0
  53. package/dist/model/organisation.js +41 -0
  54. package/dist/model/organisationBlock.js +1 -1
  55. package/dist/model/organisationIdentifierSchemeType.js +1 -1
  56. package/dist/model/organisationRole.js +1 -1
  57. package/dist/model/organisationRoleSchemeType.js +1 -1
  58. package/dist/model/organisationRoleType.js +1 -1
  59. package/dist/model/organisationRoleWithSchemaUri.js +47 -0
  60. package/dist/model/owner.js +47 -0
  61. package/dist/model/publicClosedMetadataSchemaV1.js +1 -1
  62. package/dist/model/publicRaidMetadataSchemaV1.js +37 -1
  63. package/dist/model/publicReadRaidMetadataResponseV1.js +37 -1
  64. package/dist/model/publicReadRaidResponseV3.js +1 -1
  65. package/dist/model/publicServicePoint.js +1 -1
  66. package/dist/model/raidCreateRequest.js +107 -0
  67. package/dist/model/raidDto.js +107 -0
  68. package/dist/model/raidListItemV2.js +1 -1
  69. package/dist/model/raidListItemV3.js +53 -0
  70. package/dist/model/raidListRequestV2.js +1 -1
  71. package/dist/model/raidUpdateRequest.js +107 -0
  72. package/dist/model/raidoMetadataSchemaV1.js +37 -1
  73. package/dist/model/raidoMetadataSchemaV2.js +116 -0
  74. package/dist/model/raidoMetaschema.js +1 -1
  75. package/dist/model/raidoMetaschemaV2.js +23 -0
  76. package/dist/model/readRaidResponseV2.js +1 -1
  77. package/dist/model/readRaidV2Request.js +1 -1
  78. package/dist/model/registrationAgency.js +38 -0
  79. package/dist/model/relatedObject.js +47 -0
  80. package/dist/model/relatedObjectBlock.js +53 -0
  81. package/dist/model/relatedObjectCategory.js +35 -0
  82. package/dist/model/relatedObjectType.js +35 -0
  83. package/dist/model/relatedRaid.js +35 -0
  84. package/dist/model/relatedRaidBlock.js +41 -0
  85. package/dist/model/relatedRaidType.js +35 -0
  86. package/dist/model/servicePoint.js +13 -1
  87. package/dist/model/spatialCoverage.js +47 -0
  88. package/dist/model/spatialCoverageBlock.js +41 -0
  89. package/dist/model/subject.js +41 -0
  90. package/dist/model/subjectBlock.js +41 -0
  91. package/dist/model/subjectKeyword.js +35 -0
  92. package/dist/model/title.js +53 -0
  93. package/dist/model/titleBlock.js +1 -1
  94. package/dist/model/titleType.js +1 -1
  95. package/dist/model/titleTypeWithSchemaUri.js +35 -0
  96. package/dist/model/traditionalKnowledgeLabel.js +35 -0
  97. package/dist/model/traditionalKnowledgeLabelBlock.js +29 -0
  98. package/dist/model/updateAuthzRequest.js +1 -4
  99. package/dist/model/updateAuthzRequestStatus.js +4 -1
  100. package/dist/model/updateAuthzResponse.js +7 -1
  101. package/dist/model/updateRaidoSchemaV1Request.js +1 -1
  102. package/dist/model/updateRaidoSchemaV2Request.js +29 -0
  103. package/dist/model/validationFailure.js +1 -1
  104. package/dist/model/validationFailureResponse.js +59 -0
  105. package/dist/model/versionResult.js +1 -1
  106. package/package.json +3 -3
@@ -0,0 +1,89 @@
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.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 CNRI handle system, e.g https://hdl.handle.net/xxx.yyy/zzz
28
+ */
29
+ 'globalUrl';
30
+ /**
31
+ * The URL for the raid via the minting raid agency system, e.g https://raid.org.au/10378.1/1695863
32
+ */
33
+ 'raidAgencyUrl';
34
+ /**
35
+ * The license under which the RAiD Metadata Record associated with this Identifier has been issued.
36
+ */
37
+ 'license';
38
+ /**
39
+ * The version of the resource. Read-only. Increments automatically on update.
40
+ */
41
+ 'version';
42
+ static discriminator = undefined;
43
+ static attributeTypeMap = [
44
+ {
45
+ "name": "id",
46
+ "baseName": "id",
47
+ "type": "string"
48
+ },
49
+ {
50
+ "name": "schemaUri",
51
+ "baseName": "schemaUri",
52
+ "type": "string"
53
+ },
54
+ {
55
+ "name": "registrationAgency",
56
+ "baseName": "registrationAgency",
57
+ "type": "RegistrationAgency"
58
+ },
59
+ {
60
+ "name": "owner",
61
+ "baseName": "owner",
62
+ "type": "Owner"
63
+ },
64
+ {
65
+ "name": "globalUrl",
66
+ "baseName": "globalUrl",
67
+ "type": "string"
68
+ },
69
+ {
70
+ "name": "raidAgencyUrl",
71
+ "baseName": "raidAgencyUrl",
72
+ "type": "string"
73
+ },
74
+ {
75
+ "name": "license",
76
+ "baseName": "license",
77
+ "type": "string"
78
+ },
79
+ {
80
+ "name": "version",
81
+ "baseName": "version",
82
+ "type": "number"
83
+ }
84
+ ];
85
+ static getAttributeTypeMap() {
86
+ return Id.attributeTypeMap;
87
+ }
88
+ }
89
+ 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 (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
5
  *
6
6
  * The version of the OpenAPI document: 2.0.0
7
7
  * Contact: contact@raid.org
@@ -14,22 +14,37 @@ Object.defineProperty(exports, "__esModule", { value: true });
14
14
  exports.IdBlock = void 0;
15
15
  class IdBlock {
16
16
  /**
17
- * The handle, e.g. xxx.yyy/zzz
17
+ * The identifier of the raid, e.g. https://raid.org.au/102.100.100/zzz
18
18
  */
19
19
  'identifier';
20
- 'identifierTypeUri';
20
+ /**
21
+ * The URI of the Identifier scheme. For example, https://raid.org
22
+ */
23
+ 'identifierSchemeURI';
24
+ /**
25
+ * ROR that identifies of the organisation that operates the raid registration agency software that minted this raid.
26
+ */
27
+ 'identifierRegistrationAgency';
28
+ /**
29
+ * The legal entity responsible for the RAiD; the ‘Owner’ of a RAiD. Analogous to a DataCite ‘Member’, has a legal agreement with the Registration Agency.
30
+ */
31
+ 'identifierOwner';
32
+ /**
33
+ * The Service Point that requested the RAiD. Analogous to a DataCite ‘Repository’. ‘Owners’ can have multiple Service Points, and SPs do not need to be legal entities.
34
+ */
35
+ 'identifierServicePoint';
21
36
  /**
22
37
  * The URL for the raid via the CNRI handle system, e.g https://hdl.handle.net/xxx.yyy/zzz
23
38
  */
24
39
  'globalUrl';
25
40
  /**
26
- * The URL for the raid via the minting raid agency system, e.g https://demo.raido-infra.com/handle/10378.1/1695863
41
+ * The URL for the raid via the minting raid agency system, e.g https://raid.org.au/10378.1/1695863
27
42
  */
28
43
  'raidAgencyUrl';
29
44
  /**
30
- * Identifier of the raid agency system that controls the raid, e.g demo.raido-infra.com
45
+ * The version of the resource. Read-only. Increments automatically on update.
31
46
  */
32
- 'raidAgencyIdentifier';
47
+ 'version';
33
48
  static discriminator = undefined;
34
49
  static attributeTypeMap = [
35
50
  {
@@ -38,10 +53,25 @@ class IdBlock {
38
53
  "type": "string"
39
54
  },
40
55
  {
41
- "name": "identifierTypeUri",
42
- "baseName": "identifierTypeUri",
56
+ "name": "identifierSchemeURI",
57
+ "baseName": "identifierSchemeURI",
43
58
  "type": "string"
44
59
  },
60
+ {
61
+ "name": "identifierRegistrationAgency",
62
+ "baseName": "identifierRegistrationAgency",
63
+ "type": "string"
64
+ },
65
+ {
66
+ "name": "identifierOwner",
67
+ "baseName": "identifierOwner",
68
+ "type": "string"
69
+ },
70
+ {
71
+ "name": "identifierServicePoint",
72
+ "baseName": "identifierServicePoint",
73
+ "type": "number"
74
+ },
45
75
  {
46
76
  "name": "globalUrl",
47
77
  "baseName": "globalUrl",
@@ -53,9 +83,9 @@ class IdBlock {
53
83
  "type": "string"
54
84
  },
55
85
  {
56
- "name": "raidAgencyIdentifier",
57
- "baseName": "raidAgencyIdentifier",
58
- "type": "string"
86
+ "name": "version",
87
+ "baseName": "version",
88
+ "type": "number"
59
89
  }
60
90
  ];
61
91
  static getAttributeTypeMap() {
@@ -0,0 +1,35 @@
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.Language = void 0;
15
+ class Language {
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 Language.attributeTypeMap;
33
+ }
34
+ }
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 (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
5
  *
6
6
  * The version of the OpenAPI document: 2.0.0
7
7
  * Contact: contact@raid.org
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  /**
3
3
  * RAID v2 API
4
- * This file is where all the endpoint paths are defined, it\'s the \"top level\' of the OpenAPI definition that links all the different files together. The `3.0` in the filename refers to this file being based on OpenAPI 3.0 as opposed to OpenAPI 3.1, which the tooling doesn\'t support yet. The `2.0.0` in the version field refers to the fact that there\'s already a `1.0.0` used for the legacy RAiD application (not 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 (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
5
  *
6
6
  * The version of the OpenAPI document: 2.0.0
7
7
  * Contact: contact@raid.org
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  /**
3
3
  * RAID v2 API
4
- * This file is where all the endpoint paths are defined, it\'s the \"top level\' of the OpenAPI definition that links all the different files together. The `3.0` in the filename refers to this file being based on OpenAPI 3.0 as opposed to OpenAPI 3.1, which the tooling doesn\'t support yet. The `2.0.0` in the version field refers to the fact that there\'s already a `1.0.0` used for the legacy RAiD application (not 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 (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
5
  *
6
6
  * The version of the OpenAPI document: 2.0.0
7
7
  * Contact: contact@raid.org
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  /**
3
3
  * RAID v2 API
4
- * This file is where all the endpoint paths are defined, it\'s the \"top level\' of the OpenAPI definition that links all the different files together. The `3.0` in the filename refers to this file being based on OpenAPI 3.0 as opposed to OpenAPI 3.1, which the tooling doesn\'t support yet. The `2.0.0` in the version field refers to the fact that there\'s already a `1.0.0` used for the legacy RAiD application (not 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 (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
5
  *
6
6
  * The version of the OpenAPI document: 2.0.0
7
7
  * Contact: contact@raid.org
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  /**
3
3
  * RAID v2 API
4
- * This file is where all the endpoint paths are defined, it\'s the \"top level\' of the OpenAPI definition that links all the different files together. The `3.0` in the filename refers to this file being based on OpenAPI 3.0 as opposed to OpenAPI 3.1, which the tooling doesn\'t support yet. The `2.0.0` in the version field refers to the fact that there\'s already a `1.0.0` used for the legacy RAiD application (not 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 (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
5
  *
6
6
  * The version of the OpenAPI document: 2.0.0
7
7
  * Contact: contact@raid.org
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  /**
3
3
  * RAID v2 API
4
- * This file is where all the endpoint paths are defined, it\'s the \"top level\' of the OpenAPI definition that links all the different files together. The `3.0` in the filename refers to this file being based on OpenAPI 3.0 as opposed to OpenAPI 3.1, which the tooling doesn\'t support yet. The `2.0.0` in the version field refers to the fact that there\'s already a `1.0.0` used for the legacy RAiD application (not 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 (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
5
  *
6
6
  * The version of the OpenAPI document: 2.0.0
7
7
  * Contact: contact@raid.org
@@ -0,0 +1,38 @@
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.ModelDate = void 0;
15
+ /**
16
+ * Metadata schema block containing the start and end date of the RAiD.
17
+ */
18
+ class ModelDate {
19
+ 'startDate';
20
+ 'endDate';
21
+ static discriminator = undefined;
22
+ static attributeTypeMap = [
23
+ {
24
+ "name": "startDate",
25
+ "baseName": "startDate",
26
+ "type": "string"
27
+ },
28
+ {
29
+ "name": "endDate",
30
+ "baseName": "endDate",
31
+ "type": "string"
32
+ }
33
+ ];
34
+ static getAttributeTypeMap() {
35
+ return ModelDate.attributeTypeMap;
36
+ }
37
+ }
38
+ exports.ModelDate = ModelDate;
@@ -15,111 +15,199 @@ 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("./access"), exports);
18
19
  __exportStar(require("./accessBlock"), exports);
20
+ __exportStar(require("./accessStatement"), exports);
19
21
  __exportStar(require("./accessType"), exports);
22
+ __exportStar(require("./accessTypeWithSchemaUri"), exports);
23
+ __exportStar(require("./alternateIdentifier"), exports);
24
+ __exportStar(require("./alternateIdentifierBlock"), exports);
25
+ __exportStar(require("./alternateUrl"), exports);
20
26
  __exportStar(require("./alternateUrlBlock"), exports);
21
27
  __exportStar(require("./apiKey"), exports);
22
28
  __exportStar(require("./appUser"), exports);
23
29
  __exportStar(require("./appUserExtraV1"), exports);
24
30
  __exportStar(require("./authzRequestExtraV1"), exports);
25
31
  __exportStar(require("./authzRequestStatus"), exports);
32
+ __exportStar(require("./closedRaid"), exports);
33
+ __exportStar(require("./contributor"), exports);
26
34
  __exportStar(require("./contributorBlock"), exports);
27
35
  __exportStar(require("./contributorIdentifierSchemeType"), exports);
28
36
  __exportStar(require("./contributorPosition"), exports);
29
37
  __exportStar(require("./contributorPositionRaidMetadataSchemaType"), exports);
30
38
  __exportStar(require("./contributorPositionSchemeType"), exports);
39
+ __exportStar(require("./contributorPositionWithSchemaUri"), exports);
31
40
  __exportStar(require("./contributorRole"), exports);
32
41
  __exportStar(require("./contributorRoleCreditNisoOrgType"), exports);
33
42
  __exportStar(require("./contributorRoleSchemeType"), exports);
43
+ __exportStar(require("./contributorRoleWithSchemaUri"), exports);
34
44
  __exportStar(require("./datesBlock"), exports);
45
+ __exportStar(require("./description"), exports);
35
46
  __exportStar(require("./descriptionBlock"), exports);
36
47
  __exportStar(require("./descriptionType"), exports);
48
+ __exportStar(require("./descriptionTypeWithSchemaUri"), exports);
49
+ __exportStar(require("./failureResponse"), exports);
37
50
  __exportStar(require("./generateApiTokenRequest"), exports);
38
51
  __exportStar(require("./generateApiTokenResponse"), exports);
52
+ __exportStar(require("./id"), exports);
39
53
  __exportStar(require("./idBlock"), exports);
54
+ __exportStar(require("./language"), exports);
40
55
  __exportStar(require("./legacyMetadataSchemaV1"), exports);
41
56
  __exportStar(require("./migrateLegacyRaidRequest"), exports);
42
57
  __exportStar(require("./migrateLegacyRaidRequestMintRequest"), exports);
43
58
  __exportStar(require("./mintRaidoSchemaV1Request"), exports);
44
59
  __exportStar(require("./mintRaidoSchemaV1RequestMintRequest"), exports);
45
60
  __exportStar(require("./mintResponse"), exports);
61
+ __exportStar(require("./modelDate"), exports);
62
+ __exportStar(require("./organisation"), exports);
46
63
  __exportStar(require("./organisationBlock"), exports);
47
64
  __exportStar(require("./organisationIdentifierSchemeType"), exports);
48
65
  __exportStar(require("./organisationRole"), exports);
49
66
  __exportStar(require("./organisationRoleSchemeType"), exports);
50
67
  __exportStar(require("./organisationRoleType"), exports);
68
+ __exportStar(require("./organisationRoleWithSchemaUri"), exports);
69
+ __exportStar(require("./owner"), exports);
51
70
  __exportStar(require("./publicClosedMetadataSchemaV1"), exports);
52
71
  __exportStar(require("./publicRaidMetadataSchemaV1"), exports);
53
72
  __exportStar(require("./publicReadRaidMetadataResponseV1"), exports);
54
73
  __exportStar(require("./publicReadRaidResponseV3"), exports);
55
74
  __exportStar(require("./publicServicePoint"), exports);
75
+ __exportStar(require("./raidCreateRequest"), exports);
76
+ __exportStar(require("./raidDto"), exports);
56
77
  __exportStar(require("./raidListItemV2"), exports);
78
+ __exportStar(require("./raidListItemV3"), exports);
57
79
  __exportStar(require("./raidListRequestV2"), exports);
80
+ __exportStar(require("./raidUpdateRequest"), exports);
58
81
  __exportStar(require("./raidoMetadataSchemaV1"), exports);
82
+ __exportStar(require("./raidoMetadataSchemaV2"), exports);
59
83
  __exportStar(require("./raidoMetaschema"), exports);
84
+ __exportStar(require("./raidoMetaschemaV2"), exports);
60
85
  __exportStar(require("./readRaidResponseV2"), exports);
61
86
  __exportStar(require("./readRaidV2Request"), exports);
87
+ __exportStar(require("./registrationAgency"), exports);
88
+ __exportStar(require("./relatedObject"), exports);
89
+ __exportStar(require("./relatedObjectBlock"), exports);
90
+ __exportStar(require("./relatedObjectCategory"), exports);
91
+ __exportStar(require("./relatedObjectType"), exports);
92
+ __exportStar(require("./relatedRaid"), exports);
93
+ __exportStar(require("./relatedRaidBlock"), exports);
94
+ __exportStar(require("./relatedRaidType"), exports);
62
95
  __exportStar(require("./servicePoint"), exports);
96
+ __exportStar(require("./spatialCoverage"), exports);
97
+ __exportStar(require("./spatialCoverageBlock"), exports);
98
+ __exportStar(require("./subject"), exports);
99
+ __exportStar(require("./subjectBlock"), exports);
100
+ __exportStar(require("./subjectKeyword"), exports);
101
+ __exportStar(require("./title"), exports);
63
102
  __exportStar(require("./titleBlock"), exports);
64
103
  __exportStar(require("./titleType"), exports);
104
+ __exportStar(require("./titleTypeWithSchemaUri"), exports);
105
+ __exportStar(require("./traditionalKnowledgeLabel"), exports);
106
+ __exportStar(require("./traditionalKnowledgeLabelBlock"), exports);
65
107
  __exportStar(require("./updateAuthzRequest"), exports);
66
108
  __exportStar(require("./updateAuthzRequestStatus"), exports);
67
109
  __exportStar(require("./updateAuthzResponse"), exports);
68
110
  __exportStar(require("./updateRaidoSchemaV1Request"), exports);
111
+ __exportStar(require("./updateRaidoSchemaV2Request"), exports);
69
112
  __exportStar(require("./validationFailure"), exports);
113
+ __exportStar(require("./validationFailureResponse"), exports);
70
114
  __exportStar(require("./versionResult"), exports);
115
+ const access_1 = require("./access");
71
116
  const accessBlock_1 = require("./accessBlock");
117
+ const accessStatement_1 = require("./accessStatement");
72
118
  const accessType_1 = require("./accessType");
119
+ const accessTypeWithSchemaUri_1 = require("./accessTypeWithSchemaUri");
120
+ const alternateIdentifier_1 = require("./alternateIdentifier");
121
+ const alternateIdentifierBlock_1 = require("./alternateIdentifierBlock");
122
+ const alternateUrl_1 = require("./alternateUrl");
73
123
  const alternateUrlBlock_1 = require("./alternateUrlBlock");
74
124
  const apiKey_1 = require("./apiKey");
75
125
  const appUser_1 = require("./appUser");
76
126
  const appUserExtraV1_1 = require("./appUserExtraV1");
77
127
  const authzRequestExtraV1_1 = require("./authzRequestExtraV1");
78
128
  const authzRequestStatus_1 = require("./authzRequestStatus");
129
+ const closedRaid_1 = require("./closedRaid");
130
+ const contributor_1 = require("./contributor");
79
131
  const contributorBlock_1 = require("./contributorBlock");
80
132
  const contributorIdentifierSchemeType_1 = require("./contributorIdentifierSchemeType");
81
133
  const contributorPosition_1 = require("./contributorPosition");
82
134
  const contributorPositionRaidMetadataSchemaType_1 = require("./contributorPositionRaidMetadataSchemaType");
83
135
  const contributorPositionSchemeType_1 = require("./contributorPositionSchemeType");
136
+ const contributorPositionWithSchemaUri_1 = require("./contributorPositionWithSchemaUri");
84
137
  const contributorRole_1 = require("./contributorRole");
85
138
  const contributorRoleCreditNisoOrgType_1 = require("./contributorRoleCreditNisoOrgType");
86
139
  const contributorRoleSchemeType_1 = require("./contributorRoleSchemeType");
140
+ const contributorRoleWithSchemaUri_1 = require("./contributorRoleWithSchemaUri");
87
141
  const datesBlock_1 = require("./datesBlock");
142
+ const description_1 = require("./description");
88
143
  const descriptionBlock_1 = require("./descriptionBlock");
89
144
  const descriptionType_1 = require("./descriptionType");
145
+ const descriptionTypeWithSchemaUri_1 = require("./descriptionTypeWithSchemaUri");
146
+ const failureResponse_1 = require("./failureResponse");
90
147
  const generateApiTokenRequest_1 = require("./generateApiTokenRequest");
91
148
  const generateApiTokenResponse_1 = require("./generateApiTokenResponse");
149
+ const id_1 = require("./id");
92
150
  const idBlock_1 = require("./idBlock");
151
+ const language_1 = require("./language");
93
152
  const legacyMetadataSchemaV1_1 = require("./legacyMetadataSchemaV1");
94
153
  const migrateLegacyRaidRequest_1 = require("./migrateLegacyRaidRequest");
95
154
  const migrateLegacyRaidRequestMintRequest_1 = require("./migrateLegacyRaidRequestMintRequest");
96
155
  const mintRaidoSchemaV1Request_1 = require("./mintRaidoSchemaV1Request");
97
156
  const mintRaidoSchemaV1RequestMintRequest_1 = require("./mintRaidoSchemaV1RequestMintRequest");
98
157
  const mintResponse_1 = require("./mintResponse");
158
+ const modelDate_1 = require("./modelDate");
159
+ const organisation_1 = require("./organisation");
99
160
  const organisationBlock_1 = require("./organisationBlock");
100
161
  const organisationIdentifierSchemeType_1 = require("./organisationIdentifierSchemeType");
101
162
  const organisationRole_1 = require("./organisationRole");
102
163
  const organisationRoleSchemeType_1 = require("./organisationRoleSchemeType");
103
164
  const organisationRoleType_1 = require("./organisationRoleType");
165
+ const organisationRoleWithSchemaUri_1 = require("./organisationRoleWithSchemaUri");
166
+ const owner_1 = require("./owner");
104
167
  const publicClosedMetadataSchemaV1_1 = require("./publicClosedMetadataSchemaV1");
105
168
  const publicRaidMetadataSchemaV1_1 = require("./publicRaidMetadataSchemaV1");
106
169
  const publicReadRaidMetadataResponseV1_1 = require("./publicReadRaidMetadataResponseV1");
107
170
  const publicReadRaidResponseV3_1 = require("./publicReadRaidResponseV3");
108
171
  const publicServicePoint_1 = require("./publicServicePoint");
172
+ const raidCreateRequest_1 = require("./raidCreateRequest");
173
+ const raidDto_1 = require("./raidDto");
109
174
  const raidListItemV2_1 = require("./raidListItemV2");
175
+ const raidListItemV3_1 = require("./raidListItemV3");
110
176
  const raidListRequestV2_1 = require("./raidListRequestV2");
177
+ const raidUpdateRequest_1 = require("./raidUpdateRequest");
111
178
  const raidoMetadataSchemaV1_1 = require("./raidoMetadataSchemaV1");
179
+ const raidoMetadataSchemaV2_1 = require("./raidoMetadataSchemaV2");
112
180
  const raidoMetaschema_1 = require("./raidoMetaschema");
181
+ const raidoMetaschemaV2_1 = require("./raidoMetaschemaV2");
113
182
  const readRaidResponseV2_1 = require("./readRaidResponseV2");
114
183
  const readRaidV2Request_1 = require("./readRaidV2Request");
184
+ const registrationAgency_1 = require("./registrationAgency");
185
+ const relatedObject_1 = require("./relatedObject");
186
+ const relatedObjectBlock_1 = require("./relatedObjectBlock");
187
+ const relatedObjectCategory_1 = require("./relatedObjectCategory");
188
+ const relatedObjectType_1 = require("./relatedObjectType");
189
+ const relatedRaid_1 = require("./relatedRaid");
190
+ const relatedRaidBlock_1 = require("./relatedRaidBlock");
191
+ const relatedRaidType_1 = require("./relatedRaidType");
115
192
  const servicePoint_1 = require("./servicePoint");
193
+ const spatialCoverage_1 = require("./spatialCoverage");
194
+ const spatialCoverageBlock_1 = require("./spatialCoverageBlock");
195
+ const subject_1 = require("./subject");
196
+ const subjectBlock_1 = require("./subjectBlock");
197
+ const subjectKeyword_1 = require("./subjectKeyword");
198
+ const title_1 = require("./title");
116
199
  const titleBlock_1 = require("./titleBlock");
117
200
  const titleType_1 = require("./titleType");
201
+ const titleTypeWithSchemaUri_1 = require("./titleTypeWithSchemaUri");
202
+ const traditionalKnowledgeLabel_1 = require("./traditionalKnowledgeLabel");
203
+ const traditionalKnowledgeLabelBlock_1 = require("./traditionalKnowledgeLabelBlock");
118
204
  const updateAuthzRequest_1 = require("./updateAuthzRequest");
119
205
  const updateAuthzRequestStatus_1 = require("./updateAuthzRequestStatus");
120
206
  const updateAuthzResponse_1 = require("./updateAuthzResponse");
121
207
  const updateRaidoSchemaV1Request_1 = require("./updateRaidoSchemaV1Request");
208
+ const updateRaidoSchemaV2Request_1 = require("./updateRaidoSchemaV2Request");
122
209
  const validationFailure_1 = require("./validationFailure");
210
+ const validationFailureResponse_1 = require("./validationFailureResponse");
123
211
  const versionResult_1 = require("./versionResult");
124
212
  /* tslint:disable:no-unused-variable */
125
213
  let primitives = [
@@ -145,48 +233,92 @@ let enumsMap = {
145
233
  "OrganisationRoleSchemeType": organisationRoleSchemeType_1.OrganisationRoleSchemeType,
146
234
  "OrganisationRoleType": organisationRoleType_1.OrganisationRoleType,
147
235
  "RaidoMetaschema": raidoMetaschema_1.RaidoMetaschema,
236
+ "RaidoMetaschemaV2": raidoMetaschemaV2_1.RaidoMetaschemaV2,
148
237
  "TitleType": titleType_1.TitleType,
149
238
  };
150
239
  let typeMap = {
240
+ "Access": access_1.Access,
151
241
  "AccessBlock": accessBlock_1.AccessBlock,
242
+ "AccessStatement": accessStatement_1.AccessStatement,
243
+ "AccessTypeWithSchemaUri": accessTypeWithSchemaUri_1.AccessTypeWithSchemaUri,
244
+ "AlternateIdentifier": alternateIdentifier_1.AlternateIdentifier,
245
+ "AlternateIdentifierBlock": alternateIdentifierBlock_1.AlternateIdentifierBlock,
246
+ "AlternateUrl": alternateUrl_1.AlternateUrl,
152
247
  "AlternateUrlBlock": alternateUrlBlock_1.AlternateUrlBlock,
153
248
  "ApiKey": apiKey_1.ApiKey,
154
249
  "AppUser": appUser_1.AppUser,
155
250
  "AppUserExtraV1": appUserExtraV1_1.AppUserExtraV1,
156
251
  "AuthzRequestExtraV1": authzRequestExtraV1_1.AuthzRequestExtraV1,
252
+ "ClosedRaid": closedRaid_1.ClosedRaid,
253
+ "Contributor": contributor_1.Contributor,
157
254
  "ContributorBlock": contributorBlock_1.ContributorBlock,
158
255
  "ContributorPosition": contributorPosition_1.ContributorPosition,
256
+ "ContributorPositionWithSchemaUri": contributorPositionWithSchemaUri_1.ContributorPositionWithSchemaUri,
159
257
  "ContributorRole": contributorRole_1.ContributorRole,
258
+ "ContributorRoleWithSchemaUri": contributorRoleWithSchemaUri_1.ContributorRoleWithSchemaUri,
160
259
  "DatesBlock": datesBlock_1.DatesBlock,
260
+ "Description": description_1.Description,
161
261
  "DescriptionBlock": descriptionBlock_1.DescriptionBlock,
262
+ "DescriptionTypeWithSchemaUri": descriptionTypeWithSchemaUri_1.DescriptionTypeWithSchemaUri,
263
+ "FailureResponse": failureResponse_1.FailureResponse,
162
264
  "GenerateApiTokenRequest": generateApiTokenRequest_1.GenerateApiTokenRequest,
163
265
  "GenerateApiTokenResponse": generateApiTokenResponse_1.GenerateApiTokenResponse,
266
+ "Id": id_1.Id,
164
267
  "IdBlock": idBlock_1.IdBlock,
268
+ "Language": language_1.Language,
165
269
  "LegacyMetadataSchemaV1": legacyMetadataSchemaV1_1.LegacyMetadataSchemaV1,
166
270
  "MigrateLegacyRaidRequest": migrateLegacyRaidRequest_1.MigrateLegacyRaidRequest,
167
271
  "MigrateLegacyRaidRequestMintRequest": migrateLegacyRaidRequestMintRequest_1.MigrateLegacyRaidRequestMintRequest,
168
272
  "MintRaidoSchemaV1Request": mintRaidoSchemaV1Request_1.MintRaidoSchemaV1Request,
169
273
  "MintRaidoSchemaV1RequestMintRequest": mintRaidoSchemaV1RequestMintRequest_1.MintRaidoSchemaV1RequestMintRequest,
170
274
  "MintResponse": mintResponse_1.MintResponse,
275
+ "ModelDate": modelDate_1.ModelDate,
276
+ "Organisation": organisation_1.Organisation,
171
277
  "OrganisationBlock": organisationBlock_1.OrganisationBlock,
172
278
  "OrganisationRole": organisationRole_1.OrganisationRole,
279
+ "OrganisationRoleWithSchemaUri": organisationRoleWithSchemaUri_1.OrganisationRoleWithSchemaUri,
280
+ "Owner": owner_1.Owner,
173
281
  "PublicClosedMetadataSchemaV1": publicClosedMetadataSchemaV1_1.PublicClosedMetadataSchemaV1,
174
282
  "PublicRaidMetadataSchemaV1": publicRaidMetadataSchemaV1_1.PublicRaidMetadataSchemaV1,
175
283
  "PublicReadRaidMetadataResponseV1": publicReadRaidMetadataResponseV1_1.PublicReadRaidMetadataResponseV1,
176
284
  "PublicReadRaidResponseV3": publicReadRaidResponseV3_1.PublicReadRaidResponseV3,
177
285
  "PublicServicePoint": publicServicePoint_1.PublicServicePoint,
286
+ "RaidCreateRequest": raidCreateRequest_1.RaidCreateRequest,
287
+ "RaidDto": raidDto_1.RaidDto,
178
288
  "RaidListItemV2": raidListItemV2_1.RaidListItemV2,
289
+ "RaidListItemV3": raidListItemV3_1.RaidListItemV3,
179
290
  "RaidListRequestV2": raidListRequestV2_1.RaidListRequestV2,
291
+ "RaidUpdateRequest": raidUpdateRequest_1.RaidUpdateRequest,
180
292
  "RaidoMetadataSchemaV1": raidoMetadataSchemaV1_1.RaidoMetadataSchemaV1,
293
+ "RaidoMetadataSchemaV2": raidoMetadataSchemaV2_1.RaidoMetadataSchemaV2,
181
294
  "ReadRaidResponseV2": readRaidResponseV2_1.ReadRaidResponseV2,
182
295
  "ReadRaidV2Request": readRaidV2Request_1.ReadRaidV2Request,
296
+ "RegistrationAgency": registrationAgency_1.RegistrationAgency,
297
+ "RelatedObject": relatedObject_1.RelatedObject,
298
+ "RelatedObjectBlock": relatedObjectBlock_1.RelatedObjectBlock,
299
+ "RelatedObjectCategory": relatedObjectCategory_1.RelatedObjectCategory,
300
+ "RelatedObjectType": relatedObjectType_1.RelatedObjectType,
301
+ "RelatedRaid": relatedRaid_1.RelatedRaid,
302
+ "RelatedRaidBlock": relatedRaidBlock_1.RelatedRaidBlock,
303
+ "RelatedRaidType": relatedRaidType_1.RelatedRaidType,
183
304
  "ServicePoint": servicePoint_1.ServicePoint,
305
+ "SpatialCoverage": spatialCoverage_1.SpatialCoverage,
306
+ "SpatialCoverageBlock": spatialCoverageBlock_1.SpatialCoverageBlock,
307
+ "Subject": subject_1.Subject,
308
+ "SubjectBlock": subjectBlock_1.SubjectBlock,
309
+ "SubjectKeyword": subjectKeyword_1.SubjectKeyword,
310
+ "Title": title_1.Title,
184
311
  "TitleBlock": titleBlock_1.TitleBlock,
312
+ "TitleTypeWithSchemaUri": titleTypeWithSchemaUri_1.TitleTypeWithSchemaUri,
313
+ "TraditionalKnowledgeLabel": traditionalKnowledgeLabel_1.TraditionalKnowledgeLabel,
314
+ "TraditionalKnowledgeLabelBlock": traditionalKnowledgeLabelBlock_1.TraditionalKnowledgeLabelBlock,
185
315
  "UpdateAuthzRequest": updateAuthzRequest_1.UpdateAuthzRequest,
186
316
  "UpdateAuthzRequestStatus": updateAuthzRequestStatus_1.UpdateAuthzRequestStatus,
187
317
  "UpdateAuthzResponse": updateAuthzResponse_1.UpdateAuthzResponse,
188
318
  "UpdateRaidoSchemaV1Request": updateRaidoSchemaV1Request_1.UpdateRaidoSchemaV1Request,
319
+ "UpdateRaidoSchemaV2Request": updateRaidoSchemaV2Request_1.UpdateRaidoSchemaV2Request,
189
320
  "ValidationFailure": validationFailure_1.ValidationFailure,
321
+ "ValidationFailureResponse": validationFailureResponse_1.ValidationFailureResponse,
190
322
  "VersionResult": versionResult_1.VersionResult,
191
323
  };
192
324
  class ObjectSerializer {