@hiraokahypertools/pst-extractor 0.2.0-alpha.2 → 0.4.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/dist/IPSTActivity.d.ts +66 -0
  2. package/dist/IPSTActivity.js +1 -0
  3. package/dist/IPSTAppointment.d.ts +198 -0
  4. package/dist/IPSTAppointment.js +1 -0
  5. package/dist/IPSTAttachment.d.ts +120 -0
  6. package/dist/IPSTAttachment.js +1 -0
  7. package/dist/IPSTContact.d.ts +669 -0
  8. package/dist/IPSTContact.js +1 -0
  9. package/dist/IPSTFile.d.ts +54 -0
  10. package/dist/IPSTFile.js +1 -0
  11. package/dist/IPSTFolder.d.ts +70 -0
  12. package/dist/IPSTFolder.js +1 -0
  13. package/dist/IPSTMessage.d.ts +570 -0
  14. package/dist/IPSTMessage.js +1 -0
  15. package/dist/IPSTMessageStore.d.ts +7 -0
  16. package/dist/IPSTMessageStore.js +1 -0
  17. package/dist/IPSTObject.d.ts +30 -0
  18. package/dist/IPSTObject.js +1 -0
  19. package/dist/IPSTRecipient.d.ts +48 -0
  20. package/dist/IPSTRecipient.js +1 -0
  21. package/dist/IPSTTask.d.ts +98 -0
  22. package/dist/IPSTTask.js +1 -0
  23. package/dist/IRecurrencePattern.d.ts +14 -0
  24. package/dist/IRecurrencePattern.js +1 -0
  25. package/dist/LZFu.class.d.ts +0 -1
  26. package/dist/LZFu.class.js +0 -1
  27. package/dist/NodeMap.class.d.ts +2 -5
  28. package/dist/NodeMap.class.js +2 -5
  29. package/dist/PAUtil.d.ts +7 -0
  30. package/dist/PAUtil.js +4 -0
  31. package/dist/PSTActivity.class.d.ts +2 -13
  32. package/dist/PSTActivity.class.js +0 -12
  33. package/dist/PSTAppointment.class.d.ts +2 -34
  34. package/dist/PSTAppointment.class.js +0 -34
  35. package/dist/PSTAttachment.class.d.ts +2 -20
  36. package/dist/PSTAttachment.class.js +0 -20
  37. package/dist/PSTContact.class.d.ts +2 -111
  38. package/dist/PSTContact.class.js +0 -111
  39. package/dist/PSTFile.class.d.ts +5 -18
  40. package/dist/PSTFile.class.js +0 -14
  41. package/dist/PSTFolder.class.d.ts +2 -15
  42. package/dist/PSTFolder.class.js +0 -14
  43. package/dist/PSTMessage.class.d.ts +2 -95
  44. package/dist/PSTMessage.class.js +0 -94
  45. package/dist/PSTMessageStore.class.d.ts +2 -2
  46. package/dist/PSTMessageStore.class.js +0 -1
  47. package/dist/PSTObject.class.d.ts +2 -12
  48. package/dist/PSTObject.class.js +0 -11
  49. package/dist/PSTRecipient.class.d.ts +2 -9
  50. package/dist/PSTRecipient.class.js +0 -9
  51. package/dist/PSTTask.class.d.ts +2 -19
  52. package/dist/PSTTask.class.js +0 -18
  53. package/dist/PSTUtil.class.d.ts +0 -9
  54. package/dist/PSTUtil.class.js +0 -9
  55. package/dist/PropertyTypeObject.d.ts +1 -1
  56. package/dist/PropertyTypeObject.js +1 -1
  57. package/dist/PropertyValueResolverV1.d.ts +3 -0
  58. package/dist/PropertyValueResolverV1.js +3 -0
  59. package/dist/RecurrencePattern.class.d.ts +2 -1
  60. package/dist/RootProvider.d.ts +3 -0
  61. package/dist/index.d.ts +18 -0
  62. package/dist/openPstFile.d.ts +3 -3
  63. package/package.json +7 -64
