@nmshd/content 2.0.0-alpha.4 → 2.0.0-alpha.40

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 (404) hide show
  1. package/dist/ContentJSON.d.ts +2 -1
  2. package/dist/attributes/AbstractAttribute.d.ts +17 -0
  3. package/dist/attributes/{types/name/Title.js → AbstractAttribute.js} +19 -12
  4. package/dist/attributes/AbstractAttribute.js.map +1 -0
  5. package/dist/attributes/AbstractAttributeQuery.d.ts +17 -0
  6. package/dist/attributes/{AttributeQuery.js → AbstractAttributeQuery.js} +14 -22
  7. package/dist/attributes/AbstractAttributeQuery.js.map +1 -0
  8. package/dist/attributes/AbstractAttributeValue.d.ts +11 -3
  9. package/dist/attributes/AbstractAttributeValue.js +12 -0
  10. package/dist/attributes/AbstractAttributeValue.js.map +1 -1
  11. package/dist/attributes/AbstractComplexValue.d.ts +7 -0
  12. package/dist/attributes/AbstractComplexValue.js +8 -0
  13. package/dist/attributes/AbstractComplexValue.js.map +1 -0
  14. package/dist/attributes/Attribute.d.ts +9 -11
  15. package/dist/attributes/Attribute.js +29 -17
  16. package/dist/attributes/Attribute.js.map +1 -1
  17. package/dist/attributes/IdentityAttribute.d.ts +16 -0
  18. package/dist/attributes/IdentityAttribute.js +38 -0
  19. package/dist/attributes/IdentityAttribute.js.map +1 -0
  20. package/dist/attributes/IdentityAttributeQuery.d.ts +12 -0
  21. package/dist/attributes/IdentityAttributeQuery.js +32 -0
  22. package/dist/attributes/IdentityAttributeQuery.js.map +1 -0
  23. package/dist/attributes/RelationshipAttribute.d.ts +53 -0
  24. package/dist/attributes/RelationshipAttribute.js +88 -0
  25. package/dist/attributes/RelationshipAttribute.js.map +1 -0
  26. package/dist/attributes/RelationshipAttributeQuery.d.ts +23 -0
  27. package/dist/attributes/RelationshipAttributeQuery.js +49 -0
  28. package/dist/attributes/RelationshipAttributeQuery.js.map +1 -0
  29. package/dist/attributes/constants/CountriesAlpha2.d.ts +252 -0
  30. package/dist/attributes/constants/CountriesAlpha2.js +507 -0
  31. package/dist/attributes/constants/CountriesAlpha2.js.map +1 -0
  32. package/dist/attributes/constants/LanguagesISO639.d.ts +191 -0
  33. package/dist/attributes/constants/LanguagesISO639.js +377 -0
  34. package/dist/attributes/constants/LanguagesISO639.js.map +1 -0
  35. package/dist/attributes/constants/index.d.ts +2 -0
  36. package/dist/attributes/{types/idcard → constants}/index.js +2 -4
  37. package/dist/attributes/constants/index.js.map +1 -0
  38. package/dist/attributes/hints/RelationshipAttributeCreationHints.d.ts +31 -0
  39. package/dist/attributes/hints/RelationshipAttributeCreationHints.js +64 -0
  40. package/dist/attributes/hints/RelationshipAttributeCreationHints.js.map +1 -0
  41. package/dist/attributes/hints/RenderHints.d.ts +73 -0
  42. package/dist/attributes/hints/RenderHints.js +112 -0
  43. package/dist/attributes/hints/RenderHints.js.map +1 -0
  44. package/dist/attributes/hints/ValueHints.d.ts +44 -0
  45. package/dist/attributes/hints/ValueHints.js +104 -0
  46. package/dist/attributes/hints/ValueHints.js.map +1 -0
  47. package/dist/attributes/hints/ValueHintsValue.d.ts +14 -0
  48. package/dist/{authorizations/Authorization.js → attributes/hints/ValueHintsValue.js} +13 -14
  49. package/dist/attributes/hints/ValueHintsValue.js.map +1 -0
  50. package/dist/attributes/hints/index.d.ts +4 -0
  51. package/dist/attributes/hints/index.js +21 -0
  52. package/dist/attributes/hints/index.js.map +1 -0
  53. package/dist/attributes/index.d.ts +9 -1
  54. package/dist/attributes/index.js +9 -1
  55. package/dist/attributes/index.js.map +1 -1
  56. package/dist/attributes/types/AbstractBoolean.d.ts +16 -0
  57. package/dist/attributes/types/AbstractBoolean.js +41 -0
  58. package/dist/attributes/types/AbstractBoolean.js.map +1 -0
  59. package/dist/attributes/types/AbstractFloat.d.ts +16 -0
  60. package/dist/attributes/types/AbstractFloat.js +41 -0
  61. package/dist/attributes/types/AbstractFloat.js.map +1 -0
  62. package/dist/attributes/types/AbstractInteger.d.ts +17 -0
  63. package/dist/attributes/types/AbstractInteger.js +44 -0
  64. package/dist/attributes/types/AbstractInteger.js.map +1 -0
  65. package/dist/attributes/types/AbstractString.d.ts +16 -0
  66. package/dist/attributes/types/AbstractString.js +43 -0
  67. package/dist/attributes/types/AbstractString.js.map +1 -0
  68. package/dist/attributes/types/address/AbstractAddress.d.ts +8 -2
  69. package/dist/attributes/types/address/AbstractAddress.js +2 -2
  70. package/dist/attributes/types/address/AbstractAddress.js.map +1 -1
  71. package/dist/attributes/types/address/City.d.ts +2 -3
  72. package/dist/attributes/types/address/City.js +2 -10
  73. package/dist/attributes/types/address/City.js.map +1 -1
  74. package/dist/attributes/types/address/Country.d.ts +2 -3
  75. package/dist/attributes/types/address/Country.js +2 -10
  76. package/dist/attributes/types/address/Country.js.map +1 -1
  77. package/dist/attributes/types/address/DeliveryBoxAddress.d.ts +25 -2
  78. package/dist/attributes/types/address/DeliveryBoxAddress.js +31 -4
  79. package/dist/attributes/types/address/DeliveryBoxAddress.js.map +1 -1
  80. package/dist/attributes/types/address/HouseNumber.d.ts +2 -3
  81. package/dist/attributes/types/address/HouseNumber.js +2 -10
  82. package/dist/attributes/types/address/HouseNumber.js.map +1 -1
  83. package/dist/attributes/types/address/PostOfficeBoxAddress.d.ts +19 -2
  84. package/dist/attributes/types/address/PostOfficeBoxAddress.js +21 -4
  85. package/dist/attributes/types/address/PostOfficeBoxAddress.js.map +1 -1
  86. package/dist/attributes/types/address/State.d.ts +2 -3
  87. package/dist/attributes/types/address/State.js +2 -10
  88. package/dist/attributes/types/address/State.js.map +1 -1
  89. package/dist/attributes/types/address/Street.d.ts +2 -3
  90. package/dist/attributes/types/address/Street.js +2 -10
  91. package/dist/attributes/types/address/Street.js.map +1 -1
  92. package/dist/attributes/types/address/StreetAddress.d.ts +21 -2
  93. package/dist/attributes/types/address/StreetAddress.js +23 -6
  94. package/dist/attributes/types/address/StreetAddress.js.map +1 -1
  95. package/dist/attributes/types/address/ZipCode.d.ts +2 -3
  96. package/dist/attributes/types/address/ZipCode.js +2 -10
  97. package/dist/attributes/types/address/ZipCode.js.map +1 -1
  98. package/dist/attributes/types/birth/BirthDate.d.ts +15 -2
  99. package/dist/attributes/types/birth/BirthDate.js +16 -4
  100. package/dist/attributes/types/birth/BirthDate.js.map +1 -1
  101. package/dist/attributes/types/birth/BirthDay.d.ts +1 -1
  102. package/dist/attributes/types/birth/BirthDay.js +1 -1
  103. package/dist/attributes/types/birth/BirthDay.js.map +1 -1
  104. package/dist/attributes/types/birth/BirthMonth.d.ts +3 -1
  105. package/dist/attributes/types/birth/BirthMonth.js +6 -1
  106. package/dist/attributes/types/birth/BirthMonth.js.map +1 -1
  107. package/dist/attributes/types/birth/BirthPlace.d.ts +16 -3
  108. package/dist/attributes/types/birth/BirthPlace.js +17 -5
  109. package/dist/attributes/types/birth/BirthPlace.js.map +1 -1
  110. package/dist/attributes/types/birth/BirthYear.d.ts +1 -1
  111. package/dist/attributes/types/birth/BirthYear.js +1 -1
  112. package/dist/attributes/types/birth/BirthYear.js.map +1 -1
  113. package/dist/attributes/types/communication/CommunicationLanguage.d.ts +3 -0
  114. package/dist/attributes/types/communication/CommunicationLanguage.js +18 -0
  115. package/dist/attributes/types/communication/CommunicationLanguage.js.map +1 -0
  116. package/dist/attributes/types/communication/EMailAddress.d.ts +3 -0
  117. package/dist/{relationships/RelationshipExistsAction.js → attributes/types/communication/EMailAddress.js} +8 -7
  118. package/dist/attributes/types/communication/EMailAddress.js.map +1 -0
  119. package/dist/attributes/types/communication/Fax.d.ts +3 -0
  120. package/dist/attributes/types/communication/Fax.js +18 -0
  121. package/dist/attributes/types/communication/Fax.js.map +1 -0
  122. package/dist/attributes/types/communication/Phone.d.ts +3 -0
  123. package/dist/attributes/types/communication/Phone.js +18 -0
  124. package/dist/attributes/types/communication/Phone.js.map +1 -0
  125. package/dist/attributes/types/communication/Website.d.ts +3 -0
  126. package/dist/attributes/types/communication/Website.js +18 -0
  127. package/dist/attributes/types/communication/Website.js.map +1 -0
  128. package/dist/attributes/types/communication/index.d.ts +5 -0
  129. package/dist/attributes/types/communication/index.js +22 -0
  130. package/dist/attributes/types/communication/index.js.map +1 -0
  131. package/dist/attributes/types/dates/AbstractDateString.d.ts +8 -0
  132. package/dist/attributes/types/dates/AbstractDateString.js +44 -0
  133. package/dist/attributes/types/dates/AbstractDateString.js.map +1 -0
  134. package/dist/attributes/types/dates/AbstractDay.d.ts +10 -0
  135. package/dist/attributes/types/{AbstractDay.js → dates/AbstractDay.js} +18 -3
  136. package/dist/attributes/types/dates/AbstractDay.js.map +1 -0
  137. package/dist/attributes/types/{AbstractMonth.d.ts → dates/AbstractMonth.d.ts} +6 -2
  138. package/dist/attributes/types/{AbstractMonth.js → dates/AbstractMonth.js} +20 -3
  139. package/dist/attributes/types/dates/AbstractMonth.js.map +1 -0
  140. package/dist/attributes/types/dates/AbstractYear.d.ts +7 -0
  141. package/dist/attributes/types/{AbstractYear.js → dates/AbstractYear.js} +18 -3
  142. package/dist/attributes/types/dates/AbstractYear.js.map +1 -0
  143. package/dist/attributes/types/dates/index.d.ts +4 -0
  144. package/dist/attributes/types/dates/index.js +21 -0
  145. package/dist/attributes/types/dates/index.js.map +1 -0
  146. package/dist/attributes/types/files/FileReference.d.ts +3 -0
  147. package/dist/attributes/types/files/FileReference.js +18 -0
  148. package/dist/attributes/types/files/FileReference.js.map +1 -0
  149. package/dist/attributes/types/files/index.d.ts +1 -0
  150. package/dist/attributes/types/files/index.js +18 -0
  151. package/dist/attributes/types/files/index.js.map +1 -0
  152. package/dist/attributes/types/index.d.ts +11 -1
  153. package/dist/attributes/types/index.js +11 -1
  154. package/dist/attributes/types/index.js.map +1 -1
  155. package/dist/attributes/types/measurements/{LengthMeasurement.d.ts → AbstractLengthMeasurement.d.ts} +1 -1
  156. package/dist/attributes/types/measurements/{LengthMeasurement.js → AbstractLengthMeasurement.js} +6 -9
  157. package/dist/attributes/types/measurements/AbstractLengthMeasurement.js.map +1 -0
  158. package/dist/attributes/types/measurements/AbstractMeasurement.d.ts +11 -2
  159. package/dist/attributes/types/measurements/AbstractMeasurement.js +5 -2
  160. package/dist/attributes/types/measurements/AbstractMeasurement.js.map +1 -1
  161. package/dist/attributes/types/measurements/index.d.ts +2 -1
  162. package/dist/attributes/types/measurements/index.js +2 -1
  163. package/dist/attributes/types/measurements/index.js.map +1 -1
  164. package/dist/attributes/types/name/AbstractLegalName.d.ts +2 -2
  165. package/dist/attributes/types/name/AbstractLegalName.js +4 -4
  166. package/dist/attributes/types/name/AbstractLegalName.js.map +1 -1
  167. package/dist/attributes/types/name/BirthName.d.ts +2 -3
  168. package/dist/attributes/types/name/BirthName.js +2 -10
  169. package/dist/attributes/types/name/BirthName.js.map +1 -1
  170. package/dist/attributes/types/name/DisplayName.d.ts +2 -3
  171. package/dist/attributes/types/name/DisplayName.js +2 -10
  172. package/dist/attributes/types/name/DisplayName.js.map +1 -1
  173. package/dist/attributes/types/name/GivenName.d.ts +2 -3
  174. package/dist/attributes/types/name/GivenName.js +2 -10
  175. package/dist/attributes/types/name/GivenName.js.map +1 -1
  176. package/dist/attributes/types/name/HonorificPrefix.d.ts +3 -0
  177. package/dist/attributes/types/name/HonorificPrefix.js +18 -0
  178. package/dist/attributes/types/name/HonorificPrefix.js.map +1 -0
  179. package/dist/attributes/types/name/HonorificSuffix.d.ts +3 -0
  180. package/dist/attributes/types/name/HonorificSuffix.js +18 -0
  181. package/dist/attributes/types/name/HonorificSuffix.js.map +1 -0
  182. package/dist/attributes/types/name/LegalNameDE.d.ts +21 -2
  183. package/dist/attributes/types/name/LegalNameDE.js +24 -5
  184. package/dist/attributes/types/name/LegalNameDE.js.map +1 -1
  185. package/dist/attributes/types/name/Pseudonym.d.ts +2 -3
  186. package/dist/attributes/types/name/Pseudonym.js +2 -10
  187. package/dist/attributes/types/name/Pseudonym.js.map +1 -1
  188. package/dist/attributes/types/name/Salutation.d.ts +24 -5
  189. package/dist/attributes/types/name/Salutation.js +23 -10
  190. package/dist/attributes/types/name/Salutation.js.map +1 -1
  191. package/dist/attributes/types/name/Surname.d.ts +2 -3
  192. package/dist/attributes/types/name/Surname.js +2 -10
  193. package/dist/attributes/types/name/Surname.js.map +1 -1
  194. package/dist/attributes/types/name/index.d.ts +2 -1
  195. package/dist/attributes/types/name/index.js +2 -1
  196. package/dist/attributes/types/name/index.js.map +1 -1
  197. package/dist/attributes/types/person/Age.d.ts +4 -2
  198. package/dist/attributes/types/person/Age.js +11 -3
  199. package/dist/attributes/types/person/Age.js.map +1 -1
  200. package/dist/attributes/types/person/Citizenship.d.ts +3 -0
  201. package/dist/attributes/types/person/Citizenship.js +18 -0
  202. package/dist/attributes/types/person/Citizenship.js.map +1 -0
  203. package/dist/attributes/types/person/Nationality.d.ts +3 -0
  204. package/dist/attributes/types/person/Nationality.js +18 -0
  205. package/dist/attributes/types/person/Nationality.js.map +1 -0
  206. package/dist/attributes/types/person/Picture.d.ts +3 -0
  207. package/dist/attributes/types/person/Picture.js +18 -0
  208. package/dist/attributes/types/person/Picture.js.map +1 -0
  209. package/dist/attributes/types/person/Sex.d.ts +11 -3
  210. package/dist/attributes/types/person/Sex.js +23 -4
  211. package/dist/attributes/types/person/Sex.js.map +1 -1
  212. package/dist/attributes/types/person/index.d.ts +3 -3
  213. package/dist/attributes/types/person/index.js +3 -3
  214. package/dist/attributes/types/person/index.js.map +1 -1
  215. package/dist/attributes/types/proprietary/ProprietaryBoolean.d.ts +3 -0
  216. package/dist/attributes/types/proprietary/ProprietaryBoolean.js +18 -0
  217. package/dist/attributes/types/proprietary/ProprietaryBoolean.js.map +1 -0
  218. package/dist/attributes/types/proprietary/ProprietaryCountry.d.ts +3 -0
  219. package/dist/attributes/types/proprietary/ProprietaryCountry.js +18 -0
  220. package/dist/attributes/types/proprietary/ProprietaryCountry.js.map +1 -0
  221. package/dist/attributes/types/proprietary/ProprietaryDataURL.d.ts +3 -0
  222. package/dist/attributes/types/proprietary/ProprietaryDataURL.js +18 -0
  223. package/dist/attributes/types/proprietary/ProprietaryDataURL.js.map +1 -0
  224. package/dist/attributes/types/proprietary/ProprietaryEMailAddress.d.ts +3 -0
  225. package/dist/attributes/types/proprietary/ProprietaryEMailAddress.js +18 -0
  226. package/dist/attributes/types/proprietary/ProprietaryEMailAddress.js.map +1 -0
  227. package/dist/attributes/types/proprietary/ProprietaryFileReference.d.ts +3 -0
  228. package/dist/attributes/types/proprietary/ProprietaryFileReference.js +18 -0
  229. package/dist/attributes/types/proprietary/ProprietaryFileReference.js.map +1 -0
  230. package/dist/attributes/types/proprietary/ProprietaryFloat.d.ts +3 -0
  231. package/dist/attributes/types/proprietary/ProprietaryFloat.js +18 -0
  232. package/dist/attributes/types/proprietary/ProprietaryFloat.js.map +1 -0
  233. package/dist/attributes/types/proprietary/ProprietaryHEXColor.d.ts +3 -0
  234. package/dist/attributes/types/proprietary/ProprietaryHEXColor.js +18 -0
  235. package/dist/attributes/types/proprietary/ProprietaryHEXColor.js.map +1 -0
  236. package/dist/attributes/types/proprietary/ProprietaryInteger.d.ts +13 -0
  237. package/dist/attributes/types/proprietary/ProprietaryInteger.js +41 -0
  238. package/dist/attributes/types/proprietary/ProprietaryInteger.js.map +1 -0
  239. package/dist/attributes/types/proprietary/ProprietaryLanguage.d.ts +3 -0
  240. package/dist/attributes/types/proprietary/ProprietaryLanguage.js +18 -0
  241. package/dist/attributes/types/proprietary/ProprietaryLanguage.js.map +1 -0
  242. package/dist/attributes/types/proprietary/ProprietaryPhoneNumber.d.ts +3 -0
  243. package/dist/attributes/types/proprietary/ProprietaryPhoneNumber.js +18 -0
  244. package/dist/attributes/types/proprietary/ProprietaryPhoneNumber.js.map +1 -0
  245. package/dist/attributes/types/proprietary/ProprietaryString.d.ts +3 -0
  246. package/dist/attributes/types/proprietary/ProprietaryString.js +18 -0
  247. package/dist/attributes/types/proprietary/ProprietaryString.js.map +1 -0
  248. package/dist/attributes/types/proprietary/ProprietaryURL.d.ts +3 -0
  249. package/dist/attributes/types/proprietary/ProprietaryURL.js +18 -0
  250. package/dist/attributes/types/proprietary/ProprietaryURL.js.map +1 -0
  251. package/dist/attributes/types/proprietary/index.d.ts +12 -0
  252. package/dist/attributes/types/proprietary/index.js +29 -0
  253. package/dist/attributes/types/proprietary/index.js.map +1 -0
  254. package/dist/attributes/types/strings/AbstractCountry.d.ts +8 -0
  255. package/dist/attributes/types/strings/AbstractCountry.js +40 -0
  256. package/dist/attributes/types/strings/AbstractCountry.js.map +1 -0
  257. package/dist/attributes/types/strings/AbstractDataURL.d.ts +7 -0
  258. package/dist/attributes/types/strings/AbstractDataURL.js +40 -0
  259. package/dist/attributes/types/strings/AbstractDataURL.js.map +1 -0
  260. package/dist/attributes/types/strings/AbstractEMailAddress.d.ts +7 -0
  261. package/dist/attributes/types/strings/AbstractEMailAddress.js +41 -0
  262. package/dist/attributes/types/strings/AbstractEMailAddress.js.map +1 -0
  263. package/dist/attributes/types/strings/AbstractFileReference.d.ts +7 -0
  264. package/dist/attributes/types/{person/PersonHeight.js → strings/AbstractFileReference.js} +22 -12
  265. package/dist/attributes/types/strings/AbstractFileReference.js.map +1 -0
  266. package/dist/attributes/types/strings/AbstractHEXColor.d.ts +7 -0
  267. package/dist/attributes/types/strings/AbstractHEXColor.js +37 -0
  268. package/dist/attributes/types/strings/AbstractHEXColor.js.map +1 -0
  269. package/dist/attributes/types/strings/AbstractLanguage.d.ts +8 -0
  270. package/dist/attributes/types/strings/AbstractLanguage.js +42 -0
  271. package/dist/attributes/types/strings/AbstractLanguage.js.map +1 -0
  272. package/dist/attributes/types/strings/AbstractPhoneNumber.d.ts +7 -0
  273. package/dist/attributes/types/strings/AbstractPhoneNumber.js +37 -0
  274. package/dist/attributes/types/strings/AbstractPhoneNumber.js.map +1 -0
  275. package/dist/attributes/types/strings/AbstractURL.d.ts +7 -0
  276. package/dist/attributes/types/strings/AbstractURL.js +42 -0
  277. package/dist/attributes/types/strings/AbstractURL.js.map +1 -0
  278. package/dist/attributes/types/strings/index.d.ts +8 -0
  279. package/dist/attributes/types/strings/index.js +25 -0
  280. package/dist/attributes/types/strings/index.js.map +1 -0
  281. package/dist/buildInformation.js +4 -4
  282. package/dist/index.d.ts +1 -1
  283. package/dist/index.js +1 -1
  284. package/dist/index.js.map +1 -1
  285. package/dist/messages/Mail.d.ts +6 -5
  286. package/dist/messages/Mail.js +9 -7
  287. package/dist/messages/Mail.js.map +1 -1
  288. package/dist/messages/RequestMail.d.ts +2 -2
  289. package/dist/messages/RequestMail.js +11 -12
  290. package/dist/messages/RequestMail.js.map +1 -1
  291. package/dist/relationships/RelationshipCreationChangeRequestBody.d.ts +11 -24
  292. package/dist/relationships/RelationshipCreationChangeRequestBody.js +9 -31
  293. package/dist/relationships/RelationshipCreationChangeRequestBody.js.map +1 -1
  294. package/dist/relationships/RelationshipTemplateBody.d.ts +14 -34
  295. package/dist/relationships/RelationshipTemplateBody.js +10 -39
  296. package/dist/relationships/RelationshipTemplateBody.js.map +1 -1
  297. package/dist/relationships/index.d.ts +2 -0
  298. package/dist/relationships/index.js +19 -0
  299. package/dist/relationships/index.js.map +1 -0
  300. package/dist/requests/Request.d.ts +23 -12
  301. package/dist/requests/Request.js +9 -5
  302. package/dist/requests/Request.js.map +1 -1
  303. package/dist/requests/RequestItem.d.ts +12 -8
  304. package/dist/requests/RequestItem.js +2 -2
  305. package/dist/requests/RequestItem.js.map +1 -1
  306. package/dist/requests/RequestItemGroup.d.ts +16 -15
  307. package/dist/requests/RequestItemGroup.js +13 -4
  308. package/dist/requests/RequestItemGroup.js.map +1 -1
  309. package/dist/requests/index.d.ts +1 -0
  310. package/dist/requests/index.js +1 -0
  311. package/dist/requests/index.js.map +1 -1
  312. package/dist/requests/items/createAttribute/CreateAttributeAcceptResponseItem.d.ts +12 -0
  313. package/dist/{attributes/types/person/Gender.js → requests/items/createAttribute/CreateAttributeAcceptResponseItem.js} +14 -13
  314. package/dist/requests/items/createAttribute/CreateAttributeAcceptResponseItem.js.map +1 -0
  315. package/dist/requests/items/createAttribute/CreateAttributeRequestItem.d.ts +13 -0
  316. package/dist/{attributes/types/idcard/IDCardIssuingDate.js → requests/items/createAttribute/CreateAttributeRequestItem.js} +13 -10
  317. package/dist/requests/items/createAttribute/CreateAttributeRequestItem.js.map +1 -0
  318. package/dist/requests/items/index.d.ts +7 -0
  319. package/dist/requests/items/index.js +24 -0
  320. package/dist/requests/items/index.js.map +1 -0
  321. package/dist/requests/items/proposeAttribute/ProposeAttributeAcceptResponseItem.d.ts +16 -0
  322. package/dist/requests/items/proposeAttribute/ProposeAttributeAcceptResponseItem.js +36 -0
  323. package/dist/requests/items/proposeAttribute/ProposeAttributeAcceptResponseItem.js.map +1 -0
  324. package/dist/requests/items/proposeAttribute/ProposeAttributeRequestItem.d.ts +17 -0
  325. package/dist/requests/items/proposeAttribute/ProposeAttributeRequestItem.js +53 -0
  326. package/dist/requests/items/proposeAttribute/ProposeAttributeRequestItem.js.map +1 -0
  327. package/dist/requests/items/readAttribute/ReadAttributeAcceptResponseItem.d.ts +16 -0
  328. package/dist/requests/items/readAttribute/ReadAttributeAcceptResponseItem.js +36 -0
  329. package/dist/requests/items/readAttribute/ReadAttributeAcceptResponseItem.js.map +1 -0
  330. package/dist/requests/items/readAttribute/ReadAttributeRequestItem.d.ts +12 -0
  331. package/dist/{attributes/types/idcard/IDCardAuthorityName.js → requests/items/readAttribute/ReadAttributeRequestItem.js} +14 -10
  332. package/dist/requests/items/readAttribute/ReadAttributeRequestItem.js.map +1 -0
  333. package/dist/requests/items/shareAttribute/ShareAttributeRequestItem.d.ts +15 -0
  334. package/dist/requests/items/shareAttribute/ShareAttributeRequestItem.js +35 -0
  335. package/dist/requests/items/shareAttribute/ShareAttributeRequestItem.js.map +1 -0
  336. package/dist/requests/old/AttributesChangeRequest.d.ts +4 -4
  337. package/dist/requests/old/AttributesChangeRequest.js +7 -8
  338. package/dist/requests/old/AttributesChangeRequest.js.map +1 -1
  339. package/dist/requests/old/AttributesRequest.d.ts +5 -5
  340. package/dist/requests/old/AttributesRequest.js +6 -7
  341. package/dist/requests/old/AttributesRequest.js.map +1 -1
  342. package/dist/requests/old/AttributesShareRequest.d.ts +3 -3
  343. package/dist/requests/old/AttributesShareRequest.js +4 -5
  344. package/dist/requests/old/AttributesShareRequest.js.map +1 -1
  345. package/dist/requests/response/AcceptResponseItem.d.ts +5 -1
  346. package/dist/requests/response/AcceptResponseItem.js +4 -5
  347. package/dist/requests/response/AcceptResponseItem.js.map +1 -1
  348. package/dist/requests/response/ErrorResponseItem.d.ts +4 -1
  349. package/dist/requests/response/ErrorResponseItem.js +4 -5
  350. package/dist/requests/response/ErrorResponseItem.js.map +1 -1
  351. package/dist/requests/response/RejectResponseItem.d.ts +4 -1
  352. package/dist/requests/response/RejectResponseItem.js +6 -7
  353. package/dist/requests/response/RejectResponseItem.js.map +1 -1
  354. package/dist/requests/response/Response.d.ts +14 -7
  355. package/dist/requests/response/Response.js +15 -6
  356. package/dist/requests/response/Response.js.map +1 -1
  357. package/dist/requests/response/ResponseItem.d.ts +8 -5
  358. package/dist/requests/response/ResponseItem.js +1 -6
  359. package/dist/requests/response/ResponseItem.js.map +1 -1
  360. package/dist/requests/response/ResponseItemGroup.d.ts +7 -10
  361. package/dist/requests/response/ResponseItemGroup.js +4 -10
  362. package/dist/requests/response/ResponseItemGroup.js.map +1 -1
  363. package/lib-web/nmshd.content.js +13938 -1969
  364. package/lib-web/nmshd.content.min.js +1 -1
  365. package/package.json +20 -20
  366. package/dist/attributes/AttributeQuery.d.ts +0 -12
  367. package/dist/attributes/AttributeQuery.js.map +0 -1
  368. package/dist/attributes/types/AbstractDay.d.ts +0 -7
  369. package/dist/attributes/types/AbstractDay.js.map +0 -1
  370. package/dist/attributes/types/AbstractMonth.js.map +0 -1
  371. package/dist/attributes/types/AbstractYear.d.ts +0 -4
  372. package/dist/attributes/types/AbstractYear.js.map +0 -1
  373. package/dist/attributes/types/idcard/AbstractIDCard.d.ts +0 -3
  374. package/dist/attributes/types/idcard/AbstractIDCard.js +0 -8
  375. package/dist/attributes/types/idcard/AbstractIDCard.js.map +0 -1
  376. package/dist/attributes/types/idcard/IDCardAuthorityName.d.ts +0 -4
  377. package/dist/attributes/types/idcard/IDCardAuthorityName.js.map +0 -1
  378. package/dist/attributes/types/idcard/IDCardDE.d.ts +0 -11
  379. package/dist/attributes/types/idcard/IDCardDE.js +0 -45
  380. package/dist/attributes/types/idcard/IDCardDE.js.map +0 -1
  381. package/dist/attributes/types/idcard/IDCardIssuingDate.d.ts +0 -4
  382. package/dist/attributes/types/idcard/IDCardIssuingDate.js.map +0 -1
  383. package/dist/attributes/types/idcard/index.d.ts +0 -4
  384. package/dist/attributes/types/idcard/index.js.map +0 -1
  385. package/dist/attributes/types/measurements/LengthMeasurement.js.map +0 -1
  386. package/dist/attributes/types/name/Title.d.ts +0 -4
  387. package/dist/attributes/types/name/Title.js.map +0 -1
  388. package/dist/attributes/types/person/Gender.d.ts +0 -7
  389. package/dist/attributes/types/person/Gender.js.map +0 -1
  390. package/dist/attributes/types/person/PersonEyeColor.d.ts +0 -4
  391. package/dist/attributes/types/person/PersonEyeColor.js +0 -26
  392. package/dist/attributes/types/person/PersonEyeColor.js.map +0 -1
  393. package/dist/attributes/types/person/PersonHeight.d.ts +0 -4
  394. package/dist/attributes/types/person/PersonHeight.js.map +0 -1
  395. package/dist/authorizations/Authorization.d.ts +0 -14
  396. package/dist/authorizations/Authorization.js.map +0 -1
  397. package/dist/relationships/RelationshipCreationChangeResponseBody.d.ts +0 -0
  398. package/dist/relationships/RelationshipCreationChangeResponseBody.js +0 -2
  399. package/dist/relationships/RelationshipCreationChangeResponseBody.js.map +0 -1
  400. package/dist/relationships/RelationshipExistsAction.d.ts +0 -7
  401. package/dist/relationships/RelationshipExistsAction.js.map +0 -1
  402. package/dist/relationships/RelationshipExistsMessageAction.d.ts +0 -11
  403. package/dist/relationships/RelationshipExistsMessageAction.js +0 -26
  404. package/dist/relationships/RelationshipExistsMessageAction.js.map +0 -1
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.ProposeAttributeAcceptResponseItem = void 0;
13
+ const ts_serval_1 = require("@js-soft/ts-serval");
14
+ const transport_1 = require("@nmshd/transport");
15
+ const attributes_1 = require("../../../attributes");
16
+ const response_1 = require("../../response");
17
+ let ProposeAttributeAcceptResponseItem = class ProposeAttributeAcceptResponseItem extends response_1.AcceptResponseItem {
18
+ static from(value) {
19
+ return this.fromAny(value);
20
+ }
21
+ };
22
+ __decorate([
23
+ (0, ts_serval_1.serialize)(),
24
+ (0, ts_serval_1.validate)(),
25
+ __metadata("design:type", transport_1.CoreId)
26
+ ], ProposeAttributeAcceptResponseItem.prototype, "attributeId", void 0);
27
+ __decorate([
28
+ (0, ts_serval_1.serialize)({ unionTypes: [attributes_1.IdentityAttribute, attributes_1.RelationshipAttribute] }),
29
+ (0, ts_serval_1.validate)(),
30
+ __metadata("design:type", Object)
31
+ ], ProposeAttributeAcceptResponseItem.prototype, "attribute", void 0);
32
+ ProposeAttributeAcceptResponseItem = __decorate([
33
+ (0, ts_serval_1.type)("ProposeAttributeAcceptResponseItem")
34
+ ], ProposeAttributeAcceptResponseItem);
35
+ exports.ProposeAttributeAcceptResponseItem = ProposeAttributeAcceptResponseItem;
36
+ //# sourceMappingURL=ProposeAttributeAcceptResponseItem.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProposeAttributeAcceptResponseItem.js","sourceRoot":"","sources":["../../../../src/requests/items/proposeAttribute/ProposeAttributeAcceptResponseItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,gDAAkD;AAClD,oDAO4B;AAC5B,6CAAgG;AAahG,IAAa,kCAAkC,GAA/C,MAAa,kCACT,SAAQ,6BAAkB;IAWnB,MAAM,CAAU,IAAI,CACvB,KAAmF;QAEnF,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAA;AAXG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;8BACS,kBAAM;uEAAA;AAI1B;IAFC,IAAA,qBAAS,EAAC,EAAE,UAAU,EAAE,CAAC,8BAAiB,EAAE,kCAAqB,CAAC,EAAE,CAAC;IACrE,IAAA,oBAAQ,GAAE;;qEACgD;AAVlD,kCAAkC;IAD9C,IAAA,gBAAI,EAAC,oCAAoC,CAAC;GAC9B,kCAAkC,CAiB9C;AAjBY,gFAAkC"}
@@ -0,0 +1,17 @@
1
+ import { Serializable } from "@js-soft/ts-serval";
2
+ import { IdentityAttribute, IdentityAttributeJSON, IdentityAttributeQuery, IdentityAttributeQueryJSON, IIdentityAttribute, IIdentityAttributeQuery, IRelationshipAttribute, IRelationshipAttributeQuery, RelationshipAttribute, RelationshipAttributeJSON, RelationshipAttributeQuery, RelationshipAttributeQueryJSON } from "../../../attributes";
3
+ import { IRequestItem, RequestItem, RequestItemJSON } from "../../RequestItem";
4
+ export interface ProposeAttributeRequestItemJSON extends RequestItemJSON {
5
+ query: IdentityAttributeQueryJSON | RelationshipAttributeQueryJSON;
6
+ attribute: IdentityAttributeJSON | RelationshipAttributeJSON;
7
+ }
8
+ export interface IProposeAttributeRequestItem extends IRequestItem {
9
+ query: IIdentityAttributeQuery | IRelationshipAttributeQuery;
10
+ attribute: IIdentityAttribute | IRelationshipAttribute;
11
+ }
12
+ export declare class ProposeAttributeRequestItem extends RequestItem implements IProposeAttributeRequestItem {
13
+ query: IdentityAttributeQuery | RelationshipAttributeQuery;
14
+ attribute: IdentityAttribute | RelationshipAttribute;
15
+ static from(value: IProposeAttributeRequestItem): ProposeAttributeRequestItem;
16
+ protected static postFrom<T extends Serializable>(value: T): T;
17
+ }
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ var ProposeAttributeRequestItem_1;
12
+ Object.defineProperty(exports, "__esModule", { value: true });
13
+ exports.ProposeAttributeRequestItem = void 0;
14
+ const ts_serval_1 = require("@js-soft/ts-serval");
15
+ const ts_simple_nameof_1 = require("ts-simple-nameof");
16
+ const attributes_1 = require("../../../attributes");
17
+ const RequestItem_1 = require("../../RequestItem");
18
+ let ProposeAttributeRequestItem = ProposeAttributeRequestItem_1 = class ProposeAttributeRequestItem extends RequestItem_1.RequestItem {
19
+ static from(value) {
20
+ return this.fromAny(value);
21
+ }
22
+ static postFrom(value) {
23
+ if (!(value instanceof ProposeAttributeRequestItem_1))
24
+ throw new Error("this should never happen");
25
+ const attributeValueType = value.attribute.value.toJSON()["@type"];
26
+ const queryValueType = value.query.valueType;
27
+ if (attributeValueType !== queryValueType) {
28
+ throw new ts_serval_1.ValidationError(ProposeAttributeRequestItem_1.name, `${(0, ts_simple_nameof_1.nameof)((x) => x.query)}.${(0, ts_simple_nameof_1.nameof)((x) => x.valueType)}`, `You cannot propose an Attribute whose type of the value ('${attributeValueType}') is different from the value type of the query ('${queryValueType}').`);
29
+ }
30
+ if (value.attribute instanceof attributes_1.RelationshipAttribute && !(value.query instanceof attributes_1.RelationshipAttributeQuery)) {
31
+ throw new ts_serval_1.ValidationError(ProposeAttributeRequestItem_1.name, "", "When proposing a RelationshipAttribute, the corresponding query has to be a RelationshipAttributeQuery.");
32
+ }
33
+ if (value.attribute instanceof attributes_1.IdentityAttribute && !(value.query instanceof attributes_1.IdentityAttributeQuery)) {
34
+ throw new ts_serval_1.ValidationError(ProposeAttributeRequestItem_1.name, "", "When proposing an IdentityAttribute, the corresponding query has to be a IdentityAttributeQuery.");
35
+ }
36
+ return value;
37
+ }
38
+ };
39
+ __decorate([
40
+ (0, ts_serval_1.serialize)({ unionTypes: [attributes_1.IdentityAttributeQuery, attributes_1.RelationshipAttributeQuery] }),
41
+ (0, ts_serval_1.validate)(),
42
+ __metadata("design:type", Object)
43
+ ], ProposeAttributeRequestItem.prototype, "query", void 0);
44
+ __decorate([
45
+ (0, ts_serval_1.serialize)({ unionTypes: [attributes_1.IdentityAttribute, attributes_1.RelationshipAttribute] }),
46
+ (0, ts_serval_1.validate)(),
47
+ __metadata("design:type", Object)
48
+ ], ProposeAttributeRequestItem.prototype, "attribute", void 0);
49
+ ProposeAttributeRequestItem = ProposeAttributeRequestItem_1 = __decorate([
50
+ (0, ts_serval_1.type)("ProposeAttributeRequestItem")
51
+ ], ProposeAttributeRequestItem);
52
+ exports.ProposeAttributeRequestItem = ProposeAttributeRequestItem;
53
+ //# sourceMappingURL=ProposeAttributeRequestItem.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProposeAttributeRequestItem.js","sourceRoot":"","sources":["../../../../src/requests/items/proposeAttribute/ProposeAttributeRequestItem.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,kDAA6F;AAC7F,uDAAyC;AACzC,oD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K,CAAA;IAChB,CAAC;CACJ,CAAA;AA5CG;IAFC,IAAA,qBAAS,EAAC,EAAE,UAAU,EAAE,CAAC,mCAAsB,EAAE,uCAA0B,CAAC,EAAE,CAAC;IAC/E,IAAA,oBAAQ,GAAE;;0DACsD;AAIjE;IAFC,IAAA,qBAAS,EAAC,EAAE,UAAU,EAAE,CAAC,8BAAiB,EAAE,kCAAqB,CAAC,EAAE,CAAC;IACrE,IAAA,oBAAQ,GAAE;;8DACgD;AAPlD,2BAA2B;IADvC,IAAA,gBAAI,EAAC,6BAA6B,CAAC;GACvB,2BAA2B,CA+CvC;AA/CY,kEAA2B"}
@@ -0,0 +1,16 @@
1
+ import { CoreId, ICoreId } from "@nmshd/transport";
2
+ import { IdentityAttribute, IdentityAttributeJSON, IIdentityAttribute, IRelationshipAttribute, RelationshipAttribute, RelationshipAttributeJSON } from "../../../attributes";
3
+ import { AcceptResponseItem, AcceptResponseItemJSON, IAcceptResponseItem } from "../../response";
4
+ export interface ReadAttributeAcceptResponseItemJSON extends AcceptResponseItemJSON {
5
+ attributeId: string;
6
+ attribute: IdentityAttributeJSON | RelationshipAttributeJSON;
7
+ }
8
+ export interface IReadAttributeAcceptResponseItem extends IAcceptResponseItem {
9
+ attributeId: ICoreId;
10
+ attribute: IIdentityAttribute | IRelationshipAttribute;
11
+ }
12
+ export declare class ReadAttributeAcceptResponseItem extends AcceptResponseItem implements IReadAttributeAcceptResponseItem {
13
+ attributeId: CoreId;
14
+ attribute: IdentityAttribute | RelationshipAttribute;
15
+ static from(value: IReadAttributeAcceptResponseItem | ReadAttributeAcceptResponseItemJSON): ReadAttributeAcceptResponseItem;
16
+ }
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.ReadAttributeAcceptResponseItem = void 0;
13
+ const ts_serval_1 = require("@js-soft/ts-serval");
14
+ const transport_1 = require("@nmshd/transport");
15
+ const attributes_1 = require("../../../attributes");
16
+ const response_1 = require("../../response");
17
+ let ReadAttributeAcceptResponseItem = class ReadAttributeAcceptResponseItem extends response_1.AcceptResponseItem {
18
+ static from(value) {
19
+ return this.fromAny(value);
20
+ }
21
+ };
22
+ __decorate([
23
+ (0, ts_serval_1.serialize)(),
24
+ (0, ts_serval_1.validate)(),
25
+ __metadata("design:type", transport_1.CoreId)
26
+ ], ReadAttributeAcceptResponseItem.prototype, "attributeId", void 0);
27
+ __decorate([
28
+ (0, ts_serval_1.serialize)({ unionTypes: [attributes_1.IdentityAttribute, attributes_1.RelationshipAttribute] }),
29
+ (0, ts_serval_1.validate)(),
30
+ __metadata("design:type", Object)
31
+ ], ReadAttributeAcceptResponseItem.prototype, "attribute", void 0);
32
+ ReadAttributeAcceptResponseItem = __decorate([
33
+ (0, ts_serval_1.type)("ReadAttributeAcceptResponseItem")
34
+ ], ReadAttributeAcceptResponseItem);
35
+ exports.ReadAttributeAcceptResponseItem = ReadAttributeAcceptResponseItem;
36
+ //# sourceMappingURL=ReadAttributeAcceptResponseItem.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReadAttributeAcceptResponseItem.js","sourceRoot":"","sources":["../../../../src/requests/items/readAttribute/ReadAttributeAcceptResponseItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,gDAAkD;AAClD,oDAO4B;AAC5B,6CAAgG;AAahG,IAAa,+BAA+B,GAA5C,MAAa,+BAAgC,SAAQ,6BAAkB;IAS5D,MAAM,CAAU,IAAI,CACvB,KAA6E;QAE7E,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAA;AAXG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;8BACS,kBAAM;oEAAA;AAI1B;IAFC,IAAA,qBAAS,EAAC,EAAE,UAAU,EAAE,CAAC,8BAAiB,EAAE,kCAAqB,CAAC,EAAE,CAAC;IACrE,IAAA,oBAAQ,GAAE;;kEACgD;AAPlD,+BAA+B;IAD3C,IAAA,gBAAI,EAAC,iCAAiC,CAAC;GAC3B,+BAA+B,CAc3C;AAdY,0EAA+B"}
@@ -0,0 +1,12 @@
1
+ import { AbstractAttributeQuery, AbstractAttributeQueryJSON, IAbstractAttributeQuery } from "../../../attributes/AbstractAttributeQuery";
2
+ import { IRequestItem, RequestItem, RequestItemJSON } from "../../RequestItem";
3
+ export interface ReadAttributeRequestItemJSON extends RequestItemJSON {
4
+ query: AbstractAttributeQueryJSON;
5
+ }
6
+ export interface IReadAttributeRequestItem extends IRequestItem {
7
+ query: IAbstractAttributeQuery;
8
+ }
9
+ export declare class ReadAttributeRequestItem extends RequestItem implements IReadAttributeRequestItem {
10
+ query: AbstractAttributeQuery;
11
+ static from(value: IReadAttributeRequestItem | ReadAttributeRequestItemJSON): ReadAttributeRequestItem;
12
+ }
@@ -9,18 +9,22 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.IDCardAuthorityName = void 0;
12
+ exports.ReadAttributeRequestItem = void 0;
13
13
  const ts_serval_1 = require("@js-soft/ts-serval");
