@opencloud-eu/web-client 3.1.0 → 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{functions-gLZtPuF8.js → functions-CYOnwClV.js} +131 -130
- package/dist/{functions-BCZphZWf.cjs → functions-DEaUzlbB.cjs} +1 -1
- package/dist/{index-D5plj7J1.cjs → index-B3tdq56F.cjs} +1 -1
- package/dist/index-D3QfKFAH.cjs +1 -0
- package/dist/{index-DRNBPoWu.js → index-DxUgq3ag.js} +1 -1
- package/dist/index-oCdLZPEA.js +699 -0
- package/dist/src/graph/drives/types.d.ts +9 -2
- package/dist/src/graph/generated/api.d.ts +57 -12
- package/dist/src/helpers/space/types.d.ts +1 -0
- package/dist/web-client/graph/generated.cjs +1 -1
- package/dist/web-client/graph/generated.js +1225 -1204
- package/dist/web-client/graph.cjs +1 -1
- package/dist/web-client/graph.js +1 -1
- package/dist/web-client/webdav.cjs +1 -1
- package/dist/web-client/webdav.js +2 -2
- package/dist/web-client.cjs +1 -1
- package/dist/web-client.js +5 -5
- package/package.json +2 -2
- package/dist/index-B0DQP5k7.cjs +0 -1
- package/dist/index-kED1r0rQ.js +0 -693
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
import { SpaceResource } from '../../helpers';
|
|
2
|
-
import { Drive, DriveUpdate } from '../generated';
|
|
2
|
+
import { Drive, DriveUpdate, ListMyDrivesBetaSelectEnum } from '../generated';
|
|
3
3
|
import { GraphRequestOptions } from '../types';
|
|
4
4
|
export interface GraphDrives {
|
|
5
|
-
getDrive: (id: string,
|
|
5
|
+
getDrive: (id: string, options?: {
|
|
6
|
+
orderBy?: string;
|
|
7
|
+
filter?: string;
|
|
8
|
+
expand?: string;
|
|
9
|
+
select?: Array<ListMyDrivesBetaSelectEnum>;
|
|
10
|
+
}, requestOptions?: GraphRequestOptions) => Promise<SpaceResource>;
|
|
6
11
|
createDrive: (data: Drive, requestOptions?: GraphRequestOptions) => Promise<SpaceResource>;
|
|
7
12
|
updateDrive: (id: string, data: DriveUpdate, requestOptions?: GraphRequestOptions) => Promise<SpaceResource>;
|
|
8
13
|
disableDrive: (id: string, ifMatch?: string, requestOptions?: GraphRequestOptions) => Promise<void>;
|
|
@@ -11,10 +16,12 @@ export interface GraphDrives {
|
|
|
11
16
|
orderBy?: string;
|
|
12
17
|
filter?: string;
|
|
13
18
|
expand?: string;
|
|
19
|
+
select?: Array<ListMyDrivesBetaSelectEnum>;
|
|
14
20
|
}, requestOptions?: GraphRequestOptions) => Promise<SpaceResource[]>;
|
|
15
21
|
listAllDrives: (options?: {
|
|
16
22
|
orderBy?: string;
|
|
17
23
|
filter?: string;
|
|
18
24
|
expand?: string;
|
|
25
|
+
select?: Array<ListMyDrivesBetaSelectEnum>;
|
|
19
26
|
}, requestOptions?: GraphRequestOptions) => Promise<SpaceResource[]>;
|
|
20
27
|
}
|
|
@@ -707,6 +707,12 @@ export interface Drive {
|
|
|
707
707
|
* @memberof Drive
|
|
708
708
|
*/
|
|
709
709
|
'special'?: Array<DriveItem>;
|
|
710
|
+
/**
|
|
711
|
+
* Indicates whether the drive has items in the trash. Read-only.
|
|
712
|
+
* @type {boolean}
|
|
713
|
+
* @memberof Drive
|
|
714
|
+
*/
|
|
715
|
+
'@libre.graph.hasTrashedItems'?: boolean;
|
|
710
716
|
}
|
|
711
717
|
/**
|
|
712
718
|
* Represents a resource inside a drive. Read-only.
|
|
@@ -1102,6 +1108,12 @@ export interface DriveUpdate {
|
|
|
1102
1108
|
* @memberof DriveUpdate
|
|
1103
1109
|
*/
|
|
1104
1110
|
'special'?: Array<DriveItem>;
|
|
1111
|
+
/**
|
|
1112
|
+
* Indicates whether the drive has items in the trash. Read-only.
|
|
1113
|
+
* @type {boolean}
|
|
1114
|
+
* @memberof DriveUpdate
|
|
1115
|
+
*/
|
|
1116
|
+
'@libre.graph.hasTrashedItems'?: boolean;
|
|
1105
1117
|
}
|
|
1106
1118
|
/**
|
|
1107
1119
|
* And extension of group representing a class or course
|
|
@@ -2950,10 +2962,11 @@ export declare const DrivesApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
2950
2962
|
*
|
|
2951
2963
|
* @summary Get drive by id
|
|
2952
2964
|
* @param {string} driveId key: id of drive
|
|
2965
|
+
* @param {Set<GetDriveSelectEnum>} [$select] Select properties to be returned. By default all properties are returned.
|
|
2953
2966
|
* @param {*} [options] Override http request option.
|
|
2954
2967
|
* @throws {RequiredError}
|
|
2955
2968
|
*/
|
|
2956
|
-
getDrive: (driveId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2969
|
+
getDrive: (driveId: string, $select?: Set<GetDriveSelectEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2957
2970
|
/**
|
|
2958
2971
|
*
|
|
2959
2972
|
* @summary Update the drive
|
|
@@ -2990,10 +3003,11 @@ export declare const DrivesApiFp: (configuration?: Configuration) => {
|
|
|
2990
3003
|
*
|
|
2991
3004
|
* @summary Get drive by id
|
|
2992
3005
|
* @param {string} driveId key: id of drive
|
|
3006
|
+
* @param {Set<GetDriveSelectEnum>} [$select] Select properties to be returned. By default all properties are returned.
|
|
2993
3007
|
* @param {*} [options] Override http request option.
|
|
2994
3008
|
* @throws {RequiredError}
|
|
2995
3009
|
*/
|
|
2996
|
-
getDrive(driveId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Drive>>;
|
|
3010
|
+
getDrive(driveId: string, $select?: Set<GetDriveSelectEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Drive>>;
|
|
2997
3011
|
/**
|
|
2998
3012
|
*
|
|
2999
3013
|
* @summary Update the drive
|
|
@@ -3030,10 +3044,11 @@ export declare const DrivesApiFactory: (configuration?: Configuration, basePath?
|
|
|
3030
3044
|
*
|
|
3031
3045
|
* @summary Get drive by id
|
|
3032
3046
|
* @param {string} driveId key: id of drive
|
|
3047
|
+
* @param {Set<GetDriveSelectEnum>} [$select] Select properties to be returned. By default all properties are returned.
|
|
3033
3048
|
* @param {*} [options] Override http request option.
|
|
3034
3049
|
* @throws {RequiredError}
|
|
3035
3050
|
*/
|
|
3036
|
-
getDrive(driveId: string, options?: RawAxiosRequestConfig): AxiosPromise<Drive>;
|
|
3051
|
+
getDrive(driveId: string, $select?: Set<GetDriveSelectEnum>, options?: RawAxiosRequestConfig): AxiosPromise<Drive>;
|
|
3037
3052
|
/**
|
|
3038
3053
|
*
|
|
3039
3054
|
* @summary Update the drive
|
|
@@ -3074,11 +3089,12 @@ export declare class DrivesApi extends BaseAPI {
|
|
|
3074
3089
|
*
|
|
3075
3090
|
* @summary Get drive by id
|
|
3076
3091
|
* @param {string} driveId key: id of drive
|
|
3092
|
+
* @param {Set<GetDriveSelectEnum>} [$select] Select properties to be returned. By default all properties are returned.
|
|
3077
3093
|
* @param {*} [options] Override http request option.
|
|
3078
3094
|
* @throws {RequiredError}
|
|
3079
3095
|
* @memberof DrivesApi
|
|
3080
3096
|
*/
|
|
3081
|
-
getDrive(driveId: string, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<Drive, any>>;
|
|
3097
|
+
getDrive(driveId: string, $select?: Set<GetDriveSelectEnum>, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<Drive, any>>;
|
|
3082
3098
|
/**
|
|
3083
3099
|
*
|
|
3084
3100
|
* @summary Update the drive
|
|
@@ -3090,6 +3106,13 @@ export declare class DrivesApi extends BaseAPI {
|
|
|
3090
3106
|
*/
|
|
3091
3107
|
updateDrive(driveId: string, driveUpdate: DriveUpdate, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<Drive, any>>;
|
|
3092
3108
|
}
|
|
3109
|
+
/**
|
|
3110
|
+
* @export
|
|
3111
|
+
*/
|
|
3112
|
+
export declare const GetDriveSelectEnum: {
|
|
3113
|
+
readonly LibreGraphHasTrashedItems: "@libre.graph.hasTrashedItems";
|
|
3114
|
+
};
|
|
3115
|
+
export type GetDriveSelectEnum = typeof GetDriveSelectEnum[keyof typeof GetDriveSelectEnum];
|
|
3093
3116
|
/**
|
|
3094
3117
|
* DrivesGetDrivesApi - axios parameter creator
|
|
3095
3118
|
* @export
|
|
@@ -3110,10 +3133,11 @@ export declare const DrivesGetDrivesApiAxiosParamCreator: (configuration?: Confi
|
|
|
3110
3133
|
* @param {string} [$orderby] The $orderby system query option allows clients to request resources in either ascending order using asc or descending order using desc.
|
|
3111
3134
|
* @param {string} [$filter] Filter items by property values
|
|
3112
3135
|
* @param {string} [$expand] Expand related entities
|
|
3136
|
+
* @param {Set<ListAllDrivesBetaSelectEnum>} [$select] Select properties to be returned. By default all properties are returned.
|
|
3113
3137
|
* @param {*} [options] Override http request option.
|
|
3114
3138
|
* @throws {RequiredError}
|
|
3115
3139
|
*/
|
|
3116
|
-
listAllDrivesBeta: ($orderby?: string, $filter?: string, $expand?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3140
|
+
listAllDrivesBeta: ($orderby?: string, $filter?: string, $expand?: string, $select?: Set<ListAllDrivesBetaSelectEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3117
3141
|
};
|
|
3118
3142
|
/**
|
|
3119
3143
|
* DrivesGetDrivesApi - functional programming interface
|
|
@@ -3135,10 +3159,11 @@ export declare const DrivesGetDrivesApiFp: (configuration?: Configuration) => {
|
|
|
3135
3159
|
* @param {string} [$orderby] The $orderby system query option allows clients to request resources in either ascending order using asc or descending order using desc.
|
|
3136
3160
|
* @param {string} [$filter] Filter items by property values
|
|
3137
3161
|
* @param {string} [$expand] Expand related entities
|
|
3162
|
+
* @param {Set<ListAllDrivesBetaSelectEnum>} [$select] Select properties to be returned. By default all properties are returned.
|
|
3138
3163
|
* @param {*} [options] Override http request option.
|
|
3139
3164
|
* @throws {RequiredError}
|
|
3140
3165
|
*/
|
|
3141
|
-
listAllDrivesBeta($orderby?: string, $filter?: string, $expand?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CollectionOfDrives1>>;
|
|
3166
|
+
listAllDrivesBeta($orderby?: string, $filter?: string, $expand?: string, $select?: Set<ListAllDrivesBetaSelectEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CollectionOfDrives1>>;
|
|
3142
3167
|
};
|
|
3143
3168
|
/**
|
|
3144
3169
|
* DrivesGetDrivesApi - factory interface
|
|
@@ -3160,10 +3185,11 @@ export declare const DrivesGetDrivesApiFactory: (configuration?: Configuration,
|
|
|
3160
3185
|
* @param {string} [$orderby] The $orderby system query option allows clients to request resources in either ascending order using asc or descending order using desc.
|
|
3161
3186
|
* @param {string} [$filter] Filter items by property values
|
|
3162
3187
|
* @param {string} [$expand] Expand related entities
|
|
3188
|
+
* @param {Set<ListAllDrivesBetaSelectEnum>} [$select] Select properties to be returned. By default all properties are returned.
|
|
3163
3189
|
* @param {*} [options] Override http request option.
|
|
3164
3190
|
* @throws {RequiredError}
|
|
3165
3191
|
*/
|
|
3166
|
-
listAllDrivesBeta($orderby?: string, $filter?: string, $expand?: string, options?: RawAxiosRequestConfig): AxiosPromise<CollectionOfDrives1>;
|
|
3192
|
+
listAllDrivesBeta($orderby?: string, $filter?: string, $expand?: string, $select?: Set<ListAllDrivesBetaSelectEnum>, options?: RawAxiosRequestConfig): AxiosPromise<CollectionOfDrives1>;
|
|
3167
3193
|
};
|
|
3168
3194
|
/**
|
|
3169
3195
|
* DrivesGetDrivesApi - object-oriented interface
|
|
@@ -3188,12 +3214,20 @@ export declare class DrivesGetDrivesApi extends BaseAPI {
|
|
|
3188
3214
|
* @param {string} [$orderby] The $orderby system query option allows clients to request resources in either ascending order using asc or descending order using desc.
|
|
3189
3215
|
* @param {string} [$filter] Filter items by property values
|
|
3190
3216
|
* @param {string} [$expand] Expand related entities
|
|
3217
|
+
* @param {Set<ListAllDrivesBetaSelectEnum>} [$select] Select properties to be returned. By default all properties are returned.
|
|
3191
3218
|
* @param {*} [options] Override http request option.
|
|
3192
3219
|
* @throws {RequiredError}
|
|
3193
3220
|
* @memberof DrivesGetDrivesApi
|
|
3194
3221
|
*/
|
|
3195
|
-
listAllDrivesBeta($orderby?: string, $filter?: string, $expand?: string, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<CollectionOfDrives1, any>>;
|
|
3222
|
+
listAllDrivesBeta($orderby?: string, $filter?: string, $expand?: string, $select?: Set<ListAllDrivesBetaSelectEnum>, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<CollectionOfDrives1, any>>;
|
|
3196
3223
|
}
|
|
3224
|
+
/**
|
|
3225
|
+
* @export
|
|
3226
|
+
*/
|
|
3227
|
+
export declare const ListAllDrivesBetaSelectEnum: {
|
|
3228
|
+
readonly LibreGraphHasTrashedItems: "@libre.graph.hasTrashedItems";
|
|
3229
|
+
};
|
|
3230
|
+
export type ListAllDrivesBetaSelectEnum = typeof ListAllDrivesBetaSelectEnum[keyof typeof ListAllDrivesBetaSelectEnum];
|
|
3197
3231
|
/**
|
|
3198
3232
|
* DrivesPermissionsApi - axios parameter creator
|
|
3199
3233
|
* @export
|
|
@@ -5686,10 +5720,11 @@ export declare const MeDrivesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
5686
5720
|
* @param {string} [$orderby] The $orderby system query option allows clients to request resources in either ascending order using asc or descending order using desc.
|
|
5687
5721
|
* @param {string} [$filter] Filter items by property values
|
|
5688
5722
|
* @param {string} [$expand] Expand related entities
|
|
5723
|
+
* @param {Set<ListMyDrivesBetaSelectEnum>} [$select] Select properties to be returned. By default all properties are returned.
|
|
5689
5724
|
* @param {*} [options] Override http request option.
|
|
5690
5725
|
* @throws {RequiredError}
|
|
5691
5726
|
*/
|
|
5692
|
-
listMyDrivesBeta: ($orderby?: string, $filter?: string, $expand?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5727
|
+
listMyDrivesBeta: ($orderby?: string, $filter?: string, $expand?: string, $select?: Set<ListMyDrivesBetaSelectEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5693
5728
|
};
|
|
5694
5729
|
/**
|
|
5695
5730
|
* MeDrivesApi - functional programming interface
|
|
@@ -5711,10 +5746,11 @@ export declare const MeDrivesApiFp: (configuration?: Configuration) => {
|
|
|
5711
5746
|
* @param {string} [$orderby] The $orderby system query option allows clients to request resources in either ascending order using asc or descending order using desc.
|
|
5712
5747
|
* @param {string} [$filter] Filter items by property values
|
|
5713
5748
|
* @param {string} [$expand] Expand related entities
|
|
5749
|
+
* @param {Set<ListMyDrivesBetaSelectEnum>} [$select] Select properties to be returned. By default all properties are returned.
|
|
5714
5750
|
* @param {*} [options] Override http request option.
|
|
5715
5751
|
* @throws {RequiredError}
|
|
5716
5752
|
*/
|
|
5717
|
-
listMyDrivesBeta($orderby?: string, $filter?: string, $expand?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CollectionOfDrives>>;
|
|
5753
|
+
listMyDrivesBeta($orderby?: string, $filter?: string, $expand?: string, $select?: Set<ListMyDrivesBetaSelectEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CollectionOfDrives>>;
|
|
5718
5754
|
};
|
|
5719
5755
|
/**
|
|
5720
5756
|
* MeDrivesApi - factory interface
|
|
@@ -5736,10 +5772,11 @@ export declare const MeDrivesApiFactory: (configuration?: Configuration, basePat
|
|
|
5736
5772
|
* @param {string} [$orderby] The $orderby system query option allows clients to request resources in either ascending order using asc or descending order using desc.
|
|
5737
5773
|
* @param {string} [$filter] Filter items by property values
|
|
5738
5774
|
* @param {string} [$expand] Expand related entities
|
|
5775
|
+
* @param {Set<ListMyDrivesBetaSelectEnum>} [$select] Select properties to be returned. By default all properties are returned.
|
|
5739
5776
|
* @param {*} [options] Override http request option.
|
|
5740
5777
|
* @throws {RequiredError}
|
|
5741
5778
|
*/
|
|
5742
|
-
listMyDrivesBeta($orderby?: string, $filter?: string, $expand?: string, options?: RawAxiosRequestConfig): AxiosPromise<CollectionOfDrives>;
|
|
5779
|
+
listMyDrivesBeta($orderby?: string, $filter?: string, $expand?: string, $select?: Set<ListMyDrivesBetaSelectEnum>, options?: RawAxiosRequestConfig): AxiosPromise<CollectionOfDrives>;
|
|
5743
5780
|
};
|
|
5744
5781
|
/**
|
|
5745
5782
|
* MeDrivesApi - object-oriented interface
|
|
@@ -5764,12 +5801,20 @@ export declare class MeDrivesApi extends BaseAPI {
|
|
|
5764
5801
|
* @param {string} [$orderby] The $orderby system query option allows clients to request resources in either ascending order using asc or descending order using desc.
|
|
5765
5802
|
* @param {string} [$filter] Filter items by property values
|
|
5766
5803
|
* @param {string} [$expand] Expand related entities
|
|
5804
|
+
* @param {Set<ListMyDrivesBetaSelectEnum>} [$select] Select properties to be returned. By default all properties are returned.
|
|
5767
5805
|
* @param {*} [options] Override http request option.
|
|
5768
5806
|
* @throws {RequiredError}
|
|
5769
5807
|
* @memberof MeDrivesApi
|
|
5770
5808
|
*/
|
|
5771
|
-
listMyDrivesBeta($orderby?: string, $filter?: string, $expand?: string, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<CollectionOfDrives, any>>;
|
|
5809
|
+
listMyDrivesBeta($orderby?: string, $filter?: string, $expand?: string, $select?: Set<ListMyDrivesBetaSelectEnum>, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<CollectionOfDrives, any>>;
|
|
5772
5810
|
}
|
|
5811
|
+
/**
|
|
5812
|
+
* @export
|
|
5813
|
+
*/
|
|
5814
|
+
export declare const ListMyDrivesBetaSelectEnum: {
|
|
5815
|
+
readonly LibreGraphHasTrashedItems: "@libre.graph.hasTrashedItems";
|
|
5816
|
+
};
|
|
5817
|
+
export type ListMyDrivesBetaSelectEnum = typeof ListMyDrivesBetaSelectEnum[keyof typeof ListMyDrivesBetaSelectEnum];
|
|
5773
5818
|
/**
|
|
5774
5819
|
* MePhotoApi - axios parameter creator
|
|
5775
5820
|
* @export
|