@@ -0,0 +1,66 @@
1
+ export interface IPSTActivity {
2
+ /**
3
+ * Contains the display name of the journaling application (for example, "MSWord"), and is typically a free-form attribute of a journal message, usually a string.
4
+ * https://msdn.microsoft.com/en-us/library/office/cc839662.aspx
5
+ * @readonly
6
+ */
7
+ get logType(): string;
8
+ /**
9
+ * Represents the start date and time for the journal message.
10
+ * https://msdn.microsoft.com/en-us/library/office/cc842339.aspx
11
+ * @readonly
12
+ */
13
+ get logStart(): Date | null;
14
+ /**
15
+ * Represents the duration, in minutes, of a journal message.
16
+ * https://msdn.microsoft.com/en-us/library/office/cc765536.aspx
17
+ * @readonly
18
+ */
19
+ get logDuration(): number;
20
+ /**
21
+ * Represents the end date and time for the journal message.
22
+ * https://msdn.microsoft.com/en-us/library/office/cc839572.aspx
23
+ * @readonly
24
+ */
25
+ get logEnd(): Date | null;
26
+ /**
27
+ * Contains metadata about the journal.
28
+ * https://msdn.microsoft.com/en-us/library/office/cc815433.aspx
29
+ * @readonly
30
+ */
31
+ get logFlags(): number;
32
+ /**
33
+ * Indicates whether the document was printed during journaling.
34
+ * https://msdn.microsoft.com/en-us/library/office/cc839873.aspx
35
+ * @readonly
36
+ */
37
+ get isDocumentPrinted(): boolean;
38
+ /**
39
+ * Indicates whether the document was saved during journaling.
40
+ * https://msdn.microsoft.com/en-us/library/office/cc815488.aspx
41
+ * @readonly
42
+ */
43
+ get isDocumentSaved(): boolean;
44
+ /**
45
+ * Indicates whether the document was sent to a routing recipient during journaling.
46
+ * https://msdn.microsoft.com/en-us/library/office/cc839558.aspx
47
+ * @readonly
48
+ */
49
+ get isDocumentRouted(): boolean;
50
+ /**
51
+ * Indicates whether the document was sent by e-mail or posted to a server folder during journaling.
52
+ * https://msdn.microsoft.com/en-us/library/office/cc815353.aspx
53
+ * @readonly
54
+ */
55
+ get isDocumentPosted(): boolean;
56
+ /**
57
+ * Describes the activity that is being recorded.
58
+ * https://msdn.microsoft.com/en-us/library/office/cc815500.aspx
59
+ * @readonly
60
+ */
61
+ get logTypeDesc(): string;
62
+ /**
63
+ * JSON stringify the object properties.
64
+ */
65
+ toJSON(): any;
66
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,198 @@
1
+ export interface IPSTAppointment {
2
+ /**
3
+ * Specifies if a meeting request should be sent as an iCal message.
4
+ * https://msdn.microsoft.com/en-us/library/office/cc839802.aspx
5
+ * @readonly
6
+ */
7
+ get sendAsICAL(): boolean;
8
+ /**
9
+ * Represents the user’s availability for an appointment.
10
+ * https://msdn.microsoft.com/en-us/library/office/cc841972.aspx
11
+ * @readonly
12
+ */
13
+ get busyStatus(): number;
14
+ /**
15
+ * The user is busy.
16
+ * https://msdn.microsoft.com/en-us/library/office/cc841972.aspx
17
+ * @readonly
18
+ */
19
+ get showAsBusy(): boolean;
20
+ /**
21
+ * Represents the location of an appointment.
22
+ * https://msdn.microsoft.com/en-us/library/office/cc842419.aspx
23
+ * @readonly
24
+ */
25
+ get location(): string;
26
+ /**
27
+ * Represents the date and time when an appointment begins.
28
+ * https://msdn.microsoft.com/en-us/library/office/cc839929.aspx
29
+ * @readonly
30
+ */
31
+ get startTime(): Date | null;
32
+ /**
33
+ * Represents the date and time that an appointment ends.
34
+ * https://msdn.microsoft.com/en-us/library/office/cc815864.aspx
35
+ * @readonly
36
+ */
37
+ get endTime(): Date | null;
38
+ /**
39
+ * Represents the length of time, in minutes, when an appointment is scheduled.
40
+ * https://msdn.microsoft.com/en-us/library/office/cc842287.aspx
41
+ * @readonly
42
+ */
43
+ get duration(): number;
44
+ /**
45
+ * Specifies the color to use when displaying the calendar.
46
+ * https://msdn.microsoft.com/en-us/library/office/cc842274.aspx
47
+ * @readonly
48
+ */
49
+ get color(): number;
50
+ /**
51
+ * Specifies whether or not the event is all day.
52
+ * https://msdn.microsoft.com/en-us/library/office/cc839901.aspx
53
+ * @readonly
54
+ */
55
+ get subType(): boolean;
56
+ /**
57
+ * Specifies a bit field that describes the state of the object.
58
+ * https://msdn.microsoft.com/en-us/library/office/cc765762.aspx
59
+ * @readonly
60
+ */
61
+ get meetingStatus(): number;
62
+ /**
63
+ * Specifies the response status of an attendee.
64
+ * https://msdn.microsoft.com/en-us/library/office/cc839923.aspx
65
+ * @readonly
66
+ */
67
+ get responseStatus(): number;
68
+ /**
69
+ * Specifies whether an appointment message is recurrent.
70
+ * https://msdn.microsoft.com/en-us/library/office/cc765772.aspx
71
+ * @readonly
72
+ */
73
+ get isRecurring(): boolean;
74
+ /**
75
+ * Specifies the date and time within the recurrence pattern that the exception will replace.
76
+ * https://msdn.microsoft.com/en-us/library/office/cc842450.aspx
77
+ * @readonly
78
+ */
79
+ get recurrenceBase(): Date | null;
80
+ /**
81
+ * Specifies the recurrence type of the recurring series.
82
+ * https://msdn.microsoft.com/en-us/library/office/cc842135.aspx
83
+ * @readonly
84
+ */
85
+ get recurrenceType(): number;
86
+ /**
87
+ * Specifies a description of the recurrence pattern of the calendar object.
88
+ * https://msdn.microsoft.com/en-us/library/office/cc815733.aspx
89
+ * @readonly
90
+ */
91
+ get recurrencePattern(): string;
92
+ /**
93
+ * 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].
94
+ * https://msdn.microsoft.com/en-us/library/office/cc842017.aspx
95
+ * @readonly
96
+ */
97
+ get recurrenceStructure(): Uint8Array | null;
98
+ /**
99
+ * 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.
100
+ * https://msdn.microsoft.com/en-us/library/office/cc815376.aspx
101
+ * @readonly
102
+ */
103
+ get timezone(): Uint8Array | null;
104
+ /**
105
+ * Specifies a list of all the attendees except for the organizer, including resources and unsendable attendees.
106
+ * https://msdn.microsoft.com/en-us/library/office/cc815418.aspx
107
+ * @readonly
108
+ */
109
+ get allAttendees(): string;
110
+ /**
111
+ * Contains a list of all the sendable attendees who are also required attendees.
112
+ * https://msdn.microsoft.com/en-us/library/office/cc842502.aspx
113
+ * @readonly
114
+ */
115
+ get toAttendees(): string;
116
+ /**
117
+ * Contains a list of all the sendable attendees who are also optional attendees.
118
+ * https://msdn.microsoft.com/en-us/library/office/cc839636.aspx
119
+ * @readonly
120
+ */
121
+ get ccAttendees(): string;
122
+ /**
123
+ * Specifies the sequence number of a Meeting object.
124
+ * https://msdn.microsoft.com/en-us/library/office/cc765937.aspx
125
+ * @readonly
126
+ */
127
+ get appointmentSequence(): number;
128
+ /**
129
+ * Is a hosted meeting?
130
+ * https://msdn.microsoft.com/en-us/library/ee200872(v=exchg.80).aspx
131
+ * @readonly
132
+ */
133
+ get isOnlineMeeting(): boolean;
134
+ /**
135
+ * Specifies the type of the meeting.
136
+ * https://msdn.microsoft.com/en-us/library/ee158396(v=exchg.80).aspx
137
+ * @readonly
138
+ */
139
+ get netMeetingType(): number;
140
+ /**
141
+ * Specifies the directory server to be used.
142
+ * https://msdn.microsoft.com/en-us/library/ee201516(v=exchg.80).aspx
143
+ * @readonly
144
+ */
145
+ get netMeetingServer(): string;
146
+ /**
147
+ * Specifies the email address of the organizer.
148
+ * https://msdn.microsoft.com/en-us/library/ee203317(v=exchg.80).aspx
149
+ * @readonly
150
+ */
151
+ get netMeetingOrganizerAlias(): string;
152
+ /**
153
+ * Specifies the document to be launched when the user joins the meeting.
154
+ * https://msdn.microsoft.com/en-us/library/ee204395(v=exchg.80).aspx
155
+ * @readonly
156
+ */
157
+ get netMeetingDocumentPathName(): string;
158
+ /**
159
+ * The PidLidNetShowUrl property ([MS-OXPROPS] section 2.175) specifies the URL to be launched when the user joins the meeting
160
+ * https://msdn.microsoft.com/en-us/library/ee179451(v=exchg.80).aspx
161
+ * @readonly
162
+ */
163
+ get netShowURL(): string;
164
+ /**
165
+ * Specifies the date and time at which the meeting-related object was sent.
166
+ * https://msdn.microsoft.com/en-us/library/ee237112(v=exchg.80).aspx
167
+ * @readonly
168
+ */
169
+ get attendeeCriticalChange(): Date | null;
170
+ /**
171
+ * Indicates that this meeting response is a counter proposal.
172
+ * https://msdn.microsoft.com/en-us/magazine/cc815846.aspx
173
+ * @readonly
174
+ */
175
+ get appointmentCounterProposal(): boolean;
176
+ /**
177
+ * Indicates whether the user did not include any text in the body of the Meeting Response object.
178
+ * https://msdn.microsoft.com/en-us/library/ee159822(v=exchg.80).aspx
179
+ * @readonly
180
+ */
181
+ get isSilent(): boolean;
182
+ /**
183
+ * Identifies required attendees for the appointment or meeting.
184
+ * https://msdn.microsoft.com/en-us/library/ee160700(v=exchg.80).aspx
185
+ * @readonly
186
+ */
187
+ get requiredAttendees(): string;
188
+ /**
189
+ * Contains the Windows Locale ID of the end-user who created this message.
190
+ * https://msdn.microsoft.com/en-us/library/ee201602(v=exchg.80).aspx
191
+ * @readonly
192
+ */
193
+ get localeId(): number;
194
+ /**
195
+ * JSON stringify the object properties. Large fields (like body) aren't included.
196
+ */
197
+ toJSON(): any;
198
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,120 @@
1
+ import type { IPSTMessage } from "./IPSTMessage.js";
2
+ export interface IPSTAttachment {
3
+ /**
4
+ * The PR_ATTACH_SIZE property contains the sum, in bytes, of the sizes of all properties on an attachment.
5
+ * https://msdn.microsoft.com/en-us/library/gg156074(v=winembedded.70).aspx
6
+ * @readonly
7
+ */
8
+ get size(): number;
9
+ /**
10
+ * Contains the creation date and time of a message.
11
+ * https://msdn.microsoft.com/en-us/library/office/cc765677.aspx
12
+ * @readonly
13
+ */
14
+ get creationTime(): Date | null;
15
+ /**
16
+ * Contains the date and time when the object or subobject was last modified.
17
+ * https://msdn.microsoft.com/en-us/library/office/cc815689.aspx
18
+ * @readonly
19
+ */
20
+ get modificationTime(): Date | null;
21
+ /**
22
+ * Get an embedded message.
23
+ * @readonly
24
+ */
25
+ getEmbeddedPSTMessage(): Promise<IPSTMessage | null>;
26
+ /**
27
+ * Get attachment content as binary data
28
+ */
29
+ get fileData(): ArrayBuffer | undefined;
30
+ /**
31
+ * Size of the attachment file itself.
32
+ * https://msdn.microsoft.com/en-us/library/gg154634(v=winembedded.70).aspx
33
+ * @readonly
34
+ */
35
+ get filesize(): number;
36
+ /**
37
+ * Contains an attachment's base file name and extension, excluding path.
38
+ * https://msdn.microsoft.com/en-us/library/office/cc842517.aspx
39
+ * @readonly
40
+ */
41
+ get filename(): string;
42
+ /**
43
+ * Contains a MAPI-defined constant representing the way the contents of an attachment can be accessed.
44
+ * https://msdn.microsoft.com/en-us/library/office/cc815439.aspx
45
+ *
46
+ * - {@link PSTAttachment.ATTACHMENT_METHOD_BY_VALUE} (1)
47
+ * - {@link PSTAttachment.ATTACHMENT_METHOD_BY_REFERENCE} (2)
48
+ * - {@link PSTAttachment.ATTACHMENT_METHOD_BY_REFERENCE_RESOLVE} (3)
49
+ * - {@link PSTAttachment.ATTACHMENT_METHOD_BY_REFERENCE_ONLY} (4)
50
+ * - {@link PSTAttachment.ATTACHMENT_METHOD_EMBEDDED} (5)
51
+ * - {@link PSTAttachment.ATTACHMENT_METHOD_OLE} (6)
52
+ *
53
+ * @readonly
54
+ */
55
+ get attachMethod(): number;
56
+ /**
57
+ * Contains a number that uniquely identifies the attachment within its parent message.
58
+ * https://msdn.microsoft.com/en-us/library/office/cc841969.aspx
59
+ * @readonly
60
+ */
61
+ get attachNum(): number;
62
+ /**
63
+ * Contains an attachment's long filename and extension, excluding path.
64
+ * https://msdn.microsoft.com/en-us/library/office/cc842157.aspx
65
+ * @readonly
66
+ */
67
+ get longFilename(): string;
68
+ /**
69
+ * Contains an attachment's fully-qualified path and filename.
70
+ * https://msdn.microsoft.com/en-us/library/office/cc839889.aspx
71
+ * @readonly
72
+ */
73
+ get pathname(): string;
74
+ /**
75
+ * Contains an offset, in characters, to use in rendering an attachment within the main message text.
76
+ * https://msdn.microsoft.com/en-us/library/office/cc842381.aspx
77
+ * @readonly
78
+ */
79
+ get renderingPosition(): number;
80
+ /**
81
+ * Contains an attachment's fully-qualified long path and filename.
82
+ * https://msdn.microsoft.com/en-us/library/office/cc815443.aspx
83
+ * @readonly
84
+ */
85
+ get longPathname(): string;
86
+ /**
87
+ * Contains formatting information about a Multipurpose Internet Mail Extensions (MIME) attachment.
88
+ * https://msdn.microsoft.com/en-us/library/office/cc842516.aspx
89
+ * @readonly
90
+ */
91
+ get mimeTag(): string;
92
+ /**
93
+ * Contains the MIME sequence number of a MIME message attachment.
94
+ * https://msdn.microsoft.com/en-us/library/office/cc963256.aspx
95
+ * @readonly
96
+ */
97
+ get mimeSequence(): number;
98
+ /**
99
+ * Contains the content identification header of a Multipurpose Internet Mail Extensions (MIME) message attachment.
100
+ * https://msdn.microsoft.com/en-us/library/office/cc765868.aspx
101
+ * @readonly
102
+ */
103
+ get contentId(): string;
104
+ /**
105
+ * Indicates that this attachment is not available to HTML rendering applications and should be ignored in Multipurpose Internet Mail Extensions (MIME) processing.
106
+ * https://msdn.microsoft.com/en-us/library/office/cc765876.aspx
107
+ * @readonly
108
+ */
109
+ get isAttachmentInvisibleInHtml(): boolean;
110
+ /**
111
+ * Indicates that this attachment is not available to applications rendering in Rich Text Format (RTF) and should be ignored by MAPI.
112
+ * https://msdn.microsoft.com/en-us/library/office/cc765876.aspx
113
+ * @readonly
114
+ */
115
+ get isAttachmentInvisibleInRTF(): boolean;
116
+ /**
117
+ * JSON stringify the object properties.
118
+ */
119
+ toJSON(): any;
120
+ }
@@ -0,0 +1 @@
1
+ export {};