@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.
Files changed (33) hide show
  1. package/dist/functions-CYOnwClV.js +1178 -0
  2. package/dist/functions-DEaUzlbB.cjs +1 -0
  3. package/dist/{index-sA0pvHeb.cjs → index-B3tdq56F.cjs} +1 -1
  4. package/dist/{index-DcTD5HFk.js → index-BTGj2rHD.js} +69 -67
  5. package/dist/{index-43W1CNwK.cjs → index-C-U4KVPG.cjs} +5 -5
  6. package/dist/index-D3QfKFAH.cjs +1 -0
  7. package/dist/{index-BEuG72fj.js → index-DxUgq3ag.js} +2 -2
  8. package/dist/index-oCdLZPEA.js +699 -0
  9. package/dist/src/graph/drives/types.d.ts +16 -7
  10. package/dist/src/graph/generated/api.d.ts +333 -24
  11. package/dist/src/graph/generated/configuration.d.ts +1 -1
  12. package/dist/src/graph/generated/index.d.ts +1 -1
  13. package/dist/src/graph/index.d.ts +2 -0
  14. package/dist/src/graph/permissions/types.d.ts +3 -0
  15. package/dist/src/graph/photos/index.d.ts +2 -0
  16. package/dist/src/graph/photos/photo.d.ts +3 -0
  17. package/dist/src/graph/photos/types.d.ts +7 -0
  18. package/dist/src/graph/types.d.ts +2 -1
  19. package/dist/src/helpers/space/functions.d.ts +4 -6
  20. package/dist/src/helpers/space/types.d.ts +3 -8
  21. package/dist/web-client/graph/generated.cjs +1 -1
  22. package/dist/web-client/graph/generated.js +2071 -1731
  23. package/dist/web-client/graph.cjs +1 -1
  24. package/dist/web-client/graph.js +1 -1
  25. package/dist/web-client/webdav.cjs +1 -1
  26. package/dist/web-client/webdav.js +3 -3
  27. package/dist/web-client.cjs +1 -1
  28. package/dist/web-client.js +35 -36
  29. package/package.json +2 -2
  30. package/dist/functions-DJR5h-q5.cjs +0 -1
  31. package/dist/functions-l5kdzi5h.js +0 -1230
  32. package/dist/index-Cjn81zI6.cjs +0 -1
  33. package/dist/index-mFyj5iN2.js +0 -670
@@ -1,18 +1,27 @@
1
- import { ShareRole, SpaceResource } from '../../helpers';
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, graphRoles: Record<string, ShareRole>, requestOptions?: GraphRequestOptions) => Promise<SpaceResource>;
6
- createDrive: (data: Drive, graphRoles: Record<string, ShareRole>, requestOptions?: GraphRequestOptions) => Promise<SpaceResource>;
7
- updateDrive: (id: string, data: Drive, graphRoles: Record<string, ShareRole>, requestOptions?: GraphRequestOptions) => Promise<SpaceResource>;
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: (graphRoles: Record<string, ShareRole>, options?: {
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: (graphRoles: Record<string, ShareRole>, options?: {
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
  }