Comparing version 3.3.0 to 3.4.0
@@ -35,2 +35,3 @@ "use strict"; | ||
busyStatus = attributes.busyStatus, | ||
transp = attributes.transp, | ||
classification = attributes.classification, | ||
@@ -74,2 +75,3 @@ created = attributes.created, | ||
icsFormat += busyStatus ? (0, _utils.foldLine)("X-MICROSOFT-CDO-BUSYSTATUS:".concat(busyStatus)) + '\r\n' : ''; | ||
icsFormat += transp ? (0, _utils.foldLine)("TRANSP:".concat(transp)) + '\r\n' : ''; | ||
icsFormat += classification ? (0, _utils.foldLine)("CLASS:".concat(classification)) + '\r\n' : ''; | ||
@@ -76,0 +78,0 @@ icsFormat += created ? 'CREATED:' + (0, _utils.formatDate)(created) + '\r\n' : ''; |
@@ -88,2 +88,3 @@ "use strict"; | ||
busyStatus: yup.string().matches(/TENTATIVE|FREE|BUSY|OOF/i), | ||
transp: yup.string().matches(/TRANSPARENT|OPAQUE/i), | ||
classification: yup.string(), | ||
@@ -90,0 +91,0 @@ created: dateTimeSchema, |
@@ -93,2 +93,3 @@ export type DateArray = | ||
busyStatus?: 'FREE' | 'BUSY' | 'TENTATIVE' | 'OOF'; | ||
transp?: 'TRANSPARENT' | 'OPAQUE'; | ||
@@ -95,0 +96,0 @@ organizer?: Person & { |
{ | ||
"name": "ics", | ||
"version": "3.3.0", | ||
"version": "3.4.0", | ||
"description": "iCal (ics) file generator", | ||
@@ -5,0 +5,0 @@ "exports": { |
@@ -276,2 +276,3 @@ ics | ||
| busyStatus | Used to specify busy status for Microsoft applications, like Outlook. See [Microsoft spec](https://docs.microsoft.com/en-us/openspecs/exchange_server_protocols/ms-oxcical/cd68eae7-ed65-4dd3-8ea7-ad585c76c736). | `'BUSY'` OR `'FREE'` OR `'TENTATIVE`' OR `'OOF'` | ||
| transp | Used to specify event transparency (does event consume actual time of an individual). Used by Google Calendar to determine if event should change attendees availability to 'Busy' or not. | `'TRANSPARENT'` OR `'OPAQUE'` | ||
| classification | This property defines the access classification for a calendar component. See [iCalender spec](https://icalendar.org/iCalendar-RFC-5545/3-8-1-3-classification.html). | `'PUBLIC'` OR `'PRIVATE'` OR `'CONFIDENTIAL`' OR any non-standard string | ||
@@ -278,0 +279,0 @@ | created | Date-time representing event's creation date. Provide a date-time in UTC | [2000, 1, 5, 10, 0] (January 5, 2000 GMT +00:00) |
50216
875
360