pst-extractor 1.9.0 → 1.10.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.
Files changed (59) hide show
  1. package/dist/ColumnDescriptor.class.d.ts +26 -26
  2. package/dist/ColumnDescriptor.class.js +51 -51
  3. package/dist/DescriptorIndexNode.class.d.ts +25 -26
  4. package/dist/DescriptorIndexNode.class.js +53 -53
  5. package/dist/LZFu.class.d.ts +11 -12
  6. package/dist/LZFu.class.js +95 -95
  7. package/dist/NodeInfo.class.d.ts +33 -33
  8. package/dist/NodeInfo.class.js +52 -52
  9. package/dist/NodeMap.class.d.ts +35 -35
  10. package/dist/NodeMap.class.js +86 -86
  11. package/dist/OffsetIndexItem.class.d.ts +23 -24
  12. package/dist/OffsetIndexItem.class.js +45 -45
  13. package/dist/OutlookProperties.d.ts +275 -275
  14. package/dist/OutlookProperties.js +281 -281
  15. package/dist/PSTActivity.class.d.ts +103 -103
  16. package/dist/PSTActivity.class.js +144 -144
  17. package/dist/PSTAppointment.class.d.ts +270 -271
  18. package/dist/PSTAppointment.class.js +376 -376
  19. package/dist/PSTAttachment.class.d.ts +172 -172
  20. package/dist/PSTAttachment.class.js +317 -317
  21. package/dist/PSTContact.class.d.ts +884 -884
  22. package/dist/PSTContact.class.js +1227 -1227
  23. package/dist/PSTDescriptorItem.class.d.ts +45 -46
  24. package/dist/PSTDescriptorItem.class.js +99 -99
  25. package/dist/PSTFile.class.d.ts +215 -216
  26. package/dist/PSTFile.class.js +818 -818
  27. package/dist/PSTFolder.class.d.ts +129 -129
  28. package/dist/PSTFolder.class.js +318 -310
  29. package/dist/PSTMessage.class.d.ts +788 -789
  30. package/dist/PSTMessage.class.js +1321 -1321
  31. package/dist/PSTMessageStore.class.d.ts +13 -13
  32. package/dist/PSTMessageStore.class.js +17 -17
  33. package/dist/PSTNodeInputStream.class.d.ts +122 -123
  34. package/dist/PSTNodeInputStream.class.js +514 -514
  35. package/dist/PSTObject.class.d.ts +133 -134
  36. package/dist/PSTObject.class.js +326 -326
  37. package/dist/PSTRecipient.class.d.ts +65 -65
  38. package/dist/PSTRecipient.class.js +103 -103
  39. package/dist/PSTTable.class.d.ts +52 -52
  40. package/dist/PSTTable.class.js +175 -175
  41. package/dist/PSTTable7C.class.d.ts +45 -45
  42. package/dist/PSTTable7C.class.js +281 -281
  43. package/dist/PSTTableBC.class.d.ts +31 -31
  44. package/dist/PSTTableBC.class.js +111 -111
  45. package/dist/PSTTableItem.class.d.ts +47 -48
  46. package/dist/PSTTableItem.class.js +124 -124
  47. package/dist/PSTTask.class.d.ts +146 -146
  48. package/dist/PSTTask.class.js +205 -205
  49. package/dist/PSTUtil.class.d.ts +134 -135
  50. package/dist/PSTUtil.class.js +795 -795
  51. package/dist/RecurrencePattern.class.d.ts +49 -50
  52. package/dist/RecurrencePattern.class.js +120 -120
  53. package/dist/index.d.ts +6 -6
  54. package/dist/index.js +15 -15
  55. package/example/package.json +6 -6
  56. package/example/yarn.lock +95 -44
  57. package/junit.xml +68 -68
  58. package/package.json +26 -26
  59. package/readme.md +1 -3
