@nmshd/content 2.0.0-beta.9 → 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/createRelationshipAttribute/{CreateRelationshipAttributeAcceptResponseItem.js → 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/createRelationshipAttribute/{CreateRelationshipAttributeRequestItem.js → 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/createRelationshipAttribute/CreateRelationshipAttributeAcceptResponseItem.d.ts +0 -12
- package/dist/requests/items/createRelationshipAttribute/CreateRelationshipAttributeAcceptResponseItem.js.map +0 -1
- package/dist/requests/items/createRelationshipAttribute/CreateRelationshipAttributeRequestItem.d.ts +0 -13
- package/dist/requests/items/createRelationshipAttribute/CreateRelationshipAttributeRequestItem.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,3 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { AbstractStringJSON, IAbstractString } from "../AbstractString";
|
|
2
|
+
import { AbstractCountry } from "../strings";
|
|
3
|
+
export interface CountryJSON extends AbstractStringJSON {
|
|
4
|
+
"@type": "Country";
|
|
5
|
+
}
|
|
6
|
+
export interface ICountry extends IAbstractString {
|
|
7
|
+
}
|
|
8
|
+
export declare class Country extends AbstractCountry implements ICountry {
|
|
9
|
+
static from(value: ICountry | Omit<CountryJSON, "@type"> | string): Country;
|
|
3
10
|
}
|
|
@@ -8,8 +8,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
9
|
exports.Country = void 0;
|
|
10
10
|
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
11
|
-
const
|
|
12
|
-
let Country = class Country extends
|
|
11
|
+
const strings_1 = require("../strings");
|
|
12
|
+
let Country = class Country extends strings_1.AbstractCountry {
|
|
13
|
+
static from(value) {
|
|
14
|
+
return this.fromAny(value);
|
|
15
|
+
}
|
|
13
16
|
};
|
|
14
17
|
Country = __decorate([
|
|
15
18
|
(0, ts_serval_1.type)("Country")
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Country.js","sourceRoot":"","sources":["../../../../src/attributes/types/address/Country.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;
|
|
1
|
+
{"version":3,"file":"Country.js","sourceRoot":"","sources":["../../../../src/attributes/types/address/Country.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AAEzC,wCAA4C;AASrC,IAAM,OAAO,GAAb,MAAM,OAAQ,SAAQ,yBAAe;IACjC,MAAM,CAAC,IAAI,CAAC,KAAqD;QACpE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAA;AAJY,OAAO;IADnB,IAAA,gBAAI,EAAC,SAAS,CAAC;GACH,OAAO,CAInB;AAJY,0BAAO"}
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { RenderHints, ValueHints } from "../../hints";
|
|
2
|
-
import {
|
|
3
|
-
import { Phone } from "../communication";
|
|
2
|
+
import { IPhoneNumber, PhoneNumber } from "../communication";
|
|
4
3
|
import { AbstractAddress, AbstractAddressJSON, IAbstractAddress } from "./AbstractAddress";
|
|
5
|
-
import { City } from "./City";
|
|
6
|
-
import { Country } from "./Country";
|
|
7
|
-
import { State } from "./State";
|
|
8
|
-
import { ZipCode } from "./ZipCode";
|
|
4
|
+
import { City, ICity } from "./City";
|
|
5
|
+
import { Country, ICountry } from "./Country";
|
|
6
|
+
import { IState, State } from "./State";
|
|
7
|
+
import { IZipCode, ZipCode } from "./ZipCode";
|
|
9
8
|
export interface DeliveryBoxAddressJSON extends AbstractAddressJSON {
|
|
9
|
+
"@type": "DeliveryBoxAddress";
|
|
10
10
|
userId: string;
|
|
11
11
|
deliveryBoxId: string;
|
|
12
|
-
zipCode:
|
|
13
|
-
city:
|
|
14
|
-
country:
|
|
15
|
-
phoneNumber?:
|
|
16
|
-
state?:
|
|
12
|
+
zipCode: string;
|
|
13
|
+
city: string;
|
|
14
|
+
country: string;
|
|
15
|
+
phoneNumber?: string;
|
|
16
|
+
state?: string;
|
|
17
17
|
}
|
|
18
18
|
export interface IDeliveryBoxAddress extends IAbstractAddress {
|
|
19
19
|
userId: string;
|
|
20
20
|
deliveryBoxId: string;
|
|
21
|
-
zipCode:
|
|
22
|
-
city:
|
|
23
|
-
country:
|
|
24
|
-
phoneNumber?:
|
|
25
|
-
state?:
|
|
21
|
+
zipCode: IZipCode | string;
|
|
22
|
+
city: ICity | string;
|
|
23
|
+
country: ICountry | string;
|
|
24
|
+
phoneNumber?: IPhoneNumber | string;
|
|
25
|
+
state?: IState | string;
|
|
26
26
|
}
|
|
27
27
|
export declare class DeliveryBoxAddress extends AbstractAddress implements IDeliveryBoxAddress {
|
|
28
28
|
static readonly propertyNames: {
|
|
@@ -41,6 +41,13 @@ export declare class DeliveryBoxAddress extends AbstractAddress implements IDeli
|
|
|
41
41
|
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
42
42
|
}>;
|
|
43
43
|
zipCode: {
|
|
44
|
+
toJSON: import("easy-tsnameof").PathHandlers<{
|
|
45
|
+
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
46
|
+
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
47
|
+
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
48
|
+
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
49
|
+
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
50
|
+
}>;
|
|
44
51
|
value: import("easy-tsnameof").PathHandlers<{
|
|
45
52
|
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
46
53
|
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
@@ -304,13 +311,6 @@ export declare class DeliveryBoxAddress extends AbstractAddress implements IDeli
|
|
|
304
311
|
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
305
312
|
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
306
313
|
}>;
|
|
307
|
-
toJSON: import("easy-tsnameof").PathHandlers<{
|
|
308
|
-
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
309
|
-
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
310
|
-
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
311
|
-
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
312
|
-
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
313
|
-
}>;
|
|
314
314
|
} & import("easy-tsnameof").PathHandlers<{
|
|
315
315
|
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
316
316
|
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
@@ -875,6 +875,13 @@ export declare class DeliveryBoxAddress extends AbstractAddress implements IDeli
|
|
|
875
875
|
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
876
876
|
}>;
|
|
877
877
|
phoneNumber: {
|
|
878
|
+
toJSON: import("easy-tsnameof").PathHandlers<{
|
|
879
|
+
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
880
|
+
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
881
|
+
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
882
|
+
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
883
|
+
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
884
|
+
}>;
|
|
878
885
|
value: import("easy-tsnameof").PathHandlers<{
|
|
879
886
|
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
880
887
|
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
@@ -1138,13 +1145,6 @@ export declare class DeliveryBoxAddress extends AbstractAddress implements IDeli
|
|
|
1138
1145
|
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
1139
1146
|
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1140
1147
|
}>;
|
|
1141
|
-
toJSON: import("easy-tsnameof").PathHandlers<{
|
|
1142
|
-
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1143
|
-
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
1144
|
-
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
1145
|
-
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
1146
|
-
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1147
|
-
}>;
|
|
1148
1148
|
} & import("easy-tsnameof").PathHandlers<{
|
|
1149
1149
|
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1150
1150
|
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
@@ -1437,6 +1437,13 @@ export declare class DeliveryBoxAddress extends AbstractAddress implements IDeli
|
|
|
1437
1437
|
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
1438
1438
|
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1439
1439
|
}>;
|
|
1440
|
+
toJSON: import("easy-tsnameof").PathHandlers<{
|
|
1441
|
+
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1442
|
+
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
1443
|
+
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
1444
|
+
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
1445
|
+
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1446
|
+
}>;
|
|
1440
1447
|
recipient: import("easy-tsnameof").PathHandlers<{
|
|
1441
1448
|
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1442
1449
|
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
@@ -1693,13 +1700,6 @@ export declare class DeliveryBoxAddress extends AbstractAddress implements IDeli
|
|
|
1693
1700
|
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
1694
1701
|
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1695
1702
|
}>;
|
|
1696
|
-
toJSON: import("easy-tsnameof").PathHandlers<{
|
|
1697
|
-
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1698
|
-
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
1699
|
-
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
1700
|
-
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
1701
|
-
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1702
|
-
}>;
|
|
1703
1703
|
} & import("easy-tsnameof").PathHandlers<{
|
|
1704
1704
|
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1705
1705
|
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
@@ -1712,10 +1712,11 @@ export declare class DeliveryBoxAddress extends AbstractAddress implements IDeli
|
|
|
1712
1712
|
zipCode: ZipCode;
|
|
1713
1713
|
city: City;
|
|
1714
1714
|
country: Country;
|
|
1715
|
-
phoneNumber?:
|
|
1715
|
+
phoneNumber?: PhoneNumber;
|
|
1716
1716
|
state?: State;
|
|
1717
1717
|
static get valueHints(): ValueHints;
|
|
1718
1718
|
static get renderHints(): RenderHints;
|
|
1719
|
-
static from(value: IDeliveryBoxAddress | DeliveryBoxAddressJSON): DeliveryBoxAddress;
|
|
1719
|
+
static from(value: IDeliveryBoxAddress | Omit<DeliveryBoxAddressJSON, "@type">): DeliveryBoxAddress;
|
|
1720
1720
|
toString(): string;
|
|
1721
|
+
toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): DeliveryBoxAddressJSON;
|
|
1721
1722
|
}
|
|
@@ -33,7 +33,7 @@ let DeliveryBoxAddress = class DeliveryBoxAddress extends AbstractAddress_1.Abst
|
|
|
33
33
|
[this.propertyNames.zipCode.$path]: ZipCode_1.ZipCode.valueHints,
|
|
34
34
|
[this.propertyNames.city.$path]: City_1.City.valueHints,
|
|
35
35
|
[this.propertyNames.country.$path]: Country_1.Country.valueHints,
|
|
36
|
-
[this.propertyNames.phoneNumber.$path]: communication_1.
|
|
36
|
+
[this.propertyNames.phoneNumber.$path]: communication_1.PhoneNumber.valueHints,
|
|
37
37
|
[this.propertyNames.state.$path]: State_1.State.valueHints
|
|
38
38
|
}
|
|
39
39
|
});
|
|
@@ -52,7 +52,7 @@ let DeliveryBoxAddress = class DeliveryBoxAddress extends AbstractAddress_1.Abst
|
|
|
52
52
|
[this.propertyNames.zipCode.$path]: ZipCode_1.ZipCode.renderHints,
|
|
53
53
|
[this.propertyNames.city.$path]: City_1.City.renderHints,
|
|
54
54
|
[this.propertyNames.country.$path]: Country_1.Country.renderHints,
|
|
55
|
-
[this.propertyNames.phoneNumber.$path]: communication_1.
|
|
55
|
+
[this.propertyNames.phoneNumber.$path]: communication_1.PhoneNumber.renderHints,
|
|
56
56
|
[this.propertyNames.state.$path]: State_1.State.renderHints
|
|
57
57
|
}
|
|
58
58
|
});
|
|
@@ -76,6 +76,9 @@ let DeliveryBoxAddress = class DeliveryBoxAddress extends AbstractAddress_1.Abst
|
|
|
76
76
|
value.push(countryName ? countryName : this.country.toString());
|
|
77
77
|
return value.join("\n");
|
|
78
78
|
}
|
|
79
|
+
toJSON(verbose, serializeAsString) {
|
|
80
|
+
return super.toJSON(verbose, serializeAsString);
|
|
81
|
+
}
|
|
79
82
|
};
|
|
80
83
|
DeliveryBoxAddress.propertyNames = (0, easy_tsnameof_1.default)();
|
|
81
84
|
__decorate([
|
|
@@ -106,7 +109,7 @@ __decorate([
|
|
|
106
109
|
__decorate([
|
|
107
110
|
(0, ts_serval_1.serialize)({ customGenerator: AbstractAttributeValue_1.AbstractAttributeValue.valueGenerator }),
|
|
108
111
|
(0, ts_serval_1.validate)({ nullable: true }),
|
|
109
|
-
__metadata("design:type", communication_1.
|
|
112
|
+
__metadata("design:type", communication_1.PhoneNumber)
|
|
110
113
|
], DeliveryBoxAddress.prototype, "phoneNumber", void 0);
|
|
111
114
|
__decorate([
|
|
112
115
|
(0, ts_serval_1.serialize)({ customGenerator: AbstractAttributeValue_1.AbstractAttributeValue.valueGenerator }),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeliveryBoxAddress.js","sourceRoot":"","sources":["../../../../src/attributes/types/address/DeliveryBoxAddress.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,kDAA8D;AAC9D,kEAAkC;AAClC,yEAAqE;AACrE,+CAAkE;AAClE,uCAAoG;
|
|
1
|
+
{"version":3,"file":"DeliveryBoxAddress.js","sourceRoot":"","sources":["../../../../src/attributes/types/address/DeliveryBoxAddress.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,kDAA8D;AAC9D,kEAAkC;AAClC,yEAAqE;AACrE,+CAAkE;AAClE,uCAAoG;AACpG,oDAA4D;AAC5D,uDAA0F;AAC1F,iCAAoC;AACpC,uCAA6C;AAC7C,mCAAuC;AACvC,uCAA6C;AAwBtC,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,iCAAe;IA+B5C,MAAM,KAAc,UAAU;QACjC,OAAO,kBAAU,CAAC,IAAI,CAAC;YACnB,aAAa,EAAE;gBACX,CAAC,IAAI,CAAC,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,kBAAU,CAAC,IAAI,CAAC,EAAE,CAAC;gBACtD,CAAC,IAAI,CAAC,aAAa,CAAC,aAAa,CAAC,KAAK,CAAC,EAAE,kBAAU,CAAC,IAAI,CAAC,EAAE,CAAC;gBAC7D,CAAC,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,KAA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,CAAC;;AA3F+B,gCAAa,GAAG,IAAA,uBAAM,GAA6B,CAAA;AAEnF;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;kDACU;AAErB;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;yDACiB;AAE5B;IAAC,IAAA,qBAAS,EAAC,EAAE,eAAe,EAAE,+CAAsB,CAAC,cAAc,EAAE,CAAC;IACrE,IAAA,oBAAQ,GAAE;8BACK,iBAAO;mDAAA;AAEvB;IAAC,IAAA,qBAAS,EAAC,EAAE,eAAe,EAAE,+CAAsB,CAAC,cAAc,EAAE,CAAC;IACrE,IAAA,oBAAQ,GAAE;8BACE,WAAI;gDAAA;AAEjB;IAAC,IAAA,qBAAS,EAAC,EAAE,eAAe,EAAE,+CAAsB,CAAC,cAAc,EAAE,CAAC;IACrE,IAAA,oBAAQ,GAAE;8BACK,iBAAO;mDAAA;AAEvB;IAAC,IAAA,qBAAS,EAAC,EAAE,eAAe,EAAE,+CAAsB,CAAC,cAAc,EAAE,CAAC;IACrE,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACR,2BAAW;uDAAA;AAEhC;IAAC,IAAA,qBAAS,EAAC,EAAE,eAAe,EAAE,+CAAsB,CAAC,cAAc,EAAE,CAAC;IACrE,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACd,aAAK;iDAAA;AA7BX,kBAAkB;IAD9B,IAAA,gBAAI,EAAC,oBAAoB,CAAC;GACd,kBAAkB,CA6F9B;AA7FY,gDAAkB"}
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
-
import { AbstractString } from "../AbstractString";
|
|
2
|
-
export
|
|
1
|
+
import { AbstractString, AbstractStringJSON, IAbstractString } from "../AbstractString";
|
|
2
|
+
export interface HouseNumberJSON extends AbstractStringJSON {
|
|
3
|
+
"@type": "HouseNumber";
|
|
4
|
+
}
|
|
5
|
+
export interface IHouseNumber extends IAbstractString {
|
|
6
|
+
}
|
|
7
|
+
export declare class HouseNumber extends AbstractString implements IHouseNumber {
|
|
8
|
+
static from(value: IHouseNumber | Omit<HouseNumberJSON, "@type"> | string): HouseNumber;
|
|
9
|
+
toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): HouseNumberJSON;
|
|
3
10
|
}
|
|
@@ -10,6 +10,12 @@ exports.HouseNumber = void 0;
|
|
|
10
10
|
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
11
11
|
const AbstractString_1 = require("../AbstractString");
|
|
12
12
|
let HouseNumber = class HouseNumber extends AbstractString_1.AbstractString {
|
|
13
|
+
static from(value) {
|
|
14
|
+
return this.fromAny(value);
|
|
15
|
+
}
|
|
16
|
+
toJSON(verbose, serializeAsString) {
|
|
17
|
+
return super.toJSON(verbose, serializeAsString);
|
|
18
|
+
}
|
|
13
19
|
};
|
|
14
20
|
HouseNumber = __decorate([
|
|
15
21
|
(0, ts_serval_1.type)("HouseNumber")
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HouseNumber.js","sourceRoot":"","sources":["../../../../src/attributes/types/address/HouseNumber.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,
|
|
1
|
+
{"version":3,"file":"HouseNumber.js","sourceRoot":"","sources":["../../../../src/attributes/types/address/HouseNumber.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,sDAAuF;AAShF,IAAM,WAAW,GAAjB,MAAM,WAAY,SAAQ,+BAAc;IACpC,MAAM,CAAC,IAAI,CAAC,KAA6D;QAC5E,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEe,MAAM,CAAC,OAA6B,EAAE,iBAAuC;QACzF,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,iBAAiB,CAAoB,CAAA;IACtE,CAAC;CACJ,CAAA;AARY,WAAW;IADvB,IAAA,gBAAI,EAAC,aAAa,CAAC;GACP,WAAW,CAQvB;AARY,kCAAW"}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { RenderHints, ValueHints } from "../../hints";
|
|
2
|
-
import { AbstractStringJSON, IAbstractString } from "../AbstractString";
|
|
3
2
|
import { AbstractAddress, AbstractAddressJSON, IAbstractAddress } from "./AbstractAddress";
|
|
4
|
-
import { City } from "./City";
|
|
5
|
-
import { Country } from "./Country";
|
|
6
|
-
import { State } from "./State";
|
|
7
|
-
import { ZipCode } from "./ZipCode";
|
|
3
|
+
import { City, ICity } from "./City";
|
|
4
|
+
import { Country, ICountry } from "./Country";
|
|
5
|
+
import { IState, State } from "./State";
|
|
6
|
+
import { IZipCode, ZipCode } from "./ZipCode";
|
|
8
7
|
export interface PostOfficeBoxAddressJSON extends AbstractAddressJSON {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
8
|
+
"@type": "PostOfficeBoxAddress";
|
|
9
|
+
boxId: string;
|
|
10
|
+
zipCode: string;
|
|
11
|
+
city: string;
|
|
12
|
+
country: string;
|
|
13
|
+
state?: string;
|
|
14
14
|
}
|
|
15
15
|
export interface IPostOfficeBoxAddress extends IAbstractAddress {
|
|
16
16
|
boxId: string;
|
|
17
|
-
zipCode:
|
|
18
|
-
city:
|
|
19
|
-
country:
|
|
20
|
-
state?:
|
|
17
|
+
zipCode: IZipCode | string;
|
|
18
|
+
city: ICity | string;
|
|
19
|
+
country: ICountry | string;
|
|
20
|
+
state?: IState | string;
|
|
21
21
|
}
|
|
22
22
|
export declare class PostOfficeBoxAddress extends AbstractAddress implements IPostOfficeBoxAddress {
|
|
23
23
|
static readonly propertyNames: {
|
|
@@ -29,6 +29,13 @@ export declare class PostOfficeBoxAddress extends AbstractAddress implements IPo
|
|
|
29
29
|
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
30
30
|
}>;
|
|
31
31
|
zipCode: {
|
|
32
|
+
toJSON: import("easy-tsnameof").PathHandlers<{
|
|
33
|
+
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
34
|
+
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
35
|
+
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
36
|
+
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
37
|
+
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
38
|
+
}>;
|
|
32
39
|
value: import("easy-tsnameof").PathHandlers<{
|
|
33
40
|
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
34
41
|
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
@@ -292,13 +299,6 @@ export declare class PostOfficeBoxAddress extends AbstractAddress implements IPo
|
|
|
292
299
|
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
293
300
|
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
294
301
|
}>;
|
|
295
|
-
toJSON: import("easy-tsnameof").PathHandlers<{
|
|
296
|
-
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
297
|
-
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
298
|
-
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
299
|
-
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
300
|
-
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
301
|
-
}>;
|
|
302
302
|
} & import("easy-tsnameof").PathHandlers<{
|
|
303
303
|
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
304
304
|
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
@@ -1147,6 +1147,13 @@ export declare class PostOfficeBoxAddress extends AbstractAddress implements IPo
|
|
|
1147
1147
|
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
1148
1148
|
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1149
1149
|
}>;
|
|
1150
|
+
toJSON: import("easy-tsnameof").PathHandlers<{
|
|
1151
|
+
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1152
|
+
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
1153
|
+
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
1154
|
+
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
1155
|
+
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1156
|
+
}>;
|
|
1150
1157
|
recipient: import("easy-tsnameof").PathHandlers<{
|
|
1151
1158
|
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1152
1159
|
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
@@ -1403,13 +1410,6 @@ export declare class PostOfficeBoxAddress extends AbstractAddress implements IPo
|
|
|
1403
1410
|
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
1404
1411
|
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1405
1412
|
}>;
|
|
1406
|
-
toJSON: import("easy-tsnameof").PathHandlers<{
|
|
1407
|
-
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1408
|
-
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
1409
|
-
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
1410
|
-
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
1411
|
-
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1412
|
-
}>;
|
|
1413
1413
|
} & import("easy-tsnameof").PathHandlers<{
|
|
1414
1414
|
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1415
1415
|
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
@@ -1424,6 +1424,7 @@ export declare class PostOfficeBoxAddress extends AbstractAddress implements IPo
|
|
|
1424
1424
|
state?: State;
|
|
1425
1425
|
static get valueHints(): ValueHints;
|
|
1426
1426
|
static get renderHints(): RenderHints;
|
|
1427
|
-
static from(value: IPostOfficeBoxAddress | PostOfficeBoxAddressJSON): PostOfficeBoxAddress;
|
|
1427
|
+
static from(value: IPostOfficeBoxAddress | Omit<PostOfficeBoxAddressJSON, "@type">): PostOfficeBoxAddress;
|
|
1428
1428
|
toString(): string;
|
|
1429
|
+
toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): PostOfficeBoxAddressJSON;
|
|
1429
1430
|
}
|
|
@@ -64,6 +64,9 @@ let PostOfficeBoxAddress = class PostOfficeBoxAddress extends AbstractAddress_1.
|
|
|
64
64
|
value.push(countryName ? countryName : this.country.toString());
|
|
65
65
|
return value.join("\n");
|
|
66
66
|
}
|
|
67
|
+
toJSON(verbose, serializeAsString) {
|
|
68
|
+
return super.toJSON(verbose, serializeAsString);
|
|
69
|
+
}
|
|
67
70
|
};
|
|
68
71
|
PostOfficeBoxAddress.propertyNames = (0, easy_tsnameof_1.default)();
|
|
69
72
|
__decorate([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PostOfficeBoxAddress.js","sourceRoot":"","sources":["../../../../src/attributes/types/address/PostOfficeBoxAddress.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,kDAA8D;AAC9D,kEAAkC;AAClC,yEAAqE;AACrE,+CAAkE;AAClE,uCAAoG;
|
|
1
|
+
{"version":3,"file":"PostOfficeBoxAddress.js","sourceRoot":"","sources":["../../../../src/attributes/types/address/PostOfficeBoxAddress.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,kDAA8D;AAC9D,kEAAkC;AAClC,yEAAqE;AACrE,+CAAkE;AAClE,uCAAoG;AACpG,uDAA0F;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,CAAC;IACrE,IAAA,oBAAQ,GAAE;8BACK,iBAAO;qDAAA;AAEvB;IAAC,IAAA,qBAAS,EAAC,EAAE,eAAe,EAAE,+CAAsB,CAAC,cAAc,EAAE,CAAC;IACrE,IAAA,oBAAQ,GAAE;8BACE,WAAI;kDAAA;AAEjB;IAAC,IAAA,qBAAS,EAAC,EAAE,eAAe,EAAE,+CAAsB,CAAC,cAAc,EAAE,CAAC;IACrE,IAAA,oBAAQ,GAAE;8BACK,iBAAO;qDAAA;AAEvB;IAAC,IAAA,qBAAS,EAAC,EAAE,eAAe,EAAE,+CAAsB,CAAC,cAAc,EAAE,CAAC;IACrE,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACd,aAAK;mDAAA;AArBX,oBAAoB;IADhC,IAAA,gBAAI,EAAC,sBAAsB,CAAC;GAChB,oBAAoB,CA0EhC;AA1EY,oDAAoB"}
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
-
import { AbstractString } from "../AbstractString";
|
|
2
|
-
export
|
|
1
|
+
import { AbstractString, AbstractStringJSON, IAbstractString } from "../AbstractString";
|
|
2
|
+
export interface StateJSON extends AbstractStringJSON {
|
|
3
|
+
"@type": "State";
|
|
4
|
+
}
|
|
5
|
+
export interface IState extends IAbstractString {
|
|
6
|
+
}
|
|
7
|
+
export declare class State extends AbstractString implements IState {
|
|
8
|
+
static from(value: IState | Omit<StateJSON, "@type"> | string): State;
|
|
3
9
|
}
|
|
@@ -10,6 +10,9 @@ exports.State = void 0;
|
|
|
10
10
|
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
11
11
|
const AbstractString_1 = require("../AbstractString");
|
|
12
12
|
let State = class State extends AbstractString_1.AbstractString {
|
|
13
|
+
static from(value) {
|
|
14
|
+
return this.fromAny(value);
|
|
15
|
+
}
|
|
13
16
|
};
|
|
14
17
|
State = __decorate([
|
|
15
18
|
(0, ts_serval_1.type)("State")
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"State.js","sourceRoot":"","sources":["../../../../src/attributes/types/address/State.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,
|
|
1
|
+
{"version":3,"file":"State.js","sourceRoot":"","sources":["../../../../src/attributes/types/address/State.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,sDAAuF;AAShF,IAAM,KAAK,GAAX,MAAM,KAAM,SAAQ,+BAAc;IAC9B,MAAM,CAAC,IAAI,CAAC,KAAiD;QAChE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAA;AAJY,KAAK;IADjB,IAAA,gBAAI,EAAC,OAAO,CAAC;GACD,KAAK,CAIjB;AAJY,sBAAK"}
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
-
import { AbstractString } from "../AbstractString";
|
|
2
|
-
export
|
|
1
|
+
import { AbstractString, AbstractStringJSON, IAbstractString } from "../AbstractString";
|
|
2
|
+
export interface StreetJSON extends AbstractStringJSON {
|
|
3
|
+
"@type": "Street";
|
|
4
|
+
}
|
|
5
|
+
export interface IStreet extends IAbstractString {
|
|
6
|
+
}
|
|
7
|
+
export declare class Street extends AbstractString implements IStreet {
|
|
8
|
+
static from(value: IStreet | Omit<StreetJSON, "@type"> | string): Street;
|
|
9
|
+
toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): StreetJSON;
|
|
3
10
|
}
|
|
@@ -10,6 +10,12 @@ exports.Street = void 0;
|
|
|
10
10
|
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
11
11
|
const AbstractString_1 = require("../AbstractString");
|
|
12
12
|
let Street = class Street extends AbstractString_1.AbstractString {
|
|
13
|
+
static from(value) {
|
|
14
|
+
return this.fromAny(value);
|
|
15
|
+
}
|
|
16
|
+
toJSON(verbose, serializeAsString) {
|
|
17
|
+
return super.toJSON(verbose, serializeAsString);
|
|
18
|
+
}
|
|
13
19
|
};
|
|
14
20
|
Street = __decorate([
|
|
15
21
|
(0, ts_serval_1.type)("Street")
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Street.js","sourceRoot":"","sources":["../../../../src/attributes/types/address/Street.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,
|
|
1
|
+
{"version":3,"file":"Street.js","sourceRoot":"","sources":["../../../../src/attributes/types/address/Street.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,sDAAuF;AAShF,IAAM,MAAM,GAAZ,MAAM,MAAO,SAAQ,+BAAc;IAC/B,MAAM,CAAC,IAAI,CAAC,KAAmD;QAClE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEe,MAAM,CAAC,OAA6B,EAAE,iBAAuC;QACzF,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,iBAAiB,CAAe,CAAA;IACjE,CAAC;CACJ,CAAA;AARY,MAAM;IADlB,IAAA,gBAAI,EAAC,QAAQ,CAAC;GACF,MAAM,CAQlB;AARY,wBAAM"}
|