@nmshd/content 2.1.0 → 2.1.2
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/attributes/IdentityAttribute.d.ts +1 -0
- package/dist/attributes/IdentityAttribute.js +13 -3
- package/dist/attributes/IdentityAttribute.js.map +1 -1
- package/dist/attributes/IdentityAttributeQuery.d.ts +1 -0
- package/dist/attributes/IdentityAttributeQuery.js +13 -3
- package/dist/attributes/IdentityAttributeQuery.js.map +1 -1
- package/dist/attributes/RelationshipAttribute.js +1 -1
- package/dist/attributes/RelationshipAttribute.js.map +1 -1
- package/dist/attributes/RelationshipAttributeQuery.js +4 -3
- package/dist/attributes/RelationshipAttributeQuery.js.map +1 -1
- package/dist/attributes/ThirdPartyRelationshipAttributeQuery.js +1 -1
- package/dist/attributes/ThirdPartyRelationshipAttributeQuery.js.map +1 -1
- package/dist/attributes/hints/ValueHints.js +4 -4
- package/dist/attributes/hints/ValueHints.js.map +1 -1
- package/dist/attributes/hints/ValueHintsValue.d.ts +1 -0
- package/dist/attributes/hints/ValueHintsValue.js +14 -4
- package/dist/attributes/hints/ValueHintsValue.js.map +1 -1
- package/dist/attributes/types/address/AbstractAddress.js +1 -1
- package/dist/attributes/types/address/AbstractAddress.js.map +1 -1
- package/dist/attributes/types/address/DeliveryBoxAddress.js +2 -2
- package/dist/attributes/types/address/DeliveryBoxAddress.js.map +1 -1
- package/dist/attributes/types/address/PostOfficeBoxAddress.js +1 -1
- package/dist/attributes/types/address/PostOfficeBoxAddress.js.map +1 -1
- package/dist/attributes/types/measurements/AbstractMeasurement.js +1 -1
- package/dist/attributes/types/measurements/AbstractMeasurement.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryAttributeValue.d.ts +14 -0
- package/dist/attributes/types/proprietary/ProprietaryAttributeValue.js +6 -0
- package/dist/attributes/types/proprietary/ProprietaryAttributeValue.js.map +1 -0
- package/dist/attributes/types/proprietary/ProprietaryBoolean.d.ts +6 -6
- package/dist/attributes/types/proprietary/ProprietaryBoolean.js +12 -2
- package/dist/attributes/types/proprietary/ProprietaryBoolean.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryCountry.d.ts +6 -6
- package/dist/attributes/types/proprietary/ProprietaryCountry.js +12 -2
- package/dist/attributes/types/proprietary/ProprietaryCountry.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryEMailAddress.d.ts +6 -6
- package/dist/attributes/types/proprietary/ProprietaryEMailAddress.js +12 -2
- package/dist/attributes/types/proprietary/ProprietaryEMailAddress.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryFileReference.d.ts +6 -6
- package/dist/attributes/types/proprietary/ProprietaryFileReference.js +12 -2
- package/dist/attributes/types/proprietary/ProprietaryFileReference.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryFloat.d.ts +6 -6
- package/dist/attributes/types/proprietary/ProprietaryFloat.js +12 -2
- package/dist/attributes/types/proprietary/ProprietaryFloat.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryHEXColor.d.ts +6 -6
- package/dist/attributes/types/proprietary/ProprietaryHEXColor.js +12 -2
- package/dist/attributes/types/proprietary/ProprietaryHEXColor.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryInteger.d.ts +5 -11
- package/dist/attributes/types/proprietary/ProprietaryInteger.js +3 -10
- package/dist/attributes/types/proprietary/ProprietaryInteger.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryJSON.js +3 -2
- package/dist/attributes/types/proprietary/ProprietaryJSON.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryLanguage.d.ts +6 -6
- package/dist/attributes/types/proprietary/ProprietaryLanguage.js +12 -2
- package/dist/attributes/types/proprietary/ProprietaryLanguage.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryPhoneNumber.d.ts +7 -7
- package/dist/attributes/types/proprietary/ProprietaryPhoneNumber.js +12 -2
- package/dist/attributes/types/proprietary/ProprietaryPhoneNumber.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryString.d.ts +6 -6
- package/dist/attributes/types/proprietary/ProprietaryString.js +12 -2
- package/dist/attributes/types/proprietary/ProprietaryString.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryURL.d.ts +6 -6
- package/dist/attributes/types/proprietary/ProprietaryURL.js +12 -2
- package/dist/attributes/types/proprietary/ProprietaryURL.js.map +1 -1
- package/dist/buildInformation.js +4 -4
- package/dist/messages/Mail.js +2 -2
- package/dist/messages/Mail.js.map +1 -1
- package/dist/relationships/RelationshipTemplateContent.js +1 -1
- package/dist/relationships/RelationshipTemplateContent.js.map +1 -1
- package/dist/requests/Request.js +2 -2
- package/dist/requests/Request.js.map +1 -1
- package/dist/requests/RequestItem.d.ts +3 -3
- package/dist/requests/RequestItem.js +2 -2
- package/dist/requests/RequestItem.js.map +1 -1
- package/dist/requests/RequestItemGroup.js +2 -2
- package/dist/requests/RequestItemGroup.js.map +1 -1
- package/dist/requests/items/consent/ConsentRequestItem.js +9 -2
- package/dist/requests/items/consent/ConsentRequestItem.js.map +1 -1
- package/dist/requests/items/registerAttributeListener/RegisterAttributeListenerAcceptResponseItem.js +1 -1
- package/dist/requests/items/registerAttributeListener/RegisterAttributeListenerAcceptResponseItem.js.map +1 -1
- package/dist/requests/response/AcceptResponseItem.d.ts +3 -3
- package/dist/requests/response/ErrorResponseItem.d.ts +3 -3
- package/dist/requests/response/ErrorResponseItem.js +2 -2
- package/dist/requests/response/ErrorResponseItem.js.map +1 -1
- package/dist/requests/response/RejectResponseItem.d.ts +3 -3
- package/dist/requests/response/RejectResponseItem.js +2 -2
- package/dist/requests/response/RejectResponseItem.js.map +1 -1
- package/dist/requests/response/ResponseItem.d.ts +3 -3
- package/lib-web/nmshd.content.js +223 -76
- package/lib-web/nmshd.content.min.js +1 -1
- package/package.json +2 -2
package/lib-web/nmshd.content.js
CHANGED
|
@@ -317,18 +317,28 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
317
317
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
318
318
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
319
319
|
};
|
|
320
|
+
var IdentityAttribute_1;
|
|
320
321
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
321
322
|
exports.IdentityAttribute = void 0;
|
|
322
323
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
323
324
|
const AbstractAttribute_1 = __webpack_require__(/*! ./AbstractAttribute */ "./dist/attributes/AbstractAttribute.js");
|
|
324
325
|
const AttributeValueTypes_1 = __webpack_require__(/*! ./AttributeValueTypes */ "./dist/attributes/AttributeValueTypes.js");
|
|
325
|
-
let IdentityAttribute = class IdentityAttribute extends AbstractAttribute_1.AbstractAttribute {
|
|
326
|
+
let IdentityAttribute = IdentityAttribute_1 = class IdentityAttribute extends AbstractAttribute_1.AbstractAttribute {
|
|
326
327
|
static from(value) {
|
|
327
328
|
return this.fromAny(value);
|
|
328
329
|
}
|
|
329
330
|
toJSON(verbose, serializeAsString) {
|
|
330
331
|
return super.toJSON(verbose, serializeAsString);
|
|
331
332
|
}
|
|
333
|
+
static validateTags(tags) {
|
|
334
|
+
if (tags.length > 20) {
|
|
335
|
+
return "The maximum number of tags is 20.";
|
|
336
|
+
}
|
|
337
|
+
if (tags.some((tag) => tag.length > 100)) {
|
|
338
|
+
return "The maximum length of a tag is 100 characters.";
|
|
339
|
+
}
|
|
340
|
+
return undefined;
|
|
341
|
+
}
|
|
332
342
|
};
|
|
333
343
|
__decorate([
|
|
334
344
|
(0, ts_serval_1.serialize)({ unionTypes: AttributeValueTypes_1.AttributeValues.Identity.CLASSES }),
|
|
@@ -337,10 +347,10 @@ __decorate([
|
|
|
337
347
|
], IdentityAttribute.prototype, "value", void 0);
|
|
338
348
|
__decorate([
|
|
339
349
|
(0, ts_serval_1.serialize)({ type: String }),
|
|
340
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
350
|
+
(0, ts_serval_1.validate)({ nullable: true, customValidator: IdentityAttribute_1.validateTags }),
|
|
341
351
|
__metadata("design:type", Array)
|
|
342
352
|
], IdentityAttribute.prototype, "tags", void 0);
|
|
343
|
-
IdentityAttribute = __decorate([
|
|
353
|
+
IdentityAttribute = IdentityAttribute_1 = __decorate([
|
|
344
354
|
(0, ts_serval_1.type)("IdentityAttribute")
|
|
345
355
|
], IdentityAttribute);
|
|
346
356
|
exports.IdentityAttribute = IdentityAttribute;
|
|
@@ -364,18 +374,28 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
364
374
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
365
375
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
366
376
|
};
|
|
377
|
+
var IdentityAttributeQuery_1;
|
|
367
378
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
368
379
|
exports.IdentityAttributeQuery = void 0;
|
|
369
380
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
370
381
|
const AbstractAttributeQuery_1 = __webpack_require__(/*! ./AbstractAttributeQuery */ "./dist/attributes/AbstractAttributeQuery.js");
|
|
371
382
|
const AttributeValueTypes_1 = __webpack_require__(/*! ./AttributeValueTypes */ "./dist/attributes/AttributeValueTypes.js");
|
|
372
|
-
let IdentityAttributeQuery = class IdentityAttributeQuery extends AbstractAttributeQuery_1.AbstractAttributeQuery {
|
|
383
|
+
let IdentityAttributeQuery = IdentityAttributeQuery_1 = class IdentityAttributeQuery extends AbstractAttributeQuery_1.AbstractAttributeQuery {
|
|
373
384
|
static from(value) {
|
|
374
385
|
return this.fromAny(value);
|
|
375
386
|
}
|
|
376
387
|
toJSON(verbose, serializeAsString) {
|
|
377
388
|
return super.toJSON(verbose, serializeAsString);
|
|
378
389
|
}
|
|
390
|
+
static validateTags(tags) {
|
|
391
|
+
if (tags.length > 20) {
|
|
392
|
+
return "The maximum number of tags is 20.";
|
|
393
|
+
}
|
|
394
|
+
if (tags.some((tag) => tag.length > 100)) {
|
|
395
|
+
return "The maximum length of a tag is 100 characters.";
|
|
396
|
+
}
|
|
397
|
+
return undefined;
|
|
398
|
+
}
|
|
379
399
|
};
|
|
380
400
|
__decorate([
|
|
381
401
|
(0, ts_serval_1.serialize)(),
|
|
@@ -388,10 +408,10 @@ __decorate([
|
|
|
388
408
|
], IdentityAttributeQuery.prototype, "valueType", void 0);
|
|
389
409
|
__decorate([
|
|
390
410
|
(0, ts_serval_1.serialize)({ type: String }),
|
|
391
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
411
|
+
(0, ts_serval_1.validate)({ nullable: true, customValidator: IdentityAttributeQuery_1.validateTags }),
|
|
392
412
|
__metadata("design:type", Array)
|
|
393
413
|
], IdentityAttributeQuery.prototype, "tags", void 0);
|
|
394
|
-
IdentityAttributeQuery = __decorate([
|
|
414
|
+
IdentityAttributeQuery = IdentityAttributeQuery_1 = __decorate([
|
|
395
415
|
(0, ts_serval_1.type)("IdentityAttributeQuery")
|
|
396
416
|
], IdentityAttributeQuery);
|
|
397
417
|
exports.IdentityAttributeQuery = IdentityAttributeQuery;
|
|
@@ -441,7 +461,7 @@ __decorate([
|
|
|
441
461
|
], RelationshipAttribute.prototype, "value", void 0);
|
|
442
462
|
__decorate([
|
|
443
463
|
(0, ts_serval_1.serialize)(),
|
|
444
|
-
(0, ts_serval_1.validate)(),
|
|
464
|
+
(0, ts_serval_1.validate)({ max: 100 }),
|
|
445
465
|
__metadata("design:type", String)
|
|
446
466
|
], RelationshipAttribute.prototype, "key", void 0);
|
|
447
467
|
__decorate([
|
|
@@ -534,6 +554,7 @@ const AbstractAttributeQuery_1 = __webpack_require__(/*! ./AbstractAttributeQuer
|
|
|
534
554
|
const AttributeValueTypes_1 = __webpack_require__(/*! ./AttributeValueTypes */ "./dist/attributes/AttributeValueTypes.js");
|
|
535
555
|
const hints_1 = __webpack_require__(/*! ./hints */ "./dist/attributes/hints/index.js");
|
|
536
556
|
const RelationshipAttributeConfidentiality_1 = __webpack_require__(/*! ./RelationshipAttributeConfidentiality */ "./dist/attributes/RelationshipAttributeConfidentiality.js");
|
|
557
|
+
const ProprietaryAttributeValue_1 = __webpack_require__(/*! ./types/proprietary/ProprietaryAttributeValue */ "./dist/attributes/types/proprietary/ProprietaryAttributeValue.js");
|
|
537
558
|
/**
|
|
538
559
|
* AttributeHints are rendering hints with a `title` and a possible `description` set.
|
|
539
560
|
* They are primarily used within `RelationshipAttributeQuery` to define the metadata of
|
|
@@ -551,7 +572,7 @@ let RelationshipAttributeCreationHints = class RelationshipAttributeCreationHint
|
|
|
551
572
|
};
|
|
552
573
|
__decorate([
|
|
553
574
|
(0, ts_serval_1.serialize)(),
|
|
554
|
-
(0, ts_serval_1.validate)(),
|
|
575
|
+
(0, ts_serval_1.validate)({ max: 100 }),
|
|
555
576
|
__metadata("design:type", String)
|
|
556
577
|
], RelationshipAttributeCreationHints.prototype, "title", void 0);
|
|
557
578
|
__decorate([
|
|
@@ -565,7 +586,7 @@ __decorate([
|
|
|
565
586
|
], RelationshipAttributeCreationHints.prototype, "valueType", void 0);
|
|
566
587
|
__decorate([
|
|
567
588
|
(0, ts_serval_1.serialize)(),
|
|
568
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
589
|
+
(0, ts_serval_1.validate)({ nullable: true, max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_DESCRIPTION_LENGTH }),
|
|
569
590
|
__metadata("design:type", String)
|
|
570
591
|
], RelationshipAttributeCreationHints.prototype, "description", void 0);
|
|
571
592
|
__decorate([
|
|
@@ -596,7 +617,7 @@ let RelationshipAttributeQuery = class RelationshipAttributeQuery extends Abstra
|
|
|
596
617
|
};
|
|
597
618
|
__decorate([
|
|
598
619
|
(0, ts_serval_1.serialize)(),
|
|
599
|
-
(0, ts_serval_1.validate)(),
|
|
620
|
+
(0, ts_serval_1.validate)({ max: 100 }),
|
|
600
621
|
__metadata("design:type", String)
|
|
601
622
|
], RelationshipAttributeQuery.prototype, "key", void 0);
|
|
602
623
|
__decorate([
|
|
@@ -654,7 +675,7 @@ let ThirdPartyRelationshipAttributeQuery = class ThirdPartyRelationshipAttribute
|
|
|
654
675
|
};
|
|
655
676
|
__decorate([
|
|
656
677
|
(0, ts_serval_1.serialize)(),
|
|
657
|
-
(0, ts_serval_1.validate)(),
|
|
678
|
+
(0, ts_serval_1.validate)({ max: 100 }),
|
|
658
679
|
__metadata("design:type", String)
|
|
659
680
|
], ThirdPartyRelationshipAttributeQuery.prototype, "key", void 0);
|
|
660
681
|
__decorate([
|
|
@@ -1894,7 +1915,7 @@ let ValueHints = ValueHints_1 = class ValueHints extends ts_serval_1.Serializabl
|
|
|
1894
1915
|
};
|
|
1895
1916
|
__decorate([
|
|
1896
1917
|
(0, ts_serval_1.serialize)(),
|
|
1897
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
1918
|
+
(0, ts_serval_1.validate)({ nullable: true, max: 500 }),
|
|
1898
1919
|
__metadata("design:type", String)
|
|
1899
1920
|
], ValueHints.prototype, "editHelp", void 0);
|
|
1900
1921
|
__decorate([
|
|
@@ -1909,7 +1930,7 @@ __decorate([
|
|
|
1909
1930
|
], ValueHints.prototype, "max", void 0);
|
|
1910
1931
|
__decorate([
|
|
1911
1932
|
(0, ts_serval_1.serialize)(),
|
|
1912
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
1933
|
+
(0, ts_serval_1.validate)({ nullable: true, max: 1000 }),
|
|
1913
1934
|
__metadata("design:type", String)
|
|
1914
1935
|
], ValueHints.prototype, "pattern", void 0);
|
|
1915
1936
|
__decorate([
|
|
@@ -1947,7 +1968,7 @@ let ValueHintsOverride = class ValueHintsOverride extends ts_serval_1.Serializab
|
|
|
1947
1968
|
};
|
|
1948
1969
|
__decorate([
|
|
1949
1970
|
(0, ts_serval_1.serialize)(),
|
|
1950
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
1971
|
+
(0, ts_serval_1.validate)({ nullable: true, max: 500 }),
|
|
1951
1972
|
__metadata("design:type", String)
|
|
1952
1973
|
], ValueHintsOverride.prototype, "editHelp", void 0);
|
|
1953
1974
|
__decorate([
|
|
@@ -1962,7 +1983,7 @@ __decorate([
|
|
|
1962
1983
|
], ValueHintsOverride.prototype, "max", void 0);
|
|
1963
1984
|
__decorate([
|
|
1964
1985
|
(0, ts_serval_1.serialize)(),
|
|
1965
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
1986
|
+
(0, ts_serval_1.validate)({ nullable: true, max: 1000 }),
|
|
1966
1987
|
__metadata("design:type", String)
|
|
1967
1988
|
], ValueHintsOverride.prototype, "pattern", void 0);
|
|
1968
1989
|
__decorate([
|
|
@@ -2004,25 +2025,35 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
2004
2025
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
2005
2026
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
2006
2027
|
};
|
|
2028
|
+
var ValueHintsValue_1;
|
|
2007
2029
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2008
2030
|
exports.ValueHintsValue = void 0;
|
|
2009
2031
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
2010
|
-
let ValueHintsValue = class ValueHintsValue extends ts_serval_1.Serializable {
|
|
2032
|
+
let ValueHintsValue = ValueHintsValue_1 = class ValueHintsValue extends ts_serval_1.Serializable {
|
|
2011
2033
|
static from(value) {
|
|
2012
2034
|
return this.fromAny(value);
|
|
2013
2035
|
}
|
|
2036
|
+
static validateKey(key) {
|
|
2037
|
+
if (typeof key === "string" && key.length > 100) {
|
|
2038
|
+
return "The maximum length of a key is 200 characters.";
|
|
2039
|
+
}
|
|
2040
|
+
return undefined;
|
|
2041
|
+
}
|
|
2014
2042
|
};
|
|
2015
2043
|
__decorate([
|
|
2016
2044
|
(0, ts_serval_1.serialize)(),
|
|
2017
|
-
(0, ts_serval_1.validate)(),
|
|
2045
|
+
(0, ts_serval_1.validate)({ max: 100 }),
|
|
2018
2046
|
__metadata("design:type", String)
|
|
2019
2047
|
], ValueHintsValue.prototype, "displayName", void 0);
|
|
2020
2048
|
__decorate([
|
|
2021
|
-
(0, ts_serval_1.validate)({
|
|
2049
|
+
(0, ts_serval_1.validate)({
|
|
2050
|
+
allowedTypes: [ts_serval_1.PrimitiveType.String, ts_serval_1.PrimitiveType.Number, ts_serval_1.PrimitiveType.Boolean],
|
|
2051
|
+
customValidator: ValueHintsValue_1.validateKey
|
|
2052
|
+
}),
|
|
2022
2053
|
(0, ts_serval_1.serialize)(),
|
|
2023
2054
|
__metadata("design:type", Object)
|
|
2024
2055
|
], ValueHintsValue.prototype, "key", void 0);
|
|
2025
|
-
ValueHintsValue = __decorate([
|
|
2056
|
+
ValueHintsValue = ValueHintsValue_1 = __decorate([
|
|
2026
2057
|
(0, ts_serval_1.type)("ValueHintsValue")
|
|
2027
2058
|
], ValueHintsValue);
|
|
2028
2059
|
exports.ValueHintsValue = ValueHintsValue;
|
|
@@ -2351,7 +2382,7 @@ class AbstractAddress extends AbstractComplexValue_1.AbstractComplexValue {
|
|
|
2351
2382
|
AbstractAddress.propertyNames = (0, easy_tsnameof_1.default)();
|
|
2352
2383
|
__decorate([
|
|
2353
2384
|
(0, ts_serval_1.serialize)(),
|
|
2354
|
-
(0, ts_serval_1.validate)(),
|
|
2385
|
+
(0, ts_serval_1.validate)({ max: 100 }),
|
|
2355
2386
|
__metadata("design:type", String)
|
|
2356
2387
|
], AbstractAddress.prototype, "recipient", void 0);
|
|
2357
2388
|
exports.AbstractAddress = AbstractAddress;
|
|
@@ -2510,12 +2541,12 @@ let DeliveryBoxAddress = class DeliveryBoxAddress extends AbstractAddress_1.Abst
|
|
|
2510
2541
|
DeliveryBoxAddress.propertyNames = (0, easy_tsnameof_1.default)();
|
|
2511
2542
|
__decorate([
|
|
2512
2543
|
(0, ts_serval_1.serialize)(),
|
|
2513
|
-
(0, ts_serval_1.validate)(),
|
|
2544
|
+
(0, ts_serval_1.validate)({ max: 100 }),
|
|
2514
2545
|
__metadata("design:type", String)
|
|
2515
2546
|
], DeliveryBoxAddress.prototype, "userId", void 0);
|
|
2516
2547
|
__decorate([
|
|
2517
2548
|
(0, ts_serval_1.serialize)(),
|
|
2518
|
-
(0, ts_serval_1.validate)(),
|
|
2549
|
+
(0, ts_serval_1.validate)({ max: 100 }),
|
|
2519
2550
|
__metadata("design:type", String)
|
|
2520
2551
|
], DeliveryBoxAddress.prototype, "deliveryBoxId", void 0);
|
|
2521
2552
|
__decorate([
|
|
@@ -2663,7 +2694,7 @@ let PostOfficeBoxAddress = class PostOfficeBoxAddress extends AbstractAddress_1.
|
|
|
2663
2694
|
PostOfficeBoxAddress.propertyNames = (0, easy_tsnameof_1.default)();
|
|
2664
2695
|
__decorate([
|
|
2665
2696
|
(0, ts_serval_1.serialize)(),
|
|
2666
|
-
(0, ts_serval_1.validate)(),
|
|
2697
|
+
(0, ts_serval_1.validate)({ max: 100 }),
|
|
2667
2698
|
__metadata("design:type", String)
|
|
2668
2699
|
], PostOfficeBoxAddress.prototype, "boxId", void 0);
|
|
2669
2700
|
__decorate([
|
|
@@ -4269,7 +4300,7 @@ class AbstractMeasurement extends AbstractComplexValue_1.AbstractComplexValue {
|
|
|
4269
4300
|
AbstractMeasurement.propertyNames = (0, easy_tsnameof_1.default)();
|
|
4270
4301
|
__decorate([
|
|
4271
4302
|
(0, ts_serval_1.serialize)(),
|
|
4272
|
-
(0, ts_serval_1.validate)(),
|
|
4303
|
+
(0, ts_serval_1.validate)({ max: 50 }),
|
|
4273
4304
|
__metadata("design:type", String)
|
|
4274
4305
|
], AbstractMeasurement.prototype, "unit", void 0);
|
|
4275
4306
|
__decorate([
|
|
@@ -4874,6 +4905,21 @@ __exportStar(__webpack_require__(/*! ./Sex */ "./dist/attributes/types/person/Se
|
|
|
4874
4905
|
|
|
4875
4906
|
/***/ }),
|
|
4876
4907
|
|
|
4908
|
+
/***/ "./dist/attributes/types/proprietary/ProprietaryAttributeValue.js":
|
|
4909
|
+
/*!************************************************************************!*\
|
|
4910
|
+
!*** ./dist/attributes/types/proprietary/ProprietaryAttributeValue.js ***!
|
|
4911
|
+
\************************************************************************/
|
|
4912
|
+
/***/ ((__unused_webpack_module, exports) => {
|
|
4913
|
+
|
|
4914
|
+
|
|
4915
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
4916
|
+
exports.PROPRIETARY_ATTRIBUTE_MAX_DESCRIPTION_LENGTH = exports.PROPRIETARY_ATTRIBUTE_MAX_TITLE_LENGTH = void 0;
|
|
4917
|
+
exports.PROPRIETARY_ATTRIBUTE_MAX_TITLE_LENGTH = 100;
|
|
4918
|
+
exports.PROPRIETARY_ATTRIBUTE_MAX_DESCRIPTION_LENGTH = 1000;
|
|
4919
|
+
//# sourceMappingURL=ProprietaryAttributeValue.js.map
|
|
4920
|
+
|
|
4921
|
+
/***/ }),
|
|
4922
|
+
|
|
4877
4923
|
/***/ "./dist/attributes/types/proprietary/ProprietaryBoolean.js":
|
|
4878
4924
|
/*!*****************************************************************!*\
|
|
4879
4925
|
!*** ./dist/attributes/types/proprietary/ProprietaryBoolean.js ***!
|
|
@@ -4893,7 +4939,9 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
4893
4939
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
4894
4940
|
exports.ProprietaryBoolean = void 0;
|
|
4895
4941
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
4942
|
+
const hints_1 = __webpack_require__(/*! ../../hints */ "./dist/attributes/hints/index.js");
|
|
4896
4943
|
const AbstractBoolean_1 = __webpack_require__(/*! ../AbstractBoolean */ "./dist/attributes/types/AbstractBoolean.js");
|
|
4944
|
+
const ProprietaryAttributeValue_1 = __webpack_require__(/*! ./ProprietaryAttributeValue */ "./dist/attributes/types/proprietary/ProprietaryAttributeValue.js");
|
|
4897
4945
|
let ProprietaryBoolean = class ProprietaryBoolean extends AbstractBoolean_1.AbstractBoolean {
|
|
4898
4946
|
static from(value) {
|
|
4899
4947
|
return this.fromAny(value);
|
|
@@ -4901,17 +4949,25 @@ let ProprietaryBoolean = class ProprietaryBoolean extends AbstractBoolean_1.Abst
|
|
|
4901
4949
|
toJSON(verbose, serializeAsString) {
|
|
4902
4950
|
return super.toJSON(verbose, serializeAsString);
|
|
4903
4951
|
}
|
|
4952
|
+
get valueHints() {
|
|
4953
|
+
return super.valueHints.copyWith(this.valueHintsOverride?.toJSON());
|
|
4954
|
+
}
|
|
4904
4955
|
};
|
|
4905
4956
|
__decorate([
|
|
4906
4957
|
(0, ts_serval_1.serialize)(),
|
|
4907
|
-
(0, ts_serval_1.validate)(),
|
|
4958
|
+
(0, ts_serval_1.validate)({ max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_TITLE_LENGTH }),
|
|
4908
4959
|
__metadata("design:type", String)
|
|
4909
4960
|
], ProprietaryBoolean.prototype, "title", void 0);
|
|
4910
4961
|
__decorate([
|
|
4911
4962
|
(0, ts_serval_1.serialize)(),
|
|
4912
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
4963
|
+
(0, ts_serval_1.validate)({ nullable: true, max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_DESCRIPTION_LENGTH }),
|
|
4913
4964
|
__metadata("design:type", String)
|
|
4914
4965
|
], ProprietaryBoolean.prototype, "description", void 0);
|
|
4966
|
+
__decorate([
|
|
4967
|
+
(0, ts_serval_1.serialize)(),
|
|
4968
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
4969
|
+
__metadata("design:type", hints_1.ValueHintsOverride)
|
|
4970
|
+
], ProprietaryBoolean.prototype, "valueHintsOverride", void 0);
|
|
4915
4971
|
ProprietaryBoolean = __decorate([
|
|
4916
4972
|
(0, ts_serval_1.type)("ProprietaryBoolean")
|
|
4917
4973
|
], ProprietaryBoolean);
|
|
@@ -4939,7 +4995,9 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
4939
4995
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
4940
4996
|
exports.ProprietaryCountry = void 0;
|
|
4941
4997
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
4998
|
+
const hints_1 = __webpack_require__(/*! ../../hints */ "./dist/attributes/hints/index.js");
|
|
4942
4999
|
const AbstractCountry_1 = __webpack_require__(/*! ../strings/AbstractCountry */ "./dist/attributes/types/strings/AbstractCountry.js");
|
|
5000
|
+
const ProprietaryAttributeValue_1 = __webpack_require__(/*! ./ProprietaryAttributeValue */ "./dist/attributes/types/proprietary/ProprietaryAttributeValue.js");
|
|
4943
5001
|
let ProprietaryCountry = class ProprietaryCountry extends AbstractCountry_1.AbstractCountry {
|
|
4944
5002
|
static from(value) {
|
|
4945
5003
|
return this.fromAny(value);
|
|
@@ -4947,17 +5005,25 @@ let ProprietaryCountry = class ProprietaryCountry extends AbstractCountry_1.Abst
|
|
|
4947
5005
|
toJSON(verbose, serializeAsString) {
|
|
4948
5006
|
return super.toJSON(verbose, serializeAsString);
|
|
4949
5007
|
}
|
|
5008
|
+
get valueHints() {
|
|
5009
|
+
return super.valueHints.copyWith(this.valueHintsOverride?.toJSON());
|
|
5010
|
+
}
|
|
4950
5011
|
};
|
|
4951
5012
|
__decorate([
|
|
4952
5013
|
(0, ts_serval_1.serialize)(),
|
|
4953
|
-
(0, ts_serval_1.validate)(),
|
|
5014
|
+
(0, ts_serval_1.validate)({ max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_TITLE_LENGTH }),
|
|
4954
5015
|
__metadata("design:type", String)
|
|
4955
5016
|
], ProprietaryCountry.prototype, "title", void 0);
|
|
4956
5017
|
__decorate([
|
|
4957
5018
|
(0, ts_serval_1.serialize)(),
|
|
4958
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5019
|
+
(0, ts_serval_1.validate)({ nullable: true, max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_DESCRIPTION_LENGTH }),
|
|
4959
5020
|
__metadata("design:type", String)
|
|
4960
5021
|
], ProprietaryCountry.prototype, "description", void 0);
|
|
5022
|
+
__decorate([
|
|
5023
|
+
(0, ts_serval_1.serialize)(),
|
|
5024
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5025
|
+
__metadata("design:type", hints_1.ValueHintsOverride)
|
|
5026
|
+
], ProprietaryCountry.prototype, "valueHintsOverride", void 0);
|
|
4961
5027
|
ProprietaryCountry = __decorate([
|
|
4962
5028
|
(0, ts_serval_1.type)("ProprietaryCountry")
|
|
4963
5029
|
], ProprietaryCountry);
|
|
@@ -4985,7 +5051,9 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
4985
5051
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
4986
5052
|
exports.ProprietaryEMailAddress = void 0;
|
|
4987
5053
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
5054
|
+
const hints_1 = __webpack_require__(/*! ../../hints */ "./dist/attributes/hints/index.js");
|
|
4988
5055
|
const AbstractEMailAddress_1 = __webpack_require__(/*! ../strings/AbstractEMailAddress */ "./dist/attributes/types/strings/AbstractEMailAddress.js");
|
|
5056
|
+
const ProprietaryAttributeValue_1 = __webpack_require__(/*! ./ProprietaryAttributeValue */ "./dist/attributes/types/proprietary/ProprietaryAttributeValue.js");
|
|
4989
5057
|
let ProprietaryEMailAddress = class ProprietaryEMailAddress extends AbstractEMailAddress_1.AbstractEMailAddress {
|
|
4990
5058
|
static from(value) {
|
|
4991
5059
|
return this.fromAny(value);
|
|
@@ -4993,17 +5061,25 @@ let ProprietaryEMailAddress = class ProprietaryEMailAddress extends AbstractEMai
|
|
|
4993
5061
|
toJSON(verbose, serializeAsString) {
|
|
4994
5062
|
return super.toJSON(verbose, serializeAsString);
|
|
4995
5063
|
}
|
|
5064
|
+
get valueHints() {
|
|
5065
|
+
return super.valueHints.copyWith(this.valueHintsOverride?.toJSON());
|
|
5066
|
+
}
|
|
4996
5067
|
};
|
|
4997
5068
|
__decorate([
|
|
4998
5069
|
(0, ts_serval_1.serialize)(),
|
|
4999
|
-
(0, ts_serval_1.validate)(),
|
|
5070
|
+
(0, ts_serval_1.validate)({ max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_TITLE_LENGTH }),
|
|
5000
5071
|
__metadata("design:type", String)
|
|
5001
5072
|
], ProprietaryEMailAddress.prototype, "title", void 0);
|
|
5002
5073
|
__decorate([
|
|
5003
5074
|
(0, ts_serval_1.serialize)(),
|
|
5004
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5075
|
+
(0, ts_serval_1.validate)({ nullable: true, max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_DESCRIPTION_LENGTH }),
|
|
5005
5076
|
__metadata("design:type", String)
|
|
5006
5077
|
], ProprietaryEMailAddress.prototype, "description", void 0);
|
|
5078
|
+
__decorate([
|
|
5079
|
+
(0, ts_serval_1.serialize)(),
|
|
5080
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5081
|
+
__metadata("design:type", hints_1.ValueHintsOverride)
|
|
5082
|
+
], ProprietaryEMailAddress.prototype, "valueHintsOverride", void 0);
|
|
5007
5083
|
ProprietaryEMailAddress = __decorate([
|
|
5008
5084
|
(0, ts_serval_1.type)("ProprietaryEMailAddress")
|
|
5009
5085
|
], ProprietaryEMailAddress);
|
|
@@ -5031,7 +5107,9 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
5031
5107
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
5032
5108
|
exports.ProprietaryFileReference = void 0;
|
|
5033
5109
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
5110
|
+
const hints_1 = __webpack_require__(/*! ../../hints */ "./dist/attributes/hints/index.js");
|
|
5034
5111
|
const strings_1 = __webpack_require__(/*! ../strings */ "./dist/attributes/types/strings/index.js");
|
|
5112
|
+
const ProprietaryAttributeValue_1 = __webpack_require__(/*! ./ProprietaryAttributeValue */ "./dist/attributes/types/proprietary/ProprietaryAttributeValue.js");
|
|
5035
5113
|
let ProprietaryFileReference = class ProprietaryFileReference extends strings_1.AbstractFileReference {
|
|
5036
5114
|
static from(value) {
|
|
5037
5115
|
return this.fromAny(value);
|
|
@@ -5039,17 +5117,25 @@ let ProprietaryFileReference = class ProprietaryFileReference extends strings_1.
|
|
|
5039
5117
|
toJSON(verbose, serializeAsString) {
|
|
5040
5118
|
return super.toJSON(verbose, serializeAsString);
|
|
5041
5119
|
}
|
|
5120
|
+
get valueHints() {
|
|
5121
|
+
return super.valueHints.copyWith(this.valueHintsOverride?.toJSON());
|
|
5122
|
+
}
|
|
5042
5123
|
};
|
|
5043
5124
|
__decorate([
|
|
5044
5125
|
(0, ts_serval_1.serialize)(),
|
|
5045
|
-
(0, ts_serval_1.validate)(),
|
|
5126
|
+
(0, ts_serval_1.validate)({ max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_TITLE_LENGTH }),
|
|
5046
5127
|
__metadata("design:type", String)
|
|
5047
5128
|
], ProprietaryFileReference.prototype, "title", void 0);
|
|
5048
5129
|
__decorate([
|
|
5049
5130
|
(0, ts_serval_1.serialize)(),
|
|
5050
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5131
|
+
(0, ts_serval_1.validate)({ nullable: true, max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_DESCRIPTION_LENGTH }),
|
|
5051
5132
|
__metadata("design:type", String)
|
|
5052
5133
|
], ProprietaryFileReference.prototype, "description", void 0);
|
|
5134
|
+
__decorate([
|
|
5135
|
+
(0, ts_serval_1.serialize)(),
|
|
5136
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5137
|
+
__metadata("design:type", hints_1.ValueHintsOverride)
|
|
5138
|
+
], ProprietaryFileReference.prototype, "valueHintsOverride", void 0);
|
|
5053
5139
|
ProprietaryFileReference = __decorate([
|
|
5054
5140
|
(0, ts_serval_1.type)("ProprietaryFileReference")
|
|
5055
5141
|
], ProprietaryFileReference);
|
|
@@ -5077,7 +5163,9 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
5077
5163
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
5078
5164
|
exports.ProprietaryFloat = void 0;
|
|
5079
5165
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
5166
|
+
const hints_1 = __webpack_require__(/*! ../../hints */ "./dist/attributes/hints/index.js");
|
|
5080
5167
|
const AbstractFloat_1 = __webpack_require__(/*! ../AbstractFloat */ "./dist/attributes/types/AbstractFloat.js");
|
|
5168
|
+
const ProprietaryAttributeValue_1 = __webpack_require__(/*! ./ProprietaryAttributeValue */ "./dist/attributes/types/proprietary/ProprietaryAttributeValue.js");
|
|
5081
5169
|
let ProprietaryFloat = class ProprietaryFloat extends AbstractFloat_1.AbstractFloat {
|
|
5082
5170
|
static from(value) {
|
|
5083
5171
|
return this.fromAny(value);
|
|
@@ -5085,17 +5173,25 @@ let ProprietaryFloat = class ProprietaryFloat extends AbstractFloat_1.AbstractFl
|
|
|
5085
5173
|
toJSON(verbose, serializeAsString) {
|
|
5086
5174
|
return super.toJSON(verbose, serializeAsString);
|
|
5087
5175
|
}
|
|
5176
|
+
get valueHints() {
|
|
5177
|
+
return super.valueHints.copyWith(this.valueHintsOverride?.toJSON());
|
|
5178
|
+
}
|
|
5088
5179
|
};
|
|
5089
5180
|
__decorate([
|
|
5090
5181
|
(0, ts_serval_1.serialize)(),
|
|
5091
|
-
(0, ts_serval_1.validate)(),
|
|
5182
|
+
(0, ts_serval_1.validate)({ max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_TITLE_LENGTH }),
|
|
5092
5183
|
__metadata("design:type", String)
|
|
5093
5184
|
], ProprietaryFloat.prototype, "title", void 0);
|
|
5094
5185
|
__decorate([
|
|
5095
5186
|
(0, ts_serval_1.serialize)(),
|
|
5096
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5187
|
+
(0, ts_serval_1.validate)({ nullable: true, max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_DESCRIPTION_LENGTH }),
|
|
5097
5188
|
__metadata("design:type", String)
|
|
5098
5189
|
], ProprietaryFloat.prototype, "description", void 0);
|
|
5190
|
+
__decorate([
|
|
5191
|
+
(0, ts_serval_1.serialize)(),
|
|
5192
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5193
|
+
__metadata("design:type", hints_1.ValueHintsOverride)
|
|
5194
|
+
], ProprietaryFloat.prototype, "valueHintsOverride", void 0);
|
|
5099
5195
|
ProprietaryFloat = __decorate([
|
|
5100
5196
|
(0, ts_serval_1.type)("ProprietaryFloat")
|
|
5101
5197
|
], ProprietaryFloat);
|
|
@@ -5123,7 +5219,9 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
5123
5219
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
5124
5220
|
exports.ProprietaryHEXColor = void 0;
|
|
5125
5221
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
5222
|
+
const hints_1 = __webpack_require__(/*! ../../hints */ "./dist/attributes/hints/index.js");
|
|
5126
5223
|
const AbstractHEXColor_1 = __webpack_require__(/*! ../strings/AbstractHEXColor */ "./dist/attributes/types/strings/AbstractHEXColor.js");
|
|
5224
|
+
const ProprietaryAttributeValue_1 = __webpack_require__(/*! ./ProprietaryAttributeValue */ "./dist/attributes/types/proprietary/ProprietaryAttributeValue.js");
|
|
5127
5225
|
let ProprietaryHEXColor = class ProprietaryHEXColor extends AbstractHEXColor_1.AbstractHEXColor {
|
|
5128
5226
|
static from(value) {
|
|
5129
5227
|
return this.fromAny(value);
|
|
@@ -5131,17 +5229,25 @@ let ProprietaryHEXColor = class ProprietaryHEXColor extends AbstractHEXColor_1.A
|
|
|
5131
5229
|
toJSON(verbose, serializeAsString) {
|
|
5132
5230
|
return super.toJSON(verbose, serializeAsString);
|
|
5133
5231
|
}
|
|
5232
|
+
get valueHints() {
|
|
5233
|
+
return super.valueHints.copyWith(this.valueHintsOverride?.toJSON());
|
|
5234
|
+
}
|
|
5134
5235
|
};
|
|
5135
5236
|
__decorate([
|
|
5136
5237
|
(0, ts_serval_1.serialize)(),
|
|
5137
|
-
(0, ts_serval_1.validate)(),
|
|
5238
|
+
(0, ts_serval_1.validate)({ max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_TITLE_LENGTH }),
|
|
5138
5239
|
__metadata("design:type", String)
|
|
5139
5240
|
], ProprietaryHEXColor.prototype, "title", void 0);
|
|
5140
5241
|
__decorate([
|
|
5141
5242
|
(0, ts_serval_1.serialize)(),
|
|
5142
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5243
|
+
(0, ts_serval_1.validate)({ nullable: true, max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_DESCRIPTION_LENGTH }),
|
|
5143
5244
|
__metadata("design:type", String)
|
|
5144
5245
|
], ProprietaryHEXColor.prototype, "description", void 0);
|
|
5246
|
+
__decorate([
|
|
5247
|
+
(0, ts_serval_1.serialize)(),
|
|
5248
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5249
|
+
__metadata("design:type", hints_1.ValueHintsOverride)
|
|
5250
|
+
], ProprietaryHEXColor.prototype, "valueHintsOverride", void 0);
|
|
5145
5251
|
ProprietaryHEXColor = __decorate([
|
|
5146
5252
|
(0, ts_serval_1.type)("ProprietaryHEXColor")
|
|
5147
5253
|
], ProprietaryHEXColor);
|
|
@@ -5171,6 +5277,7 @@ exports.ProprietaryInteger = void 0;
|
|
|
5171
5277
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
5172
5278
|
const hints_1 = __webpack_require__(/*! ../../hints */ "./dist/attributes/hints/index.js");
|
|
5173
5279
|
const AbstractInteger_1 = __webpack_require__(/*! ../AbstractInteger */ "./dist/attributes/types/AbstractInteger.js");
|
|
5280
|
+
const ProprietaryAttributeValue_1 = __webpack_require__(/*! ./ProprietaryAttributeValue */ "./dist/attributes/types/proprietary/ProprietaryAttributeValue.js");
|
|
5174
5281
|
let ProprietaryInteger = class ProprietaryInteger extends AbstractInteger_1.AbstractInteger {
|
|
5175
5282
|
static from(value) {
|
|
5176
5283
|
return this.fromAny(value);
|
|
@@ -5181,18 +5288,15 @@ let ProprietaryInteger = class ProprietaryInteger extends AbstractInteger_1.Abst
|
|
|
5181
5288
|
get valueHints() {
|
|
5182
5289
|
return super.valueHints.copyWith(this.valueHintsOverride?.toJSON());
|
|
5183
5290
|
}
|
|
5184
|
-
get renderHints() {
|
|
5185
|
-
return super.renderHints.copyWith(this.renderHintsOverride?.toJSON());
|
|
5186
|
-
}
|
|
5187
5291
|
};
|
|
5188
5292
|
__decorate([
|
|
5189
5293
|
(0, ts_serval_1.serialize)(),
|
|
5190
|
-
(0, ts_serval_1.validate)(),
|
|
5294
|
+
(0, ts_serval_1.validate)({ max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_TITLE_LENGTH }),
|
|
5191
5295
|
__metadata("design:type", String)
|
|
5192
5296
|
], ProprietaryInteger.prototype, "title", void 0);
|
|
5193
5297
|
__decorate([
|
|
5194
5298
|
(0, ts_serval_1.serialize)(),
|
|
5195
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5299
|
+
(0, ts_serval_1.validate)({ nullable: true, max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_DESCRIPTION_LENGTH }),
|
|
5196
5300
|
__metadata("design:type", String)
|
|
5197
5301
|
], ProprietaryInteger.prototype, "description", void 0);
|
|
5198
5302
|
__decorate([
|
|
@@ -5200,11 +5304,6 @@ __decorate([
|
|
|
5200
5304
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5201
5305
|
__metadata("design:type", hints_1.ValueHintsOverride)
|
|
5202
5306
|
], ProprietaryInteger.prototype, "valueHintsOverride", void 0);
|
|
5203
|
-
__decorate([
|
|
5204
|
-
(0, ts_serval_1.serialize)(),
|
|
5205
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5206
|
-
__metadata("design:type", hints_1.RenderHintsOverride)
|
|
5207
|
-
], ProprietaryInteger.prototype, "renderHintsOverride", void 0);
|
|
5208
5307
|
ProprietaryInteger = __decorate([
|
|
5209
5308
|
(0, ts_serval_1.type)("ProprietaryInteger")
|
|
5210
5309
|
], ProprietaryInteger);
|
|
@@ -5234,6 +5333,7 @@ exports.ProprietaryJSON = void 0;
|
|
|
5234
5333
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
5235
5334
|
const AbstractAttributeValue_1 = __webpack_require__(/*! ../../AbstractAttributeValue */ "./dist/attributes/AbstractAttributeValue.js");
|
|
5236
5335
|
const hints_1 = __webpack_require__(/*! ../../hints */ "./dist/attributes/hints/index.js");
|
|
5336
|
+
const ProprietaryAttributeValue_1 = __webpack_require__(/*! ./ProprietaryAttributeValue */ "./dist/attributes/types/proprietary/ProprietaryAttributeValue.js");
|
|
5237
5337
|
let ProprietaryJSON = class ProprietaryJSON extends AbstractAttributeValue_1.AbstractAttributeValue {
|
|
5238
5338
|
static get valueHints() {
|
|
5239
5339
|
return hints_1.ValueHints.from({});
|
|
@@ -5253,12 +5353,12 @@ let ProprietaryJSON = class ProprietaryJSON extends AbstractAttributeValue_1.Abs
|
|
|
5253
5353
|
};
|
|
5254
5354
|
__decorate([
|
|
5255
5355
|
(0, ts_serval_1.serialize)(),
|
|
5256
|
-
(0, ts_serval_1.validate)(),
|
|
5356
|
+
(0, ts_serval_1.validate)({ max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_TITLE_LENGTH }),
|
|
5257
5357
|
__metadata("design:type", String)
|
|
5258
5358
|
], ProprietaryJSON.prototype, "title", void 0);
|
|
5259
5359
|
__decorate([
|
|
5260
5360
|
(0, ts_serval_1.serialize)(),
|
|
5261
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5361
|
+
(0, ts_serval_1.validate)({ nullable: true, max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_DESCRIPTION_LENGTH }),
|
|
5262
5362
|
__metadata("design:type", String)
|
|
5263
5363
|
], ProprietaryJSON.prototype, "description", void 0);
|
|
5264
5364
|
__decorate([
|
|
@@ -5308,7 +5408,9 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
5308
5408
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
5309
5409
|
exports.ProprietaryLanguage = void 0;
|
|
5310
5410
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
5411
|
+
const hints_1 = __webpack_require__(/*! ../../hints */ "./dist/attributes/hints/index.js");
|
|
5311
5412
|
const AbstractLanguage_1 = __webpack_require__(/*! ../strings/AbstractLanguage */ "./dist/attributes/types/strings/AbstractLanguage.js");
|
|
5413
|
+
const ProprietaryAttributeValue_1 = __webpack_require__(/*! ./ProprietaryAttributeValue */ "./dist/attributes/types/proprietary/ProprietaryAttributeValue.js");
|
|
5312
5414
|
let ProprietaryLanguage = class ProprietaryLanguage extends AbstractLanguage_1.AbstractLanguage {
|
|
5313
5415
|
static from(value) {
|
|
5314
5416
|
return this.fromAny(value);
|
|
@@ -5316,17 +5418,25 @@ let ProprietaryLanguage = class ProprietaryLanguage extends AbstractLanguage_1.A
|
|
|
5316
5418
|
toJSON(verbose, serializeAsString) {
|
|
5317
5419
|
return super.toJSON(verbose, serializeAsString);
|
|
5318
5420
|
}
|
|
5421
|
+
get valueHints() {
|
|
5422
|
+
return super.valueHints.copyWith(this.valueHintsOverride?.toJSON());
|
|
5423
|
+
}
|
|
5319
5424
|
};
|
|
5320
5425
|
__decorate([
|
|
5321
5426
|
(0, ts_serval_1.serialize)(),
|
|
5322
|
-
(0, ts_serval_1.validate)(),
|
|
5427
|
+
(0, ts_serval_1.validate)({ max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_TITLE_LENGTH }),
|
|
5323
5428
|
__metadata("design:type", String)
|
|
5324
5429
|
], ProprietaryLanguage.prototype, "title", void 0);
|
|
5325
5430
|
__decorate([
|
|
5326
5431
|
(0, ts_serval_1.serialize)(),
|
|
5327
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5432
|
+
(0, ts_serval_1.validate)({ nullable: true, max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_DESCRIPTION_LENGTH }),
|
|
5328
5433
|
__metadata("design:type", String)
|
|
5329
5434
|
], ProprietaryLanguage.prototype, "description", void 0);
|
|
5435
|
+
__decorate([
|
|
5436
|
+
(0, ts_serval_1.serialize)(),
|
|
5437
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5438
|
+
__metadata("design:type", hints_1.ValueHintsOverride)
|
|
5439
|
+
], ProprietaryLanguage.prototype, "valueHintsOverride", void 0);
|
|
5330
5440
|
ProprietaryLanguage = __decorate([
|
|
5331
5441
|
(0, ts_serval_1.type)("ProprietaryLanguage")
|
|
5332
5442
|
], ProprietaryLanguage);
|
|
@@ -5354,7 +5464,9 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
5354
5464
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
5355
5465
|
exports.ProprietaryPhoneNumber = void 0;
|
|
5356
5466
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
5467
|
+
const hints_1 = __webpack_require__(/*! ../../hints */ "./dist/attributes/hints/index.js");
|
|
5357
5468
|
const AbstractPhoneNumber_1 = __webpack_require__(/*! ../strings/AbstractPhoneNumber */ "./dist/attributes/types/strings/AbstractPhoneNumber.js");
|
|
5469
|
+
const ProprietaryAttributeValue_1 = __webpack_require__(/*! ./ProprietaryAttributeValue */ "./dist/attributes/types/proprietary/ProprietaryAttributeValue.js");
|
|
5358
5470
|
let ProprietaryPhoneNumber = class ProprietaryPhoneNumber extends AbstractPhoneNumber_1.AbstractPhoneNumber {
|
|
5359
5471
|
static from(value) {
|
|
5360
5472
|
return this.fromAny(value);
|
|
@@ -5362,17 +5474,25 @@ let ProprietaryPhoneNumber = class ProprietaryPhoneNumber extends AbstractPhoneN
|
|
|
5362
5474
|
toJSON(verbose, serializeAsString) {
|
|
5363
5475
|
return super.toJSON(verbose, serializeAsString);
|
|
5364
5476
|
}
|
|
5477
|
+
get valueHints() {
|
|
5478
|
+
return super.valueHints.copyWith(this.valueHintsOverride?.toJSON());
|
|
5479
|
+
}
|
|
5365
5480
|
};
|
|
5366
5481
|
__decorate([
|
|
5367
5482
|
(0, ts_serval_1.serialize)(),
|
|
5368
|
-
(0, ts_serval_1.validate)(),
|
|
5483
|
+
(0, ts_serval_1.validate)({ max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_TITLE_LENGTH }),
|
|
5369
5484
|
__metadata("design:type", String)
|
|
5370
5485
|
], ProprietaryPhoneNumber.prototype, "title", void 0);
|
|
5371
5486
|
__decorate([
|
|
5372
5487
|
(0, ts_serval_1.serialize)(),
|
|
5373
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5488
|
+
(0, ts_serval_1.validate)({ nullable: true, max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_DESCRIPTION_LENGTH }),
|
|
5374
5489
|
__metadata("design:type", String)
|
|
5375
5490
|
], ProprietaryPhoneNumber.prototype, "description", void 0);
|
|
5491
|
+
__decorate([
|
|
5492
|
+
(0, ts_serval_1.serialize)(),
|
|
5493
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5494
|
+
__metadata("design:type", hints_1.ValueHintsOverride)
|
|
5495
|
+
], ProprietaryPhoneNumber.prototype, "valueHintsOverride", void 0);
|
|
5376
5496
|
ProprietaryPhoneNumber = __decorate([
|
|
5377
5497
|
(0, ts_serval_1.type)("ProprietaryPhoneNumber")
|
|
5378
5498
|
], ProprietaryPhoneNumber);
|
|
@@ -5400,7 +5520,9 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
5400
5520
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
5401
5521
|
exports.ProprietaryString = void 0;
|
|
5402
5522
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
5523
|
+
const hints_1 = __webpack_require__(/*! ../../hints */ "./dist/attributes/hints/index.js");
|
|
5403
5524
|
const AbstractString_1 = __webpack_require__(/*! ../AbstractString */ "./dist/attributes/types/AbstractString.js");
|
|
5525
|
+
const ProprietaryAttributeValue_1 = __webpack_require__(/*! ./ProprietaryAttributeValue */ "./dist/attributes/types/proprietary/ProprietaryAttributeValue.js");
|
|
5404
5526
|
let ProprietaryString = class ProprietaryString extends AbstractString_1.AbstractString {
|
|
5405
5527
|
static from(value) {
|
|
5406
5528
|
return this.fromAny(value);
|
|
@@ -5408,17 +5530,25 @@ let ProprietaryString = class ProprietaryString extends AbstractString_1.Abstrac
|
|
|
5408
5530
|
toJSON(verbose, serializeAsString) {
|
|
5409
5531
|
return super.toJSON(verbose, serializeAsString);
|
|
5410
5532
|
}
|
|
5533
|
+
get valueHints() {
|
|
5534
|
+
return super.valueHints.copyWith(this.valueHintsOverride?.toJSON());
|
|
5535
|
+
}
|
|
5411
5536
|
};
|
|
5412
5537
|
__decorate([
|
|
5413
5538
|
(0, ts_serval_1.serialize)(),
|
|
5414
|
-
(0, ts_serval_1.validate)(),
|
|
5539
|
+
(0, ts_serval_1.validate)({ max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_TITLE_LENGTH }),
|
|
5415
5540
|
__metadata("design:type", String)
|
|
5416
5541
|
], ProprietaryString.prototype, "title", void 0);
|
|
5417
5542
|
__decorate([
|
|
5418
5543
|
(0, ts_serval_1.serialize)(),
|
|
5419
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5544
|
+
(0, ts_serval_1.validate)({ nullable: true, max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_DESCRIPTION_LENGTH }),
|
|
5420
5545
|
__metadata("design:type", String)
|
|
5421
5546
|
], ProprietaryString.prototype, "description", void 0);
|
|
5547
|
+
__decorate([
|
|
5548
|
+
(0, ts_serval_1.serialize)(),
|
|
5549
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5550
|
+
__metadata("design:type", hints_1.ValueHintsOverride)
|
|
5551
|
+
], ProprietaryString.prototype, "valueHintsOverride", void 0);
|
|
5422
5552
|
ProprietaryString = __decorate([
|
|
5423
5553
|
(0, ts_serval_1.type)("ProprietaryString")
|
|
5424
5554
|
], ProprietaryString);
|
|
@@ -5446,7 +5576,9 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
5446
5576
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
5447
5577
|
exports.ProprietaryURL = void 0;
|
|
5448
5578
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
5579
|
+
const hints_1 = __webpack_require__(/*! ../../hints */ "./dist/attributes/hints/index.js");
|
|
5449
5580
|
const AbstractURL_1 = __webpack_require__(/*! ../strings/AbstractURL */ "./dist/attributes/types/strings/AbstractURL.js");
|
|
5581
|
+
const ProprietaryAttributeValue_1 = __webpack_require__(/*! ./ProprietaryAttributeValue */ "./dist/attributes/types/proprietary/ProprietaryAttributeValue.js");
|
|
5450
5582
|
let ProprietaryURL = class ProprietaryURL extends AbstractURL_1.AbstractURL {
|
|
5451
5583
|
static from(value) {
|
|
5452
5584
|
return this.fromAny(value);
|
|
@@ -5454,17 +5586,25 @@ let ProprietaryURL = class ProprietaryURL extends AbstractURL_1.AbstractURL {
|
|
|
5454
5586
|
toJSON(verbose, serializeAsString) {
|
|
5455
5587
|
return super.toJSON(verbose, serializeAsString);
|
|
5456
5588
|
}
|
|
5589
|
+
get valueHints() {
|
|
5590
|
+
return super.valueHints.copyWith(this.valueHintsOverride?.toJSON());
|
|
5591
|
+
}
|
|
5457
5592
|
};
|
|
5458
5593
|
__decorate([
|
|
5459
5594
|
(0, ts_serval_1.serialize)(),
|
|
5460
|
-
(0, ts_serval_1.validate)(),
|
|
5595
|
+
(0, ts_serval_1.validate)({ max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_TITLE_LENGTH }),
|
|
5461
5596
|
__metadata("design:type", String)
|
|
5462
5597
|
], ProprietaryURL.prototype, "title", void 0);
|
|
5463
5598
|
__decorate([
|
|
5464
5599
|
(0, ts_serval_1.serialize)(),
|
|
5465
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5600
|
+
(0, ts_serval_1.validate)({ nullable: true, max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_DESCRIPTION_LENGTH }),
|
|
5466
5601
|
__metadata("design:type", String)
|
|
5467
5602
|
], ProprietaryURL.prototype, "description", void 0);
|
|
5603
|
+
__decorate([
|
|
5604
|
+
(0, ts_serval_1.serialize)(),
|
|
5605
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5606
|
+
__metadata("design:type", hints_1.ValueHintsOverride)
|
|
5607
|
+
], ProprietaryURL.prototype, "valueHintsOverride", void 0);
|
|
5468
5608
|
ProprietaryURL = __decorate([
|
|
5469
5609
|
(0, ts_serval_1.type)("ProprietaryURL")
|
|
5470
5610
|
], ProprietaryURL);
|
|
@@ -6007,10 +6147,10 @@ const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-s
|
|
|
6007
6147
|
const crypto_1 = __webpack_require__(/*! @nmshd/crypto */ "@nmshd/crypto");
|
|
6008
6148
|
const transport_1 = __webpack_require__(/*! @nmshd/transport */ "@nmshd/transport");
|
|
6009
6149
|
exports.buildInformation = {
|
|
6010
|
-
version: "2.1.
|
|
6011
|
-
build: "
|
|
6012
|
-
date: "2022-11-
|
|
6013
|
-
commit: "
|
|
6150
|
+
version: "2.1.2",
|
|
6151
|
+
build: "126",
|
|
6152
|
+
date: "2022-11-16T08:29:27+00:00",
|
|
6153
|
+
commit: "c8678ed73c78ef1c36d51b4e93e1a452e99b1951",
|
|
6014
6154
|
dependencies: {"@js-soft/logging-abstractions":"^1.0.0","easy-tsnameof":"^3.0.6","mocha-param":"^2.0.1"},
|
|
6015
6155
|
libraries: {
|
|
6016
6156
|
serval: ts_serval_1.buildInformation,
|
|
@@ -6104,12 +6244,12 @@ __decorate([
|
|
|
6104
6244
|
], Mail.prototype, "cc", void 0);
|
|
6105
6245
|
__decorate([
|
|
6106
6246
|
(0, ts_serval_1.serialize)(),
|
|
6107
|
-
(0, ts_serval_1.validate)(),
|
|
6247
|
+
(0, ts_serval_1.validate)({ max: 300 }),
|
|
6108
6248
|
__metadata("design:type", String)
|
|
6109
6249
|
], Mail.prototype, "subject", void 0);
|
|
6110
6250
|
__decorate([
|
|
6111
6251
|
(0, ts_serval_1.serialize)(),
|
|
6112
|
-
(0, ts_serval_1.validate)(),
|
|
6252
|
+
(0, ts_serval_1.validate)({ max: 50000 }),
|
|
6113
6253
|
__metadata("design:type", String)
|
|
6114
6254
|
], Mail.prototype, "body", void 0);
|
|
6115
6255
|
Mail = __decorate([
|
|
@@ -6191,7 +6331,7 @@ let RelationshipTemplateContent = class RelationshipTemplateContent extends ts_s
|
|
|
6191
6331
|
};
|
|
6192
6332
|
__decorate([
|
|
6193
6333
|
(0, ts_serval_1.serialize)(),
|
|
6194
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
6334
|
+
(0, ts_serval_1.validate)({ nullable: true, max: 200 }),
|
|
6195
6335
|
__metadata("design:type", String)
|
|
6196
6336
|
], RelationshipTemplateContent.prototype, "title", void 0);
|
|
6197
6337
|
__decorate([
|
|
@@ -6290,12 +6430,12 @@ __decorate([
|
|
|
6290
6430
|
], Request.prototype, "items", void 0);
|
|
6291
6431
|
__decorate([
|
|
6292
6432
|
(0, ts_serval_1.serialize)(),
|
|
6293
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
6433
|
+
(0, ts_serval_1.validate)({ nullable: true, max: 200 }),
|
|
6294
6434
|
__metadata("design:type", String)
|
|
6295
6435
|
], Request.prototype, "title", void 0);
|
|
6296
6436
|
__decorate([
|
|
6297
6437
|
(0, ts_serval_1.serialize)(),
|
|
6298
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
6438
|
+
(0, ts_serval_1.validate)({ nullable: true, max: 500 }),
|
|
6299
6439
|
__metadata("design:type", String)
|
|
6300
6440
|
], Request.prototype, "description", void 0);
|
|
6301
6441
|
__decorate([
|
|
@@ -6337,12 +6477,12 @@ class RequestItem extends ts_serval_1.Serializable {
|
|
|
6337
6477
|
}
|
|
6338
6478
|
__decorate([
|
|
6339
6479
|
(0, ts_serval_1.serialize)(),
|
|
6340
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
6480
|
+
(0, ts_serval_1.validate)({ nullable: true, max: 200 }),
|
|
6341
6481
|
__metadata("design:type", String)
|
|
6342
6482
|
], RequestItem.prototype, "title", void 0);
|
|
6343
6483
|
__decorate([
|
|
6344
6484
|
(0, ts_serval_1.serialize)(),
|
|
6345
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
6485
|
+
(0, ts_serval_1.validate)({ nullable: true, max: 500 }),
|
|
6346
6486
|
__metadata("design:type", String)
|
|
6347
6487
|
], RequestItem.prototype, "description", void 0);
|
|
6348
6488
|
__decorate([
|
|
@@ -6404,12 +6544,12 @@ let RequestItemGroup = RequestItemGroup_1 = class RequestItemGroup extends ts_se
|
|
|
6404
6544
|
};
|
|
6405
6545
|
__decorate([
|
|
6406
6546
|
(0, ts_serval_1.serialize)(),
|
|
6407
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
6547
|
+
(0, ts_serval_1.validate)({ nullable: true, max: 200 }),
|
|
6408
6548
|
__metadata("design:type", String)
|
|
6409
6549
|
], RequestItemGroup.prototype, "title", void 0);
|
|
6410
6550
|
__decorate([
|
|
6411
6551
|
(0, ts_serval_1.serialize)(),
|
|
6412
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
6552
|
+
(0, ts_serval_1.validate)({ nullable: true, max: 500 }),
|
|
6413
6553
|
__metadata("design:type", String)
|
|
6414
6554
|
], RequestItemGroup.prototype, "description", void 0);
|
|
6415
6555
|
__decorate([
|
|
@@ -6529,12 +6669,19 @@ let ConsentRequestItem = class ConsentRequestItem extends RequestItem_1.RequestI
|
|
|
6529
6669
|
};
|
|
6530
6670
|
__decorate([
|
|
6531
6671
|
(0, ts_serval_1.serialize)(),
|
|
6532
|
-
(0, ts_serval_1.validate)(),
|
|
6672
|
+
(0, ts_serval_1.validate)({ max: 2000 }),
|
|
6533
6673
|
__metadata("design:type", String)
|
|
6534
6674
|
], ConsentRequestItem.prototype, "consent", void 0);
|
|
6535
6675
|
__decorate([
|
|
6536
6676
|
(0, ts_serval_1.serialize)(),
|
|
6537
|
-
(0, ts_serval_1.validate)({
|
|
6677
|
+
(0, ts_serval_1.validate)({
|
|
6678
|
+
nullable: true,
|
|
6679
|
+
min: 3,
|
|
6680
|
+
max: 1024,
|
|
6681
|
+
regExp: new RegExp(
|
|
6682
|
+
// eslint-disable-next-line no-useless-escape
|
|
6683
|
+
/^((([A-Za-z]{3,9}:(?:\/\/)?)(?:[\-;:&=\+\$,\w]+@)?[A-Za-z0-9\.\-]+|(?:www\.|[\-;:&=\+\$,\w]+@)[A-Za-z0-9\.\-]+)((?:\/[\+~%\/\.\w\-_]*)?\??(?:[\-\+=&;%@\.\w_]*)#?(?:[\.\!\/\\\w]*))?)$/i)
|
|
6684
|
+
}),
|
|
6538
6685
|
__metadata("design:type", String)
|
|
6539
6686
|
], ConsentRequestItem.prototype, "link", void 0);
|
|
6540
6687
|
ConsentRequestItem = __decorate([
|
|
@@ -6901,7 +7048,7 @@ let RegisterAttributeListenerAcceptResponseItem = class RegisterAttributeListene
|
|
|
6901
7048
|
};
|
|
6902
7049
|
__decorate([
|
|
6903
7050
|
(0, ts_serval_1.serialize)(),
|
|
6904
|
-
(0, ts_serval_1.validate)(),
|
|
7051
|
+
(0, ts_serval_1.validate)({ max: 30 }),
|
|
6905
7052
|
__metadata("design:type", String)
|
|
6906
7053
|
], RegisterAttributeListenerAcceptResponseItem.prototype, "listenerId", void 0);
|
|
6907
7054
|
RegisterAttributeListenerAcceptResponseItem = __decorate([
|
|
@@ -7109,12 +7256,12 @@ let ErrorResponseItem = class ErrorResponseItem extends ResponseItem_1.ResponseI
|
|
|
7109
7256
|
};
|
|
7110
7257
|
__decorate([
|
|
7111
7258
|
(0, ts_serval_1.serialize)(),
|
|
7112
|
-
(0, ts_serval_1.validate)(),
|
|
7259
|
+
(0, ts_serval_1.validate)({ max: 200 }),
|
|
7113
7260
|
__metadata("design:type", String)
|
|
7114
7261
|
], ErrorResponseItem.prototype, "code", void 0);
|
|
7115
7262
|
__decorate([
|
|
7116
7263
|
(0, ts_serval_1.serialize)(),
|
|
7117
|
-
(0, ts_serval_1.validate)(),
|
|
7264
|
+
(0, ts_serval_1.validate)({ max: 1000 }),
|
|
7118
7265
|
__metadata("design:type", String)
|
|
7119
7266
|
], ErrorResponseItem.prototype, "message", void 0);
|
|
7120
7267
|
ErrorResponseItem = __decorate([
|
|
@@ -7155,12 +7302,12 @@ let RejectResponseItem = class RejectResponseItem extends ResponseItem_1.Respons
|
|
|
7155
7302
|
};
|
|
7156
7303
|
__decorate([
|
|
7157
7304
|
(0, ts_serval_1.serialize)(),
|
|
7158
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
7305
|
+
(0, ts_serval_1.validate)({ nullable: true, max: 200 }),
|
|
7159
7306
|
__metadata("design:type", String)
|
|
7160
7307
|
], RejectResponseItem.prototype, "code", void 0);
|
|
7161
7308
|
__decorate([
|
|
7162
7309
|
(0, ts_serval_1.serialize)(),
|
|
7163
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
7310
|
+
(0, ts_serval_1.validate)({ nullable: true, max: 1000 }),
|
|
7164
7311
|
__metadata("design:type", String)
|
|
7165
7312
|
], RejectResponseItem.prototype, "message", void 0);
|
|
7166
7313
|
RejectResponseItem = __decorate([
|