@@ -1,134 +1,133 @@
1
- /// <reference types="node" />
2
- import Long from 'long';
3
- import { DescriptorIndexNode } from './DescriptorIndexNode.class';
4
- import { PSTDescriptorItem } from './PSTDescriptorItem.class';
5
- import { PSTFile } from './PSTFile.class';
6
- import { PSTTableBC } from './PSTTableBC.class';
7
- import { PSTTableItem } from './PSTTableItem.class';
8
- export declare abstract class PSTObject {
9
- protected pstFile: PSTFile;
10
- protected descriptorIndexNode: DescriptorIndexNode | null;
11
- protected localDescriptorItems: Map<number, PSTDescriptorItem> | null;
12
- private pstTableBC;
13
- protected pstTableItems: Map<number, PSTTableItem> | null;
14
- /**
15
- * Creates an instance of PSTObject, the root class of most PST Items.
16
- * @memberof PSTObject
17
- */
18
- constructor(pstFile: PSTFile, descriptorIndexNode?: DescriptorIndexNode, pstTableItems?: Map<number, PSTTableItem>);
19
- /**
20
- * Load a descriptor from the PST.
21
- * @protected
22
- * @param {PSTFile} pstFile
23
- * @param {DescriptorIndexNode} descriptorIndexNode
24
- * @memberof PSTObject
25
- */
26
- private loadDescriptor;
27
- /**
28
- * Get table items.
29
- * @protected
30
- * @param {PSTFile} theFile
31
- * @param {DescriptorIndexNode} folderIndexNode
32
- * @param {PSTTableBC} pstTableBC
33
- * @param {Map<number, PSTDescriptorItem>} localDescriptorItems
34
- * @memberof PSTObject
35
- */
36
- protected prePopulate(folderIndexNode: DescriptorIndexNode | null, pstTableBC: PSTTableBC, localDescriptorItems?: Map<number, PSTDescriptorItem>): void;
37
- /**
38
- * Get the descriptor identifier for this item which can be used for loading objects
39
- * through detectAndLoadPSTObject(PSTFile theFile, long descriptorIndex)
40
- * @readonly
41
- * @type {long}
42
- * @memberof PSTObject
43
- */
44
- get descriptorNodeId(): Long;
45
- /**
46
- * Get the node type for the descriptor id.
47
- * @param {number} [descriptorIdentifier]
48
- * @returns {number}
49
- * @memberof PSTObject
50
- */
51
- getNodeType(descriptorIdentifier?: number): number;
52
- /**
53
- * Get a number.
54
- * @protected
55
- * @param {number} identifier
56
- * @param {number} [defaultValue]
57
- * @returns {number}
58
- * @memberof PSTObject
59
- */
60
- protected getIntItem(identifier: number, defaultValue?: number): number;
61
- /**
62
- * Get a boolean.
63
- * @protected
64
- * @param {number} identifier
65
- * @param {boolean} [defaultValue]
66
- * @returns {boolean}
67
- * @memberof PSTObject
68
- */
69
- protected getBooleanItem(identifier: number, defaultValue?: boolean): boolean;
70
- /**
71
- * Get a double.
72
- * @protected
73
- * @param {number} identifier
74
- * @param {number} [defaultValue]
75
- * @returns {number}
76
- * @memberof PSTObject
77
- */
78
- protected getDoubleItem(identifier: number, defaultValue?: number): number;
79
- /**
80
- * Get a long.
81
- * @protected
82
- * @param {number} identifier
83
- * @param {long} [defaultValue]
84
- * @returns {long}
85
- * @memberof PSTObject
86
- */
87
- protected getLongItem(identifier: number, defaultValue?: Long): Long;
88
- /**
89
- * Get a string.
90
- * @protected
91
- * @param {number} identifier
92
- * @param {number} [stringType]
93
- * @param {string} [codepage]
94
- * @returns {string}
95
- * @memberof PSTObject
96
- */
97
- protected getStringItem(identifier: number, stringType?: number, codepage?: string): string;
98
- /**
99
- * Get a codepage.
100
- * @readonly
101
- * @type {string}
102
- * @memberof PSTObject
103
- */
104
- get stringCodepage(): string | undefined;
105
- /**
106
- * Get a date.
107
- * @param {number} identifier
108
- * @returns {Date}
109
- * @memberof PSTObject
110
- */
111
- getDateItem(identifier: number): Date | null;
112
- /**
113
- * Get a blob.
114
- * @protected
115
- * @param {number} identifier
116
- * @returns {Buffer}
117
- * @memberof PSTObject
118
- */
119
- protected getBinaryItem(identifier: number): Buffer | null;
120
- /**
121
- * Get the display name of this object.
122
- * https://msdn.microsoft.com/en-us/library/office/cc842383.aspx
123
- * @readonly
124
- * @type {string}
125
- * @memberof PSTObject
126
- */
127
- get displayName(): string;
128
- /**
129
- * JSON the object.
130
- * @returns {string}
131
- * @memberof PSTObject
132
- */
133
- toJSON(): any;
134
- }
1
+ import Long from 'long';
2
+ import { DescriptorIndexNode } from './DescriptorIndexNode.class';
3
+ import { PSTDescriptorItem } from './PSTDescriptorItem.class';
4
+ import { PSTFile } from './PSTFile.class';
5
+ import { PSTTableBC } from './PSTTableBC.class';
6
+ import { PSTTableItem } from './PSTTableItem.class';
7
+ export declare abstract class PSTObject {
8
+ protected pstFile: PSTFile;
9
+ protected descriptorIndexNode: DescriptorIndexNode | null;
10
+ protected localDescriptorItems: Map<number, PSTDescriptorItem> | null;
11
+ private pstTableBC;
12
+ protected pstTableItems: Map<number, PSTTableItem> | null;
13
+ /**
14
+ * Creates an instance of PSTObject, the root class of most PST Items.
15
+ * @memberof PSTObject
16
+ */
17
+ constructor(pstFile: PSTFile, descriptorIndexNode?: DescriptorIndexNode, pstTableItems?: Map<number, PSTTableItem>);
18
+ /**
19
+ * Load a descriptor from the PST.
20
+ * @protected
21
+ * @param {PSTFile} pstFile
22
+ * @param {DescriptorIndexNode} descriptorIndexNode
23
+ * @memberof PSTObject
24
+ */
25
+ private loadDescriptor;
26
+ /**
27
+ * Get table items.
28
+ * @protected
29
+ * @param {PSTFile} theFile
30
+ * @param {DescriptorIndexNode} folderIndexNode
31
+ * @param {PSTTableBC} pstTableBC
32
+ * @param {Map<number, PSTDescriptorItem>} localDescriptorItems
33
+ * @memberof PSTObject
34
+ */
35
+ protected prePopulate(folderIndexNode: DescriptorIndexNode | null, pstTableBC: PSTTableBC, localDescriptorItems?: Map<number, PSTDescriptorItem>): void;
36
+ /**
37
+ * Get the descriptor identifier for this item which can be used for loading objects
38
+ * through detectAndLoadPSTObject(PSTFile theFile, long descriptorIndex)
39
+ * @readonly
40
+ * @type {long}
41
+ * @memberof PSTObject
42
+ */
43
+ get descriptorNodeId(): Long;
44
+ /**
45
+ * Get the node type for the descriptor id.
46
+ * @param {number} [descriptorIdentifier]
47
+ * @returns {number}
48
+ * @memberof PSTObject
49
+ */
50
+ getNodeType(descriptorIdentifier?: number): number;
51
+ /**
52
+ * Get a number.
53
+ * @protected
54
+ * @param {number} identifier
55
+ * @param {number} [defaultValue]
56
+ * @returns {number}
57
+ * @memberof PSTObject
58
+ */
59
+ protected getIntItem(identifier: number, defaultValue?: number): number;
60
+ /**
61
+ * Get a boolean.
62
+ * @protected
63
+ * @param {number} identifier
64
+ * @param {boolean} [defaultValue]
65
+ * @returns {boolean}
66
+ * @memberof PSTObject
67
+ */
68
+ protected getBooleanItem(identifier: number, defaultValue?: boolean): boolean;
69
+ /**
70
+ * Get a double.
71
+ * @protected
72
+ * @param {number} identifier
73
+ * @param {number} [defaultValue]
74
+ * @returns {number}
75
+ * @memberof PSTObject
76
+ */
77
+ protected getDoubleItem(identifier: number, defaultValue?: number): number;
78
+ /**
79
+ * Get a long.
80
+ * @protected
81
+ * @param {number} identifier
82
+ * @param {long} [defaultValue]
83
+ * @returns {long}
84
+ * @memberof PSTObject
85
+ */
86
+ protected getLongItem(identifier: number, defaultValue?: Long): Long;
87
+ /**
88
+ * Get a string.
89
+ * @protected
90
+ * @param {number} identifier
91
+ * @param {number} [stringType]
92
+ * @param {string} [codepage]
93
+ * @returns {string}
94
+ * @memberof PSTObject
95
+ */
96
+ protected getStringItem(identifier: number, stringType?: number, codepage?: string): string;
97
+ /**
98
+ * Get a codepage.
99
+ * @readonly
100
+ * @type {string}
101
+ * @memberof PSTObject
102
+ */
103
+ get stringCodepage(): string | undefined;
104
+ /**
105
+ * Get a date.
106
+ * @param {number} identifier
107
+ * @returns {Date}
108
+ * @memberof PSTObject
109
+ */
110
+ getDateItem(identifier: number): Date | null;
111
+ /**
112
+ * Get a blob.
113
+ * @protected
114
+ * @param {number} identifier
115
+ * @returns {Buffer}
116
+ * @memberof PSTObject
117
+ */
118
+ protected getBinaryItem(identifier: number): Buffer | null;
119
+ /**
120
+ * Get the display name of this object.
121
+ * https://msdn.microsoft.com/en-us/library/office/cc842383.aspx
122
+ * @readonly
123
+ * @type {string}
124
+ * @memberof PSTObject
125
+ */
126
+ get displayName(): string;
127
+ /**
128
+ * JSON the object.
129
+ * @returns {string}
130
+ * @memberof PSTObject
131
+ */
132
+ toJSON(): any;
133
+ }