@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
@@ -9,17 +9,76 @@ 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.RelationshipAttributeQuery = void 0;
12
+ exports.RelationshipAttributeQuery = exports.RelationshipAttributeCreationHints = void 0;
13
13
  const ts_serval_1 = require("@js-soft/ts-serval");
14
14
  const transport_1 = require("@nmshd/transport");
15
15
  const AbstractAttributeQuery_1 = require("./AbstractAttributeQuery");
16
- const RelationshipAttributeCreationHints_1 = require("./hints/RelationshipAttributeCreationHints");
16
+ const AttributeValueTypes_1 = require("./AttributeValueTypes");
17
+ const hints_1 = require("./hints");
18
+ const RelationshipAttributeConfidentiality_1 = require("./RelationshipAttributeConfidentiality");
19
+ /**
20
+ * AttributeHints are rendering hints with a `title` and a possible `description` set.
21
+ * They are primarily used within `RelationshipAttributeQuery` to define the metadata of
22
+ * a proprietary Attribute, even without such an Attribute existent.
23
+ */
24
+ let RelationshipAttributeCreationHints = class RelationshipAttributeCreationHints extends ts_serval_1.Serializable {
25
+ static preFrom(value) {
26
+ if (typeof value.isTechnical === "undefined")
27
+ value.isTechnical = false;
28
+ return value;
29
+ }
30
+ static from(value) {
31
+ return this.fromAny(value);
32
+ }
33
+ };
34
+ __decorate([
35
+ (0, ts_serval_1.serialize)(),
36
+ (0, ts_serval_1.validate)(),
37
+ __metadata("design:type", String)
38
+ ], RelationshipAttributeCreationHints.prototype, "title", void 0);
39
+ __decorate([
40
+ (0, ts_serval_1.serialize)(),
41
+ (0, ts_serval_1.validate)({
42
+ customValidator: (v) => !AttributeValueTypes_1.AttributeValues.Relationship.TYPE_NAMES.includes(v)
43
+ ? `must be one of: ${AttributeValueTypes_1.AttributeValues.Relationship.TYPE_NAMES_STRINGIFIED}`
44
+ : undefined
45
+ }),
46
+ __metadata("design:type", String)
47
+ ], RelationshipAttributeCreationHints.prototype, "valueType", void 0);
48
+ __decorate([
49
+ (0, ts_serval_1.serialize)(),
50
+ (0, ts_serval_1.validate)({ nullable: true }),
51
+ __metadata("design:type", String)
52
+ ], RelationshipAttributeCreationHints.prototype, "description", void 0);
53
+ __decorate([
54
+ (0, ts_serval_1.serialize)(),
55
+ (0, ts_serval_1.validate)({ nullable: true }),
56
+ __metadata("design:type", hints_1.ValueHints)
57
+ ], RelationshipAttributeCreationHints.prototype, "valueHints", void 0);
58
+ __decorate([
59
+ (0, ts_serval_1.serialize)(),
60
+ (0, ts_serval_1.validate)({ nullable: true }),
61
+ __metadata("design:type", Boolean)
62
+ ], RelationshipAttributeCreationHints.prototype, "isTechnical", void 0);
63
+ __decorate([
64
+ (0, ts_serval_1.serialize)(),
65
+ (0, ts_serval_1.validate)({
66
+ customValidator: (v) => !Object.values(RelationshipAttributeConfidentiality_1.RelationshipAttributeConfidentiality).includes(v)
67
+ ? `must be one of: ${Object.values(RelationshipAttributeConfidentiality_1.RelationshipAttributeConfidentiality)}`
68
+ : undefined
69
+ }),
70
+ __metadata("design:type", String)
71
+ ], RelationshipAttributeCreationHints.prototype, "confidentiality", void 0);
72
+ RelationshipAttributeCreationHints = __decorate([
73
+ (0, ts_serval_1.type)("RelationshipAttributeCreationHints")
74
+ ], RelationshipAttributeCreationHints);
75
+ exports.RelationshipAttributeCreationHints = RelationshipAttributeCreationHints;
17
76
  let RelationshipAttributeQuery = class RelationshipAttributeQuery extends AbstractAttributeQuery_1.AbstractAttributeQuery {
18
77
  static from(value) {
19
78
  return this.fromAny(value);
20
79
  }
21
- toJSON() {
22
- return super.toJSON();
80
+ toJSON(verbose, serializeAsString) {
81
+ return super.toJSON(verbose, serializeAsString);
23
82
  }
24
83
  };
25
84
  __decorate([
@@ -35,7 +94,7 @@ __decorate([
35
94
  __decorate([
36
95
  (0, ts_serval_1.serialize)(),
37
96
  (0, ts_serval_1.validate)(),
38
- __metadata("design:type", RelationshipAttributeCreationHints_1.RelationshipAttributeCreationHints)
97
+ __metadata("design:type", RelationshipAttributeCreationHints)
39
98
  ], RelationshipAttributeQuery.prototype, "attributeCreationHints", void 0);
40
99
  RelationshipAttributeQuery = __decorate([
41
100
  (0, ts_serval_1.type)("RelationshipAttributeQuery")
@@ -1 +1 @@
1
- {"version":3,"file":"RelationshipAttributeQuery.js","sourceRoot":"","sources":["../../src/attributes/RelationshipAttributeQuery.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,gDAA4D;AAC5D,qEAAsH;AACtH,mGAImD;AAgBnD,IAAa,0BAA0B,GAAvC,MAAa,0BAA2B,SAAQ,+CAAsB;IAa3D,MAAM,CAAC,IAAI,CACd,KAAmE;QAEnE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEe,MAAM;QAClB,OAAO,KAAK,CAAC,MAAM,EAAoC,CAAA;IAC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8BACoB,kCAAkC;0EAAA;AAXxD,0BAA0B;IADtC,IAAA,gBAAI,EAAC,4BAA4B,CAAC;GACtB,0BAA0B,CAyBtC;AAzBY,gEAA0B"}
@@ -16,5 +16,5 @@ export declare class ThirdPartyRelationshipAttributeQuery extends AbstractAttrib
16
16
  owner: CoreAddress;
17
17
  thirdParty: CoreAddress;
18
18
  static from(value: IThirdPartyRelationshipAttributeQuery | ThirdPartyRelationshipAttributeQueryJSON): ThirdPartyRelationshipAttributeQuery;
19
- toJSON(): ThirdPartyRelationshipAttributeQueryJSON;
19
+ toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): ThirdPartyRelationshipAttributeQueryJSON;
20
20
  }
@@ -17,8 +17,8 @@ let ThirdPartyRelationshipAttributeQuery = class ThirdPartyRelationshipAttribute
17
17
  static from(value) {
18
18
  return this.fromAny(value);
19
19
  }
20
- toJSON() {
21
- return super.toJSON();
20
+ toJSON(verbose, serializeAsString) {
21
+ return super.toJSON(verbose, serializeAsString);
22
22
  }
23
23
  };
24
24
  __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"ThirdPartyRelationshipAttributeQuery.js","sourceRoot":"","sources":["../../src/attributes/ThirdPartyRelationshipAttributeQuery.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,gDAA4D;AAC5D,qEAAsH;AAgBtH,IAAa,oCAAoC,GAAjD,MAAa,oCACT,SAAQ,+CAAsB;IAevB,MAAM,CAAC,IAAI,CACd,KAAuF;QAEvF,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEe,MAAM;QAClB,OAAO,KAAK,CAAC,MAAM,EAA8C,CAAA;IACrE,CAAC;CACJ,CAAA;AAnBG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;iEACO;AAIlB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;8BACG,uBAAW;mEAAA;AAIzB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;8BACQ,uBAAW;wEAAA;AAdrB,oCAAoC;IADhD,IAAA,gBAAI,EAAC,sCAAsC,CAAC;GAChC,oCAAoC,CAyBhD;AAzBY,oFAAoC"}
1
+ {"version":3,"file":"ThirdPartyRelationshipAttributeQuery.js","sourceRoot":"","sources":["../../src/attributes/ThirdPartyRelationshipAttributeQuery.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,gDAA4D;AAC5D,qEAAsH;AAgBtH,IAAa,oCAAoC,GAAjD,MAAa,oCACT,SAAQ,+CAAsB;IAevB,MAAM,CAAC,IAAI,CACd,KAAuF;QAEvF,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,CAA6C,CAAA;IAC/F,CAAC;CACJ,CAAA;AAtBG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;iEACO;AAIlB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;8BACG,uBAAW;mEAAA;AAIzB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;8BACQ,uBAAW;wEAAA;AAdrB,oCAAoC;IADhD,IAAA,gBAAI,EAAC,sCAAsC,CAAC;GAChC,oCAAoC,CA4BhD;AA5BY,oFAAoC"}
@@ -1,4 +1,3 @@
1
1
  export * from "./AttributeValueTypeQueryMapping";
2
- export * from "./AttributeValueTypes";
3
2
  export * from "./CountriesAlpha2";
4
3
  export * from "./LanguagesISO639";
@@ -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("./AttributeValueTypeQueryMapping"), exports);
18
- __exportStar(require("./AttributeValueTypes"), exports);
19
18
  __exportStar(require("./CountriesAlpha2"), exports);
20
19
  __exportStar(require("./LanguagesISO639"), exports);
21
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/attributes/constants/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mEAAgD;AAChD,wDAAqC;AACrC,oDAAiC;AACjC,oDAAiC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/attributes/constants/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mEAAgD;AAChD,oDAAiC;AACjC,oDAAiC"}
@@ -25,7 +25,7 @@ export declare class RenderHints extends Serializable implements IRenderHints {
25
25
  editType: RenderHintsEditType;
26
26
  dataType?: RenderHintsDataType;
27
27
  propertyHints: Record<string, RenderHints>;
28
- static from(value: IRenderHints): RenderHints;
28
+ static from(value: IRenderHints | RenderHintsJSON): RenderHints;
29
29
  static postFrom<T extends Serializable>(value: T): T;
30
30
  toJSON(): RenderHintsJSON;
31
31
  copyWith(override?: Partial<IRenderHintsOverride | RenderHintsOverrideJSON | RenderHintsOverride>): RenderHints;
@@ -1 +1 @@
1
- {"version":3,"file":"RenderHints.js","sourceRoot":"","sources":["../../../src/attributes/hints/RenderHints.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,kDAA2F;AAE3F,+DAA2D;AAC3D,+DAA2D;AAC3D,yEAAqE;AAqBrE,SAAS,wBAAwB,CAAC,KAAwC;IACtE,IAAI,OAAO,KAAK,CAAC,aAAa,KAAK,WAAW;QAAE,OAAM;IAEtD,KAAK,CAAC,aAAa,GAAG,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,aAAa,CAAC;SACpD,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE;QACP,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CA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CAAA;IAChB,CAAC;IAEe,MAAM;QAClB,MAAM,IAAI,GAAG,KAAK,CAAC,MAAM,EAA6B,CAAA;QAEtD,sBAAsB,CAAC,IAAI,EAAE,IAAI,CAAC,CAAA;QAClC,OAAO,IAAI,CAAA;IACf,CAAC;CACJ,CAAA;AA7BG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0DACkB;AAI/C;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qDACQ;AAIrC;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qDACQ;AAIrC;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0DACqB;AAfzC,mBAAmB;IAD/B,IAAA,gBAAI,EAAC,qBAAqB,CAAC;GACf,mBAAmB,CAgC/B;AAhCY,kDAAmB"}
@@ -1,4 +1,3 @@
1
- export * from "./RelationshipAttributeCreationHints";
2
1
  export * from "./RenderHints";
3
2
  export * from "./RenderHintsDataType";
4
3
  export * from "./RenderHintsEditType";
@@ -14,7 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./RelationshipAttributeCreationHints"), exports);
18
17
  __exportStar(require("./RenderHints"), exports);
19
18
  __exportStar(require("./RenderHintsDataType"), exports);
20
19
  __exportStar(require("./RenderHintsEditType"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/attributes/hints/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uEAAoD;AACpD,gDAA6B;AAC7B,wDAAqC;AACrC,wDAAqC;AACrC,6DAA0C;AAC1C,+CAA4B;AAC5B,oDAAiC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/attributes/hints/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA6B;AAC7B,wDAAqC;AACrC,wDAAqC;AACrC,6DAA0C;AAC1C,+CAA4B;AAC5B,oDAAiC"}
@@ -3,11 +3,13 @@ export * from "./AbstractAttributeQuery";
3
3
  export * from "./AbstractAttributeValue";
4
4
  export * from "./AbstractComplexValue";
5
5
  export * from "./Attribute";
6
+ export * from "./AttributeValueTypes";
6
7
  export * from "./constants";
7
8
  export * from "./hints";
8
9
  export * from "./IdentityAttribute";
9
10
  export * from "./IdentityAttributeQuery";
10
11
  export * from "./RelationshipAttribute";
12
+ export * from "./RelationshipAttributeConfidentiality";
11
13
  export * from "./RelationshipAttributeQuery";
12
14
  export * from "./ThirdPartyRelationshipAttributeQuery";
13
15
  export * from "./types";
@@ -19,11 +19,13 @@ __exportStar(require("./AbstractAttributeQuery"), exports);
19
19
  __exportStar(require("./AbstractAttributeValue"), exports);
20
20
  __exportStar(require("./AbstractComplexValue"), exports);
21
21
  __exportStar(require("./Attribute"), exports);
22
+ __exportStar(require("./AttributeValueTypes"), exports);
22
23
  __exportStar(require("./constants"), exports);
23
24
  __exportStar(require("./hints"), exports);
24
25
  __exportStar(require("./IdentityAttribute"), exports);
25
26
  __exportStar(require("./IdentityAttributeQuery"), exports);
26
27
  __exportStar(require("./RelationshipAttribute"), exports);
28
+ __exportStar(require("./RelationshipAttributeConfidentiality"), exports);
27
29
  __exportStar(require("./RelationshipAttributeQuery"), exports);
28
30
  __exportStar(require("./ThirdPartyRelationshipAttributeQuery"), exports);
29
31
  __exportStar(require("./types"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/attributes/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAmC;AACnC,2DAAwC;AACxC,2DAAwC;AACxC,yDAAsC;AACtC,8CAA2B;AAC3B,8CAA2B;AAC3B,0CAAuB;AACvB,sDAAmC;AACnC,2DAAwC;AACxC,0DAAuC;AACvC,+DAA4C;AAC5C,yEAAsD;AACtD,0CAAuB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/attributes/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAmC;AACnC,2DAAwC;AACxC,2DAAwC;AACxC,yDAAsC;AACtC,8CAA2B;AAC3B,wDAAqC;AACrC,8CAA2B;AAC3B,0CAAuB;AACvB,sDAAmC;AACnC,2DAAwC;AACxC,0DAAuC;AACvC,yEAAsD;AACtD,+DAA4C;AAC5C,yEAAsD;AACtD,0CAAuB"}
@@ -13,5 +13,4 @@ export declare class AbstractInteger extends AbstractAttributeValue implements I
13
13
  toString(): string;
14
14
  static get valueHints(): ValueHints;
15
15
  static get renderHints(): RenderHints;
16
- static from(value: IAbstractInteger): AbstractInteger;
17
16
  }
@@ -31,9 +31,6 @@ class AbstractInteger extends AbstractAttributeValue_1.AbstractAttributeValue {
31
31
  technicalType: hints_1.RenderHintsTechnicalType.Integer
32
32
  });
33
33
  }
34
- static from(value) {
35
- return this.fromAny(value);
36
- }
37
34
  }
38
35
  __decorate([
39
36
  (0, ts_serval_1.serialize)(),
@@ -1 +1 @@
1
- {"version":3,"file":"AbstractInteger.js","sourceRoot":"","sources":["../../../src/attributes/types/AbstractInteger.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAwD;AACxD,sEAAuH;AACvH,oCAAiG;AAYjG,MAAa,eAAgB,SAAQ,+CAAsB;IAKhD,MAAM,CAAU,OAAO,CAAC,KAAU;QACrC,IAAI,OAAO,KAAK,KAAK,QAAQ;YAAE,KAAK,GAAG,EAAE,KAAK,EAAE,CAAA;QAChD,OAAO,KAAK,CAAA;IAChB,CAAC;IAEe,QAAQ;QACpB,OAAO,GAA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,QAAQ,EAAE,2BAAmB,CAAC,UAAU;YACxC,aAAa,EAAE,gCAAwB,CAAC,OAAO;SAClD,CAAC,CAAA;IACN,CAAC;CACJ;AArBG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,eAAe,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE,CAAC;;8CAC5E;AAHxB,0CAwBC"}
@@ -1,3 +1,9 @@
1
- import { AbstractString } from "../AbstractString";
2
- export declare class City extends AbstractString {
1
+ import { AbstractString, IAbstractString, IAbstractStringJSON } from "../AbstractString";
2
+ export interface CityJSON extends IAbstractStringJSON {
3
+ "@type": "City";
4
+ }
5
+ export interface ICity extends IAbstractString {
6
+ }
7
+ export declare class City extends AbstractString implements ICity {
8
+ static from(value: ICity | CityJSON | string): City;
3
9
  }
@@ -10,6 +10,9 @@ exports.City = void 0;
10
10
  const ts_serval_1 = require("@js-soft/ts-serval");
11
11
  const AbstractString_1 = require("../AbstractString");
12
12
  let City = class City extends AbstractString_1.AbstractString {
13
+ static from(value) {
14
+ return this.fromAny(value);
15
+ }
13
16
  };
14
17
  City = __decorate([
15
18
  (0, ts_serval_1.type)("City")
@@ -1 +1 @@
1
- {"version":3,"file":"City.js","sourceRoot":"","sources":["../../../../src/attributes/types/address/City.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,sDAAkD;AAGlD,IAAa,IAAI,GAAjB,MAAa,IAAK,SAAQ,+BAAc;CAAG,CAAA;AAA9B,IAAI;IADhB,IAAA,gBAAI,EAAC,MAAM,CAAC;GACA,IAAI,CAA0B;AAA9B,oBAAI"}
1
+ {"version":3,"file":"City.js","sourceRoot":"","sources":["../../../../src/attributes/types/address/City.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,sDAAwF;AASxF,IAAa,IAAI,GAAjB,MAAa,IAAK,SAAQ,+BAAc;IAC7B,MAAM,CAAC,IAAI,CAAC,KAAgC;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAA;AAJY,IAAI;IADhB,IAAA,gBAAI,EAAC,MAAM,CAAC;GACA,IAAI,CAIhB;AAJY,oBAAI"}
@@ -1,3 +1,10 @@
1
- import { AbstractCountry } from "../strings/AbstractCountry";
2
- export declare class Country extends AbstractCountry {
1
+ import { IAbstractString, IAbstractStringJSON } from "../AbstractString";
2
+ import { AbstractCountry } from "../strings";
3
+ export interface CountryJSON extends IAbstractStringJSON {
4
+ "@type": "Country";
5
+ }
6
+ export interface ICountry extends IAbstractString {
7
+ }
8
+ export declare class Country extends AbstractCountry implements ICountry {
9
+ static from(value: ICountry | CountryJSON | string): Country;
3
10
  }
@@ -8,8 +8,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
9
  exports.Country = void 0;
10
10
  const ts_serval_1 = require("@js-soft/ts-serval");
11
- const AbstractCountry_1 = require("../strings/AbstractCountry");
12
- let Country = class Country extends AbstractCountry_1.AbstractCountry {
11
+ const strings_1 = require("../strings");
12
+ let Country = class Country extends strings_1.AbstractCountry {
13
+ static from(value) {
14
+ return this.fromAny(value);
15
+ }
13
16
  };
14
17
  Country = __decorate([
15
18
  (0, ts_serval_1.type)("Country")
@@ -1 +1 @@
1
- {"version":3,"file":"Country.js","sourceRoot":"","sources":["../../../../src/attributes/types/address/Country.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,gEAA4D;AAG5D,IAAa,OAAO,GAApB,MAAa,OAAQ,SAAQ,iCAAe;CAAG,CAAA;AAAlC,OAAO;IADnB,IAAA,gBAAI,EAAC,SAAS,CAAC;GACH,OAAO,CAA2B;AAAlC,0BAAO"}
1
+ {"version":3,"file":"Country.js","sourceRoot":"","sources":["../../../../src/attributes/types/address/Country.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AAEzC,wCAA4C;AAS5C,IAAa,OAAO,GAApB,MAAa,OAAQ,SAAQ,yBAAe;IACjC,MAAM,CAAC,IAAI,CAAC,KAAsC;QACrD,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAA;AAJY,OAAO;IADnB,IAAA,gBAAI,EAAC,SAAS,CAAC;GACH,OAAO,CAInB;AAJY,0BAAO"}
@@ -42,6 +42,13 @@ export declare class DeliveryBoxAddress extends AbstractAddress implements IDeli
42
42
  [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
43
43
  }>;
44
44
  zipCode: {
45
+ toJSON: import("easy-tsnameof").PathHandlers<{
46
+ $path: (path: import("easy-tsnameof").PathKey[]) => string;
47
+ $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
48
+ toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
49
+ valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
50
+ [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
51
+ }>;
45
52
  value: import("easy-tsnameof").PathHandlers<{
46
53
  $path: (path: import("easy-tsnameof").PathKey[]) => string;
47
54
  $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
@@ -305,13 +312,6 @@ export declare class DeliveryBoxAddress extends AbstractAddress implements IDeli
305
312
  valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
306
313
  [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
307
314
  }>;
308
- toJSON: import("easy-tsnameof").PathHandlers<{
309
- $path: (path: import("easy-tsnameof").PathKey[]) => string;
310
- $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
311
- toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
312
- valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
313
- [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
314
- }>;
315
315
  } & import("easy-tsnameof").PathHandlers<{
316
316
  $path: (path: import("easy-tsnameof").PathKey[]) => string;
317
317
  $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
@@ -876,6 +876,13 @@ export declare class DeliveryBoxAddress extends AbstractAddress implements IDeli
876
876
  [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
877
877
  }>;
878
878
  phoneNumber: {
879
+ toJSON: import("easy-tsnameof").PathHandlers<{
880
+ $path: (path: import("easy-tsnameof").PathKey[]) => string;
881
+ $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
882
+ toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
883
+ valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
884
+ [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
885
+ }>;
879
886
  value: import("easy-tsnameof").PathHandlers<{
880
887
  $path: (path: import("easy-tsnameof").PathKey[]) => string;
881
888
  $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
@@ -1139,13 +1146,6 @@ export declare class DeliveryBoxAddress extends AbstractAddress implements IDeli
1139
1146
  valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
1140
1147
  [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
1141
1148
  }>;
1142
- toJSON: import("easy-tsnameof").PathHandlers<{
1143
- $path: (path: import("easy-tsnameof").PathKey[]) => string;
1144
- $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
1145
- toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
1146
- valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
1147
- [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
1148
- }>;
1149
1149
  } & import("easy-tsnameof").PathHandlers<{
1150
1150
  $path: (path: import("easy-tsnameof").PathKey[]) => string;
1151
1151
  $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
@@ -1,3 +1,10 @@
1
- import { AbstractString } from "../AbstractString";
2
- export declare class HouseNumber extends AbstractString {
1
+ import { AbstractString, IAbstractString, IAbstractStringJSON } from "../AbstractString";
2
+ export interface HouseNumberJSON extends IAbstractStringJSON {
3
+ "@type": "HouseNumber";
4
+ }
5
+ export interface IHouseNumber extends IAbstractString {
6
+ }
7
+ export declare class HouseNumber extends AbstractString implements IHouseNumber {
8
+ static from(value: IHouseNumber | HouseNumberJSON | string): HouseNumber;
9
+ toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): HouseNumberJSON;
3
10
  }
@@ -10,6 +10,12 @@ exports.HouseNumber = void 0;
10
10
  const ts_serval_1 = require("@js-soft/ts-serval");
11
11
  const AbstractString_1 = require("../AbstractString");
12
12
  let HouseNumber = class HouseNumber 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
  HouseNumber = __decorate([
15
21
  (0, ts_serval_1.type)("HouseNumber")
@@ -1 +1 @@
1
- {"version":3,"file":"HouseNumber.js","sourceRoot":"","sources":["../../../../src/attributes/types/address/HouseNumber.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,sDAAkD;AAGlD,IAAa,WAAW,GAAxB,MAAa,WAAY,SAAQ,+BAAc;CAAG,CAAA;AAArC,WAAW;IADvB,IAAA,gBAAI,EAAC,aAAa,CAAC;GACP,WAAW,CAA0B;AAArC,kCAAW"}
1
+ {"version":3,"file":"HouseNumber.js","sourceRoot":"","sources":["../../../../src/attributes/types/address/HouseNumber.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,sDAAwF;AASxF,IAAa,WAAW,GAAxB,MAAa,WAAY,SAAQ,+BAAc;IACpC,MAAM,CAAC,IAAI,CAAC,KAA8C;QAC7D,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEe,MAAM,CAAC,OAA6B,EAAE,iBAAuC;QACzF,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,iBAAiB,CAAoB,CAAA;IACtE,CAAC;CACJ,CAAA;AARY,WAAW;IADvB,IAAA,gBAAI,EAAC,aAAa,CAAC;GACP,WAAW,CAQvB;AARY,kCAAW"}
@@ -30,6 +30,13 @@ export declare class PostOfficeBoxAddress extends AbstractAddress implements IPo
30
30
  [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
31
31
  }>;
32
32
  zipCode: {
33
+ toJSON: import("easy-tsnameof").PathHandlers<{
34
+ $path: (path: import("easy-tsnameof").PathKey[]) => string;
35
+ $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
36
+ toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
37
+ valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
38
+ [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
39
+ }>;
33
40
  value: import("easy-tsnameof").PathHandlers<{
34
41
  $path: (path: import("easy-tsnameof").PathKey[]) => string;
35
42
  $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
@@ -293,13 +300,6 @@ export declare class PostOfficeBoxAddress extends AbstractAddress implements IPo
293
300
  valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
294
301
  [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
295
302
  }>;
296
- toJSON: import("easy-tsnameof").PathHandlers<{
297
- $path: (path: import("easy-tsnameof").PathKey[]) => string;
298
- $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
299
- toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
300
- valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
301
- [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
302
- }>;
303
303
  } & import("easy-tsnameof").PathHandlers<{
304
304
  $path: (path: import("easy-tsnameof").PathKey[]) => string;
305
305
  $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
@@ -1,3 +1,9 @@
1
- import { AbstractString } from "../AbstractString";
2
- export declare class State extends AbstractString {
1
+ import { AbstractString, IAbstractString, IAbstractStringJSON } from "../AbstractString";
2
+ export interface StateJSON extends IAbstractStringJSON {
3
+ "@type": "State";
4
+ }
5
+ export interface IState extends IAbstractString {
6
+ }
7
+ export declare class State extends AbstractString implements IState {
8
+ static from(value: IState | StateJSON | string): State;
3
9
  }
@@ -10,6 +10,9 @@ exports.State = void 0;
10
10
  const ts_serval_1 = require("@js-soft/ts-serval");
11
11
  const AbstractString_1 = require("../AbstractString");
12
12
  let State = class State extends AbstractString_1.AbstractString {
13
+ static from(value) {
14
+ return this.fromAny(value);
15
+ }
13
16
  };
14
17
  State = __decorate([
15
18
  (0, ts_serval_1.type)("State")
@@ -1 +1 @@
1
- {"version":3,"file":"State.js","sourceRoot":"","sources":["../../../../src/attributes/types/address/State.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,sDAAkD;AAGlD,IAAa,KAAK,GAAlB,MAAa,KAAM,SAAQ,+BAAc;CAAG,CAAA;AAA/B,KAAK;IADjB,IAAA,gBAAI,EAAC,OAAO,CAAC;GACD,KAAK,CAA0B;AAA/B,sBAAK"}
1
+ {"version":3,"file":"State.js","sourceRoot":"","sources":["../../../../src/attributes/types/address/State.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,sDAAwF;AASxF,IAAa,KAAK,GAAlB,MAAa,KAAM,SAAQ,+BAAc;IAC9B,MAAM,CAAC,IAAI,CAAC,KAAkC;QACjD,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAA;AAJY,KAAK;IADjB,IAAA,gBAAI,EAAC,OAAO,CAAC;GACD,KAAK,CAIjB;AAJY,sBAAK"}
@@ -1,3 +1,10 @@
1
- import { AbstractString } from "../AbstractString";
2
- export declare class Street extends AbstractString {
1
+ import { AbstractString, IAbstractString, IAbstractStringJSON } from "../AbstractString";
2
+ export interface StreetJSON extends IAbstractStringJSON {
3
+ "@type": "Street";
4
+ }
5
+ export interface IStreet extends IAbstractString {
6
+ }
7
+ export declare class Street extends AbstractString implements IStreet {
8
+ static from(value: IStreet | StreetJSON | string): Street;
9
+ toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): StreetJSON;
3
10
  }
@@ -10,6 +10,12 @@ exports.Street = void 0;
10
10
  const ts_serval_1 = require("@js-soft/ts-serval");
11
11
  const AbstractString_1 = require("../AbstractString");
12
12
  let Street = class Street 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
  Street = __decorate([
15
21
  (0, ts_serval_1.type)("Street")
@@ -1 +1 @@
1
- {"version":3,"file":"Street.js","sourceRoot":"","sources":["../../../../src/attributes/types/address/Street.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,sDAAkD;AAGlD,IAAa,MAAM,GAAnB,MAAa,MAAO,SAAQ,+BAAc;CAAG,CAAA;AAAhC,MAAM;IADlB,IAAA,gBAAI,EAAC,QAAQ,CAAC;GACF,MAAM,CAA0B;AAAhC,wBAAM"}
1
+ {"version":3,"file":"Street.js","sourceRoot":"","sources":["../../../../src/attributes/types/address/Street.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,sDAAwF;AASxF,IAAa,MAAM,GAAnB,MAAa,MAAO,SAAQ,+BAAc;IAC/B,MAAM,CAAC,IAAI,CAAC,KAAoC;QACnD,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,CAAe,CAAA;IACjE,CAAC;CACJ,CAAA;AARY,MAAM;IADlB,IAAA,gBAAI,EAAC,QAAQ,CAAC;GACF,MAAM,CAQlB;AARY,wBAAM"}
@@ -27,6 +27,13 @@ export interface IStreetAddress extends IAbstractAddress {
27
27
  export declare class StreetAddress extends AbstractAddress implements IStreetAddress {
28
28
  static readonly propertyNames: {
29
29
  street: {
30
+ toJSON: import("easy-tsnameof").PathHandlers<{
31
+ $path: (path: import("easy-tsnameof").PathKey[]) => string;
32
+ $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
33
+ toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
34
+ valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
35
+ [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
36
+ }>;
30
37
  value: import("easy-tsnameof").PathHandlers<{
31
38
  $path: (path: import("easy-tsnameof").PathKey[]) => string;
32
39
  $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
@@ -290,13 +297,6 @@ export declare class StreetAddress extends AbstractAddress implements IStreetAdd
290
297
  valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
291
298
  [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
292
299
  }>;
293
- toJSON: import("easy-tsnameof").PathHandlers<{
294
- $path: (path: import("easy-tsnameof").PathKey[]) => string;
295
- $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
296
- toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
297
- valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
298
- [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
299
- }>;
300
300
  } & import("easy-tsnameof").PathHandlers<{
301
301
  $path: (path: import("easy-tsnameof").PathKey[]) => string;
302
302
  $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
@@ -305,6 +305,13 @@ export declare class StreetAddress extends AbstractAddress implements IStreetAdd
305
305
  [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
306
306
  }>;
307
307
  houseNo: {
308
+ toJSON: import("easy-tsnameof").PathHandlers<{
309
+ $path: (path: import("easy-tsnameof").PathKey[]) => string;
310
+ $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
311
+ toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
312
+ valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
313
+ [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
314
+ }>;
308
315
  value: import("easy-tsnameof").PathHandlers<{
309
316
  $path: (path: import("easy-tsnameof").PathKey[]) => string;
310
317
  $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
@@ -568,13 +575,6 @@ export declare class StreetAddress extends AbstractAddress implements IStreetAdd
568
575
  valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
569
576
  [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
570
577
  }>;
571
- toJSON: import("easy-tsnameof").PathHandlers<{
572
- $path: (path: import("easy-tsnameof").PathKey[]) => string;
573
- $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
574
- toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
575
- valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
576
- [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
577
- }>;
578
578
  } & import("easy-tsnameof").PathHandlers<{
579
579
  $path: (path: import("easy-tsnameof").PathKey[]) => string;
580
580
  $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
@@ -583,6 +583,13 @@ export declare class StreetAddress extends AbstractAddress implements IStreetAdd
583
583
  [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
584
584
  }>;
585
585
  zipCode: {
586
+ toJSON: import("easy-tsnameof").PathHandlers<{
587
+ $path: (path: import("easy-tsnameof").PathKey[]) => string;
588
+ $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
589
+ toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
590
+ valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
591
+ [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
592
+ }>;
586
593
  value: import("easy-tsnameof").PathHandlers<{
587
594
  $path: (path: import("easy-tsnameof").PathKey[]) => string;
588
595
  $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
@@ -846,13 +853,6 @@ export declare class StreetAddress extends AbstractAddress implements IStreetAdd
846
853
  valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
847
854
  [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
848
855
  }>;
849
- toJSON: import("easy-tsnameof").PathHandlers<{
850
- $path: (path: import("easy-tsnameof").PathKey[]) => string;
851
- $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
852
- toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
853
- valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
854
- [Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
855
- }>;
856
856
  } & import("easy-tsnameof").PathHandlers<{
857
857
  $path: (path: import("easy-tsnameof").PathKey[]) => string;
858
858
  $rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
@@ -1,3 +1,10 @@
1
- import { AbstractString } from "../AbstractString";
2
- export declare class ZipCode extends AbstractString {
1
+ import { AbstractString, IAbstractString, IAbstractStringJSON } from "../AbstractString";
2
+ export interface ZipCodeJSON extends IAbstractStringJSON {
3
+ "@type": "ZipCode";
4
+ }
5
+ export interface IZipCode extends IAbstractString {
6
+ }
7
+ export declare class ZipCode extends AbstractString implements IZipCode {
8
+ static from(value: IZipCode | ZipCodeJSON | string): ZipCode;
9
+ toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): ZipCodeJSON;
3
10
  }