@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
|
@@ -0,0 +1,570 @@
|
|
|
1
|
+
import type { IPSTAttachment } from "./IPSTAttachment.js";
|
|
2
|
+
import type { IPSTRecipient } from "./IPSTRecipient.js";
|
|
3
|
+
import type { PUSubNode } from "./PUSubNode.js";
|
|
4
|
+
export interface IPSTMessage {
|
|
5
|
+
/**
|
|
6
|
+
* The message is marked as having been read.
|
|
7
|
+
* https://msdn.microsoft.com/en-us/library/ee160304(v=exchg.80).aspx
|
|
8
|
+
* @readonly
|
|
9
|
+
*/
|
|
10
|
+
get isRead(): boolean;
|
|
11
|
+
/**
|
|
12
|
+
* The outgoing message has not been modified since the first time that it was saved; the incoming message has not been modified since it was delivered.
|
|
13
|
+
* https://msdn.microsoft.com/en-us/library/ee160304(v=exchg.80).aspx
|
|
14
|
+
* @readonly
|
|
15
|
+
*/
|
|
16
|
+
get isUnmodified(): boolean;
|
|
17
|
+
/**
|
|
18
|
+
* The message is marked for sending as a result of a call to the RopSubmitMessage ROP
|
|
19
|
+
* https://msdn.microsoft.com/en-us/library/ee160304(v=exchg.80).aspx
|
|
20
|
+
* @readonly
|
|
21
|
+
*/
|
|
22
|
+
get isSubmitted(): boolean;
|
|
23
|
+
/**
|
|
24
|
+
* The message is still being composed. It is saved, but has not been sent.
|
|
25
|
+
* https://msdn.microsoft.com/en-us/library/ee160304(v=exchg.80).aspx
|
|
26
|
+
* @readonly
|
|
27
|
+
*/
|
|
28
|
+
get isUnsent(): boolean;
|
|
29
|
+
/**
|
|
30
|
+
* The message has at least one attachment.
|
|
31
|
+
* https://msdn.microsoft.com/en-us/library/ee160304(v=exchg.80).aspx
|
|
32
|
+
* @readonly
|
|
33
|
+
*/
|
|
34
|
+
get hasAttachments(): boolean;
|
|
35
|
+
/**
|
|
36
|
+
* The user receiving the message was also the user who sent the message.
|
|
37
|
+
* https://msdn.microsoft.com/en-us/library/ee160304(v=exchg.80).aspx
|
|
38
|
+
* @readonly
|
|
39
|
+
*/
|
|
40
|
+
get isFromMe(): boolean;
|
|
41
|
+
/**
|
|
42
|
+
* The message is an FAI message. An FAI Message object is used to store a variety of settings and
|
|
43
|
+
* auxiliary data, including forms, views, calendar options, favorites, and category lists.
|
|
44
|
+
* https://msdn.microsoft.com/en-us/library/ee160304(v=exchg.80).aspx
|
|
45
|
+
* @readonly
|
|
46
|
+
*/
|
|
47
|
+
get isAssociated(): boolean;
|
|
48
|
+
/**
|
|
49
|
+
* The message includes a request for a resend operation with a nondelivery report.
|
|
50
|
+
* https://msdn.microsoft.com/en-us/library/ee160304(v=exchg.80).aspx
|
|
51
|
+
* @readonly
|
|
52
|
+
*/
|
|
53
|
+
get isResent(): boolean;
|
|
54
|
+
/**
|
|
55
|
+
* Get the recipients table.
|
|
56
|
+
* @readonly
|
|
57
|
+
*/
|
|
58
|
+
getNumberOfRecipients(): Promise<number>;
|
|
59
|
+
/**
|
|
60
|
+
* Get specific recipient.
|
|
61
|
+
*/
|
|
62
|
+
getRecipient(recipientNumber: number): Promise<IPSTRecipient>;
|
|
63
|
+
getRecipients(): Promise<IPSTRecipient[]>;
|
|
64
|
+
/**
|
|
65
|
+
* Contains TRUE if a message sender wants notification of non-receipt for a specified recipient.
|
|
66
|
+
* https://msdn.microsoft.com/en-us/library/office/cc979208.aspx
|
|
67
|
+
* @readonly
|
|
68
|
+
*/
|
|
69
|
+
get isNonReceiptNotificationRequested(): boolean;
|
|
70
|
+
/**
|
|
71
|
+
* Contains TRUE if a message sender wants notification of non-deliver for a specified recipient.
|
|
72
|
+
* https://msdn.microsoft.com/en-us/library/ms987568(v=exchg.65).aspx
|
|
73
|
+
* @readonly
|
|
74
|
+
*/
|
|
75
|
+
get isOriginatorNonDeliveryReportRequested(): boolean;
|
|
76
|
+
/**
|
|
77
|
+
* Contains the recipient type for a message recipient.
|
|
78
|
+
* https://msdn.microsoft.com/en-us/library/office/cc839620.aspx
|
|
79
|
+
*
|
|
80
|
+
* - {@link Consts.MAPI_ORIG} (0)
|
|
81
|
+
* - {@link Consts.MAPI_TO} (1)
|
|
82
|
+
* - {@link Consts.MAPI_CC} (2)
|
|
83
|
+
* - {@link Consts.MAPI_BCC} (3)
|
|
84
|
+
*
|
|
85
|
+
* @readonly
|
|
86
|
+
*/
|
|
87
|
+
get recipientType(): number;
|
|
88
|
+
/**
|
|
89
|
+
* Plain text message body.
|
|
90
|
+
* https://msdn.microsoft.com/en-us/library/office/cc765874.aspx
|
|
91
|
+
* @readonly
|
|
92
|
+
*/
|
|
93
|
+
get body(): string;
|
|
94
|
+
/**
|
|
95
|
+
* Plain text body prefix.
|
|
96
|
+
* @readonly
|
|
97
|
+
*/
|
|
98
|
+
get bodyPrefix(): string;
|
|
99
|
+
/**
|
|
100
|
+
* Contains the Rich Text Format (RTF) version of the message text, usually in compressed form.
|
|
101
|
+
* https://technet.microsoft.com/en-us/library/cc815911
|
|
102
|
+
* @readonly
|
|
103
|
+
*/
|
|
104
|
+
get bodyRTF(): string;
|
|
105
|
+
/**
|
|
106
|
+
* Contains the cyclical redundancy check (CRC) computed for the message text.
|
|
107
|
+
* https://technet.microsoft.com/en-us/library/cc815532(v=office.15).aspx
|
|
108
|
+
* @readonly
|
|
109
|
+
*/
|
|
110
|
+
get rtfSyncBodyCRC(): number;
|
|
111
|
+
/**
|
|
112
|
+
* Contains a count of the significant characters of the message text.
|
|
113
|
+
* https://msdn.microsoft.com/en-us/library/windows/desktop/cc842324.aspx
|
|
114
|
+
* @readonly
|
|
115
|
+
*/
|
|
116
|
+
get rtfSyncBodyCount(): number;
|
|
117
|
+
/**
|
|
118
|
+
* Contains significant characters that appear at the beginning of the message text.
|
|
119
|
+
* https://technet.microsoft.com/en-us/library/cc815400(v=office.15).aspx
|
|
120
|
+
* @readonly
|
|
121
|
+
*/
|
|
122
|
+
get rtfSyncBodyTag(): string;
|
|
123
|
+
/**
|
|
124
|
+
* Contains a count of the ignorable characters that appear before the significant characters of the message.
|
|
125
|
+
* https://msdn.microsoft.com/en-us/magazine/cc842437.aspx
|
|
126
|
+
* @readonly
|
|
127
|
+
*/
|
|
128
|
+
get rtfSyncPrefixCount(): number;
|
|
129
|
+
/**
|
|
130
|
+
* Contains a count of the ignorable characters that appear after the significant characters of the message.
|
|
131
|
+
* https://msdn.microsoft.com/en-us/magazine/cc765795.aspx
|
|
132
|
+
* @readonly
|
|
133
|
+
*/
|
|
134
|
+
get rtfSyncTrailingCount(): number;
|
|
135
|
+
/**
|
|
136
|
+
* Contains the HTML version of the message text.
|
|
137
|
+
* @readonly
|
|
138
|
+
*/
|
|
139
|
+
get bodyHTML(): string;
|
|
140
|
+
/**
|
|
141
|
+
* Number of attachments by counting rows in attachment table.
|
|
142
|
+
* @readonly
|
|
143
|
+
*/
|
|
144
|
+
getNumberOfAttachments(): Promise<number>;
|
|
145
|
+
/**
|
|
146
|
+
* Get specific attachment from table using index.
|
|
147
|
+
*/
|
|
148
|
+
getAttachment(attachmentNumber: number): Promise<IPSTAttachment>;
|
|
149
|
+
getAttachments(): Promise<IPSTAttachment[]>;
|
|
150
|
+
/**
|
|
151
|
+
* Importance of email (sender determined)
|
|
152
|
+
* https://msdn.microsoft.com/en-us/library/cc815346(v=office.12).aspx
|
|
153
|
+
* @readonly
|
|
154
|
+
*/
|
|
155
|
+
get importance(): number;
|
|
156
|
+
/**
|
|
157
|
+
* Contains a text string that identifies the sender-defined message class, such as IPM.Note.
|
|
158
|
+
* https://msdn.microsoft.com/en-us/library/office/cc765765.aspx
|
|
159
|
+
* @readonly
|
|
160
|
+
*/
|
|
161
|
+
get messageClass(): string;
|
|
162
|
+
/**
|
|
163
|
+
* Contains the full subject of a message.
|
|
164
|
+
* https://technet.microsoft.com/en-us/library/cc815720
|
|
165
|
+
* @readonly
|
|
166
|
+
*/
|
|
167
|
+
get subject(): string;
|
|
168
|
+
/**
|
|
169
|
+
* Contains the date and time the message sender submitted a message.
|
|
170
|
+
* https://technet.microsoft.com/en-us/library/cc839781
|
|
171
|
+
* @readonly
|
|
172
|
+
*/
|
|
173
|
+
get clientSubmitTime(): Date | null;
|
|
174
|
+
/**
|
|
175
|
+
* Contains the display name of the messaging user who receives the message.
|
|
176
|
+
* https://msdn.microsoft.com/en-us/library/office/cc840015.aspx
|
|
177
|
+
* @readonly
|
|
178
|
+
*/
|
|
179
|
+
get receivedByName(): string;
|
|
180
|
+
/**
|
|
181
|
+
* Contains the display name for the messaging user represented by the sender.
|
|
182
|
+
* https://msdn.microsoft.com/en-us/library/office/cc842405.aspx
|
|
183
|
+
* @readonly
|
|
184
|
+
*/
|
|
185
|
+
get sentRepresentingName(): string;
|
|
186
|
+
/**
|
|
187
|
+
* Contains the address type for the messaging user who is represented by the sender.
|
|
188
|
+
* https://msdn.microsoft.com/en-us/library/office/cc839677.aspx
|
|
189
|
+
* @readonly
|
|
190
|
+
*/
|
|
191
|
+
get sentRepresentingAddressType(): string;
|
|
192
|
+
/**
|
|
193
|
+
* Contains the e-mail address for the messaging user who is represented by the sender.
|
|
194
|
+
* https://msdn.microsoft.com/en-us/library/office/cc839552.aspx
|
|
195
|
+
* @readonly
|
|
196
|
+
*/
|
|
197
|
+
get sentRepresentingEmailAddress(): string;
|
|
198
|
+
/**
|
|
199
|
+
* Contains the topic of the first message in a conversation thread.
|
|
200
|
+
* https://technet.microsoft.com/en-us/windows/cc839841
|
|
201
|
+
* @readonly
|
|
202
|
+
*/
|
|
203
|
+
get conversationTopic(): string;
|
|
204
|
+
/**
|
|
205
|
+
* Contains the e-mail address type, such as SMTP, for the messaging user who actually receives the message.
|
|
206
|
+
* https://technet.microsoft.com/en-us/library/cc765641(v=office.14)
|
|
207
|
+
* @readonly
|
|
208
|
+
*/
|
|
209
|
+
get receivedByAddressType(): string;
|
|
210
|
+
/**
|
|
211
|
+
* Contains the e-mail address for the messaging user who receives the message.
|
|
212
|
+
* https://technet.microsoft.com/en-us/library/cc839550(v=office.14)
|
|
213
|
+
* @readonly
|
|
214
|
+
*/
|
|
215
|
+
get receivedByAddress(): string;
|
|
216
|
+
/**
|
|
217
|
+
* Contains transport-specific message envelope information.
|
|
218
|
+
* https://technet.microsoft.com/en-us/library/cc815628
|
|
219
|
+
* @readonly
|
|
220
|
+
*/
|
|
221
|
+
get transportMessageHeaders(): string;
|
|
222
|
+
/**
|
|
223
|
+
* Acknowledgment mode Integer 32-bit signed
|
|
224
|
+
*/
|
|
225
|
+
get acknowledgementMode(): number;
|
|
226
|
+
/**
|
|
227
|
+
* Contains TRUE if a message sender requests a delivery report for a particular recipient from the messaging system before the message is placed in the message store.
|
|
228
|
+
* https://msdn.microsoft.com/en-us/library/office/cc765845.aspx
|
|
229
|
+
* @readonly
|
|
230
|
+
*/
|
|
231
|
+
get originatorDeliveryReportRequested(): boolean;
|
|
232
|
+
/**
|
|
233
|
+
* Contains the relative priority of a message.
|
|
234
|
+
* https://msdn.microsoft.com/en-us/library/office/cc765646.aspx
|
|
235
|
+
* @readonly
|
|
236
|
+
*/
|
|
237
|
+
get priority(): number;
|
|
238
|
+
/**
|
|
239
|
+
* Contains TRUE if a message sender wants the messaging system to generate a read report when the recipient has read a message.
|
|
240
|
+
* https://msdn.microsoft.com/en-us/library/office/cc842094.aspx
|
|
241
|
+
* @readonly
|
|
242
|
+
*/
|
|
243
|
+
get readReceiptRequested(): boolean;
|
|
244
|
+
/**
|
|
245
|
+
* Specifies whether adding additional recipients, when forwarding the message, is prohibited for the e-mail message.
|
|
246
|
+
* https://msdn.microsoft.com/en-us/library/office/cc979216.aspx
|
|
247
|
+
* @readonly
|
|
248
|
+
*/
|
|
249
|
+
get recipientReassignmentProhibited(): boolean;
|
|
250
|
+
/**
|
|
251
|
+
* Contains the sensitivity value assigned by the sender of the first version of a message that is, the message before being forwarded or replied to.
|
|
252
|
+
* https://msdn.microsoft.com/en-us/library/cc839694(office.12).aspx
|
|
253
|
+
* @readonly
|
|
254
|
+
*/
|
|
255
|
+
get originalSensitivity(): number;
|
|
256
|
+
/**
|
|
257
|
+
* Contains a value that indicates the message sender's opinion of the sensitivity of a message.
|
|
258
|
+
* https://msdn.microsoft.com/en-us/library/office/cc839518.aspx
|
|
259
|
+
* @readonly
|
|
260
|
+
*/
|
|
261
|
+
get sensitivity(): number;
|
|
262
|
+
/**
|
|
263
|
+
* Contains the search key for the messaging user represented by the sender.
|
|
264
|
+
* https://msdn.microsoft.com/en-us/magazine/cc842068.aspx
|
|
265
|
+
* @readonly
|
|
266
|
+
*/
|
|
267
|
+
get pidTagSentRepresentingSearchKey(): Uint8Array | null;
|
|
268
|
+
/**
|
|
269
|
+
* Contains the display name for the messaging user who is represented by the receiving user.
|
|
270
|
+
* https://technet.microsoft.com/en-us/library/cc842260.aspx
|
|
271
|
+
* @readonly
|
|
272
|
+
*/
|
|
273
|
+
get rcvdRepresentingName(): string;
|
|
274
|
+
/**
|
|
275
|
+
* Contains the subject of an original message for use in a report about the message.
|
|
276
|
+
* https://msdn.microsoft.com/en-us/library/office/cc842182.aspx
|
|
277
|
+
* @readonly
|
|
278
|
+
*/
|
|
279
|
+
get originalSubject(): string;
|
|
280
|
+
/**
|
|
281
|
+
* Contains a list of display names for recipients that are to get a reply.
|
|
282
|
+
* https://msdn.microsoft.com/en-us/library/windows/desktop/cc815850.aspx
|
|
283
|
+
* @readonly
|
|
284
|
+
*/
|
|
285
|
+
get replyRecipientNames(): string;
|
|
286
|
+
/**
|
|
287
|
+
* Contains TRUE if this messaging user is specifically named as a primary (To) recipient of this message and is not part of a distribution list.
|
|
288
|
+
* https://technet.microsoft.com/en-us/library/cc815755
|
|
289
|
+
* @readonly
|
|
290
|
+
*/
|
|
291
|
+
get messageToMe(): boolean;
|
|
292
|
+
/**
|
|
293
|
+
* Contains TRUE if this messaging user is specifically named as a carbon copy (CC) recipient of this message and is not part of a distribution list.
|
|
294
|
+
* https://msdn.microsoft.com/en-us/library/office/cc839713.aspx
|
|
295
|
+
* @readonly
|
|
296
|
+
*/
|
|
297
|
+
get messageCcMe(): boolean;
|
|
298
|
+
/**
|
|
299
|
+
* Contains TRUE if this messaging user is specifically named as a primary (To), carbon copy (CC), or blind carbon copy (BCC) recipient of this message and is not part of a distribution list.
|
|
300
|
+
* https://msdn.microsoft.com/en-us/library/office/cc842268.aspx
|
|
301
|
+
* @readonly
|
|
302
|
+
*/
|
|
303
|
+
get messageRecipMe(): boolean;
|
|
304
|
+
/**
|
|
305
|
+
* Contains TRUE if the message sender wants a response to a meeting request.
|
|
306
|
+
* https://msdn.microsoft.com/en-us/library/office/cc839921.aspx
|
|
307
|
+
* @readonly
|
|
308
|
+
*/
|
|
309
|
+
get responseRequested(): boolean;
|
|
310
|
+
/**
|
|
311
|
+
* Contains the display names of any carbon copy (CC) recipients of the original message.
|
|
312
|
+
* https://msdn.microsoft.com/en-us/magazine/cc815841(v=office.14).aspx
|
|
313
|
+
* @readonly
|
|
314
|
+
*/
|
|
315
|
+
get originalDisplayBcc(): string;
|
|
316
|
+
/**
|
|
317
|
+
* Contains the display names of any carbon copy (CC) recipients of the original message.
|
|
318
|
+
* https://msdn.microsoft.com/en-us/magazine/cc815841(v=office.14).aspx
|
|
319
|
+
* @readonly
|
|
320
|
+
*/
|
|
321
|
+
get originalDisplayCc(): string;
|
|
322
|
+
/**
|
|
323
|
+
* Contains the display names of the primary (To) recipients of the original message.
|
|
324
|
+
* https://msdn.microsoft.com/en-us/magazine/cc842235(v=office.14).aspx
|
|
325
|
+
* @readonly
|
|
326
|
+
*/
|
|
327
|
+
get originalDisplayTo(): string;
|
|
328
|
+
/**
|
|
329
|
+
* Contains the address type for the messaging user who is represented by the user actually receiving the message.
|
|
330
|
+
* https://msdn.microsoft.com/en-us/library/office/cc842447.aspx
|
|
331
|
+
* @readonly
|
|
332
|
+
*/
|
|
333
|
+
get rcvdRepresentingAddrtype(): string;
|
|
334
|
+
/**
|
|
335
|
+
* Contains the e-mail address for the messaging user who is represented by the receiving user.
|
|
336
|
+
* https://msdn.microsoft.com/en-us/library/office/cc815875.aspx
|
|
337
|
+
* @readonly
|
|
338
|
+
*/
|
|
339
|
+
get rcvdRepresentingEmailAddress(): string;
|
|
340
|
+
/**
|
|
341
|
+
* Contains TRUE if a message sender requests a reply from a recipient.
|
|
342
|
+
* https://msdn.microsoft.com/en-us/library/office/cc815286.aspx
|
|
343
|
+
* @readonly
|
|
344
|
+
*/
|
|
345
|
+
get isReplyRequested(): boolean;
|
|
346
|
+
/**
|
|
347
|
+
* Contains the message sender's entry identifier.
|
|
348
|
+
* https://msdn.microsoft.com/en-us/library/office/cc815625.aspx
|
|
349
|
+
* @readonly
|
|
350
|
+
*/
|
|
351
|
+
get senderEntryId(): Uint8Array | null;
|
|
352
|
+
/**
|
|
353
|
+
* Contains the message sender's display name.
|
|
354
|
+
* https://msdn.microsoft.com/en-us/library/office/cc815457.aspx
|
|
355
|
+
* @readonly
|
|
356
|
+
*/
|
|
357
|
+
get senderName(): string;
|
|
358
|
+
/**
|
|
359
|
+
* Contains the message sender's e-mail address type.
|
|
360
|
+
* https://msdn.microsoft.com/en-us/library/office/cc815748.aspx
|
|
361
|
+
* @readonly
|
|
362
|
+
*/
|
|
363
|
+
get senderAddrtype(): string;
|
|
364
|
+
/**
|
|
365
|
+
* Contains the message sender's e-mail address.
|
|
366
|
+
* https://msdn.microsoft.com/en-us/library/office/cc839670.aspx
|
|
367
|
+
* @readonly
|
|
368
|
+
*/
|
|
369
|
+
get senderEmailAddress(): string;
|
|
370
|
+
/**
|
|
371
|
+
* Contains the sum, in bytes, of the sizes of all properties on a message object
|
|
372
|
+
* https://technet.microsoft.com/en-us/library/cc842471
|
|
373
|
+
* @readonly
|
|
374
|
+
*/
|
|
375
|
+
get messageSize(): Long;
|
|
376
|
+
/**
|
|
377
|
+
* A number associated with an item in a message store.
|
|
378
|
+
* https://msdn.microsoft.com/en-us/library/office/cc815718.aspx
|
|
379
|
+
* @readonly
|
|
380
|
+
*/
|
|
381
|
+
get internetArticleNumber(): number;
|
|
382
|
+
/**
|
|
383
|
+
* Contains a string that names the first server that is used to send the message.
|
|
384
|
+
* https://msdn.microsoft.com/en-us/library/office/cc815413.aspx
|
|
385
|
+
* @readonly
|
|
386
|
+
*/
|
|
387
|
+
get primarySendAccount(): string;
|
|
388
|
+
/**
|
|
389
|
+
* Specifies the server that a client is currently attempting to use to send e-mail.
|
|
390
|
+
* https://technet.microsoft.com/en-us/library/cc842327(v=office.14)
|
|
391
|
+
* @readonly
|
|
392
|
+
*/
|
|
393
|
+
get nextSendAcct(): string;
|
|
394
|
+
/**
|
|
395
|
+
* Contains the type of an object.
|
|
396
|
+
* https://msdn.microsoft.com/en-us/library/office/cc815487.aspx
|
|
397
|
+
* @readonly
|
|
398
|
+
*/
|
|
399
|
+
get objectType(): number;
|
|
400
|
+
/**
|
|
401
|
+
* Contains TRUE if a client application wants MAPI to delete the associated message after submission.
|
|
402
|
+
* https://msdn.microsoft.com/en-us/library/office/cc842353.aspx
|
|
403
|
+
* @readonly
|
|
404
|
+
*/
|
|
405
|
+
get deleteAfterSubmit(): boolean;
|
|
406
|
+
/**
|
|
407
|
+
* Contains TRUE if some transport provider has already accepted responsibility for delivering the message to this recipient, and FALSE if the MAPI spooler considers that this transport provider should accept responsibility.
|
|
408
|
+
* https://msdn.microsoft.com/en-us/library/office/cc765767.aspx
|
|
409
|
+
* @readonly
|
|
410
|
+
*/
|
|
411
|
+
get responsibility(): boolean;
|
|
412
|
+
/**
|
|
413
|
+
* Contains TRUE if the PR_RTF_COMPRESSED (PidTagRtfCompressed) property has the same text content as the PR_BODY (PidTagBody) property for this message.
|
|
414
|
+
* https://msdn.microsoft.com/en-us/library/office/cc765844.aspx
|
|
415
|
+
* @readonly
|
|
416
|
+
*/
|
|
417
|
+
get isRTFInSync(): boolean;
|
|
418
|
+
/**
|
|
419
|
+
* Contains an ASCII list of the display names of any blind carbon copy (BCC) message recipients, separated by semicolons (;).
|
|
420
|
+
* https://msdn.microsoft.com/en-us/library/office/cc815730.aspx
|
|
421
|
+
* @readonly
|
|
422
|
+
*/
|
|
423
|
+
get displayBCC(): string;
|
|
424
|
+
/**
|
|
425
|
+
* Contains an ASCII list of the display names of any carbon copy (CC) message recipients, separated by semicolons (;).
|
|
426
|
+
* https://msdn.microsoft.com/en-us/library/office/cc765528.aspx
|
|
427
|
+
* @readonly
|
|
428
|
+
*/
|
|
429
|
+
get displayCC(): string;
|
|
430
|
+
/**
|
|
431
|
+
* Contains a list of the display names of the primary (To) message recipients, separated by semicolons (;).
|
|
432
|
+
* https://msdn.microsoft.com/en-us/library/office/cc839687.aspx
|
|
433
|
+
* @readonly
|
|
434
|
+
*/
|
|
435
|
+
get displayTo(): string;
|
|
436
|
+
/**
|
|
437
|
+
* Contains the date and time when a message was delivered.
|
|
438
|
+
* https://msdn.microsoft.com/en-us/library/office/cc841961.aspx
|
|
439
|
+
* @readonly
|
|
440
|
+
*/
|
|
441
|
+
get messageDeliveryTime(): Date | null;
|
|
442
|
+
/**
|
|
443
|
+
* Corresponds to the message ID field as specified in [RFC2822].
|
|
444
|
+
* https://msdn.microsoft.com/en-us/library/office/cc839521.aspx
|
|
445
|
+
* @readonly
|
|
446
|
+
*/
|
|
447
|
+
get internetMessageId(): string;
|
|
448
|
+
/**
|
|
449
|
+
* Contains the original message's PR_INTERNET_MESSAGE_ID (PidTagInternetMessageId) property value.
|
|
450
|
+
* https://msdn.microsoft.com/en-us/library/office/cc839776.aspx
|
|
451
|
+
* @readonly
|
|
452
|
+
*/
|
|
453
|
+
get inReplyToId(): string;
|
|
454
|
+
/**
|
|
455
|
+
* Contains the value of a Multipurpose Internet Mail Extensions (MIME) message's Return-Path header field. The e-mail address of the message's sender.
|
|
456
|
+
* https://msdn.microsoft.com/en-us/library/office/cc765856.aspx
|
|
457
|
+
* @readonly
|
|
458
|
+
*/
|
|
459
|
+
get returnPath(): string;
|
|
460
|
+
/**
|
|
461
|
+
* Contains a number that indicates which icon to use when you display a group of e-mail objects.
|
|
462
|
+
* https://msdn.microsoft.com/en-us/library/office/cc815472.aspx
|
|
463
|
+
* @readonly
|
|
464
|
+
*/
|
|
465
|
+
get iconIndex(): number;
|
|
466
|
+
/**
|
|
467
|
+
* Contains the last verb executed.
|
|
468
|
+
* Todo: Helper methods for each flag.
|
|
469
|
+
* https://msdn.microsoft.com/en-us/library/office/cc841968.aspx
|
|
470
|
+
* @readonly
|
|
471
|
+
*/
|
|
472
|
+
get lastVerbExecuted(): number;
|
|
473
|
+
/**
|
|
474
|
+
* Contains the time when the last verb was executed.
|
|
475
|
+
* https://msdn.microsoft.com/en-us/library/office/cc839918.aspx
|
|
476
|
+
* @readonly
|
|
477
|
+
*/
|
|
478
|
+
get lastVerbExecutionTime(): Date | null;
|
|
479
|
+
/**
|
|
480
|
+
* The URL component name for a message.
|
|
481
|
+
* https://msdn.microsoft.com/en-us/library/office/cc815653.aspx
|
|
482
|
+
* @readonly
|
|
483
|
+
*/
|
|
484
|
+
get urlCompName(): string;
|
|
485
|
+
/**
|
|
486
|
+
* Specifies the hide or show status of a folder.
|
|
487
|
+
* https://msdn.microsoft.com/en-us/library/ee159038(v=exchg.80).aspx
|
|
488
|
+
* @readonly
|
|
489
|
+
*/
|
|
490
|
+
get attrHidden(): boolean;
|
|
491
|
+
/**
|
|
492
|
+
* Specifies the date on which the user expects work on the task to begin.
|
|
493
|
+
* https://technet.microsoft.com/en-us/library/cc815922(v=office.12).aspx
|
|
494
|
+
* @readonly
|
|
495
|
+
*/
|
|
496
|
+
get taskStartDate(): Date | null;
|
|
497
|
+
/**
|
|
498
|
+
* Represents the date when the user expects to complete the task.
|
|
499
|
+
* https://technet.microsoft.com/en-us/library/cc839641(v=office.12).aspx
|
|
500
|
+
* @readonly
|
|
501
|
+
*/
|
|
502
|
+
get taskDueDate(): Date | null;
|
|
503
|
+
/**
|
|
504
|
+
* Specifies whether a reminder is set on the object.
|
|
505
|
+
* https://msdn.microsoft.com/en-us/library/office/cc765589.aspx
|
|
506
|
+
* @readonly
|
|
507
|
+
*/
|
|
508
|
+
get reminderSet(): boolean;
|
|
509
|
+
/**
|
|
510
|
+
* Specifies the interval, in minutes, between the time when the reminder first becomes overdue and the start time of the calendar object.
|
|
511
|
+
* https://msdn.microsoft.com/en-us/library/office/cc765535.aspx
|
|
512
|
+
* @readonly
|
|
513
|
+
*/
|
|
514
|
+
get reminderDelta(): number;
|
|
515
|
+
/**
|
|
516
|
+
* Color categories
|
|
517
|
+
* @readonly
|
|
518
|
+
*/
|
|
519
|
+
get colorCategories(): string[];
|
|
520
|
+
/**
|
|
521
|
+
* Contains a computed value derived from other conversation-related properties.
|
|
522
|
+
* https://msdn.microsoft.com/en-us/library/ee204279(v=exchg.80).aspx
|
|
523
|
+
* @readonly
|
|
524
|
+
*/
|
|
525
|
+
get conversationId(): Uint8Array | null;
|
|
526
|
+
/**
|
|
527
|
+
* Indicates whether the GUID portion of the PidTagConversationIndex property (section 2.641) is to be used to compute the PidTagConversationId property (section 2.640).
|
|
528
|
+
* https://msdn.microsoft.com/en-us/library/ee218393(v=exchg.80).aspx
|
|
529
|
+
* @readonly
|
|
530
|
+
*/
|
|
531
|
+
get isConversationIndexTracking(): boolean;
|
|
532
|
+
/**
|
|
533
|
+
* Contains the messaging user's e-mail address.
|
|
534
|
+
* https://msdn.microsoft.com/en-us/library/office/cc842372.aspx
|
|
535
|
+
* @readonly
|
|
536
|
+
*/
|
|
537
|
+
get emailAddress(): string;
|
|
538
|
+
/**
|
|
539
|
+
* Contains the messaging user's e-mail address type, such as SMTP.
|
|
540
|
+
* https://msdn.microsoft.com/en-us/library/office/cc815548.aspx
|
|
541
|
+
* @readonly
|
|
542
|
+
*/
|
|
543
|
+
get addrType(): string;
|
|
544
|
+
/**
|
|
545
|
+
* Contains a comment about the purpose or content of an object.
|
|
546
|
+
* https://msdn.microsoft.com/en-us/library/office/cc842022.aspx
|
|
547
|
+
* @readonly
|
|
548
|
+
*/
|
|
549
|
+
get comment(): string;
|
|
550
|
+
/**
|
|
551
|
+
* Contains the creation date and time of a message.
|
|
552
|
+
* https://msdn.microsoft.com/en-us/library/office/cc765677.aspx
|
|
553
|
+
* @readonly
|
|
554
|
+
*/
|
|
555
|
+
get creationTime(): Date | null;
|
|
556
|
+
/**
|
|
557
|
+
* Contains the date and time when the object or subobject was last modified.
|
|
558
|
+
* https://msdn.microsoft.com/en-us/library/office/cc815689.aspx
|
|
559
|
+
* @readonly
|
|
560
|
+
*/
|
|
561
|
+
get modificationTime(): Date | null;
|
|
562
|
+
/**
|
|
563
|
+
* Requests access to the user sub-node of the internal PST structure.
|
|
564
|
+
*/
|
|
565
|
+
requestAccessToUserSubNode(): Promise<PUSubNode | undefined>;
|
|
566
|
+
/**
|
|
567
|
+
* JSON stringify the object properties. Large fields (like body) aren't included.
|
|
568
|
+
*/
|
|
569
|
+
toJSON(): any;
|
|
570
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { Property } from "./Property.js";
|
|
2
|
+
export interface IPSTObject {
|
|
3
|
+
/**
|
|
4
|
+
* Get the display name of this object.
|
|
5
|
+
* https://msdn.microsoft.com/en-us/library/office/cc842383.aspx
|
|
6
|
+
* @readonly
|
|
7
|
+
*/
|
|
8
|
+
get displayName(): string;
|
|
9
|
+
/**
|
|
10
|
+
* Try to get specified property from PropertyContext.
|
|
11
|
+
*
|
|
12
|
+
* @param key `0x3001` is `PR_DISPLAY_NAME` for example
|
|
13
|
+
* @returns The found one will be returned. Otherwise `undefined` is returned.
|
|
14
|
+
*/
|
|
15
|
+
getProperty(key: number): Property | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* Get all properties.
|
|
18
|
+
*
|
|
19
|
+
* @returns All properties.
|
|
20
|
+
*/
|
|
21
|
+
getAllProperties(): Property[];
|
|
22
|
+
/**
|
|
23
|
+
* Get the primary node ID.
|
|
24
|
+
*/
|
|
25
|
+
get primaryNodeId(): number;
|
|
26
|
+
/**
|
|
27
|
+
* JSON the object.
|
|
28
|
+
*/
|
|
29
|
+
toJSON(): any;
|
|
30
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
export interface IPSTRecipient {
|
|
2
|
+
/**
|
|
3
|
+
* Contains the recipient type for a message recipient.
|
|
4
|
+
* https://msdn.microsoft.com/en-us/library/office/cc839620.aspx
|
|
5
|
+
*
|
|
6
|
+
* - {@link Consts.MAPI_ORIG} (0)
|
|
7
|
+
* - {@link Consts.MAPI_TO} (1)
|
|
8
|
+
* - {@link Consts.MAPI_CC} (2)
|
|
9
|
+
* - {@link Consts.MAPI_BCC} (3)
|
|
10
|
+
*
|
|
11
|
+
* @readonly
|
|
12
|
+
*/
|
|
13
|
+
get recipientType(): number;
|
|
14
|
+
/**
|
|
15
|
+
* Contains the messaging user's e-mail address type, such as SMTP.
|
|
16
|
+
* https://msdn.microsoft.com/en-us/library/office/cc815548.aspx
|
|
17
|
+
* @readonly
|
|
18
|
+
*/
|
|
19
|
+
get addrType(): string;
|
|
20
|
+
/**
|
|
21
|
+
* Contains the messaging user's e-mail address.
|
|
22
|
+
* https://msdn.microsoft.com/en-us/library/office/cc842372.aspx
|
|
23
|
+
* @readonly
|
|
24
|
+
*/
|
|
25
|
+
get emailAddress(): string;
|
|
26
|
+
/**
|
|
27
|
+
* Specifies a bit field that describes the recipient status.
|
|
28
|
+
* https://msdn.microsoft.com/en-us/library/office/cc815629.aspx
|
|
29
|
+
* @readonly
|
|
30
|
+
*/
|
|
31
|
+
get recipientFlags(): number;
|
|
32
|
+
/**
|
|
33
|
+
* Specifies the location of the current recipient in the recipient table.
|
|
34
|
+
* https://msdn.microsoft.com/en-us/library/ee201359(v=exchg.80).aspx
|
|
35
|
+
* @readonly
|
|
36
|
+
*/
|
|
37
|
+
get recipientOrder(): number;
|
|
38
|
+
/**
|
|
39
|
+
* Contains the SMTP address for the address book object.
|
|
40
|
+
* https://msdn.microsoft.com/en-us/library/office/cc842421.aspx
|
|
41
|
+
* @readonly
|
|
42
|
+
*/
|
|
43
|
+
get smtpAddress(): string;
|
|
44
|
+
/**
|
|
45
|
+
* JSON stringify the object properties.
|
|
46
|
+
*/
|
|
47
|
+
toJSON(): any;
|
|
48
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|