@nmshd/content 2.0.0-beta.8 → 2.0.0

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 (437) 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 +146 -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/ProprietaryLanguage.d.ts +5 -2
  227. package/dist/attributes/types/proprietary/ProprietaryLanguage.js +6 -0
  228. package/dist/attributes/types/proprietary/ProprietaryLanguage.js.map +1 -1
  229. package/dist/attributes/types/proprietary/ProprietaryPhoneNumber.d.ts +5 -2
  230. package/dist/attributes/types/proprietary/ProprietaryPhoneNumber.js +6 -0
  231. package/dist/attributes/types/proprietary/ProprietaryPhoneNumber.js.map +1 -1
  232. package/dist/attributes/types/proprietary/ProprietaryString.d.ts +5 -2
  233. package/dist/attributes/types/proprietary/ProprietaryString.js +6 -0
  234. package/dist/attributes/types/proprietary/ProprietaryString.js.map +1 -1
  235. package/dist/attributes/types/proprietary/ProprietaryURL.d.ts +5 -2
  236. package/dist/attributes/types/proprietary/ProprietaryURL.js +6 -0
  237. package/dist/attributes/types/proprietary/ProprietaryURL.js.map +1 -1
  238. package/dist/attributes/types/proprietary/index.d.ts +0 -1
  239. package/dist/attributes/types/proprietary/index.js +0 -1
  240. package/dist/attributes/types/proprietary/index.js.map +1 -1
  241. package/dist/attributes/types/relationship/Consent.d.ts +18 -0
  242. package/dist/attributes/types/relationship/Consent.js +73 -0
  243. package/dist/attributes/types/relationship/Consent.js.map +1 -0
  244. package/dist/attributes/types/relationship/index.d.ts +1 -0
  245. package/dist/attributes/types/relationship/index.js +18 -0
  246. package/dist/attributes/types/relationship/index.js.map +1 -0
  247. package/dist/attributes/types/strings/AbstractCountry.js.map +1 -1
  248. package/dist/attributes/types/strings/AbstractEMailAddress.js +2 -2
  249. package/dist/attributes/types/strings/AbstractEMailAddress.js.map +1 -1
  250. package/dist/attributes/types/strings/AbstractFileReference.js.map +1 -1
  251. package/dist/attributes/types/strings/AbstractHEXColor.js.map +1 -1
  252. package/dist/attributes/types/strings/AbstractLanguage.js.map +1 -1
  253. package/dist/attributes/types/strings/AbstractPhoneNumber.js.map +1 -1
  254. package/dist/attributes/types/strings/AbstractURL.js.map +1 -1
  255. package/dist/attributes/types/strings/index.d.ts +0 -1
  256. package/dist/attributes/types/strings/index.js +0 -1
  257. package/dist/attributes/types/strings/index.js.map +1 -1
  258. package/dist/buildInformation.js +5 -5
  259. package/dist/index.d.ts +0 -2
  260. package/dist/index.js +0 -2
  261. package/dist/index.js.map +1 -1
  262. package/dist/messages/Mail.d.ts +3 -2
  263. package/dist/messages/Mail.js +2 -8
  264. package/dist/messages/Mail.js.map +1 -1
  265. package/dist/relationships/RelationshipCreationChangeRequestContent.d.ts +15 -0
  266. package/dist/relationships/{RelationshipCreationChangeRequestBody.js → RelationshipCreationChangeRequestContent.js} +11 -13
  267. package/dist/relationships/RelationshipCreationChangeRequestContent.js.map +1 -0
  268. package/dist/relationships/RelationshipTemplateContent.d.ts +24 -0
  269. package/dist/relationships/{RelationshipTemplateBody.js → RelationshipTemplateContent.js} +14 -11
  270. package/dist/relationships/RelationshipTemplateContent.js.map +1 -0
  271. package/dist/relationships/index.d.ts +2 -2
  272. package/dist/relationships/index.js +2 -2
  273. package/dist/relationships/index.js.map +1 -1
  274. package/dist/requests/Request.d.ts +3 -2
  275. package/dist/requests/Request.js +2 -2
  276. package/dist/requests/Request.js.map +1 -1
  277. package/dist/requests/RequestItem.d.ts +17 -6
  278. package/dist/requests/RequestItem.js +7 -2
  279. package/dist/requests/RequestItem.js.map +1 -1
  280. package/dist/requests/RequestItemGroup.d.ts +5 -4
  281. package/dist/requests/RequestItemGroup.js +2 -2
  282. package/dist/requests/RequestItemGroup.js.map +1 -1
  283. package/dist/requests/index.d.ts +0 -3
  284. package/dist/requests/index.js +0 -3
  285. package/dist/requests/index.js.map +1 -1
  286. package/dist/requests/items/authentication/AuthenticationRequestItem.d.ts +10 -0
  287. package/dist/requests/items/authentication/AuthenticationRequestItem.js +24 -0
  288. package/dist/requests/items/authentication/AuthenticationRequestItem.js.map +1 -0
  289. package/dist/requests/items/consent/ConsentRequestItem.d.ts +3 -4
  290. package/dist/requests/items/consent/ConsentRequestItem.js +8 -7
  291. package/dist/requests/items/consent/ConsentRequestItem.js.map +1 -1
  292. package/dist/requests/items/createRelationshipAttribute/CreateAttributeAcceptResponseItem.d.ts +14 -0
  293. package/dist/requests/items/{createOwnRelationshipAttribute/CreateOwnRelationshipAttributeAcceptResponseItem.js → createRelationshipAttribute/CreateAttributeAcceptResponseItem.js} +11 -8
  294. package/dist/requests/items/createRelationshipAttribute/CreateAttributeAcceptResponseItem.js.map +1 -0
  295. package/dist/requests/items/createRelationshipAttribute/CreateAttributeRequestItem.d.ts +15 -0
  296. package/dist/requests/items/{createOwnRelationshipAttribute/CreateOwnRelationshipAttributeRequestItem.js → createRelationshipAttribute/CreateAttributeRequestItem.js} +13 -9
  297. package/dist/requests/items/createRelationshipAttribute/CreateAttributeRequestItem.js.map +1 -0
  298. package/dist/requests/items/index.d.ts +5 -2
  299. package/dist/requests/items/index.js +5 -2
  300. package/dist/requests/items/index.js.map +1 -1
  301. package/dist/requests/items/proposeAttribute/ProposeAttributeAcceptResponseItem.d.ts +2 -0
  302. package/dist/requests/items/proposeAttribute/ProposeAttributeAcceptResponseItem.js +3 -0
  303. package/dist/requests/items/proposeAttribute/ProposeAttributeAcceptResponseItem.js.map +1 -1
  304. package/dist/requests/items/proposeAttribute/ProposeAttributeRequestItem.d.ts +3 -1
  305. package/dist/requests/items/proposeAttribute/ProposeAttributeRequestItem.js +9 -4
  306. package/dist/requests/items/proposeAttribute/ProposeAttributeRequestItem.js.map +1 -1
  307. package/dist/requests/items/readAttribute/ReadAttributeAcceptResponseItem.d.ts +2 -0
  308. package/dist/requests/items/readAttribute/ReadAttributeAcceptResponseItem.js +3 -0
  309. package/dist/requests/items/readAttribute/ReadAttributeAcceptResponseItem.js.map +1 -1
  310. package/dist/requests/items/readAttribute/ReadAttributeRequestItem.d.ts +6 -5
  311. package/dist/requests/items/readAttribute/ReadAttributeRequestItem.js +5 -3
  312. package/dist/requests/items/readAttribute/ReadAttributeRequestItem.js.map +1 -1
  313. package/dist/requests/items/registerAttributeListener/RegisterAttributeListenerAcceptResponseItem.d.ts +13 -0
  314. package/dist/{forms/items/FormItemSelect.js → requests/items/registerAttributeListener/RegisterAttributeListenerAcceptResponseItem.js} +16 -16
  315. package/dist/requests/items/registerAttributeListener/RegisterAttributeListenerAcceptResponseItem.js.map +1 -0
  316. package/dist/requests/items/registerAttributeListener/RegisterAttributeListenerRequestItem.d.ts +14 -0
  317. package/dist/requests/items/registerAttributeListener/RegisterAttributeListenerRequestItem.js +35 -0
  318. package/dist/requests/items/registerAttributeListener/RegisterAttributeListenerRequestItem.js.map +1 -0
  319. package/dist/requests/items/shareAttribute/ShareAttributeAcceptResponseItem.d.ts +2 -0
  320. package/dist/requests/items/shareAttribute/ShareAttributeAcceptResponseItem.js +3 -0
  321. package/dist/requests/items/shareAttribute/ShareAttributeAcceptResponseItem.js.map +1 -1
  322. package/dist/requests/items/shareAttribute/ShareAttributeRequestItem.d.ts +3 -1
  323. package/dist/requests/items/shareAttribute/ShareAttributeRequestItem.js +3 -0
  324. package/dist/requests/items/shareAttribute/ShareAttributeRequestItem.js.map +1 -1
  325. package/dist/requests/response/AcceptResponseItem.d.ts +6 -6
  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 +3 -2
  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 +3 -2
  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 +3 -2
  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 +3 -2
  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 +4739 -5812
  344. package/lib-web/nmshd.content.min.js +1 -1
  345. package/package.json +18 -17
  346. package/dist/attributes/Attribute.d.ts +0 -24
  347. package/dist/attributes/Attribute.js +0 -66
  348. package/dist/attributes/Attribute.js.map +0 -1
  349. package/dist/attributes/hints/RelationshipAttributeCreationHints.d.ts +0 -31
  350. package/dist/attributes/hints/RelationshipAttributeCreationHints.js +0 -64
  351. package/dist/attributes/hints/RelationshipAttributeCreationHints.js.map +0 -1
  352. package/dist/attributes/types/AttributeList.d.ts +0 -1
  353. package/dist/attributes/types/AttributeList.js +0 -37
  354. package/dist/attributes/types/AttributeList.js.map +0 -1
  355. package/dist/attributes/types/AttributeTypeMapping.d.ts +0 -1
  356. package/dist/attributes/types/AttributeTypeMapping.js +0 -9
  357. package/dist/attributes/types/AttributeTypeMapping.js.map +0 -1
  358. package/dist/attributes/types/communication/Fax.d.ts +0 -3
  359. package/dist/attributes/types/communication/Fax.js.map +0 -1
  360. package/dist/attributes/types/communication/Phone.d.ts +0 -3
  361. package/dist/attributes/types/communication/Phone.js.map +0 -1
  362. package/dist/attributes/types/files/FileReference.d.ts +0 -3
  363. package/dist/attributes/types/files/FileReference.js.map +0 -1
  364. package/dist/attributes/types/files/index.js.map +0 -1
  365. package/dist/attributes/types/name/AbstractLegalName.d.ts +0 -3
  366. package/dist/attributes/types/name/AbstractLegalName.js +0 -8
  367. package/dist/attributes/types/name/AbstractLegalName.js.map +0 -1
  368. package/dist/attributes/types/name/DisplayName.d.ts +0 -3
  369. package/dist/attributes/types/name/DisplayName.js.map +0 -1
  370. package/dist/attributes/types/name/LegalNameDE.js +0 -92
  371. package/dist/attributes/types/name/LegalNameDE.js.map +0 -1
  372. package/dist/attributes/types/name/Salutation.js.map +0 -1
  373. package/dist/attributes/types/person/Age.d.ts +0 -6
  374. package/dist/attributes/types/person/Age.js +0 -34
  375. package/dist/attributes/types/person/Age.js.map +0 -1
  376. package/dist/attributes/types/person/Picture.d.ts +0 -3
  377. package/dist/attributes/types/person/Picture.js +0 -18
  378. package/dist/attributes/types/person/Picture.js.map +0 -1
  379. package/dist/attributes/types/proprietary/ProprietaryDataURL.d.ts +0 -14
  380. package/dist/attributes/types/proprietary/ProprietaryDataURL.js +0 -31
  381. package/dist/attributes/types/proprietary/ProprietaryDataURL.js.map +0 -1
  382. package/dist/attributes/types/strings/AbstractDataURL.d.ts +0 -7
  383. package/dist/attributes/types/strings/AbstractDataURL.js +0 -40
  384. package/dist/attributes/types/strings/AbstractDataURL.js.map +0 -1
  385. package/dist/forms/Form.d.ts +0 -18
  386. package/dist/forms/Form.js +0 -36
  387. package/dist/forms/Form.js.map +0 -1
  388. package/dist/forms/FormItem.d.ts +0 -35
  389. package/dist/forms/FormItem.js.map +0 -1
  390. package/dist/forms/index.d.ts +0 -8
  391. package/dist/forms/index.js.map +0 -1
  392. package/dist/forms/items/FormItemBoolean.d.ts +0 -7
  393. package/dist/forms/items/FormItemBoolean.js +0 -26
  394. package/dist/forms/items/FormItemBoolean.js.map +0 -1
  395. package/dist/forms/items/FormItemDate.d.ts +0 -15
  396. package/dist/forms/items/FormItemDate.js +0 -46
  397. package/dist/forms/items/FormItemDate.js.map +0 -1
  398. package/dist/forms/items/FormItemInvisible.d.ts +0 -7
  399. package/dist/forms/items/FormItemInvisible.js +0 -26
  400. package/dist/forms/items/FormItemInvisible.js.map +0 -1
  401. package/dist/forms/items/FormItemMultipleChoice.d.ts +0 -10
  402. package/dist/forms/items/FormItemMultipleChoice.js +0 -32
  403. package/dist/forms/items/FormItemMultipleChoice.js.map +0 -1
  404. package/dist/forms/items/FormItemMultipleChoiceItem.d.ts +0 -10
  405. package/dist/forms/items/FormItemMultipleChoiceItem.js +0 -30
  406. package/dist/forms/items/FormItemMultipleChoiceItem.js.map +0 -1
  407. package/dist/forms/items/FormItemSelect.d.ts +0 -10
  408. package/dist/forms/items/FormItemSelect.js.map +0 -1
  409. package/dist/forms/items/FormItemSelectItem.d.ts +0 -10
  410. package/dist/forms/items/FormItemSelectItem.js +0 -30
  411. package/dist/forms/items/FormItemSelectItem.js.map +0 -1
  412. package/dist/forms/items/FormItemString.d.ts +0 -15
  413. package/dist/forms/items/FormItemString.js +0 -46
  414. package/dist/forms/items/FormItemString.js.map +0 -1
  415. package/dist/forms/items/FormItemText.d.ts +0 -15
  416. package/dist/forms/items/FormItemText.js +0 -46
  417. package/dist/forms/items/FormItemText.js.map +0 -1
  418. package/dist/messages/RequestMail.d.ts +0 -14
  419. package/dist/messages/RequestMail.js +0 -51
  420. package/dist/messages/RequestMail.js.map +0 -1
  421. package/dist/relationships/RelationshipCreationChangeRequestBody.d.ts +0 -16
  422. package/dist/relationships/RelationshipCreationChangeRequestBody.js.map +0 -1
  423. package/dist/relationships/RelationshipTemplateBody.d.ts +0 -22
  424. package/dist/relationships/RelationshipTemplateBody.js.map +0 -1
  425. package/dist/requests/items/createOwnRelationshipAttribute/CreateOwnRelationshipAttributeAcceptResponseItem.d.ts +0 -12
  426. package/dist/requests/items/createOwnRelationshipAttribute/CreateOwnRelationshipAttributeAcceptResponseItem.js.map +0 -1
  427. package/dist/requests/items/createOwnRelationshipAttribute/CreateOwnRelationshipAttributeRequestItem.d.ts +0 -13
  428. package/dist/requests/items/createOwnRelationshipAttribute/CreateOwnRelationshipAttributeRequestItem.js.map +0 -1
  429. package/dist/requests/old/AttributesChangeRequest.d.ts +0 -54
  430. package/dist/requests/old/AttributesChangeRequest.js +0 -71
  431. package/dist/requests/old/AttributesChangeRequest.js.map +0 -1
  432. package/dist/requests/old/AttributesRequest.d.ts +0 -49
  433. package/dist/requests/old/AttributesRequest.js +0 -64
  434. package/dist/requests/old/AttributesRequest.js.map +0 -1
  435. package/dist/requests/old/AttributesShareRequest.d.ts +0 -52
  436. package/dist/requests/old/AttributesShareRequest.js +0 -59
  437. package/dist/requests/old/AttributesShareRequest.js.map +0 -1
