@nmshd/content 1.0.4 → 1.1.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/dist/buildInformation.js +4 -4
- package/dist/forms/Form.d.ts +6 -6
- package/dist/forms/Form.js +2 -2
- package/dist/forms/Form.js.map +1 -1
- package/dist/forms/FormItem.d.ts +10 -6
- package/dist/forms/FormItem.js.map +1 -1
- package/dist/forms/items/FormItemSelect.d.ts +2 -2
- package/dist/forms/items/FormItemSelect.js.map +1 -1
- package/dist/forms/items/FormItemSelectItem.d.ts +1 -1
- package/dist/relationships/RelationshipExistsAction.d.ts +2 -0
- package/dist/relationships/RelationshipExistsAction.js.map +1 -1
- package/dist/relationships/RelationshipExistsMessageAction.d.ts +2 -3
- package/dist/relationships/RelationshipExistsMessageAction.js.map +1 -1
- package/dist/relationships/RelationshipTemplateBody.d.ts +4 -4
- package/dist/relationships/RelationshipTemplateBody.js +1 -1
- package/dist/relationships/RelationshipTemplateBody.js.map +1 -1
- package/dist/requests/AuthorizationGrantRequest.d.ts +13 -6
- package/dist/requests/AuthorizationGrantRequest.js +13 -2
- package/dist/requests/AuthorizationGrantRequest.js.map +1 -1
- package/dist/requests/Request.d.ts +8 -0
- package/dist/requests/Request.js +5 -0
- package/dist/requests/Request.js.map +1 -1
- package/lib-web/nmshd.content.js +25 -9
- package/lib-web/nmshd.content.min.js +1 -1
- package/package.json +19 -19
package/dist/buildInformation.js
CHANGED
|
@@ -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: "1.0
|
|
9
|
-
build: "
|
|
10
|
-
date: "2021-
|
|
11
|
-
commit: "
|
|
8
|
+
version: "1.1.0",
|
|
9
|
+
build: "7",
|
|
10
|
+
date: "2021-12-08T09:58:00+00:00",
|
|
11
|
+
commit: "9e3559dc487e74c6531bf27509c489e7d71f3326",
|
|
12
12
|
dependencies: {"@js-soft/logging-abstractions":"^1.0.0"},
|
|
13
13
|
libraries: {
|
|
14
14
|
serval: ts_serval_1.buildInformation,
|
package/dist/forms/Form.d.ts
CHANGED
|
@@ -2,17 +2,17 @@ import { ISerializable, Serializable } from "@js-soft/ts-serval";
|
|
|
2
2
|
import { ContentJSON } from "../ContentJSON";
|
|
3
3
|
import { FormItem, FormItemJSON, IFormItem } from "./FormItem";
|
|
4
4
|
export interface FormJSON extends ContentJSON {
|
|
5
|
-
title
|
|
6
|
-
description
|
|
5
|
+
title?: string;
|
|
6
|
+
description?: string;
|
|
7
7
|
items: FormItemJSON[];
|
|
8
8
|
}
|
|
9
9
|
export interface IForm extends ISerializable {
|
|
10
|
-
title
|
|
11
|
-
description
|
|
10
|
+
title?: string;
|
|
11
|
+
description?: string;
|
|
12
12
|
items: IFormItem[];
|
|
13
13
|
}
|
|
14
14
|
export declare class Form extends Serializable {
|
|
15
|
-
title
|
|
16
|
-
description
|
|
15
|
+
title?: string;
|
|
16
|
+
description?: string;
|
|
17
17
|
items: FormItem[];
|
|
18
18
|
}
|
package/dist/forms/Form.js
CHANGED
|
@@ -16,12 +16,12 @@ class Form extends ts_serval_1.Serializable {
|
|
|
16
16
|
}
|
|
17
17
|
__decorate([
|
|
18
18
|
(0, ts_serval_1.serialize)(),
|
|
19
|
-
(0, ts_serval_1.validate)(),
|
|
19
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
20
20
|
__metadata("design:type", String)
|
|
21
21
|
], Form.prototype, "title", void 0);
|
|
22
22
|
__decorate([
|
|
23
23
|
(0, ts_serval_1.serialize)(),
|
|
24
|
-
(0, ts_serval_1.validate)(),
|
|
24
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
25
25
|
__metadata("design:type", String)
|
|
26
26
|
], Form.prototype, "description", void 0);
|
|
27
27
|
__decorate([
|
package/dist/forms/Form.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Form.js","sourceRoot":"","sources":["../../src/forms/Form.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAqF;AAErF,yCAA8D;AAc9D,MAAa,IAAK,SAAQ,wBAAY;CAYrC;AATG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,
|
|
1
|
+
{"version":3,"file":"Form.js","sourceRoot":"","sources":["../../src/forms/Form.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAqF;AAErF,yCAA8D;AAc9D,MAAa,IAAK,SAAQ,wBAAY;CAYrC;AATG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mCACR;AAIrB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yCACF;AAI3B;IAFC,IAAA,qBAAS,EAAC,EAAE,IAAI,EAAE,mBAAQ,EAAE,CAAC;IAC7B,IAAA,oBAAQ,GAAE;;mCACa;AAX5B,oBAYC"}
|
package/dist/forms/FormItem.d.ts
CHANGED
|
@@ -13,19 +13,23 @@ export interface FormItemJSON extends ContentJSON {
|
|
|
13
13
|
}
|
|
14
14
|
export interface FormItemVisibleJSON extends FormItemJSON {
|
|
15
15
|
label: string;
|
|
16
|
-
readonly
|
|
17
|
-
help
|
|
16
|
+
readonly?: boolean;
|
|
17
|
+
help?: string;
|
|
18
18
|
}
|
|
19
19
|
export interface IFormItem extends ISerializable {
|
|
20
20
|
key: string;
|
|
21
21
|
type: FormType;
|
|
22
22
|
}
|
|
23
|
-
export declare abstract class FormItem extends Serializable {
|
|
23
|
+
export declare abstract class FormItem extends Serializable implements IFormItem {
|
|
24
24
|
key: string;
|
|
25
25
|
type: FormType;
|
|
26
26
|
}
|
|
27
|
-
export
|
|
27
|
+
export interface IFormItemVisible extends IFormItem {
|
|
28
|
+
readonly?: boolean;
|
|
29
|
+
help?: string;
|
|
30
|
+
}
|
|
31
|
+
export declare abstract class FormItemVisible extends FormItem implements IFormItemVisible {
|
|
28
32
|
label: string;
|
|
29
|
-
readonly
|
|
30
|
-
help
|
|
33
|
+
readonly?: boolean;
|
|
34
|
+
help?: string;
|
|
31
35
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormItem.js","sourceRoot":"","sources":["../../src/forms/FormItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAqF;AAGrF,IAAY,QAMX;AAND,WAAY,QAAQ;IAChB,mCAAuB,CAAA;IACvB,6BAAiB,CAAA;IACjB,6BAAiB,CAAA;IACjB,yBAAa,CAAA;IACb,yBAAa,CAAA;AACjB,CAAC,EANW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAMnB;AAkBD,MAAsB,QAAS,SAAQ,wBAAY;CAQlD;AALG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;qCACO;AAIlB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;sCACU;AAPzB,4BAQC;
|
|
1
|
+
{"version":3,"file":"FormItem.js","sourceRoot":"","sources":["../../src/forms/FormItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAqF;AAGrF,IAAY,QAMX;AAND,WAAY,QAAQ;IAChB,mCAAuB,CAAA;IACvB,6BAAiB,CAAA;IACjB,6BAAiB,CAAA;IACjB,yBAAa,CAAA;IACb,yBAAa,CAAA;AACjB,CAAC,EANW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAMnB;AAkBD,MAAsB,QAAS,SAAQ,wBAAY;CAQlD;AALG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;qCACO;AAIlB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;sCACU;AAPzB,4BAQC;AAOD,MAAsB,eAAgB,SAAQ,QAAQ;CAYrD;AATG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;8CACS;AAIpB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDACJ;AAIzB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6CACT;AAXxB,0CAYC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FormItemVisible, FormItemVisibleJSON } from "../FormItem";
|
|
2
|
-
import {
|
|
2
|
+
import { FormItemSelectItem, FormItemSelectItemJSON } from "./FormItemSelectItem";
|
|
3
3
|
export interface FormItemSelectJSON extends FormItemVisibleJSON {
|
|
4
|
-
items:
|
|
4
|
+
items: FormItemSelectItemJSON[];
|
|
5
5
|
selectedKey: string;
|
|
6
6
|
}
|
|
7
7
|
export declare class FormItemSelect extends FormItemVisible {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormItemSelect.js","sourceRoot":"","sources":["../../../src/forms/items/FormItemSelect.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,0CAAkE;AAClE,
|
|
1
|
+
{"version":3,"file":"FormItemSelect.js","sourceRoot":"","sources":["../../../src/forms/items/FormItemSelect.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,0CAAkE;AAClE,6DAAiF;AAQjF,IAAa,cAAc,GAA3B,MAAa,cAAe,SAAQ,0BAAe;CAQlD,CAAA;AALG;IAFC,IAAA,qBAAS,EAAC,EAAE,IAAI,EAAE,uCAAkB,EAAE,CAAC;IACvC,IAAA,oBAAQ,GAAE;;6CACuB;AAIlC;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mDACH;AAPjB,cAAc;IAD1B,IAAA,gBAAI,EAAC,gBAAgB,CAAC;GACV,cAAc,CAQ1B;AARY,wCAAc"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { Serializable } from "@js-soft/ts-serval";
|
|
2
|
+
export interface RelationshipExistsActionJSON {
|
|
3
|
+
}
|
|
2
4
|
export interface IRelationshipExistsAction {
|
|
3
5
|
}
|
|
4
6
|
export declare abstract class RelationshipExistsAction extends Serializable implements IRelationshipExistsAction {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RelationshipExistsAction.js","sourceRoot":"","sources":["../../src/relationships/RelationshipExistsAction.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAuD;
|
|
1
|
+
{"version":3,"file":"RelationshipExistsAction.js","sourceRoot":"","sources":["../../src/relationships/RelationshipExistsAction.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAuD;AAOvD,IAAsB,wBAAwB,GAA9C,MAAsB,wBAAyB,SAAQ,wBAAY;CAAwC,CAAA;AAArF,wBAAwB;IAD7C,IAAA,gBAAI,EAAC,0BAA0B,CAAC;GACX,wBAAwB,CAA6D;AAArF,4DAAwB"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ISerializableAsync, SerializableAsync } from "@js-soft/ts-serval";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
export interface RelationshipExistMessageActionJSON extends ContentJSON {
|
|
2
|
+
import { IRelationshipExistsAction, RelationshipExistsAction, RelationshipExistsActionJSON } from "./RelationshipExistsAction";
|
|
3
|
+
export interface RelationshipExistsMessageActionJSON extends RelationshipExistsActionJSON {
|
|
5
4
|
content: any;
|
|
6
5
|
}
|
|
7
6
|
export interface IRelationshipExistsMessageAction extends IRelationshipExistsAction {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RelationshipExistsMessageAction.js","sourceRoot":"","sources":["../../src/relationships/RelationshipExistsMessageAction.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAqG;
|
|
1
|
+
{"version":3,"file":"RelationshipExistsMessageAction.js","sourceRoot":"","sources":["../../src/relationships/RelationshipExistsMessageAction.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAqG;AACrG,yEAImC;AAWnC,IAAa,+BAA+B,GAA5C,MAAa,+BACT,SAAQ,mDAAwB;CAMnC,CAAA;AADG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;8BACK,6BAAiB;gEAAA;AANxB,+BAA+B;IAD3C,IAAA,gBAAI,EAAC,iCAAiC,CAAC;GAC3B,+BAA+B,CAO3C;AAPY,0EAA+B"}
|
|
@@ -7,7 +7,7 @@ import { AttributesRequest, AttributesRequestJSON, IAttributesRequest } from "..
|
|
|
7
7
|
import { AuthorizationGrantRequest, AuthorizationGrantRequestJSON, IAuthorizationGrantRequest } from "../requests/AuthorizationGrantRequest";
|
|
8
8
|
import { FormRequest, FormRequestJSON, IFormRequest } from "../requests/FormRequest";
|
|
9
9
|
import { IPrivacyStatement, PrivacyStatement, PrivacyStatementJSON } from "../requests/PrivacyStatement";
|
|
10
|
-
import { IRelationshipExistsAction, RelationshipExistsAction } from "./RelationshipExistsAction";
|
|
10
|
+
import { IRelationshipExistsAction, RelationshipExistsAction, RelationshipExistsActionJSON } from "./RelationshipExistsAction";
|
|
11
11
|
export interface RelationshipTemplateBodyJSON extends ContentJSON {
|
|
12
12
|
title?: string;
|
|
13
13
|
sessionIdentifier?: string;
|
|
@@ -21,7 +21,7 @@ export interface RelationshipTemplateBodyJSON extends ContentJSON {
|
|
|
21
21
|
requestedAuthorizations?: AuthorizationGrantRequestJSON[];
|
|
22
22
|
requestedForms?: FormRequestJSON[];
|
|
23
23
|
privacyStatement?: PrivacyStatementJSON;
|
|
24
|
-
|
|
24
|
+
relationshipExistsAction?: RelationshipExistsActionJSON;
|
|
25
25
|
}
|
|
26
26
|
export interface IRelationshipTemplateBody extends ISerializableAsync {
|
|
27
27
|
title?: string;
|
|
@@ -36,7 +36,7 @@ export interface IRelationshipTemplateBody extends ISerializableAsync {
|
|
|
36
36
|
requestedAuthorizations?: IAuthorizationGrantRequest[];
|
|
37
37
|
requestedForms?: IFormRequest[];
|
|
38
38
|
privacyStatement?: IPrivacyStatement;
|
|
39
|
-
|
|
39
|
+
relationshipExistsAction?: IRelationshipExistsAction;
|
|
40
40
|
}
|
|
41
41
|
export declare class RelationshipTemplateBody extends SerializableAsync implements IRelationshipTemplateBody {
|
|
42
42
|
title?: string;
|
|
@@ -51,6 +51,6 @@ export declare class RelationshipTemplateBody extends SerializableAsync implemen
|
|
|
51
51
|
requestedAuthorizations?: AuthorizationGrantRequest[];
|
|
52
52
|
requestedForms?: FormRequest[];
|
|
53
53
|
privacyStatement?: PrivacyStatement;
|
|
54
|
-
|
|
54
|
+
relationshipExistsAction?: RelationshipExistsAction;
|
|
55
55
|
static from(value: IRelationshipTemplateBody): Promise<RelationshipTemplateBody>;
|
|
56
56
|
}
|
|
@@ -88,7 +88,7 @@ __decorate([
|
|
|
88
88
|
(0, ts_serval_1.serialize)(),
|
|
89
89
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
90
90
|
__metadata("design:type", RelationshipExistsAction_1.RelationshipExistsAction)
|
|
91
|
-
], RelationshipTemplateBody.prototype, "
|
|
91
|
+
], RelationshipTemplateBody.prototype, "relationshipExistsAction", void 0);
|
|
92
92
|
RelationshipTemplateBody = RelationshipTemplateBody_1 = __decorate([
|
|
93
93
|
(0, ts_serval_1.type)("RelationshipTemplateBody")
|
|
94
94
|
], RelationshipTemplateBody);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RelationshipTemplateBody.js","sourceRoot":"","sources":["../../src/relationships/RelationshipTemplateBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,kDAAqG;AACrG,uDAA8E;AAC9E,mEAAkG;AAOlG,qEAA4G;AAC5G,qFAI8C;AAC9C,yDAAoF;AACpF,mEAAwG;AACxG,
|
|
1
|
+
{"version":3,"file":"RelationshipTemplateBody.js","sourceRoot":"","sources":["../../src/relationships/RelationshipTemplateBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,kDAAqG;AACrG,uDAA8E;AAC9E,mEAAkG;AAOlG,qEAA4G;AAC5G,qFAI8C;AAC9C,yDAAoF;AACpF,mEAAwG;AACxG,yEAImC;AAmCnC,IAAa,wBAAwB,gCAArC,MAAa,wBAAyB,SAAQ,6BAAiB;IAqDpD,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,KAAgC;QACrD,OAAO,CAAC,MAAM,KAAK,CAAC,IAAI,CAAC,KAAK,EAAE,0BAAwB,CAAC,CAA6B,CAAA;IAC1F,CAAC;CACJ,CAAA;AArDG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uDACR;AAIrB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mEACI;AAIjC;IAFC,IAAA,qBAAS,EAAC,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC;IACxB,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0DACR;AAIrB;IAFC,IAAA,qBAAS,EAAC,EAAE,IAAI,EAAE,qBAAS,EAAE,CAAC;IAC9B,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kEACQ;AAIrC;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oEACI;AAIjC;IAFC,IAAA,qBAAS,EAAC,EAAE,IAAI,EAAE,6BAAa,EAAE,CAAC;IAClC,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sEACgB;AAI7C;IAFC,IAAA,qBAAS,EAAC,EAAE,IAAI,EAAE,qBAAS,EAAE,CAAC;IAC9B,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4EACgC;AAI7D;IAFC,IAAA,qBAAS,EAAC,EAAE,IAAI,EAAE,qCAAiB,EAAE,CAAC;IACtC,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qEACmB;AAIhD;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uEACO;AAIpC;IAFC,IAAA,qBAAS,EAAC,EAAE,IAAI,EAAE,qDAAyB,EAAE,CAAC;IAC9C,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yEAC+B;AAI5D;IAFC,IAAA,qBAAS,EAAC,EAAE,IAAI,EAAE,yBAAW,EAAE,CAAC;IAChC,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;gEACQ;AAIrC;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACH,mCAAgB;kEAAA;AAI1C;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACK,mDAAwB;0EAAA;AAnDjD,wBAAwB;IADpC,IAAA,gBAAI,EAAC,0BAA0B,CAAC;GACpB,wBAAwB,CAwDpC;AAxDY,4DAAwB"}
|
|
@@ -1,13 +1,20 @@
|
|
|
1
|
+
import { CoreDate, ICoreDate } from "@nmshd/transport";
|
|
1
2
|
import { IRequest, Request, RequestJSON } from "./Request";
|
|
2
3
|
export interface AuthorizationGrantRequestJSON extends RequestJSON {
|
|
3
|
-
|
|
4
|
-
|
|
4
|
+
authorizationCode: string;
|
|
5
|
+
authorizationDescription?: string;
|
|
6
|
+
authorizationTitle: string;
|
|
7
|
+
authorizationExpiresAt?: string;
|
|
5
8
|
}
|
|
6
9
|
export interface IAuthorizationGrantRequest extends IRequest {
|
|
7
|
-
|
|
8
|
-
|
|
10
|
+
authorizationCode: string;
|
|
11
|
+
authorizationDescription?: string;
|
|
12
|
+
authorizationTitle: string;
|
|
13
|
+
authorizationExpiresAt?: ICoreDate;
|
|
9
14
|
}
|
|
10
15
|
export declare class AuthorizationGrantRequest extends Request implements IAuthorizationGrantRequest {
|
|
11
|
-
|
|
12
|
-
|
|
16
|
+
authorizationCode: string;
|
|
17
|
+
authorizationDescription?: string;
|
|
18
|
+
authorizationTitle: string;
|
|
19
|
+
authorizationExpiresAt?: CoreDate;
|
|
13
20
|
}
|
|
@@ -11,6 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.AuthorizationGrantRequest = void 0;
|
|
13
13
|
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
14
|
+
const transport_1 = require("@nmshd/transport");
|
|
14
15
|
const Request_1 = require("./Request");
|
|
15
16
|
let AuthorizationGrantRequest = class AuthorizationGrantRequest extends Request_1.Request {
|
|
16
17
|
};
|
|
@@ -18,12 +19,22 @@ __decorate([
|
|
|
18
19
|
(0, ts_serval_1.serialize)(),
|
|
19
20
|
(0, ts_serval_1.validate)(),
|
|
20
21
|
__metadata("design:type", String)
|
|
21
|
-
], AuthorizationGrantRequest.prototype, "
|
|
22
|
+
], AuthorizationGrantRequest.prototype, "authorizationCode", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, ts_serval_1.serialize)(),
|
|
25
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], AuthorizationGrantRequest.prototype, "authorizationDescription", void 0);
|
|
22
28
|
__decorate([
|
|
23
29
|
(0, ts_serval_1.serialize)(),
|
|
24
30
|
(0, ts_serval_1.validate)(),
|
|
25
31
|
__metadata("design:type", String)
|
|
26
|
-
], AuthorizationGrantRequest.prototype, "
|
|
32
|
+
], AuthorizationGrantRequest.prototype, "authorizationTitle", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, ts_serval_1.serialize)(),
|
|
35
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
36
|
+
__metadata("design:type", transport_1.CoreDate)
|
|
37
|
+
], AuthorizationGrantRequest.prototype, "authorizationExpiresAt", void 0);
|
|
27
38
|
AuthorizationGrantRequest = __decorate([
|
|
28
39
|
(0, ts_serval_1.type)("AuthorizationGrantRequest")
|
|
29
40
|
], AuthorizationGrantRequest);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthorizationGrantRequest.js","sourceRoot":"","sources":["../../src/requests/AuthorizationGrantRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,uCAA0D;
|
|
1
|
+
{"version":3,"file":"AuthorizationGrantRequest.js","sourceRoot":"","sources":["../../src/requests/AuthorizationGrantRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,gDAAsD;AACtD,uCAA0D;AAiB1D,IAAa,yBAAyB,GAAtC,MAAa,yBAA0B,SAAQ,iBAAO;CAgBrD,CAAA;AAbG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;oEACqB;AAIhC;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2EACW;AAIxC;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;qEACsB;AAIjC;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACG,oBAAQ;yEAAA;AAf/B,yBAAyB;IADrC,IAAA,gBAAI,EAAC,2BAA2B,CAAC;GACrB,yBAAyB,CAgBrC;AAhBY,8DAAyB"}
|
|
@@ -6,6 +6,7 @@ export interface RequestJSON extends ContentJSON {
|
|
|
6
6
|
key?: string;
|
|
7
7
|
reason?: string;
|
|
8
8
|
expiresAt?: string;
|
|
9
|
+
impact?: string;
|
|
9
10
|
}
|
|
10
11
|
export interface IRequest extends ISerializable {
|
|
11
12
|
id?: ICoreId;
|
|
@@ -28,10 +29,17 @@ export interface IRequest extends ISerializable {
|
|
|
28
29
|
* @default undefined - the request won't expire
|
|
29
30
|
*/
|
|
30
31
|
expiresAt?: ICoreDate;
|
|
32
|
+
/**
|
|
33
|
+
* The impact of this request. This can be used to show the user what happens if the user does not accept the request.
|
|
34
|
+
*
|
|
35
|
+
* @default undefined - no specific impact
|
|
36
|
+
*/
|
|
37
|
+
impact?: string;
|
|
31
38
|
}
|
|
32
39
|
export declare abstract class Request extends SerializableAsync {
|
|
33
40
|
id?: CoreId;
|
|
34
41
|
key?: string;
|
|
35
42
|
reason?: string;
|
|
36
43
|
expiresAt?: CoreDate;
|
|
44
|
+
impact?: string;
|
|
37
45
|
}
|
package/dist/requests/Request.js
CHANGED
|
@@ -34,6 +34,11 @@ __decorate([
|
|
|
34
34
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
35
35
|
__metadata("design:type", transport_1.CoreDate)
|
|
36
36
|
], Request.prototype, "expiresAt", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, ts_serval_1.serialize)(),
|
|
39
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
40
|
+
__metadata("design:type", String)
|
|
41
|
+
], Request.prototype, "impact", void 0);
|
|
37
42
|
Request = __decorate([
|
|
38
43
|
(0, ts_serval_1.type)("Request")
|
|
39
44
|
], Request);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Request.js","sourceRoot":"","sources":["../../src/requests/Request.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAgG;AAChG,gDAAuE;
|
|
1
|
+
{"version":3,"file":"Request.js","sourceRoot":"","sources":["../../src/requests/Request.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAgG;AAChG,gDAAuE;AA0CvE,IAAsB,OAAO,GAA7B,MAAsB,OAAQ,SAAQ,6BAAiB;CAoBtD,CAAA;AAjBG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACjB,kBAAM;mCAAA;AAIlB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oCACV;AAInB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uCACP;AAItB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACV,oBAAQ;0CAAA;AAI3B;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uCACP;AAnBJ,OAAO;IAD5B,IAAA,gBAAI,EAAC,SAAS,CAAC;GACM,OAAO,CAoB5B;AApBqB,0BAAO"}
|
package/lib-web/nmshd.content.js
CHANGED
|
@@ -240,10 +240,10 @@ const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-s
|
|
|
240
240
|
const crypto_1 = __webpack_require__(/*! @nmshd/crypto */ "@nmshd/crypto");
|
|
241
241
|
const transport_1 = __webpack_require__(/*! @nmshd/transport */ "@nmshd/transport");
|
|
242
242
|
exports.buildInformation = {
|
|
243
|
-
version: "1.0
|
|
244
|
-
build: "
|
|
245
|
-
date: "2021-
|
|
246
|
-
commit: "
|
|
243
|
+
version: "1.1.0",
|
|
244
|
+
build: "7",
|
|
245
|
+
date: "2021-12-08T09:58:00+00:00",
|
|
246
|
+
commit: "9e3559dc487e74c6531bf27509c489e7d71f3326",
|
|
247
247
|
dependencies: {"@js-soft/logging-abstractions":"^1.0.0"},
|
|
248
248
|
libraries: {
|
|
249
249
|
serval: ts_serval_1.buildInformation,
|
|
@@ -279,12 +279,12 @@ class Form extends ts_serval_1.Serializable {
|
|
|
279
279
|
}
|
|
280
280
|
__decorate([
|
|
281
281
|
(0, ts_serval_1.serialize)(),
|
|
282
|
-
(0, ts_serval_1.validate)(),
|
|
282
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
283
283
|
__metadata("design:type", String)
|
|
284
284
|
], Form.prototype, "title", void 0);
|
|
285
285
|
__decorate([
|
|
286
286
|
(0, ts_serval_1.serialize)(),
|
|
287
|
-
(0, ts_serval_1.validate)(),
|
|
287
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
288
288
|
__metadata("design:type", String)
|
|
289
289
|
], Form.prototype, "description", void 0);
|
|
290
290
|
__decorate([
|
|
@@ -1068,7 +1068,7 @@ __decorate([
|
|
|
1068
1068
|
(0, ts_serval_1.serialize)(),
|
|
1069
1069
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
1070
1070
|
__metadata("design:type", RelationshipExistsAction_1.RelationshipExistsAction)
|
|
1071
|
-
], RelationshipTemplateBody.prototype, "
|
|
1071
|
+
], RelationshipTemplateBody.prototype, "relationshipExistsAction", void 0);
|
|
1072
1072
|
RelationshipTemplateBody = RelationshipTemplateBody_1 = __decorate([
|
|
1073
1073
|
(0, ts_serval_1.type)("RelationshipTemplateBody")
|
|
1074
1074
|
], RelationshipTemplateBody);
|
|
@@ -1253,6 +1253,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
1253
1253
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1254
1254
|
exports.AuthorizationGrantRequest = void 0;
|
|
1255
1255
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
1256
|
+
const transport_1 = __webpack_require__(/*! @nmshd/transport */ "@nmshd/transport");
|
|
1256
1257
|
const Request_1 = __webpack_require__(/*! ./Request */ "./dist/requests/Request.js");
|
|
1257
1258
|
let AuthorizationGrantRequest = class AuthorizationGrantRequest extends Request_1.Request {
|
|
1258
1259
|
};
|
|
@@ -1260,12 +1261,22 @@ __decorate([
|
|
|
1260
1261
|
(0, ts_serval_1.serialize)(),
|
|
1261
1262
|
(0, ts_serval_1.validate)(),
|
|
1262
1263
|
__metadata("design:type", String)
|
|
1263
|
-
], AuthorizationGrantRequest.prototype, "
|
|
1264
|
+
], AuthorizationGrantRequest.prototype, "authorizationCode", void 0);
|
|
1265
|
+
__decorate([
|
|
1266
|
+
(0, ts_serval_1.serialize)(),
|
|
1267
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
1268
|
+
__metadata("design:type", String)
|
|
1269
|
+
], AuthorizationGrantRequest.prototype, "authorizationDescription", void 0);
|
|
1264
1270
|
__decorate([
|
|
1265
1271
|
(0, ts_serval_1.serialize)(),
|
|
1266
1272
|
(0, ts_serval_1.validate)(),
|
|
1267
1273
|
__metadata("design:type", String)
|
|
1268
|
-
], AuthorizationGrantRequest.prototype, "
|
|
1274
|
+
], AuthorizationGrantRequest.prototype, "authorizationTitle", void 0);
|
|
1275
|
+
__decorate([
|
|
1276
|
+
(0, ts_serval_1.serialize)(),
|
|
1277
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
1278
|
+
__metadata("design:type", transport_1.CoreDate)
|
|
1279
|
+
], AuthorizationGrantRequest.prototype, "authorizationExpiresAt", void 0);
|
|
1269
1280
|
AuthorizationGrantRequest = __decorate([
|
|
1270
1281
|
(0, ts_serval_1.type)("AuthorizationGrantRequest")
|
|
1271
1282
|
], AuthorizationGrantRequest);
|
|
@@ -1490,6 +1501,11 @@ __decorate([
|
|
|
1490
1501
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
1491
1502
|
__metadata("design:type", transport_1.CoreDate)
|
|
1492
1503
|
], Request.prototype, "expiresAt", void 0);
|
|
1504
|
+
__decorate([
|
|
1505
|
+
(0, ts_serval_1.serialize)(),
|
|
1506
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
1507
|
+
__metadata("design:type", String)
|
|
1508
|
+
], Request.prototype, "impact", void 0);
|
|
1493
1509
|
Request = __decorate([
|
|
1494
1510
|
(0, ts_serval_1.type)("Request")
|
|
1495
1511
|
], Request);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var NMSHDContent;(()=>{"use strict";var e={564:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},652:function(e,t,i){var o,r=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},a=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.Attribute=void 0;const n=i(194),l=i(663);let s=o=class Attribute extends l.CoreSerializable{get namespace(){if(!this.name)return;const e=this.name.split(".");return e.length<=1?void 0:e[0]}get attribute(){if(!this.name)return;return this.name.split(".").pop()}static from(e){return super.from(e,o)}static fromJSON(e){return this.from({name:e.name,value:e.value,validFrom:e.validFrom?l.CoreDate.from(e.validFrom):void 0,validTo:e.validTo?l.CoreDate.from(e.validTo):void 0})}};r([(0,n.serialize)(),(0,n.validate)(),a("design:type",String)],s.prototype,"name",void 0),r([(0,n.serialize)({any:!0}),(0,n.validate)({nullable:!0}),a("design:type",Object)],s.prototype,"value",void 0),r([(0,n.serialize)(),(0,n.validate)({nullable:!0}),a("design:type",l.CoreDate)],s.prototype,"validFrom",void 0),r([(0,n.serialize)(),(0,n.validate)({nullable:!0}),a("design:type",l.CoreDate)],s.prototype,"validTo",void 0),s=o=r([(0,n.type)("Attribute")],s),t.Attribute=s},97:function(e,t,i){var o,r=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},a=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.AttributeName=void 0;const n=i(194);let l=o=class AttributeName extends n.Serializable{constructor(e){super(),this.checkName(e),this._name=e}set name(e){this.checkName(e),this._name=e}get name(){return this._name}checkName(e,t=!0){let i;if(e||(i=new Error("error.content.attribute.nameMustBeSet")),i&&t)throw i;return null}static from(e){return new o("string"==typeof e?e:e.name)}static deserialize(e){return new o(e)}toString(){return this._name}serialize(){return this._name}toJSON(){return this._name}};l=o=r([(0,n.type)("AttributeName"),a("design:paramtypes",[String])],l),t.AttributeName=l},144:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AttributeNamespaces=void 0,function(e){e[e.Person=0]="Person",e[e.Thing=1]="Thing",e[e.Address=2]="Address",e[e.Payment=3]="Payment",e[e.Communication=4]="Communication",e[e.Corporation=5]="Corporation"}(t.AttributeNamespaces||(t.AttributeNamespaces={}))},825:function(e,t,i){var o,r=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},a=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.Authorization=void 0;const n=i(194);let l=o=class Authorization extends n.Serializable{static from(e){return super.from(e,o)}};r([(0,n.validate)(),(0,n.serialize)(),a("design:type",String)],l.prototype,"name",void 0),r([(0,n.validate)(),(0,n.serialize)(),a("design:type",String)],l.prototype,"value",void 0),l=o=r([(0,n.type)("Authorization")],l),t.Authorization=l},500:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.buildInformation=void 0;const o=i(194),r=i(890),a=i(663);t.buildInformation={version:"1.0.4",build:"6",date:"2021-10-11T11:36:10+00:00",commit:"02aa24f69c8b43338609489acc003d39d4a51f5a",dependencies:{"@js-soft/logging-abstractions":"^1.0.0"},libraries:{serval:o.buildInformation,crypto:r.buildInformation,transport:a.buildInformation}}},198:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.Form=void 0;const a=i(194),n=i(331);class Form extends a.Serializable{}o([(0,a.serialize)(),(0,a.validate)(),r("design:type",String)],Form.prototype,"title",void 0),o([(0,a.serialize)(),(0,a.validate)(),r("design:type",String)],Form.prototype,"description",void 0),o([(0,a.serialize)({type:n.FormItem}),(0,a.validate)(),r("design:type",Array)],Form.prototype,"items",void 0),t.Form=Form},331:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.FormItemVisible=t.FormItem=t.FormType=void 0;const a=i(194);!function(e){e.Invisible="invisible",e.String="string",e.Select="select",e.Date="date",e.Text="text"}(t.FormType||(t.FormType={}));class FormItem extends a.Serializable{}o([(0,a.serialize)(),(0,a.validate)(),r("design:type",String)],FormItem.prototype,"key",void 0),o([(0,a.serialize)(),(0,a.validate)(),r("design:type",String)],FormItem.prototype,"type",void 0),t.FormItem=FormItem;class FormItemVisible extends FormItem{}o([(0,a.serialize)(),(0,a.validate)(),r("design:type",String)],FormItemVisible.prototype,"label",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",Boolean)],FormItemVisible.prototype,"readonly",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],FormItemVisible.prototype,"help",void 0),t.FormItemVisible=FormItemVisible},985:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),r=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),r(i(198),t),r(i(331),t),r(i(644),t),r(i(488),t),r(i(717),t),r(i(106),t),r(i(440),t),r(i(897),t)},644:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.FormItemDate=void 0;const a=i(194),n=i(331);let l=class FormItemDate extends n.FormItemVisible{};o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"placeholder",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"value",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"minDate",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"maxDate",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"duration",void 0),l=o([(0,a.type)("FormItemDate")],l),t.FormItemDate=l},488:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.FormItemInvisible=void 0;const a=i(194),n=i(331);let l=class FormItemInvisible extends n.FormItem{};o([(0,a.serialize)(),(0,a.validate)(),r("design:type",String)],l.prototype,"value",void 0),l=o([(0,a.type)("FormItemInvisible")],l),t.FormItemInvisible=l},717:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.FormItemSelect=void 0;const a=i(194),n=i(331),l=i(106);let s=class FormItemSelect extends n.FormItemVisible{};o([(0,a.serialize)({type:l.FormItemSelectItem}),(0,a.validate)(),r("design:type",Array)],s.prototype,"items",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],s.prototype,"selectedKey",void 0),s=o([(0,a.type)("FormItemSelect")],s),t.FormItemSelect=s},106:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.FormItemSelectItem=void 0;const a=i(194);let n=class FormItemSelectItem extends a.Serializable{};o([(0,a.serialize)(),(0,a.validate)(),r("design:type",String)],n.prototype,"key",void 0),o([(0,a.serialize)(),(0,a.validate)(),r("design:type",String)],n.prototype,"label",void 0),n=o([(0,a.type)("FormItemSelectItem")],n),t.FormItemSelectItem=n},440:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.FormItemString=void 0;const a=i(194),n=i(331);let l=class FormItemString extends n.FormItemVisible{};o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"placeholder",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"value",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",Number)],l.prototype,"minLength",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",Number)],l.prototype,"maxLength",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"allowedRegex",void 0),l=o([(0,a.type)("FormItemString")],l),t.FormItemString=l},897:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.FormItemText=void 0;const a=i(194),n=i(331);let l=class FormItemText extends n.FormItemVisible{};o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"placeholder",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"value",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",Number)],l.prototype,"minLength",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",Number)],l.prototype,"maxLength",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"allowedRegex",void 0),l=o([(0,a.type)("FormItemText")],l),t.FormItemText=l},590:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),r=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),r(i(652),t),r(i(97),t),r(i(144),t),r(i(825),t),r(i(500),t),r(i(564),t),r(i(985),t),r(i(502),t),r(i(127),t),r(i(260),t),r(i(146),t),r(i(623),t),r(i(451),t),r(i(583),t),r(i(455),t),r(i(90),t),r(i(532),t),r(i(72),t),r(i(236),t),r(i(365),t),r(i(563),t),r(i(16),t)},502:function(e,t,i){var o,r=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},a=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.Mail=void 0;const n=i(194),l=i(663);let s=o=class Mail extends n.SerializableAsync{static async from(e){return void 0===e.cc&&(e.cc=[]),void 0===e.body&&e.content&&(e.body=e.content,delete e.content),await super.fromT(e,o)}static async fromJSON(e){var t,i;return await this.from({body:e.body,subject:e.subject,to:null===(t=e.to)||void 0===t?void 0:t.map((e=>l.CoreAddress.from(e))),cc:null===(i=e.cc)||void 0===i?void 0:i.map((e=>l.CoreAddress.from(e)))})}};r([(0,n.serialize)({type:l.CoreAddress}),(0,n.validate)({customValidator:e=>e.length<1?"may not be empty":void 0}),a("design:type",Array)],s.prototype,"to",void 0),r([(0,n.serialize)({type:l.CoreAddress}),(0,n.validate)({nullable:!0}),a("design:type",Array)],s.prototype,"cc",void 0),r([(0,n.serialize)(),(0,n.validate)(),a("design:type",String)],s.prototype,"subject",void 0),r([(0,n.serialize)(),(0,n.validate)(),a("design:type",String)],s.prototype,"body",void 0),s=o=r([(0,n.type)("Mail")],s),t.Mail=s},127:function(e,t,i){var o,r=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},a=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.RequestMail=void 0;const n=i(194),l=i(502);let s=o=class RequestMail extends l.Mail{static async from(e){return await super.fromT(e,o)}static async fromJSON(e){const t=await l.Mail.fromJSON(e),i=await Promise.all(e.requests.map((e=>n.SerializableAsync.fromUnknown(e))));return await this.from({body:t.body,subject:t.subject,to:t.to,cc:t.cc,requests:i})}};r([(0,n.serialize)(),(0,n.validate)(),a("design:type",Array)],s.prototype,"requests",void 0),s=o=r([(0,n.type)("RequestMail")],s),t.RequestMail=s},260:function(e,t,i){var o,r=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},a=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.RelationshipCreationChangeRequestBody=void 0;const n=i(194),l=i(652),s=i(825),c=i(365),d=i(563);let p=o=class RelationshipCreationChangeRequestBody extends n.SerializableAsync{static async from(e){return await super.from(e,o)}};r([(0,n.serialize)(),(0,n.validate)({nullable:!0}),a("design:type",String)],p.prototype,"title",void 0),r([(0,n.serialize)(),(0,n.validate)({nullable:!0}),a("design:type",String)],p.prototype,"sessionIdentifier",void 0),r([(0,n.serialize)({any:!0}),(0,n.validate)({nullable:!0}),a("design:type",Object)],p.prototype,"metadata",void 0),r([(0,n.serialize)({type:l.Attribute}),(0,n.validate)({nullable:!0}),a("design:type",Array)],p.prototype,"sharedAttributes",void 0),r([(0,n.serialize)(),(0,n.validate)({nullable:!0}),a("design:type",Array)],p.prototype,"sharedCertificates",void 0),r([(0,n.serialize)({type:s.Authorization}),(0,n.validate)({nullable:!0}),a("design:type",Array)],p.prototype,"sharedAuthorizations",void 0),r([(0,n.serialize)({type:c.FormRequest}),(0,n.validate)({nullable:!0}),a("design:type",Array)],p.prototype,"sharedForms",void 0),r([(0,n.serialize)(),(0,n.validate)({nullable:!0}),a("design:type",d.PrivacyStatement)],p.prototype,"privacyStatementResponse",void 0),p=o=r([(0,n.type)("RelationshipCreationChangeRequestBody")],p),t.RelationshipCreationChangeRequestBody=p},146:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n};Object.defineProperty(t,"__esModule",{value:!0}),t.RelationshipExistsAction=void 0;const r=i(194);let a=class RelationshipExistsAction extends r.Serializable{};a=o([(0,r.type)("RelationshipExistsAction")],a),t.RelationshipExistsAction=a},623:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.RelationshipExistsMessageAction=void 0;const a=i(194),n=i(146);let l=class RelationshipExistsMessageAction extends n.RelationshipExistsAction{};o([(0,a.serialize)(),(0,a.validate)(),r("design:type",a.SerializableAsync)],l.prototype,"content",void 0),l=o([(0,a.type)("RelationshipExistsMessageAction")],l),t.RelationshipExistsMessageAction=l},451:function(e,t,i){var o,r=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},a=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.RelationshipTemplateBody=void 0;const n=i(194),l=i(652),s=i(825),c=i(455),d=i(532),p=i(365),f=i(563),u=i(146);let y=o=class RelationshipTemplateBody extends n.SerializableAsync{static async from(e){return await super.from(e,o)}};r([(0,n.serialize)(),(0,n.validate)({nullable:!0}),a("design:type",String)],y.prototype,"title",void 0),r([(0,n.serialize)(),(0,n.validate)({nullable:!0}),a("design:type",String)],y.prototype,"sessionIdentifier",void 0),r([(0,n.serialize)({any:!0}),(0,n.validate)({nullable:!0}),a("design:type",Object)],y.prototype,"metadata",void 0),r([(0,n.serialize)({type:l.Attribute}),(0,n.validate)({nullable:!0}),a("design:type",Array)],y.prototype,"sharedAttributes",void 0),r([(0,n.serialize)(),(0,n.validate)({nullable:!0}),a("design:type",Array)],y.prototype,"sharedCertificates",void 0),r([(0,n.serialize)({type:s.Authorization}),(0,n.validate)({nullable:!0}),a("design:type",Array)],y.prototype,"sharedAuthorizations",void 0),r([(0,n.serialize)({type:l.Attribute}),(0,n.validate)({nullable:!0}),a("design:type",Array)],y.prototype,"requestedAttributesChanges",void 0),r([(0,n.serialize)({type:c.AttributesRequest}),(0,n.validate)({nullable:!0}),a("design:type",Array)],y.prototype,"requestedAttributes",void 0),r([(0,n.serialize)(),(0,n.validate)({nullable:!0}),a("design:type",Array)],y.prototype,"requestedCertificates",void 0),r([(0,n.serialize)({type:d.AuthorizationGrantRequest}),(0,n.validate)({nullable:!0}),a("design:type",Array)],y.prototype,"requestedAuthorizations",void 0),r([(0,n.serialize)({type:p.FormRequest}),(0,n.validate)({nullable:!0}),a("design:type",Array)],y.prototype,"requestedForms",void 0),r([(0,n.serialize)(),(0,n.validate)({nullable:!0}),a("design:type",f.PrivacyStatement)],y.prototype,"privacyStatement",void 0),r([(0,n.serialize)(),(0,n.validate)({nullable:!0}),a("design:type",u.RelationshipExistsAction)],y.prototype,"relationshipExistsActions",void 0),y=o=r([(0,n.type)("RelationshipTemplateBody")],y),t.RelationshipTemplateBody=y},583:function(e,t,i){var o,r=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},a=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.AttributesChangeRequest=void 0;const n=i(194),l=i(663),s=i(652),c=i(16);let d=o=class AttributesChangeRequest extends c.Request{static async from(e){return await super.from(e,o)}static async fromJSON(e){const t=await Promise.all(e.attributes.map((e=>s.Attribute.fromJSON(e))));return await this.from({id:e.id?l.CoreId.from(e.id):void 0,attributes:t,applyTo:e.applyTo?l.CoreAddress.from(e.applyTo):void 0,expiresAt:e.expiresAt?l.CoreDate.from(e.expiresAt):void 0,key:e.key,reason:e.reason})}};r([(0,n.serialize)({type:s.Attribute}),(0,n.validate)(),a("design:type",Array)],d.prototype,"attributes",void 0),r([(0,n.serialize)(),(0,n.validate)({nullable:!0}),a("design:type",l.CoreAddress)],d.prototype,"applyTo",void 0),d=o=r([(0,n.type)("AttributesChangeRequest")],d),t.AttributesChangeRequest=d},455:function(e,t,i){var o,r=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},a=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.AttributesRequest=void 0;const n=i(194),l=i(663),s=i(16);let c=o=class AttributesRequest extends s.Request{static async from(e){return await super.from(e,o)}static async fromJSON(e){return await this.from({id:e.id?l.CoreId.from(e.id):void 0,expiresAt:e.expiresAt?l.CoreDate.from(e.expiresAt):void 0,key:e.key,reason:e.reason,names:e.names,required:e.required})}};r([(0,n.serialize)({type:String}),(0,n.validate)(),a("design:type",Array)],c.prototype,"names",void 0),r([(0,n.serialize)(),(0,n.validate)({nullable:!0}),a("design:type",Boolean)],c.prototype,"required",void 0),c=o=r([(0,n.type)("AttributesRequest")],c),t.AttributesRequest=c},90:function(e,t,i){var o,r=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},a=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.AttributesShareRequest=void 0;const n=i(194),l=i(663),s=i(16);let c=o=class AttributesShareRequest extends s.Request{static async from(e){return await super.fromT(e,o)}};r([(0,n.serialize)({type:String}),(0,n.validate)(),a("design:type",Array)],c.prototype,"attributes",void 0),r([(0,n.serialize)({type:l.CoreAddress}),(0,n.validate)(),a("design:type",Array)],c.prototype,"recipients",void 0),c=o=r([(0,n.type)("AttributesShareRequest")],c),t.AttributesShareRequest=c},532:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.AuthorizationGrantRequest=void 0;const a=i(194),n=i(16);let l=class AuthorizationGrantRequest extends n.Request{};o([(0,a.serialize)(),(0,a.validate)(),r("design:type",String)],l.prototype,"authorization",void 0),o([(0,a.serialize)(),(0,a.validate)(),r("design:type",String)],l.prototype,"reference",void 0),l=o([(0,a.type)("AuthorizationGrantRequest")],l),t.AuthorizationGrantRequest=l},72:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.ChallengeRequest=t.ChallengeJSONType=void 0;const a=i(194),n=i(663),l=i(16);!function(e){e.Identity="Identity",e.Device="Device",e.Relationship="Relationship"}(t.ChallengeJSONType||(t.ChallengeJSONType={}));let s=class ChallengeRequest extends l.Request{};o([(0,a.serialize)(),(0,a.validate)(),r("design:type",n.Challenge)],s.prototype,"challenge",void 0),s=o([(0,a.type)("ChallengeRequest")],s),t.ChallengeRequest=s},236:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.ChallengeResponse=void 0;const a=i(194),n=i(663),l=i(16);let s=class ChallengeResponse extends l.Request{};o([(0,a.serialize)(),(0,a.validate)(),r("design:type",n.ChallengeSigned)],s.prototype,"signedChallenge",void 0),s=o([(0,a.type)("ChallengeResponse")],s),t.ChallengeResponse=s},365:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.FormRequest=void 0;const a=i(194),n=i(985),l=i(16);let s=class FormRequest extends l.Request{};o([(0,a.serialize)(),(0,a.validate)(),r("design:type",n.Form)],s.prototype,"form",void 0),s=o([(0,a.type)("FormRequest")],s),t.FormRequest=s},563:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.PrivacyStatement=void 0;const a=i(194),n=i(16);let l=class PrivacyStatement extends n.Request{};o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"title",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"text",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"consentText",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",Boolean)],l.prototype,"required",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",Boolean)],l.prototype,"activeConsent",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"uri",void 0),l=o([(0,a.type)("PrivacyStatement")],l),t.PrivacyStatement=l},16:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.Request=void 0;const a=i(194),n=i(663);let l=class Request extends a.SerializableAsync{};o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",n.CoreId)],l.prototype,"id",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"key",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"reason",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",n.CoreDate)],l.prototype,"expiresAt",void 0),l=o([(0,a.type)("Request")],l),t.Request=l},890:e=>{e.exports=NMSHDCrypto},663:e=>{e.exports=NMSHDTransport},194:e=>{e.exports=TSServal}},t={};var i=function __webpack_require__(i){var o=t[i];if(void 0!==o)return o.exports;var r=t[i]={exports:{}};return e[i].call(r.exports,r,r.exports,__webpack_require__),r.exports}(590);NMSHDContent=i})();
|
|
1
|
+
var NMSHDContent;(()=>{"use strict";var e={564:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0})},652:function(e,t,i){var o,r=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},a=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.Attribute=void 0;const n=i(194),l=i(663);let s=o=class Attribute extends l.CoreSerializable{get namespace(){if(!this.name)return;const e=this.name.split(".");return e.length<=1?void 0:e[0]}get attribute(){if(!this.name)return;return this.name.split(".").pop()}static from(e){return super.from(e,o)}static fromJSON(e){return this.from({name:e.name,value:e.value,validFrom:e.validFrom?l.CoreDate.from(e.validFrom):void 0,validTo:e.validTo?l.CoreDate.from(e.validTo):void 0})}};r([(0,n.serialize)(),(0,n.validate)(),a("design:type",String)],s.prototype,"name",void 0),r([(0,n.serialize)({any:!0}),(0,n.validate)({nullable:!0}),a("design:type",Object)],s.prototype,"value",void 0),r([(0,n.serialize)(),(0,n.validate)({nullable:!0}),a("design:type",l.CoreDate)],s.prototype,"validFrom",void 0),r([(0,n.serialize)(),(0,n.validate)({nullable:!0}),a("design:type",l.CoreDate)],s.prototype,"validTo",void 0),s=o=r([(0,n.type)("Attribute")],s),t.Attribute=s},97:function(e,t,i){var o,r=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},a=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.AttributeName=void 0;const n=i(194);let l=o=class AttributeName extends n.Serializable{constructor(e){super(),this.checkName(e),this._name=e}set name(e){this.checkName(e),this._name=e}get name(){return this._name}checkName(e,t=!0){let i;if(e||(i=new Error("error.content.attribute.nameMustBeSet")),i&&t)throw i;return null}static from(e){return new o("string"==typeof e?e:e.name)}static deserialize(e){return new o(e)}toString(){return this._name}serialize(){return this._name}toJSON(){return this._name}};l=o=r([(0,n.type)("AttributeName"),a("design:paramtypes",[String])],l),t.AttributeName=l},144:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AttributeNamespaces=void 0,function(e){e[e.Person=0]="Person",e[e.Thing=1]="Thing",e[e.Address=2]="Address",e[e.Payment=3]="Payment",e[e.Communication=4]="Communication",e[e.Corporation=5]="Corporation"}(t.AttributeNamespaces||(t.AttributeNamespaces={}))},825:function(e,t,i){var o,r=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},a=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.Authorization=void 0;const n=i(194);let l=o=class Authorization extends n.Serializable{static from(e){return super.from(e,o)}};r([(0,n.validate)(),(0,n.serialize)(),a("design:type",String)],l.prototype,"name",void 0),r([(0,n.validate)(),(0,n.serialize)(),a("design:type",String)],l.prototype,"value",void 0),l=o=r([(0,n.type)("Authorization")],l),t.Authorization=l},500:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.buildInformation=void 0;const o=i(194),r=i(890),a=i(663);t.buildInformation={version:"1.1.0",build:"7",date:"2021-12-08T09:58:00+00:00",commit:"9e3559dc487e74c6531bf27509c489e7d71f3326",dependencies:{"@js-soft/logging-abstractions":"^1.0.0"},libraries:{serval:o.buildInformation,crypto:r.buildInformation,transport:a.buildInformation}}},198:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.Form=void 0;const a=i(194),n=i(331);class Form extends a.Serializable{}o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],Form.prototype,"title",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],Form.prototype,"description",void 0),o([(0,a.serialize)({type:n.FormItem}),(0,a.validate)(),r("design:type",Array)],Form.prototype,"items",void 0),t.Form=Form},331:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.FormItemVisible=t.FormItem=t.FormType=void 0;const a=i(194);!function(e){e.Invisible="invisible",e.String="string",e.Select="select",e.Date="date",e.Text="text"}(t.FormType||(t.FormType={}));class FormItem extends a.Serializable{}o([(0,a.serialize)(),(0,a.validate)(),r("design:type",String)],FormItem.prototype,"key",void 0),o([(0,a.serialize)(),(0,a.validate)(),r("design:type",String)],FormItem.prototype,"type",void 0),t.FormItem=FormItem;class FormItemVisible extends FormItem{}o([(0,a.serialize)(),(0,a.validate)(),r("design:type",String)],FormItemVisible.prototype,"label",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",Boolean)],FormItemVisible.prototype,"readonly",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],FormItemVisible.prototype,"help",void 0),t.FormItemVisible=FormItemVisible},985:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),r=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),r(i(198),t),r(i(331),t),r(i(644),t),r(i(488),t),r(i(717),t),r(i(106),t),r(i(440),t),r(i(897),t)},644:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.FormItemDate=void 0;const a=i(194),n=i(331);let l=class FormItemDate extends n.FormItemVisible{};o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"placeholder",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"value",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"minDate",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"maxDate",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"duration",void 0),l=o([(0,a.type)("FormItemDate")],l),t.FormItemDate=l},488:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.FormItemInvisible=void 0;const a=i(194),n=i(331);let l=class FormItemInvisible extends n.FormItem{};o([(0,a.serialize)(),(0,a.validate)(),r("design:type",String)],l.prototype,"value",void 0),l=o([(0,a.type)("FormItemInvisible")],l),t.FormItemInvisible=l},717:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.FormItemSelect=void 0;const a=i(194),n=i(331),l=i(106);let s=class FormItemSelect extends n.FormItemVisible{};o([(0,a.serialize)({type:l.FormItemSelectItem}),(0,a.validate)(),r("design:type",Array)],s.prototype,"items",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],s.prototype,"selectedKey",void 0),s=o([(0,a.type)("FormItemSelect")],s),t.FormItemSelect=s},106:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.FormItemSelectItem=void 0;const a=i(194);let n=class FormItemSelectItem extends a.Serializable{};o([(0,a.serialize)(),(0,a.validate)(),r("design:type",String)],n.prototype,"key",void 0),o([(0,a.serialize)(),(0,a.validate)(),r("design:type",String)],n.prototype,"label",void 0),n=o([(0,a.type)("FormItemSelectItem")],n),t.FormItemSelectItem=n},440:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.FormItemString=void 0;const a=i(194),n=i(331);let l=class FormItemString extends n.FormItemVisible{};o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"placeholder",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"value",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",Number)],l.prototype,"minLength",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",Number)],l.prototype,"maxLength",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"allowedRegex",void 0),l=o([(0,a.type)("FormItemString")],l),t.FormItemString=l},897:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.FormItemText=void 0;const a=i(194),n=i(331);let l=class FormItemText extends n.FormItemVisible{};o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"placeholder",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"value",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",Number)],l.prototype,"minLength",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",Number)],l.prototype,"maxLength",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"allowedRegex",void 0),l=o([(0,a.type)("FormItemText")],l),t.FormItemText=l},590:function(e,t,i){var o=this&&this.__createBinding||(Object.create?function(e,t,i,o){void 0===o&&(o=i),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[i]}})}:function(e,t,i,o){void 0===o&&(o=i),e[o]=t[i]}),r=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||o(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),r(i(652),t),r(i(97),t),r(i(144),t),r(i(825),t),r(i(500),t),r(i(564),t),r(i(985),t),r(i(502),t),r(i(127),t),r(i(260),t),r(i(146),t),r(i(623),t),r(i(451),t),r(i(583),t),r(i(455),t),r(i(90),t),r(i(532),t),r(i(72),t),r(i(236),t),r(i(365),t),r(i(563),t),r(i(16),t)},502:function(e,t,i){var o,r=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},a=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.Mail=void 0;const n=i(194),l=i(663);let s=o=class Mail extends n.SerializableAsync{static async from(e){return void 0===e.cc&&(e.cc=[]),void 0===e.body&&e.content&&(e.body=e.content,delete e.content),await super.fromT(e,o)}static async fromJSON(e){var t,i;return await this.from({body:e.body,subject:e.subject,to:null===(t=e.to)||void 0===t?void 0:t.map((e=>l.CoreAddress.from(e))),cc:null===(i=e.cc)||void 0===i?void 0:i.map((e=>l.CoreAddress.from(e)))})}};r([(0,n.serialize)({type:l.CoreAddress}),(0,n.validate)({customValidator:e=>e.length<1?"may not be empty":void 0}),a("design:type",Array)],s.prototype,"to",void 0),r([(0,n.serialize)({type:l.CoreAddress}),(0,n.validate)({nullable:!0}),a("design:type",Array)],s.prototype,"cc",void 0),r([(0,n.serialize)(),(0,n.validate)(),a("design:type",String)],s.prototype,"subject",void 0),r([(0,n.serialize)(),(0,n.validate)(),a("design:type",String)],s.prototype,"body",void 0),s=o=r([(0,n.type)("Mail")],s),t.Mail=s},127:function(e,t,i){var o,r=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},a=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.RequestMail=void 0;const n=i(194),l=i(502);let s=o=class RequestMail extends l.Mail{static async from(e){return await super.fromT(e,o)}static async fromJSON(e){const t=await l.Mail.fromJSON(e),i=await Promise.all(e.requests.map((e=>n.SerializableAsync.fromUnknown(e))));return await this.from({body:t.body,subject:t.subject,to:t.to,cc:t.cc,requests:i})}};r([(0,n.serialize)(),(0,n.validate)(),a("design:type",Array)],s.prototype,"requests",void 0),s=o=r([(0,n.type)("RequestMail")],s),t.RequestMail=s},260:function(e,t,i){var o,r=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},a=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.RelationshipCreationChangeRequestBody=void 0;const n=i(194),l=i(652),s=i(825),c=i(365),d=i(563);let p=o=class RelationshipCreationChangeRequestBody extends n.SerializableAsync{static async from(e){return await super.from(e,o)}};r([(0,n.serialize)(),(0,n.validate)({nullable:!0}),a("design:type",String)],p.prototype,"title",void 0),r([(0,n.serialize)(),(0,n.validate)({nullable:!0}),a("design:type",String)],p.prototype,"sessionIdentifier",void 0),r([(0,n.serialize)({any:!0}),(0,n.validate)({nullable:!0}),a("design:type",Object)],p.prototype,"metadata",void 0),r([(0,n.serialize)({type:l.Attribute}),(0,n.validate)({nullable:!0}),a("design:type",Array)],p.prototype,"sharedAttributes",void 0),r([(0,n.serialize)(),(0,n.validate)({nullable:!0}),a("design:type",Array)],p.prototype,"sharedCertificates",void 0),r([(0,n.serialize)({type:s.Authorization}),(0,n.validate)({nullable:!0}),a("design:type",Array)],p.prototype,"sharedAuthorizations",void 0),r([(0,n.serialize)({type:c.FormRequest}),(0,n.validate)({nullable:!0}),a("design:type",Array)],p.prototype,"sharedForms",void 0),r([(0,n.serialize)(),(0,n.validate)({nullable:!0}),a("design:type",d.PrivacyStatement)],p.prototype,"privacyStatementResponse",void 0),p=o=r([(0,n.type)("RelationshipCreationChangeRequestBody")],p),t.RelationshipCreationChangeRequestBody=p},146:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n};Object.defineProperty(t,"__esModule",{value:!0}),t.RelationshipExistsAction=void 0;const r=i(194);let a=class RelationshipExistsAction extends r.Serializable{};a=o([(0,r.type)("RelationshipExistsAction")],a),t.RelationshipExistsAction=a},623:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.RelationshipExistsMessageAction=void 0;const a=i(194),n=i(146);let l=class RelationshipExistsMessageAction extends n.RelationshipExistsAction{};o([(0,a.serialize)(),(0,a.validate)(),r("design:type",a.SerializableAsync)],l.prototype,"content",void 0),l=o([(0,a.type)("RelationshipExistsMessageAction")],l),t.RelationshipExistsMessageAction=l},451:function(e,t,i){var o,r=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},a=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.RelationshipTemplateBody=void 0;const n=i(194),l=i(652),s=i(825),c=i(455),d=i(532),p=i(365),f=i(563),u=i(146);let y=o=class RelationshipTemplateBody extends n.SerializableAsync{static async from(e){return await super.from(e,o)}};r([(0,n.serialize)(),(0,n.validate)({nullable:!0}),a("design:type",String)],y.prototype,"title",void 0),r([(0,n.serialize)(),(0,n.validate)({nullable:!0}),a("design:type",String)],y.prototype,"sessionIdentifier",void 0),r([(0,n.serialize)({any:!0}),(0,n.validate)({nullable:!0}),a("design:type",Object)],y.prototype,"metadata",void 0),r([(0,n.serialize)({type:l.Attribute}),(0,n.validate)({nullable:!0}),a("design:type",Array)],y.prototype,"sharedAttributes",void 0),r([(0,n.serialize)(),(0,n.validate)({nullable:!0}),a("design:type",Array)],y.prototype,"sharedCertificates",void 0),r([(0,n.serialize)({type:s.Authorization}),(0,n.validate)({nullable:!0}),a("design:type",Array)],y.prototype,"sharedAuthorizations",void 0),r([(0,n.serialize)({type:l.Attribute}),(0,n.validate)({nullable:!0}),a("design:type",Array)],y.prototype,"requestedAttributesChanges",void 0),r([(0,n.serialize)({type:c.AttributesRequest}),(0,n.validate)({nullable:!0}),a("design:type",Array)],y.prototype,"requestedAttributes",void 0),r([(0,n.serialize)(),(0,n.validate)({nullable:!0}),a("design:type",Array)],y.prototype,"requestedCertificates",void 0),r([(0,n.serialize)({type:d.AuthorizationGrantRequest}),(0,n.validate)({nullable:!0}),a("design:type",Array)],y.prototype,"requestedAuthorizations",void 0),r([(0,n.serialize)({type:p.FormRequest}),(0,n.validate)({nullable:!0}),a("design:type",Array)],y.prototype,"requestedForms",void 0),r([(0,n.serialize)(),(0,n.validate)({nullable:!0}),a("design:type",f.PrivacyStatement)],y.prototype,"privacyStatement",void 0),r([(0,n.serialize)(),(0,n.validate)({nullable:!0}),a("design:type",u.RelationshipExistsAction)],y.prototype,"relationshipExistsAction",void 0),y=o=r([(0,n.type)("RelationshipTemplateBody")],y),t.RelationshipTemplateBody=y},583:function(e,t,i){var o,r=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},a=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.AttributesChangeRequest=void 0;const n=i(194),l=i(663),s=i(652),c=i(16);let d=o=class AttributesChangeRequest extends c.Request{static async from(e){return await super.from(e,o)}static async fromJSON(e){const t=await Promise.all(e.attributes.map((e=>s.Attribute.fromJSON(e))));return await this.from({id:e.id?l.CoreId.from(e.id):void 0,attributes:t,applyTo:e.applyTo?l.CoreAddress.from(e.applyTo):void 0,expiresAt:e.expiresAt?l.CoreDate.from(e.expiresAt):void 0,key:e.key,reason:e.reason})}};r([(0,n.serialize)({type:s.Attribute}),(0,n.validate)(),a("design:type",Array)],d.prototype,"attributes",void 0),r([(0,n.serialize)(),(0,n.validate)({nullable:!0}),a("design:type",l.CoreAddress)],d.prototype,"applyTo",void 0),d=o=r([(0,n.type)("AttributesChangeRequest")],d),t.AttributesChangeRequest=d},455:function(e,t,i){var o,r=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},a=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.AttributesRequest=void 0;const n=i(194),l=i(663),s=i(16);let c=o=class AttributesRequest extends s.Request{static async from(e){return await super.from(e,o)}static async fromJSON(e){return await this.from({id:e.id?l.CoreId.from(e.id):void 0,expiresAt:e.expiresAt?l.CoreDate.from(e.expiresAt):void 0,key:e.key,reason:e.reason,names:e.names,required:e.required})}};r([(0,n.serialize)({type:String}),(0,n.validate)(),a("design:type",Array)],c.prototype,"names",void 0),r([(0,n.serialize)(),(0,n.validate)({nullable:!0}),a("design:type",Boolean)],c.prototype,"required",void 0),c=o=r([(0,n.type)("AttributesRequest")],c),t.AttributesRequest=c},90:function(e,t,i){var o,r=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},a=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.AttributesShareRequest=void 0;const n=i(194),l=i(663),s=i(16);let c=o=class AttributesShareRequest extends s.Request{static async from(e){return await super.fromT(e,o)}};r([(0,n.serialize)({type:String}),(0,n.validate)(),a("design:type",Array)],c.prototype,"attributes",void 0),r([(0,n.serialize)({type:l.CoreAddress}),(0,n.validate)(),a("design:type",Array)],c.prototype,"recipients",void 0),c=o=r([(0,n.type)("AttributesShareRequest")],c),t.AttributesShareRequest=c},532:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.AuthorizationGrantRequest=void 0;const a=i(194),n=i(663),l=i(16);let s=class AuthorizationGrantRequest extends l.Request{};o([(0,a.serialize)(),(0,a.validate)(),r("design:type",String)],s.prototype,"authorizationCode",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],s.prototype,"authorizationDescription",void 0),o([(0,a.serialize)(),(0,a.validate)(),r("design:type",String)],s.prototype,"authorizationTitle",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",n.CoreDate)],s.prototype,"authorizationExpiresAt",void 0),s=o([(0,a.type)("AuthorizationGrantRequest")],s),t.AuthorizationGrantRequest=s},72:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.ChallengeRequest=t.ChallengeJSONType=void 0;const a=i(194),n=i(663),l=i(16);!function(e){e.Identity="Identity",e.Device="Device",e.Relationship="Relationship"}(t.ChallengeJSONType||(t.ChallengeJSONType={}));let s=class ChallengeRequest extends l.Request{};o([(0,a.serialize)(),(0,a.validate)(),r("design:type",n.Challenge)],s.prototype,"challenge",void 0),s=o([(0,a.type)("ChallengeRequest")],s),t.ChallengeRequest=s},236:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.ChallengeResponse=void 0;const a=i(194),n=i(663),l=i(16);let s=class ChallengeResponse extends l.Request{};o([(0,a.serialize)(),(0,a.validate)(),r("design:type",n.ChallengeSigned)],s.prototype,"signedChallenge",void 0),s=o([(0,a.type)("ChallengeResponse")],s),t.ChallengeResponse=s},365:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.FormRequest=void 0;const a=i(194),n=i(985),l=i(16);let s=class FormRequest extends l.Request{};o([(0,a.serialize)(),(0,a.validate)(),r("design:type",n.Form)],s.prototype,"form",void 0),s=o([(0,a.type)("FormRequest")],s),t.FormRequest=s},563:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.PrivacyStatement=void 0;const a=i(194),n=i(16);let l=class PrivacyStatement extends n.Request{};o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"title",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"text",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"consentText",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",Boolean)],l.prototype,"required",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",Boolean)],l.prototype,"activeConsent",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"uri",void 0),l=o([(0,a.type)("PrivacyStatement")],l),t.PrivacyStatement=l},16:function(e,t,i){var o=this&&this.__decorate||function(e,t,i,o){var r,a=arguments.length,n=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n},r=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.Request=void 0;const a=i(194),n=i(663);let l=class Request extends a.SerializableAsync{};o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",n.CoreId)],l.prototype,"id",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"key",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"reason",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",n.CoreDate)],l.prototype,"expiresAt",void 0),o([(0,a.serialize)(),(0,a.validate)({nullable:!0}),r("design:type",String)],l.prototype,"impact",void 0),l=o([(0,a.type)("Request")],l),t.Request=l},890:e=>{e.exports=NMSHDCrypto},663:e=>{e.exports=NMSHDTransport},194:e=>{e.exports=TSServal}},t={};var i=function __webpack_require__(i){var o=t[i];if(void 0!==o)return o.exports;var r=t[i]={exports:{}};return e[i].call(r.exports,r,r.exports,__webpack_require__),r.exports}(590);NMSHDContent=i})();
|
|
2
2
|
//# sourceMappingURL=nmshd.content.min.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nmshd/content",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "The content library defines data structures that can be transmitted using the transport library.",
|
|
5
5
|
"homepage": "https://enmeshed.eu",
|
|
6
6
|
"repository": "github:nmshd/cns-content",
|
|
@@ -41,28 +41,28 @@
|
|
|
41
41
|
"@js-soft/logging-abstractions": "^1.0.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@js-soft/eslint-config-ts": "1.4.
|
|
45
|
-
"@js-soft/license-check": "1.0.
|
|
44
|
+
"@js-soft/eslint-config-ts": "1.4.2",
|
|
45
|
+
"@js-soft/license-check": "1.0.3",
|
|
46
46
|
"@js-soft/ts-serval": "1.0.2",
|
|
47
|
-
"@nmshd/crypto": "1.0.
|
|
48
|
-
"@nmshd/transport": "1.0
|
|
49
|
-
"@types/chai": "^4.
|
|
50
|
-
"@types/luxon": "^2.0.
|
|
47
|
+
"@nmshd/crypto": "1.0.5",
|
|
48
|
+
"@nmshd/transport": "1.1.0",
|
|
49
|
+
"@types/chai": "^4.3.0",
|
|
50
|
+
"@types/luxon": "^2.0.7",
|
|
51
51
|
"@types/mocha": "^9.0.0",
|
|
52
|
-
"@types/node": "^16.
|
|
53
|
-
"bt-runner": "^1.0.
|
|
52
|
+
"@types/node": "^16.11.12",
|
|
53
|
+
"bt-runner": "^1.0.21",
|
|
54
54
|
"chai": "^4.3.4",
|
|
55
|
-
"copy-webpack-plugin": "^
|
|
56
|
-
"eslint": "^
|
|
55
|
+
"copy-webpack-plugin": "^10.0.0",
|
|
56
|
+
"eslint": "^8.4.1",
|
|
57
57
|
"madge": "^5.0.1",
|
|
58
|
-
"mocha": "^9.1.
|
|
59
|
-
"prettier": "^2.
|
|
60
|
-
"terser-webpack-plugin": "5.2.
|
|
61
|
-
"ts-node": "^10.
|
|
62
|
-
"tsconfig-paths": "^3.
|
|
63
|
-
"typescript": "^4.
|
|
64
|
-
"webpack": "^5.
|
|
65
|
-
"webpack-cli": "^4.9.
|
|
58
|
+
"mocha": "^9.1.3",
|
|
59
|
+
"prettier": "^2.5.1",
|
|
60
|
+
"terser-webpack-plugin": "5.2.5",
|
|
61
|
+
"ts-node": "^10.4.0",
|
|
62
|
+
"tsconfig-paths": "^3.12.0",
|
|
63
|
+
"typescript": "^4.5.2",
|
|
64
|
+
"webpack": "^5.65.0",
|
|
65
|
+
"webpack-cli": "^4.9.1"
|
|
66
66
|
},
|
|
67
67
|
"publishConfig": {
|
|
68
68
|
"access": "public"
|