@opencloud-eu/web-client 8.0.0 → 8.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-ULsDSF3p.js → axios-CiL7Z3dm.js} +2 -2
- package/dist/{dist-WdVfmT0d.js → dist-p2k0FYjB.js} +1 -1
- package/dist/{generated-CkfYRFme.js → generated-5SvS30Rr.js} +350 -324
- package/dist/{graph-D3q1149Y.js → graph-u53S3WT9.js} +92 -92
- package/dist/{helpers-C_9em2wB.js → helpers-CrYtf7Ol.js} +3 -3
- package/dist/{ocs-CGD-4vGl.js → ocs-CDSkdguM.js} +149 -149
- package/dist/{ox-D1FgExd1.js → schemas-BlxXwTjV.js} +1375 -1265
- package/dist/src/graph/generated/api.d.ts +112 -24
- package/dist/src/helpers/resource/types.d.ts +1 -1
- package/dist/src/sse/index.d.ts +12 -0
- package/dist/{toString-DfgrQ1mh.js → toString-CVetDRwx.js} +1 -1
- 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 +49 -2
- package/dist/web-client/sse.js +57 -48
- package/dist/web-client/webdav.js +2 -2
- package/dist/web-client.js +5 -5
- package/dist/webdav-BdeuuZHv.js +6422 -0
- package/package.json +3 -3
- package/dist/webdav-BxsiETq0.js +0 -4538
|
@@ -437,6 +437,7 @@ export interface DriveItem {
|
|
|
437
437
|
'video'?: Video;
|
|
438
438
|
'@libre.graph.motionPhoto'?: MotionPhoto;
|
|
439
439
|
'@libre.graph.livePhoto'?: LivePhoto;
|
|
440
|
+
'lockInfo'?: LockInfo;
|
|
440
441
|
/**
|
|
441
442
|
* Indicates if the item is synchronized with the underlying storage provider. Read-only.
|
|
442
443
|
*/
|
|
@@ -461,7 +462,18 @@ export interface DriveItem {
|
|
|
461
462
|
* A list of actions the caller is allowed to perform on this item. Only returned when explicitly requested via `$select` on endpoints that support it. Mirrors the annotation of the same name on the `/permissions` endpoint, allowing clients to learn a caller\'s effective actions on an item without a separate round-trip.
|
|
462
463
|
*/
|
|
463
464
|
'@libre.graph.permissions.actions.allowedValues'?: Array<string>;
|
|
465
|
+
/**
|
|
466
|
+
* The types of shares existing on this item, aggregated over all of its grants. Absent or empty if the item is not shared. This is a summary of the item\'s `permissions` collection. For the full grants use the permissions endpoints, for the caller\'s own capabilities use `@libre.graph.permissions.actions.allowedValues`. Only returned when explicitly requested via `$select`.
|
|
467
|
+
*/
|
|
468
|
+
'@libre.graph.shareTypes'?: Array<DriveItemAtLibreGraphShareTypesEnum>;
|
|
464
469
|
}
|
|
470
|
+
export declare const DriveItemAtLibreGraphShareTypesEnum: {
|
|
471
|
+
readonly User: "user";
|
|
472
|
+
readonly Group: "group";
|
|
473
|
+
readonly Link: "link";
|
|
474
|
+
readonly Remote: "remote";
|
|
475
|
+
};
|
|
476
|
+
export type DriveItemAtLibreGraphShareTypesEnum = typeof DriveItemAtLibreGraphShareTypesEnum[keyof typeof DriveItemAtLibreGraphShareTypesEnum];
|
|
465
477
|
export interface DriveItemCreateLink {
|
|
466
478
|
'type'?: SharingLinkType;
|
|
467
479
|
/**
|
|
@@ -503,6 +515,10 @@ export interface DriveItemInvite {
|
|
|
503
515
|
* Represents a person, group, or other recipient to share a drive item with using the invite action. When using invite to add permissions, the `driveRecipient` object would specify the `email`, `alias`, or `objectId` of the recipient. Only one of these values is required; multiple values are not accepted.
|
|
504
516
|
*/
|
|
505
517
|
export interface DriveRecipient {
|
|
518
|
+
/**
|
|
519
|
+
* The email address for the recipient, if the recipient has an associated email address.
|
|
520
|
+
*/
|
|
521
|
+
'email'?: string;
|
|
506
522
|
/**
|
|
507
523
|
* The unique identifier for the recipient in the directory.
|
|
508
524
|
*/
|
|
@@ -962,6 +978,36 @@ export interface LivePhoto {
|
|
|
962
978
|
*/
|
|
963
979
|
'vitalityScoringVersion'?: number;
|
|
964
980
|
}
|
|
981
|
+
/**
|
|
982
|
+
* Read-only lock metadata for a file, matching the MS Graph beta lockInfo resource. Indicates whether the file is locked, the kind of lock, when it was created, when it expires and who holds it.
|
|
983
|
+
*/
|
|
984
|
+
export interface LockInfo {
|
|
985
|
+
/**
|
|
986
|
+
* The type of lock currently held on the file. OpenCloud currently only issues exclusive locks, same as MS Graph, even if it defines more. Read-only.
|
|
987
|
+
*/
|
|
988
|
+
'lockType'?: LockInfoLockTypeEnum;
|
|
989
|
+
/**
|
|
990
|
+
* The date and time when the lock was created, in UTC. Read-only.
|
|
991
|
+
*/
|
|
992
|
+
'createdDateTime'?: string;
|
|
993
|
+
/**
|
|
994
|
+
* The date and time when the lock expires, in UTC. Read-only.
|
|
995
|
+
*/
|
|
996
|
+
'expirationDateTime'?: string;
|
|
997
|
+
/**
|
|
998
|
+
* The collection of users that currently hold the lock on the file. Read-only.
|
|
999
|
+
*/
|
|
1000
|
+
'owners'?: Array<Identity>;
|
|
1001
|
+
/**
|
|
1002
|
+
* Name of the application holding the lock, for example an office application. Not part of MS Graph. Read-only.
|
|
1003
|
+
*/
|
|
1004
|
+
'@libre.graph.appName'?: string;
|
|
1005
|
+
}
|
|
1006
|
+
export declare const LockInfoLockTypeEnum: {
|
|
1007
|
+
readonly None: "none";
|
|
1008
|
+
readonly Exclusive: "exclusive";
|
|
1009
|
+
};
|
|
1010
|
+
export type LockInfoLockTypeEnum = typeof LockInfoLockTypeEnum[keyof typeof LockInfoLockTypeEnum];
|
|
965
1011
|
export interface MemberReference {
|
|
966
1012
|
'@odata.id'?: string;
|
|
967
1013
|
}
|
|
@@ -1718,15 +1764,16 @@ export declare const DriveItemApiAxiosParamCreator: (configuration?: Configurati
|
|
|
1718
1764
|
*/
|
|
1719
1765
|
deleteDriveItem: (driveId: string, itemId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1720
1766
|
/**
|
|
1721
|
-
* Get a DriveItem by using its ID.
|
|
1767
|
+
* Get a DriveItem by using its ID. This endpoint also accepts the MS Graph colon-syntax URL forms: GET /v1beta1/drives/{drive-id}/root:/{path} GET /v1beta1/drives/{drive-id}/items/{item-id}:/{path} OpenAPI cannot express the colon-delimited path segment, so these URL forms are not represented as separate operations in this specification. The server still accepts them and resolves `:/{path}` as the item to return. A trailing `:` terminator is accepted as well.
|
|
1722
1768
|
* @summary Get a DriveItem.
|
|
1723
1769
|
* @param {string} driveId key: id of drive
|
|
1724
1770
|
* @param {string} itemId key: id of item
|
|
1725
1771
|
* @param {Set<GetDriveItemSelectEnum>} [$select] Select additional properties to be returned.
|
|
1772
|
+
* @param {Set<GetDriveItemExpandEnum>} [$expand] Expand related entities to be returned.
|
|
1726
1773
|
* @param {*} [options] Override http request option.
|
|
1727
1774
|
* @throws {RequiredError}
|
|
1728
1775
|
*/
|
|
1729
|
-
getDriveItem: (driveId: string, itemId: string, $select?: Set<GetDriveItemSelectEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1776
|
+
getDriveItem: (driveId: string, itemId: string, $select?: Set<GetDriveItemSelectEnum>, $expand?: Set<GetDriveItemExpandEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1730
1777
|
/**
|
|
1731
1778
|
* List the children of the item identified by `item-id` in the drive identified by `drive-id`. The item must exist and be a folder. Modeled on the MS Graph list driveItem children endpoint (https://learn.microsoft.com/en-us/graph/api/driveitem-list-children). This endpoint also accepts the MS Graph colon-syntax URL forms: GET /v1.0/drives/{drive-id}/root:/{path}:/children GET /v1.0/drives/{drive-id}/items/{item-id}:/{path}:/children OpenAPI cannot express the colon-delimited path segment, so these URL forms are not represented as separate operations in this specification. The server still accepts them, resolves `:/{path}:` as the parent item, and lists its children.
|
|
1732
1779
|
* @summary List children of a DriveItem
|
|
@@ -1747,15 +1794,16 @@ export declare const DriveItemApiAxiosParamCreator: (configuration?: Configurati
|
|
|
1747
1794
|
*/
|
|
1748
1795
|
getDriveItemContent: (driveId: string, itemId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1749
1796
|
/**
|
|
1750
|
-
* Get a DriveItem by using its ID. Modeled on the MS Graph get driveItem endpoint (https://learn.microsoft.com/en-us/graph/api/driveitem-get).
|
|
1797
|
+
* Get a DriveItem by using its ID. Modeled on the MS Graph get driveItem endpoint (https://learn.microsoft.com/en-us/graph/api/driveitem-get). This endpoint also accepts the MS Graph colon-syntax URL forms: GET /v1.0/drives/{drive-id}/root:/{path} GET /v1.0/drives/{drive-id}/items/{item-id}:/{path} OpenAPI cannot express the colon-delimited path segment, so these URL forms are not represented as separate operations in this specification. The server still accepts them and resolves `:/{path}` as the item to return. A trailing `:` terminator is accepted as well.
|
|
1751
1798
|
* @summary Get a DriveItem.
|
|
1752
1799
|
* @param {string} driveId key: id of drive
|
|
1753
1800
|
* @param {string} itemId key: id of item
|
|
1754
1801
|
* @param {Set<GetDriveItemV1SelectEnum>} [$select] Select additional properties to be returned.
|
|
1802
|
+
* @param {Set<GetDriveItemV1ExpandEnum>} [$expand] Expand related entities to be returned.
|
|
1755
1803
|
* @param {*} [options] Override http request option.
|
|
1756
1804
|
* @throws {RequiredError}
|
|
1757
1805
|
*/
|
|
1758
|
-
getDriveItemV1: (driveId: string, itemId: string, $select?: Set<GetDriveItemV1SelectEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1806
|
+
getDriveItemV1: (driveId: string, itemId: string, $select?: Set<GetDriveItemV1SelectEnum>, $expand?: Set<GetDriveItemV1ExpandEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1759
1807
|
/**
|
|
1760
1808
|
* Update a DriveItem. The request body must include a JSON object with the properties to update. Only the properties that are provided will be updated. Currently it supports updating the following properties: * `@UI.Hidden` - Hides the item from the UI.
|
|
1761
1809
|
* @summary Update a DriveItem.
|
|
@@ -1793,15 +1841,16 @@ export declare const DriveItemApiFp: (configuration?: Configuration) => {
|
|
|
1793
1841
|
*/
|
|
1794
1842
|
deleteDriveItem(driveId: string, itemId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
1795
1843
|
/**
|
|
1796
|
-
* Get a DriveItem by using its ID.
|
|
1844
|
+
* Get a DriveItem by using its ID. This endpoint also accepts the MS Graph colon-syntax URL forms: GET /v1beta1/drives/{drive-id}/root:/{path} GET /v1beta1/drives/{drive-id}/items/{item-id}:/{path} OpenAPI cannot express the colon-delimited path segment, so these URL forms are not represented as separate operations in this specification. The server still accepts them and resolves `:/{path}` as the item to return. A trailing `:` terminator is accepted as well.
|
|
1797
1845
|
* @summary Get a DriveItem.
|
|
1798
1846
|
* @param {string} driveId key: id of drive
|
|
1799
1847
|
* @param {string} itemId key: id of item
|
|
1800
1848
|
* @param {Set<GetDriveItemSelectEnum>} [$select] Select additional properties to be returned.
|
|
1849
|
+
* @param {Set<GetDriveItemExpandEnum>} [$expand] Expand related entities to be returned.
|
|
1801
1850
|
* @param {*} [options] Override http request option.
|
|
1802
1851
|
* @throws {RequiredError}
|
|
1803
1852
|
*/
|
|
1804
|
-
getDriveItem(driveId: string, itemId: string, $select?: Set<GetDriveItemSelectEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DriveItem>>;
|
|
1853
|
+
getDriveItem(driveId: string, itemId: string, $select?: Set<GetDriveItemSelectEnum>, $expand?: Set<GetDriveItemExpandEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DriveItem>>;
|
|
1805
1854
|
/**
|
|
1806
1855
|
* List the children of the item identified by `item-id` in the drive identified by `drive-id`. The item must exist and be a folder. Modeled on the MS Graph list driveItem children endpoint (https://learn.microsoft.com/en-us/graph/api/driveitem-list-children). This endpoint also accepts the MS Graph colon-syntax URL forms: GET /v1.0/drives/{drive-id}/root:/{path}:/children GET /v1.0/drives/{drive-id}/items/{item-id}:/{path}:/children OpenAPI cannot express the colon-delimited path segment, so these URL forms are not represented as separate operations in this specification. The server still accepts them, resolves `:/{path}:` as the parent item, and lists its children.
|
|
1807
1856
|
* @summary List children of a DriveItem
|
|
@@ -1822,15 +1871,16 @@ export declare const DriveItemApiFp: (configuration?: Configuration) => {
|
|
|
1822
1871
|
*/
|
|
1823
1872
|
getDriveItemContent(driveId: string, itemId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OdataError>>;
|
|
1824
1873
|
/**
|
|
1825
|
-
* Get a DriveItem by using its ID. Modeled on the MS Graph get driveItem endpoint (https://learn.microsoft.com/en-us/graph/api/driveitem-get).
|
|
1874
|
+
* Get a DriveItem by using its ID. Modeled on the MS Graph get driveItem endpoint (https://learn.microsoft.com/en-us/graph/api/driveitem-get). This endpoint also accepts the MS Graph colon-syntax URL forms: GET /v1.0/drives/{drive-id}/root:/{path} GET /v1.0/drives/{drive-id}/items/{item-id}:/{path} OpenAPI cannot express the colon-delimited path segment, so these URL forms are not represented as separate operations in this specification. The server still accepts them and resolves `:/{path}` as the item to return. A trailing `:` terminator is accepted as well.
|
|
1826
1875
|
* @summary Get a DriveItem.
|
|
1827
1876
|
* @param {string} driveId key: id of drive
|
|
1828
1877
|
* @param {string} itemId key: id of item
|
|
1829
1878
|
* @param {Set<GetDriveItemV1SelectEnum>} [$select] Select additional properties to be returned.
|
|
1879
|
+
* @param {Set<GetDriveItemV1ExpandEnum>} [$expand] Expand related entities to be returned.
|
|
1830
1880
|
* @param {*} [options] Override http request option.
|
|
1831
1881
|
* @throws {RequiredError}
|
|
1832
1882
|
*/
|
|
1833
|
-
getDriveItemV1(driveId: string, itemId: string, $select?: Set<GetDriveItemV1SelectEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DriveItem>>;
|
|
1883
|
+
getDriveItemV1(driveId: string, itemId: string, $select?: Set<GetDriveItemV1SelectEnum>, $expand?: Set<GetDriveItemV1ExpandEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DriveItem>>;
|
|
1834
1884
|
/**
|
|
1835
1885
|
* Update a DriveItem. The request body must include a JSON object with the properties to update. Only the properties that are provided will be updated. Currently it supports updating the following properties: * `@UI.Hidden` - Hides the item from the UI.
|
|
1836
1886
|
* @summary Update a DriveItem.
|
|
@@ -1868,15 +1918,16 @@ export declare const DriveItemApiFactory: (configuration?: Configuration, basePa
|
|
|
1868
1918
|
*/
|
|
1869
1919
|
deleteDriveItem(driveId: string, itemId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1870
1920
|
/**
|
|
1871
|
-
* Get a DriveItem by using its ID.
|
|
1921
|
+
* Get a DriveItem by using its ID. This endpoint also accepts the MS Graph colon-syntax URL forms: GET /v1beta1/drives/{drive-id}/root:/{path} GET /v1beta1/drives/{drive-id}/items/{item-id}:/{path} OpenAPI cannot express the colon-delimited path segment, so these URL forms are not represented as separate operations in this specification. The server still accepts them and resolves `:/{path}` as the item to return. A trailing `:` terminator is accepted as well.
|
|
1872
1922
|
* @summary Get a DriveItem.
|
|
1873
1923
|
* @param {string} driveId key: id of drive
|
|
1874
1924
|
* @param {string} itemId key: id of item
|
|
1875
1925
|
* @param {Set<GetDriveItemSelectEnum>} [$select] Select additional properties to be returned.
|
|
1926
|
+
* @param {Set<GetDriveItemExpandEnum>} [$expand] Expand related entities to be returned.
|
|
1876
1927
|
* @param {*} [options] Override http request option.
|
|
1877
1928
|
* @throws {RequiredError}
|
|
1878
1929
|
*/
|
|
1879
|
-
getDriveItem(driveId: string, itemId: string, $select?: Set<GetDriveItemSelectEnum>, options?: RawAxiosRequestConfig): AxiosPromise<DriveItem>;
|
|
1930
|
+
getDriveItem(driveId: string, itemId: string, $select?: Set<GetDriveItemSelectEnum>, $expand?: Set<GetDriveItemExpandEnum>, options?: RawAxiosRequestConfig): AxiosPromise<DriveItem>;
|
|
1880
1931
|
/**
|
|
1881
1932
|
* List the children of the item identified by `item-id` in the drive identified by `drive-id`. The item must exist and be a folder. Modeled on the MS Graph list driveItem children endpoint (https://learn.microsoft.com/en-us/graph/api/driveitem-list-children). This endpoint also accepts the MS Graph colon-syntax URL forms: GET /v1.0/drives/{drive-id}/root:/{path}:/children GET /v1.0/drives/{drive-id}/items/{item-id}:/{path}:/children OpenAPI cannot express the colon-delimited path segment, so these URL forms are not represented as separate operations in this specification. The server still accepts them, resolves `:/{path}:` as the parent item, and lists its children.
|
|
1882
1933
|
* @summary List children of a DriveItem
|
|
@@ -1897,15 +1948,16 @@ export declare const DriveItemApiFactory: (configuration?: Configuration, basePa
|
|
|
1897
1948
|
*/
|
|
1898
1949
|
getDriveItemContent(driveId: string, itemId: string, options?: RawAxiosRequestConfig): AxiosPromise<OdataError>;
|
|
1899
1950
|
/**
|
|
1900
|
-
* Get a DriveItem by using its ID. Modeled on the MS Graph get driveItem endpoint (https://learn.microsoft.com/en-us/graph/api/driveitem-get).
|
|
1951
|
+
* Get a DriveItem by using its ID. Modeled on the MS Graph get driveItem endpoint (https://learn.microsoft.com/en-us/graph/api/driveitem-get). This endpoint also accepts the MS Graph colon-syntax URL forms: GET /v1.0/drives/{drive-id}/root:/{path} GET /v1.0/drives/{drive-id}/items/{item-id}:/{path} OpenAPI cannot express the colon-delimited path segment, so these URL forms are not represented as separate operations in this specification. The server still accepts them and resolves `:/{path}` as the item to return. A trailing `:` terminator is accepted as well.
|
|
1901
1952
|
* @summary Get a DriveItem.
|
|
1902
1953
|
* @param {string} driveId key: id of drive
|
|
1903
1954
|
* @param {string} itemId key: id of item
|
|
1904
1955
|
* @param {Set<GetDriveItemV1SelectEnum>} [$select] Select additional properties to be returned.
|
|
1956
|
+
* @param {Set<GetDriveItemV1ExpandEnum>} [$expand] Expand related entities to be returned.
|
|
1905
1957
|
* @param {*} [options] Override http request option.
|
|
1906
1958
|
* @throws {RequiredError}
|
|
1907
1959
|
*/
|
|
1908
|
-
getDriveItemV1(driveId: string, itemId: string, $select?: Set<GetDriveItemV1SelectEnum>, options?: RawAxiosRequestConfig): AxiosPromise<DriveItem>;
|
|
1960
|
+
getDriveItemV1(driveId: string, itemId: string, $select?: Set<GetDriveItemV1SelectEnum>, $expand?: Set<GetDriveItemV1ExpandEnum>, options?: RawAxiosRequestConfig): AxiosPromise<DriveItem>;
|
|
1909
1961
|
/**
|
|
1910
1962
|
* Update a DriveItem. The request body must include a JSON object with the properties to update. Only the properties that are provided will be updated. Currently it supports updating the following properties: * `@UI.Hidden` - Hides the item from the UI.
|
|
1911
1963
|
* @summary Update a DriveItem.
|
|
@@ -1943,15 +1995,16 @@ export declare class DriveItemApi extends BaseAPI {
|
|
|
1943
1995
|
*/
|
|
1944
1996
|
deleteDriveItem(driveId: string, itemId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
1945
1997
|
/**
|
|
1946
|
-
* Get a DriveItem by using its ID.
|
|
1998
|
+
* Get a DriveItem by using its ID. This endpoint also accepts the MS Graph colon-syntax URL forms: GET /v1beta1/drives/{drive-id}/root:/{path} GET /v1beta1/drives/{drive-id}/items/{item-id}:/{path} OpenAPI cannot express the colon-delimited path segment, so these URL forms are not represented as separate operations in this specification. The server still accepts them and resolves `:/{path}` as the item to return. A trailing `:` terminator is accepted as well.
|
|
1947
1999
|
* @summary Get a DriveItem.
|
|
1948
2000
|
* @param {string} driveId key: id of drive
|
|
1949
2001
|
* @param {string} itemId key: id of item
|
|
1950
2002
|
* @param {Set<GetDriveItemSelectEnum>} [$select] Select additional properties to be returned.
|
|
2003
|
+
* @param {Set<GetDriveItemExpandEnum>} [$expand] Expand related entities to be returned.
|
|
1951
2004
|
* @param {*} [options] Override http request option.
|
|
1952
2005
|
* @throws {RequiredError}
|
|
1953
2006
|
*/
|
|
1954
|
-
getDriveItem(driveId: string, itemId: string, $select?: Set<GetDriveItemSelectEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DriveItem, any, {}, any>>;
|
|
2007
|
+
getDriveItem(driveId: string, itemId: string, $select?: Set<GetDriveItemSelectEnum>, $expand?: Set<GetDriveItemExpandEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DriveItem, any, {}, any>>;
|
|
1955
2008
|
/**
|
|
1956
2009
|
* List the children of the item identified by `item-id` in the drive identified by `drive-id`. The item must exist and be a folder. Modeled on the MS Graph list driveItem children endpoint (https://learn.microsoft.com/en-us/graph/api/driveitem-list-children). This endpoint also accepts the MS Graph colon-syntax URL forms: GET /v1.0/drives/{drive-id}/root:/{path}:/children GET /v1.0/drives/{drive-id}/items/{item-id}:/{path}:/children OpenAPI cannot express the colon-delimited path segment, so these URL forms are not represented as separate operations in this specification. The server still accepts them, resolves `:/{path}:` as the parent item, and lists its children.
|
|
1957
2010
|
* @summary List children of a DriveItem
|
|
@@ -1972,15 +2025,16 @@ export declare class DriveItemApi extends BaseAPI {
|
|
|
1972
2025
|
*/
|
|
1973
2026
|
getDriveItemContent(driveId: string, itemId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OdataError, any, {}, any>>;
|
|
1974
2027
|
/**
|
|
1975
|
-
* Get a DriveItem by using its ID. Modeled on the MS Graph get driveItem endpoint (https://learn.microsoft.com/en-us/graph/api/driveitem-get).
|
|
2028
|
+
* Get a DriveItem by using its ID. Modeled on the MS Graph get driveItem endpoint (https://learn.microsoft.com/en-us/graph/api/driveitem-get). This endpoint also accepts the MS Graph colon-syntax URL forms: GET /v1.0/drives/{drive-id}/root:/{path} GET /v1.0/drives/{drive-id}/items/{item-id}:/{path} OpenAPI cannot express the colon-delimited path segment, so these URL forms are not represented as separate operations in this specification. The server still accepts them and resolves `:/{path}` as the item to return. A trailing `:` terminator is accepted as well.
|
|
1976
2029
|
* @summary Get a DriveItem.
|
|
1977
2030
|
* @param {string} driveId key: id of drive
|
|
1978
2031
|
* @param {string} itemId key: id of item
|
|
1979
2032
|
* @param {Set<GetDriveItemV1SelectEnum>} [$select] Select additional properties to be returned.
|
|
2033
|
+
* @param {Set<GetDriveItemV1ExpandEnum>} [$expand] Expand related entities to be returned.
|
|
1980
2034
|
* @param {*} [options] Override http request option.
|
|
1981
2035
|
* @throws {RequiredError}
|
|
1982
2036
|
*/
|
|
1983
|
-
getDriveItemV1(driveId: string, itemId: string, $select?: Set<GetDriveItemV1SelectEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DriveItem, any, {}, any>>;
|
|
2037
|
+
getDriveItemV1(driveId: string, itemId: string, $select?: Set<GetDriveItemV1SelectEnum>, $expand?: Set<GetDriveItemV1ExpandEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DriveItem, any, {}, any>>;
|
|
1984
2038
|
/**
|
|
1985
2039
|
* Update a DriveItem. The request body must include a JSON object with the properties to update. Only the properties that are provided will be updated. Currently it supports updating the following properties: * `@UI.Hidden` - Hides the item from the UI.
|
|
1986
2040
|
* @summary Update a DriveItem.
|
|
@@ -2005,18 +2059,31 @@ export type CreateChildDriveItemAtLibreGraphMissingParentsBehaviorEnum = typeof
|
|
|
2005
2059
|
export declare const GetDriveItemSelectEnum: {
|
|
2006
2060
|
readonly MicrosoftGraphDownloadUrl: "@microsoft.graph.downloadUrl";
|
|
2007
2061
|
readonly LibreGraphPermissionsActionsAllowedValues: "@libre.graph.permissions.actions.allowedValues";
|
|
2062
|
+
readonly LibreGraphShareTypes: "@libre.graph.shareTypes";
|
|
2008
2063
|
};
|
|
2009
2064
|
export type GetDriveItemSelectEnum = typeof GetDriveItemSelectEnum[keyof typeof GetDriveItemSelectEnum];
|
|
2065
|
+
export declare const GetDriveItemExpandEnum: {
|
|
2066
|
+
readonly Children: "children";
|
|
2067
|
+
readonly Thumbnails: "thumbnails";
|
|
2068
|
+
};
|
|
2069
|
+
export type GetDriveItemExpandEnum = typeof GetDriveItemExpandEnum[keyof typeof GetDriveItemExpandEnum];
|
|
2010
2070
|
export declare const GetDriveItemChildrenSelectEnum: {
|
|
2011
2071
|
readonly MicrosoftGraphDownloadUrl: "@microsoft.graph.downloadUrl";
|
|
2012
2072
|
readonly LibreGraphPermissionsActionsAllowedValues: "@libre.graph.permissions.actions.allowedValues";
|
|
2073
|
+
readonly LibreGraphShareTypes: "@libre.graph.shareTypes";
|
|
2013
2074
|
};
|
|
2014
2075
|
export type GetDriveItemChildrenSelectEnum = typeof GetDriveItemChildrenSelectEnum[keyof typeof GetDriveItemChildrenSelectEnum];
|
|
2015
2076
|
export declare const GetDriveItemV1SelectEnum: {
|
|
2016
2077
|
readonly MicrosoftGraphDownloadUrl: "@microsoft.graph.downloadUrl";
|
|
2017
2078
|
readonly LibreGraphPermissionsActionsAllowedValues: "@libre.graph.permissions.actions.allowedValues";
|
|
2079
|
+
readonly LibreGraphShareTypes: "@libre.graph.shareTypes";
|
|
2018
2080
|
};
|
|
2019
2081
|
export type GetDriveItemV1SelectEnum = typeof GetDriveItemV1SelectEnum[keyof typeof GetDriveItemV1SelectEnum];
|
|
2082
|
+
export declare const GetDriveItemV1ExpandEnum: {
|
|
2083
|
+
readonly Children: "children";
|
|
2084
|
+
readonly Thumbnails: "thumbnails";
|
|
2085
|
+
};
|
|
2086
|
+
export type GetDriveItemV1ExpandEnum = typeof GetDriveItemV1ExpandEnum[keyof typeof GetDriveItemV1ExpandEnum];
|
|
2020
2087
|
/**
|
|
2021
2088
|
* DrivesApi - axios parameter creator
|
|
2022
2089
|
*/
|
|
@@ -2658,10 +2725,11 @@ export declare const DrivesRootApiAxiosParamCreator: (configuration?: Configurat
|
|
|
2658
2725
|
* @summary Get root from arbitrary space
|
|
2659
2726
|
* @param {string} driveId key: id of drive
|
|
2660
2727
|
* @param {Set<GetRootSelectEnum>} [$select] Select additional properties to be returned.
|
|
2728
|
+
* @param {Set<GetRootExpandEnum>} [$expand] Expand related entities to be returned.
|
|
2661
2729
|
* @param {*} [options] Override http request option.
|
|
2662
2730
|
* @throws {RequiredError}
|
|
2663
2731
|
*/
|
|
2664
|
-
getRoot: (driveId: string, $select?: Set<GetRootSelectEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2732
|
+
getRoot: (driveId: string, $select?: Set<GetRootSelectEnum>, $expand?: Set<GetRootExpandEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2665
2733
|
/**
|
|
2666
2734
|
* Sends a sharing invitation for the root of a `drive`. A sharing invitation provides permissions to the recipients and optionally sends them an email with a sharing link. The response will be a permission object with the grantedToV2 property containing the created grant details. ## Roles property values For now, roles are only identified by a uuid. There are no hardcoded aliases like `read` or `write` because role actions can be completely customized.
|
|
2667
2735
|
* @summary Send a sharing invitation
|
|
@@ -2751,10 +2819,11 @@ export declare const DrivesRootApiFp: (configuration?: Configuration) => {
|
|
|
2751
2819
|
* @summary Get root from arbitrary space
|
|
2752
2820
|
* @param {string} driveId key: id of drive
|
|
2753
2821
|
* @param {Set<GetRootSelectEnum>} [$select] Select additional properties to be returned.
|
|
2822
|
+
* @param {Set<GetRootExpandEnum>} [$expand] Expand related entities to be returned.
|
|
2754
2823
|
* @param {*} [options] Override http request option.
|
|
2755
2824
|
* @throws {RequiredError}
|
|
2756
2825
|
*/
|
|
2757
|
-
getRoot(driveId: string, $select?: Set<GetRootSelectEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DriveItem>>;
|
|
2826
|
+
getRoot(driveId: string, $select?: Set<GetRootSelectEnum>, $expand?: Set<GetRootExpandEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DriveItem>>;
|
|
2758
2827
|
/**
|
|
2759
2828
|
* Sends a sharing invitation for the root of a `drive`. A sharing invitation provides permissions to the recipients and optionally sends them an email with a sharing link. The response will be a permission object with the grantedToV2 property containing the created grant details. ## Roles property values For now, roles are only identified by a uuid. There are no hardcoded aliases like `read` or `write` because role actions can be completely customized.
|
|
2760
2829
|
* @summary Send a sharing invitation
|
|
@@ -2844,10 +2913,11 @@ export declare const DrivesRootApiFactory: (configuration?: Configuration, baseP
|
|
|
2844
2913
|
* @summary Get root from arbitrary space
|
|
2845
2914
|
* @param {string} driveId key: id of drive
|
|
2846
2915
|
* @param {Set<GetRootSelectEnum>} [$select] Select additional properties to be returned.
|
|
2916
|
+
* @param {Set<GetRootExpandEnum>} [$expand] Expand related entities to be returned.
|
|
2847
2917
|
* @param {*} [options] Override http request option.
|
|
2848
2918
|
* @throws {RequiredError}
|
|
2849
2919
|
*/
|
|
2850
|
-
getRoot(driveId: string, $select?: Set<GetRootSelectEnum>, options?: RawAxiosRequestConfig): AxiosPromise<DriveItem>;
|
|
2920
|
+
getRoot(driveId: string, $select?: Set<GetRootSelectEnum>, $expand?: Set<GetRootExpandEnum>, options?: RawAxiosRequestConfig): AxiosPromise<DriveItem>;
|
|
2851
2921
|
/**
|
|
2852
2922
|
* Sends a sharing invitation for the root of a `drive`. A sharing invitation provides permissions to the recipients and optionally sends them an email with a sharing link. The response will be a permission object with the grantedToV2 property containing the created grant details. ## Roles property values For now, roles are only identified by a uuid. There are no hardcoded aliases like `read` or `write` because role actions can be completely customized.
|
|
2853
2923
|
* @summary Send a sharing invitation
|
|
@@ -2937,10 +3007,11 @@ export declare class DrivesRootApi extends BaseAPI {
|
|
|
2937
3007
|
* @summary Get root from arbitrary space
|
|
2938
3008
|
* @param {string} driveId key: id of drive
|
|
2939
3009
|
* @param {Set<GetRootSelectEnum>} [$select] Select additional properties to be returned.
|
|
3010
|
+
* @param {Set<GetRootExpandEnum>} [$expand] Expand related entities to be returned.
|
|
2940
3011
|
* @param {*} [options] Override http request option.
|
|
2941
3012
|
* @throws {RequiredError}
|
|
2942
3013
|
*/
|
|
2943
|
-
getRoot(driveId: string, $select?: Set<GetRootSelectEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DriveItem, any, {}, any>>;
|
|
3014
|
+
getRoot(driveId: string, $select?: Set<GetRootSelectEnum>, $expand?: Set<GetRootExpandEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DriveItem, any, {}, any>>;
|
|
2944
3015
|
/**
|
|
2945
3016
|
* Sends a sharing invitation for the root of a `drive`. A sharing invitation provides permissions to the recipients and optionally sends them an email with a sharing link. The response will be a permission object with the grantedToV2 property containing the created grant details. ## Roles property values For now, roles are only identified by a uuid. There are no hardcoded aliases like `read` or `write` because role actions can be completely customized.
|
|
2946
3017
|
* @summary Send a sharing invitation
|
|
@@ -2996,8 +3067,14 @@ export type CreateDriveItemAtLibreGraphMissingParentsBehaviorEnum = typeof Creat
|
|
|
2996
3067
|
export declare const GetRootSelectEnum: {
|
|
2997
3068
|
readonly MicrosoftGraphDownloadUrl: "@microsoft.graph.downloadUrl";
|
|
2998
3069
|
readonly LibreGraphPermissionsActionsAllowedValues: "@libre.graph.permissions.actions.allowedValues";
|
|
3070
|
+
readonly LibreGraphShareTypes: "@libre.graph.shareTypes";
|
|
2999
3071
|
};
|
|
3000
3072
|
export type GetRootSelectEnum = typeof GetRootSelectEnum[keyof typeof GetRootSelectEnum];
|
|
3073
|
+
export declare const GetRootExpandEnum: {
|
|
3074
|
+
readonly Children: "children";
|
|
3075
|
+
readonly Thumbnails: "thumbnails";
|
|
3076
|
+
};
|
|
3077
|
+
export type GetRootExpandEnum = typeof GetRootExpandEnum[keyof typeof GetRootExpandEnum];
|
|
3001
3078
|
export declare const ListPermissionsSpaceRootSelectEnum: {
|
|
3002
3079
|
readonly LibreGraphPermissionsActionsAllowedValues: "@libre.graph.permissions.actions.allowedValues";
|
|
3003
3080
|
readonly LibreGraphPermissionsRolesAllowedValues: "@libre.graph.permissions.roles.allowedValues";
|
|
@@ -4737,10 +4814,11 @@ export declare const MeDriveRootApiAxiosParamCreator: (configuration?: Configura
|
|
|
4737
4814
|
*
|
|
4738
4815
|
* @summary Get root from personal space
|
|
4739
4816
|
* @param {Set<HomeGetRootSelectEnum>} [$select] Select additional properties to be returned.
|
|
4817
|
+
* @param {Set<HomeGetRootExpandEnum>} [$expand] Expand related entities to be returned.
|
|
4740
4818
|
* @param {*} [options] Override http request option.
|
|
4741
4819
|
* @throws {RequiredError}
|
|
4742
4820
|
*/
|
|
4743
|
-
homeGetRoot: ($select?: Set<HomeGetRootSelectEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4821
|
+
homeGetRoot: ($select?: Set<HomeGetRootSelectEnum>, $expand?: Set<HomeGetRootExpandEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4744
4822
|
};
|
|
4745
4823
|
/**
|
|
4746
4824
|
* MeDriveRootApi - functional programming interface
|
|
@@ -4750,10 +4828,11 @@ export declare const MeDriveRootApiFp: (configuration?: Configuration) => {
|
|
|
4750
4828
|
*
|
|
4751
4829
|
* @summary Get root from personal space
|
|
4752
4830
|
* @param {Set<HomeGetRootSelectEnum>} [$select] Select additional properties to be returned.
|
|
4831
|
+
* @param {Set<HomeGetRootExpandEnum>} [$expand] Expand related entities to be returned.
|
|
4753
4832
|
* @param {*} [options] Override http request option.
|
|
4754
4833
|
* @throws {RequiredError}
|
|
4755
4834
|
*/
|
|
4756
|
-
homeGetRoot($select?: Set<HomeGetRootSelectEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DriveItem>>;
|
|
4835
|
+
homeGetRoot($select?: Set<HomeGetRootSelectEnum>, $expand?: Set<HomeGetRootExpandEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DriveItem>>;
|
|
4757
4836
|
};
|
|
4758
4837
|
/**
|
|
4759
4838
|
* MeDriveRootApi - factory interface
|
|
@@ -4763,10 +4842,11 @@ export declare const MeDriveRootApiFactory: (configuration?: Configuration, base
|
|
|
4763
4842
|
*
|
|
4764
4843
|
* @summary Get root from personal space
|
|
4765
4844
|
* @param {Set<HomeGetRootSelectEnum>} [$select] Select additional properties to be returned.
|
|
4845
|
+
* @param {Set<HomeGetRootExpandEnum>} [$expand] Expand related entities to be returned.
|
|
4766
4846
|
* @param {*} [options] Override http request option.
|
|
4767
4847
|
* @throws {RequiredError}
|
|
4768
4848
|
*/
|
|
4769
|
-
homeGetRoot($select?: Set<HomeGetRootSelectEnum>, options?: RawAxiosRequestConfig): AxiosPromise<DriveItem>;
|
|
4849
|
+
homeGetRoot($select?: Set<HomeGetRootSelectEnum>, $expand?: Set<HomeGetRootExpandEnum>, options?: RawAxiosRequestConfig): AxiosPromise<DriveItem>;
|
|
4770
4850
|
};
|
|
4771
4851
|
/**
|
|
4772
4852
|
* MeDriveRootApi - object-oriented interface
|
|
@@ -4776,16 +4856,23 @@ export declare class MeDriveRootApi extends BaseAPI {
|
|
|
4776
4856
|
*
|
|
4777
4857
|
* @summary Get root from personal space
|
|
4778
4858
|
* @param {Set<HomeGetRootSelectEnum>} [$select] Select additional properties to be returned.
|
|
4859
|
+
* @param {Set<HomeGetRootExpandEnum>} [$expand] Expand related entities to be returned.
|
|
4779
4860
|
* @param {*} [options] Override http request option.
|
|
4780
4861
|
* @throws {RequiredError}
|
|
4781
4862
|
*/
|
|
4782
|
-
homeGetRoot($select?: Set<HomeGetRootSelectEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DriveItem, any, {}, any>>;
|
|
4863
|
+
homeGetRoot($select?: Set<HomeGetRootSelectEnum>, $expand?: Set<HomeGetRootExpandEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DriveItem, any, {}, any>>;
|
|
4783
4864
|
}
|
|
4784
4865
|
export declare const HomeGetRootSelectEnum: {
|
|
4785
4866
|
readonly MicrosoftGraphDownloadUrl: "@microsoft.graph.downloadUrl";
|
|
4786
4867
|
readonly LibreGraphPermissionsActionsAllowedValues: "@libre.graph.permissions.actions.allowedValues";
|
|
4868
|
+
readonly LibreGraphShareTypes: "@libre.graph.shareTypes";
|
|
4787
4869
|
};
|
|
4788
4870
|
export type HomeGetRootSelectEnum = typeof HomeGetRootSelectEnum[keyof typeof HomeGetRootSelectEnum];
|
|
4871
|
+
export declare const HomeGetRootExpandEnum: {
|
|
4872
|
+
readonly Children: "children";
|
|
4873
|
+
readonly Thumbnails: "thumbnails";
|
|
4874
|
+
};
|
|
4875
|
+
export type HomeGetRootExpandEnum = typeof HomeGetRootExpandEnum[keyof typeof HomeGetRootExpandEnum];
|
|
4789
4876
|
/**
|
|
4790
4877
|
* MeDriveRootChildrenApi - axios parameter creator
|
|
4791
4878
|
*/
|
|
@@ -4841,6 +4928,7 @@ export declare class MeDriveRootChildrenApi extends BaseAPI {
|
|
|
4841
4928
|
export declare const HomeGetChildrenSelectEnum: {
|
|
4842
4929
|
readonly MicrosoftGraphDownloadUrl: "@microsoft.graph.downloadUrl";
|
|
4843
4930
|
readonly LibreGraphPermissionsActionsAllowedValues: "@libre.graph.permissions.actions.allowedValues";
|
|
4931
|
+
readonly LibreGraphShareTypes: "@libre.graph.shareTypes";
|
|
4844
4932
|
};
|
|
4845
4933
|
export type HomeGetChildrenSelectEnum = typeof HomeGetChildrenSelectEnum[keyof typeof HomeGetChildrenSelectEnum];
|
|
4846
4934
|
/**
|
|
@@ -3,7 +3,7 @@ import { Audio, GeoCoordinates, Identity, Image, MotionPhoto, Photo, User } from
|
|
|
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' | 'Language' | 'Logo' | 'PublicLink' | 'ReadOnlyPublicLinkPassword' | 'Role' | 'Setting' | 'Share';
|
|
6
|
+
export type AbilitySubjects = 'Account' | 'Announcement' | 'Drive' | 'Favorite' | '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 {
|
package/dist/src/sse/index.d.ts
CHANGED
|
@@ -1,4 +1,16 @@
|
|
|
1
1
|
import { FetchEventSourceInit } from '@microsoft/fetch-event-source';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
/** Payload of every file and space related SSE event. */
|
|
4
|
+
export declare const sseEventSchema: z.ZodObject<{
|
|
5
|
+
itemid: z.ZodOptional<z.ZodString>;
|
|
6
|
+
parentitemid: z.ZodOptional<z.ZodString>;
|
|
7
|
+
spaceid: z.ZodOptional<z.ZodString>;
|
|
8
|
+
initiatorid: z.ZodOptional<z.ZodString>;
|
|
9
|
+
etag: z.ZodOptional<z.ZodString>;
|
|
10
|
+
affecteduserids: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
11
|
+
sessionid: z.ZodOptional<z.ZodString>;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
export type SseEventData = z.infer<typeof sseEventSchema>;
|
|
2
14
|
export declare enum MESSAGE_TYPE {
|
|
3
15
|
NOTIFICATION = "userlog-notification",
|
|
4
16
|
POSTPROCESSING_FINISHED = "postprocessing-finished",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./dist-
|
|
1
|
+
import { t as e } from "./dist-p2k0FYjB.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) {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as e, $t as t, A as n, An as r, At as i, B as a,
|
|
2
|
-
export {
|
|
1
|
+
import { $ as e, $t as t, A as n, An as r, At as i, B as a, Bn as o, Bt as s, C as c, Cn as l, Ct as u, D as d, Dn as f, Dt as p, E as m, En as h, Et as g, F as _, Fn as v, Ft as y, G as b, Gt as x, H as S, Hn as C, Ht as w, I as T, In as E, It as D, J as O, Jt as k, K as A, Kt as j, L as M, Ln as N, Lt as P, M as F, Mn as I, Mt as L, N as R, Nn as z, Nt as B, O as V, On as H, Ot as U, P as W, Pn as G, Pt as K, Q as q, Qt as J, R as Y, Rn as X, Rt as Z, S as Q, Sn as $, St as ee, T as te, Tn as ne, Tt as re, U as ie, Un as ae, Ut as oe, V as se, Vn as ce, Vt as le, W as ue, Wn as de, Wt as fe, X as pe, Xt as me, Y as he, Yt as ge, Z as _e, Zt as ve, _ as ye, _n as be, _t as xe, a as Se, an as Ce, at as we, b as Te, bn as Ee, bt as De, c as Oe, cn as ke, ct as Ae, d as je, dn as Me, dt as Ne, en as Pe, et as Fe, f as Ie, fn as Le, ft as Re, g as ze, gn as Be, gt as Ve, h as He, hn as Ue, ht as We, i as Ge, in as Ke, it as qe, j as Je, jn as Ye, jt as Xe, k as Ze, kn as Qe, kt as $e, l as et, ln as tt, lt as nt, m as rt, mn as it, mt as at, n as ot, nn as st, nt as ct, o as lt, on as ut, ot as dt, p as ft, pn as pt, pt as mt, q as ht, qt as gt, r as _t, rn as vt, rt as yt, s as bt, sn as xt, st as St, t as Ct, tn as wt, tt as Tt, u as Et, un as Dt, ut as Ot, v as kt, vn as At, vt as jt, w as Mt, wn as Nt, wt as Pt, x as Ft, xn as It, xt as Lt, y as Rt, yn as zt, yt as Bt, z as Vt, zn as Ht, zt as Ut } from "../../generated-5SvS30Rr.js";
|
|
2
|
+
export { ot as ActivitiesApi, _t as ActivitiesApiAxiosParamCreator, Ge as ActivitiesApiFactory, Se as ActivitiesApiFp, lt as ApplicationsApi, bt as ApplicationsApiAxiosParamCreator, Oe as ApplicationsApiFactory, et as ApplicationsApiFp, Ct as Configuration, Et as CreateChildDriveItemAtLibreGraphConflictBehaviorEnum, je as CreateChildDriveItemAtLibreGraphMissingParentsBehaviorEnum, Ie as CreateDriveItemAtLibreGraphConflictBehaviorEnum, ft as CreateDriveItemAtLibreGraphMissingParentsBehaviorEnum, rt as DriveItemApi, He as DriveItemApiAxiosParamCreator, ze as DriveItemApiFactory, ye as DriveItemApiFp, kt as DriveItemAtLibreGraphShareTypesEnum, Rt as DrivesApi, Te as DrivesApiAxiosParamCreator, Ft as DrivesApiFactory, Q as DrivesApiFp, c as DrivesGetDrivesApi, Mt as DrivesGetDrivesApiAxiosParamCreator, te as DrivesGetDrivesApiFactory, m as DrivesGetDrivesApiFp, d as DrivesPermissionsApi, V as DrivesPermissionsApiAxiosParamCreator, Ze as DrivesPermissionsApiFactory, n as DrivesPermissionsApiFp, Je as DrivesRootApi, F as DrivesRootApiAxiosParamCreator, R as DrivesRootApiFactory, W as DrivesRootApiFp, _ as EducationClassApi, T as EducationClassApiAxiosParamCreator, M as EducationClassApiFactory, Y as EducationClassApiFp, Vt as EducationClassClassificationEnum, a as EducationClassTeachersApi, se as EducationClassTeachersApiAxiosParamCreator, S as EducationClassTeachersApiFactory, ie as EducationClassTeachersApiFp, ue as EducationSchoolApi, b as EducationSchoolApiAxiosParamCreator, A as EducationSchoolApiFactory, ht as EducationSchoolApiFp, O as EducationUserApi, he as EducationUserApiAxiosParamCreator, pe as EducationUserApiFactory, _e as EducationUserApiFp, q as GetDriveItemChildrenSelectEnum, e as GetDriveItemExpandEnum, Fe as GetDriveItemSelectEnum, Tt as GetDriveItemV1ExpandEnum, ct as GetDriveItemV1SelectEnum, yt as GetDriveSelectEnum, qe as GetEducationUserExpandEnum, we as GetGroupExpandEnum, dt as GetGroupSelectEnum, St as GetOwnUserExpandEnum, Ae as GetRootExpandEnum, nt as GetRootSelectEnum, Ot as GetUserExpandEnum, Ne as GetUserSelectEnum, Re as GroupApi, mt as GroupApiAxiosParamCreator, at as GroupApiFactory, We as GroupApiFp, Ve as GroupsApi, xe as GroupsApiAxiosParamCreator, jt as GroupsApiFactory, Bt as GroupsApiFp, De as HomeGetChildrenSelectEnum, Lt as HomeGetRootExpandEnum, ee as HomeGetRootSelectEnum, u as InvitationsApi, Pt as InvitationsApiAxiosParamCreator, re as InvitationsApiFactory, g as InvitationsApiFp, p as ListAllDrivesBetaSelectEnum, U as ListEducationUsersExpandEnum, $e as ListEducationUsersOrderbyEnum, i as ListGroupsExpandEnum, Xe as ListGroupsOrderbyEnum, L as ListGroupsSelectEnum, B as ListMyDrivesBetaSelectEnum, K as ListPermissionsSelectEnum, y as ListPermissionsSpaceRootSelectEnum, D as ListSharedByMeExpandEnum, P as ListSharedWithMeExpandEnum, Z as ListUsersExpandEnum, Ut as ListUsersOrderbyEnum, s as ListUsersSelectEnum, le as LockInfoLockTypeEnum, w as MeChangepasswordApi, oe as MeChangepasswordApiAxiosParamCreator, fe as MeChangepasswordApiFactory, x as MeChangepasswordApiFp, j as MeDriveApi, gt as MeDriveApiAxiosParamCreator, k as MeDriveApiFactory, ge as MeDriveApiFp, me as MeDriveRootApi, ve as MeDriveRootApiAxiosParamCreator, J as MeDriveRootApiFactory, t as MeDriveRootApiFp, Pe as MeDriveRootChildrenApi, wt as MeDriveRootChildrenApiAxiosParamCreator, st as MeDriveRootChildrenApiFactory, vt as MeDriveRootChildrenApiFp, Ke as MeDrivesApi, Ce as MeDrivesApiAxiosParamCreator, ut as MeDrivesApiFactory, xt as MeDrivesApiFp, ke as MePhotoApi, tt as MePhotoApiAxiosParamCreator, Dt as MePhotoApiFactory, Me as MePhotoApiFp, Le as MeUserApi, pt as MeUserApiAxiosParamCreator, it as MeUserApiFactory, Ue as MeUserApiFp, Be as RoleManagementApi, be as RoleManagementApiAxiosParamCreator, At as RoleManagementApiFactory, zt as RoleManagementApiFp, Ee as SharingLinkType, It as TagsApi, $ as TagsApiAxiosParamCreator, l as TagsApiFactory, Nt as TagsApiFp, ne as UserApi, h as UserApiAxiosParamCreator, f as UserApiFactory, H as UserApiFp, Qe as UserAppRoleAssignmentApi, r as UserAppRoleAssignmentApiAxiosParamCreator, Ye as UserAppRoleAssignmentApiFactory, I as UserAppRoleAssignmentApiFp, z as UserPhotoApi, G as UserPhotoApiAxiosParamCreator, v as UserPhotoApiFactory, E as UserPhotoApiFp, N as UserTeamworkApi, X as UserTeamworkApiAxiosParamCreator, Ht as UserTeamworkApiFactory, o as UserTeamworkApiFp, ce as UsersApi, C as UsersApiAxiosParamCreator, ae as UsersApiFactory, de 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-u53S3WT9.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-CDSkdguM.js";
|
|
2
2
|
export { e as GetCapabilitiesFactory, t as ocs };
|
package/dist/web-client/ox.js
CHANGED
|
@@ -1,2 +1,49 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { t as e } from "../urlJoin-_pUL1TUx.js";
|
|
2
|
+
import { a as t, i as n, n as r, o as i, r as a, t as o } from "../schemas-BlxXwTjV.js";
|
|
3
|
+
//#region src/ox/types.ts
|
|
4
|
+
var s = n({
|
|
5
|
+
id: t(),
|
|
6
|
+
displayName: t(),
|
|
7
|
+
email: t()
|
|
8
|
+
}), c = n({ data: r(r(i([
|
|
9
|
+
t(),
|
|
10
|
+
a(),
|
|
11
|
+
o()
|
|
12
|
+
]))) }), l = n({ data: n({ id: t() }) }), u = "1,500,555,556,557", d = (t, n) => ({
|
|
13
|
+
async autocompleteContacts({ query: i, signal: a }) {
|
|
14
|
+
let o = n();
|
|
15
|
+
if (!o) return [];
|
|
16
|
+
let { data: l } = await t.get(e(o, "addressbooks"), {
|
|
17
|
+
params: {
|
|
18
|
+
action: "autocomplete",
|
|
19
|
+
query: i,
|
|
20
|
+
columns: u,
|
|
21
|
+
email: !0
|
|
22
|
+
},
|
|
23
|
+
signal: a
|
|
24
|
+
}), { data: d } = c.parse(l), f = d.map(([e, t, n, r, i]) => ({
|
|
25
|
+
id: String(e ?? ""),
|
|
26
|
+
displayName: String(t ?? ""),
|
|
27
|
+
email: String(n || r || i || "")
|
|
28
|
+
})).filter((e) => !!e.email);
|
|
29
|
+
return r(s).parse(f);
|
|
30
|
+
},
|
|
31
|
+
async sendMail({ from: r, to: i, subject: a, htmlContent: o, signal: s }) {
|
|
32
|
+
let c = n();
|
|
33
|
+
if (!c) throw Error("Open-Xchange API url is not configured");
|
|
34
|
+
let { data: u } = await t.post(e(c, "mail", "compose"), [], {
|
|
35
|
+
params: { type: "new" },
|
|
36
|
+
signal: s
|
|
37
|
+
}), { data: d } = l.parse(u), f = [r.name ?? "", r.email], p = new FormData();
|
|
38
|
+
p.append("JSON", JSON.stringify({
|
|
39
|
+
from: f,
|
|
40
|
+
sender: f,
|
|
41
|
+
to: [[i.name ?? "", i.email]],
|
|
42
|
+
subject: a,
|
|
43
|
+
content: o,
|
|
44
|
+
contentType: "text/html"
|
|
45
|
+
})), await t.post(e(c, "mail", "compose", d.id, "send"), p, { signal: s });
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
//#endregion
|
|
49
|
+
export { s as ContactSchema, c as OxAutocompleteResponseSchema, l as OxComposeSpaceResponseSchema, d as ox };
|