@opencloud-eu/web-client 8.2.0 → 8.2.2
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-CZcFYsAI.js +2405 -0
- package/dist/dist-KEM01zRn.js +3 -0
- package/dist/{generated-4nR8KA38.js → generated-DNXECX0W.js} +2 -3
- package/dist/{graph-CwVan2Jp.js → graph-BKQg17FE.js} +49 -51
- package/dist/{helpers-Bh5xR_vg.js → helpers-BnhEi-vU.js} +63 -107
- package/dist/{ocs-Dfdjrujs.js → ocs-BPMytNew.js} +706 -689
- package/dist/{schemas-rdabTCJb.js → schemas-F0EHDbLA.js} +12 -22
- package/dist/src/helpers/resource/types.d.ts +4 -2
- package/dist/src/ocs/capabilities.d.ts +3 -0
- package/dist/src/webdav/constants/dav.d.ts +7 -0
- package/dist/src/webdav/getFileUrl.d.ts +2 -1
- package/dist/src/webdav/getPublicLinkSignature.d.ts +12 -0
- package/dist/src/webdav/index.d.ts +1 -0
- package/dist/src/webdav/restoreFileVersion.d.ts +2 -2
- package/dist/src/webdav/types.d.ts +2 -0
- package/dist/{toString-uorCN9F3.js → toString-DOYcT1Pn.js} +40 -79
- package/dist/{urlJoin-_pUL1TUx.js → urlJoin-ELOJmfWG.js} +1 -2
- package/dist/web-client/graph/generated.js +1 -1
- package/dist/web-client/graph.js +1 -1
- package/dist/web-client/ocs.js +1 -1
- package/dist/web-client/ox.js +3 -4
- package/dist/web-client/sse.js +4 -7
- package/dist/web-client/webdav.js +2 -2
- package/dist/web-client.js +14 -15
- package/dist/{webdav-DrQsSfxZ.js → webdav-BByRDKI2.js} +911 -909
- package/package.json +1 -1
- package/dist/axios-DRPhbClr.js +0 -2144
- package/dist/dist-CHy-DaIN.js +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// ../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/util.js
|
|
2
2
|
function e(e) {
|
|
3
3
|
let t = Object.values(e).filter((e) => typeof e == "number");
|
|
4
4
|
return Object.entries(e).filter(([e, n]) => t.indexOf(+e) === -1).map(([e, t]) => t);
|
|
@@ -415,8 +415,7 @@ function Le(e) {
|
|
|
415
415
|
let t = () => e;
|
|
416
416
|
return t[Ie] = !0, t;
|
|
417
417
|
}
|
|
418
|
-
|
|
419
|
-
//#region ../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/core.js
|
|
418
|
+
// ../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/core.js
|
|
420
419
|
var Re, ze = {
|
|
421
420
|
value: void 0,
|
|
422
421
|
enumerable: !1
|
|
@@ -496,8 +495,7 @@ var k = globalThis.__zod_globalConfig;
|
|
|
496
495
|
function A(e) {
|
|
497
496
|
return e && Object.assign(k, e), k;
|
|
498
497
|
}
|
|
499
|
-
|
|
500
|
-
//#region ../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/errors.js
|
|
498
|
+
// ../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/errors.js
|
|
501
499
|
function Ue() {
|
|
502
500
|
let e = this._zod;
|
|
503
501
|
return e.message ??= JSON.stringify(e.def, n, 2), e.message;
|
|
@@ -582,8 +580,7 @@ function Ze(e, t = (e) => e.message) {
|
|
|
582
580
|
};
|
|
583
581
|
return r(e), n;
|
|
584
582
|
}
|
|
585
|
-
|
|
586
|
-
//#region ../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/parse.js
|
|
583
|
+
// ../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/parse.js
|
|
587
584
|
function Qe(e, t) {
|
|
588
585
|
return {
|
|
589
586
|
callee: t?.callee ?? e,
|
|
@@ -930,7 +927,7 @@ var Wt = /^[\s\S]{0,}$/, Gt = /^-?\d+(?:\.\d+)?$/, Kt = /^null$/i, qt = /^[^A-Z]
|
|
|
930
927
|
}), an = /*@__PURE__*/ D("$ZodCheckStringFormat", (e, t) => {
|
|
931
928
|
var n, r;
|
|
932
929
|
j.init(e, t), t.pattern ? (n = e._zod).check ?? (n.check = (n) => {
|
|
933
|
-
t.pattern.lastIndex = 0,
|
|
930
|
+
t.pattern.lastIndex = 0, t.pattern.test(n.value) || n.issues.push({
|
|
934
931
|
origin: "string",
|
|
935
932
|
code: "invalid_format",
|
|
936
933
|
format: t.format,
|
|
@@ -942,7 +939,7 @@ var Wt = /^[\s\S]{0,}$/, Gt = /^-?\d+(?:\.\d+)?$/, Kt = /^null$/i, qt = /^[^A-Z]
|
|
|
942
939
|
}) : (r = e._zod).check ?? (r.check = () => {});
|
|
943
940
|
}), on = /*@__PURE__*/ D("$ZodCheckRegex", (e, t) => {
|
|
944
941
|
an.init(e, t), e._zod.check = (n) => {
|
|
945
|
-
t.pattern.lastIndex = 0,
|
|
942
|
+
t.pattern.lastIndex = 0, t.pattern.test(n.value) || n.issues.push({
|
|
946
943
|
origin: "string",
|
|
947
944
|
code: "invalid_format",
|
|
948
945
|
format: "regex",
|
|
@@ -1906,8 +1903,7 @@ function zr(e, t, n, r) {
|
|
|
1906
1903
|
r._zod.def.params && (e.params = r._zod.def.params), t.issues.push(C(e));
|
|
1907
1904
|
}
|
|
1908
1905
|
}
|
|
1909
|
-
|
|
1910
|
-
//#region ../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/memoizer.js
|
|
1906
|
+
// ../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/memoizer.js
|
|
1911
1907
|
var Br = class extends Error {
|
|
1912
1908
|
constructor() {
|
|
1913
1909
|
super("Cannot parse a reference cycle that closes through a transform"), this.name = "ZodCyclicError";
|
|
@@ -2091,8 +2087,7 @@ function Zr(e, t) {
|
|
|
2091
2087
|
let n = e[Vr]?.backEdges;
|
|
2092
2088
|
return n !== void 0 && Ur(t) && n.has(t);
|
|
2093
2089
|
}
|
|
2094
|
-
|
|
2095
|
-
//#region ../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/en.js
|
|
2090
|
+
// ../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/en.js
|
|
2096
2091
|
var Qr = () => {
|
|
2097
2092
|
let e = {
|
|
2098
2093
|
string: {
|
|
@@ -2184,8 +2179,7 @@ var Qr = () => {
|
|
|
2184
2179
|
function $r() {
|
|
2185
2180
|
return { localeError: Qr() };
|
|
2186
2181
|
}
|
|
2187
|
-
|
|
2188
|
-
//#region ../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/registries.js
|
|
2182
|
+
// ../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/registries.js
|
|
2189
2183
|
var ei, ti = class {
|
|
2190
2184
|
constructor() {
|
|
2191
2185
|
this._map = /* @__PURE__ */ new WeakMap(), this._idmap = /* @__PURE__ */ new Map();
|
|
@@ -2223,8 +2217,7 @@ function ni() {
|
|
|
2223
2217
|
}
|
|
2224
2218
|
(ei = globalThis).__zod_globalRegistry ?? (ei.__zod_globalRegistry = ni());
|
|
2225
2219
|
var V = globalThis.__zod_globalRegistry;
|
|
2226
|
-
|
|
2227
|
-
//#region ../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/api.js
|
|
2220
|
+
// ../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/api.js
|
|
2228
2221
|
function ri(e) {
|
|
2229
2222
|
return e.checks &&= [...e.checks], e;
|
|
2230
2223
|
}
|
|
@@ -2717,8 +2710,7 @@ function ia(e, t) {
|
|
|
2717
2710
|
});
|
|
2718
2711
|
return n._zod.check = e, n;
|
|
2719
2712
|
}
|
|
2720
|
-
|
|
2721
|
-
//#region ../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/to-json-schema.js
|
|
2713
|
+
// ../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/to-json-schema.js
|
|
2722
2714
|
function U(e, ...t) {
|
|
2723
2715
|
for (let n of t) for (let t of Reflect.ownKeys(n)) Object.prototype.propertyIsEnumerable.call(n, t) && c(e, t, n[t]);
|
|
2724
2716
|
return e;
|
|
@@ -3273,8 +3265,7 @@ var X = /*@__PURE__*/ D("ZodError", (e, t) => {
|
|
|
3273
3265
|
}
|
|
3274
3266
|
}));
|
|
3275
3267
|
}, void 0, { Parent: Error }), $a = /* @__PURE__ */ $e(X), eo = /* @__PURE__ */ et(X), to = /* @__PURE__ */ tt(X), no = /* @__PURE__ */ rt(X), ro = /* @__PURE__ */ lt(X), io = /* @__PURE__ */ ut(X), ao = /* @__PURE__ */ dt(X), oo = /* @__PURE__ */ ft(X), so = /* @__PURE__ */ pt(X), co = /* @__PURE__ */ mt(X), lo = /* @__PURE__ */ ht(X), uo = /* @__PURE__ */ gt(X);
|
|
3276
|
-
|
|
3277
|
-
//#region ../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/classic/schemas.js
|
|
3268
|
+
// ../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/classic/schemas.js
|
|
3278
3269
|
function fo() {
|
|
3279
3270
|
k.localeError || A($r());
|
|
3280
3271
|
}
|
|
@@ -3961,5 +3952,4 @@ function Es(e, t = {}) {
|
|
|
3961
3952
|
function Ds(e, t) {
|
|
3962
3953
|
return /* @__PURE__ */ ra(e, t);
|
|
3963
3954
|
}
|
|
3964
|
-
//#endregion
|
|
3965
3955
|
export { go as a, Qo as i, Xo as n, es as o, Bo as r, Wo as t };
|
|
@@ -3,7 +3,7 @@ import { Audio, GeoCoordinates, Identity, Image, LivePhoto, MotionPhoto, Photo,
|
|
|
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';
|
|
6
|
-
export type AbilitySubjects = 'Account' | 'Announcement' | 'Drive' | 'Favorite' | 'Group' | 'GuestInvite' | 'Language' | 'Logo' | 'PublicLink' | 'ReadOnlyPublicLinkPassword' | 'Role' | 'Setting' | 'Share';
|
|
6
|
+
export type AbilitySubjects = 'Account' | 'Announcement' | 'Drive' | 'Favorite' | 'Font' | 'Group' | 'GuestInvite' | 'Language' | 'Logo' | 'PublicLink' | 'ReadOnlyPublicLinkPassword' | 'Role' | 'Setting' | 'Share';
|
|
7
7
|
export type Ability = MongoAbility<[AbilityActions, AbilitySubjects]>;
|
|
8
8
|
export type AbilityRule = SubjectRawRule<AbilityActions, AbilitySubjects, any>;
|
|
9
9
|
export interface Resource {
|
|
@@ -45,7 +45,9 @@ export interface Resource {
|
|
|
45
45
|
remoteItemPath?: string;
|
|
46
46
|
isInVault?: boolean;
|
|
47
47
|
hasPreview?(): boolean;
|
|
48
|
-
canCreate?(
|
|
48
|
+
canCreate?(args?: {
|
|
49
|
+
user?: User;
|
|
50
|
+
}): boolean;
|
|
49
51
|
canUpload?({ user }: {
|
|
50
52
|
user?: User;
|
|
51
53
|
}): boolean;
|
|
@@ -99,6 +99,13 @@ declare const DavPropertyMapping: {
|
|
|
99
99
|
readonly PublicLinkExpiration: M<"public-link-expiration", string>;
|
|
100
100
|
readonly PublicLinkShareDate: M<"public-link-share-datetime", string>;
|
|
101
101
|
readonly PublicLinkShareOwner: M<"public-link-share-owner", string>;
|
|
102
|
+
readonly SignatureAuth: {
|
|
103
|
+
readonly value: "signature-auth";
|
|
104
|
+
readonly type: {
|
|
105
|
+
signature: string;
|
|
106
|
+
expiration: string;
|
|
107
|
+
};
|
|
108
|
+
};
|
|
102
109
|
};
|
|
103
110
|
type DavPropertyMappingType = typeof DavPropertyMapping;
|
|
104
111
|
export declare const DavProperty: { [K in keyof DavPropertyMappingType as K]: DavPropertyMappingType[K]["value"]; };
|
|
@@ -4,10 +4,11 @@ import { WebDavOptions } from './types';
|
|
|
4
4
|
import { DAV, DAVRequestOptions } from './client';
|
|
5
5
|
import { GetFileInfoFactory } from './getFileInfo';
|
|
6
6
|
export declare const GetFileUrlFactory: (dav: DAV, getFileContentsFactory: ReturnType<typeof GetFileContentsFactory>, getFileInfoFactory: ReturnType<typeof GetFileInfoFactory>, { axiosClient, baseUrl }: WebDavOptions) => {
|
|
7
|
-
getFileUrl(space: SpaceResource, resource: Resource, { disposition, version, username, ...opts }: {
|
|
7
|
+
getFileUrl(space: SpaceResource, resource: Resource, { disposition, version, username, signUrl, ...opts }: {
|
|
8
8
|
disposition?: "inline" | "attachment";
|
|
9
9
|
version?: string;
|
|
10
10
|
username?: string;
|
|
11
|
+
signUrl?: boolean;
|
|
11
12
|
} & DAVRequestOptions): Promise<string>;
|
|
12
13
|
revokeUrl: (url: string) => void;
|
|
13
14
|
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { DAV } from './client';
|
|
2
|
+
import { DavFileInfoResponse } from './constants';
|
|
3
|
+
import { WebDavOptions } from './types';
|
|
4
|
+
export type PublicLinkSignature = DavFileInfoResponse['signature-auth'];
|
|
5
|
+
export declare const GetPublicLinkSignatureFactory: (dav: DAV, options: WebDavOptions) => {
|
|
6
|
+
/**
|
|
7
|
+
* Fetches a short-lived, server-generated signature for a password protected public link.
|
|
8
|
+
* It authenticates plain GET requests (e.g. archive downloads) via `signature` and
|
|
9
|
+
* `expiration` query params, so they don't need an Authorization header.
|
|
10
|
+
*/
|
|
11
|
+
getPublicLinkSignature(publicLinkToken: string): Promise<PublicLinkSignature>;
|
|
12
|
+
};
|
|
@@ -4,4 +4,5 @@ export * from './constants';
|
|
|
4
4
|
export * from './types';
|
|
5
5
|
export type { ListFilesOptions, ListFilesResult } from './listFiles';
|
|
6
6
|
export type { GetFileContentsResponse } from './getFileContents';
|
|
7
|
+
export type { PublicLinkSignature } from './getPublicLinkSignature';
|
|
7
8
|
export declare const webdav: (baseURI: string, headers?: () => Headers, withCredentials?: () => boolean) => WebDAV;
|
|
@@ -2,8 +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, {
|
|
6
|
-
|
|
5
|
+
restoreFileVersion(space: SpaceResource, { fileId, parentFolderId, name, path }: {
|
|
6
|
+
fileId?: string;
|
|
7
7
|
parentFolderId?: string;
|
|
8
8
|
name?: string;
|
|
9
9
|
path?: string;
|
|
@@ -3,6 +3,7 @@ import { GetFileContentsFactory } from './getFileContents';
|
|
|
3
3
|
import { GetFileInfoFactory } from './getFileInfo';
|
|
4
4
|
import { GetFileUrlFactory } from './getFileUrl';
|
|
5
5
|
import { GetPublicFileUrlFactory } from './getPublicFileUrl';
|
|
6
|
+
import { GetPublicLinkSignatureFactory } from './getPublicLinkSignature';
|
|
6
7
|
import { ListFilesFactory } from './listFiles';
|
|
7
8
|
import { PutFileContentsFactory } from './putFileContents';
|
|
8
9
|
import { CopyFilesFactory } from './copyFiles';
|
|
@@ -27,6 +28,7 @@ export interface WebDAV {
|
|
|
27
28
|
getFileInfo: ReturnType<typeof GetFileInfoFactory>['getFileInfo'];
|
|
28
29
|
getFileUrl: ReturnType<typeof GetFileUrlFactory>['getFileUrl'];
|
|
29
30
|
getPublicFileUrl: ReturnType<typeof GetPublicFileUrlFactory>['getPublicFileUrl'];
|
|
31
|
+
getPublicLinkSignature: ReturnType<typeof GetPublicLinkSignatureFactory>['getPublicLinkSignature'];
|
|
30
32
|
revokeUrl: ReturnType<typeof GetFileUrlFactory>['revokeUrl'];
|
|
31
33
|
listFiles: ReturnType<typeof ListFilesFactory>['listFiles'];
|
|
32
34
|
createFolder: ReturnType<typeof CreateFolderFactory>['createFolder'];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "./dist-
|
|
2
|
-
|
|
1
|
+
import { t as e } from "./dist-KEM01zRn.js";
|
|
2
|
+
// ../../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) {
|
|
5
5
|
var t = ee.call(e, o), n = e[o];
|
|
@@ -10,37 +10,31 @@ function ne(e) {
|
|
|
10
10
|
var i = te.call(e);
|
|
11
11
|
return r && (t ? e[o] = n : delete e[o]), i;
|
|
12
12
|
}
|
|
13
|
-
|
|
14
|
-
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js
|
|
13
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js
|
|
15
14
|
var s = Object.prototype.toString;
|
|
16
15
|
function c(e) {
|
|
17
16
|
return s.call(e);
|
|
18
17
|
}
|
|
19
|
-
|
|
20
|
-
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js
|
|
18
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js
|
|
21
19
|
var l = "[object Null]", re = "[object Undefined]", u = i ? i.toStringTag : void 0;
|
|
22
20
|
function d(e) {
|
|
23
21
|
return e == null ? e === void 0 ? re : l : u && u in Object(e) ? ne(e) : c(e);
|
|
24
22
|
}
|
|
25
|
-
|
|
26
|
-
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js
|
|
23
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js
|
|
27
24
|
function f(e) {
|
|
28
25
|
return typeof e == "object" && !!e;
|
|
29
26
|
}
|
|
30
|
-
|
|
31
|
-
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isSymbol.js
|
|
27
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isSymbol.js
|
|
32
28
|
var p = "[object Symbol]";
|
|
33
29
|
function m(e) {
|
|
34
30
|
return typeof e == "symbol" || f(e) && d(e) == p;
|
|
35
31
|
}
|
|
36
|
-
|
|
37
|
-
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayMap.js
|
|
32
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayMap.js
|
|
38
33
|
function h(e, t) {
|
|
39
34
|
for (var n = -1, r = e == null ? 0 : e.length, i = Array(r); ++n < r;) i[n] = t(e[n], n, e);
|
|
40
35
|
return i;
|
|
41
36
|
}
|
|
42
|
-
|
|
43
|
-
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArray.js
|
|
37
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArray.js
|
|
44
38
|
var g = Array.isArray, _ = 1 / 0, v = i ? i.prototype : void 0, y = v ? v.toString : void 0;
|
|
45
39
|
function b(e) {
|
|
46
40
|
if (typeof e == "string") return e;
|
|
@@ -49,22 +43,19 @@ function b(e) {
|
|
|
49
43
|
var t = e + "";
|
|
50
44
|
return t == "0" && 1 / e == -_ ? "-0" : t;
|
|
51
45
|
}
|
|
52
|
-
|
|
53
|
-
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObject.js
|
|
46
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObject.js
|
|
54
47
|
function x(e) {
|
|
55
48
|
var t = typeof e;
|
|
56
49
|
return e != null && (t == "object" || t == "function");
|
|
57
50
|
}
|
|
58
|
-
|
|
59
|
-
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js
|
|
51
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js
|
|
60
52
|
var ie = "[object AsyncFunction]", ae = "[object Function]", S = "[object GeneratorFunction]", C = "[object Proxy]";
|
|
61
53
|
function w(e) {
|
|
62
54
|
if (!x(e)) return !1;
|
|
63
55
|
var t = d(e);
|
|
64
56
|
return t == ae || t == S || t == ie || t == C;
|
|
65
57
|
}
|
|
66
|
-
|
|
67
|
-
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.js
|
|
58
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.js
|
|
68
59
|
var T = r["__core-js_shared__"], E = function() {
|
|
69
60
|
var e = /[^.]+$/.exec(T && T.keys && T.keys.IE_PROTO || "");
|
|
70
61
|
return e ? "Symbol(src)_1." + e : "";
|
|
@@ -72,8 +63,7 @@ var T = r["__core-js_shared__"], E = function() {
|
|
|
72
63
|
function D(e) {
|
|
73
64
|
return !!E && E in e;
|
|
74
65
|
}
|
|
75
|
-
|
|
76
|
-
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js
|
|
66
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js
|
|
77
67
|
var O = Function.prototype.toString;
|
|
78
68
|
function k(e) {
|
|
79
69
|
if (e != null) {
|
|
@@ -86,44 +76,36 @@ function k(e) {
|
|
|
86
76
|
}
|
|
87
77
|
return "";
|
|
88
78
|
}
|
|
89
|
-
|
|
90
|
-
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.js
|
|
79
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.js
|
|
91
80
|
var A = /[\\^$.*+?()[\]{}|]/g, j = /^\[object .+?Constructor\]$/, M = Function.prototype, N = Object.prototype, P = M.toString, F = N.hasOwnProperty, I = RegExp("^" + P.call(F).replace(A, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
|
|
92
81
|
function L(e) {
|
|
93
82
|
return !x(e) || D(e) ? !1 : (w(e) ? I : j).test(k(e));
|
|
94
83
|
}
|
|
95
|
-
|
|
96
|
-
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getValue.js
|
|
84
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getValue.js
|
|
97
85
|
function R(e, t) {
|
|
98
86
|
return e?.[t];
|
|
99
87
|
}
|
|
100
|
-
|
|
101
|
-
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js
|
|
88
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js
|
|
102
89
|
function z(e, t) {
|
|
103
90
|
var n = R(e, t);
|
|
104
91
|
return L(n) ? n : void 0;
|
|
105
92
|
}
|
|
106
|
-
|
|
107
|
-
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/eq.js
|
|
93
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/eq.js
|
|
108
94
|
function B(e, t) {
|
|
109
95
|
return e === t || e !== e && t !== t;
|
|
110
96
|
}
|
|
111
|
-
|
|
112
|
-
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeCreate.js
|
|
97
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeCreate.js
|
|
113
98
|
var V = z(Object, "create");
|
|
114
|
-
|
|
115
|
-
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashClear.js
|
|
99
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashClear.js
|
|
116
100
|
function H() {
|
|
117
101
|
this.__data__ = V ? V(null) : {}, this.size = 0;
|
|
118
102
|
}
|
|
119
|
-
|
|
120
|
-
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashDelete.js
|
|
103
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashDelete.js
|
|
121
104
|
function U(e) {
|
|
122
105
|
var t = this.has(e) && delete this.__data__[e];
|
|
123
106
|
return this.size -= +!!t, t;
|
|
124
107
|
}
|
|
125
|
-
|
|
126
|
-
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashGet.js
|
|
108
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashGet.js
|
|
127
109
|
var W = "__lodash_hash_undefined__", G = Object.prototype.hasOwnProperty;
|
|
128
110
|
function oe(e) {
|
|
129
111
|
var t = this.__data__;
|
|
@@ -133,22 +115,19 @@ function oe(e) {
|
|
|
133
115
|
}
|
|
134
116
|
return G.call(t, e) ? t[e] : void 0;
|
|
135
117
|
}
|
|
136
|
-
|
|
137
|
-
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashHas.js
|
|
118
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashHas.js
|
|
138
119
|
var K = Object.prototype.hasOwnProperty;
|
|
139
120
|
function q(e) {
|
|
140
121
|
var t = this.__data__;
|
|
141
122
|
return V ? t[e] !== void 0 : K.call(t, e);
|
|
142
123
|
}
|
|
143
|
-
|
|
144
|
-
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashSet.js
|
|
124
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashSet.js
|
|
145
125
|
var se = "__lodash_hash_undefined__";
|
|
146
126
|
function ce(e, t) {
|
|
147
127
|
var n = this.__data__;
|
|
148
128
|
return this.size += +!this.has(e), n[e] = V && t === void 0 ? se : t, this;
|
|
149
129
|
}
|
|
150
|
-
|
|
151
|
-
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Hash.js
|
|
130
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Hash.js
|
|
152
131
|
function J(e) {
|
|
153
132
|
var t = -1, n = e == null ? 0 : e.length;
|
|
154
133
|
for (this.clear(); ++t < n;) {
|
|
@@ -157,43 +136,36 @@ function J(e) {
|
|
|
157
136
|
}
|
|
158
137
|
}
|
|
159
138
|
J.prototype.clear = H, J.prototype.delete = U, J.prototype.get = oe, J.prototype.has = q, J.prototype.set = ce;
|
|
160
|
-
|
|
161
|
-
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheClear.js
|
|
139
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheClear.js
|
|
162
140
|
function le() {
|
|
163
141
|
this.__data__ = [], this.size = 0;
|
|
164
142
|
}
|
|
165
|
-
|
|
166
|
-
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_assocIndexOf.js
|
|
143
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_assocIndexOf.js
|
|
167
144
|
function Y(e, t) {
|
|
168
145
|
for (var n = e.length; n--;) if (B(e[n][0], t)) return n;
|
|
169
146
|
return -1;
|
|
170
147
|
}
|
|
171
|
-
|
|
172
|
-
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheDelete.js
|
|
148
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheDelete.js
|
|
173
149
|
var ue = Array.prototype.splice;
|
|
174
150
|
function de(e) {
|
|
175
151
|
var t = this.__data__, n = Y(t, e);
|
|
176
152
|
return n < 0 ? !1 : (n == t.length - 1 ? t.pop() : ue.call(t, n, 1), --this.size, !0);
|
|
177
153
|
}
|
|
178
|
-
|
|
179
|
-
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheGet.js
|
|
154
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheGet.js
|
|
180
155
|
function fe(e) {
|
|
181
156
|
var t = this.__data__, n = Y(t, e);
|
|
182
157
|
return n < 0 ? void 0 : t[n][1];
|
|
183
158
|
}
|
|
184
|
-
|
|
185
|
-
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheHas.js
|
|
159
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheHas.js
|
|
186
160
|
function pe(e) {
|
|
187
161
|
return Y(this.__data__, e) > -1;
|
|
188
162
|
}
|
|
189
|
-
|
|
190
|
-
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheSet.js
|
|
163
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheSet.js
|
|
191
164
|
function me(e, t) {
|
|
192
165
|
var n = this.__data__, r = Y(n, e);
|
|
193
166
|
return r < 0 ? (++this.size, n.push([e, t])) : n[r][1] = t, this;
|
|
194
167
|
}
|
|
195
|
-
|
|
196
|
-
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_ListCache.js
|
|
168
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_ListCache.js
|
|
197
169
|
function X(e) {
|
|
198
170
|
var t = -1, n = e == null ? 0 : e.length;
|
|
199
171
|
for (this.clear(); ++t < n;) {
|
|
@@ -202,11 +174,9 @@ function X(e) {
|
|
|
202
174
|
}
|
|
203
175
|
}
|
|
204
176
|
X.prototype.clear = le, X.prototype.delete = de, X.prototype.get = fe, X.prototype.has = pe, X.prototype.set = me;
|
|
205
|
-
|
|
206
|
-
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Map.js
|
|
177
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Map.js
|
|
207
178
|
var he = z(r, "Map");
|
|
208
|
-
|
|
209
|
-
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheClear.js
|
|
179
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheClear.js
|
|
210
180
|
function Z() {
|
|
211
181
|
this.size = 0, this.__data__ = {
|
|
212
182
|
hash: new J(),
|
|
@@ -214,42 +184,35 @@ function Z() {
|
|
|
214
184
|
string: new J()
|
|
215
185
|
};
|
|
216
186
|
}
|
|
217
|
-
|
|
218
|
-
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isKeyable.js
|
|
187
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isKeyable.js
|
|
219
188
|
function ge(e) {
|
|
220
189
|
var t = typeof e;
|
|
221
190
|
return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
|
|
222
191
|
}
|
|
223
|
-
|
|
224
|
-
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getMapData.js
|
|
192
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getMapData.js
|
|
225
193
|
function Q(e, t) {
|
|
226
194
|
var n = e.__data__;
|
|
227
195
|
return ge(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
|
|
228
196
|
}
|
|
229
|
-
|
|
230
|
-
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheDelete.js
|
|
197
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheDelete.js
|
|
231
198
|
function _e(e) {
|
|
232
199
|
var t = Q(this, e).delete(e);
|
|
233
200
|
return this.size -= +!!t, t;
|
|
234
201
|
}
|
|
235
|
-
|
|
236
|
-
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheGet.js
|
|
202
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheGet.js
|
|
237
203
|
function ve(e) {
|
|
238
204
|
return Q(this, e).get(e);
|
|
239
205
|
}
|
|
240
|
-
|
|
241
|
-
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheHas.js
|
|
206
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheHas.js
|
|
242
207
|
function ye(e) {
|
|
243
208
|
return Q(this, e).has(e);
|
|
244
209
|
}
|
|
245
|
-
|
|
246
|
-
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheSet.js
|
|
210
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheSet.js
|
|
247
211
|
function be(e, t) {
|
|
248
212
|
var n = Q(this, e), r = n.size;
|
|
249
213
|
return n.set(e, t), this.size += n.size == r ? 0 : 1, this;
|
|
250
214
|
}
|
|
251
|
-
|
|
252
|
-
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_MapCache.js
|
|
215
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_MapCache.js
|
|
253
216
|
function $(e) {
|
|
254
217
|
var t = -1, n = e == null ? 0 : e.length;
|
|
255
218
|
for (this.clear(); ++t < n;) {
|
|
@@ -258,10 +221,8 @@ function $(e) {
|
|
|
258
221
|
}
|
|
259
222
|
}
|
|
260
223
|
$.prototype.clear = Z, $.prototype.delete = _e, $.prototype.get = ve, $.prototype.has = ye, $.prototype.set = be;
|
|
261
|
-
|
|
262
|
-
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/toString.js
|
|
224
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/toString.js
|
|
263
225
|
function xe(e) {
|
|
264
226
|
return e == null ? "" : b(e);
|
|
265
227
|
}
|
|
266
|
-
//#endregion
|
|
267
228
|
export { g as a, f as c, w as i, r as l, $ as n, h as o, z as r, m as s, xe as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/utils/urlJoin.ts
|
|
2
2
|
var e = /^(\w+:\/\/[^/?]+)?(.*?)$/, t = (e) => e.filter((e) => typeof e == "string" || typeof e == "number").map((e) => `${e}`).filter((e) => e), n = (t) => {
|
|
3
3
|
let [, n = "", r = ""] = t.join("/").match(e) || [];
|
|
4
4
|
return {
|
|
@@ -20,5 +20,4 @@ var e = /^(\w+:\/\/[^/?]+)?(.*?)$/, t = (e) => e.filter((e) => typeof e == "stri
|
|
|
20
20
|
...a
|
|
21
21
|
}, e = t(e), r(n(e), a);
|
|
22
22
|
};
|
|
23
|
-
//#endregion
|
|
24
23
|
export { i as t };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { n as ActivitiesApi, r as ActivitiesApiAxiosParamCreator, i as ActivitiesApiFactory, a as ActivitiesApiFp, o as ApplicationsApi, s as ApplicationsApiAxiosParamCreator, c as ApplicationsApiFactory, l as ApplicationsApiFp, u as BucketDefinitionSortByEnum, t as Configuration, d as CreateChildDriveItemAtLibreGraphConflictBehaviorEnum, f as CreateChildDriveItemAtLibreGraphMissingParentsBehaviorEnum, p as CreateDriveItemAtLibreGraphConflictBehaviorEnum, m as CreateDriveItemAtLibreGraphMissingParentsBehaviorEnum, h as DriveItemApi, g as DriveItemApiAxiosParamCreator, _ as DriveItemApiFactory, v as DriveItemApiFp, y as DriveItemAtLibreGraphShareTypesEnum, b as DrivesApi, x as DrivesApiAxiosParamCreator, S as DrivesApiFactory, C as DrivesApiFp, w as DrivesGetDrivesApi, T as DrivesGetDrivesApiAxiosParamCreator, E as DrivesGetDrivesApiFactory, D as DrivesGetDrivesApiFp, O as DrivesPermissionsApi, k as DrivesPermissionsApiAxiosParamCreator, A as DrivesPermissionsApiFactory, j as DrivesPermissionsApiFp, M as DrivesRootApi, N as DrivesRootApiAxiosParamCreator, P as DrivesRootApiFactory, F as DrivesRootApiFp, I as EducationClassApi, L as EducationClassApiAxiosParamCreator, R as EducationClassApiFactory, z as EducationClassApiFp, B as EducationClassClassificationEnum, V as EducationClassTeachersApi, H as EducationClassTeachersApiAxiosParamCreator, U as EducationClassTeachersApiFactory, W as EducationClassTeachersApiFp, G as EducationSchoolApi, K as EducationSchoolApiAxiosParamCreator, q as EducationSchoolApiFactory, J as EducationSchoolApiFp, Y as EducationUserApi, X as EducationUserApiAxiosParamCreator, Z as EducationUserApiFactory, Q as EducationUserApiFp, $ as GetDriveItemChildrenSelectEnum, et as GetDriveItemExpandEnum, tt as GetDriveItemSelectEnum, nt as GetDriveItemV1ExpandEnum, rt as GetDriveItemV1SelectEnum, it as GetDriveSelectEnum, at as GetEducationUserExpandEnum, ot as GetGroupExpandEnum, st as GetGroupSelectEnum, ct as GetOwnUserExpandEnum, lt as GetRootExpandEnum, ut as GetRootSelectEnum, dt as GetUserExpandEnum, ft as GetUserSelectEnum, pt as GroupApi, mt as GroupApiAxiosParamCreator, ht as GroupApiFactory, gt as GroupApiFp, _t as GroupsApi, vt as GroupsApiAxiosParamCreator, yt as GroupsApiFactory, bt as GroupsApiFp, xt as GuestLinkErrorErrorTypeEnum, St as GuestLinksApi, Ct as GuestLinksApiAxiosParamCreator, wt as GuestLinksApiFactory, Tt as GuestLinksApiFp, Et as HomeGetChildrenSelectEnum, Dt as HomeGetRootExpandEnum, Ot as HomeGetRootSelectEnum, kt as InvitationsApi, At as InvitationsApiAxiosParamCreator, jt as InvitationsApiFactory, Mt as InvitationsApiFp, Nt as ListAllDrivesBetaSelectEnum, Pt as ListEducationUsersExpandEnum, Ft as ListEducationUsersOrderbyEnum, It as ListGroupsExpandEnum, Lt as ListGroupsOrderbyEnum, Rt as ListGroupsSelectEnum, zt as ListMyDrivesBetaSelectEnum, Bt as ListPermissionsSelectEnum, Vt as ListPermissionsSpaceRootSelectEnum, Ht as ListSharedByMeExpandEnum, Ut as ListSharedWithMeExpandEnum, Wt as ListUsersExpandEnum, Gt as ListUsersOrderbyEnum, Kt as ListUsersSelectEnum, qt as LockInfoLockTypeEnum, Jt as MeChangepasswordApi, Yt as MeChangepasswordApiAxiosParamCreator, Xt as MeChangepasswordApiFactory, Zt as MeChangepasswordApiFp, Qt as MeDriveApi, $t as MeDriveApiAxiosParamCreator, en as MeDriveApiFactory, tn as MeDriveApiFp, nn as MeDriveRootApi, rn as MeDriveRootApiAxiosParamCreator, in as MeDriveRootApiFactory, an as MeDriveRootApiFp, on as MeDriveRootChildrenApi, sn as MeDriveRootChildrenApiAxiosParamCreator, cn as MeDriveRootChildrenApiFactory, ln as MeDriveRootChildrenApiFp, un as MeDrivesApi, dn as MeDrivesApiAxiosParamCreator, fn as MeDrivesApiFactory, pn as MeDrivesApiFp, mn as MePhotoApi, hn as MePhotoApiAxiosParamCreator, gn as MePhotoApiFactory, _n as MePhotoApiFp, vn as MeUserApi, yn as MeUserApiAxiosParamCreator, bn as MeUserApiFactory, xn as MeUserApiFp, Sn as MetricDefinitionKindEnum, Cn as RoleManagementApi, wn as RoleManagementApiAxiosParamCreator, Tn as RoleManagementApiFactory, En as RoleManagementApiFp, Dn as SearchApi, On as SearchApiAxiosParamCreator, kn as SearchApiFactory, An as SearchApiFp, jn as SearchMetricKindEnum, Mn as SearchQueryExpandEnum, Nn as SearchRequestEntityTypesEnum, Pn as SharingLinkType, Fn as TagsApi, In as TagsApiAxiosParamCreator, Ln as TagsApiFactory, Rn as TagsApiFp, zn as UserApi, Bn as UserApiAxiosParamCreator, Vn as UserApiFactory, Hn as UserApiFp, Un as UserAppRoleAssignmentApi, Wn as UserAppRoleAssignmentApiAxiosParamCreator, Gn as UserAppRoleAssignmentApiFactory, Kn as UserAppRoleAssignmentApiFp, qn as UserPhotoApi, Jn as UserPhotoApiAxiosParamCreator, Yn as UserPhotoApiFactory, Xn as UserPhotoApiFp, Zn as UserTeamworkApi, Qn as UserTeamworkApiAxiosParamCreator, $n as UserTeamworkApiFactory, er as UserTeamworkApiFp, tr as UsersApi, nr as UsersApiAxiosParamCreator, rr as UsersApiFactory, ir as UsersApiFp } from "../../generated-
|
|
1
|
+
export { n as ActivitiesApi, r as ActivitiesApiAxiosParamCreator, i as ActivitiesApiFactory, a as ActivitiesApiFp, o as ApplicationsApi, s as ApplicationsApiAxiosParamCreator, c as ApplicationsApiFactory, l as ApplicationsApiFp, u as BucketDefinitionSortByEnum, t as Configuration, d as CreateChildDriveItemAtLibreGraphConflictBehaviorEnum, f as CreateChildDriveItemAtLibreGraphMissingParentsBehaviorEnum, p as CreateDriveItemAtLibreGraphConflictBehaviorEnum, m as CreateDriveItemAtLibreGraphMissingParentsBehaviorEnum, h as DriveItemApi, g as DriveItemApiAxiosParamCreator, _ as DriveItemApiFactory, v as DriveItemApiFp, y as DriveItemAtLibreGraphShareTypesEnum, b as DrivesApi, x as DrivesApiAxiosParamCreator, S as DrivesApiFactory, C as DrivesApiFp, w as DrivesGetDrivesApi, T as DrivesGetDrivesApiAxiosParamCreator, E as DrivesGetDrivesApiFactory, D as DrivesGetDrivesApiFp, O as DrivesPermissionsApi, k as DrivesPermissionsApiAxiosParamCreator, A as DrivesPermissionsApiFactory, j as DrivesPermissionsApiFp, M as DrivesRootApi, N as DrivesRootApiAxiosParamCreator, P as DrivesRootApiFactory, F as DrivesRootApiFp, I as EducationClassApi, L as EducationClassApiAxiosParamCreator, R as EducationClassApiFactory, z as EducationClassApiFp, B as EducationClassClassificationEnum, V as EducationClassTeachersApi, H as EducationClassTeachersApiAxiosParamCreator, U as EducationClassTeachersApiFactory, W as EducationClassTeachersApiFp, G as EducationSchoolApi, K as EducationSchoolApiAxiosParamCreator, q as EducationSchoolApiFactory, J as EducationSchoolApiFp, Y as EducationUserApi, X as EducationUserApiAxiosParamCreator, Z as EducationUserApiFactory, Q as EducationUserApiFp, $ as GetDriveItemChildrenSelectEnum, et as GetDriveItemExpandEnum, tt as GetDriveItemSelectEnum, nt as GetDriveItemV1ExpandEnum, rt as GetDriveItemV1SelectEnum, it as GetDriveSelectEnum, at as GetEducationUserExpandEnum, ot as GetGroupExpandEnum, st as GetGroupSelectEnum, ct as GetOwnUserExpandEnum, lt as GetRootExpandEnum, ut as GetRootSelectEnum, dt as GetUserExpandEnum, ft as GetUserSelectEnum, pt as GroupApi, mt as GroupApiAxiosParamCreator, ht as GroupApiFactory, gt as GroupApiFp, _t as GroupsApi, vt as GroupsApiAxiosParamCreator, yt as GroupsApiFactory, bt as GroupsApiFp, xt as GuestLinkErrorErrorTypeEnum, St as GuestLinksApi, Ct as GuestLinksApiAxiosParamCreator, wt as GuestLinksApiFactory, Tt as GuestLinksApiFp, Et as HomeGetChildrenSelectEnum, Dt as HomeGetRootExpandEnum, Ot as HomeGetRootSelectEnum, kt as InvitationsApi, At as InvitationsApiAxiosParamCreator, jt as InvitationsApiFactory, Mt as InvitationsApiFp, Nt as ListAllDrivesBetaSelectEnum, Pt as ListEducationUsersExpandEnum, Ft as ListEducationUsersOrderbyEnum, It as ListGroupsExpandEnum, Lt as ListGroupsOrderbyEnum, Rt as ListGroupsSelectEnum, zt as ListMyDrivesBetaSelectEnum, Bt as ListPermissionsSelectEnum, Vt as ListPermissionsSpaceRootSelectEnum, Ht as ListSharedByMeExpandEnum, Ut as ListSharedWithMeExpandEnum, Wt as ListUsersExpandEnum, Gt as ListUsersOrderbyEnum, Kt as ListUsersSelectEnum, qt as LockInfoLockTypeEnum, Jt as MeChangepasswordApi, Yt as MeChangepasswordApiAxiosParamCreator, Xt as MeChangepasswordApiFactory, Zt as MeChangepasswordApiFp, Qt as MeDriveApi, $t as MeDriveApiAxiosParamCreator, en as MeDriveApiFactory, tn as MeDriveApiFp, nn as MeDriveRootApi, rn as MeDriveRootApiAxiosParamCreator, in as MeDriveRootApiFactory, an as MeDriveRootApiFp, on as MeDriveRootChildrenApi, sn as MeDriveRootChildrenApiAxiosParamCreator, cn as MeDriveRootChildrenApiFactory, ln as MeDriveRootChildrenApiFp, un as MeDrivesApi, dn as MeDrivesApiAxiosParamCreator, fn as MeDrivesApiFactory, pn as MeDrivesApiFp, mn as MePhotoApi, hn as MePhotoApiAxiosParamCreator, gn as MePhotoApiFactory, _n as MePhotoApiFp, vn as MeUserApi, yn as MeUserApiAxiosParamCreator, bn as MeUserApiFactory, xn as MeUserApiFp, Sn as MetricDefinitionKindEnum, Cn as RoleManagementApi, wn as RoleManagementApiAxiosParamCreator, Tn as RoleManagementApiFactory, En as RoleManagementApiFp, Dn as SearchApi, On as SearchApiAxiosParamCreator, kn as SearchApiFactory, An as SearchApiFp, jn as SearchMetricKindEnum, Mn as SearchQueryExpandEnum, Nn as SearchRequestEntityTypesEnum, Pn as SharingLinkType, Fn as TagsApi, In as TagsApiAxiosParamCreator, Ln as TagsApiFactory, Rn as TagsApiFp, zn as UserApi, Bn as UserApiAxiosParamCreator, Vn as UserApiFactory, Hn as UserApiFp, Un as UserAppRoleAssignmentApi, Wn as UserAppRoleAssignmentApiAxiosParamCreator, Gn as UserAppRoleAssignmentApiFactory, Kn as UserAppRoleAssignmentApiFp, qn as UserPhotoApi, Jn as UserPhotoApiAxiosParamCreator, Yn as UserPhotoApiFactory, Xn as UserPhotoApiFp, Zn as UserTeamworkApi, Qn as UserTeamworkApiAxiosParamCreator, $n as UserTeamworkApiFactory, er as UserTeamworkApiFp, tr as UsersApi, nr as UsersApiAxiosParamCreator, rr as UsersApiFactory, ir as UsersApiFp } from "../../generated-DNXECX0W.js";
|
package/dist/web-client/graph.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as graph } from "../graph-
|
|
1
|
+
export { t as graph } from "../graph-BKQg17FE.js";
|
package/dist/web-client/ocs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { o as GetCapabilitiesFactory, t as ocs } from "../ocs-
|
|
1
|
+
export { o as GetCapabilitiesFactory, t as ocs } from "../ocs-BPMytNew.js";
|
package/dist/web-client/ox.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as e } from "../urlJoin-
|
|
2
|
-
import { a as t, i as n, n as r, o as i, r as a, t as o } from "../schemas-
|
|
3
|
-
|
|
1
|
+
import { t as e } from "../urlJoin-ELOJmfWG.js";
|
|
2
|
+
import { a as t, i as n, n as r, o as i, r as a, t as o } from "../schemas-F0EHDbLA.js";
|
|
3
|
+
// src/ox/types.ts
|
|
4
4
|
var s = n({
|
|
5
5
|
id: t(),
|
|
6
6
|
displayName: t(),
|
|
@@ -45,5 +45,4 @@ var s = n({
|
|
|
45
45
|
})), await t.post(e(c, "mail", "compose", d.id, "send"), p, { signal: s });
|
|
46
46
|
}
|
|
47
47
|
});
|
|
48
|
-
//#endregion
|
|
49
48
|
export { s as ContactSchema, c as OxAutocompleteResponseSchema, l as OxComposeSpaceResponseSchema, d as ox };
|
package/dist/web-client/sse.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as e, i as t, n } from "../schemas-
|
|
2
|
-
|
|
1
|
+
import { a as e, i as t, n } from "../schemas-F0EHDbLA.js";
|
|
2
|
+
// ../../node_modules/.pnpm/@microsoft+fetch-event-source@2.0.1/node_modules/@microsoft/fetch-event-source/lib/esm/parse.js
|
|
3
3
|
async function r(e, t) {
|
|
4
4
|
let n = e.getReader(), r;
|
|
5
5
|
for (; !(r = await n.read()).done;) t(r.value);
|
|
@@ -60,8 +60,7 @@ function s() {
|
|
|
60
60
|
retry: void 0
|
|
61
61
|
};
|
|
62
62
|
}
|
|
63
|
-
|
|
64
|
-
//#region ../../node_modules/.pnpm/@microsoft+fetch-event-source@2.0.1/node_modules/@microsoft/fetch-event-source/lib/esm/fetch.js
|
|
63
|
+
// ../../node_modules/.pnpm/@microsoft+fetch-event-source@2.0.1/node_modules/@microsoft/fetch-event-source/lib/esm/fetch.js
|
|
65
64
|
var c = function(e, t) {
|
|
66
65
|
var n = {};
|
|
67
66
|
for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
@@ -123,8 +122,7 @@ function p(e) {
|
|
|
123
122
|
let t = e.headers.get("content-type");
|
|
124
123
|
if (!t?.startsWith("text/event-stream")) throw Error(`Expected content-type to be ${l}, Actual: ${t}`);
|
|
125
124
|
}
|
|
126
|
-
|
|
127
|
-
//#region src/sse/index.ts
|
|
125
|
+
// src/sse/index.ts
|
|
128
126
|
var m = t({
|
|
129
127
|
itemid: e().optional(),
|
|
130
128
|
parentitemid: e().optional(),
|
|
@@ -206,5 +204,4 @@ var m = t({
|
|
|
206
204
|
}, y = null, b = (e, t) => (y ||= new v(new URL("ocs/v2.php/apps/notifications/api/v1/notifications/sse", e).href, t), y), x = () => {
|
|
207
205
|
y &&= (y.close(), null);
|
|
208
206
|
};
|
|
209
|
-
//#endregion
|
|
210
207
|
export { h as MESSAGE_TYPE, g as RetriableError, v as SSEAdapter, x as resetSSE, b as sse, m as sseEventSchema };
|
|
@@ -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, q as a } from "../helpers-
|
|
1
|
+
import { t as e } from "../webdav-BByRDKI2.js";
|
|
2
|
+
import { G as t, K as n, U as r, W as i, q as a } from "../helpers-BnhEi-vU.js";
|
|
3
3
|
export { r as DavMethod, i as DavNamespaces, t as DavPermission, n as DavProperties, a as DavProperty, e as webdav };
|