@twin.org/hierarchies-models 0.9.0-next.1

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 (148) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +17 -0
  3. package/dist/es/factories/hierarchiesConnectorFactory.js +9 -0
  4. package/dist/es/factories/hierarchiesConnectorFactory.js.map +1 -0
  5. package/dist/es/index.js +37 -0
  6. package/dist/es/index.js.map +1 -0
  7. package/dist/es/models/IAccreditation.js +2 -0
  8. package/dist/es/models/IAccreditation.js.map +1 -0
  9. package/dist/es/models/IFederation.js +2 -0
  10. package/dist/es/models/IFederation.js.map +1 -0
  11. package/dist/es/models/IGovernance.js +2 -0
  12. package/dist/es/models/IGovernance.js.map +1 -0
  13. package/dist/es/models/IHierarchiesComponent.js +2 -0
  14. package/dist/es/models/IHierarchiesComponent.js.map +1 -0
  15. package/dist/es/models/IHierarchiesConnector.js +2 -0
  16. package/dist/es/models/IHierarchiesConnector.js.map +1 -0
  17. package/dist/es/models/IProperty.js +2 -0
  18. package/dist/es/models/IProperty.js.map +1 -0
  19. package/dist/es/models/IPropertyCondition.js +2 -0
  20. package/dist/es/models/IPropertyCondition.js.map +1 -0
  21. package/dist/es/models/IPropertyValue.js +2 -0
  22. package/dist/es/models/IPropertyValue.js.map +1 -0
  23. package/dist/es/models/IRootAuthority.js +4 -0
  24. package/dist/es/models/IRootAuthority.js.map +1 -0
  25. package/dist/es/models/ITimespan.js +4 -0
  26. package/dist/es/models/ITimespan.js.map +1 -0
  27. package/dist/es/models/api/IHierarchiesAccreditationAddRequest.js +2 -0
  28. package/dist/es/models/api/IHierarchiesAccreditationAddRequest.js.map +1 -0
  29. package/dist/es/models/api/IHierarchiesAccreditationGetRequest.js +4 -0
  30. package/dist/es/models/api/IHierarchiesAccreditationGetRequest.js.map +1 -0
  31. package/dist/es/models/api/IHierarchiesAccreditationGetResponse.js +2 -0
  32. package/dist/es/models/api/IHierarchiesAccreditationGetResponse.js.map +1 -0
  33. package/dist/es/models/api/IHierarchiesAccreditationRemoveRequest.js +4 -0
  34. package/dist/es/models/api/IHierarchiesAccreditationRemoveRequest.js.map +1 -0
  35. package/dist/es/models/api/IHierarchiesAccreditationsGetRequest.js +4 -0
  36. package/dist/es/models/api/IHierarchiesAccreditationsGetRequest.js.map +1 -0
  37. package/dist/es/models/api/IHierarchiesAccreditationsGetResponse.js +2 -0
  38. package/dist/es/models/api/IHierarchiesAccreditationsGetResponse.js.map +1 -0
  39. package/dist/es/models/api/IHierarchiesAuthorityAddRequest.js +4 -0
  40. package/dist/es/models/api/IHierarchiesAuthorityAddRequest.js.map +1 -0
  41. package/dist/es/models/api/IHierarchiesAuthorityRemoveRequest.js +4 -0
  42. package/dist/es/models/api/IHierarchiesAuthorityRemoveRequest.js.map +1 -0
  43. package/dist/es/models/api/IHierarchiesFederationCreateRequest.js +4 -0
  44. package/dist/es/models/api/IHierarchiesFederationCreateRequest.js.map +1 -0
  45. package/dist/es/models/api/IHierarchiesFederationGetRequest.js +4 -0
  46. package/dist/es/models/api/IHierarchiesFederationGetRequest.js.map +1 -0
  47. package/dist/es/models/api/IHierarchiesFederationGetResponse.js +2 -0
  48. package/dist/es/models/api/IHierarchiesFederationGetResponse.js.map +1 -0
  49. package/dist/es/models/api/IHierarchiesPropertiesGetRequest.js +4 -0
  50. package/dist/es/models/api/IHierarchiesPropertiesGetRequest.js.map +1 -0
  51. package/dist/es/models/api/IHierarchiesPropertiesGetResponse.js +2 -0
  52. package/dist/es/models/api/IHierarchiesPropertiesGetResponse.js.map +1 -0
  53. package/dist/es/models/api/IHierarchiesPropertiesValidateRequest.js +2 -0
  54. package/dist/es/models/api/IHierarchiesPropertiesValidateRequest.js.map +1 -0
  55. package/dist/es/models/api/IHierarchiesPropertiesValidateResponse.js +4 -0
  56. package/dist/es/models/api/IHierarchiesPropertiesValidateResponse.js.map +1 -0
  57. package/dist/es/models/api/IHierarchiesPropertyAddRequest.js +2 -0
  58. package/dist/es/models/api/IHierarchiesPropertyAddRequest.js.map +1 -0
  59. package/dist/es/models/api/IHierarchiesPropertyGetRequest.js +4 -0
  60. package/dist/es/models/api/IHierarchiesPropertyGetRequest.js.map +1 -0
  61. package/dist/es/models/api/IHierarchiesPropertyGetResponse.js +2 -0
  62. package/dist/es/models/api/IHierarchiesPropertyGetResponse.js.map +1 -0
  63. package/dist/es/models/api/IHierarchiesPropertyRemoveRequest.js +4 -0
  64. package/dist/es/models/api/IHierarchiesPropertyRemoveRequest.js.map +1 -0
  65. package/dist/es/models/api/IHierarchiesPropertyValidateRequest.js +2 -0
  66. package/dist/es/models/api/IHierarchiesPropertyValidateRequest.js.map +1 -0
  67. package/dist/es/models/api/IHierarchiesPropertyValidateResponse.js +4 -0
  68. package/dist/es/models/api/IHierarchiesPropertyValidateResponse.js.map +1 -0
  69. package/dist/es/models/propertyConstraintType.js +29 -0
  70. package/dist/es/models/propertyConstraintType.js.map +1 -0
  71. package/dist/es/models/propertyType.js +17 -0
  72. package/dist/es/models/propertyType.js.map +1 -0
  73. package/dist/types/factories/hierarchiesConnectorFactory.d.ts +6 -0
  74. package/dist/types/index.d.ts +34 -0
  75. package/dist/types/models/IAccreditation.d.ts +18 -0
  76. package/dist/types/models/IFederation.d.ts +24 -0
  77. package/dist/types/models/IGovernance.d.ts +28 -0
  78. package/dist/types/models/IHierarchiesComponent.d.ts +160 -0
  79. package/dist/types/models/IHierarchiesConnector.d.ts +159 -0
  80. package/dist/types/models/IProperty.d.ts +24 -0
  81. package/dist/types/models/IPropertyCondition.d.ts +19 -0
  82. package/dist/types/models/IPropertyValue.d.ts +14 -0
  83. package/dist/types/models/IRootAuthority.d.ts +13 -0
  84. package/dist/types/models/ITimespan.d.ts +13 -0
  85. package/dist/types/models/api/IHierarchiesAccreditationAddRequest.d.ts +19 -0
  86. package/dist/types/models/api/IHierarchiesAccreditationGetRequest.d.ts +22 -0
  87. package/dist/types/models/api/IHierarchiesAccreditationGetResponse.d.ts +10 -0
  88. package/dist/types/models/api/IHierarchiesAccreditationRemoveRequest.d.ts +22 -0
  89. package/dist/types/models/api/IHierarchiesAccreditationsGetRequest.d.ts +18 -0
  90. package/dist/types/models/api/IHierarchiesAccreditationsGetResponse.d.ts +10 -0
  91. package/dist/types/models/api/IHierarchiesAuthorityAddRequest.d.ts +23 -0
  92. package/dist/types/models/api/IHierarchiesAuthorityRemoveRequest.d.ts +18 -0
  93. package/dist/types/models/api/IHierarchiesFederationCreateRequest.d.ts +18 -0
  94. package/dist/types/models/api/IHierarchiesFederationGetRequest.d.ts +23 -0
  95. package/dist/types/models/api/IHierarchiesFederationGetResponse.d.ts +10 -0
  96. package/dist/types/models/api/IHierarchiesPropertiesGetRequest.d.ts +23 -0
  97. package/dist/types/models/api/IHierarchiesPropertiesGetResponse.d.ts +10 -0
  98. package/dist/types/models/api/IHierarchiesPropertiesValidateRequest.d.ts +30 -0
  99. package/dist/types/models/api/IHierarchiesPropertiesValidateResponse.d.ts +14 -0
  100. package/dist/types/models/api/IHierarchiesPropertyAddRequest.d.ts +19 -0
  101. package/dist/types/models/api/IHierarchiesPropertyGetRequest.d.ts +18 -0
  102. package/dist/types/models/api/IHierarchiesPropertyGetResponse.d.ts +10 -0
  103. package/dist/types/models/api/IHierarchiesPropertyRemoveRequest.d.ts +18 -0
  104. package/dist/types/models/api/IHierarchiesPropertyValidateRequest.d.ts +32 -0
  105. package/dist/types/models/api/IHierarchiesPropertyValidateResponse.d.ts +14 -0
  106. package/dist/types/models/propertyConstraintType.d.ts +29 -0
  107. package/dist/types/models/propertyType.d.ts +17 -0
  108. package/docs/changelog.md +11 -0
  109. package/docs/examples.md +74 -0
  110. package/docs/reference/index.md +46 -0
  111. package/docs/reference/interfaces/IAccreditation.md +27 -0
  112. package/docs/reference/interfaces/IFederation.md +36 -0
  113. package/docs/reference/interfaces/IGovernance.md +44 -0
  114. package/docs/reference/interfaces/IHierarchiesAccreditationAddRequest.md +25 -0
  115. package/docs/reference/interfaces/IHierarchiesAccreditationGetRequest.md +29 -0
  116. package/docs/reference/interfaces/IHierarchiesAccreditationGetResponse.md +11 -0
  117. package/docs/reference/interfaces/IHierarchiesAccreditationRemoveRequest.md +29 -0
  118. package/docs/reference/interfaces/IHierarchiesAccreditationsGetRequest.md +23 -0
  119. package/docs/reference/interfaces/IHierarchiesAccreditationsGetResponse.md +11 -0
  120. package/docs/reference/interfaces/IHierarchiesAuthorityAddRequest.md +31 -0
  121. package/docs/reference/interfaces/IHierarchiesAuthorityRemoveRequest.md +23 -0
  122. package/docs/reference/interfaces/IHierarchiesComponent.md +613 -0
  123. package/docs/reference/interfaces/IHierarchiesConnector.md +607 -0
  124. package/docs/reference/interfaces/IHierarchiesFederationCreateRequest.md +23 -0
  125. package/docs/reference/interfaces/IHierarchiesFederationGetRequest.md +31 -0
  126. package/docs/reference/interfaces/IHierarchiesFederationGetResponse.md +11 -0
  127. package/docs/reference/interfaces/IHierarchiesPropertiesGetRequest.md +31 -0
  128. package/docs/reference/interfaces/IHierarchiesPropertiesGetResponse.md +11 -0
  129. package/docs/reference/interfaces/IHierarchiesPropertiesValidateRequest.md +41 -0
  130. package/docs/reference/interfaces/IHierarchiesPropertiesValidateResponse.md +17 -0
  131. package/docs/reference/interfaces/IHierarchiesPropertyAddRequest.md +25 -0
  132. package/docs/reference/interfaces/IHierarchiesPropertyGetRequest.md +23 -0
  133. package/docs/reference/interfaces/IHierarchiesPropertyGetResponse.md +11 -0
  134. package/docs/reference/interfaces/IHierarchiesPropertyRemoveRequest.md +23 -0
  135. package/docs/reference/interfaces/IHierarchiesPropertyValidateRequest.md +43 -0
  136. package/docs/reference/interfaces/IHierarchiesPropertyValidateResponse.md +17 -0
  137. package/docs/reference/interfaces/IProperty.md +35 -0
  138. package/docs/reference/interfaces/IPropertyCondition.md +27 -0
  139. package/docs/reference/interfaces/IPropertyValue.md +19 -0
  140. package/docs/reference/interfaces/IRootAuthority.md +19 -0
  141. package/docs/reference/interfaces/ITimespan.md +19 -0
  142. package/docs/reference/type-aliases/PropertyConstraintType.md +5 -0
  143. package/docs/reference/type-aliases/PropertyType.md +5 -0
  144. package/docs/reference/variables/HierarchiesConnectorFactory.md +5 -0
  145. package/docs/reference/variables/PropertyConstraintType.md +37 -0
  146. package/docs/reference/variables/PropertyType.md +19 -0
  147. package/locales/en.json +3 -0
  148. package/package.json +53 -0