14
- const AbstractAttributeValue_1 = require("../../AbstractAttributeValue");
15
- let IDCardAuthorityName = class IDCardAuthorityName extends AbstractAttributeValue_1.AbstractAttributeValue {
14
+ const AbstractAttributeQuery_1 = require("../../../attributes/AbstractAttributeQuery");
15
+ const RequestItem_1 = require("../../RequestItem");
16
+ let ReadAttributeRequestItem = class ReadAttributeRequestItem extends RequestItem_1.RequestItem {
17
+ static from(value) {
18
+ return this.fromAny(value);
19
+ }
16
20
  };
17
21
  __decorate([
18
22
  (0, ts_serval_1.serialize)(),
19
23
  (0, ts_serval_1.validate)(),
20
- __metadata("design:type", String)
21
- ], IDCardAuthorityName.prototype, "value", void 0);
22
- IDCardAuthorityName = __decorate([
23
- (0, ts_serval_1.type)("IDCardAuthorityName")
24
- ], IDCardAuthorityName);
25
- exports.IDCardAuthorityName = IDCardAuthorityName;
26
- //# sourceMappingURL=IDCardAuthorityName.js.map
24
+ __metadata("design:type", AbstractAttributeQuery_1.AbstractAttributeQuery)
25
+ ], ReadAttributeRequestItem.prototype, "query", void 0);
26
+ ReadAttributeRequestItem = __decorate([
27
+ (0, ts_serval_1.type)("ReadAttributeRequestItem")
28
+ ], ReadAttributeRequestItem);
29
+ exports.ReadAttributeRequestItem = ReadAttributeRequestItem;
30
+ //# sourceMappingURL=ReadAttributeRequestItem.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReadAttributeRequestItem.js","sourceRoot":"","sources":["../../../../src/requests/items/readAttribute/ReadAttributeRequestItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,uFAImD;AACnD,mDAA8E;AAW9E,IAAa,wBAAwB,GAArC,MAAa,wBAAyB,SAAQ,yBAAW;IAK9C,MAAM,CAAC,IAAI,CAAC,KAA+D;QAC9E,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAA;AALG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;8BACG,+CAAsB;uDAAA;AAH3B,wBAAwB;IADpC,IAAA,gBAAI,EAAC,0BAA0B,CAAC;GACpB,wBAAwB,CAQpC;AARY,4DAAwB"}
@@ -0,0 +1,15 @@
1
+ import { CoreAddress, CoreId, ICoreAddress, ICoreId } from "@nmshd/transport";
2
+ import { IRequestItem, RequestItem, RequestItemJSON } from "../../RequestItem";
3
+ export interface ShareAttributeRequestItemJSON extends RequestItemJSON {
4
+ attributeId: string;
5
+ shareWith: string;
6
+ }
7
+ export interface IShareAttributeRequestItem extends IRequestItem {
8
+ attributeId: ICoreId;
9
+ shareWith: ICoreAddress;
10
+ }
11
+ export declare class ShareAttributeRequestItem extends RequestItem implements IShareAttributeRequestItem {
12
+ attributeId: CoreId;
13
+ shareWith: CoreAddress;
14
+ static from(value: IShareAttributeRequestItem | ShareAttributeRequestItemJSON): ShareAttributeRequestItem;
15
+ }
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.ShareAttributeRequestItem = void 0;
13
+ const ts_serval_1 = require("@js-soft/ts-serval");
14
+ const transport_1 = require("@nmshd/transport");
15
+ const RequestItem_1 = require("../../RequestItem");
16
+ let ShareAttributeRequestItem = class ShareAttributeRequestItem extends RequestItem_1.RequestItem {
17
+ static from(value) {
18
+ return this.fromAny(value);
19
+ }
20
+ };
21
+ __decorate([
22
+ (0, ts_serval_1.serialize)(),
23
+ (0, ts_serval_1.validate)(),
24
+ __metadata("design:type", transport_1.CoreId)
25
+ ], ShareAttributeRequestItem.prototype, "attributeId", void 0);
26
+ __decorate([
27
+ (0, ts_serval_1.serialize)(),
28
+ (0, ts_serval_1.validate)(),
29
+ __metadata("design:type", transport_1.CoreAddress)
30
+ ], ShareAttributeRequestItem.prototype, "shareWith", void 0);
31
+ ShareAttributeRequestItem = __decorate([
32
+ (0, ts_serval_1.type)("ShareAttributeRequestItem")
33
+ ], ShareAttributeRequestItem);
34
+ exports.ShareAttributeRequestItem = ShareAttributeRequestItem;
35
+ //# sourceMappingURL=ShareAttributeRequestItem.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ShareAttributeRequestItem.js","sourceRoot":"","sources":["../../../../src/requests/items/shareAttribute/ShareAttributeRequestItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,gDAA6E;AAC7E,mDAA8E;AAa9E,IAAa,yBAAyB,GAAtC,MAAa,yBAA0B,SAAQ,yBAAW;IAS/C,MAAM,CAAC,IAAI,CAAC,KAAiE;QAChF,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAA;AATG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;8BACS,kBAAM;8DAAA;AAI1B;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;8BACO,uBAAW;4DAAA;AAPpB,yBAAyB;IADrC,IAAA,gBAAI,EAAC,2BAA2B,CAAC;GACrB,yBAAyB,CAYrC;AAZY,8DAAyB"}
@@ -1,4 +1,4 @@
1
- import { ISerializable, SerializableAsync } from "@js-soft/ts-serval";
1
+ import { ISerializable, Serializable } from "@js-soft/ts-serval";
2
2
  import { CoreAddress, CoreDate, CoreId, ICoreAddress, ICoreDate, ICoreId } from "@nmshd/transport";
