(params)
| 9727 | |
| 9728 | const debug$2 = getLogger('tsdav:calendar'); |
| 9729 | const calendarQuery = async (params) => { |
| 9730 | const { url, props, filters, timezone, depth, headers, headersToExclude } = params; |
| 9731 | return collectionQuery({ |
| 9732 | url, |
| 9733 | body: { |
| 9734 | 'calendar-query': cleanupFalsy({ |
| 9735 | _attributes: getDAVAttribute([ |
| 9736 | DAVNamespace.CALDAV, |
| 9737 | DAVNamespace.CALENDAR_SERVER, |
| 9738 | DAVNamespace.CALDAV_APPLE, |
| 9739 | DAVNamespace.DAV, |
| 9740 | ]), |
| 9741 | [`${DAVNamespaceShort.DAV}:prop`]: props, |
| 9742 | filter: filters, |
| 9743 | timezone, |
| 9744 | }), |
| 9745 | }, |
| 9746 | defaultNamespace: DAVNamespaceShort.CALDAV, |
| 9747 | depth, |
| 9748 | headers: excludeHeaders(headers, headersToExclude), |
| 9749 | }); |
| 9750 | }; |
| 9751 | const calendarMultiGet = async (params) => { |
| 9752 | const { url, props, objectUrls, filters, timezone, depth, headers, headersToExclude } = params; |
| 9753 | return collectionQuery({ |
no test coverage detected