@nmshd/content 2.6.0 → 2.7.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/attributes/AbstractAttribute.js +1 -1
- package/dist/attributes/AbstractAttribute.js.map +1 -1
- package/dist/attributes/AttributeValueTypes.d.ts +7 -7
- package/dist/attributes/AttributeValueTypes.js +1 -1
- package/dist/attributes/AttributeValueTypes.js.map +1 -1
- package/dist/attributes/IQLQuery.js +3 -3
- package/dist/attributes/IQLQuery.js.map +1 -1
- package/dist/attributes/IdentityAttribute.js +4 -5
- package/dist/attributes/IdentityAttribute.js.map +1 -1
- package/dist/attributes/IdentityAttributeQuery.js +4 -5
- package/dist/attributes/IdentityAttributeQuery.js.map +1 -1
- package/dist/attributes/RelationshipAttribute.js +2 -2
- package/dist/attributes/RelationshipAttribute.js.map +1 -1
- package/dist/attributes/RelationshipAttributeConfidentiality.js +1 -1
- package/dist/attributes/RelationshipAttributeConfidentiality.js.map +1 -1
- package/dist/attributes/RelationshipAttributeQuery.js +4 -4
- package/dist/attributes/RelationshipAttributeQuery.js.map +1 -1
- package/dist/attributes/ThirdPartyRelationshipAttributeQuery.js +2 -2
- package/dist/attributes/ThirdPartyRelationshipAttributeQuery.js.map +1 -1
- package/dist/attributes/constants/CountriesAlpha2.js +1 -1
- package/dist/attributes/constants/CountriesAlpha2.js.map +1 -1
- package/dist/attributes/constants/LanguagesISO639.js +1 -1
- package/dist/attributes/constants/LanguagesISO639.js.map +1 -1
- package/dist/attributes/hints/RenderHints.js +4 -4
- package/dist/attributes/hints/RenderHints.js.map +1 -1
- package/dist/attributes/hints/RenderHintsDataType.js +1 -1
- package/dist/attributes/hints/RenderHintsDataType.js.map +1 -1
- package/dist/attributes/hints/RenderHintsEditType.js +1 -1
- package/dist/attributes/hints/RenderHintsEditType.js.map +1 -1
- package/dist/attributes/hints/RenderHintsTechnicalType.js +1 -1
- package/dist/attributes/hints/RenderHintsTechnicalType.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.js +4 -5
- package/dist/attributes/hints/ValueHintsValue.js.map +1 -1
- package/dist/attributes/types/AbstractBoolean.js +1 -1
- package/dist/attributes/types/AbstractBoolean.js.map +1 -1
- package/dist/attributes/types/AbstractFloat.js +1 -1
- package/dist/attributes/types/AbstractFloat.js.map +1 -1
- package/dist/attributes/types/AbstractInteger.js +1 -1
- package/dist/attributes/types/AbstractInteger.js.map +1 -1
- package/dist/attributes/types/AbstractString.js +1 -1
- package/dist/attributes/types/AbstractString.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/City.js +2 -2
- package/dist/attributes/types/address/City.js.map +1 -1
- package/dist/attributes/types/address/Country.js +2 -2
- package/dist/attributes/types/address/Country.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/HouseNumber.js +2 -2
- package/dist/attributes/types/address/HouseNumber.js.map +1 -1
- package/dist/attributes/types/address/PostOfficeBoxAddress.js +2 -2
- package/dist/attributes/types/address/PostOfficeBoxAddress.js.map +1 -1
- package/dist/attributes/types/address/State.js +2 -2
- package/dist/attributes/types/address/State.js.map +1 -1
- package/dist/attributes/types/address/Street.js +2 -2
- package/dist/attributes/types/address/Street.js.map +1 -1
- package/dist/attributes/types/address/StreetAddress.js +2 -2
- package/dist/attributes/types/address/StreetAddress.js.map +1 -1
- package/dist/attributes/types/address/ZipCode.js +2 -2
- package/dist/attributes/types/address/ZipCode.js.map +1 -1
- package/dist/attributes/types/affiliation/Affiliation.js +2 -2
- package/dist/attributes/types/affiliation/Affiliation.js.map +1 -1
- package/dist/attributes/types/affiliation/AffiliationOrganization.js +2 -2
- package/dist/attributes/types/affiliation/AffiliationOrganization.js.map +1 -1
- package/dist/attributes/types/affiliation/AffiliationRole.js +2 -2
- package/dist/attributes/types/affiliation/AffiliationRole.js.map +1 -1
- package/dist/attributes/types/affiliation/AffiliationUnit.js +2 -2
- package/dist/attributes/types/affiliation/AffiliationUnit.js.map +1 -1
- package/dist/attributes/types/birth/BirthCity.js +2 -2
- package/dist/attributes/types/birth/BirthCity.js.map +1 -1
- package/dist/attributes/types/birth/BirthCountry.js +2 -2
- package/dist/attributes/types/birth/BirthCountry.js.map +1 -1
- package/dist/attributes/types/birth/BirthDate.js +2 -2
- package/dist/attributes/types/birth/BirthDate.js.map +1 -1
- package/dist/attributes/types/birth/BirthDay.js +2 -2
- package/dist/attributes/types/birth/BirthDay.js.map +1 -1
- package/dist/attributes/types/birth/BirthMonth.js +2 -2
- package/dist/attributes/types/birth/BirthMonth.js.map +1 -1
- package/dist/attributes/types/birth/BirthPlace.js +2 -2
- package/dist/attributes/types/birth/BirthPlace.js.map +1 -1
- package/dist/attributes/types/birth/BirthState.js +2 -2
- package/dist/attributes/types/birth/BirthState.js.map +1 -1
- package/dist/attributes/types/birth/BirthYear.js +2 -2
- package/dist/attributes/types/birth/BirthYear.js.map +1 -1
- package/dist/attributes/types/communication/CommunicationLanguage.js +2 -2
- package/dist/attributes/types/communication/CommunicationLanguage.js.map +1 -1
- package/dist/attributes/types/communication/EMailAddress.js +2 -2
- package/dist/attributes/types/communication/EMailAddress.js.map +1 -1
- package/dist/attributes/types/communication/FaxNumber.js +2 -2
- package/dist/attributes/types/communication/FaxNumber.js.map +1 -1
- package/dist/attributes/types/communication/PhoneNumber.js +2 -2
- package/dist/attributes/types/communication/PhoneNumber.js.map +1 -1
- package/dist/attributes/types/communication/Website.js +2 -2
- package/dist/attributes/types/communication/Website.js.map +1 -1
- package/dist/attributes/types/dates/AbstractDateString.js +1 -1
- package/dist/attributes/types/dates/AbstractDateString.js.map +1 -1
- package/dist/attributes/types/dates/AbstractDay.js +1 -1
- package/dist/attributes/types/dates/AbstractDay.js.map +1 -1
- package/dist/attributes/types/dates/AbstractMonth.js +1 -1
- package/dist/attributes/types/dates/AbstractMonth.js.map +1 -1
- package/dist/attributes/types/dates/AbstractYear.js +1 -1
- package/dist/attributes/types/dates/AbstractYear.js.map +1 -1
- package/dist/attributes/types/identity/DisplayName.js +2 -2
- package/dist/attributes/types/identity/DisplayName.js.map +1 -1
- package/dist/attributes/types/identity/IdentityFileReference.js +2 -2
- package/dist/attributes/types/identity/IdentityFileReference.js.map +1 -1
- package/dist/attributes/types/identity/SchematizedXML.js +2 -2
- package/dist/attributes/types/identity/SchematizedXML.js.map +1 -1
- package/dist/attributes/types/measurements/AbstractLengthMeasurement.js +2 -2
- package/dist/attributes/types/measurements/AbstractLengthMeasurement.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/name/BirthName.js +2 -2
- package/dist/attributes/types/name/BirthName.js.map +1 -1
- package/dist/attributes/types/name/GivenName.js +2 -2
- package/dist/attributes/types/name/GivenName.js.map +1 -1
- package/dist/attributes/types/name/HonorificPrefix.js +2 -2
- package/dist/attributes/types/name/HonorificPrefix.js.map +1 -1
- package/dist/attributes/types/name/HonorificSuffix.js +2 -2
- package/dist/attributes/types/name/HonorificSuffix.js.map +1 -1
- package/dist/attributes/types/name/MiddleName.js +2 -2
- package/dist/attributes/types/name/MiddleName.js.map +1 -1
- package/dist/attributes/types/name/PersonName.js +2 -2
- package/dist/attributes/types/name/PersonName.js.map +1 -1
- package/dist/attributes/types/name/Pseudonym.js +2 -2
- package/dist/attributes/types/name/Pseudonym.js.map +1 -1
- package/dist/attributes/types/name/Surname.js +2 -2
- package/dist/attributes/types/name/Surname.js.map +1 -1
- package/dist/attributes/types/person/Citizenship.js +2 -2
- package/dist/attributes/types/person/Citizenship.js.map +1 -1
- package/dist/attributes/types/person/JobTitle.js +2 -2
- package/dist/attributes/types/person/JobTitle.js.map +1 -1
- package/dist/attributes/types/person/Nationality.js +2 -2
- package/dist/attributes/types/person/Nationality.js.map +1 -1
- package/dist/attributes/types/person/Sex.js +3 -3
- package/dist/attributes/types/person/Sex.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryBoolean.js +2 -2
- package/dist/attributes/types/proprietary/ProprietaryBoolean.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryCountry.js +2 -2
- package/dist/attributes/types/proprietary/ProprietaryCountry.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryEMailAddress.js +2 -2
- package/dist/attributes/types/proprietary/ProprietaryEMailAddress.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryFileReference.js +2 -2
- package/dist/attributes/types/proprietary/ProprietaryFileReference.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryFloat.js +2 -2
- package/dist/attributes/types/proprietary/ProprietaryFloat.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryHEXColor.js +2 -2
- package/dist/attributes/types/proprietary/ProprietaryHEXColor.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryInteger.js +2 -2
- package/dist/attributes/types/proprietary/ProprietaryInteger.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryJSON.js +2 -2
- package/dist/attributes/types/proprietary/ProprietaryJSON.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryLanguage.js +2 -2
- package/dist/attributes/types/proprietary/ProprietaryLanguage.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryPhoneNumber.js +2 -2
- package/dist/attributes/types/proprietary/ProprietaryPhoneNumber.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryString.js +2 -2
- package/dist/attributes/types/proprietary/ProprietaryString.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryURL.js +2 -2
- package/dist/attributes/types/proprietary/ProprietaryURL.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryXML.js +2 -2
- package/dist/attributes/types/proprietary/ProprietaryXML.js.map +1 -1
- package/dist/attributes/types/relationship/Consent.js +2 -2
- package/dist/attributes/types/relationship/Consent.js.map +1 -1
- package/dist/attributes/types/statement/AbstractIdentityDescriptor.js +1 -1
- package/dist/attributes/types/statement/AbstractIdentityDescriptor.js.map +1 -1
- package/dist/attributes/types/statement/AbstractStatement.js +1 -1
- package/dist/attributes/types/statement/AbstractStatement.js.map +1 -1
- package/dist/attributes/types/statement/DigitalIdentityDescriptor.js +2 -2
- package/dist/attributes/types/statement/DigitalIdentityDescriptor.js.map +1 -1
- package/dist/attributes/types/statement/Statement.js +2 -2
- package/dist/attributes/types/statement/Statement.js.map +1 -1
- package/dist/attributes/types/statement/StatementAuthorityType.js +3 -3
- package/dist/attributes/types/statement/StatementAuthorityType.js.map +1 -1
- package/dist/attributes/types/statement/StatementEvidence.js +3 -3
- package/dist/attributes/types/statement/StatementEvidence.js.map +1 -1
- package/dist/attributes/types/statement/StatementIssuerConditions.js +2 -2
- package/dist/attributes/types/statement/StatementIssuerConditions.js.map +1 -1
- package/dist/attributes/types/statement/StatementObject.js +2 -2
- package/dist/attributes/types/statement/StatementObject.js.map +1 -1
- package/dist/attributes/types/statement/StatementPredicate.js +5 -6
- package/dist/attributes/types/statement/StatementPredicate.js.map +1 -1
- package/dist/attributes/types/statement/StatementSubject.js +2 -2
- package/dist/attributes/types/statement/StatementSubject.js.map +1 -1
- package/dist/attributes/types/strings/AbstractCountry.js +1 -1
- package/dist/attributes/types/strings/AbstractCountry.js.map +1 -1
- package/dist/attributes/types/strings/AbstractEMailAddress.js +1 -1
- package/dist/attributes/types/strings/AbstractEMailAddress.js.map +1 -1
- package/dist/attributes/types/strings/AbstractFileReference.js +1 -1
- package/dist/attributes/types/strings/AbstractFileReference.js.map +1 -1
- package/dist/attributes/types/strings/AbstractHEXColor.js +1 -1
- package/dist/attributes/types/strings/AbstractHEXColor.js.map +1 -1
- package/dist/attributes/types/strings/AbstractLanguage.js +1 -1
- package/dist/attributes/types/strings/AbstractLanguage.js.map +1 -1
- package/dist/attributes/types/strings/AbstractPhoneNumber.js +1 -1
- package/dist/attributes/types/strings/AbstractPhoneNumber.js.map +1 -1
- package/dist/attributes/types/strings/AbstractURL.js +1 -1
- package/dist/attributes/types/strings/AbstractURL.js.map +1 -1
- package/dist/attributes/types/strings/AbstractXML.js +1 -1
- package/dist/attributes/types/strings/AbstractXML.js.map +1 -1
- package/dist/buildInformation.js +5 -5
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/messages/Mail.js +2 -2
- package/dist/messages/Mail.js.map +1 -1
- package/dist/notifications/Notification.d.ts +23 -0
- package/dist/{requests/items/succeedAttribute/SucceedAttributeAcceptResponseItem.js → notifications/Notification.js} +14 -12
- package/dist/notifications/Notification.js.map +1 -0
- package/dist/notifications/NotificationItem.d.ts +8 -0
- package/dist/notifications/NotificationItem.js +11 -0
- package/dist/notifications/NotificationItem.js.map +1 -0
- package/dist/notifications/index.d.ts +3 -0
- package/dist/notifications/index.js +20 -0
- package/dist/notifications/index.js.map +1 -0
- package/dist/notifications/items/AttributeSucceededNotificationItem.d.ts +20 -0
- package/dist/{requests/items/succeedAttribute/SucceedAttributeRequestItem.js → notifications/items/AttributeSucceededNotificationItem.js} +16 -14
- package/dist/notifications/items/AttributeSucceededNotificationItem.js.map +1 -0
- package/dist/notifications/items/index.d.ts +1 -0
- package/dist/notifications/items/index.js +18 -0
- package/dist/notifications/items/index.js.map +1 -0
- package/dist/relationships/RelationshipCreationChangeRequestContent.js +2 -2
- package/dist/relationships/RelationshipCreationChangeRequestContent.js.map +1 -1
- package/dist/relationships/RelationshipTemplateContent.js +2 -2
- 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 +4 -4
- package/dist/requests/RequestItem.js +1 -1
- 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/ResponseWrapper.js +2 -2
- package/dist/requests/ResponseWrapper.js.map +1 -1
- package/dist/requests/items/authentication/AuthenticationRequestItem.js +2 -2
- package/dist/requests/items/authentication/AuthenticationRequestItem.js.map +1 -1
- package/dist/requests/items/consent/ConsentRequestItem.js +2 -2
- package/dist/requests/items/consent/ConsentRequestItem.js.map +1 -1
- package/dist/requests/items/createRelationshipAttribute/CreateAttributeAcceptResponseItem.js +2 -2
- package/dist/requests/items/createRelationshipAttribute/CreateAttributeAcceptResponseItem.js.map +1 -1
- package/dist/requests/items/createRelationshipAttribute/CreateAttributeRequestItem.js +2 -2
- package/dist/requests/items/createRelationshipAttribute/CreateAttributeRequestItem.js.map +1 -1
- package/dist/requests/items/freeText/FreeTextAcceptResponseItem.js +2 -2
- package/dist/requests/items/freeText/FreeTextAcceptResponseItem.js.map +1 -1
- package/dist/requests/items/freeText/FreeTextRequestItem.js +2 -2
- package/dist/requests/items/freeText/FreeTextRequestItem.js.map +1 -1
- package/dist/requests/items/index.d.ts +0 -2
- package/dist/requests/items/index.js +0 -2
- package/dist/requests/items/index.js.map +1 -1
- package/dist/requests/items/proposeAttribute/ProposeAttributeAcceptResponseItem.js +2 -2
- package/dist/requests/items/proposeAttribute/ProposeAttributeAcceptResponseItem.js.map +1 -1
- package/dist/requests/items/proposeAttribute/ProposeAttributeRequestItem.js +2 -2
- package/dist/requests/items/proposeAttribute/ProposeAttributeRequestItem.js.map +1 -1
- package/dist/requests/items/readAttribute/ReadAttributeAcceptResponseItem.js +2 -2
- package/dist/requests/items/readAttribute/ReadAttributeAcceptResponseItem.js.map +1 -1
- package/dist/requests/items/readAttribute/ReadAttributeRequestItem.js +2 -2
- package/dist/requests/items/readAttribute/ReadAttributeRequestItem.js.map +1 -1
- package/dist/requests/items/registerAttributeListener/RegisterAttributeListenerAcceptResponseItem.js +2 -2
- package/dist/requests/items/registerAttributeListener/RegisterAttributeListenerAcceptResponseItem.js.map +1 -1
- package/dist/requests/items/registerAttributeListener/RegisterAttributeListenerRequestItem.js +2 -2
- package/dist/requests/items/registerAttributeListener/RegisterAttributeListenerRequestItem.js.map +1 -1
- package/dist/requests/items/shareAttribute/ShareAttributeAcceptResponseItem.js +2 -2
- package/dist/requests/items/shareAttribute/ShareAttributeAcceptResponseItem.js.map +1 -1
- package/dist/requests/items/shareAttribute/ShareAttributeRequestItem.js +2 -2
- package/dist/requests/items/shareAttribute/ShareAttributeRequestItem.js.map +1 -1
- package/dist/requests/response/AcceptResponseItem.d.ts +4 -4
- package/dist/requests/response/AcceptResponseItem.js +2 -2
- package/dist/requests/response/AcceptResponseItem.js.map +1 -1
- package/dist/requests/response/ErrorResponseItem.js +2 -2
- package/dist/requests/response/ErrorResponseItem.js.map +1 -1
- package/dist/requests/response/RejectResponseItem.js +2 -2
- package/dist/requests/response/RejectResponseItem.js.map +1 -1
- package/dist/requests/response/Response.js +3 -3
- package/dist/requests/response/Response.js.map +1 -1
- package/dist/requests/response/ResponseItem.js +1 -1
- package/dist/requests/response/ResponseItem.js.map +1 -1
- package/dist/requests/response/ResponseItemGroup.js +2 -2
- package/dist/requests/response/ResponseItemGroup.js.map +1 -1
- package/dist/requests/response/ResponseItemResult.js +1 -1
- package/dist/requests/response/ResponseItemResult.js.map +1 -1
- package/lib-web/nmshd.content.js +630 -442
- package/lib-web/nmshd.content.min.js +1 -1
- package/package.json +12 -12
- package/dist/requests/items/succeedAttribute/SucceedAttributeAcceptResponseItem.d.ts +0 -14
- package/dist/requests/items/succeedAttribute/SucceedAttributeAcceptResponseItem.js.map +0 -1
- package/dist/requests/items/succeedAttribute/SucceedAttributeRequestItem.d.ts +0 -29
- package/dist/requests/items/succeedAttribute/SucceedAttributeRequestItem.js.map +0 -1
package/lib-web/nmshd.content.js
CHANGED
|
@@ -37,6 +37,7 @@ const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-s
|
|
|
37
37
|
const transport_1 = __webpack_require__(/*! @nmshd/transport */ "@nmshd/transport");
|
|
38
38
|
class AbstractAttribute extends transport_1.CoreSerializable {
|
|
39
39
|
}
|
|
40
|
+
exports.AbstractAttribute = AbstractAttribute;
|
|
40
41
|
__decorate([
|
|
41
42
|
(0, ts_serval_1.validate)(),
|
|
42
43
|
(0, ts_serval_1.serialize)(),
|
|
@@ -52,7 +53,6 @@ __decorate([
|
|
|
52
53
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
53
54
|
__metadata("design:type", transport_1.CoreDate)
|
|
54
55
|
], AbstractAttribute.prototype, "validTo", void 0);
|
|
55
|
-
exports.AbstractAttribute = AbstractAttribute;
|
|
56
56
|
//# sourceMappingURL=AbstractAttribute.js.map
|
|
57
57
|
|
|
58
58
|
/***/ }),
|
|
@@ -284,7 +284,7 @@ var AttributeValues;
|
|
|
284
284
|
AttributeValues.CLASSES = [...Identity.CLASSES, ...Relationship.CLASSES];
|
|
285
285
|
AttributeValues.TYPE_NAMES = [...Identity.TYPE_NAMES, ...Relationship.TYPE_NAMES];
|
|
286
286
|
AttributeValues.TYPE_NAMES_STRINGIFIED = JSON.stringify(AttributeValues.TYPE_NAMES);
|
|
287
|
-
})(AttributeValues
|
|
287
|
+
})(AttributeValues || (exports.AttributeValues = AttributeValues = {}));
|
|
288
288
|
//# sourceMappingURL=AttributeValueTypes.js.map
|
|
289
289
|
|
|
290
290
|
/***/ }),
|
|
@@ -341,6 +341,7 @@ let IQLQuery = class IQLQuery extends AbstractAttributeQuery_1.AbstractAttribute
|
|
|
341
341
|
return super.toJSON(verbose, serializeAsString);
|
|
342
342
|
}
|
|
343
343
|
};
|
|
344
|
+
exports.IQLQuery = IQLQuery;
|
|
344
345
|
__decorate([
|
|
345
346
|
(0, ts_serval_1.serialize)(),
|
|
346
347
|
(0, ts_serval_1.validate)({
|
|
@@ -348,16 +349,15 @@ __decorate([
|
|
|
348
349
|
customValidator: (v) => {
|
|
349
350
|
const result = Iql.validate(v);
|
|
350
351
|
return !result.isValid
|
|
351
|
-
? `invalid IQL query at character offset ${result.error
|
|
352
|
+
? `invalid IQL query at character offset ${result.error.location.start.column}`
|
|
352
353
|
: undefined;
|
|
353
354
|
}
|
|
354
355
|
}),
|
|
355
356
|
__metadata("design:type", String)
|
|
356
357
|
], IQLQuery.prototype, "queryString", void 0);
|
|
357
|
-
IQLQuery = __decorate([
|
|
358
|
+
exports.IQLQuery = IQLQuery = __decorate([
|
|
358
359
|
(0, ts_serval_1.type)("IQLQuery")
|
|
359
360
|
], IQLQuery);
|
|
360
|
-
exports.IQLQuery = IQLQuery;
|
|
361
361
|
//# sourceMappingURL=IQLQuery.js.map
|
|
362
362
|
|
|
363
363
|
/***/ }),
|
|
@@ -378,13 +378,12 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
378
378
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
379
379
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
380
380
|
};
|
|
381
|
-
var IdentityAttribute_1;
|
|
382
381
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
383
382
|
exports.IdentityAttribute = void 0;
|
|
384
383
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
385
384
|
const AbstractAttribute_1 = __webpack_require__(/*! ./AbstractAttribute */ "./dist/attributes/AbstractAttribute.js");
|
|
386
385
|
const AttributeValueTypes_1 = __webpack_require__(/*! ./AttributeValueTypes */ "./dist/attributes/AttributeValueTypes.js");
|
|
387
|
-
let IdentityAttribute =
|
|
386
|
+
let IdentityAttribute = class IdentityAttribute extends AbstractAttribute_1.AbstractAttribute {
|
|
388
387
|
static from(value) {
|
|
389
388
|
return this.fromAny(value);
|
|
390
389
|
}
|
|
@@ -401,6 +400,7 @@ let IdentityAttribute = IdentityAttribute_1 = class IdentityAttribute extends Ab
|
|
|
401
400
|
return undefined;
|
|
402
401
|
}
|
|
403
402
|
};
|
|
403
|
+
exports.IdentityAttribute = IdentityAttribute;
|
|
404
404
|
__decorate([
|
|
405
405
|
(0, ts_serval_1.serialize)({ unionTypes: AttributeValueTypes_1.AttributeValues.Identity.CLASSES }),
|
|
406
406
|
(0, ts_serval_1.validate)(),
|
|
@@ -408,13 +408,12 @@ __decorate([
|
|
|
408
408
|
], IdentityAttribute.prototype, "value", void 0);
|
|
409
409
|
__decorate([
|
|
410
410
|
(0, ts_serval_1.serialize)({ type: String }),
|
|
411
|
-
(0, ts_serval_1.validate)({ nullable: true, customValidator:
|
|
411
|
+
(0, ts_serval_1.validate)({ nullable: true, customValidator: IdentityAttribute.validateTags }),
|
|
412
412
|
__metadata("design:type", Array)
|
|
413
413
|
], IdentityAttribute.prototype, "tags", void 0);
|
|
414
|
-
IdentityAttribute =
|
|
414
|
+
exports.IdentityAttribute = IdentityAttribute = __decorate([
|
|
415
415
|
(0, ts_serval_1.type)("IdentityAttribute")
|
|
416
416
|
], IdentityAttribute);
|
|
417
|
-
exports.IdentityAttribute = IdentityAttribute;
|
|
418
417
|
//# sourceMappingURL=IdentityAttribute.js.map
|
|
419
418
|
|
|
420
419
|
/***/ }),
|
|
@@ -435,14 +434,13 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
435
434
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
436
435
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
437
436
|
};
|
|
438
|
-
var IdentityAttributeQuery_1;
|
|
439
437
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
440
438
|
exports.IdentityAttributeQuery = void 0;
|
|
441
439
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
442
440
|
const transport_1 = __webpack_require__(/*! @nmshd/transport */ "@nmshd/transport");
|
|
443
441
|
const AbstractAttributeQuery_1 = __webpack_require__(/*! ./AbstractAttributeQuery */ "./dist/attributes/AbstractAttributeQuery.js");
|
|
444
442
|
const AttributeValueTypes_1 = __webpack_require__(/*! ./AttributeValueTypes */ "./dist/attributes/AttributeValueTypes.js");
|
|
445
|
-
let IdentityAttributeQuery =
|
|
443
|
+
let IdentityAttributeQuery = class IdentityAttributeQuery extends AbstractAttributeQuery_1.AbstractAttributeQuery {
|
|
446
444
|
static from(value) {
|
|
447
445
|
return this.fromAny(value);
|
|
448
446
|
}
|
|
@@ -459,6 +457,7 @@ let IdentityAttributeQuery = IdentityAttributeQuery_1 = class IdentityAttributeQ
|
|
|
459
457
|
return undefined;
|
|
460
458
|
}
|
|
461
459
|
};
|
|
460
|
+
exports.IdentityAttributeQuery = IdentityAttributeQuery;
|
|
462
461
|
__decorate([
|
|
463
462
|
(0, ts_serval_1.serialize)(),
|
|
464
463
|
(0, ts_serval_1.validate)({
|
|
@@ -470,7 +469,7 @@ __decorate([
|
|
|
470
469
|
], IdentityAttributeQuery.prototype, "valueType", void 0);
|
|
471
470
|
__decorate([
|
|
472
471
|
(0, ts_serval_1.serialize)({ type: String }),
|
|
473
|
-
(0, ts_serval_1.validate)({ nullable: true, customValidator:
|
|
472
|
+
(0, ts_serval_1.validate)({ nullable: true, customValidator: IdentityAttributeQuery.validateTags }),
|
|
474
473
|
__metadata("design:type", Array)
|
|
475
474
|
], IdentityAttributeQuery.prototype, "tags", void 0);
|
|
476
475
|
__decorate([
|
|
@@ -483,10 +482,9 @@ __decorate([
|
|
|
483
482
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
484
483
|
__metadata("design:type", transport_1.CoreDate)
|
|
485
484
|
], IdentityAttributeQuery.prototype, "validTo", void 0);
|
|
486
|
-
IdentityAttributeQuery =
|
|
485
|
+
exports.IdentityAttributeQuery = IdentityAttributeQuery = __decorate([
|
|
487
486
|
(0, ts_serval_1.type)("IdentityAttributeQuery")
|
|
488
487
|
], IdentityAttributeQuery);
|
|
489
|
-
exports.IdentityAttributeQuery = IdentityAttributeQuery;
|
|
490
488
|
//# sourceMappingURL=IdentityAttributeQuery.js.map
|
|
491
489
|
|
|
492
490
|
/***/ }),
|
|
@@ -526,6 +524,7 @@ let RelationshipAttribute = class RelationshipAttribute extends AbstractAttribut
|
|
|
526
524
|
return super.toJSON(verbose, serializeAsString);
|
|
527
525
|
}
|
|
528
526
|
};
|
|
527
|
+
exports.RelationshipAttribute = RelationshipAttribute;
|
|
529
528
|
__decorate([
|
|
530
529
|
(0, ts_serval_1.serialize)({ unionTypes: AttributeValueTypes_1.AttributeValues.Relationship.CLASSES }),
|
|
531
530
|
(0, ts_serval_1.validate)(),
|
|
@@ -550,10 +549,9 @@ __decorate([
|
|
|
550
549
|
}),
|
|
551
550
|
__metadata("design:type", String)
|
|
552
551
|
], RelationshipAttribute.prototype, "confidentiality", void 0);
|
|
553
|
-
RelationshipAttribute = __decorate([
|
|
552
|
+
exports.RelationshipAttribute = RelationshipAttribute = __decorate([
|
|
554
553
|
(0, ts_serval_1.type)("RelationshipAttribute")
|
|
555
554
|
], RelationshipAttribute);
|
|
556
|
-
exports.RelationshipAttribute = RelationshipAttribute;
|
|
557
555
|
//# sourceMappingURL=RelationshipAttribute.js.map
|
|
558
556
|
|
|
559
557
|
/***/ }),
|
|
@@ -597,7 +595,7 @@ var RelationshipAttributeConfidentiality;
|
|
|
597
595
|
* other party once you had an accident.
|
|
598
596
|
*/
|
|
599
597
|
RelationshipAttributeConfidentiality["Protected"] = "protected";
|
|
600
|
-
})(RelationshipAttributeConfidentiality
|
|
598
|
+
})(RelationshipAttributeConfidentiality || (exports.RelationshipAttributeConfidentiality = RelationshipAttributeConfidentiality = {}));
|
|
601
599
|
//# sourceMappingURL=RelationshipAttributeConfidentiality.js.map
|
|
602
600
|
|
|
603
601
|
/***/ }),
|
|
@@ -642,6 +640,7 @@ let RelationshipAttributeCreationHints = class RelationshipAttributeCreationHint
|
|
|
642
640
|
return this.fromAny(value);
|
|
643
641
|
}
|
|
644
642
|
};
|
|
643
|
+
exports.RelationshipAttributeCreationHints = RelationshipAttributeCreationHints;
|
|
645
644
|
__decorate([
|
|
646
645
|
(0, ts_serval_1.serialize)(),
|
|
647
646
|
(0, ts_serval_1.validate)({ max: 100 }),
|
|
@@ -675,10 +674,9 @@ __decorate([
|
|
|
675
674
|
}),
|
|
676
675
|
__metadata("design:type", String)
|
|
677
676
|
], RelationshipAttributeCreationHints.prototype, "confidentiality", void 0);
|
|
678
|
-
RelationshipAttributeCreationHints = __decorate([
|
|
677
|
+
exports.RelationshipAttributeCreationHints = RelationshipAttributeCreationHints = __decorate([
|
|
679
678
|
(0, ts_serval_1.type)("RelationshipAttributeCreationHints")
|
|
680
679
|
], RelationshipAttributeCreationHints);
|
|
681
|
-
exports.RelationshipAttributeCreationHints = RelationshipAttributeCreationHints;
|
|
682
680
|
let RelationshipAttributeQuery = class RelationshipAttributeQuery extends AbstractAttributeQuery_1.AbstractAttributeQuery {
|
|
683
681
|
static from(value) {
|
|
684
682
|
return this.fromAny(value);
|
|
@@ -687,6 +685,7 @@ let RelationshipAttributeQuery = class RelationshipAttributeQuery extends Abstra
|
|
|
687
685
|
return super.toJSON(verbose, serializeAsString);
|
|
688
686
|
}
|
|
689
687
|
};
|
|
688
|
+
exports.RelationshipAttributeQuery = RelationshipAttributeQuery;
|
|
690
689
|
__decorate([
|
|
691
690
|
(0, ts_serval_1.serialize)(),
|
|
692
691
|
(0, ts_serval_1.validate)({ max: 100 }),
|
|
@@ -712,10 +711,9 @@ __decorate([
|
|
|
712
711
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
713
712
|
__metadata("design:type", transport_1.CoreDate)
|
|
714
713
|
], RelationshipAttributeQuery.prototype, "validTo", void 0);
|
|
715
|
-
RelationshipAttributeQuery = __decorate([
|
|
714
|
+
exports.RelationshipAttributeQuery = RelationshipAttributeQuery = __decorate([
|
|
716
715
|
(0, ts_serval_1.type)("RelationshipAttributeQuery")
|
|
717
716
|
], RelationshipAttributeQuery);
|
|
718
|
-
exports.RelationshipAttributeQuery = RelationshipAttributeQuery;
|
|
719
717
|
//# sourceMappingURL=RelationshipAttributeQuery.js.map
|
|
720
718
|
|
|
721
719
|
/***/ }),
|
|
@@ -755,6 +753,7 @@ let ThirdPartyRelationshipAttributeQuery = class ThirdPartyRelationshipAttribute
|
|
|
755
753
|
return super.toJSON(verbose, serializeAsString);
|
|
756
754
|
}
|
|
757
755
|
};
|
|
756
|
+
exports.ThirdPartyRelationshipAttributeQuery = ThirdPartyRelationshipAttributeQuery;
|
|
758
757
|
__decorate([
|
|
759
758
|
(0, ts_serval_1.serialize)(),
|
|
760
759
|
(0, ts_serval_1.validate)({ max: 100 }),
|
|
@@ -780,10 +779,9 @@ __decorate([
|
|
|
780
779
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
781
780
|
__metadata("design:type", transport_1.CoreDate)
|
|
782
781
|
], ThirdPartyRelationshipAttributeQuery.prototype, "validTo", void 0);
|
|
783
|
-
ThirdPartyRelationshipAttributeQuery = __decorate([
|
|
782
|
+
exports.ThirdPartyRelationshipAttributeQuery = ThirdPartyRelationshipAttributeQuery = __decorate([
|
|
784
783
|
(0, ts_serval_1.type)("ThirdPartyRelationshipAttributeQuery")
|
|
785
784
|
], ThirdPartyRelationshipAttributeQuery);
|
|
786
|
-
exports.ThirdPartyRelationshipAttributeQuery = ThirdPartyRelationshipAttributeQuery;
|
|
787
785
|
//# sourceMappingURL=ThirdPartyRelationshipAttributeQuery.js.map
|
|
788
786
|
|
|
789
787
|
/***/ }),
|
|
@@ -1064,7 +1062,7 @@ var CountryAlpha2;
|
|
|
1064
1062
|
CountryAlpha2["ZA"] = "ZA";
|
|
1065
1063
|
CountryAlpha2["ZM"] = "ZM";
|
|
1066
1064
|
CountryAlpha2["ZW"] = "ZW";
|
|
1067
|
-
})(CountryAlpha2
|
|
1065
|
+
})(CountryAlpha2 || (exports.CountryAlpha2 = CountryAlpha2 = {}));
|
|
1068
1066
|
exports.COUNTRIES_ALPHA2_TO_ENGLISH_NAME = new Map([
|
|
1069
1067
|
[CountryAlpha2.AD, "Andorra"],
|
|
1070
1068
|
[CountryAlpha2.AE, "United Arab Emirates (the)"],
|
|
@@ -1516,7 +1514,7 @@ var LanguageISO639;
|
|
|
1516
1514
|
LanguageISO639["za"] = "za";
|
|
1517
1515
|
LanguageISO639["zh"] = "zh";
|
|
1518
1516
|
LanguageISO639["zu"] = "zu";
|
|
1519
|
-
})(LanguageISO639
|
|
1517
|
+
})(LanguageISO639 || (exports.LanguageISO639 = LanguageISO639 = {}));
|
|
1520
1518
|
exports.LANGUAGES_ISO639_TO_DISPLAY_NAME = new Map([
|
|
1521
1519
|
[LanguageISO639.aa, { code: LanguageISO639.aa, name: "Afar", nativeName: "Afaraf" }],
|
|
1522
1520
|
[LanguageISO639.ab, { code: LanguageISO639.ab, name: "Abkhaz", nativeName: "аҧсуа бызшәа" }],
|
|
@@ -1797,6 +1795,7 @@ let RenderHints = RenderHints_1 = class RenderHints extends ts_serval_1.Serializ
|
|
|
1797
1795
|
return RenderHints_1.from({ ...this.toJSON(), ...overrideJson, propertyHints });
|
|
1798
1796
|
}
|
|
1799
1797
|
};
|
|
1798
|
+
exports.RenderHints = RenderHints;
|
|
1800
1799
|
__decorate([
|
|
1801
1800
|
(0, ts_serval_1.serialize)(),
|
|
1802
1801
|
(0, ts_serval_1.validate)(),
|
|
@@ -1817,10 +1816,9 @@ __decorate([
|
|
|
1817
1816
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
1818
1817
|
__metadata("design:type", Object)
|
|
1819
1818
|
], RenderHints.prototype, "propertyHints", void 0);
|
|
1820
|
-
RenderHints = RenderHints_1 = __decorate([
|
|
1819
|
+
exports.RenderHints = RenderHints = RenderHints_1 = __decorate([
|
|
1821
1820
|
(0, ts_serval_1.type)("RenderHints")
|
|
1822
1821
|
], RenderHints);
|
|
1823
|
-
exports.RenderHints = RenderHints;
|
|
1824
1822
|
let RenderHintsOverride = class RenderHintsOverride extends ts_serval_1.Serializable {
|
|
1825
1823
|
static from(value) {
|
|
1826
1824
|
return this.fromAny(value);
|
|
@@ -1835,6 +1833,7 @@ let RenderHintsOverride = class RenderHintsOverride extends ts_serval_1.Serializ
|
|
|
1835
1833
|
return json;
|
|
1836
1834
|
}
|
|
1837
1835
|
};
|
|
1836
|
+
exports.RenderHintsOverride = RenderHintsOverride;
|
|
1838
1837
|
__decorate([
|
|
1839
1838
|
(0, ts_serval_1.serialize)(),
|
|
1840
1839
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
@@ -1855,10 +1854,9 @@ __decorate([
|
|
|
1855
1854
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
1856
1855
|
__metadata("design:type", Object)
|
|
1857
1856
|
], RenderHintsOverride.prototype, "propertyHints", void 0);
|
|
1858
|
-
RenderHintsOverride = __decorate([
|
|
1857
|
+
exports.RenderHintsOverride = RenderHintsOverride = __decorate([
|
|
1859
1858
|
(0, ts_serval_1.type)("RenderHintsOverride")
|
|
1860
1859
|
], RenderHintsOverride);
|
|
1861
|
-
exports.RenderHintsOverride = RenderHintsOverride;
|
|
1862
1860
|
//# sourceMappingURL=RenderHints.js.map
|
|
1863
1861
|
|
|
1864
1862
|
/***/ }),
|
|
@@ -1892,7 +1890,7 @@ var RenderHintsDataType;
|
|
|
1892
1890
|
RenderHintsDataType["Month"] = "Month";
|
|
1893
1891
|
RenderHintsDataType["Year"] = "Year";
|
|
1894
1892
|
RenderHintsDataType["XML"] = "XML";
|
|
1895
|
-
})(RenderHintsDataType
|
|
1893
|
+
})(RenderHintsDataType || (exports.RenderHintsDataType = RenderHintsDataType = {}));
|
|
1896
1894
|
//# sourceMappingURL=RenderHintsDataType.js.map
|
|
1897
1895
|
|
|
1898
1896
|
/***/ }),
|
|
@@ -1917,7 +1915,7 @@ var RenderHintsEditType;
|
|
|
1917
1915
|
RenderHintsEditType["Secret"] = "Secret";
|
|
1918
1916
|
RenderHintsEditType["TextArea"] = "TextArea";
|
|
1919
1917
|
RenderHintsEditType["Upload"] = "Upload";
|
|
1920
|
-
})(RenderHintsEditType
|
|
1918
|
+
})(RenderHintsEditType || (exports.RenderHintsEditType = RenderHintsEditType = {}));
|
|
1921
1919
|
//# sourceMappingURL=RenderHintsEditType.js.map
|
|
1922
1920
|
|
|
1923
1921
|
/***/ }),
|
|
@@ -1939,7 +1937,7 @@ var RenderHintsTechnicalType;
|
|
|
1939
1937
|
RenderHintsTechnicalType["Object"] = "Object";
|
|
1940
1938
|
RenderHintsTechnicalType["String"] = "String";
|
|
1941
1939
|
RenderHintsTechnicalType["Unknown"] = "Unknown";
|
|
1942
|
-
})(RenderHintsTechnicalType
|
|
1940
|
+
})(RenderHintsTechnicalType || (exports.RenderHintsTechnicalType = RenderHintsTechnicalType = {}));
|
|
1943
1941
|
//# sourceMappingURL=RenderHintsTechnicalType.js.map
|
|
1944
1942
|
|
|
1945
1943
|
/***/ }),
|
|
@@ -2006,6 +2004,7 @@ let ValueHints = ValueHints_1 = class ValueHints extends ts_serval_1.Serializabl
|
|
|
2006
2004
|
return ValueHints_1.from({ ...this.toJSON(), ...overrideJson, propertyHints });
|
|
2007
2005
|
}
|
|
2008
2006
|
};
|
|
2007
|
+
exports.ValueHints = ValueHints;
|
|
2009
2008
|
__decorate([
|
|
2010
2009
|
(0, ts_serval_1.serialize)(),
|
|
2011
2010
|
(0, ts_serval_1.validate)({ nullable: true, max: 500 }),
|
|
@@ -2041,10 +2040,9 @@ __decorate([
|
|
|
2041
2040
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
2042
2041
|
__metadata("design:type", Object)
|
|
2043
2042
|
], ValueHints.prototype, "propertyHints", void 0);
|
|
2044
|
-
ValueHints = ValueHints_1 = __decorate([
|
|
2043
|
+
exports.ValueHints = ValueHints = ValueHints_1 = __decorate([
|
|
2045
2044
|
(0, ts_serval_1.type)("ValueHints")
|
|
2046
2045
|
], ValueHints);
|
|
2047
|
-
exports.ValueHints = ValueHints;
|
|
2048
2046
|
let ValueHintsOverride = class ValueHintsOverride extends ts_serval_1.Serializable {
|
|
2049
2047
|
static from(value) {
|
|
2050
2048
|
return this.fromAny(value);
|
|
@@ -2059,6 +2057,7 @@ let ValueHintsOverride = class ValueHintsOverride extends ts_serval_1.Serializab
|
|
|
2059
2057
|
return json;
|
|
2060
2058
|
}
|
|
2061
2059
|
};
|
|
2060
|
+
exports.ValueHintsOverride = ValueHintsOverride;
|
|
2062
2061
|
__decorate([
|
|
2063
2062
|
(0, ts_serval_1.serialize)(),
|
|
2064
2063
|
(0, ts_serval_1.validate)({ nullable: true, max: 500 }),
|
|
@@ -2094,10 +2093,9 @@ __decorate([
|
|
|
2094
2093
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
2095
2094
|
__metadata("design:type", Object)
|
|
2096
2095
|
], ValueHintsOverride.prototype, "propertyHints", void 0);
|
|
2097
|
-
ValueHintsOverride = __decorate([
|
|
2096
|
+
exports.ValueHintsOverride = ValueHintsOverride = __decorate([
|
|
2098
2097
|
(0, ts_serval_1.type)("ValueHintsOverride")
|
|
2099
2098
|
], ValueHintsOverride);
|
|
2100
|
-
exports.ValueHintsOverride = ValueHintsOverride;
|
|
2101
2099
|
//# sourceMappingURL=ValueHints.js.map
|
|
2102
2100
|
|
|
2103
2101
|
/***/ }),
|
|
@@ -2118,11 +2116,10 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
2118
2116
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
2119
2117
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
2120
2118
|
};
|
|
2121
|
-
var ValueHintsValue_1;
|
|
2122
2119
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
2123
2120
|
exports.ValueHintsValue = void 0;
|
|
2124
2121
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
2125
|
-
let ValueHintsValue =
|
|
2122
|
+
let ValueHintsValue = class ValueHintsValue extends ts_serval_1.Serializable {
|
|
2126
2123
|
static from(value) {
|
|
2127
2124
|
return this.fromAny(value);
|
|
2128
2125
|
}
|
|
@@ -2133,6 +2130,7 @@ let ValueHintsValue = ValueHintsValue_1 = class ValueHintsValue extends ts_serva
|
|
|
2133
2130
|
return undefined;
|
|
2134
2131
|
}
|
|
2135
2132
|
};
|
|
2133
|
+
exports.ValueHintsValue = ValueHintsValue;
|
|
2136
2134
|
__decorate([
|
|
2137
2135
|
(0, ts_serval_1.serialize)(),
|
|
2138
2136
|
(0, ts_serval_1.validate)({ max: 100 }),
|
|
@@ -2141,15 +2139,14 @@ __decorate([
|
|
|
2141
2139
|
__decorate([
|
|
2142
2140
|
(0, ts_serval_1.validate)({
|
|
2143
2141
|
allowedTypes: [ts_serval_1.PrimitiveType.String, ts_serval_1.PrimitiveType.Number, ts_serval_1.PrimitiveType.Boolean],
|
|
2144
|
-
customValidator:
|
|
2142
|
+
customValidator: ValueHintsValue.validateKey
|
|
2145
2143
|
}),
|
|
2146
2144
|
(0, ts_serval_1.serialize)(),
|
|
2147
2145
|
__metadata("design:type", Object)
|
|
2148
2146
|
], ValueHintsValue.prototype, "key", void 0);
|
|
2149
|
-
ValueHintsValue =
|
|
2147
|
+
exports.ValueHintsValue = ValueHintsValue = __decorate([
|
|
2150
2148
|
(0, ts_serval_1.type)("ValueHintsValue")
|
|
2151
2149
|
], ValueHintsValue);
|
|
2152
|
-
exports.ValueHintsValue = ValueHintsValue;
|
|
2153
2150
|
//# sourceMappingURL=ValueHintsValue.js.map
|
|
2154
2151
|
|
|
2155
2152
|
/***/ }),
|
|
@@ -2267,12 +2264,12 @@ class AbstractBoolean extends AbstractAttributeValue_1.AbstractAttributeValue {
|
|
|
2267
2264
|
});
|
|
2268
2265
|
}
|
|
2269
2266
|
}
|
|
2267
|
+
exports.AbstractBoolean = AbstractBoolean;
|
|
2270
2268
|
__decorate([
|
|
2271
2269
|
(0, ts_serval_1.serialize)(),
|
|
2272
2270
|
(0, ts_serval_1.validate)(),
|
|
2273
2271
|
__metadata("design:type", Boolean)
|
|
2274
2272
|
], AbstractBoolean.prototype, "value", void 0);
|
|
2275
|
-
exports.AbstractBoolean = AbstractBoolean;
|
|
2276
2273
|
//# sourceMappingURL=AbstractBoolean.js.map
|
|
2277
2274
|
|
|
2278
2275
|
/***/ }),
|
|
@@ -2317,12 +2314,12 @@ class AbstractFloat extends AbstractAttributeValue_1.AbstractAttributeValue {
|
|
|
2317
2314
|
});
|
|
2318
2315
|
}
|
|
2319
2316
|
}
|
|
2317
|
+
exports.AbstractFloat = AbstractFloat;
|
|
2320
2318
|
__decorate([
|
|
2321
2319
|
(0, ts_serval_1.serialize)(),
|
|
2322
2320
|
(0, ts_serval_1.validate)(),
|
|
2323
2321
|
__metadata("design:type", Number)
|
|
2324
2322
|
], AbstractFloat.prototype, "value", void 0);
|
|
2325
|
-
exports.AbstractFloat = AbstractFloat;
|
|
2326
2323
|
//# sourceMappingURL=AbstractFloat.js.map
|
|
2327
2324
|
|
|
2328
2325
|
/***/ }),
|
|
@@ -2367,12 +2364,12 @@ class AbstractInteger extends AbstractAttributeValue_1.AbstractAttributeValue {
|
|
|
2367
2364
|
});
|
|
2368
2365
|
}
|
|
2369
2366
|
}
|
|
2367
|
+
exports.AbstractInteger = AbstractInteger;
|
|
2370
2368
|
__decorate([
|
|
2371
2369
|
(0, ts_serval_1.serialize)(),
|
|
2372
2370
|
(0, ts_serval_1.validate)({ customValidator: (v) => (!Number.isInteger(v) ? "must be an integer" : undefined) }),
|
|
2373
2371
|
__metadata("design:type", Number)
|
|
2374
2372
|
], AbstractInteger.prototype, "value", void 0);
|
|
2375
|
-
exports.AbstractInteger = AbstractInteger;
|
|
2376
2373
|
//# sourceMappingURL=AbstractInteger.js.map
|
|
2377
2374
|
|
|
2378
2375
|
/***/ }),
|
|
@@ -2419,12 +2416,12 @@ class AbstractString extends AbstractAttributeValue_1.AbstractAttributeValue {
|
|
|
2419
2416
|
});
|
|
2420
2417
|
}
|
|
2421
2418
|
}
|
|
2419
|
+
exports.AbstractString = AbstractString;
|
|
2422
2420
|
__decorate([
|
|
2423
2421
|
(0, ts_serval_1.serialize)(),
|
|
2424
2422
|
(0, ts_serval_1.validate)({ max: 100 }),
|
|
2425
2423
|
__metadata("design:type", String)
|
|
2426
2424
|
], AbstractString.prototype, "value", void 0);
|
|
2427
|
-
exports.AbstractString = AbstractString;
|
|
2428
2425
|
//# sourceMappingURL=AbstractString.js.map
|
|
2429
2426
|
|
|
2430
2427
|
/***/ }),
|
|
@@ -2473,13 +2470,13 @@ class AbstractAddress extends AbstractComplexValue_1.AbstractComplexValue {
|
|
|
2473
2470
|
});
|
|
2474
2471
|
}
|
|
2475
2472
|
}
|
|
2473
|
+
exports.AbstractAddress = AbstractAddress;
|
|
2476
2474
|
AbstractAddress.propertyNames = (0, easy_tsnameof_1.default)();
|
|
2477
2475
|
__decorate([
|
|
2478
2476
|
(0, ts_serval_1.serialize)(),
|
|
2479
2477
|
(0, ts_serval_1.validate)({ max: 100 }),
|
|
2480
2478
|
__metadata("design:type", String)
|
|
2481
2479
|
], AbstractAddress.prototype, "recipient", void 0);
|
|
2482
|
-
exports.AbstractAddress = AbstractAddress;
|
|
2483
2480
|
//# sourceMappingURL=AbstractAddress.js.map
|
|
2484
2481
|
|
|
2485
2482
|
/***/ }),
|
|
@@ -2506,10 +2503,10 @@ let City = class City extends AbstractString_1.AbstractString {
|
|
|
2506
2503
|
return this.fromAny(value);
|
|
2507
2504
|
}
|
|
2508
2505
|
};
|
|
2509
|
-
City =
|
|
2506
|
+
exports.City = City;
|
|
2507
|
+
exports.City = City = __decorate([
|
|
2510
2508
|
(0, ts_serval_1.type)("City")
|
|
2511
2509
|
], City);
|
|
2512
|
-
exports.City = City;
|
|
2513
2510
|
//# sourceMappingURL=City.js.map
|
|
2514
2511
|
|
|
2515
2512
|
/***/ }),
|
|
@@ -2536,10 +2533,10 @@ let Country = class Country extends strings_1.AbstractCountry {
|
|
|
2536
2533
|
return this.fromAny(value);
|
|
2537
2534
|
}
|
|
2538
2535
|
};
|
|
2539
|
-
Country =
|
|
2536
|
+
exports.Country = Country;
|
|
2537
|
+
exports.Country = Country = __decorate([
|
|
2540
2538
|
(0, ts_serval_1.type)("Country")
|
|
2541
2539
|
], Country);
|
|
2542
|
-
exports.Country = Country;
|
|
2543
2540
|
//# sourceMappingURL=Country.js.map
|
|
2544
2541
|
|
|
2545
2542
|
/***/ }),
|
|
@@ -2632,6 +2629,7 @@ let DeliveryBoxAddress = class DeliveryBoxAddress extends AbstractAddress_1.Abst
|
|
|
2632
2629
|
return super.toJSON(verbose, serializeAsString);
|
|
2633
2630
|
}
|
|
2634
2631
|
};
|
|
2632
|
+
exports.DeliveryBoxAddress = DeliveryBoxAddress;
|
|
2635
2633
|
DeliveryBoxAddress.propertyNames = (0, easy_tsnameof_1.default)();
|
|
2636
2634
|
__decorate([
|
|
2637
2635
|
(0, ts_serval_1.serialize)(),
|
|
@@ -2668,10 +2666,9 @@ __decorate([
|
|
|
2668
2666
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
2669
2667
|
__metadata("design:type", State_1.State)
|
|
2670
2668
|
], DeliveryBoxAddress.prototype, "state", void 0);
|
|
2671
|
-
DeliveryBoxAddress = __decorate([
|
|
2669
|
+
exports.DeliveryBoxAddress = DeliveryBoxAddress = __decorate([
|
|
2672
2670
|
(0, ts_serval_1.type)("DeliveryBoxAddress")
|
|
2673
2671
|
], DeliveryBoxAddress);
|
|
2674
|
-
exports.DeliveryBoxAddress = DeliveryBoxAddress;
|
|
2675
2672
|
//# sourceMappingURL=DeliveryBoxAddress.js.map
|
|
2676
2673
|
|
|
2677
2674
|
/***/ }),
|
|
@@ -2701,10 +2698,10 @@ let HouseNumber = class HouseNumber extends AbstractString_1.AbstractString {
|
|
|
2701
2698
|
return super.toJSON(verbose, serializeAsString);
|
|
2702
2699
|
}
|
|
2703
2700
|
};
|
|
2704
|
-
HouseNumber =
|
|
2701
|
+
exports.HouseNumber = HouseNumber;
|
|
2702
|
+
exports.HouseNumber = HouseNumber = __decorate([
|
|
2705
2703
|
(0, ts_serval_1.type)("HouseNumber")
|
|
2706
2704
|
], HouseNumber);
|
|
2707
|
-
exports.HouseNumber = HouseNumber;
|
|
2708
2705
|
//# sourceMappingURL=HouseNumber.js.map
|
|
2709
2706
|
|
|
2710
2707
|
/***/ }),
|
|
@@ -2785,6 +2782,7 @@ let PostOfficeBoxAddress = class PostOfficeBoxAddress extends AbstractAddress_1.
|
|
|
2785
2782
|
return super.toJSON(verbose, serializeAsString);
|
|
2786
2783
|
}
|
|
2787
2784
|
};
|
|
2785
|
+
exports.PostOfficeBoxAddress = PostOfficeBoxAddress;
|
|
2788
2786
|
PostOfficeBoxAddress.propertyNames = (0, easy_tsnameof_1.default)();
|
|
2789
2787
|
__decorate([
|
|
2790
2788
|
(0, ts_serval_1.serialize)(),
|
|
@@ -2811,10 +2809,9 @@ __decorate([
|
|
|
2811
2809
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
2812
2810
|
__metadata("design:type", State_1.State)
|
|
2813
2811
|
], PostOfficeBoxAddress.prototype, "state", void 0);
|
|
2814
|
-
PostOfficeBoxAddress = __decorate([
|
|
2812
|
+
exports.PostOfficeBoxAddress = PostOfficeBoxAddress = __decorate([
|
|
2815
2813
|
(0, ts_serval_1.type)("PostOfficeBoxAddress")
|
|
2816
2814
|
], PostOfficeBoxAddress);
|
|
2817
|
-
exports.PostOfficeBoxAddress = PostOfficeBoxAddress;
|
|
2818
2815
|
//# sourceMappingURL=PostOfficeBoxAddress.js.map
|
|
2819
2816
|
|
|
2820
2817
|
/***/ }),
|
|
@@ -2841,10 +2838,10 @@ let State = class State extends AbstractString_1.AbstractString {
|
|
|
2841
2838
|
return this.fromAny(value);
|
|
2842
2839
|
}
|
|
2843
2840
|
};
|
|
2844
|
-
State =
|
|
2841
|
+
exports.State = State;
|
|
2842
|
+
exports.State = State = __decorate([
|
|
2845
2843
|
(0, ts_serval_1.type)("State")
|
|
2846
2844
|
], State);
|
|
2847
|
-
exports.State = State;
|
|
2848
2845
|
//# sourceMappingURL=State.js.map
|
|
2849
2846
|
|
|
2850
2847
|
/***/ }),
|
|
@@ -2874,10 +2871,10 @@ let Street = class Street extends AbstractString_1.AbstractString {
|
|
|
2874
2871
|
return super.toJSON(verbose, serializeAsString);
|
|
2875
2872
|
}
|
|
2876
2873
|
};
|
|
2877
|
-
Street =
|
|
2874
|
+
exports.Street = Street;
|
|
2875
|
+
exports.Street = Street = __decorate([
|
|
2878
2876
|
(0, ts_serval_1.type)("Street")
|
|
2879
2877
|
], Street);
|
|
2880
|
-
exports.Street = Street;
|
|
2881
2878
|
//# sourceMappingURL=Street.js.map
|
|
2882
2879
|
|
|
2883
2880
|
/***/ }),
|
|
@@ -2955,6 +2952,7 @@ let StreetAddress = class StreetAddress extends AbstractAddress_1.AbstractAddres
|
|
|
2955
2952
|
return super.toJSON(verbose, serializeAsString);
|
|
2956
2953
|
}
|
|
2957
2954
|
};
|
|
2955
|
+
exports.StreetAddress = StreetAddress;
|
|
2958
2956
|
StreetAddress.propertyNames = (0, easy_tsnameof_1.nameOf)();
|
|
2959
2957
|
__decorate([
|
|
2960
2958
|
(0, ts_serval_1.serialize)({ customGenerator: AbstractAttributeValue_1.AbstractAttributeValue.valueGenerator }),
|
|
@@ -2986,10 +2984,9 @@ __decorate([
|
|
|
2986
2984
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
2987
2985
|
__metadata("design:type", State_1.State)
|
|
2988
2986
|
], StreetAddress.prototype, "state", void 0);
|
|
2989
|
-
StreetAddress = __decorate([
|
|
2987
|
+
exports.StreetAddress = StreetAddress = __decorate([
|
|
2990
2988
|
(0, ts_serval_1.type)("StreetAddress")
|
|
2991
2989
|
], StreetAddress);
|
|
2992
|
-
exports.StreetAddress = StreetAddress;
|
|
2993
2990
|
//# sourceMappingURL=StreetAddress.js.map
|
|
2994
2991
|
|
|
2995
2992
|
/***/ }),
|
|
@@ -3019,10 +3016,10 @@ let ZipCode = class ZipCode extends AbstractString_1.AbstractString {
|
|
|
3019
3016
|
return super.toJSON(verbose, serializeAsString);
|
|
3020
3017
|
}
|
|
3021
3018
|
};
|
|
3022
|
-
ZipCode =
|
|
3019
|
+
exports.ZipCode = ZipCode;
|
|
3020
|
+
exports.ZipCode = ZipCode = __decorate([
|
|
3023
3021
|
(0, ts_serval_1.type)("ZipCode")
|
|
3024
3022
|
], ZipCode);
|
|
3025
|
-
exports.ZipCode = ZipCode;
|
|
3026
3023
|
//# sourceMappingURL=ZipCode.js.map
|
|
3027
3024
|
|
|
3028
3025
|
/***/ }),
|
|
@@ -3128,6 +3125,7 @@ let Affiliation = class Affiliation extends AbstractComplexValue_1.AbstractCompl
|
|
|
3128
3125
|
return super.toJSON(verbose, serializeAsString);
|
|
3129
3126
|
}
|
|
3130
3127
|
};
|
|
3128
|
+
exports.Affiliation = Affiliation;
|
|
3131
3129
|
Affiliation.propertyNames = (0, easy_tsnameof_1.default)();
|
|
3132
3130
|
__decorate([
|
|
3133
3131
|
(0, ts_serval_1.serialize)({ customGenerator: AbstractAttributeValue_1.AbstractAttributeValue.valueGenerator }),
|
|
@@ -3144,10 +3142,9 @@ __decorate([
|
|
|
3144
3142
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
3145
3143
|
__metadata("design:type", AffiliationUnit_1.AffiliationUnit)
|
|
3146
3144
|
], Affiliation.prototype, "unit", void 0);
|
|
3147
|
-
Affiliation = __decorate([
|
|
3145
|
+
exports.Affiliation = Affiliation = __decorate([
|
|
3148
3146
|
(0, ts_serval_1.type)("Affiliation")
|
|
3149
3147
|
], Affiliation);
|
|
3150
|
-
exports.Affiliation = Affiliation;
|
|
3151
3148
|
//# sourceMappingURL=Affiliation.js.map
|
|
3152
3149
|
|
|
3153
3150
|
/***/ }),
|
|
@@ -3177,10 +3174,10 @@ let AffiliationOrganization = class AffiliationOrganization extends AbstractStri
|
|
|
3177
3174
|
return super.toJSON(verbose, serializeAsString);
|
|
3178
3175
|
}
|
|
3179
3176
|
};
|
|
3180
|
-
AffiliationOrganization =
|
|
3177
|
+
exports.AffiliationOrganization = AffiliationOrganization;
|
|
3178
|
+
exports.AffiliationOrganization = AffiliationOrganization = __decorate([
|
|
3181
3179
|
(0, ts_serval_1.type)("AffiliationOrganization")
|
|
3182
3180
|
], AffiliationOrganization);
|
|
3183
|
-
exports.AffiliationOrganization = AffiliationOrganization;
|
|
3184
3181
|
//# sourceMappingURL=AffiliationOrganization.js.map
|
|
3185
3182
|
|
|
3186
3183
|
/***/ }),
|
|
@@ -3210,10 +3207,10 @@ let AffiliationRole = class AffiliationRole extends AbstractString_1.AbstractStr
|
|
|
3210
3207
|
return super.toJSON(verbose, serializeAsString);
|
|
3211
3208
|
}
|
|
3212
3209
|
};
|
|
3213
|
-
AffiliationRole =
|
|
3210
|
+
exports.AffiliationRole = AffiliationRole;
|
|
3211
|
+
exports.AffiliationRole = AffiliationRole = __decorate([
|
|
3214
3212
|
(0, ts_serval_1.type)("AffiliationRole")
|
|
3215
3213
|
], AffiliationRole);
|
|
3216
|
-
exports.AffiliationRole = AffiliationRole;
|
|
3217
3214
|
//# sourceMappingURL=AffiliationRole.js.map
|
|
3218
3215
|
|
|
3219
3216
|
/***/ }),
|
|
@@ -3243,10 +3240,10 @@ let AffiliationUnit = class AffiliationUnit extends AbstractString_1.AbstractStr
|
|
|
3243
3240
|
return super.toJSON(verbose, serializeAsString);
|
|
3244
3241
|
}
|
|
3245
3242
|
};
|
|
3246
|
-
AffiliationUnit =
|
|
3243
|
+
exports.AffiliationUnit = AffiliationUnit;
|
|
3244
|
+
exports.AffiliationUnit = AffiliationUnit = __decorate([
|
|
3247
3245
|
(0, ts_serval_1.type)("AffiliationUnit")
|
|
3248
3246
|
], AffiliationUnit);
|
|
3249
|
-
exports.AffiliationUnit = AffiliationUnit;
|
|
3250
3247
|
//# sourceMappingURL=AffiliationUnit.js.map
|
|
3251
3248
|
|
|
3252
3249
|
/***/ }),
|
|
@@ -3306,10 +3303,10 @@ let BirthCity = class BirthCity extends address_1.City {
|
|
|
3306
3303
|
return super.toJSON(verbose, serializeAsString);
|
|
3307
3304
|
}
|
|
3308
3305
|
};
|
|
3309
|
-
BirthCity =
|
|
3306
|
+
exports.BirthCity = BirthCity;
|
|
3307
|
+
exports.BirthCity = BirthCity = __decorate([
|
|
3310
3308
|
(0, ts_serval_1.type)("BirthCity")
|
|
3311
3309
|
], BirthCity);
|
|
3312
|
-
exports.BirthCity = BirthCity;
|
|
3313
3310
|
//# sourceMappingURL=BirthCity.js.map
|
|
3314
3311
|
|
|
3315
3312
|
/***/ }),
|
|
@@ -3339,10 +3336,10 @@ let BirthCountry = class BirthCountry extends address_1.Country {
|
|
|
3339
3336
|
return super.toJSON(verbose, serializeAsString);
|
|
3340
3337
|
}
|
|
3341
3338
|
};
|
|
3342
|
-
BirthCountry =
|
|
3339
|
+
exports.BirthCountry = BirthCountry;
|
|
3340
|
+
exports.BirthCountry = BirthCountry = __decorate([
|
|
3343
3341
|
(0, ts_serval_1.type)("BirthCountry")
|
|
3344
3342
|
], BirthCountry);
|
|
3345
|
-
exports.BirthCountry = BirthCountry;
|
|
3346
3343
|
//# sourceMappingURL=BirthCountry.js.map
|
|
3347
3344
|
|
|
3348
3345
|
/***/ }),
|
|
@@ -3410,6 +3407,7 @@ let BirthDate = class BirthDate extends AbstractComplexValue_1.AbstractComplexVa
|
|
|
3410
3407
|
return super.toJSON(verbose, serializeAsString);
|
|
3411
3408
|
}
|
|
3412
3409
|
};
|
|
3410
|
+
exports.BirthDate = BirthDate;
|
|
3413
3411
|
BirthDate.propertyNames = (0, easy_tsnameof_1.default)();
|
|
3414
3412
|
__decorate([
|
|
3415
3413
|
(0, ts_serval_1.serialize)({ customGenerator: AbstractAttributeValue_1.AbstractAttributeValue.valueGenerator }),
|
|
@@ -3426,10 +3424,9 @@ __decorate([
|
|
|
3426
3424
|
(0, ts_serval_1.validate)(),
|
|
3427
3425
|
__metadata("design:type", BirthYear_1.BirthYear)
|
|
3428
3426
|
], BirthDate.prototype, "year", void 0);
|
|
3429
|
-
BirthDate = __decorate([
|
|
3427
|
+
exports.BirthDate = BirthDate = __decorate([
|
|
3430
3428
|
(0, ts_serval_1.type)("BirthDate")
|
|
3431
3429
|
], BirthDate);
|
|
3432
|
-
exports.BirthDate = BirthDate;
|
|
3433
3430
|
//# sourceMappingURL=BirthDate.js.map
|
|
3434
3431
|
|
|
3435
3432
|
/***/ }),
|
|
@@ -3459,10 +3456,10 @@ let BirthDay = class BirthDay extends dates_1.AbstractDay {
|
|
|
3459
3456
|
return super.toJSON(verbose, serializeAsString);
|
|
3460
3457
|
}
|
|
3461
3458
|
};
|
|
3462
|
-
BirthDay =
|
|
3459
|
+
exports.BirthDay = BirthDay;
|
|
3460
|
+
exports.BirthDay = BirthDay = __decorate([
|
|
3463
3461
|
(0, ts_serval_1.type)("BirthDay")
|
|
3464
3462
|
], BirthDay);
|
|
3465
|
-
exports.BirthDay = BirthDay;
|
|
3466
3463
|
//# sourceMappingURL=BirthDay.js.map
|
|
3467
3464
|
|
|
3468
3465
|
/***/ }),
|
|
@@ -3497,10 +3494,10 @@ let BirthMonth = class BirthMonth extends AbstractMonth_1.AbstractMonth {
|
|
|
3497
3494
|
return super.toJSON(verbose, serializeAsString);
|
|
3498
3495
|
}
|
|
3499
3496
|
};
|
|
3500
|
-
BirthMonth =
|
|
3497
|
+
exports.BirthMonth = BirthMonth;
|
|
3498
|
+
exports.BirthMonth = BirthMonth = __decorate([
|
|
3501
3499
|
(0, ts_serval_1.type)("BirthMonth")
|
|
3502
3500
|
], BirthMonth);
|
|
3503
|
-
exports.BirthMonth = BirthMonth;
|
|
3504
3501
|
//# sourceMappingURL=BirthMonth.js.map
|
|
3505
3502
|
|
|
3506
3503
|
/***/ }),
|
|
@@ -3568,6 +3565,7 @@ let BirthPlace = class BirthPlace extends AbstractComplexValue_1.AbstractComplex
|
|
|
3568
3565
|
return super.toJSON(verbose, serializeAsString);
|
|
3569
3566
|
}
|
|
3570
3567
|
};
|
|
3568
|
+
exports.BirthPlace = BirthPlace;
|
|
3571
3569
|
BirthPlace.propertyNames = (0, easy_tsnameof_1.default)();
|
|
3572
3570
|
__decorate([
|
|
3573
3571
|
(0, ts_serval_1.serialize)({ customGenerator: AbstractAttributeValue_1.AbstractAttributeValue.valueGenerator }),
|
|
@@ -3584,10 +3582,9 @@ __decorate([
|
|
|
3584
3582
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
3585
3583
|
__metadata("design:type", BirthState_1.BirthState)
|
|
3586
3584
|
], BirthPlace.prototype, "state", void 0);
|
|
3587
|
-
BirthPlace = __decorate([
|
|
3585
|
+
exports.BirthPlace = BirthPlace = __decorate([
|
|
3588
3586
|
(0, ts_serval_1.type)("BirthPlace")
|
|
3589
3587
|
], BirthPlace);
|
|
3590
|
-
exports.BirthPlace = BirthPlace;
|
|
3591
3588
|
//# sourceMappingURL=BirthPlace.js.map
|
|
3592
3589
|
|
|
3593
3590
|
/***/ }),
|
|
@@ -3617,10 +3614,10 @@ let BirthState = class BirthState extends address_1.State {
|
|
|
3617
3614
|
return super.toJSON(verbose, serializeAsString);
|
|
3618
3615
|
}
|
|
3619
3616
|
};
|
|
3620
|
-
BirthState =
|
|
3617
|
+
exports.BirthState = BirthState;
|
|
3618
|
+
exports.BirthState = BirthState = __decorate([
|
|
3621
3619
|
(0, ts_serval_1.type)("BirthState")
|
|
3622
3620
|
], BirthState);
|
|
3623
|
-
exports.BirthState = BirthState;
|
|
3624
3621
|
//# sourceMappingURL=BirthState.js.map
|
|
3625
3622
|
|
|
3626
3623
|
/***/ }),
|
|
@@ -3650,10 +3647,10 @@ let BirthYear = class BirthYear extends dates_1.AbstractYear {
|
|
|
3650
3647
|
return super.toJSON(verbose, serializeAsString);
|
|
3651
3648
|
}
|
|
3652
3649
|
};
|
|
3653
|
-
BirthYear =
|
|
3650
|
+
exports.BirthYear = BirthYear;
|
|
3651
|
+
exports.BirthYear = BirthYear = __decorate([
|
|
3654
3652
|
(0, ts_serval_1.type)("BirthYear")
|
|
3655
3653
|
], BirthYear);
|
|
3656
|
-
exports.BirthYear = BirthYear;
|
|
3657
3654
|
//# sourceMappingURL=BirthYear.js.map
|
|
3658
3655
|
|
|
3659
3656
|
/***/ }),
|
|
@@ -3717,10 +3714,10 @@ let CommunicationLanguage = class CommunicationLanguage extends AbstractLanguage
|
|
|
3717
3714
|
return super.toJSON(verbose, serializeAsString);
|
|
3718
3715
|
}
|
|
3719
3716
|
};
|
|
3720
|
-
CommunicationLanguage =
|
|
3717
|
+
exports.CommunicationLanguage = CommunicationLanguage;
|
|
3718
|
+
exports.CommunicationLanguage = CommunicationLanguage = __decorate([
|
|
3721
3719
|
(0, ts_serval_1.type)("CommunicationLanguage")
|
|
3722
3720
|
], CommunicationLanguage);
|
|
3723
|
-
exports.CommunicationLanguage = CommunicationLanguage;
|
|
3724
3721
|
//# sourceMappingURL=CommunicationLanguage.js.map
|
|
3725
3722
|
|
|
3726
3723
|
/***/ }),
|
|
@@ -3750,10 +3747,10 @@ let EMailAddress = class EMailAddress extends AbstractEMailAddress_1.AbstractEMa
|
|
|
3750
3747
|
return super.toJSON(verbose, serializeAsString);
|
|
3751
3748
|
}
|
|
3752
3749
|
};
|
|
3753
|
-
EMailAddress =
|
|
3750
|
+
exports.EMailAddress = EMailAddress;
|
|
3751
|
+
exports.EMailAddress = EMailAddress = __decorate([
|
|
3754
3752
|
(0, ts_serval_1.type)("EMailAddress")
|
|
3755
3753
|
], EMailAddress);
|
|
3756
|
-
exports.EMailAddress = EMailAddress;
|
|
3757
3754
|
//# sourceMappingURL=EMailAddress.js.map
|
|
3758
3755
|
|
|
3759
3756
|
/***/ }),
|
|
@@ -3783,10 +3780,10 @@ let FaxNumber = class FaxNumber extends strings_1.AbstractPhoneNumber {
|
|
|
3783
3780
|
return super.toJSON(verbose, serializeAsString);
|
|
3784
3781
|
}
|
|
3785
3782
|
};
|
|
3786
|
-
FaxNumber =
|
|
3783
|
+
exports.FaxNumber = FaxNumber;
|
|
3784
|
+
exports.FaxNumber = FaxNumber = __decorate([
|
|
3787
3785
|
(0, ts_serval_1.type)("FaxNumber")
|
|
3788
3786
|
], FaxNumber);
|
|
3789
|
-
exports.FaxNumber = FaxNumber;
|
|
3790
3787
|
//# sourceMappingURL=FaxNumber.js.map
|
|
3791
3788
|
|
|
3792
3789
|
/***/ }),
|
|
@@ -3816,10 +3813,10 @@ let PhoneNumber = class PhoneNumber extends strings_1.AbstractPhoneNumber {
|
|
|
3816
3813
|
return super.toJSON(verbose, serializeAsString);
|
|
3817
3814
|
}
|
|
3818
3815
|
};
|
|
3819
|
-
PhoneNumber =
|
|
3816
|
+
exports.PhoneNumber = PhoneNumber;
|
|
3817
|
+
exports.PhoneNumber = PhoneNumber = __decorate([
|
|
3820
3818
|
(0, ts_serval_1.type)("PhoneNumber")
|
|
3821
3819
|
], PhoneNumber);
|
|
3822
|
-
exports.PhoneNumber = PhoneNumber;
|
|
3823
3820
|
//# sourceMappingURL=PhoneNumber.js.map
|
|
3824
3821
|
|
|
3825
3822
|
/***/ }),
|
|
@@ -3849,10 +3846,10 @@ let Website = class Website extends strings_1.AbstractURL {
|
|
|
3849
3846
|
return super.toJSON(verbose, serializeAsString);
|
|
3850
3847
|
}
|
|
3851
3848
|
};
|
|
3852
|
-
Website =
|
|
3849
|
+
exports.Website = Website;
|
|
3850
|
+
exports.Website = Website = __decorate([
|
|
3853
3851
|
(0, ts_serval_1.type)("Website")
|
|
3854
3852
|
], Website);
|
|
3855
|
-
exports.Website = Website;
|
|
3856
3853
|
//# sourceMappingURL=Website.js.map
|
|
3857
3854
|
|
|
3858
3855
|
/***/ }),
|
|
@@ -3924,6 +3921,7 @@ class AbstractDateString extends AbstractString_1.AbstractString {
|
|
|
3924
3921
|
});
|
|
3925
3922
|
}
|
|
3926
3923
|
}
|
|
3924
|
+
exports.AbstractDateString = AbstractDateString;
|
|
3927
3925
|
AbstractDateString.format = "yyyy-MM-dd";
|
|
3928
3926
|
__decorate([
|
|
3929
3927
|
(0, ts_serval_1.serialize)(),
|
|
@@ -3936,7 +3934,6 @@ __decorate([
|
|
|
3936
3934
|
}),
|
|
3937
3935
|
__metadata("design:type", String)
|
|
3938
3936
|
], AbstractDateString.prototype, "value", void 0);
|
|
3939
|
-
exports.AbstractDateString = AbstractDateString;
|
|
3940
3937
|
//# sourceMappingURL=AbstractDateString.js.map
|
|
3941
3938
|
|
|
3942
3939
|
/***/ }),
|
|
@@ -3979,6 +3976,7 @@ class AbstractDay extends AbstractInteger_1.AbstractInteger {
|
|
|
3979
3976
|
});
|
|
3980
3977
|
}
|
|
3981
3978
|
}
|
|
3979
|
+
exports.AbstractDay = AbstractDay;
|
|
3982
3980
|
__decorate([
|
|
3983
3981
|
(0, ts_serval_1.serialize)(),
|
|
3984
3982
|
(0, ts_serval_1.validate)({
|
|
@@ -3986,7 +3984,6 @@ __decorate([
|
|
|
3986
3984
|
}),
|
|
3987
3985
|
__metadata("design:type", Number)
|
|
3988
3986
|
], AbstractDay.prototype, "value", void 0);
|
|
3989
|
-
exports.AbstractDay = AbstractDay;
|
|
3990
3987
|
//# sourceMappingURL=AbstractDay.js.map
|
|
3991
3988
|
|
|
3992
3989
|
/***/ }),
|
|
@@ -4047,6 +4044,7 @@ class AbstractMonth extends AbstractInteger_1.AbstractInteger {
|
|
|
4047
4044
|
});
|
|
4048
4045
|
}
|
|
4049
4046
|
}
|
|
4047
|
+
exports.AbstractMonth = AbstractMonth;
|
|
4050
4048
|
__decorate([
|
|
4051
4049
|
(0, ts_serval_1.serialize)(),
|
|
4052
4050
|
(0, ts_serval_1.validate)({
|
|
@@ -4056,7 +4054,6 @@ __decorate([
|
|
|
4056
4054
|
}),
|
|
4057
4055
|
__metadata("design:type", Number)
|
|
4058
4056
|
], AbstractMonth.prototype, "value", void 0);
|
|
4059
|
-
exports.AbstractMonth = AbstractMonth;
|
|
4060
4057
|
//# sourceMappingURL=AbstractMonth.js.map
|
|
4061
4058
|
|
|
4062
4059
|
/***/ }),
|
|
@@ -4096,6 +4093,7 @@ class AbstractYear extends AbstractInteger_1.AbstractInteger {
|
|
|
4096
4093
|
});
|
|
4097
4094
|
}
|
|
4098
4095
|
}
|
|
4096
|
+
exports.AbstractYear = AbstractYear;
|
|
4099
4097
|
__decorate([
|
|
4100
4098
|
(0, ts_serval_1.serialize)(),
|
|
4101
4099
|
(0, ts_serval_1.validate)({
|
|
@@ -4103,7 +4101,6 @@ __decorate([
|
|
|
4103
4101
|
}),
|
|
4104
4102
|
__metadata("design:type", Number)
|
|
4105
4103
|
], AbstractYear.prototype, "value", void 0);
|
|
4106
|
-
exports.AbstractYear = AbstractYear;
|
|
4107
4104
|
//# sourceMappingURL=AbstractYear.js.map
|
|
4108
4105
|
|
|
4109
4106
|
/***/ }),
|
|
@@ -4163,10 +4160,10 @@ let DisplayName = class DisplayName extends AbstractString_1.AbstractString {
|
|
|
4163
4160
|
return super.toJSON(verbose, serializeAsString);
|
|
4164
4161
|
}
|
|
4165
4162
|
};
|
|
4166
|
-
DisplayName =
|
|
4163
|
+
exports.DisplayName = DisplayName;
|
|
4164
|
+
exports.DisplayName = DisplayName = __decorate([
|
|
4167
4165
|
(0, ts_serval_1.type)("DisplayName")
|
|
4168
4166
|
], DisplayName);
|
|
4169
|
-
exports.DisplayName = DisplayName;
|
|
4170
4167
|
//# sourceMappingURL=DisplayName.js.map
|
|
4171
4168
|
|
|
4172
4169
|
/***/ }),
|
|
@@ -4196,10 +4193,10 @@ let IdentityFileReference = class IdentityFileReference extends strings_1.Abstra
|
|
|
4196
4193
|
return super.toJSON(verbose, serializeAsString);
|
|
4197
4194
|
}
|
|
4198
4195
|
};
|
|
4199
|
-
IdentityFileReference =
|
|
4196
|
+
exports.IdentityFileReference = IdentityFileReference;
|
|
4197
|
+
exports.IdentityFileReference = IdentityFileReference = __decorate([
|
|
4200
4198
|
(0, ts_serval_1.type)("IdentityFileReference")
|
|
4201
4199
|
], IdentityFileReference);
|
|
4202
|
-
exports.IdentityFileReference = IdentityFileReference;
|
|
4203
4200
|
//# sourceMappingURL=IdentityFileReference.js.map
|
|
4204
4201
|
|
|
4205
4202
|
/***/ }),
|
|
@@ -4232,6 +4229,7 @@ let SchematizedXML = class SchematizedXML extends AbstractXML_1.AbstractXML {
|
|
|
4232
4229
|
return super.toJSON(verbose, serializeAsString);
|
|
4233
4230
|
}
|
|
4234
4231
|
};
|
|
4232
|
+
exports.SchematizedXML = SchematizedXML;
|
|
4235
4233
|
__decorate([
|
|
4236
4234
|
(0, ts_serval_1.serialize)(),
|
|
4237
4235
|
(0, ts_serval_1.validate)({
|
|
@@ -4241,10 +4239,9 @@ __decorate([
|
|
|
4241
4239
|
}),
|
|
4242
4240
|
__metadata("design:type", String)
|
|
4243
4241
|
], SchematizedXML.prototype, "schemaURL", void 0);
|
|
4244
|
-
SchematizedXML = __decorate([
|
|
4242
|
+
exports.SchematizedXML = SchematizedXML = __decorate([
|
|
4245
4243
|
(0, ts_serval_1.type)("SchematizedXML")
|
|
4246
4244
|
], SchematizedXML);
|
|
4247
|
-
exports.SchematizedXML = SchematizedXML;
|
|
4248
4245
|
//# sourceMappingURL=SchematizedXML.js.map
|
|
4249
4246
|
|
|
4250
4247
|
/***/ }),
|
|
@@ -4356,7 +4353,7 @@ var LengthUnit;
|
|
|
4356
4353
|
LengthUnit["FT"] = "ft";
|
|
4357
4354
|
LengthUnit["SM"] = "sm";
|
|
4358
4355
|
LengthUnit["IN"] = "in";
|
|
4359
|
-
})(LengthUnit
|
|
4356
|
+
})(LengthUnit || (exports.LengthUnit = LengthUnit = {}));
|
|
4360
4357
|
class AbstractLengthMeasurement extends AbstractMeasurement_1.AbstractMeasurement {
|
|
4361
4358
|
static get valueHints() {
|
|
4362
4359
|
return super.valueHints.copyWith({
|
|
@@ -4371,6 +4368,7 @@ class AbstractLengthMeasurement extends AbstractMeasurement_1.AbstractMeasuremen
|
|
|
4371
4368
|
});
|
|
4372
4369
|
}
|
|
4373
4370
|
}
|
|
4371
|
+
exports.AbstractLengthMeasurement = AbstractLengthMeasurement;
|
|
4374
4372
|
__decorate([
|
|
4375
4373
|
(0, ts_serval_1.serialize)(),
|
|
4376
4374
|
(0, ts_serval_1.validate)({
|
|
@@ -4378,7 +4376,6 @@ __decorate([
|
|
|
4378
4376
|
}),
|
|
4379
4377
|
__metadata("design:type", String)
|
|
4380
4378
|
], AbstractLengthMeasurement.prototype, "unit", void 0);
|
|
4381
|
-
exports.AbstractLengthMeasurement = AbstractLengthMeasurement;
|
|
4382
4379
|
//# sourceMappingURL=AbstractLengthMeasurement.js.map
|
|
4383
4380
|
|
|
4384
4381
|
/***/ }),
|
|
@@ -4438,6 +4435,7 @@ class AbstractMeasurement extends AbstractComplexValue_1.AbstractComplexValue {
|
|
|
4438
4435
|
return `${this.value} ${this.unit}`;
|
|
4439
4436
|
}
|
|
4440
4437
|
}
|
|
4438
|
+
exports.AbstractMeasurement = AbstractMeasurement;
|
|
4441
4439
|
AbstractMeasurement.propertyNames = (0, easy_tsnameof_1.default)();
|
|
4442
4440
|
__decorate([
|
|
4443
4441
|
(0, ts_serval_1.serialize)(),
|
|
@@ -4449,7 +4447,6 @@ __decorate([
|
|
|
4449
4447
|
(0, ts_serval_1.validate)(),
|
|
4450
4448
|
__metadata("design:type", Number)
|
|
4451
4449
|
], AbstractMeasurement.prototype, "value", void 0);
|
|
4452
|
-
exports.AbstractMeasurement = AbstractMeasurement;
|
|
4453
4450
|
//# sourceMappingURL=AbstractMeasurement.js.map
|
|
4454
4451
|
|
|
4455
4452
|
/***/ }),
|
|
@@ -4507,10 +4504,10 @@ let BirthName = class BirthName extends AbstractString_1.AbstractString {
|
|
|
4507
4504
|
return super.toJSON(verbose, serializeAsString);
|
|
4508
4505
|
}
|
|
4509
4506
|
};
|
|
4510
|
-
BirthName =
|
|
4507
|
+
exports.BirthName = BirthName;
|
|
4508
|
+
exports.BirthName = BirthName = __decorate([
|
|
4511
4509
|
(0, ts_serval_1.type)("BirthName")
|
|
4512
4510
|
], BirthName);
|
|
4513
|
-
exports.BirthName = BirthName;
|
|
4514
4511
|
//# sourceMappingURL=BirthName.js.map
|
|
4515
4512
|
|
|
4516
4513
|
/***/ }),
|
|
@@ -4540,10 +4537,10 @@ let GivenName = class GivenName extends AbstractString_1.AbstractString {
|
|
|
4540
4537
|
return super.toJSON(verbose, serializeAsString);
|
|
4541
4538
|
}
|
|
4542
4539
|
};
|
|
4543
|
-
GivenName =
|
|
4540
|
+
exports.GivenName = GivenName;
|
|
4541
|
+
exports.GivenName = GivenName = __decorate([
|
|
4544
4542
|
(0, ts_serval_1.type)("GivenName")
|
|
4545
4543
|
], GivenName);
|
|
4546
|
-
exports.GivenName = GivenName;
|
|
4547
4544
|
//# sourceMappingURL=GivenName.js.map
|
|
4548
4545
|
|
|
4549
4546
|
/***/ }),
|
|
@@ -4573,10 +4570,10 @@ let HonorificPrefix = class HonorificPrefix extends AbstractString_1.AbstractStr
|
|
|
4573
4570
|
return super.toJSON(verbose, serializeAsString);
|
|
4574
4571
|
}
|
|
4575
4572
|
};
|
|
4576
|
-
HonorificPrefix =
|
|
4573
|
+
exports.HonorificPrefix = HonorificPrefix;
|
|
4574
|
+
exports.HonorificPrefix = HonorificPrefix = __decorate([
|
|
4577
4575
|
(0, ts_serval_1.type)("HonorificPrefix")
|
|
4578
4576
|
], HonorificPrefix);
|
|
4579
|
-
exports.HonorificPrefix = HonorificPrefix;
|
|
4580
4577
|
//# sourceMappingURL=HonorificPrefix.js.map
|
|
4581
4578
|
|
|
4582
4579
|
/***/ }),
|
|
@@ -4606,10 +4603,10 @@ let HonorificSuffix = class HonorificSuffix extends AbstractString_1.AbstractStr
|
|
|
4606
4603
|
return super.toJSON(verbose, serializeAsString);
|
|
4607
4604
|
}
|
|
4608
4605
|
};
|
|
4609
|
-
HonorificSuffix =
|
|
4606
|
+
exports.HonorificSuffix = HonorificSuffix;
|
|
4607
|
+
exports.HonorificSuffix = HonorificSuffix = __decorate([
|
|
4610
4608
|
(0, ts_serval_1.type)("HonorificSuffix")
|
|
4611
4609
|
], HonorificSuffix);
|
|
4612
|
-
exports.HonorificSuffix = HonorificSuffix;
|
|
4613
4610
|
//# sourceMappingURL=HonorificSuffix.js.map
|
|
4614
4611
|
|
|
4615
4612
|
/***/ }),
|
|
@@ -4639,10 +4636,10 @@ let MiddleName = class MiddleName extends AbstractString_1.AbstractString {
|
|
|
4639
4636
|
return super.toJSON(verbose, serializeAsString);
|
|
4640
4637
|
}
|
|
4641
4638
|
};
|
|
4642
|
-
MiddleName =
|
|
4639
|
+
exports.MiddleName = MiddleName;
|
|
4640
|
+
exports.MiddleName = MiddleName = __decorate([
|
|
4643
4641
|
(0, ts_serval_1.type)("MiddleName")
|
|
4644
4642
|
], MiddleName);
|
|
4645
|
-
exports.MiddleName = MiddleName;
|
|
4646
4643
|
//# sourceMappingURL=MiddleName.js.map
|
|
4647
4644
|
|
|
4648
4645
|
/***/ }),
|
|
@@ -4720,6 +4717,7 @@ let PersonName = class PersonName extends AbstractComplexValue_1.AbstractComplex
|
|
|
4720
4717
|
return super.toJSON(verbose, serializeAsString);
|
|
4721
4718
|
}
|
|
4722
4719
|
};
|
|
4720
|
+
exports.PersonName = PersonName;
|
|
4723
4721
|
PersonName.propertyNames = (0, easy_tsnameof_1.default)();
|
|
4724
4722
|
__decorate([
|
|
4725
4723
|
(0, ts_serval_1.serialize)({ customGenerator: AbstractAttributeValue_1.AbstractAttributeValue.valueGenerator }),
|
|
@@ -4746,10 +4744,9 @@ __decorate([
|
|
|
4746
4744
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
4747
4745
|
__metadata("design:type", HonorificPrefix_1.HonorificPrefix)
|
|
4748
4746
|
], PersonName.prototype, "honorificPrefix", void 0);
|
|
4749
|
-
PersonName = __decorate([
|
|
4747
|
+
exports.PersonName = PersonName = __decorate([
|
|
4750
4748
|
(0, ts_serval_1.type)("PersonName")
|
|
4751
4749
|
], PersonName);
|
|
4752
|
-
exports.PersonName = PersonName;
|
|
4753
4750
|
//# sourceMappingURL=PersonName.js.map
|
|
4754
4751
|
|
|
4755
4752
|
/***/ }),
|
|
@@ -4779,10 +4776,10 @@ let Pseudonym = class Pseudonym extends AbstractString_1.AbstractString {
|
|
|
4779
4776
|
return super.toJSON(verbose, serializeAsString);
|
|
4780
4777
|
}
|
|
4781
4778
|
};
|
|
4782
|
-
Pseudonym =
|
|
4779
|
+
exports.Pseudonym = Pseudonym;
|
|
4780
|
+
exports.Pseudonym = Pseudonym = __decorate([
|
|
4783
4781
|
(0, ts_serval_1.type)("Pseudonym")
|
|
4784
4782
|
], Pseudonym);
|
|
4785
|
-
exports.Pseudonym = Pseudonym;
|
|
4786
4783
|
//# sourceMappingURL=Pseudonym.js.map
|
|
4787
4784
|
|
|
4788
4785
|
/***/ }),
|
|
@@ -4812,10 +4809,10 @@ let Surname = class Surname extends AbstractString_1.AbstractString {
|
|
|
4812
4809
|
return super.toJSON(verbose, serializeAsString);
|
|
4813
4810
|
}
|
|
4814
4811
|
};
|
|
4815
|
-
Surname =
|
|
4812
|
+
exports.Surname = Surname;
|
|
4813
|
+
exports.Surname = Surname = __decorate([
|
|
4816
4814
|
(0, ts_serval_1.type)("Surname")
|
|
4817
4815
|
], Surname);
|
|
4818
|
-
exports.Surname = Surname;
|
|
4819
4816
|
//# sourceMappingURL=Surname.js.map
|
|
4820
4817
|
|
|
4821
4818
|
/***/ }),
|
|
@@ -4879,10 +4876,10 @@ let Citizenship = class Citizenship extends strings_1.AbstractCountry {
|
|
|
4879
4876
|
return super.toJSON(verbose, serializeAsString);
|
|
4880
4877
|
}
|
|
4881
4878
|
};
|
|
4882
|
-
Citizenship =
|
|
4879
|
+
exports.Citizenship = Citizenship;
|
|
4880
|
+
exports.Citizenship = Citizenship = __decorate([
|
|
4883
4881
|
(0, ts_serval_1.type)("Citizenship")
|
|
4884
4882
|
], Citizenship);
|
|
4885
|
-
exports.Citizenship = Citizenship;
|
|
4886
4883
|
//# sourceMappingURL=Citizenship.js.map
|
|
4887
4884
|
|
|
4888
4885
|
/***/ }),
|
|
@@ -4912,10 +4909,10 @@ let JobTitle = class JobTitle extends AbstractString_1.AbstractString {
|
|
|
4912
4909
|
return super.toJSON(verbose, serializeAsString);
|
|
4913
4910
|
}
|
|
4914
4911
|
};
|
|
4915
|
-
JobTitle =
|
|
4912
|
+
exports.JobTitle = JobTitle;
|
|
4913
|
+
exports.JobTitle = JobTitle = __decorate([
|
|
4916
4914
|
(0, ts_serval_1.type)("JobTitle")
|
|
4917
4915
|
], JobTitle);
|
|
4918
|
-
exports.JobTitle = JobTitle;
|
|
4919
4916
|
//# sourceMappingURL=JobTitle.js.map
|
|
4920
4917
|
|
|
4921
4918
|
/***/ }),
|
|
@@ -4945,10 +4942,10 @@ let Nationality = class Nationality extends strings_1.AbstractCountry {
|
|
|
4945
4942
|
return super.toJSON(verbose, serializeAsString);
|
|
4946
4943
|
}
|
|
4947
4944
|
};
|
|
4948
|
-
Nationality =
|
|
4945
|
+
exports.Nationality = Nationality;
|
|
4946
|
+
exports.Nationality = Nationality = __decorate([
|
|
4949
4947
|
(0, ts_serval_1.type)("Nationality")
|
|
4950
4948
|
], Nationality);
|
|
4951
|
-
exports.Nationality = Nationality;
|
|
4952
4949
|
//# sourceMappingURL=Nationality.js.map
|
|
4953
4950
|
|
|
4954
4951
|
/***/ }),
|
|
@@ -4982,7 +4979,7 @@ var BiologicalSex;
|
|
|
4982
4979
|
BiologicalSex["X"] = "intersex";
|
|
4983
4980
|
BiologicalSex["F"] = "female";
|
|
4984
4981
|
BiologicalSex["M"] = "male";
|
|
4985
|
-
})(BiologicalSex
|
|
4982
|
+
})(BiologicalSex || (exports.BiologicalSex = BiologicalSex = {}));
|
|
4986
4983
|
let Sex = class Sex extends AbstractString_1.AbstractString {
|
|
4987
4984
|
static get valueHints() {
|
|
4988
4985
|
return super.valueHints.copyWith({
|
|
@@ -5001,6 +4998,7 @@ let Sex = class Sex extends AbstractString_1.AbstractString {
|
|
|
5001
4998
|
return super.toJSON(verbose, serializeAsString);
|
|
5002
4999
|
}
|
|
5003
5000
|
};
|
|
5001
|
+
exports.Sex = Sex;
|
|
5004
5002
|
__decorate([
|
|
5005
5003
|
(0, ts_serval_1.serialize)(),
|
|
5006
5004
|
(0, ts_serval_1.validate)({
|
|
@@ -5008,10 +5006,9 @@ __decorate([
|
|
|
5008
5006
|
}),
|
|
5009
5007
|
__metadata("design:type", String)
|
|
5010
5008
|
], Sex.prototype, "value", void 0);
|
|
5011
|
-
Sex = __decorate([
|
|
5009
|
+
exports.Sex = Sex = __decorate([
|
|
5012
5010
|
(0, ts_serval_1.type)("Sex")
|
|
5013
5011
|
], Sex);
|
|
5014
|
-
exports.Sex = Sex;
|
|
5015
5012
|
//# sourceMappingURL=Sex.js.map
|
|
5016
5013
|
|
|
5017
5014
|
/***/ }),
|
|
@@ -5094,6 +5091,7 @@ let ProprietaryBoolean = class ProprietaryBoolean extends AbstractBoolean_1.Abst
|
|
|
5094
5091
|
return super.valueHints.copyWith(this.valueHintsOverride?.toJSON());
|
|
5095
5092
|
}
|
|
5096
5093
|
};
|
|
5094
|
+
exports.ProprietaryBoolean = ProprietaryBoolean;
|
|
5097
5095
|
__decorate([
|
|
5098
5096
|
(0, ts_serval_1.serialize)(),
|
|
5099
5097
|
(0, ts_serval_1.validate)({ max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_TITLE_LENGTH }),
|
|
@@ -5109,10 +5107,9 @@ __decorate([
|
|
|
5109
5107
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5110
5108
|
__metadata("design:type", hints_1.ValueHintsOverride)
|
|
5111
5109
|
], ProprietaryBoolean.prototype, "valueHintsOverride", void 0);
|
|
5112
|
-
ProprietaryBoolean = __decorate([
|
|
5110
|
+
exports.ProprietaryBoolean = ProprietaryBoolean = __decorate([
|
|
5113
5111
|
(0, ts_serval_1.type)("ProprietaryBoolean")
|
|
5114
5112
|
], ProprietaryBoolean);
|
|
5115
|
-
exports.ProprietaryBoolean = ProprietaryBoolean;
|
|
5116
5113
|
//# sourceMappingURL=ProprietaryBoolean.js.map
|
|
5117
5114
|
|
|
5118
5115
|
/***/ }),
|
|
@@ -5150,6 +5147,7 @@ let ProprietaryCountry = class ProprietaryCountry extends AbstractCountry_1.Abst
|
|
|
5150
5147
|
return super.valueHints.copyWith(this.valueHintsOverride?.toJSON());
|
|
5151
5148
|
}
|
|
5152
5149
|
};
|
|
5150
|
+
exports.ProprietaryCountry = ProprietaryCountry;
|
|
5153
5151
|
__decorate([
|
|
5154
5152
|
(0, ts_serval_1.serialize)(),
|
|
5155
5153
|
(0, ts_serval_1.validate)({ max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_TITLE_LENGTH }),
|
|
@@ -5165,10 +5163,9 @@ __decorate([
|
|
|
5165
5163
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5166
5164
|
__metadata("design:type", hints_1.ValueHintsOverride)
|
|
5167
5165
|
], ProprietaryCountry.prototype, "valueHintsOverride", void 0);
|
|
5168
|
-
ProprietaryCountry = __decorate([
|
|
5166
|
+
exports.ProprietaryCountry = ProprietaryCountry = __decorate([
|
|
5169
5167
|
(0, ts_serval_1.type)("ProprietaryCountry")
|
|
5170
5168
|
], ProprietaryCountry);
|
|
5171
|
-
exports.ProprietaryCountry = ProprietaryCountry;
|
|
5172
5169
|
//# sourceMappingURL=ProprietaryCountry.js.map
|
|
5173
5170
|
|
|
5174
5171
|
/***/ }),
|
|
@@ -5206,6 +5203,7 @@ let ProprietaryEMailAddress = class ProprietaryEMailAddress extends AbstractEMai
|
|
|
5206
5203
|
return super.valueHints.copyWith(this.valueHintsOverride?.toJSON());
|
|
5207
5204
|
}
|
|
5208
5205
|
};
|
|
5206
|
+
exports.ProprietaryEMailAddress = ProprietaryEMailAddress;
|
|
5209
5207
|
__decorate([
|
|
5210
5208
|
(0, ts_serval_1.serialize)(),
|
|
5211
5209
|
(0, ts_serval_1.validate)({ max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_TITLE_LENGTH }),
|
|
@@ -5221,10 +5219,9 @@ __decorate([
|
|
|
5221
5219
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5222
5220
|
__metadata("design:type", hints_1.ValueHintsOverride)
|
|
5223
5221
|
], ProprietaryEMailAddress.prototype, "valueHintsOverride", void 0);
|
|
5224
|
-
ProprietaryEMailAddress = __decorate([
|
|
5222
|
+
exports.ProprietaryEMailAddress = ProprietaryEMailAddress = __decorate([
|
|
5225
5223
|
(0, ts_serval_1.type)("ProprietaryEMailAddress")
|
|
5226
5224
|
], ProprietaryEMailAddress);
|
|
5227
|
-
exports.ProprietaryEMailAddress = ProprietaryEMailAddress;
|
|
5228
5225
|
//# sourceMappingURL=ProprietaryEMailAddress.js.map
|
|
5229
5226
|
|
|
5230
5227
|
/***/ }),
|
|
@@ -5262,6 +5259,7 @@ let ProprietaryFileReference = class ProprietaryFileReference extends strings_1.
|
|
|
5262
5259
|
return super.valueHints.copyWith(this.valueHintsOverride?.toJSON());
|
|
5263
5260
|
}
|
|
5264
5261
|
};
|
|
5262
|
+
exports.ProprietaryFileReference = ProprietaryFileReference;
|
|
5265
5263
|
__decorate([
|
|
5266
5264
|
(0, ts_serval_1.serialize)(),
|
|
5267
5265
|
(0, ts_serval_1.validate)({ max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_TITLE_LENGTH }),
|
|
@@ -5277,10 +5275,9 @@ __decorate([
|
|
|
5277
5275
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5278
5276
|
__metadata("design:type", hints_1.ValueHintsOverride)
|
|
5279
5277
|
], ProprietaryFileReference.prototype, "valueHintsOverride", void 0);
|
|
5280
|
-
ProprietaryFileReference = __decorate([
|
|
5278
|
+
exports.ProprietaryFileReference = ProprietaryFileReference = __decorate([
|
|
5281
5279
|
(0, ts_serval_1.type)("ProprietaryFileReference")
|
|
5282
5280
|
], ProprietaryFileReference);
|
|
5283
|
-
exports.ProprietaryFileReference = ProprietaryFileReference;
|
|
5284
5281
|
//# sourceMappingURL=ProprietaryFileReference.js.map
|
|
5285
5282
|
|
|
5286
5283
|
/***/ }),
|
|
@@ -5318,6 +5315,7 @@ let ProprietaryFloat = class ProprietaryFloat extends AbstractFloat_1.AbstractFl
|
|
|
5318
5315
|
return super.valueHints.copyWith(this.valueHintsOverride?.toJSON());
|
|
5319
5316
|
}
|
|
5320
5317
|
};
|
|
5318
|
+
exports.ProprietaryFloat = ProprietaryFloat;
|
|
5321
5319
|
__decorate([
|
|
5322
5320
|
(0, ts_serval_1.serialize)(),
|
|
5323
5321
|
(0, ts_serval_1.validate)({ max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_TITLE_LENGTH }),
|
|
@@ -5333,10 +5331,9 @@ __decorate([
|
|
|
5333
5331
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5334
5332
|
__metadata("design:type", hints_1.ValueHintsOverride)
|
|
5335
5333
|
], ProprietaryFloat.prototype, "valueHintsOverride", void 0);
|
|
5336
|
-
ProprietaryFloat = __decorate([
|
|
5334
|
+
exports.ProprietaryFloat = ProprietaryFloat = __decorate([
|
|
5337
5335
|
(0, ts_serval_1.type)("ProprietaryFloat")
|
|
5338
5336
|
], ProprietaryFloat);
|
|
5339
|
-
exports.ProprietaryFloat = ProprietaryFloat;
|
|
5340
5337
|
//# sourceMappingURL=ProprietaryFloat.js.map
|
|
5341
5338
|
|
|
5342
5339
|
/***/ }),
|
|
@@ -5374,6 +5371,7 @@ let ProprietaryHEXColor = class ProprietaryHEXColor extends AbstractHEXColor_1.A
|
|
|
5374
5371
|
return super.valueHints.copyWith(this.valueHintsOverride?.toJSON());
|
|
5375
5372
|
}
|
|
5376
5373
|
};
|
|
5374
|
+
exports.ProprietaryHEXColor = ProprietaryHEXColor;
|
|
5377
5375
|
__decorate([
|
|
5378
5376
|
(0, ts_serval_1.serialize)(),
|
|
5379
5377
|
(0, ts_serval_1.validate)({ max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_TITLE_LENGTH }),
|
|
@@ -5389,10 +5387,9 @@ __decorate([
|
|
|
5389
5387
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5390
5388
|
__metadata("design:type", hints_1.ValueHintsOverride)
|
|
5391
5389
|
], ProprietaryHEXColor.prototype, "valueHintsOverride", void 0);
|
|
5392
|
-
ProprietaryHEXColor = __decorate([
|
|
5390
|
+
exports.ProprietaryHEXColor = ProprietaryHEXColor = __decorate([
|
|
5393
5391
|
(0, ts_serval_1.type)("ProprietaryHEXColor")
|
|
5394
5392
|
], ProprietaryHEXColor);
|
|
5395
|
-
exports.ProprietaryHEXColor = ProprietaryHEXColor;
|
|
5396
5393
|
//# sourceMappingURL=ProprietaryHEXColor.js.map
|
|
5397
5394
|
|
|
5398
5395
|
/***/ }),
|
|
@@ -5430,6 +5427,7 @@ let ProprietaryInteger = class ProprietaryInteger extends AbstractInteger_1.Abst
|
|
|
5430
5427
|
return super.valueHints.copyWith(this.valueHintsOverride?.toJSON());
|
|
5431
5428
|
}
|
|
5432
5429
|
};
|
|
5430
|
+
exports.ProprietaryInteger = ProprietaryInteger;
|
|
5433
5431
|
__decorate([
|
|
5434
5432
|
(0, ts_serval_1.serialize)(),
|
|
5435
5433
|
(0, ts_serval_1.validate)({ max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_TITLE_LENGTH }),
|
|
@@ -5445,10 +5443,9 @@ __decorate([
|
|
|
5445
5443
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5446
5444
|
__metadata("design:type", hints_1.ValueHintsOverride)
|
|
5447
5445
|
], ProprietaryInteger.prototype, "valueHintsOverride", void 0);
|
|
5448
|
-
ProprietaryInteger = __decorate([
|
|
5446
|
+
exports.ProprietaryInteger = ProprietaryInteger = __decorate([
|
|
5449
5447
|
(0, ts_serval_1.type)("ProprietaryInteger")
|
|
5450
5448
|
], ProprietaryInteger);
|
|
5451
|
-
exports.ProprietaryInteger = ProprietaryInteger;
|
|
5452
5449
|
//# sourceMappingURL=ProprietaryInteger.js.map
|
|
5453
5450
|
|
|
5454
5451
|
/***/ }),
|
|
@@ -5492,6 +5489,7 @@ let ProprietaryJSON = class ProprietaryJSON extends AbstractAttributeValue_1.Abs
|
|
|
5492
5489
|
return super.toJSON(verbose, serializeAsString);
|
|
5493
5490
|
}
|
|
5494
5491
|
};
|
|
5492
|
+
exports.ProprietaryJSON = ProprietaryJSON;
|
|
5495
5493
|
__decorate([
|
|
5496
5494
|
(0, ts_serval_1.serialize)(),
|
|
5497
5495
|
(0, ts_serval_1.validate)({ max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_TITLE_LENGTH }),
|
|
@@ -5507,10 +5505,9 @@ __decorate([
|
|
|
5507
5505
|
(0, ts_serval_1.validate)({ customValidator: validateValue }),
|
|
5508
5506
|
__metadata("design:type", Object)
|
|
5509
5507
|
], ProprietaryJSON.prototype, "value", void 0);
|
|
5510
|
-
ProprietaryJSON = __decorate([
|
|
5508
|
+
exports.ProprietaryJSON = ProprietaryJSON = __decorate([
|
|
5511
5509
|
(0, ts_serval_1.type)("ProprietaryJSON")
|
|
5512
5510
|
], ProprietaryJSON);
|
|
5513
|
-
exports.ProprietaryJSON = ProprietaryJSON;
|
|
5514
5511
|
function validateValue(value) {
|
|
5515
5512
|
try {
|
|
5516
5513
|
const string = JSON.stringify(value);
|
|
@@ -5563,6 +5560,7 @@ let ProprietaryLanguage = class ProprietaryLanguage extends AbstractLanguage_1.A
|
|
|
5563
5560
|
return super.valueHints.copyWith(this.valueHintsOverride?.toJSON());
|
|
5564
5561
|
}
|
|
5565
5562
|
};
|
|
5563
|
+
exports.ProprietaryLanguage = ProprietaryLanguage;
|
|
5566
5564
|
__decorate([
|
|
5567
5565
|
(0, ts_serval_1.serialize)(),
|
|
5568
5566
|
(0, ts_serval_1.validate)({ max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_TITLE_LENGTH }),
|
|
@@ -5578,10 +5576,9 @@ __decorate([
|
|
|
5578
5576
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5579
5577
|
__metadata("design:type", hints_1.ValueHintsOverride)
|
|
5580
5578
|
], ProprietaryLanguage.prototype, "valueHintsOverride", void 0);
|
|
5581
|
-
ProprietaryLanguage = __decorate([
|
|
5579
|
+
exports.ProprietaryLanguage = ProprietaryLanguage = __decorate([
|
|
5582
5580
|
(0, ts_serval_1.type)("ProprietaryLanguage")
|
|
5583
5581
|
], ProprietaryLanguage);
|
|
5584
|
-
exports.ProprietaryLanguage = ProprietaryLanguage;
|
|
5585
5582
|
//# sourceMappingURL=ProprietaryLanguage.js.map
|
|
5586
5583
|
|
|
5587
5584
|
/***/ }),
|
|
@@ -5619,6 +5616,7 @@ let ProprietaryPhoneNumber = class ProprietaryPhoneNumber extends AbstractPhoneN
|
|
|
5619
5616
|
return super.valueHints.copyWith(this.valueHintsOverride?.toJSON());
|
|
5620
5617
|
}
|
|
5621
5618
|
};
|
|
5619
|
+
exports.ProprietaryPhoneNumber = ProprietaryPhoneNumber;
|
|
5622
5620
|
__decorate([
|
|
5623
5621
|
(0, ts_serval_1.serialize)(),
|
|
5624
5622
|
(0, ts_serval_1.validate)({ max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_TITLE_LENGTH }),
|
|
@@ -5634,10 +5632,9 @@ __decorate([
|
|
|
5634
5632
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5635
5633
|
__metadata("design:type", hints_1.ValueHintsOverride)
|
|
5636
5634
|
], ProprietaryPhoneNumber.prototype, "valueHintsOverride", void 0);
|
|
5637
|
-
ProprietaryPhoneNumber = __decorate([
|
|
5635
|
+
exports.ProprietaryPhoneNumber = ProprietaryPhoneNumber = __decorate([
|
|
5638
5636
|
(0, ts_serval_1.type)("ProprietaryPhoneNumber")
|
|
5639
5637
|
], ProprietaryPhoneNumber);
|
|
5640
|
-
exports.ProprietaryPhoneNumber = ProprietaryPhoneNumber;
|
|
5641
5638
|
//# sourceMappingURL=ProprietaryPhoneNumber.js.map
|
|
5642
5639
|
|
|
5643
5640
|
/***/ }),
|
|
@@ -5675,6 +5672,7 @@ let ProprietaryString = class ProprietaryString extends AbstractString_1.Abstrac
|
|
|
5675
5672
|
return super.valueHints.copyWith(this.valueHintsOverride?.toJSON());
|
|
5676
5673
|
}
|
|
5677
5674
|
};
|
|
5675
|
+
exports.ProprietaryString = ProprietaryString;
|
|
5678
5676
|
__decorate([
|
|
5679
5677
|
(0, ts_serval_1.serialize)(),
|
|
5680
5678
|
(0, ts_serval_1.validate)({ max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_TITLE_LENGTH }),
|
|
@@ -5690,10 +5688,9 @@ __decorate([
|
|
|
5690
5688
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5691
5689
|
__metadata("design:type", hints_1.ValueHintsOverride)
|
|
5692
5690
|
], ProprietaryString.prototype, "valueHintsOverride", void 0);
|
|
5693
|
-
ProprietaryString = __decorate([
|
|
5691
|
+
exports.ProprietaryString = ProprietaryString = __decorate([
|
|
5694
5692
|
(0, ts_serval_1.type)("ProprietaryString")
|
|
5695
5693
|
], ProprietaryString);
|
|
5696
|
-
exports.ProprietaryString = ProprietaryString;
|
|
5697
5694
|
//# sourceMappingURL=ProprietaryString.js.map
|
|
5698
5695
|
|
|
5699
5696
|
/***/ }),
|
|
@@ -5731,6 +5728,7 @@ let ProprietaryURL = class ProprietaryURL extends AbstractURL_1.AbstractURL {
|
|
|
5731
5728
|
return super.valueHints.copyWith(this.valueHintsOverride?.toJSON());
|
|
5732
5729
|
}
|
|
5733
5730
|
};
|
|
5731
|
+
exports.ProprietaryURL = ProprietaryURL;
|
|
5734
5732
|
__decorate([
|
|
5735
5733
|
(0, ts_serval_1.serialize)(),
|
|
5736
5734
|
(0, ts_serval_1.validate)({ max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_TITLE_LENGTH }),
|
|
@@ -5746,10 +5744,9 @@ __decorate([
|
|
|
5746
5744
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5747
5745
|
__metadata("design:type", hints_1.ValueHintsOverride)
|
|
5748
5746
|
], ProprietaryURL.prototype, "valueHintsOverride", void 0);
|
|
5749
|
-
ProprietaryURL = __decorate([
|
|
5747
|
+
exports.ProprietaryURL = ProprietaryURL = __decorate([
|
|
5750
5748
|
(0, ts_serval_1.type)("ProprietaryURL")
|
|
5751
5749
|
], ProprietaryURL);
|
|
5752
|
-
exports.ProprietaryURL = ProprietaryURL;
|
|
5753
5750
|
//# sourceMappingURL=ProprietaryURL.js.map
|
|
5754
5751
|
|
|
5755
5752
|
/***/ }),
|
|
@@ -5787,6 +5784,7 @@ let ProprietaryXML = class ProprietaryXML extends AbstractXML_1.AbstractXML {
|
|
|
5787
5784
|
return super.valueHints.copyWith(this.valueHintsOverride?.toJSON());
|
|
5788
5785
|
}
|
|
5789
5786
|
};
|
|
5787
|
+
exports.ProprietaryXML = ProprietaryXML;
|
|
5790
5788
|
__decorate([
|
|
5791
5789
|
(0, ts_serval_1.serialize)(),
|
|
5792
5790
|
(0, ts_serval_1.validate)({ max: ProprietaryAttributeValue_1.PROPRIETARY_ATTRIBUTE_MAX_TITLE_LENGTH }),
|
|
@@ -5811,10 +5809,9 @@ __decorate([
|
|
|
5811
5809
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
5812
5810
|
__metadata("design:type", hints_1.ValueHintsOverride)
|
|
5813
5811
|
], ProprietaryXML.prototype, "valueHintsOverride", void 0);
|
|
5814
|
-
ProprietaryXML = __decorate([
|
|
5812
|
+
exports.ProprietaryXML = ProprietaryXML = __decorate([
|
|
5815
5813
|
(0, ts_serval_1.type)("ProprietaryXML")
|
|
5816
5814
|
], ProprietaryXML);
|
|
5817
|
-
exports.ProprietaryXML = ProprietaryXML;
|
|
5818
5815
|
//# sourceMappingURL=ProprietaryXML.js.map
|
|
5819
5816
|
|
|
5820
5817
|
/***/ }),
|
|
@@ -5915,6 +5912,7 @@ let Consent = class Consent extends AbstractAttributeValue_1.AbstractAttributeVa
|
|
|
5915
5912
|
});
|
|
5916
5913
|
}
|
|
5917
5914
|
};
|
|
5915
|
+
exports.Consent = Consent;
|
|
5918
5916
|
__decorate([
|
|
5919
5917
|
(0, ts_serval_1.serialize)(),
|
|
5920
5918
|
(0, ts_serval_1.validate)({ max: 2000 }),
|
|
@@ -5932,10 +5930,9 @@ __decorate([
|
|
|
5932
5930
|
}),
|
|
5933
5931
|
__metadata("design:type", String)
|
|
5934
5932
|
], Consent.prototype, "link", void 0);
|
|
5935
|
-
Consent = __decorate([
|
|
5933
|
+
exports.Consent = Consent = __decorate([
|
|
5936
5934
|
(0, ts_serval_1.type)("Consent")
|
|
5937
5935
|
], Consent);
|
|
5938
|
-
exports.Consent = Consent;
|
|
5939
5936
|
//# sourceMappingURL=Consent.js.map
|
|
5940
5937
|
|
|
5941
5938
|
/***/ }),
|
|
@@ -6011,13 +6008,13 @@ class AbstractIdentityDescriptor extends AbstractComplexValue_1.AbstractComplexV
|
|
|
6011
6008
|
});
|
|
6012
6009
|
}
|
|
6013
6010
|
}
|
|
6011
|
+
exports.AbstractIdentityDescriptor = AbstractIdentityDescriptor;
|
|
6014
6012
|
AbstractIdentityDescriptor.propertyNames = (0, easy_tsnameof_1.default)();
|
|
6015
6013
|
__decorate([
|
|
6016
6014
|
(0, ts_serval_1.serialize)(),
|
|
6017
6015
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
6018
6016
|
__metadata("design:type", Array)
|
|
6019
6017
|
], AbstractIdentityDescriptor.prototype, "attributes", void 0);
|
|
6020
|
-
exports.AbstractIdentityDescriptor = AbstractIdentityDescriptor;
|
|
6021
6018
|
//# sourceMappingURL=AbstractIdentityDescriptor.js.map
|
|
6022
6019
|
|
|
6023
6020
|
/***/ }),
|
|
@@ -6087,6 +6084,7 @@ class AbstractStatement extends AbstractComplexValue_1.AbstractComplexValue {
|
|
|
6087
6084
|
});
|
|
6088
6085
|
}
|
|
6089
6086
|
}
|
|
6087
|
+
exports.AbstractStatement = AbstractStatement;
|
|
6090
6088
|
AbstractStatement.propertyNames = (0, easy_tsnameof_1.default)();
|
|
6091
6089
|
__decorate([
|
|
6092
6090
|
(0, ts_serval_1.serialize)(),
|
|
@@ -6113,7 +6111,6 @@ __decorate([
|
|
|
6113
6111
|
(0, ts_serval_1.validate)(),
|
|
6114
6112
|
__metadata("design:type", StatementIssuerConditions_1.StatementIssuerConditions)
|
|
6115
6113
|
], AbstractStatement.prototype, "issuerConditions", void 0);
|
|
6116
|
-
exports.AbstractStatement = AbstractStatement;
|
|
6117
6114
|
//# sourceMappingURL=AbstractStatement.js.map
|
|
6118
6115
|
|
|
6119
6116
|
/***/ }),
|
|
@@ -6169,16 +6166,16 @@ let DigitalIdentityDescriptor = class DigitalIdentityDescriptor extends Abstract
|
|
|
6169
6166
|
});
|
|
6170
6167
|
}
|
|
6171
6168
|
};
|
|
6169
|
+
exports.DigitalIdentityDescriptor = DigitalIdentityDescriptor;
|
|
6172
6170
|
DigitalIdentityDescriptor.propertyNames = (0, easy_tsnameof_1.default)();
|
|
6173
6171
|
__decorate([
|
|
6174
6172
|
(0, ts_serval_1.serialize)({ type: transport_1.CoreAddress }),
|
|
6175
6173
|
(0, ts_serval_1.validate)({ customValidator: (v) => (v.length < 1 ? "may not be empty" : undefined) }),
|
|
6176
6174
|
__metadata("design:type", transport_1.CoreAddress)
|
|
6177
6175
|
], DigitalIdentityDescriptor.prototype, "address", void 0);
|
|
6178
|
-
DigitalIdentityDescriptor = __decorate([
|
|
6176
|
+
exports.DigitalIdentityDescriptor = DigitalIdentityDescriptor = __decorate([
|
|
6179
6177
|
(0, ts_serval_1.type)("DigitalIdentityDescriptor")
|
|
6180
6178
|
], DigitalIdentityDescriptor);
|
|
6181
|
-
exports.DigitalIdentityDescriptor = DigitalIdentityDescriptor;
|
|
6182
6179
|
//# sourceMappingURL=DigitalIdentityDescriptor.js.map
|
|
6183
6180
|
|
|
6184
6181
|
/***/ }),
|
|
@@ -6208,10 +6205,10 @@ let Statement = class Statement extends AbstractStatement_1.AbstractStatement {
|
|
|
6208
6205
|
return super.toJSON(verbose, serializeAsString);
|
|
6209
6206
|
}
|
|
6210
6207
|
};
|
|
6211
|
-
Statement =
|
|
6208
|
+
exports.Statement = Statement;
|
|
6209
|
+
exports.Statement = Statement = __decorate([
|
|
6212
6210
|
(0, ts_serval_1.type)("Statement")
|
|
6213
6211
|
], Statement);
|
|
6214
|
-
exports.Statement = Statement;
|
|
6215
6212
|
//# sourceMappingURL=Statement.js.map
|
|
6216
6213
|
|
|
6217
6214
|
/***/ }),
|
|
@@ -6248,7 +6245,7 @@ var Authority;
|
|
|
6248
6245
|
Authority["RelayedOwnAuthority"] = "relayedOwnAuthority";
|
|
6249
6246
|
Authority["RelayedTrustedAuthority"] = "relayedTrustedAuthority";
|
|
6250
6247
|
Authority["RelayedPublicAuthority"] = "relayedPublicAuthority";
|
|
6251
|
-
})(Authority
|
|
6248
|
+
})(Authority || (exports.Authority = Authority = {}));
|
|
6252
6249
|
let StatementAuthorityType = class StatementAuthorityType extends AbstractString_1.AbstractString {
|
|
6253
6250
|
static get valueHints() {
|
|
6254
6251
|
return super.valueHints.copyWith({
|
|
@@ -6270,6 +6267,7 @@ let StatementAuthorityType = class StatementAuthorityType extends AbstractString
|
|
|
6270
6267
|
return super.toJSON(verbose, serializeAsString);
|
|
6271
6268
|
}
|
|
6272
6269
|
};
|
|
6270
|
+
exports.StatementAuthorityType = StatementAuthorityType;
|
|
6273
6271
|
__decorate([
|
|
6274
6272
|
(0, ts_serval_1.serialize)(),
|
|
6275
6273
|
(0, ts_serval_1.validate)({
|
|
@@ -6277,10 +6275,9 @@ __decorate([
|
|
|
6277
6275
|
}),
|
|
6278
6276
|
__metadata("design:type", String)
|
|
6279
6277
|
], StatementAuthorityType.prototype, "value", void 0);
|
|
6280
|
-
StatementAuthorityType = __decorate([
|
|
6278
|
+
exports.StatementAuthorityType = StatementAuthorityType = __decorate([
|
|
6281
6279
|
(0, ts_serval_1.type)("StatementAuthorityType")
|
|
6282
6280
|
], StatementAuthorityType);
|
|
6283
|
-
exports.StatementAuthorityType = StatementAuthorityType;
|
|
6284
6281
|
//# sourceMappingURL=StatementAuthorityType.js.map
|
|
6285
6282
|
|
|
6286
6283
|
/***/ }),
|
|
@@ -6321,7 +6318,7 @@ var Evidence;
|
|
|
6321
6318
|
Evidence["MediaOfPublicIDCard"] = "mediaOfPublicIDCard";
|
|
6322
6319
|
Evidence["MediaOfPublicDocument"] = "mediaOfPublicDocument";
|
|
6323
6320
|
Evidence["MediaOfDocument"] = "mediaOfDocument";
|
|
6324
|
-
})(Evidence
|
|
6321
|
+
})(Evidence || (exports.Evidence = Evidence = {}));
|
|
6325
6322
|
let StatementEvidence = class StatementEvidence extends AbstractString_1.AbstractString {
|
|
6326
6323
|
static get valueHints() {
|
|
6327
6324
|
return super.valueHints.copyWith({
|
|
@@ -6340,6 +6337,7 @@ let StatementEvidence = class StatementEvidence extends AbstractString_1.Abstrac
|
|
|
6340
6337
|
return super.toJSON(verbose, serializeAsString);
|
|
6341
6338
|
}
|
|
6342
6339
|
};
|
|
6340
|
+
exports.StatementEvidence = StatementEvidence;
|
|
6343
6341
|
__decorate([
|
|
6344
6342
|
(0, ts_serval_1.serialize)(),
|
|
6345
6343
|
(0, ts_serval_1.validate)({
|
|
@@ -6347,10 +6345,9 @@ __decorate([
|
|
|
6347
6345
|
}),
|
|
6348
6346
|
__metadata("design:type", String)
|
|
6349
6347
|
], StatementEvidence.prototype, "value", void 0);
|
|
6350
|
-
StatementEvidence = __decorate([
|
|
6348
|
+
exports.StatementEvidence = StatementEvidence = __decorate([
|
|
6351
6349
|
(0, ts_serval_1.type)("StatementEvidence")
|
|
6352
6350
|
], StatementEvidence);
|
|
6353
|
-
exports.StatementEvidence = StatementEvidence;
|
|
6354
6351
|
//# sourceMappingURL=StatementEvidence.js.map
|
|
6355
6352
|
|
|
6356
6353
|
/***/ }),
|
|
@@ -6420,6 +6417,7 @@ let StatementIssuerConditions = class StatementIssuerConditions extends Abstract
|
|
|
6420
6417
|
});
|
|
6421
6418
|
}
|
|
6422
6419
|
};
|
|
6420
|
+
exports.StatementIssuerConditions = StatementIssuerConditions;
|
|
6423
6421
|
StatementIssuerConditions.propertyNames = (0, easy_tsnameof_1.default)();
|
|
6424
6422
|
__decorate([
|
|
6425
6423
|
(0, ts_serval_1.serialize)(),
|
|
@@ -6446,10 +6444,9 @@ __decorate([
|
|
|
6446
6444
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
6447
6445
|
__metadata("design:type", DigitalIdentityDescriptor_1.DigitalIdentityDescriptor)
|
|
6448
6446
|
], StatementIssuerConditions.prototype, "relayedParty", void 0);
|
|
6449
|
-
StatementIssuerConditions = __decorate([
|
|
6447
|
+
exports.StatementIssuerConditions = StatementIssuerConditions = __decorate([
|
|
6450
6448
|
(0, ts_serval_1.type)("StatementIssuerConditions")
|
|
6451
6449
|
], StatementIssuerConditions);
|
|
6452
|
-
exports.StatementIssuerConditions = StatementIssuerConditions;
|
|
6453
6450
|
//# sourceMappingURL=StatementIssuerConditions.js.map
|
|
6454
6451
|
|
|
6455
6452
|
/***/ }),
|
|
@@ -6505,16 +6502,16 @@ let StatementObject = class StatementObject extends AbstractIdentityDescriptor_1
|
|
|
6505
6502
|
});
|
|
6506
6503
|
}
|
|
6507
6504
|
};
|
|
6505
|
+
exports.StatementObject = StatementObject;
|
|
6508
6506
|
StatementObject.propertyNames = (0, easy_tsnameof_1.default)();
|
|
6509
6507
|
__decorate([
|
|
6510
6508
|
(0, ts_serval_1.serialize)({ type: transport_1.CoreAddress }),
|
|
6511
6509
|
(0, ts_serval_1.validate)({ customValidator: (v) => (v.length < 1 ? "may not be empty" : undefined) }),
|
|
6512
6510
|
__metadata("design:type", transport_1.CoreAddress)
|
|
6513
6511
|
], StatementObject.prototype, "address", void 0);
|
|
6514
|
-
StatementObject = __decorate([
|
|
6512
|
+
exports.StatementObject = StatementObject = __decorate([
|
|
6515
6513
|
(0, ts_serval_1.type)("StatementObject")
|
|
6516
6514
|
], StatementObject);
|
|
6517
|
-
exports.StatementObject = StatementObject;
|
|
6518
6515
|
//# sourceMappingURL=StatementObject.js.map
|
|
6519
6516
|
|
|
6520
6517
|
/***/ }),
|
|
@@ -6535,7 +6532,6 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6535
6532
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
6536
6533
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
6537
6534
|
};
|
|
6538
|
-
var StatementPredicate_1;
|
|
6539
6535
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
6540
6536
|
exports.StatementPredicate = exports.Predicates = void 0;
|
|
6541
6537
|
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
@@ -6549,8 +6545,8 @@ var Predicates;
|
|
|
6549
6545
|
Predicates["HasAttribute"] = "hasAttribute";
|
|
6550
6546
|
Predicates["RelatesTo"] = "relatesTo";
|
|
6551
6547
|
Predicates["IsRelatedTo"] = "isRelatedTo";
|
|
6552
|
-
})(Predicates
|
|
6553
|
-
let StatementPredicate =
|
|
6548
|
+
})(Predicates || (exports.Predicates = Predicates = {}));
|
|
6549
|
+
let StatementPredicate = class StatementPredicate extends AbstractString_1.AbstractString {
|
|
6554
6550
|
static get valueHints() {
|
|
6555
6551
|
return super.valueHints.copyWith({
|
|
6556
6552
|
values: Object.values(Predicates).map((value) => hints_1.ValueHintsValue.from({
|
|
@@ -6580,18 +6576,18 @@ let StatementPredicate = StatementPredicate_1 = class StatementPredicate extends
|
|
|
6580
6576
|
return `must be one of: ${Object.values(Predicates)} or start with z-`;
|
|
6581
6577
|
}
|
|
6582
6578
|
};
|
|
6579
|
+
exports.StatementPredicate = StatementPredicate;
|
|
6583
6580
|
__decorate([
|
|
6584
6581
|
(0, ts_serval_1.serialize)(),
|
|
6585
6582
|
(0, ts_serval_1.validate)({
|
|
6586
|
-
customValidator:
|
|
6583
|
+
customValidator: StatementPredicate.validatePredicate,
|
|
6587
6584
|
allowedTypes: [ts_serval_1.PrimitiveType.String]
|
|
6588
6585
|
}),
|
|
6589
6586
|
__metadata("design:type", String)
|
|
6590
6587
|
], StatementPredicate.prototype, "value", void 0);
|
|
6591
|
-
StatementPredicate =
|
|
6588
|
+
exports.StatementPredicate = StatementPredicate = __decorate([
|
|
6592
6589
|
(0, ts_serval_1.type)("StatementPredicate")
|
|
6593
6590
|
], StatementPredicate);
|
|
6594
|
-
exports.StatementPredicate = StatementPredicate;
|
|
6595
6591
|
//# sourceMappingURL=StatementPredicate.js.map
|
|
6596
6592
|
|
|
6597
6593
|
/***/ }),
|
|
@@ -6647,16 +6643,16 @@ let StatementSubject = class StatementSubject extends AbstractIdentityDescriptor
|
|
|
6647
6643
|
});
|
|
6648
6644
|
}
|
|
6649
6645
|
};
|
|
6646
|
+
exports.StatementSubject = StatementSubject;
|
|
6650
6647
|
StatementSubject.propertyNames = (0, easy_tsnameof_1.default)();
|
|
6651
6648
|
__decorate([
|
|
6652
6649
|
(0, ts_serval_1.serialize)({ type: transport_1.CoreAddress }),
|
|
6653
6650
|
(0, ts_serval_1.validate)({ customValidator: (v) => (v.length < 1 ? "may not be empty" : undefined) }),
|
|
6654
6651
|
__metadata("design:type", transport_1.CoreAddress)
|
|
6655
6652
|
], StatementSubject.prototype, "address", void 0);
|
|
6656
|
-
StatementSubject = __decorate([
|
|
6653
|
+
exports.StatementSubject = StatementSubject = __decorate([
|
|
6657
6654
|
(0, ts_serval_1.type)("StatementSubject")
|
|
6658
6655
|
], StatementSubject);
|
|
6659
|
-
exports.StatementSubject = StatementSubject;
|
|
6660
6656
|
//# sourceMappingURL=StatementSubject.js.map
|
|
6661
6657
|
|
|
6662
6658
|
/***/ }),
|
|
@@ -6734,6 +6730,7 @@ class AbstractCountry extends AbstractString_1.AbstractString {
|
|
|
6734
6730
|
});
|
|
6735
6731
|
}
|
|
6736
6732
|
}
|
|
6733
|
+
exports.AbstractCountry = AbstractCountry;
|
|
6737
6734
|
__decorate([
|
|
6738
6735
|
(0, ts_serval_1.serialize)(),
|
|
6739
6736
|
(0, ts_serval_1.validate)({
|
|
@@ -6741,7 +6738,6 @@ __decorate([
|
|
|
6741
6738
|
}),
|
|
6742
6739
|
__metadata("design:type", String)
|
|
6743
6740
|
], AbstractCountry.prototype, "value", void 0);
|
|
6744
|
-
exports.AbstractCountry = AbstractCountry;
|
|
6745
6741
|
//# sourceMappingURL=AbstractCountry.js.map
|
|
6746
6742
|
|
|
6747
6743
|
/***/ }),
|
|
@@ -6782,6 +6778,7 @@ class AbstractEMailAddress extends AbstractString_1.AbstractString {
|
|
|
6782
6778
|
});
|
|
6783
6779
|
}
|
|
6784
6780
|
}
|
|
6781
|
+
exports.AbstractEMailAddress = AbstractEMailAddress;
|
|
6785
6782
|
__decorate([
|
|
6786
6783
|
(0, ts_serval_1.serialize)(),
|
|
6787
6784
|
(0, ts_serval_1.validate)({
|
|
@@ -6791,7 +6788,6 @@ __decorate([
|
|
|
6791
6788
|
}),
|
|
6792
6789
|
__metadata("design:type", String)
|
|
6793
6790
|
], AbstractEMailAddress.prototype, "value", void 0);
|
|
6794
|
-
exports.AbstractEMailAddress = AbstractEMailAddress;
|
|
6795
6791
|
//# sourceMappingURL=AbstractEMailAddress.js.map
|
|
6796
6792
|
|
|
6797
6793
|
/***/ }),
|
|
@@ -6831,6 +6827,7 @@ class AbstractFileReference extends AbstractString_1.AbstractString {
|
|
|
6831
6827
|
});
|
|
6832
6828
|
}
|
|
6833
6829
|
}
|
|
6830
|
+
exports.AbstractFileReference = AbstractFileReference;
|
|
6834
6831
|
__decorate([
|
|
6835
6832
|
(0, ts_serval_1.serialize)(),
|
|
6836
6833
|
(0, ts_serval_1.validate)({
|
|
@@ -6839,7 +6836,6 @@ __decorate([
|
|
|
6839
6836
|
}),
|
|
6840
6837
|
__metadata("design:type", String)
|
|
6841
6838
|
], AbstractFileReference.prototype, "value", void 0);
|
|
6842
|
-
exports.AbstractFileReference = AbstractFileReference;
|
|
6843
6839
|
//# sourceMappingURL=AbstractFileReference.js.map
|
|
6844
6840
|
|
|
6845
6841
|
/***/ }),
|
|
@@ -6880,12 +6876,12 @@ class AbstractHEXColor extends AbstractString_1.AbstractString {
|
|
|
6880
6876
|
});
|
|
6881
6877
|
}
|
|
6882
6878
|
}
|
|
6879
|
+
exports.AbstractHEXColor = AbstractHEXColor;
|
|
6883
6880
|
__decorate([
|
|
6884
6881
|
(0, ts_serval_1.serialize)(),
|
|
6885
6882
|
(0, ts_serval_1.validate)({ min: 4, max: 9, regExp: new RegExp("^#([0-9A-F]{3}){1,2}$", "i") }),
|
|
6886
6883
|
__metadata("design:type", String)
|
|
6887
6884
|
], AbstractHEXColor.prototype, "value", void 0);
|
|
6888
|
-
exports.AbstractHEXColor = AbstractHEXColor;
|
|
6889
6885
|
//# sourceMappingURL=AbstractHEXColor.js.map
|
|
6890
6886
|
|
|
6891
6887
|
/***/ }),
|
|
@@ -6927,6 +6923,7 @@ class AbstractLanguage extends AbstractString_1.AbstractString {
|
|
|
6927
6923
|
});
|
|
6928
6924
|
}
|
|
6929
6925
|
}
|
|
6926
|
+
exports.AbstractLanguage = AbstractLanguage;
|
|
6930
6927
|
__decorate([
|
|
6931
6928
|
(0, ts_serval_1.serialize)(),
|
|
6932
6929
|
(0, ts_serval_1.validate)({
|
|
@@ -6936,7 +6933,6 @@ __decorate([
|
|
|
6936
6933
|
}),
|
|
6937
6934
|
__metadata("design:type", String)
|
|
6938
6935
|
], AbstractLanguage.prototype, "value", void 0);
|
|
6939
|
-
exports.AbstractLanguage = AbstractLanguage;
|
|
6940
6936
|
//# sourceMappingURL=AbstractLanguage.js.map
|
|
6941
6937
|
|
|
6942
6938
|
/***/ }),
|
|
@@ -6977,12 +6973,12 @@ class AbstractPhoneNumber extends AbstractString_1.AbstractString {
|
|
|
6977
6973
|
});
|
|
6978
6974
|
}
|
|
6979
6975
|
}
|
|
6976
|
+
exports.AbstractPhoneNumber = AbstractPhoneNumber;
|
|
6980
6977
|
__decorate([
|
|
6981
6978
|
(0, ts_serval_1.serialize)(),
|
|
6982
6979
|
(0, ts_serval_1.validate)({ min: 3, max: 100, regExp: new RegExp(/^[\d+\-x#*()/[\] ]{3,100}$/) }),
|
|
6983
6980
|
__metadata("design:type", String)
|
|
6984
6981
|
], AbstractPhoneNumber.prototype, "value", void 0);
|
|
6985
|
-
exports.AbstractPhoneNumber = AbstractPhoneNumber;
|
|
6986
6982
|
//# sourceMappingURL=AbstractPhoneNumber.js.map
|
|
6987
6983
|
|
|
6988
6984
|
/***/ }),
|
|
@@ -7022,6 +7018,7 @@ class AbstractURL extends AbstractString_1.AbstractString {
|
|
|
7022
7018
|
});
|
|
7023
7019
|
}
|
|
7024
7020
|
}
|
|
7021
|
+
exports.AbstractURL = AbstractURL;
|
|
7025
7022
|
__decorate([
|
|
7026
7023
|
(0, ts_serval_1.serialize)(),
|
|
7027
7024
|
(0, ts_serval_1.validate)({
|
|
@@ -7033,7 +7030,6 @@ __decorate([
|
|
|
7033
7030
|
}),
|
|
7034
7031
|
__metadata("design:type", String)
|
|
7035
7032
|
], AbstractURL.prototype, "value", void 0);
|
|
7036
|
-
exports.AbstractURL = AbstractURL;
|
|
7037
7033
|
//# sourceMappingURL=AbstractURL.js.map
|
|
7038
7034
|
|
|
7039
7035
|
/***/ }),
|
|
@@ -7072,12 +7068,12 @@ class AbstractXML extends AbstractString_1.AbstractString {
|
|
|
7072
7068
|
});
|
|
7073
7069
|
}
|
|
7074
7070
|
}
|
|
7071
|
+
exports.AbstractXML = AbstractXML;
|
|
7075
7072
|
__decorate([
|
|
7076
7073
|
(0, ts_serval_1.serialize)(),
|
|
7077
7074
|
(0, ts_serval_1.validate)({ max: 50000 }),
|
|
7078
7075
|
__metadata("design:type", String)
|
|
7079
7076
|
], AbstractXML.prototype, "value", void 0);
|
|
7080
|
-
exports.AbstractXML = AbstractXML;
|
|
7081
7077
|
//# sourceMappingURL=AbstractXML.js.map
|
|
7082
7078
|
|
|
7083
7079
|
/***/ }),
|
|
@@ -7129,11 +7125,11 @@ const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-s
|
|
|
7129
7125
|
const crypto_1 = __webpack_require__(/*! @nmshd/crypto */ "@nmshd/crypto");
|
|
7130
7126
|
const transport_1 = __webpack_require__(/*! @nmshd/transport */ "@nmshd/transport");
|
|
7131
7127
|
exports.buildInformation = {
|
|
7132
|
-
version: "2.
|
|
7133
|
-
build: "
|
|
7134
|
-
date: "2023-
|
|
7135
|
-
commit: "
|
|
7136
|
-
dependencies: {"@js-soft/logging-abstractions":"^1.0.0","@nmshd/iql":"^0.0.
|
|
7128
|
+
version: "2.7.0",
|
|
7129
|
+
build: "145",
|
|
7130
|
+
date: "2023-09-12T07:32:22+00:00",
|
|
7131
|
+
commit: "ed3fcc8c067394b20b59a6f3d6725304c2385d2d",
|
|
7132
|
+
dependencies: {"@js-soft/logging-abstractions":"^1.0.0","@nmshd/iql":"^0.0.3","easy-tsnameof":"^3.0.6","mocha-param":"^2.0.1"},
|
|
7137
7133
|
libraries: {
|
|
7138
7134
|
serval: ts_serval_1.buildInformation,
|
|
7139
7135
|
crypto: crypto_1.buildInformation,
|
|
@@ -7166,10 +7162,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
7166
7162
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
7167
7163
|
};
|
|
7168
7164
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
7165
|
+
__exportStar(__webpack_require__(/*! ./ContentJSON */ "./dist/ContentJSON.js"), exports);
|
|
7169
7166
|
__exportStar(__webpack_require__(/*! ./attributes */ "./dist/attributes/index.js"), exports);
|
|
7170
7167
|
__exportStar(__webpack_require__(/*! ./buildInformation */ "./dist/buildInformation.js"), exports);
|
|
7171
|
-
__exportStar(__webpack_require__(/*! ./ContentJSON */ "./dist/ContentJSON.js"), exports);
|
|
7172
7168
|
__exportStar(__webpack_require__(/*! ./messages/Mail */ "./dist/messages/Mail.js"), exports);
|
|
7169
|
+
__exportStar(__webpack_require__(/*! ./notifications */ "./dist/notifications/index.js"), exports);
|
|
7173
7170
|
__exportStar(__webpack_require__(/*! ./relationships */ "./dist/relationships/index.js"), exports);
|
|
7174
7171
|
__exportStar(__webpack_require__(/*! ./requests */ "./dist/requests/index.js"), exports);
|
|
7175
7172
|
//# sourceMappingURL=index.js.map
|
|
@@ -7214,6 +7211,7 @@ let Mail = class Mail extends ts_serval_1.Serializable {
|
|
|
7214
7211
|
return super.toJSON(verbose, serializeAsString);
|
|
7215
7212
|
}
|
|
7216
7213
|
};
|
|
7214
|
+
exports.Mail = Mail;
|
|
7217
7215
|
__decorate([
|
|
7218
7216
|
(0, ts_serval_1.serialize)({ type: transport_1.CoreAddress }),
|
|
7219
7217
|
(0, ts_serval_1.validate)({ customValidator: (v) => (v.length < 1 ? "may not be empty" : undefined) }),
|
|
@@ -7234,14 +7232,183 @@ __decorate([
|
|
|
7234
7232
|
(0, ts_serval_1.validate)({ max: 50000 }),
|
|
7235
7233
|
__metadata("design:type", String)
|
|
7236
7234
|
], Mail.prototype, "body", void 0);
|
|
7237
|
-
Mail = __decorate([
|
|
7235
|
+
exports.Mail = Mail = __decorate([
|
|
7238
7236
|
(0, ts_serval_1.type)("Mail")
|
|
7239
7237
|
], Mail);
|
|
7240
|
-
exports.Mail = Mail;
|
|
7241
7238
|
//# sourceMappingURL=Mail.js.map
|
|
7242
7239
|
|
|
7243
7240
|
/***/ }),
|
|
7244
7241
|
|
|
7242
|
+
/***/ "./dist/notifications/Notification.js":
|
|
7243
|
+
/*!********************************************!*\
|
|
7244
|
+
!*** ./dist/notifications/Notification.js ***!
|
|
7245
|
+
\********************************************/
|
|
7246
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
7247
|
+
|
|
7248
|
+
|
|
7249
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
7250
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7251
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
7252
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
7253
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7254
|
+
};
|
|
7255
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
7256
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
7257
|
+
};
|
|
7258
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
7259
|
+
exports.Notification = void 0;
|
|
7260
|
+
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
7261
|
+
const transport_1 = __webpack_require__(/*! @nmshd/transport */ "@nmshd/transport");
|
|
7262
|
+
const NotificationItem_1 = __webpack_require__(/*! ./NotificationItem */ "./dist/notifications/NotificationItem.js");
|
|
7263
|
+
let Notification = class Notification extends ts_serval_1.Serializable {
|
|
7264
|
+
static from(value) {
|
|
7265
|
+
return this.fromAny(value);
|
|
7266
|
+
}
|
|
7267
|
+
};
|
|
7268
|
+
exports.Notification = Notification;
|
|
7269
|
+
__decorate([
|
|
7270
|
+
(0, ts_serval_1.serialize)(),
|
|
7271
|
+
(0, ts_serval_1.validate)(),
|
|
7272
|
+
__metadata("design:type", transport_1.CoreId)
|
|
7273
|
+
], Notification.prototype, "id", void 0);
|
|
7274
|
+
__decorate([
|
|
7275
|
+
(0, ts_serval_1.serialize)({ type: NotificationItem_1.NotificationItem }),
|
|
7276
|
+
(0, ts_serval_1.validate)({ customValidator: (v) => (v.length < 1 ? "may not be empty" : undefined) }),
|
|
7277
|
+
__metadata("design:type", Array)
|
|
7278
|
+
], Notification.prototype, "items", void 0);
|
|
7279
|
+
exports.Notification = Notification = __decorate([
|
|
7280
|
+
(0, ts_serval_1.type)("Notification")
|
|
7281
|
+
], Notification);
|
|
7282
|
+
//# sourceMappingURL=Notification.js.map
|
|
7283
|
+
|
|
7284
|
+
/***/ }),
|
|
7285
|
+
|
|
7286
|
+
/***/ "./dist/notifications/NotificationItem.js":
|
|
7287
|
+
/*!************************************************!*\
|
|
7288
|
+
!*** ./dist/notifications/NotificationItem.js ***!
|
|
7289
|
+
\************************************************/
|
|
7290
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
7291
|
+
|
|
7292
|
+
|
|
7293
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
7294
|
+
exports.NotificationItem = void 0;
|
|
7295
|
+
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
7296
|
+
class NotificationItem extends ts_serval_1.Serializable {
|
|
7297
|
+
static from(value) {
|
|
7298
|
+
return this.fromAny(value);
|
|
7299
|
+
}
|
|
7300
|
+
}
|
|
7301
|
+
exports.NotificationItem = NotificationItem;
|
|
7302
|
+
//# sourceMappingURL=NotificationItem.js.map
|
|
7303
|
+
|
|
7304
|
+
/***/ }),
|
|
7305
|
+
|
|
7306
|
+
/***/ "./dist/notifications/index.js":
|
|
7307
|
+
/*!*************************************!*\
|
|
7308
|
+
!*** ./dist/notifications/index.js ***!
|
|
7309
|
+
\*************************************/
|
|
7310
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
7311
|
+
|
|
7312
|
+
|
|
7313
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7314
|
+
if (k2 === undefined) k2 = k;
|
|
7315
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7316
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7317
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7318
|
+
}
|
|
7319
|
+
Object.defineProperty(o, k2, desc);
|
|
7320
|
+
}) : (function(o, m, k, k2) {
|
|
7321
|
+
if (k2 === undefined) k2 = k;
|
|
7322
|
+
o[k2] = m[k];
|
|
7323
|
+
}));
|
|
7324
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
7325
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
7326
|
+
};
|
|
7327
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
7328
|
+
__exportStar(__webpack_require__(/*! ./Notification */ "./dist/notifications/Notification.js"), exports);
|
|
7329
|
+
__exportStar(__webpack_require__(/*! ./NotificationItem */ "./dist/notifications/NotificationItem.js"), exports);
|
|
7330
|
+
__exportStar(__webpack_require__(/*! ./items */ "./dist/notifications/items/index.js"), exports);
|
|
7331
|
+
//# sourceMappingURL=index.js.map
|
|
7332
|
+
|
|
7333
|
+
/***/ }),
|
|
7334
|
+
|
|
7335
|
+
/***/ "./dist/notifications/items/AttributeSucceededNotificationItem.js":
|
|
7336
|
+
/*!************************************************************************!*\
|
|
7337
|
+
!*** ./dist/notifications/items/AttributeSucceededNotificationItem.js ***!
|
|
7338
|
+
\************************************************************************/
|
|
7339
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
7340
|
+
|
|
7341
|
+
|
|
7342
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
7343
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7344
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
7345
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
7346
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7347
|
+
};
|
|
7348
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
7349
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
7350
|
+
};
|
|
7351
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
7352
|
+
exports.AttributeSucceededNotificationItem = void 0;
|
|
7353
|
+
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
7354
|
+
const transport_1 = __webpack_require__(/*! @nmshd/transport */ "@nmshd/transport");
|
|
7355
|
+
const attributes_1 = __webpack_require__(/*! ../../attributes */ "./dist/attributes/index.js");
|
|
7356
|
+
const NotificationItem_1 = __webpack_require__(/*! ../NotificationItem */ "./dist/notifications/NotificationItem.js");
|
|
7357
|
+
let AttributeSucceededNotificationItem = class AttributeSucceededNotificationItem extends NotificationItem_1.NotificationItem {
|
|
7358
|
+
static from(value) {
|
|
7359
|
+
return this.fromAny(value);
|
|
7360
|
+
}
|
|
7361
|
+
};
|
|
7362
|
+
exports.AttributeSucceededNotificationItem = AttributeSucceededNotificationItem;
|
|
7363
|
+
__decorate([
|
|
7364
|
+
(0, ts_serval_1.validate)(),
|
|
7365
|
+
(0, ts_serval_1.serialize)(),
|
|
7366
|
+
__metadata("design:type", transport_1.CoreId)
|
|
7367
|
+
], AttributeSucceededNotificationItem.prototype, "succeededAttributeId", void 0);
|
|
7368
|
+
__decorate([
|
|
7369
|
+
(0, ts_serval_1.validate)(),
|
|
7370
|
+
(0, ts_serval_1.serialize)(),
|
|
7371
|
+
__metadata("design:type", transport_1.CoreId)
|
|
7372
|
+
], AttributeSucceededNotificationItem.prototype, "newAttributeId", void 0);
|
|
7373
|
+
__decorate([
|
|
7374
|
+
(0, ts_serval_1.validate)(),
|
|
7375
|
+
(0, ts_serval_1.serialize)({ unionTypes: [attributes_1.IdentityAttribute, attributes_1.RelationshipAttribute] }),
|
|
7376
|
+
__metadata("design:type", Object)
|
|
7377
|
+
], AttributeSucceededNotificationItem.prototype, "attribute", void 0);
|
|
7378
|
+
exports.AttributeSucceededNotificationItem = AttributeSucceededNotificationItem = __decorate([
|
|
7379
|
+
(0, ts_serval_1.type)("AttributeSucceededNotificationItem")
|
|
7380
|
+
], AttributeSucceededNotificationItem);
|
|
7381
|
+
//# sourceMappingURL=AttributeSucceededNotificationItem.js.map
|
|
7382
|
+
|
|
7383
|
+
/***/ }),
|
|
7384
|
+
|
|
7385
|
+
/***/ "./dist/notifications/items/index.js":
|
|
7386
|
+
/*!*******************************************!*\
|
|
7387
|
+
!*** ./dist/notifications/items/index.js ***!
|
|
7388
|
+
\*******************************************/
|
|
7389
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
7390
|
+
|
|
7391
|
+
|
|
7392
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7393
|
+
if (k2 === undefined) k2 = k;
|
|
7394
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7395
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7396
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7397
|
+
}
|
|
7398
|
+
Object.defineProperty(o, k2, desc);
|
|
7399
|
+
}) : (function(o, m, k, k2) {
|
|
7400
|
+
if (k2 === undefined) k2 = k;
|
|
7401
|
+
o[k2] = m[k];
|
|
7402
|
+
}));
|
|
7403
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
7404
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
7405
|
+
};
|
|
7406
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
7407
|
+
__exportStar(__webpack_require__(/*! ./AttributeSucceededNotificationItem */ "./dist/notifications/items/AttributeSucceededNotificationItem.js"), exports);
|
|
7408
|
+
//# sourceMappingURL=index.js.map
|
|
7409
|
+
|
|
7410
|
+
/***/ }),
|
|
7411
|
+
|
|
7245
7412
|
/***/ "./dist/relationships/RelationshipCreationChangeRequestContent.js":
|
|
7246
7413
|
/*!************************************************************************!*\
|
|
7247
7414
|
!*** ./dist/relationships/RelationshipCreationChangeRequestContent.js ***!
|
|
@@ -7270,15 +7437,15 @@ let RelationshipCreationChangeRequestContent = class RelationshipCreationChangeR
|
|
|
7270
7437
|
return super.toJSON(verbose, serializeAsString);
|
|
7271
7438
|
}
|
|
7272
7439
|
};
|
|
7440
|
+
exports.RelationshipCreationChangeRequestContent = RelationshipCreationChangeRequestContent;
|
|
7273
7441
|
__decorate([
|
|
7274
7442
|
(0, ts_serval_1.serialize)(),
|
|
7275
7443
|
(0, ts_serval_1.validate)(),
|
|
7276
7444
|
__metadata("design:type", Response_1.Response)
|
|
7277
7445
|
], RelationshipCreationChangeRequestContent.prototype, "response", void 0);
|
|
7278
|
-
RelationshipCreationChangeRequestContent = __decorate([
|
|
7446
|
+
exports.RelationshipCreationChangeRequestContent = RelationshipCreationChangeRequestContent = __decorate([
|
|
7279
7447
|
(0, ts_serval_1.type)("RelationshipCreationChangeRequestContent")
|
|
7280
7448
|
], RelationshipCreationChangeRequestContent);
|
|
7281
|
-
exports.RelationshipCreationChangeRequestContent = RelationshipCreationChangeRequestContent;
|
|
7282
7449
|
//# sourceMappingURL=RelationshipCreationChangeRequestContent.js.map
|
|
7283
7450
|
|
|
7284
7451
|
/***/ }),
|
|
@@ -7311,6 +7478,7 @@ let RelationshipTemplateContent = class RelationshipTemplateContent extends ts_s
|
|
|
7311
7478
|
return super.toJSON(verbose, serializeAsString);
|
|
7312
7479
|
}
|
|
7313
7480
|
};
|
|
7481
|
+
exports.RelationshipTemplateContent = RelationshipTemplateContent;
|
|
7314
7482
|
__decorate([
|
|
7315
7483
|
(0, ts_serval_1.serialize)(),
|
|
7316
7484
|
(0, ts_serval_1.validate)({ nullable: true, max: 200 }),
|
|
@@ -7331,10 +7499,9 @@ __decorate([
|
|
|
7331
7499
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
7332
7500
|
__metadata("design:type", Request_1.Request)
|
|
7333
7501
|
], RelationshipTemplateContent.prototype, "onExistingRelationship", void 0);
|
|
7334
|
-
RelationshipTemplateContent = __decorate([
|
|
7502
|
+
exports.RelationshipTemplateContent = RelationshipTemplateContent = __decorate([
|
|
7335
7503
|
(0, ts_serval_1.type)("RelationshipTemplateContent")
|
|
7336
7504
|
], RelationshipTemplateContent);
|
|
7337
|
-
exports.RelationshipTemplateContent = RelationshipTemplateContent;
|
|
7338
7505
|
//# sourceMappingURL=RelationshipTemplateContent.js.map
|
|
7339
7506
|
|
|
7340
7507
|
/***/ }),
|
|
@@ -7395,6 +7562,7 @@ let Request = class Request extends ts_serval_1.Serializable {
|
|
|
7395
7562
|
return super.toJSON(verbose, serializeAsString);
|
|
7396
7563
|
}
|
|
7397
7564
|
};
|
|
7565
|
+
exports.Request = Request;
|
|
7398
7566
|
__decorate([
|
|
7399
7567
|
(0, ts_serval_1.serialize)(),
|
|
7400
7568
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
@@ -7425,10 +7593,9 @@ __decorate([
|
|
|
7425
7593
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
7426
7594
|
__metadata("design:type", Object)
|
|
7427
7595
|
], Request.prototype, "metadata", void 0);
|
|
7428
|
-
Request = __decorate([
|
|
7596
|
+
exports.Request = Request = __decorate([
|
|
7429
7597
|
(0, ts_serval_1.type)("Request")
|
|
7430
7598
|
], Request);
|
|
7431
|
-
exports.Request = Request;
|
|
7432
7599
|
//# sourceMappingURL=Request.js.map
|
|
7433
7600
|
|
|
7434
7601
|
/***/ }),
|
|
@@ -7457,6 +7624,7 @@ class RequestItem extends ts_serval_1.Serializable {
|
|
|
7457
7624
|
return super.toJSON(verbose, serializeAsString);
|
|
7458
7625
|
}
|
|
7459
7626
|
}
|
|
7627
|
+
exports.RequestItem = RequestItem;
|
|
7460
7628
|
__decorate([
|
|
7461
7629
|
(0, ts_serval_1.serialize)(),
|
|
7462
7630
|
(0, ts_serval_1.validate)({ nullable: true, max: 200 }),
|
|
@@ -7482,7 +7650,6 @@ __decorate([
|
|
|
7482
7650
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
7483
7651
|
__metadata("design:type", Boolean)
|
|
7484
7652
|
], RequestItem.prototype, "requireManualDecision", void 0);
|
|
7485
|
-
exports.RequestItem = RequestItem;
|
|
7486
7653
|
//# sourceMappingURL=RequestItem.js.map
|
|
7487
7654
|
|
|
7488
7655
|
/***/ }),
|
|
@@ -7524,6 +7691,7 @@ let RequestItemGroup = RequestItemGroup_1 = class RequestItemGroup extends ts_se
|
|
|
7524
7691
|
return super.toJSON(verbose, serializeAsString);
|
|
7525
7692
|
}
|
|
7526
7693
|
};
|
|
7694
|
+
exports.RequestItemGroup = RequestItemGroup;
|
|
7527
7695
|
__decorate([
|
|
7528
7696
|
(0, ts_serval_1.serialize)(),
|
|
7529
7697
|
(0, ts_serval_1.validate)({ nullable: true, max: 200 }),
|
|
@@ -7549,10 +7717,9 @@ __decorate([
|
|
|
7549
7717
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
7550
7718
|
__metadata("design:type", Object)
|
|
7551
7719
|
], RequestItemGroup.prototype, "metadata", void 0);
|
|
7552
|
-
RequestItemGroup = RequestItemGroup_1 = __decorate([
|
|
7720
|
+
exports.RequestItemGroup = RequestItemGroup = RequestItemGroup_1 = __decorate([
|
|
7553
7721
|
(0, ts_serval_1.type)("RequestItemGroup")
|
|
7554
7722
|
], RequestItemGroup);
|
|
7555
|
-
exports.RequestItemGroup = RequestItemGroup;
|
|
7556
7723
|
//# sourceMappingURL=RequestItemGroup.js.map
|
|
7557
7724
|
|
|
7558
7725
|
/***/ }),
|
|
@@ -7586,6 +7753,7 @@ let ResponseWrapper = class ResponseWrapper extends ts_serval_1.Serializable {
|
|
|
7586
7753
|
return super.toJSON(verbose, serializeAsString);
|
|
7587
7754
|
}
|
|
7588
7755
|
};
|
|
7756
|
+
exports.ResponseWrapper = ResponseWrapper;
|
|
7589
7757
|
__decorate([
|
|
7590
7758
|
(0, ts_serval_1.serialize)(),
|
|
7591
7759
|
(0, ts_serval_1.validate)(),
|
|
@@ -7606,10 +7774,9 @@ __decorate([
|
|
|
7606
7774
|
(0, ts_serval_1.validate)(),
|
|
7607
7775
|
__metadata("design:type", response_1.Response)
|
|
7608
7776
|
], ResponseWrapper.prototype, "response", void 0);
|
|
7609
|
-
ResponseWrapper = __decorate([
|
|
7777
|
+
exports.ResponseWrapper = ResponseWrapper = __decorate([
|
|
7610
7778
|
(0, ts_serval_1.type)("ResponseWrapper")
|
|
7611
7779
|
], ResponseWrapper);
|
|
7612
|
-
exports.ResponseWrapper = ResponseWrapper;
|
|
7613
7780
|
//# sourceMappingURL=ResponseWrapper.js.map
|
|
7614
7781
|
|
|
7615
7782
|
/***/ }),
|
|
@@ -7671,10 +7838,10 @@ let AuthenticationRequestItem = class AuthenticationRequestItem extends RequestI
|
|
|
7671
7838
|
return super.toJSON(verbose, serializeAsString);
|
|
7672
7839
|
}
|
|
7673
7840
|
};
|
|
7674
|
-
AuthenticationRequestItem =
|
|
7841
|
+
exports.AuthenticationRequestItem = AuthenticationRequestItem;
|
|
7842
|
+
exports.AuthenticationRequestItem = AuthenticationRequestItem = __decorate([
|
|
7675
7843
|
(0, ts_serval_1.type)("AuthenticationRequestItem")
|
|
7676
7844
|
], AuthenticationRequestItem);
|
|
7677
|
-
exports.AuthenticationRequestItem = AuthenticationRequestItem;
|
|
7678
7845
|
//# sourceMappingURL=AuthenticationRequestItem.js.map
|
|
7679
7846
|
|
|
7680
7847
|
/***/ }),
|
|
@@ -7707,6 +7874,7 @@ let ConsentRequestItem = class ConsentRequestItem extends RequestItem_1.RequestI
|
|
|
7707
7874
|
return super.toJSON(verbose, serializeAsString);
|
|
7708
7875
|
}
|
|
7709
7876
|
};
|
|
7877
|
+
exports.ConsentRequestItem = ConsentRequestItem;
|
|
7710
7878
|
__decorate([
|
|
7711
7879
|
(0, ts_serval_1.serialize)(),
|
|
7712
7880
|
(0, ts_serval_1.validate)({ max: 2000 }),
|
|
@@ -7724,10 +7892,9 @@ __decorate([
|
|
|
7724
7892
|
}),
|
|
7725
7893
|
__metadata("design:type", String)
|
|
7726
7894
|
], ConsentRequestItem.prototype, "link", void 0);
|
|
7727
|
-
ConsentRequestItem = __decorate([
|
|
7895
|
+
exports.ConsentRequestItem = ConsentRequestItem = __decorate([
|
|
7728
7896
|
(0, ts_serval_1.type)("ConsentRequestItem")
|
|
7729
7897
|
], ConsentRequestItem);
|
|
7730
|
-
exports.ConsentRequestItem = ConsentRequestItem;
|
|
7731
7898
|
//# sourceMappingURL=ConsentRequestItem.js.map
|
|
7732
7899
|
|
|
7733
7900
|
/***/ }),
|
|
@@ -7761,15 +7928,15 @@ let CreateAttributeAcceptResponseItem = class CreateAttributeAcceptResponseItem
|
|
|
7761
7928
|
return super.toJSON(verbose, serializeAsString);
|
|
7762
7929
|
}
|
|
7763
7930
|
};
|
|
7931
|
+
exports.CreateAttributeAcceptResponseItem = CreateAttributeAcceptResponseItem;
|
|
7764
7932
|
__decorate([
|
|
7765
7933
|
(0, ts_serval_1.serialize)(),
|
|
7766
7934
|
(0, ts_serval_1.validate)(),
|
|
7767
7935
|
__metadata("design:type", transport_1.CoreId)
|
|
7768
7936
|
], CreateAttributeAcceptResponseItem.prototype, "attributeId", void 0);
|
|
7769
|
-
CreateAttributeAcceptResponseItem = __decorate([
|
|
7937
|
+
exports.CreateAttributeAcceptResponseItem = CreateAttributeAcceptResponseItem = __decorate([
|
|
7770
7938
|
(0, ts_serval_1.type)("CreateAttributeAcceptResponseItem")
|
|
7771
7939
|
], CreateAttributeAcceptResponseItem);
|
|
7772
|
-
exports.CreateAttributeAcceptResponseItem = CreateAttributeAcceptResponseItem;
|
|
7773
7940
|
//# sourceMappingURL=CreateAttributeAcceptResponseItem.js.map
|
|
7774
7941
|
|
|
7775
7942
|
/***/ }),
|
|
@@ -7803,15 +7970,15 @@ let CreateAttributeRequestItem = class CreateAttributeRequestItem extends Reques
|
|
|
7803
7970
|
return super.toJSON(verbose, serializeAsString);
|
|
7804
7971
|
}
|
|
7805
7972
|
};
|
|
7973
|
+
exports.CreateAttributeRequestItem = CreateAttributeRequestItem;
|
|
7806
7974
|
__decorate([
|
|
7807
7975
|
(0, ts_serval_1.validate)(),
|
|
7808
7976
|
(0, ts_serval_1.serialize)({ unionTypes: [attributes_1.RelationshipAttribute, attributes_1.IdentityAttribute] }),
|
|
7809
7977
|
__metadata("design:type", Object)
|
|
7810
7978
|
], CreateAttributeRequestItem.prototype, "attribute", void 0);
|
|
7811
|
-
CreateAttributeRequestItem = __decorate([
|
|
7979
|
+
exports.CreateAttributeRequestItem = CreateAttributeRequestItem = __decorate([
|
|
7812
7980
|
(0, ts_serval_1.type)("CreateAttributeRequestItem")
|
|
7813
7981
|
], CreateAttributeRequestItem);
|
|
7814
|
-
exports.CreateAttributeRequestItem = CreateAttributeRequestItem;
|
|
7815
7982
|
//# sourceMappingURL=CreateAttributeRequestItem.js.map
|
|
7816
7983
|
|
|
7817
7984
|
/***/ }),
|
|
@@ -7844,15 +8011,15 @@ let FreeTextAcceptResponseItem = class FreeTextAcceptResponseItem extends respon
|
|
|
7844
8011
|
return super.toJSON(verbose, serializeAsString);
|
|
7845
8012
|
}
|
|
7846
8013
|
};
|
|
8014
|
+
exports.FreeTextAcceptResponseItem = FreeTextAcceptResponseItem;
|
|
7847
8015
|
__decorate([
|
|
7848
8016
|
(0, ts_serval_1.serialize)(),
|
|
7849
8017
|
(0, ts_serval_1.validate)(),
|
|
7850
8018
|
__metadata("design:type", String)
|
|
7851
8019
|
], FreeTextAcceptResponseItem.prototype, "freeText", void 0);
|
|
7852
|
-
FreeTextAcceptResponseItem = __decorate([
|
|
8020
|
+
exports.FreeTextAcceptResponseItem = FreeTextAcceptResponseItem = __decorate([
|
|
7853
8021
|
(0, ts_serval_1.type)("FreeTextAcceptResponseItem")
|
|
7854
8022
|
], FreeTextAcceptResponseItem);
|
|
7855
|
-
exports.FreeTextAcceptResponseItem = FreeTextAcceptResponseItem;
|
|
7856
8023
|
//# sourceMappingURL=FreeTextAcceptResponseItem.js.map
|
|
7857
8024
|
|
|
7858
8025
|
/***/ }),
|
|
@@ -7885,15 +8052,15 @@ let FreeTextRequestItem = class FreeTextRequestItem extends RequestItem_1.Reques
|
|
|
7885
8052
|
return super.toJSON(verbose, serializeAsString);
|
|
7886
8053
|
}
|
|
7887
8054
|
};
|
|
8055
|
+
exports.FreeTextRequestItem = FreeTextRequestItem;
|
|
7888
8056
|
__decorate([
|
|
7889
8057
|
(0, ts_serval_1.serialize)(),
|
|
7890
8058
|
(0, ts_serval_1.validate)(),
|
|
7891
8059
|
__metadata("design:type", String)
|
|
7892
8060
|
], FreeTextRequestItem.prototype, "freeText", void 0);
|
|
7893
|
-
FreeTextRequestItem = __decorate([
|
|
8061
|
+
exports.FreeTextRequestItem = FreeTextRequestItem = __decorate([
|
|
7894
8062
|
(0, ts_serval_1.type)("FreeTextRequestItem")
|
|
7895
8063
|
], FreeTextRequestItem);
|
|
7896
|
-
exports.FreeTextRequestItem = FreeTextRequestItem;
|
|
7897
8064
|
//# sourceMappingURL=FreeTextRequestItem.js.map
|
|
7898
8065
|
|
|
7899
8066
|
/***/ }),
|
|
@@ -7934,8 +8101,6 @@ __exportStar(__webpack_require__(/*! ./registerAttributeListener/RegisterAttribu
|
|
|
7934
8101
|
__exportStar(__webpack_require__(/*! ./registerAttributeListener/RegisterAttributeListenerRequestItem */ "./dist/requests/items/registerAttributeListener/RegisterAttributeListenerRequestItem.js"), exports);
|
|
7935
8102
|
__exportStar(__webpack_require__(/*! ./shareAttribute/ShareAttributeAcceptResponseItem */ "./dist/requests/items/shareAttribute/ShareAttributeAcceptResponseItem.js"), exports);
|
|
7936
8103
|
__exportStar(__webpack_require__(/*! ./shareAttribute/ShareAttributeRequestItem */ "./dist/requests/items/shareAttribute/ShareAttributeRequestItem.js"), exports);
|
|
7937
|
-
__exportStar(__webpack_require__(/*! ./succeedAttribute/SucceedAttributeAcceptResponseItem */ "./dist/requests/items/succeedAttribute/SucceedAttributeAcceptResponseItem.js"), exports);
|
|
7938
|
-
__exportStar(__webpack_require__(/*! ./succeedAttribute/SucceedAttributeRequestItem */ "./dist/requests/items/succeedAttribute/SucceedAttributeRequestItem.js"), exports);
|
|
7939
8104
|
//# sourceMappingURL=index.js.map
|
|
7940
8105
|
|
|
7941
8106
|
/***/ }),
|
|
@@ -7970,6 +8135,7 @@ let ProposeAttributeAcceptResponseItem = class ProposeAttributeAcceptResponseIte
|
|
|
7970
8135
|
return super.toJSON(verbose, serializeAsString);
|
|
7971
8136
|
}
|
|
7972
8137
|
};
|
|
8138
|
+
exports.ProposeAttributeAcceptResponseItem = ProposeAttributeAcceptResponseItem;
|
|
7973
8139
|
__decorate([
|
|
7974
8140
|
(0, ts_serval_1.serialize)(),
|
|
7975
8141
|
(0, ts_serval_1.validate)(),
|
|
@@ -7980,10 +8146,9 @@ __decorate([
|
|
|
7980
8146
|
(0, ts_serval_1.validate)(),
|
|
7981
8147
|
__metadata("design:type", Object)
|
|
7982
8148
|
], ProposeAttributeAcceptResponseItem.prototype, "attribute", void 0);
|
|
7983
|
-
ProposeAttributeAcceptResponseItem = __decorate([
|
|
8149
|
+
exports.ProposeAttributeAcceptResponseItem = ProposeAttributeAcceptResponseItem = __decorate([
|
|
7984
8150
|
(0, ts_serval_1.type)("ProposeAttributeAcceptResponseItem")
|
|
7985
8151
|
], ProposeAttributeAcceptResponseItem);
|
|
7986
|
-
exports.ProposeAttributeAcceptResponseItem = ProposeAttributeAcceptResponseItem;
|
|
7987
8152
|
//# sourceMappingURL=ProposeAttributeAcceptResponseItem.js.map
|
|
7988
8153
|
|
|
7989
8154
|
/***/ }),
|
|
@@ -8039,6 +8204,7 @@ let ProposeAttributeRequestItem = ProposeAttributeRequestItem_1 = class ProposeA
|
|
|
8039
8204
|
return super.toJSON(verbose, serializeAsString);
|
|
8040
8205
|
}
|
|
8041
8206
|
};
|
|
8207
|
+
exports.ProposeAttributeRequestItem = ProposeAttributeRequestItem;
|
|
8042
8208
|
__decorate([
|
|
8043
8209
|
(0, ts_serval_1.serialize)({ unionTypes: [attributes_1.IdentityAttributeQuery, attributes_1.RelationshipAttributeQuery, attributes_1.IQLQuery] }),
|
|
8044
8210
|
(0, ts_serval_1.validate)(),
|
|
@@ -8049,10 +8215,9 @@ __decorate([
|
|
|
8049
8215
|
(0, ts_serval_1.validate)(),
|
|
8050
8216
|
__metadata("design:type", Object)
|
|
8051
8217
|
], ProposeAttributeRequestItem.prototype, "attribute", void 0);
|
|
8052
|
-
ProposeAttributeRequestItem = ProposeAttributeRequestItem_1 = __decorate([
|
|
8218
|
+
exports.ProposeAttributeRequestItem = ProposeAttributeRequestItem = ProposeAttributeRequestItem_1 = __decorate([
|
|
8053
8219
|
(0, ts_serval_1.type)("ProposeAttributeRequestItem")
|
|
8054
8220
|
], ProposeAttributeRequestItem);
|
|
8055
|
-
exports.ProposeAttributeRequestItem = ProposeAttributeRequestItem;
|
|
8056
8221
|
//# sourceMappingURL=ProposeAttributeRequestItem.js.map
|
|
8057
8222
|
|
|
8058
8223
|
/***/ }),
|
|
@@ -8087,6 +8252,7 @@ let ReadAttributeAcceptResponseItem = class ReadAttributeAcceptResponseItem exte
|
|
|
8087
8252
|
return super.toJSON(verbose, serializeAsString);
|
|
8088
8253
|
}
|
|
8089
8254
|
};
|
|
8255
|
+
exports.ReadAttributeAcceptResponseItem = ReadAttributeAcceptResponseItem;
|
|
8090
8256
|
__decorate([
|
|
8091
8257
|
(0, ts_serval_1.serialize)(),
|
|
8092
8258
|
(0, ts_serval_1.validate)(),
|
|
@@ -8097,10 +8263,9 @@ __decorate([
|
|
|
8097
8263
|
(0, ts_serval_1.validate)(),
|
|
8098
8264
|
__metadata("design:type", Object)
|
|
8099
8265
|
], ReadAttributeAcceptResponseItem.prototype, "attribute", void 0);
|
|
8100
|
-
ReadAttributeAcceptResponseItem = __decorate([
|
|
8266
|
+
exports.ReadAttributeAcceptResponseItem = ReadAttributeAcceptResponseItem = __decorate([
|
|
8101
8267
|
(0, ts_serval_1.type)("ReadAttributeAcceptResponseItem")
|
|
8102
8268
|
], ReadAttributeAcceptResponseItem);
|
|
8103
|
-
exports.ReadAttributeAcceptResponseItem = ReadAttributeAcceptResponseItem;
|
|
8104
8269
|
//# sourceMappingURL=ReadAttributeAcceptResponseItem.js.map
|
|
8105
8270
|
|
|
8106
8271
|
/***/ }),
|
|
@@ -8131,6 +8296,7 @@ let ReadAttributeRequestItem = class ReadAttributeRequestItem extends RequestIte
|
|
|
8131
8296
|
return this.fromAny(value);
|
|
8132
8297
|
}
|
|
8133
8298
|
};
|
|
8299
|
+
exports.ReadAttributeRequestItem = ReadAttributeRequestItem;
|
|
8134
8300
|
__decorate([
|
|
8135
8301
|
(0, ts_serval_1.serialize)({
|
|
8136
8302
|
unionTypes: [attributes_1.IdentityAttributeQuery, attributes_1.RelationshipAttributeQuery, attributes_1.ThirdPartyRelationshipAttributeQuery, attributes_1.IQLQuery]
|
|
@@ -8138,10 +8304,9 @@ __decorate([
|
|
|
8138
8304
|
(0, ts_serval_1.validate)(),
|
|
8139
8305
|
__metadata("design:type", Object)
|
|
8140
8306
|
], ReadAttributeRequestItem.prototype, "query", void 0);
|
|
8141
|
-
ReadAttributeRequestItem = __decorate([
|
|
8307
|
+
exports.ReadAttributeRequestItem = ReadAttributeRequestItem = __decorate([
|
|
8142
8308
|
(0, ts_serval_1.type)("ReadAttributeRequestItem")
|
|
8143
8309
|
], ReadAttributeRequestItem);
|
|
8144
|
-
exports.ReadAttributeRequestItem = ReadAttributeRequestItem;
|
|
8145
8310
|
//# sourceMappingURL=ReadAttributeRequestItem.js.map
|
|
8146
8311
|
|
|
8147
8312
|
/***/ }),
|
|
@@ -8174,15 +8339,15 @@ let RegisterAttributeListenerAcceptResponseItem = class RegisterAttributeListene
|
|
|
8174
8339
|
return super.toJSON(verbose, serializeAsString);
|
|
8175
8340
|
}
|
|
8176
8341
|
};
|
|
8342
|
+
exports.RegisterAttributeListenerAcceptResponseItem = RegisterAttributeListenerAcceptResponseItem;
|
|
8177
8343
|
__decorate([
|
|
8178
8344
|
(0, ts_serval_1.serialize)(),
|
|
8179
8345
|
(0, ts_serval_1.validate)({ max: 30 }),
|
|
8180
8346
|
__metadata("design:type", String)
|
|
8181
8347
|
], RegisterAttributeListenerAcceptResponseItem.prototype, "listenerId", void 0);
|
|
8182
|
-
RegisterAttributeListenerAcceptResponseItem = __decorate([
|
|
8348
|
+
exports.RegisterAttributeListenerAcceptResponseItem = RegisterAttributeListenerAcceptResponseItem = __decorate([
|
|
8183
8349
|
(0, ts_serval_1.type)("RegisterAttributeListenerAcceptResponseItem")
|
|
8184
8350
|
], RegisterAttributeListenerAcceptResponseItem);
|
|
8185
|
-
exports.RegisterAttributeListenerAcceptResponseItem = RegisterAttributeListenerAcceptResponseItem;
|
|
8186
8351
|
//# sourceMappingURL=RegisterAttributeListenerAcceptResponseItem.js.map
|
|
8187
8352
|
|
|
8188
8353
|
/***/ }),
|
|
@@ -8216,6 +8381,7 @@ let RegisterAttributeListenerRequestItem = class RegisterAttributeListenerReques
|
|
|
8216
8381
|
return super.toJSON(verbose, serializeAsString);
|
|
8217
8382
|
}
|
|
8218
8383
|
};
|
|
8384
|
+
exports.RegisterAttributeListenerRequestItem = RegisterAttributeListenerRequestItem;
|
|
8219
8385
|
__decorate([
|
|
8220
8386
|
(0, ts_serval_1.serialize)({
|
|
8221
8387
|
unionTypes: [attributes_1.IdentityAttributeQuery, attributes_1.ThirdPartyRelationshipAttributeQuery]
|
|
@@ -8223,10 +8389,9 @@ __decorate([
|
|
|
8223
8389
|
(0, ts_serval_1.validate)(),
|
|
8224
8390
|
__metadata("design:type", Object)
|
|
8225
8391
|
], RegisterAttributeListenerRequestItem.prototype, "query", void 0);
|
|
8226
|
-
RegisterAttributeListenerRequestItem = __decorate([
|
|
8392
|
+
exports.RegisterAttributeListenerRequestItem = RegisterAttributeListenerRequestItem = __decorate([
|
|
8227
8393
|
(0, ts_serval_1.type)("RegisterAttributeListenerRequestItem")
|
|
8228
8394
|
], RegisterAttributeListenerRequestItem);
|
|
8229
|
-
exports.RegisterAttributeListenerRequestItem = RegisterAttributeListenerRequestItem;
|
|
8230
8395
|
//# sourceMappingURL=RegisterAttributeListenerRequestItem.js.map
|
|
8231
8396
|
|
|
8232
8397
|
/***/ }),
|
|
@@ -8260,15 +8425,15 @@ let ShareAttributeAcceptResponseItem = class ShareAttributeAcceptResponseItem ex
|
|
|
8260
8425
|
return super.toJSON(verbose, serializeAsString);
|
|
8261
8426
|
}
|
|
8262
8427
|
};
|
|
8428
|
+
exports.ShareAttributeAcceptResponseItem = ShareAttributeAcceptResponseItem;
|
|
8263
8429
|
__decorate([
|
|
8264
8430
|
(0, ts_serval_1.serialize)(),
|
|
8265
8431
|
(0, ts_serval_1.validate)(),
|
|
8266
8432
|
__metadata("design:type", transport_1.CoreId)
|
|
8267
8433
|
], ShareAttributeAcceptResponseItem.prototype, "attributeId", void 0);
|
|
8268
|
-
ShareAttributeAcceptResponseItem = __decorate([
|
|
8434
|
+
exports.ShareAttributeAcceptResponseItem = ShareAttributeAcceptResponseItem = __decorate([
|
|
8269
8435
|
(0, ts_serval_1.type)("ShareAttributeAcceptResponseItem")
|
|
8270
8436
|
], ShareAttributeAcceptResponseItem);
|
|
8271
|
-
exports.ShareAttributeAcceptResponseItem = ShareAttributeAcceptResponseItem;
|
|
8272
8437
|
//# sourceMappingURL=ShareAttributeAcceptResponseItem.js.map
|
|
8273
8438
|
|
|
8274
8439
|
/***/ }),
|
|
@@ -8303,6 +8468,7 @@ let ShareAttributeRequestItem = class ShareAttributeRequestItem extends RequestI
|
|
|
8303
8468
|
return super.toJSON(verbose, serializeAsString);
|
|
8304
8469
|
}
|
|
8305
8470
|
};
|
|
8471
|
+
exports.ShareAttributeRequestItem = ShareAttributeRequestItem;
|
|
8306
8472
|
__decorate([
|
|
8307
8473
|
(0, ts_serval_1.serialize)({ unionTypes: [attributes_1.IdentityAttribute, attributes_1.RelationshipAttribute] }),
|
|
8308
8474
|
(0, ts_serval_1.validate)(),
|
|
@@ -8313,104 +8479,13 @@ __decorate([
|
|
|
8313
8479
|
(0, ts_serval_1.validate)(),
|
|
8314
8480
|
__metadata("design:type", transport_1.CoreId)
|
|
8315
8481
|
], ShareAttributeRequestItem.prototype, "sourceAttributeId", void 0);
|
|
8316
|
-
ShareAttributeRequestItem = __decorate([
|
|
8482
|
+
exports.ShareAttributeRequestItem = ShareAttributeRequestItem = __decorate([
|
|
8317
8483
|
(0, ts_serval_1.type)("ShareAttributeRequestItem")
|
|
8318
8484
|
], ShareAttributeRequestItem);
|
|
8319
|
-
exports.ShareAttributeRequestItem = ShareAttributeRequestItem;
|
|
8320
8485
|
//# sourceMappingURL=ShareAttributeRequestItem.js.map
|
|
8321
8486
|
|
|
8322
8487
|
/***/ }),
|
|
8323
8488
|
|
|
8324
|
-
/***/ "./dist/requests/items/succeedAttribute/SucceedAttributeAcceptResponseItem.js":
|
|
8325
|
-
/*!************************************************************************************!*\
|
|
8326
|
-
!*** ./dist/requests/items/succeedAttribute/SucceedAttributeAcceptResponseItem.js ***!
|
|
8327
|
-
\************************************************************************************/
|
|
8328
|
-
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
8329
|
-
|
|
8330
|
-
|
|
8331
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
8332
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
8333
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
8334
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
8335
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
8336
|
-
};
|
|
8337
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8338
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
8339
|
-
};
|
|
8340
|
-
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
8341
|
-
exports.SucceedAttributeAcceptResponseItem = void 0;
|
|
8342
|
-
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
8343
|
-
const transport_1 = __webpack_require__(/*! @nmshd/transport */ "@nmshd/transport");
|
|
8344
|
-
const response_1 = __webpack_require__(/*! ../../response */ "./dist/requests/response/index.js");
|
|
8345
|
-
let SucceedAttributeAcceptResponseItem = class SucceedAttributeAcceptResponseItem extends response_1.AcceptResponseItem {
|
|
8346
|
-
static from(value) {
|
|
8347
|
-
return this.fromAny(value);
|
|
8348
|
-
}
|
|
8349
|
-
toJSON(verbose, serializeAsString) {
|
|
8350
|
-
return super.toJSON(verbose, serializeAsString);
|
|
8351
|
-
}
|
|
8352
|
-
};
|
|
8353
|
-
__decorate([
|
|
8354
|
-
(0, ts_serval_1.serialize)(),
|
|
8355
|
-
(0, ts_serval_1.validate)(),
|
|
8356
|
-
__metadata("design:type", transport_1.CoreId)
|
|
8357
|
-
], SucceedAttributeAcceptResponseItem.prototype, "attributeId", void 0);
|
|
8358
|
-
SucceedAttributeAcceptResponseItem = __decorate([
|
|
8359
|
-
(0, ts_serval_1.type)("SucceedAttributeAcceptResponseItem")
|
|
8360
|
-
], SucceedAttributeAcceptResponseItem);
|
|
8361
|
-
exports.SucceedAttributeAcceptResponseItem = SucceedAttributeAcceptResponseItem;
|
|
8362
|
-
//# sourceMappingURL=SucceedAttributeAcceptResponseItem.js.map
|
|
8363
|
-
|
|
8364
|
-
/***/ }),
|
|
8365
|
-
|
|
8366
|
-
/***/ "./dist/requests/items/succeedAttribute/SucceedAttributeRequestItem.js":
|
|
8367
|
-
/*!*****************************************************************************!*\
|
|
8368
|
-
!*** ./dist/requests/items/succeedAttribute/SucceedAttributeRequestItem.js ***!
|
|
8369
|
-
\*****************************************************************************/
|
|
8370
|
-
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
8371
|
-
|
|
8372
|
-
|
|
8373
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
8374
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
8375
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
8376
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
8377
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
8378
|
-
};
|
|
8379
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8380
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
8381
|
-
};
|
|
8382
|
-
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
8383
|
-
exports.SucceedAttributeRequestItem = void 0;
|
|
8384
|
-
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
8385
|
-
const transport_1 = __webpack_require__(/*! @nmshd/transport */ "@nmshd/transport");
|
|
8386
|
-
const attributes_1 = __webpack_require__(/*! ../../../attributes */ "./dist/attributes/index.js");
|
|
8387
|
-
const RequestItem_1 = __webpack_require__(/*! ../../RequestItem */ "./dist/requests/RequestItem.js");
|
|
8388
|
-
let SucceedAttributeRequestItem = class SucceedAttributeRequestItem extends RequestItem_1.RequestItem {
|
|
8389
|
-
static from(value) {
|
|
8390
|
-
return this.fromAny(value);
|
|
8391
|
-
}
|
|
8392
|
-
toJSON(verbose, serializeAsString) {
|
|
8393
|
-
return super.toJSON(verbose, serializeAsString);
|
|
8394
|
-
}
|
|
8395
|
-
};
|
|
8396
|
-
__decorate([
|
|
8397
|
-
(0, ts_serval_1.validate)(),
|
|
8398
|
-
(0, ts_serval_1.serialize)(),
|
|
8399
|
-
__metadata("design:type", transport_1.CoreId)
|
|
8400
|
-
], SucceedAttributeRequestItem.prototype, "succeededAttributeId", void 0);
|
|
8401
|
-
__decorate([
|
|
8402
|
-
(0, ts_serval_1.validate)(),
|
|
8403
|
-
(0, ts_serval_1.serialize)({ unionTypes: [attributes_1.IdentityAttribute, attributes_1.RelationshipAttribute] }),
|
|
8404
|
-
__metadata("design:type", Object)
|
|
8405
|
-
], SucceedAttributeRequestItem.prototype, "attribute", void 0);
|
|
8406
|
-
SucceedAttributeRequestItem = __decorate([
|
|
8407
|
-
(0, ts_serval_1.type)("SucceedAttributeRequestItem")
|
|
8408
|
-
], SucceedAttributeRequestItem);
|
|
8409
|
-
exports.SucceedAttributeRequestItem = SucceedAttributeRequestItem;
|
|
8410
|
-
//# sourceMappingURL=SucceedAttributeRequestItem.js.map
|
|
8411
|
-
|
|
8412
|
-
/***/ }),
|
|
8413
|
-
|
|
8414
8489
|
/***/ "./dist/requests/response/AcceptResponseItem.js":
|
|
8415
8490
|
/*!******************************************************!*\
|
|
8416
8491
|
!*** ./dist/requests/response/AcceptResponseItem.js ***!
|
|
@@ -8436,10 +8511,10 @@ let AcceptResponseItem = class AcceptResponseItem extends ResponseItem_1.Respons
|
|
|
8436
8511
|
return super.toJSON(verbose, serializeAsString);
|
|
8437
8512
|
}
|
|
8438
8513
|
};
|
|
8439
|
-
AcceptResponseItem =
|
|
8514
|
+
exports.AcceptResponseItem = AcceptResponseItem;
|
|
8515
|
+
exports.AcceptResponseItem = AcceptResponseItem = __decorate([
|
|
8440
8516
|
(0, ts_serval_1.type)("AcceptResponseItem")
|
|
8441
8517
|
], AcceptResponseItem);
|
|
8442
|
-
exports.AcceptResponseItem = AcceptResponseItem;
|
|
8443
8518
|
//# sourceMappingURL=AcceptResponseItem.js.map
|
|
8444
8519
|
|
|
8445
8520
|
/***/ }),
|
|
@@ -8472,6 +8547,7 @@ let ErrorResponseItem = class ErrorResponseItem extends ResponseItem_1.ResponseI
|
|
|
8472
8547
|
return super.toJSON(verbose, serializeAsString);
|
|
8473
8548
|
}
|
|
8474
8549
|
};
|
|
8550
|
+
exports.ErrorResponseItem = ErrorResponseItem;
|
|
8475
8551
|
__decorate([
|
|
8476
8552
|
(0, ts_serval_1.serialize)(),
|
|
8477
8553
|
(0, ts_serval_1.validate)({ max: 200 }),
|
|
@@ -8482,10 +8558,9 @@ __decorate([
|
|
|
8482
8558
|
(0, ts_serval_1.validate)({ max: 1000 }),
|
|
8483
8559
|
__metadata("design:type", String)
|
|
8484
8560
|
], ErrorResponseItem.prototype, "message", void 0);
|
|
8485
|
-
ErrorResponseItem = __decorate([
|
|
8561
|
+
exports.ErrorResponseItem = ErrorResponseItem = __decorate([
|
|
8486
8562
|
(0, ts_serval_1.type)("ErrorResponseItem")
|
|
8487
8563
|
], ErrorResponseItem);
|
|
8488
|
-
exports.ErrorResponseItem = ErrorResponseItem;
|
|
8489
8564
|
//# sourceMappingURL=ErrorResponseItem.js.map
|
|
8490
8565
|
|
|
8491
8566
|
/***/ }),
|
|
@@ -8518,6 +8593,7 @@ let RejectResponseItem = class RejectResponseItem extends ResponseItem_1.Respons
|
|
|
8518
8593
|
return super.toJSON(verbose, serializeAsString);
|
|
8519
8594
|
}
|
|
8520
8595
|
};
|
|
8596
|
+
exports.RejectResponseItem = RejectResponseItem;
|
|
8521
8597
|
__decorate([
|
|
8522
8598
|
(0, ts_serval_1.serialize)(),
|
|
8523
8599
|
(0, ts_serval_1.validate)({ nullable: true, max: 200 }),
|
|
@@ -8528,10 +8604,9 @@ __decorate([
|
|
|
8528
8604
|
(0, ts_serval_1.validate)({ nullable: true, max: 1000 }),
|
|
8529
8605
|
__metadata("design:type", String)
|
|
8530
8606
|
], RejectResponseItem.prototype, "message", void 0);
|
|
8531
|
-
RejectResponseItem = __decorate([
|
|
8607
|
+
exports.RejectResponseItem = RejectResponseItem = __decorate([
|
|
8532
8608
|
(0, ts_serval_1.type)("RejectResponseItem")
|
|
8533
8609
|
], RejectResponseItem);
|
|
8534
|
-
exports.RejectResponseItem = RejectResponseItem;
|
|
8535
8610
|
//# sourceMappingURL=RejectResponseItem.js.map
|
|
8536
8611
|
|
|
8537
8612
|
/***/ }),
|
|
@@ -8560,7 +8635,7 @@ var ResponseResult;
|
|
|
8560
8635
|
(function (ResponseResult) {
|
|
8561
8636
|
ResponseResult["Accepted"] = "Accepted";
|
|
8562
8637
|
ResponseResult["Rejected"] = "Rejected";
|
|
8563
|
-
})(ResponseResult
|
|
8638
|
+
})(ResponseResult || (exports.ResponseResult = ResponseResult = {}));
|
|
8564
8639
|
let Response = class Response extends ts_serval_1.Serializable {
|
|
8565
8640
|
static from(value) {
|
|
8566
8641
|
return this.fromAny(value);
|
|
@@ -8569,6 +8644,7 @@ let Response = class Response extends ts_serval_1.Serializable {
|
|
|
8569
8644
|
return super.toJSON(verbose, serializeAsString);
|
|
8570
8645
|
}
|
|
8571
8646
|
};
|
|
8647
|
+
exports.Response = Response;
|
|
8572
8648
|
__decorate([
|
|
8573
8649
|
(0, ts_serval_1.serialize)(),
|
|
8574
8650
|
(0, ts_serval_1.validate)(),
|
|
@@ -8584,10 +8660,9 @@ __decorate([
|
|
|
8584
8660
|
(0, ts_serval_1.validate)({ customValidator: (v) => (v.length < 1 ? "may not be empty" : undefined) }),
|
|
8585
8661
|
__metadata("design:type", Array)
|
|
8586
8662
|
], Response.prototype, "items", void 0);
|
|
8587
|
-
Response = __decorate([
|
|
8663
|
+
exports.Response = Response = __decorate([
|
|
8588
8664
|
(0, ts_serval_1.type)("Response")
|
|
8589
8665
|
], Response);
|
|
8590
|
-
exports.Response = Response;
|
|
8591
8666
|
//# sourceMappingURL=Response.js.map
|
|
8592
8667
|
|
|
8593
8668
|
/***/ }),
|
|
@@ -8617,12 +8692,12 @@ class ResponseItem extends ts_serval_1.Serializable {
|
|
|
8617
8692
|
return super.toJSON(verbose, serializeAsString);
|
|
8618
8693
|
}
|
|
8619
8694
|
}
|
|
8695
|
+
exports.ResponseItem = ResponseItem;
|
|
8620
8696
|
__decorate([
|
|
8621
8697
|
(0, ts_serval_1.serialize)(),
|
|
8622
8698
|
(0, ts_serval_1.validate)(),
|
|
8623
8699
|
__metadata("design:type", String)
|
|
8624
8700
|
], ResponseItem.prototype, "result", void 0);
|
|
8625
|
-
exports.ResponseItem = ResponseItem;
|
|
8626
8701
|
//# sourceMappingURL=ResponseItem.js.map
|
|
8627
8702
|
|
|
8628
8703
|
/***/ }),
|
|
@@ -8654,15 +8729,15 @@ let ResponseItemGroup = class ResponseItemGroup extends ts_serval_1.Serializable
|
|
|
8654
8729
|
return super.toJSON(verbose, serializeAsString);
|
|
8655
8730
|
}
|
|
8656
8731
|
};
|
|
8732
|
+
exports.ResponseItemGroup = ResponseItemGroup;
|
|
8657
8733
|
__decorate([
|
|
8658
8734
|
(0, ts_serval_1.serialize)(),
|
|
8659
8735
|
(0, ts_serval_1.validate)({ customValidator: (v) => (v.length < 1 ? "may not be empty" : undefined) }),
|
|
8660
8736
|
__metadata("design:type", Array)
|
|
8661
8737
|
], ResponseItemGroup.prototype, "items", void 0);
|
|
8662
|
-
ResponseItemGroup = __decorate([
|
|
8738
|
+
exports.ResponseItemGroup = ResponseItemGroup = __decorate([
|
|
8663
8739
|
(0, ts_serval_1.type)("ResponseItemGroup")
|
|
8664
8740
|
], ResponseItemGroup);
|
|
8665
|
-
exports.ResponseItemGroup = ResponseItemGroup;
|
|
8666
8741
|
//# sourceMappingURL=ResponseItemGroup.js.map
|
|
8667
8742
|
|
|
8668
8743
|
/***/ }),
|
|
@@ -8681,7 +8756,7 @@ var ResponseItemResult;
|
|
|
8681
8756
|
ResponseItemResult["Accepted"] = "Accepted";
|
|
8682
8757
|
ResponseItemResult["Rejected"] = "Rejected";
|
|
8683
8758
|
ResponseItemResult["Failed"] = "Error";
|
|
8684
|
-
})(ResponseItemResult
|
|
8759
|
+
})(ResponseItemResult || (exports.ResponseItemResult = ResponseItemResult = {}));
|
|
8685
8760
|
//# sourceMappingURL=ResponseItemResult.js.map
|
|
8686
8761
|
|
|
8687
8762
|
/***/ }),
|
|
@@ -11055,7 +11130,7 @@ function intlConfigString(localeStr, numberingSystem, outputCalendar) {
|
|
|
11055
11130
|
function mapMonths(f) {
|
|
11056
11131
|
const ms = [];
|
|
11057
11132
|
for (let i = 1; i <= 12; i++) {
|
|
11058
|
-
const dt = DateTime.utc(
|
|
11133
|
+
const dt = DateTime.utc(2009, i, 1);
|
|
11059
11134
|
ms.push(f(dt));
|
|
11060
11135
|
}
|
|
11061
11136
|
return ms;
|
|
@@ -11068,8 +11143,8 @@ function mapWeekdays(f) {
|
|
|
11068
11143
|
}
|
|
11069
11144
|
return ms;
|
|
11070
11145
|
}
|
|
11071
|
-
function listStuff(loc, length,
|
|
11072
|
-
const mode = loc.listingMode(
|
|
11146
|
+
function listStuff(loc, length, englishFn, intlFn) {
|
|
11147
|
+
const mode = loc.listingMode();
|
|
11073
11148
|
if (mode === "error") {
|
|
11074
11149
|
return null;
|
|
11075
11150
|
} else if (mode === "en") {
|
|
@@ -11315,8 +11390,8 @@ class Locale {
|
|
|
11315
11390
|
defaultToEN: false
|
|
11316
11391
|
});
|
|
11317
11392
|
}
|
|
11318
|
-
months(length, format = false
|
|
11319
|
-
return listStuff(this, length,
|
|
11393
|
+
months(length, format = false) {
|
|
11394
|
+
return listStuff(this, length, months, () => {
|
|
11320
11395
|
const intl = format ? {
|
|
11321
11396
|
month: length,
|
|
11322
11397
|
day: "numeric"
|
|
@@ -11330,8 +11405,8 @@ class Locale {
|
|
|
11330
11405
|
return this.monthsCache[formatStr][length];
|
|
11331
11406
|
});
|
|
11332
11407
|
}
|
|
11333
|
-
weekdays(length, format = false
|
|
11334
|
-
return listStuff(this, length,
|
|
11408
|
+
weekdays(length, format = false) {
|
|
11409
|
+
return listStuff(this, length, weekdays, () => {
|
|
11335
11410
|
const intl = format ? {
|
|
11336
11411
|
weekday: length,
|
|
11337
11412
|
year: "numeric",
|
|
@@ -11347,8 +11422,8 @@ class Locale {
|
|
|
11347
11422
|
return this.weekdaysCache[formatStr][length];
|
|
11348
11423
|
});
|
|
11349
11424
|
}
|
|
11350
|
-
meridiems(
|
|
11351
|
-
return listStuff(this, undefined,
|
|
11425
|
+
meridiems() {
|
|
11426
|
+
return listStuff(this, undefined, () => meridiems, () => {
|
|
11352
11427
|
// In theory there could be aribitrary day periods. We're gonna assume there are exactly two
|
|
11353
11428
|
// for AM and PM. This is probably wrong, but it's makes parsing way easier.
|
|
11354
11429
|
if (!this.meridiemCache) {
|
|
@@ -11361,8 +11436,8 @@ class Locale {
|
|
|
11361
11436
|
return this.meridiemCache;
|
|
11362
11437
|
});
|
|
11363
11438
|
}
|
|
11364
|
-
eras(length
|
|
11365
|
-
return listStuff(this, length,
|
|
11439
|
+
eras(length) {
|
|
11440
|
+
return listStuff(this, length, eras, () => {
|
|
11366
11441
|
const intl = {
|
|
11367
11442
|
era: length
|
|
11368
11443
|
};
|
|
@@ -11566,7 +11641,7 @@ function normalizeZone(input, defaultZone) {
|
|
|
11566
11641
|
if (lowered === "default") return defaultZone;else if (lowered === "local" || lowered === "system") return SystemZone.instance;else if (lowered === "utc" || lowered === "gmt") return FixedOffsetZone.utcInstance;else return FixedOffsetZone.parseSpecifier(lowered) || IANAZone.create(input);
|
|
11567
11642
|
} else if (isNumber(input)) {
|
|
11568
11643
|
return FixedOffsetZone.instance(input);
|
|
11569
|
-
} else if (typeof input === "object" &&
|
|
11644
|
+
} else if (typeof input === "object" && "offset" in input && typeof input.offset === "function") {
|
|
11570
11645
|
// This is dumb, but the instanceof check above doesn't seem to really work
|
|
11571
11646
|
// so we're duck checking it
|
|
11572
11647
|
return input;
|
|
@@ -11683,10 +11758,10 @@ class Settings {
|
|
|
11683
11758
|
/**
|
|
11684
11759
|
* Set the cutoff year after which a string encoding a year as two digits is interpreted to occur in the current century.
|
|
11685
11760
|
* @type {number}
|
|
11686
|
-
* @example Settings.twoDigitCutoffYear = 0 // cut-off year is 0, so all 'yy' are
|
|
11761
|
+
* @example Settings.twoDigitCutoffYear = 0 // cut-off year is 0, so all 'yy' are interpreted as current century
|
|
11687
11762
|
* @example Settings.twoDigitCutoffYear = 50 // '49' -> 1949; '50' -> 2050
|
|
11688
|
-
* @example Settings.twoDigitCutoffYear = 1950 //
|
|
11689
|
-
* @example Settings.twoDigitCutoffYear = 2050 // ALSO
|
|
11763
|
+
* @example Settings.twoDigitCutoffYear = 1950 // interpreted as 50
|
|
11764
|
+
* @example Settings.twoDigitCutoffYear = 2050 // ALSO interpreted as 50
|
|
11690
11765
|
*/
|
|
11691
11766
|
static set twoDigitCutoffYear(cutoffYear) {
|
|
11692
11767
|
twoDigitCutoffYear = cutoffYear % 100;
|
|
@@ -11853,7 +11928,7 @@ function daysInMonth(year, month) {
|
|
|
11853
11928
|
}
|
|
11854
11929
|
}
|
|
11855
11930
|
|
|
11856
|
-
//
|
|
11931
|
+
// convert a calendar object to a local timestamp (epoch, but with the offset baked in)
|
|
11857
11932
|
function objToLocalTS(obj) {
|
|
11858
11933
|
let d = Date.UTC(obj.year, obj.month - 1, obj.day, obj.hour, obj.minute, obj.second, obj.millisecond);
|
|
11859
11934
|
|
|
@@ -12155,33 +12230,24 @@ class Formatter {
|
|
|
12155
12230
|
});
|
|
12156
12231
|
return df.format();
|
|
12157
12232
|
}
|
|
12158
|
-
|
|
12159
|
-
|
|
12233
|
+
dtFormatter(dt, opts = {}) {
|
|
12234
|
+
return this.loc.dtFormatter(dt, {
|
|
12160
12235
|
...this.opts,
|
|
12161
12236
|
...opts
|
|
12162
12237
|
});
|
|
12163
|
-
return df.format();
|
|
12164
12238
|
}
|
|
12165
|
-
|
|
12166
|
-
|
|
12167
|
-
...this.opts,
|
|
12168
|
-
...opts
|
|
12169
|
-
});
|
|
12170
|
-
return df.formatToParts();
|
|
12239
|
+
formatDateTime(dt, opts) {
|
|
12240
|
+
return this.dtFormatter(dt, opts).format();
|
|
12171
12241
|
}
|
|
12172
|
-
|
|
12173
|
-
|
|
12174
|
-
|
|
12175
|
-
|
|
12176
|
-
|
|
12242
|
+
formatDateTimeParts(dt, opts) {
|
|
12243
|
+
return this.dtFormatter(dt, opts).formatToParts();
|
|
12244
|
+
}
|
|
12245
|
+
formatInterval(interval, opts) {
|
|
12246
|
+
const df = this.dtFormatter(interval.start, opts);
|
|
12177
12247
|
return df.dtf.formatRange(interval.start.toJSDate(), interval.end.toJSDate());
|
|
12178
12248
|
}
|
|
12179
|
-
resolvedOptions(dt, opts
|
|
12180
|
-
|
|
12181
|
-
...this.opts,
|
|
12182
|
-
...opts
|
|
12183
|
-
});
|
|
12184
|
-
return df.resolvedOptions();
|
|
12249
|
+
resolvedOptions(dt, opts) {
|
|
12250
|
+
return this.dtFormatter(dt, opts).resolvedOptions();
|
|
12185
12251
|
}
|
|
12186
12252
|
num(n, p = 0) {
|
|
12187
12253
|
// we get some perf out of doing this here, annoyingly
|
|
@@ -12235,7 +12301,7 @@ class Formatter {
|
|
|
12235
12301
|
era: length
|
|
12236
12302
|
}, "era"),
|
|
12237
12303
|
tokenToString = token => {
|
|
12238
|
-
// Where possible:
|
|
12304
|
+
// Where possible: https://cldr.unicode.org/translation/date-time/date-time-symbols
|
|
12239
12305
|
switch (token) {
|
|
12240
12306
|
// ms
|
|
12241
12307
|
case "S":
|
|
@@ -12824,27 +12890,61 @@ function clone$1(dur, alts, clear = false) {
|
|
|
12824
12890
|
};
|
|
12825
12891
|
return new Duration(conf);
|
|
12826
12892
|
}
|
|
12827
|
-
function
|
|
12828
|
-
|
|
12829
|
-
|
|
12830
|
-
|
|
12831
|
-
|
|
12832
|
-
|
|
12833
|
-
|
|
12834
|
-
|
|
12835
|
-
|
|
12836
|
-
// ok, so this is wild, but see the matrix in the tests
|
|
12837
|
-
added = !sameSign && toMap[toUnit] !== 0 && Math.abs(raw) <= 1 ? antiTrunc(raw) : Math.trunc(raw);
|
|
12838
|
-
toMap[toUnit] += added;
|
|
12839
|
-
fromMap[fromUnit] -= added * conv;
|
|
12893
|
+
function durationToMillis(matrix, vals) {
|
|
12894
|
+
var _vals$milliseconds;
|
|
12895
|
+
let sum = (_vals$milliseconds = vals.milliseconds) != null ? _vals$milliseconds : 0;
|
|
12896
|
+
for (const unit of reverseUnits.slice(1)) {
|
|
12897
|
+
if (vals[unit]) {
|
|
12898
|
+
sum += vals[unit] * matrix[unit]["milliseconds"];
|
|
12899
|
+
}
|
|
12900
|
+
}
|
|
12901
|
+
return sum;
|
|
12840
12902
|
}
|
|
12841
12903
|
|
|
12842
12904
|
// NB: mutates parameters
|
|
12843
12905
|
function normalizeValues(matrix, vals) {
|
|
12844
|
-
|
|
12906
|
+
// the logic below assumes the overall value of the duration is positive
|
|
12907
|
+
// if this is not the case, factor is used to make it so
|
|
12908
|
+
const factor = durationToMillis(matrix, vals) < 0 ? -1 : 1;
|
|
12909
|
+
orderedUnits$1.reduceRight((previous, current) => {
|
|
12910
|
+
if (!isUndefined(vals[current])) {
|
|
12911
|
+
if (previous) {
|
|
12912
|
+
const previousVal = vals[previous] * factor;
|
|
12913
|
+
const conv = matrix[current][previous];
|
|
12914
|
+
|
|
12915
|
+
// if (previousVal < 0):
|
|
12916
|
+
// lower order unit is negative (e.g. { years: 2, days: -2 })
|
|
12917
|
+
// normalize this by reducing the higher order unit by the appropriate amount
|
|
12918
|
+
// and increasing the lower order unit
|
|
12919
|
+
// this can never make the higher order unit negative, because this function only operates
|
|
12920
|
+
// on positive durations, so the amount of time represented by the lower order unit cannot
|
|
12921
|
+
// be larger than the higher order unit
|
|
12922
|
+
// else:
|
|
12923
|
+
// lower order unit is positive (e.g. { years: 2, days: 450 } or { years: -2, days: 450 })
|
|
12924
|
+
// in this case we attempt to convert as much as possible from the lower order unit into
|
|
12925
|
+
// the higher order one
|
|
12926
|
+
//
|
|
12927
|
+
// Math.floor takes care of both of these cases, rounding away from 0
|
|
12928
|
+
// if previousVal < 0 it makes the absolute value larger
|
|
12929
|
+
// if previousVal >= it makes the absolute value smaller
|
|
12930
|
+
const rollUp = Math.floor(previousVal / conv);
|
|
12931
|
+
vals[current] += rollUp * factor;
|
|
12932
|
+
vals[previous] -= rollUp * conv * factor;
|
|
12933
|
+
}
|
|
12934
|
+
return current;
|
|
12935
|
+
} else {
|
|
12936
|
+
return previous;
|
|
12937
|
+
}
|
|
12938
|
+
}, null);
|
|
12939
|
+
|
|
12940
|
+
// try to convert any decimals into smaller units if possible
|
|
12941
|
+
// for example for { years: 2.5, days: 0, seconds: 0 } we want to get { years: 2, days: 182, hours: 12 }
|
|
12942
|
+
orderedUnits$1.reduce((previous, current) => {
|
|
12845
12943
|
if (!isUndefined(vals[current])) {
|
|
12846
12944
|
if (previous) {
|
|
12847
|
-
|
|
12945
|
+
const fraction = vals[previous] % 1;
|
|
12946
|
+
vals[previous] -= fraction;
|
|
12947
|
+
vals[current] += fraction * matrix[previous][current];
|
|
12848
12948
|
}
|
|
12849
12949
|
return current;
|
|
12850
12950
|
} else {
|
|
@@ -13150,6 +13250,7 @@ class Duration {
|
|
|
13150
13250
|
* ```
|
|
13151
13251
|
*/
|
|
13152
13252
|
toHuman(opts = {}) {
|
|
13253
|
+
if (!this.isValid) return INVALID$2;
|
|
13153
13254
|
const l = orderedUnits$1.map(unit => {
|
|
13154
13255
|
const val = this.values[unit];
|
|
13155
13256
|
if (isUndefined(val)) {
|
|
@@ -13235,21 +13336,13 @@ class Duration {
|
|
|
13235
13336
|
suppressSeconds: false,
|
|
13236
13337
|
includePrefix: false,
|
|
13237
13338
|
format: "extended",
|
|
13238
|
-
...opts
|
|
13339
|
+
...opts,
|
|
13340
|
+
includeOffset: false
|
|
13239
13341
|
};
|
|
13240
|
-
const
|
|
13241
|
-
|
|
13242
|
-
|
|
13243
|
-
|
|
13244
|
-
if (!opts.suppressMilliseconds || value.milliseconds !== 0) {
|
|
13245
|
-
fmt += ".SSS";
|
|
13246
|
-
}
|
|
13247
|
-
}
|
|
13248
|
-
let str = value.toFormat(fmt);
|
|
13249
|
-
if (opts.includePrefix) {
|
|
13250
|
-
str = "T" + str;
|
|
13251
|
-
}
|
|
13252
|
-
return str;
|
|
13342
|
+
const dateTime = DateTime.fromMillis(millis, {
|
|
13343
|
+
zone: "UTC"
|
|
13344
|
+
});
|
|
13345
|
+
return dateTime.toISOTime(opts);
|
|
13253
13346
|
}
|
|
13254
13347
|
|
|
13255
13348
|
/**
|
|
@@ -13273,7 +13366,8 @@ class Duration {
|
|
|
13273
13366
|
* @return {number}
|
|
13274
13367
|
*/
|
|
13275
13368
|
toMillis() {
|
|
13276
|
-
|
|
13369
|
+
if (!this.isValid) return NaN;
|
|
13370
|
+
return durationToMillis(this.matrix, this.values);
|
|
13277
13371
|
}
|
|
13278
13372
|
|
|
13279
13373
|
/**
|
|
@@ -13399,8 +13493,17 @@ class Duration {
|
|
|
13399
13493
|
|
|
13400
13494
|
/**
|
|
13401
13495
|
* Reduce this Duration to its canonical representation in its current units.
|
|
13496
|
+
* Assuming the overall value of the Duration is positive, this means:
|
|
13497
|
+
* - excessive values for lower-order units are converted to higher-order units (if possible, see first and second example)
|
|
13498
|
+
* - negative lower-order units are converted to higher order units (there must be such a higher order unit, otherwise
|
|
13499
|
+
* the overall value would be negative, see second example)
|
|
13500
|
+
* - fractional values for higher-order units are converted to lower-order units (if possible, see fourth example)
|
|
13501
|
+
*
|
|
13502
|
+
* If the overall value is negative, the result of this method is equivalent to `this.negate().normalize().negate()`.
|
|
13402
13503
|
* @example Duration.fromObject({ years: 2, days: 5000 }).normalize().toObject() //=> { years: 15, days: 255 }
|
|
13504
|
+
* @example Duration.fromObject({ days: 5000 }).normalize().toObject() //=> { days: 5000 }
|
|
13403
13505
|
* @example Duration.fromObject({ hours: 12, minutes: -45 }).normalize().toObject() //=> { hours: 11, minutes: 15 }
|
|
13506
|
+
* @example Duration.fromObject({ years: 2.5, days: 0, hours: 0 }).normalize().toObject() //=> { years: 2, days: 182, hours: 12 }
|
|
13404
13507
|
* @return {Duration}
|
|
13405
13508
|
*/
|
|
13406
13509
|
normalize() {
|
|
@@ -13455,16 +13558,13 @@ class Duration {
|
|
|
13455
13558
|
if (isNumber(vals[k])) {
|
|
13456
13559
|
own += vals[k];
|
|
13457
13560
|
}
|
|
13561
|
+
|
|
13562
|
+
// only keep the integer part for now in the hopes of putting any decimal part
|
|
13563
|
+
// into a smaller unit later
|
|
13458
13564
|
const i = Math.trunc(own);
|
|
13459
13565
|
built[k] = i;
|
|
13460
13566
|
accumulated[k] = (own * 1000 - i * 1000) / 1000;
|
|
13461
13567
|
|
|
13462
|
-
// plus anything further down the chain that should be rolled up in to this
|
|
13463
|
-
for (const down in vals) {
|
|
13464
|
-
if (orderedUnits$1.indexOf(down) > orderedUnits$1.indexOf(k)) {
|
|
13465
|
-
convert(this.matrix, vals, down, built, k);
|
|
13466
|
-
}
|
|
13467
|
-
}
|
|
13468
13568
|
// otherwise, keep it in the wings to boil it later
|
|
13469
13569
|
} else if (isNumber(vals[k])) {
|
|
13470
13570
|
accumulated[k] = vals[k];
|
|
@@ -13478,9 +13578,10 @@ class Duration {
|
|
|
13478
13578
|
built[lastUnit] += key === lastUnit ? accumulated[key] : accumulated[key] / this.matrix[lastUnit][key];
|
|
13479
13579
|
}
|
|
13480
13580
|
}
|
|
13581
|
+
normalizeValues(this.matrix, built);
|
|
13481
13582
|
return clone$1(this, {
|
|
13482
13583
|
values: built
|
|
13483
|
-
}, true)
|
|
13584
|
+
}, true);
|
|
13484
13585
|
}
|
|
13485
13586
|
|
|
13486
13587
|
/**
|
|
@@ -14438,14 +14539,35 @@ function highOrderDiffs(cursor, later, units) {
|
|
|
14438
14539
|
const results = {};
|
|
14439
14540
|
const earlier = cursor;
|
|
14440
14541
|
let lowestOrder, highWater;
|
|
14542
|
+
|
|
14543
|
+
/* This loop tries to diff using larger units first.
|
|
14544
|
+
If we overshoot, we backtrack and try the next smaller unit.
|
|
14545
|
+
"cursor" starts out at the earlier timestamp and moves closer and closer to "later"
|
|
14546
|
+
as we use smaller and smaller units.
|
|
14547
|
+
highWater keeps track of where we would be if we added one more of the smallest unit,
|
|
14548
|
+
this is used later to potentially convert any difference smaller than the smallest higher order unit
|
|
14549
|
+
into a fraction of that smallest higher order unit
|
|
14550
|
+
*/
|
|
14441
14551
|
for (const [unit, differ] of differs) {
|
|
14442
14552
|
if (units.indexOf(unit) >= 0) {
|
|
14443
14553
|
lowestOrder = unit;
|
|
14444
14554
|
results[unit] = differ(cursor, later);
|
|
14445
14555
|
highWater = earlier.plus(results);
|
|
14446
14556
|
if (highWater > later) {
|
|
14557
|
+
// we overshot the end point, backtrack cursor by 1
|
|
14447
14558
|
results[unit]--;
|
|
14448
14559
|
cursor = earlier.plus(results);
|
|
14560
|
+
|
|
14561
|
+
// if we are still overshooting now, we need to backtrack again
|
|
14562
|
+
// this happens in certain situations when diffing times in different zones,
|
|
14563
|
+
// because this calculation ignores time zones
|
|
14564
|
+
if (cursor > later) {
|
|
14565
|
+
// keep the "overshot by 1" around as highWater
|
|
14566
|
+
highWater = cursor;
|
|
14567
|
+
// backtrack cursor by 1
|
|
14568
|
+
results[unit]--;
|
|
14569
|
+
cursor = earlier.plus(results);
|
|
14570
|
+
}
|
|
14449
14571
|
} else {
|
|
14450
14572
|
cursor = highWater;
|
|
14451
14573
|
}
|
|
@@ -14594,6 +14716,11 @@ function simple(regex) {
|
|
|
14594
14716
|
function escapeToken(value) {
|
|
14595
14717
|
return value.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g, "\\$&");
|
|
14596
14718
|
}
|
|
14719
|
+
|
|
14720
|
+
/**
|
|
14721
|
+
* @param token
|
|
14722
|
+
* @param {Locale} loc
|
|
14723
|
+
*/
|
|
14597
14724
|
function unitForToken(token, loc) {
|
|
14598
14725
|
const one = digitRegex(loc),
|
|
14599
14726
|
two = digitRegex(loc, "{2}"),
|
|
@@ -14618,9 +14745,9 @@ function unitForToken(token, loc) {
|
|
|
14618
14745
|
switch (t.val) {
|
|
14619
14746
|
// era
|
|
14620
14747
|
case "G":
|
|
14621
|
-
return oneOf(loc.eras("short"
|
|
14748
|
+
return oneOf(loc.eras("short"), 0);
|
|
14622
14749
|
case "GG":
|
|
14623
|
-
return oneOf(loc.eras("long"
|
|
14750
|
+
return oneOf(loc.eras("long"), 0);
|
|
14624
14751
|
// years
|
|
14625
14752
|
case "y":
|
|
14626
14753
|
return intUnit(oneToSix);
|
|
@@ -14638,17 +14765,17 @@ function unitForToken(token, loc) {
|
|
|
14638
14765
|
case "MM":
|
|
14639
14766
|
return intUnit(two);
|
|
14640
14767
|
case "MMM":
|
|
14641
|
-
return oneOf(loc.months("short", true
|
|
14768
|
+
return oneOf(loc.months("short", true), 1);
|
|
14642
14769
|
case "MMMM":
|
|
14643
|
-
return oneOf(loc.months("long", true
|
|
14770
|
+
return oneOf(loc.months("long", true), 1);
|
|
14644
14771
|
case "L":
|
|
14645
14772
|
return intUnit(oneOrTwo);
|
|
14646
14773
|
case "LL":
|
|
14647
14774
|
return intUnit(two);
|
|
14648
14775
|
case "LLL":
|
|
14649
|
-
return oneOf(loc.months("short", false
|
|
14776
|
+
return oneOf(loc.months("short", false), 1);
|
|
14650
14777
|
case "LLLL":
|
|
14651
|
-
return oneOf(loc.months("long", false
|
|
14778
|
+
return oneOf(loc.months("long", false), 1);
|
|
14652
14779
|
// dates
|
|
14653
14780
|
case "d":
|
|
14654
14781
|
return intUnit(oneOrTwo);
|
|
@@ -14708,13 +14835,13 @@ function unitForToken(token, loc) {
|
|
|
14708
14835
|
case "c":
|
|
14709
14836
|
return intUnit(one);
|
|
14710
14837
|
case "EEE":
|
|
14711
|
-
return oneOf(loc.weekdays("short", false
|
|
14838
|
+
return oneOf(loc.weekdays("short", false), 1);
|
|
14712
14839
|
case "EEEE":
|
|
14713
|
-
return oneOf(loc.weekdays("long", false
|
|
14840
|
+
return oneOf(loc.weekdays("long", false), 1);
|
|
14714
14841
|
case "ccc":
|
|
14715
|
-
return oneOf(loc.weekdays("short", true
|
|
14842
|
+
return oneOf(loc.weekdays("short", true), 1);
|
|
14716
14843
|
case "cccc":
|
|
14717
|
-
return oneOf(loc.weekdays("long", true
|
|
14844
|
+
return oneOf(loc.weekdays("long", true), 1);
|
|
14718
14845
|
// offset/zone
|
|
14719
14846
|
case "Z":
|
|
14720
14847
|
case "ZZ":
|
|
@@ -14760,10 +14887,14 @@ const partTypeStyleToTokenVal = {
|
|
|
14760
14887
|
},
|
|
14761
14888
|
dayperiod: "a",
|
|
14762
14889
|
dayPeriod: "a",
|
|
14763
|
-
|
|
14890
|
+
hour12: {
|
|
14764
14891
|
numeric: "h",
|
|
14765
14892
|
"2-digit": "hh"
|
|
14766
14893
|
},
|
|
14894
|
+
hour24: {
|
|
14895
|
+
numeric: "H",
|
|
14896
|
+
"2-digit": "HH"
|
|
14897
|
+
},
|
|
14767
14898
|
minute: {
|
|
14768
14899
|
numeric: "m",
|
|
14769
14900
|
"2-digit": "mm"
|
|
@@ -14777,7 +14908,7 @@ const partTypeStyleToTokenVal = {
|
|
|
14777
14908
|
short: "ZZZ"
|
|
14778
14909
|
}
|
|
14779
14910
|
};
|
|
14780
|
-
function tokenForPart(part, formatOpts) {
|
|
14911
|
+
function tokenForPart(part, formatOpts, resolvedOpts) {
|
|
14781
14912
|
const {
|
|
14782
14913
|
type,
|
|
14783
14914
|
value
|
|
@@ -14790,7 +14921,27 @@ function tokenForPart(part, formatOpts) {
|
|
|
14790
14921
|
};
|
|
14791
14922
|
}
|
|
14792
14923
|
const style = formatOpts[type];
|
|
14793
|
-
|
|
14924
|
+
|
|
14925
|
+
// The user might have explicitly specified hour12 or hourCycle
|
|
14926
|
+
// if so, respect their decision
|
|
14927
|
+
// if not, refer back to the resolvedOpts, which are based on the locale
|
|
14928
|
+
let actualType = type;
|
|
14929
|
+
if (type === "hour") {
|
|
14930
|
+
if (formatOpts.hour12 != null) {
|
|
14931
|
+
actualType = formatOpts.hour12 ? "hour12" : "hour24";
|
|
14932
|
+
} else if (formatOpts.hourCycle != null) {
|
|
14933
|
+
if (formatOpts.hourCycle === "h11" || formatOpts.hourCycle === "h12") {
|
|
14934
|
+
actualType = "hour12";
|
|
14935
|
+
} else {
|
|
14936
|
+
actualType = "hour24";
|
|
14937
|
+
}
|
|
14938
|
+
} else {
|
|
14939
|
+
// tokens only differentiate between 24 hours or not,
|
|
14940
|
+
// so we do not need to check hourCycle here, which is less supported anyways
|
|
14941
|
+
actualType = resolvedOpts.hour12 ? "hour12" : "hour24";
|
|
14942
|
+
}
|
|
14943
|
+
}
|
|
14944
|
+
let val = partTypeStyleToTokenVal[actualType];
|
|
14794
14945
|
if (typeof val === "object") {
|
|
14795
14946
|
val = val[style];
|
|
14796
14947
|
}
|
|
@@ -14966,8 +15117,10 @@ function formatOptsToTokens(formatOpts, locale) {
|
|
|
14966
15117
|
return null;
|
|
14967
15118
|
}
|
|
14968
15119
|
const formatter = Formatter.create(locale, formatOpts);
|
|
14969
|
-
const
|
|
14970
|
-
|
|
15120
|
+
const df = formatter.dtFormatter(getDummyDateTime());
|
|
15121
|
+
const parts = df.formatToParts();
|
|
15122
|
+
const resolvedOpts = df.resolvedOptions();
|
|
15123
|
+
return parts.map(p => tokenForPart(p, formatOpts, resolvedOpts));
|
|
14971
15124
|
}
|
|
14972
15125
|
|
|
14973
15126
|
const nonLeapLadder = [0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334],
|
|
@@ -15303,13 +15456,13 @@ function toISOTime(o, extended, suppressSeconds, suppressMilliseconds, includeOf
|
|
|
15303
15456
|
if (extended) {
|
|
15304
15457
|
c += ":";
|
|
15305
15458
|
c += padStart(o.c.minute);
|
|
15306
|
-
if (o.c.second !== 0 || !suppressSeconds) {
|
|
15459
|
+
if (o.c.millisecond !== 0 || o.c.second !== 0 || !suppressSeconds) {
|
|
15307
15460
|
c += ":";
|
|
15308
15461
|
}
|
|
15309
15462
|
} else {
|
|
15310
15463
|
c += padStart(o.c.minute);
|
|
15311
15464
|
}
|
|
15312
|
-
if (o.c.second !== 0 || !suppressSeconds) {
|
|
15465
|
+
if (o.c.millisecond !== 0 || o.c.second !== 0 || !suppressSeconds) {
|
|
15313
15466
|
c += padStart(o.c.second);
|
|
15314
15467
|
if (o.c.millisecond !== 0 || !suppressMilliseconds) {
|
|
15315
15468
|
c += ".";
|
|
@@ -15943,7 +16096,7 @@ class DateTime {
|
|
|
15943
16096
|
|
|
15944
16097
|
/**
|
|
15945
16098
|
* Create an invalid DateTime.
|
|
15946
|
-
* @param {
|
|
16099
|
+
* @param {string} reason - simple string of why this DateTime is invalid. Should not contain parameters or anything else data-dependent.
|
|
15947
16100
|
* @param {string} [explanation=null] - longer explanation, may include parameters and other useful debugging information
|
|
15948
16101
|
* @return {DateTime}
|
|
15949
16102
|
*/
|
|
@@ -16302,6 +16455,41 @@ class DateTime {
|
|
|
16302
16455
|
}
|
|
16303
16456
|
}
|
|
16304
16457
|
|
|
16458
|
+
/**
|
|
16459
|
+
* Get those DateTimes which have the same local time as this DateTime, but a different offset from UTC
|
|
16460
|
+
* in this DateTime's zone. During DST changes local time can be ambiguous, for example
|
|
16461
|
+
* `2023-10-29T02:30:00` in `Europe/Berlin` can have offset `+01:00` or `+02:00`.
|
|
16462
|
+
* This method will return both possible DateTimes if this DateTime's local time is ambiguous.
|
|
16463
|
+
* @returns {DateTime[]}
|
|
16464
|
+
*/
|
|
16465
|
+
getPossibleOffsets() {
|
|
16466
|
+
if (!this.isValid || this.isOffsetFixed) {
|
|
16467
|
+
return [this];
|
|
16468
|
+
}
|
|
16469
|
+
const dayMs = 86400000;
|
|
16470
|
+
const minuteMs = 60000;
|
|
16471
|
+
const localTS = objToLocalTS(this.c);
|
|
16472
|
+
const oEarlier = this.zone.offset(localTS - dayMs);
|
|
16473
|
+
const oLater = this.zone.offset(localTS + dayMs);
|
|
16474
|
+
const o1 = this.zone.offset(localTS - oEarlier * minuteMs);
|
|
16475
|
+
const o2 = this.zone.offset(localTS - oLater * minuteMs);
|
|
16476
|
+
if (o1 === o2) {
|
|
16477
|
+
return [this];
|
|
16478
|
+
}
|
|
16479
|
+
const ts1 = localTS - o1 * minuteMs;
|
|
16480
|
+
const ts2 = localTS - o2 * minuteMs;
|
|
16481
|
+
const c1 = tsToObj(ts1, o1);
|
|
16482
|
+
const c2 = tsToObj(ts2, o2);
|
|
16483
|
+
if (c1.hour === c2.hour && c1.minute === c2.minute && c1.second === c2.second && c1.millisecond === c2.millisecond) {
|
|
16484
|
+
return [clone(this, {
|
|
16485
|
+
ts: ts1
|
|
16486
|
+
}), clone(this, {
|
|
16487
|
+
ts: ts2
|
|
16488
|
+
})];
|
|
16489
|
+
}
|
|
16490
|
+
return [this];
|
|
16491
|
+
}
|
|
16492
|
+
|
|
16305
16493
|
/**
|
|
16306
16494
|
* Returns true if this DateTime is in a leap year, false otherwise
|
|
16307
16495
|
* @example DateTime.local(2016).isInLeapYear //=> true
|
|
@@ -17308,7 +17496,7 @@ function friendlyDateTime(dateTimeish) {
|
|
|
17308
17496
|
}
|
|
17309
17497
|
}
|
|
17310
17498
|
|
|
17311
|
-
const VERSION = "3.3
|
|
17499
|
+
const VERSION = "3.4.3";
|
|
17312
17500
|
|
|
17313
17501
|
exports.DateTime = DateTime;
|
|
17314
17502
|
exports.Duration = Duration;
|