@nmshd/content 2.0.0-beta.33 → 2.0.0-beta.35
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/AttributeValueTypes.d.ts +8 -8
- package/dist/attributes/AttributeValueTypes.js +4 -4
- package/dist/attributes/AttributeValueTypes.js.map +1 -1
- package/dist/attributes/IdentityAttribute.d.ts +1 -1
- package/dist/attributes/IdentityAttribute.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/AbstractString.d.ts +1 -2
- package/dist/attributes/types/AbstractString.js.map +1 -1
- package/dist/attributes/types/address/City.d.ts +2 -2
- package/dist/attributes/types/address/City.js.map +1 -1
- package/dist/attributes/types/address/Country.d.ts +2 -2
- package/dist/attributes/types/address/DeliveryBoxAddress.d.ts +24 -24
- 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 +2 -2
- package/dist/attributes/types/address/HouseNumber.js.map +1 -1
- package/dist/attributes/types/address/PostOfficeBoxAddress.d.ts +22 -21
- 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 +2 -2
- package/dist/attributes/types/address/State.js.map +1 -1
- package/dist/attributes/types/address/Street.d.ts +2 -2
- package/dist/attributes/types/address/Street.js.map +1 -1
- package/dist/attributes/types/address/StreetAddress.d.ts +26 -26
- 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 +2 -2
- package/dist/attributes/types/address/ZipCode.js.map +1 -1
- package/dist/attributes/types/affiliation/Affiliation.d.ts +17 -16
- package/dist/attributes/types/affiliation/Affiliation.js +3 -0
- package/dist/attributes/types/affiliation/Affiliation.js.map +1 -1
- package/dist/attributes/types/affiliation/AffiliationOrganization.d.ts +2 -2
- package/dist/attributes/types/affiliation/AffiliationOrganization.js.map +1 -1
- package/dist/attributes/types/affiliation/AffiliationRole.d.ts +2 -2
- package/dist/attributes/types/affiliation/AffiliationRole.js.map +1 -1
- package/dist/attributes/types/affiliation/AffiliationUnit.d.ts +2 -2
- package/dist/attributes/types/affiliation/AffiliationUnit.js.map +1 -1
- package/dist/attributes/types/birth/BirthDate.d.ts +8 -7
- package/dist/attributes/types/birth/BirthDate.js +3 -0
- package/dist/attributes/types/birth/BirthDate.js.map +1 -1
- package/dist/attributes/types/birth/BirthPlace.d.ts +17 -17
- package/dist/attributes/types/birth/BirthPlace.js +3 -0
- package/dist/attributes/types/birth/BirthPlace.js.map +1 -1
- package/dist/attributes/types/communication/CommunicationLanguage.d.ts +2 -2
- package/dist/attributes/types/communication/EMailAddress.d.ts +2 -2
- package/dist/attributes/types/communication/FaxNumber.d.ts +11 -0
- package/dist/attributes/types/communication/{Phone.js → FaxNumber.js} +7 -7
- 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/{Fax.js → PhoneNumber.js} +7 -7
- package/dist/attributes/types/communication/PhoneNumber.js.map +1 -0
- package/dist/attributes/types/communication/Website.d.ts +2 -2
- 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/identity/DisplayName.d.ts +2 -2
- package/dist/attributes/types/identity/DisplayName.js.map +1 -1
- package/dist/attributes/types/identity/FileReference.d.ts +2 -2
- package/dist/attributes/types/name/BirthName.d.ts +2 -2
- package/dist/attributes/types/name/BirthName.js.map +1 -1
- package/dist/attributes/types/name/GivenName.d.ts +2 -2
- package/dist/attributes/types/name/GivenName.js.map +1 -1
- package/dist/attributes/types/name/HonorificPrefix.d.ts +2 -2
- package/dist/attributes/types/name/HonorificPrefix.js.map +1 -1
- package/dist/attributes/types/name/HonorificSuffix.d.ts +2 -2
- package/dist/attributes/types/name/HonorificSuffix.js.map +1 -1
- package/dist/attributes/types/name/MiddleName.d.ts +2 -2
- package/dist/attributes/types/name/MiddleName.js.map +1 -1
- package/dist/attributes/types/name/PersonName.d.ts +23 -23
- package/dist/attributes/types/name/PersonName.js +3 -0
- package/dist/attributes/types/name/PersonName.js.map +1 -1
- package/dist/attributes/types/name/Pseudonym.d.ts +2 -2
- package/dist/attributes/types/name/Pseudonym.js.map +1 -1
- package/dist/attributes/types/name/Surname.d.ts +2 -2
- package/dist/attributes/types/name/Surname.js.map +1 -1
- package/dist/attributes/types/person/Citizenship.d.ts +2 -2
- package/dist/attributes/types/person/JobTitle.d.ts +2 -2
- package/dist/attributes/types/person/JobTitle.js.map +1 -1
- package/dist/attributes/types/person/Nationality.d.ts +2 -2
- package/dist/attributes/types/person/Sex.d.ts +2 -2
- package/dist/attributes/types/person/Sex.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryBoolean.d.ts +2 -2
- package/dist/attributes/types/proprietary/ProprietaryBoolean.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryCountry.d.ts +2 -2
- package/dist/attributes/types/proprietary/ProprietaryEMailAddress.d.ts +2 -2
- package/dist/attributes/types/proprietary/ProprietaryFileReference.d.ts +2 -2
- package/dist/attributes/types/proprietary/ProprietaryFloat.d.ts +2 -2
- package/dist/attributes/types/proprietary/ProprietaryFloat.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryHEXColor.d.ts +2 -2
- package/dist/attributes/types/proprietary/ProprietaryLanguage.d.ts +2 -2
- package/dist/attributes/types/proprietary/ProprietaryPhoneNumber.d.ts +2 -2
- package/dist/attributes/types/proprietary/ProprietaryString.d.ts +2 -2
- package/dist/attributes/types/proprietary/ProprietaryString.js.map +1 -1
- package/dist/attributes/types/proprietary/ProprietaryURL.d.ts +2 -2
- package/dist/buildInformation.js +4 -4
- package/lib-web/nmshd.content.js +56 -35
- package/lib-web/nmshd.content.min.js +1 -1
- package/package.json +1 -1
- package/dist/attributes/types/communication/Fax.d.ts +0 -11
- package/dist/attributes/types/communication/Fax.js.map +0 -1
- package/dist/attributes/types/communication/Phone.d.ts +0 -11
- package/dist/attributes/types/communication/Phone.js.map +0 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Affiliation, AffiliationJSON, AffiliationOrganization, AffiliationOrganizationJSON, AffiliationRole, AffiliationRoleJSON, AffiliationUnit, AffiliationUnitJSON, BirthCity, BirthCityJSON, BirthCountry, BirthCountryJSON, BirthDate, BirthDateJSON, BirthDay, BirthDayJSON, BirthMonth, BirthMonthJSON, BirthName, BirthNameJSON, BirthPlace, BirthPlaceJSON, BirthState, BirthStateJSON, BirthYear, BirthYearJSON, Citizenship, CitizenshipJSON, City, CityJSON, CommunicationLanguage, CommunicationLanguageJSON, Country, CountryJSON, DeliveryBoxAddress, DeliveryBoxAddressJSON, DisplayName, DisplayNameJSON, EMailAddress, EMailAddressJSON,
|
|
1
|
+
import { Affiliation, AffiliationJSON, AffiliationOrganization, AffiliationOrganizationJSON, AffiliationRole, AffiliationRoleJSON, AffiliationUnit, AffiliationUnitJSON, BirthCity, BirthCityJSON, BirthCountry, BirthCountryJSON, BirthDate, BirthDateJSON, BirthDay, BirthDayJSON, BirthMonth, BirthMonthJSON, BirthName, BirthNameJSON, BirthPlace, BirthPlaceJSON, BirthState, BirthStateJSON, BirthYear, BirthYearJSON, Citizenship, CitizenshipJSON, City, CityJSON, CommunicationLanguage, CommunicationLanguageJSON, Country, CountryJSON, DeliveryBoxAddress, DeliveryBoxAddressJSON, DisplayName, DisplayNameJSON, EMailAddress, EMailAddressJSON, FaxNumber, FaxNumberJSON, FileReference, FileReferenceJSON, GivenName, GivenNameJSON, HonorificPrefix, HonorificPrefixJSON, HonorificSuffix, HonorificSuffixJSON, HouseNumber, HouseNumberJSON, IAffiliation, IAffiliationOrganization, IAffiliationRole, IAffiliationUnit, IBirthCity, IBirthCountry, IBirthDate, IBirthDay, IBirthMonth, IBirthName, IBirthPlace, IBirthState, IBirthYear, ICitizenship, ICity, ICommunicationLanguage, ICountry, IDeliveryBoxAddress, IDisplayName, IEMailAddress, IFaxNumber, IFileReference, IGivenName, IHonorificPrefix, IHonorificSuffix, IHouseNumber, IJobTitle, IMiddleName, INationality, IPersonName, IPhoneNumber, IPostOfficeBoxAddress, IProprietaryBoolean, IProprietaryCountry, IProprietaryEMailAddress, IProprietaryFileReference, IProprietaryFloat, IProprietaryHEXColor, IProprietaryInteger, IProprietaryLanguage, IProprietaryPhoneNumber, IProprietaryString, IProprietaryURL, IPseudonym, ISex, IState, IStreet, IStreetAddress, ISurname, IWebsite, IZipCode, JobTitle, JobTitleJSON, MiddleName, MiddleNameJSON, Nationality, NationalityJSON, PersonName, PersonNameJSON, PhoneNumber, PhoneNumberJSON, PostOfficeBoxAddress, PostOfficeBoxAddressJSON, ProprietaryBoolean, ProprietaryBooleanJSON, ProprietaryCountry, ProprietaryCountryJSON, ProprietaryEMailAddress, ProprietaryEMailAddressJSON, ProprietaryFileReference, ProprietaryFileReferenceJSON, ProprietaryFloat, ProprietaryFloatJSON, ProprietaryHEXColor, ProprietaryHEXColorJSON, ProprietaryInteger, ProprietaryIntegerJSON, ProprietaryLanguage, ProprietaryLanguageJSON, ProprietaryPhoneNumber, ProprietaryPhoneNumberJSON, ProprietaryString, ProprietaryStringJSON, ProprietaryURL, ProprietaryURLJSON, Pseudonym, PseudonymJSON, Sex, SexJSON, State, StateJSON, Street, StreetAddress, StreetAddressJSON, StreetJSON, Surname, SurnameJSON, Website, WebsiteJSON, ZipCode, ZipCodeJSON } from "./types";
|
|
2
2
|
export declare module AttributeValues {
|
|
3
3
|
module Identity {
|
|
4
4
|
module Editable {
|
|
5
|
-
type Json = AffiliationJSON | BirthDateJSON | BirthNameJSON | BirthPlaceJSON | CitizenshipJSON | CommunicationLanguageJSON | DeliveryBoxAddressJSON | DisplayNameJSON | EMailAddressJSON |
|
|
6
|
-
type Interface = IAffiliation | IBirthDate | IBirthName | IBirthPlace | ICitizenship | ICommunicationLanguage | IDeliveryBoxAddress | IDisplayName | IEMailAddress |
|
|
7
|
-
type Class = Affiliation | BirthDate | BirthName | BirthPlace | Citizenship | CommunicationLanguage | DeliveryBoxAddress | DisplayName | EMailAddress |
|
|
8
|
-
const CLASSES: (typeof CommunicationLanguage | typeof EMailAddress | typeof
|
|
9
|
-
const TYPE_NAMES: readonly ["Affiliation", "BirthDate", "BirthName", "BirthPlace", "Citizenship", "CommunicationLanguage", "DeliveryBoxAddress", "DisplayName", "EMailAddress", "
|
|
5
|
+
type Json = AffiliationJSON | BirthDateJSON | BirthNameJSON | BirthPlaceJSON | CitizenshipJSON | CommunicationLanguageJSON | DeliveryBoxAddressJSON | DisplayNameJSON | EMailAddressJSON | FaxNumberJSON | FileReferenceJSON | JobTitleJSON | NationalityJSON | PersonNameJSON | PhoneNumberJSON | PostOfficeBoxAddressJSON | PseudonymJSON | SexJSON | StreetAddressJSON | WebsiteJSON;
|
|
6
|
+
type Interface = IAffiliation | IBirthDate | IBirthName | IBirthPlace | ICitizenship | ICommunicationLanguage | IDeliveryBoxAddress | IDisplayName | IEMailAddress | IFaxNumber | IFileReference | IJobTitle | INationality | IPersonName | IPhoneNumber | IPostOfficeBoxAddress | IPseudonym | ISex | IStreetAddress | IWebsite;
|
|
7
|
+
type Class = Affiliation | BirthDate | BirthName | BirthPlace | Citizenship | CommunicationLanguage | DeliveryBoxAddress | DisplayName | EMailAddress | FaxNumber | FileReference | JobTitle | Nationality | PersonName | PhoneNumber | PostOfficeBoxAddress | Pseudonym | Sex | StreetAddress | Website;
|
|
8
|
+
const CLASSES: (typeof CommunicationLanguage | typeof EMailAddress | typeof FaxNumber | typeof PhoneNumber | typeof Website | typeof DeliveryBoxAddress | typeof PostOfficeBoxAddress | typeof StreetAddress | typeof Affiliation | typeof BirthDate | typeof BirthPlace | typeof DisplayName | typeof FileReference | typeof BirthName | typeof PersonName | typeof Pseudonym | typeof Citizenship | typeof JobTitle | typeof Nationality | typeof Sex)[];
|
|
9
|
+
const TYPE_NAMES: readonly ["Affiliation", "BirthDate", "BirthName", "BirthPlace", "Citizenship", "CommunicationLanguage", "DeliveryBoxAddress", "DisplayName", "EMailAddress", "FaxNumber", "FileReference", "JobTitle", "Nationality", "PersonName", "PhoneNumber", "PostOfficeBoxAddress", "Pseudonym", "Sex", "StreetAddress", "Website"];
|
|
10
10
|
const TYPE_NAMES_STRINGIFIED: string;
|
|
11
11
|
type TypeName = typeof TYPE_NAMES[number];
|
|
12
12
|
}
|
|
@@ -24,7 +24,7 @@ export declare module AttributeValues {
|
|
|
24
24
|
type Class = Editable.Class | Uneditable.Class;
|
|
25
25
|
const CLASSES: (typeof City | typeof DeliveryBoxAddress | typeof PostOfficeBoxAddress | typeof StreetAddress | typeof Affiliation | typeof BirthDay | typeof BirthMonth | typeof BirthYear | typeof BirthDate | typeof BirthPlace | typeof PersonName)[];
|
|
26
26
|
type TypeName = Editable.TypeName | Uneditable.TypeName;
|
|
27
|
-
const TYPE_NAMES: ("City" | "Country" | "StreetAddress" | "DeliveryBoxAddress" | "PostOfficeBoxAddress" | "CommunicationLanguage" | "EMailAddress" | "
|
|
27
|
+
const TYPE_NAMES: ("City" | "Country" | "StreetAddress" | "DeliveryBoxAddress" | "PostOfficeBoxAddress" | "CommunicationLanguage" | "EMailAddress" | "FaxNumber" | "PhoneNumber" | "Website" | "State" | "ZipCode" | "HouseNumber" | "Street" | "AffiliationOrganization" | "AffiliationRole" | "AffiliationUnit" | "Affiliation" | "BirthCity" | "BirthCountry" | "BirthDay" | "BirthMonth" | "BirthYear" | "BirthDate" | "BirthState" | "BirthPlace" | "DisplayName" | "FileReference" | "BirthName" | "GivenName" | "HonorificPrefix" | "HonorificSuffix" | "MiddleName" | "Surname" | "PersonName" | "Pseudonym" | "Citizenship" | "JobTitle" | "Nationality" | "Sex")[];
|
|
28
28
|
const TYPE_NAMES_STRINGIFIED: string;
|
|
29
29
|
}
|
|
30
30
|
module Relationship {
|
|
@@ -41,6 +41,6 @@ export declare module AttributeValues {
|
|
|
41
41
|
type Class = Identity.Class | Relationship.Class;
|
|
42
42
|
const CLASSES: (typeof City | typeof DeliveryBoxAddress | typeof PostOfficeBoxAddress | typeof StreetAddress | typeof Affiliation | typeof BirthDay | typeof BirthMonth | typeof BirthYear | typeof BirthDate | typeof BirthPlace | typeof PersonName | typeof ProprietaryBoolean | typeof ProprietaryFloat | typeof ProprietaryInteger)[];
|
|
43
43
|
type TypeName = Identity.TypeName | Relationship.TypeName;
|
|
44
|
-
const TYPE_NAMES: ("City" | "Country" | "StreetAddress" | "DeliveryBoxAddress" | "PostOfficeBoxAddress" | "CommunicationLanguage" | "EMailAddress" | "
|
|
44
|
+
const TYPE_NAMES: ("City" | "Country" | "StreetAddress" | "DeliveryBoxAddress" | "PostOfficeBoxAddress" | "CommunicationLanguage" | "EMailAddress" | "FaxNumber" | "PhoneNumber" | "Website" | "State" | "ZipCode" | "HouseNumber" | "Street" | "AffiliationOrganization" | "AffiliationRole" | "AffiliationUnit" | "Affiliation" | "BirthCity" | "BirthCountry" | "BirthDay" | "BirthMonth" | "BirthYear" | "BirthDate" | "BirthState" | "BirthPlace" | "DisplayName" | "FileReference" | "BirthName" | "GivenName" | "HonorificPrefix" | "HonorificSuffix" | "MiddleName" | "Surname" | "PersonName" | "Pseudonym" | "Citizenship" | "JobTitle" | "Nationality" | "Sex" | "ProprietaryBoolean" | "ProprietaryCountry" | "ProprietaryEMailAddress" | "ProprietaryFileReference" | "ProprietaryFloat" | "ProprietaryHEXColor" | "ProprietaryInteger" | "ProprietaryLanguage" | "ProprietaryPhoneNumber" | "ProprietaryString" | "ProprietaryURL")[];
|
|
45
45
|
const TYPE_NAMES_STRINGIFIED: string;
|
|
46
46
|
}
|
|
@@ -19,12 +19,12 @@ var AttributeValues;
|
|
|
19
19
|
types_1.DeliveryBoxAddress,
|
|
20
20
|
types_1.DisplayName,
|
|
21
21
|
types_1.EMailAddress,
|
|
22
|
-
types_1.
|
|
22
|
+
types_1.FaxNumber,
|
|
23
23
|
types_1.FileReference,
|
|
24
24
|
types_1.JobTitle,
|
|
25
25
|
types_1.Nationality,
|
|
26
26
|
types_1.PersonName,
|
|
27
|
-
types_1.
|
|
27
|
+
types_1.PhoneNumber,
|
|
28
28
|
types_1.PostOfficeBoxAddress,
|
|
29
29
|
types_1.Pseudonym,
|
|
30
30
|
types_1.Sex,
|
|
@@ -41,12 +41,12 @@ var AttributeValues;
|
|
|
41
41
|
"DeliveryBoxAddress",
|
|
42
42
|
"DisplayName",
|
|
43
43
|
"EMailAddress",
|
|
44
|
-
"
|
|
44
|
+
"FaxNumber",
|
|
45
45
|
"FileReference",
|
|
46
46
|
"JobTitle",
|
|
47
47
|
"Nationality",
|
|
48
48
|
"PersonName",
|
|
49
|
-
"
|
|
49
|
+
"PhoneNumber",
|
|
50
50
|
"PostOfficeBoxAddress",
|
|
51
51
|
"Pseudonym",
|
|
52
52
|
"Sex",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AttributeValueTypes.js","sourceRoot":"","sources":["../../src/attributes/AttributeValueTypes.ts"],"names":[],"mappings":";;;AAAA,mCA0JgB;AAEhB,+JAA+J;AAE/J,IAAc,eAAe,CAoU5B;AApUD,WAAc,eAAe;IACzB,IAAc,QAAQ,CAkPrB;IAlPD,WAAc,QAAQ;QAClB,IAAc,QAAQ,CAmHrB;QAnHD,WAAc,QAAQ;YAmEL,gBAAO,GAAG;gBACnB,mBAAW;gBACX,iBAAS;gBACT,iBAAS;gBACT,kBAAU;gBACV,mBAAW;gBACX,6BAAqB;gBACrB,0BAAkB;gBAClB,mBAAW;gBACX,oBAAY;gBACZ,
|
|
1
|
+
{"version":3,"file":"AttributeValueTypes.js","source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,mCAAsB,GAAG,IAAI,CAAC,SAAS,CAAC,aAAA,UAAU,CAAC,CAAA;IAEpE,CAAC,EAtEa,YAAY,GAAZ,4BAAY,KAAZ,4BAAY,QAsEzB;IAKY,uBAAO,GAAG,CAAC,GAAG,QAAQ,CAAC,OAAO,EAAE,GAAG,YAAY,CAAC,OAAO,CAAC,CAAA;IAExD,0BAAU,GAAG,CAAC,GAAG,QAAQ,CAAC,UAAU,EAAE,GAAG,YAAY,CAAC,UAAU,CAAC,CAAA;IACjE,sCAAsB,GAAG,IAAI,CAAC,SAAS,CAAC,gBAAA,UAAU,CAAC,CAAA;AACpE,CAAC,EApUa,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAoU5B"}
|
|
@@ -12,6 +12,6 @@ export interface IIdentityAttribute<TValueInterface extends AttributeValues.Iden
|
|
|
12
12
|
export declare class IdentityAttribute<TValueClass extends AttributeValues.Identity.Class = AttributeValues.Identity.Class> extends AbstractAttribute implements IIdentityAttribute<TValueClass> {
|
|
13
13
|
value: TValueClass;
|
|
14
14
|
tags?: string[];
|
|
15
|
-
static from<TValueClass extends AttributeValues.Identity.Class = AttributeValues.Identity.Class, TValueInterface extends AttributeValues.Identity.Interface = AttributeValues.Identity.Interface, TValueJSONInterface extends AttributeValues.Identity.Json = AttributeValues.Identity.Json>(value: IIdentityAttribute<TValueInterface> | IdentityAttributeJSON<TValueJSONInterface>): IdentityAttribute<TValueClass>;
|
|
15
|
+
static from<TValueClass extends AttributeValues.Identity.Class = AttributeValues.Identity.Class, TValueInterface extends AttributeValues.Identity.Interface = AttributeValues.Identity.Interface, TValueJSONInterface extends AttributeValues.Identity.Json = AttributeValues.Identity.Json>(value: IIdentityAttribute<TValueInterface> | Omit<IdentityAttributeJSON<TValueJSONInterface>, "@type">): IdentityAttribute<TValueClass>;
|
|
16
16
|
toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): IdentityAttributeJSON;
|
|
17
17
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IdentityAttribute.js","sourceRoot":"","sources":["../../src/attributes/IdentityAttribute.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,2DAAkG;AAClG,+DAAuD;AAkBhD,IAAM,iBAAiB,GAAvB,MAAM,iBACT,SAAQ,qCAAiB;IAWlB,MAAM,CAAC,IAAI,CAKd,
|
|
1
|
+
{"version":3,"file":"IdentityAttribute.js","sourceRoot":"","sources":["../../src/attributes/IdentityAttribute.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,2DAAkG;AAClG,+DAAuD;AAkBhD,IAAM,iBAAiB,GAAvB,MAAM,iBACT,SAAQ,qCAAiB;IAWlB,MAAM,CAAC,IAAI,CAKd,KAAsG;QAEtG,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAmC,CAAA;IAChE,CAAC;IAEe,MAAM,CAClB,OAA6B,EAC7B,iBAAuC;QAEvC,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,iBAAiB,CAA0B,CAAA;IAC5E,CAAC;CACJ,CAAA;AAxBG;IAAC,IAAA,qBAAS,EAAC,EAAE,UAAU,EAAE,qCAAe,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC;IAC3D,IAAA,oBAAQ,GAAE;;gDACc;AAEzB;IAAC,IAAA,qBAAS,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;IAC3B,IAAA,oBAAQ,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+CACP;AAVb,iBAAiB;IAD7B,IAAA,gBAAI,EAAC,mBAAmB,CAAC;GACb,iBAAiB,CA4B7B;AA5BY,8CAAiB"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { AbstractAttributeValue, AbstractAttributeValueJSON, IAbstractAttributeValue } from "../AbstractAttributeValue";
|
|
2
2
|
import { RenderHints, ValueHints } from "../hints";
|
|
3
|
-
export
|
|
4
|
-
export interface IAbstractBooleanJSON extends AbstractAttributeValueJSON {
|
|
3
|
+
export interface AbstractBooleanJSON extends AbstractAttributeValueJSON {
|
|
5
4
|
value: boolean;
|
|
6
5
|
}
|
|
7
6
|
export interface IAbstractBoolean extends IAbstractAttributeValue {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AbstractBoolean.js","sourceRoot":"","sources":["../../../src/attributes/types/AbstractBoolean.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAwD;AACxD,sEAAuH;AACvH,oCAAiG;
|
|
1
|
+
{"version":3,"file":"AbstractBoolean.js","sourceRoot":"","sources":["../../../src/attributes/types/AbstractBoolean.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAwD;AACxD,sEAAuH;AACvH,oCAAiG;AAUjG,MAAa,eAAgB,SAAQ,+CAAsB;IAKhD,MAAM,CAAU,OAAO,CAAC,KAAU;QACrC,IAAI,OAAO,KAAK,KAAK,SAAS;YAAE,KAAK,GAAG,EAAE,KAAK,EAAE,CAAA;QACjD,OAAO,KAAK,CAAA;IAChB,CAAC;IAEe,QAAQ;QACpB,OAAO,GAAG,IAAI,CAAC,KAAK,EAAE,CAAA;IAC1B,CAAC;IAEM,MAAM,KAAK,UAAU;QACxB,OAAO,kBAAU,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;IAC9B,CAAC;IAEM,MAAM,KAAK,WAAW;QACzB,OAAO,mBAAW,CAAC,IAAI,CAAC;YACpB,QAAQ,EAAE,2BAAmB,CAAC,SAAS;YACvC,aAAa,EAAE,gCAAwB,CAAC,OAAO;SAClD,CAAC,CAAA;IACN,CAAC;CACJ;AAvBG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;8CACU;AAHzB,0CAwBC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { AbstractAttributeValue, AbstractAttributeValueJSON, IAbstractAttributeValue } from "../AbstractAttributeValue";
|
|
2
2
|
import { RenderHints, ValueHints } from "../hints";
|
|
3
|
-
export
|
|
4
|
-
export interface IAbstractFloatJSON extends AbstractAttributeValueJSON {
|
|
3
|
+
export interface AbstractFloatJSON extends AbstractAttributeValueJSON {
|
|
5
4
|
value: number;
|
|
6
5
|
}
|
|
7
6
|
export interface IAbstractFloat extends IAbstractAttributeValue {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AbstractFloat.js","sourceRoot":"","sources":["../../../src/attributes/types/AbstractFloat.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAwD;AACxD,sEAAuH;AACvH,oCAAiG;
|
|
1
|
+
{"version":3,"file":"AbstractFloat.js","sourceRoot":"","sources":["../../../src/attributes/types/AbstractFloat.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAwD;AACxD,sEAAuH;AACvH,oCAAiG;AAUjG,MAAa,aAAc,SAAQ,+CAAsB;IAK9C,MAAM,CAAU,OAAO,CAAC,KAAU;QACrC,IAAI,OAAO,KAAK,KAAK,QAAQ;YAAE,KAAK,GAAG,EAAE,KAAK,EAAE,CAAA;QAChD,OAAO,KAAK,CAAA;IAChB,CAAC;IAEe,QAAQ;QACpB,OAAO,GAAG,IAAI,CAAC,KAAK,EAAE,CAAA;IAC1B,CAAC;IAEM,MAAM,KAAK,UAAU;QACxB,OAAO,kBAAU,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;IAC9B,CAAC;IAEM,MAAM,KAAK,WAAW;QACzB,OAAO,mBAAW,CAAC,IAAI,CAAC;YACpB,QAAQ,EAAE,2BAAmB,CAAC,UAAU;YACxC,aAAa,EAAE,gCAAwB,CAAC,KAAK;SAChD,CAAC,CAAA;IACN,CAAC;CACJ;AAvBG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,GAAE;;4CACS;AAHxB,sCAwBC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { AbstractAttributeValue, AbstractAttributeValueJSON, IAbstractAttributeValue } from "../AbstractAttributeValue";
|
|
2
2
|
import { RenderHints, ValueHints } from "../hints";
|
|
3
|
-
export
|
|
4
|
-
export interface IAbstractStringJSON extends AbstractAttributeValueJSON {
|
|
3
|
+
export interface AbstractStringJSON extends AbstractAttributeValueJSON {
|
|
5
4
|
value: string;
|
|
6
5
|
}
|
|
7
6
|
export interface IAbstractString extends IAbstractAttributeValue {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AbstractString.js","sourceRoot":"","sources":["../../../src/attributes/types/AbstractString.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAwD;AACxD,sEAAuH;AACvH,oCAAiG;
|
|
1
|
+
{"version":3,"file":"AbstractString.js","sourceRoot":"","sources":["../../../src/attributes/types/AbstractString.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAwD;AACxD,sEAAuH;AACvH,oCAAiG;AAUjG,MAAa,cAAe,SAAQ,+CAAsB;IAK/C,MAAM,CAAU,OAAO,CAAC,KAAU;QACrC,IAAI,OAAO,KAAK,KAAK,QAAQ;YAAE,KAAK,GAAG,EAAE,KAAK,EAAE,CAAA;QAChD,OAAO,KAAK,CAAA;IAChB,CAAC;IAEe,QAAQ;QACpB,OAAO,IAAI,CAAC,KAAK,CAAA;IACrB,CAAC;IAEM,MAAM,KAAK,UAAU;QACxB,OAAO,kBAAU,CAAC,IAAI,CAAC;YACnB,GAAG,EAAE,GAAG;SACX,CAAC,CAAA;IACN,CAAC;IAEM,MAAM,KAAK,WAAW;QACzB,OAAO,mBAAW,CAAC,IAAI,CAAC;YACpB,QAAQ,EAAE,2BAAmB,CAAC,SAAS;YACvC,aAAa,EAAE,gCAAwB,CAAC,MAAM;SACjD,CAAC,CAAA;IACN,CAAC;CACJ;AAzBG;IAAC,IAAA,qBAAS,GAAE;IACX,IAAA,oBAAQ,EAAC,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;;6CACH;AAHxB,wCA0BC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AbstractString,
|
|
2
|
-
export interface CityJSON extends
|
|
1
|
+
import { AbstractString, AbstractStringJSON, IAbstractString } from "../AbstractString";
|
|
2
|
+
export interface CityJSON extends AbstractStringJSON {
|
|
3
3
|
"@type": "City";
|
|
4
4
|
}
|
|
5
5
|
export interface ICity extends IAbstractString {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"City.js","sourceRoot":"","sources":["../../../../src/attributes/types/address/City.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,
|
|
1
|
+
{"version":3,"file":"City.js","sourceRoot":"","sources":["../../../../src/attributes/types/address/City.ts"],"names":[],"mappings":";;;;;;;;;AAAA,kDAAyC;AACzC,sDAAuF;AAShF,IAAM,IAAI,GAAV,MAAM,IAAK,SAAQ,+BAAc;IAC7B,MAAM,CAAC,IAAI,CAAC,KAA+C;QAC9D,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;CACJ,CAAA;AAJY,IAAI;IADhB,IAAA,gBAAI,EAAC,MAAM,CAAC;GACA,IAAI,CAIhB;AAJY,oBAAI"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AbstractStringJSON, IAbstractString } from "../AbstractString";
|
|
2
2
|
import { AbstractCountry } from "../strings";
|
|
3
|
-
export interface CountryJSON extends
|
|
3
|
+
export interface CountryJSON extends AbstractStringJSON {
|
|
4
4
|
"@type": "Country";
|
|
5
5
|
}
|
|
6
6
|
export interface ICountry extends IAbstractString {
|
|
@@ -1,29 +1,28 @@
|
|
|
1
1
|
import { RenderHints, ValueHints } from "../../hints";
|
|
2
|
-
import {
|
|
3
|
-
import { Phone } from "../communication";
|
|
2
|
+
import { IPhoneNumber, PhoneNumber, PhoneNumberJSON } 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, CityJSON, ICity } from "./City";
|
|
5
|
+
import { Country, CountryJSON, ICountry } from "./Country";
|
|
6
|
+
import { IState, State, StateJSON } from "./State";
|
|
7
|
+
import { IZipCode, ZipCode, ZipCodeJSON } from "./ZipCode";
|
|
9
8
|
export interface DeliveryBoxAddressJSON extends AbstractAddressJSON {
|
|
10
9
|
"@type": "DeliveryBoxAddress";
|
|
11
10
|
userId: string;
|
|
12
11
|
deliveryBoxId: string;
|
|
13
|
-
zipCode:
|
|
14
|
-
city:
|
|
15
|
-
country:
|
|
16
|
-
phoneNumber?:
|
|
17
|
-
state?:
|
|
12
|
+
zipCode: ZipCodeJSON;
|
|
13
|
+
city: CityJSON;
|
|
14
|
+
country: CountryJSON;
|
|
15
|
+
phoneNumber?: PhoneNumberJSON;
|
|
16
|
+
state?: StateJSON;
|
|
18
17
|
}
|
|
19
18
|
export interface IDeliveryBoxAddress extends IAbstractAddress {
|
|
20
19
|
userId: string;
|
|
21
20
|
deliveryBoxId: string;
|
|
22
|
-
zipCode:
|
|
23
|
-
city:
|
|
24
|
-
country:
|
|
25
|
-
phoneNumber?:
|
|
26
|
-
state?:
|
|
21
|
+
zipCode: IZipCode | string;
|
|
22
|
+
city: ICity | string;
|
|
23
|
+
country: ICountry | string;
|
|
24
|
+
phoneNumber?: IPhoneNumber | string;
|
|
25
|
+
state?: IState | string;
|
|
27
26
|
}
|
|
28
27
|
export declare class DeliveryBoxAddress extends AbstractAddress implements IDeliveryBoxAddress {
|
|
29
28
|
static readonly propertyNames: {
|
|
@@ -1438,6 +1437,13 @@ export declare class DeliveryBoxAddress extends AbstractAddress implements IDeli
|
|
|
1438
1437
|
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
1439
1438
|
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1440
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
|
+
}>;
|
|
1441
1447
|
recipient: import("easy-tsnameof").PathHandlers<{
|
|
1442
1448
|
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1443
1449
|
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
@@ -1694,13 +1700,6 @@ export declare class DeliveryBoxAddress extends AbstractAddress implements IDeli
|
|
|
1694
1700
|
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
1695
1701
|
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1696
1702
|
}>;
|
|
1697
|
-
toJSON: import("easy-tsnameof").PathHandlers<{
|
|
1698
|
-
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1699
|
-
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
1700
|
-
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
1701
|
-
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
1702
|
-
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1703
|
-
}>;
|
|
1704
1703
|
} & import("easy-tsnameof").PathHandlers<{
|
|
1705
1704
|
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1706
1705
|
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
@@ -1713,10 +1712,11 @@ export declare class DeliveryBoxAddress extends AbstractAddress implements IDeli
|
|
|
1713
1712
|
zipCode: ZipCode;
|
|
1714
1713
|
city: City;
|
|
1715
1714
|
country: Country;
|
|
1716
|
-
phoneNumber?:
|
|
1715
|
+
phoneNumber?: PhoneNumber;
|
|
1717
1716
|
state?: State;
|
|
1718
1717
|
static get valueHints(): ValueHints;
|
|
1719
1718
|
static get renderHints(): RenderHints;
|
|
1720
1719
|
static from(value: IDeliveryBoxAddress | Omit<DeliveryBoxAddressJSON, "@type">): DeliveryBoxAddress;
|
|
1721
1720
|
toString(): string;
|
|
1721
|
+
toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): DeliveryBoxAddressJSON;
|
|
1722
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,oDAA6E;AAC7E,uDAA0F;AAC1F,iCAA8C;AAC9C,uCAA0D;AAC1D,mCAAkD;AAClD,uCAA0D;AAwBnD,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,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AI,EAAE,CAAC;8BACd,aAAK;iDAAA;AA7BX,kBAAkB;IAD9B,IAAA,gBAAI,EAAC,oBAAoB,CAAC;GACd,kBAAkB,CA6F9B;AA7FY,gDAAkB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AbstractString,
|
|
2
|
-
export interface HouseNumberJSON extends
|
|
1
|
+
import { AbstractString, AbstractStringJSON, IAbstractString } from "../AbstractString";
|
|
2
|
+
export interface HouseNumberJSON extends AbstractStringJSON {
|
|
3
3
|
"@type": "HouseNumber";
|
|
4
4
|
}
|
|
5
5
|
export interface IHouseNumber extends IAbstractString {
|
|
@@ -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,24 +1,24 @@
|
|
|
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 {
|
|
3
|
+
import { City, CityJSON, ICity } from "./City";
|
|
4
|
+
import { Country, CountryJSON, ICountry } from "./Country";
|
|
5
|
+
import { IState, State, StateJSON } from "./State";
|
|
6
|
+
import { StreetJSON } from "./Street";
|
|
7
|
+
import { IZipCode, ZipCode, ZipCodeJSON } from "./ZipCode";
|
|
8
8
|
export interface PostOfficeBoxAddressJSON extends AbstractAddressJSON {
|
|
9
9
|
"@type": "PostOfficeBoxAddress";
|
|
10
|
-
boxId:
|
|
11
|
-
zipCode:
|
|
12
|
-
city:
|
|
13
|
-
country:
|
|
14
|
-
state?:
|
|
10
|
+
boxId: StreetJSON;
|
|
11
|
+
zipCode: ZipCodeJSON;
|
|
12
|
+
city: CityJSON;
|
|
13
|
+
country: CountryJSON;
|
|
14
|
+
state?: StateJSON;
|
|
15
15
|
}
|
|
16
16
|
export interface IPostOfficeBoxAddress extends IAbstractAddress {
|
|
17
17
|
boxId: string;
|
|
18
|
-
zipCode:
|
|
19
|
-
city:
|
|
20
|
-
country:
|
|
21
|
-
state?:
|
|
18
|
+
zipCode: IZipCode | string;
|
|
19
|
+
city: ICity | string;
|
|
20
|
+
country: ICountry | string;
|
|
21
|
+
state?: IState | string;
|
|
22
22
|
}
|
|
23
23
|
export declare class PostOfficeBoxAddress extends AbstractAddress implements IPostOfficeBoxAddress {
|
|
24
24
|
static readonly propertyNames: {
|
|
@@ -1148,6 +1148,13 @@ export declare class PostOfficeBoxAddress extends AbstractAddress implements IPo
|
|
|
1148
1148
|
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
1149
1149
|
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1150
1150
|
}>;
|
|
1151
|
+
toJSON: import("easy-tsnameof").PathHandlers<{
|
|
1152
|
+
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1153
|
+
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
1154
|
+
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
1155
|
+
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
1156
|
+
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1157
|
+
}>;
|
|
1151
1158
|
recipient: import("easy-tsnameof").PathHandlers<{
|
|
1152
1159
|
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1153
1160
|
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
@@ -1404,13 +1411,6 @@ export declare class PostOfficeBoxAddress extends AbstractAddress implements IPo
|
|
|
1404
1411
|
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
1405
1412
|
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1406
1413
|
}>;
|
|
1407
|
-
toJSON: import("easy-tsnameof").PathHandlers<{
|
|
1408
|
-
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1409
|
-
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
1410
|
-
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
1411
|
-
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
1412
|
-
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1413
|
-
}>;
|
|
1414
1414
|
} & import("easy-tsnameof").PathHandlers<{
|
|
1415
1415
|
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1416
1416
|
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
@@ -1427,4 +1427,5 @@ export declare class PostOfficeBoxAddress extends AbstractAddress implements IPo
|
|
|
1427
1427
|
static get renderHints(): RenderHints;
|
|
1428
1428
|
static from(value: IPostOfficeBoxAddress | Omit<PostOfficeBoxAddressJSON, "@type">): PostOfficeBoxAddress;
|
|
1429
1429
|
toString(): string;
|
|
1430
|
+
toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): PostOfficeBoxAddressJSON;
|
|
1430
1431
|
}
|
|
@@ -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;AAC1F,iCAA8C;AAC9C,uCAA0D;AAC1D,mCAAkD;AAElD,uCAA0D;AAoBnD,IAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,iCAAe;IAuB9C,MAAM,KAAc,UAAU;QACjC,OAAO,kBAAU,CAAC,IAAI,CAAC;YACnB,aAAa,EAAE;gBACX,CAAC,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,kBAAU,CAAC,IAAI,CAAC,EAAE,CAAC;gBACrD,CAAC,IAAI,CAAC,aAAa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AAS,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,5 +1,5 @@
|
|
|
1
|
-
import { AbstractString,
|
|
2
|
-
export interface StateJSON extends
|
|
1
|
+
import { AbstractString, AbstractStringJSON, IAbstractString } from "../AbstractString";
|
|
2
|
+
export interface StateJSON extends AbstractStringJSON {
|
|
3
3
|
"@type": "State";
|
|
4
4
|
}
|
|
5
5
|
export interface IState extends IAbstractString {
|
|
@@ -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,5 +1,5 @@
|
|
|
1
|
-
import { AbstractString,
|
|
2
|
-
export interface StreetJSON extends
|
|
1
|
+
import { AbstractString, AbstractStringJSON, IAbstractString } from "../AbstractString";
|
|
2
|
+
export interface StreetJSON extends AbstractStringJSON {
|
|
3
3
|
"@type": "Street";
|
|
4
4
|
}
|
|
5
5
|
export interface IStreet extends IAbstractString {
|
|
@@ -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"}
|
|
@@ -1,28 +1,27 @@
|
|
|
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 { HouseNumber } from "./HouseNumber";
|
|
7
|
-
import { State } from "./State";
|
|
8
|
-
import { Street } from "./Street";
|
|
9
|
-
import { ZipCode } from "./ZipCode";
|
|
3
|
+
import { City, CityJSON, ICity } from "./City";
|
|
4
|
+
import { Country, CountryJSON, ICountry } from "./Country";
|
|
5
|
+
import { HouseNumber, HouseNumberJSON, IHouseNumber } from "./HouseNumber";
|
|
6
|
+
import { IState, State, StateJSON } from "./State";
|
|
7
|
+
import { IStreet, Street, StreetJSON } from "./Street";
|
|
8
|
+
import { IZipCode, ZipCode, ZipCodeJSON } from "./ZipCode";
|
|
10
9
|
export interface StreetAddressJSON extends AbstractAddressJSON {
|
|
11
10
|
"@type": "StreetAddress";
|
|
12
|
-
street:
|
|
13
|
-
houseNo:
|
|
14
|
-
zipCode:
|
|
15
|
-
city:
|
|
16
|
-
country:
|
|
17
|
-
state?:
|
|
11
|
+
street: StreetJSON;
|
|
12
|
+
houseNo: HouseNumberJSON;
|
|
13
|
+
zipCode: ZipCodeJSON;
|
|
14
|
+
city: CityJSON;
|
|
15
|
+
country: CountryJSON;
|
|
16
|
+
state?: StateJSON;
|
|
18
17
|
}
|
|
19
18
|
export interface IStreetAddress extends IAbstractAddress {
|
|
20
|
-
street:
|
|
21
|
-
houseNo:
|
|
22
|
-
zipCode:
|
|
23
|
-
city:
|
|
24
|
-
country:
|
|
25
|
-
state?:
|
|
19
|
+
street: IStreet | string;
|
|
20
|
+
houseNo: IHouseNumber | string;
|
|
21
|
+
zipCode: IZipCode | string;
|
|
22
|
+
city: ICity | string;
|
|
23
|
+
country: ICountry | string;
|
|
24
|
+
state?: IState | string;
|
|
26
25
|
}
|
|
27
26
|
export declare class StreetAddress extends AbstractAddress implements IStreetAddress {
|
|
28
27
|
static readonly propertyNames: {
|
|
@@ -1701,6 +1700,13 @@ export declare class StreetAddress extends AbstractAddress implements IStreetAdd
|
|
|
1701
1700
|
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
1702
1701
|
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1703
1702
|
}>;
|
|
1703
|
+
toJSON: import("easy-tsnameof").PathHandlers<{
|
|
1704
|
+
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1705
|
+
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
1706
|
+
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
1707
|
+
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
1708
|
+
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1709
|
+
}>;
|
|
1704
1710
|
recipient: import("easy-tsnameof").PathHandlers<{
|
|
1705
1711
|
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1706
1712
|
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
@@ -1957,13 +1963,6 @@ export declare class StreetAddress extends AbstractAddress implements IStreetAdd
|
|
|
1957
1963
|
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
1958
1964
|
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1959
1965
|
}>;
|
|
1960
|
-
toJSON: import("easy-tsnameof").PathHandlers<{
|
|
1961
|
-
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1962
|
-
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
1963
|
-
toString: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
1964
|
-
valueOf: (path: import("easy-tsnameof").PathKey[]) => () => string;
|
|
1965
|
-
[Symbol.toStringTag]: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1966
|
-
}>;
|
|
1967
1966
|
} & import("easy-tsnameof").PathHandlers<{
|
|
1968
1967
|
$path: (path: import("easy-tsnameof").PathKey[]) => string;
|
|
1969
1968
|
$rawPath: (path: import("easy-tsnameof").PathKey[]) => import("easy-tsnameof").PathKey[];
|
|
@@ -1981,4 +1980,5 @@ export declare class StreetAddress extends AbstractAddress implements IStreetAdd
|
|
|
1981
1980
|
static get valueHints(): ValueHints;
|
|
1982
1981
|
static get renderHints(): RenderHints;
|
|
1983
1982
|
toString(): string;
|
|
1983
|
+
toJSON(verbose?: boolean | undefined, serializeAsString?: boolean | undefined): StreetAddressJSON;
|
|
1984
1984
|
}
|
|
@@ -61,6 +61,9 @@ let StreetAddress = class StreetAddress extends AbstractAddress_1.AbstractAddres
|
|
|
61
61
|
value.push(countryName ? countryName : this.country.toString());
|
|
62
62
|
return value.join("\n");
|
|
63
63
|
}
|
|
64
|
+
toJSON(verbose, serializeAsString) {
|
|
65
|
+
return super.toJSON(verbose, serializeAsString);
|
|
66
|
+
}
|
|
64
67
|
};
|
|
65
68
|
StreetAddress.propertyNames = (0, easy_tsnameof_1.nameOf)();
|
|
66
69
|
__decorate([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StreetAddress.js","sourceRoot":"","sources":["../../../../src/attributes/types/address/StreetAddress.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,iDAAgD;AAChD,yEAAqE;AACrE,+CAAkE;
|
|
1
|
+
{"version":3,"file":"StreetAddress.js","sourceRoot":"","sources":["../../../../src/attributes/types/address/StreetAddress.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8D;AAC9D,iDAAgD;AAChD,yEAAqE;AACrE,+CAAkE;AAElE,uDAA0F;AAC1F,iCAA8C;AAC9C,uCAA0D;AAC1D,+CAA0E;AAC1E,mCAAkD;AAClD,qCAAsD;AACtD,uCAA0D;AAsBnD,IAAM,aAAa,GAAnB,MAAM,aAAc,SAAQ,iCAAe;IA2BvC,MAAM,CAAC,IAAI,CAAC,KAAwD;QACvE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;IAC9B,CAAC;IAEM,MAAM,KAAc,UAAU;QACjC,OAAO,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC;YAC7B,aAAa,EAAE;gBACX,CAAC,IAAI,CAAC,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,eAAM,CAAC,UAAU;gBACpD,CAAC,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,yBAAW,CAAC,UAAU;gBAC1D,CAAC,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,iBAAO,CAAC,UAAU;gBACtD,CAAC,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,EAA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