@nmshd/content 2.1.1 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. package/dist/attributes/IdentityAttribute.d.ts +1 -0
  2. package/dist/attributes/IdentityAttribute.js +13 -3
  3. package/dist/attributes/IdentityAttribute.js.map +1 -1
  4. package/dist/attributes/IdentityAttributeQuery.d.ts +1 -0
  5. package/dist/attributes/IdentityAttributeQuery.js +13 -3
  6. package/dist/attributes/IdentityAttributeQuery.js.map +1 -1
  7. package/dist/attributes/RelationshipAttribute.js +1 -1
  8. package/dist/attributes/RelationshipAttribute.js.map +1 -1
  9. package/dist/attributes/RelationshipAttributeQuery.js +4 -3
  10. package/dist/attributes/RelationshipAttributeQuery.js.map +1 -1
  11. package/dist/attributes/ThirdPartyRelationshipAttributeQuery.js +1 -1
  12. package/dist/attributes/ThirdPartyRelationshipAttributeQuery.js.map +1 -1
  13. package/dist/attributes/hints/ValueHints.js +4 -4
  14. package/dist/attributes/hints/ValueHints.js.map +1 -1
  15. package/dist/attributes/hints/ValueHintsValue.d.ts +1 -0
  16. package/dist/attributes/hints/ValueHintsValue.js +14 -4
  17. package/dist/attributes/hints/ValueHintsValue.js.map +1 -1
  18. package/dist/attributes/types/address/AbstractAddress.js +1 -1
  19. package/dist/attributes/types/address/AbstractAddress.js.map +1 -1
  20. package/dist/attributes/types/address/DeliveryBoxAddress.js +2 -2
  21. package/dist/attributes/types/address/DeliveryBoxAddress.js.map +1 -1
  22. package/dist/attributes/types/address/PostOfficeBoxAddress.js +1 -1
  23. package/dist/attributes/types/address/PostOfficeBoxAddress.js.map +1 -1
  24. package/dist/attributes/types/measurements/AbstractMeasurement.js +1 -1
  25. package/dist/attributes/types/measurements/AbstractMeasurement.js.map +1 -1
  26. package/dist/attributes/types/proprietary/ProprietaryAttributeValue.d.ts +2 -0
  27. package/dist/attributes/types/proprietary/ProprietaryAttributeValue.js +3 -0
  28. package/dist/attributes/types/proprietary/ProprietaryAttributeValue.js.map +1 -1
  29. package/dist/attributes/types/proprietary/ProprietaryBoolean.js +3 -2
  30. package/dist/attributes/types/proprietary/ProprietaryBoolean.js.map +1 -1
  31. package/dist/attributes/types/proprietary/ProprietaryCountry.js +3 -2
  32. package/dist/attributes/types/proprietary/ProprietaryCountry.js.map +1 -1
  33. package/dist/attributes/types/proprietary/ProprietaryEMailAddress.js +3 -2
  34. package/dist/attributes/types/proprietary/ProprietaryEMailAddress.js.map +1 -1
  35. package/dist/attributes/types/proprietary/ProprietaryFileReference.js +3 -2
  36. package/dist/attributes/types/proprietary/ProprietaryFileReference.js.map +1 -1
  37. package/dist/attributes/types/proprietary/ProprietaryFloat.js +3 -2
  38. package/dist/attributes/types/proprietary/ProprietaryFloat.js.map +1 -1
  39. package/dist/attributes/types/proprietary/ProprietaryHEXColor.js +3 -2
  40. package/dist/attributes/types/proprietary/ProprietaryHEXColor.js.map +1 -1
  41. package/dist/attributes/types/proprietary/ProprietaryInteger.js +3 -2
  42. package/dist/attributes/types/proprietary/ProprietaryInteger.js.map +1 -1
  43. package/dist/attributes/types/proprietary/ProprietaryJSON.js +3 -2
  44. package/dist/attributes/types/proprietary/ProprietaryJSON.js.map +1 -1
  45. package/dist/attributes/types/proprietary/ProprietaryLanguage.js +3 -2
  46. package/dist/attributes/types/proprietary/ProprietaryLanguage.js.map +1 -1
  47. package/dist/attributes/types/proprietary/ProprietaryPhoneNumber.d.ts +1 -1
  48. package/dist/attributes/types/proprietary/ProprietaryPhoneNumber.js +3 -2
  49. package/dist/attributes/types/proprietary/ProprietaryPhoneNumber.js.map +1 -1
  50. package/dist/attributes/types/proprietary/ProprietaryString.js +3 -2
  51. package/dist/attributes/types/proprietary/ProprietaryString.js.map +1 -1
  52. package/dist/attributes/types/proprietary/ProprietaryURL.js +3 -2
  53. package/dist/attributes/types/proprietary/ProprietaryURL.js.map +1 -1
  54. package/dist/buildInformation.js +4 -4
  55. package/dist/messages/Mail.js +2 -2
  56. package/dist/messages/Mail.js.map +1 -1
  57. package/dist/relationships/RelationshipTemplateContent.js +1 -1
  58. package/dist/relationships/RelationshipTemplateContent.js.map +1 -1
  59. package/dist/requests/Request.js +2 -2
  60. package/dist/requests/Request.js.map +1 -1
  61. package/dist/requests/RequestItem.d.ts +4 -6
  62. package/dist/requests/RequestItem.js +2 -2
  63. package/dist/requests/RequestItem.js.map +1 -1
  64. package/dist/requests/RequestItemGroup.js +2 -2
  65. package/dist/requests/RequestItemGroup.js.map +1 -1
  66. package/dist/requests/items/consent/ConsentRequestItem.js +9 -2
  67. package/dist/requests/items/consent/ConsentRequestItem.js.map +1 -1
  68. package/dist/requests/items/index.d.ts +2 -0
  69. package/dist/requests/items/index.js +2 -0
  70. package/dist/requests/items/index.js.map +1 -1
  71. package/dist/requests/items/registerAttributeListener/RegisterAttributeListenerAcceptResponseItem.js +1 -1
  72. package/dist/requests/items/registerAttributeListener/RegisterAttributeListenerAcceptResponseItem.js.map +1 -1
  73. package/dist/requests/items/succeedAttribute/SucceedAttributeAcceptResponseItem.d.ts +14 -0
  74. package/dist/requests/items/succeedAttribute/SucceedAttributeAcceptResponseItem.js +33 -0
  75. package/dist/requests/items/succeedAttribute/SucceedAttributeAcceptResponseItem.js.map +1 -0
  76. package/dist/requests/items/succeedAttribute/SucceedAttributeRequestItem.d.ts +40 -0
  77. package/dist/requests/items/succeedAttribute/SucceedAttributeRequestItem.js +66 -0
  78. package/dist/requests/items/succeedAttribute/SucceedAttributeRequestItem.js.map +1 -0
  79. package/dist/requests/response/AcceptResponseItem.d.ts +4 -4
  80. package/dist/requests/response/AcceptResponseItem.js.map +1 -1
  81. package/dist/requests/response/ErrorResponseItem.js +2 -2
  82. package/dist/requests/response/ErrorResponseItem.js.map +1 -1
  83. package/dist/requests/response/RejectResponseItem.js +2 -2
  84. package/dist/requests/response/RejectResponseItem.js.map +1 -1
  85. package/lib-web/nmshd.content.js +252 -68
  86. package/lib-web/nmshd.content.min.js +1 -1
  87. package/package.json +2 -2
