@opencloud-eu/web-client 2.4.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.
Files changed (33) hide show
  1. package/dist/functions-CYOnwClV.js +1178 -0
  2. package/dist/functions-DEaUzlbB.cjs +1 -0
  3. package/dist/{index-sA0pvHeb.cjs → index-B3tdq56F.cjs} +1 -1
  4. package/dist/{index-DcTD5HFk.js → index-BTGj2rHD.js} +69 -67
  5. package/dist/{index-43W1CNwK.cjs → index-C-U4KVPG.cjs} +5 -5
  6. package/dist/index-D3QfKFAH.cjs +1 -0
  7. package/dist/{index-BEuG72fj.js → index-DxUgq3ag.js} +2 -2
  8. package/dist/index-oCdLZPEA.js +699 -0
  9. package/dist/src/graph/drives/types.d.ts +16 -7
  10. package/dist/src/graph/generated/api.d.ts +333 -24
  11. package/dist/src/graph/generated/configuration.d.ts +1 -1
  12. package/dist/src/graph/generated/index.d.ts +1 -1
  13. package/dist/src/graph/index.d.ts +2 -0
  14. package/dist/src/graph/permissions/types.d.ts +3 -0
  15. package/dist/src/graph/photos/index.d.ts +2 -0
  16. package/dist/src/graph/photos/photo.d.ts +3 -0
  17. package/dist/src/graph/photos/types.d.ts +7 -0
  18. package/dist/src/graph/types.d.ts +2 -1
  19. package/dist/src/helpers/space/functions.d.ts +4 -6
  20. package/dist/src/helpers/space/types.d.ts +3 -8
  21. package/dist/web-client/graph/generated.cjs +1 -1
  22. package/dist/web-client/graph/generated.js +2071 -1731
  23. package/dist/web-client/graph.cjs +1 -1
  24. package/dist/web-client/graph.js +1 -1
  25. package/dist/web-client/webdav.cjs +1 -1
  26. package/dist/web-client/webdav.js +3 -3
  27. package/dist/web-client.cjs +1 -1
  28. package/dist/web-client.js +35 -36
  29. package/package.json +2 -2
  30. package/dist/functions-DJR5h-q5.cjs +0 -1
  31. package/dist/functions-l5kdzi5h.js +0 -1230
  32. package/dist/index-Cjn81zI6.cjs +0 -1
  33. package/dist/index-mFyj5iN2.js +0 -670
@@ -521,6 +521,12 @@ export interface CollectionOfPermissionsWithAllowedValues {
521
521
  * @memberof CollectionOfPermissionsWithAllowedValues
522
522
  */
523
523
  'value'?: Array<Permission>;
524
+ /**
525
+ * The total number of permissions available, only present if the `count` query parameter is set to true.
526
+ * @type {number}
527
+ * @memberof CollectionOfPermissionsWithAllowedValues
528
+ */
529
+ '@odata.count'?: number;
524
530
  }
525
531
  /**
526
532
  *
@@ -701,6 +707,12 @@ export interface Drive {
701
707
  * @memberof Drive
702
708
  */
703
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;
704
716
  }
705
717
  /**
706
718
  * Represents a resource inside a drive. Read-only.
@@ -1096,6 +1108,12 @@ export interface DriveUpdate {
1096
1108
  * @memberof DriveUpdate
1097
1109
  */
1098
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;
1099
1117
  }
1100
1118
  /**
1101
1119
  * And extension of group representing a class or course
@@ -1225,7 +1243,7 @@ export interface EducationUser {
1225
1243
  */
1226
1244
  'identities'?: Array<ObjectIdentity>;
1227
1245
  /**
1228
- * The SMTP address for the user, for example, \'a.ackermann@opencloud.eu\'. Returned by default.
1246
+ * The SMTP address for the user, for example, \'jeff@contoso.opencloud.com\'. Returned by default.
1229
1247
  * @type {string}
1230
1248
  * @memberof EducationUser
1231
1249
  */
