@nmshd/content 6.3.1 → 6.5.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 (21) hide show
  1. package/dist/buildInformation.js +4 -4
  2. package/dist/notifications/items/ThirdPartyRelationshipAttributeDeletedByPeerNotificationItem.d.ts +14 -0
  3. package/dist/notifications/items/ThirdPartyRelationshipAttributeDeletedByPeerNotificationItem.d.ts.map +1 -0
  4. package/dist/notifications/items/{ThirdPartyOwnedRelationshipAttributeDeletedByPeerNotificationItem.js → ThirdPartyRelationshipAttributeDeletedByPeerNotificationItem.js} +10 -8
  5. package/dist/notifications/items/ThirdPartyRelationshipAttributeDeletedByPeerNotificationItem.js.map +1 -0
  6. package/dist/notifications/items/index.d.ts +1 -1
  7. package/dist/notifications/items/index.d.ts.map +1 -1
  8. package/dist/notifications/items/index.js +1 -1
  9. package/dist/notifications/items/index.js.map +1 -1
  10. package/dist/requests/items/readAttribute/ReadAttributeAcceptResponseItem.d.ts +4 -1
  11. package/dist/requests/items/readAttribute/ReadAttributeAcceptResponseItem.d.ts.map +1 -1
  12. package/dist/requests/items/readAttribute/ReadAttributeAcceptResponseItem.js +5 -0
  13. package/dist/requests/items/readAttribute/ReadAttributeAcceptResponseItem.js.map +1 -1
  14. package/dist/requests/items/shareAttribute/ShareAttributeRequestItem.d.ts +4 -1
  15. package/dist/requests/items/shareAttribute/ShareAttributeRequestItem.d.ts.map +1 -1
  16. package/dist/requests/items/shareAttribute/ShareAttributeRequestItem.js +5 -0
  17. package/dist/requests/items/shareAttribute/ShareAttributeRequestItem.js.map +1 -1
  18. package/package.json +2 -2
  19. package/dist/notifications/items/ThirdPartyOwnedRelationshipAttributeDeletedByPeerNotificationItem.d.ts +0 -14
  20. package/dist/notifications/items/ThirdPartyOwnedRelationshipAttributeDeletedByPeerNotificationItem.d.ts.map +0 -1
  21. package/dist/notifications/items/ThirdPartyOwnedRelationshipAttributeDeletedByPeerNotificationItem.js.map +0 -1
@@ -3,10 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.buildInformation = void 0;
4
4
  const ts_serval_1 = require("@js-soft/ts-serval");
5
5
  exports.buildInformation = {
6
- version: "6.3.1",
7
- build: "166",
8
- date: "2024-10-14T14:00:44+00:00",
9
- commit: "5bcc4ef3236e8c5c74fbfeca2f51f3422e5e670e",
6
+ version: "6.5.0",
7
+ build: "168",
8
+ date: "2024-10-23T15:01:26+00:00",
9
+ commit: "0ff6901f3c7e9eba7f4335a6f3b7823fab3a6451",
10
10
  dependencies: {"@js-soft/ts-serval":"2.0.11","@nmshd/core-types":"*","@nmshd/iql":"^1.0.2","luxon":"^3.5.0","ts-simple-nameof":"^1.3.1"},
11
11
  libraries: { serval: ts_serval_1.buildInformation }
12
12
  };
