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.
- 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 +818 -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 +514 -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 +281 -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 +95 -44
- package/junit.xml +68 -68
- package/package.json +26 -26
- package/readme.md +1 -3
|
@@ -1,129 +1,129 @@
|
|
|
1
|
-
import { DescriptorIndexNode } from './DescriptorIndexNode.class';
|
|
2
|
-
import { PSTDescriptorItem } from './PSTDescriptorItem.class';
|
|
3
|
-
import { PSTFile } from './PSTFile.class';
|
|
4
|
-
import { PSTTableBC } from './PSTTableBC.class';
|
|
5
|
-
import { PSTObject } from './PSTObject.class';
|
|
6
|
-
/**
|
|
7
|
-
* Represents a folder in the PST File. Allows you to access child folders or items.
|
|
8
|
-
* Items are accessed through a sort of cursor arrangement. This allows for
|
|
9
|
-
* incremental reading of a folder which may have _lots_ of emails.
|
|
10
|
-
* @export
|
|
11
|
-
* @class PSTFolder
|
|
12
|
-
* @extends {PSTObject}
|
|
13
|
-
*/
|
|
14
|
-
export declare class PSTFolder extends PSTObject {
|
|
15
|
-
private currentEmailIndex;
|
|
16
|
-
private subfoldersTable;
|
|
17
|
-
private emailsTable;
|
|
18
|
-
private fallbackEmailsTable;
|
|
19
|
-
/**
|
|
20
|
-
* Creates an instance of PSTFolder.
|
|
21
|
-
* Represents a folder in the PST File. Allows you to access child folders or items.
|
|
22
|
-
* Items are accessed through a sort of cursor arrangement. This allows for
|
|
23
|
-
* incremental reading of a folder which may have _lots_ of emails.
|
|
24
|
-
* @param {PSTFile} pstFile
|
|
25
|
-
* @param {DescriptorIndexNode} descriptorIndexNode
|
|
26
|
-
* @param {PSTTableBC} [table]
|
|
27
|
-
* @param {Map<number, PSTDescriptorItem>} [localDescriptorItems]
|
|
28
|
-
* @memberof PSTFolder
|
|
29
|
-
*/
|
|
30
|
-
constructor(pstFile: PSTFile, descriptorIndexNode: DescriptorIndexNode, table?: PSTTableBC, localDescriptorItems?: Map<number, PSTDescriptorItem>);
|
|
31
|
-
/**
|
|
32
|
-
* Get folders in one fell swoop, since there's not usually thousands of them.
|
|
33
|
-
* @returns {PSTFolder[]}
|
|
34
|
-
* @memberof PSTFolder
|
|
35
|
-
*/
|
|
36
|
-
getSubFolders(): PSTFolder[];
|
|
37
|
-
/**
|
|
38
|
-
* Load subfolders table.
|
|
39
|
-
* @private
|
|
40
|
-
* @returns
|
|
41
|
-
* @memberof PSTFolder
|
|
42
|
-
*/
|
|
43
|
-
private initSubfoldersTable;
|
|
44
|
-
private initEmailsTable;
|
|
45
|
-
/**
|
|
46
|
-
* Get the next child of this folder. As there could be thousands of emails, we have these
|
|
47
|
-
* kind of cursor operations.
|
|
48
|
-
* @returns {*}
|
|
49
|
-
* @memberof PSTFolder
|
|
50
|
-
*/
|
|
51
|
-
getNextChild(): any;
|
|
52
|
-
/**
|
|
53
|
-
* Move the internal folder cursor to the desired position position 0 is before the first record.
|
|
54
|
-
* @param {number} newIndex
|
|
55
|
-
* @returns
|
|
56
|
-
* @memberof PSTFolder
|
|
57
|
-
*/
|
|
58
|
-
moveChildCursorTo(newIndex: number): void;
|
|
59
|
-
/**
|
|
60
|
-
* The number of child folders in this folder
|
|
61
|
-
* @readonly
|
|
62
|
-
* @type {number}
|
|
63
|
-
* @memberof PSTFolder
|
|
64
|
-
*/
|
|
65
|
-
get subFolderCount(): number;
|
|
66
|
-
/**
|
|
67
|
-
* Number of emails in this folder
|
|
68
|
-
* @readonly
|
|
69
|
-
* @type {number}
|
|
70
|
-
* @memberof PSTFolder
|
|
71
|
-
*/
|
|
72
|
-
get emailCount(): number;
|
|
73
|
-
/**
|
|
74
|
-
* Contains a constant that indicates the folder type.
|
|
75
|
-
* https://msdn.microsoft.com/en-us/library/office/cc815373.aspx
|
|
76
|
-
* @readonly
|
|
77
|
-
* @type {number}
|
|
78
|
-
* @memberof PSTFolder
|
|
79
|
-
*/
|
|
80
|
-
get folderType(): number;
|
|
81
|
-
/**
|
|
82
|
-
* Contains the number of messages in a folder, as computed by the message store.
|
|
83
|
-
* For a number calculated by the library use getEmailCount
|
|
84
|
-
* @readonly
|
|
85
|
-
* @type {number}
|
|
86
|
-
* @memberof PSTFolder
|
|
87
|
-
*/
|
|
88
|
-
get contentCount(): number;
|
|
89
|
-
/**
|
|
90
|
-
* Contains the number of unread messages in a folder, as computed by the message store.
|
|
91
|
-
* https://msdn.microsoft.com/en-us/library/office/cc841964.aspx
|
|
92
|
-
* @readonly
|
|
93
|
-
* @type {number}
|
|
94
|
-
* @memberof PSTFolder
|
|
95
|
-
*/
|
|
96
|
-
get unreadCount(): number;
|
|
97
|
-
/**
|
|
98
|
-
* Contains TRUE if a folder contains subfolders.
|
|
99
|
-
* once again, read from the PST, use getSubFolderCount if you want to know
|
|
100
|
-
* @readonly
|
|
101
|
-
* @type {boolean}
|
|
102
|
-
* @memberof PSTFolder
|
|
103
|
-
*/
|
|
104
|
-
get hasSubfolders(): boolean;
|
|
105
|
-
/**
|
|
106
|
-
* Contains a text string describing the type of a folder. Although this property is
|
|
107
|
-
* generally ignored, versions of Microsoft® Exchange Server prior to Exchange Server
|
|
108
|
-
* 2003 Mailbox Manager expect this property to be present.
|
|
109
|
-
* https://msdn.microsoft.com/en-us/library/office/cc839839.aspx
|
|
110
|
-
* @readonly
|
|
111
|
-
* @type {string}
|
|
112
|
-
* @memberof PSTFolder
|
|
113
|
-
*/
|
|
114
|
-
get containerClass(): string;
|
|
115
|
-
/**
|
|
116
|
-
* Contains a bitmask of flags describing capabilities of an address book container.
|
|
117
|
-
* https://msdn.microsoft.com/en-us/library/office/cc839610.aspx
|
|
118
|
-
* @readonly
|
|
119
|
-
* @type {number}
|
|
120
|
-
* @memberof PSTFolder
|
|
121
|
-
*/
|
|
122
|
-
get containerFlags(): number;
|
|
123
|
-
/**
|
|
124
|
-
* JSON stringify the object properties.
|
|
125
|
-
* @returns {string}
|
|
126
|
-
* @memberof PSTFolder
|
|
127
|
-
*/
|
|
128
|
-
toJSON(): any;
|
|
129
|
-
}
|
|
1
|
+
import { DescriptorIndexNode } from './DescriptorIndexNode.class';
|
|
2
|
+
import { PSTDescriptorItem } from './PSTDescriptorItem.class';
|
|
3
|
+
import { PSTFile } from './PSTFile.class';
|
|
4
|
+
import { PSTTableBC } from './PSTTableBC.class';
|
|
5
|
+
import { PSTObject } from './PSTObject.class';
|
|
6
|
+
/**
|
|
7
|
+
* Represents a folder in the PST File. Allows you to access child folders or items.
|
|
8
|
+
* Items are accessed through a sort of cursor arrangement. This allows for
|
|
9
|
+
* incremental reading of a folder which may have _lots_ of emails.
|
|
10
|
+
* @export
|
|
11
|
+
* @class PSTFolder
|
|
12
|
+
* @extends {PSTObject}
|
|
13
|
+
*/
|
|
14
|
+
export declare class PSTFolder extends PSTObject {
|
|
15
|
+
private currentEmailIndex;
|
|
16
|
+
private subfoldersTable;
|
|
17
|
+
private emailsTable;
|
|
18
|
+
private fallbackEmailsTable;
|
|
19
|
+
/**
|
|
20
|
+
* Creates an instance of PSTFolder.
|
|
21
|
+
* Represents a folder in the PST File. Allows you to access child folders or items.
|
|
22
|
+
* Items are accessed through a sort of cursor arrangement. This allows for
|
|
23
|
+
* incremental reading of a folder which may have _lots_ of emails.
|
|
24
|
+
* @param {PSTFile} pstFile
|
|
25
|
+
* @param {DescriptorIndexNode} descriptorIndexNode
|
|
26
|
+
* @param {PSTTableBC} [table]
|
|
27
|
+
* @param {Map<number, PSTDescriptorItem>} [localDescriptorItems]
|
|
28
|
+
* @memberof PSTFolder
|
|
29
|
+
*/
|
|
30
|
+
constructor(pstFile: PSTFile, descriptorIndexNode: DescriptorIndexNode, table?: PSTTableBC, localDescriptorItems?: Map<number, PSTDescriptorItem>);
|
|
31
|
+
/**
|
|
32
|
+
* Get folders in one fell swoop, since there's not usually thousands of them.
|
|
33
|
+
* @returns {PSTFolder[]}
|
|
34
|
+
* @memberof PSTFolder
|
|
35
|
+
*/
|
|
36
|
+
getSubFolders(): PSTFolder[];
|
|
37
|
+
/**
|
|
38
|
+
* Load subfolders table.
|
|
39
|
+
* @private
|
|
40
|
+
* @returns
|
|
41
|
+
* @memberof PSTFolder
|
|
42
|
+
*/
|
|
43
|
+
private initSubfoldersTable;
|
|
44
|
+
private initEmailsTable;
|
|
45
|
+
/**
|
|
46
|
+
* Get the next child of this folder. As there could be thousands of emails, we have these
|
|
47
|
+
* kind of cursor operations.
|
|
48
|
+
* @returns {*}
|
|
49
|
+
* @memberof PSTFolder
|
|
50
|
+
*/
|
|
51
|
+
getNextChild(): any;
|
|
52
|
+
/**
|
|
53
|
+
* Move the internal folder cursor to the desired position position 0 is before the first record.
|
|
54
|
+
* @param {number} newIndex
|
|
55
|
+
* @returns
|
|
56
|
+
* @memberof PSTFolder
|
|
57
|
+
*/
|
|
58
|
+
moveChildCursorTo(newIndex: number): void;
|
|
59
|
+
/**
|
|
60
|
+
* The number of child folders in this folder
|
|
61
|
+
* @readonly
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof PSTFolder
|
|
64
|
+
*/
|
|
65
|
+
get subFolderCount(): number;
|
|
66
|
+
/**
|
|
67
|
+
* Number of emails in this folder
|
|
68
|
+
* @readonly
|
|
69
|
+
* @type {number}
|
|
70
|
+
* @memberof PSTFolder
|
|
71
|
+
*/
|
|
72
|
+
get emailCount(): number;
|
|
73
|
+
/**
|
|
74
|
+
* Contains a constant that indicates the folder type.
|
|
75
|
+
* https://msdn.microsoft.com/en-us/library/office/cc815373.aspx
|
|
76
|
+
* @readonly
|
|
77
|
+
* @type {number}
|
|
78
|
+
* @memberof PSTFolder
|
|
79
|
+
*/
|
|
80
|
+
get folderType(): number;
|
|
81
|
+
/**
|
|
82
|
+
* Contains the number of messages in a folder, as computed by the message store.
|
|
83
|
+
* For a number calculated by the library use getEmailCount
|
|
84
|
+
* @readonly
|
|
85
|
+
* @type {number}
|
|
86
|
+
* @memberof PSTFolder
|
|
87
|
+
*/
|
|
88
|
+
get contentCount(): number;
|
|
89
|
+
/**
|
|
90
|
+
* Contains the number of unread messages in a folder, as computed by the message store.
|
|
91
|
+
* https://msdn.microsoft.com/en-us/library/office/cc841964.aspx
|
|
92
|
+
* @readonly
|
|
93
|
+
* @type {number}
|
|
94
|
+
* @memberof PSTFolder
|
|
95
|
+
*/
|
|
96
|
+
get unreadCount(): number;
|
|
97
|
+
/**
|
|
98
|
+
* Contains TRUE if a folder contains subfolders.
|
|
99
|
+
* once again, read from the PST, use getSubFolderCount if you want to know
|
|
100
|
+
* @readonly
|
|
101
|
+
* @type {boolean}
|
|
102
|
+
* @memberof PSTFolder
|
|
103
|
+
*/
|
|
104
|
+
get hasSubfolders(): boolean;
|
|
105
|
+
/**
|
|
106
|
+
* Contains a text string describing the type of a folder. Although this property is
|
|
107
|
+
* generally ignored, versions of Microsoft® Exchange Server prior to Exchange Server
|
|
108
|
+
* 2003 Mailbox Manager expect this property to be present.
|
|
109
|
+
* https://msdn.microsoft.com/en-us/library/office/cc839839.aspx
|
|
110
|
+
* @readonly
|
|
111
|
+
* @type {string}
|
|
112
|
+
* @memberof PSTFolder
|
|
113
|
+
*/
|
|
114
|
+
get containerClass(): string;
|
|
115
|
+
/**
|
|
116
|
+
* Contains a bitmask of flags describing capabilities of an address book container.
|
|
117
|
+
* https://msdn.microsoft.com/en-us/library/office/cc839610.aspx
|
|
118
|
+
* @readonly
|
|
119
|
+
* @type {number}
|
|
120
|
+
* @memberof PSTFolder
|
|
121
|
+
*/
|
|
122
|
+
get containerFlags(): number;
|
|
123
|
+
/**
|
|
124
|
+
* JSON stringify the object properties.
|
|
125
|
+
* @returns {string}
|
|
126
|
+
* @memberof PSTFolder
|
|
127
|
+
*/
|
|
128
|
+
toJSON(): any;
|
|
129
|
+
}
|