@opencloud-eu/web-client 6.0.0 → 6.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 (73) hide show
  1. package/dist/axios-B1HWJqDx.js +1682 -0
  2. package/dist/dist-SL1_CMpG.js +809 -0
  3. package/dist/generated-DPf3CPe4.js +3317 -0
  4. package/dist/graph-Cld6mTON.js +372 -0
  5. package/dist/helpers-DoHY9e_0.js +1463 -0
  6. package/dist/ocs-B7FkclLT.js +2919 -0
  7. package/dist/src/graph/activities/activities.d.ts +2 -2
  8. package/dist/src/graph/activities/types.d.ts +2 -2
  9. package/dist/src/graph/applications/applications.d.ts +2 -2
  10. package/dist/src/graph/applications/types.d.ts +2 -2
  11. package/dist/src/graph/driveItems/driveItems.d.ts +2 -2
  12. package/dist/src/graph/driveItems/types.d.ts +3 -1
  13. package/dist/src/graph/drives/drives.d.ts +2 -2
  14. package/dist/src/graph/drives/types.d.ts +4 -3
  15. package/dist/src/graph/generated/api.d.ts +394 -1720
  16. package/dist/src/graph/generated/base.d.ts +11 -24
  17. package/dist/src/graph/generated/common.d.ts +15 -35
  18. package/dist/src/graph/generated/configuration.d.ts +24 -17
  19. package/dist/src/graph/generated/index.d.ts +2 -2
  20. package/dist/src/graph/groups/groups.d.ts +2 -2
  21. package/dist/src/graph/groups/types.d.ts +2 -2
  22. package/dist/src/graph/index.d.ts +2 -2
  23. package/dist/src/graph/permissions/permissions.d.ts +2 -2
  24. package/dist/src/graph/permissions/types.d.ts +2 -2
  25. package/dist/src/graph/photos/photo.d.ts +2 -2
  26. package/dist/src/graph/photos/types.d.ts +1 -1
  27. package/dist/src/graph/tags/tags.d.ts +2 -2
  28. package/dist/src/graph/tags/types.d.ts +2 -2
  29. package/dist/src/graph/types.d.ts +2 -2
  30. package/dist/src/graph/users/types.d.ts +2 -2
  31. package/dist/src/graph/users/users.d.ts +2 -2
  32. package/dist/src/helpers/space/functions.d.ts +1 -1
  33. package/dist/src/webdav/clearTrashBin.d.ts +1 -1
  34. package/dist/src/webdav/copyFiles.d.ts +1 -1
  35. package/dist/src/webdav/deleteFile.d.ts +1 -1
  36. package/dist/src/webdav/listFileVersions.d.ts +1 -1
  37. package/dist/src/webdav/moveFiles.d.ts +1 -1
  38. package/dist/src/webdav/putFileContents.d.ts +1 -1
  39. package/dist/src/webdav/restoreFile.d.ts +1 -1
  40. package/dist/src/webdav/restoreFileVersion.d.ts +1 -1
  41. package/dist/src/webdav/setFavorite.d.ts +1 -1
  42. package/dist/src/webdav/types.d.ts +0 -2
  43. package/dist/toString-DAQZ_8iK.js +287 -0
  44. package/dist/web-client/graph/generated.js +2 -5757
  45. package/dist/web-client/graph.js +2 -5
  46. package/dist/web-client/ocs.js +2 -5
  47. package/dist/web-client/sse.js +195 -201
  48. package/dist/web-client/webdav.js +3 -10
  49. package/dist/web-client.js +6 -82
  50. package/dist/webdav-BMNOaQXh.js +4425 -0
  51. package/package.json +9 -15
  52. package/dist/functions-BBKWOL6l.js +0 -1189
  53. package/dist/functions-VxhUeT1u.cjs +0 -1
  54. package/dist/index-BYnmk_Nt.cjs +0 -13
  55. package/dist/index-Bf956okn.js +0 -3874
  56. package/dist/index-Bjx4f50a.js +0 -1999
  57. package/dist/index-C32gBO3b.cjs +0 -6
  58. package/dist/index-D0bnLDAA.cjs +0 -1
  59. package/dist/index-Di51ZQKD.cjs +0 -4
  60. package/dist/index-Dn8UfKx7.js +0 -1520
  61. package/dist/index-Sp7XASDj.js +0 -688
  62. package/dist/index-_S-l3FmE.cjs +0 -1
  63. package/dist/index-cttW6Cve.js +0 -1018
  64. package/dist/src/webdav/listFavoriteFiles.d.ts +0 -12
  65. package/dist/toString-CKeGA2IK.js +0 -255
  66. package/dist/toString-DsGM1XcL.cjs +0 -1
  67. package/dist/vite.config.d.ts +0 -2
  68. package/dist/web-client/graph/generated.cjs +0 -1
  69. package/dist/web-client/graph.cjs +0 -1
  70. package/dist/web-client/ocs.cjs +0 -1
  71. package/dist/web-client/sse.cjs +0 -2
  72. package/dist/web-client/webdav.cjs +0 -1
  73. package/dist/web-client.cjs +0 -1
