@nmshd/content 2.0.0-beta.33 → 2.0.0-beta.34

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 (97) hide show
  1. package/dist/attributes/AttributeValueTypes.d.ts +8 -8
  2. package/dist/attributes/AttributeValueTypes.js +4 -4
  3. package/dist/attributes/AttributeValueTypes.js.map +1 -1
  4. package/dist/attributes/IdentityAttribute.d.ts +1 -1
  5. package/dist/attributes/IdentityAttribute.js.map +1 -1
  6. package/dist/attributes/types/AbstractBoolean.d.ts +1 -2
  7. package/dist/attributes/types/AbstractBoolean.js.map +1 -1
  8. package/dist/attributes/types/AbstractFloat.d.ts +1 -2
  9. package/dist/attributes/types/AbstractFloat.js.map +1 -1
  10. package/dist/attributes/types/AbstractString.d.ts +1 -2
  11. package/dist/attributes/types/AbstractString.js.map +1 -1
  12. package/dist/attributes/types/address/City.d.ts +2 -2
  13. package/dist/attributes/types/address/City.js.map +1 -1
  14. package/dist/attributes/types/address/Country.d.ts +2 -2
  15. package/dist/attributes/types/address/DeliveryBoxAddress.d.ts +16 -17
  16. package/dist/attributes/types/address/DeliveryBoxAddress.js +3 -3
  17. package/dist/attributes/types/address/DeliveryBoxAddress.js.map +1 -1
  18. package/dist/attributes/types/address/HouseNumber.d.ts +2 -2
  19. package/dist/attributes/types/address/HouseNumber.js.map +1 -1
  20. package/dist/attributes/types/address/PostOfficeBoxAddress.d.ts +14 -14
  21. package/dist/attributes/types/address/PostOfficeBoxAddress.js.map +1 -1
  22. package/dist/attributes/types/address/State.d.ts +2 -2
  23. package/dist/attributes/types/address/State.js.map +1 -1
  24. package/dist/attributes/types/address/Street.d.ts +2 -2
  25. package/dist/attributes/types/address/Street.js.map +1 -1
  26. package/dist/attributes/types/address/StreetAddress.d.ts +18 -19
  27. package/dist/attributes/types/address/StreetAddress.js.map +1 -1
  28. package/dist/attributes/types/address/ZipCode.d.ts +2 -2
  29. package/dist/attributes/types/address/ZipCode.js.map +1 -1
  30. package/dist/attributes/types/affiliation/Affiliation.d.ts +9 -9
  31. package/dist/attributes/types/affiliation/Affiliation.js.map +1 -1
  32. package/dist/attributes/types/affiliation/AffiliationOrganization.d.ts +2 -2
  33. package/dist/attributes/types/affiliation/AffiliationOrganization.js.map +1 -1
  34. package/dist/attributes/types/affiliation/AffiliationRole.d.ts +2 -2
  35. package/dist/attributes/types/affiliation/AffiliationRole.js.map +1 -1
  36. package/dist/attributes/types/affiliation/AffiliationUnit.d.ts +2 -2
  37. package/dist/attributes/types/affiliation/AffiliationUnit.js.map +1 -1
  38. package/dist/attributes/types/birth/BirthPlace.d.ts +9 -10
  39. package/dist/attributes/types/birth/BirthPlace.js.map +1 -1
  40. package/dist/attributes/types/communication/CommunicationLanguage.d.ts +2 -2
  41. package/dist/attributes/types/communication/EMailAddress.d.ts +2 -2
  42. package/dist/attributes/types/communication/FaxNumber.d.ts +11 -0
  43. package/dist/attributes/types/communication/{Phone.js → FaxNumber.js} +7 -7
  44. package/dist/attributes/types/communication/FaxNumber.js.map +1 -0
  45. package/dist/attributes/types/communication/PhoneNumber.d.ts +11 -0
  46. package/dist/attributes/types/communication/{Fax.js → PhoneNumber.js} +7 -7
  47. package/dist/attributes/types/communication/PhoneNumber.js.map +1 -0
  48. package/dist/attributes/types/communication/Website.d.ts +2 -2
  49. package/dist/attributes/types/communication/index.d.ts +2 -2
  50. package/dist/attributes/types/communication/index.js +2 -2
  51. package/dist/attributes/types/communication/index.js.map +1 -1
  52. package/dist/attributes/types/identity/DisplayName.d.ts +2 -2
  53. package/dist/attributes/types/identity/DisplayName.js.map +1 -1
  54. package/dist/attributes/types/identity/FileReference.d.ts +2 -2
  55. package/dist/attributes/types/name/BirthName.d.ts +2 -2
  56. package/dist/attributes/types/name/BirthName.js.map +1 -1
  57. package/dist/attributes/types/name/GivenName.d.ts +2 -2
  58. package/dist/attributes/types/name/GivenName.js.map +1 -1
  59. package/dist/attributes/types/name/HonorificPrefix.d.ts +2 -2
  60. package/dist/attributes/types/name/HonorificPrefix.js.map +1 -1
  61. package/dist/attributes/types/name/HonorificSuffix.d.ts +2 -2
  62. package/dist/attributes/types/name/HonorificSuffix.js.map +1 -1
  63. package/dist/attributes/types/name/MiddleName.d.ts +2 -2
  64. package/dist/attributes/types/name/MiddleName.js.map +1 -1
  65. package/dist/attributes/types/name/PersonName.d.ts +15 -16
  66. package/dist/attributes/types/name/PersonName.js.map +1 -1
  67. package/dist/attributes/types/name/Pseudonym.d.ts +2 -2
  68. package/dist/attributes/types/name/Pseudonym.js.map +1 -1
  69. package/dist/attributes/types/name/Surname.d.ts +2 -2
  70. package/dist/attributes/types/name/Surname.js.map +1 -1
  71. package/dist/attributes/types/person/Citizenship.d.ts +2 -2
  72. package/dist/attributes/types/person/JobTitle.d.ts +2 -2
  73. package/dist/attributes/types/person/JobTitle.js.map +1 -1
  74. package/dist/attributes/types/person/Nationality.d.ts +2 -2
  75. package/dist/attributes/types/person/Sex.d.ts +2 -2
  76. package/dist/attributes/types/person/Sex.js.map +1 -1
  77. package/dist/attributes/types/proprietary/ProprietaryBoolean.d.ts +2 -2
  78. package/dist/attributes/types/proprietary/ProprietaryBoolean.js.map +1 -1
  79. package/dist/attributes/types/proprietary/ProprietaryCountry.d.ts +2 -2
  80. package/dist/attributes/types/proprietary/ProprietaryEMailAddress.d.ts +2 -2
  81. package/dist/attributes/types/proprietary/ProprietaryFileReference.d.ts +2 -2
  82. package/dist/attributes/types/proprietary/ProprietaryFloat.d.ts +2 -2
  83. package/dist/attributes/types/proprietary/ProprietaryFloat.js.map +1 -1
  84. package/dist/attributes/types/proprietary/ProprietaryHEXColor.d.ts +2 -2
  85. package/dist/attributes/types/proprietary/ProprietaryLanguage.d.ts +2 -2
  86. package/dist/attributes/types/proprietary/ProprietaryPhoneNumber.d.ts +2 -2
  87. package/dist/attributes/types/proprietary/ProprietaryString.d.ts +2 -2
  88. package/dist/attributes/types/proprietary/ProprietaryString.js.map +1 -1
  89. package/dist/attributes/types/proprietary/ProprietaryURL.d.ts +2 -2
  90. package/dist/buildInformation.js +4 -4
  91. package/lib-web/nmshd.content.js +35 -35
  92. package/lib-web/nmshd.content.min.js +1 -1
  93. package/package.json +1 -1
  94. package/dist/attributes/types/communication/Fax.d.ts +0 -11
  95. package/dist/attributes/types/communication/Fax.js.map +0 -1
  96. package/dist/attributes/types/communication/Phone.d.ts +0 -11
  97. package/dist/attributes/types/communication/Phone.js.map +0 -1
