@nmshd/content 2.0.0-beta.9 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (440) 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/AbstractAttributeValue.d.ts +1 -2
  6. package/dist/attributes/AbstractAttributeValue.js +0 -3
  7. package/dist/attributes/AbstractAttributeValue.js.map +1 -1
  8. package/dist/attributes/AttributeValueTypes.d.ts +46 -0
  9. package/dist/attributes/AttributeValueTypes.js +148 -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 +7 -2
  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 +35 -6
  24. package/dist/attributes/RelationshipAttributeQuery.js +59 -10
  25. package/dist/attributes/RelationshipAttributeQuery.js.map +1 -1
  26. package/dist/attributes/ThirdPartyRelationshipAttributeQuery.d.ts +20 -0
  27. package/dist/{forms/FormItem.js → attributes/ThirdPartyRelationshipAttributeQuery.js} +21 -31
  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 +3 -2
  36. package/dist/attributes/hints/RenderHints.js.map +1 -1
  37. package/dist/attributes/hints/ValueHints.d.ts +3 -2
  38. package/dist/attributes/hints/ValueHints.js.map +1 -1
  39. package/dist/attributes/hints/ValueHintsValue.d.ts +1 -1
  40. package/dist/attributes/hints/ValueHintsValue.js.map +1 -1
  41. package/dist/attributes/hints/index.d.ts +0 -1
  42. package/dist/attributes/hints/index.js +0 -1
  43. package/dist/attributes/hints/index.js.map +1 -1
  44. package/dist/attributes/index.d.ts +3 -1
  45. package/dist/attributes/index.js +3 -1
  46. package/dist/attributes/index.js.map +1 -1
  47. package/dist/attributes/types/AbstractBoolean.d.ts +1 -2
  48. package/dist/attributes/types/AbstractBoolean.js.map +1 -1
  49. package/dist/attributes/types/AbstractFloat.d.ts +1 -2
  50. package/dist/attributes/types/AbstractFloat.js.map +1 -1
  51. package/dist/attributes/types/AbstractInteger.d.ts +1 -3
  52. package/dist/attributes/types/AbstractInteger.js +0 -3
  53. package/dist/attributes/types/AbstractInteger.js.map +1 -1
  54. package/dist/attributes/types/AbstractString.d.ts +1 -2
  55. package/dist/attributes/types/AbstractString.js +2 -2
  56. package/dist/attributes/types/AbstractString.js.map +1 -1
  57. package/dist/attributes/types/address/AbstractAddress.js.map +1 -1
  58. package/dist/attributes/types/address/City.d.ts +8 -2
  59. package/dist/attributes/types/address/City.js +3 -0
  60. package/dist/attributes/types/address/City.js.map +1 -1
  61. package/dist/attributes/types/address/Country.d.ts +9 -2
  62. package/dist/attributes/types/address/Country.js +5 -2
  63. package/dist/attributes/types/address/Country.js.map +1 -1
  64. package/dist/attributes/types/address/DeliveryBoxAddress.d.ts +40 -39
  65. package/dist/attributes/types/address/DeliveryBoxAddress.js +6 -3
  66. package/dist/attributes/types/address/DeliveryBoxAddress.js.map +1 -1
  67. package/dist/attributes/types/address/HouseNumber.d.ts +9 -2
  68. package/dist/attributes/types/address/HouseNumber.js +6 -0
  69. package/dist/attributes/types/address/HouseNumber.js.map +1 -1
  70. package/dist/attributes/types/address/PostOfficeBoxAddress.d.ts +30 -29
  71. package/dist/attributes/types/address/PostOfficeBoxAddress.js +3 -0
  72. package/dist/attributes/types/address/PostOfficeBoxAddress.js.map +1 -1
  73. package/dist/attributes/types/address/State.d.ts +8 -2
  74. package/dist/attributes/types/address/State.js +3 -0
  75. package/dist/attributes/types/address/State.js.map +1 -1
  76. package/dist/attributes/types/address/Street.d.ts +9 -2
  77. package/dist/attributes/types/address/Street.js +6 -0
  78. package/dist/attributes/types/address/Street.js.map +1 -1
  79. package/dist/attributes/types/address/StreetAddress.d.ts +49 -48
  80. package/dist/attributes/types/address/StreetAddress.js +3 -0
  81. package/dist/attributes/types/address/StreetAddress.js.map +1 -1
  82. package/dist/attributes/types/address/ZipCode.d.ts +9 -2
  83. package/dist/attributes/types/address/ZipCode.js +6 -0
  84. package/dist/attributes/types/address/ZipCode.js.map +1 -1
  85. package/dist/attributes/types/{name/LegalNameDE.d.ts → affiliation/Affiliation.d.ts} +43 -612
  86. package/dist/attributes/types/affiliation/Affiliation.js +80 -0
  87. package/dist/attributes/types/affiliation/Affiliation.js.map +1 -0
  88. package/dist/attributes/types/affiliation/AffiliationOrganization.d.ts +10 -0
  89. package/dist/attributes/types/affiliation/AffiliationOrganization.js +24 -0
  90. package/dist/attributes/types/affiliation/AffiliationOrganization.js.map +1 -0
  91. package/dist/attributes/types/affiliation/AffiliationRole.d.ts +10 -0
  92. package/dist/attributes/types/affiliation/AffiliationRole.js +24 -0
  93. package/dist/attributes/types/affiliation/AffiliationRole.js.map +1 -0
  94. package/dist/attributes/types/affiliation/AffiliationUnit.d.ts +10 -0
  95. package/dist/attributes/types/affiliation/AffiliationUnit.js +24 -0
  96. package/dist/attributes/types/affiliation/AffiliationUnit.js.map +1 -0
  97. package/dist/attributes/types/affiliation/index.d.ts +4 -0
  98. package/dist/{forms → attributes/types/affiliation}/index.js +4 -8
  99. package/dist/attributes/types/affiliation/index.js.map +1 -0
  100. package/dist/attributes/types/birth/BirthCity.d.ts +9 -2
  101. package/dist/attributes/types/birth/BirthCity.js +8 -2
  102. package/dist/attributes/types/birth/BirthCity.js.map +1 -1
  103. package/dist/attributes/types/birth/BirthCountry.d.ts +9 -2
  104. package/dist/attributes/types/birth/BirthCountry.js +8 -2
  105. package/dist/attributes/types/birth/BirthCountry.js.map +1 -1
  106. package/dist/attributes/types/birth/BirthDate.d.ts +40 -39
  107. package/dist/attributes/types/birth/BirthDate.js +3 -0
  108. package/dist/attributes/types/birth/BirthDate.js.map +1 -1
  109. package/dist/attributes/types/birth/BirthDay.d.ts +9 -2
  110. package/dist/attributes/types/birth/BirthDay.js +8 -2
  111. package/dist/attributes/types/birth/BirthDay.js.map +1 -1
  112. package/dist/attributes/types/birth/BirthMonth.d.ts +9 -2
  113. package/dist/attributes/types/birth/BirthMonth.js +6 -0
  114. package/dist/attributes/types/birth/BirthMonth.js.map +1 -1
  115. package/dist/attributes/types/birth/BirthPlace.d.ts +40 -39
  116. package/dist/attributes/types/birth/BirthPlace.js +3 -0
  117. package/dist/attributes/types/birth/BirthPlace.js.map +1 -1
  118. package/dist/attributes/types/birth/BirthState.d.ts +9 -2
  119. package/dist/attributes/types/birth/BirthState.js +8 -2
  120. package/dist/attributes/types/birth/BirthState.js.map +1 -1
  121. package/dist/attributes/types/birth/BirthYear.d.ts +9 -2
  122. package/dist/attributes/types/birth/BirthYear.js +8 -2
  123. package/dist/attributes/types/birth/BirthYear.js.map +1 -1
  124. package/dist/attributes/types/communication/CommunicationLanguage.d.ts +9 -1
  125. package/dist/attributes/types/communication/CommunicationLanguage.js +6 -0
  126. package/dist/attributes/types/communication/CommunicationLanguage.js.map +1 -1
  127. package/dist/attributes/types/communication/EMailAddress.d.ts +9 -1
  128. package/dist/attributes/types/communication/EMailAddress.js +6 -0
  129. package/dist/attributes/types/communication/EMailAddress.js.map +1 -1
  130. package/dist/attributes/types/communication/FaxNumber.d.ts +11 -0
  131. package/dist/attributes/types/communication/{Fax.js → FaxNumber.js} +14 -8
  132. package/dist/attributes/types/communication/FaxNumber.js.map +1 -0
  133. package/dist/attributes/types/communication/PhoneNumber.d.ts +11 -0
  134. package/dist/attributes/types/communication/{Phone.js → PhoneNumber.js} +14 -8
  135. package/dist/attributes/types/communication/PhoneNumber.js.map +1 -0
  136. package/dist/attributes/types/communication/Website.d.ts +9 -1
  137. package/dist/attributes/types/communication/Website.js +6 -0
  138. package/dist/attributes/types/communication/Website.js.map +1 -1
  139. package/dist/attributes/types/communication/index.d.ts +2 -2
  140. package/dist/attributes/types/communication/index.js +2 -2
  141. package/dist/attributes/types/communication/index.js.map +1 -1
  142. package/dist/attributes/types/dates/AbstractDateString.js.map +1 -1
  143. package/dist/attributes/types/dates/AbstractDay.d.ts +8 -2
  144. package/dist/attributes/types/dates/AbstractDay.js.map +1 -1
  145. package/dist/attributes/types/dates/AbstractMonth.d.ts +8 -2
  146. package/dist/attributes/types/dates/AbstractMonth.js.map +1 -1
  147. package/dist/attributes/types/dates/AbstractYear.d.ts +7 -1
  148. package/dist/attributes/types/dates/AbstractYear.js.map +1 -1
  149. package/dist/attributes/types/identity/DisplayName.d.ts +10 -0
  150. package/dist/attributes/types/{name → identity}/DisplayName.js +6 -0
  151. package/dist/attributes/types/identity/DisplayName.js.map +1 -0
  152. package/dist/attributes/types/identity/FileReference.d.ts +11 -0
  153. package/dist/attributes/types/{files → identity}/FileReference.js +6 -0
  154. package/dist/attributes/types/identity/FileReference.js.map +1 -0
  155. package/dist/attributes/types/{files → identity}/index.d.ts +1 -0
  156. package/dist/attributes/types/{files → identity}/index.js +1 -0
  157. package/dist/attributes/types/identity/index.js.map +1 -0
  158. package/dist/attributes/types/index.d.ts +3 -3
  159. package/dist/attributes/types/index.js +3 -3
  160. package/dist/attributes/types/index.js.map +1 -1
  161. package/dist/attributes/types/measurements/AbstractLengthMeasurement.js.map +1 -1
  162. package/dist/attributes/types/measurements/AbstractMeasurement.js.map +1 -1
  163. package/dist/attributes/types/name/BirthName.d.ts +9 -2
  164. package/dist/attributes/types/name/BirthName.js +6 -0
  165. package/dist/attributes/types/name/BirthName.js.map +1 -1
  166. package/dist/attributes/types/name/GivenName.d.ts +9 -2
  167. package/dist/attributes/types/name/GivenName.js +6 -0
  168. package/dist/attributes/types/name/GivenName.js.map +1 -1
  169. package/dist/attributes/types/name/HonorificPrefix.d.ts +9 -2
  170. package/dist/attributes/types/name/HonorificPrefix.js +6 -0
  171. package/dist/attributes/types/name/HonorificPrefix.js.map +1 -1
  172. package/dist/attributes/types/name/HonorificSuffix.d.ts +9 -2
  173. package/dist/attributes/types/name/HonorificSuffix.js +6 -0
  174. package/dist/attributes/types/name/HonorificSuffix.js.map +1 -1
  175. package/dist/attributes/types/name/MiddleName.d.ts +10 -0
  176. package/dist/attributes/types/name/MiddleName.js +24 -0
  177. package/dist/attributes/types/name/MiddleName.js.map +1 -0
  178. package/dist/attributes/types/name/{Salutation.d.ts → PersonName.d.ts} +68 -73
  179. package/dist/attributes/types/name/{Salutation.js → PersonName.js} +35 -23
  180. package/dist/attributes/types/name/PersonName.js.map +1 -0
  181. package/dist/attributes/types/name/Pseudonym.d.ts +9 -2
  182. package/dist/attributes/types/name/Pseudonym.js +6 -0
  183. package/dist/attributes/types/name/Pseudonym.js.map +1 -1
  184. package/dist/attributes/types/name/Surname.d.ts +9 -2
  185. package/dist/attributes/types/name/Surname.js +6 -0
  186. package/dist/attributes/types/name/Surname.js.map +1 -1
  187. package/dist/attributes/types/name/index.d.ts +2 -4
  188. package/dist/attributes/types/name/index.js +2 -4
  189. package/dist/attributes/types/name/index.js.map +1 -1
  190. package/dist/attributes/types/person/Citizenship.d.ts +10 -2
  191. package/dist/attributes/types/person/Citizenship.js +8 -2
  192. package/dist/attributes/types/person/Citizenship.js.map +1 -1
  193. package/dist/attributes/types/person/JobTitle.d.ts +10 -0
  194. package/dist/attributes/types/person/JobTitle.js +24 -0
  195. package/dist/attributes/types/person/JobTitle.js.map +1 -0
  196. package/dist/attributes/types/person/Nationality.d.ts +10 -2
  197. package/dist/attributes/types/person/Nationality.js +8 -2
  198. package/dist/attributes/types/person/Nationality.js.map +1 -1
  199. package/dist/attributes/types/person/Sex.d.ts +10 -3
  200. package/dist/attributes/types/person/Sex.js +8 -2
  201. package/dist/attributes/types/person/Sex.js.map +1 -1
  202. package/dist/attributes/types/person/index.d.ts +1 -2
  203. package/dist/attributes/types/person/index.js +1 -2
  204. package/dist/attributes/types/person/index.js.map +1 -1
  205. package/dist/attributes/types/proprietary/ProprietaryBoolean.d.ts +5 -2
  206. package/dist/attributes/types/proprietary/ProprietaryBoolean.js +6 -0
  207. package/dist/attributes/types/proprietary/ProprietaryBoolean.js.map +1 -1
  208. package/dist/attributes/types/proprietary/ProprietaryCountry.d.ts +5 -2
  209. package/dist/attributes/types/proprietary/ProprietaryCountry.js +6 -0
  210. package/dist/attributes/types/proprietary/ProprietaryCountry.js.map +1 -1
  211. package/dist/attributes/types/proprietary/ProprietaryEMailAddress.d.ts +5 -2
  212. package/dist/attributes/types/proprietary/ProprietaryEMailAddress.js +6 -0
  213. package/dist/attributes/types/proprietary/ProprietaryEMailAddress.js.map +1 -1
  214. package/dist/attributes/types/proprietary/ProprietaryFileReference.d.ts +5 -2
  215. package/dist/attributes/types/proprietary/ProprietaryFileReference.js +6 -0
  216. package/dist/attributes/types/proprietary/ProprietaryFileReference.js.map +1 -1
  217. package/dist/attributes/types/proprietary/ProprietaryFloat.d.ts +5 -2
  218. package/dist/attributes/types/proprietary/ProprietaryFloat.js +6 -0
  219. package/dist/attributes/types/proprietary/ProprietaryFloat.js.map +1 -1
  220. package/dist/attributes/types/proprietary/ProprietaryHEXColor.d.ts +5 -2
  221. package/dist/attributes/types/proprietary/ProprietaryHEXColor.js +6 -0
  222. package/dist/attributes/types/proprietary/ProprietaryHEXColor.js.map +1 -1
  223. package/dist/attributes/types/proprietary/ProprietaryInteger.d.ts +5 -4
  224. package/dist/attributes/types/proprietary/ProprietaryInteger.js +3 -0
  225. package/dist/attributes/types/proprietary/ProprietaryInteger.js.map +1 -1
  226. package/dist/attributes/types/proprietary/ProprietaryJSON.d.ts +19 -0
  227. package/dist/attributes/types/proprietary/ProprietaryJSON.js +57 -0
  228. package/dist/attributes/types/proprietary/ProprietaryJSON.js.map +1 -0
  229. package/dist/attributes/types/proprietary/ProprietaryLanguage.d.ts +5 -2
  230. package/dist/attributes/types/proprietary/ProprietaryLanguage.js +6 -0
  231. package/dist/attributes/types/proprietary/ProprietaryLanguage.js.map +1 -1
  232. package/dist/attributes/types/proprietary/ProprietaryPhoneNumber.d.ts +5 -2
  233. package/dist/attributes/types/proprietary/ProprietaryPhoneNumber.js +6 -0
  234. package/dist/attributes/types/proprietary/ProprietaryPhoneNumber.js.map +1 -1
  235. package/dist/attributes/types/proprietary/ProprietaryString.d.ts +5 -2
  236. package/dist/attributes/types/proprietary/ProprietaryString.js +6 -0
  237. package/dist/attributes/types/proprietary/ProprietaryString.js.map +1 -1
  238. package/dist/attributes/types/proprietary/ProprietaryURL.d.ts +5 -2
  239. package/dist/attributes/types/proprietary/ProprietaryURL.js +6 -0
  240. package/dist/attributes/types/proprietary/ProprietaryURL.js.map +1 -1
  241. package/dist/attributes/types/proprietary/index.d.ts +1 -1
  242. package/dist/attributes/types/proprietary/index.js +1 -1
  243. package/dist/attributes/types/proprietary/index.js.map +1 -1
  244. package/dist/attributes/types/relationship/Consent.d.ts +18 -0
  245. package/dist/attributes/types/relationship/Consent.js +73 -0
  246. package/dist/attributes/types/relationship/Consent.js.map +1 -0
  247. package/dist/attributes/types/relationship/index.d.ts +1 -0
  248. package/dist/attributes/types/relationship/index.js +18 -0
  249. package/dist/attributes/types/relationship/index.js.map +1 -0
  250. package/dist/attributes/types/strings/AbstractCountry.js.map +1 -1
  251. package/dist/attributes/types/strings/AbstractEMailAddress.js +2 -2
  252. package/dist/attributes/types/strings/AbstractEMailAddress.js.map +1 -1
  253. package/dist/attributes/types/strings/AbstractFileReference.js.map +1 -1
  254. package/dist/attributes/types/strings/AbstractHEXColor.js.map +1 -1
  255. package/dist/attributes/types/strings/AbstractLanguage.js.map +1 -1
  256. package/dist/attributes/types/strings/AbstractPhoneNumber.js.map +1 -1
  257. package/dist/attributes/types/strings/AbstractURL.js.map +1 -1
  258. package/dist/attributes/types/strings/index.d.ts +0 -1
  259. package/dist/attributes/types/strings/index.js +0 -1
  260. package/dist/attributes/types/strings/index.js.map +1 -1
  261. package/dist/buildInformation.js +5 -5
  262. package/dist/index.d.ts +0 -2
  263. package/dist/index.js +0 -2
  264. package/dist/index.js.map +1 -1
  265. package/dist/messages/Mail.d.ts +3 -2
  266. package/dist/messages/Mail.js +2 -8
  267. package/dist/messages/Mail.js.map +1 -1
  268. package/dist/relationships/RelationshipCreationChangeRequestContent.d.ts +15 -0
  269. package/dist/relationships/{RelationshipCreationChangeRequestBody.js → RelationshipCreationChangeRequestContent.js} +11 -13
  270. package/dist/relationships/RelationshipCreationChangeRequestContent.js.map +1 -0
  271. package/dist/relationships/RelationshipTemplateContent.d.ts +24 -0
  272. package/dist/relationships/{RelationshipTemplateBody.js → RelationshipTemplateContent.js} +14 -11
  273. package/dist/relationships/RelationshipTemplateContent.js.map +1 -0
  274. package/dist/relationships/index.d.ts +2 -2
  275. package/dist/relationships/index.js +2 -2
  276. package/dist/relationships/index.js.map +1 -1
  277. package/dist/requests/Request.d.ts +3 -2
  278. package/dist/requests/Request.js +2 -2
  279. package/dist/requests/Request.js.map +1 -1
  280. package/dist/requests/RequestItem.d.ts +17 -6
  281. package/dist/requests/RequestItem.js +7 -2
  282. package/dist/requests/RequestItem.js.map +1 -1
  283. package/dist/requests/RequestItemGroup.d.ts +5 -4
  284. package/dist/requests/RequestItemGroup.js +2 -2
  285. package/dist/requests/RequestItemGroup.js.map +1 -1
  286. package/dist/requests/index.d.ts +0 -3
  287. package/dist/requests/index.js +0 -3
  288. package/dist/requests/index.js.map +1 -1
  289. package/dist/requests/items/authentication/AuthenticationRequestItem.d.ts +10 -0
  290. package/dist/requests/items/authentication/AuthenticationRequestItem.js +24 -0
  291. package/dist/requests/items/authentication/AuthenticationRequestItem.js.map +1 -0
  292. package/dist/requests/items/consent/ConsentRequestItem.d.ts +3 -4
  293. package/dist/requests/items/consent/ConsentRequestItem.js +8 -7
  294. package/dist/requests/items/consent/ConsentRequestItem.js.map +1 -1
  295. package/dist/requests/items/createRelationshipAttribute/CreateAttributeAcceptResponseItem.d.ts +14 -0
  296. package/dist/requests/items/createRelationshipAttribute/{CreateRelationshipAttributeAcceptResponseItem.js → CreateAttributeAcceptResponseItem.js} +11 -8
  297. package/dist/requests/items/createRelationshipAttribute/CreateAttributeAcceptResponseItem.js.map +1 -0
  298. package/dist/requests/items/createRelationshipAttribute/CreateAttributeRequestItem.d.ts +15 -0
  299. package/dist/requests/items/createRelationshipAttribute/{CreateRelationshipAttributeRequestItem.js → CreateAttributeRequestItem.js} +13 -9
  300. package/dist/requests/items/createRelationshipAttribute/CreateAttributeRequestItem.js.map +1 -0
  301. package/dist/requests/items/index.d.ts +5 -2
  302. package/dist/requests/items/index.js +5 -2
  303. package/dist/requests/items/index.js.map +1 -1
  304. package/dist/requests/items/proposeAttribute/ProposeAttributeAcceptResponseItem.d.ts +2 -0
  305. package/dist/requests/items/proposeAttribute/ProposeAttributeAcceptResponseItem.js +3 -0
  306. package/dist/requests/items/proposeAttribute/ProposeAttributeAcceptResponseItem.js.map +1 -1
  307. package/dist/requests/items/proposeAttribute/ProposeAttributeRequestItem.d.ts +3 -1
  308. package/dist/requests/items/proposeAttribute/ProposeAttributeRequestItem.js +9 -4
  309. package/dist/requests/items/proposeAttribute/ProposeAttributeRequestItem.js.map +1 -1
  310. package/dist/requests/items/readAttribute/ReadAttributeAcceptResponseItem.d.ts +2 -0
  311. package/dist/requests/items/readAttribute/ReadAttributeAcceptResponseItem.js +3 -0
  312. package/dist/requests/items/readAttribute/ReadAttributeAcceptResponseItem.js.map +1 -1
  313. package/dist/requests/items/readAttribute/ReadAttributeRequestItem.d.ts +6 -5
  314. package/dist/requests/items/readAttribute/ReadAttributeRequestItem.js +5 -3
  315. package/dist/requests/items/readAttribute/ReadAttributeRequestItem.js.map +1 -1
  316. package/dist/requests/items/registerAttributeListener/RegisterAttributeListenerAcceptResponseItem.d.ts +13 -0
  317. package/dist/{forms/items/FormItemSelect.js → requests/items/registerAttributeListener/RegisterAttributeListenerAcceptResponseItem.js} +16 -16
  318. package/dist/requests/items/registerAttributeListener/RegisterAttributeListenerAcceptResponseItem.js.map +1 -0
  319. package/dist/requests/items/registerAttributeListener/RegisterAttributeListenerRequestItem.d.ts +14 -0
  320. package/dist/requests/items/registerAttributeListener/RegisterAttributeListenerRequestItem.js +35 -0
  321. package/dist/requests/items/registerAttributeListener/RegisterAttributeListenerRequestItem.js.map +1 -0
  322. package/dist/requests/items/shareAttribute/ShareAttributeAcceptResponseItem.d.ts +2 -0
  323. package/dist/requests/items/shareAttribute/ShareAttributeAcceptResponseItem.js +3 -0
  324. package/dist/requests/items/shareAttribute/ShareAttributeAcceptResponseItem.js.map +1 -1
  325. package/dist/requests/items/shareAttribute/ShareAttributeRequestItem.d.ts +3 -1
  326. package/dist/requests/items/shareAttribute/ShareAttributeRequestItem.js +3 -0
  327. package/dist/requests/items/shareAttribute/ShareAttributeRequestItem.js.map +1 -1
  328. package/dist/requests/response/AcceptResponseItem.d.ts +6 -6
  329. package/dist/requests/response/AcceptResponseItem.js +2 -2
  330. package/dist/requests/response/AcceptResponseItem.js.map +1 -1
  331. package/dist/requests/response/ErrorResponseItem.d.ts +3 -2
  332. package/dist/requests/response/ErrorResponseItem.js +2 -2
  333. package/dist/requests/response/ErrorResponseItem.js.map +1 -1
  334. package/dist/requests/response/RejectResponseItem.d.ts +3 -2
  335. package/dist/requests/response/RejectResponseItem.js +2 -2
  336. package/dist/requests/response/RejectResponseItem.js.map +1 -1
  337. package/dist/requests/response/Response.d.ts +3 -2
  338. package/dist/requests/response/Response.js +2 -2
  339. package/dist/requests/response/Response.js.map +1 -1
  340. package/dist/requests/response/ResponseItem.d.ts +1 -1
  341. package/dist/requests/response/ResponseItem.js +2 -2
  342. package/dist/requests/response/ResponseItem.js.map +1 -1
  343. package/dist/requests/response/ResponseItemGroup.d.ts +3 -2
  344. package/dist/requests/response/ResponseItemGroup.js +2 -2
  345. package/dist/requests/response/ResponseItemGroup.js.map +1 -1
  346. package/lib-web/nmshd.content.js +4371 -5375
  347. package/lib-web/nmshd.content.min.js +1 -1
  348. package/package.json +18 -17
  349. package/dist/attributes/Attribute.d.ts +0 -24
  350. package/dist/attributes/Attribute.js +0 -66
  351. package/dist/attributes/Attribute.js.map +0 -1
  352. package/dist/attributes/hints/RelationshipAttributeCreationHints.d.ts +0 -31
  353. package/dist/attributes/hints/RelationshipAttributeCreationHints.js +0 -64
  354. package/dist/attributes/hints/RelationshipAttributeCreationHints.js.map +0 -1
  355. package/dist/attributes/types/AttributeList.d.ts +0 -1
  356. package/dist/attributes/types/AttributeList.js +0 -37
  357. package/dist/attributes/types/AttributeList.js.map +0 -1
  358. package/dist/attributes/types/AttributeTypeMapping.d.ts +0 -1
  359. package/dist/attributes/types/AttributeTypeMapping.js +0 -9
  360. package/dist/attributes/types/AttributeTypeMapping.js.map +0 -1
  361. package/dist/attributes/types/communication/Fax.d.ts +0 -3
  362. package/dist/attributes/types/communication/Fax.js.map +0 -1
  363. package/dist/attributes/types/communication/Phone.d.ts +0 -3
  364. package/dist/attributes/types/communication/Phone.js.map +0 -1
  365. package/dist/attributes/types/files/FileReference.d.ts +0 -3
  366. package/dist/attributes/types/files/FileReference.js.map +0 -1
  367. package/dist/attributes/types/files/index.js.map +0 -1
  368. package/dist/attributes/types/name/AbstractLegalName.d.ts +0 -3
  369. package/dist/attributes/types/name/AbstractLegalName.js +0 -8
  370. package/dist/attributes/types/name/AbstractLegalName.js.map +0 -1
  371. package/dist/attributes/types/name/DisplayName.d.ts +0 -3
  372. package/dist/attributes/types/name/DisplayName.js.map +0 -1
  373. package/dist/attributes/types/name/LegalNameDE.js +0 -92
  374. package/dist/attributes/types/name/LegalNameDE.js.map +0 -1
  375. package/dist/attributes/types/name/Salutation.js.map +0 -1
  376. package/dist/attributes/types/person/Age.d.ts +0 -6
  377. package/dist/attributes/types/person/Age.js +0 -34
  378. package/dist/attributes/types/person/Age.js.map +0 -1
  379. package/dist/attributes/types/person/Picture.d.ts +0 -3
  380. package/dist/attributes/types/person/Picture.js +0 -18
  381. package/dist/attributes/types/person/Picture.js.map +0 -1
  382. package/dist/attributes/types/proprietary/ProprietaryDataURL.d.ts +0 -14
  383. package/dist/attributes/types/proprietary/ProprietaryDataURL.js +0 -31
  384. package/dist/attributes/types/proprietary/ProprietaryDataURL.js.map +0 -1
  385. package/dist/attributes/types/strings/AbstractDataURL.d.ts +0 -7
  386. package/dist/attributes/types/strings/AbstractDataURL.js +0 -40
  387. package/dist/attributes/types/strings/AbstractDataURL.js.map +0 -1
  388. package/dist/forms/Form.d.ts +0 -18
  389. package/dist/forms/Form.js +0 -36
  390. package/dist/forms/Form.js.map +0 -1
  391. package/dist/forms/FormItem.d.ts +0 -35
  392. package/dist/forms/FormItem.js.map +0 -1
  393. package/dist/forms/index.d.ts +0 -8
  394. package/dist/forms/index.js.map +0 -1
  395. package/dist/forms/items/FormItemBoolean.d.ts +0 -7
  396. package/dist/forms/items/FormItemBoolean.js +0 -26
  397. package/dist/forms/items/FormItemBoolean.js.map +0 -1
  398. package/dist/forms/items/FormItemDate.d.ts +0 -15
  399. package/dist/forms/items/FormItemDate.js +0 -46
  400. package/dist/forms/items/FormItemDate.js.map +0 -1
  401. package/dist/forms/items/FormItemInvisible.d.ts +0 -7
  402. package/dist/forms/items/FormItemInvisible.js +0 -26
  403. package/dist/forms/items/FormItemInvisible.js.map +0 -1
  404. package/dist/forms/items/FormItemMultipleChoice.d.ts +0 -10
  405. package/dist/forms/items/FormItemMultipleChoice.js +0 -32
  406. package/dist/forms/items/FormItemMultipleChoice.js.map +0 -1
  407. package/dist/forms/items/FormItemMultipleChoiceItem.d.ts +0 -10
  408. package/dist/forms/items/FormItemMultipleChoiceItem.js +0 -30
  409. package/dist/forms/items/FormItemMultipleChoiceItem.js.map +0 -1
  410. package/dist/forms/items/FormItemSelect.d.ts +0 -10
  411. package/dist/forms/items/FormItemSelect.js.map +0 -1
  412. package/dist/forms/items/FormItemSelectItem.d.ts +0 -10
  413. package/dist/forms/items/FormItemSelectItem.js +0 -30
  414. package/dist/forms/items/FormItemSelectItem.js.map +0 -1
  415. package/dist/forms/items/FormItemString.d.ts +0 -15
  416. package/dist/forms/items/FormItemString.js +0 -46
  417. package/dist/forms/items/FormItemString.js.map +0 -1
  418. package/dist/forms/items/FormItemText.d.ts +0 -15
  419. package/dist/forms/items/FormItemText.js +0 -46
  420. package/dist/forms/items/FormItemText.js.map +0 -1
  421. package/dist/messages/RequestMail.d.ts +0 -14
  422. package/dist/messages/RequestMail.js +0 -51
  423. package/dist/messages/RequestMail.js.map +0 -1
  424. package/dist/relationships/RelationshipCreationChangeRequestBody.d.ts +0 -16
  425. package/dist/relationships/RelationshipCreationChangeRequestBody.js.map +0 -1
  426. package/dist/relationships/RelationshipTemplateBody.d.ts +0 -22
  427. package/dist/relationships/RelationshipTemplateBody.js.map +0 -1
  428. package/dist/requests/items/createRelationshipAttribute/CreateRelationshipAttributeAcceptResponseItem.d.ts +0 -12
  429. package/dist/requests/items/createRelationshipAttribute/CreateRelationshipAttributeAcceptResponseItem.js.map +0 -1
  430. package/dist/requests/items/createRelationshipAttribute/CreateRelationshipAttributeRequestItem.d.ts +0 -13
  431. package/dist/requests/items/createRelationshipAttribute/CreateRelationshipAttributeRequestItem.js.map +0 -1
  432. package/dist/requests/old/AttributesChangeRequest.d.ts +0 -54
  433. package/dist/requests/old/AttributesChangeRequest.js +0 -71
  434. package/dist/requests/old/AttributesChangeRequest.js.map +0 -1
  435. package/dist/requests/old/AttributesRequest.d.ts +0 -49
  436. package/dist/requests/old/AttributesRequest.js +0 -64
  437. package/dist/requests/old/AttributesRequest.js.map +0 -1
  438. package/dist/requests/old/AttributesShareRequest.d.ts +0 -52
  439. package/dist/requests/old/AttributesShareRequest.js +0 -59
  440. package/dist/requests/old/AttributesShareRequest.js.map +0 -1