@@ -1,3 +1,3 @@
1
- import { GraphFactoryOptions } from './../types';
2
- import { GraphActivities } from './types';
1
+ import type { GraphFactoryOptions } from './../types';
2
+ import type { GraphActivities } from './types';
3
3
  export declare const ActivitiesFactory: ({ axiosClient, config }: GraphFactoryOptions) => GraphActivities;
@@ -1,5 +1,5 @@
1
- import { Activity } from '../generated';
2
- import { GraphRequestOptions } from '../types';
1
+ import type { Activity } from '../generated';
2
+ import type { GraphRequestOptions } from '../types';
3
3
  export interface GraphActivities {
4
4
  listActivities(kqlTerm?: string, requestOptions?: GraphRequestOptions): Promise<Activity[]>;
5
5
  }
@@ -1,3 +1,3 @@
1
- import { GraphFactoryOptions } from './../types';
2
- import { GraphApplications } from './types';
1
+ import type { GraphFactoryOptions } from './../types';
2
+ import type { GraphApplications } from './types';
3
3
  export declare const ApplicationsFactory: ({ axiosClient, config }: GraphFactoryOptions) => GraphApplications;
@@ -1,5 +1,5 @@
1
- import { Application } from '../generated';
2
- import { GraphRequestOptions } from '../types';
1
+ import type { Application } from '../generated';
2
+ import type { GraphRequestOptions } from '../types';
3
3
  export interface GraphApplications {
4
4
  getApplication(id: string, requestOptions?: GraphRequestOptions): Promise<Application>;
5
5
  listApplications(requestOptions?: GraphRequestOptions): Promise<Application[]>;
@@ -1,3 +1,3 @@
1
- import { GraphFactoryOptions } from './../types';
2
- import { GraphDriveItems } from './types';
1
+ import type { GraphFactoryOptions } from './../types';
2
+ import type { GraphDriveItems } from './types';
3
3
  export declare const DriveItemsFactory: ({ axiosClient, config }: GraphFactoryOptions) => GraphDriveItems;
@@ -1,10 +1,12 @@
1
1
  import { DriveItem } from '../generated';
2
- import { GraphRequestOptions } from '../types';
2
+ import type { GraphRequestOptions } from '../types';
3
3
  export interface GraphDriveItems {
4
4
  getDriveItem: (driveId: string, itemId: string, requestOptions?: GraphRequestOptions) => Promise<DriveItem>;
5
5
  createDriveItem: (driveId: string, data: DriveItem, requestOptions?: GraphRequestOptions) => Promise<DriveItem>;
6
6
  updateDriveItem: (driveId: string, itemId: string, data: DriveItem, requestOptions?: GraphRequestOptions) => Promise<DriveItem>;
7
7
  deleteDriveItem: (driveId: string, itemId: string, requestOptions?: GraphRequestOptions) => Promise<void>;
8
+ followDriveItem: (itemId: string, requestOptions?: GraphRequestOptions) => Promise<DriveItem>;
9
+ unfollowDriveItem: (itemId: string, requestOptions?: GraphRequestOptions) => Promise<void>;
8
10
  listSharedByMe: (options?: {
9
11
  expand?: Set<'thumbnails'>;
10
12
  }, requestOptions?: GraphRequestOptions) => Promise<DriveItem[]>;
@@ -1,3 +1,3 @@
1
- import { GraphFactoryOptions } from './../types';
2
- import { GraphDrives } from './types';
1
+ import type { GraphFactoryOptions } from './../types';
2
+ import type { GraphDrives } from './types';
3
3
  export declare const DrivesFactory: ({ axiosClient, config }: GraphFactoryOptions) => GraphDrives;
@@ -1,6 +1,7 @@
1
- import { SpaceResource } from '../../helpers';
2
- import { Drive, DriveUpdate, ListMyDrivesBetaSelectEnum } from '../generated';
3
- import { GraphRequestOptions } from '../types';
1
+ import type { SpaceResource } from '../../helpers';
2
+ import type { Drive, DriveUpdate } from '../generated';
3
+ import { ListMyDrivesBetaSelectEnum } from '../generated';
4
+ import type { GraphRequestOptions } from '../types';
4
5
  export interface GraphDrives {
5
6
  getDrive: (id: string, options?: {
6
7
  select?: Array<ListMyDrivesBetaSelectEnum>;