3
3
  import { Attribute, AttributeJSON, IAttribute } from "../../attributes/Attribute";
4
4
  import { ContentJSON } from "../../ContentJSON";
@@ -41,7 +41,7 @@ export interface IAttributesChangeRequest extends ISerializable {
41
41
  attributes: IAttribute[];
42
42
  applyTo?: ICoreAddress;
43
43
  }
44
- export declare class AttributesChangeRequest extends SerializableAsync implements IAttributesChangeRequest {
44
+ export declare class AttributesChangeRequest extends Serializable implements IAttributesChangeRequest {
45
45
  id?: CoreId;
46
46
  key?: string;
47
47
  reason?: string;
@@ -49,6 +49,6 @@ export declare class AttributesChangeRequest extends SerializableAsync implement
49
49
  impact?: string;
50
50
  attributes: Attribute[];
51
51
  applyTo?: CoreAddress;
52
- static from(value: IAttributesChangeRequest): Promise<AttributesChangeRequest>;
53
- static fromJSON(value: AttributesChangeRequestJSON): Promise<AttributesChangeRequest>;
52
+ static from(value: IAttributesChangeRequest): AttributesChangeRequest;
53
+ static fromJSON(value: AttributesChangeRequestJSON): AttributesChangeRequest;
54
54
  }
@@ -8,19 +8,18 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
8
8
  var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
- var AttributesChangeRequest_1;
12
11
  Object.defineProperty(exports, "__esModule", { value: true });
13
12
  exports.AttributesChangeRequest = void 0;
14
13
  const ts_serval_1 = require("@js-soft/ts-serval");
15
14
  const transport_1 = require("@nmshd/transport");
16
15
  const Attribute_1 = require("../../attributes/Attribute");
17
- let AttributesChangeRequest = AttributesChangeRequest_1 = class AttributesChangeRequest extends ts_serval_1.SerializableAsync {
18
- static async from(value) {
19
- return (await super.from(value, AttributesChangeRequest_1));
16
+ let AttributesChangeRequest = class AttributesChangeRequest extends ts_serval_1.Serializable {
17
+ static from(value) {
18
+ return this.fromAny(value);
20
19
  }
21
- static async fromJSON(value) {
22
- const parsedAttributes = await Promise.all(value.attributes.map((attribute) => Attribute_1.Attribute.fromJSON(attribute)));
23
- return await this.from({
20
+ static fromJSON(value) {
21
+ const parsedAttributes = value.attributes.map((attribute) => Attribute_1.Attribute.fromJSON(attribute));
22
+ return this.from({
24
23
  id: value.id ? transport_1.CoreId.from(value.id) : undefined,
25
24
  attributes: parsedAttributes,
26
25
  applyTo: value.applyTo ? transport_1.CoreAddress.from(value.applyTo) : undefined,
@@ -65,7 +64,7 @@ __decorate([
65
64
  (0, ts_serval_1.validate)({ nullable: true }),
66
65
  __metadata("design:type", transport_1.CoreAddress)
67
66
  ], AttributesChangeRequest.prototype, "applyTo", void 0);
68
- AttributesChangeRequest = AttributesChangeRequest_1 = __decorate([
67
+ AttributesChangeRequest = __decorate([
69
68
  (0, ts_serval_1.type)("AttributesChangeRequest")
70
69
  ], AttributesChangeRequest);
71
70
  exports.AttributesChangeRequest = AttributesChangeRequest;
@@ -1 +1 @@
1
- {"version":3,"file":"AttributesChangeRequest.js","sourceRoot":"","sources":["../../../src/requests/old/AttributesChangeRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,kDAAgG;AAChG,gDAAkG;AAClG,0DAAiF;AA+CjF,IAAa,uBAAuB,+BAApC,MAAa,uBAAwB,SAAQ,6BAAiB;IA6BnD,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,KAA+B;QACpD,OAAO,CAAC,MAAM,KAAK,CAAC,IAAI,CAAC,KAAK,EAAE,yBAAuB,CAAC,CAA4B,CAAA;IACxF,CAAC;IAEM,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,KAAkC;QAC3D,MAAM,gBAAgB,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,qBAAS,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC,CAAC,CAAA;QAC9G,OAAO,MAAM,IAAI,CAAC,IAAI,CAAC;YACnB,EAAE,EAAE,KAAK,CAAC,EAAE,CAAC,CAAC,CAAC,kBAAM,CAAC,IAAI,CAAC,KAAK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AAA;AAIlB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oDACV;AAInB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uDACP;AAItB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACV,oBAAQ;0DAAA;AAI3B;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uDACP;AAItB;IAFC,IAAA,qBAAS,EAAC,EAAE,IAAI,EAAE,qBAAS,EAAE,CAAC;IAC9B,IAAA,oBAAQ,GAAE;;2DACmB;AAI9B;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACZ,uBAAW;wDAAA;AA3BnB,uBAAuB;IADnC,IAAA,gBAAI,EAAC,yBAAyB,CAAC;GACnB,uBAAuB,CA4CnC;AA5CY,0DAAuB"}
@@ -1,4 +1,4 @@
1
- import { ISerializableAsync, SerializableAsync } from "@js-soft/ts-serval";
1
+ import { ISerializable, Serializable } from "@js-soft/ts-serval";
2
2
  import { CoreDate, CoreId, ICoreDate, ICoreId } from "@nmshd/transport";
3
3
  import { ContentJSON } from "../../ContentJSON";
4
4
  export interface AttributesRequestJSON extends ContentJSON {
@@ -9,7 +9,7 @@ export interface AttributesRequestJSON extends ContentJSON {
9
9
  names: string[];
10
10
  required: boolean;
11
11
  }
12
- export interface IAttributesRequest extends ISerializableAsync {
12
+ export interface IAttributesRequest extends ISerializable {
13
13
  id?: ICoreId;
14
14
  /**
15
15
  * The technial key of the request which is submitted back with the answer. This can be used
@@ -37,13 +37,13 @@ export interface IAttributesRequest extends ISerializableAsync {
37
37
  */
38
38
  required?: boolean;
39
39
  }
40
- export declare class AttributesRequest extends SerializableAsync implements IAttributesRequest {
40
+ export declare class AttributesRequest extends Serializable implements IAttributesRequest {
41
41
  id?: CoreId;
42
42
  key?: string;
43
43
  reason?: string;
44
44
  expiresAt?: CoreDate;
45
45
  names: string[];
46
46
  required?: boolean;
47
- static from(value: IAttributesRequest): Promise<AttributesRequest>;
48
- static fromJSON(value: AttributesRequestJSON): Promise<AttributesRequest>;
47
+ static from(value: IAttributesRequest): AttributesRequest;
48
+ static fromJSON(value: AttributesRequestJSON): AttributesRequest;
49
49
  }
@@ -8,17 +8,16 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
8
8
  var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
- var AttributesRequest_1;
12
11
  Object.defineProperty(exports, "__esModule", { value: true });
13
12
  exports.AttributesRequest = void 0;
14
13
  const ts_serval_1 = require("@js-soft/ts-serval");
15
14
  const transport_1 = require("@nmshd/transport");
16
- let AttributesRequest = AttributesRequest_1 = class AttributesRequest extends ts_serval_1.SerializableAsync {
17
- static async from(value) {
18
- return (await super.from(value, AttributesRequest_1));
15
+ let AttributesRequest = class AttributesRequest extends ts_serval_1.Serializable {
16
+ static from(value) {
17
+ return this.fromAny(value);
19
18
  }
20
- static async fromJSON(value) {
21
- return await this.from({
19
+ static fromJSON(value) {
20
+ return this.from({
22
21
  id: value.id ? transport_1.CoreId.from(value.id) : undefined,
23
22
  expiresAt: value.expiresAt ? transport_1.CoreDate.from(value.expiresAt) : undefined,
24
23
  key: value.key,
@@ -58,7 +57,7 @@ __decorate([
58
57
  (0, ts_serval_1.validate)({ nullable: true }),
59
58
  __metadata("design:type", Boolean)
60
59
  ], AttributesRequest.prototype, "required", void 0);
61
- AttributesRequest = AttributesRequest_1 = __decorate([
60
+ AttributesRequest = __decorate([
62
61
  (0, ts_serval_1.type)("AttributesRequest")
63
62
  ], AttributesRequest);
64
63
  exports.AttributesRequest = AttributesRequest;
@@ -1 +1 @@
1
- {"version":3,"file":"AttributesRequest.js","sourceRoot":"","sources":["../../../src/requests/old/AttributesRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,kDAAqG;AACrG,gDAAuE;AA2CvE,IAAa,iBAAiB,yBAA9B,MAAa,iBAAkB,SAAQ,6BAAiB;IAyB7C,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,KAAyB;QAC9C,OAAO,CAAC,MAAM,KAAK,CAAC,IAAI,CAAC,KAAK,EAAE,mBAAiB,CAAC,CAAsB,CAAA;IAC5E,CAAC;IAEM,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,KAA4B;QACrD,OAAO,MAAM,IAAI,CAAC,IAAI,CAAC;YACnB,EAAE,EAAE,KAAK,CAAC,EAAE,CAAC,CAAC,CAAC,kBAAM,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,SAAS;YAChD,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,oBAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS;YACvE,GAAG,EAAE,KAAK,CAAC,GAAG;YACd,MAAM,EAAE,KAAK,CAAC,MAAM;YACpB,KAAK,EAAE,KAAK,CAAC,KAAK;YAClB,QAAQ,EAAE,KAAK,CAAC,QAAQ;SAC3B,CAAC,CAAA;IACN,CAAC;CACJ,CAAA;AApCG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACjB,kBAAM;6CAAA;AAIlB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8CACV;AAInB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,E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AAC;CACJ,CAAA;AApCG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACjB,kBAAM;6CAAA;AAIlB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8CACV;AAInB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDACP;AAItB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACV,oBAAQ;oDAAA;AAI3B;IAFC,IAAA,qBAAS,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;IAC3B,IAAA,oBAAQ,GAAE;;gDACW;AAItB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mDACJ;AAvBhB,iBAAiB;IAD7B,IAAA,gBAAI,EAAC,mBAAmB,CAAC;GACb,iBAAiB,CAuC7B;AAvCY,8CAAiB"}
@@ -1,4 +1,4 @@
1
- import { ISerializable, SerializableAsync } from "@js-soft/ts-serval";
1
+ import { ISerializable, Serializable } from "@js-soft/ts-serval";
2
2
  import { CoreAddress, CoreDate, CoreId, ICoreAddress, ICoreDate, ICoreId } from "@nmshd/transport";
3
3
  import { ContentJSON } from "../../ContentJSON";
4
4
  export interface AttributesShareRequestJSON extends ContentJSON {
@@ -40,7 +40,7 @@ export interface IAttributesShareRequest extends ISerializable {
40
40
  attributes: string[];
41
41
  recipients: ICoreAddress[];
42
42
  }
43
- export declare class AttributesShareRequest extends SerializableAsync implements IAttributesShareRequest {
43
+ export declare class AttributesShareRequest extends Serializable implements IAttributesShareRequest {
44
44
  id?: CoreId;
45
45
  key?: string;
46
46
  reason?: string;
@@ -48,5 +48,5 @@ export declare class AttributesShareRequest extends SerializableAsync implements
48
48
  impact?: string;
49
49
  attributes: string[];
50
50
  recipients: CoreAddress[];
51
- static from(value: IAttributesShareRequest): Promise<AttributesShareRequest>;
51
+ static from(value: IAttributesShareRequest): AttributesShareRequest;
52
52
  }
@@ -8,14 +8,13 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
8
8
  var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
- var AttributesShareRequest_1;
12
11
  Object.defineProperty(exports, "__esModule", { value: true });
13
12
  exports.AttributesShareRequest = void 0;
14
13
  const ts_serval_1 = require("@js-soft/ts-serval");
15
14
  const transport_1 = require("@nmshd/transport");
16
- let AttributesShareRequest = AttributesShareRequest_1 = class AttributesShareRequest extends ts_serval_1.SerializableAsync {
17
- static async from(value) {
18
- return await super.fromT(value, AttributesShareRequest_1);
15
+ let AttributesShareRequest = class AttributesShareRequest extends ts_serval_1.Serializable {
16
+ static from(value) {
17
+ return this.fromAny(value);
19
18
  }
20
19
  };
21
20
  __decorate([
@@ -53,7 +52,7 @@ __decorate([
53
52
  (0, ts_serval_1.validate)(),
54
53
  __metadata("design:type", Array)
55
54
  ], AttributesShareRequest.prototype, "recipients", void 0);
56
- AttributesShareRequest = AttributesShareRequest_1 = __decorate([
55
+ AttributesShareRequest = __decorate([
57
56
  (0, ts_serval_1.type)("AttributesShareRequest")
58
57
  ], AttributesShareRequest);
59
58
  exports.AttributesShareRequest = AttributesShareRequest;
@@ -1 +1 @@
1
- {"version":3,"file":"AttributesShareRequest.js","sourceRoot":"","sources":["../../../src/requests/old/AttributesShareRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,kDAAgG;AAChG,gDAAkG;AA+ClG,IAAa,sBAAsB,8BAAnC,MAAa,sBAAuB,SAAQ,6BAAiB;IA6BlD,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,KAA8B;QACn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CAAC;CACJ,CAAA;AA7BG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACjB,kBAAM;kDAAA;AAIlB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mDACV;AAInB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sDACP;AAItB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACV,oBAAQ;yDAAA;AAI3B;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sDACP;AAItB;IAFC,IAAA,qBAAS,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;IAC3B,IAAA,oBAAQ,GAAE;;0DACgB;AAI3B;IAFC,IAAA,qBAAS,EAAC,EAAE,IAAI,EAAE,uBAAW,EAAE,CAAC;IAChC,IAAA,oBAAQ,GAAE;;0DACqB;AA3BvB,sBAAsB;IADlC,IAAA,gBAAI,EAAC,wBAAwB,CAAC;GAClB,sBAAsB,CAgClC;AAhCY,wDAAsB"}
@@ -1,12 +1,16 @@
1
+ import { CreateAttributeAcceptResponseItem, CreateAttributeAcceptResponseItemJSON, ICreateAttributeAcceptResponseItem, IProposeAttributeAcceptResponseItem, IReadAttributeAcceptResponseItem, ProposeAttributeAcceptResponseItem, ProposeAttributeAcceptResponseItemJSON, ReadAttributeAcceptResponseItem, ReadAttributeAcceptResponseItemJSON } from "../items";
1
2
  import { IResponseItem, ResponseItem, ResponseItemJSON } from "./ResponseItem";
2
3
  import { ResponseItemResult } from "./ResponseItemResult";
3
4
  export interface AcceptResponseItemJSON extends ResponseItemJSON {
4
5
  result: ResponseItemResult.Accepted;
5
6
  }
7
+ export declare type AcceptResponseItemJSONDerivations = AcceptResponseItemJSON | CreateAttributeAcceptResponseItemJSON | ProposeAttributeAcceptResponseItemJSON | ReadAttributeAcceptResponseItemJSON;
6
8
  export interface IAcceptResponseItem extends IResponseItem {
7
9
  result: ResponseItemResult.Accepted;
8
10
  }
11
+ export declare type IAcceptResponseItemDerivations = IAcceptResponseItem | ICreateAttributeAcceptResponseItem | IProposeAttributeAcceptResponseItem | IReadAttributeAcceptResponseItem;
9
12
  export declare class AcceptResponseItem extends ResponseItem implements IAcceptResponseItem {
10
13
  result: ResponseItemResult.Accepted;
11
- static from(value: IAcceptResponseItem | AcceptResponseItemJSON): Promise<AcceptResponseItem>;
14
+ static from(value: IAcceptResponseItem | AcceptResponseItemJSON): AcceptResponseItem;
12
15
  }
16
+ export declare type AcceptResponseItemDerivations = AcceptResponseItem | CreateAttributeAcceptResponseItem | ProposeAttributeAcceptResponseItem | ReadAttributeAcceptResponseItem;
@@ -5,17 +5,16 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
5
5
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
6
  return c > 3 && r && Object.defineProperty(target, key, r), r;
7
7
  };
8
- var AcceptResponseItem_1;
9
8
  Object.defineProperty(exports, "__esModule", { value: true });
10
9
  exports.AcceptResponseItem = void 0;
11
10
  const ts_serval_1 = require("@js-soft/ts-serval");
12
11
  const ResponseItem_1 = require("./ResponseItem");
13
- let AcceptResponseItem = AcceptResponseItem_1 = class AcceptResponseItem extends ResponseItem_1.ResponseItem {
14
- static async from(value) {
15
- return await super.fromT(value, AcceptResponseItem_1);
12
+ let AcceptResponseItem = class AcceptResponseItem extends ResponseItem_1.ResponseItem {
13
+ static from(value) {
14
+ return this.fromAny(value);
16
15
  }
17
16
  };
18
- AcceptResponseItem = AcceptResponseItem_1 = __decorate([
17
+ AcceptResponseItem = __decorate([
19
18
  (0, ts_serval_1.type)("AcceptResponseItem")
20
19
  ], AcceptResponseItem);
21
20
  exports.AcceptResponseItem = AcceptResponseItem;
@@ -1 +1 @@
1
- {"version":3,"file":"AcceptResponseItem.js","sourceRoot":"","sources":["../../../src/requests/response/AcceptResponseItem.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,kDAAyC;AACzC,iDAA8E;AAY9E,IAAa,kBAAkB,0BAA/B,MAAa,kBAAmB,SAAQ,2BAAY;IAGzC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,KAAmD;QACxE,OAAO,MAAM,KAAK,CAAC,KAAK,CAAC,KAAK,EAAE,oBAAkB,CAAC,CAAA;IACvD,CAAC;CACJ,CAAA;AANY,kBAAkB;IAD9B,IAAA,gBAAI,EAAC,oBAAoB,CAAC;GACd,kBAAkB,CAM9B;AANY,gDAAkB"}
1
+ {"version":3,"file":"AcceptResponseItem.js","sourceRoot":"","sources":["../../../src/requests/response/AcceptResponseItem.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AAYzC,iDAA8E;AAwB9E,IAAa,kBAAkB,GAA/B,MAAa,kBAAmB,SAAQ,2BAAY;IAGzC,MAAM,CAAC,IAAI,CAAC,KAAmD;QAClE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAA;AANY,kBAAkB;IAD9B,IAAA,gBAAI,EAAC,oBAAoB,CAAC;GACd,kBAAkB,CAM9B;AANY,gDAAkB"}
@@ -5,14 +5,17 @@ export interface ErrorResponseItemJSON extends ResponseItemJSON {
5
5
  code: string;
6
6
  message: string;
7
7
  }
8
+ export declare type ErrorResponseItemJSONDerivations = ErrorResponseItemJSON;
8
9
  export interface IErrorResponseItem extends IResponseItem {
9
10
  result: ResponseItemResult.Failed;
10
11
  code: string;
11
12
  message: string;
12
13
  }
14
+ export declare type IErrorResponseItemDerivations = IErrorResponseItem;
13
15
  export declare class ErrorResponseItem extends ResponseItem implements IErrorResponseItem {
14
16
  result: ResponseItemResult.Failed;
15
17
  code: string;
16
18
  message: string;
17
- static from(value: IErrorResponseItem | ErrorResponseItemJSON): Promise<ErrorResponseItem>;
19
+ static from(value: IErrorResponseItem | ErrorResponseItemJSON): ErrorResponseItem;
18
20
  }
21
+ export declare type ErrorResponseItemDerivations = ErrorResponseItem;
@@ -8,14 +8,13 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
8
8
  var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
- var ErrorResponseItem_1;
12
11
  Object.defineProperty(exports, "__esModule", { value: true });
13
12
  exports.ErrorResponseItem = void 0;
14
13
  const ts_serval_1 = require("@js-soft/ts-serval");
15
14
  const ResponseItem_1 = require("./ResponseItem");
16
- let ErrorResponseItem = ErrorResponseItem_1 = class ErrorResponseItem extends ResponseItem_1.ResponseItem {
17
- static async from(value) {
18
- return await super.fromT(value, ErrorResponseItem_1);
15
+ let ErrorResponseItem = class ErrorResponseItem extends ResponseItem_1.ResponseItem {
16
+ static from(value) {
17
+ return this.fromAny(value);
19
18
  }
20
19
  };
21
20
  __decorate([
@@ -28,7 +27,7 @@ __decorate([
28
27
  (0, ts_serval_1.validate)(),
29
28
  __metadata("design:type", String)
30
29
  ], ErrorResponseItem.prototype, "message", void 0);
31
- ErrorResponseItem = ErrorResponseItem_1 = __decorate([
30
+ ErrorResponseItem = __decorate([
32
31
  (0, ts_serval_1.type)("ErrorResponseItem")
33
32
  ], ErrorResponseItem);
34
33
  exports.ErrorResponseItem = ErrorResponseItem;
@@ -1 +1 @@
1
- {"version":3,"file":"ErrorResponseItem.js","sourceRoot":"","sources":["../../../src/requests/response/ErrorResponseItem.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,kDAA8D;AAC9D,iDAA8E;AAgB9E,IAAa,iBAAiB,yBAA9B,MAAa,iBAAkB,SAAQ,2BAAY;IAWxC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,KAAiD;QACtE,OAAO,MAAM,KAAK,CAAC,KAAK,CAAC,KAAK,EAAE,mBAAiB,CAAC,CAAA;IACtD,CAAC;CACJ,CAAA;AATG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;+CACQ;AAInB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;kDACW;AATb,iBAAiB;IAD7B,IAAA,gBAAI,EAAC,mBAAmB,CAAC;GACb,iBAAiB,CAc7B;AAdY,8CAAiB"}
1
+ {"version":3,"file":"ErrorResponseItem.js","sourceRoot":"","sources":["../../../src/requests/response/ErrorResponseItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,iDAA8E;AAoB9E,IAAa,iBAAiB,GAA9B,MAAa,iBAAkB,SAAQ,2BAAY;IAWxC,MAAM,CAAC,IAAI,CAAC,KAAiD;QAChE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAA;AATG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;+CACQ;AAInB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;kDACW;AATb,iBAAiB;IAD7B,IAAA,gBAAI,EAAC,mBAAmB,CAAC;GACb,iBAAiB,CAc7B;AAdY,8CAAiB"}
@@ -5,14 +5,17 @@ export interface RejectResponseItemJSON extends ResponseItemJSON {
5
5
  code?: string;
6
6
  message?: string;
7
7
  }
8
+ export declare type RejectResponseItemJSONDerivations = RejectResponseItemJSON;
8
9
  export interface IRejectResponseItem extends IResponseItem {
9
10
  result: ResponseItemResult.Rejected;
10
11
  code?: string;
11
12
  message?: string;
12
13
  }
14
+ export declare type IRejectResponseItemDerivations = IRejectResponseItem;
13
15
  export declare class RejectResponseItem extends ResponseItem implements IRejectResponseItem {
14
16
  result: ResponseItemResult.Rejected;
15
17
  code?: string;
16
18
  message?: string;
17
- static from(value: IRejectResponseItem | RejectResponseItemJSON): Promise<RejectResponseItem>;
19
+ static from(value: IRejectResponseItem | RejectResponseItemJSON): RejectResponseItem;
18
20
  }
21
+ export declare type RejectResponseItemDerivations = RejectResponseItem;