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