@@ -241,12 +241,12 @@ var AttributeValues;
241
241
  types_1.DeliveryBoxAddress,
242
242
  types_1.DisplayName,
243
243
  types_1.EMailAddress,
244
- types_1.Fax,
244
+ types_1.FaxNumber,
245
245
  types_1.FileReference,
246
246
  types_1.JobTitle,
247
247
  types_1.Nationality,
248
248
  types_1.PersonName,
249
- types_1.Phone,
249
+ types_1.PhoneNumber,
250
250
  types_1.PostOfficeBoxAddress,
251
251
  types_1.Pseudonym,
252
252
  types_1.Sex,
@@ -263,12 +263,12 @@ var AttributeValues;
263
263
  "DeliveryBoxAddress",
264
264
  "DisplayName",
265
265
  "EMailAddress",
266
- "Fax",
266
+ "FaxNumber",
267
267
  "FileReference",
268
268
  "JobTitle",
269
269
  "Nationality",
270
270
  "PersonName",
271
- "Phone",
271
+ "PhoneNumber",
272
272
  "PostOfficeBoxAddress",
273
273
  "Pseudonym",
274
274
  "Sex",
@@ -2525,7 +2525,7 @@ let DeliveryBoxAddress = class DeliveryBoxAddress extends AbstractAddress_1.Abst
2525
2525
  [this.propertyNames.zipCode.$path]: ZipCode_1.ZipCode.valueHints,