@@ -0,0 +1,14 @@
1
+ import { CoreId, ICoreId } from "@nmshd/core-types";
2
+ import { INotificationItem, NotificationItem, NotificationItemJSON } from "../NotificationItem";
3
+ export interface ThirdPartyRelationshipAttributeDeletedByPeerNotificationItemJSON extends NotificationItemJSON {
4
+ "@type": "ThirdPartyRelationshipAttributeDeletedByPeerNotificationItem";
5
+ attributeId: string;
6
+ }
7
+ export interface IThirdPartyRelationshipAttributeDeletedByPeerNotificationItem extends INotificationItem {
8
+ attributeId: ICoreId;
9
+ }
10
+ export declare class ThirdPartyRelationshipAttributeDeletedByPeerNotificationItem extends NotificationItem implements IThirdPartyRelationshipAttributeDeletedByPeerNotificationItem {
11
+ attributeId: CoreId;
12
+ static from(value: IThirdPartyRelationshipAttributeDeletedByPeerNotificationItem | Omit<ThirdPartyRelationshipAttributeDeletedByPeerNotificationItemJSON, "@type">): ThirdPartyRelationshipAttributeDeletedByPeerNotificationItem;
13
+ }
14
+ //# sourceMappingURL=ThirdPartyRelationshipAttributeDeletedByPeerNotificationItem.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ThirdPartyRelationshipAttributeDeletedByPeerNotificationItem.d.ts","sourceRoot":"","sources":["../../../src/notifications/items/ThirdPartyRelationshipAttributeDeletedByPeerNotificationItem.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAEhG,MAAM,WAAW,gEAAiE,SAAQ,oBAAoB;IAC1G,OAAO,EAAE,8DAA8D,CAAC;IACxE,WAAW,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,6DAA8D,SAAQ,iBAAiB;IACpG,WAAW,EAAE,OAAO,CAAC;CACxB;AAGD,qBAEa,4DAA6D,SAAQ,gBAAiB,YAAW,6DAA6D;IAGhK,WAAW,EAAE,MAAM,CAAC;WAEb,IAAI,CACd,KAAK,EAAE,6DAA6D,GAAG,IAAI,CAAC,gEAAgE,EAAE,OAAO,CAAC,GACvJ,4DAA4D;CAGlE"}
@@ -9,22 +9,24 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.ThirdPartyOwnedRelationshipAttributeDeletedByPeerNotificationItem = void 0;
12
+ exports.ThirdPartyRelationshipAttributeDeletedByPeerNotificationItem = void 0;
13
13
  const ts_serval_1 = require("@js-soft/ts-serval");
14
14
  const core_types_1 = require("@nmshd/core-types");
15
15
  const NotificationItem_1 = require("../NotificationItem");
16
- let ThirdPartyOwnedRelationshipAttributeDeletedByPeerNotificationItem = class ThirdPartyOwnedRelationshipAttributeDeletedByPeerNotificationItem extends NotificationItem_1.NotificationItem {
16
+ // deprecated
17
+ let ThirdPartyRelationshipAttributeDeletedByPeerNotificationItem = class ThirdPartyRelationshipAttributeDeletedByPeerNotificationItem extends NotificationItem_1.NotificationItem {
17
18
  static from(value) {
18
19
  return this.fromAny(value);
19
20
  }
20
21
  };
21
- exports.ThirdPartyOwnedRelationshipAttributeDeletedByPeerNotificationItem = ThirdPartyOwnedRelationshipAttributeDeletedByPeerNotificationItem;
22
+ exports.ThirdPartyRelationshipAttributeDeletedByPeerNotificationItem = ThirdPartyRelationshipAttributeDeletedByPeerNotificationItem;
22
23
  __decorate([
23
24
  (0, ts_serval_1.validate)(),
24
25
  (0, ts_serval_1.serialize)(),
25
26
  __metadata("design:type", core_types_1.CoreId)
26
- ], ThirdPartyOwnedRelationshipAttributeDeletedByPeerNotificationItem.prototype, "attributeId", void 0);
27
- exports.ThirdPartyOwnedRelationshipAttributeDeletedByPeerNotificationItem = ThirdPartyOwnedRelationshipAttributeDeletedByPeerNotificationItem = __decorate([
28
- (0, ts_serval_1.type)("ThirdPartyOwnedRelationshipAttributeDeletedByPeerNotificationItem")
29
- ], ThirdPartyOwnedRelationshipAttributeDeletedByPeerNotificationItem);
30
- //# sourceMappingURL=ThirdPartyOwnedRelationshipAttributeDeletedByPeerNotificationItem.js.map
27
+ ], ThirdPartyRelationshipAttributeDeletedByPeerNotificationItem.prototype, "attributeId", void 0);
28
+ exports.ThirdPartyRelationshipAttributeDeletedByPeerNotificationItem = ThirdPartyRelationshipAttributeDeletedByPeerNotificationItem = __decorate([
29
+ (0, ts_serval_1.type)("ThirdPartyOwnedRelationshipAttributeDeletedByPeerNotificationItem"),
30
+ (0, ts_serval_1.type)("ThirdPartyRelationshipAttributeDeletedByPeerNotificationItem")
31
+ ], ThirdPartyRelationshipAttributeDeletedByPeerNotificationItem);
32
+ //# sourceMappingURL=ThirdPartyRelationshipAttributeDeletedByPeerNotificationItem.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ThirdPartyRelationshipAttributeDeletedByPeerNotificationItem.js","sourceRoot":"","sources":["../../../src/notifications/items/ThirdPartyRelationshipAttributeDeletedByPeerNotificationItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA+D;AAC/D,kDAAoD;AACpD,0DAAgG;AAWhG,aAAa;AAGN,IAAM,4DAA4D,GAAlE,MAAM,4DAA6D,SAAQ,mCAAgB;IAKvF,MAAM,CAAC,IAAI,CACd,KAAsJ;QAEtJ,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;CACJ,CAAA;AAVY,oIAA4D;AAG9D;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACQ,mBAAM;iGAAC;uEAHlB,4DAA4D;IAFxE,IAAA,gBAAI,EAAC,mEAAmE,CAAC;IACzE,IAAA,gBAAI,EAAC,8DAA8D,CAAC;GACxD,4DAA4D,CAUxE"}
@@ -1,5 +1,5 @@
1
1
  export * from "./OwnSharedAttributeDeletedByOwnerNotificationItem";