package/LICENSE ADDED
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright 2024 IOTA Stiftung.
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
package/README.md ADDED
@@ -0,0 +1,17 @@
1
+ # Hierarchies Models
2
+
3
+ The package serves as a foundational component within the Hierarchies repository. Its primary purpose is to define shared interfaces, request and response models, and connector contracts. By doing so, it enables other packages to build upon a consistent and reliable base. This package is integral to ensuring that common functionality is centralised and reusable across the ecosystem.
4
+
5
+ ## Installation
6
+
7
+ ```shell
8
+ npm install @twin.org/hierarchies-models
9
+ ```
10
+
11
+ ## Examples
12
+
13
+ Usage of the APIs is shown in the examples [docs/examples.md](docs/examples.md)
14
+
15
+ ## Changelog
16
+
17
+ The changes between each version can be found in [docs/changelog.md](docs/changelog.md)
@@ -0,0 +1,9 @@
1
+ // Copyright 2026 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ import { Factory } from "@twin.org/core";
4
+ /**
5
+ * Factory for creating hierarchies connectors.
6
+ */
7
+ // eslint-disable-next-line @typescript-eslint/naming-convention
8
+ export const HierarchiesConnectorFactory = Factory.createFactory("hierarchies-connector");
9
+ //# sourceMappingURL=hierarchiesConnectorFactory.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hierarchiesConnectorFactory.js","sourceRoot":"","sources":["../../../src/factories/hierarchiesConnectorFactory.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,2BAA2B,GACvC,OAAO,CAAC,aAAa,CAAwB,uBAAuB,CAAC,CAAC","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport { Factory } from \"@twin.org/core\";\nimport type { IHierarchiesConnector } from \"../models/IHierarchiesConnector.js\";\n\n/**\n * Factory for creating hierarchies connectors.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const HierarchiesConnectorFactory =\n\tFactory.createFactory<IHierarchiesConnector>(\"hierarchies-connector\");\n"]}
@@ -0,0 +1,37 @@
1
+ // Copyright 2026 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ export * from "./factories/hierarchiesConnectorFactory.js";
4
+ export * from "./models/api/IHierarchiesAccreditationAddRequest.js";
5
+ export * from "./models/api/IHierarchiesAccreditationGetRequest.js";
6
+ export * from "./models/api/IHierarchiesAccreditationGetResponse.js";
7
+ export * from "./models/api/IHierarchiesAccreditationRemoveRequest.js";
8
+ export * from "./models/api/IHierarchiesAccreditationsGetRequest.js";
9
+ export * from "./models/api/IHierarchiesAccreditationsGetResponse.js";
10
+ export * from "./models/api/IHierarchiesAuthorityAddRequest.js";
11
+ export * from "./models/api/IHierarchiesAuthorityRemoveRequest.js";
12
+ export * from "./models/api/IHierarchiesFederationCreateRequest.js";
13
+ export * from "./models/api/IHierarchiesFederationGetRequest.js";
14
+ export * from "./models/api/IHierarchiesFederationGetResponse.js";
15
+ export * from "./models/api/IHierarchiesPropertiesGetRequest.js";
16
+ export * from "./models/api/IHierarchiesPropertiesGetResponse.js";
17
+ export * from "./models/api/IHierarchiesPropertiesValidateRequest.js";
18
+ export * from "./models/api/IHierarchiesPropertiesValidateResponse.js";
19
+ export * from "./models/api/IHierarchiesPropertyAddRequest.js";
20
+ export * from "./models/api/IHierarchiesPropertyGetRequest.js";
21
+ export * from "./models/api/IHierarchiesPropertyGetResponse.js";
22
+ export * from "./models/api/IHierarchiesPropertyRemoveRequest.js";
23
+ export * from "./models/api/IHierarchiesPropertyValidateRequest.js";
24
+ export * from "./models/api/IHierarchiesPropertyValidateResponse.js";
25
+ export * from "./models/IAccreditation.js";
26
+ export * from "./models/IFederation.js";
27
+ export * from "./models/IGovernance.js";
28
+ export * from "./models/IHierarchiesComponent.js";
29
+ export * from "./models/IHierarchiesConnector.js";
30
+ export * from "./models/IProperty.js";
31
+ export * from "./models/IPropertyCondition.js";
32
+ export * from "./models/IPropertyValue.js";
33
+ export * from "./models/IRootAuthority.js";
34
+ export * from "./models/ITimespan.js";
35
+ export * from "./models/propertyConstraintType.js";
36
+ export * from "./models/propertyType.js";
37
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,cAAc,4CAA4C,CAAC;AAC3D,cAAc,qDAAqD,CAAC;AACpE,cAAc,qDAAqD,CAAC;AACpE,cAAc,sDAAsD,CAAC;AACrE,cAAc,wDAAwD,CAAC;AACvE,cAAc,sDAAsD,CAAC;AACrE,cAAc,uDAAuD,CAAC;AACtE,cAAc,iDAAiD,CAAC;AAChE,cAAc,oDAAoD,CAAC;AACnE,cAAc,qDAAqD,CAAC;AACpE,cAAc,kDAAkD,CAAC;AACjE,cAAc,mDAAmD,CAAC;AAClE,cAAc,kDAAkD,CAAC;AACjE,cAAc,mDAAmD,CAAC;AAClE,cAAc,uDAAuD,CAAC;AACtE,cAAc,wDAAwD,CAAC;AACvE,cAAc,gDAAgD,CAAC;AAC/D,cAAc,gDAAgD,CAAC;AAC/D,cAAc,iDAAiD,CAAC;AAChE,cAAc,mDAAmD,CAAC;AAClE,cAAc,qDAAqD,CAAC;AACpE,cAAc,sDAAsD,CAAC;AACrE,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mCAAmC,CAAC;AAClD,cAAc,mCAAmC,CAAC;AAClD,cAAc,uBAAuB,CAAC;AACtC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,uBAAuB,CAAC;AACtC,cAAc,oCAAoC,CAAC;AACnD,cAAc,0BAA0B,CAAC","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nexport * from \"./factories/hierarchiesConnectorFactory.js\";\nexport * from \"./models/api/IHierarchiesAccreditationAddRequest.js\";\nexport * from \"./models/api/IHierarchiesAccreditationGetRequest.js\";\nexport * from \"./models/api/IHierarchiesAccreditationGetResponse.js\";\nexport * from \"./models/api/IHierarchiesAccreditationRemoveRequest.js\";\nexport * from \"./models/api/IHierarchiesAccreditationsGetRequest.js\";\nexport * from \"./models/api/IHierarchiesAccreditationsGetResponse.js\";\nexport * from \"./models/api/IHierarchiesAuthorityAddRequest.js\";\nexport * from \"./models/api/IHierarchiesAuthorityRemoveRequest.js\";\nexport * from \"./models/api/IHierarchiesFederationCreateRequest.js\";\nexport * from \"./models/api/IHierarchiesFederationGetRequest.js\";\nexport * from \"./models/api/IHierarchiesFederationGetResponse.js\";\nexport * from \"./models/api/IHierarchiesPropertiesGetRequest.js\";\nexport * from \"./models/api/IHierarchiesPropertiesGetResponse.js\";\nexport * from \"./models/api/IHierarchiesPropertiesValidateRequest.js\";\nexport * from \"./models/api/IHierarchiesPropertiesValidateResponse.js\";\nexport * from \"./models/api/IHierarchiesPropertyAddRequest.js\";\nexport * from \"./models/api/IHierarchiesPropertyGetRequest.js\";\nexport * from \"./models/api/IHierarchiesPropertyGetResponse.js\";\nexport * from \"./models/api/IHierarchiesPropertyRemoveRequest.js\";\nexport * from \"./models/api/IHierarchiesPropertyValidateRequest.js\";\nexport * from \"./models/api/IHierarchiesPropertyValidateResponse.js\";\nexport * from \"./models/IAccreditation.js\";\nexport * from \"./models/IFederation.js\";\nexport * from \"./models/IGovernance.js\";\nexport * from \"./models/IHierarchiesComponent.js\";\nexport * from \"./models/IHierarchiesConnector.js\";\nexport * from \"./models/IProperty.js\";\nexport * from \"./models/IPropertyCondition.js\";\nexport * from \"./models/IPropertyValue.js\";\nexport * from \"./models/IRootAuthority.js\";\nexport * from \"./models/ITimespan.js\";\nexport * from \"./models/propertyConstraintType.js\";\nexport * from \"./models/propertyType.js\";\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IAccreditation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IAccreditation.js","sourceRoot":"","sources":["../../../src/models/IAccreditation.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IProperty } from \"./IProperty.js\";\n\n/**\n * Represents an accreditation, which is a collection of properties granted by an accreditor.\n */\nexport interface IAccreditation {\n\t/**\n\t * Unique identifier for the accreditation.\n\t */\n\tpermissionId: string;\n\n\t/**\n\t * The identifier of the entity that granted the accreditation.\n\t */\n\taccreditedBy: string;\n\n\t/**\n\t * Properties associated with this accreditation.\n\t */\n\tproperties: IProperty[];\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IFederation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IFederation.js","sourceRoot":"","sources":["../../../src/models/IFederation.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IGovernance } from \"../index.js\";\nimport type { IRootAuthority } from \"./IRootAuthority.js\";\n\n/**\n * Represents a federation, which is a group of entities forming a trust hierarchy.\n * Federations define the root authorities and the schema for properties they manage.\n */\nexport interface IFederation {\n\t/**\n\t * Unique identifier for the federation.\n\t */\n\tid: string;\n\n\t/**\n\t * List of root authority IDs associated with this federation.\n\t */\n\trootAuthorities: IRootAuthority[];\n\n\t/**\n\t * Account IDs of root authorities that have been revoked and are no longer trusted.\n\t */\n\trevokedRootAuthorities: string[];\n\n\t/**\n\t * The governance entity that manages accreditations and attestations within the federation.\n\t */\n\tgovernance: IGovernance;\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IGovernance.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IGovernance.js","sourceRoot":"","sources":["../../../src/models/IGovernance.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IAccreditation } from \"./IAccreditation.js\";\nimport type { IProperty } from \"./IProperty.js\";\n\n/**\n * Represents a governance entity in a federation hierarchy.\n * Governance entities are trusted entities that can accredit or revoke delegations.\n */\nexport interface IGovernance {\n\t/**\n\t * Unique identifier for the governance entity.\n\t */\n\tid: string;\n\n\t/**\n\t * Map of accredited-by ID to the list of accreditations that grant the right to accredit others.\n\t */\n\taccreditationsToAccredit: { [id: string]: IAccreditation[] };\n\n\t/**\n\t * Map of accredited-by ID to the list of accreditations that grant the right to attest properties.\n\t */\n\taccreditationsToAttest: { [id: string]: IAccreditation[] };\n\n\t/**\n\t * The set of properties this governance entity covers.\n\t */\n\tproperties: IProperty[];\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IHierarchiesComponent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IHierarchiesComponent.js","sourceRoot":"","sources":["../../../src/models/IHierarchiesComponent.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IComponent } from \"@twin.org/core\";\nimport type { IAccreditation } from \"./IAccreditation.js\";\nimport type { IFederation } from \"./IFederation.js\";\nimport type { IProperty } from \"./IProperty.js\";\nimport type { IPropertyValue } from \"./IPropertyValue.js\";\n\n/**\n * Interface describing a hierarchies component.\n */\nexport interface IHierarchiesComponent extends IComponent {\n\t/**\n\t * Creates a new federation.\n\t * @param rootAuthorities The root authorities to be included in the federation.\n\t * @param namespace The namespace of the connector to use for the federation, defaults to component configured namespace.\n\t * @param controllerIdentity The identity of the controller creating the federation.\n\t * @returns The ID of the created federation.\n\t */\n\tfederationCreate(\n\t\trootAuthorities?: string[],\n\t\tnamespace?: string,\n\t\tcontrollerIdentity?: string\n\t): Promise<string>;\n\n\t/**\n\t * Retrieves a federation by its ID.\n\t * @param federationId The ID of the federation to retrieve.\n\t * @param options Options for retrieving the federation.\n\t * @param options.includeRevokedProperties Whether to include revoked properties in the retrieved federation, defaults to false.\n\t * @returns The federation with the specified ID.\n\t */\n\tfederationGet(\n\t\tfederationId: string,\n\t\toptions?: { includeRevokedProperties?: boolean }\n\t): Promise<IFederation>;\n\n\t/**\n\t * Adds a new authority to an existing federation.\n\t * @param federationId The ID of the federation to which the authority will be added.\n\t * @param accountId The account ID of the authority to be added.\n\t * @param controllerIdentity The identity of the controller adding the authority.\n\t * @returns The id of the authority.\n\t */\n\tauthorityAdd(\n\t\tfederationId: string,\n\t\taccountId: string,\n\t\tcontrollerIdentity?: string\n\t): Promise<string>;\n\n\t/**\n\t * Removes an authority from an existing federation.\n\t * @param federationId The ID of the federation from which the authority will be removed.\n\t * @param accountId The account ID of the authority to be removed.\n\t * @param controllerIdentity The identity of the controller removing the authority.\n\t * @returns A promise that resolves when the authority has been removed.\n\t */\n\tauthorityRemove(\n\t\tfederationId: string,\n\t\taccountId: string,\n\t\tcontrollerIdentity?: string\n\t): Promise<void>;\n\n\t/**\n\t * Adds a new property to an existing federation.\n\t * @param federationId The ID of the federation to which the property will be added.\n\t * @param property The property to be added.\n\t * @param controllerIdentity The identity of the controller adding the property.\n\t * @returns A promise that resolves when the property has been added.\n\t */\n\tpropertyAdd(\n\t\tfederationId: string,\n\t\tproperty: IProperty,\n\t\tcontrollerIdentity?: string\n\t): Promise<void>;\n\n\t/**\n\t * Removes a property from an existing federation.\n\t * @param federationId The ID of the federation from which the property will be removed.\n\t * @param propertyName The name of the property to be removed.\n\t * @param controllerIdentity The identity of the controller removing the property.\n\t * @returns A promise that resolves when the property has been removed.\n\t */\n\tpropertyRemove(\n\t\tfederationId: string,\n\t\tpropertyName: string,\n\t\tcontrollerIdentity?: string\n\t): Promise<void>;\n\n\t/**\n\t * Gets a property from an existing federation.\n\t * @param federationId The ID of the federation from which the property will be retrieved.\n\t * @param propertyName The name of the property to be retrieved.\n\t * @returns A promise that resolves with the property.\n\t */\n\tpropertyGet(federationId: string, propertyName: string): Promise<IProperty>;\n\n\t/**\n\t * Gets all properties from an existing federation.\n\t * @param federationId The ID of the federation from which the properties will be retrieved.\n\t * @param options Options for retrieving the properties.\n\t * @param options.includeRevokedProperties Whether to include revoked properties in the retrieved properties, defaults to false.\n\t * @returns A promise that resolves with the properties.\n\t */\n\tpropertiesGet(\n\t\tfederationId: string,\n\t\toptions?: { includeRevokedProperties?: boolean }\n\t): Promise<IProperty[]>;\n\n\t/**\n\t * Validates property for an existing federation.\n\t * @param federationId The ID of the federation for which the property will be validated.\n\t * @param accreditedById The ID of the entity that granted the accreditation.\n\t * @param propertyName The name of the property to be validated.\n\t * @param propertyValue The value of the property to be validated.\n\t * @returns A promise that resolves with a boolean indicating whether the property is valid.\n\t */\n\tpropertyValidate(\n\t\tfederationId: string,\n\t\taccreditedById: string,\n\t\tpropertyName: string,\n\t\tpropertyValue: IPropertyValue\n\t): Promise<boolean>;\n\n\t/**\n\t * Validates properties for an existing federation.\n\t * @param federationId The ID of the federation for which the properties will be validated.\n\t * @param accreditedById The ID of the entity that granted the accreditations.\n\t * @param propertiesToValidate The properties to be validated.\n\t * @returns A promise that resolves with a boolean indicating whether the properties are valid.\n\t */\n\tpropertiesValidate(\n\t\tfederationId: string,\n\t\taccreditedById: string,\n\t\tpropertiesToValidate: { [propertyName: string]: IPropertyValue }\n\t): Promise<boolean>;\n\n\t/**\n\t * Adds a new accreditation to attest to an existing federation.\n\t * @param federationId The ID of the federation to which the accreditation will be added.\n\t * @param accreditation The accreditation to be added.\n\t * @param controllerIdentity The identity of the controller adding the accreditation.\n\t * @returns The ID of the added accreditation.\n\t */\n\taccreditationToAttestAdd(\n\t\tfederationId: string,\n\t\taccreditation: Omit<IAccreditation, \"permissionId\">,\n\t\tcontrollerIdentity?: string\n\t): Promise<string>;\n\n\t/**\n\t * Removes an accreditation to attest from an existing federation.\n\t * @param federationId The ID of the federation from which the accreditation will be removed.\n\t * @param accreditedById The ID of the entity that granted the accreditation to be removed.\n\t * @param permissionId The ID of the accreditation to be removed.\n\t * @param controllerIdentity The identity of the controller removing the accreditation.\n\t * @returns A promise that resolves when the accreditation has been removed.\n\t */\n\taccreditationToAttestRemove(\n\t\tfederationId: string,\n\t\taccreditedById: string,\n\t\tpermissionId: string,\n\t\tcontrollerIdentity?: string\n\t): Promise<void>;\n\n\t/**\n\t * Get accreditation to attest to an existing federation.\n\t * @param federationId The ID of the federation for which to get the accreditation.\n\t * @param accreditedById The ID of the entity that granted the accreditation.\n\t * @param permissionId The ID of the accreditation to be retrieved.\n\t * @returns A promise that resolves with the accreditation.\n\t */\n\taccreditationToAttestGet(\n\t\tfederationId: string,\n\t\taccreditedById: string,\n\t\tpermissionId: string\n\t): Promise<IAccreditation>;\n\n\t/**\n\t * Gets accreditations to attest to an existing federation.\n\t * @param federationId The ID of the federation for which to get the accreditations.\n\t * @param accreditedById The ID of the entity that granted the accreditations.\n\t * @returns A promise that resolves with the accreditations.\n\t */\n\taccreditationsToAttestGet(\n\t\tfederationId: string,\n\t\taccreditedById: string\n\t): Promise<IAccreditation[]>;\n\n\t/**\n\t * Adds a new accreditation to accredit to an existing federation.\n\t * @param federationId The ID of the federation to which the accreditation will be added.\n\t * @param accreditation The accreditation to be added.\n\t * @param controllerIdentity The identity of the controller adding the accreditation.\n\t * @returns The ID of the added accreditation.\n\t */\n\taccreditationToAccreditAdd(\n\t\tfederationId: string,\n\t\taccreditation: Omit<IAccreditation, \"permissionId\">,\n\t\tcontrollerIdentity?: string\n\t): Promise<string>;\n\n\t/**\n\t * Removes an accreditation to accredit from an existing federation.\n\t * @param federationId The ID of the federation from which the accreditation will be removed.\n\t * @param accreditedById The ID of the entity that granted the accreditation to be removed.\n\t * @param permissionId The ID of the accreditation to be removed.\n\t * @param controllerIdentity The identity of the controller removing the accreditation.\n\t * @returns A promise that resolves when the accreditation has been removed.\n\t */\n\taccreditationToAccreditRemove(\n\t\tfederationId: string,\n\t\taccreditedById: string,\n\t\tpermissionId: string,\n\t\tcontrollerIdentity?: string\n\t): Promise<void>;\n\n\t/**\n\t * Get accreditation to accredit to an existing federation.\n\t * @param federationId The ID of the federation for which to get the accreditation.\n\t * @param accreditedById The ID of the entity that granted the accreditation.\n\t * @param permissionId The ID of the accreditation to be retrieved.\n\t * @returns A promise that resolves with the accreditation.\n\t */\n\taccreditationToAccreditGet(\n\t\tfederationId: string,\n\t\taccreditedById: string,\n\t\tpermissionId: string\n\t): Promise<IAccreditation>;\n\n\t/**\n\t * Gets accreditations to accredit to an existing federation.\n\t * @param federationId The ID of the federation for which to get the accreditations.\n\t * @param accreditedById The ID of the entity that granted the accreditations.\n\t * @returns A promise that resolves with the accreditations.\n\t */\n\taccreditationsToAccreditGet(\n\t\tfederationId: string,\n\t\taccreditedById: string\n\t): Promise<IAccreditation[]>;\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IHierarchiesConnector.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IHierarchiesConnector.js","sourceRoot":"","sources":["../../../src/models/IHierarchiesConnector.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IComponent } from \"@twin.org/core\";\nimport type { IAccreditation } from \"./IAccreditation.js\";\nimport type { IFederation } from \"./IFederation.js\";\nimport type { IProperty } from \"./IProperty.js\";\nimport type { IPropertyValue } from \"./IPropertyValue.js\";\n\n/**\n * Interface describing a hierarchies connector.\n */\nexport interface IHierarchiesConnector extends IComponent {\n\t/**\n\t * Creates a new federation.\n\t * @param controllerIdentity The identity of the controller creating the federation.\n\t * @param rootAuthorities The root authorities to be included in the federation.\n\t * @returns The ID of the created federation.\n\t */\n\tfederationCreate(controllerIdentity: string, rootAuthorities?: string[]): Promise<string>;\n\n\t/**\n\t * Retrieves a federation by its ID.\n\t * @param federationId The ID of the federation to retrieve.\n\t * @param options Options for retrieving the federation.\n\t * @param options.includeRevokedProperties Whether to include revoked properties in the retrieved federation, defaults to false.\n\t * @returns The federation with the specified ID.\n\t */\n\tfederationGet(\n\t\tfederationId: string,\n\t\toptions?: { includeRevokedProperties?: boolean }\n\t): Promise<IFederation>;\n\n\t/**\n\t * Adds a new authority to an existing federation.\n\t * @param controllerIdentity The identity of the controller adding the authority.\n\t * @param federationId The ID of the federation to which the authority will be added.\n\t * @param accountId The account ID of the authority to be added.\n\t * @returns The id of the authority.\n\t */\n\tauthorityAdd(\n\t\tcontrollerIdentity: string,\n\t\tfederationId: string,\n\t\taccountId: string\n\t): Promise<string>;\n\n\t/**\n\t * Removes an authority from an existing federation.\n\t * @param controllerIdentity The identity of the controller removing the authority.\n\t * @param federationId The ID of the federation from which the authority will be removed.\n\t * @param accountId The account ID of the authority to be removed.\n\t * @returns A promise that resolves when the authority has been removed.\n\t */\n\tauthorityRemove(\n\t\tcontrollerIdentity: string,\n\t\tfederationId: string,\n\t\taccountId: string\n\t): Promise<void>;\n\n\t/**\n\t * Adds a new property to an existing federation.\n\t * @param controllerIdentity The identity of the controller adding the property.\n\t * @param federationId The ID of the federation to which the property will be added.\n\t * @param property The property to be added.\n\t * @returns A promise that resolves when the property has been added.\n\t */\n\tpropertyAdd(controllerIdentity: string, federationId: string, property: IProperty): Promise<void>;\n\n\t/**\n\t * Removes a property from an existing federation.\n\t * @param controllerIdentity The identity of the controller removing the property.\n\t * @param federationId The ID of the federation from which the property will be removed.\n\t * @param propertyName The name of the property to be removed.\n\t * @returns A promise that resolves when the property has been removed.\n\t */\n\tpropertyRemove(\n\t\tcontrollerIdentity: string,\n\t\tfederationId: string,\n\t\tpropertyName: string\n\t): Promise<void>;\n\n\t/**\n\t * Gets a property from an existing federation.\n\t * @param federationId The ID of the federation from which the property will be retrieved.\n\t * @param propertyName The name of the property to be retrieved.\n\t * @returns A promise that resolves with the property.\n\t */\n\tpropertyGet(federationId: string, propertyName: string): Promise<IProperty>;\n\n\t/**\n\t * Gets all properties from an existing federation.\n\t * @param federationId The ID of the federation from which the properties will be retrieved.\n\t * @param options Options for retrieving the properties.\n\t * @param options.includeRevokedProperties Whether to include revoked properties in the retrieved properties, defaults to false.\n\t * @returns A promise that resolves with the properties.\n\t */\n\tpropertiesGet(\n\t\tfederationId: string,\n\t\toptions?: { includeRevokedProperties?: boolean }\n\t): Promise<IProperty[]>;\n\n\t/**\n\t * Validates property for an existing federation.\n\t * @param federationId The ID of the federation for which the property will be validated.\n\t * @param accreditedById The ID of the entity that granted the accreditation.\n\t * @param propertyName The name of the property to be validated.\n\t * @param propertyValue The value of the property to be validated.\n\t * @returns A promise that resolves with a boolean indicating whether the property is valid.\n\t */\n\tpropertyValidate(\n\t\tfederationId: string,\n\t\taccreditedById: string,\n\t\tpropertyName: string,\n\t\tpropertyValue: IPropertyValue\n\t): Promise<boolean>;\n\n\t/**\n\t * Validates properties for an existing federation.\n\t * @param federationId The ID of the federation for which the properties will be validated.\n\t * @param accreditedById The ID of the entity that granted the accreditations.\n\t * @param propertiesToValidate The properties to be validated.\n\t * @returns A promise that resolves with a boolean indicating whether the properties are valid.\n\t */\n\tpropertiesValidate(\n\t\tfederationId: string,\n\t\taccreditedById: string,\n\t\tpropertiesToValidate: { [propertyName: string]: IPropertyValue }\n\t): Promise<boolean>;\n\n\t/**\n\t * Adds a new accreditation to attest to an existing federation.\n\t * @param controllerIdentity The identity of the controller adding the accreditation.\n\t * @param federationId The ID of the federation to which the accreditation will be added.\n\t * @param accreditation The accreditation to be added.\n\t * @returns The ID of the added accreditation.\n\t */\n\taccreditationToAttestAdd(\n\t\tcontrollerIdentity: string,\n\t\tfederationId: string,\n\t\taccreditation: Omit<IAccreditation, \"permissionId\">\n\t): Promise<string>;\n\n\t/**\n\t * Removes an accreditation to attest from an existing federation.\n\t * @param controllerIdentity The identity of the controller removing the accreditation.\n\t * @param federationId The ID of the federation from which the accreditation will be removed.\n\t * @param accreditedById The ID of the entity that granted the accreditation to be removed.\n\t * @param permissionId The ID of the accreditation to be removed.\n\t * @returns A promise that resolves when the accreditation has been removed.\n\t */\n\taccreditationToAttestRemove(\n\t\tcontrollerIdentity: string,\n\t\tfederationId: string,\n\t\taccreditedById: string,\n\t\tpermissionId: string\n\t): Promise<void>;\n\n\t/**\n\t * Get accreditation to attest to an existing federation.\n\t * @param federationId The ID of the federation for which to get the accreditation.\n\t * @param accreditedById The ID of the entity that granted the accreditation.\n\t * @param permissionId The ID of the accreditation to be retrieved.\n\t * @returns A promise that resolves with the accreditation.\n\t */\n\taccreditationToAttestGet(\n\t\tfederationId: string,\n\t\taccreditedById: string,\n\t\tpermissionId: string\n\t): Promise<IAccreditation>;\n\n\t/**\n\t * Gets accreditations to attest to an existing federation.\n\t * @param federationId The ID of the federation for which to get the accreditations.\n\t * @param accreditedById The ID of the entity that granted the accreditations.\n\t * @returns A promise that resolves with the accreditations.\n\t */\n\taccreditationsToAttestGet(\n\t\tfederationId: string,\n\t\taccreditedById: string\n\t): Promise<IAccreditation[]>;\n\n\t/**\n\t * Adds a new accreditation to accredit to an existing federation.\n\t * @param controllerIdentity The identity of the controller adding the accreditation.\n\t * @param federationId The ID of the federation to which the accreditation will be added.\n\t * @param accreditation The accreditation to be added.\n\t * @returns The ID of the added accreditation.\n\t */\n\taccreditationToAccreditAdd(\n\t\tcontrollerIdentity: string,\n\t\tfederationId: string,\n\t\taccreditation: Omit<IAccreditation, \"permissionId\">\n\t): Promise<string>;\n\n\t/**\n\t * Removes an accreditation to accredit from an existing federation.\n\t * @param controllerIdentity The identity of the controller removing the accreditation.\n\t * @param federationId The ID of the federation from which the accreditation will be removed.\n\t * @param accreditedById The ID of the entity that granted the accreditation to be removed.\n\t * @param permissionId The ID of the accreditation to be removed.\n\t * @returns A promise that resolves when the accreditation has been removed.\n\t */\n\taccreditationToAccreditRemove(\n\t\tcontrollerIdentity: string,\n\t\tfederationId: string,\n\t\taccreditedById: string,\n\t\tpermissionId: string\n\t): Promise<void>;\n\n\t/**\n\t * Get accreditation to accredit to an existing federation.\n\t * @param federationId The ID of the federation for which to get the accreditation.\n\t * @param accreditedById The ID of the entity that granted the accreditation.\n\t * @param permissionId The ID of the accreditation to be retrieved.\n\t * @returns A promise that resolves with the accreditation.\n\t */\n\taccreditationToAccreditGet(\n\t\tfederationId: string,\n\t\taccreditedById: string,\n\t\tpermissionId: string\n\t): Promise<IAccreditation>;\n\n\t/**\n\t * Gets accreditations to accredit to an existing federation.\n\t * @param federationId The ID of the federation for which to get the accreditations.\n\t * @param accreditedById The ID of the entity that granted the accreditations.\n\t * @returns A promise that resolves with the accreditations.\n\t */\n\taccreditationsToAccreditGet(\n\t\tfederationId: string,\n\t\taccreditedById: string\n\t): Promise<IAccreditation[]>;\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IProperty.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IProperty.js","sourceRoot":"","sources":["../../../src/models/IProperty.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IPropertyValue } from \"../index.js\";\nimport type { IPropertyCondition } from \"./IPropertyCondition.js\";\nimport type { ITimespan } from \"./ITimespan.js\";\n\n/**\n * Represents a named property with optional allowed values, a condition, and a validity timespan.\n */\nexport interface IProperty {\n\t/**\n\t * The property name, can be dotted form.\n\t */\n\tname: string;\n\n\t/**\n\t * The allowed values for this property, if empty, any value is allowed.\n\t */\n\tallowedValues?: IPropertyValue[];\n\n\t/**\n\t * The condition for this property.\n\t */\n\tcondition?: IPropertyCondition;\n\n\t/**\n\t * The timespan for this property.\n\t */\n\ttimespan?: ITimespan;\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IPropertyCondition.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IPropertyCondition.js","sourceRoot":"","sources":["../../../src/models/IPropertyCondition.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { PropertyConstraintType } from \"./propertyConstraintType.js\";\nimport type { PropertyType } from \"./propertyType.js\";\n\n/**\n * Describes the condition and constraints of a property within a hierarchy.\n */\nexport interface IPropertyCondition {\n\t/**\n\t * The property type.\n\t */\n\ttype: PropertyType;\n\n\t/**\n\t * The property value.\n\t */\n\tvalue: string;\n\n\t/**\n\t * The constraint for this property.\n\t */\n\tconstraint?: PropertyConstraintType;\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IPropertyValue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IPropertyValue.js","sourceRoot":"","sources":["../../../src/models/IPropertyValue.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { PropertyType } from \"./propertyType.js\";\n\n/**\n * Describes the value of a property.\n */\nexport interface IPropertyValue {\n\t/**\n\t * The property type.\n\t */\n\ttype: PropertyType;\n\n\t/**\n\t * The property value.\n\t */\n\tvalue: string;\n}\n"]}
@@ -0,0 +1,4 @@
1
+ // Copyright 2026 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ export {};
4
+ //# sourceMappingURL=IRootAuthority.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IRootAuthority.js","sourceRoot":"","sources":["../../../src/models/IRootAuthority.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Represents a root authority in a federation hierarchy.\n */\nexport interface IRootAuthority {\n\t/**\n\t * The ID of the root authority.\n\t */\n\tid: string;\n\n\t/**\n\t * The account ID of the root authority.\n\t */\n\taccountId: string;\n}\n"]}
@@ -0,0 +1,4 @@
1
+ // Copyright 2026 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ export {};
4
+ //# sourceMappingURL=ITimespan.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ITimespan.js","sourceRoot":"","sources":["../../../src/models/ITimespan.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Represents a timespan in a federation hierarchy.\n */\nexport interface ITimespan {\n\t/**\n\t * Valid from as bigint string so it can be serialized accurately.\n\t */\n\tvalidFrom?: string;\n\n\t/**\n\t * Valid to as bigint string so it can be serialized accurately.\n\t */\n\tvalidTo?: string;\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IHierarchiesAccreditationAddRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IHierarchiesAccreditationAddRequest.js","sourceRoot":"","sources":["../../../../src/models/api/IHierarchiesAccreditationAddRequest.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IAccreditation } from \"../IAccreditation.js\";\n\n/**\n * Request to add an accreditation to a federation.\n */\nexport interface IHierarchiesAccreditationAddRequest {\n\t/**\n\t * The request path parameters.\n\t */\n\tpathParams: {\n\t\t/**\n\t\t * The id of the federation.\n\t\t */\n\t\tfederationId: string;\n\t};\n\t/**\n\t * The request data.\n\t */\n\tbody: Omit<IAccreditation, \"permissionId\">;\n}\n"]}
@@ -0,0 +1,4 @@
1
+ // Copyright 2026 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ export {};
4
+ //# sourceMappingURL=IHierarchiesAccreditationGetRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IHierarchiesAccreditationGetRequest.js","sourceRoot":"","sources":["../../../../src/models/api/IHierarchiesAccreditationGetRequest.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Request to get federation accreditation.\n */\nexport interface IHierarchiesAccreditationGetRequest {\n\t/**\n\t * The request path parameters.\n\t */\n\tpathParams: {\n\t\t/**\n\t\t * The id of the federation to get.\n\t\t */\n\t\tfederationId: string;\n\n\t\t/**\n\t\t * The id of the authority for which to get the accreditation.\n\t\t */\n\t\taccreditedById: string;\n\n\t\t/**\n\t\t * The id of the permission for which to get the accreditation.\n\t\t */\n\t\tpermissionId: string;\n\t};\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IHierarchiesAccreditationGetResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IHierarchiesAccreditationGetResponse.js","sourceRoot":"","sources":["../../../../src/models/api/IHierarchiesAccreditationGetResponse.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IAccreditation } from \"../IAccreditation.js\";\n\n/**\n * Response for getting an accreditation.\n */\nexport interface IHierarchiesAccreditationGetResponse {\n\t/**\n\t * The response body.\n\t */\n\tbody: IAccreditation;\n}\n"]}
@@ -0,0 +1,4 @@
1
+ // Copyright 2026 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ export {};
4
+ //# sourceMappingURL=IHierarchiesAccreditationRemoveRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IHierarchiesAccreditationRemoveRequest.js","sourceRoot":"","sources":["../../../../src/models/api/IHierarchiesAccreditationRemoveRequest.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Request to remove an accreditation from a federation.\n */\nexport interface IHierarchiesAccreditationRemoveRequest {\n\t/**\n\t * The request path parameters.\n\t */\n\tpathParams: {\n\t\t/**\n\t\t * The id of the federation.\n\t\t */\n\t\tfederationId: string;\n\t\t/**\n\t\t * The accredited by id.\n\t\t */\n\t\taccreditedById: string;\n\t\t/**\n\t\t * The permission id of the accreditation to remove.\n\t\t */\n\t\tpermissionId: string;\n\t};\n}\n"]}
@@ -0,0 +1,4 @@
1
+ // Copyright 2026 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ export {};
4
+ //# sourceMappingURL=IHierarchiesAccreditationsGetRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IHierarchiesAccreditationsGetRequest.js","sourceRoot":"","sources":["../../../../src/models/api/IHierarchiesAccreditationsGetRequest.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Request to get federation accreditations.\n */\nexport interface IHierarchiesAccreditationsGetRequest {\n\t/**\n\t * The request path parameters.\n\t */\n\tpathParams: {\n\t\t/**\n\t\t * The id of the federation to get.\n\t\t */\n\t\tfederationId: string;\n\n\t\t/**\n\t\t * The id of the authority for which to get the accreditations.\n\t\t */\n\t\taccreditedById: string;\n\t};\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IHierarchiesAccreditationsGetResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IHierarchiesAccreditationsGetResponse.js","sourceRoot":"","sources":["../../../../src/models/api/IHierarchiesAccreditationsGetResponse.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IAccreditation } from \"../IAccreditation.js\";\n\n/**\n * Response for getting accreditations.\n */\nexport interface IHierarchiesAccreditationsGetResponse {\n\t/**\n\t * The response body.\n\t */\n\tbody: IAccreditation[];\n}\n"]}
@@ -0,0 +1,4 @@
1
+ // Copyright 2026 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ export {};
4
+ //# sourceMappingURL=IHierarchiesAuthorityAddRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IHierarchiesAuthorityAddRequest.js","sourceRoot":"","sources":["../../../../src/models/api/IHierarchiesAuthorityAddRequest.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Request to add an authority to a federation.\n */\nexport interface IHierarchiesAuthorityAddRequest {\n\t/**\n\t * The request path parameters.\n\t */\n\tpathParams: {\n\t\t/**\n\t\t * The id of the federation.\n\t\t */\n\t\tfederationId: string;\n\t};\n\t/**\n\t * The request data.\n\t */\n\tbody: {\n\t\t/**\n\t\t * The account id of the authority to add.\n\t\t */\n\t\taccountId: string;\n\t};\n}\n"]}
@@ -0,0 +1,4 @@
1
+ // Copyright 2026 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ export {};
4
+ //# sourceMappingURL=IHierarchiesAuthorityRemoveRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IHierarchiesAuthorityRemoveRequest.js","sourceRoot":"","sources":["../../../../src/models/api/IHierarchiesAuthorityRemoveRequest.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Request to remove an authority from a federation.\n */\nexport interface IHierarchiesAuthorityRemoveRequest {\n\t/**\n\t * The request path parameters.\n\t */\n\tpathParams: {\n\t\t/**\n\t\t * The id of the federation.\n\t\t */\n\t\tfederationId: string;\n\t\t/**\n\t\t * The account id of the authority to remove.\n\t\t */\n\t\taccountId: string;\n\t};\n}\n"]}
@@ -0,0 +1,4 @@
1
+ // Copyright 2026 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ export {};
4
+ //# sourceMappingURL=IHierarchiesFederationCreateRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IHierarchiesFederationCreateRequest.js","sourceRoot":"","sources":["../../../../src/models/api/IHierarchiesFederationCreateRequest.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Request to create a federation.\n */\nexport interface IHierarchiesFederationCreateRequest {\n\t/**\n\t * The request data.\n\t */\n\tbody: {\n\t\t/**\n\t\t * The root authorities to be included in the federation.\n\t\t */\n\t\trootAuthorities?: string[];\n\n\t\t/**\n\t\t * The namespace of the connector to use for the federation, defaults to component configured namespace.\n\t\t */\n\t\tnamespace?: string;\n\t};\n}\n"]}
@@ -0,0 +1,4 @@
1
+ // Copyright 2026 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ export {};
4
+ //# sourceMappingURL=IHierarchiesFederationGetRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IHierarchiesFederationGetRequest.js","sourceRoot":"","sources":["../../../../src/models/api/IHierarchiesFederationGetRequest.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Request to get a federation.\n */\nexport interface IHierarchiesFederationGetRequest {\n\t/**\n\t * The request path parameters.\n\t */\n\tpathParams: {\n\t\t/**\n\t\t * The id of the federation to get.\n\t\t */\n\t\tfederationId: string;\n\t};\n\n\t/**\n\t * The request query parameters.\n\t */\n\tquery?: {\n\t\t/**\n\t\t * Whether to include revoked properties in the retrieved federation, defaults to false.\n\t\t */\n\t\tincludeRevokedProperties?: string;\n\t};\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IHierarchiesFederationGetResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IHierarchiesFederationGetResponse.js","sourceRoot":"","sources":["../../../../src/models/api/IHierarchiesFederationGetResponse.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IFederation } from \"../IFederation.js\";\n\n/**\n * Response for getting a federation.\n */\nexport interface IHierarchiesFederationGetResponse {\n\t/**\n\t * The response body.\n\t */\n\tbody: IFederation;\n}\n"]}
@@ -0,0 +1,4 @@
1
+ // Copyright 2026 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ export {};
4
+ //# sourceMappingURL=IHierarchiesPropertiesGetRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IHierarchiesPropertiesGetRequest.js","sourceRoot":"","sources":["../../../../src/models/api/IHierarchiesPropertiesGetRequest.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Request to get federation properties.\n */\nexport interface IHierarchiesPropertiesGetRequest {\n\t/**\n\t * The request path parameters.\n\t */\n\tpathParams: {\n\t\t/**\n\t\t * The id of the federation to get.\n\t\t */\n\t\tfederationId: string;\n\t};\n\n\t/**\n\t * The request query parameters.\n\t */\n\tquery?: {\n\t\t/**\n\t\t * Whether to include revoked properties in the retrieved federation, defaults to false.\n\t\t */\n\t\tincludeRevokedProperties?: string;\n\t};\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IHierarchiesPropertiesGetResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IHierarchiesPropertiesGetResponse.js","sourceRoot":"","sources":["../../../../src/models/api/IHierarchiesPropertiesGetResponse.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IProperty } from \"../IProperty.js\";\n\n/**\n * Response for getting properties.\n */\nexport interface IHierarchiesPropertiesGetResponse {\n\t/**\n\t * The response body.\n\t */\n\tbody: IProperty[];\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IHierarchiesPropertiesValidateRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IHierarchiesPropertiesValidateRequest.js","sourceRoot":"","sources":["../../../../src/models/api/IHierarchiesPropertiesValidateRequest.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IPropertyValue } from \"../IPropertyValue.js\";\n\n/**\n * Request to validate properties for a federation.\n */\nexport interface IHierarchiesPropertiesValidateRequest {\n\t/**\n\t * The request path parameters.\n\t */\n\tpathParams: {\n\t\t/**\n\t\t * The id of the federation.\n\t\t */\n\t\tfederationId: string;\n\t};\n\n\t/**\n\t * The request data.\n\t */\n\tbody: {\n\t\t/**\n\t\t * The accredited by id.\n\t\t */\n\t\taccreditedById: string;\n\n\t\t/**\n\t\t * The properties to validate.\n\t\t */\n\t\tpropertiesToValidate: { [propertyName: string]: IPropertyValue };\n\t};\n}\n"]}
@@ -0,0 +1,4 @@
1
+ // Copyright 2026 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ export {};
4
+ //# sourceMappingURL=IHierarchiesPropertiesValidateResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IHierarchiesPropertiesValidateResponse.js","sourceRoot":"","sources":["../../../../src/models/api/IHierarchiesPropertiesValidateResponse.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Response for properties validation.\n */\nexport interface IHierarchiesPropertiesValidateResponse {\n\t/**\n\t * The response body.\n\t */\n\tbody: {\n\t\t/**\n\t\t * Whether all provided properties are valid.\n\t\t */\n\t\tvalid: boolean;\n\t};\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IHierarchiesPropertyAddRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IHierarchiesPropertyAddRequest.js","sourceRoot":"","sources":["../../../../src/models/api/IHierarchiesPropertyAddRequest.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IProperty } from \"../IProperty.js\";\n\n/**\n * Request to add a property to a federation.\n */\nexport interface IHierarchiesPropertyAddRequest {\n\t/**\n\t * The request path parameters.\n\t */\n\tpathParams: {\n\t\t/**\n\t\t * The id of the federation.\n\t\t */\n\t\tfederationId: string;\n\t};\n\t/**\n\t * The request data.\n\t */\n\tbody: IProperty;\n}\n"]}
@@ -0,0 +1,4 @@
1
+ // Copyright 2026 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ export {};
4
+ //# sourceMappingURL=IHierarchiesPropertyGetRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IHierarchiesPropertyGetRequest.js","sourceRoot":"","sources":["../../../../src/models/api/IHierarchiesPropertyGetRequest.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Request to get a property from a federation.\n */\nexport interface IHierarchiesPropertyGetRequest {\n\t/**\n\t * The request path parameters.\n\t */\n\tpathParams: {\n\t\t/**\n\t\t * The id of the federation.\n\t\t */\n\t\tfederationId: string;\n\n\t\t/**\n\t\t * The property name to get.\n\t\t */\n\t\tpropertyName: string;\n\t};\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IHierarchiesPropertyGetResponse.js.map