@@ -1,22 +1,29 @@
1
1
  import { AbstractComplexValue, AbstractComplexValueJSON, IAbstractComplexValue } from "../../AbstractComplexValue";
2
2
  import { RenderHints, ValueHints } from "../../hints";
3
- import { AbstractStringJSON, IAbstractString } from "../AbstractString";
4
- import { BirthCity } from "./BirthCity";
5
- import { BirthCountry } from "./BirthCountry";
6
- import { BirthState } from "./BirthState";
3
+ import { BirthCity, IBirthCity } from "./BirthCity";
4
+ import { BirthCountry, IBirthCountry } from "./BirthCountry";
5
+ import { BirthState, IBirthState } from "./BirthState";
7
6
  export interface BirthPlaceJSON extends AbstractComplexValueJSON {
8
- city: AbstractStringJSON;
9
- country: AbstractStringJSON;
10
- state?: AbstractStringJSON;
7
+ "@type": "BirthPlace";
8
+ city: string;
9
+ country: string;
10
+ state?: string;
11
11
  }
12
12
  export interface IBirthPlace extends IAbstractComplexValue {
13
- city: BirthCity | IAbstractString | number;
14
- country: BirthCountry | IAbstractString | number;
15
- state?: BirthState | IAbstractString | number;
13
+ city: IBirthCity | string;
14
+ country: IBirthCountry | string;
15
+ state?: IBirthState | string;
16
16
  }