2
2
  export * from "./PeerSharedAttributeDeletedByPeerNotificationItem";
3
3
  export * from "./PeerSharedAttributeSucceededNotificationItem";
4
- export * from "./ThirdPartyOwnedRelationshipAttributeDeletedByPeerNotificationItem";
4
+ export * from "./ThirdPartyRelationshipAttributeDeletedByPeerNotificationItem";
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/notifications/items/index.ts"],"names":[],"mappings":"AAAA,cAAc,oDAAoD,CAAC;AACnE,cAAc,oDAAoD,CAAC;AACnE,cAAc,gDAAgD,CAAC;AAC/D,cAAc,qEAAqE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/notifications/items/index.ts"],"names":[],"mappings":"AAAA,cAAc,oDAAoD,CAAC;AACnE,cAAc,oDAAoD,CAAC;AACnE,cAAc,gDAAgD,CAAC;AAC/D,cAAc,gEAAgE,CAAC"}
@@ -17,5 +17,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./OwnSharedAttributeDeletedByOwnerNotificationItem"), exports);
18
18
  __exportStar(require("./PeerSharedAttributeDeletedByPeerNotificationItem"), exports);
19
19
  __exportStar(require("./PeerSharedAttributeSucceededNotificationItem"), exports);
20
- __exportStar(require("./ThirdPartyOwnedRelationshipAttributeDeletedByPeerNotificationItem"), exports);
20
+ __exportStar(require("./ThirdPartyRelationshipAttributeDeletedByPeerNotificationItem"), exports);
21
21
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/notifications/items/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qFAAmE;AACnE,qFAAmE;AACnE,iFAA+D;AAC/D,sGAAoF"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/notifications/items/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qFAAmE;AACnE,qFAAmE;AACnE,iFAA+D;AAC/D,iGAA+E"}
@@ -1,18 +1,21 @@
1
- import { CoreId, ICoreId } from "@nmshd/core-types";
1
+ import { CoreAddress, CoreId, ICoreId } from "@nmshd/core-types";
2
2
  import { IdentityAttribute, IdentityAttributeJSON, IIdentityAttribute, IRelationshipAttribute, RelationshipAttribute, RelationshipAttributeJSON } from "../../../attributes";
3
3
  import { AcceptResponseItem, AcceptResponseItemJSON, IAcceptResponseItem } from "../../response";
