@nmshd/content 2.0.0-beta.3 → 2.0.0-beta.30

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 (380) hide show
  1. package/dist/attributes/AbstractAttribute.js.map +1 -1
  2. package/dist/attributes/AbstractAttributeQuery.d.ts +0 -3
  3. package/dist/attributes/AbstractAttributeQuery.js +0 -7
  4. package/dist/attributes/AbstractAttributeQuery.js.map +1 -1
  5. package/dist/attributes/Attribute.d.ts +2 -2
  6. package/dist/attributes/Attribute.js +0 -8
  7. package/dist/attributes/Attribute.js.map +1 -1
  8. package/dist/attributes/AttributeValueTypes.d.ts +47 -0
  9. package/dist/attributes/AttributeValueTypes.js +139 -0
  10. package/dist/attributes/AttributeValueTypes.js.map +1 -0
  11. package/dist/attributes/IdentityAttribute.d.ts +7 -6
  12. package/dist/attributes/IdentityAttribute.js +4 -4
  13. package/dist/attributes/IdentityAttribute.js.map +1 -1
  14. package/dist/attributes/IdentityAttributeQuery.d.ts +6 -1
  15. package/dist/attributes/IdentityAttributeQuery.js +12 -2
  16. package/dist/attributes/IdentityAttributeQuery.js.map +1 -1
  17. package/dist/attributes/RelationshipAttribute.d.ts +8 -36
  18. package/dist/attributes/RelationshipAttribute.js +8 -38
  19. package/dist/attributes/RelationshipAttribute.js.map +1 -1
  20. package/dist/attributes/RelationshipAttributeConfidentiality.d.ts +30 -0
  21. package/dist/attributes/RelationshipAttributeConfidentiality.js +35 -0
  22. package/dist/attributes/RelationshipAttributeConfidentiality.js.map +1 -0
  23. package/dist/attributes/RelationshipAttributeQuery.d.ts +37 -5
  24. package/dist/attributes/RelationshipAttributeQuery.js +64 -10
  25. package/dist/attributes/RelationshipAttributeQuery.js.map +1 -1
  26. package/dist/attributes/ThirdPartyRelationshipAttributeQuery.d.ts +20 -0
  27. package/dist/attributes/ThirdPartyRelationshipAttributeQuery.js +43 -0
  28. package/dist/attributes/ThirdPartyRelationshipAttributeQuery.js.map +1 -0
  29. package/dist/attributes/constants/AttributeValueTypeQueryMapping.d.ts +1 -0
  30. package/dist/attributes/constants/AttributeValueTypeQueryMapping.js +7 -0
  31. package/dist/attributes/constants/AttributeValueTypeQueryMapping.js.map +1 -0
  32. package/dist/attributes/constants/index.d.ts +1 -0
  33. package/dist/attributes/constants/index.js +1 -0
  34. package/dist/attributes/constants/index.js.map +1 -1
  35. package/dist/attributes/hints/RenderHints.d.ts +2 -1
  36. package/dist/attributes/hints/RenderHints.js.map +1 -1
  37. package/dist/attributes/hints/ValueHints.d.ts +1 -0
  38. package/dist/attributes/hints/ValueHints.js.map +1 -1
  39. package/dist/attributes/hints/ValueHintsValue.js.map +1 -1
  40. package/dist/attributes/hints/index.d.ts +0 -1
  41. package/dist/attributes/hints/index.js +0 -1
  42. package/dist/attributes/hints/index.js.map +1 -1
  43. package/dist/attributes/index.d.ts +3 -0
  44. package/dist/attributes/index.js +3 -0
  45. package/dist/attributes/index.js.map +1 -1
  46. package/dist/attributes/types/AbstractBoolean.js.map +1 -1
  47. package/dist/attributes/types/AbstractFloat.js.map +1 -1
  48. package/dist/attributes/types/AbstractInteger.d.ts +0 -1
  49. package/dist/attributes/types/AbstractInteger.js +0 -3
  50. package/dist/attributes/types/AbstractInteger.js.map +1 -1
  51. package/dist/attributes/types/AbstractString.js +2 -2
  52. package/dist/attributes/types/AbstractString.js.map +1 -1
  53. package/dist/attributes/types/address/AbstractAddress.js.map +1 -1
  54. package/dist/attributes/types/address/City.d.ts +8 -2
  55. package/dist/attributes/types/address/City.js +3 -0
  56. package/dist/attributes/types/address/City.js.map +1 -1
  57. package/dist/attributes/types/address/Country.d.ts +9 -2
  58. package/dist/attributes/types/address/Country.js +5 -2
  59. package/dist/attributes/types/address/Country.js.map +1 -1
  60. package/dist/attributes/types/address/DeliveryBoxAddress.d.ts +15 -14
  61. package/dist/attributes/types/address/DeliveryBoxAddress.js.map +1 -1
  62. package/dist/attributes/types/address/HouseNumber.d.ts +9 -2
  63. package/dist/attributes/types/address/HouseNumber.js +6 -0
  64. package/dist/attributes/types/address/HouseNumber.js.map +1 -1
  65. package/dist/attributes/types/address/PostOfficeBoxAddress.d.ts +8 -7
  66. package/dist/attributes/types/address/PostOfficeBoxAddress.js.map +1 -1
  67. package/dist/attributes/types/address/State.d.ts +8 -2
  68. package/dist/attributes/types/address/State.js +3 -0
  69. package/dist/attributes/types/address/State.js.map +1 -1
  70. package/dist/attributes/types/address/Street.d.ts +9 -2
  71. package/dist/attributes/types/address/Street.js +6 -0
  72. package/dist/attributes/types/address/Street.js.map +1 -1
  73. package/dist/attributes/types/address/StreetAddress.d.ts +22 -21
  74. package/dist/attributes/types/address/StreetAddress.js.map +1 -1
  75. package/dist/attributes/types/address/ZipCode.d.ts +9 -2
  76. package/dist/attributes/types/address/ZipCode.js +6 -0
  77. package/dist/attributes/types/address/ZipCode.js.map +1 -1
  78. package/dist/attributes/types/{name/LegalNameDE.d.ts → affiliation/Affiliation.d.ts} +35 -604
  79. package/dist/attributes/types/affiliation/Affiliation.js +77 -0
  80. package/dist/attributes/types/affiliation/Affiliation.js.map +1 -0
  81. package/dist/attributes/types/affiliation/AffiliationOrganization.d.ts +10 -0
  82. package/dist/attributes/types/affiliation/AffiliationOrganization.js +24 -0
  83. package/dist/attributes/types/affiliation/AffiliationOrganization.js.map +1 -0
  84. package/dist/attributes/types/affiliation/AffiliationRole.d.ts +10 -0
  85. package/dist/attributes/types/affiliation/AffiliationRole.js +24 -0
  86. package/dist/attributes/types/affiliation/AffiliationRole.js.map +1 -0
  87. package/dist/attributes/types/affiliation/AffiliationUnit.d.ts +10 -0
  88. package/dist/attributes/types/affiliation/AffiliationUnit.js +24 -0
  89. package/dist/attributes/types/affiliation/AffiliationUnit.js.map +1 -0
  90. package/dist/attributes/types/affiliation/index.d.ts +4 -0
  91. package/dist/attributes/types/affiliation/index.js +21 -0
  92. package/dist/attributes/types/affiliation/index.js.map +1 -0
  93. package/dist/attributes/types/birth/BirthCity.d.ts +9 -2
  94. package/dist/attributes/types/birth/BirthCity.js +8 -2
  95. package/dist/attributes/types/birth/BirthCity.js.map +1 -1
  96. package/dist/attributes/types/birth/BirthCountry.d.ts +9 -2
  97. package/dist/attributes/types/birth/BirthCountry.js +8 -2
  98. package/dist/attributes/types/birth/BirthCountry.js.map +1 -1
  99. package/dist/attributes/types/birth/BirthDate.d.ts +22 -21
  100. package/dist/attributes/types/birth/BirthDate.js.map +1 -1
  101. package/dist/attributes/types/birth/BirthDay.d.ts +9 -2
  102. package/dist/attributes/types/birth/BirthDay.js +8 -2
  103. package/dist/attributes/types/birth/BirthDay.js.map +1 -1
  104. package/dist/attributes/types/birth/BirthMonth.d.ts +9 -2
  105. package/dist/attributes/types/birth/BirthMonth.js +6 -0
  106. package/dist/attributes/types/birth/BirthMonth.js.map +1 -1
  107. package/dist/attributes/types/birth/BirthPlace.d.ts +22 -21
  108. package/dist/attributes/types/birth/BirthPlace.js.map +1 -1
  109. package/dist/attributes/types/birth/BirthState.d.ts +9 -2
  110. package/dist/attributes/types/birth/BirthState.js +8 -2
  111. package/dist/attributes/types/birth/BirthState.js.map +1 -1
  112. package/dist/attributes/types/birth/BirthYear.d.ts +10 -2
  113. package/dist/attributes/types/birth/BirthYear.js +8 -2
  114. package/dist/attributes/types/birth/BirthYear.js.map +1 -1
  115. package/dist/attributes/types/communication/CommunicationLanguage.d.ts +9 -1
  116. package/dist/attributes/types/communication/CommunicationLanguage.js +6 -0
  117. package/dist/attributes/types/communication/CommunicationLanguage.js.map +1 -1
  118. package/dist/attributes/types/communication/EMailAddress.d.ts +9 -1
  119. package/dist/attributes/types/communication/EMailAddress.js +6 -0
  120. package/dist/attributes/types/communication/EMailAddress.js.map +1 -1
  121. package/dist/attributes/types/communication/Fax.d.ts +10 -2
  122. package/dist/attributes/types/communication/Fax.js +8 -2
  123. package/dist/attributes/types/communication/Fax.js.map +1 -1
  124. package/dist/attributes/types/communication/Phone.d.ts +10 -2
  125. package/dist/attributes/types/communication/Phone.js +8 -2
  126. package/dist/attributes/types/communication/Phone.js.map +1 -1
  127. package/dist/attributes/types/communication/Website.d.ts +9 -1
  128. package/dist/attributes/types/communication/Website.js +6 -0
  129. package/dist/attributes/types/communication/Website.js.map +1 -1
  130. package/dist/attributes/types/dates/AbstractDateString.js.map +1 -1
  131. package/dist/attributes/types/dates/AbstractDay.d.ts +8 -1
  132. package/dist/attributes/types/dates/AbstractDay.js.map +1 -1
  133. package/dist/attributes/types/dates/AbstractMonth.d.ts +8 -1
  134. package/dist/attributes/types/dates/AbstractMonth.js.map +1 -1
  135. package/dist/attributes/types/dates/AbstractYear.js.map +1 -1
  136. package/dist/attributes/types/identity/DisplayName.d.ts +10 -0
  137. package/dist/attributes/types/{name → identity}/DisplayName.js +6 -0
  138. package/dist/attributes/types/identity/DisplayName.js.map +1 -0
  139. package/dist/attributes/types/identity/FileReference.d.ts +11 -0
  140. package/dist/attributes/types/{files → identity}/FileReference.js +6 -0
  141. package/dist/attributes/types/identity/FileReference.js.map +1 -0
  142. package/dist/attributes/types/{files → identity}/index.d.ts +1 -0
  143. package/dist/attributes/types/{files → identity}/index.js +1 -0
  144. package/dist/attributes/types/identity/index.js.map +1 -0
  145. package/dist/attributes/types/index.d.ts +2 -3
  146. package/dist/attributes/types/index.js +2 -3
  147. package/dist/attributes/types/index.js.map +1 -1
  148. package/dist/attributes/types/measurements/AbstractLengthMeasurement.js.map +1 -1
  149. package/dist/attributes/types/measurements/AbstractMeasurement.js.map +1 -1
  150. package/dist/attributes/types/name/BirthName.d.ts +9 -2
  151. package/dist/attributes/types/name/BirthName.js +6 -0
  152. package/dist/attributes/types/name/BirthName.js.map +1 -1
  153. package/dist/attributes/types/name/GivenName.d.ts +9 -2
  154. package/dist/attributes/types/name/GivenName.js +6 -0
  155. package/dist/attributes/types/name/GivenName.js.map +1 -1
  156. package/dist/attributes/types/name/HonorificPrefix.js.map +1 -1
  157. package/dist/attributes/types/name/HonorificSuffix.js.map +1 -1
  158. package/dist/attributes/types/name/MiddleName.d.ts +3 -0
  159. package/dist/attributes/types/{person/Picture.js → name/MiddleName.js} +8 -8
  160. package/dist/attributes/types/name/MiddleName.js.map +1 -0
  161. package/dist/attributes/types/name/{Salutation.d.ts → PersonName.d.ts} +24 -29
  162. package/dist/attributes/types/name/{Salutation.js → PersonName.js} +32 -23
  163. package/dist/attributes/types/name/PersonName.js.map +1 -0
  164. package/dist/attributes/types/name/Pseudonym.d.ts +9 -2
  165. package/dist/attributes/types/name/Pseudonym.js +6 -0
  166. package/dist/attributes/types/name/Pseudonym.js.map +1 -1
  167. package/dist/attributes/types/name/Surname.js.map +1 -1
  168. package/dist/attributes/types/name/index.d.ts +2 -4
  169. package/dist/attributes/types/name/index.js +2 -4
  170. package/dist/attributes/types/name/index.js.map +1 -1
  171. package/dist/attributes/types/person/Citizenship.d.ts +10 -2
  172. package/dist/attributes/types/person/Citizenship.js +8 -2
  173. package/dist/attributes/types/person/Citizenship.js.map +1 -1
  174. package/dist/attributes/types/person/JobTitle.d.ts +10 -0
  175. package/dist/attributes/types/person/JobTitle.js +24 -0
  176. package/dist/attributes/types/person/JobTitle.js.map +1 -0
  177. package/dist/attributes/types/person/Nationality.d.ts +10 -2
  178. package/dist/attributes/types/person/Nationality.js +8 -2
  179. package/dist/attributes/types/person/Nationality.js.map +1 -1
  180. package/dist/attributes/types/person/Sex.d.ts +10 -3
  181. package/dist/attributes/types/person/Sex.js +8 -2
  182. package/dist/attributes/types/person/Sex.js.map +1 -1
  183. package/dist/attributes/types/person/index.d.ts +1 -2
  184. package/dist/attributes/types/person/index.js +1 -2
  185. package/dist/attributes/types/person/index.js.map +1 -1
  186. package/dist/attributes/types/proprietary/ProprietaryBoolean.d.ts +4 -1
  187. package/dist/attributes/types/proprietary/ProprietaryBoolean.js +6 -0
  188. package/dist/attributes/types/proprietary/ProprietaryBoolean.js.map +1 -1
  189. package/dist/attributes/types/proprietary/ProprietaryCountry.d.ts +3 -0
  190. package/dist/attributes/types/proprietary/ProprietaryCountry.js +6 -0
  191. package/dist/attributes/types/proprietary/ProprietaryCountry.js.map +1 -1
  192. package/dist/attributes/types/proprietary/ProprietaryEMailAddress.d.ts +3 -0
  193. package/dist/attributes/types/proprietary/ProprietaryEMailAddress.js +6 -0
  194. package/dist/attributes/types/proprietary/ProprietaryEMailAddress.js.map +1 -1
  195. package/dist/attributes/types/proprietary/ProprietaryFileReference.d.ts +3 -0
  196. package/dist/attributes/types/proprietary/ProprietaryFileReference.js +6 -0
  197. package/dist/attributes/types/proprietary/ProprietaryFileReference.js.map +1 -1
  198. package/dist/attributes/types/proprietary/ProprietaryFloat.d.ts +3 -0
  199. package/dist/attributes/types/proprietary/ProprietaryFloat.js +6 -0
  200. package/dist/attributes/types/proprietary/ProprietaryFloat.js.map +1 -1
  201. package/dist/attributes/types/proprietary/ProprietaryHEXColor.d.ts +3 -0
  202. package/dist/attributes/types/proprietary/ProprietaryHEXColor.js +6 -0
  203. package/dist/attributes/types/proprietary/ProprietaryHEXColor.js.map +1 -1
  204. package/dist/attributes/types/proprietary/ProprietaryInteger.d.ts +3 -1
  205. package/dist/attributes/types/proprietary/ProprietaryInteger.js +3 -0
  206. package/dist/attributes/types/proprietary/ProprietaryInteger.js.map +1 -1
  207. package/dist/attributes/types/proprietary/ProprietaryLanguage.d.ts +3 -0
  208. package/dist/attributes/types/proprietary/ProprietaryLanguage.js +6 -0
  209. package/dist/attributes/types/proprietary/ProprietaryLanguage.js.map +1 -1
  210. package/dist/attributes/types/proprietary/ProprietaryPhoneNumber.d.ts +3 -0
  211. package/dist/attributes/types/proprietary/ProprietaryPhoneNumber.js +6 -0
  212. package/dist/attributes/types/proprietary/ProprietaryPhoneNumber.js.map +1 -1
  213. package/dist/attributes/types/proprietary/ProprietaryString.d.ts +3 -0
  214. package/dist/attributes/types/proprietary/ProprietaryString.js +6 -0
  215. package/dist/attributes/types/proprietary/ProprietaryString.js.map +1 -1
  216. package/dist/attributes/types/proprietary/ProprietaryURL.d.ts +3 -0
  217. package/dist/attributes/types/proprietary/ProprietaryURL.js +6 -0
  218. package/dist/attributes/types/proprietary/ProprietaryURL.js.map +1 -1
  219. package/dist/attributes/types/proprietary/index.d.ts +0 -1
  220. package/dist/attributes/types/proprietary/index.js +0 -1
  221. package/dist/attributes/types/proprietary/index.js.map +1 -1
  222. package/dist/attributes/types/strings/AbstractCountry.js.map +1 -1
  223. package/dist/attributes/types/strings/AbstractEMailAddress.js +2 -2
  224. package/dist/attributes/types/strings/AbstractEMailAddress.js.map +1 -1
  225. package/dist/attributes/types/strings/AbstractFileReference.js.map +1 -1
  226. package/dist/attributes/types/strings/AbstractHEXColor.js.map +1 -1
  227. package/dist/attributes/types/strings/AbstractLanguage.js.map +1 -1
  228. package/dist/attributes/types/strings/AbstractPhoneNumber.js.map +1 -1
  229. package/dist/attributes/types/strings/AbstractURL.js.map +1 -1
  230. package/dist/attributes/types/strings/index.d.ts +0 -1
  231. package/dist/attributes/types/strings/index.js +0 -1
  232. package/dist/attributes/types/strings/index.js.map +1 -1
  233. package/dist/buildInformation.js +5 -5
  234. package/dist/forms/Form.d.ts +1 -0
  235. package/dist/forms/Form.js.map +1 -1
  236. package/dist/forms/FormItem.js.map +1 -1
  237. package/dist/forms/items/FormItemBoolean.d.ts +1 -0
  238. package/dist/forms/items/FormItemBoolean.js.map +1 -1
  239. package/dist/forms/items/FormItemDate.d.ts +1 -0
  240. package/dist/forms/items/FormItemDate.js.map +1 -1
  241. package/dist/forms/items/FormItemInvisible.js.map +1 -1
  242. package/dist/forms/items/FormItemMultipleChoice.d.ts +1 -0
  243. package/dist/forms/items/FormItemMultipleChoice.js.map +1 -1
  244. package/dist/forms/items/FormItemMultipleChoiceItem.d.ts +1 -0
  245. package/dist/forms/items/FormItemMultipleChoiceItem.js.map +1 -1
  246. package/dist/forms/items/FormItemSelect.d.ts +1 -0
  247. package/dist/forms/items/FormItemSelect.js.map +1 -1
  248. package/dist/forms/items/FormItemSelectItem.d.ts +1 -0
  249. package/dist/forms/items/FormItemSelectItem.js.map +1 -1
  250. package/dist/forms/items/FormItemString.d.ts +1 -0
  251. package/dist/forms/items/FormItemString.js.map +1 -1
  252. package/dist/forms/items/FormItemText.d.ts +1 -0
  253. package/dist/forms/items/FormItemText.js.map +1 -1
  254. package/dist/messages/Mail.d.ts +3 -2
  255. package/dist/messages/Mail.js +2 -8
  256. package/dist/messages/Mail.js.map +1 -1
  257. package/dist/messages/RequestMail.d.ts +21 -6
  258. package/dist/messages/RequestMail.js +24 -21
  259. package/dist/messages/RequestMail.js.map +1 -1
  260. package/dist/relationships/RelationshipCreationChangeRequestContent.d.ts +18 -0
  261. package/dist/relationships/{RelationshipCreationChangeRequestBody.js → RelationshipCreationChangeRequestContent.js} +12 -9
  262. package/dist/relationships/RelationshipCreationChangeRequestContent.js.map +1 -0
  263. package/dist/relationships/{RelationshipTemplateBody.d.ts → RelationshipTemplateContent.d.ts} +6 -4
  264. package/dist/relationships/{RelationshipTemplateBody.js → RelationshipTemplateContent.js} +14 -11
  265. package/dist/relationships/RelationshipTemplateContent.js.map +1 -0
  266. package/dist/relationships/index.d.ts +2 -2
  267. package/dist/relationships/index.js +2 -2
  268. package/dist/relationships/index.js.map +1 -1
  269. package/dist/requests/Request.d.ts +2 -1
  270. package/dist/requests/Request.js +2 -2
  271. package/dist/requests/Request.js.map +1 -1
  272. package/dist/requests/RequestItem.d.ts +18 -5
  273. package/dist/requests/RequestItem.js +7 -2
  274. package/dist/requests/RequestItem.js.map +1 -1
  275. package/dist/requests/RequestItemGroup.d.ts +4 -3
  276. package/dist/requests/RequestItemGroup.js +2 -2
  277. package/dist/requests/RequestItemGroup.js.map +1 -1
  278. package/dist/requests/items/authentication/AuthenticationRequestItem.d.ts +10 -0
  279. package/dist/requests/items/authentication/AuthenticationRequestItem.js +24 -0
  280. package/dist/requests/items/authentication/AuthenticationRequestItem.js.map +1 -0
  281. package/dist/requests/items/consent/ConsentRequestItem.d.ts +3 -4
  282. package/dist/requests/items/consent/ConsentRequestItem.js +8 -7
  283. package/dist/requests/items/consent/ConsentRequestItem.js.map +1 -1
  284. package/dist/requests/items/{createAttribute → createRelationshipAttribute}/CreateAttributeAcceptResponseItem.d.ts +2 -0
  285. package/dist/requests/items/{createAttribute → createRelationshipAttribute}/CreateAttributeAcceptResponseItem.js +3 -0
  286. package/dist/requests/items/createRelationshipAttribute/CreateAttributeAcceptResponseItem.js.map +1 -0
  287. package/dist/requests/items/{createAttribute → createRelationshipAttribute}/CreateAttributeRequestItem.d.ts +5 -7
  288. package/dist/requests/items/{createAttribute → createRelationshipAttribute}/CreateAttributeRequestItem.js +4 -7
  289. package/dist/requests/items/createRelationshipAttribute/CreateAttributeRequestItem.js.map +1 -0
  290. package/dist/requests/items/index.d.ts +6 -2
  291. package/dist/requests/items/index.js +6 -2
  292. package/dist/requests/items/index.js.map +1 -1
  293. package/dist/requests/items/proposeAttribute/ProposeAttributeAcceptResponseItem.d.ts +2 -0
  294. package/dist/requests/items/proposeAttribute/ProposeAttributeAcceptResponseItem.js +3 -0
  295. package/dist/requests/items/proposeAttribute/ProposeAttributeAcceptResponseItem.js.map +1 -1
  296. package/dist/requests/items/proposeAttribute/ProposeAttributeRequestItem.d.ts +3 -1
  297. package/dist/requests/items/proposeAttribute/ProposeAttributeRequestItem.js +9 -4
  298. package/dist/requests/items/proposeAttribute/ProposeAttributeRequestItem.js.map +1 -1
  299. package/dist/requests/items/readAttribute/ReadAttributeAcceptResponseItem.d.ts +2 -0
  300. package/dist/requests/items/readAttribute/ReadAttributeAcceptResponseItem.js +3 -0
  301. package/dist/requests/items/readAttribute/ReadAttributeAcceptResponseItem.js.map +1 -1
  302. package/dist/requests/items/readAttribute/ReadAttributeRequestItem.d.ts +5 -4
  303. package/dist/requests/items/readAttribute/ReadAttributeRequestItem.js +5 -3
  304. package/dist/requests/items/readAttribute/ReadAttributeRequestItem.js.map +1 -1
  305. package/dist/requests/items/registerAttributeListener/RegisterAttributeListenerAcceptResponseItem.d.ts +13 -0
  306. package/dist/{attributes/types/proprietary/ProprietaryDataURL.js → requests/items/registerAttributeListener/RegisterAttributeListenerAcceptResponseItem.js} +15 -14
  307. package/dist/requests/items/registerAttributeListener/RegisterAttributeListenerAcceptResponseItem.js.map +1 -0
  308. package/dist/requests/items/registerAttributeListener/RegisterAttributeListenerRequestItem.d.ts +14 -0
  309. package/dist/requests/items/registerAttributeListener/RegisterAttributeListenerRequestItem.js +35 -0
  310. package/dist/requests/items/registerAttributeListener/RegisterAttributeListenerRequestItem.js.map +1 -0
  311. package/dist/requests/items/shareAttribute/ShareAttributeAcceptResponseItem.d.ts +14 -0
  312. package/dist/requests/items/shareAttribute/ShareAttributeAcceptResponseItem.js +33 -0
  313. package/dist/requests/items/shareAttribute/ShareAttributeAcceptResponseItem.js.map +1 -0
  314. package/dist/requests/items/shareAttribute/ShareAttributeRequestItem.d.ts +12 -8
  315. package/dist/requests/items/shareAttribute/ShareAttributeRequestItem.js +9 -5
  316. package/dist/requests/items/shareAttribute/ShareAttributeRequestItem.js.map +1 -1
  317. package/dist/requests/old/AttributesChangeRequest.d.ts +2 -2
  318. package/dist/requests/old/AttributesChangeRequest.js +0 -11
  319. package/dist/requests/old/AttributesChangeRequest.js.map +1 -1
  320. package/dist/requests/old/AttributesRequest.d.ts +2 -2
  321. package/dist/requests/old/AttributesRequest.js +0 -10
  322. package/dist/requests/old/AttributesRequest.js.map +1 -1
  323. package/dist/requests/old/AttributesShareRequest.d.ts +2 -1
  324. package/dist/requests/old/AttributesShareRequest.js.map +1 -1
  325. package/dist/requests/response/AcceptResponseItem.d.ts +5 -5
  326. package/dist/requests/response/AcceptResponseItem.js +2 -2
  327. package/dist/requests/response/AcceptResponseItem.js.map +1 -1
  328. package/dist/requests/response/ErrorResponseItem.d.ts +2 -1
  329. package/dist/requests/response/ErrorResponseItem.js +2 -2
  330. package/dist/requests/response/ErrorResponseItem.js.map +1 -1
  331. package/dist/requests/response/RejectResponseItem.d.ts +2 -1
  332. package/dist/requests/response/RejectResponseItem.js +2 -2
  333. package/dist/requests/response/RejectResponseItem.js.map +1 -1
  334. package/dist/requests/response/Response.d.ts +2 -1
  335. package/dist/requests/response/Response.js +2 -2
  336. package/dist/requests/response/Response.js.map +1 -1
  337. package/dist/requests/response/ResponseItem.d.ts +1 -1
  338. package/dist/requests/response/ResponseItem.js +2 -2
  339. package/dist/requests/response/ResponseItem.js.map +1 -1
  340. package/dist/requests/response/ResponseItemGroup.d.ts +2 -1
  341. package/dist/requests/response/ResponseItemGroup.js +2 -2
  342. package/dist/requests/response/ResponseItemGroup.js.map +1 -1
  343. package/lib-web/nmshd.content.js +4160 -4591
  344. package/lib-web/nmshd.content.min.js +1 -1
  345. package/package.json +17 -16
  346. package/dist/attributes/hints/RelationshipAttributeCreationHints.d.ts +0 -31
  347. package/dist/attributes/hints/RelationshipAttributeCreationHints.js +0 -64
  348. package/dist/attributes/hints/RelationshipAttributeCreationHints.js.map +0 -1
  349. package/dist/attributes/types/AttributeList.d.ts +0 -1
  350. package/dist/attributes/types/AttributeList.js +0 -37
  351. package/dist/attributes/types/AttributeList.js.map +0 -1
  352. package/dist/attributes/types/AttributeTypeMapping.d.ts +0 -1
  353. package/dist/attributes/types/AttributeTypeMapping.js +0 -9
  354. package/dist/attributes/types/AttributeTypeMapping.js.map +0 -1
  355. package/dist/attributes/types/files/FileReference.d.ts +0 -3
  356. package/dist/attributes/types/files/FileReference.js.map +0 -1
  357. package/dist/attributes/types/files/index.js.map +0 -1
  358. package/dist/attributes/types/name/AbstractLegalName.d.ts +0 -3
  359. package/dist/attributes/types/name/AbstractLegalName.js +0 -8
  360. package/dist/attributes/types/name/AbstractLegalName.js.map +0 -1
  361. package/dist/attributes/types/name/DisplayName.d.ts +0 -3
  362. package/dist/attributes/types/name/DisplayName.js.map +0 -1
  363. package/dist/attributes/types/name/LegalNameDE.js +0 -92
  364. package/dist/attributes/types/name/LegalNameDE.js.map +0 -1
  365. package/dist/attributes/types/name/Salutation.js.map +0 -1
  366. package/dist/attributes/types/person/Age.d.ts +0 -6
  367. package/dist/attributes/types/person/Age.js +0 -34
  368. package/dist/attributes/types/person/Age.js.map +0 -1
  369. package/dist/attributes/types/person/Picture.d.ts +0 -3
  370. package/dist/attributes/types/person/Picture.js.map +0 -1
  371. package/dist/attributes/types/proprietary/ProprietaryDataURL.d.ts +0 -14
  372. package/dist/attributes/types/proprietary/ProprietaryDataURL.js.map +0 -1
  373. package/dist/attributes/types/strings/AbstractDataURL.d.ts +0 -7
  374. package/dist/attributes/types/strings/AbstractDataURL.js +0 -40
  375. package/dist/attributes/types/strings/AbstractDataURL.js.map +0 -1
  376. package/dist/relationships/RelationshipCreationChangeRequestBody.d.ts +0 -16
  377. package/dist/relationships/RelationshipCreationChangeRequestBody.js.map +0 -1
  378. package/dist/relationships/RelationshipTemplateBody.js.map +0 -1
  379. package/dist/requests/items/createAttribute/CreateAttributeAcceptResponseItem.js.map +0 -1
  380. package/dist/requests/items/createAttribute/CreateAttributeRequestItem.js.map +0 -1
