@nmshd/content 2.0.0-beta.28 → 2.0.0-beta.29

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 (259) hide show
  1. package/dist/attributes/Attribute.d.ts +1 -2
  2. package/dist/attributes/Attribute.js +0 -8
  3. package/dist/attributes/Attribute.js.map +1 -1
  4. package/dist/attributes/AttributeValueTypes.d.ts +47 -0
  5. package/dist/attributes/AttributeValueTypes.js +139 -0
  6. package/dist/attributes/AttributeValueTypes.js.map +1 -0
  7. package/dist/attributes/IdentityAttribute.d.ts +6 -6
  8. package/dist/attributes/IdentityAttribute.js +4 -4
  9. package/dist/attributes/IdentityAttribute.js.map +1 -1
  10. package/dist/attributes/IdentityAttributeQuery.d.ts +5 -4
  11. package/dist/attributes/IdentityAttributeQuery.js +6 -3
  12. package/dist/attributes/IdentityAttributeQuery.js.map +1 -1
  13. package/dist/attributes/RelationshipAttribute.d.ts +7 -36
  14. package/dist/attributes/RelationshipAttribute.js +8 -38
  15. package/dist/attributes/RelationshipAttribute.js.map +1 -1
  16. package/dist/attributes/RelationshipAttributeConfidentiality.d.ts +30 -0
  17. package/dist/attributes/RelationshipAttributeConfidentiality.js +35 -0
  18. package/dist/attributes/RelationshipAttributeConfidentiality.js.map +1 -0
  19. package/dist/attributes/RelationshipAttributeQuery.d.ts +36 -2
  20. package/dist/attributes/RelationshipAttributeQuery.js +64 -5
  21. package/dist/attributes/RelationshipAttributeQuery.js.map +1 -1
  22. package/dist/attributes/ThirdPartyRelationshipAttributeQuery.d.ts +1 -1
  23. package/dist/attributes/ThirdPartyRelationshipAttributeQuery.js +2 -2
  24. package/dist/attributes/ThirdPartyRelationshipAttributeQuery.js.map +1 -1
  25. package/dist/attributes/constants/index.d.ts +0 -1
  26. package/dist/attributes/constants/index.js +0 -1
  27. package/dist/attributes/constants/index.js.map +1 -1
  28. package/dist/attributes/hints/RenderHints.d.ts +1 -1
  29. package/dist/attributes/hints/RenderHints.js.map +1 -1
  30. package/dist/attributes/hints/index.d.ts +0 -1
  31. package/dist/attributes/hints/index.js +0 -1
  32. package/dist/attributes/hints/index.js.map +1 -1
  33. package/dist/attributes/index.d.ts +2 -0
  34. package/dist/attributes/index.js +2 -0
  35. package/dist/attributes/index.js.map +1 -1
  36. package/dist/attributes/types/AbstractInteger.d.ts +0 -1
  37. package/dist/attributes/types/AbstractInteger.js +0 -3
  38. package/dist/attributes/types/AbstractInteger.js.map +1 -1
  39. package/dist/attributes/types/address/City.d.ts +8 -2
  40. package/dist/attributes/types/address/City.js +3 -0
  41. package/dist/attributes/types/address/City.js.map +1 -1
  42. package/dist/attributes/types/address/Country.d.ts +9 -2
  43. package/dist/attributes/types/address/Country.js +5 -2
  44. package/dist/attributes/types/address/Country.js.map +1 -1
  45. package/dist/attributes/types/address/DeliveryBoxAddress.d.ts +14 -14
  46. package/dist/attributes/types/address/HouseNumber.d.ts +9 -2
  47. package/dist/attributes/types/address/HouseNumber.js +6 -0
  48. package/dist/attributes/types/address/HouseNumber.js.map +1 -1
  49. package/dist/attributes/types/address/PostOfficeBoxAddress.d.ts +7 -7
  50. package/dist/attributes/types/address/State.d.ts +8 -2
  51. package/dist/attributes/types/address/State.js +3 -0
  52. package/dist/attributes/types/address/State.js.map +1 -1
  53. package/dist/attributes/types/address/Street.d.ts +9 -2
  54. package/dist/attributes/types/address/Street.js +6 -0
  55. package/dist/attributes/types/address/Street.js.map +1 -1
  56. package/dist/attributes/types/address/StreetAddress.d.ts +21 -21
  57. package/dist/attributes/types/address/ZipCode.d.ts +9 -2
  58. package/dist/attributes/types/address/ZipCode.js +6 -0
  59. package/dist/attributes/types/address/ZipCode.js.map +1 -1
  60. package/dist/attributes/types/affiliation/Affiliation.d.ts +21 -21
  61. package/dist/attributes/types/affiliation/AffiliationOrganization.d.ts +9 -2
  62. package/dist/attributes/types/affiliation/AffiliationOrganization.js +6 -0
  63. package/dist/attributes/types/affiliation/AffiliationOrganization.js.map +1 -1
  64. package/dist/attributes/types/affiliation/AffiliationRole.d.ts +9 -2
  65. package/dist/attributes/types/affiliation/AffiliationRole.js +6 -0
  66. package/dist/attributes/types/affiliation/AffiliationRole.js.map +1 -1
  67. package/dist/attributes/types/affiliation/AffiliationUnit.d.ts +9 -2
  68. package/dist/attributes/types/affiliation/AffiliationUnit.js +6 -0
  69. package/dist/attributes/types/affiliation/AffiliationUnit.js.map +1 -1
  70. package/dist/attributes/types/birth/BirthCity.d.ts +9 -2
  71. package/dist/attributes/types/birth/BirthCity.js +8 -2
  72. package/dist/attributes/types/birth/BirthCity.js.map +1 -1
  73. package/dist/attributes/types/birth/BirthCountry.d.ts +9 -2
  74. package/dist/attributes/types/birth/BirthCountry.js +8 -2
  75. package/dist/attributes/types/birth/BirthCountry.js.map +1 -1
  76. package/dist/attributes/types/birth/BirthDate.d.ts +21 -21
  77. package/dist/attributes/types/birth/BirthDay.d.ts +9 -2
  78. package/dist/attributes/types/birth/BirthDay.js +8 -2
  79. package/dist/attributes/types/birth/BirthDay.js.map +1 -1
  80. package/dist/attributes/types/birth/BirthMonth.d.ts +9 -2
  81. package/dist/attributes/types/birth/BirthMonth.js +6 -0
  82. package/dist/attributes/types/birth/BirthMonth.js.map +1 -1
  83. package/dist/attributes/types/birth/BirthPlace.d.ts +21 -21
  84. package/dist/attributes/types/birth/BirthState.d.ts +9 -2
  85. package/dist/attributes/types/birth/BirthState.js +8 -2
  86. package/dist/attributes/types/birth/BirthState.js.map +1 -1
  87. package/dist/attributes/types/birth/BirthYear.d.ts +10 -2
  88. package/dist/attributes/types/birth/BirthYear.js +8 -2
  89. package/dist/attributes/types/birth/BirthYear.js.map +1 -1
  90. package/dist/attributes/types/communication/CommunicationLanguage.d.ts +9 -1
  91. package/dist/attributes/types/communication/CommunicationLanguage.js +6 -0
  92. package/dist/attributes/types/communication/CommunicationLanguage.js.map +1 -1
  93. package/dist/attributes/types/communication/EMailAddress.d.ts +9 -1
  94. package/dist/attributes/types/communication/EMailAddress.js +6 -0
  95. package/dist/attributes/types/communication/EMailAddress.js.map +1 -1
  96. package/dist/attributes/types/communication/Fax.d.ts +10 -2
  97. package/dist/attributes/types/communication/Fax.js +8 -2
  98. package/dist/attributes/types/communication/Fax.js.map +1 -1
  99. package/dist/attributes/types/communication/Phone.d.ts +10 -2
  100. package/dist/attributes/types/communication/Phone.js +8 -2
  101. package/dist/attributes/types/communication/Phone.js.map +1 -1
  102. package/dist/attributes/types/communication/Website.d.ts +9 -1
  103. package/dist/attributes/types/communication/Website.js +6 -0
  104. package/dist/attributes/types/communication/Website.js.map +1 -1
  105. package/dist/attributes/types/dates/AbstractDay.d.ts +8 -1
  106. package/dist/attributes/types/dates/AbstractDay.js.map +1 -1
  107. package/dist/attributes/types/dates/AbstractMonth.d.ts +8 -1
  108. package/dist/attributes/types/dates/AbstractMonth.js.map +1 -1
  109. package/dist/attributes/types/identity/DisplayName.d.ts +9 -2
  110. package/dist/attributes/types/identity/DisplayName.js +6 -0
  111. package/dist/attributes/types/identity/DisplayName.js.map +1 -1
  112. package/dist/attributes/types/identity/FileReference.d.ts +9 -1
  113. package/dist/attributes/types/identity/FileReference.js +6 -0
  114. package/dist/attributes/types/identity/FileReference.js.map +1 -1
  115. package/dist/attributes/types/name/BirthName.d.ts +9 -2
  116. package/dist/attributes/types/name/BirthName.js +6 -0
  117. package/dist/attributes/types/name/BirthName.js.map +1 -1
  118. package/dist/attributes/types/name/GivenName.d.ts +9 -2
  119. package/dist/attributes/types/name/GivenName.js +6 -0
  120. package/dist/attributes/types/name/GivenName.js.map +1 -1
  121. package/dist/attributes/types/name/PersonName.d.ts +7 -7
  122. package/dist/attributes/types/name/Pseudonym.d.ts +9 -2
  123. package/dist/attributes/types/name/Pseudonym.js +6 -0
  124. package/dist/attributes/types/name/Pseudonym.js.map +1 -1
  125. package/dist/attributes/types/person/Citizenship.d.ts +10 -2
  126. package/dist/attributes/types/person/Citizenship.js +8 -2
  127. package/dist/attributes/types/person/Citizenship.js.map +1 -1
  128. package/dist/attributes/types/person/JobTitle.d.ts +9 -2
  129. package/dist/attributes/types/person/JobTitle.js +6 -0
  130. package/dist/attributes/types/person/JobTitle.js.map +1 -1
  131. package/dist/attributes/types/person/Nationality.d.ts +10 -2
  132. package/dist/attributes/types/person/Nationality.js +8 -2
  133. package/dist/attributes/types/person/Nationality.js.map +1 -1
  134. package/dist/attributes/types/person/Sex.d.ts +8 -1
  135. package/dist/attributes/types/person/Sex.js +6 -0
  136. package/dist/attributes/types/person/Sex.js.map +1 -1
  137. package/dist/attributes/types/proprietary/ProprietaryBoolean.d.ts +3 -1
  138. package/dist/attributes/types/proprietary/ProprietaryBoolean.js +6 -0
  139. package/dist/attributes/types/proprietary/ProprietaryBoolean.js.map +1 -1
  140. package/dist/attributes/types/proprietary/ProprietaryCountry.d.ts +2 -0
  141. package/dist/attributes/types/proprietary/ProprietaryCountry.js +6 -0
  142. package/dist/attributes/types/proprietary/ProprietaryCountry.js.map +1 -1
  143. package/dist/attributes/types/proprietary/ProprietaryEMailAddress.d.ts +2 -0
  144. package/dist/attributes/types/proprietary/ProprietaryEMailAddress.js +6 -0
  145. package/dist/attributes/types/proprietary/ProprietaryEMailAddress.js.map +1 -1
  146. package/dist/attributes/types/proprietary/ProprietaryFileReference.d.ts +2 -0
  147. package/dist/attributes/types/proprietary/ProprietaryFileReference.js +6 -0
  148. package/dist/attributes/types/proprietary/ProprietaryFileReference.js.map +1 -1
  149. package/dist/attributes/types/proprietary/ProprietaryFloat.d.ts +2 -0
  150. package/dist/attributes/types/proprietary/ProprietaryFloat.js +6 -0
  151. package/dist/attributes/types/proprietary/ProprietaryFloat.js.map +1 -1
  152. package/dist/attributes/types/proprietary/ProprietaryHEXColor.d.ts +2 -0
  153. package/dist/attributes/types/proprietary/ProprietaryHEXColor.js +6 -0
  154. package/dist/attributes/types/proprietary/ProprietaryHEXColor.js.map +1 -1
  155. package/dist/attributes/types/proprietary/ProprietaryInteger.d.ts +2 -1
  156. package/dist/attributes/types/proprietary/ProprietaryInteger.js +3 -0
  157. package/dist/attributes/types/proprietary/ProprietaryInteger.js.map +1 -1
  158. package/dist/attributes/types/proprietary/ProprietaryLanguage.d.ts +2 -0
  159. package/dist/attributes/types/proprietary/ProprietaryLanguage.js +6 -0
  160. package/dist/attributes/types/proprietary/ProprietaryLanguage.js.map +1 -1
  161. package/dist/attributes/types/proprietary/ProprietaryPhoneNumber.d.ts +2 -0
  162. package/dist/attributes/types/proprietary/ProprietaryPhoneNumber.js +6 -0
  163. package/dist/attributes/types/proprietary/ProprietaryPhoneNumber.js.map +1 -1
  164. package/dist/attributes/types/proprietary/ProprietaryString.d.ts +2 -0
  165. package/dist/attributes/types/proprietary/ProprietaryString.js +6 -0
  166. package/dist/attributes/types/proprietary/ProprietaryString.js.map +1 -1
  167. package/dist/attributes/types/proprietary/ProprietaryURL.d.ts +2 -0
  168. package/dist/attributes/types/proprietary/ProprietaryURL.js +6 -0
  169. package/dist/attributes/types/proprietary/ProprietaryURL.js.map +1 -1
  170. package/dist/buildInformation.js +5 -5
  171. package/dist/messages/Mail.d.ts +2 -2
  172. package/dist/messages/Mail.js +2 -8
  173. package/dist/messages/Mail.js.map +1 -1
  174. package/dist/messages/RequestMail.d.ts +2 -2
  175. package/dist/messages/RequestMail.js +3 -20
  176. package/dist/messages/RequestMail.js.map +1 -1
  177. package/dist/relationships/RelationshipCreationChangeRequestBody.d.ts +1 -0
  178. package/dist/relationships/RelationshipCreationChangeRequestBody.js +3 -0
  179. package/dist/relationships/RelationshipCreationChangeRequestBody.js.map +1 -1
  180. package/dist/relationships/RelationshipTemplateBody.d.ts +1 -0
  181. package/dist/relationships/RelationshipTemplateBody.js +3 -0
  182. package/dist/relationships/RelationshipTemplateBody.js.map +1 -1
  183. package/dist/requests/Request.d.ts +1 -1
  184. package/dist/requests/Request.js +2 -2
  185. package/dist/requests/Request.js.map +1 -1
  186. package/dist/requests/RequestItem.d.ts +1 -1
  187. package/dist/requests/RequestItem.js +2 -2
  188. package/dist/requests/RequestItem.js.map +1 -1
  189. package/dist/requests/RequestItemGroup.d.ts +1 -1
  190. package/dist/requests/RequestItemGroup.js +2 -2
  191. package/dist/requests/RequestItemGroup.js.map +1 -1
  192. package/dist/requests/items/authentication/AuthenticationRequestItem.d.ts +2 -1
  193. package/dist/requests/items/authentication/AuthenticationRequestItem.js +3 -0
  194. package/dist/requests/items/authentication/AuthenticationRequestItem.js.map +1 -1
  195. package/dist/requests/items/consent/ConsentRequestItem.d.ts +2 -1
  196. package/dist/requests/items/consent/ConsentRequestItem.js +3 -0
  197. package/dist/requests/items/consent/ConsentRequestItem.js.map +1 -1
  198. package/dist/requests/items/createRelationshipAttribute/CreateAttributeAcceptResponseItem.d.ts +1 -0
  199. package/dist/requests/items/createRelationshipAttribute/CreateAttributeAcceptResponseItem.js +3 -0
  200. package/dist/requests/items/createRelationshipAttribute/CreateAttributeAcceptResponseItem.js.map +1 -1
  201. package/dist/requests/items/createRelationshipAttribute/CreateAttributeRequestItem.d.ts +1 -0
  202. package/dist/requests/items/createRelationshipAttribute/CreateAttributeRequestItem.js +3 -0
  203. package/dist/requests/items/createRelationshipAttribute/CreateAttributeRequestItem.js.map +1 -1
  204. package/dist/requests/items/proposeAttribute/ProposeAttributeAcceptResponseItem.d.ts +1 -0
  205. package/dist/requests/items/proposeAttribute/ProposeAttributeAcceptResponseItem.js +3 -0
  206. package/dist/requests/items/proposeAttribute/ProposeAttributeAcceptResponseItem.js.map +1 -1
  207. package/dist/requests/items/proposeAttribute/ProposeAttributeRequestItem.d.ts +2 -1
  208. package/dist/requests/items/proposeAttribute/ProposeAttributeRequestItem.js +3 -0
  209. package/dist/requests/items/proposeAttribute/ProposeAttributeRequestItem.js.map +1 -1
  210. package/dist/requests/items/readAttribute/ReadAttributeAcceptResponseItem.d.ts +1 -0
  211. package/dist/requests/items/readAttribute/ReadAttributeAcceptResponseItem.js +3 -0
  212. package/dist/requests/items/readAttribute/ReadAttributeAcceptResponseItem.js.map +1 -1
  213. package/dist/requests/items/registerAttributeListener/RegisterAttributeListenerAcceptResponseItem.d.ts +1 -0
  214. package/dist/requests/items/registerAttributeListener/RegisterAttributeListenerAcceptResponseItem.js +3 -0
  215. package/dist/requests/items/registerAttributeListener/RegisterAttributeListenerAcceptResponseItem.js.map +1 -1
  216. package/dist/requests/items/registerAttributeListener/RegisterAttributeListenerRequestItem.d.ts +1 -0
  217. package/dist/requests/items/registerAttributeListener/RegisterAttributeListenerRequestItem.js +3 -0
  218. package/dist/requests/items/registerAttributeListener/RegisterAttributeListenerRequestItem.js.map +1 -1
  219. package/dist/requests/items/shareAttribute/ShareAttributeAcceptResponseItem.d.ts +1 -0
  220. package/dist/requests/items/shareAttribute/ShareAttributeAcceptResponseItem.js +3 -0
  221. package/dist/requests/items/shareAttribute/ShareAttributeAcceptResponseItem.js.map +1 -1
  222. package/dist/requests/items/shareAttribute/ShareAttributeRequestItem.d.ts +1 -0
  223. package/dist/requests/items/shareAttribute/ShareAttributeRequestItem.js +3 -0
  224. package/dist/requests/items/shareAttribute/ShareAttributeRequestItem.js.map +1 -1
  225. package/dist/requests/old/AttributesChangeRequest.d.ts +1 -2
  226. package/dist/requests/old/AttributesChangeRequest.js +0 -11
  227. package/dist/requests/old/AttributesChangeRequest.js.map +1 -1
  228. package/dist/requests/old/AttributesRequest.d.ts +1 -2
  229. package/dist/requests/old/AttributesRequest.js +0 -10
  230. package/dist/requests/old/AttributesRequest.js.map +1 -1
  231. package/dist/requests/old/AttributesShareRequest.d.ts +1 -1
  232. package/dist/requests/old/AttributesShareRequest.js.map +1 -1
  233. package/dist/requests/response/AcceptResponseItem.d.ts +1 -1
  234. package/dist/requests/response/AcceptResponseItem.js +2 -2
  235. package/dist/requests/response/AcceptResponseItem.js.map +1 -1
  236. package/dist/requests/response/ErrorResponseItem.d.ts +1 -1
  237. package/dist/requests/response/ErrorResponseItem.js +2 -2
  238. package/dist/requests/response/ErrorResponseItem.js.map +1 -1
  239. package/dist/requests/response/RejectResponseItem.d.ts +1 -1
  240. package/dist/requests/response/RejectResponseItem.js +2 -2
  241. package/dist/requests/response/RejectResponseItem.js.map +1 -1
  242. package/dist/requests/response/Response.d.ts +1 -1
  243. package/dist/requests/response/Response.js +2 -2
  244. package/dist/requests/response/Response.js.map +1 -1
  245. package/dist/requests/response/ResponseItem.d.ts +1 -1
  246. package/dist/requests/response/ResponseItem.js +2 -2
  247. package/dist/requests/response/ResponseItem.js.map +1 -1
  248. package/dist/requests/response/ResponseItemGroup.d.ts +1 -1
  249. package/dist/requests/response/ResponseItemGroup.js +2 -2
  250. package/dist/requests/response/ResponseItemGroup.js.map +1 -1
  251. package/lib-web/nmshd.content.js +593 -302
  252. package/lib-web/nmshd.content.min.js +1 -1
  253. package/package.json +3 -2
  254. package/dist/attributes/constants/AttributeValueTypes.d.ts +0 -4
  255. package/dist/attributes/constants/AttributeValueTypes.js +0 -58
  256. package/dist/attributes/constants/AttributeValueTypes.js.map +0 -1
  257. package/dist/attributes/hints/RelationshipAttributeCreationHints.d.ts +0 -34
  258. package/dist/attributes/hints/RelationshipAttributeCreationHints.js +0 -69
  259. package/dist/attributes/hints/RelationshipAttributeCreationHints.js.map +0 -1
