@opencloud-eu/web-client 7.3.0 → 8.0.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-DvF8YTlk.js → axios-ULsDSF3p.js} +842 -626
- package/dist/dist-WdVfmT0d.js +4 -0
- package/dist/{generated-FCm3SbzB.js → generated-CkfYRFme.js} +395 -239
- package/dist/{graph-CppzmKYd.js → graph-D3q1149Y.js} +101 -97
- package/dist/{helpers-MRfkPTnV.js → helpers-C_9em2wB.js} +236 -224
- package/dist/{ocs-gQyxMolJ.js → ocs-CGD-4vGl.js} +1454 -563
- package/dist/ox-D1FgExd1.js +3849 -0
- package/dist/src/graph/generated/api.d.ts +461 -122
- package/dist/src/graph/users/types.d.ts +2 -1
- package/dist/src/helpers/resource/types.d.ts +2 -1
- package/dist/src/helpers/space/types.d.ts +6 -0
- package/dist/src/sse/index.d.ts +2 -0
- package/dist/src/webdav/client/builders.d.ts +3 -2
- package/dist/src/webdav/client/dav.d.ts +8 -2
- package/dist/src/webdav/constants/dav.d.ts +17 -1
- package/dist/src/webdav/listFiles.d.ts +10 -1
- package/dist/src/webdav/restoreFileVersion.d.ts +2 -1
- package/dist/src/webdav/setProperties.d.ts +19 -0
- package/dist/src/webdav/types.d.ts +2 -0
- package/dist/{toString-B4UEwRgf.js → toString-DfgrQ1mh.js} +2 -2
- package/dist/web-client/graph/generated.js +2 -2
- package/dist/web-client/graph.js +1 -1
- package/dist/web-client/ocs.js +1 -1
- package/dist/web-client/ox.js +1 -1
- package/dist/web-client/sse.js +1 -1
- package/dist/web-client/webdav.js +3 -3
- package/dist/web-client.js +6 -6
- package/dist/{webdav-BMoGCm4T.js → webdav-BxsiETq0.js} +997 -963
- package/package.json +4 -4
- package/dist/dist-CeGfU4rJ.js +0 -810
- package/dist/ox-DIaYdpxw.js +0 -3045
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AppRoleAssignment, ExportPersonalDataRequest, PasswordChange, User } from '../generated';
|
|
1
|
+
import type { ActivityNotification, AppRoleAssignment, ExportPersonalDataRequest, PasswordChange, User } from '../generated';
|
|
2
2
|
import type { GraphRequestOptions } from '../types';
|
|
3
3
|
export interface GraphUsers {
|
|
4
4
|
getUser: (id: string, options?: {
|
|
@@ -22,4 +22,5 @@ export interface GraphUsers {
|
|
|
22
22
|
changeOwnPassword: (change: PasswordChange, requestOptions?: GraphRequestOptions) => Promise<void>;
|
|
23
23
|
exportPersonalData: (id: string, destination?: ExportPersonalDataRequest, requestOptions?: GraphRequestOptions) => Promise<void>;
|
|
24
24
|
createUserAppRoleAssignment: (id: string, roleAssignment: AppRoleAssignment, requestOptions?: GraphRequestOptions) => Promise<AppRoleAssignment>;
|
|
25
|
+
sendActivityNotification: (id: string, notification: ActivityNotification, requestOptions?: GraphRequestOptions) => Promise<void>;
|
|
25
26
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DavFileInfoResponse } from '@opencloud-eu/web-client/webdav';
|
|
2
|
-
import { Audio, GeoCoordinates, Identity, Image, Photo, User } from '../../graph/generated';
|
|
2
|
+
import { Audio, GeoCoordinates, Identity, Image, MotionPhoto, Photo, User } from '../../graph/generated';
|
|
3
3
|
import { MongoAbility, SubjectRawRule } from '@casl/ability';
|
|
4
4
|
import { DAVResultResponseProps, FileStat } from 'webdav';
|
|
5
5
|
export type AbilityActions = 'create' | 'create-all' | 'delete' | 'delete-all' | 'read' | 'read-all' | 'set-quota' | 'set-quota-all' | 'update' | 'update-all';
|
|
@@ -18,6 +18,7 @@ export interface Resource {
|
|
|
18
18
|
location?: GeoCoordinates;
|
|
19
19
|
image?: Image;
|
|
20
20
|
photo?: Photo;
|
|
21
|
+
motionPhoto?: MotionPhoto;
|
|
21
22
|
path: string;
|
|
22
23
|
webDavPath?: string;
|
|
23
24
|
downloadURL?: string;
|
|
@@ -14,6 +14,12 @@ export interface SpaceResource extends Resource {
|
|
|
14
14
|
spaceReadmeData: DriveItem;
|
|
15
15
|
hasTrashedItems: boolean;
|
|
16
16
|
webDavTrashPath: string;
|
|
17
|
+
/**
|
|
18
|
+
* Value of the drive's `@libre.graph.contentType` property. Web apps can use this to
|
|
19
|
+
* determine how to handle the space (e.g. `application/vnd.opencloud.vault` for an
|
|
20
|
+
* end-to-end encrypted space).
|
|
21
|
+
*/
|
|
22
|
+
contentType?: string;
|
|
17
23
|
graphPermissions?: string[];
|
|
18
24
|
canDisable(args?: {
|
|
19
25
|
user?: User;
|
package/dist/src/sse/index.d.ts
CHANGED
|
@@ -9,6 +9,8 @@ export declare enum MESSAGE_TYPE {
|
|
|
9
9
|
ITEM_TRASHED = "item-trashed",
|
|
10
10
|
ITEM_RESTORED = "item-restored",
|
|
11
11
|
ITEM_MOVED = "item-moved",
|
|
12
|
+
ITEM_FAVORITE_ADDED = "item-favorite-added",
|
|
13
|
+
ITEM_FAVORITE_REMOVED = "item-favorite-removed",
|
|
12
14
|
FOLDER_CREATED = "folder-created",
|
|
13
15
|
SPACE_CREATED = "space-created",
|
|
14
16
|
SPACE_DISABLED = "space-disabled",
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { DavPropertyValue } from '../constants';
|
|
2
|
+
export type DavPropertyRecord = Partial<Record<DavPropertyValue, unknown>> & Record<string, unknown>;
|
|
2
3
|
export declare const buildPropFindBody: (properties: DavPropertyValue[], { pattern, filterRules, limit, extraProps }: {
|
|
3
4
|
pattern?: string;
|
|
4
|
-
filterRules?:
|
|
5
|
+
filterRules?: DavPropertyRecord;
|
|
5
6
|
limit?: number;
|
|
6
7
|
extraProps: string[];
|
|
7
8
|
}) => string;
|
|
8
|
-
export declare const buildPropPatchBody: (properties:
|
|
9
|
+
export declare const buildPropPatchBody: (properties: DavPropertyRecord, extraProps?: string[]) => string;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Headers, ProgressEventCallback } from 'webdav';
|
|
2
2
|
import { DavPropertyValue } from '../constants';
|
|
3
|
+
import { DavPropertyRecord } from './builders';
|
|
3
4
|
import { WebDavResponseResource } from '../../helpers';
|
|
4
5
|
export interface DAVOptions {
|
|
5
6
|
baseUrl: string;
|
|
@@ -21,9 +22,11 @@ export declare class DAV {
|
|
|
21
22
|
extraProps: string[];
|
|
22
23
|
constructor({ baseUrl, headers }: DAVOptions);
|
|
23
24
|
mkcol(path: string, opts?: DAVRequestOptions): Promise<DavResult>;
|
|
24
|
-
propfind(path: string, { depth, properties, headers, ...opts }?: {
|
|
25
|
+
propfind(path: string, { depth, properties, extraProps, headers, ...opts }?: {
|
|
25
26
|
depth?: number;
|
|
26
27
|
properties?: DavPropertyValue[];
|
|
28
|
+
/** Namespaced props for this request only, on top of the globally registered ones. */
|
|
29
|
+
extraProps?: string[];
|
|
27
30
|
} & DAVRequestOptions): Promise<WebDavResponseResource[]>;
|
|
28
31
|
report(path: string, { pattern, filterRules, limit, properties, ...opts }?: {
|
|
29
32
|
pattern?: string;
|
|
@@ -46,7 +49,10 @@ export declare class DAV {
|
|
|
46
49
|
overwrite?: boolean;
|
|
47
50
|
} & DAVRequestOptions): Promise<DavResult>;
|
|
48
51
|
delete(path: string, opts?: DAVRequestOptions): Promise<DavResult>;
|
|
49
|
-
propPatch(path: string, properties:
|
|
52
|
+
propPatch(path: string, properties: DavPropertyRecord, { extraProps, ...opts }?: {
|
|
53
|
+
/** Namespaced props for this request only, on top of the globally registered ones. */
|
|
54
|
+
extraProps?: string[];
|
|
55
|
+
} & DAVRequestOptions): Promise<DavResult>;
|
|
50
56
|
getFileUrl(path: string): string;
|
|
51
57
|
private buildHeaders;
|
|
52
58
|
private request;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Audio, GeoCoordinates, Image, Photo } from '../../graph/generated';
|
|
1
|
+
import { Audio, GeoCoordinates, Image, MotionPhoto, Photo } from '../../graph/generated';
|
|
2
2
|
export declare abstract class DavPermission {
|
|
3
3
|
static readonly Shared: string;
|
|
4
4
|
static readonly Shareable: string;
|
|
@@ -58,6 +58,10 @@ declare const DavPropertyMapping: {
|
|
|
58
58
|
readonly value: "photo";
|
|
59
59
|
readonly type: Photo;
|
|
60
60
|
};
|
|
61
|
+
readonly MotionPhoto: {
|
|
62
|
+
readonly value: "motion-photo";
|
|
63
|
+
readonly type: MotionPhoto;
|
|
64
|
+
};
|
|
61
65
|
readonly ETag: M<"getetag", string>;
|
|
62
66
|
readonly MimeType: M<"getcontenttype", string>;
|
|
63
67
|
readonly ResourceType: M<"resourcetype", string[]>;
|
|
@@ -98,6 +102,18 @@ export type DavFileInfoResponse = {
|
|
|
98
102
|
[K in keyof DavPropertyMappingType as DavPropertyMappingType[K]['value']]: DavPropertyMappingType[K]['type'];
|
|
99
103
|
};
|
|
100
104
|
export type DavPropertyValue = (typeof DavProperty)[keyof typeof DavProperty];
|
|
105
|
+
/**
|
|
106
|
+
* The two well-known namespaces, declared on every PROPFIND / PROPPATCH body and
|
|
107
|
+
* keyed by the prefix used in property names.
|
|
108
|
+
*
|
|
109
|
+
* Deliberately just these two. Prefixes belonging to an app's own props are
|
|
110
|
+
* declared automatically from the names it passes as extra props, so apps can
|
|
111
|
+
* bring their own namespace without anything being registered here.
|
|
112
|
+
*/
|
|
113
|
+
export declare const DavNamespaces: {
|
|
114
|
+
readonly d: "DAV:";
|
|
115
|
+
readonly oc: "http://owncloud.org/ns";
|
|
116
|
+
};
|
|
101
117
|
export declare abstract class DavProperties {
|
|
102
118
|
static readonly Default: DavPropertyValue[];
|
|
103
119
|
static readonly PublicLink: DavPropertyValue[];
|
|
@@ -7,13 +7,22 @@ import { WebDavOptions } from './types';
|
|
|
7
7
|
export type ListFilesOptions = {
|
|
8
8
|
depth?: number;
|
|
9
9
|
davProperties?: DavPropertyValue[];
|
|
10
|
+
/**
|
|
11
|
+
* Namespaced props to request for this call only, e.g. `myapp:my-prop`, on top
|
|
12
|
+
* of anything registered globally via `registerExtraProp`. Names keep their own
|
|
13
|
+
* prefix instead of being forced into `oc:`, the prefix is declared for you, and
|
|
14
|
+
* the value lands on `Resource.extraProps` under the name you passed. Use this
|
|
15
|
+
* for props only one caller cares about, so every other PROPFIND in the app
|
|
16
|
+
* doesn't pay for them.
|
|
17
|
+
*/
|
|
18
|
+
extraProps?: string[];
|
|
10
19
|
isTrash?: boolean;
|
|
11
20
|
} & DAVRequestOptions;
|
|
12
21
|
export declare const ListFilesFactory: (dav: DAV, pathForFileIdFactory: ReturnType<typeof GetPathForFileIdFactory>, options: WebDavOptions) => {
|
|
13
22
|
listFiles(space: SpaceResource, { path, fileId }?: {
|
|
14
23
|
path?: string;
|
|
15
24
|
fileId?: string;
|
|
16
|
-
}, { depth, davProperties, isTrash, ...opts }?: ListFilesOptions): Promise<ListFilesResult>;
|
|
25
|
+
}, { depth, davProperties, extraProps, isTrash, ...opts }?: ListFilesOptions): Promise<ListFilesResult>;
|
|
17
26
|
};
|
|
18
27
|
export interface ListFilesResult {
|
|
19
28
|
resource: Resource;
|
|
@@ -2,7 +2,8 @@ import { SpaceResource } from '../helpers';
|
|
|
2
2
|
import { WebDavOptions } from './types';
|
|
3
3
|
import { DAV, DAVRequestOptions } from './client';
|
|
4
4
|
export declare const RestoreFileVersionFactory: (dav: DAV, options: WebDavOptions) => {
|
|
5
|
-
restoreFileVersion(space: SpaceResource, { parentFolderId, name, path }: {
|
|
5
|
+
restoreFileVersion(space: SpaceResource, { id, parentFolderId, name, path }: {
|
|
6
|
+
id?: string;
|
|
6
7
|
parentFolderId?: string;
|
|
7
8
|
name?: string;
|
|
8
9
|
path?: string;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { SpaceResource } from '../helpers';
|
|
2
|
+
import { WebDavOptions } from './types';
|
|
3
|
+
import { DAV, DAVRequestOptions, DavPropertyRecord } from './client';
|
|
4
|
+
export declare const SetPropertiesFactory: (dav: DAV, options: WebDavOptions) => {
|
|
5
|
+
/**
|
|
6
|
+
* Write WebDAV properties onto a resource via PROPPATCH.
|
|
7
|
+
*
|
|
8
|
+
* Property names are namespaced the same way as in PROPFIND: DAV standard
|
|
9
|
+
* props get `d:`, anything listed in `extraProps` (or registered globally via
|
|
10
|
+
* `registerExtraProp`) keeps its own prefix, everything else falls back to
|
|
11
|
+
* `oc:`. A custom prop must be listed, otherwise it is written as
|
|
12
|
+
* `oc:<name>` - which the server accepts but no PROPFIND can read back.
|
|
13
|
+
*/
|
|
14
|
+
setProperties(space: SpaceResource, { path }: {
|
|
15
|
+
path: string;
|
|
16
|
+
}, properties: DavPropertyRecord, opts?: {
|
|
17
|
+
extraProps?: string[];
|
|
18
|
+
} & DAVRequestOptions): Promise<import("./client").DavResult>;
|
|
19
|
+
};
|
|
@@ -15,6 +15,7 @@ import { ClearTrashBinFactory } from './clearTrashBin';
|
|
|
15
15
|
import { SearchFactory } from './search';
|
|
16
16
|
import { GetPathForFileIdFactory } from './getPathForFileId';
|
|
17
17
|
import { SetFavoriteFactory } from './setFavorite';
|
|
18
|
+
import { SetPropertiesFactory } from './setProperties';
|
|
18
19
|
import { AxiosInstance } from 'axios';
|
|
19
20
|
import { Headers } from 'webdav';
|
|
20
21
|
export interface WebDavOptions {
|
|
@@ -41,5 +42,6 @@ export interface WebDAV {
|
|
|
41
42
|
clearTrashBin: ReturnType<typeof ClearTrashBinFactory>['clearTrashBin'];
|
|
42
43
|
search: ReturnType<typeof SearchFactory>['search'];
|
|
43
44
|
setFavorite: ReturnType<typeof SetFavoriteFactory>['setFavorite'];
|
|
45
|
+
setProperties: ReturnType<typeof SetPropertiesFactory>['setProperties'];
|
|
44
46
|
registerExtraProp(name: string): void;
|
|
45
47
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { t as e } from "./dist-WdVfmT0d.js";
|
|
2
2
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_freeGlobal.js
|
|
3
3
|
var t = typeof e == "object" && e && e.Object === Object && e, n = typeof self == "object" && self && self.Object === Object && self, r = t || n || Function("return this")(), i = r.Symbol, a = Object.prototype, ee = a.hasOwnProperty, te = a.toString, o = i ? i.toStringTag : void 0;
|
|
4
4
|
function ne(e) {
|
|
@@ -41,7 +41,7 @@ function h(e, t) {
|
|
|
41
41
|
}
|
|
42
42
|
//#endregion
|
|
43
43
|
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArray.js
|
|
44
|
-
var g = Array.isArray, _ =
|
|
44
|
+
var g = Array.isArray, _ = 1 / 0, v = i ? i.prototype : void 0, y = v ? v.toString : void 0;
|
|
45
45
|
function b(e) {
|
|
46
46
|
if (typeof e == "string") return e;
|
|
47
47
|
if (g(e)) return h(e, b) + "";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as e, $t as t, A as n,
|
|
2
|
-
export {
|
|
1
|
+
import { $ as e, $t as t, A as n, An as r, At as i, B as a, Bt as o, C as s, Cn as c, Ct as l, D as u, Dn as d, Dt as f, E as p, En as m, Et as h, F as g, Fn as _, Ft as v, G as y, Gt as b, H as x, Ht as S, I as C, In as w, It as T, J as E, Jt as D, K as O, Kt as k, L as A, Ln as j, Lt as M, M as N, Mn as P, Mt as F, N as I, Nn as L, Nt as R, O as z, On as B, Ot as V, P as H, Pn as U, Pt as W, Q as G, Qt as K, R as q, Rn as J, Rt as Y, S as X, Sn as Z, St as Q, T as $, Tn as ee, Tt as te, U as ne, Ut as re, V as ie, Vt as ae, W as oe, Wt as se, X as ce, Xt as le, Y as ue, Yt as de, Z as fe, Zt as pe, _ as me, _n as he, _t as ge, a as _e, an as ve, at as ye, b as be, bn as xe, bt as Se, c as Ce, cn as we, ct as Te, d as Ee, dn as De, dt as Oe, en as ke, et as Ae, f as je, fn as Me, ft as Ne, g as Pe, gn as Fe, gt as Ie, h as Le, hn as Re, ht as ze, i as Be, in as Ve, it as He, j as Ue, jn as We, jt as Ge, k as Ke, kn as qe, kt as Je, l as Ye, ln as Xe, lt as Ze, m as Qe, mn as $e, mt as et, n as tt, nn as nt, nt as rt, o as it, on as at, ot, p as st, pn as ct, pt as lt, q as ut, qt as dt, r as ft, rn as pt, rt as mt, s as ht, sn as gt, st as _t, t as vt, tn as yt, tt as bt, u as xt, un as St, ut as Ct, v as wt, vn as Tt, vt as Et, w as Dt, wn as Ot, wt as kt, x as At, xn as jt, xt as Mt, y as Nt, yn as Pt, yt as Ft, z as It, zt as Lt } from "../../generated-CkfYRFme.js";
|
|
2
|
+
export { tt as ActivitiesApi, ft as ActivitiesApiAxiosParamCreator, Be as ActivitiesApiFactory, _e as ActivitiesApiFp, it as ApplicationsApi, ht as ApplicationsApiAxiosParamCreator, Ce as ApplicationsApiFactory, Ye as ApplicationsApiFp, vt as Configuration, xt as CreateChildDriveItemAtLibreGraphConflictBehaviorEnum, Ee as CreateChildDriveItemAtLibreGraphMissingParentsBehaviorEnum, je as CreateDriveItemAtLibreGraphConflictBehaviorEnum, st as CreateDriveItemAtLibreGraphMissingParentsBehaviorEnum, Qe as DriveItemApi, Le as DriveItemApiAxiosParamCreator, Pe as DriveItemApiFactory, me as DriveItemApiFp, wt as DrivesApi, Nt as DrivesApiAxiosParamCreator, be as DrivesApiFactory, At as DrivesApiFp, X as DrivesGetDrivesApi, s as DrivesGetDrivesApiAxiosParamCreator, Dt as DrivesGetDrivesApiFactory, $ as DrivesGetDrivesApiFp, p as DrivesPermissionsApi, u as DrivesPermissionsApiAxiosParamCreator, z as DrivesPermissionsApiFactory, Ke as DrivesPermissionsApiFp, n as DrivesRootApi, Ue as DrivesRootApiAxiosParamCreator, N as DrivesRootApiFactory, I as DrivesRootApiFp, H as EducationClassApi, g as EducationClassApiAxiosParamCreator, C as EducationClassApiFactory, A as EducationClassApiFp, q as EducationClassClassificationEnum, It as EducationClassTeachersApi, a as EducationClassTeachersApiAxiosParamCreator, ie as EducationClassTeachersApiFactory, x as EducationClassTeachersApiFp, ne as EducationSchoolApi, oe as EducationSchoolApiAxiosParamCreator, y as EducationSchoolApiFactory, O as EducationSchoolApiFp, ut as EducationUserApi, E as EducationUserApiAxiosParamCreator, ue as EducationUserApiFactory, ce as EducationUserApiFp, fe as GetDriveItemChildrenSelectEnum, G as GetDriveItemSelectEnum, e as GetDriveItemV1SelectEnum, Ae as GetDriveSelectEnum, bt as GetEducationUserExpandEnum, rt as GetGroupExpandEnum, mt as GetGroupSelectEnum, He as GetOwnUserExpandEnum, ye as GetRootSelectEnum, ot as GetUserExpandEnum, _t as GetUserSelectEnum, Te as GroupApi, Ze as GroupApiAxiosParamCreator, Ct as GroupApiFactory, Oe as GroupApiFp, Ne as GroupsApi, lt as GroupsApiAxiosParamCreator, et as GroupsApiFactory, ze as GroupsApiFp, Ie as HomeGetChildrenSelectEnum, ge as HomeGetRootSelectEnum, Et as InvitationsApi, Ft as InvitationsApiAxiosParamCreator, Se as InvitationsApiFactory, Mt as InvitationsApiFp, Q as ListAllDrivesBetaSelectEnum, l as ListEducationUsersExpandEnum, kt as ListEducationUsersOrderbyEnum, te as ListGroupsExpandEnum, h as ListGroupsOrderbyEnum, f as ListGroupsSelectEnum, V as ListMyDrivesBetaSelectEnum, Je as ListPermissionsSelectEnum, i as ListPermissionsSpaceRootSelectEnum, Ge as ListSharedByMeExpandEnum, F as ListSharedWithMeExpandEnum, R as ListUsersExpandEnum, W as ListUsersOrderbyEnum, v as ListUsersSelectEnum, T as MeChangepasswordApi, M as MeChangepasswordApiAxiosParamCreator, Y as MeChangepasswordApiFactory, Lt as MeChangepasswordApiFp, o as MeDriveApi, ae as MeDriveApiAxiosParamCreator, S as MeDriveApiFactory, re as MeDriveApiFp, se as MeDriveRootApi, b as MeDriveRootApiAxiosParamCreator, k as MeDriveRootApiFactory, dt as MeDriveRootApiFp, D as MeDriveRootChildrenApi, de as MeDriveRootChildrenApiAxiosParamCreator, le as MeDriveRootChildrenApiFactory, pe as MeDriveRootChildrenApiFp, K as MeDrivesApi, t as MeDrivesApiAxiosParamCreator, ke as MeDrivesApiFactory, yt as MeDrivesApiFp, nt as MePhotoApi, pt as MePhotoApiAxiosParamCreator, Ve as MePhotoApiFactory, ve as MePhotoApiFp, at as MeUserApi, gt as MeUserApiAxiosParamCreator, we as MeUserApiFactory, Xe as MeUserApiFp, St as RoleManagementApi, De as RoleManagementApiAxiosParamCreator, Me as RoleManagementApiFactory, ct as RoleManagementApiFp, $e as SharingLinkType, Re as TagsApi, Fe as TagsApiAxiosParamCreator, he as TagsApiFactory, Tt as TagsApiFp, Pt as UserApi, xe as UserApiAxiosParamCreator, jt as UserApiFactory, Z as UserApiFp, c as UserAppRoleAssignmentApi, Ot as UserAppRoleAssignmentApiAxiosParamCreator, ee as UserAppRoleAssignmentApiFactory, m as UserAppRoleAssignmentApiFp, d as UserPhotoApi, B as UserPhotoApiAxiosParamCreator, qe as UserPhotoApiFactory, r as UserPhotoApiFp, We as UserTeamworkApi, P as UserTeamworkApiAxiosParamCreator, L as UserTeamworkApiFactory, U as UserTeamworkApiFp, _ as UsersApi, w as UsersApiAxiosParamCreator, j as UsersApiFactory, J as UsersApiFp };
|
package/dist/web-client/graph.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../graph-
|
|
1
|
+
import { t as e } from "../graph-D3q1149Y.js";
|
|
2
2
|
export { e as graph };
|
package/dist/web-client/ocs.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { o as e, t } from "../ocs-
|
|
1
|
+
import { o as e, t } from "../ocs-CGD-4vGl.js";
|
|
2
2
|
export { e as GetCapabilitiesFactory, t as ocs };
|
package/dist/web-client/ox.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as e, n as t, r as n, t as r } from "../ox-
|
|
1
|
+
import { i as e, n as t, r as n, t as r } from "../ox-D1FgExd1.js";
|
|
2
2
|
export { t as ContactSchema, n as OxAutocompleteResponseSchema, e as OxComposeSpaceResponseSchema, r as ox };
|
package/dist/web-client/sse.js
CHANGED
|
@@ -125,7 +125,7 @@ function u(e) {
|
|
|
125
125
|
//#endregion
|
|
126
126
|
//#region src/sse/index.ts
|
|
127
127
|
var d = /* @__PURE__ */ function(e) {
|
|
128
|
-
return e.NOTIFICATION = "userlog-notification", e.POSTPROCESSING_FINISHED = "postprocessing-finished", e.FILE_LOCKED = "file-locked", e.FILE_UNLOCKED = "file-unlocked", e.FILE_TOUCHED = "file-touched", e.ITEM_RENAMED = "item-renamed", e.ITEM_TRASHED = "item-trashed", e.ITEM_RESTORED = "item-restored", e.ITEM_MOVED = "item-moved", e.FOLDER_CREATED = "folder-created", e.SPACE_CREATED = "space-created", e.SPACE_DISABLED = "space-disabled", e.SPACE_ENABLED = "space-enabled", e.SPACE_DELETED = "space-deleted", e.SPACE_MEMBER_ADDED = "space-member-added", e.SPACE_MEMBER_REMOVED = "space-member-removed", e.SPACE_SHARE_UPDATED = "space-share-updated", e.SHARE_CREATED = "share-created", e.SHARE_REMOVED = "share-removed", e.SHARE_UPDATED = "share-updated", e.LINK_CREATED = "link-created", e.LINK_REMOVED = "link-removed", e.LINK_UPDATED = "link-updated", e.BACKCHANNEL_LOGOUT = "backchannel-logout", e;
|
|
128
|
+
return e.NOTIFICATION = "userlog-notification", e.POSTPROCESSING_FINISHED = "postprocessing-finished", e.FILE_LOCKED = "file-locked", e.FILE_UNLOCKED = "file-unlocked", e.FILE_TOUCHED = "file-touched", e.ITEM_RENAMED = "item-renamed", e.ITEM_TRASHED = "item-trashed", e.ITEM_RESTORED = "item-restored", e.ITEM_MOVED = "item-moved", e.ITEM_FAVORITE_ADDED = "item-favorite-added", e.ITEM_FAVORITE_REMOVED = "item-favorite-removed", e.FOLDER_CREATED = "folder-created", e.SPACE_CREATED = "space-created", e.SPACE_DISABLED = "space-disabled", e.SPACE_ENABLED = "space-enabled", e.SPACE_DELETED = "space-deleted", e.SPACE_MEMBER_ADDED = "space-member-added", e.SPACE_MEMBER_REMOVED = "space-member-removed", e.SPACE_SHARE_UPDATED = "space-share-updated", e.SHARE_CREATED = "share-created", e.SHARE_REMOVED = "share-removed", e.SHARE_UPDATED = "share-updated", e.LINK_CREATED = "link-created", e.LINK_REMOVED = "link-removed", e.LINK_UPDATED = "link-updated", e.BACKCHANNEL_LOGOUT = "backchannel-logout", e;
|
|
129
129
|
}({}), f = class extends Error {
|
|
130
130
|
name = "RetriableError";
|
|
131
131
|
}, p = 15e3, m = class {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as e } from "../webdav-
|
|
2
|
-
import { G as t, K as n, U as r, W as i } from "../helpers-
|
|
3
|
-
export { r as DavMethod, i as
|
|
1
|
+
import { t as e } from "../webdav-BxsiETq0.js";
|
|
2
|
+
import { G as t, K as n, U as r, W as i, q as a } from "../helpers-C_9em2wB.js";
|
|
3
|
+
export { r as DavMethod, i as DavNamespaces, t as DavPermission, n as DavProperties, a as DavProperty, e as webdav };
|
package/dist/web-client.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as e } from "./graph-
|
|
2
|
-
import { i as t, n, r, t as i } from "./webdav-
|
|
1
|
+
import { t as e } from "./graph-D3q1149Y.js";
|
|
2
|
+
import { i as t, n, r, t as i } from "./webdav-BxsiETq0.js";
|
|
3
3
|
import { t as a } from "./urlJoin-_pUL1TUx.js";
|
|
4
|
-
import { A as o, B as s, C as c, D as l, E as u, F as d, H as f, I as p, J as m, L as h, M as g, N as _, O as v, P as y, R as b, S as x, T as S, V as C,
|
|
5
|
-
import { t as X } from "./ocs-
|
|
6
|
-
import { t as Z } from "./ox-
|
|
4
|
+
import { A as o, B as s, C as c, D as l, E as u, F as d, H as f, I as p, J as m, L as h, M as g, N as _, O as v, P as y, R as b, S as x, T as S, V as C, Y as w, _ as T, a as E, b as D, c as O, d as k, f as A, g as j, h as M, i as N, j as P, k as F, l as I, m as L, n as R, o as z, p as B, r as V, s as H, t as U, u as W, v as G, w as K, x as q, y as J, z as Y } from "./helpers-C_9em2wB.js";
|
|
5
|
+
import { t as X } from "./ocs-CGD-4vGl.js";
|
|
6
|
+
import { t as Z } from "./ox-D1FgExd1.js";
|
|
7
7
|
//#region src/helpers/call.ts
|
|
8
8
|
var Q = function* (e) {
|
|
9
9
|
return yield e;
|
|
@@ -21,4 +21,4 @@ var Q = function* (e) {
|
|
|
21
21
|
static Share = 16;
|
|
22
22
|
};
|
|
23
23
|
//#endregion
|
|
24
|
-
export { n as DavHttpError,
|
|
24
|
+
export { n as DavHttpError, P as GraphSharePermission, r as HttpError, q as OCM_PROVIDER_ID, x as SHARE_JAIL_ID, ee as SharePermissionBit, F as ShareType, o as ShareTypes, U as buildCollaboratorShare, g as buildDeletedResource, R as buildIncomingShareResource, V as buildLinkShare, N as buildOutgoingShareResource, A as buildPublicSpaceResource, _ as buildResource, B as buildShareSpaceResource, L as buildSpace, M as buildSpaceImageResource, m as buildWebDavOcmPath, w as buildWebDavPublicPath, j as buildWebDavSpacesPath, T as buildWebDavSpacesTrashPath, Q as call, $ as createHttpError, t as encodePath, y as extractDomSelector, d as extractExtensionFromFile, p as extractNameWithoutExtension, h as extractNodeId, b as extractParentFolderName, Y as extractStorageId, G as getRelativeSpecialFolderSpacePath, E as getShareResourcePermissions, z as getShareResourceRoles, J as getSpaceManagers, e as graph, H as isCollaboratorShare, O as isIncomingShareResource, I as isLinkShare, D as isManager, c as isMountPointSpaceResource, W as isOutgoingShareResource, K as isPersonalSpaceResource, S as isProjectSpaceResource, u as isPublicSpaceResource, s as isSearchResource, k as isShareResource, C as isShareRoot, l as isShareSpaceResource, v as isSpaceResource, f as isTrashResource, X as ocs, Z as ox, a as urlJoin, i as webdav };
|