@@ -1,28 +1,36 @@
1
1
  import { AbstractComplexValue, AbstractComplexValueJSON, IAbstractComplexValue } from "../../AbstractComplexValue";
2
2
  import { RenderHints, ValueHints } from "../../hints";
3
3
  import { AbstractStringJSON, IAbstractString } from "../AbstractString";
4
- import { DisplayName } from "./DisplayName";
5
4
  import { GivenName } from "./GivenName";
6
5
  import { HonorificPrefix } from "./HonorificPrefix";
7
6
  import { HonorificSuffix } from "./HonorificSuffix";
7
+ import { MiddleName } from "./MiddleName";
8
8
  import { Surname } from "./Surname";
9
- export interface SalutationJSON extends AbstractComplexValueJSON {
10
- displayName: AbstractStringJSON;
11
- givenNames?: AbstractStringJSON[];
12
- surname?: AbstractStringJSON;
9
+ export interface PersonNameJSON extends AbstractComplexValueJSON {
10
+ "@type": "PersonName";
11
+ givenName: AbstractStringJSON;
12
+ middleName?: AbstractStringJSON;
13
+ surname: AbstractStringJSON;
13
14
  honorificSuffix?: AbstractStringJSON;
14
15
  honorificPrefix?: AbstractStringJSON;
15
16
  }
16
- export interface ISalutation extends IAbstractComplexValue {
17
- displayName: DisplayName | IAbstractString | string;
18
- givenNames?: GivenName[] | IAbstractString[] | string[];
19
- surname?: Surname | IAbstractString | string;
17
+ export interface IPersonName extends IAbstractComplexValue {
18
+ givenName: GivenName | IAbstractString | string;
19
+ middleName?: MiddleName | IAbstractString | string;
20
+ surname: Surname | IAbstractString | string;
20
21
  honorificSuffix?: HonorificSuffix | IAbstractString | string;
21
22
  honorificPrefix?: HonorificPrefix | IAbstractString | string;
22
23
  }
23
- export declare class Salutation extends AbstractComplexValue implements ISalutation {
24
+ export declare class PersonName extends AbstractComplexValue implements IPersonName {
24
25
  static readonly propertyNames: {
25
- displayName: {
26
+ givenName: {
27
+ toJSON: import("easy-tsnameof").PathHandlers<{
28
+ $path: (path: import("easy-tsnameof").PathKey[]) => string;
29
+ $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
30
+ toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
31
+ valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
32
+ [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
33
+ }>;
26
34
  value: import("easy-tsnameof").PathHandlers<{
27
35
  $path: (path: import("easy-tsnameof").PathKey[]) => string;
28
36
  $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
@@ -286,13 +294,6 @@ export declare class Salutation extends AbstractComplexValue implements ISalutat
286
294
  valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
287
295
  [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
288
296
  }>;
289
- toJSON: import("easy-tsnameof").PathHandlers<{
290
- $path: (path: import("easy-tsnameof").PathKey[]) => string;
291
- $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
292
- toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
293
- valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
294
- [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
295
- }>;
296
297
  } & import("easy-tsnameof").PathHandlers<{
297
298
  $path: (path: import("easy-tsnameof").PathKey[]) => string;
298
299
  $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
@@ -300,7 +301,7 @@ export declare class Salutation extends AbstractComplexValue implements ISalutat
300
301
  valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
301
302
  [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
302
303
  }>;
303
- givenNames: ({
304
+ middleName: {
304
305
  value: import("easy-tsnameof").PathHandlers<{
305
306
  $path: (path: import("easy-tsnameof").PathKey[]) => string;
306
307
  $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
@@ -577,12 +578,6 @@ export declare class Salutation extends AbstractComplexValue implements ISalutat
577
578
  toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
578
579
  valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
579
580
  [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
580
- }>)[] & import("easy-tsnameof").PathHandlers<{
581
- $path: (path: import("easy-tsnameof").PathKey[]) => string;
582
- $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
583
- toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
584
- valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
585
- [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
586
581
  }>;
587
582
  surname: {
588
583
  value: import("easy-tsnameof").PathHandlers<{
@@ -1688,13 +1683,13 @@ export declare class Salutation extends AbstractComplexValue implements ISalutat
1688
1683
  valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
1689
1684
  [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
1690
1685
  }>;
1691
- displayName: DisplayName;
1692
- givenNames?: GivenName[];
1693
- surname?: Surname;
1686
+ givenName: GivenName;
1687
+ middleName?: MiddleName;
1688
+ surname: Surname;
1694
1689
  honorificSuffix?: HonorificSuffix;
1695
1690
  honorificPrefix?: HonorificPrefix;
1696
1691
  static get valueHints(): ValueHints;
1697
1692
  static get renderHints(): RenderHints;
1698
- static from(value: ISalutation | SalutationJSON): Salutation;
1693
+ static from(value: IPersonName | PersonNameJSON): PersonName;
1699
1694
  toString(): string;
1700
1695
  }
@@ -12,23 +12,23 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
12
12
  return (mod && mod.__esModule) ? mod : { "default": mod };
13
13
  };
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.Salutation = void 0;
15
+ exports.PersonName = void 0;
16
16
  const ts_serval_1 = require("@js-soft/ts-serval");
17
17
  const easy_tsnameof_1 = __importDefault(require("easy-tsnameof"));
18
18
  const AbstractAttributeValue_1 = require("../../AbstractAttributeValue");
19
19
  const AbstractComplexValue_1 = require("../../AbstractComplexValue");
20
20
  const hints_1 = require("../../hints");
21
- const DisplayName_1 = require("./DisplayName");
22
21
  const GivenName_1 = require("./GivenName");
23
22
  const HonorificPrefix_1 = require("./HonorificPrefix");
24
23
  const HonorificSuffix_1 = require("./HonorificSuffix");
24
+ const MiddleName_1 = require("./MiddleName");
25
25
  const Surname_1 = require("./Surname");
26
- let Salutation = class Salutation extends AbstractComplexValue_1.AbstractComplexValue {
26
+ let PersonName = class PersonName extends AbstractComplexValue_1.AbstractComplexValue {
27
27
  static get valueHints() {
28
28
  return hints_1.ValueHints.from({
29
29
  propertyHints: {
30
- [this.propertyNames.displayName.$path]: DisplayName_1.DisplayName.valueHints,
31
- [this.propertyNames.givenNames.$path]: GivenName_1.GivenName.valueHints,
30
+ [this.propertyNames.givenName.$path]: GivenName_1.GivenName.valueHints,
31
+ [this.propertyNames.middleName.$path]: MiddleName_1.MiddleName.valueHints,
32
32
  [this.propertyNames.surname.$path]: Surname_1.Surname.valueHints,
33
33
  [this.propertyNames.honorificSuffix.$path]: HonorificSuffix_1.HonorificSuffix.valueHints,
34
34
  [this.propertyNames.honorificPrefix.$path]: HonorificPrefix_1.HonorificPrefix.valueHints
@@ -38,8 +38,8 @@ let Salutation = class Salutation extends AbstractComplexValue_1.AbstractComplex
38
38
  static get renderHints() {
39
39
  return super.renderHints.copyWith({
40
40
  propertyHints: {
41
- [this.propertyNames.displayName.$path]: DisplayName_1.DisplayName.renderHints,
42
- [this.propertyNames.givenNames.$path]: GivenName_1.GivenName.renderHints,
41
+ [this.propertyNames.givenName.$path]: GivenName_1.GivenName.renderHints,
42
+ [this.propertyNames.middleName.$path]: MiddleName_1.MiddleName.renderHints,
43
43
  [this.propertyNames.surname.$path]: Surname_1.Surname.renderHints,
44
44
  [this.propertyNames.honorificSuffix.$path]: HonorificSuffix_1.HonorificSuffix.renderHints,
45
45
  [this.propertyNames.honorificPrefix.$path]: HonorificPrefix_1.HonorificPrefix.renderHints
@@ -50,37 +50,46 @@ let Salutation = class Salutation extends AbstractComplexValue_1.AbstractComplex
50
50
  return this.fromAny(value);
51
51
  }
52
52
  toString() {
53
- return this.displayName.toString();
53
+ const names = [];
54
+ if (this.honorificPrefix)
55
+ names.push(this.honorificPrefix.value);
56
+ names.push(this.givenName.value);
57
+ if (this.middleName)
58
+ names.push(this.middleName.value);
59
+ names.push(this.surname.value);
60
+ if (this.honorificSuffix)
61
+ names.push(this.honorificSuffix.value);
62
+ return names.join(" ");
54
63
  }
55
64
  };
56
- Salutation.propertyNames = (0, easy_tsnameof_1.default)();
65
+ PersonName.propertyNames = (0, easy_tsnameof_1.default)();
57
66
  __decorate([
58
67
  (0, ts_serval_1.serialize)({ customGenerator: AbstractAttributeValue_1.AbstractAttributeValue.valueGenerator }),
59
68
  (0, ts_serval_1.validate)(),
60
- __metadata("design:type", DisplayName_1.DisplayName)
61
- ], Salutation.prototype, "displayName", void 0);
69
+ __metadata("design:type", GivenName_1.GivenName)
70
+ ], PersonName.prototype, "givenName", void 0);
62
71
  __decorate([
63
- (0, ts_serval_1.serialize)({ type: GivenName_1.GivenName, customGenerator: AbstractAttributeValue_1.AbstractAttributeValue.valueArrayGenerator }),
72
+ (0, ts_serval_1.serialize)({ customGenerator: AbstractAttributeValue_1.AbstractAttributeValue.valueGenerator }),
64
73
  (0, ts_serval_1.validate)({ nullable: true }),
65
- __metadata("design:type", Array)
66
- ], Salutation.prototype, "givenNames", void 0);
74
+ __metadata("design:type", MiddleName_1.MiddleName)
75
+ ], PersonName.prototype, "middleName", void 0);
67
76
  __decorate([
68
77
  (0, ts_serval_1.serialize)({ customGenerator: AbstractAttributeValue_1.AbstractAttributeValue.valueGenerator }),
69
- (0, ts_serval_1.validate)({ nullable: true }),
78
+ (0, ts_serval_1.validate)(),
70
79
  __metadata("design:type", Surname_1.Surname)
71
- ], Salutation.prototype, "surname", void 0);
80
+ ], PersonName.prototype, "surname", void 0);
72
81
  __decorate([
73
82
  (0, ts_serval_1.serialize)({ customGenerator: AbstractAttributeValue_1.AbstractAttributeValue.valueGenerator }),
74
83
  (0, ts_serval_1.validate)({ nullable: true }),
75
84
  __metadata("design:type", HonorificSuffix_1.HonorificSuffix)
76
- ], Salutation.prototype, "honorificSuffix", void 0);
85
+ ], PersonName.prototype, "honorificSuffix", void 0);
77
86
  __decorate([
78
87
  (0, ts_serval_1.serialize)({ customGenerator: AbstractAttributeValue_1.AbstractAttributeValue.valueGenerator }),
79
88
  (0, ts_serval_1.validate)({ nullable: true }),
80
89
  __metadata("design:type", HonorificPrefix_1.HonorificPrefix)
81
- ], Salutation.prototype, "honorificPrefix", void 0);
82
- Salutation = __decorate([
83
- (0, ts_serval_1.type)("Salutation")
84
- ], Salutation);
85
- exports.Salutation = Salutation;
86
- //# sourceMappingURL=Salutation.js.map
90
+ ], PersonName.prototype, "honorificPrefix", void 0);
91
+ PersonName = __decorate([
92
+ (0, ts_serval_1.type)("PersonName")
93
+ ], PersonName);
94
+ exports.PersonName = PersonName;
95
+ //# sourceMappingURL=PersonName.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PersonName.js","sourceRoot":"","sources":["../../../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,CAAC;IACrE,IAAA,oBAAQ,GAAE;8BACK,iBAAO;2CAAA;AAEvB;IAAC,IAAA,qBAAS,EAAC,EAAE,eAAe,EAAE,+CAAsB,CAAC,cAAc,EAAE,CAAC;IACrE,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACJ,iCAAe;mDAAA;AAExC;IAAC,IAAA,qBAAS,EAAC,EAAE,eAAe,EAAE,+CAAsB,CAAC,cAAc,EAAE,CAAC;IACrE,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACJ,iCAAe;mDAAA;AArB/B,UAAU;IADtB,IAAA,gBAAI,EAAC,YAAY,CAAC;GACN,UAAU,CA4DtB;AA5DY,gCAAU"}
@@ -1,3 +1,10 @@
1
- import { AbstractString } from "../AbstractString";
2
- export declare class Pseudonym extends AbstractString {
1
+ import { AbstractString, IAbstractString, IAbstractStringJSON } from "../AbstractString";
2
+ export interface PseudonymJSON extends IAbstractStringJSON {
3
+ "@type": "Pseudonym";
4
+ }
5
+ export interface IPseudonym extends IAbstractString {
6
+ }
7
+ export declare class Pseudonym extends AbstractString implements IPseudonym {
8
+ static from(value: IPseudonym | PseudonymJSON | string): Pseudonym;
9
+ toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): PseudonymJSON;
3
10
  }
@@ -10,6 +10,12 @@ exports.Pseudonym = void 0;
10
10
  const ts_serval_1 = require("@js-soft/ts-serval");
11
11
  const AbstractString_1 = require("../AbstractString");
12
12
  let Pseudonym = class Pseudonym extends AbstractString_1.AbstractString {
13
+ static from(value) {
14
+ return this.fromAny(value);
15
+ }
16
+ toJSON(verbose, serializeAsString) {
17
+ return super.toJSON(verbose, serializeAsString);
18
+ }
13
19
  };
14
20
  Pseudonym = __decorate([
15
21
  (0, ts_serval_1.type)("Pseudonym")
@@ -1 +1 @@
1
- {"version":3,"file":"Pseudonym.js","sourceRoot":"","sources":["../../../../src/attributes/types/name/Pseudonym.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,sDAAkD;AAGlD,IAAa,SAAS,GAAtB,MAAa,SAAU,SAAQ,+BAAc;CAAG,CAAA;AAAnC,SAAS;IADrB,IAAA,gBAAI,EAAC,WAAW,CAAC;GACL,SAAS,CAA0B;AAAnC,8BAAS"}
1
+ {"version":3,"file":"Pseudonym.js","sourceRoot":"","sources":["../../../../src/attributes/types/name/Pseudonym.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,sDAAwF;AASjF,IAAM,SAAS,GAAf,MAAM,SAAU,SAAQ,+BAAc;IAClC,MAAM,CAAC,IAAI,CAAC,KAA0C;QACzD,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEe,MAAM,CAAC,OAA6B,EAAE,iBAAuC;QACzF,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,iBAAiB,CAAkB,CAAA;IACpE,CAAC;CACJ,CAAA;AARY,SAAS;IADrB,IAAA,gBAAI,EAAC,WAAW,CAAC;GACL,SAAS,CAQrB;AARY,8BAAS"}
@@ -1 +1 @@
1
- {"version":3,"file":"Surname.js","sourceRoot":"","sources":["../../../../src/attributes/types/name/Surname.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,sDAAkD;AAGlD,IAAa,OAAO,GAApB,MAAa,OAAQ,SAAQ,+BAAc;CAAG,CAAA;AAAjC,OAAO;IADnB,IAAA,gBAAI,EAAC,SAAS,CAAC;GACH,OAAO,CAA0B;AAAjC,0BAAO"}
1
+ {"version":3,"file":"Surname.js","sourceRoot":"","sources":["../../../../src/attributes/types/name/Surname.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,sDAAkD;AAG3C,IAAM,OAAO,GAAb,MAAM,OAAQ,SAAQ,+BAAc;CAAG,CAAA;AAAjC,OAAO;IADnB,IAAA,gBAAI,EAAC,SAAS,CAAC;GACH,OAAO,CAA0B;AAAjC,0BAAO"}
@@ -1,10 +1,8 @@
1
- export * from "./AbstractLegalName";
2
1
  export * from "./BirthName";
3
- export * from "./DisplayName";
4
2
  export * from "./GivenName";
5
3
  export * from "./HonorificPrefix";
6
4
  export * from "./HonorificSuffix";
7
- export * from "./LegalNameDE";
5
+ export * from "./MiddleName";
6
+ export * from "./PersonName";
8
7
  export * from "./Pseudonym";
9
- export * from "./Salutation";
10
8
  export * from "./Surname";
@@ -14,14 +14,12 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./AbstractLegalName"), exports);
18
17
  __exportStar(require("./BirthName"), exports);
19
- __exportStar(require("./DisplayName"), exports);
20
18
  __exportStar(require("./GivenName"), exports);
21
19
  __exportStar(require("./HonorificPrefix"), exports);
22
20
  __exportStar(require("./HonorificSuffix"), exports);
23
- __exportStar(require("./LegalNameDE"), exports);
21
+ __exportStar(require("./MiddleName"), exports);
22
+ __exportStar(require("./PersonName"), exports);
24
23
  __exportStar(require("./Pseudonym"), exports);
25
- __exportStar(require("./Salutation"), exports);
26
24
  __exportStar(require("./Surname"), exports);
27
25
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/attributes/types/name/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAmC;AACnC,8CAA2B;AAC3B,gDAA6B;AAC7B,8CAA2B;AAC3B,oDAAiC;AACjC,oDAAiC;AACjC,gDAA6B;AAC7B,8CAA2B;AAC3B,+CAA4B;AAC5B,4CAAyB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/attributes/types/name/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA2B;AAC3B,8CAA2B;AAC3B,oDAAiC;AACjC,oDAAiC;AACjC,+CAA4B;AAC5B,+CAA4B;AAC5B,8CAA2B;AAC3B,4CAAyB"}
@@ -1,3 +1,11 @@
1
- import { AbstractCountry } from "../strings/AbstractCountry";
2
- export declare class Citizenship extends AbstractCountry {
1
+ import { IAbstractString, IAbstractStringJSON } from "../AbstractString";
2
+ import { AbstractCountry } from "../strings";
3
+ export interface CitizenshipJSON extends IAbstractStringJSON {
4
+ "@type": "Citizenship";
5
+ }
6
+ export interface ICitizenship extends IAbstractString {
7
+ }
8
+ export declare class Citizenship extends AbstractCountry implements ICitizenship {
9
+ static from(value: ICitizenship | CitizenshipJSON | string): Citizenship;
10
+ toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): CitizenshipJSON;
3
11
  }
@@ -8,8 +8,14 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
9
  exports.Citizenship = void 0;
10
10
  const ts_serval_1 = require("@js-soft/ts-serval");
11
- const AbstractCountry_1 = require("../strings/AbstractCountry");
12
- let Citizenship = class Citizenship extends AbstractCountry_1.AbstractCountry {
11
+ const strings_1 = require("../strings");
12
+ let Citizenship = class Citizenship extends strings_1.AbstractCountry {
13
+ static from(value) {
14
+ return this.fromAny(value);
15
+ }
16
+ toJSON(verbose, serializeAsString) {
17
+ return super.toJSON(verbose, serializeAsString);
18
+ }
13
19
  };
14
20
  Citizenship = __decorate([
15
21
  (0, ts_serval_1.type)("Citizenship")
@@ -1 +1 @@
1
- {"version":3,"file":"Citizenship.js","sourceRoot":"","sources":["../../../../src/attributes/types/person/Citizenship.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,gEAA4D;AAG5D,IAAa,WAAW,GAAxB,MAAa,WAAY,SAAQ,iCAAe;CAAG,CAAA;AAAtC,WAAW;IADvB,IAAA,gBAAI,EAAC,aAAa,CAAC;GACP,WAAW,CAA2B;AAAtC,kCAAW"}
1
+ {"version":3,"file":"Citizenship.js","sourceRoot":"","sources":["../../../../src/attributes/types/person/Citizenship.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AAEzC,wCAA4C;AASrC,IAAM,WAAW,GAAjB,MAAM,WAAY,SAAQ,yBAAe;IACrC,MAAM,CAAC,IAAI,CAAC,KAA8C;QAC7D,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEe,MAAM,CAAC,OAA6B,EAAE,iBAAuC;QACzF,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,iBAAiB,CAAoB,CAAA;IACtE,CAAC;CACJ,CAAA;AARY,WAAW;IADvB,IAAA,gBAAI,EAAC,aAAa,CAAC;GACP,WAAW,CAQvB;AARY,kCAAW"}
@@ -0,0 +1,10 @@
1
+ import { AbstractString, IAbstractString, IAbstractStringJSON } from "../AbstractString";
2
+ export interface JobTitleJSON extends IAbstractStringJSON {
3
+ "@type": "JobTitle";
4
+ }
5
+ export interface IJobTitle extends IAbstractString {
6
+ }
7
+ export declare class JobTitle extends AbstractString implements IJobTitle {
8
+ static from(value: IJobTitle | JobTitleJSON | string): JobTitle;
9
+ toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): JobTitleJSON;
10
+ }
@@ -0,0 +1,24 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
9
+ exports.JobTitle = void 0;
10
+ const ts_serval_1 = require("@js-soft/ts-serval");
11
+ const AbstractString_1 = require("../AbstractString");
12
+ let JobTitle = class JobTitle extends AbstractString_1.AbstractString {
13
+ static from(value) {
14
+ return this.fromAny(value);
15
+ }
16
+ toJSON(verbose, serializeAsString) {
17
+ return super.toJSON(verbose, serializeAsString);
18
+ }
19
+ };
20
+ JobTitle = __decorate([
21
+ (0, ts_serval_1.type)("JobTitle")
22
+ ], JobTitle);
23
+ exports.JobTitle = JobTitle;
24
+ //# sourceMappingURL=JobTitle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"JobTitle.js","sourceRoot":"","sources":["../../../../src/attributes/types/person/JobTitle.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,sDAAwF;AASjF,IAAM,QAAQ,GAAd,MAAM,QAAS,SAAQ,+BAAc;IACjC,MAAM,CAAC,IAAI,CAAC,KAAwC;QACvD,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEe,MAAM,CAAC,OAA6B,EAAE,iBAAuC;QACzF,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,iBAAiB,CAAiB,CAAA;IACnE,CAAC;CACJ,CAAA;AARY,QAAQ;IADpB,IAAA,gBAAI,EAAC,UAAU,CAAC;GACJ,QAAQ,CAQpB;AARY,4BAAQ"}
@@ -1,3 +1,11 @@
1
- import { AbstractCountry } from "../strings/AbstractCountry";
2
- export declare class Nationality extends AbstractCountry {
1
+ import { IAbstractString, IAbstractStringJSON } from "../AbstractString";
2
+ import { AbstractCountry } from "../strings";
3
+ export interface NationalityJSON extends IAbstractStringJSON {
4
+ "@type": "Nationality";
5
+ }
6
+ export interface INationality extends IAbstractString {
7
+ }
8
+ export declare class Nationality extends AbstractCountry implements INationality {
9
+ static from(value: INationality | NationalityJSON | string): Nationality;
10
+ toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): NationalityJSON;
3
11
  }
@@ -8,8 +8,14 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
9
  exports.Nationality = void 0;
10
10
  const ts_serval_1 = require("@js-soft/ts-serval");
11
- const AbstractCountry_1 = require("../strings/AbstractCountry");
12
- let Nationality = class Nationality extends AbstractCountry_1.AbstractCountry {
11
+ const strings_1 = require("../strings");
12
+ let Nationality = class Nationality extends strings_1.AbstractCountry {
13
+ static from(value) {
14
+ return this.fromAny(value);
15
+ }
16
+ toJSON(verbose, serializeAsString) {
17
+ return super.toJSON(verbose, serializeAsString);
18
+ }
13
19
  };
14
20
  Nationality = __decorate([
15
21
  (0, ts_serval_1.type)("Nationality")
@@ -1 +1 @@
1
- {"version":3,"file":"Nationality.js","sourceRoot":"","sources":["../../../../src/attributes/types/person/Nationality.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,gEAA4D;AAG5D,IAAa,WAAW,GAAxB,MAAa,WAAY,SAAQ,iCAAe;CAAG,CAAA;AAAtC,WAAW;IADvB,IAAA,gBAAI,EAAC,aAAa,CAAC;GACP,WAAW,CAA2B;AAAtC,kCAAW"}
1
+ {"version":3,"file":"Nationality.js","sourceRoot":"","sources":["../../../../src/attributes/types/person/Nationality.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AAEzC,wCAA4C;AASrC,IAAM,WAAW,GAAjB,MAAM,WAAY,SAAQ,yBAAe;IACrC,MAAM,CAAC,IAAI,CAAC,KAA8C;QAC7D,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEe,MAAM,CAAC,OAA6B,EAAE,iBAAuC;QACzF,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,iBAAiB,CAAoB,CAAA;IACtE,CAAC;CACJ,CAAA;AARY,WAAW;IADvB,IAAA,gBAAI,EAAC,aAAa,CAAC;GACP,WAAW,CAQvB;AARY,kCAAW"}
@@ -1,15 +1,22 @@
1
1
  import { RenderHints, ValueHints } from "../../../attributes/hints";
2
- import { AbstractString } from "../AbstractString";
2
+ import { AbstractString, IAbstractString, IAbstractStringJSON } from "../AbstractString";
3
3
  /**
4
4
  * Biologisches Geschlecht
5
5
  */
6
6
  export declare enum BiologicalSex {
7
- M = "male",
7
+ X = "intersex",
8
8
  F = "female",
9
- X = "intersex"
9
+ M = "male"
10
+ }
11
+ export interface SexJSON extends IAbstractStringJSON {
12
+ "@type": "Sex";
13
+ }
14
+ export interface ISex extends IAbstractString {
10
15
  }
11
16
  export declare class Sex extends AbstractString {
12
17
  value: BiologicalSex;
13
18
  static get valueHints(): ValueHints;
14
19
  static get renderHints(): RenderHints;
20
+ static from(value: ISex | SexJSON | string): Sex;
21
+ toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): SexJSON;
15
22
  }
@@ -18,9 +18,9 @@ const AbstractString_1 = require("../AbstractString");
18
18
  */
19
19
  var BiologicalSex;
20
20
  (function (BiologicalSex) {
21
- BiologicalSex["M"] = "male";
22
- BiologicalSex["F"] = "female";
23
21
  BiologicalSex["X"] = "intersex";
22
+ BiologicalSex["F"] = "female";
23
+ BiologicalSex["M"] = "male";
24
24
  })(BiologicalSex = exports.BiologicalSex || (exports.BiologicalSex = {}));
25
25
  let Sex = class Sex extends AbstractString_1.AbstractString {
26
26
  static get valueHints() {
@@ -33,6 +33,12 @@ let Sex = class Sex extends AbstractString_1.AbstractString {
33
33
  editType: hints_1.RenderHintsEditType.ButtonLike
34
34
  });
35
35
  }
36
+ static from(value) {
37
+ return this.fromAny(value);
38
+ }
39
+ toJSON(verbose, serializeAsString) {
40
+ return super.toJSON(verbose, serializeAsString);
41
+ }
36
42
  };
37
43
  __decorate([
38
44
  (0, ts_serval_1.serialize)(),
@@ -1 +1 @@
1
- {"version":3,"file":"Sex.js","sourceRoot":"","sources":["../../../../src/attributes/types/person/Sex.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,qDAAyG;AACzG,sDAAkD;AAElD;;GAEG;AACH,IAAY,aAIX;AAJD,WAAY,aAAa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./Age";
2
1
  export * from "./Citizenship";
2
+ export * from "./JobTitle";
3
3
  export * from "./Nationality";
4
- export * from "./Picture";
5
4
  export * from "./Sex";
@@ -14,9 +14,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./Age"), exports);
18
17
  __exportStar(require("./Citizenship"), exports);
18
+ __exportStar(require("./JobTitle"), exports);
19
19
  __exportStar(require("./Nationality"), exports);
20
- __exportStar(require("./Picture"), exports);
21
20
  __exportStar(require("./Sex"), exports);
22
21
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/attributes/types/person/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAqB;AACrB,gDAA6B;AAC7B,gDAA6B;AAC7B,4CAAyB;AACzB,wCAAqB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/attributes/types/person/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA6B;AAC7B,6CAA0B;AAC1B,gDAA6B;AAC7B,wCAAqB"}
@@ -1,5 +1,6 @@
1
1
  import { AbstractBoolean, IAbstractBoolean, IAbstractBooleanJSON } from "../AbstractBoolean";
2
- export interface IProprietaryBooleanJSON extends IAbstractBooleanJSON {
2
+ export interface ProprietaryBooleanJSON extends IAbstractBooleanJSON {
3
+ "@type": "ProprietaryBoolean";
3
4
  title: string;
4
5
  description?: string;
5
6
  }
@@ -10,4 +11,6 @@ export interface IProprietaryBoolean extends IAbstractBoolean {
10
11
  export declare class ProprietaryBoolean extends AbstractBoolean {
11
12
  title: string;
12
13
  description?: string;
14
+ static from(value: IProprietaryBoolean | ProprietaryBooleanJSON): ProprietaryBoolean;
15
+ toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): ProprietaryBooleanJSON;
13
16
  }
@@ -13,6 +13,12 @@ exports.ProprietaryBoolean = void 0;
13
13
  const ts_serval_1 = require("@js-soft/ts-serval");
14
14
  const AbstractBoolean_1 = require("../AbstractBoolean");
15
15
  let ProprietaryBoolean = class ProprietaryBoolean extends AbstractBoolean_1.AbstractBoolean {
16
+ static from(value) {
17
+ return this.fromAny(value);
18
+ }
19
+ toJSON(verbose, serializeAsString) {
20
+ return super.toJSON(verbose, serializeAsString);
21
+ }
16
22
  };
17
23
  __decorate([
18
24
  (0, ts_serval_1.serialize)(),
@@ -1 +1 @@
1
- {"version":3,"file":"ProprietaryBoolean.js","sourceRoot":"","sources":["../../../../src/attributes/types/proprietary/ProprietaryBoolean.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,wDAA4F;AAa5F,IAAa,kBAAkB,GAA/B,MAAa,kBAAmB,SAAQ,iCAAe;CAQtD,CAAA;AALG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;iDACS;AAIpB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uDACF;AAPlB,kBAAkB;IAD9B,IAAA,gBAAI,EAAC,oBAAoB,CAAC;GACd,kBAAkB,CAQ9B;AARY,gDAAkB"}
1
+ {"version":3,"file":"ProprietaryBoolean.js","sourceRoot":"","sources":["../../../../src/attributes/types/proprietary/ProprietaryBoolean.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,wDAA4F;AAcrF,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,iCAAe;IAS5C,MAAM,CAAC,IAAI,CAAC,KAAmD;QAClE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEe,MAAM,CAClB,OAA6B,EAC7B,iBAAuC;QAEvC,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,iBAAiB,CAA2B,CAAA;IAC7E,CAAC;CACJ,CAAA;AAlBG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;iDACS;AAEpB;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uDACF;AAPlB,kBAAkB;IAD9B,IAAA,gBAAI,EAAC,oBAAoB,CAAC;GACd,kBAAkB,CAmB9B;AAnBY,gDAAkB"}
@@ -1,6 +1,7 @@
1
1
  import { IAbstractString, IAbstractStringJSON } from "../AbstractString";
2
2
  import { AbstractCountry } from "../strings/AbstractCountry";
3
3
  export interface ProprietaryCountryJSON extends IAbstractStringJSON {
4
+ "@type": "ProprietaryCountry";
4
5
  title: string;
5
6
  description?: string;
6
7
  }
@@ -11,4 +12,6 @@ export interface IProprietaryCountry extends IAbstractString {
11
12
  export declare class ProprietaryCountry extends AbstractCountry {
12
13
  title: string;
13
14
  description?: string;
15
+ static from(value: IProprietaryCountry | ProprietaryCountryJSON): ProprietaryCountry;
16
+ toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): ProprietaryCountryJSON;
14
17
  }
@@ -13,6 +13,12 @@ exports.ProprietaryCountry = void 0;
13
13
  const ts_serval_1 = require("@js-soft/ts-serval");
14
14
  const AbstractCountry_1 = require("../strings/AbstractCountry");
15
15
  let ProprietaryCountry = class ProprietaryCountry extends AbstractCountry_1.AbstractCountry {
16
+ static from(value) {
17
+ return this.fromAny(value);
18
+ }
19
+ toJSON(verbose, serializeAsString) {
20
+ return super.toJSON(verbose, serializeAsString);
21
+ }
16
22
  };
17
23
  __decorate([
18
24
  (0, ts_serval_1.serialize)(),
@@ -1 +1 @@
1
- {"version":3,"file":"ProprietaryCountry.js","sourceRoot":"","sources":["../../../../src/attributes/types/proprietary/ProprietaryCountry.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAE9D,gEAA4D;AAa5D,IAAa,kBAAkB,GAA/B,MAAa,kBAAmB,SAAQ,iCAAe;CAQtD,CAAA;AALG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;iDACS;AAIpB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uDACF;AAPlB,kBAAkB;IAD9B,IAAA,gBAAI,EAAC,oBAAoB,CAAC;GACd,kBAAkB,CAQ9B;AARY,gDAAkB"}
1
+ {"version":3,"file":"ProprietaryCountry.js","sourceRoot":"","sources":["../../../../src/attributes/types/proprietary/ProprietaryCountry.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAE9D,gEAA4D;AAcrD,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,iCAAe;IAS5C,MAAM,CAAC,IAAI,CAAC,KAAmD;QAClE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEe,MAAM,CAClB,OAA6B,EAC7B,iBAAuC;QAEvC,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,iBAAiB,CAA2B,CAAA;IAC7E,CAAC;CACJ,CAAA;AAlBG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;iDACS;AAEpB;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uDACF;AAPlB,kBAAkB;IAD9B,IAAA,gBAAI,EAAC,oBAAoB,CAAC;GACd,kBAAkB,CAmB9B;AAnBY,gDAAkB"}
@@ -1,6 +1,7 @@
1
1
  import { IAbstractString, IAbstractStringJSON } from "../AbstractString";
2
2
  import { AbstractEMailAddress } from "../strings/AbstractEMailAddress";
3
3
  export interface ProprietaryEMailAddressJSON extends IAbstractStringJSON {
4
+ "@type": "ProprietaryEMailAddress";
4
5
  title: string;
5
6
  description?: string;
6
7
  }
@@ -11,4 +12,6 @@ export interface IProprietaryEMailAddress extends IAbstractString {
11
12
  export declare class ProprietaryEMailAddress extends AbstractEMailAddress {
12
13
  title: string;
13
14
  description?: string;
15
+ static from(value: IProprietaryEMailAddress | ProprietaryEMailAddressJSON): ProprietaryEMailAddress;
16
+ toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): ProprietaryEMailAddressJSON;
14
17
  }
@@ -13,6 +13,12 @@ exports.ProprietaryEMailAddress = void 0;
13
13
  const ts_serval_1 = require("@js-soft/ts-serval");
14
14
  const AbstractEMailAddress_1 = require("../strings/AbstractEMailAddress");
15
15
  let ProprietaryEMailAddress = class ProprietaryEMailAddress extends AbstractEMailAddress_1.AbstractEMailAddress {
16
+ static from(value) {
17
+ return this.fromAny(value);
18
+ }
19
+ toJSON(verbose, serializeAsString) {
20
+ return super.toJSON(verbose, serializeAsString);
21
+ }
16
22
  };
17
23
  __decorate([
18
24
  (0, ts_serval_1.serialize)(),
@@ -1 +1 @@
1
- {"version":3,"file":"ProprietaryEMailAddress.js","sourceRoot":"","sources":["../../../../src/attributes/types/proprietary/ProprietaryEMailAddress.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAE9D,0EAAsE;AAatE,IAAa,uBAAuB,GAApC,MAAa,uBAAwB,SAAQ,2CAAoB;CAQhE,CAAA;AALG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;sDACS;AAIpB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4DACF;AAPlB,uBAAuB;IADnC,IAAA,gBAAI,EAAC,yBAAyB,CAAC;GACnB,uBAAuB,CAQnC;AARY,0DAAuB"}
1
+ {"version":3,"file":"ProprietaryEMailAddress.js","sourceRoot":"","sources":["../../../../src/attributes/types/proprietary/ProprietaryEMailAddress.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAE9D,0EAAsE;AAc/D,IAAM,uBAAuB,GAA7B,MAAM,uBAAwB,SAAQ,2CAAoB;IAStD,MAAM,CAAC,IAAI,CAAC,KAA6D;QAC5E,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEe,MAAM,CAClB,OAA6B,EAC7B,iBAAuC;QAEvC,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,iBAAiB,CAAgC,CAAA;IAClF,CAAC;CACJ,CAAA;AAlBG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;sDACS;AAEpB;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4DACF;AAPlB,uBAAuB;IADnC,IAAA,gBAAI,EAAC,yBAAyB,CAAC;GACnB,uBAAuB,CAmBnC;AAnBY,0DAAuB"}