@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,381 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PSTAppointment = void 0;
4
+ /* eslint-disable @typescript-eslint/no-explicit-any */
5
+ const OutlookProperties_1 = require("./OutlookProperties");
6
+ const PSTMessage_class_1 = require("./PSTMessage.class");
7
+ // PSTAppointment is for Calendar items
8
+ class PSTAppointment extends PSTMessage_class_1.PSTMessage {
9
+ /**
10
+ *
11
+ * @internal
12
+ */
13
+ constructor(rootProvider, node, subNode, propertyFinder) {
14
+ super(rootProvider, node, subNode, propertyFinder);
15
+ }
16
+ /**
17
+ * Specifies if a meeting request should be sent as an iCal message.
18
+ * https://msdn.microsoft.com/en-us/library/office/cc839802.aspx
19
+ * @readonly
20
+ * @type {boolean}
21
+ * @memberof PSTAppointment
22
+ */
23
+ get sendAsICAL() {
24
+ return this.getBooleanItem(this._rootProvider.getNameToIdMapItem(OutlookProperties_1.OutlookProperties.PidLidSendMeetingAsIcal, OutlookProperties_1.OutlookProperties.PSETID_Appointment));
25
+ }
26
+ /**
27
+ * Represents the user’s availability for an appointment.
28
+ * https://msdn.microsoft.com/en-us/library/office/cc841972.aspx
29
+ * @readonly
30
+ * @type {number}
31
+ * @memberof PSTAppointment
32
+ */
33
+ get busyStatus() {
34
+ return this.getIntItem(this._rootProvider.getNameToIdMapItem(OutlookProperties_1.OutlookProperties.PidLidBusyStatus, OutlookProperties_1.OutlookProperties.PSETID_Appointment));
35
+ }
36
+ /**
37
+ * The user is busy.
38
+ * https://msdn.microsoft.com/en-us/library/office/cc841972.aspx
39
+ * @readonly
40
+ * @type {boolean}
41
+ * @memberof PSTAppointment
42
+ */
43
+ get showAsBusy() {
44
+ return this.busyStatus == 2;
45
+ }
46
+ /**
47
+ * Represents the location of an appointment.
48
+ * https://msdn.microsoft.com/en-us/library/office/cc842419.aspx
49
+ * @readonly
50
+ * @type {string}
51
+ * @memberof PSTAppointment
52
+ */
53
+ get location() {
54
+ return this.getStringItem(this._rootProvider.getNameToIdMapItem(OutlookProperties_1.OutlookProperties.PidLidLocation, OutlookProperties_1.OutlookProperties.PSETID_Appointment));
55
+ }
56
+ /**
57
+ * Represents the date and time when an appointment begins.
58
+ * https://msdn.microsoft.com/en-us/library/office/cc839929.aspx
59
+ * @readonly
60
+ * @type {Date}
61
+ * @memberof PSTAppointment
62
+ */
63
+ get startTime() {
64
+ return this.getDateItem(this._rootProvider.getNameToIdMapItem(OutlookProperties_1.OutlookProperties.PidLidAppointmentStartWhole, OutlookProperties_1.OutlookProperties.PSETID_Appointment));
65
+ }
66
+ /**
67
+ * Represents the date and time that an appointment ends.
68
+ * https://msdn.microsoft.com/en-us/library/office/cc815864.aspx
69
+ * @readonly
70
+ * @type {Date}
71
+ * @memberof PSTAppointment
72
+ */
73
+ get endTime() {
74
+ return this.getDateItem(this._rootProvider.getNameToIdMapItem(OutlookProperties_1.OutlookProperties.PidLidAppointmentEndWhole, OutlookProperties_1.OutlookProperties.PSETID_Appointment));
75
+ }
76
+ /**
77
+ * Represents the length of time, in minutes, when an appointment is scheduled.
78
+ * https://msdn.microsoft.com/en-us/library/office/cc842287.aspx
79
+ * @readonly
80
+ * @type {number}
81
+ * @memberof PSTAppointment
82
+ */
83
+ get duration() {
84
+ return this.getIntItem(this._rootProvider.getNameToIdMapItem(OutlookProperties_1.OutlookProperties.PidLidAppointmentDuration, OutlookProperties_1.OutlookProperties.PSETID_Appointment));
85
+ }
86
+ /**
87
+ * Specifies the color to use when displaying the calendar.
88
+ * https://msdn.microsoft.com/en-us/library/office/cc842274.aspx
89
+ * @readonly
90
+ * @type {number}
91
+ * @memberof PSTAppointment
92
+ */
93
+ get color() {
94
+ return this.getIntItem(this._rootProvider.getNameToIdMapItem(OutlookProperties_1.OutlookProperties.PidLidAppointmentColor, OutlookProperties_1.OutlookProperties.PSETID_Appointment));
95
+ }
96
+ /**
97
+ * Specifies whether or not the event is all day.
98
+ * https://msdn.microsoft.com/en-us/library/office/cc839901.aspx
99
+ * @readonly
100
+ * @type {boolean}
101
+ * @memberof PSTAppointment
102
+ */
103
+ get subType() {
104
+ return (this.getIntItem(this._rootProvider.getNameToIdMapItem(OutlookProperties_1.OutlookProperties.PidLidAppointmentSubType, OutlookProperties_1.OutlookProperties.PSETID_Appointment)) != 0);
105
+ }
106
+ /**
107
+ * Specifies a bit field that describes the state of the object.
108
+ * https://msdn.microsoft.com/en-us/library/office/cc765762.aspx
109
+ * @readonly
110
+ * @type {number}
111
+ * @memberof PSTAppointment
112
+ */
113
+ get meetingStatus() {
114
+ return this.getIntItem(this._rootProvider.getNameToIdMapItem(OutlookProperties_1.OutlookProperties.PidLidAppointmentStateFlags, OutlookProperties_1.OutlookProperties.PSETID_Appointment));
115
+ }
116
+ /**
117
+ * Specifies the response status of an attendee.
118
+ * https://msdn.microsoft.com/en-us/library/office/cc839923.aspx
119
+ * @readonly
120
+ * @type {number}
121
+ * @memberof PSTAppointment
122
+ */
123
+ get responseStatus() {
124
+ return this.getIntItem(this._rootProvider.getNameToIdMapItem(OutlookProperties_1.OutlookProperties.PidLidResponseStatus, OutlookProperties_1.OutlookProperties.PSETID_Appointment));
125
+ }
126
+ /**
127
+ * Specifies whether an appointment message is recurrent.
128
+ * https://msdn.microsoft.com/en-us/library/office/cc765772.aspx
129
+ * @readonly
130
+ * @type {boolean}
131
+ * @memberof PSTAppointment
132
+ */
133
+ get isRecurring() {
134
+ return this.getBooleanItem(this._rootProvider.getNameToIdMapItem(OutlookProperties_1.OutlookProperties.PidLidRecurring, OutlookProperties_1.OutlookProperties.PSETID_Appointment));
135
+ }
136
+ /**
137
+ * Specifies the date and time within the recurrence pattern that the exception will replace.
138
+ * https://msdn.microsoft.com/en-us/library/office/cc842450.aspx
139
+ * @readonly
140
+ * @type {Date}
141
+ * @memberof PSTAppointment
142
+ */
143
+ get recurrenceBase() {
144
+ return this.getDateItem(this._rootProvider.getNameToIdMapItem(OutlookProperties_1.OutlookProperties.PidLidExceptionReplaceTime, OutlookProperties_1.OutlookProperties.PSETID_Appointment));
145
+ }
146
+ /**
147
+ * Specifies the recurrence type of the recurring series.
148
+ * https://msdn.microsoft.com/en-us/library/office/cc842135.aspx
149
+ * @readonly
150
+ * @type {number}
151
+ * @memberof PSTAppointment
152
+ */
153
+ get recurrenceType() {
154
+ return this.getIntItem(this._rootProvider.getNameToIdMapItem(OutlookProperties_1.OutlookProperties.PidLidRecurrenceType, OutlookProperties_1.OutlookProperties.PSETID_Appointment));
155
+ }
156
+ /**
157
+ * Specifies a description of the recurrence pattern of the calendar object.
158
+ * https://msdn.microsoft.com/en-us/library/office/cc815733.aspx
159
+ * @readonly
160
+ * @type {string}
161
+ * @memberof PSTAppointment
162
+ */
163
+ get recurrencePattern() {
164
+ return this.getStringItem(this._rootProvider.getNameToIdMapItem(OutlookProperties_1.OutlookProperties.PidLidRecurrencePattern, OutlookProperties_1.OutlookProperties.PSETID_Appointment));
165
+ }
166
+ /**
167
+ * Specifies the dates and times when a recurring series occurs by using one of the recurrence patterns and ranges that are specified in [MS-OXOCAL].
168
+ * https://msdn.microsoft.com/en-us/library/office/cc842017.aspx
169
+ * @readonly
170
+ * @type {Buffer}
171
+ * @memberof PSTAppointment
172
+ */
173
+ get recurrenceStructure() {
174
+ return this.getBinaryItem(this._rootProvider.getNameToIdMapItem(OutlookProperties_1.OutlookProperties.PidLidAppointmentRecur, OutlookProperties_1.OutlookProperties.PSETID_Appointment));
175
+ }
176
+ /**
177
+ * Contains a stream that maps to the persisted format of a TZREG structure, which describes the time zone to be used for the start and end time of a recurring appointment or meeting request.
178
+ * https://msdn.microsoft.com/en-us/library/office/cc815376.aspx
179
+ * @readonly
180
+ * @type {Buffer}
181
+ * @memberof PSTAppointment
182
+ */
183
+ get timezone() {
184
+ return this.getBinaryItem(this._rootProvider.getNameToIdMapItem(OutlookProperties_1.OutlookProperties.PidLidTimeZoneStruct, OutlookProperties_1.OutlookProperties.PSETID_Appointment));
185
+ }
186
+ /**
187
+ * Specifies a list of all the attendees except for the organizer, including resources and unsendable attendees.
188
+ * https://msdn.microsoft.com/en-us/library/office/cc815418.aspx
189
+ * @readonly
190
+ * @type {string}
191
+ * @memberof PSTAppointment
192
+ */
193
+ get allAttendees() {
194
+ return this.getStringItem(this._rootProvider.getNameToIdMapItem(OutlookProperties_1.OutlookProperties.PidLidAllAttendeesString, OutlookProperties_1.OutlookProperties.PSETID_Appointment));
195
+ }
196
+ /**
197
+ * Contains a list of all the sendable attendees who are also required attendees.
198
+ * https://msdn.microsoft.com/en-us/library/office/cc842502.aspx
199
+ * @readonly
200
+ * @type {string}
201
+ * @memberof PSTAppointment
202
+ */
203
+ get toAttendees() {
204
+ return this.getStringItem(this._rootProvider.getNameToIdMapItem(OutlookProperties_1.OutlookProperties.PidLidToAttendeesString, OutlookProperties_1.OutlookProperties.PSETID_Appointment));
205
+ }
206
+ /**
207
+ * Contains a list of all the sendable attendees who are also optional attendees.
208
+ * https://msdn.microsoft.com/en-us/library/office/cc839636.aspx
209
+ * @readonly
210
+ * @type {string}
211
+ * @memberof PSTAppointment
212
+ */
213
+ get ccAttendees() {
214
+ return this.getStringItem(this._rootProvider.getNameToIdMapItem(OutlookProperties_1.OutlookProperties.PidLidCcAttendeesString, OutlookProperties_1.OutlookProperties.PSETID_Appointment));
215
+ }
216
+ /**
217
+ * Specifies the sequence number of a Meeting object.
218
+ * https://msdn.microsoft.com/en-us/library/office/cc765937.aspx
219
+ * @readonly
220
+ * @type {number}
221
+ * @memberof PSTAppointment
222
+ */
223
+ get appointmentSequence() {
224
+ return this.getIntItem(this._rootProvider.getNameToIdMapItem(OutlookProperties_1.OutlookProperties.PidLidAppointmentSequence, OutlookProperties_1.OutlookProperties.PSETID_Appointment));
225
+ }
226
+ /**
227
+ * Is a hosted meeting?
228
+ * https://msdn.microsoft.com/en-us/library/ee200872(v=exchg.80).aspx
229
+ * @readonly
230
+ * @type {boolean}
231
+ * @memberof PSTAppointment
232
+ */
233
+ get isOnlineMeeting() {
234
+ return this.getBooleanItem(this._rootProvider.getNameToIdMapItem(OutlookProperties_1.OutlookProperties.PidLidConferencingCheck, OutlookProperties_1.OutlookProperties.PSETID_Appointment));
235
+ }
236
+ /**
237
+ * Specifies the type of the meeting.
238
+ * https://msdn.microsoft.com/en-us/library/ee158396(v=exchg.80).aspx
239
+ * @readonly
240
+ * @type {number}
241
+ * @memberof PSTAppointment
242
+ */
243
+ get netMeetingType() {
244
+ return this.getIntItem(this._rootProvider.getNameToIdMapItem(OutlookProperties_1.OutlookProperties.PidLidConferencingType, OutlookProperties_1.OutlookProperties.PSETID_Appointment));
245
+ }
246
+ /**
247
+ * Specifies the directory server to be used.
248
+ * https://msdn.microsoft.com/en-us/library/ee201516(v=exchg.80).aspx
249
+ * @readonly
250
+ * @type {string}
251
+ * @memberof PSTAppointment
252
+ */
253
+ get netMeetingServer() {
254
+ return this.getStringItem(this._rootProvider.getNameToIdMapItem(OutlookProperties_1.OutlookProperties.PidLidDirectory, OutlookProperties_1.OutlookProperties.PSETID_Appointment));
255
+ }
256
+ /**
257
+ * Specifies the email address of the organizer.
258
+ * https://msdn.microsoft.com/en-us/library/ee203317(v=exchg.80).aspx
259
+ * @readonly
260
+ * @type {string}
261
+ * @memberof PSTAppointment
262
+ */
263
+ get netMeetingOrganizerAlias() {
264
+ return this.getStringItem(this._rootProvider.getNameToIdMapItem(OutlookProperties_1.OutlookProperties.PidLidOrganizerAlias, OutlookProperties_1.OutlookProperties.PSETID_Appointment));
265
+ }
266
+ /**
267
+ * Specifies the document to be launched when the user joins the meeting.
268
+ * https://msdn.microsoft.com/en-us/library/ee204395(v=exchg.80).aspx
269
+ * @readonly
270
+ * @type {string}
271
+ * @memberof PSTAppointment
272
+ */
273
+ get netMeetingDocumentPathName() {
274
+ return this.getStringItem(this._rootProvider.getNameToIdMapItem(OutlookProperties_1.OutlookProperties.PidLidCollaborateDoc, OutlookProperties_1.OutlookProperties.PSETID_Appointment));
275
+ }
276
+ /**
277
+ * The PidLidNetShowUrl property ([MS-OXPROPS] section 2.175) specifies the URL to be launched when the user joins the meeting
278
+ * https://msdn.microsoft.com/en-us/library/ee179451(v=exchg.80).aspx
279
+ * @readonly
280
+ * @type {string}
281
+ * @memberof PSTAppointment
282
+ */
283
+ get netShowURL() {
284
+ return this.getStringItem(this._rootProvider.getNameToIdMapItem(OutlookProperties_1.OutlookProperties.PidLidNetShowUrl, OutlookProperties_1.OutlookProperties.PSETID_Appointment));
285
+ }
286
+ /**
287
+ * Specifies the date and time at which the meeting-related object was sent.
288
+ * https://msdn.microsoft.com/en-us/library/ee237112(v=exchg.80).aspx
289
+ * @readonly
290
+ * @type {Date}
291
+ * @memberof PSTAppointment
292
+ */
293
+ get attendeeCriticalChange() {
294
+ return this.getDateItem(this._rootProvider.getNameToIdMapItem(OutlookProperties_1.OutlookProperties.PidLidAttendeeCriticalChange, OutlookProperties_1.OutlookProperties.PSETID_Meeting));
295
+ }
296
+ /**
297
+ * Indicates that this meeting response is a counter proposal.
298
+ * https://msdn.microsoft.com/en-us/magazine/cc815846.aspx
299
+ * @readonly
300
+ * @type {boolean}
301
+ * @memberof PSTAppointment
302
+ */
303
+ get appointmentCounterProposal() {
304
+ return this.getBooleanItem(this._rootProvider.getNameToIdMapItem(OutlookProperties_1.OutlookProperties.PidLidAppointmentCounterProposal, OutlookProperties_1.OutlookProperties.PSETID_Appointment));
305
+ }
306
+ /**
307
+ * Indicates whether the user did not include any text in the body of the Meeting Response object.
308
+ * https://msdn.microsoft.com/en-us/library/ee159822(v=exchg.80).aspx
309
+ * @readonly
310
+ * @type {boolean}
311
+ * @memberof PSTAppointment
312
+ */
313
+ get isSilent() {
314
+ return this.getBooleanItem(this._rootProvider.getNameToIdMapItem(OutlookProperties_1.OutlookProperties.PidLidIsSilent, OutlookProperties_1.OutlookProperties.PSETID_Meeting));
315
+ }
316
+ /**
317
+ * Identifies required attendees for the appointment or meeting.
318
+ * https://msdn.microsoft.com/en-us/library/ee160700(v=exchg.80).aspx
319
+ * @readonly
320
+ * @type {string}
321
+ * @memberof PSTAppointment
322
+ */
323
+ get requiredAttendees() {
324
+ return this.getStringItem(this._rootProvider.getNameToIdMapItem(OutlookProperties_1.OutlookProperties.PidLidRequiredAttendees, OutlookProperties_1.OutlookProperties.PSETID_Meeting));
325
+ }
326
+ /**
327
+ * Contains the Windows Locale ID of the end-user who created this message.
328
+ * https://msdn.microsoft.com/en-us/library/ee201602(v=exchg.80).aspx
329
+ * @readonly
330
+ * @type {number}
331
+ * @memberof PSTAppointment
332
+ */
333
+ get localeId() {
334
+ return this.getIntItem(OutlookProperties_1.OutlookProperties.PidTagMessageLocaleId);
335
+ }
336
+ /**
337
+ * JSON stringify the object properties. Large fields (like body) aren't included.
338
+ * @returns {string}
339
+ * @memberof PSTAppointment
340
+ */
341
+ toJSON() {
342
+ const clone = Object.assign({
343
+ messageClass: this.messageClass,
344
+ subject: this.subject,
345
+ importance: this.importance,
346
+ transportMessageHeaders: this.transportMessageHeaders,
347
+ sendAsICAL: this.sendAsICAL,
348
+ busyStatus: this.busyStatus,
349
+ showAsBusy: this.showAsBusy,
350
+ location: this.location,
351
+ startTime: this.startTime,
352
+ endTime: this.endTime,
353
+ duration: this.duration,
354
+ color: this.color,
355
+ subType: this.subType,
356
+ meetingStatus: this.meetingStatus,
357
+ isRecurring: this.isRecurring,
358
+ recurrenceBase: this.recurrenceBase,
359
+ recurrenceType: this.recurrenceType,
360
+ recurrencePattern: this.recurrencePattern,
361
+ recurrenceStructure: this.recurrenceStructure,
362
+ timezone: this.timezone,
363
+ allAttendees: this.allAttendees,
364
+ toAttendees: this.toAttendees,
365
+ ccAttendees: this.ccAttendees,
366
+ appointmentSequence: this.appointmentSequence,
367
+ isOnlineMeeting: this.isOnlineMeeting,
368
+ netMeetingType: this.netMeetingType,
369
+ netMeetingServer: this.netMeetingServer,
370
+ netMeetingOrganizerAlias: this.netMeetingOrganizerAlias,
371
+ netMeetingDocumentPathName: this.netMeetingDocumentPathName,
372
+ attendeeCriticalChange: this.attendeeCriticalChange,
373
+ appointmentCounterProposal: this.appointmentCounterProposal,
374
+ isSilent: this.isSilent,
375
+ requiredAttendees: this.requiredAttendees,
376
+ localeId: this.localeId,
377
+ }, this);
378
+ return clone;
379
+ }
380
+ }
381
+ exports.PSTAppointment = PSTAppointment;
@@ -0,0 +1,168 @@
1
+ import { PropertyFinder } from './PAUtil';
2
+ import { PLNode } from './PLNode';
3
+ import { PLSubNode } from './PLSubNode';
4
+ import { PSTMessage } from './PSTMessage.class';
5
+ import { PSTObject } from './PSTObject.class';
6
+ import { RootProvider } from './RootProvider';
7
+ export declare class PSTAttachment extends PSTObject {
8
+ static ATTACHMENT_METHOD_NONE: number;
9
+ static ATTACHMENT_METHOD_BY_VALUE: number;
10
+ static ATTACHMENT_METHOD_BY_REFERENCE: number;
11
+ static ATTACHMENT_METHOD_BY_REFERENCE_RESOLVE: number;
12
+ static ATTACHMENT_METHOD_BY_REFERENCE_ONLY: number;
13
+ static ATTACHMENT_METHOD_EMBEDDED: number;
14
+ static ATTACHMENT_METHOD_OLE: number;
15
+ /**
16
+ * Creates an instance of PSTAttachment.
17
+ * @internal
18
+ * @param {PSTFile} rootProvider
19
+ * @param {Map<number, PSTDescriptorItem>} localDescriptorItems
20
+ * @memberof PSTAttachment
21
+ */
22
+ constructor(rootProvider: RootProvider, node: PLNode, subNode: PLSubNode, propertyFinder: PropertyFinder);
23
+ /**
24
+ * The PR_ATTACH_SIZE property contains the sum, in bytes, of the sizes of all properties on an attachment.
25
+ * https://msdn.microsoft.com/en-us/library/gg156074(v=winembedded.70).aspx
26
+ * @readonly
27
+ * @type {number}
28
+ * @memberof PSTAttachment
29
+ */
30
+ get size(): number;
31
+ /**
32
+ * Contains the creation date and time of a message.
33
+ * https://msdn.microsoft.com/en-us/library/office/cc765677.aspx
34
+ * @readonly
35
+ * @type {Date}
36
+ * @memberof PSTAttachment
37
+ */
38
+ get creationTime(): Date | null;
39
+ /**
40
+ * Contains the date and time when the object or subobject was last modified.
41
+ * https://msdn.microsoft.com/en-us/library/office/cc815689.aspx
42
+ * @readonly
43
+ * @type {Date}
44
+ * @memberof PSTAttachment
45
+ */
46
+ get modificationTime(): Date | null;
47
+ /**
48
+ * Get an embedded message.
49
+ * @readonly
50
+ * @type {PSTMessage}
51
+ * @memberof PSTAttachment
52
+ */
53
+ getEmbeddedPSTMessage(): Promise<PSTMessage | null>;
54
+ /**
55
+ * Get attachment content as binary data
56
+ */
57
+ get fileData(): ArrayBuffer | undefined;
58
+ /**
59
+ * Size of the attachment file itself.
60
+ * https://msdn.microsoft.com/en-us/library/gg154634(v=winembedded.70).aspx
61
+ * @readonly
62
+ * @type {number}
63
+ * @memberof PSTAttachment
64
+ */
65
+ get filesize(): number;
66
+ /**
67
+ * Contains an attachment's base file name and extension, excluding path.
68
+ * https://msdn.microsoft.com/en-us/library/office/cc842517.aspx
69
+ * @readonly
70
+ * @type {string}
71
+ * @memberof PSTAttachment
72
+ */
73
+ get filename(): string;
74
+ /**
75
+ * Contains a MAPI-defined constant representing the way the contents of an attachment can be accessed.
76
+ * https://msdn.microsoft.com/en-us/library/office/cc815439.aspx
77
+ * @readonly
78
+ * @type {number}
79
+ * @memberof PSTAttachment
80
+ */
81
+ get attachMethod(): number;
82
+ /**
83
+ * Contains a number that uniquely identifies the attachment within its parent message.
84
+ * https://msdn.microsoft.com/en-us/library/office/cc841969.aspx
85
+ * @readonly
86
+ * @type {number}
87
+ * @memberof PSTAttachment
88
+ */
89
+ get attachNum(): number;
90
+ /**
91
+ * Contains an attachment's long filename and extension, excluding path.
92
+ * https://msdn.microsoft.com/en-us/library/office/cc842157.aspx
93
+ * @readonly
94
+ * @type {string}
95
+ * @memberof PSTAttachment
96
+ */
97
+ get longFilename(): string;
98
+ /**
99
+ * Contains an attachment's fully-qualified path and filename.
100
+ * https://msdn.microsoft.com/en-us/library/office/cc839889.aspx
101
+ * @readonly
102
+ * @type {string}
103
+ * @memberof PSTAttachment
104
+ */
105
+ get pathname(): string;
106
+ /**
107
+ * Contains an offset, in characters, to use in rendering an attachment within the main message text.
108
+ * https://msdn.microsoft.com/en-us/library/office/cc842381.aspx
109
+ * @readonly
110
+ * @type {number}
111
+ * @memberof PSTAttachment
112
+ */
113
+ get renderingPosition(): number;
114
+ /**
115
+ * Contains an attachment's fully-qualified long path and filename.
116
+ * https://msdn.microsoft.com/en-us/library/office/cc815443.aspx
117
+ * @readonly
118
+ * @type {string}
119
+ * @memberof PSTAttachment
120
+ */
121
+ get longPathname(): string;
122
+ /**
123
+ * Contains formatting information about a Multipurpose Internet Mail Extensions (MIME) attachment.
124
+ * https://msdn.microsoft.com/en-us/library/office/cc842516.aspx
125
+ * @readonly
126
+ * @type {string}
127
+ * @memberof PSTAttachment
128
+ */
129
+ get mimeTag(): string;
130
+ /**
131
+ * Contains the MIME sequence number of a MIME message attachment.
132
+ * https://msdn.microsoft.com/en-us/library/office/cc963256.aspx
133
+ * @readonly
134
+ * @type {number}
135
+ * @memberof PSTAttachment
136
+ */
137
+ get mimeSequence(): number;
138
+ /**
139
+ * Contains the content identification header of a Multipurpose Internet Mail Extensions (MIME) message attachment.
140
+ * https://msdn.microsoft.com/en-us/library/office/cc765868.aspx
141
+ * @readonly
142
+ * @type {string}
143
+ * @memberof PSTAttachment
144
+ */
145
+ get contentId(): string;
146
+ /**
147
+ * Indicates that this attachment is not available to HTML rendering applications and should be ignored in Multipurpose Internet Mail Extensions (MIME) processing.
148
+ * https://msdn.microsoft.com/en-us/library/office/cc765876.aspx
149
+ * @readonly
150
+ * @type {boolean}
151
+ * @memberof PSTAttachment
152
+ */
153
+ get isAttachmentInvisibleInHtml(): boolean;
154
+ /**
155
+ * Indicates that this attachment is not available to applications rendering in Rich Text Format (RTF) and should be ignored by MAPI.
156
+ * https://msdn.microsoft.com/en-us/library/office/cc765876.aspx
157
+ * @readonly
158
+ * @type {boolean}
159
+ * @memberof PSTAttachment
160
+ */
161
+ get isAttachmentInvisibleInRTF(): boolean;
162
+ /**
163
+ * JSON stringify the object properties.
164
+ * @returns {string}
165
+ * @memberof PSTAttachment
166
+ */
167
+ toJSON(): any;
168
+ }