@@ -10,6 +10,12 @@ exports.ZipCode = void 0;
10
10
  const ts_serval_1 = require("@js-soft/ts-serval");
11
11
  const AbstractString_1 = require("../AbstractString");
12
12
  let ZipCode = class ZipCode 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
  ZipCode = __decorate([
15
21
  (0, ts_serval_1.type)("ZipCode")
@@ -1 +1 @@
1
- {"version":3,"file":"ZipCode.js","sourceRoot":"","sources":["../../../../src/attributes/types/address/ZipCode.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,sDAAkD;AAGlD,IAAa,OAAO,GAApB,MAAa,OAAQ,SAAQ,+BAAc;CAAG,CAAA;AAAjC,OAAO;IADnB,IAAA,gBAAI,EAAC,SAAS,CAAC;GACH,OAAO,CAA0B;AAAjC,0BAAO"}
1
+ {"version":3,"file":"ZipCode.js","sourceRoot":"","sources":["../../../../src/attributes/types/address/ZipCode.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,sDAAwF;AASxF,IAAa,OAAO,GAApB,MAAa,OAAQ,SAAQ,+BAAc;IAChC,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,CAAgB,CAAA;IAClE,CAAC;CACJ,CAAA;AARY,OAAO;IADnB,IAAA,gBAAI,EAAC,SAAS,CAAC;GACH,OAAO,CAQnB;AARY,0BAAO"}
@@ -18,6 +18,13 @@ export interface IAffiliation extends IAbstractComplexValue {
18
18
  export declare class Affiliation extends AbstractComplexValue implements IAffiliation {
19
19
  static readonly propertyNames: {
20
20
  role: {
21
+ toJSON: import("easy-tsnameof").PathHandlers<{
22
+ $path: (path: import("easy-tsnameof").PathKey[]) => string;
23
+ $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
24
+ toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
25
+ valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
26
+ [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
27
+ }>;
21
28
  value: import("easy-tsnameof").PathHandlers<{
22
29
  $path: (path: import("easy-tsnameof").PathKey[]) => string;
23
30
  $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
@@ -281,13 +288,6 @@ export declare class Affiliation extends AbstractComplexValue implements IAffili
281
288
  valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
282
289
  [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
283
290
  }>;
284
- toJSON: import("easy-tsnameof").PathHandlers<{
285
- $path: (path: import("easy-tsnameof").PathKey[]) => string;
286
- $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
287
- toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
288
- valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
289
- [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
290
- }>;
291
291
  } & import("easy-tsnameof").PathHandlers<{
292
292
  $path: (path: import("easy-tsnameof").PathKey[]) => string;
293
293
  $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
@@ -296,6 +296,13 @@ export declare class Affiliation extends AbstractComplexValue implements IAffili
296
296
  [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
297
297
  }>;
298
298
  organization: {
299
+ toJSON: import("easy-tsnameof").PathHandlers<{
300
+ $path: (path: import("easy-tsnameof").PathKey[]) => string;
301
+ $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
302
+ toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
303
+ valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
304
+ [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
305
+ }>;
299
306
  value: import("easy-tsnameof").PathHandlers<{
300
307
  $path: (path: import("easy-tsnameof").PathKey[]) => string;
301
308
  $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
@@ -559,13 +566,6 @@ export declare class Affiliation extends AbstractComplexValue implements IAffili
559
566
  valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
560
567
  [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
561
568
  }>;
562
- toJSON: import("easy-tsnameof").PathHandlers<{
563
- $path: (path: import("easy-tsnameof").PathKey[]) => string;
564
- $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
565
- toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
566
- valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
567
- [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
568
- }>;
569
569
  } & import("easy-tsnameof").PathHandlers<{
570
570
  $path: (path: import("easy-tsnameof").PathKey[]) => string;
571
571
  $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
@@ -574,6 +574,13 @@ export declare class Affiliation extends AbstractComplexValue implements IAffili
574
574
  [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
575
575
  }>;
576
576
  unit: {
577
+ toJSON: import("easy-tsnameof").PathHandlers<{
578
+ $path: (path: import("easy-tsnameof").PathKey[]) => string;
579
+ $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
580
+ toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
581
+ valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
582
+ [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
583
+ }>;
577
584
  value: import("easy-tsnameof").PathHandlers<{
578
585
  $path: (path: import("easy-tsnameof").PathKey[]) => string;
579
586
  $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
@@ -837,13 +844,6 @@ export declare class Affiliation extends AbstractComplexValue implements IAffili
837
844
  valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
838
845
  [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
839
846
  }>;
840
- toJSON: import("easy-tsnameof").PathHandlers<{
841
- $path: (path: import("easy-tsnameof").PathKey[]) => string;
842
- $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
843
- toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
844
- valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
845
- [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
846
- }>;
847
847
  } & import("easy-tsnameof").PathHandlers<{
848
848
  $path: (path: import("easy-tsnameof").PathKey[]) => string;
849
849
  $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
@@ -1,3 +1,10 @@
1
- import { AbstractString } from "../AbstractString";
2
- export declare class AffiliationOrganization extends AbstractString {
1
+ import { AbstractString, IAbstractString, IAbstractStringJSON } from "../AbstractString";
2
+ export interface AffiliationOrganizationJSON extends IAbstractStringJSON {
3
+ "@type": "AffiliationOrganization";
4
+ }
5
+ export interface IAffiliationOrganization extends IAbstractString {
6
+ }
7
+ export declare class AffiliationOrganization extends AbstractString implements IAffiliationOrganization {
8
+ static from(value: IAffiliationOrganization | AffiliationOrganizationJSON | string): AffiliationOrganization;
9
+ toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): AffiliationOrganizationJSON;
3
10
  }
@@ -10,6 +10,12 @@ exports.AffiliationOrganization = void 0;
10
10
  const ts_serval_1 = require("@js-soft/ts-serval");
11
11
  const AbstractString_1 = require("../AbstractString");
12
12
  let AffiliationOrganization = class AffiliationOrganization 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
  AffiliationOrganization = __decorate([
15
21
  (0, ts_serval_1.type)("AffiliationOrganization")
@@ -1 +1 @@
1
- {"version":3,"file":"AffiliationOrganization.js","sourceRoot":"","sources":["../../../../src/attributes/types/affiliation/AffiliationOrganization.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,sDAAkD;AAGlD,IAAa,uBAAuB,GAApC,MAAa,uBAAwB,SAAQ,+BAAc;CAAG,CAAA;AAAjD,uBAAuB;IADnC,IAAA,gBAAI,EAAC,yBAAyB,CAAC;GACnB,uBAAuB,CAA0B;AAAjD,0DAAuB"}
1
+ {"version":3,"file":"AffiliationOrganization.js","sourceRoot":"","sources":["../../../../src/attributes/types/affiliation/AffiliationOrganization.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,sDAAwF;AASxF,IAAa,uBAAuB,GAApC,MAAa,uBAAwB,SAAQ,+BAAc;IAChD,MAAM,CAAC,IAAI,CACd,KAAsE;QAEtE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEe,MAAM,CAClB,OAA6B,EAC7B,iBAAuC;QAEvC,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,iBAAiB,CAAgC,CAAA;IAClF,CAAC;CACJ,CAAA;AAbY,uBAAuB;IADnC,IAAA,gBAAI,EAAC,yBAAyB,CAAC;GACnB,uBAAuB,CAanC;AAbY,0DAAuB"}
@@ -1,3 +1,10 @@
1
- import { AbstractString } from "../AbstractString";
2
- export declare class AffiliationRole extends AbstractString {
1
+ import { AbstractString, IAbstractString, IAbstractStringJSON } from "../AbstractString";
2
+ export interface AffiliationRoleJSON extends IAbstractStringJSON {
3
+ "@type": "AffiliationRole";
4
+ }
5
+ export interface IAffiliationRole extends IAbstractString {
6
+ }
7
+ export declare class AffiliationRole extends AbstractString implements IAffiliationRole {
8
+ static from(value: IAffiliationRole | AffiliationRoleJSON | string): AffiliationRole;
9
+ toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): AffiliationRoleJSON;
3
10
  }
@@ -10,6 +10,12 @@ exports.AffiliationRole = void 0;
10
10
  const ts_serval_1 = require("@js-soft/ts-serval");
11
11
  const AbstractString_1 = require("../AbstractString");
12
12
  let AffiliationRole = class AffiliationRole 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
  AffiliationRole = __decorate([
15
21
  (0, ts_serval_1.type)("AffiliationRole")
@@ -1 +1 @@
1
- {"version":3,"file":"AffiliationRole.js","sourceRoot":"","sources":["../../../../src/attributes/types/affiliation/AffiliationRole.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,sDAAkD;AAGlD,IAAa,eAAe,GAA5B,MAAa,eAAgB,SAAQ,+BAAc;CAAG,CAAA;AAAzC,eAAe;IAD3B,IAAA,gBAAI,EAAC,iBAAiB,CAAC;GACX,eAAe,CAA0B;AAAzC,0CAAe"}
1
+ {"version":3,"file":"AffiliationRole.js","sourceRoot":"","sources":["../../../../src/attributes/types/affiliation/AffiliationRole.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,sDAAwF;AASxF,IAAa,eAAe,GAA5B,MAAa,eAAgB,SAAQ,+BAAc;IACxC,MAAM,CAAC,IAAI,CAAC,KAAsD;QACrE,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,CAAwB,CAAA;IAC1E,CAAC;CACJ,CAAA;AAXY,eAAe;IAD3B,IAAA,gBAAI,EAAC,iBAAiB,CAAC;GACX,eAAe,CAW3B;AAXY,0CAAe"}
@@ -1,3 +1,10 @@
1
- import { AbstractString } from "../AbstractString";
2
- export declare class AffiliationUnit extends AbstractString {
1
+ import { AbstractString, IAbstractString, IAbstractStringJSON } from "../AbstractString";
2
+ export interface AffiliationUnitJSON extends IAbstractStringJSON {
3
+ "@type": "AffiliationUnit";
4
+ }
5
+ export interface IAffiliationUnit extends IAbstractString {
6
+ }
7
+ export declare class AffiliationUnit extends AbstractString implements IAffiliationUnit {
8
+ static from(value: IAffiliationUnit | AffiliationUnitJSON | string): AffiliationUnit;
9
+ toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): AffiliationUnitJSON;
3
10
  }
@@ -10,6 +10,12 @@ exports.AffiliationUnit = void 0;
10
10
  const ts_serval_1 = require("@js-soft/ts-serval");
11
11
  const AbstractString_1 = require("../AbstractString");
12
12
  let AffiliationUnit = class AffiliationUnit 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
  AffiliationUnit = __decorate([
15
21
  (0, ts_serval_1.type)("AffiliationUnit")
@@ -1 +1 @@
1
- {"version":3,"file":"AffiliationUnit.js","sourceRoot":"","sources":["../../../../src/attributes/types/affiliation/AffiliationUnit.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,sDAAkD;AAGlD,IAAa,eAAe,GAA5B,MAAa,eAAgB,SAAQ,+BAAc;CAAG,CAAA;AAAzC,eAAe;IAD3B,IAAA,gBAAI,EAAC,iBAAiB,CAAC;GACX,eAAe,CAA0B;AAAzC,0CAAe"}
1
+ {"version":3,"file":"AffiliationUnit.js","sourceRoot":"","sources":["../../../../src/attributes/types/affiliation/AffiliationUnit.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,sDAAwF;AASxF,IAAa,eAAe,GAA5B,MAAa,eAAgB,SAAQ,+BAAc;IACxC,MAAM,CAAC,IAAI,CAAC,KAAsD;QACrE,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,CAAwB,CAAA;IAC1E,CAAC;CACJ,CAAA;AAXY,eAAe;IAD3B,IAAA,gBAAI,EAAC,iBAAiB,CAAC;GACX,eAAe,CAW3B;AAXY,0CAAe"}
@@ -1,3 +1,10 @@
1
- import { City } from "../address/City";
2
- export declare class BirthCity extends City {
1
+ import { City, CityJSON, ICity } from "../address";
2
+ export interface BirthCityJSON extends Omit<CityJSON, "@type"> {
3
+ "@type": "BirthCity";
4
+ }
5
+ export interface IBirthCity extends ICity {
6
+ }
7
+ export declare class BirthCity extends City implements IBirthCity {
8
+ static from(value: IBirthCity | BirthCityJSON | string): BirthCity;
9
+ toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): BirthCityJSON;
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.BirthCity = void 0;
10
10
  const ts_serval_1 = require("@js-soft/ts-serval");
11
- const City_1 = require("../address/City");
12
- let BirthCity = class BirthCity extends City_1.City {
11
+ const address_1 = require("../address");
12
+ let BirthCity = class BirthCity extends address_1.City {
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
  BirthCity = __decorate([
15
21
  (0, ts_serval_1.type)("BirthCity")
@@ -1 +1 @@
1
- {"version":3,"file":"BirthCity.js","sourceRoot":"","sources":["../../../../src/attributes/types/birth/BirthCity.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,0CAAsC;AAGtC,IAAa,SAAS,GAAtB,MAAa,SAAU,SAAQ,WAAI;CAAG,CAAA;AAAzB,SAAS;IADrB,IAAA,gBAAI,EAAC,WAAW,CAAC;GACL,SAAS,CAAgB;AAAzB,8BAAS"}
1
+ {"version":3,"file":"BirthCity.js","sourceRoot":"","sources":["../../../../src/attributes/types/birth/BirthCity.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,wCAAkD;AASlD,IAAa,SAAS,GAAtB,MAAa,SAAU,SAAQ,cAAI;IACxB,MAAM,CAAU,IAAI,CAAC,KAA0C;QAClE,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,10 @@
1
- import { Country } from "../address/Country";
2
- export declare class BirthCountry extends Country {
1
+ import { Country, CountryJSON, ICountry } from "../address";
2
+ export interface BirthCountryJSON extends Omit<CountryJSON, "@type"> {
3
+ "@type": "BirthCountry";
4
+ }
5
+ export interface IBirthCountry extends ICountry {
6
+ }
7
+ export declare class BirthCountry extends Country implements IBirthCountry {
8
+ static from(value: IBirthCountry | BirthCountryJSON | string): BirthCountry;
9
+ toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): BirthCountryJSON;
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.BirthCountry = void 0;
10
10
  const ts_serval_1 = require("@js-soft/ts-serval");
11
- const Country_1 = require("../address/Country");
12
- let BirthCountry = class BirthCountry extends Country_1.Country {
11
+ const address_1 = require("../address");
12
+ let BirthCountry = class BirthCountry extends address_1.Country {
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
  BirthCountry = __decorate([
15
21
  (0, ts_serval_1.type)("BirthCountry")
@@ -1 +1 @@
1
- {"version":3,"file":"BirthCountry.js","sourceRoot":"","sources":["../../../../src/attributes/types/birth/BirthCountry.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,gDAA4C;AAG5C,IAAa,YAAY,GAAzB,MAAa,YAAa,SAAQ,iBAAO;CAAG,CAAA;AAA/B,YAAY;IADxB,IAAA,gBAAI,EAAC,cAAc,CAAC;GACR,YAAY,CAAmB;AAA/B,oCAAY"}
1
+ {"version":3,"file":"BirthCountry.js","sourceRoot":"","sources":["../../../../src/attributes/types/birth/BirthCountry.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,wCAA2D;AAS3D,IAAa,YAAY,GAAzB,MAAa,YAAa,SAAQ,iBAAO;IAC9B,MAAM,CAAU,IAAI,CAAC,KAAgD;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,CAAqB,CAAA;IACvE,CAAC;CACJ,CAAA;AARY,YAAY;IADxB,IAAA,gBAAI,EAAC,cAAc,CAAC;GACR,YAAY,CAQxB;AARY,oCAAY"}
@@ -18,6 +18,13 @@ export interface IBirthDate extends IAbstractComplexValue {
18
18
  export declare class BirthDate extends AbstractComplexValue implements IBirthDate {
19
19
  static readonly propertyNames: {
20
20
  day: {
21
+ toJSON: import("easy-tsnameof").PathHandlers<{
22
+ $path: (path: import("easy-tsnameof").PathKey[]) => string;
23
+ $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
24
+ toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
25
+ valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
26
+ [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
27
+ }>;
21
28
  value: import("easy-tsnameof").PathHandlers<{
22
29
  $path: (path: import("easy-tsnameof").PathKey[]) => string;
23
30
  $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
@@ -281,13 +288,6 @@ export declare class BirthDate extends AbstractComplexValue implements IBirthDat
281
288
  valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
282
289
  [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
283
290
  }>;
284
- toJSON: import("easy-tsnameof").PathHandlers<{
285
- $path: (path: import("easy-tsnameof").PathKey[]) => string;
286
- $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
287
- toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
288
- valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
289
- [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
290
- }>;
291
291
  } & import("easy-tsnameof").PathHandlers<{
292
292
  $path: (path: import("easy-tsnameof").PathKey[]) => string;
293
293
  $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
@@ -296,6 +296,13 @@ export declare class BirthDate extends AbstractComplexValue implements IBirthDat
296
296
  [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
297
297
  }>;
298
298
  month: {
299
+ toJSON: import("easy-tsnameof").PathHandlers<{
300
+ $path: (path: import("easy-tsnameof").PathKey[]) => string;
301
+ $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
302
+ toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
303
+ valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
304
+ [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
305
+ }>;
299
306
  value: import("easy-tsnameof").PathHandlers<{
300
307
  $path: (path: import("easy-tsnameof").PathKey[]) => string;
301
308
  $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
@@ -559,13 +566,6 @@ export declare class BirthDate extends AbstractComplexValue implements IBirthDat
559
566
  valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
560
567
  [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
561
568
  }>;
562
- toJSON: import("easy-tsnameof").PathHandlers<{
563
- $path: (path: import("easy-tsnameof").PathKey[]) => string;
564
- $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
565
- toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
566
- valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
567
- [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
568
- }>;
569
569
  } & import("easy-tsnameof").PathHandlers<{
570
570
  $path: (path: import("easy-tsnameof").PathKey[]) => string;
571
571
  $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
@@ -574,6 +574,13 @@ export declare class BirthDate extends AbstractComplexValue implements IBirthDat
574
574
  [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
575
575
  }>;
576
576
  year: {
577
+ toJSON: import("easy-tsnameof").PathHandlers<{
578
+ $path: (path: import("easy-tsnameof").PathKey[]) => string;
579
+ $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
580
+ toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
581
+ valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
582
+ [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
583
+ }>;
577
584
  value: import("easy-tsnameof").PathHandlers<{
578
585
  $path: (path: import("easy-tsnameof").PathKey[]) => string;
579
586
  $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
@@ -837,13 +844,6 @@ export declare class BirthDate extends AbstractComplexValue implements IBirthDat
837
844
  valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
838
845
  [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
839
846
  }>;
840
- toJSON: import("easy-tsnameof").PathHandlers<{
841
- $path: (path: import("easy-tsnameof").PathKey[]) => string;
842
- $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
843
- toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
844
- valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
845
- [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
846
- }>;
847
847
  } & import("easy-tsnameof").PathHandlers<{
848
848
  $path: (path: import("easy-tsnameof").PathKey[]) => string;
849
849
  $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
@@ -1,3 +1,10 @@
1
- import { AbstractDay } from "../dates/AbstractDay";
2
- export declare class BirthDay extends AbstractDay {
1
+ import { AbstractDay, AbstractDayJSON, IAbstractDay } from "../dates";
2
+ export interface BirthDayJSON extends AbstractDayJSON {
3
+ "@type": "BirthDay";
4
+ }
5
+ export interface IBirthDay extends IAbstractDay {
6
+ }
7
+ export declare class BirthDay extends AbstractDay implements IBirthDay {
8
+ static from(value: IBirthDay | BirthDayJSON | number): BirthDay;
9
+ toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): BirthDayJSON;
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.BirthDay = void 0;
10
10
  const ts_serval_1 = require("@js-soft/ts-serval");
11
- const AbstractDay_1 = require("../dates/AbstractDay");
12
- let BirthDay = class BirthDay extends AbstractDay_1.AbstractDay {
11
+ const dates_1 = require("../dates");
12
+ let BirthDay = class BirthDay extends dates_1.AbstractDay {
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
  BirthDay = __decorate([
15
21
  (0, ts_serval_1.type)("BirthDay")
@@ -1 +1 @@
1
- {"version":3,"file":"BirthDay.js","sourceRoot":"","sources":["../../../../src/attributes/types/birth/BirthDay.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,sDAAkD;AAGlD,IAAa,QAAQ,GAArB,MAAa,QAAS,SAAQ,yBAAW;CAAG,CAAA;AAA/B,QAAQ;IADpB,IAAA,gBAAI,EAAC,UAAU,CAAC;GACJ,QAAQ,CAAuB;AAA/B,4BAAQ"}
1
+ {"version":3,"file":"BirthDay.js","sourceRoot":"","sources":["../../../../src/attributes/types/birth/BirthDay.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,oCAAqE;AASrE,IAAa,QAAQ,GAArB,MAAa,QAAS,SAAQ,mBAAW;IAC9B,MAAM,CAAC,IAAI,CAAC,KAAwC;QACvD,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEe,MAAM,CAAC,OAA6B,EAAE,iBAAuC;QACzF,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,iBAAiB,CAAiB,CAAA;IACnE,CAAC;CACJ,CAAA;AARY,QAAQ;IADpB,IAAA,gBAAI,EAAC,UAAU,CAAC;GACJ,QAAQ,CAQpB;AARY,4BAAQ"}
@@ -1,5 +1,12 @@
1
1
  import { ValueHints } from "../../hints/ValueHints";
2
- import { AbstractMonth } from "../dates/AbstractMonth";
3
- export declare class BirthMonth extends AbstractMonth {
2
+ import { AbstractMonth, AbstractMonthJSON, IAbstractMonth } from "../dates/AbstractMonth";
3
+ export interface BirthMonthJSON extends AbstractMonthJSON {
4
+ "@type": "BirthMonth";
5
+ }
6
+ export interface IBirthMonth extends IAbstractMonth {
7
+ }
8
+ export declare class BirthMonth extends AbstractMonth implements IAbstractMonth {
4
9
  static get valueHints(): ValueHints;
10
+ static from(value: IBirthMonth | BirthMonthJSON | number): BirthMonth;
11
+ toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): BirthMonthJSON;
5
12
  }
@@ -15,6 +15,12 @@ let BirthMonth = class BirthMonth extends AbstractMonth_1.AbstractMonth {
15
15
  editHelp: "i18n://yourBirthMonth"
16
16
  });
17
17
  }
18
+ static from(value) {
19
+ return this.fromAny(value);
20
+ }
21
+ toJSON(verbose, serializeAsString) {
22
+ return super.toJSON(verbose, serializeAsString);
23
+ }
18
24
  };
19
25
  BirthMonth = __decorate([
20
26
  (0, ts_serval_1.type)("BirthMonth")
@@ -1 +1 @@
1
- {"version":3,"file":"BirthMonth.js","sourceRoot":"","sources":["../../../../src/attributes/types/birth/BirthMonth.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AAEzC,0DAAsD;AAGtD,IAAa,UAAU,GAAvB,MAAa,UAAW,SAAQ,6BAAa;IAClC,MAAM,KAAc,UAAU;QACjC,OAAO,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC;YAC7B,QAAQ,EAAE,uBAAuB;SACpC,CAAC,CAAA;IACN,CAAC;CACJ,CAAA;AANY,UAAU;IADtB,IAAA,gBAAI,EAAC,YAAY,CAAC;GACN,UAAU,CAMtB;AANY,gCAAU"}
1
+ {"version":3,"file":"BirthMonth.js","sourceRoot":"","sources":["../../../../src/attributes/types/birth/BirthMonth.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AAEzC,0DAAyF;AASzF,IAAa,UAAU,GAAvB,MAAa,UAAW,SAAQ,6BAAa;IAClC,MAAM,KAAc,UAAU;QACjC,OAAO,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC;YAC7B,QAAQ,EAAE,uBAAuB;SACpC,CAAC,CAAA;IACN,CAAC;IAEM,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,CAAmB,CAAA;IACrE,CAAC;CACJ,CAAA;AAdY,UAAU;IADtB,IAAA,gBAAI,EAAC,YAAY,CAAC;GACN,UAAU,CActB;AAdY,gCAAU"}
@@ -18,6 +18,13 @@ export interface IBirthPlace extends IAbstractComplexValue {
18
18
  export declare class BirthPlace extends AbstractComplexValue implements IBirthPlace {
19
19
  static readonly propertyNames: {
20
20
  city: {
21
+ toJSON: import("easy-tsnameof").PathHandlers<{
22
+ $path: (path: import("easy-tsnameof").PathKey[]) => string;
23
+ $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
24
+ toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
25
+ valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
26
+ [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
27
+ }>;
21
28
  value: import("easy-tsnameof").PathHandlers<{
22
29
  $path: (path: import("easy-tsnameof").PathKey[]) => string;
23
30
  $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
@@ -281,13 +288,6 @@ export declare class BirthPlace extends AbstractComplexValue implements IBirthPl
281
288
  valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
282
289
  [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
283
290
  }>;
284
- toJSON: import("easy-tsnameof").PathHandlers<{
285
- $path: (path: import("easy-tsnameof").PathKey[]) => string;
286
- $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
287
- toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
288
- valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
289
- [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
290
- }>;
291
291
  } & import("easy-tsnameof").PathHandlers<{
292
292
  $path: (path: import("easy-tsnameof").PathKey[]) => string;
293
293
  $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
@@ -296,6 +296,13 @@ export declare class BirthPlace extends AbstractComplexValue implements IBirthPl
296
296
  [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
297
297
  }>;
298
298
  country: {
299
+ toJSON: import("easy-tsnameof").PathHandlers<{
300
+ $path: (path: import("easy-tsnameof").PathKey[]) => string;
301
+ $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
302
+ toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
303
+ valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
304
+ [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
305
+ }>;
299
306
  value: import("easy-tsnameof").PathHandlers<{
300
307
  $path: (path: import("easy-tsnameof").PathKey[]) => string;
301
308
  $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
@@ -559,13 +566,6 @@ export declare class BirthPlace extends AbstractComplexValue implements IBirthPl
559
566
  valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
560
567
  [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
561
568
  }>;
562
- toJSON: import("easy-tsnameof").PathHandlers<{
563
- $path: (path: import("easy-tsnameof").PathKey[]) => string;
564
- $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
565
- toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
566
- valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
567
- [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
568
- }>;
569
569
  } & import("easy-tsnameof").PathHandlers<{
570
570
  $path: (path: import("easy-tsnameof").PathKey[]) => string;
571
571
  $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
@@ -574,6 +574,13 @@ export declare class BirthPlace extends AbstractComplexValue implements IBirthPl
574
574
  [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
575
575
  }>;
576
576
  state: {
577
+ toJSON: import("easy-tsnameof").PathHandlers<{
578
+ $path: (path: import("easy-tsnameof").PathKey[]) => string;
579
+ $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
580
+ toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
581
+ valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
582
+ [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
583
+ }>;
577
584
  value: import("easy-tsnameof").PathHandlers<{
578
585
  $path: (path: import("easy-tsnameof").PathKey[]) => string;
579
586
  $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
@@ -837,13 +844,6 @@ export declare class BirthPlace extends AbstractComplexValue implements IBirthPl
837
844
  valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
838
845
  [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
839
846
  }>;
840
- toJSON: import("easy-tsnameof").PathHandlers<{
841
- $path: (path: import("easy-tsnameof").PathKey[]) => string;
842
- $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
843
- toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
844
- valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
845
- [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
846
- }>;
847
847
  } & import("easy-tsnameof").PathHandlers<{
848
848
  $path: (path: import("easy-tsnameof").PathKey[]) => string;
849
849
  $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
@@ -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 | BirthStateJSON | 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;AASrD,IAAa,UAAU,GAAvB,MAAa,UAAW,SAAQ,eAAK;IAC1B,MAAM,CAAU,IAAI,CAAC,KAA4C;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,CAAmB,CAAA;IACrE,CAAC;CACJ,CAAA;AARY,UAAU;IADtB,IAAA,gBAAI,EAAC,YAAY,CAAC;GACN,UAAU,CAQtB;AARY,gCAAU"}
@@ -1,3 +1,11 @@
1
- import { AbstractYear } from "../dates/AbstractYear";
2
- export declare class BirthYear extends AbstractYear {
1
+ import { IAbstractInteger, IAbstractIntegerJSON } from "../AbstractInteger";
2
+ import { AbstractYear } from "../dates";
3
+ export interface BirthYearJSON extends IAbstractIntegerJSON {
4
+ "@type": "BirthYear";
5
+ }
6
+ export interface IBirthYear extends IAbstractInteger {
7
+ }
8
+ export declare class BirthYear extends AbstractYear implements IBirthYear {
9
+ static from(value: IBirthYear | BirthYearJSON | number): BirthYear;
10
+ toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): BirthYearJSON;
3
11
  }
@@ -8,8 +8,14 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
9
  exports.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;AAEzC,oCAAuC;AASvC,IAAa,SAAS,GAAtB,MAAa,SAAU,SAAQ,oBAAY;IAChC,MAAM,CAAC,IAAI,CAAC,KAA0C;QACzD,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEe,MAAM,CAAC,OAA6B,EAAE,iBAAuC;QACzF,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,iBAAiB,CAAkB,CAAA;IACpE,CAAC;CACJ,CAAA;AARY,SAAS;IADrB,IAAA,gBAAI,EAAC,WAAW,CAAC;GACL,SAAS,CAQrB;AARY,8BAAS"}
@@ -1,3 +1,11 @@
1
+ import { IAbstractString, IAbstractStringJSON } from "../AbstractString";
1
2
  import { AbstractLanguage } from "../strings/AbstractLanguage";
2
- export declare class CommunicationLanguage extends AbstractLanguage {
3
+ export interface CommunicationLanguageJSON extends IAbstractStringJSON {
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 | CommunicationLanguageJSON | string): CommunicationLanguage;
10
+ toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): CommunicationLanguageJSON;
3
11
  }