2526
2526
  [this.propertyNames.city.$path]: City_1.City.valueHints,
2527
2527
  [this.propertyNames.country.$path]: Country_1.Country.valueHints,
2528
- [this.propertyNames.phoneNumber.$path]: communication_1.Phone.valueHints,
2528
+ [this.propertyNames.phoneNumber.$path]: communication_1.PhoneNumber.valueHints,
2529
2529
  [this.propertyNames.state.$path]: State_1.State.valueHints
2530
2530
  }
2531
2531
  });
@@ -2544,7 +2544,7 @@ let DeliveryBoxAddress = class DeliveryBoxAddress extends AbstractAddress_1.Abst
2544
2544
  [this.propertyNames.zipCode.$path]: ZipCode_1.ZipCode.renderHints,
2545
2545
  [this.propertyNames.city.$path]: City_1.City.renderHints,
2546
2546
  [this.propertyNames.country.$path]: Country_1.Country.renderHints,
2547
- [this.propertyNames.phoneNumber.$path]: communication_1.Phone.renderHints,
2547
+ [this.propertyNames.phoneNumber.$path]: communication_1.PhoneNumber.renderHints,
2548
2548
  [this.propertyNames.state.$path]: State_1.State.renderHints
2549
2549
  }
2550
2550
  });
@@ -2598,7 +2598,7 @@ __decorate([
2598
2598
  __decorate([
2599
2599
  (0, ts_serval_1.serialize)({ customGenerator: AbstractAttributeValue_1.AbstractAttributeValue.valueGenerator }),
2600
2600
  (0, ts_serval_1.validate)({ nullable: true }),
2601
- __metadata("design:type", communication_1.Phone)
2601
+ __metadata("design:type", communication_1.PhoneNumber)
2602
2602
  ], DeliveryBoxAddress.prototype, "phoneNumber", void 0);
2603
2603
  __decorate([
2604
2604
  (0, ts_serval_1.serialize)({ customGenerator: AbstractAttributeValue_1.AbstractAttributeValue.valueGenerator }),
@@ -3680,10 +3680,10 @@ exports.EMailAddress = EMailAddress;
3680
3680
 
3681
3681
  /***/ }),
3682
3682
 
3683
- /***/ "./dist/attributes/types/communication/Fax.js":
3684
- /*!****************************************************!*\
3685
- !*** ./dist/attributes/types/communication/Fax.js ***!
3686
- \****************************************************/
3683
+ /***/ "./dist/attributes/types/communication/FaxNumber.js":
3684
+ /*!**********************************************************!*\
3685
+ !*** ./dist/attributes/types/communication/FaxNumber.js ***!
3686
+ \**********************************************************/
3687
3687
  /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
3688
3688
 
3689
3689
 
@@ -3694,10 +3694,10 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
3694
3694
  return c > 3 && r && Object.defineProperty(target, key, r), r;
3695
3695
  };
3696
3696
  Object.defineProperty(exports, "__esModule", ({ value: true }));
3697
- exports.Fax = void 0;
3697
+ exports.FaxNumber = void 0;
3698
3698
  const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
3699
3699
  const strings_1 = __webpack_require__(/*! ../strings */ "./dist/attributes/types/strings/index.js");
3700
- let Fax = class Fax extends strings_1.AbstractPhoneNumber {
3700
+ let FaxNumber = class FaxNumber extends strings_1.AbstractPhoneNumber {
3701
3701
  static from(value) {
3702
3702
  return this.fromAny(value);
3703
3703
  }
@@ -3705,18 +3705,18 @@ let Fax = class Fax extends strings_1.AbstractPhoneNumber {
3705
3705
  return super.toJSON(verbose, serializeAsString);
3706
3706
  }
3707
3707
  };
3708
- Fax = __decorate([
3709
- (0, ts_serval_1.type)("Fax")
3710
- ], Fax);
3711
- exports.Fax = Fax;
3712
- //# sourceMappingURL=Fax.js.map
3708
+ FaxNumber = __decorate([
3709
+ (0, ts_serval_1.type)("FaxNumber")
3710
+ ], FaxNumber);
3711
+ exports.FaxNumber = FaxNumber;
3712
+ //# sourceMappingURL=FaxNumber.js.map
3713
3713
 
3714
3714
  /***/ }),
