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,789 +1,788 @@
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 { PSTObject } from './PSTObject.class';
7
- import { PSTTableBC } from './PSTTableBC.class';
8
- import { PSTAttachment } from './PSTAttachment.class';
9
- import { PSTRecipient } from './PSTRecipient.class';
10
- export declare class PSTMessage extends PSTObject {
11
- private recipientTable;
12
- private attachmentTable;
13
- static IMPORTANCE_LOW: number;
14
- static IMPORTANCE_NORMAL: number;
15
- static IMPORTANCE_HIGH: number;
16
- static RECIPIENT_TYPE_TO: number;
17
- static RECIPIENT_TYPE_CC: number;
18
- /**
19
- * Creates an instance of PSTMessage. PST Message contains functions that are common across most MAPI objects.
20
- * Note that many of these functions may not be applicable for the item in question,
21
- * however there seems to be no hard and fast outline for what properties apply to which
22
- * objects. For properties where no value is set, a blank value is returned (rather than
23
- * an exception being raised).
24
- * @param {PSTFile} pstFile
25
- * @param {DescriptorIndexNode} descriptorIndexNode
26
- * @param {PSTTableBC} [table]
27
- * @param {Map<number, PSTDescriptorItem>} [localDescriptorItems]
28
- * @memberof PSTMessage
29
- */
30
- constructor(pstFile: PSTFile, descriptorIndexNode: DescriptorIndexNode, pstTableBC?: PSTTableBC, localDescriptorItems?: Map<number, PSTDescriptorItem>);
31
- /**
32
- * The message is marked as having been read.
33
- * https://msdn.microsoft.com/en-us/library/ee160304(v=exchg.80).aspx
34
- * @readonly
35
- * @type {boolean}
36
- * @memberof PSTMessage
37
- */
38
- get isRead(): boolean;
39
- /**
40
- * 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.
41
- * https://msdn.microsoft.com/en-us/library/ee160304(v=exchg.80).aspx
42
- * @readonly
43
- * @type {boolean}
44
- * @memberof PSTMessage
45
- */
46
- get isUnmodified(): boolean;
47
- /**
48
- * The message is marked for sending as a result of a call to the RopSubmitMessage ROP
49
- * https://msdn.microsoft.com/en-us/library/ee160304(v=exchg.80).aspx
50
- * @readonly
51
- * @type {boolean}
52
- * @memberof PSTMessage
53
- */
54
- get isSubmitted(): boolean;
55
- /**
56
- * The message is still being composed. It is saved, but has not been sent.
57
- * https://msdn.microsoft.com/en-us/library/ee160304(v=exchg.80).aspx
58
- * @readonly
59
- * @type {boolean}
60
- * @memberof PSTMessage
61
- */
62
- get isUnsent(): boolean;
63
- /**
64
- * The message has at least one attachment.
65
- * https://msdn.microsoft.com/en-us/library/ee160304(v=exchg.80).aspx
66
- * @readonly
67
- * @type {boolean}
68
- * @memberof PSTMessage
69
- */
70
- get hasAttachments(): boolean;
71
- /**
72
- * The user receiving the message was also the user who sent the message.
73
- * https://msdn.microsoft.com/en-us/library/ee160304(v=exchg.80).aspx
74
- * @readonly
75
- * @type {boolean}
76
- * @memberof PSTMessage
77
- */
78
- get isFromMe(): boolean;
79
- /**
80
- * The message is an FAI message. An FAI Message object is used to store a variety of settings and
81
- * auxiliary data, including forms, views, calendar options, favorites, and category lists.
82
- * https://msdn.microsoft.com/en-us/library/ee160304(v=exchg.80).aspx
83
- * @readonly
84
- * @type {boolean}
85
- * @memberof PSTMessage
86
- */
87
- get isAssociated(): boolean;
88
- /**
89
- * The message includes a request for a resend operation with a nondelivery report.
90
- * https://msdn.microsoft.com/en-us/library/ee160304(v=exchg.80).aspx
91
- * @readonly
92
- * @type {boolean}
93
- * @memberof PSTMessage
94
- */
95
- get isResent(): boolean;
96
- /**
97
- * Find, extract and load up all of the attachments in this email
98
- * @private
99
- * @memberof PSTMessage
100
- */
101
- private processRecipients;
102
- /**
103
- * Get the recipients table.
104
- * @readonly
105
- * @type {number}
106
- * @memberof PSTMessage
107
- */
108
- get numberOfRecipients(): number;
109
- /**
110
- * Get specific recipient.
111
- * @param {number} recipientNumber
112
- * @returns {PSTRecipient}
113
- * @memberof PSTMessage
114
- */
115
- getRecipient(recipientNumber: number): PSTRecipient | null;
116
- /**
117
- * Contains TRUE if a message sender wants notification of non-receipt for a specified recipient.
118
- * https://msdn.microsoft.com/en-us/library/office/cc979208.aspx
119
- * @readonly
120
- * @type {boolean}
121
- * @memberof PSTMessage
122
- */
123
- get isNonReceiptNotificationRequested(): boolean;
124
- /**
125
- * Contains TRUE if a message sender wants notification of non-deliver for a specified recipient.
126
- * https://msdn.microsoft.com/en-us/library/ms987568(v=exchg.65).aspx
127
- * @readonly
128
- * @type {boolean}
129
- * @memberof PSTMessage
130
- */
131
- get isOriginatorNonDeliveryReportRequested(): boolean;
132
- /**
133
- * Contains the recipient type for a message recipient.
134
- * https://msdn.microsoft.com/en-us/library/office/cc839620.aspx
135
- * @readonly
136
- * @type {number}
137
- * @memberof PSTMessage
138
- */
139
- get recipientType(): number;
140
- /**
141
- * Plain text message body.
142
- * https://msdn.microsoft.com/en-us/library/office/cc765874.aspx
143
- * @readonly
144
- * @type {string}
145
- * @memberof PSTMessage
146
- */
147
- get body(): string;
148
- /**
149
- * Plain text body prefix.
150
- * @readonly
151
- * @type {string}
152
- * @memberof PSTMessage
153
- */
154
- get bodyPrefix(): string;
155
- /**
156
- * Contains the Rich Text Format (RTF) version of the message text, usually in compressed form.
157
- * https://technet.microsoft.com/en-us/library/cc815911
158
- * @readonly
159
- * @type {string}
160
- * @memberof PSTMessage
161
- */
162
- get bodyRTF(): string;
163
- /**
164
- * Contains the cyclical redundancy check (CRC) computed for the message text.
165
- * https://technet.microsoft.com/en-us/library/cc815532(v=office.15).aspx
166
- * @readonly
167
- * @type {number}
168
- * @memberof PSTMessage
169
- */
170
- get rtfSyncBodyCRC(): number;
171
- /**
172
- * Contains a count of the significant characters of the message text.
173
- * https://msdn.microsoft.com/en-us/library/windows/desktop/cc842324.aspx
174
- * @readonly
175
- * @type {number}
176
- * @memberof PSTMessage
177
- */
178
- get rtfSyncBodyCount(): number;
179
- /**
180
- * Contains significant characters that appear at the beginning of the message text.
181
- * https://technet.microsoft.com/en-us/library/cc815400(v=office.15).aspx
182
- * @readonly
183
- * @type {string}
184
- * @memberof PSTMessage
185
- */
186
- get rtfSyncBodyTag(): string;
187
- /**
188
- * Contains a count of the ignorable characters that appear before the significant characters of the message.
189
- * https://msdn.microsoft.com/en-us/magazine/cc842437.aspx
190
- * @readonly
191
- * @type {number}
192
- * @memberof PSTMessage
193
- */
194
- get rtfSyncPrefixCount(): number;
195
- /**
196
- * Contains a count of the ignorable characters that appear after the significant characters of the message.
197
- * https://msdn.microsoft.com/en-us/magazine/cc765795.aspx
198
- * @readonly
199
- * @type {number}
200
- * @memberof PSTMessage
201
- */
202
- get rtfSyncTrailingCount(): number;
203
- /**
204
- * Gets codepage to use.
205
- * TODO - does this work?
206
- * @private
207
- * @returns {(string | null | undefined)}
208
- * @memberof PSTMessage
209
- */
210
- private getCodepage;
211
- /**
212
- * Contains the HTML version of the message text.
213
- * @readonly
214
- * @type {string}
215
- * @memberof PSTMessage
216
- */
217
- get bodyHTML(): string;
218
- /**
219
- * Processes table which holds attachments.
220
- * @private
221
- * @memberof PSTMessage
222
- */
223
- private processAttachments;
224
- /**
225
- * Number of attachments by counting rows in attachment table.
226
- * @readonly
227
- * @type {number}
228
- * @memberof PSTMessage
229
- */
230
- get numberOfAttachments(): number;
231
- /**
232
- * Get specific attachment from table using index.
233
- * @param {number} attachmentNumber
234
- * @returns {PSTAttachment}
235
- * @memberof PSTMessage
236
- */
237
- getAttachment(attachmentNumber: number): PSTAttachment;
238
- /**
239
- * Importance of email (sender determined)
240
- * https://msdn.microsoft.com/en-us/library/cc815346(v=office.12).aspx
241
- * @readonly
242
- * @type {number}
243
- * @memberof PSTMessage
244
- */
245
- get importance(): number;
246
- /**
247
- * Contains a text string that identifies the sender-defined message class, such as IPM.Note.
248
- * https://msdn.microsoft.com/en-us/library/office/cc765765.aspx
249
- * @readonly
250
- * @type {string}
251
- * @memberof PSTMessage
252
- */
253
- get messageClass(): string;
254
- /**
255
- * Contains the full subject of a message.
256
- * https://technet.microsoft.com/en-us/library/cc815720
257
- * @readonly
258
- * @type {string}
259
- * @memberof PSTMessage
260
- */
261
- get subject(): string;
262
- /**
263
- * Contains the date and time the message sender submitted a message.
264
- * https://technet.microsoft.com/en-us/library/cc839781
265
- * @readonly
266
- * @type {Date}
267
- * @memberof PSTMessage
268
- */
269
- get clientSubmitTime(): Date | null;
270
- /**
271
- * Contains the display name of the messaging user who receives the message.
272
- * https://msdn.microsoft.com/en-us/library/office/cc840015.aspx
273
- * @readonly
274
- * @type {string}
275
- * @memberof PSTMessage
276
- */
277
- get receivedByName(): string;
278
- /**
279
- * Contains the display name for the messaging user represented by the sender.
280
- * https://msdn.microsoft.com/en-us/library/office/cc842405.aspx
281
- * @readonly
282
- * @type {string}
283
- * @memberof PSTMessage
284
- */
285
- get sentRepresentingName(): string;
286
- /**
287
- * Contains the address type for the messaging user who is represented by the sender.
288
- * https://msdn.microsoft.com/en-us/library/office/cc839677.aspx
289
- * @readonly
290
- * @type {string}
291
- * @memberof PSTMessage
292
- */
293
- get sentRepresentingAddressType(): string;
294
- /**
295
- * Contains the e-mail address for the messaging user who is represented by the sender.
296
- * https://msdn.microsoft.com/en-us/library/office/cc839552.aspx
297
- * @readonly
298
- * @type {string}
299
- * @memberof PSTMessage
300
- */
301
- get sentRepresentingEmailAddress(): string;
302
- /**
303
- * Contains the topic of the first message in a conversation thread.
304
- * https://technet.microsoft.com/en-us/windows/cc839841
305
- * @readonly
306
- * @type {string}
307
- * @memberof PSTMessage
308
- */
309
- get conversationTopic(): string;
310
- /**
311
- * Contains the e-mail address type, such as SMTP, for the messaging user who actually receives the message.
312
- * https://technet.microsoft.com/en-us/library/cc765641(v=office.14)
313
- * @readonly
314
- * @type {string}
315
- * @memberof PSTMessage
316
- */
317
- get receivedByAddressType(): string;
318
- /**
319
- * Contains the e-mail address for the messaging user who receives the message.
320
- * https://technet.microsoft.com/en-us/library/cc839550(v=office.14)
321
- * @readonly
322
- * @type {string}
323
- * @memberof PSTMessage
324
- */
325
- get receivedByAddress(): string;
326
- /**
327
- * Contains transport-specific message envelope information.
328
- * https://technet.microsoft.com/en-us/library/cc815628
329
- * @readonly
330
- * @type {string}
331
- * @memberof PSTMessage
332
- */
333
- get transportMessageHeaders(): string;
334
- get acknowledgementMode(): number;
335
- /**
336
- * 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.
337
- * https://msdn.microsoft.com/en-us/library/office/cc765845.aspx
338
- * @readonly
339
- * @type {boolean}
340
- * @memberof PSTMessage
341
- */
342
- get originatorDeliveryReportRequested(): boolean;
343
- /**
344
- * Contains the relative priority of a message.
345
- * https://msdn.microsoft.com/en-us/library/office/cc765646.aspx
346
- * @readonly
347
- * @type {number}
348
- * @memberof PSTMessage
349
- */
350
- get priority(): number;
351
- /**
352
- * Contains TRUE if a message sender wants the messaging system to generate a read report when the recipient has read a message.
353
- * https://msdn.microsoft.com/en-us/library/office/cc842094.aspx
354
- * @readonly
355
- * @type {boolean}
356
- * @memberof PSTMessage
357
- */
358
- get readReceiptRequested(): boolean;
359
- /**
360
- * Specifies whether adding additional recipients, when forwarding the message, is prohibited for the e-mail message.
361
- * https://msdn.microsoft.com/en-us/library/office/cc979216.aspx
362
- * @readonly
363
- * @type {boolean}
364
- * @memberof PSTMessage
365
- */
366
- get recipientReassignmentProhibited(): boolean;
367
- /**
368
- * 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.
369
- * https://msdn.microsoft.com/en-us/library/cc839694(office.12).aspx
370
- * @readonly
371
- * @type {number}
372
- * @memberof PSTMessage
373
- */
374
- get originalSensitivity(): number;
375
- /**
376
- * Contains a value that indicates the message sender's opinion of the sensitivity of a message.
377
- * https://msdn.microsoft.com/en-us/library/office/cc839518.aspx
378
- * @readonly
379
- * @type {number}
380
- * @memberof PSTMessage
381
- */
382
- get sensitivity(): number;
383
- /**
384
- * Contains the search key for the messaging user represented by the sender.
385
- * https://msdn.microsoft.com/en-us/magazine/cc842068.aspx
386
- * @readonly
387
- * @type {Buffer}
388
- * @memberof PSTMessage
389
- */
390
- get pidTagSentRepresentingSearchKey(): Buffer | null;
391
- /**
392
- * Contains the display name for the messaging user who is represented by the receiving user.
393
- * https://technet.microsoft.com/en-us/library/cc842260.aspx
394
- * @readonly
395
- * @type {string}
396
- * @memberof PSTMessage
397
- */
398
- get rcvdRepresentingName(): string;
399
- /**
400
- * Contains the subject of an original message for use in a report about the message.
401
- * https://msdn.microsoft.com/en-us/library/office/cc842182.aspx
402
- * @readonly
403
- * @type {string}
404
- * @memberof PSTMessage
405
- */
406
- get originalSubject(): string;
407
- /**
408
- * Contains a list of display names for recipients that are to get a reply.
409
- * https://msdn.microsoft.com/en-us/library/windows/desktop/cc815850.aspx
410
- * @readonly
411
- * @type {string}
412
- * @memberof PSTMessage
413
- */
414
- get replyRecipientNames(): string;
415
- /**
416
- * 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.
417
- * https://technet.microsoft.com/en-us/library/cc815755
418
- * @readonly
419
- * @type {boolean}
420
- * @memberof PSTMessage
421
- */
422
- get messageToMe(): boolean;
423
- /**
424
- * 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.
425
- * https://msdn.microsoft.com/en-us/library/office/cc839713.aspx
426
- * @readonly
427
- * @type {boolean}
428
- * @memberof PSTMessage
429
- */
430
- get messageCcMe(): boolean;
431
- /**
432
- * 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.
433
- * https://msdn.microsoft.com/en-us/library/office/cc842268.aspx
434
- * @readonly
435
- * @type {boolean}
436
- * @memberof PSTMessage
437
- */
438
- get messageRecipMe(): boolean;
439
- /**
440
- * Contains TRUE if the message sender wants a response to a meeting request.
441
- * https://msdn.microsoft.com/en-us/library/office/cc839921.aspx
442
- * @readonly
443
- * @type {boolean}
444
- * @memberof PSTMessage
445
- */
446
- get responseRequested(): boolean;
447
- /**
448
- * Contains the display names of any carbon copy (CC) recipients of the original message.
449
- * https://msdn.microsoft.com/en-us/magazine/cc815841(v=office.14).aspx
450
- * @readonly
451
- * @type {string}
452
- * @memberof PSTMessage
453
- */
454
- get originalDisplayBcc(): string;
455
- /**
456
- * Contains the display names of any carbon copy (CC) recipients of the original message.
457
- * https://msdn.microsoft.com/en-us/magazine/cc815841(v=office.14).aspx
458
- * @readonly
459
- * @type {string}
460
- * @memberof PSTMessage
461
- */
462
- get originalDisplayCc(): string;
463
- /**
464
- * Contains the display names of the primary (To) recipients of the original message.
465
- * https://msdn.microsoft.com/en-us/magazine/cc842235(v=office.14).aspx
466
- * @readonly
467
- * @type {string}
468
- * @memberof PSTMessage
469
- */
470
- get originalDisplayTo(): string;
471
- /**
472
- * Contains the address type for the messaging user who is represented by the user actually receiving the message.
473
- * https://msdn.microsoft.com/en-us/library/office/cc842447.aspx
474
- * @readonly
475
- * @type {string}
476
- * @memberof PSTMessage
477
- */
478
- get rcvdRepresentingAddrtype(): string;
479
- /**
480
- * Contains the e-mail address for the messaging user who is represented by the receiving user.
481
- * https://msdn.microsoft.com/en-us/library/office/cc815875.aspx
482
- * @readonly
483
- * @type {string}
484
- * @memberof PSTMessage
485
- */
486
- get rcvdRepresentingEmailAddress(): string;
487
- /**
488
- * Contains TRUE if a message sender requests a reply from a recipient.
489
- * https://msdn.microsoft.com/en-us/library/office/cc815286.aspx
490
- * @readonly
491
- * @type {boolean}
492
- * @memberof PSTMessage
493
- */
494
- get isReplyRequested(): boolean;
495
- /**
496
- * Contains the message sender's entry identifier.
497
- * https://msdn.microsoft.com/en-us/library/office/cc815625.aspx
498
- * @readonly
499
- * @type {Buffer}
500
- * @memberof PSTMessage
501
- */
502
- get senderEntryId(): Buffer | null;
503
- /**
504
- * Contains the message sender's display name.
505
- * https://msdn.microsoft.com/en-us/library/office/cc815457.aspx
506
- * @readonly
507
- * @type {string}
508
- * @memberof PSTMessage
509
- */
510
- get senderName(): string;
511
- /**
512
- * Contains the message sender's e-mail address type.
513
- * https://msdn.microsoft.com/en-us/library/office/cc815748.aspx
514
- * @readonly
515
- * @type {string}
516
- * @memberof PSTMessage
517
- */
518
- get senderAddrtype(): string;
519
- /**
520
- * Contains the message sender's e-mail address.
521
- * https://msdn.microsoft.com/en-us/library/office/cc839670.aspx
522
- * @readonly
523
- * @type {string}
524
- * @memberof PSTMessage
525
- */
526
- get senderEmailAddress(): string;
527
- /**
528
- * Contains the sum, in bytes, of the sizes of all properties on a message object
529
- * https://technet.microsoft.com/en-us/library/cc842471
530
- * @readonly
531
- * @type {long}
532
- * @memberof PSTMessage
533
- */
534
- get messageSize(): Long;
535
- /**
536
- * A number associated with an item in a message store.
537
- * https://msdn.microsoft.com/en-us/library/office/cc815718.aspx
538
- * @readonly
539
- * @type {number}
540
- * @memberof PSTMessage
541
- */
542
- get internetArticleNumber(): number;
543
- /**
544
- * Contains a string that names the first server that is used to send the message.
545
- * https://msdn.microsoft.com/en-us/library/office/cc815413.aspx
546
- * @readonly
547
- * @type {string}
548
- * @memberof PSTMessage
549
- */
550
- get primarySendAccount(): string;
551
- /**
552
- * Specifies the server that a client is currently attempting to use to send e-mail.
553
- * https://technet.microsoft.com/en-us/library/cc842327(v=office.14)
554
- * @readonly
555
- * @type {string}
556
- * @memberof PSTMessage
557
- */
558
- get nextSendAcct(): string;
559
- /**
560
- * Contains the type of an object.
561
- * https://msdn.microsoft.com/en-us/library/office/cc815487.aspx
562
- * @readonly
563
- * @type {number}
564
- * @memberof PSTMessage
565
- */
566
- get objectType(): number;
567
- /**
568
- * Contains TRUE if a client application wants MAPI to delete the associated message after submission.
569
- * https://msdn.microsoft.com/en-us/library/office/cc842353.aspx
570
- * @readonly
571
- * @type {boolean}
572
- * @memberof PSTMessage
573
- */
574
- get deleteAfterSubmit(): boolean;
575
- /**
576
- * 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.
577
- * https://msdn.microsoft.com/en-us/library/office/cc765767.aspx
578
- * @readonly
579
- * @type {boolean}
580
- * @memberof PSTMessage
581
- */
582
- get responsibility(): boolean;
583
- /**
584
- * Contains TRUE if the PR_RTF_COMPRESSED (PidTagRtfCompressed) property has the same text content as the PR_BODY (PidTagBody) property for this message.
585
- * https://msdn.microsoft.com/en-us/library/office/cc765844.aspx
586
- * @readonly
587
- * @type {boolean}
588
- * @memberof PSTMessage
589
- */
590
- get isRTFInSync(): boolean;
591
- /**
592
- * Contains an ASCII list of the display names of any blind carbon copy (BCC) message recipients, separated by semicolons (;).
593
- * https://msdn.microsoft.com/en-us/library/office/cc815730.aspx
594
- * @readonly
595
- * @type {string}
596
- * @memberof PSTMessage
597
- */
598
- get displayBCC(): string;
599
- /**
600
- * Contains an ASCII list of the display names of any carbon copy (CC) message recipients, separated by semicolons (;).
601
- * https://msdn.microsoft.com/en-us/library/office/cc765528.aspx
602
- * @readonly
603
- * @type {string}
604
- * @memberof PSTMessage
605
- */
606
- get displayCC(): string;
607
- /**
608
- * Contains a list of the display names of the primary (To) message recipients, separated by semicolons (;).
609
- * https://msdn.microsoft.com/en-us/library/office/cc839687.aspx
610
- * @readonly
611
- * @type {string}
612
- * @memberof PSTMessage
613
- */
614
- get displayTo(): string;
615
- /**
616
- * Contains the date and time when a message was delivered.
617
- * https://msdn.microsoft.com/en-us/library/office/cc841961.aspx
618
- * @readonly
619
- * @type {Date}
620
- * @memberof PSTMessage
621
- */
622
- get messageDeliveryTime(): Date | null;
623
- /**
624
- * Corresponds to the message ID field as specified in [RFC2822].
625
- * https://msdn.microsoft.com/en-us/library/office/cc839521.aspx
626
- * @readonly
627
- * @type {string}
628
- * @memberof PSTMessage
629
- */
630
- get internetMessageId(): string;
631
- /**
632
- * Contains the original message's PR_INTERNET_MESSAGE_ID (PidTagInternetMessageId) property value.
633
- * https://msdn.microsoft.com/en-us/library/office/cc839776.aspx
634
- * @readonly
635
- * @type {string}
636
- * @memberof PSTMessage
637
- */
638
- get inReplyToId(): string;
639
- /**
640
- * 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.
641
- * https://msdn.microsoft.com/en-us/library/office/cc765856.aspx
642
- * @readonly
643
- * @type {string}
644
- * @memberof PSTMessage
645
- */
646
- get returnPath(): string;
647
- /**
648
- * Contains a number that indicates which icon to use when you display a group of e-mail objects.
649
- * https://msdn.microsoft.com/en-us/library/office/cc815472.aspx
650
- * @readonly
651
- * @type {number}
652
- * @memberof PSTMessage
653
- */
654
- get iconIndex(): number;
655
- /**
656
- * Contains the last verb executed.
657
- * Todo: Helper methods for each flag.
658
- * https://msdn.microsoft.com/en-us/library/office/cc841968.aspx
659
- * @readonly
660
- * @type {number}
661
- * @memberof PSTMessage
662
- */
663
- get lastVerbExecuted(): number;
664
- /**
665
- * Contains the time when the last verb was executed.
666
- * https://msdn.microsoft.com/en-us/library/office/cc839918.aspx
667
- * @readonly
668
- * @type {Date}
669
- * @memberof PSTMessage
670
- */
671
- get lastVerbExecutionTime(): Date | null;
672
- /**
673
- * The URL component name for a message.
674
- * https://msdn.microsoft.com/en-us/library/office/cc815653.aspx
675
- * @readonly
676
- * @type {String}
677
- * @memberof PSTMessage
678
- */
679
- get urlCompName(): string;
680
- /**
681
- * Specifies the hide or show status of a folder.
682
- * https://msdn.microsoft.com/en-us/library/ee159038(v=exchg.80).aspx
683
- * @readonly
684
- * @type {boolean}
685
- * @memberof PSTMessage
686
- */
687
- get attrHidden(): boolean;
688
- /**
689
- * Specifies the date on which the user expects work on the task to begin.
690
- * https://technet.microsoft.com/en-us/library/cc815922(v=office.12).aspx
691
- * @readonly
692
- * @type {Date}
693
- * @memberof PSTMessage
694
- */
695
- get taskStartDate(): Date | null;
696
- /**
697
- * Represents the date when the user expects to complete the task.
698
- * https://technet.microsoft.com/en-us/library/cc839641(v=office.12).aspx
699
- * @readonly
700
- * @type {Date}
701
- * @memberof PSTMessage
702
- */
703
- get taskDueDate(): Date | null;
704
- /**
705
- * Specifies whether a reminder is set on the object.
706
- * https://msdn.microsoft.com/en-us/library/office/cc765589.aspx
707
- * @readonly
708
- * @type {boolean}
709
- * @memberof PSTMessage
710
- */
711
- get reminderSet(): boolean;
712
- /**
713
- * Specifies the interval, in minutes, between the time when the reminder first becomes overdue and the start time of the calendar object.
714
- * https://msdn.microsoft.com/en-us/library/office/cc765535.aspx
715
- * @readonly
716
- * @type {number}
717
- * @memberof PSTMessage
718
- */
719
- get reminderDelta(): number;
720
- /**
721
- * Color categories
722
- * @readonly
723
- * @type {string[]}
724
- * @memberof PSTMessage
725
- */
726
- get colorCategories(): string[];
727
- /**
728
- * Contains a computed value derived from other conversation-related properties.
729
- * https://msdn.microsoft.com/en-us/library/ee204279(v=exchg.80).aspx
730
- * @readonly
731
- * @type {Buffer}
732
- * @memberof PSTMessage
733
- */
734
- get conversationId(): Buffer | null;
735
- /**
736
- * Indicates whether the GUID portion of the PidTagConversationIndex property (section 2.641) is to be used to compute the PidTagConversationId property (section 2.640).
737
- * https://msdn.microsoft.com/en-us/library/ee218393(v=exchg.80).aspx
738
- * @readonly
739
- * @type {boolean}
740
- * @memberof PSTMessage
741
- */
742
- get isConversationIndexTracking(): boolean;
743
- /**
744
- * Contains the messaging user's e-mail address.
745
- * https://msdn.microsoft.com/en-us/library/office/cc842372.aspx
746
- * @readonly
747
- * @type {string}
748
- * @memberof PSTMessage
749
- */
750
- get emailAddress(): string;
751
- /**
752
- * Contains the messaging user's e-mail address type, such as SMTP.
753
- * https://msdn.microsoft.com/en-us/library/office/cc815548.aspx
754
- * @readonly
755
- * @type {string}
756
- * @memberof PSTMessage
757
- */
758
- get addrType(): string;
759
- /**
760
- * Contains a comment about the purpose or content of an object.
761
- * https://msdn.microsoft.com/en-us/library/office/cc842022.aspx
762
- * @readonly
763
- * @type {string}
764
- * @memberof PSTMessage
765
- */
766
- get comment(): string;
767
- /**
768
- * Contains the creation date and time of a message.
769
- * https://msdn.microsoft.com/en-us/library/office/cc765677.aspx
770
- * @readonly
771
- * @type {Date}
772
- * @memberof PSTMessage
773
- */
774
- get creationTime(): Date | null;
775
- /**
776
- * Contains the date and time when the object or subobject was last modified.
777
- * https://msdn.microsoft.com/en-us/library/office/cc815689.aspx
778
- * @readonly
779
- * @type {Date}
780
- * @memberof PSTMessage
781
- */
782
- get modificationTime(): Date | null;
783
- /**
784
- * JSON stringify the object properties. Large fields (like body) aren't included.
785
- * @returns {string}
786
- * @memberof PSTMessage
787
- */
788
- toJSON(): any;
789
- }
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 { PSTObject } from './PSTObject.class';
6
+ import { PSTTableBC } from './PSTTableBC.class';
7
+ import { PSTAttachment } from './PSTAttachment.class';
8
+ import { PSTRecipient } from './PSTRecipient.class';
9
+ export declare class PSTMessage extends PSTObject {
10
+ private recipientTable;
11
+ private attachmentTable;
12
+ static IMPORTANCE_LOW: number;
13
+ static IMPORTANCE_NORMAL: number;
14
+ static IMPORTANCE_HIGH: number;
15
+ static RECIPIENT_TYPE_TO: number;
16
+ static RECIPIENT_TYPE_CC: number;
17
+ /**
18
+ * Creates an instance of PSTMessage. PST Message contains functions that are common across most MAPI objects.
19
+ * Note that many of these functions may not be applicable for the item in question,
20
+ * however there seems to be no hard and fast outline for what properties apply to which
21
+ * objects. For properties where no value is set, a blank value is returned (rather than
22
+ * an exception being raised).
23
+ * @param {PSTFile} pstFile
24
+ * @param {DescriptorIndexNode} descriptorIndexNode
25
+ * @param {PSTTableBC} [table]
26
+ * @param {Map<number, PSTDescriptorItem>} [localDescriptorItems]
27
+ * @memberof PSTMessage
28
+ */
29
+ constructor(pstFile: PSTFile, descriptorIndexNode: DescriptorIndexNode, pstTableBC?: PSTTableBC, localDescriptorItems?: Map<number, PSTDescriptorItem>);
30
+ /**
31
+ * The message is marked as having been read.
32
+ * https://msdn.microsoft.com/en-us/library/ee160304(v=exchg.80).aspx
33
+ * @readonly
34
+ * @type {boolean}
35
+ * @memberof PSTMessage
36
+ */
37
+ get isRead(): boolean;
38
+ /**
39
+ * 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.
40
+ * https://msdn.microsoft.com/en-us/library/ee160304(v=exchg.80).aspx
41
+ * @readonly
42
+ * @type {boolean}
43
+ * @memberof PSTMessage
44
+ */
45
+ get isUnmodified(): boolean;
46
+ /**
47
+ * The message is marked for sending as a result of a call to the RopSubmitMessage ROP
48
+ * https://msdn.microsoft.com/en-us/library/ee160304(v=exchg.80).aspx
49
+ * @readonly
50
+ * @type {boolean}
51
+ * @memberof PSTMessage
52
+ */
53
+ get isSubmitted(): boolean;
54
+ /**
55
+ * The message is still being composed. It is saved, but has not been sent.
56
+ * https://msdn.microsoft.com/en-us/library/ee160304(v=exchg.80).aspx
57
+ * @readonly
58
+ * @type {boolean}
59
+ * @memberof PSTMessage
60
+ */
61
+ get isUnsent(): boolean;
62
+ /**
63
+ * The message has at least one attachment.
64
+ * https://msdn.microsoft.com/en-us/library/ee160304(v=exchg.80).aspx
65
+ * @readonly
66
+ * @type {boolean}
67
+ * @memberof PSTMessage
68
+ */
69
+ get hasAttachments(): boolean;
70
+ /**
71
+ * The user receiving the message was also the user who sent the message.
72
+ * https://msdn.microsoft.com/en-us/library/ee160304(v=exchg.80).aspx
73
+ * @readonly
74
+ * @type {boolean}
75
+ * @memberof PSTMessage
76
+ */
77
+ get isFromMe(): boolean;
78
+ /**
79
+ * The message is an FAI message. An FAI Message object is used to store a variety of settings and
80
+ * auxiliary data, including forms, views, calendar options, favorites, and category lists.
81
+ * https://msdn.microsoft.com/en-us/library/ee160304(v=exchg.80).aspx
82
+ * @readonly
83
+ * @type {boolean}
84
+ * @memberof PSTMessage
85
+ */
86
+ get isAssociated(): boolean;
87
+ /**
88
+ * The message includes a request for a resend operation with a nondelivery report.
89
+ * https://msdn.microsoft.com/en-us/library/ee160304(v=exchg.80).aspx
90
+ * @readonly
91
+ * @type {boolean}
92
+ * @memberof PSTMessage
93
+ */
94
+ get isResent(): boolean;
95
+ /**
96
+ * Find, extract and load up all of the attachments in this email
97
+ * @private
98
+ * @memberof PSTMessage
99
+ */
100
+ private processRecipients;
101
+ /**
102
+ * Get the recipients table.
103
+ * @readonly
104
+ * @type {number}
105
+ * @memberof PSTMessage
106
+ */
107
+ get numberOfRecipients(): number;
108
+ /**
109
+ * Get specific recipient.
110
+ * @param {number} recipientNumber
111
+ * @returns {PSTRecipient}
112
+ * @memberof PSTMessage
113
+ */
114
+ getRecipient(recipientNumber: number): PSTRecipient | null;
115
+ /**
116
+ * Contains TRUE if a message sender wants notification of non-receipt for a specified recipient.
117
+ * https://msdn.microsoft.com/en-us/library/office/cc979208.aspx
118
+ * @readonly
119
+ * @type {boolean}
120
+ * @memberof PSTMessage
121
+ */
122
+ get isNonReceiptNotificationRequested(): boolean;
123
+ /**
124
+ * Contains TRUE if a message sender wants notification of non-deliver for a specified recipient.
125
+ * https://msdn.microsoft.com/en-us/library/ms987568(v=exchg.65).aspx
126
+ * @readonly
127
+ * @type {boolean}
128
+ * @memberof PSTMessage
129
+ */
130
+ get isOriginatorNonDeliveryReportRequested(): boolean;
131
+ /**
132
+ * Contains the recipient type for a message recipient.
133
+ * https://msdn.microsoft.com/en-us/library/office/cc839620.aspx
134
+ * @readonly
135
+ * @type {number}
136
+ * @memberof PSTMessage
137
+ */
138
+ get recipientType(): number;
139
+ /**
140
+ * Plain text message body.
141
+ * https://msdn.microsoft.com/en-us/library/office/cc765874.aspx
142
+ * @readonly
143
+ * @type {string}
144
+ * @memberof PSTMessage
145
+ */
146
+ get body(): string;
147
+ /**
148
+ * Plain text body prefix.
149
+ * @readonly
150
+ * @type {string}
151
+ * @memberof PSTMessage
152
+ */
153
+ get bodyPrefix(): string;
154
+ /**
155
+ * Contains the Rich Text Format (RTF) version of the message text, usually in compressed form.
156
+ * https://technet.microsoft.com/en-us/library/cc815911
157
+ * @readonly
158
+ * @type {string}
159
+ * @memberof PSTMessage
160
+ */
161
+ get bodyRTF(): string;
162
+ /**
163
+ * Contains the cyclical redundancy check (CRC) computed for the message text.
164
+ * https://technet.microsoft.com/en-us/library/cc815532(v=office.15).aspx
165
+ * @readonly
166
+ * @type {number}
167
+ * @memberof PSTMessage
168
+ */
169
+ get rtfSyncBodyCRC(): number;
170
+ /**
171
+ * Contains a count of the significant characters of the message text.
172
+ * https://msdn.microsoft.com/en-us/library/windows/desktop/cc842324.aspx
173
+ * @readonly
174
+ * @type {number}
175
+ * @memberof PSTMessage
176
+ */
177
+ get rtfSyncBodyCount(): number;
178
+ /**
179
+ * Contains significant characters that appear at the beginning of the message text.
180
+ * https://technet.microsoft.com/en-us/library/cc815400(v=office.15).aspx
181
+ * @readonly
182
+ * @type {string}
183
+ * @memberof PSTMessage
184
+ */
185
+ get rtfSyncBodyTag(): string;
186
+ /**
187
+ * Contains a count of the ignorable characters that appear before the significant characters of the message.
188
+ * https://msdn.microsoft.com/en-us/magazine/cc842437.aspx
189
+ * @readonly
190
+ * @type {number}
191
+ * @memberof PSTMessage
192
+ */
193
+ get rtfSyncPrefixCount(): number;
194
+ /**
195
+ * Contains a count of the ignorable characters that appear after the significant characters of the message.
196
+ * https://msdn.microsoft.com/en-us/magazine/cc765795.aspx
197
+ * @readonly
198
+ * @type {number}
199
+ * @memberof PSTMessage
200
+ */
201
+ get rtfSyncTrailingCount(): number;
202
+ /**
203
+ * Gets codepage to use.
204
+ * TODO - does this work?
205
+ * @private
206
+ * @returns {(string | null | undefined)}
207
+ * @memberof PSTMessage
208
+ */
209
+ private getCodepage;
210
+ /**
211
+ * Contains the HTML version of the message text.
212
+ * @readonly
213
+ * @type {string}
214
+ * @memberof PSTMessage
215
+ */
216
+ get bodyHTML(): string;
217
+ /**
218
+ * Processes table which holds attachments.
219
+ * @private
220
+ * @memberof PSTMessage
221
+ */
222
+ private processAttachments;
223
+ /**
224
+ * Number of attachments by counting rows in attachment table.
225
+ * @readonly
226
+ * @type {number}
227
+ * @memberof PSTMessage
228
+ */
229
+ get numberOfAttachments(): number;
230
+ /**
231
+ * Get specific attachment from table using index.
232
+ * @param {number} attachmentNumber
233
+ * @returns {PSTAttachment}
234
+ * @memberof PSTMessage
235
+ */
236
+ getAttachment(attachmentNumber: number): PSTAttachment;
237
+ /**
238
+ * Importance of email (sender determined)
239
+ * https://msdn.microsoft.com/en-us/library/cc815346(v=office.12).aspx
240
+ * @readonly
241
+ * @type {number}
242
+ * @memberof PSTMessage
243
+ */
244
+ get importance(): number;
245
+ /**
246
+ * Contains a text string that identifies the sender-defined message class, such as IPM.Note.
247
+ * https://msdn.microsoft.com/en-us/library/office/cc765765.aspx
248
+ * @readonly
249
+ * @type {string}
250
+ * @memberof PSTMessage
251
+ */
252
+ get messageClass(): string;
253
+ /**
254
+ * Contains the full subject of a message.
255
+ * https://technet.microsoft.com/en-us/library/cc815720
256
+ * @readonly
257
+ * @type {string}
258
+ * @memberof PSTMessage
259
+ */
260
+ get subject(): string;
261
+ /**
262
+ * Contains the date and time the message sender submitted a message.
263
+ * https://technet.microsoft.com/en-us/library/cc839781
264
+ * @readonly
265
+ * @type {Date}
266
+ * @memberof PSTMessage
267
+ */
268
+ get clientSubmitTime(): Date | null;
269
+ /**
270
+ * Contains the display name of the messaging user who receives the message.
271
+ * https://msdn.microsoft.com/en-us/library/office/cc840015.aspx
272
+ * @readonly
273
+ * @type {string}
274
+ * @memberof PSTMessage
275
+ */
276
+ get receivedByName(): string;
277
+ /**
278
+ * Contains the display name for the messaging user represented by the sender.
279
+ * https://msdn.microsoft.com/en-us/library/office/cc842405.aspx
280
+ * @readonly
281
+ * @type {string}
282
+ * @memberof PSTMessage
283
+ */
284
+ get sentRepresentingName(): string;
285
+ /**
286
+ * Contains the address type for the messaging user who is represented by the sender.
287
+ * https://msdn.microsoft.com/en-us/library/office/cc839677.aspx
288
+ * @readonly
289
+ * @type {string}
290
+ * @memberof PSTMessage
291
+ */
292
+ get sentRepresentingAddressType(): string;
293
+ /**
294
+ * Contains the e-mail address for the messaging user who is represented by the sender.
295
+ * https://msdn.microsoft.com/en-us/library/office/cc839552.aspx
296
+ * @readonly
297
+ * @type {string}
298
+ * @memberof PSTMessage
299
+ */
300
+ get sentRepresentingEmailAddress(): string;
301
+ /**
302
+ * Contains the topic of the first message in a conversation thread.
303
+ * https://technet.microsoft.com/en-us/windows/cc839841
304
+ * @readonly
305
+ * @type {string}
306
+ * @memberof PSTMessage
307
+ */
308
+ get conversationTopic(): string;
309
+ /**
310
+ * Contains the e-mail address type, such as SMTP, for the messaging user who actually receives the message.
311
+ * https://technet.microsoft.com/en-us/library/cc765641(v=office.14)
312
+ * @readonly
313
+ * @type {string}
314
+ * @memberof PSTMessage
315
+ */
316
+ get receivedByAddressType(): string;
317
+ /**
318
+ * Contains the e-mail address for the messaging user who receives the message.
319
+ * https://technet.microsoft.com/en-us/library/cc839550(v=office.14)
320
+ * @readonly
321
+ * @type {string}
322
+ * @memberof PSTMessage
323
+ */
324
+ get receivedByAddress(): string;
325
+ /**
326
+ * Contains transport-specific message envelope information.
327
+ * https://technet.microsoft.com/en-us/library/cc815628
328
+ * @readonly
329
+ * @type {string}
330
+ * @memberof PSTMessage
331
+ */
332
+ get transportMessageHeaders(): string;
333
+ get acknowledgementMode(): number;
334
+ /**
335
+ * 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.
336
+ * https://msdn.microsoft.com/en-us/library/office/cc765845.aspx
337
+ * @readonly
338
+ * @type {boolean}
339
+ * @memberof PSTMessage
340
+ */
341
+ get originatorDeliveryReportRequested(): boolean;
342
+ /**
343
+ * Contains the relative priority of a message.
344
+ * https://msdn.microsoft.com/en-us/library/office/cc765646.aspx
345
+ * @readonly
346
+ * @type {number}
347
+ * @memberof PSTMessage
348
+ */
349
+ get priority(): number;
350
+ /**
351
+ * Contains TRUE if a message sender wants the messaging system to generate a read report when the recipient has read a message.
352
+ * https://msdn.microsoft.com/en-us/library/office/cc842094.aspx
353
+ * @readonly
354
+ * @type {boolean}
355
+ * @memberof PSTMessage
356
+ */
357
+ get readReceiptRequested(): boolean;
358
+ /**
359
+ * Specifies whether adding additional recipients, when forwarding the message, is prohibited for the e-mail message.
360
+ * https://msdn.microsoft.com/en-us/library/office/cc979216.aspx
361
+ * @readonly
362
+ * @type {boolean}
363
+ * @memberof PSTMessage
364
+ */
365
+ get recipientReassignmentProhibited(): boolean;
366
+ /**
367
+ * 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.
368
+ * https://msdn.microsoft.com/en-us/library/cc839694(office.12).aspx
369
+ * @readonly
370
+ * @type {number}
371
+ * @memberof PSTMessage
372
+ */
373
+ get originalSensitivity(): number;
374
+ /**
375
+ * Contains a value that indicates the message sender's opinion of the sensitivity of a message.
376
+ * https://msdn.microsoft.com/en-us/library/office/cc839518.aspx
377
+ * @readonly
378
+ * @type {number}
379
+ * @memberof PSTMessage
380
+ */
381
+ get sensitivity(): number;
382
+ /**
383
+ * Contains the search key for the messaging user represented by the sender.
384
+ * https://msdn.microsoft.com/en-us/magazine/cc842068.aspx
385
+ * @readonly
386
+ * @type {Buffer}
387
+ * @memberof PSTMessage
388
+ */
389
+ get pidTagSentRepresentingSearchKey(): Buffer | null;
390
+ /**
391
+ * Contains the display name for the messaging user who is represented by the receiving user.
392
+ * https://technet.microsoft.com/en-us/library/cc842260.aspx
393
+ * @readonly
394
+ * @type {string}
395
+ * @memberof PSTMessage
396
+ */
397
+ get rcvdRepresentingName(): string;
398
+ /**
399
+ * Contains the subject of an original message for use in a report about the message.
400
+ * https://msdn.microsoft.com/en-us/library/office/cc842182.aspx
401
+ * @readonly
402
+ * @type {string}
403
+ * @memberof PSTMessage
404
+ */
405
+ get originalSubject(): string;
406
+ /**
407
+ * Contains a list of display names for recipients that are to get a reply.
408
+ * https://msdn.microsoft.com/en-us/library/windows/desktop/cc815850.aspx
409
+ * @readonly
410
+ * @type {string}
411
+ * @memberof PSTMessage
412
+ */
413
+ get replyRecipientNames(): string;
414
+ /**
415
+ * 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.
416
+ * https://technet.microsoft.com/en-us/library/cc815755
417
+ * @readonly
418
+ * @type {boolean}
419
+ * @memberof PSTMessage
420
+ */
421
+ get messageToMe(): boolean;
422
+ /**
423
+ * 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.
424
+ * https://msdn.microsoft.com/en-us/library/office/cc839713.aspx
425
+ * @readonly
426
+ * @type {boolean}
427
+ * @memberof PSTMessage
428
+ */
429
+ get messageCcMe(): boolean;
430
+ /**
431
+ * 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.
432
+ * https://msdn.microsoft.com/en-us/library/office/cc842268.aspx
433
+ * @readonly
434
+ * @type {boolean}
435
+ * @memberof PSTMessage
436
+ */
437
+ get messageRecipMe(): boolean;
438
+ /**
439
+ * Contains TRUE if the message sender wants a response to a meeting request.
440
+ * https://msdn.microsoft.com/en-us/library/office/cc839921.aspx
441
+ * @readonly
442
+ * @type {boolean}
443
+ * @memberof PSTMessage
444
+ */
445
+ get responseRequested(): boolean;
446
+ /**
447
+ * Contains the display names of any carbon copy (CC) recipients of the original message.
448
+ * https://msdn.microsoft.com/en-us/magazine/cc815841(v=office.14).aspx
449
+ * @readonly
450
+ * @type {string}
451
+ * @memberof PSTMessage
452
+ */
453
+ get originalDisplayBcc(): string;
454
+ /**
455
+ * Contains the display names of any carbon copy (CC) recipients of the original message.
456
+ * https://msdn.microsoft.com/en-us/magazine/cc815841(v=office.14).aspx
457
+ * @readonly
458
+ * @type {string}
459
+ * @memberof PSTMessage
460
+ */
461
+ get originalDisplayCc(): string;
462
+ /**
463
+ * Contains the display names of the primary (To) recipients of the original message.
464
+ * https://msdn.microsoft.com/en-us/magazine/cc842235(v=office.14).aspx
465
+ * @readonly
466
+ * @type {string}
467
+ * @memberof PSTMessage
468
+ */
469
+ get originalDisplayTo(): string;
470
+ /**
471
+ * Contains the address type for the messaging user who is represented by the user actually receiving the message.
472
+ * https://msdn.microsoft.com/en-us/library/office/cc842447.aspx
473
+ * @readonly
474
+ * @type {string}
475
+ * @memberof PSTMessage
476
+ */
477
+ get rcvdRepresentingAddrtype(): string;
478
+ /**
479
+ * Contains the e-mail address for the messaging user who is represented by the receiving user.
480
+ * https://msdn.microsoft.com/en-us/library/office/cc815875.aspx
481
+ * @readonly
482
+ * @type {string}
483
+ * @memberof PSTMessage
484
+ */
485
+ get rcvdRepresentingEmailAddress(): string;
486
+ /**
487
+ * Contains TRUE if a message sender requests a reply from a recipient.
488
+ * https://msdn.microsoft.com/en-us/library/office/cc815286.aspx
489
+ * @readonly
490
+ * @type {boolean}
491
+ * @memberof PSTMessage
492
+ */
493
+ get isReplyRequested(): boolean;
494
+ /**
495
+ * Contains the message sender's entry identifier.
496
+ * https://msdn.microsoft.com/en-us/library/office/cc815625.aspx
497
+ * @readonly
498
+ * @type {Buffer}
499
+ * @memberof PSTMessage
500
+ */
501
+ get senderEntryId(): Buffer | null;
502
+ /**
503
+ * Contains the message sender's display name.
504
+ * https://msdn.microsoft.com/en-us/library/office/cc815457.aspx
505
+ * @readonly
506
+ * @type {string}
507
+ * @memberof PSTMessage
508
+ */
509
+ get senderName(): string;
510
+ /**
511
+ * Contains the message sender's e-mail address type.
512
+ * https://msdn.microsoft.com/en-us/library/office/cc815748.aspx
513
+ * @readonly
514
+ * @type {string}
515
+ * @memberof PSTMessage
516
+ */
517
+ get senderAddrtype(): string;
518
+ /**
519
+ * Contains the message sender's e-mail address.
520
+ * https://msdn.microsoft.com/en-us/library/office/cc839670.aspx
521
+ * @readonly
522
+ * @type {string}
523
+ * @memberof PSTMessage
524
+ */
525
+ get senderEmailAddress(): string;
526
+ /**
527
+ * Contains the sum, in bytes, of the sizes of all properties on a message object
528
+ * https://technet.microsoft.com/en-us/library/cc842471
529
+ * @readonly
530
+ * @type {long}
531
+ * @memberof PSTMessage
532
+ */
533
+ get messageSize(): Long;
534
+ /**
535
+ * A number associated with an item in a message store.
536
+ * https://msdn.microsoft.com/en-us/library/office/cc815718.aspx
537
+ * @readonly
538
+ * @type {number}
539
+ * @memberof PSTMessage
540
+ */
541
+ get internetArticleNumber(): number;
542
+ /**
543
+ * Contains a string that names the first server that is used to send the message.
544
+ * https://msdn.microsoft.com/en-us/library/office/cc815413.aspx
545
+ * @readonly
546
+ * @type {string}
547
+ * @memberof PSTMessage
548
+ */
549
+ get primarySendAccount(): string;
550
+ /**
551
+ * Specifies the server that a client is currently attempting to use to send e-mail.
552
+ * https://technet.microsoft.com/en-us/library/cc842327(v=office.14)
553
+ * @readonly
554
+ * @type {string}
555
+ * @memberof PSTMessage
556
+ */
557
+ get nextSendAcct(): string;
558
+ /**
559
+ * Contains the type of an object.
560
+ * https://msdn.microsoft.com/en-us/library/office/cc815487.aspx
561
+ * @readonly
562
+ * @type {number}
563
+ * @memberof PSTMessage
564
+ */
565
+ get objectType(): number;
566
+ /**
567
+ * Contains TRUE if a client application wants MAPI to delete the associated message after submission.
568
+ * https://msdn.microsoft.com/en-us/library/office/cc842353.aspx
569
+ * @readonly
570
+ * @type {boolean}
571
+ * @memberof PSTMessage
572
+ */
573
+ get deleteAfterSubmit(): boolean;
574
+ /**
575
+ * 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.
576
+ * https://msdn.microsoft.com/en-us/library/office/cc765767.aspx
577
+ * @readonly
578
+ * @type {boolean}
579
+ * @memberof PSTMessage
580
+ */
581
+ get responsibility(): boolean;
582
+ /**
583
+ * Contains TRUE if the PR_RTF_COMPRESSED (PidTagRtfCompressed) property has the same text content as the PR_BODY (PidTagBody) property for this message.
584
+ * https://msdn.microsoft.com/en-us/library/office/cc765844.aspx
585
+ * @readonly
586
+ * @type {boolean}
587
+ * @memberof PSTMessage
588
+ */
589
+ get isRTFInSync(): boolean;
590
+ /**
591
+ * Contains an ASCII list of the display names of any blind carbon copy (BCC) message recipients, separated by semicolons (;).
592
+ * https://msdn.microsoft.com/en-us/library/office/cc815730.aspx
593
+ * @readonly
594
+ * @type {string}
595
+ * @memberof PSTMessage
596
+ */
597
+ get displayBCC(): string;
598
+ /**
599
+ * Contains an ASCII list of the display names of any carbon copy (CC) message recipients, separated by semicolons (;).
600
+ * https://msdn.microsoft.com/en-us/library/office/cc765528.aspx
601
+ * @readonly
602
+ * @type {string}
603
+ * @memberof PSTMessage
604
+ */
605
+ get displayCC(): string;
606
+ /**
607
+ * Contains a list of the display names of the primary (To) message recipients, separated by semicolons (;).
608
+ * https://msdn.microsoft.com/en-us/library/office/cc839687.aspx
609
+ * @readonly
610
+ * @type {string}
611
+ * @memberof PSTMessage
612
+ */
613
+ get displayTo(): string;
614
+ /**
615
+ * Contains the date and time when a message was delivered.
616
+ * https://msdn.microsoft.com/en-us/library/office/cc841961.aspx
617
+ * @readonly
618
+ * @type {Date}
619
+ * @memberof PSTMessage
620
+ */
621
+ get messageDeliveryTime(): Date | null;
622
+ /**
623
+ * Corresponds to the message ID field as specified in [RFC2822].
624
+ * https://msdn.microsoft.com/en-us/library/office/cc839521.aspx
625
+ * @readonly
626
+ * @type {string}
627
+ * @memberof PSTMessage
628
+ */
629
+ get internetMessageId(): string;
630
+ /**
631
+ * Contains the original message's PR_INTERNET_MESSAGE_ID (PidTagInternetMessageId) property value.
632
+ * https://msdn.microsoft.com/en-us/library/office/cc839776.aspx
633
+ * @readonly
634
+ * @type {string}
635
+ * @memberof PSTMessage
636
+ */
637
+ get inReplyToId(): string;
638
+ /**
639
+ * 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.
640
+ * https://msdn.microsoft.com/en-us/library/office/cc765856.aspx
641
+ * @readonly
642
+ * @type {string}
643
+ * @memberof PSTMessage
644
+ */
645
+ get returnPath(): string;
646
+ /**
647
+ * Contains a number that indicates which icon to use when you display a group of e-mail objects.
648
+ * https://msdn.microsoft.com/en-us/library/office/cc815472.aspx
649
+ * @readonly
650
+ * @type {number}
651
+ * @memberof PSTMessage
652
+ */
653
+ get iconIndex(): number;
654
+ /**
655
+ * Contains the last verb executed.
656
+ * Todo: Helper methods for each flag.
657
+ * https://msdn.microsoft.com/en-us/library/office/cc841968.aspx
658
+ * @readonly
659
+ * @type {number}
660
+ * @memberof PSTMessage
661
+ */
662
+ get lastVerbExecuted(): number;
663
+ /**
664
+ * Contains the time when the last verb was executed.
665
+ * https://msdn.microsoft.com/en-us/library/office/cc839918.aspx
666
+ * @readonly
667
+ * @type {Date}
668
+ * @memberof PSTMessage
669
+ */
670
+ get lastVerbExecutionTime(): Date | null;
671
+ /**
672
+ * The URL component name for a message.
673
+ * https://msdn.microsoft.com/en-us/library/office/cc815653.aspx
674
+ * @readonly
675
+ * @type {String}
676
+ * @memberof PSTMessage
677
+ */
678
+ get urlCompName(): string;
679
+ /**
680
+ * Specifies the hide or show status of a folder.
681
+ * https://msdn.microsoft.com/en-us/library/ee159038(v=exchg.80).aspx
682
+ * @readonly
683
+ * @type {boolean}
684
+ * @memberof PSTMessage
685
+ */
686
+ get attrHidden(): boolean;
687
+ /**
688
+ * Specifies the date on which the user expects work on the task to begin.
689
+ * https://technet.microsoft.com/en-us/library/cc815922(v=office.12).aspx
690
+ * @readonly
691
+ * @type {Date}
692
+ * @memberof PSTMessage
693
+ */
694
+ get taskStartDate(): Date | null;
695
+ /**
696
+ * Represents the date when the user expects to complete the task.
697
+ * https://technet.microsoft.com/en-us/library/cc839641(v=office.12).aspx
698
+ * @readonly
699
+ * @type {Date}
700
+ * @memberof PSTMessage
701
+ */
702
+ get taskDueDate(): Date | null;
703
+ /**
704
+ * Specifies whether a reminder is set on the object.
705
+ * https://msdn.microsoft.com/en-us/library/office/cc765589.aspx
706
+ * @readonly
707
+ * @type {boolean}
708
+ * @memberof PSTMessage
709
+ */
710
+ get reminderSet(): boolean;
711
+ /**
712
+ * Specifies the interval, in minutes, between the time when the reminder first becomes overdue and the start time of the calendar object.
713
+ * https://msdn.microsoft.com/en-us/library/office/cc765535.aspx
714
+ * @readonly
715
+ * @type {number}
716
+ * @memberof PSTMessage
717
+ */
718
+ get reminderDelta(): number;
719
+ /**
720
+ * Color categories
721
+ * @readonly
722
+ * @type {string[]}
723
+ * @memberof PSTMessage
724
+ */
725
+ get colorCategories(): string[];
726
+ /**
727
+ * Contains a computed value derived from other conversation-related properties.
728
+ * https://msdn.microsoft.com/en-us/library/ee204279(v=exchg.80).aspx
729
+ * @readonly
730
+ * @type {Buffer}
731
+ * @memberof PSTMessage
732
+ */
733
+ get conversationId(): Buffer | null;
734
+ /**
735
+ * Indicates whether the GUID portion of the PidTagConversationIndex property (section 2.641) is to be used to compute the PidTagConversationId property (section 2.640).
736
+ * https://msdn.microsoft.com/en-us/library/ee218393(v=exchg.80).aspx
737
+ * @readonly
738
+ * @type {boolean}
739
+ * @memberof PSTMessage
740
+ */
741
+ get isConversationIndexTracking(): boolean;
742
+ /**
743
+ * Contains the messaging user's e-mail address.
744
+ * https://msdn.microsoft.com/en-us/library/office/cc842372.aspx
745
+ * @readonly
746
+ * @type {string}
747
+ * @memberof PSTMessage
748
+ */
749
+ get emailAddress(): string;
750
+ /**
751
+ * Contains the messaging user's e-mail address type, such as SMTP.
752
+ * https://msdn.microsoft.com/en-us/library/office/cc815548.aspx
753
+ * @readonly
754
+ * @type {string}
755
+ * @memberof PSTMessage
756
+ */
757
+ get addrType(): string;
758
+ /**
759
+ * Contains a comment about the purpose or content of an object.
760
+ * https://msdn.microsoft.com/en-us/library/office/cc842022.aspx
761
+ * @readonly
762
+ * @type {string}
763
+ * @memberof PSTMessage
764
+ */
765
+ get comment(): string;
766
+ /**
767
+ * Contains the creation date and time of a message.
768
+ * https://msdn.microsoft.com/en-us/library/office/cc765677.aspx
769
+ * @readonly
770
+ * @type {Date}
771
+ * @memberof PSTMessage
772
+ */
773
+ get creationTime(): Date | null;
774
+ /**
775
+ * Contains the date and time when the object or subobject was last modified.
776
+ * https://msdn.microsoft.com/en-us/library/office/cc815689.aspx
777
+ * @readonly
778
+ * @type {Date}
779
+ * @memberof PSTMessage
780
+ */
781
+ get modificationTime(): Date | null;
782
+ /**
783
+ * JSON stringify the object properties. Large fields (like body) aren't included.
784
+ * @returns {string}
785
+ * @memberof PSTMessage
786
+ */
787
+ toJSON(): any;
788
+ }