4
4
  export interface ReadAttributeAcceptResponseItemJSON extends AcceptResponseItemJSON {
5
5
  "@type": "ReadAttributeAcceptResponseItem";
6
6
  attributeId: string;
7
7
  attribute: IdentityAttributeJSON | RelationshipAttributeJSON;
8
+ thirdPartyAddress?: string;
8
9
  }
9
10
  export interface IReadAttributeAcceptResponseItem extends IAcceptResponseItem {
10
11
  attributeId: ICoreId;
11
12
  attribute: IIdentityAttribute | IRelationshipAttribute;
13
+ thirdPartyAddress?: CoreAddress;
12
14
  }
13
15
  export declare class ReadAttributeAcceptResponseItem extends AcceptResponseItem implements IReadAttributeAcceptResponseItem {
14
16
  attributeId: CoreId;
15
17
  attribute: IdentityAttribute | RelationshipAttribute;
18
+ thirdPartyAddress?: CoreAddress;
16
19
  static from(value: IReadAttributeAcceptResponseItem | Omit<ReadAttributeAcceptResponseItemJSON, "@type"> | ReadAttributeAcceptResponseItemJSON): ReadAttributeAcceptResponseItem;
17
20
  toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): ReadAttributeAcceptResponseItemJSON;
18
21
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ReadAttributeAcceptResponseItem.d.ts","sourceRoot":"","sources":["../../../../src/requests/items/readAttribute/ReadAttributeAcceptResponseItem.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,yBAAyB,EAAE,MAAM,qBAAqB,CAAC;AAC7K,OAAO,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAEjG,MAAM,WAAW,mCAAoC,SAAQ,sBAAsB;IAC/E,OAAO,EAAE,iCAAiC,CAAC;IAC3C,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,qBAAqB,GAAG,yBAAyB,CAAC;CAChE;AAED,MAAM,WAAW,gCAAiC,SAAQ,mBAAmB;IACzE,WAAW,EAAE,OAAO,CAAC;IACrB,SAAS,EAAE,kBAAkB,GAAG,sBAAsB,CAAC;CAC1D;AAED,qBACa,+BAAgC,SAAQ,kBAAmB,YAAW,gCAAgC;IAGxG,WAAW,EAAE,MAAM,CAAC;IAIpB,SAAS,EAAE,iBAAiB,GAAG,qBAAqB,CAAC;WAErC,IAAI,CACvB,KAAK,EAAE,gCAAgC,GAAG,IAAI,CAAC,mCAAmC,EAAE,OAAO,CAAC,GAAG,mCAAmC,GACnI,+BAA+B;IAIlB,MAAM,CAAC,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,EAAE,iBAAiB,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,mCAAmC;CAGtI"}
1
+ {"version":3,"file":"ReadAttributeAcceptResponseItem.d.ts","sourceRoot":"","sources":["../../../../src/requests/items/readAttribute/ReadAttributeAcceptResponseItem.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACjE,OAAO,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,yBAAyB,EAAE,MAAM,qBAAqB,CAAC;AAC7K,OAAO,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAEjG,MAAM,WAAW,mCAAoC,SAAQ,sBAAsB;IAC/E,OAAO,EAAE,iCAAiC,CAAC;IAC3C,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,qBAAqB,GAAG,yBAAyB,CAAC;IAC7D,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED,MAAM,WAAW,gCAAiC,SAAQ,mBAAmB;IACzE,WAAW,EAAE,OAAO,CAAC;IACrB,SAAS,EAAE,kBAAkB,GAAG,sBAAsB,CAAC;IACvD,iBAAiB,CAAC,EAAE,WAAW,CAAC;CACnC;AAED,qBACa,+BAAgC,SAAQ,kBAAmB,YAAW,gCAAgC;IAGxG,WAAW,EAAE,MAAM,CAAC;IAIpB,SAAS,EAAE,iBAAiB,GAAG,qBAAqB,CAAC;IAIrD,iBAAiB,CAAC,EAAE,WAAW,CAAC;WAEhB,IAAI,CACvB,KAAK,EAAE,gCAAgC,GAAG,IAAI,CAAC,mCAAmC,EAAE,OAAO,CAAC,GAAG,mCAAmC,GACnI,+BAA+B;IAIlB,MAAM,CAAC,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,EAAE,iBAAiB,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,mCAAmC;CAGtI"}
@@ -33,6 +33,11 @@ __decorate([
33
33
  (0, ts_serval_1.validate)(),
34
34
  __metadata("design:type", Object)
35
35
  ], ReadAttributeAcceptResponseItem.prototype, "attribute", void 0);
36
+ __decorate([
37
+ (0, ts_serval_1.serialize)(),
38
+ (0, ts_serval_1.validate)({ nullable: true }),
39
+ __metadata("design:type", core_types_1.CoreAddress)
40
+ ], ReadAttributeAcceptResponseItem.prototype, "thirdPartyAddress", void 0);
36
41
  exports.ReadAttributeAcceptResponseItem = ReadAttributeAcceptResponseItem = __decorate([
37
42
  (0, ts_serval_1.type)("ReadAttributeAcceptResponseItem")
38
43
  ], ReadAttributeAcceptResponseItem);
@@ -1 +1 @@
1
- {"version":3,"file":"ReadAttributeAcceptResponseItem.js","sourceRoot":"","sources":["../../../../src/requests/items/readAttribute/ReadAttributeAcceptResponseItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA+D;AAC/D,kDAAoD;AACpD,oDAA6K;AAC7K,6CAAiG;AAc1F,IAAM,+BAA+B,GAArC,MAAM,+BAAgC,SAAQ,6BAAkB;IAS5D,MAAM,CAAU,IAAI,CACvB,KAAkI;QAElI,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;IAEe,MAAM,CAAC,OAA6B,EAAE,iBAAuC;QACzF,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,iBAAiB,CAAwC,CAAC;IAC3F,CAAC;CACJ,CAAA;AAlBY,0EAA+B;AAGjC;IAFN,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;8BACS,mBAAM;oEAAC;AAIpB;IAFN,IAAA,qBAAS,EAAC,EAAE,UAAU,EAAE,CAAC,8BAAiB,EAAE,kCAAqB,CAAC,EAAE,CAAC;IACrE,IAAA,oBAAQ,GAAE;;kEACiD;0CAPnD,+BAA+B;IAD3C,IAAA,gBAAI,EAAC,iCAAiC,CAAC;GAC3B,+BAA+B,CAkB3C"}
1
+ {"version":3,"file":"ReadAttributeAcceptResponseItem.js","sourceRoot":"","sources":["../../../../src/requests/items/readAttribute/ReadAttributeAcceptResponseItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA+D;AAC/D,kDAAiE;AACjE,oDAA6K;AAC7K,6CAAiG;AAgB1F,IAAM,+BAA+B,GAArC,MAAM,+BAAgC,SAAQ,6BAAkB;IAa5D,MAAM,CAAU,IAAI,CACvB,KAAkI;QAElI,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;IAEe,MAAM,CAAC,OAA6B,EAAE,iBAAuC;QACzF,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,iBAAiB,CAAwC,CAAC;IAC3F,CAAC;CACJ,CAAA;AAtBY,0EAA+B;AAGjC;IAFN,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;8BACS,mBAAM;oEAAC;AAIpB;IAFN,IAAA,qBAAS,EAAC,EAAE,UAAU,EAAE,CAAC,8BAAiB,EAAE,kCAAqB,CAAC,EAAE,CAAC;IACrE,IAAA,oBAAQ,GAAE;;kEACiD;AAIrD;IAFN,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACF,wBAAW;0EAAC;0CAX9B,+BAA+B;IAD3C,IAAA,gBAAI,EAAC,iCAAiC,CAAC;GAC3B,+BAA+B,CAsB3C"}
@@ -1,4 +1,4 @@
1
- import { CoreId, ICoreId } from "@nmshd/core-types";
1
+ import { CoreAddress, CoreId, ICoreId } from "@nmshd/core-types";
2
2
  import { RequestItemJSON } from "../..";
3
3
  import { IdentityAttribute, IdentityAttributeJSON, IIdentityAttribute, IRelationshipAttribute, RelationshipAttribute, RelationshipAttributeJSON } from "../../../attributes";
4
4
  import { IRequestItem, RequestItem } from "../../RequestItem";
@@ -6,14 +6,17 @@ export interface ShareAttributeRequestItemJSON extends RequestItemJSON {
6
6
  "@type": "ShareAttributeRequestItem";
7
7
  attribute: IdentityAttributeJSON | RelationshipAttributeJSON;
8
8
  sourceAttributeId: string;
9
+ thirdPartyAddress?: string;
9
10
  }
10
11
  export interface IShareAttributeRequestItem extends IRequestItem {
11
12
  attribute: IIdentityAttribute | IRelationshipAttribute;
12
13
  sourceAttributeId: ICoreId;
14
+ thirdPartyAddress?: CoreAddress;
13
15
  }
14
16
  export declare class ShareAttributeRequestItem extends RequestItem implements IShareAttributeRequestItem {
15
17
  attribute: IdentityAttribute | RelationshipAttribute;
16
18
  sourceAttributeId: CoreId;
19
+ thirdPartyAddress?: CoreAddress;
17
20
  static from(value: IShareAttributeRequestItem | Omit<ShareAttributeRequestItemJSON, "@type"> | ShareAttributeRequestItemJSON): ShareAttributeRequestItem;
18
21
  toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): ShareAttributeRequestItemJSON;
19
22
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ShareAttributeRequestItem.d.ts","sourceRoot":"","sources":["../../../../src/requests/items/shareAttribute/ShareAttributeRequestItem.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,yBAAyB,EAAE,MAAM,qBAAqB,CAAC;AAC7K,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAE9D,MAAM,WAAW,6BAA8B,SAAQ,eAAe;IAClE,OAAO,EAAE,2BAA2B,CAAC;IACrC,SAAS,EAAE,qBAAqB,GAAG,yBAAyB,CAAC;IAC7D,iBAAiB,EAAE,MAAM,CAAC;CAC7B;AAED,MAAM,WAAW,0BAA2B,SAAQ,YAAY;IAC5D,SAAS,EAAE,kBAAkB,GAAG,sBAAsB,CAAC;IACvD,iBAAiB,EAAE,OAAO,CAAC;CAC9B;AAED,qBACa,yBAA0B,SAAQ,WAAY,YAAW,0BAA0B;IAGrF,SAAS,EAAE,iBAAiB,GAAG,qBAAqB,CAAC;IAIrD,iBAAiB,EAAE,MAAM,CAAC;WAEnB,IAAI,CAAC,KAAK,EAAE,0BAA0B,GAAG,IAAI,CAAC,6BAA6B,EAAE,OAAO,CAAC,GAAG,6BAA6B,GAAG,yBAAyB;IAI/I,MAAM,CAAC,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,EAAE,iBAAiB,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,6BAA6B;CAGhI"}
1
+ {"version":3,"file":"ShareAttributeRequestItem.d.ts","sourceRoot":"","sources":["../../../../src/requests/items/shareAttribute/ShareAttributeRequestItem.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACjE,OAAO,EAAE,eAAe,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,yBAAyB,EAAE,MAAM,qBAAqB,CAAC;AAC7K,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAE9D,MAAM,WAAW,6BAA8B,SAAQ,eAAe;IAClE,OAAO,EAAE,2BAA2B,CAAC;IACrC,SAAS,EAAE,qBAAqB,GAAG,yBAAyB,CAAC;IAC7D,iBAAiB,EAAE,MAAM,CAAC;IAC1B,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED,MAAM,WAAW,0BAA2B,SAAQ,YAAY;IAC5D,SAAS,EAAE,kBAAkB,GAAG,sBAAsB,CAAC;IACvD,iBAAiB,EAAE,OAAO,CAAC;IAC3B,iBAAiB,CAAC,EAAE,WAAW,CAAC;CACnC;AAED,qBACa,yBAA0B,SAAQ,WAAY,YAAW,0BAA0B;IAGrF,SAAS,EAAE,iBAAiB,GAAG,qBAAqB,CAAC;IAIrD,iBAAiB,EAAE,MAAM,CAAC;IAI1B,iBAAiB,CAAC,EAAE,WAAW,CAAC;WAEzB,IAAI,CAAC,KAAK,EAAE,0BAA0B,GAAG,IAAI,CAAC,6BAA6B,EAAE,OAAO,CAAC,GAAG,6BAA6B,GAAG,yBAAyB;IAI/I,MAAM,CAAC,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,EAAE,iBAAiB,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,6BAA6B;CAGhI"}
@@ -33,6 +33,11 @@ __decorate([
33
33
  (0, ts_serval_1.validate)(),
34
34
  __metadata("design:type", core_types_1.CoreId)
35
35
  ], ShareAttributeRequestItem.prototype, "sourceAttributeId", void 0);
36
+ __decorate([
37
+ (0, ts_serval_1.serialize)(),
38
+ (0, ts_serval_1.validate)({ nullable: true }),
39
+ __metadata("design:type", core_types_1.CoreAddress)
40
+ ], ShareAttributeRequestItem.prototype, "thirdPartyAddress", void 0);
36
41
  exports.ShareAttributeRequestItem = ShareAttributeRequestItem = __decorate([
37
42
  (0, ts_serval_1.type)("ShareAttributeRequestItem")
38
43
  ], ShareAttributeRequestItem);
@@ -1 +1 @@
1
- {"version":3,"file":"ShareAttributeRequestItem.js","sourceRoot":"","sources":["../../../../src/requests/items/shareAttribute/ShareAttributeRequestItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA+D;AAC/D,kDAAoD;AAEpD,oDAA6K;AAC7K,mDAA8D;AAcvD,IAAM,yBAAyB,GAA/B,MAAM,yBAA0B,SAAQ,yBAAW;IAS/C,MAAM,CAAC,IAAI,CAAC,KAAgH;QAC/H,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;IAEe,MAAM,CAAC,OAA6B,EAAE,iBAAuC;QACzF,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,iBAAiB,CAAkC,CAAC;IACrF,CAAC;CACJ,CAAA;AAhBY,8DAAyB;AAG3B;IAFN,IAAA,qBAAS,EAAC,EAAE,UAAU,EAAE,CAAC,8BAAiB,EAAE,kCAAqB,CAAC,EAAE,CAAC;IACrE,IAAA,oBAAQ,GAAE;;4DACiD;AAIrD;IAFN,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;8BACe,mBAAM;oEAAC;oCAPxB,yBAAyB;IADrC,IAAA,gBAAI,EAAC,2BAA2B,CAAC;GACrB,yBAAyB,CAgBrC"}
1
+ {"version":3,"file":"ShareAttributeRequestItem.js","sourceRoot":"","sources":["../../../../src/requests/items/shareAttribute/ShareAttributeRequestItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA+D;AAC/D,kDAAiE;AAEjE,oDAA6K;AAC7K,mDAA8D;AAgBvD,IAAM,yBAAyB,GAA/B,MAAM,yBAA0B,SAAQ,yBAAW;IAa/C,MAAM,CAAC,IAAI,CAAC,KAAgH;QAC/H,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;IAEe,MAAM,CAAC,OAA6B,EAAE,iBAAuC;QACzF,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,iBAAiB,CAAkC,CAAC;IACrF,CAAC;CACJ,CAAA;AApBY,8DAAyB;AAG3B;IAFN,IAAA,qBAAS,EAAC,EAAE,UAAU,EAAE,CAAC,8BAAiB,EAAE,kCAAqB,CAAC,EAAE,CAAC;IACrE,IAAA,oBAAQ,GAAE;;4DACiD;AAIrD;IAFN,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;8BACe,mBAAM;oEAAC;AAI1B;IAFN,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACF,wBAAW;oEAAC;oCAX9B,yBAAyB;IADrC,IAAA,gBAAI,EAAC,2BAA2B,CAAC;GACrB,yBAAyB,CAoBrC"}
package/package.json CHANGED
@@ -52,7 +52,7 @@
52
52
  },
53
53
  "dependencies": {
54
54
  "@js-soft/ts-serval": "2.0.11",
55
- "@nmshd/core-types": "6.3.1",
55
+ "@nmshd/core-types": "6.5.0",
56
56
  "@nmshd/iql": "^1.0.2",
57
57
  "luxon": "^3.5.0",
58
58
  "ts-simple-nameof": "^1.3.1"
@@ -64,5 +64,5 @@
64
64
  "access": "public",
65
65
  "provenance": true
66
66
  },
67
- "version": "6.3.1"
67
+ "version": "6.5.0"
68
68
  }
@@ -1,14 +0,0 @@
1
- import { CoreId, ICoreId } from "@nmshd/core-types";
2
- import { INotificationItem, NotificationItem, NotificationItemJSON } from "../NotificationItem";
3
- export interface ThirdPartyOwnedRelationshipAttributeDeletedByPeerNotificationItemJSON extends NotificationItemJSON {
4
- "@type": "ThirdPartyOwnedRelationshipAttributeDeletedByPeerNotificationItem";
5
- attributeId: string;
6
- }
7
- export interface IThirdPartyOwnedRelationshipAttributeDeletedByPeerNotificationItem extends INotificationItem {
8
- attributeId: ICoreId;
9
- }
10
- export declare class ThirdPartyOwnedRelationshipAttributeDeletedByPeerNotificationItem extends NotificationItem implements IThirdPartyOwnedRelationshipAttributeDeletedByPeerNotificationItem {
11
- attributeId: CoreId;
12
- static from(value: IThirdPartyOwnedRelationshipAttributeDeletedByPeerNotificationItem | Omit<ThirdPartyOwnedRelationshipAttributeDeletedByPeerNotificationItemJSON, "@type">): ThirdPartyOwnedRelationshipAttributeDeletedByPeerNotificationItem;
13
- }
14
- //# sourceMappingURL=ThirdPartyOwnedRelationshipAttributeDeletedByPeerNotificationItem.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ThirdPartyOwnedRelationshipAttributeDeletedByPeerNotificationItem.d.ts","sourceRoot":"","sources":["../../../src/notifications/items/ThirdPartyOwnedRelationshipAttributeDeletedByPeerNotificationItem.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAEhG,MAAM,WAAW,qEAAsE,SAAQ,oBAAoB;IAC/G,OAAO,EAAE,mEAAmE,CAAC;IAC7E,WAAW,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,kEAAmE,SAAQ,iBAAiB;IACzG,WAAW,EAAE,OAAO,CAAC;CACxB;AAED,qBACa,iEACT,SAAQ,gBACR,YAAW,kEAAkE;IAItE,WAAW,EAAE,MAAM,CAAC;WAEb,IAAI,CACd,KAAK,EAAE,kEAAkE,GAAG,IAAI,CAAC,qEAAqE,EAAE,OAAO,CAAC,GACjK,iEAAiE;CAGvE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ThirdPartyOwnedRelationshipAttributeDeletedByPeerNotificationItem.js","sourceRoot":"","sources":["../../../src/notifications/items/ThirdPartyOwnedRelationshipAttributeDeletedByPeerNotificationItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA+D;AAC/D,kDAAoD;AACpD,0DAAgG;AAYzF,IAAM,iEAAiE,GAAvE,MAAM,iEACT,SAAQ,mCAAgB;IAOjB,MAAM,CAAC,IAAI,CACd,KAAgK;QAEhK,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;CACJ,CAAA;AAbY,8IAAiE;AAMnE;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACQ,mBAAM;sGAAC;4EANlB,iEAAiE;IAD7E,IAAA,gBAAI,EAAC,mEAAmE,CAAC;GAC7D,iEAAiE,CAa7E"}