@opencloud-eu/web-client 2.4.0 → 3.2.0
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.
- package/dist/functions-CYOnwClV.js +1178 -0
- package/dist/functions-DEaUzlbB.cjs +1 -0
- package/dist/{index-sA0pvHeb.cjs → index-B3tdq56F.cjs} +1 -1
- package/dist/{index-DcTD5HFk.js → index-BTGj2rHD.js} +69 -67
- package/dist/{index-43W1CNwK.cjs → index-C-U4KVPG.cjs} +5 -5
- package/dist/index-D3QfKFAH.cjs +1 -0
- package/dist/{index-BEuG72fj.js → index-DxUgq3ag.js} +2 -2
- package/dist/index-oCdLZPEA.js +699 -0
- package/dist/src/graph/drives/types.d.ts +16 -7
- package/dist/src/graph/generated/api.d.ts +333 -24
- package/dist/src/graph/generated/configuration.d.ts +1 -1
- package/dist/src/graph/generated/index.d.ts +1 -1
- package/dist/src/graph/index.d.ts +2 -0
- package/dist/src/graph/permissions/types.d.ts +3 -0
- package/dist/src/graph/photos/index.d.ts +2 -0
- package/dist/src/graph/photos/photo.d.ts +3 -0
- package/dist/src/graph/photos/types.d.ts +7 -0
- package/dist/src/graph/types.d.ts +2 -1
- package/dist/src/helpers/space/functions.d.ts +4 -6
- package/dist/src/helpers/space/types.d.ts +3 -8
- package/dist/web-client/graph/generated.cjs +1 -1
- package/dist/web-client/graph/generated.js +2071 -1731
- package/dist/web-client/graph.cjs +1 -1
- package/dist/web-client/graph.js +1 -1
- package/dist/web-client/webdav.cjs +1 -1
- package/dist/web-client/webdav.js +3 -3
- package/dist/web-client.cjs +1 -1
- package/dist/web-client.js +35 -36
- package/package.json +2 -2
- package/dist/functions-DJR5h-q5.cjs +0 -1
- package/dist/functions-l5kdzi5h.js +0 -1230
- package/dist/index-Cjn81zI6.cjs +0 -1
- package/dist/index-mFyj5iN2.js +0 -670
|
@@ -1,18 +1,27 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Drive } from '../generated';
|
|
1
|
+
import { SpaceResource } from '../../helpers';
|
|
2
|
+
import { Drive, DriveUpdate, ListMyDrivesBetaSelectEnum } from '../generated';
|
|
3
3
|
import { GraphRequestOptions } from '../types';
|
|
4
4
|
export interface GraphDrives {
|
|
5
|
-
getDrive: (id: string,
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
getDrive: (id: string, options?: {
|
|
6
|
+
orderBy?: string;
|
|
7
|
+
filter?: string;
|
|
8
|
+
expand?: string;
|
|
9
|
+
select?: Array<ListMyDrivesBetaSelectEnum>;
|
|
10
|
+
}, requestOptions?: GraphRequestOptions) => Promise<SpaceResource>;
|
|
11
|
+
createDrive: (data: Drive, requestOptions?: GraphRequestOptions) => Promise<SpaceResource>;
|
|
12
|
+
updateDrive: (id: string, data: DriveUpdate, requestOptions?: GraphRequestOptions) => Promise<SpaceResource>;
|
|
8
13
|
disableDrive: (id: string, ifMatch?: string, requestOptions?: GraphRequestOptions) => Promise<void>;
|
|
9
14
|
deleteDrive: (id: string, ifMatch?: string, requestOptions?: GraphRequestOptions) => Promise<void>;
|
|
10
|
-
listMyDrives: (
|
|
15
|
+
listMyDrives: (options?: {
|
|
11
16
|
orderBy?: string;
|
|
12
17
|
filter?: string;
|
|
18
|
+
expand?: string;
|
|
19
|
+
select?: Array<ListMyDrivesBetaSelectEnum>;
|
|
13
20
|
}, requestOptions?: GraphRequestOptions) => Promise<SpaceResource[]>;
|
|
14
|
-
listAllDrives: (
|
|
21
|
+
listAllDrives: (options?: {
|
|
15
22
|
orderBy?: string;
|
|
16
23
|
filter?: string;
|
|
24
|
+
expand?: string;
|
|
25
|
+
select?: Array<ListMyDrivesBetaSelectEnum>;
|
|
17
26
|
}, requestOptions?: GraphRequestOptions) => Promise<SpaceResource[]>;
|
|
18
27
|
}
|