@nmshd/content 1.2.2 → 2.0.0-alpha.10
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/ContentJSON.d.ts +2 -1
- package/dist/attributes/AbstractAttribute.d.ts +17 -0
- package/dist/attributes/AbstractAttribute.js +33 -0
- package/dist/attributes/AbstractAttribute.js.map +1 -0
- package/dist/attributes/AbstractAttributeQuery.d.ts +15 -0
- package/dist/attributes/{AttributeQuery.js → AbstractAttributeQuery.js} +10 -21
- package/dist/attributes/AbstractAttributeQuery.js.map +1 -0
- package/dist/attributes/AbstractAttributeValue.d.ts +8 -3
- package/dist/attributes/AbstractAttributeValue.js +6 -0
- package/dist/attributes/AbstractAttributeValue.js.map +1 -1
- package/dist/attributes/AbstractComplexValue.d.ts +7 -0
- package/dist/attributes/AbstractComplexValue.js +8 -0
- package/dist/attributes/AbstractComplexValue.js.map +1 -0
- package/dist/attributes/Attribute.d.ts +9 -11
- package/dist/attributes/Attribute.js +29 -17
- package/dist/attributes/Attribute.js.map +1 -1
- package/dist/attributes/IdentityAttribute.d.ts +15 -0
- package/dist/attributes/IdentityAttribute.js +35 -0
- package/dist/attributes/IdentityAttribute.js.map +1 -0
- package/dist/attributes/IdentityAttributeQuery.d.ts +11 -0
- package/dist/attributes/IdentityAttributeQuery.js +29 -0
- package/dist/attributes/IdentityAttributeQuery.js.map +1 -0
- package/dist/attributes/RelationshipAttribute.d.ts +15 -0
- package/dist/attributes/RelationshipAttribute.js +35 -0
- package/dist/attributes/RelationshipAttribute.js.map +1 -0
- package/dist/attributes/RelationshipAttributeQuery.d.ts +15 -0
- package/dist/attributes/RelationshipAttributeQuery.js +35 -0
- package/dist/attributes/RelationshipAttributeQuery.js.map +1 -0
- package/dist/attributes/constants/CountriesAlpha2.d.ts +252 -0
- package/dist/attributes/constants/CountriesAlpha2.js +507 -0
- package/dist/attributes/constants/CountriesAlpha2.js.map +1 -0
- package/dist/attributes/constants/LanguagesISO639.d.ts +191 -0
- package/dist/attributes/constants/LanguagesISO639.js +377 -0
- package/dist/attributes/constants/LanguagesISO639.js.map +1 -0
- package/dist/attributes/constants/index.d.ts +2 -0
- package/dist/attributes/{types/idcard → constants}/index.js +2 -4
- package/dist/attributes/constants/index.js.map +1 -0
- package/dist/attributes/index.d.ts +8 -1
- package/dist/attributes/index.js +8 -1
- package/dist/attributes/index.js.map +1 -1
- package/dist/attributes/types/AbstractBoolean.d.ts +13 -0
- package/dist/attributes/types/AbstractBoolean.js +31 -0
- package/dist/attributes/types/AbstractBoolean.js.map +1 -0
- package/dist/attributes/types/AbstractFloat.d.ts +13 -0
- package/dist/attributes/types/{idcard/IDCardAuthorityName.js → AbstractFloat.js} +16 -11
- package/dist/attributes/types/AbstractFloat.js.map +1 -0
- package/dist/attributes/types/AbstractInteger.d.ts +13 -0
- package/dist/attributes/types/AbstractInteger.js +31 -0
- package/dist/attributes/types/AbstractInteger.js.map +1 -0
- package/dist/attributes/types/AbstractString.d.ts +13 -0
- package/dist/attributes/types/{idcard/IDCardIssuingDate.js → AbstractString.js} +15 -10
- package/dist/attributes/types/AbstractString.js.map +1 -0
- package/dist/attributes/types/address/AbstractAddress.d.ts +8 -2
- package/dist/attributes/types/address/AbstractAddress.js +2 -2
- package/dist/attributes/types/address/AbstractAddress.js.map +1 -1
- package/dist/attributes/types/address/City.d.ts +2 -3
- package/dist/attributes/types/address/City.js +2 -10
- package/dist/attributes/types/address/City.js.map +1 -1
- package/dist/attributes/types/address/Country.d.ts +2 -3
- package/dist/attributes/types/address/Country.js +2 -10
- package/dist/attributes/types/address/Country.js.map +1 -1
- package/dist/attributes/types/address/DeliveryBoxAddress.d.ts +25 -2
- package/dist/attributes/types/address/DeliveryBoxAddress.js +31 -4
- package/dist/attributes/types/address/DeliveryBoxAddress.js.map +1 -1
- package/dist/attributes/types/address/HouseNumber.d.ts +2 -3
- package/dist/attributes/types/address/HouseNumber.js +2 -10
- package/dist/attributes/types/address/HouseNumber.js.map +1 -1
- package/dist/attributes/types/address/PostOfficeBoxAddress.d.ts +19 -2
- package/dist/attributes/types/address/PostOfficeBoxAddress.js +21 -4
- package/dist/attributes/types/address/PostOfficeBoxAddress.js.map +1 -1
- package/dist/attributes/types/address/State.d.ts +2 -3
- package/dist/attributes/types/address/State.js +2 -10
- package/dist/attributes/types/address/State.js.map +1 -1
- package/dist/attributes/types/address/Street.d.ts +2 -3
- package/dist/attributes/types/address/Street.js +2 -10
- package/dist/attributes/types/address/Street.js.map +1 -1
- package/dist/attributes/types/address/StreetAddress.d.ts +21 -2
- package/dist/attributes/types/address/StreetAddress.js +23 -6
- package/dist/attributes/types/address/StreetAddress.js.map +1 -1
- package/dist/attributes/types/address/ZipCode.d.ts +2 -3
- package/dist/attributes/types/address/ZipCode.js +2 -10
- package/dist/attributes/types/address/ZipCode.js.map +1 -1
- package/dist/attributes/types/birth/BirthDate.d.ts +15 -2
- package/dist/attributes/types/birth/BirthDate.js +16 -4
- package/dist/attributes/types/birth/BirthDate.js.map +1 -1
- package/dist/attributes/types/birth/BirthDay.d.ts +1 -1
- package/dist/attributes/types/birth/BirthDay.js +1 -1
- package/dist/attributes/types/birth/BirthDay.js.map +1 -1
- package/dist/attributes/types/birth/BirthMonth.d.ts +1 -1
- package/dist/attributes/types/birth/BirthMonth.js +1 -1
- package/dist/attributes/types/birth/BirthMonth.js.map +1 -1
- package/dist/attributes/types/birth/BirthPlace.d.ts +16 -3
- package/dist/attributes/types/birth/BirthPlace.js +17 -5
- package/dist/attributes/types/birth/BirthPlace.js.map +1 -1
- package/dist/attributes/types/birth/BirthYear.d.ts +1 -1
- package/dist/attributes/types/birth/BirthYear.js +1 -1
- package/dist/attributes/types/birth/BirthYear.js.map +1 -1
- package/dist/attributes/types/communication/CommunicationLanguage.d.ts +3 -0
- package/dist/attributes/types/communication/CommunicationLanguage.js +18 -0
- package/dist/attributes/types/communication/CommunicationLanguage.js.map +1 -0
- package/dist/attributes/types/communication/EMailAddress.d.ts +3 -0
- package/dist/attributes/types/communication/EMailAddress.js +18 -0
- package/dist/attributes/types/communication/EMailAddress.js.map +1 -0
- package/dist/attributes/types/communication/Fax.d.ts +3 -0
- package/dist/attributes/types/communication/Fax.js +18 -0
- package/dist/attributes/types/communication/Fax.js.map +1 -0
- package/dist/attributes/types/communication/Phone.d.ts +3 -0
- package/dist/attributes/types/communication/Phone.js +18 -0
- package/dist/attributes/types/communication/Phone.js.map +1 -0
- package/dist/attributes/types/communication/Website.d.ts +3 -0
- package/dist/attributes/types/communication/Website.js +18 -0
- package/dist/attributes/types/communication/Website.js.map +1 -0
- package/dist/attributes/types/communication/index.d.ts +5 -0
- package/dist/attributes/types/communication/index.js +22 -0
- package/dist/attributes/types/communication/index.js.map +1 -0
- package/dist/attributes/types/dates/AbstractDateString.d.ts +5 -0
- package/dist/attributes/types/{person/PersonHeight.js → dates/AbstractDateString.js} +12 -12
- package/dist/attributes/types/dates/AbstractDateString.js.map +1 -0
- package/dist/attributes/types/dates/AbstractDay.d.ts +7 -0
- package/dist/attributes/types/{AbstractDay.js → dates/AbstractDay.js} +5 -3
- package/dist/attributes/types/dates/AbstractDay.js.map +1 -0
- package/dist/attributes/types/{AbstractMonth.d.ts → dates/AbstractMonth.d.ts} +2 -2
- package/dist/attributes/types/{AbstractMonth.js → dates/AbstractMonth.js} +7 -3
- package/dist/attributes/types/dates/AbstractMonth.js.map +1 -0
- package/dist/attributes/types/dates/AbstractPeriod.d.ts +16 -0
- package/dist/attributes/types/dates/AbstractPeriod.js +32 -0
- package/dist/attributes/types/dates/AbstractPeriod.js.map +1 -0
- package/dist/attributes/types/dates/AbstractYear.d.ts +4 -0
- package/dist/attributes/types/{AbstractYear.js → dates/AbstractYear.js} +5 -3
- package/dist/attributes/types/dates/AbstractYear.js.map +1 -0
- package/dist/attributes/types/dates/index.d.ts +5 -0
- package/dist/attributes/types/dates/index.js +22 -0
- package/dist/attributes/types/dates/index.js.map +1 -0
- package/dist/attributes/types/index.d.ts +10 -1
- package/dist/attributes/types/index.js +10 -1
- package/dist/attributes/types/index.js.map +1 -1
- package/dist/attributes/types/measurements/{LengthMeasurement.d.ts → AbstractLengthMeasurement.d.ts} +1 -1
- package/dist/attributes/types/measurements/{LengthMeasurement.js → AbstractLengthMeasurement.js} +6 -9
- package/dist/attributes/types/measurements/AbstractLengthMeasurement.js.map +1 -0
- package/dist/attributes/types/measurements/AbstractMeasurement.d.ts +11 -2
- package/dist/attributes/types/measurements/AbstractMeasurement.js +5 -2
- package/dist/attributes/types/measurements/AbstractMeasurement.js.map +1 -1
- package/dist/attributes/types/measurements/index.d.ts +2 -1
- package/dist/attributes/types/measurements/index.js +2 -1
- package/dist/attributes/types/measurements/index.js.map +1 -1
- package/dist/attributes/types/name/AbstractLegalName.d.ts +2 -2
- package/dist/attributes/types/name/AbstractLegalName.js +4 -4
- package/dist/attributes/types/name/AbstractLegalName.js.map +1 -1
- package/dist/attributes/types/name/BirthName.d.ts +2 -3
- package/dist/attributes/types/name/BirthName.js +2 -10
- package/dist/attributes/types/name/BirthName.js.map +1 -1
- package/dist/attributes/types/name/DisplayName.d.ts +2 -3
- package/dist/attributes/types/name/DisplayName.js +2 -10
- package/dist/attributes/types/name/DisplayName.js.map +1 -1
- package/dist/attributes/types/name/GivenName.d.ts +2 -3
- package/dist/attributes/types/name/GivenName.js +2 -10
- package/dist/attributes/types/name/GivenName.js.map +1 -1
- package/dist/attributes/types/name/HonorificPrefix.d.ts +3 -0
- package/dist/attributes/types/name/HonorificPrefix.js +18 -0
- package/dist/attributes/types/name/HonorificPrefix.js.map +1 -0
- package/dist/attributes/types/name/HonorificSuffix.d.ts +3 -0
- package/dist/attributes/types/name/HonorificSuffix.js +18 -0
- package/dist/attributes/types/name/HonorificSuffix.js.map +1 -0
- package/dist/attributes/types/name/LegalNameDE.d.ts +21 -2
- package/dist/attributes/types/name/LegalNameDE.js +24 -5
- package/dist/attributes/types/name/LegalNameDE.js.map +1 -1
- package/dist/attributes/types/name/Pseudonym.d.ts +2 -3
- package/dist/attributes/types/name/Pseudonym.js +2 -10
- package/dist/attributes/types/name/Pseudonym.js.map +1 -1
- package/dist/attributes/types/name/Salutation.d.ts +24 -5
- package/dist/attributes/types/name/Salutation.js +23 -10
- package/dist/attributes/types/name/Salutation.js.map +1 -1
- package/dist/attributes/types/name/Surname.d.ts +2 -3
- package/dist/attributes/types/name/Surname.js +2 -10
- package/dist/attributes/types/name/Surname.js.map +1 -1
- package/dist/attributes/types/name/index.d.ts +2 -1
- package/dist/attributes/types/name/index.js +2 -1
- package/dist/attributes/types/name/index.js.map +1 -1
- package/dist/attributes/types/person/Age.d.ts +2 -2
- package/dist/attributes/types/person/Age.js +5 -3
- package/dist/attributes/types/person/Age.js.map +1 -1
- package/dist/attributes/types/person/Citizenship.d.ts +3 -0
- package/dist/attributes/types/person/Citizenship.js +18 -0
- package/dist/attributes/types/person/Citizenship.js.map +1 -0
- package/dist/attributes/types/person/Nationality.d.ts +3 -0
- package/dist/attributes/types/person/Nationality.js +18 -0
- package/dist/attributes/types/person/Nationality.js.map +1 -0
- package/dist/attributes/types/person/Picture.d.ts +3 -0
- package/dist/attributes/types/person/Picture.js +18 -0
- package/dist/attributes/types/person/Picture.js.map +1 -0
- package/dist/attributes/types/person/Sex.d.ts +8 -3
- package/dist/attributes/types/person/Sex.js +12 -4
- package/dist/attributes/types/person/Sex.js.map +1 -1
- package/dist/attributes/types/person/index.d.ts +3 -3
- package/dist/attributes/types/person/index.js +3 -3
- package/dist/attributes/types/person/index.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryBoolean.d.ts +3 -0
- package/dist/attributes/types/proprietary/ProprietaryBoolean.js +18 -0
- package/dist/attributes/types/proprietary/ProprietaryBoolean.js.map +1 -0
- package/dist/attributes/types/proprietary/ProprietaryCountry.d.ts +3 -0
- package/dist/attributes/types/proprietary/ProprietaryCountry.js +18 -0
- package/dist/attributes/types/proprietary/ProprietaryCountry.js.map +1 -0
- package/dist/attributes/types/proprietary/ProprietaryDataURL.d.ts +3 -0
- package/dist/attributes/types/proprietary/ProprietaryDataURL.js +18 -0
- package/dist/attributes/types/proprietary/ProprietaryDataURL.js.map +1 -0
- package/dist/attributes/types/proprietary/ProprietaryEMailAddress.d.ts +3 -0
- package/dist/attributes/types/proprietary/ProprietaryEMailAddress.js +18 -0
- package/dist/attributes/types/proprietary/ProprietaryEMailAddress.js.map +1 -0
- package/dist/attributes/types/proprietary/ProprietaryFloat.d.ts +3 -0
- package/dist/attributes/types/proprietary/ProprietaryFloat.js +18 -0
- package/dist/attributes/types/proprietary/ProprietaryFloat.js.map +1 -0
- package/dist/attributes/types/proprietary/ProprietaryHEXColor.d.ts +3 -0
- package/dist/attributes/types/proprietary/ProprietaryHEXColor.js +18 -0
- package/dist/attributes/types/proprietary/ProprietaryHEXColor.js.map +1 -0
- package/dist/attributes/types/proprietary/ProprietaryInteger.d.ts +3 -0
- package/dist/attributes/types/proprietary/ProprietaryInteger.js +18 -0
- package/dist/attributes/types/proprietary/ProprietaryInteger.js.map +1 -0
- package/dist/attributes/types/proprietary/ProprietaryLanguage.d.ts +3 -0
- package/dist/attributes/types/proprietary/ProprietaryLanguage.js +18 -0
- package/dist/attributes/types/proprietary/ProprietaryLanguage.js.map +1 -0
- package/dist/attributes/types/proprietary/ProprietaryPhoneNumber.d.ts +3 -0
- package/dist/attributes/types/proprietary/ProprietaryPhoneNumber.js +18 -0
- package/dist/attributes/types/proprietary/ProprietaryPhoneNumber.js.map +1 -0
- package/dist/attributes/types/proprietary/ProprietaryString.d.ts +3 -0
- package/dist/attributes/types/proprietary/ProprietaryString.js +18 -0
- package/dist/attributes/types/proprietary/ProprietaryString.js.map +1 -0
- package/dist/attributes/types/proprietary/ProprietaryURL.d.ts +3 -0
- package/dist/attributes/types/proprietary/ProprietaryURL.js +18 -0
- package/dist/attributes/types/proprietary/ProprietaryURL.js.map +1 -0
- package/dist/attributes/types/proprietary/index.d.ts +11 -0
- package/dist/attributes/types/proprietary/index.js +28 -0
- package/dist/attributes/types/proprietary/index.js.map +1 -0
- package/dist/attributes/types/strings/AbstractCountry.d.ts +5 -0
- package/dist/attributes/types/strings/AbstractCountry.js +26 -0
- package/dist/attributes/types/strings/AbstractCountry.js.map +1 -0
- package/dist/attributes/types/strings/AbstractDataURL.d.ts +4 -0
- package/dist/attributes/types/strings/AbstractDataURL.js +25 -0
- package/dist/attributes/types/strings/AbstractDataURL.js.map +1 -0
- package/dist/attributes/types/strings/AbstractEMailAddress.d.ts +4 -0
- package/dist/attributes/types/strings/AbstractEMailAddress.js +25 -0
- package/dist/attributes/types/strings/AbstractEMailAddress.js.map +1 -0
- package/dist/attributes/types/strings/AbstractHEXColor.d.ts +4 -0
- package/dist/attributes/types/{name/Title.js → strings/AbstractHEXColor.js} +8 -11
- package/dist/attributes/types/strings/AbstractHEXColor.js.map +1 -0
- package/dist/attributes/types/strings/AbstractLanguage.d.ts +5 -0
- package/dist/attributes/types/strings/AbstractLanguage.js +26 -0
- package/dist/attributes/types/strings/AbstractLanguage.js.map +1 -0
- package/dist/attributes/types/strings/AbstractPhoneNumber.d.ts +4 -0
- package/dist/attributes/types/{person/Gender.js → strings/AbstractPhoneNumber.js} +8 -14
- package/dist/attributes/types/strings/AbstractPhoneNumber.js.map +1 -0
- package/dist/attributes/types/strings/AbstractURL.d.ts +4 -0
- package/dist/attributes/types/strings/AbstractURL.js +27 -0
- package/dist/attributes/types/strings/AbstractURL.js.map +1 -0
- package/dist/attributes/types/strings/index.d.ts +7 -0
- package/dist/attributes/types/strings/index.js +24 -0
- package/dist/attributes/types/strings/index.js.map +1 -0
- package/dist/authorizations/Authorization.js +3 -4
- package/dist/authorizations/Authorization.js.map +1 -1
- package/dist/buildInformation.js +4 -4
- package/dist/forms/FormItem.js +4 -10
- package/dist/forms/FormItem.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/messages/Mail.d.ts +6 -5
- package/dist/messages/Mail.js +11 -10
- package/dist/messages/Mail.js.map +1 -1
- package/dist/messages/RequestMail.d.ts +4 -4
- package/dist/messages/RequestMail.js +13 -14
- package/dist/messages/RequestMail.js.map +1 -1
- package/dist/relationships/RelationshipCreationChangeRequestBody.d.ts +29 -0
- package/dist/relationships/RelationshipCreationChangeRequestBody.js +55 -0
- package/dist/relationships/RelationshipCreationChangeRequestBody.js.map +1 -0
- package/dist/relationships/RelationshipExistsAction.d.ts +7 -0
- package/dist/relationships/RelationshipExistsAction.js +17 -0
- package/dist/relationships/RelationshipExistsAction.js.map +1 -0
- package/dist/relationships/RelationshipExistsMessageAction.d.ts +11 -0
- package/dist/relationships/RelationshipExistsMessageAction.js +26 -0
- package/dist/relationships/RelationshipExistsMessageAction.js.map +1 -0
- package/dist/relationships/RelationshipTemplateBody.d.ts +42 -0
- package/dist/relationships/RelationshipTemplateBody.js +72 -0
- package/dist/relationships/RelationshipTemplateBody.js.map +1 -0
- package/dist/relationships/index.d.ts +4 -0
- package/dist/relationships/index.js +21 -0
- package/dist/relationships/index.js.map +1 -0
- package/dist/requests/Request.d.ts +41 -0
- package/dist/requests/Request.js +39 -0
- package/dist/requests/Request.js.map +1 -0
- package/dist/requests/RequestItem.d.ts +62 -0
- package/dist/requests/RequestItem.js +37 -0
- package/dist/requests/RequestItem.js.map +1 -0
- package/dist/requests/RequestItemGroup.d.ts +84 -0
- package/dist/requests/RequestItemGroup.js +57 -0
- package/dist/requests/RequestItemGroup.js.map +1 -0
- package/dist/requests/index.d.ts +7 -0
- package/dist/requests/index.js +24 -0
- package/dist/requests/index.js.map +1 -0
- package/dist/requests/{AttributesChangeRequest.d.ts → old/AttributesChangeRequest.d.ts} +6 -6
- package/dist/requests/{AttributesChangeRequest.js → old/AttributesChangeRequest.js} +8 -9
- package/dist/requests/old/AttributesChangeRequest.js.map +1 -0
- package/dist/requests/old/AttributesRequest.d.ts +49 -0
- package/dist/requests/old/AttributesRequest.js +64 -0
- package/dist/requests/old/AttributesRequest.js.map +1 -0
- package/dist/requests/{AttributesShareRequest.d.ts → old/AttributesShareRequest.d.ts} +4 -4
- package/dist/requests/{AttributesShareRequest.js → old/AttributesShareRequest.js} +4 -5
- package/dist/requests/old/AttributesShareRequest.js.map +1 -0
- package/dist/requests/response/AcceptResponseItem.d.ts +12 -0
- package/dist/requests/response/AcceptResponseItem.js +21 -0
- package/dist/requests/response/AcceptResponseItem.js.map +1 -0
- package/dist/requests/response/ErrorResponseItem.d.ts +18 -0
- package/dist/requests/response/ErrorResponseItem.js +34 -0
- package/dist/requests/response/ErrorResponseItem.js.map +1 -0
- package/dist/requests/response/RejectResponseItem.d.ts +18 -0
- package/dist/requests/response/RejectResponseItem.js +34 -0
- package/dist/requests/response/RejectResponseItem.js.map +1 -0
- package/dist/requests/response/Response.d.ts +25 -0
- package/dist/{attributes/types/idcard/IDCardDE.js → requests/response/Response.js} +23 -24
- package/dist/requests/response/Response.js.map +1 -0
- package/dist/requests/response/ResponseItem.d.ts +15 -0
- package/dist/{attributes/types/person/PersonEyeColor.js → requests/response/ResponseItem.js} +12 -10
- package/dist/requests/response/ResponseItem.js.map +1 -0
- package/dist/requests/response/ResponseItemGroup.d.ts +16 -0
- package/dist/requests/response/ResponseItemGroup.js +33 -0
- package/dist/requests/response/ResponseItemGroup.js.map +1 -0
- package/dist/requests/response/ResponseItemResult.d.ts +5 -0
- package/dist/requests/response/ResponseItemResult.js +10 -0
- package/dist/requests/response/ResponseItemResult.js.map +1 -0
- package/dist/requests/response/index.d.ts +7 -0
- package/dist/requests/response/index.js +24 -0
- package/dist/requests/response/index.js.map +1 -0
- package/lib-web/nmshd.content.js +13158 -1696
- package/lib-web/nmshd.content.min.js +1 -1
- package/package.json +16 -16
- package/dist/attributes/AttributeQuery.d.ts +0 -12
- package/dist/attributes/AttributeQuery.js.map +0 -1
- package/dist/attributes/types/AbstractDay.d.ts +0 -7
- package/dist/attributes/types/AbstractDay.js.map +0 -1
- package/dist/attributes/types/AbstractMonth.js.map +0 -1
- package/dist/attributes/types/AbstractYear.d.ts +0 -4
- package/dist/attributes/types/AbstractYear.js.map +0 -1
- package/dist/attributes/types/idcard/AbstractIDCard.d.ts +0 -3
- package/dist/attributes/types/idcard/AbstractIDCard.js +0 -8
- package/dist/attributes/types/idcard/AbstractIDCard.js.map +0 -1
- package/dist/attributes/types/idcard/IDCardAuthorityName.d.ts +0 -4
- package/dist/attributes/types/idcard/IDCardAuthorityName.js.map +0 -1
- package/dist/attributes/types/idcard/IDCardDE.d.ts +0 -11
- package/dist/attributes/types/idcard/IDCardDE.js.map +0 -1
- package/dist/attributes/types/idcard/IDCardIssuingDate.d.ts +0 -4
- package/dist/attributes/types/idcard/IDCardIssuingDate.js.map +0 -1
- package/dist/attributes/types/idcard/index.d.ts +0 -4
- package/dist/attributes/types/idcard/index.js.map +0 -1
- package/dist/attributes/types/measurements/LengthMeasurement.js.map +0 -1
- package/dist/attributes/types/name/Title.d.ts +0 -4
- package/dist/attributes/types/name/Title.js.map +0 -1
- package/dist/attributes/types/person/Gender.d.ts +0 -7
- package/dist/attributes/types/person/Gender.js.map +0 -1
- package/dist/attributes/types/person/PersonEyeColor.d.ts +0 -4
- package/dist/attributes/types/person/PersonEyeColor.js.map +0 -1
- package/dist/attributes/types/person/PersonHeight.d.ts +0 -4
- package/dist/attributes/types/person/PersonHeight.js.map +0 -1
- package/dist/requests/AttributesChangeRequest.js.map +0 -1
- package/dist/requests/AttributesShareRequest.js.map +0 -1
package/dist/buildInformation.js
CHANGED
|
@@ -5,10 +5,10 @@ const ts_serval_1 = require("@js-soft/ts-serval");
|
|
|
5
5
|
const crypto_1 = require("@nmshd/crypto");
|
|
6
6
|
const transport_1 = require("@nmshd/transport");
|
|
7
7
|
exports.buildInformation = {
|
|
8
|
-
version: "
|
|
9
|
-
build: "
|
|
10
|
-
date: "2022-
|
|
11
|
-
commit: "
|
|
8
|
+
version: "2.0.0-alpha.10",
|
|
9
|
+
build: "39",
|
|
10
|
+
date: "2022-05-02T11:12:29+00:00",
|
|
11
|
+
commit: "511735561ac5f1b077f0d6f31b72bf65911e53bc",
|
|
12
12
|
dependencies: {"@js-soft/logging-abstractions":"^1.0.0"},
|
|
13
13
|
libraries: {
|
|
14
14
|
serval: ts_serval_1.buildInformation,
|
package/dist/forms/FormItem.js
CHANGED
|
@@ -19,8 +19,8 @@ var FormType;
|
|
|
19
19
|
FormType["Date"] = "date";
|
|
20
20
|
FormType["Text"] = "text";
|
|
21
21
|
})(FormType = exports.FormType || (exports.FormType = {}));
|
|
22
|
-
|
|
23
|
-
}
|
|
22
|
+
class FormItem extends ts_serval_1.Serializable {
|
|
23
|
+
}
|
|
24
24
|
__decorate([
|
|
25
25
|
(0, ts_serval_1.serialize)(),
|
|
26
26
|
(0, ts_serval_1.validate)(),
|
|
@@ -31,12 +31,9 @@ __decorate([
|
|
|
31
31
|
(0, ts_serval_1.validate)(),
|
|
32
32
|
__metadata("design:type", String)
|
|
33
33
|
], FormItem.prototype, "type", void 0);
|
|
34
|
-
FormItem = __decorate([
|
|
35
|
-
(0, ts_serval_1.type)("FormItem")
|
|
36
|
-
], FormItem);
|
|
37
34
|
exports.FormItem = FormItem;
|
|
38
|
-
|
|
39
|
-
}
|
|
35
|
+
class FormItemVisible extends FormItem {
|
|
36
|
+
}
|
|
40
37
|
__decorate([
|
|
41
38
|
(0, ts_serval_1.serialize)(),
|
|
42
39
|
(0, ts_serval_1.validate)(),
|
|
@@ -52,8 +49,5 @@ __decorate([
|
|
|
52
49
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
53
50
|
__metadata("design:type", String)
|
|
54
51
|
], FormItemVisible.prototype, "help", void 0);
|
|
55
|
-
FormItemVisible = __decorate([
|
|
56
|
-
(0, ts_serval_1.type)("FormItemVisible")
|
|
57
|
-
], FormItemVisible);
|
|
58
52
|
exports.FormItemVisible = FormItemVisible;
|
|
59
53
|
//# sourceMappingURL=FormItem.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormItem.js","sourceRoot":"","sources":["../../src/forms/FormItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"FormItem.js","sourceRoot":"","sources":["../../src/forms/FormItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAqF;AAGrF,IAAY,QAMX;AAND,WAAY,QAAQ;IAChB,mCAAuB,CAAA;IACvB,6BAAiB,CAAA;IACjB,6BAAiB,CAAA;IACjB,yBAAa,CAAA;IACb,yBAAa,CAAA;AACjB,CAAC,EANW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAMnB;AAkBD,MAAsB,QAAS,SAAQ,wBAAY;CAQlD;AALG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;qCACO;AAIlB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;sCACU;AAPzB,4BAQC;AAOD,MAAsB,eAAgB,SAAQ,QAAQ;CAYrD;AATG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;8CACS;AAIpB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDACJ;AAIzB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6CACT;AAXxB,0CAYC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -5,5 +5,5 @@ export * from "./ContentJSON";
|
|
|
5
5
|
export * from "./forms";
|
|
6
6
|
export * from "./messages/Mail";
|
|
7
7
|
export * from "./messages/RequestMail";
|
|
8
|
-
export * from "./
|
|
9
|
-
export * from "./requests
|
|
8
|
+
export * from "./relationships";
|
|
9
|
+
export * from "./requests";
|
package/dist/index.js
CHANGED
|
@@ -21,6 +21,6 @@ __exportStar(require("./ContentJSON"), exports);
|
|
|
21
21
|
__exportStar(require("./forms"), exports);
|
|
22
22
|
__exportStar(require("./messages/Mail"), exports);
|
|
23
23
|
__exportStar(require("./messages/RequestMail"), exports);
|
|
24
|
-
__exportStar(require("./
|
|
25
|
-
__exportStar(require("./requests
|
|
24
|
+
__exportStar(require("./relationships"), exports);
|
|
25
|
+
__exportStar(require("./requests"), exports);
|
|
26
26
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA4B;AAC5B,iEAA8C;AAC9C,qDAAkC;AAClC,gDAA6B;AAC7B,0CAAuB;AACvB,kDAA+B;AAC/B,yDAAsC;AACtC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA4B;AAC5B,iEAA8C;AAC9C,qDAAkC;AAClC,gDAA6B;AAC7B,0CAAuB;AACvB,kDAA+B;AAC/B,yDAAsC;AACtC,kDAA+B;AAC/B,6CAA0B"}
|
package/dist/messages/Mail.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ISerializable, Serializable } from "@js-soft/ts-serval";
|
|
2
2
|
import { CoreAddress, ICoreAddress } from "@nmshd/transport";
|
|
3
3
|
import { ContentJSON } from "../ContentJSON";
|
|
4
4
|
export interface MailJSON extends ContentJSON {
|
|
@@ -7,17 +7,18 @@ export interface MailJSON extends ContentJSON {
|
|
|
7
7
|
subject: string;
|
|
8
8
|
body: string;
|
|
9
9
|
}
|
|
10
|
-
export interface IMail extends
|
|
10
|
+
export interface IMail extends ISerializable {
|
|
11
11
|
to: ICoreAddress[];
|
|
12
12
|
cc?: ICoreAddress[];
|
|
13
13
|
subject: string;
|
|
14
14
|
body: string;
|
|
15
15
|
}
|
|
16
|
-
export declare class Mail extends
|
|
16
|
+
export declare class Mail extends Serializable implements IMail {
|
|
17
17
|
to: CoreAddress[];
|
|
18
18
|
cc?: CoreAddress[];
|
|
19
19
|
subject: string;
|
|
20
20
|
body: string;
|
|
21
|
-
static
|
|
22
|
-
static
|
|
21
|
+
protected static preFrom(value: any): any;
|
|
22
|
+
static from(value: IMail): Mail;
|
|
23
|
+
static fromJSON(value: MailJSON): Mail;
|
|
23
24
|
}
|
package/dist/messages/Mail.js
CHANGED
|
@@ -8,13 +8,12 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
|
-
var Mail_1;
|
|
12
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
12
|
exports.Mail = void 0;
|
|
14
13
|
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
15
14
|
const transport_1 = require("@nmshd/transport");
|
|
16
|
-
let Mail =
|
|
17
|
-
static
|
|
15
|
+
let Mail = class Mail extends ts_serval_1.Serializable {
|
|
16
|
+
static preFrom(value) {
|
|
18
17
|
if (typeof value.cc === "undefined") {
|
|
19
18
|
value.cc = [];
|
|
20
19
|
}
|
|
@@ -22,16 +21,18 @@ let Mail = Mail_1 = class Mail extends ts_serval_1.SerializableAsync {
|
|
|
22
21
|
value.body = value.content;
|
|
23
22
|
delete value.content;
|
|
24
23
|
}
|
|
25
|
-
return
|
|
24
|
+
return value;
|
|
26
25
|
}
|
|
27
|
-
static
|
|
28
|
-
|
|
29
|
-
|
|
26
|
+
static from(value) {
|
|
27
|
+
return this.fromAny(value);
|
|
28
|
+
}
|
|
29
|
+
static fromJSON(value) {
|
|
30
|
+
return this.from({
|
|
30
31
|
body: value.body,
|
|
31
32
|
subject: value.subject,
|
|
32
33
|
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
|
|
33
|
-
to:
|
|
34
|
-
cc:
|
|
34
|
+
to: value.to?.map((recipient) => transport_1.CoreAddress.from(recipient)),
|
|
35
|
+
cc: value.cc?.map((recipient) => transport_1.CoreAddress.from(recipient))
|
|
35
36
|
});
|
|
36
37
|
}
|
|
37
38
|
};
|
|
@@ -55,7 +56,7 @@ __decorate([
|
|
|
55
56
|
(0, ts_serval_1.validate)(),
|
|
56
57
|
__metadata("design:type", String)
|
|
57
58
|
], Mail.prototype, "body", void 0);
|
|
58
|
-
Mail =
|
|
59
|
+
Mail = __decorate([
|
|
59
60
|
(0, ts_serval_1.type)("Mail")
|
|
60
61
|
], Mail);
|
|
61
62
|
exports.Mail = Mail;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Mail.js","sourceRoot":"","sources":["../../src/messages/Mail.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Mail.js","sourceRoot":"","sources":["../../src/messages/Mail.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA2F;AAC3F,gDAA4D;AAiB5D,IAAa,IAAI,GAAjB,MAAa,IAAK,SAAQ,wBAAY;IAiBxB,MAAM,CAAU,OAAO,CAAC,KAAU;QACxC,IAAI,OAAO,KAAK,CAAC,EAAE,KAAK,WAAW,EAAE;YACjC,KAAK,CAAC,EAAE,GAAG,EAAE,CAAA;SAChB;QAED,IAAI,OAAO,KAAK,CAAC,IAAI,KAAK,WAAW,IAAI,KAAK,CAAC,OAAO,EAAE;YACpD,KAAK,CAAC,IAAI,GAAG,KAAK,CAAC,OAAO,CAAA;YAC1B,OAAO,KAAK,CAAC,OAAO,CAAA;SACvB;QAED,OAAO,KAAK,CAAA;IAChB,CAAC;IAEM,MAAM,CAAC,IAAI,CAAC,KAAY;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEM,MAAM,CAAC,QAAQ,CAAC,KAAe;QAClC,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,KAAK,CAAC,IAAI;YAChB,OAAO,EAAE,KAAK,CAAC,OAAO;YACtB,uEAAuE;YACvE,EAAE,EAAE,KAAK,CAAC,EAAE,EAAE,GAAG,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,uBAAW,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;YAC7D,EAAE,EAAE,KAAK,CAAC,EAAE,EAAE,GAAG,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,uBAAW,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;SAChE,CAAC,CAAA;IACN,CAAC;CACJ,CAAA;AAxCG;IAFC,IAAA,qBAAS,EAAC,EAAE,IAAI,EAAE,uBAAW,EAAE,CAAC;IAChC,IAAA,oBAAQ,EAAC,EAAE,eAAe,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE,CAAC;;gCAC9D;AAIxB;IAFC,IAAA,qBAAS,EAAC,EAAE,IAAI,EAAE,uBAAW,EAAE,CAAC;IAChC,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;gCACJ;AAIzB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;qCACW;AAItB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;kCACQ;AAfV,IAAI;IADhB,IAAA,gBAAI,EAAC,MAAM,CAAC;GACA,IAAI,CA2ChB;AA3CY,oBAAI"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AttributesChangeRequest, AttributesChangeRequestJSON, IAttributesChangeRequest } from "../requests/AttributesChangeRequest";
|
|
2
|
-
import { AttributesShareRequest, AttributesShareRequestJSON, IAttributesShareRequest } from "../requests/AttributesShareRequest";
|
|
1
|
+
import { AttributesChangeRequest, AttributesChangeRequestJSON, IAttributesChangeRequest } from "../requests/old/AttributesChangeRequest";
|
|
2
|
+
import { AttributesShareRequest, AttributesShareRequestJSON, IAttributesShareRequest } from "../requests/old/AttributesShareRequest";
|
|
3
3
|
import { IMail, Mail, MailJSON } from "./Mail";
|
|
4
4
|
export interface RequestMailJSON extends MailJSON {
|
|
5
5
|
requests: (AttributesChangeRequestJSON | AttributesShareRequestJSON)[];
|
|
@@ -9,6 +9,6 @@ export interface IRequestMail extends IMail {
|
|
|
9
9
|
}
|
|
10
10
|
export declare class RequestMail extends Mail {
|
|
11
11
|
requests: (AttributesChangeRequest | AttributesShareRequest)[];
|
|
12
|
-
static from(value: IRequestMail):
|
|
13
|
-
static fromJSON(value: RequestMailJSON):
|
|
12
|
+
static from(value: IRequestMail): RequestMail;
|
|
13
|
+
static fromJSON(value: RequestMailJSON): RequestMail;
|
|
14
14
|
}
|
|
@@ -8,30 +8,29 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
|
-
var RequestMail_1;
|
|
12
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
12
|
exports.RequestMail = void 0;
|
|
14
13
|
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
15
|
-
const AttributesChangeRequest_1 = require("../requests/AttributesChangeRequest");
|
|
16
|
-
const AttributesShareRequest_1 = require("../requests/AttributesShareRequest");
|
|
14
|
+
const AttributesChangeRequest_1 = require("../requests/old/AttributesChangeRequest");
|
|
15
|
+
const AttributesShareRequest_1 = require("../requests/old/AttributesShareRequest");
|
|
17
16
|
const Mail_1 = require("./Mail");
|
|
18
|
-
let RequestMail =
|
|
19
|
-
static
|
|
20
|
-
return
|
|
17
|
+
let RequestMail = class RequestMail extends Mail_1.Mail {
|
|
18
|
+
static from(value) {
|
|
19
|
+
return this.fromAny(value);
|
|
21
20
|
}
|
|
22
|
-
static
|
|
23
|
-
const mail =
|
|
24
|
-
const requests =
|
|
21
|
+
static fromJSON(value) {
|
|
22
|
+
const mail = Mail_1.Mail.fromJSON(value);
|
|
23
|
+
const requests = value.requests.map((request) => {
|
|
25
24
|
switch (request["@type"]) {
|
|
26
25
|
case "AttributesChangeRequest":
|
|
27
|
-
return
|
|
26
|
+
return AttributesChangeRequest_1.AttributesChangeRequest.fromAny(request);
|
|
28
27
|
case "AttributesShareRequest":
|
|
29
|
-
return
|
|
28
|
+
return AttributesShareRequest_1.AttributesShareRequest.fromAny(request);
|
|
30
29
|
default:
|
|
31
30
|
throw new Error(`Unknown request type: ${request["@type"]}`);
|
|
32
31
|
}
|
|
33
|
-
})
|
|
34
|
-
return
|
|
32
|
+
});
|
|
33
|
+
return this.from({
|
|
35
34
|
body: mail.body,
|
|
36
35
|
subject: mail.subject,
|
|
37
36
|
to: mail.to,
|
|
@@ -45,7 +44,7 @@ __decorate([
|
|
|
45
44
|
(0, ts_serval_1.validate)(),
|
|
46
45
|
__metadata("design:type", Array)
|
|
47
46
|
], RequestMail.prototype, "requests", void 0);
|
|
48
|
-
RequestMail =
|
|
47
|
+
RequestMail = __decorate([
|
|
49
48
|
(0, ts_serval_1.type)("RequestMail")
|
|
50
49
|
], RequestMail);
|
|
51
50
|
exports.RequestMail = RequestMail;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestMail.js","sourceRoot":"","sources":["../../src/messages/RequestMail.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RequestMail.js","sourceRoot":"","sources":["../../src/messages/RequestMail.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,qFAIgD;AAChD,mFAI+C;AAC/C,iCAA8C;AAW9C,IAAa,WAAW,GAAxB,MAAa,WAAY,SAAQ,WAAI;IAK1B,MAAM,CAAU,IAAI,CAAC,KAAmB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEM,MAAM,CAAU,QAAQ,CAAC,KAAsB;QAClD,MAAM,IAAI,GAAS,WAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAA;QACvC,MAAM,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE;YAC5C,QAAQ,OAAO,CAAC,OAAO,CAAC,EAAE;gBACtB,KAAK,yBAAyB;oBAC1B,OAAO,iDAAuB,CAAC,OAAO,CAAC,OAAO,CAAC,CAAA;gBACnD,KAAK,wBAAwB;oBACzB,OAAO,+CAAsB,CAAC,OAAO,CAAC,OAAO,CAAC,CAAA;gBAClD;oBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC,CAAA;aACnE;QACL,CAAC,CAAC,CAAA;QAEF,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,EAAE,EAAE,IAAI,CAAC,EAAE;YACX,EAAE,EAAE,IAAI,CAAC,EAAE;YACX,QAAQ,EAAE,QAAQ;SACrB,CAAC,CAAA;IACN,CAAC;CACJ,CAAA;AA3BG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;6CAC0D;AAH5D,WAAW;IADvB,IAAA,gBAAI,EAAC,aAAa,CAAC;GACP,WAAW,CA8BvB;AA9BY,kCAAW"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { ISerializable, Serializable } from "@js-soft/ts-serval";
|
|
2
|
+
import { Attribute, AttributeJSON, IAttribute } from "../attributes/Attribute";
|
|
3
|
+
import { Authorization, AuthorizationJSON, IAuthorization } from "../authorizations/Authorization";
|
|
4
|
+
import { ContentJSON } from "../ContentJSON";
|
|
5
|
+
export interface RelationshipCreationChangeRequestBodyJSON extends ContentJSON {
|
|
6
|
+
title?: string;
|
|
7
|
+
sessionIdentifier?: string;
|
|
8
|
+
metadata?: any;
|
|
9
|
+
sharedAttributes?: AttributeJSON[];
|
|
10
|
+
sharedCertificates?: any[];
|
|
11
|
+
sharedAuthorizations?: AuthorizationJSON[];
|
|
12
|
+
}
|
|
13
|
+
export interface IRelationshipCreationChangeRequestBody extends ISerializable {
|
|
14
|
+
title?: string;
|
|
15
|
+
sessionIdentifier?: string;
|
|
16
|
+
metadata?: any;
|
|
17
|
+
sharedAttributes?: IAttribute[];
|
|
18
|
+
sharedCertificates?: any[];
|
|
19
|
+
sharedAuthorizations?: IAuthorization[];
|
|
20
|
+
}
|
|
21
|
+
export declare class RelationshipCreationChangeRequestBody extends Serializable implements IRelationshipCreationChangeRequestBody {
|
|
22
|
+
title?: string;
|
|
23
|
+
sessionIdentifier?: string;
|
|
24
|
+
metadata?: any;
|
|
25
|
+
sharedAttributes?: Attribute[];
|
|
26
|
+
sharedCertificates?: any[];
|
|
27
|
+
sharedAuthorizations?: Authorization[];
|
|
28
|
+
static from(value: IRelationshipCreationChangeRequestBody): RelationshipCreationChangeRequestBody;
|
|
29
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.RelationshipCreationChangeRequestBody = void 0;
|
|
13
|
+
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
14
|
+
const Attribute_1 = require("../attributes/Attribute");
|
|
15
|
+
const Authorization_1 = require("../authorizations/Authorization");
|
|
16
|
+
let RelationshipCreationChangeRequestBody = class RelationshipCreationChangeRequestBody extends ts_serval_1.Serializable {
|
|
17
|
+
static from(value) {
|
|
18
|
+
return this.fromAny(value);
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, ts_serval_1.serialize)(),
|
|
23
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], RelationshipCreationChangeRequestBody.prototype, "title", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, ts_serval_1.serialize)(),
|
|
28
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], RelationshipCreationChangeRequestBody.prototype, "sessionIdentifier", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, ts_serval_1.serialize)({ any: true }),
|
|
33
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
34
|
+
__metadata("design:type", Object)
|
|
35
|
+
], RelationshipCreationChangeRequestBody.prototype, "metadata", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, ts_serval_1.serialize)({ type: Attribute_1.Attribute }),
|
|
38
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
39
|
+
__metadata("design:type", Array)
|
|
40
|
+
], RelationshipCreationChangeRequestBody.prototype, "sharedAttributes", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, ts_serval_1.serialize)(),
|
|
43
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
44
|
+
__metadata("design:type", Array)
|
|
45
|
+
], RelationshipCreationChangeRequestBody.prototype, "sharedCertificates", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, ts_serval_1.serialize)({ type: Authorization_1.Authorization }),
|
|
48
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
49
|
+
__metadata("design:type", Array)
|
|
50
|
+
], RelationshipCreationChangeRequestBody.prototype, "sharedAuthorizations", void 0);
|
|
51
|
+
RelationshipCreationChangeRequestBody = __decorate([
|
|
52
|
+
(0, ts_serval_1.type)("RelationshipCreationChangeRequestBody")
|
|
53
|
+
], RelationshipCreationChangeRequestBody);
|
|
54
|
+
exports.RelationshipCreationChangeRequestBody = RelationshipCreationChangeRequestBody;
|
|
55
|
+
//# sourceMappingURL=RelationshipCreationChangeRequestBody.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RelationshipCreationChangeRequestBody.js","sourceRoot":"","sources":["../../src/relationships/RelationshipCreationChangeRequestBody.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA2F;AAC3F,uDAA8E;AAC9E,mEAAkG;AAsBlG,IAAa,qCAAqC,GAAlD,MAAa,qCACT,SAAQ,wBAAY;IA2Bb,MAAM,CAAC,IAAI,CAAC,KAA6C;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAA;AAzBG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oEACR;AAIrB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;gFACI;AAIjC;IAFC,IAAA,qBAAS,EAAC,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC;IACxB,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uEACR;AAIrB;IAFC,IAAA,qBAAS,EAAC,EAAE,IAAI,EAAE,qBAAS,EAAE,CAAC;IAC9B,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+EACQ;AAIrC;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iFACI;AAIjC;IAFC,IAAA,qBAAS,EAAC,EAAE,IAAI,EAAE,6BAAa,EAAE,CAAC;IAClC,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mFACgB;AA1BpC,qCAAqC;IADjD,IAAA,gBAAI,EAAC,uCAAuC,CAAC;GACjC,qCAAqC,CA+BjD;AA/BY,sFAAqC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Serializable } from "@js-soft/ts-serval";
|
|
2
|
+
export interface RelationshipExistsActionJSON {
|
|
3
|
+
}
|
|
4
|
+
export interface IRelationshipExistsAction {
|
|
5
|
+
}
|
|
6
|
+
export declare abstract class RelationshipExistsAction extends Serializable implements IRelationshipExistsAction {
|
|
7
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.RelationshipExistsAction = void 0;
|
|
10
|
+
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
11
|
+
let RelationshipExistsAction = class RelationshipExistsAction extends ts_serval_1.Serializable {
|
|
12
|
+
};
|
|
13
|
+
RelationshipExistsAction = __decorate([
|
|
14
|
+
(0, ts_serval_1.type)("RelationshipExistsAction")
|
|
15
|
+
], RelationshipExistsAction);
|
|
16
|
+
exports.RelationshipExistsAction = RelationshipExistsAction;
|
|
17
|
+
//# sourceMappingURL=RelationshipExistsAction.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RelationshipExistsAction.js","sourceRoot":"","sources":["../../src/relationships/RelationshipExistsAction.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAuD;AAOvD,IAAsB,wBAAwB,GAA9C,MAAsB,wBAAyB,SAAQ,wBAAY;CAAwC,CAAA;AAArF,wBAAwB;IAD7C,IAAA,gBAAI,EAAC,0BAA0B,CAAC;GACX,wBAAwB,CAA6D;AAArF,4DAAwB"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ISerializable, Serializable } from "@js-soft/ts-serval";
|
|
2
|
+
import { IRelationshipExistsAction, RelationshipExistsAction, RelationshipExistsActionJSON } from "./RelationshipExistsAction";
|
|
3
|
+
export interface RelationshipExistsMessageActionJSON extends RelationshipExistsActionJSON {
|
|
4
|
+
content: any;
|
|
5
|
+
}
|
|
6
|
+
export interface IRelationshipExistsMessageAction extends IRelationshipExistsAction {
|
|
7
|
+
content: ISerializable;
|
|
8
|
+
}
|
|
9
|
+
export declare class RelationshipExistsMessageAction extends RelationshipExistsAction implements IRelationshipExistsMessageAction {
|
|
10
|
+
content: Serializable;
|
|
11
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.RelationshipExistsMessageAction = void 0;
|
|
13
|
+
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
14
|
+
const RelationshipExistsAction_1 = require("./RelationshipExistsAction");
|
|
15
|
+
let RelationshipExistsMessageAction = class RelationshipExistsMessageAction extends RelationshipExistsAction_1.RelationshipExistsAction {
|
|
16
|
+
};
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, ts_serval_1.serialize)(),
|
|
19
|
+
(0, ts_serval_1.validate)(),
|
|
20
|
+
__metadata("design:type", ts_serval_1.Serializable)
|
|
21
|
+
], RelationshipExistsMessageAction.prototype, "content", void 0);
|
|
22
|
+
RelationshipExistsMessageAction = __decorate([
|
|
23
|
+
(0, ts_serval_1.type)("RelationshipExistsMessageAction")
|
|
24
|
+
], RelationshipExistsMessageAction);
|
|
25
|
+
exports.RelationshipExistsMessageAction = RelationshipExistsMessageAction;
|
|
26
|
+
//# sourceMappingURL=RelationshipExistsMessageAction.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RelationshipExistsMessageAction.js","sourceRoot":"","sources":["../../src/relationships/RelationshipExistsMessageAction.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA2F;AAC3F,yEAImC;AAWnC,IAAa,+BAA+B,GAA5C,MAAa,+BACT,SAAQ,mDAAwB;CAMnC,CAAA;AADG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;8BACK,wBAAY;gEAAA;AANnB,+BAA+B;IAD3C,IAAA,gBAAI,EAAC,iCAAiC,CAAC;GAC3B,+BAA+B,CAO3C;AAPY,0EAA+B"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { ISerializable, Serializable } from "@js-soft/ts-serval";
|
|
2
|
+
import { Attribute, AttributeJSON, IAttribute } from "../attributes/Attribute";
|
|
3
|
+
import { Authorization, AuthorizationJSON, IAuthorization } from "../authorizations/Authorization";
|
|
4
|
+
import { ContentJSON } from "../ContentJSON";
|
|
5
|
+
import { AttributesChangeRequest, AttributesChangeRequestJSON, IAttributesChangeRequest } from "../requests/old/AttributesChangeRequest";
|
|
6
|
+
import { AttributesRequest, AttributesRequestJSON, IAttributesRequest } from "../requests/old/AttributesRequest";
|
|
7
|
+
import { IRelationshipExistsAction, RelationshipExistsAction, RelationshipExistsActionJSON } from "./RelationshipExistsAction";
|
|
8
|
+
export interface RelationshipTemplateBodyJSON extends ContentJSON {
|
|
9
|
+
title?: string;
|
|
10
|
+
sessionIdentifier?: string;
|
|
11
|
+
metadata?: any;
|
|
12
|
+
sharedAttributes?: AttributeJSON[];
|
|
13
|
+
sharedCertificates?: any[];
|
|
14
|
+
sharedAuthorizations?: AuthorizationJSON[];
|
|
15
|
+
requestedAttributesChanges?: AttributesChangeRequestJSON[];
|
|
16
|
+
requestedAttributes?: AttributesRequestJSON[];
|
|
17
|
+
requestedCertificates?: any[];
|
|
18
|
+
relationshipExistsAction?: RelationshipExistsActionJSON;
|
|
19
|
+
}
|
|
20
|
+
export interface IRelationshipTemplateBody extends ISerializable {
|
|
21
|
+
title?: string;
|
|
22
|
+
sessionIdentifier?: string;
|
|
23
|
+
metadata?: any;
|
|
24
|
+
sharedAttributes?: IAttribute[];
|
|
25
|
+
sharedCertificates?: any[];
|
|
26
|
+
sharedAuthorizations?: IAuthorization[];
|
|
27
|
+
requestedAttributesChanges?: IAttributesChangeRequest[];
|
|
28
|
+
requestedAttributes?: IAttributesRequest[];
|
|
29
|
+
relationshipExistsAction?: IRelationshipExistsAction;
|
|
30
|
+
}
|
|
31
|
+
export declare class RelationshipTemplateBody extends Serializable implements IRelationshipTemplateBody {
|
|
32
|
+
title?: string;
|
|
33
|
+
sessionIdentifier?: string;
|
|
34
|
+
metadata?: any;
|
|
35
|
+
sharedAttributes?: Attribute[];
|
|
36
|
+
sharedCertificates?: any[];
|
|
37
|
+
sharedAuthorizations?: Authorization[];
|
|
38
|
+
requestedAttributesChanges?: AttributesChangeRequest[];
|
|
39
|
+
requestedAttributes?: AttributesRequest[];
|
|
40
|
+
relationshipExistsAction?: RelationshipExistsAction;
|
|
41
|
+
static from(value: IRelationshipTemplateBody): RelationshipTemplateBody;
|
|
42
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.RelationshipTemplateBody = void 0;
|
|
13
|
+
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
14
|
+
const Attribute_1 = require("../attributes/Attribute");
|
|
15
|
+
const Authorization_1 = require("../authorizations/Authorization");
|
|
16
|
+
const AttributesRequest_1 = require("../requests/old/AttributesRequest");
|
|
17
|
+
const RelationshipExistsAction_1 = require("./RelationshipExistsAction");
|
|
18
|
+
let RelationshipTemplateBody = class RelationshipTemplateBody extends ts_serval_1.Serializable {
|
|
19
|
+
static from(value) {
|
|
20
|
+
return this.fromAny(value);
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, ts_serval_1.serialize)(),
|
|
25
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], RelationshipTemplateBody.prototype, "title", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, ts_serval_1.serialize)(),
|
|
30
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], RelationshipTemplateBody.prototype, "sessionIdentifier", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, ts_serval_1.serialize)({ any: true }),
|
|
35
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
36
|
+
__metadata("design:type", Object)
|
|
37
|
+
], RelationshipTemplateBody.prototype, "metadata", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, ts_serval_1.serialize)({ type: Attribute_1.Attribute }),
|
|
40
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
41
|
+
__metadata("design:type", Array)
|
|
42
|
+
], RelationshipTemplateBody.prototype, "sharedAttributes", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, ts_serval_1.serialize)(),
|
|
45
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
46
|
+
__metadata("design:type", Array)
|
|
47
|
+
], RelationshipTemplateBody.prototype, "sharedCertificates", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, ts_serval_1.serialize)({ type: Authorization_1.Authorization }),
|
|
50
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
51
|
+
__metadata("design:type", Array)
|
|
52
|
+
], RelationshipTemplateBody.prototype, "sharedAuthorizations", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, ts_serval_1.serialize)({ type: Attribute_1.Attribute }),
|
|
55
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
56
|
+
__metadata("design:type", Array)
|
|
57
|
+
], RelationshipTemplateBody.prototype, "requestedAttributesChanges", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, ts_serval_1.serialize)({ type: AttributesRequest_1.AttributesRequest }),
|
|
60
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
61
|
+
__metadata("design:type", Array)
|
|
62
|
+
], RelationshipTemplateBody.prototype, "requestedAttributes", void 0);
|
|
63
|
+
__decorate([
|
|
64
|
+
(0, ts_serval_1.serialize)(),
|
|
65
|
+
(0, ts_serval_1.validate)({ nullable: true }),
|
|
66
|
+
__metadata("design:type", RelationshipExistsAction_1.RelationshipExistsAction)
|
|
67
|
+
], RelationshipTemplateBody.prototype, "relationshipExistsAction", void 0);
|
|
68
|
+
RelationshipTemplateBody = __decorate([
|
|
69
|
+
(0, ts_serval_1.type)("RelationshipTemplateBody")
|
|
70
|
+
], RelationshipTemplateBody);
|
|
71
|
+
exports.RelationshipTemplateBody = RelationshipTemplateBody;
|
|
72
|
+
//# sourceMappingURL=RelationshipTemplateBody.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RelationshipTemplateBody.js","sourceRoot":"","sources":["../../src/relationships/RelationshipTemplateBody.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA2F;AAC3F,uDAA8E;AAC9E,mEAAkG;AAOlG,yEAAgH;AAChH,yEAImC;AA4BnC,IAAa,wBAAwB,GAArC,MAAa,wBAAyB,SAAQ,wBAAY;IAqC/C,MAAM,CAAC,IAAI,CAAC,KAAgC;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAA;AArCG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uDACR;AAIrB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mEACI;AAIjC;IAFC,IAAA,qBAAS,EAAC,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC;IACxB,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0DACR;AAIrB;IAFC,IAAA,qBAAS,EAAC,EAAE,IAAI,EAAE,qBAAS,EAAE,CAAC;IAC9B,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kEACQ;AAIrC;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oEACI;AAIjC;IAFC,IAAA,qBAAS,EAAC,EAAE,IAAI,EAAE,6BAAa,EAAE,CAAC;IAClC,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sEACgB;AAI7C;IAFC,IAAA,qBAAS,EAAC,EAAE,IAAI,EAAE,qBAAS,EAAE,CAAC;IAC9B,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4EACgC;AAI7D;IAFC,IAAA,qBAAS,EAAC,EAAE,IAAI,EAAE,qCAAiB,EAAE,CAAC;IACtC,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qEACmB;AAIhD;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACK,mDAAwB;0EAAA;AAnCjD,wBAAwB;IADpC,IAAA,gBAAI,EAAC,0BAA0B,CAAC;GACpB,wBAAwB,CAwCpC;AAxCY,4DAAwB"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./RelationshipCreationChangeRequestBody"), exports);
|
|
18
|
+
__exportStar(require("./RelationshipExistsAction"), exports);
|
|
19
|
+
__exportStar(require("./RelationshipExistsMessageAction"), exports);
|
|
20
|
+
__exportStar(require("./RelationshipTemplateBody"), exports);
|
|
21
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/relationships/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0EAAuD;AACvD,6DAA0C;AAC1C,oEAAiD;AACjD,6DAA0C"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { ISerializable, Serializable } from "@js-soft/ts-serval";
|
|
2
|
+
import { CoreDate, CoreId, ICoreDate } from "@nmshd/transport";
|
|
3
|
+
import { ContentJSON } from "../ContentJSON";
|
|
4
|
+
import { IRequestItem, RequestItem, RequestItemJSON } from "./RequestItem";
|
|
5
|
+
import { IRequestItemGroup, RequestItemGroup, RequestItemGroupJSON } from "./RequestItemGroup";
|
|
6
|
+
export interface RequestJSON extends ContentJSON {
|
|
7
|
+
id?: string;
|
|
8
|
+
/**
|
|
9
|
+
* The point in time the request is considered obsolete either technically (e.g. the request is no longer
|
|
10
|
+
* valid or its response is no longer accepted) or from a business perspective (e.g. the request is no longer
|
|
11
|
+
* of interest).
|
|
12
|
+
* @default undefined - the request won't expire
|
|
13
|
+
*/
|
|
14
|
+
expiresAt?: string;
|
|
15
|
+
/**
|
|
16
|
+
* The items of the Request. Can be either a single {@link RequestItemJSON RequestItem} or a {@link RequestItemGroupJSON RequestItemGroup}, which itself can contain
|
|
17
|
+
* further {@link RequestItemJSON RequestItems}.
|
|
18
|
+
*/
|
|
19
|
+
items: (RequestItemGroupJSON | RequestItemJSON)[];
|
|
20
|
+
}
|
|
21
|
+
export interface IRequest extends ISerializable {
|
|
22
|
+
id?: CoreId;
|
|
23
|
+
/**
|
|
24
|
+
* The point in time the request is considered obsolete either technically (e.g. the request is no longer
|
|
25
|
+
* valid or its response is no longer accepted) or from a business perspective (e.g. the request is no longer
|
|
26
|
+
* of interest).
|
|
27
|
+
* @default undefined - the request won't expire
|
|
28
|
+
*/
|
|
29
|
+
expiresAt?: ICoreDate;
|
|
30
|
+
/**
|
|
31
|
+
* The items of the Request. Can be either a single {@link RequestItem RequestItem} or a {@link RequestItemGroup RequestItemGroup}, which itself can contain
|
|
32
|
+
* further {@link RequestItem RequestItems}.
|
|
33
|
+
*/
|
|
34
|
+
items: (IRequestItemGroup | IRequestItem)[];
|
|
35
|
+
}
|
|
36
|
+
export declare class Request extends Serializable implements IRequest {
|
|
37
|
+
id?: CoreId;
|
|
38
|
+
expiresAt?: CoreDate;
|
|
39
|
+
items: (RequestItemGroup | RequestItem)[];
|
|
40
|
+
static from(value: IRequest | RequestJSON): Request;
|
|
41
|
+
}
|