@@ -30,12 +30,12 @@ declare const _default: {
3030 getBearerAuthHeaders : ( credentials : import ( "./types/models" ) . DAVCredentials ) => {
3131 authorization ?: string ;
3232 } ;
33- fetchOauthTokens : ( credentials : import ( "./types/models" ) . DAVCredentials , fetchOptions ?: RequestInit , fetchOverride ?: typeof import ( "cross- fetch" ) . fetch ) => Promise < import ( "./types/DAVTypes" ) . DAVTokens > ;
34- refreshAccessToken : ( credentials : import ( "./types/models" ) . DAVCredentials , fetchOptions ?: RequestInit , fetchOverride ?: typeof import ( "cross- fetch" ) . fetch ) => Promise < {
33+ fetchOauthTokens : ( credentials : import ( "./types/models" ) . DAVCredentials , fetchOptions ?: RequestInit , fetchOverride ?: typeof import ( "./util/ fetch" ) . fetch ) => Promise < import ( "./types/DAVTypes" ) . DAVTokens > ;
34+ refreshAccessToken : ( credentials : import ( "./types/models" ) . DAVCredentials , fetchOptions ?: RequestInit , fetchOverride ?: typeof import ( "./util/ fetch" ) . fetch ) => Promise < {
3535 access_token ?: string ;
3636 expires_in ?: number ;
3737 } > ;
38- getOauthHeaders : ( credentials : import ( "./types/models" ) . DAVCredentials , fetchOptions ?: RequestInit , fetchOverride ?: typeof import ( "cross- fetch" ) . fetch ) => Promise < {
38+ getOauthHeaders : ( credentials : import ( "./types/models" ) . DAVCredentials , fetchOptions ?: RequestInit , fetchOverride ?: typeof import ( "./util/ fetch" ) . fetch ) => Promise < {
3939 tokens : import ( "./types/DAVTypes" ) . DAVTokens ;
4040 headers : {
4141 authorization ?: string ;
@@ -207,21 +207,21 @@ declare const _default: {
207207 headers ?: Record < string , string > ;
208208 headersToExclude ?: string [ ] ;
209209 fetchOptions ?: RequestInit ;
210- fetch ?: typeof import ( "cross- fetch" ) . fetch ;
210+ fetch ?: typeof import ( "./util/ fetch" ) . fetch ;
211211 } ) => Promise < string > ;
212212 fetchPrincipalUrl : ( params : {
213213 account : import ( "./types/models" ) . DAVAccount ;
214214 headers ?: Record < string , string > ;
215215 headersToExclude ?: string [ ] ;
216216 fetchOptions ?: RequestInit ;
217- fetch ?: typeof import ( "cross- fetch" ) . fetch ;
217+ fetch ?: typeof import ( "./util/ fetch" ) . fetch ;
218218 } ) => Promise < string > ;
219219 fetchHomeUrl : ( params : {
220220 account : import ( "./types/models" ) . DAVAccount ;
221221 headers ?: Record < string , string > ;
222222 headersToExclude ?: string [ ] ;
223223 fetchOptions ?: RequestInit ;
224- fetch ?: typeof import ( "cross- fetch" ) . fetch ;
224+ fetch ?: typeof import ( "./util/ fetch" ) . fetch ;
225225 } ) => Promise < string > ;
226226 createAccount : ( params : {
227227 account : import ( "./types/models" ) . DAVAccount ;
@@ -230,7 +230,7 @@ declare const _default: {
230230 loadCollections ?: boolean ;
231231 loadObjects ?: boolean ;
232232 fetchOptions ?: RequestInit ;
233- fetch ?: typeof import ( "cross- fetch" ) . fetch ;
233+ fetch ?: typeof import ( "./util/ fetch" ) . fetch ;
234234 } ) => Promise < import ( "./types/models" ) . DAVAccount > ;
235235 collectionQuery : ( params : {
236236 url : string ;
@@ -285,7 +285,7 @@ declare const _default: {
285285 convertIncoming ?: boolean ;
286286 parseOutgoing ?: boolean ;
287287 fetchOptions ?: RequestInit ;
288- fetch ?: typeof import ( "cross- fetch" ) . fetch ;
288+ fetch ?: typeof import ( "./util/ fetch" ) . fetch ;
289289 } ) => Promise < import ( "./types/DAVTypes" ) . DAVResponse [ ] > ;
290290 propfind : ( params : {
291291 url : string ;
@@ -294,15 +294,15 @@ declare const _default: {
294294 headers ?: Record < string , string > ;
295295 headersToExclude ?: string [ ] ;
296296 fetchOptions ?: RequestInit ;
297- fetch ?: typeof import ( "cross- fetch" ) . fetch ;
297+ fetch ?: typeof import ( "./util/ fetch" ) . fetch ;
298298 } ) => Promise < import ( "./types/DAVTypes" ) . DAVResponse [ ] > ;
299299 createObject : ( params : {
300300 url : string ;
301301 data : BodyInit ;
302302 headers ?: Record < string , string > ;
303303 headersToExclude ?: string [ ] ;
304304 fetchOptions ?: RequestInit ;
305- fetch ?: typeof import ( "cross- fetch" ) . fetch ;
305+ fetch ?: typeof import ( "./util/ fetch" ) . fetch ;
306306 } ) => Promise < Response > ;
307307 updateObject : ( params : {
308308 url : string ;
@@ -311,15 +311,15 @@ declare const _default: {
311311 headers ?: Record < string , string > ;
312312 headersToExclude ?: string [ ] ;
313313 fetchOptions ?: RequestInit ;
314- fetch ?: typeof import ( "cross- fetch" ) . fetch ;
314+ fetch ?: typeof import ( "./util/ fetch" ) . fetch ;
315315 } ) => Promise < Response > ;
316316 deleteObject : ( params : {
317317 url : string ;
318318 etag ?: string ;
319319 headers ?: Record < string , string > ;
320320 headersToExclude ?: string [ ] ;
321321 fetchOptions ?: RequestInit ;
322- fetch ?: typeof import ( "cross- fetch" ) . fetch ;
322+ fetch ?: typeof import ( "./util/ fetch" ) . fetch ;
323323 } ) => Promise < Response > ;
324324 createDAVClient : ( params : {
325325 serverUrl : string ;
@@ -343,7 +343,7 @@ declare const _default: {
343343 headers ?: Record < string , string > ;
344344 headersToExclude ?: string [ ] ;
345345 fetchOptions ?: RequestInit ;
346- fetch ?: typeof import ( "cross- fetch" ) . fetch ;
346+ fetch ?: typeof import ( "./util/ fetch" ) . fetch ;
347347 } ) => Promise < import ( "./types/DAVTypes" ) . DAVResponse [ ] > ;
348348 createAccount : ( params0 : {
349349 account : import ( "./util/typeHelpers" ) . Optional < import ( "./types/models" ) . DAVAccount , "serverUrl" > ;
@@ -358,7 +358,7 @@ declare const _default: {
358358 headers ?: Record < string , string > ;
359359 headersToExclude ?: string [ ] ;
360360 fetchOptions ?: RequestInit ;
361- fetch ?: typeof import ( "cross- fetch" ) . fetch ;
361+ fetch ?: typeof import ( "./util/ fetch" ) . fetch ;
362362 } ) => Promise < Response > ;
363363 updateObject : ( params : {
364364 url : string ;
@@ -367,15 +367,15 @@ declare const _default: {
367367 headers ?: Record < string , string > ;
368368 headersToExclude ?: string [ ] ;
369369 fetchOptions ?: RequestInit ;
370- fetch ?: typeof import ( "cross- fetch" ) . fetch ;
370+ fetch ?: typeof import ( "./util/ fetch" ) . fetch ;
371371 } ) => Promise < Response > ;
372372 deleteObject : ( params : {
373373 url : string ;
374374 etag ?: string ;
375375 headers ?: Record < string , string > ;
376376 headersToExclude ?: string [ ] ;
377377 fetchOptions ?: RequestInit ;
378- fetch ?: typeof import ( "cross- fetch" ) . fetch ;
378+ fetch ?: typeof import ( "./util/ fetch" ) . fetch ;
379379 } ) => Promise < Response > ;
380380 calendarQuery : ( params : {
381381 url : string ;
0 commit comments