@@ -13,6 +13,7 @@ exports.ProprietaryHEXColor = void 0;
13
13
  const ts_serval_1 = require("@js-soft/ts-serval");
14
14
  const hints_1 = require("../../hints");
15
15
  const AbstractHEXColor_1 = require("../strings/AbstractHEXColor");
16
+ const ProprietaryAttributeValue_1 = require("./ProprietaryAttributeValue");
16
17
  let ProprietaryHEXColor = class ProprietaryHEXColor extends AbstractHEXColor_1.AbstractHEXColor {
17
18
  static from(value) {
18
19
  return this.fromAny(value);
@@ -26,12 +27,12 @@ let ProprietaryHEXColor = class ProprietaryHEXColor extends AbstractHEXColor_1.A
26
27
  };
27
28
  __decorate([
28
29
  (0, ts_serval_1.serialize)(),
29
- (0, ts_serval_1.validate)(),
30
+ (0, ts_serval_1.validate)({ max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_TITLE_LENGTH }),
30
31
  __metadata("design:type", String)
31
32
  ], ProprietaryHEXColor.prototype, "title", void 0);
32
33
  __decorate([
33
34
  (0, ts_serval_1.serialize)(),
34
- (0, ts_serval_1.validate)({ nullable: true }),
35
+ (0, ts_serval_1.validate)({ nullable: true, max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_DESCRIPTION_LENGTH }),
35
36
  __metadata("design:type", String)
36
37
  ], ProprietaryHEXColor.prototype, "description", void 0);
37
38
  __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"ProprietaryHEXColor.js","sourceRoot":"","sources":["../../../../src/attributes/types/proprietary/ProprietaryHEXColor.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,uCAA4D;AAE5D,kEAA8D;AAUvD,IAAM,mBAAmB,GAAzB,MAAM,mBAAoB,SAAQ,mCAAgB;IAa9C,MAAM,CAAC,IAAI,CAAC,KAAoE;QACnF,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEe,MAAM,CAClB,OAA6B,EAC7B,iBAAuC;QAEvC,OAAO,KAAK,C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X,IAAA,oBAAQ,EAAC,EAAE,GAAG,EAAE,kEAAsC,EAAE,CAAC;;kDACtC;AAEpB;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,EAAE,wEAA4C,EAAE,CAAC;;wDACrD;AAE3B;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACD,0BAAkB;+DAAA;AAXrC,mBAAmB;IAD/B,IAAA,gBAAI,EAAC,qBAAqB,CAAC;GACf,mBAAmB,CA2B/B;AA3BY,kDAAmB"}
@@ -13,6 +13,7 @@ exports.ProprietaryInteger = void 0;
13
13
  const ts_serval_1 = require("@js-soft/ts-serval");
14
14
  const hints_1 = require("../../hints");
15
15
  const AbstractInteger_1 = require("../AbstractInteger");
16
+ const ProprietaryAttributeValue_1 = require("./ProprietaryAttributeValue");
16
17
  let ProprietaryInteger = class ProprietaryInteger extends AbstractInteger_1.AbstractInteger {
17
18
  static from(value) {
18
19
  return this.fromAny(value);
@@ -26,12 +27,12 @@ let ProprietaryInteger = class ProprietaryInteger extends AbstractInteger_1.Abst
26
27
  };
27
28
  __decorate([
28
29
  (0, ts_serval_1.serialize)(),
29
- (0, ts_serval_1.validate)(),
30
+ (0, ts_serval_1.validate)({ max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_TITLE_LENGTH }),
30
31
  __metadata("design:type", String)
31
32
  ], ProprietaryInteger.prototype, "title", void 0);
32
33
  __decorate([
33
34
  (0, ts_serval_1.serialize)(),
34
- (0, ts_serval_1.validate)({ nullable: true }),
35
+ (0, ts_serval_1.validate)({ nullable: true, max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_DESCRIPTION_LENGTH }),
35
36
  __metadata("design:type", String)
36
37
  ], ProprietaryInteger.prototype, "description", void 0);
37
38
  __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"ProprietaryInteger.js","sourceRoot":"","sources":["../../../../src/attributes/types/proprietary/ProprietaryInteger.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,uCAA4D;AAC5D,wDAA2F;AAUpF,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,iCAAe;IAa5C,MAAM,CAAC,IAAI,CACd,KAA2E;QAE3E,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,CAA2B,CAAA;IAC7E,CAAC;IAED,IAAoB,UAAU;QAC1B,OAAO,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,kBAAkB,EAAE,MAAM,EAAE,CAAC,CAAA;IACvE,CAAC;CACJ,CAAA;AA5BG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;iDACS;AAEpB;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uDACF;AAE3B;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACD,0BAAkB;8DAAA;AAXrC,kBAAkB;IAD9B,IAAA,gBAAI,EAAC,oBAAoB,CAAC;GACd,kBAAkB,CA6B9B;AA7BY,gDAAkB"}
1
+ {"version":3,"file":"ProprietaryInteger.js","sourceRoot":"","sources":["../../../../src/attributes/types/proprietary/ProprietaryInteger.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,uCAA4D;AAC5D,wDAA2F;AAC3F,2EAKoC;AAS7B,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,iCAAe;IAa5C,MAAM,CAAC,IAAI,CACd,KAA2E;QAE3E,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,CAA2B,CAAA;IAC7E,CAAC;IAED,IAAoB,UAAU;QAC1B,OAAO,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,kBAAkB,EAAE,MAAM,EAAE,CAAC,CAAA;IACvE,CAAC;CACJ,CAAA;AA5BG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,GAAG,EAAE,kEAAsC,EAAE,CAAC;;iDACtC;AAEpB;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,EAAE,wEAA4C,EAAE,CAAC;;uDACrD;AAE3B;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACD,0BAAkB;8DAAA;AAXrC,kBAAkB;IAD9B,IAAA,gBAAI,EAAC,oBAAoB,CAAC;GACd,kBAAkB,CA6B9B;AA7BY,gDAAkB"}
@@ -13,6 +13,7 @@ exports.ProprietaryJSON = void 0;
13
13
  const ts_serval_1 = require("@js-soft/ts-serval");
14
14
  const AbstractAttributeValue_1 = require("../../AbstractAttributeValue");
15
15
  const hints_1 = require("../../hints");
16
+ const ProprietaryAttributeValue_1 = require("./ProprietaryAttributeValue");
16
17
  let ProprietaryJSON = class ProprietaryJSON extends AbstractAttributeValue_1.AbstractAttributeValue {
17
18
  static get valueHints() {
18
19
  return hints_1.ValueHints.from({});
@@ -32,12 +33,12 @@ let ProprietaryJSON = class ProprietaryJSON extends AbstractAttributeValue_1.Abs
32
33
  };
33
34
  __decorate([
34
35
  (0, ts_serval_1.serialize)(),
35
- (0, ts_serval_1.validate)(),
36
+ (0, ts_serval_1.validate)({ max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_TITLE_LENGTH }),
36
37
  __metadata("design:type", String)
37
38
  ], ProprietaryJSON.prototype, "title", void 0);
38
39
  __decorate([
39
40
  (0, ts_serval_1.serialize)(),
40
- (0, ts_serval_1.validate)({ nullable: true }),
41
+ (0, ts_serval_1.validate)({ nullable: true, max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_DESCRIPTION_LENGTH }),
41
42
  __metadata("design:type", String)
42
43
  ], ProprietaryJSON.prototype, "description", void 0);
43
44
  __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"ProprietaryJSON.js","sourceRoot":"","sources":["../../../../src/attributes/types/proprietary/ProprietaryJSON.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,yEAIqC;AACrC,uCAAoG;AAgB7F,IAAM,eAAe,GAArB,MAAM,eAAgB,SAAQ,+CAAsB;IAahD,MAAM,KAAK,UAAU;QACxB,OAAO,kBAAU,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;IAC9B,CAAC;IAEM,MAAM,KAAK,WAAW;QACzB,OAAO,mBAAW,CAAC,IAAI,CAAC;YACpB,QAAQ,EAAE,2BAAmB,CAAC,QAAQ;YACtC,aAAa,EAAE,gCAAwB,CAAC,OAAO;SAClD,CAAC,CAAA;IACN,CAAC;IAEM,MAAM,CAAC,IAAI,CAAC,KAA4D;QAC3E,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;AAjCG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;8CACS;AAEpB;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,E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B,EAC7B,iBAAuC;QAEvC,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,iBAAiB,CAAwB,CAAA;IAC1E,CAAC;CACJ,CAAA;AAjCG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,GAAG,EAAE,kEAAsC,EAAE,CAAC;;8CACtC;AAEpB;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,EAAE,wEAA4C,EAAE,CAAC;;oDACrD;AAE3B;IAAC,IAAA,qBAAS,EAAC,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC;IACxB,IAAA,oBAAQ,EAAC,EAAE,eAAe,EAAE,aAAa,EAAE,CAAC;;8CACxB;AAXZ,eAAe;IAD3B,IAAA,gBAAI,EAAC,iBAAiB,CAAC;GACX,eAAe,CAkC3B;AAlCY,0CAAe;AAoC5B,SAAS,aAAa,CAAC,KAAU;IAC7B,IAAI;QACA,MAAM,MAAM,GAAG,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAA;QACpC,IAAI,MAAM,CAAC,MAAM,GAAG,IAAI,EAAE;YACtB,OAAO,2DAA2D,CAAA;SACrE;KACJ;IAAC,OAAO,CAAC,EAAE;QACR,IAAI,CAAC,YAAY,WAAW,EAAE;YAC1B,OAAO,6BAA6B,CAAA;SACvC;QAED,OAAO,0BAA0B,CAAA;KACpC;IAED,OAAO,SAAS,CAAA;AACpB,CAAC"}
@@ -13,6 +13,7 @@ exports.ProprietaryLanguage = void 0;
13
13
  const ts_serval_1 = require("@js-soft/ts-serval");
14
14
  const hints_1 = require("../../hints");
15
15
  const AbstractLanguage_1 = require("../strings/AbstractLanguage");
16
+ const ProprietaryAttributeValue_1 = require("./ProprietaryAttributeValue");
16
17
  let ProprietaryLanguage = class ProprietaryLanguage extends AbstractLanguage_1.AbstractLanguage {
17
18
  static from(value) {
18
19
  return this.fromAny(value);
@@ -26,12 +27,12 @@ let ProprietaryLanguage = class ProprietaryLanguage extends AbstractLanguage_1.A
26
27
  };
27
28
  __decorate([
28
29
  (0, ts_serval_1.serialize)(),
29
- (0, ts_serval_1.validate)(),
30
+ (0, ts_serval_1.validate)({ max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_TITLE_LENGTH }),
30
31
  __metadata("design:type", String)
31
32
  ], ProprietaryLanguage.prototype, "title", void 0);
32
33
  __decorate([
33
34
  (0, ts_serval_1.serialize)(),
34
- (0, ts_serval_1.validate)({ nullable: true }),
35
+ (0, ts_serval_1.validate)({ nullable: true, max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_DESCRIPTION_LENGTH }),
35
36
  __metadata("design:type", String)
36
37
  ], ProprietaryLanguage.prototype, "description", void 0);
37
38
  __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"ProprietaryLanguage.js","sourceRoot":"","sources":["../../../../src/attributes/types/proprietary/ProprietaryLanguage.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,uCAA4D;AAE5D,kEAA8D;AAUvD,IAAM,mBAAmB,GAAzB,MAAM,mBAAoB,SAAQ,mCAAgB;IAa9C,MAAM,CAAC,IAAI,CAAC,KAAoE;QACnF,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEe,MAAM,CAClB,OAA6B,EAC7B,iBAAuC;QAEvC,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,iBAAiB,CAA4B,CAAA;IAC9E,CAAC;IAED,IAAoB,UAAU;QAC1B,OAAO,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,kBAAkB,EAAE,MAAM,EAAE,CAAC,CAAA;IACvE,CAAC;CACJ,CAAA;AA1BG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;kDACS;AAEpB;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ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mBAAmB;IAD/B,IAAA,gBAAI,EAAC,qBAAqB,CAAC;GACf,mBAAmB,CA2B/B;AA3BY,kDAAmB"}
@@ -9,7 +9,7 @@ export interface IProprietaryPhoneNumber extends IProprietaryAttributeValue, IAb
9
9
  }
10
10
  export declare class ProprietaryPhoneNumber extends AbstractPhoneNumber {
11
11
  title: string;
12
- description: string;
12
+ description?: string;
13
13
  valueHintsOverride?: ValueHintsOverride;
14
14
  static from(value: IProprietaryPhoneNumber | Omit<ProprietaryPhoneNumberJSON, "@type">): ProprietaryPhoneNumber;
15
15
  toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): ProprietaryPhoneNumberJSON;
@@ -13,6 +13,7 @@ exports.ProprietaryPhoneNumber = void 0;
13
13
  const ts_serval_1 = require("@js-soft/ts-serval");
14
14
  const hints_1 = require("../../hints");
15
15
  const AbstractPhoneNumber_1 = require("../strings/AbstractPhoneNumber");
16
+ const ProprietaryAttributeValue_1 = require("./ProprietaryAttributeValue");
16
17
  let ProprietaryPhoneNumber = class ProprietaryPhoneNumber extends AbstractPhoneNumber_1.AbstractPhoneNumber {
17
18
  static from(value) {
18
19
  return this.fromAny(value);
@@ -26,12 +27,12 @@ let ProprietaryPhoneNumber = class ProprietaryPhoneNumber extends AbstractPhoneN
26
27
  };
27
28
  __decorate([
28
29
  (0, ts_serval_1.serialize)(),
29
- (0, ts_serval_1.validate)(),
30
+ (0, ts_serval_1.validate)({ max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_TITLE_LENGTH }),
30
31
  __metadata("design:type", String)
31
32
  ], ProprietaryPhoneNumber.prototype, "title", void 0);
32
33
  __decorate([
33
34
  (0, ts_serval_1.serialize)(),
34
- (0, ts_serval_1.validate)({ nullable: true }),
35
+ (0, ts_serval_1.validate)({ nullable: true, max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_DESCRIPTION_LENGTH }),
35
36
  __metadata("design:type", String)
36
37
  ], ProprietaryPhoneNumber.prototype, "description", void 0);
37
38
  __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"ProprietaryPhoneNumber.js","sourceRoot":"","sources":["../../../../src/attributes/types/proprietary/ProprietaryPhoneNumber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,uCAA4D;AAE5D,wEAAoE;AAU7D,IAAM,sBAAsB,GAA5B,MAAM,sBAAuB,SAAQ,yCAAmB;IAapD,MAAM,CAAC,IAAI,CACd,KAA0E;QAE1E,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEe,MAAM,CAClB,OAA6B,EAC7B,iBAAuC;QAEvC,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,iBAAiB,CAA+B,CAAA;IACjF,CAAC;IAED,IAAoB,UAAU;QAC1B,OAAO,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,kBAAkB,EAAE,MAAM,EAAE,CAAC,CAAA;IACvE,CAAC;CACJ,CAAA;AA5BG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;qDACS;AAEpB;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2DACH;AAE1B;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACD,0BAAkB;kEAAA;AAXrC,sBAAsB;IADlC,IAAA,gBAAI,EAAC,wBAAwB,CAAC;GAClB,sBAAsB,CA6BlC;AA7BY,wDAAsB"}
1
+ {"version":3,"file":"ProprietaryPhoneNumber.js","sourceRoot":"","sources":["../../../../src/attributes/types/proprietary/ProprietaryPhoneNumber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,uCAA4D;AAE5D,wEAAoE;AACpE,2EAKoC;AAS7B,IAAM,sBAAsB,GAA5B,MAAM,sBAAuB,SAAQ,yCAAmB;IAapD,MAAM,CAAC,IAAI,CACd,KAA0E;QAE1E,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEe,MAAM,CAClB,OAA6B,EAC7B,iBAAuC;QAEvC,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,iBAAiB,CAA+B,CAAA;IACjF,CAAC;IAED,IAAoB,UAAU;QAC1B,OAAO,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,kBAAkB,EAAE,MAAM,EAAE,CAAC,CAAA;IACvE,CAAC;CACJ,CAAA;AA5BG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,GAAG,EAAE,kEAAsC,EAAE,CAAC;;qDACtC;AAEpB;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,EAAE,wEAA4C,EAAE,CAAC;;2DACrD;AAE3B;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACD,0BAAkB;kEAAA;AAXrC,sBAAsB;IADlC,IAAA,gBAAI,EAAC,wBAAwB,CAAC;GAClB,sBAAsB,CA6BlC;AA7BY,wDAAsB"}
@@ -13,6 +13,7 @@ exports.ProprietaryString = void 0;
13
13
  const ts_serval_1 = require("@js-soft/ts-serval");
14
14
  const hints_1 = require("../../hints");
15
15
  const AbstractString_1 = require("../AbstractString");
16
+ const ProprietaryAttributeValue_1 = require("./ProprietaryAttributeValue");
16
17
  let ProprietaryString = class ProprietaryString extends AbstractString_1.AbstractString {
17
18
  static from(value) {
18
19
  return this.fromAny(value);
@@ -26,12 +27,12 @@ let ProprietaryString = class ProprietaryString extends AbstractString_1.Abstrac
26
27
  };
27
28
  __decorate([
28
29
  (0, ts_serval_1.serialize)(),
29
- (0, ts_serval_1.validate)(),
30
+ (0, ts_serval_1.validate)({ max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_TITLE_LENGTH }),
30
31
  __metadata("design:type", String)
31
32
  ], ProprietaryString.prototype, "title", void 0);
32
33
  __decorate([
33
34
  (0, ts_serval_1.serialize)(),
34
- (0, ts_serval_1.validate)({ nullable: true }),
35
+ (0, ts_serval_1.validate)({ nullable: true, max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_DESCRIPTION_LENGTH }),
35
36
  __metadata("design:type", String)
36
37
  ], ProprietaryString.prototype, "description", void 0);
37
38
  __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"ProprietaryString.js","sourceRoot":"","sources":["../../../../src/attributes/types/proprietary/ProprietaryString.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,uCAA4D;AAC5D,sDAAuF;AAUhF,IAAM,iBAAiB,GAAvB,MAAM,iBAAkB,SAAQ,+BAAc;IAa1C,MAAM,CAAC,IAAI,CAAC,KAAgE;QAC/E,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEe,MAAM,CAClB,OAA6B,EAC7B,iBAAuC;QAEvC,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,iBAAiB,CAA0B,CAAA;IAC5E,CAAC;IAED,IAAoB,UAAU;QAC1B,OAAO,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,kBAAkB,EAAE,MAAM,EAAE,CAAC,CAAA;IACvE,CAAC;CACJ,CAAA;AA1BG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;gDACS;AAEpB;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sDACF;AAE3B;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACD,0BAAkB;6DAAA;AAXrC,iBAAiB;IAD7B,IAAA,gBAAI,EAAC,mBAAmB,CAAC;GACb,iBAAiB,CA2B7B;AA3BY,8CAAiB"}
1
+ {"version":3,"file":"ProprietaryString.js","sourceRoot":"","sources":["../../../../src/attributes/types/proprietary/ProprietaryString.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,uCAA4D;AAC5D,sDAAuF;AACvF,2EAKoC;AAS7B,IAAM,iBAAiB,GAAvB,MAAM,iBAAkB,SAAQ,+BAAc;IAa1C,MAAM,CAAC,IAAI,CAAC,KAAgE;QAC/E,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEe,MAAM,CAClB,OAA6B,EAC7B,iBAAuC;QAEvC,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,iBAAiB,CAA0B,CAAA;IAC5E,CAAC;IAED,IAAoB,UAAU;QAC1B,OAAO,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,kBAAkB,EAAE,MAAM,EAAE,CAAC,CAAA;IACvE,CAAC;CACJ,CAAA;AA1BG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,GAAG,EAAE,kEAAsC,EAAE,CAAC;;gDACtC;AAEpB;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,EAAE,wEAA4C,EAAE,CAAC;;sDACrD;AAE3B;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACD,0BAAkB;6DAAA;AAXrC,iBAAiB;IAD7B,IAAA,gBAAI,EAAC,mBAAmB,CAAC;GACb,iBAAiB,CA2B7B;AA3BY,8CAAiB"}
@@ -13,6 +13,7 @@ exports.ProprietaryURL = void 0;
13
13
  const ts_serval_1 = require("@js-soft/ts-serval");
14
14
  const hints_1 = require("../../hints");
15
15
  const AbstractURL_1 = require("../strings/AbstractURL");
16
+ const ProprietaryAttributeValue_1 = require("./ProprietaryAttributeValue");
16
17
  let ProprietaryURL = class ProprietaryURL extends AbstractURL_1.AbstractURL {
17
18
  static from(value) {
18
19
  return this.fromAny(value);
@@ -26,12 +27,12 @@ let ProprietaryURL = class ProprietaryURL extends AbstractURL_1.AbstractURL {
26
27
  };
27
28
  __decorate([
28
29
  (0, ts_serval_1.serialize)(),
29
- (0, ts_serval_1.validate)(),
30
+ (0, ts_serval_1.validate)({ max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_TITLE_LENGTH }),
30
31
  __metadata("design:type", String)
31
32
  ], ProprietaryURL.prototype, "title", void 0);
32
33
  __decorate([
33
34
  (0, ts_serval_1.serialize)(),
34
- (0, ts_serval_1.validate)({ nullable: true }),
35
+ (0, ts_serval_1.validate)({ nullable: true, max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_DESCRIPTION_LENGTH }),
35
36
  __metadata("design:type", String)
36
37
  ], ProprietaryURL.prototype, "description", void 0);
37
38
  __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"ProprietaryURL.js","sourceRoot":"","sources":["../../../../src/attributes/types/proprietary/ProprietaryURL.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,uCAA4D;AAE5D,wDAAoD;AAU7C,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,yBAAW;IAapC,MAAM,CAAC,IAAI,CAAC,KAA0D;QACzE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEe,MAAM,CAAC,OAA6B,EAAE,iBAAuC;QACzF,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,iBAAiB,CAAuB,CAAA;IACzE,CAAC;IAED,IAAoB,UAAU;QAC1B,OAAO,KAAK,CAAC,UAAU,CAAC,Q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IAAI,EAAE,GAAG,EAAE,wEAA4C,EAAE,CAAC;;mDACrD;AAE3B;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACD,0BAAkB;0DAAA;AAXrC,cAAc;IAD1B,IAAA,gBAAI,EAAC,gBAAgB,CAAC;GACV,cAAc,CAwB1B;AAxBY,wCAAc"}
@@ -5,10 +5,10 @@ const ts_serval_1 = require("@js-soft/ts-serval");
5
5
  const crypto_1 = require("@nmshd/crypto");
6
6
  const transport_1 = require("@nmshd/transport");
7
7
  exports.buildInformation = {
8
- version: "2.1.1",
9
- build: "125",
10
- date: "2022-11-16T07:38:06+00:00",
11
- commit: "ee6671830c47ca3630b1d4a64a8998741f04faad",
8
+ version: "2.2.0",
9
+ build: "127",
10
+ date: "2022-11-22T12:16:43+00:00",
11
+ commit: "cce5e694ec6010d0df2ccf5732eec87d374b1d5a",
12
12
  dependencies: {"@js-soft/logging-abstractions":"^1.0.0","easy-tsnameof":"^3.0.6","mocha-param":"^2.0.1"},
13
13
  libraries: {
14
14
  serval: ts_serval_1.buildInformation,
@@ -42,12 +42,12 @@ __decorate([
42
42
  ], Mail.prototype, "cc", void 0);
43
43
  __decorate([
44
44
  (0, ts_serval_1.serialize)(),
45
- (0, ts_serval_1.validate)(),
45
+ (0, ts_serval_1.validate)({ max: 300 }),
46
46
  __metadata("design:type", String)
47
47
  ], Mail.prototype, "subject", void 0);
48
48
  __decorate([
49
49
  (0, ts_serval_1.serialize)(),
50
- (0, ts_serval_1.validate)(),
50
+ (0, ts_serval_1.validate)({ max: 50000 }),
51
51
  __metadata("design:type", String)
52
52
  ], Mail.prototype, "body", void 0);
53
53
  Mail = __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"Mail.js","sourceRoot":"","sources":["../../src/messages/Mail.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA2F;AAC3F,gDAA4D;AAkBrD,IAAM,IAAI,GAA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,EAAE,CAAC;;qCACD;AAEtB;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC;;kCACN;AAfV,IAAI;IADhB,IAAA,gBAAI,EAAC,MAAM,CAAC;GACA,IAAI,CAqChB;AArCY,oBAAI"}
@@ -22,7 +22,7 @@ let RelationshipTemplateContent = class RelationshipTemplateContent extends ts_s
22
22
  };
23
23
  __decorate([
24
24
  (0, ts_serval_1.serialize)(),
25
- (0, ts_serval_1.validate)({ nullable: true }),
25
+ (0, ts_serval_1.validate)({ nullable: true, max: 200 }),
26
26
  __metadata("design:type", String)
27
27
  ], RelationshipTemplateContent.prototype, "title", void 0);
28
28
  __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"RelationshipTemplateContent.js","sourceRoot":"","sources":["../../src/relationships/RelationshipTemplateContent.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA2F;AAE3F,iDAAoE;AAkB7D,IAAM,2BAA2B,GAAjC,MAAM,2BAA4B,SAAQ,wBAAY;IAiBlD,MAAM,CAAC,IAAI,CACd,KAAoF;QAEpF,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEe,MAAM,CAClB,OAA6B,EAC7B,iBAAuC;QAEvC,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,iBAAiB,CAAoC,CAAA;IACtF,CAAC;CACJ,CAAA;AA5BG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0DACR;AAErB;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6DACL;AAExB;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;8BACe,iBAAO;sEAAA;AAEjC;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACG,iBAAO;2EAAA;AAf9B,2BAA2B;IADvC,IAAA,gBAAI,EAAC,6BAA6B,CAAC;GACvB,2BAA2B,CA6BvC;AA7BY,kEAA2B"}
1
+ {"version":3,"file":"RelationshipTemplateContent.js","sourceRoot":"","sources":["../../src/relationships/RelationshipTemplateContent.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA2F;AAE3F,iDAAoE;AAkB7D,IAAM,2BAA2B,GAAjC,MAAM,2BAA4B,SAAQ,wBAAY;IAiBlD,MAAM,CAAC,IAAI,CACd,KAAoF;QAEpF,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEe,MAAM,CAClB,OAA6B,EAC7B,iBAAuC;QAEvC,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,iBAAiB,CAAoC,CAAA;IACtF,CAAC;CACJ,CAAA;AA5BG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;;0DAClB;AAErB;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6DACL;AAExB;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;8BACe,iBAAO;sEAAA;AAEjC;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACG,iBAAO;2EAAA;AAf9B,2BAA2B;IADvC,IAAA,gBAAI,EAAC,6BAA6B,CAAC;GACvB,2BAA2B,CA6BvC;AA7BY,kEAA2B"}
@@ -37,12 +37,12 @@ __decorate([
37
37
  ], Request.prototype, "items", void 0);
38
38
  __decorate([
39
39
  (0, ts_serval_1.serialize)(),
40
- (0, ts_serval_1.validate)({ nullable: true }),
40
+ (0, ts_serval_1.validate)({ nullable: true, max: 200 }),
41
41
  __metadata("design:type", String)
42
42
  ], Request.prototype, "title", void 0);
43
43
  __decorate([
44
44
  (0, ts_serval_1.serialize)(),
45
- (0, ts_serval_1.validate)({ nullable: true }),
45
+ (0, ts_serval_1.validate)({ nullable: true, max: 500 }),
46
46
  __metadata("design:type", String)
47
47
  ], Request.prototype, "description", void 0);
48
48
  __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../src/requests/Request.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA2F;AAC3F,gDAA8D;AA4EvD,IAAM,OAAO,GAAb,MAAM,OAAQ,SAAQ,wBAAY;IAyB9B,MAAM,CAAC,IAAI,CAAC,KAA4C;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEe,MAAM,CAAC,OAA6B,EAAE,iBAAuC;QACzF,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,iBAAiB,CAAgB,CAAA;IAClE,CAAC;CACJ,CAAA;AA/BG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACjB,kBAAM;mCAAA;AAElB;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACV,oBAAQ;0CAAA;AAE3B;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,eAAe,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE,CAAC;;sCAC3B;AAE3D;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI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E,QAAQ,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;;sCAClB;AAErB;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;;4CACZ;AAE3B;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yCACL;AAvBf,OAAO;IADnB,IAAA,gBAAI,EAAC,SAAS,CAAC;GACH,OAAO,CAgCnB;AAhCY,0BAAO"}
@@ -1,8 +1,6 @@
1
1
  import { ISerializable, Serializable } from "@js-soft/ts-serval";
2
2
  import { ContentJSON } from "../ContentJSON";
3
- import { AuthenticationRequestItem, AuthenticationRequestItemJSON, ConsentRequestItem, ConsentRequestItemJSON, IAuthenticationRequestItem, IConsentRequestItem, IProposeAttributeRequestItem, IReadAttributeRequestItem, IRegisterAttributeListenerRequestItem, ProposeAttributeRequestItem, ProposeAttributeRequestItemJSON, ReadAttributeRequestItem, ReadAttributeRequestItemJSON, RegisterAttributeListenerRequestItem, RegisterAttributeListenerRequestItemJSON } from "./items";
4
- import { CreateAttributeRequestItem, CreateAttributeRequestItemJSON, ICreateAttributeRequestItem } from "./items/createRelationshipAttribute/CreateAttributeRequestItem";
5
- import { IShareAttributeRequestItem, ShareAttributeRequestItem, ShareAttributeRequestItemJSON } from "./items/shareAttribute/ShareAttributeRequestItem";
3
+ import { AuthenticationRequestItem, AuthenticationRequestItemJSON, ConsentRequestItem, ConsentRequestItemJSON, CreateAttributeRequestItem, CreateAttributeRequestItemJSON, IAuthenticationRequestItem, IConsentRequestItem, ICreateAttributeRequestItem, IProposeAttributeRequestItem, IReadAttributeRequestItem, IRegisterAttributeListenerRequestItem, IShareAttributeRequestItem, ISucceedAttributeRequestItem, ProposeAttributeRequestItem, ProposeAttributeRequestItemJSON, ReadAttributeRequestItem, ReadAttributeRequestItemJSON, RegisterAttributeListenerRequestItem, RegisterAttributeListenerRequestItemJSON, ShareAttributeRequestItem, ShareAttributeRequestItemJSON, SucceedAttributeRequestItem, SucceedAttributeRequestItemJSON } from "./items";
6
4
  export interface RequestItemJSON extends ContentJSON {
7
5
  /**
8
6
  * The human-readable title of this item.
@@ -35,7 +33,7 @@ export interface RequestItemJSON extends ContentJSON {
35
33
  */
36
34
  requireManualDecision?: boolean;
37
35
  }
38
- export type RequestItemJSONDerivations = RequestItemJSON | CreateAttributeRequestItemJSON | ShareAttributeRequestItemJSON | ProposeAttributeRequestItemJSON | ReadAttributeRequestItemJSON | ConsentRequestItemJSON | AuthenticationRequestItemJSON | RegisterAttributeListenerRequestItemJSON;
36
+ export type RequestItemJSONDerivations = RequestItemJSON | CreateAttributeRequestItemJSON | ShareAttributeRequestItemJSON | ProposeAttributeRequestItemJSON | ReadAttributeRequestItemJSON | ConsentRequestItemJSON | AuthenticationRequestItemJSON | RegisterAttributeListenerRequestItemJSON | SucceedAttributeRequestItemJSON;
39
37
  export interface IRequestItem extends ISerializable {
40
38
  /**
41
39
  * The human-readable title of this item.
@@ -68,7 +66,7 @@ export interface IRequestItem extends ISerializable {
68
66
  */
69
67
  requireManualDecision?: boolean;
70
68
  }
71
- export type IRequestItemDerivations = IRequestItem | ICreateAttributeRequestItem | IShareAttributeRequestItem | IProposeAttributeRequestItem | IReadAttributeRequestItem | IConsentRequestItem | IAuthenticationRequestItem | IRegisterAttributeListenerRequestItem;
69
+ export type IRequestItemDerivations = IRequestItem | ICreateAttributeRequestItem | IShareAttributeRequestItem | IProposeAttributeRequestItem | IReadAttributeRequestItem | IConsentRequestItem | IAuthenticationRequestItem | IRegisterAttributeListenerRequestItem | ISucceedAttributeRequestItem;
72
70
  export declare abstract class RequestItem extends Serializable {
73
71
  title?: string;
74
72
  description?: string;
@@ -77,4 +75,4 @@ export declare abstract class RequestItem extends Serializable {
77
75
  requireManualDecision?: boolean;
78
76
  toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): RequestItemJSON;
79
77
  }
80
- export type RequestItemDerivations = RequestItem | CreateAttributeRequestItem | ShareAttributeRequestItem | ProposeAttributeRequestItem | ReadAttributeRequestItem | ConsentRequestItem | AuthenticationRequestItem | RegisterAttributeListenerRequestItem;
78
+ export type RequestItemDerivations = RequestItem | CreateAttributeRequestItem | ShareAttributeRequestItem | ProposeAttributeRequestItem | ReadAttributeRequestItem | ConsentRequestItem | AuthenticationRequestItem | RegisterAttributeListenerRequestItem | SucceedAttributeRequestItem;
@@ -18,12 +18,12 @@ class RequestItem extends ts_serval_1.Serializable {
18
18
  }
19
19
  __decorate([
20
20
  (0, ts_serval_1.serialize)(),
21
- (0, ts_serval_1.validate)({ nullable: true }),
21
+ (0, ts_serval_1.validate)({ nullable: true, max: 200 }),
22
22
  __metadata("design:type", String)
23
23
  ], RequestItem.prototype, "title", void 0);
24
24
  __decorate([
25
25
  (0, ts_serval_1.serialize)(),
26
- (0, ts_serval_1.validate)({ nullable: true }),
26
+ (0, ts_serval_1.validate)({ nullable: true, max: 500 }),
27
27
  __metadata("design:type", String)
28
28
  ], RequestItem.prototype, "description", void 0);
29
29
  __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"RequestItem.js","sourceRoot":"","sources":["../../src/requests/RequestItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAqF;AA4HrF,MAAsB,WAAY,SAAQ,wBAAY;IAqBlC,MAAM,CAAC,OAA6B,EAAE,iBAAuC;QACzF,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,iBAAiB,CAAoB,CAAA;IACtE,CAAC;CACJ;AAvBG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0CACR;AAErB;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;gDACF;AAE3B;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;mDACmB;AAE9B;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6CACL;AAExB;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0DACS;AAnB1C,kCAwBC"}
1
+ {"version":3,"file":"RequestItem.js","sourceRoot":"","sources":["../../src/requests/RequestItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAqF;AA6HrF,MAAsB,WAAY,SAAQ,wBAAY;IAqBlC,MAAM,CAAC,OAA6B,EAAE,iBAAuC;QACzF,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,iBAAiB,CAAoB,CAAA;IACtE,CAAC;CACJ;AAvBG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;;0CAClB;AAErB;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;;gDACZ;AAE3B;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;mDACmB;AAE9B;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6CACL;AAExB;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0DACS;AAnB1C,kCAwBC"}
@@ -31,12 +31,12 @@ let RequestItemGroup = RequestItemGroup_1 = class RequestItemGroup extends ts_se
31
31
  };
32
32
  __decorate([
33
33
  (0, ts_serval_1.serialize)(),
34
- (0, ts_serval_1.validate)({ nullable: true }),
34
+ (0, ts_serval_1.validate)({ nullable: true, max: 200 }),
35
35
  __metadata("design:type", String)
36
36
  ], RequestItemGroup.prototype, "title", void 0);
37
37
  __decorate([
38
38
  (0, ts_serval_1.serialize)(),
39
- (0, ts_serval_1.validate)({ nullable: true }),
39
+ (0, ts_serval_1.validate)({ nullable: true, max: 500 }),
40
40
  __metadata("design:type", String)
41
41
  ], RequestItemGroup.prototype, "description", void 0);
42
42
  __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"RequestItemGroup.js","sourceRoot":"","sources":["../../src/requests/RequestItemGroup.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,kDAA4G;AAC5G,uDAAyC;AAyFlC,IAAM,gBAAgB,wBAAtB,MAAM,gBAAiB,SAAQ,wBAAY;IAqBvC,MAAM,CAAC,IAAI,CAAC,KAA8D;QAC7E,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAES,MAAM,CAAU,QAAQ,CAAyB,KAAQ;QAC/D,IAAI,CAAC,CAAC,KAAK,YAAY,kBAAgB,CAAC;YAAE,MAAM,IAAI,KAAK,CAAC,0BAA0B,CAAC,CAAA;QAErF,IAAI,KAAK,CAAC,cAAc,IAAI,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,EAAE;YAC3E,MAAM,IAAI,2BAAe,CACrB,kBAAgB,CAAC,IAAI,EACrB,IAAA,yBAAM,EAAmB,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,cAAc,CAAC,EACjD,GAAG,IAAA,yBAAM,EACL,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,cAAc,CAC1B,wDAAwD,IAAA,yBAAM,EAC3D,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,cAAc,CAC1B,EAAE,CACN,CAAA;SACJ;QAED,OAAO,KAAK,CAAA;IAChB,CAAC;IAEe,MAAM,CACl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,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kDACL;AAnBf,gBAAgB;IAD5B,IAAA,gBAAI,EAAC,kBAAkB,CAAC;GACZ,gBAAgB,CAiD5B;AAjDY,4CAAgB"}
@@ -22,12 +22,19 @@ let ConsentRequestItem = class ConsentRequestItem extends RequestItem_1.RequestI
22
22
  };
23
23
  __decorate([
24
24
  (0, ts_serval_1.serialize)(),
25
- (0, ts_serval_1.validate)(),
25
+ (0, ts_serval_1.validate)({ max: 2000 }),
26
26
  __metadata("design:type", String)
27
27
  ], ConsentRequestItem.prototype, "consent", void 0);
28
28
  __decorate([
29
29
  (0, ts_serval_1.serialize)(),
30
- (0, ts_serval_1.validate)({ nullable: true }),
30
+ (0, ts_serval_1.validate)({
31
+ nullable: true,
32
+ min: 3,
33
+ max: 1024,
34
+ regExp: new RegExp(
35
+ // eslint-disable-next-line no-useless-escape
36
+ /^((([A-Za-z]{3,9}:(?:\/\/)?)(?:[\-;:&=\+\$,\w]+@)?[A-Za-z0-9\.\-]+|(?:www\.|[\-;:&=\+\$,\w]+@)[A-Za-z0-9\.\-]+)((?:\/[\+~%\/\.\w\-_]*)?\??(?:[\-\+=&;%@\.\w_]*)#?(?:[\.\!\/\\\w]*))?)$/i)
37
+ }),
31
38
  __metadata("design:type", String)
32
39
  ], ConsentRequestItem.prototype, "link", void 0);
33
40
  ConsentRequestItem = __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"ConsentRequestItem.js","sourceRoot":"","sources":["../../../../src/requests/items/consent/ConsentRequestItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,mDAA8E;AAcvE,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,yBAAW;IASxC,MAAM,CAAC,IAAI,CAAC,KAAkE;QACjF,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,CAA2B,CAAA;IAC7E,CAAC;CACJ,CAAA;AAlBG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;mDACW;AAEtB;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;gDACT;AAPX,kBAAkB;IAD9B,IAAA,gBAAI,EAAC,oBAAoB,CAAC;GACd,kBAAkB,CAmB9B;AAnBY,gDAAkB"}
1
+ {"version":3,"file":"ConsentRequestItem.js","sourceRoot":"","sources":["../../../../src/requests/items/consent/ConsentRequestItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,mDAA8E;AAcvE,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,yBAAW;IAiBxC,MAAM,CAAC,IAAI,CAAC,KAAkE;QACjF,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,CAA2B,CAAA;IAC7E,CAAC;CACJ,CAAA;AA1BG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC;;mDACF;AAEtB;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC;QACN,QAAQ,EAAE,IAAI;QACd,GAAG,EAAE,CAAC;QACN,GAAG,EAAE,IAAI;QACT,MAAM,EAAE,IAAI,MAAM;QACd,6CAA6C;QAC7C,yLAAyL,CAC5L;KACJ,CAAC;;gDACkB;AAfX,kBAAkB;IAD9B,IAAA,gBAAI,EAAC,oBAAoB,CAAC;GACd,kBAAkB,CA2B9B;AA3BY,gDAAkB"}
@@ -10,3 +10,5 @@ export * from "./registerAttributeListener/RegisterAttributeListenerAcceptRespon
10
10
  export * from "./registerAttributeListener/RegisterAttributeListenerRequestItem";
11
11
  export * from "./shareAttribute/ShareAttributeAcceptResponseItem";
12
12
  export * from "./shareAttribute/ShareAttributeRequestItem";
13
+ export * from "./succeedAttribute/SucceedAttributeAcceptResponseItem";
14
+ export * from "./succeedAttribute/SucceedAttributeRequestItem";
@@ -26,4 +26,6 @@ __exportStar(require("./registerAttributeListener/RegisterAttributeListenerAccep
26
26
  __exportStar(require("./registerAttributeListener/RegisterAttributeListenerRequestItem"), exports);
27
27
  __exportStar(require("./shareAttribute/ShareAttributeAcceptResponseItem"), exports);
28
28
  __exportStar(require("./shareAttribute/ShareAttributeRequestItem"), exports);
29
+ __exportStar(require("./succeedAttribute/SucceedAttributeAcceptResponseItem"), exports);
30
+ __exportStar(require("./succeedAttribute/SucceedAttributeRequestItem"), exports);
29
31
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/requests/items/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6EAA0D;AAC1D,+DAA4C;AAC5C,kGAA+E;AAC/E,2FAAwE;AACxE,wFAAqE;AACrE,iFAA8D;AAC9D,kFAA+D;AAC/D,2EAAwD;AACxD,0GAAuF;AACvF,mGAAgF;AAChF,oFAAiE;AACjE,6EAA0D"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/requests/items/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6EAA0D;AAC1D,+DAA4C;AAC5C,kGAA+E;AAC/E,2FAAwE;AACxE,wFAAqE;AACrE,iFAA8D;AAC9D,kFAA+D;AAC/D,2EAAwD;AACxD,0GAAuF;AACvF,mGAAgF;AAChF,oFAAiE;AACjE,6EAA0D;AAC1D,wFAAqE;AACrE,iFAA8D"}
@@ -22,7 +22,7 @@ let RegisterAttributeListenerAcceptResponseItem = class RegisterAttributeListene
22
22
  };
23
23
  __decorate([
24
24
  (0, ts_serval_1.serialize)(),
25
- (0, ts_serval_1.validate)(),
25
+ (0, ts_serval_1.validate)({ max: 30 }),
26
26
  __metadata("design:type", String)
27
27
  ], RegisterAttributeListenerAcceptResponseItem.prototype, "listenerId", void 0);
28
28
  RegisterAttributeListenerAcceptResponseItem = __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"RegisterAttributeListenerAcceptResponseItem.js","sourceRoot":"","sources":["../../../../src/requests/items/registerAttributeListener/RegisterAttributeListenerAcceptResponseItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,6CAAgG;AAYzF,IAAM,2CAA2C,GAAjD,MAAM,2CAA4C,SAAQ,6BAAkB;IAKxE,MAAM,CAAU,IAAI,CACvB,KAAqG;QAErG,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,CAAoD,CAAA;IACtG,CAAC;CACJ,CAAA;AAhBG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;+EACc;AAHhB,2CAA2C;IADvD,IAAA,gBAAI,EAAC,6CAA6C,CAAC;GACvC,2CAA2C,CAiBvD;AAjBY,kGAA2C"}
1
+ {"version":3,"file":"RegisterAttributeListenerAcceptResponseItem.js","sourceRoot":"","sources":["../../../../src/requests/items/registerAttributeListener/RegisterAttributeListenerAcceptResponseItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,6CAAgG;AAYzF,IAAM,2CAA2C,GAAjD,MAAM,2CAA4C,SAAQ,6BAAkB;IAKxE,MAAM,CAAU,IAAI,CACvB,KAAqG;QAErG,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,CAAoD,CAAA;IACtG,CAAC;CACJ,CAAA;AAhBG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,GAAG,EAAE,EAAE,EAAE,CAAC;;+EACG;AAHhB,2CAA2C;IADvD,IAAA,gBAAI,EAAC,6CAA6C,CAAC;GACvC,2CAA2C,CAiBvD;AAjBY,kGAA2C"}
@@ -0,0 +1,14 @@
1
+ import { CoreId, ICoreId } from "@nmshd/transport";
2
+ import { AcceptResponseItem, AcceptResponseItemJSON, IAcceptResponseItem } from "../../response";
3
+ export interface SucceedAttributeAcceptResponseItemJSON extends AcceptResponseItemJSON {
4
+ "@type": "SucceedAttributeAcceptResponseItem";
5
+ attributeId: string;
6
+ }
7
+ export interface ISucceedAttributeAcceptResponseItem extends IAcceptResponseItem {
8
+ attributeId: ICoreId;
9
+ }
10
+ export declare class SucceedAttributeAcceptResponseItem extends AcceptResponseItem implements ISucceedAttributeAcceptResponseItem {
11
+ attributeId: CoreId;
12
+ static from(value: ISucceedAttributeAcceptResponseItem | SucceedAttributeAcceptResponseItemJSON): SucceedAttributeAcceptResponseItem;
13
+ toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): SucceedAttributeAcceptResponseItemJSON;
14
+ }
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.SucceedAttributeAcceptResponseItem = void 0;
13
+ const ts_serval_1 = require("@js-soft/ts-serval");
14
+ const transport_1 = require("@nmshd/transport");
15
+ const response_1 = require("../../response");
16
+ let SucceedAttributeAcceptResponseItem = class SucceedAttributeAcceptResponseItem extends response_1.AcceptResponseItem {
17
+ static from(value) {
18
+ return this.fromAny(value);
19
+ }
20
+ toJSON(verbose, serializeAsString) {
21
+ return super.toJSON(verbose, serializeAsString);
22
+ }
23
+ };
24
+ __decorate([
25
+ (0, ts_serval_1.serialize)(),
26
+ (0, ts_serval_1.validate)(),
27
+ __metadata("design:type", transport_1.CoreId)
28
+ ], SucceedAttributeAcceptResponseItem.prototype, "attributeId", void 0);
29
+ SucceedAttributeAcceptResponseItem = __decorate([
30
+ (0, ts_serval_1.type)("SucceedAttributeAcceptResponseItem")
31
+ ], SucceedAttributeAcceptResponseItem);
32
+ exports.SucceedAttributeAcceptResponseItem = SucceedAttributeAcceptResponseItem;
33
+ //# sourceMappingURL=SucceedAttributeAcceptResponseItem.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SucceedAttributeAcceptResponseItem.js","sourceRoot":"","sources":["../../../../src/requests/items/succeedAttribute/SucceedAttributeAcceptResponseItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,gDAAkD;AAClD,6CAAgG;AAYzF,IAAM,kCAAkC,GAAxC,MAAM,kCACT,SAAQ,6BAAkB;IAOnB,MAAM,CAAU,IAAI,CACvB,KAAmF;QAEnF,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,CAA2C,CAAA;IAC7F,CAAC;CACJ,CAAA;AAhBG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;8BACS,kBAAM;uEAAA;AANjB,kCAAkC;IAD9C,IAAA,gBAAI,EAAC,oCAAoC,CAAC;GAC9B,kCAAkC,CAoB9C;AApBY,gFAAkC"}
@@ -0,0 +1,40 @@
1
+ import { Serializable } from "@js-soft/ts-serval";
2
+ import { CoreId, ICoreId } from "@nmshd/transport";
3
+ import { IdentityAttribute, IdentityAttributeJSON, IIdentityAttribute, IRelationshipAttribute, RelationshipAttribute, RelationshipAttributeJSON } from "../../../attributes";
4
+ import { IRequestItem, RequestItem, RequestItemJSON } from "../../RequestItem";
5
+ export interface SucceedAttributeRequestItemJSON extends RequestItemJSON {
6
+ /**
7
+ * The id of the Attribute to be succeeded.
8
+ */
9
+ succeededId: string;
10
+ /**
11
+ * The succeeded Attribute with the updated validTo date. Its validTo date must be lower than the validFrom date of the new Attribute.
12
+ */
13
+ succeededAttribute: IdentityAttributeJSON | RelationshipAttributeJSON;
14
+ /**
15
+ * The new Attribute. Its validFrom date must be greater than the validTo date of the succeeded Attribute.
16
+ */
17
+ newAttribute: IdentityAttributeJSON | RelationshipAttributeJSON;
18
+ }
19
+ export interface ISucceedAttributeRequestItem extends IRequestItem {
20
+ /**
21
+ * The id of the Attribute to be succeeded.
22
+ */
23
+ succeededId: ICoreId;
24
+ /**
25
+ * The succeeded Attribute with the updated validTo date. Its validTo date must be lower than the validFrom date of the new Attribute.
26
+ */
27
+ succeededAttribute: IIdentityAttribute | IRelationshipAttribute;
28
+ /**
29
+ * The new Attribute. Its validFrom date must be greater than the validTo date of the succeeded Attribute.
30
+ */
31
+ newAttribute: IIdentityAttribute | IRelationshipAttribute;
32
+ }
33
+ export declare class SucceedAttributeRequestItem extends RequestItem implements ISucceedAttributeRequestItem {
34
+ succeededId: CoreId;
35
+ succeededAttribute: IdentityAttribute | RelationshipAttribute;
36
+ newAttribute: IdentityAttribute | RelationshipAttribute;
37
+ protected static postFrom<T extends Serializable>(value: T): T;
38
+ static from(value: ISucceedAttributeRequestItem | SucceedAttributeRequestItemJSON): SucceedAttributeRequestItem;
39
+ toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): SucceedAttributeRequestItemJSON;
40
+ }