pst-extractor 1.9.0 → 1.11.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.
- package/dist/ColumnDescriptor.class.d.ts +26 -26
- package/dist/ColumnDescriptor.class.js +51 -51
- package/dist/DescriptorIndexNode.class.d.ts +25 -26
- package/dist/DescriptorIndexNode.class.js +53 -53
- package/dist/LZFu.class.d.ts +11 -12
- package/dist/LZFu.class.js +95 -95
- package/dist/NodeInfo.class.d.ts +33 -33
- package/dist/NodeInfo.class.js +52 -52
- package/dist/NodeMap.class.d.ts +35 -35
- package/dist/NodeMap.class.js +86 -86
- package/dist/OffsetIndexItem.class.d.ts +23 -24
- package/dist/OffsetIndexItem.class.js +45 -45
- package/dist/OutlookProperties.d.ts +275 -275
- package/dist/OutlookProperties.js +281 -281
- package/dist/PSTActivity.class.d.ts +103 -103
- package/dist/PSTActivity.class.js +144 -144
- package/dist/PSTAppointment.class.d.ts +270 -271
- package/dist/PSTAppointment.class.js +376 -376
- package/dist/PSTAttachment.class.d.ts +172 -172
- package/dist/PSTAttachment.class.js +317 -317
- package/dist/PSTContact.class.d.ts +884 -884
- package/dist/PSTContact.class.js +1227 -1227
- package/dist/PSTDescriptorItem.class.d.ts +45 -46
- package/dist/PSTDescriptorItem.class.js +99 -99
- package/dist/PSTFile.class.d.ts +215 -216
- package/dist/PSTFile.class.js +830 -818
- package/dist/PSTFolder.class.d.ts +129 -129
- package/dist/PSTFolder.class.js +318 -310
- package/dist/PSTMessage.class.d.ts +788 -789
- package/dist/PSTMessage.class.js +1321 -1321
- package/dist/PSTMessageStore.class.d.ts +13 -13
- package/dist/PSTMessageStore.class.js +17 -17
- package/dist/PSTNodeInputStream.class.d.ts +122 -123
- package/dist/PSTNodeInputStream.class.js +524 -514
- package/dist/PSTObject.class.d.ts +133 -134
- package/dist/PSTObject.class.js +326 -326
- package/dist/PSTRecipient.class.d.ts +65 -65
- package/dist/PSTRecipient.class.js +103 -103
- package/dist/PSTTable.class.d.ts +52 -52
- package/dist/PSTTable.class.js +175 -175
- package/dist/PSTTable7C.class.d.ts +45 -45
- package/dist/PSTTable7C.class.js +282 -281
- package/dist/PSTTableBC.class.d.ts +31 -31
- package/dist/PSTTableBC.class.js +111 -111
- package/dist/PSTTableItem.class.d.ts +47 -48
- package/dist/PSTTableItem.class.js +124 -124
- package/dist/PSTTask.class.d.ts +146 -146
- package/dist/PSTTask.class.js +205 -205
- package/dist/PSTUtil.class.d.ts +134 -135
- package/dist/PSTUtil.class.js +795 -795
- package/dist/RecurrencePattern.class.d.ts +49 -50
- package/dist/RecurrencePattern.class.js +120 -120
- package/dist/index.d.ts +6 -6
- package/dist/index.js +15 -15
- package/example/package.json +6 -6
- package/example/yarn.lock +120 -67
- package/junit.xml +68 -68
- package/package.json +26 -26
- package/readme.md +3 -3
|
@@ -1,134 +1,133 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
protected
|
|
10
|
-
protected
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
*
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
*
|
|
21
|
-
* @
|
|
22
|
-
* @param {
|
|
23
|
-
* @
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
*
|
|
29
|
-
* @
|
|
30
|
-
* @param {
|
|
31
|
-
* @param {
|
|
32
|
-
* @param {
|
|
33
|
-
* @
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
* @
|
|
41
|
-
* @
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
*
|
|
47
|
-
* @
|
|
48
|
-
* @
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
*
|
|
54
|
-
* @
|
|
55
|
-
* @param {number}
|
|
56
|
-
* @
|
|
57
|
-
* @
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
*
|
|
63
|
-
* @
|
|
64
|
-
* @param {
|
|
65
|
-
* @
|
|
66
|
-
* @
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
*
|
|
72
|
-
* @
|
|
73
|
-
* @param {number}
|
|
74
|
-
* @
|
|
75
|
-
* @
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
*
|
|
81
|
-
* @
|
|
82
|
-
* @param {
|
|
83
|
-
* @
|
|
84
|
-
* @
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
*
|
|
90
|
-
* @
|
|
91
|
-
* @param {number}
|
|
92
|
-
* @param {
|
|
93
|
-
* @
|
|
94
|
-
* @
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
*
|
|
100
|
-
* @
|
|
101
|
-
* @
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
*
|
|
107
|
-
* @
|
|
108
|
-
* @
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
*
|
|
114
|
-
* @
|
|
115
|
-
* @
|
|
116
|
-
* @
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
*
|
|
122
|
-
*
|
|
123
|
-
* @
|
|
124
|
-
* @
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
*
|
|
130
|
-
* @
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
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
|
+
}
|