@@ -13,6 +13,12 @@ exports.ProprietaryLanguage = void 0;
13
13
  const ts_serval_1 = require("@js-soft/ts-serval");
14
14
  const AbstractLanguage_1 = require("../strings/AbstractLanguage");
15
15
  let ProprietaryLanguage = class ProprietaryLanguage extends AbstractLanguage_1.AbstractLanguage {
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":"ProprietaryLanguage.js","sourceRoot":"","sources":["../../../../src/attributes/types/proprietary/ProprietaryLanguage.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAE9D,kEAA8D;AAa9D,IAAa,mBAAmB,GAAhC,MAAa,mBAAoB,SAAQ,mCAAgB;CAQxD,CAAA;AALG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;kDACS;AAIpB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;wDACF;AAPlB,mBAAmB;IAD/B,IAAA,gBAAI,EAAC,qBAAqB,CAAC;GACf,mBAAmB,CAQ/B;AARY,kDAAmB"}
1
+ {"version":3,"file":"ProprietaryLanguage.js","sourceRoot":"","sources":["../../../../src/attributes/types/proprietary/ProprietaryLanguage.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAE9D,kEAA8D;AAcvD,IAAM,mBAAmB,GAAzB,MAAM,mBAAoB,SAAQ,mCAAgB;IAS9C,MAAM,CAAC,IAAI,CAAC,KAAoE;QACnF,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,CAA4B,CAAA;IAC9E,CAAC;CACJ,CAAA;AAlBG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;kDACS;AAEpB;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;wDACF;AAPlB,mBAAmB;IAD/B,IAAA,gBAAI,EAAC,qBAAqB,CAAC;GACf,mBAAmB,CAmB/B;AAnBY,kDAAmB"}
@@ -1,6 +1,7 @@
1
- import { IAbstractString, IAbstractStringJSON } from "../AbstractString";
1
+ import { AbstractStringJSON, IAbstractString } from "../AbstractString";
2
2
  import { AbstractPhoneNumber } from "../strings/AbstractPhoneNumber";
3
- export interface ProprietaryPhoneNumberJSON extends IAbstractStringJSON {
3
+ export interface ProprietaryPhoneNumberJSON extends AbstractStringJSON {
4
+ "@type": "ProprietaryPhoneNumber";
4
5
  title: string;
5
6
  description?: string;
6
7
  }
@@ -11,4 +12,6 @@ export interface IProprietaryPhoneNumber extends IAbstractString {
11
12
  export declare class ProprietaryPhoneNumber extends AbstractPhoneNumber {
12
13
  title: string;
13
14
  description: string;
15
+ static from(value: IProprietaryPhoneNumber | Omit<ProprietaryPhoneNumberJSON, "@type">): ProprietaryPhoneNumber;
16
+ toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): ProprietaryPhoneNumberJSON;
14
17
  }
@@ -13,6 +13,12 @@ exports.ProprietaryPhoneNumber = void 0;
13
13
  const ts_serval_1 = require("@js-soft/ts-serval");
14
14
  const AbstractPhoneNumber_1 = require("../strings/AbstractPhoneNumber");
15
15
  let ProprietaryPhoneNumber = class ProprietaryPhoneNumber extends AbstractPhoneNumber_1.AbstractPhoneNumber {
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":"ProprietaryPhoneNumber.js","sourceRoot":"","sources":["../../../../src/attributes/types/proprietary/ProprietaryPhoneNumber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAE9D,wEAAoE;AAapE,IAAa,sBAAsB,GAAnC,MAAa,sBAAuB,SAAQ,yCAAmB;CAQ9D,CAAA;AALG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;qDACS;AAIpB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2DACH;AAPjB,sBAAsB;IADlC,IAAA,gBAAI,EAAC,wBAAwB,CAAC;GAClB,sBAAsB,CAQlC;AARY,wDAAsB"}
1
+ {"version":3,"file":"ProprietaryPhoneNumber.js","sourceRoot":"","sources":["../../../../src/attributes/types/proprietary/ProprietaryPhoneNumber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAE9D,wEAAoE;AAc7D,IAAM,sBAAsB,GAA5B,MAAM,sBAAuB,SAAQ,yCAAmB;IASpD,MAAM,CAAC,IAAI,CACd,KAA0E;QAE1E,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,CAA+B,CAAA;IACjF,CAAC;CACJ,CAAA;AApBG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;qDACS;AAEpB;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2DACH;AAPjB,sBAAsB;IADlC,IAAA,gBAAI,EAAC,wBAAwB,CAAC;GAClB,sBAAsB,CAqBlC;AArBY,wDAAsB"}
@@ -1,5 +1,6 @@
1
- import { AbstractString, IAbstractString, IAbstractStringJSON } from "../AbstractString";
2
- export interface ProprietaryStringJSON extends IAbstractStringJSON {
1
+ import { AbstractString, AbstractStringJSON, IAbstractString } from "../AbstractString";
2
+ export interface ProprietaryStringJSON extends AbstractStringJSON {
3
+ "@type": "ProprietaryString";
3
4
  title: string;
4
5
  description?: string;
5
6
  }
@@ -10,4 +11,6 @@ export interface IProprietaryString extends IAbstractString {
10
11
  export declare class ProprietaryString extends AbstractString {
11
12
  title: string;
12
13
  description?: string;
14
+ static from(value: IProprietaryString | Omit<ProprietaryStringJSON, "@type">): ProprietaryString;
15
+ toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): ProprietaryStringJSON;
13
16
  }
@@ -13,6 +13,12 @@ exports.ProprietaryString = void 0;
13
13
  const ts_serval_1 = require("@js-soft/ts-serval");
14
14
  const AbstractString_1 = require("../AbstractString");
15
15
  let ProprietaryString = class ProprietaryString extends AbstractString_1.AbstractString {
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":"ProprietaryString.js","sourceRoot":"","sources":["../../../../src/attributes/types/proprietary/ProprietaryString.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,sDAAwF;AAaxF,IAAa,iBAAiB,GAA9B,MAAa,iBAAkB,SAAQ,+BAAc;CAQpD,CAAA;AALG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;gDACS;AAIpB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sDACF;AAPlB,iBAAiB;IAD7B,IAAA,gBAAI,EAAC,mBAAmB,CAAC;GACb,iBAAiB,CAQ7B;AARY,8CAAiB"}
1
+ {"version":3,"file":"ProprietaryString.js","sourceRoot":"","sources":["../../../../src/attributes/types/proprietary/ProprietaryString.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,sDAAuF;AAchF,IAAM,iBAAiB,GAAvB,MAAM,iBAAkB,SAAQ,+BAAc;IAS1C,MAAM,CAAC,IAAI,CAAC,KAAgE;QAC/E,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,CAA0B,CAAA;IAC5E,CAAC;CACJ,CAAA;AAlBG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;gDACS;AAEpB;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sDACF;AAPlB,iBAAiB;IAD7B,IAAA,gBAAI,EAAC,mBAAmB,CAAC;GACb,iBAAiB,CAmB7B;AAnBY,8CAAiB"}
@@ -1,6 +1,7 @@
1
- import { IAbstractString, IAbstractStringJSON } from "../AbstractString";
1
+ import { AbstractStringJSON, IAbstractString } from "../AbstractString";
2
2
  import { AbstractURL } from "../strings/AbstractURL";
3
- export interface ProprietaryURLJSON extends IAbstractStringJSON {
3
+ export interface ProprietaryURLJSON extends AbstractStringJSON {
4
+ "@type": "ProprietaryURL";
4
5
  title: string;
5
6
  description?: string;
6
7
  }
@@ -11,4 +12,6 @@ export interface IProprietaryURL extends IAbstractString {
11
12
  export declare class ProprietaryURL extends AbstractURL {
12
13
  title: string;
13
14
  description?: string;
15
+ static from(value: IProprietaryURL | Omit<ProprietaryURLJSON, "@type">): ProprietaryURL;
16
+ toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): ProprietaryURLJSON;
14
17
  }
@@ -13,6 +13,12 @@ exports.ProprietaryURL = void 0;
13
13
  const ts_serval_1 = require("@js-soft/ts-serval");
14
14
  const AbstractURL_1 = require("../strings/AbstractURL");
15
15
  let ProprietaryURL = class ProprietaryURL extends AbstractURL_1.AbstractURL {
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":"ProprietaryURL.js","sourceRoot":"","sources":["../../../../src/attributes/types/proprietary/ProprietaryURL.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAE9D,wDAAoD;AAapD,IAAa,cAAc,GAA3B,MAAa,cAAe,SAAQ,yBAAW;CAQ9C,CAAA;AALG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;6CACS;AAIpB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mDACF;AAPlB,cAAc;IAD1B,IAAA,gBAAI,EAAC,gBAAgB,CAAC;GACV,cAAc,CAQ1B;AARY,wCAAc"}
1
+ {"version":3,"file":"ProprietaryURL.js","sourceRoot":"","sources":["../../../../src/attributes/types/proprietary/ProprietaryURL.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAE9D,wDAAoD;AAc7C,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,yBAAW;IASpC,MAAM,CAAC,IAAI,CAAC,KAA0D;QACzE,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,CAAuB,CAAA;IACzE,CAAC;CACJ,CAAA;AAfG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;6CACS;AAEpB;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mDACF;AAPlB,cAAc;IAD1B,IAAA,gBAAI,EAAC,gBAAgB,CAAC;GACV,cAAc,CAgB1B;AAhBY,wCAAc"}
@@ -1,6 +1,5 @@
1
1
  export * from "./ProprietaryBoolean";
2
2
  export * from "./ProprietaryCountry";
3
- export * from "./ProprietaryDataURL";
4
3
  export * from "./ProprietaryEMailAddress";
5
4
  export * from "./ProprietaryFileReference";
6
5
  export * from "./ProprietaryFloat";
@@ -16,7 +16,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./ProprietaryBoolean"), exports);
18
18
  __exportStar(require("./ProprietaryCountry"), exports);
19
- __exportStar(require("./ProprietaryDataURL"), exports);
20
19
  __exportStar(require("./ProprietaryEMailAddress"), exports);
21
20
  __exportStar(require("./ProprietaryFileReference"), exports);
22
21
  __exportStar(require("./ProprietaryFloat"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/attributes/types/proprietary/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAoC;AACpC,uDAAoC;AACpC,uDAAoC;AACpC,4DAAyC;AACzC,6DAA0C;AAC1C,qDAAkC;AAClC,wDAAqC;AACrC,uDAAoC;AACpC,wDAAqC;AACrC,2DAAwC;AACxC,sDAAmC;AACnC,mDAAgC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/attributes/types/proprietary/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAoC;AACpC,uDAAoC;AACpC,4DAAyC;AACzC,6DAA0C;AAC1C,qDAAkC;AAClC,wDAAqC;AACrC,uDAAoC;AACpC,wDAAqC;AACrC,2DAAwC;AACxC,sDAAmC;AACnC,mDAAgC"}
@@ -0,0 +1,18 @@
1
+ import { AbstractAttributeValue, AbstractAttributeValueJSON, IAbstractAttributeValue } from "../../AbstractAttributeValue";
2
+ import { RenderHints, ValueHints } from "../../hints";
3
+ export interface ConsentJSON extends AbstractAttributeValueJSON {
4
+ consent: string;
5
+ link?: string;
6
+ }
7
+ export interface IConsent extends IAbstractAttributeValue {
8
+ consent: string;
9
+ link?: string;
10
+ }
11
+ export declare class Consent extends AbstractAttributeValue implements IConsent {
12
+ consent: string;
13
+ link?: string;
14
+ static from(value: IConsent | Omit<ConsentJSON, "@type">): Consent;
15
+ toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): ConsentJSON;
16
+ static get valueHints(): ValueHints;
17
+ static get renderHints(): RenderHints;
18
+ }
@@ -0,0 +1,73 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.Consent = void 0;
13
+ const ts_serval_1 = require("@js-soft/ts-serval");
14
+ const AbstractAttributeValue_1 = require("../../AbstractAttributeValue");
15
+ const hints_1 = require("../../hints");
16
+ let Consent = class Consent extends AbstractAttributeValue_1.AbstractAttributeValue {
17
+ static from(value) {
18
+ return this.fromAny(value);
19
+ }
20
+ toJSON(verbose, serializeAsString) {
21
+ return super.toJSON(verbose, serializeAsString);
22
+ }
23
+ static get valueHints() {
24
+ return hints_1.ValueHints.from({
25
+ propertyHints: {
26
+ consent: { max: 2000 },
27
+ link: {
28
+ min: 3,
29
+ max: 1024
30
+ }
31
+ }
32
+ });
33
+ }
34
+ static get renderHints() {
35
+ return hints_1.RenderHints.from({
36
+ editType: hints_1.RenderHintsEditType.Complex,
37
+ technicalType: hints_1.RenderHintsTechnicalType.Object,
38
+ propertyHints: {
39
+ consent: {
40
+ editType: hints_1.RenderHintsEditType.TextArea,
41
+ technicalType: hints_1.RenderHintsTechnicalType.String
42
+ },
43
+ link: {
44
+ editType: hints_1.RenderHintsEditType.InputLike,
45
+ technicalType: hints_1.RenderHintsTechnicalType.String,
46
+ dataType: hints_1.RenderHintsDataType.URL
47
+ }
48
+ }
49
+ });
50
+ }
51
+ };
52
+ __decorate([
53
+ (0, ts_serval_1.serialize)(),
54
+ (0, ts_serval_1.validate)({ max: 2000 }),
55
+ __metadata("design:type", String)
56
+ ], Consent.prototype, "consent", void 0);
57
+ __decorate([
58
+ (0, ts_serval_1.serialize)(),
59
+ (0, ts_serval_1.validate)({
60
+ nullable: true,
61
+ min: 3,
62
+ max: 1024,
63
+ regExp: new RegExp(
64
+ // eslint-disable-next-line no-useless-escape
65
+ /^((([A-Za-z]{3,9}:(?:\/\/)?)(?:[\-;:&=\+\$,\w]+@)?[A-Za-z0-9\.\-]+|(?:www\.|[\-;:&=\+\$,\w]+@)[A-Za-z0-9\.\-]+)((?:\/[\+~%\/\.\w\-_]*)?\??(?:[\-\+=&;%@\.\w_]*)#?(?:[\.\!\/\\\w]*))?)$/i)
66
+ }),
67
+ __metadata("design:type", String)
68
+ ], Consent.prototype, "link", void 0);
69
+ Consent = __decorate([
70
+ (0, ts_serval_1.type)("Consent")
71
+ ], Consent);
72
+ exports.Consent = Consent;
73
+ //# sourceMappingURL=Consent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Consent.js","sourceRoot":"","sources":["../../../../src/attributes/types/relationship/Consent.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,yEAIqC;AACrC,uCAMoB;AAab,IAAM,OAAO,GAAb,MAAM,OAAQ,SAAQ,+CAAsB;IAiBxC,MAAM,CAAC,IAAI,CAAC,KAA4C;QAC3D,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;IAEM,MAAM,KAAK,UAAU;QACxB,OAAO,kBAAU,CAAC,IAAI,CAAC;YACnB,aAAa,EAAE;gBACX,OAAO,EAAE,EAAE,GAAG,EAAE,IAAI,EAAE;gBACtB,IAAI,EAAE;oBACF,GAAG,EAAE,CAAC;oBACN,GAAG,EAAE,IAAI;iBACZ;aACJ;SACJ,CAAC,CAAA;IACN,CAAC;IAEM,MAAM,KAAK,WAAW;QACzB,OAAO,mBAAW,CAAC,IAAI,CAAC;YACpB,QAAQ,EAAE,2BAAmB,CAAC,OAAO;YACrC,aAAa,EAAE,gCAAwB,CAAC,MAAM;YAC9C,aAAa,EAAE;gBACX,OAAO,EAAE;oBACL,QAAQ,EAAE,2BAAmB,CAAC,QAAQ;oBACtC,aAAa,EAAE,gCAAwB,CAAC,MAAM;iBACjD;gBACD,IAAI,EAAE;oBACF,QAAQ,EAAE,2BAAmB,CAAC,SAAS;oBACvC,aAAa,EAAE,gCAAwB,CAAC,MAAM;oBAC9C,QAAQ,EAAE,2BAAmB,CAAC,GAAG;iBACpC;aACJ;SACJ,CAAC,CAAA;IACN,CAAC;CACJ,CAAA;AArDG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC;;wCACF;AAEtB;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC;QACN,QAAQ,EAAE,IAAI;QACd,GAAG,EAAE,CAAC;QACN,GAAG,EAAE,IAAI;QACT,MAAM,EAAE,IAAI,MAAM;QACd,6CAA6C;QAC7C,yLAAyL,CAC5L;KACJ,CAAC;;qCACkB;AAfX,OAAO;IADnB,IAAA,gBAAI,EAAC,SAAS,CAAC;GACH,OAAO,CAsDnB;AAtDY,0BAAO"}
@@ -0,0 +1 @@
1
+ export * from "./Consent";
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./Consent"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/attributes/types/relationship/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB"}
@@ -1 +1 @@
1
- {"version":3,"file":"AbstractCountry.js","sourceRoot":"","sources":["../../../../src/attributes/types/strings/AbstractCountry.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAwD;AACxD,qDAMkC;AAClC,qEAA+D;AAC/D,sDAAkD;AAElD,MAAsB,eAAgB,SAAQ,+BAAc;IAQjD,MAAM,KAAc,UAAU;QACjC,OAAO,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC;YAC7B,GAAG,EAAE,CAAC;YACN,GAAG,EAAE,CAAC;YACN,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,+BAAa,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAC/C,uBAAe,CAAC,IAAI,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,WAAW,EAAE,sCAAsC,KAAK,EAAE,EAAE,CAAC,CACnG;SACJ,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,OAAO;SACxC,CAAC,CAAA;IACN,CAAC;CACJ;AAlBG;IALC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC;QACN,eAAe,EAAE,CAAC,CAAC,EAAE,EAAE,CACnB,CAAC,MAAM,CAAC,MAAM,CAAC,+BAAa,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,mBAAmB,MAAM,CAAC,MAAM,CAAC,+BAAa,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS;KAChH,CAAC;;8CACkC;AANxC,0CAwBC"}
1
+ {"version":3,"file":"AbstractCountry.js","sourceRoot":"","sources":["../../../../src/attributes/types/strings/AbstractCountry.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAwD;AACxD,qDAMkC;AAClC,qEAA+D;AAC/D,sDAAkD;AAElD,MAAsB,eAAgB,SAAQ,+BAAc;IAQjD,MAAM,KAAc,UAAU;QACjC,OAAO,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC;YAC7B,GAAG,EAAE,CAAC;YACN,GAAG,EAAE,CAAC;YACN,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,+BAAa,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAC/C,uBAAe,CAAC,IAAI,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,WAAW,EAAE,sCAAsC,KAAK,EAAE,EAAE,CAAC,CACnG;SACJ,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,OAAO;SACxC,CAAC,CAAA;IACN,CAAC;CACJ;AAvBG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC;QACN,eAAe,EAAE,CAAC,CAAC,EAAE,EAAE,CACnB,CAAC,MAAM,CAAC,MAAM,CAAC,+BAAa,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,mBAAmB,MAAM,CAAC,MAAM,CAAC,+BAAa,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS;KAChH,CAAC;;8CACkC;AANxC,0CAwBC"}
@@ -17,7 +17,7 @@ class AbstractEMailAddress extends AbstractString_1.AbstractString {
17
17
  static get valueHints() {
18
18
  return super.valueHints.copyWith({
19
19
  min: 3,
20
- max: 200,
20
+ max: 100,
21
21
  pattern: "/^[A-Z0-9._%+-]+@[A-Z0-9.-]+.[A-Z]{2,}$/i"
22
22
  });
23
23
  }
@@ -32,7 +32,7 @@ __decorate([
32
32
  (0, ts_serval_1.serialize)(),
33
33
  (0, ts_serval_1.validate)({
34
34
  min: 3,
35
- max: 200,
35
+ max: 100,
36
36
  regExp: new RegExp("^[A-Z0-9._%+-]+@[A-Z0-9.-]+.[A-Z]{2,}$", "i")
37
37
  }),
38
38
  __metadata("design:type", String)
@@ -1 +1 @@
1
- {"version":3,"file":"AbstractEMailAddress.js","sourceRoot":"","sources":["../../../../src/attributes/types/strings/AbstractEMailAddress.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAwD;AACxD,qDAA6G;AAC7G,sDAAkD;AAElD,MAAsB,oBAAqB,SAAQ,+BAAc;IAUtD,MAAM,KAAc,UAAU;QACjC,OAAO,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC;YAC7B,GAAG,EAAE,CAAC;YACN,GAAG,EAAE,GAAG;YACR,OAAO,EAAE,2CAA2C;SACvD,CAAC,CAAA;IACN,CAAC;IAEM,MAAM,KAAc,WAAW;QAClC,OAAO,KAAK,CAAC,WAAW,CAAC,QAAQ,CAAC;YAC9B,QAAQ,EAAE,2BAAmB,CAAC,SAAS;YACvC,QAAQ,EAAE,2BAAmB,CAAC,YAAY;SAC7C,CAAC,CAAA;IACN,CAAC;CACJ;AAhBG;IANC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC;QACN,GAAG,EAAE,CAAC;QACN,GAAG,EAAE,GAAG;QACR,MAAM,EAAE,IAAI,MAAM,CAAC,wCAAwC,EAAE,GAAG,CAAC;KACpE,CAAC;;mDAC2B;AARjC,oDAwBC"}
1
+ {"version":3,"file":"AbstractEMailAddress.js","sourceRoot":"","sources":["../../../../src/attributes/types/strings/AbstractEMailAddress.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAwD;AACxD,qDAA6G;AAC7G,sDAAkD;AAElD,MAAsB,oBAAqB,SAAQ,+BAAc;IAUtD,MAAM,KAAc,UAAU;QACjC,OAAO,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC;YAC7B,GAAG,EAAE,CAAC;YACN,GAAG,EAAE,GAAG;YACR,OAAO,EAAE,2CAA2C;SACvD,CAAC,CAAA;IACN,CAAC;IAEM,MAAM,KAAc,WAAW;QAClC,OAAO,KAAK,CAAC,WAAW,CAAC,QAAQ,CAAC;YAC9B,QAAQ,EAAE,2BAAmB,CAAC,SAAS;YACvC,QAAQ,EAAE,2BAAmB,CAAC,YAAY;SAC7C,CAAC,CAAA;IACN,CAAC;CACJ;AAtBG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC;QACN,GAAG,EAAE,CAAC;QACN,GAAG,EAAE,GAAG;QACR,MAAM,EAAE,IAAI,MAAM,CAAC,wCAAwC,EAAE,GAAG,CAAC;KACpE,CAAC;;mDAC2B;AARjC,oDAwBC"}
@@ -1 +1 @@
1
- {"version":3,"file":"AbstractFileReference.js","sourceRoot":"","sources":["../../../../src/attributes/types/strings/AbstractFileReference.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAwD;AACxD,qDAA6G;AAC7G,sDAAkD;AAElD,MAAa,qBAAsB,SAAQ,+BAAc;IAQ9C,MAAM,KAAc,UAAU;QACjC,OAAO,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC;YAC7B,GAAG,EAAE,EAAE;YACP,GAAG,EAAE,GAAG;SACX,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,aAAa;SAC9C,CAAC,CAAA;IACN,CAAC;CACJ;AAfG;IALC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC;QACN,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,GAAG;KACX,CAAC;;oDAC2B;AANjC,sDAqBC"}
1
+ {"version":3,"file":"AbstractFileReference.js","sourceRoot":"","sources":["../../../../src/attributes/types/strings/AbstractFileReference.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAwD;AACxD,qDAA6G;AAC7G,sDAAkD;AAElD,MAAa,qBAAsB,SAAQ,+BAAc;IAQ9C,MAAM,KAAc,UAAU;QACjC,OAAO,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC;YAC7B,GAAG,EAAE,EAAE;YACP,GAAG,EAAE,GAAG;SACX,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,aAAa;SAC9C,CAAC,CAAA;IACN,CAAC;CACJ;AApBG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC;QACN,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,GAAG;KACX,CAAC;;oDAC2B;AANjC,sDAqBC"}
@@ -1 +1 @@
1
- {"version":3,"file":"AbstractHEXColor.js","sourceRoot":"","sources":["../../../../src/attributes/types/strings/AbstractHEXColor.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAwD;AACxD,qDAA6G;AAC7G,sDAAkD;AAElD,MAAsB,gBAAiB,SAAQ,+BAAc;IAKlD,MAAM,KAAc,UAAU;QACjC,OAAO,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC;YAC7B,GAAG,EAAE,CAAC;YACN,GAAG,EAAE,CAAC;YACN,OAAO,EAAE,yBAAyB;SACrC,CAAC,CAAA;IACN,CAAC;IAEM,MAAM,KAAc,WAAW;QAClC,OAAO,KAAK,CAAC,WAAW,CAAC,QAAQ,CAAC;YAC9B,QAAQ,EAAE,2BAAmB,CAAC,SAAS;YACvC,QAAQ,EAAE,2BAAmB,CAAC,QAAQ;SACzC,CAAC,CAAA;IACN,CAAC;CACJ;AAhBG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,MAAM,EAAE,IAAI,MAAM,CAAC,uBAAuB,EAAE,GAAG,CAAC,EAAE,CAAC;;+CAClD;AAHjC,4CAmBC"}
1
+ {"version":3,"file":"AbstractHEXColor.js","sourceRoot":"","sources":["../../../../src/attributes/types/strings/AbstractHEXColor.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAwD;AACxD,qDAA6G;AAC7G,sDAAkD;AAElD,MAAsB,gBAAiB,SAAQ,+BAAc;IAKlD,MAAM,KAAc,UAAU;QACjC,OAAO,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC;YAC7B,GAAG,EAAE,CAAC;YACN,GAAG,EAAE,CAAC;YACN,OAAO,EAAE,yBAAyB;SACrC,CAAC,CAAA;IACN,CAAC;IAEM,MAAM,KAAc,WAAW;QAClC,OAAO,KAAK,CAAC,WAAW,CAAC,QAAQ,CAAC;YAC9B,QAAQ,EAAE,2BAAmB,CAAC,SAAS;YACvC,QAAQ,EAAE,2BAAmB,CAAC,QAAQ;SACzC,CAAC,CAAA;IACN,CAAC;CACJ;AAlBG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,MAAM,EAAE,IAAI,MAAM,CAAC,uBAAuB,EAAE,GAAG,CAAC,EAAE,CAAC;;+CAClD;AAHjC,4CAmBC"}
@@ -1 +1 @@
1
- {"version":3,"file":"AbstractLanguage.js","sourceRoot":"","sources":["../../../../src/attributes/types/strings/AbstractLanguage.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAwD;AACxD,qDAMkC;AAClC,qEAAgE;AAChE,sDAAkD;AAElD,MAAsB,gBAAiB,SAAQ,+BAAc;IAUlD,MAAM,KAAc,UAAU;QACjC,OAAO,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC;YAC7B,GAAG,EAAE,CAAC;YACN,GAAG,EAAE,CAAC;YACN,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,gCAAc,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAChD,uBAAe,CAAC,IAAI,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,WAAW,EAAE,sCAAsC,KAAK,EAAE,EAAE,CAAC,CACnG;SACJ,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,QAAQ;SACzC,CAAC,CAAA;IACN,CAAC;CACJ;AAlBG;IAPC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC;QACN,GAAG,EAAE,CAAC;QACN,GAAG,EAAE,CAAC;QACN,eAAe,EAAE,CAAC,CAAC,EAAE,EAAE,CACnB,CAAC,MAAM,CAAC,MAAM,CAAC,gCAAc,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,mBAAmB,MAAM,CAAC,MAAM,CAAC,gCAAc,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS;KAClH,CAAC;;+CACmC;AARzC,4CA0BC"}
1
+ {"version":3,"file":"AbstractLanguage.js","sourceRoot":"","sources":["../../../../src/attributes/types/strings/AbstractLanguage.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAwD;AACxD,qDAMkC;AAClC,qEAAgE;AAChE,sDAAkD;AAElD,MAAsB,gBAAiB,SAAQ,+BAAc;IAUlD,MAAM,KAAc,UAAU;QACjC,OAAO,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC;YAC7B,GAAG,EAAE,CAAC;YACN,GAAG,EAAE,CAAC;YACN,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,gCAAc,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAChD,uBAAe,CAAC,IAAI,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,WAAW,EAAE,sCAAsC,KAAK,EAAE,EAAE,CAAC,CACnG;SACJ,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,QAAQ;SACzC,CAAC,CAAA;IACN,CAAC;CACJ;AAzBG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC;QACN,GAAG,EAAE,CAAC;QACN,GAAG,EAAE,CAAC;QACN,eAAe,EAAE,CAAC,CAAC,EAAE,EAAE,CACnB,CAAC,MAAM,CAAC,MAAM,CAAC,gCAAc,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,mBAAmB,MAAM,CAAC,MAAM,CAAC,gCAAc,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS;KAClH,CAAC;;+CACmC;AARzC,4CA0BC"}
@@ -1 +1 @@
1
- {"version":3,"file":"AbstractPhoneNumber.js","sourceRoot":"","sources":["../../../../src/attributes/types/strings/AbstractPhoneNumber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAwD;AACxD,qDAA6G;AAC7G,sDAAkD;AAElD,MAAsB,mBAAoB,SAAQ,+BAAc;IAKrD,MAAM,KAAc,UAAU;QACjC,OAAO,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC;YAC7B,GAAG,EAAE,CAAC;YACN,GAAG,EAAE,GAAG;YACR,OAAO,EAAE,2BAA2B;SACvC,CAAC,CAAA;IACN,CAAC;IAEM,MAAM,KAAc,WAAW;QAClC,OAAO,KAAK,CAAC,WAAW,CAAC,QAAQ,CAAC;YAC9B,QAAQ,EAAE,2BAAmB,CAAC,SAAS;YACvC,QAAQ,EAAE,2BAAmB,CAAC,WAAW;SAC5C,CAAC,CAAA;IACN,CAAC;CACJ;AAhBG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,MAAM,CAAC,4BAA4B,CAAC,EAAE,CAAC;;kDACpD;AAHjC,kDAmBC"}
1
+ {"version":3,"file":"AbstractPhoneNumber.js","sourceRoot":"","sources":["../../../../src/attributes/types/strings/AbstractPhoneNumber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAwD;AACxD,qDAA6G;AAC7G,sDAAkD;AAElD,MAAsB,mBAAoB,SAAQ,+BAAc;IAKrD,MAAM,KAAc,UAAU;QACjC,OAAO,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC;YAC7B,GAAG,EAAE,CAAC;YACN,GAAG,EAAE,GAAG;YACR,OAAO,EAAE,2BAA2B;SACvC,CAAC,CAAA;IACN,CAAC;IAEM,MAAM,KAAc,WAAW;QAClC,OAAO,KAAK,CAAC,WAAW,CAAC,QAAQ,CAAC;YAC9B,QAAQ,EAAE,2BAAmB,CAAC,SAAS;YACvC,QAAQ,EAAE,2BAAmB,CAAC,WAAW;SAC5C,CAAC,CAAA;IACN,CAAC;CACJ;AAlBG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,MAAM,CAAC,4BAA4B,CAAC,EAAE,CAAC;;kDACpD;AAHjC,kDAmBC"}
@@ -1 +1 @@
1
- {"version":3,"file":"AbstractURL.js","sourceRoot":"","sources":["../../../../src/attributes/types/strings/AbstractURL.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAwD;AACxD,qDAA6G;AAC7G,sDAAkD;AAElD,MAAsB,WAAY,SAAQ,+BAAc;IAY7C,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,SAAS;YACvC,QAAQ,EAAE,2BAAmB,CAAC,GAAG;SACpC,CAAC,CAAA;IACN,CAAC;CACJ;AAfG;IATC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC;QACN,GAAG,EAAE,CAAC;QACN,GAAG,EAAE,IAAI;QACT,MAAM,EAAE,IAAI,MAAM;QACd,6CAA6C;QAC7C,yLAAyL,CAC5L;KACJ,CAAC;;0CAC2B;AAVjC,kCAyBC"}
1
+ {"version":3,"file":"AbstractURL.js","sourceRoot":"","sources":["../../../../src/attributes/types/strings/AbstractURL.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAwD;AACxD,qDAA6G;AAC7G,sDAAkD;AAElD,MAAsB,WAAY,SAAQ,+BAAc;IAY7C,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,SAAS;YACvC,QAAQ,EAAE,2BAAmB,CAAC,GAAG;SACpC,CAAC,CAAA;IACN,CAAC;CACJ;AAxBG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC;QACN,GAAG,EAAE,CAAC;QACN,GAAG,EAAE,IAAI;QACT,MAAM,EAAE,IAAI,MAAM;QACd,6CAA6C;QAC7C,yLAAyL,CAC5L;KACJ,CAAC;;0CAC2B;AAVjC,kCAyBC"}
@@ -1,5 +1,4 @@
1
1
  export * from "./AbstractCountry";
2
- export * from "./AbstractDataURL";
3
2
  export * from "./AbstractEMailAddress";
4
3
  export * from "./AbstractFileReference";
5
4
  export * from "./AbstractHEXColor";
@@ -15,7 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./AbstractCountry"), exports);
18
- __exportStar(require("./AbstractDataURL"), exports);
19
18
  __exportStar(require("./AbstractEMailAddress"), exports);
20
19
  __exportStar(require("./AbstractFileReference"), exports);
21
20
  __exportStar(require("./AbstractHEXColor"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/attributes/types/strings/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAiC;AACjC,oDAAiC;AACjC,yDAAsC;AACtC,0DAAuC;AACvC,qDAAkC;AAClC,qDAAkC;AAClC,wDAAqC;AACrC,gDAA6B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/attributes/types/strings/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAiC;AACjC,yDAAsC;AACtC,0DAAuC;AACvC,qDAAkC;AAClC,qDAAkC;AAClC,wDAAqC;AACrC,gDAA6B"}
@@ -5,11 +5,11 @@ const ts_serval_1 = require("@js-soft/ts-serval");
5
5
  const crypto_1 = require("@nmshd/crypto");
6
6
  const transport_1 = require("@nmshd/transport");
7
7
  exports.buildInformation = {
8
- version: "2.0.0-beta.8",
9
- build: "85",
10
- date: "2022-08-05T08:33:21+00:00",
11
- commit: "1b86a9190b9cd07be27b4213834b574164620960",
12
- dependencies: {"@js-soft/logging-abstractions":"^1.0.0","easy-tsnameof":"^3.0.6"},
8
+ version: "2.0.0",
9
+ build: "121",
10
+ date: "2022-10-24T08:23:16+00:00",
11
+ commit: "fdb936ff088294bd43a24ead14effaea38c36b02",
12
+ dependencies: {"@js-soft/logging-abstractions":"^1.0.0","easy-tsnameof":"^3.0.6","mocha-param":"^2.0.1"},
13
13
  libraries: {
14
14
  serval: ts_serval_1.buildInformation,
15
15
  crypto: crypto_1.buildInformation,
package/dist/index.d.ts CHANGED
@@ -1,8 +1,6 @@
1
1
  export * from "./attributes";
2
2
  export * from "./buildInformation";
3
3
  export * from "./ContentJSON";
4
- export * from "./forms";
5
4
  export * from "./messages/Mail";
6
- export * from "./messages/RequestMail";
7
5
  export * from "./relationships";
8
6
  export * from "./requests";
package/dist/index.js CHANGED
@@ -17,9 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./attributes"), exports);
18
18
  __exportStar(require("./buildInformation"), exports);
19
19
  __exportStar(require("./ContentJSON"), exports);
20
- __exportStar(require("./forms"), exports);
21
20
  __exportStar(require("./messages/Mail"), exports);
22
- __exportStar(require("./messages/RequestMail"), exports);
23
21
  __exportStar(require("./relationships"), exports);
24
22
  __exportStar(require("./requests"), exports);
25
23
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA4B;AAC5B,qDAAkC;AAClC,gDAA6B;AAC7B,0CAAuB;AACvB,kDAA+B;AAC/B,yDAAsC;AACtC,kDAA+B;AAC/B,6CAA0B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA4B;AAC5B,qDAAkC;AAClC,gDAA6B;AAC7B,kDAA+B;AAC/B,kDAA+B;AAC/B,6CAA0B"}
@@ -2,6 +2,7 @@ import { ISerializable, Serializable } from "@js-soft/ts-serval";
2
2
  import { CoreAddress, ICoreAddress } from "@nmshd/transport";
3
3
  import { ContentJSON } from "../ContentJSON";
4
4
  export interface MailJSON extends ContentJSON {
5
+ "@type": "Mail";
5
6
  to: string[];
6
7
  cc?: string[];
7
8
  subject: string;
@@ -19,6 +20,6 @@ export declare class Mail extends Serializable implements IMail {
19
20
  subject: string;
20
21
  body: string;
21
22
  protected static preFrom(value: any): any;
22
- static from(value: IMail): Mail;
23
- static fromJSON(value: MailJSON): Mail;
23
+ static from(value: IMail | Omit<MailJSON, "@type">): Mail;
24
+ toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): MailJSON;
24
25
  }
@@ -26,14 +26,8 @@ let Mail = class Mail extends ts_serval_1.Serializable {
26
26
  static from(value) {
27
27
  return this.fromAny(value);
28
28
  }
29
- static fromJSON(value) {
30
- return this.from({
31
- body: value.body,
32
- subject: value.subject,
33
- // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
34
- to: value.to?.map((recipient) => transport_1.CoreAddress.from(recipient)),
35
- cc: value.cc?.map((recipient) => transport_1.CoreAddress.from(recipient))
36
- });
29
+ toJSON(verbose, serializeAsString) {
30
+ return super.toJSON(verbose, serializeAsString);
37
31
  }
38
32
  };
39
33
  __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"Mail.js","sourceRoot":"","sources":["../../src/messages/Mail.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA2F;AAC3F,gDAA4D;AAiB5D,IAAa,IAAI,GAAjB,MAAa,IAAK,SAAQ,wBAAY;IAiBxB,MAAM,CAAU,OAAO,CAAC,KAAU;QACxC,IAAI,OAAO,KAAK,CAAC,EAAE,KAAK,WAAW,EAAE;YACjC,KAAK,CAAC,EAAE,GAAG,EAAE,CAAA;SAChB;QAED,IAAI,OAAO,KAAK,CAAC,IAAI,KAAK,WAAW,IAAI,KAAK,CAAC,OAAO,EAAE;YACpD,KAAK,CAAC,IAAI,GAAG,KAAK,CAAC,OAAO,CAAA;YAC1B,OAAO,KAAK,CAAC,OAAO,CAAA;SACvB;QAED,OAAO,KAAK,CAAA;IAChB,CAAC;IAEM,MAAM,CAAC,IAAI,CAAC,KAAY;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEM,MAAM,CAAC,QAAQ,CAAC,KAAe;QAClC,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,KAAK,CAAC,IAAI;YAChB,OAAO,EAAE,KAAK,CAAC,OAAO;YACtB,uEAAuE;YACvE,EAAE,EAAE,KAAK,CAAC,EAAE,EAAE,GAAG,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,uBAAW,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;YAC7D,EAAE,EAAE,KAAK,CAAC,EAAE,EAAE,GAAG,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,uBAAW,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;SAChE,CAAC,CAAA;IACN,CAAC;CACJ,CAAA;AAxCG;IAFC,IAAA,qBAAS,EAAC,EAAE,IAAI,EAAE,uBAAW,EAAE,CAAC;IAChC,IAAA,oBAAQ,EAAC,EAAE,eAAe,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE,CAAC;;gCAC9D;AAIxB;IAFC,IAAA,qBAAS,EAAC,EAAE,IAAI,EAAE,uBAAW,EAAE,CAAC;IAChC,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;gCACJ;AAIzB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;qCACW;AAItB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;kCACQ;AAfV,IAAI;IADhB,IAAA,gBAAI,EAAC,MAAM,CAAC;GACA,IAAI,CA2ChB;AA3CY,oBAAI"}
1
+ {"version":3,"file":"Mail.js","sourceRoot":"","sources":["../../src/messages/Mail.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA2F;AAC3F,gDAA4D;AAkBrD,IAAM,IAAI,GAAV,MAAM,IAAK,SAAQ,wBAAY;IAiBxB,MAAM,CAAU,OAAO,CAAC,KAAU;QACxC,IAAI,OAAO,KAAK,CAAC,EAAE,KAAK,WAAW,EAAE;YACjC,KAAK,CAAC,EAAE,GAAG,EAAE,CAAA;SAChB;QAED,IAAI,OAAO,KAAK,CAAC,IAAI,KAAK,WAAW,IAAI,KAAK,CAAC,OAAO,EAAE;YACpD,KAAK,CAAC,IAAI,GAAG,KAAK,CAAC,OAAO,CAAA;YAC1B,OAAO,KAAK,CAAC,OAAO,CAAA;SACvB;QAED,OAAO,KAAK,CAAA;IAChB,CAAC;IAEM,MAAM,CAAC,IAAI,CAAC,KAAsC;QACrD,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,CAAa,CAAA;IAC/D,CAAC;CACJ,CAAA;AApCG;IAAC,IAAA,qBAAS,EAAC,EAAE,IAAI,EAAE,uBAAW,EAAE,CAAC;IAChC,IAAA,oBAAQ,EAAC,EAAE,eAAe,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE,CAAC;;gCAC9D;AAExB;IAAC,IAAA,qBAAS,EAAC,EAAE,IAAI,EAAE,uBAAW,EAAE,CAAC;IAChC,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;gCACJ;AAEzB;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;qCACW;AAEtB;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;kCACQ;AAfV,IAAI;IADhB,IAAA,gBAAI,EAAC,MAAM,CAAC;GACA,IAAI,CAqChB;AArCY,oBAAI"}
@@ -0,0 +1,15 @@
1
+ import { ISerializable, Serializable } from "@js-soft/ts-serval";
2
+ import { ContentJSON } from "../ContentJSON";
3
+ import { IResponse, Response, ResponseJSON } from "../requests/response/Response";
4
+ export interface RelationshipCreationChangeRequestContentJSON extends ContentJSON {
5
+ "@type": "RelationshipCreationChangeRequestContent";
6
+ response: ResponseJSON;
7
+ }
8
+ export interface IRelationshipCreationChangeRequestContent extends ISerializable {
9
+ response: IResponse;
10
+ }
11
+ export declare class RelationshipCreationChangeRequestContent extends Serializable implements IRelationshipCreationChangeRequestContent {
12
+ response: Response;
13
+ static from(value: IRelationshipCreationChangeRequestContent | Omit<RelationshipCreationChangeRequestContentJSON, "@type">): RelationshipCreationChangeRequestContent;
14
+ toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): RelationshipCreationChangeRequestContentJSON;
15
+ }
@@ -9,26 +9,24 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.RelationshipCreationChangeRequestBody = void 0;
12
+ exports.RelationshipCreationChangeRequestContent = void 0;
13
13
  const ts_serval_1 = require("@js-soft/ts-serval");
14
14
  const Response_1 = require("../requests/response/Response");
15
- let RelationshipCreationChangeRequestBody = class RelationshipCreationChangeRequestBody extends ts_serval_1.Serializable {
15
+ let RelationshipCreationChangeRequestContent = class RelationshipCreationChangeRequestContent extends ts_serval_1.Serializable {
16
16
  static from(value) {
17
17
  return this.fromAny(value);
18
18
  }
19
+ toJSON(verbose, serializeAsString) {
20
+ return super.toJSON(verbose, serializeAsString);
21
+ }
19
22
  };
20
- __decorate([
21
- (0, ts_serval_1.serialize)(),
22
- (0, ts_serval_1.validate)({ nullable: true }),
23
- __metadata("design:type", Object)
24
- ], RelationshipCreationChangeRequestBody.prototype, "templateContentMetadata", void 0);
25
23
  __decorate([
26
24
  (0, ts_serval_1.serialize)(),
27
25
  (0, ts_serval_1.validate)(),
28
26
  __metadata("design:type", Response_1.Response)
29
- ], RelationshipCreationChangeRequestBody.prototype, "response", void 0);
30
- RelationshipCreationChangeRequestBody = __decorate([
31
- (0, ts_serval_1.type)("RelationshipCreationChangeRequestBody")
32
- ], RelationshipCreationChangeRequestBody);
33
- exports.RelationshipCreationChangeRequestBody = RelationshipCreationChangeRequestBody;
34
- //# sourceMappingURL=RelationshipCreationChangeRequestBody.js.map
27
+ ], RelationshipCreationChangeRequestContent.prototype, "response", void 0);
28
+ RelationshipCreationChangeRequestContent = __decorate([
29
+ (0, ts_serval_1.type)("RelationshipCreationChangeRequestContent")
30
+ ], RelationshipCreationChangeRequestContent);
31
+ exports.RelationshipCreationChangeRequestContent = RelationshipCreationChangeRequestContent;
32
+ //# sourceMappingURL=RelationshipCreationChangeRequestContent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RelationshipCreationChangeRequestContent.js","sourceRoot":"","sources":["../../src/relationships/RelationshipCreationChangeRequestContent.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA2F;AAE3F,4DAAiF;AAY1E,IAAM,wCAAwC,GAA9C,MAAM,wCACT,SAAQ,wBAAY;IAOb,MAAM,CAAC,IAAI,CACd,KAA8G;QAE9G,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,CAAiD,CAAA;IACnG,CAAC;CACJ,CAAA;AAhBG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;8BACM,mBAAQ;0EAAA;AANhB,wCAAwC;IADpD,IAAA,gBAAI,EAAC,0CAA0C,CAAC;GACpC,wCAAwC,CAoBpD;AApBY,4FAAwC"}
@@ -0,0 +1,24 @@
1
+ import { ISerializable, Serializable } from "@js-soft/ts-serval";
2
+ import { ContentJSON } from "../ContentJSON";
3
+ import { IRequest, Request, RequestJSON } from "../requests/Request";
4
+ export interface RelationshipTemplateContentJSON extends ContentJSON {
5
+ "@type": "RelationshipTemplateContent";
6
+ title?: string;
7
+ metadata?: object;
8
+ onNewRelationship: RequestJSON;
9
+ onExistingRelationship?: RequestJSON;
10
+ }
11
+ export interface IRelationshipTemplateContent extends ISerializable {
12
+ title?: string;
13
+ metadata?: object;
14
+ onNewRelationship: IRequest;
15
+ onExistingRelationship?: IRequest;
16
+ }
17
+ export declare class RelationshipTemplateContent extends Serializable implements IRelationshipTemplateContent {
18
+ title?: string;
19
+ metadata?: object;
20
+ onNewRelationship: Request;
21
+ onExistingRelationship?: Request;
22
+ static from(value: IRelationshipTemplateContent | Omit<RelationshipTemplateContentJSON, "@type">): RelationshipTemplateContent;
23
+ toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): RelationshipTemplateContentJSON;
24
+ }
@@ -9,36 +9,39 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.RelationshipTemplateBody = void 0;
12
+ exports.RelationshipTemplateContent = void 0;
13
13
  const ts_serval_1 = require("@js-soft/ts-serval");
14
14
  const Request_1 = require("../requests/Request");
15
- let RelationshipTemplateBody = class RelationshipTemplateBody extends ts_serval_1.Serializable {
15
+ let RelationshipTemplateContent = class RelationshipTemplateContent extends ts_serval_1.Serializable {
16
16
  static from(value) {
17
17
  return this.fromAny(value);
18
18
  }
19
+ toJSON(verbose, serializeAsString) {
20
+ return super.toJSON(verbose, serializeAsString);
21
+ }
19
22
  };
20
23
  __decorate([
21
24
  (0, ts_serval_1.serialize)(),
22
25
  (0, ts_serval_1.validate)({ nullable: true }),
23
26
  __metadata("design:type", String)
24
- ], RelationshipTemplateBody.prototype, "title", void 0);
27
+ ], RelationshipTemplateContent.prototype, "title", void 0);
25
28
  __decorate([
26
29
  (0, ts_serval_1.serialize)(),
27
30
  (0, ts_serval_1.validate)({ nullable: true }),
28
31
  __metadata("design:type", Object)
29
- ], RelationshipTemplateBody.prototype, "metadata", void 0);
32
+ ], RelationshipTemplateContent.prototype, "metadata", void 0);
30
33
  __decorate([
31
34
  (0, ts_serval_1.serialize)(),
32
35
  (0, ts_serval_1.validate)(),
33
36
  __metadata("design:type", Request_1.Request)
34
- ], RelationshipTemplateBody.prototype, "onNewRelationship", void 0);
37
+ ], RelationshipTemplateContent.prototype, "onNewRelationship", void 0);
35
38
  __decorate([
36
39
  (0, ts_serval_1.serialize)(),
37
40
  (0, ts_serval_1.validate)({ nullable: true }),
38
41
  __metadata("design:type", Request_1.Request)
39
- ], RelationshipTemplateBody.prototype, "onExistingRelationship", void 0);
40
- RelationshipTemplateBody = __decorate([
41
- (0, ts_serval_1.type)("RelationshipTemplateBody")
42
- ], RelationshipTemplateBody);
43
- exports.RelationshipTemplateBody = RelationshipTemplateBody;
44
- //# sourceMappingURL=RelationshipTemplateBody.js.map
42
+ ], RelationshipTemplateContent.prototype, "onExistingRelationship", void 0);
43
+ RelationshipTemplateContent = __decorate([
44
+ (0, ts_serval_1.type)("RelationshipTemplateContent")
45
+ ], RelationshipTemplateContent);
46
+ exports.RelationshipTemplateContent = RelationshipTemplateContent;
47
+ //# sourceMappingURL=RelationshipTemplateContent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RelationshipTemplateContent.js","sourceRoot":"","sources":["../../src/relationships/RelationshipTemplateContent.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA2F;AAE3F,iDAAoE;AAkB7D,IAAM,2BAA2B,GAAjC,MAAM,2BAA4B,SAAQ,wBAAY;IAiBlD,MAAM,CAAC,IAAI,CACd,KAAoF;QAEpF,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,CAAoC,CAAA;IACtF,CAAC;CACJ,CAAA;AA5BG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0DACR;AAErB;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6DACL;AAExB;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;8BACe,iBAAO;sEAAA;AAEjC;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACG,iBAAO;2EAAA;AAf9B,2BAA2B;IADvC,IAAA,gBAAI,EAAC,6BAA6B,CAAC;GACvB,2BAA2B,CA6BvC;AA7BY,kEAA2B"}