@hiraokahypertools/pst-extractor 0.2.0-alpha.2 → 0.4.0-alpha.1
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/IPSTActivity.d.ts +66 -0
- package/dist/IPSTActivity.js +1 -0
- package/dist/IPSTAppointment.d.ts +198 -0
- package/dist/IPSTAppointment.js +1 -0
- package/dist/IPSTAttachment.d.ts +120 -0
- package/dist/IPSTAttachment.js +1 -0
- package/dist/IPSTContact.d.ts +669 -0
- package/dist/IPSTContact.js +1 -0
- package/dist/IPSTFile.d.ts +54 -0
- package/dist/IPSTFile.js +1 -0
- package/dist/IPSTFolder.d.ts +70 -0
- package/dist/IPSTFolder.js +1 -0
- package/dist/IPSTMessage.d.ts +570 -0
- package/dist/IPSTMessage.js +1 -0
- package/dist/IPSTMessageStore.d.ts +7 -0
- package/dist/IPSTMessageStore.js +1 -0
- package/dist/IPSTObject.d.ts +30 -0
- package/dist/IPSTObject.js +1 -0
- package/dist/IPSTRecipient.d.ts +48 -0
- package/dist/IPSTRecipient.js +1 -0
- package/dist/IPSTTask.d.ts +98 -0
- package/dist/IPSTTask.js +1 -0
- package/dist/IRecurrencePattern.d.ts +14 -0
- package/dist/IRecurrencePattern.js +1 -0
- package/dist/LZFu.class.d.ts +0 -1
- package/dist/LZFu.class.js +0 -1
- package/dist/NodeMap.class.d.ts +2 -5
- package/dist/NodeMap.class.js +2 -5
- package/dist/PAUtil.d.ts +7 -0
- package/dist/PAUtil.js +4 -0
- package/dist/PSTActivity.class.d.ts +2 -13
- package/dist/PSTActivity.class.js +0 -12
- package/dist/PSTAppointment.class.d.ts +2 -34
- package/dist/PSTAppointment.class.js +0 -34
- package/dist/PSTAttachment.class.d.ts +2 -20
- package/dist/PSTAttachment.class.js +0 -20
- package/dist/PSTContact.class.d.ts +2 -111
- package/dist/PSTContact.class.js +0 -111
- package/dist/PSTFile.class.d.ts +5 -18
- package/dist/PSTFile.class.js +0 -14
- package/dist/PSTFolder.class.d.ts +2 -15
- package/dist/PSTFolder.class.js +0 -14
- package/dist/PSTMessage.class.d.ts +2 -95
- package/dist/PSTMessage.class.js +0 -94
- package/dist/PSTMessageStore.class.d.ts +2 -2
- package/dist/PSTMessageStore.class.js +0 -1
- package/dist/PSTObject.class.d.ts +2 -12
- package/dist/PSTObject.class.js +0 -11
- package/dist/PSTRecipient.class.d.ts +2 -9
- package/dist/PSTRecipient.class.js +0 -9
- package/dist/PSTTask.class.d.ts +2 -19
- package/dist/PSTTask.class.js +0 -18
- package/dist/PSTUtil.class.d.ts +0 -9
- package/dist/PSTUtil.class.js +0 -9
- package/dist/PropertyTypeObject.d.ts +1 -1
- package/dist/PropertyTypeObject.js +1 -1
- package/dist/PropertyValueResolverV1.d.ts +3 -0
- package/dist/PropertyValueResolverV1.js +3 -0
- package/dist/RecurrencePattern.class.d.ts +2 -1
- package/dist/RootProvider.d.ts +3 -0
- package/dist/index.d.ts +18 -0
- package/dist/openPstFile.d.ts +3 -3
- package/package.json +7 -64
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
2
1
|
import { OutlookProperties } from './OutlookProperties.js';
|
|
3
2
|
import { PropertyTypeObject } from './PropertyTypeObject.js';
|
|
4
3
|
import { PSTFile } from './PSTFile.class.js';
|
|
@@ -12,7 +11,6 @@ export class PSTAttachment extends PSTObject {
|
|
|
12
11
|
* @internal
|
|
13
12
|
* @param {PSTFile} rootProvider
|
|
14
13
|
* @param {Map<number, PSTDescriptorItem>} localDescriptorItems
|
|
15
|
-
* @memberof PSTAttachment
|
|
16
14
|
*/
|
|
17
15
|
constructor(rootProvider, node, subNode, propertyFinder) {
|
|
18
16
|
super(rootProvider, node, subNode, propertyFinder);
|
|
@@ -22,7 +20,6 @@ export class PSTAttachment extends PSTObject {
|
|
|
22
20
|
* https://msdn.microsoft.com/en-us/library/gg156074(v=winembedded.70).aspx
|
|
23
21
|
* @readonly
|
|
24
22
|
* @type {number}
|
|
25
|
-
* @memberof PSTAttachment
|
|
26
23
|
*/
|
|
27
24
|
get size() {
|
|
28
25
|
return this.getIntItem(OutlookProperties.PR_ATTACH_SIZE);
|
|
@@ -32,7 +29,6 @@ export class PSTAttachment extends PSTObject {
|
|
|
32
29
|
* https://msdn.microsoft.com/en-us/library/office/cc765677.aspx
|
|
33
30
|
* @readonly
|
|
34
31
|
* @type {Date}
|
|
35
|
-
* @memberof PSTAttachment
|
|
36
32
|
*/
|
|
37
33
|
get creationTime() {
|
|
38
34
|
return this.getDateItem(OutlookProperties.PR_CREATION_TIME);
|
|
@@ -42,7 +38,6 @@ export class PSTAttachment extends PSTObject {
|
|
|
42
38
|
* https://msdn.microsoft.com/en-us/library/office/cc815689.aspx
|
|
43
39
|
* @readonly
|
|
44
40
|
* @type {Date}
|
|
45
|
-
* @memberof PSTAttachment
|
|
46
41
|
*/
|
|
47
42
|
get modificationTime() {
|
|
48
43
|
return this.getDateItem(OutlookProperties.PR_LAST_MODIFICATION_TIME);
|
|
@@ -51,7 +46,6 @@ export class PSTAttachment extends PSTObject {
|
|
|
51
46
|
* Get an embedded message.
|
|
52
47
|
* @readonly
|
|
53
48
|
* @type {PSTMessage}
|
|
54
|
-
* @memberof PSTAttachment
|
|
55
49
|
*/
|
|
56
50
|
async getEmbeddedPSTMessage() {
|
|
57
51
|
const attachMethod = this._propertyFinder.findByKey(0x3705)?.value;
|
|
@@ -101,7 +95,6 @@ export class PSTAttachment extends PSTObject {
|
|
|
101
95
|
* https://msdn.microsoft.com/en-us/library/gg154634(v=winembedded.70).aspx
|
|
102
96
|
* @readonly
|
|
103
97
|
* @type {number}
|
|
104
|
-
* @memberof PSTAttachment
|
|
105
98
|
*/
|
|
106
99
|
get filesize() {
|
|
107
100
|
const attachmentDataObject = this._propertyFinder.findByKey(OutlookProperties.PR_ATTACH_DATA_BIN);
|
|
@@ -121,7 +114,6 @@ export class PSTAttachment extends PSTObject {
|
|
|
121
114
|
* https://msdn.microsoft.com/en-us/library/office/cc842517.aspx
|
|
122
115
|
* @readonly
|
|
123
116
|
* @type {string}
|
|
124
|
-
* @memberof PSTAttachment
|
|
125
117
|
*/
|
|
126
118
|
get filename() {
|
|
127
119
|
return this.getStringItem(OutlookProperties.PR_ATTACH_FILENAME);
|
|
@@ -139,7 +131,6 @@ export class PSTAttachment extends PSTObject {
|
|
|
139
131
|
*
|
|
140
132
|
* @readonly
|
|
141
133
|
* @type {number}
|
|
142
|
-
* @memberof PSTAttachment
|
|
143
134
|
*/
|
|
144
135
|
get attachMethod() {
|
|
145
136
|
return this.getIntItem(OutlookProperties.PR_ATTACH_METHOD);
|
|
@@ -149,7 +140,6 @@ export class PSTAttachment extends PSTObject {
|
|
|
149
140
|
* https://msdn.microsoft.com/en-us/library/office/cc841969.aspx
|
|
150
141
|
* @readonly
|
|
151
142
|
* @type {number}
|
|
152
|
-
* @memberof PSTAttachment
|
|
153
143
|
*/
|
|
154
144
|
get attachNum() {
|
|
155
145
|
return this.getIntItem(OutlookProperties.PR_ATTACH_NUM);
|
|
@@ -159,7 +149,6 @@ export class PSTAttachment extends PSTObject {
|
|
|
159
149
|
* https://msdn.microsoft.com/en-us/library/office/cc842157.aspx
|
|
160
150
|
* @readonly
|
|
161
151
|
* @type {string}
|
|
162
|
-
* @memberof PSTAttachment
|
|
163
152
|
*/
|
|
164
153
|
get longFilename() {
|
|
165
154
|
return this.getStringItem(OutlookProperties.PR_ATTACH_LONG_FILENAME);
|
|
@@ -169,7 +158,6 @@ export class PSTAttachment extends PSTObject {
|
|
|
169
158
|
* https://msdn.microsoft.com/en-us/library/office/cc839889.aspx
|
|
170
159
|
* @readonly
|
|
171
160
|
* @type {string}
|
|
172
|
-
* @memberof PSTAttachment
|
|
173
161
|
*/
|
|
174
162
|
get pathname() {
|
|
175
163
|
return this.getStringItem(OutlookProperties.PR_ATTACH_PATHNAME);
|
|
@@ -179,7 +167,6 @@ export class PSTAttachment extends PSTObject {
|
|
|
179
167
|
* https://msdn.microsoft.com/en-us/library/office/cc842381.aspx
|
|
180
168
|
* @readonly
|
|
181
169
|
* @type {number}
|
|
182
|
-
* @memberof PSTAttachment
|
|
183
170
|
*/
|
|
184
171
|
get renderingPosition() {
|
|
185
172
|
return this.getIntItem(OutlookProperties.PR_RENDERING_POSITION);
|
|
@@ -189,7 +176,6 @@ export class PSTAttachment extends PSTObject {
|
|
|
189
176
|
* https://msdn.microsoft.com/en-us/library/office/cc815443.aspx
|
|
190
177
|
* @readonly
|
|
191
178
|
* @type {string}
|
|
192
|
-
* @memberof PSTAttachment
|
|
193
179
|
*/
|
|
194
180
|
get longPathname() {
|
|
195
181
|
return this.getStringItem(OutlookProperties.PR_ATTACH_LONG_PATHNAME);
|
|
@@ -199,7 +185,6 @@ export class PSTAttachment extends PSTObject {
|
|
|
199
185
|
* https://msdn.microsoft.com/en-us/library/office/cc842516.aspx
|
|
200
186
|
* @readonly
|
|
201
187
|
* @type {string}
|
|
202
|
-
* @memberof PSTAttachment
|
|
203
188
|
*/
|
|
204
189
|
get mimeTag() {
|
|
205
190
|
return this.getStringItem(OutlookProperties.PR_ATTACH_MIME_TAG);
|
|
@@ -209,7 +194,6 @@ export class PSTAttachment extends PSTObject {
|
|
|
209
194
|
* https://msdn.microsoft.com/en-us/library/office/cc963256.aspx
|
|
210
195
|
* @readonly
|
|
211
196
|
* @type {number}
|
|
212
|
-
* @memberof PSTAttachment
|
|
213
197
|
*/
|
|
214
198
|
get mimeSequence() {
|
|
215
199
|
return this.getIntItem(OutlookProperties.PR_ATTACH_MIME_SEQUENCE);
|
|
@@ -219,7 +203,6 @@ export class PSTAttachment extends PSTObject {
|
|
|
219
203
|
* https://msdn.microsoft.com/en-us/library/office/cc765868.aspx
|
|
220
204
|
* @readonly
|
|
221
205
|
* @type {string}
|
|
222
|
-
* @memberof PSTAttachment
|
|
223
206
|
*/
|
|
224
207
|
get contentId() {
|
|
225
208
|
return this.getStringItem(OutlookProperties.PR_ATTACH_CONTENT_ID);
|
|
@@ -229,7 +212,6 @@ export class PSTAttachment extends PSTObject {
|
|
|
229
212
|
* https://msdn.microsoft.com/en-us/library/office/cc765876.aspx
|
|
230
213
|
* @readonly
|
|
231
214
|
* @type {boolean}
|
|
232
|
-
* @memberof PSTAttachment
|
|
233
215
|
*/
|
|
234
216
|
get isAttachmentInvisibleInHtml() {
|
|
235
217
|
const actionFlag = this.getIntItem(OutlookProperties.PR_ATTACH_FLAGS);
|
|
@@ -240,7 +222,6 @@ export class PSTAttachment extends PSTObject {
|
|
|
240
222
|
* https://msdn.microsoft.com/en-us/library/office/cc765876.aspx
|
|
241
223
|
* @readonly
|
|
242
224
|
* @type {boolean}
|
|
243
|
-
* @memberof PSTAttachment
|
|
244
225
|
*/
|
|
245
226
|
get isAttachmentInvisibleInRTF() {
|
|
246
227
|
const actionFlag = this.getIntItem(OutlookProperties.PR_ATTACH_FLAGS);
|
|
@@ -249,7 +230,6 @@ export class PSTAttachment extends PSTObject {
|
|
|
249
230
|
/**
|
|
250
231
|
* JSON stringify the object properties.
|
|
251
232
|
* @returns {string}
|
|
252
|
-
* @memberof PSTAttachment
|
|
253
233
|
*/
|
|
254
234
|
toJSON() {
|
|
255
235
|
const clone = Object.assign({
|