@opencloud-eu/web-client 5.1.0 → 6.1.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/axios-Drchb9eh.js +1646 -0
- package/dist/dist-tjee3PVd.js +809 -0
- package/dist/generated-B6vcMOfs.js +3317 -0
- package/dist/graph-DcYhPBws.js +372 -0
- package/dist/helpers-B0hzJ78Q.js +1463 -0
- package/dist/ocs-2K0ogAXF.js +1658 -0
- package/dist/src/graph/activities/activities.d.ts +2 -2
- package/dist/src/graph/activities/types.d.ts +2 -2
- package/dist/src/graph/applications/applications.d.ts +2 -2
- package/dist/src/graph/applications/types.d.ts +2 -2
- package/dist/src/graph/driveItems/driveItems.d.ts +2 -2
- package/dist/src/graph/driveItems/types.d.ts +3 -1
- package/dist/src/graph/drives/drives.d.ts +2 -2
- package/dist/src/graph/drives/types.d.ts +4 -3
- package/dist/src/graph/generated/api.d.ts +394 -1720
- package/dist/src/graph/generated/base.d.ts +11 -24
- package/dist/src/graph/generated/common.d.ts +15 -35
- package/dist/src/graph/generated/configuration.d.ts +24 -17
- package/dist/src/graph/generated/index.d.ts +2 -2
- package/dist/src/graph/groups/groups.d.ts +2 -2
- package/dist/src/graph/groups/types.d.ts +2 -2
- package/dist/src/graph/index.d.ts +2 -2
- package/dist/src/graph/permissions/permissions.d.ts +2 -2
- package/dist/src/graph/permissions/types.d.ts +2 -2
- package/dist/src/graph/photos/photo.d.ts +2 -2
- package/dist/src/graph/photos/types.d.ts +1 -1
- package/dist/src/graph/tags/tags.d.ts +2 -2
- package/dist/src/graph/tags/types.d.ts +2 -2
- package/dist/src/graph/types.d.ts +2 -2
- package/dist/src/graph/users/types.d.ts +2 -2
- package/dist/src/graph/users/users.d.ts +2 -2
- package/dist/src/helpers/space/functions.d.ts +1 -1
- package/dist/src/webdav/clearTrashBin.d.ts +1 -1
- package/dist/src/webdav/copyFiles.d.ts +1 -1
- package/dist/src/webdav/deleteFile.d.ts +1 -1
- package/dist/src/webdav/listFileVersions.d.ts +1 -1
- package/dist/src/webdav/moveFiles.d.ts +1 -1
- package/dist/src/webdav/putFileContents.d.ts +1 -1
- package/dist/src/webdav/restoreFile.d.ts +1 -1
- package/dist/src/webdav/restoreFileVersion.d.ts +1 -1
- package/dist/src/webdav/setFavorite.d.ts +1 -1
- package/dist/src/webdav/types.d.ts +0 -2
- package/dist/toString-tGn_k7yU.js +287 -0
- package/dist/web-client/graph/generated.js +2 -5757
- package/dist/web-client/graph.js +2 -5
- package/dist/web-client/ocs.js +2 -5
- package/dist/web-client/sse.js +195 -201
- package/dist/web-client/webdav.js +3 -10
- package/dist/web-client.js +6 -82
- package/dist/webdav-CcBUJk4K.js +4423 -0
- package/package.json +8 -14
- package/dist/functions-JSgappH3.js +0 -1189
- package/dist/functions-K2XX5sqY.cjs +0 -1
- package/dist/index-Bjk4YP4o.js +0 -1447
- package/dist/index-Brk6gzFd.js +0 -688
- package/dist/index-CDNcS2Ra.cjs +0 -1
- package/dist/index-CRMq09Yn.js +0 -1933
- package/dist/index-D0bnLDAA.cjs +0 -1
- package/dist/index-Dn0XwAD_.cjs +0 -13
- package/dist/index-YuBBVVCr.js +0 -3860
- package/dist/index-_QOU-c0Z.cjs +0 -4
- package/dist/index-cttW6Cve.js +0 -1018
- package/dist/index-mNoGEl9R.cjs +0 -6
- package/dist/src/webdav/listFavoriteFiles.d.ts +0 -12
- package/dist/toString-CKeGA2IK.js +0 -255
- package/dist/toString-DsGM1XcL.cjs +0 -1
- package/dist/vite.config.d.ts +0 -2
- package/dist/web-client/graph/generated.cjs +0 -1
- package/dist/web-client/graph.cjs +0 -1
- package/dist/web-client/ocs.cjs +0 -1
- package/dist/web-client/sse.cjs +0 -2
- package/dist/web-client/webdav.cjs +0 -1
- 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
|
|
3
|
-
import {
|
|
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>;
|