3715
3715
 
3716
- /***/ "./dist/attributes/types/communication/Phone.js":
3717
- /*!******************************************************!*\
3718
- !*** ./dist/attributes/types/communication/Phone.js ***!
3719
- \******************************************************/
3716
+ /***/ "./dist/attributes/types/communication/PhoneNumber.js":
3717
+ /*!************************************************************!*\
3718
+ !*** ./dist/attributes/types/communication/PhoneNumber.js ***!
3719
+ \************************************************************/
3720
3720
  /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
3721
3721
 
3722
3722
 
@@ -3727,10 +3727,10 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
3727
3727
  return c > 3 && r && Object.defineProperty(target, key, r), r;
3728
3728
  };
3729
3729
  Object.defineProperty(exports, "__esModule", ({ value: true }));
3730
- exports.Phone = void 0;
3730
+ exports.PhoneNumber = void 0;
3731
3731
  const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
3732
3732
  const strings_1 = __webpack_require__(/*! ../strings */ "./dist/attributes/types/strings/index.js");
3733
- let Phone = class Phone extends strings_1.AbstractPhoneNumber {
3733
+ let PhoneNumber = class PhoneNumber extends strings_1.AbstractPhoneNumber {
3734
3734
  static from(value) {
3735
3735
  return this.fromAny(value);
3736
3736
  }
@@ -3738,11 +3738,11 @@ let Phone = class Phone extends strings_1.AbstractPhoneNumber {
3738
3738
  return super.toJSON(verbose, serializeAsString);
3739
3739
  }
3740
3740
  };
3741
- Phone = __decorate([
3742
- (0, ts_serval_1.type)("Phone")
3743
- ], Phone);
3744
- exports.Phone = Phone;
3745
- //# sourceMappingURL=Phone.js.map
3741
+ PhoneNumber = __decorate([
3742
+ (0, ts_serval_1.type)("PhoneNumber")
3743
+ ], PhoneNumber);
3744
+ exports.PhoneNumber = PhoneNumber;
3745
+ //# sourceMappingURL=PhoneNumber.js.map
3746
3746
 
3747
3747
  /***/ }),
3748
3748
 
@@ -3803,8 +3803,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
3803
3803
  Object.defineProperty(exports, "__esModule", ({ value: true }));
3804
3804
  __exportStar(__webpack_require__(/*! ./CommunicationLanguage */ "./dist/attributes/types/communication/CommunicationLanguage.js"), exports);
3805
3805
  __exportStar(__webpack_require__(/*! ./EMailAddress */ "./dist/attributes/types/communication/EMailAddress.js"), exports);
3806
- __exportStar(__webpack_require__(/*! ./Fax */ "./dist/attributes/types/communication/Fax.js"), exports);
3807
- __exportStar(__webpack_require__(/*! ./Phone */ "./dist/attributes/types/communication/Phone.js"), exports);
3806
+ __exportStar(__webpack_require__(/*! ./FaxNumber */ "./dist/attributes/types/communication/FaxNumber.js"), exports);
3807
+ __exportStar(__webpack_require__(/*! ./PhoneNumber */ "./dist/attributes/types/communication/PhoneNumber.js"), exports);
3808
3808
  __exportStar(__webpack_require__(/*! ./Website */ "./dist/attributes/types/communication/Website.js"), exports);
3809
3809
  //# sourceMappingURL=index.js.map
3810
3810
 
@@ -5864,10 +5864,10 @@ const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-s
5864
5864
  const crypto_1 = __webpack_require__(/*! @nmshd/crypto */ "@nmshd/crypto");
5865
5865
  const transport_1 = __webpack_require__(/*! @nmshd/transport */ "@nmshd/transport");
5866
5866
  exports.buildInformation = {
5867
- version: "2.0.0-beta.33",
5868
- build: "110",
5869
- date: "2022-09-28T15:16:43+00:00",
5870
- commit: "28885388d2379d846d73aba1364b2c2060fb39d8",
5867
+ version: "2.0.0-beta.34",
5868
+ build: "111",
5869
+ date: "2022-09-29T06:55:18+00:00",
5870
+ commit: "045ddab2415166044fd82b2c71fb2b26230f62d3",
5871
5871
  dependencies: {"@js-soft/logging-abstractions":"^1.0.0","easy-tsnameof":"^3.0.6","mocha-param":"^2.0.1"},
5872
5872
  libraries: {
5873
5873
  serval: ts_serval_1.buildInformation,