@kenjiuno/msgreader
Advanced tools
Comparing version 1.15.0 to 1.16.0-alpha.1
@@ -77,2 +77,24 @@ declare const _default: { | ||
'39fe': string; | ||
'3a18': string; | ||
'3a44': string; | ||
'3a05': string; | ||
'3a11': string; | ||
'3a27': string; | ||
'3a16': string; | ||
'3a24': string; | ||
'3a29': string; | ||
'3a51': string; | ||
'3a06': string; | ||
'3a09': string; | ||
'3a15': string; | ||
'3a17': string; | ||
'3a1c': string; | ||
'3a26': string; | ||
'3a28': string; | ||
'3a2a': string; | ||
'3a45': string; | ||
'0070': string; | ||
'0e1d': string; | ||
'3a08': string; | ||
'3a0d': string; | ||
}; | ||
@@ -115,2 +137,112 @@ FULL_NAME_MAPPING: { | ||
}; | ||
"00062004-0000-0000-c000-000000000046": { | ||
32812: { | ||
id: string; | ||
dispid: string; | ||
}; | ||
32899: { | ||
id: string; | ||
dispid: string; | ||
}; | ||
32814: { | ||
id: string; | ||
dispid: string; | ||
}; | ||
32978: { | ||
id: string; | ||
dispid: string; | ||
}; | ||
32896: { | ||
id: string; | ||
dispid: string; | ||
}; | ||
32900: { | ||
id: string; | ||
dispid: string; | ||
}; | ||
32773: { | ||
id: string; | ||
dispid: string; | ||
}; | ||
32813: { | ||
id: string; | ||
dispid: string; | ||
}; | ||
32946: { | ||
id: string; | ||
dispid: string; | ||
}; | ||
32963: { | ||
id: string; | ||
dispid: string; | ||
}; | ||
32838: { | ||
id: string; | ||
dispid: string; | ||
}; | ||
32989: { | ||
id: string; | ||
dispid: string; | ||
}; | ||
32962: { | ||
id: string; | ||
dispid: string; | ||
}; | ||
32964: { | ||
id: string; | ||
dispid: string; | ||
}; | ||
32840: { | ||
id: string; | ||
dispid: string; | ||
}; | ||
32837: { | ||
id: string; | ||
dispid: string; | ||
}; | ||
32839: { | ||
id: string; | ||
dispid: string; | ||
}; | ||
32987: { | ||
id: string; | ||
dispid: string; | ||
}; | ||
32841: { | ||
id: string; | ||
dispid: string; | ||
}; | ||
32811: { | ||
id: string; | ||
dispid: string; | ||
}; | ||
32795: { | ||
id: string; | ||
dispid: string; | ||
}; | ||
32948: { | ||
id: string; | ||
dispid: string; | ||
}; | ||
32866: { | ||
id: string; | ||
dispid: string; | ||
}; | ||
32784: { | ||
id: string; | ||
dispid: string; | ||
}; | ||
32947: { | ||
id: string; | ||
dispid: string; | ||
}; | ||
32980: { | ||
id: string; | ||
dispid: string; | ||
}; | ||
32979: { | ||
id: string; | ||
dispid: string; | ||
}; | ||
}; | ||
}; | ||
@@ -117,0 +249,0 @@ CLASS_MAPPING: { |
@@ -83,3 +83,26 @@ "use strict"; | ||
'3003': 'email', | ||
'39fe': 'smtpAddress' | ||
'39fe': 'smtpAddress', | ||
// contact specific | ||
'3a18': 'departmentName', | ||
'3a44': 'middleName', | ||
'3a05': 'generation', | ||
'3a11': 'surname', | ||
'3a27': 'addressCity', | ||
'3a16': 'companyName', | ||
'3a24': 'businessFaxNumber', | ||
'3a29': 'streetAddress', | ||
'3a51': 'businessHomePage', | ||
'3a06': 'givenName', | ||
'3a09': 'homeTelephoneNumber', | ||
'3a15': 'postalAddress', | ||
'3a17': 'title', | ||
'3a1c': 'mobileTelephoneNumber', | ||
'3a26': 'country', | ||
'3a28': 'stateOrProvince', | ||
'3a2a': 'postalCode', | ||
'3a45': 'displayNamePrefix', | ||
'0070': 'conversationTopic', | ||
'0e1d': 'normalizedSubject', | ||
'3a08': 'businessTelephoneNumber', | ||
'3a0d': 'location', | ||
}, | ||
@@ -104,2 +127,32 @@ FULL_NAME_MAPPING: { | ||
}, | ||
// PSETID_Address | ||
"00062004-0000-0000-c000-000000000046": { | ||
0x0000802c: { id: "dispidYomiFirstName", dispid: "yomiFirstName", }, | ||
0x00008083: { id: "dispidEmail1EmailAddress", dispid: "email1EmailAddress", }, | ||
0x0000802e: { id: "dispidYomiCompanyName", dispid: "yomiCompanyName", }, | ||
0x000080d2: { id: "PidLidFax3AddressType", dispid: "fax3AddrType", }, | ||
0x00008080: { id: "PidLidEmail1DisplayName", dispid: "email1DisplayName", }, | ||
0x00008084: { id: "PidLidEmail1OriginalDisplayName", dispid: "email1OriginalDisplayName", }, | ||
0x00008005: { id: "PidLidFileUnder", dispid: "fileUnder", }, | ||
0x0000802d: { id: "PidLidYomiLastName", dispid: "yomiLastName", }, | ||
0x000080b2: { id: "PidLidFax1AddressType", dispid: "fax1AddrType", }, | ||
0x000080c3: { id: "PidLidFax2EmailAddress", dispid: "fax2EmailAddress", }, | ||
0x00008046: { id: "PidLidWorkAddressCity", dispid: "workAddressCity", }, | ||
0x000080dd: { id: "PidLidAddressCountryCode", dispid: "addressCountryCode", }, | ||
0x000080c2: { id: "PidLidFax2AddressType", dispid: "fax2AddrType", }, | ||
0x000080c4: { id: "PidLidFax2OriginalDisplayName", dispid: "fax2OriginalDisplayName", }, | ||
0x00008048: { id: "PidLidWorkAddressPostalCode", dispid: "workAddressPostalCode", }, | ||
0x00008045: { id: "PidLidWorkAddressStreet", dispid: "workAddressStreet", }, | ||
0x00008047: { id: "PidLidWorkAddressState", dispid: "workAddressState", }, | ||
0x000080db: { id: "PidLidWorkAddressCountryCode", dispid: "workAddressCountryCode", }, | ||
0x00008049: { id: "PidLidWorkAddressCountry", dispid: "workAddressCountry", }, | ||
0x0000802b: { id: "PidLidHtml", dispid: "contactHtml", }, | ||
0x0000801b: { id: "PidLidWorkAddress", dispid: "workAddress", }, | ||
0x000080b4: { id: "PidLidFax1OriginalDisplayName", dispid: "fax1OriginalDisplayName", }, | ||
0x00008062: { id: "PidLidInstantMessagingAddress", dispid: "instMsg", }, | ||
0x00008010: { id: "PidLidDepartment", dispid: "department", }, | ||
0x000080b3: { id: "PidLidFax1EmailAddress", dispid: "fax1EmailAddress", }, | ||
0x000080d4: { id: "PidLidFax3OriginalDisplayName", dispid: "fax3OriginalDisplayName", }, | ||
0x000080d3: { id: "PidLidFax3EmailAddress", dispid: "fax3EmailAddress", }, | ||
}, | ||
}, | ||
@@ -106,0 +159,0 @@ CLASS_MAPPING: { |
@@ -482,2 +482,436 @@ export interface ParserConfig { | ||
messageFlags?: number; | ||
/** | ||
* Contains a name for the department in which the recipient works. | ||
* | ||
* Target {@link dataType} = 'msg'. | ||
* | ||
* @see https://docs.microsoft.com/en-us/office/client-developer/outlook/mapi/pidtagdepartmentname-canonical-property | ||
*/ | ||
departmentName?: string; | ||
/** | ||
* Contains the middle name of a contact. | ||
* | ||
* Target {@link dataType} = 'msg'. | ||
* | ||
* @see https://docs.microsoft.com/en-us/office/client-developer/outlook/mapi/pidtagmiddlename-canonical-property | ||
*/ | ||
middleName?: string; | ||
/** | ||
* Contains a generational abbreviation that follows the full name of the recipient. | ||
* | ||
* Target {@link dataType} = 'msg'. | ||
* | ||
* @see https://docs.microsoft.com/en-us/office/client-developer/outlook/mapi/pidtaggeneration-canonical-property | ||
*/ | ||
generation?: string; | ||
/** | ||
* Contains the last or surname of the recipient. | ||
* | ||
* Target {@link dataType} = 'msg'. | ||
* | ||
* @see https://docs.microsoft.com/en-us/office/client-developer/outlook/mapi/pidtagsurname-canonical-property | ||
*/ | ||
surname?: string; | ||
/** | ||
* Contains the city for the recipient's home address. | ||
* | ||
* Target {@link dataType} = 'msg'. | ||
* | ||
* @see https://docs.microsoft.com/en-us/office/client-developer/outlook/mapi/pidtaghomeaddresscity-canonical-property | ||
*/ | ||
addressCity?: string; | ||
/** | ||
* Specifies the phonetic pronunciation of the contact's given name. | ||
* | ||
* Target {@link dataType} = 'msg'. | ||
* | ||
* @see https://docs.microsoft.com/en-us/office/client-developer/outlook/mapi/pidlidyomifirstname-canonical-property | ||
*/ | ||
yomiFirstName?: string; | ||
/** | ||
* Contains the recipient's company name. | ||
* | ||
* Target {@link dataType} = 'msg'. | ||
* | ||
* @see https://docs.microsoft.com/en-us/office/client-developer/outlook/mapi/pidtagcompanyname-canonical-property | ||
*/ | ||
companyName?: string; | ||
/** | ||
* Contains the telephone number of the recipient's business fax machine. | ||
* | ||
* @see https://docs.microsoft.com/en-us/office/client-developer/outlook/mapi/pidtagbusinessfaxnumber-canonical-property | ||
*/ | ||
businessFaxNumber?: string; | ||
/** | ||
* Contains the recipient's street address. | ||
* | ||
* Target {@link dataType} = 'msg'. | ||
* | ||
* @see https://docs.microsoft.com/en-us/office/client-developer/outlook/mapi/pidtagstreetaddress-canonical-property | ||
*/ | ||
streetAddress?: string; | ||
/** | ||
* Contains the URL of the home page for the business. | ||
* | ||
* Target {@link dataType} = 'msg'. | ||
* | ||
* @see https://docs.microsoft.com/en-us/office/client-developer/outlook/mapi/pidtagbusinesshomepage-canonical-property | ||
*/ | ||
businessHomePage?: string; | ||
/** | ||
* Specifies the first email address of the contact. | ||
* | ||
* Target {@link dataType} = 'msg'. | ||
* | ||
* @see https://docs.microsoft.com/en-us/office/client-developer/outlook/mapi/pidlidemail1emailaddress-canonical-property | ||
*/ | ||
email1EmailAddress?: string; | ||
/** | ||
* Specifies the phonetic pronunciation of the contact's company name. | ||
* | ||
* Target {@link dataType} = 'msg'. | ||
* | ||
* @see https://docs.microsoft.com/en-us/office/client-developer/outlook/mapi/pidlidyomicompanyname-canonical-property | ||
*/ | ||
yomiCompanyName?: string; | ||
/** | ||
* Contains the string value "FAX". | ||
* | ||
* Target {@link dataType} = 'msg'. | ||
* | ||
* Reference: PidLidFax3AddressType PSETID_Address:000080d2 | ||
*/ | ||
fax3AddrType?: string; | ||
/** | ||
* Contains the mail user's given name. | ||
* | ||
* Target {@link dataType} = 'msg'. | ||
* | ||
* Reference: PidTagGivenName propertyTag=3a06001f | ||
*/ | ||
givenName?: string; | ||
/** | ||
* Contains the primary telephone number of the mail user's home. | ||
* | ||
* Target { @link dataType } = 'msg'. | ||
* | ||
* Reference: PidTagHomeTelephoneNumber propertyTag = 3a09001f | ||
*/ | ||
homeTelephoneNumber?: string; | ||
/** | ||
* Contains the mail user's postal address. | ||
* | ||
* Target {@link dataType} = 'msg'. | ||
* | ||
* Reference: PidTagPostalAddress propertyTag=3a15001f | ||
*/ | ||
postalAddress?: string; | ||
/** | ||
* Contains the mail user's job title. | ||
* | ||
* Target {@link dataType} = 'msg'. | ||
* | ||
* Reference: PidTagTitle propertyTag=3a17001f | ||
*/ | ||
title?: string; | ||
/** | ||
* Contains the mail user's cellular telephone number. | ||
* | ||
* Target {@link dataType} = 'msg'. | ||
* | ||
* Reference: PidTagMobileTelephoneNumber propertyTag=3a1c001f | ||
*/ | ||
mobileTelephoneNumber?: string; | ||
/** | ||
* Contains the name of the mail user's country/region. | ||
* | ||
* Target {@link dataType} = 'msg'. | ||
* | ||
* Reference: PidTagCountry propertyTag=3a26001f | ||
*/ | ||
country?: string; | ||
/** | ||
* Contains the name of the mail user's state or province. | ||
* | ||
* Target {@link dataType} = 'msg'. | ||
* | ||
* Reference: PidTagStateOrProvince propertyTag=3a28001f | ||
*/ | ||
stateOrProvince?: string; | ||
/** | ||
* Contains the postal code for the mail user's postal address. | ||
* | ||
* Target {@link dataType} = 'msg'. | ||
* | ||
* Reference: PidTagPostalCode propertyTag=3a2a001f | ||
*/ | ||
postalCode?: string; | ||
/** | ||
* Contains the mail user's honorific title. | ||
* | ||
* Target {@link dataType} = 'msg'. | ||
* | ||
* Reference: PidTagDisplayNamePrefix propertyTag=3a45001f | ||
*/ | ||
displayNamePrefix?: string; | ||
/** | ||
* Specifies the user-readable display name for the email address. | ||
* | ||
* Target {@link dataType} = 'msg'. | ||
* | ||
* Reference: PidLidEmail1DisplayName PSETID_Address:00008080 | ||
*/ | ||
email1DisplayName?: string; | ||
/** | ||
* Specifies the SMTP email address that corresponds to the email address for the Contact object. | ||
* | ||
* Target {@link dataType} = 'msg'. | ||
* | ||
* Reference: PidLidEmail1OriginalDisplayName PSETID_Address:00008084 | ||
*/ | ||
email1OriginalDisplayName?: string; | ||
/** | ||
* Specifies the name under which to file a contact when displaying a list of contacts. | ||
* | ||
* Target {@link dataType} = 'msg'. | ||
* | ||
* Reference: PidLidFileUnder PSETID_Address:00008005 | ||
*/ | ||
fileUnder?: string; | ||
/** | ||
* Specifies the phonetic pronunciation of the surname of the contact. | ||
* | ||
* Target {@link dataType} = 'msg'. | ||
* | ||
* Reference: PidLidYomiLastName PSETID_Address:0000802d | ||
*/ | ||
yomiLastName?: string; | ||
/** | ||
* Contains the string value "FAX". | ||
* | ||
* Target {@link dataType} = 'msg'. | ||
* | ||
* Reference: PidLidFax1AddressType PSETID_Address:000080b2 | ||
*/ | ||
fax1AddrType?: string; | ||
/** | ||
* Contains a user-readable display name, followed by the "@" character, followed by a fax number. | ||
* | ||
* e.g. `コム ドット イグザンプル 殿@+81 06-0001-0003` | ||
* | ||
* Target {@link dataType} = 'msg'. | ||
* | ||
* Reference: PidLidFax2EmailAddress PSETID_Address:000080c3 | ||
*/ | ||
fax2EmailAddress?: string; | ||
/** | ||
* Specifies the city or locality portion of the work address of the contact. | ||
* | ||
* e.g. `Osaka` | ||
* | ||
* Target {@link dataType} = 'msg'. | ||
* | ||
* Reference: PidLidWorkAddressCity PSETID_Address:00008046 | ||
*/ | ||
workAddressCity?: string; | ||
/** | ||
* Contains an unchanging copy of the original subject. | ||
* | ||
* e.g. `コム ドット イグザンプル 殿` | ||
* | ||
* Target {@link dataType} = 'msg'. | ||
* | ||
* Reference: PidTagConversationTopic propertyTag=0070001f | ||
*/ | ||
conversationTopic?: string; | ||
/** | ||
* Contains the normalized subject of the message. | ||
* | ||
* e.g. `コム ドット イグザンプル 殿` | ||
* | ||
* Target {@link dataType} = 'msg'. | ||
* | ||
* Reference: PidTagNormalizedSubject propertyTag=0e1d001f | ||
*/ | ||
normalizedSubject?: string; | ||
/** | ||
* Specifies the country code portion of the mailing address of the contact. | ||
* | ||
* e.g. `JP` | ||
* | ||
* Target {@link dataType} = 'msg'. | ||
* | ||
* Reference: PidLidAddressCountryCode PSETID_Address:000080dd | ||
*/ | ||
addressCountryCode?: string; | ||
/** | ||
* Contains the string value "FAX". | ||
* | ||
* e.g. `FAX` | ||
* | ||
* Target {@link dataType} = 'msg'. | ||
* | ||
* Reference: PidLidFax2AddressType PSETID_Address:000080c2 | ||
*/ | ||
fax2AddrType?: string; | ||
/** | ||
* Contains the same value as the PidTagNormalizedSubject property (section 2.812). | ||
* | ||
* e.g. `コム ドット イグザンプル 殿` | ||
* | ||
* Target {@link dataType} = 'msg'. | ||
* | ||
* Reference: PidLidFax2OriginalDisplayName PSETID_Address:000080c4 | ||
*/ | ||
fax2OriginalDisplayName?: string; | ||
/** | ||
* Specifies the postal code (ZIP code) portion of the work address of the contact. | ||
* | ||
* e.g. `544-0001` | ||
* | ||
* Target {@link dataType} = 'msg'. | ||
* | ||
* Reference: PidLidWorkAddressPostalCode PSETID_Address:00008048 | ||
*/ | ||
workAddressPostalCode?: string; | ||
/** | ||
* Specifies the street portion of the work address of the contact. | ||
* | ||
* e.g. `Somewhere` | ||
* | ||
* Target {@link dataType} = 'msg'. | ||
* | ||
* Reference: PidLidWorkAddressStreet PSETID_Address:00008045 | ||
*/ | ||
workAddressStreet?: string; | ||
/** | ||
* Specifies the state or province portion of the work address of the contact. | ||
* | ||
* e.g. `Osaka` | ||
* | ||
* Target {@link dataType} = 'msg'. | ||
* | ||
* Reference: PidLidWorkAddressState PSETID_Address:00008047 | ||
*/ | ||
workAddressState?: string; | ||
/** | ||
* Specifies the country code portion of the work address of the contact. | ||
* | ||
* e.g. `JP` | ||
* | ||
* Target {@link dataType} = 'msg'. | ||
* | ||
* Reference: PidLidWorkAddressCountryCode PSETID_Address:000080db | ||
*/ | ||
workAddressCountryCode?: string; | ||
/** | ||
* Specifies the country or region portion of the work address of the contact. | ||
* | ||
* e.g. `日本` | ||
* | ||
* Target {@link dataType} = 'msg'. | ||
* | ||
* Reference: PidLidWorkAddressCountry PSETID_Address:00008049 | ||
*/ | ||
workAddressCountry?: string; | ||
/** | ||
* Specifies the business webpage URL of the contact. | ||
* | ||
* e.g. `https://example.com` | ||
* | ||
* Target {@link dataType} = 'msg'. | ||
* | ||
* Reference: PidLidHtml PSETID_Address:0000802b | ||
*/ | ||
contactHtml?: string; | ||
/** | ||
* Specifies the complete address of the work address of the contact. | ||
* | ||
* e.g. `544-0001\nOsaka\nOsaka\nSomewhere` | ||
* | ||
* Target {@link dataType} = 'msg'. | ||
* | ||
* Reference: PidLidWorkAddress PSETID_Address:0000801b | ||
*/ | ||
workAddress?: string; | ||
/** | ||
* Contains the same value as the PidTagNormalizedSubject property (section 2.812). | ||
* | ||
* e.g. `` | ||
* | ||
* Target {@link dataType} = 'msg'. | ||
* | ||
* Reference: PidLidFax1OriginalDisplayName PSETID_Address:000080b4 | ||
*/ | ||
fax1OriginalDisplayName?: string; | ||
/** | ||
* Contains the primary telephone number of the mail user's place of business. | ||
* | ||
* e.g. `06-0001-0002` | ||
* | ||
* Target {@link dataType} = 'msg'. | ||
* | ||
* Reference: PidTagBusinessTelephoneNumber propertyTag=3a08001f | ||
*/ | ||
businessTelephoneNumber?: string; | ||
/** | ||
* Specifies the instant messaging address of the contact. | ||
* | ||
* e.g. `` | ||
* | ||
* Target {@link dataType} = 'msg'. | ||
* | ||
* Reference: PidLidInstantMessagingAddress PSETID_Address:00008062 | ||
*/ | ||
instMsg?: string; | ||
/** | ||
* This property is ignored by the server and is set to an empty string by the client. | ||
* | ||
* e.g. `` | ||
* | ||
* Target {@link dataType} = 'msg'. | ||
* | ||
* Reference: PidLidDepartment PSETID_Address:00008010 | ||
*/ | ||
department?: string; | ||
/** | ||
* Contains the location of the mail user. | ||
* | ||
* e.g. `` | ||
* | ||
* Target {@link dataType} = 'msg'. | ||
* | ||
* Reference: PidTagLocation propertyTag=3a0d001f | ||
*/ | ||
location?: string; | ||
/** | ||
* Contains a user-readable display name, followed by the "@" character, followed by a fax number. | ||
* | ||
* e.g. `` | ||
* | ||
* Target {@link dataType} = 'msg'. | ||
* | ||
* Reference: PidLidFax1EmailAddress PSETID_Address:000080b3 | ||
*/ | ||
fax1EmailAddress?: string; | ||
/** | ||
* Contains the same value as the PidTagNormalizedSubject property (section 2.812). | ||
* | ||
* e.g. `` | ||
* | ||
* Target {@link dataType} = 'msg'. | ||
* | ||
* Reference: PidLidFax3OriginalDisplayName PSETID_Address:000080d4 | ||
*/ | ||
fax3OriginalDisplayName?: string; | ||
/** | ||
* Contains a user-readable display name, followed by the "@" character, followed by a fax number. | ||
* | ||
* e.g. `` | ||
* | ||
* Target {@link dataType} = 'msg'. | ||
* | ||
* Reference: PidLidFax3EmailAddress PSETID_Address:000080d3 | ||
*/ | ||
fax3EmailAddress?: string; | ||
} | ||
@@ -484,0 +918,0 @@ export interface SomeParsedOxProps { |
{ | ||
"name": "@kenjiuno/msgreader", | ||
"version": "1.15.0", | ||
"version": "1.16.0-alpha.1", | ||
"description": "Outlook Item File (.msg) reader in JavaScript Npm Module", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
307614
8620
2