@@ -1486,7 +1504,7 @@ export interface Identity {
1486
1504
  */
1487
1505
  'id'?: string;
1488
1506
  /**
1489
- * The type of the identity. This can be either \"Member\" for regular user, \"Guest\" for guest users or \"Federated\" for users imported from a federated instance. Can be used by clients to indicate the type of user. For more details, clients should look up and cache the user at the /users enpoint.
1507
+ * The type of the identity. This can be either \"Member\" for regular user, \"Guest\" for guest users or \"Federated\" for users imported from a federated instance. Can be used by clients to indicate the type of user. For more details, clients should look up and cache the user at the /users endpoint.
1490
1508
  * @type {string}
1491
1509
  * @memberof Identity
1492
1510
  */
@@ -2144,6 +2162,19 @@ export declare const SharingLinkType: {
2144
2162
  readonly BlocksDownload: "blocksDownload";
2145
2163
  };
2146
2164
  export type SharingLinkType = typeof SharingLinkType[keyof typeof SharingLinkType];
2165
+ /**
2166
+ * Provides the last successful sign-in attempt for a user
2167
+ * @export
2168
+ * @interface SignInActivity
2169
+ */
2170
+ export interface SignInActivity {
2171
+ /**
2172
+ * The date and time of the last successful sign-in for the user.
2173
+ * @type {string}
2174
+ * @memberof SignInActivity
2175
+ */
2176
+ 'lastSuccessfulSignInDateTime'?: string;
2177
+ }
2147
2178
  /**
2148
2179
  * If the current item is also available as a special folder, this facet is returned. Read-only
2149
2180
  * @export
@@ -2393,7 +2424,7 @@ export interface User {
2393
2424
  */
2394
2425
  'identities'?: Array<ObjectIdentity>;
2395
2426
  /**
2396
- * The SMTP address for the user, for example, \'a.ackermann@opencloud.eu\'. Returned by default.
2427
+ * The SMTP address for the user, for example, \'jeff@contoso.opencloud.com\'. Returned by default.
2397
2428
  * @type {string}
2398
2429
  * @memberof User
2399
2430
  */
@@ -2440,6 +2471,12 @@ export interface User {
2440
2471
  * @memberof User
2441
2472
  */
2442
2473
  'preferredLanguage'?: string;
2474
+ /**
2475
+ *
2476
+ * @type {SignInActivity}
2477
+ * @memberof User
2478
+ */
2479
+ 'signInActivity'?: SignInActivity;
2443
2480
  }
2444
2481
  /**
2445
2482
  * Represents updates to an Active Directory user object.
@@ -2490,7 +2527,7 @@ export interface UserUpdate {
2490
2527
  */
2491
2528
  'identities'?: Array<ObjectIdentity>;
2492
2529
  /**
2493
- * The SMTP address for the user, for example, \'a.ackermann@opencloud.eu\'. Returned by default.
2530
+ * The SMTP address for the user, for example, \'jeff@contoso.opencloud.com\'. Returned by default.
2494
2531
  * @type {string}
2495
2532
  * @memberof UserUpdate
2496
2533
  */
@@ -2537,6 +2574,12 @@ export interface UserUpdate {
2537
2574
  * @memberof UserUpdate
2538
2575
  */
2539
2576
  'preferredLanguage'?: string;
2577
+ /**
2578
+ *
2579
+ * @type {SignInActivity}
2580
+ * @memberof UserUpdate
2581
+ */
2582
+ 'signInActivity'?: SignInActivity;
2540
2583
  }
2541
2584
  /**
2542
2585
  * The video resource groups video-related data items into a single structure. If a driveItem has a non-null video facet, the item represents a video file. The properties of the video resource are populated by extracting metadata from the file.
@@ -2919,10 +2962,11 @@ export declare const DrivesApiAxiosParamCreator: (configuration?: Configuration)
2919
2962
  *
2920
2963
  * @summary Get drive by id
2921
2964
  * @param {string} driveId key: id of drive
2965
+ * @param {Set<GetDriveSelectEnum>} [$select] Select properties to be returned. By default all properties are returned.
2922
2966
  * @param {*} [options] Override http request option.
2923
2967
  * @throws {RequiredError}
2924
2968
  */
2925
- getDrive: (driveId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2969
+ getDrive: (driveId: string, $select?: Set<GetDriveSelectEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2926
2970
  /**
2927
2971
  *
2928
2972
  * @summary Update the drive
@@ -2959,10 +3003,11 @@ export declare const DrivesApiFp: (configuration?: Configuration) => {
2959
3003
  *
2960
3004
  * @summary Get drive by id
2961
3005
  * @param {string} driveId key: id of drive
3006
+ * @param {Set<GetDriveSelectEnum>} [$select] Select properties to be returned. By default all properties are returned.
2962
3007
  * @param {*} [options] Override http request option.
2963
3008
  * @throws {RequiredError}
2964
3009
  */
2965
- 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>>;
2966
3011
  /**
2967
3012
  *
2968
3013
  * @summary Update the drive
@@ -2999,10 +3044,11 @@ export declare const DrivesApiFactory: (configuration?: Configuration, basePath?
2999
3044
  *
3000
3045
  * @summary Get drive by id
3001
3046
  * @param {string} driveId key: id of drive
3047
+ * @param {Set<GetDriveSelectEnum>} [$select] Select properties to be returned. By default all properties are returned.
3002
3048
  * @param {*} [options] Override http request option.
3003
3049
  * @throws {RequiredError}
3004
3050
  */
3005
- getDrive(driveId: string, options?: RawAxiosRequestConfig): AxiosPromise<Drive>;
3051
+ getDrive(driveId: string, $select?: Set<GetDriveSelectEnum>, options?: RawAxiosRequestConfig): AxiosPromise<Drive>;
3006
3052
  /**
3007
3053
  *
3008
3054
  * @summary Update the drive
@@ -3043,11 +3089,12 @@ export declare class DrivesApi extends BaseAPI {
3043
3089
  *
3044
3090
  * @summary Get drive by id
3045
3091
  * @param {string} driveId key: id of drive
3092
+ * @param {Set<GetDriveSelectEnum>} [$select] Select properties to be returned. By default all properties are returned.
3046
3093
  * @param {*} [options] Override http request option.
3047
3094
  * @throws {RequiredError}
3048
3095
  * @memberof DrivesApi
3049
3096
  */
3050
- 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>>;
3051
3098
  /**
3052
3099
  *
3053
3100
  * @summary Update the drive
@@ -3059,6 +3106,13 @@ export declare class DrivesApi extends BaseAPI {
3059
3106
  */
3060
3107
  updateDrive(driveId: string, driveUpdate: DriveUpdate, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<Drive, any>>;
3061
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];
3062
3116
  /**
3063
3117
  * DrivesGetDrivesApi - axios parameter creator
3064
3118
  * @export
@@ -3078,10 +3132,12 @@ export declare const DrivesGetDrivesApiAxiosParamCreator: (configuration?: Confi
3078
3132
  * @summary Alias for \'/v1.0/drives\', the difference is that grantedtoV2 is used and roles contain unified roles instead of cs3 roles
3079
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.
3080
3134
  * @param {string} [$filter] Filter items by property values
3135
+ * @param {string} [$expand] Expand related entities
3136
+ * @param {Set<ListAllDrivesBetaSelectEnum>} [$select] Select properties to be returned. By default all properties are returned.
3081
3137
  * @param {*} [options] Override http request option.
3082
3138
  * @throws {RequiredError}
3083
3139
  */
3084
- listAllDrivesBeta: ($orderby?: string, $filter?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3140
+ listAllDrivesBeta: ($orderby?: string, $filter?: string, $expand?: string, $select?: Set<ListAllDrivesBetaSelectEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3085
3141
  };
3086
3142
  /**
3087
3143
  * DrivesGetDrivesApi - functional programming interface
@@ -3102,10 +3158,12 @@ export declare const DrivesGetDrivesApiFp: (configuration?: Configuration) => {
3102
3158
  * @summary Alias for \'/v1.0/drives\', the difference is that grantedtoV2 is used and roles contain unified roles instead of cs3 roles
3103
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.
3104
3160
  * @param {string} [$filter] Filter items by property values
3161
+ * @param {string} [$expand] Expand related entities
3162
+ * @param {Set<ListAllDrivesBetaSelectEnum>} [$select] Select properties to be returned. By default all properties are returned.
3105
3163
  * @param {*} [options] Override http request option.
3106
3164
  * @throws {RequiredError}
3107
3165
  */
3108
- listAllDrivesBeta($orderby?: string, $filter?: 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>>;
3109
3167
  };
3110
3168
  /**
3111
3169
  * DrivesGetDrivesApi - factory interface
@@ -3126,10 +3184,12 @@ export declare const DrivesGetDrivesApiFactory: (configuration?: Configuration,
3126
3184
  * @summary Alias for \'/v1.0/drives\', the difference is that grantedtoV2 is used and roles contain unified roles instead of cs3 roles
3127
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.
3128
3186
  * @param {string} [$filter] Filter items by property values
3187
+ * @param {string} [$expand] Expand related entities
3188
+ * @param {Set<ListAllDrivesBetaSelectEnum>} [$select] Select properties to be returned. By default all properties are returned.
3129
3189
  * @param {*} [options] Override http request option.
3130
3190
  * @throws {RequiredError}
3131
3191
  */
3132
- listAllDrivesBeta($orderby?: string, $filter?: string, options?: RawAxiosRequestConfig): AxiosPromise<CollectionOfDrives1>;
3192
+ listAllDrivesBeta($orderby?: string, $filter?: string, $expand?: string, $select?: Set<ListAllDrivesBetaSelectEnum>, options?: RawAxiosRequestConfig): AxiosPromise<CollectionOfDrives1>;
3133
3193
  };
3134
3194
  /**
3135
3195
  * DrivesGetDrivesApi - object-oriented interface
@@ -3153,12 +3213,21 @@ export declare class DrivesGetDrivesApi extends BaseAPI {
3153
3213
  * @summary Alias for \'/v1.0/drives\', the difference is that grantedtoV2 is used and roles contain unified roles instead of cs3 roles
3154
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.
3155
3215
  * @param {string} [$filter] Filter items by property values
3216
+ * @param {string} [$expand] Expand related entities
3217
+ * @param {Set<ListAllDrivesBetaSelectEnum>} [$select] Select properties to be returned. By default all properties are returned.
3156
3218
  * @param {*} [options] Override http request option.
3157
3219
  * @throws {RequiredError}
3158
3220
  * @memberof DrivesGetDrivesApi
3159
3221
  */
3160
- listAllDrivesBeta($orderby?: string, $filter?: 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>>;
3161
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];
3162
3231
  /**
3163
3232
  * DrivesPermissionsApi - axios parameter creator
3164
3233
  * @export
@@ -3211,10 +3280,12 @@ export declare const DrivesPermissionsApiAxiosParamCreator: (configuration?: Con
3211
3280
  * @param {string} itemId key: id of item
3212
3281
  * @param {string} [$filter] Filter items by property values. By default all permissions are returned and the avalable sharing roles are limited to normal users. To get a list of sharing roles applicable to federated users use the example $select query and combine it with $filter to omit the list of permissions.
3213
3282
  * @param {Set<ListPermissionsSelectEnum>} [$select] Select properties to be returned. By default all properties are returned. Select the roles property to fetch the available sharing roles without resolving all the permissions. Combine this with the $filter parameter to fetch the actions applicable to federated users.
3283
+ * @param {boolean} [$count] Include count of items
3284
+ * @param {number} [$top] Show only the first n items
3214
3285
  * @param {*} [options] Override http request option.
3215
3286
  * @throws {RequiredError}
3216
3287
  */
3217
- listPermissions: (driveId: string, itemId: string, $filter?: string, $select?: Set<ListPermissionsSelectEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3288
+ listPermissions: (driveId: string, itemId: string, $filter?: string, $select?: Set<ListPermissionsSelectEnum>, $count?: boolean, $top?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3218
3289
  /**
3219
3290
  * Set the password of a sharing permission. Only the `password` property can be modified this way.
3220
3291
  * @summary Set sharing link password
@@ -3290,10 +3361,12 @@ export declare const DrivesPermissionsApiFp: (configuration?: Configuration) =>
3290
3361
  * @param {string} itemId key: id of item
3291
3362
  * @param {string} [$filter] Filter items by property values. By default all permissions are returned and the avalable sharing roles are limited to normal users. To get a list of sharing roles applicable to federated users use the example $select query and combine it with $filter to omit the list of permissions.
3292
3363
  * @param {Set<ListPermissionsSelectEnum>} [$select] Select properties to be returned. By default all properties are returned. Select the roles property to fetch the available sharing roles without resolving all the permissions. Combine this with the $filter parameter to fetch the actions applicable to federated users.
3364
+ * @param {boolean} [$count] Include count of items
3365
+ * @param {number} [$top] Show only the first n items
3293
3366
  * @param {*} [options] Override http request option.
3294
3367
  * @throws {RequiredError}
3295
3368
  */
3296
- listPermissions(driveId: string, itemId: string, $filter?: string, $select?: Set<ListPermissionsSelectEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CollectionOfPermissionsWithAllowedValues>>;
3369
+ listPermissions(driveId: string, itemId: string, $filter?: string, $select?: Set<ListPermissionsSelectEnum>, $count?: boolean, $top?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CollectionOfPermissionsWithAllowedValues>>;
3297
3370
  /**
3298
3371
  * Set the password of a sharing permission. Only the `password` property can be modified this way.
3299
3372
  * @summary Set sharing link password
@@ -3369,10 +3442,12 @@ export declare const DrivesPermissionsApiFactory: (configuration?: Configuration
3369
3442
  * @param {string} itemId key: id of item
3370
3443
  * @param {string} [$filter] Filter items by property values. By default all permissions are returned and the avalable sharing roles are limited to normal users. To get a list of sharing roles applicable to federated users use the example $select query and combine it with $filter to omit the list of permissions.
3371
3444
  * @param {Set<ListPermissionsSelectEnum>} [$select] Select properties to be returned. By default all properties are returned. Select the roles property to fetch the available sharing roles without resolving all the permissions. Combine this with the $filter parameter to fetch the actions applicable to federated users.
3445
+ * @param {boolean} [$count] Include count of items
3446
+ * @param {number} [$top] Show only the first n items
3372
3447
  * @param {*} [options] Override http request option.
3373
3448
  * @throws {RequiredError}
3374
3449
  */
3375
- listPermissions(driveId: string, itemId: string, $filter?: string, $select?: Set<ListPermissionsSelectEnum>, options?: RawAxiosRequestConfig): AxiosPromise<CollectionOfPermissionsWithAllowedValues>;
3450
+ listPermissions(driveId: string, itemId: string, $filter?: string, $select?: Set<ListPermissionsSelectEnum>, $count?: boolean, $top?: number, options?: RawAxiosRequestConfig): AxiosPromise<CollectionOfPermissionsWithAllowedValues>;
3376
3451
  /**
3377
3452
  * Set the password of a sharing permission. Only the `password` property can be modified this way.
3378
3453
  * @summary Set sharing link password
@@ -3454,11 +3529,13 @@ export declare class DrivesPermissionsApi extends BaseAPI {
3454
3529
  * @param {string} itemId key: id of item
3455
3530
  * @param {string} [$filter] Filter items by property values. By default all permissions are returned and the avalable sharing roles are limited to normal users. To get a list of sharing roles applicable to federated users use the example $select query and combine it with $filter to omit the list of permissions.
3456
3531
  * @param {Set<ListPermissionsSelectEnum>} [$select] Select properties to be returned. By default all properties are returned. Select the roles property to fetch the available sharing roles without resolving all the permissions. Combine this with the $filter parameter to fetch the actions applicable to federated users.
3532
+ * @param {boolean} [$count] Include count of items
3533
+ * @param {number} [$top] Show only the first n items
3457
3534
  * @param {*} [options] Override http request option.
3458
3535
  * @throws {RequiredError}
3459
3536
  * @memberof DrivesPermissionsApi
3460
3537
  */
3461
- listPermissions(driveId: string, itemId: string, $filter?: string, $select?: Set<ListPermissionsSelectEnum>, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<CollectionOfPermissionsWithAllowedValues, any>>;
3538
+ listPermissions(driveId: string, itemId: string, $filter?: string, $select?: Set<ListPermissionsSelectEnum>, $count?: boolean, $top?: number, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<CollectionOfPermissionsWithAllowedValues, any>>;
3462
3539
  /**
3463
3540
  * Set the password of a sharing permission. Only the `password` property can be modified this way.
3464
3541
  * @summary Set sharing link password
@@ -3557,10 +3634,12 @@ export declare const DrivesRootApiAxiosParamCreator: (configuration?: Configurat
3557
3634
  * @param {string} driveId key: id of drive
3558
3635
  * @param {string} [$filter] Filter items by property values. By default all permissions are returned and the avalable sharing roles are limited to normal users. To get a list of sharing roles applicable to federated users use the example $select query and combine it with $filter to omit the list of permissions.
3559
3636
  * @param {Set<ListPermissionsSpaceRootSelectEnum>} [$select] Select properties to be returned. By default all properties are returned. Select the roles property to fetch the available sharing roles without resolving all the permissions. Combine this with the $filter parameter to fetch the actions applicable to federated users.
3637
+ * @param {boolean} [$count] Include count of items
3638
+ * @param {number} [$top] Show only the first n items
3560
3639
  * @param {*} [options] Override http request option.
3561
3640
  * @throws {RequiredError}
3562
3641
  */
3563
- listPermissionsSpaceRoot: (driveId: string, $filter?: string, $select?: Set<ListPermissionsSpaceRootSelectEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3642
+ listPermissionsSpaceRoot: (driveId: string, $filter?: string, $select?: Set<ListPermissionsSpaceRootSelectEnum>, $count?: boolean, $top?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3564
3643
  /**
3565
3644
  * Set the password of a sharing permission. Only the `password` property can be modified this way.
3566
3645
  * @summary Set sharing link password for the root item of a drive
@@ -3646,10 +3725,12 @@ export declare const DrivesRootApiFp: (configuration?: Configuration) => {
3646
3725
  * @param {string} driveId key: id of drive
3647
3726
  * @param {string} [$filter] Filter items by property values. By default all permissions are returned and the avalable sharing roles are limited to normal users. To get a list of sharing roles applicable to federated users use the example $select query and combine it with $filter to omit the list of permissions.
3648
3727
  * @param {Set<ListPermissionsSpaceRootSelectEnum>} [$select] Select properties to be returned. By default all properties are returned. Select the roles property to fetch the available sharing roles without resolving all the permissions. Combine this with the $filter parameter to fetch the actions applicable to federated users.
3728
+ * @param {boolean} [$count] Include count of items
3729
+ * @param {number} [$top] Show only the first n items
3649
3730
  * @param {*} [options] Override http request option.
3650
3731
  * @throws {RequiredError}
3651
3732
  */
3652
- listPermissionsSpaceRoot(driveId: string, $filter?: string, $select?: Set<ListPermissionsSpaceRootSelectEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CollectionOfPermissionsWithAllowedValues>>;
3733
+ listPermissionsSpaceRoot(driveId: string, $filter?: string, $select?: Set<ListPermissionsSpaceRootSelectEnum>, $count?: boolean, $top?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CollectionOfPermissionsWithAllowedValues>>;
3653
3734
  /**
3654
3735
  * Set the password of a sharing permission. Only the `password` property can be modified this way.
3655
3736
  * @summary Set sharing link password for the root item of a drive
@@ -3735,10 +3816,12 @@ export declare const DrivesRootApiFactory: (configuration?: Configuration, baseP
3735
3816
  * @param {string} driveId key: id of drive
3736
3817
  * @param {string} [$filter] Filter items by property values. By default all permissions are returned and the avalable sharing roles are limited to normal users. To get a list of sharing roles applicable to federated users use the example $select query and combine it with $filter to omit the list of permissions.
3737
3818
  * @param {Set<ListPermissionsSpaceRootSelectEnum>} [$select] Select properties to be returned. By default all properties are returned. Select the roles property to fetch the available sharing roles without resolving all the permissions. Combine this with the $filter parameter to fetch the actions applicable to federated users.
3819
+ * @param {boolean} [$count] Include count of items
3820
+ * @param {number} [$top] Show only the first n items
3738
3821
  * @param {*} [options] Override http request option.
3739
3822
  * @throws {RequiredError}
3740
3823
  */
3741
- listPermissionsSpaceRoot(driveId: string, $filter?: string, $select?: Set<ListPermissionsSpaceRootSelectEnum>, options?: RawAxiosRequestConfig): AxiosPromise<CollectionOfPermissionsWithAllowedValues>;
3824
+ listPermissionsSpaceRoot(driveId: string, $filter?: string, $select?: Set<ListPermissionsSpaceRootSelectEnum>, $count?: boolean, $top?: number, options?: RawAxiosRequestConfig): AxiosPromise<CollectionOfPermissionsWithAllowedValues>;
3742
3825
  /**
3743
3826
  * Set the password of a sharing permission. Only the `password` property can be modified this way.
3744
3827
  * @summary Set sharing link password for the root item of a drive
@@ -3832,11 +3915,13 @@ export declare class DrivesRootApi extends BaseAPI {
3832
3915
  * @param {string} driveId key: id of drive
3833
3916
  * @param {string} [$filter] Filter items by property values. By default all permissions are returned and the avalable sharing roles are limited to normal users. To get a list of sharing roles applicable to federated users use the example $select query and combine it with $filter to omit the list of permissions.
3834
3917
  * @param {Set<ListPermissionsSpaceRootSelectEnum>} [$select] Select properties to be returned. By default all properties are returned. Select the roles property to fetch the available sharing roles without resolving all the permissions. Combine this with the $filter parameter to fetch the actions applicable to federated users.
3918
+ * @param {boolean} [$count] Include count of items
3919
+ * @param {number} [$top] Show only the first n items
3835
3920
  * @param {*} [options] Override http request option.
3836
3921
  * @throws {RequiredError}
3837
3922
  * @memberof DrivesRootApi
3838
3923
  */
3839
- listPermissionsSpaceRoot(driveId: string, $filter?: string, $select?: Set<ListPermissionsSpaceRootSelectEnum>, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<CollectionOfPermissionsWithAllowedValues, any>>;
3924
+ listPermissionsSpaceRoot(driveId: string, $filter?: string, $select?: Set<ListPermissionsSpaceRootSelectEnum>, $count?: boolean, $top?: number, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<CollectionOfPermissionsWithAllowedValues, any>>;
3840
3925
  /**
3841
3926
  * Set the password of a sharing permission. Only the `password` property can be modified this way.
3842
3927
  * @summary Set sharing link password for the root item of a drive
@@ -5634,10 +5719,12 @@ export declare const MeDrivesApiAxiosParamCreator: (configuration?: Configuratio
5634
5719
  * @summary Alias for \'/v1.0/drives\', the difference is that grantedtoV2 is used and roles contain unified roles instead of cs3 roles
5635
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.
5636
5721
  * @param {string} [$filter] Filter items by property values
5722
+ * @param {string} [$expand] Expand related entities
5723
+ * @param {Set<ListMyDrivesBetaSelectEnum>} [$select] Select properties to be returned. By default all properties are returned.
5637
5724
  * @param {*} [options] Override http request option.
5638
5725
  * @throws {RequiredError}
5639
5726
  */
5640
- listMyDrivesBeta: ($orderby?: string, $filter?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5727
+ listMyDrivesBeta: ($orderby?: string, $filter?: string, $expand?: string, $select?: Set<ListMyDrivesBetaSelectEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5641
5728
  };
5642
5729
  /**
5643
5730
  * MeDrivesApi - functional programming interface
@@ -5658,10 +5745,12 @@ export declare const MeDrivesApiFp: (configuration?: Configuration) => {
5658
5745
  * @summary Alias for \'/v1.0/drives\', the difference is that grantedtoV2 is used and roles contain unified roles instead of cs3 roles
5659
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.
5660
5747
  * @param {string} [$filter] Filter items by property values
5748
+ * @param {string} [$expand] Expand related entities
5749
+ * @param {Set<ListMyDrivesBetaSelectEnum>} [$select] Select properties to be returned. By default all properties are returned.
5661
5750
  * @param {*} [options] Override http request option.
5662
5751
  * @throws {RequiredError}
5663
5752
  */
5664
- listMyDrivesBeta($orderby?: string, $filter?: 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>>;
5665
5754
  };
5666
5755
  /**
5667
5756
  * MeDrivesApi - factory interface
@@ -5682,10 +5771,12 @@ export declare const MeDrivesApiFactory: (configuration?: Configuration, basePat
5682
5771
  * @summary Alias for \'/v1.0/drives\', the difference is that grantedtoV2 is used and roles contain unified roles instead of cs3 roles
5683
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.
5684
5773
  * @param {string} [$filter] Filter items by property values
5774
+ * @param {string} [$expand] Expand related entities
5775
+ * @param {Set<ListMyDrivesBetaSelectEnum>} [$select] Select properties to be returned. By default all properties are returned.
5685
5776
  * @param {*} [options] Override http request option.
5686
5777
  * @throws {RequiredError}
5687
5778
  */
5688
- listMyDrivesBeta($orderby?: string, $filter?: string, options?: RawAxiosRequestConfig): AxiosPromise<CollectionOfDrives>;
5779
+ listMyDrivesBeta($orderby?: string, $filter?: string, $expand?: string, $select?: Set<ListMyDrivesBetaSelectEnum>, options?: RawAxiosRequestConfig): AxiosPromise<CollectionOfDrives>;
5689
5780
  };
5690
5781
  /**
5691
5782
  * MeDrivesApi - object-oriented interface
@@ -5709,11 +5800,170 @@ export declare class MeDrivesApi extends BaseAPI {
5709
5800
  * @summary Alias for \'/v1.0/drives\', the difference is that grantedtoV2 is used and roles contain unified roles instead of cs3 roles
5710
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.
5711
5802
  * @param {string} [$filter] Filter items by property values
5803
+ * @param {string} [$expand] Expand related entities
5804
+ * @param {Set<ListMyDrivesBetaSelectEnum>} [$select] Select properties to be returned. By default all properties are returned.
5712
5805
  * @param {*} [options] Override http request option.
5713
5806
  * @throws {RequiredError}
5714
5807
  * @memberof MeDrivesApi
5715
5808
  */
5716
- listMyDrivesBeta($orderby?: string, $filter?: 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>>;
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];
5818
+ /**
5819
+ * MePhotoApi - axios parameter creator
5820
+ * @export
5821
+ */
5822
+ export declare const MePhotoApiAxiosParamCreator: (configuration?: Configuration) => {
5823
+ /**
5824
+ *
5825
+ * @summary Delete the current user\'s profile photo
5826
+ * @param {*} [options] Override http request option.
5827
+ * @throws {RequiredError}
5828
+ */
5829
+ deleteOwnUserPhoto: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5830
+ /**
5831
+ *
5832
+ * @summary Get the current user\'s profile photo
5833
+ * @param {*} [options] Override http request option.
5834
+ * @throws {RequiredError}
5835
+ */
5836
+ getOwnUserPhoto: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5837
+ /**
5838
+ *
5839
+ * @summary Update the current user\'s profile photo
5840
+ * @param {File} [body] New user photo
5841
+ * @param {*} [options] Override http request option.
5842
+ * @throws {RequiredError}
5843
+ */
5844
+ updateOwnUserPhotoPatch: (body?: File, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5845
+ /**
5846
+ *
5847
+ * @summary Update the current user\'s profile photo
5848
+ * @param {File} [body] New user photo
5849
+ * @param {*} [options] Override http request option.
5850
+ * @throws {RequiredError}
5851
+ */
5852
+ updateOwnUserPhotoPut: (body?: File, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
5853
+ };
5854
+ /**
5855
+ * MePhotoApi - functional programming interface
5856
+ * @export
5857
+ */
5858
+ export declare const MePhotoApiFp: (configuration?: Configuration) => {
5859
+ /**
5860
+ *
5861
+ * @summary Delete the current user\'s profile photo
5862
+ * @param {*} [options] Override http request option.
5863
+ * @throws {RequiredError}
5864
+ */
5865
+ deleteOwnUserPhoto(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
5866
+ /**
5867
+ *
5868
+ * @summary Get the current user\'s profile photo
5869
+ * @param {*} [options] Override http request option.
5870
+ * @throws {RequiredError}
5871
+ */
5872
+ getOwnUserPhoto(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
5873
+ /**
5874
+ *
5875
+ * @summary Update the current user\'s profile photo
5876
+ * @param {File} [body] New user photo
5877
+ * @param {*} [options] Override http request option.
5878
+ * @throws {RequiredError}
5879
+ */
5880
+ updateOwnUserPhotoPatch(body?: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
5881
+ /**
5882
+ *
5883
+ * @summary Update the current user\'s profile photo
5884
+ * @param {File} [body] New user photo
5885
+ * @param {*} [options] Override http request option.
5886
+ * @throws {RequiredError}
5887
+ */
5888
+ updateOwnUserPhotoPut(body?: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
5889
+ };
5890
+ /**
5891
+ * MePhotoApi - factory interface
5892
+ * @export
5893
+ */
5894
+ export declare const MePhotoApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
5895
+ /**
5896
+ *
5897
+ * @summary Delete the current user\'s profile photo
5898
+ * @param {*} [options] Override http request option.
5899
+ * @throws {RequiredError}
5900
+ */
5901
+ deleteOwnUserPhoto(options?: RawAxiosRequestConfig): AxiosPromise<void>;
5902
+ /**
5903
+ *
5904
+ * @summary Get the current user\'s profile photo
5905
+ * @param {*} [options] Override http request option.
5906
+ * @throws {RequiredError}
5907
+ */
5908
+ getOwnUserPhoto(options?: RawAxiosRequestConfig): AxiosPromise<File>;
5909
+ /**
5910
+ *
5911
+ * @summary Update the current user\'s profile photo
5912
+ * @param {File} [body] New user photo
5913
+ * @param {*} [options] Override http request option.
5914
+ * @throws {RequiredError}
5915
+ */
5916
+ updateOwnUserPhotoPatch(body?: File, options?: RawAxiosRequestConfig): AxiosPromise<void>;
5917
+ /**
5918
+ *
5919
+ * @summary Update the current user\'s profile photo
5920
+ * @param {File} [body] New user photo
5921
+ * @param {*} [options] Override http request option.
5922
+ * @throws {RequiredError}
5923
+ */
5924
+ updateOwnUserPhotoPut(body?: File, options?: RawAxiosRequestConfig): AxiosPromise<void>;
5925
+ };
5926
+ /**
5927
+ * MePhotoApi - object-oriented interface
5928
+ * @export
5929
+ * @class MePhotoApi
5930
+ * @extends {BaseAPI}
5931
+ */
5932
+ export declare class MePhotoApi extends BaseAPI {
5933
+ /**
5934
+ *
5935
+ * @summary Delete the current user\'s profile photo
5936
+ * @param {*} [options] Override http request option.
5937
+ * @throws {RequiredError}
5938
+ * @memberof MePhotoApi
5939
+ */
5940
+ deleteOwnUserPhoto(options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<void, any>>;
5941
+ /**
5942
+ *
5943
+ * @summary Get the current user\'s profile photo
5944
+ * @param {*} [options] Override http request option.
5945
+ * @throws {RequiredError}
5946
+ * @memberof MePhotoApi
5947
+ */
5948
+ getOwnUserPhoto(options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<File, any>>;
5949
+ /**
5950
+ *
5951
+ * @summary Update the current user\'s profile photo
5952
+ * @param {File} [body] New user photo
5953
+ * @param {*} [options] Override http request option.
5954
+ * @throws {RequiredError}
5955
+ * @memberof MePhotoApi
5956
+ */
5957
+ updateOwnUserPhotoPatch(body?: File, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<void, any>>;
5958
+ /**
5959
+ *
5960
+ * @summary Update the current user\'s profile photo
5961
+ * @param {File} [body] New user photo
5962
+ * @param {*} [options] Override http request option.
5963
+ * @throws {RequiredError}
5964
+ * @memberof MePhotoApi
5965
+ */
5966
+ updateOwnUserPhotoPut(body?: File, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<void, any>>;
5717
5967
  }
5718
5968
  /**
5719
5969
  * MeUserApi - axios parameter creator
@@ -6362,6 +6612,65 @@ export declare class UserAppRoleAssignmentApi extends BaseAPI {
6362
6612
  */
6363
6613
  userListAppRoleAssignments(userId: string, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<CollectionOfAppRoleAssignments, any>>;
6364
6614
  }
6615
+ /**
6616
+ * UserPhotoApi - axios parameter creator
6617
+ * @export
6618
+ */
6619
+ export declare const UserPhotoApiAxiosParamCreator: (configuration?: Configuration) => {
6620
+ /**
6621
+ *
6622
+ * @summary Get the photo of a user
6623
+ * @param {string} userId key: id or name of user
6624
+ * @param {*} [options] Override http request option.
6625
+ * @throws {RequiredError}
6626
+ */
6627
+ getUserPhoto: (userId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
6628
+ };
6629
+ /**
6630
+ * UserPhotoApi - functional programming interface
6631
+ * @export
6632
+ */
6633
+ export declare const UserPhotoApiFp: (configuration?: Configuration) => {
6634
+ /**
6635
+ *
6636
+ * @summary Get the photo of a user
6637
+ * @param {string} userId key: id or name of user
6638
+ * @param {*} [options] Override http request option.
6639
+ * @throws {RequiredError}
6640
+ */
6641
+ getUserPhoto(userId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
6642
+ };
6643
+ /**
6644
+ * UserPhotoApi - factory interface
6645
+ * @export
6646
+ */
6647
+ export declare const UserPhotoApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
6648
+ /**
6649
+ *
6650
+ * @summary Get the photo of a user
6651
+ * @param {string} userId key: id or name of user
6652
+ * @param {*} [options] Override http request option.
6653
+ * @throws {RequiredError}
6654
+ */
6655
+ getUserPhoto(userId: string, options?: RawAxiosRequestConfig): AxiosPromise<File>;
6656
+ };
6657
+ /**
6658
+ * UserPhotoApi - object-oriented interface
6659
+ * @export
6660
+ * @class UserPhotoApi
6661
+ * @extends {BaseAPI}
6662
+ */
6663
+ export declare class UserPhotoApi extends BaseAPI {
6664
+ /**
6665
+ *
6666
+ * @summary Get the photo of a user
6667
+ * @param {string} userId key: id or name of user
6668
+ * @param {*} [options] Override http request option.
6669
+ * @throws {RequiredError}
6670
+ * @memberof UserPhotoApi
6671
+ */
6672
+ getUserPhoto(userId: string, options?: RawAxiosRequestConfig): Promise<import('axios').AxiosResponse<File, any>>;
6673
+ }
6365
6674
  /**
6366
6675
  * UsersApi - axios parameter creator
6367
6676
  * @export
@@ -2,7 +2,7 @@
2
2
  * Libre Graph API
3
3
  * Libre Graph is a free API for cloud collaboration inspired by the MS Graph API.
4
4
  *
5
- * The version of the OpenAPI document: v1.0.4
5
+ * The version of the OpenAPI document: v1.0.8
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Libre Graph API
3
3
  * Libre Graph is a free API for cloud collaboration inspired by the MS Graph API.
4
4
  *
5
- * The version of the OpenAPI document: v1.0.4
5
+ * The version of the OpenAPI document: v1.0.8
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).