17
17
  export declare class BirthPlace extends AbstractComplexValue implements IBirthPlace {
18
18
  static readonly propertyNames: {
19
19
  city: {
20
+ toJSON: import("easy-tsnameof").PathHandlers<{
21
+ $path: (path: import("easy-tsnameof").PathKey[]) => string;
22
+ $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
23
+ toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
24
+ valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
25
+ [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
26
+ }>;
20
27
  value: import("easy-tsnameof").PathHandlers<{
21
28
  $path: (path: import("easy-tsnameof").PathKey[]) => string;
22
29
  $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
@@ -280,13 +287,6 @@ export declare class BirthPlace extends AbstractComplexValue implements IBirthPl
280
287
  valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
281
288
  [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
282
289
  }>;
283
- toJSON: import("easy-tsnameof").PathHandlers<{
284
- $path: (path: import("easy-tsnameof").PathKey[]) => string;
285
- $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
286
- toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
287
- valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
288
- [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
289
- }>;
290
290
  } & import("easy-tsnameof").PathHandlers<{
291
291
  $path: (path: import("easy-tsnameof").PathKey[]) => string;
292
292
  $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
@@ -295,6 +295,13 @@ export declare class BirthPlace extends AbstractComplexValue implements IBirthPl
295
295
  [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
296
296
  }>;
297
297
  country: {
298
+ toJSON: import("easy-tsnameof").PathHandlers<{
299
+ $path: (path: import("easy-tsnameof").PathKey[]) => string;
300
+ $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
301
+ toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
302
+ valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
303
+ [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
304
+ }>;
298
305
  value: import("easy-tsnameof").PathHandlers<{
299
306
  $path: (path: import("easy-tsnameof").PathKey[]) => string;
300
307
  $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
@@ -558,13 +565,6 @@ export declare class BirthPlace extends AbstractComplexValue implements IBirthPl
558
565
  valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
559
566
  [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
560
567
  }>;
561
- toJSON: import("easy-tsnameof").PathHandlers<{
562
- $path: (path: import("easy-tsnameof").PathKey[]) => string;
563
- $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
564
- toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
565
- valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
566
- [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
567
- }>;
568
568
  } & import("easy-tsnameof").PathHandlers<{
569
569
  $path: (path: import("easy-tsnameof").PathKey[]) => string;
570
570
  $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
@@ -573,6 +573,13 @@ export declare class BirthPlace extends AbstractComplexValue implements IBirthPl
573
573
  [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
574
574
  }>;
575
575
  state: {
576
+ toJSON: import("easy-tsnameof").PathHandlers<{
577
+ $path: (path: import("easy-tsnameof").PathKey[]) => string;
578
+ $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
579
+ toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
580
+ valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
581
+ [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
582
+ }>;
576
583
  value: import("easy-tsnameof").PathHandlers<{
577
584
  $path: (path: import("easy-tsnameof").PathKey[]) => string;
578
585
  $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
@@ -836,13 +843,6 @@ export declare class BirthPlace extends AbstractComplexValue implements IBirthPl
836
843
  valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
837
844
  [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
838
845
  }>;
839
- toJSON: import("easy-tsnameof").PathHandlers<{
840
- $path: (path: import("easy-tsnameof").PathKey[]) => string;
841
- $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
842
- toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
843
- valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
844
- [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
845
- }>;
846
846
  } & import("easy-tsnameof").PathHandlers<{
847
847
  $path: (path: import("easy-tsnameof").PathKey[]) => string;
848
848
  $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
@@ -857,6 +857,13 @@ export declare class BirthPlace extends AbstractComplexValue implements IBirthPl
857
857
  valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
858
858
  [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
859
859
  }>;
860
+ toJSON: import("easy-tsnameof").PathHandlers<{
861
+ $path: (path: import("easy-tsnameof").PathKey[]) => string;
862
+ $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
863
+ toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
864
+ valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
865
+ [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
866
+ }>;
860
867
  readonly valueHints: {
861
868
  editHelp: import("easy-tsnameof").PathHandlers<{
862
869
  $path: (path: import("easy-tsnameof").PathKey[]) => string;
@@ -1106,13 +1113,6 @@ export declare class BirthPlace extends AbstractComplexValue implements IBirthPl
1106
1113
  valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
1107
1114
  [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
1108
1115
  }>;
1109
- toJSON: import("easy-tsnameof").PathHandlers<{
1110
- $path: (path: import("easy-tsnameof").PathKey[]) => string;
1111
- $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
1112
- toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
1113
- valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
1114
- [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
1115
- }>;
1116
1116
  } & import("easy-tsnameof").PathHandlers<{
1117
1117
  $path: (path: import("easy-tsnameof").PathKey[]) => string;
1118
1118
  $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
@@ -1125,6 +1125,7 @@ export declare class BirthPlace extends AbstractComplexValue implements IBirthPl
1125
1125
  state?: BirthState;
1126
1126
  static get valueHints(): ValueHints;
1127
1127
  static get renderHints(): RenderHints;
1128
- static from(value: IBirthPlace | BirthPlaceJSON): BirthPlace;
1128
+ static from(value: IBirthPlace | Omit<BirthPlaceJSON, "@type">): BirthPlace;
1129
1129
  toString(): string;
1130
+ toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): BirthPlaceJSON;
1130
1131
  }
@@ -51,6 +51,9 @@ let BirthPlace = class BirthPlace extends AbstractComplexValue_1.AbstractComplex
51
51
  value.push(this.country.toString());
52
52
  return value.join(", ");
53
53
  }
54
+ toJSON(verbose, serializeAsString) {
55
+ return super.toJSON(verbose, serializeAsString);
56
+ }
54
57
  };
55
58
  BirthPlace.propertyNames = (0, easy_tsnameof_1.default)();
56
59
  __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"BirthPlace.js","sourceRoot":"","sources":["../../../../src/attributes/types/birth/BirthPlace.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,kDAA8D;AAC9D,kEAAkC;AAClC,yEAAqE;AACrE,qEAAkH;AAClH,uCAAqD;AAErD,2CAAuC;AACvC,iDAA6C;AAC7C,6CAAyC;AAezC,IAAa,UAAU,GAAvB,MAAa,UAAW,SAAQ,2CAAoB;IAezC,MAAM,KAAK,UAAU;QACxB,OAAO,kBAAU,CAAC,IAAI,CAAC;YACnB,aAAa,EAAE;gBACX,CAAC,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,qBAAS,CAAC,UAAU;gBACrD,CAAC,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,2BAAY,CAAC,UAAU;gBAC3D,CAAC,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,uBAAU,CAAC,UAAU;aAC1D;SACJ,CAAC,CAAA;IACN,CAAC;IAEM,MAAM,KAAc,WAAW;QAClC,OAAO,KAAK,CAAC,WAAW,CAAC,QAAQ,CAAC;YAC9B,aAAa,EAAE;gBACX,CAAC,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,qBAAS,CAAC,WAAW;gBACtD,CAAC,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,2BAAY,CAAC,WAAW;gBAC5D,CAAC,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,uBAAU,CAAC,WAAW;aAC3D;SACJ,CAAC,CAAA;IACN,CAAC;IAEM,MAAM,CAAC,IAAI,CAAC,KAAmC;QAClD,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEe,QAAQ;QACpB,MAAM,KAAK,GAAa,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAA;QAC9C,IAAI,IAAI,CAAC,KAAK,EAAE;YACZ,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAA;SACpC;QACD,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAA;QAEnC,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;IAC3B,CAAC;CACJ,CAAA;AA/C0B,wBAAa,GAAG,IAAA,uBAAM,GAAqB,CAAA;AAIlE;IAFC,IAAA,qBAAS,EAAC,EAAE,eAAe,EAAE,+CAAsB,CAAC,cAAc,EAAE,CAAC;IACrE,IAAA,oBAAQ,GAAE;8BACE,qBAAS;wCAAA;AAItB;IAFC,IAAA,qBAAS,EAAC,EAAE,eAAe,EAAE,+CAAsB,CAAC,cAAc,EAAE,CAAC;IACrE,IAAA,oBAAQ,GAAE;8BACK,2BAAY;2CAAA;AAI5B;IAFC,IAAA,qBAAS,EAAC,EAAE,eAAe,EAAE,+CAAsB,CAAC,cAAc,EAAE,CAAC;IACrE,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACd,uBAAU;yCAAA;AAbhB,UAAU;IADtB,IAAA,gBAAI,EAAC,YAAY,CAAC;GACN,UAAU,CAgDtB;AAhDY,gCAAU"}
1
+ {"version":3,"file":"BirthPlace.js","sourceRoot":"","sources":["../../../../src/attributes/types/birth/BirthPlace.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,kDAA8D;AAC9D,kEAAkC;AAClC,yEAAqE;AACrE,qEAAkH;AAClH,uCAAqD;AACrD,2CAAmD;AACnD,iDAA4D;AAC5D,6CAAsD;AAgB/C,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,2CAAoB;IAezC,MAAM,KAAK,UAAU;QACxB,OAAO,kBAAU,CAAC,IAAI,CAAC;YACnB,aAAa,EAAE;gBACX,CAAC,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,qBAAS,CAAC,UAAU;gBACrD,CAAC,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,2BAAY,CAAC,UAAU;gBAC3D,CAAC,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,uBAAU,CAAC,UAAU;aAC1D;SACJ,CAAC,CAAA;IACN,CAAC;IAEM,MAAM,KAAc,WAAW;QAClC,OAAO,KAAK,CAAC,WAAW,CAAC,QAAQ,CAAC;YAC9B,aAAa,EAAE;gBACX,CAAC,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,qBAAS,CAAC,WAAW;gBACtD,CAAC,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,2BAAY,CAAC,WAAW;gBAC5D,CAAC,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,uBAAU,CAAC,WAAW;aAC3D;SACJ,CAAC,CAAA;IACN,CAAC;IAEM,MAAM,CAAC,IAAI,CAAC,KAAkD;QACjE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEe,QAAQ;QACpB,MAAM,KAAK,GAAa,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAA;QAC9C,IAAI,IAAI,CAAC,KAAK,EAAE;YACZ,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAA;SACpC;QACD,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAA;QAEnC,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;IAC3B,CAAC;IAEe,MAAM,CAAC,OAA6B,EAAE,iBAAuC;QACzF,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,iBAAiB,CAAmB,CAAA;IACrE,CAAC;;AAlDsB,wBAAa,GAAG,IAAA,uBAAM,GAAqB,CAAA;AAElE;IAAC,IAAA,qBAAS,EAAC,EAAE,eAAe,EAAE,+CAAsB,CAAC,cAAc,EAAE,CAAC;IACrE,IAAA,oBAAQ,GAAE;8BACE,qBAAS;wCAAA;AAEtB;IAAC,IAAA,qBAAS,EAAC,EAAE,eAAe,EAAE,+CAAsB,CAAC,cAAc,EAAE,CAAC;IACrE,IAAA,oBAAQ,GAAE;8BACK,2BAAY;2CAAA;AAE5B;IAAC,IAAA,qBAAS,EAAC,EAAE,eAAe,EAAE,+CAAsB,CAAC,cAAc,EAAE,CAAC;IACrE,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACd,uBAAU;yCAAA;AAbhB,UAAU;IADtB,IAAA,gBAAI,EAAC,YAAY,CAAC;GACN,UAAU,CAoDtB;AApDY,gCAAU"}
@@ -1,3 +1,10 @@
1
- import { State } from "../address/State";
2
- export declare class BirthState extends State {
1
+ import { IState, State, StateJSON } from "../address";
2
+ export interface BirthStateJSON extends Omit<StateJSON, "@type"> {
3
+ "@type": "BirthState";
4
+ }
5
+ export interface IBirthState extends IState {
6
+ }
7
+ export declare class BirthState extends State implements IBirthState {
8
+ static from(value: IBirthState | Omit<BirthStateJSON, "@type"> | string): BirthState;
9
+ toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): BirthStateJSON;
3
10
  }
@@ -8,8 +8,14 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
9
  exports.BirthState = void 0;
10
10
  const ts_serval_1 = require("@js-soft/ts-serval");
11
- const State_1 = require("../address/State");
12
- let BirthState = class BirthState extends State_1.State {
11
+ const address_1 = require("../address");
12
+ let BirthState = class BirthState extends address_1.State {
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
  BirthState = __decorate([
15
21
  (0, ts_serval_1.type)("BirthState")
@@ -1 +1 @@
1
- {"version":3,"file":"BirthState.js","sourceRoot":"","sources":["../../../../src/attributes/types/birth/BirthState.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,4CAAwC;AAGxC,IAAa,UAAU,GAAvB,MAAa,UAAW,SAAQ,aAAK;CAAG,CAAA;AAA3B,UAAU;IADtB,IAAA,gBAAI,EAAC,YAAY,CAAC;GACN,UAAU,CAAiB;AAA3B,gCAAU"}
1
+ {"version":3,"file":"BirthState.js","sourceRoot":"","sources":["../../../../src/attributes/types/birth/BirthState.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,wCAAqD;AAS9C,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,eAAK;IAC1B,MAAM,CAAU,IAAI,CAAC,KAA2D;QACnF,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,CAAmB,CAAA;IACrE,CAAC;CACJ,CAAA;AARY,UAAU;IADtB,IAAA,gBAAI,EAAC,YAAY,CAAC;GACN,UAAU,CAQtB;AARY,gCAAU"}
@@ -1,3 +1,10 @@
1
- import { AbstractYear } from "../dates/AbstractYear";
2
- export declare class BirthYear extends AbstractYear {
1
+ import { AbstractYear, AbstractYearJSON, IAbstractYear } from "../dates";
2
+ export interface BirthYearJSON extends AbstractYearJSON {
3
+ "@type": "BirthYear";
4
+ }
5
+ export interface IBirthYear extends IAbstractYear {
6
+ }
7
+ export declare class BirthYear extends AbstractYear implements IBirthYear {
8
+ static from(value: IBirthYear | Omit<BirthYearJSON, "@type"> | number): BirthYear;
9
+ toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): BirthYearJSON;
3
10
  }
@@ -8,8 +8,14 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
9
  exports.BirthYear = void 0;
10
10
  const ts_serval_1 = require("@js-soft/ts-serval");
11
- const AbstractYear_1 = require("../dates/AbstractYear");
12
- let BirthYear = class BirthYear extends AbstractYear_1.AbstractYear {
11
+ const dates_1 = require("../dates");
12
+ let BirthYear = class BirthYear extends dates_1.AbstractYear {
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
  BirthYear = __decorate([
15
21
  (0, ts_serval_1.type)("BirthYear")
@@ -1 +1 @@
1
- {"version":3,"file":"BirthYear.js","sourceRoot":"","sources":["../../../../src/attributes/types/birth/BirthYear.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,wDAAoD;AAGpD,IAAa,SAAS,GAAtB,MAAa,SAAU,SAAQ,2BAAY;CAAG,CAAA;AAAjC,SAAS;IADrB,IAAA,gBAAI,EAAC,WAAW,CAAC;GACL,SAAS,CAAwB;AAAjC,8BAAS"}
1
+ {"version":3,"file":"BirthYear.js","sourceRoot":"","sources":["../../../../src/attributes/types/birth/BirthYear.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,oCAAwE;AASjE,IAAM,SAAS,GAAf,MAAM,SAAU,SAAQ,oBAAY;IAChC,MAAM,CAAC,IAAI,CAAC,KAAyD;QACxE,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,3 +1,11 @@
1
+ import { AbstractStringJSON, IAbstractString } from "../AbstractString";
1
2
  import { AbstractLanguage } from "../strings/AbstractLanguage";
2
- export declare class CommunicationLanguage extends AbstractLanguage {
3
+ export interface CommunicationLanguageJSON extends AbstractStringJSON {
4
+ "@type": "CommunicationLanguage";
5
+ }
6
+ export interface ICommunicationLanguage extends IAbstractString {
7
+ }
8
+ export declare class CommunicationLanguage extends AbstractLanguage implements ICommunicationLanguage {
9
+ static from(value: ICommunicationLanguage | Omit<CommunicationLanguageJSON, "@type"> | string): CommunicationLanguage;
10
+ toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): CommunicationLanguageJSON;
3
11
  }
@@ -10,6 +10,12 @@ exports.CommunicationLanguage = void 0;
10
10
  const ts_serval_1 = require("@js-soft/ts-serval");
11
11
  const AbstractLanguage_1 = require("../strings/AbstractLanguage");
12
12
  let CommunicationLanguage = class CommunicationLanguage extends AbstractLanguage_1.AbstractLanguage {
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
  CommunicationLanguage = __decorate([
15
21
  (0, ts_serval_1.type)("CommunicationLanguage")
@@ -1 +1 @@
1
- {"version":3,"file":"CommunicationLanguage.js","sourceRoot":"","sources":["../../../../src/attributes/types/communication/CommunicationLanguage.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,kEAA8D;AAG9D,IAAa,qBAAqB,GAAlC,MAAa,qBAAsB,SAAQ,mCAAgB;CAAG,CAAA;AAAjD,qBAAqB;IADjC,IAAA,gBAAI,EAAC,uBAAuB,CAAC;GACjB,qBAAqB,CAA4B;AAAjD,sDAAqB"}
1
+ {"version":3,"file":"CommunicationLanguage.js","sourceRoot":"","sources":["../../../../src/attributes/types/communication/CommunicationLanguage.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AAEzC,kEAA8D;AASvD,IAAM,qBAAqB,GAA3B,MAAM,qBAAsB,SAAQ,mCAAgB;IAChD,MAAM,CAAC,IAAI,CACd,KAAiF;QAEjF,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,CAA8B,CAAA;IAChF,CAAC;CACJ,CAAA;AAbY,qBAAqB;IADjC,IAAA,gBAAI,EAAC,uBAAuB,CAAC;GACjB,qBAAqB,CAajC;AAbY,sDAAqB"}
@@ -1,3 +1,11 @@
1
+ import { AbstractStringJSON, IAbstractString } from "../AbstractString";
1
2
  import { AbstractEMailAddress } from "../strings/AbstractEMailAddress";
2
- export declare class EMailAddress extends AbstractEMailAddress {
3
+ export interface EMailAddressJSON extends AbstractStringJSON {
4
+ "@type": "EMailAddress";
5
+ }
6
+ export interface IEMailAddress extends IAbstractString {
7
+ }
8
+ export declare class EMailAddress extends AbstractEMailAddress implements IEMailAddress {
9
+ static from(value: IEMailAddress | Omit<EMailAddressJSON, "@type"> | string): EMailAddress;
10
+ toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): EMailAddressJSON;
3
11
  }
@@ -10,6 +10,12 @@ exports.EMailAddress = void 0;
10
10
  const ts_serval_1 = require("@js-soft/ts-serval");
11
11
  const AbstractEMailAddress_1 = require("../strings/AbstractEMailAddress");
12
12
  let EMailAddress = class EMailAddress extends AbstractEMailAddress_1.AbstractEMailAddress {
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
  EMailAddress = __decorate([
15
21
  (0, ts_serval_1.type)("EMailAddress")
@@ -1 +1 @@
1
- {"version":3,"file":"EMailAddress.js","sourceRoot":"","sources":["../../../../src/attributes/types/communication/EMailAddress.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,0EAAsE;AAGtE,IAAa,YAAY,GAAzB,MAAa,YAAa,SAAQ,2CAAoB;CAAG,CAAA;AAA5C,YAAY;IADxB,IAAA,gBAAI,EAAC,cAAc,CAAC;GACR,YAAY,CAAgC;AAA5C,oCAAY"}
1
+ {"version":3,"file":"EMailAddress.js","sourceRoot":"","sources":["../../../../src/attributes/types/communication/EMailAddress.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AAEzC,0EAAsE;AAS/D,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,2CAAoB;IAC3C,MAAM,CAAC,IAAI,CAAC,KAA+D;QAC9E,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,CAAqB,CAAA;IACvE,CAAC;CACJ,CAAA;AARY,YAAY;IADxB,IAAA,gBAAI,EAAC,cAAc,CAAC;GACR,YAAY,CAQxB;AARY,oCAAY"}
@@ -0,0 +1,11 @@
1
+ import { AbstractStringJSON, IAbstractString } from "../AbstractString";
2
+ import { AbstractPhoneNumber } from "../strings";
3
+ export interface FaxNumberJSON extends AbstractStringJSON {
4
+ "@type": "FaxNumber";
5
+ }
6
+ export interface IFaxNumber extends IAbstractString {
7
+ }
8
+ export declare class FaxNumber extends AbstractPhoneNumber implements IFaxNumber {
9
+ static from(value: IFaxNumber | Omit<FaxNumberJSON, "@type"> | string): FaxNumber;
10
+ toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): FaxNumberJSON;
11
+ }
@@ -6,13 +6,19 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
6
6
  return c > 3 && r && Object.defineProperty(target, key, r), r;
7
7
  };
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.Fax = void 0;
9
+ exports.FaxNumber = void 0;
10
10
  const ts_serval_1 = require("@js-soft/ts-serval");
11
- const AbstractPhoneNumber_1 = require("../strings/AbstractPhoneNumber");
12
- let Fax = class Fax extends AbstractPhoneNumber_1.AbstractPhoneNumber {
11
+ const strings_1 = require("../strings");
12
+ let FaxNumber = class FaxNumber extends strings_1.AbstractPhoneNumber {
13
+ static from(value) {
14
+ return this.fromAny(value);
15
+ }
16
+ toJSON(verbose, serializeAsString) {
17
+ return super.toJSON(verbose, serializeAsString);
18
+ }
13
19
  };
14
- Fax = __decorate([
15
- (0, ts_serval_1.type)("Fax")
16
- ], Fax);
17
- exports.Fax = Fax;
18
- //# sourceMappingURL=Fax.js.map
20
+ FaxNumber = __decorate([
21
+ (0, ts_serval_1.type)("FaxNumber")
22
+ ], FaxNumber);
23
+ exports.FaxNumber = FaxNumber;
24
+ //# sourceMappingURL=FaxNumber.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FaxNumber.js","sourceRoot":"","sources":["../../../../src/attributes/types/communication/FaxNumber.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AAEzC,wCAAgD;AASzC,IAAM,SAAS,GAAf,MAAM,SAAU,SAAQ,6BAAmB;IACvC,MAAM,CAAC,IAAI,CAAC,KAAyD;QACxE,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"}
@@ -0,0 +1,11 @@
1
+ import { AbstractStringJSON, IAbstractString } from "../AbstractString";
2
+ import { AbstractPhoneNumber } from "../strings";
3
+ export interface PhoneNumberJSON extends AbstractStringJSON {
4
+ "@type": "PhoneNumber";
5
+ }
6
+ export interface IPhoneNumber extends IAbstractString {
7
+ }
8
+ export declare class PhoneNumber extends AbstractPhoneNumber implements IPhoneNumber {
9
+ static from(value: IPhoneNumber | Omit<PhoneNumberJSON, "@type"> | string): PhoneNumber;
10
+ toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): PhoneNumberJSON;
11
+ }
@@ -6,13 +6,19 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
6
6
  return c > 3 && r && Object.defineProperty(target, key, r), r;
7
7
  };
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.Phone = void 0;
9
+ exports.PhoneNumber = void 0;
10
10
  const ts_serval_1 = require("@js-soft/ts-serval");
11
- const AbstractPhoneNumber_1 = require("../strings/AbstractPhoneNumber");
12
- let Phone = class Phone extends AbstractPhoneNumber_1.AbstractPhoneNumber {
11
+ const strings_1 = require("../strings");
12
+ let PhoneNumber = class PhoneNumber extends strings_1.AbstractPhoneNumber {
13
+ static from(value) {
14
+ return this.fromAny(value);
15
+ }
16
+ toJSON(verbose, serializeAsString) {
17
+ return super.toJSON(verbose, serializeAsString);
18
+ }
13
19
  };
14
- Phone = __decorate([
15
- (0, ts_serval_1.type)("Phone")
16
- ], Phone);
17
- exports.Phone = Phone;
18
- //# sourceMappingURL=Phone.js.map
20
+ PhoneNumber = __decorate([
21
+ (0, ts_serval_1.type)("PhoneNumber")
22
+ ], PhoneNumber);
23
+ exports.PhoneNumber = PhoneNumber;
24
+ //# sourceMappingURL=PhoneNumber.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PhoneNumber.js","sourceRoot":"","sources":["../../../../src/attributes/types/communication/PhoneNumber.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AAEzC,wCAAgD;AASzC,IAAM,WAAW,GAAjB,MAAM,WAAY,SAAQ,6BAAmB;IACzC,MAAM,CAAC,IAAI,CAAC,KAA6D;QAC5E,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,3 +1,11 @@
1
+ import { AbstractStringJSON, IAbstractString } from "../AbstractString";
1
2
  import { AbstractURL } from "../strings";
2
- export declare class Website extends AbstractURL {
3
+ export interface WebsiteJSON extends AbstractStringJSON {
4
+ "@type": "Website";
5
+ }
6
+ export interface IWebsite extends IAbstractString {
7
+ }
8
+ export declare class Website extends AbstractURL implements IWebsite {
9
+ static from(value: IWebsite | Omit<WebsiteJSON, "@type"> | string): Website;
10
+ toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): WebsiteJSON;
3
11
  }
@@ -10,6 +10,12 @@ exports.Website = void 0;
10
10
  const ts_serval_1 = require("@js-soft/ts-serval");
11
11
  const strings_1 = require("../strings");
12
12
  let Website = class Website extends strings_1.AbstractURL {
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
  Website = __decorate([
15
21
  (0, ts_serval_1.type)("Website")
@@ -1 +1 @@
1
- {"version":3,"file":"Website.js","sourceRoot":"","sources":["../../../../src/attributes/types/communication/Website.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,wCAAwC;AAGxC,IAAa,OAAO,GAApB,MAAa,OAAQ,SAAQ,qBAAW;CAAG,CAAA;AAA9B,OAAO;IADnB,IAAA,gBAAI,EAAC,SAAS,CAAC;GACH,OAAO,CAAuB;AAA9B,0BAAO"}
1
+ {"version":3,"file":"Website.js","sourceRoot":"","sources":["../../../../src/attributes/types/communication/Website.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AAEzC,wCAAwC;AASjC,IAAM,OAAO,GAAb,MAAM,OAAQ,SAAQ,qBAAW;IAC7B,MAAM,CAAC,IAAI,CAAC,KAAqD;QACpE,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,CAAgB,CAAA;IAClE,CAAC;CACJ,CAAA;AARY,OAAO;IADnB,IAAA,gBAAI,EAAC,SAAS,CAAC;GACH,OAAO,CAQnB;AARY,0BAAO"}
@@ -1,5 +1,5 @@
1
1
  export * from "./CommunicationLanguage";
2
2
  export * from "./EMailAddress";
3
- export * from "./Fax";
4
- export * from "./Phone";
3
+ export * from "./FaxNumber";
4
+ export * from "./PhoneNumber";
5
5
  export * from "./Website";
@@ -16,7 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./CommunicationLanguage"), exports);
18
18
  __exportStar(require("./EMailAddress"), exports);
19
- __exportStar(require("./Fax"), exports);
20
- __exportStar(require("./Phone"), exports);
19
+ __exportStar(require("./FaxNumber"), exports);
20
+ __exportStar(require("./PhoneNumber"), exports);
21
21
  __exportStar(require("./Website"), exports);
22
22
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/attributes/types/communication/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAuC;AACvC,iDAA8B;AAC9B,wCAAqB;AACrB,0CAAuB;AACvB,4CAAyB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/attributes/types/communication/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAuC;AACvC,iDAA8B;AAC9B,8CAA2B;AAC3B,gDAA6B;AAC7B,4CAAyB"}
@@ -1 +1 @@
1
- {"version":3,"file":"AbstractDateString.js","sourceRoot":"","sources":["../../../../src/attributes/types/dates/AbstractDateString.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAwD;AACxD,iCAAgC;AAChC,qDAA6G;AAC7G,sDAAkD;AAElD,MAAsB,kBAAmB,SAAQ,+BAAc;IAcpD,MAAM,KAAc,UAAU;QACjC,OAAO,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC;YAC7B,GAAG,EAAE,EAAE;YACP,GAAG,EAAE,EAAE;SACV,CAAC,CAAA;IACN,CAAC;IAEM,MAAM,KAAc,WAAW;QAClC,OAAO,KAAK,CAAC,WAAW,CAAC,QAAQ,CAAC;YAC9B,QAAQ,EAAE,2BAAmB,CAAC,UAAU;YACxC,QAAQ,EAAE,2BAAmB,CAAC,IAAI;SACrC,CAAC,CAAA;IACN,CAAC;;AAzBuB,yBAAM,GAAG,YAAY,CAAA;AAW7C;IATC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC;QACN,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,eAAe,EAAE,CAAC,CAAC,EAAE,EAAE,CACnB,CAAC,gBAAQ,CAAC,UAAU,CAAC,CAAC,EAAE,kBAAkB,CAAC,MAAM,CAAC,CAAC,OAAO;YACtD,CAAC,CAAC,qCAAqC,kBAAkB,CAAC,MAAM,GAAG;YACnE,CAAC,CAAC,SAAS;KACtB,CAAC;;iDAC2B;AAZjC,gDA2BC"}
1
+ {"version":3,"file":"AbstractDateString.js","sourceRoot":"","sources":["../../../../src/attributes/types/dates/AbstractDateString.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAwD;AACxD,iCAAgC;AAChC,qDAA6G;AAC7G,sDAAkD;AAElD,MAAsB,kBAAmB,SAAQ,+BAAc;IAcpD,MAAM,KAAc,UAAU;QACjC,OAAO,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC;YAC7B,GAAG,EAAE,EAAE;YACP,GAAG,EAAE,EAAE;SACV,CAAC,CAAA;IACN,CAAC;IAEM,MAAM,KAAc,WAAW;QAClC,OAAO,KAAK,CAAC,WAAW,CAAC,QAAQ,CAAC;YAC9B,QAAQ,EAAE,2BAAmB,CAAC,UAAU;YACxC,QAAQ,EAAE,2BAAmB,CAAC,IAAI;SACrC,CAAC,CAAA;IACN,CAAC;;AAzBuB,yBAAM,GAAG,YAAY,CAAA;AAE7C;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC;QACN,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,eAAe,EAAE,CAAC,CAAC,EAAE,EAAE,CACnB,CAAC,gBAAQ,CAAC,UAAU,CAAC,CAAC,EAAE,kBAAkB,CAAC,MAAM,CAAC,CAAC,OAAO;YACtD,CAAC,CAAC,qCAAqC,kBAAkB,CAAC,MAAM,GAAG;YACnE,CAAC,CAAC,SAAS;KACtB,CAAC;;iDAC2B;AAZjC,gDA2BC"}
@@ -1,9 +1,15 @@
1
1
  import { RenderHints, ValueHints } from "../../../attributes/hints";
2
- import { AbstractInteger } from "../AbstractInteger";
2
+ import { AbstractInteger, AbstractIntegerJSON, IAbstractInteger } from "../AbstractInteger";
3
+ export interface AbstractDayJSON extends AbstractIntegerJSON {
4
+ value: number;
5
+ }
6
+ export interface IAbstractDay extends IAbstractInteger {
7
+ value: number;
8
+ }
3
9
  /**
4
10
  * day values start with 1 = first day of month
5
11
  */
6
- export declare abstract class AbstractDay extends AbstractInteger {
12
+ export declare abstract class AbstractDay extends AbstractInteger implements IAbstractDay {
7
13
  value: number;
8
14
  static get valueHints(): ValueHints;
9
15
  static get renderHints(): RenderHints;
@@ -1 +1 @@
1
- {"version":3,"file":"AbstractDay.js","sourceRoot":"","sources":["../../../../src/attributes/types/dates/AbstractDay.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAwD;AACxD,qDAA6G;AAC7G,wDAAoD;AAEpD;;GAEG;AACH,MAAsB,WAAY,SAAQ,iCAAe;IAQ9C,MAAM,KAAc,UAAU;QACjC,OAAO,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC;YAC7B,GAAG,EAAE,CAAC;YACN,GAAG,EAAE,EAAE;SACV,CAAC,CAAA;IACN,CAAC;IAEM,MAAM,KAAc,WAAW;QAClC,OAAO,KAAK,CAAC,WAAW,CAAC,QAAQ,CAAC;YAC9B,QAAQ,EAAE,2BAAmB,CAAC,UAAU;YACxC,QAAQ,EAAE,2BAAmB,CAAC,GAAG;SACpC,CAAC,CAAA;IACN,CAAC;CACJ;AAfG;IALC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC;QACN,eAAe,EAAE,CAAC,CAAC,EAAE,EAAE,CACnB,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,2CAA2C,CAAC,CAAC,CAAC,SAAS;KACxG,CAAC;;0CAC2B;AANjC,kCAqBC"}
1
+ {"version":3,"file":"AbstractDay.js","sourceRoot":"","sources":["../../../../src/attributes/types/dates/AbstractDay.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAwD;AACxD,qDAA6G;AAC7G,wDAA2F;AAU3F;;GAEG;AACH,MAAsB,WAAY,SAAQ,iCAAe;IAQ9C,MAAM,KAAc,UAAU;QACjC,OAAO,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC;YAC7B,GAAG,EAAE,CAAC;YACN,GAAG,EAAE,EAAE;SACV,CAAC,CAAA;IACN,CAAC;IAEM,MAAM,KAAc,WAAW;QAClC,OAAO,KAAK,CAAC,WAAW,CAAC,QAAQ,CAAC;YAC9B,QAAQ,EAAE,2BAAmB,CAAC,UAAU;YACxC,QAAQ,EAAE,2BAAmB,CAAC,GAAG;SACpC,CAAC,CAAA;IACN,CAAC;CACJ;AApBG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC;QACN,eAAe,EAAE,CAAC,CAAC,EAAE,EAAE,CACnB,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,2CAA2C,CAAC,CAAC,CAAC,SAAS;KACxG,CAAC;;0CAC2B;AANjC,kCAqBC"}
@@ -1,6 +1,12 @@
1
1
  import { RenderHints } from "../../../attributes/hints";
2
2
  import { ValueHints } from "../../hints/ValueHints";
3
- import { AbstractInteger } from "../AbstractInteger";
3
+ import { AbstractInteger, AbstractIntegerJSON, IAbstractInteger } from "../AbstractInteger";
4
+ export interface AbstractMonthJSON extends AbstractIntegerJSON {
5
+ value: Month;
6
+ }
7
+ export interface IAbstractMonth extends IAbstractInteger {
8
+ value: Month;
9
+ }
4
10
  /**
5
11
  * Month values: 1 (january) - 12 (december)
6
12
  */
@@ -21,7 +27,7 @@ declare enum Month {
21
27
  /**
22
28
  * Month value are continuously numbered: 1 (january) - 12 (december)
23
29
  */
24
- export declare class AbstractMonth extends AbstractInteger {
30
+ export declare class AbstractMonth extends AbstractInteger implements IAbstractMonth {
25
31
  value: Month;
26
32
  static get valueHints(): ValueHints;
27
33
  static get renderHints(): RenderHints;
@@ -1 +1 @@
1
- {"version":3,"file":"AbstractMonth.js","sourceRoot":"","sources":["../../../../src/attributes/types/dates/AbstractMonth.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAwD;AACxD,qDAAiG;AAEjG,wDAAoD;AAEpD;;GAEG;AACH,IAAK,KAaJ;AAbD,WAAK,KAAK;IACN,uCAAW,CAAA;IACX,yCAAY,CAAA;IACZ,mCAAS,CAAA;IACT,mCAAS,CAAA;IACT,+BAAO,CAAA;IACP,iCAAQ,CAAA;IACR,iCAAQ,CAAA;IACR,qCAAU,CAAA;IACV,2CAAa,CAAA;IACb,wCAAY,CAAA;IACZ,0CAAa,CAAA;IACb,0CAAa,CAAA;AACjB,CAAC,EAbI,KAAK,KAAL,KAAK,QAaT;AAED;;GAEG;AACH,MAAa,aAAc,SAAQ,iCAAe;IAUvC,MAAM,KAAc,UAAU;QACjC,OAAO,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC;YAC7B,GAAG,EAAE,CAAC;YACN,GAAG,EAAE,EAAE;SACV,CAAC,CAAA;IACN,CAAC;IAEM,MAAM,KAAc,WAAW;QAClC,OAAO,KAAK,CAAC,WAAW,CAAC,QAAQ,CAAC;YAC9B,QAAQ,EAAE,2BAAmB,CAAC,UAAU;YACxC,QAAQ,EAAE,2BAAmB,CAAC,KAAK;SACtC,CAAC,CAAA;IACN,CAAC;CACJ;AAfG;IAPC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC;QACN,eAAe,EAAE,CAAC,CAAC,EAAE,EAAE,CACnB,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC;YAC7B,CAAC,CAAC,oCAAoC,KAAK,CAAC,OAAO,QAAQ,KAAK,CAAC,QAAQ,EAAE;YAC3E,CAAC,CAAC,SAAS;KACtB,CAAC;;4CAC0B;AARhC,sCAuBC"}
1
+ {"version":3,"file":"AbstractMonth.js","sourceRoot":"","sources":["../../../../src/attributes/types/dates/AbstractMonth.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAwD;AACxD,qDAAiG;AAEjG,wDAA2F;AAU3F;;GAEG;AACH,IAAK,KAaJ;AAbD,WAAK,KAAK;IACN,uCAAW,CAAA;IACX,yCAAY,CAAA;IACZ,mCAAS,CAAA;IACT,mCAAS,CAAA;IACT,+BAAO,CAAA;IACP,iCAAQ,CAAA;IACR,iCAAQ,CAAA;IACR,qCAAU,CAAA;IACV,2CAAa,CAAA;IACb,wCAAY,CAAA;IACZ,0CAAa,CAAA;IACb,0CAAa,CAAA;AACjB,CAAC,EAbI,KAAK,KAAL,KAAK,QAaT;AAED;;GAEG;AACH,MAAa,aAAc,SAAQ,iCAAe;IAUvC,MAAM,KAAc,UAAU;QACjC,OAAO,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC;YAC7B,GAAG,EAAE,CAAC;YACN,GAAG,EAAE,EAAE;SACV,CAAC,CAAA;IACN,CAAC;IAEM,MAAM,KAAc,WAAW;QAClC,OAAO,KAAK,CAAC,WAAW,CAAC,QAAQ,CAAC;YAC9B,QAAQ,EAAE,2BAAmB,CAAC,UAAU;YACxC,QAAQ,EAAE,2BAAmB,CAAC,KAAK;SACtC,CAAC,CAAA;IACN,CAAC;CACJ;AAtBG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC;QACN,eAAe,EAAE,CAAC,CAAC,EAAE,EAAE,CACnB,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC;YAC7B,CAAC,CAAC,oCAAoC,KAAK,CAAC,OAAO,QAAQ,KAAK,CAAC,QAAQ,EAAE;YAC3E,CAAC,CAAC,SAAS;KACtB,CAAC;;4CAC0B;AARhC,sCAuBC"}
@@ -1,5 +1,11 @@
1
1
  import { RenderHints, ValueHints } from "../../../attributes/hints";
2
- import { AbstractInteger } from "../AbstractInteger";
2
+ import { AbstractInteger, AbstractIntegerJSON, IAbstractInteger } from "../AbstractInteger";
3
+ export interface AbstractYearJSON extends AbstractIntegerJSON {
4
+ value: number;
5
+ }
6
+ export interface IAbstractYear extends IAbstractInteger {
7
+ value: number;
8
+ }
3
9
  export declare abstract class AbstractYear extends AbstractInteger {
4
10
  value: number;
5
11
  static get valueHints(): ValueHints;
@@ -1 +1 @@
1
- {"version":3,"file":"AbstractYear.js","sourceRoot":"","sources":["../../../../src/attributes/types/dates/AbstractYear.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAwD;AACxD,qDAA6G;AAC7G,wDAAoD;AAEpD,MAAsB,YAAa,SAAQ,iCAAe;IAQ/C,MAAM,KAAc,UAAU;QACjC,OAAO,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC;YAC7B,GAAG,EAAE,CAAC;YACN,GAAG,EAAE,IAAI;SACZ,CAAC,CAAA;IACN,CAAC;IAEM,MAAM,KAAc,WAAW;QAClC,OAAO,KAAK,CAAC,WAAW,CAAC,QAAQ,CAAC;YAC9B,QAAQ,EAAE,2BAAmB,CAAC,UAAU;YACxC,QAAQ,EAAE,2BAAmB,CAAC,IAAI;SACrC,CAAC,CAAA;IACN,CAAC;CACJ;AAfG;IALC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC;QACN,eAAe,EAAE,CAAC,CAAC,EAAE,EAAE,CACnB,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,IAAI,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,6CAA6C,CAAC,CAAC,CAAC,SAAS;KAC5G,CAAC;;2CAC2B;AANjC,oCAqBC"}
1
+ {"version":3,"file":"AbstractYear.js","sourceRoot":"","sources":["../../../../src/attributes/types/dates/AbstractYear.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAwD;AACxD,qDAA6G;AAC7G,wDAA2F;AAU3F,MAAsB,YAAa,SAAQ,iCAAe;IAQ/C,MAAM,KAAc,UAAU;QACjC,OAAO,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC;YAC7B,GAAG,EAAE,CAAC;YACN,GAAG,EAAE,IAAI;SACZ,CAAC,CAAA;IACN,CAAC;IAEM,MAAM,KAAc,WAAW;QAClC,OAAO,KAAK,CAAC,WAAW,CAAC,QAAQ,CAAC;YAC9B,QAAQ,EAAE,2BAAmB,CAAC,UAAU;YACxC,QAAQ,EAAE,2BAAmB,CAAC,IAAI;SACrC,CAAC,CAAA;IACN,CAAC;CACJ;AApBG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC;QACN,eAAe,EAAE,CAAC,CAAC,EAAE,EAAE,CACnB,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,IAAI,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,6CAA6C,CAAC,CAAC,CAAC,SAAS;KAC5G,CAAC;;2CAC2B;AANjC,oCAqBC"}
@@ -0,0 +1,10 @@
1
+ import { AbstractString, AbstractStringJSON, IAbstractString } from "../AbstractString";
2
+ export interface DisplayNameJSON extends AbstractStringJSON {
3
+ "@type": "DisplayName";
4
+ }
5
+ export interface IDisplayName extends IAbstractString {
6
+ }
7
+ export declare class DisplayName extends AbstractString implements IDisplayName {
8
+ static from(value: IDisplayName | Omit<DisplayNameJSON, "@type"> | string): DisplayName;
9
+ toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): DisplayNameJSON;
10
+ }
@@ -10,6 +10,12 @@ exports.DisplayName = void 0;
10
10
  const ts_serval_1 = require("@js-soft/ts-serval");
11
11
  const AbstractString_1 = require("../AbstractString");
12
12
  let DisplayName = class DisplayName 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
  DisplayName = __decorate([
15
21
  (0, ts_serval_1.type)("DisplayName")
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DisplayName.js","sourceRoot":"","sources":["../../../../src/attributes/types/identity/DisplayName.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,sDAAuF;AAShF,IAAM,WAAW,GAAjB,MAAM,WAAY,SAAQ,+BAAc;IACpC,MAAM,CAAC,IAAI,CAAC,KAA6D;QAC5E,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,11 @@
1
+ import { AbstractStringJSON, IAbstractString } from "../AbstractString";
2
+ import { AbstractFileReference } from "../strings";
3
+ export interface FileReferenceJSON extends AbstractStringJSON {
4
+ "@type": "FileReference";
5
+ }
6
+ export interface IFileReference extends IAbstractString {
7
+ }
8
+ export declare class FileReference extends AbstractFileReference implements IFileReference {
9
+ static from(value: IFileReference | Omit<FileReferenceJSON, "@type"> | string): FileReference;
10
+ toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): FileReferenceJSON;
11
+ }
@@ -10,6 +10,12 @@ exports.FileReference = void 0;
10
10
  const ts_serval_1 = require("@js-soft/ts-serval");
11
11
  const strings_1 = require("../strings");
12
12
  let FileReference = class FileReference extends strings_1.AbstractFileReference {
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
  FileReference = __decorate([
15
21
  (0, ts_serval_1.type)("FileReference")