@nmshd/content 7.0.0-openid4vc.6 → 7.0.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.
- package/LICENSE +659 -3
- package/README.md +1 -1
- package/dist/attributes/AttributeValueTypes.d.ts +15 -16
- package/dist/attributes/AttributeValueTypes.d.ts.map +1 -1
- package/dist/attributes/AttributeValueTypes.js +12 -57
- package/dist/attributes/AttributeValueTypes.js.map +1 -1
- package/dist/attributes/types/AbstractBoolean.js +1 -1
- package/dist/attributes/types/AbstractBoolean.js.map +1 -1
- package/dist/attributes/types/AbstractFloat.js +1 -1
- package/dist/attributes/types/AbstractInteger.js +1 -1
- package/dist/attributes/types/AbstractString.js +1 -1
- package/dist/attributes/types/index.d.ts +0 -1
- package/dist/attributes/types/index.d.ts.map +1 -1
- package/dist/attributes/types/index.js +0 -1
- package/dist/attributes/types/index.js.map +1 -1
- package/dist/attributes/types/name/index.d.ts +0 -1
- package/dist/attributes/types/name/index.d.ts.map +1 -1
- package/dist/attributes/types/name/index.js +0 -1
- package/dist/attributes/types/name/index.js.map +1 -1
- package/dist/buildInformation.js +4 -4
- package/dist/notifications/items/ForwardedAttributeDeletedByPeerNotificationItem.d.ts +14 -0
- package/dist/notifications/items/ForwardedAttributeDeletedByPeerNotificationItem.d.ts.map +1 -0
- package/dist/notifications/items/{OwnSharedAttributeDeletedByOwnerNotificationItem.js → ForwardedAttributeDeletedByPeerNotificationItem.js} +8 -8
- package/dist/notifications/items/ForwardedAttributeDeletedByPeerNotificationItem.js.map +1 -0
- package/dist/notifications/items/OwnAttributeDeletedByOwnerNotificationItem.d.ts +14 -0
- package/dist/notifications/items/OwnAttributeDeletedByOwnerNotificationItem.d.ts.map +1 -0
- package/dist/notifications/items/{PeerSharedAttributeDeletedByPeerNotificationItem.js → OwnAttributeDeletedByOwnerNotificationItem.js} +8 -8
- package/dist/notifications/items/OwnAttributeDeletedByOwnerNotificationItem.js.map +1 -0
- package/dist/notifications/items/{PeerSharedAttributeSucceededNotificationItem.d.ts → PeerAttributeSucceededNotificationItem.d.ts} +6 -6
- package/dist/notifications/items/PeerAttributeSucceededNotificationItem.d.ts.map +1 -0
- package/dist/notifications/items/{PeerSharedAttributeSucceededNotificationItem.js → PeerAttributeSucceededNotificationItem.js} +10 -10
- package/dist/notifications/items/PeerAttributeSucceededNotificationItem.js.map +1 -0
- package/dist/notifications/items/PeerRelationshipAttributeDeletedByPeerNotificationItem.d.ts +14 -0
- package/dist/notifications/items/PeerRelationshipAttributeDeletedByPeerNotificationItem.d.ts.map +1 -0
- package/dist/notifications/items/{ThirdPartyRelationshipAttributeDeletedByPeerNotificationItem.js → PeerRelationshipAttributeDeletedByPeerNotificationItem.js} +8 -8
- package/dist/notifications/items/PeerRelationshipAttributeDeletedByPeerNotificationItem.js.map +1 -0
- package/dist/notifications/items/index.d.ts +4 -4
- package/dist/notifications/items/index.d.ts.map +1 -1
- package/dist/notifications/items/index.js +4 -4
- package/dist/notifications/items/index.js.map +1 -1
- package/dist/requests/items/index.d.ts +0 -1
- package/dist/requests/items/index.d.ts.map +1 -1
- package/dist/requests/items/index.js +0 -1
- package/dist/requests/items/index.js.map +1 -1
- package/dist/requests/items/shareAttribute/ShareAttributeRequestItem.d.ts +3 -3
- package/dist/requests/items/shareAttribute/ShareAttributeRequestItem.d.ts.map +1 -1
- package/dist/requests/items/shareAttribute/ShareAttributeRequestItem.js +1 -1
- package/dist/requests/items/shareAttribute/ShareAttributeRequestItem.js.map +1 -1
- package/dist/requests/response/AcceptResponseItem.d.ts +4 -4
- package/dist/requests/response/AcceptResponseItem.d.ts.map +1 -1
- package/dist/requests/response/AcceptResponseItem.js.map +1 -1
- package/package.json +3 -3
- package/dist/attributes/types/VerifiableCredential.d.ts +0 -29
- package/dist/attributes/types/VerifiableCredential.d.ts.map +0 -1
- package/dist/attributes/types/VerifiableCredential.js +0 -79
- package/dist/attributes/types/VerifiableCredential.js.map +0 -1
- package/dist/attributes/types/name/PersonName.d.ts +0 -35
- package/dist/attributes/types/name/PersonName.d.ts.map +0 -1
- package/dist/attributes/types/name/PersonName.js +0 -94
- package/dist/attributes/types/name/PersonName.js.map +0 -1
- package/dist/notifications/items/OwnSharedAttributeDeletedByOwnerNotificationItem.d.ts +0 -14
- package/dist/notifications/items/OwnSharedAttributeDeletedByOwnerNotificationItem.d.ts.map +0 -1
- package/dist/notifications/items/OwnSharedAttributeDeletedByOwnerNotificationItem.js.map +0 -1
- package/dist/notifications/items/PeerSharedAttributeDeletedByPeerNotificationItem.d.ts +0 -14
- package/dist/notifications/items/PeerSharedAttributeDeletedByPeerNotificationItem.d.ts.map +0 -1
- package/dist/notifications/items/PeerSharedAttributeDeletedByPeerNotificationItem.js.map +0 -1
- package/dist/notifications/items/PeerSharedAttributeSucceededNotificationItem.d.ts.map +0 -1
- package/dist/notifications/items/PeerSharedAttributeSucceededNotificationItem.js.map +0 -1
- package/dist/notifications/items/ThirdPartyRelationshipAttributeDeletedByPeerNotificationItem.d.ts +0 -14
- package/dist/notifications/items/ThirdPartyRelationshipAttributeDeletedByPeerNotificationItem.d.ts.map +0 -1
- package/dist/notifications/items/ThirdPartyRelationshipAttributeDeletedByPeerNotificationItem.js.map +0 -1
- package/dist/requests/items/shareAttribute/ShareAttributeAcceptResponseItem.d.ts +0 -15
- package/dist/requests/items/shareAttribute/ShareAttributeAcceptResponseItem.d.ts.map +0 -1
- package/dist/requests/items/shareAttribute/ShareAttributeAcceptResponseItem.js +0 -33
- package/dist/requests/items/shareAttribute/ShareAttributeAcceptResponseItem.js.map +0 -1
|
@@ -9,22 +9,22 @@ 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.
|
|
12
|
+
exports.PeerRelationshipAttributeDeletedByPeerNotificationItem = 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
|
|
16
|
+
let PeerRelationshipAttributeDeletedByPeerNotificationItem = class PeerRelationshipAttributeDeletedByPeerNotificationItem extends NotificationItem_1.NotificationItem {
|
|
17
17
|
static from(value) {
|
|
18
18
|
return this.fromAny(value);
|
|
19
19
|
}
|
|
20
20
|
};
|
|
21
|
-
exports.
|
|
21
|
+
exports.PeerRelationshipAttributeDeletedByPeerNotificationItem = PeerRelationshipAttributeDeletedByPeerNotificationItem;
|
|
22
22
|
__decorate([
|
|
23
23
|
(0, ts_serval_1.validate)(),
|
|
24
24
|
(0, ts_serval_1.serialize)(),
|
|
25
25
|
__metadata("design:type", core_types_1.CoreId)
|
|
26
|
-
],
|
|
27
|
-
exports.
|
|
28
|
-
(0, ts_serval_1.type)("
|
|
29
|
-
],
|
|
30
|
-
//# sourceMappingURL=
|
|
26
|
+
], PeerRelationshipAttributeDeletedByPeerNotificationItem.prototype, "attributeId", void 0);
|
|
27
|
+
exports.PeerRelationshipAttributeDeletedByPeerNotificationItem = PeerRelationshipAttributeDeletedByPeerNotificationItem = __decorate([
|
|
28
|
+
(0, ts_serval_1.type)("PeerRelationshipAttributeDeletedByPeerNotificationItem")
|
|
29
|
+
], PeerRelationshipAttributeDeletedByPeerNotificationItem);
|
|
30
|
+
//# sourceMappingURL=PeerRelationshipAttributeDeletedByPeerNotificationItem.js.map
|
package/dist/notifications/items/PeerRelationshipAttributeDeletedByPeerNotificationItem.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PeerRelationshipAttributeDeletedByPeerNotificationItem.js","sourceRoot":"","sources":["../../../src/notifications/items/PeerRelationshipAttributeDeletedByPeerNotificationItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA+D;AAC/D,kDAAoD;AACpD,0DAAgG;AAYzF,IAAM,sDAAsD,GAA5D,MAAM,sDAAuD,SAAQ,mCAAgB;IAKjF,MAAM,CAAC,IAAI,CACd,KAA0I;QAE1I,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;CACJ,CAAA;AAVY,wHAAsD;AAGxD;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACQ,mBAAM;2FAAC;iEAHlB,sDAAsD;IADlE,IAAA,gBAAI,EAAC,wDAAwD,CAAC;GAClD,sDAAsD,CAUlE"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from "./
|
|
2
|
-
export * from "./
|
|
3
|
-
export * from "./
|
|
4
|
-
export * from "./
|
|
1
|
+
export * from "./ForwardedAttributeDeletedByPeerNotificationItem";
|
|
2
|
+
export * from "./OwnAttributeDeletedByOwnerNotificationItem";
|
|
3
|
+
export * from "./PeerAttributeSucceededNotificationItem";
|
|
4
|
+
export * from "./PeerRelationshipAttributeDeletedByPeerNotificationItem";
|
|
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,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/notifications/items/index.ts"],"names":[],"mappings":"AAAA,cAAc,mDAAmD,CAAC;AAClE,cAAc,8CAA8C,CAAC;AAC7D,cAAc,0CAA0C,CAAC;AACzD,cAAc,0DAA0D,CAAC"}
|
|
@@ -14,8 +14,8 @@ 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("./
|
|
18
|
-
__exportStar(require("./
|
|
19
|
-
__exportStar(require("./
|
|
20
|
-
__exportStar(require("./
|
|
17
|
+
__exportStar(require("./ForwardedAttributeDeletedByPeerNotificationItem"), exports);
|
|
18
|
+
__exportStar(require("./OwnAttributeDeletedByOwnerNotificationItem"), exports);
|
|
19
|
+
__exportStar(require("./PeerAttributeSucceededNotificationItem"), exports);
|
|
20
|
+
__exportStar(require("./PeerRelationshipAttributeDeletedByPeerNotificationItem"), 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,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/notifications/items/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oFAAkE;AAClE,+EAA6D;AAC7D,2EAAyD;AACzD,2FAAyE"}
|
|
@@ -13,7 +13,6 @@ export * from "./proposeAttribute/ProposeAttributeAcceptResponseItem";
|
|
|
13
13
|
export * from "./proposeAttribute/ProposeAttributeRequestItem";
|
|
14
14
|
export * from "./readAttribute/ReadAttributeAcceptResponseItem";
|
|
15
15
|
export * from "./readAttribute/ReadAttributeRequestItem";
|
|
16
|
-
export * from "./shareAttribute/ShareAttributeAcceptResponseItem";
|
|
17
16
|
export * from "./shareAttribute/ShareAttributeRequestItem";
|
|
18
17
|
export * from "./transferFileOwnership/TransferFileOwnershipAcceptResponseItem";
|
|
19
18
|
export * from "./transferFileOwnership/TransferFileOwnershipRequestItem";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/requests/items/index.ts"],"names":[],"mappings":"AAAA,cAAc,4CAA4C,CAAC;AAC3D,cAAc,mDAAmD,CAAC;AAClE,cAAc,gDAAgD,CAAC;AAC/D,cAAc,8BAA8B,CAAC;AAC7C,cAAc,qDAAqD,CAAC;AACpE,cAAc,8CAA8C,CAAC;AAC7D,cAAc,qDAAqD,CAAC;AACpE,cAAc,8CAA8C,CAAC;AAC7D,cAAc,yCAAyC,CAAC;AACxD,cAAc,kCAAkC,CAAC;AACjD,cAAc,sBAAsB,CAAC;AACrC,cAAc,uDAAuD,CAAC;AACtE,cAAc,gDAAgD,CAAC;AAC/D,cAAc,iDAAiD,CAAC;AAChE,cAAc,0CAA0C,CAAC;AACzD,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/requests/items/index.ts"],"names":[],"mappings":"AAAA,cAAc,4CAA4C,CAAC;AAC3D,cAAc,mDAAmD,CAAC;AAClE,cAAc,gDAAgD,CAAC;AAC/D,cAAc,8BAA8B,CAAC;AAC7C,cAAc,qDAAqD,CAAC;AACpE,cAAc,8CAA8C,CAAC;AAC7D,cAAc,qDAAqD,CAAC;AACpE,cAAc,8CAA8C,CAAC;AAC7D,cAAc,yCAAyC,CAAC;AACxD,cAAc,kCAAkC,CAAC;AACjD,cAAc,sBAAsB,CAAC;AACrC,cAAc,uDAAuD,CAAC;AACtE,cAAc,gDAAgD,CAAC;AAC/D,cAAc,iDAAiD,CAAC;AAChE,cAAc,0CAA0C,CAAC;AACzD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,iEAAiE,CAAC;AAChF,cAAc,0DAA0D,CAAC"}
|
|
@@ -29,7 +29,6 @@ __exportStar(require("./proposeAttribute/ProposeAttributeAcceptResponseItem"), e
|
|
|
29
29
|
__exportStar(require("./proposeAttribute/ProposeAttributeRequestItem"), exports);
|
|
30
30
|
__exportStar(require("./readAttribute/ReadAttributeAcceptResponseItem"), exports);
|
|
31
31
|
__exportStar(require("./readAttribute/ReadAttributeRequestItem"), exports);
|
|
32
|
-
__exportStar(require("./shareAttribute/ShareAttributeAcceptResponseItem"), exports);
|
|
33
32
|
__exportStar(require("./shareAttribute/ShareAttributeRequestItem"), exports);
|
|
34
33
|
__exportStar(require("./transferFileOwnership/TransferFileOwnershipAcceptResponseItem"), exports);
|
|
35
34
|
__exportStar(require("./transferFileOwnership/TransferFileOwnershipRequestItem"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/requests/items/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6EAA2D;AAC3D,oFAAkE;AAClE,iFAA+D;AAC/D,+DAA6C;AAC7C,sFAAoE;AACpE,+EAA6D;AAC7D,sFAAoE;AACpE,+EAA6D;AAC7D,0EAAwD;AACxD,mEAAiD;AACjD,uDAAqC;AACrC,wFAAsE;AACtE,iFAA+D;AAC/D,kFAAgE;AAChE,2EAAyD;AACzD,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/requests/items/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6EAA2D;AAC3D,oFAAkE;AAClE,iFAA+D;AAC/D,+DAA6C;AAC7C,sFAAoE;AACpE,+EAA6D;AAC7D,sFAAoE;AACpE,+EAA6D;AAC7D,0EAAwD;AACxD,mEAAiD;AACjD,uDAAqC;AACrC,wFAAsE;AACtE,iFAA+D;AAC/D,kFAAgE;AAChE,2EAAyD;AACzD,6EAA2D;AAC3D,kGAAgF;AAChF,2FAAyE"}
|
|
@@ -5,17 +5,17 @@ import { IRequestItem, RequestItem } from "../../RequestItem";
|
|
|
5
5
|
export interface ShareAttributeRequestItemJSON extends RequestItemJSON {
|
|
6
6
|
"@type": "ShareAttributeRequestItem";
|
|
7
7
|
attribute: IdentityAttributeJSON | RelationshipAttributeJSON;
|
|
8
|
-
|
|
8
|
+
attributeId: string;
|
|
9
9
|
thirdPartyAddress?: string;
|
|
10
10
|
}
|
|
11
11
|
export interface IShareAttributeRequestItem extends IRequestItem {
|
|
12
12
|
attribute: IIdentityAttribute | IRelationshipAttribute;
|
|
13
|
-
|
|
13
|
+
attributeId: ICoreId;
|
|
14
14
|
thirdPartyAddress?: CoreAddress;
|
|
15
15
|
}
|
|
16
16
|
export declare class ShareAttributeRequestItem extends RequestItem implements IShareAttributeRequestItem {
|
|
17
17
|
attribute: IdentityAttribute | RelationshipAttribute;
|
|
18
|
-
|
|
18
|
+
attributeId: CoreId;
|
|
19
19
|
thirdPartyAddress?: CoreAddress;
|
|
20
20
|
static from(value: IShareAttributeRequestItem | Omit<ShareAttributeRequestItemJSON, "@type"> | ShareAttributeRequestItemJSON): ShareAttributeRequestItem;
|
|
21
21
|
toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): ShareAttributeRequestItemJSON;
|
|
@@ -1 +1 @@
|
|
|
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,
|
|
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,WAAW,EAAE,MAAM,CAAC;IACpB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED,MAAM,WAAW,0BAA2B,SAAQ,YAAY;IAC5D,SAAS,EAAE,kBAAkB,GAAG,sBAAsB,CAAC;IACvD,WAAW,EAAE,OAAO,CAAC;IACrB,iBAAiB,CAAC,EAAE,WAAW,CAAC;CACnC;AAED,qBACa,yBAA0B,SAAQ,WAAY,YAAW,0BAA0B;IAGrF,SAAS,EAAE,iBAAiB,GAAG,qBAAqB,CAAC;IAIrD,WAAW,EAAE,MAAM,CAAC;IAIpB,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"}
|
|
@@ -32,7 +32,7 @@ __decorate([
|
|
|
32
32
|
(0, ts_serval_1.serialize)(),
|
|
33
33
|
(0, ts_serval_1.validate)(),
|
|
34
34
|
__metadata("design:type", core_types_1.CoreId)
|
|
35
|
-
], ShareAttributeRequestItem.prototype, "
|
|
35
|
+
], ShareAttributeRequestItem.prototype, "attributeId", void 0);
|
|
36
36
|
__decorate([
|
|
37
37
|
(0, ts_serval_1.serialize)(),
|
|
38
38
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
@@ -1 +1 @@
|
|
|
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;
|
|
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;8BACS,mBAAM;8DAAC;AAIpB;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"}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { AttributeAlreadySharedAcceptResponseItem, AttributeAlreadySharedAcceptResponseItemJSON, AttributeSuccessionAcceptResponseItem, AttributeSuccessionAcceptResponseItemJSON, CreateAttributeAcceptResponseItem, CreateAttributeAcceptResponseItemJSON, FormFieldAcceptResponseItem, FormFieldAcceptResponseItemJSON, IAttributeAlreadySharedAcceptResponseItem, IAttributeSuccessionAcceptResponseItem, ICreateAttributeAcceptResponseItem, IFormFieldAcceptResponseItem, IProposeAttributeAcceptResponseItem, IReadAttributeAcceptResponseItem,
|
|
1
|
+
import { AttributeAlreadySharedAcceptResponseItem, AttributeAlreadySharedAcceptResponseItemJSON, AttributeSuccessionAcceptResponseItem, AttributeSuccessionAcceptResponseItemJSON, CreateAttributeAcceptResponseItem, CreateAttributeAcceptResponseItemJSON, FormFieldAcceptResponseItem, FormFieldAcceptResponseItemJSON, IAttributeAlreadySharedAcceptResponseItem, IAttributeSuccessionAcceptResponseItem, ICreateAttributeAcceptResponseItem, IFormFieldAcceptResponseItem, IProposeAttributeAcceptResponseItem, IReadAttributeAcceptResponseItem, ITransferFileOwnershipAcceptResponseItem, ProposeAttributeAcceptResponseItem, ProposeAttributeAcceptResponseItemJSON, ReadAttributeAcceptResponseItem, ReadAttributeAcceptResponseItemJSON, TransferFileOwnershipAcceptResponseItem, TransferFileOwnershipAcceptResponseItemJSON } from "../items";
|
|
2
2
|
import { IResponseItem, ResponseItem, ResponseItemJSON } from "./ResponseItem";
|
|
3
3
|
import { ResponseItemResult } from "./ResponseItemResult";
|
|
4
4
|
export interface AcceptResponseItemJSON extends ResponseItemJSON {
|
|
5
5
|
result: ResponseItemResult.Accepted;
|
|
6
6
|
}
|
|
7
|
-
export type AcceptResponseItemJSONDerivations = AcceptResponseItemJSON | AttributeAlreadySharedAcceptResponseItemJSON | AttributeSuccessionAcceptResponseItemJSON | CreateAttributeAcceptResponseItemJSON |
|
|
7
|
+
export type AcceptResponseItemJSONDerivations = AcceptResponseItemJSON | AttributeAlreadySharedAcceptResponseItemJSON | AttributeSuccessionAcceptResponseItemJSON | CreateAttributeAcceptResponseItemJSON | ProposeAttributeAcceptResponseItemJSON | ReadAttributeAcceptResponseItemJSON | FormFieldAcceptResponseItemJSON | TransferFileOwnershipAcceptResponseItemJSON;
|
|
8
8
|
export interface IAcceptResponseItem extends IResponseItem {
|
|
9
9
|
result: ResponseItemResult.Accepted;
|
|
10
10
|
}
|
|
11
|
-
export type IAcceptResponseItemDerivations = IAcceptResponseItem | IAttributeAlreadySharedAcceptResponseItem | IAttributeSuccessionAcceptResponseItem | ICreateAttributeAcceptResponseItem |
|
|
11
|
+
export type IAcceptResponseItemDerivations = IAcceptResponseItem | IAttributeAlreadySharedAcceptResponseItem | IAttributeSuccessionAcceptResponseItem | ICreateAttributeAcceptResponseItem | IProposeAttributeAcceptResponseItem | IReadAttributeAcceptResponseItem | IFormFieldAcceptResponseItem | ITransferFileOwnershipAcceptResponseItem;
|
|
12
12
|
export declare class AcceptResponseItem extends ResponseItem implements IAcceptResponseItem {
|
|
13
13
|
result: ResponseItemResult.Accepted;
|
|
14
14
|
static from(value: IAcceptResponseItem | Omit<AcceptResponseItemJSON, "@type">): AcceptResponseItem;
|
|
15
15
|
toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): AcceptResponseItemJSON;
|
|
16
16
|
}
|
|
17
|
-
export type AcceptResponseItemDerivations = AcceptResponseItem | AttributeAlreadySharedAcceptResponseItem | AttributeSuccessionAcceptResponseItem | CreateAttributeAcceptResponseItem |
|
|
17
|
+
export type AcceptResponseItemDerivations = AcceptResponseItem | AttributeAlreadySharedAcceptResponseItem | AttributeSuccessionAcceptResponseItem | CreateAttributeAcceptResponseItem | ProposeAttributeAcceptResponseItem | ReadAttributeAcceptResponseItem | FormFieldAcceptResponseItem | TransferFileOwnershipAcceptResponseItem;
|
|
18
18
|
//# sourceMappingURL=AcceptResponseItem.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AcceptResponseItem.d.ts","sourceRoot":"","sources":["../../../src/requests/response/AcceptResponseItem.ts"],"names":[],"mappings":"AACA,OAAO,EACH,wCAAwC,EACxC,4CAA4C,EAC5C,qCAAqC,EACrC,yCAAyC,EACzC,iCAAiC,EACjC,qCAAqC,EACrC,2BAA2B,EAC3B,+BAA+B,EAC/B,yCAAyC,EACzC,sCAAsC,EACtC,kCAAkC,EAClC,4BAA4B,EAC5B,mCAAmC,EACnC,gCAAgC,EAChC,
|
|
1
|
+
{"version":3,"file":"AcceptResponseItem.d.ts","sourceRoot":"","sources":["../../../src/requests/response/AcceptResponseItem.ts"],"names":[],"mappings":"AACA,OAAO,EACH,wCAAwC,EACxC,4CAA4C,EAC5C,qCAAqC,EACrC,yCAAyC,EACzC,iCAAiC,EACjC,qCAAqC,EACrC,2BAA2B,EAC3B,+BAA+B,EAC/B,yCAAyC,EACzC,sCAAsC,EACtC,kCAAkC,EAClC,4BAA4B,EAC5B,mCAAmC,EACnC,gCAAgC,EAChC,wCAAwC,EACxC,kCAAkC,EAClC,sCAAsC,EACtC,+BAA+B,EAC/B,mCAAmC,EACnC,uCAAuC,EACvC,2CAA2C,EAC9C,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAC/E,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D,MAAM,WAAW,sBAAuB,SAAQ,gBAAgB;IAC5D,MAAM,EAAE,kBAAkB,CAAC,QAAQ,CAAC;CACvC;AAED,MAAM,MAAM,iCAAiC,GACvC,sBAAsB,GACtB,4CAA4C,GAC5C,yCAAyC,GACzC,qCAAqC,GACrC,sCAAsC,GACtC,mCAAmC,GACnC,+BAA+B,GAC/B,2CAA2C,CAAC;AAElD,MAAM,WAAW,mBAAoB,SAAQ,aAAa;IACtD,MAAM,EAAE,kBAAkB,CAAC,QAAQ,CAAC;CACvC;AAED,MAAM,MAAM,8BAA8B,GACpC,mBAAmB,GACnB,yCAAyC,GACzC,sCAAsC,GACtC,kCAAkC,GAClC,mCAAmC,GACnC,gCAAgC,GAChC,4BAA4B,GAC5B,wCAAwC,CAAC;AAE/C,qBACa,kBAAmB,SAAQ,YAAa,YAAW,mBAAmB;IAC/D,MAAM,EAAE,kBAAkB,CAAC,QAAQ,CAAC;WAEtC,IAAI,CAAC,KAAK,EAAE,mBAAmB,GAAG,IAAI,CAAC,sBAAsB,EAAE,OAAO,CAAC,GAAG,kBAAkB;IAI1F,MAAM,CAAC,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,EAAE,iBAAiB,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,sBAAsB;CAGzH;AAED,MAAM,MAAM,6BAA6B,GACnC,kBAAkB,GAClB,wCAAwC,GACxC,qCAAqC,GACrC,iCAAiC,GACjC,kCAAkC,GAClC,+BAA+B,GAC/B,2BAA2B,GAC3B,uCAAuC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AcceptResponseItem.js","sourceRoot":"","sources":["../../../src/requests/response/AcceptResponseItem.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAA0C;
|
|
1
|
+
{"version":3,"file":"AcceptResponseItem.js","sourceRoot":"","sources":["../../../src/requests/response/AcceptResponseItem.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAA0C;AAwB1C,iDAA+E;AAgCxE,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,2BAAY;IAGzC,MAAM,CAAC,IAAI,CAAC,KAAkE;QACjF,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,CAA2B,CAAC;IAC9E,CAAC;CACJ,CAAA;AAVY,gDAAkB;6BAAlB,kBAAkB;IAD9B,IAAA,gBAAI,EAAC,oBAAoB,CAAC;GACd,kBAAkB,CAU9B"}
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"url": "git+https://github.com/nmshd/runtime.git",
|
|
8
8
|
"directory": "packages/content"
|
|
9
9
|
},
|
|
10
|
-
"license": "
|
|
10
|
+
"license": "AGPL-3.0-or-later",
|
|
11
11
|
"author": "j&s-soft AG",
|
|
12
12
|
"main": "dist/index.js",
|
|
13
13
|
"types": "dist/index.d.ts",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"@js-soft/ts-serval": "2.0.14",
|
|
55
|
-
"@nmshd/core-types": "7.0.0
|
|
55
|
+
"@nmshd/core-types": "7.0.0",
|
|
56
56
|
"@nmshd/iql": "^1.0.4",
|
|
57
57
|
"luxon": "^3.7.2",
|
|
58
58
|
"ts-simple-nameof": "^1.3.3"
|
|
@@ -65,5 +65,5 @@
|
|
|
65
65
|
"access": "public",
|
|
66
66
|
"provenance": true
|
|
67
67
|
},
|
|
68
|
-
"version": "7.0.0
|
|
68
|
+
"version": "7.0.0"
|
|
69
69
|
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { AbstractAttributeValue, AbstractAttributeValueJSON, IAbstractAttributeValue } from "../AbstractAttributeValue";
|
|
2
|
-
import { RenderHints, ValueHints } from "../hints";
|
|
3
|
-
export interface VerifiableCredentialJSON extends AbstractAttributeValueJSON {
|
|
4
|
-
"@type": "VerifiableCredential";
|
|
5
|
-
title: string;
|
|
6
|
-
value: string;
|
|
7
|
-
type: string;
|
|
8
|
-
displayInformation?: string;
|
|
9
|
-
key?: string;
|
|
10
|
-
}
|
|
11
|
-
export interface IVerifiableCredential extends IAbstractAttributeValue {
|
|
12
|
-
title: string;
|
|
13
|
-
value: string;
|
|
14
|
-
type: string;
|
|
15
|
-
displayInformation?: string;
|
|
16
|
-
key?: string;
|
|
17
|
-
}
|
|
18
|
-
export declare class VerifiableCredential extends AbstractAttributeValue {
|
|
19
|
-
title: string;
|
|
20
|
-
value: string;
|
|
21
|
-
type: string;
|
|
22
|
-
displayInformation?: string;
|
|
23
|
-
key?: string;
|
|
24
|
-
static get valueHints(): ValueHints;
|
|
25
|
-
static get renderHints(): RenderHints;
|
|
26
|
-
static from(value: IVerifiableCredential | Omit<VerifiableCredentialJSON, "@type">): VerifiableCredential;
|
|
27
|
-
toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): VerifiableCredentialJSON;
|
|
28
|
-
}
|
|
29
|
-
//# sourceMappingURL=VerifiableCredential.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"VerifiableCredential.d.ts","sourceRoot":"","sources":["../../../src/attributes/types/VerifiableCredential.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,0BAA0B,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACxH,OAAO,EAAE,WAAW,EAAiD,UAAU,EAAE,MAAM,UAAU,CAAC;AAGlG,MAAM,WAAW,wBAAyB,SAAQ,0BAA0B;IACxE,OAAO,EAAE,sBAAsB,CAAC;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,qBAAsB,SAAQ,uBAAuB;IAClE,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,GAAG,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,qBACa,oBAAqB,SAAQ,sBAAsB;IAGrD,KAAK,EAAE,MAAM,CAAC;IAId,KAAK,EAAE,MAAM,CAAC;IAId,IAAI,EAAE,MAAM,CAAC;IAIb,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAI5B,GAAG,CAAC,EAAE,MAAM,CAAC;IAEpB,WAAkB,UAAU,IAAI,UAAU,CAEzC;IAED,WAAkB,WAAW,IAAI,WAAW,CAK3C;WAEa,IAAI,CAAC,KAAK,EAAE,qBAAqB,GAAG,IAAI,CAAC,wBAAwB,EAAE,OAAO,CAAC,GAAG,oBAAoB;IAIhG,MAAM,CAAC,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,EAAE,iBAAiB,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,wBAAwB;CAG3H"}
|
|
@@ -1,79 +0,0 @@
|
|
|
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.VerifiableCredential = void 0;
|
|
13
|
-
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
14
|
-
const AbstractAttributeValue_1 = require("../AbstractAttributeValue");
|
|
15
|
-
const hints_1 = require("../hints");
|
|
16
|
-
const ProprietaryAttributeValue_1 = require("./proprietary/ProprietaryAttributeValue");
|
|
17
|
-
let VerifiableCredential = class VerifiableCredential extends AbstractAttributeValue_1.AbstractAttributeValue {
|
|
18
|
-
static get valueHints() {
|
|
19
|
-
return hints_1.ValueHints.from({});
|
|
20
|
-
}
|
|
21
|
-
static get renderHints() {
|
|
22
|
-
return hints_1.RenderHints.from({
|
|
23
|
-
editType: hints_1.RenderHintsEditType.TextArea,
|
|
24
|
-
technicalType: hints_1.RenderHintsTechnicalType.Unknown
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
static from(value) {
|
|
28
|
-
return this.fromAny(value);
|
|
29
|
-
}
|
|
30
|
-
toJSON(verbose, serializeAsString) {
|
|
31
|
-
return super.toJSON(verbose, serializeAsString);
|
|
32
|
-
}
|
|
33
|
-
};
|
|
34
|
-
exports.VerifiableCredential = VerifiableCredential;
|
|
35
|
-
__decorate([
|
|
36
|
-
(0, ts_serval_1.serialize)(),
|
|
37
|
-
(0, ts_serval_1.validate)({ max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_TITLE_LENGTH }),
|
|
38
|
-
__metadata("design:type", String)
|
|
39
|
-
], VerifiableCredential.prototype, "title", void 0);
|
|
40
|
-
__decorate([
|
|
41
|
-
(0, ts_serval_1.serialize)({ any: true }),
|
|
42
|
-
(0, ts_serval_1.validate)({ customValidator: validateValue }),
|
|
43
|
-
__metadata("design:type", String)
|
|
44
|
-
], VerifiableCredential.prototype, "value", void 0);
|
|
45
|
-
__decorate([
|
|
46
|
-
(0, ts_serval_1.serialize)(),
|
|
47
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
48
|
-
__metadata("design:type", String)
|
|
49
|
-
], VerifiableCredential.prototype, "type", void 0);
|
|
50
|
-
__decorate([
|
|
51
|
-
(0, ts_serval_1.serialize)(),
|
|
52
|
-
(0, ts_serval_1.validate)({ nullable: true, max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_DESCRIPTION_LENGTH }),
|
|
53
|
-
__metadata("design:type", String)
|
|
54
|
-
], VerifiableCredential.prototype, "displayInformation", void 0);
|
|
55
|
-
__decorate([
|
|
56
|
-
(0, ts_serval_1.serialize)(),
|
|
57
|
-
(0, ts_serval_1.validate)({ nullable: true, max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_DESCRIPTION_LENGTH }),
|
|
58
|
-
__metadata("design:type", String)
|
|
59
|
-
], VerifiableCredential.prototype, "key", void 0);
|
|
60
|
-
exports.VerifiableCredential = VerifiableCredential = __decorate([
|
|
61
|
-
(0, ts_serval_1.type)("VerifiableCredential")
|
|
62
|
-
], VerifiableCredential);
|
|
63
|
-
function validateValue(value) {
|
|
64
|
-
try {
|
|
65
|
-
const string = JSON.stringify(value);
|
|
66
|
-
// the length correspondes to 50MB - maybe this needs to be restricted further in the future
|
|
67
|
-
if (string.length > 52428800) {
|
|
68
|
-
return "stringified value must not be longer than 52428800 characters";
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
catch (e) {
|
|
72
|
-
if (e instanceof SyntaxError) {
|
|
73
|
-
return "must be a valid JSON object";
|
|
74
|
-
}
|
|
75
|
-
return "could not validate value";
|
|
76
|
-
}
|
|
77
|
-
return undefined;
|
|
78
|
-
}
|
|
79
|
-
//# sourceMappingURL=VerifiableCredential.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"VerifiableCredential.js","sourceRoot":"","sources":["../../../src/attributes/types/VerifiableCredential.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA+D;AAC/D,sEAAwH;AACxH,oCAAkG;AAClG,uFAA+I;AAoBxI,IAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,+CAAsB;IAqBrD,MAAM,KAAK,UAAU;QACxB,OAAO,kBAAU,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IAC/B,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,CAAC;IACP,CAAC;IAEM,MAAM,CAAC,IAAI,CAAC,KAAsE;QACrF,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,CAA6B,CAAC;IAChF,CAAC;CACJ,CAAA;AAvCY,oDAAoB;AAGtB;IAFN,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,GAAG,EAAE,kEAAsC,EAAE,CAAC;;mDACrC;AAId;IAFN,IAAA,qBAAS,EAAC,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC;IACxB,IAAA,oBAAQ,EAAC,EAAE,eAAe,EAAE,aAAa,EAAE,CAAC;;mDACxB;AAId;IAFN,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kDACT;AAIb;IAFN,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,EAAE,wEAA4C,EAAE,CAAC;;gEAC7C;AAI5B;IAFN,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,EAAE,wEAA4C,EAAE,CAAC;;iDAC5D;+BAnBX,oBAAoB;IADhC,IAAA,gBAAI,EAAC,sBAAsB,CAAC;GAChB,oBAAoB,CAuChC;AAED,SAAS,aAAa,CAAC,KAAU;IAC7B,IAAI,CAAC;QACD,MAAM,MAAM,GAAG,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;QACrC,4FAA4F;QAC5F,IAAI,MAAM,CAAC,MAAM,GAAG,QAAQ,EAAE,CAAC;YAC3B,OAAO,+DAA+D,CAAC;QAC3E,CAAC;IACL,CAAC;IAAC,OAAO,CAAC,EAAE,CAAC;QACT,IAAI,CAAC,YAAY,WAAW,EAAE,CAAC;YAC3B,OAAO,6BAA6B,CAAC;QACzC,CAAC;QAED,OAAO,0BAA0B,CAAC;IACtC,CAAC;IAED,OAAO,SAAS,CAAC;AACrB,CAAC"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { AbstractComplexValue, AbstractComplexValueJSON, IAbstractComplexValue } from "../../AbstractComplexValue";
|
|
2
|
-
import { RenderHints, ValueHints } from "../../hints";
|
|
3
|
-
import { GivenName, IGivenName } from "./GivenName";
|
|
4
|
-
import { HonorificPrefix, IHonorificPrefix } from "./HonorificPrefix";
|
|
5
|
-
import { HonorificSuffix, IHonorificSuffix } from "./HonorificSuffix";
|
|
6
|
-
import { IMiddleName, MiddleName } from "./MiddleName";
|
|
7
|
-
import { ISurname, Surname } from "./Surname";
|
|
8
|
-
export interface PersonNameJSON extends AbstractComplexValueJSON {
|
|
9
|
-
"@type": "PersonName";
|
|
10
|
-
givenName: string;
|
|
11
|
-
middleName?: string;
|
|
12
|
-
surname: string;
|
|
13
|
-
honorificSuffix?: string;
|
|
14
|
-
honorificPrefix?: string;
|
|
15
|
-
}
|
|
16
|
-
export interface IPersonName extends IAbstractComplexValue {
|
|
17
|
-
givenName: IGivenName | string;
|
|
18
|
-
middleName?: IMiddleName | string;
|
|
19
|
-
surname: ISurname | string;
|
|
20
|
-
honorificSuffix?: IHonorificSuffix | string;
|
|
21
|
-
honorificPrefix?: IHonorificPrefix | string;
|
|
22
|
-
}
|
|
23
|
-
export declare class PersonName extends AbstractComplexValue implements IPersonName {
|
|
24
|
-
givenName: GivenName;
|
|
25
|
-
middleName?: MiddleName;
|
|
26
|
-
surname: Surname;
|
|
27
|
-
honorificSuffix?: HonorificSuffix;
|
|
28
|
-
honorificPrefix?: HonorificPrefix;
|
|
29
|
-
static get valueHints(): ValueHints;
|
|
30
|
-
static get renderHints(): RenderHints;
|
|
31
|
-
static from(value: IPersonName | Omit<PersonNameJSON, "@type">): PersonName;
|
|
32
|
-
toString(): string;
|
|
33
|
-
toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): PersonNameJSON;
|
|
34
|
-
}
|
|
35
|
-
//# sourceMappingURL=PersonName.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PersonName.d.ts","sourceRoot":"","sources":["../../../../src/attributes/types/name/PersonName.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,oBAAoB,EAAE,wBAAwB,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnH,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACtD,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AACtE,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AACtE,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAE9C,MAAM,WAAW,cAAe,SAAQ,wBAAwB;IAC5D,OAAO,EAAE,YAAY,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,MAAM,WAAW,WAAY,SAAQ,qBAAqB;IACtD,SAAS,EAAE,UAAU,GAAG,MAAM,CAAC;IAC/B,UAAU,CAAC,EAAE,WAAW,GAAG,MAAM,CAAC;IAClC,OAAO,EAAE,QAAQ,GAAG,MAAM,CAAC;IAC3B,eAAe,CAAC,EAAE,gBAAgB,GAAG,MAAM,CAAC;IAC5C,eAAe,CAAC,EAAE,gBAAgB,GAAG,MAAM,CAAC;CAC/C;AAED,qBACa,UAAW,SAAQ,oBAAqB,YAAW,WAAW;IAGhE,SAAS,EAAE,SAAS,CAAC;IAIrB,UAAU,CAAC,EAAE,UAAU,CAAC;IAIxB,OAAO,EAAE,OAAO,CAAC;IAIjB,eAAe,CAAC,EAAE,eAAe,CAAC;IAIlC,eAAe,CAAC,EAAE,eAAe,CAAC;IAEzC,WAAkB,UAAU,IAAI,UAAU,CAUzC;IAED,WAA2B,WAAW,IAAI,WAAW,CAUpD;WAEa,IAAI,CAAC,KAAK,EAAE,WAAW,GAAG,IAAI,CAAC,cAAc,EAAE,OAAO,CAAC,GAAG,UAAU;IAIlE,QAAQ,IAAI,MAAM;IAUlB,MAAM,CAAC,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,EAAE,iBAAiB,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,cAAc;CAGjH"}
|
|
@@ -1,94 +0,0 @@
|
|
|
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.PersonName = void 0;
|
|
13
|
-
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
14
|
-
const ts_simple_nameof_1 = require("ts-simple-nameof");
|
|
15
|
-
const AbstractAttributeValue_1 = require("../../AbstractAttributeValue");
|
|
16
|
-
const AbstractComplexValue_1 = require("../../AbstractComplexValue");
|
|
17
|
-
const hints_1 = require("../../hints");
|
|
18
|
-
const GivenName_1 = require("./GivenName");
|
|
19
|
-
const HonorificPrefix_1 = require("./HonorificPrefix");
|
|
20
|
-
const HonorificSuffix_1 = require("./HonorificSuffix");
|
|
21
|
-
const MiddleName_1 = require("./MiddleName");
|
|
22
|
-
const Surname_1 = require("./Surname");
|
|
23
|
-
let PersonName = class PersonName extends AbstractComplexValue_1.AbstractComplexValue {
|
|
24
|
-
static get valueHints() {
|
|
25
|
-
return hints_1.ValueHints.from({
|
|
26
|
-
propertyHints: {
|
|
27
|
-
[(0, ts_simple_nameof_1.nameof)((p) => p.givenName)]: GivenName_1.GivenName.valueHints,
|
|
28
|
-
[(0, ts_simple_nameof_1.nameof)((p) => p.middleName)]: MiddleName_1.MiddleName.valueHints,
|
|
29
|
-
[(0, ts_simple_nameof_1.nameof)((p) => p.surname)]: Surname_1.Surname.valueHints,
|
|
30
|
-
[(0, ts_simple_nameof_1.nameof)((p) => p.honorificSuffix)]: HonorificSuffix_1.HonorificSuffix.valueHints,
|
|
31
|
-
[(0, ts_simple_nameof_1.nameof)((p) => p.honorificPrefix)]: HonorificPrefix_1.HonorificPrefix.valueHints
|
|
32
|
-
}
|
|
33
|
-
});
|
|
34
|
-
}
|
|
35
|
-
static get renderHints() {
|
|
36
|
-
return super.renderHints.copyWith({
|
|
37
|
-
propertyHints: {
|
|
38
|
-
[(0, ts_simple_nameof_1.nameof)((p) => p.givenName)]: GivenName_1.GivenName.renderHints,
|
|
39
|
-
[(0, ts_simple_nameof_1.nameof)((p) => p.middleName)]: MiddleName_1.MiddleName.renderHints,
|
|
40
|
-
[(0, ts_simple_nameof_1.nameof)((p) => p.surname)]: Surname_1.Surname.renderHints,
|
|
41
|
-
[(0, ts_simple_nameof_1.nameof)((p) => p.honorificSuffix)]: HonorificSuffix_1.HonorificSuffix.renderHints,
|
|
42
|
-
[(0, ts_simple_nameof_1.nameof)((p) => p.honorificPrefix)]: HonorificPrefix_1.HonorificPrefix.renderHints
|
|
43
|
-
}
|
|
44
|
-
});
|
|
45
|
-
}
|
|
46
|
-
static from(value) {
|
|
47
|
-
return this.fromAny(value);
|
|
48
|
-
}
|
|
49
|
-
toString() {
|
|
50
|
-
const names = [];
|
|
51
|
-
if (this.honorificPrefix)
|
|
52
|
-
names.push(this.honorificPrefix.value);
|
|
53
|
-
names.push(this.givenName.value);
|
|
54
|
-
if (this.middleName)
|
|
55
|
-
names.push(this.middleName.value);
|
|
56
|
-
names.push(this.surname.value);
|
|
57
|
-
if (this.honorificSuffix)
|
|
58
|
-
names.push(this.honorificSuffix.value);
|
|
59
|
-
return names.join(" ");
|
|
60
|
-
}
|
|
61
|
-
toJSON(verbose, serializeAsString) {
|
|
62
|
-
return super.toJSON(verbose, serializeAsString);
|
|
63
|
-
}
|
|
64
|
-
};
|
|
65
|
-
exports.PersonName = PersonName;
|
|
66
|
-
__decorate([
|
|
67
|
-
(0, ts_serval_1.serialize)({ customGenerator: AbstractAttributeValue_1.AbstractAttributeValue.valueGenerator }),
|
|
68
|
-
(0, ts_serval_1.validate)(),
|
|
69
|
-
__metadata("design:type", GivenName_1.GivenName)
|
|
70
|
-
], PersonName.prototype, "givenName", void 0);
|
|
71
|
-
__decorate([
|
|
72
|
-
(0, ts_serval_1.serialize)({ customGenerator: AbstractAttributeValue_1.AbstractAttributeValue.valueGenerator }),
|
|
73
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
74
|
-
__metadata("design:type", MiddleName_1.MiddleName)
|
|
75
|
-
], PersonName.prototype, "middleName", void 0);
|
|
76
|
-
__decorate([
|
|
77
|
-
(0, ts_serval_1.serialize)({ customGenerator: AbstractAttributeValue_1.AbstractAttributeValue.valueGenerator }),
|
|
78
|
-
(0, ts_serval_1.validate)(),
|
|
79
|
-
__metadata("design:type", Surname_1.Surname)
|
|
80
|
-
], PersonName.prototype, "surname", void 0);
|
|
81
|
-
__decorate([
|
|
82
|
-
(0, ts_serval_1.serialize)({ customGenerator: AbstractAttributeValue_1.AbstractAttributeValue.valueGenerator }),
|
|
83
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
84
|
-
__metadata("design:type", HonorificSuffix_1.HonorificSuffix)
|
|
85
|
-
], PersonName.prototype, "honorificSuffix", void 0);
|
|
86
|
-
__decorate([
|
|
87
|
-
(0, ts_serval_1.serialize)({ customGenerator: AbstractAttributeValue_1.AbstractAttributeValue.valueGenerator }),
|
|
88
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
89
|
-
__metadata("design:type", HonorificPrefix_1.HonorificPrefix)
|
|
90
|
-
], PersonName.prototype, "honorificPrefix", void 0);
|
|
91
|
-
exports.PersonName = PersonName = __decorate([
|
|
92
|
-
(0, ts_serval_1.type)("PersonName")
|
|
93
|
-
], PersonName);
|
|
94
|
-
//# sourceMappingURL=PersonName.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PersonName.js","sourceRoot":"","sources":["../../../../src/attributes/types/name/PersonName.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { CoreId, ICoreId } from "@nmshd/core-types";
|
|
2
|
-
import { INotificationItem, NotificationItem, NotificationItemJSON } from "../NotificationItem";
|
|
3
|
-
export interface OwnSharedAttributeDeletedByOwnerNotificationItemJSON extends NotificationItemJSON {
|
|
4
|
-
"@type": "OwnSharedAttributeDeletedByOwnerNotificationItem";
|
|
5
|
-
attributeId: string;
|
|
6
|
-
}
|
|
7
|
-
export interface IOwnSharedAttributeDeletedByOwnerNotificationItem extends INotificationItem {
|
|
8
|
-
attributeId: ICoreId;
|
|
9
|
-
}
|
|
10
|
-
export declare class OwnSharedAttributeDeletedByOwnerNotificationItem extends NotificationItem implements IOwnSharedAttributeDeletedByOwnerNotificationItem {
|
|
11
|
-
attributeId: CoreId;
|
|
12
|
-
static from(value: IOwnSharedAttributeDeletedByOwnerNotificationItem | Omit<OwnSharedAttributeDeletedByOwnerNotificationItemJSON, "@type">): OwnSharedAttributeDeletedByOwnerNotificationItem;
|
|
13
|
-
}
|
|
14
|
-
//# sourceMappingURL=OwnSharedAttributeDeletedByOwnerNotificationItem.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OwnSharedAttributeDeletedByOwnerNotificationItem.d.ts","sourceRoot":"","sources":["../../../src/notifications/items/OwnSharedAttributeDeletedByOwnerNotificationItem.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,oDAAqD,SAAQ,oBAAoB;IAC9F,OAAO,EAAE,kDAAkD,CAAC;IAC5D,WAAW,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,iDAAkD,SAAQ,iBAAiB;IACxF,WAAW,EAAE,OAAO,CAAC;CACxB;AAED,qBACa,gDAAiD,SAAQ,gBAAiB,YAAW,iDAAiD;IAGxI,WAAW,EAAE,MAAM,CAAC;WAEb,IAAI,CACd,KAAK,EAAE,iDAAiD,GAAG,IAAI,CAAC,oDAAoD,EAAE,OAAO,CAAC,GAC/H,gDAAgD;CAGtD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OwnSharedAttributeDeletedByOwnerNotificationItem.js","sourceRoot":"","sources":["../../../src/notifications/items/OwnSharedAttributeDeletedByOwnerNotificationItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA+D;AAC/D,kDAAoD;AACpD,0DAAgG;AAYzF,IAAM,gDAAgD,GAAtD,MAAM,gDAAiD,SAAQ,mCAAgB;IAK3E,MAAM,CAAC,IAAI,CACd,KAA8H;QAE9H,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;CACJ,CAAA;AAVY,4GAAgD;AAGlD;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACQ,mBAAM;qFAAC;2DAHlB,gDAAgD;IAD5D,IAAA,gBAAI,EAAC,kDAAkD,CAAC;GAC5C,gDAAgD,CAU5D"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { CoreId, ICoreId } from "@nmshd/core-types";
|
|
2
|
-
import { INotificationItem, NotificationItem, NotificationItemJSON } from "../NotificationItem";
|
|
3
|
-
export interface PeerSharedAttributeDeletedByPeerNotificationItemJSON extends NotificationItemJSON {
|
|
4
|
-
"@type": "PeerSharedAttributeDeletedByPeerNotificationItem";
|
|
5
|
-
attributeId: string;
|
|
6
|
-
}
|
|
7
|
-
export interface IPeerSharedAttributeDeletedByPeerNotificationItem extends INotificationItem {
|
|
8
|
-
attributeId: ICoreId;
|
|
9
|
-
}
|
|
10
|
-
export declare class PeerSharedAttributeDeletedByPeerNotificationItem extends NotificationItem implements IPeerSharedAttributeDeletedByPeerNotificationItem {
|
|
11
|
-
attributeId: CoreId;
|
|
12
|
-
static from(value: IPeerSharedAttributeDeletedByPeerNotificationItem | Omit<PeerSharedAttributeDeletedByPeerNotificationItemJSON, "@type">): PeerSharedAttributeDeletedByPeerNotificationItem;
|
|
13
|
-
}
|
|
14
|
-
//# sourceMappingURL=PeerSharedAttributeDeletedByPeerNotificationItem.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PeerSharedAttributeDeletedByPeerNotificationItem.d.ts","sourceRoot":"","sources":["../../../src/notifications/items/PeerSharedAttributeDeletedByPeerNotificationItem.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,oDAAqD,SAAQ,oBAAoB;IAC9F,OAAO,EAAE,kDAAkD,CAAC;IAC5D,WAAW,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,iDAAkD,SAAQ,iBAAiB;IACxF,WAAW,EAAE,OAAO,CAAC;CACxB;AAED,qBACa,gDAAiD,SAAQ,gBAAiB,YAAW,iDAAiD;IAGxI,WAAW,EAAE,MAAM,CAAC;WAEb,IAAI,CACd,KAAK,EAAE,iDAAiD,GAAG,IAAI,CAAC,oDAAoD,EAAE,OAAO,CAAC,GAC/H,gDAAgD;CAGtD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PeerSharedAttributeDeletedByPeerNotificationItem.js","sourceRoot":"","sources":["../../../src/notifications/items/PeerSharedAttributeDeletedByPeerNotificationItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA+D;AAC/D,kDAAoD;AACpD,0DAAgG;AAYzF,IAAM,gDAAgD,GAAtD,MAAM,gDAAiD,SAAQ,mCAAgB;IAK3E,MAAM,CAAC,IAAI,CACd,KAA8H;QAE9H,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;CACJ,CAAA;AAVY,4GAAgD;AAGlD;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACQ,mBAAM;qFAAC;2DAHlB,gDAAgD;IAD5D,IAAA,gBAAI,EAAC,kDAAkD,CAAC;GAC5C,gDAAgD,CAU5D"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PeerSharedAttributeSucceededNotificationItem.d.ts","sourceRoot":"","sources":["../../../src/notifications/items/PeerSharedAttributeSucceededNotificationItem.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,kBAAkB,CAAC;AAC1K,OAAO,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAEhG,MAAM,WAAW,gDAAiD,SAAQ,oBAAoB;IAC1F,OAAO,EAAE,8CAA8C,CAAC;IACxD,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,EAAE,qBAAqB,GAAG,yBAAyB,CAAC;CACvE;AAED,MAAM,WAAW,6CAA8C,SAAQ,iBAAiB;IACpF,aAAa,EAAE,OAAO,CAAC;IACvB,WAAW,EAAE,OAAO,CAAC;IACrB,gBAAgB,EAAE,kBAAkB,GAAG,sBAAsB,CAAC;CACjE;AAED,qBACa,4CAA6C,SAAQ,gBAAiB,YAAW,6CAA6C;IAGhI,aAAa,EAAE,MAAM,CAAC;IAItB,WAAW,EAAE,MAAM,CAAC;IAIpB,gBAAgB,EAAE,iBAAiB,GAAG,qBAAqB,CAAC;WAErD,IAAI,CACd,KAAK,EAAE,6CAA6C,GAAG,IAAI,CAAC,gDAAgD,EAAE,OAAO,CAAC,GACvH,4CAA4C;CAGlD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PeerSharedAttributeSucceededNotificationItem.js","sourceRoot":"","sources":["../../../src/notifications/items/PeerSharedAttributeSucceededNotificationItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA+D;AAC/D,kDAAoD;AACpD,iDAA0K;AAC1K,0DAAgG;AAgBzF,IAAM,4CAA4C,GAAlD,MAAM,4CAA6C,SAAQ,mCAAgB;IAavE,MAAM,CAAC,IAAI,CACd,KAAsH;QAEtH,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;CACJ,CAAA;AAlBY,oGAA4C;AAG9C;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACU,mBAAM;mFAAC;AAItB;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,GAAE;8BACQ,mBAAM;iFAAC;AAIpB;IAFN,IAAA,oBAAQ,GAAE;IACV,IAAA,qBAAS,EAAC,EAAE,UAAU,EAAE,CAAC,8BAAiB,EAAE,kCAAqB,CAAC,EAAE,CAAC;;sFACH;uDAX1D,4CAA4C;IADxD,IAAA,gBAAI,EAAC,8CAA8C,CAAC;GACxC,4CAA4C,CAkBxD"}
|
package/dist/notifications/items/ThirdPartyRelationshipAttributeDeletedByPeerNotificationItem.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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;AAED,qBACa,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"}
|
package/dist/notifications/items/ThirdPartyRelationshipAttributeDeletedByPeerNotificationItem.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ThirdPartyRelationshipAttributeDeletedByPeerNotificationItem.js","sourceRoot":"","sources":["../../../src/notifications/items/ThirdPartyRelationshipAttributeDeletedByPeerNotificationItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA+D;AAC/D,kDAAoD;AACpD,0DAAgG;AAYzF,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;IADxE,IAAA,gBAAI,EAAC,8DAA8D,CAAC;GACxD,4DAA4D,CAUxE"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { CoreId, ICoreId } from "@nmshd/core-types";
|
|
2
|
-
import { AcceptResponseItem, AcceptResponseItemJSON, IAcceptResponseItem } from "../../response";
|
|
3
|
-
export interface ShareAttributeAcceptResponseItemJSON extends AcceptResponseItemJSON {
|
|
4
|
-
"@type": "ShareAttributeAcceptResponseItem";
|
|
5
|
-
attributeId: string;
|
|
6
|
-
}
|
|
7
|
-
export interface IShareAttributeAcceptResponseItem extends IAcceptResponseItem {
|
|
8
|
-
attributeId: ICoreId;
|
|
9
|
-
}
|
|
10
|
-
export declare class ShareAttributeAcceptResponseItem extends AcceptResponseItem implements IShareAttributeAcceptResponseItem {
|
|
11
|
-
attributeId: CoreId;
|
|
12
|
-
static from(value: IShareAttributeAcceptResponseItem | Omit<ShareAttributeAcceptResponseItemJSON, "@type"> | ShareAttributeAcceptResponseItemJSON): ShareAttributeAcceptResponseItem;
|
|
13
|
-
toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): ShareAttributeAcceptResponseItemJSON;
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=ShareAttributeAcceptResponseItem.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ShareAttributeAcceptResponseItem.d.ts","sourceRoot":"","sources":["../../../../src/requests/items/shareAttribute/ShareAttributeAcceptResponseItem.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAEjG,MAAM,WAAW,oCAAqC,SAAQ,sBAAsB;IAChF,OAAO,EAAE,kCAAkC,CAAC;IAC5C,WAAW,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,iCAAkC,SAAQ,mBAAmB;IAC1E,WAAW,EAAE,OAAO,CAAC;CACxB;AAED,qBACa,gCAAiC,SAAQ,kBAAmB,YAAW,iCAAiC;IAG1G,WAAW,EAAE,MAAM,CAAC;WAEJ,IAAI,CACvB,KAAK,EAAE,iCAAiC,GAAG,IAAI,CAAC,oCAAoC,EAAE,OAAO,CAAC,GAAG,oCAAoC,GACtI,gCAAgC;IAInB,MAAM,CAAC,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,EAAE,iBAAiB,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,oCAAoC;CAGvI"}
|