@nmshd/content 2.0.0-beta.8 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/attributes/AbstractAttribute.js.map +1 -1
- package/dist/attributes/AbstractAttributeQuery.d.ts +0 -3
- package/dist/attributes/AbstractAttributeQuery.js +0 -7
- package/dist/attributes/AbstractAttributeQuery.js.map +1 -1
- package/dist/attributes/AbstractAttributeValue.d.ts +1 -2
- package/dist/attributes/AbstractAttributeValue.js +0 -3
- package/dist/attributes/AbstractAttributeValue.js.map +1 -1
- package/dist/attributes/AttributeValueTypes.d.ts +46 -0
- package/dist/attributes/AttributeValueTypes.js +146 -0
- package/dist/attributes/AttributeValueTypes.js.map +1 -0
- package/dist/attributes/IdentityAttribute.d.ts +7 -6
- package/dist/attributes/IdentityAttribute.js +4 -4
- package/dist/attributes/IdentityAttribute.js.map +1 -1
- package/dist/attributes/IdentityAttributeQuery.d.ts +7 -2
- package/dist/attributes/IdentityAttributeQuery.js +12 -2
- package/dist/attributes/IdentityAttributeQuery.js.map +1 -1
- package/dist/attributes/RelationshipAttribute.d.ts +8 -36
- package/dist/attributes/RelationshipAttribute.js +8 -38
- package/dist/attributes/RelationshipAttribute.js.map +1 -1
- package/dist/attributes/RelationshipAttributeConfidentiality.d.ts +30 -0
- package/dist/attributes/RelationshipAttributeConfidentiality.js +35 -0
- package/dist/attributes/RelationshipAttributeConfidentiality.js.map +1 -0
- package/dist/attributes/RelationshipAttributeQuery.d.ts +35 -6
- package/dist/attributes/RelationshipAttributeQuery.js +59 -10
- package/dist/attributes/RelationshipAttributeQuery.js.map +1 -1
- package/dist/attributes/ThirdPartyRelationshipAttributeQuery.d.ts +20 -0
- package/dist/{forms/FormItem.js → attributes/ThirdPartyRelationshipAttributeQuery.js} +21 -31
- package/dist/attributes/ThirdPartyRelationshipAttributeQuery.js.map +1 -0
- package/dist/attributes/constants/AttributeValueTypeQueryMapping.d.ts +1 -0
- package/dist/attributes/constants/AttributeValueTypeQueryMapping.js +7 -0
- package/dist/attributes/constants/AttributeValueTypeQueryMapping.js.map +1 -0
- package/dist/attributes/constants/index.d.ts +1 -0
- package/dist/attributes/constants/index.js +1 -0
- package/dist/attributes/constants/index.js.map +1 -1
- package/dist/attributes/hints/RenderHints.d.ts +3 -2
- package/dist/attributes/hints/RenderHints.js.map +1 -1
- package/dist/attributes/hints/ValueHints.d.ts +3 -2
- package/dist/attributes/hints/ValueHints.js.map +1 -1
- package/dist/attributes/hints/ValueHintsValue.d.ts +1 -1
- package/dist/attributes/hints/ValueHintsValue.js.map +1 -1
- package/dist/attributes/hints/index.d.ts +0 -1
- package/dist/attributes/hints/index.js +0 -1
- package/dist/attributes/hints/index.js.map +1 -1
- package/dist/attributes/index.d.ts +3 -1
- package/dist/attributes/index.js +3 -1
- package/dist/attributes/index.js.map +1 -1
- package/dist/attributes/types/AbstractBoolean.d.ts +1 -2
- package/dist/attributes/types/AbstractBoolean.js.map +1 -1
- package/dist/attributes/types/AbstractFloat.d.ts +1 -2
- package/dist/attributes/types/AbstractFloat.js.map +1 -1
- package/dist/attributes/types/AbstractInteger.d.ts +1 -3
- package/dist/attributes/types/AbstractInteger.js +0 -3
- package/dist/attributes/types/AbstractInteger.js.map +1 -1
- package/dist/attributes/types/AbstractString.d.ts +1 -2
- package/dist/attributes/types/AbstractString.js +2 -2
- package/dist/attributes/types/AbstractString.js.map +1 -1
- package/dist/attributes/types/address/AbstractAddress.js.map +1 -1
- package/dist/attributes/types/address/City.d.ts +8 -2
- package/dist/attributes/types/address/City.js +3 -0
- package/dist/attributes/types/address/City.js.map +1 -1
- package/dist/attributes/types/address/Country.d.ts +9 -2
- package/dist/attributes/types/address/Country.js +5 -2
- package/dist/attributes/types/address/Country.js.map +1 -1
- package/dist/attributes/types/address/DeliveryBoxAddress.d.ts +40 -39
- package/dist/attributes/types/address/DeliveryBoxAddress.js +6 -3
- package/dist/attributes/types/address/DeliveryBoxAddress.js.map +1 -1
- package/dist/attributes/types/address/HouseNumber.d.ts +9 -2
- package/dist/attributes/types/address/HouseNumber.js +6 -0
- package/dist/attributes/types/address/HouseNumber.js.map +1 -1
- package/dist/attributes/types/address/PostOfficeBoxAddress.d.ts +30 -29
- package/dist/attributes/types/address/PostOfficeBoxAddress.js +3 -0
- package/dist/attributes/types/address/PostOfficeBoxAddress.js.map +1 -1
- package/dist/attributes/types/address/State.d.ts +8 -2
- package/dist/attributes/types/address/State.js +3 -0
- package/dist/attributes/types/address/State.js.map +1 -1
- package/dist/attributes/types/address/Street.d.ts +9 -2
- package/dist/attributes/types/address/Street.js +6 -0
- package/dist/attributes/types/address/Street.js.map +1 -1
- package/dist/attributes/types/address/StreetAddress.d.ts +49 -48
- package/dist/attributes/types/address/StreetAddress.js +3 -0
- package/dist/attributes/types/address/StreetAddress.js.map +1 -1
- package/dist/attributes/types/address/ZipCode.d.ts +9 -2
- package/dist/attributes/types/address/ZipCode.js +6 -0
- package/dist/attributes/types/address/ZipCode.js.map +1 -1
- package/dist/attributes/types/{name/LegalNameDE.d.ts → affiliation/Affiliation.d.ts} +43 -612
- package/dist/attributes/types/affiliation/Affiliation.js +80 -0
- package/dist/attributes/types/affiliation/Affiliation.js.map +1 -0
- package/dist/attributes/types/affiliation/AffiliationOrganization.d.ts +10 -0
- package/dist/attributes/types/affiliation/AffiliationOrganization.js +24 -0
- package/dist/attributes/types/affiliation/AffiliationOrganization.js.map +1 -0
- package/dist/attributes/types/affiliation/AffiliationRole.d.ts +10 -0
- package/dist/attributes/types/affiliation/AffiliationRole.js +24 -0
- package/dist/attributes/types/affiliation/AffiliationRole.js.map +1 -0
- package/dist/attributes/types/affiliation/AffiliationUnit.d.ts +10 -0
- package/dist/attributes/types/affiliation/AffiliationUnit.js +24 -0
- package/dist/attributes/types/affiliation/AffiliationUnit.js.map +1 -0
- package/dist/attributes/types/affiliation/index.d.ts +4 -0
- package/dist/{forms → attributes/types/affiliation}/index.js +4 -8
- package/dist/attributes/types/affiliation/index.js.map +1 -0
- package/dist/attributes/types/birth/BirthCity.d.ts +9 -2
- package/dist/attributes/types/birth/BirthCity.js +8 -2
- package/dist/attributes/types/birth/BirthCity.js.map +1 -1
- package/dist/attributes/types/birth/BirthCountry.d.ts +9 -2
- package/dist/attributes/types/birth/BirthCountry.js +8 -2
- package/dist/attributes/types/birth/BirthCountry.js.map +1 -1
- package/dist/attributes/types/birth/BirthDate.d.ts +40 -39
- package/dist/attributes/types/birth/BirthDate.js +3 -0
- package/dist/attributes/types/birth/BirthDate.js.map +1 -1
- package/dist/attributes/types/birth/BirthDay.d.ts +9 -2
- package/dist/attributes/types/birth/BirthDay.js +8 -2
- package/dist/attributes/types/birth/BirthDay.js.map +1 -1
- package/dist/attributes/types/birth/BirthMonth.d.ts +9 -2
- package/dist/attributes/types/birth/BirthMonth.js +6 -0
- package/dist/attributes/types/birth/BirthMonth.js.map +1 -1
- package/dist/attributes/types/birth/BirthPlace.d.ts +40 -39
- package/dist/attributes/types/birth/BirthPlace.js +3 -0
- package/dist/attributes/types/birth/BirthPlace.js.map +1 -1
- package/dist/attributes/types/birth/BirthState.d.ts +9 -2
- package/dist/attributes/types/birth/BirthState.js +8 -2
- package/dist/attributes/types/birth/BirthState.js.map +1 -1
- package/dist/attributes/types/birth/BirthYear.d.ts +9 -2
- package/dist/attributes/types/birth/BirthYear.js +8 -2
- package/dist/attributes/types/birth/BirthYear.js.map +1 -1
- package/dist/attributes/types/communication/CommunicationLanguage.d.ts +9 -1
- package/dist/attributes/types/communication/CommunicationLanguage.js +6 -0
- package/dist/attributes/types/communication/CommunicationLanguage.js.map +1 -1
- package/dist/attributes/types/communication/EMailAddress.d.ts +9 -1
- package/dist/attributes/types/communication/EMailAddress.js +6 -0
- package/dist/attributes/types/communication/EMailAddress.js.map +1 -1
- package/dist/attributes/types/communication/FaxNumber.d.ts +11 -0
- package/dist/attributes/types/communication/{Fax.js → FaxNumber.js} +14 -8
- package/dist/attributes/types/communication/FaxNumber.js.map +1 -0
- package/dist/attributes/types/communication/PhoneNumber.d.ts +11 -0
- package/dist/attributes/types/communication/{Phone.js → PhoneNumber.js} +14 -8
- package/dist/attributes/types/communication/PhoneNumber.js.map +1 -0
- package/dist/attributes/types/communication/Website.d.ts +9 -1
- package/dist/attributes/types/communication/Website.js +6 -0
- package/dist/attributes/types/communication/Website.js.map +1 -1
- package/dist/attributes/types/communication/index.d.ts +2 -2
- package/dist/attributes/types/communication/index.js +2 -2
- package/dist/attributes/types/communication/index.js.map +1 -1
- package/dist/attributes/types/dates/AbstractDateString.js.map +1 -1
- package/dist/attributes/types/dates/AbstractDay.d.ts +8 -2
- package/dist/attributes/types/dates/AbstractDay.js.map +1 -1
- package/dist/attributes/types/dates/AbstractMonth.d.ts +8 -2
- package/dist/attributes/types/dates/AbstractMonth.js.map +1 -1
- package/dist/attributes/types/dates/AbstractYear.d.ts +7 -1
- package/dist/attributes/types/dates/AbstractYear.js.map +1 -1
- package/dist/attributes/types/identity/DisplayName.d.ts +10 -0
- package/dist/attributes/types/{name → identity}/DisplayName.js +6 -0
- package/dist/attributes/types/identity/DisplayName.js.map +1 -0
- package/dist/attributes/types/identity/FileReference.d.ts +11 -0
- package/dist/attributes/types/{files → identity}/FileReference.js +6 -0
- package/dist/attributes/types/identity/FileReference.js.map +1 -0
- package/dist/attributes/types/{files → identity}/index.d.ts +1 -0
- package/dist/attributes/types/{files → identity}/index.js +1 -0
- package/dist/attributes/types/identity/index.js.map +1 -0
- package/dist/attributes/types/index.d.ts +3 -3
- package/dist/attributes/types/index.js +3 -3
- package/dist/attributes/types/index.js.map +1 -1
- package/dist/attributes/types/measurements/AbstractLengthMeasurement.js.map +1 -1
- package/dist/attributes/types/measurements/AbstractMeasurement.js.map +1 -1
- package/dist/attributes/types/name/BirthName.d.ts +9 -2
- package/dist/attributes/types/name/BirthName.js +6 -0
- package/dist/attributes/types/name/BirthName.js.map +1 -1
- package/dist/attributes/types/name/GivenName.d.ts +9 -2
- package/dist/attributes/types/name/GivenName.js +6 -0
- package/dist/attributes/types/name/GivenName.js.map +1 -1
- package/dist/attributes/types/name/HonorificPrefix.d.ts +9 -2
- package/dist/attributes/types/name/HonorificPrefix.js +6 -0
- package/dist/attributes/types/name/HonorificPrefix.js.map +1 -1
- package/dist/attributes/types/name/HonorificSuffix.d.ts +9 -2
- package/dist/attributes/types/name/HonorificSuffix.js +6 -0
- package/dist/attributes/types/name/HonorificSuffix.js.map +1 -1
- package/dist/attributes/types/name/MiddleName.d.ts +10 -0
- package/dist/attributes/types/name/MiddleName.js +24 -0
- package/dist/attributes/types/name/MiddleName.js.map +1 -0
- package/dist/attributes/types/name/{Salutation.d.ts → PersonName.d.ts} +68 -73
- package/dist/attributes/types/name/{Salutation.js → PersonName.js} +35 -23
- package/dist/attributes/types/name/PersonName.js.map +1 -0
- package/dist/attributes/types/name/Pseudonym.d.ts +9 -2
- package/dist/attributes/types/name/Pseudonym.js +6 -0
- package/dist/attributes/types/name/Pseudonym.js.map +1 -1
- package/dist/attributes/types/name/Surname.d.ts +9 -2
- package/dist/attributes/types/name/Surname.js +6 -0
- package/dist/attributes/types/name/Surname.js.map +1 -1
- package/dist/attributes/types/name/index.d.ts +2 -4
- package/dist/attributes/types/name/index.js +2 -4
- package/dist/attributes/types/name/index.js.map +1 -1
- package/dist/attributes/types/person/Citizenship.d.ts +10 -2
- package/dist/attributes/types/person/Citizenship.js +8 -2
- package/dist/attributes/types/person/Citizenship.js.map +1 -1
- package/dist/attributes/types/person/JobTitle.d.ts +10 -0
- package/dist/attributes/types/person/JobTitle.js +24 -0
- package/dist/attributes/types/person/JobTitle.js.map +1 -0
- package/dist/attributes/types/person/Nationality.d.ts +10 -2
- package/dist/attributes/types/person/Nationality.js +8 -2
- package/dist/attributes/types/person/Nationality.js.map +1 -1
- package/dist/attributes/types/person/Sex.d.ts +10 -3
- package/dist/attributes/types/person/Sex.js +8 -2
- package/dist/attributes/types/person/Sex.js.map +1 -1
- package/dist/attributes/types/person/index.d.ts +1 -2
- package/dist/attributes/types/person/index.js +1 -2
- package/dist/attributes/types/person/index.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryBoolean.d.ts +5 -2
- package/dist/attributes/types/proprietary/ProprietaryBoolean.js +6 -0
- package/dist/attributes/types/proprietary/ProprietaryBoolean.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryCountry.d.ts +5 -2
- package/dist/attributes/types/proprietary/ProprietaryCountry.js +6 -0
- package/dist/attributes/types/proprietary/ProprietaryCountry.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryEMailAddress.d.ts +5 -2
- package/dist/attributes/types/proprietary/ProprietaryEMailAddress.js +6 -0
- package/dist/attributes/types/proprietary/ProprietaryEMailAddress.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryFileReference.d.ts +5 -2
- package/dist/attributes/types/proprietary/ProprietaryFileReference.js +6 -0
- package/dist/attributes/types/proprietary/ProprietaryFileReference.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryFloat.d.ts +5 -2
- package/dist/attributes/types/proprietary/ProprietaryFloat.js +6 -0
- package/dist/attributes/types/proprietary/ProprietaryFloat.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryHEXColor.d.ts +5 -2
- package/dist/attributes/types/proprietary/ProprietaryHEXColor.js +6 -0
- package/dist/attributes/types/proprietary/ProprietaryHEXColor.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryInteger.d.ts +5 -4
- package/dist/attributes/types/proprietary/ProprietaryInteger.js +3 -0
- package/dist/attributes/types/proprietary/ProprietaryInteger.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryLanguage.d.ts +5 -2
- package/dist/attributes/types/proprietary/ProprietaryLanguage.js +6 -0
- package/dist/attributes/types/proprietary/ProprietaryLanguage.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryPhoneNumber.d.ts +5 -2
- package/dist/attributes/types/proprietary/ProprietaryPhoneNumber.js +6 -0
- package/dist/attributes/types/proprietary/ProprietaryPhoneNumber.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryString.d.ts +5 -2
- package/dist/attributes/types/proprietary/ProprietaryString.js +6 -0
- package/dist/attributes/types/proprietary/ProprietaryString.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryURL.d.ts +5 -2
- package/dist/attributes/types/proprietary/ProprietaryURL.js +6 -0
- package/dist/attributes/types/proprietary/ProprietaryURL.js.map +1 -1
- package/dist/attributes/types/proprietary/index.d.ts +0 -1
- package/dist/attributes/types/proprietary/index.js +0 -1
- package/dist/attributes/types/proprietary/index.js.map +1 -1
- package/dist/attributes/types/relationship/Consent.d.ts +18 -0
- package/dist/attributes/types/relationship/Consent.js +73 -0
- package/dist/attributes/types/relationship/Consent.js.map +1 -0
- package/dist/attributes/types/relationship/index.d.ts +1 -0
- package/dist/attributes/types/relationship/index.js +18 -0
- package/dist/attributes/types/relationship/index.js.map +1 -0
- package/dist/attributes/types/strings/AbstractCountry.js.map +1 -1
- package/dist/attributes/types/strings/AbstractEMailAddress.js +2 -2
- package/dist/attributes/types/strings/AbstractEMailAddress.js.map +1 -1
- package/dist/attributes/types/strings/AbstractFileReference.js.map +1 -1
- package/dist/attributes/types/strings/AbstractHEXColor.js.map +1 -1
- package/dist/attributes/types/strings/AbstractLanguage.js.map +1 -1
- package/dist/attributes/types/strings/AbstractPhoneNumber.js.map +1 -1
- package/dist/attributes/types/strings/AbstractURL.js.map +1 -1
- package/dist/attributes/types/strings/index.d.ts +0 -1
- package/dist/attributes/types/strings/index.js +0 -1
- package/dist/attributes/types/strings/index.js.map +1 -1
- package/dist/buildInformation.js +5 -5
- package/dist/index.d.ts +0 -2
- package/dist/index.js +0 -2
- package/dist/index.js.map +1 -1
- package/dist/messages/Mail.d.ts +3 -2
- package/dist/messages/Mail.js +2 -8
- package/dist/messages/Mail.js.map +1 -1
- package/dist/relationships/RelationshipCreationChangeRequestContent.d.ts +15 -0
- package/dist/relationships/{RelationshipCreationChangeRequestBody.js → RelationshipCreationChangeRequestContent.js} +11 -13
- package/dist/relationships/RelationshipCreationChangeRequestContent.js.map +1 -0
- package/dist/relationships/RelationshipTemplateContent.d.ts +24 -0
- package/dist/relationships/{RelationshipTemplateBody.js → RelationshipTemplateContent.js} +14 -11
- package/dist/relationships/RelationshipTemplateContent.js.map +1 -0
- package/dist/relationships/index.d.ts +2 -2
- package/dist/relationships/index.js +2 -2
- package/dist/relationships/index.js.map +1 -1
- package/dist/requests/Request.d.ts +3 -2
- package/dist/requests/Request.js +2 -2
- package/dist/requests/Request.js.map +1 -1
- package/dist/requests/RequestItem.d.ts +17 -6
- package/dist/requests/RequestItem.js +7 -2
- package/dist/requests/RequestItem.js.map +1 -1
- package/dist/requests/RequestItemGroup.d.ts +5 -4
- package/dist/requests/RequestItemGroup.js +2 -2
- package/dist/requests/RequestItemGroup.js.map +1 -1
- package/dist/requests/index.d.ts +0 -3
- package/dist/requests/index.js +0 -3
- package/dist/requests/index.js.map +1 -1
- package/dist/requests/items/authentication/AuthenticationRequestItem.d.ts +10 -0
- package/dist/requests/items/authentication/AuthenticationRequestItem.js +24 -0
- package/dist/requests/items/authentication/AuthenticationRequestItem.js.map +1 -0
- package/dist/requests/items/consent/ConsentRequestItem.d.ts +3 -4
- package/dist/requests/items/consent/ConsentRequestItem.js +8 -7
- package/dist/requests/items/consent/ConsentRequestItem.js.map +1 -1
- package/dist/requests/items/createRelationshipAttribute/CreateAttributeAcceptResponseItem.d.ts +14 -0
- package/dist/requests/items/{createOwnRelationshipAttribute/CreateOwnRelationshipAttributeAcceptResponseItem.js → createRelationshipAttribute/CreateAttributeAcceptResponseItem.js} +11 -8
- package/dist/requests/items/createRelationshipAttribute/CreateAttributeAcceptResponseItem.js.map +1 -0
- package/dist/requests/items/createRelationshipAttribute/CreateAttributeRequestItem.d.ts +15 -0
- package/dist/requests/items/{createOwnRelationshipAttribute/CreateOwnRelationshipAttributeRequestItem.js → createRelationshipAttribute/CreateAttributeRequestItem.js} +13 -9
- package/dist/requests/items/createRelationshipAttribute/CreateAttributeRequestItem.js.map +1 -0
- package/dist/requests/items/index.d.ts +5 -2
- package/dist/requests/items/index.js +5 -2
- package/dist/requests/items/index.js.map +1 -1
- package/dist/requests/items/proposeAttribute/ProposeAttributeAcceptResponseItem.d.ts +2 -0
- package/dist/requests/items/proposeAttribute/ProposeAttributeAcceptResponseItem.js +3 -0
- package/dist/requests/items/proposeAttribute/ProposeAttributeAcceptResponseItem.js.map +1 -1
- package/dist/requests/items/proposeAttribute/ProposeAttributeRequestItem.d.ts +3 -1
- package/dist/requests/items/proposeAttribute/ProposeAttributeRequestItem.js +9 -4
- package/dist/requests/items/proposeAttribute/ProposeAttributeRequestItem.js.map +1 -1
- package/dist/requests/items/readAttribute/ReadAttributeAcceptResponseItem.d.ts +2 -0
- package/dist/requests/items/readAttribute/ReadAttributeAcceptResponseItem.js +3 -0
- package/dist/requests/items/readAttribute/ReadAttributeAcceptResponseItem.js.map +1 -1
- package/dist/requests/items/readAttribute/ReadAttributeRequestItem.d.ts +6 -5
- package/dist/requests/items/readAttribute/ReadAttributeRequestItem.js +5 -3
- package/dist/requests/items/readAttribute/ReadAttributeRequestItem.js.map +1 -1
- package/dist/requests/items/registerAttributeListener/RegisterAttributeListenerAcceptResponseItem.d.ts +13 -0
- package/dist/{forms/items/FormItemSelect.js → requests/items/registerAttributeListener/RegisterAttributeListenerAcceptResponseItem.js} +16 -16
- package/dist/requests/items/registerAttributeListener/RegisterAttributeListenerAcceptResponseItem.js.map +1 -0
- package/dist/requests/items/registerAttributeListener/RegisterAttributeListenerRequestItem.d.ts +14 -0
- package/dist/requests/items/registerAttributeListener/RegisterAttributeListenerRequestItem.js +35 -0
- package/dist/requests/items/registerAttributeListener/RegisterAttributeListenerRequestItem.js.map +1 -0
- package/dist/requests/items/shareAttribute/ShareAttributeAcceptResponseItem.d.ts +2 -0
- package/dist/requests/items/shareAttribute/ShareAttributeAcceptResponseItem.js +3 -0
- package/dist/requests/items/shareAttribute/ShareAttributeAcceptResponseItem.js.map +1 -1
- package/dist/requests/items/shareAttribute/ShareAttributeRequestItem.d.ts +3 -1
- package/dist/requests/items/shareAttribute/ShareAttributeRequestItem.js +3 -0
- package/dist/requests/items/shareAttribute/ShareAttributeRequestItem.js.map +1 -1
- package/dist/requests/response/AcceptResponseItem.d.ts +6 -6
- package/dist/requests/response/AcceptResponseItem.js +2 -2
- package/dist/requests/response/AcceptResponseItem.js.map +1 -1
- package/dist/requests/response/ErrorResponseItem.d.ts +3 -2
- package/dist/requests/response/ErrorResponseItem.js +2 -2
- package/dist/requests/response/ErrorResponseItem.js.map +1 -1
- package/dist/requests/response/RejectResponseItem.d.ts +3 -2
- package/dist/requests/response/RejectResponseItem.js +2 -2
- package/dist/requests/response/RejectResponseItem.js.map +1 -1
- package/dist/requests/response/Response.d.ts +3 -2
- package/dist/requests/response/Response.js +2 -2
- package/dist/requests/response/Response.js.map +1 -1
- package/dist/requests/response/ResponseItem.d.ts +1 -1
- package/dist/requests/response/ResponseItem.js +2 -2
- package/dist/requests/response/ResponseItem.js.map +1 -1
- package/dist/requests/response/ResponseItemGroup.d.ts +3 -2
- package/dist/requests/response/ResponseItemGroup.js +2 -2
- package/dist/requests/response/ResponseItemGroup.js.map +1 -1
- package/lib-web/nmshd.content.js +4739 -5812
- package/lib-web/nmshd.content.min.js +1 -1
- package/package.json +18 -17
- package/dist/attributes/Attribute.d.ts +0 -24
- package/dist/attributes/Attribute.js +0 -66
- package/dist/attributes/Attribute.js.map +0 -1
- package/dist/attributes/hints/RelationshipAttributeCreationHints.d.ts +0 -31
- package/dist/attributes/hints/RelationshipAttributeCreationHints.js +0 -64
- package/dist/attributes/hints/RelationshipAttributeCreationHints.js.map +0 -1
- package/dist/attributes/types/AttributeList.d.ts +0 -1
- package/dist/attributes/types/AttributeList.js +0 -37
- package/dist/attributes/types/AttributeList.js.map +0 -1
- package/dist/attributes/types/AttributeTypeMapping.d.ts +0 -1
- package/dist/attributes/types/AttributeTypeMapping.js +0 -9
- package/dist/attributes/types/AttributeTypeMapping.js.map +0 -1
- package/dist/attributes/types/communication/Fax.d.ts +0 -3
- package/dist/attributes/types/communication/Fax.js.map +0 -1
- package/dist/attributes/types/communication/Phone.d.ts +0 -3
- package/dist/attributes/types/communication/Phone.js.map +0 -1
- package/dist/attributes/types/files/FileReference.d.ts +0 -3
- package/dist/attributes/types/files/FileReference.js.map +0 -1
- package/dist/attributes/types/files/index.js.map +0 -1
- package/dist/attributes/types/name/AbstractLegalName.d.ts +0 -3
- package/dist/attributes/types/name/AbstractLegalName.js +0 -8
- package/dist/attributes/types/name/AbstractLegalName.js.map +0 -1
- package/dist/attributes/types/name/DisplayName.d.ts +0 -3
- package/dist/attributes/types/name/DisplayName.js.map +0 -1
- package/dist/attributes/types/name/LegalNameDE.js +0 -92
- package/dist/attributes/types/name/LegalNameDE.js.map +0 -1
- package/dist/attributes/types/name/Salutation.js.map +0 -1
- package/dist/attributes/types/person/Age.d.ts +0 -6
- package/dist/attributes/types/person/Age.js +0 -34
- package/dist/attributes/types/person/Age.js.map +0 -1
- package/dist/attributes/types/person/Picture.d.ts +0 -3
- package/dist/attributes/types/person/Picture.js +0 -18
- package/dist/attributes/types/person/Picture.js.map +0 -1
- package/dist/attributes/types/proprietary/ProprietaryDataURL.d.ts +0 -14
- package/dist/attributes/types/proprietary/ProprietaryDataURL.js +0 -31
- package/dist/attributes/types/proprietary/ProprietaryDataURL.js.map +0 -1
- package/dist/attributes/types/strings/AbstractDataURL.d.ts +0 -7
- package/dist/attributes/types/strings/AbstractDataURL.js +0 -40
- package/dist/attributes/types/strings/AbstractDataURL.js.map +0 -1
- package/dist/forms/Form.d.ts +0 -18
- package/dist/forms/Form.js +0 -36
- package/dist/forms/Form.js.map +0 -1
- package/dist/forms/FormItem.d.ts +0 -35
- package/dist/forms/FormItem.js.map +0 -1
- package/dist/forms/index.d.ts +0 -8
- package/dist/forms/index.js.map +0 -1
- package/dist/forms/items/FormItemBoolean.d.ts +0 -7
- package/dist/forms/items/FormItemBoolean.js +0 -26
- package/dist/forms/items/FormItemBoolean.js.map +0 -1
- package/dist/forms/items/FormItemDate.d.ts +0 -15
- package/dist/forms/items/FormItemDate.js +0 -46
- package/dist/forms/items/FormItemDate.js.map +0 -1
- package/dist/forms/items/FormItemInvisible.d.ts +0 -7
- package/dist/forms/items/FormItemInvisible.js +0 -26
- package/dist/forms/items/FormItemInvisible.js.map +0 -1
- package/dist/forms/items/FormItemMultipleChoice.d.ts +0 -10
- package/dist/forms/items/FormItemMultipleChoice.js +0 -32
- package/dist/forms/items/FormItemMultipleChoice.js.map +0 -1
- package/dist/forms/items/FormItemMultipleChoiceItem.d.ts +0 -10
- package/dist/forms/items/FormItemMultipleChoiceItem.js +0 -30
- package/dist/forms/items/FormItemMultipleChoiceItem.js.map +0 -1
- package/dist/forms/items/FormItemSelect.d.ts +0 -10
- package/dist/forms/items/FormItemSelect.js.map +0 -1
- package/dist/forms/items/FormItemSelectItem.d.ts +0 -10
- package/dist/forms/items/FormItemSelectItem.js +0 -30
- package/dist/forms/items/FormItemSelectItem.js.map +0 -1
- package/dist/forms/items/FormItemString.d.ts +0 -15
- package/dist/forms/items/FormItemString.js +0 -46
- package/dist/forms/items/FormItemString.js.map +0 -1
- package/dist/forms/items/FormItemText.d.ts +0 -15
- package/dist/forms/items/FormItemText.js +0 -46
- package/dist/forms/items/FormItemText.js.map +0 -1
- package/dist/messages/RequestMail.d.ts +0 -14
- package/dist/messages/RequestMail.js +0 -51
- package/dist/messages/RequestMail.js.map +0 -1
- package/dist/relationships/RelationshipCreationChangeRequestBody.d.ts +0 -16
- package/dist/relationships/RelationshipCreationChangeRequestBody.js.map +0 -1
- package/dist/relationships/RelationshipTemplateBody.d.ts +0 -22
- package/dist/relationships/RelationshipTemplateBody.js.map +0 -1
- package/dist/requests/items/createOwnRelationshipAttribute/CreateOwnRelationshipAttributeAcceptResponseItem.d.ts +0 -12
- package/dist/requests/items/createOwnRelationshipAttribute/CreateOwnRelationshipAttributeAcceptResponseItem.js.map +0 -1
- package/dist/requests/items/createOwnRelationshipAttribute/CreateOwnRelationshipAttributeRequestItem.d.ts +0 -13
- package/dist/requests/items/createOwnRelationshipAttribute/CreateOwnRelationshipAttributeRequestItem.js.map +0 -1
- package/dist/requests/old/AttributesChangeRequest.d.ts +0 -54
- package/dist/requests/old/AttributesChangeRequest.js +0 -71
- package/dist/requests/old/AttributesChangeRequest.js.map +0 -1
- package/dist/requests/old/AttributesRequest.d.ts +0 -49
- package/dist/requests/old/AttributesRequest.js +0 -64
- package/dist/requests/old/AttributesRequest.js.map +0 -1
- package/dist/requests/old/AttributesShareRequest.d.ts +0 -52
- package/dist/requests/old/AttributesShareRequest.js +0 -59
- package/dist/requests/old/AttributesShareRequest.js.map +0 -1
|
@@ -1,51 +0,0 @@
|
|
|
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.RequestMail = void 0;
|
|
13
|
-
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
14
|
-
const AttributesChangeRequest_1 = require("../requests/old/AttributesChangeRequest");
|
|
15
|
-
const AttributesShareRequest_1 = require("../requests/old/AttributesShareRequest");
|
|
16
|
-
const Mail_1 = require("./Mail");
|
|
17
|
-
let RequestMail = class RequestMail extends Mail_1.Mail {
|
|
18
|
-
static from(value) {
|
|
19
|
-
return this.fromAny(value);
|
|
20
|
-
}
|
|
21
|
-
static fromJSON(value) {
|
|
22
|
-
const mail = Mail_1.Mail.fromJSON(value);
|
|
23
|
-
const requests = value.requests.map((request) => {
|
|
24
|
-
switch (request["@type"]) {
|
|
25
|
-
case "AttributesChangeRequest":
|
|
26
|
-
return AttributesChangeRequest_1.AttributesChangeRequest.fromAny(request);
|
|
27
|
-
case "AttributesShareRequest":
|
|
28
|
-
return AttributesShareRequest_1.AttributesShareRequest.fromAny(request);
|
|
29
|
-
default:
|
|
30
|
-
throw new Error(`Unknown request type: ${request["@type"]}`);
|
|
31
|
-
}
|
|
32
|
-
});
|
|
33
|
-
return this.from({
|
|
34
|
-
body: mail.body,
|
|
35
|
-
subject: mail.subject,
|
|
36
|
-
to: mail.to,
|
|
37
|
-
cc: mail.cc,
|
|
38
|
-
requests: requests
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
|
-
};
|
|
42
|
-
__decorate([
|
|
43
|
-
(0, ts_serval_1.serialize)(),
|
|
44
|
-
(0, ts_serval_1.validate)(),
|
|
45
|
-
__metadata("design:type", Array)
|
|
46
|
-
], RequestMail.prototype, "requests", void 0);
|
|
47
|
-
RequestMail = __decorate([
|
|
48
|
-
(0, ts_serval_1.type)("RequestMail")
|
|
49
|
-
], RequestMail);
|
|
50
|
-
exports.RequestMail = RequestMail;
|
|
51
|
-
//# sourceMappingURL=RequestMail.js.map
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ISerializable, Serializable } from "@js-soft/ts-serval";
|
|
2
|
-
import { ContentJSON } from "../ContentJSON";
|
|
3
|
-
import { IResponse, Response, ResponseJSON } from "../requests/response/Response";
|
|
4
|
-
export interface RelationshipCreationChangeRequestBodyJSON extends ContentJSON {
|
|
5
|
-
templateContentMetadata?: object;
|
|
6
|
-
response: ResponseJSON;
|
|
7
|
-
}
|
|
8
|
-
export interface IRelationshipCreationChangeRequestBody extends ISerializable {
|
|
9
|
-
templateContentMetadata?: object;
|
|
10
|
-
response: IResponse;
|
|
11
|
-
}
|
|
12
|
-
export declare class RelationshipCreationChangeRequestBody extends Serializable implements IRelationshipCreationChangeRequestBody {
|
|
13
|
-
templateContentMetadata?: object;
|
|
14
|
-
response: Response;
|
|
15
|
-
static from(value: IRelationshipCreationChangeRequestBody | RelationshipCreationChangeRequestBodyJSON): RelationshipCreationChangeRequestBody;
|
|
16
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RelationshipCreationChangeRequestBody.js","sourceRoot":"","sources":["../../src/relationships/RelationshipCreationChangeRequestBody.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA2F;AAE3F,4DAAiF;AAajF,IAAa,qCAAqC,GAAlD,MAAa,qCACT,SAAQ,wBAAY;IAWb,MAAM,CAAC,IAAI,CACd,KAAyF;QAEzF,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAA;AAXG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sFACU;AAIvC;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;8BACM,mBAAQ;uEAAA;AAVhB,qCAAqC;IADjD,IAAA,gBAAI,EAAC,uCAAuC,CAAC;GACjC,qCAAqC,CAiBjD;AAjBY,sFAAqC"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { ISerializable, Serializable } from "@js-soft/ts-serval";
|
|
2
|
-
import { ContentJSON } from "../ContentJSON";
|
|
3
|
-
import { IRequest, Request, RequestJSON } from "../requests/Request";
|
|
4
|
-
export interface RelationshipTemplateBodyJSON extends ContentJSON {
|
|
5
|
-
title?: string;
|
|
6
|
-
metadata?: object;
|
|
7
|
-
onNewRelationship: RequestJSON;
|
|
8
|
-
onExistingRelationship?: RequestJSON;
|
|
9
|
-
}
|
|
10
|
-
export interface IRelationshipTemplateBody extends ISerializable {
|
|
11
|
-
title?: string;
|
|
12
|
-
metadata?: object;
|
|
13
|
-
onNewRelationship: IRequest;
|
|
14
|
-
onExistingRelationship?: IRequest;
|
|
15
|
-
}
|
|
16
|
-
export declare class RelationshipTemplateBody extends Serializable implements IRelationshipTemplateBody {
|
|
17
|
-
title?: string;
|
|
18
|
-
metadata?: object;
|
|
19
|
-
onNewRelationship: Request;
|
|
20
|
-
onExistingRelationship?: Request;
|
|
21
|
-
static from(value: IRelationshipTemplateBody | RelationshipTemplateBodyJSON): RelationshipTemplateBody;
|
|
22
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RelationshipTemplateBody.js","sourceRoot":"","sources":["../../src/relationships/RelationshipTemplateBody.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA2F;AAE3F,iDAAoE;AAiBpE,IAAa,wBAAwB,GAArC,MAAa,wBAAyB,SAAQ,wBAAY;IAiB/C,MAAM,CAAC,IAAI,CAAC,KAA+D;QAC9E,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAA;AAjBG;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;;0DACL;AAIxB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;8BACe,iBAAO;mEAAA;AAIjC;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACG,iBAAO;wEAAA;AAf9B,wBAAwB;IADpC,IAAA,gBAAI,EAAC,0BAA0B,CAAC;GACpB,wBAAwB,CAoBpC;AApBY,4DAAwB"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { CoreId, ICoreId } from "@nmshd/transport";
|
|
2
|
-
import { AcceptResponseItem, AcceptResponseItemJSON, IAcceptResponseItem } from "../../response";
|
|
3
|
-
export interface CreateOwnRelationshipAttributeAcceptResponseItemJSON extends AcceptResponseItemJSON {
|
|
4
|
-
attributeId: string;
|
|
5
|
-
}
|
|
6
|
-
export interface ICreateOwnRelationshipAttributeAcceptResponseItem extends IAcceptResponseItem {
|
|
7
|
-
attributeId: ICoreId;
|
|
8
|
-
}
|
|
9
|
-
export declare class CreateOwnRelationshipAttributeAcceptResponseItem extends AcceptResponseItem implements ICreateOwnRelationshipAttributeAcceptResponseItem {
|
|
10
|
-
attributeId: CoreId;
|
|
11
|
-
static from(value: ICreateOwnRelationshipAttributeAcceptResponseItem | CreateOwnRelationshipAttributeAcceptResponseItemJSON): CreateOwnRelationshipAttributeAcceptResponseItem;
|
|
12
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CreateOwnRelationshipAttributeAcceptResponseItem.js","sourceRoot":"","sources":["../../../../src/requests/items/createOwnRelationshipAttribute/CreateOwnRelationshipAttributeAcceptResponseItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,gDAAkD;AAClD,6CAAgG;AAWhG,IAAa,gDAAgD,GAA7D,MAAa,gDACT,SAAQ,6BAAkB;IAOnB,MAAM,CAAU,IAAI,CACvB,KAA+G;QAE/G,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAA;AAPG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;8BACS,kBAAM;qFAAA;AANjB,gDAAgD;IAD5D,IAAA,gBAAI,EAAC,kDAAkD,CAAC;GAC5C,gDAAgD,CAa5D;AAbY,4GAAgD"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { RequestItemJSON } from "../..";
|
|
2
|
-
import { IRelationshipAttribute, RelationshipAttribute, RelationshipAttributeJSON } from "../../../attributes";
|
|
3
|
-
import { IRequestItem, RequestItem } from "../../RequestItem";
|
|
4
|
-
export interface CreateOwnRelationshipAttributeRequestItemJSON extends RequestItemJSON {
|
|
5
|
-
attribute: RelationshipAttributeJSON;
|
|
6
|
-
}
|
|
7
|
-
export interface ICreateOwnRelationshipAttributeRequestItem extends IRequestItem {
|
|
8
|
-
attribute: IRelationshipAttribute;
|
|
9
|
-
}
|
|
10
|
-
export declare class CreateOwnRelationshipAttributeRequestItem extends RequestItem implements ICreateOwnRelationshipAttributeRequestItem {
|
|
11
|
-
attribute: RelationshipAttribute;
|
|
12
|
-
static from(value: ICreateOwnRelationshipAttributeRequestItem | CreateOwnRelationshipAttributeRequestItemJSON): CreateOwnRelationshipAttributeRequestItem;
|
|
13
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CreateOwnRelationshipAttributeRequestItem.js","sourceRoot":"","sources":["../../../../src/requests/items/createOwnRelationshipAttribute/CreateOwnRelationshipAttributeRequestItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAmD;AAEnD,oDAA8G;AAC9G,mDAA6D;AAW7D,IAAa,yCAAyC,GAAtD,MAAa,yCACT,SAAQ,yBAAW;IAMZ,MAAM,CAAC,IAAI,CACd,KAAiG;QAEjG,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAA;AAPG;IADC,IAAA,oBAAQ,GAAE;8BACO,kCAAqB;4EAAA;AAL9B,yCAAyC;IADrD,IAAA,gBAAI,EAAC,2CAA2C,CAAC;GACrC,yCAAyC,CAYrD;AAZY,8FAAyC"}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { ISerializable, Serializable } from "@js-soft/ts-serval";
|
|
2
|
-
import { CoreAddress, CoreDate, CoreId, ICoreAddress, ICoreDate, ICoreId } from "@nmshd/transport";
|
|
3
|
-
import { Attribute, AttributeJSON, IAttribute } from "../../attributes/Attribute";
|
|
4
|
-
import { ContentJSON } from "../../ContentJSON";
|
|
5
|
-
export interface AttributesChangeRequestJSON extends ContentJSON {
|
|
6
|
-
id?: string;
|
|
7
|
-
key?: string;
|
|
8
|
-
reason?: string;
|
|
9
|
-
expiresAt?: string;
|
|
10
|
-
impact?: string;
|
|
11
|
-
attributes: AttributeJSON[];
|
|
12
|
-
applyTo?: string;
|
|
13
|
-
}
|
|
14
|
-
export interface IAttributesChangeRequest extends ISerializable {
|
|
15
|
-
id?: ICoreId;
|
|
16
|
-
/**
|
|
17
|
-
* The technial key of the request which is submitted back with the answer. This can be used
|
|
18
|
-
* for mapping requests and answers. The key should be unique and non-personal, best a random UUID.
|
|
19
|
-
* @default undefined - no key is used
|
|
20
|
-
*/
|
|
21
|
-
key?: string;
|
|
22
|
-
/**
|
|
23
|
-
* The human-readable reason for this request. This can be used to provide the user with more input
|
|
24
|
-
* why this request is necessary and should be answered.
|
|
25
|
-
* @default undefined - no reason is given
|
|
26
|
-
*/
|
|
27
|
-
reason?: string;
|
|
28
|
-
/**
|
|
29
|
-
* The point in time the request is considered obsolete either technically (e.g. the request is no longer
|
|
30
|
-
* valid or its response is no longer accepted) or from a business perspective (e.g. the request is no longer
|
|
31
|
-
* of interest).
|
|
32
|
-
* @default undefined - the request won't expire
|
|
33
|
-
*/
|
|
34
|
-
expiresAt?: ICoreDate;
|
|
35
|
-
/**
|
|
36
|
-
* The impact of this request. This can be used to show the user what happens if the user does not accept the request.
|
|
37
|
-
*
|
|
38
|
-
* @default undefined - no specific impact
|
|
39
|
-
*/
|
|
40
|
-
impact?: string;
|
|
41
|
-
attributes: IAttribute[];
|
|
42
|
-
applyTo?: ICoreAddress;
|
|
43
|
-
}
|
|
44
|
-
export declare class AttributesChangeRequest extends Serializable implements IAttributesChangeRequest {
|
|
45
|
-
id?: CoreId;
|
|
46
|
-
key?: string;
|
|
47
|
-
reason?: string;
|
|
48
|
-
expiresAt?: CoreDate;
|
|
49
|
-
impact?: string;
|
|
50
|
-
attributes: Attribute[];
|
|
51
|
-
applyTo?: CoreAddress;
|
|
52
|
-
static from(value: IAttributesChangeRequest): AttributesChangeRequest;
|
|
53
|
-
static fromJSON(value: AttributesChangeRequestJSON): AttributesChangeRequest;
|
|
54
|
-
}
|
|
@@ -1,71 +0,0 @@
|
|
|
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.AttributesChangeRequest = void 0;
|
|
13
|
-
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
14
|
-
const transport_1 = require("@nmshd/transport");
|
|
15
|
-
const Attribute_1 = require("../../attributes/Attribute");
|
|
16
|
-
let AttributesChangeRequest = class AttributesChangeRequest extends ts_serval_1.Serializable {
|
|
17
|
-
static from(value) {
|
|
18
|
-
return this.fromAny(value);
|
|
19
|
-
}
|
|
20
|
-
static fromJSON(value) {
|
|
21
|
-
const parsedAttributes = value.attributes.map((attribute) => Attribute_1.Attribute.fromJSON(attribute));
|
|
22
|
-
return this.from({
|
|
23
|
-
id: value.id ? transport_1.CoreId.from(value.id) : undefined,
|
|
24
|
-
attributes: parsedAttributes,
|
|
25
|
-
applyTo: value.applyTo ? transport_1.CoreAddress.from(value.applyTo) : undefined,
|
|
26
|
-
expiresAt: value.expiresAt ? transport_1.CoreDate.from(value.expiresAt) : undefined,
|
|
27
|
-
key: value.key,
|
|
28
|
-
reason: value.reason
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
};
|
|
32
|
-
__decorate([
|
|
33
|
-
(0, ts_serval_1.serialize)(),
|
|
34
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
35
|
-
__metadata("design:type", transport_1.CoreId)
|
|
36
|
-
], AttributesChangeRequest.prototype, "id", void 0);
|
|
37
|
-
__decorate([
|
|
38
|
-
(0, ts_serval_1.serialize)(),
|
|
39
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
40
|
-
__metadata("design:type", String)
|
|
41
|
-
], AttributesChangeRequest.prototype, "key", void 0);
|
|
42
|
-
__decorate([
|
|
43
|
-
(0, ts_serval_1.serialize)(),
|
|
44
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
45
|
-
__metadata("design:type", String)
|
|
46
|
-
], AttributesChangeRequest.prototype, "reason", void 0);
|
|
47
|
-
__decorate([
|
|
48
|
-
(0, ts_serval_1.serialize)(),
|
|
49
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
50
|
-
__metadata("design:type", transport_1.CoreDate)
|
|
51
|
-
], AttributesChangeRequest.prototype, "expiresAt", void 0);
|
|
52
|
-
__decorate([
|
|
53
|
-
(0, ts_serval_1.serialize)(),
|
|
54
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
55
|
-
__metadata("design:type", String)
|
|
56
|
-
], AttributesChangeRequest.prototype, "impact", void 0);
|
|
57
|
-
__decorate([
|
|
58
|
-
(0, ts_serval_1.serialize)({ type: Attribute_1.Attribute }),
|
|
59
|
-
(0, ts_serval_1.validate)(),
|
|
60
|
-
__metadata("design:type", Array)
|
|
61
|
-
], AttributesChangeRequest.prototype, "attributes", void 0);
|
|
62
|
-
__decorate([
|
|
63
|
-
(0, ts_serval_1.serialize)(),
|
|
64
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
65
|
-
__metadata("design:type", transport_1.CoreAddress)
|
|
66
|
-
], AttributesChangeRequest.prototype, "applyTo", void 0);
|
|
67
|
-
AttributesChangeRequest = __decorate([
|
|
68
|
-
(0, ts_serval_1.type)("AttributesChangeRequest")
|
|
69
|
-
], AttributesChangeRequest);
|
|
70
|
-
exports.AttributesChangeRequest = AttributesChangeRequest;
|
|
71
|
-
//# sourceMappingURL=AttributesChangeRequest.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AttributesChangeRequest.js","sourceRoot":"","sources":["../../../src/requests/old/AttributesChangeRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA2F;AAC3F,gDAAkG;AAClG,0DAAiF;AA+CjF,IAAa,uBAAuB,GAApC,MAAa,uBAAwB,SAAQ,wBAAY;IA6B9C,MAAM,CAAC,IAAI,CAAC,KAA+B;QAC9C,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEM,MAAM,CAAC,QAAQ,CAAC,KAAkC;QACrD,MAAM,gBAAgB,GAAG,KAAK,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,qBAAS,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC,CAAA;QAC3F,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,EAAE,EAAE,KAAK,CAAC,EAAE,CAAC,CAAC,CAAC,kBAAM,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,SAAS;YAChD,UAAU,EAAE,gBAAgB;YAC5B,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,uBAAW,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS;YACpE,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,oBAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS;YACvE,GAAG,EAAE,KAAK,CAAC,GAAG;YACd,MAAM,EAAE,KAAK,CAAC,MAAM;SACvB,CAAC,CAAA;IACN,CAAC;CACJ,CAAA;AAzCG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACjB,kBAAM;mDAAA;AAIlB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oDACV;AAInB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uDACP;AAItB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACV,oBAAQ;0DAAA;AAI3B;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uDACP;AAItB;IAFC,IAAA,qBAAS,EAAC,EAAE,IAAI,EAAE,qBAAS,EAAE,CAAC;IAC9B,IAAA,oBAAQ,GAAE;;2DACmB;AAI9B;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACZ,uBAAW;wDAAA;AA3BnB,uBAAuB;IADnC,IAAA,gBAAI,EAAC,yBAAyB,CAAC;GACnB,uBAAuB,CA4CnC;AA5CY,0DAAuB"}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { ISerializable, Serializable } from "@js-soft/ts-serval";
|
|
2
|
-
import { CoreDate, CoreId, ICoreDate, ICoreId } from "@nmshd/transport";
|
|
3
|
-
import { ContentJSON } from "../../ContentJSON";
|
|
4
|
-
export interface AttributesRequestJSON extends ContentJSON {
|
|
5
|
-
id?: string;
|
|
6
|
-
key?: string;
|
|
7
|
-
reason?: string;
|
|
8
|
-
expiresAt?: string;
|
|
9
|
-
names: string[];
|
|
10
|
-
required: boolean;
|
|
11
|
-
}
|
|
12
|
-
export interface IAttributesRequest extends ISerializable {
|
|
13
|
-
id?: ICoreId;
|
|
14
|
-
/**
|
|
15
|
-
* The technial key of the request which is submitted back with the answer. This can be used
|
|
16
|
-
* for mapping requests and answers. The key should be unique and non-personal, best a random UUID.
|
|
17
|
-
* @default undefined - no key is used
|
|
18
|
-
*/
|
|
19
|
-
key?: string;
|
|
20
|
-
/**
|
|
21
|
-
* The human-readable reason for this request. This can be used to provide the user with more input
|
|
22
|
-
* why this request is necessary and should be answered.
|
|
23
|
-
* @default undefined - no reason is given
|
|
24
|
-
*/
|
|
25
|
-
reason?: string;
|
|
26
|
-
/**
|
|
27
|
-
* The point in time the request is considered obsolete either technically (e.g. the request is no longer
|
|
28
|
-
* valid or its response is no longer accepted) or from a business perspective (e.g. the request is no longer
|
|
29
|
-
* of interest).
|
|
30
|
-
* @default undefined - the request won't expire
|
|
31
|
-
*/
|
|
32
|
-
expiresAt?: ICoreDate;
|
|
33
|
-
names: string[];
|
|
34
|
-
/**
|
|
35
|
-
* Whether or not this attribute request is required or optional
|
|
36
|
-
* @default undefined - the attribute request is optional
|
|
37
|
-
*/
|
|
38
|
-
required?: boolean;
|
|
39
|
-
}
|
|
40
|
-
export declare class AttributesRequest extends Serializable implements IAttributesRequest {
|
|
41
|
-
id?: CoreId;
|
|
42
|
-
key?: string;
|
|
43
|
-
reason?: string;
|
|
44
|
-
expiresAt?: CoreDate;
|
|
45
|
-
names: string[];
|
|
46
|
-
required?: boolean;
|
|
47
|
-
static from(value: IAttributesRequest): AttributesRequest;
|
|
48
|
-
static fromJSON(value: AttributesRequestJSON): AttributesRequest;
|
|
49
|
-
}
|
|
@@ -1,64 +0,0 @@
|
|
|
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.AttributesRequest = void 0;
|
|
13
|
-
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
14
|
-
const transport_1 = require("@nmshd/transport");
|
|
15
|
-
let AttributesRequest = class AttributesRequest extends ts_serval_1.Serializable {
|
|
16
|
-
static from(value) {
|
|
17
|
-
return this.fromAny(value);
|
|
18
|
-
}
|
|
19
|
-
static fromJSON(value) {
|
|
20
|
-
return this.from({
|
|
21
|
-
id: value.id ? transport_1.CoreId.from(value.id) : undefined,
|
|
22
|
-
expiresAt: value.expiresAt ? transport_1.CoreDate.from(value.expiresAt) : undefined,
|
|
23
|
-
key: value.key,
|
|
24
|
-
reason: value.reason,
|
|
25
|
-
names: value.names,
|
|
26
|
-
required: value.required
|
|
27
|
-
});
|
|
28
|
-
}
|
|
29
|
-
};
|
|
30
|
-
__decorate([
|
|
31
|
-
(0, ts_serval_1.serialize)(),
|
|
32
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
33
|
-
__metadata("design:type", transport_1.CoreId)
|
|
34
|
-
], AttributesRequest.prototype, "id", void 0);
|
|
35
|
-
__decorate([
|
|
36
|
-
(0, ts_serval_1.serialize)(),
|
|
37
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
38
|
-
__metadata("design:type", String)
|
|
39
|
-
], AttributesRequest.prototype, "key", void 0);
|
|
40
|
-
__decorate([
|
|
41
|
-
(0, ts_serval_1.serialize)(),
|
|
42
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
43
|
-
__metadata("design:type", String)
|
|
44
|
-
], AttributesRequest.prototype, "reason", void 0);
|
|
45
|
-
__decorate([
|
|
46
|
-
(0, ts_serval_1.serialize)(),
|
|
47
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
48
|
-
__metadata("design:type", transport_1.CoreDate)
|
|
49
|
-
], AttributesRequest.prototype, "expiresAt", void 0);
|
|
50
|
-
__decorate([
|
|
51
|
-
(0, ts_serval_1.serialize)({ type: String }),
|
|
52
|
-
(0, ts_serval_1.validate)(),
|
|
53
|
-
__metadata("design:type", Array)
|
|
54
|
-
], AttributesRequest.prototype, "names", void 0);
|
|
55
|
-
__decorate([
|
|
56
|
-
(0, ts_serval_1.serialize)(),
|
|
57
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
58
|
-
__metadata("design:type", Boolean)
|
|
59
|
-
], AttributesRequest.prototype, "required", void 0);
|
|
60
|
-
AttributesRequest = __decorate([
|
|
61
|
-
(0, ts_serval_1.type)("AttributesRequest")
|
|
62
|
-
], AttributesRequest);
|
|
63
|
-
exports.AttributesRequest = AttributesRequest;
|
|
64
|
-
//# sourceMappingURL=AttributesRequest.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AttributesRequest.js","sourceRoot":"","sources":["../../../src/requests/old/AttributesRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA2F;AAC3F,gDAAuE;AA2CvE,IAAa,iBAAiB,GAA9B,MAAa,iBAAkB,SAAQ,wBAAY;IAyBxC,MAAM,CAAC,IAAI,CAAC,KAAyB;QACxC,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEM,MAAM,CAAC,QAAQ,CAAC,KAA4B;QAC/C,OAAO,IAAI,CAAC,IAAI,CAAC;YACb,EAAE,EAAE,KAAK,CAAC,EAAE,CAAC,CAAC,CAAC,kBAAM,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,SAAS;YAChD,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,oBAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS;YACvE,GAAG,EAAE,KAAK,CAAC,GAAG;YACd,MAAM,EAAE,KAAK,CAAC,MAAM;YACpB,KAAK,EAAE,KAAK,CAAC,KAAK;YAClB,QAAQ,EAAE,KAAK,CAAC,QAAQ;SAC3B,CAAC,CAAA;IACN,CAAC;CACJ,CAAA;AApCG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACjB,kBAAM;6CAAA;AAIlB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8CACV;AAInB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDACP;AAItB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACV,oBAAQ;oDAAA;AAI3B;IAFC,IAAA,qBAAS,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;IAC3B,IAAA,oBAAQ,GAAE;;gDACW;AAItB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mDACJ;AAvBhB,iBAAiB;IAD7B,IAAA,gBAAI,EAAC,mBAAmB,CAAC;GACb,iBAAiB,CAuC7B;AAvCY,8CAAiB"}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { ISerializable, Serializable } from "@js-soft/ts-serval";
|
|
2
|
-
import { CoreAddress, CoreDate, CoreId, ICoreAddress, ICoreDate, ICoreId } from "@nmshd/transport";
|
|
3
|
-
import { ContentJSON } from "../../ContentJSON";
|
|
4
|
-
export interface AttributesShareRequestJSON extends ContentJSON {
|
|
5
|
-
id?: string;
|
|
6
|
-
key?: string;
|
|
7
|
-
reason?: string;
|
|
8
|
-
expiresAt?: string;
|
|
9
|
-
impact?: string;
|
|
10
|
-
attributes: string[];
|
|
11
|
-
recipients: string[];
|
|
12
|
-
}
|
|
13
|
-
export interface IAttributesShareRequest extends ISerializable {
|
|
14
|
-
id?: ICoreId;
|
|
15
|
-
/**
|
|
16
|
-
* The technial key of the request which is submitted back with the answer. This can be used
|
|
17
|
-
* for mapping requests and answers. The key should be unique and non-personal, best a random UUID.
|
|
18
|
-
* @default undefined - no key is used
|
|
19
|
-
*/
|
|
20
|
-
key?: string;
|
|
21
|
-
/**
|
|
22
|
-
* The human-readable reason for this request. This can be used to provide the user with more input
|
|
23
|
-
* why this request is necessary and should be answered.
|
|
24
|
-
* @default undefined - no reason is given
|
|
25
|
-
*/
|
|
26
|
-
reason?: string;
|
|
27
|
-
/**
|
|
28
|
-
* The point in time the request is considered obsolete either technically (e.g. the request is no longer
|
|
29
|
-
* valid or its response is no longer accepted) or from a business perspective (e.g. the request is no longer
|
|
30
|
-
* of interest).
|
|
31
|
-
* @default undefined - the request won't expire
|
|
32
|
-
*/
|
|
33
|
-
expiresAt?: ICoreDate;
|
|
34
|
-
/**
|
|
35
|
-
* The impact of this request. This can be used to show the user what happens if the user does not accept the request.
|
|
36
|
-
*
|
|
37
|
-
* @default undefined - no specific impact
|
|
38
|
-
*/
|
|
39
|
-
impact?: string;
|
|
40
|
-
attributes: string[];
|
|
41
|
-
recipients: ICoreAddress[];
|
|
42
|
-
}
|
|
43
|
-
export declare class AttributesShareRequest extends Serializable implements IAttributesShareRequest {
|
|
44
|
-
id?: CoreId;
|
|
45
|
-
key?: string;
|
|
46
|
-
reason?: string;
|
|
47
|
-
expiresAt?: CoreDate;
|
|
48
|
-
impact?: string;
|
|
49
|
-
attributes: string[];
|
|
50
|
-
recipients: CoreAddress[];
|
|
51
|
-
static from(value: IAttributesShareRequest): AttributesShareRequest;
|
|
52
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
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.AttributesShareRequest = void 0;
|
|
13
|
-
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
14
|
-
const transport_1 = require("@nmshd/transport");
|
|
15
|
-
let AttributesShareRequest = class AttributesShareRequest extends ts_serval_1.Serializable {
|
|
16
|
-
static from(value) {
|
|
17
|
-
return this.fromAny(value);
|
|
18
|
-
}
|
|
19
|
-
};
|
|
20
|
-
__decorate([
|
|
21
|
-
(0, ts_serval_1.serialize)(),
|
|
22
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
23
|
-
__metadata("design:type", transport_1.CoreId)
|
|
24
|
-
], AttributesShareRequest.prototype, "id", void 0);
|
|
25
|
-
__decorate([
|
|
26
|
-
(0, ts_serval_1.serialize)(),
|
|
27
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
28
|
-
__metadata("design:type", String)
|
|
29
|
-
], AttributesShareRequest.prototype, "key", void 0);
|
|
30
|
-
__decorate([
|
|
31
|
-
(0, ts_serval_1.serialize)(),
|
|
32
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
33
|
-
__metadata("design:type", String)
|
|
34
|
-
], AttributesShareRequest.prototype, "reason", void 0);
|
|
35
|
-
__decorate([
|
|
36
|
-
(0, ts_serval_1.serialize)(),
|
|
37
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
38
|
-
__metadata("design:type", transport_1.CoreDate)
|
|
39
|
-
], AttributesShareRequest.prototype, "expiresAt", void 0);
|
|
40
|
-
__decorate([
|
|
41
|
-
(0, ts_serval_1.serialize)(),
|
|
42
|
-
(0, ts_serval_1.validate)({ nullable: true }),
|
|
43
|
-
__metadata("design:type", String)
|
|
44
|
-
], AttributesShareRequest.prototype, "impact", void 0);
|
|
45
|
-
__decorate([
|
|
46
|
-
(0, ts_serval_1.serialize)({ type: String }),
|
|
47
|
-
(0, ts_serval_1.validate)(),
|
|
48
|
-
__metadata("design:type", Array)
|
|
49
|
-
], AttributesShareRequest.prototype, "attributes", void 0);
|
|
50
|
-
__decorate([
|
|
51
|
-
(0, ts_serval_1.serialize)({ type: transport_1.CoreAddress }),
|
|
52
|
-
(0, ts_serval_1.validate)(),
|
|
53
|
-
__metadata("design:type", Array)
|
|
54
|
-
], AttributesShareRequest.prototype, "recipients", void 0);
|
|
55
|
-
AttributesShareRequest = __decorate([
|
|
56
|
-
(0, ts_serval_1.type)("AttributesShareRequest")
|
|
57
|
-
], AttributesShareRequest);
|
|
58
|
-
exports.AttributesShareRequest = AttributesShareRequest;
|
|
59
|
-
//# sourceMappingURL=AttributesShareRequest.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AttributesShareRequest.js","sourceRoot":"","sources":["../../../src/requests/old/AttributesShareRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA2F;AAC3F,gDAAkG;AA+ClG,IAAa,sBAAsB,GAAnC,MAAa,sBAAuB,SAAQ,wBAAY;IA6B7C,MAAM,CAAC,IAAI,CAAC,KAA8B;QAC7C,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAA;AA7BG;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACjB,kBAAM;kDAAA;AAIlB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mDACV;AAInB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sDACP;AAItB;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACV,oBAAQ;yDAAA;AAI3B;IAFC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sDACP;AAItB;IAFC,IAAA,qBAAS,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;IAC3B,IAAA,oBAAQ,GAAE;;0DACgB;AAI3B;IAFC,IAAA,qBAAS,EAAC,EAAE,IAAI,EAAE,uBAAW,EAAE,CAAC;IAChC,IAAA,oBAAQ,GAAE;;0DACqB;AA3BvB,sBAAsB;IADlC,IAAA,gBAAI,EAAC,wBAAwB,CAAC;GAClB,sBAAsB,CAgClC;AAhCY,wDAAsB"}
|