@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.
Files changed (63) hide show
  1. package/dist/IPSTActivity.d.ts +66 -0
  2. package/dist/IPSTActivity.js +1 -0
  3. package/dist/IPSTAppointment.d.ts +198 -0
  4. package/dist/IPSTAppointment.js +1 -0
  5. package/dist/IPSTAttachment.d.ts +120 -0
  6. package/dist/IPSTAttachment.js +1 -0
  7. package/dist/IPSTContact.d.ts +669 -0
  8. package/dist/IPSTContact.js +1 -0
  9. package/dist/IPSTFile.d.ts +54 -0
  10. package/dist/IPSTFile.js +1 -0
  11. package/dist/IPSTFolder.d.ts +70 -0
  12. package/dist/IPSTFolder.js +1 -0
  13. package/dist/IPSTMessage.d.ts +570 -0
  14. package/dist/IPSTMessage.js +1 -0
  15. package/dist/IPSTMessageStore.d.ts +7 -0
  16. package/dist/IPSTMessageStore.js +1 -0
  17. package/dist/IPSTObject.d.ts +30 -0
  18. package/dist/IPSTObject.js +1 -0
  19. package/dist/IPSTRecipient.d.ts +48 -0
  20. package/dist/IPSTRecipient.js +1 -0
  21. package/dist/IPSTTask.d.ts +98 -0
  22. package/dist/IPSTTask.js +1 -0
  23. package/dist/IRecurrencePattern.d.ts +14 -0
  24. package/dist/IRecurrencePattern.js +1 -0
  25. package/dist/LZFu.class.d.ts +0 -1
  26. package/dist/LZFu.class.js +0 -1
  27. package/dist/NodeMap.class.d.ts +2 -5
  28. package/dist/NodeMap.class.js +2 -5
  29. package/dist/PAUtil.d.ts +7 -0
  30. package/dist/PAUtil.js +4 -0
  31. package/dist/PSTActivity.class.d.ts +2 -13
  32. package/dist/PSTActivity.class.js +0 -12
  33. package/dist/PSTAppointment.class.d.ts +2 -34
  34. package/dist/PSTAppointment.class.js +0 -34
  35. package/dist/PSTAttachment.class.d.ts +2 -20
  36. package/dist/PSTAttachment.class.js +0 -20
  37. package/dist/PSTContact.class.d.ts +2 -111
  38. package/dist/PSTContact.class.js +0 -111
  39. package/dist/PSTFile.class.d.ts +5 -18
  40. package/dist/PSTFile.class.js +0 -14
  41. package/dist/PSTFolder.class.d.ts +2 -15
  42. package/dist/PSTFolder.class.js +0 -14
  43. package/dist/PSTMessage.class.d.ts +2 -95
  44. package/dist/PSTMessage.class.js +0 -94
  45. package/dist/PSTMessageStore.class.d.ts +2 -2
  46. package/dist/PSTMessageStore.class.js +0 -1
  47. package/dist/PSTObject.class.d.ts +2 -12
  48. package/dist/PSTObject.class.js +0 -11
  49. package/dist/PSTRecipient.class.d.ts +2 -9
  50. package/dist/PSTRecipient.class.js +0 -9
  51. package/dist/PSTTask.class.d.ts +2 -19
  52. package/dist/PSTTask.class.js +0 -18
  53. package/dist/PSTUtil.class.d.ts +0 -9
  54. package/dist/PSTUtil.class.js +0 -9
  55. package/dist/PropertyTypeObject.d.ts +1 -1
  56. package/dist/PropertyTypeObject.js +1 -1
  57. package/dist/PropertyValueResolverV1.d.ts +3 -0
  58. package/dist/PropertyValueResolverV1.js +3 -0
  59. package/dist/RecurrencePattern.class.d.ts +2 -1
  60. package/dist/RootProvider.d.ts +3 -0
  61. package/dist/index.d.ts +18 -0
  62. package/dist/openPstFile.d.ts +3 -3
  63. 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({