@nmshd/content 2.6.0 → 2.7.1
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 +7 -0
- package/dist/notifications/NotificationItem.js +8 -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 +627 -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.1",
|
|
7129
|
+
build: "146",
|
|
7130
|
+
date: "2023-09-21T08:44:47+00:00",
|
|
7131
|
+
commit: "39152f5b09bbb05a5a23348814c81ad599470a1e",
|
|
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,180 @@ __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
|
+
}
|
|
7298
|
+
exports.NotificationItem = NotificationItem;
|
|
7299
|
+
//# sourceMappingURL=NotificationItem.js.map
|
|
7300
|
+
|
|
7301
|
+
/***/ }),
|
|
7302
|
+
|
|
7303
|
+
/***/ "./dist/notifications/index.js":
|
|
7304
|
+
/*!*************************************!*\
|
|
7305
|
+
!*** ./dist/notifications/index.js ***!
|
|
7306
|
+
\*************************************/
|
|
7307
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
7308
|
+
|
|
7309
|
+
|
|
7310
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7311
|
+
if (k2 === undefined) k2 = k;
|
|
7312
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7313
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7314
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7315
|
+
}
|
|
7316
|
+
Object.defineProperty(o, k2, desc);
|
|
7317
|
+
}) : (function(o, m, k, k2) {
|
|
7318
|
+
if (k2 === undefined) k2 = k;
|
|
7319
|
+
o[k2] = m[k];
|
|
7320
|
+
}));
|
|
7321
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
7322
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
7323
|
+
};
|
|
7324
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
7325
|
+
__exportStar(__webpack_require__(/*! ./Notification */ "./dist/notifications/Notification.js"), exports);
|
|
7326
|
+
__exportStar(__webpack_require__(/*! ./NotificationItem */ "./dist/notifications/NotificationItem.js"), exports);
|
|
7327
|
+
__exportStar(__webpack_require__(/*! ./items */ "./dist/notifications/items/index.js"), exports);
|
|
7328
|
+
//# sourceMappingURL=index.js.map
|
|
7329
|
+
|
|
7330
|
+
/***/ }),
|
|
7331
|
+
|
|
7332
|
+
/***/ "./dist/notifications/items/AttributeSucceededNotificationItem.js":
|
|
7333
|
+
/*!************************************************************************!*\
|
|
7334
|
+
!*** ./dist/notifications/items/AttributeSucceededNotificationItem.js ***!
|
|
7335
|
+
\************************************************************************/
|
|
7336
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
7337
|
+
|
|
7338
|
+
|
|
7339
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
7340
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7341
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
7342
|
+
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;
|
|
7343
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7344
|
+
};
|
|
7345
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
7346
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
7347
|
+
};
|
|
7348
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
7349
|
+
exports.AttributeSucceededNotificationItem = void 0;
|
|
7350
|
+
const ts_serval_1 = __webpack_require__(/*! @js-soft/ts-serval */ "@js-soft/ts-serval");
|
|
7351
|
+
const transport_1 = __webpack_require__(/*! @nmshd/transport */ "@nmshd/transport");
|
|
7352
|
+
const attributes_1 = __webpack_require__(/*! ../../attributes */ "./dist/attributes/index.js");
|
|
7353
|
+
const NotificationItem_1 = __webpack_require__(/*! ../NotificationItem */ "./dist/notifications/NotificationItem.js");
|
|
7354
|
+
let AttributeSucceededNotificationItem = class AttributeSucceededNotificationItem extends NotificationItem_1.NotificationItem {
|
|
7355
|
+
static from(value) {
|
|
7356
|
+
return this.fromAny(value);
|
|
7357
|
+
}
|
|
7358
|
+
};
|
|
7359
|
+
exports.AttributeSucceededNotificationItem = AttributeSucceededNotificationItem;
|
|
7360
|
+
__decorate([
|
|
7361
|
+
(0, ts_serval_1.validate)(),
|
|
7362
|
+
(0, ts_serval_1.serialize)(),
|
|
7363
|
+
__metadata("design:type", transport_1.CoreId)
|
|
7364
|
+
], AttributeSucceededNotificationItem.prototype, "succeededAttributeId", void 0);
|
|
7365
|
+
__decorate([
|
|
7366
|
+
(0, ts_serval_1.validate)(),
|
|
7367
|
+
(0, ts_serval_1.serialize)(),
|
|
7368
|
+
__metadata("design:type", transport_1.CoreId)
|
|
7369
|
+
], AttributeSucceededNotificationItem.prototype, "newAttributeId", void 0);
|
|
7370
|
+
__decorate([
|
|
7371
|
+
(0, ts_serval_1.validate)(),
|
|
7372
|
+
(0, ts_serval_1.serialize)({ unionTypes: [attributes_1.IdentityAttribute, attributes_1.RelationshipAttribute] }),
|
|
7373
|
+
__metadata("design:type", Object)
|
|
7374
|
+
], AttributeSucceededNotificationItem.prototype, "attribute", void 0);
|
|
7375
|
+
exports.AttributeSucceededNotificationItem = AttributeSucceededNotificationItem = __decorate([
|
|
7376
|
+
(0, ts_serval_1.type)("AttributeSucceededNotificationItem")
|
|
7377
|
+
], AttributeSucceededNotificationItem);
|
|
7378
|
+
//# sourceMappingURL=AttributeSucceededNotificationItem.js.map
|
|
7379
|
+
|
|
7380
|
+
/***/ }),
|
|
7381
|
+
|
|
7382
|
+
/***/ "./dist/notifications/items/index.js":
|
|
7383
|
+
/*!*******************************************!*\
|
|
7384
|
+
!*** ./dist/notifications/items/index.js ***!
|
|
7385
|
+
\*******************************************/
|
|
7386
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
7387
|
+
|
|
7388
|
+
|
|
7389
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7390
|
+
if (k2 === undefined) k2 = k;
|
|
7391
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7392
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7393
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7394
|
+
}
|
|
7395
|
+
Object.defineProperty(o, k2, desc);
|
|
7396
|
+
}) : (function(o, m, k, k2) {
|
|
7397
|
+
if (k2 === undefined) k2 = k;
|
|
7398
|
+
o[k2] = m[k];
|
|
7399
|
+
}));
|
|
7400
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
7401
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
7402
|
+
};
|
|
7403
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
7404
|
+
__exportStar(__webpack_require__(/*! ./AttributeSucceededNotificationItem */ "./dist/notifications/items/AttributeSucceededNotificationItem.js"), exports);
|
|
7405
|
+
//# sourceMappingURL=index.js.map
|
|
7406
|
+
|
|
7407
|
+
/***/ }),
|
|
7408
|
+
|
|
7245
7409
|
/***/ "./dist/relationships/RelationshipCreationChangeRequestContent.js":
|
|
7246
7410
|
/*!************************************************************************!*\
|
|
7247
7411
|
!*** ./dist/relationships/RelationshipCreationChangeRequestContent.js ***!
|
|
@@ -7270,15 +7434,15 @@ let RelationshipCreationChangeRequestContent = class RelationshipCreationChangeR
|
|
|
7270
7434
|
return super.toJSON(verbose, serializeAsString);
|
|
7271
7435
|
}
|
|
7272
7436
|
};
|
|
7437
|
+
exports.RelationshipCreationChangeRequestContent = RelationshipCreationChangeRequestContent;
|
|
7273
7438
|
__decorate([
|
|
7274
7439
|
(0, ts_serval_1.serialize)(),
|
|
7275
7440
|
(0, ts_serval_1.validate)(),
|
|
7276
7441
|
__metadata("design:type", Response_1.Response)
|
|
7277
7442
|
], RelationshipCreationChangeRequestContent.prototype, "response", void 0);
|
|
7278
|
-
RelationshipCreationChangeRequestContent = __decorate([
|
|
7443
|
+
exports.RelationshipCreationChangeRequestContent = RelationshipCreationChangeRequestContent = __decorate([
|
|
7279
7444
|
(0, ts_serval_1.type)("RelationshipCreationChangeRequestContent")
|
|
7280
7445
|
], RelationshipCreationChangeRequestContent);
|
|
7281
|
-
exports.RelationshipCreationChangeRequestContent = RelationshipCreationChangeRequestContent;
|
|
7282
7446
|
//# sourceMappingURL=RelationshipCreationChangeRequestContent.js.map
|
|
7283
7447
|
|
|
7284
7448
|
/***/ }),
|
|
@@ -7311,6 +7475,7 @@ let RelationshipTemplateContent = class RelationshipTemplateContent extends ts_s
|
|
|
7311
7475
|
return super.toJSON(verbose, serializeAsString);
|
|
7312
7476
|
}
|
|
7313
7477
|
};
|
|
7478
|
+
exports.RelationshipTemplateContent = RelationshipTemplateContent;
|
|
7314
7479
|
__decorate([
|
|
7315
7480
|
(0, ts_serval_1.serialize)(),
|
|
7316
7481
|
(0, ts_serval_1.validate)({ nullable: true, max: 200 }),
|
|
@@ -7331,10 +7496,9 @@ __decorate([
|
|
|
7331
7496
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
7332
7497
|
__metadata("design:type", Request_1.Request)
|
|
7333
7498
|
], RelationshipTemplateContent.prototype, "onExistingRelationship", void 0);
|
|
7334
|
-
RelationshipTemplateContent = __decorate([
|
|
7499
|
+
exports.RelationshipTemplateContent = RelationshipTemplateContent = __decorate([
|
|
7335
7500
|
(0, ts_serval_1.type)("RelationshipTemplateContent")
|
|
7336
7501
|
], RelationshipTemplateContent);
|
|
7337
|
-
exports.RelationshipTemplateContent = RelationshipTemplateContent;
|
|
7338
7502
|
//# sourceMappingURL=RelationshipTemplateContent.js.map
|
|
7339
7503
|
|
|
7340
7504
|
/***/ }),
|
|
@@ -7395,6 +7559,7 @@ let Request = class Request extends ts_serval_1.Serializable {
|
|
|
7395
7559
|
return super.toJSON(verbose, serializeAsString);
|
|
7396
7560
|
}
|
|
7397
7561
|
};
|
|
7562
|
+
exports.Request = Request;
|
|
7398
7563
|
__decorate([
|
|
7399
7564
|
(0, ts_serval_1.serialize)(),
|
|
7400
7565
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
@@ -7425,10 +7590,9 @@ __decorate([
|
|
|
7425
7590
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
7426
7591
|
__metadata("design:type", Object)
|
|
7427
7592
|
], Request.prototype, "metadata", void 0);
|
|
7428
|
-
Request = __decorate([
|
|
7593
|
+
exports.Request = Request = __decorate([
|
|
7429
7594
|
(0, ts_serval_1.type)("Request")
|
|
7430
7595
|
], Request);
|
|
7431
|
-
exports.Request = Request;
|
|
7432
7596
|
//# sourceMappingURL=Request.js.map
|
|
7433
7597
|
|
|
7434
7598
|
/***/ }),
|
|
@@ -7457,6 +7621,7 @@ class RequestItem extends ts_serval_1.Serializable {
|
|
|
7457
7621
|
return super.toJSON(verbose, serializeAsString);
|
|
7458
7622
|
}
|
|
7459
7623
|
}
|
|
7624
|
+
exports.RequestItem = RequestItem;
|
|
7460
7625
|
__decorate([
|
|
7461
7626
|
(0, ts_serval_1.serialize)(),
|
|
7462
7627
|
(0, ts_serval_1.validate)({ nullable: true, max: 200 }),
|
|
@@ -7482,7 +7647,6 @@ __decorate([
|
|
|
7482
7647
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
7483
7648
|
__metadata("design:type", Boolean)
|
|
7484
7649
|
], RequestItem.prototype, "requireManualDecision", void 0);
|
|
7485
|
-
exports.RequestItem = RequestItem;
|
|
7486
7650
|
//# sourceMappingURL=RequestItem.js.map
|
|
7487
7651
|
|
|
7488
7652
|
/***/ }),
|
|
@@ -7524,6 +7688,7 @@ let RequestItemGroup = RequestItemGroup_1 = class RequestItemGroup extends ts_se
|
|
|
7524
7688
|
return super.toJSON(verbose, serializeAsString);
|
|
7525
7689
|
}
|
|
7526
7690
|
};
|
|
7691
|
+
exports.RequestItemGroup = RequestItemGroup;
|
|
7527
7692
|
__decorate([
|
|
7528
7693
|
(0, ts_serval_1.serialize)(),
|
|
7529
7694
|
(0, ts_serval_1.validate)({ nullable: true, max: 200 }),
|
|
@@ -7549,10 +7714,9 @@ __decorate([
|
|
|
7549
7714
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
7550
7715
|
__metadata("design:type", Object)
|
|
7551
7716
|
], RequestItemGroup.prototype, "metadata", void 0);
|
|
7552
|
-
RequestItemGroup = RequestItemGroup_1 = __decorate([
|
|
7717
|
+
exports.RequestItemGroup = RequestItemGroup = RequestItemGroup_1 = __decorate([
|
|
7553
7718
|
(0, ts_serval_1.type)("RequestItemGroup")
|
|
7554
7719
|
], RequestItemGroup);
|
|
7555
|
-
exports.RequestItemGroup = RequestItemGroup;
|
|
7556
7720
|
//# sourceMappingURL=RequestItemGroup.js.map
|
|
7557
7721
|
|
|
7558
7722
|
/***/ }),
|
|
@@ -7586,6 +7750,7 @@ let ResponseWrapper = class ResponseWrapper extends ts_serval_1.Serializable {
|
|
|
7586
7750
|
return super.toJSON(verbose, serializeAsString);
|
|
7587
7751
|
}
|
|
7588
7752
|
};
|
|
7753
|
+
exports.ResponseWrapper = ResponseWrapper;
|
|
7589
7754
|
__decorate([
|
|
7590
7755
|
(0, ts_serval_1.serialize)(),
|
|
7591
7756
|
(0, ts_serval_1.validate)(),
|
|
@@ -7606,10 +7771,9 @@ __decorate([
|
|
|
7606
7771
|
(0, ts_serval_1.validate)(),
|
|
7607
7772
|
__metadata("design:type", response_1.Response)
|
|
7608
7773
|
], ResponseWrapper.prototype, "response", void 0);
|
|
7609
|
-
ResponseWrapper = __decorate([
|
|
7774
|
+
exports.ResponseWrapper = ResponseWrapper = __decorate([
|
|
7610
7775
|
(0, ts_serval_1.type)("ResponseWrapper")
|
|
7611
7776
|
], ResponseWrapper);
|
|
7612
|
-
exports.ResponseWrapper = ResponseWrapper;
|
|
7613
7777
|
//# sourceMappingURL=ResponseWrapper.js.map
|
|
7614
7778
|
|
|
7615
7779
|
/***/ }),
|
|
@@ -7671,10 +7835,10 @@ let AuthenticationRequestItem = class AuthenticationRequestItem extends RequestI
|
|
|
7671
7835
|
return super.toJSON(verbose, serializeAsString);
|
|
7672
7836
|
}
|
|
7673
7837
|
};
|
|
7674
|
-
AuthenticationRequestItem =
|
|
7838
|
+
exports.AuthenticationRequestItem = AuthenticationRequestItem;
|
|
7839
|
+
exports.AuthenticationRequestItem = AuthenticationRequestItem = __decorate([
|
|
7675
7840
|
(0, ts_serval_1.type)("AuthenticationRequestItem")
|
|
7676
7841
|
], AuthenticationRequestItem);
|
|
7677
|
-
exports.AuthenticationRequestItem = AuthenticationRequestItem;
|
|
7678
7842
|
//# sourceMappingURL=AuthenticationRequestItem.js.map
|
|
7679
7843
|
|
|
7680
7844
|
/***/ }),
|
|
@@ -7707,6 +7871,7 @@ let ConsentRequestItem = class ConsentRequestItem extends RequestItem_1.RequestI
|
|
|
7707
7871
|
return super.toJSON(verbose, serializeAsString);
|
|
7708
7872
|
}
|
|
7709
7873
|
};
|
|
7874
|
+
exports.ConsentRequestItem = ConsentRequestItem;
|
|
7710
7875
|
__decorate([
|
|
7711
7876
|
(0, ts_serval_1.serialize)(),
|
|
7712
7877
|
(0, ts_serval_1.validate)({ max: 2000 }),
|
|
@@ -7724,10 +7889,9 @@ __decorate([
|
|
|
7724
7889
|
}),
|
|
7725
7890
|
__metadata("design:type", String)
|
|
7726
7891
|
], ConsentRequestItem.prototype, "link", void 0);
|
|
7727
|
-
ConsentRequestItem = __decorate([
|
|
7892
|
+
exports.ConsentRequestItem = ConsentRequestItem = __decorate([
|
|
7728
7893
|
(0, ts_serval_1.type)("ConsentRequestItem")
|
|
7729
7894
|
], ConsentRequestItem);
|
|
7730
|
-
exports.ConsentRequestItem = ConsentRequestItem;
|
|
7731
7895
|
//# sourceMappingURL=ConsentRequestItem.js.map
|
|
7732
7896
|
|
|
7733
7897
|
/***/ }),
|
|
@@ -7761,15 +7925,15 @@ let CreateAttributeAcceptResponseItem = class CreateAttributeAcceptResponseItem
|
|
|
7761
7925
|
return super.toJSON(verbose, serializeAsString);
|
|
7762
7926
|
}
|
|
7763
7927
|
};
|
|
7928
|
+
exports.CreateAttributeAcceptResponseItem = CreateAttributeAcceptResponseItem;
|
|
7764
7929
|
__decorate([
|
|
7765
7930
|
(0, ts_serval_1.serialize)(),
|
|
7766
7931
|
(0, ts_serval_1.validate)(),
|
|
7767
7932
|
__metadata("design:type", transport_1.CoreId)
|
|
7768
7933
|
], CreateAttributeAcceptResponseItem.prototype, "attributeId", void 0);
|
|
7769
|
-
CreateAttributeAcceptResponseItem = __decorate([
|
|
7934
|
+
exports.CreateAttributeAcceptResponseItem = CreateAttributeAcceptResponseItem = __decorate([
|
|
7770
7935
|
(0, ts_serval_1.type)("CreateAttributeAcceptResponseItem")
|
|
7771
7936
|
], CreateAttributeAcceptResponseItem);
|
|
7772
|
-
exports.CreateAttributeAcceptResponseItem = CreateAttributeAcceptResponseItem;
|
|
7773
7937
|
//# sourceMappingURL=CreateAttributeAcceptResponseItem.js.map
|
|
7774
7938
|
|
|
7775
7939
|
/***/ }),
|
|
@@ -7803,15 +7967,15 @@ let CreateAttributeRequestItem = class CreateAttributeRequestItem extends Reques
|
|
|
7803
7967
|
return super.toJSON(verbose, serializeAsString);
|
|
7804
7968
|
}
|
|
7805
7969
|
};
|
|
7970
|
+
exports.CreateAttributeRequestItem = CreateAttributeRequestItem;
|
|
7806
7971
|
__decorate([
|
|
7807
7972
|
(0, ts_serval_1.validate)(),
|
|
7808
7973
|
(0, ts_serval_1.serialize)({ unionTypes: [attributes_1.RelationshipAttribute, attributes_1.IdentityAttribute] }),
|
|
7809
7974
|
__metadata("design:type", Object)
|
|
7810
7975
|
], CreateAttributeRequestItem.prototype, "attribute", void 0);
|
|
7811
|
-
CreateAttributeRequestItem = __decorate([
|
|
7976
|
+
exports.CreateAttributeRequestItem = CreateAttributeRequestItem = __decorate([
|
|
7812
7977
|
(0, ts_serval_1.type)("CreateAttributeRequestItem")
|
|
7813
7978
|
], CreateAttributeRequestItem);
|
|
7814
|
-
exports.CreateAttributeRequestItem = CreateAttributeRequestItem;
|
|
7815
7979
|
//# sourceMappingURL=CreateAttributeRequestItem.js.map
|
|
7816
7980
|
|
|
7817
7981
|
/***/ }),
|
|
@@ -7844,15 +8008,15 @@ let FreeTextAcceptResponseItem = class FreeTextAcceptResponseItem extends respon
|
|
|
7844
8008
|
return super.toJSON(verbose, serializeAsString);
|
|
7845
8009
|
}
|
|
7846
8010
|
};
|
|
8011
|
+
exports.FreeTextAcceptResponseItem = FreeTextAcceptResponseItem;
|
|
7847
8012
|
__decorate([
|
|
7848
8013
|
(0, ts_serval_1.serialize)(),
|
|
7849
8014
|
(0, ts_serval_1.validate)(),
|
|
7850
8015
|
__metadata("design:type", String)
|
|
7851
8016
|
], FreeTextAcceptResponseItem.prototype, "freeText", void 0);
|
|
7852
|
-
FreeTextAcceptResponseItem = __decorate([
|
|
8017
|
+
exports.FreeTextAcceptResponseItem = FreeTextAcceptResponseItem = __decorate([
|
|
7853
8018
|
(0, ts_serval_1.type)("FreeTextAcceptResponseItem")
|
|
7854
8019
|
], FreeTextAcceptResponseItem);
|
|
7855
|
-
exports.FreeTextAcceptResponseItem = FreeTextAcceptResponseItem;
|
|
7856
8020
|
//# sourceMappingURL=FreeTextAcceptResponseItem.js.map
|
|
7857
8021
|
|
|
7858
8022
|
/***/ }),
|
|
@@ -7885,15 +8049,15 @@ let FreeTextRequestItem = class FreeTextRequestItem extends RequestItem_1.Reques
|
|
|
7885
8049
|
return super.toJSON(verbose, serializeAsString);
|
|
7886
8050
|
}
|
|
7887
8051
|
};
|
|
8052
|
+
exports.FreeTextRequestItem = FreeTextRequestItem;
|
|
7888
8053
|
__decorate([
|
|
7889
8054
|
(0, ts_serval_1.serialize)(),
|
|
7890
8055
|
(0, ts_serval_1.validate)(),
|
|
7891
8056
|
__metadata("design:type", String)
|
|
7892
8057
|
], FreeTextRequestItem.prototype, "freeText", void 0);
|
|
7893
|
-
FreeTextRequestItem = __decorate([
|
|
8058
|
+
exports.FreeTextRequestItem = FreeTextRequestItem = __decorate([
|
|
7894
8059
|
(0, ts_serval_1.type)("FreeTextRequestItem")
|
|
7895
8060
|
], FreeTextRequestItem);
|
|
7896
|
-
exports.FreeTextRequestItem = FreeTextRequestItem;
|
|
7897
8061
|
//# sourceMappingURL=FreeTextRequestItem.js.map
|
|
7898
8062
|
|
|
7899
8063
|
/***/ }),
|
|
@@ -7934,8 +8098,6 @@ __exportStar(__webpack_require__(/*! ./registerAttributeListener/RegisterAttribu
|
|
|
7934
8098
|
__exportStar(__webpack_require__(/*! ./registerAttributeListener/RegisterAttributeListenerRequestItem */ "./dist/requests/items/registerAttributeListener/RegisterAttributeListenerRequestItem.js"), exports);
|
|
7935
8099
|
__exportStar(__webpack_require__(/*! ./shareAttribute/ShareAttributeAcceptResponseItem */ "./dist/requests/items/shareAttribute/ShareAttributeAcceptResponseItem.js"), exports);
|
|
7936
8100
|
__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
8101
|
//# sourceMappingURL=index.js.map
|
|
7940
8102
|
|
|
7941
8103
|
/***/ }),
|
|
@@ -7970,6 +8132,7 @@ let ProposeAttributeAcceptResponseItem = class ProposeAttributeAcceptResponseIte
|
|
|
7970
8132
|
return super.toJSON(verbose, serializeAsString);
|
|
7971
8133
|
}
|
|
7972
8134
|
};
|
|
8135
|
+
exports.ProposeAttributeAcceptResponseItem = ProposeAttributeAcceptResponseItem;
|
|
7973
8136
|
__decorate([
|
|
7974
8137
|
(0, ts_serval_1.serialize)(),
|
|
7975
8138
|
(0, ts_serval_1.validate)(),
|
|
@@ -7980,10 +8143,9 @@ __decorate([
|
|
|
7980
8143
|
(0, ts_serval_1.validate)(),
|
|
7981
8144
|
__metadata("design:type", Object)
|
|
7982
8145
|
], ProposeAttributeAcceptResponseItem.prototype, "attribute", void 0);
|
|
7983
|
-
ProposeAttributeAcceptResponseItem = __decorate([
|
|
8146
|
+
exports.ProposeAttributeAcceptResponseItem = ProposeAttributeAcceptResponseItem = __decorate([
|
|
7984
8147
|
(0, ts_serval_1.type)("ProposeAttributeAcceptResponseItem")
|
|
7985
8148
|
], ProposeAttributeAcceptResponseItem);
|
|
7986
|
-
exports.ProposeAttributeAcceptResponseItem = ProposeAttributeAcceptResponseItem;
|
|
7987
8149
|
//# sourceMappingURL=ProposeAttributeAcceptResponseItem.js.map
|
|
7988
8150
|
|
|
7989
8151
|
/***/ }),
|
|
@@ -8039,6 +8201,7 @@ let ProposeAttributeRequestItem = ProposeAttributeRequestItem_1 = class ProposeA
|
|
|
8039
8201
|
return super.toJSON(verbose, serializeAsString);
|
|
8040
8202
|
}
|
|
8041
8203
|
};
|
|
8204
|
+
exports.ProposeAttributeRequestItem = ProposeAttributeRequestItem;
|
|
8042
8205
|
__decorate([
|
|
8043
8206
|
(0, ts_serval_1.serialize)({ unionTypes: [attributes_1.IdentityAttributeQuery, attributes_1.RelationshipAttributeQuery, attributes_1.IQLQuery] }),
|
|
8044
8207
|
(0, ts_serval_1.validate)(),
|
|
@@ -8049,10 +8212,9 @@ __decorate([
|
|
|
8049
8212
|
(0, ts_serval_1.validate)(),
|
|
8050
8213
|
__metadata("design:type", Object)
|
|
8051
8214
|
], ProposeAttributeRequestItem.prototype, "attribute", void 0);
|
|
8052
|
-
ProposeAttributeRequestItem = ProposeAttributeRequestItem_1 = __decorate([
|
|
8215
|
+
exports.ProposeAttributeRequestItem = ProposeAttributeRequestItem = ProposeAttributeRequestItem_1 = __decorate([
|
|
8053
8216
|
(0, ts_serval_1.type)("ProposeAttributeRequestItem")
|
|
8054
8217
|
], ProposeAttributeRequestItem);
|
|
8055
|
-
exports.ProposeAttributeRequestItem = ProposeAttributeRequestItem;
|
|
8056
8218
|
//# sourceMappingURL=ProposeAttributeRequestItem.js.map
|
|
8057
8219
|
|
|
8058
8220
|
/***/ }),
|
|
@@ -8087,6 +8249,7 @@ let ReadAttributeAcceptResponseItem = class ReadAttributeAcceptResponseItem exte
|
|
|
8087
8249
|
return super.toJSON(verbose, serializeAsString);
|
|
8088
8250
|
}
|
|
8089
8251
|
};
|
|
8252
|
+
exports.ReadAttributeAcceptResponseItem = ReadAttributeAcceptResponseItem;
|
|
8090
8253
|
__decorate([
|
|
8091
8254
|
(0, ts_serval_1.serialize)(),
|
|
8092
8255
|
(0, ts_serval_1.validate)(),
|
|
@@ -8097,10 +8260,9 @@ __decorate([
|
|
|
8097
8260
|
(0, ts_serval_1.validate)(),
|
|
8098
8261
|
__metadata("design:type", Object)
|
|
8099
8262
|
], ReadAttributeAcceptResponseItem.prototype, "attribute", void 0);
|
|
8100
|
-
ReadAttributeAcceptResponseItem = __decorate([
|
|
8263
|
+
exports.ReadAttributeAcceptResponseItem = ReadAttributeAcceptResponseItem = __decorate([
|
|
8101
8264
|
(0, ts_serval_1.type)("ReadAttributeAcceptResponseItem")
|
|
8102
8265
|
], ReadAttributeAcceptResponseItem);
|
|
8103
|
-
exports.ReadAttributeAcceptResponseItem = ReadAttributeAcceptResponseItem;
|
|
8104
8266
|
//# sourceMappingURL=ReadAttributeAcceptResponseItem.js.map
|
|
8105
8267
|
|
|
8106
8268
|
/***/ }),
|
|
@@ -8131,6 +8293,7 @@ let ReadAttributeRequestItem = class ReadAttributeRequestItem extends RequestIte
|
|
|
8131
8293
|
return this.fromAny(value);
|
|
8132
8294
|
}
|
|
8133
8295
|
};
|
|
8296
|
+
exports.ReadAttributeRequestItem = ReadAttributeRequestItem;
|
|
8134
8297
|
__decorate([
|
|
8135
8298
|
(0, ts_serval_1.serialize)({
|
|
8136
8299
|
unionTypes: [attributes_1.IdentityAttributeQuery, attributes_1.RelationshipAttributeQuery, attributes_1.ThirdPartyRelationshipAttributeQuery, attributes_1.IQLQuery]
|
|
@@ -8138,10 +8301,9 @@ __decorate([
|
|
|
8138
8301
|
(0, ts_serval_1.validate)(),
|
|
8139
8302
|
__metadata("design:type", Object)
|
|
8140
8303
|
], ReadAttributeRequestItem.prototype, "query", void 0);
|
|
8141
|
-
ReadAttributeRequestItem = __decorate([
|
|
8304
|
+
exports.ReadAttributeRequestItem = ReadAttributeRequestItem = __decorate([
|
|
8142
8305
|
(0, ts_serval_1.type)("ReadAttributeRequestItem")
|
|
8143
8306
|
], ReadAttributeRequestItem);
|
|
8144
|
-
exports.ReadAttributeRequestItem = ReadAttributeRequestItem;
|
|
8145
8307
|
//# sourceMappingURL=ReadAttributeRequestItem.js.map
|
|
8146
8308
|
|
|
8147
8309
|
/***/ }),
|
|
@@ -8174,15 +8336,15 @@ let RegisterAttributeListenerAcceptResponseItem = class RegisterAttributeListene
|
|
|
8174
8336
|
return super.toJSON(verbose, serializeAsString);
|
|
8175
8337
|
}
|
|
8176
8338
|
};
|
|
8339
|
+
exports.RegisterAttributeListenerAcceptResponseItem = RegisterAttributeListenerAcceptResponseItem;
|
|
8177
8340
|
__decorate([
|
|
8178
8341
|
(0, ts_serval_1.serialize)(),
|
|
8179
8342
|
(0, ts_serval_1.validate)({ max: 30 }),
|
|
8180
8343
|
__metadata("design:type", String)
|
|
8181
8344
|
], RegisterAttributeListenerAcceptResponseItem.prototype, "listenerId", void 0);
|
|
8182
|
-
RegisterAttributeListenerAcceptResponseItem = __decorate([
|
|
8345
|
+
exports.RegisterAttributeListenerAcceptResponseItem = RegisterAttributeListenerAcceptResponseItem = __decorate([
|
|
8183
8346
|
(0, ts_serval_1.type)("RegisterAttributeListenerAcceptResponseItem")
|
|
8184
8347
|
], RegisterAttributeListenerAcceptResponseItem);
|
|
8185
|
-
exports.RegisterAttributeListenerAcceptResponseItem = RegisterAttributeListenerAcceptResponseItem;
|
|
8186
8348
|
//# sourceMappingURL=RegisterAttributeListenerAcceptResponseItem.js.map
|
|
8187
8349
|
|
|
8188
8350
|
/***/ }),
|
|
@@ -8216,6 +8378,7 @@ let RegisterAttributeListenerRequestItem = class RegisterAttributeListenerReques
|
|
|
8216
8378
|
return super.toJSON(verbose, serializeAsString);
|
|
8217
8379
|
}
|
|
8218
8380
|
};
|
|
8381
|
+
exports.RegisterAttributeListenerRequestItem = RegisterAttributeListenerRequestItem;
|
|
8219
8382
|
__decorate([
|
|
8220
8383
|
(0, ts_serval_1.serialize)({
|
|
8221
8384
|
unionTypes: [attributes_1.IdentityAttributeQuery, attributes_1.ThirdPartyRelationshipAttributeQuery]
|
|
@@ -8223,10 +8386,9 @@ __decorate([
|
|
|
8223
8386
|
(0, ts_serval_1.validate)(),
|
|
8224
8387
|
__metadata("design:type", Object)
|
|
8225
8388
|
], RegisterAttributeListenerRequestItem.prototype, "query", void 0);
|
|
8226
|
-
RegisterAttributeListenerRequestItem = __decorate([
|
|
8389
|
+
exports.RegisterAttributeListenerRequestItem = RegisterAttributeListenerRequestItem = __decorate([
|
|
8227
8390
|
(0, ts_serval_1.type)("RegisterAttributeListenerRequestItem")
|
|
8228
8391
|
], RegisterAttributeListenerRequestItem);
|
|
8229
|
-
exports.RegisterAttributeListenerRequestItem = RegisterAttributeListenerRequestItem;
|
|
8230
8392
|
//# sourceMappingURL=RegisterAttributeListenerRequestItem.js.map
|
|
8231
8393
|
|
|
8232
8394
|
/***/ }),
|
|
@@ -8260,15 +8422,15 @@ let ShareAttributeAcceptResponseItem = class ShareAttributeAcceptResponseItem ex
|
|
|
8260
8422
|
return super.toJSON(verbose, serializeAsString);
|
|
8261
8423
|
}
|
|
8262
8424
|
};
|
|
8425
|
+
exports.ShareAttributeAcceptResponseItem = ShareAttributeAcceptResponseItem;
|
|
8263
8426
|
__decorate([
|
|
8264
8427
|
(0, ts_serval_1.serialize)(),
|
|
8265
8428
|
(0, ts_serval_1.validate)(),
|
|
8266
8429
|
__metadata("design:type", transport_1.CoreId)
|
|
8267
8430
|
], ShareAttributeAcceptResponseItem.prototype, "attributeId", void 0);
|
|
8268
|
-
ShareAttributeAcceptResponseItem = __decorate([
|
|
8431
|
+
exports.ShareAttributeAcceptResponseItem = ShareAttributeAcceptResponseItem = __decorate([
|
|
8269
8432
|
(0, ts_serval_1.type)("ShareAttributeAcceptResponseItem")
|
|
8270
8433
|
], ShareAttributeAcceptResponseItem);
|
|
8271
|
-
exports.ShareAttributeAcceptResponseItem = ShareAttributeAcceptResponseItem;
|
|
8272
8434
|
//# sourceMappingURL=ShareAttributeAcceptResponseItem.js.map
|
|
8273
8435
|
|
|
8274
8436
|
/***/ }),
|
|
@@ -8303,6 +8465,7 @@ let ShareAttributeRequestItem = class ShareAttributeRequestItem extends RequestI
|
|
|
8303
8465
|
return super.toJSON(verbose, serializeAsString);
|
|
8304
8466
|
}
|
|
8305
8467
|
};
|
|
8468
|
+
exports.ShareAttributeRequestItem = ShareAttributeRequestItem;
|
|
8306
8469
|
__decorate([
|
|
8307
8470
|
(0, ts_serval_1.serialize)({ unionTypes: [attributes_1.IdentityAttribute, attributes_1.RelationshipAttribute] }),
|
|
8308
8471
|
(0, ts_serval_1.validate)(),
|
|
@@ -8313,104 +8476,13 @@ __decorate([
|
|
|
8313
8476
|
(0, ts_serval_1.validate)(),
|
|
8314
8477
|
__metadata("design:type", transport_1.CoreId)
|
|
8315
8478
|
], ShareAttributeRequestItem.prototype, "sourceAttributeId", void 0);
|
|
8316
|
-
ShareAttributeRequestItem = __decorate([
|
|
8479
|
+
exports.ShareAttributeRequestItem = ShareAttributeRequestItem = __decorate([
|
|
8317
8480
|
(0, ts_serval_1.type)("ShareAttributeRequestItem")
|
|
8318
8481
|
], ShareAttributeRequestItem);
|
|
8319
|
-
exports.ShareAttributeRequestItem = ShareAttributeRequestItem;
|
|
8320
8482
|
//# sourceMappingURL=ShareAttributeRequestItem.js.map
|
|
8321
8483
|
|
|
8322
8484
|
/***/ }),
|
|
8323
8485
|
|
|
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
8486
|
/***/ "./dist/requests/response/AcceptResponseItem.js":
|
|
8415
8487
|
/*!******************************************************!*\
|
|
8416
8488
|
!*** ./dist/requests/response/AcceptResponseItem.js ***!
|
|
@@ -8436,10 +8508,10 @@ let AcceptResponseItem = class AcceptResponseItem extends ResponseItem_1.Respons
|
|
|
8436
8508
|
return super.toJSON(verbose, serializeAsString);
|
|
8437
8509
|
}
|
|
8438
8510
|
};
|
|
8439
|
-
AcceptResponseItem =
|
|
8511
|
+
exports.AcceptResponseItem = AcceptResponseItem;
|
|
8512
|
+
exports.AcceptResponseItem = AcceptResponseItem = __decorate([
|
|
8440
8513
|
(0, ts_serval_1.type)("AcceptResponseItem")
|
|
8441
8514
|
], AcceptResponseItem);
|
|
8442
|
-
exports.AcceptResponseItem = AcceptResponseItem;
|
|
8443
8515
|
//# sourceMappingURL=AcceptResponseItem.js.map
|
|
8444
8516
|
|
|
8445
8517
|
/***/ }),
|
|
@@ -8472,6 +8544,7 @@ let ErrorResponseItem = class ErrorResponseItem extends ResponseItem_1.ResponseI
|
|
|
8472
8544
|
return super.toJSON(verbose, serializeAsString);
|
|
8473
8545
|
}
|
|
8474
8546
|
};
|
|
8547
|
+
exports.ErrorResponseItem = ErrorResponseItem;
|
|
8475
8548
|
__decorate([
|
|
8476
8549
|
(0, ts_serval_1.serialize)(),
|
|
8477
8550
|
(0, ts_serval_1.validate)({ max: 200 }),
|
|
@@ -8482,10 +8555,9 @@ __decorate([
|
|
|
8482
8555
|
(0, ts_serval_1.validate)({ max: 1000 }),
|
|
8483
8556
|
__metadata("design:type", String)
|
|
8484
8557
|
], ErrorResponseItem.prototype, "message", void 0);
|
|
8485
|
-
ErrorResponseItem = __decorate([
|
|
8558
|
+
exports.ErrorResponseItem = ErrorResponseItem = __decorate([
|
|
8486
8559
|
(0, ts_serval_1.type)("ErrorResponseItem")
|
|
8487
8560
|
], ErrorResponseItem);
|
|
8488
|
-
exports.ErrorResponseItem = ErrorResponseItem;
|
|
8489
8561
|
//# sourceMappingURL=ErrorResponseItem.js.map
|
|
8490
8562
|
|
|
8491
8563
|
/***/ }),
|
|
@@ -8518,6 +8590,7 @@ let RejectResponseItem = class RejectResponseItem extends ResponseItem_1.Respons
|
|
|
8518
8590
|
return super.toJSON(verbose, serializeAsString);
|
|
8519
8591
|
}
|
|
8520
8592
|
};
|
|
8593
|
+
exports.RejectResponseItem = RejectResponseItem;
|
|
8521
8594
|
__decorate([
|
|
8522
8595
|
(0, ts_serval_1.serialize)(),
|
|
8523
8596
|
(0, ts_serval_1.validate)({ nullable: true, max: 200 }),
|
|
@@ -8528,10 +8601,9 @@ __decorate([
|
|
|
8528
8601
|
(0, ts_serval_1.validate)({ nullable: true, max: 1000 }),
|
|
8529
8602
|
__metadata("design:type", String)
|
|
8530
8603
|
], RejectResponseItem.prototype, "message", void 0);
|
|
8531
|
-
RejectResponseItem = __decorate([
|
|
8604
|
+
exports.RejectResponseItem = RejectResponseItem = __decorate([
|
|
8532
8605
|
(0, ts_serval_1.type)("RejectResponseItem")
|
|
8533
8606
|
], RejectResponseItem);
|
|
8534
|
-
exports.RejectResponseItem = RejectResponseItem;
|
|
8535
8607
|
//# sourceMappingURL=RejectResponseItem.js.map
|
|
8536
8608
|
|
|
8537
8609
|
/***/ }),
|
|
@@ -8560,7 +8632,7 @@ var ResponseResult;
|
|
|
8560
8632
|
(function (ResponseResult) {
|
|
8561
8633
|
ResponseResult["Accepted"] = "Accepted";
|
|
8562
8634
|
ResponseResult["Rejected"] = "Rejected";
|
|
8563
|
-
})(ResponseResult
|
|
8635
|
+
})(ResponseResult || (exports.ResponseResult = ResponseResult = {}));
|
|
8564
8636
|
let Response = class Response extends ts_serval_1.Serializable {
|
|
8565
8637
|
static from(value) {
|
|
8566
8638
|
return this.fromAny(value);
|
|
@@ -8569,6 +8641,7 @@ let Response = class Response extends ts_serval_1.Serializable {
|
|
|
8569
8641
|
return super.toJSON(verbose, serializeAsString);
|
|
8570
8642
|
}
|
|
8571
8643
|
};
|
|
8644
|
+
exports.Response = Response;
|
|
8572
8645
|
__decorate([
|
|
8573
8646
|
(0, ts_serval_1.serialize)(),
|
|
8574
8647
|
(0, ts_serval_1.validate)(),
|
|
@@ -8584,10 +8657,9 @@ __decorate([
|
|
|
8584
8657
|
(0, ts_serval_1.validate)({ customValidator: (v) => (v.length < 1 ? "may not be empty" : undefined) }),
|
|
8585
8658
|
__metadata("design:type", Array)
|
|
8586
8659
|
], Response.prototype, "items", void 0);
|
|
8587
|
-
Response = __decorate([
|
|
8660
|
+
exports.Response = Response = __decorate([
|
|
8588
8661
|
(0, ts_serval_1.type)("Response")
|
|
8589
8662
|
], Response);
|
|
8590
|
-
exports.Response = Response;
|
|
8591
8663
|
//# sourceMappingURL=Response.js.map
|
|
8592
8664
|
|
|
8593
8665
|
/***/ }),
|
|
@@ -8617,12 +8689,12 @@ class ResponseItem extends ts_serval_1.Serializable {
|
|
|
8617
8689
|
return super.toJSON(verbose, serializeAsString);
|
|
8618
8690
|
}
|
|
8619
8691
|
}
|
|
8692
|
+
exports.ResponseItem = ResponseItem;
|
|
8620
8693
|
__decorate([
|
|
8621
8694
|
(0, ts_serval_1.serialize)(),
|
|
8622
8695
|
(0, ts_serval_1.validate)(),
|
|
8623
8696
|
__metadata("design:type", String)
|
|
8624
8697
|
], ResponseItem.prototype, "result", void 0);
|
|
8625
|
-
exports.ResponseItem = ResponseItem;
|
|
8626
8698
|
//# sourceMappingURL=ResponseItem.js.map
|
|
8627
8699
|
|
|
8628
8700
|
/***/ }),
|
|
@@ -8654,15 +8726,15 @@ let ResponseItemGroup = class ResponseItemGroup extends ts_serval_1.Serializable
|
|
|
8654
8726
|
return super.toJSON(verbose, serializeAsString);
|
|
8655
8727
|
}
|
|
8656
8728
|
};
|
|
8729
|
+
exports.ResponseItemGroup = ResponseItemGroup;
|
|
8657
8730
|
__decorate([
|
|
8658
8731
|
(0, ts_serval_1.serialize)(),
|
|
8659
8732
|
(0, ts_serval_1.validate)({ customValidator: (v) => (v.length < 1 ? "may not be empty" : undefined) }),
|
|
8660
8733
|
__metadata("design:type", Array)
|
|
8661
8734
|
], ResponseItemGroup.prototype, "items", void 0);
|
|
8662
|
-
ResponseItemGroup = __decorate([
|
|
8735
|
+
exports.ResponseItemGroup = ResponseItemGroup = __decorate([
|
|
8663
8736
|
(0, ts_serval_1.type)("ResponseItemGroup")
|
|
8664
8737
|
], ResponseItemGroup);
|
|
8665
|
-
exports.ResponseItemGroup = ResponseItemGroup;
|
|
8666
8738
|
//# sourceMappingURL=ResponseItemGroup.js.map
|
|
8667
8739
|
|
|
8668
8740
|
/***/ }),
|
|
@@ -8681,7 +8753,7 @@ var ResponseItemResult;
|
|
|
8681
8753
|
ResponseItemResult["Accepted"] = "Accepted";
|
|
8682
8754
|
ResponseItemResult["Rejected"] = "Rejected";
|
|
8683
8755
|
ResponseItemResult["Failed"] = "Error";
|
|
8684
|
-
})(ResponseItemResult
|
|
8756
|
+
})(ResponseItemResult || (exports.ResponseItemResult = ResponseItemResult = {}));
|
|
8685
8757
|
//# sourceMappingURL=ResponseItemResult.js.map
|
|
8686
8758
|
|
|
8687
8759
|
/***/ }),
|
|
@@ -11055,7 +11127,7 @@ function intlConfigString(localeStr, numberingSystem, outputCalendar) {
|
|
|
11055
11127
|
function mapMonths(f) {
|
|
11056
11128
|
const ms = [];
|
|
11057
11129
|
for (let i = 1; i <= 12; i++) {
|
|
11058
|
-
const dt = DateTime.utc(
|
|
11130
|
+
const dt = DateTime.utc(2009, i, 1);
|
|
11059
11131
|
ms.push(f(dt));
|
|
11060
11132
|
}
|
|
11061
11133
|
return ms;
|
|
@@ -11068,8 +11140,8 @@ function mapWeekdays(f) {
|
|
|
11068
11140
|
}
|
|
11069
11141
|
return ms;
|
|
11070
11142
|
}
|
|
11071
|
-
function listStuff(loc, length,
|
|
11072
|
-
const mode = loc.listingMode(
|
|
11143
|
+
function listStuff(loc, length, englishFn, intlFn) {
|
|
11144
|
+
const mode = loc.listingMode();
|
|
11073
11145
|
if (mode === "error") {
|
|
11074
11146
|
return null;
|
|
11075
11147
|
} else if (mode === "en") {
|
|
@@ -11315,8 +11387,8 @@ class Locale {
|
|
|
11315
11387
|
defaultToEN: false
|
|
11316
11388
|
});
|
|
11317
11389
|
}
|
|
11318
|
-
months(length, format = false
|
|
11319
|
-
return listStuff(this, length,
|
|
11390
|
+
months(length, format = false) {
|
|
11391
|
+
return listStuff(this, length, months, () => {
|
|
11320
11392
|
const intl = format ? {
|
|
11321
11393
|
month: length,
|
|
11322
11394
|
day: "numeric"
|
|
@@ -11330,8 +11402,8 @@ class Locale {
|
|
|
11330
11402
|
return this.monthsCache[formatStr][length];
|
|
11331
11403
|
});
|
|
11332
11404
|
}
|
|
11333
|
-
weekdays(length, format = false
|
|
11334
|
-
return listStuff(this, length,
|
|
11405
|
+
weekdays(length, format = false) {
|
|
11406
|
+
return listStuff(this, length, weekdays, () => {
|
|
11335
11407
|
const intl = format ? {
|
|
11336
11408
|
weekday: length,
|
|
11337
11409
|
year: "numeric",
|
|
@@ -11347,8 +11419,8 @@ class Locale {
|
|
|
11347
11419
|
return this.weekdaysCache[formatStr][length];
|
|
11348
11420
|
});
|
|
11349
11421
|
}
|
|
11350
|
-
meridiems(
|
|
11351
|
-
return listStuff(this, undefined,
|
|
11422
|
+
meridiems() {
|
|
11423
|
+
return listStuff(this, undefined, () => meridiems, () => {
|
|
11352
11424
|
// In theory there could be aribitrary day periods. We're gonna assume there are exactly two
|
|
11353
11425
|
// for AM and PM. This is probably wrong, but it's makes parsing way easier.
|
|
11354
11426
|
if (!this.meridiemCache) {
|
|
@@ -11361,8 +11433,8 @@ class Locale {
|
|
|
11361
11433
|
return this.meridiemCache;
|
|
11362
11434
|
});
|
|
11363
11435
|
}
|
|
11364
|
-
eras(length
|
|
11365
|
-
return listStuff(this, length,
|
|
11436
|
+
eras(length) {
|
|
11437
|
+
return listStuff(this, length, eras, () => {
|
|
11366
11438
|
const intl = {
|
|
11367
11439
|
era: length
|
|
11368
11440
|
};
|
|
@@ -11566,7 +11638,7 @@ function normalizeZone(input, defaultZone) {
|
|
|
11566
11638
|
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
11639
|
} else if (isNumber(input)) {
|
|
11568
11640
|
return FixedOffsetZone.instance(input);
|
|
11569
|
-
} else if (typeof input === "object" &&
|
|
11641
|
+
} else if (typeof input === "object" && "offset" in input && typeof input.offset === "function") {
|
|
11570
11642
|
// This is dumb, but the instanceof check above doesn't seem to really work
|
|
11571
11643
|
// so we're duck checking it
|
|
11572
11644
|
return input;
|
|
@@ -11683,10 +11755,10 @@ class Settings {
|
|
|
11683
11755
|
/**
|
|
11684
11756
|
* Set the cutoff year after which a string encoding a year as two digits is interpreted to occur in the current century.
|
|
11685
11757
|
* @type {number}
|
|
11686
|
-
* @example Settings.twoDigitCutoffYear = 0 // cut-off year is 0, so all 'yy' are
|
|
11758
|
+
* @example Settings.twoDigitCutoffYear = 0 // cut-off year is 0, so all 'yy' are interpreted as current century
|
|
11687
11759
|
* @example Settings.twoDigitCutoffYear = 50 // '49' -> 1949; '50' -> 2050
|
|
11688
|
-
* @example Settings.twoDigitCutoffYear = 1950 //
|
|
11689
|
-
* @example Settings.twoDigitCutoffYear = 2050 // ALSO
|
|
11760
|
+
* @example Settings.twoDigitCutoffYear = 1950 // interpreted as 50
|
|
11761
|
+
* @example Settings.twoDigitCutoffYear = 2050 // ALSO interpreted as 50
|
|
11690
11762
|
*/
|
|
11691
11763
|
static set twoDigitCutoffYear(cutoffYear) {
|
|
11692
11764
|
twoDigitCutoffYear = cutoffYear % 100;
|
|
@@ -11853,7 +11925,7 @@ function daysInMonth(year, month) {
|
|
|
11853
11925
|
}
|
|
11854
11926
|
}
|
|
11855
11927
|
|
|
11856
|
-
//
|
|
11928
|
+
// convert a calendar object to a local timestamp (epoch, but with the offset baked in)
|
|
11857
11929
|
function objToLocalTS(obj) {
|
|
11858
11930
|
let d = Date.UTC(obj.year, obj.month - 1, obj.day, obj.hour, obj.minute, obj.second, obj.millisecond);
|
|
11859
11931
|
|
|
@@ -12155,33 +12227,24 @@ class Formatter {
|
|
|
12155
12227
|
});
|
|
12156
12228
|
return df.format();
|
|
12157
12229
|
}
|
|
12158
|
-
|
|
12159
|
-
|
|
12230
|
+
dtFormatter(dt, opts = {}) {
|
|
12231
|
+
return this.loc.dtFormatter(dt, {
|
|
12160
12232
|
...this.opts,
|
|
12161
12233
|
...opts
|
|
12162
12234
|
});
|
|
12163
|
-
return df.format();
|
|
12164
12235
|
}
|
|
12165
|
-
|
|
12166
|
-
|
|
12167
|
-
...this.opts,
|
|
12168
|
-
...opts
|
|
12169
|
-
});
|
|
12170
|
-
return df.formatToParts();
|
|
12236
|
+
formatDateTime(dt, opts) {
|
|
12237
|
+
return this.dtFormatter(dt, opts).format();
|
|
12171
12238
|
}
|
|
12172
|
-
|
|
12173
|
-
|
|
12174
|
-
|
|
12175
|
-
|
|
12176
|
-
|
|
12239
|
+
formatDateTimeParts(dt, opts) {
|
|
12240
|
+
return this.dtFormatter(dt, opts).formatToParts();
|
|
12241
|
+
}
|
|
12242
|
+
formatInterval(interval, opts) {
|
|
12243
|
+
const df = this.dtFormatter(interval.start, opts);
|
|
12177
12244
|
return df.dtf.formatRange(interval.start.toJSDate(), interval.end.toJSDate());
|
|
12178
12245
|
}
|
|
12179
|
-
resolvedOptions(dt, opts
|
|
12180
|
-
|
|
12181
|
-
...this.opts,
|
|
12182
|
-
...opts
|
|
12183
|
-
});
|
|
12184
|
-
return df.resolvedOptions();
|
|
12246
|
+
resolvedOptions(dt, opts) {
|
|
12247
|
+
return this.dtFormatter(dt, opts).resolvedOptions();
|
|
12185
12248
|
}
|
|
12186
12249
|
num(n, p = 0) {
|
|
12187
12250
|
// we get some perf out of doing this here, annoyingly
|
|
@@ -12235,7 +12298,7 @@ class Formatter {
|
|
|
12235
12298
|
era: length
|
|
12236
12299
|
}, "era"),
|
|
12237
12300
|
tokenToString = token => {
|
|
12238
|
-
// Where possible:
|
|
12301
|
+
// Where possible: https://cldr.unicode.org/translation/date-time/date-time-symbols
|
|
12239
12302
|
switch (token) {
|
|
12240
12303
|
// ms
|
|
12241
12304
|
case "S":
|
|
@@ -12824,27 +12887,61 @@ function clone$1(dur, alts, clear = false) {
|
|
|
12824
12887
|
};
|
|
12825
12888
|
return new Duration(conf);
|
|
12826
12889
|
}
|
|
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;
|
|
12890
|
+
function durationToMillis(matrix, vals) {
|
|
12891
|
+
var _vals$milliseconds;
|
|
12892
|
+
let sum = (_vals$milliseconds = vals.milliseconds) != null ? _vals$milliseconds : 0;
|
|
12893
|
+
for (const unit of reverseUnits.slice(1)) {
|
|
12894
|
+
if (vals[unit]) {
|
|
12895
|
+
sum += vals[unit] * matrix[unit]["milliseconds"];
|
|
12896
|
+
}
|
|
12897
|
+
}
|
|
12898
|
+
return sum;
|
|
12840
12899
|
}
|
|
12841
12900
|
|
|
12842
12901
|
// NB: mutates parameters
|
|
12843
12902
|
function normalizeValues(matrix, vals) {
|
|
12844
|
-
|
|
12903
|
+
// the logic below assumes the overall value of the duration is positive
|
|
12904
|
+
// if this is not the case, factor is used to make it so
|
|
12905
|
+
const factor = durationToMillis(matrix, vals) < 0 ? -1 : 1;
|
|
12906
|
+
orderedUnits$1.reduceRight((previous, current) => {
|
|
12907
|
+
if (!isUndefined(vals[current])) {
|
|
12908
|
+
if (previous) {
|
|
12909
|
+
const previousVal = vals[previous] * factor;
|
|
12910
|
+
const conv = matrix[current][previous];
|
|
12911
|
+
|
|
12912
|
+
// if (previousVal < 0):
|
|
12913
|
+
// lower order unit is negative (e.g. { years: 2, days: -2 })
|
|
12914
|
+
// normalize this by reducing the higher order unit by the appropriate amount
|
|
12915
|
+
// and increasing the lower order unit
|
|
12916
|
+
// this can never make the higher order unit negative, because this function only operates
|
|
12917
|
+
// on positive durations, so the amount of time represented by the lower order unit cannot
|
|
12918
|
+
// be larger than the higher order unit
|
|
12919
|
+
// else:
|
|
12920
|
+
// lower order unit is positive (e.g. { years: 2, days: 450 } or { years: -2, days: 450 })
|
|
12921
|
+
// in this case we attempt to convert as much as possible from the lower order unit into
|
|
12922
|
+
// the higher order one
|
|
12923
|
+
//
|
|
12924
|
+
// Math.floor takes care of both of these cases, rounding away from 0
|
|
12925
|
+
// if previousVal < 0 it makes the absolute value larger
|
|
12926
|
+
// if previousVal >= it makes the absolute value smaller
|
|
12927
|
+
const rollUp = Math.floor(previousVal / conv);
|
|
12928
|
+
vals[current] += rollUp * factor;
|
|
12929
|
+
vals[previous] -= rollUp * conv * factor;
|
|
12930
|
+
}
|
|
12931
|
+
return current;
|
|
12932
|
+
} else {
|
|
12933
|
+
return previous;
|
|
12934
|
+
}
|
|
12935
|
+
}, null);
|
|
12936
|
+
|
|
12937
|
+
// try to convert any decimals into smaller units if possible
|
|
12938
|
+
// for example for { years: 2.5, days: 0, seconds: 0 } we want to get { years: 2, days: 182, hours: 12 }
|
|
12939
|
+
orderedUnits$1.reduce((previous, current) => {
|
|
12845
12940
|
if (!isUndefined(vals[current])) {
|
|
12846
12941
|
if (previous) {
|
|
12847
|
-
|
|
12942
|
+
const fraction = vals[previous] % 1;
|
|
12943
|
+
vals[previous] -= fraction;
|
|
12944
|
+
vals[current] += fraction * matrix[previous][current];
|
|
12848
12945
|
}
|
|
12849
12946
|
return current;
|
|
12850
12947
|
} else {
|
|
@@ -13150,6 +13247,7 @@ class Duration {
|
|
|
13150
13247
|
* ```
|
|
13151
13248
|
*/
|
|
13152
13249
|
toHuman(opts = {}) {
|
|
13250
|
+
if (!this.isValid) return INVALID$2;
|
|
13153
13251
|
const l = orderedUnits$1.map(unit => {
|
|
13154
13252
|
const val = this.values[unit];
|
|
13155
13253
|
if (isUndefined(val)) {
|
|
@@ -13235,21 +13333,13 @@ class Duration {
|
|
|
13235
13333
|
suppressSeconds: false,
|
|
13236
13334
|
includePrefix: false,
|
|
13237
13335
|
format: "extended",
|
|
13238
|
-
...opts
|
|
13336
|
+
...opts,
|
|
13337
|
+
includeOffset: false
|
|
13239
13338
|
};
|
|
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;
|
|
13339
|
+
const dateTime = DateTime.fromMillis(millis, {
|
|
13340
|
+
zone: "UTC"
|
|
13341
|
+
});
|
|
13342
|
+
return dateTime.toISOTime(opts);
|
|
13253
13343
|
}
|
|
13254
13344
|
|
|
13255
13345
|
/**
|
|
@@ -13273,7 +13363,8 @@ class Duration {
|
|
|
13273
13363
|
* @return {number}
|
|
13274
13364
|
*/
|
|
13275
13365
|
toMillis() {
|
|
13276
|
-
|
|
13366
|
+
if (!this.isValid) return NaN;
|
|
13367
|
+
return durationToMillis(this.matrix, this.values);
|
|
13277
13368
|
}
|
|
13278
13369
|
|
|
13279
13370
|
/**
|
|
@@ -13399,8 +13490,17 @@ class Duration {
|
|
|
13399
13490
|
|
|
13400
13491
|
/**
|
|
13401
13492
|
* Reduce this Duration to its canonical representation in its current units.
|
|
13493
|
+
* Assuming the overall value of the Duration is positive, this means:
|
|
13494
|
+
* - excessive values for lower-order units are converted to higher-order units (if possible, see first and second example)
|
|
13495
|
+
* - negative lower-order units are converted to higher order units (there must be such a higher order unit, otherwise
|
|
13496
|
+
* the overall value would be negative, see second example)
|
|
13497
|
+
* - fractional values for higher-order units are converted to lower-order units (if possible, see fourth example)
|
|
13498
|
+
*
|
|
13499
|
+
* If the overall value is negative, the result of this method is equivalent to `this.negate().normalize().negate()`.
|
|
13402
13500
|
* @example Duration.fromObject({ years: 2, days: 5000 }).normalize().toObject() //=> { years: 15, days: 255 }
|
|
13501
|
+
* @example Duration.fromObject({ days: 5000 }).normalize().toObject() //=> { days: 5000 }
|
|
13403
13502
|
* @example Duration.fromObject({ hours: 12, minutes: -45 }).normalize().toObject() //=> { hours: 11, minutes: 15 }
|
|
13503
|
+
* @example Duration.fromObject({ years: 2.5, days: 0, hours: 0 }).normalize().toObject() //=> { years: 2, days: 182, hours: 12 }
|
|
13404
13504
|
* @return {Duration}
|
|
13405
13505
|
*/
|
|
13406
13506
|
normalize() {
|
|
@@ -13455,16 +13555,13 @@ class Duration {
|
|
|
13455
13555
|
if (isNumber(vals[k])) {
|
|
13456
13556
|
own += vals[k];
|
|
13457
13557
|
}
|
|
13558
|
+
|
|
13559
|
+
// only keep the integer part for now in the hopes of putting any decimal part
|
|
13560
|
+
// into a smaller unit later
|
|
13458
13561
|
const i = Math.trunc(own);
|
|
13459
13562
|
built[k] = i;
|
|
13460
13563
|
accumulated[k] = (own * 1000 - i * 1000) / 1000;
|
|
13461
13564
|
|
|
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
13565
|
// otherwise, keep it in the wings to boil it later
|
|
13469
13566
|
} else if (isNumber(vals[k])) {
|
|
13470
13567
|
accumulated[k] = vals[k];
|
|
@@ -13478,9 +13575,10 @@ class Duration {
|
|
|
13478
13575
|
built[lastUnit] += key === lastUnit ? accumulated[key] : accumulated[key] / this.matrix[lastUnit][key];
|
|
13479
13576
|
}
|
|
13480
13577
|
}
|
|
13578
|
+
normalizeValues(this.matrix, built);
|
|
13481
13579
|
return clone$1(this, {
|
|
13482
13580
|
values: built
|
|
13483
|
-
}, true)
|
|
13581
|
+
}, true);
|
|
13484
13582
|
}
|
|
13485
13583
|
|
|
13486
13584
|
/**
|
|
@@ -14438,14 +14536,35 @@ function highOrderDiffs(cursor, later, units) {
|
|
|
14438
14536
|
const results = {};
|
|
14439
14537
|
const earlier = cursor;
|
|
14440
14538
|
let lowestOrder, highWater;
|
|
14539
|
+
|
|
14540
|
+
/* This loop tries to diff using larger units first.
|
|
14541
|
+
If we overshoot, we backtrack and try the next smaller unit.
|
|
14542
|
+
"cursor" starts out at the earlier timestamp and moves closer and closer to "later"
|
|
14543
|
+
as we use smaller and smaller units.
|
|
14544
|
+
highWater keeps track of where we would be if we added one more of the smallest unit,
|
|
14545
|
+
this is used later to potentially convert any difference smaller than the smallest higher order unit
|
|
14546
|
+
into a fraction of that smallest higher order unit
|
|
14547
|
+
*/
|
|
14441
14548
|
for (const [unit, differ] of differs) {
|
|
14442
14549
|
if (units.indexOf(unit) >= 0) {
|
|
14443
14550
|
lowestOrder = unit;
|
|
14444
14551
|
results[unit] = differ(cursor, later);
|
|
14445
14552
|
highWater = earlier.plus(results);
|
|
14446
14553
|
if (highWater > later) {
|
|
14554
|
+
// we overshot the end point, backtrack cursor by 1
|
|
14447
14555
|
results[unit]--;
|
|
14448
14556
|
cursor = earlier.plus(results);
|
|
14557
|
+
|
|
14558
|
+
// if we are still overshooting now, we need to backtrack again
|
|
14559
|
+
// this happens in certain situations when diffing times in different zones,
|
|
14560
|
+
// because this calculation ignores time zones
|
|
14561
|
+
if (cursor > later) {
|
|
14562
|
+
// keep the "overshot by 1" around as highWater
|
|
14563
|
+
highWater = cursor;
|
|
14564
|
+
// backtrack cursor by 1
|
|
14565
|
+
results[unit]--;
|
|
14566
|
+
cursor = earlier.plus(results);
|
|
14567
|
+
}
|
|
14449
14568
|
} else {
|
|
14450
14569
|
cursor = highWater;
|
|
14451
14570
|
}
|
|
@@ -14594,6 +14713,11 @@ function simple(regex) {
|
|
|
14594
14713
|
function escapeToken(value) {
|
|
14595
14714
|
return value.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g, "\\$&");
|
|
14596
14715
|
}
|
|
14716
|
+
|
|
14717
|
+
/**
|
|
14718
|
+
* @param token
|
|
14719
|
+
* @param {Locale} loc
|
|
14720
|
+
*/
|
|
14597
14721
|
function unitForToken(token, loc) {
|
|
14598
14722
|
const one = digitRegex(loc),
|
|
14599
14723
|
two = digitRegex(loc, "{2}"),
|
|
@@ -14618,9 +14742,9 @@ function unitForToken(token, loc) {
|
|
|
14618
14742
|
switch (t.val) {
|
|
14619
14743
|
// era
|
|
14620
14744
|
case "G":
|
|
14621
|
-
return oneOf(loc.eras("short"
|
|
14745
|
+
return oneOf(loc.eras("short"), 0);
|
|
14622
14746
|
case "GG":
|
|
14623
|
-
return oneOf(loc.eras("long"
|
|
14747
|
+
return oneOf(loc.eras("long"), 0);
|
|
14624
14748
|
// years
|
|
14625
14749
|
case "y":
|
|
14626
14750
|
return intUnit(oneToSix);
|
|
@@ -14638,17 +14762,17 @@ function unitForToken(token, loc) {
|
|
|
14638
14762
|
case "MM":
|
|
14639
14763
|
return intUnit(two);
|
|
14640
14764
|
case "MMM":
|
|
14641
|
-
return oneOf(loc.months("short", true
|
|
14765
|
+
return oneOf(loc.months("short", true), 1);
|
|
14642
14766
|
case "MMMM":
|
|
14643
|
-
return oneOf(loc.months("long", true
|
|
14767
|
+
return oneOf(loc.months("long", true), 1);
|
|
14644
14768
|
case "L":
|
|
14645
14769
|
return intUnit(oneOrTwo);
|
|
14646
14770
|
case "LL":
|
|
14647
14771
|
return intUnit(two);
|
|
14648
14772
|
case "LLL":
|
|
14649
|
-
return oneOf(loc.months("short", false
|
|
14773
|
+
return oneOf(loc.months("short", false), 1);
|
|
14650
14774
|
case "LLLL":
|
|
14651
|
-
return oneOf(loc.months("long", false
|
|
14775
|
+
return oneOf(loc.months("long", false), 1);
|
|
14652
14776
|
// dates
|
|
14653
14777
|
case "d":
|
|
14654
14778
|
return intUnit(oneOrTwo);
|
|
@@ -14708,13 +14832,13 @@ function unitForToken(token, loc) {
|
|
|
14708
14832
|
case "c":
|
|
14709
14833
|
return intUnit(one);
|
|
14710
14834
|
case "EEE":
|
|
14711
|
-
return oneOf(loc.weekdays("short", false
|
|
14835
|
+
return oneOf(loc.weekdays("short", false), 1);
|
|
14712
14836
|
case "EEEE":
|
|
14713
|
-
return oneOf(loc.weekdays("long", false
|
|
14837
|
+
return oneOf(loc.weekdays("long", false), 1);
|
|
14714
14838
|
case "ccc":
|
|
14715
|
-
return oneOf(loc.weekdays("short", true
|
|
14839
|
+
return oneOf(loc.weekdays("short", true), 1);
|
|
14716
14840
|
case "cccc":
|
|
14717
|
-
return oneOf(loc.weekdays("long", true
|
|
14841
|
+
return oneOf(loc.weekdays("long", true), 1);
|
|
14718
14842
|
// offset/zone
|
|
14719
14843
|
case "Z":
|
|
14720
14844
|
case "ZZ":
|
|
@@ -14760,10 +14884,14 @@ const partTypeStyleToTokenVal = {
|
|
|
14760
14884
|
},
|
|
14761
14885
|
dayperiod: "a",
|
|
14762
14886
|
dayPeriod: "a",
|
|
14763
|
-
|
|
14887
|
+
hour12: {
|
|
14764
14888
|
numeric: "h",
|
|
14765
14889
|
"2-digit": "hh"
|
|
14766
14890
|
},
|
|
14891
|
+
hour24: {
|
|
14892
|
+
numeric: "H",
|
|
14893
|
+
"2-digit": "HH"
|
|
14894
|
+
},
|
|
14767
14895
|
minute: {
|
|
14768
14896
|
numeric: "m",
|
|
14769
14897
|
"2-digit": "mm"
|
|
@@ -14777,7 +14905,7 @@ const partTypeStyleToTokenVal = {
|
|
|
14777
14905
|
short: "ZZZ"
|
|
14778
14906
|
}
|
|
14779
14907
|
};
|
|
14780
|
-
function tokenForPart(part, formatOpts) {
|
|
14908
|
+
function tokenForPart(part, formatOpts, resolvedOpts) {
|
|
14781
14909
|
const {
|
|
14782
14910
|
type,
|
|
14783
14911
|
value
|
|
@@ -14790,7 +14918,27 @@ function tokenForPart(part, formatOpts) {
|
|
|
14790
14918
|
};
|
|
14791
14919
|
}
|
|
14792
14920
|
const style = formatOpts[type];
|
|
14793
|
-
|
|
14921
|
+
|
|
14922
|
+
// The user might have explicitly specified hour12 or hourCycle
|
|
14923
|
+
// if so, respect their decision
|
|
14924
|
+
// if not, refer back to the resolvedOpts, which are based on the locale
|
|
14925
|
+
let actualType = type;
|
|
14926
|
+
if (type === "hour") {
|
|
14927
|
+
if (formatOpts.hour12 != null) {
|
|
14928
|
+
actualType = formatOpts.hour12 ? "hour12" : "hour24";
|
|
14929
|
+
} else if (formatOpts.hourCycle != null) {
|
|
14930
|
+
if (formatOpts.hourCycle === "h11" || formatOpts.hourCycle === "h12") {
|
|
14931
|
+
actualType = "hour12";
|
|
14932
|
+
} else {
|
|
14933
|
+
actualType = "hour24";
|
|
14934
|
+
}
|
|
14935
|
+
} else {
|
|
14936
|
+
// tokens only differentiate between 24 hours or not,
|
|
14937
|
+
// so we do not need to check hourCycle here, which is less supported anyways
|
|
14938
|
+
actualType = resolvedOpts.hour12 ? "hour12" : "hour24";
|
|
14939
|
+
}
|
|
14940
|
+
}
|
|
14941
|
+
let val = partTypeStyleToTokenVal[actualType];
|
|
14794
14942
|
if (typeof val === "object") {
|
|
14795
14943
|
val = val[style];
|
|
14796
14944
|
}
|
|
@@ -14966,8 +15114,10 @@ function formatOptsToTokens(formatOpts, locale) {
|
|
|
14966
15114
|
return null;
|
|
14967
15115
|
}
|
|
14968
15116
|
const formatter = Formatter.create(locale, formatOpts);
|
|
14969
|
-
const
|
|
14970
|
-
|
|
15117
|
+
const df = formatter.dtFormatter(getDummyDateTime());
|
|
15118
|
+
const parts = df.formatToParts();
|
|
15119
|
+
const resolvedOpts = df.resolvedOptions();
|
|
15120
|
+
return parts.map(p => tokenForPart(p, formatOpts, resolvedOpts));
|
|
14971
15121
|
}
|
|
14972
15122
|
|
|
14973
15123
|
const nonLeapLadder = [0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334],
|
|
@@ -15303,13 +15453,13 @@ function toISOTime(o, extended, suppressSeconds, suppressMilliseconds, includeOf
|
|
|
15303
15453
|
if (extended) {
|
|
15304
15454
|
c += ":";
|
|
15305
15455
|
c += padStart(o.c.minute);
|
|
15306
|
-
if (o.c.second !== 0 || !suppressSeconds) {
|
|
15456
|
+
if (o.c.millisecond !== 0 || o.c.second !== 0 || !suppressSeconds) {
|
|
15307
15457
|
c += ":";
|
|
15308
15458
|
}
|
|
15309
15459
|
} else {
|
|
15310
15460
|
c += padStart(o.c.minute);
|
|
15311
15461
|
}
|
|
15312
|
-
if (o.c.second !== 0 || !suppressSeconds) {
|
|
15462
|
+
if (o.c.millisecond !== 0 || o.c.second !== 0 || !suppressSeconds) {
|
|
15313
15463
|
c += padStart(o.c.second);
|
|
15314
15464
|
if (o.c.millisecond !== 0 || !suppressMilliseconds) {
|
|
15315
15465
|
c += ".";
|
|
@@ -15943,7 +16093,7 @@ class DateTime {
|
|
|
15943
16093
|
|
|
15944
16094
|
/**
|
|
15945
16095
|
* Create an invalid DateTime.
|
|
15946
|
-
* @param {
|
|
16096
|
+
* @param {string} reason - simple string of why this DateTime is invalid. Should not contain parameters or anything else data-dependent.
|
|
15947
16097
|
* @param {string} [explanation=null] - longer explanation, may include parameters and other useful debugging information
|
|
15948
16098
|
* @return {DateTime}
|
|
15949
16099
|
*/
|
|
@@ -16302,6 +16452,41 @@ class DateTime {
|
|
|
16302
16452
|
}
|
|
16303
16453
|
}
|
|
16304
16454
|
|
|
16455
|
+
/**
|
|
16456
|
+
* Get those DateTimes which have the same local time as this DateTime, but a different offset from UTC
|
|
16457
|
+
* in this DateTime's zone. During DST changes local time can be ambiguous, for example
|
|
16458
|
+
* `2023-10-29T02:30:00` in `Europe/Berlin` can have offset `+01:00` or `+02:00`.
|
|
16459
|
+
* This method will return both possible DateTimes if this DateTime's local time is ambiguous.
|
|
16460
|
+
* @returns {DateTime[]}
|
|
16461
|
+
*/
|
|
16462
|
+
getPossibleOffsets() {
|
|
16463
|
+
if (!this.isValid || this.isOffsetFixed) {
|
|
16464
|
+
return [this];
|
|
16465
|
+
}
|
|
16466
|
+
const dayMs = 86400000;
|
|
16467
|
+
const minuteMs = 60000;
|
|
16468
|
+
const localTS = objToLocalTS(this.c);
|
|
16469
|
+
const oEarlier = this.zone.offset(localTS - dayMs);
|
|
16470
|
+
const oLater = this.zone.offset(localTS + dayMs);
|
|
16471
|
+
const o1 = this.zone.offset(localTS - oEarlier * minuteMs);
|
|
16472
|
+
const o2 = this.zone.offset(localTS - oLater * minuteMs);
|
|
16473
|
+
if (o1 === o2) {
|
|
16474
|
+
return [this];
|
|
16475
|
+
}
|
|
16476
|
+
const ts1 = localTS - o1 * minuteMs;
|
|
16477
|
+
const ts2 = localTS - o2 * minuteMs;
|
|
16478
|
+
const c1 = tsToObj(ts1, o1);
|
|
16479
|
+
const c2 = tsToObj(ts2, o2);
|
|
16480
|
+
if (c1.hour === c2.hour && c1.minute === c2.minute && c1.second === c2.second && c1.millisecond === c2.millisecond) {
|
|
16481
|
+
return [clone(this, {
|
|
16482
|
+
ts: ts1
|
|
16483
|
+
}), clone(this, {
|
|
16484
|
+
ts: ts2
|
|
16485
|
+
})];
|
|
16486
|
+
}
|
|
16487
|
+
return [this];
|
|
16488
|
+
}
|
|
16489
|
+
|
|
16305
16490
|
/**
|
|
16306
16491
|
* Returns true if this DateTime is in a leap year, false otherwise
|
|
16307
16492
|
* @example DateTime.local(2016).isInLeapYear //=> true
|
|
@@ -17308,7 +17493,7 @@ function friendlyDateTime(dateTimeish) {
|
|
|
17308
17493
|
}
|
|
17309
17494
|
}
|
|
17310
17495
|
|
|
17311
|
-
const VERSION = "3.3
|
|
17496
|
+
const VERSION = "3.4.3";
|
|
17312
17497
|
|
|
17313
17498
|
exports.DateTime = DateTime;
|
|
17314
17499
|
exports.Duration = Duration;
|